* doc/install.texi (Host/target specific installation notes for GCC):
[official-gcc.git] / Makefile.in
bloba13771d40eb539218d5b3c4e9128e5957270d299
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_libvtv)$(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-libvtv
593 TARGET_LIB_PATH_libvtv = $$r/$(TARGET_SUBDIR)/libvtv/.libs:
594 @endif target-libvtv
596 @if target-libssp
597 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
598 @endif target-libssp
600 @if target-libgomp
601 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
602 @endif target-libgomp
604 @if target-libitm
605 TARGET_LIB_PATH_libitm = $$r/$(TARGET_SUBDIR)/libitm/.libs:
606 @endif target-libitm
608 @if target-libatomic
609 TARGET_LIB_PATH_libatomic = $$r/$(TARGET_SUBDIR)/libatomic/.libs:
610 @endif target-libatomic
614 # This is the list of directories that may be needed in RPATH_ENVVAR
615 # so that programs built for the host machine work.
616 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)
618 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
619 @if gcc
620 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc$(GCC_SHLIB_SUBDIR):$$r/$(HOST_SUBDIR)/prev-gcc$(GCC_SHLIB_SUBDIR):
621 @endif gcc
624 @if gmp
625 HOST_LIB_PATH_gmp = \
626 $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
627 @endif gmp
629 @if mpfr
630 HOST_LIB_PATH_mpfr = \
631 $$r/$(HOST_SUBDIR)/mpfr/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/.libs:
632 @endif mpfr
634 @if mpc
635 HOST_LIB_PATH_mpc = \
636 $$r/$(HOST_SUBDIR)/mpc/.libs:$$r/$(HOST_SUBDIR)/prev-mpc/.libs:
637 @endif mpc
639 @if isl
640 HOST_LIB_PATH_isl = \
641 $$r/$(HOST_SUBDIR)/isl/.libs:$$r/$(HOST_SUBDIR)/prev-isl/.libs:
642 @endif isl
644 @if cloog
645 HOST_LIB_PATH_cloog = \
646 $$r/$(HOST_SUBDIR)/cloog/.libs:$$r/$(HOST_SUBDIR)/prev-cloog/.libs:
647 @endif cloog
649 @if libelf
650 HOST_LIB_PATH_libelf = \
651 $$r/$(HOST_SUBDIR)/libelf/.libs:$$r/$(HOST_SUBDIR)/prev-libelf/.libs:
652 @endif libelf
655 CXX_FOR_TARGET_FLAG_TO_PASS = \
656 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)"
657 @if target-libstdc++-v3
658 # CXX_FOR_TARGET is tricky to get right for target libs that require a
659 # functional C++ compiler. When we recurse, if we expand
660 # CXX_FOR_TARGET before configuring libstdc++-v3, we won't get
661 # libstdc++ include flags from the script. Instead, we get an
662 # -funconfigured-* word, so that we'll get errors if this invalid C++
663 # command line is used for anything, but also so that we can use the
664 # word to decide whether or not to pass on this CXX_FOR_TARGET. If we
665 # don't pass it on, sub-make will use the default definition, that
666 # re-expands it at the time of use, so we'll get it right when we need
667 # it. One potential exception is the expansion of CXX_FOR_TARGET
668 # passed down as part of CXX within TARGET_FLAGS, but this wouldn't
669 # really work, for C++ host programs can't depend on the current-stage
670 # C++ target library.
671 CXX_FOR_TARGET_FLAG_TO_PASS = \
672 $(shell if echo "$(CXX_FOR_TARGET)" | grep " -funconfigured-" > /dev/null; then :; else echo '"CXX_FOR_TARGET=$(CXX_FOR_TARGET)"'; fi)
673 @endif target-libstdc++-v3
675 # Flags to pass down to all sub-makes.
676 BASE_FLAGS_TO_PASS = \
677 "DESTDIR=$(DESTDIR)" \
678 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
679 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
680 "bindir=$(bindir)" \
681 "datadir=$(datadir)" \
682 "exec_prefix=$(exec_prefix)" \
683 "includedir=$(includedir)" \
684 "datarootdir=$(datarootdir)" \
685 "docdir=$(docdir)" \
686 "infodir=$(infodir)" \
687 "pdfdir=$(pdfdir)" \
688 "htmldir=$(htmldir)" \
689 "libdir=$(libdir)" \
690 "libexecdir=$(libexecdir)" \
691 "lispdir=$(lispdir)" \
692 "localstatedir=$(localstatedir)" \
693 "mandir=$(mandir)" \
694 "oldincludedir=$(oldincludedir)" \
695 "prefix=$(prefix)" \
696 "sbindir=$(sbindir)" \
697 "sharedstatedir=$(sharedstatedir)" \
698 "sysconfdir=$(sysconfdir)" \
699 "tooldir=$(tooldir)" \
700 "build_tooldir=$(build_tooldir)" \
701 "target_alias=$(target_alias)" \
702 "AWK=$(AWK)" \
703 "BISON=$(BISON)" \
704 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
705 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
706 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
707 "EXPECT=$(EXPECT)" \
708 "FLEX=$(FLEX)" \
709 "INSTALL=$(INSTALL)" \
710 "INSTALL_DATA=$(INSTALL_DATA)" \
711 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
712 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
713 "LDFLAGS_FOR_BUILD=$(LDFLAGS_FOR_BUILD)" \
714 "LEX=$(LEX)" \
715 "M4=$(M4)" \
716 "MAKE=$(MAKE)" \
717 "RUNTEST=$(RUNTEST)" \
718 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
719 "SED=$(SED)" \
720 "SHELL=$(SHELL)" \
721 "YACC=$(YACC)" \
722 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
723 "ADA_CFLAGS=$(ADA_CFLAGS)" \
724 "AR_FLAGS=$(AR_FLAGS)" \
725 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
726 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
727 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
728 "CFLAGS=$(CFLAGS)" \
729 "CXXFLAGS=$(CXXFLAGS)" \
730 "LDFLAGS=$(LDFLAGS)" \
731 "LIBCFLAGS=$(LIBCFLAGS)" \
732 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
733 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
734 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
735 "GNATBIND=$(GNATBIND)" \
736 "GNATMAKE=$(GNATMAKE)" \
737 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
738 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
739 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
740 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
741 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
742 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
743 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
744 "FLAGS_FOR_TARGET=$(FLAGS_FOR_TARGET)" \
745 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
746 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
747 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
748 "GOCFLAGS_FOR_TARGET=$(GOCFLAGS_FOR_TARGET)" \
749 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
750 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
751 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
752 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
753 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
754 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
755 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
756 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
757 "READELF_FOR_TARGET=$(READELF_FOR_TARGET)" \
758 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
759 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
760 "WINDMC_FOR_TARGET=$(WINDMC_FOR_TARGET)" \
761 "BUILD_CONFIG=$(BUILD_CONFIG)" \
762 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
763 "LEAN=$(LEAN)" \
764 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
765 "STAGE1_CXXFLAGS=$(STAGE1_CXXFLAGS)" \
766 "STAGE1_TFLAGS=$(STAGE1_TFLAGS)" \
767 "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \
768 "STAGE2_CXXFLAGS=$(STAGE2_CXXFLAGS)" \
769 "STAGE2_TFLAGS=$(STAGE2_TFLAGS)" \
770 "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \
771 "STAGE3_CXXFLAGS=$(STAGE3_CXXFLAGS)" \
772 "STAGE3_TFLAGS=$(STAGE3_TFLAGS)" \
773 "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \
774 "STAGE4_CXXFLAGS=$(STAGE4_CXXFLAGS)" \
775 "STAGE4_TFLAGS=$(STAGE4_TFLAGS)" \
776 "STAGEprofile_CFLAGS=$(STAGEprofile_CFLAGS)" \
777 "STAGEprofile_CXXFLAGS=$(STAGEprofile_CXXFLAGS)" \
778 "STAGEprofile_TFLAGS=$(STAGEprofile_TFLAGS)" \
779 "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \
780 "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \
781 "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \
782 $(CXX_FOR_TARGET_FLAG_TO_PASS) \
783 "TFLAGS=$(TFLAGS)" \
784 "CONFIG_SHELL=$(SHELL)" \
785 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
787 # We leave this in just in case, but it is not needed anymore.
788 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
790 # Flags to pass down to most sub-makes, in which we're building with
791 # the host environment.
792 EXTRA_HOST_FLAGS = \
793 'AR=$(AR)' \
794 'AS=$(AS)' \
795 'CC=$(CC)' \
796 'CXX=$(CXX)' \
797 'DLLTOOL=$(DLLTOOL)' \
798 'GCJ=$(GCJ)' \
799 'GFORTRAN=$(GFORTRAN)' \
800 'GOC=$(GOC)' \
801 'LD=$(LD)' \
802 'LIPO=$(LIPO)' \
803 'NM=$(NM)' \
804 'OBJDUMP=$(OBJDUMP)' \
805 'RANLIB=$(RANLIB)' \
806 'READELF=$(READELF)' \
807 'STRIP=$(STRIP)' \
808 'WINDRES=$(WINDRES)' \
809 'WINDMC=$(WINDMC)'
811 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
813 # Flags to pass to stage1 or when not bootstrapping.
815 STAGE1_FLAGS_TO_PASS = \
816 LDFLAGS="$${LDFLAGS}" \
817 HOST_LIBS="$${HOST_LIBS}"
819 # Flags to pass to stage2 and later makes.
821 POSTSTAGE1_FLAGS_TO_PASS = \
822 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
823 CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \
824 GNATBIND="$${GNATBIND}" \
825 LDFLAGS="$${LDFLAGS}" \
826 HOST_LIBS="$${HOST_LIBS}" \
827 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
829 # Flags to pass down to makes which are built with the target environment.
830 # The double $ decreases the length of the command line; those variables
831 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
832 # *_CFLAGS_FOR_TARGET variables are not passed down and most often empty,
833 # so we expand them here.
834 EXTRA_TARGET_FLAGS = \
835 'AR=$$(AR_FOR_TARGET)' \
836 'AS=$(COMPILER_AS_FOR_TARGET)' \
837 'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
838 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
839 'CXX=$$(CXX_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
840 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
841 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
842 'GCJ=$$(GCJ_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
843 'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
844 'GOC=$$(GOC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
845 'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \
846 'LD=$(COMPILER_LD_FOR_TARGET)' \
847 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
848 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
849 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
850 'NM=$(COMPILER_NM_FOR_TARGET)' \
851 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
852 'RANLIB=$$(RANLIB_FOR_TARGET)' \
853 'READELF=$$(READELF_FOR_TARGET)' \
854 'WINDRES=$$(WINDRES_FOR_TARGET)' \
855 'WINDMC=$$(WINDMC_FOR_TARGET)' \
856 'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \
857 "TFLAGS=$$TFLAGS"
859 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
861 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
862 # unfortunately needs the native compiler and the target ar and
863 # ranlib.
864 # If any variables are added here, they must be added to do-*, below.
865 # The BUILD_* variables are a special case, which are used for the gcc
866 # cross-building scheme.
867 EXTRA_GCC_FLAGS = \
868 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
869 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
870 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
872 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
874 @if gcc
875 BUILD_CONFIG = @BUILD_CONFIG@
876 ifneq ($(BUILD_CONFIG),)
877 include $(foreach CONFIG, $(BUILD_CONFIG), $(srcdir)/config/$(CONFIG).mk)
878 endif
879 @endif gcc
881 .PHONY: configure-host
882 configure-host: \
883 maybe-configure-bfd \
884 maybe-configure-opcodes \
885 maybe-configure-binutils \
886 maybe-configure-bison \
887 maybe-configure-cgen \
888 maybe-configure-dejagnu \
889 maybe-configure-etc \
890 maybe-configure-fastjar \
891 maybe-configure-fixincludes \
892 maybe-configure-flex \
893 maybe-configure-gas \
894 maybe-configure-gcc \
895 maybe-configure-gmp \
896 maybe-configure-mpfr \
897 maybe-configure-mpc \
898 maybe-configure-isl \
899 maybe-configure-cloog \
900 maybe-configure-libelf \
901 maybe-configure-gold \
902 maybe-configure-gprof \
903 maybe-configure-intl \
904 maybe-configure-tcl \
905 maybe-configure-itcl \
906 maybe-configure-ld \
907 maybe-configure-libbacktrace \
908 maybe-configure-libcpp \
909 maybe-configure-libdecnumber \
910 maybe-configure-libgui \
911 maybe-configure-libiberty \
912 maybe-configure-libiconv \
913 maybe-configure-m4 \
914 maybe-configure-readline \
915 maybe-configure-sid \
916 maybe-configure-sim \
917 maybe-configure-texinfo \
918 maybe-configure-zlib \
919 maybe-configure-gdb \
920 maybe-configure-expect \
921 maybe-configure-guile \
922 maybe-configure-tk \
923 maybe-configure-libtermcap \
924 maybe-configure-utils \
925 maybe-configure-gnattools \
926 maybe-configure-lto-plugin
927 .PHONY: configure-target
928 configure-target: \
929 maybe-configure-target-libstdc++-v3 \
930 maybe-configure-target-libmudflap \
931 maybe-configure-target-libsanitizer \
932 maybe-configure-target-libvtv \
933 maybe-configure-target-libssp \
934 maybe-configure-target-newlib \
935 maybe-configure-target-libgcc \
936 maybe-configure-target-libbacktrace \
937 maybe-configure-target-libquadmath \
938 maybe-configure-target-libgfortran \
939 maybe-configure-target-libobjc \
940 maybe-configure-target-libgo \
941 maybe-configure-target-libtermcap \
942 maybe-configure-target-winsup \
943 maybe-configure-target-libgloss \
944 maybe-configure-target-libffi \
945 maybe-configure-target-libjava \
946 maybe-configure-target-zlib \
947 maybe-configure-target-boehm-gc \
948 maybe-configure-target-rda \
949 maybe-configure-target-libada \
950 maybe-configure-target-libgomp \
951 maybe-configure-target-libitm \
952 maybe-configure-target-libatomic
954 # The target built for a native non-bootstrap build.
955 .PHONY: all
956 all:
957 @if gcc-bootstrap
958 [ -f stage_final ] || echo stage3 > stage_final
959 @r=`${PWD_COMMAND}`; export r; \
960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
961 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
962 @endif gcc-bootstrap
963 @: $(MAKE); $(unstage)
964 @r=`${PWD_COMMAND}`; export r; \
965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
966 @if gcc-bootstrap
967 if [ -f stage_last ]; then \
968 TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \
969 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
970 else \
971 @endif gcc-bootstrap
972 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
973 @if gcc-bootstrap
975 fi \
976 @endif gcc-bootstrap
977 && :
979 .PHONY: all-build
981 all-build: maybe-all-build-libiberty
982 all-build: maybe-all-build-bison
983 all-build: maybe-all-build-flex
984 all-build: maybe-all-build-m4
985 all-build: maybe-all-build-texinfo
986 all-build: maybe-all-build-fixincludes
988 .PHONY: all-host
990 @if bfd-no-bootstrap
991 all-host: maybe-all-bfd
992 @endif bfd-no-bootstrap
993 @if opcodes-no-bootstrap
994 all-host: maybe-all-opcodes
995 @endif opcodes-no-bootstrap
996 @if binutils-no-bootstrap
997 all-host: maybe-all-binutils
998 @endif binutils-no-bootstrap
999 all-host: maybe-all-bison
1000 all-host: maybe-all-cgen
1001 all-host: maybe-all-dejagnu
1002 all-host: maybe-all-etc
1003 all-host: maybe-all-fastjar
1004 all-host: maybe-all-fixincludes
1005 all-host: maybe-all-flex
1006 @if gas-no-bootstrap
1007 all-host: maybe-all-gas
1008 @endif gas-no-bootstrap
1009 @if gcc-no-bootstrap
1010 all-host: maybe-all-gcc
1011 @endif gcc-no-bootstrap
1012 @if gmp-no-bootstrap
1013 all-host: maybe-all-gmp
1014 @endif gmp-no-bootstrap
1015 @if mpfr-no-bootstrap
1016 all-host: maybe-all-mpfr
1017 @endif mpfr-no-bootstrap
1018 @if mpc-no-bootstrap
1019 all-host: maybe-all-mpc
1020 @endif mpc-no-bootstrap
1021 @if isl-no-bootstrap
1022 all-host: maybe-all-isl
1023 @endif isl-no-bootstrap
1024 @if cloog-no-bootstrap
1025 all-host: maybe-all-cloog
1026 @endif cloog-no-bootstrap
1027 @if libelf-no-bootstrap
1028 all-host: maybe-all-libelf
1029 @endif libelf-no-bootstrap
1030 @if gold-no-bootstrap
1031 all-host: maybe-all-gold
1032 @endif gold-no-bootstrap
1033 all-host: maybe-all-gprof
1034 @if intl-no-bootstrap
1035 all-host: maybe-all-intl
1036 @endif intl-no-bootstrap
1037 all-host: maybe-all-tcl
1038 all-host: maybe-all-itcl
1039 @if ld-no-bootstrap
1040 all-host: maybe-all-ld
1041 @endif ld-no-bootstrap
1042 @if libbacktrace-no-bootstrap
1043 all-host: maybe-all-libbacktrace
1044 @endif libbacktrace-no-bootstrap
1045 @if libcpp-no-bootstrap
1046 all-host: maybe-all-libcpp
1047 @endif libcpp-no-bootstrap
1048 @if libdecnumber-no-bootstrap
1049 all-host: maybe-all-libdecnumber
1050 @endif libdecnumber-no-bootstrap
1051 all-host: maybe-all-libgui
1052 @if libiberty-no-bootstrap
1053 all-host: maybe-all-libiberty
1054 @endif libiberty-no-bootstrap
1055 all-host: maybe-all-libiconv
1056 all-host: maybe-all-m4
1057 all-host: maybe-all-readline
1058 all-host: maybe-all-sid
1059 all-host: maybe-all-sim
1060 all-host: maybe-all-texinfo
1061 @if zlib-no-bootstrap
1062 all-host: maybe-all-zlib
1063 @endif zlib-no-bootstrap
1064 all-host: maybe-all-gdb
1065 all-host: maybe-all-expect
1066 all-host: maybe-all-guile
1067 all-host: maybe-all-tk
1068 all-host: maybe-all-libtermcap
1069 all-host: maybe-all-utils
1070 all-host: maybe-all-gnattools
1071 @if lto-plugin-no-bootstrap
1072 all-host: maybe-all-lto-plugin
1073 @endif lto-plugin-no-bootstrap
1075 .PHONY: all-target
1077 @if target-libstdc++-v3-no-bootstrap
1078 all-target: maybe-all-target-libstdc++-v3
1079 @endif target-libstdc++-v3-no-bootstrap
1080 all-target: maybe-all-target-libmudflap
1081 @if target-libsanitizer-no-bootstrap
1082 all-target: maybe-all-target-libsanitizer
1083 @endif target-libsanitizer-no-bootstrap
1084 @if target-libvtv-no-bootstrap
1085 all-target: maybe-all-target-libvtv
1086 @endif target-libvtv-no-bootstrap
1087 all-target: maybe-all-target-libssp
1088 all-target: maybe-all-target-newlib
1089 @if target-libgcc-no-bootstrap
1090 all-target: maybe-all-target-libgcc
1091 @endif target-libgcc-no-bootstrap
1092 all-target: maybe-all-target-libbacktrace
1093 all-target: maybe-all-target-libquadmath
1094 all-target: maybe-all-target-libgfortran
1095 all-target: maybe-all-target-libobjc
1096 all-target: maybe-all-target-libgo
1097 all-target: maybe-all-target-libtermcap
1098 all-target: maybe-all-target-winsup
1099 all-target: maybe-all-target-libgloss
1100 all-target: maybe-all-target-libffi
1101 all-target: maybe-all-target-libjava
1102 all-target: maybe-all-target-zlib
1103 all-target: maybe-all-target-boehm-gc
1104 all-target: maybe-all-target-rda
1105 all-target: maybe-all-target-libada
1106 @if target-libgomp-no-bootstrap
1107 all-target: maybe-all-target-libgomp
1108 @endif target-libgomp-no-bootstrap
1109 all-target: maybe-all-target-libitm
1110 all-target: maybe-all-target-libatomic
1112 # Do a target for all the subdirectories. A ``make do-X'' will do a
1113 # ``make X'' in all subdirectories (because, in general, there is a
1114 # dependency (below) of X upon do-X, a ``make X'' will also do this,
1115 # but it may do additional work as well).
1117 .PHONY: do-info
1118 do-info:
1119 @: $(MAKE); $(unstage)
1120 @r=`${PWD_COMMAND}`; export r; \
1121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1122 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
1123 info-target
1126 .PHONY: info-host
1128 info-host: maybe-info-bfd
1129 info-host: maybe-info-opcodes
1130 info-host: maybe-info-binutils
1131 info-host: maybe-info-bison
1132 info-host: maybe-info-cgen
1133 info-host: maybe-info-dejagnu
1134 info-host: maybe-info-etc
1135 info-host: maybe-info-fastjar
1136 info-host: maybe-info-fixincludes
1137 info-host: maybe-info-flex
1138 info-host: maybe-info-gas
1139 info-host: maybe-info-gcc
1140 info-host: maybe-info-gmp
1141 info-host: maybe-info-mpfr
1142 info-host: maybe-info-mpc
1143 info-host: maybe-info-isl
1144 info-host: maybe-info-cloog
1145 info-host: maybe-info-libelf
1146 info-host: maybe-info-gold
1147 info-host: maybe-info-gprof
1148 info-host: maybe-info-intl
1149 info-host: maybe-info-tcl
1150 info-host: maybe-info-itcl
1151 info-host: maybe-info-ld
1152 info-host: maybe-info-libbacktrace
1153 info-host: maybe-info-libcpp
1154 info-host: maybe-info-libdecnumber
1155 info-host: maybe-info-libgui
1156 info-host: maybe-info-libiberty
1157 info-host: maybe-info-libiconv
1158 info-host: maybe-info-m4
1159 info-host: maybe-info-readline
1160 info-host: maybe-info-sid
1161 info-host: maybe-info-sim
1162 info-host: maybe-info-texinfo
1163 info-host: maybe-info-zlib
1164 info-host: maybe-info-gdb
1165 info-host: maybe-info-expect
1166 info-host: maybe-info-guile
1167 info-host: maybe-info-tk
1168 info-host: maybe-info-libtermcap
1169 info-host: maybe-info-utils
1170 info-host: maybe-info-gnattools
1171 info-host: maybe-info-lto-plugin
1173 .PHONY: info-target
1175 info-target: maybe-info-target-libstdc++-v3
1176 info-target: maybe-info-target-libmudflap
1177 info-target: maybe-info-target-libsanitizer
1178 info-target: maybe-info-target-libvtv
1179 info-target: maybe-info-target-libssp
1180 info-target: maybe-info-target-newlib
1181 info-target: maybe-info-target-libgcc
1182 info-target: maybe-info-target-libbacktrace
1183 info-target: maybe-info-target-libquadmath
1184 info-target: maybe-info-target-libgfortran
1185 info-target: maybe-info-target-libobjc
1186 info-target: maybe-info-target-libgo
1187 info-target: maybe-info-target-libtermcap
1188 info-target: maybe-info-target-winsup
1189 info-target: maybe-info-target-libgloss
1190 info-target: maybe-info-target-libffi
1191 info-target: maybe-info-target-libjava
1192 info-target: maybe-info-target-zlib
1193 info-target: maybe-info-target-boehm-gc
1194 info-target: maybe-info-target-rda
1195 info-target: maybe-info-target-libada
1196 info-target: maybe-info-target-libgomp
1197 info-target: maybe-info-target-libitm
1198 info-target: maybe-info-target-libatomic
1200 .PHONY: do-dvi
1201 do-dvi:
1202 @: $(MAKE); $(unstage)
1203 @r=`${PWD_COMMAND}`; export r; \
1204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1205 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1206 dvi-target
1209 .PHONY: dvi-host
1211 dvi-host: maybe-dvi-bfd
1212 dvi-host: maybe-dvi-opcodes
1213 dvi-host: maybe-dvi-binutils
1214 dvi-host: maybe-dvi-bison
1215 dvi-host: maybe-dvi-cgen
1216 dvi-host: maybe-dvi-dejagnu
1217 dvi-host: maybe-dvi-etc
1218 dvi-host: maybe-dvi-fastjar
1219 dvi-host: maybe-dvi-fixincludes
1220 dvi-host: maybe-dvi-flex
1221 dvi-host: maybe-dvi-gas
1222 dvi-host: maybe-dvi-gcc
1223 dvi-host: maybe-dvi-gmp
1224 dvi-host: maybe-dvi-mpfr
1225 dvi-host: maybe-dvi-mpc
1226 dvi-host: maybe-dvi-isl
1227 dvi-host: maybe-dvi-cloog
1228 dvi-host: maybe-dvi-libelf
1229 dvi-host: maybe-dvi-gold
1230 dvi-host: maybe-dvi-gprof
1231 dvi-host: maybe-dvi-intl
1232 dvi-host: maybe-dvi-tcl
1233 dvi-host: maybe-dvi-itcl
1234 dvi-host: maybe-dvi-ld
1235 dvi-host: maybe-dvi-libbacktrace
1236 dvi-host: maybe-dvi-libcpp
1237 dvi-host: maybe-dvi-libdecnumber
1238 dvi-host: maybe-dvi-libgui
1239 dvi-host: maybe-dvi-libiberty
1240 dvi-host: maybe-dvi-libiconv
1241 dvi-host: maybe-dvi-m4
1242 dvi-host: maybe-dvi-readline
1243 dvi-host: maybe-dvi-sid
1244 dvi-host: maybe-dvi-sim
1245 dvi-host: maybe-dvi-texinfo
1246 dvi-host: maybe-dvi-zlib
1247 dvi-host: maybe-dvi-gdb
1248 dvi-host: maybe-dvi-expect
1249 dvi-host: maybe-dvi-guile
1250 dvi-host: maybe-dvi-tk
1251 dvi-host: maybe-dvi-libtermcap
1252 dvi-host: maybe-dvi-utils
1253 dvi-host: maybe-dvi-gnattools
1254 dvi-host: maybe-dvi-lto-plugin
1256 .PHONY: dvi-target
1258 dvi-target: maybe-dvi-target-libstdc++-v3
1259 dvi-target: maybe-dvi-target-libmudflap
1260 dvi-target: maybe-dvi-target-libsanitizer
1261 dvi-target: maybe-dvi-target-libvtv
1262 dvi-target: maybe-dvi-target-libssp
1263 dvi-target: maybe-dvi-target-newlib
1264 dvi-target: maybe-dvi-target-libgcc
1265 dvi-target: maybe-dvi-target-libbacktrace
1266 dvi-target: maybe-dvi-target-libquadmath
1267 dvi-target: maybe-dvi-target-libgfortran
1268 dvi-target: maybe-dvi-target-libobjc
1269 dvi-target: maybe-dvi-target-libgo
1270 dvi-target: maybe-dvi-target-libtermcap
1271 dvi-target: maybe-dvi-target-winsup
1272 dvi-target: maybe-dvi-target-libgloss
1273 dvi-target: maybe-dvi-target-libffi
1274 dvi-target: maybe-dvi-target-libjava
1275 dvi-target: maybe-dvi-target-zlib
1276 dvi-target: maybe-dvi-target-boehm-gc
1277 dvi-target: maybe-dvi-target-rda
1278 dvi-target: maybe-dvi-target-libada
1279 dvi-target: maybe-dvi-target-libgomp
1280 dvi-target: maybe-dvi-target-libitm
1281 dvi-target: maybe-dvi-target-libatomic
1283 .PHONY: do-pdf
1284 do-pdf:
1285 @: $(MAKE); $(unstage)
1286 @r=`${PWD_COMMAND}`; export r; \
1287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1288 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1289 pdf-target
1292 .PHONY: pdf-host
1294 pdf-host: maybe-pdf-bfd
1295 pdf-host: maybe-pdf-opcodes
1296 pdf-host: maybe-pdf-binutils
1297 pdf-host: maybe-pdf-bison
1298 pdf-host: maybe-pdf-cgen
1299 pdf-host: maybe-pdf-dejagnu
1300 pdf-host: maybe-pdf-etc
1301 pdf-host: maybe-pdf-fastjar
1302 pdf-host: maybe-pdf-fixincludes
1303 pdf-host: maybe-pdf-flex
1304 pdf-host: maybe-pdf-gas
1305 pdf-host: maybe-pdf-gcc
1306 pdf-host: maybe-pdf-gmp
1307 pdf-host: maybe-pdf-mpfr
1308 pdf-host: maybe-pdf-mpc
1309 pdf-host: maybe-pdf-isl
1310 pdf-host: maybe-pdf-cloog
1311 pdf-host: maybe-pdf-libelf
1312 pdf-host: maybe-pdf-gold
1313 pdf-host: maybe-pdf-gprof
1314 pdf-host: maybe-pdf-intl
1315 pdf-host: maybe-pdf-tcl
1316 pdf-host: maybe-pdf-itcl
1317 pdf-host: maybe-pdf-ld
1318 pdf-host: maybe-pdf-libbacktrace
1319 pdf-host: maybe-pdf-libcpp
1320 pdf-host: maybe-pdf-libdecnumber
1321 pdf-host: maybe-pdf-libgui
1322 pdf-host: maybe-pdf-libiberty
1323 pdf-host: maybe-pdf-libiconv
1324 pdf-host: maybe-pdf-m4
1325 pdf-host: maybe-pdf-readline
1326 pdf-host: maybe-pdf-sid
1327 pdf-host: maybe-pdf-sim
1328 pdf-host: maybe-pdf-texinfo
1329 pdf-host: maybe-pdf-zlib
1330 pdf-host: maybe-pdf-gdb
1331 pdf-host: maybe-pdf-expect
1332 pdf-host: maybe-pdf-guile
1333 pdf-host: maybe-pdf-tk
1334 pdf-host: maybe-pdf-libtermcap
1335 pdf-host: maybe-pdf-utils
1336 pdf-host: maybe-pdf-gnattools
1337 pdf-host: maybe-pdf-lto-plugin
1339 .PHONY: pdf-target
1341 pdf-target: maybe-pdf-target-libstdc++-v3
1342 pdf-target: maybe-pdf-target-libmudflap
1343 pdf-target: maybe-pdf-target-libsanitizer
1344 pdf-target: maybe-pdf-target-libvtv
1345 pdf-target: maybe-pdf-target-libssp
1346 pdf-target: maybe-pdf-target-newlib
1347 pdf-target: maybe-pdf-target-libgcc
1348 pdf-target: maybe-pdf-target-libbacktrace
1349 pdf-target: maybe-pdf-target-libquadmath
1350 pdf-target: maybe-pdf-target-libgfortran
1351 pdf-target: maybe-pdf-target-libobjc
1352 pdf-target: maybe-pdf-target-libgo
1353 pdf-target: maybe-pdf-target-libtermcap
1354 pdf-target: maybe-pdf-target-winsup
1355 pdf-target: maybe-pdf-target-libgloss
1356 pdf-target: maybe-pdf-target-libffi
1357 pdf-target: maybe-pdf-target-libjava
1358 pdf-target: maybe-pdf-target-zlib
1359 pdf-target: maybe-pdf-target-boehm-gc
1360 pdf-target: maybe-pdf-target-rda
1361 pdf-target: maybe-pdf-target-libada
1362 pdf-target: maybe-pdf-target-libgomp
1363 pdf-target: maybe-pdf-target-libitm
1364 pdf-target: maybe-pdf-target-libatomic
1366 .PHONY: do-html
1367 do-html:
1368 @: $(MAKE); $(unstage)
1369 @r=`${PWD_COMMAND}`; export r; \
1370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1371 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1372 html-target
1375 .PHONY: html-host
1377 html-host: maybe-html-bfd
1378 html-host: maybe-html-opcodes
1379 html-host: maybe-html-binutils
1380 html-host: maybe-html-bison
1381 html-host: maybe-html-cgen
1382 html-host: maybe-html-dejagnu
1383 html-host: maybe-html-etc
1384 html-host: maybe-html-fastjar
1385 html-host: maybe-html-fixincludes
1386 html-host: maybe-html-flex
1387 html-host: maybe-html-gas
1388 html-host: maybe-html-gcc
1389 html-host: maybe-html-gmp
1390 html-host: maybe-html-mpfr
1391 html-host: maybe-html-mpc
1392 html-host: maybe-html-isl
1393 html-host: maybe-html-cloog
1394 html-host: maybe-html-libelf
1395 html-host: maybe-html-gold
1396 html-host: maybe-html-gprof
1397 html-host: maybe-html-intl
1398 html-host: maybe-html-tcl
1399 html-host: maybe-html-itcl
1400 html-host: maybe-html-ld
1401 html-host: maybe-html-libbacktrace
1402 html-host: maybe-html-libcpp
1403 html-host: maybe-html-libdecnumber
1404 html-host: maybe-html-libgui
1405 html-host: maybe-html-libiberty
1406 html-host: maybe-html-libiconv
1407 html-host: maybe-html-m4
1408 html-host: maybe-html-readline
1409 html-host: maybe-html-sid
1410 html-host: maybe-html-sim
1411 html-host: maybe-html-texinfo
1412 html-host: maybe-html-zlib
1413 html-host: maybe-html-gdb
1414 html-host: maybe-html-expect
1415 html-host: maybe-html-guile
1416 html-host: maybe-html-tk
1417 html-host: maybe-html-libtermcap
1418 html-host: maybe-html-utils
1419 html-host: maybe-html-gnattools
1420 html-host: maybe-html-lto-plugin
1422 .PHONY: html-target
1424 html-target: maybe-html-target-libstdc++-v3
1425 html-target: maybe-html-target-libmudflap
1426 html-target: maybe-html-target-libsanitizer
1427 html-target: maybe-html-target-libvtv
1428 html-target: maybe-html-target-libssp
1429 html-target: maybe-html-target-newlib
1430 html-target: maybe-html-target-libgcc
1431 html-target: maybe-html-target-libbacktrace
1432 html-target: maybe-html-target-libquadmath
1433 html-target: maybe-html-target-libgfortran
1434 html-target: maybe-html-target-libobjc
1435 html-target: maybe-html-target-libgo
1436 html-target: maybe-html-target-libtermcap
1437 html-target: maybe-html-target-winsup
1438 html-target: maybe-html-target-libgloss
1439 html-target: maybe-html-target-libffi
1440 html-target: maybe-html-target-libjava
1441 html-target: maybe-html-target-zlib
1442 html-target: maybe-html-target-boehm-gc
1443 html-target: maybe-html-target-rda
1444 html-target: maybe-html-target-libada
1445 html-target: maybe-html-target-libgomp
1446 html-target: maybe-html-target-libitm
1447 html-target: maybe-html-target-libatomic
1449 .PHONY: do-TAGS
1450 do-TAGS:
1451 @: $(MAKE); $(unstage)
1452 @r=`${PWD_COMMAND}`; export r; \
1453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1454 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1455 TAGS-target
1458 .PHONY: TAGS-host
1460 TAGS-host: maybe-TAGS-bfd
1461 TAGS-host: maybe-TAGS-opcodes
1462 TAGS-host: maybe-TAGS-binutils
1463 TAGS-host: maybe-TAGS-bison
1464 TAGS-host: maybe-TAGS-cgen
1465 TAGS-host: maybe-TAGS-dejagnu
1466 TAGS-host: maybe-TAGS-etc
1467 TAGS-host: maybe-TAGS-fastjar
1468 TAGS-host: maybe-TAGS-fixincludes
1469 TAGS-host: maybe-TAGS-flex
1470 TAGS-host: maybe-TAGS-gas
1471 TAGS-host: maybe-TAGS-gcc
1472 TAGS-host: maybe-TAGS-gmp
1473 TAGS-host: maybe-TAGS-mpfr
1474 TAGS-host: maybe-TAGS-mpc
1475 TAGS-host: maybe-TAGS-isl
1476 TAGS-host: maybe-TAGS-cloog
1477 TAGS-host: maybe-TAGS-libelf
1478 TAGS-host: maybe-TAGS-gold
1479 TAGS-host: maybe-TAGS-gprof
1480 TAGS-host: maybe-TAGS-intl
1481 TAGS-host: maybe-TAGS-tcl
1482 TAGS-host: maybe-TAGS-itcl
1483 TAGS-host: maybe-TAGS-ld
1484 TAGS-host: maybe-TAGS-libbacktrace
1485 TAGS-host: maybe-TAGS-libcpp
1486 TAGS-host: maybe-TAGS-libdecnumber
1487 TAGS-host: maybe-TAGS-libgui
1488 TAGS-host: maybe-TAGS-libiberty
1489 TAGS-host: maybe-TAGS-libiconv
1490 TAGS-host: maybe-TAGS-m4
1491 TAGS-host: maybe-TAGS-readline
1492 TAGS-host: maybe-TAGS-sid
1493 TAGS-host: maybe-TAGS-sim
1494 TAGS-host: maybe-TAGS-texinfo
1495 TAGS-host: maybe-TAGS-zlib
1496 TAGS-host: maybe-TAGS-gdb
1497 TAGS-host: maybe-TAGS-expect
1498 TAGS-host: maybe-TAGS-guile
1499 TAGS-host: maybe-TAGS-tk
1500 TAGS-host: maybe-TAGS-libtermcap
1501 TAGS-host: maybe-TAGS-utils
1502 TAGS-host: maybe-TAGS-gnattools
1503 TAGS-host: maybe-TAGS-lto-plugin
1505 .PHONY: TAGS-target
1507 TAGS-target: maybe-TAGS-target-libstdc++-v3
1508 TAGS-target: maybe-TAGS-target-libmudflap
1509 TAGS-target: maybe-TAGS-target-libsanitizer
1510 TAGS-target: maybe-TAGS-target-libvtv
1511 TAGS-target: maybe-TAGS-target-libssp
1512 TAGS-target: maybe-TAGS-target-newlib
1513 TAGS-target: maybe-TAGS-target-libgcc
1514 TAGS-target: maybe-TAGS-target-libbacktrace
1515 TAGS-target: maybe-TAGS-target-libquadmath
1516 TAGS-target: maybe-TAGS-target-libgfortran
1517 TAGS-target: maybe-TAGS-target-libobjc
1518 TAGS-target: maybe-TAGS-target-libgo
1519 TAGS-target: maybe-TAGS-target-libtermcap
1520 TAGS-target: maybe-TAGS-target-winsup
1521 TAGS-target: maybe-TAGS-target-libgloss
1522 TAGS-target: maybe-TAGS-target-libffi
1523 TAGS-target: maybe-TAGS-target-libjava
1524 TAGS-target: maybe-TAGS-target-zlib
1525 TAGS-target: maybe-TAGS-target-boehm-gc
1526 TAGS-target: maybe-TAGS-target-rda
1527 TAGS-target: maybe-TAGS-target-libada
1528 TAGS-target: maybe-TAGS-target-libgomp
1529 TAGS-target: maybe-TAGS-target-libitm
1530 TAGS-target: maybe-TAGS-target-libatomic
1532 .PHONY: do-install-info
1533 do-install-info:
1534 @: $(MAKE); $(unstage)
1535 @r=`${PWD_COMMAND}`; export r; \
1536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1537 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1538 install-info-target
1541 .PHONY: install-info-host
1543 install-info-host: maybe-install-info-bfd
1544 install-info-host: maybe-install-info-opcodes
1545 install-info-host: maybe-install-info-binutils
1546 install-info-host: maybe-install-info-bison
1547 install-info-host: maybe-install-info-cgen
1548 install-info-host: maybe-install-info-dejagnu
1549 install-info-host: maybe-install-info-etc
1550 install-info-host: maybe-install-info-fastjar
1551 install-info-host: maybe-install-info-fixincludes
1552 install-info-host: maybe-install-info-flex
1553 install-info-host: maybe-install-info-gas
1554 install-info-host: maybe-install-info-gcc
1555 install-info-host: maybe-install-info-gmp
1556 install-info-host: maybe-install-info-mpfr
1557 install-info-host: maybe-install-info-mpc
1558 install-info-host: maybe-install-info-isl
1559 install-info-host: maybe-install-info-cloog
1560 install-info-host: maybe-install-info-libelf
1561 install-info-host: maybe-install-info-gold
1562 install-info-host: maybe-install-info-gprof
1563 install-info-host: maybe-install-info-intl
1564 install-info-host: maybe-install-info-tcl
1565 install-info-host: maybe-install-info-itcl
1566 install-info-host: maybe-install-info-ld
1567 install-info-host: maybe-install-info-libbacktrace
1568 install-info-host: maybe-install-info-libcpp
1569 install-info-host: maybe-install-info-libdecnumber
1570 install-info-host: maybe-install-info-libgui
1571 install-info-host: maybe-install-info-libiberty
1572 install-info-host: maybe-install-info-libiconv
1573 install-info-host: maybe-install-info-m4
1574 install-info-host: maybe-install-info-readline
1575 install-info-host: maybe-install-info-sid
1576 install-info-host: maybe-install-info-sim
1577 install-info-host: maybe-install-info-texinfo
1578 install-info-host: maybe-install-info-zlib
1579 install-info-host: maybe-install-info-gdb
1580 install-info-host: maybe-install-info-expect
1581 install-info-host: maybe-install-info-guile
1582 install-info-host: maybe-install-info-tk
1583 install-info-host: maybe-install-info-libtermcap
1584 install-info-host: maybe-install-info-utils
1585 install-info-host: maybe-install-info-gnattools
1586 install-info-host: maybe-install-info-lto-plugin
1588 .PHONY: install-info-target
1590 install-info-target: maybe-install-info-target-libstdc++-v3
1591 install-info-target: maybe-install-info-target-libmudflap
1592 install-info-target: maybe-install-info-target-libsanitizer
1593 install-info-target: maybe-install-info-target-libvtv
1594 install-info-target: maybe-install-info-target-libssp
1595 install-info-target: maybe-install-info-target-newlib
1596 install-info-target: maybe-install-info-target-libgcc
1597 install-info-target: maybe-install-info-target-libbacktrace
1598 install-info-target: maybe-install-info-target-libquadmath
1599 install-info-target: maybe-install-info-target-libgfortran
1600 install-info-target: maybe-install-info-target-libobjc
1601 install-info-target: maybe-install-info-target-libgo
1602 install-info-target: maybe-install-info-target-libtermcap
1603 install-info-target: maybe-install-info-target-winsup
1604 install-info-target: maybe-install-info-target-libgloss
1605 install-info-target: maybe-install-info-target-libffi
1606 install-info-target: maybe-install-info-target-libjava
1607 install-info-target: maybe-install-info-target-zlib
1608 install-info-target: maybe-install-info-target-boehm-gc
1609 install-info-target: maybe-install-info-target-rda
1610 install-info-target: maybe-install-info-target-libada
1611 install-info-target: maybe-install-info-target-libgomp
1612 install-info-target: maybe-install-info-target-libitm
1613 install-info-target: maybe-install-info-target-libatomic
1615 .PHONY: do-install-pdf
1616 do-install-pdf:
1617 @: $(MAKE); $(unstage)
1618 @r=`${PWD_COMMAND}`; export r; \
1619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1620 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
1621 install-pdf-target
1624 .PHONY: install-pdf-host
1626 install-pdf-host: maybe-install-pdf-bfd
1627 install-pdf-host: maybe-install-pdf-opcodes
1628 install-pdf-host: maybe-install-pdf-binutils
1629 install-pdf-host: maybe-install-pdf-bison
1630 install-pdf-host: maybe-install-pdf-cgen
1631 install-pdf-host: maybe-install-pdf-dejagnu
1632 install-pdf-host: maybe-install-pdf-etc
1633 install-pdf-host: maybe-install-pdf-fastjar
1634 install-pdf-host: maybe-install-pdf-fixincludes
1635 install-pdf-host: maybe-install-pdf-flex
1636 install-pdf-host: maybe-install-pdf-gas
1637 install-pdf-host: maybe-install-pdf-gcc
1638 install-pdf-host: maybe-install-pdf-gmp
1639 install-pdf-host: maybe-install-pdf-mpfr
1640 install-pdf-host: maybe-install-pdf-mpc
1641 install-pdf-host: maybe-install-pdf-isl
1642 install-pdf-host: maybe-install-pdf-cloog
1643 install-pdf-host: maybe-install-pdf-libelf
1644 install-pdf-host: maybe-install-pdf-gold
1645 install-pdf-host: maybe-install-pdf-gprof
1646 install-pdf-host: maybe-install-pdf-intl
1647 install-pdf-host: maybe-install-pdf-tcl
1648 install-pdf-host: maybe-install-pdf-itcl
1649 install-pdf-host: maybe-install-pdf-ld
1650 install-pdf-host: maybe-install-pdf-libbacktrace
1651 install-pdf-host: maybe-install-pdf-libcpp
1652 install-pdf-host: maybe-install-pdf-libdecnumber
1653 install-pdf-host: maybe-install-pdf-libgui
1654 install-pdf-host: maybe-install-pdf-libiberty
1655 install-pdf-host: maybe-install-pdf-libiconv
1656 install-pdf-host: maybe-install-pdf-m4
1657 install-pdf-host: maybe-install-pdf-readline
1658 install-pdf-host: maybe-install-pdf-sid
1659 install-pdf-host: maybe-install-pdf-sim
1660 install-pdf-host: maybe-install-pdf-texinfo
1661 install-pdf-host: maybe-install-pdf-zlib
1662 install-pdf-host: maybe-install-pdf-gdb
1663 install-pdf-host: maybe-install-pdf-expect
1664 install-pdf-host: maybe-install-pdf-guile
1665 install-pdf-host: maybe-install-pdf-tk
1666 install-pdf-host: maybe-install-pdf-libtermcap
1667 install-pdf-host: maybe-install-pdf-utils
1668 install-pdf-host: maybe-install-pdf-gnattools
1669 install-pdf-host: maybe-install-pdf-lto-plugin
1671 .PHONY: install-pdf-target
1673 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
1674 install-pdf-target: maybe-install-pdf-target-libmudflap
1675 install-pdf-target: maybe-install-pdf-target-libsanitizer
1676 install-pdf-target: maybe-install-pdf-target-libvtv
1677 install-pdf-target: maybe-install-pdf-target-libssp
1678 install-pdf-target: maybe-install-pdf-target-newlib
1679 install-pdf-target: maybe-install-pdf-target-libgcc
1680 install-pdf-target: maybe-install-pdf-target-libbacktrace
1681 install-pdf-target: maybe-install-pdf-target-libquadmath
1682 install-pdf-target: maybe-install-pdf-target-libgfortran
1683 install-pdf-target: maybe-install-pdf-target-libobjc
1684 install-pdf-target: maybe-install-pdf-target-libgo
1685 install-pdf-target: maybe-install-pdf-target-libtermcap
1686 install-pdf-target: maybe-install-pdf-target-winsup
1687 install-pdf-target: maybe-install-pdf-target-libgloss
1688 install-pdf-target: maybe-install-pdf-target-libffi
1689 install-pdf-target: maybe-install-pdf-target-libjava
1690 install-pdf-target: maybe-install-pdf-target-zlib
1691 install-pdf-target: maybe-install-pdf-target-boehm-gc
1692 install-pdf-target: maybe-install-pdf-target-rda
1693 install-pdf-target: maybe-install-pdf-target-libada
1694 install-pdf-target: maybe-install-pdf-target-libgomp
1695 install-pdf-target: maybe-install-pdf-target-libitm
1696 install-pdf-target: maybe-install-pdf-target-libatomic
1698 .PHONY: do-install-html
1699 do-install-html:
1700 @: $(MAKE); $(unstage)
1701 @r=`${PWD_COMMAND}`; export r; \
1702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1703 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1704 install-html-target
1707 .PHONY: install-html-host
1709 install-html-host: maybe-install-html-bfd
1710 install-html-host: maybe-install-html-opcodes
1711 install-html-host: maybe-install-html-binutils
1712 install-html-host: maybe-install-html-bison
1713 install-html-host: maybe-install-html-cgen
1714 install-html-host: maybe-install-html-dejagnu
1715 install-html-host: maybe-install-html-etc
1716 install-html-host: maybe-install-html-fastjar
1717 install-html-host: maybe-install-html-fixincludes
1718 install-html-host: maybe-install-html-flex
1719 install-html-host: maybe-install-html-gas
1720 install-html-host: maybe-install-html-gcc
1721 install-html-host: maybe-install-html-gmp
1722 install-html-host: maybe-install-html-mpfr
1723 install-html-host: maybe-install-html-mpc
1724 install-html-host: maybe-install-html-isl
1725 install-html-host: maybe-install-html-cloog
1726 install-html-host: maybe-install-html-libelf
1727 install-html-host: maybe-install-html-gold
1728 install-html-host: maybe-install-html-gprof
1729 install-html-host: maybe-install-html-intl
1730 install-html-host: maybe-install-html-tcl
1731 install-html-host: maybe-install-html-itcl
1732 install-html-host: maybe-install-html-ld
1733 install-html-host: maybe-install-html-libbacktrace
1734 install-html-host: maybe-install-html-libcpp
1735 install-html-host: maybe-install-html-libdecnumber
1736 install-html-host: maybe-install-html-libgui
1737 install-html-host: maybe-install-html-libiberty
1738 install-html-host: maybe-install-html-libiconv
1739 install-html-host: maybe-install-html-m4
1740 install-html-host: maybe-install-html-readline
1741 install-html-host: maybe-install-html-sid
1742 install-html-host: maybe-install-html-sim
1743 install-html-host: maybe-install-html-texinfo
1744 install-html-host: maybe-install-html-zlib
1745 install-html-host: maybe-install-html-gdb
1746 install-html-host: maybe-install-html-expect
1747 install-html-host: maybe-install-html-guile
1748 install-html-host: maybe-install-html-tk
1749 install-html-host: maybe-install-html-libtermcap
1750 install-html-host: maybe-install-html-utils
1751 install-html-host: maybe-install-html-gnattools
1752 install-html-host: maybe-install-html-lto-plugin
1754 .PHONY: install-html-target
1756 install-html-target: maybe-install-html-target-libstdc++-v3
1757 install-html-target: maybe-install-html-target-libmudflap
1758 install-html-target: maybe-install-html-target-libsanitizer
1759 install-html-target: maybe-install-html-target-libvtv
1760 install-html-target: maybe-install-html-target-libssp
1761 install-html-target: maybe-install-html-target-newlib
1762 install-html-target: maybe-install-html-target-libgcc
1763 install-html-target: maybe-install-html-target-libbacktrace
1764 install-html-target: maybe-install-html-target-libquadmath
1765 install-html-target: maybe-install-html-target-libgfortran
1766 install-html-target: maybe-install-html-target-libobjc
1767 install-html-target: maybe-install-html-target-libgo
1768 install-html-target: maybe-install-html-target-libtermcap
1769 install-html-target: maybe-install-html-target-winsup
1770 install-html-target: maybe-install-html-target-libgloss
1771 install-html-target: maybe-install-html-target-libffi
1772 install-html-target: maybe-install-html-target-libjava
1773 install-html-target: maybe-install-html-target-zlib
1774 install-html-target: maybe-install-html-target-boehm-gc
1775 install-html-target: maybe-install-html-target-rda
1776 install-html-target: maybe-install-html-target-libada
1777 install-html-target: maybe-install-html-target-libgomp
1778 install-html-target: maybe-install-html-target-libitm
1779 install-html-target: maybe-install-html-target-libatomic
1781 .PHONY: do-installcheck
1782 do-installcheck:
1783 @: $(MAKE); $(unstage)
1784 @r=`${PWD_COMMAND}`; export r; \
1785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1786 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1787 installcheck-target
1790 .PHONY: installcheck-host
1792 installcheck-host: maybe-installcheck-bfd
1793 installcheck-host: maybe-installcheck-opcodes
1794 installcheck-host: maybe-installcheck-binutils
1795 installcheck-host: maybe-installcheck-bison
1796 installcheck-host: maybe-installcheck-cgen
1797 installcheck-host: maybe-installcheck-dejagnu
1798 installcheck-host: maybe-installcheck-etc
1799 installcheck-host: maybe-installcheck-fastjar
1800 installcheck-host: maybe-installcheck-fixincludes
1801 installcheck-host: maybe-installcheck-flex
1802 installcheck-host: maybe-installcheck-gas
1803 installcheck-host: maybe-installcheck-gcc
1804 installcheck-host: maybe-installcheck-gmp
1805 installcheck-host: maybe-installcheck-mpfr
1806 installcheck-host: maybe-installcheck-mpc
1807 installcheck-host: maybe-installcheck-isl
1808 installcheck-host: maybe-installcheck-cloog
1809 installcheck-host: maybe-installcheck-libelf
1810 installcheck-host: maybe-installcheck-gold
1811 installcheck-host: maybe-installcheck-gprof
1812 installcheck-host: maybe-installcheck-intl
1813 installcheck-host: maybe-installcheck-tcl
1814 installcheck-host: maybe-installcheck-itcl
1815 installcheck-host: maybe-installcheck-ld
1816 installcheck-host: maybe-installcheck-libbacktrace
1817 installcheck-host: maybe-installcheck-libcpp
1818 installcheck-host: maybe-installcheck-libdecnumber
1819 installcheck-host: maybe-installcheck-libgui
1820 installcheck-host: maybe-installcheck-libiberty
1821 installcheck-host: maybe-installcheck-libiconv
1822 installcheck-host: maybe-installcheck-m4
1823 installcheck-host: maybe-installcheck-readline
1824 installcheck-host: maybe-installcheck-sid
1825 installcheck-host: maybe-installcheck-sim
1826 installcheck-host: maybe-installcheck-texinfo
1827 installcheck-host: maybe-installcheck-zlib
1828 installcheck-host: maybe-installcheck-gdb
1829 installcheck-host: maybe-installcheck-expect
1830 installcheck-host: maybe-installcheck-guile
1831 installcheck-host: maybe-installcheck-tk
1832 installcheck-host: maybe-installcheck-libtermcap
1833 installcheck-host: maybe-installcheck-utils
1834 installcheck-host: maybe-installcheck-gnattools
1835 installcheck-host: maybe-installcheck-lto-plugin
1837 .PHONY: installcheck-target
1839 installcheck-target: maybe-installcheck-target-libstdc++-v3
1840 installcheck-target: maybe-installcheck-target-libmudflap
1841 installcheck-target: maybe-installcheck-target-libsanitizer
1842 installcheck-target: maybe-installcheck-target-libvtv
1843 installcheck-target: maybe-installcheck-target-libssp
1844 installcheck-target: maybe-installcheck-target-newlib
1845 installcheck-target: maybe-installcheck-target-libgcc
1846 installcheck-target: maybe-installcheck-target-libbacktrace
1847 installcheck-target: maybe-installcheck-target-libquadmath
1848 installcheck-target: maybe-installcheck-target-libgfortran
1849 installcheck-target: maybe-installcheck-target-libobjc
1850 installcheck-target: maybe-installcheck-target-libgo
1851 installcheck-target: maybe-installcheck-target-libtermcap
1852 installcheck-target: maybe-installcheck-target-winsup
1853 installcheck-target: maybe-installcheck-target-libgloss
1854 installcheck-target: maybe-installcheck-target-libffi
1855 installcheck-target: maybe-installcheck-target-libjava
1856 installcheck-target: maybe-installcheck-target-zlib
1857 installcheck-target: maybe-installcheck-target-boehm-gc
1858 installcheck-target: maybe-installcheck-target-rda
1859 installcheck-target: maybe-installcheck-target-libada
1860 installcheck-target: maybe-installcheck-target-libgomp
1861 installcheck-target: maybe-installcheck-target-libitm
1862 installcheck-target: maybe-installcheck-target-libatomic
1864 .PHONY: do-mostlyclean
1865 do-mostlyclean:
1866 @: $(MAKE); $(unstage)
1867 @r=`${PWD_COMMAND}`; export r; \
1868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1869 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1870 mostlyclean-target
1873 .PHONY: mostlyclean-host
1875 mostlyclean-host: maybe-mostlyclean-bfd
1876 mostlyclean-host: maybe-mostlyclean-opcodes
1877 mostlyclean-host: maybe-mostlyclean-binutils
1878 mostlyclean-host: maybe-mostlyclean-bison
1879 mostlyclean-host: maybe-mostlyclean-cgen
1880 mostlyclean-host: maybe-mostlyclean-dejagnu
1881 mostlyclean-host: maybe-mostlyclean-etc
1882 mostlyclean-host: maybe-mostlyclean-fastjar
1883 mostlyclean-host: maybe-mostlyclean-fixincludes
1884 mostlyclean-host: maybe-mostlyclean-flex
1885 mostlyclean-host: maybe-mostlyclean-gas
1886 mostlyclean-host: maybe-mostlyclean-gcc
1887 mostlyclean-host: maybe-mostlyclean-gmp
1888 mostlyclean-host: maybe-mostlyclean-mpfr
1889 mostlyclean-host: maybe-mostlyclean-mpc
1890 mostlyclean-host: maybe-mostlyclean-isl
1891 mostlyclean-host: maybe-mostlyclean-cloog
1892 mostlyclean-host: maybe-mostlyclean-libelf
1893 mostlyclean-host: maybe-mostlyclean-gold
1894 mostlyclean-host: maybe-mostlyclean-gprof
1895 mostlyclean-host: maybe-mostlyclean-intl
1896 mostlyclean-host: maybe-mostlyclean-tcl
1897 mostlyclean-host: maybe-mostlyclean-itcl
1898 mostlyclean-host: maybe-mostlyclean-ld
1899 mostlyclean-host: maybe-mostlyclean-libbacktrace
1900 mostlyclean-host: maybe-mostlyclean-libcpp
1901 mostlyclean-host: maybe-mostlyclean-libdecnumber
1902 mostlyclean-host: maybe-mostlyclean-libgui
1903 mostlyclean-host: maybe-mostlyclean-libiberty
1904 mostlyclean-host: maybe-mostlyclean-libiconv
1905 mostlyclean-host: maybe-mostlyclean-m4
1906 mostlyclean-host: maybe-mostlyclean-readline
1907 mostlyclean-host: maybe-mostlyclean-sid
1908 mostlyclean-host: maybe-mostlyclean-sim
1909 mostlyclean-host: maybe-mostlyclean-texinfo
1910 mostlyclean-host: maybe-mostlyclean-zlib
1911 mostlyclean-host: maybe-mostlyclean-gdb
1912 mostlyclean-host: maybe-mostlyclean-expect
1913 mostlyclean-host: maybe-mostlyclean-guile
1914 mostlyclean-host: maybe-mostlyclean-tk
1915 mostlyclean-host: maybe-mostlyclean-libtermcap
1916 mostlyclean-host: maybe-mostlyclean-utils
1917 mostlyclean-host: maybe-mostlyclean-gnattools
1918 mostlyclean-host: maybe-mostlyclean-lto-plugin
1920 .PHONY: mostlyclean-target
1922 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
1923 mostlyclean-target: maybe-mostlyclean-target-libmudflap
1924 mostlyclean-target: maybe-mostlyclean-target-libsanitizer
1925 mostlyclean-target: maybe-mostlyclean-target-libvtv
1926 mostlyclean-target: maybe-mostlyclean-target-libssp
1927 mostlyclean-target: maybe-mostlyclean-target-newlib
1928 mostlyclean-target: maybe-mostlyclean-target-libgcc
1929 mostlyclean-target: maybe-mostlyclean-target-libbacktrace
1930 mostlyclean-target: maybe-mostlyclean-target-libquadmath
1931 mostlyclean-target: maybe-mostlyclean-target-libgfortran
1932 mostlyclean-target: maybe-mostlyclean-target-libobjc
1933 mostlyclean-target: maybe-mostlyclean-target-libgo
1934 mostlyclean-target: maybe-mostlyclean-target-libtermcap
1935 mostlyclean-target: maybe-mostlyclean-target-winsup
1936 mostlyclean-target: maybe-mostlyclean-target-libgloss
1937 mostlyclean-target: maybe-mostlyclean-target-libffi
1938 mostlyclean-target: maybe-mostlyclean-target-libjava
1939 mostlyclean-target: maybe-mostlyclean-target-zlib
1940 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
1941 mostlyclean-target: maybe-mostlyclean-target-rda
1942 mostlyclean-target: maybe-mostlyclean-target-libada
1943 mostlyclean-target: maybe-mostlyclean-target-libgomp
1944 mostlyclean-target: maybe-mostlyclean-target-libitm
1945 mostlyclean-target: maybe-mostlyclean-target-libatomic
1947 .PHONY: do-clean
1948 do-clean:
1949 @: $(MAKE); $(unstage)
1950 @r=`${PWD_COMMAND}`; export r; \
1951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1952 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1953 clean-target
1956 .PHONY: clean-host
1958 clean-host: maybe-clean-bfd
1959 clean-host: maybe-clean-opcodes
1960 clean-host: maybe-clean-binutils
1961 clean-host: maybe-clean-bison
1962 clean-host: maybe-clean-cgen
1963 clean-host: maybe-clean-dejagnu
1964 clean-host: maybe-clean-etc
1965 clean-host: maybe-clean-fastjar
1966 clean-host: maybe-clean-fixincludes
1967 clean-host: maybe-clean-flex
1968 clean-host: maybe-clean-gas
1969 clean-host: maybe-clean-gcc
1970 clean-host: maybe-clean-gmp
1971 clean-host: maybe-clean-mpfr
1972 clean-host: maybe-clean-mpc
1973 clean-host: maybe-clean-isl
1974 clean-host: maybe-clean-cloog
1975 clean-host: maybe-clean-libelf
1976 clean-host: maybe-clean-gold
1977 clean-host: maybe-clean-gprof
1978 clean-host: maybe-clean-intl
1979 clean-host: maybe-clean-tcl
1980 clean-host: maybe-clean-itcl
1981 clean-host: maybe-clean-ld
1982 clean-host: maybe-clean-libbacktrace
1983 clean-host: maybe-clean-libcpp
1984 clean-host: maybe-clean-libdecnumber
1985 clean-host: maybe-clean-libgui
1986 clean-host: maybe-clean-libiberty
1987 clean-host: maybe-clean-libiconv
1988 clean-host: maybe-clean-m4
1989 clean-host: maybe-clean-readline
1990 clean-host: maybe-clean-sid
1991 clean-host: maybe-clean-sim
1992 clean-host: maybe-clean-texinfo
1993 clean-host: maybe-clean-zlib
1994 clean-host: maybe-clean-gdb
1995 clean-host: maybe-clean-expect
1996 clean-host: maybe-clean-guile
1997 clean-host: maybe-clean-tk
1998 clean-host: maybe-clean-libtermcap
1999 clean-host: maybe-clean-utils
2000 clean-host: maybe-clean-gnattools
2001 clean-host: maybe-clean-lto-plugin
2003 .PHONY: clean-target
2005 clean-target: maybe-clean-target-libstdc++-v3
2006 clean-target: maybe-clean-target-libmudflap
2007 clean-target: maybe-clean-target-libsanitizer
2008 clean-target: maybe-clean-target-libvtv
2009 clean-target: maybe-clean-target-libssp
2010 clean-target: maybe-clean-target-newlib
2011 clean-target: maybe-clean-target-libgcc
2012 clean-target: maybe-clean-target-libbacktrace
2013 clean-target: maybe-clean-target-libquadmath
2014 clean-target: maybe-clean-target-libgfortran
2015 clean-target: maybe-clean-target-libobjc
2016 clean-target: maybe-clean-target-libgo
2017 clean-target: maybe-clean-target-libtermcap
2018 clean-target: maybe-clean-target-winsup
2019 clean-target: maybe-clean-target-libgloss
2020 clean-target: maybe-clean-target-libffi
2021 clean-target: maybe-clean-target-libjava
2022 clean-target: maybe-clean-target-zlib
2023 clean-target: maybe-clean-target-boehm-gc
2024 clean-target: maybe-clean-target-rda
2025 clean-target: maybe-clean-target-libada
2026 clean-target: maybe-clean-target-libgomp
2027 clean-target: maybe-clean-target-libitm
2028 clean-target: maybe-clean-target-libatomic
2030 .PHONY: do-distclean
2031 do-distclean:
2032 @: $(MAKE); $(unstage)
2033 @r=`${PWD_COMMAND}`; export r; \
2034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2035 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
2036 distclean-target
2039 .PHONY: distclean-host
2041 distclean-host: maybe-distclean-bfd
2042 distclean-host: maybe-distclean-opcodes
2043 distclean-host: maybe-distclean-binutils
2044 distclean-host: maybe-distclean-bison
2045 distclean-host: maybe-distclean-cgen
2046 distclean-host: maybe-distclean-dejagnu
2047 distclean-host: maybe-distclean-etc
2048 distclean-host: maybe-distclean-fastjar
2049 distclean-host: maybe-distclean-fixincludes
2050 distclean-host: maybe-distclean-flex
2051 distclean-host: maybe-distclean-gas
2052 distclean-host: maybe-distclean-gcc
2053 distclean-host: maybe-distclean-gmp
2054 distclean-host: maybe-distclean-mpfr
2055 distclean-host: maybe-distclean-mpc
2056 distclean-host: maybe-distclean-isl
2057 distclean-host: maybe-distclean-cloog
2058 distclean-host: maybe-distclean-libelf
2059 distclean-host: maybe-distclean-gold
2060 distclean-host: maybe-distclean-gprof
2061 distclean-host: maybe-distclean-intl
2062 distclean-host: maybe-distclean-tcl
2063 distclean-host: maybe-distclean-itcl
2064 distclean-host: maybe-distclean-ld
2065 distclean-host: maybe-distclean-libbacktrace
2066 distclean-host: maybe-distclean-libcpp
2067 distclean-host: maybe-distclean-libdecnumber
2068 distclean-host: maybe-distclean-libgui
2069 distclean-host: maybe-distclean-libiberty
2070 distclean-host: maybe-distclean-libiconv
2071 distclean-host: maybe-distclean-m4
2072 distclean-host: maybe-distclean-readline
2073 distclean-host: maybe-distclean-sid
2074 distclean-host: maybe-distclean-sim
2075 distclean-host: maybe-distclean-texinfo
2076 distclean-host: maybe-distclean-zlib
2077 distclean-host: maybe-distclean-gdb
2078 distclean-host: maybe-distclean-expect
2079 distclean-host: maybe-distclean-guile
2080 distclean-host: maybe-distclean-tk
2081 distclean-host: maybe-distclean-libtermcap
2082 distclean-host: maybe-distclean-utils
2083 distclean-host: maybe-distclean-gnattools
2084 distclean-host: maybe-distclean-lto-plugin
2086 .PHONY: distclean-target
2088 distclean-target: maybe-distclean-target-libstdc++-v3
2089 distclean-target: maybe-distclean-target-libmudflap
2090 distclean-target: maybe-distclean-target-libsanitizer
2091 distclean-target: maybe-distclean-target-libvtv
2092 distclean-target: maybe-distclean-target-libssp
2093 distclean-target: maybe-distclean-target-newlib
2094 distclean-target: maybe-distclean-target-libgcc
2095 distclean-target: maybe-distclean-target-libbacktrace
2096 distclean-target: maybe-distclean-target-libquadmath
2097 distclean-target: maybe-distclean-target-libgfortran
2098 distclean-target: maybe-distclean-target-libobjc
2099 distclean-target: maybe-distclean-target-libgo
2100 distclean-target: maybe-distclean-target-libtermcap
2101 distclean-target: maybe-distclean-target-winsup
2102 distclean-target: maybe-distclean-target-libgloss
2103 distclean-target: maybe-distclean-target-libffi
2104 distclean-target: maybe-distclean-target-libjava
2105 distclean-target: maybe-distclean-target-zlib
2106 distclean-target: maybe-distclean-target-boehm-gc
2107 distclean-target: maybe-distclean-target-rda
2108 distclean-target: maybe-distclean-target-libada
2109 distclean-target: maybe-distclean-target-libgomp
2110 distclean-target: maybe-distclean-target-libitm
2111 distclean-target: maybe-distclean-target-libatomic
2113 .PHONY: do-maintainer-clean
2114 do-maintainer-clean:
2115 @: $(MAKE); $(unstage)
2116 @r=`${PWD_COMMAND}`; export r; \
2117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2118 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2119 maintainer-clean-target
2122 .PHONY: maintainer-clean-host
2124 maintainer-clean-host: maybe-maintainer-clean-bfd
2125 maintainer-clean-host: maybe-maintainer-clean-opcodes
2126 maintainer-clean-host: maybe-maintainer-clean-binutils
2127 maintainer-clean-host: maybe-maintainer-clean-bison
2128 maintainer-clean-host: maybe-maintainer-clean-cgen
2129 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2130 maintainer-clean-host: maybe-maintainer-clean-etc
2131 maintainer-clean-host: maybe-maintainer-clean-fastjar
2132 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2133 maintainer-clean-host: maybe-maintainer-clean-flex
2134 maintainer-clean-host: maybe-maintainer-clean-gas
2135 maintainer-clean-host: maybe-maintainer-clean-gcc
2136 maintainer-clean-host: maybe-maintainer-clean-gmp
2137 maintainer-clean-host: maybe-maintainer-clean-mpfr
2138 maintainer-clean-host: maybe-maintainer-clean-mpc
2139 maintainer-clean-host: maybe-maintainer-clean-isl
2140 maintainer-clean-host: maybe-maintainer-clean-cloog
2141 maintainer-clean-host: maybe-maintainer-clean-libelf
2142 maintainer-clean-host: maybe-maintainer-clean-gold
2143 maintainer-clean-host: maybe-maintainer-clean-gprof
2144 maintainer-clean-host: maybe-maintainer-clean-intl
2145 maintainer-clean-host: maybe-maintainer-clean-tcl
2146 maintainer-clean-host: maybe-maintainer-clean-itcl
2147 maintainer-clean-host: maybe-maintainer-clean-ld
2148 maintainer-clean-host: maybe-maintainer-clean-libbacktrace
2149 maintainer-clean-host: maybe-maintainer-clean-libcpp
2150 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2151 maintainer-clean-host: maybe-maintainer-clean-libgui
2152 maintainer-clean-host: maybe-maintainer-clean-libiberty
2153 maintainer-clean-host: maybe-maintainer-clean-libiconv
2154 maintainer-clean-host: maybe-maintainer-clean-m4
2155 maintainer-clean-host: maybe-maintainer-clean-readline
2156 maintainer-clean-host: maybe-maintainer-clean-sid
2157 maintainer-clean-host: maybe-maintainer-clean-sim
2158 maintainer-clean-host: maybe-maintainer-clean-texinfo
2159 maintainer-clean-host: maybe-maintainer-clean-zlib
2160 maintainer-clean-host: maybe-maintainer-clean-gdb
2161 maintainer-clean-host: maybe-maintainer-clean-expect
2162 maintainer-clean-host: maybe-maintainer-clean-guile
2163 maintainer-clean-host: maybe-maintainer-clean-tk
2164 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2165 maintainer-clean-host: maybe-maintainer-clean-utils
2166 maintainer-clean-host: maybe-maintainer-clean-gnattools
2167 maintainer-clean-host: maybe-maintainer-clean-lto-plugin
2169 .PHONY: maintainer-clean-target
2171 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2172 maintainer-clean-target: maybe-maintainer-clean-target-libmudflap
2173 maintainer-clean-target: maybe-maintainer-clean-target-libsanitizer
2174 maintainer-clean-target: maybe-maintainer-clean-target-libvtv
2175 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2176 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2177 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2178 maintainer-clean-target: maybe-maintainer-clean-target-libbacktrace
2179 maintainer-clean-target: maybe-maintainer-clean-target-libquadmath
2180 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2181 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2182 maintainer-clean-target: maybe-maintainer-clean-target-libgo
2183 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2184 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2185 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2186 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2187 maintainer-clean-target: maybe-maintainer-clean-target-libjava
2188 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2189 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
2190 maintainer-clean-target: maybe-maintainer-clean-target-rda
2191 maintainer-clean-target: maybe-maintainer-clean-target-libada
2192 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2193 maintainer-clean-target: maybe-maintainer-clean-target-libitm
2194 maintainer-clean-target: maybe-maintainer-clean-target-libatomic
2197 # Here are the targets which correspond to the do-X targets.
2199 .PHONY: info installcheck dvi pdf html
2200 .PHONY: install-info install-pdf install-html
2201 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2202 .PHONY: local-clean local-distclean local-maintainer-clean
2203 info: do-info
2204 installcheck: do-installcheck
2205 dvi: do-dvi
2206 pdf: do-pdf
2207 html: do-html
2209 # Make sure makeinfo is built before we do a `make info', if we're
2210 # in fact building texinfo.
2211 do-info: maybe-all-texinfo
2213 install-info: do-install-info dir.info
2214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2215 if [ -f dir.info ] ; then \
2216 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
2217 else true ; fi
2219 install-pdf: do-install-pdf
2221 install-html: do-install-html
2223 local-clean:
2224 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2226 local-distclean:
2227 -rm -f Makefile config.status config.cache mh-frag mt-frag
2228 -rm -f maybedep.tmp serdep.tmp
2229 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2230 rm -rf $(TARGET_SUBDIR); \
2231 else true; fi
2232 -rm -rf $(BUILD_SUBDIR)
2233 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2234 rm -rf $(HOST_SUBDIR); \
2235 else true; fi
2236 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2237 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2238 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2239 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2240 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
2241 -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
2243 local-maintainer-clean:
2244 @echo "This command is intended for maintainers to use;"
2245 @echo "it deletes files that may require special tools to rebuild."
2247 clean: do-clean local-clean
2248 mostlyclean: do-mostlyclean local-clean
2249 distclean: do-distclean local-clean local-distclean
2250 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2251 maintainer-clean: local-distclean
2252 realclean: maintainer-clean
2254 # Check target.
2256 .PHONY: check do-check
2257 check: do-check
2259 # Only include modules actually being configured and built.
2260 .PHONY: check-host
2261 check-host: \
2262 maybe-check-bfd \
2263 maybe-check-opcodes \
2264 maybe-check-binutils \
2265 maybe-check-bison \
2266 maybe-check-cgen \
2267 maybe-check-dejagnu \
2268 maybe-check-etc \
2269 maybe-check-fastjar \
2270 maybe-check-fixincludes \
2271 maybe-check-flex \
2272 maybe-check-gas \
2273 maybe-check-gcc \
2274 maybe-check-gmp \
2275 maybe-check-mpfr \
2276 maybe-check-mpc \
2277 maybe-check-isl \
2278 maybe-check-cloog \
2279 maybe-check-libelf \
2280 maybe-check-gold \
2281 maybe-check-gprof \
2282 maybe-check-intl \
2283 maybe-check-tcl \
2284 maybe-check-itcl \
2285 maybe-check-ld \
2286 maybe-check-libbacktrace \
2287 maybe-check-libcpp \
2288 maybe-check-libdecnumber \
2289 maybe-check-libgui \
2290 maybe-check-libiberty \
2291 maybe-check-libiconv \
2292 maybe-check-m4 \
2293 maybe-check-readline \
2294 maybe-check-sid \
2295 maybe-check-sim \
2296 maybe-check-texinfo \
2297 maybe-check-zlib \
2298 maybe-check-gdb \
2299 maybe-check-expect \
2300 maybe-check-guile \
2301 maybe-check-tk \
2302 maybe-check-libtermcap \
2303 maybe-check-utils \
2304 maybe-check-gnattools \
2305 maybe-check-lto-plugin
2307 .PHONY: check-target
2308 check-target: \
2309 maybe-check-target-libstdc++-v3 \
2310 maybe-check-target-libmudflap \
2311 maybe-check-target-libsanitizer \
2312 maybe-check-target-libvtv \
2313 maybe-check-target-libssp \
2314 maybe-check-target-newlib \
2315 maybe-check-target-libgcc \
2316 maybe-check-target-libbacktrace \
2317 maybe-check-target-libquadmath \
2318 maybe-check-target-libgfortran \
2319 maybe-check-target-libobjc \
2320 maybe-check-target-libgo \
2321 maybe-check-target-libtermcap \
2322 maybe-check-target-winsup \
2323 maybe-check-target-libgloss \
2324 maybe-check-target-libffi \
2325 maybe-check-target-libjava \
2326 maybe-check-target-zlib \
2327 maybe-check-target-boehm-gc \
2328 maybe-check-target-rda \
2329 maybe-check-target-libada \
2330 maybe-check-target-libgomp \
2331 maybe-check-target-libitm \
2332 maybe-check-target-libatomic
2334 do-check:
2335 @: $(MAKE); $(unstage)
2336 @r=`${PWD_COMMAND}`; export r; \
2337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2338 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2340 # Automated reporting of test results.
2342 warning.log: build.log
2343 $(srcdir)/contrib/warn_summary build.log > $@
2345 mail-report.log:
2346 if test x'$(BOOT_CFLAGS)' != x''; then \
2347 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2348 fi; \
2349 $(srcdir)/contrib/test_summary -t >$@
2350 chmod +x $@
2351 echo If you really want to send e-mail, run ./$@ now
2353 mail-report-with-warnings.log: warning.log
2354 if test x'$(BOOT_CFLAGS)' != x''; then \
2355 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2356 fi; \
2357 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2358 chmod +x $@
2359 echo If you really want to send e-mail, run ./$@ now
2361 # Installation targets.
2363 .PHONY: install uninstall
2364 install:
2365 @: $(MAKE); $(unstage)
2366 @r=`${PWD_COMMAND}`; export r; \
2367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2368 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2370 .PHONY: install-host-nogcc
2371 install-host-nogcc: \
2372 maybe-install-bfd \
2373 maybe-install-opcodes \
2374 maybe-install-binutils \
2375 maybe-install-bison \
2376 maybe-install-cgen \
2377 maybe-install-dejagnu \
2378 maybe-install-etc \
2379 maybe-install-fastjar \
2380 maybe-install-fixincludes \
2381 maybe-install-flex \
2382 maybe-install-gas \
2383 maybe-install-gmp \
2384 maybe-install-mpfr \
2385 maybe-install-mpc \
2386 maybe-install-isl \
2387 maybe-install-cloog \
2388 maybe-install-libelf \
2389 maybe-install-gold \
2390 maybe-install-gprof \
2391 maybe-install-intl \
2392 maybe-install-tcl \
2393 maybe-install-itcl \
2394 maybe-install-ld \
2395 maybe-install-libbacktrace \
2396 maybe-install-libcpp \
2397 maybe-install-libdecnumber \
2398 maybe-install-libgui \
2399 maybe-install-libiberty \
2400 maybe-install-libiconv \
2401 maybe-install-m4 \
2402 maybe-install-readline \
2403 maybe-install-sid \
2404 maybe-install-sim \
2405 maybe-install-texinfo \
2406 maybe-install-zlib \
2407 maybe-install-gdb \
2408 maybe-install-expect \
2409 maybe-install-guile \
2410 maybe-install-tk \
2411 maybe-install-libtermcap \
2412 maybe-install-utils \
2413 maybe-install-gnattools \
2414 maybe-install-lto-plugin
2416 .PHONY: install-host
2417 install-host: \
2418 maybe-install-bfd \
2419 maybe-install-opcodes \
2420 maybe-install-binutils \
2421 maybe-install-bison \
2422 maybe-install-cgen \
2423 maybe-install-dejagnu \
2424 maybe-install-etc \
2425 maybe-install-fastjar \
2426 maybe-install-fixincludes \
2427 maybe-install-flex \
2428 maybe-install-gas \
2429 maybe-install-gcc \
2430 maybe-install-gmp \
2431 maybe-install-mpfr \
2432 maybe-install-mpc \
2433 maybe-install-isl \
2434 maybe-install-cloog \
2435 maybe-install-libelf \
2436 maybe-install-gold \
2437 maybe-install-gprof \
2438 maybe-install-intl \
2439 maybe-install-tcl \
2440 maybe-install-itcl \
2441 maybe-install-ld \
2442 maybe-install-libbacktrace \
2443 maybe-install-libcpp \
2444 maybe-install-libdecnumber \
2445 maybe-install-libgui \
2446 maybe-install-libiberty \
2447 maybe-install-libiconv \
2448 maybe-install-m4 \
2449 maybe-install-readline \
2450 maybe-install-sid \
2451 maybe-install-sim \
2452 maybe-install-texinfo \
2453 maybe-install-zlib \
2454 maybe-install-gdb \
2455 maybe-install-expect \
2456 maybe-install-guile \
2457 maybe-install-tk \
2458 maybe-install-libtermcap \
2459 maybe-install-utils \
2460 maybe-install-gnattools \
2461 maybe-install-lto-plugin
2463 .PHONY: install-target
2464 install-target: \
2465 maybe-install-target-libstdc++-v3 \
2466 maybe-install-target-libmudflap \
2467 maybe-install-target-libsanitizer \
2468 maybe-install-target-libvtv \
2469 maybe-install-target-libssp \
2470 maybe-install-target-newlib \
2471 maybe-install-target-libgcc \
2472 maybe-install-target-libbacktrace \
2473 maybe-install-target-libquadmath \
2474 maybe-install-target-libgfortran \
2475 maybe-install-target-libobjc \
2476 maybe-install-target-libgo \
2477 maybe-install-target-libtermcap \
2478 maybe-install-target-winsup \
2479 maybe-install-target-libgloss \
2480 maybe-install-target-libffi \
2481 maybe-install-target-libjava \
2482 maybe-install-target-zlib \
2483 maybe-install-target-boehm-gc \
2484 maybe-install-target-rda \
2485 maybe-install-target-libada \
2486 maybe-install-target-libgomp \
2487 maybe-install-target-libitm \
2488 maybe-install-target-libatomic
2490 uninstall:
2491 @echo "the uninstall target is not supported in this tree"
2493 .PHONY: install.all
2494 install.all: install-no-fixedincludes
2495 @if [ -f ./gcc/Makefile ] ; then \
2496 r=`${PWD_COMMAND}` ; export r ; \
2497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2498 $(HOST_EXPORTS) \
2499 (cd ./gcc && \
2500 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2501 else \
2502 true ; \
2505 # install-no-fixedincludes is used to allow the elaboration of binary packages
2506 # suitable for distribution, where we cannot include the fixed system header
2507 # files.
2508 .PHONY: install-no-fixedincludes
2509 install-no-fixedincludes: installdirs install-host-nogcc \
2510 install-target gcc-install-no-fixedincludes
2512 .PHONY: install-strip
2513 install-strip:
2514 @: $(MAKE); $(unstage)
2515 @r=`${PWD_COMMAND}`; export r; \
2516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2517 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target
2519 .PHONY: install-strip-host
2520 install-strip-host: \
2521 maybe-install-strip-bfd \
2522 maybe-install-strip-opcodes \
2523 maybe-install-strip-binutils \
2524 maybe-install-strip-bison \
2525 maybe-install-strip-cgen \
2526 maybe-install-strip-dejagnu \
2527 maybe-install-strip-etc \
2528 maybe-install-strip-fastjar \
2529 maybe-install-strip-fixincludes \
2530 maybe-install-strip-flex \
2531 maybe-install-strip-gas \
2532 maybe-install-strip-gcc \
2533 maybe-install-strip-gmp \
2534 maybe-install-strip-mpfr \
2535 maybe-install-strip-mpc \
2536 maybe-install-strip-isl \
2537 maybe-install-strip-cloog \
2538 maybe-install-strip-libelf \
2539 maybe-install-strip-gold \
2540 maybe-install-strip-gprof \
2541 maybe-install-strip-intl \
2542 maybe-install-strip-tcl \
2543 maybe-install-strip-itcl \
2544 maybe-install-strip-ld \
2545 maybe-install-strip-libbacktrace \
2546 maybe-install-strip-libcpp \
2547 maybe-install-strip-libdecnumber \
2548 maybe-install-strip-libgui \
2549 maybe-install-strip-libiberty \
2550 maybe-install-strip-libiconv \
2551 maybe-install-strip-m4 \
2552 maybe-install-strip-readline \
2553 maybe-install-strip-sid \
2554 maybe-install-strip-sim \
2555 maybe-install-strip-texinfo \
2556 maybe-install-strip-zlib \
2557 maybe-install-strip-gdb \
2558 maybe-install-strip-expect \
2559 maybe-install-strip-guile \
2560 maybe-install-strip-tk \
2561 maybe-install-strip-libtermcap \
2562 maybe-install-strip-utils \
2563 maybe-install-strip-gnattools \
2564 maybe-install-strip-lto-plugin
2566 .PHONY: install-strip-target
2567 install-strip-target: \
2568 maybe-install-strip-target-libstdc++-v3 \
2569 maybe-install-strip-target-libmudflap \
2570 maybe-install-strip-target-libsanitizer \
2571 maybe-install-strip-target-libvtv \
2572 maybe-install-strip-target-libssp \
2573 maybe-install-strip-target-newlib \
2574 maybe-install-strip-target-libgcc \
2575 maybe-install-strip-target-libbacktrace \
2576 maybe-install-strip-target-libquadmath \
2577 maybe-install-strip-target-libgfortran \
2578 maybe-install-strip-target-libobjc \
2579 maybe-install-strip-target-libgo \
2580 maybe-install-strip-target-libtermcap \
2581 maybe-install-strip-target-winsup \
2582 maybe-install-strip-target-libgloss \
2583 maybe-install-strip-target-libffi \
2584 maybe-install-strip-target-libjava \
2585 maybe-install-strip-target-zlib \
2586 maybe-install-strip-target-boehm-gc \
2587 maybe-install-strip-target-rda \
2588 maybe-install-strip-target-libada \
2589 maybe-install-strip-target-libgomp \
2590 maybe-install-strip-target-libitm \
2591 maybe-install-strip-target-libatomic
2594 ### other supporting targets
2596 MAKEDIRS= \
2597 $(DESTDIR)$(prefix) \
2598 $(DESTDIR)$(exec_prefix)
2599 .PHONY: installdirs
2600 installdirs: mkinstalldirs
2601 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2603 dir.info: do-install-info
2604 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2605 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2606 mv -f dir.info.new dir.info ; \
2607 else true ; \
2610 dist:
2611 @echo "Building a full distribution of this tree isn't done"
2612 @echo "via 'make dist'. Check out the etc/ subdirectory"
2614 etags tags: TAGS
2616 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2617 # ability to use several tags files at once, so there is probably no need
2618 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2619 # (if we felt like it) have this Makefile write a piece of elisp which
2620 # the user could load to tell emacs19 where all the TAGS files we just
2621 # built are.
2622 TAGS: do-TAGS
2624 # ------------------------------------
2625 # Macros for configure and all targets
2626 # ------------------------------------
2632 # --------------------------------------
2633 # Modules which run on the build machine
2634 # --------------------------------------
2637 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2638 maybe-configure-build-libiberty:
2639 @if gcc-bootstrap
2640 configure-build-libiberty: stage_current
2641 @endif gcc-bootstrap
2642 @if build-libiberty
2643 maybe-configure-build-libiberty: configure-build-libiberty
2644 configure-build-libiberty:
2645 @: $(MAKE); $(unstage)
2646 @r=`${PWD_COMMAND}`; export r; \
2647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2648 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2649 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2650 $(BUILD_EXPORTS) \
2651 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2652 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2653 case $(srcdir) in \
2654 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2655 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2656 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2657 esac; \
2658 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2659 libsrcdir="$$s/libiberty"; \
2660 rm -f no-such-file || : ; \
2661 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2662 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2663 --target=${target_alias} $${srcdiroption} \
2664 || exit 1
2665 @endif build-libiberty
2671 .PHONY: all-build-libiberty maybe-all-build-libiberty
2672 maybe-all-build-libiberty:
2673 @if gcc-bootstrap
2674 all-build-libiberty: stage_current
2675 @endif gcc-bootstrap
2676 @if build-libiberty
2677 TARGET-build-libiberty=all
2678 maybe-all-build-libiberty: all-build-libiberty
2679 all-build-libiberty: configure-build-libiberty
2680 @: $(MAKE); $(unstage)
2681 @r=`${PWD_COMMAND}`; export r; \
2682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2683 $(BUILD_EXPORTS) \
2684 (cd $(BUILD_SUBDIR)/libiberty && \
2685 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2686 $(TARGET-build-libiberty))
2687 @endif build-libiberty
2693 .PHONY: configure-build-bison maybe-configure-build-bison
2694 maybe-configure-build-bison:
2695 @if gcc-bootstrap
2696 configure-build-bison: stage_current
2697 @endif gcc-bootstrap
2698 @if build-bison
2699 maybe-configure-build-bison: configure-build-bison
2700 configure-build-bison:
2701 @: $(MAKE); $(unstage)
2702 @r=`${PWD_COMMAND}`; export r; \
2703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2704 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2705 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2706 $(BUILD_EXPORTS) \
2707 echo Configuring in $(BUILD_SUBDIR)/bison; \
2708 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2709 case $(srcdir) in \
2710 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2711 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2712 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2713 esac; \
2714 srcdiroption="--srcdir=$${topdir}/bison"; \
2715 libsrcdir="$$s/bison"; \
2716 rm -f no-such-file || : ; \
2717 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2718 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2719 --target=${target_alias} $${srcdiroption} \
2720 || exit 1
2721 @endif build-bison
2727 .PHONY: all-build-bison maybe-all-build-bison
2728 maybe-all-build-bison:
2729 @if gcc-bootstrap
2730 all-build-bison: stage_current
2731 @endif gcc-bootstrap
2732 @if build-bison
2733 TARGET-build-bison=all
2734 maybe-all-build-bison: all-build-bison
2735 all-build-bison: configure-build-bison
2736 @: $(MAKE); $(unstage)
2737 @r=`${PWD_COMMAND}`; export r; \
2738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2739 $(BUILD_EXPORTS) \
2740 (cd $(BUILD_SUBDIR)/bison && \
2741 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2742 $(TARGET-build-bison))
2743 @endif build-bison
2749 .PHONY: configure-build-flex maybe-configure-build-flex
2750 maybe-configure-build-flex:
2751 @if gcc-bootstrap
2752 configure-build-flex: stage_current
2753 @endif gcc-bootstrap
2754 @if build-flex
2755 maybe-configure-build-flex: configure-build-flex
2756 configure-build-flex:
2757 @: $(MAKE); $(unstage)
2758 @r=`${PWD_COMMAND}`; export r; \
2759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2760 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2761 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2762 $(BUILD_EXPORTS) \
2763 echo Configuring in $(BUILD_SUBDIR)/flex; \
2764 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2765 case $(srcdir) in \
2766 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2767 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2768 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2769 esac; \
2770 srcdiroption="--srcdir=$${topdir}/flex"; \
2771 libsrcdir="$$s/flex"; \
2772 rm -f no-such-file || : ; \
2773 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2774 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2775 --target=${target_alias} $${srcdiroption} \
2776 || exit 1
2777 @endif build-flex
2783 .PHONY: all-build-flex maybe-all-build-flex
2784 maybe-all-build-flex:
2785 @if gcc-bootstrap
2786 all-build-flex: stage_current
2787 @endif gcc-bootstrap
2788 @if build-flex
2789 TARGET-build-flex=all
2790 maybe-all-build-flex: all-build-flex
2791 all-build-flex: configure-build-flex
2792 @: $(MAKE); $(unstage)
2793 @r=`${PWD_COMMAND}`; export r; \
2794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2795 $(BUILD_EXPORTS) \
2796 (cd $(BUILD_SUBDIR)/flex && \
2797 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2798 $(TARGET-build-flex))
2799 @endif build-flex
2805 .PHONY: configure-build-m4 maybe-configure-build-m4
2806 maybe-configure-build-m4:
2807 @if gcc-bootstrap
2808 configure-build-m4: stage_current
2809 @endif gcc-bootstrap
2810 @if build-m4
2811 maybe-configure-build-m4: configure-build-m4
2812 configure-build-m4:
2813 @: $(MAKE); $(unstage)
2814 @r=`${PWD_COMMAND}`; export r; \
2815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2816 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2817 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2818 $(BUILD_EXPORTS) \
2819 echo Configuring in $(BUILD_SUBDIR)/m4; \
2820 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2821 case $(srcdir) in \
2822 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2823 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2824 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2825 esac; \
2826 srcdiroption="--srcdir=$${topdir}/m4"; \
2827 libsrcdir="$$s/m4"; \
2828 rm -f no-such-file || : ; \
2829 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2830 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2831 --target=${target_alias} $${srcdiroption} \
2832 || exit 1
2833 @endif build-m4
2839 .PHONY: all-build-m4 maybe-all-build-m4
2840 maybe-all-build-m4:
2841 @if gcc-bootstrap
2842 all-build-m4: stage_current
2843 @endif gcc-bootstrap
2844 @if build-m4
2845 TARGET-build-m4=all
2846 maybe-all-build-m4: all-build-m4
2847 all-build-m4: configure-build-m4
2848 @: $(MAKE); $(unstage)
2849 @r=`${PWD_COMMAND}`; export r; \
2850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2851 $(BUILD_EXPORTS) \
2852 (cd $(BUILD_SUBDIR)/m4 && \
2853 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2854 $(TARGET-build-m4))
2855 @endif build-m4
2861 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2862 maybe-configure-build-texinfo:
2863 @if gcc-bootstrap
2864 configure-build-texinfo: stage_current
2865 @endif gcc-bootstrap
2866 @if build-texinfo
2867 maybe-configure-build-texinfo: configure-build-texinfo
2868 configure-build-texinfo:
2869 @: $(MAKE); $(unstage)
2870 @r=`${PWD_COMMAND}`; export r; \
2871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2872 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2873 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2874 $(BUILD_EXPORTS) \
2875 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2876 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2877 case $(srcdir) in \
2878 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2879 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2880 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2881 esac; \
2882 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2883 libsrcdir="$$s/texinfo"; \
2884 rm -f no-such-file || : ; \
2885 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2886 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2887 --target=${target_alias} $${srcdiroption} \
2888 || exit 1
2889 @endif build-texinfo
2895 .PHONY: all-build-texinfo maybe-all-build-texinfo
2896 maybe-all-build-texinfo:
2897 @if gcc-bootstrap
2898 all-build-texinfo: stage_current
2899 @endif gcc-bootstrap
2900 @if build-texinfo
2901 TARGET-build-texinfo=all
2902 maybe-all-build-texinfo: all-build-texinfo
2903 all-build-texinfo: configure-build-texinfo
2904 @: $(MAKE); $(unstage)
2905 @r=`${PWD_COMMAND}`; export r; \
2906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2907 $(BUILD_EXPORTS) \
2908 (cd $(BUILD_SUBDIR)/texinfo && \
2909 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2910 $(TARGET-build-texinfo))
2911 @endif build-texinfo
2917 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2918 maybe-configure-build-fixincludes:
2919 @if gcc-bootstrap
2920 configure-build-fixincludes: stage_current
2921 @endif gcc-bootstrap
2922 @if build-fixincludes
2923 maybe-configure-build-fixincludes: configure-build-fixincludes
2924 configure-build-fixincludes:
2925 @: $(MAKE); $(unstage)
2926 @r=`${PWD_COMMAND}`; export r; \
2927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2928 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2929 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2930 $(BUILD_EXPORTS) \
2931 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2932 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2933 case $(srcdir) in \
2934 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2935 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2936 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2937 esac; \
2938 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2939 libsrcdir="$$s/fixincludes"; \
2940 rm -f no-such-file || : ; \
2941 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2942 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2943 --target=${target_alias} $${srcdiroption} \
2944 || exit 1
2945 @endif build-fixincludes
2951 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2952 maybe-all-build-fixincludes:
2953 @if gcc-bootstrap
2954 all-build-fixincludes: stage_current
2955 @endif gcc-bootstrap
2956 @if build-fixincludes
2957 TARGET-build-fixincludes=all
2958 maybe-all-build-fixincludes: all-build-fixincludes
2959 all-build-fixincludes: configure-build-fixincludes
2960 @: $(MAKE); $(unstage)
2961 @r=`${PWD_COMMAND}`; export r; \
2962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2963 $(BUILD_EXPORTS) \
2964 (cd $(BUILD_SUBDIR)/fixincludes && \
2965 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2966 $(TARGET-build-fixincludes))
2967 @endif build-fixincludes
2973 # --------------------------------------
2974 # Modules which run on the host machine
2975 # --------------------------------------
2978 .PHONY: configure-bfd maybe-configure-bfd
2979 maybe-configure-bfd:
2980 @if gcc-bootstrap
2981 configure-bfd: stage_current
2982 @endif gcc-bootstrap
2983 @if bfd
2984 maybe-configure-bfd: configure-bfd
2985 configure-bfd:
2986 @r=`${PWD_COMMAND}`; export r; \
2987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2988 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
2989 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
2990 $(HOST_EXPORTS) \
2991 echo Configuring in $(HOST_SUBDIR)/bfd; \
2992 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
2993 case $(srcdir) in \
2994 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2995 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
2996 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2997 esac; \
2998 srcdiroption="--srcdir=$${topdir}/bfd"; \
2999 libsrcdir="$$s/bfd"; \
3000 $(SHELL) $${libsrcdir}/configure \
3001 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3002 --target=${target_alias} $${srcdiroption} \
3003 || exit 1
3004 @endif bfd
3008 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
3009 maybe-configure-stage1-bfd:
3010 @if bfd-bootstrap
3011 maybe-configure-stage1-bfd: configure-stage1-bfd
3012 configure-stage1-bfd:
3013 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3014 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3015 @r=`${PWD_COMMAND}`; export r; \
3016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3017 TFLAGS="$(STAGE1_TFLAGS)"; \
3018 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3019 $(HOST_EXPORTS) \
3020 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3021 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3022 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
3023 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
3024 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3025 cd $(HOST_SUBDIR)/bfd || exit 1; \
3026 case $(srcdir) in \
3027 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3028 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3029 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3030 esac; \
3031 srcdiroption="--srcdir=$${topdir}/bfd"; \
3032 libsrcdir="$$s/bfd"; \
3033 $(SHELL) $${libsrcdir}/configure \
3034 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3035 --target=${target_alias} $${srcdiroption} \
3036 $(STAGE1_CONFIGURE_FLAGS)
3037 @endif bfd-bootstrap
3039 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
3040 maybe-configure-stage2-bfd:
3041 @if bfd-bootstrap
3042 maybe-configure-stage2-bfd: configure-stage2-bfd
3043 configure-stage2-bfd:
3044 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3045 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3046 @r=`${PWD_COMMAND}`; export r; \
3047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3048 TFLAGS="$(STAGE2_TFLAGS)"; \
3049 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3050 $(HOST_EXPORTS) \
3051 $(POSTSTAGE1_HOST_EXPORTS) \
3052 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3053 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3054 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3055 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
3056 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3057 cd $(HOST_SUBDIR)/bfd || exit 1; \
3058 case $(srcdir) in \
3059 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3060 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3061 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3062 esac; \
3063 srcdiroption="--srcdir=$${topdir}/bfd"; \
3064 libsrcdir="$$s/bfd"; \
3065 $(SHELL) $${libsrcdir}/configure \
3066 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3067 --target=${target_alias} $${srcdiroption} \
3068 --with-build-libsubdir=$(HOST_SUBDIR) \
3069 $(STAGE2_CONFIGURE_FLAGS)
3070 @endif bfd-bootstrap
3072 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
3073 maybe-configure-stage3-bfd:
3074 @if bfd-bootstrap
3075 maybe-configure-stage3-bfd: configure-stage3-bfd
3076 configure-stage3-bfd:
3077 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3078 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3079 @r=`${PWD_COMMAND}`; export r; \
3080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3081 TFLAGS="$(STAGE3_TFLAGS)"; \
3082 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3083 $(HOST_EXPORTS) \
3084 $(POSTSTAGE1_HOST_EXPORTS) \
3085 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3086 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3087 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3088 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
3089 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3090 cd $(HOST_SUBDIR)/bfd || exit 1; \
3091 case $(srcdir) in \
3092 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3093 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3094 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3095 esac; \
3096 srcdiroption="--srcdir=$${topdir}/bfd"; \
3097 libsrcdir="$$s/bfd"; \
3098 $(SHELL) $${libsrcdir}/configure \
3099 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3100 --target=${target_alias} $${srcdiroption} \
3101 --with-build-libsubdir=$(HOST_SUBDIR) \
3102 $(STAGE3_CONFIGURE_FLAGS)
3103 @endif bfd-bootstrap
3105 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
3106 maybe-configure-stage4-bfd:
3107 @if bfd-bootstrap
3108 maybe-configure-stage4-bfd: configure-stage4-bfd
3109 configure-stage4-bfd:
3110 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3111 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3112 @r=`${PWD_COMMAND}`; export r; \
3113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3114 TFLAGS="$(STAGE4_TFLAGS)"; \
3115 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3116 $(HOST_EXPORTS) \
3117 $(POSTSTAGE1_HOST_EXPORTS) \
3118 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3119 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3120 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3121 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
3122 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3123 cd $(HOST_SUBDIR)/bfd || exit 1; \
3124 case $(srcdir) in \
3125 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3126 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3127 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3128 esac; \
3129 srcdiroption="--srcdir=$${topdir}/bfd"; \
3130 libsrcdir="$$s/bfd"; \
3131 $(SHELL) $${libsrcdir}/configure \
3132 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3133 --target=${target_alias} $${srcdiroption} \
3134 --with-build-libsubdir=$(HOST_SUBDIR) \
3135 $(STAGE4_CONFIGURE_FLAGS)
3136 @endif bfd-bootstrap
3138 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
3139 maybe-configure-stageprofile-bfd:
3140 @if bfd-bootstrap
3141 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
3142 configure-stageprofile-bfd:
3143 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3144 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3145 @r=`${PWD_COMMAND}`; export r; \
3146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3147 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3148 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3149 $(HOST_EXPORTS) \
3150 $(POSTSTAGE1_HOST_EXPORTS) \
3151 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3152 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3153 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3154 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
3155 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3156 cd $(HOST_SUBDIR)/bfd || exit 1; \
3157 case $(srcdir) in \
3158 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3159 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3160 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3161 esac; \
3162 srcdiroption="--srcdir=$${topdir}/bfd"; \
3163 libsrcdir="$$s/bfd"; \
3164 $(SHELL) $${libsrcdir}/configure \
3165 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3166 --target=${target_alias} $${srcdiroption} \
3167 --with-build-libsubdir=$(HOST_SUBDIR) \
3168 $(STAGEprofile_CONFIGURE_FLAGS)
3169 @endif bfd-bootstrap
3171 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
3172 maybe-configure-stagefeedback-bfd:
3173 @if bfd-bootstrap
3174 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
3175 configure-stagefeedback-bfd:
3176 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3177 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3178 @r=`${PWD_COMMAND}`; export r; \
3179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3180 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3181 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3182 $(HOST_EXPORTS) \
3183 $(POSTSTAGE1_HOST_EXPORTS) \
3184 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
3185 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
3186 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
3187 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
3188 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3189 cd $(HOST_SUBDIR)/bfd || exit 1; \
3190 case $(srcdir) in \
3191 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3192 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3193 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3194 esac; \
3195 srcdiroption="--srcdir=$${topdir}/bfd"; \
3196 libsrcdir="$$s/bfd"; \
3197 $(SHELL) $${libsrcdir}/configure \
3198 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3199 --target=${target_alias} $${srcdiroption} \
3200 --with-build-libsubdir=$(HOST_SUBDIR) \
3201 $(STAGEfeedback_CONFIGURE_FLAGS)
3202 @endif bfd-bootstrap
3208 .PHONY: all-bfd maybe-all-bfd
3209 maybe-all-bfd:
3210 @if gcc-bootstrap
3211 all-bfd: stage_current
3212 @endif gcc-bootstrap
3213 @if bfd
3214 TARGET-bfd=all
3215 maybe-all-bfd: all-bfd
3216 all-bfd: configure-bfd
3217 @r=`${PWD_COMMAND}`; export r; \
3218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3219 $(HOST_EXPORTS) \
3220 (cd $(HOST_SUBDIR)/bfd && \
3221 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
3222 $(TARGET-bfd))
3223 @endif bfd
3227 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
3228 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
3229 maybe-all-stage1-bfd:
3230 maybe-clean-stage1-bfd:
3231 @if bfd-bootstrap
3232 maybe-all-stage1-bfd: all-stage1-bfd
3233 all-stage1: all-stage1-bfd
3234 TARGET-stage1-bfd = $(TARGET-bfd)
3235 all-stage1-bfd: configure-stage1-bfd
3236 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3237 @r=`${PWD_COMMAND}`; export r; \
3238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3239 TFLAGS="$(STAGE1_TFLAGS)"; \
3240 $(HOST_EXPORTS) \
3241 cd $(HOST_SUBDIR)/bfd && \
3242 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3243 CFLAGS="$(STAGE1_CFLAGS)" \
3244 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
3245 LIBCFLAGS="$(LIBCFLAGS)" \
3246 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3247 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3248 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3249 $(EXTRA_HOST_FLAGS) \
3250 $(STAGE1_FLAGS_TO_PASS) \
3251 TFLAGS="$(STAGE1_TFLAGS)" \
3252 $(TARGET-stage1-bfd)
3254 maybe-clean-stage1-bfd: clean-stage1-bfd
3255 clean-stage1: clean-stage1-bfd
3256 clean-stage1-bfd:
3257 @if [ $(current_stage) = stage1 ]; then \
3258 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3259 else \
3260 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
3261 $(MAKE) stage1-start; \
3262 fi; \
3263 cd $(HOST_SUBDIR)/bfd && \
3264 $(MAKE) $(EXTRA_HOST_FLAGS) \
3265 $(STAGE1_FLAGS_TO_PASS) clean
3266 @endif bfd-bootstrap
3269 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
3270 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
3271 maybe-all-stage2-bfd:
3272 maybe-clean-stage2-bfd:
3273 @if bfd-bootstrap
3274 maybe-all-stage2-bfd: all-stage2-bfd
3275 all-stage2: all-stage2-bfd
3276 TARGET-stage2-bfd = $(TARGET-bfd)
3277 all-stage2-bfd: configure-stage2-bfd
3278 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3279 @r=`${PWD_COMMAND}`; export r; \
3280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3281 TFLAGS="$(STAGE2_TFLAGS)"; \
3282 $(HOST_EXPORTS) \
3283 $(POSTSTAGE1_HOST_EXPORTS) \
3284 cd $(HOST_SUBDIR)/bfd && \
3285 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3286 CFLAGS="$(STAGE2_CFLAGS)" \
3287 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
3288 LIBCFLAGS="$(STAGE2_CFLAGS)" \
3289 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3290 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3291 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3292 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3293 TFLAGS="$(STAGE2_TFLAGS)" \
3294 $(TARGET-stage2-bfd)
3296 maybe-clean-stage2-bfd: clean-stage2-bfd
3297 clean-stage2: clean-stage2-bfd
3298 clean-stage2-bfd:
3299 @if [ $(current_stage) = stage2 ]; then \
3300 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3301 else \
3302 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
3303 $(MAKE) stage2-start; \
3304 fi; \
3305 cd $(HOST_SUBDIR)/bfd && \
3306 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3307 @endif bfd-bootstrap
3310 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
3311 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
3312 maybe-all-stage3-bfd:
3313 maybe-clean-stage3-bfd:
3314 @if bfd-bootstrap
3315 maybe-all-stage3-bfd: all-stage3-bfd
3316 all-stage3: all-stage3-bfd
3317 TARGET-stage3-bfd = $(TARGET-bfd)
3318 all-stage3-bfd: configure-stage3-bfd
3319 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3320 @r=`${PWD_COMMAND}`; export r; \
3321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3322 TFLAGS="$(STAGE3_TFLAGS)"; \
3323 $(HOST_EXPORTS) \
3324 $(POSTSTAGE1_HOST_EXPORTS) \
3325 cd $(HOST_SUBDIR)/bfd && \
3326 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3327 CFLAGS="$(STAGE3_CFLAGS)" \
3328 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
3329 LIBCFLAGS="$(STAGE3_CFLAGS)" \
3330 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3331 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3332 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3333 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3334 TFLAGS="$(STAGE3_TFLAGS)" \
3335 $(TARGET-stage3-bfd)
3337 maybe-clean-stage3-bfd: clean-stage3-bfd
3338 clean-stage3: clean-stage3-bfd
3339 clean-stage3-bfd:
3340 @if [ $(current_stage) = stage3 ]; then \
3341 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3342 else \
3343 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
3344 $(MAKE) stage3-start; \
3345 fi; \
3346 cd $(HOST_SUBDIR)/bfd && \
3347 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3348 @endif bfd-bootstrap
3351 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
3352 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
3353 maybe-all-stage4-bfd:
3354 maybe-clean-stage4-bfd:
3355 @if bfd-bootstrap
3356 maybe-all-stage4-bfd: all-stage4-bfd
3357 all-stage4: all-stage4-bfd
3358 TARGET-stage4-bfd = $(TARGET-bfd)
3359 all-stage4-bfd: configure-stage4-bfd
3360 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3361 @r=`${PWD_COMMAND}`; export r; \
3362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3363 TFLAGS="$(STAGE4_TFLAGS)"; \
3364 $(HOST_EXPORTS) \
3365 $(POSTSTAGE1_HOST_EXPORTS) \
3366 cd $(HOST_SUBDIR)/bfd && \
3367 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3368 CFLAGS="$(STAGE4_CFLAGS)" \
3369 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
3370 LIBCFLAGS="$(STAGE4_CFLAGS)" \
3371 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3372 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3373 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3374 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3375 TFLAGS="$(STAGE4_TFLAGS)" \
3376 $(TARGET-stage4-bfd)
3378 maybe-clean-stage4-bfd: clean-stage4-bfd
3379 clean-stage4: clean-stage4-bfd
3380 clean-stage4-bfd:
3381 @if [ $(current_stage) = stage4 ]; then \
3382 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3383 else \
3384 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
3385 $(MAKE) stage4-start; \
3386 fi; \
3387 cd $(HOST_SUBDIR)/bfd && \
3388 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3389 @endif bfd-bootstrap
3392 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
3393 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
3394 maybe-all-stageprofile-bfd:
3395 maybe-clean-stageprofile-bfd:
3396 @if bfd-bootstrap
3397 maybe-all-stageprofile-bfd: all-stageprofile-bfd
3398 all-stageprofile: all-stageprofile-bfd
3399 TARGET-stageprofile-bfd = $(TARGET-bfd)
3400 all-stageprofile-bfd: configure-stageprofile-bfd
3401 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3402 @r=`${PWD_COMMAND}`; export r; \
3403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3404 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3405 $(HOST_EXPORTS) \
3406 $(POSTSTAGE1_HOST_EXPORTS) \
3407 cd $(HOST_SUBDIR)/bfd && \
3408 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3409 CFLAGS="$(STAGEprofile_CFLAGS)" \
3410 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
3411 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
3412 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3413 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3414 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3415 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3416 TFLAGS="$(STAGEprofile_TFLAGS)" \
3417 $(TARGET-stageprofile-bfd)
3419 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
3420 clean-stageprofile: clean-stageprofile-bfd
3421 clean-stageprofile-bfd:
3422 @if [ $(current_stage) = stageprofile ]; then \
3423 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3424 else \
3425 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
3426 $(MAKE) stageprofile-start; \
3427 fi; \
3428 cd $(HOST_SUBDIR)/bfd && \
3429 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3430 @endif bfd-bootstrap
3433 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
3434 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
3435 maybe-all-stagefeedback-bfd:
3436 maybe-clean-stagefeedback-bfd:
3437 @if bfd-bootstrap
3438 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
3439 all-stagefeedback: all-stagefeedback-bfd
3440 TARGET-stagefeedback-bfd = $(TARGET-bfd)
3441 all-stagefeedback-bfd: configure-stagefeedback-bfd
3442 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3443 @r=`${PWD_COMMAND}`; export r; \
3444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3445 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3446 $(HOST_EXPORTS) \
3447 $(POSTSTAGE1_HOST_EXPORTS) \
3448 cd $(HOST_SUBDIR)/bfd && \
3449 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3450 CFLAGS="$(STAGEfeedback_CFLAGS)" \
3451 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
3452 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
3453 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3454 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3455 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3456 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3457 TFLAGS="$(STAGEfeedback_TFLAGS)" \
3458 $(TARGET-stagefeedback-bfd)
3460 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
3461 clean-stagefeedback: clean-stagefeedback-bfd
3462 clean-stagefeedback-bfd:
3463 @if [ $(current_stage) = stagefeedback ]; then \
3464 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3465 else \
3466 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
3467 $(MAKE) stagefeedback-start; \
3468 fi; \
3469 cd $(HOST_SUBDIR)/bfd && \
3470 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3471 @endif bfd-bootstrap
3477 .PHONY: check-bfd maybe-check-bfd
3478 maybe-check-bfd:
3479 @if bfd
3480 maybe-check-bfd: check-bfd
3482 check-bfd:
3483 @: $(MAKE); $(unstage)
3484 @r=`${PWD_COMMAND}`; export r; \
3485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3486 $(HOST_EXPORTS) \
3487 (cd $(HOST_SUBDIR)/bfd && \
3488 $(MAKE) $(FLAGS_TO_PASS) check)
3490 @endif bfd
3492 .PHONY: install-bfd maybe-install-bfd
3493 maybe-install-bfd:
3494 @if bfd
3495 maybe-install-bfd: install-bfd
3497 install-bfd: installdirs
3498 @: $(MAKE); $(unstage)
3499 @r=`${PWD_COMMAND}`; export r; \
3500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3501 $(HOST_EXPORTS) \
3502 (cd $(HOST_SUBDIR)/bfd && \
3503 $(MAKE) $(FLAGS_TO_PASS) install)
3505 @endif bfd
3507 .PHONY: install-strip-bfd maybe-install-strip-bfd
3508 maybe-install-strip-bfd:
3509 @if bfd
3510 maybe-install-strip-bfd: install-strip-bfd
3512 install-strip-bfd: installdirs
3513 @: $(MAKE); $(unstage)
3514 @r=`${PWD_COMMAND}`; export r; \
3515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3516 $(HOST_EXPORTS) \
3517 (cd $(HOST_SUBDIR)/bfd && \
3518 $(MAKE) $(FLAGS_TO_PASS) install-strip)
3520 @endif bfd
3522 # Other targets (info, dvi, pdf, etc.)
3524 .PHONY: maybe-info-bfd info-bfd
3525 maybe-info-bfd:
3526 @if bfd
3527 maybe-info-bfd: info-bfd
3529 info-bfd: \
3530 configure-bfd
3531 @[ -f ./bfd/Makefile ] || exit 0; \
3532 r=`${PWD_COMMAND}`; export r; \
3533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3534 $(HOST_EXPORTS) \
3535 for flag in $(EXTRA_HOST_FLAGS) ; do \
3536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3537 done; \
3538 echo "Doing info in bfd" ; \
3539 (cd $(HOST_SUBDIR)/bfd && \
3540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3542 "RANLIB=$${RANLIB}" \
3543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3544 info) \
3545 || exit 1
3547 @endif bfd
3549 .PHONY: maybe-dvi-bfd dvi-bfd
3550 maybe-dvi-bfd:
3551 @if bfd
3552 maybe-dvi-bfd: dvi-bfd
3554 dvi-bfd: \
3555 configure-bfd
3556 @[ -f ./bfd/Makefile ] || exit 0; \
3557 r=`${PWD_COMMAND}`; export r; \
3558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3559 $(HOST_EXPORTS) \
3560 for flag in $(EXTRA_HOST_FLAGS) ; do \
3561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3562 done; \
3563 echo "Doing dvi in bfd" ; \
3564 (cd $(HOST_SUBDIR)/bfd && \
3565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3567 "RANLIB=$${RANLIB}" \
3568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3569 dvi) \
3570 || exit 1
3572 @endif bfd
3574 .PHONY: maybe-pdf-bfd pdf-bfd
3575 maybe-pdf-bfd:
3576 @if bfd
3577 maybe-pdf-bfd: pdf-bfd
3579 pdf-bfd: \
3580 configure-bfd
3581 @[ -f ./bfd/Makefile ] || exit 0; \
3582 r=`${PWD_COMMAND}`; export r; \
3583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3584 $(HOST_EXPORTS) \
3585 for flag in $(EXTRA_HOST_FLAGS) ; do \
3586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3587 done; \
3588 echo "Doing pdf in bfd" ; \
3589 (cd $(HOST_SUBDIR)/bfd && \
3590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3592 "RANLIB=$${RANLIB}" \
3593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3594 pdf) \
3595 || exit 1
3597 @endif bfd
3599 .PHONY: maybe-html-bfd html-bfd
3600 maybe-html-bfd:
3601 @if bfd
3602 maybe-html-bfd: html-bfd
3604 html-bfd: \
3605 configure-bfd
3606 @[ -f ./bfd/Makefile ] || exit 0; \
3607 r=`${PWD_COMMAND}`; export r; \
3608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3609 $(HOST_EXPORTS) \
3610 for flag in $(EXTRA_HOST_FLAGS) ; do \
3611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3612 done; \
3613 echo "Doing html in bfd" ; \
3614 (cd $(HOST_SUBDIR)/bfd && \
3615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3617 "RANLIB=$${RANLIB}" \
3618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3619 html) \
3620 || exit 1
3622 @endif bfd
3624 .PHONY: maybe-TAGS-bfd TAGS-bfd
3625 maybe-TAGS-bfd:
3626 @if bfd
3627 maybe-TAGS-bfd: TAGS-bfd
3629 TAGS-bfd: \
3630 configure-bfd
3631 @[ -f ./bfd/Makefile ] || exit 0; \
3632 r=`${PWD_COMMAND}`; export r; \
3633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3634 $(HOST_EXPORTS) \
3635 for flag in $(EXTRA_HOST_FLAGS) ; do \
3636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3637 done; \
3638 echo "Doing TAGS in bfd" ; \
3639 (cd $(HOST_SUBDIR)/bfd && \
3640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3642 "RANLIB=$${RANLIB}" \
3643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3644 TAGS) \
3645 || exit 1
3647 @endif bfd
3649 .PHONY: maybe-install-info-bfd install-info-bfd
3650 maybe-install-info-bfd:
3651 @if bfd
3652 maybe-install-info-bfd: install-info-bfd
3654 install-info-bfd: \
3655 configure-bfd \
3656 info-bfd
3657 @[ -f ./bfd/Makefile ] || exit 0; \
3658 r=`${PWD_COMMAND}`; export r; \
3659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3660 $(HOST_EXPORTS) \
3661 for flag in $(EXTRA_HOST_FLAGS) ; do \
3662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3663 done; \
3664 echo "Doing install-info in bfd" ; \
3665 (cd $(HOST_SUBDIR)/bfd && \
3666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3668 "RANLIB=$${RANLIB}" \
3669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3670 install-info) \
3671 || exit 1
3673 @endif bfd
3675 .PHONY: maybe-install-pdf-bfd install-pdf-bfd
3676 maybe-install-pdf-bfd:
3677 @if bfd
3678 maybe-install-pdf-bfd: install-pdf-bfd
3680 install-pdf-bfd: \
3681 configure-bfd \
3682 pdf-bfd
3683 @[ -f ./bfd/Makefile ] || exit 0; \
3684 r=`${PWD_COMMAND}`; export r; \
3685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3686 $(HOST_EXPORTS) \
3687 for flag in $(EXTRA_HOST_FLAGS) ; do \
3688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3689 done; \
3690 echo "Doing install-pdf in bfd" ; \
3691 (cd $(HOST_SUBDIR)/bfd && \
3692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3694 "RANLIB=$${RANLIB}" \
3695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3696 install-pdf) \
3697 || exit 1
3699 @endif bfd
3701 .PHONY: maybe-install-html-bfd install-html-bfd
3702 maybe-install-html-bfd:
3703 @if bfd
3704 maybe-install-html-bfd: install-html-bfd
3706 install-html-bfd: \
3707 configure-bfd \
3708 html-bfd
3709 @[ -f ./bfd/Makefile ] || exit 0; \
3710 r=`${PWD_COMMAND}`; export r; \
3711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3712 $(HOST_EXPORTS) \
3713 for flag in $(EXTRA_HOST_FLAGS) ; do \
3714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3715 done; \
3716 echo "Doing install-html in bfd" ; \
3717 (cd $(HOST_SUBDIR)/bfd && \
3718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3720 "RANLIB=$${RANLIB}" \
3721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3722 install-html) \
3723 || exit 1
3725 @endif bfd
3727 .PHONY: maybe-installcheck-bfd installcheck-bfd
3728 maybe-installcheck-bfd:
3729 @if bfd
3730 maybe-installcheck-bfd: installcheck-bfd
3732 installcheck-bfd: \
3733 configure-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 installcheck 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 installcheck) \
3748 || exit 1
3750 @endif bfd
3752 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3753 maybe-mostlyclean-bfd:
3754 @if bfd
3755 maybe-mostlyclean-bfd: mostlyclean-bfd
3757 mostlyclean-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 mostlyclean 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 mostlyclean) \
3772 || exit 1
3774 @endif bfd
3776 .PHONY: maybe-clean-bfd clean-bfd
3777 maybe-clean-bfd:
3778 @if bfd
3779 maybe-clean-bfd: clean-bfd
3781 clean-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 clean 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 clean) \
3796 || exit 1
3798 @endif bfd
3800 .PHONY: maybe-distclean-bfd distclean-bfd
3801 maybe-distclean-bfd:
3802 @if bfd
3803 maybe-distclean-bfd: distclean-bfd
3805 distclean-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 distclean 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 distclean) \
3820 || exit 1
3822 @endif bfd
3824 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
3825 maybe-maintainer-clean-bfd:
3826 @if bfd
3827 maybe-maintainer-clean-bfd: maintainer-clean-bfd
3829 maintainer-clean-bfd:
3830 @[ -f ./bfd/Makefile ] || exit 0; \
3831 r=`${PWD_COMMAND}`; export r; \
3832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3833 $(HOST_EXPORTS) \
3834 for flag in $(EXTRA_HOST_FLAGS) ; do \
3835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3836 done; \
3837 echo "Doing maintainer-clean in bfd" ; \
3838 (cd $(HOST_SUBDIR)/bfd && \
3839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3841 "RANLIB=$${RANLIB}" \
3842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3843 maintainer-clean) \
3844 || exit 1
3846 @endif bfd
3850 .PHONY: configure-opcodes maybe-configure-opcodes
3851 maybe-configure-opcodes:
3852 @if gcc-bootstrap
3853 configure-opcodes: stage_current
3854 @endif gcc-bootstrap
3855 @if opcodes
3856 maybe-configure-opcodes: configure-opcodes
3857 configure-opcodes:
3858 @r=`${PWD_COMMAND}`; export r; \
3859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3860 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3861 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3862 $(HOST_EXPORTS) \
3863 echo Configuring in $(HOST_SUBDIR)/opcodes; \
3864 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
3865 case $(srcdir) in \
3866 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3867 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3868 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3869 esac; \
3870 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3871 libsrcdir="$$s/opcodes"; \
3872 $(SHELL) $${libsrcdir}/configure \
3873 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3874 --target=${target_alias} $${srcdiroption} \
3875 || exit 1
3876 @endif opcodes
3880 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
3881 maybe-configure-stage1-opcodes:
3882 @if opcodes-bootstrap
3883 maybe-configure-stage1-opcodes: configure-stage1-opcodes
3884 configure-stage1-opcodes:
3885 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3886 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3887 @r=`${PWD_COMMAND}`; export r; \
3888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3889 TFLAGS="$(STAGE1_TFLAGS)"; \
3890 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3891 $(HOST_EXPORTS) \
3892 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3893 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3894 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
3895 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
3896 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3897 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3898 case $(srcdir) in \
3899 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3900 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3901 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3902 esac; \
3903 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3904 libsrcdir="$$s/opcodes"; \
3905 $(SHELL) $${libsrcdir}/configure \
3906 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3907 --target=${target_alias} $${srcdiroption} \
3908 $(STAGE1_CONFIGURE_FLAGS)
3909 @endif opcodes-bootstrap
3911 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
3912 maybe-configure-stage2-opcodes:
3913 @if opcodes-bootstrap
3914 maybe-configure-stage2-opcodes: configure-stage2-opcodes
3915 configure-stage2-opcodes:
3916 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3917 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3918 @r=`${PWD_COMMAND}`; export r; \
3919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3920 TFLAGS="$(STAGE2_TFLAGS)"; \
3921 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3922 $(HOST_EXPORTS) \
3923 $(POSTSTAGE1_HOST_EXPORTS) \
3924 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3925 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3926 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3927 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
3928 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3929 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3930 case $(srcdir) in \
3931 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3932 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3933 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3934 esac; \
3935 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3936 libsrcdir="$$s/opcodes"; \
3937 $(SHELL) $${libsrcdir}/configure \
3938 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3939 --target=${target_alias} $${srcdiroption} \
3940 --with-build-libsubdir=$(HOST_SUBDIR) \
3941 $(STAGE2_CONFIGURE_FLAGS)
3942 @endif opcodes-bootstrap
3944 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
3945 maybe-configure-stage3-opcodes:
3946 @if opcodes-bootstrap
3947 maybe-configure-stage3-opcodes: configure-stage3-opcodes
3948 configure-stage3-opcodes:
3949 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3950 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3951 @r=`${PWD_COMMAND}`; export r; \
3952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3953 TFLAGS="$(STAGE3_TFLAGS)"; \
3954 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3955 $(HOST_EXPORTS) \
3956 $(POSTSTAGE1_HOST_EXPORTS) \
3957 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3958 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3959 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3960 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
3961 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3962 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3963 case $(srcdir) in \
3964 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3965 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3966 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3967 esac; \
3968 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3969 libsrcdir="$$s/opcodes"; \
3970 $(SHELL) $${libsrcdir}/configure \
3971 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3972 --target=${target_alias} $${srcdiroption} \
3973 --with-build-libsubdir=$(HOST_SUBDIR) \
3974 $(STAGE3_CONFIGURE_FLAGS)
3975 @endif opcodes-bootstrap
3977 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
3978 maybe-configure-stage4-opcodes:
3979 @if opcodes-bootstrap
3980 maybe-configure-stage4-opcodes: configure-stage4-opcodes
3981 configure-stage4-opcodes:
3982 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3983 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3984 @r=`${PWD_COMMAND}`; export r; \
3985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3986 TFLAGS="$(STAGE4_TFLAGS)"; \
3987 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3988 $(HOST_EXPORTS) \
3989 $(POSTSTAGE1_HOST_EXPORTS) \
3990 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3991 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3992 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3993 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
3994 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3995 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3996 case $(srcdir) in \
3997 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3998 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3999 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4000 esac; \
4001 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4002 libsrcdir="$$s/opcodes"; \
4003 $(SHELL) $${libsrcdir}/configure \
4004 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4005 --target=${target_alias} $${srcdiroption} \
4006 --with-build-libsubdir=$(HOST_SUBDIR) \
4007 $(STAGE4_CONFIGURE_FLAGS)
4008 @endif opcodes-bootstrap
4010 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
4011 maybe-configure-stageprofile-opcodes:
4012 @if opcodes-bootstrap
4013 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
4014 configure-stageprofile-opcodes:
4015 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4016 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4017 @r=`${PWD_COMMAND}`; export r; \
4018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4019 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4020 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4021 $(HOST_EXPORTS) \
4022 $(POSTSTAGE1_HOST_EXPORTS) \
4023 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4024 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4025 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4026 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
4027 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4028 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4029 case $(srcdir) in \
4030 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4031 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4032 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4033 esac; \
4034 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4035 libsrcdir="$$s/opcodes"; \
4036 $(SHELL) $${libsrcdir}/configure \
4037 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4038 --target=${target_alias} $${srcdiroption} \
4039 --with-build-libsubdir=$(HOST_SUBDIR) \
4040 $(STAGEprofile_CONFIGURE_FLAGS)
4041 @endif opcodes-bootstrap
4043 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
4044 maybe-configure-stagefeedback-opcodes:
4045 @if opcodes-bootstrap
4046 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
4047 configure-stagefeedback-opcodes:
4048 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4049 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4050 @r=`${PWD_COMMAND}`; export r; \
4051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4052 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4053 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4054 $(HOST_EXPORTS) \
4055 $(POSTSTAGE1_HOST_EXPORTS) \
4056 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4057 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4058 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4059 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
4060 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4061 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4062 case $(srcdir) in \
4063 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4064 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4065 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4066 esac; \
4067 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4068 libsrcdir="$$s/opcodes"; \
4069 $(SHELL) $${libsrcdir}/configure \
4070 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4071 --target=${target_alias} $${srcdiroption} \
4072 --with-build-libsubdir=$(HOST_SUBDIR) \
4073 $(STAGEfeedback_CONFIGURE_FLAGS)
4074 @endif opcodes-bootstrap
4080 .PHONY: all-opcodes maybe-all-opcodes
4081 maybe-all-opcodes:
4082 @if gcc-bootstrap
4083 all-opcodes: stage_current
4084 @endif gcc-bootstrap
4085 @if opcodes
4086 TARGET-opcodes=all
4087 maybe-all-opcodes: all-opcodes
4088 all-opcodes: configure-opcodes
4089 @r=`${PWD_COMMAND}`; export r; \
4090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4091 $(HOST_EXPORTS) \
4092 (cd $(HOST_SUBDIR)/opcodes && \
4093 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
4094 $(TARGET-opcodes))
4095 @endif opcodes
4099 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4100 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4101 maybe-all-stage1-opcodes:
4102 maybe-clean-stage1-opcodes:
4103 @if opcodes-bootstrap
4104 maybe-all-stage1-opcodes: all-stage1-opcodes
4105 all-stage1: all-stage1-opcodes
4106 TARGET-stage1-opcodes = $(TARGET-opcodes)
4107 all-stage1-opcodes: configure-stage1-opcodes
4108 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4109 @r=`${PWD_COMMAND}`; export r; \
4110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4111 TFLAGS="$(STAGE1_TFLAGS)"; \
4112 $(HOST_EXPORTS) \
4113 cd $(HOST_SUBDIR)/opcodes && \
4114 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4115 CFLAGS="$(STAGE1_CFLAGS)" \
4116 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4117 LIBCFLAGS="$(LIBCFLAGS)" \
4118 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4119 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4120 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4121 $(EXTRA_HOST_FLAGS) \
4122 $(STAGE1_FLAGS_TO_PASS) \
4123 TFLAGS="$(STAGE1_TFLAGS)" \
4124 $(TARGET-stage1-opcodes)
4126 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4127 clean-stage1: clean-stage1-opcodes
4128 clean-stage1-opcodes:
4129 @if [ $(current_stage) = stage1 ]; then \
4130 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4131 else \
4132 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
4133 $(MAKE) stage1-start; \
4134 fi; \
4135 cd $(HOST_SUBDIR)/opcodes && \
4136 $(MAKE) $(EXTRA_HOST_FLAGS) \
4137 $(STAGE1_FLAGS_TO_PASS) clean
4138 @endif opcodes-bootstrap
4141 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4142 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4143 maybe-all-stage2-opcodes:
4144 maybe-clean-stage2-opcodes:
4145 @if opcodes-bootstrap
4146 maybe-all-stage2-opcodes: all-stage2-opcodes
4147 all-stage2: all-stage2-opcodes
4148 TARGET-stage2-opcodes = $(TARGET-opcodes)
4149 all-stage2-opcodes: configure-stage2-opcodes
4150 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4151 @r=`${PWD_COMMAND}`; export r; \
4152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4153 TFLAGS="$(STAGE2_TFLAGS)"; \
4154 $(HOST_EXPORTS) \
4155 $(POSTSTAGE1_HOST_EXPORTS) \
4156 cd $(HOST_SUBDIR)/opcodes && \
4157 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4158 CFLAGS="$(STAGE2_CFLAGS)" \
4159 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
4160 LIBCFLAGS="$(STAGE2_CFLAGS)" \
4161 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4162 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4163 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4164 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4165 TFLAGS="$(STAGE2_TFLAGS)" \
4166 $(TARGET-stage2-opcodes)
4168 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4169 clean-stage2: clean-stage2-opcodes
4170 clean-stage2-opcodes:
4171 @if [ $(current_stage) = stage2 ]; then \
4172 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4173 else \
4174 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
4175 $(MAKE) stage2-start; \
4176 fi; \
4177 cd $(HOST_SUBDIR)/opcodes && \
4178 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4179 @endif opcodes-bootstrap
4182 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4183 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4184 maybe-all-stage3-opcodes:
4185 maybe-clean-stage3-opcodes:
4186 @if opcodes-bootstrap
4187 maybe-all-stage3-opcodes: all-stage3-opcodes
4188 all-stage3: all-stage3-opcodes
4189 TARGET-stage3-opcodes = $(TARGET-opcodes)
4190 all-stage3-opcodes: configure-stage3-opcodes
4191 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4192 @r=`${PWD_COMMAND}`; export r; \
4193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4194 TFLAGS="$(STAGE3_TFLAGS)"; \
4195 $(HOST_EXPORTS) \
4196 $(POSTSTAGE1_HOST_EXPORTS) \
4197 cd $(HOST_SUBDIR)/opcodes && \
4198 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4199 CFLAGS="$(STAGE3_CFLAGS)" \
4200 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
4201 LIBCFLAGS="$(STAGE3_CFLAGS)" \
4202 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4203 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4204 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4205 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4206 TFLAGS="$(STAGE3_TFLAGS)" \
4207 $(TARGET-stage3-opcodes)
4209 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4210 clean-stage3: clean-stage3-opcodes
4211 clean-stage3-opcodes:
4212 @if [ $(current_stage) = stage3 ]; then \
4213 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4214 else \
4215 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
4216 $(MAKE) stage3-start; \
4217 fi; \
4218 cd $(HOST_SUBDIR)/opcodes && \
4219 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4220 @endif opcodes-bootstrap
4223 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4224 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4225 maybe-all-stage4-opcodes:
4226 maybe-clean-stage4-opcodes:
4227 @if opcodes-bootstrap
4228 maybe-all-stage4-opcodes: all-stage4-opcodes
4229 all-stage4: all-stage4-opcodes
4230 TARGET-stage4-opcodes = $(TARGET-opcodes)
4231 all-stage4-opcodes: configure-stage4-opcodes
4232 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4233 @r=`${PWD_COMMAND}`; export r; \
4234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4235 TFLAGS="$(STAGE4_TFLAGS)"; \
4236 $(HOST_EXPORTS) \
4237 $(POSTSTAGE1_HOST_EXPORTS) \
4238 cd $(HOST_SUBDIR)/opcodes && \
4239 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4240 CFLAGS="$(STAGE4_CFLAGS)" \
4241 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
4242 LIBCFLAGS="$(STAGE4_CFLAGS)" \
4243 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4244 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4245 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4246 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4247 TFLAGS="$(STAGE4_TFLAGS)" \
4248 $(TARGET-stage4-opcodes)
4250 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4251 clean-stage4: clean-stage4-opcodes
4252 clean-stage4-opcodes:
4253 @if [ $(current_stage) = stage4 ]; then \
4254 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4255 else \
4256 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
4257 $(MAKE) stage4-start; \
4258 fi; \
4259 cd $(HOST_SUBDIR)/opcodes && \
4260 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4261 @endif opcodes-bootstrap
4264 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4265 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4266 maybe-all-stageprofile-opcodes:
4267 maybe-clean-stageprofile-opcodes:
4268 @if opcodes-bootstrap
4269 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4270 all-stageprofile: all-stageprofile-opcodes
4271 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
4272 all-stageprofile-opcodes: configure-stageprofile-opcodes
4273 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4274 @r=`${PWD_COMMAND}`; export r; \
4275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4276 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4277 $(HOST_EXPORTS) \
4278 $(POSTSTAGE1_HOST_EXPORTS) \
4279 cd $(HOST_SUBDIR)/opcodes && \
4280 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4281 CFLAGS="$(STAGEprofile_CFLAGS)" \
4282 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
4283 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
4284 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4285 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4286 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4287 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4288 TFLAGS="$(STAGEprofile_TFLAGS)" \
4289 $(TARGET-stageprofile-opcodes)
4291 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4292 clean-stageprofile: clean-stageprofile-opcodes
4293 clean-stageprofile-opcodes:
4294 @if [ $(current_stage) = stageprofile ]; then \
4295 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4296 else \
4297 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
4298 $(MAKE) stageprofile-start; \
4299 fi; \
4300 cd $(HOST_SUBDIR)/opcodes && \
4301 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4302 @endif opcodes-bootstrap
4305 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
4306 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
4307 maybe-all-stagefeedback-opcodes:
4308 maybe-clean-stagefeedback-opcodes:
4309 @if opcodes-bootstrap
4310 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
4311 all-stagefeedback: all-stagefeedback-opcodes
4312 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
4313 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4314 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4315 @r=`${PWD_COMMAND}`; export r; \
4316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4317 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4318 $(HOST_EXPORTS) \
4319 $(POSTSTAGE1_HOST_EXPORTS) \
4320 cd $(HOST_SUBDIR)/opcodes && \
4321 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4322 CFLAGS="$(STAGEfeedback_CFLAGS)" \
4323 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
4324 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
4325 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4326 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4327 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4328 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4329 TFLAGS="$(STAGEfeedback_TFLAGS)" \
4330 $(TARGET-stagefeedback-opcodes)
4332 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
4333 clean-stagefeedback: clean-stagefeedback-opcodes
4334 clean-stagefeedback-opcodes:
4335 @if [ $(current_stage) = stagefeedback ]; then \
4336 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4337 else \
4338 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
4339 $(MAKE) stagefeedback-start; \
4340 fi; \
4341 cd $(HOST_SUBDIR)/opcodes && \
4342 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4343 @endif opcodes-bootstrap
4349 .PHONY: check-opcodes maybe-check-opcodes
4350 maybe-check-opcodes:
4351 @if opcodes
4352 maybe-check-opcodes: check-opcodes
4354 check-opcodes:
4355 @: $(MAKE); $(unstage)
4356 @r=`${PWD_COMMAND}`; export r; \
4357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4358 $(HOST_EXPORTS) \
4359 (cd $(HOST_SUBDIR)/opcodes && \
4360 $(MAKE) $(FLAGS_TO_PASS) check)
4362 @endif opcodes
4364 .PHONY: install-opcodes maybe-install-opcodes
4365 maybe-install-opcodes:
4366 @if opcodes
4367 maybe-install-opcodes: install-opcodes
4369 install-opcodes: installdirs
4370 @: $(MAKE); $(unstage)
4371 @r=`${PWD_COMMAND}`; export r; \
4372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4373 $(HOST_EXPORTS) \
4374 (cd $(HOST_SUBDIR)/opcodes && \
4375 $(MAKE) $(FLAGS_TO_PASS) install)
4377 @endif opcodes
4379 .PHONY: install-strip-opcodes maybe-install-strip-opcodes
4380 maybe-install-strip-opcodes:
4381 @if opcodes
4382 maybe-install-strip-opcodes: install-strip-opcodes
4384 install-strip-opcodes: installdirs
4385 @: $(MAKE); $(unstage)
4386 @r=`${PWD_COMMAND}`; export r; \
4387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4388 $(HOST_EXPORTS) \
4389 (cd $(HOST_SUBDIR)/opcodes && \
4390 $(MAKE) $(FLAGS_TO_PASS) install-strip)
4392 @endif opcodes
4394 # Other targets (info, dvi, pdf, etc.)
4396 .PHONY: maybe-info-opcodes info-opcodes
4397 maybe-info-opcodes:
4398 @if opcodes
4399 maybe-info-opcodes: info-opcodes
4401 info-opcodes: \
4402 configure-opcodes
4403 @[ -f ./opcodes/Makefile ] || exit 0; \
4404 r=`${PWD_COMMAND}`; export r; \
4405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4406 $(HOST_EXPORTS) \
4407 for flag in $(EXTRA_HOST_FLAGS) ; do \
4408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4409 done; \
4410 echo "Doing info in opcodes" ; \
4411 (cd $(HOST_SUBDIR)/opcodes && \
4412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4414 "RANLIB=$${RANLIB}" \
4415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4416 info) \
4417 || exit 1
4419 @endif opcodes
4421 .PHONY: maybe-dvi-opcodes dvi-opcodes
4422 maybe-dvi-opcodes:
4423 @if opcodes
4424 maybe-dvi-opcodes: dvi-opcodes
4426 dvi-opcodes: \
4427 configure-opcodes
4428 @[ -f ./opcodes/Makefile ] || exit 0; \
4429 r=`${PWD_COMMAND}`; export r; \
4430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4431 $(HOST_EXPORTS) \
4432 for flag in $(EXTRA_HOST_FLAGS) ; do \
4433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4434 done; \
4435 echo "Doing dvi in opcodes" ; \
4436 (cd $(HOST_SUBDIR)/opcodes && \
4437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4439 "RANLIB=$${RANLIB}" \
4440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4441 dvi) \
4442 || exit 1
4444 @endif opcodes
4446 .PHONY: maybe-pdf-opcodes pdf-opcodes
4447 maybe-pdf-opcodes:
4448 @if opcodes
4449 maybe-pdf-opcodes: pdf-opcodes
4451 pdf-opcodes: \
4452 configure-opcodes
4453 @[ -f ./opcodes/Makefile ] || exit 0; \
4454 r=`${PWD_COMMAND}`; export r; \
4455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4456 $(HOST_EXPORTS) \
4457 for flag in $(EXTRA_HOST_FLAGS) ; do \
4458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4459 done; \
4460 echo "Doing pdf in opcodes" ; \
4461 (cd $(HOST_SUBDIR)/opcodes && \
4462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4464 "RANLIB=$${RANLIB}" \
4465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4466 pdf) \
4467 || exit 1
4469 @endif opcodes
4471 .PHONY: maybe-html-opcodes html-opcodes
4472 maybe-html-opcodes:
4473 @if opcodes
4474 maybe-html-opcodes: html-opcodes
4476 html-opcodes: \
4477 configure-opcodes
4478 @[ -f ./opcodes/Makefile ] || exit 0; \
4479 r=`${PWD_COMMAND}`; export r; \
4480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4481 $(HOST_EXPORTS) \
4482 for flag in $(EXTRA_HOST_FLAGS) ; do \
4483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4484 done; \
4485 echo "Doing html in opcodes" ; \
4486 (cd $(HOST_SUBDIR)/opcodes && \
4487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4489 "RANLIB=$${RANLIB}" \
4490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4491 html) \
4492 || exit 1
4494 @endif opcodes
4496 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4497 maybe-TAGS-opcodes:
4498 @if opcodes
4499 maybe-TAGS-opcodes: TAGS-opcodes
4501 TAGS-opcodes: \
4502 configure-opcodes
4503 @[ -f ./opcodes/Makefile ] || exit 0; \
4504 r=`${PWD_COMMAND}`; export r; \
4505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4506 $(HOST_EXPORTS) \
4507 for flag in $(EXTRA_HOST_FLAGS) ; do \
4508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4509 done; \
4510 echo "Doing TAGS in opcodes" ; \
4511 (cd $(HOST_SUBDIR)/opcodes && \
4512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4514 "RANLIB=$${RANLIB}" \
4515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4516 TAGS) \
4517 || exit 1
4519 @endif opcodes
4521 .PHONY: maybe-install-info-opcodes install-info-opcodes
4522 maybe-install-info-opcodes:
4523 @if opcodes
4524 maybe-install-info-opcodes: install-info-opcodes
4526 install-info-opcodes: \
4527 configure-opcodes \
4528 info-opcodes
4529 @[ -f ./opcodes/Makefile ] || exit 0; \
4530 r=`${PWD_COMMAND}`; export r; \
4531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4532 $(HOST_EXPORTS) \
4533 for flag in $(EXTRA_HOST_FLAGS) ; do \
4534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4535 done; \
4536 echo "Doing install-info in opcodes" ; \
4537 (cd $(HOST_SUBDIR)/opcodes && \
4538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4540 "RANLIB=$${RANLIB}" \
4541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4542 install-info) \
4543 || exit 1
4545 @endif opcodes
4547 .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes
4548 maybe-install-pdf-opcodes:
4549 @if opcodes
4550 maybe-install-pdf-opcodes: install-pdf-opcodes
4552 install-pdf-opcodes: \
4553 configure-opcodes \
4554 pdf-opcodes
4555 @[ -f ./opcodes/Makefile ] || exit 0; \
4556 r=`${PWD_COMMAND}`; export r; \
4557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4558 $(HOST_EXPORTS) \
4559 for flag in $(EXTRA_HOST_FLAGS) ; do \
4560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4561 done; \
4562 echo "Doing install-pdf in opcodes" ; \
4563 (cd $(HOST_SUBDIR)/opcodes && \
4564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4566 "RANLIB=$${RANLIB}" \
4567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4568 install-pdf) \
4569 || exit 1
4571 @endif opcodes
4573 .PHONY: maybe-install-html-opcodes install-html-opcodes
4574 maybe-install-html-opcodes:
4575 @if opcodes
4576 maybe-install-html-opcodes: install-html-opcodes
4578 install-html-opcodes: \
4579 configure-opcodes \
4580 html-opcodes
4581 @[ -f ./opcodes/Makefile ] || exit 0; \
4582 r=`${PWD_COMMAND}`; export r; \
4583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4584 $(HOST_EXPORTS) \
4585 for flag in $(EXTRA_HOST_FLAGS) ; do \
4586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4587 done; \
4588 echo "Doing install-html in opcodes" ; \
4589 (cd $(HOST_SUBDIR)/opcodes && \
4590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4592 "RANLIB=$${RANLIB}" \
4593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4594 install-html) \
4595 || exit 1
4597 @endif opcodes
4599 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4600 maybe-installcheck-opcodes:
4601 @if opcodes
4602 maybe-installcheck-opcodes: installcheck-opcodes
4604 installcheck-opcodes: \
4605 configure-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 installcheck 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 installcheck) \
4620 || exit 1
4622 @endif opcodes
4624 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4625 maybe-mostlyclean-opcodes:
4626 @if opcodes
4627 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4629 mostlyclean-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 mostlyclean 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 mostlyclean) \
4644 || exit 1
4646 @endif opcodes
4648 .PHONY: maybe-clean-opcodes clean-opcodes
4649 maybe-clean-opcodes:
4650 @if opcodes
4651 maybe-clean-opcodes: clean-opcodes
4653 clean-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 clean 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 clean) \
4668 || exit 1
4670 @endif opcodes
4672 .PHONY: maybe-distclean-opcodes distclean-opcodes
4673 maybe-distclean-opcodes:
4674 @if opcodes
4675 maybe-distclean-opcodes: distclean-opcodes
4677 distclean-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 distclean 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 distclean) \
4692 || exit 1
4694 @endif opcodes
4696 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4697 maybe-maintainer-clean-opcodes:
4698 @if opcodes
4699 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4701 maintainer-clean-opcodes:
4702 @[ -f ./opcodes/Makefile ] || exit 0; \
4703 r=`${PWD_COMMAND}`; export r; \
4704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4705 $(HOST_EXPORTS) \
4706 for flag in $(EXTRA_HOST_FLAGS) ; do \
4707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4708 done; \
4709 echo "Doing maintainer-clean in opcodes" ; \
4710 (cd $(HOST_SUBDIR)/opcodes && \
4711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4713 "RANLIB=$${RANLIB}" \
4714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4715 maintainer-clean) \
4716 || exit 1
4718 @endif opcodes
4722 .PHONY: configure-binutils maybe-configure-binutils
4723 maybe-configure-binutils:
4724 @if gcc-bootstrap
4725 configure-binutils: stage_current
4726 @endif gcc-bootstrap
4727 @if binutils
4728 maybe-configure-binutils: configure-binutils
4729 configure-binutils:
4730 @r=`${PWD_COMMAND}`; export r; \
4731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4732 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4733 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4734 $(HOST_EXPORTS) \
4735 echo Configuring in $(HOST_SUBDIR)/binutils; \
4736 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
4737 case $(srcdir) in \
4738 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4739 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4740 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4741 esac; \
4742 srcdiroption="--srcdir=$${topdir}/binutils"; \
4743 libsrcdir="$$s/binutils"; \
4744 $(SHELL) $${libsrcdir}/configure \
4745 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4746 --target=${target_alias} $${srcdiroption} \
4747 || exit 1
4748 @endif binutils
4752 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
4753 maybe-configure-stage1-binutils:
4754 @if binutils-bootstrap
4755 maybe-configure-stage1-binutils: configure-stage1-binutils
4756 configure-stage1-binutils:
4757 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4758 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4759 @r=`${PWD_COMMAND}`; export r; \
4760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4761 TFLAGS="$(STAGE1_TFLAGS)"; \
4762 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4763 $(HOST_EXPORTS) \
4764 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
4765 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
4766 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
4767 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
4768 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4769 cd $(HOST_SUBDIR)/binutils || exit 1; \
4770 case $(srcdir) in \
4771 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4772 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4773 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4774 esac; \
4775 srcdiroption="--srcdir=$${topdir}/binutils"; \
4776 libsrcdir="$$s/binutils"; \
4777 $(SHELL) $${libsrcdir}/configure \
4778 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4779 --target=${target_alias} $${srcdiroption} \
4780 $(STAGE1_CONFIGURE_FLAGS)
4781 @endif binutils-bootstrap
4783 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
4784 maybe-configure-stage2-binutils:
4785 @if binutils-bootstrap
4786 maybe-configure-stage2-binutils: configure-stage2-binutils
4787 configure-stage2-binutils:
4788 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4789 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4790 @r=`${PWD_COMMAND}`; export r; \
4791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4792 TFLAGS="$(STAGE2_TFLAGS)"; \
4793 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4794 $(HOST_EXPORTS) \
4795 $(POSTSTAGE1_HOST_EXPORTS) \
4796 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4797 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
4798 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
4799 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
4800 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4801 cd $(HOST_SUBDIR)/binutils || exit 1; \
4802 case $(srcdir) in \
4803 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4804 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4805 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4806 esac; \
4807 srcdiroption="--srcdir=$${topdir}/binutils"; \
4808 libsrcdir="$$s/binutils"; \
4809 $(SHELL) $${libsrcdir}/configure \
4810 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4811 --target=${target_alias} $${srcdiroption} \
4812 --with-build-libsubdir=$(HOST_SUBDIR) \
4813 $(STAGE2_CONFIGURE_FLAGS)
4814 @endif binutils-bootstrap
4816 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
4817 maybe-configure-stage3-binutils:
4818 @if binutils-bootstrap
4819 maybe-configure-stage3-binutils: configure-stage3-binutils
4820 configure-stage3-binutils:
4821 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4822 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4823 @r=`${PWD_COMMAND}`; export r; \
4824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4825 TFLAGS="$(STAGE3_TFLAGS)"; \
4826 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4827 $(HOST_EXPORTS) \
4828 $(POSTSTAGE1_HOST_EXPORTS) \
4829 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
4830 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
4831 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
4832 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
4833 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4834 cd $(HOST_SUBDIR)/binutils || exit 1; \
4835 case $(srcdir) in \
4836 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4837 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4838 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4839 esac; \
4840 srcdiroption="--srcdir=$${topdir}/binutils"; \
4841 libsrcdir="$$s/binutils"; \
4842 $(SHELL) $${libsrcdir}/configure \
4843 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4844 --target=${target_alias} $${srcdiroption} \
4845 --with-build-libsubdir=$(HOST_SUBDIR) \
4846 $(STAGE3_CONFIGURE_FLAGS)
4847 @endif binutils-bootstrap
4849 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
4850 maybe-configure-stage4-binutils:
4851 @if binutils-bootstrap
4852 maybe-configure-stage4-binutils: configure-stage4-binutils
4853 configure-stage4-binutils:
4854 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4855 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4856 @r=`${PWD_COMMAND}`; export r; \
4857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4858 TFLAGS="$(STAGE4_TFLAGS)"; \
4859 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4860 $(HOST_EXPORTS) \
4861 $(POSTSTAGE1_HOST_EXPORTS) \
4862 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
4863 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
4864 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
4865 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
4866 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4867 cd $(HOST_SUBDIR)/binutils || exit 1; \
4868 case $(srcdir) in \
4869 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4870 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4871 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4872 esac; \
4873 srcdiroption="--srcdir=$${topdir}/binutils"; \
4874 libsrcdir="$$s/binutils"; \
4875 $(SHELL) $${libsrcdir}/configure \
4876 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4877 --target=${target_alias} $${srcdiroption} \
4878 --with-build-libsubdir=$(HOST_SUBDIR) \
4879 $(STAGE4_CONFIGURE_FLAGS)
4880 @endif binutils-bootstrap
4882 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
4883 maybe-configure-stageprofile-binutils:
4884 @if binutils-bootstrap
4885 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
4886 configure-stageprofile-binutils:
4887 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4888 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4889 @r=`${PWD_COMMAND}`; export r; \
4890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4891 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4892 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4893 $(HOST_EXPORTS) \
4894 $(POSTSTAGE1_HOST_EXPORTS) \
4895 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4896 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4897 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4898 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
4899 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4900 cd $(HOST_SUBDIR)/binutils || exit 1; \
4901 case $(srcdir) in \
4902 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4903 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4904 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4905 esac; \
4906 srcdiroption="--srcdir=$${topdir}/binutils"; \
4907 libsrcdir="$$s/binutils"; \
4908 $(SHELL) $${libsrcdir}/configure \
4909 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4910 --target=${target_alias} $${srcdiroption} \
4911 --with-build-libsubdir=$(HOST_SUBDIR) \
4912 $(STAGEprofile_CONFIGURE_FLAGS)
4913 @endif binutils-bootstrap
4915 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
4916 maybe-configure-stagefeedback-binutils:
4917 @if binutils-bootstrap
4918 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
4919 configure-stagefeedback-binutils:
4920 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4921 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4922 @r=`${PWD_COMMAND}`; export r; \
4923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4924 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4925 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4926 $(HOST_EXPORTS) \
4927 $(POSTSTAGE1_HOST_EXPORTS) \
4928 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4929 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4930 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4931 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
4932 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4933 cd $(HOST_SUBDIR)/binutils || exit 1; \
4934 case $(srcdir) in \
4935 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4936 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4937 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4938 esac; \
4939 srcdiroption="--srcdir=$${topdir}/binutils"; \
4940 libsrcdir="$$s/binutils"; \
4941 $(SHELL) $${libsrcdir}/configure \
4942 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4943 --target=${target_alias} $${srcdiroption} \
4944 --with-build-libsubdir=$(HOST_SUBDIR) \
4945 $(STAGEfeedback_CONFIGURE_FLAGS)
4946 @endif binutils-bootstrap
4952 .PHONY: all-binutils maybe-all-binutils
4953 maybe-all-binutils:
4954 @if gcc-bootstrap
4955 all-binutils: stage_current
4956 @endif gcc-bootstrap
4957 @if binutils
4958 TARGET-binutils=all
4959 maybe-all-binutils: all-binutils
4960 all-binutils: configure-binutils
4961 @r=`${PWD_COMMAND}`; export r; \
4962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4963 $(HOST_EXPORTS) \
4964 (cd $(HOST_SUBDIR)/binutils && \
4965 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
4966 $(TARGET-binutils))
4967 @endif binutils
4971 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
4972 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
4973 maybe-all-stage1-binutils:
4974 maybe-clean-stage1-binutils:
4975 @if binutils-bootstrap
4976 maybe-all-stage1-binutils: all-stage1-binutils
4977 all-stage1: all-stage1-binutils
4978 TARGET-stage1-binutils = $(TARGET-binutils)
4979 all-stage1-binutils: configure-stage1-binutils
4980 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4981 @r=`${PWD_COMMAND}`; export r; \
4982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4983 TFLAGS="$(STAGE1_TFLAGS)"; \
4984 $(HOST_EXPORTS) \
4985 cd $(HOST_SUBDIR)/binutils && \
4986 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4987 CFLAGS="$(STAGE1_CFLAGS)" \
4988 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4989 LIBCFLAGS="$(LIBCFLAGS)" \
4990 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4991 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4992 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4993 $(EXTRA_HOST_FLAGS) \
4994 $(STAGE1_FLAGS_TO_PASS) \
4995 TFLAGS="$(STAGE1_TFLAGS)" \
4996 $(TARGET-stage1-binutils)
4998 maybe-clean-stage1-binutils: clean-stage1-binutils
4999 clean-stage1: clean-stage1-binutils
5000 clean-stage1-binutils:
5001 @if [ $(current_stage) = stage1 ]; then \
5002 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5003 else \
5004 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
5005 $(MAKE) stage1-start; \
5006 fi; \
5007 cd $(HOST_SUBDIR)/binutils && \
5008 $(MAKE) $(EXTRA_HOST_FLAGS) \
5009 $(STAGE1_FLAGS_TO_PASS) clean
5010 @endif binutils-bootstrap
5013 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
5014 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
5015 maybe-all-stage2-binutils:
5016 maybe-clean-stage2-binutils:
5017 @if binutils-bootstrap
5018 maybe-all-stage2-binutils: all-stage2-binutils
5019 all-stage2: all-stage2-binutils
5020 TARGET-stage2-binutils = $(TARGET-binutils)
5021 all-stage2-binutils: configure-stage2-binutils
5022 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5023 @r=`${PWD_COMMAND}`; export r; \
5024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5025 TFLAGS="$(STAGE2_TFLAGS)"; \
5026 $(HOST_EXPORTS) \
5027 $(POSTSTAGE1_HOST_EXPORTS) \
5028 cd $(HOST_SUBDIR)/binutils && \
5029 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5030 CFLAGS="$(STAGE2_CFLAGS)" \
5031 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
5032 LIBCFLAGS="$(STAGE2_CFLAGS)" \
5033 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5034 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5035 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5036 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5037 TFLAGS="$(STAGE2_TFLAGS)" \
5038 $(TARGET-stage2-binutils)
5040 maybe-clean-stage2-binutils: clean-stage2-binutils
5041 clean-stage2: clean-stage2-binutils
5042 clean-stage2-binutils:
5043 @if [ $(current_stage) = stage2 ]; then \
5044 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5045 else \
5046 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
5047 $(MAKE) stage2-start; \
5048 fi; \
5049 cd $(HOST_SUBDIR)/binutils && \
5050 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5051 @endif binutils-bootstrap
5054 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5055 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5056 maybe-all-stage3-binutils:
5057 maybe-clean-stage3-binutils:
5058 @if binutils-bootstrap
5059 maybe-all-stage3-binutils: all-stage3-binutils
5060 all-stage3: all-stage3-binutils
5061 TARGET-stage3-binutils = $(TARGET-binutils)
5062 all-stage3-binutils: configure-stage3-binutils
5063 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5064 @r=`${PWD_COMMAND}`; export r; \
5065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5066 TFLAGS="$(STAGE3_TFLAGS)"; \
5067 $(HOST_EXPORTS) \
5068 $(POSTSTAGE1_HOST_EXPORTS) \
5069 cd $(HOST_SUBDIR)/binutils && \
5070 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5071 CFLAGS="$(STAGE3_CFLAGS)" \
5072 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
5073 LIBCFLAGS="$(STAGE3_CFLAGS)" \
5074 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5075 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5076 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5077 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5078 TFLAGS="$(STAGE3_TFLAGS)" \
5079 $(TARGET-stage3-binutils)
5081 maybe-clean-stage3-binutils: clean-stage3-binutils
5082 clean-stage3: clean-stage3-binutils
5083 clean-stage3-binutils:
5084 @if [ $(current_stage) = stage3 ]; then \
5085 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5086 else \
5087 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
5088 $(MAKE) stage3-start; \
5089 fi; \
5090 cd $(HOST_SUBDIR)/binutils && \
5091 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5092 @endif binutils-bootstrap
5095 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5096 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5097 maybe-all-stage4-binutils:
5098 maybe-clean-stage4-binutils:
5099 @if binutils-bootstrap
5100 maybe-all-stage4-binutils: all-stage4-binutils
5101 all-stage4: all-stage4-binutils
5102 TARGET-stage4-binutils = $(TARGET-binutils)
5103 all-stage4-binutils: configure-stage4-binutils
5104 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5105 @r=`${PWD_COMMAND}`; export r; \
5106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5107 TFLAGS="$(STAGE4_TFLAGS)"; \
5108 $(HOST_EXPORTS) \
5109 $(POSTSTAGE1_HOST_EXPORTS) \
5110 cd $(HOST_SUBDIR)/binutils && \
5111 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5112 CFLAGS="$(STAGE4_CFLAGS)" \
5113 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
5114 LIBCFLAGS="$(STAGE4_CFLAGS)" \
5115 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5116 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5117 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5118 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5119 TFLAGS="$(STAGE4_TFLAGS)" \
5120 $(TARGET-stage4-binutils)
5122 maybe-clean-stage4-binutils: clean-stage4-binutils
5123 clean-stage4: clean-stage4-binutils
5124 clean-stage4-binutils:
5125 @if [ $(current_stage) = stage4 ]; then \
5126 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5127 else \
5128 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
5129 $(MAKE) stage4-start; \
5130 fi; \
5131 cd $(HOST_SUBDIR)/binutils && \
5132 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5133 @endif binutils-bootstrap
5136 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5137 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5138 maybe-all-stageprofile-binutils:
5139 maybe-clean-stageprofile-binutils:
5140 @if binutils-bootstrap
5141 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5142 all-stageprofile: all-stageprofile-binutils
5143 TARGET-stageprofile-binutils = $(TARGET-binutils)
5144 all-stageprofile-binutils: configure-stageprofile-binutils
5145 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5146 @r=`${PWD_COMMAND}`; export r; \
5147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5148 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5149 $(HOST_EXPORTS) \
5150 $(POSTSTAGE1_HOST_EXPORTS) \
5151 cd $(HOST_SUBDIR)/binutils && \
5152 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5153 CFLAGS="$(STAGEprofile_CFLAGS)" \
5154 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
5155 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
5156 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5157 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5158 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5159 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5160 TFLAGS="$(STAGEprofile_TFLAGS)" \
5161 $(TARGET-stageprofile-binutils)
5163 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5164 clean-stageprofile: clean-stageprofile-binutils
5165 clean-stageprofile-binutils:
5166 @if [ $(current_stage) = stageprofile ]; then \
5167 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5168 else \
5169 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
5170 $(MAKE) stageprofile-start; \
5171 fi; \
5172 cd $(HOST_SUBDIR)/binutils && \
5173 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5174 @endif binutils-bootstrap
5177 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5178 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5179 maybe-all-stagefeedback-binutils:
5180 maybe-clean-stagefeedback-binutils:
5181 @if binutils-bootstrap
5182 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5183 all-stagefeedback: all-stagefeedback-binutils
5184 TARGET-stagefeedback-binutils = $(TARGET-binutils)
5185 all-stagefeedback-binutils: configure-stagefeedback-binutils
5186 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5187 @r=`${PWD_COMMAND}`; export r; \
5188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5189 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5190 $(HOST_EXPORTS) \
5191 $(POSTSTAGE1_HOST_EXPORTS) \
5192 cd $(HOST_SUBDIR)/binutils && \
5193 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5194 CFLAGS="$(STAGEfeedback_CFLAGS)" \
5195 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
5196 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
5197 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5198 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5199 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5200 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5201 TFLAGS="$(STAGEfeedback_TFLAGS)" \
5202 $(TARGET-stagefeedback-binutils)
5204 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5205 clean-stagefeedback: clean-stagefeedback-binutils
5206 clean-stagefeedback-binutils:
5207 @if [ $(current_stage) = stagefeedback ]; then \
5208 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5209 else \
5210 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
5211 $(MAKE) stagefeedback-start; \
5212 fi; \
5213 cd $(HOST_SUBDIR)/binutils && \
5214 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5215 @endif binutils-bootstrap
5221 .PHONY: check-binutils maybe-check-binutils
5222 maybe-check-binutils:
5223 @if binutils
5224 maybe-check-binutils: check-binutils
5226 check-binutils:
5227 @: $(MAKE); $(unstage)
5228 @r=`${PWD_COMMAND}`; export r; \
5229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5230 $(HOST_EXPORTS) \
5231 (cd $(HOST_SUBDIR)/binutils && \
5232 $(MAKE) $(FLAGS_TO_PASS) check)
5234 @endif binutils
5236 .PHONY: install-binutils maybe-install-binutils
5237 maybe-install-binutils:
5238 @if binutils
5239 maybe-install-binutils: install-binutils
5241 install-binutils: installdirs
5242 @: $(MAKE); $(unstage)
5243 @r=`${PWD_COMMAND}`; export r; \
5244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5245 $(HOST_EXPORTS) \
5246 (cd $(HOST_SUBDIR)/binutils && \
5247 $(MAKE) $(FLAGS_TO_PASS) install)
5249 @endif binutils
5251 .PHONY: install-strip-binutils maybe-install-strip-binutils
5252 maybe-install-strip-binutils:
5253 @if binutils
5254 maybe-install-strip-binutils: install-strip-binutils
5256 install-strip-binutils: installdirs
5257 @: $(MAKE); $(unstage)
5258 @r=`${PWD_COMMAND}`; export r; \
5259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5260 $(HOST_EXPORTS) \
5261 (cd $(HOST_SUBDIR)/binutils && \
5262 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5264 @endif binutils
5266 # Other targets (info, dvi, pdf, etc.)
5268 .PHONY: maybe-info-binutils info-binutils
5269 maybe-info-binutils:
5270 @if binutils
5271 maybe-info-binutils: info-binutils
5273 info-binutils: \
5274 configure-binutils
5275 @[ -f ./binutils/Makefile ] || exit 0; \
5276 r=`${PWD_COMMAND}`; export r; \
5277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5278 $(HOST_EXPORTS) \
5279 for flag in $(EXTRA_HOST_FLAGS) ; do \
5280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5281 done; \
5282 echo "Doing info in binutils" ; \
5283 (cd $(HOST_SUBDIR)/binutils && \
5284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5286 "RANLIB=$${RANLIB}" \
5287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5288 info) \
5289 || exit 1
5291 @endif binutils
5293 .PHONY: maybe-dvi-binutils dvi-binutils
5294 maybe-dvi-binutils:
5295 @if binutils
5296 maybe-dvi-binutils: dvi-binutils
5298 dvi-binutils: \
5299 configure-binutils
5300 @[ -f ./binutils/Makefile ] || exit 0; \
5301 r=`${PWD_COMMAND}`; export r; \
5302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5303 $(HOST_EXPORTS) \
5304 for flag in $(EXTRA_HOST_FLAGS) ; do \
5305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5306 done; \
5307 echo "Doing dvi in binutils" ; \
5308 (cd $(HOST_SUBDIR)/binutils && \
5309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5311 "RANLIB=$${RANLIB}" \
5312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5313 dvi) \
5314 || exit 1
5316 @endif binutils
5318 .PHONY: maybe-pdf-binutils pdf-binutils
5319 maybe-pdf-binutils:
5320 @if binutils
5321 maybe-pdf-binutils: pdf-binutils
5323 pdf-binutils: \
5324 configure-binutils
5325 @[ -f ./binutils/Makefile ] || exit 0; \
5326 r=`${PWD_COMMAND}`; export r; \
5327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5328 $(HOST_EXPORTS) \
5329 for flag in $(EXTRA_HOST_FLAGS) ; do \
5330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5331 done; \
5332 echo "Doing pdf in binutils" ; \
5333 (cd $(HOST_SUBDIR)/binutils && \
5334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5336 "RANLIB=$${RANLIB}" \
5337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5338 pdf) \
5339 || exit 1
5341 @endif binutils
5343 .PHONY: maybe-html-binutils html-binutils
5344 maybe-html-binutils:
5345 @if binutils
5346 maybe-html-binutils: html-binutils
5348 html-binutils: \
5349 configure-binutils
5350 @[ -f ./binutils/Makefile ] || exit 0; \
5351 r=`${PWD_COMMAND}`; export r; \
5352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5353 $(HOST_EXPORTS) \
5354 for flag in $(EXTRA_HOST_FLAGS) ; do \
5355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5356 done; \
5357 echo "Doing html in binutils" ; \
5358 (cd $(HOST_SUBDIR)/binutils && \
5359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5361 "RANLIB=$${RANLIB}" \
5362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5363 html) \
5364 || exit 1
5366 @endif binutils
5368 .PHONY: maybe-TAGS-binutils TAGS-binutils
5369 maybe-TAGS-binutils:
5370 @if binutils
5371 maybe-TAGS-binutils: TAGS-binutils
5373 TAGS-binutils: \
5374 configure-binutils
5375 @[ -f ./binutils/Makefile ] || exit 0; \
5376 r=`${PWD_COMMAND}`; export r; \
5377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5378 $(HOST_EXPORTS) \
5379 for flag in $(EXTRA_HOST_FLAGS) ; do \
5380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5381 done; \
5382 echo "Doing TAGS in binutils" ; \
5383 (cd $(HOST_SUBDIR)/binutils && \
5384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5386 "RANLIB=$${RANLIB}" \
5387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5388 TAGS) \
5389 || exit 1
5391 @endif binutils
5393 .PHONY: maybe-install-info-binutils install-info-binutils
5394 maybe-install-info-binutils:
5395 @if binutils
5396 maybe-install-info-binutils: install-info-binutils
5398 install-info-binutils: \
5399 configure-binutils \
5400 info-binutils
5401 @[ -f ./binutils/Makefile ] || exit 0; \
5402 r=`${PWD_COMMAND}`; export r; \
5403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5404 $(HOST_EXPORTS) \
5405 for flag in $(EXTRA_HOST_FLAGS) ; do \
5406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5407 done; \
5408 echo "Doing install-info in binutils" ; \
5409 (cd $(HOST_SUBDIR)/binutils && \
5410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5412 "RANLIB=$${RANLIB}" \
5413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5414 install-info) \
5415 || exit 1
5417 @endif binutils
5419 .PHONY: maybe-install-pdf-binutils install-pdf-binutils
5420 maybe-install-pdf-binutils:
5421 @if binutils
5422 maybe-install-pdf-binutils: install-pdf-binutils
5424 install-pdf-binutils: \
5425 configure-binutils \
5426 pdf-binutils
5427 @[ -f ./binutils/Makefile ] || exit 0; \
5428 r=`${PWD_COMMAND}`; export r; \
5429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5430 $(HOST_EXPORTS) \
5431 for flag in $(EXTRA_HOST_FLAGS) ; do \
5432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5433 done; \
5434 echo "Doing install-pdf in binutils" ; \
5435 (cd $(HOST_SUBDIR)/binutils && \
5436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5438 "RANLIB=$${RANLIB}" \
5439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5440 install-pdf) \
5441 || exit 1
5443 @endif binutils
5445 .PHONY: maybe-install-html-binutils install-html-binutils
5446 maybe-install-html-binutils:
5447 @if binutils
5448 maybe-install-html-binutils: install-html-binutils
5450 install-html-binutils: \
5451 configure-binutils \
5452 html-binutils
5453 @[ -f ./binutils/Makefile ] || exit 0; \
5454 r=`${PWD_COMMAND}`; export r; \
5455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5456 $(HOST_EXPORTS) \
5457 for flag in $(EXTRA_HOST_FLAGS) ; do \
5458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5459 done; \
5460 echo "Doing install-html in binutils" ; \
5461 (cd $(HOST_SUBDIR)/binutils && \
5462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5464 "RANLIB=$${RANLIB}" \
5465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5466 install-html) \
5467 || exit 1
5469 @endif binutils
5471 .PHONY: maybe-installcheck-binutils installcheck-binutils
5472 maybe-installcheck-binutils:
5473 @if binutils
5474 maybe-installcheck-binutils: installcheck-binutils
5476 installcheck-binutils: \
5477 configure-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 installcheck 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 installcheck) \
5492 || exit 1
5494 @endif binutils
5496 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
5497 maybe-mostlyclean-binutils:
5498 @if binutils
5499 maybe-mostlyclean-binutils: mostlyclean-binutils
5501 mostlyclean-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 mostlyclean 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 mostlyclean) \
5516 || exit 1
5518 @endif binutils
5520 .PHONY: maybe-clean-binutils clean-binutils
5521 maybe-clean-binutils:
5522 @if binutils
5523 maybe-clean-binutils: clean-binutils
5525 clean-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 clean 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 clean) \
5540 || exit 1
5542 @endif binutils
5544 .PHONY: maybe-distclean-binutils distclean-binutils
5545 maybe-distclean-binutils:
5546 @if binutils
5547 maybe-distclean-binutils: distclean-binutils
5549 distclean-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 distclean 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 distclean) \
5564 || exit 1
5566 @endif binutils
5568 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
5569 maybe-maintainer-clean-binutils:
5570 @if binutils
5571 maybe-maintainer-clean-binutils: maintainer-clean-binutils
5573 maintainer-clean-binutils:
5574 @[ -f ./binutils/Makefile ] || exit 0; \
5575 r=`${PWD_COMMAND}`; export r; \
5576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5577 $(HOST_EXPORTS) \
5578 for flag in $(EXTRA_HOST_FLAGS) ; do \
5579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5580 done; \
5581 echo "Doing maintainer-clean in binutils" ; \
5582 (cd $(HOST_SUBDIR)/binutils && \
5583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5585 "RANLIB=$${RANLIB}" \
5586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5587 maintainer-clean) \
5588 || exit 1
5590 @endif binutils
5594 .PHONY: configure-bison maybe-configure-bison
5595 maybe-configure-bison:
5596 @if gcc-bootstrap
5597 configure-bison: stage_current
5598 @endif gcc-bootstrap
5599 @if bison
5600 maybe-configure-bison: configure-bison
5601 configure-bison:
5602 @: $(MAKE); $(unstage)
5603 @r=`${PWD_COMMAND}`; export r; \
5604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5605 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
5606 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
5607 $(HOST_EXPORTS) \
5608 echo Configuring in $(HOST_SUBDIR)/bison; \
5609 cd "$(HOST_SUBDIR)/bison" || exit 1; \
5610 case $(srcdir) in \
5611 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5612 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
5613 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5614 esac; \
5615 srcdiroption="--srcdir=$${topdir}/bison"; \
5616 libsrcdir="$$s/bison"; \
5617 $(SHELL) $${libsrcdir}/configure \
5618 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5619 --target=${target_alias} $${srcdiroption} \
5620 || exit 1
5621 @endif bison
5627 .PHONY: all-bison maybe-all-bison
5628 maybe-all-bison:
5629 @if gcc-bootstrap
5630 all-bison: stage_current
5631 @endif gcc-bootstrap
5632 @if bison
5633 TARGET-bison=all
5634 maybe-all-bison: all-bison
5635 all-bison: configure-bison
5636 @: $(MAKE); $(unstage)
5637 @r=`${PWD_COMMAND}`; export r; \
5638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5639 $(HOST_EXPORTS) \
5640 (cd $(HOST_SUBDIR)/bison && \
5641 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
5642 $(TARGET-bison))
5643 @endif bison
5648 .PHONY: check-bison maybe-check-bison
5649 maybe-check-bison:
5650 @if bison
5651 maybe-check-bison: check-bison
5653 # This module is only tested in a native toolchain.
5654 check-bison:
5655 @: $(MAKE); $(unstage)
5656 @if [ '$(host)' = '$(target)' ] ; then \
5657 r=`${PWD_COMMAND}`; export r; \
5658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5659 $(HOST_EXPORTS) \
5660 (cd $(HOST_SUBDIR)/bison && \
5661 $(MAKE) $(FLAGS_TO_PASS) check); \
5664 @endif bison
5666 .PHONY: install-bison maybe-install-bison
5667 maybe-install-bison:
5668 @if bison
5669 maybe-install-bison: install-bison
5671 install-bison: installdirs
5672 @: $(MAKE); $(unstage)
5673 @r=`${PWD_COMMAND}`; export r; \
5674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5675 $(HOST_EXPORTS) \
5676 (cd $(HOST_SUBDIR)/bison && \
5677 $(MAKE) $(FLAGS_TO_PASS) install)
5679 @endif bison
5681 .PHONY: install-strip-bison maybe-install-strip-bison
5682 maybe-install-strip-bison:
5683 @if bison
5684 maybe-install-strip-bison: install-strip-bison
5686 install-strip-bison: installdirs
5687 @: $(MAKE); $(unstage)
5688 @r=`${PWD_COMMAND}`; export r; \
5689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5690 $(HOST_EXPORTS) \
5691 (cd $(HOST_SUBDIR)/bison && \
5692 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5694 @endif bison
5696 # Other targets (info, dvi, pdf, etc.)
5698 .PHONY: maybe-info-bison info-bison
5699 maybe-info-bison:
5700 @if bison
5701 maybe-info-bison: info-bison
5703 info-bison: \
5704 configure-bison
5705 @: $(MAKE); $(unstage)
5706 @[ -f ./bison/Makefile ] || exit 0; \
5707 r=`${PWD_COMMAND}`; export r; \
5708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5709 $(HOST_EXPORTS) \
5710 for flag in $(EXTRA_HOST_FLAGS) ; do \
5711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5712 done; \
5713 echo "Doing info in bison" ; \
5714 (cd $(HOST_SUBDIR)/bison && \
5715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5717 "RANLIB=$${RANLIB}" \
5718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5719 info) \
5720 || exit 1
5722 @endif bison
5724 .PHONY: maybe-dvi-bison dvi-bison
5725 maybe-dvi-bison:
5726 @if bison
5727 maybe-dvi-bison: dvi-bison
5729 dvi-bison: \
5730 configure-bison
5731 @: $(MAKE); $(unstage)
5732 @[ -f ./bison/Makefile ] || exit 0; \
5733 r=`${PWD_COMMAND}`; export r; \
5734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5735 $(HOST_EXPORTS) \
5736 for flag in $(EXTRA_HOST_FLAGS) ; do \
5737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5738 done; \
5739 echo "Doing dvi in bison" ; \
5740 (cd $(HOST_SUBDIR)/bison && \
5741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5743 "RANLIB=$${RANLIB}" \
5744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5745 dvi) \
5746 || exit 1
5748 @endif bison
5750 .PHONY: maybe-pdf-bison pdf-bison
5751 maybe-pdf-bison:
5752 @if bison
5753 maybe-pdf-bison: pdf-bison
5755 pdf-bison: \
5756 configure-bison
5757 @: $(MAKE); $(unstage)
5758 @[ -f ./bison/Makefile ] || exit 0; \
5759 r=`${PWD_COMMAND}`; export r; \
5760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5761 $(HOST_EXPORTS) \
5762 for flag in $(EXTRA_HOST_FLAGS) ; do \
5763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5764 done; \
5765 echo "Doing pdf in bison" ; \
5766 (cd $(HOST_SUBDIR)/bison && \
5767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5769 "RANLIB=$${RANLIB}" \
5770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5771 pdf) \
5772 || exit 1
5774 @endif bison
5776 .PHONY: maybe-html-bison html-bison
5777 maybe-html-bison:
5778 @if bison
5779 maybe-html-bison: html-bison
5781 html-bison: \
5782 configure-bison
5783 @: $(MAKE); $(unstage)
5784 @[ -f ./bison/Makefile ] || exit 0; \
5785 r=`${PWD_COMMAND}`; export r; \
5786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5787 $(HOST_EXPORTS) \
5788 for flag in $(EXTRA_HOST_FLAGS) ; do \
5789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5790 done; \
5791 echo "Doing html in bison" ; \
5792 (cd $(HOST_SUBDIR)/bison && \
5793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5795 "RANLIB=$${RANLIB}" \
5796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5797 html) \
5798 || exit 1
5800 @endif bison
5802 .PHONY: maybe-TAGS-bison TAGS-bison
5803 maybe-TAGS-bison:
5804 @if bison
5805 maybe-TAGS-bison: TAGS-bison
5807 TAGS-bison: \
5808 configure-bison
5809 @: $(MAKE); $(unstage)
5810 @[ -f ./bison/Makefile ] || exit 0; \
5811 r=`${PWD_COMMAND}`; export r; \
5812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5813 $(HOST_EXPORTS) \
5814 for flag in $(EXTRA_HOST_FLAGS) ; do \
5815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5816 done; \
5817 echo "Doing TAGS in bison" ; \
5818 (cd $(HOST_SUBDIR)/bison && \
5819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5821 "RANLIB=$${RANLIB}" \
5822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5823 TAGS) \
5824 || exit 1
5826 @endif bison
5828 .PHONY: maybe-install-info-bison install-info-bison
5829 maybe-install-info-bison:
5830 @if bison
5831 maybe-install-info-bison: install-info-bison
5833 install-info-bison: \
5834 configure-bison \
5835 info-bison
5836 @: $(MAKE); $(unstage)
5837 @[ -f ./bison/Makefile ] || exit 0; \
5838 r=`${PWD_COMMAND}`; export r; \
5839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5840 $(HOST_EXPORTS) \
5841 for flag in $(EXTRA_HOST_FLAGS) ; do \
5842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5843 done; \
5844 echo "Doing install-info in bison" ; \
5845 (cd $(HOST_SUBDIR)/bison && \
5846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5848 "RANLIB=$${RANLIB}" \
5849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5850 install-info) \
5851 || exit 1
5853 @endif bison
5855 .PHONY: maybe-install-pdf-bison install-pdf-bison
5856 maybe-install-pdf-bison:
5857 @if bison
5858 maybe-install-pdf-bison: install-pdf-bison
5860 install-pdf-bison: \
5861 configure-bison \
5862 pdf-bison
5863 @: $(MAKE); $(unstage)
5864 @[ -f ./bison/Makefile ] || exit 0; \
5865 r=`${PWD_COMMAND}`; export r; \
5866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5867 $(HOST_EXPORTS) \
5868 for flag in $(EXTRA_HOST_FLAGS) ; do \
5869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5870 done; \
5871 echo "Doing install-pdf in bison" ; \
5872 (cd $(HOST_SUBDIR)/bison && \
5873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5875 "RANLIB=$${RANLIB}" \
5876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5877 install-pdf) \
5878 || exit 1
5880 @endif bison
5882 .PHONY: maybe-install-html-bison install-html-bison
5883 maybe-install-html-bison:
5884 @if bison
5885 maybe-install-html-bison: install-html-bison
5887 install-html-bison: \
5888 configure-bison \
5889 html-bison
5890 @: $(MAKE); $(unstage)
5891 @[ -f ./bison/Makefile ] || exit 0; \
5892 r=`${PWD_COMMAND}`; export r; \
5893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5894 $(HOST_EXPORTS) \
5895 for flag in $(EXTRA_HOST_FLAGS) ; do \
5896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5897 done; \
5898 echo "Doing install-html in bison" ; \
5899 (cd $(HOST_SUBDIR)/bison && \
5900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5902 "RANLIB=$${RANLIB}" \
5903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5904 install-html) \
5905 || exit 1
5907 @endif bison
5909 .PHONY: maybe-installcheck-bison installcheck-bison
5910 maybe-installcheck-bison:
5911 @if bison
5912 maybe-installcheck-bison: installcheck-bison
5914 installcheck-bison: \
5915 configure-bison
5916 @: $(MAKE); $(unstage)
5917 @[ -f ./bison/Makefile ] || exit 0; \
5918 r=`${PWD_COMMAND}`; export r; \
5919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5920 $(HOST_EXPORTS) \
5921 for flag in $(EXTRA_HOST_FLAGS) ; do \
5922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5923 done; \
5924 echo "Doing installcheck in bison" ; \
5925 (cd $(HOST_SUBDIR)/bison && \
5926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5928 "RANLIB=$${RANLIB}" \
5929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5930 installcheck) \
5931 || exit 1
5933 @endif bison
5935 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
5936 maybe-mostlyclean-bison:
5937 @if bison
5938 maybe-mostlyclean-bison: mostlyclean-bison
5940 mostlyclean-bison:
5941 @: $(MAKE); $(unstage)
5942 @[ -f ./bison/Makefile ] || exit 0; \
5943 r=`${PWD_COMMAND}`; export r; \
5944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5945 $(HOST_EXPORTS) \
5946 for flag in $(EXTRA_HOST_FLAGS) ; do \
5947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5948 done; \
5949 echo "Doing mostlyclean in bison" ; \
5950 (cd $(HOST_SUBDIR)/bison && \
5951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5953 "RANLIB=$${RANLIB}" \
5954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5955 mostlyclean) \
5956 || exit 1
5958 @endif bison
5960 .PHONY: maybe-clean-bison clean-bison
5961 maybe-clean-bison:
5962 @if bison
5963 maybe-clean-bison: clean-bison
5965 clean-bison:
5966 @: $(MAKE); $(unstage)
5967 @[ -f ./bison/Makefile ] || exit 0; \
5968 r=`${PWD_COMMAND}`; export r; \
5969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5970 $(HOST_EXPORTS) \
5971 for flag in $(EXTRA_HOST_FLAGS) ; do \
5972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5973 done; \
5974 echo "Doing clean in bison" ; \
5975 (cd $(HOST_SUBDIR)/bison && \
5976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5978 "RANLIB=$${RANLIB}" \
5979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5980 clean) \
5981 || exit 1
5983 @endif bison
5985 .PHONY: maybe-distclean-bison distclean-bison
5986 maybe-distclean-bison:
5987 @if bison
5988 maybe-distclean-bison: distclean-bison
5990 distclean-bison:
5991 @: $(MAKE); $(unstage)
5992 @[ -f ./bison/Makefile ] || exit 0; \
5993 r=`${PWD_COMMAND}`; export r; \
5994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5995 $(HOST_EXPORTS) \
5996 for flag in $(EXTRA_HOST_FLAGS) ; do \
5997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5998 done; \
5999 echo "Doing distclean in bison" ; \
6000 (cd $(HOST_SUBDIR)/bison && \
6001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6003 "RANLIB=$${RANLIB}" \
6004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6005 distclean) \
6006 || exit 1
6008 @endif bison
6010 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
6011 maybe-maintainer-clean-bison:
6012 @if bison
6013 maybe-maintainer-clean-bison: maintainer-clean-bison
6015 maintainer-clean-bison:
6016 @: $(MAKE); $(unstage)
6017 @[ -f ./bison/Makefile ] || exit 0; \
6018 r=`${PWD_COMMAND}`; export r; \
6019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6020 $(HOST_EXPORTS) \
6021 for flag in $(EXTRA_HOST_FLAGS) ; do \
6022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6023 done; \
6024 echo "Doing maintainer-clean in bison" ; \
6025 (cd $(HOST_SUBDIR)/bison && \
6026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6028 "RANLIB=$${RANLIB}" \
6029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6030 maintainer-clean) \
6031 || exit 1
6033 @endif bison
6037 .PHONY: configure-cgen maybe-configure-cgen
6038 maybe-configure-cgen:
6039 @if gcc-bootstrap
6040 configure-cgen: stage_current
6041 @endif gcc-bootstrap
6042 @if cgen
6043 maybe-configure-cgen: configure-cgen
6044 configure-cgen:
6045 @: $(MAKE); $(unstage)
6046 @r=`${PWD_COMMAND}`; export r; \
6047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6048 test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \
6049 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen ; \
6050 $(HOST_EXPORTS) \
6051 echo Configuring in $(HOST_SUBDIR)/cgen; \
6052 cd "$(HOST_SUBDIR)/cgen" || exit 1; \
6053 case $(srcdir) in \
6054 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6055 *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \
6056 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6057 esac; \
6058 srcdiroption="--srcdir=$${topdir}/cgen"; \
6059 libsrcdir="$$s/cgen"; \
6060 $(SHELL) $${libsrcdir}/configure \
6061 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6062 --target=${target_alias} $${srcdiroption} \
6063 || exit 1
6064 @endif cgen
6070 .PHONY: all-cgen maybe-all-cgen
6071 maybe-all-cgen:
6072 @if gcc-bootstrap
6073 all-cgen: stage_current
6074 @endif gcc-bootstrap
6075 @if cgen
6076 TARGET-cgen=all
6077 maybe-all-cgen: all-cgen
6078 all-cgen: configure-cgen
6079 @: $(MAKE); $(unstage)
6080 @r=`${PWD_COMMAND}`; export r; \
6081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6082 $(HOST_EXPORTS) \
6083 (cd $(HOST_SUBDIR)/cgen && \
6084 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6085 $(TARGET-cgen))
6086 @endif cgen
6091 .PHONY: check-cgen maybe-check-cgen
6092 maybe-check-cgen:
6093 @if cgen
6094 maybe-check-cgen: check-cgen
6096 check-cgen:
6097 @: $(MAKE); $(unstage)
6098 @r=`${PWD_COMMAND}`; export r; \
6099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6100 $(HOST_EXPORTS) \
6101 (cd $(HOST_SUBDIR)/cgen && \
6102 $(MAKE) $(FLAGS_TO_PASS) check)
6104 @endif cgen
6106 .PHONY: install-cgen maybe-install-cgen
6107 maybe-install-cgen:
6108 @if cgen
6109 maybe-install-cgen: install-cgen
6111 install-cgen: installdirs
6112 @: $(MAKE); $(unstage)
6113 @r=`${PWD_COMMAND}`; export r; \
6114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6115 $(HOST_EXPORTS) \
6116 (cd $(HOST_SUBDIR)/cgen && \
6117 $(MAKE) $(FLAGS_TO_PASS) install)
6119 @endif cgen
6121 .PHONY: install-strip-cgen maybe-install-strip-cgen
6122 maybe-install-strip-cgen:
6123 @if cgen
6124 maybe-install-strip-cgen: install-strip-cgen
6126 install-strip-cgen: installdirs
6127 @: $(MAKE); $(unstage)
6128 @r=`${PWD_COMMAND}`; export r; \
6129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6130 $(HOST_EXPORTS) \
6131 (cd $(HOST_SUBDIR)/cgen && \
6132 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6134 @endif cgen
6136 # Other targets (info, dvi, pdf, etc.)
6138 .PHONY: maybe-info-cgen info-cgen
6139 maybe-info-cgen:
6140 @if cgen
6141 maybe-info-cgen: info-cgen
6143 info-cgen: \
6144 configure-cgen
6145 @: $(MAKE); $(unstage)
6146 @[ -f ./cgen/Makefile ] || exit 0; \
6147 r=`${PWD_COMMAND}`; export r; \
6148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6149 $(HOST_EXPORTS) \
6150 for flag in $(EXTRA_HOST_FLAGS) ; do \
6151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6152 done; \
6153 echo "Doing info in cgen" ; \
6154 (cd $(HOST_SUBDIR)/cgen && \
6155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6157 "RANLIB=$${RANLIB}" \
6158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6159 info) \
6160 || exit 1
6162 @endif cgen
6164 .PHONY: maybe-dvi-cgen dvi-cgen
6165 maybe-dvi-cgen:
6166 @if cgen
6167 maybe-dvi-cgen: dvi-cgen
6169 dvi-cgen: \
6170 configure-cgen
6171 @: $(MAKE); $(unstage)
6172 @[ -f ./cgen/Makefile ] || exit 0; \
6173 r=`${PWD_COMMAND}`; export r; \
6174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6175 $(HOST_EXPORTS) \
6176 for flag in $(EXTRA_HOST_FLAGS) ; do \
6177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6178 done; \
6179 echo "Doing dvi in cgen" ; \
6180 (cd $(HOST_SUBDIR)/cgen && \
6181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6183 "RANLIB=$${RANLIB}" \
6184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6185 dvi) \
6186 || exit 1
6188 @endif cgen
6190 .PHONY: maybe-pdf-cgen pdf-cgen
6191 maybe-pdf-cgen:
6192 @if cgen
6193 maybe-pdf-cgen: pdf-cgen
6195 pdf-cgen: \
6196 configure-cgen
6197 @: $(MAKE); $(unstage)
6198 @[ -f ./cgen/Makefile ] || exit 0; \
6199 r=`${PWD_COMMAND}`; export r; \
6200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6201 $(HOST_EXPORTS) \
6202 for flag in $(EXTRA_HOST_FLAGS) ; do \
6203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6204 done; \
6205 echo "Doing pdf in cgen" ; \
6206 (cd $(HOST_SUBDIR)/cgen && \
6207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6209 "RANLIB=$${RANLIB}" \
6210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6211 pdf) \
6212 || exit 1
6214 @endif cgen
6216 .PHONY: maybe-html-cgen html-cgen
6217 maybe-html-cgen:
6218 @if cgen
6219 maybe-html-cgen: html-cgen
6221 html-cgen: \
6222 configure-cgen
6223 @: $(MAKE); $(unstage)
6224 @[ -f ./cgen/Makefile ] || exit 0; \
6225 r=`${PWD_COMMAND}`; export r; \
6226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6227 $(HOST_EXPORTS) \
6228 for flag in $(EXTRA_HOST_FLAGS) ; do \
6229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6230 done; \
6231 echo "Doing html in cgen" ; \
6232 (cd $(HOST_SUBDIR)/cgen && \
6233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6235 "RANLIB=$${RANLIB}" \
6236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6237 html) \
6238 || exit 1
6240 @endif cgen
6242 .PHONY: maybe-TAGS-cgen TAGS-cgen
6243 maybe-TAGS-cgen:
6244 @if cgen
6245 maybe-TAGS-cgen: TAGS-cgen
6247 TAGS-cgen: \
6248 configure-cgen
6249 @: $(MAKE); $(unstage)
6250 @[ -f ./cgen/Makefile ] || exit 0; \
6251 r=`${PWD_COMMAND}`; export r; \
6252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6253 $(HOST_EXPORTS) \
6254 for flag in $(EXTRA_HOST_FLAGS) ; do \
6255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6256 done; \
6257 echo "Doing TAGS in cgen" ; \
6258 (cd $(HOST_SUBDIR)/cgen && \
6259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6261 "RANLIB=$${RANLIB}" \
6262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6263 TAGS) \
6264 || exit 1
6266 @endif cgen
6268 .PHONY: maybe-install-info-cgen install-info-cgen
6269 maybe-install-info-cgen:
6270 @if cgen
6271 maybe-install-info-cgen: install-info-cgen
6273 install-info-cgen: \
6274 configure-cgen \
6275 info-cgen
6276 @: $(MAKE); $(unstage)
6277 @[ -f ./cgen/Makefile ] || exit 0; \
6278 r=`${PWD_COMMAND}`; export r; \
6279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6280 $(HOST_EXPORTS) \
6281 for flag in $(EXTRA_HOST_FLAGS) ; do \
6282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6283 done; \
6284 echo "Doing install-info in cgen" ; \
6285 (cd $(HOST_SUBDIR)/cgen && \
6286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6288 "RANLIB=$${RANLIB}" \
6289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6290 install-info) \
6291 || exit 1
6293 @endif cgen
6295 .PHONY: maybe-install-pdf-cgen install-pdf-cgen
6296 maybe-install-pdf-cgen:
6297 @if cgen
6298 maybe-install-pdf-cgen: install-pdf-cgen
6300 install-pdf-cgen: \
6301 configure-cgen \
6302 pdf-cgen
6303 @: $(MAKE); $(unstage)
6304 @[ -f ./cgen/Makefile ] || exit 0; \
6305 r=`${PWD_COMMAND}`; export r; \
6306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6307 $(HOST_EXPORTS) \
6308 for flag in $(EXTRA_HOST_FLAGS) ; do \
6309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6310 done; \
6311 echo "Doing install-pdf in cgen" ; \
6312 (cd $(HOST_SUBDIR)/cgen && \
6313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6315 "RANLIB=$${RANLIB}" \
6316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6317 install-pdf) \
6318 || exit 1
6320 @endif cgen
6322 .PHONY: maybe-install-html-cgen install-html-cgen
6323 maybe-install-html-cgen:
6324 @if cgen
6325 maybe-install-html-cgen: install-html-cgen
6327 install-html-cgen: \
6328 configure-cgen \
6329 html-cgen
6330 @: $(MAKE); $(unstage)
6331 @[ -f ./cgen/Makefile ] || exit 0; \
6332 r=`${PWD_COMMAND}`; export r; \
6333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6334 $(HOST_EXPORTS) \
6335 for flag in $(EXTRA_HOST_FLAGS) ; do \
6336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6337 done; \
6338 echo "Doing install-html in cgen" ; \
6339 (cd $(HOST_SUBDIR)/cgen && \
6340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6342 "RANLIB=$${RANLIB}" \
6343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6344 install-html) \
6345 || exit 1
6347 @endif cgen
6349 .PHONY: maybe-installcheck-cgen installcheck-cgen
6350 maybe-installcheck-cgen:
6351 @if cgen
6352 maybe-installcheck-cgen: installcheck-cgen
6354 installcheck-cgen: \
6355 configure-cgen
6356 @: $(MAKE); $(unstage)
6357 @[ -f ./cgen/Makefile ] || exit 0; \
6358 r=`${PWD_COMMAND}`; export r; \
6359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6360 $(HOST_EXPORTS) \
6361 for flag in $(EXTRA_HOST_FLAGS) ; do \
6362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6363 done; \
6364 echo "Doing installcheck in cgen" ; \
6365 (cd $(HOST_SUBDIR)/cgen && \
6366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6368 "RANLIB=$${RANLIB}" \
6369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6370 installcheck) \
6371 || exit 1
6373 @endif cgen
6375 .PHONY: maybe-mostlyclean-cgen mostlyclean-cgen
6376 maybe-mostlyclean-cgen:
6377 @if cgen
6378 maybe-mostlyclean-cgen: mostlyclean-cgen
6380 mostlyclean-cgen:
6381 @: $(MAKE); $(unstage)
6382 @[ -f ./cgen/Makefile ] || exit 0; \
6383 r=`${PWD_COMMAND}`; export r; \
6384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6385 $(HOST_EXPORTS) \
6386 for flag in $(EXTRA_HOST_FLAGS) ; do \
6387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6388 done; \
6389 echo "Doing mostlyclean in cgen" ; \
6390 (cd $(HOST_SUBDIR)/cgen && \
6391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6393 "RANLIB=$${RANLIB}" \
6394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6395 mostlyclean) \
6396 || exit 1
6398 @endif cgen
6400 .PHONY: maybe-clean-cgen clean-cgen
6401 maybe-clean-cgen:
6402 @if cgen
6403 maybe-clean-cgen: clean-cgen
6405 clean-cgen:
6406 @: $(MAKE); $(unstage)
6407 @[ -f ./cgen/Makefile ] || exit 0; \
6408 r=`${PWD_COMMAND}`; export r; \
6409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6410 $(HOST_EXPORTS) \
6411 for flag in $(EXTRA_HOST_FLAGS) ; do \
6412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6413 done; \
6414 echo "Doing clean in cgen" ; \
6415 (cd $(HOST_SUBDIR)/cgen && \
6416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6418 "RANLIB=$${RANLIB}" \
6419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6420 clean) \
6421 || exit 1
6423 @endif cgen
6425 .PHONY: maybe-distclean-cgen distclean-cgen
6426 maybe-distclean-cgen:
6427 @if cgen
6428 maybe-distclean-cgen: distclean-cgen
6430 distclean-cgen:
6431 @: $(MAKE); $(unstage)
6432 @[ -f ./cgen/Makefile ] || exit 0; \
6433 r=`${PWD_COMMAND}`; export r; \
6434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6435 $(HOST_EXPORTS) \
6436 for flag in $(EXTRA_HOST_FLAGS) ; do \
6437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6438 done; \
6439 echo "Doing distclean in cgen" ; \
6440 (cd $(HOST_SUBDIR)/cgen && \
6441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6443 "RANLIB=$${RANLIB}" \
6444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6445 distclean) \
6446 || exit 1
6448 @endif cgen
6450 .PHONY: maybe-maintainer-clean-cgen maintainer-clean-cgen
6451 maybe-maintainer-clean-cgen:
6452 @if cgen
6453 maybe-maintainer-clean-cgen: maintainer-clean-cgen
6455 maintainer-clean-cgen:
6456 @: $(MAKE); $(unstage)
6457 @[ -f ./cgen/Makefile ] || exit 0; \
6458 r=`${PWD_COMMAND}`; export r; \
6459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6460 $(HOST_EXPORTS) \
6461 for flag in $(EXTRA_HOST_FLAGS) ; do \
6462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6463 done; \
6464 echo "Doing maintainer-clean in cgen" ; \
6465 (cd $(HOST_SUBDIR)/cgen && \
6466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6468 "RANLIB=$${RANLIB}" \
6469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6470 maintainer-clean) \
6471 || exit 1
6473 @endif cgen
6477 .PHONY: configure-dejagnu maybe-configure-dejagnu
6478 maybe-configure-dejagnu:
6479 @if gcc-bootstrap
6480 configure-dejagnu: stage_current
6481 @endif gcc-bootstrap
6482 @if dejagnu
6483 maybe-configure-dejagnu: configure-dejagnu
6484 configure-dejagnu:
6485 @: $(MAKE); $(unstage)
6486 @r=`${PWD_COMMAND}`; export r; \
6487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6488 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
6489 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
6490 $(HOST_EXPORTS) \
6491 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
6492 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
6493 case $(srcdir) in \
6494 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6495 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
6496 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6497 esac; \
6498 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
6499 libsrcdir="$$s/dejagnu"; \
6500 $(SHELL) $${libsrcdir}/configure \
6501 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6502 --target=${target_alias} $${srcdiroption} \
6503 || exit 1
6504 @endif dejagnu
6510 .PHONY: all-dejagnu maybe-all-dejagnu
6511 maybe-all-dejagnu:
6512 @if gcc-bootstrap
6513 all-dejagnu: stage_current
6514 @endif gcc-bootstrap
6515 @if dejagnu
6516 TARGET-dejagnu=all
6517 maybe-all-dejagnu: all-dejagnu
6518 all-dejagnu: configure-dejagnu
6519 @: $(MAKE); $(unstage)
6520 @r=`${PWD_COMMAND}`; export r; \
6521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6522 $(HOST_EXPORTS) \
6523 (cd $(HOST_SUBDIR)/dejagnu && \
6524 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6525 $(TARGET-dejagnu))
6526 @endif dejagnu
6531 .PHONY: check-dejagnu maybe-check-dejagnu
6532 maybe-check-dejagnu:
6533 @if dejagnu
6534 maybe-check-dejagnu: check-dejagnu
6536 check-dejagnu:
6537 @: $(MAKE); $(unstage)
6538 @r=`${PWD_COMMAND}`; export r; \
6539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6540 $(HOST_EXPORTS) \
6541 (cd $(HOST_SUBDIR)/dejagnu && \
6542 $(MAKE) $(FLAGS_TO_PASS) check)
6544 @endif dejagnu
6546 .PHONY: install-dejagnu maybe-install-dejagnu
6547 maybe-install-dejagnu:
6548 @if dejagnu
6549 maybe-install-dejagnu: install-dejagnu
6551 install-dejagnu: installdirs
6552 @: $(MAKE); $(unstage)
6553 @r=`${PWD_COMMAND}`; export r; \
6554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6555 $(HOST_EXPORTS) \
6556 (cd $(HOST_SUBDIR)/dejagnu && \
6557 $(MAKE) $(FLAGS_TO_PASS) install)
6559 @endif dejagnu
6561 .PHONY: install-strip-dejagnu maybe-install-strip-dejagnu
6562 maybe-install-strip-dejagnu:
6563 @if dejagnu
6564 maybe-install-strip-dejagnu: install-strip-dejagnu
6566 install-strip-dejagnu: installdirs
6567 @: $(MAKE); $(unstage)
6568 @r=`${PWD_COMMAND}`; export r; \
6569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6570 $(HOST_EXPORTS) \
6571 (cd $(HOST_SUBDIR)/dejagnu && \
6572 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6574 @endif dejagnu
6576 # Other targets (info, dvi, pdf, etc.)
6578 .PHONY: maybe-info-dejagnu info-dejagnu
6579 maybe-info-dejagnu:
6580 @if dejagnu
6581 maybe-info-dejagnu: info-dejagnu
6583 info-dejagnu: \
6584 configure-dejagnu
6585 @: $(MAKE); $(unstage)
6586 @[ -f ./dejagnu/Makefile ] || exit 0; \
6587 r=`${PWD_COMMAND}`; export r; \
6588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6589 $(HOST_EXPORTS) \
6590 for flag in $(EXTRA_HOST_FLAGS) ; do \
6591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6592 done; \
6593 echo "Doing info in dejagnu" ; \
6594 (cd $(HOST_SUBDIR)/dejagnu && \
6595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6597 "RANLIB=$${RANLIB}" \
6598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6599 info) \
6600 || exit 1
6602 @endif dejagnu
6604 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
6605 maybe-dvi-dejagnu:
6606 @if dejagnu
6607 maybe-dvi-dejagnu: dvi-dejagnu
6609 dvi-dejagnu: \
6610 configure-dejagnu
6611 @: $(MAKE); $(unstage)
6612 @[ -f ./dejagnu/Makefile ] || exit 0; \
6613 r=`${PWD_COMMAND}`; export r; \
6614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6615 $(HOST_EXPORTS) \
6616 for flag in $(EXTRA_HOST_FLAGS) ; do \
6617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6618 done; \
6619 echo "Doing dvi in dejagnu" ; \
6620 (cd $(HOST_SUBDIR)/dejagnu && \
6621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6623 "RANLIB=$${RANLIB}" \
6624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6625 dvi) \
6626 || exit 1
6628 @endif dejagnu
6630 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
6631 maybe-pdf-dejagnu:
6632 @if dejagnu
6633 maybe-pdf-dejagnu: pdf-dejagnu
6635 pdf-dejagnu: \
6636 configure-dejagnu
6637 @: $(MAKE); $(unstage)
6638 @[ -f ./dejagnu/Makefile ] || exit 0; \
6639 r=`${PWD_COMMAND}`; export r; \
6640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6641 $(HOST_EXPORTS) \
6642 for flag in $(EXTRA_HOST_FLAGS) ; do \
6643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6644 done; \
6645 echo "Doing pdf in dejagnu" ; \
6646 (cd $(HOST_SUBDIR)/dejagnu && \
6647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6649 "RANLIB=$${RANLIB}" \
6650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6651 pdf) \
6652 || exit 1
6654 @endif dejagnu
6656 .PHONY: maybe-html-dejagnu html-dejagnu
6657 maybe-html-dejagnu:
6658 @if dejagnu
6659 maybe-html-dejagnu: html-dejagnu
6661 html-dejagnu: \
6662 configure-dejagnu
6663 @: $(MAKE); $(unstage)
6664 @[ -f ./dejagnu/Makefile ] || exit 0; \
6665 r=`${PWD_COMMAND}`; export r; \
6666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6667 $(HOST_EXPORTS) \
6668 for flag in $(EXTRA_HOST_FLAGS) ; do \
6669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6670 done; \
6671 echo "Doing html in dejagnu" ; \
6672 (cd $(HOST_SUBDIR)/dejagnu && \
6673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6675 "RANLIB=$${RANLIB}" \
6676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6677 html) \
6678 || exit 1
6680 @endif dejagnu
6682 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
6683 maybe-TAGS-dejagnu:
6684 @if dejagnu
6685 maybe-TAGS-dejagnu: TAGS-dejagnu
6687 TAGS-dejagnu: \
6688 configure-dejagnu
6689 @: $(MAKE); $(unstage)
6690 @[ -f ./dejagnu/Makefile ] || exit 0; \
6691 r=`${PWD_COMMAND}`; export r; \
6692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6693 $(HOST_EXPORTS) \
6694 for flag in $(EXTRA_HOST_FLAGS) ; do \
6695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6696 done; \
6697 echo "Doing TAGS in dejagnu" ; \
6698 (cd $(HOST_SUBDIR)/dejagnu && \
6699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6701 "RANLIB=$${RANLIB}" \
6702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6703 TAGS) \
6704 || exit 1
6706 @endif dejagnu
6708 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
6709 maybe-install-info-dejagnu:
6710 @if dejagnu
6711 maybe-install-info-dejagnu: install-info-dejagnu
6713 install-info-dejagnu: \
6714 configure-dejagnu \
6715 info-dejagnu
6716 @: $(MAKE); $(unstage)
6717 @[ -f ./dejagnu/Makefile ] || exit 0; \
6718 r=`${PWD_COMMAND}`; export r; \
6719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6720 $(HOST_EXPORTS) \
6721 for flag in $(EXTRA_HOST_FLAGS) ; do \
6722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6723 done; \
6724 echo "Doing install-info in dejagnu" ; \
6725 (cd $(HOST_SUBDIR)/dejagnu && \
6726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6728 "RANLIB=$${RANLIB}" \
6729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6730 install-info) \
6731 || exit 1
6733 @endif dejagnu
6735 .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu
6736 maybe-install-pdf-dejagnu:
6737 @if dejagnu
6738 maybe-install-pdf-dejagnu: install-pdf-dejagnu
6740 install-pdf-dejagnu: \
6741 configure-dejagnu \
6742 pdf-dejagnu
6743 @: $(MAKE); $(unstage)
6744 @[ -f ./dejagnu/Makefile ] || exit 0; \
6745 r=`${PWD_COMMAND}`; export r; \
6746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6747 $(HOST_EXPORTS) \
6748 for flag in $(EXTRA_HOST_FLAGS) ; do \
6749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6750 done; \
6751 echo "Doing install-pdf in dejagnu" ; \
6752 (cd $(HOST_SUBDIR)/dejagnu && \
6753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6755 "RANLIB=$${RANLIB}" \
6756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6757 install-pdf) \
6758 || exit 1
6760 @endif dejagnu
6762 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
6763 maybe-install-html-dejagnu:
6764 @if dejagnu
6765 maybe-install-html-dejagnu: install-html-dejagnu
6767 install-html-dejagnu: \
6768 configure-dejagnu \
6769 html-dejagnu
6770 @: $(MAKE); $(unstage)
6771 @[ -f ./dejagnu/Makefile ] || exit 0; \
6772 r=`${PWD_COMMAND}`; export r; \
6773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6774 $(HOST_EXPORTS) \
6775 for flag in $(EXTRA_HOST_FLAGS) ; do \
6776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6777 done; \
6778 echo "Doing install-html in dejagnu" ; \
6779 (cd $(HOST_SUBDIR)/dejagnu && \
6780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6782 "RANLIB=$${RANLIB}" \
6783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6784 install-html) \
6785 || exit 1
6787 @endif dejagnu
6789 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
6790 maybe-installcheck-dejagnu:
6791 @if dejagnu
6792 maybe-installcheck-dejagnu: installcheck-dejagnu
6794 installcheck-dejagnu: \
6795 configure-dejagnu
6796 @: $(MAKE); $(unstage)
6797 @[ -f ./dejagnu/Makefile ] || exit 0; \
6798 r=`${PWD_COMMAND}`; export r; \
6799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6800 $(HOST_EXPORTS) \
6801 for flag in $(EXTRA_HOST_FLAGS) ; do \
6802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6803 done; \
6804 echo "Doing installcheck in dejagnu" ; \
6805 (cd $(HOST_SUBDIR)/dejagnu && \
6806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6808 "RANLIB=$${RANLIB}" \
6809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6810 installcheck) \
6811 || exit 1
6813 @endif dejagnu
6815 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
6816 maybe-mostlyclean-dejagnu:
6817 @if dejagnu
6818 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
6820 mostlyclean-dejagnu:
6821 @: $(MAKE); $(unstage)
6822 @[ -f ./dejagnu/Makefile ] || exit 0; \
6823 r=`${PWD_COMMAND}`; export r; \
6824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6825 $(HOST_EXPORTS) \
6826 for flag in $(EXTRA_HOST_FLAGS) ; do \
6827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6828 done; \
6829 echo "Doing mostlyclean in dejagnu" ; \
6830 (cd $(HOST_SUBDIR)/dejagnu && \
6831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6833 "RANLIB=$${RANLIB}" \
6834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6835 mostlyclean) \
6836 || exit 1
6838 @endif dejagnu
6840 .PHONY: maybe-clean-dejagnu clean-dejagnu
6841 maybe-clean-dejagnu:
6842 @if dejagnu
6843 maybe-clean-dejagnu: clean-dejagnu
6845 clean-dejagnu:
6846 @: $(MAKE); $(unstage)
6847 @[ -f ./dejagnu/Makefile ] || exit 0; \
6848 r=`${PWD_COMMAND}`; export r; \
6849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6850 $(HOST_EXPORTS) \
6851 for flag in $(EXTRA_HOST_FLAGS) ; do \
6852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6853 done; \
6854 echo "Doing clean in dejagnu" ; \
6855 (cd $(HOST_SUBDIR)/dejagnu && \
6856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6858 "RANLIB=$${RANLIB}" \
6859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6860 clean) \
6861 || exit 1
6863 @endif dejagnu
6865 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
6866 maybe-distclean-dejagnu:
6867 @if dejagnu
6868 maybe-distclean-dejagnu: distclean-dejagnu
6870 distclean-dejagnu:
6871 @: $(MAKE); $(unstage)
6872 @[ -f ./dejagnu/Makefile ] || exit 0; \
6873 r=`${PWD_COMMAND}`; export r; \
6874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6875 $(HOST_EXPORTS) \
6876 for flag in $(EXTRA_HOST_FLAGS) ; do \
6877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6878 done; \
6879 echo "Doing distclean in dejagnu" ; \
6880 (cd $(HOST_SUBDIR)/dejagnu && \
6881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6883 "RANLIB=$${RANLIB}" \
6884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6885 distclean) \
6886 || exit 1
6888 @endif dejagnu
6890 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
6891 maybe-maintainer-clean-dejagnu:
6892 @if dejagnu
6893 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
6895 maintainer-clean-dejagnu:
6896 @: $(MAKE); $(unstage)
6897 @[ -f ./dejagnu/Makefile ] || exit 0; \
6898 r=`${PWD_COMMAND}`; export r; \
6899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6900 $(HOST_EXPORTS) \
6901 for flag in $(EXTRA_HOST_FLAGS) ; do \
6902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6903 done; \
6904 echo "Doing maintainer-clean in dejagnu" ; \
6905 (cd $(HOST_SUBDIR)/dejagnu && \
6906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6908 "RANLIB=$${RANLIB}" \
6909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6910 maintainer-clean) \
6911 || exit 1
6913 @endif dejagnu
6917 .PHONY: configure-etc maybe-configure-etc
6918 maybe-configure-etc:
6919 @if gcc-bootstrap
6920 configure-etc: stage_current
6921 @endif gcc-bootstrap
6922 @if etc
6923 maybe-configure-etc: configure-etc
6924 configure-etc:
6925 @: $(MAKE); $(unstage)
6926 @r=`${PWD_COMMAND}`; export r; \
6927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6928 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
6929 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
6930 $(HOST_EXPORTS) \
6931 echo Configuring in $(HOST_SUBDIR)/etc; \
6932 cd "$(HOST_SUBDIR)/etc" || exit 1; \
6933 case $(srcdir) in \
6934 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6935 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
6936 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6937 esac; \
6938 srcdiroption="--srcdir=$${topdir}/etc"; \
6939 libsrcdir="$$s/etc"; \
6940 $(SHELL) $${libsrcdir}/configure \
6941 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6942 --target=${target_alias} $${srcdiroption} \
6943 || exit 1
6944 @endif etc
6950 .PHONY: all-etc maybe-all-etc
6951 maybe-all-etc:
6952 @if gcc-bootstrap
6953 all-etc: stage_current
6954 @endif gcc-bootstrap
6955 @if etc
6956 TARGET-etc=all
6957 maybe-all-etc: all-etc
6958 all-etc: configure-etc
6959 @: $(MAKE); $(unstage)
6960 @r=`${PWD_COMMAND}`; export r; \
6961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6962 $(HOST_EXPORTS) \
6963 (cd $(HOST_SUBDIR)/etc && \
6964 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6965 $(TARGET-etc))
6966 @endif etc
6971 .PHONY: check-etc maybe-check-etc
6972 maybe-check-etc:
6973 @if etc
6974 maybe-check-etc: check-etc
6976 check-etc:
6977 @: $(MAKE); $(unstage)
6978 @r=`${PWD_COMMAND}`; export r; \
6979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6980 $(HOST_EXPORTS) \
6981 (cd $(HOST_SUBDIR)/etc && \
6982 $(MAKE) $(FLAGS_TO_PASS) check)
6984 @endif etc
6986 .PHONY: install-etc maybe-install-etc
6987 maybe-install-etc:
6988 @if etc
6989 maybe-install-etc: install-etc
6991 install-etc: installdirs
6992 @: $(MAKE); $(unstage)
6993 @r=`${PWD_COMMAND}`; export r; \
6994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6995 $(HOST_EXPORTS) \
6996 (cd $(HOST_SUBDIR)/etc && \
6997 $(MAKE) $(FLAGS_TO_PASS) install)
6999 @endif etc
7001 .PHONY: install-strip-etc maybe-install-strip-etc
7002 maybe-install-strip-etc:
7003 @if etc
7004 maybe-install-strip-etc: install-strip-etc
7006 install-strip-etc: installdirs
7007 @: $(MAKE); $(unstage)
7008 @r=`${PWD_COMMAND}`; export r; \
7009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7010 $(HOST_EXPORTS) \
7011 (cd $(HOST_SUBDIR)/etc && \
7012 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7014 @endif etc
7016 # Other targets (info, dvi, pdf, etc.)
7018 .PHONY: maybe-info-etc info-etc
7019 maybe-info-etc:
7020 @if etc
7021 maybe-info-etc: info-etc
7023 info-etc: \
7024 configure-etc
7025 @: $(MAKE); $(unstage)
7026 @[ -f ./etc/Makefile ] || exit 0; \
7027 r=`${PWD_COMMAND}`; export r; \
7028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7029 $(HOST_EXPORTS) \
7030 for flag in $(EXTRA_HOST_FLAGS) ; do \
7031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7032 done; \
7033 echo "Doing info in etc" ; \
7034 (cd $(HOST_SUBDIR)/etc && \
7035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7037 "RANLIB=$${RANLIB}" \
7038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7039 info) \
7040 || exit 1
7042 @endif etc
7044 .PHONY: maybe-dvi-etc dvi-etc
7045 maybe-dvi-etc:
7046 @if etc
7047 maybe-dvi-etc: dvi-etc
7049 dvi-etc: \
7050 configure-etc
7051 @: $(MAKE); $(unstage)
7052 @[ -f ./etc/Makefile ] || exit 0; \
7053 r=`${PWD_COMMAND}`; export r; \
7054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7055 $(HOST_EXPORTS) \
7056 for flag in $(EXTRA_HOST_FLAGS) ; do \
7057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7058 done; \
7059 echo "Doing dvi in etc" ; \
7060 (cd $(HOST_SUBDIR)/etc && \
7061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7063 "RANLIB=$${RANLIB}" \
7064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7065 dvi) \
7066 || exit 1
7068 @endif etc
7070 .PHONY: maybe-pdf-etc pdf-etc
7071 maybe-pdf-etc:
7072 @if etc
7073 maybe-pdf-etc: pdf-etc
7075 pdf-etc: \
7076 configure-etc
7077 @: $(MAKE); $(unstage)
7078 @[ -f ./etc/Makefile ] || exit 0; \
7079 r=`${PWD_COMMAND}`; export r; \
7080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7081 $(HOST_EXPORTS) \
7082 for flag in $(EXTRA_HOST_FLAGS) ; do \
7083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7084 done; \
7085 echo "Doing pdf in etc" ; \
7086 (cd $(HOST_SUBDIR)/etc && \
7087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7089 "RANLIB=$${RANLIB}" \
7090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7091 pdf) \
7092 || exit 1
7094 @endif etc
7096 .PHONY: maybe-html-etc html-etc
7097 maybe-html-etc:
7098 @if etc
7099 maybe-html-etc: html-etc
7101 html-etc: \
7102 configure-etc
7103 @: $(MAKE); $(unstage)
7104 @[ -f ./etc/Makefile ] || exit 0; \
7105 r=`${PWD_COMMAND}`; export r; \
7106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7107 $(HOST_EXPORTS) \
7108 for flag in $(EXTRA_HOST_FLAGS) ; do \
7109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7110 done; \
7111 echo "Doing html in etc" ; \
7112 (cd $(HOST_SUBDIR)/etc && \
7113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7115 "RANLIB=$${RANLIB}" \
7116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7117 html) \
7118 || exit 1
7120 @endif etc
7122 .PHONY: maybe-TAGS-etc TAGS-etc
7123 maybe-TAGS-etc:
7124 @if etc
7125 maybe-TAGS-etc: TAGS-etc
7127 TAGS-etc: \
7128 configure-etc
7129 @: $(MAKE); $(unstage)
7130 @[ -f ./etc/Makefile ] || exit 0; \
7131 r=`${PWD_COMMAND}`; export r; \
7132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7133 $(HOST_EXPORTS) \
7134 for flag in $(EXTRA_HOST_FLAGS) ; do \
7135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7136 done; \
7137 echo "Doing TAGS in etc" ; \
7138 (cd $(HOST_SUBDIR)/etc && \
7139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7141 "RANLIB=$${RANLIB}" \
7142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7143 TAGS) \
7144 || exit 1
7146 @endif etc
7148 .PHONY: maybe-install-info-etc install-info-etc
7149 maybe-install-info-etc:
7150 @if etc
7151 maybe-install-info-etc: install-info-etc
7153 install-info-etc: \
7154 configure-etc \
7155 info-etc
7156 @: $(MAKE); $(unstage)
7157 @[ -f ./etc/Makefile ] || exit 0; \
7158 r=`${PWD_COMMAND}`; export r; \
7159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7160 $(HOST_EXPORTS) \
7161 for flag in $(EXTRA_HOST_FLAGS) ; do \
7162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7163 done; \
7164 echo "Doing install-info in etc" ; \
7165 (cd $(HOST_SUBDIR)/etc && \
7166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7168 "RANLIB=$${RANLIB}" \
7169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7170 install-info) \
7171 || exit 1
7173 @endif etc
7175 .PHONY: maybe-install-pdf-etc install-pdf-etc
7176 maybe-install-pdf-etc:
7177 @if etc
7178 maybe-install-pdf-etc: install-pdf-etc
7180 install-pdf-etc: \
7181 configure-etc \
7182 pdf-etc
7183 @: $(MAKE); $(unstage)
7184 @[ -f ./etc/Makefile ] || exit 0; \
7185 r=`${PWD_COMMAND}`; export r; \
7186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7187 $(HOST_EXPORTS) \
7188 for flag in $(EXTRA_HOST_FLAGS) ; do \
7189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7190 done; \
7191 echo "Doing install-pdf in etc" ; \
7192 (cd $(HOST_SUBDIR)/etc && \
7193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7195 "RANLIB=$${RANLIB}" \
7196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7197 install-pdf) \
7198 || exit 1
7200 @endif etc
7202 .PHONY: maybe-install-html-etc install-html-etc
7203 maybe-install-html-etc:
7204 @if etc
7205 maybe-install-html-etc: install-html-etc
7207 install-html-etc: \
7208 configure-etc \
7209 html-etc
7210 @: $(MAKE); $(unstage)
7211 @[ -f ./etc/Makefile ] || exit 0; \
7212 r=`${PWD_COMMAND}`; export r; \
7213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7214 $(HOST_EXPORTS) \
7215 for flag in $(EXTRA_HOST_FLAGS) ; do \
7216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7217 done; \
7218 echo "Doing install-html in etc" ; \
7219 (cd $(HOST_SUBDIR)/etc && \
7220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7222 "RANLIB=$${RANLIB}" \
7223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7224 install-html) \
7225 || exit 1
7227 @endif etc
7229 .PHONY: maybe-installcheck-etc installcheck-etc
7230 maybe-installcheck-etc:
7231 @if etc
7232 maybe-installcheck-etc: installcheck-etc
7234 installcheck-etc: \
7235 configure-etc
7236 @: $(MAKE); $(unstage)
7237 @[ -f ./etc/Makefile ] || exit 0; \
7238 r=`${PWD_COMMAND}`; export r; \
7239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7240 $(HOST_EXPORTS) \
7241 for flag in $(EXTRA_HOST_FLAGS) ; do \
7242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7243 done; \
7244 echo "Doing installcheck in etc" ; \
7245 (cd $(HOST_SUBDIR)/etc && \
7246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7248 "RANLIB=$${RANLIB}" \
7249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7250 installcheck) \
7251 || exit 1
7253 @endif etc
7255 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
7256 maybe-mostlyclean-etc:
7257 @if etc
7258 maybe-mostlyclean-etc: mostlyclean-etc
7260 mostlyclean-etc:
7261 @: $(MAKE); $(unstage)
7262 @[ -f ./etc/Makefile ] || exit 0; \
7263 r=`${PWD_COMMAND}`; export r; \
7264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7265 $(HOST_EXPORTS) \
7266 for flag in $(EXTRA_HOST_FLAGS) ; do \
7267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7268 done; \
7269 echo "Doing mostlyclean in etc" ; \
7270 (cd $(HOST_SUBDIR)/etc && \
7271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7273 "RANLIB=$${RANLIB}" \
7274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7275 mostlyclean) \
7276 || exit 1
7278 @endif etc
7280 .PHONY: maybe-clean-etc clean-etc
7281 maybe-clean-etc:
7282 @if etc
7283 maybe-clean-etc: clean-etc
7285 clean-etc:
7286 @: $(MAKE); $(unstage)
7287 @[ -f ./etc/Makefile ] || exit 0; \
7288 r=`${PWD_COMMAND}`; export r; \
7289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7290 $(HOST_EXPORTS) \
7291 for flag in $(EXTRA_HOST_FLAGS) ; do \
7292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7293 done; \
7294 echo "Doing clean in etc" ; \
7295 (cd $(HOST_SUBDIR)/etc && \
7296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7298 "RANLIB=$${RANLIB}" \
7299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7300 clean) \
7301 || exit 1
7303 @endif etc
7305 .PHONY: maybe-distclean-etc distclean-etc
7306 maybe-distclean-etc:
7307 @if etc
7308 maybe-distclean-etc: distclean-etc
7310 distclean-etc:
7311 @: $(MAKE); $(unstage)
7312 @[ -f ./etc/Makefile ] || exit 0; \
7313 r=`${PWD_COMMAND}`; export r; \
7314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7315 $(HOST_EXPORTS) \
7316 for flag in $(EXTRA_HOST_FLAGS) ; do \
7317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7318 done; \
7319 echo "Doing distclean in etc" ; \
7320 (cd $(HOST_SUBDIR)/etc && \
7321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7323 "RANLIB=$${RANLIB}" \
7324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7325 distclean) \
7326 || exit 1
7328 @endif etc
7330 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
7331 maybe-maintainer-clean-etc:
7332 @if etc
7333 maybe-maintainer-clean-etc: maintainer-clean-etc
7335 maintainer-clean-etc:
7336 @: $(MAKE); $(unstage)
7337 @[ -f ./etc/Makefile ] || exit 0; \
7338 r=`${PWD_COMMAND}`; export r; \
7339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7340 $(HOST_EXPORTS) \
7341 for flag in $(EXTRA_HOST_FLAGS) ; do \
7342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7343 done; \
7344 echo "Doing maintainer-clean in etc" ; \
7345 (cd $(HOST_SUBDIR)/etc && \
7346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7348 "RANLIB=$${RANLIB}" \
7349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7350 maintainer-clean) \
7351 || exit 1
7353 @endif etc
7357 .PHONY: configure-fastjar maybe-configure-fastjar
7358 maybe-configure-fastjar:
7359 @if gcc-bootstrap
7360 configure-fastjar: stage_current
7361 @endif gcc-bootstrap
7362 @if fastjar
7363 maybe-configure-fastjar: configure-fastjar
7364 configure-fastjar:
7365 @: $(MAKE); $(unstage)
7366 @r=`${PWD_COMMAND}`; export r; \
7367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7368 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
7369 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
7370 $(HOST_EXPORTS) \
7371 echo Configuring in $(HOST_SUBDIR)/fastjar; \
7372 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
7373 case $(srcdir) in \
7374 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7375 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
7376 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7377 esac; \
7378 srcdiroption="--srcdir=$${topdir}/fastjar"; \
7379 libsrcdir="$$s/fastjar"; \
7380 $(SHELL) $${libsrcdir}/configure \
7381 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7382 --target=${target_alias} $${srcdiroption} \
7383 || exit 1
7384 @endif fastjar
7390 .PHONY: all-fastjar maybe-all-fastjar
7391 maybe-all-fastjar:
7392 @if gcc-bootstrap
7393 all-fastjar: stage_current
7394 @endif gcc-bootstrap
7395 @if fastjar
7396 TARGET-fastjar=all
7397 maybe-all-fastjar: all-fastjar
7398 all-fastjar: configure-fastjar
7399 @: $(MAKE); $(unstage)
7400 @r=`${PWD_COMMAND}`; export r; \
7401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7402 $(HOST_EXPORTS) \
7403 (cd $(HOST_SUBDIR)/fastjar && \
7404 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7405 $(TARGET-fastjar))
7406 @endif fastjar
7411 .PHONY: check-fastjar maybe-check-fastjar
7412 maybe-check-fastjar:
7413 @if fastjar
7414 maybe-check-fastjar: check-fastjar
7416 # This module is only tested in a native toolchain.
7417 check-fastjar:
7418 @: $(MAKE); $(unstage)
7419 @if [ '$(host)' = '$(target)' ] ; then \
7420 r=`${PWD_COMMAND}`; export r; \
7421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7422 $(HOST_EXPORTS) \
7423 (cd $(HOST_SUBDIR)/fastjar && \
7424 $(MAKE) $(FLAGS_TO_PASS) check); \
7427 @endif fastjar
7429 .PHONY: install-fastjar maybe-install-fastjar
7430 maybe-install-fastjar:
7431 @if fastjar
7432 maybe-install-fastjar: install-fastjar
7434 install-fastjar: installdirs
7435 @: $(MAKE); $(unstage)
7436 @r=`${PWD_COMMAND}`; export r; \
7437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7438 $(HOST_EXPORTS) \
7439 (cd $(HOST_SUBDIR)/fastjar && \
7440 $(MAKE) $(FLAGS_TO_PASS) install)
7442 @endif fastjar
7444 .PHONY: install-strip-fastjar maybe-install-strip-fastjar
7445 maybe-install-strip-fastjar:
7446 @if fastjar
7447 maybe-install-strip-fastjar: install-strip-fastjar
7449 install-strip-fastjar: installdirs
7450 @: $(MAKE); $(unstage)
7451 @r=`${PWD_COMMAND}`; export r; \
7452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7453 $(HOST_EXPORTS) \
7454 (cd $(HOST_SUBDIR)/fastjar && \
7455 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7457 @endif fastjar
7459 # Other targets (info, dvi, pdf, etc.)
7461 .PHONY: maybe-info-fastjar info-fastjar
7462 maybe-info-fastjar:
7463 @if fastjar
7464 maybe-info-fastjar: info-fastjar
7466 info-fastjar: \
7467 configure-fastjar
7468 @: $(MAKE); $(unstage)
7469 @[ -f ./fastjar/Makefile ] || exit 0; \
7470 r=`${PWD_COMMAND}`; export r; \
7471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7472 $(HOST_EXPORTS) \
7473 for flag in $(EXTRA_HOST_FLAGS) ; do \
7474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7475 done; \
7476 echo "Doing info in fastjar" ; \
7477 (cd $(HOST_SUBDIR)/fastjar && \
7478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7480 "RANLIB=$${RANLIB}" \
7481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7482 info) \
7483 || exit 1
7485 @endif fastjar
7487 .PHONY: maybe-dvi-fastjar dvi-fastjar
7488 maybe-dvi-fastjar:
7489 @if fastjar
7490 maybe-dvi-fastjar: dvi-fastjar
7492 dvi-fastjar: \
7493 configure-fastjar
7494 @: $(MAKE); $(unstage)
7495 @[ -f ./fastjar/Makefile ] || exit 0; \
7496 r=`${PWD_COMMAND}`; export r; \
7497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7498 $(HOST_EXPORTS) \
7499 for flag in $(EXTRA_HOST_FLAGS) ; do \
7500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7501 done; \
7502 echo "Doing dvi in fastjar" ; \
7503 (cd $(HOST_SUBDIR)/fastjar && \
7504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7506 "RANLIB=$${RANLIB}" \
7507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7508 dvi) \
7509 || exit 1
7511 @endif fastjar
7513 .PHONY: maybe-pdf-fastjar pdf-fastjar
7514 maybe-pdf-fastjar:
7515 @if fastjar
7516 maybe-pdf-fastjar: pdf-fastjar
7518 pdf-fastjar: \
7519 configure-fastjar
7520 @: $(MAKE); $(unstage)
7521 @[ -f ./fastjar/Makefile ] || exit 0; \
7522 r=`${PWD_COMMAND}`; export r; \
7523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7524 $(HOST_EXPORTS) \
7525 for flag in $(EXTRA_HOST_FLAGS) ; do \
7526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7527 done; \
7528 echo "Doing pdf in fastjar" ; \
7529 (cd $(HOST_SUBDIR)/fastjar && \
7530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7532 "RANLIB=$${RANLIB}" \
7533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7534 pdf) \
7535 || exit 1
7537 @endif fastjar
7539 .PHONY: maybe-html-fastjar html-fastjar
7540 maybe-html-fastjar:
7541 @if fastjar
7542 maybe-html-fastjar: html-fastjar
7544 html-fastjar: \
7545 configure-fastjar
7546 @: $(MAKE); $(unstage)
7547 @[ -f ./fastjar/Makefile ] || exit 0; \
7548 r=`${PWD_COMMAND}`; export r; \
7549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7550 $(HOST_EXPORTS) \
7551 for flag in $(EXTRA_HOST_FLAGS) ; do \
7552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7553 done; \
7554 echo "Doing html in fastjar" ; \
7555 (cd $(HOST_SUBDIR)/fastjar && \
7556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7558 "RANLIB=$${RANLIB}" \
7559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7560 html) \
7561 || exit 1
7563 @endif fastjar
7565 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
7566 maybe-TAGS-fastjar:
7567 @if fastjar
7568 maybe-TAGS-fastjar: TAGS-fastjar
7570 TAGS-fastjar: \
7571 configure-fastjar
7572 @: $(MAKE); $(unstage)
7573 @[ -f ./fastjar/Makefile ] || exit 0; \
7574 r=`${PWD_COMMAND}`; export r; \
7575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7576 $(HOST_EXPORTS) \
7577 for flag in $(EXTRA_HOST_FLAGS) ; do \
7578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7579 done; \
7580 echo "Doing TAGS in fastjar" ; \
7581 (cd $(HOST_SUBDIR)/fastjar && \
7582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7584 "RANLIB=$${RANLIB}" \
7585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7586 TAGS) \
7587 || exit 1
7589 @endif fastjar
7591 .PHONY: maybe-install-info-fastjar install-info-fastjar
7592 maybe-install-info-fastjar:
7593 @if fastjar
7594 maybe-install-info-fastjar: install-info-fastjar
7596 install-info-fastjar: \
7597 configure-fastjar \
7598 info-fastjar
7599 @: $(MAKE); $(unstage)
7600 @[ -f ./fastjar/Makefile ] || exit 0; \
7601 r=`${PWD_COMMAND}`; export r; \
7602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7603 $(HOST_EXPORTS) \
7604 for flag in $(EXTRA_HOST_FLAGS) ; do \
7605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7606 done; \
7607 echo "Doing install-info in fastjar" ; \
7608 (cd $(HOST_SUBDIR)/fastjar && \
7609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7611 "RANLIB=$${RANLIB}" \
7612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7613 install-info) \
7614 || exit 1
7616 @endif fastjar
7618 .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar
7619 maybe-install-pdf-fastjar:
7620 @if fastjar
7621 maybe-install-pdf-fastjar: install-pdf-fastjar
7623 install-pdf-fastjar: \
7624 configure-fastjar \
7625 pdf-fastjar
7626 @: $(MAKE); $(unstage)
7627 @[ -f ./fastjar/Makefile ] || exit 0; \
7628 r=`${PWD_COMMAND}`; export r; \
7629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7630 $(HOST_EXPORTS) \
7631 for flag in $(EXTRA_HOST_FLAGS) ; do \
7632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7633 done; \
7634 echo "Doing install-pdf in fastjar" ; \
7635 (cd $(HOST_SUBDIR)/fastjar && \
7636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7638 "RANLIB=$${RANLIB}" \
7639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7640 install-pdf) \
7641 || exit 1
7643 @endif fastjar
7645 .PHONY: maybe-install-html-fastjar install-html-fastjar
7646 maybe-install-html-fastjar:
7647 @if fastjar
7648 maybe-install-html-fastjar: install-html-fastjar
7650 install-html-fastjar: \
7651 configure-fastjar \
7652 html-fastjar
7653 @: $(MAKE); $(unstage)
7654 @[ -f ./fastjar/Makefile ] || exit 0; \
7655 r=`${PWD_COMMAND}`; export r; \
7656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7657 $(HOST_EXPORTS) \
7658 for flag in $(EXTRA_HOST_FLAGS) ; do \
7659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7660 done; \
7661 echo "Doing install-html in fastjar" ; \
7662 (cd $(HOST_SUBDIR)/fastjar && \
7663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7665 "RANLIB=$${RANLIB}" \
7666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7667 install-html) \
7668 || exit 1
7670 @endif fastjar
7672 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
7673 maybe-installcheck-fastjar:
7674 @if fastjar
7675 maybe-installcheck-fastjar: installcheck-fastjar
7677 installcheck-fastjar: \
7678 configure-fastjar
7679 @: $(MAKE); $(unstage)
7680 @[ -f ./fastjar/Makefile ] || exit 0; \
7681 r=`${PWD_COMMAND}`; export r; \
7682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7683 $(HOST_EXPORTS) \
7684 for flag in $(EXTRA_HOST_FLAGS) ; do \
7685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7686 done; \
7687 echo "Doing installcheck in fastjar" ; \
7688 (cd $(HOST_SUBDIR)/fastjar && \
7689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7691 "RANLIB=$${RANLIB}" \
7692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7693 installcheck) \
7694 || exit 1
7696 @endif fastjar
7698 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
7699 maybe-mostlyclean-fastjar:
7700 @if fastjar
7701 maybe-mostlyclean-fastjar: mostlyclean-fastjar
7703 mostlyclean-fastjar:
7704 @: $(MAKE); $(unstage)
7705 @[ -f ./fastjar/Makefile ] || exit 0; \
7706 r=`${PWD_COMMAND}`; export r; \
7707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7708 $(HOST_EXPORTS) \
7709 for flag in $(EXTRA_HOST_FLAGS) ; do \
7710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7711 done; \
7712 echo "Doing mostlyclean in fastjar" ; \
7713 (cd $(HOST_SUBDIR)/fastjar && \
7714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7716 "RANLIB=$${RANLIB}" \
7717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7718 mostlyclean) \
7719 || exit 1
7721 @endif fastjar
7723 .PHONY: maybe-clean-fastjar clean-fastjar
7724 maybe-clean-fastjar:
7725 @if fastjar
7726 maybe-clean-fastjar: clean-fastjar
7728 clean-fastjar:
7729 @: $(MAKE); $(unstage)
7730 @[ -f ./fastjar/Makefile ] || exit 0; \
7731 r=`${PWD_COMMAND}`; export r; \
7732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7733 $(HOST_EXPORTS) \
7734 for flag in $(EXTRA_HOST_FLAGS) ; do \
7735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7736 done; \
7737 echo "Doing clean in fastjar" ; \
7738 (cd $(HOST_SUBDIR)/fastjar && \
7739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7741 "RANLIB=$${RANLIB}" \
7742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7743 clean) \
7744 || exit 1
7746 @endif fastjar
7748 .PHONY: maybe-distclean-fastjar distclean-fastjar
7749 maybe-distclean-fastjar:
7750 @if fastjar
7751 maybe-distclean-fastjar: distclean-fastjar
7753 distclean-fastjar:
7754 @: $(MAKE); $(unstage)
7755 @[ -f ./fastjar/Makefile ] || exit 0; \
7756 r=`${PWD_COMMAND}`; export r; \
7757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7758 $(HOST_EXPORTS) \
7759 for flag in $(EXTRA_HOST_FLAGS) ; do \
7760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7761 done; \
7762 echo "Doing distclean in fastjar" ; \
7763 (cd $(HOST_SUBDIR)/fastjar && \
7764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7766 "RANLIB=$${RANLIB}" \
7767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7768 distclean) \
7769 || exit 1
7771 @endif fastjar
7773 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7774 maybe-maintainer-clean-fastjar:
7775 @if fastjar
7776 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7778 maintainer-clean-fastjar:
7779 @: $(MAKE); $(unstage)
7780 @[ -f ./fastjar/Makefile ] || exit 0; \
7781 r=`${PWD_COMMAND}`; export r; \
7782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7783 $(HOST_EXPORTS) \
7784 for flag in $(EXTRA_HOST_FLAGS) ; do \
7785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7786 done; \
7787 echo "Doing maintainer-clean in fastjar" ; \
7788 (cd $(HOST_SUBDIR)/fastjar && \
7789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7791 "RANLIB=$${RANLIB}" \
7792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7793 maintainer-clean) \
7794 || exit 1
7796 @endif fastjar
7800 .PHONY: configure-fixincludes maybe-configure-fixincludes
7801 maybe-configure-fixincludes:
7802 @if gcc-bootstrap
7803 configure-fixincludes: stage_current
7804 @endif gcc-bootstrap
7805 @if fixincludes
7806 maybe-configure-fixincludes: configure-fixincludes
7807 configure-fixincludes:
7808 @: $(MAKE); $(unstage)
7809 @r=`${PWD_COMMAND}`; export r; \
7810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7811 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
7812 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
7813 $(HOST_EXPORTS) \
7814 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
7815 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
7816 case $(srcdir) in \
7817 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7818 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
7819 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7820 esac; \
7821 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
7822 libsrcdir="$$s/fixincludes"; \
7823 $(SHELL) $${libsrcdir}/configure \
7824 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7825 --target=${target_alias} $${srcdiroption} \
7826 || exit 1
7827 @endif fixincludes
7833 .PHONY: all-fixincludes maybe-all-fixincludes
7834 maybe-all-fixincludes:
7835 @if gcc-bootstrap
7836 all-fixincludes: stage_current
7837 @endif gcc-bootstrap
7838 @if fixincludes
7839 TARGET-fixincludes=all
7840 maybe-all-fixincludes: all-fixincludes
7841 all-fixincludes: configure-fixincludes
7842 @: $(MAKE); $(unstage)
7843 @r=`${PWD_COMMAND}`; export r; \
7844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7845 $(HOST_EXPORTS) \
7846 (cd $(HOST_SUBDIR)/fixincludes && \
7847 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7848 $(TARGET-fixincludes))
7849 @endif fixincludes
7854 .PHONY: check-fixincludes maybe-check-fixincludes
7855 maybe-check-fixincludes:
7856 @if fixincludes
7857 maybe-check-fixincludes: check-fixincludes
7859 check-fixincludes:
7860 @: $(MAKE); $(unstage)
7861 @r=`${PWD_COMMAND}`; export r; \
7862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7863 $(HOST_EXPORTS) \
7864 (cd $(HOST_SUBDIR)/fixincludes && \
7865 $(MAKE) $(FLAGS_TO_PASS) check)
7867 @endif fixincludes
7869 .PHONY: install-fixincludes maybe-install-fixincludes
7870 maybe-install-fixincludes:
7871 @if fixincludes
7872 maybe-install-fixincludes: install-fixincludes
7874 install-fixincludes: installdirs
7875 @: $(MAKE); $(unstage)
7876 @r=`${PWD_COMMAND}`; export r; \
7877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7878 $(HOST_EXPORTS) \
7879 (cd $(HOST_SUBDIR)/fixincludes && \
7880 $(MAKE) $(FLAGS_TO_PASS) install)
7882 @endif fixincludes
7884 .PHONY: install-strip-fixincludes maybe-install-strip-fixincludes
7885 maybe-install-strip-fixincludes:
7886 @if fixincludes
7887 maybe-install-strip-fixincludes: install-strip-fixincludes
7889 install-strip-fixincludes: installdirs
7890 @: $(MAKE); $(unstage)
7891 @r=`${PWD_COMMAND}`; export r; \
7892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7893 $(HOST_EXPORTS) \
7894 (cd $(HOST_SUBDIR)/fixincludes && \
7895 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7897 @endif fixincludes
7899 # Other targets (info, dvi, pdf, etc.)
7901 .PHONY: maybe-info-fixincludes info-fixincludes
7902 maybe-info-fixincludes:
7903 @if fixincludes
7904 maybe-info-fixincludes: info-fixincludes
7906 info-fixincludes: \
7907 configure-fixincludes
7908 @: $(MAKE); $(unstage)
7909 @[ -f ./fixincludes/Makefile ] || exit 0; \
7910 r=`${PWD_COMMAND}`; export r; \
7911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7912 $(HOST_EXPORTS) \
7913 for flag in $(EXTRA_HOST_FLAGS) ; do \
7914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7915 done; \
7916 echo "Doing info in fixincludes" ; \
7917 (cd $(HOST_SUBDIR)/fixincludes && \
7918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7920 "RANLIB=$${RANLIB}" \
7921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7922 info) \
7923 || exit 1
7925 @endif fixincludes
7927 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
7928 maybe-dvi-fixincludes:
7929 @if fixincludes
7930 maybe-dvi-fixincludes: dvi-fixincludes
7932 dvi-fixincludes: \
7933 configure-fixincludes
7934 @: $(MAKE); $(unstage)
7935 @[ -f ./fixincludes/Makefile ] || exit 0; \
7936 r=`${PWD_COMMAND}`; export r; \
7937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7938 $(HOST_EXPORTS) \
7939 for flag in $(EXTRA_HOST_FLAGS) ; do \
7940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7941 done; \
7942 echo "Doing dvi in fixincludes" ; \
7943 (cd $(HOST_SUBDIR)/fixincludes && \
7944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7946 "RANLIB=$${RANLIB}" \
7947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7948 dvi) \
7949 || exit 1
7951 @endif fixincludes
7953 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
7954 maybe-pdf-fixincludes:
7955 @if fixincludes
7956 maybe-pdf-fixincludes: pdf-fixincludes
7958 pdf-fixincludes: \
7959 configure-fixincludes
7960 @: $(MAKE); $(unstage)
7961 @[ -f ./fixincludes/Makefile ] || exit 0; \
7962 r=`${PWD_COMMAND}`; export r; \
7963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7964 $(HOST_EXPORTS) \
7965 for flag in $(EXTRA_HOST_FLAGS) ; do \
7966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7967 done; \
7968 echo "Doing pdf in fixincludes" ; \
7969 (cd $(HOST_SUBDIR)/fixincludes && \
7970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7972 "RANLIB=$${RANLIB}" \
7973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7974 pdf) \
7975 || exit 1
7977 @endif fixincludes
7979 .PHONY: maybe-html-fixincludes html-fixincludes
7980 maybe-html-fixincludes:
7981 @if fixincludes
7982 maybe-html-fixincludes: html-fixincludes
7984 html-fixincludes: \
7985 configure-fixincludes
7986 @: $(MAKE); $(unstage)
7987 @[ -f ./fixincludes/Makefile ] || exit 0; \
7988 r=`${PWD_COMMAND}`; export r; \
7989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7990 $(HOST_EXPORTS) \
7991 for flag in $(EXTRA_HOST_FLAGS) ; do \
7992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7993 done; \
7994 echo "Doing html in fixincludes" ; \
7995 (cd $(HOST_SUBDIR)/fixincludes && \
7996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7998 "RANLIB=$${RANLIB}" \
7999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8000 html) \
8001 || exit 1
8003 @endif fixincludes
8005 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
8006 maybe-TAGS-fixincludes:
8007 @if fixincludes
8008 maybe-TAGS-fixincludes: TAGS-fixincludes
8010 # fixincludes doesn't support TAGS.
8011 TAGS-fixincludes:
8013 @endif fixincludes
8015 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
8016 maybe-install-info-fixincludes:
8017 @if fixincludes
8018 maybe-install-info-fixincludes: install-info-fixincludes
8020 install-info-fixincludes: \
8021 configure-fixincludes \
8022 info-fixincludes
8023 @: $(MAKE); $(unstage)
8024 @[ -f ./fixincludes/Makefile ] || exit 0; \
8025 r=`${PWD_COMMAND}`; export r; \
8026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8027 $(HOST_EXPORTS) \
8028 for flag in $(EXTRA_HOST_FLAGS) ; do \
8029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8030 done; \
8031 echo "Doing install-info in fixincludes" ; \
8032 (cd $(HOST_SUBDIR)/fixincludes && \
8033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8035 "RANLIB=$${RANLIB}" \
8036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8037 install-info) \
8038 || exit 1
8040 @endif fixincludes
8042 .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes
8043 maybe-install-pdf-fixincludes:
8044 @if fixincludes
8045 maybe-install-pdf-fixincludes: install-pdf-fixincludes
8047 install-pdf-fixincludes: \
8048 configure-fixincludes \
8049 pdf-fixincludes
8050 @: $(MAKE); $(unstage)
8051 @[ -f ./fixincludes/Makefile ] || exit 0; \
8052 r=`${PWD_COMMAND}`; export r; \
8053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8054 $(HOST_EXPORTS) \
8055 for flag in $(EXTRA_HOST_FLAGS) ; do \
8056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8057 done; \
8058 echo "Doing install-pdf in fixincludes" ; \
8059 (cd $(HOST_SUBDIR)/fixincludes && \
8060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8062 "RANLIB=$${RANLIB}" \
8063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8064 install-pdf) \
8065 || exit 1
8067 @endif fixincludes
8069 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
8070 maybe-install-html-fixincludes:
8071 @if fixincludes
8072 maybe-install-html-fixincludes: install-html-fixincludes
8074 install-html-fixincludes: \
8075 configure-fixincludes \
8076 html-fixincludes
8077 @: $(MAKE); $(unstage)
8078 @[ -f ./fixincludes/Makefile ] || exit 0; \
8079 r=`${PWD_COMMAND}`; export r; \
8080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8081 $(HOST_EXPORTS) \
8082 for flag in $(EXTRA_HOST_FLAGS) ; do \
8083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8084 done; \
8085 echo "Doing install-html in fixincludes" ; \
8086 (cd $(HOST_SUBDIR)/fixincludes && \
8087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8089 "RANLIB=$${RANLIB}" \
8090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8091 install-html) \
8092 || exit 1
8094 @endif fixincludes
8096 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
8097 maybe-installcheck-fixincludes:
8098 @if fixincludes
8099 maybe-installcheck-fixincludes: installcheck-fixincludes
8101 installcheck-fixincludes: \
8102 configure-fixincludes
8103 @: $(MAKE); $(unstage)
8104 @[ -f ./fixincludes/Makefile ] || exit 0; \
8105 r=`${PWD_COMMAND}`; export r; \
8106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8107 $(HOST_EXPORTS) \
8108 for flag in $(EXTRA_HOST_FLAGS) ; do \
8109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8110 done; \
8111 echo "Doing installcheck in fixincludes" ; \
8112 (cd $(HOST_SUBDIR)/fixincludes && \
8113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8115 "RANLIB=$${RANLIB}" \
8116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8117 installcheck) \
8118 || exit 1
8120 @endif fixincludes
8122 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
8123 maybe-mostlyclean-fixincludes:
8124 @if fixincludes
8125 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
8127 mostlyclean-fixincludes:
8128 @: $(MAKE); $(unstage)
8129 @[ -f ./fixincludes/Makefile ] || exit 0; \
8130 r=`${PWD_COMMAND}`; export r; \
8131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8132 $(HOST_EXPORTS) \
8133 for flag in $(EXTRA_HOST_FLAGS) ; do \
8134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8135 done; \
8136 echo "Doing mostlyclean in fixincludes" ; \
8137 (cd $(HOST_SUBDIR)/fixincludes && \
8138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8140 "RANLIB=$${RANLIB}" \
8141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8142 mostlyclean) \
8143 || exit 1
8145 @endif fixincludes
8147 .PHONY: maybe-clean-fixincludes clean-fixincludes
8148 maybe-clean-fixincludes:
8149 @if fixincludes
8150 maybe-clean-fixincludes: clean-fixincludes
8152 clean-fixincludes:
8153 @: $(MAKE); $(unstage)
8154 @[ -f ./fixincludes/Makefile ] || exit 0; \
8155 r=`${PWD_COMMAND}`; export r; \
8156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8157 $(HOST_EXPORTS) \
8158 for flag in $(EXTRA_HOST_FLAGS) ; do \
8159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8160 done; \
8161 echo "Doing clean in fixincludes" ; \
8162 (cd $(HOST_SUBDIR)/fixincludes && \
8163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8165 "RANLIB=$${RANLIB}" \
8166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8167 clean) \
8168 || exit 1
8170 @endif fixincludes
8172 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
8173 maybe-distclean-fixincludes:
8174 @if fixincludes
8175 maybe-distclean-fixincludes: distclean-fixincludes
8177 distclean-fixincludes:
8178 @: $(MAKE); $(unstage)
8179 @[ -f ./fixincludes/Makefile ] || exit 0; \
8180 r=`${PWD_COMMAND}`; export r; \
8181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8182 $(HOST_EXPORTS) \
8183 for flag in $(EXTRA_HOST_FLAGS) ; do \
8184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8185 done; \
8186 echo "Doing distclean in fixincludes" ; \
8187 (cd $(HOST_SUBDIR)/fixincludes && \
8188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8190 "RANLIB=$${RANLIB}" \
8191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8192 distclean) \
8193 || exit 1
8195 @endif fixincludes
8197 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
8198 maybe-maintainer-clean-fixincludes:
8199 @if fixincludes
8200 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
8202 maintainer-clean-fixincludes:
8203 @: $(MAKE); $(unstage)
8204 @[ -f ./fixincludes/Makefile ] || exit 0; \
8205 r=`${PWD_COMMAND}`; export r; \
8206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8207 $(HOST_EXPORTS) \
8208 for flag in $(EXTRA_HOST_FLAGS) ; do \
8209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8210 done; \
8211 echo "Doing maintainer-clean in fixincludes" ; \
8212 (cd $(HOST_SUBDIR)/fixincludes && \
8213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8215 "RANLIB=$${RANLIB}" \
8216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8217 maintainer-clean) \
8218 || exit 1
8220 @endif fixincludes
8224 .PHONY: configure-flex maybe-configure-flex
8225 maybe-configure-flex:
8226 @if gcc-bootstrap
8227 configure-flex: stage_current
8228 @endif gcc-bootstrap
8229 @if flex
8230 maybe-configure-flex: configure-flex
8231 configure-flex:
8232 @: $(MAKE); $(unstage)
8233 @r=`${PWD_COMMAND}`; export r; \
8234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8235 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
8236 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
8237 $(HOST_EXPORTS) \
8238 echo Configuring in $(HOST_SUBDIR)/flex; \
8239 cd "$(HOST_SUBDIR)/flex" || exit 1; \
8240 case $(srcdir) in \
8241 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8242 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
8243 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8244 esac; \
8245 srcdiroption="--srcdir=$${topdir}/flex"; \
8246 libsrcdir="$$s/flex"; \
8247 $(SHELL) $${libsrcdir}/configure \
8248 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8249 --target=${target_alias} $${srcdiroption} \
8250 || exit 1
8251 @endif flex
8257 .PHONY: all-flex maybe-all-flex
8258 maybe-all-flex:
8259 @if gcc-bootstrap
8260 all-flex: stage_current
8261 @endif gcc-bootstrap
8262 @if flex
8263 TARGET-flex=all
8264 maybe-all-flex: all-flex
8265 all-flex: configure-flex
8266 @: $(MAKE); $(unstage)
8267 @r=`${PWD_COMMAND}`; export r; \
8268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8269 $(HOST_EXPORTS) \
8270 (cd $(HOST_SUBDIR)/flex && \
8271 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8272 $(TARGET-flex))
8273 @endif flex
8278 .PHONY: check-flex maybe-check-flex
8279 maybe-check-flex:
8280 @if flex
8281 maybe-check-flex: check-flex
8283 # This module is only tested in a native toolchain.
8284 check-flex:
8285 @: $(MAKE); $(unstage)
8286 @if [ '$(host)' = '$(target)' ] ; then \
8287 r=`${PWD_COMMAND}`; export r; \
8288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8289 $(HOST_EXPORTS) \
8290 (cd $(HOST_SUBDIR)/flex && \
8291 $(MAKE) $(FLAGS_TO_PASS) check); \
8294 @endif flex
8296 .PHONY: install-flex maybe-install-flex
8297 maybe-install-flex:
8298 @if flex
8299 maybe-install-flex: install-flex
8301 install-flex: installdirs
8302 @: $(MAKE); $(unstage)
8303 @r=`${PWD_COMMAND}`; export r; \
8304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8305 $(HOST_EXPORTS) \
8306 (cd $(HOST_SUBDIR)/flex && \
8307 $(MAKE) $(FLAGS_TO_PASS) install)
8309 @endif flex
8311 .PHONY: install-strip-flex maybe-install-strip-flex
8312 maybe-install-strip-flex:
8313 @if flex
8314 maybe-install-strip-flex: install-strip-flex
8316 install-strip-flex: installdirs
8317 @: $(MAKE); $(unstage)
8318 @r=`${PWD_COMMAND}`; export r; \
8319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8320 $(HOST_EXPORTS) \
8321 (cd $(HOST_SUBDIR)/flex && \
8322 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8324 @endif flex
8326 # Other targets (info, dvi, pdf, etc.)
8328 .PHONY: maybe-info-flex info-flex
8329 maybe-info-flex:
8330 @if flex
8331 maybe-info-flex: info-flex
8333 info-flex: \
8334 configure-flex
8335 @: $(MAKE); $(unstage)
8336 @[ -f ./flex/Makefile ] || exit 0; \
8337 r=`${PWD_COMMAND}`; export r; \
8338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8339 $(HOST_EXPORTS) \
8340 for flag in $(EXTRA_HOST_FLAGS) ; do \
8341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8342 done; \
8343 echo "Doing info in flex" ; \
8344 (cd $(HOST_SUBDIR)/flex && \
8345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8347 "RANLIB=$${RANLIB}" \
8348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8349 info) \
8350 || exit 1
8352 @endif flex
8354 .PHONY: maybe-dvi-flex dvi-flex
8355 maybe-dvi-flex:
8356 @if flex
8357 maybe-dvi-flex: dvi-flex
8359 dvi-flex: \
8360 configure-flex
8361 @: $(MAKE); $(unstage)
8362 @[ -f ./flex/Makefile ] || exit 0; \
8363 r=`${PWD_COMMAND}`; export r; \
8364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8365 $(HOST_EXPORTS) \
8366 for flag in $(EXTRA_HOST_FLAGS) ; do \
8367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8368 done; \
8369 echo "Doing dvi in flex" ; \
8370 (cd $(HOST_SUBDIR)/flex && \
8371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8373 "RANLIB=$${RANLIB}" \
8374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8375 dvi) \
8376 || exit 1
8378 @endif flex
8380 .PHONY: maybe-pdf-flex pdf-flex
8381 maybe-pdf-flex:
8382 @if flex
8383 maybe-pdf-flex: pdf-flex
8385 pdf-flex: \
8386 configure-flex
8387 @: $(MAKE); $(unstage)
8388 @[ -f ./flex/Makefile ] || exit 0; \
8389 r=`${PWD_COMMAND}`; export r; \
8390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8391 $(HOST_EXPORTS) \
8392 for flag in $(EXTRA_HOST_FLAGS) ; do \
8393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8394 done; \
8395 echo "Doing pdf in flex" ; \
8396 (cd $(HOST_SUBDIR)/flex && \
8397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8399 "RANLIB=$${RANLIB}" \
8400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8401 pdf) \
8402 || exit 1
8404 @endif flex
8406 .PHONY: maybe-html-flex html-flex
8407 maybe-html-flex:
8408 @if flex
8409 maybe-html-flex: html-flex
8411 html-flex: \
8412 configure-flex
8413 @: $(MAKE); $(unstage)
8414 @[ -f ./flex/Makefile ] || exit 0; \
8415 r=`${PWD_COMMAND}`; export r; \
8416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8417 $(HOST_EXPORTS) \
8418 for flag in $(EXTRA_HOST_FLAGS) ; do \
8419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8420 done; \
8421 echo "Doing html in flex" ; \
8422 (cd $(HOST_SUBDIR)/flex && \
8423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8425 "RANLIB=$${RANLIB}" \
8426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8427 html) \
8428 || exit 1
8430 @endif flex
8432 .PHONY: maybe-TAGS-flex TAGS-flex
8433 maybe-TAGS-flex:
8434 @if flex
8435 maybe-TAGS-flex: TAGS-flex
8437 TAGS-flex: \
8438 configure-flex
8439 @: $(MAKE); $(unstage)
8440 @[ -f ./flex/Makefile ] || exit 0; \
8441 r=`${PWD_COMMAND}`; export r; \
8442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8443 $(HOST_EXPORTS) \
8444 for flag in $(EXTRA_HOST_FLAGS) ; do \
8445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8446 done; \
8447 echo "Doing TAGS in flex" ; \
8448 (cd $(HOST_SUBDIR)/flex && \
8449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8451 "RANLIB=$${RANLIB}" \
8452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8453 TAGS) \
8454 || exit 1
8456 @endif flex
8458 .PHONY: maybe-install-info-flex install-info-flex
8459 maybe-install-info-flex:
8460 @if flex
8461 maybe-install-info-flex: install-info-flex
8463 install-info-flex: \
8464 configure-flex \
8465 info-flex
8466 @: $(MAKE); $(unstage)
8467 @[ -f ./flex/Makefile ] || exit 0; \
8468 r=`${PWD_COMMAND}`; export r; \
8469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8470 $(HOST_EXPORTS) \
8471 for flag in $(EXTRA_HOST_FLAGS) ; do \
8472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8473 done; \
8474 echo "Doing install-info in flex" ; \
8475 (cd $(HOST_SUBDIR)/flex && \
8476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8478 "RANLIB=$${RANLIB}" \
8479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8480 install-info) \
8481 || exit 1
8483 @endif flex
8485 .PHONY: maybe-install-pdf-flex install-pdf-flex
8486 maybe-install-pdf-flex:
8487 @if flex
8488 maybe-install-pdf-flex: install-pdf-flex
8490 install-pdf-flex: \
8491 configure-flex \
8492 pdf-flex
8493 @: $(MAKE); $(unstage)
8494 @[ -f ./flex/Makefile ] || exit 0; \
8495 r=`${PWD_COMMAND}`; export r; \
8496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8497 $(HOST_EXPORTS) \
8498 for flag in $(EXTRA_HOST_FLAGS) ; do \
8499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8500 done; \
8501 echo "Doing install-pdf in flex" ; \
8502 (cd $(HOST_SUBDIR)/flex && \
8503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8505 "RANLIB=$${RANLIB}" \
8506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8507 install-pdf) \
8508 || exit 1
8510 @endif flex
8512 .PHONY: maybe-install-html-flex install-html-flex
8513 maybe-install-html-flex:
8514 @if flex
8515 maybe-install-html-flex: install-html-flex
8517 install-html-flex: \
8518 configure-flex \
8519 html-flex
8520 @: $(MAKE); $(unstage)
8521 @[ -f ./flex/Makefile ] || exit 0; \
8522 r=`${PWD_COMMAND}`; export r; \
8523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8524 $(HOST_EXPORTS) \
8525 for flag in $(EXTRA_HOST_FLAGS) ; do \
8526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8527 done; \
8528 echo "Doing install-html in flex" ; \
8529 (cd $(HOST_SUBDIR)/flex && \
8530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8532 "RANLIB=$${RANLIB}" \
8533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8534 install-html) \
8535 || exit 1
8537 @endif flex
8539 .PHONY: maybe-installcheck-flex installcheck-flex
8540 maybe-installcheck-flex:
8541 @if flex
8542 maybe-installcheck-flex: installcheck-flex
8544 installcheck-flex: \
8545 configure-flex
8546 @: $(MAKE); $(unstage)
8547 @[ -f ./flex/Makefile ] || exit 0; \
8548 r=`${PWD_COMMAND}`; export r; \
8549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8550 $(HOST_EXPORTS) \
8551 for flag in $(EXTRA_HOST_FLAGS) ; do \
8552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8553 done; \
8554 echo "Doing installcheck in flex" ; \
8555 (cd $(HOST_SUBDIR)/flex && \
8556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8558 "RANLIB=$${RANLIB}" \
8559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8560 installcheck) \
8561 || exit 1
8563 @endif flex
8565 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
8566 maybe-mostlyclean-flex:
8567 @if flex
8568 maybe-mostlyclean-flex: mostlyclean-flex
8570 mostlyclean-flex:
8571 @: $(MAKE); $(unstage)
8572 @[ -f ./flex/Makefile ] || exit 0; \
8573 r=`${PWD_COMMAND}`; export r; \
8574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8575 $(HOST_EXPORTS) \
8576 for flag in $(EXTRA_HOST_FLAGS) ; do \
8577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8578 done; \
8579 echo "Doing mostlyclean in flex" ; \
8580 (cd $(HOST_SUBDIR)/flex && \
8581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8583 "RANLIB=$${RANLIB}" \
8584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8585 mostlyclean) \
8586 || exit 1
8588 @endif flex
8590 .PHONY: maybe-clean-flex clean-flex
8591 maybe-clean-flex:
8592 @if flex
8593 maybe-clean-flex: clean-flex
8595 clean-flex:
8596 @: $(MAKE); $(unstage)
8597 @[ -f ./flex/Makefile ] || exit 0; \
8598 r=`${PWD_COMMAND}`; export r; \
8599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8600 $(HOST_EXPORTS) \
8601 for flag in $(EXTRA_HOST_FLAGS) ; do \
8602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8603 done; \
8604 echo "Doing clean in flex" ; \
8605 (cd $(HOST_SUBDIR)/flex && \
8606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8608 "RANLIB=$${RANLIB}" \
8609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8610 clean) \
8611 || exit 1
8613 @endif flex
8615 .PHONY: maybe-distclean-flex distclean-flex
8616 maybe-distclean-flex:
8617 @if flex
8618 maybe-distclean-flex: distclean-flex
8620 distclean-flex:
8621 @: $(MAKE); $(unstage)
8622 @[ -f ./flex/Makefile ] || exit 0; \
8623 r=`${PWD_COMMAND}`; export r; \
8624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8625 $(HOST_EXPORTS) \
8626 for flag in $(EXTRA_HOST_FLAGS) ; do \
8627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8628 done; \
8629 echo "Doing distclean in flex" ; \
8630 (cd $(HOST_SUBDIR)/flex && \
8631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8633 "RANLIB=$${RANLIB}" \
8634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8635 distclean) \
8636 || exit 1
8638 @endif flex
8640 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
8641 maybe-maintainer-clean-flex:
8642 @if flex
8643 maybe-maintainer-clean-flex: maintainer-clean-flex
8645 maintainer-clean-flex:
8646 @: $(MAKE); $(unstage)
8647 @[ -f ./flex/Makefile ] || exit 0; \
8648 r=`${PWD_COMMAND}`; export r; \
8649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8650 $(HOST_EXPORTS) \
8651 for flag in $(EXTRA_HOST_FLAGS) ; do \
8652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8653 done; \
8654 echo "Doing maintainer-clean in flex" ; \
8655 (cd $(HOST_SUBDIR)/flex && \
8656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8658 "RANLIB=$${RANLIB}" \
8659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8660 maintainer-clean) \
8661 || exit 1
8663 @endif flex
8667 .PHONY: configure-gas maybe-configure-gas
8668 maybe-configure-gas:
8669 @if gcc-bootstrap
8670 configure-gas: stage_current
8671 @endif gcc-bootstrap
8672 @if gas
8673 maybe-configure-gas: configure-gas
8674 configure-gas:
8675 @r=`${PWD_COMMAND}`; export r; \
8676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8677 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8678 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8679 $(HOST_EXPORTS) \
8680 echo Configuring in $(HOST_SUBDIR)/gas; \
8681 cd "$(HOST_SUBDIR)/gas" || exit 1; \
8682 case $(srcdir) in \
8683 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8684 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8685 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8686 esac; \
8687 srcdiroption="--srcdir=$${topdir}/gas"; \
8688 libsrcdir="$$s/gas"; \
8689 $(SHELL) $${libsrcdir}/configure \
8690 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8691 --target=${target_alias} $${srcdiroption} \
8692 || exit 1
8693 @endif gas
8697 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
8698 maybe-configure-stage1-gas:
8699 @if gas-bootstrap
8700 maybe-configure-stage1-gas: configure-stage1-gas
8701 configure-stage1-gas:
8702 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8703 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8704 @r=`${PWD_COMMAND}`; export r; \
8705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8706 TFLAGS="$(STAGE1_TFLAGS)"; \
8707 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8708 $(HOST_EXPORTS) \
8709 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
8710 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
8711 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
8712 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
8713 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8714 cd $(HOST_SUBDIR)/gas || exit 1; \
8715 case $(srcdir) in \
8716 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8717 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8718 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8719 esac; \
8720 srcdiroption="--srcdir=$${topdir}/gas"; \
8721 libsrcdir="$$s/gas"; \
8722 $(SHELL) $${libsrcdir}/configure \
8723 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8724 --target=${target_alias} $${srcdiroption} \
8725 $(STAGE1_CONFIGURE_FLAGS)
8726 @endif gas-bootstrap
8728 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
8729 maybe-configure-stage2-gas:
8730 @if gas-bootstrap
8731 maybe-configure-stage2-gas: configure-stage2-gas
8732 configure-stage2-gas:
8733 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8734 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8735 @r=`${PWD_COMMAND}`; export r; \
8736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8737 TFLAGS="$(STAGE2_TFLAGS)"; \
8738 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8739 $(HOST_EXPORTS) \
8740 $(POSTSTAGE1_HOST_EXPORTS) \
8741 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
8742 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
8743 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
8744 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
8745 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8746 cd $(HOST_SUBDIR)/gas || exit 1; \
8747 case $(srcdir) in \
8748 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8749 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8750 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8751 esac; \
8752 srcdiroption="--srcdir=$${topdir}/gas"; \
8753 libsrcdir="$$s/gas"; \
8754 $(SHELL) $${libsrcdir}/configure \
8755 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8756 --target=${target_alias} $${srcdiroption} \
8757 --with-build-libsubdir=$(HOST_SUBDIR) \
8758 $(STAGE2_CONFIGURE_FLAGS)
8759 @endif gas-bootstrap
8761 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
8762 maybe-configure-stage3-gas:
8763 @if gas-bootstrap
8764 maybe-configure-stage3-gas: configure-stage3-gas
8765 configure-stage3-gas:
8766 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8767 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8768 @r=`${PWD_COMMAND}`; export r; \
8769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8770 TFLAGS="$(STAGE3_TFLAGS)"; \
8771 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8772 $(HOST_EXPORTS) \
8773 $(POSTSTAGE1_HOST_EXPORTS) \
8774 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
8775 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
8776 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
8777 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
8778 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8779 cd $(HOST_SUBDIR)/gas || exit 1; \
8780 case $(srcdir) in \
8781 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8782 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8783 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8784 esac; \
8785 srcdiroption="--srcdir=$${topdir}/gas"; \
8786 libsrcdir="$$s/gas"; \
8787 $(SHELL) $${libsrcdir}/configure \
8788 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8789 --target=${target_alias} $${srcdiroption} \
8790 --with-build-libsubdir=$(HOST_SUBDIR) \
8791 $(STAGE3_CONFIGURE_FLAGS)
8792 @endif gas-bootstrap
8794 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
8795 maybe-configure-stage4-gas:
8796 @if gas-bootstrap
8797 maybe-configure-stage4-gas: configure-stage4-gas
8798 configure-stage4-gas:
8799 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8800 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8801 @r=`${PWD_COMMAND}`; export r; \
8802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8803 TFLAGS="$(STAGE4_TFLAGS)"; \
8804 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8805 $(HOST_EXPORTS) \
8806 $(POSTSTAGE1_HOST_EXPORTS) \
8807 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
8808 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
8809 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
8810 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
8811 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8812 cd $(HOST_SUBDIR)/gas || exit 1; \
8813 case $(srcdir) in \
8814 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8815 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8816 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8817 esac; \
8818 srcdiroption="--srcdir=$${topdir}/gas"; \
8819 libsrcdir="$$s/gas"; \
8820 $(SHELL) $${libsrcdir}/configure \
8821 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8822 --target=${target_alias} $${srcdiroption} \
8823 --with-build-libsubdir=$(HOST_SUBDIR) \
8824 $(STAGE4_CONFIGURE_FLAGS)
8825 @endif gas-bootstrap
8827 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
8828 maybe-configure-stageprofile-gas:
8829 @if gas-bootstrap
8830 maybe-configure-stageprofile-gas: configure-stageprofile-gas
8831 configure-stageprofile-gas:
8832 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
8833 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8834 @r=`${PWD_COMMAND}`; export r; \
8835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8836 TFLAGS="$(STAGEprofile_TFLAGS)"; \
8837 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8838 $(HOST_EXPORTS) \
8839 $(POSTSTAGE1_HOST_EXPORTS) \
8840 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
8841 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
8842 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
8843 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
8844 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8845 cd $(HOST_SUBDIR)/gas || exit 1; \
8846 case $(srcdir) in \
8847 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8848 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8849 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8850 esac; \
8851 srcdiroption="--srcdir=$${topdir}/gas"; \
8852 libsrcdir="$$s/gas"; \
8853 $(SHELL) $${libsrcdir}/configure \
8854 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8855 --target=${target_alias} $${srcdiroption} \
8856 --with-build-libsubdir=$(HOST_SUBDIR) \
8857 $(STAGEprofile_CONFIGURE_FLAGS)
8858 @endif gas-bootstrap
8860 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
8861 maybe-configure-stagefeedback-gas:
8862 @if gas-bootstrap
8863 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
8864 configure-stagefeedback-gas:
8865 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
8866 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8867 @r=`${PWD_COMMAND}`; export r; \
8868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8869 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
8870 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8871 $(HOST_EXPORTS) \
8872 $(POSTSTAGE1_HOST_EXPORTS) \
8873 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
8874 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
8875 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
8876 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
8877 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8878 cd $(HOST_SUBDIR)/gas || exit 1; \
8879 case $(srcdir) in \
8880 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8881 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8882 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8883 esac; \
8884 srcdiroption="--srcdir=$${topdir}/gas"; \
8885 libsrcdir="$$s/gas"; \
8886 $(SHELL) $${libsrcdir}/configure \
8887 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8888 --target=${target_alias} $${srcdiroption} \
8889 --with-build-libsubdir=$(HOST_SUBDIR) \
8890 $(STAGEfeedback_CONFIGURE_FLAGS)
8891 @endif gas-bootstrap
8897 .PHONY: all-gas maybe-all-gas
8898 maybe-all-gas:
8899 @if gcc-bootstrap
8900 all-gas: stage_current
8901 @endif gcc-bootstrap
8902 @if gas
8903 TARGET-gas=all
8904 maybe-all-gas: all-gas
8905 all-gas: configure-gas
8906 @r=`${PWD_COMMAND}`; export r; \
8907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8908 $(HOST_EXPORTS) \
8909 (cd $(HOST_SUBDIR)/gas && \
8910 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8911 $(TARGET-gas))
8912 @endif gas
8916 .PHONY: all-stage1-gas maybe-all-stage1-gas
8917 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
8918 maybe-all-stage1-gas:
8919 maybe-clean-stage1-gas:
8920 @if gas-bootstrap
8921 maybe-all-stage1-gas: all-stage1-gas
8922 all-stage1: all-stage1-gas
8923 TARGET-stage1-gas = $(TARGET-gas)
8924 all-stage1-gas: configure-stage1-gas
8925 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8926 @r=`${PWD_COMMAND}`; export r; \
8927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8928 TFLAGS="$(STAGE1_TFLAGS)"; \
8929 $(HOST_EXPORTS) \
8930 cd $(HOST_SUBDIR)/gas && \
8931 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8932 CFLAGS="$(STAGE1_CFLAGS)" \
8933 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
8934 LIBCFLAGS="$(LIBCFLAGS)" \
8935 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8936 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8937 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8938 $(EXTRA_HOST_FLAGS) \
8939 $(STAGE1_FLAGS_TO_PASS) \
8940 TFLAGS="$(STAGE1_TFLAGS)" \
8941 $(TARGET-stage1-gas)
8943 maybe-clean-stage1-gas: clean-stage1-gas
8944 clean-stage1: clean-stage1-gas
8945 clean-stage1-gas:
8946 @if [ $(current_stage) = stage1 ]; then \
8947 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
8948 else \
8949 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
8950 $(MAKE) stage1-start; \
8951 fi; \
8952 cd $(HOST_SUBDIR)/gas && \
8953 $(MAKE) $(EXTRA_HOST_FLAGS) \
8954 $(STAGE1_FLAGS_TO_PASS) clean
8955 @endif gas-bootstrap
8958 .PHONY: all-stage2-gas maybe-all-stage2-gas
8959 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
8960 maybe-all-stage2-gas:
8961 maybe-clean-stage2-gas:
8962 @if gas-bootstrap
8963 maybe-all-stage2-gas: all-stage2-gas
8964 all-stage2: all-stage2-gas
8965 TARGET-stage2-gas = $(TARGET-gas)
8966 all-stage2-gas: configure-stage2-gas
8967 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8968 @r=`${PWD_COMMAND}`; export r; \
8969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8970 TFLAGS="$(STAGE2_TFLAGS)"; \
8971 $(HOST_EXPORTS) \
8972 $(POSTSTAGE1_HOST_EXPORTS) \
8973 cd $(HOST_SUBDIR)/gas && \
8974 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8975 CFLAGS="$(STAGE2_CFLAGS)" \
8976 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
8977 LIBCFLAGS="$(STAGE2_CFLAGS)" \
8978 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8979 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8980 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8981 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8982 TFLAGS="$(STAGE2_TFLAGS)" \
8983 $(TARGET-stage2-gas)
8985 maybe-clean-stage2-gas: clean-stage2-gas
8986 clean-stage2: clean-stage2-gas
8987 clean-stage2-gas:
8988 @if [ $(current_stage) = stage2 ]; then \
8989 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
8990 else \
8991 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
8992 $(MAKE) stage2-start; \
8993 fi; \
8994 cd $(HOST_SUBDIR)/gas && \
8995 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8996 @endif gas-bootstrap
8999 .PHONY: all-stage3-gas maybe-all-stage3-gas
9000 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
9001 maybe-all-stage3-gas:
9002 maybe-clean-stage3-gas:
9003 @if gas-bootstrap
9004 maybe-all-stage3-gas: all-stage3-gas
9005 all-stage3: all-stage3-gas
9006 TARGET-stage3-gas = $(TARGET-gas)
9007 all-stage3-gas: configure-stage3-gas
9008 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9009 @r=`${PWD_COMMAND}`; export r; \
9010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9011 TFLAGS="$(STAGE3_TFLAGS)"; \
9012 $(HOST_EXPORTS) \
9013 $(POSTSTAGE1_HOST_EXPORTS) \
9014 cd $(HOST_SUBDIR)/gas && \
9015 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9016 CFLAGS="$(STAGE3_CFLAGS)" \
9017 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
9018 LIBCFLAGS="$(STAGE3_CFLAGS)" \
9019 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9020 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9021 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9022 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9023 TFLAGS="$(STAGE3_TFLAGS)" \
9024 $(TARGET-stage3-gas)
9026 maybe-clean-stage3-gas: clean-stage3-gas
9027 clean-stage3: clean-stage3-gas
9028 clean-stage3-gas:
9029 @if [ $(current_stage) = stage3 ]; then \
9030 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9031 else \
9032 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
9033 $(MAKE) stage3-start; \
9034 fi; \
9035 cd $(HOST_SUBDIR)/gas && \
9036 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9037 @endif gas-bootstrap
9040 .PHONY: all-stage4-gas maybe-all-stage4-gas
9041 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
9042 maybe-all-stage4-gas:
9043 maybe-clean-stage4-gas:
9044 @if gas-bootstrap
9045 maybe-all-stage4-gas: all-stage4-gas
9046 all-stage4: all-stage4-gas
9047 TARGET-stage4-gas = $(TARGET-gas)
9048 all-stage4-gas: configure-stage4-gas
9049 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9050 @r=`${PWD_COMMAND}`; export r; \
9051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9052 TFLAGS="$(STAGE4_TFLAGS)"; \
9053 $(HOST_EXPORTS) \
9054 $(POSTSTAGE1_HOST_EXPORTS) \
9055 cd $(HOST_SUBDIR)/gas && \
9056 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9057 CFLAGS="$(STAGE4_CFLAGS)" \
9058 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9059 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9060 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9061 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9062 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9063 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9064 TFLAGS="$(STAGE4_TFLAGS)" \
9065 $(TARGET-stage4-gas)
9067 maybe-clean-stage4-gas: clean-stage4-gas
9068 clean-stage4: clean-stage4-gas
9069 clean-stage4-gas:
9070 @if [ $(current_stage) = stage4 ]; then \
9071 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9072 else \
9073 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
9074 $(MAKE) stage4-start; \
9075 fi; \
9076 cd $(HOST_SUBDIR)/gas && \
9077 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9078 @endif gas-bootstrap
9081 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
9082 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
9083 maybe-all-stageprofile-gas:
9084 maybe-clean-stageprofile-gas:
9085 @if gas-bootstrap
9086 maybe-all-stageprofile-gas: all-stageprofile-gas
9087 all-stageprofile: all-stageprofile-gas
9088 TARGET-stageprofile-gas = $(TARGET-gas)
9089 all-stageprofile-gas: configure-stageprofile-gas
9090 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9091 @r=`${PWD_COMMAND}`; export r; \
9092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9093 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9094 $(HOST_EXPORTS) \
9095 $(POSTSTAGE1_HOST_EXPORTS) \
9096 cd $(HOST_SUBDIR)/gas && \
9097 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9098 CFLAGS="$(STAGEprofile_CFLAGS)" \
9099 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9100 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9101 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9102 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9103 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9104 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9105 TFLAGS="$(STAGEprofile_TFLAGS)" \
9106 $(TARGET-stageprofile-gas)
9108 maybe-clean-stageprofile-gas: clean-stageprofile-gas
9109 clean-stageprofile: clean-stageprofile-gas
9110 clean-stageprofile-gas:
9111 @if [ $(current_stage) = stageprofile ]; then \
9112 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9113 else \
9114 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
9115 $(MAKE) stageprofile-start; \
9116 fi; \
9117 cd $(HOST_SUBDIR)/gas && \
9118 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9119 @endif gas-bootstrap
9122 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
9123 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
9124 maybe-all-stagefeedback-gas:
9125 maybe-clean-stagefeedback-gas:
9126 @if gas-bootstrap
9127 maybe-all-stagefeedback-gas: all-stagefeedback-gas
9128 all-stagefeedback: all-stagefeedback-gas
9129 TARGET-stagefeedback-gas = $(TARGET-gas)
9130 all-stagefeedback-gas: configure-stagefeedback-gas
9131 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9132 @r=`${PWD_COMMAND}`; export r; \
9133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9134 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9135 $(HOST_EXPORTS) \
9136 $(POSTSTAGE1_HOST_EXPORTS) \
9137 cd $(HOST_SUBDIR)/gas && \
9138 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9139 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9140 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9141 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9142 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9143 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9144 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9145 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9146 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9147 $(TARGET-stagefeedback-gas)
9149 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
9150 clean-stagefeedback: clean-stagefeedback-gas
9151 clean-stagefeedback-gas:
9152 @if [ $(current_stage) = stagefeedback ]; then \
9153 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9154 else \
9155 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
9156 $(MAKE) stagefeedback-start; \
9157 fi; \
9158 cd $(HOST_SUBDIR)/gas && \
9159 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9160 @endif gas-bootstrap
9166 .PHONY: check-gas maybe-check-gas
9167 maybe-check-gas:
9168 @if gas
9169 maybe-check-gas: check-gas
9171 check-gas:
9172 @: $(MAKE); $(unstage)
9173 @r=`${PWD_COMMAND}`; export r; \
9174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9175 $(HOST_EXPORTS) \
9176 (cd $(HOST_SUBDIR)/gas && \
9177 $(MAKE) $(FLAGS_TO_PASS) check)
9179 @endif gas
9181 .PHONY: install-gas maybe-install-gas
9182 maybe-install-gas:
9183 @if gas
9184 maybe-install-gas: install-gas
9186 install-gas: installdirs
9187 @: $(MAKE); $(unstage)
9188 @r=`${PWD_COMMAND}`; export r; \
9189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9190 $(HOST_EXPORTS) \
9191 (cd $(HOST_SUBDIR)/gas && \
9192 $(MAKE) $(FLAGS_TO_PASS) install)
9194 @endif gas
9196 .PHONY: install-strip-gas maybe-install-strip-gas
9197 maybe-install-strip-gas:
9198 @if gas
9199 maybe-install-strip-gas: install-strip-gas
9201 install-strip-gas: installdirs
9202 @: $(MAKE); $(unstage)
9203 @r=`${PWD_COMMAND}`; export r; \
9204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9205 $(HOST_EXPORTS) \
9206 (cd $(HOST_SUBDIR)/gas && \
9207 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9209 @endif gas
9211 # Other targets (info, dvi, pdf, etc.)
9213 .PHONY: maybe-info-gas info-gas
9214 maybe-info-gas:
9215 @if gas
9216 maybe-info-gas: info-gas
9218 info-gas: \
9219 configure-gas
9220 @[ -f ./gas/Makefile ] || exit 0; \
9221 r=`${PWD_COMMAND}`; export r; \
9222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9223 $(HOST_EXPORTS) \
9224 for flag in $(EXTRA_HOST_FLAGS) ; do \
9225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9226 done; \
9227 echo "Doing info in gas" ; \
9228 (cd $(HOST_SUBDIR)/gas && \
9229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9231 "RANLIB=$${RANLIB}" \
9232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9233 info) \
9234 || exit 1
9236 @endif gas
9238 .PHONY: maybe-dvi-gas dvi-gas
9239 maybe-dvi-gas:
9240 @if gas
9241 maybe-dvi-gas: dvi-gas
9243 dvi-gas: \
9244 configure-gas
9245 @[ -f ./gas/Makefile ] || exit 0; \
9246 r=`${PWD_COMMAND}`; export r; \
9247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9248 $(HOST_EXPORTS) \
9249 for flag in $(EXTRA_HOST_FLAGS) ; do \
9250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9251 done; \
9252 echo "Doing dvi in gas" ; \
9253 (cd $(HOST_SUBDIR)/gas && \
9254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9256 "RANLIB=$${RANLIB}" \
9257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9258 dvi) \
9259 || exit 1
9261 @endif gas
9263 .PHONY: maybe-pdf-gas pdf-gas
9264 maybe-pdf-gas:
9265 @if gas
9266 maybe-pdf-gas: pdf-gas
9268 pdf-gas: \
9269 configure-gas
9270 @[ -f ./gas/Makefile ] || exit 0; \
9271 r=`${PWD_COMMAND}`; export r; \
9272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9273 $(HOST_EXPORTS) \
9274 for flag in $(EXTRA_HOST_FLAGS) ; do \
9275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9276 done; \
9277 echo "Doing pdf in gas" ; \
9278 (cd $(HOST_SUBDIR)/gas && \
9279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9281 "RANLIB=$${RANLIB}" \
9282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9283 pdf) \
9284 || exit 1
9286 @endif gas
9288 .PHONY: maybe-html-gas html-gas
9289 maybe-html-gas:
9290 @if gas
9291 maybe-html-gas: html-gas
9293 html-gas: \
9294 configure-gas
9295 @[ -f ./gas/Makefile ] || exit 0; \
9296 r=`${PWD_COMMAND}`; export r; \
9297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9298 $(HOST_EXPORTS) \
9299 for flag in $(EXTRA_HOST_FLAGS) ; do \
9300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9301 done; \
9302 echo "Doing html in gas" ; \
9303 (cd $(HOST_SUBDIR)/gas && \
9304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9306 "RANLIB=$${RANLIB}" \
9307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9308 html) \
9309 || exit 1
9311 @endif gas
9313 .PHONY: maybe-TAGS-gas TAGS-gas
9314 maybe-TAGS-gas:
9315 @if gas
9316 maybe-TAGS-gas: TAGS-gas
9318 TAGS-gas: \
9319 configure-gas
9320 @[ -f ./gas/Makefile ] || exit 0; \
9321 r=`${PWD_COMMAND}`; export r; \
9322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9323 $(HOST_EXPORTS) \
9324 for flag in $(EXTRA_HOST_FLAGS) ; do \
9325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9326 done; \
9327 echo "Doing TAGS in gas" ; \
9328 (cd $(HOST_SUBDIR)/gas && \
9329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9331 "RANLIB=$${RANLIB}" \
9332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9333 TAGS) \
9334 || exit 1
9336 @endif gas
9338 .PHONY: maybe-install-info-gas install-info-gas
9339 maybe-install-info-gas:
9340 @if gas
9341 maybe-install-info-gas: install-info-gas
9343 install-info-gas: \
9344 configure-gas \
9345 info-gas
9346 @[ -f ./gas/Makefile ] || exit 0; \
9347 r=`${PWD_COMMAND}`; export r; \
9348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9349 $(HOST_EXPORTS) \
9350 for flag in $(EXTRA_HOST_FLAGS) ; do \
9351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9352 done; \
9353 echo "Doing install-info in gas" ; \
9354 (cd $(HOST_SUBDIR)/gas && \
9355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9357 "RANLIB=$${RANLIB}" \
9358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9359 install-info) \
9360 || exit 1
9362 @endif gas
9364 .PHONY: maybe-install-pdf-gas install-pdf-gas
9365 maybe-install-pdf-gas:
9366 @if gas
9367 maybe-install-pdf-gas: install-pdf-gas
9369 install-pdf-gas: \
9370 configure-gas \
9371 pdf-gas
9372 @[ -f ./gas/Makefile ] || exit 0; \
9373 r=`${PWD_COMMAND}`; export r; \
9374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9375 $(HOST_EXPORTS) \
9376 for flag in $(EXTRA_HOST_FLAGS) ; do \
9377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9378 done; \
9379 echo "Doing install-pdf in gas" ; \
9380 (cd $(HOST_SUBDIR)/gas && \
9381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9383 "RANLIB=$${RANLIB}" \
9384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9385 install-pdf) \
9386 || exit 1
9388 @endif gas
9390 .PHONY: maybe-install-html-gas install-html-gas
9391 maybe-install-html-gas:
9392 @if gas
9393 maybe-install-html-gas: install-html-gas
9395 install-html-gas: \
9396 configure-gas \
9397 html-gas
9398 @[ -f ./gas/Makefile ] || exit 0; \
9399 r=`${PWD_COMMAND}`; export r; \
9400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9401 $(HOST_EXPORTS) \
9402 for flag in $(EXTRA_HOST_FLAGS) ; do \
9403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9404 done; \
9405 echo "Doing install-html in gas" ; \
9406 (cd $(HOST_SUBDIR)/gas && \
9407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9409 "RANLIB=$${RANLIB}" \
9410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9411 install-html) \
9412 || exit 1
9414 @endif gas
9416 .PHONY: maybe-installcheck-gas installcheck-gas
9417 maybe-installcheck-gas:
9418 @if gas
9419 maybe-installcheck-gas: installcheck-gas
9421 installcheck-gas: \
9422 configure-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 installcheck 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 installcheck) \
9437 || exit 1
9439 @endif gas
9441 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
9442 maybe-mostlyclean-gas:
9443 @if gas
9444 maybe-mostlyclean-gas: mostlyclean-gas
9446 mostlyclean-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 mostlyclean 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 mostlyclean) \
9461 || exit 1
9463 @endif gas
9465 .PHONY: maybe-clean-gas clean-gas
9466 maybe-clean-gas:
9467 @if gas
9468 maybe-clean-gas: clean-gas
9470 clean-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 clean 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 clean) \
9485 || exit 1
9487 @endif gas
9489 .PHONY: maybe-distclean-gas distclean-gas
9490 maybe-distclean-gas:
9491 @if gas
9492 maybe-distclean-gas: distclean-gas
9494 distclean-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 distclean 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 distclean) \
9509 || exit 1
9511 @endif gas
9513 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
9514 maybe-maintainer-clean-gas:
9515 @if gas
9516 maybe-maintainer-clean-gas: maintainer-clean-gas
9518 maintainer-clean-gas:
9519 @[ -f ./gas/Makefile ] || exit 0; \
9520 r=`${PWD_COMMAND}`; export r; \
9521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9522 $(HOST_EXPORTS) \
9523 for flag in $(EXTRA_HOST_FLAGS) ; do \
9524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9525 done; \
9526 echo "Doing maintainer-clean in gas" ; \
9527 (cd $(HOST_SUBDIR)/gas && \
9528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9530 "RANLIB=$${RANLIB}" \
9531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9532 maintainer-clean) \
9533 || exit 1
9535 @endif gas
9539 .PHONY: configure-gcc maybe-configure-gcc
9540 maybe-configure-gcc:
9541 @if gcc-bootstrap
9542 configure-gcc: stage_current
9543 @endif gcc-bootstrap
9544 @if gcc
9545 maybe-configure-gcc: configure-gcc
9546 configure-gcc:
9547 @r=`${PWD_COMMAND}`; export r; \
9548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9549 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9550 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9551 $(HOST_EXPORTS) \
9552 echo Configuring in $(HOST_SUBDIR)/gcc; \
9553 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
9554 case $(srcdir) in \
9555 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9556 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9557 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9558 esac; \
9559 srcdiroption="--srcdir=$${topdir}/gcc"; \
9560 libsrcdir="$$s/gcc"; \
9561 $(SHELL) $${libsrcdir}/configure \
9562 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9563 --target=${target_alias} $${srcdiroption} \
9564 || exit 1
9565 @endif gcc
9569 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
9570 maybe-configure-stage1-gcc:
9571 @if gcc-bootstrap
9572 maybe-configure-stage1-gcc: configure-stage1-gcc
9573 configure-stage1-gcc:
9574 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9575 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9576 @r=`${PWD_COMMAND}`; export r; \
9577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9578 TFLAGS="$(STAGE1_TFLAGS)"; \
9579 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9580 $(HOST_EXPORTS) \
9581 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
9582 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
9583 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
9584 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
9585 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9586 cd $(HOST_SUBDIR)/gcc || exit 1; \
9587 case $(srcdir) in \
9588 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9589 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9590 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9591 esac; \
9592 srcdiroption="--srcdir=$${topdir}/gcc"; \
9593 libsrcdir="$$s/gcc"; \
9594 $(SHELL) $${libsrcdir}/configure \
9595 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9596 --target=${target_alias} $${srcdiroption} \
9597 $(STAGE1_CONFIGURE_FLAGS)
9598 @endif gcc-bootstrap
9600 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
9601 maybe-configure-stage2-gcc:
9602 @if gcc-bootstrap
9603 maybe-configure-stage2-gcc: configure-stage2-gcc
9604 configure-stage2-gcc:
9605 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9606 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9607 @r=`${PWD_COMMAND}`; export r; \
9608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9609 TFLAGS="$(STAGE2_TFLAGS)"; \
9610 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9611 $(HOST_EXPORTS) \
9612 $(POSTSTAGE1_HOST_EXPORTS) \
9613 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
9614 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
9615 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
9616 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
9617 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9618 cd $(HOST_SUBDIR)/gcc || exit 1; \
9619 case $(srcdir) in \
9620 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9621 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9622 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9623 esac; \
9624 srcdiroption="--srcdir=$${topdir}/gcc"; \
9625 libsrcdir="$$s/gcc"; \
9626 $(SHELL) $${libsrcdir}/configure \
9627 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9628 --target=${target_alias} $${srcdiroption} \
9629 --with-build-libsubdir=$(HOST_SUBDIR) \
9630 $(STAGE2_CONFIGURE_FLAGS)
9631 @endif gcc-bootstrap
9633 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
9634 maybe-configure-stage3-gcc:
9635 @if gcc-bootstrap
9636 maybe-configure-stage3-gcc: configure-stage3-gcc
9637 configure-stage3-gcc:
9638 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9639 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9640 @r=`${PWD_COMMAND}`; export r; \
9641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9642 TFLAGS="$(STAGE3_TFLAGS)"; \
9643 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9644 $(HOST_EXPORTS) \
9645 $(POSTSTAGE1_HOST_EXPORTS) \
9646 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
9647 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
9648 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
9649 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
9650 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9651 cd $(HOST_SUBDIR)/gcc || exit 1; \
9652 case $(srcdir) in \
9653 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9654 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9655 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9656 esac; \
9657 srcdiroption="--srcdir=$${topdir}/gcc"; \
9658 libsrcdir="$$s/gcc"; \
9659 $(SHELL) $${libsrcdir}/configure \
9660 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9661 --target=${target_alias} $${srcdiroption} \
9662 --with-build-libsubdir=$(HOST_SUBDIR) \
9663 $(STAGE3_CONFIGURE_FLAGS)
9664 @endif gcc-bootstrap
9666 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
9667 maybe-configure-stage4-gcc:
9668 @if gcc-bootstrap
9669 maybe-configure-stage4-gcc: configure-stage4-gcc
9670 configure-stage4-gcc:
9671 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9672 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9673 @r=`${PWD_COMMAND}`; export r; \
9674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9675 TFLAGS="$(STAGE4_TFLAGS)"; \
9676 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9677 $(HOST_EXPORTS) \
9678 $(POSTSTAGE1_HOST_EXPORTS) \
9679 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
9680 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
9681 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
9682 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
9683 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9684 cd $(HOST_SUBDIR)/gcc || exit 1; \
9685 case $(srcdir) in \
9686 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9687 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9688 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9689 esac; \
9690 srcdiroption="--srcdir=$${topdir}/gcc"; \
9691 libsrcdir="$$s/gcc"; \
9692 $(SHELL) $${libsrcdir}/configure \
9693 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9694 --target=${target_alias} $${srcdiroption} \
9695 --with-build-libsubdir=$(HOST_SUBDIR) \
9696 $(STAGE4_CONFIGURE_FLAGS)
9697 @endif gcc-bootstrap
9699 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
9700 maybe-configure-stageprofile-gcc:
9701 @if gcc-bootstrap
9702 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
9703 configure-stageprofile-gcc:
9704 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9705 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9706 @r=`${PWD_COMMAND}`; export r; \
9707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9708 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9709 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9710 $(HOST_EXPORTS) \
9711 $(POSTSTAGE1_HOST_EXPORTS) \
9712 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
9713 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
9714 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
9715 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
9716 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9717 cd $(HOST_SUBDIR)/gcc || exit 1; \
9718 case $(srcdir) in \
9719 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9720 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9721 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9722 esac; \
9723 srcdiroption="--srcdir=$${topdir}/gcc"; \
9724 libsrcdir="$$s/gcc"; \
9725 $(SHELL) $${libsrcdir}/configure \
9726 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9727 --target=${target_alias} $${srcdiroption} \
9728 --with-build-libsubdir=$(HOST_SUBDIR) \
9729 $(STAGEprofile_CONFIGURE_FLAGS)
9730 @endif gcc-bootstrap
9732 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
9733 maybe-configure-stagefeedback-gcc:
9734 @if gcc-bootstrap
9735 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
9736 configure-stagefeedback-gcc:
9737 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9738 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9739 @r=`${PWD_COMMAND}`; export r; \
9740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9741 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9742 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9743 $(HOST_EXPORTS) \
9744 $(POSTSTAGE1_HOST_EXPORTS) \
9745 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
9746 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
9747 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
9748 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
9749 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9750 cd $(HOST_SUBDIR)/gcc || exit 1; \
9751 case $(srcdir) in \
9752 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9753 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9754 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9755 esac; \
9756 srcdiroption="--srcdir=$${topdir}/gcc"; \
9757 libsrcdir="$$s/gcc"; \
9758 $(SHELL) $${libsrcdir}/configure \
9759 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9760 --target=${target_alias} $${srcdiroption} \
9761 --with-build-libsubdir=$(HOST_SUBDIR) \
9762 $(STAGEfeedback_CONFIGURE_FLAGS)
9763 @endif gcc-bootstrap
9769 .PHONY: all-gcc maybe-all-gcc
9770 maybe-all-gcc:
9771 @if gcc-bootstrap
9772 all-gcc: stage_current
9773 @endif gcc-bootstrap
9774 @if gcc
9775 TARGET-gcc=all
9776 maybe-all-gcc: all-gcc
9777 all-gcc: configure-gcc
9778 @r=`${PWD_COMMAND}`; export r; \
9779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9780 $(HOST_EXPORTS) \
9781 (cd $(HOST_SUBDIR)/gcc && \
9782 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9783 $(TARGET-gcc))
9784 @endif gcc
9788 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
9789 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
9790 maybe-all-stage1-gcc:
9791 maybe-clean-stage1-gcc:
9792 @if gcc-bootstrap
9793 maybe-all-stage1-gcc: all-stage1-gcc
9794 all-stage1: all-stage1-gcc
9795 TARGET-stage1-gcc = $(TARGET-gcc)
9796 all-stage1-gcc: configure-stage1-gcc
9797 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9798 @r=`${PWD_COMMAND}`; export r; \
9799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9800 TFLAGS="$(STAGE1_TFLAGS)"; \
9801 $(HOST_EXPORTS) \
9802 cd $(HOST_SUBDIR)/gcc && \
9803 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9804 CFLAGS="$(STAGE1_CFLAGS)" \
9805 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
9806 LIBCFLAGS="$(LIBCFLAGS)" \
9807 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9808 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9809 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9810 $(EXTRA_HOST_FLAGS) \
9811 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9812 TFLAGS="$(STAGE1_TFLAGS)" \
9813 $(TARGET-stage1-gcc)
9815 maybe-clean-stage1-gcc: clean-stage1-gcc
9816 clean-stage1: clean-stage1-gcc
9817 clean-stage1-gcc:
9818 @if [ $(current_stage) = stage1 ]; then \
9819 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9820 else \
9821 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
9822 $(MAKE) stage1-start; \
9823 fi; \
9824 cd $(HOST_SUBDIR)/gcc && \
9825 $(MAKE) $(EXTRA_HOST_FLAGS) \
9826 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
9827 @endif gcc-bootstrap
9830 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
9831 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
9832 maybe-all-stage2-gcc:
9833 maybe-clean-stage2-gcc:
9834 @if gcc-bootstrap
9835 maybe-all-stage2-gcc: all-stage2-gcc
9836 all-stage2: all-stage2-gcc
9837 TARGET-stage2-gcc = $(TARGET-gcc)
9838 all-stage2-gcc: configure-stage2-gcc
9839 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9840 @r=`${PWD_COMMAND}`; export r; \
9841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9842 TFLAGS="$(STAGE2_TFLAGS)"; \
9843 $(HOST_EXPORTS) \
9844 $(POSTSTAGE1_HOST_EXPORTS) \
9845 cd $(HOST_SUBDIR)/gcc && \
9846 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9847 CFLAGS="$(STAGE2_CFLAGS)" \
9848 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
9849 LIBCFLAGS="$(STAGE2_CFLAGS)" \
9850 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9851 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9852 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9853 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9854 TFLAGS="$(STAGE2_TFLAGS)" \
9855 $(TARGET-stage2-gcc)
9857 maybe-clean-stage2-gcc: clean-stage2-gcc
9858 clean-stage2: clean-stage2-gcc
9859 clean-stage2-gcc:
9860 @if [ $(current_stage) = stage2 ]; then \
9861 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9862 else \
9863 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
9864 $(MAKE) stage2-start; \
9865 fi; \
9866 cd $(HOST_SUBDIR)/gcc && \
9867 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
9868 @endif gcc-bootstrap
9871 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
9872 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
9873 maybe-all-stage3-gcc:
9874 maybe-clean-stage3-gcc:
9875 @if gcc-bootstrap
9876 maybe-all-stage3-gcc: all-stage3-gcc
9877 all-stage3: all-stage3-gcc
9878 TARGET-stage3-gcc = $(TARGET-gcc)
9879 all-stage3-gcc: configure-stage3-gcc
9880 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9881 @r=`${PWD_COMMAND}`; export r; \
9882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9883 TFLAGS="$(STAGE3_TFLAGS)"; \
9884 $(HOST_EXPORTS) \
9885 $(POSTSTAGE1_HOST_EXPORTS) \
9886 cd $(HOST_SUBDIR)/gcc && \
9887 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9888 CFLAGS="$(STAGE3_CFLAGS)" \
9889 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
9890 LIBCFLAGS="$(STAGE3_CFLAGS)" \
9891 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9892 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9893 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9894 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9895 TFLAGS="$(STAGE3_TFLAGS)" \
9896 $(TARGET-stage3-gcc)
9898 maybe-clean-stage3-gcc: clean-stage3-gcc
9899 clean-stage3: clean-stage3-gcc
9900 clean-stage3-gcc:
9901 @if [ $(current_stage) = stage3 ]; then \
9902 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9903 else \
9904 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
9905 $(MAKE) stage3-start; \
9906 fi; \
9907 cd $(HOST_SUBDIR)/gcc && \
9908 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
9909 @endif gcc-bootstrap
9912 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
9913 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
9914 maybe-all-stage4-gcc:
9915 maybe-clean-stage4-gcc:
9916 @if gcc-bootstrap
9917 maybe-all-stage4-gcc: all-stage4-gcc
9918 all-stage4: all-stage4-gcc
9919 TARGET-stage4-gcc = $(TARGET-gcc)
9920 all-stage4-gcc: configure-stage4-gcc
9921 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9922 @r=`${PWD_COMMAND}`; export r; \
9923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9924 TFLAGS="$(STAGE4_TFLAGS)"; \
9925 $(HOST_EXPORTS) \
9926 $(POSTSTAGE1_HOST_EXPORTS) \
9927 cd $(HOST_SUBDIR)/gcc && \
9928 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9929 CFLAGS="$(STAGE4_CFLAGS)" \
9930 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9931 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9932 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9933 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9934 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9935 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9936 TFLAGS="$(STAGE4_TFLAGS)" \
9937 $(TARGET-stage4-gcc)
9939 maybe-clean-stage4-gcc: clean-stage4-gcc
9940 clean-stage4: clean-stage4-gcc
9941 clean-stage4-gcc:
9942 @if [ $(current_stage) = stage4 ]; then \
9943 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9944 else \
9945 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
9946 $(MAKE) stage4-start; \
9947 fi; \
9948 cd $(HOST_SUBDIR)/gcc && \
9949 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
9950 @endif gcc-bootstrap
9953 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
9954 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
9955 maybe-all-stageprofile-gcc:
9956 maybe-clean-stageprofile-gcc:
9957 @if gcc-bootstrap
9958 maybe-all-stageprofile-gcc: all-stageprofile-gcc
9959 all-stageprofile: all-stageprofile-gcc
9960 TARGET-stageprofile-gcc = $(TARGET-gcc)
9961 all-stageprofile-gcc: configure-stageprofile-gcc
9962 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9963 @r=`${PWD_COMMAND}`; export r; \
9964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9965 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9966 $(HOST_EXPORTS) \
9967 $(POSTSTAGE1_HOST_EXPORTS) \
9968 cd $(HOST_SUBDIR)/gcc && \
9969 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9970 CFLAGS="$(STAGEprofile_CFLAGS)" \
9971 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9972 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9973 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9974 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9975 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9976 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9977 TFLAGS="$(STAGEprofile_TFLAGS)" \
9978 $(TARGET-stageprofile-gcc)
9980 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
9981 clean-stageprofile: clean-stageprofile-gcc
9982 clean-stageprofile-gcc:
9983 @if [ $(current_stage) = stageprofile ]; then \
9984 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9985 else \
9986 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
9987 $(MAKE) stageprofile-start; \
9988 fi; \
9989 cd $(HOST_SUBDIR)/gcc && \
9990 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
9991 @endif gcc-bootstrap
9994 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
9995 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
9996 maybe-all-stagefeedback-gcc:
9997 maybe-clean-stagefeedback-gcc:
9998 @if gcc-bootstrap
9999 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
10000 all-stagefeedback: all-stagefeedback-gcc
10001 TARGET-stagefeedback-gcc = $(TARGET-gcc)
10002 all-stagefeedback-gcc: configure-stagefeedback-gcc
10003 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10004 @r=`${PWD_COMMAND}`; export r; \
10005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10006 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10007 $(HOST_EXPORTS) \
10008 $(POSTSTAGE1_HOST_EXPORTS) \
10009 cd $(HOST_SUBDIR)/gcc && \
10010 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10011 CFLAGS="$(STAGEfeedback_CFLAGS)" \
10012 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
10013 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
10014 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10015 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10016 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10017 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10018 TFLAGS="$(STAGEfeedback_TFLAGS)" \
10019 $(TARGET-stagefeedback-gcc)
10021 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
10022 clean-stagefeedback: clean-stagefeedback-gcc
10023 clean-stagefeedback-gcc:
10024 @if [ $(current_stage) = stagefeedback ]; then \
10025 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10026 else \
10027 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
10028 $(MAKE) stagefeedback-start; \
10029 fi; \
10030 cd $(HOST_SUBDIR)/gcc && \
10031 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10032 @endif gcc-bootstrap
10038 .PHONY: check-gcc maybe-check-gcc
10039 maybe-check-gcc:
10040 @if gcc
10041 maybe-check-gcc: check-gcc
10043 check-gcc:
10044 @: $(MAKE); $(unstage)
10045 @r=`${PWD_COMMAND}`; export r; \
10046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10047 $(HOST_EXPORTS) \
10048 (cd $(HOST_SUBDIR)/gcc && \
10049 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
10051 @endif gcc
10053 .PHONY: install-gcc maybe-install-gcc
10054 maybe-install-gcc:
10055 @if gcc
10056 maybe-install-gcc: install-gcc
10058 install-gcc: installdirs
10059 @: $(MAKE); $(unstage)
10060 @r=`${PWD_COMMAND}`; export r; \
10061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10062 $(HOST_EXPORTS) \
10063 (cd $(HOST_SUBDIR)/gcc && \
10064 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
10066 @endif gcc
10068 .PHONY: install-strip-gcc maybe-install-strip-gcc
10069 maybe-install-strip-gcc:
10070 @if gcc
10071 maybe-install-strip-gcc: install-strip-gcc
10073 install-strip-gcc: installdirs
10074 @: $(MAKE); $(unstage)
10075 @r=`${PWD_COMMAND}`; export r; \
10076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10077 $(HOST_EXPORTS) \
10078 (cd $(HOST_SUBDIR)/gcc && \
10079 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install-strip)
10081 @endif gcc
10083 # Other targets (info, dvi, pdf, etc.)
10085 .PHONY: maybe-info-gcc info-gcc
10086 maybe-info-gcc:
10087 @if gcc
10088 maybe-info-gcc: info-gcc
10090 info-gcc: \
10091 configure-gcc
10092 @[ -f ./gcc/Makefile ] || exit 0; \
10093 r=`${PWD_COMMAND}`; export r; \
10094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10095 $(HOST_EXPORTS) \
10096 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10098 done; \
10099 echo "Doing info in gcc" ; \
10100 (cd $(HOST_SUBDIR)/gcc && \
10101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10103 "RANLIB=$${RANLIB}" \
10104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10105 info) \
10106 || exit 1
10108 @endif gcc
10110 .PHONY: maybe-dvi-gcc dvi-gcc
10111 maybe-dvi-gcc:
10112 @if gcc
10113 maybe-dvi-gcc: dvi-gcc
10115 dvi-gcc: \
10116 configure-gcc
10117 @[ -f ./gcc/Makefile ] || exit 0; \
10118 r=`${PWD_COMMAND}`; export r; \
10119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10120 $(HOST_EXPORTS) \
10121 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10123 done; \
10124 echo "Doing dvi in gcc" ; \
10125 (cd $(HOST_SUBDIR)/gcc && \
10126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10128 "RANLIB=$${RANLIB}" \
10129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10130 dvi) \
10131 || exit 1
10133 @endif gcc
10135 .PHONY: maybe-pdf-gcc pdf-gcc
10136 maybe-pdf-gcc:
10137 @if gcc
10138 maybe-pdf-gcc: pdf-gcc
10140 pdf-gcc: \
10141 configure-gcc
10142 @[ -f ./gcc/Makefile ] || exit 0; \
10143 r=`${PWD_COMMAND}`; export r; \
10144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10145 $(HOST_EXPORTS) \
10146 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10148 done; \
10149 echo "Doing pdf in gcc" ; \
10150 (cd $(HOST_SUBDIR)/gcc && \
10151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10153 "RANLIB=$${RANLIB}" \
10154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10155 pdf) \
10156 || exit 1
10158 @endif gcc
10160 .PHONY: maybe-html-gcc html-gcc
10161 maybe-html-gcc:
10162 @if gcc
10163 maybe-html-gcc: html-gcc
10165 html-gcc: \
10166 configure-gcc
10167 @[ -f ./gcc/Makefile ] || exit 0; \
10168 r=`${PWD_COMMAND}`; export r; \
10169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10170 $(HOST_EXPORTS) \
10171 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10173 done; \
10174 echo "Doing html in gcc" ; \
10175 (cd $(HOST_SUBDIR)/gcc && \
10176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10178 "RANLIB=$${RANLIB}" \
10179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10180 html) \
10181 || exit 1
10183 @endif gcc
10185 .PHONY: maybe-TAGS-gcc TAGS-gcc
10186 maybe-TAGS-gcc:
10187 @if gcc
10188 maybe-TAGS-gcc: TAGS-gcc
10190 TAGS-gcc: \
10191 configure-gcc
10192 @[ -f ./gcc/Makefile ] || exit 0; \
10193 r=`${PWD_COMMAND}`; export r; \
10194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10195 $(HOST_EXPORTS) \
10196 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10198 done; \
10199 echo "Doing TAGS in gcc" ; \
10200 (cd $(HOST_SUBDIR)/gcc && \
10201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10203 "RANLIB=$${RANLIB}" \
10204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10205 TAGS) \
10206 || exit 1
10208 @endif gcc
10210 .PHONY: maybe-install-info-gcc install-info-gcc
10211 maybe-install-info-gcc:
10212 @if gcc
10213 maybe-install-info-gcc: install-info-gcc
10215 install-info-gcc: \
10216 configure-gcc \
10217 info-gcc
10218 @[ -f ./gcc/Makefile ] || exit 0; \
10219 r=`${PWD_COMMAND}`; export r; \
10220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10221 $(HOST_EXPORTS) \
10222 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10224 done; \
10225 echo "Doing install-info in gcc" ; \
10226 (cd $(HOST_SUBDIR)/gcc && \
10227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10229 "RANLIB=$${RANLIB}" \
10230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10231 install-info) \
10232 || exit 1
10234 @endif gcc
10236 .PHONY: maybe-install-pdf-gcc install-pdf-gcc
10237 maybe-install-pdf-gcc:
10238 @if gcc
10239 maybe-install-pdf-gcc: install-pdf-gcc
10241 install-pdf-gcc: \
10242 configure-gcc \
10243 pdf-gcc
10244 @[ -f ./gcc/Makefile ] || exit 0; \
10245 r=`${PWD_COMMAND}`; export r; \
10246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10247 $(HOST_EXPORTS) \
10248 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10250 done; \
10251 echo "Doing install-pdf in gcc" ; \
10252 (cd $(HOST_SUBDIR)/gcc && \
10253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10255 "RANLIB=$${RANLIB}" \
10256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10257 install-pdf) \
10258 || exit 1
10260 @endif gcc
10262 .PHONY: maybe-install-html-gcc install-html-gcc
10263 maybe-install-html-gcc:
10264 @if gcc
10265 maybe-install-html-gcc: install-html-gcc
10267 install-html-gcc: \
10268 configure-gcc \
10269 html-gcc
10270 @[ -f ./gcc/Makefile ] || exit 0; \
10271 r=`${PWD_COMMAND}`; export r; \
10272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10273 $(HOST_EXPORTS) \
10274 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10276 done; \
10277 echo "Doing install-html in gcc" ; \
10278 (cd $(HOST_SUBDIR)/gcc && \
10279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10281 "RANLIB=$${RANLIB}" \
10282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10283 install-html) \
10284 || exit 1
10286 @endif gcc
10288 .PHONY: maybe-installcheck-gcc installcheck-gcc
10289 maybe-installcheck-gcc:
10290 @if gcc
10291 maybe-installcheck-gcc: installcheck-gcc
10293 installcheck-gcc: \
10294 configure-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 installcheck 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 installcheck) \
10309 || exit 1
10311 @endif gcc
10313 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
10314 maybe-mostlyclean-gcc:
10315 @if gcc
10316 maybe-mostlyclean-gcc: mostlyclean-gcc
10318 mostlyclean-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 mostlyclean 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 mostlyclean) \
10333 || exit 1
10335 @endif gcc
10337 .PHONY: maybe-clean-gcc clean-gcc
10338 maybe-clean-gcc:
10339 @if gcc
10340 maybe-clean-gcc: clean-gcc
10342 clean-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 clean 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 clean) \
10357 || exit 1
10359 @endif gcc
10361 .PHONY: maybe-distclean-gcc distclean-gcc
10362 maybe-distclean-gcc:
10363 @if gcc
10364 maybe-distclean-gcc: distclean-gcc
10366 distclean-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 distclean 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 distclean) \
10381 || exit 1
10383 @endif gcc
10385 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
10386 maybe-maintainer-clean-gcc:
10387 @if gcc
10388 maybe-maintainer-clean-gcc: maintainer-clean-gcc
10390 maintainer-clean-gcc:
10391 @[ -f ./gcc/Makefile ] || exit 0; \
10392 r=`${PWD_COMMAND}`; export r; \
10393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10394 $(HOST_EXPORTS) \
10395 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10397 done; \
10398 echo "Doing maintainer-clean in gcc" ; \
10399 (cd $(HOST_SUBDIR)/gcc && \
10400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10402 "RANLIB=$${RANLIB}" \
10403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10404 maintainer-clean) \
10405 || exit 1
10407 @endif gcc
10411 .PHONY: configure-gmp maybe-configure-gmp
10412 maybe-configure-gmp:
10413 @if gcc-bootstrap
10414 configure-gmp: stage_current
10415 @endif gcc-bootstrap
10416 @if gmp
10417 maybe-configure-gmp: configure-gmp
10418 configure-gmp:
10419 @r=`${PWD_COMMAND}`; export r; \
10420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10421 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10422 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10423 $(HOST_EXPORTS) \
10424 echo Configuring in $(HOST_SUBDIR)/gmp; \
10425 cd "$(HOST_SUBDIR)/gmp" || exit 1; \
10426 case $(srcdir) in \
10427 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10428 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10429 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10430 esac; \
10431 srcdiroption="--srcdir=$${topdir}/gmp"; \
10432 libsrcdir="$$s/gmp"; \
10433 $(SHELL) $${libsrcdir}/configure \
10434 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10435 --target=none-${host_vendor}-${host_os} $${srcdiroption} --disable-shared \
10436 || exit 1
10437 @endif gmp
10441 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
10442 maybe-configure-stage1-gmp:
10443 @if gmp-bootstrap
10444 maybe-configure-stage1-gmp: configure-stage1-gmp
10445 configure-stage1-gmp:
10446 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10447 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10448 @r=`${PWD_COMMAND}`; export r; \
10449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10450 TFLAGS="$(STAGE1_TFLAGS)"; \
10451 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10452 $(HOST_EXPORTS) \
10453 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
10454 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
10455 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
10456 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp ; \
10457 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10458 cd $(HOST_SUBDIR)/gmp || exit 1; \
10459 case $(srcdir) in \
10460 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10461 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10462 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10463 esac; \
10464 srcdiroption="--srcdir=$${topdir}/gmp"; \
10465 libsrcdir="$$s/gmp"; \
10466 $(SHELL) $${libsrcdir}/configure \
10467 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10468 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10469 $(STAGE1_CONFIGURE_FLAGS) \
10470 --disable-shared
10471 @endif gmp-bootstrap
10473 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
10474 maybe-configure-stage2-gmp:
10475 @if gmp-bootstrap
10476 maybe-configure-stage2-gmp: configure-stage2-gmp
10477 configure-stage2-gmp:
10478 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10479 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10480 @r=`${PWD_COMMAND}`; export r; \
10481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10482 TFLAGS="$(STAGE2_TFLAGS)"; \
10483 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10484 $(HOST_EXPORTS) \
10485 $(POSTSTAGE1_HOST_EXPORTS) \
10486 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
10487 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
10488 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
10489 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp ; \
10490 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10491 cd $(HOST_SUBDIR)/gmp || exit 1; \
10492 case $(srcdir) in \
10493 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10494 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10495 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10496 esac; \
10497 srcdiroption="--srcdir=$${topdir}/gmp"; \
10498 libsrcdir="$$s/gmp"; \
10499 $(SHELL) $${libsrcdir}/configure \
10500 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10501 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10502 --with-build-libsubdir=$(HOST_SUBDIR) \
10503 $(STAGE2_CONFIGURE_FLAGS) \
10504 --disable-shared
10505 @endif gmp-bootstrap
10507 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
10508 maybe-configure-stage3-gmp:
10509 @if gmp-bootstrap
10510 maybe-configure-stage3-gmp: configure-stage3-gmp
10511 configure-stage3-gmp:
10512 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10513 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10514 @r=`${PWD_COMMAND}`; export r; \
10515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10516 TFLAGS="$(STAGE3_TFLAGS)"; \
10517 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10518 $(HOST_EXPORTS) \
10519 $(POSTSTAGE1_HOST_EXPORTS) \
10520 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
10521 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
10522 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
10523 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp ; \
10524 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10525 cd $(HOST_SUBDIR)/gmp || exit 1; \
10526 case $(srcdir) in \
10527 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10528 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10529 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10530 esac; \
10531 srcdiroption="--srcdir=$${topdir}/gmp"; \
10532 libsrcdir="$$s/gmp"; \
10533 $(SHELL) $${libsrcdir}/configure \
10534 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10535 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10536 --with-build-libsubdir=$(HOST_SUBDIR) \
10537 $(STAGE3_CONFIGURE_FLAGS) \
10538 --disable-shared
10539 @endif gmp-bootstrap
10541 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
10542 maybe-configure-stage4-gmp:
10543 @if gmp-bootstrap
10544 maybe-configure-stage4-gmp: configure-stage4-gmp
10545 configure-stage4-gmp:
10546 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10547 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10548 @r=`${PWD_COMMAND}`; export r; \
10549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10550 TFLAGS="$(STAGE4_TFLAGS)"; \
10551 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10552 $(HOST_EXPORTS) \
10553 $(POSTSTAGE1_HOST_EXPORTS) \
10554 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
10555 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
10556 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
10557 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp ; \
10558 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10559 cd $(HOST_SUBDIR)/gmp || exit 1; \
10560 case $(srcdir) in \
10561 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10562 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10563 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10564 esac; \
10565 srcdiroption="--srcdir=$${topdir}/gmp"; \
10566 libsrcdir="$$s/gmp"; \
10567 $(SHELL) $${libsrcdir}/configure \
10568 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10569 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10570 --with-build-libsubdir=$(HOST_SUBDIR) \
10571 $(STAGE4_CONFIGURE_FLAGS) \
10572 --disable-shared
10573 @endif gmp-bootstrap
10575 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
10576 maybe-configure-stageprofile-gmp:
10577 @if gmp-bootstrap
10578 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
10579 configure-stageprofile-gmp:
10580 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10581 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10582 @r=`${PWD_COMMAND}`; export r; \
10583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10584 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10585 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10586 $(HOST_EXPORTS) \
10587 $(POSTSTAGE1_HOST_EXPORTS) \
10588 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
10589 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
10590 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
10591 echo Configuring stage profile in $(HOST_SUBDIR)/gmp ; \
10592 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10593 cd $(HOST_SUBDIR)/gmp || exit 1; \
10594 case $(srcdir) in \
10595 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10596 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10597 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10598 esac; \
10599 srcdiroption="--srcdir=$${topdir}/gmp"; \
10600 libsrcdir="$$s/gmp"; \
10601 $(SHELL) $${libsrcdir}/configure \
10602 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10603 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10604 --with-build-libsubdir=$(HOST_SUBDIR) \
10605 $(STAGEprofile_CONFIGURE_FLAGS) \
10606 --disable-shared
10607 @endif gmp-bootstrap
10609 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
10610 maybe-configure-stagefeedback-gmp:
10611 @if gmp-bootstrap
10612 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
10613 configure-stagefeedback-gmp:
10614 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10615 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10616 @r=`${PWD_COMMAND}`; export r; \
10617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10618 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10619 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10620 $(HOST_EXPORTS) \
10621 $(POSTSTAGE1_HOST_EXPORTS) \
10622 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
10623 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
10624 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
10625 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp ; \
10626 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10627 cd $(HOST_SUBDIR)/gmp || exit 1; \
10628 case $(srcdir) in \
10629 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10630 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10631 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10632 esac; \
10633 srcdiroption="--srcdir=$${topdir}/gmp"; \
10634 libsrcdir="$$s/gmp"; \
10635 $(SHELL) $${libsrcdir}/configure \
10636 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10637 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10638 --with-build-libsubdir=$(HOST_SUBDIR) \
10639 $(STAGEfeedback_CONFIGURE_FLAGS) \
10640 --disable-shared
10641 @endif gmp-bootstrap
10647 .PHONY: all-gmp maybe-all-gmp
10648 maybe-all-gmp:
10649 @if gcc-bootstrap
10650 all-gmp: stage_current
10651 @endif gcc-bootstrap
10652 @if gmp
10653 TARGET-gmp=all
10654 maybe-all-gmp: all-gmp
10655 all-gmp: configure-gmp
10656 @r=`${PWD_COMMAND}`; export r; \
10657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10658 $(HOST_EXPORTS) \
10659 (cd $(HOST_SUBDIR)/gmp && \
10660 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
10661 $(TARGET-gmp))
10662 @endif gmp
10666 .PHONY: all-stage1-gmp maybe-all-stage1-gmp
10667 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
10668 maybe-all-stage1-gmp:
10669 maybe-clean-stage1-gmp:
10670 @if gmp-bootstrap
10671 maybe-all-stage1-gmp: all-stage1-gmp
10672 all-stage1: all-stage1-gmp
10673 TARGET-stage1-gmp = $(TARGET-gmp)
10674 all-stage1-gmp: configure-stage1-gmp
10675 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10676 @r=`${PWD_COMMAND}`; export r; \
10677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10678 TFLAGS="$(STAGE1_TFLAGS)"; \
10679 $(HOST_EXPORTS) \
10680 cd $(HOST_SUBDIR)/gmp && \
10681 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10682 CFLAGS="$(STAGE1_CFLAGS)" \
10683 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
10684 LIBCFLAGS="$(LIBCFLAGS)" \
10685 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10686 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10687 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10688 $(EXTRA_HOST_FLAGS) \
10689 $(STAGE1_FLAGS_TO_PASS) \
10690 TFLAGS="$(STAGE1_TFLAGS)" \
10691 $(TARGET-stage1-gmp)
10693 maybe-clean-stage1-gmp: clean-stage1-gmp
10694 clean-stage1: clean-stage1-gmp
10695 clean-stage1-gmp:
10696 @if [ $(current_stage) = stage1 ]; then \
10697 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10698 else \
10699 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
10700 $(MAKE) stage1-start; \
10701 fi; \
10702 cd $(HOST_SUBDIR)/gmp && \
10703 $(MAKE) $(EXTRA_HOST_FLAGS) \
10704 $(STAGE1_FLAGS_TO_PASS) clean
10705 @endif gmp-bootstrap
10708 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
10709 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
10710 maybe-all-stage2-gmp:
10711 maybe-clean-stage2-gmp:
10712 @if gmp-bootstrap
10713 maybe-all-stage2-gmp: all-stage2-gmp
10714 all-stage2: all-stage2-gmp
10715 TARGET-stage2-gmp = $(TARGET-gmp)
10716 all-stage2-gmp: configure-stage2-gmp
10717 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10718 @r=`${PWD_COMMAND}`; export r; \
10719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10720 TFLAGS="$(STAGE2_TFLAGS)"; \
10721 $(HOST_EXPORTS) \
10722 $(POSTSTAGE1_HOST_EXPORTS) \
10723 cd $(HOST_SUBDIR)/gmp && \
10724 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10725 CFLAGS="$(STAGE2_CFLAGS)" \
10726 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
10727 LIBCFLAGS="$(STAGE2_CFLAGS)" \
10728 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10729 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10730 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10731 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10732 TFLAGS="$(STAGE2_TFLAGS)" \
10733 $(TARGET-stage2-gmp)
10735 maybe-clean-stage2-gmp: clean-stage2-gmp
10736 clean-stage2: clean-stage2-gmp
10737 clean-stage2-gmp:
10738 @if [ $(current_stage) = stage2 ]; then \
10739 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10740 else \
10741 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
10742 $(MAKE) stage2-start; \
10743 fi; \
10744 cd $(HOST_SUBDIR)/gmp && \
10745 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10746 @endif gmp-bootstrap
10749 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
10750 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
10751 maybe-all-stage3-gmp:
10752 maybe-clean-stage3-gmp:
10753 @if gmp-bootstrap
10754 maybe-all-stage3-gmp: all-stage3-gmp
10755 all-stage3: all-stage3-gmp
10756 TARGET-stage3-gmp = $(TARGET-gmp)
10757 all-stage3-gmp: configure-stage3-gmp
10758 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10759 @r=`${PWD_COMMAND}`; export r; \
10760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10761 TFLAGS="$(STAGE3_TFLAGS)"; \
10762 $(HOST_EXPORTS) \
10763 $(POSTSTAGE1_HOST_EXPORTS) \
10764 cd $(HOST_SUBDIR)/gmp && \
10765 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10766 CFLAGS="$(STAGE3_CFLAGS)" \
10767 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
10768 LIBCFLAGS="$(STAGE3_CFLAGS)" \
10769 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10770 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10771 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10772 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10773 TFLAGS="$(STAGE3_TFLAGS)" \
10774 $(TARGET-stage3-gmp)
10776 maybe-clean-stage3-gmp: clean-stage3-gmp
10777 clean-stage3: clean-stage3-gmp
10778 clean-stage3-gmp:
10779 @if [ $(current_stage) = stage3 ]; then \
10780 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10781 else \
10782 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
10783 $(MAKE) stage3-start; \
10784 fi; \
10785 cd $(HOST_SUBDIR)/gmp && \
10786 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10787 @endif gmp-bootstrap
10790 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
10791 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
10792 maybe-all-stage4-gmp:
10793 maybe-clean-stage4-gmp:
10794 @if gmp-bootstrap
10795 maybe-all-stage4-gmp: all-stage4-gmp
10796 all-stage4: all-stage4-gmp
10797 TARGET-stage4-gmp = $(TARGET-gmp)
10798 all-stage4-gmp: configure-stage4-gmp
10799 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10800 @r=`${PWD_COMMAND}`; export r; \
10801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10802 TFLAGS="$(STAGE4_TFLAGS)"; \
10803 $(HOST_EXPORTS) \
10804 $(POSTSTAGE1_HOST_EXPORTS) \
10805 cd $(HOST_SUBDIR)/gmp && \
10806 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10807 CFLAGS="$(STAGE4_CFLAGS)" \
10808 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
10809 LIBCFLAGS="$(STAGE4_CFLAGS)" \
10810 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10811 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10812 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10813 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10814 TFLAGS="$(STAGE4_TFLAGS)" \
10815 $(TARGET-stage4-gmp)
10817 maybe-clean-stage4-gmp: clean-stage4-gmp
10818 clean-stage4: clean-stage4-gmp
10819 clean-stage4-gmp:
10820 @if [ $(current_stage) = stage4 ]; then \
10821 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10822 else \
10823 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
10824 $(MAKE) stage4-start; \
10825 fi; \
10826 cd $(HOST_SUBDIR)/gmp && \
10827 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10828 @endif gmp-bootstrap
10831 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
10832 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
10833 maybe-all-stageprofile-gmp:
10834 maybe-clean-stageprofile-gmp:
10835 @if gmp-bootstrap
10836 maybe-all-stageprofile-gmp: all-stageprofile-gmp
10837 all-stageprofile: all-stageprofile-gmp
10838 TARGET-stageprofile-gmp = $(TARGET-gmp)
10839 all-stageprofile-gmp: configure-stageprofile-gmp
10840 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10841 @r=`${PWD_COMMAND}`; export r; \
10842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10843 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10844 $(HOST_EXPORTS) \
10845 $(POSTSTAGE1_HOST_EXPORTS) \
10846 cd $(HOST_SUBDIR)/gmp && \
10847 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10848 CFLAGS="$(STAGEprofile_CFLAGS)" \
10849 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
10850 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
10851 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10852 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10853 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10854 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10855 TFLAGS="$(STAGEprofile_TFLAGS)" \
10856 $(TARGET-stageprofile-gmp)
10858 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
10859 clean-stageprofile: clean-stageprofile-gmp
10860 clean-stageprofile-gmp:
10861 @if [ $(current_stage) = stageprofile ]; then \
10862 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10863 else \
10864 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
10865 $(MAKE) stageprofile-start; \
10866 fi; \
10867 cd $(HOST_SUBDIR)/gmp && \
10868 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10869 @endif gmp-bootstrap
10872 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
10873 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
10874 maybe-all-stagefeedback-gmp:
10875 maybe-clean-stagefeedback-gmp:
10876 @if gmp-bootstrap
10877 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
10878 all-stagefeedback: all-stagefeedback-gmp
10879 TARGET-stagefeedback-gmp = $(TARGET-gmp)
10880 all-stagefeedback-gmp: configure-stagefeedback-gmp
10881 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10882 @r=`${PWD_COMMAND}`; export r; \
10883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10884 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10885 $(HOST_EXPORTS) \
10886 $(POSTSTAGE1_HOST_EXPORTS) \
10887 cd $(HOST_SUBDIR)/gmp && \
10888 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10889 CFLAGS="$(STAGEfeedback_CFLAGS)" \
10890 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
10891 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
10892 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10893 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10894 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10895 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10896 TFLAGS="$(STAGEfeedback_TFLAGS)" \
10897 $(TARGET-stagefeedback-gmp)
10899 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
10900 clean-stagefeedback: clean-stagefeedback-gmp
10901 clean-stagefeedback-gmp:
10902 @if [ $(current_stage) = stagefeedback ]; then \
10903 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10904 else \
10905 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
10906 $(MAKE) stagefeedback-start; \
10907 fi; \
10908 cd $(HOST_SUBDIR)/gmp && \
10909 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10910 @endif gmp-bootstrap
10916 .PHONY: check-gmp maybe-check-gmp
10917 maybe-check-gmp:
10918 @if gmp
10919 maybe-check-gmp: check-gmp
10921 check-gmp:
10922 @: $(MAKE); $(unstage)
10923 @r=`${PWD_COMMAND}`; export r; \
10924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10925 $(HOST_EXPORTS) \
10926 (cd $(HOST_SUBDIR)/gmp && \
10927 $(MAKE) $(FLAGS_TO_PASS) check)
10929 @endif gmp
10931 .PHONY: install-gmp maybe-install-gmp
10932 maybe-install-gmp:
10933 @if gmp
10934 maybe-install-gmp: install-gmp
10936 install-gmp:
10938 @endif gmp
10940 .PHONY: install-strip-gmp maybe-install-strip-gmp
10941 maybe-install-strip-gmp:
10942 @if gmp
10943 maybe-install-strip-gmp: install-strip-gmp
10945 install-strip-gmp:
10947 @endif gmp
10949 # Other targets (info, dvi, pdf, etc.)
10951 .PHONY: maybe-info-gmp info-gmp
10952 maybe-info-gmp:
10953 @if gmp
10954 maybe-info-gmp: info-gmp
10956 info-gmp: \
10957 configure-gmp
10958 @[ -f ./gmp/Makefile ] || exit 0; \
10959 r=`${PWD_COMMAND}`; export r; \
10960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10961 $(HOST_EXPORTS) \
10962 for flag in $(EXTRA_HOST_FLAGS) ; do \
10963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10964 done; \
10965 echo "Doing info in gmp" ; \
10966 (cd $(HOST_SUBDIR)/gmp && \
10967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10969 "RANLIB=$${RANLIB}" \
10970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10971 info) \
10972 || exit 1
10974 @endif gmp
10976 .PHONY: maybe-dvi-gmp dvi-gmp
10977 maybe-dvi-gmp:
10978 @if gmp
10979 maybe-dvi-gmp: dvi-gmp
10981 dvi-gmp: \
10982 configure-gmp
10983 @[ -f ./gmp/Makefile ] || exit 0; \
10984 r=`${PWD_COMMAND}`; export r; \
10985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10986 $(HOST_EXPORTS) \
10987 for flag in $(EXTRA_HOST_FLAGS) ; do \
10988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10989 done; \
10990 echo "Doing dvi in gmp" ; \
10991 (cd $(HOST_SUBDIR)/gmp && \
10992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10994 "RANLIB=$${RANLIB}" \
10995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10996 dvi) \
10997 || exit 1
10999 @endif gmp
11001 .PHONY: maybe-pdf-gmp pdf-gmp
11002 maybe-pdf-gmp:
11003 @if gmp
11004 maybe-pdf-gmp: pdf-gmp
11006 pdf-gmp: \
11007 configure-gmp
11008 @[ -f ./gmp/Makefile ] || exit 0; \
11009 r=`${PWD_COMMAND}`; export r; \
11010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11011 $(HOST_EXPORTS) \
11012 for flag in $(EXTRA_HOST_FLAGS) ; do \
11013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11014 done; \
11015 echo "Doing pdf in gmp" ; \
11016 (cd $(HOST_SUBDIR)/gmp && \
11017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11019 "RANLIB=$${RANLIB}" \
11020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11021 pdf) \
11022 || exit 1
11024 @endif gmp
11026 .PHONY: maybe-html-gmp html-gmp
11027 maybe-html-gmp:
11028 @if gmp
11029 maybe-html-gmp: html-gmp
11031 html-gmp: \
11032 configure-gmp
11033 @[ -f ./gmp/Makefile ] || exit 0; \
11034 r=`${PWD_COMMAND}`; export r; \
11035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11036 $(HOST_EXPORTS) \
11037 for flag in $(EXTRA_HOST_FLAGS) ; do \
11038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11039 done; \
11040 echo "Doing html in gmp" ; \
11041 (cd $(HOST_SUBDIR)/gmp && \
11042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11044 "RANLIB=$${RANLIB}" \
11045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11046 html) \
11047 || exit 1
11049 @endif gmp
11051 .PHONY: maybe-TAGS-gmp TAGS-gmp
11052 maybe-TAGS-gmp:
11053 @if gmp
11054 maybe-TAGS-gmp: TAGS-gmp
11056 TAGS-gmp: \
11057 configure-gmp
11058 @[ -f ./gmp/Makefile ] || exit 0; \
11059 r=`${PWD_COMMAND}`; export r; \
11060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11061 $(HOST_EXPORTS) \
11062 for flag in $(EXTRA_HOST_FLAGS) ; do \
11063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11064 done; \
11065 echo "Doing TAGS in gmp" ; \
11066 (cd $(HOST_SUBDIR)/gmp && \
11067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11069 "RANLIB=$${RANLIB}" \
11070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11071 TAGS) \
11072 || exit 1
11074 @endif gmp
11076 .PHONY: maybe-install-info-gmp install-info-gmp
11077 maybe-install-info-gmp:
11078 @if gmp
11079 maybe-install-info-gmp: install-info-gmp
11081 install-info-gmp: \
11082 configure-gmp \
11083 info-gmp
11084 @[ -f ./gmp/Makefile ] || exit 0; \
11085 r=`${PWD_COMMAND}`; export r; \
11086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11087 $(HOST_EXPORTS) \
11088 for flag in $(EXTRA_HOST_FLAGS) ; do \
11089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11090 done; \
11091 echo "Doing install-info in gmp" ; \
11092 (cd $(HOST_SUBDIR)/gmp && \
11093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11095 "RANLIB=$${RANLIB}" \
11096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11097 install-info) \
11098 || exit 1
11100 @endif gmp
11102 .PHONY: maybe-install-pdf-gmp install-pdf-gmp
11103 maybe-install-pdf-gmp:
11104 @if gmp
11105 maybe-install-pdf-gmp: install-pdf-gmp
11107 install-pdf-gmp: \
11108 configure-gmp \
11109 pdf-gmp
11110 @[ -f ./gmp/Makefile ] || exit 0; \
11111 r=`${PWD_COMMAND}`; export r; \
11112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11113 $(HOST_EXPORTS) \
11114 for flag in $(EXTRA_HOST_FLAGS) ; do \
11115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11116 done; \
11117 echo "Doing install-pdf in gmp" ; \
11118 (cd $(HOST_SUBDIR)/gmp && \
11119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11121 "RANLIB=$${RANLIB}" \
11122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11123 install-pdf) \
11124 || exit 1
11126 @endif gmp
11128 .PHONY: maybe-install-html-gmp install-html-gmp
11129 maybe-install-html-gmp:
11130 @if gmp
11131 maybe-install-html-gmp: install-html-gmp
11133 install-html-gmp: \
11134 configure-gmp \
11135 html-gmp
11136 @[ -f ./gmp/Makefile ] || exit 0; \
11137 r=`${PWD_COMMAND}`; export r; \
11138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11139 $(HOST_EXPORTS) \
11140 for flag in $(EXTRA_HOST_FLAGS) ; do \
11141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11142 done; \
11143 echo "Doing install-html in gmp" ; \
11144 (cd $(HOST_SUBDIR)/gmp && \
11145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11147 "RANLIB=$${RANLIB}" \
11148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11149 install-html) \
11150 || exit 1
11152 @endif gmp
11154 .PHONY: maybe-installcheck-gmp installcheck-gmp
11155 maybe-installcheck-gmp:
11156 @if gmp
11157 maybe-installcheck-gmp: installcheck-gmp
11159 installcheck-gmp: \
11160 configure-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 installcheck 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 installcheck) \
11175 || exit 1
11177 @endif gmp
11179 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
11180 maybe-mostlyclean-gmp:
11181 @if gmp
11182 maybe-mostlyclean-gmp: mostlyclean-gmp
11184 mostlyclean-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 mostlyclean 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 mostlyclean) \
11199 || exit 1
11201 @endif gmp
11203 .PHONY: maybe-clean-gmp clean-gmp
11204 maybe-clean-gmp:
11205 @if gmp
11206 maybe-clean-gmp: clean-gmp
11208 clean-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 clean 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 clean) \
11223 || exit 1
11225 @endif gmp
11227 .PHONY: maybe-distclean-gmp distclean-gmp
11228 maybe-distclean-gmp:
11229 @if gmp
11230 maybe-distclean-gmp: distclean-gmp
11232 distclean-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 distclean 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 distclean) \
11247 || exit 1
11249 @endif gmp
11251 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
11252 maybe-maintainer-clean-gmp:
11253 @if gmp
11254 maybe-maintainer-clean-gmp: maintainer-clean-gmp
11256 maintainer-clean-gmp:
11257 @[ -f ./gmp/Makefile ] || exit 0; \
11258 r=`${PWD_COMMAND}`; export r; \
11259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11260 $(HOST_EXPORTS) \
11261 for flag in $(EXTRA_HOST_FLAGS) ; do \
11262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11263 done; \
11264 echo "Doing maintainer-clean in gmp" ; \
11265 (cd $(HOST_SUBDIR)/gmp && \
11266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11268 "RANLIB=$${RANLIB}" \
11269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11270 maintainer-clean) \
11271 || exit 1
11273 @endif gmp
11277 .PHONY: configure-mpfr maybe-configure-mpfr
11278 maybe-configure-mpfr:
11279 @if gcc-bootstrap
11280 configure-mpfr: stage_current
11281 @endif gcc-bootstrap
11282 @if mpfr
11283 maybe-configure-mpfr: configure-mpfr
11284 configure-mpfr:
11285 @r=`${PWD_COMMAND}`; export r; \
11286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11287 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11288 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11289 $(HOST_EXPORTS) \
11290 echo Configuring in $(HOST_SUBDIR)/mpfr; \
11291 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
11292 case $(srcdir) in \
11293 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11294 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11295 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11296 esac; \
11297 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11298 libsrcdir="$$s/mpfr"; \
11299 $(SHELL) $${libsrcdir}/configure \
11300 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11301 --target=${target_alias} $${srcdiroption} --disable-shared @extra_mpfr_configure_flags@ \
11302 || exit 1
11303 @endif mpfr
11307 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
11308 maybe-configure-stage1-mpfr:
11309 @if mpfr-bootstrap
11310 maybe-configure-stage1-mpfr: configure-stage1-mpfr
11311 configure-stage1-mpfr:
11312 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11313 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11314 @r=`${PWD_COMMAND}`; export r; \
11315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11316 TFLAGS="$(STAGE1_TFLAGS)"; \
11317 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11318 $(HOST_EXPORTS) \
11319 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
11320 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
11321 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
11322 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr ; \
11323 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11324 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11325 case $(srcdir) in \
11326 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11327 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11328 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11329 esac; \
11330 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11331 libsrcdir="$$s/mpfr"; \
11332 $(SHELL) $${libsrcdir}/configure \
11333 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11334 --target=${target_alias} $${srcdiroption} \
11335 $(STAGE1_CONFIGURE_FLAGS) \
11336 --disable-shared @extra_mpfr_configure_flags@
11337 @endif mpfr-bootstrap
11339 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
11340 maybe-configure-stage2-mpfr:
11341 @if mpfr-bootstrap
11342 maybe-configure-stage2-mpfr: configure-stage2-mpfr
11343 configure-stage2-mpfr:
11344 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11345 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11346 @r=`${PWD_COMMAND}`; export r; \
11347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11348 TFLAGS="$(STAGE2_TFLAGS)"; \
11349 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11350 $(HOST_EXPORTS) \
11351 $(POSTSTAGE1_HOST_EXPORTS) \
11352 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
11353 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
11354 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
11355 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr ; \
11356 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11357 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11358 case $(srcdir) in \
11359 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11360 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11361 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11362 esac; \
11363 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11364 libsrcdir="$$s/mpfr"; \
11365 $(SHELL) $${libsrcdir}/configure \
11366 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11367 --target=${target_alias} $${srcdiroption} \
11368 --with-build-libsubdir=$(HOST_SUBDIR) \
11369 $(STAGE2_CONFIGURE_FLAGS) \
11370 --disable-shared @extra_mpfr_configure_flags@
11371 @endif mpfr-bootstrap
11373 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
11374 maybe-configure-stage3-mpfr:
11375 @if mpfr-bootstrap
11376 maybe-configure-stage3-mpfr: configure-stage3-mpfr
11377 configure-stage3-mpfr:
11378 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11379 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11380 @r=`${PWD_COMMAND}`; export r; \
11381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11382 TFLAGS="$(STAGE3_TFLAGS)"; \
11383 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11384 $(HOST_EXPORTS) \
11385 $(POSTSTAGE1_HOST_EXPORTS) \
11386 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
11387 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
11388 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
11389 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr ; \
11390 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11391 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11392 case $(srcdir) in \
11393 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11394 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11395 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11396 esac; \
11397 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11398 libsrcdir="$$s/mpfr"; \
11399 $(SHELL) $${libsrcdir}/configure \
11400 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11401 --target=${target_alias} $${srcdiroption} \
11402 --with-build-libsubdir=$(HOST_SUBDIR) \
11403 $(STAGE3_CONFIGURE_FLAGS) \
11404 --disable-shared @extra_mpfr_configure_flags@
11405 @endif mpfr-bootstrap
11407 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
11408 maybe-configure-stage4-mpfr:
11409 @if mpfr-bootstrap
11410 maybe-configure-stage4-mpfr: configure-stage4-mpfr
11411 configure-stage4-mpfr:
11412 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11413 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11414 @r=`${PWD_COMMAND}`; export r; \
11415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11416 TFLAGS="$(STAGE4_TFLAGS)"; \
11417 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11418 $(HOST_EXPORTS) \
11419 $(POSTSTAGE1_HOST_EXPORTS) \
11420 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
11421 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
11422 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
11423 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr ; \
11424 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11425 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11426 case $(srcdir) in \
11427 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11428 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11429 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11430 esac; \
11431 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11432 libsrcdir="$$s/mpfr"; \
11433 $(SHELL) $${libsrcdir}/configure \
11434 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11435 --target=${target_alias} $${srcdiroption} \
11436 --with-build-libsubdir=$(HOST_SUBDIR) \
11437 $(STAGE4_CONFIGURE_FLAGS) \
11438 --disable-shared @extra_mpfr_configure_flags@
11439 @endif mpfr-bootstrap
11441 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
11442 maybe-configure-stageprofile-mpfr:
11443 @if mpfr-bootstrap
11444 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
11445 configure-stageprofile-mpfr:
11446 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11447 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11448 @r=`${PWD_COMMAND}`; export r; \
11449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11450 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11451 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11452 $(HOST_EXPORTS) \
11453 $(POSTSTAGE1_HOST_EXPORTS) \
11454 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
11455 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
11456 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
11457 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr ; \
11458 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11459 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11460 case $(srcdir) in \
11461 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11462 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11463 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11464 esac; \
11465 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11466 libsrcdir="$$s/mpfr"; \
11467 $(SHELL) $${libsrcdir}/configure \
11468 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11469 --target=${target_alias} $${srcdiroption} \
11470 --with-build-libsubdir=$(HOST_SUBDIR) \
11471 $(STAGEprofile_CONFIGURE_FLAGS) \
11472 --disable-shared @extra_mpfr_configure_flags@
11473 @endif mpfr-bootstrap
11475 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
11476 maybe-configure-stagefeedback-mpfr:
11477 @if mpfr-bootstrap
11478 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
11479 configure-stagefeedback-mpfr:
11480 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11481 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11482 @r=`${PWD_COMMAND}`; export r; \
11483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11484 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11485 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11486 $(HOST_EXPORTS) \
11487 $(POSTSTAGE1_HOST_EXPORTS) \
11488 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
11489 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
11490 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
11491 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr ; \
11492 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11493 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11494 case $(srcdir) in \
11495 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11496 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11497 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11498 esac; \
11499 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11500 libsrcdir="$$s/mpfr"; \
11501 $(SHELL) $${libsrcdir}/configure \
11502 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11503 --target=${target_alias} $${srcdiroption} \
11504 --with-build-libsubdir=$(HOST_SUBDIR) \
11505 $(STAGEfeedback_CONFIGURE_FLAGS) \
11506 --disable-shared @extra_mpfr_configure_flags@
11507 @endif mpfr-bootstrap
11513 .PHONY: all-mpfr maybe-all-mpfr
11514 maybe-all-mpfr:
11515 @if gcc-bootstrap
11516 all-mpfr: stage_current
11517 @endif gcc-bootstrap
11518 @if mpfr
11519 TARGET-mpfr=all
11520 maybe-all-mpfr: all-mpfr
11521 all-mpfr: configure-mpfr
11522 @r=`${PWD_COMMAND}`; export r; \
11523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11524 $(HOST_EXPORTS) \
11525 (cd $(HOST_SUBDIR)/mpfr && \
11526 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
11527 $(TARGET-mpfr))
11528 @endif mpfr
11532 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
11533 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
11534 maybe-all-stage1-mpfr:
11535 maybe-clean-stage1-mpfr:
11536 @if mpfr-bootstrap
11537 maybe-all-stage1-mpfr: all-stage1-mpfr
11538 all-stage1: all-stage1-mpfr
11539 TARGET-stage1-mpfr = $(TARGET-mpfr)
11540 all-stage1-mpfr: configure-stage1-mpfr
11541 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11542 @r=`${PWD_COMMAND}`; export r; \
11543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11544 TFLAGS="$(STAGE1_TFLAGS)"; \
11545 $(HOST_EXPORTS) \
11546 cd $(HOST_SUBDIR)/mpfr && \
11547 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11548 CFLAGS="$(STAGE1_CFLAGS)" \
11549 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
11550 LIBCFLAGS="$(LIBCFLAGS)" \
11551 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11552 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11553 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11554 $(EXTRA_HOST_FLAGS) \
11555 $(STAGE1_FLAGS_TO_PASS) \
11556 TFLAGS="$(STAGE1_TFLAGS)" \
11557 $(TARGET-stage1-mpfr)
11559 maybe-clean-stage1-mpfr: clean-stage1-mpfr
11560 clean-stage1: clean-stage1-mpfr
11561 clean-stage1-mpfr:
11562 @if [ $(current_stage) = stage1 ]; then \
11563 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11564 else \
11565 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
11566 $(MAKE) stage1-start; \
11567 fi; \
11568 cd $(HOST_SUBDIR)/mpfr && \
11569 $(MAKE) $(EXTRA_HOST_FLAGS) \
11570 $(STAGE1_FLAGS_TO_PASS) clean
11571 @endif mpfr-bootstrap
11574 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
11575 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
11576 maybe-all-stage2-mpfr:
11577 maybe-clean-stage2-mpfr:
11578 @if mpfr-bootstrap
11579 maybe-all-stage2-mpfr: all-stage2-mpfr
11580 all-stage2: all-stage2-mpfr
11581 TARGET-stage2-mpfr = $(TARGET-mpfr)
11582 all-stage2-mpfr: configure-stage2-mpfr
11583 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11584 @r=`${PWD_COMMAND}`; export r; \
11585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11586 TFLAGS="$(STAGE2_TFLAGS)"; \
11587 $(HOST_EXPORTS) \
11588 $(POSTSTAGE1_HOST_EXPORTS) \
11589 cd $(HOST_SUBDIR)/mpfr && \
11590 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11591 CFLAGS="$(STAGE2_CFLAGS)" \
11592 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
11593 LIBCFLAGS="$(STAGE2_CFLAGS)" \
11594 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11595 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11596 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11597 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11598 TFLAGS="$(STAGE2_TFLAGS)" \
11599 $(TARGET-stage2-mpfr)
11601 maybe-clean-stage2-mpfr: clean-stage2-mpfr
11602 clean-stage2: clean-stage2-mpfr
11603 clean-stage2-mpfr:
11604 @if [ $(current_stage) = stage2 ]; then \
11605 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11606 else \
11607 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
11608 $(MAKE) stage2-start; \
11609 fi; \
11610 cd $(HOST_SUBDIR)/mpfr && \
11611 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11612 @endif mpfr-bootstrap
11615 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
11616 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
11617 maybe-all-stage3-mpfr:
11618 maybe-clean-stage3-mpfr:
11619 @if mpfr-bootstrap
11620 maybe-all-stage3-mpfr: all-stage3-mpfr
11621 all-stage3: all-stage3-mpfr
11622 TARGET-stage3-mpfr = $(TARGET-mpfr)
11623 all-stage3-mpfr: configure-stage3-mpfr
11624 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11625 @r=`${PWD_COMMAND}`; export r; \
11626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11627 TFLAGS="$(STAGE3_TFLAGS)"; \
11628 $(HOST_EXPORTS) \
11629 $(POSTSTAGE1_HOST_EXPORTS) \
11630 cd $(HOST_SUBDIR)/mpfr && \
11631 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11632 CFLAGS="$(STAGE3_CFLAGS)" \
11633 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
11634 LIBCFLAGS="$(STAGE3_CFLAGS)" \
11635 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11636 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11637 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11638 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11639 TFLAGS="$(STAGE3_TFLAGS)" \
11640 $(TARGET-stage3-mpfr)
11642 maybe-clean-stage3-mpfr: clean-stage3-mpfr
11643 clean-stage3: clean-stage3-mpfr
11644 clean-stage3-mpfr:
11645 @if [ $(current_stage) = stage3 ]; then \
11646 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11647 else \
11648 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
11649 $(MAKE) stage3-start; \
11650 fi; \
11651 cd $(HOST_SUBDIR)/mpfr && \
11652 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11653 @endif mpfr-bootstrap
11656 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
11657 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
11658 maybe-all-stage4-mpfr:
11659 maybe-clean-stage4-mpfr:
11660 @if mpfr-bootstrap
11661 maybe-all-stage4-mpfr: all-stage4-mpfr
11662 all-stage4: all-stage4-mpfr
11663 TARGET-stage4-mpfr = $(TARGET-mpfr)
11664 all-stage4-mpfr: configure-stage4-mpfr
11665 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11666 @r=`${PWD_COMMAND}`; export r; \
11667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11668 TFLAGS="$(STAGE4_TFLAGS)"; \
11669 $(HOST_EXPORTS) \
11670 $(POSTSTAGE1_HOST_EXPORTS) \
11671 cd $(HOST_SUBDIR)/mpfr && \
11672 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11673 CFLAGS="$(STAGE4_CFLAGS)" \
11674 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
11675 LIBCFLAGS="$(STAGE4_CFLAGS)" \
11676 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11677 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11678 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11679 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11680 TFLAGS="$(STAGE4_TFLAGS)" \
11681 $(TARGET-stage4-mpfr)
11683 maybe-clean-stage4-mpfr: clean-stage4-mpfr
11684 clean-stage4: clean-stage4-mpfr
11685 clean-stage4-mpfr:
11686 @if [ $(current_stage) = stage4 ]; then \
11687 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11688 else \
11689 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
11690 $(MAKE) stage4-start; \
11691 fi; \
11692 cd $(HOST_SUBDIR)/mpfr && \
11693 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11694 @endif mpfr-bootstrap
11697 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
11698 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
11699 maybe-all-stageprofile-mpfr:
11700 maybe-clean-stageprofile-mpfr:
11701 @if mpfr-bootstrap
11702 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
11703 all-stageprofile: all-stageprofile-mpfr
11704 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
11705 all-stageprofile-mpfr: configure-stageprofile-mpfr
11706 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11707 @r=`${PWD_COMMAND}`; export r; \
11708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11709 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11710 $(HOST_EXPORTS) \
11711 $(POSTSTAGE1_HOST_EXPORTS) \
11712 cd $(HOST_SUBDIR)/mpfr && \
11713 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11714 CFLAGS="$(STAGEprofile_CFLAGS)" \
11715 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
11716 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
11717 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11718 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11719 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11720 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11721 TFLAGS="$(STAGEprofile_TFLAGS)" \
11722 $(TARGET-stageprofile-mpfr)
11724 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
11725 clean-stageprofile: clean-stageprofile-mpfr
11726 clean-stageprofile-mpfr:
11727 @if [ $(current_stage) = stageprofile ]; then \
11728 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11729 else \
11730 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
11731 $(MAKE) stageprofile-start; \
11732 fi; \
11733 cd $(HOST_SUBDIR)/mpfr && \
11734 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11735 @endif mpfr-bootstrap
11738 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
11739 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
11740 maybe-all-stagefeedback-mpfr:
11741 maybe-clean-stagefeedback-mpfr:
11742 @if mpfr-bootstrap
11743 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
11744 all-stagefeedback: all-stagefeedback-mpfr
11745 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
11746 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
11747 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11748 @r=`${PWD_COMMAND}`; export r; \
11749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11750 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11751 $(HOST_EXPORTS) \
11752 $(POSTSTAGE1_HOST_EXPORTS) \
11753 cd $(HOST_SUBDIR)/mpfr && \
11754 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11755 CFLAGS="$(STAGEfeedback_CFLAGS)" \
11756 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
11757 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
11758 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11759 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11760 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11761 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11762 TFLAGS="$(STAGEfeedback_TFLAGS)" \
11763 $(TARGET-stagefeedback-mpfr)
11765 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
11766 clean-stagefeedback: clean-stagefeedback-mpfr
11767 clean-stagefeedback-mpfr:
11768 @if [ $(current_stage) = stagefeedback ]; then \
11769 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11770 else \
11771 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
11772 $(MAKE) stagefeedback-start; \
11773 fi; \
11774 cd $(HOST_SUBDIR)/mpfr && \
11775 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11776 @endif mpfr-bootstrap
11782 .PHONY: check-mpfr maybe-check-mpfr
11783 maybe-check-mpfr:
11784 @if mpfr
11785 maybe-check-mpfr: check-mpfr
11787 check-mpfr:
11788 @: $(MAKE); $(unstage)
11789 @r=`${PWD_COMMAND}`; export r; \
11790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11791 $(HOST_EXPORTS) \
11792 (cd $(HOST_SUBDIR)/mpfr && \
11793 $(MAKE) $(FLAGS_TO_PASS) check)
11795 @endif mpfr
11797 .PHONY: install-mpfr maybe-install-mpfr
11798 maybe-install-mpfr:
11799 @if mpfr
11800 maybe-install-mpfr: install-mpfr
11802 install-mpfr:
11804 @endif mpfr
11806 .PHONY: install-strip-mpfr maybe-install-strip-mpfr
11807 maybe-install-strip-mpfr:
11808 @if mpfr
11809 maybe-install-strip-mpfr: install-strip-mpfr
11811 install-strip-mpfr:
11813 @endif mpfr
11815 # Other targets (info, dvi, pdf, etc.)
11817 .PHONY: maybe-info-mpfr info-mpfr
11818 maybe-info-mpfr:
11819 @if mpfr
11820 maybe-info-mpfr: info-mpfr
11822 info-mpfr: \
11823 configure-mpfr
11824 @[ -f ./mpfr/Makefile ] || exit 0; \
11825 r=`${PWD_COMMAND}`; export r; \
11826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11827 $(HOST_EXPORTS) \
11828 for flag in $(EXTRA_HOST_FLAGS) ; do \
11829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11830 done; \
11831 echo "Doing info in mpfr" ; \
11832 (cd $(HOST_SUBDIR)/mpfr && \
11833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11835 "RANLIB=$${RANLIB}" \
11836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11837 info) \
11838 || exit 1
11840 @endif mpfr
11842 .PHONY: maybe-dvi-mpfr dvi-mpfr
11843 maybe-dvi-mpfr:
11844 @if mpfr
11845 maybe-dvi-mpfr: dvi-mpfr
11847 dvi-mpfr: \
11848 configure-mpfr
11849 @[ -f ./mpfr/Makefile ] || exit 0; \
11850 r=`${PWD_COMMAND}`; export r; \
11851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11852 $(HOST_EXPORTS) \
11853 for flag in $(EXTRA_HOST_FLAGS) ; do \
11854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11855 done; \
11856 echo "Doing dvi in mpfr" ; \
11857 (cd $(HOST_SUBDIR)/mpfr && \
11858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11860 "RANLIB=$${RANLIB}" \
11861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11862 dvi) \
11863 || exit 1
11865 @endif mpfr
11867 .PHONY: maybe-pdf-mpfr pdf-mpfr
11868 maybe-pdf-mpfr:
11869 @if mpfr
11870 maybe-pdf-mpfr: pdf-mpfr
11872 pdf-mpfr: \
11873 configure-mpfr
11874 @[ -f ./mpfr/Makefile ] || exit 0; \
11875 r=`${PWD_COMMAND}`; export r; \
11876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11877 $(HOST_EXPORTS) \
11878 for flag in $(EXTRA_HOST_FLAGS) ; do \
11879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11880 done; \
11881 echo "Doing pdf in mpfr" ; \
11882 (cd $(HOST_SUBDIR)/mpfr && \
11883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11885 "RANLIB=$${RANLIB}" \
11886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11887 pdf) \
11888 || exit 1
11890 @endif mpfr
11892 .PHONY: maybe-html-mpfr html-mpfr
11893 maybe-html-mpfr:
11894 @if mpfr
11895 maybe-html-mpfr: html-mpfr
11897 html-mpfr: \
11898 configure-mpfr
11899 @[ -f ./mpfr/Makefile ] || exit 0; \
11900 r=`${PWD_COMMAND}`; export r; \
11901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11902 $(HOST_EXPORTS) \
11903 for flag in $(EXTRA_HOST_FLAGS) ; do \
11904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11905 done; \
11906 echo "Doing html in mpfr" ; \
11907 (cd $(HOST_SUBDIR)/mpfr && \
11908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11910 "RANLIB=$${RANLIB}" \
11911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11912 html) \
11913 || exit 1
11915 @endif mpfr
11917 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
11918 maybe-TAGS-mpfr:
11919 @if mpfr
11920 maybe-TAGS-mpfr: TAGS-mpfr
11922 TAGS-mpfr: \
11923 configure-mpfr
11924 @[ -f ./mpfr/Makefile ] || exit 0; \
11925 r=`${PWD_COMMAND}`; export r; \
11926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11927 $(HOST_EXPORTS) \
11928 for flag in $(EXTRA_HOST_FLAGS) ; do \
11929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11930 done; \
11931 echo "Doing TAGS in mpfr" ; \
11932 (cd $(HOST_SUBDIR)/mpfr && \
11933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11935 "RANLIB=$${RANLIB}" \
11936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11937 TAGS) \
11938 || exit 1
11940 @endif mpfr
11942 .PHONY: maybe-install-info-mpfr install-info-mpfr
11943 maybe-install-info-mpfr:
11944 @if mpfr
11945 maybe-install-info-mpfr: install-info-mpfr
11947 install-info-mpfr: \
11948 configure-mpfr \
11949 info-mpfr
11950 @[ -f ./mpfr/Makefile ] || exit 0; \
11951 r=`${PWD_COMMAND}`; export r; \
11952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11953 $(HOST_EXPORTS) \
11954 for flag in $(EXTRA_HOST_FLAGS) ; do \
11955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11956 done; \
11957 echo "Doing install-info in mpfr" ; \
11958 (cd $(HOST_SUBDIR)/mpfr && \
11959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11961 "RANLIB=$${RANLIB}" \
11962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11963 install-info) \
11964 || exit 1
11966 @endif mpfr
11968 .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr
11969 maybe-install-pdf-mpfr:
11970 @if mpfr
11971 maybe-install-pdf-mpfr: install-pdf-mpfr
11973 install-pdf-mpfr: \
11974 configure-mpfr \
11975 pdf-mpfr
11976 @[ -f ./mpfr/Makefile ] || exit 0; \
11977 r=`${PWD_COMMAND}`; export r; \
11978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11979 $(HOST_EXPORTS) \
11980 for flag in $(EXTRA_HOST_FLAGS) ; do \
11981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11982 done; \
11983 echo "Doing install-pdf in mpfr" ; \
11984 (cd $(HOST_SUBDIR)/mpfr && \
11985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11987 "RANLIB=$${RANLIB}" \
11988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11989 install-pdf) \
11990 || exit 1
11992 @endif mpfr
11994 .PHONY: maybe-install-html-mpfr install-html-mpfr
11995 maybe-install-html-mpfr:
11996 @if mpfr
11997 maybe-install-html-mpfr: install-html-mpfr
11999 install-html-mpfr: \
12000 configure-mpfr \
12001 html-mpfr
12002 @[ -f ./mpfr/Makefile ] || exit 0; \
12003 r=`${PWD_COMMAND}`; export r; \
12004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12005 $(HOST_EXPORTS) \
12006 for flag in $(EXTRA_HOST_FLAGS) ; do \
12007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12008 done; \
12009 echo "Doing install-html in mpfr" ; \
12010 (cd $(HOST_SUBDIR)/mpfr && \
12011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12013 "RANLIB=$${RANLIB}" \
12014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12015 install-html) \
12016 || exit 1
12018 @endif mpfr
12020 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
12021 maybe-installcheck-mpfr:
12022 @if mpfr
12023 maybe-installcheck-mpfr: installcheck-mpfr
12025 installcheck-mpfr: \
12026 configure-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 installcheck 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 installcheck) \
12041 || exit 1
12043 @endif mpfr
12045 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
12046 maybe-mostlyclean-mpfr:
12047 @if mpfr
12048 maybe-mostlyclean-mpfr: mostlyclean-mpfr
12050 mostlyclean-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 mostlyclean 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 mostlyclean) \
12065 || exit 1
12067 @endif mpfr
12069 .PHONY: maybe-clean-mpfr clean-mpfr
12070 maybe-clean-mpfr:
12071 @if mpfr
12072 maybe-clean-mpfr: clean-mpfr
12074 clean-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 clean 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 clean) \
12089 || exit 1
12091 @endif mpfr
12093 .PHONY: maybe-distclean-mpfr distclean-mpfr
12094 maybe-distclean-mpfr:
12095 @if mpfr
12096 maybe-distclean-mpfr: distclean-mpfr
12098 distclean-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 distclean 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 distclean) \
12113 || exit 1
12115 @endif mpfr
12117 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
12118 maybe-maintainer-clean-mpfr:
12119 @if mpfr
12120 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
12122 maintainer-clean-mpfr:
12123 @[ -f ./mpfr/Makefile ] || exit 0; \
12124 r=`${PWD_COMMAND}`; export r; \
12125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12126 $(HOST_EXPORTS) \
12127 for flag in $(EXTRA_HOST_FLAGS) ; do \
12128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12129 done; \
12130 echo "Doing maintainer-clean in mpfr" ; \
12131 (cd $(HOST_SUBDIR)/mpfr && \
12132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12134 "RANLIB=$${RANLIB}" \
12135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12136 maintainer-clean) \
12137 || exit 1
12139 @endif mpfr
12143 .PHONY: configure-mpc maybe-configure-mpc
12144 maybe-configure-mpc:
12145 @if gcc-bootstrap
12146 configure-mpc: stage_current
12147 @endif gcc-bootstrap
12148 @if mpc
12149 maybe-configure-mpc: configure-mpc
12150 configure-mpc:
12151 @r=`${PWD_COMMAND}`; export r; \
12152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12153 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12154 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12155 $(HOST_EXPORTS) \
12156 echo Configuring in $(HOST_SUBDIR)/mpc; \
12157 cd "$(HOST_SUBDIR)/mpc" || exit 1; \
12158 case $(srcdir) in \
12159 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12160 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12161 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12162 esac; \
12163 srcdiroption="--srcdir=$${topdir}/mpc"; \
12164 libsrcdir="$$s/mpc"; \
12165 $(SHELL) $${libsrcdir}/configure \
12166 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12167 --target=${target_alias} $${srcdiroption} --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ \
12168 || exit 1
12169 @endif mpc
12173 .PHONY: configure-stage1-mpc maybe-configure-stage1-mpc
12174 maybe-configure-stage1-mpc:
12175 @if mpc-bootstrap
12176 maybe-configure-stage1-mpc: configure-stage1-mpc
12177 configure-stage1-mpc:
12178 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12179 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12180 @r=`${PWD_COMMAND}`; export r; \
12181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12182 TFLAGS="$(STAGE1_TFLAGS)"; \
12183 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12184 $(HOST_EXPORTS) \
12185 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
12186 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
12187 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
12188 echo Configuring stage 1 in $(HOST_SUBDIR)/mpc ; \
12189 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12190 cd $(HOST_SUBDIR)/mpc || exit 1; \
12191 case $(srcdir) in \
12192 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12193 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12194 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12195 esac; \
12196 srcdiroption="--srcdir=$${topdir}/mpc"; \
12197 libsrcdir="$$s/mpc"; \
12198 $(SHELL) $${libsrcdir}/configure \
12199 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12200 --target=${target_alias} $${srcdiroption} \
12201 $(STAGE1_CONFIGURE_FLAGS) \
12202 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12203 @endif mpc-bootstrap
12205 .PHONY: configure-stage2-mpc maybe-configure-stage2-mpc
12206 maybe-configure-stage2-mpc:
12207 @if mpc-bootstrap
12208 maybe-configure-stage2-mpc: configure-stage2-mpc
12209 configure-stage2-mpc:
12210 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12211 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12212 @r=`${PWD_COMMAND}`; export r; \
12213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12214 TFLAGS="$(STAGE2_TFLAGS)"; \
12215 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12216 $(HOST_EXPORTS) \
12217 $(POSTSTAGE1_HOST_EXPORTS) \
12218 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
12219 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
12220 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
12221 echo Configuring stage 2 in $(HOST_SUBDIR)/mpc ; \
12222 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12223 cd $(HOST_SUBDIR)/mpc || exit 1; \
12224 case $(srcdir) in \
12225 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12226 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12227 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12228 esac; \
12229 srcdiroption="--srcdir=$${topdir}/mpc"; \
12230 libsrcdir="$$s/mpc"; \
12231 $(SHELL) $${libsrcdir}/configure \
12232 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12233 --target=${target_alias} $${srcdiroption} \
12234 --with-build-libsubdir=$(HOST_SUBDIR) \
12235 $(STAGE2_CONFIGURE_FLAGS) \
12236 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12237 @endif mpc-bootstrap
12239 .PHONY: configure-stage3-mpc maybe-configure-stage3-mpc
12240 maybe-configure-stage3-mpc:
12241 @if mpc-bootstrap
12242 maybe-configure-stage3-mpc: configure-stage3-mpc
12243 configure-stage3-mpc:
12244 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12245 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12246 @r=`${PWD_COMMAND}`; export r; \
12247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12248 TFLAGS="$(STAGE3_TFLAGS)"; \
12249 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12250 $(HOST_EXPORTS) \
12251 $(POSTSTAGE1_HOST_EXPORTS) \
12252 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
12253 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
12254 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
12255 echo Configuring stage 3 in $(HOST_SUBDIR)/mpc ; \
12256 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12257 cd $(HOST_SUBDIR)/mpc || exit 1; \
12258 case $(srcdir) in \
12259 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12260 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12261 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12262 esac; \
12263 srcdiroption="--srcdir=$${topdir}/mpc"; \
12264 libsrcdir="$$s/mpc"; \
12265 $(SHELL) $${libsrcdir}/configure \
12266 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12267 --target=${target_alias} $${srcdiroption} \
12268 --with-build-libsubdir=$(HOST_SUBDIR) \
12269 $(STAGE3_CONFIGURE_FLAGS) \
12270 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12271 @endif mpc-bootstrap
12273 .PHONY: configure-stage4-mpc maybe-configure-stage4-mpc
12274 maybe-configure-stage4-mpc:
12275 @if mpc-bootstrap
12276 maybe-configure-stage4-mpc: configure-stage4-mpc
12277 configure-stage4-mpc:
12278 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12279 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12280 @r=`${PWD_COMMAND}`; export r; \
12281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12282 TFLAGS="$(STAGE4_TFLAGS)"; \
12283 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12284 $(HOST_EXPORTS) \
12285 $(POSTSTAGE1_HOST_EXPORTS) \
12286 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
12287 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
12288 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
12289 echo Configuring stage 4 in $(HOST_SUBDIR)/mpc ; \
12290 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12291 cd $(HOST_SUBDIR)/mpc || exit 1; \
12292 case $(srcdir) in \
12293 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12294 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12295 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12296 esac; \
12297 srcdiroption="--srcdir=$${topdir}/mpc"; \
12298 libsrcdir="$$s/mpc"; \
12299 $(SHELL) $${libsrcdir}/configure \
12300 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12301 --target=${target_alias} $${srcdiroption} \
12302 --with-build-libsubdir=$(HOST_SUBDIR) \
12303 $(STAGE4_CONFIGURE_FLAGS) \
12304 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12305 @endif mpc-bootstrap
12307 .PHONY: configure-stageprofile-mpc maybe-configure-stageprofile-mpc
12308 maybe-configure-stageprofile-mpc:
12309 @if mpc-bootstrap
12310 maybe-configure-stageprofile-mpc: configure-stageprofile-mpc
12311 configure-stageprofile-mpc:
12312 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12313 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12314 @r=`${PWD_COMMAND}`; export r; \
12315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12316 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12317 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12318 $(HOST_EXPORTS) \
12319 $(POSTSTAGE1_HOST_EXPORTS) \
12320 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
12321 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
12322 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
12323 echo Configuring stage profile in $(HOST_SUBDIR)/mpc ; \
12324 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12325 cd $(HOST_SUBDIR)/mpc || exit 1; \
12326 case $(srcdir) in \
12327 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12328 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12329 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12330 esac; \
12331 srcdiroption="--srcdir=$${topdir}/mpc"; \
12332 libsrcdir="$$s/mpc"; \
12333 $(SHELL) $${libsrcdir}/configure \
12334 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12335 --target=${target_alias} $${srcdiroption} \
12336 --with-build-libsubdir=$(HOST_SUBDIR) \
12337 $(STAGEprofile_CONFIGURE_FLAGS) \
12338 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12339 @endif mpc-bootstrap
12341 .PHONY: configure-stagefeedback-mpc maybe-configure-stagefeedback-mpc
12342 maybe-configure-stagefeedback-mpc:
12343 @if mpc-bootstrap
12344 maybe-configure-stagefeedback-mpc: configure-stagefeedback-mpc
12345 configure-stagefeedback-mpc:
12346 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12347 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12348 @r=`${PWD_COMMAND}`; export r; \
12349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12350 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12351 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12352 $(HOST_EXPORTS) \
12353 $(POSTSTAGE1_HOST_EXPORTS) \
12354 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
12355 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
12356 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
12357 echo Configuring stage feedback in $(HOST_SUBDIR)/mpc ; \
12358 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12359 cd $(HOST_SUBDIR)/mpc || exit 1; \
12360 case $(srcdir) in \
12361 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12362 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12363 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12364 esac; \
12365 srcdiroption="--srcdir=$${topdir}/mpc"; \
12366 libsrcdir="$$s/mpc"; \
12367 $(SHELL) $${libsrcdir}/configure \
12368 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12369 --target=${target_alias} $${srcdiroption} \
12370 --with-build-libsubdir=$(HOST_SUBDIR) \
12371 $(STAGEfeedback_CONFIGURE_FLAGS) \
12372 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12373 @endif mpc-bootstrap
12379 .PHONY: all-mpc maybe-all-mpc
12380 maybe-all-mpc:
12381 @if gcc-bootstrap
12382 all-mpc: stage_current
12383 @endif gcc-bootstrap
12384 @if mpc
12385 TARGET-mpc=all
12386 maybe-all-mpc: all-mpc
12387 all-mpc: configure-mpc
12388 @r=`${PWD_COMMAND}`; export r; \
12389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12390 $(HOST_EXPORTS) \
12391 (cd $(HOST_SUBDIR)/mpc && \
12392 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
12393 $(TARGET-mpc))
12394 @endif mpc
12398 .PHONY: all-stage1-mpc maybe-all-stage1-mpc
12399 .PHONY: clean-stage1-mpc maybe-clean-stage1-mpc
12400 maybe-all-stage1-mpc:
12401 maybe-clean-stage1-mpc:
12402 @if mpc-bootstrap
12403 maybe-all-stage1-mpc: all-stage1-mpc
12404 all-stage1: all-stage1-mpc
12405 TARGET-stage1-mpc = $(TARGET-mpc)
12406 all-stage1-mpc: configure-stage1-mpc
12407 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12408 @r=`${PWD_COMMAND}`; export r; \
12409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12410 TFLAGS="$(STAGE1_TFLAGS)"; \
12411 $(HOST_EXPORTS) \
12412 cd $(HOST_SUBDIR)/mpc && \
12413 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12414 CFLAGS="$(STAGE1_CFLAGS)" \
12415 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
12416 LIBCFLAGS="$(LIBCFLAGS)" \
12417 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12418 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12419 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12420 $(EXTRA_HOST_FLAGS) \
12421 $(STAGE1_FLAGS_TO_PASS) \
12422 TFLAGS="$(STAGE1_TFLAGS)" \
12423 $(TARGET-stage1-mpc)
12425 maybe-clean-stage1-mpc: clean-stage1-mpc
12426 clean-stage1: clean-stage1-mpc
12427 clean-stage1-mpc:
12428 @if [ $(current_stage) = stage1 ]; then \
12429 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12430 else \
12431 [ -f $(HOST_SUBDIR)/stage1-mpc/Makefile ] || exit 0; \
12432 $(MAKE) stage1-start; \
12433 fi; \
12434 cd $(HOST_SUBDIR)/mpc && \
12435 $(MAKE) $(EXTRA_HOST_FLAGS) \
12436 $(STAGE1_FLAGS_TO_PASS) clean
12437 @endif mpc-bootstrap
12440 .PHONY: all-stage2-mpc maybe-all-stage2-mpc
12441 .PHONY: clean-stage2-mpc maybe-clean-stage2-mpc
12442 maybe-all-stage2-mpc:
12443 maybe-clean-stage2-mpc:
12444 @if mpc-bootstrap
12445 maybe-all-stage2-mpc: all-stage2-mpc
12446 all-stage2: all-stage2-mpc
12447 TARGET-stage2-mpc = $(TARGET-mpc)
12448 all-stage2-mpc: configure-stage2-mpc
12449 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12450 @r=`${PWD_COMMAND}`; export r; \
12451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12452 TFLAGS="$(STAGE2_TFLAGS)"; \
12453 $(HOST_EXPORTS) \
12454 $(POSTSTAGE1_HOST_EXPORTS) \
12455 cd $(HOST_SUBDIR)/mpc && \
12456 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12457 CFLAGS="$(STAGE2_CFLAGS)" \
12458 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
12459 LIBCFLAGS="$(STAGE2_CFLAGS)" \
12460 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12461 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12462 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12463 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12464 TFLAGS="$(STAGE2_TFLAGS)" \
12465 $(TARGET-stage2-mpc)
12467 maybe-clean-stage2-mpc: clean-stage2-mpc
12468 clean-stage2: clean-stage2-mpc
12469 clean-stage2-mpc:
12470 @if [ $(current_stage) = stage2 ]; then \
12471 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12472 else \
12473 [ -f $(HOST_SUBDIR)/stage2-mpc/Makefile ] || exit 0; \
12474 $(MAKE) stage2-start; \
12475 fi; \
12476 cd $(HOST_SUBDIR)/mpc && \
12477 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12478 @endif mpc-bootstrap
12481 .PHONY: all-stage3-mpc maybe-all-stage3-mpc
12482 .PHONY: clean-stage3-mpc maybe-clean-stage3-mpc
12483 maybe-all-stage3-mpc:
12484 maybe-clean-stage3-mpc:
12485 @if mpc-bootstrap
12486 maybe-all-stage3-mpc: all-stage3-mpc
12487 all-stage3: all-stage3-mpc
12488 TARGET-stage3-mpc = $(TARGET-mpc)
12489 all-stage3-mpc: configure-stage3-mpc
12490 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12491 @r=`${PWD_COMMAND}`; export r; \
12492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12493 TFLAGS="$(STAGE3_TFLAGS)"; \
12494 $(HOST_EXPORTS) \
12495 $(POSTSTAGE1_HOST_EXPORTS) \
12496 cd $(HOST_SUBDIR)/mpc && \
12497 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12498 CFLAGS="$(STAGE3_CFLAGS)" \
12499 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
12500 LIBCFLAGS="$(STAGE3_CFLAGS)" \
12501 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12502 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12503 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12504 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12505 TFLAGS="$(STAGE3_TFLAGS)" \
12506 $(TARGET-stage3-mpc)
12508 maybe-clean-stage3-mpc: clean-stage3-mpc
12509 clean-stage3: clean-stage3-mpc
12510 clean-stage3-mpc:
12511 @if [ $(current_stage) = stage3 ]; then \
12512 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12513 else \
12514 [ -f $(HOST_SUBDIR)/stage3-mpc/Makefile ] || exit 0; \
12515 $(MAKE) stage3-start; \
12516 fi; \
12517 cd $(HOST_SUBDIR)/mpc && \
12518 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12519 @endif mpc-bootstrap
12522 .PHONY: all-stage4-mpc maybe-all-stage4-mpc
12523 .PHONY: clean-stage4-mpc maybe-clean-stage4-mpc
12524 maybe-all-stage4-mpc:
12525 maybe-clean-stage4-mpc:
12526 @if mpc-bootstrap
12527 maybe-all-stage4-mpc: all-stage4-mpc
12528 all-stage4: all-stage4-mpc
12529 TARGET-stage4-mpc = $(TARGET-mpc)
12530 all-stage4-mpc: configure-stage4-mpc
12531 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12532 @r=`${PWD_COMMAND}`; export r; \
12533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12534 TFLAGS="$(STAGE4_TFLAGS)"; \
12535 $(HOST_EXPORTS) \
12536 $(POSTSTAGE1_HOST_EXPORTS) \
12537 cd $(HOST_SUBDIR)/mpc && \
12538 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12539 CFLAGS="$(STAGE4_CFLAGS)" \
12540 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
12541 LIBCFLAGS="$(STAGE4_CFLAGS)" \
12542 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12543 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12544 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12545 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12546 TFLAGS="$(STAGE4_TFLAGS)" \
12547 $(TARGET-stage4-mpc)
12549 maybe-clean-stage4-mpc: clean-stage4-mpc
12550 clean-stage4: clean-stage4-mpc
12551 clean-stage4-mpc:
12552 @if [ $(current_stage) = stage4 ]; then \
12553 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12554 else \
12555 [ -f $(HOST_SUBDIR)/stage4-mpc/Makefile ] || exit 0; \
12556 $(MAKE) stage4-start; \
12557 fi; \
12558 cd $(HOST_SUBDIR)/mpc && \
12559 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12560 @endif mpc-bootstrap
12563 .PHONY: all-stageprofile-mpc maybe-all-stageprofile-mpc
12564 .PHONY: clean-stageprofile-mpc maybe-clean-stageprofile-mpc
12565 maybe-all-stageprofile-mpc:
12566 maybe-clean-stageprofile-mpc:
12567 @if mpc-bootstrap
12568 maybe-all-stageprofile-mpc: all-stageprofile-mpc
12569 all-stageprofile: all-stageprofile-mpc
12570 TARGET-stageprofile-mpc = $(TARGET-mpc)
12571 all-stageprofile-mpc: configure-stageprofile-mpc
12572 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12573 @r=`${PWD_COMMAND}`; export r; \
12574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12575 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12576 $(HOST_EXPORTS) \
12577 $(POSTSTAGE1_HOST_EXPORTS) \
12578 cd $(HOST_SUBDIR)/mpc && \
12579 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12580 CFLAGS="$(STAGEprofile_CFLAGS)" \
12581 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
12582 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
12583 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12584 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12585 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12586 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12587 TFLAGS="$(STAGEprofile_TFLAGS)" \
12588 $(TARGET-stageprofile-mpc)
12590 maybe-clean-stageprofile-mpc: clean-stageprofile-mpc
12591 clean-stageprofile: clean-stageprofile-mpc
12592 clean-stageprofile-mpc:
12593 @if [ $(current_stage) = stageprofile ]; then \
12594 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12595 else \
12596 [ -f $(HOST_SUBDIR)/stageprofile-mpc/Makefile ] || exit 0; \
12597 $(MAKE) stageprofile-start; \
12598 fi; \
12599 cd $(HOST_SUBDIR)/mpc && \
12600 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12601 @endif mpc-bootstrap
12604 .PHONY: all-stagefeedback-mpc maybe-all-stagefeedback-mpc
12605 .PHONY: clean-stagefeedback-mpc maybe-clean-stagefeedback-mpc
12606 maybe-all-stagefeedback-mpc:
12607 maybe-clean-stagefeedback-mpc:
12608 @if mpc-bootstrap
12609 maybe-all-stagefeedback-mpc: all-stagefeedback-mpc
12610 all-stagefeedback: all-stagefeedback-mpc
12611 TARGET-stagefeedback-mpc = $(TARGET-mpc)
12612 all-stagefeedback-mpc: configure-stagefeedback-mpc
12613 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12614 @r=`${PWD_COMMAND}`; export r; \
12615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12616 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12617 $(HOST_EXPORTS) \
12618 $(POSTSTAGE1_HOST_EXPORTS) \
12619 cd $(HOST_SUBDIR)/mpc && \
12620 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12621 CFLAGS="$(STAGEfeedback_CFLAGS)" \
12622 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
12623 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
12624 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12625 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12626 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12627 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12628 TFLAGS="$(STAGEfeedback_TFLAGS)" \
12629 $(TARGET-stagefeedback-mpc)
12631 maybe-clean-stagefeedback-mpc: clean-stagefeedback-mpc
12632 clean-stagefeedback: clean-stagefeedback-mpc
12633 clean-stagefeedback-mpc:
12634 @if [ $(current_stage) = stagefeedback ]; then \
12635 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12636 else \
12637 [ -f $(HOST_SUBDIR)/stagefeedback-mpc/Makefile ] || exit 0; \
12638 $(MAKE) stagefeedback-start; \
12639 fi; \
12640 cd $(HOST_SUBDIR)/mpc && \
12641 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12642 @endif mpc-bootstrap
12648 .PHONY: check-mpc maybe-check-mpc
12649 maybe-check-mpc:
12650 @if mpc
12651 maybe-check-mpc: check-mpc
12653 check-mpc:
12654 @: $(MAKE); $(unstage)
12655 @r=`${PWD_COMMAND}`; export r; \
12656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12657 $(HOST_EXPORTS) \
12658 (cd $(HOST_SUBDIR)/mpc && \
12659 $(MAKE) $(FLAGS_TO_PASS) check)
12661 @endif mpc
12663 .PHONY: install-mpc maybe-install-mpc
12664 maybe-install-mpc:
12665 @if mpc
12666 maybe-install-mpc: install-mpc
12668 install-mpc:
12670 @endif mpc
12672 .PHONY: install-strip-mpc maybe-install-strip-mpc
12673 maybe-install-strip-mpc:
12674 @if mpc
12675 maybe-install-strip-mpc: install-strip-mpc
12677 install-strip-mpc:
12679 @endif mpc
12681 # Other targets (info, dvi, pdf, etc.)
12683 .PHONY: maybe-info-mpc info-mpc
12684 maybe-info-mpc:
12685 @if mpc
12686 maybe-info-mpc: info-mpc
12688 info-mpc: \
12689 configure-mpc
12690 @[ -f ./mpc/Makefile ] || exit 0; \
12691 r=`${PWD_COMMAND}`; export r; \
12692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12693 $(HOST_EXPORTS) \
12694 for flag in $(EXTRA_HOST_FLAGS) ; do \
12695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12696 done; \
12697 echo "Doing info in mpc" ; \
12698 (cd $(HOST_SUBDIR)/mpc && \
12699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12701 "RANLIB=$${RANLIB}" \
12702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12703 info) \
12704 || exit 1
12706 @endif mpc
12708 .PHONY: maybe-dvi-mpc dvi-mpc
12709 maybe-dvi-mpc:
12710 @if mpc
12711 maybe-dvi-mpc: dvi-mpc
12713 dvi-mpc: \
12714 configure-mpc
12715 @[ -f ./mpc/Makefile ] || exit 0; \
12716 r=`${PWD_COMMAND}`; export r; \
12717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12718 $(HOST_EXPORTS) \
12719 for flag in $(EXTRA_HOST_FLAGS) ; do \
12720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12721 done; \
12722 echo "Doing dvi in mpc" ; \
12723 (cd $(HOST_SUBDIR)/mpc && \
12724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12726 "RANLIB=$${RANLIB}" \
12727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12728 dvi) \
12729 || exit 1
12731 @endif mpc
12733 .PHONY: maybe-pdf-mpc pdf-mpc
12734 maybe-pdf-mpc:
12735 @if mpc
12736 maybe-pdf-mpc: pdf-mpc
12738 pdf-mpc: \
12739 configure-mpc
12740 @[ -f ./mpc/Makefile ] || exit 0; \
12741 r=`${PWD_COMMAND}`; export r; \
12742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12743 $(HOST_EXPORTS) \
12744 for flag in $(EXTRA_HOST_FLAGS) ; do \
12745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12746 done; \
12747 echo "Doing pdf in mpc" ; \
12748 (cd $(HOST_SUBDIR)/mpc && \
12749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12751 "RANLIB=$${RANLIB}" \
12752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12753 pdf) \
12754 || exit 1
12756 @endif mpc
12758 .PHONY: maybe-html-mpc html-mpc
12759 maybe-html-mpc:
12760 @if mpc
12761 maybe-html-mpc: html-mpc
12763 html-mpc: \
12764 configure-mpc
12765 @[ -f ./mpc/Makefile ] || exit 0; \
12766 r=`${PWD_COMMAND}`; export r; \
12767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12768 $(HOST_EXPORTS) \
12769 for flag in $(EXTRA_HOST_FLAGS) ; do \
12770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12771 done; \
12772 echo "Doing html in mpc" ; \
12773 (cd $(HOST_SUBDIR)/mpc && \
12774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12776 "RANLIB=$${RANLIB}" \
12777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12778 html) \
12779 || exit 1
12781 @endif mpc
12783 .PHONY: maybe-TAGS-mpc TAGS-mpc
12784 maybe-TAGS-mpc:
12785 @if mpc
12786 maybe-TAGS-mpc: TAGS-mpc
12788 TAGS-mpc: \
12789 configure-mpc
12790 @[ -f ./mpc/Makefile ] || exit 0; \
12791 r=`${PWD_COMMAND}`; export r; \
12792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12793 $(HOST_EXPORTS) \
12794 for flag in $(EXTRA_HOST_FLAGS) ; do \
12795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12796 done; \
12797 echo "Doing TAGS in mpc" ; \
12798 (cd $(HOST_SUBDIR)/mpc && \
12799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12801 "RANLIB=$${RANLIB}" \
12802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12803 TAGS) \
12804 || exit 1
12806 @endif mpc
12808 .PHONY: maybe-install-info-mpc install-info-mpc
12809 maybe-install-info-mpc:
12810 @if mpc
12811 maybe-install-info-mpc: install-info-mpc
12813 install-info-mpc: \
12814 configure-mpc \
12815 info-mpc
12816 @[ -f ./mpc/Makefile ] || exit 0; \
12817 r=`${PWD_COMMAND}`; export r; \
12818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12819 $(HOST_EXPORTS) \
12820 for flag in $(EXTRA_HOST_FLAGS) ; do \
12821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12822 done; \
12823 echo "Doing install-info in mpc" ; \
12824 (cd $(HOST_SUBDIR)/mpc && \
12825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12827 "RANLIB=$${RANLIB}" \
12828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12829 install-info) \
12830 || exit 1
12832 @endif mpc
12834 .PHONY: maybe-install-pdf-mpc install-pdf-mpc
12835 maybe-install-pdf-mpc:
12836 @if mpc
12837 maybe-install-pdf-mpc: install-pdf-mpc
12839 install-pdf-mpc: \
12840 configure-mpc \
12841 pdf-mpc
12842 @[ -f ./mpc/Makefile ] || exit 0; \
12843 r=`${PWD_COMMAND}`; export r; \
12844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12845 $(HOST_EXPORTS) \
12846 for flag in $(EXTRA_HOST_FLAGS) ; do \
12847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12848 done; \
12849 echo "Doing install-pdf in mpc" ; \
12850 (cd $(HOST_SUBDIR)/mpc && \
12851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12853 "RANLIB=$${RANLIB}" \
12854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12855 install-pdf) \
12856 || exit 1
12858 @endif mpc
12860 .PHONY: maybe-install-html-mpc install-html-mpc
12861 maybe-install-html-mpc:
12862 @if mpc
12863 maybe-install-html-mpc: install-html-mpc
12865 install-html-mpc: \
12866 configure-mpc \
12867 html-mpc
12868 @[ -f ./mpc/Makefile ] || exit 0; \
12869 r=`${PWD_COMMAND}`; export r; \
12870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12871 $(HOST_EXPORTS) \
12872 for flag in $(EXTRA_HOST_FLAGS) ; do \
12873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12874 done; \
12875 echo "Doing install-html in mpc" ; \
12876 (cd $(HOST_SUBDIR)/mpc && \
12877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12879 "RANLIB=$${RANLIB}" \
12880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12881 install-html) \
12882 || exit 1
12884 @endif mpc
12886 .PHONY: maybe-installcheck-mpc installcheck-mpc
12887 maybe-installcheck-mpc:
12888 @if mpc
12889 maybe-installcheck-mpc: installcheck-mpc
12891 installcheck-mpc: \
12892 configure-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 installcheck 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 installcheck) \
12907 || exit 1
12909 @endif mpc
12911 .PHONY: maybe-mostlyclean-mpc mostlyclean-mpc
12912 maybe-mostlyclean-mpc:
12913 @if mpc
12914 maybe-mostlyclean-mpc: mostlyclean-mpc
12916 mostlyclean-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 mostlyclean 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 mostlyclean) \
12931 || exit 1
12933 @endif mpc
12935 .PHONY: maybe-clean-mpc clean-mpc
12936 maybe-clean-mpc:
12937 @if mpc
12938 maybe-clean-mpc: clean-mpc
12940 clean-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 clean 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 clean) \
12955 || exit 1
12957 @endif mpc
12959 .PHONY: maybe-distclean-mpc distclean-mpc
12960 maybe-distclean-mpc:
12961 @if mpc
12962 maybe-distclean-mpc: distclean-mpc
12964 distclean-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 distclean 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 distclean) \
12979 || exit 1
12981 @endif mpc
12983 .PHONY: maybe-maintainer-clean-mpc maintainer-clean-mpc
12984 maybe-maintainer-clean-mpc:
12985 @if mpc
12986 maybe-maintainer-clean-mpc: maintainer-clean-mpc
12988 maintainer-clean-mpc:
12989 @[ -f ./mpc/Makefile ] || exit 0; \
12990 r=`${PWD_COMMAND}`; export r; \
12991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12992 $(HOST_EXPORTS) \
12993 for flag in $(EXTRA_HOST_FLAGS) ; do \
12994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12995 done; \
12996 echo "Doing maintainer-clean in mpc" ; \
12997 (cd $(HOST_SUBDIR)/mpc && \
12998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13000 "RANLIB=$${RANLIB}" \
13001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13002 maintainer-clean) \
13003 || exit 1
13005 @endif mpc
13009 .PHONY: configure-isl maybe-configure-isl
13010 maybe-configure-isl:
13011 @if gcc-bootstrap
13012 configure-isl: stage_current
13013 @endif gcc-bootstrap
13014 @if isl
13015 maybe-configure-isl: configure-isl
13016 configure-isl:
13017 @r=`${PWD_COMMAND}`; export r; \
13018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13019 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13020 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13021 $(HOST_EXPORTS) \
13022 echo Configuring in $(HOST_SUBDIR)/isl; \
13023 cd "$(HOST_SUBDIR)/isl" || exit 1; \
13024 case $(srcdir) in \
13025 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13026 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13027 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13028 esac; \
13029 srcdiroption="--srcdir=$${topdir}/isl"; \
13030 libsrcdir="$$s/isl"; \
13031 $(SHELL) $${libsrcdir}/configure \
13032 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13033 --target=${target_alias} $${srcdiroption} --disable-shared @extra_isl_gmp_configure_flags@ \
13034 || exit 1
13035 @endif isl
13039 .PHONY: configure-stage1-isl maybe-configure-stage1-isl
13040 maybe-configure-stage1-isl:
13041 @if isl-bootstrap
13042 maybe-configure-stage1-isl: configure-stage1-isl
13043 configure-stage1-isl:
13044 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13045 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13046 @r=`${PWD_COMMAND}`; export r; \
13047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13048 TFLAGS="$(STAGE1_TFLAGS)"; \
13049 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13050 $(HOST_EXPORTS) \
13051 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13052 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13053 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
13054 echo Configuring stage 1 in $(HOST_SUBDIR)/isl ; \
13055 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13056 cd $(HOST_SUBDIR)/isl || exit 1; \
13057 case $(srcdir) in \
13058 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13059 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13060 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13061 esac; \
13062 srcdiroption="--srcdir=$${topdir}/isl"; \
13063 libsrcdir="$$s/isl"; \
13064 $(SHELL) $${libsrcdir}/configure \
13065 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13066 --target=${target_alias} $${srcdiroption} \
13067 $(STAGE1_CONFIGURE_FLAGS) \
13068 --disable-shared @extra_isl_gmp_configure_flags@
13069 @endif isl-bootstrap
13071 .PHONY: configure-stage2-isl maybe-configure-stage2-isl
13072 maybe-configure-stage2-isl:
13073 @if isl-bootstrap
13074 maybe-configure-stage2-isl: configure-stage2-isl
13075 configure-stage2-isl:
13076 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13077 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13078 @r=`${PWD_COMMAND}`; export r; \
13079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13080 TFLAGS="$(STAGE2_TFLAGS)"; \
13081 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13082 $(HOST_EXPORTS) \
13083 $(POSTSTAGE1_HOST_EXPORTS) \
13084 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13085 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13086 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
13087 echo Configuring stage 2 in $(HOST_SUBDIR)/isl ; \
13088 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13089 cd $(HOST_SUBDIR)/isl || exit 1; \
13090 case $(srcdir) in \
13091 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13092 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13093 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13094 esac; \
13095 srcdiroption="--srcdir=$${topdir}/isl"; \
13096 libsrcdir="$$s/isl"; \
13097 $(SHELL) $${libsrcdir}/configure \
13098 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13099 --target=${target_alias} $${srcdiroption} \
13100 --with-build-libsubdir=$(HOST_SUBDIR) \
13101 $(STAGE2_CONFIGURE_FLAGS) \
13102 --disable-shared @extra_isl_gmp_configure_flags@
13103 @endif isl-bootstrap
13105 .PHONY: configure-stage3-isl maybe-configure-stage3-isl
13106 maybe-configure-stage3-isl:
13107 @if isl-bootstrap
13108 maybe-configure-stage3-isl: configure-stage3-isl
13109 configure-stage3-isl:
13110 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13111 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13112 @r=`${PWD_COMMAND}`; export r; \
13113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13114 TFLAGS="$(STAGE3_TFLAGS)"; \
13115 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13116 $(HOST_EXPORTS) \
13117 $(POSTSTAGE1_HOST_EXPORTS) \
13118 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13119 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13120 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
13121 echo Configuring stage 3 in $(HOST_SUBDIR)/isl ; \
13122 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13123 cd $(HOST_SUBDIR)/isl || exit 1; \
13124 case $(srcdir) in \
13125 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13126 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13127 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13128 esac; \
13129 srcdiroption="--srcdir=$${topdir}/isl"; \
13130 libsrcdir="$$s/isl"; \
13131 $(SHELL) $${libsrcdir}/configure \
13132 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13133 --target=${target_alias} $${srcdiroption} \
13134 --with-build-libsubdir=$(HOST_SUBDIR) \
13135 $(STAGE3_CONFIGURE_FLAGS) \
13136 --disable-shared @extra_isl_gmp_configure_flags@
13137 @endif isl-bootstrap
13139 .PHONY: configure-stage4-isl maybe-configure-stage4-isl
13140 maybe-configure-stage4-isl:
13141 @if isl-bootstrap
13142 maybe-configure-stage4-isl: configure-stage4-isl
13143 configure-stage4-isl:
13144 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13145 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13146 @r=`${PWD_COMMAND}`; export r; \
13147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13148 TFLAGS="$(STAGE4_TFLAGS)"; \
13149 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13150 $(HOST_EXPORTS) \
13151 $(POSTSTAGE1_HOST_EXPORTS) \
13152 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13153 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13154 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
13155 echo Configuring stage 4 in $(HOST_SUBDIR)/isl ; \
13156 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13157 cd $(HOST_SUBDIR)/isl || exit 1; \
13158 case $(srcdir) in \
13159 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13160 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13161 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13162 esac; \
13163 srcdiroption="--srcdir=$${topdir}/isl"; \
13164 libsrcdir="$$s/isl"; \
13165 $(SHELL) $${libsrcdir}/configure \
13166 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13167 --target=${target_alias} $${srcdiroption} \
13168 --with-build-libsubdir=$(HOST_SUBDIR) \
13169 $(STAGE4_CONFIGURE_FLAGS) \
13170 --disable-shared @extra_isl_gmp_configure_flags@
13171 @endif isl-bootstrap
13173 .PHONY: configure-stageprofile-isl maybe-configure-stageprofile-isl
13174 maybe-configure-stageprofile-isl:
13175 @if isl-bootstrap
13176 maybe-configure-stageprofile-isl: configure-stageprofile-isl
13177 configure-stageprofile-isl:
13178 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13179 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13180 @r=`${PWD_COMMAND}`; export r; \
13181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13182 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13183 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13184 $(HOST_EXPORTS) \
13185 $(POSTSTAGE1_HOST_EXPORTS) \
13186 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
13187 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
13188 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
13189 echo Configuring stage profile in $(HOST_SUBDIR)/isl ; \
13190 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13191 cd $(HOST_SUBDIR)/isl || exit 1; \
13192 case $(srcdir) in \
13193 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13194 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13195 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13196 esac; \
13197 srcdiroption="--srcdir=$${topdir}/isl"; \
13198 libsrcdir="$$s/isl"; \
13199 $(SHELL) $${libsrcdir}/configure \
13200 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13201 --target=${target_alias} $${srcdiroption} \
13202 --with-build-libsubdir=$(HOST_SUBDIR) \
13203 $(STAGEprofile_CONFIGURE_FLAGS) \
13204 --disable-shared @extra_isl_gmp_configure_flags@
13205 @endif isl-bootstrap
13207 .PHONY: configure-stagefeedback-isl maybe-configure-stagefeedback-isl
13208 maybe-configure-stagefeedback-isl:
13209 @if isl-bootstrap
13210 maybe-configure-stagefeedback-isl: configure-stagefeedback-isl
13211 configure-stagefeedback-isl:
13212 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13213 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13214 @r=`${PWD_COMMAND}`; export r; \
13215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13216 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13217 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13218 $(HOST_EXPORTS) \
13219 $(POSTSTAGE1_HOST_EXPORTS) \
13220 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
13221 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
13222 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
13223 echo Configuring stage feedback in $(HOST_SUBDIR)/isl ; \
13224 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13225 cd $(HOST_SUBDIR)/isl || exit 1; \
13226 case $(srcdir) in \
13227 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13228 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13229 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13230 esac; \
13231 srcdiroption="--srcdir=$${topdir}/isl"; \
13232 libsrcdir="$$s/isl"; \
13233 $(SHELL) $${libsrcdir}/configure \
13234 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13235 --target=${target_alias} $${srcdiroption} \
13236 --with-build-libsubdir=$(HOST_SUBDIR) \
13237 $(STAGEfeedback_CONFIGURE_FLAGS) \
13238 --disable-shared @extra_isl_gmp_configure_flags@
13239 @endif isl-bootstrap
13245 .PHONY: all-isl maybe-all-isl
13246 maybe-all-isl:
13247 @if gcc-bootstrap
13248 all-isl: stage_current
13249 @endif gcc-bootstrap
13250 @if isl
13251 TARGET-isl=all
13252 maybe-all-isl: all-isl
13253 all-isl: configure-isl
13254 @r=`${PWD_COMMAND}`; export r; \
13255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13256 $(HOST_EXPORTS) \
13257 (cd $(HOST_SUBDIR)/isl && \
13258 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) V=1 \
13259 $(TARGET-isl))
13260 @endif isl
13264 .PHONY: all-stage1-isl maybe-all-stage1-isl
13265 .PHONY: clean-stage1-isl maybe-clean-stage1-isl
13266 maybe-all-stage1-isl:
13267 maybe-clean-stage1-isl:
13268 @if isl-bootstrap
13269 maybe-all-stage1-isl: all-stage1-isl
13270 all-stage1: all-stage1-isl
13271 TARGET-stage1-isl = $(TARGET-isl)
13272 all-stage1-isl: configure-stage1-isl
13273 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13274 @r=`${PWD_COMMAND}`; export r; \
13275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13276 TFLAGS="$(STAGE1_TFLAGS)"; \
13277 $(HOST_EXPORTS) \
13278 cd $(HOST_SUBDIR)/isl && \
13279 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13280 CFLAGS="$(STAGE1_CFLAGS)" \
13281 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
13282 LIBCFLAGS="$(LIBCFLAGS)" \
13283 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13284 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13285 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13286 $(EXTRA_HOST_FLAGS) \
13287 $(STAGE1_FLAGS_TO_PASS) V=1 \
13288 TFLAGS="$(STAGE1_TFLAGS)" \
13289 $(TARGET-stage1-isl)
13291 maybe-clean-stage1-isl: clean-stage1-isl
13292 clean-stage1: clean-stage1-isl
13293 clean-stage1-isl:
13294 @if [ $(current_stage) = stage1 ]; then \
13295 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13296 else \
13297 [ -f $(HOST_SUBDIR)/stage1-isl/Makefile ] || exit 0; \
13298 $(MAKE) stage1-start; \
13299 fi; \
13300 cd $(HOST_SUBDIR)/isl && \
13301 $(MAKE) $(EXTRA_HOST_FLAGS) \
13302 $(STAGE1_FLAGS_TO_PASS) V=1 clean
13303 @endif isl-bootstrap
13306 .PHONY: all-stage2-isl maybe-all-stage2-isl
13307 .PHONY: clean-stage2-isl maybe-clean-stage2-isl
13308 maybe-all-stage2-isl:
13309 maybe-clean-stage2-isl:
13310 @if isl-bootstrap
13311 maybe-all-stage2-isl: all-stage2-isl
13312 all-stage2: all-stage2-isl
13313 TARGET-stage2-isl = $(TARGET-isl)
13314 all-stage2-isl: configure-stage2-isl
13315 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13316 @r=`${PWD_COMMAND}`; export r; \
13317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13318 TFLAGS="$(STAGE2_TFLAGS)"; \
13319 $(HOST_EXPORTS) \
13320 $(POSTSTAGE1_HOST_EXPORTS) \
13321 cd $(HOST_SUBDIR)/isl && \
13322 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13323 CFLAGS="$(STAGE2_CFLAGS)" \
13324 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
13325 LIBCFLAGS="$(STAGE2_CFLAGS)" \
13326 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13327 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13328 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13329 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13330 TFLAGS="$(STAGE2_TFLAGS)" \
13331 $(TARGET-stage2-isl)
13333 maybe-clean-stage2-isl: clean-stage2-isl
13334 clean-stage2: clean-stage2-isl
13335 clean-stage2-isl:
13336 @if [ $(current_stage) = stage2 ]; then \
13337 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13338 else \
13339 [ -f $(HOST_SUBDIR)/stage2-isl/Makefile ] || exit 0; \
13340 $(MAKE) stage2-start; \
13341 fi; \
13342 cd $(HOST_SUBDIR)/isl && \
13343 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13344 @endif isl-bootstrap
13347 .PHONY: all-stage3-isl maybe-all-stage3-isl
13348 .PHONY: clean-stage3-isl maybe-clean-stage3-isl
13349 maybe-all-stage3-isl:
13350 maybe-clean-stage3-isl:
13351 @if isl-bootstrap
13352 maybe-all-stage3-isl: all-stage3-isl
13353 all-stage3: all-stage3-isl
13354 TARGET-stage3-isl = $(TARGET-isl)
13355 all-stage3-isl: configure-stage3-isl
13356 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13357 @r=`${PWD_COMMAND}`; export r; \
13358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13359 TFLAGS="$(STAGE3_TFLAGS)"; \
13360 $(HOST_EXPORTS) \
13361 $(POSTSTAGE1_HOST_EXPORTS) \
13362 cd $(HOST_SUBDIR)/isl && \
13363 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13364 CFLAGS="$(STAGE3_CFLAGS)" \
13365 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
13366 LIBCFLAGS="$(STAGE3_CFLAGS)" \
13367 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13368 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13369 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13370 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13371 TFLAGS="$(STAGE3_TFLAGS)" \
13372 $(TARGET-stage3-isl)
13374 maybe-clean-stage3-isl: clean-stage3-isl
13375 clean-stage3: clean-stage3-isl
13376 clean-stage3-isl:
13377 @if [ $(current_stage) = stage3 ]; then \
13378 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13379 else \
13380 [ -f $(HOST_SUBDIR)/stage3-isl/Makefile ] || exit 0; \
13381 $(MAKE) stage3-start; \
13382 fi; \
13383 cd $(HOST_SUBDIR)/isl && \
13384 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13385 @endif isl-bootstrap
13388 .PHONY: all-stage4-isl maybe-all-stage4-isl
13389 .PHONY: clean-stage4-isl maybe-clean-stage4-isl
13390 maybe-all-stage4-isl:
13391 maybe-clean-stage4-isl:
13392 @if isl-bootstrap
13393 maybe-all-stage4-isl: all-stage4-isl
13394 all-stage4: all-stage4-isl
13395 TARGET-stage4-isl = $(TARGET-isl)
13396 all-stage4-isl: configure-stage4-isl
13397 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13398 @r=`${PWD_COMMAND}`; export r; \
13399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13400 TFLAGS="$(STAGE4_TFLAGS)"; \
13401 $(HOST_EXPORTS) \
13402 $(POSTSTAGE1_HOST_EXPORTS) \
13403 cd $(HOST_SUBDIR)/isl && \
13404 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13405 CFLAGS="$(STAGE4_CFLAGS)" \
13406 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
13407 LIBCFLAGS="$(STAGE4_CFLAGS)" \
13408 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13409 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13410 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13411 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13412 TFLAGS="$(STAGE4_TFLAGS)" \
13413 $(TARGET-stage4-isl)
13415 maybe-clean-stage4-isl: clean-stage4-isl
13416 clean-stage4: clean-stage4-isl
13417 clean-stage4-isl:
13418 @if [ $(current_stage) = stage4 ]; then \
13419 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13420 else \
13421 [ -f $(HOST_SUBDIR)/stage4-isl/Makefile ] || exit 0; \
13422 $(MAKE) stage4-start; \
13423 fi; \
13424 cd $(HOST_SUBDIR)/isl && \
13425 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13426 @endif isl-bootstrap
13429 .PHONY: all-stageprofile-isl maybe-all-stageprofile-isl
13430 .PHONY: clean-stageprofile-isl maybe-clean-stageprofile-isl
13431 maybe-all-stageprofile-isl:
13432 maybe-clean-stageprofile-isl:
13433 @if isl-bootstrap
13434 maybe-all-stageprofile-isl: all-stageprofile-isl
13435 all-stageprofile: all-stageprofile-isl
13436 TARGET-stageprofile-isl = $(TARGET-isl)
13437 all-stageprofile-isl: configure-stageprofile-isl
13438 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13439 @r=`${PWD_COMMAND}`; export r; \
13440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13441 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13442 $(HOST_EXPORTS) \
13443 $(POSTSTAGE1_HOST_EXPORTS) \
13444 cd $(HOST_SUBDIR)/isl && \
13445 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13446 CFLAGS="$(STAGEprofile_CFLAGS)" \
13447 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
13448 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
13449 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13450 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13451 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13452 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13453 TFLAGS="$(STAGEprofile_TFLAGS)" \
13454 $(TARGET-stageprofile-isl)
13456 maybe-clean-stageprofile-isl: clean-stageprofile-isl
13457 clean-stageprofile: clean-stageprofile-isl
13458 clean-stageprofile-isl:
13459 @if [ $(current_stage) = stageprofile ]; then \
13460 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13461 else \
13462 [ -f $(HOST_SUBDIR)/stageprofile-isl/Makefile ] || exit 0; \
13463 $(MAKE) stageprofile-start; \
13464 fi; \
13465 cd $(HOST_SUBDIR)/isl && \
13466 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13467 @endif isl-bootstrap
13470 .PHONY: all-stagefeedback-isl maybe-all-stagefeedback-isl
13471 .PHONY: clean-stagefeedback-isl maybe-clean-stagefeedback-isl
13472 maybe-all-stagefeedback-isl:
13473 maybe-clean-stagefeedback-isl:
13474 @if isl-bootstrap
13475 maybe-all-stagefeedback-isl: all-stagefeedback-isl
13476 all-stagefeedback: all-stagefeedback-isl
13477 TARGET-stagefeedback-isl = $(TARGET-isl)
13478 all-stagefeedback-isl: configure-stagefeedback-isl
13479 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13480 @r=`${PWD_COMMAND}`; export r; \
13481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13482 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13483 $(HOST_EXPORTS) \
13484 $(POSTSTAGE1_HOST_EXPORTS) \
13485 cd $(HOST_SUBDIR)/isl && \
13486 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13487 CFLAGS="$(STAGEfeedback_CFLAGS)" \
13488 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
13489 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
13490 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13491 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13492 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13493 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13494 TFLAGS="$(STAGEfeedback_TFLAGS)" \
13495 $(TARGET-stagefeedback-isl)
13497 maybe-clean-stagefeedback-isl: clean-stagefeedback-isl
13498 clean-stagefeedback: clean-stagefeedback-isl
13499 clean-stagefeedback-isl:
13500 @if [ $(current_stage) = stagefeedback ]; then \
13501 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13502 else \
13503 [ -f $(HOST_SUBDIR)/stagefeedback-isl/Makefile ] || exit 0; \
13504 $(MAKE) stagefeedback-start; \
13505 fi; \
13506 cd $(HOST_SUBDIR)/isl && \
13507 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13508 @endif isl-bootstrap
13514 .PHONY: check-isl maybe-check-isl
13515 maybe-check-isl:
13516 @if isl
13517 maybe-check-isl: check-isl
13519 check-isl:
13520 @: $(MAKE); $(unstage)
13521 @r=`${PWD_COMMAND}`; export r; \
13522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13523 $(HOST_EXPORTS) \
13524 (cd $(HOST_SUBDIR)/isl && \
13525 $(MAKE) $(FLAGS_TO_PASS) V=1 check)
13527 @endif isl
13529 .PHONY: install-isl maybe-install-isl
13530 maybe-install-isl:
13531 @if isl
13532 maybe-install-isl: install-isl
13534 install-isl:
13536 @endif isl
13538 .PHONY: install-strip-isl maybe-install-strip-isl
13539 maybe-install-strip-isl:
13540 @if isl
13541 maybe-install-strip-isl: install-strip-isl
13543 install-strip-isl:
13545 @endif isl
13547 # Other targets (info, dvi, pdf, etc.)
13549 .PHONY: maybe-info-isl info-isl
13550 maybe-info-isl:
13551 @if isl
13552 maybe-info-isl: info-isl
13554 info-isl: \
13555 configure-isl
13556 @[ -f ./isl/Makefile ] || exit 0; \
13557 r=`${PWD_COMMAND}`; export r; \
13558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13559 $(HOST_EXPORTS) \
13560 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13562 done; \
13563 echo "Doing info in isl" ; \
13564 (cd $(HOST_SUBDIR)/isl && \
13565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13567 "RANLIB=$${RANLIB}" \
13568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13569 info) \
13570 || exit 1
13572 @endif isl
13574 .PHONY: maybe-dvi-isl dvi-isl
13575 maybe-dvi-isl:
13576 @if isl
13577 maybe-dvi-isl: dvi-isl
13579 dvi-isl: \
13580 configure-isl
13581 @[ -f ./isl/Makefile ] || exit 0; \
13582 r=`${PWD_COMMAND}`; export r; \
13583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13584 $(HOST_EXPORTS) \
13585 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13587 done; \
13588 echo "Doing dvi in isl" ; \
13589 (cd $(HOST_SUBDIR)/isl && \
13590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13592 "RANLIB=$${RANLIB}" \
13593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13594 dvi) \
13595 || exit 1
13597 @endif isl
13599 .PHONY: maybe-pdf-isl pdf-isl
13600 maybe-pdf-isl:
13601 @if isl
13602 maybe-pdf-isl: pdf-isl
13604 pdf-isl: \
13605 configure-isl
13606 @[ -f ./isl/Makefile ] || exit 0; \
13607 r=`${PWD_COMMAND}`; export r; \
13608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13609 $(HOST_EXPORTS) \
13610 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13612 done; \
13613 echo "Doing pdf in isl" ; \
13614 (cd $(HOST_SUBDIR)/isl && \
13615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13617 "RANLIB=$${RANLIB}" \
13618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13619 pdf) \
13620 || exit 1
13622 @endif isl
13624 .PHONY: maybe-html-isl html-isl
13625 maybe-html-isl:
13626 @if isl
13627 maybe-html-isl: html-isl
13629 html-isl: \
13630 configure-isl
13631 @[ -f ./isl/Makefile ] || exit 0; \
13632 r=`${PWD_COMMAND}`; export r; \
13633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13634 $(HOST_EXPORTS) \
13635 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13637 done; \
13638 echo "Doing html in isl" ; \
13639 (cd $(HOST_SUBDIR)/isl && \
13640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13642 "RANLIB=$${RANLIB}" \
13643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13644 html) \
13645 || exit 1
13647 @endif isl
13649 .PHONY: maybe-TAGS-isl TAGS-isl
13650 maybe-TAGS-isl:
13651 @if isl
13652 maybe-TAGS-isl: TAGS-isl
13654 TAGS-isl: \
13655 configure-isl
13656 @[ -f ./isl/Makefile ] || exit 0; \
13657 r=`${PWD_COMMAND}`; export r; \
13658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13659 $(HOST_EXPORTS) \
13660 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13662 done; \
13663 echo "Doing TAGS in isl" ; \
13664 (cd $(HOST_SUBDIR)/isl && \
13665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13667 "RANLIB=$${RANLIB}" \
13668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13669 TAGS) \
13670 || exit 1
13672 @endif isl
13674 .PHONY: maybe-install-info-isl install-info-isl
13675 maybe-install-info-isl:
13676 @if isl
13677 maybe-install-info-isl: install-info-isl
13679 install-info-isl: \
13680 configure-isl \
13681 info-isl
13682 @[ -f ./isl/Makefile ] || exit 0; \
13683 r=`${PWD_COMMAND}`; export r; \
13684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13685 $(HOST_EXPORTS) \
13686 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13688 done; \
13689 echo "Doing install-info in isl" ; \
13690 (cd $(HOST_SUBDIR)/isl && \
13691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13693 "RANLIB=$${RANLIB}" \
13694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13695 install-info) \
13696 || exit 1
13698 @endif isl
13700 .PHONY: maybe-install-pdf-isl install-pdf-isl
13701 maybe-install-pdf-isl:
13702 @if isl
13703 maybe-install-pdf-isl: install-pdf-isl
13705 install-pdf-isl: \
13706 configure-isl \
13707 pdf-isl
13708 @[ -f ./isl/Makefile ] || exit 0; \
13709 r=`${PWD_COMMAND}`; export r; \
13710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13711 $(HOST_EXPORTS) \
13712 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13714 done; \
13715 echo "Doing install-pdf in isl" ; \
13716 (cd $(HOST_SUBDIR)/isl && \
13717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13719 "RANLIB=$${RANLIB}" \
13720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13721 install-pdf) \
13722 || exit 1
13724 @endif isl
13726 .PHONY: maybe-install-html-isl install-html-isl
13727 maybe-install-html-isl:
13728 @if isl
13729 maybe-install-html-isl: install-html-isl
13731 install-html-isl: \
13732 configure-isl \
13733 html-isl
13734 @[ -f ./isl/Makefile ] || exit 0; \
13735 r=`${PWD_COMMAND}`; export r; \
13736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13737 $(HOST_EXPORTS) \
13738 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13740 done; \
13741 echo "Doing install-html in isl" ; \
13742 (cd $(HOST_SUBDIR)/isl && \
13743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13745 "RANLIB=$${RANLIB}" \
13746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13747 install-html) \
13748 || exit 1
13750 @endif isl
13752 .PHONY: maybe-installcheck-isl installcheck-isl
13753 maybe-installcheck-isl:
13754 @if isl
13755 maybe-installcheck-isl: installcheck-isl
13757 installcheck-isl: \
13758 configure-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 installcheck 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 installcheck) \
13773 || exit 1
13775 @endif isl
13777 .PHONY: maybe-mostlyclean-isl mostlyclean-isl
13778 maybe-mostlyclean-isl:
13779 @if isl
13780 maybe-mostlyclean-isl: mostlyclean-isl
13782 mostlyclean-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 mostlyclean 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 mostlyclean) \
13797 || exit 1
13799 @endif isl
13801 .PHONY: maybe-clean-isl clean-isl
13802 maybe-clean-isl:
13803 @if isl
13804 maybe-clean-isl: clean-isl
13806 clean-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 clean 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 clean) \
13821 || exit 1
13823 @endif isl
13825 .PHONY: maybe-distclean-isl distclean-isl
13826 maybe-distclean-isl:
13827 @if isl
13828 maybe-distclean-isl: distclean-isl
13830 distclean-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 distclean 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 distclean) \
13845 || exit 1
13847 @endif isl
13849 .PHONY: maybe-maintainer-clean-isl maintainer-clean-isl
13850 maybe-maintainer-clean-isl:
13851 @if isl
13852 maybe-maintainer-clean-isl: maintainer-clean-isl
13854 maintainer-clean-isl:
13855 @[ -f ./isl/Makefile ] || exit 0; \
13856 r=`${PWD_COMMAND}`; export r; \
13857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13858 $(HOST_EXPORTS) \
13859 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13861 done; \
13862 echo "Doing maintainer-clean in isl" ; \
13863 (cd $(HOST_SUBDIR)/isl && \
13864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13866 "RANLIB=$${RANLIB}" \
13867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13868 maintainer-clean) \
13869 || exit 1
13871 @endif isl
13875 .PHONY: configure-cloog maybe-configure-cloog
13876 maybe-configure-cloog:
13877 @if gcc-bootstrap
13878 configure-cloog: stage_current
13879 @endif gcc-bootstrap
13880 @if cloog
13881 maybe-configure-cloog: configure-cloog
13882 configure-cloog:
13883 @r=`${PWD_COMMAND}`; export r; \
13884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13885 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13886 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13887 $(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; \
13888 echo Configuring in $(HOST_SUBDIR)/cloog; \
13889 cd "$(HOST_SUBDIR)/cloog" || exit 1; \
13890 case $(srcdir) in \
13891 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13892 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13893 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13894 esac; \
13895 srcdiroption="--srcdir=$${topdir}/cloog"; \
13896 libsrcdir="$$s/cloog"; \
13897 $(SHELL) $${libsrcdir}/configure \
13898 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13899 --target=${target_alias} $${srcdiroption} --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system \
13900 || exit 1
13901 @endif cloog
13905 .PHONY: configure-stage1-cloog maybe-configure-stage1-cloog
13906 maybe-configure-stage1-cloog:
13907 @if cloog-bootstrap
13908 maybe-configure-stage1-cloog: configure-stage1-cloog
13909 configure-stage1-cloog:
13910 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13911 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13912 @r=`${PWD_COMMAND}`; export r; \
13913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13914 TFLAGS="$(STAGE1_TFLAGS)"; \
13915 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13916 $(HOST_EXPORTS) \
13917 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13918 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13919 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; \
13920 echo Configuring stage 1 in $(HOST_SUBDIR)/cloog ; \
13921 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13922 cd $(HOST_SUBDIR)/cloog || exit 1; \
13923 case $(srcdir) in \
13924 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13925 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13926 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13927 esac; \
13928 srcdiroption="--srcdir=$${topdir}/cloog"; \
13929 libsrcdir="$$s/cloog"; \
13930 $(SHELL) $${libsrcdir}/configure \
13931 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13932 --target=${target_alias} $${srcdiroption} \
13933 $(STAGE1_CONFIGURE_FLAGS) \
13934 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
13935 @endif cloog-bootstrap
13937 .PHONY: configure-stage2-cloog maybe-configure-stage2-cloog
13938 maybe-configure-stage2-cloog:
13939 @if cloog-bootstrap
13940 maybe-configure-stage2-cloog: configure-stage2-cloog
13941 configure-stage2-cloog:
13942 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13943 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13944 @r=`${PWD_COMMAND}`; export r; \
13945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13946 TFLAGS="$(STAGE2_TFLAGS)"; \
13947 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13948 $(HOST_EXPORTS) \
13949 $(POSTSTAGE1_HOST_EXPORTS) \
13950 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13951 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13952 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; \
13953 echo Configuring stage 2 in $(HOST_SUBDIR)/cloog ; \
13954 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13955 cd $(HOST_SUBDIR)/cloog || exit 1; \
13956 case $(srcdir) in \
13957 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13958 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13959 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13960 esac; \
13961 srcdiroption="--srcdir=$${topdir}/cloog"; \
13962 libsrcdir="$$s/cloog"; \
13963 $(SHELL) $${libsrcdir}/configure \
13964 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13965 --target=${target_alias} $${srcdiroption} \
13966 --with-build-libsubdir=$(HOST_SUBDIR) \
13967 $(STAGE2_CONFIGURE_FLAGS) \
13968 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
13969 @endif cloog-bootstrap
13971 .PHONY: configure-stage3-cloog maybe-configure-stage3-cloog
13972 maybe-configure-stage3-cloog:
13973 @if cloog-bootstrap
13974 maybe-configure-stage3-cloog: configure-stage3-cloog
13975 configure-stage3-cloog:
13976 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13977 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13978 @r=`${PWD_COMMAND}`; export r; \
13979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13980 TFLAGS="$(STAGE3_TFLAGS)"; \
13981 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13982 $(HOST_EXPORTS) \
13983 $(POSTSTAGE1_HOST_EXPORTS) \
13984 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13985 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13986 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; \
13987 echo Configuring stage 3 in $(HOST_SUBDIR)/cloog ; \
13988 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13989 cd $(HOST_SUBDIR)/cloog || exit 1; \
13990 case $(srcdir) in \
13991 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13992 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13993 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13994 esac; \
13995 srcdiroption="--srcdir=$${topdir}/cloog"; \
13996 libsrcdir="$$s/cloog"; \
13997 $(SHELL) $${libsrcdir}/configure \
13998 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13999 --target=${target_alias} $${srcdiroption} \
14000 --with-build-libsubdir=$(HOST_SUBDIR) \
14001 $(STAGE3_CONFIGURE_FLAGS) \
14002 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14003 @endif cloog-bootstrap
14005 .PHONY: configure-stage4-cloog maybe-configure-stage4-cloog
14006 maybe-configure-stage4-cloog:
14007 @if cloog-bootstrap
14008 maybe-configure-stage4-cloog: configure-stage4-cloog
14009 configure-stage4-cloog:
14010 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14011 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14012 @r=`${PWD_COMMAND}`; export r; \
14013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14014 TFLAGS="$(STAGE4_TFLAGS)"; \
14015 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14016 $(HOST_EXPORTS) \
14017 $(POSTSTAGE1_HOST_EXPORTS) \
14018 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14019 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14020 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; \
14021 echo Configuring stage 4 in $(HOST_SUBDIR)/cloog ; \
14022 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14023 cd $(HOST_SUBDIR)/cloog || exit 1; \
14024 case $(srcdir) in \
14025 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14026 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14027 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14028 esac; \
14029 srcdiroption="--srcdir=$${topdir}/cloog"; \
14030 libsrcdir="$$s/cloog"; \
14031 $(SHELL) $${libsrcdir}/configure \
14032 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14033 --target=${target_alias} $${srcdiroption} \
14034 --with-build-libsubdir=$(HOST_SUBDIR) \
14035 $(STAGE4_CONFIGURE_FLAGS) \
14036 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14037 @endif cloog-bootstrap
14039 .PHONY: configure-stageprofile-cloog maybe-configure-stageprofile-cloog
14040 maybe-configure-stageprofile-cloog:
14041 @if cloog-bootstrap
14042 maybe-configure-stageprofile-cloog: configure-stageprofile-cloog
14043 configure-stageprofile-cloog:
14044 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14045 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14046 @r=`${PWD_COMMAND}`; export r; \
14047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14048 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14049 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14050 $(HOST_EXPORTS) \
14051 $(POSTSTAGE1_HOST_EXPORTS) \
14052 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14053 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14054 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; \
14055 echo Configuring stage profile in $(HOST_SUBDIR)/cloog ; \
14056 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14057 cd $(HOST_SUBDIR)/cloog || exit 1; \
14058 case $(srcdir) in \
14059 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14060 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14061 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14062 esac; \
14063 srcdiroption="--srcdir=$${topdir}/cloog"; \
14064 libsrcdir="$$s/cloog"; \
14065 $(SHELL) $${libsrcdir}/configure \
14066 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14067 --target=${target_alias} $${srcdiroption} \
14068 --with-build-libsubdir=$(HOST_SUBDIR) \
14069 $(STAGEprofile_CONFIGURE_FLAGS) \
14070 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14071 @endif cloog-bootstrap
14073 .PHONY: configure-stagefeedback-cloog maybe-configure-stagefeedback-cloog
14074 maybe-configure-stagefeedback-cloog:
14075 @if cloog-bootstrap
14076 maybe-configure-stagefeedback-cloog: configure-stagefeedback-cloog
14077 configure-stagefeedback-cloog:
14078 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14079 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14080 @r=`${PWD_COMMAND}`; export r; \
14081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14082 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14083 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14084 $(HOST_EXPORTS) \
14085 $(POSTSTAGE1_HOST_EXPORTS) \
14086 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14087 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14088 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; \
14089 echo Configuring stage feedback in $(HOST_SUBDIR)/cloog ; \
14090 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14091 cd $(HOST_SUBDIR)/cloog || exit 1; \
14092 case $(srcdir) in \
14093 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14094 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14095 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14096 esac; \
14097 srcdiroption="--srcdir=$${topdir}/cloog"; \
14098 libsrcdir="$$s/cloog"; \
14099 $(SHELL) $${libsrcdir}/configure \
14100 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14101 --target=${target_alias} $${srcdiroption} \
14102 --with-build-libsubdir=$(HOST_SUBDIR) \
14103 $(STAGEfeedback_CONFIGURE_FLAGS) \
14104 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14105 @endif cloog-bootstrap
14111 .PHONY: all-cloog maybe-all-cloog
14112 maybe-all-cloog:
14113 @if gcc-bootstrap
14114 all-cloog: stage_current
14115 @endif gcc-bootstrap
14116 @if cloog
14117 TARGET-cloog=all
14118 maybe-all-cloog: all-cloog
14119 all-cloog: configure-cloog
14120 @r=`${PWD_COMMAND}`; export r; \
14121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14122 $(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; \
14123 (cd $(HOST_SUBDIR)/cloog && \
14124 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14125 $(TARGET-cloog))
14126 @endif cloog
14130 .PHONY: all-stage1-cloog maybe-all-stage1-cloog
14131 .PHONY: clean-stage1-cloog maybe-clean-stage1-cloog
14132 maybe-all-stage1-cloog:
14133 maybe-clean-stage1-cloog:
14134 @if cloog-bootstrap
14135 maybe-all-stage1-cloog: all-stage1-cloog
14136 all-stage1: all-stage1-cloog
14137 TARGET-stage1-cloog = $(TARGET-cloog)
14138 all-stage1-cloog: configure-stage1-cloog
14139 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14140 @r=`${PWD_COMMAND}`; export r; \
14141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14142 TFLAGS="$(STAGE1_TFLAGS)"; \
14143 $(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; \
14144 cd $(HOST_SUBDIR)/cloog && \
14145 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14146 CFLAGS="$(STAGE1_CFLAGS)" \
14147 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
14148 LIBCFLAGS="$(LIBCFLAGS)" \
14149 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14150 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14151 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14152 $(EXTRA_HOST_FLAGS) \
14153 $(STAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14154 TFLAGS="$(STAGE1_TFLAGS)" \
14155 $(TARGET-stage1-cloog)
14157 maybe-clean-stage1-cloog: clean-stage1-cloog
14158 clean-stage1: clean-stage1-cloog
14159 clean-stage1-cloog:
14160 @if [ $(current_stage) = stage1 ]; then \
14161 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14162 else \
14163 [ -f $(HOST_SUBDIR)/stage1-cloog/Makefile ] || exit 0; \
14164 $(MAKE) stage1-start; \
14165 fi; \
14166 cd $(HOST_SUBDIR)/cloog && \
14167 $(MAKE) $(EXTRA_HOST_FLAGS) \
14168 $(STAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14169 @endif cloog-bootstrap
14172 .PHONY: all-stage2-cloog maybe-all-stage2-cloog
14173 .PHONY: clean-stage2-cloog maybe-clean-stage2-cloog
14174 maybe-all-stage2-cloog:
14175 maybe-clean-stage2-cloog:
14176 @if cloog-bootstrap
14177 maybe-all-stage2-cloog: all-stage2-cloog
14178 all-stage2: all-stage2-cloog
14179 TARGET-stage2-cloog = $(TARGET-cloog)
14180 all-stage2-cloog: configure-stage2-cloog
14181 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14182 @r=`${PWD_COMMAND}`; export r; \
14183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14184 TFLAGS="$(STAGE2_TFLAGS)"; \
14185 $(HOST_EXPORTS) \
14186 $(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; \
14187 cd $(HOST_SUBDIR)/cloog && \
14188 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14189 CFLAGS="$(STAGE2_CFLAGS)" \
14190 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
14191 LIBCFLAGS="$(STAGE2_CFLAGS)" \
14192 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14193 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14194 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14195 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14196 TFLAGS="$(STAGE2_TFLAGS)" \
14197 $(TARGET-stage2-cloog)
14199 maybe-clean-stage2-cloog: clean-stage2-cloog
14200 clean-stage2: clean-stage2-cloog
14201 clean-stage2-cloog:
14202 @if [ $(current_stage) = stage2 ]; then \
14203 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14204 else \
14205 [ -f $(HOST_SUBDIR)/stage2-cloog/Makefile ] || exit 0; \
14206 $(MAKE) stage2-start; \
14207 fi; \
14208 cd $(HOST_SUBDIR)/cloog && \
14209 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14210 @endif cloog-bootstrap
14213 .PHONY: all-stage3-cloog maybe-all-stage3-cloog
14214 .PHONY: clean-stage3-cloog maybe-clean-stage3-cloog
14215 maybe-all-stage3-cloog:
14216 maybe-clean-stage3-cloog:
14217 @if cloog-bootstrap
14218 maybe-all-stage3-cloog: all-stage3-cloog
14219 all-stage3: all-stage3-cloog
14220 TARGET-stage3-cloog = $(TARGET-cloog)
14221 all-stage3-cloog: configure-stage3-cloog
14222 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14223 @r=`${PWD_COMMAND}`; export r; \
14224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14225 TFLAGS="$(STAGE3_TFLAGS)"; \
14226 $(HOST_EXPORTS) \
14227 $(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; \
14228 cd $(HOST_SUBDIR)/cloog && \
14229 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14230 CFLAGS="$(STAGE3_CFLAGS)" \
14231 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
14232 LIBCFLAGS="$(STAGE3_CFLAGS)" \
14233 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14234 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14235 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14236 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14237 TFLAGS="$(STAGE3_TFLAGS)" \
14238 $(TARGET-stage3-cloog)
14240 maybe-clean-stage3-cloog: clean-stage3-cloog
14241 clean-stage3: clean-stage3-cloog
14242 clean-stage3-cloog:
14243 @if [ $(current_stage) = stage3 ]; then \
14244 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14245 else \
14246 [ -f $(HOST_SUBDIR)/stage3-cloog/Makefile ] || exit 0; \
14247 $(MAKE) stage3-start; \
14248 fi; \
14249 cd $(HOST_SUBDIR)/cloog && \
14250 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14251 @endif cloog-bootstrap
14254 .PHONY: all-stage4-cloog maybe-all-stage4-cloog
14255 .PHONY: clean-stage4-cloog maybe-clean-stage4-cloog
14256 maybe-all-stage4-cloog:
14257 maybe-clean-stage4-cloog:
14258 @if cloog-bootstrap
14259 maybe-all-stage4-cloog: all-stage4-cloog
14260 all-stage4: all-stage4-cloog
14261 TARGET-stage4-cloog = $(TARGET-cloog)
14262 all-stage4-cloog: configure-stage4-cloog
14263 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14264 @r=`${PWD_COMMAND}`; export r; \
14265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14266 TFLAGS="$(STAGE4_TFLAGS)"; \
14267 $(HOST_EXPORTS) \
14268 $(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; \
14269 cd $(HOST_SUBDIR)/cloog && \
14270 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14271 CFLAGS="$(STAGE4_CFLAGS)" \
14272 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
14273 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14274 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14275 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14276 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14277 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14278 TFLAGS="$(STAGE4_TFLAGS)" \
14279 $(TARGET-stage4-cloog)
14281 maybe-clean-stage4-cloog: clean-stage4-cloog
14282 clean-stage4: clean-stage4-cloog
14283 clean-stage4-cloog:
14284 @if [ $(current_stage) = stage4 ]; then \
14285 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14286 else \
14287 [ -f $(HOST_SUBDIR)/stage4-cloog/Makefile ] || exit 0; \
14288 $(MAKE) stage4-start; \
14289 fi; \
14290 cd $(HOST_SUBDIR)/cloog && \
14291 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14292 @endif cloog-bootstrap
14295 .PHONY: all-stageprofile-cloog maybe-all-stageprofile-cloog
14296 .PHONY: clean-stageprofile-cloog maybe-clean-stageprofile-cloog
14297 maybe-all-stageprofile-cloog:
14298 maybe-clean-stageprofile-cloog:
14299 @if cloog-bootstrap
14300 maybe-all-stageprofile-cloog: all-stageprofile-cloog
14301 all-stageprofile: all-stageprofile-cloog
14302 TARGET-stageprofile-cloog = $(TARGET-cloog)
14303 all-stageprofile-cloog: configure-stageprofile-cloog
14304 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14305 @r=`${PWD_COMMAND}`; export r; \
14306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14307 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14308 $(HOST_EXPORTS) \
14309 $(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; \
14310 cd $(HOST_SUBDIR)/cloog && \
14311 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14312 CFLAGS="$(STAGEprofile_CFLAGS)" \
14313 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
14314 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14315 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14316 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14317 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14318 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14319 TFLAGS="$(STAGEprofile_TFLAGS)" \
14320 $(TARGET-stageprofile-cloog)
14322 maybe-clean-stageprofile-cloog: clean-stageprofile-cloog
14323 clean-stageprofile: clean-stageprofile-cloog
14324 clean-stageprofile-cloog:
14325 @if [ $(current_stage) = stageprofile ]; then \
14326 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14327 else \
14328 [ -f $(HOST_SUBDIR)/stageprofile-cloog/Makefile ] || exit 0; \
14329 $(MAKE) stageprofile-start; \
14330 fi; \
14331 cd $(HOST_SUBDIR)/cloog && \
14332 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14333 @endif cloog-bootstrap
14336 .PHONY: all-stagefeedback-cloog maybe-all-stagefeedback-cloog
14337 .PHONY: clean-stagefeedback-cloog maybe-clean-stagefeedback-cloog
14338 maybe-all-stagefeedback-cloog:
14339 maybe-clean-stagefeedback-cloog:
14340 @if cloog-bootstrap
14341 maybe-all-stagefeedback-cloog: all-stagefeedback-cloog
14342 all-stagefeedback: all-stagefeedback-cloog
14343 TARGET-stagefeedback-cloog = $(TARGET-cloog)
14344 all-stagefeedback-cloog: configure-stagefeedback-cloog
14345 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14346 @r=`${PWD_COMMAND}`; export r; \
14347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14348 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14349 $(HOST_EXPORTS) \
14350 $(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; \
14351 cd $(HOST_SUBDIR)/cloog && \
14352 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14353 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14354 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
14355 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14356 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14357 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14358 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14359 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14360 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14361 $(TARGET-stagefeedback-cloog)
14363 maybe-clean-stagefeedback-cloog: clean-stagefeedback-cloog
14364 clean-stagefeedback: clean-stagefeedback-cloog
14365 clean-stagefeedback-cloog:
14366 @if [ $(current_stage) = stagefeedback ]; then \
14367 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14368 else \
14369 [ -f $(HOST_SUBDIR)/stagefeedback-cloog/Makefile ] || exit 0; \
14370 $(MAKE) stagefeedback-start; \
14371 fi; \
14372 cd $(HOST_SUBDIR)/cloog && \
14373 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14374 @endif cloog-bootstrap
14380 .PHONY: check-cloog maybe-check-cloog
14381 maybe-check-cloog:
14382 @if cloog
14383 maybe-check-cloog: check-cloog
14385 check-cloog:
14386 @: $(MAKE); $(unstage)
14387 @r=`${PWD_COMMAND}`; export r; \
14388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14389 $(HOST_EXPORTS) \
14390 (cd $(HOST_SUBDIR)/cloog && \
14391 $(MAKE) $(FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 check)
14393 @endif cloog
14395 .PHONY: install-cloog maybe-install-cloog
14396 maybe-install-cloog:
14397 @if cloog
14398 maybe-install-cloog: install-cloog
14400 install-cloog:
14402 @endif cloog
14404 .PHONY: install-strip-cloog maybe-install-strip-cloog
14405 maybe-install-strip-cloog:
14406 @if cloog
14407 maybe-install-strip-cloog: install-strip-cloog
14409 install-strip-cloog:
14411 @endif cloog
14413 # Other targets (info, dvi, pdf, etc.)
14415 .PHONY: maybe-info-cloog info-cloog
14416 maybe-info-cloog:
14417 @if cloog
14418 maybe-info-cloog: info-cloog
14420 info-cloog: \
14421 configure-cloog
14422 @[ -f ./cloog/Makefile ] || exit 0; \
14423 r=`${PWD_COMMAND}`; export r; \
14424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14425 $(HOST_EXPORTS) \
14426 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14428 done; \
14429 echo "Doing info in cloog" ; \
14430 (cd $(HOST_SUBDIR)/cloog && \
14431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14433 "RANLIB=$${RANLIB}" \
14434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14435 info) \
14436 || exit 1
14438 @endif cloog
14440 .PHONY: maybe-dvi-cloog dvi-cloog
14441 maybe-dvi-cloog:
14442 @if cloog
14443 maybe-dvi-cloog: dvi-cloog
14445 dvi-cloog: \
14446 configure-cloog
14447 @[ -f ./cloog/Makefile ] || exit 0; \
14448 r=`${PWD_COMMAND}`; export r; \
14449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14450 $(HOST_EXPORTS) \
14451 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14453 done; \
14454 echo "Doing dvi in cloog" ; \
14455 (cd $(HOST_SUBDIR)/cloog && \
14456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14458 "RANLIB=$${RANLIB}" \
14459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14460 dvi) \
14461 || exit 1
14463 @endif cloog
14465 .PHONY: maybe-pdf-cloog pdf-cloog
14466 maybe-pdf-cloog:
14467 @if cloog
14468 maybe-pdf-cloog: pdf-cloog
14470 pdf-cloog: \
14471 configure-cloog
14472 @[ -f ./cloog/Makefile ] || exit 0; \
14473 r=`${PWD_COMMAND}`; export r; \
14474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14475 $(HOST_EXPORTS) \
14476 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14478 done; \
14479 echo "Doing pdf in cloog" ; \
14480 (cd $(HOST_SUBDIR)/cloog && \
14481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14483 "RANLIB=$${RANLIB}" \
14484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14485 pdf) \
14486 || exit 1
14488 @endif cloog
14490 .PHONY: maybe-html-cloog html-cloog
14491 maybe-html-cloog:
14492 @if cloog
14493 maybe-html-cloog: html-cloog
14495 html-cloog: \
14496 configure-cloog
14497 @[ -f ./cloog/Makefile ] || exit 0; \
14498 r=`${PWD_COMMAND}`; export r; \
14499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14500 $(HOST_EXPORTS) \
14501 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14503 done; \
14504 echo "Doing html in cloog" ; \
14505 (cd $(HOST_SUBDIR)/cloog && \
14506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14508 "RANLIB=$${RANLIB}" \
14509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14510 html) \
14511 || exit 1
14513 @endif cloog
14515 .PHONY: maybe-TAGS-cloog TAGS-cloog
14516 maybe-TAGS-cloog:
14517 @if cloog
14518 maybe-TAGS-cloog: TAGS-cloog
14520 TAGS-cloog: \
14521 configure-cloog
14522 @[ -f ./cloog/Makefile ] || exit 0; \
14523 r=`${PWD_COMMAND}`; export r; \
14524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14525 $(HOST_EXPORTS) \
14526 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14528 done; \
14529 echo "Doing TAGS in cloog" ; \
14530 (cd $(HOST_SUBDIR)/cloog && \
14531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14533 "RANLIB=$${RANLIB}" \
14534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14535 TAGS) \
14536 || exit 1
14538 @endif cloog
14540 .PHONY: maybe-install-info-cloog install-info-cloog
14541 maybe-install-info-cloog:
14542 @if cloog
14543 maybe-install-info-cloog: install-info-cloog
14545 install-info-cloog: \
14546 configure-cloog \
14547 info-cloog
14548 @[ -f ./cloog/Makefile ] || exit 0; \
14549 r=`${PWD_COMMAND}`; export r; \
14550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14551 $(HOST_EXPORTS) \
14552 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14554 done; \
14555 echo "Doing install-info in cloog" ; \
14556 (cd $(HOST_SUBDIR)/cloog && \
14557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14559 "RANLIB=$${RANLIB}" \
14560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14561 install-info) \
14562 || exit 1
14564 @endif cloog
14566 .PHONY: maybe-install-pdf-cloog install-pdf-cloog
14567 maybe-install-pdf-cloog:
14568 @if cloog
14569 maybe-install-pdf-cloog: install-pdf-cloog
14571 install-pdf-cloog: \
14572 configure-cloog \
14573 pdf-cloog
14574 @[ -f ./cloog/Makefile ] || exit 0; \
14575 r=`${PWD_COMMAND}`; export r; \
14576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14577 $(HOST_EXPORTS) \
14578 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14580 done; \
14581 echo "Doing install-pdf in cloog" ; \
14582 (cd $(HOST_SUBDIR)/cloog && \
14583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14585 "RANLIB=$${RANLIB}" \
14586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14587 install-pdf) \
14588 || exit 1
14590 @endif cloog
14592 .PHONY: maybe-install-html-cloog install-html-cloog
14593 maybe-install-html-cloog:
14594 @if cloog
14595 maybe-install-html-cloog: install-html-cloog
14597 install-html-cloog: \
14598 configure-cloog \
14599 html-cloog
14600 @[ -f ./cloog/Makefile ] || exit 0; \
14601 r=`${PWD_COMMAND}`; export r; \
14602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14603 $(HOST_EXPORTS) \
14604 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14606 done; \
14607 echo "Doing install-html in cloog" ; \
14608 (cd $(HOST_SUBDIR)/cloog && \
14609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14611 "RANLIB=$${RANLIB}" \
14612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14613 install-html) \
14614 || exit 1
14616 @endif cloog
14618 .PHONY: maybe-installcheck-cloog installcheck-cloog
14619 maybe-installcheck-cloog:
14620 @if cloog
14621 maybe-installcheck-cloog: installcheck-cloog
14623 installcheck-cloog: \
14624 configure-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 installcheck 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 installcheck) \
14639 || exit 1
14641 @endif cloog
14643 .PHONY: maybe-mostlyclean-cloog mostlyclean-cloog
14644 maybe-mostlyclean-cloog:
14645 @if cloog
14646 maybe-mostlyclean-cloog: mostlyclean-cloog
14648 mostlyclean-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 mostlyclean 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 mostlyclean) \
14663 || exit 1
14665 @endif cloog
14667 .PHONY: maybe-clean-cloog clean-cloog
14668 maybe-clean-cloog:
14669 @if cloog
14670 maybe-clean-cloog: clean-cloog
14672 clean-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 clean 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 clean) \
14687 || exit 1
14689 @endif cloog
14691 .PHONY: maybe-distclean-cloog distclean-cloog
14692 maybe-distclean-cloog:
14693 @if cloog
14694 maybe-distclean-cloog: distclean-cloog
14696 distclean-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 distclean 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 distclean) \
14711 || exit 1
14713 @endif cloog
14715 .PHONY: maybe-maintainer-clean-cloog maintainer-clean-cloog
14716 maybe-maintainer-clean-cloog:
14717 @if cloog
14718 maybe-maintainer-clean-cloog: maintainer-clean-cloog
14720 maintainer-clean-cloog:
14721 @[ -f ./cloog/Makefile ] || exit 0; \
14722 r=`${PWD_COMMAND}`; export r; \
14723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14724 $(HOST_EXPORTS) \
14725 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14727 done; \
14728 echo "Doing maintainer-clean in cloog" ; \
14729 (cd $(HOST_SUBDIR)/cloog && \
14730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14732 "RANLIB=$${RANLIB}" \
14733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14734 maintainer-clean) \
14735 || exit 1
14737 @endif cloog
14741 .PHONY: configure-libelf maybe-configure-libelf
14742 maybe-configure-libelf:
14743 @if gcc-bootstrap
14744 configure-libelf: stage_current
14745 @endif gcc-bootstrap
14746 @if libelf
14747 maybe-configure-libelf: configure-libelf
14748 configure-libelf:
14749 @r=`${PWD_COMMAND}`; export r; \
14750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14751 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14752 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14753 $(HOST_EXPORTS) \
14754 echo Configuring in $(HOST_SUBDIR)/libelf; \
14755 cd "$(HOST_SUBDIR)/libelf" || exit 1; \
14756 case $(srcdir) in \
14757 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14758 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14759 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14760 esac; \
14761 srcdiroption="--srcdir=$${topdir}/libelf"; \
14762 libsrcdir="$$s/libelf"; \
14763 $(SHELL) $${libsrcdir}/configure \
14764 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14765 --target=${target_alias} $${srcdiroption} --disable-shared \
14766 || exit 1
14767 @endif libelf
14771 .PHONY: configure-stage1-libelf maybe-configure-stage1-libelf
14772 maybe-configure-stage1-libelf:
14773 @if libelf-bootstrap
14774 maybe-configure-stage1-libelf: configure-stage1-libelf
14775 configure-stage1-libelf:
14776 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14777 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14778 @r=`${PWD_COMMAND}`; export r; \
14779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14780 TFLAGS="$(STAGE1_TFLAGS)"; \
14781 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14782 $(HOST_EXPORTS) \
14783 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
14784 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
14785 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
14786 echo Configuring stage 1 in $(HOST_SUBDIR)/libelf ; \
14787 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14788 cd $(HOST_SUBDIR)/libelf || exit 1; \
14789 case $(srcdir) in \
14790 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14791 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14792 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14793 esac; \
14794 srcdiroption="--srcdir=$${topdir}/libelf"; \
14795 libsrcdir="$$s/libelf"; \
14796 $(SHELL) $${libsrcdir}/configure \
14797 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14798 --target=${target_alias} $${srcdiroption} \
14799 $(STAGE1_CONFIGURE_FLAGS) \
14800 --disable-shared
14801 @endif libelf-bootstrap
14803 .PHONY: configure-stage2-libelf maybe-configure-stage2-libelf
14804 maybe-configure-stage2-libelf:
14805 @if libelf-bootstrap
14806 maybe-configure-stage2-libelf: configure-stage2-libelf
14807 configure-stage2-libelf:
14808 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14809 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14810 @r=`${PWD_COMMAND}`; export r; \
14811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14812 TFLAGS="$(STAGE2_TFLAGS)"; \
14813 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14814 $(HOST_EXPORTS) \
14815 $(POSTSTAGE1_HOST_EXPORTS) \
14816 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
14817 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
14818 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
14819 echo Configuring stage 2 in $(HOST_SUBDIR)/libelf ; \
14820 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14821 cd $(HOST_SUBDIR)/libelf || exit 1; \
14822 case $(srcdir) in \
14823 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14824 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14825 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14826 esac; \
14827 srcdiroption="--srcdir=$${topdir}/libelf"; \
14828 libsrcdir="$$s/libelf"; \
14829 $(SHELL) $${libsrcdir}/configure \
14830 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14831 --target=${target_alias} $${srcdiroption} \
14832 --with-build-libsubdir=$(HOST_SUBDIR) \
14833 $(STAGE2_CONFIGURE_FLAGS) \
14834 --disable-shared
14835 @endif libelf-bootstrap
14837 .PHONY: configure-stage3-libelf maybe-configure-stage3-libelf
14838 maybe-configure-stage3-libelf:
14839 @if libelf-bootstrap
14840 maybe-configure-stage3-libelf: configure-stage3-libelf
14841 configure-stage3-libelf:
14842 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14843 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14844 @r=`${PWD_COMMAND}`; export r; \
14845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14846 TFLAGS="$(STAGE3_TFLAGS)"; \
14847 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14848 $(HOST_EXPORTS) \
14849 $(POSTSTAGE1_HOST_EXPORTS) \
14850 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14851 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
14852 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
14853 echo Configuring stage 3 in $(HOST_SUBDIR)/libelf ; \
14854 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14855 cd $(HOST_SUBDIR)/libelf || exit 1; \
14856 case $(srcdir) in \
14857 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14858 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14859 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14860 esac; \
14861 srcdiroption="--srcdir=$${topdir}/libelf"; \
14862 libsrcdir="$$s/libelf"; \
14863 $(SHELL) $${libsrcdir}/configure \
14864 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14865 --target=${target_alias} $${srcdiroption} \
14866 --with-build-libsubdir=$(HOST_SUBDIR) \
14867 $(STAGE3_CONFIGURE_FLAGS) \
14868 --disable-shared
14869 @endif libelf-bootstrap
14871 .PHONY: configure-stage4-libelf maybe-configure-stage4-libelf
14872 maybe-configure-stage4-libelf:
14873 @if libelf-bootstrap
14874 maybe-configure-stage4-libelf: configure-stage4-libelf
14875 configure-stage4-libelf:
14876 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14877 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14878 @r=`${PWD_COMMAND}`; export r; \
14879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14880 TFLAGS="$(STAGE4_TFLAGS)"; \
14881 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14882 $(HOST_EXPORTS) \
14883 $(POSTSTAGE1_HOST_EXPORTS) \
14884 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14885 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14886 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
14887 echo Configuring stage 4 in $(HOST_SUBDIR)/libelf ; \
14888 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14889 cd $(HOST_SUBDIR)/libelf || exit 1; \
14890 case $(srcdir) in \
14891 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14892 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14893 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14894 esac; \
14895 srcdiroption="--srcdir=$${topdir}/libelf"; \
14896 libsrcdir="$$s/libelf"; \
14897 $(SHELL) $${libsrcdir}/configure \
14898 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14899 --target=${target_alias} $${srcdiroption} \
14900 --with-build-libsubdir=$(HOST_SUBDIR) \
14901 $(STAGE4_CONFIGURE_FLAGS) \
14902 --disable-shared
14903 @endif libelf-bootstrap
14905 .PHONY: configure-stageprofile-libelf maybe-configure-stageprofile-libelf
14906 maybe-configure-stageprofile-libelf:
14907 @if libelf-bootstrap
14908 maybe-configure-stageprofile-libelf: configure-stageprofile-libelf
14909 configure-stageprofile-libelf:
14910 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14911 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14912 @r=`${PWD_COMMAND}`; export r; \
14913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14914 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14915 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14916 $(HOST_EXPORTS) \
14917 $(POSTSTAGE1_HOST_EXPORTS) \
14918 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14919 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14920 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
14921 echo Configuring stage profile in $(HOST_SUBDIR)/libelf ; \
14922 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14923 cd $(HOST_SUBDIR)/libelf || exit 1; \
14924 case $(srcdir) in \
14925 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14926 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14927 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14928 esac; \
14929 srcdiroption="--srcdir=$${topdir}/libelf"; \
14930 libsrcdir="$$s/libelf"; \
14931 $(SHELL) $${libsrcdir}/configure \
14932 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14933 --target=${target_alias} $${srcdiroption} \
14934 --with-build-libsubdir=$(HOST_SUBDIR) \
14935 $(STAGEprofile_CONFIGURE_FLAGS) \
14936 --disable-shared
14937 @endif libelf-bootstrap
14939 .PHONY: configure-stagefeedback-libelf maybe-configure-stagefeedback-libelf
14940 maybe-configure-stagefeedback-libelf:
14941 @if libelf-bootstrap
14942 maybe-configure-stagefeedback-libelf: configure-stagefeedback-libelf
14943 configure-stagefeedback-libelf:
14944 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14945 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14946 @r=`${PWD_COMMAND}`; export r; \
14947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14948 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14949 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14950 $(HOST_EXPORTS) \
14951 $(POSTSTAGE1_HOST_EXPORTS) \
14952 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14953 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14954 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
14955 echo Configuring stage feedback in $(HOST_SUBDIR)/libelf ; \
14956 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14957 cd $(HOST_SUBDIR)/libelf || exit 1; \
14958 case $(srcdir) in \
14959 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14960 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14961 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14962 esac; \
14963 srcdiroption="--srcdir=$${topdir}/libelf"; \
14964 libsrcdir="$$s/libelf"; \
14965 $(SHELL) $${libsrcdir}/configure \
14966 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14967 --target=${target_alias} $${srcdiroption} \
14968 --with-build-libsubdir=$(HOST_SUBDIR) \
14969 $(STAGEfeedback_CONFIGURE_FLAGS) \
14970 --disable-shared
14971 @endif libelf-bootstrap
14977 .PHONY: all-libelf maybe-all-libelf
14978 maybe-all-libelf:
14979 @if gcc-bootstrap
14980 all-libelf: stage_current
14981 @endif gcc-bootstrap
14982 @if libelf
14983 TARGET-libelf=all
14984 maybe-all-libelf: all-libelf
14985 all-libelf: configure-libelf
14986 @r=`${PWD_COMMAND}`; export r; \
14987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14988 $(HOST_EXPORTS) \
14989 (cd $(HOST_SUBDIR)/libelf && \
14990 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
14991 $(TARGET-libelf))
14992 @endif libelf
14996 .PHONY: all-stage1-libelf maybe-all-stage1-libelf
14997 .PHONY: clean-stage1-libelf maybe-clean-stage1-libelf
14998 maybe-all-stage1-libelf:
14999 maybe-clean-stage1-libelf:
15000 @if libelf-bootstrap
15001 maybe-all-stage1-libelf: all-stage1-libelf
15002 all-stage1: all-stage1-libelf
15003 TARGET-stage1-libelf = $(TARGET-libelf)
15004 all-stage1-libelf: configure-stage1-libelf
15005 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15006 @r=`${PWD_COMMAND}`; export r; \
15007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15008 TFLAGS="$(STAGE1_TFLAGS)"; \
15009 $(HOST_EXPORTS) \
15010 cd $(HOST_SUBDIR)/libelf && \
15011 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15012 CFLAGS="$(STAGE1_CFLAGS)" \
15013 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15014 LIBCFLAGS="$(LIBCFLAGS)" \
15015 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15016 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15017 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15018 $(EXTRA_HOST_FLAGS) \
15019 $(STAGE1_FLAGS_TO_PASS) \
15020 TFLAGS="$(STAGE1_TFLAGS)" \
15021 $(TARGET-stage1-libelf)
15023 maybe-clean-stage1-libelf: clean-stage1-libelf
15024 clean-stage1: clean-stage1-libelf
15025 clean-stage1-libelf:
15026 @if [ $(current_stage) = stage1 ]; then \
15027 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15028 else \
15029 [ -f $(HOST_SUBDIR)/stage1-libelf/Makefile ] || exit 0; \
15030 $(MAKE) stage1-start; \
15031 fi; \
15032 cd $(HOST_SUBDIR)/libelf && \
15033 $(MAKE) $(EXTRA_HOST_FLAGS) \
15034 $(STAGE1_FLAGS_TO_PASS) clean
15035 @endif libelf-bootstrap
15038 .PHONY: all-stage2-libelf maybe-all-stage2-libelf
15039 .PHONY: clean-stage2-libelf maybe-clean-stage2-libelf
15040 maybe-all-stage2-libelf:
15041 maybe-clean-stage2-libelf:
15042 @if libelf-bootstrap
15043 maybe-all-stage2-libelf: all-stage2-libelf
15044 all-stage2: all-stage2-libelf
15045 TARGET-stage2-libelf = $(TARGET-libelf)
15046 all-stage2-libelf: configure-stage2-libelf
15047 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15048 @r=`${PWD_COMMAND}`; export r; \
15049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15050 TFLAGS="$(STAGE2_TFLAGS)"; \
15051 $(HOST_EXPORTS) \
15052 $(POSTSTAGE1_HOST_EXPORTS) \
15053 cd $(HOST_SUBDIR)/libelf && \
15054 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15055 CFLAGS="$(STAGE2_CFLAGS)" \
15056 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15057 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15058 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15059 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15060 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15061 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15062 TFLAGS="$(STAGE2_TFLAGS)" \
15063 $(TARGET-stage2-libelf)
15065 maybe-clean-stage2-libelf: clean-stage2-libelf
15066 clean-stage2: clean-stage2-libelf
15067 clean-stage2-libelf:
15068 @if [ $(current_stage) = stage2 ]; then \
15069 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15070 else \
15071 [ -f $(HOST_SUBDIR)/stage2-libelf/Makefile ] || exit 0; \
15072 $(MAKE) stage2-start; \
15073 fi; \
15074 cd $(HOST_SUBDIR)/libelf && \
15075 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15076 @endif libelf-bootstrap
15079 .PHONY: all-stage3-libelf maybe-all-stage3-libelf
15080 .PHONY: clean-stage3-libelf maybe-clean-stage3-libelf
15081 maybe-all-stage3-libelf:
15082 maybe-clean-stage3-libelf:
15083 @if libelf-bootstrap
15084 maybe-all-stage3-libelf: all-stage3-libelf
15085 all-stage3: all-stage3-libelf
15086 TARGET-stage3-libelf = $(TARGET-libelf)
15087 all-stage3-libelf: configure-stage3-libelf
15088 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15089 @r=`${PWD_COMMAND}`; export r; \
15090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15091 TFLAGS="$(STAGE3_TFLAGS)"; \
15092 $(HOST_EXPORTS) \
15093 $(POSTSTAGE1_HOST_EXPORTS) \
15094 cd $(HOST_SUBDIR)/libelf && \
15095 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15096 CFLAGS="$(STAGE3_CFLAGS)" \
15097 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15098 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15099 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15100 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15101 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15102 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15103 TFLAGS="$(STAGE3_TFLAGS)" \
15104 $(TARGET-stage3-libelf)
15106 maybe-clean-stage3-libelf: clean-stage3-libelf
15107 clean-stage3: clean-stage3-libelf
15108 clean-stage3-libelf:
15109 @if [ $(current_stage) = stage3 ]; then \
15110 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15111 else \
15112 [ -f $(HOST_SUBDIR)/stage3-libelf/Makefile ] || exit 0; \
15113 $(MAKE) stage3-start; \
15114 fi; \
15115 cd $(HOST_SUBDIR)/libelf && \
15116 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15117 @endif libelf-bootstrap
15120 .PHONY: all-stage4-libelf maybe-all-stage4-libelf
15121 .PHONY: clean-stage4-libelf maybe-clean-stage4-libelf
15122 maybe-all-stage4-libelf:
15123 maybe-clean-stage4-libelf:
15124 @if libelf-bootstrap
15125 maybe-all-stage4-libelf: all-stage4-libelf
15126 all-stage4: all-stage4-libelf
15127 TARGET-stage4-libelf = $(TARGET-libelf)
15128 all-stage4-libelf: configure-stage4-libelf
15129 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15130 @r=`${PWD_COMMAND}`; export r; \
15131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15132 TFLAGS="$(STAGE4_TFLAGS)"; \
15133 $(HOST_EXPORTS) \
15134 $(POSTSTAGE1_HOST_EXPORTS) \
15135 cd $(HOST_SUBDIR)/libelf && \
15136 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15137 CFLAGS="$(STAGE4_CFLAGS)" \
15138 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15139 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15140 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15141 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15142 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15143 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15144 TFLAGS="$(STAGE4_TFLAGS)" \
15145 $(TARGET-stage4-libelf)
15147 maybe-clean-stage4-libelf: clean-stage4-libelf
15148 clean-stage4: clean-stage4-libelf
15149 clean-stage4-libelf:
15150 @if [ $(current_stage) = stage4 ]; then \
15151 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15152 else \
15153 [ -f $(HOST_SUBDIR)/stage4-libelf/Makefile ] || exit 0; \
15154 $(MAKE) stage4-start; \
15155 fi; \
15156 cd $(HOST_SUBDIR)/libelf && \
15157 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15158 @endif libelf-bootstrap
15161 .PHONY: all-stageprofile-libelf maybe-all-stageprofile-libelf
15162 .PHONY: clean-stageprofile-libelf maybe-clean-stageprofile-libelf
15163 maybe-all-stageprofile-libelf:
15164 maybe-clean-stageprofile-libelf:
15165 @if libelf-bootstrap
15166 maybe-all-stageprofile-libelf: all-stageprofile-libelf
15167 all-stageprofile: all-stageprofile-libelf
15168 TARGET-stageprofile-libelf = $(TARGET-libelf)
15169 all-stageprofile-libelf: configure-stageprofile-libelf
15170 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15171 @r=`${PWD_COMMAND}`; export r; \
15172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15173 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15174 $(HOST_EXPORTS) \
15175 $(POSTSTAGE1_HOST_EXPORTS) \
15176 cd $(HOST_SUBDIR)/libelf && \
15177 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15178 CFLAGS="$(STAGEprofile_CFLAGS)" \
15179 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
15180 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
15181 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15182 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15183 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15184 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15185 TFLAGS="$(STAGEprofile_TFLAGS)" \
15186 $(TARGET-stageprofile-libelf)
15188 maybe-clean-stageprofile-libelf: clean-stageprofile-libelf
15189 clean-stageprofile: clean-stageprofile-libelf
15190 clean-stageprofile-libelf:
15191 @if [ $(current_stage) = stageprofile ]; then \
15192 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15193 else \
15194 [ -f $(HOST_SUBDIR)/stageprofile-libelf/Makefile ] || exit 0; \
15195 $(MAKE) stageprofile-start; \
15196 fi; \
15197 cd $(HOST_SUBDIR)/libelf && \
15198 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15199 @endif libelf-bootstrap
15202 .PHONY: all-stagefeedback-libelf maybe-all-stagefeedback-libelf
15203 .PHONY: clean-stagefeedback-libelf maybe-clean-stagefeedback-libelf
15204 maybe-all-stagefeedback-libelf:
15205 maybe-clean-stagefeedback-libelf:
15206 @if libelf-bootstrap
15207 maybe-all-stagefeedback-libelf: all-stagefeedback-libelf
15208 all-stagefeedback: all-stagefeedback-libelf
15209 TARGET-stagefeedback-libelf = $(TARGET-libelf)
15210 all-stagefeedback-libelf: configure-stagefeedback-libelf
15211 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15212 @r=`${PWD_COMMAND}`; export r; \
15213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15214 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15215 $(HOST_EXPORTS) \
15216 $(POSTSTAGE1_HOST_EXPORTS) \
15217 cd $(HOST_SUBDIR)/libelf && \
15218 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15219 CFLAGS="$(STAGEfeedback_CFLAGS)" \
15220 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
15221 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
15222 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15223 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15224 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15225 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15226 TFLAGS="$(STAGEfeedback_TFLAGS)" \
15227 $(TARGET-stagefeedback-libelf)
15229 maybe-clean-stagefeedback-libelf: clean-stagefeedback-libelf
15230 clean-stagefeedback: clean-stagefeedback-libelf
15231 clean-stagefeedback-libelf:
15232 @if [ $(current_stage) = stagefeedback ]; then \
15233 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15234 else \
15235 [ -f $(HOST_SUBDIR)/stagefeedback-libelf/Makefile ] || exit 0; \
15236 $(MAKE) stagefeedback-start; \
15237 fi; \
15238 cd $(HOST_SUBDIR)/libelf && \
15239 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15240 @endif libelf-bootstrap
15246 .PHONY: check-libelf maybe-check-libelf
15247 maybe-check-libelf:
15248 @if libelf
15249 maybe-check-libelf: check-libelf
15251 check-libelf:
15252 @: $(MAKE); $(unstage)
15253 @r=`${PWD_COMMAND}`; export r; \
15254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15255 $(HOST_EXPORTS) \
15256 (cd $(HOST_SUBDIR)/libelf && \
15257 $(MAKE) $(FLAGS_TO_PASS) check)
15259 @endif libelf
15261 .PHONY: install-libelf maybe-install-libelf
15262 maybe-install-libelf:
15263 @if libelf
15264 maybe-install-libelf: install-libelf
15266 install-libelf:
15268 @endif libelf
15270 .PHONY: install-strip-libelf maybe-install-strip-libelf
15271 maybe-install-strip-libelf:
15272 @if libelf
15273 maybe-install-strip-libelf: install-strip-libelf
15275 install-strip-libelf:
15277 @endif libelf
15279 # Other targets (info, dvi, pdf, etc.)
15281 .PHONY: maybe-info-libelf info-libelf
15282 maybe-info-libelf:
15283 @if libelf
15284 maybe-info-libelf: info-libelf
15286 info-libelf: \
15287 configure-libelf
15288 @[ -f ./libelf/Makefile ] || exit 0; \
15289 r=`${PWD_COMMAND}`; export r; \
15290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15291 $(HOST_EXPORTS) \
15292 for flag in $(EXTRA_HOST_FLAGS) ; do \
15293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15294 done; \
15295 echo "Doing info in libelf" ; \
15296 (cd $(HOST_SUBDIR)/libelf && \
15297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15299 "RANLIB=$${RANLIB}" \
15300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15301 info) \
15302 || exit 1
15304 @endif libelf
15306 .PHONY: maybe-dvi-libelf dvi-libelf
15307 maybe-dvi-libelf:
15308 @if libelf
15309 maybe-dvi-libelf: dvi-libelf
15311 dvi-libelf: \
15312 configure-libelf
15313 @[ -f ./libelf/Makefile ] || exit 0; \
15314 r=`${PWD_COMMAND}`; export r; \
15315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15316 $(HOST_EXPORTS) \
15317 for flag in $(EXTRA_HOST_FLAGS) ; do \
15318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15319 done; \
15320 echo "Doing dvi in libelf" ; \
15321 (cd $(HOST_SUBDIR)/libelf && \
15322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15324 "RANLIB=$${RANLIB}" \
15325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15326 dvi) \
15327 || exit 1
15329 @endif libelf
15331 .PHONY: maybe-pdf-libelf pdf-libelf
15332 maybe-pdf-libelf:
15333 @if libelf
15334 maybe-pdf-libelf: pdf-libelf
15336 pdf-libelf: \
15337 configure-libelf
15338 @[ -f ./libelf/Makefile ] || exit 0; \
15339 r=`${PWD_COMMAND}`; export r; \
15340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15341 $(HOST_EXPORTS) \
15342 for flag in $(EXTRA_HOST_FLAGS) ; do \
15343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15344 done; \
15345 echo "Doing pdf in libelf" ; \
15346 (cd $(HOST_SUBDIR)/libelf && \
15347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15349 "RANLIB=$${RANLIB}" \
15350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15351 pdf) \
15352 || exit 1
15354 @endif libelf
15356 .PHONY: maybe-html-libelf html-libelf
15357 maybe-html-libelf:
15358 @if libelf
15359 maybe-html-libelf: html-libelf
15361 html-libelf: \
15362 configure-libelf
15363 @[ -f ./libelf/Makefile ] || exit 0; \
15364 r=`${PWD_COMMAND}`; export r; \
15365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15366 $(HOST_EXPORTS) \
15367 for flag in $(EXTRA_HOST_FLAGS) ; do \
15368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15369 done; \
15370 echo "Doing html in libelf" ; \
15371 (cd $(HOST_SUBDIR)/libelf && \
15372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15374 "RANLIB=$${RANLIB}" \
15375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15376 html) \
15377 || exit 1
15379 @endif libelf
15381 .PHONY: maybe-TAGS-libelf TAGS-libelf
15382 maybe-TAGS-libelf:
15383 @if libelf
15384 maybe-TAGS-libelf: TAGS-libelf
15386 TAGS-libelf: \
15387 configure-libelf
15388 @[ -f ./libelf/Makefile ] || exit 0; \
15389 r=`${PWD_COMMAND}`; export r; \
15390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15391 $(HOST_EXPORTS) \
15392 for flag in $(EXTRA_HOST_FLAGS) ; do \
15393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15394 done; \
15395 echo "Doing TAGS in libelf" ; \
15396 (cd $(HOST_SUBDIR)/libelf && \
15397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15399 "RANLIB=$${RANLIB}" \
15400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15401 TAGS) \
15402 || exit 1
15404 @endif libelf
15406 .PHONY: maybe-install-info-libelf install-info-libelf
15407 maybe-install-info-libelf:
15408 @if libelf
15409 maybe-install-info-libelf: install-info-libelf
15411 install-info-libelf: \
15412 configure-libelf \
15413 info-libelf
15414 @[ -f ./libelf/Makefile ] || exit 0; \
15415 r=`${PWD_COMMAND}`; export r; \
15416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15417 $(HOST_EXPORTS) \
15418 for flag in $(EXTRA_HOST_FLAGS) ; do \
15419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15420 done; \
15421 echo "Doing install-info in libelf" ; \
15422 (cd $(HOST_SUBDIR)/libelf && \
15423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15425 "RANLIB=$${RANLIB}" \
15426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15427 install-info) \
15428 || exit 1
15430 @endif libelf
15432 .PHONY: maybe-install-pdf-libelf install-pdf-libelf
15433 maybe-install-pdf-libelf:
15434 @if libelf
15435 maybe-install-pdf-libelf: install-pdf-libelf
15437 install-pdf-libelf: \
15438 configure-libelf \
15439 pdf-libelf
15440 @[ -f ./libelf/Makefile ] || exit 0; \
15441 r=`${PWD_COMMAND}`; export r; \
15442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15443 $(HOST_EXPORTS) \
15444 for flag in $(EXTRA_HOST_FLAGS) ; do \
15445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15446 done; \
15447 echo "Doing install-pdf in libelf" ; \
15448 (cd $(HOST_SUBDIR)/libelf && \
15449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15451 "RANLIB=$${RANLIB}" \
15452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15453 install-pdf) \
15454 || exit 1
15456 @endif libelf
15458 .PHONY: maybe-install-html-libelf install-html-libelf
15459 maybe-install-html-libelf:
15460 @if libelf
15461 maybe-install-html-libelf: install-html-libelf
15463 install-html-libelf: \
15464 configure-libelf \
15465 html-libelf
15466 @[ -f ./libelf/Makefile ] || exit 0; \
15467 r=`${PWD_COMMAND}`; export r; \
15468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15469 $(HOST_EXPORTS) \
15470 for flag in $(EXTRA_HOST_FLAGS) ; do \
15471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15472 done; \
15473 echo "Doing install-html in libelf" ; \
15474 (cd $(HOST_SUBDIR)/libelf && \
15475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15477 "RANLIB=$${RANLIB}" \
15478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15479 install-html) \
15480 || exit 1
15482 @endif libelf
15484 .PHONY: maybe-installcheck-libelf installcheck-libelf
15485 maybe-installcheck-libelf:
15486 @if libelf
15487 maybe-installcheck-libelf: installcheck-libelf
15489 installcheck-libelf: \
15490 configure-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 installcheck 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 installcheck) \
15505 || exit 1
15507 @endif libelf
15509 .PHONY: maybe-mostlyclean-libelf mostlyclean-libelf
15510 maybe-mostlyclean-libelf:
15511 @if libelf
15512 maybe-mostlyclean-libelf: mostlyclean-libelf
15514 mostlyclean-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 mostlyclean 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 mostlyclean) \
15529 || exit 1
15531 @endif libelf
15533 .PHONY: maybe-clean-libelf clean-libelf
15534 maybe-clean-libelf:
15535 @if libelf
15536 maybe-clean-libelf: clean-libelf
15538 clean-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 clean 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 clean) \
15553 || exit 1
15555 @endif libelf
15557 .PHONY: maybe-distclean-libelf distclean-libelf
15558 maybe-distclean-libelf:
15559 @if libelf
15560 maybe-distclean-libelf: distclean-libelf
15562 distclean-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 distclean 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 distclean) \
15577 || exit 1
15579 @endif libelf
15581 .PHONY: maybe-maintainer-clean-libelf maintainer-clean-libelf
15582 maybe-maintainer-clean-libelf:
15583 @if libelf
15584 maybe-maintainer-clean-libelf: maintainer-clean-libelf
15586 maintainer-clean-libelf:
15587 @[ -f ./libelf/Makefile ] || exit 0; \
15588 r=`${PWD_COMMAND}`; export r; \
15589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15590 $(HOST_EXPORTS) \
15591 for flag in $(EXTRA_HOST_FLAGS) ; do \
15592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15593 done; \
15594 echo "Doing maintainer-clean in libelf" ; \
15595 (cd $(HOST_SUBDIR)/libelf && \
15596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15598 "RANLIB=$${RANLIB}" \
15599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15600 maintainer-clean) \
15601 || exit 1
15603 @endif libelf
15607 .PHONY: configure-gold maybe-configure-gold
15608 maybe-configure-gold:
15609 @if gcc-bootstrap
15610 configure-gold: stage_current
15611 @endif gcc-bootstrap
15612 @if gold
15613 maybe-configure-gold: configure-gold
15614 configure-gold:
15615 @r=`${PWD_COMMAND}`; export r; \
15616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15617 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15618 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15619 $(HOST_EXPORTS) \
15620 echo Configuring in $(HOST_SUBDIR)/gold; \
15621 cd "$(HOST_SUBDIR)/gold" || exit 1; \
15622 case $(srcdir) in \
15623 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15624 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15625 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15626 esac; \
15627 srcdiroption="--srcdir=$${topdir}/gold"; \
15628 libsrcdir="$$s/gold"; \
15629 $(SHELL) $${libsrcdir}/configure \
15630 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15631 --target=${target_alias} $${srcdiroption} \
15632 || exit 1
15633 @endif gold
15637 .PHONY: configure-stage1-gold maybe-configure-stage1-gold
15638 maybe-configure-stage1-gold:
15639 @if gold-bootstrap
15640 maybe-configure-stage1-gold: configure-stage1-gold
15641 configure-stage1-gold:
15642 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15643 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15644 @r=`${PWD_COMMAND}`; export r; \
15645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15646 TFLAGS="$(STAGE1_TFLAGS)"; \
15647 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15648 $(HOST_EXPORTS) \
15649 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
15650 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
15651 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
15652 echo Configuring stage 1 in $(HOST_SUBDIR)/gold ; \
15653 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15654 cd $(HOST_SUBDIR)/gold || exit 1; \
15655 case $(srcdir) in \
15656 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15657 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15658 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15659 esac; \
15660 srcdiroption="--srcdir=$${topdir}/gold"; \
15661 libsrcdir="$$s/gold"; \
15662 $(SHELL) $${libsrcdir}/configure \
15663 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15664 --target=${target_alias} $${srcdiroption} \
15665 $(STAGE1_CONFIGURE_FLAGS)
15666 @endif gold-bootstrap
15668 .PHONY: configure-stage2-gold maybe-configure-stage2-gold
15669 maybe-configure-stage2-gold:
15670 @if gold-bootstrap
15671 maybe-configure-stage2-gold: configure-stage2-gold
15672 configure-stage2-gold:
15673 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15674 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15675 @r=`${PWD_COMMAND}`; export r; \
15676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15677 TFLAGS="$(STAGE2_TFLAGS)"; \
15678 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15679 $(HOST_EXPORTS) \
15680 $(POSTSTAGE1_HOST_EXPORTS) \
15681 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
15682 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
15683 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
15684 echo Configuring stage 2 in $(HOST_SUBDIR)/gold ; \
15685 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15686 cd $(HOST_SUBDIR)/gold || exit 1; \
15687 case $(srcdir) in \
15688 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15689 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15690 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15691 esac; \
15692 srcdiroption="--srcdir=$${topdir}/gold"; \
15693 libsrcdir="$$s/gold"; \
15694 $(SHELL) $${libsrcdir}/configure \
15695 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15696 --target=${target_alias} $${srcdiroption} \
15697 --with-build-libsubdir=$(HOST_SUBDIR) \
15698 $(STAGE2_CONFIGURE_FLAGS)
15699 @endif gold-bootstrap
15701 .PHONY: configure-stage3-gold maybe-configure-stage3-gold
15702 maybe-configure-stage3-gold:
15703 @if gold-bootstrap
15704 maybe-configure-stage3-gold: configure-stage3-gold
15705 configure-stage3-gold:
15706 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15707 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15708 @r=`${PWD_COMMAND}`; export r; \
15709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15710 TFLAGS="$(STAGE3_TFLAGS)"; \
15711 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15712 $(HOST_EXPORTS) \
15713 $(POSTSTAGE1_HOST_EXPORTS) \
15714 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
15715 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
15716 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
15717 echo Configuring stage 3 in $(HOST_SUBDIR)/gold ; \
15718 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15719 cd $(HOST_SUBDIR)/gold || exit 1; \
15720 case $(srcdir) in \
15721 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15722 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15723 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15724 esac; \
15725 srcdiroption="--srcdir=$${topdir}/gold"; \
15726 libsrcdir="$$s/gold"; \
15727 $(SHELL) $${libsrcdir}/configure \
15728 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15729 --target=${target_alias} $${srcdiroption} \
15730 --with-build-libsubdir=$(HOST_SUBDIR) \
15731 $(STAGE3_CONFIGURE_FLAGS)
15732 @endif gold-bootstrap
15734 .PHONY: configure-stage4-gold maybe-configure-stage4-gold
15735 maybe-configure-stage4-gold:
15736 @if gold-bootstrap
15737 maybe-configure-stage4-gold: configure-stage4-gold
15738 configure-stage4-gold:
15739 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15740 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15741 @r=`${PWD_COMMAND}`; export r; \
15742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15743 TFLAGS="$(STAGE4_TFLAGS)"; \
15744 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15745 $(HOST_EXPORTS) \
15746 $(POSTSTAGE1_HOST_EXPORTS) \
15747 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
15748 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
15749 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
15750 echo Configuring stage 4 in $(HOST_SUBDIR)/gold ; \
15751 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15752 cd $(HOST_SUBDIR)/gold || exit 1; \
15753 case $(srcdir) in \
15754 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15755 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15756 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15757 esac; \
15758 srcdiroption="--srcdir=$${topdir}/gold"; \
15759 libsrcdir="$$s/gold"; \
15760 $(SHELL) $${libsrcdir}/configure \
15761 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15762 --target=${target_alias} $${srcdiroption} \
15763 --with-build-libsubdir=$(HOST_SUBDIR) \
15764 $(STAGE4_CONFIGURE_FLAGS)
15765 @endif gold-bootstrap
15767 .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold
15768 maybe-configure-stageprofile-gold:
15769 @if gold-bootstrap
15770 maybe-configure-stageprofile-gold: configure-stageprofile-gold
15771 configure-stageprofile-gold:
15772 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15773 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15774 @r=`${PWD_COMMAND}`; export r; \
15775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15776 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15777 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15778 $(HOST_EXPORTS) \
15779 $(POSTSTAGE1_HOST_EXPORTS) \
15780 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
15781 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
15782 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
15783 echo Configuring stage profile in $(HOST_SUBDIR)/gold ; \
15784 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15785 cd $(HOST_SUBDIR)/gold || exit 1; \
15786 case $(srcdir) in \
15787 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15788 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15789 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15790 esac; \
15791 srcdiroption="--srcdir=$${topdir}/gold"; \
15792 libsrcdir="$$s/gold"; \
15793 $(SHELL) $${libsrcdir}/configure \
15794 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15795 --target=${target_alias} $${srcdiroption} \
15796 --with-build-libsubdir=$(HOST_SUBDIR) \
15797 $(STAGEprofile_CONFIGURE_FLAGS)
15798 @endif gold-bootstrap
15800 .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold
15801 maybe-configure-stagefeedback-gold:
15802 @if gold-bootstrap
15803 maybe-configure-stagefeedback-gold: configure-stagefeedback-gold
15804 configure-stagefeedback-gold:
15805 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15806 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15807 @r=`${PWD_COMMAND}`; export r; \
15808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15809 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15810 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15811 $(HOST_EXPORTS) \
15812 $(POSTSTAGE1_HOST_EXPORTS) \
15813 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
15814 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
15815 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
15816 echo Configuring stage feedback in $(HOST_SUBDIR)/gold ; \
15817 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15818 cd $(HOST_SUBDIR)/gold || exit 1; \
15819 case $(srcdir) in \
15820 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15821 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15822 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15823 esac; \
15824 srcdiroption="--srcdir=$${topdir}/gold"; \
15825 libsrcdir="$$s/gold"; \
15826 $(SHELL) $${libsrcdir}/configure \
15827 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15828 --target=${target_alias} $${srcdiroption} \
15829 --with-build-libsubdir=$(HOST_SUBDIR) \
15830 $(STAGEfeedback_CONFIGURE_FLAGS)
15831 @endif gold-bootstrap
15837 .PHONY: all-gold maybe-all-gold
15838 maybe-all-gold:
15839 @if gcc-bootstrap
15840 all-gold: stage_current
15841 @endif gcc-bootstrap
15842 @if gold
15843 TARGET-gold=all
15844 maybe-all-gold: all-gold
15845 all-gold: configure-gold
15846 @r=`${PWD_COMMAND}`; export r; \
15847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15848 $(HOST_EXPORTS) \
15849 (cd $(HOST_SUBDIR)/gold && \
15850 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
15851 $(TARGET-gold))
15852 @endif gold
15856 .PHONY: all-stage1-gold maybe-all-stage1-gold
15857 .PHONY: clean-stage1-gold maybe-clean-stage1-gold
15858 maybe-all-stage1-gold:
15859 maybe-clean-stage1-gold:
15860 @if gold-bootstrap
15861 maybe-all-stage1-gold: all-stage1-gold
15862 all-stage1: all-stage1-gold
15863 TARGET-stage1-gold = $(TARGET-gold)
15864 all-stage1-gold: configure-stage1-gold
15865 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15866 @r=`${PWD_COMMAND}`; export r; \
15867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15868 TFLAGS="$(STAGE1_TFLAGS)"; \
15869 $(HOST_EXPORTS) \
15870 cd $(HOST_SUBDIR)/gold && \
15871 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15872 CFLAGS="$(STAGE1_CFLAGS)" \
15873 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15874 LIBCFLAGS="$(LIBCFLAGS)" \
15875 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15876 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15877 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15878 $(EXTRA_HOST_FLAGS) \
15879 $(STAGE1_FLAGS_TO_PASS) \
15880 TFLAGS="$(STAGE1_TFLAGS)" \
15881 $(TARGET-stage1-gold)
15883 maybe-clean-stage1-gold: clean-stage1-gold
15884 clean-stage1: clean-stage1-gold
15885 clean-stage1-gold:
15886 @if [ $(current_stage) = stage1 ]; then \
15887 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15888 else \
15889 [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \
15890 $(MAKE) stage1-start; \
15891 fi; \
15892 cd $(HOST_SUBDIR)/gold && \
15893 $(MAKE) $(EXTRA_HOST_FLAGS) \
15894 $(STAGE1_FLAGS_TO_PASS) clean
15895 @endif gold-bootstrap
15898 .PHONY: all-stage2-gold maybe-all-stage2-gold
15899 .PHONY: clean-stage2-gold maybe-clean-stage2-gold
15900 maybe-all-stage2-gold:
15901 maybe-clean-stage2-gold:
15902 @if gold-bootstrap
15903 maybe-all-stage2-gold: all-stage2-gold
15904 all-stage2: all-stage2-gold
15905 TARGET-stage2-gold = $(TARGET-gold)
15906 all-stage2-gold: configure-stage2-gold
15907 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15908 @r=`${PWD_COMMAND}`; export r; \
15909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15910 TFLAGS="$(STAGE2_TFLAGS)"; \
15911 $(HOST_EXPORTS) \
15912 $(POSTSTAGE1_HOST_EXPORTS) \
15913 cd $(HOST_SUBDIR)/gold && \
15914 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15915 CFLAGS="$(STAGE2_CFLAGS)" \
15916 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15917 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15918 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15919 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15920 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15921 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15922 TFLAGS="$(STAGE2_TFLAGS)" \
15923 $(TARGET-stage2-gold)
15925 maybe-clean-stage2-gold: clean-stage2-gold
15926 clean-stage2: clean-stage2-gold
15927 clean-stage2-gold:
15928 @if [ $(current_stage) = stage2 ]; then \
15929 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15930 else \
15931 [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \
15932 $(MAKE) stage2-start; \
15933 fi; \
15934 cd $(HOST_SUBDIR)/gold && \
15935 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15936 @endif gold-bootstrap
15939 .PHONY: all-stage3-gold maybe-all-stage3-gold
15940 .PHONY: clean-stage3-gold maybe-clean-stage3-gold
15941 maybe-all-stage3-gold:
15942 maybe-clean-stage3-gold:
15943 @if gold-bootstrap
15944 maybe-all-stage3-gold: all-stage3-gold
15945 all-stage3: all-stage3-gold
15946 TARGET-stage3-gold = $(TARGET-gold)
15947 all-stage3-gold: configure-stage3-gold
15948 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15949 @r=`${PWD_COMMAND}`; export r; \
15950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15951 TFLAGS="$(STAGE3_TFLAGS)"; \
15952 $(HOST_EXPORTS) \
15953 $(POSTSTAGE1_HOST_EXPORTS) \
15954 cd $(HOST_SUBDIR)/gold && \
15955 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15956 CFLAGS="$(STAGE3_CFLAGS)" \
15957 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15958 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15959 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15960 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15961 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15962 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15963 TFLAGS="$(STAGE3_TFLAGS)" \
15964 $(TARGET-stage3-gold)
15966 maybe-clean-stage3-gold: clean-stage3-gold
15967 clean-stage3: clean-stage3-gold
15968 clean-stage3-gold:
15969 @if [ $(current_stage) = stage3 ]; then \
15970 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15971 else \
15972 [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \
15973 $(MAKE) stage3-start; \
15974 fi; \
15975 cd $(HOST_SUBDIR)/gold && \
15976 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15977 @endif gold-bootstrap
15980 .PHONY: all-stage4-gold maybe-all-stage4-gold
15981 .PHONY: clean-stage4-gold maybe-clean-stage4-gold
15982 maybe-all-stage4-gold:
15983 maybe-clean-stage4-gold:
15984 @if gold-bootstrap
15985 maybe-all-stage4-gold: all-stage4-gold
15986 all-stage4: all-stage4-gold
15987 TARGET-stage4-gold = $(TARGET-gold)
15988 all-stage4-gold: configure-stage4-gold
15989 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15990 @r=`${PWD_COMMAND}`; export r; \
15991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15992 TFLAGS="$(STAGE4_TFLAGS)"; \
15993 $(HOST_EXPORTS) \
15994 $(POSTSTAGE1_HOST_EXPORTS) \
15995 cd $(HOST_SUBDIR)/gold && \
15996 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15997 CFLAGS="$(STAGE4_CFLAGS)" \
15998 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15999 LIBCFLAGS="$(STAGE4_CFLAGS)" \
16000 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16001 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16002 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16003 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16004 TFLAGS="$(STAGE4_TFLAGS)" \
16005 $(TARGET-stage4-gold)
16007 maybe-clean-stage4-gold: clean-stage4-gold
16008 clean-stage4: clean-stage4-gold
16009 clean-stage4-gold:
16010 @if [ $(current_stage) = stage4 ]; then \
16011 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16012 else \
16013 [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \
16014 $(MAKE) stage4-start; \
16015 fi; \
16016 cd $(HOST_SUBDIR)/gold && \
16017 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16018 @endif gold-bootstrap
16021 .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold
16022 .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold
16023 maybe-all-stageprofile-gold:
16024 maybe-clean-stageprofile-gold:
16025 @if gold-bootstrap
16026 maybe-all-stageprofile-gold: all-stageprofile-gold
16027 all-stageprofile: all-stageprofile-gold
16028 TARGET-stageprofile-gold = $(TARGET-gold)
16029 all-stageprofile-gold: configure-stageprofile-gold
16030 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16031 @r=`${PWD_COMMAND}`; export r; \
16032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16033 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16034 $(HOST_EXPORTS) \
16035 $(POSTSTAGE1_HOST_EXPORTS) \
16036 cd $(HOST_SUBDIR)/gold && \
16037 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16038 CFLAGS="$(STAGEprofile_CFLAGS)" \
16039 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
16040 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
16041 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16042 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16043 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16044 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16045 TFLAGS="$(STAGEprofile_TFLAGS)" \
16046 $(TARGET-stageprofile-gold)
16048 maybe-clean-stageprofile-gold: clean-stageprofile-gold
16049 clean-stageprofile: clean-stageprofile-gold
16050 clean-stageprofile-gold:
16051 @if [ $(current_stage) = stageprofile ]; then \
16052 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16053 else \
16054 [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \
16055 $(MAKE) stageprofile-start; \
16056 fi; \
16057 cd $(HOST_SUBDIR)/gold && \
16058 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16059 @endif gold-bootstrap
16062 .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold
16063 .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold
16064 maybe-all-stagefeedback-gold:
16065 maybe-clean-stagefeedback-gold:
16066 @if gold-bootstrap
16067 maybe-all-stagefeedback-gold: all-stagefeedback-gold
16068 all-stagefeedback: all-stagefeedback-gold
16069 TARGET-stagefeedback-gold = $(TARGET-gold)
16070 all-stagefeedback-gold: configure-stagefeedback-gold
16071 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16072 @r=`${PWD_COMMAND}`; export r; \
16073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16074 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16075 $(HOST_EXPORTS) \
16076 $(POSTSTAGE1_HOST_EXPORTS) \
16077 cd $(HOST_SUBDIR)/gold && \
16078 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16079 CFLAGS="$(STAGEfeedback_CFLAGS)" \
16080 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
16081 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
16082 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16083 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16084 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16085 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16086 TFLAGS="$(STAGEfeedback_TFLAGS)" \
16087 $(TARGET-stagefeedback-gold)
16089 maybe-clean-stagefeedback-gold: clean-stagefeedback-gold
16090 clean-stagefeedback: clean-stagefeedback-gold
16091 clean-stagefeedback-gold:
16092 @if [ $(current_stage) = stagefeedback ]; then \
16093 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16094 else \
16095 [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \
16096 $(MAKE) stagefeedback-start; \
16097 fi; \
16098 cd $(HOST_SUBDIR)/gold && \
16099 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16100 @endif gold-bootstrap
16106 .PHONY: check-gold maybe-check-gold
16107 maybe-check-gold:
16108 @if gold
16109 maybe-check-gold: check-gold
16111 check-gold:
16112 @: $(MAKE); $(unstage)
16113 @r=`${PWD_COMMAND}`; export r; \
16114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16115 $(HOST_EXPORTS) \
16116 (cd $(HOST_SUBDIR)/gold && \
16117 $(MAKE) $(FLAGS_TO_PASS) check)
16119 @endif gold
16121 .PHONY: install-gold maybe-install-gold
16122 maybe-install-gold:
16123 @if gold
16124 maybe-install-gold: install-gold
16126 install-gold: installdirs
16127 @: $(MAKE); $(unstage)
16128 @r=`${PWD_COMMAND}`; export r; \
16129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16130 $(HOST_EXPORTS) \
16131 (cd $(HOST_SUBDIR)/gold && \
16132 $(MAKE) $(FLAGS_TO_PASS) install)
16134 @endif gold
16136 .PHONY: install-strip-gold maybe-install-strip-gold
16137 maybe-install-strip-gold:
16138 @if gold
16139 maybe-install-strip-gold: install-strip-gold
16141 install-strip-gold: installdirs
16142 @: $(MAKE); $(unstage)
16143 @r=`${PWD_COMMAND}`; export r; \
16144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16145 $(HOST_EXPORTS) \
16146 (cd $(HOST_SUBDIR)/gold && \
16147 $(MAKE) $(FLAGS_TO_PASS) install-strip)
16149 @endif gold
16151 # Other targets (info, dvi, pdf, etc.)
16153 .PHONY: maybe-info-gold info-gold
16154 maybe-info-gold:
16155 @if gold
16156 maybe-info-gold: info-gold
16158 info-gold: \
16159 configure-gold
16160 @[ -f ./gold/Makefile ] || exit 0; \
16161 r=`${PWD_COMMAND}`; export r; \
16162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16163 $(HOST_EXPORTS) \
16164 for flag in $(EXTRA_HOST_FLAGS) ; do \
16165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16166 done; \
16167 echo "Doing info in gold" ; \
16168 (cd $(HOST_SUBDIR)/gold && \
16169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16171 "RANLIB=$${RANLIB}" \
16172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16173 info) \
16174 || exit 1
16176 @endif gold
16178 .PHONY: maybe-dvi-gold dvi-gold
16179 maybe-dvi-gold:
16180 @if gold
16181 maybe-dvi-gold: dvi-gold
16183 dvi-gold: \
16184 configure-gold
16185 @[ -f ./gold/Makefile ] || exit 0; \
16186 r=`${PWD_COMMAND}`; export r; \
16187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16188 $(HOST_EXPORTS) \
16189 for flag in $(EXTRA_HOST_FLAGS) ; do \
16190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16191 done; \
16192 echo "Doing dvi in gold" ; \
16193 (cd $(HOST_SUBDIR)/gold && \
16194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16196 "RANLIB=$${RANLIB}" \
16197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16198 dvi) \
16199 || exit 1
16201 @endif gold
16203 .PHONY: maybe-pdf-gold pdf-gold
16204 maybe-pdf-gold:
16205 @if gold
16206 maybe-pdf-gold: pdf-gold
16208 pdf-gold: \
16209 configure-gold
16210 @[ -f ./gold/Makefile ] || exit 0; \
16211 r=`${PWD_COMMAND}`; export r; \
16212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16213 $(HOST_EXPORTS) \
16214 for flag in $(EXTRA_HOST_FLAGS) ; do \
16215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16216 done; \
16217 echo "Doing pdf in gold" ; \
16218 (cd $(HOST_SUBDIR)/gold && \
16219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16221 "RANLIB=$${RANLIB}" \
16222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16223 pdf) \
16224 || exit 1
16226 @endif gold
16228 .PHONY: maybe-html-gold html-gold
16229 maybe-html-gold:
16230 @if gold
16231 maybe-html-gold: html-gold
16233 html-gold: \
16234 configure-gold
16235 @[ -f ./gold/Makefile ] || exit 0; \
16236 r=`${PWD_COMMAND}`; export r; \
16237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16238 $(HOST_EXPORTS) \
16239 for flag in $(EXTRA_HOST_FLAGS) ; do \
16240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16241 done; \
16242 echo "Doing html in gold" ; \
16243 (cd $(HOST_SUBDIR)/gold && \
16244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16246 "RANLIB=$${RANLIB}" \
16247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16248 html) \
16249 || exit 1
16251 @endif gold
16253 .PHONY: maybe-TAGS-gold TAGS-gold
16254 maybe-TAGS-gold:
16255 @if gold
16256 maybe-TAGS-gold: TAGS-gold
16258 TAGS-gold: \
16259 configure-gold
16260 @[ -f ./gold/Makefile ] || exit 0; \
16261 r=`${PWD_COMMAND}`; export r; \
16262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16263 $(HOST_EXPORTS) \
16264 for flag in $(EXTRA_HOST_FLAGS) ; do \
16265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16266 done; \
16267 echo "Doing TAGS in gold" ; \
16268 (cd $(HOST_SUBDIR)/gold && \
16269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16271 "RANLIB=$${RANLIB}" \
16272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16273 TAGS) \
16274 || exit 1
16276 @endif gold
16278 .PHONY: maybe-install-info-gold install-info-gold
16279 maybe-install-info-gold:
16280 @if gold
16281 maybe-install-info-gold: install-info-gold
16283 install-info-gold: \
16284 configure-gold \
16285 info-gold
16286 @[ -f ./gold/Makefile ] || exit 0; \
16287 r=`${PWD_COMMAND}`; export r; \
16288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16289 $(HOST_EXPORTS) \
16290 for flag in $(EXTRA_HOST_FLAGS) ; do \
16291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16292 done; \
16293 echo "Doing install-info in gold" ; \
16294 (cd $(HOST_SUBDIR)/gold && \
16295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16297 "RANLIB=$${RANLIB}" \
16298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16299 install-info) \
16300 || exit 1
16302 @endif gold
16304 .PHONY: maybe-install-pdf-gold install-pdf-gold
16305 maybe-install-pdf-gold:
16306 @if gold
16307 maybe-install-pdf-gold: install-pdf-gold
16309 install-pdf-gold: \
16310 configure-gold \
16311 pdf-gold
16312 @[ -f ./gold/Makefile ] || exit 0; \
16313 r=`${PWD_COMMAND}`; export r; \
16314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16315 $(HOST_EXPORTS) \
16316 for flag in $(EXTRA_HOST_FLAGS) ; do \
16317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16318 done; \
16319 echo "Doing install-pdf in gold" ; \
16320 (cd $(HOST_SUBDIR)/gold && \
16321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16323 "RANLIB=$${RANLIB}" \
16324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16325 install-pdf) \
16326 || exit 1
16328 @endif gold
16330 .PHONY: maybe-install-html-gold install-html-gold
16331 maybe-install-html-gold:
16332 @if gold
16333 maybe-install-html-gold: install-html-gold
16335 install-html-gold: \
16336 configure-gold \
16337 html-gold
16338 @[ -f ./gold/Makefile ] || exit 0; \
16339 r=`${PWD_COMMAND}`; export r; \
16340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16341 $(HOST_EXPORTS) \
16342 for flag in $(EXTRA_HOST_FLAGS) ; do \
16343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16344 done; \
16345 echo "Doing install-html in gold" ; \
16346 (cd $(HOST_SUBDIR)/gold && \
16347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16349 "RANLIB=$${RANLIB}" \
16350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16351 install-html) \
16352 || exit 1
16354 @endif gold
16356 .PHONY: maybe-installcheck-gold installcheck-gold
16357 maybe-installcheck-gold:
16358 @if gold
16359 maybe-installcheck-gold: installcheck-gold
16361 installcheck-gold: \
16362 configure-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 installcheck 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 installcheck) \
16377 || exit 1
16379 @endif gold
16381 .PHONY: maybe-mostlyclean-gold mostlyclean-gold
16382 maybe-mostlyclean-gold:
16383 @if gold
16384 maybe-mostlyclean-gold: mostlyclean-gold
16386 mostlyclean-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 mostlyclean 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 mostlyclean) \
16401 || exit 1
16403 @endif gold
16405 .PHONY: maybe-clean-gold clean-gold
16406 maybe-clean-gold:
16407 @if gold
16408 maybe-clean-gold: clean-gold
16410 clean-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 clean 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 clean) \
16425 || exit 1
16427 @endif gold
16429 .PHONY: maybe-distclean-gold distclean-gold
16430 maybe-distclean-gold:
16431 @if gold
16432 maybe-distclean-gold: distclean-gold
16434 distclean-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 distclean 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 distclean) \
16449 || exit 1
16451 @endif gold
16453 .PHONY: maybe-maintainer-clean-gold maintainer-clean-gold
16454 maybe-maintainer-clean-gold:
16455 @if gold
16456 maybe-maintainer-clean-gold: maintainer-clean-gold
16458 maintainer-clean-gold:
16459 @[ -f ./gold/Makefile ] || exit 0; \
16460 r=`${PWD_COMMAND}`; export r; \
16461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16462 $(HOST_EXPORTS) \
16463 for flag in $(EXTRA_HOST_FLAGS) ; do \
16464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16465 done; \
16466 echo "Doing maintainer-clean in gold" ; \
16467 (cd $(HOST_SUBDIR)/gold && \
16468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16470 "RANLIB=$${RANLIB}" \
16471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16472 maintainer-clean) \
16473 || exit 1
16475 @endif gold
16479 .PHONY: configure-gprof maybe-configure-gprof
16480 maybe-configure-gprof:
16481 @if gcc-bootstrap
16482 configure-gprof: stage_current
16483 @endif gcc-bootstrap
16484 @if gprof
16485 maybe-configure-gprof: configure-gprof
16486 configure-gprof:
16487 @: $(MAKE); $(unstage)
16488 @r=`${PWD_COMMAND}`; export r; \
16489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16490 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
16491 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
16492 $(HOST_EXPORTS) \
16493 echo Configuring in $(HOST_SUBDIR)/gprof; \
16494 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
16495 case $(srcdir) in \
16496 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16497 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
16498 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16499 esac; \
16500 srcdiroption="--srcdir=$${topdir}/gprof"; \
16501 libsrcdir="$$s/gprof"; \
16502 $(SHELL) $${libsrcdir}/configure \
16503 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16504 --target=${target_alias} $${srcdiroption} \
16505 || exit 1
16506 @endif gprof
16512 .PHONY: all-gprof maybe-all-gprof
16513 maybe-all-gprof:
16514 @if gcc-bootstrap
16515 all-gprof: stage_current
16516 @endif gcc-bootstrap
16517 @if gprof
16518 TARGET-gprof=all
16519 maybe-all-gprof: all-gprof
16520 all-gprof: configure-gprof
16521 @: $(MAKE); $(unstage)
16522 @r=`${PWD_COMMAND}`; export r; \
16523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16524 $(HOST_EXPORTS) \
16525 (cd $(HOST_SUBDIR)/gprof && \
16526 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
16527 $(TARGET-gprof))
16528 @endif gprof
16533 .PHONY: check-gprof maybe-check-gprof
16534 maybe-check-gprof:
16535 @if gprof
16536 maybe-check-gprof: check-gprof
16538 check-gprof:
16539 @: $(MAKE); $(unstage)
16540 @r=`${PWD_COMMAND}`; export r; \
16541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16542 $(HOST_EXPORTS) \
16543 (cd $(HOST_SUBDIR)/gprof && \
16544 $(MAKE) $(FLAGS_TO_PASS) check)
16546 @endif gprof
16548 .PHONY: install-gprof maybe-install-gprof
16549 maybe-install-gprof:
16550 @if gprof
16551 maybe-install-gprof: install-gprof
16553 install-gprof: installdirs
16554 @: $(MAKE); $(unstage)
16555 @r=`${PWD_COMMAND}`; export r; \
16556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16557 $(HOST_EXPORTS) \
16558 (cd $(HOST_SUBDIR)/gprof && \
16559 $(MAKE) $(FLAGS_TO_PASS) install)
16561 @endif gprof
16563 .PHONY: install-strip-gprof maybe-install-strip-gprof
16564 maybe-install-strip-gprof:
16565 @if gprof
16566 maybe-install-strip-gprof: install-strip-gprof
16568 install-strip-gprof: installdirs
16569 @: $(MAKE); $(unstage)
16570 @r=`${PWD_COMMAND}`; export r; \
16571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16572 $(HOST_EXPORTS) \
16573 (cd $(HOST_SUBDIR)/gprof && \
16574 $(MAKE) $(FLAGS_TO_PASS) install-strip)
16576 @endif gprof
16578 # Other targets (info, dvi, pdf, etc.)
16580 .PHONY: maybe-info-gprof info-gprof
16581 maybe-info-gprof:
16582 @if gprof
16583 maybe-info-gprof: info-gprof
16585 info-gprof: \
16586 configure-gprof
16587 @: $(MAKE); $(unstage)
16588 @[ -f ./gprof/Makefile ] || exit 0; \
16589 r=`${PWD_COMMAND}`; export r; \
16590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16591 $(HOST_EXPORTS) \
16592 for flag in $(EXTRA_HOST_FLAGS) ; do \
16593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16594 done; \
16595 echo "Doing info in gprof" ; \
16596 (cd $(HOST_SUBDIR)/gprof && \
16597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16599 "RANLIB=$${RANLIB}" \
16600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16601 info) \
16602 || exit 1
16604 @endif gprof
16606 .PHONY: maybe-dvi-gprof dvi-gprof
16607 maybe-dvi-gprof:
16608 @if gprof
16609 maybe-dvi-gprof: dvi-gprof
16611 dvi-gprof: \
16612 configure-gprof
16613 @: $(MAKE); $(unstage)
16614 @[ -f ./gprof/Makefile ] || exit 0; \
16615 r=`${PWD_COMMAND}`; export r; \
16616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16617 $(HOST_EXPORTS) \
16618 for flag in $(EXTRA_HOST_FLAGS) ; do \
16619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16620 done; \
16621 echo "Doing dvi in gprof" ; \
16622 (cd $(HOST_SUBDIR)/gprof && \
16623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16625 "RANLIB=$${RANLIB}" \
16626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16627 dvi) \
16628 || exit 1
16630 @endif gprof
16632 .PHONY: maybe-pdf-gprof pdf-gprof
16633 maybe-pdf-gprof:
16634 @if gprof
16635 maybe-pdf-gprof: pdf-gprof
16637 pdf-gprof: \
16638 configure-gprof
16639 @: $(MAKE); $(unstage)
16640 @[ -f ./gprof/Makefile ] || exit 0; \
16641 r=`${PWD_COMMAND}`; export r; \
16642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16643 $(HOST_EXPORTS) \
16644 for flag in $(EXTRA_HOST_FLAGS) ; do \
16645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16646 done; \
16647 echo "Doing pdf in gprof" ; \
16648 (cd $(HOST_SUBDIR)/gprof && \
16649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16651 "RANLIB=$${RANLIB}" \
16652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16653 pdf) \
16654 || exit 1
16656 @endif gprof
16658 .PHONY: maybe-html-gprof html-gprof
16659 maybe-html-gprof:
16660 @if gprof
16661 maybe-html-gprof: html-gprof
16663 html-gprof: \
16664 configure-gprof
16665 @: $(MAKE); $(unstage)
16666 @[ -f ./gprof/Makefile ] || exit 0; \
16667 r=`${PWD_COMMAND}`; export r; \
16668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16669 $(HOST_EXPORTS) \
16670 for flag in $(EXTRA_HOST_FLAGS) ; do \
16671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16672 done; \
16673 echo "Doing html in gprof" ; \
16674 (cd $(HOST_SUBDIR)/gprof && \
16675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16677 "RANLIB=$${RANLIB}" \
16678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16679 html) \
16680 || exit 1
16682 @endif gprof
16684 .PHONY: maybe-TAGS-gprof TAGS-gprof
16685 maybe-TAGS-gprof:
16686 @if gprof
16687 maybe-TAGS-gprof: TAGS-gprof
16689 TAGS-gprof: \
16690 configure-gprof
16691 @: $(MAKE); $(unstage)
16692 @[ -f ./gprof/Makefile ] || exit 0; \
16693 r=`${PWD_COMMAND}`; export r; \
16694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16695 $(HOST_EXPORTS) \
16696 for flag in $(EXTRA_HOST_FLAGS) ; do \
16697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16698 done; \
16699 echo "Doing TAGS in gprof" ; \
16700 (cd $(HOST_SUBDIR)/gprof && \
16701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16703 "RANLIB=$${RANLIB}" \
16704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16705 TAGS) \
16706 || exit 1
16708 @endif gprof
16710 .PHONY: maybe-install-info-gprof install-info-gprof
16711 maybe-install-info-gprof:
16712 @if gprof
16713 maybe-install-info-gprof: install-info-gprof
16715 install-info-gprof: \
16716 configure-gprof \
16717 info-gprof
16718 @: $(MAKE); $(unstage)
16719 @[ -f ./gprof/Makefile ] || exit 0; \
16720 r=`${PWD_COMMAND}`; export r; \
16721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16722 $(HOST_EXPORTS) \
16723 for flag in $(EXTRA_HOST_FLAGS) ; do \
16724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16725 done; \
16726 echo "Doing install-info in gprof" ; \
16727 (cd $(HOST_SUBDIR)/gprof && \
16728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16730 "RANLIB=$${RANLIB}" \
16731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16732 install-info) \
16733 || exit 1
16735 @endif gprof
16737 .PHONY: maybe-install-pdf-gprof install-pdf-gprof
16738 maybe-install-pdf-gprof:
16739 @if gprof
16740 maybe-install-pdf-gprof: install-pdf-gprof
16742 install-pdf-gprof: \
16743 configure-gprof \
16744 pdf-gprof
16745 @: $(MAKE); $(unstage)
16746 @[ -f ./gprof/Makefile ] || exit 0; \
16747 r=`${PWD_COMMAND}`; export r; \
16748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16749 $(HOST_EXPORTS) \
16750 for flag in $(EXTRA_HOST_FLAGS) ; do \
16751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16752 done; \
16753 echo "Doing install-pdf in gprof" ; \
16754 (cd $(HOST_SUBDIR)/gprof && \
16755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16757 "RANLIB=$${RANLIB}" \
16758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16759 install-pdf) \
16760 || exit 1
16762 @endif gprof
16764 .PHONY: maybe-install-html-gprof install-html-gprof
16765 maybe-install-html-gprof:
16766 @if gprof
16767 maybe-install-html-gprof: install-html-gprof
16769 install-html-gprof: \
16770 configure-gprof \
16771 html-gprof
16772 @: $(MAKE); $(unstage)
16773 @[ -f ./gprof/Makefile ] || exit 0; \
16774 r=`${PWD_COMMAND}`; export r; \
16775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16776 $(HOST_EXPORTS) \
16777 for flag in $(EXTRA_HOST_FLAGS) ; do \
16778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16779 done; \
16780 echo "Doing install-html in gprof" ; \
16781 (cd $(HOST_SUBDIR)/gprof && \
16782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16784 "RANLIB=$${RANLIB}" \
16785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16786 install-html) \
16787 || exit 1
16789 @endif gprof
16791 .PHONY: maybe-installcheck-gprof installcheck-gprof
16792 maybe-installcheck-gprof:
16793 @if gprof
16794 maybe-installcheck-gprof: installcheck-gprof
16796 installcheck-gprof: \
16797 configure-gprof
16798 @: $(MAKE); $(unstage)
16799 @[ -f ./gprof/Makefile ] || exit 0; \
16800 r=`${PWD_COMMAND}`; export r; \
16801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16802 $(HOST_EXPORTS) \
16803 for flag in $(EXTRA_HOST_FLAGS) ; do \
16804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16805 done; \
16806 echo "Doing installcheck in gprof" ; \
16807 (cd $(HOST_SUBDIR)/gprof && \
16808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16810 "RANLIB=$${RANLIB}" \
16811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16812 installcheck) \
16813 || exit 1
16815 @endif gprof
16817 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
16818 maybe-mostlyclean-gprof:
16819 @if gprof
16820 maybe-mostlyclean-gprof: mostlyclean-gprof
16822 mostlyclean-gprof:
16823 @: $(MAKE); $(unstage)
16824 @[ -f ./gprof/Makefile ] || exit 0; \
16825 r=`${PWD_COMMAND}`; export r; \
16826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16827 $(HOST_EXPORTS) \
16828 for flag in $(EXTRA_HOST_FLAGS) ; do \
16829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16830 done; \
16831 echo "Doing mostlyclean in gprof" ; \
16832 (cd $(HOST_SUBDIR)/gprof && \
16833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16835 "RANLIB=$${RANLIB}" \
16836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16837 mostlyclean) \
16838 || exit 1
16840 @endif gprof
16842 .PHONY: maybe-clean-gprof clean-gprof
16843 maybe-clean-gprof:
16844 @if gprof
16845 maybe-clean-gprof: clean-gprof
16847 clean-gprof:
16848 @: $(MAKE); $(unstage)
16849 @[ -f ./gprof/Makefile ] || exit 0; \
16850 r=`${PWD_COMMAND}`; export r; \
16851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16852 $(HOST_EXPORTS) \
16853 for flag in $(EXTRA_HOST_FLAGS) ; do \
16854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16855 done; \
16856 echo "Doing clean in gprof" ; \
16857 (cd $(HOST_SUBDIR)/gprof && \
16858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16860 "RANLIB=$${RANLIB}" \
16861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16862 clean) \
16863 || exit 1
16865 @endif gprof
16867 .PHONY: maybe-distclean-gprof distclean-gprof
16868 maybe-distclean-gprof:
16869 @if gprof
16870 maybe-distclean-gprof: distclean-gprof
16872 distclean-gprof:
16873 @: $(MAKE); $(unstage)
16874 @[ -f ./gprof/Makefile ] || exit 0; \
16875 r=`${PWD_COMMAND}`; export r; \
16876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16877 $(HOST_EXPORTS) \
16878 for flag in $(EXTRA_HOST_FLAGS) ; do \
16879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16880 done; \
16881 echo "Doing distclean in gprof" ; \
16882 (cd $(HOST_SUBDIR)/gprof && \
16883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16885 "RANLIB=$${RANLIB}" \
16886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16887 distclean) \
16888 || exit 1
16890 @endif gprof
16892 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
16893 maybe-maintainer-clean-gprof:
16894 @if gprof
16895 maybe-maintainer-clean-gprof: maintainer-clean-gprof
16897 maintainer-clean-gprof:
16898 @: $(MAKE); $(unstage)
16899 @[ -f ./gprof/Makefile ] || exit 0; \
16900 r=`${PWD_COMMAND}`; export r; \
16901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16902 $(HOST_EXPORTS) \
16903 for flag in $(EXTRA_HOST_FLAGS) ; do \
16904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16905 done; \
16906 echo "Doing maintainer-clean in gprof" ; \
16907 (cd $(HOST_SUBDIR)/gprof && \
16908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16910 "RANLIB=$${RANLIB}" \
16911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16912 maintainer-clean) \
16913 || exit 1
16915 @endif gprof
16919 .PHONY: configure-intl maybe-configure-intl
16920 maybe-configure-intl:
16921 @if gcc-bootstrap
16922 configure-intl: stage_current
16923 @endif gcc-bootstrap
16924 @if intl
16925 maybe-configure-intl: configure-intl
16926 configure-intl:
16927 @r=`${PWD_COMMAND}`; export r; \
16928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16929 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16930 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16931 $(HOST_EXPORTS) \
16932 echo Configuring in $(HOST_SUBDIR)/intl; \
16933 cd "$(HOST_SUBDIR)/intl" || exit 1; \
16934 case $(srcdir) in \
16935 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16936 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16937 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16938 esac; \
16939 srcdiroption="--srcdir=$${topdir}/intl"; \
16940 libsrcdir="$$s/intl"; \
16941 $(SHELL) $${libsrcdir}/configure \
16942 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16943 --target=${target_alias} $${srcdiroption} \
16944 || exit 1
16945 @endif intl
16949 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
16950 maybe-configure-stage1-intl:
16951 @if intl-bootstrap
16952 maybe-configure-stage1-intl: configure-stage1-intl
16953 configure-stage1-intl:
16954 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16955 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16956 @r=`${PWD_COMMAND}`; export r; \
16957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16958 TFLAGS="$(STAGE1_TFLAGS)"; \
16959 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16960 $(HOST_EXPORTS) \
16961 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
16962 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
16963 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
16964 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
16965 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16966 cd $(HOST_SUBDIR)/intl || exit 1; \
16967 case $(srcdir) in \
16968 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16969 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16970 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16971 esac; \
16972 srcdiroption="--srcdir=$${topdir}/intl"; \
16973 libsrcdir="$$s/intl"; \
16974 $(SHELL) $${libsrcdir}/configure \
16975 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16976 --target=${target_alias} $${srcdiroption} \
16977 $(STAGE1_CONFIGURE_FLAGS)
16978 @endif intl-bootstrap
16980 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
16981 maybe-configure-stage2-intl:
16982 @if intl-bootstrap
16983 maybe-configure-stage2-intl: configure-stage2-intl
16984 configure-stage2-intl:
16985 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16986 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16987 @r=`${PWD_COMMAND}`; export r; \
16988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16989 TFLAGS="$(STAGE2_TFLAGS)"; \
16990 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16991 $(HOST_EXPORTS) \
16992 $(POSTSTAGE1_HOST_EXPORTS) \
16993 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
16994 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
16995 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
16996 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
16997 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16998 cd $(HOST_SUBDIR)/intl || exit 1; \
16999 case $(srcdir) in \
17000 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17001 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17002 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17003 esac; \
17004 srcdiroption="--srcdir=$${topdir}/intl"; \
17005 libsrcdir="$$s/intl"; \
17006 $(SHELL) $${libsrcdir}/configure \
17007 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17008 --target=${target_alias} $${srcdiroption} \
17009 --with-build-libsubdir=$(HOST_SUBDIR) \
17010 $(STAGE2_CONFIGURE_FLAGS)
17011 @endif intl-bootstrap
17013 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
17014 maybe-configure-stage3-intl:
17015 @if intl-bootstrap
17016 maybe-configure-stage3-intl: configure-stage3-intl
17017 configure-stage3-intl:
17018 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17019 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17020 @r=`${PWD_COMMAND}`; export r; \
17021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17022 TFLAGS="$(STAGE3_TFLAGS)"; \
17023 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17024 $(HOST_EXPORTS) \
17025 $(POSTSTAGE1_HOST_EXPORTS) \
17026 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
17027 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
17028 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
17029 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
17030 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17031 cd $(HOST_SUBDIR)/intl || exit 1; \
17032 case $(srcdir) in \
17033 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17034 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17035 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17036 esac; \
17037 srcdiroption="--srcdir=$${topdir}/intl"; \
17038 libsrcdir="$$s/intl"; \
17039 $(SHELL) $${libsrcdir}/configure \
17040 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17041 --target=${target_alias} $${srcdiroption} \
17042 --with-build-libsubdir=$(HOST_SUBDIR) \
17043 $(STAGE3_CONFIGURE_FLAGS)
17044 @endif intl-bootstrap
17046 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
17047 maybe-configure-stage4-intl:
17048 @if intl-bootstrap
17049 maybe-configure-stage4-intl: configure-stage4-intl
17050 configure-stage4-intl:
17051 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17052 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17053 @r=`${PWD_COMMAND}`; export r; \
17054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17055 TFLAGS="$(STAGE4_TFLAGS)"; \
17056 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17057 $(HOST_EXPORTS) \
17058 $(POSTSTAGE1_HOST_EXPORTS) \
17059 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
17060 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
17061 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
17062 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
17063 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17064 cd $(HOST_SUBDIR)/intl || exit 1; \
17065 case $(srcdir) in \
17066 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17067 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17068 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17069 esac; \
17070 srcdiroption="--srcdir=$${topdir}/intl"; \
17071 libsrcdir="$$s/intl"; \
17072 $(SHELL) $${libsrcdir}/configure \
17073 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17074 --target=${target_alias} $${srcdiroption} \
17075 --with-build-libsubdir=$(HOST_SUBDIR) \
17076 $(STAGE4_CONFIGURE_FLAGS)
17077 @endif intl-bootstrap
17079 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
17080 maybe-configure-stageprofile-intl:
17081 @if intl-bootstrap
17082 maybe-configure-stageprofile-intl: configure-stageprofile-intl
17083 configure-stageprofile-intl:
17084 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17085 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17086 @r=`${PWD_COMMAND}`; export r; \
17087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17088 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17089 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17090 $(HOST_EXPORTS) \
17091 $(POSTSTAGE1_HOST_EXPORTS) \
17092 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
17093 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
17094 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
17095 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
17096 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17097 cd $(HOST_SUBDIR)/intl || exit 1; \
17098 case $(srcdir) in \
17099 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17100 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17101 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17102 esac; \
17103 srcdiroption="--srcdir=$${topdir}/intl"; \
17104 libsrcdir="$$s/intl"; \
17105 $(SHELL) $${libsrcdir}/configure \
17106 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17107 --target=${target_alias} $${srcdiroption} \
17108 --with-build-libsubdir=$(HOST_SUBDIR) \
17109 $(STAGEprofile_CONFIGURE_FLAGS)
17110 @endif intl-bootstrap
17112 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
17113 maybe-configure-stagefeedback-intl:
17114 @if intl-bootstrap
17115 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
17116 configure-stagefeedback-intl:
17117 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17118 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17119 @r=`${PWD_COMMAND}`; export r; \
17120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17121 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17122 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17123 $(HOST_EXPORTS) \
17124 $(POSTSTAGE1_HOST_EXPORTS) \
17125 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
17126 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
17127 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
17128 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
17129 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17130 cd $(HOST_SUBDIR)/intl || exit 1; \
17131 case $(srcdir) in \
17132 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17133 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17134 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17135 esac; \
17136 srcdiroption="--srcdir=$${topdir}/intl"; \
17137 libsrcdir="$$s/intl"; \
17138 $(SHELL) $${libsrcdir}/configure \
17139 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17140 --target=${target_alias} $${srcdiroption} \
17141 --with-build-libsubdir=$(HOST_SUBDIR) \
17142 $(STAGEfeedback_CONFIGURE_FLAGS)
17143 @endif intl-bootstrap
17149 .PHONY: all-intl maybe-all-intl
17150 maybe-all-intl:
17151 @if gcc-bootstrap
17152 all-intl: stage_current
17153 @endif gcc-bootstrap
17154 @if intl
17155 TARGET-intl=all
17156 maybe-all-intl: all-intl
17157 all-intl: configure-intl
17158 @r=`${PWD_COMMAND}`; export r; \
17159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17160 $(HOST_EXPORTS) \
17161 (cd $(HOST_SUBDIR)/intl && \
17162 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
17163 $(TARGET-intl))
17164 @endif intl
17168 .PHONY: all-stage1-intl maybe-all-stage1-intl
17169 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
17170 maybe-all-stage1-intl:
17171 maybe-clean-stage1-intl:
17172 @if intl-bootstrap
17173 maybe-all-stage1-intl: all-stage1-intl
17174 all-stage1: all-stage1-intl
17175 TARGET-stage1-intl = $(TARGET-intl)
17176 all-stage1-intl: configure-stage1-intl
17177 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17178 @r=`${PWD_COMMAND}`; export r; \
17179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17180 TFLAGS="$(STAGE1_TFLAGS)"; \
17181 $(HOST_EXPORTS) \
17182 cd $(HOST_SUBDIR)/intl && \
17183 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17184 CFLAGS="$(STAGE1_CFLAGS)" \
17185 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
17186 LIBCFLAGS="$(LIBCFLAGS)" \
17187 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17188 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17189 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17190 $(EXTRA_HOST_FLAGS) \
17191 $(STAGE1_FLAGS_TO_PASS) \
17192 TFLAGS="$(STAGE1_TFLAGS)" \
17193 $(TARGET-stage1-intl)
17195 maybe-clean-stage1-intl: clean-stage1-intl
17196 clean-stage1: clean-stage1-intl
17197 clean-stage1-intl:
17198 @if [ $(current_stage) = stage1 ]; then \
17199 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17200 else \
17201 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
17202 $(MAKE) stage1-start; \
17203 fi; \
17204 cd $(HOST_SUBDIR)/intl && \
17205 $(MAKE) $(EXTRA_HOST_FLAGS) \
17206 $(STAGE1_FLAGS_TO_PASS) clean
17207 @endif intl-bootstrap
17210 .PHONY: all-stage2-intl maybe-all-stage2-intl
17211 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
17212 maybe-all-stage2-intl:
17213 maybe-clean-stage2-intl:
17214 @if intl-bootstrap
17215 maybe-all-stage2-intl: all-stage2-intl
17216 all-stage2: all-stage2-intl
17217 TARGET-stage2-intl = $(TARGET-intl)
17218 all-stage2-intl: configure-stage2-intl
17219 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17220 @r=`${PWD_COMMAND}`; export r; \
17221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17222 TFLAGS="$(STAGE2_TFLAGS)"; \
17223 $(HOST_EXPORTS) \
17224 $(POSTSTAGE1_HOST_EXPORTS) \
17225 cd $(HOST_SUBDIR)/intl && \
17226 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17227 CFLAGS="$(STAGE2_CFLAGS)" \
17228 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
17229 LIBCFLAGS="$(STAGE2_CFLAGS)" \
17230 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17231 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17232 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17233 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17234 TFLAGS="$(STAGE2_TFLAGS)" \
17235 $(TARGET-stage2-intl)
17237 maybe-clean-stage2-intl: clean-stage2-intl
17238 clean-stage2: clean-stage2-intl
17239 clean-stage2-intl:
17240 @if [ $(current_stage) = stage2 ]; then \
17241 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17242 else \
17243 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
17244 $(MAKE) stage2-start; \
17245 fi; \
17246 cd $(HOST_SUBDIR)/intl && \
17247 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17248 @endif intl-bootstrap
17251 .PHONY: all-stage3-intl maybe-all-stage3-intl
17252 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
17253 maybe-all-stage3-intl:
17254 maybe-clean-stage3-intl:
17255 @if intl-bootstrap
17256 maybe-all-stage3-intl: all-stage3-intl
17257 all-stage3: all-stage3-intl
17258 TARGET-stage3-intl = $(TARGET-intl)
17259 all-stage3-intl: configure-stage3-intl
17260 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17261 @r=`${PWD_COMMAND}`; export r; \
17262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17263 TFLAGS="$(STAGE3_TFLAGS)"; \
17264 $(HOST_EXPORTS) \
17265 $(POSTSTAGE1_HOST_EXPORTS) \
17266 cd $(HOST_SUBDIR)/intl && \
17267 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17268 CFLAGS="$(STAGE3_CFLAGS)" \
17269 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
17270 LIBCFLAGS="$(STAGE3_CFLAGS)" \
17271 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17272 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17273 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17274 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17275 TFLAGS="$(STAGE3_TFLAGS)" \
17276 $(TARGET-stage3-intl)
17278 maybe-clean-stage3-intl: clean-stage3-intl
17279 clean-stage3: clean-stage3-intl
17280 clean-stage3-intl:
17281 @if [ $(current_stage) = stage3 ]; then \
17282 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17283 else \
17284 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
17285 $(MAKE) stage3-start; \
17286 fi; \
17287 cd $(HOST_SUBDIR)/intl && \
17288 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17289 @endif intl-bootstrap
17292 .PHONY: all-stage4-intl maybe-all-stage4-intl
17293 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
17294 maybe-all-stage4-intl:
17295 maybe-clean-stage4-intl:
17296 @if intl-bootstrap
17297 maybe-all-stage4-intl: all-stage4-intl
17298 all-stage4: all-stage4-intl
17299 TARGET-stage4-intl = $(TARGET-intl)
17300 all-stage4-intl: configure-stage4-intl
17301 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17302 @r=`${PWD_COMMAND}`; export r; \
17303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17304 TFLAGS="$(STAGE4_TFLAGS)"; \
17305 $(HOST_EXPORTS) \
17306 $(POSTSTAGE1_HOST_EXPORTS) \
17307 cd $(HOST_SUBDIR)/intl && \
17308 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17309 CFLAGS="$(STAGE4_CFLAGS)" \
17310 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
17311 LIBCFLAGS="$(STAGE4_CFLAGS)" \
17312 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17313 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17314 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17315 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17316 TFLAGS="$(STAGE4_TFLAGS)" \
17317 $(TARGET-stage4-intl)
17319 maybe-clean-stage4-intl: clean-stage4-intl
17320 clean-stage4: clean-stage4-intl
17321 clean-stage4-intl:
17322 @if [ $(current_stage) = stage4 ]; then \
17323 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17324 else \
17325 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
17326 $(MAKE) stage4-start; \
17327 fi; \
17328 cd $(HOST_SUBDIR)/intl && \
17329 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17330 @endif intl-bootstrap
17333 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
17334 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
17335 maybe-all-stageprofile-intl:
17336 maybe-clean-stageprofile-intl:
17337 @if intl-bootstrap
17338 maybe-all-stageprofile-intl: all-stageprofile-intl
17339 all-stageprofile: all-stageprofile-intl
17340 TARGET-stageprofile-intl = $(TARGET-intl)
17341 all-stageprofile-intl: configure-stageprofile-intl
17342 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17343 @r=`${PWD_COMMAND}`; export r; \
17344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17345 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17346 $(HOST_EXPORTS) \
17347 $(POSTSTAGE1_HOST_EXPORTS) \
17348 cd $(HOST_SUBDIR)/intl && \
17349 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17350 CFLAGS="$(STAGEprofile_CFLAGS)" \
17351 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
17352 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
17353 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17354 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17355 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17356 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17357 TFLAGS="$(STAGEprofile_TFLAGS)" \
17358 $(TARGET-stageprofile-intl)
17360 maybe-clean-stageprofile-intl: clean-stageprofile-intl
17361 clean-stageprofile: clean-stageprofile-intl
17362 clean-stageprofile-intl:
17363 @if [ $(current_stage) = stageprofile ]; then \
17364 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17365 else \
17366 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
17367 $(MAKE) stageprofile-start; \
17368 fi; \
17369 cd $(HOST_SUBDIR)/intl && \
17370 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17371 @endif intl-bootstrap
17374 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
17375 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
17376 maybe-all-stagefeedback-intl:
17377 maybe-clean-stagefeedback-intl:
17378 @if intl-bootstrap
17379 maybe-all-stagefeedback-intl: all-stagefeedback-intl
17380 all-stagefeedback: all-stagefeedback-intl
17381 TARGET-stagefeedback-intl = $(TARGET-intl)
17382 all-stagefeedback-intl: configure-stagefeedback-intl
17383 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17384 @r=`${PWD_COMMAND}`; export r; \
17385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17386 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17387 $(HOST_EXPORTS) \
17388 $(POSTSTAGE1_HOST_EXPORTS) \
17389 cd $(HOST_SUBDIR)/intl && \
17390 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17391 CFLAGS="$(STAGEfeedback_CFLAGS)" \
17392 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
17393 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
17394 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17395 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17396 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17397 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17398 TFLAGS="$(STAGEfeedback_TFLAGS)" \
17399 $(TARGET-stagefeedback-intl)
17401 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
17402 clean-stagefeedback: clean-stagefeedback-intl
17403 clean-stagefeedback-intl:
17404 @if [ $(current_stage) = stagefeedback ]; then \
17405 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17406 else \
17407 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
17408 $(MAKE) stagefeedback-start; \
17409 fi; \
17410 cd $(HOST_SUBDIR)/intl && \
17411 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17412 @endif intl-bootstrap
17418 .PHONY: check-intl maybe-check-intl
17419 maybe-check-intl:
17420 @if intl
17421 maybe-check-intl: check-intl
17423 check-intl:
17424 @: $(MAKE); $(unstage)
17425 @r=`${PWD_COMMAND}`; export r; \
17426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17427 $(HOST_EXPORTS) \
17428 (cd $(HOST_SUBDIR)/intl && \
17429 $(MAKE) $(FLAGS_TO_PASS) check)
17431 @endif intl
17433 .PHONY: install-intl maybe-install-intl
17434 maybe-install-intl:
17435 @if intl
17436 maybe-install-intl: install-intl
17438 install-intl: installdirs
17439 @: $(MAKE); $(unstage)
17440 @r=`${PWD_COMMAND}`; export r; \
17441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17442 $(HOST_EXPORTS) \
17443 (cd $(HOST_SUBDIR)/intl && \
17444 $(MAKE) $(FLAGS_TO_PASS) install)
17446 @endif intl
17448 .PHONY: install-strip-intl maybe-install-strip-intl
17449 maybe-install-strip-intl:
17450 @if intl
17451 maybe-install-strip-intl: install-strip-intl
17453 install-strip-intl: installdirs
17454 @: $(MAKE); $(unstage)
17455 @r=`${PWD_COMMAND}`; export r; \
17456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17457 $(HOST_EXPORTS) \
17458 (cd $(HOST_SUBDIR)/intl && \
17459 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17461 @endif intl
17463 # Other targets (info, dvi, pdf, etc.)
17465 .PHONY: maybe-info-intl info-intl
17466 maybe-info-intl:
17467 @if intl
17468 maybe-info-intl: info-intl
17470 info-intl: \
17471 configure-intl
17472 @[ -f ./intl/Makefile ] || exit 0; \
17473 r=`${PWD_COMMAND}`; export r; \
17474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17475 $(HOST_EXPORTS) \
17476 for flag in $(EXTRA_HOST_FLAGS) ; do \
17477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17478 done; \
17479 echo "Doing info in intl" ; \
17480 (cd $(HOST_SUBDIR)/intl && \
17481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17483 "RANLIB=$${RANLIB}" \
17484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17485 info) \
17486 || exit 1
17488 @endif intl
17490 .PHONY: maybe-dvi-intl dvi-intl
17491 maybe-dvi-intl:
17492 @if intl
17493 maybe-dvi-intl: dvi-intl
17495 dvi-intl: \
17496 configure-intl
17497 @[ -f ./intl/Makefile ] || exit 0; \
17498 r=`${PWD_COMMAND}`; export r; \
17499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17500 $(HOST_EXPORTS) \
17501 for flag in $(EXTRA_HOST_FLAGS) ; do \
17502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17503 done; \
17504 echo "Doing dvi in intl" ; \
17505 (cd $(HOST_SUBDIR)/intl && \
17506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17508 "RANLIB=$${RANLIB}" \
17509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17510 dvi) \
17511 || exit 1
17513 @endif intl
17515 .PHONY: maybe-pdf-intl pdf-intl
17516 maybe-pdf-intl:
17517 @if intl
17518 maybe-pdf-intl: pdf-intl
17520 pdf-intl: \
17521 configure-intl
17522 @[ -f ./intl/Makefile ] || exit 0; \
17523 r=`${PWD_COMMAND}`; export r; \
17524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17525 $(HOST_EXPORTS) \
17526 for flag in $(EXTRA_HOST_FLAGS) ; do \
17527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17528 done; \
17529 echo "Doing pdf in intl" ; \
17530 (cd $(HOST_SUBDIR)/intl && \
17531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17533 "RANLIB=$${RANLIB}" \
17534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17535 pdf) \
17536 || exit 1
17538 @endif intl
17540 .PHONY: maybe-html-intl html-intl
17541 maybe-html-intl:
17542 @if intl
17543 maybe-html-intl: html-intl
17545 html-intl: \
17546 configure-intl
17547 @[ -f ./intl/Makefile ] || exit 0; \
17548 r=`${PWD_COMMAND}`; export r; \
17549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17550 $(HOST_EXPORTS) \
17551 for flag in $(EXTRA_HOST_FLAGS) ; do \
17552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17553 done; \
17554 echo "Doing html in intl" ; \
17555 (cd $(HOST_SUBDIR)/intl && \
17556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17558 "RANLIB=$${RANLIB}" \
17559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17560 html) \
17561 || exit 1
17563 @endif intl
17565 .PHONY: maybe-TAGS-intl TAGS-intl
17566 maybe-TAGS-intl:
17567 @if intl
17568 maybe-TAGS-intl: TAGS-intl
17570 TAGS-intl: \
17571 configure-intl
17572 @[ -f ./intl/Makefile ] || exit 0; \
17573 r=`${PWD_COMMAND}`; export r; \
17574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17575 $(HOST_EXPORTS) \
17576 for flag in $(EXTRA_HOST_FLAGS) ; do \
17577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17578 done; \
17579 echo "Doing TAGS in intl" ; \
17580 (cd $(HOST_SUBDIR)/intl && \
17581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17583 "RANLIB=$${RANLIB}" \
17584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17585 TAGS) \
17586 || exit 1
17588 @endif intl
17590 .PHONY: maybe-install-info-intl install-info-intl
17591 maybe-install-info-intl:
17592 @if intl
17593 maybe-install-info-intl: install-info-intl
17595 install-info-intl: \
17596 configure-intl \
17597 info-intl
17598 @[ -f ./intl/Makefile ] || exit 0; \
17599 r=`${PWD_COMMAND}`; export r; \
17600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17601 $(HOST_EXPORTS) \
17602 for flag in $(EXTRA_HOST_FLAGS) ; do \
17603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17604 done; \
17605 echo "Doing install-info in intl" ; \
17606 (cd $(HOST_SUBDIR)/intl && \
17607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17609 "RANLIB=$${RANLIB}" \
17610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17611 install-info) \
17612 || exit 1
17614 @endif intl
17616 .PHONY: maybe-install-pdf-intl install-pdf-intl
17617 maybe-install-pdf-intl:
17618 @if intl
17619 maybe-install-pdf-intl: install-pdf-intl
17621 install-pdf-intl: \
17622 configure-intl \
17623 pdf-intl
17624 @[ -f ./intl/Makefile ] || exit 0; \
17625 r=`${PWD_COMMAND}`; export r; \
17626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17627 $(HOST_EXPORTS) \
17628 for flag in $(EXTRA_HOST_FLAGS) ; do \
17629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17630 done; \
17631 echo "Doing install-pdf in intl" ; \
17632 (cd $(HOST_SUBDIR)/intl && \
17633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17635 "RANLIB=$${RANLIB}" \
17636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17637 install-pdf) \
17638 || exit 1
17640 @endif intl
17642 .PHONY: maybe-install-html-intl install-html-intl
17643 maybe-install-html-intl:
17644 @if intl
17645 maybe-install-html-intl: install-html-intl
17647 install-html-intl: \
17648 configure-intl \
17649 html-intl
17650 @[ -f ./intl/Makefile ] || exit 0; \
17651 r=`${PWD_COMMAND}`; export r; \
17652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17653 $(HOST_EXPORTS) \
17654 for flag in $(EXTRA_HOST_FLAGS) ; do \
17655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17656 done; \
17657 echo "Doing install-html in intl" ; \
17658 (cd $(HOST_SUBDIR)/intl && \
17659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17661 "RANLIB=$${RANLIB}" \
17662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17663 install-html) \
17664 || exit 1
17666 @endif intl
17668 .PHONY: maybe-installcheck-intl installcheck-intl
17669 maybe-installcheck-intl:
17670 @if intl
17671 maybe-installcheck-intl: installcheck-intl
17673 installcheck-intl: \
17674 configure-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 installcheck 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 installcheck) \
17689 || exit 1
17691 @endif intl
17693 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
17694 maybe-mostlyclean-intl:
17695 @if intl
17696 maybe-mostlyclean-intl: mostlyclean-intl
17698 mostlyclean-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 mostlyclean 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 mostlyclean) \
17713 || exit 1
17715 @endif intl
17717 .PHONY: maybe-clean-intl clean-intl
17718 maybe-clean-intl:
17719 @if intl
17720 maybe-clean-intl: clean-intl
17722 clean-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 clean 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 clean) \
17737 || exit 1
17739 @endif intl
17741 .PHONY: maybe-distclean-intl distclean-intl
17742 maybe-distclean-intl:
17743 @if intl
17744 maybe-distclean-intl: distclean-intl
17746 distclean-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 distclean 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 distclean) \
17761 || exit 1
17763 @endif intl
17765 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
17766 maybe-maintainer-clean-intl:
17767 @if intl
17768 maybe-maintainer-clean-intl: maintainer-clean-intl
17770 maintainer-clean-intl:
17771 @[ -f ./intl/Makefile ] || exit 0; \
17772 r=`${PWD_COMMAND}`; export r; \
17773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17774 $(HOST_EXPORTS) \
17775 for flag in $(EXTRA_HOST_FLAGS) ; do \
17776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17777 done; \
17778 echo "Doing maintainer-clean in intl" ; \
17779 (cd $(HOST_SUBDIR)/intl && \
17780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17782 "RANLIB=$${RANLIB}" \
17783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17784 maintainer-clean) \
17785 || exit 1
17787 @endif intl
17791 .PHONY: configure-tcl maybe-configure-tcl
17792 maybe-configure-tcl:
17793 @if gcc-bootstrap
17794 configure-tcl: stage_current
17795 @endif gcc-bootstrap
17796 @if tcl
17797 maybe-configure-tcl: configure-tcl
17798 configure-tcl:
17799 @: $(MAKE); $(unstage)
17800 @r=`${PWD_COMMAND}`; export r; \
17801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17802 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
17803 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
17804 $(HOST_EXPORTS) \
17805 echo Configuring in $(HOST_SUBDIR)/tcl; \
17806 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
17807 case $(srcdir) in \
17808 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17809 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
17810 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17811 esac; \
17812 srcdiroption="--srcdir=$${topdir}/tcl"; \
17813 libsrcdir="$$s/tcl"; \
17814 $(SHELL) $${libsrcdir}/configure \
17815 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17816 --target=${target_alias} $${srcdiroption} \
17817 || exit 1
17818 @endif tcl
17824 .PHONY: all-tcl maybe-all-tcl
17825 maybe-all-tcl:
17826 @if gcc-bootstrap
17827 all-tcl: stage_current
17828 @endif gcc-bootstrap
17829 @if tcl
17830 TARGET-tcl=all
17831 maybe-all-tcl: all-tcl
17832 all-tcl: configure-tcl
17833 @: $(MAKE); $(unstage)
17834 @r=`${PWD_COMMAND}`; export r; \
17835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17836 $(HOST_EXPORTS) \
17837 (cd $(HOST_SUBDIR)/tcl && \
17838 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
17839 $(TARGET-tcl))
17840 @endif tcl
17845 .PHONY: check-tcl maybe-check-tcl
17846 maybe-check-tcl:
17847 @if tcl
17848 maybe-check-tcl: check-tcl
17850 check-tcl:
17851 @: $(MAKE); $(unstage)
17852 @r=`${PWD_COMMAND}`; export r; \
17853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17854 $(HOST_EXPORTS) \
17855 (cd $(HOST_SUBDIR)/tcl && \
17856 $(MAKE) $(FLAGS_TO_PASS) check)
17858 @endif tcl
17860 .PHONY: install-tcl maybe-install-tcl
17861 maybe-install-tcl:
17862 @if tcl
17863 maybe-install-tcl: install-tcl
17865 install-tcl: installdirs
17866 @: $(MAKE); $(unstage)
17867 @r=`${PWD_COMMAND}`; export r; \
17868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17869 $(HOST_EXPORTS) \
17870 (cd $(HOST_SUBDIR)/tcl && \
17871 $(MAKE) $(FLAGS_TO_PASS) install)
17873 @endif tcl
17875 .PHONY: install-strip-tcl maybe-install-strip-tcl
17876 maybe-install-strip-tcl:
17877 @if tcl
17878 maybe-install-strip-tcl: install-strip-tcl
17880 install-strip-tcl: installdirs
17881 @: $(MAKE); $(unstage)
17882 @r=`${PWD_COMMAND}`; export r; \
17883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17884 $(HOST_EXPORTS) \
17885 (cd $(HOST_SUBDIR)/tcl && \
17886 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17888 @endif tcl
17890 # Other targets (info, dvi, pdf, etc.)
17892 .PHONY: maybe-info-tcl info-tcl
17893 maybe-info-tcl:
17894 @if tcl
17895 maybe-info-tcl: info-tcl
17897 info-tcl: \
17898 configure-tcl
17899 @: $(MAKE); $(unstage)
17900 @[ -f ./tcl/Makefile ] || exit 0; \
17901 r=`${PWD_COMMAND}`; export r; \
17902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17903 $(HOST_EXPORTS) \
17904 for flag in $(EXTRA_HOST_FLAGS) ; do \
17905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17906 done; \
17907 echo "Doing info in tcl" ; \
17908 (cd $(HOST_SUBDIR)/tcl && \
17909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17911 "RANLIB=$${RANLIB}" \
17912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17913 info) \
17914 || exit 1
17916 @endif tcl
17918 .PHONY: maybe-dvi-tcl dvi-tcl
17919 maybe-dvi-tcl:
17920 @if tcl
17921 maybe-dvi-tcl: dvi-tcl
17923 dvi-tcl: \
17924 configure-tcl
17925 @: $(MAKE); $(unstage)
17926 @[ -f ./tcl/Makefile ] || exit 0; \
17927 r=`${PWD_COMMAND}`; export r; \
17928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17929 $(HOST_EXPORTS) \
17930 for flag in $(EXTRA_HOST_FLAGS) ; do \
17931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17932 done; \
17933 echo "Doing dvi in tcl" ; \
17934 (cd $(HOST_SUBDIR)/tcl && \
17935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17937 "RANLIB=$${RANLIB}" \
17938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17939 dvi) \
17940 || exit 1
17942 @endif tcl
17944 .PHONY: maybe-pdf-tcl pdf-tcl
17945 maybe-pdf-tcl:
17946 @if tcl
17947 maybe-pdf-tcl: pdf-tcl
17949 pdf-tcl: \
17950 configure-tcl
17951 @: $(MAKE); $(unstage)
17952 @[ -f ./tcl/Makefile ] || exit 0; \
17953 r=`${PWD_COMMAND}`; export r; \
17954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17955 $(HOST_EXPORTS) \
17956 for flag in $(EXTRA_HOST_FLAGS) ; do \
17957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17958 done; \
17959 echo "Doing pdf in tcl" ; \
17960 (cd $(HOST_SUBDIR)/tcl && \
17961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17963 "RANLIB=$${RANLIB}" \
17964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17965 pdf) \
17966 || exit 1
17968 @endif tcl
17970 .PHONY: maybe-html-tcl html-tcl
17971 maybe-html-tcl:
17972 @if tcl
17973 maybe-html-tcl: html-tcl
17975 html-tcl: \
17976 configure-tcl
17977 @: $(MAKE); $(unstage)
17978 @[ -f ./tcl/Makefile ] || exit 0; \
17979 r=`${PWD_COMMAND}`; export r; \
17980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17981 $(HOST_EXPORTS) \
17982 for flag in $(EXTRA_HOST_FLAGS) ; do \
17983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17984 done; \
17985 echo "Doing html in tcl" ; \
17986 (cd $(HOST_SUBDIR)/tcl && \
17987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17989 "RANLIB=$${RANLIB}" \
17990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17991 html) \
17992 || exit 1
17994 @endif tcl
17996 .PHONY: maybe-TAGS-tcl TAGS-tcl
17997 maybe-TAGS-tcl:
17998 @if tcl
17999 maybe-TAGS-tcl: TAGS-tcl
18001 TAGS-tcl: \
18002 configure-tcl
18003 @: $(MAKE); $(unstage)
18004 @[ -f ./tcl/Makefile ] || exit 0; \
18005 r=`${PWD_COMMAND}`; export r; \
18006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18007 $(HOST_EXPORTS) \
18008 for flag in $(EXTRA_HOST_FLAGS) ; do \
18009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18010 done; \
18011 echo "Doing TAGS in tcl" ; \
18012 (cd $(HOST_SUBDIR)/tcl && \
18013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18015 "RANLIB=$${RANLIB}" \
18016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18017 TAGS) \
18018 || exit 1
18020 @endif tcl
18022 .PHONY: maybe-install-info-tcl install-info-tcl
18023 maybe-install-info-tcl:
18024 @if tcl
18025 maybe-install-info-tcl: install-info-tcl
18027 install-info-tcl: \
18028 configure-tcl \
18029 info-tcl
18030 @: $(MAKE); $(unstage)
18031 @[ -f ./tcl/Makefile ] || exit 0; \
18032 r=`${PWD_COMMAND}`; export r; \
18033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18034 $(HOST_EXPORTS) \
18035 for flag in $(EXTRA_HOST_FLAGS) ; do \
18036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18037 done; \
18038 echo "Doing install-info in tcl" ; \
18039 (cd $(HOST_SUBDIR)/tcl && \
18040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18042 "RANLIB=$${RANLIB}" \
18043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18044 install-info) \
18045 || exit 1
18047 @endif tcl
18049 .PHONY: maybe-install-pdf-tcl install-pdf-tcl
18050 maybe-install-pdf-tcl:
18051 @if tcl
18052 maybe-install-pdf-tcl: install-pdf-tcl
18054 install-pdf-tcl: \
18055 configure-tcl \
18056 pdf-tcl
18057 @: $(MAKE); $(unstage)
18058 @[ -f ./tcl/Makefile ] || exit 0; \
18059 r=`${PWD_COMMAND}`; export r; \
18060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18061 $(HOST_EXPORTS) \
18062 for flag in $(EXTRA_HOST_FLAGS) ; do \
18063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18064 done; \
18065 echo "Doing install-pdf in tcl" ; \
18066 (cd $(HOST_SUBDIR)/tcl && \
18067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18069 "RANLIB=$${RANLIB}" \
18070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18071 install-pdf) \
18072 || exit 1
18074 @endif tcl
18076 .PHONY: maybe-install-html-tcl install-html-tcl
18077 maybe-install-html-tcl:
18078 @if tcl
18079 maybe-install-html-tcl: install-html-tcl
18081 install-html-tcl: \
18082 configure-tcl \
18083 html-tcl
18084 @: $(MAKE); $(unstage)
18085 @[ -f ./tcl/Makefile ] || exit 0; \
18086 r=`${PWD_COMMAND}`; export r; \
18087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18088 $(HOST_EXPORTS) \
18089 for flag in $(EXTRA_HOST_FLAGS) ; do \
18090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18091 done; \
18092 echo "Doing install-html in tcl" ; \
18093 (cd $(HOST_SUBDIR)/tcl && \
18094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18096 "RANLIB=$${RANLIB}" \
18097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18098 install-html) \
18099 || exit 1
18101 @endif tcl
18103 .PHONY: maybe-installcheck-tcl installcheck-tcl
18104 maybe-installcheck-tcl:
18105 @if tcl
18106 maybe-installcheck-tcl: installcheck-tcl
18108 installcheck-tcl: \
18109 configure-tcl
18110 @: $(MAKE); $(unstage)
18111 @[ -f ./tcl/Makefile ] || exit 0; \
18112 r=`${PWD_COMMAND}`; export r; \
18113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18114 $(HOST_EXPORTS) \
18115 for flag in $(EXTRA_HOST_FLAGS) ; do \
18116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18117 done; \
18118 echo "Doing installcheck in tcl" ; \
18119 (cd $(HOST_SUBDIR)/tcl && \
18120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18122 "RANLIB=$${RANLIB}" \
18123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18124 installcheck) \
18125 || exit 1
18127 @endif tcl
18129 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
18130 maybe-mostlyclean-tcl:
18131 @if tcl
18132 maybe-mostlyclean-tcl: mostlyclean-tcl
18134 # tcl doesn't support mostlyclean.
18135 mostlyclean-tcl:
18137 @endif tcl
18139 .PHONY: maybe-clean-tcl clean-tcl
18140 maybe-clean-tcl:
18141 @if tcl
18142 maybe-clean-tcl: clean-tcl
18144 clean-tcl:
18145 @: $(MAKE); $(unstage)
18146 @[ -f ./tcl/Makefile ] || exit 0; \
18147 r=`${PWD_COMMAND}`; export r; \
18148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18149 $(HOST_EXPORTS) \
18150 for flag in $(EXTRA_HOST_FLAGS) ; do \
18151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18152 done; \
18153 echo "Doing clean in tcl" ; \
18154 (cd $(HOST_SUBDIR)/tcl && \
18155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18157 "RANLIB=$${RANLIB}" \
18158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18159 clean) \
18160 || exit 1
18162 @endif tcl
18164 .PHONY: maybe-distclean-tcl distclean-tcl
18165 maybe-distclean-tcl:
18166 @if tcl
18167 maybe-distclean-tcl: distclean-tcl
18169 distclean-tcl:
18170 @: $(MAKE); $(unstage)
18171 @[ -f ./tcl/Makefile ] || exit 0; \
18172 r=`${PWD_COMMAND}`; export r; \
18173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18174 $(HOST_EXPORTS) \
18175 for flag in $(EXTRA_HOST_FLAGS) ; do \
18176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18177 done; \
18178 echo "Doing distclean in tcl" ; \
18179 (cd $(HOST_SUBDIR)/tcl && \
18180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18182 "RANLIB=$${RANLIB}" \
18183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18184 distclean) \
18185 || exit 1
18187 @endif tcl
18189 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
18190 maybe-maintainer-clean-tcl:
18191 @if tcl
18192 maybe-maintainer-clean-tcl: maintainer-clean-tcl
18194 maintainer-clean-tcl:
18195 @: $(MAKE); $(unstage)
18196 @[ -f ./tcl/Makefile ] || exit 0; \
18197 r=`${PWD_COMMAND}`; export r; \
18198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18199 $(HOST_EXPORTS) \
18200 for flag in $(EXTRA_HOST_FLAGS) ; do \
18201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18202 done; \
18203 echo "Doing maintainer-clean in tcl" ; \
18204 (cd $(HOST_SUBDIR)/tcl && \
18205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18207 "RANLIB=$${RANLIB}" \
18208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18209 maintainer-clean) \
18210 || exit 1
18212 @endif tcl
18216 .PHONY: configure-itcl maybe-configure-itcl
18217 maybe-configure-itcl:
18218 @if gcc-bootstrap
18219 configure-itcl: stage_current
18220 @endif gcc-bootstrap
18221 @if itcl
18222 maybe-configure-itcl: configure-itcl
18223 configure-itcl:
18224 @: $(MAKE); $(unstage)
18225 @r=`${PWD_COMMAND}`; export r; \
18226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18227 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
18228 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
18229 $(HOST_EXPORTS) \
18230 echo Configuring in $(HOST_SUBDIR)/itcl; \
18231 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
18232 case $(srcdir) in \
18233 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18234 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
18235 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18236 esac; \
18237 srcdiroption="--srcdir=$${topdir}/itcl"; \
18238 libsrcdir="$$s/itcl"; \
18239 $(SHELL) $${libsrcdir}/configure \
18240 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18241 --target=${target_alias} $${srcdiroption} \
18242 || exit 1
18243 @endif itcl
18249 .PHONY: all-itcl maybe-all-itcl
18250 maybe-all-itcl:
18251 @if gcc-bootstrap
18252 all-itcl: stage_current
18253 @endif gcc-bootstrap
18254 @if itcl
18255 TARGET-itcl=all
18256 maybe-all-itcl: all-itcl
18257 all-itcl: configure-itcl
18258 @: $(MAKE); $(unstage)
18259 @r=`${PWD_COMMAND}`; export r; \
18260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18261 $(HOST_EXPORTS) \
18262 (cd $(HOST_SUBDIR)/itcl && \
18263 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18264 $(TARGET-itcl))
18265 @endif itcl
18270 .PHONY: check-itcl maybe-check-itcl
18271 maybe-check-itcl:
18272 @if itcl
18273 maybe-check-itcl: check-itcl
18275 check-itcl:
18276 @: $(MAKE); $(unstage)
18277 @r=`${PWD_COMMAND}`; export r; \
18278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18279 $(HOST_EXPORTS) \
18280 (cd $(HOST_SUBDIR)/itcl && \
18281 $(MAKE) $(FLAGS_TO_PASS) check)
18283 @endif itcl
18285 .PHONY: install-itcl maybe-install-itcl
18286 maybe-install-itcl:
18287 @if itcl
18288 maybe-install-itcl: install-itcl
18290 install-itcl: installdirs
18291 @: $(MAKE); $(unstage)
18292 @r=`${PWD_COMMAND}`; export r; \
18293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18294 $(HOST_EXPORTS) \
18295 (cd $(HOST_SUBDIR)/itcl && \
18296 $(MAKE) $(FLAGS_TO_PASS) install)
18298 @endif itcl
18300 .PHONY: install-strip-itcl maybe-install-strip-itcl
18301 maybe-install-strip-itcl:
18302 @if itcl
18303 maybe-install-strip-itcl: install-strip-itcl
18305 install-strip-itcl: installdirs
18306 @: $(MAKE); $(unstage)
18307 @r=`${PWD_COMMAND}`; export r; \
18308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18309 $(HOST_EXPORTS) \
18310 (cd $(HOST_SUBDIR)/itcl && \
18311 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18313 @endif itcl
18315 # Other targets (info, dvi, pdf, etc.)
18317 .PHONY: maybe-info-itcl info-itcl
18318 maybe-info-itcl:
18319 @if itcl
18320 maybe-info-itcl: info-itcl
18322 info-itcl: \
18323 configure-itcl
18324 @: $(MAKE); $(unstage)
18325 @[ -f ./itcl/Makefile ] || exit 0; \
18326 r=`${PWD_COMMAND}`; export r; \
18327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18328 $(HOST_EXPORTS) \
18329 for flag in $(EXTRA_HOST_FLAGS) ; do \
18330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18331 done; \
18332 echo "Doing info in itcl" ; \
18333 (cd $(HOST_SUBDIR)/itcl && \
18334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18336 "RANLIB=$${RANLIB}" \
18337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18338 info) \
18339 || exit 1
18341 @endif itcl
18343 .PHONY: maybe-dvi-itcl dvi-itcl
18344 maybe-dvi-itcl:
18345 @if itcl
18346 maybe-dvi-itcl: dvi-itcl
18348 dvi-itcl: \
18349 configure-itcl
18350 @: $(MAKE); $(unstage)
18351 @[ -f ./itcl/Makefile ] || exit 0; \
18352 r=`${PWD_COMMAND}`; export r; \
18353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18354 $(HOST_EXPORTS) \
18355 for flag in $(EXTRA_HOST_FLAGS) ; do \
18356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18357 done; \
18358 echo "Doing dvi in itcl" ; \
18359 (cd $(HOST_SUBDIR)/itcl && \
18360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18362 "RANLIB=$${RANLIB}" \
18363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18364 dvi) \
18365 || exit 1
18367 @endif itcl
18369 .PHONY: maybe-pdf-itcl pdf-itcl
18370 maybe-pdf-itcl:
18371 @if itcl
18372 maybe-pdf-itcl: pdf-itcl
18374 pdf-itcl: \
18375 configure-itcl
18376 @: $(MAKE); $(unstage)
18377 @[ -f ./itcl/Makefile ] || exit 0; \
18378 r=`${PWD_COMMAND}`; export r; \
18379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18380 $(HOST_EXPORTS) \
18381 for flag in $(EXTRA_HOST_FLAGS) ; do \
18382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18383 done; \
18384 echo "Doing pdf in itcl" ; \
18385 (cd $(HOST_SUBDIR)/itcl && \
18386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18388 "RANLIB=$${RANLIB}" \
18389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18390 pdf) \
18391 || exit 1
18393 @endif itcl
18395 .PHONY: maybe-html-itcl html-itcl
18396 maybe-html-itcl:
18397 @if itcl
18398 maybe-html-itcl: html-itcl
18400 html-itcl: \
18401 configure-itcl
18402 @: $(MAKE); $(unstage)
18403 @[ -f ./itcl/Makefile ] || exit 0; \
18404 r=`${PWD_COMMAND}`; export r; \
18405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18406 $(HOST_EXPORTS) \
18407 for flag in $(EXTRA_HOST_FLAGS) ; do \
18408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18409 done; \
18410 echo "Doing html in itcl" ; \
18411 (cd $(HOST_SUBDIR)/itcl && \
18412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18414 "RANLIB=$${RANLIB}" \
18415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18416 html) \
18417 || exit 1
18419 @endif itcl
18421 .PHONY: maybe-TAGS-itcl TAGS-itcl
18422 maybe-TAGS-itcl:
18423 @if itcl
18424 maybe-TAGS-itcl: TAGS-itcl
18426 TAGS-itcl: \
18427 configure-itcl
18428 @: $(MAKE); $(unstage)
18429 @[ -f ./itcl/Makefile ] || exit 0; \
18430 r=`${PWD_COMMAND}`; export r; \
18431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18432 $(HOST_EXPORTS) \
18433 for flag in $(EXTRA_HOST_FLAGS) ; do \
18434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18435 done; \
18436 echo "Doing TAGS in itcl" ; \
18437 (cd $(HOST_SUBDIR)/itcl && \
18438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18440 "RANLIB=$${RANLIB}" \
18441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18442 TAGS) \
18443 || exit 1
18445 @endif itcl
18447 .PHONY: maybe-install-info-itcl install-info-itcl
18448 maybe-install-info-itcl:
18449 @if itcl
18450 maybe-install-info-itcl: install-info-itcl
18452 install-info-itcl: \
18453 configure-itcl \
18454 info-itcl
18455 @: $(MAKE); $(unstage)
18456 @[ -f ./itcl/Makefile ] || exit 0; \
18457 r=`${PWD_COMMAND}`; export r; \
18458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18459 $(HOST_EXPORTS) \
18460 for flag in $(EXTRA_HOST_FLAGS) ; do \
18461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18462 done; \
18463 echo "Doing install-info in itcl" ; \
18464 (cd $(HOST_SUBDIR)/itcl && \
18465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18467 "RANLIB=$${RANLIB}" \
18468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18469 install-info) \
18470 || exit 1
18472 @endif itcl
18474 .PHONY: maybe-install-pdf-itcl install-pdf-itcl
18475 maybe-install-pdf-itcl:
18476 @if itcl
18477 maybe-install-pdf-itcl: install-pdf-itcl
18479 install-pdf-itcl: \
18480 configure-itcl \
18481 pdf-itcl
18482 @: $(MAKE); $(unstage)
18483 @[ -f ./itcl/Makefile ] || exit 0; \
18484 r=`${PWD_COMMAND}`; export r; \
18485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18486 $(HOST_EXPORTS) \
18487 for flag in $(EXTRA_HOST_FLAGS) ; do \
18488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18489 done; \
18490 echo "Doing install-pdf in itcl" ; \
18491 (cd $(HOST_SUBDIR)/itcl && \
18492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18494 "RANLIB=$${RANLIB}" \
18495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18496 install-pdf) \
18497 || exit 1
18499 @endif itcl
18501 .PHONY: maybe-install-html-itcl install-html-itcl
18502 maybe-install-html-itcl:
18503 @if itcl
18504 maybe-install-html-itcl: install-html-itcl
18506 install-html-itcl: \
18507 configure-itcl \
18508 html-itcl
18509 @: $(MAKE); $(unstage)
18510 @[ -f ./itcl/Makefile ] || exit 0; \
18511 r=`${PWD_COMMAND}`; export r; \
18512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18513 $(HOST_EXPORTS) \
18514 for flag in $(EXTRA_HOST_FLAGS) ; do \
18515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18516 done; \
18517 echo "Doing install-html in itcl" ; \
18518 (cd $(HOST_SUBDIR)/itcl && \
18519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18521 "RANLIB=$${RANLIB}" \
18522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18523 install-html) \
18524 || exit 1
18526 @endif itcl
18528 .PHONY: maybe-installcheck-itcl installcheck-itcl
18529 maybe-installcheck-itcl:
18530 @if itcl
18531 maybe-installcheck-itcl: installcheck-itcl
18533 installcheck-itcl: \
18534 configure-itcl
18535 @: $(MAKE); $(unstage)
18536 @[ -f ./itcl/Makefile ] || exit 0; \
18537 r=`${PWD_COMMAND}`; export r; \
18538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18539 $(HOST_EXPORTS) \
18540 for flag in $(EXTRA_HOST_FLAGS) ; do \
18541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18542 done; \
18543 echo "Doing installcheck in itcl" ; \
18544 (cd $(HOST_SUBDIR)/itcl && \
18545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18547 "RANLIB=$${RANLIB}" \
18548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18549 installcheck) \
18550 || exit 1
18552 @endif itcl
18554 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
18555 maybe-mostlyclean-itcl:
18556 @if itcl
18557 maybe-mostlyclean-itcl: mostlyclean-itcl
18559 mostlyclean-itcl:
18560 @: $(MAKE); $(unstage)
18561 @[ -f ./itcl/Makefile ] || exit 0; \
18562 r=`${PWD_COMMAND}`; export r; \
18563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18564 $(HOST_EXPORTS) \
18565 for flag in $(EXTRA_HOST_FLAGS) ; do \
18566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18567 done; \
18568 echo "Doing mostlyclean in itcl" ; \
18569 (cd $(HOST_SUBDIR)/itcl && \
18570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18572 "RANLIB=$${RANLIB}" \
18573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18574 mostlyclean) \
18575 || exit 1
18577 @endif itcl
18579 .PHONY: maybe-clean-itcl clean-itcl
18580 maybe-clean-itcl:
18581 @if itcl
18582 maybe-clean-itcl: clean-itcl
18584 clean-itcl:
18585 @: $(MAKE); $(unstage)
18586 @[ -f ./itcl/Makefile ] || exit 0; \
18587 r=`${PWD_COMMAND}`; export r; \
18588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18589 $(HOST_EXPORTS) \
18590 for flag in $(EXTRA_HOST_FLAGS) ; do \
18591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18592 done; \
18593 echo "Doing clean in itcl" ; \
18594 (cd $(HOST_SUBDIR)/itcl && \
18595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18597 "RANLIB=$${RANLIB}" \
18598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18599 clean) \
18600 || exit 1
18602 @endif itcl
18604 .PHONY: maybe-distclean-itcl distclean-itcl
18605 maybe-distclean-itcl:
18606 @if itcl
18607 maybe-distclean-itcl: distclean-itcl
18609 distclean-itcl:
18610 @: $(MAKE); $(unstage)
18611 @[ -f ./itcl/Makefile ] || exit 0; \
18612 r=`${PWD_COMMAND}`; export r; \
18613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18614 $(HOST_EXPORTS) \
18615 for flag in $(EXTRA_HOST_FLAGS) ; do \
18616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18617 done; \
18618 echo "Doing distclean in itcl" ; \
18619 (cd $(HOST_SUBDIR)/itcl && \
18620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18622 "RANLIB=$${RANLIB}" \
18623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18624 distclean) \
18625 || exit 1
18627 @endif itcl
18629 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
18630 maybe-maintainer-clean-itcl:
18631 @if itcl
18632 maybe-maintainer-clean-itcl: maintainer-clean-itcl
18634 maintainer-clean-itcl:
18635 @: $(MAKE); $(unstage)
18636 @[ -f ./itcl/Makefile ] || exit 0; \
18637 r=`${PWD_COMMAND}`; export r; \
18638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18639 $(HOST_EXPORTS) \
18640 for flag in $(EXTRA_HOST_FLAGS) ; do \
18641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18642 done; \
18643 echo "Doing maintainer-clean in itcl" ; \
18644 (cd $(HOST_SUBDIR)/itcl && \
18645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18647 "RANLIB=$${RANLIB}" \
18648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18649 maintainer-clean) \
18650 || exit 1
18652 @endif itcl
18656 .PHONY: configure-ld maybe-configure-ld
18657 maybe-configure-ld:
18658 @if gcc-bootstrap
18659 configure-ld: stage_current
18660 @endif gcc-bootstrap
18661 @if ld
18662 maybe-configure-ld: configure-ld
18663 configure-ld:
18664 @r=`${PWD_COMMAND}`; export r; \
18665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18666 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18667 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18668 $(HOST_EXPORTS) \
18669 echo Configuring in $(HOST_SUBDIR)/ld; \
18670 cd "$(HOST_SUBDIR)/ld" || exit 1; \
18671 case $(srcdir) in \
18672 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18673 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18674 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18675 esac; \
18676 srcdiroption="--srcdir=$${topdir}/ld"; \
18677 libsrcdir="$$s/ld"; \
18678 $(SHELL) $${libsrcdir}/configure \
18679 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18680 --target=${target_alias} $${srcdiroption} \
18681 || exit 1
18682 @endif ld
18686 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
18687 maybe-configure-stage1-ld:
18688 @if ld-bootstrap
18689 maybe-configure-stage1-ld: configure-stage1-ld
18690 configure-stage1-ld:
18691 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18692 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18693 @r=`${PWD_COMMAND}`; export r; \
18694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18695 TFLAGS="$(STAGE1_TFLAGS)"; \
18696 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18697 $(HOST_EXPORTS) \
18698 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
18699 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
18700 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
18701 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
18702 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18703 cd $(HOST_SUBDIR)/ld || exit 1; \
18704 case $(srcdir) in \
18705 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18706 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18707 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18708 esac; \
18709 srcdiroption="--srcdir=$${topdir}/ld"; \
18710 libsrcdir="$$s/ld"; \
18711 $(SHELL) $${libsrcdir}/configure \
18712 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18713 --target=${target_alias} $${srcdiroption} \
18714 $(STAGE1_CONFIGURE_FLAGS)
18715 @endif ld-bootstrap
18717 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
18718 maybe-configure-stage2-ld:
18719 @if ld-bootstrap
18720 maybe-configure-stage2-ld: configure-stage2-ld
18721 configure-stage2-ld:
18722 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18723 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18724 @r=`${PWD_COMMAND}`; export r; \
18725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18726 TFLAGS="$(STAGE2_TFLAGS)"; \
18727 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18728 $(HOST_EXPORTS) \
18729 $(POSTSTAGE1_HOST_EXPORTS) \
18730 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
18731 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
18732 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
18733 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
18734 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18735 cd $(HOST_SUBDIR)/ld || exit 1; \
18736 case $(srcdir) in \
18737 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18738 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18739 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18740 esac; \
18741 srcdiroption="--srcdir=$${topdir}/ld"; \
18742 libsrcdir="$$s/ld"; \
18743 $(SHELL) $${libsrcdir}/configure \
18744 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18745 --target=${target_alias} $${srcdiroption} \
18746 --with-build-libsubdir=$(HOST_SUBDIR) \
18747 $(STAGE2_CONFIGURE_FLAGS)
18748 @endif ld-bootstrap
18750 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
18751 maybe-configure-stage3-ld:
18752 @if ld-bootstrap
18753 maybe-configure-stage3-ld: configure-stage3-ld
18754 configure-stage3-ld:
18755 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18756 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18757 @r=`${PWD_COMMAND}`; export r; \
18758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18759 TFLAGS="$(STAGE3_TFLAGS)"; \
18760 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18761 $(HOST_EXPORTS) \
18762 $(POSTSTAGE1_HOST_EXPORTS) \
18763 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
18764 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
18765 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
18766 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
18767 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18768 cd $(HOST_SUBDIR)/ld || exit 1; \
18769 case $(srcdir) in \
18770 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18771 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18772 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18773 esac; \
18774 srcdiroption="--srcdir=$${topdir}/ld"; \
18775 libsrcdir="$$s/ld"; \
18776 $(SHELL) $${libsrcdir}/configure \
18777 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18778 --target=${target_alias} $${srcdiroption} \
18779 --with-build-libsubdir=$(HOST_SUBDIR) \
18780 $(STAGE3_CONFIGURE_FLAGS)
18781 @endif ld-bootstrap
18783 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
18784 maybe-configure-stage4-ld:
18785 @if ld-bootstrap
18786 maybe-configure-stage4-ld: configure-stage4-ld
18787 configure-stage4-ld:
18788 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18789 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18790 @r=`${PWD_COMMAND}`; export r; \
18791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18792 TFLAGS="$(STAGE4_TFLAGS)"; \
18793 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18794 $(HOST_EXPORTS) \
18795 $(POSTSTAGE1_HOST_EXPORTS) \
18796 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
18797 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
18798 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
18799 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
18800 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18801 cd $(HOST_SUBDIR)/ld || exit 1; \
18802 case $(srcdir) in \
18803 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18804 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18805 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18806 esac; \
18807 srcdiroption="--srcdir=$${topdir}/ld"; \
18808 libsrcdir="$$s/ld"; \
18809 $(SHELL) $${libsrcdir}/configure \
18810 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18811 --target=${target_alias} $${srcdiroption} \
18812 --with-build-libsubdir=$(HOST_SUBDIR) \
18813 $(STAGE4_CONFIGURE_FLAGS)
18814 @endif ld-bootstrap
18816 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
18817 maybe-configure-stageprofile-ld:
18818 @if ld-bootstrap
18819 maybe-configure-stageprofile-ld: configure-stageprofile-ld
18820 configure-stageprofile-ld:
18821 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18822 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18823 @r=`${PWD_COMMAND}`; export r; \
18824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18825 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18826 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18827 $(HOST_EXPORTS) \
18828 $(POSTSTAGE1_HOST_EXPORTS) \
18829 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
18830 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
18831 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
18832 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
18833 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18834 cd $(HOST_SUBDIR)/ld || exit 1; \
18835 case $(srcdir) in \
18836 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18837 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18838 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18839 esac; \
18840 srcdiroption="--srcdir=$${topdir}/ld"; \
18841 libsrcdir="$$s/ld"; \
18842 $(SHELL) $${libsrcdir}/configure \
18843 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18844 --target=${target_alias} $${srcdiroption} \
18845 --with-build-libsubdir=$(HOST_SUBDIR) \
18846 $(STAGEprofile_CONFIGURE_FLAGS)
18847 @endif ld-bootstrap
18849 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
18850 maybe-configure-stagefeedback-ld:
18851 @if ld-bootstrap
18852 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
18853 configure-stagefeedback-ld:
18854 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18855 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18856 @r=`${PWD_COMMAND}`; export r; \
18857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18858 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18859 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18860 $(HOST_EXPORTS) \
18861 $(POSTSTAGE1_HOST_EXPORTS) \
18862 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
18863 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
18864 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
18865 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
18866 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18867 cd $(HOST_SUBDIR)/ld || exit 1; \
18868 case $(srcdir) in \
18869 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18870 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18871 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18872 esac; \
18873 srcdiroption="--srcdir=$${topdir}/ld"; \
18874 libsrcdir="$$s/ld"; \
18875 $(SHELL) $${libsrcdir}/configure \
18876 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18877 --target=${target_alias} $${srcdiroption} \
18878 --with-build-libsubdir=$(HOST_SUBDIR) \
18879 $(STAGEfeedback_CONFIGURE_FLAGS)
18880 @endif ld-bootstrap
18886 .PHONY: all-ld maybe-all-ld
18887 maybe-all-ld:
18888 @if gcc-bootstrap
18889 all-ld: stage_current
18890 @endif gcc-bootstrap
18891 @if ld
18892 TARGET-ld=all
18893 maybe-all-ld: all-ld
18894 all-ld: configure-ld
18895 @r=`${PWD_COMMAND}`; export r; \
18896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18897 $(HOST_EXPORTS) \
18898 (cd $(HOST_SUBDIR)/ld && \
18899 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18900 $(TARGET-ld))
18901 @endif ld
18905 .PHONY: all-stage1-ld maybe-all-stage1-ld
18906 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
18907 maybe-all-stage1-ld:
18908 maybe-clean-stage1-ld:
18909 @if ld-bootstrap
18910 maybe-all-stage1-ld: all-stage1-ld
18911 all-stage1: all-stage1-ld
18912 TARGET-stage1-ld = $(TARGET-ld)
18913 all-stage1-ld: configure-stage1-ld
18914 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18915 @r=`${PWD_COMMAND}`; export r; \
18916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18917 TFLAGS="$(STAGE1_TFLAGS)"; \
18918 $(HOST_EXPORTS) \
18919 cd $(HOST_SUBDIR)/ld && \
18920 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18921 CFLAGS="$(STAGE1_CFLAGS)" \
18922 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
18923 LIBCFLAGS="$(LIBCFLAGS)" \
18924 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18925 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18926 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18927 $(EXTRA_HOST_FLAGS) \
18928 $(STAGE1_FLAGS_TO_PASS) \
18929 TFLAGS="$(STAGE1_TFLAGS)" \
18930 $(TARGET-stage1-ld)
18932 maybe-clean-stage1-ld: clean-stage1-ld
18933 clean-stage1: clean-stage1-ld
18934 clean-stage1-ld:
18935 @if [ $(current_stage) = stage1 ]; then \
18936 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18937 else \
18938 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
18939 $(MAKE) stage1-start; \
18940 fi; \
18941 cd $(HOST_SUBDIR)/ld && \
18942 $(MAKE) $(EXTRA_HOST_FLAGS) \
18943 $(STAGE1_FLAGS_TO_PASS) clean
18944 @endif ld-bootstrap
18947 .PHONY: all-stage2-ld maybe-all-stage2-ld
18948 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
18949 maybe-all-stage2-ld:
18950 maybe-clean-stage2-ld:
18951 @if ld-bootstrap
18952 maybe-all-stage2-ld: all-stage2-ld
18953 all-stage2: all-stage2-ld
18954 TARGET-stage2-ld = $(TARGET-ld)
18955 all-stage2-ld: configure-stage2-ld
18956 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18957 @r=`${PWD_COMMAND}`; export r; \
18958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18959 TFLAGS="$(STAGE2_TFLAGS)"; \
18960 $(HOST_EXPORTS) \
18961 $(POSTSTAGE1_HOST_EXPORTS) \
18962 cd $(HOST_SUBDIR)/ld && \
18963 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18964 CFLAGS="$(STAGE2_CFLAGS)" \
18965 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
18966 LIBCFLAGS="$(STAGE2_CFLAGS)" \
18967 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18968 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18969 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18970 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18971 TFLAGS="$(STAGE2_TFLAGS)" \
18972 $(TARGET-stage2-ld)
18974 maybe-clean-stage2-ld: clean-stage2-ld
18975 clean-stage2: clean-stage2-ld
18976 clean-stage2-ld:
18977 @if [ $(current_stage) = stage2 ]; then \
18978 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18979 else \
18980 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
18981 $(MAKE) stage2-start; \
18982 fi; \
18983 cd $(HOST_SUBDIR)/ld && \
18984 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18985 @endif ld-bootstrap
18988 .PHONY: all-stage3-ld maybe-all-stage3-ld
18989 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
18990 maybe-all-stage3-ld:
18991 maybe-clean-stage3-ld:
18992 @if ld-bootstrap
18993 maybe-all-stage3-ld: all-stage3-ld
18994 all-stage3: all-stage3-ld
18995 TARGET-stage3-ld = $(TARGET-ld)
18996 all-stage3-ld: configure-stage3-ld
18997 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18998 @r=`${PWD_COMMAND}`; export r; \
18999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19000 TFLAGS="$(STAGE3_TFLAGS)"; \
19001 $(HOST_EXPORTS) \
19002 $(POSTSTAGE1_HOST_EXPORTS) \
19003 cd $(HOST_SUBDIR)/ld && \
19004 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19005 CFLAGS="$(STAGE3_CFLAGS)" \
19006 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
19007 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19008 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19009 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19010 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19011 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19012 TFLAGS="$(STAGE3_TFLAGS)" \
19013 $(TARGET-stage3-ld)
19015 maybe-clean-stage3-ld: clean-stage3-ld
19016 clean-stage3: clean-stage3-ld
19017 clean-stage3-ld:
19018 @if [ $(current_stage) = stage3 ]; then \
19019 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19020 else \
19021 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
19022 $(MAKE) stage3-start; \
19023 fi; \
19024 cd $(HOST_SUBDIR)/ld && \
19025 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19026 @endif ld-bootstrap
19029 .PHONY: all-stage4-ld maybe-all-stage4-ld
19030 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
19031 maybe-all-stage4-ld:
19032 maybe-clean-stage4-ld:
19033 @if ld-bootstrap
19034 maybe-all-stage4-ld: all-stage4-ld
19035 all-stage4: all-stage4-ld
19036 TARGET-stage4-ld = $(TARGET-ld)
19037 all-stage4-ld: configure-stage4-ld
19038 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19039 @r=`${PWD_COMMAND}`; export r; \
19040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19041 TFLAGS="$(STAGE4_TFLAGS)"; \
19042 $(HOST_EXPORTS) \
19043 $(POSTSTAGE1_HOST_EXPORTS) \
19044 cd $(HOST_SUBDIR)/ld && \
19045 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19046 CFLAGS="$(STAGE4_CFLAGS)" \
19047 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19048 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19049 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19050 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19051 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19052 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19053 TFLAGS="$(STAGE4_TFLAGS)" \
19054 $(TARGET-stage4-ld)
19056 maybe-clean-stage4-ld: clean-stage4-ld
19057 clean-stage4: clean-stage4-ld
19058 clean-stage4-ld:
19059 @if [ $(current_stage) = stage4 ]; then \
19060 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19061 else \
19062 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
19063 $(MAKE) stage4-start; \
19064 fi; \
19065 cd $(HOST_SUBDIR)/ld && \
19066 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19067 @endif ld-bootstrap
19070 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
19071 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
19072 maybe-all-stageprofile-ld:
19073 maybe-clean-stageprofile-ld:
19074 @if ld-bootstrap
19075 maybe-all-stageprofile-ld: all-stageprofile-ld
19076 all-stageprofile: all-stageprofile-ld
19077 TARGET-stageprofile-ld = $(TARGET-ld)
19078 all-stageprofile-ld: configure-stageprofile-ld
19079 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19080 @r=`${PWD_COMMAND}`; export r; \
19081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19082 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19083 $(HOST_EXPORTS) \
19084 $(POSTSTAGE1_HOST_EXPORTS) \
19085 cd $(HOST_SUBDIR)/ld && \
19086 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19087 CFLAGS="$(STAGEprofile_CFLAGS)" \
19088 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
19089 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
19090 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19091 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19092 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19093 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19094 TFLAGS="$(STAGEprofile_TFLAGS)" \
19095 $(TARGET-stageprofile-ld)
19097 maybe-clean-stageprofile-ld: clean-stageprofile-ld
19098 clean-stageprofile: clean-stageprofile-ld
19099 clean-stageprofile-ld:
19100 @if [ $(current_stage) = stageprofile ]; then \
19101 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19102 else \
19103 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
19104 $(MAKE) stageprofile-start; \
19105 fi; \
19106 cd $(HOST_SUBDIR)/ld && \
19107 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19108 @endif ld-bootstrap
19111 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
19112 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
19113 maybe-all-stagefeedback-ld:
19114 maybe-clean-stagefeedback-ld:
19115 @if ld-bootstrap
19116 maybe-all-stagefeedback-ld: all-stagefeedback-ld
19117 all-stagefeedback: all-stagefeedback-ld
19118 TARGET-stagefeedback-ld = $(TARGET-ld)
19119 all-stagefeedback-ld: configure-stagefeedback-ld
19120 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19121 @r=`${PWD_COMMAND}`; export r; \
19122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19123 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19124 $(HOST_EXPORTS) \
19125 $(POSTSTAGE1_HOST_EXPORTS) \
19126 cd $(HOST_SUBDIR)/ld && \
19127 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19128 CFLAGS="$(STAGEfeedback_CFLAGS)" \
19129 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
19130 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
19131 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19132 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19133 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19134 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19135 TFLAGS="$(STAGEfeedback_TFLAGS)" \
19136 $(TARGET-stagefeedback-ld)
19138 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
19139 clean-stagefeedback: clean-stagefeedback-ld
19140 clean-stagefeedback-ld:
19141 @if [ $(current_stage) = stagefeedback ]; then \
19142 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19143 else \
19144 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
19145 $(MAKE) stagefeedback-start; \
19146 fi; \
19147 cd $(HOST_SUBDIR)/ld && \
19148 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19149 @endif ld-bootstrap
19155 .PHONY: check-ld maybe-check-ld
19156 maybe-check-ld:
19157 @if ld
19158 maybe-check-ld: check-ld
19160 check-ld:
19161 @: $(MAKE); $(unstage)
19162 @r=`${PWD_COMMAND}`; export r; \
19163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19164 $(HOST_EXPORTS) \
19165 (cd $(HOST_SUBDIR)/ld && \
19166 $(MAKE) $(FLAGS_TO_PASS) check)
19168 @endif ld
19170 .PHONY: install-ld maybe-install-ld
19171 maybe-install-ld:
19172 @if ld
19173 maybe-install-ld: install-ld
19175 install-ld: installdirs
19176 @: $(MAKE); $(unstage)
19177 @r=`${PWD_COMMAND}`; export r; \
19178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19179 $(HOST_EXPORTS) \
19180 (cd $(HOST_SUBDIR)/ld && \
19181 $(MAKE) $(FLAGS_TO_PASS) install)
19183 @endif ld
19185 .PHONY: install-strip-ld maybe-install-strip-ld
19186 maybe-install-strip-ld:
19187 @if ld
19188 maybe-install-strip-ld: install-strip-ld
19190 install-strip-ld: installdirs
19191 @: $(MAKE); $(unstage)
19192 @r=`${PWD_COMMAND}`; export r; \
19193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19194 $(HOST_EXPORTS) \
19195 (cd $(HOST_SUBDIR)/ld && \
19196 $(MAKE) $(FLAGS_TO_PASS) install-strip)
19198 @endif ld
19200 # Other targets (info, dvi, pdf, etc.)
19202 .PHONY: maybe-info-ld info-ld
19203 maybe-info-ld:
19204 @if ld
19205 maybe-info-ld: info-ld
19207 info-ld: \
19208 configure-ld
19209 @[ -f ./ld/Makefile ] || exit 0; \
19210 r=`${PWD_COMMAND}`; export r; \
19211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19212 $(HOST_EXPORTS) \
19213 for flag in $(EXTRA_HOST_FLAGS) ; do \
19214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19215 done; \
19216 echo "Doing info in ld" ; \
19217 (cd $(HOST_SUBDIR)/ld && \
19218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19220 "RANLIB=$${RANLIB}" \
19221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19222 info) \
19223 || exit 1
19225 @endif ld
19227 .PHONY: maybe-dvi-ld dvi-ld
19228 maybe-dvi-ld:
19229 @if ld
19230 maybe-dvi-ld: dvi-ld
19232 dvi-ld: \
19233 configure-ld
19234 @[ -f ./ld/Makefile ] || exit 0; \
19235 r=`${PWD_COMMAND}`; export r; \
19236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19237 $(HOST_EXPORTS) \
19238 for flag in $(EXTRA_HOST_FLAGS) ; do \
19239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19240 done; \
19241 echo "Doing dvi in ld" ; \
19242 (cd $(HOST_SUBDIR)/ld && \
19243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19245 "RANLIB=$${RANLIB}" \
19246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19247 dvi) \
19248 || exit 1
19250 @endif ld
19252 .PHONY: maybe-pdf-ld pdf-ld
19253 maybe-pdf-ld:
19254 @if ld
19255 maybe-pdf-ld: pdf-ld
19257 pdf-ld: \
19258 configure-ld
19259 @[ -f ./ld/Makefile ] || exit 0; \
19260 r=`${PWD_COMMAND}`; export r; \
19261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19262 $(HOST_EXPORTS) \
19263 for flag in $(EXTRA_HOST_FLAGS) ; do \
19264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19265 done; \
19266 echo "Doing pdf in ld" ; \
19267 (cd $(HOST_SUBDIR)/ld && \
19268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19270 "RANLIB=$${RANLIB}" \
19271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19272 pdf) \
19273 || exit 1
19275 @endif ld
19277 .PHONY: maybe-html-ld html-ld
19278 maybe-html-ld:
19279 @if ld
19280 maybe-html-ld: html-ld
19282 html-ld: \
19283 configure-ld
19284 @[ -f ./ld/Makefile ] || exit 0; \
19285 r=`${PWD_COMMAND}`; export r; \
19286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19287 $(HOST_EXPORTS) \
19288 for flag in $(EXTRA_HOST_FLAGS) ; do \
19289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19290 done; \
19291 echo "Doing html in ld" ; \
19292 (cd $(HOST_SUBDIR)/ld && \
19293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19295 "RANLIB=$${RANLIB}" \
19296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19297 html) \
19298 || exit 1
19300 @endif ld
19302 .PHONY: maybe-TAGS-ld TAGS-ld
19303 maybe-TAGS-ld:
19304 @if ld
19305 maybe-TAGS-ld: TAGS-ld
19307 TAGS-ld: \
19308 configure-ld
19309 @[ -f ./ld/Makefile ] || exit 0; \
19310 r=`${PWD_COMMAND}`; export r; \
19311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19312 $(HOST_EXPORTS) \
19313 for flag in $(EXTRA_HOST_FLAGS) ; do \
19314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19315 done; \
19316 echo "Doing TAGS in ld" ; \
19317 (cd $(HOST_SUBDIR)/ld && \
19318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19320 "RANLIB=$${RANLIB}" \
19321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19322 TAGS) \
19323 || exit 1
19325 @endif ld
19327 .PHONY: maybe-install-info-ld install-info-ld
19328 maybe-install-info-ld:
19329 @if ld
19330 maybe-install-info-ld: install-info-ld
19332 install-info-ld: \
19333 configure-ld \
19334 info-ld
19335 @[ -f ./ld/Makefile ] || exit 0; \
19336 r=`${PWD_COMMAND}`; export r; \
19337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19338 $(HOST_EXPORTS) \
19339 for flag in $(EXTRA_HOST_FLAGS) ; do \
19340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19341 done; \
19342 echo "Doing install-info in ld" ; \
19343 (cd $(HOST_SUBDIR)/ld && \
19344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19346 "RANLIB=$${RANLIB}" \
19347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19348 install-info) \
19349 || exit 1
19351 @endif ld
19353 .PHONY: maybe-install-pdf-ld install-pdf-ld
19354 maybe-install-pdf-ld:
19355 @if ld
19356 maybe-install-pdf-ld: install-pdf-ld
19358 install-pdf-ld: \
19359 configure-ld \
19360 pdf-ld
19361 @[ -f ./ld/Makefile ] || exit 0; \
19362 r=`${PWD_COMMAND}`; export r; \
19363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19364 $(HOST_EXPORTS) \
19365 for flag in $(EXTRA_HOST_FLAGS) ; do \
19366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19367 done; \
19368 echo "Doing install-pdf in ld" ; \
19369 (cd $(HOST_SUBDIR)/ld && \
19370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19372 "RANLIB=$${RANLIB}" \
19373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19374 install-pdf) \
19375 || exit 1
19377 @endif ld
19379 .PHONY: maybe-install-html-ld install-html-ld
19380 maybe-install-html-ld:
19381 @if ld
19382 maybe-install-html-ld: install-html-ld
19384 install-html-ld: \
19385 configure-ld \
19386 html-ld
19387 @[ -f ./ld/Makefile ] || exit 0; \
19388 r=`${PWD_COMMAND}`; export r; \
19389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19390 $(HOST_EXPORTS) \
19391 for flag in $(EXTRA_HOST_FLAGS) ; do \
19392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19393 done; \
19394 echo "Doing install-html in ld" ; \
19395 (cd $(HOST_SUBDIR)/ld && \
19396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19398 "RANLIB=$${RANLIB}" \
19399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19400 install-html) \
19401 || exit 1
19403 @endif ld
19405 .PHONY: maybe-installcheck-ld installcheck-ld
19406 maybe-installcheck-ld:
19407 @if ld
19408 maybe-installcheck-ld: installcheck-ld
19410 installcheck-ld: \
19411 configure-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 installcheck 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 installcheck) \
19426 || exit 1
19428 @endif ld
19430 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
19431 maybe-mostlyclean-ld:
19432 @if ld
19433 maybe-mostlyclean-ld: mostlyclean-ld
19435 mostlyclean-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 mostlyclean 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 mostlyclean) \
19450 || exit 1
19452 @endif ld
19454 .PHONY: maybe-clean-ld clean-ld
19455 maybe-clean-ld:
19456 @if ld
19457 maybe-clean-ld: clean-ld
19459 clean-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 clean 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 clean) \
19474 || exit 1
19476 @endif ld
19478 .PHONY: maybe-distclean-ld distclean-ld
19479 maybe-distclean-ld:
19480 @if ld
19481 maybe-distclean-ld: distclean-ld
19483 distclean-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 distclean 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 distclean) \
19498 || exit 1
19500 @endif ld
19502 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
19503 maybe-maintainer-clean-ld:
19504 @if ld
19505 maybe-maintainer-clean-ld: maintainer-clean-ld
19507 maintainer-clean-ld:
19508 @[ -f ./ld/Makefile ] || exit 0; \
19509 r=`${PWD_COMMAND}`; export r; \
19510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19511 $(HOST_EXPORTS) \
19512 for flag in $(EXTRA_HOST_FLAGS) ; do \
19513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19514 done; \
19515 echo "Doing maintainer-clean in ld" ; \
19516 (cd $(HOST_SUBDIR)/ld && \
19517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19519 "RANLIB=$${RANLIB}" \
19520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19521 maintainer-clean) \
19522 || exit 1
19524 @endif ld
19528 .PHONY: configure-libbacktrace maybe-configure-libbacktrace
19529 maybe-configure-libbacktrace:
19530 @if gcc-bootstrap
19531 configure-libbacktrace: stage_current
19532 @endif gcc-bootstrap
19533 @if libbacktrace
19534 maybe-configure-libbacktrace: configure-libbacktrace
19535 configure-libbacktrace:
19536 @r=`${PWD_COMMAND}`; export r; \
19537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19538 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19539 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19540 $(HOST_EXPORTS) \
19541 echo Configuring in $(HOST_SUBDIR)/libbacktrace; \
19542 cd "$(HOST_SUBDIR)/libbacktrace" || exit 1; \
19543 case $(srcdir) in \
19544 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19545 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19546 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19547 esac; \
19548 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19549 libsrcdir="$$s/libbacktrace"; \
19550 $(SHELL) $${libsrcdir}/configure \
19551 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19552 --target=${target_alias} $${srcdiroption} \
19553 || exit 1
19554 @endif libbacktrace
19558 .PHONY: configure-stage1-libbacktrace maybe-configure-stage1-libbacktrace
19559 maybe-configure-stage1-libbacktrace:
19560 @if libbacktrace-bootstrap
19561 maybe-configure-stage1-libbacktrace: configure-stage1-libbacktrace
19562 configure-stage1-libbacktrace:
19563 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19564 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19565 @r=`${PWD_COMMAND}`; export r; \
19566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19567 TFLAGS="$(STAGE1_TFLAGS)"; \
19568 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19569 $(HOST_EXPORTS) \
19570 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
19571 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
19572 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
19573 echo Configuring stage 1 in $(HOST_SUBDIR)/libbacktrace ; \
19574 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19575 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19576 case $(srcdir) in \
19577 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19578 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19579 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19580 esac; \
19581 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19582 libsrcdir="$$s/libbacktrace"; \
19583 $(SHELL) $${libsrcdir}/configure \
19584 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19585 --target=${target_alias} $${srcdiroption} \
19586 $(STAGE1_CONFIGURE_FLAGS)
19587 @endif libbacktrace-bootstrap
19589 .PHONY: configure-stage2-libbacktrace maybe-configure-stage2-libbacktrace
19590 maybe-configure-stage2-libbacktrace:
19591 @if libbacktrace-bootstrap
19592 maybe-configure-stage2-libbacktrace: configure-stage2-libbacktrace
19593 configure-stage2-libbacktrace:
19594 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19595 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19596 @r=`${PWD_COMMAND}`; export r; \
19597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19598 TFLAGS="$(STAGE2_TFLAGS)"; \
19599 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19600 $(HOST_EXPORTS) \
19601 $(POSTSTAGE1_HOST_EXPORTS) \
19602 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
19603 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
19604 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
19605 echo Configuring stage 2 in $(HOST_SUBDIR)/libbacktrace ; \
19606 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19607 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19608 case $(srcdir) in \
19609 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19610 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19611 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19612 esac; \
19613 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19614 libsrcdir="$$s/libbacktrace"; \
19615 $(SHELL) $${libsrcdir}/configure \
19616 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19617 --target=${target_alias} $${srcdiroption} \
19618 --with-build-libsubdir=$(HOST_SUBDIR) \
19619 $(STAGE2_CONFIGURE_FLAGS)
19620 @endif libbacktrace-bootstrap
19622 .PHONY: configure-stage3-libbacktrace maybe-configure-stage3-libbacktrace
19623 maybe-configure-stage3-libbacktrace:
19624 @if libbacktrace-bootstrap
19625 maybe-configure-stage3-libbacktrace: configure-stage3-libbacktrace
19626 configure-stage3-libbacktrace:
19627 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19628 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19629 @r=`${PWD_COMMAND}`; export r; \
19630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19631 TFLAGS="$(STAGE3_TFLAGS)"; \
19632 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19633 $(HOST_EXPORTS) \
19634 $(POSTSTAGE1_HOST_EXPORTS) \
19635 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
19636 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
19637 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
19638 echo Configuring stage 3 in $(HOST_SUBDIR)/libbacktrace ; \
19639 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19640 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19641 case $(srcdir) in \
19642 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19643 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19644 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19645 esac; \
19646 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19647 libsrcdir="$$s/libbacktrace"; \
19648 $(SHELL) $${libsrcdir}/configure \
19649 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19650 --target=${target_alias} $${srcdiroption} \
19651 --with-build-libsubdir=$(HOST_SUBDIR) \
19652 $(STAGE3_CONFIGURE_FLAGS)
19653 @endif libbacktrace-bootstrap
19655 .PHONY: configure-stage4-libbacktrace maybe-configure-stage4-libbacktrace
19656 maybe-configure-stage4-libbacktrace:
19657 @if libbacktrace-bootstrap
19658 maybe-configure-stage4-libbacktrace: configure-stage4-libbacktrace
19659 configure-stage4-libbacktrace:
19660 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19661 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19662 @r=`${PWD_COMMAND}`; export r; \
19663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19664 TFLAGS="$(STAGE4_TFLAGS)"; \
19665 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19666 $(HOST_EXPORTS) \
19667 $(POSTSTAGE1_HOST_EXPORTS) \
19668 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
19669 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
19670 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
19671 echo Configuring stage 4 in $(HOST_SUBDIR)/libbacktrace ; \
19672 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19673 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19674 case $(srcdir) in \
19675 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19676 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19677 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19678 esac; \
19679 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19680 libsrcdir="$$s/libbacktrace"; \
19681 $(SHELL) $${libsrcdir}/configure \
19682 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19683 --target=${target_alias} $${srcdiroption} \
19684 --with-build-libsubdir=$(HOST_SUBDIR) \
19685 $(STAGE4_CONFIGURE_FLAGS)
19686 @endif libbacktrace-bootstrap
19688 .PHONY: configure-stageprofile-libbacktrace maybe-configure-stageprofile-libbacktrace
19689 maybe-configure-stageprofile-libbacktrace:
19690 @if libbacktrace-bootstrap
19691 maybe-configure-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
19692 configure-stageprofile-libbacktrace:
19693 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19694 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19695 @r=`${PWD_COMMAND}`; export r; \
19696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19697 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19698 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19699 $(HOST_EXPORTS) \
19700 $(POSTSTAGE1_HOST_EXPORTS) \
19701 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
19702 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
19703 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
19704 echo Configuring stage profile in $(HOST_SUBDIR)/libbacktrace ; \
19705 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19706 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19707 case $(srcdir) in \
19708 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19709 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19710 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19711 esac; \
19712 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19713 libsrcdir="$$s/libbacktrace"; \
19714 $(SHELL) $${libsrcdir}/configure \
19715 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19716 --target=${target_alias} $${srcdiroption} \
19717 --with-build-libsubdir=$(HOST_SUBDIR) \
19718 $(STAGEprofile_CONFIGURE_FLAGS)
19719 @endif libbacktrace-bootstrap
19721 .PHONY: configure-stagefeedback-libbacktrace maybe-configure-stagefeedback-libbacktrace
19722 maybe-configure-stagefeedback-libbacktrace:
19723 @if libbacktrace-bootstrap
19724 maybe-configure-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
19725 configure-stagefeedback-libbacktrace:
19726 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19727 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19728 @r=`${PWD_COMMAND}`; export r; \
19729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19730 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19731 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19732 $(HOST_EXPORTS) \
19733 $(POSTSTAGE1_HOST_EXPORTS) \
19734 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
19735 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
19736 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
19737 echo Configuring stage feedback in $(HOST_SUBDIR)/libbacktrace ; \
19738 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19739 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19740 case $(srcdir) in \
19741 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19742 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19743 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19744 esac; \
19745 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19746 libsrcdir="$$s/libbacktrace"; \
19747 $(SHELL) $${libsrcdir}/configure \
19748 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19749 --target=${target_alias} $${srcdiroption} \
19750 --with-build-libsubdir=$(HOST_SUBDIR) \
19751 $(STAGEfeedback_CONFIGURE_FLAGS)
19752 @endif libbacktrace-bootstrap
19758 .PHONY: all-libbacktrace maybe-all-libbacktrace
19759 maybe-all-libbacktrace:
19760 @if gcc-bootstrap
19761 all-libbacktrace: stage_current
19762 @endif gcc-bootstrap
19763 @if libbacktrace
19764 TARGET-libbacktrace=all
19765 maybe-all-libbacktrace: all-libbacktrace
19766 all-libbacktrace: configure-libbacktrace
19767 @r=`${PWD_COMMAND}`; export r; \
19768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19769 $(HOST_EXPORTS) \
19770 (cd $(HOST_SUBDIR)/libbacktrace && \
19771 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
19772 $(TARGET-libbacktrace))
19773 @endif libbacktrace
19777 .PHONY: all-stage1-libbacktrace maybe-all-stage1-libbacktrace
19778 .PHONY: clean-stage1-libbacktrace maybe-clean-stage1-libbacktrace
19779 maybe-all-stage1-libbacktrace:
19780 maybe-clean-stage1-libbacktrace:
19781 @if libbacktrace-bootstrap
19782 maybe-all-stage1-libbacktrace: all-stage1-libbacktrace
19783 all-stage1: all-stage1-libbacktrace
19784 TARGET-stage1-libbacktrace = $(TARGET-libbacktrace)
19785 all-stage1-libbacktrace: configure-stage1-libbacktrace
19786 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19787 @r=`${PWD_COMMAND}`; export r; \
19788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19789 TFLAGS="$(STAGE1_TFLAGS)"; \
19790 $(HOST_EXPORTS) \
19791 cd $(HOST_SUBDIR)/libbacktrace && \
19792 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19793 CFLAGS="$(STAGE1_CFLAGS)" \
19794 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
19795 LIBCFLAGS="$(LIBCFLAGS)" \
19796 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19797 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19798 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19799 $(EXTRA_HOST_FLAGS) \
19800 $(STAGE1_FLAGS_TO_PASS) \
19801 TFLAGS="$(STAGE1_TFLAGS)" \
19802 $(TARGET-stage1-libbacktrace)
19804 maybe-clean-stage1-libbacktrace: clean-stage1-libbacktrace
19805 clean-stage1: clean-stage1-libbacktrace
19806 clean-stage1-libbacktrace:
19807 @if [ $(current_stage) = stage1 ]; then \
19808 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19809 else \
19810 [ -f $(HOST_SUBDIR)/stage1-libbacktrace/Makefile ] || exit 0; \
19811 $(MAKE) stage1-start; \
19812 fi; \
19813 cd $(HOST_SUBDIR)/libbacktrace && \
19814 $(MAKE) $(EXTRA_HOST_FLAGS) \
19815 $(STAGE1_FLAGS_TO_PASS) clean
19816 @endif libbacktrace-bootstrap
19819 .PHONY: all-stage2-libbacktrace maybe-all-stage2-libbacktrace
19820 .PHONY: clean-stage2-libbacktrace maybe-clean-stage2-libbacktrace
19821 maybe-all-stage2-libbacktrace:
19822 maybe-clean-stage2-libbacktrace:
19823 @if libbacktrace-bootstrap
19824 maybe-all-stage2-libbacktrace: all-stage2-libbacktrace
19825 all-stage2: all-stage2-libbacktrace
19826 TARGET-stage2-libbacktrace = $(TARGET-libbacktrace)
19827 all-stage2-libbacktrace: configure-stage2-libbacktrace
19828 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19829 @r=`${PWD_COMMAND}`; export r; \
19830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19831 TFLAGS="$(STAGE2_TFLAGS)"; \
19832 $(HOST_EXPORTS) \
19833 $(POSTSTAGE1_HOST_EXPORTS) \
19834 cd $(HOST_SUBDIR)/libbacktrace && \
19835 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19836 CFLAGS="$(STAGE2_CFLAGS)" \
19837 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
19838 LIBCFLAGS="$(STAGE2_CFLAGS)" \
19839 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19840 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19841 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19842 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19843 TFLAGS="$(STAGE2_TFLAGS)" \
19844 $(TARGET-stage2-libbacktrace)
19846 maybe-clean-stage2-libbacktrace: clean-stage2-libbacktrace
19847 clean-stage2: clean-stage2-libbacktrace
19848 clean-stage2-libbacktrace:
19849 @if [ $(current_stage) = stage2 ]; then \
19850 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19851 else \
19852 [ -f $(HOST_SUBDIR)/stage2-libbacktrace/Makefile ] || exit 0; \
19853 $(MAKE) stage2-start; \
19854 fi; \
19855 cd $(HOST_SUBDIR)/libbacktrace && \
19856 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19857 @endif libbacktrace-bootstrap
19860 .PHONY: all-stage3-libbacktrace maybe-all-stage3-libbacktrace
19861 .PHONY: clean-stage3-libbacktrace maybe-clean-stage3-libbacktrace
19862 maybe-all-stage3-libbacktrace:
19863 maybe-clean-stage3-libbacktrace:
19864 @if libbacktrace-bootstrap
19865 maybe-all-stage3-libbacktrace: all-stage3-libbacktrace
19866 all-stage3: all-stage3-libbacktrace
19867 TARGET-stage3-libbacktrace = $(TARGET-libbacktrace)
19868 all-stage3-libbacktrace: configure-stage3-libbacktrace
19869 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19870 @r=`${PWD_COMMAND}`; export r; \
19871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19872 TFLAGS="$(STAGE3_TFLAGS)"; \
19873 $(HOST_EXPORTS) \
19874 $(POSTSTAGE1_HOST_EXPORTS) \
19875 cd $(HOST_SUBDIR)/libbacktrace && \
19876 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19877 CFLAGS="$(STAGE3_CFLAGS)" \
19878 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
19879 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19880 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19881 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19882 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19883 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19884 TFLAGS="$(STAGE3_TFLAGS)" \
19885 $(TARGET-stage3-libbacktrace)
19887 maybe-clean-stage3-libbacktrace: clean-stage3-libbacktrace
19888 clean-stage3: clean-stage3-libbacktrace
19889 clean-stage3-libbacktrace:
19890 @if [ $(current_stage) = stage3 ]; then \
19891 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19892 else \
19893 [ -f $(HOST_SUBDIR)/stage3-libbacktrace/Makefile ] || exit 0; \
19894 $(MAKE) stage3-start; \
19895 fi; \
19896 cd $(HOST_SUBDIR)/libbacktrace && \
19897 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19898 @endif libbacktrace-bootstrap
19901 .PHONY: all-stage4-libbacktrace maybe-all-stage4-libbacktrace
19902 .PHONY: clean-stage4-libbacktrace maybe-clean-stage4-libbacktrace
19903 maybe-all-stage4-libbacktrace:
19904 maybe-clean-stage4-libbacktrace:
19905 @if libbacktrace-bootstrap
19906 maybe-all-stage4-libbacktrace: all-stage4-libbacktrace
19907 all-stage4: all-stage4-libbacktrace
19908 TARGET-stage4-libbacktrace = $(TARGET-libbacktrace)
19909 all-stage4-libbacktrace: configure-stage4-libbacktrace
19910 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19911 @r=`${PWD_COMMAND}`; export r; \
19912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19913 TFLAGS="$(STAGE4_TFLAGS)"; \
19914 $(HOST_EXPORTS) \
19915 $(POSTSTAGE1_HOST_EXPORTS) \
19916 cd $(HOST_SUBDIR)/libbacktrace && \
19917 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19918 CFLAGS="$(STAGE4_CFLAGS)" \
19919 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19920 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19921 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19922 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19923 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19924 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19925 TFLAGS="$(STAGE4_TFLAGS)" \
19926 $(TARGET-stage4-libbacktrace)
19928 maybe-clean-stage4-libbacktrace: clean-stage4-libbacktrace
19929 clean-stage4: clean-stage4-libbacktrace
19930 clean-stage4-libbacktrace:
19931 @if [ $(current_stage) = stage4 ]; then \
19932 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19933 else \
19934 [ -f $(HOST_SUBDIR)/stage4-libbacktrace/Makefile ] || exit 0; \
19935 $(MAKE) stage4-start; \
19936 fi; \
19937 cd $(HOST_SUBDIR)/libbacktrace && \
19938 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19939 @endif libbacktrace-bootstrap
19942 .PHONY: all-stageprofile-libbacktrace maybe-all-stageprofile-libbacktrace
19943 .PHONY: clean-stageprofile-libbacktrace maybe-clean-stageprofile-libbacktrace
19944 maybe-all-stageprofile-libbacktrace:
19945 maybe-clean-stageprofile-libbacktrace:
19946 @if libbacktrace-bootstrap
19947 maybe-all-stageprofile-libbacktrace: all-stageprofile-libbacktrace
19948 all-stageprofile: all-stageprofile-libbacktrace
19949 TARGET-stageprofile-libbacktrace = $(TARGET-libbacktrace)
19950 all-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
19951 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19952 @r=`${PWD_COMMAND}`; export r; \
19953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19954 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19955 $(HOST_EXPORTS) \
19956 $(POSTSTAGE1_HOST_EXPORTS) \
19957 cd $(HOST_SUBDIR)/libbacktrace && \
19958 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19959 CFLAGS="$(STAGEprofile_CFLAGS)" \
19960 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
19961 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
19962 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19963 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19964 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19965 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19966 TFLAGS="$(STAGEprofile_TFLAGS)" \
19967 $(TARGET-stageprofile-libbacktrace)
19969 maybe-clean-stageprofile-libbacktrace: clean-stageprofile-libbacktrace
19970 clean-stageprofile: clean-stageprofile-libbacktrace
19971 clean-stageprofile-libbacktrace:
19972 @if [ $(current_stage) = stageprofile ]; then \
19973 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19974 else \
19975 [ -f $(HOST_SUBDIR)/stageprofile-libbacktrace/Makefile ] || exit 0; \
19976 $(MAKE) stageprofile-start; \
19977 fi; \
19978 cd $(HOST_SUBDIR)/libbacktrace && \
19979 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19980 @endif libbacktrace-bootstrap
19983 .PHONY: all-stagefeedback-libbacktrace maybe-all-stagefeedback-libbacktrace
19984 .PHONY: clean-stagefeedback-libbacktrace maybe-clean-stagefeedback-libbacktrace
19985 maybe-all-stagefeedback-libbacktrace:
19986 maybe-clean-stagefeedback-libbacktrace:
19987 @if libbacktrace-bootstrap
19988 maybe-all-stagefeedback-libbacktrace: all-stagefeedback-libbacktrace
19989 all-stagefeedback: all-stagefeedback-libbacktrace
19990 TARGET-stagefeedback-libbacktrace = $(TARGET-libbacktrace)
19991 all-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
19992 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19993 @r=`${PWD_COMMAND}`; export r; \
19994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19995 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19996 $(HOST_EXPORTS) \
19997 $(POSTSTAGE1_HOST_EXPORTS) \
19998 cd $(HOST_SUBDIR)/libbacktrace && \
19999 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20000 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20001 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
20002 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20003 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20004 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20005 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20006 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20007 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20008 $(TARGET-stagefeedback-libbacktrace)
20010 maybe-clean-stagefeedback-libbacktrace: clean-stagefeedback-libbacktrace
20011 clean-stagefeedback: clean-stagefeedback-libbacktrace
20012 clean-stagefeedback-libbacktrace:
20013 @if [ $(current_stage) = stagefeedback ]; then \
20014 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
20015 else \
20016 [ -f $(HOST_SUBDIR)/stagefeedback-libbacktrace/Makefile ] || exit 0; \
20017 $(MAKE) stagefeedback-start; \
20018 fi; \
20019 cd $(HOST_SUBDIR)/libbacktrace && \
20020 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20021 @endif libbacktrace-bootstrap
20027 .PHONY: check-libbacktrace maybe-check-libbacktrace
20028 maybe-check-libbacktrace:
20029 @if libbacktrace
20030 maybe-check-libbacktrace: check-libbacktrace
20032 check-libbacktrace:
20033 @: $(MAKE); $(unstage)
20034 @r=`${PWD_COMMAND}`; export r; \
20035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20036 $(HOST_EXPORTS) \
20037 (cd $(HOST_SUBDIR)/libbacktrace && \
20038 $(MAKE) $(FLAGS_TO_PASS) check)
20040 @endif libbacktrace
20042 .PHONY: install-libbacktrace maybe-install-libbacktrace
20043 maybe-install-libbacktrace:
20044 @if libbacktrace
20045 maybe-install-libbacktrace: install-libbacktrace
20047 install-libbacktrace: installdirs
20048 @: $(MAKE); $(unstage)
20049 @r=`${PWD_COMMAND}`; export r; \
20050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20051 $(HOST_EXPORTS) \
20052 (cd $(HOST_SUBDIR)/libbacktrace && \
20053 $(MAKE) $(FLAGS_TO_PASS) install)
20055 @endif libbacktrace
20057 .PHONY: install-strip-libbacktrace maybe-install-strip-libbacktrace
20058 maybe-install-strip-libbacktrace:
20059 @if libbacktrace
20060 maybe-install-strip-libbacktrace: install-strip-libbacktrace
20062 install-strip-libbacktrace: installdirs
20063 @: $(MAKE); $(unstage)
20064 @r=`${PWD_COMMAND}`; export r; \
20065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20066 $(HOST_EXPORTS) \
20067 (cd $(HOST_SUBDIR)/libbacktrace && \
20068 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20070 @endif libbacktrace
20072 # Other targets (info, dvi, pdf, etc.)
20074 .PHONY: maybe-info-libbacktrace info-libbacktrace
20075 maybe-info-libbacktrace:
20076 @if libbacktrace
20077 maybe-info-libbacktrace: info-libbacktrace
20079 info-libbacktrace: \
20080 configure-libbacktrace
20081 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20082 r=`${PWD_COMMAND}`; export r; \
20083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20084 $(HOST_EXPORTS) \
20085 for flag in $(EXTRA_HOST_FLAGS) ; do \
20086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20087 done; \
20088 echo "Doing info in libbacktrace" ; \
20089 (cd $(HOST_SUBDIR)/libbacktrace && \
20090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20092 "RANLIB=$${RANLIB}" \
20093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20094 info) \
20095 || exit 1
20097 @endif libbacktrace
20099 .PHONY: maybe-dvi-libbacktrace dvi-libbacktrace
20100 maybe-dvi-libbacktrace:
20101 @if libbacktrace
20102 maybe-dvi-libbacktrace: dvi-libbacktrace
20104 dvi-libbacktrace: \
20105 configure-libbacktrace
20106 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20107 r=`${PWD_COMMAND}`; export r; \
20108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20109 $(HOST_EXPORTS) \
20110 for flag in $(EXTRA_HOST_FLAGS) ; do \
20111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20112 done; \
20113 echo "Doing dvi in libbacktrace" ; \
20114 (cd $(HOST_SUBDIR)/libbacktrace && \
20115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20117 "RANLIB=$${RANLIB}" \
20118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20119 dvi) \
20120 || exit 1
20122 @endif libbacktrace
20124 .PHONY: maybe-pdf-libbacktrace pdf-libbacktrace
20125 maybe-pdf-libbacktrace:
20126 @if libbacktrace
20127 maybe-pdf-libbacktrace: pdf-libbacktrace
20129 pdf-libbacktrace: \
20130 configure-libbacktrace
20131 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20132 r=`${PWD_COMMAND}`; export r; \
20133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20134 $(HOST_EXPORTS) \
20135 for flag in $(EXTRA_HOST_FLAGS) ; do \
20136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20137 done; \
20138 echo "Doing pdf in libbacktrace" ; \
20139 (cd $(HOST_SUBDIR)/libbacktrace && \
20140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20142 "RANLIB=$${RANLIB}" \
20143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20144 pdf) \
20145 || exit 1
20147 @endif libbacktrace
20149 .PHONY: maybe-html-libbacktrace html-libbacktrace
20150 maybe-html-libbacktrace:
20151 @if libbacktrace
20152 maybe-html-libbacktrace: html-libbacktrace
20154 html-libbacktrace: \
20155 configure-libbacktrace
20156 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20157 r=`${PWD_COMMAND}`; export r; \
20158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20159 $(HOST_EXPORTS) \
20160 for flag in $(EXTRA_HOST_FLAGS) ; do \
20161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20162 done; \
20163 echo "Doing html in libbacktrace" ; \
20164 (cd $(HOST_SUBDIR)/libbacktrace && \
20165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20167 "RANLIB=$${RANLIB}" \
20168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20169 html) \
20170 || exit 1
20172 @endif libbacktrace
20174 .PHONY: maybe-TAGS-libbacktrace TAGS-libbacktrace
20175 maybe-TAGS-libbacktrace:
20176 @if libbacktrace
20177 maybe-TAGS-libbacktrace: TAGS-libbacktrace
20179 TAGS-libbacktrace: \
20180 configure-libbacktrace
20181 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20182 r=`${PWD_COMMAND}`; export r; \
20183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20184 $(HOST_EXPORTS) \
20185 for flag in $(EXTRA_HOST_FLAGS) ; do \
20186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20187 done; \
20188 echo "Doing TAGS in libbacktrace" ; \
20189 (cd $(HOST_SUBDIR)/libbacktrace && \
20190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20192 "RANLIB=$${RANLIB}" \
20193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20194 TAGS) \
20195 || exit 1
20197 @endif libbacktrace
20199 .PHONY: maybe-install-info-libbacktrace install-info-libbacktrace
20200 maybe-install-info-libbacktrace:
20201 @if libbacktrace
20202 maybe-install-info-libbacktrace: install-info-libbacktrace
20204 install-info-libbacktrace: \
20205 configure-libbacktrace \
20206 info-libbacktrace
20207 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20208 r=`${PWD_COMMAND}`; export r; \
20209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20210 $(HOST_EXPORTS) \
20211 for flag in $(EXTRA_HOST_FLAGS) ; do \
20212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20213 done; \
20214 echo "Doing install-info in libbacktrace" ; \
20215 (cd $(HOST_SUBDIR)/libbacktrace && \
20216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20218 "RANLIB=$${RANLIB}" \
20219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20220 install-info) \
20221 || exit 1
20223 @endif libbacktrace
20225 .PHONY: maybe-install-pdf-libbacktrace install-pdf-libbacktrace
20226 maybe-install-pdf-libbacktrace:
20227 @if libbacktrace
20228 maybe-install-pdf-libbacktrace: install-pdf-libbacktrace
20230 install-pdf-libbacktrace: \
20231 configure-libbacktrace \
20232 pdf-libbacktrace
20233 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20234 r=`${PWD_COMMAND}`; export r; \
20235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20236 $(HOST_EXPORTS) \
20237 for flag in $(EXTRA_HOST_FLAGS) ; do \
20238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20239 done; \
20240 echo "Doing install-pdf in libbacktrace" ; \
20241 (cd $(HOST_SUBDIR)/libbacktrace && \
20242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20244 "RANLIB=$${RANLIB}" \
20245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20246 install-pdf) \
20247 || exit 1
20249 @endif libbacktrace
20251 .PHONY: maybe-install-html-libbacktrace install-html-libbacktrace
20252 maybe-install-html-libbacktrace:
20253 @if libbacktrace
20254 maybe-install-html-libbacktrace: install-html-libbacktrace
20256 install-html-libbacktrace: \
20257 configure-libbacktrace \
20258 html-libbacktrace
20259 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20260 r=`${PWD_COMMAND}`; export r; \
20261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20262 $(HOST_EXPORTS) \
20263 for flag in $(EXTRA_HOST_FLAGS) ; do \
20264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20265 done; \
20266 echo "Doing install-html in libbacktrace" ; \
20267 (cd $(HOST_SUBDIR)/libbacktrace && \
20268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20270 "RANLIB=$${RANLIB}" \
20271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20272 install-html) \
20273 || exit 1
20275 @endif libbacktrace
20277 .PHONY: maybe-installcheck-libbacktrace installcheck-libbacktrace
20278 maybe-installcheck-libbacktrace:
20279 @if libbacktrace
20280 maybe-installcheck-libbacktrace: installcheck-libbacktrace
20282 installcheck-libbacktrace: \
20283 configure-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 installcheck 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 installcheck) \
20298 || exit 1
20300 @endif libbacktrace
20302 .PHONY: maybe-mostlyclean-libbacktrace mostlyclean-libbacktrace
20303 maybe-mostlyclean-libbacktrace:
20304 @if libbacktrace
20305 maybe-mostlyclean-libbacktrace: mostlyclean-libbacktrace
20307 mostlyclean-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 mostlyclean 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 mostlyclean) \
20322 || exit 1
20324 @endif libbacktrace
20326 .PHONY: maybe-clean-libbacktrace clean-libbacktrace
20327 maybe-clean-libbacktrace:
20328 @if libbacktrace
20329 maybe-clean-libbacktrace: clean-libbacktrace
20331 clean-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 clean 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 clean) \
20346 || exit 1
20348 @endif libbacktrace
20350 .PHONY: maybe-distclean-libbacktrace distclean-libbacktrace
20351 maybe-distclean-libbacktrace:
20352 @if libbacktrace
20353 maybe-distclean-libbacktrace: distclean-libbacktrace
20355 distclean-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 distclean 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 distclean) \
20370 || exit 1
20372 @endif libbacktrace
20374 .PHONY: maybe-maintainer-clean-libbacktrace maintainer-clean-libbacktrace
20375 maybe-maintainer-clean-libbacktrace:
20376 @if libbacktrace
20377 maybe-maintainer-clean-libbacktrace: maintainer-clean-libbacktrace
20379 maintainer-clean-libbacktrace:
20380 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20381 r=`${PWD_COMMAND}`; export r; \
20382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20383 $(HOST_EXPORTS) \
20384 for flag in $(EXTRA_HOST_FLAGS) ; do \
20385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20386 done; \
20387 echo "Doing maintainer-clean in libbacktrace" ; \
20388 (cd $(HOST_SUBDIR)/libbacktrace && \
20389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20391 "RANLIB=$${RANLIB}" \
20392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20393 maintainer-clean) \
20394 || exit 1
20396 @endif libbacktrace
20400 .PHONY: configure-libcpp maybe-configure-libcpp
20401 maybe-configure-libcpp:
20402 @if gcc-bootstrap
20403 configure-libcpp: stage_current
20404 @endif gcc-bootstrap
20405 @if libcpp
20406 maybe-configure-libcpp: configure-libcpp
20407 configure-libcpp:
20408 @r=`${PWD_COMMAND}`; export r; \
20409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20410 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20411 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20412 $(HOST_EXPORTS) \
20413 echo Configuring in $(HOST_SUBDIR)/libcpp; \
20414 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
20415 case $(srcdir) in \
20416 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20417 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20418 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20419 esac; \
20420 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20421 libsrcdir="$$s/libcpp"; \
20422 $(SHELL) $${libsrcdir}/configure \
20423 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20424 --target=${target_alias} $${srcdiroption} \
20425 || exit 1
20426 @endif libcpp
20430 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
20431 maybe-configure-stage1-libcpp:
20432 @if libcpp-bootstrap
20433 maybe-configure-stage1-libcpp: configure-stage1-libcpp
20434 configure-stage1-libcpp:
20435 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20436 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20437 @r=`${PWD_COMMAND}`; export r; \
20438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20439 TFLAGS="$(STAGE1_TFLAGS)"; \
20440 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20441 $(HOST_EXPORTS) \
20442 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
20443 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
20444 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
20445 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
20446 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20447 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20448 case $(srcdir) in \
20449 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20450 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20451 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20452 esac; \
20453 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20454 libsrcdir="$$s/libcpp"; \
20455 $(SHELL) $${libsrcdir}/configure \
20456 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20457 --target=${target_alias} $${srcdiroption} \
20458 $(STAGE1_CONFIGURE_FLAGS)
20459 @endif libcpp-bootstrap
20461 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
20462 maybe-configure-stage2-libcpp:
20463 @if libcpp-bootstrap
20464 maybe-configure-stage2-libcpp: configure-stage2-libcpp
20465 configure-stage2-libcpp:
20466 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20467 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20468 @r=`${PWD_COMMAND}`; export r; \
20469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20470 TFLAGS="$(STAGE2_TFLAGS)"; \
20471 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20472 $(HOST_EXPORTS) \
20473 $(POSTSTAGE1_HOST_EXPORTS) \
20474 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
20475 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
20476 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
20477 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
20478 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20479 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20480 case $(srcdir) in \
20481 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20482 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20483 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20484 esac; \
20485 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20486 libsrcdir="$$s/libcpp"; \
20487 $(SHELL) $${libsrcdir}/configure \
20488 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20489 --target=${target_alias} $${srcdiroption} \
20490 --with-build-libsubdir=$(HOST_SUBDIR) \
20491 $(STAGE2_CONFIGURE_FLAGS)
20492 @endif libcpp-bootstrap
20494 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
20495 maybe-configure-stage3-libcpp:
20496 @if libcpp-bootstrap
20497 maybe-configure-stage3-libcpp: configure-stage3-libcpp
20498 configure-stage3-libcpp:
20499 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20500 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20501 @r=`${PWD_COMMAND}`; export r; \
20502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20503 TFLAGS="$(STAGE3_TFLAGS)"; \
20504 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20505 $(HOST_EXPORTS) \
20506 $(POSTSTAGE1_HOST_EXPORTS) \
20507 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
20508 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
20509 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
20510 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
20511 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20512 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20513 case $(srcdir) in \
20514 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20515 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20516 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20517 esac; \
20518 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20519 libsrcdir="$$s/libcpp"; \
20520 $(SHELL) $${libsrcdir}/configure \
20521 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20522 --target=${target_alias} $${srcdiroption} \
20523 --with-build-libsubdir=$(HOST_SUBDIR) \
20524 $(STAGE3_CONFIGURE_FLAGS)
20525 @endif libcpp-bootstrap
20527 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
20528 maybe-configure-stage4-libcpp:
20529 @if libcpp-bootstrap
20530 maybe-configure-stage4-libcpp: configure-stage4-libcpp
20531 configure-stage4-libcpp:
20532 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20533 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20534 @r=`${PWD_COMMAND}`; export r; \
20535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20536 TFLAGS="$(STAGE4_TFLAGS)"; \
20537 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20538 $(HOST_EXPORTS) \
20539 $(POSTSTAGE1_HOST_EXPORTS) \
20540 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
20541 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
20542 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
20543 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
20544 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20545 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20546 case $(srcdir) in \
20547 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20548 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20549 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20550 esac; \
20551 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20552 libsrcdir="$$s/libcpp"; \
20553 $(SHELL) $${libsrcdir}/configure \
20554 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20555 --target=${target_alias} $${srcdiroption} \
20556 --with-build-libsubdir=$(HOST_SUBDIR) \
20557 $(STAGE4_CONFIGURE_FLAGS)
20558 @endif libcpp-bootstrap
20560 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
20561 maybe-configure-stageprofile-libcpp:
20562 @if libcpp-bootstrap
20563 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
20564 configure-stageprofile-libcpp:
20565 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20566 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20567 @r=`${PWD_COMMAND}`; export r; \
20568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20569 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20570 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20571 $(HOST_EXPORTS) \
20572 $(POSTSTAGE1_HOST_EXPORTS) \
20573 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
20574 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
20575 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
20576 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
20577 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20578 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20579 case $(srcdir) in \
20580 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20581 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20582 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20583 esac; \
20584 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20585 libsrcdir="$$s/libcpp"; \
20586 $(SHELL) $${libsrcdir}/configure \
20587 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20588 --target=${target_alias} $${srcdiroption} \
20589 --with-build-libsubdir=$(HOST_SUBDIR) \
20590 $(STAGEprofile_CONFIGURE_FLAGS)
20591 @endif libcpp-bootstrap
20593 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
20594 maybe-configure-stagefeedback-libcpp:
20595 @if libcpp-bootstrap
20596 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
20597 configure-stagefeedback-libcpp:
20598 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20599 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20600 @r=`${PWD_COMMAND}`; export r; \
20601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20602 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20603 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20604 $(HOST_EXPORTS) \
20605 $(POSTSTAGE1_HOST_EXPORTS) \
20606 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
20607 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
20608 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
20609 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
20610 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20611 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20612 case $(srcdir) in \
20613 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20614 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20615 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20616 esac; \
20617 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20618 libsrcdir="$$s/libcpp"; \
20619 $(SHELL) $${libsrcdir}/configure \
20620 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20621 --target=${target_alias} $${srcdiroption} \
20622 --with-build-libsubdir=$(HOST_SUBDIR) \
20623 $(STAGEfeedback_CONFIGURE_FLAGS)
20624 @endif libcpp-bootstrap
20630 .PHONY: all-libcpp maybe-all-libcpp
20631 maybe-all-libcpp:
20632 @if gcc-bootstrap
20633 all-libcpp: stage_current
20634 @endif gcc-bootstrap
20635 @if libcpp
20636 TARGET-libcpp=all
20637 maybe-all-libcpp: all-libcpp
20638 all-libcpp: configure-libcpp
20639 @r=`${PWD_COMMAND}`; export r; \
20640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20641 $(HOST_EXPORTS) \
20642 (cd $(HOST_SUBDIR)/libcpp && \
20643 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
20644 $(TARGET-libcpp))
20645 @endif libcpp
20649 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
20650 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
20651 maybe-all-stage1-libcpp:
20652 maybe-clean-stage1-libcpp:
20653 @if libcpp-bootstrap
20654 maybe-all-stage1-libcpp: all-stage1-libcpp
20655 all-stage1: all-stage1-libcpp
20656 TARGET-stage1-libcpp = $(TARGET-libcpp)
20657 all-stage1-libcpp: configure-stage1-libcpp
20658 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20659 @r=`${PWD_COMMAND}`; export r; \
20660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20661 TFLAGS="$(STAGE1_TFLAGS)"; \
20662 $(HOST_EXPORTS) \
20663 cd $(HOST_SUBDIR)/libcpp && \
20664 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20665 CFLAGS="$(STAGE1_CFLAGS)" \
20666 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
20667 LIBCFLAGS="$(LIBCFLAGS)" \
20668 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20669 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20670 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20671 $(EXTRA_HOST_FLAGS) \
20672 $(STAGE1_FLAGS_TO_PASS) \
20673 TFLAGS="$(STAGE1_TFLAGS)" \
20674 $(TARGET-stage1-libcpp)
20676 maybe-clean-stage1-libcpp: clean-stage1-libcpp
20677 clean-stage1: clean-stage1-libcpp
20678 clean-stage1-libcpp:
20679 @if [ $(current_stage) = stage1 ]; then \
20680 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20681 else \
20682 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
20683 $(MAKE) stage1-start; \
20684 fi; \
20685 cd $(HOST_SUBDIR)/libcpp && \
20686 $(MAKE) $(EXTRA_HOST_FLAGS) \
20687 $(STAGE1_FLAGS_TO_PASS) clean
20688 @endif libcpp-bootstrap
20691 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
20692 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
20693 maybe-all-stage2-libcpp:
20694 maybe-clean-stage2-libcpp:
20695 @if libcpp-bootstrap
20696 maybe-all-stage2-libcpp: all-stage2-libcpp
20697 all-stage2: all-stage2-libcpp
20698 TARGET-stage2-libcpp = $(TARGET-libcpp)
20699 all-stage2-libcpp: configure-stage2-libcpp
20700 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20701 @r=`${PWD_COMMAND}`; export r; \
20702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20703 TFLAGS="$(STAGE2_TFLAGS)"; \
20704 $(HOST_EXPORTS) \
20705 $(POSTSTAGE1_HOST_EXPORTS) \
20706 cd $(HOST_SUBDIR)/libcpp && \
20707 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20708 CFLAGS="$(STAGE2_CFLAGS)" \
20709 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
20710 LIBCFLAGS="$(STAGE2_CFLAGS)" \
20711 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20712 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20713 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20714 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20715 TFLAGS="$(STAGE2_TFLAGS)" \
20716 $(TARGET-stage2-libcpp)
20718 maybe-clean-stage2-libcpp: clean-stage2-libcpp
20719 clean-stage2: clean-stage2-libcpp
20720 clean-stage2-libcpp:
20721 @if [ $(current_stage) = stage2 ]; then \
20722 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20723 else \
20724 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
20725 $(MAKE) stage2-start; \
20726 fi; \
20727 cd $(HOST_SUBDIR)/libcpp && \
20728 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20729 @endif libcpp-bootstrap
20732 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
20733 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
20734 maybe-all-stage3-libcpp:
20735 maybe-clean-stage3-libcpp:
20736 @if libcpp-bootstrap
20737 maybe-all-stage3-libcpp: all-stage3-libcpp
20738 all-stage3: all-stage3-libcpp
20739 TARGET-stage3-libcpp = $(TARGET-libcpp)
20740 all-stage3-libcpp: configure-stage3-libcpp
20741 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20742 @r=`${PWD_COMMAND}`; export r; \
20743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20744 TFLAGS="$(STAGE3_TFLAGS)"; \
20745 $(HOST_EXPORTS) \
20746 $(POSTSTAGE1_HOST_EXPORTS) \
20747 cd $(HOST_SUBDIR)/libcpp && \
20748 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20749 CFLAGS="$(STAGE3_CFLAGS)" \
20750 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
20751 LIBCFLAGS="$(STAGE3_CFLAGS)" \
20752 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20753 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20754 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20755 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20756 TFLAGS="$(STAGE3_TFLAGS)" \
20757 $(TARGET-stage3-libcpp)
20759 maybe-clean-stage3-libcpp: clean-stage3-libcpp
20760 clean-stage3: clean-stage3-libcpp
20761 clean-stage3-libcpp:
20762 @if [ $(current_stage) = stage3 ]; then \
20763 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20764 else \
20765 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
20766 $(MAKE) stage3-start; \
20767 fi; \
20768 cd $(HOST_SUBDIR)/libcpp && \
20769 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20770 @endif libcpp-bootstrap
20773 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
20774 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
20775 maybe-all-stage4-libcpp:
20776 maybe-clean-stage4-libcpp:
20777 @if libcpp-bootstrap
20778 maybe-all-stage4-libcpp: all-stage4-libcpp
20779 all-stage4: all-stage4-libcpp
20780 TARGET-stage4-libcpp = $(TARGET-libcpp)
20781 all-stage4-libcpp: configure-stage4-libcpp
20782 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20783 @r=`${PWD_COMMAND}`; export r; \
20784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20785 TFLAGS="$(STAGE4_TFLAGS)"; \
20786 $(HOST_EXPORTS) \
20787 $(POSTSTAGE1_HOST_EXPORTS) \
20788 cd $(HOST_SUBDIR)/libcpp && \
20789 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20790 CFLAGS="$(STAGE4_CFLAGS)" \
20791 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
20792 LIBCFLAGS="$(STAGE4_CFLAGS)" \
20793 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20794 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20795 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20796 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20797 TFLAGS="$(STAGE4_TFLAGS)" \
20798 $(TARGET-stage4-libcpp)
20800 maybe-clean-stage4-libcpp: clean-stage4-libcpp
20801 clean-stage4: clean-stage4-libcpp
20802 clean-stage4-libcpp:
20803 @if [ $(current_stage) = stage4 ]; then \
20804 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20805 else \
20806 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
20807 $(MAKE) stage4-start; \
20808 fi; \
20809 cd $(HOST_SUBDIR)/libcpp && \
20810 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20811 @endif libcpp-bootstrap
20814 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
20815 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
20816 maybe-all-stageprofile-libcpp:
20817 maybe-clean-stageprofile-libcpp:
20818 @if libcpp-bootstrap
20819 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
20820 all-stageprofile: all-stageprofile-libcpp
20821 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
20822 all-stageprofile-libcpp: configure-stageprofile-libcpp
20823 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20824 @r=`${PWD_COMMAND}`; export r; \
20825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20826 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20827 $(HOST_EXPORTS) \
20828 $(POSTSTAGE1_HOST_EXPORTS) \
20829 cd $(HOST_SUBDIR)/libcpp && \
20830 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20831 CFLAGS="$(STAGEprofile_CFLAGS)" \
20832 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
20833 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
20834 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20835 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20836 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20837 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20838 TFLAGS="$(STAGEprofile_TFLAGS)" \
20839 $(TARGET-stageprofile-libcpp)
20841 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
20842 clean-stageprofile: clean-stageprofile-libcpp
20843 clean-stageprofile-libcpp:
20844 @if [ $(current_stage) = stageprofile ]; then \
20845 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20846 else \
20847 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
20848 $(MAKE) stageprofile-start; \
20849 fi; \
20850 cd $(HOST_SUBDIR)/libcpp && \
20851 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20852 @endif libcpp-bootstrap
20855 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
20856 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
20857 maybe-all-stagefeedback-libcpp:
20858 maybe-clean-stagefeedback-libcpp:
20859 @if libcpp-bootstrap
20860 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
20861 all-stagefeedback: all-stagefeedback-libcpp
20862 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
20863 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
20864 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20865 @r=`${PWD_COMMAND}`; export r; \
20866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20867 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20868 $(HOST_EXPORTS) \
20869 $(POSTSTAGE1_HOST_EXPORTS) \
20870 cd $(HOST_SUBDIR)/libcpp && \
20871 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20872 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20873 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
20874 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20875 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20876 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20877 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20878 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20879 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20880 $(TARGET-stagefeedback-libcpp)
20882 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
20883 clean-stagefeedback: clean-stagefeedback-libcpp
20884 clean-stagefeedback-libcpp:
20885 @if [ $(current_stage) = stagefeedback ]; then \
20886 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20887 else \
20888 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
20889 $(MAKE) stagefeedback-start; \
20890 fi; \
20891 cd $(HOST_SUBDIR)/libcpp && \
20892 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20893 @endif libcpp-bootstrap
20899 .PHONY: check-libcpp maybe-check-libcpp
20900 maybe-check-libcpp:
20901 @if libcpp
20902 maybe-check-libcpp: check-libcpp
20904 check-libcpp:
20905 @: $(MAKE); $(unstage)
20906 @r=`${PWD_COMMAND}`; export r; \
20907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20908 $(HOST_EXPORTS) \
20909 (cd $(HOST_SUBDIR)/libcpp && \
20910 $(MAKE) $(FLAGS_TO_PASS) check)
20912 @endif libcpp
20914 .PHONY: install-libcpp maybe-install-libcpp
20915 maybe-install-libcpp:
20916 @if libcpp
20917 maybe-install-libcpp: install-libcpp
20919 install-libcpp: installdirs
20920 @: $(MAKE); $(unstage)
20921 @r=`${PWD_COMMAND}`; export r; \
20922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20923 $(HOST_EXPORTS) \
20924 (cd $(HOST_SUBDIR)/libcpp && \
20925 $(MAKE) $(FLAGS_TO_PASS) install)
20927 @endif libcpp
20929 .PHONY: install-strip-libcpp maybe-install-strip-libcpp
20930 maybe-install-strip-libcpp:
20931 @if libcpp
20932 maybe-install-strip-libcpp: install-strip-libcpp
20934 install-strip-libcpp: installdirs
20935 @: $(MAKE); $(unstage)
20936 @r=`${PWD_COMMAND}`; export r; \
20937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20938 $(HOST_EXPORTS) \
20939 (cd $(HOST_SUBDIR)/libcpp && \
20940 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20942 @endif libcpp
20944 # Other targets (info, dvi, pdf, etc.)
20946 .PHONY: maybe-info-libcpp info-libcpp
20947 maybe-info-libcpp:
20948 @if libcpp
20949 maybe-info-libcpp: info-libcpp
20951 info-libcpp: \
20952 configure-libcpp
20953 @[ -f ./libcpp/Makefile ] || exit 0; \
20954 r=`${PWD_COMMAND}`; export r; \
20955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20956 $(HOST_EXPORTS) \
20957 for flag in $(EXTRA_HOST_FLAGS) ; do \
20958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20959 done; \
20960 echo "Doing info in libcpp" ; \
20961 (cd $(HOST_SUBDIR)/libcpp && \
20962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20964 "RANLIB=$${RANLIB}" \
20965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20966 info) \
20967 || exit 1
20969 @endif libcpp
20971 .PHONY: maybe-dvi-libcpp dvi-libcpp
20972 maybe-dvi-libcpp:
20973 @if libcpp
20974 maybe-dvi-libcpp: dvi-libcpp
20976 dvi-libcpp: \
20977 configure-libcpp
20978 @[ -f ./libcpp/Makefile ] || exit 0; \
20979 r=`${PWD_COMMAND}`; export r; \
20980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20981 $(HOST_EXPORTS) \
20982 for flag in $(EXTRA_HOST_FLAGS) ; do \
20983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20984 done; \
20985 echo "Doing dvi in libcpp" ; \
20986 (cd $(HOST_SUBDIR)/libcpp && \
20987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20989 "RANLIB=$${RANLIB}" \
20990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20991 dvi) \
20992 || exit 1
20994 @endif libcpp
20996 .PHONY: maybe-pdf-libcpp pdf-libcpp
20997 maybe-pdf-libcpp:
20998 @if libcpp
20999 maybe-pdf-libcpp: pdf-libcpp
21001 pdf-libcpp: \
21002 configure-libcpp
21003 @[ -f ./libcpp/Makefile ] || exit 0; \
21004 r=`${PWD_COMMAND}`; export r; \
21005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21006 $(HOST_EXPORTS) \
21007 for flag in $(EXTRA_HOST_FLAGS) ; do \
21008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21009 done; \
21010 echo "Doing pdf in libcpp" ; \
21011 (cd $(HOST_SUBDIR)/libcpp && \
21012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21014 "RANLIB=$${RANLIB}" \
21015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21016 pdf) \
21017 || exit 1
21019 @endif libcpp
21021 .PHONY: maybe-html-libcpp html-libcpp
21022 maybe-html-libcpp:
21023 @if libcpp
21024 maybe-html-libcpp: html-libcpp
21026 html-libcpp: \
21027 configure-libcpp
21028 @[ -f ./libcpp/Makefile ] || exit 0; \
21029 r=`${PWD_COMMAND}`; export r; \
21030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21031 $(HOST_EXPORTS) \
21032 for flag in $(EXTRA_HOST_FLAGS) ; do \
21033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21034 done; \
21035 echo "Doing html in libcpp" ; \
21036 (cd $(HOST_SUBDIR)/libcpp && \
21037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21039 "RANLIB=$${RANLIB}" \
21040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21041 html) \
21042 || exit 1
21044 @endif libcpp
21046 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
21047 maybe-TAGS-libcpp:
21048 @if libcpp
21049 maybe-TAGS-libcpp: TAGS-libcpp
21051 TAGS-libcpp: \
21052 configure-libcpp
21053 @[ -f ./libcpp/Makefile ] || exit 0; \
21054 r=`${PWD_COMMAND}`; export r; \
21055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21056 $(HOST_EXPORTS) \
21057 for flag in $(EXTRA_HOST_FLAGS) ; do \
21058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21059 done; \
21060 echo "Doing TAGS in libcpp" ; \
21061 (cd $(HOST_SUBDIR)/libcpp && \
21062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21064 "RANLIB=$${RANLIB}" \
21065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21066 TAGS) \
21067 || exit 1
21069 @endif libcpp
21071 .PHONY: maybe-install-info-libcpp install-info-libcpp
21072 maybe-install-info-libcpp:
21073 @if libcpp
21074 maybe-install-info-libcpp: install-info-libcpp
21076 install-info-libcpp: \
21077 configure-libcpp \
21078 info-libcpp
21079 @[ -f ./libcpp/Makefile ] || exit 0; \
21080 r=`${PWD_COMMAND}`; export r; \
21081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21082 $(HOST_EXPORTS) \
21083 for flag in $(EXTRA_HOST_FLAGS) ; do \
21084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21085 done; \
21086 echo "Doing install-info in libcpp" ; \
21087 (cd $(HOST_SUBDIR)/libcpp && \
21088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21090 "RANLIB=$${RANLIB}" \
21091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21092 install-info) \
21093 || exit 1
21095 @endif libcpp
21097 .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
21098 maybe-install-pdf-libcpp:
21099 @if libcpp
21100 maybe-install-pdf-libcpp: install-pdf-libcpp
21102 install-pdf-libcpp: \
21103 configure-libcpp \
21104 pdf-libcpp
21105 @[ -f ./libcpp/Makefile ] || exit 0; \
21106 r=`${PWD_COMMAND}`; export r; \
21107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21108 $(HOST_EXPORTS) \
21109 for flag in $(EXTRA_HOST_FLAGS) ; do \
21110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21111 done; \
21112 echo "Doing install-pdf in libcpp" ; \
21113 (cd $(HOST_SUBDIR)/libcpp && \
21114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21116 "RANLIB=$${RANLIB}" \
21117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21118 install-pdf) \
21119 || exit 1
21121 @endif libcpp
21123 .PHONY: maybe-install-html-libcpp install-html-libcpp
21124 maybe-install-html-libcpp:
21125 @if libcpp
21126 maybe-install-html-libcpp: install-html-libcpp
21128 install-html-libcpp: \
21129 configure-libcpp \
21130 html-libcpp
21131 @[ -f ./libcpp/Makefile ] || exit 0; \
21132 r=`${PWD_COMMAND}`; export r; \
21133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21134 $(HOST_EXPORTS) \
21135 for flag in $(EXTRA_HOST_FLAGS) ; do \
21136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21137 done; \
21138 echo "Doing install-html in libcpp" ; \
21139 (cd $(HOST_SUBDIR)/libcpp && \
21140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21142 "RANLIB=$${RANLIB}" \
21143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21144 install-html) \
21145 || exit 1
21147 @endif libcpp
21149 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
21150 maybe-installcheck-libcpp:
21151 @if libcpp
21152 maybe-installcheck-libcpp: installcheck-libcpp
21154 installcheck-libcpp: \
21155 configure-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 installcheck 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 installcheck) \
21170 || exit 1
21172 @endif libcpp
21174 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
21175 maybe-mostlyclean-libcpp:
21176 @if libcpp
21177 maybe-mostlyclean-libcpp: mostlyclean-libcpp
21179 mostlyclean-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 mostlyclean 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 mostlyclean) \
21194 || exit 1
21196 @endif libcpp
21198 .PHONY: maybe-clean-libcpp clean-libcpp
21199 maybe-clean-libcpp:
21200 @if libcpp
21201 maybe-clean-libcpp: clean-libcpp
21203 clean-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 clean 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 clean) \
21218 || exit 1
21220 @endif libcpp
21222 .PHONY: maybe-distclean-libcpp distclean-libcpp
21223 maybe-distclean-libcpp:
21224 @if libcpp
21225 maybe-distclean-libcpp: distclean-libcpp
21227 distclean-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 distclean 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 distclean) \
21242 || exit 1
21244 @endif libcpp
21246 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
21247 maybe-maintainer-clean-libcpp:
21248 @if libcpp
21249 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
21251 maintainer-clean-libcpp:
21252 @[ -f ./libcpp/Makefile ] || exit 0; \
21253 r=`${PWD_COMMAND}`; export r; \
21254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21255 $(HOST_EXPORTS) \
21256 for flag in $(EXTRA_HOST_FLAGS) ; do \
21257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21258 done; \
21259 echo "Doing maintainer-clean in libcpp" ; \
21260 (cd $(HOST_SUBDIR)/libcpp && \
21261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21263 "RANLIB=$${RANLIB}" \
21264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21265 maintainer-clean) \
21266 || exit 1
21268 @endif libcpp
21272 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
21273 maybe-configure-libdecnumber:
21274 @if gcc-bootstrap
21275 configure-libdecnumber: stage_current
21276 @endif gcc-bootstrap
21277 @if libdecnumber
21278 maybe-configure-libdecnumber: configure-libdecnumber
21279 configure-libdecnumber:
21280 @r=`${PWD_COMMAND}`; export r; \
21281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21282 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21283 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21284 $(HOST_EXPORTS) \
21285 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
21286 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
21287 case $(srcdir) in \
21288 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21289 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21290 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21291 esac; \
21292 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21293 libsrcdir="$$s/libdecnumber"; \
21294 $(SHELL) $${libsrcdir}/configure \
21295 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21296 --target=${target_alias} $${srcdiroption} \
21297 || exit 1
21298 @endif libdecnumber
21302 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
21303 maybe-configure-stage1-libdecnumber:
21304 @if libdecnumber-bootstrap
21305 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
21306 configure-stage1-libdecnumber:
21307 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21308 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21309 @r=`${PWD_COMMAND}`; export r; \
21310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21311 TFLAGS="$(STAGE1_TFLAGS)"; \
21312 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21313 $(HOST_EXPORTS) \
21314 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
21315 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
21316 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
21317 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
21318 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21319 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21320 case $(srcdir) in \
21321 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21322 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21323 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21324 esac; \
21325 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21326 libsrcdir="$$s/libdecnumber"; \
21327 $(SHELL) $${libsrcdir}/configure \
21328 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21329 --target=${target_alias} $${srcdiroption} \
21330 $(STAGE1_CONFIGURE_FLAGS)
21331 @endif libdecnumber-bootstrap
21333 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
21334 maybe-configure-stage2-libdecnumber:
21335 @if libdecnumber-bootstrap
21336 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
21337 configure-stage2-libdecnumber:
21338 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21339 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21340 @r=`${PWD_COMMAND}`; export r; \
21341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21342 TFLAGS="$(STAGE2_TFLAGS)"; \
21343 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21344 $(HOST_EXPORTS) \
21345 $(POSTSTAGE1_HOST_EXPORTS) \
21346 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
21347 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
21348 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
21349 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
21350 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21351 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21352 case $(srcdir) in \
21353 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21354 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21355 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21356 esac; \
21357 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21358 libsrcdir="$$s/libdecnumber"; \
21359 $(SHELL) $${libsrcdir}/configure \
21360 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21361 --target=${target_alias} $${srcdiroption} \
21362 --with-build-libsubdir=$(HOST_SUBDIR) \
21363 $(STAGE2_CONFIGURE_FLAGS)
21364 @endif libdecnumber-bootstrap
21366 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
21367 maybe-configure-stage3-libdecnumber:
21368 @if libdecnumber-bootstrap
21369 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
21370 configure-stage3-libdecnumber:
21371 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21372 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21373 @r=`${PWD_COMMAND}`; export r; \
21374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21375 TFLAGS="$(STAGE3_TFLAGS)"; \
21376 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21377 $(HOST_EXPORTS) \
21378 $(POSTSTAGE1_HOST_EXPORTS) \
21379 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
21380 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
21381 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
21382 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
21383 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21384 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21385 case $(srcdir) in \
21386 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21387 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21388 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21389 esac; \
21390 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21391 libsrcdir="$$s/libdecnumber"; \
21392 $(SHELL) $${libsrcdir}/configure \
21393 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21394 --target=${target_alias} $${srcdiroption} \
21395 --with-build-libsubdir=$(HOST_SUBDIR) \
21396 $(STAGE3_CONFIGURE_FLAGS)
21397 @endif libdecnumber-bootstrap
21399 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
21400 maybe-configure-stage4-libdecnumber:
21401 @if libdecnumber-bootstrap
21402 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
21403 configure-stage4-libdecnumber:
21404 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21405 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21406 @r=`${PWD_COMMAND}`; export r; \
21407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21408 TFLAGS="$(STAGE4_TFLAGS)"; \
21409 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21410 $(HOST_EXPORTS) \
21411 $(POSTSTAGE1_HOST_EXPORTS) \
21412 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
21413 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
21414 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
21415 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
21416 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21417 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21418 case $(srcdir) in \
21419 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21420 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21421 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21422 esac; \
21423 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21424 libsrcdir="$$s/libdecnumber"; \
21425 $(SHELL) $${libsrcdir}/configure \
21426 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21427 --target=${target_alias} $${srcdiroption} \
21428 --with-build-libsubdir=$(HOST_SUBDIR) \
21429 $(STAGE4_CONFIGURE_FLAGS)
21430 @endif libdecnumber-bootstrap
21432 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
21433 maybe-configure-stageprofile-libdecnumber:
21434 @if libdecnumber-bootstrap
21435 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
21436 configure-stageprofile-libdecnumber:
21437 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21438 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21439 @r=`${PWD_COMMAND}`; export r; \
21440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21441 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21442 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21443 $(HOST_EXPORTS) \
21444 $(POSTSTAGE1_HOST_EXPORTS) \
21445 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
21446 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
21447 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
21448 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
21449 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21450 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21451 case $(srcdir) in \
21452 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21453 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21454 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21455 esac; \
21456 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21457 libsrcdir="$$s/libdecnumber"; \
21458 $(SHELL) $${libsrcdir}/configure \
21459 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21460 --target=${target_alias} $${srcdiroption} \
21461 --with-build-libsubdir=$(HOST_SUBDIR) \
21462 $(STAGEprofile_CONFIGURE_FLAGS)
21463 @endif libdecnumber-bootstrap
21465 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
21466 maybe-configure-stagefeedback-libdecnumber:
21467 @if libdecnumber-bootstrap
21468 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
21469 configure-stagefeedback-libdecnumber:
21470 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21471 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21472 @r=`${PWD_COMMAND}`; export r; \
21473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21474 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21475 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21476 $(HOST_EXPORTS) \
21477 $(POSTSTAGE1_HOST_EXPORTS) \
21478 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
21479 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
21480 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
21481 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
21482 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21483 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21484 case $(srcdir) in \
21485 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21486 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21487 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21488 esac; \
21489 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21490 libsrcdir="$$s/libdecnumber"; \
21491 $(SHELL) $${libsrcdir}/configure \
21492 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21493 --target=${target_alias} $${srcdiroption} \
21494 --with-build-libsubdir=$(HOST_SUBDIR) \
21495 $(STAGEfeedback_CONFIGURE_FLAGS)
21496 @endif libdecnumber-bootstrap
21502 .PHONY: all-libdecnumber maybe-all-libdecnumber
21503 maybe-all-libdecnumber:
21504 @if gcc-bootstrap
21505 all-libdecnumber: stage_current
21506 @endif gcc-bootstrap
21507 @if libdecnumber
21508 TARGET-libdecnumber=all
21509 maybe-all-libdecnumber: all-libdecnumber
21510 all-libdecnumber: configure-libdecnumber
21511 @r=`${PWD_COMMAND}`; export r; \
21512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21513 $(HOST_EXPORTS) \
21514 (cd $(HOST_SUBDIR)/libdecnumber && \
21515 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
21516 $(TARGET-libdecnumber))
21517 @endif libdecnumber
21521 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
21522 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
21523 maybe-all-stage1-libdecnumber:
21524 maybe-clean-stage1-libdecnumber:
21525 @if libdecnumber-bootstrap
21526 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
21527 all-stage1: all-stage1-libdecnumber
21528 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
21529 all-stage1-libdecnumber: configure-stage1-libdecnumber
21530 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21531 @r=`${PWD_COMMAND}`; export r; \
21532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21533 TFLAGS="$(STAGE1_TFLAGS)"; \
21534 $(HOST_EXPORTS) \
21535 cd $(HOST_SUBDIR)/libdecnumber && \
21536 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21537 CFLAGS="$(STAGE1_CFLAGS)" \
21538 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
21539 LIBCFLAGS="$(LIBCFLAGS)" \
21540 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21541 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21542 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21543 $(EXTRA_HOST_FLAGS) \
21544 $(STAGE1_FLAGS_TO_PASS) \
21545 TFLAGS="$(STAGE1_TFLAGS)" \
21546 $(TARGET-stage1-libdecnumber)
21548 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
21549 clean-stage1: clean-stage1-libdecnumber
21550 clean-stage1-libdecnumber:
21551 @if [ $(current_stage) = stage1 ]; then \
21552 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21553 else \
21554 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
21555 $(MAKE) stage1-start; \
21556 fi; \
21557 cd $(HOST_SUBDIR)/libdecnumber && \
21558 $(MAKE) $(EXTRA_HOST_FLAGS) \
21559 $(STAGE1_FLAGS_TO_PASS) clean
21560 @endif libdecnumber-bootstrap
21563 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
21564 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
21565 maybe-all-stage2-libdecnumber:
21566 maybe-clean-stage2-libdecnumber:
21567 @if libdecnumber-bootstrap
21568 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
21569 all-stage2: all-stage2-libdecnumber
21570 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
21571 all-stage2-libdecnumber: configure-stage2-libdecnumber
21572 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21573 @r=`${PWD_COMMAND}`; export r; \
21574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21575 TFLAGS="$(STAGE2_TFLAGS)"; \
21576 $(HOST_EXPORTS) \
21577 $(POSTSTAGE1_HOST_EXPORTS) \
21578 cd $(HOST_SUBDIR)/libdecnumber && \
21579 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21580 CFLAGS="$(STAGE2_CFLAGS)" \
21581 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
21582 LIBCFLAGS="$(STAGE2_CFLAGS)" \
21583 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21584 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21585 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21586 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21587 TFLAGS="$(STAGE2_TFLAGS)" \
21588 $(TARGET-stage2-libdecnumber)
21590 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
21591 clean-stage2: clean-stage2-libdecnumber
21592 clean-stage2-libdecnumber:
21593 @if [ $(current_stage) = stage2 ]; then \
21594 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21595 else \
21596 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
21597 $(MAKE) stage2-start; \
21598 fi; \
21599 cd $(HOST_SUBDIR)/libdecnumber && \
21600 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21601 @endif libdecnumber-bootstrap
21604 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
21605 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
21606 maybe-all-stage3-libdecnumber:
21607 maybe-clean-stage3-libdecnumber:
21608 @if libdecnumber-bootstrap
21609 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
21610 all-stage3: all-stage3-libdecnumber
21611 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
21612 all-stage3-libdecnumber: configure-stage3-libdecnumber
21613 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21614 @r=`${PWD_COMMAND}`; export r; \
21615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21616 TFLAGS="$(STAGE3_TFLAGS)"; \
21617 $(HOST_EXPORTS) \
21618 $(POSTSTAGE1_HOST_EXPORTS) \
21619 cd $(HOST_SUBDIR)/libdecnumber && \
21620 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21621 CFLAGS="$(STAGE3_CFLAGS)" \
21622 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
21623 LIBCFLAGS="$(STAGE3_CFLAGS)" \
21624 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21625 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21626 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21627 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21628 TFLAGS="$(STAGE3_TFLAGS)" \
21629 $(TARGET-stage3-libdecnumber)
21631 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
21632 clean-stage3: clean-stage3-libdecnumber
21633 clean-stage3-libdecnumber:
21634 @if [ $(current_stage) = stage3 ]; then \
21635 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21636 else \
21637 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
21638 $(MAKE) stage3-start; \
21639 fi; \
21640 cd $(HOST_SUBDIR)/libdecnumber && \
21641 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21642 @endif libdecnumber-bootstrap
21645 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
21646 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
21647 maybe-all-stage4-libdecnumber:
21648 maybe-clean-stage4-libdecnumber:
21649 @if libdecnumber-bootstrap
21650 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
21651 all-stage4: all-stage4-libdecnumber
21652 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
21653 all-stage4-libdecnumber: configure-stage4-libdecnumber
21654 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21655 @r=`${PWD_COMMAND}`; export r; \
21656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21657 TFLAGS="$(STAGE4_TFLAGS)"; \
21658 $(HOST_EXPORTS) \
21659 $(POSTSTAGE1_HOST_EXPORTS) \
21660 cd $(HOST_SUBDIR)/libdecnumber && \
21661 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21662 CFLAGS="$(STAGE4_CFLAGS)" \
21663 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
21664 LIBCFLAGS="$(STAGE4_CFLAGS)" \
21665 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21666 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21667 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21668 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21669 TFLAGS="$(STAGE4_TFLAGS)" \
21670 $(TARGET-stage4-libdecnumber)
21672 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
21673 clean-stage4: clean-stage4-libdecnumber
21674 clean-stage4-libdecnumber:
21675 @if [ $(current_stage) = stage4 ]; then \
21676 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21677 else \
21678 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
21679 $(MAKE) stage4-start; \
21680 fi; \
21681 cd $(HOST_SUBDIR)/libdecnumber && \
21682 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21683 @endif libdecnumber-bootstrap
21686 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
21687 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
21688 maybe-all-stageprofile-libdecnumber:
21689 maybe-clean-stageprofile-libdecnumber:
21690 @if libdecnumber-bootstrap
21691 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
21692 all-stageprofile: all-stageprofile-libdecnumber
21693 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
21694 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
21695 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21696 @r=`${PWD_COMMAND}`; export r; \
21697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21698 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21699 $(HOST_EXPORTS) \
21700 $(POSTSTAGE1_HOST_EXPORTS) \
21701 cd $(HOST_SUBDIR)/libdecnumber && \
21702 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21703 CFLAGS="$(STAGEprofile_CFLAGS)" \
21704 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
21705 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
21706 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21707 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21708 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21709 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21710 TFLAGS="$(STAGEprofile_TFLAGS)" \
21711 $(TARGET-stageprofile-libdecnumber)
21713 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
21714 clean-stageprofile: clean-stageprofile-libdecnumber
21715 clean-stageprofile-libdecnumber:
21716 @if [ $(current_stage) = stageprofile ]; then \
21717 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21718 else \
21719 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
21720 $(MAKE) stageprofile-start; \
21721 fi; \
21722 cd $(HOST_SUBDIR)/libdecnumber && \
21723 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21724 @endif libdecnumber-bootstrap
21727 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
21728 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
21729 maybe-all-stagefeedback-libdecnumber:
21730 maybe-clean-stagefeedback-libdecnumber:
21731 @if libdecnumber-bootstrap
21732 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
21733 all-stagefeedback: all-stagefeedback-libdecnumber
21734 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
21735 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
21736 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21737 @r=`${PWD_COMMAND}`; export r; \
21738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21739 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21740 $(HOST_EXPORTS) \
21741 $(POSTSTAGE1_HOST_EXPORTS) \
21742 cd $(HOST_SUBDIR)/libdecnumber && \
21743 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21744 CFLAGS="$(STAGEfeedback_CFLAGS)" \
21745 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
21746 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
21747 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21748 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21749 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21750 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21751 TFLAGS="$(STAGEfeedback_TFLAGS)" \
21752 $(TARGET-stagefeedback-libdecnumber)
21754 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
21755 clean-stagefeedback: clean-stagefeedback-libdecnumber
21756 clean-stagefeedback-libdecnumber:
21757 @if [ $(current_stage) = stagefeedback ]; then \
21758 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21759 else \
21760 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
21761 $(MAKE) stagefeedback-start; \
21762 fi; \
21763 cd $(HOST_SUBDIR)/libdecnumber && \
21764 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21765 @endif libdecnumber-bootstrap
21771 .PHONY: check-libdecnumber maybe-check-libdecnumber
21772 maybe-check-libdecnumber:
21773 @if libdecnumber
21774 maybe-check-libdecnumber: check-libdecnumber
21776 check-libdecnumber:
21777 @: $(MAKE); $(unstage)
21778 @r=`${PWD_COMMAND}`; export r; \
21779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21780 $(HOST_EXPORTS) \
21781 (cd $(HOST_SUBDIR)/libdecnumber && \
21782 $(MAKE) $(FLAGS_TO_PASS) check)
21784 @endif libdecnumber
21786 .PHONY: install-libdecnumber maybe-install-libdecnumber
21787 maybe-install-libdecnumber:
21788 @if libdecnumber
21789 maybe-install-libdecnumber: install-libdecnumber
21791 install-libdecnumber: installdirs
21792 @: $(MAKE); $(unstage)
21793 @r=`${PWD_COMMAND}`; export r; \
21794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21795 $(HOST_EXPORTS) \
21796 (cd $(HOST_SUBDIR)/libdecnumber && \
21797 $(MAKE) $(FLAGS_TO_PASS) install)
21799 @endif libdecnumber
21801 .PHONY: install-strip-libdecnumber maybe-install-strip-libdecnumber
21802 maybe-install-strip-libdecnumber:
21803 @if libdecnumber
21804 maybe-install-strip-libdecnumber: install-strip-libdecnumber
21806 install-strip-libdecnumber: installdirs
21807 @: $(MAKE); $(unstage)
21808 @r=`${PWD_COMMAND}`; export r; \
21809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21810 $(HOST_EXPORTS) \
21811 (cd $(HOST_SUBDIR)/libdecnumber && \
21812 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21814 @endif libdecnumber
21816 # Other targets (info, dvi, pdf, etc.)
21818 .PHONY: maybe-info-libdecnumber info-libdecnumber
21819 maybe-info-libdecnumber:
21820 @if libdecnumber
21821 maybe-info-libdecnumber: info-libdecnumber
21823 info-libdecnumber: \
21824 configure-libdecnumber
21825 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21826 r=`${PWD_COMMAND}`; export r; \
21827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21828 $(HOST_EXPORTS) \
21829 for flag in $(EXTRA_HOST_FLAGS) ; do \
21830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21831 done; \
21832 echo "Doing info in libdecnumber" ; \
21833 (cd $(HOST_SUBDIR)/libdecnumber && \
21834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21836 "RANLIB=$${RANLIB}" \
21837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21838 info) \
21839 || exit 1
21841 @endif libdecnumber
21843 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
21844 maybe-dvi-libdecnumber:
21845 @if libdecnumber
21846 maybe-dvi-libdecnumber: dvi-libdecnumber
21848 dvi-libdecnumber: \
21849 configure-libdecnumber
21850 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21851 r=`${PWD_COMMAND}`; export r; \
21852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21853 $(HOST_EXPORTS) \
21854 for flag in $(EXTRA_HOST_FLAGS) ; do \
21855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21856 done; \
21857 echo "Doing dvi in libdecnumber" ; \
21858 (cd $(HOST_SUBDIR)/libdecnumber && \
21859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21861 "RANLIB=$${RANLIB}" \
21862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21863 dvi) \
21864 || exit 1
21866 @endif libdecnumber
21868 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
21869 maybe-pdf-libdecnumber:
21870 @if libdecnumber
21871 maybe-pdf-libdecnumber: pdf-libdecnumber
21873 pdf-libdecnumber: \
21874 configure-libdecnumber
21875 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21876 r=`${PWD_COMMAND}`; export r; \
21877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21878 $(HOST_EXPORTS) \
21879 for flag in $(EXTRA_HOST_FLAGS) ; do \
21880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21881 done; \
21882 echo "Doing pdf in libdecnumber" ; \
21883 (cd $(HOST_SUBDIR)/libdecnumber && \
21884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21886 "RANLIB=$${RANLIB}" \
21887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21888 pdf) \
21889 || exit 1
21891 @endif libdecnumber
21893 .PHONY: maybe-html-libdecnumber html-libdecnumber
21894 maybe-html-libdecnumber:
21895 @if libdecnumber
21896 maybe-html-libdecnumber: html-libdecnumber
21898 html-libdecnumber: \
21899 configure-libdecnumber
21900 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21901 r=`${PWD_COMMAND}`; export r; \
21902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21903 $(HOST_EXPORTS) \
21904 for flag in $(EXTRA_HOST_FLAGS) ; do \
21905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21906 done; \
21907 echo "Doing html in libdecnumber" ; \
21908 (cd $(HOST_SUBDIR)/libdecnumber && \
21909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21911 "RANLIB=$${RANLIB}" \
21912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21913 html) \
21914 || exit 1
21916 @endif libdecnumber
21918 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
21919 maybe-TAGS-libdecnumber:
21920 @if libdecnumber
21921 maybe-TAGS-libdecnumber: TAGS-libdecnumber
21923 TAGS-libdecnumber: \
21924 configure-libdecnumber
21925 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21926 r=`${PWD_COMMAND}`; export r; \
21927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21928 $(HOST_EXPORTS) \
21929 for flag in $(EXTRA_HOST_FLAGS) ; do \
21930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21931 done; \
21932 echo "Doing TAGS in libdecnumber" ; \
21933 (cd $(HOST_SUBDIR)/libdecnumber && \
21934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21936 "RANLIB=$${RANLIB}" \
21937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21938 TAGS) \
21939 || exit 1
21941 @endif libdecnumber
21943 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
21944 maybe-install-info-libdecnumber:
21945 @if libdecnumber
21946 maybe-install-info-libdecnumber: install-info-libdecnumber
21948 install-info-libdecnumber: \
21949 configure-libdecnumber \
21950 info-libdecnumber
21951 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21952 r=`${PWD_COMMAND}`; export r; \
21953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21954 $(HOST_EXPORTS) \
21955 for flag in $(EXTRA_HOST_FLAGS) ; do \
21956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21957 done; \
21958 echo "Doing install-info in libdecnumber" ; \
21959 (cd $(HOST_SUBDIR)/libdecnumber && \
21960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21962 "RANLIB=$${RANLIB}" \
21963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21964 install-info) \
21965 || exit 1
21967 @endif libdecnumber
21969 .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
21970 maybe-install-pdf-libdecnumber:
21971 @if libdecnumber
21972 maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
21974 install-pdf-libdecnumber: \
21975 configure-libdecnumber \
21976 pdf-libdecnumber
21977 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21978 r=`${PWD_COMMAND}`; export r; \
21979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21980 $(HOST_EXPORTS) \
21981 for flag in $(EXTRA_HOST_FLAGS) ; do \
21982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21983 done; \
21984 echo "Doing install-pdf in libdecnumber" ; \
21985 (cd $(HOST_SUBDIR)/libdecnumber && \
21986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21988 "RANLIB=$${RANLIB}" \
21989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21990 install-pdf) \
21991 || exit 1
21993 @endif libdecnumber
21995 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
21996 maybe-install-html-libdecnumber:
21997 @if libdecnumber
21998 maybe-install-html-libdecnumber: install-html-libdecnumber
22000 install-html-libdecnumber: \
22001 configure-libdecnumber \
22002 html-libdecnumber
22003 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22004 r=`${PWD_COMMAND}`; export r; \
22005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22006 $(HOST_EXPORTS) \
22007 for flag in $(EXTRA_HOST_FLAGS) ; do \
22008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22009 done; \
22010 echo "Doing install-html in libdecnumber" ; \
22011 (cd $(HOST_SUBDIR)/libdecnumber && \
22012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22014 "RANLIB=$${RANLIB}" \
22015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22016 install-html) \
22017 || exit 1
22019 @endif libdecnumber
22021 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
22022 maybe-installcheck-libdecnumber:
22023 @if libdecnumber
22024 maybe-installcheck-libdecnumber: installcheck-libdecnumber
22026 installcheck-libdecnumber: \
22027 configure-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 installcheck 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 installcheck) \
22042 || exit 1
22044 @endif libdecnumber
22046 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
22047 maybe-mostlyclean-libdecnumber:
22048 @if libdecnumber
22049 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
22051 mostlyclean-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 mostlyclean 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 mostlyclean) \
22066 || exit 1
22068 @endif libdecnumber
22070 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
22071 maybe-clean-libdecnumber:
22072 @if libdecnumber
22073 maybe-clean-libdecnumber: clean-libdecnumber
22075 clean-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 clean 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 clean) \
22090 || exit 1
22092 @endif libdecnumber
22094 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
22095 maybe-distclean-libdecnumber:
22096 @if libdecnumber
22097 maybe-distclean-libdecnumber: distclean-libdecnumber
22099 distclean-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 distclean 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 distclean) \
22114 || exit 1
22116 @endif libdecnumber
22118 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
22119 maybe-maintainer-clean-libdecnumber:
22120 @if libdecnumber
22121 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
22123 maintainer-clean-libdecnumber:
22124 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22125 r=`${PWD_COMMAND}`; export r; \
22126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22127 $(HOST_EXPORTS) \
22128 for flag in $(EXTRA_HOST_FLAGS) ; do \
22129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22130 done; \
22131 echo "Doing maintainer-clean in libdecnumber" ; \
22132 (cd $(HOST_SUBDIR)/libdecnumber && \
22133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22135 "RANLIB=$${RANLIB}" \
22136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22137 maintainer-clean) \
22138 || exit 1
22140 @endif libdecnumber
22144 .PHONY: configure-libgui maybe-configure-libgui
22145 maybe-configure-libgui:
22146 @if gcc-bootstrap
22147 configure-libgui: stage_current
22148 @endif gcc-bootstrap
22149 @if libgui
22150 maybe-configure-libgui: configure-libgui
22151 configure-libgui:
22152 @: $(MAKE); $(unstage)
22153 @r=`${PWD_COMMAND}`; export r; \
22154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22155 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
22156 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
22157 $(HOST_EXPORTS) \
22158 echo Configuring in $(HOST_SUBDIR)/libgui; \
22159 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
22160 case $(srcdir) in \
22161 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22162 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
22163 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22164 esac; \
22165 srcdiroption="--srcdir=$${topdir}/libgui"; \
22166 libsrcdir="$$s/libgui"; \
22167 $(SHELL) $${libsrcdir}/configure \
22168 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22169 --target=${target_alias} $${srcdiroption} \
22170 || exit 1
22171 @endif libgui
22177 .PHONY: all-libgui maybe-all-libgui
22178 maybe-all-libgui:
22179 @if gcc-bootstrap
22180 all-libgui: stage_current
22181 @endif gcc-bootstrap
22182 @if libgui
22183 TARGET-libgui=all
22184 maybe-all-libgui: all-libgui
22185 all-libgui: configure-libgui
22186 @: $(MAKE); $(unstage)
22187 @r=`${PWD_COMMAND}`; export r; \
22188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22189 $(HOST_EXPORTS) \
22190 (cd $(HOST_SUBDIR)/libgui && \
22191 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
22192 $(TARGET-libgui))
22193 @endif libgui
22198 .PHONY: check-libgui maybe-check-libgui
22199 maybe-check-libgui:
22200 @if libgui
22201 maybe-check-libgui: check-libgui
22203 check-libgui:
22204 @: $(MAKE); $(unstage)
22205 @r=`${PWD_COMMAND}`; export r; \
22206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22207 $(HOST_EXPORTS) \
22208 (cd $(HOST_SUBDIR)/libgui && \
22209 $(MAKE) $(FLAGS_TO_PASS) check)
22211 @endif libgui
22213 .PHONY: install-libgui maybe-install-libgui
22214 maybe-install-libgui:
22215 @if libgui
22216 maybe-install-libgui: install-libgui
22218 install-libgui: installdirs
22219 @: $(MAKE); $(unstage)
22220 @r=`${PWD_COMMAND}`; export r; \
22221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22222 $(HOST_EXPORTS) \
22223 (cd $(HOST_SUBDIR)/libgui && \
22224 $(MAKE) $(FLAGS_TO_PASS) install)
22226 @endif libgui
22228 .PHONY: install-strip-libgui maybe-install-strip-libgui
22229 maybe-install-strip-libgui:
22230 @if libgui
22231 maybe-install-strip-libgui: install-strip-libgui
22233 install-strip-libgui: installdirs
22234 @: $(MAKE); $(unstage)
22235 @r=`${PWD_COMMAND}`; export r; \
22236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22237 $(HOST_EXPORTS) \
22238 (cd $(HOST_SUBDIR)/libgui && \
22239 $(MAKE) $(FLAGS_TO_PASS) install-strip)
22241 @endif libgui
22243 # Other targets (info, dvi, pdf, etc.)
22245 .PHONY: maybe-info-libgui info-libgui
22246 maybe-info-libgui:
22247 @if libgui
22248 maybe-info-libgui: info-libgui
22250 info-libgui: \
22251 configure-libgui
22252 @: $(MAKE); $(unstage)
22253 @[ -f ./libgui/Makefile ] || exit 0; \
22254 r=`${PWD_COMMAND}`; export r; \
22255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22256 $(HOST_EXPORTS) \
22257 for flag in $(EXTRA_HOST_FLAGS) ; do \
22258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22259 done; \
22260 echo "Doing info in libgui" ; \
22261 (cd $(HOST_SUBDIR)/libgui && \
22262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22264 "RANLIB=$${RANLIB}" \
22265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22266 info) \
22267 || exit 1
22269 @endif libgui
22271 .PHONY: maybe-dvi-libgui dvi-libgui
22272 maybe-dvi-libgui:
22273 @if libgui
22274 maybe-dvi-libgui: dvi-libgui
22276 dvi-libgui: \
22277 configure-libgui
22278 @: $(MAKE); $(unstage)
22279 @[ -f ./libgui/Makefile ] || exit 0; \
22280 r=`${PWD_COMMAND}`; export r; \
22281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22282 $(HOST_EXPORTS) \
22283 for flag in $(EXTRA_HOST_FLAGS) ; do \
22284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22285 done; \
22286 echo "Doing dvi in libgui" ; \
22287 (cd $(HOST_SUBDIR)/libgui && \
22288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22290 "RANLIB=$${RANLIB}" \
22291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22292 dvi) \
22293 || exit 1
22295 @endif libgui
22297 .PHONY: maybe-pdf-libgui pdf-libgui
22298 maybe-pdf-libgui:
22299 @if libgui
22300 maybe-pdf-libgui: pdf-libgui
22302 pdf-libgui: \
22303 configure-libgui
22304 @: $(MAKE); $(unstage)
22305 @[ -f ./libgui/Makefile ] || exit 0; \
22306 r=`${PWD_COMMAND}`; export r; \
22307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22308 $(HOST_EXPORTS) \
22309 for flag in $(EXTRA_HOST_FLAGS) ; do \
22310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22311 done; \
22312 echo "Doing pdf in libgui" ; \
22313 (cd $(HOST_SUBDIR)/libgui && \
22314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22316 "RANLIB=$${RANLIB}" \
22317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22318 pdf) \
22319 || exit 1
22321 @endif libgui
22323 .PHONY: maybe-html-libgui html-libgui
22324 maybe-html-libgui:
22325 @if libgui
22326 maybe-html-libgui: html-libgui
22328 html-libgui: \
22329 configure-libgui
22330 @: $(MAKE); $(unstage)
22331 @[ -f ./libgui/Makefile ] || exit 0; \
22332 r=`${PWD_COMMAND}`; export r; \
22333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22334 $(HOST_EXPORTS) \
22335 for flag in $(EXTRA_HOST_FLAGS) ; do \
22336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22337 done; \
22338 echo "Doing html in libgui" ; \
22339 (cd $(HOST_SUBDIR)/libgui && \
22340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22342 "RANLIB=$${RANLIB}" \
22343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22344 html) \
22345 || exit 1
22347 @endif libgui
22349 .PHONY: maybe-TAGS-libgui TAGS-libgui
22350 maybe-TAGS-libgui:
22351 @if libgui
22352 maybe-TAGS-libgui: TAGS-libgui
22354 TAGS-libgui: \
22355 configure-libgui
22356 @: $(MAKE); $(unstage)
22357 @[ -f ./libgui/Makefile ] || exit 0; \
22358 r=`${PWD_COMMAND}`; export r; \
22359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22360 $(HOST_EXPORTS) \
22361 for flag in $(EXTRA_HOST_FLAGS) ; do \
22362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22363 done; \
22364 echo "Doing TAGS in libgui" ; \
22365 (cd $(HOST_SUBDIR)/libgui && \
22366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22368 "RANLIB=$${RANLIB}" \
22369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22370 TAGS) \
22371 || exit 1
22373 @endif libgui
22375 .PHONY: maybe-install-info-libgui install-info-libgui
22376 maybe-install-info-libgui:
22377 @if libgui
22378 maybe-install-info-libgui: install-info-libgui
22380 install-info-libgui: \
22381 configure-libgui \
22382 info-libgui
22383 @: $(MAKE); $(unstage)
22384 @[ -f ./libgui/Makefile ] || exit 0; \
22385 r=`${PWD_COMMAND}`; export r; \
22386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22387 $(HOST_EXPORTS) \
22388 for flag in $(EXTRA_HOST_FLAGS) ; do \
22389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22390 done; \
22391 echo "Doing install-info in libgui" ; \
22392 (cd $(HOST_SUBDIR)/libgui && \
22393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22395 "RANLIB=$${RANLIB}" \
22396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22397 install-info) \
22398 || exit 1
22400 @endif libgui
22402 .PHONY: maybe-install-pdf-libgui install-pdf-libgui
22403 maybe-install-pdf-libgui:
22404 @if libgui
22405 maybe-install-pdf-libgui: install-pdf-libgui
22407 install-pdf-libgui: \
22408 configure-libgui \
22409 pdf-libgui
22410 @: $(MAKE); $(unstage)
22411 @[ -f ./libgui/Makefile ] || exit 0; \
22412 r=`${PWD_COMMAND}`; export r; \
22413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22414 $(HOST_EXPORTS) \
22415 for flag in $(EXTRA_HOST_FLAGS) ; do \
22416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22417 done; \
22418 echo "Doing install-pdf in libgui" ; \
22419 (cd $(HOST_SUBDIR)/libgui && \
22420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22422 "RANLIB=$${RANLIB}" \
22423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22424 install-pdf) \
22425 || exit 1
22427 @endif libgui
22429 .PHONY: maybe-install-html-libgui install-html-libgui
22430 maybe-install-html-libgui:
22431 @if libgui
22432 maybe-install-html-libgui: install-html-libgui
22434 install-html-libgui: \
22435 configure-libgui \
22436 html-libgui
22437 @: $(MAKE); $(unstage)
22438 @[ -f ./libgui/Makefile ] || exit 0; \
22439 r=`${PWD_COMMAND}`; export r; \
22440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22441 $(HOST_EXPORTS) \
22442 for flag in $(EXTRA_HOST_FLAGS) ; do \
22443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22444 done; \
22445 echo "Doing install-html in libgui" ; \
22446 (cd $(HOST_SUBDIR)/libgui && \
22447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22449 "RANLIB=$${RANLIB}" \
22450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22451 install-html) \
22452 || exit 1
22454 @endif libgui
22456 .PHONY: maybe-installcheck-libgui installcheck-libgui
22457 maybe-installcheck-libgui:
22458 @if libgui
22459 maybe-installcheck-libgui: installcheck-libgui
22461 installcheck-libgui: \
22462 configure-libgui
22463 @: $(MAKE); $(unstage)
22464 @[ -f ./libgui/Makefile ] || exit 0; \
22465 r=`${PWD_COMMAND}`; export r; \
22466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22467 $(HOST_EXPORTS) \
22468 for flag in $(EXTRA_HOST_FLAGS) ; do \
22469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22470 done; \
22471 echo "Doing installcheck in libgui" ; \
22472 (cd $(HOST_SUBDIR)/libgui && \
22473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22475 "RANLIB=$${RANLIB}" \
22476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22477 installcheck) \
22478 || exit 1
22480 @endif libgui
22482 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
22483 maybe-mostlyclean-libgui:
22484 @if libgui
22485 maybe-mostlyclean-libgui: mostlyclean-libgui
22487 mostlyclean-libgui:
22488 @: $(MAKE); $(unstage)
22489 @[ -f ./libgui/Makefile ] || exit 0; \
22490 r=`${PWD_COMMAND}`; export r; \
22491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22492 $(HOST_EXPORTS) \
22493 for flag in $(EXTRA_HOST_FLAGS) ; do \
22494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22495 done; \
22496 echo "Doing mostlyclean in libgui" ; \
22497 (cd $(HOST_SUBDIR)/libgui && \
22498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22500 "RANLIB=$${RANLIB}" \
22501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22502 mostlyclean) \
22503 || exit 1
22505 @endif libgui
22507 .PHONY: maybe-clean-libgui clean-libgui
22508 maybe-clean-libgui:
22509 @if libgui
22510 maybe-clean-libgui: clean-libgui
22512 clean-libgui:
22513 @: $(MAKE); $(unstage)
22514 @[ -f ./libgui/Makefile ] || exit 0; \
22515 r=`${PWD_COMMAND}`; export r; \
22516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22517 $(HOST_EXPORTS) \
22518 for flag in $(EXTRA_HOST_FLAGS) ; do \
22519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22520 done; \
22521 echo "Doing clean in libgui" ; \
22522 (cd $(HOST_SUBDIR)/libgui && \
22523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22525 "RANLIB=$${RANLIB}" \
22526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22527 clean) \
22528 || exit 1
22530 @endif libgui
22532 .PHONY: maybe-distclean-libgui distclean-libgui
22533 maybe-distclean-libgui:
22534 @if libgui
22535 maybe-distclean-libgui: distclean-libgui
22537 distclean-libgui:
22538 @: $(MAKE); $(unstage)
22539 @[ -f ./libgui/Makefile ] || exit 0; \
22540 r=`${PWD_COMMAND}`; export r; \
22541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22542 $(HOST_EXPORTS) \
22543 for flag in $(EXTRA_HOST_FLAGS) ; do \
22544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22545 done; \
22546 echo "Doing distclean in libgui" ; \
22547 (cd $(HOST_SUBDIR)/libgui && \
22548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22550 "RANLIB=$${RANLIB}" \
22551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22552 distclean) \
22553 || exit 1
22555 @endif libgui
22557 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
22558 maybe-maintainer-clean-libgui:
22559 @if libgui
22560 maybe-maintainer-clean-libgui: maintainer-clean-libgui
22562 maintainer-clean-libgui:
22563 @: $(MAKE); $(unstage)
22564 @[ -f ./libgui/Makefile ] || exit 0; \
22565 r=`${PWD_COMMAND}`; export r; \
22566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22567 $(HOST_EXPORTS) \
22568 for flag in $(EXTRA_HOST_FLAGS) ; do \
22569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22570 done; \
22571 echo "Doing maintainer-clean in libgui" ; \
22572 (cd $(HOST_SUBDIR)/libgui && \
22573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22575 "RANLIB=$${RANLIB}" \
22576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22577 maintainer-clean) \
22578 || exit 1
22580 @endif libgui
22584 .PHONY: configure-libiberty maybe-configure-libiberty
22585 maybe-configure-libiberty:
22586 @if gcc-bootstrap
22587 configure-libiberty: stage_current
22588 @endif gcc-bootstrap
22589 @if libiberty
22590 maybe-configure-libiberty: configure-libiberty
22591 configure-libiberty:
22592 @r=`${PWD_COMMAND}`; export r; \
22593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22594 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22595 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22596 $(HOST_EXPORTS) \
22597 echo Configuring in $(HOST_SUBDIR)/libiberty; \
22598 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
22599 case $(srcdir) in \
22600 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22601 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22602 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22603 esac; \
22604 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22605 libsrcdir="$$s/libiberty"; \
22606 $(SHELL) $${libsrcdir}/configure \
22607 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22608 --target=${target_alias} $${srcdiroption} @extra_host_libiberty_configure_flags@ \
22609 || exit 1
22610 @endif libiberty
22614 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
22615 maybe-configure-stage1-libiberty:
22616 @if libiberty-bootstrap
22617 maybe-configure-stage1-libiberty: configure-stage1-libiberty
22618 configure-stage1-libiberty:
22619 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22620 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22621 @r=`${PWD_COMMAND}`; export r; \
22622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22623 TFLAGS="$(STAGE1_TFLAGS)"; \
22624 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22625 $(HOST_EXPORTS) \
22626 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
22627 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
22628 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
22629 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
22630 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22631 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22632 case $(srcdir) in \
22633 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22634 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22635 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22636 esac; \
22637 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22638 libsrcdir="$$s/libiberty"; \
22639 $(SHELL) $${libsrcdir}/configure \
22640 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22641 --target=${target_alias} $${srcdiroption} \
22642 $(STAGE1_CONFIGURE_FLAGS) \
22643 @extra_host_libiberty_configure_flags@
22644 @endif libiberty-bootstrap
22646 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
22647 maybe-configure-stage2-libiberty:
22648 @if libiberty-bootstrap
22649 maybe-configure-stage2-libiberty: configure-stage2-libiberty
22650 configure-stage2-libiberty:
22651 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22652 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22653 @r=`${PWD_COMMAND}`; export r; \
22654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22655 TFLAGS="$(STAGE2_TFLAGS)"; \
22656 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22657 $(HOST_EXPORTS) \
22658 $(POSTSTAGE1_HOST_EXPORTS) \
22659 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
22660 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
22661 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
22662 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
22663 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22664 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22665 case $(srcdir) in \
22666 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22667 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22668 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22669 esac; \
22670 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22671 libsrcdir="$$s/libiberty"; \
22672 $(SHELL) $${libsrcdir}/configure \
22673 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22674 --target=${target_alias} $${srcdiroption} \
22675 --with-build-libsubdir=$(HOST_SUBDIR) \
22676 $(STAGE2_CONFIGURE_FLAGS) \
22677 @extra_host_libiberty_configure_flags@
22678 @endif libiberty-bootstrap
22680 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
22681 maybe-configure-stage3-libiberty:
22682 @if libiberty-bootstrap
22683 maybe-configure-stage3-libiberty: configure-stage3-libiberty
22684 configure-stage3-libiberty:
22685 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22686 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22687 @r=`${PWD_COMMAND}`; export r; \
22688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22689 TFLAGS="$(STAGE3_TFLAGS)"; \
22690 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22691 $(HOST_EXPORTS) \
22692 $(POSTSTAGE1_HOST_EXPORTS) \
22693 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
22694 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
22695 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
22696 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
22697 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22698 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22699 case $(srcdir) in \
22700 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22701 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22702 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22703 esac; \
22704 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22705 libsrcdir="$$s/libiberty"; \
22706 $(SHELL) $${libsrcdir}/configure \
22707 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22708 --target=${target_alias} $${srcdiroption} \
22709 --with-build-libsubdir=$(HOST_SUBDIR) \
22710 $(STAGE3_CONFIGURE_FLAGS) \
22711 @extra_host_libiberty_configure_flags@
22712 @endif libiberty-bootstrap
22714 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
22715 maybe-configure-stage4-libiberty:
22716 @if libiberty-bootstrap
22717 maybe-configure-stage4-libiberty: configure-stage4-libiberty
22718 configure-stage4-libiberty:
22719 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22720 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22721 @r=`${PWD_COMMAND}`; export r; \
22722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22723 TFLAGS="$(STAGE4_TFLAGS)"; \
22724 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22725 $(HOST_EXPORTS) \
22726 $(POSTSTAGE1_HOST_EXPORTS) \
22727 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
22728 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
22729 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
22730 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
22731 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22732 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22733 case $(srcdir) in \
22734 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22735 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22736 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22737 esac; \
22738 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22739 libsrcdir="$$s/libiberty"; \
22740 $(SHELL) $${libsrcdir}/configure \
22741 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22742 --target=${target_alias} $${srcdiroption} \
22743 --with-build-libsubdir=$(HOST_SUBDIR) \
22744 $(STAGE4_CONFIGURE_FLAGS) \
22745 @extra_host_libiberty_configure_flags@
22746 @endif libiberty-bootstrap
22748 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
22749 maybe-configure-stageprofile-libiberty:
22750 @if libiberty-bootstrap
22751 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
22752 configure-stageprofile-libiberty:
22753 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22754 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22755 @r=`${PWD_COMMAND}`; export r; \
22756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22757 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22758 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22759 $(HOST_EXPORTS) \
22760 $(POSTSTAGE1_HOST_EXPORTS) \
22761 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
22762 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
22763 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
22764 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
22765 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22766 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22767 case $(srcdir) in \
22768 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22769 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22770 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22771 esac; \
22772 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22773 libsrcdir="$$s/libiberty"; \
22774 $(SHELL) $${libsrcdir}/configure \
22775 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22776 --target=${target_alias} $${srcdiroption} \
22777 --with-build-libsubdir=$(HOST_SUBDIR) \
22778 $(STAGEprofile_CONFIGURE_FLAGS) \
22779 @extra_host_libiberty_configure_flags@
22780 @endif libiberty-bootstrap
22782 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
22783 maybe-configure-stagefeedback-libiberty:
22784 @if libiberty-bootstrap
22785 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
22786 configure-stagefeedback-libiberty:
22787 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22788 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22789 @r=`${PWD_COMMAND}`; export r; \
22790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22791 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22792 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22793 $(HOST_EXPORTS) \
22794 $(POSTSTAGE1_HOST_EXPORTS) \
22795 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
22796 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
22797 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
22798 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
22799 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22800 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22801 case $(srcdir) in \
22802 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22803 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22804 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22805 esac; \
22806 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22807 libsrcdir="$$s/libiberty"; \
22808 $(SHELL) $${libsrcdir}/configure \
22809 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22810 --target=${target_alias} $${srcdiroption} \
22811 --with-build-libsubdir=$(HOST_SUBDIR) \
22812 $(STAGEfeedback_CONFIGURE_FLAGS) \
22813 @extra_host_libiberty_configure_flags@
22814 @endif libiberty-bootstrap
22820 .PHONY: all-libiberty maybe-all-libiberty
22821 maybe-all-libiberty:
22822 @if gcc-bootstrap
22823 all-libiberty: stage_current
22824 @endif gcc-bootstrap
22825 @if libiberty
22826 TARGET-libiberty=all
22827 maybe-all-libiberty: all-libiberty
22828 all-libiberty: configure-libiberty
22829 @r=`${PWD_COMMAND}`; export r; \
22830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22831 $(HOST_EXPORTS) \
22832 (cd $(HOST_SUBDIR)/libiberty && \
22833 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
22834 $(TARGET-libiberty))
22835 @endif libiberty
22839 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
22840 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
22841 maybe-all-stage1-libiberty:
22842 maybe-clean-stage1-libiberty:
22843 @if libiberty-bootstrap
22844 maybe-all-stage1-libiberty: all-stage1-libiberty
22845 all-stage1: all-stage1-libiberty
22846 TARGET-stage1-libiberty = $(TARGET-libiberty)
22847 all-stage1-libiberty: configure-stage1-libiberty
22848 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22849 @r=`${PWD_COMMAND}`; export r; \
22850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22851 TFLAGS="$(STAGE1_TFLAGS)"; \
22852 $(HOST_EXPORTS) \
22853 cd $(HOST_SUBDIR)/libiberty && \
22854 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22855 CFLAGS="$(STAGE1_CFLAGS)" \
22856 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
22857 LIBCFLAGS="$(LIBCFLAGS)" \
22858 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22859 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22860 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22861 $(EXTRA_HOST_FLAGS) \
22862 $(STAGE1_FLAGS_TO_PASS) \
22863 TFLAGS="$(STAGE1_TFLAGS)" \
22864 $(TARGET-stage1-libiberty)
22866 maybe-clean-stage1-libiberty: clean-stage1-libiberty
22867 clean-stage1: clean-stage1-libiberty
22868 clean-stage1-libiberty:
22869 @if [ $(current_stage) = stage1 ]; then \
22870 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22871 else \
22872 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
22873 $(MAKE) stage1-start; \
22874 fi; \
22875 cd $(HOST_SUBDIR)/libiberty && \
22876 $(MAKE) $(EXTRA_HOST_FLAGS) \
22877 $(STAGE1_FLAGS_TO_PASS) clean
22878 @endif libiberty-bootstrap
22881 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
22882 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
22883 maybe-all-stage2-libiberty:
22884 maybe-clean-stage2-libiberty:
22885 @if libiberty-bootstrap
22886 maybe-all-stage2-libiberty: all-stage2-libiberty
22887 all-stage2: all-stage2-libiberty
22888 TARGET-stage2-libiberty = $(TARGET-libiberty)
22889 all-stage2-libiberty: configure-stage2-libiberty
22890 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22891 @r=`${PWD_COMMAND}`; export r; \
22892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22893 TFLAGS="$(STAGE2_TFLAGS)"; \
22894 $(HOST_EXPORTS) \
22895 $(POSTSTAGE1_HOST_EXPORTS) \
22896 cd $(HOST_SUBDIR)/libiberty && \
22897 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22898 CFLAGS="$(STAGE2_CFLAGS)" \
22899 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
22900 LIBCFLAGS="$(STAGE2_CFLAGS)" \
22901 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22902 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22903 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22904 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22905 TFLAGS="$(STAGE2_TFLAGS)" \
22906 $(TARGET-stage2-libiberty)
22908 maybe-clean-stage2-libiberty: clean-stage2-libiberty
22909 clean-stage2: clean-stage2-libiberty
22910 clean-stage2-libiberty:
22911 @if [ $(current_stage) = stage2 ]; then \
22912 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22913 else \
22914 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
22915 $(MAKE) stage2-start; \
22916 fi; \
22917 cd $(HOST_SUBDIR)/libiberty && \
22918 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22919 @endif libiberty-bootstrap
22922 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
22923 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
22924 maybe-all-stage3-libiberty:
22925 maybe-clean-stage3-libiberty:
22926 @if libiberty-bootstrap
22927 maybe-all-stage3-libiberty: all-stage3-libiberty
22928 all-stage3: all-stage3-libiberty
22929 TARGET-stage3-libiberty = $(TARGET-libiberty)
22930 all-stage3-libiberty: configure-stage3-libiberty
22931 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22932 @r=`${PWD_COMMAND}`; export r; \
22933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22934 TFLAGS="$(STAGE3_TFLAGS)"; \
22935 $(HOST_EXPORTS) \
22936 $(POSTSTAGE1_HOST_EXPORTS) \
22937 cd $(HOST_SUBDIR)/libiberty && \
22938 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22939 CFLAGS="$(STAGE3_CFLAGS)" \
22940 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
22941 LIBCFLAGS="$(STAGE3_CFLAGS)" \
22942 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22943 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22944 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22945 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22946 TFLAGS="$(STAGE3_TFLAGS)" \
22947 $(TARGET-stage3-libiberty)
22949 maybe-clean-stage3-libiberty: clean-stage3-libiberty
22950 clean-stage3: clean-stage3-libiberty
22951 clean-stage3-libiberty:
22952 @if [ $(current_stage) = stage3 ]; then \
22953 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22954 else \
22955 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
22956 $(MAKE) stage3-start; \
22957 fi; \
22958 cd $(HOST_SUBDIR)/libiberty && \
22959 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22960 @endif libiberty-bootstrap
22963 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
22964 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
22965 maybe-all-stage4-libiberty:
22966 maybe-clean-stage4-libiberty:
22967 @if libiberty-bootstrap
22968 maybe-all-stage4-libiberty: all-stage4-libiberty
22969 all-stage4: all-stage4-libiberty
22970 TARGET-stage4-libiberty = $(TARGET-libiberty)
22971 all-stage4-libiberty: configure-stage4-libiberty
22972 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22973 @r=`${PWD_COMMAND}`; export r; \
22974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22975 TFLAGS="$(STAGE4_TFLAGS)"; \
22976 $(HOST_EXPORTS) \
22977 $(POSTSTAGE1_HOST_EXPORTS) \
22978 cd $(HOST_SUBDIR)/libiberty && \
22979 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22980 CFLAGS="$(STAGE4_CFLAGS)" \
22981 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
22982 LIBCFLAGS="$(STAGE4_CFLAGS)" \
22983 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22984 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22985 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22986 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22987 TFLAGS="$(STAGE4_TFLAGS)" \
22988 $(TARGET-stage4-libiberty)
22990 maybe-clean-stage4-libiberty: clean-stage4-libiberty
22991 clean-stage4: clean-stage4-libiberty
22992 clean-stage4-libiberty:
22993 @if [ $(current_stage) = stage4 ]; then \
22994 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22995 else \
22996 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
22997 $(MAKE) stage4-start; \
22998 fi; \
22999 cd $(HOST_SUBDIR)/libiberty && \
23000 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23001 @endif libiberty-bootstrap
23004 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
23005 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
23006 maybe-all-stageprofile-libiberty:
23007 maybe-clean-stageprofile-libiberty:
23008 @if libiberty-bootstrap
23009 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
23010 all-stageprofile: all-stageprofile-libiberty
23011 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
23012 all-stageprofile-libiberty: configure-stageprofile-libiberty
23013 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23014 @r=`${PWD_COMMAND}`; export r; \
23015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23016 TFLAGS="$(STAGEprofile_TFLAGS)"; \
23017 $(HOST_EXPORTS) \
23018 $(POSTSTAGE1_HOST_EXPORTS) \
23019 cd $(HOST_SUBDIR)/libiberty && \
23020 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23021 CFLAGS="$(STAGEprofile_CFLAGS)" \
23022 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
23023 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
23024 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23025 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23026 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23027 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23028 TFLAGS="$(STAGEprofile_TFLAGS)" \
23029 $(TARGET-stageprofile-libiberty)
23031 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
23032 clean-stageprofile: clean-stageprofile-libiberty
23033 clean-stageprofile-libiberty:
23034 @if [ $(current_stage) = stageprofile ]; then \
23035 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
23036 else \
23037 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
23038 $(MAKE) stageprofile-start; \
23039 fi; \
23040 cd $(HOST_SUBDIR)/libiberty && \
23041 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23042 @endif libiberty-bootstrap
23045 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
23046 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
23047 maybe-all-stagefeedback-libiberty:
23048 maybe-clean-stagefeedback-libiberty:
23049 @if libiberty-bootstrap
23050 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
23051 all-stagefeedback: all-stagefeedback-libiberty
23052 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
23053 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
23054 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23055 @r=`${PWD_COMMAND}`; export r; \
23056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23057 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23058 $(HOST_EXPORTS) \
23059 $(POSTSTAGE1_HOST_EXPORTS) \
23060 cd $(HOST_SUBDIR)/libiberty && \
23061 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23062 CFLAGS="$(STAGEfeedback_CFLAGS)" \
23063 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
23064 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
23065 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23066 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23067 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23068 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23069 TFLAGS="$(STAGEfeedback_TFLAGS)" \
23070 $(TARGET-stagefeedback-libiberty)
23072 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
23073 clean-stagefeedback: clean-stagefeedback-libiberty
23074 clean-stagefeedback-libiberty:
23075 @if [ $(current_stage) = stagefeedback ]; then \
23076 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
23077 else \
23078 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
23079 $(MAKE) stagefeedback-start; \
23080 fi; \
23081 cd $(HOST_SUBDIR)/libiberty && \
23082 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23083 @endif libiberty-bootstrap
23089 .PHONY: check-libiberty maybe-check-libiberty
23090 maybe-check-libiberty:
23091 @if libiberty
23092 maybe-check-libiberty: check-libiberty
23094 check-libiberty:
23095 @: $(MAKE); $(unstage)
23096 @r=`${PWD_COMMAND}`; export r; \
23097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23098 $(HOST_EXPORTS) \
23099 (cd $(HOST_SUBDIR)/libiberty && \
23100 $(MAKE) $(FLAGS_TO_PASS) check)
23102 @endif libiberty
23104 .PHONY: install-libiberty maybe-install-libiberty
23105 maybe-install-libiberty:
23106 @if libiberty
23107 maybe-install-libiberty: install-libiberty
23109 install-libiberty: installdirs
23110 @: $(MAKE); $(unstage)
23111 @r=`${PWD_COMMAND}`; export r; \
23112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23113 $(HOST_EXPORTS) \
23114 (cd $(HOST_SUBDIR)/libiberty && \
23115 $(MAKE) $(FLAGS_TO_PASS) install)
23117 @endif libiberty
23119 .PHONY: install-strip-libiberty maybe-install-strip-libiberty
23120 maybe-install-strip-libiberty:
23121 @if libiberty
23122 maybe-install-strip-libiberty: install-strip-libiberty
23124 install-strip-libiberty: installdirs
23125 @: $(MAKE); $(unstage)
23126 @r=`${PWD_COMMAND}`; export r; \
23127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23128 $(HOST_EXPORTS) \
23129 (cd $(HOST_SUBDIR)/libiberty && \
23130 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23132 @endif libiberty
23134 # Other targets (info, dvi, pdf, etc.)
23136 .PHONY: maybe-info-libiberty info-libiberty
23137 maybe-info-libiberty:
23138 @if libiberty
23139 maybe-info-libiberty: info-libiberty
23141 info-libiberty: \
23142 configure-libiberty
23143 @[ -f ./libiberty/Makefile ] || exit 0; \
23144 r=`${PWD_COMMAND}`; export r; \
23145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23146 $(HOST_EXPORTS) \
23147 for flag in $(EXTRA_HOST_FLAGS) ; do \
23148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23149 done; \
23150 echo "Doing info in libiberty" ; \
23151 (cd $(HOST_SUBDIR)/libiberty && \
23152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23154 "RANLIB=$${RANLIB}" \
23155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23156 info) \
23157 || exit 1
23159 @endif libiberty
23161 .PHONY: maybe-dvi-libiberty dvi-libiberty
23162 maybe-dvi-libiberty:
23163 @if libiberty
23164 maybe-dvi-libiberty: dvi-libiberty
23166 dvi-libiberty: \
23167 configure-libiberty
23168 @[ -f ./libiberty/Makefile ] || exit 0; \
23169 r=`${PWD_COMMAND}`; export r; \
23170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23171 $(HOST_EXPORTS) \
23172 for flag in $(EXTRA_HOST_FLAGS) ; do \
23173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23174 done; \
23175 echo "Doing dvi in libiberty" ; \
23176 (cd $(HOST_SUBDIR)/libiberty && \
23177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23179 "RANLIB=$${RANLIB}" \
23180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23181 dvi) \
23182 || exit 1
23184 @endif libiberty
23186 .PHONY: maybe-pdf-libiberty pdf-libiberty
23187 maybe-pdf-libiberty:
23188 @if libiberty
23189 maybe-pdf-libiberty: pdf-libiberty
23191 pdf-libiberty: \
23192 configure-libiberty
23193 @[ -f ./libiberty/Makefile ] || exit 0; \
23194 r=`${PWD_COMMAND}`; export r; \
23195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23196 $(HOST_EXPORTS) \
23197 for flag in $(EXTRA_HOST_FLAGS) ; do \
23198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23199 done; \
23200 echo "Doing pdf in libiberty" ; \
23201 (cd $(HOST_SUBDIR)/libiberty && \
23202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23204 "RANLIB=$${RANLIB}" \
23205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23206 pdf) \
23207 || exit 1
23209 @endif libiberty
23211 .PHONY: maybe-html-libiberty html-libiberty
23212 maybe-html-libiberty:
23213 @if libiberty
23214 maybe-html-libiberty: html-libiberty
23216 html-libiberty: \
23217 configure-libiberty
23218 @[ -f ./libiberty/Makefile ] || exit 0; \
23219 r=`${PWD_COMMAND}`; export r; \
23220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23221 $(HOST_EXPORTS) \
23222 for flag in $(EXTRA_HOST_FLAGS) ; do \
23223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23224 done; \
23225 echo "Doing html in libiberty" ; \
23226 (cd $(HOST_SUBDIR)/libiberty && \
23227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23229 "RANLIB=$${RANLIB}" \
23230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23231 html) \
23232 || exit 1
23234 @endif libiberty
23236 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
23237 maybe-TAGS-libiberty:
23238 @if libiberty
23239 maybe-TAGS-libiberty: TAGS-libiberty
23241 TAGS-libiberty: \
23242 configure-libiberty
23243 @[ -f ./libiberty/Makefile ] || exit 0; \
23244 r=`${PWD_COMMAND}`; export r; \
23245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23246 $(HOST_EXPORTS) \
23247 for flag in $(EXTRA_HOST_FLAGS) ; do \
23248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23249 done; \
23250 echo "Doing TAGS in libiberty" ; \
23251 (cd $(HOST_SUBDIR)/libiberty && \
23252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23254 "RANLIB=$${RANLIB}" \
23255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23256 TAGS) \
23257 || exit 1
23259 @endif libiberty
23261 .PHONY: maybe-install-info-libiberty install-info-libiberty
23262 maybe-install-info-libiberty:
23263 @if libiberty
23264 maybe-install-info-libiberty: install-info-libiberty
23266 install-info-libiberty: \
23267 configure-libiberty \
23268 info-libiberty
23269 @[ -f ./libiberty/Makefile ] || exit 0; \
23270 r=`${PWD_COMMAND}`; export r; \
23271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23272 $(HOST_EXPORTS) \
23273 for flag in $(EXTRA_HOST_FLAGS) ; do \
23274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23275 done; \
23276 echo "Doing install-info in libiberty" ; \
23277 (cd $(HOST_SUBDIR)/libiberty && \
23278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23280 "RANLIB=$${RANLIB}" \
23281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23282 install-info) \
23283 || exit 1
23285 @endif libiberty
23287 .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty
23288 maybe-install-pdf-libiberty:
23289 @if libiberty
23290 maybe-install-pdf-libiberty: install-pdf-libiberty
23292 install-pdf-libiberty: \
23293 configure-libiberty \
23294 pdf-libiberty
23295 @[ -f ./libiberty/Makefile ] || exit 0; \
23296 r=`${PWD_COMMAND}`; export r; \
23297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23298 $(HOST_EXPORTS) \
23299 for flag in $(EXTRA_HOST_FLAGS) ; do \
23300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23301 done; \
23302 echo "Doing install-pdf in libiberty" ; \
23303 (cd $(HOST_SUBDIR)/libiberty && \
23304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23306 "RANLIB=$${RANLIB}" \
23307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23308 install-pdf) \
23309 || exit 1
23311 @endif libiberty
23313 .PHONY: maybe-install-html-libiberty install-html-libiberty
23314 maybe-install-html-libiberty:
23315 @if libiberty
23316 maybe-install-html-libiberty: install-html-libiberty
23318 install-html-libiberty: \
23319 configure-libiberty \
23320 html-libiberty
23321 @[ -f ./libiberty/Makefile ] || exit 0; \
23322 r=`${PWD_COMMAND}`; export r; \
23323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23324 $(HOST_EXPORTS) \
23325 for flag in $(EXTRA_HOST_FLAGS) ; do \
23326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23327 done; \
23328 echo "Doing install-html in libiberty" ; \
23329 (cd $(HOST_SUBDIR)/libiberty && \
23330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23332 "RANLIB=$${RANLIB}" \
23333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23334 install-html) \
23335 || exit 1
23337 @endif libiberty
23339 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
23340 maybe-installcheck-libiberty:
23341 @if libiberty
23342 maybe-installcheck-libiberty: installcheck-libiberty
23344 installcheck-libiberty: \
23345 configure-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 installcheck 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 installcheck) \
23360 || exit 1
23362 @endif libiberty
23364 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
23365 maybe-mostlyclean-libiberty:
23366 @if libiberty
23367 maybe-mostlyclean-libiberty: mostlyclean-libiberty
23369 mostlyclean-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 mostlyclean 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 mostlyclean) \
23384 || exit 1
23386 @endif libiberty
23388 .PHONY: maybe-clean-libiberty clean-libiberty
23389 maybe-clean-libiberty:
23390 @if libiberty
23391 maybe-clean-libiberty: clean-libiberty
23393 clean-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 clean 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 clean) \
23408 || exit 1
23410 @endif libiberty
23412 .PHONY: maybe-distclean-libiberty distclean-libiberty
23413 maybe-distclean-libiberty:
23414 @if libiberty
23415 maybe-distclean-libiberty: distclean-libiberty
23417 distclean-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 distclean 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 distclean) \
23432 || exit 1
23434 @endif libiberty
23436 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
23437 maybe-maintainer-clean-libiberty:
23438 @if libiberty
23439 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
23441 maintainer-clean-libiberty:
23442 @[ -f ./libiberty/Makefile ] || exit 0; \
23443 r=`${PWD_COMMAND}`; export r; \
23444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23445 $(HOST_EXPORTS) \
23446 for flag in $(EXTRA_HOST_FLAGS) ; do \
23447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23448 done; \
23449 echo "Doing maintainer-clean in libiberty" ; \
23450 (cd $(HOST_SUBDIR)/libiberty && \
23451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23453 "RANLIB=$${RANLIB}" \
23454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23455 maintainer-clean) \
23456 || exit 1
23458 @endif libiberty
23462 .PHONY: configure-libiconv maybe-configure-libiconv
23463 maybe-configure-libiconv:
23464 @if gcc-bootstrap
23465 configure-libiconv: stage_current
23466 @endif gcc-bootstrap
23467 @if libiconv
23468 maybe-configure-libiconv: configure-libiconv
23469 configure-libiconv:
23470 @: $(MAKE); $(unstage)
23471 @r=`${PWD_COMMAND}`; export r; \
23472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23473 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
23474 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv ; \
23475 $(HOST_EXPORTS) \
23476 echo Configuring in $(HOST_SUBDIR)/libiconv; \
23477 cd "$(HOST_SUBDIR)/libiconv" || exit 1; \
23478 case $(srcdir) in \
23479 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23480 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
23481 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23482 esac; \
23483 srcdiroption="--srcdir=$${topdir}/libiconv"; \
23484 libsrcdir="$$s/libiconv"; \
23485 $(SHELL) $${libsrcdir}/configure \
23486 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23487 --target=${target_alias} $${srcdiroption} --disable-shared \
23488 || exit 1
23489 @endif libiconv
23495 .PHONY: all-libiconv maybe-all-libiconv
23496 maybe-all-libiconv:
23497 @if gcc-bootstrap
23498 all-libiconv: stage_current
23499 @endif gcc-bootstrap
23500 @if libiconv
23501 TARGET-libiconv=all
23502 maybe-all-libiconv: all-libiconv
23503 all-libiconv: configure-libiconv
23504 @: $(MAKE); $(unstage)
23505 @r=`${PWD_COMMAND}`; export r; \
23506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23507 $(HOST_EXPORTS) \
23508 (cd $(HOST_SUBDIR)/libiconv && \
23509 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
23510 $(TARGET-libiconv))
23511 @endif libiconv
23516 .PHONY: check-libiconv maybe-check-libiconv
23517 maybe-check-libiconv:
23518 @if libiconv
23519 maybe-check-libiconv: check-libiconv
23521 check-libiconv:
23522 @: $(MAKE); $(unstage)
23523 @r=`${PWD_COMMAND}`; export r; \
23524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23525 $(HOST_EXPORTS) \
23526 (cd $(HOST_SUBDIR)/libiconv && \
23527 $(MAKE) $(FLAGS_TO_PASS) check)
23529 @endif libiconv
23531 .PHONY: install-libiconv maybe-install-libiconv
23532 maybe-install-libiconv:
23533 @if libiconv
23534 maybe-install-libiconv: install-libiconv
23536 install-libiconv:
23538 @endif libiconv
23540 .PHONY: install-strip-libiconv maybe-install-strip-libiconv
23541 maybe-install-strip-libiconv:
23542 @if libiconv
23543 maybe-install-strip-libiconv: install-strip-libiconv
23545 install-strip-libiconv:
23547 @endif libiconv
23549 # Other targets (info, dvi, pdf, etc.)
23551 .PHONY: maybe-info-libiconv info-libiconv
23552 maybe-info-libiconv:
23553 @if libiconv
23554 maybe-info-libiconv: info-libiconv
23556 info-libiconv: \
23557 configure-libiconv
23558 @: $(MAKE); $(unstage)
23559 @[ -f ./libiconv/Makefile ] || exit 0; \
23560 r=`${PWD_COMMAND}`; export r; \
23561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23562 $(HOST_EXPORTS) \
23563 for flag in $(EXTRA_HOST_FLAGS) ; do \
23564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23565 done; \
23566 echo "Doing info in libiconv" ; \
23567 (cd $(HOST_SUBDIR)/libiconv && \
23568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23570 "RANLIB=$${RANLIB}" \
23571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23572 info) \
23573 || exit 1
23575 @endif libiconv
23577 .PHONY: maybe-dvi-libiconv dvi-libiconv
23578 maybe-dvi-libiconv:
23579 @if libiconv
23580 maybe-dvi-libiconv: dvi-libiconv
23582 dvi-libiconv: \
23583 configure-libiconv
23584 @: $(MAKE); $(unstage)
23585 @[ -f ./libiconv/Makefile ] || exit 0; \
23586 r=`${PWD_COMMAND}`; export r; \
23587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23588 $(HOST_EXPORTS) \
23589 for flag in $(EXTRA_HOST_FLAGS) ; do \
23590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23591 done; \
23592 echo "Doing dvi in libiconv" ; \
23593 (cd $(HOST_SUBDIR)/libiconv && \
23594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23596 "RANLIB=$${RANLIB}" \
23597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23598 dvi) \
23599 || exit 1
23601 @endif libiconv
23603 .PHONY: maybe-pdf-libiconv pdf-libiconv
23604 maybe-pdf-libiconv:
23605 @if libiconv
23606 maybe-pdf-libiconv: pdf-libiconv
23608 pdf-libiconv: \
23609 configure-libiconv
23610 @: $(MAKE); $(unstage)
23611 @[ -f ./libiconv/Makefile ] || exit 0; \
23612 r=`${PWD_COMMAND}`; export r; \
23613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23614 $(HOST_EXPORTS) \
23615 for flag in $(EXTRA_HOST_FLAGS) ; do \
23616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23617 done; \
23618 echo "Doing pdf in libiconv" ; \
23619 (cd $(HOST_SUBDIR)/libiconv && \
23620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23622 "RANLIB=$${RANLIB}" \
23623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23624 pdf) \
23625 || exit 1
23627 @endif libiconv
23629 .PHONY: maybe-html-libiconv html-libiconv
23630 maybe-html-libiconv:
23631 @if libiconv
23632 maybe-html-libiconv: html-libiconv
23634 html-libiconv: \
23635 configure-libiconv
23636 @: $(MAKE); $(unstage)
23637 @[ -f ./libiconv/Makefile ] || exit 0; \
23638 r=`${PWD_COMMAND}`; export r; \
23639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23640 $(HOST_EXPORTS) \
23641 for flag in $(EXTRA_HOST_FLAGS) ; do \
23642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23643 done; \
23644 echo "Doing html in libiconv" ; \
23645 (cd $(HOST_SUBDIR)/libiconv && \
23646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23648 "RANLIB=$${RANLIB}" \
23649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23650 html) \
23651 || exit 1
23653 @endif libiconv
23655 .PHONY: maybe-TAGS-libiconv TAGS-libiconv
23656 maybe-TAGS-libiconv:
23657 @if libiconv
23658 maybe-TAGS-libiconv: TAGS-libiconv
23660 TAGS-libiconv: \
23661 configure-libiconv
23662 @: $(MAKE); $(unstage)
23663 @[ -f ./libiconv/Makefile ] || exit 0; \
23664 r=`${PWD_COMMAND}`; export r; \
23665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23666 $(HOST_EXPORTS) \
23667 for flag in $(EXTRA_HOST_FLAGS) ; do \
23668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23669 done; \
23670 echo "Doing TAGS in libiconv" ; \
23671 (cd $(HOST_SUBDIR)/libiconv && \
23672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23674 "RANLIB=$${RANLIB}" \
23675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23676 TAGS) \
23677 || exit 1
23679 @endif libiconv
23681 .PHONY: maybe-install-info-libiconv install-info-libiconv
23682 maybe-install-info-libiconv:
23683 @if libiconv
23684 maybe-install-info-libiconv: install-info-libiconv
23686 # libiconv doesn't support install-info.
23687 install-info-libiconv:
23689 @endif libiconv
23691 .PHONY: maybe-install-pdf-libiconv install-pdf-libiconv
23692 maybe-install-pdf-libiconv:
23693 @if libiconv
23694 maybe-install-pdf-libiconv: install-pdf-libiconv
23696 # libiconv doesn't support install-pdf.
23697 install-pdf-libiconv:
23699 @endif libiconv
23701 .PHONY: maybe-install-html-libiconv install-html-libiconv
23702 maybe-install-html-libiconv:
23703 @if libiconv
23704 maybe-install-html-libiconv: install-html-libiconv
23706 # libiconv doesn't support install-html.
23707 install-html-libiconv:
23709 @endif libiconv
23711 .PHONY: maybe-installcheck-libiconv installcheck-libiconv
23712 maybe-installcheck-libiconv:
23713 @if libiconv
23714 maybe-installcheck-libiconv: installcheck-libiconv
23716 installcheck-libiconv: \
23717 configure-libiconv
23718 @: $(MAKE); $(unstage)
23719 @[ -f ./libiconv/Makefile ] || exit 0; \
23720 r=`${PWD_COMMAND}`; export r; \
23721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23722 $(HOST_EXPORTS) \
23723 for flag in $(EXTRA_HOST_FLAGS) ; do \
23724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23725 done; \
23726 echo "Doing installcheck in libiconv" ; \
23727 (cd $(HOST_SUBDIR)/libiconv && \
23728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23730 "RANLIB=$${RANLIB}" \
23731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23732 installcheck) \
23733 || exit 1
23735 @endif libiconv
23737 .PHONY: maybe-mostlyclean-libiconv mostlyclean-libiconv
23738 maybe-mostlyclean-libiconv:
23739 @if libiconv
23740 maybe-mostlyclean-libiconv: mostlyclean-libiconv
23742 mostlyclean-libiconv:
23743 @: $(MAKE); $(unstage)
23744 @[ -f ./libiconv/Makefile ] || exit 0; \
23745 r=`${PWD_COMMAND}`; export r; \
23746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23747 $(HOST_EXPORTS) \
23748 for flag in $(EXTRA_HOST_FLAGS) ; do \
23749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23750 done; \
23751 echo "Doing mostlyclean in libiconv" ; \
23752 (cd $(HOST_SUBDIR)/libiconv && \
23753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23755 "RANLIB=$${RANLIB}" \
23756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23757 mostlyclean) \
23758 || exit 1
23760 @endif libiconv
23762 .PHONY: maybe-clean-libiconv clean-libiconv
23763 maybe-clean-libiconv:
23764 @if libiconv
23765 maybe-clean-libiconv: clean-libiconv
23767 clean-libiconv:
23768 @: $(MAKE); $(unstage)
23769 @[ -f ./libiconv/Makefile ] || exit 0; \
23770 r=`${PWD_COMMAND}`; export r; \
23771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23772 $(HOST_EXPORTS) \
23773 for flag in $(EXTRA_HOST_FLAGS) ; do \
23774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23775 done; \
23776 echo "Doing clean in libiconv" ; \
23777 (cd $(HOST_SUBDIR)/libiconv && \
23778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23780 "RANLIB=$${RANLIB}" \
23781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23782 clean) \
23783 || exit 1
23785 @endif libiconv
23787 .PHONY: maybe-distclean-libiconv distclean-libiconv
23788 maybe-distclean-libiconv:
23789 @if libiconv
23790 maybe-distclean-libiconv: distclean-libiconv
23792 distclean-libiconv:
23793 @: $(MAKE); $(unstage)
23794 @[ -f ./libiconv/Makefile ] || exit 0; \
23795 r=`${PWD_COMMAND}`; export r; \
23796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23797 $(HOST_EXPORTS) \
23798 for flag in $(EXTRA_HOST_FLAGS) ; do \
23799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23800 done; \
23801 echo "Doing distclean in libiconv" ; \
23802 (cd $(HOST_SUBDIR)/libiconv && \
23803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23805 "RANLIB=$${RANLIB}" \
23806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23807 distclean) \
23808 || exit 1
23810 @endif libiconv
23812 .PHONY: maybe-maintainer-clean-libiconv maintainer-clean-libiconv
23813 maybe-maintainer-clean-libiconv:
23814 @if libiconv
23815 maybe-maintainer-clean-libiconv: maintainer-clean-libiconv
23817 maintainer-clean-libiconv:
23818 @: $(MAKE); $(unstage)
23819 @[ -f ./libiconv/Makefile ] || exit 0; \
23820 r=`${PWD_COMMAND}`; export r; \
23821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23822 $(HOST_EXPORTS) \
23823 for flag in $(EXTRA_HOST_FLAGS) ; do \
23824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23825 done; \
23826 echo "Doing maintainer-clean in libiconv" ; \
23827 (cd $(HOST_SUBDIR)/libiconv && \
23828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23830 "RANLIB=$${RANLIB}" \
23831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23832 maintainer-clean) \
23833 || exit 1
23835 @endif libiconv
23839 .PHONY: configure-m4 maybe-configure-m4
23840 maybe-configure-m4:
23841 @if gcc-bootstrap
23842 configure-m4: stage_current
23843 @endif gcc-bootstrap
23844 @if m4
23845 maybe-configure-m4: configure-m4
23846 configure-m4:
23847 @: $(MAKE); $(unstage)
23848 @r=`${PWD_COMMAND}`; export r; \
23849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23850 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
23851 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
23852 $(HOST_EXPORTS) \
23853 echo Configuring in $(HOST_SUBDIR)/m4; \
23854 cd "$(HOST_SUBDIR)/m4" || exit 1; \
23855 case $(srcdir) in \
23856 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23857 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
23858 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23859 esac; \
23860 srcdiroption="--srcdir=$${topdir}/m4"; \
23861 libsrcdir="$$s/m4"; \
23862 $(SHELL) $${libsrcdir}/configure \
23863 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23864 --target=${target_alias} $${srcdiroption} \
23865 || exit 1
23866 @endif m4
23872 .PHONY: all-m4 maybe-all-m4
23873 maybe-all-m4:
23874 @if gcc-bootstrap
23875 all-m4: stage_current
23876 @endif gcc-bootstrap
23877 @if m4
23878 TARGET-m4=all
23879 maybe-all-m4: all-m4
23880 all-m4: configure-m4
23881 @: $(MAKE); $(unstage)
23882 @r=`${PWD_COMMAND}`; export r; \
23883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23884 $(HOST_EXPORTS) \
23885 (cd $(HOST_SUBDIR)/m4 && \
23886 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
23887 $(TARGET-m4))
23888 @endif m4
23893 .PHONY: check-m4 maybe-check-m4
23894 maybe-check-m4:
23895 @if m4
23896 maybe-check-m4: check-m4
23898 check-m4:
23899 @: $(MAKE); $(unstage)
23900 @r=`${PWD_COMMAND}`; export r; \
23901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23902 $(HOST_EXPORTS) \
23903 (cd $(HOST_SUBDIR)/m4 && \
23904 $(MAKE) $(FLAGS_TO_PASS) check)
23906 @endif m4
23908 .PHONY: install-m4 maybe-install-m4
23909 maybe-install-m4:
23910 @if m4
23911 maybe-install-m4: install-m4
23913 install-m4: installdirs
23914 @: $(MAKE); $(unstage)
23915 @r=`${PWD_COMMAND}`; export r; \
23916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23917 $(HOST_EXPORTS) \
23918 (cd $(HOST_SUBDIR)/m4 && \
23919 $(MAKE) $(FLAGS_TO_PASS) install)
23921 @endif m4
23923 .PHONY: install-strip-m4 maybe-install-strip-m4
23924 maybe-install-strip-m4:
23925 @if m4
23926 maybe-install-strip-m4: install-strip-m4
23928 install-strip-m4: installdirs
23929 @: $(MAKE); $(unstage)
23930 @r=`${PWD_COMMAND}`; export r; \
23931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23932 $(HOST_EXPORTS) \
23933 (cd $(HOST_SUBDIR)/m4 && \
23934 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23936 @endif m4
23938 # Other targets (info, dvi, pdf, etc.)
23940 .PHONY: maybe-info-m4 info-m4
23941 maybe-info-m4:
23942 @if m4
23943 maybe-info-m4: info-m4
23945 info-m4: \
23946 configure-m4
23947 @: $(MAKE); $(unstage)
23948 @[ -f ./m4/Makefile ] || exit 0; \
23949 r=`${PWD_COMMAND}`; export r; \
23950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23951 $(HOST_EXPORTS) \
23952 for flag in $(EXTRA_HOST_FLAGS) ; do \
23953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23954 done; \
23955 echo "Doing info in m4" ; \
23956 (cd $(HOST_SUBDIR)/m4 && \
23957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23959 "RANLIB=$${RANLIB}" \
23960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23961 info) \
23962 || exit 1
23964 @endif m4
23966 .PHONY: maybe-dvi-m4 dvi-m4
23967 maybe-dvi-m4:
23968 @if m4
23969 maybe-dvi-m4: dvi-m4
23971 dvi-m4: \
23972 configure-m4
23973 @: $(MAKE); $(unstage)
23974 @[ -f ./m4/Makefile ] || exit 0; \
23975 r=`${PWD_COMMAND}`; export r; \
23976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23977 $(HOST_EXPORTS) \
23978 for flag in $(EXTRA_HOST_FLAGS) ; do \
23979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23980 done; \
23981 echo "Doing dvi in m4" ; \
23982 (cd $(HOST_SUBDIR)/m4 && \
23983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23985 "RANLIB=$${RANLIB}" \
23986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23987 dvi) \
23988 || exit 1
23990 @endif m4
23992 .PHONY: maybe-pdf-m4 pdf-m4
23993 maybe-pdf-m4:
23994 @if m4
23995 maybe-pdf-m4: pdf-m4
23997 pdf-m4: \
23998 configure-m4
23999 @: $(MAKE); $(unstage)
24000 @[ -f ./m4/Makefile ] || exit 0; \
24001 r=`${PWD_COMMAND}`; export r; \
24002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24003 $(HOST_EXPORTS) \
24004 for flag in $(EXTRA_HOST_FLAGS) ; do \
24005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24006 done; \
24007 echo "Doing pdf in m4" ; \
24008 (cd $(HOST_SUBDIR)/m4 && \
24009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24011 "RANLIB=$${RANLIB}" \
24012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24013 pdf) \
24014 || exit 1
24016 @endif m4
24018 .PHONY: maybe-html-m4 html-m4
24019 maybe-html-m4:
24020 @if m4
24021 maybe-html-m4: html-m4
24023 html-m4: \
24024 configure-m4
24025 @: $(MAKE); $(unstage)
24026 @[ -f ./m4/Makefile ] || exit 0; \
24027 r=`${PWD_COMMAND}`; export r; \
24028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24029 $(HOST_EXPORTS) \
24030 for flag in $(EXTRA_HOST_FLAGS) ; do \
24031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24032 done; \
24033 echo "Doing html in m4" ; \
24034 (cd $(HOST_SUBDIR)/m4 && \
24035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24037 "RANLIB=$${RANLIB}" \
24038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24039 html) \
24040 || exit 1
24042 @endif m4
24044 .PHONY: maybe-TAGS-m4 TAGS-m4
24045 maybe-TAGS-m4:
24046 @if m4
24047 maybe-TAGS-m4: TAGS-m4
24049 TAGS-m4: \
24050 configure-m4
24051 @: $(MAKE); $(unstage)
24052 @[ -f ./m4/Makefile ] || exit 0; \
24053 r=`${PWD_COMMAND}`; export r; \
24054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24055 $(HOST_EXPORTS) \
24056 for flag in $(EXTRA_HOST_FLAGS) ; do \
24057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24058 done; \
24059 echo "Doing TAGS in m4" ; \
24060 (cd $(HOST_SUBDIR)/m4 && \
24061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24063 "RANLIB=$${RANLIB}" \
24064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24065 TAGS) \
24066 || exit 1
24068 @endif m4
24070 .PHONY: maybe-install-info-m4 install-info-m4
24071 maybe-install-info-m4:
24072 @if m4
24073 maybe-install-info-m4: install-info-m4
24075 install-info-m4: \
24076 configure-m4 \
24077 info-m4
24078 @: $(MAKE); $(unstage)
24079 @[ -f ./m4/Makefile ] || exit 0; \
24080 r=`${PWD_COMMAND}`; export r; \
24081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24082 $(HOST_EXPORTS) \
24083 for flag in $(EXTRA_HOST_FLAGS) ; do \
24084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24085 done; \
24086 echo "Doing install-info in m4" ; \
24087 (cd $(HOST_SUBDIR)/m4 && \
24088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24090 "RANLIB=$${RANLIB}" \
24091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24092 install-info) \
24093 || exit 1
24095 @endif m4
24097 .PHONY: maybe-install-pdf-m4 install-pdf-m4
24098 maybe-install-pdf-m4:
24099 @if m4
24100 maybe-install-pdf-m4: install-pdf-m4
24102 install-pdf-m4: \
24103 configure-m4 \
24104 pdf-m4
24105 @: $(MAKE); $(unstage)
24106 @[ -f ./m4/Makefile ] || exit 0; \
24107 r=`${PWD_COMMAND}`; export r; \
24108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24109 $(HOST_EXPORTS) \
24110 for flag in $(EXTRA_HOST_FLAGS) ; do \
24111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24112 done; \
24113 echo "Doing install-pdf in m4" ; \
24114 (cd $(HOST_SUBDIR)/m4 && \
24115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24117 "RANLIB=$${RANLIB}" \
24118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24119 install-pdf) \
24120 || exit 1
24122 @endif m4
24124 .PHONY: maybe-install-html-m4 install-html-m4
24125 maybe-install-html-m4:
24126 @if m4
24127 maybe-install-html-m4: install-html-m4
24129 install-html-m4: \
24130 configure-m4 \
24131 html-m4
24132 @: $(MAKE); $(unstage)
24133 @[ -f ./m4/Makefile ] || exit 0; \
24134 r=`${PWD_COMMAND}`; export r; \
24135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24136 $(HOST_EXPORTS) \
24137 for flag in $(EXTRA_HOST_FLAGS) ; do \
24138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24139 done; \
24140 echo "Doing install-html in m4" ; \
24141 (cd $(HOST_SUBDIR)/m4 && \
24142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24144 "RANLIB=$${RANLIB}" \
24145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24146 install-html) \
24147 || exit 1
24149 @endif m4
24151 .PHONY: maybe-installcheck-m4 installcheck-m4
24152 maybe-installcheck-m4:
24153 @if m4
24154 maybe-installcheck-m4: installcheck-m4
24156 installcheck-m4: \
24157 configure-m4
24158 @: $(MAKE); $(unstage)
24159 @[ -f ./m4/Makefile ] || exit 0; \
24160 r=`${PWD_COMMAND}`; export r; \
24161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24162 $(HOST_EXPORTS) \
24163 for flag in $(EXTRA_HOST_FLAGS) ; do \
24164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24165 done; \
24166 echo "Doing installcheck in m4" ; \
24167 (cd $(HOST_SUBDIR)/m4 && \
24168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24170 "RANLIB=$${RANLIB}" \
24171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24172 installcheck) \
24173 || exit 1
24175 @endif m4
24177 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
24178 maybe-mostlyclean-m4:
24179 @if m4
24180 maybe-mostlyclean-m4: mostlyclean-m4
24182 mostlyclean-m4:
24183 @: $(MAKE); $(unstage)
24184 @[ -f ./m4/Makefile ] || exit 0; \
24185 r=`${PWD_COMMAND}`; export r; \
24186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24187 $(HOST_EXPORTS) \
24188 for flag in $(EXTRA_HOST_FLAGS) ; do \
24189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24190 done; \
24191 echo "Doing mostlyclean in m4" ; \
24192 (cd $(HOST_SUBDIR)/m4 && \
24193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24195 "RANLIB=$${RANLIB}" \
24196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24197 mostlyclean) \
24198 || exit 1
24200 @endif m4
24202 .PHONY: maybe-clean-m4 clean-m4
24203 maybe-clean-m4:
24204 @if m4
24205 maybe-clean-m4: clean-m4
24207 clean-m4:
24208 @: $(MAKE); $(unstage)
24209 @[ -f ./m4/Makefile ] || exit 0; \
24210 r=`${PWD_COMMAND}`; export r; \
24211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24212 $(HOST_EXPORTS) \
24213 for flag in $(EXTRA_HOST_FLAGS) ; do \
24214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24215 done; \
24216 echo "Doing clean in m4" ; \
24217 (cd $(HOST_SUBDIR)/m4 && \
24218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24220 "RANLIB=$${RANLIB}" \
24221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24222 clean) \
24223 || exit 1
24225 @endif m4
24227 .PHONY: maybe-distclean-m4 distclean-m4
24228 maybe-distclean-m4:
24229 @if m4
24230 maybe-distclean-m4: distclean-m4
24232 distclean-m4:
24233 @: $(MAKE); $(unstage)
24234 @[ -f ./m4/Makefile ] || exit 0; \
24235 r=`${PWD_COMMAND}`; export r; \
24236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24237 $(HOST_EXPORTS) \
24238 for flag in $(EXTRA_HOST_FLAGS) ; do \
24239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24240 done; \
24241 echo "Doing distclean in m4" ; \
24242 (cd $(HOST_SUBDIR)/m4 && \
24243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24245 "RANLIB=$${RANLIB}" \
24246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24247 distclean) \
24248 || exit 1
24250 @endif m4
24252 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
24253 maybe-maintainer-clean-m4:
24254 @if m4
24255 maybe-maintainer-clean-m4: maintainer-clean-m4
24257 maintainer-clean-m4:
24258 @: $(MAKE); $(unstage)
24259 @[ -f ./m4/Makefile ] || exit 0; \
24260 r=`${PWD_COMMAND}`; export r; \
24261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24262 $(HOST_EXPORTS) \
24263 for flag in $(EXTRA_HOST_FLAGS) ; do \
24264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24265 done; \
24266 echo "Doing maintainer-clean in m4" ; \
24267 (cd $(HOST_SUBDIR)/m4 && \
24268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24270 "RANLIB=$${RANLIB}" \
24271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24272 maintainer-clean) \
24273 || exit 1
24275 @endif m4
24279 .PHONY: configure-readline maybe-configure-readline
24280 maybe-configure-readline:
24281 @if gcc-bootstrap
24282 configure-readline: stage_current
24283 @endif gcc-bootstrap
24284 @if readline
24285 maybe-configure-readline: configure-readline
24286 configure-readline:
24287 @: $(MAKE); $(unstage)
24288 @r=`${PWD_COMMAND}`; export r; \
24289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24290 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
24291 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
24292 $(HOST_EXPORTS) \
24293 echo Configuring in $(HOST_SUBDIR)/readline; \
24294 cd "$(HOST_SUBDIR)/readline" || exit 1; \
24295 case $(srcdir) in \
24296 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24297 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
24298 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24299 esac; \
24300 srcdiroption="--srcdir=$${topdir}/readline"; \
24301 libsrcdir="$$s/readline"; \
24302 $(SHELL) $${libsrcdir}/configure \
24303 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24304 --target=${target_alias} $${srcdiroption} \
24305 || exit 1
24306 @endif readline
24312 .PHONY: all-readline maybe-all-readline
24313 maybe-all-readline:
24314 @if gcc-bootstrap
24315 all-readline: stage_current
24316 @endif gcc-bootstrap
24317 @if readline
24318 TARGET-readline=all
24319 maybe-all-readline: all-readline
24320 all-readline: configure-readline
24321 @: $(MAKE); $(unstage)
24322 @r=`${PWD_COMMAND}`; export r; \
24323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24324 $(HOST_EXPORTS) \
24325 (cd $(HOST_SUBDIR)/readline && \
24326 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
24327 $(TARGET-readline))
24328 @endif readline
24333 .PHONY: check-readline maybe-check-readline
24334 maybe-check-readline:
24335 @if readline
24336 maybe-check-readline: check-readline
24338 check-readline:
24339 @: $(MAKE); $(unstage)
24340 @r=`${PWD_COMMAND}`; export r; \
24341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24342 $(HOST_EXPORTS) \
24343 (cd $(HOST_SUBDIR)/readline && \
24344 $(MAKE) $(FLAGS_TO_PASS) check)
24346 @endif readline
24348 .PHONY: install-readline maybe-install-readline
24349 maybe-install-readline:
24350 @if readline
24351 maybe-install-readline: install-readline
24353 install-readline: installdirs
24354 @: $(MAKE); $(unstage)
24355 @r=`${PWD_COMMAND}`; export r; \
24356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24357 $(HOST_EXPORTS) \
24358 (cd $(HOST_SUBDIR)/readline && \
24359 $(MAKE) $(FLAGS_TO_PASS) install)
24361 @endif readline
24363 .PHONY: install-strip-readline maybe-install-strip-readline
24364 maybe-install-strip-readline:
24365 @if readline
24366 maybe-install-strip-readline: install-strip-readline
24368 install-strip-readline: installdirs
24369 @: $(MAKE); $(unstage)
24370 @r=`${PWD_COMMAND}`; export r; \
24371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24372 $(HOST_EXPORTS) \
24373 (cd $(HOST_SUBDIR)/readline && \
24374 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24376 @endif readline
24378 # Other targets (info, dvi, pdf, etc.)
24380 .PHONY: maybe-info-readline info-readline
24381 maybe-info-readline:
24382 @if readline
24383 maybe-info-readline: info-readline
24385 info-readline: \
24386 configure-readline
24387 @: $(MAKE); $(unstage)
24388 @[ -f ./readline/Makefile ] || exit 0; \
24389 r=`${PWD_COMMAND}`; export r; \
24390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24391 $(HOST_EXPORTS) \
24392 for flag in $(EXTRA_HOST_FLAGS) ; do \
24393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24394 done; \
24395 echo "Doing info in readline" ; \
24396 (cd $(HOST_SUBDIR)/readline && \
24397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24399 "RANLIB=$${RANLIB}" \
24400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24401 info) \
24402 || exit 1
24404 @endif readline
24406 .PHONY: maybe-dvi-readline dvi-readline
24407 maybe-dvi-readline:
24408 @if readline
24409 maybe-dvi-readline: dvi-readline
24411 dvi-readline: \
24412 configure-readline
24413 @: $(MAKE); $(unstage)
24414 @[ -f ./readline/Makefile ] || exit 0; \
24415 r=`${PWD_COMMAND}`; export r; \
24416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24417 $(HOST_EXPORTS) \
24418 for flag in $(EXTRA_HOST_FLAGS) ; do \
24419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24420 done; \
24421 echo "Doing dvi in readline" ; \
24422 (cd $(HOST_SUBDIR)/readline && \
24423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24425 "RANLIB=$${RANLIB}" \
24426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24427 dvi) \
24428 || exit 1
24430 @endif readline
24432 .PHONY: maybe-pdf-readline pdf-readline
24433 maybe-pdf-readline:
24434 @if readline
24435 maybe-pdf-readline: pdf-readline
24437 pdf-readline: \
24438 configure-readline
24439 @: $(MAKE); $(unstage)
24440 @[ -f ./readline/Makefile ] || exit 0; \
24441 r=`${PWD_COMMAND}`; export r; \
24442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24443 $(HOST_EXPORTS) \
24444 for flag in $(EXTRA_HOST_FLAGS) ; do \
24445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24446 done; \
24447 echo "Doing pdf in readline" ; \
24448 (cd $(HOST_SUBDIR)/readline && \
24449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24451 "RANLIB=$${RANLIB}" \
24452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24453 pdf) \
24454 || exit 1
24456 @endif readline
24458 .PHONY: maybe-html-readline html-readline
24459 maybe-html-readline:
24460 @if readline
24461 maybe-html-readline: html-readline
24463 html-readline: \
24464 configure-readline
24465 @: $(MAKE); $(unstage)
24466 @[ -f ./readline/Makefile ] || exit 0; \
24467 r=`${PWD_COMMAND}`; export r; \
24468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24469 $(HOST_EXPORTS) \
24470 for flag in $(EXTRA_HOST_FLAGS) ; do \
24471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24472 done; \
24473 echo "Doing html in readline" ; \
24474 (cd $(HOST_SUBDIR)/readline && \
24475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24477 "RANLIB=$${RANLIB}" \
24478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24479 html) \
24480 || exit 1
24482 @endif readline
24484 .PHONY: maybe-TAGS-readline TAGS-readline
24485 maybe-TAGS-readline:
24486 @if readline
24487 maybe-TAGS-readline: TAGS-readline
24489 TAGS-readline: \
24490 configure-readline
24491 @: $(MAKE); $(unstage)
24492 @[ -f ./readline/Makefile ] || exit 0; \
24493 r=`${PWD_COMMAND}`; export r; \
24494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24495 $(HOST_EXPORTS) \
24496 for flag in $(EXTRA_HOST_FLAGS) ; do \
24497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24498 done; \
24499 echo "Doing TAGS in readline" ; \
24500 (cd $(HOST_SUBDIR)/readline && \
24501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24503 "RANLIB=$${RANLIB}" \
24504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24505 TAGS) \
24506 || exit 1
24508 @endif readline
24510 .PHONY: maybe-install-info-readline install-info-readline
24511 maybe-install-info-readline:
24512 @if readline
24513 maybe-install-info-readline: install-info-readline
24515 install-info-readline: \
24516 configure-readline \
24517 info-readline
24518 @: $(MAKE); $(unstage)
24519 @[ -f ./readline/Makefile ] || exit 0; \
24520 r=`${PWD_COMMAND}`; export r; \
24521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24522 $(HOST_EXPORTS) \
24523 for flag in $(EXTRA_HOST_FLAGS) ; do \
24524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24525 done; \
24526 echo "Doing install-info in readline" ; \
24527 (cd $(HOST_SUBDIR)/readline && \
24528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24530 "RANLIB=$${RANLIB}" \
24531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24532 install-info) \
24533 || exit 1
24535 @endif readline
24537 .PHONY: maybe-install-pdf-readline install-pdf-readline
24538 maybe-install-pdf-readline:
24539 @if readline
24540 maybe-install-pdf-readline: install-pdf-readline
24542 install-pdf-readline: \
24543 configure-readline \
24544 pdf-readline
24545 @: $(MAKE); $(unstage)
24546 @[ -f ./readline/Makefile ] || exit 0; \
24547 r=`${PWD_COMMAND}`; export r; \
24548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24549 $(HOST_EXPORTS) \
24550 for flag in $(EXTRA_HOST_FLAGS) ; do \
24551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24552 done; \
24553 echo "Doing install-pdf in readline" ; \
24554 (cd $(HOST_SUBDIR)/readline && \
24555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24557 "RANLIB=$${RANLIB}" \
24558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24559 install-pdf) \
24560 || exit 1
24562 @endif readline
24564 .PHONY: maybe-install-html-readline install-html-readline
24565 maybe-install-html-readline:
24566 @if readline
24567 maybe-install-html-readline: install-html-readline
24569 install-html-readline: \
24570 configure-readline \
24571 html-readline
24572 @: $(MAKE); $(unstage)
24573 @[ -f ./readline/Makefile ] || exit 0; \
24574 r=`${PWD_COMMAND}`; export r; \
24575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24576 $(HOST_EXPORTS) \
24577 for flag in $(EXTRA_HOST_FLAGS) ; do \
24578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24579 done; \
24580 echo "Doing install-html in readline" ; \
24581 (cd $(HOST_SUBDIR)/readline && \
24582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24584 "RANLIB=$${RANLIB}" \
24585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24586 install-html) \
24587 || exit 1
24589 @endif readline
24591 .PHONY: maybe-installcheck-readline installcheck-readline
24592 maybe-installcheck-readline:
24593 @if readline
24594 maybe-installcheck-readline: installcheck-readline
24596 installcheck-readline: \
24597 configure-readline
24598 @: $(MAKE); $(unstage)
24599 @[ -f ./readline/Makefile ] || exit 0; \
24600 r=`${PWD_COMMAND}`; export r; \
24601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24602 $(HOST_EXPORTS) \
24603 for flag in $(EXTRA_HOST_FLAGS) ; do \
24604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24605 done; \
24606 echo "Doing installcheck in readline" ; \
24607 (cd $(HOST_SUBDIR)/readline && \
24608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24610 "RANLIB=$${RANLIB}" \
24611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24612 installcheck) \
24613 || exit 1
24615 @endif readline
24617 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
24618 maybe-mostlyclean-readline:
24619 @if readline
24620 maybe-mostlyclean-readline: mostlyclean-readline
24622 mostlyclean-readline:
24623 @: $(MAKE); $(unstage)
24624 @[ -f ./readline/Makefile ] || exit 0; \
24625 r=`${PWD_COMMAND}`; export r; \
24626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24627 $(HOST_EXPORTS) \
24628 for flag in $(EXTRA_HOST_FLAGS) ; do \
24629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24630 done; \
24631 echo "Doing mostlyclean in readline" ; \
24632 (cd $(HOST_SUBDIR)/readline && \
24633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24635 "RANLIB=$${RANLIB}" \
24636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24637 mostlyclean) \
24638 || exit 1
24640 @endif readline
24642 .PHONY: maybe-clean-readline clean-readline
24643 maybe-clean-readline:
24644 @if readline
24645 maybe-clean-readline: clean-readline
24647 clean-readline:
24648 @: $(MAKE); $(unstage)
24649 @[ -f ./readline/Makefile ] || exit 0; \
24650 r=`${PWD_COMMAND}`; export r; \
24651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24652 $(HOST_EXPORTS) \
24653 for flag in $(EXTRA_HOST_FLAGS) ; do \
24654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24655 done; \
24656 echo "Doing clean in readline" ; \
24657 (cd $(HOST_SUBDIR)/readline && \
24658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24660 "RANLIB=$${RANLIB}" \
24661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24662 clean) \
24663 || exit 1
24665 @endif readline
24667 .PHONY: maybe-distclean-readline distclean-readline
24668 maybe-distclean-readline:
24669 @if readline
24670 maybe-distclean-readline: distclean-readline
24672 distclean-readline:
24673 @: $(MAKE); $(unstage)
24674 @[ -f ./readline/Makefile ] || exit 0; \
24675 r=`${PWD_COMMAND}`; export r; \
24676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24677 $(HOST_EXPORTS) \
24678 for flag in $(EXTRA_HOST_FLAGS) ; do \
24679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24680 done; \
24681 echo "Doing distclean in readline" ; \
24682 (cd $(HOST_SUBDIR)/readline && \
24683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24685 "RANLIB=$${RANLIB}" \
24686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24687 distclean) \
24688 || exit 1
24690 @endif readline
24692 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
24693 maybe-maintainer-clean-readline:
24694 @if readline
24695 maybe-maintainer-clean-readline: maintainer-clean-readline
24697 maintainer-clean-readline:
24698 @: $(MAKE); $(unstage)
24699 @[ -f ./readline/Makefile ] || exit 0; \
24700 r=`${PWD_COMMAND}`; export r; \
24701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24702 $(HOST_EXPORTS) \
24703 for flag in $(EXTRA_HOST_FLAGS) ; do \
24704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24705 done; \
24706 echo "Doing maintainer-clean in readline" ; \
24707 (cd $(HOST_SUBDIR)/readline && \
24708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24710 "RANLIB=$${RANLIB}" \
24711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24712 maintainer-clean) \
24713 || exit 1
24715 @endif readline
24719 .PHONY: configure-sid maybe-configure-sid
24720 maybe-configure-sid:
24721 @if gcc-bootstrap
24722 configure-sid: stage_current
24723 @endif gcc-bootstrap
24724 @if sid
24725 maybe-configure-sid: configure-sid
24726 configure-sid:
24727 @: $(MAKE); $(unstage)
24728 @r=`${PWD_COMMAND}`; export r; \
24729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24730 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
24731 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
24732 $(HOST_EXPORTS) \
24733 echo Configuring in $(HOST_SUBDIR)/sid; \
24734 cd "$(HOST_SUBDIR)/sid" || exit 1; \
24735 case $(srcdir) in \
24736 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24737 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
24738 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24739 esac; \
24740 srcdiroption="--srcdir=$${topdir}/sid"; \
24741 libsrcdir="$$s/sid"; \
24742 $(SHELL) $${libsrcdir}/configure \
24743 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24744 --target=${target_alias} $${srcdiroption} \
24745 || exit 1
24746 @endif sid
24752 .PHONY: all-sid maybe-all-sid
24753 maybe-all-sid:
24754 @if gcc-bootstrap
24755 all-sid: stage_current
24756 @endif gcc-bootstrap
24757 @if sid
24758 TARGET-sid=all
24759 maybe-all-sid: all-sid
24760 all-sid: configure-sid
24761 @: $(MAKE); $(unstage)
24762 @r=`${PWD_COMMAND}`; export r; \
24763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24764 $(HOST_EXPORTS) \
24765 (cd $(HOST_SUBDIR)/sid && \
24766 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
24767 $(TARGET-sid))
24768 @endif sid
24773 .PHONY: check-sid maybe-check-sid
24774 maybe-check-sid:
24775 @if sid
24776 maybe-check-sid: check-sid
24778 check-sid:
24779 @: $(MAKE); $(unstage)
24780 @r=`${PWD_COMMAND}`; export r; \
24781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24782 $(HOST_EXPORTS) \
24783 (cd $(HOST_SUBDIR)/sid && \
24784 $(MAKE) $(FLAGS_TO_PASS) check)
24786 @endif sid
24788 .PHONY: install-sid maybe-install-sid
24789 maybe-install-sid:
24790 @if sid
24791 maybe-install-sid: install-sid
24793 install-sid: installdirs
24794 @: $(MAKE); $(unstage)
24795 @r=`${PWD_COMMAND}`; export r; \
24796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24797 $(HOST_EXPORTS) \
24798 (cd $(HOST_SUBDIR)/sid && \
24799 $(MAKE) $(FLAGS_TO_PASS) install)
24801 @endif sid
24803 .PHONY: install-strip-sid maybe-install-strip-sid
24804 maybe-install-strip-sid:
24805 @if sid
24806 maybe-install-strip-sid: install-strip-sid
24808 install-strip-sid: installdirs
24809 @: $(MAKE); $(unstage)
24810 @r=`${PWD_COMMAND}`; export r; \
24811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24812 $(HOST_EXPORTS) \
24813 (cd $(HOST_SUBDIR)/sid && \
24814 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24816 @endif sid
24818 # Other targets (info, dvi, pdf, etc.)
24820 .PHONY: maybe-info-sid info-sid
24821 maybe-info-sid:
24822 @if sid
24823 maybe-info-sid: info-sid
24825 info-sid: \
24826 configure-sid
24827 @: $(MAKE); $(unstage)
24828 @[ -f ./sid/Makefile ] || exit 0; \
24829 r=`${PWD_COMMAND}`; export r; \
24830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24831 $(HOST_EXPORTS) \
24832 for flag in $(EXTRA_HOST_FLAGS) ; do \
24833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24834 done; \
24835 echo "Doing info in sid" ; \
24836 (cd $(HOST_SUBDIR)/sid && \
24837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24839 "RANLIB=$${RANLIB}" \
24840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24841 info) \
24842 || exit 1
24844 @endif sid
24846 .PHONY: maybe-dvi-sid dvi-sid
24847 maybe-dvi-sid:
24848 @if sid
24849 maybe-dvi-sid: dvi-sid
24851 dvi-sid: \
24852 configure-sid
24853 @: $(MAKE); $(unstage)
24854 @[ -f ./sid/Makefile ] || exit 0; \
24855 r=`${PWD_COMMAND}`; export r; \
24856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24857 $(HOST_EXPORTS) \
24858 for flag in $(EXTRA_HOST_FLAGS) ; do \
24859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24860 done; \
24861 echo "Doing dvi in sid" ; \
24862 (cd $(HOST_SUBDIR)/sid && \
24863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24865 "RANLIB=$${RANLIB}" \
24866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24867 dvi) \
24868 || exit 1
24870 @endif sid
24872 .PHONY: maybe-pdf-sid pdf-sid
24873 maybe-pdf-sid:
24874 @if sid
24875 maybe-pdf-sid: pdf-sid
24877 pdf-sid: \
24878 configure-sid
24879 @: $(MAKE); $(unstage)
24880 @[ -f ./sid/Makefile ] || exit 0; \
24881 r=`${PWD_COMMAND}`; export r; \
24882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24883 $(HOST_EXPORTS) \
24884 for flag in $(EXTRA_HOST_FLAGS) ; do \
24885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24886 done; \
24887 echo "Doing pdf in sid" ; \
24888 (cd $(HOST_SUBDIR)/sid && \
24889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24891 "RANLIB=$${RANLIB}" \
24892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24893 pdf) \
24894 || exit 1
24896 @endif sid
24898 .PHONY: maybe-html-sid html-sid
24899 maybe-html-sid:
24900 @if sid
24901 maybe-html-sid: html-sid
24903 html-sid: \
24904 configure-sid
24905 @: $(MAKE); $(unstage)
24906 @[ -f ./sid/Makefile ] || exit 0; \
24907 r=`${PWD_COMMAND}`; export r; \
24908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24909 $(HOST_EXPORTS) \
24910 for flag in $(EXTRA_HOST_FLAGS) ; do \
24911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24912 done; \
24913 echo "Doing html in sid" ; \
24914 (cd $(HOST_SUBDIR)/sid && \
24915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24917 "RANLIB=$${RANLIB}" \
24918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24919 html) \
24920 || exit 1
24922 @endif sid
24924 .PHONY: maybe-TAGS-sid TAGS-sid
24925 maybe-TAGS-sid:
24926 @if sid
24927 maybe-TAGS-sid: TAGS-sid
24929 TAGS-sid: \
24930 configure-sid
24931 @: $(MAKE); $(unstage)
24932 @[ -f ./sid/Makefile ] || exit 0; \
24933 r=`${PWD_COMMAND}`; export r; \
24934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24935 $(HOST_EXPORTS) \
24936 for flag in $(EXTRA_HOST_FLAGS) ; do \
24937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24938 done; \
24939 echo "Doing TAGS in sid" ; \
24940 (cd $(HOST_SUBDIR)/sid && \
24941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24943 "RANLIB=$${RANLIB}" \
24944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24945 TAGS) \
24946 || exit 1
24948 @endif sid
24950 .PHONY: maybe-install-info-sid install-info-sid
24951 maybe-install-info-sid:
24952 @if sid
24953 maybe-install-info-sid: install-info-sid
24955 install-info-sid: \
24956 configure-sid \
24957 info-sid
24958 @: $(MAKE); $(unstage)
24959 @[ -f ./sid/Makefile ] || exit 0; \
24960 r=`${PWD_COMMAND}`; export r; \
24961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24962 $(HOST_EXPORTS) \
24963 for flag in $(EXTRA_HOST_FLAGS) ; do \
24964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24965 done; \
24966 echo "Doing install-info in sid" ; \
24967 (cd $(HOST_SUBDIR)/sid && \
24968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24970 "RANLIB=$${RANLIB}" \
24971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24972 install-info) \
24973 || exit 1
24975 @endif sid
24977 .PHONY: maybe-install-pdf-sid install-pdf-sid
24978 maybe-install-pdf-sid:
24979 @if sid
24980 maybe-install-pdf-sid: install-pdf-sid
24982 install-pdf-sid: \
24983 configure-sid \
24984 pdf-sid
24985 @: $(MAKE); $(unstage)
24986 @[ -f ./sid/Makefile ] || exit 0; \
24987 r=`${PWD_COMMAND}`; export r; \
24988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24989 $(HOST_EXPORTS) \
24990 for flag in $(EXTRA_HOST_FLAGS) ; do \
24991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24992 done; \
24993 echo "Doing install-pdf in sid" ; \
24994 (cd $(HOST_SUBDIR)/sid && \
24995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24997 "RANLIB=$${RANLIB}" \
24998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24999 install-pdf) \
25000 || exit 1
25002 @endif sid
25004 .PHONY: maybe-install-html-sid install-html-sid
25005 maybe-install-html-sid:
25006 @if sid
25007 maybe-install-html-sid: install-html-sid
25009 install-html-sid: \
25010 configure-sid \
25011 html-sid
25012 @: $(MAKE); $(unstage)
25013 @[ -f ./sid/Makefile ] || exit 0; \
25014 r=`${PWD_COMMAND}`; export r; \
25015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25016 $(HOST_EXPORTS) \
25017 for flag in $(EXTRA_HOST_FLAGS) ; do \
25018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25019 done; \
25020 echo "Doing install-html in sid" ; \
25021 (cd $(HOST_SUBDIR)/sid && \
25022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25024 "RANLIB=$${RANLIB}" \
25025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25026 install-html) \
25027 || exit 1
25029 @endif sid
25031 .PHONY: maybe-installcheck-sid installcheck-sid
25032 maybe-installcheck-sid:
25033 @if sid
25034 maybe-installcheck-sid: installcheck-sid
25036 installcheck-sid: \
25037 configure-sid
25038 @: $(MAKE); $(unstage)
25039 @[ -f ./sid/Makefile ] || exit 0; \
25040 r=`${PWD_COMMAND}`; export r; \
25041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25042 $(HOST_EXPORTS) \
25043 for flag in $(EXTRA_HOST_FLAGS) ; do \
25044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25045 done; \
25046 echo "Doing installcheck in sid" ; \
25047 (cd $(HOST_SUBDIR)/sid && \
25048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25050 "RANLIB=$${RANLIB}" \
25051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25052 installcheck) \
25053 || exit 1
25055 @endif sid
25057 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
25058 maybe-mostlyclean-sid:
25059 @if sid
25060 maybe-mostlyclean-sid: mostlyclean-sid
25062 mostlyclean-sid:
25063 @: $(MAKE); $(unstage)
25064 @[ -f ./sid/Makefile ] || exit 0; \
25065 r=`${PWD_COMMAND}`; export r; \
25066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25067 $(HOST_EXPORTS) \
25068 for flag in $(EXTRA_HOST_FLAGS) ; do \
25069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25070 done; \
25071 echo "Doing mostlyclean in sid" ; \
25072 (cd $(HOST_SUBDIR)/sid && \
25073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25075 "RANLIB=$${RANLIB}" \
25076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25077 mostlyclean) \
25078 || exit 1
25080 @endif sid
25082 .PHONY: maybe-clean-sid clean-sid
25083 maybe-clean-sid:
25084 @if sid
25085 maybe-clean-sid: clean-sid
25087 clean-sid:
25088 @: $(MAKE); $(unstage)
25089 @[ -f ./sid/Makefile ] || exit 0; \
25090 r=`${PWD_COMMAND}`; export r; \
25091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25092 $(HOST_EXPORTS) \
25093 for flag in $(EXTRA_HOST_FLAGS) ; do \
25094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25095 done; \
25096 echo "Doing clean in sid" ; \
25097 (cd $(HOST_SUBDIR)/sid && \
25098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25100 "RANLIB=$${RANLIB}" \
25101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25102 clean) \
25103 || exit 1
25105 @endif sid
25107 .PHONY: maybe-distclean-sid distclean-sid
25108 maybe-distclean-sid:
25109 @if sid
25110 maybe-distclean-sid: distclean-sid
25112 distclean-sid:
25113 @: $(MAKE); $(unstage)
25114 @[ -f ./sid/Makefile ] || exit 0; \
25115 r=`${PWD_COMMAND}`; export r; \
25116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25117 $(HOST_EXPORTS) \
25118 for flag in $(EXTRA_HOST_FLAGS) ; do \
25119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25120 done; \
25121 echo "Doing distclean in sid" ; \
25122 (cd $(HOST_SUBDIR)/sid && \
25123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25125 "RANLIB=$${RANLIB}" \
25126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25127 distclean) \
25128 || exit 1
25130 @endif sid
25132 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
25133 maybe-maintainer-clean-sid:
25134 @if sid
25135 maybe-maintainer-clean-sid: maintainer-clean-sid
25137 maintainer-clean-sid:
25138 @: $(MAKE); $(unstage)
25139 @[ -f ./sid/Makefile ] || exit 0; \
25140 r=`${PWD_COMMAND}`; export r; \
25141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25142 $(HOST_EXPORTS) \
25143 for flag in $(EXTRA_HOST_FLAGS) ; do \
25144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25145 done; \
25146 echo "Doing maintainer-clean in sid" ; \
25147 (cd $(HOST_SUBDIR)/sid && \
25148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25150 "RANLIB=$${RANLIB}" \
25151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25152 maintainer-clean) \
25153 || exit 1
25155 @endif sid
25159 .PHONY: configure-sim maybe-configure-sim
25160 maybe-configure-sim:
25161 @if gcc-bootstrap
25162 configure-sim: stage_current
25163 @endif gcc-bootstrap
25164 @if sim
25165 maybe-configure-sim: configure-sim
25166 configure-sim:
25167 @: $(MAKE); $(unstage)
25168 @r=`${PWD_COMMAND}`; export r; \
25169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25170 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
25171 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
25172 $(HOST_EXPORTS) \
25173 echo Configuring in $(HOST_SUBDIR)/sim; \
25174 cd "$(HOST_SUBDIR)/sim" || exit 1; \
25175 case $(srcdir) in \
25176 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25177 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
25178 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25179 esac; \
25180 srcdiroption="--srcdir=$${topdir}/sim"; \
25181 libsrcdir="$$s/sim"; \
25182 $(SHELL) $${libsrcdir}/configure \
25183 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25184 --target=${target_alias} $${srcdiroption} \
25185 || exit 1
25186 @endif sim
25192 .PHONY: all-sim maybe-all-sim
25193 maybe-all-sim:
25194 @if gcc-bootstrap
25195 all-sim: stage_current
25196 @endif gcc-bootstrap
25197 @if sim
25198 TARGET-sim=all
25199 maybe-all-sim: all-sim
25200 all-sim: configure-sim
25201 @: $(MAKE); $(unstage)
25202 @r=`${PWD_COMMAND}`; export r; \
25203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25204 $(HOST_EXPORTS) \
25205 (cd $(HOST_SUBDIR)/sim && \
25206 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25207 $(TARGET-sim))
25208 @endif sim
25213 .PHONY: check-sim maybe-check-sim
25214 maybe-check-sim:
25215 @if sim
25216 maybe-check-sim: check-sim
25218 check-sim:
25219 @: $(MAKE); $(unstage)
25220 @r=`${PWD_COMMAND}`; export r; \
25221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25222 $(HOST_EXPORTS) \
25223 (cd $(HOST_SUBDIR)/sim && \
25224 $(MAKE) $(FLAGS_TO_PASS) check)
25226 @endif sim
25228 .PHONY: install-sim maybe-install-sim
25229 maybe-install-sim:
25230 @if sim
25231 maybe-install-sim: install-sim
25233 install-sim: installdirs
25234 @: $(MAKE); $(unstage)
25235 @r=`${PWD_COMMAND}`; export r; \
25236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25237 $(HOST_EXPORTS) \
25238 (cd $(HOST_SUBDIR)/sim && \
25239 $(MAKE) $(FLAGS_TO_PASS) install)
25241 @endif sim
25243 .PHONY: install-strip-sim maybe-install-strip-sim
25244 maybe-install-strip-sim:
25245 @if sim
25246 maybe-install-strip-sim: install-strip-sim
25248 install-strip-sim: installdirs
25249 @: $(MAKE); $(unstage)
25250 @r=`${PWD_COMMAND}`; export r; \
25251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25252 $(HOST_EXPORTS) \
25253 (cd $(HOST_SUBDIR)/sim && \
25254 $(MAKE) $(FLAGS_TO_PASS) install-strip)
25256 @endif sim
25258 # Other targets (info, dvi, pdf, etc.)
25260 .PHONY: maybe-info-sim info-sim
25261 maybe-info-sim:
25262 @if sim
25263 maybe-info-sim: info-sim
25265 info-sim: \
25266 configure-sim
25267 @: $(MAKE); $(unstage)
25268 @[ -f ./sim/Makefile ] || exit 0; \
25269 r=`${PWD_COMMAND}`; export r; \
25270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25271 $(HOST_EXPORTS) \
25272 for flag in $(EXTRA_HOST_FLAGS) ; do \
25273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25274 done; \
25275 echo "Doing info in sim" ; \
25276 (cd $(HOST_SUBDIR)/sim && \
25277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25279 "RANLIB=$${RANLIB}" \
25280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25281 info) \
25282 || exit 1
25284 @endif sim
25286 .PHONY: maybe-dvi-sim dvi-sim
25287 maybe-dvi-sim:
25288 @if sim
25289 maybe-dvi-sim: dvi-sim
25291 dvi-sim: \
25292 configure-sim
25293 @: $(MAKE); $(unstage)
25294 @[ -f ./sim/Makefile ] || exit 0; \
25295 r=`${PWD_COMMAND}`; export r; \
25296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25297 $(HOST_EXPORTS) \
25298 for flag in $(EXTRA_HOST_FLAGS) ; do \
25299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25300 done; \
25301 echo "Doing dvi in sim" ; \
25302 (cd $(HOST_SUBDIR)/sim && \
25303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25305 "RANLIB=$${RANLIB}" \
25306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25307 dvi) \
25308 || exit 1
25310 @endif sim
25312 .PHONY: maybe-pdf-sim pdf-sim
25313 maybe-pdf-sim:
25314 @if sim
25315 maybe-pdf-sim: pdf-sim
25317 pdf-sim: \
25318 configure-sim
25319 @: $(MAKE); $(unstage)
25320 @[ -f ./sim/Makefile ] || exit 0; \
25321 r=`${PWD_COMMAND}`; export r; \
25322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25323 $(HOST_EXPORTS) \
25324 for flag in $(EXTRA_HOST_FLAGS) ; do \
25325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25326 done; \
25327 echo "Doing pdf in sim" ; \
25328 (cd $(HOST_SUBDIR)/sim && \
25329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25331 "RANLIB=$${RANLIB}" \
25332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25333 pdf) \
25334 || exit 1
25336 @endif sim
25338 .PHONY: maybe-html-sim html-sim
25339 maybe-html-sim:
25340 @if sim
25341 maybe-html-sim: html-sim
25343 html-sim: \
25344 configure-sim
25345 @: $(MAKE); $(unstage)
25346 @[ -f ./sim/Makefile ] || exit 0; \
25347 r=`${PWD_COMMAND}`; export r; \
25348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25349 $(HOST_EXPORTS) \
25350 for flag in $(EXTRA_HOST_FLAGS) ; do \
25351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25352 done; \
25353 echo "Doing html in sim" ; \
25354 (cd $(HOST_SUBDIR)/sim && \
25355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25357 "RANLIB=$${RANLIB}" \
25358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25359 html) \
25360 || exit 1
25362 @endif sim
25364 .PHONY: maybe-TAGS-sim TAGS-sim
25365 maybe-TAGS-sim:
25366 @if sim
25367 maybe-TAGS-sim: TAGS-sim
25369 TAGS-sim: \
25370 configure-sim
25371 @: $(MAKE); $(unstage)
25372 @[ -f ./sim/Makefile ] || exit 0; \
25373 r=`${PWD_COMMAND}`; export r; \
25374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25375 $(HOST_EXPORTS) \
25376 for flag in $(EXTRA_HOST_FLAGS) ; do \
25377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25378 done; \
25379 echo "Doing TAGS in sim" ; \
25380 (cd $(HOST_SUBDIR)/sim && \
25381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25383 "RANLIB=$${RANLIB}" \
25384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25385 TAGS) \
25386 || exit 1
25388 @endif sim
25390 .PHONY: maybe-install-info-sim install-info-sim
25391 maybe-install-info-sim:
25392 @if sim
25393 maybe-install-info-sim: install-info-sim
25395 install-info-sim: \
25396 configure-sim \
25397 info-sim
25398 @: $(MAKE); $(unstage)
25399 @[ -f ./sim/Makefile ] || exit 0; \
25400 r=`${PWD_COMMAND}`; export r; \
25401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25402 $(HOST_EXPORTS) \
25403 for flag in $(EXTRA_HOST_FLAGS) ; do \
25404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25405 done; \
25406 echo "Doing install-info in sim" ; \
25407 (cd $(HOST_SUBDIR)/sim && \
25408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25410 "RANLIB=$${RANLIB}" \
25411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25412 install-info) \
25413 || exit 1
25415 @endif sim
25417 .PHONY: maybe-install-pdf-sim install-pdf-sim
25418 maybe-install-pdf-sim:
25419 @if sim
25420 maybe-install-pdf-sim: install-pdf-sim
25422 install-pdf-sim: \
25423 configure-sim \
25424 pdf-sim
25425 @: $(MAKE); $(unstage)
25426 @[ -f ./sim/Makefile ] || exit 0; \
25427 r=`${PWD_COMMAND}`; export r; \
25428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25429 $(HOST_EXPORTS) \
25430 for flag in $(EXTRA_HOST_FLAGS) ; do \
25431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25432 done; \
25433 echo "Doing install-pdf in sim" ; \
25434 (cd $(HOST_SUBDIR)/sim && \
25435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25437 "RANLIB=$${RANLIB}" \
25438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25439 install-pdf) \
25440 || exit 1
25442 @endif sim
25444 .PHONY: maybe-install-html-sim install-html-sim
25445 maybe-install-html-sim:
25446 @if sim
25447 maybe-install-html-sim: install-html-sim
25449 install-html-sim: \
25450 configure-sim \
25451 html-sim
25452 @: $(MAKE); $(unstage)
25453 @[ -f ./sim/Makefile ] || exit 0; \
25454 r=`${PWD_COMMAND}`; export r; \
25455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25456 $(HOST_EXPORTS) \
25457 for flag in $(EXTRA_HOST_FLAGS) ; do \
25458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25459 done; \
25460 echo "Doing install-html in sim" ; \
25461 (cd $(HOST_SUBDIR)/sim && \
25462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25464 "RANLIB=$${RANLIB}" \
25465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25466 install-html) \
25467 || exit 1
25469 @endif sim
25471 .PHONY: maybe-installcheck-sim installcheck-sim
25472 maybe-installcheck-sim:
25473 @if sim
25474 maybe-installcheck-sim: installcheck-sim
25476 installcheck-sim: \
25477 configure-sim
25478 @: $(MAKE); $(unstage)
25479 @[ -f ./sim/Makefile ] || exit 0; \
25480 r=`${PWD_COMMAND}`; export r; \
25481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25482 $(HOST_EXPORTS) \
25483 for flag in $(EXTRA_HOST_FLAGS) ; do \
25484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25485 done; \
25486 echo "Doing installcheck in sim" ; \
25487 (cd $(HOST_SUBDIR)/sim && \
25488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25490 "RANLIB=$${RANLIB}" \
25491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25492 installcheck) \
25493 || exit 1
25495 @endif sim
25497 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
25498 maybe-mostlyclean-sim:
25499 @if sim
25500 maybe-mostlyclean-sim: mostlyclean-sim
25502 mostlyclean-sim:
25503 @: $(MAKE); $(unstage)
25504 @[ -f ./sim/Makefile ] || exit 0; \
25505 r=`${PWD_COMMAND}`; export r; \
25506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25507 $(HOST_EXPORTS) \
25508 for flag in $(EXTRA_HOST_FLAGS) ; do \
25509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25510 done; \
25511 echo "Doing mostlyclean in sim" ; \
25512 (cd $(HOST_SUBDIR)/sim && \
25513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25515 "RANLIB=$${RANLIB}" \
25516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25517 mostlyclean) \
25518 || exit 1
25520 @endif sim
25522 .PHONY: maybe-clean-sim clean-sim
25523 maybe-clean-sim:
25524 @if sim
25525 maybe-clean-sim: clean-sim
25527 clean-sim:
25528 @: $(MAKE); $(unstage)
25529 @[ -f ./sim/Makefile ] || exit 0; \
25530 r=`${PWD_COMMAND}`; export r; \
25531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25532 $(HOST_EXPORTS) \
25533 for flag in $(EXTRA_HOST_FLAGS) ; do \
25534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25535 done; \
25536 echo "Doing clean in sim" ; \
25537 (cd $(HOST_SUBDIR)/sim && \
25538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25540 "RANLIB=$${RANLIB}" \
25541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25542 clean) \
25543 || exit 1
25545 @endif sim
25547 .PHONY: maybe-distclean-sim distclean-sim
25548 maybe-distclean-sim:
25549 @if sim
25550 maybe-distclean-sim: distclean-sim
25552 distclean-sim:
25553 @: $(MAKE); $(unstage)
25554 @[ -f ./sim/Makefile ] || exit 0; \
25555 r=`${PWD_COMMAND}`; export r; \
25556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25557 $(HOST_EXPORTS) \
25558 for flag in $(EXTRA_HOST_FLAGS) ; do \
25559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25560 done; \
25561 echo "Doing distclean in sim" ; \
25562 (cd $(HOST_SUBDIR)/sim && \
25563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25565 "RANLIB=$${RANLIB}" \
25566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25567 distclean) \
25568 || exit 1
25570 @endif sim
25572 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
25573 maybe-maintainer-clean-sim:
25574 @if sim
25575 maybe-maintainer-clean-sim: maintainer-clean-sim
25577 maintainer-clean-sim:
25578 @: $(MAKE); $(unstage)
25579 @[ -f ./sim/Makefile ] || exit 0; \
25580 r=`${PWD_COMMAND}`; export r; \
25581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25582 $(HOST_EXPORTS) \
25583 for flag in $(EXTRA_HOST_FLAGS) ; do \
25584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25585 done; \
25586 echo "Doing maintainer-clean in sim" ; \
25587 (cd $(HOST_SUBDIR)/sim && \
25588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25590 "RANLIB=$${RANLIB}" \
25591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25592 maintainer-clean) \
25593 || exit 1
25595 @endif sim
25599 .PHONY: configure-texinfo maybe-configure-texinfo
25600 maybe-configure-texinfo:
25601 @if gcc-bootstrap
25602 configure-texinfo: stage_current
25603 @endif gcc-bootstrap
25604 @if texinfo
25605 maybe-configure-texinfo: configure-texinfo
25606 configure-texinfo:
25607 @: $(MAKE); $(unstage)
25608 @r=`${PWD_COMMAND}`; export r; \
25609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25610 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
25611 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
25612 $(HOST_EXPORTS) \
25613 echo Configuring in $(HOST_SUBDIR)/texinfo; \
25614 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
25615 case $(srcdir) in \
25616 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25617 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
25618 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25619 esac; \
25620 srcdiroption="--srcdir=$${topdir}/texinfo"; \
25621 libsrcdir="$$s/texinfo"; \
25622 $(SHELL) $${libsrcdir}/configure \
25623 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25624 --target=${target_alias} $${srcdiroption} \
25625 || exit 1
25626 @endif texinfo
25632 .PHONY: all-texinfo maybe-all-texinfo
25633 maybe-all-texinfo:
25634 @if gcc-bootstrap
25635 all-texinfo: stage_current
25636 @endif gcc-bootstrap
25637 @if texinfo
25638 TARGET-texinfo=all
25639 maybe-all-texinfo: all-texinfo
25640 all-texinfo: configure-texinfo
25641 @: $(MAKE); $(unstage)
25642 @r=`${PWD_COMMAND}`; export r; \
25643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25644 $(HOST_EXPORTS) \
25645 (cd $(HOST_SUBDIR)/texinfo && \
25646 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25647 $(TARGET-texinfo))
25648 @endif texinfo
25653 .PHONY: check-texinfo maybe-check-texinfo
25654 maybe-check-texinfo:
25655 @if texinfo
25656 maybe-check-texinfo: check-texinfo
25658 check-texinfo:
25659 @: $(MAKE); $(unstage)
25660 @r=`${PWD_COMMAND}`; export r; \
25661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25662 $(HOST_EXPORTS) \
25663 (cd $(HOST_SUBDIR)/texinfo && \
25664 $(MAKE) $(FLAGS_TO_PASS) check)
25666 @endif texinfo
25668 .PHONY: install-texinfo maybe-install-texinfo
25669 maybe-install-texinfo:
25670 @if texinfo
25671 maybe-install-texinfo: install-texinfo
25673 install-texinfo:
25675 @endif texinfo
25677 .PHONY: install-strip-texinfo maybe-install-strip-texinfo
25678 maybe-install-strip-texinfo:
25679 @if texinfo
25680 maybe-install-strip-texinfo: install-strip-texinfo
25682 install-strip-texinfo:
25684 @endif texinfo
25686 # Other targets (info, dvi, pdf, etc.)
25688 .PHONY: maybe-info-texinfo info-texinfo
25689 maybe-info-texinfo:
25690 @if texinfo
25691 maybe-info-texinfo: info-texinfo
25693 info-texinfo: \
25694 configure-texinfo
25695 @: $(MAKE); $(unstage)
25696 @[ -f ./texinfo/Makefile ] || exit 0; \
25697 r=`${PWD_COMMAND}`; export r; \
25698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25699 $(HOST_EXPORTS) \
25700 for flag in $(EXTRA_HOST_FLAGS) ; do \
25701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25702 done; \
25703 echo "Doing info in texinfo" ; \
25704 (cd $(HOST_SUBDIR)/texinfo && \
25705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25707 "RANLIB=$${RANLIB}" \
25708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25709 info) \
25710 || exit 1
25712 @endif texinfo
25714 .PHONY: maybe-dvi-texinfo dvi-texinfo
25715 maybe-dvi-texinfo:
25716 @if texinfo
25717 maybe-dvi-texinfo: dvi-texinfo
25719 dvi-texinfo: \
25720 configure-texinfo
25721 @: $(MAKE); $(unstage)
25722 @[ -f ./texinfo/Makefile ] || exit 0; \
25723 r=`${PWD_COMMAND}`; export r; \
25724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25725 $(HOST_EXPORTS) \
25726 for flag in $(EXTRA_HOST_FLAGS) ; do \
25727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25728 done; \
25729 echo "Doing dvi in texinfo" ; \
25730 (cd $(HOST_SUBDIR)/texinfo && \
25731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25733 "RANLIB=$${RANLIB}" \
25734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25735 dvi) \
25736 || exit 1
25738 @endif texinfo
25740 .PHONY: maybe-pdf-texinfo pdf-texinfo
25741 maybe-pdf-texinfo:
25742 @if texinfo
25743 maybe-pdf-texinfo: pdf-texinfo
25745 pdf-texinfo: \
25746 configure-texinfo
25747 @: $(MAKE); $(unstage)
25748 @[ -f ./texinfo/Makefile ] || exit 0; \
25749 r=`${PWD_COMMAND}`; export r; \
25750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25751 $(HOST_EXPORTS) \
25752 for flag in $(EXTRA_HOST_FLAGS) ; do \
25753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25754 done; \
25755 echo "Doing pdf in texinfo" ; \
25756 (cd $(HOST_SUBDIR)/texinfo && \
25757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25759 "RANLIB=$${RANLIB}" \
25760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25761 pdf) \
25762 || exit 1
25764 @endif texinfo
25766 .PHONY: maybe-html-texinfo html-texinfo
25767 maybe-html-texinfo:
25768 @if texinfo
25769 maybe-html-texinfo: html-texinfo
25771 html-texinfo: \
25772 configure-texinfo
25773 @: $(MAKE); $(unstage)
25774 @[ -f ./texinfo/Makefile ] || exit 0; \
25775 r=`${PWD_COMMAND}`; export r; \
25776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25777 $(HOST_EXPORTS) \
25778 for flag in $(EXTRA_HOST_FLAGS) ; do \
25779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25780 done; \
25781 echo "Doing html in texinfo" ; \
25782 (cd $(HOST_SUBDIR)/texinfo && \
25783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25785 "RANLIB=$${RANLIB}" \
25786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25787 html) \
25788 || exit 1
25790 @endif texinfo
25792 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
25793 maybe-TAGS-texinfo:
25794 @if texinfo
25795 maybe-TAGS-texinfo: TAGS-texinfo
25797 TAGS-texinfo: \
25798 configure-texinfo
25799 @: $(MAKE); $(unstage)
25800 @[ -f ./texinfo/Makefile ] || exit 0; \
25801 r=`${PWD_COMMAND}`; export r; \
25802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25803 $(HOST_EXPORTS) \
25804 for flag in $(EXTRA_HOST_FLAGS) ; do \
25805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25806 done; \
25807 echo "Doing TAGS in texinfo" ; \
25808 (cd $(HOST_SUBDIR)/texinfo && \
25809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25811 "RANLIB=$${RANLIB}" \
25812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25813 TAGS) \
25814 || exit 1
25816 @endif texinfo
25818 .PHONY: maybe-install-info-texinfo install-info-texinfo
25819 maybe-install-info-texinfo:
25820 @if texinfo
25821 maybe-install-info-texinfo: install-info-texinfo
25823 install-info-texinfo: \
25824 configure-texinfo \
25825 info-texinfo
25826 @: $(MAKE); $(unstage)
25827 @[ -f ./texinfo/Makefile ] || exit 0; \
25828 r=`${PWD_COMMAND}`; export r; \
25829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25830 $(HOST_EXPORTS) \
25831 for flag in $(EXTRA_HOST_FLAGS) ; do \
25832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25833 done; \
25834 echo "Doing install-info in texinfo" ; \
25835 (cd $(HOST_SUBDIR)/texinfo && \
25836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25838 "RANLIB=$${RANLIB}" \
25839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25840 install-info) \
25841 || exit 1
25843 @endif texinfo
25845 .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo
25846 maybe-install-pdf-texinfo:
25847 @if texinfo
25848 maybe-install-pdf-texinfo: install-pdf-texinfo
25850 install-pdf-texinfo: \
25851 configure-texinfo \
25852 pdf-texinfo
25853 @: $(MAKE); $(unstage)
25854 @[ -f ./texinfo/Makefile ] || exit 0; \
25855 r=`${PWD_COMMAND}`; export r; \
25856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25857 $(HOST_EXPORTS) \
25858 for flag in $(EXTRA_HOST_FLAGS) ; do \
25859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25860 done; \
25861 echo "Doing install-pdf in texinfo" ; \
25862 (cd $(HOST_SUBDIR)/texinfo && \
25863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25865 "RANLIB=$${RANLIB}" \
25866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25867 install-pdf) \
25868 || exit 1
25870 @endif texinfo
25872 .PHONY: maybe-install-html-texinfo install-html-texinfo
25873 maybe-install-html-texinfo:
25874 @if texinfo
25875 maybe-install-html-texinfo: install-html-texinfo
25877 install-html-texinfo: \
25878 configure-texinfo \
25879 html-texinfo
25880 @: $(MAKE); $(unstage)
25881 @[ -f ./texinfo/Makefile ] || exit 0; \
25882 r=`${PWD_COMMAND}`; export r; \
25883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25884 $(HOST_EXPORTS) \
25885 for flag in $(EXTRA_HOST_FLAGS) ; do \
25886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25887 done; \
25888 echo "Doing install-html in texinfo" ; \
25889 (cd $(HOST_SUBDIR)/texinfo && \
25890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25892 "RANLIB=$${RANLIB}" \
25893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25894 install-html) \
25895 || exit 1
25897 @endif texinfo
25899 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
25900 maybe-installcheck-texinfo:
25901 @if texinfo
25902 maybe-installcheck-texinfo: installcheck-texinfo
25904 installcheck-texinfo: \
25905 configure-texinfo
25906 @: $(MAKE); $(unstage)
25907 @[ -f ./texinfo/Makefile ] || exit 0; \
25908 r=`${PWD_COMMAND}`; export r; \
25909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25910 $(HOST_EXPORTS) \
25911 for flag in $(EXTRA_HOST_FLAGS) ; do \
25912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25913 done; \
25914 echo "Doing installcheck in texinfo" ; \
25915 (cd $(HOST_SUBDIR)/texinfo && \
25916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25918 "RANLIB=$${RANLIB}" \
25919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25920 installcheck) \
25921 || exit 1
25923 @endif texinfo
25925 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
25926 maybe-mostlyclean-texinfo:
25927 @if texinfo
25928 maybe-mostlyclean-texinfo: mostlyclean-texinfo
25930 mostlyclean-texinfo:
25931 @: $(MAKE); $(unstage)
25932 @[ -f ./texinfo/Makefile ] || exit 0; \
25933 r=`${PWD_COMMAND}`; export r; \
25934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25935 $(HOST_EXPORTS) \
25936 for flag in $(EXTRA_HOST_FLAGS) ; do \
25937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25938 done; \
25939 echo "Doing mostlyclean in texinfo" ; \
25940 (cd $(HOST_SUBDIR)/texinfo && \
25941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25943 "RANLIB=$${RANLIB}" \
25944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25945 mostlyclean) \
25946 || exit 1
25948 @endif texinfo
25950 .PHONY: maybe-clean-texinfo clean-texinfo
25951 maybe-clean-texinfo:
25952 @if texinfo
25953 maybe-clean-texinfo: clean-texinfo
25955 clean-texinfo:
25956 @: $(MAKE); $(unstage)
25957 @[ -f ./texinfo/Makefile ] || exit 0; \
25958 r=`${PWD_COMMAND}`; export r; \
25959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25960 $(HOST_EXPORTS) \
25961 for flag in $(EXTRA_HOST_FLAGS) ; do \
25962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25963 done; \
25964 echo "Doing clean in texinfo" ; \
25965 (cd $(HOST_SUBDIR)/texinfo && \
25966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25968 "RANLIB=$${RANLIB}" \
25969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25970 clean) \
25971 || exit 1
25973 @endif texinfo
25975 .PHONY: maybe-distclean-texinfo distclean-texinfo
25976 maybe-distclean-texinfo:
25977 @if texinfo
25978 maybe-distclean-texinfo: distclean-texinfo
25980 distclean-texinfo:
25981 @: $(MAKE); $(unstage)
25982 @[ -f ./texinfo/Makefile ] || exit 0; \
25983 r=`${PWD_COMMAND}`; export r; \
25984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25985 $(HOST_EXPORTS) \
25986 for flag in $(EXTRA_HOST_FLAGS) ; do \
25987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25988 done; \
25989 echo "Doing distclean in texinfo" ; \
25990 (cd $(HOST_SUBDIR)/texinfo && \
25991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25993 "RANLIB=$${RANLIB}" \
25994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25995 distclean) \
25996 || exit 1
25998 @endif texinfo
26000 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
26001 maybe-maintainer-clean-texinfo:
26002 @if texinfo
26003 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
26005 maintainer-clean-texinfo:
26006 @: $(MAKE); $(unstage)
26007 @[ -f ./texinfo/Makefile ] || exit 0; \
26008 r=`${PWD_COMMAND}`; export r; \
26009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26010 $(HOST_EXPORTS) \
26011 for flag in $(EXTRA_HOST_FLAGS) ; do \
26012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26013 done; \
26014 echo "Doing maintainer-clean in texinfo" ; \
26015 (cd $(HOST_SUBDIR)/texinfo && \
26016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26018 "RANLIB=$${RANLIB}" \
26019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26020 maintainer-clean) \
26021 || exit 1
26023 @endif texinfo
26027 .PHONY: configure-zlib maybe-configure-zlib
26028 maybe-configure-zlib:
26029 @if gcc-bootstrap
26030 configure-zlib: stage_current
26031 @endif gcc-bootstrap
26032 @if zlib
26033 maybe-configure-zlib: configure-zlib
26034 configure-zlib:
26035 @r=`${PWD_COMMAND}`; export r; \
26036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26037 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26038 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26039 $(HOST_EXPORTS) \
26040 echo Configuring in $(HOST_SUBDIR)/zlib; \
26041 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
26042 case $(srcdir) in \
26043 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26044 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26045 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26046 esac; \
26047 srcdiroption="--srcdir=$${topdir}/zlib"; \
26048 libsrcdir="$$s/zlib"; \
26049 $(SHELL) $${libsrcdir}/configure \
26050 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26051 --target=${target_alias} $${srcdiroption} \
26052 || exit 1
26053 @endif zlib
26057 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
26058 maybe-configure-stage1-zlib:
26059 @if zlib-bootstrap
26060 maybe-configure-stage1-zlib: configure-stage1-zlib
26061 configure-stage1-zlib:
26062 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26063 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26064 @r=`${PWD_COMMAND}`; export r; \
26065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26066 TFLAGS="$(STAGE1_TFLAGS)"; \
26067 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26068 $(HOST_EXPORTS) \
26069 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
26070 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
26071 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
26072 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
26073 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26074 cd $(HOST_SUBDIR)/zlib || exit 1; \
26075 case $(srcdir) in \
26076 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26077 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26078 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26079 esac; \
26080 srcdiroption="--srcdir=$${topdir}/zlib"; \
26081 libsrcdir="$$s/zlib"; \
26082 $(SHELL) $${libsrcdir}/configure \
26083 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26084 --target=${target_alias} $${srcdiroption} \
26085 $(STAGE1_CONFIGURE_FLAGS)
26086 @endif zlib-bootstrap
26088 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
26089 maybe-configure-stage2-zlib:
26090 @if zlib-bootstrap
26091 maybe-configure-stage2-zlib: configure-stage2-zlib
26092 configure-stage2-zlib:
26093 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26094 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26095 @r=`${PWD_COMMAND}`; export r; \
26096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26097 TFLAGS="$(STAGE2_TFLAGS)"; \
26098 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26099 $(HOST_EXPORTS) \
26100 $(POSTSTAGE1_HOST_EXPORTS) \
26101 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
26102 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
26103 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
26104 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
26105 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26106 cd $(HOST_SUBDIR)/zlib || exit 1; \
26107 case $(srcdir) in \
26108 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26109 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26110 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26111 esac; \
26112 srcdiroption="--srcdir=$${topdir}/zlib"; \
26113 libsrcdir="$$s/zlib"; \
26114 $(SHELL) $${libsrcdir}/configure \
26115 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26116 --target=${target_alias} $${srcdiroption} \
26117 --with-build-libsubdir=$(HOST_SUBDIR) \
26118 $(STAGE2_CONFIGURE_FLAGS)
26119 @endif zlib-bootstrap
26121 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
26122 maybe-configure-stage3-zlib:
26123 @if zlib-bootstrap
26124 maybe-configure-stage3-zlib: configure-stage3-zlib
26125 configure-stage3-zlib:
26126 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26127 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26128 @r=`${PWD_COMMAND}`; export r; \
26129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26130 TFLAGS="$(STAGE3_TFLAGS)"; \
26131 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26132 $(HOST_EXPORTS) \
26133 $(POSTSTAGE1_HOST_EXPORTS) \
26134 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
26135 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
26136 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
26137 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
26138 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26139 cd $(HOST_SUBDIR)/zlib || exit 1; \
26140 case $(srcdir) in \
26141 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26142 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26143 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26144 esac; \
26145 srcdiroption="--srcdir=$${topdir}/zlib"; \
26146 libsrcdir="$$s/zlib"; \
26147 $(SHELL) $${libsrcdir}/configure \
26148 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26149 --target=${target_alias} $${srcdiroption} \
26150 --with-build-libsubdir=$(HOST_SUBDIR) \
26151 $(STAGE3_CONFIGURE_FLAGS)
26152 @endif zlib-bootstrap
26154 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
26155 maybe-configure-stage4-zlib:
26156 @if zlib-bootstrap
26157 maybe-configure-stage4-zlib: configure-stage4-zlib
26158 configure-stage4-zlib:
26159 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26160 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26161 @r=`${PWD_COMMAND}`; export r; \
26162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26163 TFLAGS="$(STAGE4_TFLAGS)"; \
26164 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26165 $(HOST_EXPORTS) \
26166 $(POSTSTAGE1_HOST_EXPORTS) \
26167 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
26168 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
26169 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
26170 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
26171 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26172 cd $(HOST_SUBDIR)/zlib || exit 1; \
26173 case $(srcdir) in \
26174 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26175 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26176 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26177 esac; \
26178 srcdiroption="--srcdir=$${topdir}/zlib"; \
26179 libsrcdir="$$s/zlib"; \
26180 $(SHELL) $${libsrcdir}/configure \
26181 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26182 --target=${target_alias} $${srcdiroption} \
26183 --with-build-libsubdir=$(HOST_SUBDIR) \
26184 $(STAGE4_CONFIGURE_FLAGS)
26185 @endif zlib-bootstrap
26187 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
26188 maybe-configure-stageprofile-zlib:
26189 @if zlib-bootstrap
26190 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
26191 configure-stageprofile-zlib:
26192 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26193 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26194 @r=`${PWD_COMMAND}`; export r; \
26195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26196 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26197 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26198 $(HOST_EXPORTS) \
26199 $(POSTSTAGE1_HOST_EXPORTS) \
26200 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
26201 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
26202 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
26203 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
26204 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26205 cd $(HOST_SUBDIR)/zlib || exit 1; \
26206 case $(srcdir) in \
26207 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26208 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26209 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26210 esac; \
26211 srcdiroption="--srcdir=$${topdir}/zlib"; \
26212 libsrcdir="$$s/zlib"; \
26213 $(SHELL) $${libsrcdir}/configure \
26214 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26215 --target=${target_alias} $${srcdiroption} \
26216 --with-build-libsubdir=$(HOST_SUBDIR) \
26217 $(STAGEprofile_CONFIGURE_FLAGS)
26218 @endif zlib-bootstrap
26220 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
26221 maybe-configure-stagefeedback-zlib:
26222 @if zlib-bootstrap
26223 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
26224 configure-stagefeedback-zlib:
26225 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26226 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26227 @r=`${PWD_COMMAND}`; export r; \
26228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26229 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
26230 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26231 $(HOST_EXPORTS) \
26232 $(POSTSTAGE1_HOST_EXPORTS) \
26233 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
26234 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
26235 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
26236 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
26237 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26238 cd $(HOST_SUBDIR)/zlib || exit 1; \
26239 case $(srcdir) in \
26240 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26241 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26242 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26243 esac; \
26244 srcdiroption="--srcdir=$${topdir}/zlib"; \
26245 libsrcdir="$$s/zlib"; \
26246 $(SHELL) $${libsrcdir}/configure \
26247 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26248 --target=${target_alias} $${srcdiroption} \
26249 --with-build-libsubdir=$(HOST_SUBDIR) \
26250 $(STAGEfeedback_CONFIGURE_FLAGS)
26251 @endif zlib-bootstrap
26257 .PHONY: all-zlib maybe-all-zlib
26258 maybe-all-zlib:
26259 @if gcc-bootstrap
26260 all-zlib: stage_current
26261 @endif gcc-bootstrap
26262 @if zlib
26263 TARGET-zlib=all
26264 maybe-all-zlib: all-zlib
26265 all-zlib: configure-zlib
26266 @r=`${PWD_COMMAND}`; export r; \
26267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26268 $(HOST_EXPORTS) \
26269 (cd $(HOST_SUBDIR)/zlib && \
26270 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26271 $(TARGET-zlib))
26272 @endif zlib
26276 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
26277 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
26278 maybe-all-stage1-zlib:
26279 maybe-clean-stage1-zlib:
26280 @if zlib-bootstrap
26281 maybe-all-stage1-zlib: all-stage1-zlib
26282 all-stage1: all-stage1-zlib
26283 TARGET-stage1-zlib = $(TARGET-zlib)
26284 all-stage1-zlib: configure-stage1-zlib
26285 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26286 @r=`${PWD_COMMAND}`; export r; \
26287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26288 TFLAGS="$(STAGE1_TFLAGS)"; \
26289 $(HOST_EXPORTS) \
26290 cd $(HOST_SUBDIR)/zlib && \
26291 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26292 CFLAGS="$(STAGE1_CFLAGS)" \
26293 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
26294 LIBCFLAGS="$(LIBCFLAGS)" \
26295 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26296 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26297 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26298 $(EXTRA_HOST_FLAGS) \
26299 $(STAGE1_FLAGS_TO_PASS) \
26300 TFLAGS="$(STAGE1_TFLAGS)" \
26301 $(TARGET-stage1-zlib)
26303 maybe-clean-stage1-zlib: clean-stage1-zlib
26304 clean-stage1: clean-stage1-zlib
26305 clean-stage1-zlib:
26306 @if [ $(current_stage) = stage1 ]; then \
26307 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26308 else \
26309 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
26310 $(MAKE) stage1-start; \
26311 fi; \
26312 cd $(HOST_SUBDIR)/zlib && \
26313 $(MAKE) $(EXTRA_HOST_FLAGS) \
26314 $(STAGE1_FLAGS_TO_PASS) clean
26315 @endif zlib-bootstrap
26318 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
26319 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
26320 maybe-all-stage2-zlib:
26321 maybe-clean-stage2-zlib:
26322 @if zlib-bootstrap
26323 maybe-all-stage2-zlib: all-stage2-zlib
26324 all-stage2: all-stage2-zlib
26325 TARGET-stage2-zlib = $(TARGET-zlib)
26326 all-stage2-zlib: configure-stage2-zlib
26327 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26328 @r=`${PWD_COMMAND}`; export r; \
26329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26330 TFLAGS="$(STAGE2_TFLAGS)"; \
26331 $(HOST_EXPORTS) \
26332 $(POSTSTAGE1_HOST_EXPORTS) \
26333 cd $(HOST_SUBDIR)/zlib && \
26334 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26335 CFLAGS="$(STAGE2_CFLAGS)" \
26336 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
26337 LIBCFLAGS="$(STAGE2_CFLAGS)" \
26338 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26339 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26340 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26341 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26342 TFLAGS="$(STAGE2_TFLAGS)" \
26343 $(TARGET-stage2-zlib)
26345 maybe-clean-stage2-zlib: clean-stage2-zlib
26346 clean-stage2: clean-stage2-zlib
26347 clean-stage2-zlib:
26348 @if [ $(current_stage) = stage2 ]; then \
26349 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26350 else \
26351 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
26352 $(MAKE) stage2-start; \
26353 fi; \
26354 cd $(HOST_SUBDIR)/zlib && \
26355 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26356 @endif zlib-bootstrap
26359 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
26360 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
26361 maybe-all-stage3-zlib:
26362 maybe-clean-stage3-zlib:
26363 @if zlib-bootstrap
26364 maybe-all-stage3-zlib: all-stage3-zlib
26365 all-stage3: all-stage3-zlib
26366 TARGET-stage3-zlib = $(TARGET-zlib)
26367 all-stage3-zlib: configure-stage3-zlib
26368 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26369 @r=`${PWD_COMMAND}`; export r; \
26370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26371 TFLAGS="$(STAGE3_TFLAGS)"; \
26372 $(HOST_EXPORTS) \
26373 $(POSTSTAGE1_HOST_EXPORTS) \
26374 cd $(HOST_SUBDIR)/zlib && \
26375 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26376 CFLAGS="$(STAGE3_CFLAGS)" \
26377 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
26378 LIBCFLAGS="$(STAGE3_CFLAGS)" \
26379 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26380 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26381 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26382 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26383 TFLAGS="$(STAGE3_TFLAGS)" \
26384 $(TARGET-stage3-zlib)
26386 maybe-clean-stage3-zlib: clean-stage3-zlib
26387 clean-stage3: clean-stage3-zlib
26388 clean-stage3-zlib:
26389 @if [ $(current_stage) = stage3 ]; then \
26390 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26391 else \
26392 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
26393 $(MAKE) stage3-start; \
26394 fi; \
26395 cd $(HOST_SUBDIR)/zlib && \
26396 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26397 @endif zlib-bootstrap
26400 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
26401 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
26402 maybe-all-stage4-zlib:
26403 maybe-clean-stage4-zlib:
26404 @if zlib-bootstrap
26405 maybe-all-stage4-zlib: all-stage4-zlib
26406 all-stage4: all-stage4-zlib
26407 TARGET-stage4-zlib = $(TARGET-zlib)
26408 all-stage4-zlib: configure-stage4-zlib
26409 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26410 @r=`${PWD_COMMAND}`; export r; \
26411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26412 TFLAGS="$(STAGE4_TFLAGS)"; \
26413 $(HOST_EXPORTS) \
26414 $(POSTSTAGE1_HOST_EXPORTS) \
26415 cd $(HOST_SUBDIR)/zlib && \
26416 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26417 CFLAGS="$(STAGE4_CFLAGS)" \
26418 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
26419 LIBCFLAGS="$(STAGE4_CFLAGS)" \
26420 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26421 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26422 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26423 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26424 TFLAGS="$(STAGE4_TFLAGS)" \
26425 $(TARGET-stage4-zlib)
26427 maybe-clean-stage4-zlib: clean-stage4-zlib
26428 clean-stage4: clean-stage4-zlib
26429 clean-stage4-zlib:
26430 @if [ $(current_stage) = stage4 ]; then \
26431 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26432 else \
26433 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
26434 $(MAKE) stage4-start; \
26435 fi; \
26436 cd $(HOST_SUBDIR)/zlib && \
26437 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26438 @endif zlib-bootstrap
26441 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
26442 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
26443 maybe-all-stageprofile-zlib:
26444 maybe-clean-stageprofile-zlib:
26445 @if zlib-bootstrap
26446 maybe-all-stageprofile-zlib: all-stageprofile-zlib
26447 all-stageprofile: all-stageprofile-zlib
26448 TARGET-stageprofile-zlib = $(TARGET-zlib)
26449 all-stageprofile-zlib: configure-stageprofile-zlib
26450 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26451 @r=`${PWD_COMMAND}`; export r; \
26452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26453 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26454 $(HOST_EXPORTS) \
26455 $(POSTSTAGE1_HOST_EXPORTS) \
26456 cd $(HOST_SUBDIR)/zlib && \
26457 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26458 CFLAGS="$(STAGEprofile_CFLAGS)" \
26459 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
26460 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
26461 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26462 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26463 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26464 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26465 TFLAGS="$(STAGEprofile_TFLAGS)" \
26466 $(TARGET-stageprofile-zlib)
26468 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
26469 clean-stageprofile: clean-stageprofile-zlib
26470 clean-stageprofile-zlib:
26471 @if [ $(current_stage) = stageprofile ]; then \
26472 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26473 else \
26474 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
26475 $(MAKE) stageprofile-start; \
26476 fi; \
26477 cd $(HOST_SUBDIR)/zlib && \
26478 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26479 @endif zlib-bootstrap
26482 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
26483 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
26484 maybe-all-stagefeedback-zlib:
26485 maybe-clean-stagefeedback-zlib:
26486 @if zlib-bootstrap
26487 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
26488 all-stagefeedback: all-stagefeedback-zlib
26489 TARGET-stagefeedback-zlib = $(TARGET-zlib)
26490 all-stagefeedback-zlib: configure-stagefeedback-zlib
26491 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26492 @r=`${PWD_COMMAND}`; export r; \
26493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26494 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
26495 $(HOST_EXPORTS) \
26496 $(POSTSTAGE1_HOST_EXPORTS) \
26497 cd $(HOST_SUBDIR)/zlib && \
26498 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26499 CFLAGS="$(STAGEfeedback_CFLAGS)" \
26500 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
26501 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
26502 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26503 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26504 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26505 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26506 TFLAGS="$(STAGEfeedback_TFLAGS)" \
26507 $(TARGET-stagefeedback-zlib)
26509 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
26510 clean-stagefeedback: clean-stagefeedback-zlib
26511 clean-stagefeedback-zlib:
26512 @if [ $(current_stage) = stagefeedback ]; then \
26513 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26514 else \
26515 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
26516 $(MAKE) stagefeedback-start; \
26517 fi; \
26518 cd $(HOST_SUBDIR)/zlib && \
26519 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26520 @endif zlib-bootstrap
26526 .PHONY: check-zlib maybe-check-zlib
26527 maybe-check-zlib:
26528 @if zlib
26529 maybe-check-zlib: check-zlib
26531 check-zlib:
26533 @endif zlib
26535 .PHONY: install-zlib maybe-install-zlib
26536 maybe-install-zlib:
26537 @if zlib
26538 maybe-install-zlib: install-zlib
26540 install-zlib:
26542 @endif zlib
26544 .PHONY: install-strip-zlib maybe-install-strip-zlib
26545 maybe-install-strip-zlib:
26546 @if zlib
26547 maybe-install-strip-zlib: install-strip-zlib
26549 install-strip-zlib:
26551 @endif zlib
26553 # Other targets (info, dvi, pdf, etc.)
26555 .PHONY: maybe-info-zlib info-zlib
26556 maybe-info-zlib:
26557 @if zlib
26558 maybe-info-zlib: info-zlib
26560 info-zlib: \
26561 configure-zlib
26562 @[ -f ./zlib/Makefile ] || exit 0; \
26563 r=`${PWD_COMMAND}`; export r; \
26564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26565 $(HOST_EXPORTS) \
26566 for flag in $(EXTRA_HOST_FLAGS) ; do \
26567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26568 done; \
26569 echo "Doing info in zlib" ; \
26570 (cd $(HOST_SUBDIR)/zlib && \
26571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26573 "RANLIB=$${RANLIB}" \
26574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26575 info) \
26576 || exit 1
26578 @endif zlib
26580 .PHONY: maybe-dvi-zlib dvi-zlib
26581 maybe-dvi-zlib:
26582 @if zlib
26583 maybe-dvi-zlib: dvi-zlib
26585 dvi-zlib: \
26586 configure-zlib
26587 @[ -f ./zlib/Makefile ] || exit 0; \
26588 r=`${PWD_COMMAND}`; export r; \
26589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26590 $(HOST_EXPORTS) \
26591 for flag in $(EXTRA_HOST_FLAGS) ; do \
26592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26593 done; \
26594 echo "Doing dvi in zlib" ; \
26595 (cd $(HOST_SUBDIR)/zlib && \
26596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26598 "RANLIB=$${RANLIB}" \
26599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26600 dvi) \
26601 || exit 1
26603 @endif zlib
26605 .PHONY: maybe-pdf-zlib pdf-zlib
26606 maybe-pdf-zlib:
26607 @if zlib
26608 maybe-pdf-zlib: pdf-zlib
26610 pdf-zlib: \
26611 configure-zlib
26612 @[ -f ./zlib/Makefile ] || exit 0; \
26613 r=`${PWD_COMMAND}`; export r; \
26614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26615 $(HOST_EXPORTS) \
26616 for flag in $(EXTRA_HOST_FLAGS) ; do \
26617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26618 done; \
26619 echo "Doing pdf in zlib" ; \
26620 (cd $(HOST_SUBDIR)/zlib && \
26621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26623 "RANLIB=$${RANLIB}" \
26624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26625 pdf) \
26626 || exit 1
26628 @endif zlib
26630 .PHONY: maybe-html-zlib html-zlib
26631 maybe-html-zlib:
26632 @if zlib
26633 maybe-html-zlib: html-zlib
26635 html-zlib: \
26636 configure-zlib
26637 @[ -f ./zlib/Makefile ] || exit 0; \
26638 r=`${PWD_COMMAND}`; export r; \
26639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26640 $(HOST_EXPORTS) \
26641 for flag in $(EXTRA_HOST_FLAGS) ; do \
26642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26643 done; \
26644 echo "Doing html in zlib" ; \
26645 (cd $(HOST_SUBDIR)/zlib && \
26646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26648 "RANLIB=$${RANLIB}" \
26649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26650 html) \
26651 || exit 1
26653 @endif zlib
26655 .PHONY: maybe-TAGS-zlib TAGS-zlib
26656 maybe-TAGS-zlib:
26657 @if zlib
26658 maybe-TAGS-zlib: TAGS-zlib
26660 TAGS-zlib: \
26661 configure-zlib
26662 @[ -f ./zlib/Makefile ] || exit 0; \
26663 r=`${PWD_COMMAND}`; export r; \
26664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26665 $(HOST_EXPORTS) \
26666 for flag in $(EXTRA_HOST_FLAGS) ; do \
26667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26668 done; \
26669 echo "Doing TAGS in zlib" ; \
26670 (cd $(HOST_SUBDIR)/zlib && \
26671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26673 "RANLIB=$${RANLIB}" \
26674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26675 TAGS) \
26676 || exit 1
26678 @endif zlib
26680 .PHONY: maybe-install-info-zlib install-info-zlib
26681 maybe-install-info-zlib:
26682 @if zlib
26683 maybe-install-info-zlib: install-info-zlib
26685 install-info-zlib: \
26686 configure-zlib \
26687 info-zlib
26688 @[ -f ./zlib/Makefile ] || exit 0; \
26689 r=`${PWD_COMMAND}`; export r; \
26690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26691 $(HOST_EXPORTS) \
26692 for flag in $(EXTRA_HOST_FLAGS) ; do \
26693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26694 done; \
26695 echo "Doing install-info in zlib" ; \
26696 (cd $(HOST_SUBDIR)/zlib && \
26697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26699 "RANLIB=$${RANLIB}" \
26700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26701 install-info) \
26702 || exit 1
26704 @endif zlib
26706 .PHONY: maybe-install-pdf-zlib install-pdf-zlib
26707 maybe-install-pdf-zlib:
26708 @if zlib
26709 maybe-install-pdf-zlib: install-pdf-zlib
26711 install-pdf-zlib: \
26712 configure-zlib \
26713 pdf-zlib
26714 @[ -f ./zlib/Makefile ] || exit 0; \
26715 r=`${PWD_COMMAND}`; export r; \
26716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26717 $(HOST_EXPORTS) \
26718 for flag in $(EXTRA_HOST_FLAGS) ; do \
26719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26720 done; \
26721 echo "Doing install-pdf in zlib" ; \
26722 (cd $(HOST_SUBDIR)/zlib && \
26723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26725 "RANLIB=$${RANLIB}" \
26726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26727 install-pdf) \
26728 || exit 1
26730 @endif zlib
26732 .PHONY: maybe-install-html-zlib install-html-zlib
26733 maybe-install-html-zlib:
26734 @if zlib
26735 maybe-install-html-zlib: install-html-zlib
26737 install-html-zlib: \
26738 configure-zlib \
26739 html-zlib
26740 @[ -f ./zlib/Makefile ] || exit 0; \
26741 r=`${PWD_COMMAND}`; export r; \
26742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26743 $(HOST_EXPORTS) \
26744 for flag in $(EXTRA_HOST_FLAGS) ; do \
26745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26746 done; \
26747 echo "Doing install-html in zlib" ; \
26748 (cd $(HOST_SUBDIR)/zlib && \
26749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26751 "RANLIB=$${RANLIB}" \
26752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26753 install-html) \
26754 || exit 1
26756 @endif zlib
26758 .PHONY: maybe-installcheck-zlib installcheck-zlib
26759 maybe-installcheck-zlib:
26760 @if zlib
26761 maybe-installcheck-zlib: installcheck-zlib
26763 installcheck-zlib: \
26764 configure-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 installcheck 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 installcheck) \
26779 || exit 1
26781 @endif zlib
26783 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
26784 maybe-mostlyclean-zlib:
26785 @if zlib
26786 maybe-mostlyclean-zlib: mostlyclean-zlib
26788 mostlyclean-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 mostlyclean 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 mostlyclean) \
26803 || exit 1
26805 @endif zlib
26807 .PHONY: maybe-clean-zlib clean-zlib
26808 maybe-clean-zlib:
26809 @if zlib
26810 maybe-clean-zlib: clean-zlib
26812 clean-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 clean 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 clean) \
26827 || exit 1
26829 @endif zlib
26831 .PHONY: maybe-distclean-zlib distclean-zlib
26832 maybe-distclean-zlib:
26833 @if zlib
26834 maybe-distclean-zlib: distclean-zlib
26836 distclean-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 distclean 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 distclean) \
26851 || exit 1
26853 @endif zlib
26855 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
26856 maybe-maintainer-clean-zlib:
26857 @if zlib
26858 maybe-maintainer-clean-zlib: maintainer-clean-zlib
26860 maintainer-clean-zlib:
26861 @[ -f ./zlib/Makefile ] || exit 0; \
26862 r=`${PWD_COMMAND}`; export r; \
26863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26864 $(HOST_EXPORTS) \
26865 for flag in $(EXTRA_HOST_FLAGS) ; do \
26866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26867 done; \
26868 echo "Doing maintainer-clean in zlib" ; \
26869 (cd $(HOST_SUBDIR)/zlib && \
26870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26872 "RANLIB=$${RANLIB}" \
26873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26874 maintainer-clean) \
26875 || exit 1
26877 @endif zlib
26881 .PHONY: configure-gdb maybe-configure-gdb
26882 maybe-configure-gdb:
26883 @if gcc-bootstrap
26884 configure-gdb: stage_current
26885 @endif gcc-bootstrap
26886 @if gdb
26887 maybe-configure-gdb: configure-gdb
26888 configure-gdb:
26889 @: $(MAKE); $(unstage)
26890 @r=`${PWD_COMMAND}`; export r; \
26891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26892 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
26893 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
26894 $(HOST_EXPORTS) \
26895 echo Configuring in $(HOST_SUBDIR)/gdb; \
26896 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
26897 case $(srcdir) in \
26898 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26899 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
26900 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26901 esac; \
26902 srcdiroption="--srcdir=$${topdir}/gdb"; \
26903 libsrcdir="$$s/gdb"; \
26904 $(SHELL) $${libsrcdir}/configure \
26905 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26906 --target=${target_alias} $${srcdiroption} \
26907 || exit 1
26908 @endif gdb
26914 .PHONY: all-gdb maybe-all-gdb
26915 maybe-all-gdb:
26916 @if gcc-bootstrap
26917 all-gdb: stage_current
26918 @endif gcc-bootstrap
26919 @if gdb
26920 TARGET-gdb=all
26921 maybe-all-gdb: all-gdb
26922 all-gdb: configure-gdb
26923 @: $(MAKE); $(unstage)
26924 @r=`${PWD_COMMAND}`; export r; \
26925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26926 $(HOST_EXPORTS) \
26927 (cd $(HOST_SUBDIR)/gdb && \
26928 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26929 $(TARGET-gdb))
26930 @endif gdb
26935 .PHONY: check-gdb maybe-check-gdb
26936 maybe-check-gdb:
26937 @if gdb
26938 maybe-check-gdb: check-gdb
26940 check-gdb:
26941 @: $(MAKE); $(unstage)
26942 @r=`${PWD_COMMAND}`; export r; \
26943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26944 $(HOST_EXPORTS) \
26945 (cd $(HOST_SUBDIR)/gdb && \
26946 $(MAKE) $(FLAGS_TO_PASS) check)
26948 @endif gdb
26950 .PHONY: install-gdb maybe-install-gdb
26951 maybe-install-gdb:
26952 @if gdb
26953 maybe-install-gdb: install-gdb
26955 install-gdb: installdirs
26956 @: $(MAKE); $(unstage)
26957 @r=`${PWD_COMMAND}`; export r; \
26958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26959 $(HOST_EXPORTS) \
26960 (cd $(HOST_SUBDIR)/gdb && \
26961 $(MAKE) $(FLAGS_TO_PASS) install)
26963 @endif gdb
26965 .PHONY: install-strip-gdb maybe-install-strip-gdb
26966 maybe-install-strip-gdb:
26967 @if gdb
26968 maybe-install-strip-gdb: install-strip-gdb
26970 install-strip-gdb: installdirs
26971 @: $(MAKE); $(unstage)
26972 @r=`${PWD_COMMAND}`; export r; \
26973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26974 $(HOST_EXPORTS) \
26975 (cd $(HOST_SUBDIR)/gdb && \
26976 $(MAKE) $(FLAGS_TO_PASS) install-strip)
26978 @endif gdb
26980 # Other targets (info, dvi, pdf, etc.)
26982 .PHONY: maybe-info-gdb info-gdb
26983 maybe-info-gdb:
26984 @if gdb
26985 maybe-info-gdb: info-gdb
26987 info-gdb: \
26988 configure-gdb
26989 @: $(MAKE); $(unstage)
26990 @[ -f ./gdb/Makefile ] || exit 0; \
26991 r=`${PWD_COMMAND}`; export r; \
26992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26993 $(HOST_EXPORTS) \
26994 for flag in $(EXTRA_HOST_FLAGS) ; do \
26995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26996 done; \
26997 echo "Doing info in gdb" ; \
26998 (cd $(HOST_SUBDIR)/gdb && \
26999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27001 "RANLIB=$${RANLIB}" \
27002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27003 info) \
27004 || exit 1
27006 @endif gdb
27008 .PHONY: maybe-dvi-gdb dvi-gdb
27009 maybe-dvi-gdb:
27010 @if gdb
27011 maybe-dvi-gdb: dvi-gdb
27013 dvi-gdb: \
27014 configure-gdb
27015 @: $(MAKE); $(unstage)
27016 @[ -f ./gdb/Makefile ] || exit 0; \
27017 r=`${PWD_COMMAND}`; export r; \
27018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27019 $(HOST_EXPORTS) \
27020 for flag in $(EXTRA_HOST_FLAGS) ; do \
27021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27022 done; \
27023 echo "Doing dvi in gdb" ; \
27024 (cd $(HOST_SUBDIR)/gdb && \
27025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27027 "RANLIB=$${RANLIB}" \
27028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27029 dvi) \
27030 || exit 1
27032 @endif gdb
27034 .PHONY: maybe-pdf-gdb pdf-gdb
27035 maybe-pdf-gdb:
27036 @if gdb
27037 maybe-pdf-gdb: pdf-gdb
27039 pdf-gdb: \
27040 configure-gdb
27041 @: $(MAKE); $(unstage)
27042 @[ -f ./gdb/Makefile ] || exit 0; \
27043 r=`${PWD_COMMAND}`; export r; \
27044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27045 $(HOST_EXPORTS) \
27046 for flag in $(EXTRA_HOST_FLAGS) ; do \
27047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27048 done; \
27049 echo "Doing pdf in gdb" ; \
27050 (cd $(HOST_SUBDIR)/gdb && \
27051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27053 "RANLIB=$${RANLIB}" \
27054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27055 pdf) \
27056 || exit 1
27058 @endif gdb
27060 .PHONY: maybe-html-gdb html-gdb
27061 maybe-html-gdb:
27062 @if gdb
27063 maybe-html-gdb: html-gdb
27065 html-gdb: \
27066 configure-gdb
27067 @: $(MAKE); $(unstage)
27068 @[ -f ./gdb/Makefile ] || exit 0; \
27069 r=`${PWD_COMMAND}`; export r; \
27070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27071 $(HOST_EXPORTS) \
27072 for flag in $(EXTRA_HOST_FLAGS) ; do \
27073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27074 done; \
27075 echo "Doing html in gdb" ; \
27076 (cd $(HOST_SUBDIR)/gdb && \
27077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27079 "RANLIB=$${RANLIB}" \
27080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27081 html) \
27082 || exit 1
27084 @endif gdb
27086 .PHONY: maybe-TAGS-gdb TAGS-gdb
27087 maybe-TAGS-gdb:
27088 @if gdb
27089 maybe-TAGS-gdb: TAGS-gdb
27091 TAGS-gdb: \
27092 configure-gdb
27093 @: $(MAKE); $(unstage)
27094 @[ -f ./gdb/Makefile ] || exit 0; \
27095 r=`${PWD_COMMAND}`; export r; \
27096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27097 $(HOST_EXPORTS) \
27098 for flag in $(EXTRA_HOST_FLAGS) ; do \
27099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27100 done; \
27101 echo "Doing TAGS in gdb" ; \
27102 (cd $(HOST_SUBDIR)/gdb && \
27103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27105 "RANLIB=$${RANLIB}" \
27106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27107 TAGS) \
27108 || exit 1
27110 @endif gdb
27112 .PHONY: maybe-install-info-gdb install-info-gdb
27113 maybe-install-info-gdb:
27114 @if gdb
27115 maybe-install-info-gdb: install-info-gdb
27117 install-info-gdb: \
27118 configure-gdb \
27119 info-gdb
27120 @: $(MAKE); $(unstage)
27121 @[ -f ./gdb/Makefile ] || exit 0; \
27122 r=`${PWD_COMMAND}`; export r; \
27123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27124 $(HOST_EXPORTS) \
27125 for flag in $(EXTRA_HOST_FLAGS) ; do \
27126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27127 done; \
27128 echo "Doing install-info in gdb" ; \
27129 (cd $(HOST_SUBDIR)/gdb && \
27130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27132 "RANLIB=$${RANLIB}" \
27133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27134 install-info) \
27135 || exit 1
27137 @endif gdb
27139 .PHONY: maybe-install-pdf-gdb install-pdf-gdb
27140 maybe-install-pdf-gdb:
27141 @if gdb
27142 maybe-install-pdf-gdb: install-pdf-gdb
27144 install-pdf-gdb: \
27145 configure-gdb \
27146 pdf-gdb
27147 @: $(MAKE); $(unstage)
27148 @[ -f ./gdb/Makefile ] || exit 0; \
27149 r=`${PWD_COMMAND}`; export r; \
27150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27151 $(HOST_EXPORTS) \
27152 for flag in $(EXTRA_HOST_FLAGS) ; do \
27153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27154 done; \
27155 echo "Doing install-pdf in gdb" ; \
27156 (cd $(HOST_SUBDIR)/gdb && \
27157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27159 "RANLIB=$${RANLIB}" \
27160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27161 install-pdf) \
27162 || exit 1
27164 @endif gdb
27166 .PHONY: maybe-install-html-gdb install-html-gdb
27167 maybe-install-html-gdb:
27168 @if gdb
27169 maybe-install-html-gdb: install-html-gdb
27171 install-html-gdb: \
27172 configure-gdb \
27173 html-gdb
27174 @: $(MAKE); $(unstage)
27175 @[ -f ./gdb/Makefile ] || exit 0; \
27176 r=`${PWD_COMMAND}`; export r; \
27177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27178 $(HOST_EXPORTS) \
27179 for flag in $(EXTRA_HOST_FLAGS) ; do \
27180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27181 done; \
27182 echo "Doing install-html in gdb" ; \
27183 (cd $(HOST_SUBDIR)/gdb && \
27184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27186 "RANLIB=$${RANLIB}" \
27187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27188 install-html) \
27189 || exit 1
27191 @endif gdb
27193 .PHONY: maybe-installcheck-gdb installcheck-gdb
27194 maybe-installcheck-gdb:
27195 @if gdb
27196 maybe-installcheck-gdb: installcheck-gdb
27198 installcheck-gdb: \
27199 configure-gdb
27200 @: $(MAKE); $(unstage)
27201 @[ -f ./gdb/Makefile ] || exit 0; \
27202 r=`${PWD_COMMAND}`; export r; \
27203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27204 $(HOST_EXPORTS) \
27205 for flag in $(EXTRA_HOST_FLAGS) ; do \
27206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27207 done; \
27208 echo "Doing installcheck in gdb" ; \
27209 (cd $(HOST_SUBDIR)/gdb && \
27210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27212 "RANLIB=$${RANLIB}" \
27213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27214 installcheck) \
27215 || exit 1
27217 @endif gdb
27219 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
27220 maybe-mostlyclean-gdb:
27221 @if gdb
27222 maybe-mostlyclean-gdb: mostlyclean-gdb
27224 mostlyclean-gdb:
27225 @: $(MAKE); $(unstage)
27226 @[ -f ./gdb/Makefile ] || exit 0; \
27227 r=`${PWD_COMMAND}`; export r; \
27228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27229 $(HOST_EXPORTS) \
27230 for flag in $(EXTRA_HOST_FLAGS) ; do \
27231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27232 done; \
27233 echo "Doing mostlyclean in gdb" ; \
27234 (cd $(HOST_SUBDIR)/gdb && \
27235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27237 "RANLIB=$${RANLIB}" \
27238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27239 mostlyclean) \
27240 || exit 1
27242 @endif gdb
27244 .PHONY: maybe-clean-gdb clean-gdb
27245 maybe-clean-gdb:
27246 @if gdb
27247 maybe-clean-gdb: clean-gdb
27249 clean-gdb:
27250 @: $(MAKE); $(unstage)
27251 @[ -f ./gdb/Makefile ] || exit 0; \
27252 r=`${PWD_COMMAND}`; export r; \
27253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27254 $(HOST_EXPORTS) \
27255 for flag in $(EXTRA_HOST_FLAGS) ; do \
27256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27257 done; \
27258 echo "Doing clean in gdb" ; \
27259 (cd $(HOST_SUBDIR)/gdb && \
27260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27262 "RANLIB=$${RANLIB}" \
27263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27264 clean) \
27265 || exit 1
27267 @endif gdb
27269 .PHONY: maybe-distclean-gdb distclean-gdb
27270 maybe-distclean-gdb:
27271 @if gdb
27272 maybe-distclean-gdb: distclean-gdb
27274 distclean-gdb:
27275 @: $(MAKE); $(unstage)
27276 @[ -f ./gdb/Makefile ] || exit 0; \
27277 r=`${PWD_COMMAND}`; export r; \
27278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27279 $(HOST_EXPORTS) \
27280 for flag in $(EXTRA_HOST_FLAGS) ; do \
27281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27282 done; \
27283 echo "Doing distclean in gdb" ; \
27284 (cd $(HOST_SUBDIR)/gdb && \
27285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27287 "RANLIB=$${RANLIB}" \
27288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27289 distclean) \
27290 || exit 1
27292 @endif gdb
27294 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
27295 maybe-maintainer-clean-gdb:
27296 @if gdb
27297 maybe-maintainer-clean-gdb: maintainer-clean-gdb
27299 maintainer-clean-gdb:
27300 @: $(MAKE); $(unstage)
27301 @[ -f ./gdb/Makefile ] || exit 0; \
27302 r=`${PWD_COMMAND}`; export r; \
27303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27304 $(HOST_EXPORTS) \
27305 for flag in $(EXTRA_HOST_FLAGS) ; do \
27306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27307 done; \
27308 echo "Doing maintainer-clean in gdb" ; \
27309 (cd $(HOST_SUBDIR)/gdb && \
27310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27312 "RANLIB=$${RANLIB}" \
27313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27314 maintainer-clean) \
27315 || exit 1
27317 @endif gdb
27321 .PHONY: configure-expect maybe-configure-expect
27322 maybe-configure-expect:
27323 @if gcc-bootstrap
27324 configure-expect: stage_current
27325 @endif gcc-bootstrap
27326 @if expect
27327 maybe-configure-expect: configure-expect
27328 configure-expect:
27329 @: $(MAKE); $(unstage)
27330 @r=`${PWD_COMMAND}`; export r; \
27331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27332 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
27333 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
27334 $(HOST_EXPORTS) \
27335 echo Configuring in $(HOST_SUBDIR)/expect; \
27336 cd "$(HOST_SUBDIR)/expect" || exit 1; \
27337 case $(srcdir) in \
27338 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27339 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
27340 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27341 esac; \
27342 srcdiroption="--srcdir=$${topdir}/expect"; \
27343 libsrcdir="$$s/expect"; \
27344 $(SHELL) $${libsrcdir}/configure \
27345 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27346 --target=${target_alias} $${srcdiroption} \
27347 || exit 1
27348 @endif expect
27354 .PHONY: all-expect maybe-all-expect
27355 maybe-all-expect:
27356 @if gcc-bootstrap
27357 all-expect: stage_current
27358 @endif gcc-bootstrap
27359 @if expect
27360 TARGET-expect=all
27361 maybe-all-expect: all-expect
27362 all-expect: configure-expect
27363 @: $(MAKE); $(unstage)
27364 @r=`${PWD_COMMAND}`; export r; \
27365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27366 $(HOST_EXPORTS) \
27367 (cd $(HOST_SUBDIR)/expect && \
27368 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
27369 $(TARGET-expect))
27370 @endif expect
27375 .PHONY: check-expect maybe-check-expect
27376 maybe-check-expect:
27377 @if expect
27378 maybe-check-expect: check-expect
27380 check-expect:
27381 @: $(MAKE); $(unstage)
27382 @r=`${PWD_COMMAND}`; export r; \
27383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27384 $(HOST_EXPORTS) \
27385 (cd $(HOST_SUBDIR)/expect && \
27386 $(MAKE) $(FLAGS_TO_PASS) check)
27388 @endif expect
27390 .PHONY: install-expect maybe-install-expect
27391 maybe-install-expect:
27392 @if expect
27393 maybe-install-expect: install-expect
27395 install-expect: installdirs
27396 @: $(MAKE); $(unstage)
27397 @r=`${PWD_COMMAND}`; export r; \
27398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27399 $(HOST_EXPORTS) \
27400 (cd $(HOST_SUBDIR)/expect && \
27401 $(MAKE) $(FLAGS_TO_PASS) install)
27403 @endif expect
27405 .PHONY: install-strip-expect maybe-install-strip-expect
27406 maybe-install-strip-expect:
27407 @if expect
27408 maybe-install-strip-expect: install-strip-expect
27410 install-strip-expect: installdirs
27411 @: $(MAKE); $(unstage)
27412 @r=`${PWD_COMMAND}`; export r; \
27413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27414 $(HOST_EXPORTS) \
27415 (cd $(HOST_SUBDIR)/expect && \
27416 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27418 @endif expect
27420 # Other targets (info, dvi, pdf, etc.)
27422 .PHONY: maybe-info-expect info-expect
27423 maybe-info-expect:
27424 @if expect
27425 maybe-info-expect: info-expect
27427 info-expect: \
27428 configure-expect
27429 @: $(MAKE); $(unstage)
27430 @[ -f ./expect/Makefile ] || exit 0; \
27431 r=`${PWD_COMMAND}`; export r; \
27432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27433 $(HOST_EXPORTS) \
27434 for flag in $(EXTRA_HOST_FLAGS) ; do \
27435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27436 done; \
27437 echo "Doing info in expect" ; \
27438 (cd $(HOST_SUBDIR)/expect && \
27439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27441 "RANLIB=$${RANLIB}" \
27442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27443 info) \
27444 || exit 1
27446 @endif expect
27448 .PHONY: maybe-dvi-expect dvi-expect
27449 maybe-dvi-expect:
27450 @if expect
27451 maybe-dvi-expect: dvi-expect
27453 dvi-expect: \
27454 configure-expect
27455 @: $(MAKE); $(unstage)
27456 @[ -f ./expect/Makefile ] || exit 0; \
27457 r=`${PWD_COMMAND}`; export r; \
27458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27459 $(HOST_EXPORTS) \
27460 for flag in $(EXTRA_HOST_FLAGS) ; do \
27461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27462 done; \
27463 echo "Doing dvi in expect" ; \
27464 (cd $(HOST_SUBDIR)/expect && \
27465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27467 "RANLIB=$${RANLIB}" \
27468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27469 dvi) \
27470 || exit 1
27472 @endif expect
27474 .PHONY: maybe-pdf-expect pdf-expect
27475 maybe-pdf-expect:
27476 @if expect
27477 maybe-pdf-expect: pdf-expect
27479 pdf-expect: \
27480 configure-expect
27481 @: $(MAKE); $(unstage)
27482 @[ -f ./expect/Makefile ] || exit 0; \
27483 r=`${PWD_COMMAND}`; export r; \
27484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27485 $(HOST_EXPORTS) \
27486 for flag in $(EXTRA_HOST_FLAGS) ; do \
27487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27488 done; \
27489 echo "Doing pdf in expect" ; \
27490 (cd $(HOST_SUBDIR)/expect && \
27491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27493 "RANLIB=$${RANLIB}" \
27494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27495 pdf) \
27496 || exit 1
27498 @endif expect
27500 .PHONY: maybe-html-expect html-expect
27501 maybe-html-expect:
27502 @if expect
27503 maybe-html-expect: html-expect
27505 html-expect: \
27506 configure-expect
27507 @: $(MAKE); $(unstage)
27508 @[ -f ./expect/Makefile ] || exit 0; \
27509 r=`${PWD_COMMAND}`; export r; \
27510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27511 $(HOST_EXPORTS) \
27512 for flag in $(EXTRA_HOST_FLAGS) ; do \
27513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27514 done; \
27515 echo "Doing html in expect" ; \
27516 (cd $(HOST_SUBDIR)/expect && \
27517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27519 "RANLIB=$${RANLIB}" \
27520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27521 html) \
27522 || exit 1
27524 @endif expect
27526 .PHONY: maybe-TAGS-expect TAGS-expect
27527 maybe-TAGS-expect:
27528 @if expect
27529 maybe-TAGS-expect: TAGS-expect
27531 TAGS-expect: \
27532 configure-expect
27533 @: $(MAKE); $(unstage)
27534 @[ -f ./expect/Makefile ] || exit 0; \
27535 r=`${PWD_COMMAND}`; export r; \
27536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27537 $(HOST_EXPORTS) \
27538 for flag in $(EXTRA_HOST_FLAGS) ; do \
27539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27540 done; \
27541 echo "Doing TAGS in expect" ; \
27542 (cd $(HOST_SUBDIR)/expect && \
27543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27545 "RANLIB=$${RANLIB}" \
27546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27547 TAGS) \
27548 || exit 1
27550 @endif expect
27552 .PHONY: maybe-install-info-expect install-info-expect
27553 maybe-install-info-expect:
27554 @if expect
27555 maybe-install-info-expect: install-info-expect
27557 install-info-expect: \
27558 configure-expect \
27559 info-expect
27560 @: $(MAKE); $(unstage)
27561 @[ -f ./expect/Makefile ] || exit 0; \
27562 r=`${PWD_COMMAND}`; export r; \
27563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27564 $(HOST_EXPORTS) \
27565 for flag in $(EXTRA_HOST_FLAGS) ; do \
27566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27567 done; \
27568 echo "Doing install-info in expect" ; \
27569 (cd $(HOST_SUBDIR)/expect && \
27570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27572 "RANLIB=$${RANLIB}" \
27573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27574 install-info) \
27575 || exit 1
27577 @endif expect
27579 .PHONY: maybe-install-pdf-expect install-pdf-expect
27580 maybe-install-pdf-expect:
27581 @if expect
27582 maybe-install-pdf-expect: install-pdf-expect
27584 install-pdf-expect: \
27585 configure-expect \
27586 pdf-expect
27587 @: $(MAKE); $(unstage)
27588 @[ -f ./expect/Makefile ] || exit 0; \
27589 r=`${PWD_COMMAND}`; export r; \
27590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27591 $(HOST_EXPORTS) \
27592 for flag in $(EXTRA_HOST_FLAGS) ; do \
27593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27594 done; \
27595 echo "Doing install-pdf in expect" ; \
27596 (cd $(HOST_SUBDIR)/expect && \
27597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27599 "RANLIB=$${RANLIB}" \
27600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27601 install-pdf) \
27602 || exit 1
27604 @endif expect
27606 .PHONY: maybe-install-html-expect install-html-expect
27607 maybe-install-html-expect:
27608 @if expect
27609 maybe-install-html-expect: install-html-expect
27611 install-html-expect: \
27612 configure-expect \
27613 html-expect
27614 @: $(MAKE); $(unstage)
27615 @[ -f ./expect/Makefile ] || exit 0; \
27616 r=`${PWD_COMMAND}`; export r; \
27617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27618 $(HOST_EXPORTS) \
27619 for flag in $(EXTRA_HOST_FLAGS) ; do \
27620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27621 done; \
27622 echo "Doing install-html in expect" ; \
27623 (cd $(HOST_SUBDIR)/expect && \
27624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27626 "RANLIB=$${RANLIB}" \
27627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27628 install-html) \
27629 || exit 1
27631 @endif expect
27633 .PHONY: maybe-installcheck-expect installcheck-expect
27634 maybe-installcheck-expect:
27635 @if expect
27636 maybe-installcheck-expect: installcheck-expect
27638 installcheck-expect: \
27639 configure-expect
27640 @: $(MAKE); $(unstage)
27641 @[ -f ./expect/Makefile ] || exit 0; \
27642 r=`${PWD_COMMAND}`; export r; \
27643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27644 $(HOST_EXPORTS) \
27645 for flag in $(EXTRA_HOST_FLAGS) ; do \
27646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27647 done; \
27648 echo "Doing installcheck in expect" ; \
27649 (cd $(HOST_SUBDIR)/expect && \
27650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27652 "RANLIB=$${RANLIB}" \
27653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27654 installcheck) \
27655 || exit 1
27657 @endif expect
27659 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
27660 maybe-mostlyclean-expect:
27661 @if expect
27662 maybe-mostlyclean-expect: mostlyclean-expect
27664 mostlyclean-expect:
27665 @: $(MAKE); $(unstage)
27666 @[ -f ./expect/Makefile ] || exit 0; \
27667 r=`${PWD_COMMAND}`; export r; \
27668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27669 $(HOST_EXPORTS) \
27670 for flag in $(EXTRA_HOST_FLAGS) ; do \
27671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27672 done; \
27673 echo "Doing mostlyclean in expect" ; \
27674 (cd $(HOST_SUBDIR)/expect && \
27675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27677 "RANLIB=$${RANLIB}" \
27678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27679 mostlyclean) \
27680 || exit 1
27682 @endif expect
27684 .PHONY: maybe-clean-expect clean-expect
27685 maybe-clean-expect:
27686 @if expect
27687 maybe-clean-expect: clean-expect
27689 clean-expect:
27690 @: $(MAKE); $(unstage)
27691 @[ -f ./expect/Makefile ] || exit 0; \
27692 r=`${PWD_COMMAND}`; export r; \
27693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27694 $(HOST_EXPORTS) \
27695 for flag in $(EXTRA_HOST_FLAGS) ; do \
27696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27697 done; \
27698 echo "Doing clean in expect" ; \
27699 (cd $(HOST_SUBDIR)/expect && \
27700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27702 "RANLIB=$${RANLIB}" \
27703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27704 clean) \
27705 || exit 1
27707 @endif expect
27709 .PHONY: maybe-distclean-expect distclean-expect
27710 maybe-distclean-expect:
27711 @if expect
27712 maybe-distclean-expect: distclean-expect
27714 distclean-expect:
27715 @: $(MAKE); $(unstage)
27716 @[ -f ./expect/Makefile ] || exit 0; \
27717 r=`${PWD_COMMAND}`; export r; \
27718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27719 $(HOST_EXPORTS) \
27720 for flag in $(EXTRA_HOST_FLAGS) ; do \
27721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27722 done; \
27723 echo "Doing distclean in expect" ; \
27724 (cd $(HOST_SUBDIR)/expect && \
27725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27727 "RANLIB=$${RANLIB}" \
27728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27729 distclean) \
27730 || exit 1
27732 @endif expect
27734 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
27735 maybe-maintainer-clean-expect:
27736 @if expect
27737 maybe-maintainer-clean-expect: maintainer-clean-expect
27739 maintainer-clean-expect:
27740 @: $(MAKE); $(unstage)
27741 @[ -f ./expect/Makefile ] || exit 0; \
27742 r=`${PWD_COMMAND}`; export r; \
27743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27744 $(HOST_EXPORTS) \
27745 for flag in $(EXTRA_HOST_FLAGS) ; do \
27746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27747 done; \
27748 echo "Doing maintainer-clean in expect" ; \
27749 (cd $(HOST_SUBDIR)/expect && \
27750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27752 "RANLIB=$${RANLIB}" \
27753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27754 maintainer-clean) \
27755 || exit 1
27757 @endif expect
27761 .PHONY: configure-guile maybe-configure-guile
27762 maybe-configure-guile:
27763 @if gcc-bootstrap
27764 configure-guile: stage_current
27765 @endif gcc-bootstrap
27766 @if guile
27767 maybe-configure-guile: configure-guile
27768 configure-guile:
27769 @: $(MAKE); $(unstage)
27770 @r=`${PWD_COMMAND}`; export r; \
27771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27772 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
27773 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
27774 $(HOST_EXPORTS) \
27775 echo Configuring in $(HOST_SUBDIR)/guile; \
27776 cd "$(HOST_SUBDIR)/guile" || exit 1; \
27777 case $(srcdir) in \
27778 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27779 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
27780 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27781 esac; \
27782 srcdiroption="--srcdir=$${topdir}/guile"; \
27783 libsrcdir="$$s/guile"; \
27784 $(SHELL) $${libsrcdir}/configure \
27785 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27786 --target=${target_alias} $${srcdiroption} \
27787 || exit 1
27788 @endif guile
27794 .PHONY: all-guile maybe-all-guile
27795 maybe-all-guile:
27796 @if gcc-bootstrap
27797 all-guile: stage_current
27798 @endif gcc-bootstrap
27799 @if guile
27800 TARGET-guile=all
27801 maybe-all-guile: all-guile
27802 all-guile: configure-guile
27803 @: $(MAKE); $(unstage)
27804 @r=`${PWD_COMMAND}`; export r; \
27805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27806 $(HOST_EXPORTS) \
27807 (cd $(HOST_SUBDIR)/guile && \
27808 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
27809 $(TARGET-guile))
27810 @endif guile
27815 .PHONY: check-guile maybe-check-guile
27816 maybe-check-guile:
27817 @if guile
27818 maybe-check-guile: check-guile
27820 check-guile:
27821 @: $(MAKE); $(unstage)
27822 @r=`${PWD_COMMAND}`; export r; \
27823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27824 $(HOST_EXPORTS) \
27825 (cd $(HOST_SUBDIR)/guile && \
27826 $(MAKE) $(FLAGS_TO_PASS) check)
27828 @endif guile
27830 .PHONY: install-guile maybe-install-guile
27831 maybe-install-guile:
27832 @if guile
27833 maybe-install-guile: install-guile
27835 install-guile: installdirs
27836 @: $(MAKE); $(unstage)
27837 @r=`${PWD_COMMAND}`; export r; \
27838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27839 $(HOST_EXPORTS) \
27840 (cd $(HOST_SUBDIR)/guile && \
27841 $(MAKE) $(FLAGS_TO_PASS) install)
27843 @endif guile
27845 .PHONY: install-strip-guile maybe-install-strip-guile
27846 maybe-install-strip-guile:
27847 @if guile
27848 maybe-install-strip-guile: install-strip-guile
27850 install-strip-guile: installdirs
27851 @: $(MAKE); $(unstage)
27852 @r=`${PWD_COMMAND}`; export r; \
27853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27854 $(HOST_EXPORTS) \
27855 (cd $(HOST_SUBDIR)/guile && \
27856 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27858 @endif guile
27860 # Other targets (info, dvi, pdf, etc.)
27862 .PHONY: maybe-info-guile info-guile
27863 maybe-info-guile:
27864 @if guile
27865 maybe-info-guile: info-guile
27867 info-guile: \
27868 configure-guile
27869 @: $(MAKE); $(unstage)
27870 @[ -f ./guile/Makefile ] || exit 0; \
27871 r=`${PWD_COMMAND}`; export r; \
27872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27873 $(HOST_EXPORTS) \
27874 for flag in $(EXTRA_HOST_FLAGS) ; do \
27875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27876 done; \
27877 echo "Doing info in guile" ; \
27878 (cd $(HOST_SUBDIR)/guile && \
27879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27881 "RANLIB=$${RANLIB}" \
27882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27883 info) \
27884 || exit 1
27886 @endif guile
27888 .PHONY: maybe-dvi-guile dvi-guile
27889 maybe-dvi-guile:
27890 @if guile
27891 maybe-dvi-guile: dvi-guile
27893 dvi-guile: \
27894 configure-guile
27895 @: $(MAKE); $(unstage)
27896 @[ -f ./guile/Makefile ] || exit 0; \
27897 r=`${PWD_COMMAND}`; export r; \
27898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27899 $(HOST_EXPORTS) \
27900 for flag in $(EXTRA_HOST_FLAGS) ; do \
27901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27902 done; \
27903 echo "Doing dvi in guile" ; \
27904 (cd $(HOST_SUBDIR)/guile && \
27905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27907 "RANLIB=$${RANLIB}" \
27908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27909 dvi) \
27910 || exit 1
27912 @endif guile
27914 .PHONY: maybe-pdf-guile pdf-guile
27915 maybe-pdf-guile:
27916 @if guile
27917 maybe-pdf-guile: pdf-guile
27919 pdf-guile: \
27920 configure-guile
27921 @: $(MAKE); $(unstage)
27922 @[ -f ./guile/Makefile ] || exit 0; \
27923 r=`${PWD_COMMAND}`; export r; \
27924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27925 $(HOST_EXPORTS) \
27926 for flag in $(EXTRA_HOST_FLAGS) ; do \
27927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27928 done; \
27929 echo "Doing pdf in guile" ; \
27930 (cd $(HOST_SUBDIR)/guile && \
27931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27933 "RANLIB=$${RANLIB}" \
27934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27935 pdf) \
27936 || exit 1
27938 @endif guile
27940 .PHONY: maybe-html-guile html-guile
27941 maybe-html-guile:
27942 @if guile
27943 maybe-html-guile: html-guile
27945 html-guile: \
27946 configure-guile
27947 @: $(MAKE); $(unstage)
27948 @[ -f ./guile/Makefile ] || exit 0; \
27949 r=`${PWD_COMMAND}`; export r; \
27950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27951 $(HOST_EXPORTS) \
27952 for flag in $(EXTRA_HOST_FLAGS) ; do \
27953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27954 done; \
27955 echo "Doing html in guile" ; \
27956 (cd $(HOST_SUBDIR)/guile && \
27957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27959 "RANLIB=$${RANLIB}" \
27960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27961 html) \
27962 || exit 1
27964 @endif guile
27966 .PHONY: maybe-TAGS-guile TAGS-guile
27967 maybe-TAGS-guile:
27968 @if guile
27969 maybe-TAGS-guile: TAGS-guile
27971 TAGS-guile: \
27972 configure-guile
27973 @: $(MAKE); $(unstage)
27974 @[ -f ./guile/Makefile ] || exit 0; \
27975 r=`${PWD_COMMAND}`; export r; \
27976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27977 $(HOST_EXPORTS) \
27978 for flag in $(EXTRA_HOST_FLAGS) ; do \
27979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27980 done; \
27981 echo "Doing TAGS in guile" ; \
27982 (cd $(HOST_SUBDIR)/guile && \
27983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27985 "RANLIB=$${RANLIB}" \
27986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27987 TAGS) \
27988 || exit 1
27990 @endif guile
27992 .PHONY: maybe-install-info-guile install-info-guile
27993 maybe-install-info-guile:
27994 @if guile
27995 maybe-install-info-guile: install-info-guile
27997 install-info-guile: \
27998 configure-guile \
27999 info-guile
28000 @: $(MAKE); $(unstage)
28001 @[ -f ./guile/Makefile ] || exit 0; \
28002 r=`${PWD_COMMAND}`; export r; \
28003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28004 $(HOST_EXPORTS) \
28005 for flag in $(EXTRA_HOST_FLAGS) ; do \
28006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28007 done; \
28008 echo "Doing install-info in guile" ; \
28009 (cd $(HOST_SUBDIR)/guile && \
28010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28012 "RANLIB=$${RANLIB}" \
28013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28014 install-info) \
28015 || exit 1
28017 @endif guile
28019 .PHONY: maybe-install-pdf-guile install-pdf-guile
28020 maybe-install-pdf-guile:
28021 @if guile
28022 maybe-install-pdf-guile: install-pdf-guile
28024 install-pdf-guile: \
28025 configure-guile \
28026 pdf-guile
28027 @: $(MAKE); $(unstage)
28028 @[ -f ./guile/Makefile ] || exit 0; \
28029 r=`${PWD_COMMAND}`; export r; \
28030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28031 $(HOST_EXPORTS) \
28032 for flag in $(EXTRA_HOST_FLAGS) ; do \
28033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28034 done; \
28035 echo "Doing install-pdf in guile" ; \
28036 (cd $(HOST_SUBDIR)/guile && \
28037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28039 "RANLIB=$${RANLIB}" \
28040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28041 install-pdf) \
28042 || exit 1
28044 @endif guile
28046 .PHONY: maybe-install-html-guile install-html-guile
28047 maybe-install-html-guile:
28048 @if guile
28049 maybe-install-html-guile: install-html-guile
28051 install-html-guile: \
28052 configure-guile \
28053 html-guile
28054 @: $(MAKE); $(unstage)
28055 @[ -f ./guile/Makefile ] || exit 0; \
28056 r=`${PWD_COMMAND}`; export r; \
28057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28058 $(HOST_EXPORTS) \
28059 for flag in $(EXTRA_HOST_FLAGS) ; do \
28060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28061 done; \
28062 echo "Doing install-html in guile" ; \
28063 (cd $(HOST_SUBDIR)/guile && \
28064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28066 "RANLIB=$${RANLIB}" \
28067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28068 install-html) \
28069 || exit 1
28071 @endif guile
28073 .PHONY: maybe-installcheck-guile installcheck-guile
28074 maybe-installcheck-guile:
28075 @if guile
28076 maybe-installcheck-guile: installcheck-guile
28078 installcheck-guile: \
28079 configure-guile
28080 @: $(MAKE); $(unstage)
28081 @[ -f ./guile/Makefile ] || exit 0; \
28082 r=`${PWD_COMMAND}`; export r; \
28083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28084 $(HOST_EXPORTS) \
28085 for flag in $(EXTRA_HOST_FLAGS) ; do \
28086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28087 done; \
28088 echo "Doing installcheck in guile" ; \
28089 (cd $(HOST_SUBDIR)/guile && \
28090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28092 "RANLIB=$${RANLIB}" \
28093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28094 installcheck) \
28095 || exit 1
28097 @endif guile
28099 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
28100 maybe-mostlyclean-guile:
28101 @if guile
28102 maybe-mostlyclean-guile: mostlyclean-guile
28104 mostlyclean-guile:
28105 @: $(MAKE); $(unstage)
28106 @[ -f ./guile/Makefile ] || exit 0; \
28107 r=`${PWD_COMMAND}`; export r; \
28108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28109 $(HOST_EXPORTS) \
28110 for flag in $(EXTRA_HOST_FLAGS) ; do \
28111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28112 done; \
28113 echo "Doing mostlyclean in guile" ; \
28114 (cd $(HOST_SUBDIR)/guile && \
28115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28117 "RANLIB=$${RANLIB}" \
28118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28119 mostlyclean) \
28120 || exit 1
28122 @endif guile
28124 .PHONY: maybe-clean-guile clean-guile
28125 maybe-clean-guile:
28126 @if guile
28127 maybe-clean-guile: clean-guile
28129 clean-guile:
28130 @: $(MAKE); $(unstage)
28131 @[ -f ./guile/Makefile ] || exit 0; \
28132 r=`${PWD_COMMAND}`; export r; \
28133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28134 $(HOST_EXPORTS) \
28135 for flag in $(EXTRA_HOST_FLAGS) ; do \
28136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28137 done; \
28138 echo "Doing clean in guile" ; \
28139 (cd $(HOST_SUBDIR)/guile && \
28140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28142 "RANLIB=$${RANLIB}" \
28143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28144 clean) \
28145 || exit 1
28147 @endif guile
28149 .PHONY: maybe-distclean-guile distclean-guile
28150 maybe-distclean-guile:
28151 @if guile
28152 maybe-distclean-guile: distclean-guile
28154 distclean-guile:
28155 @: $(MAKE); $(unstage)
28156 @[ -f ./guile/Makefile ] || exit 0; \
28157 r=`${PWD_COMMAND}`; export r; \
28158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28159 $(HOST_EXPORTS) \
28160 for flag in $(EXTRA_HOST_FLAGS) ; do \
28161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28162 done; \
28163 echo "Doing distclean in guile" ; \
28164 (cd $(HOST_SUBDIR)/guile && \
28165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28167 "RANLIB=$${RANLIB}" \
28168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28169 distclean) \
28170 || exit 1
28172 @endif guile
28174 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
28175 maybe-maintainer-clean-guile:
28176 @if guile
28177 maybe-maintainer-clean-guile: maintainer-clean-guile
28179 maintainer-clean-guile:
28180 @: $(MAKE); $(unstage)
28181 @[ -f ./guile/Makefile ] || exit 0; \
28182 r=`${PWD_COMMAND}`; export r; \
28183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28184 $(HOST_EXPORTS) \
28185 for flag in $(EXTRA_HOST_FLAGS) ; do \
28186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28187 done; \
28188 echo "Doing maintainer-clean in guile" ; \
28189 (cd $(HOST_SUBDIR)/guile && \
28190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28192 "RANLIB=$${RANLIB}" \
28193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28194 maintainer-clean) \
28195 || exit 1
28197 @endif guile
28201 .PHONY: configure-tk maybe-configure-tk
28202 maybe-configure-tk:
28203 @if gcc-bootstrap
28204 configure-tk: stage_current
28205 @endif gcc-bootstrap
28206 @if tk
28207 maybe-configure-tk: configure-tk
28208 configure-tk:
28209 @: $(MAKE); $(unstage)
28210 @r=`${PWD_COMMAND}`; export r; \
28211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28212 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
28213 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
28214 $(HOST_EXPORTS) \
28215 echo Configuring in $(HOST_SUBDIR)/tk; \
28216 cd "$(HOST_SUBDIR)/tk" || exit 1; \
28217 case $(srcdir) in \
28218 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28219 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
28220 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28221 esac; \
28222 srcdiroption="--srcdir=$${topdir}/tk"; \
28223 libsrcdir="$$s/tk"; \
28224 $(SHELL) $${libsrcdir}/configure \
28225 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28226 --target=${target_alias} $${srcdiroption} \
28227 || exit 1
28228 @endif tk
28234 .PHONY: all-tk maybe-all-tk
28235 maybe-all-tk:
28236 @if gcc-bootstrap
28237 all-tk: stage_current
28238 @endif gcc-bootstrap
28239 @if tk
28240 TARGET-tk=all
28241 maybe-all-tk: all-tk
28242 all-tk: configure-tk
28243 @: $(MAKE); $(unstage)
28244 @r=`${PWD_COMMAND}`; export r; \
28245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28246 $(HOST_EXPORTS) \
28247 (cd $(HOST_SUBDIR)/tk && \
28248 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28249 $(TARGET-tk))
28250 @endif tk
28255 .PHONY: check-tk maybe-check-tk
28256 maybe-check-tk:
28257 @if tk
28258 maybe-check-tk: check-tk
28260 check-tk:
28261 @: $(MAKE); $(unstage)
28262 @r=`${PWD_COMMAND}`; export r; \
28263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28264 $(HOST_EXPORTS) \
28265 (cd $(HOST_SUBDIR)/tk && \
28266 $(MAKE) $(FLAGS_TO_PASS) check)
28268 @endif tk
28270 .PHONY: install-tk maybe-install-tk
28271 maybe-install-tk:
28272 @if tk
28273 maybe-install-tk: install-tk
28275 install-tk: installdirs
28276 @: $(MAKE); $(unstage)
28277 @r=`${PWD_COMMAND}`; export r; \
28278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28279 $(HOST_EXPORTS) \
28280 (cd $(HOST_SUBDIR)/tk && \
28281 $(MAKE) $(FLAGS_TO_PASS) install)
28283 @endif tk
28285 .PHONY: install-strip-tk maybe-install-strip-tk
28286 maybe-install-strip-tk:
28287 @if tk
28288 maybe-install-strip-tk: install-strip-tk
28290 install-strip-tk: installdirs
28291 @: $(MAKE); $(unstage)
28292 @r=`${PWD_COMMAND}`; export r; \
28293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28294 $(HOST_EXPORTS) \
28295 (cd $(HOST_SUBDIR)/tk && \
28296 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28298 @endif tk
28300 # Other targets (info, dvi, pdf, etc.)
28302 .PHONY: maybe-info-tk info-tk
28303 maybe-info-tk:
28304 @if tk
28305 maybe-info-tk: info-tk
28307 info-tk: \
28308 configure-tk
28309 @: $(MAKE); $(unstage)
28310 @[ -f ./tk/Makefile ] || exit 0; \
28311 r=`${PWD_COMMAND}`; export r; \
28312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28313 $(HOST_EXPORTS) \
28314 for flag in $(EXTRA_HOST_FLAGS) ; do \
28315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28316 done; \
28317 echo "Doing info in tk" ; \
28318 (cd $(HOST_SUBDIR)/tk && \
28319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28321 "RANLIB=$${RANLIB}" \
28322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28323 info) \
28324 || exit 1
28326 @endif tk
28328 .PHONY: maybe-dvi-tk dvi-tk
28329 maybe-dvi-tk:
28330 @if tk
28331 maybe-dvi-tk: dvi-tk
28333 dvi-tk: \
28334 configure-tk
28335 @: $(MAKE); $(unstage)
28336 @[ -f ./tk/Makefile ] || exit 0; \
28337 r=`${PWD_COMMAND}`; export r; \
28338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28339 $(HOST_EXPORTS) \
28340 for flag in $(EXTRA_HOST_FLAGS) ; do \
28341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28342 done; \
28343 echo "Doing dvi in tk" ; \
28344 (cd $(HOST_SUBDIR)/tk && \
28345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28347 "RANLIB=$${RANLIB}" \
28348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28349 dvi) \
28350 || exit 1
28352 @endif tk
28354 .PHONY: maybe-pdf-tk pdf-tk
28355 maybe-pdf-tk:
28356 @if tk
28357 maybe-pdf-tk: pdf-tk
28359 pdf-tk: \
28360 configure-tk
28361 @: $(MAKE); $(unstage)
28362 @[ -f ./tk/Makefile ] || exit 0; \
28363 r=`${PWD_COMMAND}`; export r; \
28364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28365 $(HOST_EXPORTS) \
28366 for flag in $(EXTRA_HOST_FLAGS) ; do \
28367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28368 done; \
28369 echo "Doing pdf in tk" ; \
28370 (cd $(HOST_SUBDIR)/tk && \
28371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28373 "RANLIB=$${RANLIB}" \
28374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28375 pdf) \
28376 || exit 1
28378 @endif tk
28380 .PHONY: maybe-html-tk html-tk
28381 maybe-html-tk:
28382 @if tk
28383 maybe-html-tk: html-tk
28385 html-tk: \
28386 configure-tk
28387 @: $(MAKE); $(unstage)
28388 @[ -f ./tk/Makefile ] || exit 0; \
28389 r=`${PWD_COMMAND}`; export r; \
28390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28391 $(HOST_EXPORTS) \
28392 for flag in $(EXTRA_HOST_FLAGS) ; do \
28393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28394 done; \
28395 echo "Doing html in tk" ; \
28396 (cd $(HOST_SUBDIR)/tk && \
28397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28399 "RANLIB=$${RANLIB}" \
28400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28401 html) \
28402 || exit 1
28404 @endif tk
28406 .PHONY: maybe-TAGS-tk TAGS-tk
28407 maybe-TAGS-tk:
28408 @if tk
28409 maybe-TAGS-tk: TAGS-tk
28411 TAGS-tk: \
28412 configure-tk
28413 @: $(MAKE); $(unstage)
28414 @[ -f ./tk/Makefile ] || exit 0; \
28415 r=`${PWD_COMMAND}`; export r; \
28416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28417 $(HOST_EXPORTS) \
28418 for flag in $(EXTRA_HOST_FLAGS) ; do \
28419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28420 done; \
28421 echo "Doing TAGS in tk" ; \
28422 (cd $(HOST_SUBDIR)/tk && \
28423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28425 "RANLIB=$${RANLIB}" \
28426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28427 TAGS) \
28428 || exit 1
28430 @endif tk
28432 .PHONY: maybe-install-info-tk install-info-tk
28433 maybe-install-info-tk:
28434 @if tk
28435 maybe-install-info-tk: install-info-tk
28437 install-info-tk: \
28438 configure-tk \
28439 info-tk
28440 @: $(MAKE); $(unstage)
28441 @[ -f ./tk/Makefile ] || exit 0; \
28442 r=`${PWD_COMMAND}`; export r; \
28443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28444 $(HOST_EXPORTS) \
28445 for flag in $(EXTRA_HOST_FLAGS) ; do \
28446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28447 done; \
28448 echo "Doing install-info in tk" ; \
28449 (cd $(HOST_SUBDIR)/tk && \
28450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28452 "RANLIB=$${RANLIB}" \
28453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28454 install-info) \
28455 || exit 1
28457 @endif tk
28459 .PHONY: maybe-install-pdf-tk install-pdf-tk
28460 maybe-install-pdf-tk:
28461 @if tk
28462 maybe-install-pdf-tk: install-pdf-tk
28464 install-pdf-tk: \
28465 configure-tk \
28466 pdf-tk
28467 @: $(MAKE); $(unstage)
28468 @[ -f ./tk/Makefile ] || exit 0; \
28469 r=`${PWD_COMMAND}`; export r; \
28470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28471 $(HOST_EXPORTS) \
28472 for flag in $(EXTRA_HOST_FLAGS) ; do \
28473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28474 done; \
28475 echo "Doing install-pdf in tk" ; \
28476 (cd $(HOST_SUBDIR)/tk && \
28477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28479 "RANLIB=$${RANLIB}" \
28480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28481 install-pdf) \
28482 || exit 1
28484 @endif tk
28486 .PHONY: maybe-install-html-tk install-html-tk
28487 maybe-install-html-tk:
28488 @if tk
28489 maybe-install-html-tk: install-html-tk
28491 install-html-tk: \
28492 configure-tk \
28493 html-tk
28494 @: $(MAKE); $(unstage)
28495 @[ -f ./tk/Makefile ] || exit 0; \
28496 r=`${PWD_COMMAND}`; export r; \
28497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28498 $(HOST_EXPORTS) \
28499 for flag in $(EXTRA_HOST_FLAGS) ; do \
28500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28501 done; \
28502 echo "Doing install-html in tk" ; \
28503 (cd $(HOST_SUBDIR)/tk && \
28504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28506 "RANLIB=$${RANLIB}" \
28507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28508 install-html) \
28509 || exit 1
28511 @endif tk
28513 .PHONY: maybe-installcheck-tk installcheck-tk
28514 maybe-installcheck-tk:
28515 @if tk
28516 maybe-installcheck-tk: installcheck-tk
28518 installcheck-tk: \
28519 configure-tk
28520 @: $(MAKE); $(unstage)
28521 @[ -f ./tk/Makefile ] || exit 0; \
28522 r=`${PWD_COMMAND}`; export r; \
28523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28524 $(HOST_EXPORTS) \
28525 for flag in $(EXTRA_HOST_FLAGS) ; do \
28526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28527 done; \
28528 echo "Doing installcheck in tk" ; \
28529 (cd $(HOST_SUBDIR)/tk && \
28530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28532 "RANLIB=$${RANLIB}" \
28533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28534 installcheck) \
28535 || exit 1
28537 @endif tk
28539 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
28540 maybe-mostlyclean-tk:
28541 @if tk
28542 maybe-mostlyclean-tk: mostlyclean-tk
28544 mostlyclean-tk:
28545 @: $(MAKE); $(unstage)
28546 @[ -f ./tk/Makefile ] || exit 0; \
28547 r=`${PWD_COMMAND}`; export r; \
28548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28549 $(HOST_EXPORTS) \
28550 for flag in $(EXTRA_HOST_FLAGS) ; do \
28551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28552 done; \
28553 echo "Doing mostlyclean in tk" ; \
28554 (cd $(HOST_SUBDIR)/tk && \
28555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28557 "RANLIB=$${RANLIB}" \
28558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28559 mostlyclean) \
28560 || exit 1
28562 @endif tk
28564 .PHONY: maybe-clean-tk clean-tk
28565 maybe-clean-tk:
28566 @if tk
28567 maybe-clean-tk: clean-tk
28569 clean-tk:
28570 @: $(MAKE); $(unstage)
28571 @[ -f ./tk/Makefile ] || exit 0; \
28572 r=`${PWD_COMMAND}`; export r; \
28573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28574 $(HOST_EXPORTS) \
28575 for flag in $(EXTRA_HOST_FLAGS) ; do \
28576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28577 done; \
28578 echo "Doing clean in tk" ; \
28579 (cd $(HOST_SUBDIR)/tk && \
28580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28582 "RANLIB=$${RANLIB}" \
28583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28584 clean) \
28585 || exit 1
28587 @endif tk
28589 .PHONY: maybe-distclean-tk distclean-tk
28590 maybe-distclean-tk:
28591 @if tk
28592 maybe-distclean-tk: distclean-tk
28594 distclean-tk:
28595 @: $(MAKE); $(unstage)
28596 @[ -f ./tk/Makefile ] || exit 0; \
28597 r=`${PWD_COMMAND}`; export r; \
28598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28599 $(HOST_EXPORTS) \
28600 for flag in $(EXTRA_HOST_FLAGS) ; do \
28601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28602 done; \
28603 echo "Doing distclean in tk" ; \
28604 (cd $(HOST_SUBDIR)/tk && \
28605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28607 "RANLIB=$${RANLIB}" \
28608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28609 distclean) \
28610 || exit 1
28612 @endif tk
28614 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
28615 maybe-maintainer-clean-tk:
28616 @if tk
28617 maybe-maintainer-clean-tk: maintainer-clean-tk
28619 maintainer-clean-tk:
28620 @: $(MAKE); $(unstage)
28621 @[ -f ./tk/Makefile ] || exit 0; \
28622 r=`${PWD_COMMAND}`; export r; \
28623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28624 $(HOST_EXPORTS) \
28625 for flag in $(EXTRA_HOST_FLAGS) ; do \
28626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28627 done; \
28628 echo "Doing maintainer-clean in tk" ; \
28629 (cd $(HOST_SUBDIR)/tk && \
28630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28632 "RANLIB=$${RANLIB}" \
28633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28634 maintainer-clean) \
28635 || exit 1
28637 @endif tk
28641 .PHONY: configure-libtermcap maybe-configure-libtermcap
28642 maybe-configure-libtermcap:
28643 @if gcc-bootstrap
28644 configure-libtermcap: stage_current
28645 @endif gcc-bootstrap
28646 @if libtermcap
28647 maybe-configure-libtermcap: configure-libtermcap
28648 configure-libtermcap:
28649 @: $(MAKE); $(unstage)
28650 @r=`${PWD_COMMAND}`; export r; \
28651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28652 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
28653 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
28654 $(HOST_EXPORTS) \
28655 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
28656 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
28657 case $(srcdir) in \
28658 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28659 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
28660 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28661 esac; \
28662 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
28663 libsrcdir="$$s/libtermcap"; \
28664 $(SHELL) $${libsrcdir}/configure \
28665 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28666 --target=${target_alias} $${srcdiroption} \
28667 || exit 1
28668 @endif libtermcap
28674 .PHONY: all-libtermcap maybe-all-libtermcap
28675 maybe-all-libtermcap:
28676 @if gcc-bootstrap
28677 all-libtermcap: stage_current
28678 @endif gcc-bootstrap
28679 @if libtermcap
28680 TARGET-libtermcap=all
28681 maybe-all-libtermcap: all-libtermcap
28682 all-libtermcap: configure-libtermcap
28683 @: $(MAKE); $(unstage)
28684 @r=`${PWD_COMMAND}`; export r; \
28685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28686 $(HOST_EXPORTS) \
28687 (cd $(HOST_SUBDIR)/libtermcap && \
28688 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28689 $(TARGET-libtermcap))
28690 @endif libtermcap
28695 .PHONY: check-libtermcap maybe-check-libtermcap
28696 maybe-check-libtermcap:
28697 @if libtermcap
28698 maybe-check-libtermcap: check-libtermcap
28700 check-libtermcap:
28702 @endif libtermcap
28704 .PHONY: install-libtermcap maybe-install-libtermcap
28705 maybe-install-libtermcap:
28706 @if libtermcap
28707 maybe-install-libtermcap: install-libtermcap
28709 install-libtermcap: installdirs
28710 @: $(MAKE); $(unstage)
28711 @r=`${PWD_COMMAND}`; export r; \
28712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28713 $(HOST_EXPORTS) \
28714 (cd $(HOST_SUBDIR)/libtermcap && \
28715 $(MAKE) $(FLAGS_TO_PASS) install)
28717 @endif libtermcap
28719 .PHONY: install-strip-libtermcap maybe-install-strip-libtermcap
28720 maybe-install-strip-libtermcap:
28721 @if libtermcap
28722 maybe-install-strip-libtermcap: install-strip-libtermcap
28724 install-strip-libtermcap: installdirs
28725 @: $(MAKE); $(unstage)
28726 @r=`${PWD_COMMAND}`; export r; \
28727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28728 $(HOST_EXPORTS) \
28729 (cd $(HOST_SUBDIR)/libtermcap && \
28730 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28732 @endif libtermcap
28734 # Other targets (info, dvi, pdf, etc.)
28736 .PHONY: maybe-info-libtermcap info-libtermcap
28737 maybe-info-libtermcap:
28738 @if libtermcap
28739 maybe-info-libtermcap: info-libtermcap
28741 info-libtermcap: \
28742 configure-libtermcap
28743 @: $(MAKE); $(unstage)
28744 @[ -f ./libtermcap/Makefile ] || exit 0; \
28745 r=`${PWD_COMMAND}`; export r; \
28746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28747 $(HOST_EXPORTS) \
28748 for flag in $(EXTRA_HOST_FLAGS) ; do \
28749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28750 done; \
28751 echo "Doing info in libtermcap" ; \
28752 (cd $(HOST_SUBDIR)/libtermcap && \
28753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28755 "RANLIB=$${RANLIB}" \
28756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28757 info) \
28758 || exit 1
28760 @endif libtermcap
28762 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
28763 maybe-dvi-libtermcap:
28764 @if libtermcap
28765 maybe-dvi-libtermcap: dvi-libtermcap
28767 dvi-libtermcap: \
28768 configure-libtermcap
28769 @: $(MAKE); $(unstage)
28770 @[ -f ./libtermcap/Makefile ] || exit 0; \
28771 r=`${PWD_COMMAND}`; export r; \
28772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28773 $(HOST_EXPORTS) \
28774 for flag in $(EXTRA_HOST_FLAGS) ; do \
28775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28776 done; \
28777 echo "Doing dvi in libtermcap" ; \
28778 (cd $(HOST_SUBDIR)/libtermcap && \
28779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28781 "RANLIB=$${RANLIB}" \
28782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28783 dvi) \
28784 || exit 1
28786 @endif libtermcap
28788 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
28789 maybe-pdf-libtermcap:
28790 @if libtermcap
28791 maybe-pdf-libtermcap: pdf-libtermcap
28793 pdf-libtermcap: \
28794 configure-libtermcap
28795 @: $(MAKE); $(unstage)
28796 @[ -f ./libtermcap/Makefile ] || exit 0; \
28797 r=`${PWD_COMMAND}`; export r; \
28798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28799 $(HOST_EXPORTS) \
28800 for flag in $(EXTRA_HOST_FLAGS) ; do \
28801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28802 done; \
28803 echo "Doing pdf in libtermcap" ; \
28804 (cd $(HOST_SUBDIR)/libtermcap && \
28805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28807 "RANLIB=$${RANLIB}" \
28808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28809 pdf) \
28810 || exit 1
28812 @endif libtermcap
28814 .PHONY: maybe-html-libtermcap html-libtermcap
28815 maybe-html-libtermcap:
28816 @if libtermcap
28817 maybe-html-libtermcap: html-libtermcap
28819 html-libtermcap: \
28820 configure-libtermcap
28821 @: $(MAKE); $(unstage)
28822 @[ -f ./libtermcap/Makefile ] || exit 0; \
28823 r=`${PWD_COMMAND}`; export r; \
28824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28825 $(HOST_EXPORTS) \
28826 for flag in $(EXTRA_HOST_FLAGS) ; do \
28827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28828 done; \
28829 echo "Doing html in libtermcap" ; \
28830 (cd $(HOST_SUBDIR)/libtermcap && \
28831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28833 "RANLIB=$${RANLIB}" \
28834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28835 html) \
28836 || exit 1
28838 @endif libtermcap
28840 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
28841 maybe-TAGS-libtermcap:
28842 @if libtermcap
28843 maybe-TAGS-libtermcap: TAGS-libtermcap
28845 TAGS-libtermcap: \
28846 configure-libtermcap
28847 @: $(MAKE); $(unstage)
28848 @[ -f ./libtermcap/Makefile ] || exit 0; \
28849 r=`${PWD_COMMAND}`; export r; \
28850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28851 $(HOST_EXPORTS) \
28852 for flag in $(EXTRA_HOST_FLAGS) ; do \
28853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28854 done; \
28855 echo "Doing TAGS in libtermcap" ; \
28856 (cd $(HOST_SUBDIR)/libtermcap && \
28857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28859 "RANLIB=$${RANLIB}" \
28860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28861 TAGS) \
28862 || exit 1
28864 @endif libtermcap
28866 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
28867 maybe-install-info-libtermcap:
28868 @if libtermcap
28869 maybe-install-info-libtermcap: install-info-libtermcap
28871 install-info-libtermcap: \
28872 configure-libtermcap \
28873 info-libtermcap
28874 @: $(MAKE); $(unstage)
28875 @[ -f ./libtermcap/Makefile ] || exit 0; \
28876 r=`${PWD_COMMAND}`; export r; \
28877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28878 $(HOST_EXPORTS) \
28879 for flag in $(EXTRA_HOST_FLAGS) ; do \
28880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28881 done; \
28882 echo "Doing install-info in libtermcap" ; \
28883 (cd $(HOST_SUBDIR)/libtermcap && \
28884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28886 "RANLIB=$${RANLIB}" \
28887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28888 install-info) \
28889 || exit 1
28891 @endif libtermcap
28893 .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap
28894 maybe-install-pdf-libtermcap:
28895 @if libtermcap
28896 maybe-install-pdf-libtermcap: install-pdf-libtermcap
28898 install-pdf-libtermcap: \
28899 configure-libtermcap \
28900 pdf-libtermcap
28901 @: $(MAKE); $(unstage)
28902 @[ -f ./libtermcap/Makefile ] || exit 0; \
28903 r=`${PWD_COMMAND}`; export r; \
28904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28905 $(HOST_EXPORTS) \
28906 for flag in $(EXTRA_HOST_FLAGS) ; do \
28907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28908 done; \
28909 echo "Doing install-pdf in libtermcap" ; \
28910 (cd $(HOST_SUBDIR)/libtermcap && \
28911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28913 "RANLIB=$${RANLIB}" \
28914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28915 install-pdf) \
28916 || exit 1
28918 @endif libtermcap
28920 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
28921 maybe-install-html-libtermcap:
28922 @if libtermcap
28923 maybe-install-html-libtermcap: install-html-libtermcap
28925 install-html-libtermcap: \
28926 configure-libtermcap \
28927 html-libtermcap
28928 @: $(MAKE); $(unstage)
28929 @[ -f ./libtermcap/Makefile ] || exit 0; \
28930 r=`${PWD_COMMAND}`; export r; \
28931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28932 $(HOST_EXPORTS) \
28933 for flag in $(EXTRA_HOST_FLAGS) ; do \
28934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28935 done; \
28936 echo "Doing install-html in libtermcap" ; \
28937 (cd $(HOST_SUBDIR)/libtermcap && \
28938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28940 "RANLIB=$${RANLIB}" \
28941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28942 install-html) \
28943 || exit 1
28945 @endif libtermcap
28947 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
28948 maybe-installcheck-libtermcap:
28949 @if libtermcap
28950 maybe-installcheck-libtermcap: installcheck-libtermcap
28952 installcheck-libtermcap: \
28953 configure-libtermcap
28954 @: $(MAKE); $(unstage)
28955 @[ -f ./libtermcap/Makefile ] || exit 0; \
28956 r=`${PWD_COMMAND}`; export r; \
28957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28958 $(HOST_EXPORTS) \
28959 for flag in $(EXTRA_HOST_FLAGS) ; do \
28960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28961 done; \
28962 echo "Doing installcheck in libtermcap" ; \
28963 (cd $(HOST_SUBDIR)/libtermcap && \
28964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28966 "RANLIB=$${RANLIB}" \
28967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28968 installcheck) \
28969 || exit 1
28971 @endif libtermcap
28973 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
28974 maybe-mostlyclean-libtermcap:
28975 @if libtermcap
28976 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
28978 # libtermcap doesn't support mostlyclean.
28979 mostlyclean-libtermcap:
28981 @endif libtermcap
28983 .PHONY: maybe-clean-libtermcap clean-libtermcap
28984 maybe-clean-libtermcap:
28985 @if libtermcap
28986 maybe-clean-libtermcap: clean-libtermcap
28988 # libtermcap doesn't support clean.
28989 clean-libtermcap:
28991 @endif libtermcap
28993 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
28994 maybe-distclean-libtermcap:
28995 @if libtermcap
28996 maybe-distclean-libtermcap: distclean-libtermcap
28998 # libtermcap doesn't support distclean.
28999 distclean-libtermcap:
29001 @endif libtermcap
29003 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
29004 maybe-maintainer-clean-libtermcap:
29005 @if libtermcap
29006 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
29008 # libtermcap doesn't support maintainer-clean.
29009 maintainer-clean-libtermcap:
29011 @endif libtermcap
29015 .PHONY: configure-utils maybe-configure-utils
29016 maybe-configure-utils:
29017 @if gcc-bootstrap
29018 configure-utils: stage_current
29019 @endif gcc-bootstrap
29020 @if utils
29021 maybe-configure-utils: configure-utils
29022 configure-utils:
29023 @: $(MAKE); $(unstage)
29024 @r=`${PWD_COMMAND}`; export r; \
29025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29026 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
29027 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
29028 $(HOST_EXPORTS) \
29029 echo Configuring in $(HOST_SUBDIR)/utils; \
29030 cd "$(HOST_SUBDIR)/utils" || exit 1; \
29031 case $(srcdir) in \
29032 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29033 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
29034 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29035 esac; \
29036 srcdiroption="--srcdir=$${topdir}/utils"; \
29037 libsrcdir="$$s/utils"; \
29038 $(SHELL) $${libsrcdir}/configure \
29039 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29040 --target=${target_alias} $${srcdiroption} \
29041 || exit 1
29042 @endif utils
29048 .PHONY: all-utils maybe-all-utils
29049 maybe-all-utils:
29050 @if gcc-bootstrap
29051 all-utils: stage_current
29052 @endif gcc-bootstrap
29053 @if utils
29054 TARGET-utils=all
29055 maybe-all-utils: all-utils
29056 all-utils: configure-utils
29057 @: $(MAKE); $(unstage)
29058 @r=`${PWD_COMMAND}`; export r; \
29059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29060 $(HOST_EXPORTS) \
29061 (cd $(HOST_SUBDIR)/utils && \
29062 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29063 $(TARGET-utils))
29064 @endif utils
29069 .PHONY: check-utils maybe-check-utils
29070 maybe-check-utils:
29071 @if utils
29072 maybe-check-utils: check-utils
29074 check-utils:
29076 @endif utils
29078 .PHONY: install-utils maybe-install-utils
29079 maybe-install-utils:
29080 @if utils
29081 maybe-install-utils: install-utils
29083 install-utils: installdirs
29084 @: $(MAKE); $(unstage)
29085 @r=`${PWD_COMMAND}`; export r; \
29086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29087 $(HOST_EXPORTS) \
29088 (cd $(HOST_SUBDIR)/utils && \
29089 $(MAKE) $(FLAGS_TO_PASS) install)
29091 @endif utils
29093 .PHONY: install-strip-utils maybe-install-strip-utils
29094 maybe-install-strip-utils:
29095 @if utils
29096 maybe-install-strip-utils: install-strip-utils
29098 install-strip-utils: installdirs
29099 @: $(MAKE); $(unstage)
29100 @r=`${PWD_COMMAND}`; export r; \
29101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29102 $(HOST_EXPORTS) \
29103 (cd $(HOST_SUBDIR)/utils && \
29104 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29106 @endif utils
29108 # Other targets (info, dvi, pdf, etc.)
29110 .PHONY: maybe-info-utils info-utils
29111 maybe-info-utils:
29112 @if utils
29113 maybe-info-utils: info-utils
29115 info-utils: \
29116 configure-utils
29117 @: $(MAKE); $(unstage)
29118 @[ -f ./utils/Makefile ] || exit 0; \
29119 r=`${PWD_COMMAND}`; export r; \
29120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29121 $(HOST_EXPORTS) \
29122 for flag in $(EXTRA_HOST_FLAGS) ; do \
29123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29124 done; \
29125 echo "Doing info in utils" ; \
29126 (cd $(HOST_SUBDIR)/utils && \
29127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29129 "RANLIB=$${RANLIB}" \
29130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29131 info) \
29132 || exit 1
29134 @endif utils
29136 .PHONY: maybe-dvi-utils dvi-utils
29137 maybe-dvi-utils:
29138 @if utils
29139 maybe-dvi-utils: dvi-utils
29141 dvi-utils: \
29142 configure-utils
29143 @: $(MAKE); $(unstage)
29144 @[ -f ./utils/Makefile ] || exit 0; \
29145 r=`${PWD_COMMAND}`; export r; \
29146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29147 $(HOST_EXPORTS) \
29148 for flag in $(EXTRA_HOST_FLAGS) ; do \
29149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29150 done; \
29151 echo "Doing dvi in utils" ; \
29152 (cd $(HOST_SUBDIR)/utils && \
29153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29155 "RANLIB=$${RANLIB}" \
29156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29157 dvi) \
29158 || exit 1
29160 @endif utils
29162 .PHONY: maybe-pdf-utils pdf-utils
29163 maybe-pdf-utils:
29164 @if utils
29165 maybe-pdf-utils: pdf-utils
29167 pdf-utils: \
29168 configure-utils
29169 @: $(MAKE); $(unstage)
29170 @[ -f ./utils/Makefile ] || exit 0; \
29171 r=`${PWD_COMMAND}`; export r; \
29172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29173 $(HOST_EXPORTS) \
29174 for flag in $(EXTRA_HOST_FLAGS) ; do \
29175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29176 done; \
29177 echo "Doing pdf in utils" ; \
29178 (cd $(HOST_SUBDIR)/utils && \
29179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29181 "RANLIB=$${RANLIB}" \
29182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29183 pdf) \
29184 || exit 1
29186 @endif utils
29188 .PHONY: maybe-html-utils html-utils
29189 maybe-html-utils:
29190 @if utils
29191 maybe-html-utils: html-utils
29193 html-utils: \
29194 configure-utils
29195 @: $(MAKE); $(unstage)
29196 @[ -f ./utils/Makefile ] || exit 0; \
29197 r=`${PWD_COMMAND}`; export r; \
29198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29199 $(HOST_EXPORTS) \
29200 for flag in $(EXTRA_HOST_FLAGS) ; do \
29201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29202 done; \
29203 echo "Doing html in utils" ; \
29204 (cd $(HOST_SUBDIR)/utils && \
29205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29207 "RANLIB=$${RANLIB}" \
29208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29209 html) \
29210 || exit 1
29212 @endif utils
29214 .PHONY: maybe-TAGS-utils TAGS-utils
29215 maybe-TAGS-utils:
29216 @if utils
29217 maybe-TAGS-utils: TAGS-utils
29219 TAGS-utils: \
29220 configure-utils
29221 @: $(MAKE); $(unstage)
29222 @[ -f ./utils/Makefile ] || exit 0; \
29223 r=`${PWD_COMMAND}`; export r; \
29224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29225 $(HOST_EXPORTS) \
29226 for flag in $(EXTRA_HOST_FLAGS) ; do \
29227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29228 done; \
29229 echo "Doing TAGS in utils" ; \
29230 (cd $(HOST_SUBDIR)/utils && \
29231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29233 "RANLIB=$${RANLIB}" \
29234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29235 TAGS) \
29236 || exit 1
29238 @endif utils
29240 .PHONY: maybe-install-info-utils install-info-utils
29241 maybe-install-info-utils:
29242 @if utils
29243 maybe-install-info-utils: install-info-utils
29245 install-info-utils: \
29246 configure-utils \
29247 info-utils
29248 @: $(MAKE); $(unstage)
29249 @[ -f ./utils/Makefile ] || exit 0; \
29250 r=`${PWD_COMMAND}`; export r; \
29251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29252 $(HOST_EXPORTS) \
29253 for flag in $(EXTRA_HOST_FLAGS) ; do \
29254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29255 done; \
29256 echo "Doing install-info in utils" ; \
29257 (cd $(HOST_SUBDIR)/utils && \
29258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29260 "RANLIB=$${RANLIB}" \
29261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29262 install-info) \
29263 || exit 1
29265 @endif utils
29267 .PHONY: maybe-install-pdf-utils install-pdf-utils
29268 maybe-install-pdf-utils:
29269 @if utils
29270 maybe-install-pdf-utils: install-pdf-utils
29272 install-pdf-utils: \
29273 configure-utils \
29274 pdf-utils
29275 @: $(MAKE); $(unstage)
29276 @[ -f ./utils/Makefile ] || exit 0; \
29277 r=`${PWD_COMMAND}`; export r; \
29278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29279 $(HOST_EXPORTS) \
29280 for flag in $(EXTRA_HOST_FLAGS) ; do \
29281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29282 done; \
29283 echo "Doing install-pdf in utils" ; \
29284 (cd $(HOST_SUBDIR)/utils && \
29285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29287 "RANLIB=$${RANLIB}" \
29288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29289 install-pdf) \
29290 || exit 1
29292 @endif utils
29294 .PHONY: maybe-install-html-utils install-html-utils
29295 maybe-install-html-utils:
29296 @if utils
29297 maybe-install-html-utils: install-html-utils
29299 install-html-utils: \
29300 configure-utils \
29301 html-utils
29302 @: $(MAKE); $(unstage)
29303 @[ -f ./utils/Makefile ] || exit 0; \
29304 r=`${PWD_COMMAND}`; export r; \
29305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29306 $(HOST_EXPORTS) \
29307 for flag in $(EXTRA_HOST_FLAGS) ; do \
29308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29309 done; \
29310 echo "Doing install-html in utils" ; \
29311 (cd $(HOST_SUBDIR)/utils && \
29312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29314 "RANLIB=$${RANLIB}" \
29315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29316 install-html) \
29317 || exit 1
29319 @endif utils
29321 .PHONY: maybe-installcheck-utils installcheck-utils
29322 maybe-installcheck-utils:
29323 @if utils
29324 maybe-installcheck-utils: installcheck-utils
29326 installcheck-utils: \
29327 configure-utils
29328 @: $(MAKE); $(unstage)
29329 @[ -f ./utils/Makefile ] || exit 0; \
29330 r=`${PWD_COMMAND}`; export r; \
29331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29332 $(HOST_EXPORTS) \
29333 for flag in $(EXTRA_HOST_FLAGS) ; do \
29334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29335 done; \
29336 echo "Doing installcheck in utils" ; \
29337 (cd $(HOST_SUBDIR)/utils && \
29338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29340 "RANLIB=$${RANLIB}" \
29341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29342 installcheck) \
29343 || exit 1
29345 @endif utils
29347 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
29348 maybe-mostlyclean-utils:
29349 @if utils
29350 maybe-mostlyclean-utils: mostlyclean-utils
29352 mostlyclean-utils:
29353 @: $(MAKE); $(unstage)
29354 @[ -f ./utils/Makefile ] || exit 0; \
29355 r=`${PWD_COMMAND}`; export r; \
29356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29357 $(HOST_EXPORTS) \
29358 for flag in $(EXTRA_HOST_FLAGS) ; do \
29359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29360 done; \
29361 echo "Doing mostlyclean in utils" ; \
29362 (cd $(HOST_SUBDIR)/utils && \
29363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29365 "RANLIB=$${RANLIB}" \
29366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29367 mostlyclean) \
29368 || exit 1
29370 @endif utils
29372 .PHONY: maybe-clean-utils clean-utils
29373 maybe-clean-utils:
29374 @if utils
29375 maybe-clean-utils: clean-utils
29377 clean-utils:
29378 @: $(MAKE); $(unstage)
29379 @[ -f ./utils/Makefile ] || exit 0; \
29380 r=`${PWD_COMMAND}`; export r; \
29381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29382 $(HOST_EXPORTS) \
29383 for flag in $(EXTRA_HOST_FLAGS) ; do \
29384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29385 done; \
29386 echo "Doing clean in utils" ; \
29387 (cd $(HOST_SUBDIR)/utils && \
29388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29390 "RANLIB=$${RANLIB}" \
29391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29392 clean) \
29393 || exit 1
29395 @endif utils
29397 .PHONY: maybe-distclean-utils distclean-utils
29398 maybe-distclean-utils:
29399 @if utils
29400 maybe-distclean-utils: distclean-utils
29402 distclean-utils:
29403 @: $(MAKE); $(unstage)
29404 @[ -f ./utils/Makefile ] || exit 0; \
29405 r=`${PWD_COMMAND}`; export r; \
29406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29407 $(HOST_EXPORTS) \
29408 for flag in $(EXTRA_HOST_FLAGS) ; do \
29409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29410 done; \
29411 echo "Doing distclean in utils" ; \
29412 (cd $(HOST_SUBDIR)/utils && \
29413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29415 "RANLIB=$${RANLIB}" \
29416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29417 distclean) \
29418 || exit 1
29420 @endif utils
29422 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
29423 maybe-maintainer-clean-utils:
29424 @if utils
29425 maybe-maintainer-clean-utils: maintainer-clean-utils
29427 maintainer-clean-utils:
29428 @: $(MAKE); $(unstage)
29429 @[ -f ./utils/Makefile ] || exit 0; \
29430 r=`${PWD_COMMAND}`; export r; \
29431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29432 $(HOST_EXPORTS) \
29433 for flag in $(EXTRA_HOST_FLAGS) ; do \
29434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29435 done; \
29436 echo "Doing maintainer-clean in utils" ; \
29437 (cd $(HOST_SUBDIR)/utils && \
29438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29440 "RANLIB=$${RANLIB}" \
29441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29442 maintainer-clean) \
29443 || exit 1
29445 @endif utils
29449 .PHONY: configure-gnattools maybe-configure-gnattools
29450 maybe-configure-gnattools:
29451 @if gcc-bootstrap
29452 configure-gnattools: stage_current
29453 @endif gcc-bootstrap
29454 @if gnattools
29455 maybe-configure-gnattools: configure-gnattools
29456 configure-gnattools:
29457 @: $(MAKE); $(unstage)
29458 @r=`${PWD_COMMAND}`; export r; \
29459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29460 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
29461 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
29462 $(HOST_EXPORTS) \
29463 echo Configuring in $(HOST_SUBDIR)/gnattools; \
29464 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
29465 case $(srcdir) in \
29466 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29467 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
29468 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29469 esac; \
29470 srcdiroption="--srcdir=$${topdir}/gnattools"; \
29471 libsrcdir="$$s/gnattools"; \
29472 $(SHELL) $${libsrcdir}/configure \
29473 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29474 --target=${target_alias} $${srcdiroption} \
29475 || exit 1
29476 @endif gnattools
29482 .PHONY: all-gnattools maybe-all-gnattools
29483 maybe-all-gnattools:
29484 @if gcc-bootstrap
29485 all-gnattools: stage_current
29486 @endif gcc-bootstrap
29487 @if gnattools
29488 TARGET-gnattools=all
29489 maybe-all-gnattools: all-gnattools
29490 all-gnattools: configure-gnattools
29491 @: $(MAKE); $(unstage)
29492 @r=`${PWD_COMMAND}`; export r; \
29493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29494 $(HOST_EXPORTS) \
29495 (cd $(HOST_SUBDIR)/gnattools && \
29496 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29497 $(TARGET-gnattools))
29498 @endif gnattools
29503 .PHONY: check-gnattools maybe-check-gnattools
29504 maybe-check-gnattools:
29505 @if gnattools
29506 maybe-check-gnattools: check-gnattools
29508 check-gnattools:
29509 @: $(MAKE); $(unstage)
29510 @r=`${PWD_COMMAND}`; export r; \
29511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29512 $(HOST_EXPORTS) \
29513 (cd $(HOST_SUBDIR)/gnattools && \
29514 $(MAKE) $(FLAGS_TO_PASS) check)
29516 @endif gnattools
29518 .PHONY: install-gnattools maybe-install-gnattools
29519 maybe-install-gnattools:
29520 @if gnattools
29521 maybe-install-gnattools: install-gnattools
29523 install-gnattools: installdirs
29524 @: $(MAKE); $(unstage)
29525 @r=`${PWD_COMMAND}`; export r; \
29526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29527 $(HOST_EXPORTS) \
29528 (cd $(HOST_SUBDIR)/gnattools && \
29529 $(MAKE) $(FLAGS_TO_PASS) install)
29531 @endif gnattools
29533 .PHONY: install-strip-gnattools maybe-install-strip-gnattools
29534 maybe-install-strip-gnattools:
29535 @if gnattools
29536 maybe-install-strip-gnattools: install-strip-gnattools
29538 install-strip-gnattools: installdirs
29539 @: $(MAKE); $(unstage)
29540 @r=`${PWD_COMMAND}`; export r; \
29541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29542 $(HOST_EXPORTS) \
29543 (cd $(HOST_SUBDIR)/gnattools && \
29544 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29546 @endif gnattools
29548 # Other targets (info, dvi, pdf, etc.)
29550 .PHONY: maybe-info-gnattools info-gnattools
29551 maybe-info-gnattools:
29552 @if gnattools
29553 maybe-info-gnattools: info-gnattools
29555 info-gnattools: \
29556 configure-gnattools
29557 @: $(MAKE); $(unstage)
29558 @[ -f ./gnattools/Makefile ] || exit 0; \
29559 r=`${PWD_COMMAND}`; export r; \
29560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29561 $(HOST_EXPORTS) \
29562 for flag in $(EXTRA_HOST_FLAGS) ; do \
29563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29564 done; \
29565 echo "Doing info in gnattools" ; \
29566 (cd $(HOST_SUBDIR)/gnattools && \
29567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29569 "RANLIB=$${RANLIB}" \
29570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29571 info) \
29572 || exit 1
29574 @endif gnattools
29576 .PHONY: maybe-dvi-gnattools dvi-gnattools
29577 maybe-dvi-gnattools:
29578 @if gnattools
29579 maybe-dvi-gnattools: dvi-gnattools
29581 dvi-gnattools: \
29582 configure-gnattools
29583 @: $(MAKE); $(unstage)
29584 @[ -f ./gnattools/Makefile ] || exit 0; \
29585 r=`${PWD_COMMAND}`; export r; \
29586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29587 $(HOST_EXPORTS) \
29588 for flag in $(EXTRA_HOST_FLAGS) ; do \
29589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29590 done; \
29591 echo "Doing dvi in gnattools" ; \
29592 (cd $(HOST_SUBDIR)/gnattools && \
29593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29595 "RANLIB=$${RANLIB}" \
29596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29597 dvi) \
29598 || exit 1
29600 @endif gnattools
29602 .PHONY: maybe-pdf-gnattools pdf-gnattools
29603 maybe-pdf-gnattools:
29604 @if gnattools
29605 maybe-pdf-gnattools: pdf-gnattools
29607 pdf-gnattools: \
29608 configure-gnattools
29609 @: $(MAKE); $(unstage)
29610 @[ -f ./gnattools/Makefile ] || exit 0; \
29611 r=`${PWD_COMMAND}`; export r; \
29612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29613 $(HOST_EXPORTS) \
29614 for flag in $(EXTRA_HOST_FLAGS) ; do \
29615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29616 done; \
29617 echo "Doing pdf in gnattools" ; \
29618 (cd $(HOST_SUBDIR)/gnattools && \
29619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29621 "RANLIB=$${RANLIB}" \
29622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29623 pdf) \
29624 || exit 1
29626 @endif gnattools
29628 .PHONY: maybe-html-gnattools html-gnattools
29629 maybe-html-gnattools:
29630 @if gnattools
29631 maybe-html-gnattools: html-gnattools
29633 html-gnattools: \
29634 configure-gnattools
29635 @: $(MAKE); $(unstage)
29636 @[ -f ./gnattools/Makefile ] || exit 0; \
29637 r=`${PWD_COMMAND}`; export r; \
29638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29639 $(HOST_EXPORTS) \
29640 for flag in $(EXTRA_HOST_FLAGS) ; do \
29641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29642 done; \
29643 echo "Doing html in gnattools" ; \
29644 (cd $(HOST_SUBDIR)/gnattools && \
29645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29647 "RANLIB=$${RANLIB}" \
29648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29649 html) \
29650 || exit 1
29652 @endif gnattools
29654 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
29655 maybe-TAGS-gnattools:
29656 @if gnattools
29657 maybe-TAGS-gnattools: TAGS-gnattools
29659 TAGS-gnattools: \
29660 configure-gnattools
29661 @: $(MAKE); $(unstage)
29662 @[ -f ./gnattools/Makefile ] || exit 0; \
29663 r=`${PWD_COMMAND}`; export r; \
29664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29665 $(HOST_EXPORTS) \
29666 for flag in $(EXTRA_HOST_FLAGS) ; do \
29667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29668 done; \
29669 echo "Doing TAGS in gnattools" ; \
29670 (cd $(HOST_SUBDIR)/gnattools && \
29671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29673 "RANLIB=$${RANLIB}" \
29674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29675 TAGS) \
29676 || exit 1
29678 @endif gnattools
29680 .PHONY: maybe-install-info-gnattools install-info-gnattools
29681 maybe-install-info-gnattools:
29682 @if gnattools
29683 maybe-install-info-gnattools: install-info-gnattools
29685 install-info-gnattools: \
29686 configure-gnattools \
29687 info-gnattools
29688 @: $(MAKE); $(unstage)
29689 @[ -f ./gnattools/Makefile ] || exit 0; \
29690 r=`${PWD_COMMAND}`; export r; \
29691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29692 $(HOST_EXPORTS) \
29693 for flag in $(EXTRA_HOST_FLAGS) ; do \
29694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29695 done; \
29696 echo "Doing install-info in gnattools" ; \
29697 (cd $(HOST_SUBDIR)/gnattools && \
29698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29700 "RANLIB=$${RANLIB}" \
29701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29702 install-info) \
29703 || exit 1
29705 @endif gnattools
29707 .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools
29708 maybe-install-pdf-gnattools:
29709 @if gnattools
29710 maybe-install-pdf-gnattools: install-pdf-gnattools
29712 install-pdf-gnattools: \
29713 configure-gnattools \
29714 pdf-gnattools
29715 @: $(MAKE); $(unstage)
29716 @[ -f ./gnattools/Makefile ] || exit 0; \
29717 r=`${PWD_COMMAND}`; export r; \
29718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29719 $(HOST_EXPORTS) \
29720 for flag in $(EXTRA_HOST_FLAGS) ; do \
29721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29722 done; \
29723 echo "Doing install-pdf in gnattools" ; \
29724 (cd $(HOST_SUBDIR)/gnattools && \
29725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29727 "RANLIB=$${RANLIB}" \
29728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29729 install-pdf) \
29730 || exit 1
29732 @endif gnattools
29734 .PHONY: maybe-install-html-gnattools install-html-gnattools
29735 maybe-install-html-gnattools:
29736 @if gnattools
29737 maybe-install-html-gnattools: install-html-gnattools
29739 install-html-gnattools: \
29740 configure-gnattools \
29741 html-gnattools
29742 @: $(MAKE); $(unstage)
29743 @[ -f ./gnattools/Makefile ] || exit 0; \
29744 r=`${PWD_COMMAND}`; export r; \
29745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29746 $(HOST_EXPORTS) \
29747 for flag in $(EXTRA_HOST_FLAGS) ; do \
29748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29749 done; \
29750 echo "Doing install-html in gnattools" ; \
29751 (cd $(HOST_SUBDIR)/gnattools && \
29752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29754 "RANLIB=$${RANLIB}" \
29755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29756 install-html) \
29757 || exit 1
29759 @endif gnattools
29761 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
29762 maybe-installcheck-gnattools:
29763 @if gnattools
29764 maybe-installcheck-gnattools: installcheck-gnattools
29766 installcheck-gnattools: \
29767 configure-gnattools
29768 @: $(MAKE); $(unstage)
29769 @[ -f ./gnattools/Makefile ] || exit 0; \
29770 r=`${PWD_COMMAND}`; export r; \
29771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29772 $(HOST_EXPORTS) \
29773 for flag in $(EXTRA_HOST_FLAGS) ; do \
29774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29775 done; \
29776 echo "Doing installcheck in gnattools" ; \
29777 (cd $(HOST_SUBDIR)/gnattools && \
29778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29780 "RANLIB=$${RANLIB}" \
29781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29782 installcheck) \
29783 || exit 1
29785 @endif gnattools
29787 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
29788 maybe-mostlyclean-gnattools:
29789 @if gnattools
29790 maybe-mostlyclean-gnattools: mostlyclean-gnattools
29792 mostlyclean-gnattools:
29793 @: $(MAKE); $(unstage)
29794 @[ -f ./gnattools/Makefile ] || exit 0; \
29795 r=`${PWD_COMMAND}`; export r; \
29796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29797 $(HOST_EXPORTS) \
29798 for flag in $(EXTRA_HOST_FLAGS) ; do \
29799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29800 done; \
29801 echo "Doing mostlyclean in gnattools" ; \
29802 (cd $(HOST_SUBDIR)/gnattools && \
29803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29805 "RANLIB=$${RANLIB}" \
29806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29807 mostlyclean) \
29808 || exit 1
29810 @endif gnattools
29812 .PHONY: maybe-clean-gnattools clean-gnattools
29813 maybe-clean-gnattools:
29814 @if gnattools
29815 maybe-clean-gnattools: clean-gnattools
29817 clean-gnattools:
29818 @: $(MAKE); $(unstage)
29819 @[ -f ./gnattools/Makefile ] || exit 0; \
29820 r=`${PWD_COMMAND}`; export r; \
29821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29822 $(HOST_EXPORTS) \
29823 for flag in $(EXTRA_HOST_FLAGS) ; do \
29824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29825 done; \
29826 echo "Doing clean in gnattools" ; \
29827 (cd $(HOST_SUBDIR)/gnattools && \
29828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29830 "RANLIB=$${RANLIB}" \
29831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29832 clean) \
29833 || exit 1
29835 @endif gnattools
29837 .PHONY: maybe-distclean-gnattools distclean-gnattools
29838 maybe-distclean-gnattools:
29839 @if gnattools
29840 maybe-distclean-gnattools: distclean-gnattools
29842 distclean-gnattools:
29843 @: $(MAKE); $(unstage)
29844 @[ -f ./gnattools/Makefile ] || exit 0; \
29845 r=`${PWD_COMMAND}`; export r; \
29846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29847 $(HOST_EXPORTS) \
29848 for flag in $(EXTRA_HOST_FLAGS) ; do \
29849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29850 done; \
29851 echo "Doing distclean in gnattools" ; \
29852 (cd $(HOST_SUBDIR)/gnattools && \
29853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29855 "RANLIB=$${RANLIB}" \
29856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29857 distclean) \
29858 || exit 1
29860 @endif gnattools
29862 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
29863 maybe-maintainer-clean-gnattools:
29864 @if gnattools
29865 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
29867 maintainer-clean-gnattools:
29868 @: $(MAKE); $(unstage)
29869 @[ -f ./gnattools/Makefile ] || exit 0; \
29870 r=`${PWD_COMMAND}`; export r; \
29871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29872 $(HOST_EXPORTS) \
29873 for flag in $(EXTRA_HOST_FLAGS) ; do \
29874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29875 done; \
29876 echo "Doing maintainer-clean in gnattools" ; \
29877 (cd $(HOST_SUBDIR)/gnattools && \
29878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29880 "RANLIB=$${RANLIB}" \
29881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29882 maintainer-clean) \
29883 || exit 1
29885 @endif gnattools
29889 .PHONY: configure-lto-plugin maybe-configure-lto-plugin
29890 maybe-configure-lto-plugin:
29891 @if gcc-bootstrap
29892 configure-lto-plugin: stage_current
29893 @endif gcc-bootstrap
29894 @if lto-plugin
29895 maybe-configure-lto-plugin: configure-lto-plugin
29896 configure-lto-plugin:
29897 @r=`${PWD_COMMAND}`; export r; \
29898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29899 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29900 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29901 $(HOST_EXPORTS) \
29902 echo Configuring in $(HOST_SUBDIR)/lto-plugin; \
29903 cd "$(HOST_SUBDIR)/lto-plugin" || exit 1; \
29904 case $(srcdir) in \
29905 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29906 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29907 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29908 esac; \
29909 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29910 libsrcdir="$$s/lto-plugin"; \
29911 $(SHELL) $${libsrcdir}/configure \
29912 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29913 --target=${target_alias} $${srcdiroption} --enable-shared \
29914 || exit 1
29915 @endif lto-plugin
29919 .PHONY: configure-stage1-lto-plugin maybe-configure-stage1-lto-plugin
29920 maybe-configure-stage1-lto-plugin:
29921 @if lto-plugin-bootstrap
29922 maybe-configure-stage1-lto-plugin: configure-stage1-lto-plugin
29923 configure-stage1-lto-plugin:
29924 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
29925 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29926 @r=`${PWD_COMMAND}`; export r; \
29927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29928 TFLAGS="$(STAGE1_TFLAGS)"; \
29929 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29930 $(HOST_EXPORTS) \
29931 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
29932 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
29933 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
29934 echo Configuring stage 1 in $(HOST_SUBDIR)/lto-plugin ; \
29935 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29936 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29937 case $(srcdir) in \
29938 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29939 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29940 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29941 esac; \
29942 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29943 libsrcdir="$$s/lto-plugin"; \
29944 $(SHELL) $${libsrcdir}/configure \
29945 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29946 --target=${target_alias} $${srcdiroption} \
29947 $(STAGE1_CONFIGURE_FLAGS) \
29948 --enable-shared
29949 @endif lto-plugin-bootstrap
29951 .PHONY: configure-stage2-lto-plugin maybe-configure-stage2-lto-plugin
29952 maybe-configure-stage2-lto-plugin:
29953 @if lto-plugin-bootstrap
29954 maybe-configure-stage2-lto-plugin: configure-stage2-lto-plugin
29955 configure-stage2-lto-plugin:
29956 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
29957 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29958 @r=`${PWD_COMMAND}`; export r; \
29959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29960 TFLAGS="$(STAGE2_TFLAGS)"; \
29961 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29962 $(HOST_EXPORTS) \
29963 $(POSTSTAGE1_HOST_EXPORTS) \
29964 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
29965 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
29966 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
29967 echo Configuring stage 2 in $(HOST_SUBDIR)/lto-plugin ; \
29968 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29969 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29970 case $(srcdir) in \
29971 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29972 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29973 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29974 esac; \
29975 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29976 libsrcdir="$$s/lto-plugin"; \
29977 $(SHELL) $${libsrcdir}/configure \
29978 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29979 --target=${target_alias} $${srcdiroption} \
29980 --with-build-libsubdir=$(HOST_SUBDIR) \
29981 $(STAGE2_CONFIGURE_FLAGS) \
29982 --enable-shared
29983 @endif lto-plugin-bootstrap
29985 .PHONY: configure-stage3-lto-plugin maybe-configure-stage3-lto-plugin
29986 maybe-configure-stage3-lto-plugin:
29987 @if lto-plugin-bootstrap
29988 maybe-configure-stage3-lto-plugin: configure-stage3-lto-plugin
29989 configure-stage3-lto-plugin:
29990 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
29991 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29992 @r=`${PWD_COMMAND}`; export r; \
29993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29994 TFLAGS="$(STAGE3_TFLAGS)"; \
29995 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29996 $(HOST_EXPORTS) \
29997 $(POSTSTAGE1_HOST_EXPORTS) \
29998 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
29999 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
30000 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
30001 echo Configuring stage 3 in $(HOST_SUBDIR)/lto-plugin ; \
30002 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30003 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30004 case $(srcdir) in \
30005 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30006 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30007 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30008 esac; \
30009 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
30010 libsrcdir="$$s/lto-plugin"; \
30011 $(SHELL) $${libsrcdir}/configure \
30012 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30013 --target=${target_alias} $${srcdiroption} \
30014 --with-build-libsubdir=$(HOST_SUBDIR) \
30015 $(STAGE3_CONFIGURE_FLAGS) \
30016 --enable-shared
30017 @endif lto-plugin-bootstrap
30019 .PHONY: configure-stage4-lto-plugin maybe-configure-stage4-lto-plugin
30020 maybe-configure-stage4-lto-plugin:
30021 @if lto-plugin-bootstrap
30022 maybe-configure-stage4-lto-plugin: configure-stage4-lto-plugin
30023 configure-stage4-lto-plugin:
30024 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30025 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30026 @r=`${PWD_COMMAND}`; export r; \
30027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30028 TFLAGS="$(STAGE4_TFLAGS)"; \
30029 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30030 $(HOST_EXPORTS) \
30031 $(POSTSTAGE1_HOST_EXPORTS) \
30032 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
30033 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
30034 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
30035 echo Configuring stage 4 in $(HOST_SUBDIR)/lto-plugin ; \
30036 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30037 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30038 case $(srcdir) in \
30039 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30040 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30041 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30042 esac; \
30043 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
30044 libsrcdir="$$s/lto-plugin"; \
30045 $(SHELL) $${libsrcdir}/configure \
30046 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30047 --target=${target_alias} $${srcdiroption} \
30048 --with-build-libsubdir=$(HOST_SUBDIR) \
30049 $(STAGE4_CONFIGURE_FLAGS) \
30050 --enable-shared
30051 @endif lto-plugin-bootstrap
30053 .PHONY: configure-stageprofile-lto-plugin maybe-configure-stageprofile-lto-plugin
30054 maybe-configure-stageprofile-lto-plugin:
30055 @if lto-plugin-bootstrap
30056 maybe-configure-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
30057 configure-stageprofile-lto-plugin:
30058 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30059 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30060 @r=`${PWD_COMMAND}`; export r; \
30061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30062 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30063 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30064 $(HOST_EXPORTS) \
30065 $(POSTSTAGE1_HOST_EXPORTS) \
30066 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
30067 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
30068 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
30069 echo Configuring stage profile in $(HOST_SUBDIR)/lto-plugin ; \
30070 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30071 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30072 case $(srcdir) in \
30073 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30074 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30075 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30076 esac; \
30077 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
30078 libsrcdir="$$s/lto-plugin"; \
30079 $(SHELL) $${libsrcdir}/configure \
30080 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30081 --target=${target_alias} $${srcdiroption} \
30082 --with-build-libsubdir=$(HOST_SUBDIR) \
30083 $(STAGEprofile_CONFIGURE_FLAGS) \
30084 --enable-shared
30085 @endif lto-plugin-bootstrap
30087 .PHONY: configure-stagefeedback-lto-plugin maybe-configure-stagefeedback-lto-plugin
30088 maybe-configure-stagefeedback-lto-plugin:
30089 @if lto-plugin-bootstrap
30090 maybe-configure-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
30091 configure-stagefeedback-lto-plugin:
30092 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30093 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30094 @r=`${PWD_COMMAND}`; export r; \
30095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30096 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30097 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30098 $(HOST_EXPORTS) \
30099 $(POSTSTAGE1_HOST_EXPORTS) \
30100 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
30101 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
30102 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
30103 echo Configuring stage feedback in $(HOST_SUBDIR)/lto-plugin ; \
30104 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30105 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30106 case $(srcdir) in \
30107 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30108 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30109 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30110 esac; \
30111 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
30112 libsrcdir="$$s/lto-plugin"; \
30113 $(SHELL) $${libsrcdir}/configure \
30114 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30115 --target=${target_alias} $${srcdiroption} \
30116 --with-build-libsubdir=$(HOST_SUBDIR) \
30117 $(STAGEfeedback_CONFIGURE_FLAGS) \
30118 --enable-shared
30119 @endif lto-plugin-bootstrap
30125 .PHONY: all-lto-plugin maybe-all-lto-plugin
30126 maybe-all-lto-plugin:
30127 @if gcc-bootstrap
30128 all-lto-plugin: stage_current
30129 @endif gcc-bootstrap
30130 @if lto-plugin
30131 TARGET-lto-plugin=all
30132 maybe-all-lto-plugin: all-lto-plugin
30133 all-lto-plugin: configure-lto-plugin
30134 @r=`${PWD_COMMAND}`; export r; \
30135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30136 $(HOST_EXPORTS) \
30137 (cd $(HOST_SUBDIR)/lto-plugin && \
30138 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30139 $(TARGET-lto-plugin))
30140 @endif lto-plugin
30144 .PHONY: all-stage1-lto-plugin maybe-all-stage1-lto-plugin
30145 .PHONY: clean-stage1-lto-plugin maybe-clean-stage1-lto-plugin
30146 maybe-all-stage1-lto-plugin:
30147 maybe-clean-stage1-lto-plugin:
30148 @if lto-plugin-bootstrap
30149 maybe-all-stage1-lto-plugin: all-stage1-lto-plugin
30150 all-stage1: all-stage1-lto-plugin
30151 TARGET-stage1-lto-plugin = $(TARGET-lto-plugin)
30152 all-stage1-lto-plugin: configure-stage1-lto-plugin
30153 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30154 @r=`${PWD_COMMAND}`; export r; \
30155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30156 TFLAGS="$(STAGE1_TFLAGS)"; \
30157 $(HOST_EXPORTS) \
30158 cd $(HOST_SUBDIR)/lto-plugin && \
30159 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30160 CFLAGS="$(STAGE1_CFLAGS)" \
30161 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
30162 LIBCFLAGS="$(LIBCFLAGS)" \
30163 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30164 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30165 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30166 $(EXTRA_HOST_FLAGS) \
30167 $(STAGE1_FLAGS_TO_PASS) \
30168 TFLAGS="$(STAGE1_TFLAGS)" \
30169 $(TARGET-stage1-lto-plugin)
30171 maybe-clean-stage1-lto-plugin: clean-stage1-lto-plugin
30172 clean-stage1: clean-stage1-lto-plugin
30173 clean-stage1-lto-plugin:
30174 @if [ $(current_stage) = stage1 ]; then \
30175 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30176 else \
30177 [ -f $(HOST_SUBDIR)/stage1-lto-plugin/Makefile ] || exit 0; \
30178 $(MAKE) stage1-start; \
30179 fi; \
30180 cd $(HOST_SUBDIR)/lto-plugin && \
30181 $(MAKE) $(EXTRA_HOST_FLAGS) \
30182 $(STAGE1_FLAGS_TO_PASS) clean
30183 @endif lto-plugin-bootstrap
30186 .PHONY: all-stage2-lto-plugin maybe-all-stage2-lto-plugin
30187 .PHONY: clean-stage2-lto-plugin maybe-clean-stage2-lto-plugin
30188 maybe-all-stage2-lto-plugin:
30189 maybe-clean-stage2-lto-plugin:
30190 @if lto-plugin-bootstrap
30191 maybe-all-stage2-lto-plugin: all-stage2-lto-plugin
30192 all-stage2: all-stage2-lto-plugin
30193 TARGET-stage2-lto-plugin = $(TARGET-lto-plugin)
30194 all-stage2-lto-plugin: configure-stage2-lto-plugin
30195 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30196 @r=`${PWD_COMMAND}`; export r; \
30197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30198 TFLAGS="$(STAGE2_TFLAGS)"; \
30199 $(HOST_EXPORTS) \
30200 $(POSTSTAGE1_HOST_EXPORTS) \
30201 cd $(HOST_SUBDIR)/lto-plugin && \
30202 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30203 CFLAGS="$(STAGE2_CFLAGS)" \
30204 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
30205 LIBCFLAGS="$(STAGE2_CFLAGS)" \
30206 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30207 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30208 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30209 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30210 TFLAGS="$(STAGE2_TFLAGS)" \
30211 $(TARGET-stage2-lto-plugin)
30213 maybe-clean-stage2-lto-plugin: clean-stage2-lto-plugin
30214 clean-stage2: clean-stage2-lto-plugin
30215 clean-stage2-lto-plugin:
30216 @if [ $(current_stage) = stage2 ]; then \
30217 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30218 else \
30219 [ -f $(HOST_SUBDIR)/stage2-lto-plugin/Makefile ] || exit 0; \
30220 $(MAKE) stage2-start; \
30221 fi; \
30222 cd $(HOST_SUBDIR)/lto-plugin && \
30223 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30224 @endif lto-plugin-bootstrap
30227 .PHONY: all-stage3-lto-plugin maybe-all-stage3-lto-plugin
30228 .PHONY: clean-stage3-lto-plugin maybe-clean-stage3-lto-plugin
30229 maybe-all-stage3-lto-plugin:
30230 maybe-clean-stage3-lto-plugin:
30231 @if lto-plugin-bootstrap
30232 maybe-all-stage3-lto-plugin: all-stage3-lto-plugin
30233 all-stage3: all-stage3-lto-plugin
30234 TARGET-stage3-lto-plugin = $(TARGET-lto-plugin)
30235 all-stage3-lto-plugin: configure-stage3-lto-plugin
30236 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30237 @r=`${PWD_COMMAND}`; export r; \
30238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30239 TFLAGS="$(STAGE3_TFLAGS)"; \
30240 $(HOST_EXPORTS) \
30241 $(POSTSTAGE1_HOST_EXPORTS) \
30242 cd $(HOST_SUBDIR)/lto-plugin && \
30243 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30244 CFLAGS="$(STAGE3_CFLAGS)" \
30245 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
30246 LIBCFLAGS="$(STAGE3_CFLAGS)" \
30247 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30248 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30249 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30250 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30251 TFLAGS="$(STAGE3_TFLAGS)" \
30252 $(TARGET-stage3-lto-plugin)
30254 maybe-clean-stage3-lto-plugin: clean-stage3-lto-plugin
30255 clean-stage3: clean-stage3-lto-plugin
30256 clean-stage3-lto-plugin:
30257 @if [ $(current_stage) = stage3 ]; then \
30258 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30259 else \
30260 [ -f $(HOST_SUBDIR)/stage3-lto-plugin/Makefile ] || exit 0; \
30261 $(MAKE) stage3-start; \
30262 fi; \
30263 cd $(HOST_SUBDIR)/lto-plugin && \
30264 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30265 @endif lto-plugin-bootstrap
30268 .PHONY: all-stage4-lto-plugin maybe-all-stage4-lto-plugin
30269 .PHONY: clean-stage4-lto-plugin maybe-clean-stage4-lto-plugin
30270 maybe-all-stage4-lto-plugin:
30271 maybe-clean-stage4-lto-plugin:
30272 @if lto-plugin-bootstrap
30273 maybe-all-stage4-lto-plugin: all-stage4-lto-plugin
30274 all-stage4: all-stage4-lto-plugin
30275 TARGET-stage4-lto-plugin = $(TARGET-lto-plugin)
30276 all-stage4-lto-plugin: configure-stage4-lto-plugin
30277 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30278 @r=`${PWD_COMMAND}`; export r; \
30279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30280 TFLAGS="$(STAGE4_TFLAGS)"; \
30281 $(HOST_EXPORTS) \
30282 $(POSTSTAGE1_HOST_EXPORTS) \
30283 cd $(HOST_SUBDIR)/lto-plugin && \
30284 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30285 CFLAGS="$(STAGE4_CFLAGS)" \
30286 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
30287 LIBCFLAGS="$(STAGE4_CFLAGS)" \
30288 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30289 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30290 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30291 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30292 TFLAGS="$(STAGE4_TFLAGS)" \
30293 $(TARGET-stage4-lto-plugin)
30295 maybe-clean-stage4-lto-plugin: clean-stage4-lto-plugin
30296 clean-stage4: clean-stage4-lto-plugin
30297 clean-stage4-lto-plugin:
30298 @if [ $(current_stage) = stage4 ]; then \
30299 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30300 else \
30301 [ -f $(HOST_SUBDIR)/stage4-lto-plugin/Makefile ] || exit 0; \
30302 $(MAKE) stage4-start; \
30303 fi; \
30304 cd $(HOST_SUBDIR)/lto-plugin && \
30305 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30306 @endif lto-plugin-bootstrap
30309 .PHONY: all-stageprofile-lto-plugin maybe-all-stageprofile-lto-plugin
30310 .PHONY: clean-stageprofile-lto-plugin maybe-clean-stageprofile-lto-plugin
30311 maybe-all-stageprofile-lto-plugin:
30312 maybe-clean-stageprofile-lto-plugin:
30313 @if lto-plugin-bootstrap
30314 maybe-all-stageprofile-lto-plugin: all-stageprofile-lto-plugin
30315 all-stageprofile: all-stageprofile-lto-plugin
30316 TARGET-stageprofile-lto-plugin = $(TARGET-lto-plugin)
30317 all-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
30318 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30319 @r=`${PWD_COMMAND}`; export r; \
30320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30321 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30322 $(HOST_EXPORTS) \
30323 $(POSTSTAGE1_HOST_EXPORTS) \
30324 cd $(HOST_SUBDIR)/lto-plugin && \
30325 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30326 CFLAGS="$(STAGEprofile_CFLAGS)" \
30327 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
30328 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
30329 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30330 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30331 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30332 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30333 TFLAGS="$(STAGEprofile_TFLAGS)" \
30334 $(TARGET-stageprofile-lto-plugin)
30336 maybe-clean-stageprofile-lto-plugin: clean-stageprofile-lto-plugin
30337 clean-stageprofile: clean-stageprofile-lto-plugin
30338 clean-stageprofile-lto-plugin:
30339 @if [ $(current_stage) = stageprofile ]; then \
30340 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30341 else \
30342 [ -f $(HOST_SUBDIR)/stageprofile-lto-plugin/Makefile ] || exit 0; \
30343 $(MAKE) stageprofile-start; \
30344 fi; \
30345 cd $(HOST_SUBDIR)/lto-plugin && \
30346 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30347 @endif lto-plugin-bootstrap
30350 .PHONY: all-stagefeedback-lto-plugin maybe-all-stagefeedback-lto-plugin
30351 .PHONY: clean-stagefeedback-lto-plugin maybe-clean-stagefeedback-lto-plugin
30352 maybe-all-stagefeedback-lto-plugin:
30353 maybe-clean-stagefeedback-lto-plugin:
30354 @if lto-plugin-bootstrap
30355 maybe-all-stagefeedback-lto-plugin: all-stagefeedback-lto-plugin
30356 all-stagefeedback: all-stagefeedback-lto-plugin
30357 TARGET-stagefeedback-lto-plugin = $(TARGET-lto-plugin)
30358 all-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
30359 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30360 @r=`${PWD_COMMAND}`; export r; \
30361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30362 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30363 $(HOST_EXPORTS) \
30364 $(POSTSTAGE1_HOST_EXPORTS) \
30365 cd $(HOST_SUBDIR)/lto-plugin && \
30366 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30367 CFLAGS="$(STAGEfeedback_CFLAGS)" \
30368 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
30369 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
30370 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30371 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30372 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30373 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30374 TFLAGS="$(STAGEfeedback_TFLAGS)" \
30375 $(TARGET-stagefeedback-lto-plugin)
30377 maybe-clean-stagefeedback-lto-plugin: clean-stagefeedback-lto-plugin
30378 clean-stagefeedback: clean-stagefeedback-lto-plugin
30379 clean-stagefeedback-lto-plugin:
30380 @if [ $(current_stage) = stagefeedback ]; then \
30381 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30382 else \
30383 [ -f $(HOST_SUBDIR)/stagefeedback-lto-plugin/Makefile ] || exit 0; \
30384 $(MAKE) stagefeedback-start; \
30385 fi; \
30386 cd $(HOST_SUBDIR)/lto-plugin && \
30387 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30388 @endif lto-plugin-bootstrap
30394 .PHONY: check-lto-plugin maybe-check-lto-plugin
30395 maybe-check-lto-plugin:
30396 @if lto-plugin
30397 maybe-check-lto-plugin: check-lto-plugin
30399 check-lto-plugin:
30400 @: $(MAKE); $(unstage)
30401 @r=`${PWD_COMMAND}`; export r; \
30402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30403 $(HOST_EXPORTS) \
30404 (cd $(HOST_SUBDIR)/lto-plugin && \
30405 $(MAKE) $(FLAGS_TO_PASS) check)
30407 @endif lto-plugin
30409 .PHONY: install-lto-plugin maybe-install-lto-plugin
30410 maybe-install-lto-plugin:
30411 @if lto-plugin
30412 maybe-install-lto-plugin: install-lto-plugin
30414 install-lto-plugin: installdirs
30415 @: $(MAKE); $(unstage)
30416 @r=`${PWD_COMMAND}`; export r; \
30417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30418 $(HOST_EXPORTS) \
30419 (cd $(HOST_SUBDIR)/lto-plugin && \
30420 $(MAKE) $(FLAGS_TO_PASS) install)
30422 @endif lto-plugin
30424 .PHONY: install-strip-lto-plugin maybe-install-strip-lto-plugin
30425 maybe-install-strip-lto-plugin:
30426 @if lto-plugin
30427 maybe-install-strip-lto-plugin: install-strip-lto-plugin
30429 install-strip-lto-plugin: installdirs
30430 @: $(MAKE); $(unstage)
30431 @r=`${PWD_COMMAND}`; export r; \
30432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30433 $(HOST_EXPORTS) \
30434 (cd $(HOST_SUBDIR)/lto-plugin && \
30435 $(MAKE) $(FLAGS_TO_PASS) install-strip)
30437 @endif lto-plugin
30439 # Other targets (info, dvi, pdf, etc.)
30441 .PHONY: maybe-info-lto-plugin info-lto-plugin
30442 maybe-info-lto-plugin:
30443 @if lto-plugin
30444 maybe-info-lto-plugin: info-lto-plugin
30446 info-lto-plugin: \
30447 configure-lto-plugin
30448 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30449 r=`${PWD_COMMAND}`; export r; \
30450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30451 $(HOST_EXPORTS) \
30452 for flag in $(EXTRA_HOST_FLAGS) ; do \
30453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30454 done; \
30455 echo "Doing info in lto-plugin" ; \
30456 (cd $(HOST_SUBDIR)/lto-plugin && \
30457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30459 "RANLIB=$${RANLIB}" \
30460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30461 info) \
30462 || exit 1
30464 @endif lto-plugin
30466 .PHONY: maybe-dvi-lto-plugin dvi-lto-plugin
30467 maybe-dvi-lto-plugin:
30468 @if lto-plugin
30469 maybe-dvi-lto-plugin: dvi-lto-plugin
30471 dvi-lto-plugin: \
30472 configure-lto-plugin
30473 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30474 r=`${PWD_COMMAND}`; export r; \
30475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30476 $(HOST_EXPORTS) \
30477 for flag in $(EXTRA_HOST_FLAGS) ; do \
30478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30479 done; \
30480 echo "Doing dvi in lto-plugin" ; \
30481 (cd $(HOST_SUBDIR)/lto-plugin && \
30482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30484 "RANLIB=$${RANLIB}" \
30485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30486 dvi) \
30487 || exit 1
30489 @endif lto-plugin
30491 .PHONY: maybe-pdf-lto-plugin pdf-lto-plugin
30492 maybe-pdf-lto-plugin:
30493 @if lto-plugin
30494 maybe-pdf-lto-plugin: pdf-lto-plugin
30496 pdf-lto-plugin: \
30497 configure-lto-plugin
30498 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30499 r=`${PWD_COMMAND}`; export r; \
30500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30501 $(HOST_EXPORTS) \
30502 for flag in $(EXTRA_HOST_FLAGS) ; do \
30503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30504 done; \
30505 echo "Doing pdf in lto-plugin" ; \
30506 (cd $(HOST_SUBDIR)/lto-plugin && \
30507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30509 "RANLIB=$${RANLIB}" \
30510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30511 pdf) \
30512 || exit 1
30514 @endif lto-plugin
30516 .PHONY: maybe-html-lto-plugin html-lto-plugin
30517 maybe-html-lto-plugin:
30518 @if lto-plugin
30519 maybe-html-lto-plugin: html-lto-plugin
30521 html-lto-plugin: \
30522 configure-lto-plugin
30523 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30524 r=`${PWD_COMMAND}`; export r; \
30525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30526 $(HOST_EXPORTS) \
30527 for flag in $(EXTRA_HOST_FLAGS) ; do \
30528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30529 done; \
30530 echo "Doing html in lto-plugin" ; \
30531 (cd $(HOST_SUBDIR)/lto-plugin && \
30532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30534 "RANLIB=$${RANLIB}" \
30535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30536 html) \
30537 || exit 1
30539 @endif lto-plugin
30541 .PHONY: maybe-TAGS-lto-plugin TAGS-lto-plugin
30542 maybe-TAGS-lto-plugin:
30543 @if lto-plugin
30544 maybe-TAGS-lto-plugin: TAGS-lto-plugin
30546 TAGS-lto-plugin: \
30547 configure-lto-plugin
30548 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30549 r=`${PWD_COMMAND}`; export r; \
30550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30551 $(HOST_EXPORTS) \
30552 for flag in $(EXTRA_HOST_FLAGS) ; do \
30553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30554 done; \
30555 echo "Doing TAGS in lto-plugin" ; \
30556 (cd $(HOST_SUBDIR)/lto-plugin && \
30557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30559 "RANLIB=$${RANLIB}" \
30560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30561 TAGS) \
30562 || exit 1
30564 @endif lto-plugin
30566 .PHONY: maybe-install-info-lto-plugin install-info-lto-plugin
30567 maybe-install-info-lto-plugin:
30568 @if lto-plugin
30569 maybe-install-info-lto-plugin: install-info-lto-plugin
30571 install-info-lto-plugin: \
30572 configure-lto-plugin \
30573 info-lto-plugin
30574 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30575 r=`${PWD_COMMAND}`; export r; \
30576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30577 $(HOST_EXPORTS) \
30578 for flag in $(EXTRA_HOST_FLAGS) ; do \
30579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30580 done; \
30581 echo "Doing install-info in lto-plugin" ; \
30582 (cd $(HOST_SUBDIR)/lto-plugin && \
30583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30585 "RANLIB=$${RANLIB}" \
30586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30587 install-info) \
30588 || exit 1
30590 @endif lto-plugin
30592 .PHONY: maybe-install-pdf-lto-plugin install-pdf-lto-plugin
30593 maybe-install-pdf-lto-plugin:
30594 @if lto-plugin
30595 maybe-install-pdf-lto-plugin: install-pdf-lto-plugin
30597 install-pdf-lto-plugin: \
30598 configure-lto-plugin \
30599 pdf-lto-plugin
30600 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30601 r=`${PWD_COMMAND}`; export r; \
30602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30603 $(HOST_EXPORTS) \
30604 for flag in $(EXTRA_HOST_FLAGS) ; do \
30605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30606 done; \
30607 echo "Doing install-pdf in lto-plugin" ; \
30608 (cd $(HOST_SUBDIR)/lto-plugin && \
30609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30611 "RANLIB=$${RANLIB}" \
30612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30613 install-pdf) \
30614 || exit 1
30616 @endif lto-plugin
30618 .PHONY: maybe-install-html-lto-plugin install-html-lto-plugin
30619 maybe-install-html-lto-plugin:
30620 @if lto-plugin
30621 maybe-install-html-lto-plugin: install-html-lto-plugin
30623 install-html-lto-plugin: \
30624 configure-lto-plugin \
30625 html-lto-plugin
30626 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30627 r=`${PWD_COMMAND}`; export r; \
30628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30629 $(HOST_EXPORTS) \
30630 for flag in $(EXTRA_HOST_FLAGS) ; do \
30631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30632 done; \
30633 echo "Doing install-html in lto-plugin" ; \
30634 (cd $(HOST_SUBDIR)/lto-plugin && \
30635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30637 "RANLIB=$${RANLIB}" \
30638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30639 install-html) \
30640 || exit 1
30642 @endif lto-plugin
30644 .PHONY: maybe-installcheck-lto-plugin installcheck-lto-plugin
30645 maybe-installcheck-lto-plugin:
30646 @if lto-plugin
30647 maybe-installcheck-lto-plugin: installcheck-lto-plugin
30649 installcheck-lto-plugin: \
30650 configure-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 installcheck 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 installcheck) \
30665 || exit 1
30667 @endif lto-plugin
30669 .PHONY: maybe-mostlyclean-lto-plugin mostlyclean-lto-plugin
30670 maybe-mostlyclean-lto-plugin:
30671 @if lto-plugin
30672 maybe-mostlyclean-lto-plugin: mostlyclean-lto-plugin
30674 mostlyclean-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 mostlyclean 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 mostlyclean) \
30689 || exit 1
30691 @endif lto-plugin
30693 .PHONY: maybe-clean-lto-plugin clean-lto-plugin
30694 maybe-clean-lto-plugin:
30695 @if lto-plugin
30696 maybe-clean-lto-plugin: clean-lto-plugin
30698 clean-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 clean 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 clean) \
30713 || exit 1
30715 @endif lto-plugin
30717 .PHONY: maybe-distclean-lto-plugin distclean-lto-plugin
30718 maybe-distclean-lto-plugin:
30719 @if lto-plugin
30720 maybe-distclean-lto-plugin: distclean-lto-plugin
30722 distclean-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 distclean 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 distclean) \
30737 || exit 1
30739 @endif lto-plugin
30741 .PHONY: maybe-maintainer-clean-lto-plugin maintainer-clean-lto-plugin
30742 maybe-maintainer-clean-lto-plugin:
30743 @if lto-plugin
30744 maybe-maintainer-clean-lto-plugin: maintainer-clean-lto-plugin
30746 maintainer-clean-lto-plugin:
30747 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30748 r=`${PWD_COMMAND}`; export r; \
30749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30750 $(HOST_EXPORTS) \
30751 for flag in $(EXTRA_HOST_FLAGS) ; do \
30752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30753 done; \
30754 echo "Doing maintainer-clean in lto-plugin" ; \
30755 (cd $(HOST_SUBDIR)/lto-plugin && \
30756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30758 "RANLIB=$${RANLIB}" \
30759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30760 maintainer-clean) \
30761 || exit 1
30763 @endif lto-plugin
30767 # ---------------------------------------
30768 # Modules which run on the target machine
30769 # ---------------------------------------
30774 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
30775 maybe-configure-target-libstdc++-v3:
30776 @if gcc-bootstrap
30777 configure-target-libstdc++-v3: stage_current
30778 @endif gcc-bootstrap
30779 @if target-libstdc++-v3
30780 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
30781 configure-target-libstdc++-v3:
30782 @r=`${PWD_COMMAND}`; export r; \
30783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30784 echo "Checking multilib configuration for libstdc++-v3..."; \
30785 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30786 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30787 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30788 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30789 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30790 else \
30791 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30792 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30793 fi; \
30794 else \
30795 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30796 fi; \
30797 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30798 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30799 $(RAW_CXX_TARGET_EXPORTS) \
30800 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
30801 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
30802 case $(srcdir) in \
30803 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30804 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30805 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30806 esac; \
30807 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30808 libsrcdir="$$s/libstdc++-v3"; \
30809 rm -f no-such-file || : ; \
30810 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30811 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30812 --target=${target_alias} $${srcdiroption} \
30813 || exit 1
30814 @endif target-libstdc++-v3
30818 .PHONY: configure-stage1-target-libstdc++-v3 maybe-configure-stage1-target-libstdc++-v3
30819 maybe-configure-stage1-target-libstdc++-v3:
30820 @if target-libstdc++-v3-bootstrap
30821 maybe-configure-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
30822 configure-stage1-target-libstdc++-v3:
30823 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30824 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30825 @r=`${PWD_COMMAND}`; export r; \
30826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30827 TFLAGS="$(STAGE1_TFLAGS)"; \
30828 echo "Checking multilib configuration for libstdc++-v3..."; \
30829 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30830 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30831 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30832 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30833 else \
30834 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30835 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30836 fi; \
30837 else \
30838 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30839 fi; \
30840 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30841 $(RAW_CXX_TARGET_EXPORTS) \
30842 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30843 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30844 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30845 echo Configuring stage 1 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30846 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30847 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30848 case $(srcdir) in \
30849 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30850 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30851 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30852 esac; \
30853 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30854 libsrcdir="$$s/libstdc++-v3"; \
30855 $(SHELL) $${libsrcdir}/configure \
30856 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30857 --target=${target_alias} $${srcdiroption} \
30858 $(STAGE1_CONFIGURE_FLAGS)
30859 @endif target-libstdc++-v3-bootstrap
30861 .PHONY: configure-stage2-target-libstdc++-v3 maybe-configure-stage2-target-libstdc++-v3
30862 maybe-configure-stage2-target-libstdc++-v3:
30863 @if target-libstdc++-v3-bootstrap
30864 maybe-configure-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
30865 configure-stage2-target-libstdc++-v3:
30866 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30867 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30868 @r=`${PWD_COMMAND}`; export r; \
30869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30870 TFLAGS="$(STAGE2_TFLAGS)"; \
30871 echo "Checking multilib configuration for libstdc++-v3..."; \
30872 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30873 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30874 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30875 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30876 else \
30877 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30878 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30879 fi; \
30880 else \
30881 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30882 fi; \
30883 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30884 $(RAW_CXX_TARGET_EXPORTS) \
30886 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30887 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30888 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30889 echo Configuring stage 2 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30890 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30891 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30892 case $(srcdir) in \
30893 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30894 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30895 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30896 esac; \
30897 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30898 libsrcdir="$$s/libstdc++-v3"; \
30899 $(SHELL) $${libsrcdir}/configure \
30900 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30901 --target=${target_alias} $${srcdiroption} \
30902 --with-build-libsubdir=$(HOST_SUBDIR) \
30903 $(STAGE2_CONFIGURE_FLAGS)
30904 @endif target-libstdc++-v3-bootstrap
30906 .PHONY: configure-stage3-target-libstdc++-v3 maybe-configure-stage3-target-libstdc++-v3
30907 maybe-configure-stage3-target-libstdc++-v3:
30908 @if target-libstdc++-v3-bootstrap
30909 maybe-configure-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
30910 configure-stage3-target-libstdc++-v3:
30911 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30912 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30913 @r=`${PWD_COMMAND}`; export r; \
30914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30915 TFLAGS="$(STAGE3_TFLAGS)"; \
30916 echo "Checking multilib configuration for libstdc++-v3..."; \
30917 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30918 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30919 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30920 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30921 else \
30922 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30923 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30924 fi; \
30925 else \
30926 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30927 fi; \
30928 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30929 $(RAW_CXX_TARGET_EXPORTS) \
30931 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30932 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30933 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30934 echo Configuring stage 3 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30935 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30936 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30937 case $(srcdir) in \
30938 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30939 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30940 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30941 esac; \
30942 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30943 libsrcdir="$$s/libstdc++-v3"; \
30944 $(SHELL) $${libsrcdir}/configure \
30945 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30946 --target=${target_alias} $${srcdiroption} \
30947 --with-build-libsubdir=$(HOST_SUBDIR) \
30948 $(STAGE3_CONFIGURE_FLAGS)
30949 @endif target-libstdc++-v3-bootstrap
30951 .PHONY: configure-stage4-target-libstdc++-v3 maybe-configure-stage4-target-libstdc++-v3
30952 maybe-configure-stage4-target-libstdc++-v3:
30953 @if target-libstdc++-v3-bootstrap
30954 maybe-configure-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
30955 configure-stage4-target-libstdc++-v3:
30956 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30957 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30958 @r=`${PWD_COMMAND}`; export r; \
30959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30960 TFLAGS="$(STAGE4_TFLAGS)"; \
30961 echo "Checking multilib configuration for libstdc++-v3..."; \
30962 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30963 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30964 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30965 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30966 else \
30967 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30968 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30969 fi; \
30970 else \
30971 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30972 fi; \
30973 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30974 $(RAW_CXX_TARGET_EXPORTS) \
30976 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30977 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30978 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30979 echo Configuring stage 4 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30980 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30981 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30982 case $(srcdir) in \
30983 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30984 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30985 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30986 esac; \
30987 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30988 libsrcdir="$$s/libstdc++-v3"; \
30989 $(SHELL) $${libsrcdir}/configure \
30990 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30991 --target=${target_alias} $${srcdiroption} \
30992 --with-build-libsubdir=$(HOST_SUBDIR) \
30993 $(STAGE4_CONFIGURE_FLAGS)
30994 @endif target-libstdc++-v3-bootstrap
30996 .PHONY: configure-stageprofile-target-libstdc++-v3 maybe-configure-stageprofile-target-libstdc++-v3
30997 maybe-configure-stageprofile-target-libstdc++-v3:
30998 @if target-libstdc++-v3-bootstrap
30999 maybe-configure-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
31000 configure-stageprofile-target-libstdc++-v3:
31001 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
31002 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
31003 @r=`${PWD_COMMAND}`; export r; \
31004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31005 TFLAGS="$(STAGEprofile_TFLAGS)"; \
31006 echo "Checking multilib configuration for libstdc++-v3..."; \
31007 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
31008 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31009 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31010 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
31011 else \
31012 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
31013 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31014 fi; \
31015 else \
31016 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31017 fi; \
31018 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
31019 $(RAW_CXX_TARGET_EXPORTS) \
31021 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
31022 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
31023 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
31024 echo Configuring stage profile in $(TARGET_SUBDIR)/libstdc++-v3 ; \
31025 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
31026 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
31027 case $(srcdir) in \
31028 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31029 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
31030 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31031 esac; \
31032 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
31033 libsrcdir="$$s/libstdc++-v3"; \
31034 $(SHELL) $${libsrcdir}/configure \
31035 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31036 --target=${target_alias} $${srcdiroption} \
31037 --with-build-libsubdir=$(HOST_SUBDIR) \
31038 $(STAGEprofile_CONFIGURE_FLAGS)
31039 @endif target-libstdc++-v3-bootstrap
31041 .PHONY: configure-stagefeedback-target-libstdc++-v3 maybe-configure-stagefeedback-target-libstdc++-v3
31042 maybe-configure-stagefeedback-target-libstdc++-v3:
31043 @if target-libstdc++-v3-bootstrap
31044 maybe-configure-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
31045 configure-stagefeedback-target-libstdc++-v3:
31046 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
31047 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
31048 @r=`${PWD_COMMAND}`; export r; \
31049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31050 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
31051 echo "Checking multilib configuration for libstdc++-v3..."; \
31052 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
31053 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31054 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31055 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
31056 else \
31057 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
31058 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31059 fi; \
31060 else \
31061 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31062 fi; \
31063 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
31064 $(RAW_CXX_TARGET_EXPORTS) \
31066 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
31067 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
31068 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
31069 echo Configuring stage feedback in $(TARGET_SUBDIR)/libstdc++-v3 ; \
31070 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
31071 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
31072 case $(srcdir) in \
31073 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31074 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
31075 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31076 esac; \
31077 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
31078 libsrcdir="$$s/libstdc++-v3"; \
31079 $(SHELL) $${libsrcdir}/configure \
31080 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31081 --target=${target_alias} $${srcdiroption} \
31082 --with-build-libsubdir=$(HOST_SUBDIR) \
31083 $(STAGEfeedback_CONFIGURE_FLAGS)
31084 @endif target-libstdc++-v3-bootstrap
31090 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
31091 maybe-all-target-libstdc++-v3:
31092 @if gcc-bootstrap
31093 all-target-libstdc++-v3: stage_current
31094 @endif gcc-bootstrap
31095 @if target-libstdc++-v3
31096 TARGET-target-libstdc++-v3=all
31097 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
31098 all-target-libstdc++-v3: configure-target-libstdc++-v3
31099 @r=`${PWD_COMMAND}`; export r; \
31100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31101 $(RAW_CXX_TARGET_EXPORTS) \
31102 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31103 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31104 $(TARGET-target-libstdc++-v3))
31105 @endif target-libstdc++-v3
31109 .PHONY: all-stage1-target-libstdc++-v3 maybe-all-stage1-target-libstdc++-v3
31110 .PHONY: clean-stage1-target-libstdc++-v3 maybe-clean-stage1-target-libstdc++-v3
31111 maybe-all-stage1-target-libstdc++-v3:
31112 maybe-clean-stage1-target-libstdc++-v3:
31113 @if target-libstdc++-v3-bootstrap
31114 maybe-all-stage1-target-libstdc++-v3: all-stage1-target-libstdc++-v3
31115 all-stage1: all-stage1-target-libstdc++-v3
31116 TARGET-stage1-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
31117 all-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
31118 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
31119 @r=`${PWD_COMMAND}`; export r; \
31120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31121 TFLAGS="$(STAGE1_TFLAGS)"; \
31122 $(RAW_CXX_TARGET_EXPORTS) \
31123 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31124 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31125 CFLAGS="$(CFLAGS_FOR_TARGET)" \
31126 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
31127 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
31128 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31129 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31130 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31131 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31133 TFLAGS="$(STAGE1_TFLAGS)" \
31134 $(TARGET-stage1-target-libstdc++-v3)
31136 maybe-clean-stage1-target-libstdc++-v3: clean-stage1-target-libstdc++-v3
31137 clean-stage1: clean-stage1-target-libstdc++-v3
31138 clean-stage1-target-libstdc++-v3:
31139 @if [ $(current_stage) = stage1 ]; then \
31140 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
31141 else \
31142 [ -f $(TARGET_SUBDIR)/stage1-libstdc++-v3/Makefile ] || exit 0; \
31143 $(MAKE) stage1-start; \
31144 fi; \
31145 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31146 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31147 clean
31148 @endif target-libstdc++-v3-bootstrap
31151 .PHONY: all-stage2-target-libstdc++-v3 maybe-all-stage2-target-libstdc++-v3
31152 .PHONY: clean-stage2-target-libstdc++-v3 maybe-clean-stage2-target-libstdc++-v3
31153 maybe-all-stage2-target-libstdc++-v3:
31154 maybe-clean-stage2-target-libstdc++-v3:
31155 @if target-libstdc++-v3-bootstrap
31156 maybe-all-stage2-target-libstdc++-v3: all-stage2-target-libstdc++-v3
31157 all-stage2: all-stage2-target-libstdc++-v3
31158 TARGET-stage2-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
31159 all-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
31160 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
31161 @r=`${PWD_COMMAND}`; export r; \
31162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31163 TFLAGS="$(STAGE2_TFLAGS)"; \
31164 $(RAW_CXX_TARGET_EXPORTS) \
31166 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31167 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31168 CFLAGS="$(CFLAGS_FOR_TARGET)" \
31169 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
31170 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
31171 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31172 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31173 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31174 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31175 TFLAGS="$(STAGE2_TFLAGS)" \
31176 $(TARGET-stage2-target-libstdc++-v3)
31178 maybe-clean-stage2-target-libstdc++-v3: clean-stage2-target-libstdc++-v3
31179 clean-stage2: clean-stage2-target-libstdc++-v3
31180 clean-stage2-target-libstdc++-v3:
31181 @if [ $(current_stage) = stage2 ]; then \
31182 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
31183 else \
31184 [ -f $(TARGET_SUBDIR)/stage2-libstdc++-v3/Makefile ] || exit 0; \
31185 $(MAKE) stage2-start; \
31186 fi; \
31187 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31188 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
31189 @endif target-libstdc++-v3-bootstrap
31192 .PHONY: all-stage3-target-libstdc++-v3 maybe-all-stage3-target-libstdc++-v3
31193 .PHONY: clean-stage3-target-libstdc++-v3 maybe-clean-stage3-target-libstdc++-v3
31194 maybe-all-stage3-target-libstdc++-v3:
31195 maybe-clean-stage3-target-libstdc++-v3:
31196 @if target-libstdc++-v3-bootstrap
31197 maybe-all-stage3-target-libstdc++-v3: all-stage3-target-libstdc++-v3
31198 all-stage3: all-stage3-target-libstdc++-v3
31199 TARGET-stage3-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
31200 all-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
31201 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
31202 @r=`${PWD_COMMAND}`; export r; \
31203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31204 TFLAGS="$(STAGE3_TFLAGS)"; \
31205 $(RAW_CXX_TARGET_EXPORTS) \
31207 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31208 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31209 CFLAGS="$(CFLAGS_FOR_TARGET)" \
31210 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
31211 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
31212 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31213 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31214 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31215 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31216 TFLAGS="$(STAGE3_TFLAGS)" \
31217 $(TARGET-stage3-target-libstdc++-v3)
31219 maybe-clean-stage3-target-libstdc++-v3: clean-stage3-target-libstdc++-v3
31220 clean-stage3: clean-stage3-target-libstdc++-v3
31221 clean-stage3-target-libstdc++-v3:
31222 @if [ $(current_stage) = stage3 ]; then \
31223 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
31224 else \
31225 [ -f $(TARGET_SUBDIR)/stage3-libstdc++-v3/Makefile ] || exit 0; \
31226 $(MAKE) stage3-start; \
31227 fi; \
31228 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31229 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
31230 @endif target-libstdc++-v3-bootstrap
31233 .PHONY: all-stage4-target-libstdc++-v3 maybe-all-stage4-target-libstdc++-v3
31234 .PHONY: clean-stage4-target-libstdc++-v3 maybe-clean-stage4-target-libstdc++-v3
31235 maybe-all-stage4-target-libstdc++-v3:
31236 maybe-clean-stage4-target-libstdc++-v3:
31237 @if target-libstdc++-v3-bootstrap
31238 maybe-all-stage4-target-libstdc++-v3: all-stage4-target-libstdc++-v3
31239 all-stage4: all-stage4-target-libstdc++-v3
31240 TARGET-stage4-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
31241 all-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
31242 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
31243 @r=`${PWD_COMMAND}`; export r; \
31244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31245 TFLAGS="$(STAGE4_TFLAGS)"; \
31246 $(RAW_CXX_TARGET_EXPORTS) \
31248 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31249 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31250 CFLAGS="$(CFLAGS_FOR_TARGET)" \
31251 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
31252 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
31253 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31254 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31255 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31256 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31257 TFLAGS="$(STAGE4_TFLAGS)" \
31258 $(TARGET-stage4-target-libstdc++-v3)
31260 maybe-clean-stage4-target-libstdc++-v3: clean-stage4-target-libstdc++-v3
31261 clean-stage4: clean-stage4-target-libstdc++-v3
31262 clean-stage4-target-libstdc++-v3:
31263 @if [ $(current_stage) = stage4 ]; then \
31264 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
31265 else \
31266 [ -f $(TARGET_SUBDIR)/stage4-libstdc++-v3/Makefile ] || exit 0; \
31267 $(MAKE) stage4-start; \
31268 fi; \
31269 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31270 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
31271 @endif target-libstdc++-v3-bootstrap
31274 .PHONY: all-stageprofile-target-libstdc++-v3 maybe-all-stageprofile-target-libstdc++-v3
31275 .PHONY: clean-stageprofile-target-libstdc++-v3 maybe-clean-stageprofile-target-libstdc++-v3
31276 maybe-all-stageprofile-target-libstdc++-v3:
31277 maybe-clean-stageprofile-target-libstdc++-v3:
31278 @if target-libstdc++-v3-bootstrap
31279 maybe-all-stageprofile-target-libstdc++-v3: all-stageprofile-target-libstdc++-v3
31280 all-stageprofile: all-stageprofile-target-libstdc++-v3
31281 TARGET-stageprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
31282 all-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
31283 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
31284 @r=`${PWD_COMMAND}`; export r; \
31285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31286 TFLAGS="$(STAGEprofile_TFLAGS)"; \
31287 $(RAW_CXX_TARGET_EXPORTS) \
31289 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31290 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31291 CFLAGS="$(CFLAGS_FOR_TARGET)" \
31292 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
31293 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
31294 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31295 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31296 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31297 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31298 TFLAGS="$(STAGEprofile_TFLAGS)" \
31299 $(TARGET-stageprofile-target-libstdc++-v3)
31301 maybe-clean-stageprofile-target-libstdc++-v3: clean-stageprofile-target-libstdc++-v3
31302 clean-stageprofile: clean-stageprofile-target-libstdc++-v3
31303 clean-stageprofile-target-libstdc++-v3:
31304 @if [ $(current_stage) = stageprofile ]; then \
31305 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
31306 else \
31307 [ -f $(TARGET_SUBDIR)/stageprofile-libstdc++-v3/Makefile ] || exit 0; \
31308 $(MAKE) stageprofile-start; \
31309 fi; \
31310 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31311 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
31312 @endif target-libstdc++-v3-bootstrap
31315 .PHONY: all-stagefeedback-target-libstdc++-v3 maybe-all-stagefeedback-target-libstdc++-v3
31316 .PHONY: clean-stagefeedback-target-libstdc++-v3 maybe-clean-stagefeedback-target-libstdc++-v3
31317 maybe-all-stagefeedback-target-libstdc++-v3:
31318 maybe-clean-stagefeedback-target-libstdc++-v3:
31319 @if target-libstdc++-v3-bootstrap
31320 maybe-all-stagefeedback-target-libstdc++-v3: all-stagefeedback-target-libstdc++-v3
31321 all-stagefeedback: all-stagefeedback-target-libstdc++-v3
31322 TARGET-stagefeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
31323 all-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
31324 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
31325 @r=`${PWD_COMMAND}`; export r; \
31326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31327 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
31328 $(RAW_CXX_TARGET_EXPORTS) \
31330 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31331 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31332 CFLAGS="$(CFLAGS_FOR_TARGET)" \
31333 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
31334 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
31335 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31336 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31337 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31338 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31339 TFLAGS="$(STAGEfeedback_TFLAGS)" \
31340 $(TARGET-stagefeedback-target-libstdc++-v3)
31342 maybe-clean-stagefeedback-target-libstdc++-v3: clean-stagefeedback-target-libstdc++-v3
31343 clean-stagefeedback: clean-stagefeedback-target-libstdc++-v3
31344 clean-stagefeedback-target-libstdc++-v3:
31345 @if [ $(current_stage) = stagefeedback ]; then \
31346 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
31347 else \
31348 [ -f $(TARGET_SUBDIR)/stagefeedback-libstdc++-v3/Makefile ] || exit 0; \
31349 $(MAKE) stagefeedback-start; \
31350 fi; \
31351 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31352 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
31353 @endif target-libstdc++-v3-bootstrap
31360 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
31361 maybe-check-target-libstdc++-v3:
31362 @if target-libstdc++-v3
31363 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
31365 check-target-libstdc++-v3:
31366 @: $(MAKE); $(unstage)
31367 @r=`${PWD_COMMAND}`; export r; \
31368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31369 $(RAW_CXX_TARGET_EXPORTS) \
31370 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31371 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
31373 @endif target-libstdc++-v3
31375 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
31376 maybe-install-target-libstdc++-v3:
31377 @if target-libstdc++-v3
31378 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
31380 install-target-libstdc++-v3: installdirs
31381 @: $(MAKE); $(unstage)
31382 @r=`${PWD_COMMAND}`; export r; \
31383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31384 $(RAW_CXX_TARGET_EXPORTS) \
31385 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31386 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31388 @endif target-libstdc++-v3
31390 .PHONY: install-strip-target-libstdc++-v3 maybe-install-strip-target-libstdc++-v3
31391 maybe-install-strip-target-libstdc++-v3:
31392 @if target-libstdc++-v3
31393 maybe-install-strip-target-libstdc++-v3: install-strip-target-libstdc++-v3
31395 install-strip-target-libstdc++-v3: installdirs
31396 @: $(MAKE); $(unstage)
31397 @r=`${PWD_COMMAND}`; export r; \
31398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31399 $(RAW_CXX_TARGET_EXPORTS) \
31400 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31401 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
31403 @endif target-libstdc++-v3
31405 # Other targets (info, dvi, pdf, etc.)
31407 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
31408 maybe-info-target-libstdc++-v3:
31409 @if target-libstdc++-v3
31410 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
31412 info-target-libstdc++-v3: \
31413 configure-target-libstdc++-v3
31414 @: $(MAKE); $(unstage)
31415 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31416 r=`${PWD_COMMAND}`; export r; \
31417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31418 $(RAW_CXX_TARGET_EXPORTS) \
31419 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31420 for flag in $(EXTRA_TARGET_FLAGS); do \
31421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31422 done; \
31423 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31426 "RANLIB=$${RANLIB}" \
31427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31428 info) \
31429 || exit 1
31431 @endif target-libstdc++-v3
31433 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
31434 maybe-dvi-target-libstdc++-v3:
31435 @if target-libstdc++-v3
31436 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
31438 dvi-target-libstdc++-v3: \
31439 configure-target-libstdc++-v3
31440 @: $(MAKE); $(unstage)
31441 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31442 r=`${PWD_COMMAND}`; export r; \
31443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31444 $(RAW_CXX_TARGET_EXPORTS) \
31445 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31446 for flag in $(EXTRA_TARGET_FLAGS); do \
31447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31448 done; \
31449 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31452 "RANLIB=$${RANLIB}" \
31453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31454 dvi) \
31455 || exit 1
31457 @endif target-libstdc++-v3
31459 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
31460 maybe-pdf-target-libstdc++-v3:
31461 @if target-libstdc++-v3
31462 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
31464 pdf-target-libstdc++-v3: \
31465 configure-target-libstdc++-v3
31466 @: $(MAKE); $(unstage)
31467 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31468 r=`${PWD_COMMAND}`; export r; \
31469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31470 $(RAW_CXX_TARGET_EXPORTS) \
31471 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31472 for flag in $(EXTRA_TARGET_FLAGS); do \
31473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31474 done; \
31475 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31478 "RANLIB=$${RANLIB}" \
31479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31480 pdf) \
31481 || exit 1
31483 @endif target-libstdc++-v3
31485 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
31486 maybe-html-target-libstdc++-v3:
31487 @if target-libstdc++-v3
31488 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
31490 html-target-libstdc++-v3: \
31491 configure-target-libstdc++-v3
31492 @: $(MAKE); $(unstage)
31493 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31494 r=`${PWD_COMMAND}`; export r; \
31495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31496 $(RAW_CXX_TARGET_EXPORTS) \
31497 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31498 for flag in $(EXTRA_TARGET_FLAGS); do \
31499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31500 done; \
31501 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31504 "RANLIB=$${RANLIB}" \
31505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31506 html) \
31507 || exit 1
31509 @endif target-libstdc++-v3
31511 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
31512 maybe-TAGS-target-libstdc++-v3:
31513 @if target-libstdc++-v3
31514 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
31516 TAGS-target-libstdc++-v3: \
31517 configure-target-libstdc++-v3
31518 @: $(MAKE); $(unstage)
31519 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31520 r=`${PWD_COMMAND}`; export r; \
31521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31522 $(RAW_CXX_TARGET_EXPORTS) \
31523 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31524 for flag in $(EXTRA_TARGET_FLAGS); do \
31525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31526 done; \
31527 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31530 "RANLIB=$${RANLIB}" \
31531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31532 TAGS) \
31533 || exit 1
31535 @endif target-libstdc++-v3
31537 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
31538 maybe-install-info-target-libstdc++-v3:
31539 @if target-libstdc++-v3
31540 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
31542 install-info-target-libstdc++-v3: \
31543 configure-target-libstdc++-v3 \
31544 info-target-libstdc++-v3
31545 @: $(MAKE); $(unstage)
31546 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31547 r=`${PWD_COMMAND}`; export r; \
31548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31549 $(RAW_CXX_TARGET_EXPORTS) \
31550 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31551 for flag in $(EXTRA_TARGET_FLAGS); do \
31552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31553 done; \
31554 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31557 "RANLIB=$${RANLIB}" \
31558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31559 install-info) \
31560 || exit 1
31562 @endif target-libstdc++-v3
31564 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
31565 maybe-install-pdf-target-libstdc++-v3:
31566 @if target-libstdc++-v3
31567 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
31569 install-pdf-target-libstdc++-v3: \
31570 configure-target-libstdc++-v3 \
31571 pdf-target-libstdc++-v3
31572 @: $(MAKE); $(unstage)
31573 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31574 r=`${PWD_COMMAND}`; export r; \
31575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31576 $(RAW_CXX_TARGET_EXPORTS) \
31577 echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31578 for flag in $(EXTRA_TARGET_FLAGS); do \
31579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31580 done; \
31581 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31584 "RANLIB=$${RANLIB}" \
31585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31586 install-pdf) \
31587 || exit 1
31589 @endif target-libstdc++-v3
31591 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
31592 maybe-install-html-target-libstdc++-v3:
31593 @if target-libstdc++-v3
31594 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
31596 install-html-target-libstdc++-v3: \
31597 configure-target-libstdc++-v3 \
31598 html-target-libstdc++-v3
31599 @: $(MAKE); $(unstage)
31600 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31601 r=`${PWD_COMMAND}`; export r; \
31602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31603 $(RAW_CXX_TARGET_EXPORTS) \
31604 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31605 for flag in $(EXTRA_TARGET_FLAGS); do \
31606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31607 done; \
31608 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31611 "RANLIB=$${RANLIB}" \
31612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31613 install-html) \
31614 || exit 1
31616 @endif target-libstdc++-v3
31618 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
31619 maybe-installcheck-target-libstdc++-v3:
31620 @if target-libstdc++-v3
31621 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
31623 installcheck-target-libstdc++-v3: \
31624 configure-target-libstdc++-v3
31625 @: $(MAKE); $(unstage)
31626 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31627 r=`${PWD_COMMAND}`; export r; \
31628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31629 $(RAW_CXX_TARGET_EXPORTS) \
31630 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31631 for flag in $(EXTRA_TARGET_FLAGS); do \
31632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31633 done; \
31634 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31637 "RANLIB=$${RANLIB}" \
31638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31639 installcheck) \
31640 || exit 1
31642 @endif target-libstdc++-v3
31644 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
31645 maybe-mostlyclean-target-libstdc++-v3:
31646 @if target-libstdc++-v3
31647 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
31649 mostlyclean-target-libstdc++-v3:
31650 @: $(MAKE); $(unstage)
31651 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31652 r=`${PWD_COMMAND}`; export r; \
31653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31654 $(RAW_CXX_TARGET_EXPORTS) \
31655 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31656 for flag in $(EXTRA_TARGET_FLAGS); do \
31657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31658 done; \
31659 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31662 "RANLIB=$${RANLIB}" \
31663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31664 mostlyclean) \
31665 || exit 1
31667 @endif target-libstdc++-v3
31669 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
31670 maybe-clean-target-libstdc++-v3:
31671 @if target-libstdc++-v3
31672 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
31674 clean-target-libstdc++-v3:
31675 @: $(MAKE); $(unstage)
31676 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31677 r=`${PWD_COMMAND}`; export r; \
31678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31679 $(RAW_CXX_TARGET_EXPORTS) \
31680 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31681 for flag in $(EXTRA_TARGET_FLAGS); do \
31682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31683 done; \
31684 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31687 "RANLIB=$${RANLIB}" \
31688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31689 clean) \
31690 || exit 1
31692 @endif target-libstdc++-v3
31694 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
31695 maybe-distclean-target-libstdc++-v3:
31696 @if target-libstdc++-v3
31697 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
31699 distclean-target-libstdc++-v3:
31700 @: $(MAKE); $(unstage)
31701 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31702 r=`${PWD_COMMAND}`; export r; \
31703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31704 $(RAW_CXX_TARGET_EXPORTS) \
31705 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31706 for flag in $(EXTRA_TARGET_FLAGS); do \
31707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31708 done; \
31709 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31712 "RANLIB=$${RANLIB}" \
31713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31714 distclean) \
31715 || exit 1
31717 @endif target-libstdc++-v3
31719 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
31720 maybe-maintainer-clean-target-libstdc++-v3:
31721 @if target-libstdc++-v3
31722 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
31724 maintainer-clean-target-libstdc++-v3:
31725 @: $(MAKE); $(unstage)
31726 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31727 r=`${PWD_COMMAND}`; export r; \
31728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31729 $(RAW_CXX_TARGET_EXPORTS) \
31730 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31731 for flag in $(EXTRA_TARGET_FLAGS); do \
31732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31733 done; \
31734 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31737 "RANLIB=$${RANLIB}" \
31738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31739 maintainer-clean) \
31740 || exit 1
31742 @endif target-libstdc++-v3
31748 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
31749 maybe-configure-target-libmudflap:
31750 @if gcc-bootstrap
31751 configure-target-libmudflap: stage_current
31752 @endif gcc-bootstrap
31753 @if target-libmudflap
31754 maybe-configure-target-libmudflap: configure-target-libmudflap
31755 configure-target-libmudflap:
31756 @: $(MAKE); $(unstage)
31757 @r=`${PWD_COMMAND}`; export r; \
31758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31759 echo "Checking multilib configuration for libmudflap..."; \
31760 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
31761 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmudflap/multilib.tmp 2> /dev/null ; \
31762 if test -r $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
31763 if cmp -s $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
31764 rm -f $(TARGET_SUBDIR)/libmudflap/multilib.tmp; \
31765 else \
31766 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile; \
31767 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
31768 fi; \
31769 else \
31770 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
31771 fi; \
31772 test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
31773 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
31774 $(NORMAL_TARGET_EXPORTS) \
31775 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
31776 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
31777 case $(srcdir) in \
31778 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31779 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
31780 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31781 esac; \
31782 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
31783 libsrcdir="$$s/libmudflap"; \
31784 rm -f no-such-file || : ; \
31785 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31786 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31787 --target=${target_alias} $${srcdiroption} \
31788 || exit 1
31789 @endif target-libmudflap
31795 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
31796 maybe-all-target-libmudflap:
31797 @if gcc-bootstrap
31798 all-target-libmudflap: stage_current
31799 @endif gcc-bootstrap
31800 @if target-libmudflap
31801 TARGET-target-libmudflap=all
31802 maybe-all-target-libmudflap: all-target-libmudflap
31803 all-target-libmudflap: configure-target-libmudflap
31804 @: $(MAKE); $(unstage)
31805 @r=`${PWD_COMMAND}`; export r; \
31806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31807 $(NORMAL_TARGET_EXPORTS) \
31808 (cd $(TARGET_SUBDIR)/libmudflap && \
31809 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
31810 $(TARGET-target-libmudflap))
31811 @endif target-libmudflap
31817 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
31818 maybe-check-target-libmudflap:
31819 @if target-libmudflap
31820 maybe-check-target-libmudflap: check-target-libmudflap
31822 check-target-libmudflap:
31823 @: $(MAKE); $(unstage)
31824 @r=`${PWD_COMMAND}`; export r; \
31825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31826 $(NORMAL_TARGET_EXPORTS) \
31827 (cd $(TARGET_SUBDIR)/libmudflap && \
31828 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31830 @endif target-libmudflap
31832 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
31833 maybe-install-target-libmudflap:
31834 @if target-libmudflap
31835 maybe-install-target-libmudflap: install-target-libmudflap
31837 install-target-libmudflap: installdirs
31838 @: $(MAKE); $(unstage)
31839 @r=`${PWD_COMMAND}`; export r; \
31840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31841 $(NORMAL_TARGET_EXPORTS) \
31842 (cd $(TARGET_SUBDIR)/libmudflap && \
31843 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31845 @endif target-libmudflap
31847 .PHONY: install-strip-target-libmudflap maybe-install-strip-target-libmudflap
31848 maybe-install-strip-target-libmudflap:
31849 @if target-libmudflap
31850 maybe-install-strip-target-libmudflap: install-strip-target-libmudflap
31852 install-strip-target-libmudflap: installdirs
31853 @: $(MAKE); $(unstage)
31854 @r=`${PWD_COMMAND}`; export r; \
31855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31856 $(NORMAL_TARGET_EXPORTS) \
31857 (cd $(TARGET_SUBDIR)/libmudflap && \
31858 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
31860 @endif target-libmudflap
31862 # Other targets (info, dvi, pdf, etc.)
31864 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
31865 maybe-info-target-libmudflap:
31866 @if target-libmudflap
31867 maybe-info-target-libmudflap: info-target-libmudflap
31869 info-target-libmudflap: \
31870 configure-target-libmudflap
31871 @: $(MAKE); $(unstage)
31872 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31873 r=`${PWD_COMMAND}`; export r; \
31874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31875 $(NORMAL_TARGET_EXPORTS) \
31876 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
31877 for flag in $(EXTRA_TARGET_FLAGS); do \
31878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31879 done; \
31880 (cd $(TARGET_SUBDIR)/libmudflap && \
31881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31883 "RANLIB=$${RANLIB}" \
31884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31885 info) \
31886 || exit 1
31888 @endif target-libmudflap
31890 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
31891 maybe-dvi-target-libmudflap:
31892 @if target-libmudflap
31893 maybe-dvi-target-libmudflap: dvi-target-libmudflap
31895 dvi-target-libmudflap: \
31896 configure-target-libmudflap
31897 @: $(MAKE); $(unstage)
31898 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31899 r=`${PWD_COMMAND}`; export r; \
31900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31901 $(NORMAL_TARGET_EXPORTS) \
31902 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
31903 for flag in $(EXTRA_TARGET_FLAGS); do \
31904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31905 done; \
31906 (cd $(TARGET_SUBDIR)/libmudflap && \
31907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31909 "RANLIB=$${RANLIB}" \
31910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31911 dvi) \
31912 || exit 1
31914 @endif target-libmudflap
31916 .PHONY: maybe-pdf-target-libmudflap pdf-target-libmudflap
31917 maybe-pdf-target-libmudflap:
31918 @if target-libmudflap
31919 maybe-pdf-target-libmudflap: pdf-target-libmudflap
31921 pdf-target-libmudflap: \
31922 configure-target-libmudflap
31923 @: $(MAKE); $(unstage)
31924 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31925 r=`${PWD_COMMAND}`; export r; \
31926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31927 $(NORMAL_TARGET_EXPORTS) \
31928 echo "Doing pdf in $(TARGET_SUBDIR)/libmudflap" ; \
31929 for flag in $(EXTRA_TARGET_FLAGS); do \
31930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31931 done; \
31932 (cd $(TARGET_SUBDIR)/libmudflap && \
31933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31935 "RANLIB=$${RANLIB}" \
31936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31937 pdf) \
31938 || exit 1
31940 @endif target-libmudflap
31942 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
31943 maybe-html-target-libmudflap:
31944 @if target-libmudflap
31945 maybe-html-target-libmudflap: html-target-libmudflap
31947 html-target-libmudflap: \
31948 configure-target-libmudflap
31949 @: $(MAKE); $(unstage)
31950 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31951 r=`${PWD_COMMAND}`; export r; \
31952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31953 $(NORMAL_TARGET_EXPORTS) \
31954 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
31955 for flag in $(EXTRA_TARGET_FLAGS); do \
31956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31957 done; \
31958 (cd $(TARGET_SUBDIR)/libmudflap && \
31959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31961 "RANLIB=$${RANLIB}" \
31962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31963 html) \
31964 || exit 1
31966 @endif target-libmudflap
31968 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
31969 maybe-TAGS-target-libmudflap:
31970 @if target-libmudflap
31971 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
31973 TAGS-target-libmudflap: \
31974 configure-target-libmudflap
31975 @: $(MAKE); $(unstage)
31976 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31977 r=`${PWD_COMMAND}`; export r; \
31978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31979 $(NORMAL_TARGET_EXPORTS) \
31980 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
31981 for flag in $(EXTRA_TARGET_FLAGS); do \
31982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31983 done; \
31984 (cd $(TARGET_SUBDIR)/libmudflap && \
31985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31987 "RANLIB=$${RANLIB}" \
31988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31989 TAGS) \
31990 || exit 1
31992 @endif target-libmudflap
31994 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
31995 maybe-install-info-target-libmudflap:
31996 @if target-libmudflap
31997 maybe-install-info-target-libmudflap: install-info-target-libmudflap
31999 install-info-target-libmudflap: \
32000 configure-target-libmudflap \
32001 info-target-libmudflap
32002 @: $(MAKE); $(unstage)
32003 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32004 r=`${PWD_COMMAND}`; export r; \
32005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32006 $(NORMAL_TARGET_EXPORTS) \
32007 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
32008 for flag in $(EXTRA_TARGET_FLAGS); do \
32009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32010 done; \
32011 (cd $(TARGET_SUBDIR)/libmudflap && \
32012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32014 "RANLIB=$${RANLIB}" \
32015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32016 install-info) \
32017 || exit 1
32019 @endif target-libmudflap
32021 .PHONY: maybe-install-pdf-target-libmudflap install-pdf-target-libmudflap
32022 maybe-install-pdf-target-libmudflap:
32023 @if target-libmudflap
32024 maybe-install-pdf-target-libmudflap: install-pdf-target-libmudflap
32026 install-pdf-target-libmudflap: \
32027 configure-target-libmudflap \
32028 pdf-target-libmudflap
32029 @: $(MAKE); $(unstage)
32030 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32031 r=`${PWD_COMMAND}`; export r; \
32032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32033 $(NORMAL_TARGET_EXPORTS) \
32034 echo "Doing install-pdf in $(TARGET_SUBDIR)/libmudflap" ; \
32035 for flag in $(EXTRA_TARGET_FLAGS); do \
32036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32037 done; \
32038 (cd $(TARGET_SUBDIR)/libmudflap && \
32039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32041 "RANLIB=$${RANLIB}" \
32042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32043 install-pdf) \
32044 || exit 1
32046 @endif target-libmudflap
32048 .PHONY: maybe-install-html-target-libmudflap install-html-target-libmudflap
32049 maybe-install-html-target-libmudflap:
32050 @if target-libmudflap
32051 maybe-install-html-target-libmudflap: install-html-target-libmudflap
32053 install-html-target-libmudflap: \
32054 configure-target-libmudflap \
32055 html-target-libmudflap
32056 @: $(MAKE); $(unstage)
32057 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32058 r=`${PWD_COMMAND}`; export r; \
32059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32060 $(NORMAL_TARGET_EXPORTS) \
32061 echo "Doing install-html in $(TARGET_SUBDIR)/libmudflap" ; \
32062 for flag in $(EXTRA_TARGET_FLAGS); do \
32063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32064 done; \
32065 (cd $(TARGET_SUBDIR)/libmudflap && \
32066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32068 "RANLIB=$${RANLIB}" \
32069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32070 install-html) \
32071 || exit 1
32073 @endif target-libmudflap
32075 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
32076 maybe-installcheck-target-libmudflap:
32077 @if target-libmudflap
32078 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
32080 installcheck-target-libmudflap: \
32081 configure-target-libmudflap
32082 @: $(MAKE); $(unstage)
32083 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32084 r=`${PWD_COMMAND}`; export r; \
32085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32086 $(NORMAL_TARGET_EXPORTS) \
32087 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
32088 for flag in $(EXTRA_TARGET_FLAGS); do \
32089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32090 done; \
32091 (cd $(TARGET_SUBDIR)/libmudflap && \
32092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32094 "RANLIB=$${RANLIB}" \
32095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32096 installcheck) \
32097 || exit 1
32099 @endif target-libmudflap
32101 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
32102 maybe-mostlyclean-target-libmudflap:
32103 @if target-libmudflap
32104 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
32106 mostlyclean-target-libmudflap:
32107 @: $(MAKE); $(unstage)
32108 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32109 r=`${PWD_COMMAND}`; export r; \
32110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32111 $(NORMAL_TARGET_EXPORTS) \
32112 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
32113 for flag in $(EXTRA_TARGET_FLAGS); do \
32114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32115 done; \
32116 (cd $(TARGET_SUBDIR)/libmudflap && \
32117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32119 "RANLIB=$${RANLIB}" \
32120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32121 mostlyclean) \
32122 || exit 1
32124 @endif target-libmudflap
32126 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
32127 maybe-clean-target-libmudflap:
32128 @if target-libmudflap
32129 maybe-clean-target-libmudflap: clean-target-libmudflap
32131 clean-target-libmudflap:
32132 @: $(MAKE); $(unstage)
32133 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32134 r=`${PWD_COMMAND}`; export r; \
32135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32136 $(NORMAL_TARGET_EXPORTS) \
32137 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
32138 for flag in $(EXTRA_TARGET_FLAGS); do \
32139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32140 done; \
32141 (cd $(TARGET_SUBDIR)/libmudflap && \
32142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32144 "RANLIB=$${RANLIB}" \
32145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32146 clean) \
32147 || exit 1
32149 @endif target-libmudflap
32151 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
32152 maybe-distclean-target-libmudflap:
32153 @if target-libmudflap
32154 maybe-distclean-target-libmudflap: distclean-target-libmudflap
32156 distclean-target-libmudflap:
32157 @: $(MAKE); $(unstage)
32158 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32159 r=`${PWD_COMMAND}`; export r; \
32160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32161 $(NORMAL_TARGET_EXPORTS) \
32162 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
32163 for flag in $(EXTRA_TARGET_FLAGS); do \
32164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32165 done; \
32166 (cd $(TARGET_SUBDIR)/libmudflap && \
32167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32169 "RANLIB=$${RANLIB}" \
32170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32171 distclean) \
32172 || exit 1
32174 @endif target-libmudflap
32176 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
32177 maybe-maintainer-clean-target-libmudflap:
32178 @if target-libmudflap
32179 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
32181 maintainer-clean-target-libmudflap:
32182 @: $(MAKE); $(unstage)
32183 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32184 r=`${PWD_COMMAND}`; export r; \
32185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32186 $(NORMAL_TARGET_EXPORTS) \
32187 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
32188 for flag in $(EXTRA_TARGET_FLAGS); do \
32189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32190 done; \
32191 (cd $(TARGET_SUBDIR)/libmudflap && \
32192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32194 "RANLIB=$${RANLIB}" \
32195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32196 maintainer-clean) \
32197 || exit 1
32199 @endif target-libmudflap
32205 .PHONY: configure-target-libsanitizer maybe-configure-target-libsanitizer
32206 maybe-configure-target-libsanitizer:
32207 @if gcc-bootstrap
32208 configure-target-libsanitizer: stage_current
32209 @endif gcc-bootstrap
32210 @if target-libsanitizer
32211 maybe-configure-target-libsanitizer: configure-target-libsanitizer
32212 configure-target-libsanitizer:
32213 @r=`${PWD_COMMAND}`; export r; \
32214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32215 echo "Checking multilib configuration for libsanitizer..."; \
32216 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
32217 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
32218 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32219 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32220 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
32221 else \
32222 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
32223 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32224 fi; \
32225 else \
32226 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32227 fi; \
32228 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
32229 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
32230 $(RAW_CXX_TARGET_EXPORTS) \
32231 echo Configuring in $(TARGET_SUBDIR)/libsanitizer; \
32232 cd "$(TARGET_SUBDIR)/libsanitizer" || exit 1; \
32233 case $(srcdir) in \
32234 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32235 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
32236 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32237 esac; \
32238 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \
32239 libsrcdir="$$s/libsanitizer"; \
32240 rm -f no-such-file || : ; \
32241 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32242 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32243 --target=${target_alias} $${srcdiroption} \
32244 || exit 1
32245 @endif target-libsanitizer
32249 .PHONY: configure-stage1-target-libsanitizer maybe-configure-stage1-target-libsanitizer
32250 maybe-configure-stage1-target-libsanitizer:
32251 @if target-libsanitizer-bootstrap
32252 maybe-configure-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
32253 configure-stage1-target-libsanitizer:
32254 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32255 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
32256 @r=`${PWD_COMMAND}`; export r; \
32257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32258 TFLAGS="$(STAGE1_TFLAGS)"; \
32259 echo "Checking multilib configuration for libsanitizer..."; \
32260 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
32261 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32262 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32263 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
32264 else \
32265 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
32266 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32267 fi; \
32268 else \
32269 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32270 fi; \
32271 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
32272 $(RAW_CXX_TARGET_EXPORTS) \
32273 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32274 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32275 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32276 echo Configuring stage 1 in $(TARGET_SUBDIR)/libsanitizer ; \
32277 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
32278 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
32279 case $(srcdir) in \
32280 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32281 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
32282 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32283 esac; \
32284 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \
32285 libsrcdir="$$s/libsanitizer"; \
32286 $(SHELL) $${libsrcdir}/configure \
32287 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32288 --target=${target_alias} $${srcdiroption} \
32289 $(STAGE1_CONFIGURE_FLAGS)
32290 @endif target-libsanitizer-bootstrap
32292 .PHONY: configure-stage2-target-libsanitizer maybe-configure-stage2-target-libsanitizer
32293 maybe-configure-stage2-target-libsanitizer:
32294 @if target-libsanitizer-bootstrap
32295 maybe-configure-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
32296 configure-stage2-target-libsanitizer:
32297 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32298 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
32299 @r=`${PWD_COMMAND}`; export r; \
32300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32301 TFLAGS="$(STAGE2_TFLAGS)"; \
32302 echo "Checking multilib configuration for libsanitizer..."; \
32303 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
32304 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32305 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32306 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
32307 else \
32308 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
32309 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32310 fi; \
32311 else \
32312 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32313 fi; \
32314 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
32315 $(RAW_CXX_TARGET_EXPORTS) \
32317 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32318 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32319 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32320 echo Configuring stage 2 in $(TARGET_SUBDIR)/libsanitizer ; \
32321 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
32322 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
32323 case $(srcdir) in \
32324 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32325 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
32326 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32327 esac; \
32328 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \
32329 libsrcdir="$$s/libsanitizer"; \
32330 $(SHELL) $${libsrcdir}/configure \
32331 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32332 --target=${target_alias} $${srcdiroption} \
32333 --with-build-libsubdir=$(HOST_SUBDIR) \
32334 $(STAGE2_CONFIGURE_FLAGS)
32335 @endif target-libsanitizer-bootstrap
32337 .PHONY: configure-stage3-target-libsanitizer maybe-configure-stage3-target-libsanitizer
32338 maybe-configure-stage3-target-libsanitizer:
32339 @if target-libsanitizer-bootstrap
32340 maybe-configure-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
32341 configure-stage3-target-libsanitizer:
32342 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32343 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
32344 @r=`${PWD_COMMAND}`; export r; \
32345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32346 TFLAGS="$(STAGE3_TFLAGS)"; \
32347 echo "Checking multilib configuration for libsanitizer..."; \
32348 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
32349 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32350 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32351 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
32352 else \
32353 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
32354 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32355 fi; \
32356 else \
32357 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32358 fi; \
32359 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
32360 $(RAW_CXX_TARGET_EXPORTS) \
32362 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32363 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32364 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32365 echo Configuring stage 3 in $(TARGET_SUBDIR)/libsanitizer ; \
32366 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
32367 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
32368 case $(srcdir) in \
32369 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32370 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
32371 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32372 esac; \
32373 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \
32374 libsrcdir="$$s/libsanitizer"; \
32375 $(SHELL) $${libsrcdir}/configure \
32376 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32377 --target=${target_alias} $${srcdiroption} \
32378 --with-build-libsubdir=$(HOST_SUBDIR) \
32379 $(STAGE3_CONFIGURE_FLAGS)
32380 @endif target-libsanitizer-bootstrap
32382 .PHONY: configure-stage4-target-libsanitizer maybe-configure-stage4-target-libsanitizer
32383 maybe-configure-stage4-target-libsanitizer:
32384 @if target-libsanitizer-bootstrap
32385 maybe-configure-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
32386 configure-stage4-target-libsanitizer:
32387 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32388 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
32389 @r=`${PWD_COMMAND}`; export r; \
32390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32391 TFLAGS="$(STAGE4_TFLAGS)"; \
32392 echo "Checking multilib configuration for libsanitizer..."; \
32393 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
32394 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32395 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32396 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
32397 else \
32398 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
32399 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32400 fi; \
32401 else \
32402 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32403 fi; \
32404 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
32405 $(RAW_CXX_TARGET_EXPORTS) \
32407 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32408 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32409 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32410 echo Configuring stage 4 in $(TARGET_SUBDIR)/libsanitizer ; \
32411 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
32412 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
32413 case $(srcdir) in \
32414 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32415 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
32416 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32417 esac; \
32418 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \
32419 libsrcdir="$$s/libsanitizer"; \
32420 $(SHELL) $${libsrcdir}/configure \
32421 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32422 --target=${target_alias} $${srcdiroption} \
32423 --with-build-libsubdir=$(HOST_SUBDIR) \
32424 $(STAGE4_CONFIGURE_FLAGS)
32425 @endif target-libsanitizer-bootstrap
32427 .PHONY: configure-stageprofile-target-libsanitizer maybe-configure-stageprofile-target-libsanitizer
32428 maybe-configure-stageprofile-target-libsanitizer:
32429 @if target-libsanitizer-bootstrap
32430 maybe-configure-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
32431 configure-stageprofile-target-libsanitizer:
32432 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32433 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
32434 @r=`${PWD_COMMAND}`; export r; \
32435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32436 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32437 echo "Checking multilib configuration for libsanitizer..."; \
32438 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
32439 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32440 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32441 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
32442 else \
32443 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
32444 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32445 fi; \
32446 else \
32447 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32448 fi; \
32449 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
32450 $(RAW_CXX_TARGET_EXPORTS) \
32452 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32453 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32454 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32455 echo Configuring stage profile in $(TARGET_SUBDIR)/libsanitizer ; \
32456 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
32457 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
32458 case $(srcdir) in \
32459 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32460 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
32461 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32462 esac; \
32463 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \
32464 libsrcdir="$$s/libsanitizer"; \
32465 $(SHELL) $${libsrcdir}/configure \
32466 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32467 --target=${target_alias} $${srcdiroption} \
32468 --with-build-libsubdir=$(HOST_SUBDIR) \
32469 $(STAGEprofile_CONFIGURE_FLAGS)
32470 @endif target-libsanitizer-bootstrap
32472 .PHONY: configure-stagefeedback-target-libsanitizer maybe-configure-stagefeedback-target-libsanitizer
32473 maybe-configure-stagefeedback-target-libsanitizer:
32474 @if target-libsanitizer-bootstrap
32475 maybe-configure-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
32476 configure-stagefeedback-target-libsanitizer:
32477 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32478 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
32479 @r=`${PWD_COMMAND}`; export r; \
32480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32481 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32482 echo "Checking multilib configuration for libsanitizer..."; \
32483 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
32484 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32485 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32486 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
32487 else \
32488 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
32489 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32490 fi; \
32491 else \
32492 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32493 fi; \
32494 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
32495 $(RAW_CXX_TARGET_EXPORTS) \
32497 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32498 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32499 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32500 echo Configuring stage feedback in $(TARGET_SUBDIR)/libsanitizer ; \
32501 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
32502 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
32503 case $(srcdir) in \
32504 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32505 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
32506 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32507 esac; \
32508 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \
32509 libsrcdir="$$s/libsanitizer"; \
32510 $(SHELL) $${libsrcdir}/configure \
32511 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32512 --target=${target_alias} $${srcdiroption} \
32513 --with-build-libsubdir=$(HOST_SUBDIR) \
32514 $(STAGEfeedback_CONFIGURE_FLAGS)
32515 @endif target-libsanitizer-bootstrap
32521 .PHONY: all-target-libsanitizer maybe-all-target-libsanitizer
32522 maybe-all-target-libsanitizer:
32523 @if gcc-bootstrap
32524 all-target-libsanitizer: stage_current
32525 @endif gcc-bootstrap
32526 @if target-libsanitizer
32527 TARGET-target-libsanitizer=all
32528 maybe-all-target-libsanitizer: all-target-libsanitizer
32529 all-target-libsanitizer: configure-target-libsanitizer
32530 @r=`${PWD_COMMAND}`; export r; \
32531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32532 $(RAW_CXX_TARGET_EXPORTS) \
32533 (cd $(TARGET_SUBDIR)/libsanitizer && \
32534 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32535 $(TARGET-target-libsanitizer))
32536 @endif target-libsanitizer
32540 .PHONY: all-stage1-target-libsanitizer maybe-all-stage1-target-libsanitizer
32541 .PHONY: clean-stage1-target-libsanitizer maybe-clean-stage1-target-libsanitizer
32542 maybe-all-stage1-target-libsanitizer:
32543 maybe-clean-stage1-target-libsanitizer:
32544 @if target-libsanitizer-bootstrap
32545 maybe-all-stage1-target-libsanitizer: all-stage1-target-libsanitizer
32546 all-stage1: all-stage1-target-libsanitizer
32547 TARGET-stage1-target-libsanitizer = $(TARGET-target-libsanitizer)
32548 all-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
32549 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32550 @r=`${PWD_COMMAND}`; export r; \
32551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32552 TFLAGS="$(STAGE1_TFLAGS)"; \
32553 $(RAW_CXX_TARGET_EXPORTS) \
32554 cd $(TARGET_SUBDIR)/libsanitizer && \
32555 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32556 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32557 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32558 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32559 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32560 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32561 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32562 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32564 TFLAGS="$(STAGE1_TFLAGS)" \
32565 $(TARGET-stage1-target-libsanitizer)
32567 maybe-clean-stage1-target-libsanitizer: clean-stage1-target-libsanitizer
32568 clean-stage1: clean-stage1-target-libsanitizer
32569 clean-stage1-target-libsanitizer:
32570 @if [ $(current_stage) = stage1 ]; then \
32571 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
32572 else \
32573 [ -f $(TARGET_SUBDIR)/stage1-libsanitizer/Makefile ] || exit 0; \
32574 $(MAKE) stage1-start; \
32575 fi; \
32576 cd $(TARGET_SUBDIR)/libsanitizer && \
32577 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32578 clean
32579 @endif target-libsanitizer-bootstrap
32582 .PHONY: all-stage2-target-libsanitizer maybe-all-stage2-target-libsanitizer
32583 .PHONY: clean-stage2-target-libsanitizer maybe-clean-stage2-target-libsanitizer
32584 maybe-all-stage2-target-libsanitizer:
32585 maybe-clean-stage2-target-libsanitizer:
32586 @if target-libsanitizer-bootstrap
32587 maybe-all-stage2-target-libsanitizer: all-stage2-target-libsanitizer
32588 all-stage2: all-stage2-target-libsanitizer
32589 TARGET-stage2-target-libsanitizer = $(TARGET-target-libsanitizer)
32590 all-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
32591 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32592 @r=`${PWD_COMMAND}`; export r; \
32593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32594 TFLAGS="$(STAGE2_TFLAGS)"; \
32595 $(RAW_CXX_TARGET_EXPORTS) \
32597 cd $(TARGET_SUBDIR)/libsanitizer && \
32598 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32599 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32600 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32601 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32602 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32603 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32604 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32605 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32606 TFLAGS="$(STAGE2_TFLAGS)" \
32607 $(TARGET-stage2-target-libsanitizer)
32609 maybe-clean-stage2-target-libsanitizer: clean-stage2-target-libsanitizer
32610 clean-stage2: clean-stage2-target-libsanitizer
32611 clean-stage2-target-libsanitizer:
32612 @if [ $(current_stage) = stage2 ]; then \
32613 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
32614 else \
32615 [ -f $(TARGET_SUBDIR)/stage2-libsanitizer/Makefile ] || exit 0; \
32616 $(MAKE) stage2-start; \
32617 fi; \
32618 cd $(TARGET_SUBDIR)/libsanitizer && \
32619 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32620 @endif target-libsanitizer-bootstrap
32623 .PHONY: all-stage3-target-libsanitizer maybe-all-stage3-target-libsanitizer
32624 .PHONY: clean-stage3-target-libsanitizer maybe-clean-stage3-target-libsanitizer
32625 maybe-all-stage3-target-libsanitizer:
32626 maybe-clean-stage3-target-libsanitizer:
32627 @if target-libsanitizer-bootstrap
32628 maybe-all-stage3-target-libsanitizer: all-stage3-target-libsanitizer
32629 all-stage3: all-stage3-target-libsanitizer
32630 TARGET-stage3-target-libsanitizer = $(TARGET-target-libsanitizer)
32631 all-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
32632 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32633 @r=`${PWD_COMMAND}`; export r; \
32634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32635 TFLAGS="$(STAGE3_TFLAGS)"; \
32636 $(RAW_CXX_TARGET_EXPORTS) \
32638 cd $(TARGET_SUBDIR)/libsanitizer && \
32639 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32640 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32641 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32642 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32643 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32644 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32645 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32646 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32647 TFLAGS="$(STAGE3_TFLAGS)" \
32648 $(TARGET-stage3-target-libsanitizer)
32650 maybe-clean-stage3-target-libsanitizer: clean-stage3-target-libsanitizer
32651 clean-stage3: clean-stage3-target-libsanitizer
32652 clean-stage3-target-libsanitizer:
32653 @if [ $(current_stage) = stage3 ]; then \
32654 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
32655 else \
32656 [ -f $(TARGET_SUBDIR)/stage3-libsanitizer/Makefile ] || exit 0; \
32657 $(MAKE) stage3-start; \
32658 fi; \
32659 cd $(TARGET_SUBDIR)/libsanitizer && \
32660 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32661 @endif target-libsanitizer-bootstrap
32664 .PHONY: all-stage4-target-libsanitizer maybe-all-stage4-target-libsanitizer
32665 .PHONY: clean-stage4-target-libsanitizer maybe-clean-stage4-target-libsanitizer
32666 maybe-all-stage4-target-libsanitizer:
32667 maybe-clean-stage4-target-libsanitizer:
32668 @if target-libsanitizer-bootstrap
32669 maybe-all-stage4-target-libsanitizer: all-stage4-target-libsanitizer
32670 all-stage4: all-stage4-target-libsanitizer
32671 TARGET-stage4-target-libsanitizer = $(TARGET-target-libsanitizer)
32672 all-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
32673 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32674 @r=`${PWD_COMMAND}`; export r; \
32675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32676 TFLAGS="$(STAGE4_TFLAGS)"; \
32677 $(RAW_CXX_TARGET_EXPORTS) \
32679 cd $(TARGET_SUBDIR)/libsanitizer && \
32680 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32681 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32682 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32683 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32684 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32685 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32686 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32687 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32688 TFLAGS="$(STAGE4_TFLAGS)" \
32689 $(TARGET-stage4-target-libsanitizer)
32691 maybe-clean-stage4-target-libsanitizer: clean-stage4-target-libsanitizer
32692 clean-stage4: clean-stage4-target-libsanitizer
32693 clean-stage4-target-libsanitizer:
32694 @if [ $(current_stage) = stage4 ]; then \
32695 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
32696 else \
32697 [ -f $(TARGET_SUBDIR)/stage4-libsanitizer/Makefile ] || exit 0; \
32698 $(MAKE) stage4-start; \
32699 fi; \
32700 cd $(TARGET_SUBDIR)/libsanitizer && \
32701 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32702 @endif target-libsanitizer-bootstrap
32705 .PHONY: all-stageprofile-target-libsanitizer maybe-all-stageprofile-target-libsanitizer
32706 .PHONY: clean-stageprofile-target-libsanitizer maybe-clean-stageprofile-target-libsanitizer
32707 maybe-all-stageprofile-target-libsanitizer:
32708 maybe-clean-stageprofile-target-libsanitizer:
32709 @if target-libsanitizer-bootstrap
32710 maybe-all-stageprofile-target-libsanitizer: all-stageprofile-target-libsanitizer
32711 all-stageprofile: all-stageprofile-target-libsanitizer
32712 TARGET-stageprofile-target-libsanitizer = $(TARGET-target-libsanitizer)
32713 all-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
32714 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32715 @r=`${PWD_COMMAND}`; export r; \
32716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32717 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32718 $(RAW_CXX_TARGET_EXPORTS) \
32720 cd $(TARGET_SUBDIR)/libsanitizer && \
32721 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32722 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32723 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32724 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32725 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32726 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32727 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32728 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32729 TFLAGS="$(STAGEprofile_TFLAGS)" \
32730 $(TARGET-stageprofile-target-libsanitizer)
32732 maybe-clean-stageprofile-target-libsanitizer: clean-stageprofile-target-libsanitizer
32733 clean-stageprofile: clean-stageprofile-target-libsanitizer
32734 clean-stageprofile-target-libsanitizer:
32735 @if [ $(current_stage) = stageprofile ]; then \
32736 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
32737 else \
32738 [ -f $(TARGET_SUBDIR)/stageprofile-libsanitizer/Makefile ] || exit 0; \
32739 $(MAKE) stageprofile-start; \
32740 fi; \
32741 cd $(TARGET_SUBDIR)/libsanitizer && \
32742 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32743 @endif target-libsanitizer-bootstrap
32746 .PHONY: all-stagefeedback-target-libsanitizer maybe-all-stagefeedback-target-libsanitizer
32747 .PHONY: clean-stagefeedback-target-libsanitizer maybe-clean-stagefeedback-target-libsanitizer
32748 maybe-all-stagefeedback-target-libsanitizer:
32749 maybe-clean-stagefeedback-target-libsanitizer:
32750 @if target-libsanitizer-bootstrap
32751 maybe-all-stagefeedback-target-libsanitizer: all-stagefeedback-target-libsanitizer
32752 all-stagefeedback: all-stagefeedback-target-libsanitizer
32753 TARGET-stagefeedback-target-libsanitizer = $(TARGET-target-libsanitizer)
32754 all-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
32755 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32756 @r=`${PWD_COMMAND}`; export r; \
32757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32758 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32759 $(RAW_CXX_TARGET_EXPORTS) \
32761 cd $(TARGET_SUBDIR)/libsanitizer && \
32762 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32763 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32764 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32765 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32766 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32767 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32768 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32769 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32770 TFLAGS="$(STAGEfeedback_TFLAGS)" \
32771 $(TARGET-stagefeedback-target-libsanitizer)
32773 maybe-clean-stagefeedback-target-libsanitizer: clean-stagefeedback-target-libsanitizer
32774 clean-stagefeedback: clean-stagefeedback-target-libsanitizer
32775 clean-stagefeedback-target-libsanitizer:
32776 @if [ $(current_stage) = stagefeedback ]; then \
32777 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
32778 else \
32779 [ -f $(TARGET_SUBDIR)/stagefeedback-libsanitizer/Makefile ] || exit 0; \
32780 $(MAKE) stagefeedback-start; \
32781 fi; \
32782 cd $(TARGET_SUBDIR)/libsanitizer && \
32783 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32784 @endif target-libsanitizer-bootstrap
32791 .PHONY: check-target-libsanitizer maybe-check-target-libsanitizer
32792 maybe-check-target-libsanitizer:
32793 @if target-libsanitizer
32794 maybe-check-target-libsanitizer: check-target-libsanitizer
32796 check-target-libsanitizer:
32797 @: $(MAKE); $(unstage)
32798 @r=`${PWD_COMMAND}`; export r; \
32799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32800 $(RAW_CXX_TARGET_EXPORTS) \
32801 (cd $(TARGET_SUBDIR)/libsanitizer && \
32802 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
32804 @endif target-libsanitizer
32806 .PHONY: install-target-libsanitizer maybe-install-target-libsanitizer
32807 maybe-install-target-libsanitizer:
32808 @if target-libsanitizer
32809 maybe-install-target-libsanitizer: install-target-libsanitizer
32811 install-target-libsanitizer: installdirs
32812 @: $(MAKE); $(unstage)
32813 @r=`${PWD_COMMAND}`; export r; \
32814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32815 $(RAW_CXX_TARGET_EXPORTS) \
32816 (cd $(TARGET_SUBDIR)/libsanitizer && \
32817 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32819 @endif target-libsanitizer
32821 .PHONY: install-strip-target-libsanitizer maybe-install-strip-target-libsanitizer
32822 maybe-install-strip-target-libsanitizer:
32823 @if target-libsanitizer
32824 maybe-install-strip-target-libsanitizer: install-strip-target-libsanitizer
32826 install-strip-target-libsanitizer: installdirs
32827 @: $(MAKE); $(unstage)
32828 @r=`${PWD_COMMAND}`; export r; \
32829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32830 $(RAW_CXX_TARGET_EXPORTS) \
32831 (cd $(TARGET_SUBDIR)/libsanitizer && \
32832 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
32834 @endif target-libsanitizer
32836 # Other targets (info, dvi, pdf, etc.)
32838 .PHONY: maybe-info-target-libsanitizer info-target-libsanitizer
32839 maybe-info-target-libsanitizer:
32840 @if target-libsanitizer
32841 maybe-info-target-libsanitizer: info-target-libsanitizer
32843 info-target-libsanitizer: \
32844 configure-target-libsanitizer
32845 @: $(MAKE); $(unstage)
32846 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32847 r=`${PWD_COMMAND}`; export r; \
32848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32849 $(RAW_CXX_TARGET_EXPORTS) \
32850 echo "Doing info in $(TARGET_SUBDIR)/libsanitizer" ; \
32851 for flag in $(EXTRA_TARGET_FLAGS); do \
32852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32853 done; \
32854 (cd $(TARGET_SUBDIR)/libsanitizer && \
32855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32857 "RANLIB=$${RANLIB}" \
32858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32859 info) \
32860 || exit 1
32862 @endif target-libsanitizer
32864 .PHONY: maybe-dvi-target-libsanitizer dvi-target-libsanitizer
32865 maybe-dvi-target-libsanitizer:
32866 @if target-libsanitizer
32867 maybe-dvi-target-libsanitizer: dvi-target-libsanitizer
32869 dvi-target-libsanitizer: \
32870 configure-target-libsanitizer
32871 @: $(MAKE); $(unstage)
32872 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32873 r=`${PWD_COMMAND}`; export r; \
32874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32875 $(RAW_CXX_TARGET_EXPORTS) \
32876 echo "Doing dvi in $(TARGET_SUBDIR)/libsanitizer" ; \
32877 for flag in $(EXTRA_TARGET_FLAGS); do \
32878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32879 done; \
32880 (cd $(TARGET_SUBDIR)/libsanitizer && \
32881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32883 "RANLIB=$${RANLIB}" \
32884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32885 dvi) \
32886 || exit 1
32888 @endif target-libsanitizer
32890 .PHONY: maybe-pdf-target-libsanitizer pdf-target-libsanitizer
32891 maybe-pdf-target-libsanitizer:
32892 @if target-libsanitizer
32893 maybe-pdf-target-libsanitizer: pdf-target-libsanitizer
32895 pdf-target-libsanitizer: \
32896 configure-target-libsanitizer
32897 @: $(MAKE); $(unstage)
32898 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32899 r=`${PWD_COMMAND}`; export r; \
32900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32901 $(RAW_CXX_TARGET_EXPORTS) \
32902 echo "Doing pdf in $(TARGET_SUBDIR)/libsanitizer" ; \
32903 for flag in $(EXTRA_TARGET_FLAGS); do \
32904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32905 done; \
32906 (cd $(TARGET_SUBDIR)/libsanitizer && \
32907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32909 "RANLIB=$${RANLIB}" \
32910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32911 pdf) \
32912 || exit 1
32914 @endif target-libsanitizer
32916 .PHONY: maybe-html-target-libsanitizer html-target-libsanitizer
32917 maybe-html-target-libsanitizer:
32918 @if target-libsanitizer
32919 maybe-html-target-libsanitizer: html-target-libsanitizer
32921 html-target-libsanitizer: \
32922 configure-target-libsanitizer
32923 @: $(MAKE); $(unstage)
32924 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32925 r=`${PWD_COMMAND}`; export r; \
32926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32927 $(RAW_CXX_TARGET_EXPORTS) \
32928 echo "Doing html in $(TARGET_SUBDIR)/libsanitizer" ; \
32929 for flag in $(EXTRA_TARGET_FLAGS); do \
32930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32931 done; \
32932 (cd $(TARGET_SUBDIR)/libsanitizer && \
32933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32935 "RANLIB=$${RANLIB}" \
32936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32937 html) \
32938 || exit 1
32940 @endif target-libsanitizer
32942 .PHONY: maybe-TAGS-target-libsanitizer TAGS-target-libsanitizer
32943 maybe-TAGS-target-libsanitizer:
32944 @if target-libsanitizer
32945 maybe-TAGS-target-libsanitizer: TAGS-target-libsanitizer
32947 TAGS-target-libsanitizer: \
32948 configure-target-libsanitizer
32949 @: $(MAKE); $(unstage)
32950 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32951 r=`${PWD_COMMAND}`; export r; \
32952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32953 $(RAW_CXX_TARGET_EXPORTS) \
32954 echo "Doing TAGS in $(TARGET_SUBDIR)/libsanitizer" ; \
32955 for flag in $(EXTRA_TARGET_FLAGS); do \
32956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32957 done; \
32958 (cd $(TARGET_SUBDIR)/libsanitizer && \
32959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32961 "RANLIB=$${RANLIB}" \
32962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32963 TAGS) \
32964 || exit 1
32966 @endif target-libsanitizer
32968 .PHONY: maybe-install-info-target-libsanitizer install-info-target-libsanitizer
32969 maybe-install-info-target-libsanitizer:
32970 @if target-libsanitizer
32971 maybe-install-info-target-libsanitizer: install-info-target-libsanitizer
32973 install-info-target-libsanitizer: \
32974 configure-target-libsanitizer \
32975 info-target-libsanitizer
32976 @: $(MAKE); $(unstage)
32977 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32978 r=`${PWD_COMMAND}`; export r; \
32979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32980 $(RAW_CXX_TARGET_EXPORTS) \
32981 echo "Doing install-info in $(TARGET_SUBDIR)/libsanitizer" ; \
32982 for flag in $(EXTRA_TARGET_FLAGS); do \
32983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32984 done; \
32985 (cd $(TARGET_SUBDIR)/libsanitizer && \
32986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32988 "RANLIB=$${RANLIB}" \
32989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32990 install-info) \
32991 || exit 1
32993 @endif target-libsanitizer
32995 .PHONY: maybe-install-pdf-target-libsanitizer install-pdf-target-libsanitizer
32996 maybe-install-pdf-target-libsanitizer:
32997 @if target-libsanitizer
32998 maybe-install-pdf-target-libsanitizer: install-pdf-target-libsanitizer
33000 install-pdf-target-libsanitizer: \
33001 configure-target-libsanitizer \
33002 pdf-target-libsanitizer
33003 @: $(MAKE); $(unstage)
33004 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33005 r=`${PWD_COMMAND}`; export r; \
33006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33007 $(RAW_CXX_TARGET_EXPORTS) \
33008 echo "Doing install-pdf in $(TARGET_SUBDIR)/libsanitizer" ; \
33009 for flag in $(EXTRA_TARGET_FLAGS); do \
33010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33011 done; \
33012 (cd $(TARGET_SUBDIR)/libsanitizer && \
33013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33015 "RANLIB=$${RANLIB}" \
33016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33017 install-pdf) \
33018 || exit 1
33020 @endif target-libsanitizer
33022 .PHONY: maybe-install-html-target-libsanitizer install-html-target-libsanitizer
33023 maybe-install-html-target-libsanitizer:
33024 @if target-libsanitizer
33025 maybe-install-html-target-libsanitizer: install-html-target-libsanitizer
33027 install-html-target-libsanitizer: \
33028 configure-target-libsanitizer \
33029 html-target-libsanitizer
33030 @: $(MAKE); $(unstage)
33031 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33032 r=`${PWD_COMMAND}`; export r; \
33033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33034 $(RAW_CXX_TARGET_EXPORTS) \
33035 echo "Doing install-html in $(TARGET_SUBDIR)/libsanitizer" ; \
33036 for flag in $(EXTRA_TARGET_FLAGS); do \
33037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33038 done; \
33039 (cd $(TARGET_SUBDIR)/libsanitizer && \
33040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33042 "RANLIB=$${RANLIB}" \
33043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33044 install-html) \
33045 || exit 1
33047 @endif target-libsanitizer
33049 .PHONY: maybe-installcheck-target-libsanitizer installcheck-target-libsanitizer
33050 maybe-installcheck-target-libsanitizer:
33051 @if target-libsanitizer
33052 maybe-installcheck-target-libsanitizer: installcheck-target-libsanitizer
33054 installcheck-target-libsanitizer: \
33055 configure-target-libsanitizer
33056 @: $(MAKE); $(unstage)
33057 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33058 r=`${PWD_COMMAND}`; export r; \
33059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33060 $(RAW_CXX_TARGET_EXPORTS) \
33061 echo "Doing installcheck in $(TARGET_SUBDIR)/libsanitizer" ; \
33062 for flag in $(EXTRA_TARGET_FLAGS); do \
33063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33064 done; \
33065 (cd $(TARGET_SUBDIR)/libsanitizer && \
33066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33068 "RANLIB=$${RANLIB}" \
33069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33070 installcheck) \
33071 || exit 1
33073 @endif target-libsanitizer
33075 .PHONY: maybe-mostlyclean-target-libsanitizer mostlyclean-target-libsanitizer
33076 maybe-mostlyclean-target-libsanitizer:
33077 @if target-libsanitizer
33078 maybe-mostlyclean-target-libsanitizer: mostlyclean-target-libsanitizer
33080 mostlyclean-target-libsanitizer:
33081 @: $(MAKE); $(unstage)
33082 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33083 r=`${PWD_COMMAND}`; export r; \
33084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33085 $(RAW_CXX_TARGET_EXPORTS) \
33086 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libsanitizer" ; \
33087 for flag in $(EXTRA_TARGET_FLAGS); do \
33088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33089 done; \
33090 (cd $(TARGET_SUBDIR)/libsanitizer && \
33091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33093 "RANLIB=$${RANLIB}" \
33094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33095 mostlyclean) \
33096 || exit 1
33098 @endif target-libsanitizer
33100 .PHONY: maybe-clean-target-libsanitizer clean-target-libsanitizer
33101 maybe-clean-target-libsanitizer:
33102 @if target-libsanitizer
33103 maybe-clean-target-libsanitizer: clean-target-libsanitizer
33105 clean-target-libsanitizer:
33106 @: $(MAKE); $(unstage)
33107 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33108 r=`${PWD_COMMAND}`; export r; \
33109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33110 $(RAW_CXX_TARGET_EXPORTS) \
33111 echo "Doing clean in $(TARGET_SUBDIR)/libsanitizer" ; \
33112 for flag in $(EXTRA_TARGET_FLAGS); do \
33113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33114 done; \
33115 (cd $(TARGET_SUBDIR)/libsanitizer && \
33116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33118 "RANLIB=$${RANLIB}" \
33119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33120 clean) \
33121 || exit 1
33123 @endif target-libsanitizer
33125 .PHONY: maybe-distclean-target-libsanitizer distclean-target-libsanitizer
33126 maybe-distclean-target-libsanitizer:
33127 @if target-libsanitizer
33128 maybe-distclean-target-libsanitizer: distclean-target-libsanitizer
33130 distclean-target-libsanitizer:
33131 @: $(MAKE); $(unstage)
33132 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33133 r=`${PWD_COMMAND}`; export r; \
33134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33135 $(RAW_CXX_TARGET_EXPORTS) \
33136 echo "Doing distclean in $(TARGET_SUBDIR)/libsanitizer" ; \
33137 for flag in $(EXTRA_TARGET_FLAGS); do \
33138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33139 done; \
33140 (cd $(TARGET_SUBDIR)/libsanitizer && \
33141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33143 "RANLIB=$${RANLIB}" \
33144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33145 distclean) \
33146 || exit 1
33148 @endif target-libsanitizer
33150 .PHONY: maybe-maintainer-clean-target-libsanitizer maintainer-clean-target-libsanitizer
33151 maybe-maintainer-clean-target-libsanitizer:
33152 @if target-libsanitizer
33153 maybe-maintainer-clean-target-libsanitizer: maintainer-clean-target-libsanitizer
33155 maintainer-clean-target-libsanitizer:
33156 @: $(MAKE); $(unstage)
33157 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33158 r=`${PWD_COMMAND}`; export r; \
33159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33160 $(RAW_CXX_TARGET_EXPORTS) \
33161 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libsanitizer" ; \
33162 for flag in $(EXTRA_TARGET_FLAGS); do \
33163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33164 done; \
33165 (cd $(TARGET_SUBDIR)/libsanitizer && \
33166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33168 "RANLIB=$${RANLIB}" \
33169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33170 maintainer-clean) \
33171 || exit 1
33173 @endif target-libsanitizer
33179 .PHONY: configure-target-libvtv maybe-configure-target-libvtv
33180 maybe-configure-target-libvtv:
33181 @if gcc-bootstrap
33182 configure-target-libvtv: stage_current
33183 @endif gcc-bootstrap
33184 @if target-libvtv
33185 maybe-configure-target-libvtv: configure-target-libvtv
33186 configure-target-libvtv:
33187 @r=`${PWD_COMMAND}`; export r; \
33188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33189 echo "Checking multilib configuration for libvtv..."; \
33190 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
33191 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
33192 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
33193 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
33194 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
33195 else \
33196 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
33197 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
33198 fi; \
33199 else \
33200 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
33201 fi; \
33202 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
33203 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
33204 $(RAW_CXX_TARGET_EXPORTS) \
33205 echo Configuring in $(TARGET_SUBDIR)/libvtv; \
33206 cd "$(TARGET_SUBDIR)/libvtv" || exit 1; \
33207 case $(srcdir) in \
33208 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33209 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
33210 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33211 esac; \
33212 srcdiroption="--srcdir=$${topdir}/libvtv"; \
33213 libsrcdir="$$s/libvtv"; \
33214 rm -f no-such-file || : ; \
33215 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33216 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33217 --target=${target_alias} $${srcdiroption} \
33218 || exit 1
33219 @endif target-libvtv
33223 .PHONY: configure-stage1-target-libvtv maybe-configure-stage1-target-libvtv
33224 maybe-configure-stage1-target-libvtv:
33225 @if target-libvtv-bootstrap
33226 maybe-configure-stage1-target-libvtv: configure-stage1-target-libvtv
33227 configure-stage1-target-libvtv:
33228 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
33229 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
33230 @r=`${PWD_COMMAND}`; export r; \
33231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33232 TFLAGS="$(STAGE1_TFLAGS)"; \
33233 echo "Checking multilib configuration for libvtv..."; \
33234 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
33235 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
33236 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
33237 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
33238 else \
33239 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
33240 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
33241 fi; \
33242 else \
33243 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
33244 fi; \
33245 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
33246 $(RAW_CXX_TARGET_EXPORTS) \
33247 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33248 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33249 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33250 echo Configuring stage 1 in $(TARGET_SUBDIR)/libvtv ; \
33251 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
33252 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
33253 case $(srcdir) in \
33254 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33255 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
33256 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33257 esac; \
33258 srcdiroption="--srcdir=$${topdir}/libvtv"; \
33259 libsrcdir="$$s/libvtv"; \
33260 $(SHELL) $${libsrcdir}/configure \
33261 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33262 --target=${target_alias} $${srcdiroption} \
33263 $(STAGE1_CONFIGURE_FLAGS)
33264 @endif target-libvtv-bootstrap
33266 .PHONY: configure-stage2-target-libvtv maybe-configure-stage2-target-libvtv
33267 maybe-configure-stage2-target-libvtv:
33268 @if target-libvtv-bootstrap
33269 maybe-configure-stage2-target-libvtv: configure-stage2-target-libvtv
33270 configure-stage2-target-libvtv:
33271 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
33272 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
33273 @r=`${PWD_COMMAND}`; export r; \
33274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33275 TFLAGS="$(STAGE2_TFLAGS)"; \
33276 echo "Checking multilib configuration for libvtv..."; \
33277 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
33278 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
33279 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
33280 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
33281 else \
33282 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
33283 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
33284 fi; \
33285 else \
33286 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
33287 fi; \
33288 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
33289 $(RAW_CXX_TARGET_EXPORTS) \
33291 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33292 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33293 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33294 echo Configuring stage 2 in $(TARGET_SUBDIR)/libvtv ; \
33295 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
33296 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
33297 case $(srcdir) in \
33298 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33299 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
33300 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33301 esac; \
33302 srcdiroption="--srcdir=$${topdir}/libvtv"; \
33303 libsrcdir="$$s/libvtv"; \
33304 $(SHELL) $${libsrcdir}/configure \
33305 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33306 --target=${target_alias} $${srcdiroption} \
33307 --with-build-libsubdir=$(HOST_SUBDIR) \
33308 $(STAGE2_CONFIGURE_FLAGS)
33309 @endif target-libvtv-bootstrap
33311 .PHONY: configure-stage3-target-libvtv maybe-configure-stage3-target-libvtv
33312 maybe-configure-stage3-target-libvtv:
33313 @if target-libvtv-bootstrap
33314 maybe-configure-stage3-target-libvtv: configure-stage3-target-libvtv
33315 configure-stage3-target-libvtv:
33316 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
33317 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
33318 @r=`${PWD_COMMAND}`; export r; \
33319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33320 TFLAGS="$(STAGE3_TFLAGS)"; \
33321 echo "Checking multilib configuration for libvtv..."; \
33322 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
33323 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
33324 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
33325 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
33326 else \
33327 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
33328 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
33329 fi; \
33330 else \
33331 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
33332 fi; \
33333 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
33334 $(RAW_CXX_TARGET_EXPORTS) \
33336 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33337 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33338 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33339 echo Configuring stage 3 in $(TARGET_SUBDIR)/libvtv ; \
33340 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
33341 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
33342 case $(srcdir) in \
33343 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33344 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
33345 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33346 esac; \
33347 srcdiroption="--srcdir=$${topdir}/libvtv"; \
33348 libsrcdir="$$s/libvtv"; \
33349 $(SHELL) $${libsrcdir}/configure \
33350 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33351 --target=${target_alias} $${srcdiroption} \
33352 --with-build-libsubdir=$(HOST_SUBDIR) \
33353 $(STAGE3_CONFIGURE_FLAGS)
33354 @endif target-libvtv-bootstrap
33356 .PHONY: configure-stage4-target-libvtv maybe-configure-stage4-target-libvtv
33357 maybe-configure-stage4-target-libvtv:
33358 @if target-libvtv-bootstrap
33359 maybe-configure-stage4-target-libvtv: configure-stage4-target-libvtv
33360 configure-stage4-target-libvtv:
33361 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
33362 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
33363 @r=`${PWD_COMMAND}`; export r; \
33364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33365 TFLAGS="$(STAGE4_TFLAGS)"; \
33366 echo "Checking multilib configuration for libvtv..."; \
33367 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
33368 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
33369 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
33370 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
33371 else \
33372 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
33373 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
33374 fi; \
33375 else \
33376 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
33377 fi; \
33378 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
33379 $(RAW_CXX_TARGET_EXPORTS) \
33381 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33382 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33383 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33384 echo Configuring stage 4 in $(TARGET_SUBDIR)/libvtv ; \
33385 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
33386 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
33387 case $(srcdir) in \
33388 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33389 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
33390 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33391 esac; \
33392 srcdiroption="--srcdir=$${topdir}/libvtv"; \
33393 libsrcdir="$$s/libvtv"; \
33394 $(SHELL) $${libsrcdir}/configure \
33395 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33396 --target=${target_alias} $${srcdiroption} \
33397 --with-build-libsubdir=$(HOST_SUBDIR) \
33398 $(STAGE4_CONFIGURE_FLAGS)
33399 @endif target-libvtv-bootstrap
33401 .PHONY: configure-stageprofile-target-libvtv maybe-configure-stageprofile-target-libvtv
33402 maybe-configure-stageprofile-target-libvtv:
33403 @if target-libvtv-bootstrap
33404 maybe-configure-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
33405 configure-stageprofile-target-libvtv:
33406 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
33407 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
33408 @r=`${PWD_COMMAND}`; export r; \
33409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33410 TFLAGS="$(STAGEprofile_TFLAGS)"; \
33411 echo "Checking multilib configuration for libvtv..."; \
33412 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
33413 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
33414 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
33415 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
33416 else \
33417 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
33418 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
33419 fi; \
33420 else \
33421 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
33422 fi; \
33423 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
33424 $(RAW_CXX_TARGET_EXPORTS) \
33426 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33427 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33428 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33429 echo Configuring stage profile in $(TARGET_SUBDIR)/libvtv ; \
33430 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
33431 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
33432 case $(srcdir) in \
33433 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33434 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
33435 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33436 esac; \
33437 srcdiroption="--srcdir=$${topdir}/libvtv"; \
33438 libsrcdir="$$s/libvtv"; \
33439 $(SHELL) $${libsrcdir}/configure \
33440 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33441 --target=${target_alias} $${srcdiroption} \
33442 --with-build-libsubdir=$(HOST_SUBDIR) \
33443 $(STAGEprofile_CONFIGURE_FLAGS)
33444 @endif target-libvtv-bootstrap
33446 .PHONY: configure-stagefeedback-target-libvtv maybe-configure-stagefeedback-target-libvtv
33447 maybe-configure-stagefeedback-target-libvtv:
33448 @if target-libvtv-bootstrap
33449 maybe-configure-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
33450 configure-stagefeedback-target-libvtv:
33451 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
33452 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
33453 @r=`${PWD_COMMAND}`; export r; \
33454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33455 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
33456 echo "Checking multilib configuration for libvtv..."; \
33457 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
33458 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
33459 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
33460 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
33461 else \
33462 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
33463 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
33464 fi; \
33465 else \
33466 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
33467 fi; \
33468 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
33469 $(RAW_CXX_TARGET_EXPORTS) \
33471 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33472 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33473 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33474 echo Configuring stage feedback in $(TARGET_SUBDIR)/libvtv ; \
33475 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
33476 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
33477 case $(srcdir) in \
33478 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33479 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
33480 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33481 esac; \
33482 srcdiroption="--srcdir=$${topdir}/libvtv"; \
33483 libsrcdir="$$s/libvtv"; \
33484 $(SHELL) $${libsrcdir}/configure \
33485 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33486 --target=${target_alias} $${srcdiroption} \
33487 --with-build-libsubdir=$(HOST_SUBDIR) \
33488 $(STAGEfeedback_CONFIGURE_FLAGS)
33489 @endif target-libvtv-bootstrap
33495 .PHONY: all-target-libvtv maybe-all-target-libvtv
33496 maybe-all-target-libvtv:
33497 @if gcc-bootstrap
33498 all-target-libvtv: stage_current
33499 @endif gcc-bootstrap
33500 @if target-libvtv
33501 TARGET-target-libvtv=all
33502 maybe-all-target-libvtv: all-target-libvtv
33503 all-target-libvtv: configure-target-libvtv
33504 @r=`${PWD_COMMAND}`; export r; \
33505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33506 $(RAW_CXX_TARGET_EXPORTS) \
33507 (cd $(TARGET_SUBDIR)/libvtv && \
33508 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33509 $(TARGET-target-libvtv))
33510 @endif target-libvtv
33514 .PHONY: all-stage1-target-libvtv maybe-all-stage1-target-libvtv
33515 .PHONY: clean-stage1-target-libvtv maybe-clean-stage1-target-libvtv
33516 maybe-all-stage1-target-libvtv:
33517 maybe-clean-stage1-target-libvtv:
33518 @if target-libvtv-bootstrap
33519 maybe-all-stage1-target-libvtv: all-stage1-target-libvtv
33520 all-stage1: all-stage1-target-libvtv
33521 TARGET-stage1-target-libvtv = $(TARGET-target-libvtv)
33522 all-stage1-target-libvtv: configure-stage1-target-libvtv
33523 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
33524 @r=`${PWD_COMMAND}`; export r; \
33525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33526 TFLAGS="$(STAGE1_TFLAGS)"; \
33527 $(RAW_CXX_TARGET_EXPORTS) \
33528 cd $(TARGET_SUBDIR)/libvtv && \
33529 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33530 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33531 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33532 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33533 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33534 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33535 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33536 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33538 TFLAGS="$(STAGE1_TFLAGS)" \
33539 $(TARGET-stage1-target-libvtv)
33541 maybe-clean-stage1-target-libvtv: clean-stage1-target-libvtv
33542 clean-stage1: clean-stage1-target-libvtv
33543 clean-stage1-target-libvtv:
33544 @if [ $(current_stage) = stage1 ]; then \
33545 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
33546 else \
33547 [ -f $(TARGET_SUBDIR)/stage1-libvtv/Makefile ] || exit 0; \
33548 $(MAKE) stage1-start; \
33549 fi; \
33550 cd $(TARGET_SUBDIR)/libvtv && \
33551 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33552 clean
33553 @endif target-libvtv-bootstrap
33556 .PHONY: all-stage2-target-libvtv maybe-all-stage2-target-libvtv
33557 .PHONY: clean-stage2-target-libvtv maybe-clean-stage2-target-libvtv
33558 maybe-all-stage2-target-libvtv:
33559 maybe-clean-stage2-target-libvtv:
33560 @if target-libvtv-bootstrap
33561 maybe-all-stage2-target-libvtv: all-stage2-target-libvtv
33562 all-stage2: all-stage2-target-libvtv
33563 TARGET-stage2-target-libvtv = $(TARGET-target-libvtv)
33564 all-stage2-target-libvtv: configure-stage2-target-libvtv
33565 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
33566 @r=`${PWD_COMMAND}`; export r; \
33567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33568 TFLAGS="$(STAGE2_TFLAGS)"; \
33569 $(RAW_CXX_TARGET_EXPORTS) \
33571 cd $(TARGET_SUBDIR)/libvtv && \
33572 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33573 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33574 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33575 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33576 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33577 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33578 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33579 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33580 TFLAGS="$(STAGE2_TFLAGS)" \
33581 $(TARGET-stage2-target-libvtv)
33583 maybe-clean-stage2-target-libvtv: clean-stage2-target-libvtv
33584 clean-stage2: clean-stage2-target-libvtv
33585 clean-stage2-target-libvtv:
33586 @if [ $(current_stage) = stage2 ]; then \
33587 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
33588 else \
33589 [ -f $(TARGET_SUBDIR)/stage2-libvtv/Makefile ] || exit 0; \
33590 $(MAKE) stage2-start; \
33591 fi; \
33592 cd $(TARGET_SUBDIR)/libvtv && \
33593 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33594 @endif target-libvtv-bootstrap
33597 .PHONY: all-stage3-target-libvtv maybe-all-stage3-target-libvtv
33598 .PHONY: clean-stage3-target-libvtv maybe-clean-stage3-target-libvtv
33599 maybe-all-stage3-target-libvtv:
33600 maybe-clean-stage3-target-libvtv:
33601 @if target-libvtv-bootstrap
33602 maybe-all-stage3-target-libvtv: all-stage3-target-libvtv
33603 all-stage3: all-stage3-target-libvtv
33604 TARGET-stage3-target-libvtv = $(TARGET-target-libvtv)
33605 all-stage3-target-libvtv: configure-stage3-target-libvtv
33606 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
33607 @r=`${PWD_COMMAND}`; export r; \
33608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33609 TFLAGS="$(STAGE3_TFLAGS)"; \
33610 $(RAW_CXX_TARGET_EXPORTS) \
33612 cd $(TARGET_SUBDIR)/libvtv && \
33613 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33614 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33615 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33616 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33617 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33618 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33619 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33620 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33621 TFLAGS="$(STAGE3_TFLAGS)" \
33622 $(TARGET-stage3-target-libvtv)
33624 maybe-clean-stage3-target-libvtv: clean-stage3-target-libvtv
33625 clean-stage3: clean-stage3-target-libvtv
33626 clean-stage3-target-libvtv:
33627 @if [ $(current_stage) = stage3 ]; then \
33628 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
33629 else \
33630 [ -f $(TARGET_SUBDIR)/stage3-libvtv/Makefile ] || exit 0; \
33631 $(MAKE) stage3-start; \
33632 fi; \
33633 cd $(TARGET_SUBDIR)/libvtv && \
33634 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33635 @endif target-libvtv-bootstrap
33638 .PHONY: all-stage4-target-libvtv maybe-all-stage4-target-libvtv
33639 .PHONY: clean-stage4-target-libvtv maybe-clean-stage4-target-libvtv
33640 maybe-all-stage4-target-libvtv:
33641 maybe-clean-stage4-target-libvtv:
33642 @if target-libvtv-bootstrap
33643 maybe-all-stage4-target-libvtv: all-stage4-target-libvtv
33644 all-stage4: all-stage4-target-libvtv
33645 TARGET-stage4-target-libvtv = $(TARGET-target-libvtv)
33646 all-stage4-target-libvtv: configure-stage4-target-libvtv
33647 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
33648 @r=`${PWD_COMMAND}`; export r; \
33649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33650 TFLAGS="$(STAGE4_TFLAGS)"; \
33651 $(RAW_CXX_TARGET_EXPORTS) \
33653 cd $(TARGET_SUBDIR)/libvtv && \
33654 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33655 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33656 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33657 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33658 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33659 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33660 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33661 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33662 TFLAGS="$(STAGE4_TFLAGS)" \
33663 $(TARGET-stage4-target-libvtv)
33665 maybe-clean-stage4-target-libvtv: clean-stage4-target-libvtv
33666 clean-stage4: clean-stage4-target-libvtv
33667 clean-stage4-target-libvtv:
33668 @if [ $(current_stage) = stage4 ]; then \
33669 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
33670 else \
33671 [ -f $(TARGET_SUBDIR)/stage4-libvtv/Makefile ] || exit 0; \
33672 $(MAKE) stage4-start; \
33673 fi; \
33674 cd $(TARGET_SUBDIR)/libvtv && \
33675 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33676 @endif target-libvtv-bootstrap
33679 .PHONY: all-stageprofile-target-libvtv maybe-all-stageprofile-target-libvtv
33680 .PHONY: clean-stageprofile-target-libvtv maybe-clean-stageprofile-target-libvtv
33681 maybe-all-stageprofile-target-libvtv:
33682 maybe-clean-stageprofile-target-libvtv:
33683 @if target-libvtv-bootstrap
33684 maybe-all-stageprofile-target-libvtv: all-stageprofile-target-libvtv
33685 all-stageprofile: all-stageprofile-target-libvtv
33686 TARGET-stageprofile-target-libvtv = $(TARGET-target-libvtv)
33687 all-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
33688 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
33689 @r=`${PWD_COMMAND}`; export r; \
33690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33691 TFLAGS="$(STAGEprofile_TFLAGS)"; \
33692 $(RAW_CXX_TARGET_EXPORTS) \
33694 cd $(TARGET_SUBDIR)/libvtv && \
33695 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33696 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33697 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33698 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33699 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33700 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33701 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33702 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33703 TFLAGS="$(STAGEprofile_TFLAGS)" \
33704 $(TARGET-stageprofile-target-libvtv)
33706 maybe-clean-stageprofile-target-libvtv: clean-stageprofile-target-libvtv
33707 clean-stageprofile: clean-stageprofile-target-libvtv
33708 clean-stageprofile-target-libvtv:
33709 @if [ $(current_stage) = stageprofile ]; then \
33710 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
33711 else \
33712 [ -f $(TARGET_SUBDIR)/stageprofile-libvtv/Makefile ] || exit 0; \
33713 $(MAKE) stageprofile-start; \
33714 fi; \
33715 cd $(TARGET_SUBDIR)/libvtv && \
33716 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33717 @endif target-libvtv-bootstrap
33720 .PHONY: all-stagefeedback-target-libvtv maybe-all-stagefeedback-target-libvtv
33721 .PHONY: clean-stagefeedback-target-libvtv maybe-clean-stagefeedback-target-libvtv
33722 maybe-all-stagefeedback-target-libvtv:
33723 maybe-clean-stagefeedback-target-libvtv:
33724 @if target-libvtv-bootstrap
33725 maybe-all-stagefeedback-target-libvtv: all-stagefeedback-target-libvtv
33726 all-stagefeedback: all-stagefeedback-target-libvtv
33727 TARGET-stagefeedback-target-libvtv = $(TARGET-target-libvtv)
33728 all-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
33729 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
33730 @r=`${PWD_COMMAND}`; export r; \
33731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33732 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
33733 $(RAW_CXX_TARGET_EXPORTS) \
33735 cd $(TARGET_SUBDIR)/libvtv && \
33736 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33737 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33738 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33739 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33740 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33741 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33742 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33743 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33744 TFLAGS="$(STAGEfeedback_TFLAGS)" \
33745 $(TARGET-stagefeedback-target-libvtv)
33747 maybe-clean-stagefeedback-target-libvtv: clean-stagefeedback-target-libvtv
33748 clean-stagefeedback: clean-stagefeedback-target-libvtv
33749 clean-stagefeedback-target-libvtv:
33750 @if [ $(current_stage) = stagefeedback ]; then \
33751 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
33752 else \
33753 [ -f $(TARGET_SUBDIR)/stagefeedback-libvtv/Makefile ] || exit 0; \
33754 $(MAKE) stagefeedback-start; \
33755 fi; \
33756 cd $(TARGET_SUBDIR)/libvtv && \
33757 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33758 @endif target-libvtv-bootstrap
33765 .PHONY: check-target-libvtv maybe-check-target-libvtv
33766 maybe-check-target-libvtv:
33767 @if target-libvtv
33768 maybe-check-target-libvtv: check-target-libvtv
33770 check-target-libvtv:
33771 @: $(MAKE); $(unstage)
33772 @r=`${PWD_COMMAND}`; export r; \
33773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33774 $(RAW_CXX_TARGET_EXPORTS) \
33775 (cd $(TARGET_SUBDIR)/libvtv && \
33776 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
33778 @endif target-libvtv
33780 .PHONY: install-target-libvtv maybe-install-target-libvtv
33781 maybe-install-target-libvtv:
33782 @if target-libvtv
33783 maybe-install-target-libvtv: install-target-libvtv
33785 install-target-libvtv: installdirs
33786 @: $(MAKE); $(unstage)
33787 @r=`${PWD_COMMAND}`; export r; \
33788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33789 $(RAW_CXX_TARGET_EXPORTS) \
33790 (cd $(TARGET_SUBDIR)/libvtv && \
33791 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33793 @endif target-libvtv
33795 .PHONY: install-strip-target-libvtv maybe-install-strip-target-libvtv
33796 maybe-install-strip-target-libvtv:
33797 @if target-libvtv
33798 maybe-install-strip-target-libvtv: install-strip-target-libvtv
33800 install-strip-target-libvtv: installdirs
33801 @: $(MAKE); $(unstage)
33802 @r=`${PWD_COMMAND}`; export r; \
33803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33804 $(RAW_CXX_TARGET_EXPORTS) \
33805 (cd $(TARGET_SUBDIR)/libvtv && \
33806 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
33808 @endif target-libvtv
33810 # Other targets (info, dvi, pdf, etc.)
33812 .PHONY: maybe-info-target-libvtv info-target-libvtv
33813 maybe-info-target-libvtv:
33814 @if target-libvtv
33815 maybe-info-target-libvtv: info-target-libvtv
33817 info-target-libvtv: \
33818 configure-target-libvtv
33819 @: $(MAKE); $(unstage)
33820 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
33821 r=`${PWD_COMMAND}`; export r; \
33822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33823 $(RAW_CXX_TARGET_EXPORTS) \
33824 echo "Doing info in $(TARGET_SUBDIR)/libvtv" ; \
33825 for flag in $(EXTRA_TARGET_FLAGS); do \
33826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33827 done; \
33828 (cd $(TARGET_SUBDIR)/libvtv && \
33829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33831 "RANLIB=$${RANLIB}" \
33832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33833 info) \
33834 || exit 1
33836 @endif target-libvtv
33838 .PHONY: maybe-dvi-target-libvtv dvi-target-libvtv
33839 maybe-dvi-target-libvtv:
33840 @if target-libvtv
33841 maybe-dvi-target-libvtv: dvi-target-libvtv
33843 dvi-target-libvtv: \
33844 configure-target-libvtv
33845 @: $(MAKE); $(unstage)
33846 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
33847 r=`${PWD_COMMAND}`; export r; \
33848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33849 $(RAW_CXX_TARGET_EXPORTS) \
33850 echo "Doing dvi in $(TARGET_SUBDIR)/libvtv" ; \
33851 for flag in $(EXTRA_TARGET_FLAGS); do \
33852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33853 done; \
33854 (cd $(TARGET_SUBDIR)/libvtv && \
33855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33857 "RANLIB=$${RANLIB}" \
33858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33859 dvi) \
33860 || exit 1
33862 @endif target-libvtv
33864 .PHONY: maybe-pdf-target-libvtv pdf-target-libvtv
33865 maybe-pdf-target-libvtv:
33866 @if target-libvtv
33867 maybe-pdf-target-libvtv: pdf-target-libvtv
33869 pdf-target-libvtv: \
33870 configure-target-libvtv
33871 @: $(MAKE); $(unstage)
33872 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
33873 r=`${PWD_COMMAND}`; export r; \
33874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33875 $(RAW_CXX_TARGET_EXPORTS) \
33876 echo "Doing pdf in $(TARGET_SUBDIR)/libvtv" ; \
33877 for flag in $(EXTRA_TARGET_FLAGS); do \
33878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33879 done; \
33880 (cd $(TARGET_SUBDIR)/libvtv && \
33881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33883 "RANLIB=$${RANLIB}" \
33884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33885 pdf) \
33886 || exit 1
33888 @endif target-libvtv
33890 .PHONY: maybe-html-target-libvtv html-target-libvtv
33891 maybe-html-target-libvtv:
33892 @if target-libvtv
33893 maybe-html-target-libvtv: html-target-libvtv
33895 html-target-libvtv: \
33896 configure-target-libvtv
33897 @: $(MAKE); $(unstage)
33898 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
33899 r=`${PWD_COMMAND}`; export r; \
33900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33901 $(RAW_CXX_TARGET_EXPORTS) \
33902 echo "Doing html in $(TARGET_SUBDIR)/libvtv" ; \
33903 for flag in $(EXTRA_TARGET_FLAGS); do \
33904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33905 done; \
33906 (cd $(TARGET_SUBDIR)/libvtv && \
33907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33909 "RANLIB=$${RANLIB}" \
33910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33911 html) \
33912 || exit 1
33914 @endif target-libvtv
33916 .PHONY: maybe-TAGS-target-libvtv TAGS-target-libvtv
33917 maybe-TAGS-target-libvtv:
33918 @if target-libvtv
33919 maybe-TAGS-target-libvtv: TAGS-target-libvtv
33921 TAGS-target-libvtv: \
33922 configure-target-libvtv
33923 @: $(MAKE); $(unstage)
33924 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
33925 r=`${PWD_COMMAND}`; export r; \
33926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33927 $(RAW_CXX_TARGET_EXPORTS) \
33928 echo "Doing TAGS in $(TARGET_SUBDIR)/libvtv" ; \
33929 for flag in $(EXTRA_TARGET_FLAGS); do \
33930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33931 done; \
33932 (cd $(TARGET_SUBDIR)/libvtv && \
33933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33935 "RANLIB=$${RANLIB}" \
33936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33937 TAGS) \
33938 || exit 1
33940 @endif target-libvtv
33942 .PHONY: maybe-install-info-target-libvtv install-info-target-libvtv
33943 maybe-install-info-target-libvtv:
33944 @if target-libvtv
33945 maybe-install-info-target-libvtv: install-info-target-libvtv
33947 install-info-target-libvtv: \
33948 configure-target-libvtv \
33949 info-target-libvtv
33950 @: $(MAKE); $(unstage)
33951 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
33952 r=`${PWD_COMMAND}`; export r; \
33953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33954 $(RAW_CXX_TARGET_EXPORTS) \
33955 echo "Doing install-info in $(TARGET_SUBDIR)/libvtv" ; \
33956 for flag in $(EXTRA_TARGET_FLAGS); do \
33957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33958 done; \
33959 (cd $(TARGET_SUBDIR)/libvtv && \
33960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33962 "RANLIB=$${RANLIB}" \
33963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33964 install-info) \
33965 || exit 1
33967 @endif target-libvtv
33969 .PHONY: maybe-install-pdf-target-libvtv install-pdf-target-libvtv
33970 maybe-install-pdf-target-libvtv:
33971 @if target-libvtv
33972 maybe-install-pdf-target-libvtv: install-pdf-target-libvtv
33974 install-pdf-target-libvtv: \
33975 configure-target-libvtv \
33976 pdf-target-libvtv
33977 @: $(MAKE); $(unstage)
33978 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
33979 r=`${PWD_COMMAND}`; export r; \
33980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33981 $(RAW_CXX_TARGET_EXPORTS) \
33982 echo "Doing install-pdf in $(TARGET_SUBDIR)/libvtv" ; \
33983 for flag in $(EXTRA_TARGET_FLAGS); do \
33984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33985 done; \
33986 (cd $(TARGET_SUBDIR)/libvtv && \
33987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33989 "RANLIB=$${RANLIB}" \
33990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33991 install-pdf) \
33992 || exit 1
33994 @endif target-libvtv
33996 .PHONY: maybe-install-html-target-libvtv install-html-target-libvtv
33997 maybe-install-html-target-libvtv:
33998 @if target-libvtv
33999 maybe-install-html-target-libvtv: install-html-target-libvtv
34001 install-html-target-libvtv: \
34002 configure-target-libvtv \
34003 html-target-libvtv
34004 @: $(MAKE); $(unstage)
34005 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34006 r=`${PWD_COMMAND}`; export r; \
34007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34008 $(RAW_CXX_TARGET_EXPORTS) \
34009 echo "Doing install-html in $(TARGET_SUBDIR)/libvtv" ; \
34010 for flag in $(EXTRA_TARGET_FLAGS); do \
34011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34012 done; \
34013 (cd $(TARGET_SUBDIR)/libvtv && \
34014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34016 "RANLIB=$${RANLIB}" \
34017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34018 install-html) \
34019 || exit 1
34021 @endif target-libvtv
34023 .PHONY: maybe-installcheck-target-libvtv installcheck-target-libvtv
34024 maybe-installcheck-target-libvtv:
34025 @if target-libvtv
34026 maybe-installcheck-target-libvtv: installcheck-target-libvtv
34028 installcheck-target-libvtv: \
34029 configure-target-libvtv
34030 @: $(MAKE); $(unstage)
34031 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34032 r=`${PWD_COMMAND}`; export r; \
34033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34034 $(RAW_CXX_TARGET_EXPORTS) \
34035 echo "Doing installcheck in $(TARGET_SUBDIR)/libvtv" ; \
34036 for flag in $(EXTRA_TARGET_FLAGS); do \
34037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34038 done; \
34039 (cd $(TARGET_SUBDIR)/libvtv && \
34040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34042 "RANLIB=$${RANLIB}" \
34043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34044 installcheck) \
34045 || exit 1
34047 @endif target-libvtv
34049 .PHONY: maybe-mostlyclean-target-libvtv mostlyclean-target-libvtv
34050 maybe-mostlyclean-target-libvtv:
34051 @if target-libvtv
34052 maybe-mostlyclean-target-libvtv: mostlyclean-target-libvtv
34054 mostlyclean-target-libvtv:
34055 @: $(MAKE); $(unstage)
34056 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34057 r=`${PWD_COMMAND}`; export r; \
34058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34059 $(RAW_CXX_TARGET_EXPORTS) \
34060 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libvtv" ; \
34061 for flag in $(EXTRA_TARGET_FLAGS); do \
34062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34063 done; \
34064 (cd $(TARGET_SUBDIR)/libvtv && \
34065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34067 "RANLIB=$${RANLIB}" \
34068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34069 mostlyclean) \
34070 || exit 1
34072 @endif target-libvtv
34074 .PHONY: maybe-clean-target-libvtv clean-target-libvtv
34075 maybe-clean-target-libvtv:
34076 @if target-libvtv
34077 maybe-clean-target-libvtv: clean-target-libvtv
34079 clean-target-libvtv:
34080 @: $(MAKE); $(unstage)
34081 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34082 r=`${PWD_COMMAND}`; export r; \
34083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34084 $(RAW_CXX_TARGET_EXPORTS) \
34085 echo "Doing clean in $(TARGET_SUBDIR)/libvtv" ; \
34086 for flag in $(EXTRA_TARGET_FLAGS); do \
34087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34088 done; \
34089 (cd $(TARGET_SUBDIR)/libvtv && \
34090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34092 "RANLIB=$${RANLIB}" \
34093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34094 clean) \
34095 || exit 1
34097 @endif target-libvtv
34099 .PHONY: maybe-distclean-target-libvtv distclean-target-libvtv
34100 maybe-distclean-target-libvtv:
34101 @if target-libvtv
34102 maybe-distclean-target-libvtv: distclean-target-libvtv
34104 distclean-target-libvtv:
34105 @: $(MAKE); $(unstage)
34106 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34107 r=`${PWD_COMMAND}`; export r; \
34108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34109 $(RAW_CXX_TARGET_EXPORTS) \
34110 echo "Doing distclean in $(TARGET_SUBDIR)/libvtv" ; \
34111 for flag in $(EXTRA_TARGET_FLAGS); do \
34112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34113 done; \
34114 (cd $(TARGET_SUBDIR)/libvtv && \
34115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34117 "RANLIB=$${RANLIB}" \
34118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34119 distclean) \
34120 || exit 1
34122 @endif target-libvtv
34124 .PHONY: maybe-maintainer-clean-target-libvtv maintainer-clean-target-libvtv
34125 maybe-maintainer-clean-target-libvtv:
34126 @if target-libvtv
34127 maybe-maintainer-clean-target-libvtv: maintainer-clean-target-libvtv
34129 maintainer-clean-target-libvtv:
34130 @: $(MAKE); $(unstage)
34131 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34132 r=`${PWD_COMMAND}`; export r; \
34133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34134 $(RAW_CXX_TARGET_EXPORTS) \
34135 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libvtv" ; \
34136 for flag in $(EXTRA_TARGET_FLAGS); do \
34137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34138 done; \
34139 (cd $(TARGET_SUBDIR)/libvtv && \
34140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34142 "RANLIB=$${RANLIB}" \
34143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34144 maintainer-clean) \
34145 || exit 1
34147 @endif target-libvtv
34153 .PHONY: configure-target-libssp maybe-configure-target-libssp
34154 maybe-configure-target-libssp:
34155 @if gcc-bootstrap
34156 configure-target-libssp: stage_current
34157 @endif gcc-bootstrap
34158 @if target-libssp
34159 maybe-configure-target-libssp: configure-target-libssp
34160 configure-target-libssp:
34161 @: $(MAKE); $(unstage)
34162 @r=`${PWD_COMMAND}`; export r; \
34163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34164 echo "Checking multilib configuration for libssp..."; \
34165 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
34166 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
34167 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
34168 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
34169 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
34170 else \
34171 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
34172 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
34173 fi; \
34174 else \
34175 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
34176 fi; \
34177 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
34178 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
34179 $(NORMAL_TARGET_EXPORTS) \
34180 echo Configuring in $(TARGET_SUBDIR)/libssp; \
34181 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
34182 case $(srcdir) in \
34183 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34184 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
34185 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34186 esac; \
34187 srcdiroption="--srcdir=$${topdir}/libssp"; \
34188 libsrcdir="$$s/libssp"; \
34189 rm -f no-such-file || : ; \
34190 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34191 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34192 --target=${target_alias} $${srcdiroption} \
34193 || exit 1
34194 @endif target-libssp
34200 .PHONY: all-target-libssp maybe-all-target-libssp
34201 maybe-all-target-libssp:
34202 @if gcc-bootstrap
34203 all-target-libssp: stage_current
34204 @endif gcc-bootstrap
34205 @if target-libssp
34206 TARGET-target-libssp=all
34207 maybe-all-target-libssp: all-target-libssp
34208 all-target-libssp: configure-target-libssp
34209 @: $(MAKE); $(unstage)
34210 @r=`${PWD_COMMAND}`; export r; \
34211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34212 $(NORMAL_TARGET_EXPORTS) \
34213 (cd $(TARGET_SUBDIR)/libssp && \
34214 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
34215 $(TARGET-target-libssp))
34216 @endif target-libssp
34222 .PHONY: check-target-libssp maybe-check-target-libssp
34223 maybe-check-target-libssp:
34224 @if target-libssp
34225 maybe-check-target-libssp: check-target-libssp
34227 check-target-libssp:
34228 @: $(MAKE); $(unstage)
34229 @r=`${PWD_COMMAND}`; export r; \
34230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34231 $(NORMAL_TARGET_EXPORTS) \
34232 (cd $(TARGET_SUBDIR)/libssp && \
34233 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34235 @endif target-libssp
34237 .PHONY: install-target-libssp maybe-install-target-libssp
34238 maybe-install-target-libssp:
34239 @if target-libssp
34240 maybe-install-target-libssp: install-target-libssp
34242 install-target-libssp: installdirs
34243 @: $(MAKE); $(unstage)
34244 @r=`${PWD_COMMAND}`; export r; \
34245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34246 $(NORMAL_TARGET_EXPORTS) \
34247 (cd $(TARGET_SUBDIR)/libssp && \
34248 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34250 @endif target-libssp
34252 .PHONY: install-strip-target-libssp maybe-install-strip-target-libssp
34253 maybe-install-strip-target-libssp:
34254 @if target-libssp
34255 maybe-install-strip-target-libssp: install-strip-target-libssp
34257 install-strip-target-libssp: installdirs
34258 @: $(MAKE); $(unstage)
34259 @r=`${PWD_COMMAND}`; export r; \
34260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34261 $(NORMAL_TARGET_EXPORTS) \
34262 (cd $(TARGET_SUBDIR)/libssp && \
34263 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
34265 @endif target-libssp
34267 # Other targets (info, dvi, pdf, etc.)
34269 .PHONY: maybe-info-target-libssp info-target-libssp
34270 maybe-info-target-libssp:
34271 @if target-libssp
34272 maybe-info-target-libssp: info-target-libssp
34274 info-target-libssp: \
34275 configure-target-libssp
34276 @: $(MAKE); $(unstage)
34277 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34278 r=`${PWD_COMMAND}`; export r; \
34279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34280 $(NORMAL_TARGET_EXPORTS) \
34281 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
34282 for flag in $(EXTRA_TARGET_FLAGS); do \
34283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34284 done; \
34285 (cd $(TARGET_SUBDIR)/libssp && \
34286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34288 "RANLIB=$${RANLIB}" \
34289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34290 info) \
34291 || exit 1
34293 @endif target-libssp
34295 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
34296 maybe-dvi-target-libssp:
34297 @if target-libssp
34298 maybe-dvi-target-libssp: dvi-target-libssp
34300 dvi-target-libssp: \
34301 configure-target-libssp
34302 @: $(MAKE); $(unstage)
34303 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34304 r=`${PWD_COMMAND}`; export r; \
34305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34306 $(NORMAL_TARGET_EXPORTS) \
34307 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
34308 for flag in $(EXTRA_TARGET_FLAGS); do \
34309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34310 done; \
34311 (cd $(TARGET_SUBDIR)/libssp && \
34312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34314 "RANLIB=$${RANLIB}" \
34315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34316 dvi) \
34317 || exit 1
34319 @endif target-libssp
34321 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
34322 maybe-pdf-target-libssp:
34323 @if target-libssp
34324 maybe-pdf-target-libssp: pdf-target-libssp
34326 pdf-target-libssp: \
34327 configure-target-libssp
34328 @: $(MAKE); $(unstage)
34329 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34330 r=`${PWD_COMMAND}`; export r; \
34331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34332 $(NORMAL_TARGET_EXPORTS) \
34333 echo "Doing pdf in $(TARGET_SUBDIR)/libssp" ; \
34334 for flag in $(EXTRA_TARGET_FLAGS); do \
34335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34336 done; \
34337 (cd $(TARGET_SUBDIR)/libssp && \
34338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34340 "RANLIB=$${RANLIB}" \
34341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34342 pdf) \
34343 || exit 1
34345 @endif target-libssp
34347 .PHONY: maybe-html-target-libssp html-target-libssp
34348 maybe-html-target-libssp:
34349 @if target-libssp
34350 maybe-html-target-libssp: html-target-libssp
34352 html-target-libssp: \
34353 configure-target-libssp
34354 @: $(MAKE); $(unstage)
34355 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34356 r=`${PWD_COMMAND}`; export r; \
34357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34358 $(NORMAL_TARGET_EXPORTS) \
34359 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
34360 for flag in $(EXTRA_TARGET_FLAGS); do \
34361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34362 done; \
34363 (cd $(TARGET_SUBDIR)/libssp && \
34364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34366 "RANLIB=$${RANLIB}" \
34367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34368 html) \
34369 || exit 1
34371 @endif target-libssp
34373 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
34374 maybe-TAGS-target-libssp:
34375 @if target-libssp
34376 maybe-TAGS-target-libssp: TAGS-target-libssp
34378 TAGS-target-libssp: \
34379 configure-target-libssp
34380 @: $(MAKE); $(unstage)
34381 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34382 r=`${PWD_COMMAND}`; export r; \
34383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34384 $(NORMAL_TARGET_EXPORTS) \
34385 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
34386 for flag in $(EXTRA_TARGET_FLAGS); do \
34387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34388 done; \
34389 (cd $(TARGET_SUBDIR)/libssp && \
34390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34392 "RANLIB=$${RANLIB}" \
34393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34394 TAGS) \
34395 || exit 1
34397 @endif target-libssp
34399 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
34400 maybe-install-info-target-libssp:
34401 @if target-libssp
34402 maybe-install-info-target-libssp: install-info-target-libssp
34404 install-info-target-libssp: \
34405 configure-target-libssp \
34406 info-target-libssp
34407 @: $(MAKE); $(unstage)
34408 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34409 r=`${PWD_COMMAND}`; export r; \
34410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34411 $(NORMAL_TARGET_EXPORTS) \
34412 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
34413 for flag in $(EXTRA_TARGET_FLAGS); do \
34414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34415 done; \
34416 (cd $(TARGET_SUBDIR)/libssp && \
34417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34419 "RANLIB=$${RANLIB}" \
34420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34421 install-info) \
34422 || exit 1
34424 @endif target-libssp
34426 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
34427 maybe-install-pdf-target-libssp:
34428 @if target-libssp
34429 maybe-install-pdf-target-libssp: install-pdf-target-libssp
34431 install-pdf-target-libssp: \
34432 configure-target-libssp \
34433 pdf-target-libssp
34434 @: $(MAKE); $(unstage)
34435 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34436 r=`${PWD_COMMAND}`; export r; \
34437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34438 $(NORMAL_TARGET_EXPORTS) \
34439 echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp" ; \
34440 for flag in $(EXTRA_TARGET_FLAGS); do \
34441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34442 done; \
34443 (cd $(TARGET_SUBDIR)/libssp && \
34444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34446 "RANLIB=$${RANLIB}" \
34447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34448 install-pdf) \
34449 || exit 1
34451 @endif target-libssp
34453 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
34454 maybe-install-html-target-libssp:
34455 @if target-libssp
34456 maybe-install-html-target-libssp: install-html-target-libssp
34458 install-html-target-libssp: \
34459 configure-target-libssp \
34460 html-target-libssp
34461 @: $(MAKE); $(unstage)
34462 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34463 r=`${PWD_COMMAND}`; export r; \
34464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34465 $(NORMAL_TARGET_EXPORTS) \
34466 echo "Doing install-html in $(TARGET_SUBDIR)/libssp" ; \
34467 for flag in $(EXTRA_TARGET_FLAGS); do \
34468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34469 done; \
34470 (cd $(TARGET_SUBDIR)/libssp && \
34471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34473 "RANLIB=$${RANLIB}" \
34474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34475 install-html) \
34476 || exit 1
34478 @endif target-libssp
34480 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
34481 maybe-installcheck-target-libssp:
34482 @if target-libssp
34483 maybe-installcheck-target-libssp: installcheck-target-libssp
34485 installcheck-target-libssp: \
34486 configure-target-libssp
34487 @: $(MAKE); $(unstage)
34488 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34489 r=`${PWD_COMMAND}`; export r; \
34490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34491 $(NORMAL_TARGET_EXPORTS) \
34492 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
34493 for flag in $(EXTRA_TARGET_FLAGS); do \
34494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34495 done; \
34496 (cd $(TARGET_SUBDIR)/libssp && \
34497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34499 "RANLIB=$${RANLIB}" \
34500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34501 installcheck) \
34502 || exit 1
34504 @endif target-libssp
34506 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
34507 maybe-mostlyclean-target-libssp:
34508 @if target-libssp
34509 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
34511 mostlyclean-target-libssp:
34512 @: $(MAKE); $(unstage)
34513 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34514 r=`${PWD_COMMAND}`; export r; \
34515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34516 $(NORMAL_TARGET_EXPORTS) \
34517 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
34518 for flag in $(EXTRA_TARGET_FLAGS); do \
34519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34520 done; \
34521 (cd $(TARGET_SUBDIR)/libssp && \
34522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34524 "RANLIB=$${RANLIB}" \
34525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34526 mostlyclean) \
34527 || exit 1
34529 @endif target-libssp
34531 .PHONY: maybe-clean-target-libssp clean-target-libssp
34532 maybe-clean-target-libssp:
34533 @if target-libssp
34534 maybe-clean-target-libssp: clean-target-libssp
34536 clean-target-libssp:
34537 @: $(MAKE); $(unstage)
34538 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34539 r=`${PWD_COMMAND}`; export r; \
34540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34541 $(NORMAL_TARGET_EXPORTS) \
34542 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
34543 for flag in $(EXTRA_TARGET_FLAGS); do \
34544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34545 done; \
34546 (cd $(TARGET_SUBDIR)/libssp && \
34547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34549 "RANLIB=$${RANLIB}" \
34550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34551 clean) \
34552 || exit 1
34554 @endif target-libssp
34556 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
34557 maybe-distclean-target-libssp:
34558 @if target-libssp
34559 maybe-distclean-target-libssp: distclean-target-libssp
34561 distclean-target-libssp:
34562 @: $(MAKE); $(unstage)
34563 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34564 r=`${PWD_COMMAND}`; export r; \
34565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34566 $(NORMAL_TARGET_EXPORTS) \
34567 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
34568 for flag in $(EXTRA_TARGET_FLAGS); do \
34569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34570 done; \
34571 (cd $(TARGET_SUBDIR)/libssp && \
34572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34574 "RANLIB=$${RANLIB}" \
34575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34576 distclean) \
34577 || exit 1
34579 @endif target-libssp
34581 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
34582 maybe-maintainer-clean-target-libssp:
34583 @if target-libssp
34584 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
34586 maintainer-clean-target-libssp:
34587 @: $(MAKE); $(unstage)
34588 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34589 r=`${PWD_COMMAND}`; export r; \
34590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34591 $(NORMAL_TARGET_EXPORTS) \
34592 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
34593 for flag in $(EXTRA_TARGET_FLAGS); do \
34594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34595 done; \
34596 (cd $(TARGET_SUBDIR)/libssp && \
34597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34599 "RANLIB=$${RANLIB}" \
34600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34601 maintainer-clean) \
34602 || exit 1
34604 @endif target-libssp
34610 .PHONY: configure-target-newlib maybe-configure-target-newlib
34611 maybe-configure-target-newlib:
34612 @if gcc-bootstrap
34613 configure-target-newlib: stage_current
34614 @endif gcc-bootstrap
34615 @if target-newlib
34616 maybe-configure-target-newlib: configure-target-newlib
34617 configure-target-newlib:
34618 @: $(MAKE); $(unstage)
34619 @r=`${PWD_COMMAND}`; export r; \
34620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34621 echo "Checking multilib configuration for newlib..."; \
34622 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
34623 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
34624 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
34625 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
34626 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
34627 else \
34628 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
34629 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
34630 fi; \
34631 else \
34632 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
34633 fi; \
34634 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
34635 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
34636 $(NORMAL_TARGET_EXPORTS) \
34637 echo Configuring in $(TARGET_SUBDIR)/newlib; \
34638 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
34639 case $(srcdir) in \
34640 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34641 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
34642 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34643 esac; \
34644 srcdiroption="--srcdir=$${topdir}/newlib"; \
34645 libsrcdir="$$s/newlib"; \
34646 rm -f no-such-file || : ; \
34647 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34648 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34649 --target=${target_alias} $${srcdiroption} \
34650 || exit 1
34651 @endif target-newlib
34657 .PHONY: all-target-newlib maybe-all-target-newlib
34658 maybe-all-target-newlib:
34659 @if gcc-bootstrap
34660 all-target-newlib: stage_current
34661 @endif gcc-bootstrap
34662 @if target-newlib
34663 TARGET-target-newlib=all
34664 maybe-all-target-newlib: all-target-newlib
34665 all-target-newlib: configure-target-newlib
34666 @: $(MAKE); $(unstage)
34667 @r=`${PWD_COMMAND}`; export r; \
34668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34669 $(NORMAL_TARGET_EXPORTS) \
34670 (cd $(TARGET_SUBDIR)/newlib && \
34671 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
34672 $(TARGET-target-newlib))
34673 @endif target-newlib
34679 .PHONY: check-target-newlib maybe-check-target-newlib
34680 maybe-check-target-newlib:
34681 @if target-newlib
34682 maybe-check-target-newlib: check-target-newlib
34684 check-target-newlib:
34685 @: $(MAKE); $(unstage)
34686 @r=`${PWD_COMMAND}`; export r; \
34687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34688 $(NORMAL_TARGET_EXPORTS) \
34689 (cd $(TARGET_SUBDIR)/newlib && \
34690 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34692 @endif target-newlib
34694 .PHONY: install-target-newlib maybe-install-target-newlib
34695 maybe-install-target-newlib:
34696 @if target-newlib
34697 maybe-install-target-newlib: install-target-newlib
34699 install-target-newlib: installdirs
34700 @: $(MAKE); $(unstage)
34701 @r=`${PWD_COMMAND}`; export r; \
34702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34703 $(NORMAL_TARGET_EXPORTS) \
34704 (cd $(TARGET_SUBDIR)/newlib && \
34705 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34707 @endif target-newlib
34709 .PHONY: install-strip-target-newlib maybe-install-strip-target-newlib
34710 maybe-install-strip-target-newlib:
34711 @if target-newlib
34712 maybe-install-strip-target-newlib: install-strip-target-newlib
34714 install-strip-target-newlib: installdirs
34715 @: $(MAKE); $(unstage)
34716 @r=`${PWD_COMMAND}`; export r; \
34717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34718 $(NORMAL_TARGET_EXPORTS) \
34719 (cd $(TARGET_SUBDIR)/newlib && \
34720 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
34722 @endif target-newlib
34724 # Other targets (info, dvi, pdf, etc.)
34726 .PHONY: maybe-info-target-newlib info-target-newlib
34727 maybe-info-target-newlib:
34728 @if target-newlib
34729 maybe-info-target-newlib: info-target-newlib
34731 info-target-newlib: \
34732 configure-target-newlib
34733 @: $(MAKE); $(unstage)
34734 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34735 r=`${PWD_COMMAND}`; export r; \
34736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34737 $(NORMAL_TARGET_EXPORTS) \
34738 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
34739 for flag in $(EXTRA_TARGET_FLAGS); do \
34740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34741 done; \
34742 (cd $(TARGET_SUBDIR)/newlib && \
34743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34745 "RANLIB=$${RANLIB}" \
34746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34747 info) \
34748 || exit 1
34750 @endif target-newlib
34752 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
34753 maybe-dvi-target-newlib:
34754 @if target-newlib
34755 maybe-dvi-target-newlib: dvi-target-newlib
34757 dvi-target-newlib: \
34758 configure-target-newlib
34759 @: $(MAKE); $(unstage)
34760 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34761 r=`${PWD_COMMAND}`; export r; \
34762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34763 $(NORMAL_TARGET_EXPORTS) \
34764 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
34765 for flag in $(EXTRA_TARGET_FLAGS); do \
34766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34767 done; \
34768 (cd $(TARGET_SUBDIR)/newlib && \
34769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34771 "RANLIB=$${RANLIB}" \
34772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34773 dvi) \
34774 || exit 1
34776 @endif target-newlib
34778 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
34779 maybe-pdf-target-newlib:
34780 @if target-newlib
34781 maybe-pdf-target-newlib: pdf-target-newlib
34783 pdf-target-newlib: \
34784 configure-target-newlib
34785 @: $(MAKE); $(unstage)
34786 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34787 r=`${PWD_COMMAND}`; export r; \
34788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34789 $(NORMAL_TARGET_EXPORTS) \
34790 echo "Doing pdf in $(TARGET_SUBDIR)/newlib" ; \
34791 for flag in $(EXTRA_TARGET_FLAGS); do \
34792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34793 done; \
34794 (cd $(TARGET_SUBDIR)/newlib && \
34795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34797 "RANLIB=$${RANLIB}" \
34798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34799 pdf) \
34800 || exit 1
34802 @endif target-newlib
34804 .PHONY: maybe-html-target-newlib html-target-newlib
34805 maybe-html-target-newlib:
34806 @if target-newlib
34807 maybe-html-target-newlib: html-target-newlib
34809 html-target-newlib: \
34810 configure-target-newlib
34811 @: $(MAKE); $(unstage)
34812 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34813 r=`${PWD_COMMAND}`; export r; \
34814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34815 $(NORMAL_TARGET_EXPORTS) \
34816 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
34817 for flag in $(EXTRA_TARGET_FLAGS); do \
34818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34819 done; \
34820 (cd $(TARGET_SUBDIR)/newlib && \
34821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34823 "RANLIB=$${RANLIB}" \
34824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34825 html) \
34826 || exit 1
34828 @endif target-newlib
34830 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
34831 maybe-TAGS-target-newlib:
34832 @if target-newlib
34833 maybe-TAGS-target-newlib: TAGS-target-newlib
34835 TAGS-target-newlib: \
34836 configure-target-newlib
34837 @: $(MAKE); $(unstage)
34838 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34839 r=`${PWD_COMMAND}`; export r; \
34840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34841 $(NORMAL_TARGET_EXPORTS) \
34842 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
34843 for flag in $(EXTRA_TARGET_FLAGS); do \
34844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34845 done; \
34846 (cd $(TARGET_SUBDIR)/newlib && \
34847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34849 "RANLIB=$${RANLIB}" \
34850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34851 TAGS) \
34852 || exit 1
34854 @endif target-newlib
34856 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
34857 maybe-install-info-target-newlib:
34858 @if target-newlib
34859 maybe-install-info-target-newlib: install-info-target-newlib
34861 install-info-target-newlib: \
34862 configure-target-newlib \
34863 info-target-newlib
34864 @: $(MAKE); $(unstage)
34865 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34866 r=`${PWD_COMMAND}`; export r; \
34867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34868 $(NORMAL_TARGET_EXPORTS) \
34869 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
34870 for flag in $(EXTRA_TARGET_FLAGS); do \
34871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34872 done; \
34873 (cd $(TARGET_SUBDIR)/newlib && \
34874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34876 "RANLIB=$${RANLIB}" \
34877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34878 install-info) \
34879 || exit 1
34881 @endif target-newlib
34883 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
34884 maybe-install-pdf-target-newlib:
34885 @if target-newlib
34886 maybe-install-pdf-target-newlib: install-pdf-target-newlib
34888 install-pdf-target-newlib: \
34889 configure-target-newlib \
34890 pdf-target-newlib
34891 @: $(MAKE); $(unstage)
34892 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34893 r=`${PWD_COMMAND}`; export r; \
34894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34895 $(NORMAL_TARGET_EXPORTS) \
34896 echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib" ; \
34897 for flag in $(EXTRA_TARGET_FLAGS); do \
34898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34899 done; \
34900 (cd $(TARGET_SUBDIR)/newlib && \
34901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34903 "RANLIB=$${RANLIB}" \
34904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34905 install-pdf) \
34906 || exit 1
34908 @endif target-newlib
34910 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
34911 maybe-install-html-target-newlib:
34912 @if target-newlib
34913 maybe-install-html-target-newlib: install-html-target-newlib
34915 install-html-target-newlib: \
34916 configure-target-newlib \
34917 html-target-newlib
34918 @: $(MAKE); $(unstage)
34919 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34920 r=`${PWD_COMMAND}`; export r; \
34921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34922 $(NORMAL_TARGET_EXPORTS) \
34923 echo "Doing install-html in $(TARGET_SUBDIR)/newlib" ; \
34924 for flag in $(EXTRA_TARGET_FLAGS); do \
34925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34926 done; \
34927 (cd $(TARGET_SUBDIR)/newlib && \
34928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34930 "RANLIB=$${RANLIB}" \
34931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34932 install-html) \
34933 || exit 1
34935 @endif target-newlib
34937 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
34938 maybe-installcheck-target-newlib:
34939 @if target-newlib
34940 maybe-installcheck-target-newlib: installcheck-target-newlib
34942 installcheck-target-newlib: \
34943 configure-target-newlib
34944 @: $(MAKE); $(unstage)
34945 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34946 r=`${PWD_COMMAND}`; export r; \
34947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34948 $(NORMAL_TARGET_EXPORTS) \
34949 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
34950 for flag in $(EXTRA_TARGET_FLAGS); do \
34951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34952 done; \
34953 (cd $(TARGET_SUBDIR)/newlib && \
34954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34956 "RANLIB=$${RANLIB}" \
34957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34958 installcheck) \
34959 || exit 1
34961 @endif target-newlib
34963 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
34964 maybe-mostlyclean-target-newlib:
34965 @if target-newlib
34966 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
34968 mostlyclean-target-newlib:
34969 @: $(MAKE); $(unstage)
34970 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34971 r=`${PWD_COMMAND}`; export r; \
34972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34973 $(NORMAL_TARGET_EXPORTS) \
34974 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
34975 for flag in $(EXTRA_TARGET_FLAGS); do \
34976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34977 done; \
34978 (cd $(TARGET_SUBDIR)/newlib && \
34979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34981 "RANLIB=$${RANLIB}" \
34982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34983 mostlyclean) \
34984 || exit 1
34986 @endif target-newlib
34988 .PHONY: maybe-clean-target-newlib clean-target-newlib
34989 maybe-clean-target-newlib:
34990 @if target-newlib
34991 maybe-clean-target-newlib: clean-target-newlib
34993 clean-target-newlib:
34994 @: $(MAKE); $(unstage)
34995 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34996 r=`${PWD_COMMAND}`; export r; \
34997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34998 $(NORMAL_TARGET_EXPORTS) \
34999 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
35000 for flag in $(EXTRA_TARGET_FLAGS); do \
35001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35002 done; \
35003 (cd $(TARGET_SUBDIR)/newlib && \
35004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35006 "RANLIB=$${RANLIB}" \
35007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35008 clean) \
35009 || exit 1
35011 @endif target-newlib
35013 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
35014 maybe-distclean-target-newlib:
35015 @if target-newlib
35016 maybe-distclean-target-newlib: distclean-target-newlib
35018 distclean-target-newlib:
35019 @: $(MAKE); $(unstage)
35020 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
35021 r=`${PWD_COMMAND}`; export r; \
35022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35023 $(NORMAL_TARGET_EXPORTS) \
35024 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
35025 for flag in $(EXTRA_TARGET_FLAGS); do \
35026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35027 done; \
35028 (cd $(TARGET_SUBDIR)/newlib && \
35029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35031 "RANLIB=$${RANLIB}" \
35032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35033 distclean) \
35034 || exit 1
35036 @endif target-newlib
35038 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
35039 maybe-maintainer-clean-target-newlib:
35040 @if target-newlib
35041 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
35043 maintainer-clean-target-newlib:
35044 @: $(MAKE); $(unstage)
35045 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
35046 r=`${PWD_COMMAND}`; export r; \
35047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35048 $(NORMAL_TARGET_EXPORTS) \
35049 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
35050 for flag in $(EXTRA_TARGET_FLAGS); do \
35051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35052 done; \
35053 (cd $(TARGET_SUBDIR)/newlib && \
35054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35056 "RANLIB=$${RANLIB}" \
35057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35058 maintainer-clean) \
35059 || exit 1
35061 @endif target-newlib
35067 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
35068 maybe-configure-target-libgcc:
35069 @if gcc-bootstrap
35070 configure-target-libgcc: stage_current
35071 @endif gcc-bootstrap
35072 @if target-libgcc
35073 maybe-configure-target-libgcc: configure-target-libgcc
35074 configure-target-libgcc:
35075 @r=`${PWD_COMMAND}`; export r; \
35076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35077 echo "Checking multilib configuration for libgcc..."; \
35078 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
35079 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
35080 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35081 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35082 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
35083 else \
35084 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
35085 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35086 fi; \
35087 else \
35088 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35089 fi; \
35090 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
35091 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
35092 $(NORMAL_TARGET_EXPORTS) \
35093 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
35094 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
35095 case $(srcdir) in \
35096 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35097 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
35098 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35099 esac; \
35100 srcdiroption="--srcdir=$${topdir}/libgcc"; \
35101 libsrcdir="$$s/libgcc"; \
35102 rm -f no-such-file || : ; \
35103 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35104 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35105 --target=${target_alias} $${srcdiroption} \
35106 || exit 1
35107 @endif target-libgcc
35111 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
35112 maybe-configure-stage1-target-libgcc:
35113 @if target-libgcc-bootstrap
35114 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
35115 configure-stage1-target-libgcc:
35116 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
35117 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
35118 @r=`${PWD_COMMAND}`; export r; \
35119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35120 TFLAGS="$(STAGE1_TFLAGS)"; \
35121 echo "Checking multilib configuration for libgcc..."; \
35122 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
35123 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35124 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35125 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
35126 else \
35127 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
35128 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35129 fi; \
35130 else \
35131 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35132 fi; \
35133 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
35134 $(NORMAL_TARGET_EXPORTS) \
35135 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
35136 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
35137 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
35138 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc ; \
35139 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
35140 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
35141 case $(srcdir) in \
35142 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35143 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
35144 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35145 esac; \
35146 srcdiroption="--srcdir=$${topdir}/libgcc"; \
35147 libsrcdir="$$s/libgcc"; \
35148 $(SHELL) $${libsrcdir}/configure \
35149 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35150 --target=${target_alias} $${srcdiroption} \
35151 $(STAGE1_CONFIGURE_FLAGS)
35152 @endif target-libgcc-bootstrap
35154 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
35155 maybe-configure-stage2-target-libgcc:
35156 @if target-libgcc-bootstrap
35157 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
35158 configure-stage2-target-libgcc:
35159 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
35160 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
35161 @r=`${PWD_COMMAND}`; export r; \
35162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35163 TFLAGS="$(STAGE2_TFLAGS)"; \
35164 echo "Checking multilib configuration for libgcc..."; \
35165 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
35166 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35167 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35168 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
35169 else \
35170 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
35171 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35172 fi; \
35173 else \
35174 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35175 fi; \
35176 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
35177 $(NORMAL_TARGET_EXPORTS) \
35179 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
35180 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
35181 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
35182 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc ; \
35183 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
35184 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
35185 case $(srcdir) in \
35186 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35187 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
35188 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35189 esac; \
35190 srcdiroption="--srcdir=$${topdir}/libgcc"; \
35191 libsrcdir="$$s/libgcc"; \
35192 $(SHELL) $${libsrcdir}/configure \
35193 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35194 --target=${target_alias} $${srcdiroption} \
35195 --with-build-libsubdir=$(HOST_SUBDIR) \
35196 $(STAGE2_CONFIGURE_FLAGS)
35197 @endif target-libgcc-bootstrap
35199 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
35200 maybe-configure-stage3-target-libgcc:
35201 @if target-libgcc-bootstrap
35202 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
35203 configure-stage3-target-libgcc:
35204 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
35205 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
35206 @r=`${PWD_COMMAND}`; export r; \
35207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35208 TFLAGS="$(STAGE3_TFLAGS)"; \
35209 echo "Checking multilib configuration for libgcc..."; \
35210 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
35211 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35212 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35213 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
35214 else \
35215 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
35216 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35217 fi; \
35218 else \
35219 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35220 fi; \
35221 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
35222 $(NORMAL_TARGET_EXPORTS) \
35224 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
35225 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
35226 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
35227 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc ; \
35228 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
35229 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
35230 case $(srcdir) in \
35231 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35232 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
35233 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35234 esac; \
35235 srcdiroption="--srcdir=$${topdir}/libgcc"; \
35236 libsrcdir="$$s/libgcc"; \
35237 $(SHELL) $${libsrcdir}/configure \
35238 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35239 --target=${target_alias} $${srcdiroption} \
35240 --with-build-libsubdir=$(HOST_SUBDIR) \
35241 $(STAGE3_CONFIGURE_FLAGS)
35242 @endif target-libgcc-bootstrap
35244 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
35245 maybe-configure-stage4-target-libgcc:
35246 @if target-libgcc-bootstrap
35247 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
35248 configure-stage4-target-libgcc:
35249 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
35250 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
35251 @r=`${PWD_COMMAND}`; export r; \
35252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35253 TFLAGS="$(STAGE4_TFLAGS)"; \
35254 echo "Checking multilib configuration for libgcc..."; \
35255 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
35256 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35257 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35258 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
35259 else \
35260 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
35261 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35262 fi; \
35263 else \
35264 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35265 fi; \
35266 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
35267 $(NORMAL_TARGET_EXPORTS) \
35269 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
35270 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
35271 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
35272 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc ; \
35273 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
35274 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
35275 case $(srcdir) in \
35276 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35277 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
35278 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35279 esac; \
35280 srcdiroption="--srcdir=$${topdir}/libgcc"; \
35281 libsrcdir="$$s/libgcc"; \
35282 $(SHELL) $${libsrcdir}/configure \
35283 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35284 --target=${target_alias} $${srcdiroption} \
35285 --with-build-libsubdir=$(HOST_SUBDIR) \
35286 $(STAGE4_CONFIGURE_FLAGS)
35287 @endif target-libgcc-bootstrap
35289 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
35290 maybe-configure-stageprofile-target-libgcc:
35291 @if target-libgcc-bootstrap
35292 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
35293 configure-stageprofile-target-libgcc:
35294 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
35295 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
35296 @r=`${PWD_COMMAND}`; export r; \
35297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35298 TFLAGS="$(STAGEprofile_TFLAGS)"; \
35299 echo "Checking multilib configuration for libgcc..."; \
35300 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
35301 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35302 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35303 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
35304 else \
35305 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
35306 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35307 fi; \
35308 else \
35309 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35310 fi; \
35311 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
35312 $(NORMAL_TARGET_EXPORTS) \
35314 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
35315 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
35316 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
35317 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc ; \
35318 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
35319 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
35320 case $(srcdir) in \
35321 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35322 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
35323 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35324 esac; \
35325 srcdiroption="--srcdir=$${topdir}/libgcc"; \
35326 libsrcdir="$$s/libgcc"; \
35327 $(SHELL) $${libsrcdir}/configure \
35328 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35329 --target=${target_alias} $${srcdiroption} \
35330 --with-build-libsubdir=$(HOST_SUBDIR) \
35331 $(STAGEprofile_CONFIGURE_FLAGS)
35332 @endif target-libgcc-bootstrap
35334 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
35335 maybe-configure-stagefeedback-target-libgcc:
35336 @if target-libgcc-bootstrap
35337 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
35338 configure-stagefeedback-target-libgcc:
35339 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
35340 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
35341 @r=`${PWD_COMMAND}`; export r; \
35342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35343 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
35344 echo "Checking multilib configuration for libgcc..."; \
35345 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
35346 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35347 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35348 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
35349 else \
35350 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
35351 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35352 fi; \
35353 else \
35354 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35355 fi; \
35356 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
35357 $(NORMAL_TARGET_EXPORTS) \
35359 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
35360 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
35361 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
35362 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc ; \
35363 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
35364 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
35365 case $(srcdir) in \
35366 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35367 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
35368 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35369 esac; \
35370 srcdiroption="--srcdir=$${topdir}/libgcc"; \
35371 libsrcdir="$$s/libgcc"; \
35372 $(SHELL) $${libsrcdir}/configure \
35373 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35374 --target=${target_alias} $${srcdiroption} \
35375 --with-build-libsubdir=$(HOST_SUBDIR) \
35376 $(STAGEfeedback_CONFIGURE_FLAGS)
35377 @endif target-libgcc-bootstrap
35383 .PHONY: all-target-libgcc maybe-all-target-libgcc
35384 maybe-all-target-libgcc:
35385 @if gcc-bootstrap
35386 all-target-libgcc: stage_current
35387 @endif gcc-bootstrap
35388 @if target-libgcc
35389 TARGET-target-libgcc=all
35390 maybe-all-target-libgcc: all-target-libgcc
35391 all-target-libgcc: configure-target-libgcc
35392 @r=`${PWD_COMMAND}`; export r; \
35393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35394 $(NORMAL_TARGET_EXPORTS) \
35395 (cd $(TARGET_SUBDIR)/libgcc && \
35396 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35397 $(TARGET-target-libgcc))
35398 @endif target-libgcc
35402 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
35403 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
35404 maybe-all-stage1-target-libgcc:
35405 maybe-clean-stage1-target-libgcc:
35406 @if target-libgcc-bootstrap
35407 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
35408 all-stage1: all-stage1-target-libgcc
35409 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
35410 all-stage1-target-libgcc: configure-stage1-target-libgcc
35411 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
35412 @r=`${PWD_COMMAND}`; export r; \
35413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35414 TFLAGS="$(STAGE1_TFLAGS)"; \
35415 $(NORMAL_TARGET_EXPORTS) \
35416 cd $(TARGET_SUBDIR)/libgcc && \
35417 $(MAKE) $(BASE_FLAGS_TO_PASS) \
35418 CFLAGS="$(CFLAGS_FOR_TARGET)" \
35419 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
35420 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
35421 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
35422 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
35423 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
35424 $(EXTRA_TARGET_FLAGS) \
35426 TFLAGS="$(STAGE1_TFLAGS)" \
35427 $(TARGET-stage1-target-libgcc)
35429 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
35430 clean-stage1: clean-stage1-target-libgcc
35431 clean-stage1-target-libgcc:
35432 @if [ $(current_stage) = stage1 ]; then \
35433 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
35434 else \
35435 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
35436 $(MAKE) stage1-start; \
35437 fi; \
35438 cd $(TARGET_SUBDIR)/libgcc && \
35439 $(MAKE) $(EXTRA_TARGET_FLAGS) \
35440 clean
35441 @endif target-libgcc-bootstrap
35444 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
35445 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
35446 maybe-all-stage2-target-libgcc:
35447 maybe-clean-stage2-target-libgcc:
35448 @if target-libgcc-bootstrap
35449 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
35450 all-stage2: all-stage2-target-libgcc
35451 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
35452 all-stage2-target-libgcc: configure-stage2-target-libgcc
35453 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
35454 @r=`${PWD_COMMAND}`; export r; \
35455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35456 TFLAGS="$(STAGE2_TFLAGS)"; \
35457 $(NORMAL_TARGET_EXPORTS) \
35459 cd $(TARGET_SUBDIR)/libgcc && \
35460 $(MAKE) $(BASE_FLAGS_TO_PASS) \
35461 CFLAGS="$(CFLAGS_FOR_TARGET)" \
35462 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
35463 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
35464 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
35465 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
35466 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
35467 $(EXTRA_TARGET_FLAGS) \
35468 TFLAGS="$(STAGE2_TFLAGS)" \
35469 $(TARGET-stage2-target-libgcc)
35471 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
35472 clean-stage2: clean-stage2-target-libgcc
35473 clean-stage2-target-libgcc:
35474 @if [ $(current_stage) = stage2 ]; then \
35475 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
35476 else \
35477 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
35478 $(MAKE) stage2-start; \
35479 fi; \
35480 cd $(TARGET_SUBDIR)/libgcc && \
35481 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
35482 @endif target-libgcc-bootstrap
35485 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
35486 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
35487 maybe-all-stage3-target-libgcc:
35488 maybe-clean-stage3-target-libgcc:
35489 @if target-libgcc-bootstrap
35490 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
35491 all-stage3: all-stage3-target-libgcc
35492 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
35493 all-stage3-target-libgcc: configure-stage3-target-libgcc
35494 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
35495 @r=`${PWD_COMMAND}`; export r; \
35496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35497 TFLAGS="$(STAGE3_TFLAGS)"; \
35498 $(NORMAL_TARGET_EXPORTS) \
35500 cd $(TARGET_SUBDIR)/libgcc && \
35501 $(MAKE) $(BASE_FLAGS_TO_PASS) \
35502 CFLAGS="$(CFLAGS_FOR_TARGET)" \
35503 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
35504 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
35505 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
35506 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
35507 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
35508 $(EXTRA_TARGET_FLAGS) \
35509 TFLAGS="$(STAGE3_TFLAGS)" \
35510 $(TARGET-stage3-target-libgcc)
35512 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
35513 clean-stage3: clean-stage3-target-libgcc
35514 clean-stage3-target-libgcc:
35515 @if [ $(current_stage) = stage3 ]; then \
35516 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
35517 else \
35518 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
35519 $(MAKE) stage3-start; \
35520 fi; \
35521 cd $(TARGET_SUBDIR)/libgcc && \
35522 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
35523 @endif target-libgcc-bootstrap
35526 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
35527 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
35528 maybe-all-stage4-target-libgcc:
35529 maybe-clean-stage4-target-libgcc:
35530 @if target-libgcc-bootstrap
35531 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
35532 all-stage4: all-stage4-target-libgcc
35533 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
35534 all-stage4-target-libgcc: configure-stage4-target-libgcc
35535 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
35536 @r=`${PWD_COMMAND}`; export r; \
35537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35538 TFLAGS="$(STAGE4_TFLAGS)"; \
35539 $(NORMAL_TARGET_EXPORTS) \
35541 cd $(TARGET_SUBDIR)/libgcc && \
35542 $(MAKE) $(BASE_FLAGS_TO_PASS) \
35543 CFLAGS="$(CFLAGS_FOR_TARGET)" \
35544 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
35545 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
35546 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
35547 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
35548 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
35549 $(EXTRA_TARGET_FLAGS) \
35550 TFLAGS="$(STAGE4_TFLAGS)" \
35551 $(TARGET-stage4-target-libgcc)
35553 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
35554 clean-stage4: clean-stage4-target-libgcc
35555 clean-stage4-target-libgcc:
35556 @if [ $(current_stage) = stage4 ]; then \
35557 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
35558 else \
35559 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
35560 $(MAKE) stage4-start; \
35561 fi; \
35562 cd $(TARGET_SUBDIR)/libgcc && \
35563 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
35564 @endif target-libgcc-bootstrap
35567 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
35568 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
35569 maybe-all-stageprofile-target-libgcc:
35570 maybe-clean-stageprofile-target-libgcc:
35571 @if target-libgcc-bootstrap
35572 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
35573 all-stageprofile: all-stageprofile-target-libgcc
35574 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
35575 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
35576 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
35577 @r=`${PWD_COMMAND}`; export r; \
35578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35579 TFLAGS="$(STAGEprofile_TFLAGS)"; \
35580 $(NORMAL_TARGET_EXPORTS) \
35582 cd $(TARGET_SUBDIR)/libgcc && \
35583 $(MAKE) $(BASE_FLAGS_TO_PASS) \
35584 CFLAGS="$(CFLAGS_FOR_TARGET)" \
35585 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
35586 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
35587 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
35588 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
35589 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
35590 $(EXTRA_TARGET_FLAGS) \
35591 TFLAGS="$(STAGEprofile_TFLAGS)" \
35592 $(TARGET-stageprofile-target-libgcc)
35594 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
35595 clean-stageprofile: clean-stageprofile-target-libgcc
35596 clean-stageprofile-target-libgcc:
35597 @if [ $(current_stage) = stageprofile ]; then \
35598 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
35599 else \
35600 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
35601 $(MAKE) stageprofile-start; \
35602 fi; \
35603 cd $(TARGET_SUBDIR)/libgcc && \
35604 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
35605 @endif target-libgcc-bootstrap
35608 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
35609 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
35610 maybe-all-stagefeedback-target-libgcc:
35611 maybe-clean-stagefeedback-target-libgcc:
35612 @if target-libgcc-bootstrap
35613 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
35614 all-stagefeedback: all-stagefeedback-target-libgcc
35615 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
35616 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
35617 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
35618 @r=`${PWD_COMMAND}`; export r; \
35619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35620 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
35621 $(NORMAL_TARGET_EXPORTS) \
35623 cd $(TARGET_SUBDIR)/libgcc && \
35624 $(MAKE) $(BASE_FLAGS_TO_PASS) \
35625 CFLAGS="$(CFLAGS_FOR_TARGET)" \
35626 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
35627 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
35628 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
35629 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
35630 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
35631 $(EXTRA_TARGET_FLAGS) \
35632 TFLAGS="$(STAGEfeedback_TFLAGS)" \
35633 $(TARGET-stagefeedback-target-libgcc)
35635 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
35636 clean-stagefeedback: clean-stagefeedback-target-libgcc
35637 clean-stagefeedback-target-libgcc:
35638 @if [ $(current_stage) = stagefeedback ]; then \
35639 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
35640 else \
35641 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
35642 $(MAKE) stagefeedback-start; \
35643 fi; \
35644 cd $(TARGET_SUBDIR)/libgcc && \
35645 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
35646 @endif target-libgcc-bootstrap
35653 .PHONY: check-target-libgcc maybe-check-target-libgcc
35654 maybe-check-target-libgcc:
35655 @if target-libgcc
35656 maybe-check-target-libgcc: check-target-libgcc
35658 # Dummy target for uncheckable module.
35659 check-target-libgcc:
35661 @endif target-libgcc
35663 .PHONY: install-target-libgcc maybe-install-target-libgcc
35664 maybe-install-target-libgcc:
35665 @if target-libgcc
35666 maybe-install-target-libgcc: install-target-libgcc
35668 install-target-libgcc: installdirs
35669 @: $(MAKE); $(unstage)
35670 @r=`${PWD_COMMAND}`; export r; \
35671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35672 $(NORMAL_TARGET_EXPORTS) \
35673 (cd $(TARGET_SUBDIR)/libgcc && \
35674 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35676 @endif target-libgcc
35678 .PHONY: install-strip-target-libgcc maybe-install-strip-target-libgcc
35679 maybe-install-strip-target-libgcc:
35680 @if target-libgcc
35681 maybe-install-strip-target-libgcc: install-strip-target-libgcc
35683 install-strip-target-libgcc: installdirs
35684 @: $(MAKE); $(unstage)
35685 @r=`${PWD_COMMAND}`; export r; \
35686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35687 $(NORMAL_TARGET_EXPORTS) \
35688 (cd $(TARGET_SUBDIR)/libgcc && \
35689 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35691 @endif target-libgcc
35693 # Other targets (info, dvi, pdf, etc.)
35695 .PHONY: maybe-info-target-libgcc info-target-libgcc
35696 maybe-info-target-libgcc:
35697 @if target-libgcc
35698 maybe-info-target-libgcc: info-target-libgcc
35700 info-target-libgcc: \
35701 configure-target-libgcc
35702 @: $(MAKE); $(unstage)
35703 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35704 r=`${PWD_COMMAND}`; export r; \
35705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35706 $(NORMAL_TARGET_EXPORTS) \
35707 echo "Doing info in $(TARGET_SUBDIR)/libgcc" ; \
35708 for flag in $(EXTRA_TARGET_FLAGS); do \
35709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35710 done; \
35711 (cd $(TARGET_SUBDIR)/libgcc && \
35712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35714 "RANLIB=$${RANLIB}" \
35715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35716 info) \
35717 || exit 1
35719 @endif target-libgcc
35721 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
35722 maybe-dvi-target-libgcc:
35723 @if target-libgcc
35724 maybe-dvi-target-libgcc: dvi-target-libgcc
35726 dvi-target-libgcc: \
35727 configure-target-libgcc
35728 @: $(MAKE); $(unstage)
35729 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35730 r=`${PWD_COMMAND}`; export r; \
35731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35732 $(NORMAL_TARGET_EXPORTS) \
35733 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc" ; \
35734 for flag in $(EXTRA_TARGET_FLAGS); do \
35735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35736 done; \
35737 (cd $(TARGET_SUBDIR)/libgcc && \
35738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35740 "RANLIB=$${RANLIB}" \
35741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35742 dvi) \
35743 || exit 1
35745 @endif target-libgcc
35747 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
35748 maybe-pdf-target-libgcc:
35749 @if target-libgcc
35750 maybe-pdf-target-libgcc: pdf-target-libgcc
35752 pdf-target-libgcc: \
35753 configure-target-libgcc
35754 @: $(MAKE); $(unstage)
35755 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35756 r=`${PWD_COMMAND}`; export r; \
35757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35758 $(NORMAL_TARGET_EXPORTS) \
35759 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc" ; \
35760 for flag in $(EXTRA_TARGET_FLAGS); do \
35761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35762 done; \
35763 (cd $(TARGET_SUBDIR)/libgcc && \
35764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35766 "RANLIB=$${RANLIB}" \
35767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35768 pdf) \
35769 || exit 1
35771 @endif target-libgcc
35773 .PHONY: maybe-html-target-libgcc html-target-libgcc
35774 maybe-html-target-libgcc:
35775 @if target-libgcc
35776 maybe-html-target-libgcc: html-target-libgcc
35778 html-target-libgcc: \
35779 configure-target-libgcc
35780 @: $(MAKE); $(unstage)
35781 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35782 r=`${PWD_COMMAND}`; export r; \
35783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35784 $(NORMAL_TARGET_EXPORTS) \
35785 echo "Doing html in $(TARGET_SUBDIR)/libgcc" ; \
35786 for flag in $(EXTRA_TARGET_FLAGS); do \
35787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35788 done; \
35789 (cd $(TARGET_SUBDIR)/libgcc && \
35790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35792 "RANLIB=$${RANLIB}" \
35793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35794 html) \
35795 || exit 1
35797 @endif target-libgcc
35799 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
35800 maybe-TAGS-target-libgcc:
35801 @if target-libgcc
35802 maybe-TAGS-target-libgcc: TAGS-target-libgcc
35804 TAGS-target-libgcc: \
35805 configure-target-libgcc
35806 @: $(MAKE); $(unstage)
35807 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35808 r=`${PWD_COMMAND}`; export r; \
35809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35810 $(NORMAL_TARGET_EXPORTS) \
35811 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc" ; \
35812 for flag in $(EXTRA_TARGET_FLAGS); do \
35813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35814 done; \
35815 (cd $(TARGET_SUBDIR)/libgcc && \
35816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35818 "RANLIB=$${RANLIB}" \
35819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35820 TAGS) \
35821 || exit 1
35823 @endif target-libgcc
35825 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
35826 maybe-install-info-target-libgcc:
35827 @if target-libgcc
35828 maybe-install-info-target-libgcc: install-info-target-libgcc
35830 install-info-target-libgcc: \
35831 configure-target-libgcc \
35832 info-target-libgcc
35833 @: $(MAKE); $(unstage)
35834 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35835 r=`${PWD_COMMAND}`; export r; \
35836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35837 $(NORMAL_TARGET_EXPORTS) \
35838 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc" ; \
35839 for flag in $(EXTRA_TARGET_FLAGS); do \
35840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35841 done; \
35842 (cd $(TARGET_SUBDIR)/libgcc && \
35843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35845 "RANLIB=$${RANLIB}" \
35846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35847 install-info) \
35848 || exit 1
35850 @endif target-libgcc
35852 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
35853 maybe-install-pdf-target-libgcc:
35854 @if target-libgcc
35855 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
35857 install-pdf-target-libgcc: \
35858 configure-target-libgcc \
35859 pdf-target-libgcc
35860 @: $(MAKE); $(unstage)
35861 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35862 r=`${PWD_COMMAND}`; export r; \
35863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35864 $(NORMAL_TARGET_EXPORTS) \
35865 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc" ; \
35866 for flag in $(EXTRA_TARGET_FLAGS); do \
35867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35868 done; \
35869 (cd $(TARGET_SUBDIR)/libgcc && \
35870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35872 "RANLIB=$${RANLIB}" \
35873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35874 install-pdf) \
35875 || exit 1
35877 @endif target-libgcc
35879 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
35880 maybe-install-html-target-libgcc:
35881 @if target-libgcc
35882 maybe-install-html-target-libgcc: install-html-target-libgcc
35884 install-html-target-libgcc: \
35885 configure-target-libgcc \
35886 html-target-libgcc
35887 @: $(MAKE); $(unstage)
35888 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35889 r=`${PWD_COMMAND}`; export r; \
35890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35891 $(NORMAL_TARGET_EXPORTS) \
35892 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc" ; \
35893 for flag in $(EXTRA_TARGET_FLAGS); do \
35894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35895 done; \
35896 (cd $(TARGET_SUBDIR)/libgcc && \
35897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35899 "RANLIB=$${RANLIB}" \
35900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35901 install-html) \
35902 || exit 1
35904 @endif target-libgcc
35906 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
35907 maybe-installcheck-target-libgcc:
35908 @if target-libgcc
35909 maybe-installcheck-target-libgcc: installcheck-target-libgcc
35911 installcheck-target-libgcc: \
35912 configure-target-libgcc
35913 @: $(MAKE); $(unstage)
35914 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35915 r=`${PWD_COMMAND}`; export r; \
35916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35917 $(NORMAL_TARGET_EXPORTS) \
35918 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc" ; \
35919 for flag in $(EXTRA_TARGET_FLAGS); do \
35920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35921 done; \
35922 (cd $(TARGET_SUBDIR)/libgcc && \
35923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35925 "RANLIB=$${RANLIB}" \
35926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35927 installcheck) \
35928 || exit 1
35930 @endif target-libgcc
35932 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
35933 maybe-mostlyclean-target-libgcc:
35934 @if target-libgcc
35935 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
35937 mostlyclean-target-libgcc:
35938 @: $(MAKE); $(unstage)
35939 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35940 r=`${PWD_COMMAND}`; export r; \
35941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35942 $(NORMAL_TARGET_EXPORTS) \
35943 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc" ; \
35944 for flag in $(EXTRA_TARGET_FLAGS); do \
35945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35946 done; \
35947 (cd $(TARGET_SUBDIR)/libgcc && \
35948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35950 "RANLIB=$${RANLIB}" \
35951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35952 mostlyclean) \
35953 || exit 1
35955 @endif target-libgcc
35957 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
35958 maybe-clean-target-libgcc:
35959 @if target-libgcc
35960 maybe-clean-target-libgcc: clean-target-libgcc
35962 clean-target-libgcc:
35963 @: $(MAKE); $(unstage)
35964 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35965 r=`${PWD_COMMAND}`; export r; \
35966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35967 $(NORMAL_TARGET_EXPORTS) \
35968 echo "Doing clean in $(TARGET_SUBDIR)/libgcc" ; \
35969 for flag in $(EXTRA_TARGET_FLAGS); do \
35970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35971 done; \
35972 (cd $(TARGET_SUBDIR)/libgcc && \
35973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35975 "RANLIB=$${RANLIB}" \
35976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35977 clean) \
35978 || exit 1
35980 @endif target-libgcc
35982 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
35983 maybe-distclean-target-libgcc:
35984 @if target-libgcc
35985 maybe-distclean-target-libgcc: distclean-target-libgcc
35987 distclean-target-libgcc:
35988 @: $(MAKE); $(unstage)
35989 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35990 r=`${PWD_COMMAND}`; export r; \
35991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35992 $(NORMAL_TARGET_EXPORTS) \
35993 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc" ; \
35994 for flag in $(EXTRA_TARGET_FLAGS); do \
35995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35996 done; \
35997 (cd $(TARGET_SUBDIR)/libgcc && \
35998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36000 "RANLIB=$${RANLIB}" \
36001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36002 distclean) \
36003 || exit 1
36005 @endif target-libgcc
36007 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
36008 maybe-maintainer-clean-target-libgcc:
36009 @if target-libgcc
36010 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
36012 maintainer-clean-target-libgcc:
36013 @: $(MAKE); $(unstage)
36014 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
36015 r=`${PWD_COMMAND}`; export r; \
36016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36017 $(NORMAL_TARGET_EXPORTS) \
36018 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc" ; \
36019 for flag in $(EXTRA_TARGET_FLAGS); do \
36020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36021 done; \
36022 (cd $(TARGET_SUBDIR)/libgcc && \
36023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36025 "RANLIB=$${RANLIB}" \
36026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36027 maintainer-clean) \
36028 || exit 1
36030 @endif target-libgcc
36036 .PHONY: configure-target-libbacktrace maybe-configure-target-libbacktrace
36037 maybe-configure-target-libbacktrace:
36038 @if gcc-bootstrap
36039 configure-target-libbacktrace: stage_current
36040 @endif gcc-bootstrap
36041 @if target-libbacktrace
36042 maybe-configure-target-libbacktrace: configure-target-libbacktrace
36043 configure-target-libbacktrace:
36044 @: $(MAKE); $(unstage)
36045 @r=`${PWD_COMMAND}`; export r; \
36046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36047 echo "Checking multilib configuration for libbacktrace..."; \
36048 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace ; \
36049 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null ; \
36050 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
36051 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
36052 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
36053 else \
36054 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
36055 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
36056 fi; \
36057 else \
36058 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
36059 fi; \
36060 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
36061 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace ; \
36062 $(NORMAL_TARGET_EXPORTS) \
36063 echo Configuring in $(TARGET_SUBDIR)/libbacktrace; \
36064 cd "$(TARGET_SUBDIR)/libbacktrace" || exit 1; \
36065 case $(srcdir) in \
36066 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36067 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
36068 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36069 esac; \
36070 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
36071 libsrcdir="$$s/libbacktrace"; \
36072 rm -f no-such-file || : ; \
36073 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36074 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36075 --target=${target_alias} $${srcdiroption} \
36076 || exit 1
36077 @endif target-libbacktrace
36083 .PHONY: all-target-libbacktrace maybe-all-target-libbacktrace
36084 maybe-all-target-libbacktrace:
36085 @if gcc-bootstrap
36086 all-target-libbacktrace: stage_current
36087 @endif gcc-bootstrap
36088 @if target-libbacktrace
36089 TARGET-target-libbacktrace=all
36090 maybe-all-target-libbacktrace: all-target-libbacktrace
36091 all-target-libbacktrace: configure-target-libbacktrace
36092 @: $(MAKE); $(unstage)
36093 @r=`${PWD_COMMAND}`; export r; \
36094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36095 $(NORMAL_TARGET_EXPORTS) \
36096 (cd $(TARGET_SUBDIR)/libbacktrace && \
36097 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36098 $(TARGET-target-libbacktrace))
36099 @endif target-libbacktrace
36105 .PHONY: check-target-libbacktrace maybe-check-target-libbacktrace
36106 maybe-check-target-libbacktrace:
36107 @if target-libbacktrace
36108 maybe-check-target-libbacktrace: check-target-libbacktrace
36110 check-target-libbacktrace:
36111 @: $(MAKE); $(unstage)
36112 @r=`${PWD_COMMAND}`; export r; \
36113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36114 $(NORMAL_TARGET_EXPORTS) \
36115 (cd $(TARGET_SUBDIR)/libbacktrace && \
36116 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36118 @endif target-libbacktrace
36120 .PHONY: install-target-libbacktrace maybe-install-target-libbacktrace
36121 maybe-install-target-libbacktrace:
36122 @if target-libbacktrace
36123 maybe-install-target-libbacktrace: install-target-libbacktrace
36125 install-target-libbacktrace: installdirs
36126 @: $(MAKE); $(unstage)
36127 @r=`${PWD_COMMAND}`; export r; \
36128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36129 $(NORMAL_TARGET_EXPORTS) \
36130 (cd $(TARGET_SUBDIR)/libbacktrace && \
36131 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36133 @endif target-libbacktrace
36135 .PHONY: install-strip-target-libbacktrace maybe-install-strip-target-libbacktrace
36136 maybe-install-strip-target-libbacktrace:
36137 @if target-libbacktrace
36138 maybe-install-strip-target-libbacktrace: install-strip-target-libbacktrace
36140 install-strip-target-libbacktrace: installdirs
36141 @: $(MAKE); $(unstage)
36142 @r=`${PWD_COMMAND}`; export r; \
36143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36144 $(NORMAL_TARGET_EXPORTS) \
36145 (cd $(TARGET_SUBDIR)/libbacktrace && \
36146 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36148 @endif target-libbacktrace
36150 # Other targets (info, dvi, pdf, etc.)
36152 .PHONY: maybe-info-target-libbacktrace info-target-libbacktrace
36153 maybe-info-target-libbacktrace:
36154 @if target-libbacktrace
36155 maybe-info-target-libbacktrace: info-target-libbacktrace
36157 info-target-libbacktrace: \
36158 configure-target-libbacktrace
36159 @: $(MAKE); $(unstage)
36160 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
36161 r=`${PWD_COMMAND}`; export r; \
36162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36163 $(NORMAL_TARGET_EXPORTS) \
36164 echo "Doing info in $(TARGET_SUBDIR)/libbacktrace" ; \
36165 for flag in $(EXTRA_TARGET_FLAGS); do \
36166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36167 done; \
36168 (cd $(TARGET_SUBDIR)/libbacktrace && \
36169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36171 "RANLIB=$${RANLIB}" \
36172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36173 info) \
36174 || exit 1
36176 @endif target-libbacktrace
36178 .PHONY: maybe-dvi-target-libbacktrace dvi-target-libbacktrace
36179 maybe-dvi-target-libbacktrace:
36180 @if target-libbacktrace
36181 maybe-dvi-target-libbacktrace: dvi-target-libbacktrace
36183 dvi-target-libbacktrace: \
36184 configure-target-libbacktrace
36185 @: $(MAKE); $(unstage)
36186 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
36187 r=`${PWD_COMMAND}`; export r; \
36188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36189 $(NORMAL_TARGET_EXPORTS) \
36190 echo "Doing dvi in $(TARGET_SUBDIR)/libbacktrace" ; \
36191 for flag in $(EXTRA_TARGET_FLAGS); do \
36192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36193 done; \
36194 (cd $(TARGET_SUBDIR)/libbacktrace && \
36195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36197 "RANLIB=$${RANLIB}" \
36198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36199 dvi) \
36200 || exit 1
36202 @endif target-libbacktrace
36204 .PHONY: maybe-pdf-target-libbacktrace pdf-target-libbacktrace
36205 maybe-pdf-target-libbacktrace:
36206 @if target-libbacktrace
36207 maybe-pdf-target-libbacktrace: pdf-target-libbacktrace
36209 pdf-target-libbacktrace: \
36210 configure-target-libbacktrace
36211 @: $(MAKE); $(unstage)
36212 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
36213 r=`${PWD_COMMAND}`; export r; \
36214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36215 $(NORMAL_TARGET_EXPORTS) \
36216 echo "Doing pdf in $(TARGET_SUBDIR)/libbacktrace" ; \
36217 for flag in $(EXTRA_TARGET_FLAGS); do \
36218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36219 done; \
36220 (cd $(TARGET_SUBDIR)/libbacktrace && \
36221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36223 "RANLIB=$${RANLIB}" \
36224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36225 pdf) \
36226 || exit 1
36228 @endif target-libbacktrace
36230 .PHONY: maybe-html-target-libbacktrace html-target-libbacktrace
36231 maybe-html-target-libbacktrace:
36232 @if target-libbacktrace
36233 maybe-html-target-libbacktrace: html-target-libbacktrace
36235 html-target-libbacktrace: \
36236 configure-target-libbacktrace
36237 @: $(MAKE); $(unstage)
36238 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
36239 r=`${PWD_COMMAND}`; export r; \
36240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36241 $(NORMAL_TARGET_EXPORTS) \
36242 echo "Doing html in $(TARGET_SUBDIR)/libbacktrace" ; \
36243 for flag in $(EXTRA_TARGET_FLAGS); do \
36244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36245 done; \
36246 (cd $(TARGET_SUBDIR)/libbacktrace && \
36247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36249 "RANLIB=$${RANLIB}" \
36250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36251 html) \
36252 || exit 1
36254 @endif target-libbacktrace
36256 .PHONY: maybe-TAGS-target-libbacktrace TAGS-target-libbacktrace
36257 maybe-TAGS-target-libbacktrace:
36258 @if target-libbacktrace
36259 maybe-TAGS-target-libbacktrace: TAGS-target-libbacktrace
36261 TAGS-target-libbacktrace: \
36262 configure-target-libbacktrace
36263 @: $(MAKE); $(unstage)
36264 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
36265 r=`${PWD_COMMAND}`; export r; \
36266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36267 $(NORMAL_TARGET_EXPORTS) \
36268 echo "Doing TAGS in $(TARGET_SUBDIR)/libbacktrace" ; \
36269 for flag in $(EXTRA_TARGET_FLAGS); do \
36270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36271 done; \
36272 (cd $(TARGET_SUBDIR)/libbacktrace && \
36273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36275 "RANLIB=$${RANLIB}" \
36276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36277 TAGS) \
36278 || exit 1
36280 @endif target-libbacktrace
36282 .PHONY: maybe-install-info-target-libbacktrace install-info-target-libbacktrace
36283 maybe-install-info-target-libbacktrace:
36284 @if target-libbacktrace
36285 maybe-install-info-target-libbacktrace: install-info-target-libbacktrace
36287 install-info-target-libbacktrace: \
36288 configure-target-libbacktrace \
36289 info-target-libbacktrace
36290 @: $(MAKE); $(unstage)
36291 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
36292 r=`${PWD_COMMAND}`; export r; \
36293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36294 $(NORMAL_TARGET_EXPORTS) \
36295 echo "Doing install-info in $(TARGET_SUBDIR)/libbacktrace" ; \
36296 for flag in $(EXTRA_TARGET_FLAGS); do \
36297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36298 done; \
36299 (cd $(TARGET_SUBDIR)/libbacktrace && \
36300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36302 "RANLIB=$${RANLIB}" \
36303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36304 install-info) \
36305 || exit 1
36307 @endif target-libbacktrace
36309 .PHONY: maybe-install-pdf-target-libbacktrace install-pdf-target-libbacktrace
36310 maybe-install-pdf-target-libbacktrace:
36311 @if target-libbacktrace
36312 maybe-install-pdf-target-libbacktrace: install-pdf-target-libbacktrace
36314 install-pdf-target-libbacktrace: \
36315 configure-target-libbacktrace \
36316 pdf-target-libbacktrace
36317 @: $(MAKE); $(unstage)
36318 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
36319 r=`${PWD_COMMAND}`; export r; \
36320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36321 $(NORMAL_TARGET_EXPORTS) \
36322 echo "Doing install-pdf in $(TARGET_SUBDIR)/libbacktrace" ; \
36323 for flag in $(EXTRA_TARGET_FLAGS); do \
36324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36325 done; \
36326 (cd $(TARGET_SUBDIR)/libbacktrace && \
36327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36329 "RANLIB=$${RANLIB}" \
36330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36331 install-pdf) \
36332 || exit 1
36334 @endif target-libbacktrace
36336 .PHONY: maybe-install-html-target-libbacktrace install-html-target-libbacktrace
36337 maybe-install-html-target-libbacktrace:
36338 @if target-libbacktrace
36339 maybe-install-html-target-libbacktrace: install-html-target-libbacktrace
36341 install-html-target-libbacktrace: \
36342 configure-target-libbacktrace \
36343 html-target-libbacktrace
36344 @: $(MAKE); $(unstage)
36345 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
36346 r=`${PWD_COMMAND}`; export r; \
36347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36348 $(NORMAL_TARGET_EXPORTS) \
36349 echo "Doing install-html in $(TARGET_SUBDIR)/libbacktrace" ; \
36350 for flag in $(EXTRA_TARGET_FLAGS); do \
36351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36352 done; \
36353 (cd $(TARGET_SUBDIR)/libbacktrace && \
36354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36356 "RANLIB=$${RANLIB}" \
36357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36358 install-html) \
36359 || exit 1
36361 @endif target-libbacktrace
36363 .PHONY: maybe-installcheck-target-libbacktrace installcheck-target-libbacktrace
36364 maybe-installcheck-target-libbacktrace:
36365 @if target-libbacktrace
36366 maybe-installcheck-target-libbacktrace: installcheck-target-libbacktrace
36368 installcheck-target-libbacktrace: \
36369 configure-target-libbacktrace
36370 @: $(MAKE); $(unstage)
36371 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
36372 r=`${PWD_COMMAND}`; export r; \
36373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36374 $(NORMAL_TARGET_EXPORTS) \
36375 echo "Doing installcheck in $(TARGET_SUBDIR)/libbacktrace" ; \
36376 for flag in $(EXTRA_TARGET_FLAGS); do \
36377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36378 done; \
36379 (cd $(TARGET_SUBDIR)/libbacktrace && \
36380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36382 "RANLIB=$${RANLIB}" \
36383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36384 installcheck) \
36385 || exit 1
36387 @endif target-libbacktrace
36389 .PHONY: maybe-mostlyclean-target-libbacktrace mostlyclean-target-libbacktrace
36390 maybe-mostlyclean-target-libbacktrace:
36391 @if target-libbacktrace
36392 maybe-mostlyclean-target-libbacktrace: mostlyclean-target-libbacktrace
36394 mostlyclean-target-libbacktrace:
36395 @: $(MAKE); $(unstage)
36396 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
36397 r=`${PWD_COMMAND}`; export r; \
36398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36399 $(NORMAL_TARGET_EXPORTS) \
36400 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libbacktrace" ; \
36401 for flag in $(EXTRA_TARGET_FLAGS); do \
36402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36403 done; \
36404 (cd $(TARGET_SUBDIR)/libbacktrace && \
36405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36407 "RANLIB=$${RANLIB}" \
36408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36409 mostlyclean) \
36410 || exit 1
36412 @endif target-libbacktrace
36414 .PHONY: maybe-clean-target-libbacktrace clean-target-libbacktrace
36415 maybe-clean-target-libbacktrace:
36416 @if target-libbacktrace
36417 maybe-clean-target-libbacktrace: clean-target-libbacktrace
36419 clean-target-libbacktrace:
36420 @: $(MAKE); $(unstage)
36421 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
36422 r=`${PWD_COMMAND}`; export r; \
36423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36424 $(NORMAL_TARGET_EXPORTS) \
36425 echo "Doing clean in $(TARGET_SUBDIR)/libbacktrace" ; \
36426 for flag in $(EXTRA_TARGET_FLAGS); do \
36427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36428 done; \
36429 (cd $(TARGET_SUBDIR)/libbacktrace && \
36430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36432 "RANLIB=$${RANLIB}" \
36433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36434 clean) \
36435 || exit 1
36437 @endif target-libbacktrace
36439 .PHONY: maybe-distclean-target-libbacktrace distclean-target-libbacktrace
36440 maybe-distclean-target-libbacktrace:
36441 @if target-libbacktrace
36442 maybe-distclean-target-libbacktrace: distclean-target-libbacktrace
36444 distclean-target-libbacktrace:
36445 @: $(MAKE); $(unstage)
36446 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
36447 r=`${PWD_COMMAND}`; export r; \
36448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36449 $(NORMAL_TARGET_EXPORTS) \
36450 echo "Doing distclean in $(TARGET_SUBDIR)/libbacktrace" ; \
36451 for flag in $(EXTRA_TARGET_FLAGS); do \
36452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36453 done; \
36454 (cd $(TARGET_SUBDIR)/libbacktrace && \
36455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36457 "RANLIB=$${RANLIB}" \
36458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36459 distclean) \
36460 || exit 1
36462 @endif target-libbacktrace
36464 .PHONY: maybe-maintainer-clean-target-libbacktrace maintainer-clean-target-libbacktrace
36465 maybe-maintainer-clean-target-libbacktrace:
36466 @if target-libbacktrace
36467 maybe-maintainer-clean-target-libbacktrace: maintainer-clean-target-libbacktrace
36469 maintainer-clean-target-libbacktrace:
36470 @: $(MAKE); $(unstage)
36471 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
36472 r=`${PWD_COMMAND}`; export r; \
36473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36474 $(NORMAL_TARGET_EXPORTS) \
36475 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libbacktrace" ; \
36476 for flag in $(EXTRA_TARGET_FLAGS); do \
36477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36478 done; \
36479 (cd $(TARGET_SUBDIR)/libbacktrace && \
36480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36482 "RANLIB=$${RANLIB}" \
36483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36484 maintainer-clean) \
36485 || exit 1
36487 @endif target-libbacktrace
36493 .PHONY: configure-target-libquadmath maybe-configure-target-libquadmath
36494 maybe-configure-target-libquadmath:
36495 @if gcc-bootstrap
36496 configure-target-libquadmath: stage_current
36497 @endif gcc-bootstrap
36498 @if target-libquadmath
36499 maybe-configure-target-libquadmath: configure-target-libquadmath
36500 configure-target-libquadmath:
36501 @: $(MAKE); $(unstage)
36502 @r=`${PWD_COMMAND}`; export r; \
36503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36504 echo "Checking multilib configuration for libquadmath..."; \
36505 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
36506 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libquadmath/multilib.tmp 2> /dev/null ; \
36507 if test -r $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
36508 if cmp -s $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
36509 rm -f $(TARGET_SUBDIR)/libquadmath/multilib.tmp; \
36510 else \
36511 rm -f $(TARGET_SUBDIR)/libquadmath/Makefile; \
36512 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
36513 fi; \
36514 else \
36515 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
36516 fi; \
36517 test ! -f $(TARGET_SUBDIR)/libquadmath/Makefile || exit 0; \
36518 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
36519 $(NORMAL_TARGET_EXPORTS) \
36520 echo Configuring in $(TARGET_SUBDIR)/libquadmath; \
36521 cd "$(TARGET_SUBDIR)/libquadmath" || exit 1; \
36522 case $(srcdir) in \
36523 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36524 *) topdir=`echo $(TARGET_SUBDIR)/libquadmath/ | \
36525 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36526 esac; \
36527 srcdiroption="--srcdir=$${topdir}/libquadmath"; \
36528 libsrcdir="$$s/libquadmath"; \
36529 rm -f no-such-file || : ; \
36530 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36531 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36532 --target=${target_alias} $${srcdiroption} \
36533 || exit 1
36534 @endif target-libquadmath
36540 .PHONY: all-target-libquadmath maybe-all-target-libquadmath
36541 maybe-all-target-libquadmath:
36542 @if gcc-bootstrap
36543 all-target-libquadmath: stage_current
36544 @endif gcc-bootstrap
36545 @if target-libquadmath
36546 TARGET-target-libquadmath=all
36547 maybe-all-target-libquadmath: all-target-libquadmath
36548 all-target-libquadmath: configure-target-libquadmath
36549 @: $(MAKE); $(unstage)
36550 @r=`${PWD_COMMAND}`; export r; \
36551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36552 $(NORMAL_TARGET_EXPORTS) \
36553 (cd $(TARGET_SUBDIR)/libquadmath && \
36554 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36555 $(TARGET-target-libquadmath))
36556 @endif target-libquadmath
36562 .PHONY: check-target-libquadmath maybe-check-target-libquadmath
36563 maybe-check-target-libquadmath:
36564 @if target-libquadmath
36565 maybe-check-target-libquadmath: check-target-libquadmath
36567 check-target-libquadmath:
36568 @: $(MAKE); $(unstage)
36569 @r=`${PWD_COMMAND}`; export r; \
36570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36571 $(NORMAL_TARGET_EXPORTS) \
36572 (cd $(TARGET_SUBDIR)/libquadmath && \
36573 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36575 @endif target-libquadmath
36577 .PHONY: install-target-libquadmath maybe-install-target-libquadmath
36578 maybe-install-target-libquadmath:
36579 @if target-libquadmath
36580 maybe-install-target-libquadmath: install-target-libquadmath
36582 install-target-libquadmath: installdirs
36583 @: $(MAKE); $(unstage)
36584 @r=`${PWD_COMMAND}`; export r; \
36585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36586 $(NORMAL_TARGET_EXPORTS) \
36587 (cd $(TARGET_SUBDIR)/libquadmath && \
36588 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36590 @endif target-libquadmath
36592 .PHONY: install-strip-target-libquadmath maybe-install-strip-target-libquadmath
36593 maybe-install-strip-target-libquadmath:
36594 @if target-libquadmath
36595 maybe-install-strip-target-libquadmath: install-strip-target-libquadmath
36597 install-strip-target-libquadmath: installdirs
36598 @: $(MAKE); $(unstage)
36599 @r=`${PWD_COMMAND}`; export r; \
36600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36601 $(NORMAL_TARGET_EXPORTS) \
36602 (cd $(TARGET_SUBDIR)/libquadmath && \
36603 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36605 @endif target-libquadmath
36607 # Other targets (info, dvi, pdf, etc.)
36609 .PHONY: maybe-info-target-libquadmath info-target-libquadmath
36610 maybe-info-target-libquadmath:
36611 @if target-libquadmath
36612 maybe-info-target-libquadmath: info-target-libquadmath
36614 info-target-libquadmath: \
36615 configure-target-libquadmath
36616 @: $(MAKE); $(unstage)
36617 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36618 r=`${PWD_COMMAND}`; export r; \
36619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36620 $(NORMAL_TARGET_EXPORTS) \
36621 echo "Doing info in $(TARGET_SUBDIR)/libquadmath" ; \
36622 for flag in $(EXTRA_TARGET_FLAGS); do \
36623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36624 done; \
36625 (cd $(TARGET_SUBDIR)/libquadmath && \
36626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36628 "RANLIB=$${RANLIB}" \
36629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36630 info) \
36631 || exit 1
36633 @endif target-libquadmath
36635 .PHONY: maybe-dvi-target-libquadmath dvi-target-libquadmath
36636 maybe-dvi-target-libquadmath:
36637 @if target-libquadmath
36638 maybe-dvi-target-libquadmath: dvi-target-libquadmath
36640 dvi-target-libquadmath: \
36641 configure-target-libquadmath
36642 @: $(MAKE); $(unstage)
36643 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36644 r=`${PWD_COMMAND}`; export r; \
36645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36646 $(NORMAL_TARGET_EXPORTS) \
36647 echo "Doing dvi in $(TARGET_SUBDIR)/libquadmath" ; \
36648 for flag in $(EXTRA_TARGET_FLAGS); do \
36649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36650 done; \
36651 (cd $(TARGET_SUBDIR)/libquadmath && \
36652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36654 "RANLIB=$${RANLIB}" \
36655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36656 dvi) \
36657 || exit 1
36659 @endif target-libquadmath
36661 .PHONY: maybe-pdf-target-libquadmath pdf-target-libquadmath
36662 maybe-pdf-target-libquadmath:
36663 @if target-libquadmath
36664 maybe-pdf-target-libquadmath: pdf-target-libquadmath
36666 pdf-target-libquadmath: \
36667 configure-target-libquadmath
36668 @: $(MAKE); $(unstage)
36669 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36670 r=`${PWD_COMMAND}`; export r; \
36671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36672 $(NORMAL_TARGET_EXPORTS) \
36673 echo "Doing pdf in $(TARGET_SUBDIR)/libquadmath" ; \
36674 for flag in $(EXTRA_TARGET_FLAGS); do \
36675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36676 done; \
36677 (cd $(TARGET_SUBDIR)/libquadmath && \
36678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36680 "RANLIB=$${RANLIB}" \
36681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36682 pdf) \
36683 || exit 1
36685 @endif target-libquadmath
36687 .PHONY: maybe-html-target-libquadmath html-target-libquadmath
36688 maybe-html-target-libquadmath:
36689 @if target-libquadmath
36690 maybe-html-target-libquadmath: html-target-libquadmath
36692 html-target-libquadmath: \
36693 configure-target-libquadmath
36694 @: $(MAKE); $(unstage)
36695 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36696 r=`${PWD_COMMAND}`; export r; \
36697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36698 $(NORMAL_TARGET_EXPORTS) \
36699 echo "Doing html in $(TARGET_SUBDIR)/libquadmath" ; \
36700 for flag in $(EXTRA_TARGET_FLAGS); do \
36701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36702 done; \
36703 (cd $(TARGET_SUBDIR)/libquadmath && \
36704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36706 "RANLIB=$${RANLIB}" \
36707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36708 html) \
36709 || exit 1
36711 @endif target-libquadmath
36713 .PHONY: maybe-TAGS-target-libquadmath TAGS-target-libquadmath
36714 maybe-TAGS-target-libquadmath:
36715 @if target-libquadmath
36716 maybe-TAGS-target-libquadmath: TAGS-target-libquadmath
36718 TAGS-target-libquadmath: \
36719 configure-target-libquadmath
36720 @: $(MAKE); $(unstage)
36721 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36722 r=`${PWD_COMMAND}`; export r; \
36723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36724 $(NORMAL_TARGET_EXPORTS) \
36725 echo "Doing TAGS in $(TARGET_SUBDIR)/libquadmath" ; \
36726 for flag in $(EXTRA_TARGET_FLAGS); do \
36727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36728 done; \
36729 (cd $(TARGET_SUBDIR)/libquadmath && \
36730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36732 "RANLIB=$${RANLIB}" \
36733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36734 TAGS) \
36735 || exit 1
36737 @endif target-libquadmath
36739 .PHONY: maybe-install-info-target-libquadmath install-info-target-libquadmath
36740 maybe-install-info-target-libquadmath:
36741 @if target-libquadmath
36742 maybe-install-info-target-libquadmath: install-info-target-libquadmath
36744 install-info-target-libquadmath: \
36745 configure-target-libquadmath \
36746 info-target-libquadmath
36747 @: $(MAKE); $(unstage)
36748 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36749 r=`${PWD_COMMAND}`; export r; \
36750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36751 $(NORMAL_TARGET_EXPORTS) \
36752 echo "Doing install-info in $(TARGET_SUBDIR)/libquadmath" ; \
36753 for flag in $(EXTRA_TARGET_FLAGS); do \
36754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36755 done; \
36756 (cd $(TARGET_SUBDIR)/libquadmath && \
36757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36759 "RANLIB=$${RANLIB}" \
36760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36761 install-info) \
36762 || exit 1
36764 @endif target-libquadmath
36766 .PHONY: maybe-install-pdf-target-libquadmath install-pdf-target-libquadmath
36767 maybe-install-pdf-target-libquadmath:
36768 @if target-libquadmath
36769 maybe-install-pdf-target-libquadmath: install-pdf-target-libquadmath
36771 install-pdf-target-libquadmath: \
36772 configure-target-libquadmath \
36773 pdf-target-libquadmath
36774 @: $(MAKE); $(unstage)
36775 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36776 r=`${PWD_COMMAND}`; export r; \
36777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36778 $(NORMAL_TARGET_EXPORTS) \
36779 echo "Doing install-pdf in $(TARGET_SUBDIR)/libquadmath" ; \
36780 for flag in $(EXTRA_TARGET_FLAGS); do \
36781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36782 done; \
36783 (cd $(TARGET_SUBDIR)/libquadmath && \
36784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36786 "RANLIB=$${RANLIB}" \
36787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36788 install-pdf) \
36789 || exit 1
36791 @endif target-libquadmath
36793 .PHONY: maybe-install-html-target-libquadmath install-html-target-libquadmath
36794 maybe-install-html-target-libquadmath:
36795 @if target-libquadmath
36796 maybe-install-html-target-libquadmath: install-html-target-libquadmath
36798 install-html-target-libquadmath: \
36799 configure-target-libquadmath \
36800 html-target-libquadmath
36801 @: $(MAKE); $(unstage)
36802 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36803 r=`${PWD_COMMAND}`; export r; \
36804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36805 $(NORMAL_TARGET_EXPORTS) \
36806 echo "Doing install-html in $(TARGET_SUBDIR)/libquadmath" ; \
36807 for flag in $(EXTRA_TARGET_FLAGS); do \
36808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36809 done; \
36810 (cd $(TARGET_SUBDIR)/libquadmath && \
36811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36813 "RANLIB=$${RANLIB}" \
36814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36815 install-html) \
36816 || exit 1
36818 @endif target-libquadmath
36820 .PHONY: maybe-installcheck-target-libquadmath installcheck-target-libquadmath
36821 maybe-installcheck-target-libquadmath:
36822 @if target-libquadmath
36823 maybe-installcheck-target-libquadmath: installcheck-target-libquadmath
36825 installcheck-target-libquadmath: \
36826 configure-target-libquadmath
36827 @: $(MAKE); $(unstage)
36828 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36829 r=`${PWD_COMMAND}`; export r; \
36830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36831 $(NORMAL_TARGET_EXPORTS) \
36832 echo "Doing installcheck in $(TARGET_SUBDIR)/libquadmath" ; \
36833 for flag in $(EXTRA_TARGET_FLAGS); do \
36834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36835 done; \
36836 (cd $(TARGET_SUBDIR)/libquadmath && \
36837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36839 "RANLIB=$${RANLIB}" \
36840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36841 installcheck) \
36842 || exit 1
36844 @endif target-libquadmath
36846 .PHONY: maybe-mostlyclean-target-libquadmath mostlyclean-target-libquadmath
36847 maybe-mostlyclean-target-libquadmath:
36848 @if target-libquadmath
36849 maybe-mostlyclean-target-libquadmath: mostlyclean-target-libquadmath
36851 mostlyclean-target-libquadmath:
36852 @: $(MAKE); $(unstage)
36853 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36854 r=`${PWD_COMMAND}`; export r; \
36855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36856 $(NORMAL_TARGET_EXPORTS) \
36857 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libquadmath" ; \
36858 for flag in $(EXTRA_TARGET_FLAGS); do \
36859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36860 done; \
36861 (cd $(TARGET_SUBDIR)/libquadmath && \
36862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36864 "RANLIB=$${RANLIB}" \
36865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36866 mostlyclean) \
36867 || exit 1
36869 @endif target-libquadmath
36871 .PHONY: maybe-clean-target-libquadmath clean-target-libquadmath
36872 maybe-clean-target-libquadmath:
36873 @if target-libquadmath
36874 maybe-clean-target-libquadmath: clean-target-libquadmath
36876 clean-target-libquadmath:
36877 @: $(MAKE); $(unstage)
36878 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36879 r=`${PWD_COMMAND}`; export r; \
36880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36881 $(NORMAL_TARGET_EXPORTS) \
36882 echo "Doing clean in $(TARGET_SUBDIR)/libquadmath" ; \
36883 for flag in $(EXTRA_TARGET_FLAGS); do \
36884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36885 done; \
36886 (cd $(TARGET_SUBDIR)/libquadmath && \
36887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36889 "RANLIB=$${RANLIB}" \
36890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36891 clean) \
36892 || exit 1
36894 @endif target-libquadmath
36896 .PHONY: maybe-distclean-target-libquadmath distclean-target-libquadmath
36897 maybe-distclean-target-libquadmath:
36898 @if target-libquadmath
36899 maybe-distclean-target-libquadmath: distclean-target-libquadmath
36901 distclean-target-libquadmath:
36902 @: $(MAKE); $(unstage)
36903 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36904 r=`${PWD_COMMAND}`; export r; \
36905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36906 $(NORMAL_TARGET_EXPORTS) \
36907 echo "Doing distclean in $(TARGET_SUBDIR)/libquadmath" ; \
36908 for flag in $(EXTRA_TARGET_FLAGS); do \
36909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36910 done; \
36911 (cd $(TARGET_SUBDIR)/libquadmath && \
36912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36914 "RANLIB=$${RANLIB}" \
36915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36916 distclean) \
36917 || exit 1
36919 @endif target-libquadmath
36921 .PHONY: maybe-maintainer-clean-target-libquadmath maintainer-clean-target-libquadmath
36922 maybe-maintainer-clean-target-libquadmath:
36923 @if target-libquadmath
36924 maybe-maintainer-clean-target-libquadmath: maintainer-clean-target-libquadmath
36926 maintainer-clean-target-libquadmath:
36927 @: $(MAKE); $(unstage)
36928 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36929 r=`${PWD_COMMAND}`; export r; \
36930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36931 $(NORMAL_TARGET_EXPORTS) \
36932 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libquadmath" ; \
36933 for flag in $(EXTRA_TARGET_FLAGS); do \
36934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36935 done; \
36936 (cd $(TARGET_SUBDIR)/libquadmath && \
36937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36939 "RANLIB=$${RANLIB}" \
36940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36941 maintainer-clean) \
36942 || exit 1
36944 @endif target-libquadmath
36950 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
36951 maybe-configure-target-libgfortran:
36952 @if gcc-bootstrap
36953 configure-target-libgfortran: stage_current
36954 @endif gcc-bootstrap
36955 @if target-libgfortran
36956 maybe-configure-target-libgfortran: configure-target-libgfortran
36957 configure-target-libgfortran:
36958 @: $(MAKE); $(unstage)
36959 @r=`${PWD_COMMAND}`; export r; \
36960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36961 echo "Checking multilib configuration for libgfortran..."; \
36962 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
36963 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
36964 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
36965 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
36966 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
36967 else \
36968 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
36969 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
36970 fi; \
36971 else \
36972 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
36973 fi; \
36974 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
36975 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
36976 $(NORMAL_TARGET_EXPORTS) \
36977 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
36978 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
36979 case $(srcdir) in \
36980 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36981 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
36982 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36983 esac; \
36984 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
36985 libsrcdir="$$s/libgfortran"; \
36986 rm -f no-such-file || : ; \
36987 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36988 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36989 --target=${target_alias} $${srcdiroption} \
36990 || exit 1
36991 @endif target-libgfortran
36997 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
36998 maybe-all-target-libgfortran:
36999 @if gcc-bootstrap
37000 all-target-libgfortran: stage_current
37001 @endif gcc-bootstrap
37002 @if target-libgfortran
37003 TARGET-target-libgfortran=all
37004 maybe-all-target-libgfortran: all-target-libgfortran
37005 all-target-libgfortran: configure-target-libgfortran
37006 @: $(MAKE); $(unstage)
37007 @r=`${PWD_COMMAND}`; export r; \
37008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37009 $(NORMAL_TARGET_EXPORTS) \
37010 (cd $(TARGET_SUBDIR)/libgfortran && \
37011 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37012 $(TARGET-target-libgfortran))
37013 @endif target-libgfortran
37019 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
37020 maybe-check-target-libgfortran:
37021 @if target-libgfortran
37022 maybe-check-target-libgfortran: check-target-libgfortran
37024 check-target-libgfortran:
37025 @: $(MAKE); $(unstage)
37026 @r=`${PWD_COMMAND}`; export r; \
37027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37028 $(NORMAL_TARGET_EXPORTS) \
37029 (cd $(TARGET_SUBDIR)/libgfortran && \
37030 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37032 @endif target-libgfortran
37034 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
37035 maybe-install-target-libgfortran:
37036 @if target-libgfortran
37037 maybe-install-target-libgfortran: install-target-libgfortran
37039 install-target-libgfortran: installdirs
37040 @: $(MAKE); $(unstage)
37041 @r=`${PWD_COMMAND}`; export r; \
37042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37043 $(NORMAL_TARGET_EXPORTS) \
37044 (cd $(TARGET_SUBDIR)/libgfortran && \
37045 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37047 @endif target-libgfortran
37049 .PHONY: install-strip-target-libgfortran maybe-install-strip-target-libgfortran
37050 maybe-install-strip-target-libgfortran:
37051 @if target-libgfortran
37052 maybe-install-strip-target-libgfortran: install-strip-target-libgfortran
37054 install-strip-target-libgfortran: installdirs
37055 @: $(MAKE); $(unstage)
37056 @r=`${PWD_COMMAND}`; export r; \
37057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37058 $(NORMAL_TARGET_EXPORTS) \
37059 (cd $(TARGET_SUBDIR)/libgfortran && \
37060 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37062 @endif target-libgfortran
37064 # Other targets (info, dvi, pdf, etc.)
37066 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
37067 maybe-info-target-libgfortran:
37068 @if target-libgfortran
37069 maybe-info-target-libgfortran: info-target-libgfortran
37071 info-target-libgfortran: \
37072 configure-target-libgfortran
37073 @: $(MAKE); $(unstage)
37074 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
37075 r=`${PWD_COMMAND}`; export r; \
37076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37077 $(NORMAL_TARGET_EXPORTS) \
37078 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
37079 for flag in $(EXTRA_TARGET_FLAGS); do \
37080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37081 done; \
37082 (cd $(TARGET_SUBDIR)/libgfortran && \
37083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37085 "RANLIB=$${RANLIB}" \
37086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37087 info) \
37088 || exit 1
37090 @endif target-libgfortran
37092 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
37093 maybe-dvi-target-libgfortran:
37094 @if target-libgfortran
37095 maybe-dvi-target-libgfortran: dvi-target-libgfortran
37097 dvi-target-libgfortran: \
37098 configure-target-libgfortran
37099 @: $(MAKE); $(unstage)
37100 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
37101 r=`${PWD_COMMAND}`; export r; \
37102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37103 $(NORMAL_TARGET_EXPORTS) \
37104 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
37105 for flag in $(EXTRA_TARGET_FLAGS); do \
37106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37107 done; \
37108 (cd $(TARGET_SUBDIR)/libgfortran && \
37109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37111 "RANLIB=$${RANLIB}" \
37112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37113 dvi) \
37114 || exit 1
37116 @endif target-libgfortran
37118 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
37119 maybe-pdf-target-libgfortran:
37120 @if target-libgfortran
37121 maybe-pdf-target-libgfortran: pdf-target-libgfortran
37123 pdf-target-libgfortran: \
37124 configure-target-libgfortran
37125 @: $(MAKE); $(unstage)
37126 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
37127 r=`${PWD_COMMAND}`; export r; \
37128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37129 $(NORMAL_TARGET_EXPORTS) \
37130 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran" ; \
37131 for flag in $(EXTRA_TARGET_FLAGS); do \
37132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37133 done; \
37134 (cd $(TARGET_SUBDIR)/libgfortran && \
37135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37137 "RANLIB=$${RANLIB}" \
37138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37139 pdf) \
37140 || exit 1
37142 @endif target-libgfortran
37144 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
37145 maybe-html-target-libgfortran:
37146 @if target-libgfortran
37147 maybe-html-target-libgfortran: html-target-libgfortran
37149 html-target-libgfortran: \
37150 configure-target-libgfortran
37151 @: $(MAKE); $(unstage)
37152 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
37153 r=`${PWD_COMMAND}`; export r; \
37154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37155 $(NORMAL_TARGET_EXPORTS) \
37156 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
37157 for flag in $(EXTRA_TARGET_FLAGS); do \
37158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37159 done; \
37160 (cd $(TARGET_SUBDIR)/libgfortran && \
37161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37163 "RANLIB=$${RANLIB}" \
37164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37165 html) \
37166 || exit 1
37168 @endif target-libgfortran
37170 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
37171 maybe-TAGS-target-libgfortran:
37172 @if target-libgfortran
37173 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
37175 TAGS-target-libgfortran: \
37176 configure-target-libgfortran
37177 @: $(MAKE); $(unstage)
37178 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
37179 r=`${PWD_COMMAND}`; export r; \
37180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37181 $(NORMAL_TARGET_EXPORTS) \
37182 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
37183 for flag in $(EXTRA_TARGET_FLAGS); do \
37184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37185 done; \
37186 (cd $(TARGET_SUBDIR)/libgfortran && \
37187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37189 "RANLIB=$${RANLIB}" \
37190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37191 TAGS) \
37192 || exit 1
37194 @endif target-libgfortran
37196 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
37197 maybe-install-info-target-libgfortran:
37198 @if target-libgfortran
37199 maybe-install-info-target-libgfortran: install-info-target-libgfortran
37201 install-info-target-libgfortran: \
37202 configure-target-libgfortran \
37203 info-target-libgfortran
37204 @: $(MAKE); $(unstage)
37205 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
37206 r=`${PWD_COMMAND}`; export r; \
37207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37208 $(NORMAL_TARGET_EXPORTS) \
37209 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
37210 for flag in $(EXTRA_TARGET_FLAGS); do \
37211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37212 done; \
37213 (cd $(TARGET_SUBDIR)/libgfortran && \
37214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37216 "RANLIB=$${RANLIB}" \
37217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37218 install-info) \
37219 || exit 1
37221 @endif target-libgfortran
37223 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
37224 maybe-install-pdf-target-libgfortran:
37225 @if target-libgfortran
37226 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
37228 install-pdf-target-libgfortran: \
37229 configure-target-libgfortran \
37230 pdf-target-libgfortran
37231 @: $(MAKE); $(unstage)
37232 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
37233 r=`${PWD_COMMAND}`; export r; \
37234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37235 $(NORMAL_TARGET_EXPORTS) \
37236 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran" ; \
37237 for flag in $(EXTRA_TARGET_FLAGS); do \
37238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37239 done; \
37240 (cd $(TARGET_SUBDIR)/libgfortran && \
37241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37243 "RANLIB=$${RANLIB}" \
37244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37245 install-pdf) \
37246 || exit 1
37248 @endif target-libgfortran
37250 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
37251 maybe-install-html-target-libgfortran:
37252 @if target-libgfortran
37253 maybe-install-html-target-libgfortran: install-html-target-libgfortran
37255 install-html-target-libgfortran: \
37256 configure-target-libgfortran \
37257 html-target-libgfortran
37258 @: $(MAKE); $(unstage)
37259 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
37260 r=`${PWD_COMMAND}`; export r; \
37261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37262 $(NORMAL_TARGET_EXPORTS) \
37263 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran" ; \
37264 for flag in $(EXTRA_TARGET_FLAGS); do \
37265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37266 done; \
37267 (cd $(TARGET_SUBDIR)/libgfortran && \
37268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37270 "RANLIB=$${RANLIB}" \
37271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37272 install-html) \
37273 || exit 1
37275 @endif target-libgfortran
37277 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
37278 maybe-installcheck-target-libgfortran:
37279 @if target-libgfortran
37280 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
37282 installcheck-target-libgfortran: \
37283 configure-target-libgfortran
37284 @: $(MAKE); $(unstage)
37285 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
37286 r=`${PWD_COMMAND}`; export r; \
37287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37288 $(NORMAL_TARGET_EXPORTS) \
37289 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
37290 for flag in $(EXTRA_TARGET_FLAGS); do \
37291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37292 done; \
37293 (cd $(TARGET_SUBDIR)/libgfortran && \
37294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37296 "RANLIB=$${RANLIB}" \
37297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37298 installcheck) \
37299 || exit 1
37301 @endif target-libgfortran
37303 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
37304 maybe-mostlyclean-target-libgfortran:
37305 @if target-libgfortran
37306 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
37308 mostlyclean-target-libgfortran:
37309 @: $(MAKE); $(unstage)
37310 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
37311 r=`${PWD_COMMAND}`; export r; \
37312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37313 $(NORMAL_TARGET_EXPORTS) \
37314 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
37315 for flag in $(EXTRA_TARGET_FLAGS); do \
37316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37317 done; \
37318 (cd $(TARGET_SUBDIR)/libgfortran && \
37319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37321 "RANLIB=$${RANLIB}" \
37322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37323 mostlyclean) \
37324 || exit 1
37326 @endif target-libgfortran
37328 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
37329 maybe-clean-target-libgfortran:
37330 @if target-libgfortran
37331 maybe-clean-target-libgfortran: clean-target-libgfortran
37333 clean-target-libgfortran:
37334 @: $(MAKE); $(unstage)
37335 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
37336 r=`${PWD_COMMAND}`; export r; \
37337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37338 $(NORMAL_TARGET_EXPORTS) \
37339 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
37340 for flag in $(EXTRA_TARGET_FLAGS); do \
37341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37342 done; \
37343 (cd $(TARGET_SUBDIR)/libgfortran && \
37344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37346 "RANLIB=$${RANLIB}" \
37347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37348 clean) \
37349 || exit 1
37351 @endif target-libgfortran
37353 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
37354 maybe-distclean-target-libgfortran:
37355 @if target-libgfortran
37356 maybe-distclean-target-libgfortran: distclean-target-libgfortran
37358 distclean-target-libgfortran:
37359 @: $(MAKE); $(unstage)
37360 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
37361 r=`${PWD_COMMAND}`; export r; \
37362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37363 $(NORMAL_TARGET_EXPORTS) \
37364 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
37365 for flag in $(EXTRA_TARGET_FLAGS); do \
37366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37367 done; \
37368 (cd $(TARGET_SUBDIR)/libgfortran && \
37369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37371 "RANLIB=$${RANLIB}" \
37372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37373 distclean) \
37374 || exit 1
37376 @endif target-libgfortran
37378 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
37379 maybe-maintainer-clean-target-libgfortran:
37380 @if target-libgfortran
37381 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
37383 maintainer-clean-target-libgfortran:
37384 @: $(MAKE); $(unstage)
37385 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
37386 r=`${PWD_COMMAND}`; export r; \
37387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37388 $(NORMAL_TARGET_EXPORTS) \
37389 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
37390 for flag in $(EXTRA_TARGET_FLAGS); do \
37391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37392 done; \
37393 (cd $(TARGET_SUBDIR)/libgfortran && \
37394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37396 "RANLIB=$${RANLIB}" \
37397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37398 maintainer-clean) \
37399 || exit 1
37401 @endif target-libgfortran
37407 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
37408 maybe-configure-target-libobjc:
37409 @if gcc-bootstrap
37410 configure-target-libobjc: stage_current
37411 @endif gcc-bootstrap
37412 @if target-libobjc
37413 maybe-configure-target-libobjc: configure-target-libobjc
37414 configure-target-libobjc:
37415 @: $(MAKE); $(unstage)
37416 @r=`${PWD_COMMAND}`; export r; \
37417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37418 echo "Checking multilib configuration for libobjc..."; \
37419 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
37420 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
37421 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
37422 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
37423 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
37424 else \
37425 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
37426 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
37427 fi; \
37428 else \
37429 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
37430 fi; \
37431 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
37432 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
37433 $(NORMAL_TARGET_EXPORTS) \
37434 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
37435 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
37436 case $(srcdir) in \
37437 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37438 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
37439 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37440 esac; \
37441 srcdiroption="--srcdir=$${topdir}/libobjc"; \
37442 libsrcdir="$$s/libobjc"; \
37443 rm -f no-such-file || : ; \
37444 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37445 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37446 --target=${target_alias} $${srcdiroption} \
37447 || exit 1
37448 @endif target-libobjc
37454 .PHONY: all-target-libobjc maybe-all-target-libobjc
37455 maybe-all-target-libobjc:
37456 @if gcc-bootstrap
37457 all-target-libobjc: stage_current
37458 @endif gcc-bootstrap
37459 @if target-libobjc
37460 TARGET-target-libobjc=all
37461 maybe-all-target-libobjc: all-target-libobjc
37462 all-target-libobjc: configure-target-libobjc
37463 @: $(MAKE); $(unstage)
37464 @r=`${PWD_COMMAND}`; export r; \
37465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37466 $(NORMAL_TARGET_EXPORTS) \
37467 (cd $(TARGET_SUBDIR)/libobjc && \
37468 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37469 $(TARGET-target-libobjc))
37470 @endif target-libobjc
37476 .PHONY: check-target-libobjc maybe-check-target-libobjc
37477 maybe-check-target-libobjc:
37478 @if target-libobjc
37479 maybe-check-target-libobjc: check-target-libobjc
37481 check-target-libobjc:
37482 @: $(MAKE); $(unstage)
37483 @r=`${PWD_COMMAND}`; export r; \
37484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37485 $(NORMAL_TARGET_EXPORTS) \
37486 (cd $(TARGET_SUBDIR)/libobjc && \
37487 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37489 @endif target-libobjc
37491 .PHONY: install-target-libobjc maybe-install-target-libobjc
37492 maybe-install-target-libobjc:
37493 @if target-libobjc
37494 maybe-install-target-libobjc: install-target-libobjc
37496 install-target-libobjc: installdirs
37497 @: $(MAKE); $(unstage)
37498 @r=`${PWD_COMMAND}`; export r; \
37499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37500 $(NORMAL_TARGET_EXPORTS) \
37501 (cd $(TARGET_SUBDIR)/libobjc && \
37502 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37504 @endif target-libobjc
37506 .PHONY: install-strip-target-libobjc maybe-install-strip-target-libobjc
37507 maybe-install-strip-target-libobjc:
37508 @if target-libobjc
37509 maybe-install-strip-target-libobjc: install-strip-target-libobjc
37511 install-strip-target-libobjc: installdirs
37512 @: $(MAKE); $(unstage)
37513 @r=`${PWD_COMMAND}`; export r; \
37514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37515 $(NORMAL_TARGET_EXPORTS) \
37516 (cd $(TARGET_SUBDIR)/libobjc && \
37517 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37519 @endif target-libobjc
37521 # Other targets (info, dvi, pdf, etc.)
37523 .PHONY: maybe-info-target-libobjc info-target-libobjc
37524 maybe-info-target-libobjc:
37525 @if target-libobjc
37526 maybe-info-target-libobjc: info-target-libobjc
37528 info-target-libobjc: \
37529 configure-target-libobjc
37530 @: $(MAKE); $(unstage)
37531 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37532 r=`${PWD_COMMAND}`; export r; \
37533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37534 $(NORMAL_TARGET_EXPORTS) \
37535 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
37536 for flag in $(EXTRA_TARGET_FLAGS); do \
37537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37538 done; \
37539 (cd $(TARGET_SUBDIR)/libobjc && \
37540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37542 "RANLIB=$${RANLIB}" \
37543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37544 info) \
37545 || exit 1
37547 @endif target-libobjc
37549 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
37550 maybe-dvi-target-libobjc:
37551 @if target-libobjc
37552 maybe-dvi-target-libobjc: dvi-target-libobjc
37554 dvi-target-libobjc: \
37555 configure-target-libobjc
37556 @: $(MAKE); $(unstage)
37557 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37558 r=`${PWD_COMMAND}`; export r; \
37559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37560 $(NORMAL_TARGET_EXPORTS) \
37561 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
37562 for flag in $(EXTRA_TARGET_FLAGS); do \
37563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37564 done; \
37565 (cd $(TARGET_SUBDIR)/libobjc && \
37566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37568 "RANLIB=$${RANLIB}" \
37569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37570 dvi) \
37571 || exit 1
37573 @endif target-libobjc
37575 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
37576 maybe-pdf-target-libobjc:
37577 @if target-libobjc
37578 maybe-pdf-target-libobjc: pdf-target-libobjc
37580 pdf-target-libobjc: \
37581 configure-target-libobjc
37582 @: $(MAKE); $(unstage)
37583 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37584 r=`${PWD_COMMAND}`; export r; \
37585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37586 $(NORMAL_TARGET_EXPORTS) \
37587 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc" ; \
37588 for flag in $(EXTRA_TARGET_FLAGS); do \
37589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37590 done; \
37591 (cd $(TARGET_SUBDIR)/libobjc && \
37592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37594 "RANLIB=$${RANLIB}" \
37595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37596 pdf) \
37597 || exit 1
37599 @endif target-libobjc
37601 .PHONY: maybe-html-target-libobjc html-target-libobjc
37602 maybe-html-target-libobjc:
37603 @if target-libobjc
37604 maybe-html-target-libobjc: html-target-libobjc
37606 html-target-libobjc: \
37607 configure-target-libobjc
37608 @: $(MAKE); $(unstage)
37609 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37610 r=`${PWD_COMMAND}`; export r; \
37611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37612 $(NORMAL_TARGET_EXPORTS) \
37613 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
37614 for flag in $(EXTRA_TARGET_FLAGS); do \
37615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37616 done; \
37617 (cd $(TARGET_SUBDIR)/libobjc && \
37618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37620 "RANLIB=$${RANLIB}" \
37621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37622 html) \
37623 || exit 1
37625 @endif target-libobjc
37627 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
37628 maybe-TAGS-target-libobjc:
37629 @if target-libobjc
37630 maybe-TAGS-target-libobjc: TAGS-target-libobjc
37632 TAGS-target-libobjc: \
37633 configure-target-libobjc
37634 @: $(MAKE); $(unstage)
37635 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37636 r=`${PWD_COMMAND}`; export r; \
37637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37638 $(NORMAL_TARGET_EXPORTS) \
37639 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
37640 for flag in $(EXTRA_TARGET_FLAGS); do \
37641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37642 done; \
37643 (cd $(TARGET_SUBDIR)/libobjc && \
37644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37646 "RANLIB=$${RANLIB}" \
37647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37648 TAGS) \
37649 || exit 1
37651 @endif target-libobjc
37653 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
37654 maybe-install-info-target-libobjc:
37655 @if target-libobjc
37656 maybe-install-info-target-libobjc: install-info-target-libobjc
37658 install-info-target-libobjc: \
37659 configure-target-libobjc \
37660 info-target-libobjc
37661 @: $(MAKE); $(unstage)
37662 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37663 r=`${PWD_COMMAND}`; export r; \
37664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37665 $(NORMAL_TARGET_EXPORTS) \
37666 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
37667 for flag in $(EXTRA_TARGET_FLAGS); do \
37668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37669 done; \
37670 (cd $(TARGET_SUBDIR)/libobjc && \
37671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37673 "RANLIB=$${RANLIB}" \
37674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37675 install-info) \
37676 || exit 1
37678 @endif target-libobjc
37680 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
37681 maybe-install-pdf-target-libobjc:
37682 @if target-libobjc
37683 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
37685 install-pdf-target-libobjc: \
37686 configure-target-libobjc \
37687 pdf-target-libobjc
37688 @: $(MAKE); $(unstage)
37689 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37690 r=`${PWD_COMMAND}`; export r; \
37691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37692 $(NORMAL_TARGET_EXPORTS) \
37693 echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc" ; \
37694 for flag in $(EXTRA_TARGET_FLAGS); do \
37695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37696 done; \
37697 (cd $(TARGET_SUBDIR)/libobjc && \
37698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37700 "RANLIB=$${RANLIB}" \
37701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37702 install-pdf) \
37703 || exit 1
37705 @endif target-libobjc
37707 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
37708 maybe-install-html-target-libobjc:
37709 @if target-libobjc
37710 maybe-install-html-target-libobjc: install-html-target-libobjc
37712 install-html-target-libobjc: \
37713 configure-target-libobjc \
37714 html-target-libobjc
37715 @: $(MAKE); $(unstage)
37716 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37717 r=`${PWD_COMMAND}`; export r; \
37718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37719 $(NORMAL_TARGET_EXPORTS) \
37720 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc" ; \
37721 for flag in $(EXTRA_TARGET_FLAGS); do \
37722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37723 done; \
37724 (cd $(TARGET_SUBDIR)/libobjc && \
37725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37727 "RANLIB=$${RANLIB}" \
37728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37729 install-html) \
37730 || exit 1
37732 @endif target-libobjc
37734 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
37735 maybe-installcheck-target-libobjc:
37736 @if target-libobjc
37737 maybe-installcheck-target-libobjc: installcheck-target-libobjc
37739 installcheck-target-libobjc: \
37740 configure-target-libobjc
37741 @: $(MAKE); $(unstage)
37742 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37743 r=`${PWD_COMMAND}`; export r; \
37744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37745 $(NORMAL_TARGET_EXPORTS) \
37746 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
37747 for flag in $(EXTRA_TARGET_FLAGS); do \
37748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37749 done; \
37750 (cd $(TARGET_SUBDIR)/libobjc && \
37751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37753 "RANLIB=$${RANLIB}" \
37754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37755 installcheck) \
37756 || exit 1
37758 @endif target-libobjc
37760 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
37761 maybe-mostlyclean-target-libobjc:
37762 @if target-libobjc
37763 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
37765 mostlyclean-target-libobjc:
37766 @: $(MAKE); $(unstage)
37767 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37768 r=`${PWD_COMMAND}`; export r; \
37769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37770 $(NORMAL_TARGET_EXPORTS) \
37771 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
37772 for flag in $(EXTRA_TARGET_FLAGS); do \
37773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37774 done; \
37775 (cd $(TARGET_SUBDIR)/libobjc && \
37776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37778 "RANLIB=$${RANLIB}" \
37779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37780 mostlyclean) \
37781 || exit 1
37783 @endif target-libobjc
37785 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
37786 maybe-clean-target-libobjc:
37787 @if target-libobjc
37788 maybe-clean-target-libobjc: clean-target-libobjc
37790 clean-target-libobjc:
37791 @: $(MAKE); $(unstage)
37792 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37793 r=`${PWD_COMMAND}`; export r; \
37794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37795 $(NORMAL_TARGET_EXPORTS) \
37796 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
37797 for flag in $(EXTRA_TARGET_FLAGS); do \
37798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37799 done; \
37800 (cd $(TARGET_SUBDIR)/libobjc && \
37801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37803 "RANLIB=$${RANLIB}" \
37804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37805 clean) \
37806 || exit 1
37808 @endif target-libobjc
37810 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
37811 maybe-distclean-target-libobjc:
37812 @if target-libobjc
37813 maybe-distclean-target-libobjc: distclean-target-libobjc
37815 distclean-target-libobjc:
37816 @: $(MAKE); $(unstage)
37817 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37818 r=`${PWD_COMMAND}`; export r; \
37819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37820 $(NORMAL_TARGET_EXPORTS) \
37821 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
37822 for flag in $(EXTRA_TARGET_FLAGS); do \
37823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37824 done; \
37825 (cd $(TARGET_SUBDIR)/libobjc && \
37826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37828 "RANLIB=$${RANLIB}" \
37829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37830 distclean) \
37831 || exit 1
37833 @endif target-libobjc
37835 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
37836 maybe-maintainer-clean-target-libobjc:
37837 @if target-libobjc
37838 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
37840 maintainer-clean-target-libobjc:
37841 @: $(MAKE); $(unstage)
37842 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37843 r=`${PWD_COMMAND}`; export r; \
37844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37845 $(NORMAL_TARGET_EXPORTS) \
37846 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
37847 for flag in $(EXTRA_TARGET_FLAGS); do \
37848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37849 done; \
37850 (cd $(TARGET_SUBDIR)/libobjc && \
37851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37853 "RANLIB=$${RANLIB}" \
37854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37855 maintainer-clean) \
37856 || exit 1
37858 @endif target-libobjc
37864 .PHONY: configure-target-libgo maybe-configure-target-libgo
37865 maybe-configure-target-libgo:
37866 @if gcc-bootstrap
37867 configure-target-libgo: stage_current
37868 @endif gcc-bootstrap
37869 @if target-libgo
37870 maybe-configure-target-libgo: configure-target-libgo
37871 configure-target-libgo:
37872 @: $(MAKE); $(unstage)
37873 @r=`${PWD_COMMAND}`; export r; \
37874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37875 echo "Checking multilib configuration for libgo..."; \
37876 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
37877 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgo/multilib.tmp 2> /dev/null ; \
37878 if test -r $(TARGET_SUBDIR)/libgo/multilib.out; then \
37879 if cmp -s $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; then \
37880 rm -f $(TARGET_SUBDIR)/libgo/multilib.tmp; \
37881 else \
37882 rm -f $(TARGET_SUBDIR)/libgo/Makefile; \
37883 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
37884 fi; \
37885 else \
37886 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
37887 fi; \
37888 test ! -f $(TARGET_SUBDIR)/libgo/Makefile || exit 0; \
37889 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
37890 $(NORMAL_TARGET_EXPORTS) \
37891 echo Configuring in $(TARGET_SUBDIR)/libgo; \
37892 cd "$(TARGET_SUBDIR)/libgo" || exit 1; \
37893 case $(srcdir) in \
37894 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37895 *) topdir=`echo $(TARGET_SUBDIR)/libgo/ | \
37896 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37897 esac; \
37898 srcdiroption="--srcdir=$${topdir}/libgo"; \
37899 libsrcdir="$$s/libgo"; \
37900 rm -f no-such-file || : ; \
37901 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37902 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37903 --target=${target_alias} $${srcdiroption} \
37904 || exit 1
37905 @endif target-libgo
37911 .PHONY: all-target-libgo maybe-all-target-libgo
37912 maybe-all-target-libgo:
37913 @if gcc-bootstrap
37914 all-target-libgo: stage_current
37915 @endif gcc-bootstrap
37916 @if target-libgo
37917 TARGET-target-libgo=all
37918 maybe-all-target-libgo: all-target-libgo
37919 all-target-libgo: configure-target-libgo
37920 @: $(MAKE); $(unstage)
37921 @r=`${PWD_COMMAND}`; export r; \
37922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37923 $(NORMAL_TARGET_EXPORTS) \
37924 (cd $(TARGET_SUBDIR)/libgo && \
37925 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37926 $(TARGET-target-libgo))
37927 @endif target-libgo
37933 .PHONY: check-target-libgo maybe-check-target-libgo
37934 maybe-check-target-libgo:
37935 @if target-libgo
37936 maybe-check-target-libgo: check-target-libgo
37938 check-target-libgo:
37939 @: $(MAKE); $(unstage)
37940 @r=`${PWD_COMMAND}`; export r; \
37941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37942 $(NORMAL_TARGET_EXPORTS) \
37943 (cd $(TARGET_SUBDIR)/libgo && \
37944 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37946 @endif target-libgo
37948 .PHONY: install-target-libgo maybe-install-target-libgo
37949 maybe-install-target-libgo:
37950 @if target-libgo
37951 maybe-install-target-libgo: install-target-libgo
37953 install-target-libgo: installdirs
37954 @: $(MAKE); $(unstage)
37955 @r=`${PWD_COMMAND}`; export r; \
37956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37957 $(NORMAL_TARGET_EXPORTS) \
37958 (cd $(TARGET_SUBDIR)/libgo && \
37959 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37961 @endif target-libgo
37963 .PHONY: install-strip-target-libgo maybe-install-strip-target-libgo
37964 maybe-install-strip-target-libgo:
37965 @if target-libgo
37966 maybe-install-strip-target-libgo: install-strip-target-libgo
37968 install-strip-target-libgo: installdirs
37969 @: $(MAKE); $(unstage)
37970 @r=`${PWD_COMMAND}`; export r; \
37971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37972 $(NORMAL_TARGET_EXPORTS) \
37973 (cd $(TARGET_SUBDIR)/libgo && \
37974 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37976 @endif target-libgo
37978 # Other targets (info, dvi, pdf, etc.)
37980 .PHONY: maybe-info-target-libgo info-target-libgo
37981 maybe-info-target-libgo:
37982 @if target-libgo
37983 maybe-info-target-libgo: info-target-libgo
37985 info-target-libgo: \
37986 configure-target-libgo
37987 @: $(MAKE); $(unstage)
37988 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
37989 r=`${PWD_COMMAND}`; export r; \
37990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37991 $(NORMAL_TARGET_EXPORTS) \
37992 echo "Doing info in $(TARGET_SUBDIR)/libgo" ; \
37993 for flag in $(EXTRA_TARGET_FLAGS); do \
37994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37995 done; \
37996 (cd $(TARGET_SUBDIR)/libgo && \
37997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37999 "RANLIB=$${RANLIB}" \
38000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38001 info) \
38002 || exit 1
38004 @endif target-libgo
38006 .PHONY: maybe-dvi-target-libgo dvi-target-libgo
38007 maybe-dvi-target-libgo:
38008 @if target-libgo
38009 maybe-dvi-target-libgo: dvi-target-libgo
38011 dvi-target-libgo: \
38012 configure-target-libgo
38013 @: $(MAKE); $(unstage)
38014 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
38015 r=`${PWD_COMMAND}`; export r; \
38016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38017 $(NORMAL_TARGET_EXPORTS) \
38018 echo "Doing dvi in $(TARGET_SUBDIR)/libgo" ; \
38019 for flag in $(EXTRA_TARGET_FLAGS); do \
38020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38021 done; \
38022 (cd $(TARGET_SUBDIR)/libgo && \
38023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38025 "RANLIB=$${RANLIB}" \
38026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38027 dvi) \
38028 || exit 1
38030 @endif target-libgo
38032 .PHONY: maybe-pdf-target-libgo pdf-target-libgo
38033 maybe-pdf-target-libgo:
38034 @if target-libgo
38035 maybe-pdf-target-libgo: pdf-target-libgo
38037 pdf-target-libgo: \
38038 configure-target-libgo
38039 @: $(MAKE); $(unstage)
38040 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
38041 r=`${PWD_COMMAND}`; export r; \
38042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38043 $(NORMAL_TARGET_EXPORTS) \
38044 echo "Doing pdf in $(TARGET_SUBDIR)/libgo" ; \
38045 for flag in $(EXTRA_TARGET_FLAGS); do \
38046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38047 done; \
38048 (cd $(TARGET_SUBDIR)/libgo && \
38049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38051 "RANLIB=$${RANLIB}" \
38052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38053 pdf) \
38054 || exit 1
38056 @endif target-libgo
38058 .PHONY: maybe-html-target-libgo html-target-libgo
38059 maybe-html-target-libgo:
38060 @if target-libgo
38061 maybe-html-target-libgo: html-target-libgo
38063 html-target-libgo: \
38064 configure-target-libgo
38065 @: $(MAKE); $(unstage)
38066 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
38067 r=`${PWD_COMMAND}`; export r; \
38068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38069 $(NORMAL_TARGET_EXPORTS) \
38070 echo "Doing html in $(TARGET_SUBDIR)/libgo" ; \
38071 for flag in $(EXTRA_TARGET_FLAGS); do \
38072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38073 done; \
38074 (cd $(TARGET_SUBDIR)/libgo && \
38075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38077 "RANLIB=$${RANLIB}" \
38078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38079 html) \
38080 || exit 1
38082 @endif target-libgo
38084 .PHONY: maybe-TAGS-target-libgo TAGS-target-libgo
38085 maybe-TAGS-target-libgo:
38086 @if target-libgo
38087 maybe-TAGS-target-libgo: TAGS-target-libgo
38089 TAGS-target-libgo: \
38090 configure-target-libgo
38091 @: $(MAKE); $(unstage)
38092 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
38093 r=`${PWD_COMMAND}`; export r; \
38094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38095 $(NORMAL_TARGET_EXPORTS) \
38096 echo "Doing TAGS in $(TARGET_SUBDIR)/libgo" ; \
38097 for flag in $(EXTRA_TARGET_FLAGS); do \
38098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38099 done; \
38100 (cd $(TARGET_SUBDIR)/libgo && \
38101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38103 "RANLIB=$${RANLIB}" \
38104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38105 TAGS) \
38106 || exit 1
38108 @endif target-libgo
38110 .PHONY: maybe-install-info-target-libgo install-info-target-libgo
38111 maybe-install-info-target-libgo:
38112 @if target-libgo
38113 maybe-install-info-target-libgo: install-info-target-libgo
38115 install-info-target-libgo: \
38116 configure-target-libgo \
38117 info-target-libgo
38118 @: $(MAKE); $(unstage)
38119 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
38120 r=`${PWD_COMMAND}`; export r; \
38121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38122 $(NORMAL_TARGET_EXPORTS) \
38123 echo "Doing install-info in $(TARGET_SUBDIR)/libgo" ; \
38124 for flag in $(EXTRA_TARGET_FLAGS); do \
38125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38126 done; \
38127 (cd $(TARGET_SUBDIR)/libgo && \
38128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38130 "RANLIB=$${RANLIB}" \
38131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38132 install-info) \
38133 || exit 1
38135 @endif target-libgo
38137 .PHONY: maybe-install-pdf-target-libgo install-pdf-target-libgo
38138 maybe-install-pdf-target-libgo:
38139 @if target-libgo
38140 maybe-install-pdf-target-libgo: install-pdf-target-libgo
38142 install-pdf-target-libgo: \
38143 configure-target-libgo \
38144 pdf-target-libgo
38145 @: $(MAKE); $(unstage)
38146 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
38147 r=`${PWD_COMMAND}`; export r; \
38148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38149 $(NORMAL_TARGET_EXPORTS) \
38150 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgo" ; \
38151 for flag in $(EXTRA_TARGET_FLAGS); do \
38152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38153 done; \
38154 (cd $(TARGET_SUBDIR)/libgo && \
38155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38157 "RANLIB=$${RANLIB}" \
38158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38159 install-pdf) \
38160 || exit 1
38162 @endif target-libgo
38164 .PHONY: maybe-install-html-target-libgo install-html-target-libgo
38165 maybe-install-html-target-libgo:
38166 @if target-libgo
38167 maybe-install-html-target-libgo: install-html-target-libgo
38169 install-html-target-libgo: \
38170 configure-target-libgo \
38171 html-target-libgo
38172 @: $(MAKE); $(unstage)
38173 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
38174 r=`${PWD_COMMAND}`; export r; \
38175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38176 $(NORMAL_TARGET_EXPORTS) \
38177 echo "Doing install-html in $(TARGET_SUBDIR)/libgo" ; \
38178 for flag in $(EXTRA_TARGET_FLAGS); do \
38179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38180 done; \
38181 (cd $(TARGET_SUBDIR)/libgo && \
38182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38184 "RANLIB=$${RANLIB}" \
38185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38186 install-html) \
38187 || exit 1
38189 @endif target-libgo
38191 .PHONY: maybe-installcheck-target-libgo installcheck-target-libgo
38192 maybe-installcheck-target-libgo:
38193 @if target-libgo
38194 maybe-installcheck-target-libgo: installcheck-target-libgo
38196 installcheck-target-libgo: \
38197 configure-target-libgo
38198 @: $(MAKE); $(unstage)
38199 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
38200 r=`${PWD_COMMAND}`; export r; \
38201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38202 $(NORMAL_TARGET_EXPORTS) \
38203 echo "Doing installcheck in $(TARGET_SUBDIR)/libgo" ; \
38204 for flag in $(EXTRA_TARGET_FLAGS); do \
38205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38206 done; \
38207 (cd $(TARGET_SUBDIR)/libgo && \
38208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38210 "RANLIB=$${RANLIB}" \
38211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38212 installcheck) \
38213 || exit 1
38215 @endif target-libgo
38217 .PHONY: maybe-mostlyclean-target-libgo mostlyclean-target-libgo
38218 maybe-mostlyclean-target-libgo:
38219 @if target-libgo
38220 maybe-mostlyclean-target-libgo: mostlyclean-target-libgo
38222 mostlyclean-target-libgo:
38223 @: $(MAKE); $(unstage)
38224 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
38225 r=`${PWD_COMMAND}`; export r; \
38226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38227 $(NORMAL_TARGET_EXPORTS) \
38228 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgo" ; \
38229 for flag in $(EXTRA_TARGET_FLAGS); do \
38230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38231 done; \
38232 (cd $(TARGET_SUBDIR)/libgo && \
38233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38235 "RANLIB=$${RANLIB}" \
38236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38237 mostlyclean) \
38238 || exit 1
38240 @endif target-libgo
38242 .PHONY: maybe-clean-target-libgo clean-target-libgo
38243 maybe-clean-target-libgo:
38244 @if target-libgo
38245 maybe-clean-target-libgo: clean-target-libgo
38247 clean-target-libgo:
38248 @: $(MAKE); $(unstage)
38249 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
38250 r=`${PWD_COMMAND}`; export r; \
38251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38252 $(NORMAL_TARGET_EXPORTS) \
38253 echo "Doing clean in $(TARGET_SUBDIR)/libgo" ; \
38254 for flag in $(EXTRA_TARGET_FLAGS); do \
38255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38256 done; \
38257 (cd $(TARGET_SUBDIR)/libgo && \
38258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38260 "RANLIB=$${RANLIB}" \
38261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38262 clean) \
38263 || exit 1
38265 @endif target-libgo
38267 .PHONY: maybe-distclean-target-libgo distclean-target-libgo
38268 maybe-distclean-target-libgo:
38269 @if target-libgo
38270 maybe-distclean-target-libgo: distclean-target-libgo
38272 distclean-target-libgo:
38273 @: $(MAKE); $(unstage)
38274 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
38275 r=`${PWD_COMMAND}`; export r; \
38276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38277 $(NORMAL_TARGET_EXPORTS) \
38278 echo "Doing distclean in $(TARGET_SUBDIR)/libgo" ; \
38279 for flag in $(EXTRA_TARGET_FLAGS); do \
38280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38281 done; \
38282 (cd $(TARGET_SUBDIR)/libgo && \
38283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38285 "RANLIB=$${RANLIB}" \
38286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38287 distclean) \
38288 || exit 1
38290 @endif target-libgo
38292 .PHONY: maybe-maintainer-clean-target-libgo maintainer-clean-target-libgo
38293 maybe-maintainer-clean-target-libgo:
38294 @if target-libgo
38295 maybe-maintainer-clean-target-libgo: maintainer-clean-target-libgo
38297 maintainer-clean-target-libgo:
38298 @: $(MAKE); $(unstage)
38299 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
38300 r=`${PWD_COMMAND}`; export r; \
38301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38302 $(NORMAL_TARGET_EXPORTS) \
38303 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgo" ; \
38304 for flag in $(EXTRA_TARGET_FLAGS); do \
38305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38306 done; \
38307 (cd $(TARGET_SUBDIR)/libgo && \
38308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38310 "RANLIB=$${RANLIB}" \
38311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38312 maintainer-clean) \
38313 || exit 1
38315 @endif target-libgo
38321 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
38322 maybe-configure-target-libtermcap:
38323 @if gcc-bootstrap
38324 configure-target-libtermcap: stage_current
38325 @endif gcc-bootstrap
38326 @if target-libtermcap
38327 maybe-configure-target-libtermcap: configure-target-libtermcap
38328 configure-target-libtermcap:
38329 @: $(MAKE); $(unstage)
38330 @r=`${PWD_COMMAND}`; export r; \
38331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38332 echo "Checking multilib configuration for libtermcap..."; \
38333 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
38334 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
38335 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
38336 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
38337 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
38338 else \
38339 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
38340 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
38341 fi; \
38342 else \
38343 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
38344 fi; \
38345 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
38346 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
38347 $(NORMAL_TARGET_EXPORTS) \
38348 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
38349 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
38350 case $(srcdir) in \
38351 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38352 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
38353 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38354 esac; \
38355 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
38356 libsrcdir="$$s/libtermcap"; \
38357 rm -f no-such-file || : ; \
38358 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38359 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38360 --target=${target_alias} $${srcdiroption} \
38361 || exit 1
38362 @endif target-libtermcap
38368 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
38369 maybe-all-target-libtermcap:
38370 @if gcc-bootstrap
38371 all-target-libtermcap: stage_current
38372 @endif gcc-bootstrap
38373 @if target-libtermcap
38374 TARGET-target-libtermcap=all
38375 maybe-all-target-libtermcap: all-target-libtermcap
38376 all-target-libtermcap: configure-target-libtermcap
38377 @: $(MAKE); $(unstage)
38378 @r=`${PWD_COMMAND}`; export r; \
38379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38380 $(NORMAL_TARGET_EXPORTS) \
38381 (cd $(TARGET_SUBDIR)/libtermcap && \
38382 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38383 $(TARGET-target-libtermcap))
38384 @endif target-libtermcap
38390 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
38391 maybe-check-target-libtermcap:
38392 @if target-libtermcap
38393 maybe-check-target-libtermcap: check-target-libtermcap
38395 # Dummy target for uncheckable module.
38396 check-target-libtermcap:
38398 @endif target-libtermcap
38400 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
38401 maybe-install-target-libtermcap:
38402 @if target-libtermcap
38403 maybe-install-target-libtermcap: install-target-libtermcap
38405 install-target-libtermcap: installdirs
38406 @: $(MAKE); $(unstage)
38407 @r=`${PWD_COMMAND}`; export r; \
38408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38409 $(NORMAL_TARGET_EXPORTS) \
38410 (cd $(TARGET_SUBDIR)/libtermcap && \
38411 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38413 @endif target-libtermcap
38415 .PHONY: install-strip-target-libtermcap maybe-install-strip-target-libtermcap
38416 maybe-install-strip-target-libtermcap:
38417 @if target-libtermcap
38418 maybe-install-strip-target-libtermcap: install-strip-target-libtermcap
38420 install-strip-target-libtermcap: installdirs
38421 @: $(MAKE); $(unstage)
38422 @r=`${PWD_COMMAND}`; export r; \
38423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38424 $(NORMAL_TARGET_EXPORTS) \
38425 (cd $(TARGET_SUBDIR)/libtermcap && \
38426 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38428 @endif target-libtermcap
38430 # Other targets (info, dvi, pdf, etc.)
38432 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
38433 maybe-info-target-libtermcap:
38434 @if target-libtermcap
38435 maybe-info-target-libtermcap: info-target-libtermcap
38437 info-target-libtermcap: \
38438 configure-target-libtermcap
38439 @: $(MAKE); $(unstage)
38440 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
38441 r=`${PWD_COMMAND}`; export r; \
38442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38443 $(NORMAL_TARGET_EXPORTS) \
38444 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
38445 for flag in $(EXTRA_TARGET_FLAGS); do \
38446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38447 done; \
38448 (cd $(TARGET_SUBDIR)/libtermcap && \
38449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38451 "RANLIB=$${RANLIB}" \
38452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38453 info) \
38454 || exit 1
38456 @endif target-libtermcap
38458 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
38459 maybe-dvi-target-libtermcap:
38460 @if target-libtermcap
38461 maybe-dvi-target-libtermcap: dvi-target-libtermcap
38463 dvi-target-libtermcap: \
38464 configure-target-libtermcap
38465 @: $(MAKE); $(unstage)
38466 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
38467 r=`${PWD_COMMAND}`; export r; \
38468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38469 $(NORMAL_TARGET_EXPORTS) \
38470 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
38471 for flag in $(EXTRA_TARGET_FLAGS); do \
38472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38473 done; \
38474 (cd $(TARGET_SUBDIR)/libtermcap && \
38475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38477 "RANLIB=$${RANLIB}" \
38478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38479 dvi) \
38480 || exit 1
38482 @endif target-libtermcap
38484 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
38485 maybe-pdf-target-libtermcap:
38486 @if target-libtermcap
38487 maybe-pdf-target-libtermcap: pdf-target-libtermcap
38489 pdf-target-libtermcap: \
38490 configure-target-libtermcap
38491 @: $(MAKE); $(unstage)
38492 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
38493 r=`${PWD_COMMAND}`; export r; \
38494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38495 $(NORMAL_TARGET_EXPORTS) \
38496 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap" ; \
38497 for flag in $(EXTRA_TARGET_FLAGS); do \
38498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38499 done; \
38500 (cd $(TARGET_SUBDIR)/libtermcap && \
38501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38503 "RANLIB=$${RANLIB}" \
38504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38505 pdf) \
38506 || exit 1
38508 @endif target-libtermcap
38510 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
38511 maybe-html-target-libtermcap:
38512 @if target-libtermcap
38513 maybe-html-target-libtermcap: html-target-libtermcap
38515 html-target-libtermcap: \
38516 configure-target-libtermcap
38517 @: $(MAKE); $(unstage)
38518 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
38519 r=`${PWD_COMMAND}`; export r; \
38520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38521 $(NORMAL_TARGET_EXPORTS) \
38522 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
38523 for flag in $(EXTRA_TARGET_FLAGS); do \
38524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38525 done; \
38526 (cd $(TARGET_SUBDIR)/libtermcap && \
38527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38529 "RANLIB=$${RANLIB}" \
38530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38531 html) \
38532 || exit 1
38534 @endif target-libtermcap
38536 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
38537 maybe-TAGS-target-libtermcap:
38538 @if target-libtermcap
38539 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
38541 TAGS-target-libtermcap: \
38542 configure-target-libtermcap
38543 @: $(MAKE); $(unstage)
38544 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
38545 r=`${PWD_COMMAND}`; export r; \
38546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38547 $(NORMAL_TARGET_EXPORTS) \
38548 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
38549 for flag in $(EXTRA_TARGET_FLAGS); do \
38550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38551 done; \
38552 (cd $(TARGET_SUBDIR)/libtermcap && \
38553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38555 "RANLIB=$${RANLIB}" \
38556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38557 TAGS) \
38558 || exit 1
38560 @endif target-libtermcap
38562 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
38563 maybe-install-info-target-libtermcap:
38564 @if target-libtermcap
38565 maybe-install-info-target-libtermcap: install-info-target-libtermcap
38567 install-info-target-libtermcap: \
38568 configure-target-libtermcap \
38569 info-target-libtermcap
38570 @: $(MAKE); $(unstage)
38571 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
38572 r=`${PWD_COMMAND}`; export r; \
38573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38574 $(NORMAL_TARGET_EXPORTS) \
38575 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
38576 for flag in $(EXTRA_TARGET_FLAGS); do \
38577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38578 done; \
38579 (cd $(TARGET_SUBDIR)/libtermcap && \
38580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38582 "RANLIB=$${RANLIB}" \
38583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38584 install-info) \
38585 || exit 1
38587 @endif target-libtermcap
38589 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
38590 maybe-install-pdf-target-libtermcap:
38591 @if target-libtermcap
38592 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
38594 install-pdf-target-libtermcap: \
38595 configure-target-libtermcap \
38596 pdf-target-libtermcap
38597 @: $(MAKE); $(unstage)
38598 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
38599 r=`${PWD_COMMAND}`; export r; \
38600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38601 $(NORMAL_TARGET_EXPORTS) \
38602 echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap" ; \
38603 for flag in $(EXTRA_TARGET_FLAGS); do \
38604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38605 done; \
38606 (cd $(TARGET_SUBDIR)/libtermcap && \
38607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38609 "RANLIB=$${RANLIB}" \
38610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38611 install-pdf) \
38612 || exit 1
38614 @endif target-libtermcap
38616 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
38617 maybe-install-html-target-libtermcap:
38618 @if target-libtermcap
38619 maybe-install-html-target-libtermcap: install-html-target-libtermcap
38621 install-html-target-libtermcap: \
38622 configure-target-libtermcap \
38623 html-target-libtermcap
38624 @: $(MAKE); $(unstage)
38625 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
38626 r=`${PWD_COMMAND}`; export r; \
38627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38628 $(NORMAL_TARGET_EXPORTS) \
38629 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap" ; \
38630 for flag in $(EXTRA_TARGET_FLAGS); do \
38631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38632 done; \
38633 (cd $(TARGET_SUBDIR)/libtermcap && \
38634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38636 "RANLIB=$${RANLIB}" \
38637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38638 install-html) \
38639 || exit 1
38641 @endif target-libtermcap
38643 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
38644 maybe-installcheck-target-libtermcap:
38645 @if target-libtermcap
38646 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
38648 installcheck-target-libtermcap: \
38649 configure-target-libtermcap
38650 @: $(MAKE); $(unstage)
38651 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
38652 r=`${PWD_COMMAND}`; export r; \
38653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38654 $(NORMAL_TARGET_EXPORTS) \
38655 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
38656 for flag in $(EXTRA_TARGET_FLAGS); do \
38657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38658 done; \
38659 (cd $(TARGET_SUBDIR)/libtermcap && \
38660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38662 "RANLIB=$${RANLIB}" \
38663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38664 installcheck) \
38665 || exit 1
38667 @endif target-libtermcap
38669 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
38670 maybe-mostlyclean-target-libtermcap:
38671 @if target-libtermcap
38672 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
38674 # libtermcap doesn't support mostlyclean.
38675 mostlyclean-target-libtermcap:
38677 @endif target-libtermcap
38679 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
38680 maybe-clean-target-libtermcap:
38681 @if target-libtermcap
38682 maybe-clean-target-libtermcap: clean-target-libtermcap
38684 # libtermcap doesn't support clean.
38685 clean-target-libtermcap:
38687 @endif target-libtermcap
38689 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
38690 maybe-distclean-target-libtermcap:
38691 @if target-libtermcap
38692 maybe-distclean-target-libtermcap: distclean-target-libtermcap
38694 # libtermcap doesn't support distclean.
38695 distclean-target-libtermcap:
38697 @endif target-libtermcap
38699 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
38700 maybe-maintainer-clean-target-libtermcap:
38701 @if target-libtermcap
38702 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
38704 # libtermcap doesn't support maintainer-clean.
38705 maintainer-clean-target-libtermcap:
38707 @endif target-libtermcap
38713 .PHONY: configure-target-winsup maybe-configure-target-winsup
38714 maybe-configure-target-winsup:
38715 @if gcc-bootstrap
38716 configure-target-winsup: stage_current
38717 @endif gcc-bootstrap
38718 @if target-winsup
38719 maybe-configure-target-winsup: configure-target-winsup
38720 configure-target-winsup:
38721 @: $(MAKE); $(unstage)
38722 @r=`${PWD_COMMAND}`; export r; \
38723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38724 echo "Checking multilib configuration for winsup..."; \
38725 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
38726 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
38727 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
38728 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
38729 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
38730 else \
38731 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
38732 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
38733 fi; \
38734 else \
38735 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
38736 fi; \
38737 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
38738 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
38739 $(NORMAL_TARGET_EXPORTS) \
38740 echo Configuring in $(TARGET_SUBDIR)/winsup; \
38741 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
38742 case $(srcdir) in \
38743 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38744 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
38745 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38746 esac; \
38747 srcdiroption="--srcdir=$${topdir}/winsup"; \
38748 libsrcdir="$$s/winsup"; \
38749 rm -f no-such-file || : ; \
38750 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38751 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38752 --target=${target_alias} $${srcdiroption} \
38753 || exit 1
38754 @endif target-winsup
38760 .PHONY: all-target-winsup maybe-all-target-winsup
38761 maybe-all-target-winsup:
38762 @if gcc-bootstrap
38763 all-target-winsup: stage_current
38764 @endif gcc-bootstrap
38765 @if target-winsup
38766 TARGET-target-winsup=all
38767 maybe-all-target-winsup: all-target-winsup
38768 all-target-winsup: configure-target-winsup
38769 @: $(MAKE); $(unstage)
38770 @r=`${PWD_COMMAND}`; export r; \
38771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38772 $(NORMAL_TARGET_EXPORTS) \
38773 (cd $(TARGET_SUBDIR)/winsup && \
38774 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38775 $(TARGET-target-winsup))
38776 @endif target-winsup
38782 .PHONY: check-target-winsup maybe-check-target-winsup
38783 maybe-check-target-winsup:
38784 @if target-winsup
38785 maybe-check-target-winsup: check-target-winsup
38787 check-target-winsup:
38788 @: $(MAKE); $(unstage)
38789 @r=`${PWD_COMMAND}`; export r; \
38790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38791 $(NORMAL_TARGET_EXPORTS) \
38792 (cd $(TARGET_SUBDIR)/winsup && \
38793 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38795 @endif target-winsup
38797 .PHONY: install-target-winsup maybe-install-target-winsup
38798 maybe-install-target-winsup:
38799 @if target-winsup
38800 maybe-install-target-winsup: install-target-winsup
38802 install-target-winsup: installdirs
38803 @: $(MAKE); $(unstage)
38804 @r=`${PWD_COMMAND}`; export r; \
38805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38806 $(NORMAL_TARGET_EXPORTS) \
38807 (cd $(TARGET_SUBDIR)/winsup && \
38808 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38810 @endif target-winsup
38812 .PHONY: install-strip-target-winsup maybe-install-strip-target-winsup
38813 maybe-install-strip-target-winsup:
38814 @if target-winsup
38815 maybe-install-strip-target-winsup: install-strip-target-winsup
38817 install-strip-target-winsup: installdirs
38818 @: $(MAKE); $(unstage)
38819 @r=`${PWD_COMMAND}`; export r; \
38820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38821 $(NORMAL_TARGET_EXPORTS) \
38822 (cd $(TARGET_SUBDIR)/winsup && \
38823 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38825 @endif target-winsup
38827 # Other targets (info, dvi, pdf, etc.)
38829 .PHONY: maybe-info-target-winsup info-target-winsup
38830 maybe-info-target-winsup:
38831 @if target-winsup
38832 maybe-info-target-winsup: info-target-winsup
38834 info-target-winsup: \
38835 configure-target-winsup
38836 @: $(MAKE); $(unstage)
38837 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
38838 r=`${PWD_COMMAND}`; export r; \
38839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38840 $(NORMAL_TARGET_EXPORTS) \
38841 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
38842 for flag in $(EXTRA_TARGET_FLAGS); do \
38843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38844 done; \
38845 (cd $(TARGET_SUBDIR)/winsup && \
38846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38848 "RANLIB=$${RANLIB}" \
38849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38850 info) \
38851 || exit 1
38853 @endif target-winsup
38855 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
38856 maybe-dvi-target-winsup:
38857 @if target-winsup
38858 maybe-dvi-target-winsup: dvi-target-winsup
38860 dvi-target-winsup: \
38861 configure-target-winsup
38862 @: $(MAKE); $(unstage)
38863 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
38864 r=`${PWD_COMMAND}`; export r; \
38865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38866 $(NORMAL_TARGET_EXPORTS) \
38867 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
38868 for flag in $(EXTRA_TARGET_FLAGS); do \
38869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38870 done; \
38871 (cd $(TARGET_SUBDIR)/winsup && \
38872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38874 "RANLIB=$${RANLIB}" \
38875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38876 dvi) \
38877 || exit 1
38879 @endif target-winsup
38881 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
38882 maybe-pdf-target-winsup:
38883 @if target-winsup
38884 maybe-pdf-target-winsup: pdf-target-winsup
38886 pdf-target-winsup: \
38887 configure-target-winsup
38888 @: $(MAKE); $(unstage)
38889 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
38890 r=`${PWD_COMMAND}`; export r; \
38891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38892 $(NORMAL_TARGET_EXPORTS) \
38893 echo "Doing pdf in $(TARGET_SUBDIR)/winsup" ; \
38894 for flag in $(EXTRA_TARGET_FLAGS); do \
38895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38896 done; \
38897 (cd $(TARGET_SUBDIR)/winsup && \
38898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38900 "RANLIB=$${RANLIB}" \
38901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38902 pdf) \
38903 || exit 1
38905 @endif target-winsup
38907 .PHONY: maybe-html-target-winsup html-target-winsup
38908 maybe-html-target-winsup:
38909 @if target-winsup
38910 maybe-html-target-winsup: html-target-winsup
38912 html-target-winsup: \
38913 configure-target-winsup
38914 @: $(MAKE); $(unstage)
38915 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
38916 r=`${PWD_COMMAND}`; export r; \
38917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38918 $(NORMAL_TARGET_EXPORTS) \
38919 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
38920 for flag in $(EXTRA_TARGET_FLAGS); do \
38921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38922 done; \
38923 (cd $(TARGET_SUBDIR)/winsup && \
38924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38926 "RANLIB=$${RANLIB}" \
38927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38928 html) \
38929 || exit 1
38931 @endif target-winsup
38933 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
38934 maybe-TAGS-target-winsup:
38935 @if target-winsup
38936 maybe-TAGS-target-winsup: TAGS-target-winsup
38938 TAGS-target-winsup: \
38939 configure-target-winsup
38940 @: $(MAKE); $(unstage)
38941 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
38942 r=`${PWD_COMMAND}`; export r; \
38943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38944 $(NORMAL_TARGET_EXPORTS) \
38945 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
38946 for flag in $(EXTRA_TARGET_FLAGS); do \
38947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38948 done; \
38949 (cd $(TARGET_SUBDIR)/winsup && \
38950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38952 "RANLIB=$${RANLIB}" \
38953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38954 TAGS) \
38955 || exit 1
38957 @endif target-winsup
38959 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
38960 maybe-install-info-target-winsup:
38961 @if target-winsup
38962 maybe-install-info-target-winsup: install-info-target-winsup
38964 install-info-target-winsup: \
38965 configure-target-winsup \
38966 info-target-winsup
38967 @: $(MAKE); $(unstage)
38968 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
38969 r=`${PWD_COMMAND}`; export r; \
38970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38971 $(NORMAL_TARGET_EXPORTS) \
38972 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
38973 for flag in $(EXTRA_TARGET_FLAGS); do \
38974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38975 done; \
38976 (cd $(TARGET_SUBDIR)/winsup && \
38977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38979 "RANLIB=$${RANLIB}" \
38980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38981 install-info) \
38982 || exit 1
38984 @endif target-winsup
38986 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
38987 maybe-install-pdf-target-winsup:
38988 @if target-winsup
38989 maybe-install-pdf-target-winsup: install-pdf-target-winsup
38991 install-pdf-target-winsup: \
38992 configure-target-winsup \
38993 pdf-target-winsup
38994 @: $(MAKE); $(unstage)
38995 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
38996 r=`${PWD_COMMAND}`; export r; \
38997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38998 $(NORMAL_TARGET_EXPORTS) \
38999 echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup" ; \
39000 for flag in $(EXTRA_TARGET_FLAGS); do \
39001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39002 done; \
39003 (cd $(TARGET_SUBDIR)/winsup && \
39004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39006 "RANLIB=$${RANLIB}" \
39007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39008 install-pdf) \
39009 || exit 1
39011 @endif target-winsup
39013 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
39014 maybe-install-html-target-winsup:
39015 @if target-winsup
39016 maybe-install-html-target-winsup: install-html-target-winsup
39018 install-html-target-winsup: \
39019 configure-target-winsup \
39020 html-target-winsup
39021 @: $(MAKE); $(unstage)
39022 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
39023 r=`${PWD_COMMAND}`; export r; \
39024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39025 $(NORMAL_TARGET_EXPORTS) \
39026 echo "Doing install-html in $(TARGET_SUBDIR)/winsup" ; \
39027 for flag in $(EXTRA_TARGET_FLAGS); do \
39028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39029 done; \
39030 (cd $(TARGET_SUBDIR)/winsup && \
39031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39033 "RANLIB=$${RANLIB}" \
39034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39035 install-html) \
39036 || exit 1
39038 @endif target-winsup
39040 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
39041 maybe-installcheck-target-winsup:
39042 @if target-winsup
39043 maybe-installcheck-target-winsup: installcheck-target-winsup
39045 installcheck-target-winsup: \
39046 configure-target-winsup
39047 @: $(MAKE); $(unstage)
39048 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
39049 r=`${PWD_COMMAND}`; export r; \
39050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39051 $(NORMAL_TARGET_EXPORTS) \
39052 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
39053 for flag in $(EXTRA_TARGET_FLAGS); do \
39054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39055 done; \
39056 (cd $(TARGET_SUBDIR)/winsup && \
39057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39059 "RANLIB=$${RANLIB}" \
39060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39061 installcheck) \
39062 || exit 1
39064 @endif target-winsup
39066 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
39067 maybe-mostlyclean-target-winsup:
39068 @if target-winsup
39069 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
39071 mostlyclean-target-winsup:
39072 @: $(MAKE); $(unstage)
39073 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
39074 r=`${PWD_COMMAND}`; export r; \
39075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39076 $(NORMAL_TARGET_EXPORTS) \
39077 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
39078 for flag in $(EXTRA_TARGET_FLAGS); do \
39079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39080 done; \
39081 (cd $(TARGET_SUBDIR)/winsup && \
39082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39084 "RANLIB=$${RANLIB}" \
39085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39086 mostlyclean) \
39087 || exit 1
39089 @endif target-winsup
39091 .PHONY: maybe-clean-target-winsup clean-target-winsup
39092 maybe-clean-target-winsup:
39093 @if target-winsup
39094 maybe-clean-target-winsup: clean-target-winsup
39096 clean-target-winsup:
39097 @: $(MAKE); $(unstage)
39098 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
39099 r=`${PWD_COMMAND}`; export r; \
39100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39101 $(NORMAL_TARGET_EXPORTS) \
39102 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
39103 for flag in $(EXTRA_TARGET_FLAGS); do \
39104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39105 done; \
39106 (cd $(TARGET_SUBDIR)/winsup && \
39107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39109 "RANLIB=$${RANLIB}" \
39110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39111 clean) \
39112 || exit 1
39114 @endif target-winsup
39116 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
39117 maybe-distclean-target-winsup:
39118 @if target-winsup
39119 maybe-distclean-target-winsup: distclean-target-winsup
39121 distclean-target-winsup:
39122 @: $(MAKE); $(unstage)
39123 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
39124 r=`${PWD_COMMAND}`; export r; \
39125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39126 $(NORMAL_TARGET_EXPORTS) \
39127 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
39128 for flag in $(EXTRA_TARGET_FLAGS); do \
39129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39130 done; \
39131 (cd $(TARGET_SUBDIR)/winsup && \
39132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39134 "RANLIB=$${RANLIB}" \
39135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39136 distclean) \
39137 || exit 1
39139 @endif target-winsup
39141 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
39142 maybe-maintainer-clean-target-winsup:
39143 @if target-winsup
39144 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
39146 maintainer-clean-target-winsup:
39147 @: $(MAKE); $(unstage)
39148 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
39149 r=`${PWD_COMMAND}`; export r; \
39150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39151 $(NORMAL_TARGET_EXPORTS) \
39152 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
39153 for flag in $(EXTRA_TARGET_FLAGS); do \
39154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39155 done; \
39156 (cd $(TARGET_SUBDIR)/winsup && \
39157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39159 "RANLIB=$${RANLIB}" \
39160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39161 maintainer-clean) \
39162 || exit 1
39164 @endif target-winsup
39170 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
39171 maybe-configure-target-libgloss:
39172 @if gcc-bootstrap
39173 configure-target-libgloss: stage_current
39174 @endif gcc-bootstrap
39175 @if target-libgloss
39176 maybe-configure-target-libgloss: configure-target-libgloss
39177 configure-target-libgloss:
39178 @: $(MAKE); $(unstage)
39179 @r=`${PWD_COMMAND}`; export r; \
39180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39181 echo "Checking multilib configuration for libgloss..."; \
39182 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
39183 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
39184 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
39185 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
39186 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
39187 else \
39188 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
39189 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
39190 fi; \
39191 else \
39192 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
39193 fi; \
39194 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
39195 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
39196 $(NORMAL_TARGET_EXPORTS) \
39197 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
39198 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
39199 case $(srcdir) in \
39200 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39201 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
39202 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39203 esac; \
39204 srcdiroption="--srcdir=$${topdir}/libgloss"; \
39205 libsrcdir="$$s/libgloss"; \
39206 rm -f no-such-file || : ; \
39207 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39208 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39209 --target=${target_alias} $${srcdiroption} \
39210 || exit 1
39211 @endif target-libgloss
39217 .PHONY: all-target-libgloss maybe-all-target-libgloss
39218 maybe-all-target-libgloss:
39219 @if gcc-bootstrap
39220 all-target-libgloss: stage_current
39221 @endif gcc-bootstrap
39222 @if target-libgloss
39223 TARGET-target-libgloss=all
39224 maybe-all-target-libgloss: all-target-libgloss
39225 all-target-libgloss: configure-target-libgloss
39226 @: $(MAKE); $(unstage)
39227 @r=`${PWD_COMMAND}`; export r; \
39228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39229 $(NORMAL_TARGET_EXPORTS) \
39230 (cd $(TARGET_SUBDIR)/libgloss && \
39231 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
39232 $(TARGET-target-libgloss))
39233 @endif target-libgloss
39239 .PHONY: check-target-libgloss maybe-check-target-libgloss
39240 maybe-check-target-libgloss:
39241 @if target-libgloss
39242 maybe-check-target-libgloss: check-target-libgloss
39244 # Dummy target for uncheckable module.
39245 check-target-libgloss:
39247 @endif target-libgloss
39249 .PHONY: install-target-libgloss maybe-install-target-libgloss
39250 maybe-install-target-libgloss:
39251 @if target-libgloss
39252 maybe-install-target-libgloss: install-target-libgloss
39254 install-target-libgloss: installdirs
39255 @: $(MAKE); $(unstage)
39256 @r=`${PWD_COMMAND}`; export r; \
39257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39258 $(NORMAL_TARGET_EXPORTS) \
39259 (cd $(TARGET_SUBDIR)/libgloss && \
39260 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39262 @endif target-libgloss
39264 .PHONY: install-strip-target-libgloss maybe-install-strip-target-libgloss
39265 maybe-install-strip-target-libgloss:
39266 @if target-libgloss
39267 maybe-install-strip-target-libgloss: install-strip-target-libgloss
39269 install-strip-target-libgloss: installdirs
39270 @: $(MAKE); $(unstage)
39271 @r=`${PWD_COMMAND}`; export r; \
39272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39273 $(NORMAL_TARGET_EXPORTS) \
39274 (cd $(TARGET_SUBDIR)/libgloss && \
39275 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39277 @endif target-libgloss
39279 # Other targets (info, dvi, pdf, etc.)
39281 .PHONY: maybe-info-target-libgloss info-target-libgloss
39282 maybe-info-target-libgloss:
39283 @if target-libgloss
39284 maybe-info-target-libgloss: info-target-libgloss
39286 info-target-libgloss: \
39287 configure-target-libgloss
39288 @: $(MAKE); $(unstage)
39289 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39290 r=`${PWD_COMMAND}`; export r; \
39291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39292 $(NORMAL_TARGET_EXPORTS) \
39293 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
39294 for flag in $(EXTRA_TARGET_FLAGS); do \
39295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39296 done; \
39297 (cd $(TARGET_SUBDIR)/libgloss && \
39298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39300 "RANLIB=$${RANLIB}" \
39301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39302 info) \
39303 || exit 1
39305 @endif target-libgloss
39307 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
39308 maybe-dvi-target-libgloss:
39309 @if target-libgloss
39310 maybe-dvi-target-libgloss: dvi-target-libgloss
39312 dvi-target-libgloss: \
39313 configure-target-libgloss
39314 @: $(MAKE); $(unstage)
39315 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39316 r=`${PWD_COMMAND}`; export r; \
39317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39318 $(NORMAL_TARGET_EXPORTS) \
39319 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
39320 for flag in $(EXTRA_TARGET_FLAGS); do \
39321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39322 done; \
39323 (cd $(TARGET_SUBDIR)/libgloss && \
39324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39326 "RANLIB=$${RANLIB}" \
39327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39328 dvi) \
39329 || exit 1
39331 @endif target-libgloss
39333 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
39334 maybe-pdf-target-libgloss:
39335 @if target-libgloss
39336 maybe-pdf-target-libgloss: pdf-target-libgloss
39338 pdf-target-libgloss: \
39339 configure-target-libgloss
39340 @: $(MAKE); $(unstage)
39341 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39342 r=`${PWD_COMMAND}`; export r; \
39343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39344 $(NORMAL_TARGET_EXPORTS) \
39345 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss" ; \
39346 for flag in $(EXTRA_TARGET_FLAGS); do \
39347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39348 done; \
39349 (cd $(TARGET_SUBDIR)/libgloss && \
39350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39352 "RANLIB=$${RANLIB}" \
39353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39354 pdf) \
39355 || exit 1
39357 @endif target-libgloss
39359 .PHONY: maybe-html-target-libgloss html-target-libgloss
39360 maybe-html-target-libgloss:
39361 @if target-libgloss
39362 maybe-html-target-libgloss: html-target-libgloss
39364 html-target-libgloss: \
39365 configure-target-libgloss
39366 @: $(MAKE); $(unstage)
39367 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39368 r=`${PWD_COMMAND}`; export r; \
39369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39370 $(NORMAL_TARGET_EXPORTS) \
39371 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
39372 for flag in $(EXTRA_TARGET_FLAGS); do \
39373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39374 done; \
39375 (cd $(TARGET_SUBDIR)/libgloss && \
39376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39378 "RANLIB=$${RANLIB}" \
39379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39380 html) \
39381 || exit 1
39383 @endif target-libgloss
39385 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
39386 maybe-TAGS-target-libgloss:
39387 @if target-libgloss
39388 maybe-TAGS-target-libgloss: TAGS-target-libgloss
39390 TAGS-target-libgloss: \
39391 configure-target-libgloss
39392 @: $(MAKE); $(unstage)
39393 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39394 r=`${PWD_COMMAND}`; export r; \
39395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39396 $(NORMAL_TARGET_EXPORTS) \
39397 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
39398 for flag in $(EXTRA_TARGET_FLAGS); do \
39399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39400 done; \
39401 (cd $(TARGET_SUBDIR)/libgloss && \
39402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39404 "RANLIB=$${RANLIB}" \
39405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39406 TAGS) \
39407 || exit 1
39409 @endif target-libgloss
39411 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
39412 maybe-install-info-target-libgloss:
39413 @if target-libgloss
39414 maybe-install-info-target-libgloss: install-info-target-libgloss
39416 install-info-target-libgloss: \
39417 configure-target-libgloss \
39418 info-target-libgloss
39419 @: $(MAKE); $(unstage)
39420 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39421 r=`${PWD_COMMAND}`; export r; \
39422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39423 $(NORMAL_TARGET_EXPORTS) \
39424 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
39425 for flag in $(EXTRA_TARGET_FLAGS); do \
39426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39427 done; \
39428 (cd $(TARGET_SUBDIR)/libgloss && \
39429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39431 "RANLIB=$${RANLIB}" \
39432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39433 install-info) \
39434 || exit 1
39436 @endif target-libgloss
39438 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
39439 maybe-install-pdf-target-libgloss:
39440 @if target-libgloss
39441 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
39443 install-pdf-target-libgloss: \
39444 configure-target-libgloss \
39445 pdf-target-libgloss
39446 @: $(MAKE); $(unstage)
39447 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39448 r=`${PWD_COMMAND}`; export r; \
39449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39450 $(NORMAL_TARGET_EXPORTS) \
39451 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss" ; \
39452 for flag in $(EXTRA_TARGET_FLAGS); do \
39453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39454 done; \
39455 (cd $(TARGET_SUBDIR)/libgloss && \
39456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39458 "RANLIB=$${RANLIB}" \
39459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39460 install-pdf) \
39461 || exit 1
39463 @endif target-libgloss
39465 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
39466 maybe-install-html-target-libgloss:
39467 @if target-libgloss
39468 maybe-install-html-target-libgloss: install-html-target-libgloss
39470 install-html-target-libgloss: \
39471 configure-target-libgloss \
39472 html-target-libgloss
39473 @: $(MAKE); $(unstage)
39474 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39475 r=`${PWD_COMMAND}`; export r; \
39476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39477 $(NORMAL_TARGET_EXPORTS) \
39478 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss" ; \
39479 for flag in $(EXTRA_TARGET_FLAGS); do \
39480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39481 done; \
39482 (cd $(TARGET_SUBDIR)/libgloss && \
39483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39485 "RANLIB=$${RANLIB}" \
39486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39487 install-html) \
39488 || exit 1
39490 @endif target-libgloss
39492 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
39493 maybe-installcheck-target-libgloss:
39494 @if target-libgloss
39495 maybe-installcheck-target-libgloss: installcheck-target-libgloss
39497 installcheck-target-libgloss: \
39498 configure-target-libgloss
39499 @: $(MAKE); $(unstage)
39500 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39501 r=`${PWD_COMMAND}`; export r; \
39502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39503 $(NORMAL_TARGET_EXPORTS) \
39504 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
39505 for flag in $(EXTRA_TARGET_FLAGS); do \
39506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39507 done; \
39508 (cd $(TARGET_SUBDIR)/libgloss && \
39509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39511 "RANLIB=$${RANLIB}" \
39512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39513 installcheck) \
39514 || exit 1
39516 @endif target-libgloss
39518 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
39519 maybe-mostlyclean-target-libgloss:
39520 @if target-libgloss
39521 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
39523 mostlyclean-target-libgloss:
39524 @: $(MAKE); $(unstage)
39525 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39526 r=`${PWD_COMMAND}`; export r; \
39527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39528 $(NORMAL_TARGET_EXPORTS) \
39529 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
39530 for flag in $(EXTRA_TARGET_FLAGS); do \
39531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39532 done; \
39533 (cd $(TARGET_SUBDIR)/libgloss && \
39534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39536 "RANLIB=$${RANLIB}" \
39537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39538 mostlyclean) \
39539 || exit 1
39541 @endif target-libgloss
39543 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
39544 maybe-clean-target-libgloss:
39545 @if target-libgloss
39546 maybe-clean-target-libgloss: clean-target-libgloss
39548 clean-target-libgloss:
39549 @: $(MAKE); $(unstage)
39550 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39551 r=`${PWD_COMMAND}`; export r; \
39552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39553 $(NORMAL_TARGET_EXPORTS) \
39554 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
39555 for flag in $(EXTRA_TARGET_FLAGS); do \
39556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39557 done; \
39558 (cd $(TARGET_SUBDIR)/libgloss && \
39559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39561 "RANLIB=$${RANLIB}" \
39562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39563 clean) \
39564 || exit 1
39566 @endif target-libgloss
39568 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
39569 maybe-distclean-target-libgloss:
39570 @if target-libgloss
39571 maybe-distclean-target-libgloss: distclean-target-libgloss
39573 distclean-target-libgloss:
39574 @: $(MAKE); $(unstage)
39575 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39576 r=`${PWD_COMMAND}`; export r; \
39577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39578 $(NORMAL_TARGET_EXPORTS) \
39579 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
39580 for flag in $(EXTRA_TARGET_FLAGS); do \
39581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39582 done; \
39583 (cd $(TARGET_SUBDIR)/libgloss && \
39584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39586 "RANLIB=$${RANLIB}" \
39587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39588 distclean) \
39589 || exit 1
39591 @endif target-libgloss
39593 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
39594 maybe-maintainer-clean-target-libgloss:
39595 @if target-libgloss
39596 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
39598 maintainer-clean-target-libgloss:
39599 @: $(MAKE); $(unstage)
39600 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39601 r=`${PWD_COMMAND}`; export r; \
39602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39603 $(NORMAL_TARGET_EXPORTS) \
39604 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
39605 for flag in $(EXTRA_TARGET_FLAGS); do \
39606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39607 done; \
39608 (cd $(TARGET_SUBDIR)/libgloss && \
39609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39611 "RANLIB=$${RANLIB}" \
39612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39613 maintainer-clean) \
39614 || exit 1
39616 @endif target-libgloss
39622 .PHONY: configure-target-libffi maybe-configure-target-libffi
39623 maybe-configure-target-libffi:
39624 @if gcc-bootstrap
39625 configure-target-libffi: stage_current
39626 @endif gcc-bootstrap
39627 @if target-libffi
39628 maybe-configure-target-libffi: configure-target-libffi
39629 configure-target-libffi:
39630 @: $(MAKE); $(unstage)
39631 @r=`${PWD_COMMAND}`; export r; \
39632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39633 echo "Checking multilib configuration for libffi..."; \
39634 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
39635 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
39636 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
39637 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
39638 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
39639 else \
39640 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
39641 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
39642 fi; \
39643 else \
39644 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
39645 fi; \
39646 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
39647 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
39648 $(NORMAL_TARGET_EXPORTS) \
39649 echo Configuring in $(TARGET_SUBDIR)/libffi; \
39650 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
39651 case $(srcdir) in \
39652 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39653 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
39654 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39655 esac; \
39656 srcdiroption="--srcdir=$${topdir}/libffi"; \
39657 libsrcdir="$$s/libffi"; \
39658 rm -f no-such-file || : ; \
39659 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39660 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39661 --target=${target_alias} $${srcdiroption} \
39662 || exit 1
39663 @endif target-libffi
39669 .PHONY: all-target-libffi maybe-all-target-libffi
39670 maybe-all-target-libffi:
39671 @if gcc-bootstrap
39672 all-target-libffi: stage_current
39673 @endif gcc-bootstrap
39674 @if target-libffi
39675 TARGET-target-libffi=all
39676 maybe-all-target-libffi: all-target-libffi
39677 all-target-libffi: configure-target-libffi
39678 @: $(MAKE); $(unstage)
39679 @r=`${PWD_COMMAND}`; export r; \
39680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39681 $(NORMAL_TARGET_EXPORTS) \
39682 (cd $(TARGET_SUBDIR)/libffi && \
39683 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
39684 $(TARGET-target-libffi))
39685 @endif target-libffi
39691 .PHONY: check-target-libffi maybe-check-target-libffi
39692 maybe-check-target-libffi:
39693 @if target-libffi
39694 maybe-check-target-libffi: check-target-libffi
39696 check-target-libffi:
39697 @: $(MAKE); $(unstage)
39698 @r=`${PWD_COMMAND}`; export r; \
39699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39700 $(NORMAL_TARGET_EXPORTS) \
39701 (cd $(TARGET_SUBDIR)/libffi && \
39702 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39704 @endif target-libffi
39706 .PHONY: install-target-libffi maybe-install-target-libffi
39707 maybe-install-target-libffi:
39708 @if target-libffi
39709 maybe-install-target-libffi: install-target-libffi
39711 # Dummy target for uninstallable.
39712 install-target-libffi:
39714 @endif target-libffi
39716 .PHONY: install-strip-target-libffi maybe-install-strip-target-libffi
39717 maybe-install-strip-target-libffi:
39718 @if target-libffi
39719 maybe-install-strip-target-libffi: install-strip-target-libffi
39721 # Dummy target for uninstallable.
39722 install-strip-target-libffi:
39724 @endif target-libffi
39726 # Other targets (info, dvi, pdf, etc.)
39728 .PHONY: maybe-info-target-libffi info-target-libffi
39729 maybe-info-target-libffi:
39730 @if target-libffi
39731 maybe-info-target-libffi: info-target-libffi
39733 info-target-libffi: \
39734 configure-target-libffi
39735 @: $(MAKE); $(unstage)
39736 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39737 r=`${PWD_COMMAND}`; export r; \
39738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39739 $(NORMAL_TARGET_EXPORTS) \
39740 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
39741 for flag in $(EXTRA_TARGET_FLAGS); do \
39742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39743 done; \
39744 (cd $(TARGET_SUBDIR)/libffi && \
39745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39747 "RANLIB=$${RANLIB}" \
39748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39749 info) \
39750 || exit 1
39752 @endif target-libffi
39754 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
39755 maybe-dvi-target-libffi:
39756 @if target-libffi
39757 maybe-dvi-target-libffi: dvi-target-libffi
39759 dvi-target-libffi: \
39760 configure-target-libffi
39761 @: $(MAKE); $(unstage)
39762 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39763 r=`${PWD_COMMAND}`; export r; \
39764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39765 $(NORMAL_TARGET_EXPORTS) \
39766 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
39767 for flag in $(EXTRA_TARGET_FLAGS); do \
39768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39769 done; \
39770 (cd $(TARGET_SUBDIR)/libffi && \
39771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39773 "RANLIB=$${RANLIB}" \
39774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39775 dvi) \
39776 || exit 1
39778 @endif target-libffi
39780 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
39781 maybe-pdf-target-libffi:
39782 @if target-libffi
39783 maybe-pdf-target-libffi: pdf-target-libffi
39785 pdf-target-libffi: \
39786 configure-target-libffi
39787 @: $(MAKE); $(unstage)
39788 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39789 r=`${PWD_COMMAND}`; export r; \
39790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39791 $(NORMAL_TARGET_EXPORTS) \
39792 echo "Doing pdf in $(TARGET_SUBDIR)/libffi" ; \
39793 for flag in $(EXTRA_TARGET_FLAGS); do \
39794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39795 done; \
39796 (cd $(TARGET_SUBDIR)/libffi && \
39797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39799 "RANLIB=$${RANLIB}" \
39800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39801 pdf) \
39802 || exit 1
39804 @endif target-libffi
39806 .PHONY: maybe-html-target-libffi html-target-libffi
39807 maybe-html-target-libffi:
39808 @if target-libffi
39809 maybe-html-target-libffi: html-target-libffi
39811 html-target-libffi: \
39812 configure-target-libffi
39813 @: $(MAKE); $(unstage)
39814 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39815 r=`${PWD_COMMAND}`; export r; \
39816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39817 $(NORMAL_TARGET_EXPORTS) \
39818 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
39819 for flag in $(EXTRA_TARGET_FLAGS); do \
39820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39821 done; \
39822 (cd $(TARGET_SUBDIR)/libffi && \
39823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39825 "RANLIB=$${RANLIB}" \
39826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39827 html) \
39828 || exit 1
39830 @endif target-libffi
39832 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
39833 maybe-TAGS-target-libffi:
39834 @if target-libffi
39835 maybe-TAGS-target-libffi: TAGS-target-libffi
39837 TAGS-target-libffi: \
39838 configure-target-libffi
39839 @: $(MAKE); $(unstage)
39840 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39841 r=`${PWD_COMMAND}`; export r; \
39842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39843 $(NORMAL_TARGET_EXPORTS) \
39844 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
39845 for flag in $(EXTRA_TARGET_FLAGS); do \
39846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39847 done; \
39848 (cd $(TARGET_SUBDIR)/libffi && \
39849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39851 "RANLIB=$${RANLIB}" \
39852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39853 TAGS) \
39854 || exit 1
39856 @endif target-libffi
39858 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
39859 maybe-install-info-target-libffi:
39860 @if target-libffi
39861 maybe-install-info-target-libffi: install-info-target-libffi
39863 install-info-target-libffi: \
39864 configure-target-libffi \
39865 info-target-libffi
39866 @: $(MAKE); $(unstage)
39867 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39868 r=`${PWD_COMMAND}`; export r; \
39869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39870 $(NORMAL_TARGET_EXPORTS) \
39871 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
39872 for flag in $(EXTRA_TARGET_FLAGS); do \
39873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39874 done; \
39875 (cd $(TARGET_SUBDIR)/libffi && \
39876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39878 "RANLIB=$${RANLIB}" \
39879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39880 install-info) \
39881 || exit 1
39883 @endif target-libffi
39885 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
39886 maybe-install-pdf-target-libffi:
39887 @if target-libffi
39888 maybe-install-pdf-target-libffi: install-pdf-target-libffi
39890 install-pdf-target-libffi: \
39891 configure-target-libffi \
39892 pdf-target-libffi
39893 @: $(MAKE); $(unstage)
39894 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39895 r=`${PWD_COMMAND}`; export r; \
39896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39897 $(NORMAL_TARGET_EXPORTS) \
39898 echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi" ; \
39899 for flag in $(EXTRA_TARGET_FLAGS); do \
39900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39901 done; \
39902 (cd $(TARGET_SUBDIR)/libffi && \
39903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39905 "RANLIB=$${RANLIB}" \
39906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39907 install-pdf) \
39908 || exit 1
39910 @endif target-libffi
39912 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
39913 maybe-install-html-target-libffi:
39914 @if target-libffi
39915 maybe-install-html-target-libffi: install-html-target-libffi
39917 install-html-target-libffi: \
39918 configure-target-libffi \
39919 html-target-libffi
39920 @: $(MAKE); $(unstage)
39921 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39922 r=`${PWD_COMMAND}`; export r; \
39923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39924 $(NORMAL_TARGET_EXPORTS) \
39925 echo "Doing install-html in $(TARGET_SUBDIR)/libffi" ; \
39926 for flag in $(EXTRA_TARGET_FLAGS); do \
39927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39928 done; \
39929 (cd $(TARGET_SUBDIR)/libffi && \
39930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39932 "RANLIB=$${RANLIB}" \
39933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39934 install-html) \
39935 || exit 1
39937 @endif target-libffi
39939 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
39940 maybe-installcheck-target-libffi:
39941 @if target-libffi
39942 maybe-installcheck-target-libffi: installcheck-target-libffi
39944 installcheck-target-libffi: \
39945 configure-target-libffi
39946 @: $(MAKE); $(unstage)
39947 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39948 r=`${PWD_COMMAND}`; export r; \
39949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39950 $(NORMAL_TARGET_EXPORTS) \
39951 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
39952 for flag in $(EXTRA_TARGET_FLAGS); do \
39953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39954 done; \
39955 (cd $(TARGET_SUBDIR)/libffi && \
39956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39958 "RANLIB=$${RANLIB}" \
39959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39960 installcheck) \
39961 || exit 1
39963 @endif target-libffi
39965 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
39966 maybe-mostlyclean-target-libffi:
39967 @if target-libffi
39968 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
39970 mostlyclean-target-libffi:
39971 @: $(MAKE); $(unstage)
39972 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39973 r=`${PWD_COMMAND}`; export r; \
39974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39975 $(NORMAL_TARGET_EXPORTS) \
39976 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
39977 for flag in $(EXTRA_TARGET_FLAGS); do \
39978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39979 done; \
39980 (cd $(TARGET_SUBDIR)/libffi && \
39981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39983 "RANLIB=$${RANLIB}" \
39984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39985 mostlyclean) \
39986 || exit 1
39988 @endif target-libffi
39990 .PHONY: maybe-clean-target-libffi clean-target-libffi
39991 maybe-clean-target-libffi:
39992 @if target-libffi
39993 maybe-clean-target-libffi: clean-target-libffi
39995 clean-target-libffi:
39996 @: $(MAKE); $(unstage)
39997 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39998 r=`${PWD_COMMAND}`; export r; \
39999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40000 $(NORMAL_TARGET_EXPORTS) \
40001 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
40002 for flag in $(EXTRA_TARGET_FLAGS); do \
40003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40004 done; \
40005 (cd $(TARGET_SUBDIR)/libffi && \
40006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40008 "RANLIB=$${RANLIB}" \
40009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40010 clean) \
40011 || exit 1
40013 @endif target-libffi
40015 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
40016 maybe-distclean-target-libffi:
40017 @if target-libffi
40018 maybe-distclean-target-libffi: distclean-target-libffi
40020 distclean-target-libffi:
40021 @: $(MAKE); $(unstage)
40022 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
40023 r=`${PWD_COMMAND}`; export r; \
40024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40025 $(NORMAL_TARGET_EXPORTS) \
40026 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
40027 for flag in $(EXTRA_TARGET_FLAGS); do \
40028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40029 done; \
40030 (cd $(TARGET_SUBDIR)/libffi && \
40031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40033 "RANLIB=$${RANLIB}" \
40034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40035 distclean) \
40036 || exit 1
40038 @endif target-libffi
40040 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
40041 maybe-maintainer-clean-target-libffi:
40042 @if target-libffi
40043 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
40045 maintainer-clean-target-libffi:
40046 @: $(MAKE); $(unstage)
40047 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
40048 r=`${PWD_COMMAND}`; export r; \
40049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40050 $(NORMAL_TARGET_EXPORTS) \
40051 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
40052 for flag in $(EXTRA_TARGET_FLAGS); do \
40053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40054 done; \
40055 (cd $(TARGET_SUBDIR)/libffi && \
40056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40058 "RANLIB=$${RANLIB}" \
40059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40060 maintainer-clean) \
40061 || exit 1
40063 @endif target-libffi
40069 .PHONY: configure-target-libjava maybe-configure-target-libjava
40070 maybe-configure-target-libjava:
40071 @if gcc-bootstrap
40072 configure-target-libjava: stage_current
40073 @endif gcc-bootstrap
40074 @if target-libjava
40075 maybe-configure-target-libjava: configure-target-libjava
40076 configure-target-libjava:
40077 @: $(MAKE); $(unstage)
40078 @r=`${PWD_COMMAND}`; export r; \
40079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40080 echo "Checking multilib configuration for libjava..."; \
40081 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
40082 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
40083 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
40084 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
40085 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
40086 else \
40087 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
40088 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
40089 fi; \
40090 else \
40091 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
40092 fi; \
40093 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
40094 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
40095 $(RAW_CXX_TARGET_EXPORTS) \
40096 echo Configuring in $(TARGET_SUBDIR)/libjava; \
40097 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
40098 case $(srcdir) in \
40099 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40100 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
40101 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40102 esac; \
40103 srcdiroption="--srcdir=$${topdir}/libjava"; \
40104 libsrcdir="$$s/libjava"; \
40105 rm -f no-such-file || : ; \
40106 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40107 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40108 --target=${target_alias} $${srcdiroption} $(EXTRA_CONFIGARGS_LIBJAVA) \
40109 || exit 1
40110 @endif target-libjava
40116 .PHONY: all-target-libjava maybe-all-target-libjava
40117 maybe-all-target-libjava:
40118 @if gcc-bootstrap
40119 all-target-libjava: stage_current
40120 @endif gcc-bootstrap
40121 @if target-libjava
40122 TARGET-target-libjava=all
40123 maybe-all-target-libjava: all-target-libjava
40124 all-target-libjava: configure-target-libjava
40125 @: $(MAKE); $(unstage)
40126 @r=`${PWD_COMMAND}`; export r; \
40127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40128 $(RAW_CXX_TARGET_EXPORTS) \
40129 (cd $(TARGET_SUBDIR)/libjava && \
40130 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40131 $(TARGET-target-libjava))
40132 @endif target-libjava
40138 .PHONY: check-target-libjava maybe-check-target-libjava
40139 maybe-check-target-libjava:
40140 @if target-libjava
40141 maybe-check-target-libjava: check-target-libjava
40143 check-target-libjava:
40144 @: $(MAKE); $(unstage)
40145 @r=`${PWD_COMMAND}`; export r; \
40146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40147 $(RAW_CXX_TARGET_EXPORTS) \
40148 (cd $(TARGET_SUBDIR)/libjava && \
40149 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
40151 @endif target-libjava
40153 .PHONY: install-target-libjava maybe-install-target-libjava
40154 maybe-install-target-libjava:
40155 @if target-libjava
40156 maybe-install-target-libjava: install-target-libjava
40158 install-target-libjava: installdirs
40159 @: $(MAKE); $(unstage)
40160 @r=`${PWD_COMMAND}`; export r; \
40161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40162 $(RAW_CXX_TARGET_EXPORTS) \
40163 (cd $(TARGET_SUBDIR)/libjava && \
40164 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40166 @endif target-libjava
40168 .PHONY: install-strip-target-libjava maybe-install-strip-target-libjava
40169 maybe-install-strip-target-libjava:
40170 @if target-libjava
40171 maybe-install-strip-target-libjava: install-strip-target-libjava
40173 install-strip-target-libjava: installdirs
40174 @: $(MAKE); $(unstage)
40175 @r=`${PWD_COMMAND}`; export r; \
40176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40177 $(RAW_CXX_TARGET_EXPORTS) \
40178 (cd $(TARGET_SUBDIR)/libjava && \
40179 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40181 @endif target-libjava
40183 # Other targets (info, dvi, pdf, etc.)
40185 .PHONY: maybe-info-target-libjava info-target-libjava
40186 maybe-info-target-libjava:
40187 @if target-libjava
40188 maybe-info-target-libjava: info-target-libjava
40190 info-target-libjava: \
40191 configure-target-libjava
40192 @: $(MAKE); $(unstage)
40193 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
40194 r=`${PWD_COMMAND}`; export r; \
40195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40196 $(RAW_CXX_TARGET_EXPORTS) \
40197 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
40198 for flag in $(EXTRA_TARGET_FLAGS); do \
40199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40200 done; \
40201 (cd $(TARGET_SUBDIR)/libjava && \
40202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40204 "RANLIB=$${RANLIB}" \
40205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40206 info) \
40207 || exit 1
40209 @endif target-libjava
40211 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
40212 maybe-dvi-target-libjava:
40213 @if target-libjava
40214 maybe-dvi-target-libjava: dvi-target-libjava
40216 dvi-target-libjava: \
40217 configure-target-libjava
40218 @: $(MAKE); $(unstage)
40219 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
40220 r=`${PWD_COMMAND}`; export r; \
40221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40222 $(RAW_CXX_TARGET_EXPORTS) \
40223 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
40224 for flag in $(EXTRA_TARGET_FLAGS); do \
40225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40226 done; \
40227 (cd $(TARGET_SUBDIR)/libjava && \
40228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40230 "RANLIB=$${RANLIB}" \
40231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40232 dvi) \
40233 || exit 1
40235 @endif target-libjava
40237 .PHONY: maybe-pdf-target-libjava pdf-target-libjava
40238 maybe-pdf-target-libjava:
40239 @if target-libjava
40240 maybe-pdf-target-libjava: pdf-target-libjava
40242 pdf-target-libjava: \
40243 configure-target-libjava
40244 @: $(MAKE); $(unstage)
40245 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
40246 r=`${PWD_COMMAND}`; export r; \
40247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40248 $(RAW_CXX_TARGET_EXPORTS) \
40249 echo "Doing pdf in $(TARGET_SUBDIR)/libjava" ; \
40250 for flag in $(EXTRA_TARGET_FLAGS); do \
40251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40252 done; \
40253 (cd $(TARGET_SUBDIR)/libjava && \
40254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40256 "RANLIB=$${RANLIB}" \
40257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40258 pdf) \
40259 || exit 1
40261 @endif target-libjava
40263 .PHONY: maybe-html-target-libjava html-target-libjava
40264 maybe-html-target-libjava:
40265 @if target-libjava
40266 maybe-html-target-libjava: html-target-libjava
40268 html-target-libjava: \
40269 configure-target-libjava
40270 @: $(MAKE); $(unstage)
40271 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
40272 r=`${PWD_COMMAND}`; export r; \
40273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40274 $(RAW_CXX_TARGET_EXPORTS) \
40275 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
40276 for flag in $(EXTRA_TARGET_FLAGS); do \
40277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40278 done; \
40279 (cd $(TARGET_SUBDIR)/libjava && \
40280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40282 "RANLIB=$${RANLIB}" \
40283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40284 html) \
40285 || exit 1
40287 @endif target-libjava
40289 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
40290 maybe-TAGS-target-libjava:
40291 @if target-libjava
40292 maybe-TAGS-target-libjava: TAGS-target-libjava
40294 TAGS-target-libjava: \
40295 configure-target-libjava
40296 @: $(MAKE); $(unstage)
40297 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
40298 r=`${PWD_COMMAND}`; export r; \
40299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40300 $(RAW_CXX_TARGET_EXPORTS) \
40301 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
40302 for flag in $(EXTRA_TARGET_FLAGS); do \
40303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40304 done; \
40305 (cd $(TARGET_SUBDIR)/libjava && \
40306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40308 "RANLIB=$${RANLIB}" \
40309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40310 TAGS) \
40311 || exit 1
40313 @endif target-libjava
40315 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
40316 maybe-install-info-target-libjava:
40317 @if target-libjava
40318 maybe-install-info-target-libjava: install-info-target-libjava
40320 install-info-target-libjava: \
40321 configure-target-libjava \
40322 info-target-libjava
40323 @: $(MAKE); $(unstage)
40324 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
40325 r=`${PWD_COMMAND}`; export r; \
40326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40327 $(RAW_CXX_TARGET_EXPORTS) \
40328 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
40329 for flag in $(EXTRA_TARGET_FLAGS); do \
40330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40331 done; \
40332 (cd $(TARGET_SUBDIR)/libjava && \
40333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40335 "RANLIB=$${RANLIB}" \
40336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40337 install-info) \
40338 || exit 1
40340 @endif target-libjava
40342 .PHONY: maybe-install-pdf-target-libjava install-pdf-target-libjava
40343 maybe-install-pdf-target-libjava:
40344 @if target-libjava
40345 maybe-install-pdf-target-libjava: install-pdf-target-libjava
40347 install-pdf-target-libjava: \
40348 configure-target-libjava \
40349 pdf-target-libjava
40350 @: $(MAKE); $(unstage)
40351 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
40352 r=`${PWD_COMMAND}`; export r; \
40353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40354 $(RAW_CXX_TARGET_EXPORTS) \
40355 echo "Doing install-pdf in $(TARGET_SUBDIR)/libjava" ; \
40356 for flag in $(EXTRA_TARGET_FLAGS); do \
40357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40358 done; \
40359 (cd $(TARGET_SUBDIR)/libjava && \
40360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40362 "RANLIB=$${RANLIB}" \
40363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40364 install-pdf) \
40365 || exit 1
40367 @endif target-libjava
40369 .PHONY: maybe-install-html-target-libjava install-html-target-libjava
40370 maybe-install-html-target-libjava:
40371 @if target-libjava
40372 maybe-install-html-target-libjava: install-html-target-libjava
40374 install-html-target-libjava: \
40375 configure-target-libjava \
40376 html-target-libjava
40377 @: $(MAKE); $(unstage)
40378 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
40379 r=`${PWD_COMMAND}`; export r; \
40380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40381 $(RAW_CXX_TARGET_EXPORTS) \
40382 echo "Doing install-html in $(TARGET_SUBDIR)/libjava" ; \
40383 for flag in $(EXTRA_TARGET_FLAGS); do \
40384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40385 done; \
40386 (cd $(TARGET_SUBDIR)/libjava && \
40387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40389 "RANLIB=$${RANLIB}" \
40390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40391 install-html) \
40392 || exit 1
40394 @endif target-libjava
40396 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
40397 maybe-installcheck-target-libjava:
40398 @if target-libjava
40399 maybe-installcheck-target-libjava: installcheck-target-libjava
40401 installcheck-target-libjava: \
40402 configure-target-libjava
40403 @: $(MAKE); $(unstage)
40404 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
40405 r=`${PWD_COMMAND}`; export r; \
40406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40407 $(RAW_CXX_TARGET_EXPORTS) \
40408 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
40409 for flag in $(EXTRA_TARGET_FLAGS); do \
40410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40411 done; \
40412 (cd $(TARGET_SUBDIR)/libjava && \
40413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40415 "RANLIB=$${RANLIB}" \
40416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40417 installcheck) \
40418 || exit 1
40420 @endif target-libjava
40422 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
40423 maybe-mostlyclean-target-libjava:
40424 @if target-libjava
40425 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
40427 mostlyclean-target-libjava:
40428 @: $(MAKE); $(unstage)
40429 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
40430 r=`${PWD_COMMAND}`; export r; \
40431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40432 $(RAW_CXX_TARGET_EXPORTS) \
40433 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
40434 for flag in $(EXTRA_TARGET_FLAGS); do \
40435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40436 done; \
40437 (cd $(TARGET_SUBDIR)/libjava && \
40438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40440 "RANLIB=$${RANLIB}" \
40441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40442 mostlyclean) \
40443 || exit 1
40445 @endif target-libjava
40447 .PHONY: maybe-clean-target-libjava clean-target-libjava
40448 maybe-clean-target-libjava:
40449 @if target-libjava
40450 maybe-clean-target-libjava: clean-target-libjava
40452 clean-target-libjava:
40453 @: $(MAKE); $(unstage)
40454 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
40455 r=`${PWD_COMMAND}`; export r; \
40456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40457 $(RAW_CXX_TARGET_EXPORTS) \
40458 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
40459 for flag in $(EXTRA_TARGET_FLAGS); do \
40460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40461 done; \
40462 (cd $(TARGET_SUBDIR)/libjava && \
40463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40465 "RANLIB=$${RANLIB}" \
40466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40467 clean) \
40468 || exit 1
40470 @endif target-libjava
40472 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
40473 maybe-distclean-target-libjava:
40474 @if target-libjava
40475 maybe-distclean-target-libjava: distclean-target-libjava
40477 distclean-target-libjava:
40478 @: $(MAKE); $(unstage)
40479 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
40480 r=`${PWD_COMMAND}`; export r; \
40481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40482 $(RAW_CXX_TARGET_EXPORTS) \
40483 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
40484 for flag in $(EXTRA_TARGET_FLAGS); do \
40485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40486 done; \
40487 (cd $(TARGET_SUBDIR)/libjava && \
40488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40490 "RANLIB=$${RANLIB}" \
40491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40492 distclean) \
40493 || exit 1
40495 @endif target-libjava
40497 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
40498 maybe-maintainer-clean-target-libjava:
40499 @if target-libjava
40500 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
40502 maintainer-clean-target-libjava:
40503 @: $(MAKE); $(unstage)
40504 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
40505 r=`${PWD_COMMAND}`; export r; \
40506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40507 $(RAW_CXX_TARGET_EXPORTS) \
40508 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
40509 for flag in $(EXTRA_TARGET_FLAGS); do \
40510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40511 done; \
40512 (cd $(TARGET_SUBDIR)/libjava && \
40513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40515 "RANLIB=$${RANLIB}" \
40516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40517 maintainer-clean) \
40518 || exit 1
40520 @endif target-libjava
40526 .PHONY: configure-target-zlib maybe-configure-target-zlib
40527 maybe-configure-target-zlib:
40528 @if gcc-bootstrap
40529 configure-target-zlib: stage_current
40530 @endif gcc-bootstrap
40531 @if target-zlib
40532 maybe-configure-target-zlib: configure-target-zlib
40533 configure-target-zlib:
40534 @: $(MAKE); $(unstage)
40535 @r=`${PWD_COMMAND}`; export r; \
40536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40537 echo "Checking multilib configuration for zlib..."; \
40538 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
40539 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
40540 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
40541 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
40542 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
40543 else \
40544 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
40545 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
40546 fi; \
40547 else \
40548 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
40549 fi; \
40550 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
40551 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
40552 $(NORMAL_TARGET_EXPORTS) \
40553 echo Configuring in $(TARGET_SUBDIR)/zlib; \
40554 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
40555 case $(srcdir) in \
40556 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40557 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
40558 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40559 esac; \
40560 srcdiroption="--srcdir=$${topdir}/zlib"; \
40561 libsrcdir="$$s/zlib"; \
40562 rm -f no-such-file || : ; \
40563 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40564 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40565 --target=${target_alias} $${srcdiroption} \
40566 || exit 1
40567 @endif target-zlib
40573 .PHONY: all-target-zlib maybe-all-target-zlib
40574 maybe-all-target-zlib:
40575 @if gcc-bootstrap
40576 all-target-zlib: stage_current
40577 @endif gcc-bootstrap
40578 @if target-zlib
40579 TARGET-target-zlib=all
40580 maybe-all-target-zlib: all-target-zlib
40581 all-target-zlib: configure-target-zlib
40582 @: $(MAKE); $(unstage)
40583 @r=`${PWD_COMMAND}`; export r; \
40584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40585 $(NORMAL_TARGET_EXPORTS) \
40586 (cd $(TARGET_SUBDIR)/zlib && \
40587 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
40588 $(TARGET-target-zlib))
40589 @endif target-zlib
40595 .PHONY: check-target-zlib maybe-check-target-zlib
40596 maybe-check-target-zlib:
40597 @if target-zlib
40598 maybe-check-target-zlib: check-target-zlib
40600 check-target-zlib:
40601 @: $(MAKE); $(unstage)
40602 @r=`${PWD_COMMAND}`; export r; \
40603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40604 $(NORMAL_TARGET_EXPORTS) \
40605 (cd $(TARGET_SUBDIR)/zlib && \
40606 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40608 @endif target-zlib
40610 .PHONY: install-target-zlib maybe-install-target-zlib
40611 maybe-install-target-zlib:
40612 @if target-zlib
40613 maybe-install-target-zlib: install-target-zlib
40615 install-target-zlib: installdirs
40616 @: $(MAKE); $(unstage)
40617 @r=`${PWD_COMMAND}`; export r; \
40618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40619 $(NORMAL_TARGET_EXPORTS) \
40620 (cd $(TARGET_SUBDIR)/zlib && \
40621 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40623 @endif target-zlib
40625 .PHONY: install-strip-target-zlib maybe-install-strip-target-zlib
40626 maybe-install-strip-target-zlib:
40627 @if target-zlib
40628 maybe-install-strip-target-zlib: install-strip-target-zlib
40630 install-strip-target-zlib: installdirs
40631 @: $(MAKE); $(unstage)
40632 @r=`${PWD_COMMAND}`; export r; \
40633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40634 $(NORMAL_TARGET_EXPORTS) \
40635 (cd $(TARGET_SUBDIR)/zlib && \
40636 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40638 @endif target-zlib
40640 # Other targets (info, dvi, pdf, etc.)
40642 .PHONY: maybe-info-target-zlib info-target-zlib
40643 maybe-info-target-zlib:
40644 @if target-zlib
40645 maybe-info-target-zlib: info-target-zlib
40647 info-target-zlib: \
40648 configure-target-zlib
40649 @: $(MAKE); $(unstage)
40650 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40651 r=`${PWD_COMMAND}`; export r; \
40652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40653 $(NORMAL_TARGET_EXPORTS) \
40654 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
40655 for flag in $(EXTRA_TARGET_FLAGS); do \
40656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40657 done; \
40658 (cd $(TARGET_SUBDIR)/zlib && \
40659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40661 "RANLIB=$${RANLIB}" \
40662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40663 info) \
40664 || exit 1
40666 @endif target-zlib
40668 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
40669 maybe-dvi-target-zlib:
40670 @if target-zlib
40671 maybe-dvi-target-zlib: dvi-target-zlib
40673 dvi-target-zlib: \
40674 configure-target-zlib
40675 @: $(MAKE); $(unstage)
40676 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40677 r=`${PWD_COMMAND}`; export r; \
40678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40679 $(NORMAL_TARGET_EXPORTS) \
40680 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
40681 for flag in $(EXTRA_TARGET_FLAGS); do \
40682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40683 done; \
40684 (cd $(TARGET_SUBDIR)/zlib && \
40685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40687 "RANLIB=$${RANLIB}" \
40688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40689 dvi) \
40690 || exit 1
40692 @endif target-zlib
40694 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
40695 maybe-pdf-target-zlib:
40696 @if target-zlib
40697 maybe-pdf-target-zlib: pdf-target-zlib
40699 pdf-target-zlib: \
40700 configure-target-zlib
40701 @: $(MAKE); $(unstage)
40702 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40703 r=`${PWD_COMMAND}`; export r; \
40704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40705 $(NORMAL_TARGET_EXPORTS) \
40706 echo "Doing pdf in $(TARGET_SUBDIR)/zlib" ; \
40707 for flag in $(EXTRA_TARGET_FLAGS); do \
40708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40709 done; \
40710 (cd $(TARGET_SUBDIR)/zlib && \
40711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40713 "RANLIB=$${RANLIB}" \
40714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40715 pdf) \
40716 || exit 1
40718 @endif target-zlib
40720 .PHONY: maybe-html-target-zlib html-target-zlib
40721 maybe-html-target-zlib:
40722 @if target-zlib
40723 maybe-html-target-zlib: html-target-zlib
40725 html-target-zlib: \
40726 configure-target-zlib
40727 @: $(MAKE); $(unstage)
40728 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40729 r=`${PWD_COMMAND}`; export r; \
40730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40731 $(NORMAL_TARGET_EXPORTS) \
40732 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
40733 for flag in $(EXTRA_TARGET_FLAGS); do \
40734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40735 done; \
40736 (cd $(TARGET_SUBDIR)/zlib && \
40737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40739 "RANLIB=$${RANLIB}" \
40740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40741 html) \
40742 || exit 1
40744 @endif target-zlib
40746 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
40747 maybe-TAGS-target-zlib:
40748 @if target-zlib
40749 maybe-TAGS-target-zlib: TAGS-target-zlib
40751 TAGS-target-zlib: \
40752 configure-target-zlib
40753 @: $(MAKE); $(unstage)
40754 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40755 r=`${PWD_COMMAND}`; export r; \
40756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40757 $(NORMAL_TARGET_EXPORTS) \
40758 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
40759 for flag in $(EXTRA_TARGET_FLAGS); do \
40760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40761 done; \
40762 (cd $(TARGET_SUBDIR)/zlib && \
40763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40765 "RANLIB=$${RANLIB}" \
40766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40767 TAGS) \
40768 || exit 1
40770 @endif target-zlib
40772 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
40773 maybe-install-info-target-zlib:
40774 @if target-zlib
40775 maybe-install-info-target-zlib: install-info-target-zlib
40777 install-info-target-zlib: \
40778 configure-target-zlib \
40779 info-target-zlib
40780 @: $(MAKE); $(unstage)
40781 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40782 r=`${PWD_COMMAND}`; export r; \
40783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40784 $(NORMAL_TARGET_EXPORTS) \
40785 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
40786 for flag in $(EXTRA_TARGET_FLAGS); do \
40787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40788 done; \
40789 (cd $(TARGET_SUBDIR)/zlib && \
40790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40792 "RANLIB=$${RANLIB}" \
40793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40794 install-info) \
40795 || exit 1
40797 @endif target-zlib
40799 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
40800 maybe-install-pdf-target-zlib:
40801 @if target-zlib
40802 maybe-install-pdf-target-zlib: install-pdf-target-zlib
40804 install-pdf-target-zlib: \
40805 configure-target-zlib \
40806 pdf-target-zlib
40807 @: $(MAKE); $(unstage)
40808 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40809 r=`${PWD_COMMAND}`; export r; \
40810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40811 $(NORMAL_TARGET_EXPORTS) \
40812 echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib" ; \
40813 for flag in $(EXTRA_TARGET_FLAGS); do \
40814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40815 done; \
40816 (cd $(TARGET_SUBDIR)/zlib && \
40817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40819 "RANLIB=$${RANLIB}" \
40820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40821 install-pdf) \
40822 || exit 1
40824 @endif target-zlib
40826 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
40827 maybe-install-html-target-zlib:
40828 @if target-zlib
40829 maybe-install-html-target-zlib: install-html-target-zlib
40831 install-html-target-zlib: \
40832 configure-target-zlib \
40833 html-target-zlib
40834 @: $(MAKE); $(unstage)
40835 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40836 r=`${PWD_COMMAND}`; export r; \
40837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40838 $(NORMAL_TARGET_EXPORTS) \
40839 echo "Doing install-html in $(TARGET_SUBDIR)/zlib" ; \
40840 for flag in $(EXTRA_TARGET_FLAGS); do \
40841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40842 done; \
40843 (cd $(TARGET_SUBDIR)/zlib && \
40844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40846 "RANLIB=$${RANLIB}" \
40847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40848 install-html) \
40849 || exit 1
40851 @endif target-zlib
40853 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
40854 maybe-installcheck-target-zlib:
40855 @if target-zlib
40856 maybe-installcheck-target-zlib: installcheck-target-zlib
40858 installcheck-target-zlib: \
40859 configure-target-zlib
40860 @: $(MAKE); $(unstage)
40861 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40862 r=`${PWD_COMMAND}`; export r; \
40863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40864 $(NORMAL_TARGET_EXPORTS) \
40865 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
40866 for flag in $(EXTRA_TARGET_FLAGS); do \
40867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40868 done; \
40869 (cd $(TARGET_SUBDIR)/zlib && \
40870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40872 "RANLIB=$${RANLIB}" \
40873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40874 installcheck) \
40875 || exit 1
40877 @endif target-zlib
40879 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
40880 maybe-mostlyclean-target-zlib:
40881 @if target-zlib
40882 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
40884 mostlyclean-target-zlib:
40885 @: $(MAKE); $(unstage)
40886 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40887 r=`${PWD_COMMAND}`; export r; \
40888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40889 $(NORMAL_TARGET_EXPORTS) \
40890 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
40891 for flag in $(EXTRA_TARGET_FLAGS); do \
40892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40893 done; \
40894 (cd $(TARGET_SUBDIR)/zlib && \
40895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40897 "RANLIB=$${RANLIB}" \
40898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40899 mostlyclean) \
40900 || exit 1
40902 @endif target-zlib
40904 .PHONY: maybe-clean-target-zlib clean-target-zlib
40905 maybe-clean-target-zlib:
40906 @if target-zlib
40907 maybe-clean-target-zlib: clean-target-zlib
40909 clean-target-zlib:
40910 @: $(MAKE); $(unstage)
40911 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40912 r=`${PWD_COMMAND}`; export r; \
40913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40914 $(NORMAL_TARGET_EXPORTS) \
40915 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
40916 for flag in $(EXTRA_TARGET_FLAGS); do \
40917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40918 done; \
40919 (cd $(TARGET_SUBDIR)/zlib && \
40920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40922 "RANLIB=$${RANLIB}" \
40923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40924 clean) \
40925 || exit 1
40927 @endif target-zlib
40929 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
40930 maybe-distclean-target-zlib:
40931 @if target-zlib
40932 maybe-distclean-target-zlib: distclean-target-zlib
40934 distclean-target-zlib:
40935 @: $(MAKE); $(unstage)
40936 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40937 r=`${PWD_COMMAND}`; export r; \
40938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40939 $(NORMAL_TARGET_EXPORTS) \
40940 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
40941 for flag in $(EXTRA_TARGET_FLAGS); do \
40942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40943 done; \
40944 (cd $(TARGET_SUBDIR)/zlib && \
40945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40947 "RANLIB=$${RANLIB}" \
40948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40949 distclean) \
40950 || exit 1
40952 @endif target-zlib
40954 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
40955 maybe-maintainer-clean-target-zlib:
40956 @if target-zlib
40957 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
40959 maintainer-clean-target-zlib:
40960 @: $(MAKE); $(unstage)
40961 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40962 r=`${PWD_COMMAND}`; export r; \
40963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40964 $(NORMAL_TARGET_EXPORTS) \
40965 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
40966 for flag in $(EXTRA_TARGET_FLAGS); do \
40967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40968 done; \
40969 (cd $(TARGET_SUBDIR)/zlib && \
40970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40972 "RANLIB=$${RANLIB}" \
40973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40974 maintainer-clean) \
40975 || exit 1
40977 @endif target-zlib
40983 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
40984 maybe-configure-target-boehm-gc:
40985 @if gcc-bootstrap
40986 configure-target-boehm-gc: stage_current
40987 @endif gcc-bootstrap
40988 @if target-boehm-gc
40989 maybe-configure-target-boehm-gc: configure-target-boehm-gc
40990 configure-target-boehm-gc:
40991 @: $(MAKE); $(unstage)
40992 @r=`${PWD_COMMAND}`; export r; \
40993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40994 echo "Checking multilib configuration for boehm-gc..."; \
40995 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
40996 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
40997 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
40998 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
40999 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
41000 else \
41001 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
41002 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
41003 fi; \
41004 else \
41005 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
41006 fi; \
41007 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
41008 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
41009 $(NORMAL_TARGET_EXPORTS) \
41010 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
41011 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
41012 case $(srcdir) in \
41013 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41014 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
41015 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41016 esac; \
41017 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
41018 libsrcdir="$$s/boehm-gc"; \
41019 rm -f no-such-file || : ; \
41020 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
41021 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41022 --target=${target_alias} $${srcdiroption} \
41023 || exit 1
41024 @endif target-boehm-gc
41030 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
41031 maybe-all-target-boehm-gc:
41032 @if gcc-bootstrap
41033 all-target-boehm-gc: stage_current
41034 @endif gcc-bootstrap
41035 @if target-boehm-gc
41036 TARGET-target-boehm-gc=all
41037 maybe-all-target-boehm-gc: all-target-boehm-gc
41038 all-target-boehm-gc: configure-target-boehm-gc
41039 @: $(MAKE); $(unstage)
41040 @r=`${PWD_COMMAND}`; export r; \
41041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41042 $(NORMAL_TARGET_EXPORTS) \
41043 (cd $(TARGET_SUBDIR)/boehm-gc && \
41044 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
41045 $(TARGET-target-boehm-gc))
41046 @endif target-boehm-gc
41052 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
41053 maybe-check-target-boehm-gc:
41054 @if target-boehm-gc
41055 maybe-check-target-boehm-gc: check-target-boehm-gc
41057 check-target-boehm-gc:
41058 @: $(MAKE); $(unstage)
41059 @r=`${PWD_COMMAND}`; export r; \
41060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41061 $(NORMAL_TARGET_EXPORTS) \
41062 (cd $(TARGET_SUBDIR)/boehm-gc && \
41063 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41065 @endif target-boehm-gc
41067 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
41068 maybe-install-target-boehm-gc:
41069 @if target-boehm-gc
41070 maybe-install-target-boehm-gc: install-target-boehm-gc
41072 install-target-boehm-gc: installdirs
41073 @: $(MAKE); $(unstage)
41074 @r=`${PWD_COMMAND}`; export r; \
41075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41076 $(NORMAL_TARGET_EXPORTS) \
41077 (cd $(TARGET_SUBDIR)/boehm-gc && \
41078 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41080 @endif target-boehm-gc
41082 .PHONY: install-strip-target-boehm-gc maybe-install-strip-target-boehm-gc
41083 maybe-install-strip-target-boehm-gc:
41084 @if target-boehm-gc
41085 maybe-install-strip-target-boehm-gc: install-strip-target-boehm-gc
41087 install-strip-target-boehm-gc: installdirs
41088 @: $(MAKE); $(unstage)
41089 @r=`${PWD_COMMAND}`; export r; \
41090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41091 $(NORMAL_TARGET_EXPORTS) \
41092 (cd $(TARGET_SUBDIR)/boehm-gc && \
41093 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
41095 @endif target-boehm-gc
41097 # Other targets (info, dvi, pdf, etc.)
41099 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
41100 maybe-info-target-boehm-gc:
41101 @if target-boehm-gc
41102 maybe-info-target-boehm-gc: info-target-boehm-gc
41104 info-target-boehm-gc: \
41105 configure-target-boehm-gc
41106 @: $(MAKE); $(unstage)
41107 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
41108 r=`${PWD_COMMAND}`; export r; \
41109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41110 $(NORMAL_TARGET_EXPORTS) \
41111 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
41112 for flag in $(EXTRA_TARGET_FLAGS); do \
41113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41114 done; \
41115 (cd $(TARGET_SUBDIR)/boehm-gc && \
41116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41118 "RANLIB=$${RANLIB}" \
41119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41120 info) \
41121 || exit 1
41123 @endif target-boehm-gc
41125 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
41126 maybe-dvi-target-boehm-gc:
41127 @if target-boehm-gc
41128 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
41130 dvi-target-boehm-gc: \
41131 configure-target-boehm-gc
41132 @: $(MAKE); $(unstage)
41133 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
41134 r=`${PWD_COMMAND}`; export r; \
41135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41136 $(NORMAL_TARGET_EXPORTS) \
41137 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
41138 for flag in $(EXTRA_TARGET_FLAGS); do \
41139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41140 done; \
41141 (cd $(TARGET_SUBDIR)/boehm-gc && \
41142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41144 "RANLIB=$${RANLIB}" \
41145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41146 dvi) \
41147 || exit 1
41149 @endif target-boehm-gc
41151 .PHONY: maybe-pdf-target-boehm-gc pdf-target-boehm-gc
41152 maybe-pdf-target-boehm-gc:
41153 @if target-boehm-gc
41154 maybe-pdf-target-boehm-gc: pdf-target-boehm-gc
41156 pdf-target-boehm-gc: \
41157 configure-target-boehm-gc
41158 @: $(MAKE); $(unstage)
41159 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
41160 r=`${PWD_COMMAND}`; export r; \
41161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41162 $(NORMAL_TARGET_EXPORTS) \
41163 echo "Doing pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
41164 for flag in $(EXTRA_TARGET_FLAGS); do \
41165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41166 done; \
41167 (cd $(TARGET_SUBDIR)/boehm-gc && \
41168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41170 "RANLIB=$${RANLIB}" \
41171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41172 pdf) \
41173 || exit 1
41175 @endif target-boehm-gc
41177 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
41178 maybe-html-target-boehm-gc:
41179 @if target-boehm-gc
41180 maybe-html-target-boehm-gc: html-target-boehm-gc
41182 html-target-boehm-gc: \
41183 configure-target-boehm-gc
41184 @: $(MAKE); $(unstage)
41185 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
41186 r=`${PWD_COMMAND}`; export r; \
41187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41188 $(NORMAL_TARGET_EXPORTS) \
41189 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
41190 for flag in $(EXTRA_TARGET_FLAGS); do \
41191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41192 done; \
41193 (cd $(TARGET_SUBDIR)/boehm-gc && \
41194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41196 "RANLIB=$${RANLIB}" \
41197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41198 html) \
41199 || exit 1
41201 @endif target-boehm-gc
41203 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
41204 maybe-TAGS-target-boehm-gc:
41205 @if target-boehm-gc
41206 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
41208 TAGS-target-boehm-gc: \
41209 configure-target-boehm-gc
41210 @: $(MAKE); $(unstage)
41211 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
41212 r=`${PWD_COMMAND}`; export r; \
41213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41214 $(NORMAL_TARGET_EXPORTS) \
41215 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
41216 for flag in $(EXTRA_TARGET_FLAGS); do \
41217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41218 done; \
41219 (cd $(TARGET_SUBDIR)/boehm-gc && \
41220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41222 "RANLIB=$${RANLIB}" \
41223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41224 TAGS) \
41225 || exit 1
41227 @endif target-boehm-gc
41229 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
41230 maybe-install-info-target-boehm-gc:
41231 @if target-boehm-gc
41232 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
41234 install-info-target-boehm-gc: \
41235 configure-target-boehm-gc \
41236 info-target-boehm-gc
41237 @: $(MAKE); $(unstage)
41238 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
41239 r=`${PWD_COMMAND}`; export r; \
41240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41241 $(NORMAL_TARGET_EXPORTS) \
41242 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
41243 for flag in $(EXTRA_TARGET_FLAGS); do \
41244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41245 done; \
41246 (cd $(TARGET_SUBDIR)/boehm-gc && \
41247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41249 "RANLIB=$${RANLIB}" \
41250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41251 install-info) \
41252 || exit 1
41254 @endif target-boehm-gc
41256 .PHONY: maybe-install-pdf-target-boehm-gc install-pdf-target-boehm-gc
41257 maybe-install-pdf-target-boehm-gc:
41258 @if target-boehm-gc
41259 maybe-install-pdf-target-boehm-gc: install-pdf-target-boehm-gc
41261 install-pdf-target-boehm-gc: \
41262 configure-target-boehm-gc \
41263 pdf-target-boehm-gc
41264 @: $(MAKE); $(unstage)
41265 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
41266 r=`${PWD_COMMAND}`; export r; \
41267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41268 $(NORMAL_TARGET_EXPORTS) \
41269 echo "Doing install-pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
41270 for flag in $(EXTRA_TARGET_FLAGS); do \
41271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41272 done; \
41273 (cd $(TARGET_SUBDIR)/boehm-gc && \
41274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41276 "RANLIB=$${RANLIB}" \
41277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41278 install-pdf) \
41279 || exit 1
41281 @endif target-boehm-gc
41283 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
41284 maybe-install-html-target-boehm-gc:
41285 @if target-boehm-gc
41286 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
41288 install-html-target-boehm-gc: \
41289 configure-target-boehm-gc \
41290 html-target-boehm-gc
41291 @: $(MAKE); $(unstage)
41292 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
41293 r=`${PWD_COMMAND}`; export r; \
41294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41295 $(NORMAL_TARGET_EXPORTS) \
41296 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \
41297 for flag in $(EXTRA_TARGET_FLAGS); do \
41298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41299 done; \
41300 (cd $(TARGET_SUBDIR)/boehm-gc && \
41301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41303 "RANLIB=$${RANLIB}" \
41304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41305 install-html) \
41306 || exit 1
41308 @endif target-boehm-gc
41310 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
41311 maybe-installcheck-target-boehm-gc:
41312 @if target-boehm-gc
41313 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
41315 installcheck-target-boehm-gc: \
41316 configure-target-boehm-gc
41317 @: $(MAKE); $(unstage)
41318 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
41319 r=`${PWD_COMMAND}`; export r; \
41320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41321 $(NORMAL_TARGET_EXPORTS) \
41322 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
41323 for flag in $(EXTRA_TARGET_FLAGS); do \
41324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41325 done; \
41326 (cd $(TARGET_SUBDIR)/boehm-gc && \
41327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41329 "RANLIB=$${RANLIB}" \
41330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41331 installcheck) \
41332 || exit 1
41334 @endif target-boehm-gc
41336 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
41337 maybe-mostlyclean-target-boehm-gc:
41338 @if target-boehm-gc
41339 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
41341 mostlyclean-target-boehm-gc:
41342 @: $(MAKE); $(unstage)
41343 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
41344 r=`${PWD_COMMAND}`; export r; \
41345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41346 $(NORMAL_TARGET_EXPORTS) \
41347 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
41348 for flag in $(EXTRA_TARGET_FLAGS); do \
41349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41350 done; \
41351 (cd $(TARGET_SUBDIR)/boehm-gc && \
41352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41354 "RANLIB=$${RANLIB}" \
41355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41356 mostlyclean) \
41357 || exit 1
41359 @endif target-boehm-gc
41361 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
41362 maybe-clean-target-boehm-gc:
41363 @if target-boehm-gc
41364 maybe-clean-target-boehm-gc: clean-target-boehm-gc
41366 clean-target-boehm-gc:
41367 @: $(MAKE); $(unstage)
41368 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
41369 r=`${PWD_COMMAND}`; export r; \
41370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41371 $(NORMAL_TARGET_EXPORTS) \
41372 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
41373 for flag in $(EXTRA_TARGET_FLAGS); do \
41374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41375 done; \
41376 (cd $(TARGET_SUBDIR)/boehm-gc && \
41377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41379 "RANLIB=$${RANLIB}" \
41380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41381 clean) \
41382 || exit 1
41384 @endif target-boehm-gc
41386 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
41387 maybe-distclean-target-boehm-gc:
41388 @if target-boehm-gc
41389 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
41391 distclean-target-boehm-gc:
41392 @: $(MAKE); $(unstage)
41393 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
41394 r=`${PWD_COMMAND}`; export r; \
41395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41396 $(NORMAL_TARGET_EXPORTS) \
41397 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
41398 for flag in $(EXTRA_TARGET_FLAGS); do \
41399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41400 done; \
41401 (cd $(TARGET_SUBDIR)/boehm-gc && \
41402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41404 "RANLIB=$${RANLIB}" \
41405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41406 distclean) \
41407 || exit 1
41409 @endif target-boehm-gc
41411 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
41412 maybe-maintainer-clean-target-boehm-gc:
41413 @if target-boehm-gc
41414 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
41416 maintainer-clean-target-boehm-gc:
41417 @: $(MAKE); $(unstage)
41418 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
41419 r=`${PWD_COMMAND}`; export r; \
41420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41421 $(NORMAL_TARGET_EXPORTS) \
41422 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
41423 for flag in $(EXTRA_TARGET_FLAGS); do \
41424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41425 done; \
41426 (cd $(TARGET_SUBDIR)/boehm-gc && \
41427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41429 "RANLIB=$${RANLIB}" \
41430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41431 maintainer-clean) \
41432 || exit 1
41434 @endif target-boehm-gc
41440 .PHONY: configure-target-rda maybe-configure-target-rda
41441 maybe-configure-target-rda:
41442 @if gcc-bootstrap
41443 configure-target-rda: stage_current
41444 @endif gcc-bootstrap
41445 @if target-rda
41446 maybe-configure-target-rda: configure-target-rda
41447 configure-target-rda:
41448 @: $(MAKE); $(unstage)
41449 @r=`${PWD_COMMAND}`; export r; \
41450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41451 echo "Checking multilib configuration for rda..."; \
41452 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
41453 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
41454 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
41455 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
41456 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
41457 else \
41458 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
41459 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
41460 fi; \
41461 else \
41462 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
41463 fi; \
41464 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
41465 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
41466 $(NORMAL_TARGET_EXPORTS) \
41467 echo Configuring in $(TARGET_SUBDIR)/rda; \
41468 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
41469 case $(srcdir) in \
41470 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41471 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
41472 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41473 esac; \
41474 srcdiroption="--srcdir=$${topdir}/rda"; \
41475 libsrcdir="$$s/rda"; \
41476 rm -f no-such-file || : ; \
41477 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
41478 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41479 --target=${target_alias} $${srcdiroption} \
41480 || exit 1
41481 @endif target-rda
41487 .PHONY: all-target-rda maybe-all-target-rda
41488 maybe-all-target-rda:
41489 @if gcc-bootstrap
41490 all-target-rda: stage_current
41491 @endif gcc-bootstrap
41492 @if target-rda
41493 TARGET-target-rda=all
41494 maybe-all-target-rda: all-target-rda
41495 all-target-rda: configure-target-rda
41496 @: $(MAKE); $(unstage)
41497 @r=`${PWD_COMMAND}`; export r; \
41498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41499 $(NORMAL_TARGET_EXPORTS) \
41500 (cd $(TARGET_SUBDIR)/rda && \
41501 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
41502 $(TARGET-target-rda))
41503 @endif target-rda
41509 .PHONY: check-target-rda maybe-check-target-rda
41510 maybe-check-target-rda:
41511 @if target-rda
41512 maybe-check-target-rda: check-target-rda
41514 check-target-rda:
41515 @: $(MAKE); $(unstage)
41516 @r=`${PWD_COMMAND}`; export r; \
41517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41518 $(NORMAL_TARGET_EXPORTS) \
41519 (cd $(TARGET_SUBDIR)/rda && \
41520 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41522 @endif target-rda
41524 .PHONY: install-target-rda maybe-install-target-rda
41525 maybe-install-target-rda:
41526 @if target-rda
41527 maybe-install-target-rda: install-target-rda
41529 install-target-rda: installdirs
41530 @: $(MAKE); $(unstage)
41531 @r=`${PWD_COMMAND}`; export r; \
41532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41533 $(NORMAL_TARGET_EXPORTS) \
41534 (cd $(TARGET_SUBDIR)/rda && \
41535 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41537 @endif target-rda
41539 .PHONY: install-strip-target-rda maybe-install-strip-target-rda
41540 maybe-install-strip-target-rda:
41541 @if target-rda
41542 maybe-install-strip-target-rda: install-strip-target-rda
41544 install-strip-target-rda: installdirs
41545 @: $(MAKE); $(unstage)
41546 @r=`${PWD_COMMAND}`; export r; \
41547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41548 $(NORMAL_TARGET_EXPORTS) \
41549 (cd $(TARGET_SUBDIR)/rda && \
41550 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
41552 @endif target-rda
41554 # Other targets (info, dvi, pdf, etc.)
41556 .PHONY: maybe-info-target-rda info-target-rda
41557 maybe-info-target-rda:
41558 @if target-rda
41559 maybe-info-target-rda: info-target-rda
41561 info-target-rda: \
41562 configure-target-rda
41563 @: $(MAKE); $(unstage)
41564 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41565 r=`${PWD_COMMAND}`; export r; \
41566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41567 $(NORMAL_TARGET_EXPORTS) \
41568 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
41569 for flag in $(EXTRA_TARGET_FLAGS); do \
41570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41571 done; \
41572 (cd $(TARGET_SUBDIR)/rda && \
41573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41575 "RANLIB=$${RANLIB}" \
41576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41577 info) \
41578 || exit 1
41580 @endif target-rda
41582 .PHONY: maybe-dvi-target-rda dvi-target-rda
41583 maybe-dvi-target-rda:
41584 @if target-rda
41585 maybe-dvi-target-rda: dvi-target-rda
41587 dvi-target-rda: \
41588 configure-target-rda
41589 @: $(MAKE); $(unstage)
41590 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41591 r=`${PWD_COMMAND}`; export r; \
41592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41593 $(NORMAL_TARGET_EXPORTS) \
41594 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
41595 for flag in $(EXTRA_TARGET_FLAGS); do \
41596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41597 done; \
41598 (cd $(TARGET_SUBDIR)/rda && \
41599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41601 "RANLIB=$${RANLIB}" \
41602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41603 dvi) \
41604 || exit 1
41606 @endif target-rda
41608 .PHONY: maybe-pdf-target-rda pdf-target-rda
41609 maybe-pdf-target-rda:
41610 @if target-rda
41611 maybe-pdf-target-rda: pdf-target-rda
41613 pdf-target-rda: \
41614 configure-target-rda
41615 @: $(MAKE); $(unstage)
41616 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41617 r=`${PWD_COMMAND}`; export r; \
41618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41619 $(NORMAL_TARGET_EXPORTS) \
41620 echo "Doing pdf in $(TARGET_SUBDIR)/rda" ; \
41621 for flag in $(EXTRA_TARGET_FLAGS); do \
41622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41623 done; \
41624 (cd $(TARGET_SUBDIR)/rda && \
41625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41627 "RANLIB=$${RANLIB}" \
41628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41629 pdf) \
41630 || exit 1
41632 @endif target-rda
41634 .PHONY: maybe-html-target-rda html-target-rda
41635 maybe-html-target-rda:
41636 @if target-rda
41637 maybe-html-target-rda: html-target-rda
41639 html-target-rda: \
41640 configure-target-rda
41641 @: $(MAKE); $(unstage)
41642 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41643 r=`${PWD_COMMAND}`; export r; \
41644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41645 $(NORMAL_TARGET_EXPORTS) \
41646 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
41647 for flag in $(EXTRA_TARGET_FLAGS); do \
41648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41649 done; \
41650 (cd $(TARGET_SUBDIR)/rda && \
41651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41653 "RANLIB=$${RANLIB}" \
41654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41655 html) \
41656 || exit 1
41658 @endif target-rda
41660 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
41661 maybe-TAGS-target-rda:
41662 @if target-rda
41663 maybe-TAGS-target-rda: TAGS-target-rda
41665 TAGS-target-rda: \
41666 configure-target-rda
41667 @: $(MAKE); $(unstage)
41668 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41669 r=`${PWD_COMMAND}`; export r; \
41670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41671 $(NORMAL_TARGET_EXPORTS) \
41672 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
41673 for flag in $(EXTRA_TARGET_FLAGS); do \
41674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41675 done; \
41676 (cd $(TARGET_SUBDIR)/rda && \
41677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41679 "RANLIB=$${RANLIB}" \
41680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41681 TAGS) \
41682 || exit 1
41684 @endif target-rda
41686 .PHONY: maybe-install-info-target-rda install-info-target-rda
41687 maybe-install-info-target-rda:
41688 @if target-rda
41689 maybe-install-info-target-rda: install-info-target-rda
41691 install-info-target-rda: \
41692 configure-target-rda \
41693 info-target-rda
41694 @: $(MAKE); $(unstage)
41695 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41696 r=`${PWD_COMMAND}`; export r; \
41697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41698 $(NORMAL_TARGET_EXPORTS) \
41699 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
41700 for flag in $(EXTRA_TARGET_FLAGS); do \
41701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41702 done; \
41703 (cd $(TARGET_SUBDIR)/rda && \
41704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41706 "RANLIB=$${RANLIB}" \
41707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41708 install-info) \
41709 || exit 1
41711 @endif target-rda
41713 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
41714 maybe-install-pdf-target-rda:
41715 @if target-rda
41716 maybe-install-pdf-target-rda: install-pdf-target-rda
41718 install-pdf-target-rda: \
41719 configure-target-rda \
41720 pdf-target-rda
41721 @: $(MAKE); $(unstage)
41722 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41723 r=`${PWD_COMMAND}`; export r; \
41724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41725 $(NORMAL_TARGET_EXPORTS) \
41726 echo "Doing install-pdf in $(TARGET_SUBDIR)/rda" ; \
41727 for flag in $(EXTRA_TARGET_FLAGS); do \
41728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41729 done; \
41730 (cd $(TARGET_SUBDIR)/rda && \
41731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41733 "RANLIB=$${RANLIB}" \
41734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41735 install-pdf) \
41736 || exit 1
41738 @endif target-rda
41740 .PHONY: maybe-install-html-target-rda install-html-target-rda
41741 maybe-install-html-target-rda:
41742 @if target-rda
41743 maybe-install-html-target-rda: install-html-target-rda
41745 install-html-target-rda: \
41746 configure-target-rda \
41747 html-target-rda
41748 @: $(MAKE); $(unstage)
41749 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41750 r=`${PWD_COMMAND}`; export r; \
41751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41752 $(NORMAL_TARGET_EXPORTS) \
41753 echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \
41754 for flag in $(EXTRA_TARGET_FLAGS); do \
41755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41756 done; \
41757 (cd $(TARGET_SUBDIR)/rda && \
41758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41760 "RANLIB=$${RANLIB}" \
41761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41762 install-html) \
41763 || exit 1
41765 @endif target-rda
41767 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
41768 maybe-installcheck-target-rda:
41769 @if target-rda
41770 maybe-installcheck-target-rda: installcheck-target-rda
41772 installcheck-target-rda: \
41773 configure-target-rda
41774 @: $(MAKE); $(unstage)
41775 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41776 r=`${PWD_COMMAND}`; export r; \
41777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41778 $(NORMAL_TARGET_EXPORTS) \
41779 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
41780 for flag in $(EXTRA_TARGET_FLAGS); do \
41781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41782 done; \
41783 (cd $(TARGET_SUBDIR)/rda && \
41784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41786 "RANLIB=$${RANLIB}" \
41787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41788 installcheck) \
41789 || exit 1
41791 @endif target-rda
41793 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
41794 maybe-mostlyclean-target-rda:
41795 @if target-rda
41796 maybe-mostlyclean-target-rda: mostlyclean-target-rda
41798 mostlyclean-target-rda:
41799 @: $(MAKE); $(unstage)
41800 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41801 r=`${PWD_COMMAND}`; export r; \
41802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41803 $(NORMAL_TARGET_EXPORTS) \
41804 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
41805 for flag in $(EXTRA_TARGET_FLAGS); do \
41806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41807 done; \
41808 (cd $(TARGET_SUBDIR)/rda && \
41809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41811 "RANLIB=$${RANLIB}" \
41812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41813 mostlyclean) \
41814 || exit 1
41816 @endif target-rda
41818 .PHONY: maybe-clean-target-rda clean-target-rda
41819 maybe-clean-target-rda:
41820 @if target-rda
41821 maybe-clean-target-rda: clean-target-rda
41823 clean-target-rda:
41824 @: $(MAKE); $(unstage)
41825 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41826 r=`${PWD_COMMAND}`; export r; \
41827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41828 $(NORMAL_TARGET_EXPORTS) \
41829 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
41830 for flag in $(EXTRA_TARGET_FLAGS); do \
41831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41832 done; \
41833 (cd $(TARGET_SUBDIR)/rda && \
41834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41836 "RANLIB=$${RANLIB}" \
41837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41838 clean) \
41839 || exit 1
41841 @endif target-rda
41843 .PHONY: maybe-distclean-target-rda distclean-target-rda
41844 maybe-distclean-target-rda:
41845 @if target-rda
41846 maybe-distclean-target-rda: distclean-target-rda
41848 distclean-target-rda:
41849 @: $(MAKE); $(unstage)
41850 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41851 r=`${PWD_COMMAND}`; export r; \
41852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41853 $(NORMAL_TARGET_EXPORTS) \
41854 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
41855 for flag in $(EXTRA_TARGET_FLAGS); do \
41856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41857 done; \
41858 (cd $(TARGET_SUBDIR)/rda && \
41859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41861 "RANLIB=$${RANLIB}" \
41862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41863 distclean) \
41864 || exit 1
41866 @endif target-rda
41868 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
41869 maybe-maintainer-clean-target-rda:
41870 @if target-rda
41871 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
41873 maintainer-clean-target-rda:
41874 @: $(MAKE); $(unstage)
41875 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41876 r=`${PWD_COMMAND}`; export r; \
41877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41878 $(NORMAL_TARGET_EXPORTS) \
41879 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
41880 for flag in $(EXTRA_TARGET_FLAGS); do \
41881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41882 done; \
41883 (cd $(TARGET_SUBDIR)/rda && \
41884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41886 "RANLIB=$${RANLIB}" \
41887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41888 maintainer-clean) \
41889 || exit 1
41891 @endif target-rda
41897 .PHONY: configure-target-libada maybe-configure-target-libada
41898 maybe-configure-target-libada:
41899 @if gcc-bootstrap
41900 configure-target-libada: stage_current
41901 @endif gcc-bootstrap
41902 @if target-libada
41903 maybe-configure-target-libada: configure-target-libada
41904 configure-target-libada:
41905 @: $(MAKE); $(unstage)
41906 @r=`${PWD_COMMAND}`; export r; \
41907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41908 echo "Checking multilib configuration for libada..."; \
41909 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
41910 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
41911 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
41912 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
41913 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
41914 else \
41915 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
41916 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
41917 fi; \
41918 else \
41919 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
41920 fi; \
41921 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
41922 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
41923 $(NORMAL_TARGET_EXPORTS) \
41924 echo Configuring in $(TARGET_SUBDIR)/libada; \
41925 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
41926 case $(srcdir) in \
41927 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41928 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
41929 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41930 esac; \
41931 srcdiroption="--srcdir=$${topdir}/libada"; \
41932 libsrcdir="$$s/libada"; \
41933 rm -f no-such-file || : ; \
41934 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
41935 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41936 --target=${target_alias} $${srcdiroption} \
41937 || exit 1
41938 @endif target-libada
41944 .PHONY: all-target-libada maybe-all-target-libada
41945 maybe-all-target-libada:
41946 @if gcc-bootstrap
41947 all-target-libada: stage_current
41948 @endif gcc-bootstrap
41949 @if target-libada
41950 TARGET-target-libada=all
41951 maybe-all-target-libada: all-target-libada
41952 all-target-libada: configure-target-libada
41953 @: $(MAKE); $(unstage)
41954 @r=`${PWD_COMMAND}`; export r; \
41955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41956 $(NORMAL_TARGET_EXPORTS) \
41957 (cd $(TARGET_SUBDIR)/libada && \
41958 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
41959 $(TARGET-target-libada))
41960 @endif target-libada
41966 .PHONY: check-target-libada maybe-check-target-libada
41967 maybe-check-target-libada:
41968 @if target-libada
41969 maybe-check-target-libada: check-target-libada
41971 check-target-libada:
41972 @: $(MAKE); $(unstage)
41973 @r=`${PWD_COMMAND}`; export r; \
41974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41975 $(NORMAL_TARGET_EXPORTS) \
41976 (cd $(TARGET_SUBDIR)/libada && \
41977 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41979 @endif target-libada
41981 .PHONY: install-target-libada maybe-install-target-libada
41982 maybe-install-target-libada:
41983 @if target-libada
41984 maybe-install-target-libada: install-target-libada
41986 install-target-libada: installdirs
41987 @: $(MAKE); $(unstage)
41988 @r=`${PWD_COMMAND}`; export r; \
41989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41990 $(NORMAL_TARGET_EXPORTS) \
41991 (cd $(TARGET_SUBDIR)/libada && \
41992 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41994 @endif target-libada
41996 .PHONY: install-strip-target-libada maybe-install-strip-target-libada
41997 maybe-install-strip-target-libada:
41998 @if target-libada
41999 maybe-install-strip-target-libada: install-strip-target-libada
42001 install-strip-target-libada: installdirs
42002 @: $(MAKE); $(unstage)
42003 @r=`${PWD_COMMAND}`; export r; \
42004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42005 $(NORMAL_TARGET_EXPORTS) \
42006 (cd $(TARGET_SUBDIR)/libada && \
42007 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
42009 @endif target-libada
42011 # Other targets (info, dvi, pdf, etc.)
42013 .PHONY: maybe-info-target-libada info-target-libada
42014 maybe-info-target-libada:
42015 @if target-libada
42016 maybe-info-target-libada: info-target-libada
42018 info-target-libada: \
42019 configure-target-libada
42020 @: $(MAKE); $(unstage)
42021 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
42022 r=`${PWD_COMMAND}`; export r; \
42023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42024 $(NORMAL_TARGET_EXPORTS) \
42025 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
42026 for flag in $(EXTRA_TARGET_FLAGS); do \
42027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42028 done; \
42029 (cd $(TARGET_SUBDIR)/libada && \
42030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42032 "RANLIB=$${RANLIB}" \
42033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42034 info) \
42035 || exit 1
42037 @endif target-libada
42039 .PHONY: maybe-dvi-target-libada dvi-target-libada
42040 maybe-dvi-target-libada:
42041 @if target-libada
42042 maybe-dvi-target-libada: dvi-target-libada
42044 dvi-target-libada: \
42045 configure-target-libada
42046 @: $(MAKE); $(unstage)
42047 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
42048 r=`${PWD_COMMAND}`; export r; \
42049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42050 $(NORMAL_TARGET_EXPORTS) \
42051 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
42052 for flag in $(EXTRA_TARGET_FLAGS); do \
42053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42054 done; \
42055 (cd $(TARGET_SUBDIR)/libada && \
42056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42058 "RANLIB=$${RANLIB}" \
42059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42060 dvi) \
42061 || exit 1
42063 @endif target-libada
42065 .PHONY: maybe-pdf-target-libada pdf-target-libada
42066 maybe-pdf-target-libada:
42067 @if target-libada
42068 maybe-pdf-target-libada: pdf-target-libada
42070 pdf-target-libada: \
42071 configure-target-libada
42072 @: $(MAKE); $(unstage)
42073 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
42074 r=`${PWD_COMMAND}`; export r; \
42075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42076 $(NORMAL_TARGET_EXPORTS) \
42077 echo "Doing pdf in $(TARGET_SUBDIR)/libada" ; \
42078 for flag in $(EXTRA_TARGET_FLAGS); do \
42079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42080 done; \
42081 (cd $(TARGET_SUBDIR)/libada && \
42082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42084 "RANLIB=$${RANLIB}" \
42085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42086 pdf) \
42087 || exit 1
42089 @endif target-libada
42091 .PHONY: maybe-html-target-libada html-target-libada
42092 maybe-html-target-libada:
42093 @if target-libada
42094 maybe-html-target-libada: html-target-libada
42096 html-target-libada: \
42097 configure-target-libada
42098 @: $(MAKE); $(unstage)
42099 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
42100 r=`${PWD_COMMAND}`; export r; \
42101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42102 $(NORMAL_TARGET_EXPORTS) \
42103 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
42104 for flag in $(EXTRA_TARGET_FLAGS); do \
42105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42106 done; \
42107 (cd $(TARGET_SUBDIR)/libada && \
42108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42110 "RANLIB=$${RANLIB}" \
42111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42112 html) \
42113 || exit 1
42115 @endif target-libada
42117 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
42118 maybe-TAGS-target-libada:
42119 @if target-libada
42120 maybe-TAGS-target-libada: TAGS-target-libada
42122 TAGS-target-libada: \
42123 configure-target-libada
42124 @: $(MAKE); $(unstage)
42125 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
42126 r=`${PWD_COMMAND}`; export r; \
42127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42128 $(NORMAL_TARGET_EXPORTS) \
42129 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
42130 for flag in $(EXTRA_TARGET_FLAGS); do \
42131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42132 done; \
42133 (cd $(TARGET_SUBDIR)/libada && \
42134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42136 "RANLIB=$${RANLIB}" \
42137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42138 TAGS) \
42139 || exit 1
42141 @endif target-libada
42143 .PHONY: maybe-install-info-target-libada install-info-target-libada
42144 maybe-install-info-target-libada:
42145 @if target-libada
42146 maybe-install-info-target-libada: install-info-target-libada
42148 install-info-target-libada: \
42149 configure-target-libada \
42150 info-target-libada
42151 @: $(MAKE); $(unstage)
42152 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
42153 r=`${PWD_COMMAND}`; export r; \
42154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42155 $(NORMAL_TARGET_EXPORTS) \
42156 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
42157 for flag in $(EXTRA_TARGET_FLAGS); do \
42158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42159 done; \
42160 (cd $(TARGET_SUBDIR)/libada && \
42161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42163 "RANLIB=$${RANLIB}" \
42164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42165 install-info) \
42166 || exit 1
42168 @endif target-libada
42170 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
42171 maybe-install-pdf-target-libada:
42172 @if target-libada
42173 maybe-install-pdf-target-libada: install-pdf-target-libada
42175 install-pdf-target-libada: \
42176 configure-target-libada \
42177 pdf-target-libada
42178 @: $(MAKE); $(unstage)
42179 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
42180 r=`${PWD_COMMAND}`; export r; \
42181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42182 $(NORMAL_TARGET_EXPORTS) \
42183 echo "Doing install-pdf in $(TARGET_SUBDIR)/libada" ; \
42184 for flag in $(EXTRA_TARGET_FLAGS); do \
42185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42186 done; \
42187 (cd $(TARGET_SUBDIR)/libada && \
42188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42190 "RANLIB=$${RANLIB}" \
42191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42192 install-pdf) \
42193 || exit 1
42195 @endif target-libada
42197 .PHONY: maybe-install-html-target-libada install-html-target-libada
42198 maybe-install-html-target-libada:
42199 @if target-libada
42200 maybe-install-html-target-libada: install-html-target-libada
42202 install-html-target-libada: \
42203 configure-target-libada \
42204 html-target-libada
42205 @: $(MAKE); $(unstage)
42206 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
42207 r=`${PWD_COMMAND}`; export r; \
42208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42209 $(NORMAL_TARGET_EXPORTS) \
42210 echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \
42211 for flag in $(EXTRA_TARGET_FLAGS); do \
42212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42213 done; \
42214 (cd $(TARGET_SUBDIR)/libada && \
42215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42217 "RANLIB=$${RANLIB}" \
42218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42219 install-html) \
42220 || exit 1
42222 @endif target-libada
42224 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
42225 maybe-installcheck-target-libada:
42226 @if target-libada
42227 maybe-installcheck-target-libada: installcheck-target-libada
42229 installcheck-target-libada: \
42230 configure-target-libada
42231 @: $(MAKE); $(unstage)
42232 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
42233 r=`${PWD_COMMAND}`; export r; \
42234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42235 $(NORMAL_TARGET_EXPORTS) \
42236 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
42237 for flag in $(EXTRA_TARGET_FLAGS); do \
42238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42239 done; \
42240 (cd $(TARGET_SUBDIR)/libada && \
42241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42243 "RANLIB=$${RANLIB}" \
42244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42245 installcheck) \
42246 || exit 1
42248 @endif target-libada
42250 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
42251 maybe-mostlyclean-target-libada:
42252 @if target-libada
42253 maybe-mostlyclean-target-libada: mostlyclean-target-libada
42255 mostlyclean-target-libada:
42256 @: $(MAKE); $(unstage)
42257 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
42258 r=`${PWD_COMMAND}`; export r; \
42259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42260 $(NORMAL_TARGET_EXPORTS) \
42261 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
42262 for flag in $(EXTRA_TARGET_FLAGS); do \
42263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42264 done; \
42265 (cd $(TARGET_SUBDIR)/libada && \
42266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42268 "RANLIB=$${RANLIB}" \
42269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42270 mostlyclean) \
42271 || exit 1
42273 @endif target-libada
42275 .PHONY: maybe-clean-target-libada clean-target-libada
42276 maybe-clean-target-libada:
42277 @if target-libada
42278 maybe-clean-target-libada: clean-target-libada
42280 clean-target-libada:
42281 @: $(MAKE); $(unstage)
42282 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
42283 r=`${PWD_COMMAND}`; export r; \
42284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42285 $(NORMAL_TARGET_EXPORTS) \
42286 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
42287 for flag in $(EXTRA_TARGET_FLAGS); do \
42288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42289 done; \
42290 (cd $(TARGET_SUBDIR)/libada && \
42291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42293 "RANLIB=$${RANLIB}" \
42294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42295 clean) \
42296 || exit 1
42298 @endif target-libada
42300 .PHONY: maybe-distclean-target-libada distclean-target-libada
42301 maybe-distclean-target-libada:
42302 @if target-libada
42303 maybe-distclean-target-libada: distclean-target-libada
42305 distclean-target-libada:
42306 @: $(MAKE); $(unstage)
42307 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
42308 r=`${PWD_COMMAND}`; export r; \
42309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42310 $(NORMAL_TARGET_EXPORTS) \
42311 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
42312 for flag in $(EXTRA_TARGET_FLAGS); do \
42313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42314 done; \
42315 (cd $(TARGET_SUBDIR)/libada && \
42316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42318 "RANLIB=$${RANLIB}" \
42319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42320 distclean) \
42321 || exit 1
42323 @endif target-libada
42325 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
42326 maybe-maintainer-clean-target-libada:
42327 @if target-libada
42328 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
42330 maintainer-clean-target-libada:
42331 @: $(MAKE); $(unstage)
42332 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
42333 r=`${PWD_COMMAND}`; export r; \
42334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42335 $(NORMAL_TARGET_EXPORTS) \
42336 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
42337 for flag in $(EXTRA_TARGET_FLAGS); do \
42338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42339 done; \
42340 (cd $(TARGET_SUBDIR)/libada && \
42341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42343 "RANLIB=$${RANLIB}" \
42344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42345 maintainer-clean) \
42346 || exit 1
42348 @endif target-libada
42354 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
42355 maybe-configure-target-libgomp:
42356 @if gcc-bootstrap
42357 configure-target-libgomp: stage_current
42358 @endif gcc-bootstrap
42359 @if target-libgomp
42360 maybe-configure-target-libgomp: configure-target-libgomp
42361 configure-target-libgomp:
42362 @r=`${PWD_COMMAND}`; export r; \
42363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42364 echo "Checking multilib configuration for libgomp..."; \
42365 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
42366 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
42367 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
42368 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
42369 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
42370 else \
42371 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
42372 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
42373 fi; \
42374 else \
42375 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
42376 fi; \
42377 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
42378 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
42379 $(NORMAL_TARGET_EXPORTS) \
42380 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
42381 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
42382 case $(srcdir) in \
42383 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42384 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
42385 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42386 esac; \
42387 srcdiroption="--srcdir=$${topdir}/libgomp"; \
42388 libsrcdir="$$s/libgomp"; \
42389 rm -f no-such-file || : ; \
42390 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
42391 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42392 --target=${target_alias} $${srcdiroption} \
42393 || exit 1
42394 @endif target-libgomp
42398 .PHONY: configure-stage1-target-libgomp maybe-configure-stage1-target-libgomp
42399 maybe-configure-stage1-target-libgomp:
42400 @if target-libgomp-bootstrap
42401 maybe-configure-stage1-target-libgomp: configure-stage1-target-libgomp
42402 configure-stage1-target-libgomp:
42403 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
42404 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
42405 @r=`${PWD_COMMAND}`; export r; \
42406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42407 TFLAGS="$(STAGE1_TFLAGS)"; \
42408 echo "Checking multilib configuration for libgomp..."; \
42409 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
42410 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
42411 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
42412 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
42413 else \
42414 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
42415 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
42416 fi; \
42417 else \
42418 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
42419 fi; \
42420 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
42421 $(NORMAL_TARGET_EXPORTS) \
42422 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42423 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42424 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42425 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgomp ; \
42426 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
42427 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
42428 case $(srcdir) in \
42429 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42430 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
42431 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42432 esac; \
42433 srcdiroption="--srcdir=$${topdir}/libgomp"; \
42434 libsrcdir="$$s/libgomp"; \
42435 $(SHELL) $${libsrcdir}/configure \
42436 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42437 --target=${target_alias} $${srcdiroption} \
42438 $(STAGE1_CONFIGURE_FLAGS)
42439 @endif target-libgomp-bootstrap
42441 .PHONY: configure-stage2-target-libgomp maybe-configure-stage2-target-libgomp
42442 maybe-configure-stage2-target-libgomp:
42443 @if target-libgomp-bootstrap
42444 maybe-configure-stage2-target-libgomp: configure-stage2-target-libgomp
42445 configure-stage2-target-libgomp:
42446 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
42447 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
42448 @r=`${PWD_COMMAND}`; export r; \
42449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42450 TFLAGS="$(STAGE2_TFLAGS)"; \
42451 echo "Checking multilib configuration for libgomp..."; \
42452 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
42453 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
42454 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
42455 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
42456 else \
42457 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
42458 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
42459 fi; \
42460 else \
42461 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
42462 fi; \
42463 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
42464 $(NORMAL_TARGET_EXPORTS) \
42466 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42467 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42468 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42469 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgomp ; \
42470 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
42471 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
42472 case $(srcdir) in \
42473 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42474 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
42475 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42476 esac; \
42477 srcdiroption="--srcdir=$${topdir}/libgomp"; \
42478 libsrcdir="$$s/libgomp"; \
42479 $(SHELL) $${libsrcdir}/configure \
42480 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42481 --target=${target_alias} $${srcdiroption} \
42482 --with-build-libsubdir=$(HOST_SUBDIR) \
42483 $(STAGE2_CONFIGURE_FLAGS)
42484 @endif target-libgomp-bootstrap
42486 .PHONY: configure-stage3-target-libgomp maybe-configure-stage3-target-libgomp
42487 maybe-configure-stage3-target-libgomp:
42488 @if target-libgomp-bootstrap
42489 maybe-configure-stage3-target-libgomp: configure-stage3-target-libgomp
42490 configure-stage3-target-libgomp:
42491 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
42492 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
42493 @r=`${PWD_COMMAND}`; export r; \
42494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42495 TFLAGS="$(STAGE3_TFLAGS)"; \
42496 echo "Checking multilib configuration for libgomp..."; \
42497 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
42498 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
42499 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
42500 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
42501 else \
42502 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
42503 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
42504 fi; \
42505 else \
42506 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
42507 fi; \
42508 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
42509 $(NORMAL_TARGET_EXPORTS) \
42511 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42512 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42513 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42514 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgomp ; \
42515 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
42516 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
42517 case $(srcdir) in \
42518 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42519 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
42520 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42521 esac; \
42522 srcdiroption="--srcdir=$${topdir}/libgomp"; \
42523 libsrcdir="$$s/libgomp"; \
42524 $(SHELL) $${libsrcdir}/configure \
42525 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42526 --target=${target_alias} $${srcdiroption} \
42527 --with-build-libsubdir=$(HOST_SUBDIR) \
42528 $(STAGE3_CONFIGURE_FLAGS)
42529 @endif target-libgomp-bootstrap
42531 .PHONY: configure-stage4-target-libgomp maybe-configure-stage4-target-libgomp
42532 maybe-configure-stage4-target-libgomp:
42533 @if target-libgomp-bootstrap
42534 maybe-configure-stage4-target-libgomp: configure-stage4-target-libgomp
42535 configure-stage4-target-libgomp:
42536 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
42537 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
42538 @r=`${PWD_COMMAND}`; export r; \
42539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42540 TFLAGS="$(STAGE4_TFLAGS)"; \
42541 echo "Checking multilib configuration for libgomp..."; \
42542 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
42543 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
42544 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
42545 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
42546 else \
42547 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
42548 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
42549 fi; \
42550 else \
42551 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
42552 fi; \
42553 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
42554 $(NORMAL_TARGET_EXPORTS) \
42556 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42557 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42558 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42559 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgomp ; \
42560 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
42561 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
42562 case $(srcdir) in \
42563 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42564 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
42565 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42566 esac; \
42567 srcdiroption="--srcdir=$${topdir}/libgomp"; \
42568 libsrcdir="$$s/libgomp"; \
42569 $(SHELL) $${libsrcdir}/configure \
42570 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42571 --target=${target_alias} $${srcdiroption} \
42572 --with-build-libsubdir=$(HOST_SUBDIR) \
42573 $(STAGE4_CONFIGURE_FLAGS)
42574 @endif target-libgomp-bootstrap
42576 .PHONY: configure-stageprofile-target-libgomp maybe-configure-stageprofile-target-libgomp
42577 maybe-configure-stageprofile-target-libgomp:
42578 @if target-libgomp-bootstrap
42579 maybe-configure-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
42580 configure-stageprofile-target-libgomp:
42581 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
42582 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
42583 @r=`${PWD_COMMAND}`; export r; \
42584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42585 TFLAGS="$(STAGEprofile_TFLAGS)"; \
42586 echo "Checking multilib configuration for libgomp..."; \
42587 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
42588 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
42589 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
42590 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
42591 else \
42592 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
42593 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
42594 fi; \
42595 else \
42596 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
42597 fi; \
42598 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
42599 $(NORMAL_TARGET_EXPORTS) \
42601 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42602 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42603 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42604 echo Configuring stage profile in $(TARGET_SUBDIR)/libgomp ; \
42605 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
42606 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
42607 case $(srcdir) in \
42608 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42609 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
42610 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42611 esac; \
42612 srcdiroption="--srcdir=$${topdir}/libgomp"; \
42613 libsrcdir="$$s/libgomp"; \
42614 $(SHELL) $${libsrcdir}/configure \
42615 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42616 --target=${target_alias} $${srcdiroption} \
42617 --with-build-libsubdir=$(HOST_SUBDIR) \
42618 $(STAGEprofile_CONFIGURE_FLAGS)
42619 @endif target-libgomp-bootstrap
42621 .PHONY: configure-stagefeedback-target-libgomp maybe-configure-stagefeedback-target-libgomp
42622 maybe-configure-stagefeedback-target-libgomp:
42623 @if target-libgomp-bootstrap
42624 maybe-configure-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
42625 configure-stagefeedback-target-libgomp:
42626 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
42627 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
42628 @r=`${PWD_COMMAND}`; export r; \
42629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42630 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
42631 echo "Checking multilib configuration for libgomp..."; \
42632 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
42633 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
42634 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
42635 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
42636 else \
42637 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
42638 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
42639 fi; \
42640 else \
42641 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
42642 fi; \
42643 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
42644 $(NORMAL_TARGET_EXPORTS) \
42646 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42647 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42648 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42649 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgomp ; \
42650 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
42651 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
42652 case $(srcdir) in \
42653 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42654 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
42655 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42656 esac; \
42657 srcdiroption="--srcdir=$${topdir}/libgomp"; \
42658 libsrcdir="$$s/libgomp"; \
42659 $(SHELL) $${libsrcdir}/configure \
42660 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42661 --target=${target_alias} $${srcdiroption} \
42662 --with-build-libsubdir=$(HOST_SUBDIR) \
42663 $(STAGEfeedback_CONFIGURE_FLAGS)
42664 @endif target-libgomp-bootstrap
42670 .PHONY: all-target-libgomp maybe-all-target-libgomp
42671 maybe-all-target-libgomp:
42672 @if gcc-bootstrap
42673 all-target-libgomp: stage_current
42674 @endif gcc-bootstrap
42675 @if target-libgomp
42676 TARGET-target-libgomp=all
42677 maybe-all-target-libgomp: all-target-libgomp
42678 all-target-libgomp: configure-target-libgomp
42679 @r=`${PWD_COMMAND}`; export r; \
42680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42681 $(NORMAL_TARGET_EXPORTS) \
42682 (cd $(TARGET_SUBDIR)/libgomp && \
42683 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
42684 $(TARGET-target-libgomp))
42685 @endif target-libgomp
42689 .PHONY: all-stage1-target-libgomp maybe-all-stage1-target-libgomp
42690 .PHONY: clean-stage1-target-libgomp maybe-clean-stage1-target-libgomp
42691 maybe-all-stage1-target-libgomp:
42692 maybe-clean-stage1-target-libgomp:
42693 @if target-libgomp-bootstrap
42694 maybe-all-stage1-target-libgomp: all-stage1-target-libgomp
42695 all-stage1: all-stage1-target-libgomp
42696 TARGET-stage1-target-libgomp = $(TARGET-target-libgomp)
42697 all-stage1-target-libgomp: configure-stage1-target-libgomp
42698 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
42699 @r=`${PWD_COMMAND}`; export r; \
42700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42701 TFLAGS="$(STAGE1_TFLAGS)"; \
42702 $(NORMAL_TARGET_EXPORTS) \
42703 cd $(TARGET_SUBDIR)/libgomp && \
42704 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42705 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42706 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42707 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42708 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42709 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42710 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42711 $(EXTRA_TARGET_FLAGS) \
42713 TFLAGS="$(STAGE1_TFLAGS)" \
42714 $(TARGET-stage1-target-libgomp)
42716 maybe-clean-stage1-target-libgomp: clean-stage1-target-libgomp
42717 clean-stage1: clean-stage1-target-libgomp
42718 clean-stage1-target-libgomp:
42719 @if [ $(current_stage) = stage1 ]; then \
42720 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
42721 else \
42722 [ -f $(TARGET_SUBDIR)/stage1-libgomp/Makefile ] || exit 0; \
42723 $(MAKE) stage1-start; \
42724 fi; \
42725 cd $(TARGET_SUBDIR)/libgomp && \
42726 $(MAKE) $(EXTRA_TARGET_FLAGS) \
42727 clean
42728 @endif target-libgomp-bootstrap
42731 .PHONY: all-stage2-target-libgomp maybe-all-stage2-target-libgomp
42732 .PHONY: clean-stage2-target-libgomp maybe-clean-stage2-target-libgomp
42733 maybe-all-stage2-target-libgomp:
42734 maybe-clean-stage2-target-libgomp:
42735 @if target-libgomp-bootstrap
42736 maybe-all-stage2-target-libgomp: all-stage2-target-libgomp
42737 all-stage2: all-stage2-target-libgomp
42738 TARGET-stage2-target-libgomp = $(TARGET-target-libgomp)
42739 all-stage2-target-libgomp: configure-stage2-target-libgomp
42740 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
42741 @r=`${PWD_COMMAND}`; export r; \
42742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42743 TFLAGS="$(STAGE2_TFLAGS)"; \
42744 $(NORMAL_TARGET_EXPORTS) \
42746 cd $(TARGET_SUBDIR)/libgomp && \
42747 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42748 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42749 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42750 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42751 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42752 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42753 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42754 $(EXTRA_TARGET_FLAGS) \
42755 TFLAGS="$(STAGE2_TFLAGS)" \
42756 $(TARGET-stage2-target-libgomp)
42758 maybe-clean-stage2-target-libgomp: clean-stage2-target-libgomp
42759 clean-stage2: clean-stage2-target-libgomp
42760 clean-stage2-target-libgomp:
42761 @if [ $(current_stage) = stage2 ]; then \
42762 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
42763 else \
42764 [ -f $(TARGET_SUBDIR)/stage2-libgomp/Makefile ] || exit 0; \
42765 $(MAKE) stage2-start; \
42766 fi; \
42767 cd $(TARGET_SUBDIR)/libgomp && \
42768 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
42769 @endif target-libgomp-bootstrap
42772 .PHONY: all-stage3-target-libgomp maybe-all-stage3-target-libgomp
42773 .PHONY: clean-stage3-target-libgomp maybe-clean-stage3-target-libgomp
42774 maybe-all-stage3-target-libgomp:
42775 maybe-clean-stage3-target-libgomp:
42776 @if target-libgomp-bootstrap
42777 maybe-all-stage3-target-libgomp: all-stage3-target-libgomp
42778 all-stage3: all-stage3-target-libgomp
42779 TARGET-stage3-target-libgomp = $(TARGET-target-libgomp)
42780 all-stage3-target-libgomp: configure-stage3-target-libgomp
42781 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
42782 @r=`${PWD_COMMAND}`; export r; \
42783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42784 TFLAGS="$(STAGE3_TFLAGS)"; \
42785 $(NORMAL_TARGET_EXPORTS) \
42787 cd $(TARGET_SUBDIR)/libgomp && \
42788 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42789 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42790 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42791 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42792 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42793 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42794 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42795 $(EXTRA_TARGET_FLAGS) \
42796 TFLAGS="$(STAGE3_TFLAGS)" \
42797 $(TARGET-stage3-target-libgomp)
42799 maybe-clean-stage3-target-libgomp: clean-stage3-target-libgomp
42800 clean-stage3: clean-stage3-target-libgomp
42801 clean-stage3-target-libgomp:
42802 @if [ $(current_stage) = stage3 ]; then \
42803 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
42804 else \
42805 [ -f $(TARGET_SUBDIR)/stage3-libgomp/Makefile ] || exit 0; \
42806 $(MAKE) stage3-start; \
42807 fi; \
42808 cd $(TARGET_SUBDIR)/libgomp && \
42809 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
42810 @endif target-libgomp-bootstrap
42813 .PHONY: all-stage4-target-libgomp maybe-all-stage4-target-libgomp
42814 .PHONY: clean-stage4-target-libgomp maybe-clean-stage4-target-libgomp
42815 maybe-all-stage4-target-libgomp:
42816 maybe-clean-stage4-target-libgomp:
42817 @if target-libgomp-bootstrap
42818 maybe-all-stage4-target-libgomp: all-stage4-target-libgomp
42819 all-stage4: all-stage4-target-libgomp
42820 TARGET-stage4-target-libgomp = $(TARGET-target-libgomp)
42821 all-stage4-target-libgomp: configure-stage4-target-libgomp
42822 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
42823 @r=`${PWD_COMMAND}`; export r; \
42824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42825 TFLAGS="$(STAGE4_TFLAGS)"; \
42826 $(NORMAL_TARGET_EXPORTS) \
42828 cd $(TARGET_SUBDIR)/libgomp && \
42829 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42830 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42831 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42832 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42833 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42834 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42835 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42836 $(EXTRA_TARGET_FLAGS) \
42837 TFLAGS="$(STAGE4_TFLAGS)" \
42838 $(TARGET-stage4-target-libgomp)
42840 maybe-clean-stage4-target-libgomp: clean-stage4-target-libgomp
42841 clean-stage4: clean-stage4-target-libgomp
42842 clean-stage4-target-libgomp:
42843 @if [ $(current_stage) = stage4 ]; then \
42844 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
42845 else \
42846 [ -f $(TARGET_SUBDIR)/stage4-libgomp/Makefile ] || exit 0; \
42847 $(MAKE) stage4-start; \
42848 fi; \
42849 cd $(TARGET_SUBDIR)/libgomp && \
42850 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
42851 @endif target-libgomp-bootstrap
42854 .PHONY: all-stageprofile-target-libgomp maybe-all-stageprofile-target-libgomp
42855 .PHONY: clean-stageprofile-target-libgomp maybe-clean-stageprofile-target-libgomp
42856 maybe-all-stageprofile-target-libgomp:
42857 maybe-clean-stageprofile-target-libgomp:
42858 @if target-libgomp-bootstrap
42859 maybe-all-stageprofile-target-libgomp: all-stageprofile-target-libgomp
42860 all-stageprofile: all-stageprofile-target-libgomp
42861 TARGET-stageprofile-target-libgomp = $(TARGET-target-libgomp)
42862 all-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
42863 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
42864 @r=`${PWD_COMMAND}`; export r; \
42865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42866 TFLAGS="$(STAGEprofile_TFLAGS)"; \
42867 $(NORMAL_TARGET_EXPORTS) \
42869 cd $(TARGET_SUBDIR)/libgomp && \
42870 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42871 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42872 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42873 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42874 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42875 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42876 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42877 $(EXTRA_TARGET_FLAGS) \
42878 TFLAGS="$(STAGEprofile_TFLAGS)" \
42879 $(TARGET-stageprofile-target-libgomp)
42881 maybe-clean-stageprofile-target-libgomp: clean-stageprofile-target-libgomp
42882 clean-stageprofile: clean-stageprofile-target-libgomp
42883 clean-stageprofile-target-libgomp:
42884 @if [ $(current_stage) = stageprofile ]; then \
42885 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
42886 else \
42887 [ -f $(TARGET_SUBDIR)/stageprofile-libgomp/Makefile ] || exit 0; \
42888 $(MAKE) stageprofile-start; \
42889 fi; \
42890 cd $(TARGET_SUBDIR)/libgomp && \
42891 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
42892 @endif target-libgomp-bootstrap
42895 .PHONY: all-stagefeedback-target-libgomp maybe-all-stagefeedback-target-libgomp
42896 .PHONY: clean-stagefeedback-target-libgomp maybe-clean-stagefeedback-target-libgomp
42897 maybe-all-stagefeedback-target-libgomp:
42898 maybe-clean-stagefeedback-target-libgomp:
42899 @if target-libgomp-bootstrap
42900 maybe-all-stagefeedback-target-libgomp: all-stagefeedback-target-libgomp
42901 all-stagefeedback: all-stagefeedback-target-libgomp
42902 TARGET-stagefeedback-target-libgomp = $(TARGET-target-libgomp)
42903 all-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
42904 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
42905 @r=`${PWD_COMMAND}`; export r; \
42906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42907 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
42908 $(NORMAL_TARGET_EXPORTS) \
42910 cd $(TARGET_SUBDIR)/libgomp && \
42911 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42912 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42913 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42914 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42915 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42916 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42917 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42918 $(EXTRA_TARGET_FLAGS) \
42919 TFLAGS="$(STAGEfeedback_TFLAGS)" \
42920 $(TARGET-stagefeedback-target-libgomp)
42922 maybe-clean-stagefeedback-target-libgomp: clean-stagefeedback-target-libgomp
42923 clean-stagefeedback: clean-stagefeedback-target-libgomp
42924 clean-stagefeedback-target-libgomp:
42925 @if [ $(current_stage) = stagefeedback ]; then \
42926 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
42927 else \
42928 [ -f $(TARGET_SUBDIR)/stagefeedback-libgomp/Makefile ] || exit 0; \
42929 $(MAKE) stagefeedback-start; \
42930 fi; \
42931 cd $(TARGET_SUBDIR)/libgomp && \
42932 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
42933 @endif target-libgomp-bootstrap
42940 .PHONY: check-target-libgomp maybe-check-target-libgomp
42941 maybe-check-target-libgomp:
42942 @if target-libgomp
42943 maybe-check-target-libgomp: check-target-libgomp
42945 check-target-libgomp:
42946 @: $(MAKE); $(unstage)
42947 @r=`${PWD_COMMAND}`; export r; \
42948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42949 $(NORMAL_TARGET_EXPORTS) \
42950 (cd $(TARGET_SUBDIR)/libgomp && \
42951 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
42953 @endif target-libgomp
42955 .PHONY: install-target-libgomp maybe-install-target-libgomp
42956 maybe-install-target-libgomp:
42957 @if target-libgomp
42958 maybe-install-target-libgomp: install-target-libgomp
42960 install-target-libgomp: installdirs
42961 @: $(MAKE); $(unstage)
42962 @r=`${PWD_COMMAND}`; export r; \
42963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42964 $(NORMAL_TARGET_EXPORTS) \
42965 (cd $(TARGET_SUBDIR)/libgomp && \
42966 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42968 @endif target-libgomp
42970 .PHONY: install-strip-target-libgomp maybe-install-strip-target-libgomp
42971 maybe-install-strip-target-libgomp:
42972 @if target-libgomp
42973 maybe-install-strip-target-libgomp: install-strip-target-libgomp
42975 install-strip-target-libgomp: installdirs
42976 @: $(MAKE); $(unstage)
42977 @r=`${PWD_COMMAND}`; export r; \
42978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42979 $(NORMAL_TARGET_EXPORTS) \
42980 (cd $(TARGET_SUBDIR)/libgomp && \
42981 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
42983 @endif target-libgomp
42985 # Other targets (info, dvi, pdf, etc.)
42987 .PHONY: maybe-info-target-libgomp info-target-libgomp
42988 maybe-info-target-libgomp:
42989 @if target-libgomp
42990 maybe-info-target-libgomp: info-target-libgomp
42992 info-target-libgomp: \
42993 configure-target-libgomp
42994 @: $(MAKE); $(unstage)
42995 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
42996 r=`${PWD_COMMAND}`; export r; \
42997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42998 $(NORMAL_TARGET_EXPORTS) \
42999 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
43000 for flag in $(EXTRA_TARGET_FLAGS); do \
43001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43002 done; \
43003 (cd $(TARGET_SUBDIR)/libgomp && \
43004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43006 "RANLIB=$${RANLIB}" \
43007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43008 info) \
43009 || exit 1
43011 @endif target-libgomp
43013 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
43014 maybe-dvi-target-libgomp:
43015 @if target-libgomp
43016 maybe-dvi-target-libgomp: dvi-target-libgomp
43018 dvi-target-libgomp: \
43019 configure-target-libgomp
43020 @: $(MAKE); $(unstage)
43021 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
43022 r=`${PWD_COMMAND}`; export r; \
43023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43024 $(NORMAL_TARGET_EXPORTS) \
43025 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
43026 for flag in $(EXTRA_TARGET_FLAGS); do \
43027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43028 done; \
43029 (cd $(TARGET_SUBDIR)/libgomp && \
43030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43032 "RANLIB=$${RANLIB}" \
43033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43034 dvi) \
43035 || exit 1
43037 @endif target-libgomp
43039 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
43040 maybe-pdf-target-libgomp:
43041 @if target-libgomp
43042 maybe-pdf-target-libgomp: pdf-target-libgomp
43044 pdf-target-libgomp: \
43045 configure-target-libgomp
43046 @: $(MAKE); $(unstage)
43047 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
43048 r=`${PWD_COMMAND}`; export r; \
43049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43050 $(NORMAL_TARGET_EXPORTS) \
43051 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp" ; \
43052 for flag in $(EXTRA_TARGET_FLAGS); do \
43053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43054 done; \
43055 (cd $(TARGET_SUBDIR)/libgomp && \
43056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43058 "RANLIB=$${RANLIB}" \
43059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43060 pdf) \
43061 || exit 1
43063 @endif target-libgomp
43065 .PHONY: maybe-html-target-libgomp html-target-libgomp
43066 maybe-html-target-libgomp:
43067 @if target-libgomp
43068 maybe-html-target-libgomp: html-target-libgomp
43070 html-target-libgomp: \
43071 configure-target-libgomp
43072 @: $(MAKE); $(unstage)
43073 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
43074 r=`${PWD_COMMAND}`; export r; \
43075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43076 $(NORMAL_TARGET_EXPORTS) \
43077 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
43078 for flag in $(EXTRA_TARGET_FLAGS); do \
43079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43080 done; \
43081 (cd $(TARGET_SUBDIR)/libgomp && \
43082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43084 "RANLIB=$${RANLIB}" \
43085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43086 html) \
43087 || exit 1
43089 @endif target-libgomp
43091 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
43092 maybe-TAGS-target-libgomp:
43093 @if target-libgomp
43094 maybe-TAGS-target-libgomp: TAGS-target-libgomp
43096 TAGS-target-libgomp: \
43097 configure-target-libgomp
43098 @: $(MAKE); $(unstage)
43099 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
43100 r=`${PWD_COMMAND}`; export r; \
43101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43102 $(NORMAL_TARGET_EXPORTS) \
43103 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
43104 for flag in $(EXTRA_TARGET_FLAGS); do \
43105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43106 done; \
43107 (cd $(TARGET_SUBDIR)/libgomp && \
43108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43110 "RANLIB=$${RANLIB}" \
43111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43112 TAGS) \
43113 || exit 1
43115 @endif target-libgomp
43117 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
43118 maybe-install-info-target-libgomp:
43119 @if target-libgomp
43120 maybe-install-info-target-libgomp: install-info-target-libgomp
43122 install-info-target-libgomp: \
43123 configure-target-libgomp \
43124 info-target-libgomp
43125 @: $(MAKE); $(unstage)
43126 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
43127 r=`${PWD_COMMAND}`; export r; \
43128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43129 $(NORMAL_TARGET_EXPORTS) \
43130 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
43131 for flag in $(EXTRA_TARGET_FLAGS); do \
43132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43133 done; \
43134 (cd $(TARGET_SUBDIR)/libgomp && \
43135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43137 "RANLIB=$${RANLIB}" \
43138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43139 install-info) \
43140 || exit 1
43142 @endif target-libgomp
43144 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
43145 maybe-install-pdf-target-libgomp:
43146 @if target-libgomp
43147 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
43149 install-pdf-target-libgomp: \
43150 configure-target-libgomp \
43151 pdf-target-libgomp
43152 @: $(MAKE); $(unstage)
43153 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
43154 r=`${PWD_COMMAND}`; export r; \
43155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43156 $(NORMAL_TARGET_EXPORTS) \
43157 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp" ; \
43158 for flag in $(EXTRA_TARGET_FLAGS); do \
43159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43160 done; \
43161 (cd $(TARGET_SUBDIR)/libgomp && \
43162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43164 "RANLIB=$${RANLIB}" \
43165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43166 install-pdf) \
43167 || exit 1
43169 @endif target-libgomp
43171 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
43172 maybe-install-html-target-libgomp:
43173 @if target-libgomp
43174 maybe-install-html-target-libgomp: install-html-target-libgomp
43176 install-html-target-libgomp: \
43177 configure-target-libgomp \
43178 html-target-libgomp
43179 @: $(MAKE); $(unstage)
43180 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
43181 r=`${PWD_COMMAND}`; export r; \
43182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43183 $(NORMAL_TARGET_EXPORTS) \
43184 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \
43185 for flag in $(EXTRA_TARGET_FLAGS); do \
43186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43187 done; \
43188 (cd $(TARGET_SUBDIR)/libgomp && \
43189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43191 "RANLIB=$${RANLIB}" \
43192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43193 install-html) \
43194 || exit 1
43196 @endif target-libgomp
43198 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
43199 maybe-installcheck-target-libgomp:
43200 @if target-libgomp
43201 maybe-installcheck-target-libgomp: installcheck-target-libgomp
43203 installcheck-target-libgomp: \
43204 configure-target-libgomp
43205 @: $(MAKE); $(unstage)
43206 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
43207 r=`${PWD_COMMAND}`; export r; \
43208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43209 $(NORMAL_TARGET_EXPORTS) \
43210 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
43211 for flag in $(EXTRA_TARGET_FLAGS); do \
43212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43213 done; \
43214 (cd $(TARGET_SUBDIR)/libgomp && \
43215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43217 "RANLIB=$${RANLIB}" \
43218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43219 installcheck) \
43220 || exit 1
43222 @endif target-libgomp
43224 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
43225 maybe-mostlyclean-target-libgomp:
43226 @if target-libgomp
43227 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
43229 mostlyclean-target-libgomp:
43230 @: $(MAKE); $(unstage)
43231 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
43232 r=`${PWD_COMMAND}`; export r; \
43233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43234 $(NORMAL_TARGET_EXPORTS) \
43235 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
43236 for flag in $(EXTRA_TARGET_FLAGS); do \
43237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43238 done; \
43239 (cd $(TARGET_SUBDIR)/libgomp && \
43240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43242 "RANLIB=$${RANLIB}" \
43243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43244 mostlyclean) \
43245 || exit 1
43247 @endif target-libgomp
43249 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
43250 maybe-clean-target-libgomp:
43251 @if target-libgomp
43252 maybe-clean-target-libgomp: clean-target-libgomp
43254 clean-target-libgomp:
43255 @: $(MAKE); $(unstage)
43256 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
43257 r=`${PWD_COMMAND}`; export r; \
43258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43259 $(NORMAL_TARGET_EXPORTS) \
43260 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
43261 for flag in $(EXTRA_TARGET_FLAGS); do \
43262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43263 done; \
43264 (cd $(TARGET_SUBDIR)/libgomp && \
43265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43267 "RANLIB=$${RANLIB}" \
43268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43269 clean) \
43270 || exit 1
43272 @endif target-libgomp
43274 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
43275 maybe-distclean-target-libgomp:
43276 @if target-libgomp
43277 maybe-distclean-target-libgomp: distclean-target-libgomp
43279 distclean-target-libgomp:
43280 @: $(MAKE); $(unstage)
43281 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
43282 r=`${PWD_COMMAND}`; export r; \
43283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43284 $(NORMAL_TARGET_EXPORTS) \
43285 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
43286 for flag in $(EXTRA_TARGET_FLAGS); do \
43287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43288 done; \
43289 (cd $(TARGET_SUBDIR)/libgomp && \
43290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43292 "RANLIB=$${RANLIB}" \
43293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43294 distclean) \
43295 || exit 1
43297 @endif target-libgomp
43299 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
43300 maybe-maintainer-clean-target-libgomp:
43301 @if target-libgomp
43302 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
43304 maintainer-clean-target-libgomp:
43305 @: $(MAKE); $(unstage)
43306 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
43307 r=`${PWD_COMMAND}`; export r; \
43308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43309 $(NORMAL_TARGET_EXPORTS) \
43310 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
43311 for flag in $(EXTRA_TARGET_FLAGS); do \
43312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43313 done; \
43314 (cd $(TARGET_SUBDIR)/libgomp && \
43315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43317 "RANLIB=$${RANLIB}" \
43318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43319 maintainer-clean) \
43320 || exit 1
43322 @endif target-libgomp
43328 .PHONY: configure-target-libitm maybe-configure-target-libitm
43329 maybe-configure-target-libitm:
43330 @if gcc-bootstrap
43331 configure-target-libitm: stage_current
43332 @endif gcc-bootstrap
43333 @if target-libitm
43334 maybe-configure-target-libitm: configure-target-libitm
43335 configure-target-libitm:
43336 @: $(MAKE); $(unstage)
43337 @r=`${PWD_COMMAND}`; export r; \
43338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43339 echo "Checking multilib configuration for libitm..."; \
43340 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm ; \
43341 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libitm/multilib.tmp 2> /dev/null ; \
43342 if test -r $(TARGET_SUBDIR)/libitm/multilib.out; then \
43343 if cmp -s $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; then \
43344 rm -f $(TARGET_SUBDIR)/libitm/multilib.tmp; \
43345 else \
43346 rm -f $(TARGET_SUBDIR)/libitm/Makefile; \
43347 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
43348 fi; \
43349 else \
43350 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
43351 fi; \
43352 test ! -f $(TARGET_SUBDIR)/libitm/Makefile || exit 0; \
43353 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm ; \
43354 $(NORMAL_TARGET_EXPORTS) \
43355 echo Configuring in $(TARGET_SUBDIR)/libitm; \
43356 cd "$(TARGET_SUBDIR)/libitm" || exit 1; \
43357 case $(srcdir) in \
43358 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43359 *) topdir=`echo $(TARGET_SUBDIR)/libitm/ | \
43360 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43361 esac; \
43362 srcdiroption="--srcdir=$${topdir}/libitm"; \
43363 libsrcdir="$$s/libitm"; \
43364 rm -f no-such-file || : ; \
43365 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
43366 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43367 --target=${target_alias} $${srcdiroption} \
43368 || exit 1
43369 @endif target-libitm
43375 .PHONY: all-target-libitm maybe-all-target-libitm
43376 maybe-all-target-libitm:
43377 @if gcc-bootstrap
43378 all-target-libitm: stage_current
43379 @endif gcc-bootstrap
43380 @if target-libitm
43381 TARGET-target-libitm=all
43382 maybe-all-target-libitm: all-target-libitm
43383 all-target-libitm: configure-target-libitm
43384 @: $(MAKE); $(unstage)
43385 @r=`${PWD_COMMAND}`; export r; \
43386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43387 $(NORMAL_TARGET_EXPORTS) \
43388 (cd $(TARGET_SUBDIR)/libitm && \
43389 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
43390 $(TARGET-target-libitm))
43391 @endif target-libitm
43397 .PHONY: check-target-libitm maybe-check-target-libitm
43398 maybe-check-target-libitm:
43399 @if target-libitm
43400 maybe-check-target-libitm: check-target-libitm
43402 check-target-libitm:
43403 @: $(MAKE); $(unstage)
43404 @r=`${PWD_COMMAND}`; export r; \
43405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43406 $(NORMAL_TARGET_EXPORTS) \
43407 (cd $(TARGET_SUBDIR)/libitm && \
43408 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
43410 @endif target-libitm
43412 .PHONY: install-target-libitm maybe-install-target-libitm
43413 maybe-install-target-libitm:
43414 @if target-libitm
43415 maybe-install-target-libitm: install-target-libitm
43417 install-target-libitm: installdirs
43418 @: $(MAKE); $(unstage)
43419 @r=`${PWD_COMMAND}`; export r; \
43420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43421 $(NORMAL_TARGET_EXPORTS) \
43422 (cd $(TARGET_SUBDIR)/libitm && \
43423 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43425 @endif target-libitm
43427 .PHONY: install-strip-target-libitm maybe-install-strip-target-libitm
43428 maybe-install-strip-target-libitm:
43429 @if target-libitm
43430 maybe-install-strip-target-libitm: install-strip-target-libitm
43432 install-strip-target-libitm: installdirs
43433 @: $(MAKE); $(unstage)
43434 @r=`${PWD_COMMAND}`; export r; \
43435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43436 $(NORMAL_TARGET_EXPORTS) \
43437 (cd $(TARGET_SUBDIR)/libitm && \
43438 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
43440 @endif target-libitm
43442 # Other targets (info, dvi, pdf, etc.)
43444 .PHONY: maybe-info-target-libitm info-target-libitm
43445 maybe-info-target-libitm:
43446 @if target-libitm
43447 maybe-info-target-libitm: info-target-libitm
43449 info-target-libitm: \
43450 configure-target-libitm
43451 @: $(MAKE); $(unstage)
43452 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
43453 r=`${PWD_COMMAND}`; export r; \
43454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43455 $(NORMAL_TARGET_EXPORTS) \
43456 echo "Doing info in $(TARGET_SUBDIR)/libitm" ; \
43457 for flag in $(EXTRA_TARGET_FLAGS); do \
43458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43459 done; \
43460 (cd $(TARGET_SUBDIR)/libitm && \
43461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43463 "RANLIB=$${RANLIB}" \
43464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43465 info) \
43466 || exit 1
43468 @endif target-libitm
43470 .PHONY: maybe-dvi-target-libitm dvi-target-libitm
43471 maybe-dvi-target-libitm:
43472 @if target-libitm
43473 maybe-dvi-target-libitm: dvi-target-libitm
43475 dvi-target-libitm: \
43476 configure-target-libitm
43477 @: $(MAKE); $(unstage)
43478 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
43479 r=`${PWD_COMMAND}`; export r; \
43480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43481 $(NORMAL_TARGET_EXPORTS) \
43482 echo "Doing dvi in $(TARGET_SUBDIR)/libitm" ; \
43483 for flag in $(EXTRA_TARGET_FLAGS); do \
43484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43485 done; \
43486 (cd $(TARGET_SUBDIR)/libitm && \
43487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43489 "RANLIB=$${RANLIB}" \
43490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43491 dvi) \
43492 || exit 1
43494 @endif target-libitm
43496 .PHONY: maybe-pdf-target-libitm pdf-target-libitm
43497 maybe-pdf-target-libitm:
43498 @if target-libitm
43499 maybe-pdf-target-libitm: pdf-target-libitm
43501 pdf-target-libitm: \
43502 configure-target-libitm
43503 @: $(MAKE); $(unstage)
43504 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
43505 r=`${PWD_COMMAND}`; export r; \
43506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43507 $(NORMAL_TARGET_EXPORTS) \
43508 echo "Doing pdf in $(TARGET_SUBDIR)/libitm" ; \
43509 for flag in $(EXTRA_TARGET_FLAGS); do \
43510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43511 done; \
43512 (cd $(TARGET_SUBDIR)/libitm && \
43513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43515 "RANLIB=$${RANLIB}" \
43516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43517 pdf) \
43518 || exit 1
43520 @endif target-libitm
43522 .PHONY: maybe-html-target-libitm html-target-libitm
43523 maybe-html-target-libitm:
43524 @if target-libitm
43525 maybe-html-target-libitm: html-target-libitm
43527 html-target-libitm: \
43528 configure-target-libitm
43529 @: $(MAKE); $(unstage)
43530 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
43531 r=`${PWD_COMMAND}`; export r; \
43532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43533 $(NORMAL_TARGET_EXPORTS) \
43534 echo "Doing html in $(TARGET_SUBDIR)/libitm" ; \
43535 for flag in $(EXTRA_TARGET_FLAGS); do \
43536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43537 done; \
43538 (cd $(TARGET_SUBDIR)/libitm && \
43539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43541 "RANLIB=$${RANLIB}" \
43542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43543 html) \
43544 || exit 1
43546 @endif target-libitm
43548 .PHONY: maybe-TAGS-target-libitm TAGS-target-libitm
43549 maybe-TAGS-target-libitm:
43550 @if target-libitm
43551 maybe-TAGS-target-libitm: TAGS-target-libitm
43553 TAGS-target-libitm: \
43554 configure-target-libitm
43555 @: $(MAKE); $(unstage)
43556 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
43557 r=`${PWD_COMMAND}`; export r; \
43558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43559 $(NORMAL_TARGET_EXPORTS) \
43560 echo "Doing TAGS in $(TARGET_SUBDIR)/libitm" ; \
43561 for flag in $(EXTRA_TARGET_FLAGS); do \
43562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43563 done; \
43564 (cd $(TARGET_SUBDIR)/libitm && \
43565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43567 "RANLIB=$${RANLIB}" \
43568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43569 TAGS) \
43570 || exit 1
43572 @endif target-libitm
43574 .PHONY: maybe-install-info-target-libitm install-info-target-libitm
43575 maybe-install-info-target-libitm:
43576 @if target-libitm
43577 maybe-install-info-target-libitm: install-info-target-libitm
43579 install-info-target-libitm: \
43580 configure-target-libitm \
43581 info-target-libitm
43582 @: $(MAKE); $(unstage)
43583 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
43584 r=`${PWD_COMMAND}`; export r; \
43585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43586 $(NORMAL_TARGET_EXPORTS) \
43587 echo "Doing install-info in $(TARGET_SUBDIR)/libitm" ; \
43588 for flag in $(EXTRA_TARGET_FLAGS); do \
43589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43590 done; \
43591 (cd $(TARGET_SUBDIR)/libitm && \
43592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43594 "RANLIB=$${RANLIB}" \
43595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43596 install-info) \
43597 || exit 1
43599 @endif target-libitm
43601 .PHONY: maybe-install-pdf-target-libitm install-pdf-target-libitm
43602 maybe-install-pdf-target-libitm:
43603 @if target-libitm
43604 maybe-install-pdf-target-libitm: install-pdf-target-libitm
43606 install-pdf-target-libitm: \
43607 configure-target-libitm \
43608 pdf-target-libitm
43609 @: $(MAKE); $(unstage)
43610 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
43611 r=`${PWD_COMMAND}`; export r; \
43612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43613 $(NORMAL_TARGET_EXPORTS) \
43614 echo "Doing install-pdf in $(TARGET_SUBDIR)/libitm" ; \
43615 for flag in $(EXTRA_TARGET_FLAGS); do \
43616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43617 done; \
43618 (cd $(TARGET_SUBDIR)/libitm && \
43619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43621 "RANLIB=$${RANLIB}" \
43622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43623 install-pdf) \
43624 || exit 1
43626 @endif target-libitm
43628 .PHONY: maybe-install-html-target-libitm install-html-target-libitm
43629 maybe-install-html-target-libitm:
43630 @if target-libitm
43631 maybe-install-html-target-libitm: install-html-target-libitm
43633 install-html-target-libitm: \
43634 configure-target-libitm \
43635 html-target-libitm
43636 @: $(MAKE); $(unstage)
43637 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
43638 r=`${PWD_COMMAND}`; export r; \
43639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43640 $(NORMAL_TARGET_EXPORTS) \
43641 echo "Doing install-html in $(TARGET_SUBDIR)/libitm" ; \
43642 for flag in $(EXTRA_TARGET_FLAGS); do \
43643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43644 done; \
43645 (cd $(TARGET_SUBDIR)/libitm && \
43646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43648 "RANLIB=$${RANLIB}" \
43649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43650 install-html) \
43651 || exit 1
43653 @endif target-libitm
43655 .PHONY: maybe-installcheck-target-libitm installcheck-target-libitm
43656 maybe-installcheck-target-libitm:
43657 @if target-libitm
43658 maybe-installcheck-target-libitm: installcheck-target-libitm
43660 installcheck-target-libitm: \
43661 configure-target-libitm
43662 @: $(MAKE); $(unstage)
43663 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
43664 r=`${PWD_COMMAND}`; export r; \
43665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43666 $(NORMAL_TARGET_EXPORTS) \
43667 echo "Doing installcheck in $(TARGET_SUBDIR)/libitm" ; \
43668 for flag in $(EXTRA_TARGET_FLAGS); do \
43669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43670 done; \
43671 (cd $(TARGET_SUBDIR)/libitm && \
43672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43674 "RANLIB=$${RANLIB}" \
43675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43676 installcheck) \
43677 || exit 1
43679 @endif target-libitm
43681 .PHONY: maybe-mostlyclean-target-libitm mostlyclean-target-libitm
43682 maybe-mostlyclean-target-libitm:
43683 @if target-libitm
43684 maybe-mostlyclean-target-libitm: mostlyclean-target-libitm
43686 mostlyclean-target-libitm:
43687 @: $(MAKE); $(unstage)
43688 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
43689 r=`${PWD_COMMAND}`; export r; \
43690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43691 $(NORMAL_TARGET_EXPORTS) \
43692 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libitm" ; \
43693 for flag in $(EXTRA_TARGET_FLAGS); do \
43694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43695 done; \
43696 (cd $(TARGET_SUBDIR)/libitm && \
43697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43699 "RANLIB=$${RANLIB}" \
43700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43701 mostlyclean) \
43702 || exit 1
43704 @endif target-libitm
43706 .PHONY: maybe-clean-target-libitm clean-target-libitm
43707 maybe-clean-target-libitm:
43708 @if target-libitm
43709 maybe-clean-target-libitm: clean-target-libitm
43711 clean-target-libitm:
43712 @: $(MAKE); $(unstage)
43713 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
43714 r=`${PWD_COMMAND}`; export r; \
43715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43716 $(NORMAL_TARGET_EXPORTS) \
43717 echo "Doing clean in $(TARGET_SUBDIR)/libitm" ; \
43718 for flag in $(EXTRA_TARGET_FLAGS); do \
43719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43720 done; \
43721 (cd $(TARGET_SUBDIR)/libitm && \
43722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43724 "RANLIB=$${RANLIB}" \
43725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43726 clean) \
43727 || exit 1
43729 @endif target-libitm
43731 .PHONY: maybe-distclean-target-libitm distclean-target-libitm
43732 maybe-distclean-target-libitm:
43733 @if target-libitm
43734 maybe-distclean-target-libitm: distclean-target-libitm
43736 distclean-target-libitm:
43737 @: $(MAKE); $(unstage)
43738 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
43739 r=`${PWD_COMMAND}`; export r; \
43740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43741 $(NORMAL_TARGET_EXPORTS) \
43742 echo "Doing distclean in $(TARGET_SUBDIR)/libitm" ; \
43743 for flag in $(EXTRA_TARGET_FLAGS); do \
43744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43745 done; \
43746 (cd $(TARGET_SUBDIR)/libitm && \
43747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43749 "RANLIB=$${RANLIB}" \
43750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43751 distclean) \
43752 || exit 1
43754 @endif target-libitm
43756 .PHONY: maybe-maintainer-clean-target-libitm maintainer-clean-target-libitm
43757 maybe-maintainer-clean-target-libitm:
43758 @if target-libitm
43759 maybe-maintainer-clean-target-libitm: maintainer-clean-target-libitm
43761 maintainer-clean-target-libitm:
43762 @: $(MAKE); $(unstage)
43763 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
43764 r=`${PWD_COMMAND}`; export r; \
43765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43766 $(NORMAL_TARGET_EXPORTS) \
43767 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libitm" ; \
43768 for flag in $(EXTRA_TARGET_FLAGS); do \
43769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43770 done; \
43771 (cd $(TARGET_SUBDIR)/libitm && \
43772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43774 "RANLIB=$${RANLIB}" \
43775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43776 maintainer-clean) \
43777 || exit 1
43779 @endif target-libitm
43785 .PHONY: configure-target-libatomic maybe-configure-target-libatomic
43786 maybe-configure-target-libatomic:
43787 @if gcc-bootstrap
43788 configure-target-libatomic: stage_current
43789 @endif gcc-bootstrap
43790 @if target-libatomic
43791 maybe-configure-target-libatomic: configure-target-libatomic
43792 configure-target-libatomic:
43793 @: $(MAKE); $(unstage)
43794 @r=`${PWD_COMMAND}`; export r; \
43795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43796 echo "Checking multilib configuration for libatomic..."; \
43797 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic ; \
43798 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null ; \
43799 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
43800 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
43801 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
43802 else \
43803 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
43804 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
43805 fi; \
43806 else \
43807 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
43808 fi; \
43809 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
43810 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic ; \
43811 $(NORMAL_TARGET_EXPORTS) \
43812 echo Configuring in $(TARGET_SUBDIR)/libatomic; \
43813 cd "$(TARGET_SUBDIR)/libatomic" || exit 1; \
43814 case $(srcdir) in \
43815 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43816 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
43817 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43818 esac; \
43819 srcdiroption="--srcdir=$${topdir}/libatomic"; \
43820 libsrcdir="$$s/libatomic"; \
43821 rm -f no-such-file || : ; \
43822 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
43823 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43824 --target=${target_alias} $${srcdiroption} \
43825 || exit 1
43826 @endif target-libatomic
43832 .PHONY: all-target-libatomic maybe-all-target-libatomic
43833 maybe-all-target-libatomic:
43834 @if gcc-bootstrap
43835 all-target-libatomic: stage_current
43836 @endif gcc-bootstrap
43837 @if target-libatomic
43838 TARGET-target-libatomic=all
43839 maybe-all-target-libatomic: all-target-libatomic
43840 all-target-libatomic: configure-target-libatomic
43841 @: $(MAKE); $(unstage)
43842 @r=`${PWD_COMMAND}`; export r; \
43843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43844 $(NORMAL_TARGET_EXPORTS) \
43845 (cd $(TARGET_SUBDIR)/libatomic && \
43846 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
43847 $(TARGET-target-libatomic))
43848 @endif target-libatomic
43854 .PHONY: check-target-libatomic maybe-check-target-libatomic
43855 maybe-check-target-libatomic:
43856 @if target-libatomic
43857 maybe-check-target-libatomic: check-target-libatomic
43859 check-target-libatomic:
43860 @: $(MAKE); $(unstage)
43861 @r=`${PWD_COMMAND}`; export r; \
43862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43863 $(NORMAL_TARGET_EXPORTS) \
43864 (cd $(TARGET_SUBDIR)/libatomic && \
43865 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
43867 @endif target-libatomic
43869 .PHONY: install-target-libatomic maybe-install-target-libatomic
43870 maybe-install-target-libatomic:
43871 @if target-libatomic
43872 maybe-install-target-libatomic: install-target-libatomic
43874 install-target-libatomic: installdirs
43875 @: $(MAKE); $(unstage)
43876 @r=`${PWD_COMMAND}`; export r; \
43877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43878 $(NORMAL_TARGET_EXPORTS) \
43879 (cd $(TARGET_SUBDIR)/libatomic && \
43880 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43882 @endif target-libatomic
43884 .PHONY: install-strip-target-libatomic maybe-install-strip-target-libatomic
43885 maybe-install-strip-target-libatomic:
43886 @if target-libatomic
43887 maybe-install-strip-target-libatomic: install-strip-target-libatomic
43889 install-strip-target-libatomic: installdirs
43890 @: $(MAKE); $(unstage)
43891 @r=`${PWD_COMMAND}`; export r; \
43892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43893 $(NORMAL_TARGET_EXPORTS) \
43894 (cd $(TARGET_SUBDIR)/libatomic && \
43895 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
43897 @endif target-libatomic
43899 # Other targets (info, dvi, pdf, etc.)
43901 .PHONY: maybe-info-target-libatomic info-target-libatomic
43902 maybe-info-target-libatomic:
43903 @if target-libatomic
43904 maybe-info-target-libatomic: info-target-libatomic
43906 info-target-libatomic: \
43907 configure-target-libatomic
43908 @: $(MAKE); $(unstage)
43909 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
43910 r=`${PWD_COMMAND}`; export r; \
43911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43912 $(NORMAL_TARGET_EXPORTS) \
43913 echo "Doing info in $(TARGET_SUBDIR)/libatomic" ; \
43914 for flag in $(EXTRA_TARGET_FLAGS); do \
43915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43916 done; \
43917 (cd $(TARGET_SUBDIR)/libatomic && \
43918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43920 "RANLIB=$${RANLIB}" \
43921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43922 info) \
43923 || exit 1
43925 @endif target-libatomic
43927 .PHONY: maybe-dvi-target-libatomic dvi-target-libatomic
43928 maybe-dvi-target-libatomic:
43929 @if target-libatomic
43930 maybe-dvi-target-libatomic: dvi-target-libatomic
43932 dvi-target-libatomic: \
43933 configure-target-libatomic
43934 @: $(MAKE); $(unstage)
43935 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
43936 r=`${PWD_COMMAND}`; export r; \
43937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43938 $(NORMAL_TARGET_EXPORTS) \
43939 echo "Doing dvi in $(TARGET_SUBDIR)/libatomic" ; \
43940 for flag in $(EXTRA_TARGET_FLAGS); do \
43941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43942 done; \
43943 (cd $(TARGET_SUBDIR)/libatomic && \
43944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43946 "RANLIB=$${RANLIB}" \
43947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43948 dvi) \
43949 || exit 1
43951 @endif target-libatomic
43953 .PHONY: maybe-pdf-target-libatomic pdf-target-libatomic
43954 maybe-pdf-target-libatomic:
43955 @if target-libatomic
43956 maybe-pdf-target-libatomic: pdf-target-libatomic
43958 pdf-target-libatomic: \
43959 configure-target-libatomic
43960 @: $(MAKE); $(unstage)
43961 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
43962 r=`${PWD_COMMAND}`; export r; \
43963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43964 $(NORMAL_TARGET_EXPORTS) \
43965 echo "Doing pdf in $(TARGET_SUBDIR)/libatomic" ; \
43966 for flag in $(EXTRA_TARGET_FLAGS); do \
43967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43968 done; \
43969 (cd $(TARGET_SUBDIR)/libatomic && \
43970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43972 "RANLIB=$${RANLIB}" \
43973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43974 pdf) \
43975 || exit 1
43977 @endif target-libatomic
43979 .PHONY: maybe-html-target-libatomic html-target-libatomic
43980 maybe-html-target-libatomic:
43981 @if target-libatomic
43982 maybe-html-target-libatomic: html-target-libatomic
43984 html-target-libatomic: \
43985 configure-target-libatomic
43986 @: $(MAKE); $(unstage)
43987 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
43988 r=`${PWD_COMMAND}`; export r; \
43989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43990 $(NORMAL_TARGET_EXPORTS) \
43991 echo "Doing html in $(TARGET_SUBDIR)/libatomic" ; \
43992 for flag in $(EXTRA_TARGET_FLAGS); do \
43993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43994 done; \
43995 (cd $(TARGET_SUBDIR)/libatomic && \
43996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43998 "RANLIB=$${RANLIB}" \
43999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44000 html) \
44001 || exit 1
44003 @endif target-libatomic
44005 .PHONY: maybe-TAGS-target-libatomic TAGS-target-libatomic
44006 maybe-TAGS-target-libatomic:
44007 @if target-libatomic
44008 maybe-TAGS-target-libatomic: TAGS-target-libatomic
44010 TAGS-target-libatomic: \
44011 configure-target-libatomic
44012 @: $(MAKE); $(unstage)
44013 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
44014 r=`${PWD_COMMAND}`; export r; \
44015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44016 $(NORMAL_TARGET_EXPORTS) \
44017 echo "Doing TAGS in $(TARGET_SUBDIR)/libatomic" ; \
44018 for flag in $(EXTRA_TARGET_FLAGS); do \
44019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44020 done; \
44021 (cd $(TARGET_SUBDIR)/libatomic && \
44022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44024 "RANLIB=$${RANLIB}" \
44025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44026 TAGS) \
44027 || exit 1
44029 @endif target-libatomic
44031 .PHONY: maybe-install-info-target-libatomic install-info-target-libatomic
44032 maybe-install-info-target-libatomic:
44033 @if target-libatomic
44034 maybe-install-info-target-libatomic: install-info-target-libatomic
44036 install-info-target-libatomic: \
44037 configure-target-libatomic \
44038 info-target-libatomic
44039 @: $(MAKE); $(unstage)
44040 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
44041 r=`${PWD_COMMAND}`; export r; \
44042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44043 $(NORMAL_TARGET_EXPORTS) \
44044 echo "Doing install-info in $(TARGET_SUBDIR)/libatomic" ; \
44045 for flag in $(EXTRA_TARGET_FLAGS); do \
44046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44047 done; \
44048 (cd $(TARGET_SUBDIR)/libatomic && \
44049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44051 "RANLIB=$${RANLIB}" \
44052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44053 install-info) \
44054 || exit 1
44056 @endif target-libatomic
44058 .PHONY: maybe-install-pdf-target-libatomic install-pdf-target-libatomic
44059 maybe-install-pdf-target-libatomic:
44060 @if target-libatomic
44061 maybe-install-pdf-target-libatomic: install-pdf-target-libatomic
44063 install-pdf-target-libatomic: \
44064 configure-target-libatomic \
44065 pdf-target-libatomic
44066 @: $(MAKE); $(unstage)
44067 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
44068 r=`${PWD_COMMAND}`; export r; \
44069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44070 $(NORMAL_TARGET_EXPORTS) \
44071 echo "Doing install-pdf in $(TARGET_SUBDIR)/libatomic" ; \
44072 for flag in $(EXTRA_TARGET_FLAGS); do \
44073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44074 done; \
44075 (cd $(TARGET_SUBDIR)/libatomic && \
44076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44078 "RANLIB=$${RANLIB}" \
44079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44080 install-pdf) \
44081 || exit 1
44083 @endif target-libatomic
44085 .PHONY: maybe-install-html-target-libatomic install-html-target-libatomic
44086 maybe-install-html-target-libatomic:
44087 @if target-libatomic
44088 maybe-install-html-target-libatomic: install-html-target-libatomic
44090 install-html-target-libatomic: \
44091 configure-target-libatomic \
44092 html-target-libatomic
44093 @: $(MAKE); $(unstage)
44094 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
44095 r=`${PWD_COMMAND}`; export r; \
44096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44097 $(NORMAL_TARGET_EXPORTS) \
44098 echo "Doing install-html in $(TARGET_SUBDIR)/libatomic" ; \
44099 for flag in $(EXTRA_TARGET_FLAGS); do \
44100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44101 done; \
44102 (cd $(TARGET_SUBDIR)/libatomic && \
44103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44105 "RANLIB=$${RANLIB}" \
44106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44107 install-html) \
44108 || exit 1
44110 @endif target-libatomic
44112 .PHONY: maybe-installcheck-target-libatomic installcheck-target-libatomic
44113 maybe-installcheck-target-libatomic:
44114 @if target-libatomic
44115 maybe-installcheck-target-libatomic: installcheck-target-libatomic
44117 installcheck-target-libatomic: \
44118 configure-target-libatomic
44119 @: $(MAKE); $(unstage)
44120 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
44121 r=`${PWD_COMMAND}`; export r; \
44122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44123 $(NORMAL_TARGET_EXPORTS) \
44124 echo "Doing installcheck in $(TARGET_SUBDIR)/libatomic" ; \
44125 for flag in $(EXTRA_TARGET_FLAGS); do \
44126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44127 done; \
44128 (cd $(TARGET_SUBDIR)/libatomic && \
44129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44131 "RANLIB=$${RANLIB}" \
44132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44133 installcheck) \
44134 || exit 1
44136 @endif target-libatomic
44138 .PHONY: maybe-mostlyclean-target-libatomic mostlyclean-target-libatomic
44139 maybe-mostlyclean-target-libatomic:
44140 @if target-libatomic
44141 maybe-mostlyclean-target-libatomic: mostlyclean-target-libatomic
44143 mostlyclean-target-libatomic:
44144 @: $(MAKE); $(unstage)
44145 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
44146 r=`${PWD_COMMAND}`; export r; \
44147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44148 $(NORMAL_TARGET_EXPORTS) \
44149 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libatomic" ; \
44150 for flag in $(EXTRA_TARGET_FLAGS); do \
44151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44152 done; \
44153 (cd $(TARGET_SUBDIR)/libatomic && \
44154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44156 "RANLIB=$${RANLIB}" \
44157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44158 mostlyclean) \
44159 || exit 1
44161 @endif target-libatomic
44163 .PHONY: maybe-clean-target-libatomic clean-target-libatomic
44164 maybe-clean-target-libatomic:
44165 @if target-libatomic
44166 maybe-clean-target-libatomic: clean-target-libatomic
44168 clean-target-libatomic:
44169 @: $(MAKE); $(unstage)
44170 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
44171 r=`${PWD_COMMAND}`; export r; \
44172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44173 $(NORMAL_TARGET_EXPORTS) \
44174 echo "Doing clean in $(TARGET_SUBDIR)/libatomic" ; \
44175 for flag in $(EXTRA_TARGET_FLAGS); do \
44176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44177 done; \
44178 (cd $(TARGET_SUBDIR)/libatomic && \
44179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44181 "RANLIB=$${RANLIB}" \
44182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44183 clean) \
44184 || exit 1
44186 @endif target-libatomic
44188 .PHONY: maybe-distclean-target-libatomic distclean-target-libatomic
44189 maybe-distclean-target-libatomic:
44190 @if target-libatomic
44191 maybe-distclean-target-libatomic: distclean-target-libatomic
44193 distclean-target-libatomic:
44194 @: $(MAKE); $(unstage)
44195 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
44196 r=`${PWD_COMMAND}`; export r; \
44197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44198 $(NORMAL_TARGET_EXPORTS) \
44199 echo "Doing distclean in $(TARGET_SUBDIR)/libatomic" ; \
44200 for flag in $(EXTRA_TARGET_FLAGS); do \
44201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44202 done; \
44203 (cd $(TARGET_SUBDIR)/libatomic && \
44204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44206 "RANLIB=$${RANLIB}" \
44207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44208 distclean) \
44209 || exit 1
44211 @endif target-libatomic
44213 .PHONY: maybe-maintainer-clean-target-libatomic maintainer-clean-target-libatomic
44214 maybe-maintainer-clean-target-libatomic:
44215 @if target-libatomic
44216 maybe-maintainer-clean-target-libatomic: maintainer-clean-target-libatomic
44218 maintainer-clean-target-libatomic:
44219 @: $(MAKE); $(unstage)
44220 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
44221 r=`${PWD_COMMAND}`; export r; \
44222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44223 $(NORMAL_TARGET_EXPORTS) \
44224 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libatomic" ; \
44225 for flag in $(EXTRA_TARGET_FLAGS); do \
44226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44227 done; \
44228 (cd $(TARGET_SUBDIR)/libatomic && \
44229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44231 "RANLIB=$${RANLIB}" \
44232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44233 maintainer-clean) \
44234 || exit 1
44236 @endif target-libatomic
44240 @if target-libmudflap
44241 .PHONY: check-target-libmudflap-c++
44242 check-target-libmudflap-c++:
44243 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++frags.exp" check-target-libmudflap
44245 @endif target-libmudflap
44247 @if target-libgomp
44248 .PHONY: check-target-libgomp-c++
44249 check-target-libgomp-c++:
44250 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libgomp
44252 @endif target-libgomp
44254 @if target-libitm
44255 .PHONY: check-target-libitm-c++
44256 check-target-libitm-c++:
44257 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libitm
44259 @endif target-libitm
44261 # ----------
44262 # GCC module
44263 # ----------
44265 @if gcc-no-bootstrap
44266 .PHONY: cross
44267 cross: all-build all-gas all-ld
44268 @r=`${PWD_COMMAND}`; export r; \
44269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44270 $(HOST_EXPORTS) \
44271 echo "Building the C and C++ compiler"; \
44272 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
44273 @r=`${PWD_COMMAND}`; export r; \
44274 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
44275 echo "Building runtime libraries"; \
44276 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
44277 @endif gcc-no-bootstrap
44279 @if gcc
44281 .PHONY: check-gcc-c check-c
44282 check-gcc-c:
44283 r=`${PWD_COMMAND}`; export r; \
44284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44285 $(HOST_EXPORTS) \
44286 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-gcc);
44287 check-c: check-gcc-c
44289 .PHONY: check-gcc-c++ check-c++
44290 check-gcc-c++:
44291 r=`${PWD_COMMAND}`; export r; \
44292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44293 $(HOST_EXPORTS) \
44294 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++);
44295 check-c++: check-gcc-c++ check-target-libstdc++-v3 check-target-libmudflap-c++ check-target-libitm-c++ check-target-libgomp-c++
44297 .PHONY: check-gcc-fortran check-fortran
44298 check-gcc-fortran:
44299 r=`${PWD_COMMAND}`; export r; \
44300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44301 $(HOST_EXPORTS) \
44302 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran);
44303 check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran
44305 .PHONY: check-gcc-java check-java
44306 check-gcc-java:
44307 r=`${PWD_COMMAND}`; export r; \
44308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44309 $(HOST_EXPORTS) \
44310 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-java);
44311 check-java: check-gcc-java check-target-libjava
44313 .PHONY: check-gcc-ada check-ada
44314 check-gcc-ada:
44315 r=`${PWD_COMMAND}`; export r; \
44316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44317 $(HOST_EXPORTS) \
44318 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-ada);
44319 check-ada: check-gcc-ada check-target-libada
44321 .PHONY: check-gcc-objc check-objc
44322 check-gcc-objc:
44323 r=`${PWD_COMMAND}`; export r; \
44324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44325 $(HOST_EXPORTS) \
44326 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-objc);
44327 check-objc: check-gcc-objc check-target-libobjc
44329 .PHONY: check-gcc-obj-c++ check-obj-c++
44330 check-gcc-obj-c++:
44331 r=`${PWD_COMMAND}`; export r; \
44332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44333 $(HOST_EXPORTS) \
44334 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-obj-c++);
44335 check-obj-c++: check-gcc-obj-c++
44337 .PHONY: check-gcc-go check-go
44338 check-gcc-go:
44339 r=`${PWD_COMMAND}`; export r; \
44340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44341 $(HOST_EXPORTS) \
44342 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-go);
44343 check-go: check-gcc-go check-target-libgo
44346 # The gcc part of install-no-fixedincludes, which relies on an intimate
44347 # knowledge of how a number of gcc internal targets (inter)operate. Delegate.
44348 .PHONY: gcc-install-no-fixedincludes
44349 gcc-install-no-fixedincludes:
44350 @if [ -f ./gcc/Makefile ]; then \
44351 r=`${PWD_COMMAND}`; export r; \
44352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44353 $(HOST_EXPORTS) \
44354 (cd ./gcc \
44355 && $(MAKE) $(GCC_FLAGS_TO_PASS) install-no-fixedincludes); \
44356 else true; fi
44357 @endif gcc
44359 # ---------------------
44360 # GCC bootstrap support
44361 # ---------------------
44363 # We track the current stage (the one in 'gcc') in the stage_current file.
44364 # stage_last instead tracks the stage that was built last. These targets
44365 # are dummy when toplevel bootstrap is not active.
44367 # While making host and target tools, symlinks to the final stage must be
44368 # there, so $(unstage) should be run at various points. To avoid excessive
44369 # recursive invocations of make, we "inline" them using a variable. These
44370 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
44371 # to avoid warnings from the GNU Make job server.
44373 unstage = :
44374 stage = :
44375 current_stage = ""
44377 @if gcc-bootstrap
44378 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
44379 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
44380 current_stage = "`cat stage_current 2> /dev/null`"
44381 @endif gcc-bootstrap
44383 .PHONY: unstage stage
44384 unstage:
44385 @: $(MAKE); $(unstage)
44386 stage:
44387 @: $(MAKE); $(stage)
44389 # Disable commands for lean bootstrap.
44390 LEAN = false
44392 # We name the build directories for the various stages "stage1-gcc",
44393 # "stage2-gcc","stage3-gcc", etc.
44395 # Since the 'compare' process will fail (on debugging information) if any
44396 # directory names are different, we need to link the gcc directory for
44397 # the previous stage to a constant name ('prev-gcc'), and to make the name of
44398 # the build directories constant as well. For the latter, we use naked names
44399 # like 'gcc', because the scripts in that directory assume it. We use
44400 # mv on platforms where symlinks to directories do not work or are not
44401 # reliable.
44403 # 'touch' doesn't work right on some platforms.
44404 STAMP = echo timestamp >
44406 # We only want to compare .o files, so set this!
44407 objext = .o
44410 .PHONY: stage1-start stage1-end
44412 stage1-start::
44413 @: $(MAKE); $(stage); \
44414 echo stage1 > stage_current ; \
44415 echo stage1 > stage_last; \
44416 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
44417 @if bfd
44418 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
44419 mkdir stage1-bfd; \
44420 mv stage1-bfd bfd
44421 @endif bfd
44422 @if opcodes
44423 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
44424 mkdir stage1-opcodes; \
44425 mv stage1-opcodes opcodes
44426 @endif opcodes
44427 @if binutils
44428 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
44429 mkdir stage1-binutils; \
44430 mv stage1-binutils binutils
44431 @endif binutils
44432 @if gas
44433 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
44434 mkdir stage1-gas; \
44435 mv stage1-gas gas
44436 @endif gas
44437 @if gcc
44438 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
44439 mkdir stage1-gcc; \
44440 mv stage1-gcc gcc
44441 @endif gcc
44442 @if gmp
44443 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
44444 mkdir stage1-gmp; \
44445 mv stage1-gmp gmp
44446 @endif gmp
44447 @if mpfr
44448 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
44449 mkdir stage1-mpfr; \
44450 mv stage1-mpfr mpfr
44451 @endif mpfr
44452 @if mpc
44453 @cd $(HOST_SUBDIR); [ -d stage1-mpc ] || \
44454 mkdir stage1-mpc; \
44455 mv stage1-mpc mpc
44456 @endif mpc
44457 @if isl
44458 @cd $(HOST_SUBDIR); [ -d stage1-isl ] || \
44459 mkdir stage1-isl; \
44460 mv stage1-isl isl
44461 @endif isl
44462 @if cloog
44463 @cd $(HOST_SUBDIR); [ -d stage1-cloog ] || \
44464 mkdir stage1-cloog; \
44465 mv stage1-cloog cloog
44466 @endif cloog
44467 @if libelf
44468 @cd $(HOST_SUBDIR); [ -d stage1-libelf ] || \
44469 mkdir stage1-libelf; \
44470 mv stage1-libelf libelf
44471 @endif libelf
44472 @if gold
44473 @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \
44474 mkdir stage1-gold; \
44475 mv stage1-gold gold
44476 @endif gold
44477 @if intl
44478 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
44479 mkdir stage1-intl; \
44480 mv stage1-intl intl
44481 @endif intl
44482 @if ld
44483 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
44484 mkdir stage1-ld; \
44485 mv stage1-ld ld
44486 @endif ld
44487 @if libbacktrace
44488 @cd $(HOST_SUBDIR); [ -d stage1-libbacktrace ] || \
44489 mkdir stage1-libbacktrace; \
44490 mv stage1-libbacktrace libbacktrace
44491 @endif libbacktrace
44492 @if libcpp
44493 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
44494 mkdir stage1-libcpp; \
44495 mv stage1-libcpp libcpp
44496 @endif libcpp
44497 @if libdecnumber
44498 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
44499 mkdir stage1-libdecnumber; \
44500 mv stage1-libdecnumber libdecnumber
44501 @endif libdecnumber
44502 @if libiberty
44503 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
44504 mkdir stage1-libiberty; \
44505 mv stage1-libiberty libiberty
44506 @endif libiberty
44507 @if zlib
44508 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
44509 mkdir stage1-zlib; \
44510 mv stage1-zlib zlib
44511 @endif zlib
44512 @if lto-plugin
44513 @cd $(HOST_SUBDIR); [ -d stage1-lto-plugin ] || \
44514 mkdir stage1-lto-plugin; \
44515 mv stage1-lto-plugin lto-plugin
44516 @endif lto-plugin
44517 @[ -d stage1-$(TARGET_SUBDIR) ] || \
44518 mkdir stage1-$(TARGET_SUBDIR); \
44519 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
44521 stage1-end::
44522 @if bfd
44523 @if test -d $(HOST_SUBDIR)/bfd ; then \
44524 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
44526 @endif bfd
44527 @if opcodes
44528 @if test -d $(HOST_SUBDIR)/opcodes ; then \
44529 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
44531 @endif opcodes
44532 @if binutils
44533 @if test -d $(HOST_SUBDIR)/binutils ; then \
44534 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
44536 @endif binutils
44537 @if gas
44538 @if test -d $(HOST_SUBDIR)/gas ; then \
44539 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
44541 @endif gas
44542 @if gcc
44543 @if test -d $(HOST_SUBDIR)/gcc ; then \
44544 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
44546 @endif gcc
44547 @if gmp
44548 @if test -d $(HOST_SUBDIR)/gmp ; then \
44549 cd $(HOST_SUBDIR); mv gmp stage1-gmp ; \
44551 @endif gmp
44552 @if mpfr
44553 @if test -d $(HOST_SUBDIR)/mpfr ; then \
44554 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr ; \
44556 @endif mpfr
44557 @if mpc
44558 @if test -d $(HOST_SUBDIR)/mpc ; then \
44559 cd $(HOST_SUBDIR); mv mpc stage1-mpc ; \
44561 @endif mpc
44562 @if isl
44563 @if test -d $(HOST_SUBDIR)/isl ; then \
44564 cd $(HOST_SUBDIR); mv isl stage1-isl ; \
44566 @endif isl
44567 @if cloog
44568 @if test -d $(HOST_SUBDIR)/cloog ; then \
44569 cd $(HOST_SUBDIR); mv cloog stage1-cloog ; \
44571 @endif cloog
44572 @if libelf
44573 @if test -d $(HOST_SUBDIR)/libelf ; then \
44574 cd $(HOST_SUBDIR); mv libelf stage1-libelf ; \
44576 @endif libelf
44577 @if gold
44578 @if test -d $(HOST_SUBDIR)/gold ; then \
44579 cd $(HOST_SUBDIR); mv gold stage1-gold ; \
44581 @endif gold
44582 @if intl
44583 @if test -d $(HOST_SUBDIR)/intl ; then \
44584 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
44586 @endif intl
44587 @if ld
44588 @if test -d $(HOST_SUBDIR)/ld ; then \
44589 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
44591 @endif ld
44592 @if libbacktrace
44593 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
44594 cd $(HOST_SUBDIR); mv libbacktrace stage1-libbacktrace ; \
44596 @endif libbacktrace
44597 @if libcpp
44598 @if test -d $(HOST_SUBDIR)/libcpp ; then \
44599 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
44601 @endif libcpp
44602 @if libdecnumber
44603 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
44604 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
44606 @endif libdecnumber
44607 @if libiberty
44608 @if test -d $(HOST_SUBDIR)/libiberty ; then \
44609 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
44611 @endif libiberty
44612 @if zlib
44613 @if test -d $(HOST_SUBDIR)/zlib ; then \
44614 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
44616 @endif zlib
44617 @if lto-plugin
44618 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
44619 cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin ; \
44621 @endif lto-plugin
44622 @if test -d $(TARGET_SUBDIR) ; then \
44623 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
44625 rm -f stage_current
44627 # Bubble a bug fix through all the stages up to stage 1. They are
44628 # remade, but not reconfigured. The next stage (if any) will not be
44629 # reconfigured either.
44630 .PHONY: stage1-bubble
44631 stage1-bubble::
44632 @r=`${PWD_COMMAND}`; export r; \
44633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44634 if test -f stage1-lean ; then \
44635 echo Skipping rebuild of stage1 ; \
44636 else \
44637 $(MAKE) stage1-start; \
44638 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
44641 .PHONY: all-stage1 clean-stage1
44642 do-clean: clean-stage1
44644 # FIXME: Will not need to be conditional when toplevel bootstrap is the
44645 # only possibility, but now it conflicts with no-bootstrap rules
44646 @if gcc-bootstrap
44651 # Rules to wipe a stage and all the following ones, also used for cleanstrap
44653 .PHONY: distclean-stage1
44654 distclean-stage1::
44655 @: $(MAKE); $(stage)
44656 @test "`cat stage_last`" != stage1 || rm -f stage_last
44657 rm -rf stage1-*
44660 @endif gcc-bootstrap
44663 .PHONY: stage2-start stage2-end
44665 stage2-start::
44666 @: $(MAKE); $(stage); \
44667 echo stage2 > stage_current ; \
44668 echo stage2 > stage_last; \
44669 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
44670 @if bfd
44671 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
44672 mkdir stage2-bfd; \
44673 mv stage2-bfd bfd ; \
44674 mv stage1-bfd prev-bfd || test -f stage1-lean
44675 @endif bfd
44676 @if opcodes
44677 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
44678 mkdir stage2-opcodes; \
44679 mv stage2-opcodes opcodes ; \
44680 mv stage1-opcodes prev-opcodes || test -f stage1-lean
44681 @endif opcodes
44682 @if binutils
44683 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
44684 mkdir stage2-binutils; \
44685 mv stage2-binutils binutils ; \
44686 mv stage1-binutils prev-binutils || test -f stage1-lean
44687 @endif binutils
44688 @if gas
44689 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
44690 mkdir stage2-gas; \
44691 mv stage2-gas gas ; \
44692 mv stage1-gas prev-gas || test -f stage1-lean
44693 @endif gas
44694 @if gcc
44695 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
44696 mkdir stage2-gcc; \
44697 mv stage2-gcc gcc ; \
44698 mv stage1-gcc prev-gcc || test -f stage1-lean
44699 @endif gcc
44700 @if gmp
44701 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
44702 mkdir stage2-gmp; \
44703 mv stage2-gmp gmp ; \
44704 mv stage1-gmp prev-gmp || test -f stage1-lean
44705 @endif gmp
44706 @if mpfr
44707 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
44708 mkdir stage2-mpfr; \
44709 mv stage2-mpfr mpfr ; \
44710 mv stage1-mpfr prev-mpfr || test -f stage1-lean
44711 @endif mpfr
44712 @if mpc
44713 @cd $(HOST_SUBDIR); [ -d stage2-mpc ] || \
44714 mkdir stage2-mpc; \
44715 mv stage2-mpc mpc ; \
44716 mv stage1-mpc prev-mpc || test -f stage1-lean
44717 @endif mpc
44718 @if isl
44719 @cd $(HOST_SUBDIR); [ -d stage2-isl ] || \
44720 mkdir stage2-isl; \
44721 mv stage2-isl isl ; \
44722 mv stage1-isl prev-isl || test -f stage1-lean
44723 @endif isl
44724 @if cloog
44725 @cd $(HOST_SUBDIR); [ -d stage2-cloog ] || \
44726 mkdir stage2-cloog; \
44727 mv stage2-cloog cloog ; \
44728 mv stage1-cloog prev-cloog || test -f stage1-lean
44729 @endif cloog
44730 @if libelf
44731 @cd $(HOST_SUBDIR); [ -d stage2-libelf ] || \
44732 mkdir stage2-libelf; \
44733 mv stage2-libelf libelf ; \
44734 mv stage1-libelf prev-libelf || test -f stage1-lean
44735 @endif libelf
44736 @if gold
44737 @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \
44738 mkdir stage2-gold; \
44739 mv stage2-gold gold ; \
44740 mv stage1-gold prev-gold || test -f stage1-lean
44741 @endif gold
44742 @if intl
44743 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
44744 mkdir stage2-intl; \
44745 mv stage2-intl intl ; \
44746 mv stage1-intl prev-intl || test -f stage1-lean
44747 @endif intl
44748 @if ld
44749 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
44750 mkdir stage2-ld; \
44751 mv stage2-ld ld ; \
44752 mv stage1-ld prev-ld || test -f stage1-lean
44753 @endif ld
44754 @if libbacktrace
44755 @cd $(HOST_SUBDIR); [ -d stage2-libbacktrace ] || \
44756 mkdir stage2-libbacktrace; \
44757 mv stage2-libbacktrace libbacktrace ; \
44758 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
44759 @endif libbacktrace
44760 @if libcpp
44761 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
44762 mkdir stage2-libcpp; \
44763 mv stage2-libcpp libcpp ; \
44764 mv stage1-libcpp prev-libcpp || test -f stage1-lean
44765 @endif libcpp
44766 @if libdecnumber
44767 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
44768 mkdir stage2-libdecnumber; \
44769 mv stage2-libdecnumber libdecnumber ; \
44770 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
44771 @endif libdecnumber
44772 @if libiberty
44773 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
44774 mkdir stage2-libiberty; \
44775 mv stage2-libiberty libiberty ; \
44776 mv stage1-libiberty prev-libiberty || test -f stage1-lean
44777 @endif libiberty
44778 @if zlib
44779 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
44780 mkdir stage2-zlib; \
44781 mv stage2-zlib zlib ; \
44782 mv stage1-zlib prev-zlib || test -f stage1-lean
44783 @endif zlib
44784 @if lto-plugin
44785 @cd $(HOST_SUBDIR); [ -d stage2-lto-plugin ] || \
44786 mkdir stage2-lto-plugin; \
44787 mv stage2-lto-plugin lto-plugin ; \
44788 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
44789 @endif lto-plugin
44790 @[ -d stage2-$(TARGET_SUBDIR) ] || \
44791 mkdir stage2-$(TARGET_SUBDIR); \
44792 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
44793 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
44795 stage2-end::
44796 @if bfd
44797 @if test -d $(HOST_SUBDIR)/bfd ; then \
44798 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
44799 mv prev-bfd stage1-bfd ; : ; \
44801 @endif bfd
44802 @if opcodes
44803 @if test -d $(HOST_SUBDIR)/opcodes ; then \
44804 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
44805 mv prev-opcodes stage1-opcodes ; : ; \
44807 @endif opcodes
44808 @if binutils
44809 @if test -d $(HOST_SUBDIR)/binutils ; then \
44810 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
44811 mv prev-binutils stage1-binutils ; : ; \
44813 @endif binutils
44814 @if gas
44815 @if test -d $(HOST_SUBDIR)/gas ; then \
44816 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
44817 mv prev-gas stage1-gas ; : ; \
44819 @endif gas
44820 @if gcc
44821 @if test -d $(HOST_SUBDIR)/gcc ; then \
44822 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
44823 mv prev-gcc stage1-gcc ; : ; \
44825 @endif gcc
44826 @if gmp
44827 @if test -d $(HOST_SUBDIR)/gmp ; then \
44828 cd $(HOST_SUBDIR); mv gmp stage2-gmp ; \
44829 mv prev-gmp stage1-gmp ; : ; \
44831 @endif gmp
44832 @if mpfr
44833 @if test -d $(HOST_SUBDIR)/mpfr ; then \
44834 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr ; \
44835 mv prev-mpfr stage1-mpfr ; : ; \
44837 @endif mpfr
44838 @if mpc
44839 @if test -d $(HOST_SUBDIR)/mpc ; then \
44840 cd $(HOST_SUBDIR); mv mpc stage2-mpc ; \
44841 mv prev-mpc stage1-mpc ; : ; \
44843 @endif mpc
44844 @if isl
44845 @if test -d $(HOST_SUBDIR)/isl ; then \
44846 cd $(HOST_SUBDIR); mv isl stage2-isl ; \
44847 mv prev-isl stage1-isl ; : ; \
44849 @endif isl
44850 @if cloog
44851 @if test -d $(HOST_SUBDIR)/cloog ; then \
44852 cd $(HOST_SUBDIR); mv cloog stage2-cloog ; \
44853 mv prev-cloog stage1-cloog ; : ; \
44855 @endif cloog
44856 @if libelf
44857 @if test -d $(HOST_SUBDIR)/libelf ; then \
44858 cd $(HOST_SUBDIR); mv libelf stage2-libelf ; \
44859 mv prev-libelf stage1-libelf ; : ; \
44861 @endif libelf
44862 @if gold
44863 @if test -d $(HOST_SUBDIR)/gold ; then \
44864 cd $(HOST_SUBDIR); mv gold stage2-gold ; \
44865 mv prev-gold stage1-gold ; : ; \
44867 @endif gold
44868 @if intl
44869 @if test -d $(HOST_SUBDIR)/intl ; then \
44870 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
44871 mv prev-intl stage1-intl ; : ; \
44873 @endif intl
44874 @if ld
44875 @if test -d $(HOST_SUBDIR)/ld ; then \
44876 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
44877 mv prev-ld stage1-ld ; : ; \
44879 @endif ld
44880 @if libbacktrace
44881 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
44882 cd $(HOST_SUBDIR); mv libbacktrace stage2-libbacktrace ; \
44883 mv prev-libbacktrace stage1-libbacktrace ; : ; \
44885 @endif libbacktrace
44886 @if libcpp
44887 @if test -d $(HOST_SUBDIR)/libcpp ; then \
44888 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
44889 mv prev-libcpp stage1-libcpp ; : ; \
44891 @endif libcpp
44892 @if libdecnumber
44893 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
44894 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
44895 mv prev-libdecnumber stage1-libdecnumber ; : ; \
44897 @endif libdecnumber
44898 @if libiberty
44899 @if test -d $(HOST_SUBDIR)/libiberty ; then \
44900 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
44901 mv prev-libiberty stage1-libiberty ; : ; \
44903 @endif libiberty
44904 @if zlib
44905 @if test -d $(HOST_SUBDIR)/zlib ; then \
44906 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
44907 mv prev-zlib stage1-zlib ; : ; \
44909 @endif zlib
44910 @if lto-plugin
44911 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
44912 cd $(HOST_SUBDIR); mv lto-plugin stage2-lto-plugin ; \
44913 mv prev-lto-plugin stage1-lto-plugin ; : ; \
44915 @endif lto-plugin
44916 @if test -d $(TARGET_SUBDIR) ; then \
44917 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
44918 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
44920 rm -f stage_current
44922 # Bubble a bug fix through all the stages up to stage 2. They are
44923 # remade, but not reconfigured. The next stage (if any) will not be
44924 # reconfigured either.
44925 .PHONY: stage2-bubble
44926 stage2-bubble:: stage1-bubble
44927 @r=`${PWD_COMMAND}`; export r; \
44928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44929 if test -f stage2-lean || test -f stage1-lean ; then \
44930 echo Skipping rebuild of stage2 ; \
44931 else \
44932 $(MAKE) stage2-start; \
44933 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
44936 .PHONY: all-stage2 clean-stage2
44937 do-clean: clean-stage2
44939 # FIXME: Will not need to be conditional when toplevel bootstrap is the
44940 # only possibility, but now it conflicts with no-bootstrap rules
44941 @if gcc-bootstrap
44945 .PHONY: bootstrap2 bootstrap2-lean
44946 bootstrap2:
44947 echo stage2 > stage_final
44948 @r=`${PWD_COMMAND}`; export r; \
44949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44950 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
44951 @: $(MAKE); $(unstage)
44952 @r=`${PWD_COMMAND}`; export r; \
44953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44954 TFLAGS="$(STAGE2_TFLAGS)"; \
44955 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
44957 bootstrap2-lean:
44958 echo stage2 > stage_final
44959 @r=`${PWD_COMMAND}`; export r; \
44960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44961 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
44962 @: $(MAKE); $(unstage)
44963 @r=`${PWD_COMMAND}`; export r; \
44964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44965 TFLAGS="$(STAGE2_TFLAGS)"; \
44966 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
44969 # Rules to wipe a stage and all the following ones, also used for cleanstrap
44970 distclean-stage1:: distclean-stage2
44971 .PHONY: distclean-stage2
44972 distclean-stage2::
44973 @: $(MAKE); $(stage)
44974 @test "`cat stage_last`" != stage2 || rm -f stage_last
44975 rm -rf stage2-*
44978 @endif gcc-bootstrap
44981 .PHONY: stage3-start stage3-end
44983 stage3-start::
44984 @: $(MAKE); $(stage); \
44985 echo stage3 > stage_current ; \
44986 echo stage3 > stage_last; \
44987 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
44988 @if bfd
44989 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
44990 mkdir stage3-bfd; \
44991 mv stage3-bfd bfd ; \
44992 mv stage2-bfd prev-bfd || test -f stage2-lean
44993 @endif bfd
44994 @if opcodes
44995 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
44996 mkdir stage3-opcodes; \
44997 mv stage3-opcodes opcodes ; \
44998 mv stage2-opcodes prev-opcodes || test -f stage2-lean
44999 @endif opcodes
45000 @if binutils
45001 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
45002 mkdir stage3-binutils; \
45003 mv stage3-binutils binutils ; \
45004 mv stage2-binutils prev-binutils || test -f stage2-lean
45005 @endif binutils
45006 @if gas
45007 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
45008 mkdir stage3-gas; \
45009 mv stage3-gas gas ; \
45010 mv stage2-gas prev-gas || test -f stage2-lean
45011 @endif gas
45012 @if gcc
45013 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
45014 mkdir stage3-gcc; \
45015 mv stage3-gcc gcc ; \
45016 mv stage2-gcc prev-gcc || test -f stage2-lean
45017 @endif gcc
45018 @if gmp
45019 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
45020 mkdir stage3-gmp; \
45021 mv stage3-gmp gmp ; \
45022 mv stage2-gmp prev-gmp || test -f stage2-lean
45023 @endif gmp
45024 @if mpfr
45025 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
45026 mkdir stage3-mpfr; \
45027 mv stage3-mpfr mpfr ; \
45028 mv stage2-mpfr prev-mpfr || test -f stage2-lean
45029 @endif mpfr
45030 @if mpc
45031 @cd $(HOST_SUBDIR); [ -d stage3-mpc ] || \
45032 mkdir stage3-mpc; \
45033 mv stage3-mpc mpc ; \
45034 mv stage2-mpc prev-mpc || test -f stage2-lean
45035 @endif mpc
45036 @if isl
45037 @cd $(HOST_SUBDIR); [ -d stage3-isl ] || \
45038 mkdir stage3-isl; \
45039 mv stage3-isl isl ; \
45040 mv stage2-isl prev-isl || test -f stage2-lean
45041 @endif isl
45042 @if cloog
45043 @cd $(HOST_SUBDIR); [ -d stage3-cloog ] || \
45044 mkdir stage3-cloog; \
45045 mv stage3-cloog cloog ; \
45046 mv stage2-cloog prev-cloog || test -f stage2-lean
45047 @endif cloog
45048 @if libelf
45049 @cd $(HOST_SUBDIR); [ -d stage3-libelf ] || \
45050 mkdir stage3-libelf; \
45051 mv stage3-libelf libelf ; \
45052 mv stage2-libelf prev-libelf || test -f stage2-lean
45053 @endif libelf
45054 @if gold
45055 @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \
45056 mkdir stage3-gold; \
45057 mv stage3-gold gold ; \
45058 mv stage2-gold prev-gold || test -f stage2-lean
45059 @endif gold
45060 @if intl
45061 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
45062 mkdir stage3-intl; \
45063 mv stage3-intl intl ; \
45064 mv stage2-intl prev-intl || test -f stage2-lean
45065 @endif intl
45066 @if ld
45067 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
45068 mkdir stage3-ld; \
45069 mv stage3-ld ld ; \
45070 mv stage2-ld prev-ld || test -f stage2-lean
45071 @endif ld
45072 @if libbacktrace
45073 @cd $(HOST_SUBDIR); [ -d stage3-libbacktrace ] || \
45074 mkdir stage3-libbacktrace; \
45075 mv stage3-libbacktrace libbacktrace ; \
45076 mv stage2-libbacktrace prev-libbacktrace || test -f stage2-lean
45077 @endif libbacktrace
45078 @if libcpp
45079 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
45080 mkdir stage3-libcpp; \
45081 mv stage3-libcpp libcpp ; \
45082 mv stage2-libcpp prev-libcpp || test -f stage2-lean
45083 @endif libcpp
45084 @if libdecnumber
45085 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
45086 mkdir stage3-libdecnumber; \
45087 mv stage3-libdecnumber libdecnumber ; \
45088 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
45089 @endif libdecnumber
45090 @if libiberty
45091 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
45092 mkdir stage3-libiberty; \
45093 mv stage3-libiberty libiberty ; \
45094 mv stage2-libiberty prev-libiberty || test -f stage2-lean
45095 @endif libiberty
45096 @if zlib
45097 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
45098 mkdir stage3-zlib; \
45099 mv stage3-zlib zlib ; \
45100 mv stage2-zlib prev-zlib || test -f stage2-lean
45101 @endif zlib
45102 @if lto-plugin
45103 @cd $(HOST_SUBDIR); [ -d stage3-lto-plugin ] || \
45104 mkdir stage3-lto-plugin; \
45105 mv stage3-lto-plugin lto-plugin ; \
45106 mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean
45107 @endif lto-plugin
45108 @[ -d stage3-$(TARGET_SUBDIR) ] || \
45109 mkdir stage3-$(TARGET_SUBDIR); \
45110 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
45111 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
45113 stage3-end::
45114 @if bfd
45115 @if test -d $(HOST_SUBDIR)/bfd ; then \
45116 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
45117 mv prev-bfd stage2-bfd ; : ; \
45119 @endif bfd
45120 @if opcodes
45121 @if test -d $(HOST_SUBDIR)/opcodes ; then \
45122 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
45123 mv prev-opcodes stage2-opcodes ; : ; \
45125 @endif opcodes
45126 @if binutils
45127 @if test -d $(HOST_SUBDIR)/binutils ; then \
45128 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
45129 mv prev-binutils stage2-binutils ; : ; \
45131 @endif binutils
45132 @if gas
45133 @if test -d $(HOST_SUBDIR)/gas ; then \
45134 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
45135 mv prev-gas stage2-gas ; : ; \
45137 @endif gas
45138 @if gcc
45139 @if test -d $(HOST_SUBDIR)/gcc ; then \
45140 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
45141 mv prev-gcc stage2-gcc ; : ; \
45143 @endif gcc
45144 @if gmp
45145 @if test -d $(HOST_SUBDIR)/gmp ; then \
45146 cd $(HOST_SUBDIR); mv gmp stage3-gmp ; \
45147 mv prev-gmp stage2-gmp ; : ; \
45149 @endif gmp
45150 @if mpfr
45151 @if test -d $(HOST_SUBDIR)/mpfr ; then \
45152 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr ; \
45153 mv prev-mpfr stage2-mpfr ; : ; \
45155 @endif mpfr
45156 @if mpc
45157 @if test -d $(HOST_SUBDIR)/mpc ; then \
45158 cd $(HOST_SUBDIR); mv mpc stage3-mpc ; \
45159 mv prev-mpc stage2-mpc ; : ; \
45161 @endif mpc
45162 @if isl
45163 @if test -d $(HOST_SUBDIR)/isl ; then \
45164 cd $(HOST_SUBDIR); mv isl stage3-isl ; \
45165 mv prev-isl stage2-isl ; : ; \
45167 @endif isl
45168 @if cloog
45169 @if test -d $(HOST_SUBDIR)/cloog ; then \
45170 cd $(HOST_SUBDIR); mv cloog stage3-cloog ; \
45171 mv prev-cloog stage2-cloog ; : ; \
45173 @endif cloog
45174 @if libelf
45175 @if test -d $(HOST_SUBDIR)/libelf ; then \
45176 cd $(HOST_SUBDIR); mv libelf stage3-libelf ; \
45177 mv prev-libelf stage2-libelf ; : ; \
45179 @endif libelf
45180 @if gold
45181 @if test -d $(HOST_SUBDIR)/gold ; then \
45182 cd $(HOST_SUBDIR); mv gold stage3-gold ; \
45183 mv prev-gold stage2-gold ; : ; \
45185 @endif gold
45186 @if intl
45187 @if test -d $(HOST_SUBDIR)/intl ; then \
45188 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
45189 mv prev-intl stage2-intl ; : ; \
45191 @endif intl
45192 @if ld
45193 @if test -d $(HOST_SUBDIR)/ld ; then \
45194 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
45195 mv prev-ld stage2-ld ; : ; \
45197 @endif ld
45198 @if libbacktrace
45199 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
45200 cd $(HOST_SUBDIR); mv libbacktrace stage3-libbacktrace ; \
45201 mv prev-libbacktrace stage2-libbacktrace ; : ; \
45203 @endif libbacktrace
45204 @if libcpp
45205 @if test -d $(HOST_SUBDIR)/libcpp ; then \
45206 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
45207 mv prev-libcpp stage2-libcpp ; : ; \
45209 @endif libcpp
45210 @if libdecnumber
45211 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
45212 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
45213 mv prev-libdecnumber stage2-libdecnumber ; : ; \
45215 @endif libdecnumber
45216 @if libiberty
45217 @if test -d $(HOST_SUBDIR)/libiberty ; then \
45218 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
45219 mv prev-libiberty stage2-libiberty ; : ; \
45221 @endif libiberty
45222 @if zlib
45223 @if test -d $(HOST_SUBDIR)/zlib ; then \
45224 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
45225 mv prev-zlib stage2-zlib ; : ; \
45227 @endif zlib
45228 @if lto-plugin
45229 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
45230 cd $(HOST_SUBDIR); mv lto-plugin stage3-lto-plugin ; \
45231 mv prev-lto-plugin stage2-lto-plugin ; : ; \
45233 @endif lto-plugin
45234 @if test -d $(TARGET_SUBDIR) ; then \
45235 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
45236 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
45238 rm -f stage_current
45240 # Bubble a bug fix through all the stages up to stage 3. They are
45241 # remade, but not reconfigured. The next stage (if any) will not be
45242 # reconfigured either.
45243 .PHONY: stage3-bubble
45244 stage3-bubble:: stage2-bubble
45245 @r=`${PWD_COMMAND}`; export r; \
45246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45247 if test -f stage3-lean || test -f stage2-lean ; then \
45248 echo Skipping rebuild of stage3 ; \
45249 else \
45250 $(MAKE) stage3-start; \
45251 if $(LEAN); then \
45252 rm -rf stage1-* ; \
45253 $(STAMP) stage1-lean ; \
45254 fi; \
45255 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
45257 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
45259 .PHONY: all-stage3 clean-stage3
45260 do-clean: clean-stage3
45262 # FIXME: Will not need to be conditional when toplevel bootstrap is the
45263 # only possibility, but now it conflicts with no-bootstrap rules
45264 @if gcc-bootstrap
45266 compare:
45267 @r=`${PWD_COMMAND}`; export r; \
45268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45269 if test -f stage2-lean; then \
45270 echo Cannot compare object files as stage 2 was deleted. ; \
45271 exit 0 ; \
45272 fi; \
45273 : $(MAKE); $(stage); \
45274 rm -f .bad_compare ; \
45275 echo Comparing stages 2 and 3 ; \
45276 sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \
45277 files=`find stage3-* -name "*$(objext)" -print | \
45278 sed -n s,^stage$$sed-,,p` ; \
45279 for file in $${files} ; do \
45280 f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \
45281 if test ! -f $$f1; then continue; fi; \
45282 $(do-compare) > /dev/null 2>&1; \
45283 if test $$? -eq 1; then \
45284 case $$file in \
45285 @compare_exclusions@) \
45286 echo warning: $$file differs ;; \
45287 *) \
45288 echo $$file differs >> .bad_compare ;; \
45289 esac ; \
45290 fi ; \
45291 done ; \
45292 if [ -f .bad_compare ]; then \
45293 echo "Bootstrap comparison failure!"; \
45294 cat .bad_compare; \
45295 exit 1; \
45296 else \
45297 echo Comparison successful.; \
45298 fi ; \
45299 $(STAMP) compare
45300 if $(LEAN); then \
45301 rm -rf stage2-*; \
45302 $(STAMP) stage2-lean; \
45307 .PHONY: bootstrap bootstrap-lean
45308 bootstrap:
45309 echo stage3 > stage_final
45310 @r=`${PWD_COMMAND}`; export r; \
45311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45312 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
45313 @: $(MAKE); $(unstage)
45314 @r=`${PWD_COMMAND}`; export r; \
45315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45316 TFLAGS="$(STAGE3_TFLAGS)"; \
45317 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
45319 bootstrap-lean:
45320 echo stage3 > stage_final
45321 @r=`${PWD_COMMAND}`; export r; \
45322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45323 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
45324 @: $(MAKE); $(unstage)
45325 @r=`${PWD_COMMAND}`; export r; \
45326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45327 TFLAGS="$(STAGE3_TFLAGS)"; \
45328 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
45331 # Rules to wipe a stage and all the following ones, also used for cleanstrap
45332 distclean-stage2:: distclean-stage3
45333 .PHONY: distclean-stage3
45334 distclean-stage3::
45335 @: $(MAKE); $(stage)
45336 @test "`cat stage_last`" != stage3 || rm -f stage_last
45337 rm -rf stage3-* compare
45340 .PHONY: cleanstrap
45341 cleanstrap: do-distclean local-clean
45342 echo stage3 > stage_final
45343 @r=`${PWD_COMMAND}`; export r; \
45344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45345 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
45346 @: $(MAKE); $(unstage)
45347 @r=`${PWD_COMMAND}`; export r; \
45348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45349 TFLAGS="$(STAGE3_TFLAGS)"; \
45350 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
45352 @endif gcc-bootstrap
45355 .PHONY: stage4-start stage4-end
45357 stage4-start::
45358 @: $(MAKE); $(stage); \
45359 echo stage4 > stage_current ; \
45360 echo stage4 > stage_last; \
45361 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
45362 @if bfd
45363 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
45364 mkdir stage4-bfd; \
45365 mv stage4-bfd bfd ; \
45366 mv stage3-bfd prev-bfd || test -f stage3-lean
45367 @endif bfd
45368 @if opcodes
45369 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
45370 mkdir stage4-opcodes; \
45371 mv stage4-opcodes opcodes ; \
45372 mv stage3-opcodes prev-opcodes || test -f stage3-lean
45373 @endif opcodes
45374 @if binutils
45375 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
45376 mkdir stage4-binutils; \
45377 mv stage4-binutils binutils ; \
45378 mv stage3-binutils prev-binutils || test -f stage3-lean
45379 @endif binutils
45380 @if gas
45381 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
45382 mkdir stage4-gas; \
45383 mv stage4-gas gas ; \
45384 mv stage3-gas prev-gas || test -f stage3-lean
45385 @endif gas
45386 @if gcc
45387 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
45388 mkdir stage4-gcc; \
45389 mv stage4-gcc gcc ; \
45390 mv stage3-gcc prev-gcc || test -f stage3-lean
45391 @endif gcc
45392 @if gmp
45393 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
45394 mkdir stage4-gmp; \
45395 mv stage4-gmp gmp ; \
45396 mv stage3-gmp prev-gmp || test -f stage3-lean
45397 @endif gmp
45398 @if mpfr
45399 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
45400 mkdir stage4-mpfr; \
45401 mv stage4-mpfr mpfr ; \
45402 mv stage3-mpfr prev-mpfr || test -f stage3-lean
45403 @endif mpfr
45404 @if mpc
45405 @cd $(HOST_SUBDIR); [ -d stage4-mpc ] || \
45406 mkdir stage4-mpc; \
45407 mv stage4-mpc mpc ; \
45408 mv stage3-mpc prev-mpc || test -f stage3-lean
45409 @endif mpc
45410 @if isl
45411 @cd $(HOST_SUBDIR); [ -d stage4-isl ] || \
45412 mkdir stage4-isl; \
45413 mv stage4-isl isl ; \
45414 mv stage3-isl prev-isl || test -f stage3-lean
45415 @endif isl
45416 @if cloog
45417 @cd $(HOST_SUBDIR); [ -d stage4-cloog ] || \
45418 mkdir stage4-cloog; \
45419 mv stage4-cloog cloog ; \
45420 mv stage3-cloog prev-cloog || test -f stage3-lean
45421 @endif cloog
45422 @if libelf
45423 @cd $(HOST_SUBDIR); [ -d stage4-libelf ] || \
45424 mkdir stage4-libelf; \
45425 mv stage4-libelf libelf ; \
45426 mv stage3-libelf prev-libelf || test -f stage3-lean
45427 @endif libelf
45428 @if gold
45429 @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \
45430 mkdir stage4-gold; \
45431 mv stage4-gold gold ; \
45432 mv stage3-gold prev-gold || test -f stage3-lean
45433 @endif gold
45434 @if intl
45435 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
45436 mkdir stage4-intl; \
45437 mv stage4-intl intl ; \
45438 mv stage3-intl prev-intl || test -f stage3-lean
45439 @endif intl
45440 @if ld
45441 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
45442 mkdir stage4-ld; \
45443 mv stage4-ld ld ; \
45444 mv stage3-ld prev-ld || test -f stage3-lean
45445 @endif ld
45446 @if libbacktrace
45447 @cd $(HOST_SUBDIR); [ -d stage4-libbacktrace ] || \
45448 mkdir stage4-libbacktrace; \
45449 mv stage4-libbacktrace libbacktrace ; \
45450 mv stage3-libbacktrace prev-libbacktrace || test -f stage3-lean
45451 @endif libbacktrace
45452 @if libcpp
45453 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
45454 mkdir stage4-libcpp; \
45455 mv stage4-libcpp libcpp ; \
45456 mv stage3-libcpp prev-libcpp || test -f stage3-lean
45457 @endif libcpp
45458 @if libdecnumber
45459 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
45460 mkdir stage4-libdecnumber; \
45461 mv stage4-libdecnumber libdecnumber ; \
45462 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
45463 @endif libdecnumber
45464 @if libiberty
45465 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
45466 mkdir stage4-libiberty; \
45467 mv stage4-libiberty libiberty ; \
45468 mv stage3-libiberty prev-libiberty || test -f stage3-lean
45469 @endif libiberty
45470 @if zlib
45471 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
45472 mkdir stage4-zlib; \
45473 mv stage4-zlib zlib ; \
45474 mv stage3-zlib prev-zlib || test -f stage3-lean
45475 @endif zlib
45476 @if lto-plugin
45477 @cd $(HOST_SUBDIR); [ -d stage4-lto-plugin ] || \
45478 mkdir stage4-lto-plugin; \
45479 mv stage4-lto-plugin lto-plugin ; \
45480 mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean
45481 @endif lto-plugin
45482 @[ -d stage4-$(TARGET_SUBDIR) ] || \
45483 mkdir stage4-$(TARGET_SUBDIR); \
45484 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
45485 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
45487 stage4-end::
45488 @if bfd
45489 @if test -d $(HOST_SUBDIR)/bfd ; then \
45490 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
45491 mv prev-bfd stage3-bfd ; : ; \
45493 @endif bfd
45494 @if opcodes
45495 @if test -d $(HOST_SUBDIR)/opcodes ; then \
45496 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
45497 mv prev-opcodes stage3-opcodes ; : ; \
45499 @endif opcodes
45500 @if binutils
45501 @if test -d $(HOST_SUBDIR)/binutils ; then \
45502 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
45503 mv prev-binutils stage3-binutils ; : ; \
45505 @endif binutils
45506 @if gas
45507 @if test -d $(HOST_SUBDIR)/gas ; then \
45508 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
45509 mv prev-gas stage3-gas ; : ; \
45511 @endif gas
45512 @if gcc
45513 @if test -d $(HOST_SUBDIR)/gcc ; then \
45514 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
45515 mv prev-gcc stage3-gcc ; : ; \
45517 @endif gcc
45518 @if gmp
45519 @if test -d $(HOST_SUBDIR)/gmp ; then \
45520 cd $(HOST_SUBDIR); mv gmp stage4-gmp ; \
45521 mv prev-gmp stage3-gmp ; : ; \
45523 @endif gmp
45524 @if mpfr
45525 @if test -d $(HOST_SUBDIR)/mpfr ; then \
45526 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr ; \
45527 mv prev-mpfr stage3-mpfr ; : ; \
45529 @endif mpfr
45530 @if mpc
45531 @if test -d $(HOST_SUBDIR)/mpc ; then \
45532 cd $(HOST_SUBDIR); mv mpc stage4-mpc ; \
45533 mv prev-mpc stage3-mpc ; : ; \
45535 @endif mpc
45536 @if isl
45537 @if test -d $(HOST_SUBDIR)/isl ; then \
45538 cd $(HOST_SUBDIR); mv isl stage4-isl ; \
45539 mv prev-isl stage3-isl ; : ; \
45541 @endif isl
45542 @if cloog
45543 @if test -d $(HOST_SUBDIR)/cloog ; then \
45544 cd $(HOST_SUBDIR); mv cloog stage4-cloog ; \
45545 mv prev-cloog stage3-cloog ; : ; \
45547 @endif cloog
45548 @if libelf
45549 @if test -d $(HOST_SUBDIR)/libelf ; then \
45550 cd $(HOST_SUBDIR); mv libelf stage4-libelf ; \
45551 mv prev-libelf stage3-libelf ; : ; \
45553 @endif libelf
45554 @if gold
45555 @if test -d $(HOST_SUBDIR)/gold ; then \
45556 cd $(HOST_SUBDIR); mv gold stage4-gold ; \
45557 mv prev-gold stage3-gold ; : ; \
45559 @endif gold
45560 @if intl
45561 @if test -d $(HOST_SUBDIR)/intl ; then \
45562 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
45563 mv prev-intl stage3-intl ; : ; \
45565 @endif intl
45566 @if ld
45567 @if test -d $(HOST_SUBDIR)/ld ; then \
45568 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
45569 mv prev-ld stage3-ld ; : ; \
45571 @endif ld
45572 @if libbacktrace
45573 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
45574 cd $(HOST_SUBDIR); mv libbacktrace stage4-libbacktrace ; \
45575 mv prev-libbacktrace stage3-libbacktrace ; : ; \
45577 @endif libbacktrace
45578 @if libcpp
45579 @if test -d $(HOST_SUBDIR)/libcpp ; then \
45580 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
45581 mv prev-libcpp stage3-libcpp ; : ; \
45583 @endif libcpp
45584 @if libdecnumber
45585 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
45586 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
45587 mv prev-libdecnumber stage3-libdecnumber ; : ; \
45589 @endif libdecnumber
45590 @if libiberty
45591 @if test -d $(HOST_SUBDIR)/libiberty ; then \
45592 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
45593 mv prev-libiberty stage3-libiberty ; : ; \
45595 @endif libiberty
45596 @if zlib
45597 @if test -d $(HOST_SUBDIR)/zlib ; then \
45598 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
45599 mv prev-zlib stage3-zlib ; : ; \
45601 @endif zlib
45602 @if lto-plugin
45603 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
45604 cd $(HOST_SUBDIR); mv lto-plugin stage4-lto-plugin ; \
45605 mv prev-lto-plugin stage3-lto-plugin ; : ; \
45607 @endif lto-plugin
45608 @if test -d $(TARGET_SUBDIR) ; then \
45609 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
45610 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
45612 rm -f stage_current
45614 # Bubble a bug fix through all the stages up to stage 4. They are
45615 # remade, but not reconfigured. The next stage (if any) will not be
45616 # reconfigured either.
45617 .PHONY: stage4-bubble
45618 stage4-bubble:: stage3-bubble
45619 @r=`${PWD_COMMAND}`; export r; \
45620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45621 if test -f stage4-lean || test -f stage3-lean ; then \
45622 echo Skipping rebuild of stage4 ; \
45623 else \
45624 $(MAKE) stage4-start; \
45625 if $(LEAN); then \
45626 rm -rf stage2-* ; \
45627 $(STAMP) stage2-lean ; \
45628 fi; \
45629 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
45631 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
45633 .PHONY: all-stage4 clean-stage4
45634 do-clean: clean-stage4
45636 # FIXME: Will not need to be conditional when toplevel bootstrap is the
45637 # only possibility, but now it conflicts with no-bootstrap rules
45638 @if gcc-bootstrap
45640 compare3:
45641 @r=`${PWD_COMMAND}`; export r; \
45642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45643 if test -f stage3-lean; then \
45644 echo Cannot compare object files as stage 3 was deleted. ; \
45645 exit 0 ; \
45646 fi; \
45647 : $(MAKE); $(stage); \
45648 rm -f .bad_compare ; \
45649 echo Comparing stages 3 and 4 ; \
45650 sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \
45651 files=`find stage4-* -name "*$(objext)" -print | \
45652 sed -n s,^stage$$sed-,,p` ; \
45653 for file in $${files} ; do \
45654 f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \
45655 if test ! -f $$f1; then continue; fi; \
45656 $(do-compare3) > /dev/null 2>&1; \
45657 if test $$? -eq 1; then \
45658 case $$file in \
45659 @compare_exclusions@) \
45660 echo warning: $$file differs ;; \
45661 *) \
45662 echo $$file differs >> .bad_compare ;; \
45663 esac ; \
45664 fi ; \
45665 done ; \
45666 if [ -f .bad_compare ]; then \
45667 echo "Bootstrap comparison failure!"; \
45668 cat .bad_compare; \
45669 exit 1; \
45670 else \
45671 echo Comparison successful.; \
45672 fi ; \
45673 $(STAMP) compare3
45674 if $(LEAN); then \
45675 rm -rf stage3-*; \
45676 $(STAMP) stage3-lean; \
45681 .PHONY: bootstrap4 bootstrap4-lean
45682 bootstrap4:
45683 echo stage4 > stage_final
45684 @r=`${PWD_COMMAND}`; export r; \
45685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45686 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
45687 @: $(MAKE); $(unstage)
45688 @r=`${PWD_COMMAND}`; export r; \
45689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45690 TFLAGS="$(STAGE4_TFLAGS)"; \
45691 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
45693 bootstrap4-lean:
45694 echo stage4 > stage_final
45695 @r=`${PWD_COMMAND}`; export r; \
45696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45697 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
45698 @: $(MAKE); $(unstage)
45699 @r=`${PWD_COMMAND}`; export r; \
45700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45701 TFLAGS="$(STAGE4_TFLAGS)"; \
45702 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
45705 # Rules to wipe a stage and all the following ones, also used for cleanstrap
45706 distclean-stage3:: distclean-stage4
45707 .PHONY: distclean-stage4
45708 distclean-stage4::
45709 @: $(MAKE); $(stage)
45710 @test "`cat stage_last`" != stage4 || rm -f stage_last
45711 rm -rf stage4-* compare3
45714 @endif gcc-bootstrap
45717 .PHONY: stageprofile-start stageprofile-end
45719 stageprofile-start::
45720 @: $(MAKE); $(stage); \
45721 echo stageprofile > stage_current ; \
45722 echo stageprofile > stage_last; \
45723 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
45724 @if bfd
45725 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
45726 mkdir stageprofile-bfd; \
45727 mv stageprofile-bfd bfd ; \
45728 mv stage1-bfd prev-bfd || test -f stage1-lean
45729 @endif bfd
45730 @if opcodes
45731 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
45732 mkdir stageprofile-opcodes; \
45733 mv stageprofile-opcodes opcodes ; \
45734 mv stage1-opcodes prev-opcodes || test -f stage1-lean
45735 @endif opcodes
45736 @if binutils
45737 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
45738 mkdir stageprofile-binutils; \
45739 mv stageprofile-binutils binutils ; \
45740 mv stage1-binutils prev-binutils || test -f stage1-lean
45741 @endif binutils
45742 @if gas
45743 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
45744 mkdir stageprofile-gas; \
45745 mv stageprofile-gas gas ; \
45746 mv stage1-gas prev-gas || test -f stage1-lean
45747 @endif gas
45748 @if gcc
45749 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
45750 mkdir stageprofile-gcc; \
45751 mv stageprofile-gcc gcc ; \
45752 mv stage1-gcc prev-gcc || test -f stage1-lean
45753 @endif gcc
45754 @if gmp
45755 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
45756 mkdir stageprofile-gmp; \
45757 mv stageprofile-gmp gmp ; \
45758 mv stage1-gmp prev-gmp || test -f stage1-lean
45759 @endif gmp
45760 @if mpfr
45761 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
45762 mkdir stageprofile-mpfr; \
45763 mv stageprofile-mpfr mpfr ; \
45764 mv stage1-mpfr prev-mpfr || test -f stage1-lean
45765 @endif mpfr
45766 @if mpc
45767 @cd $(HOST_SUBDIR); [ -d stageprofile-mpc ] || \
45768 mkdir stageprofile-mpc; \
45769 mv stageprofile-mpc mpc ; \
45770 mv stage1-mpc prev-mpc || test -f stage1-lean
45771 @endif mpc
45772 @if isl
45773 @cd $(HOST_SUBDIR); [ -d stageprofile-isl ] || \
45774 mkdir stageprofile-isl; \
45775 mv stageprofile-isl isl ; \
45776 mv stage1-isl prev-isl || test -f stage1-lean
45777 @endif isl
45778 @if cloog
45779 @cd $(HOST_SUBDIR); [ -d stageprofile-cloog ] || \
45780 mkdir stageprofile-cloog; \
45781 mv stageprofile-cloog cloog ; \
45782 mv stage1-cloog prev-cloog || test -f stage1-lean
45783 @endif cloog
45784 @if libelf
45785 @cd $(HOST_SUBDIR); [ -d stageprofile-libelf ] || \
45786 mkdir stageprofile-libelf; \
45787 mv stageprofile-libelf libelf ; \
45788 mv stage1-libelf prev-libelf || test -f stage1-lean
45789 @endif libelf
45790 @if gold
45791 @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \
45792 mkdir stageprofile-gold; \
45793 mv stageprofile-gold gold ; \
45794 mv stage1-gold prev-gold || test -f stage1-lean
45795 @endif gold
45796 @if intl
45797 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
45798 mkdir stageprofile-intl; \
45799 mv stageprofile-intl intl ; \
45800 mv stage1-intl prev-intl || test -f stage1-lean
45801 @endif intl
45802 @if ld
45803 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
45804 mkdir stageprofile-ld; \
45805 mv stageprofile-ld ld ; \
45806 mv stage1-ld prev-ld || test -f stage1-lean
45807 @endif ld
45808 @if libbacktrace
45809 @cd $(HOST_SUBDIR); [ -d stageprofile-libbacktrace ] || \
45810 mkdir stageprofile-libbacktrace; \
45811 mv stageprofile-libbacktrace libbacktrace ; \
45812 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
45813 @endif libbacktrace
45814 @if libcpp
45815 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
45816 mkdir stageprofile-libcpp; \
45817 mv stageprofile-libcpp libcpp ; \
45818 mv stage1-libcpp prev-libcpp || test -f stage1-lean
45819 @endif libcpp
45820 @if libdecnumber
45821 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
45822 mkdir stageprofile-libdecnumber; \
45823 mv stageprofile-libdecnumber libdecnumber ; \
45824 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
45825 @endif libdecnumber
45826 @if libiberty
45827 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
45828 mkdir stageprofile-libiberty; \
45829 mv stageprofile-libiberty libiberty ; \
45830 mv stage1-libiberty prev-libiberty || test -f stage1-lean
45831 @endif libiberty
45832 @if zlib
45833 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
45834 mkdir stageprofile-zlib; \
45835 mv stageprofile-zlib zlib ; \
45836 mv stage1-zlib prev-zlib || test -f stage1-lean
45837 @endif zlib
45838 @if lto-plugin
45839 @cd $(HOST_SUBDIR); [ -d stageprofile-lto-plugin ] || \
45840 mkdir stageprofile-lto-plugin; \
45841 mv stageprofile-lto-plugin lto-plugin ; \
45842 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
45843 @endif lto-plugin
45844 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
45845 mkdir stageprofile-$(TARGET_SUBDIR); \
45846 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
45847 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
45849 stageprofile-end::
45850 @if bfd
45851 @if test -d $(HOST_SUBDIR)/bfd ; then \
45852 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
45853 mv prev-bfd stage1-bfd ; : ; \
45855 @endif bfd
45856 @if opcodes
45857 @if test -d $(HOST_SUBDIR)/opcodes ; then \
45858 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
45859 mv prev-opcodes stage1-opcodes ; : ; \
45861 @endif opcodes
45862 @if binutils
45863 @if test -d $(HOST_SUBDIR)/binutils ; then \
45864 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
45865 mv prev-binutils stage1-binutils ; : ; \
45867 @endif binutils
45868 @if gas
45869 @if test -d $(HOST_SUBDIR)/gas ; then \
45870 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
45871 mv prev-gas stage1-gas ; : ; \
45873 @endif gas
45874 @if gcc
45875 @if test -d $(HOST_SUBDIR)/gcc ; then \
45876 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
45877 mv prev-gcc stage1-gcc ; : ; \
45879 @endif gcc
45880 @if gmp
45881 @if test -d $(HOST_SUBDIR)/gmp ; then \
45882 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp ; \
45883 mv prev-gmp stage1-gmp ; : ; \
45885 @endif gmp
45886 @if mpfr
45887 @if test -d $(HOST_SUBDIR)/mpfr ; then \
45888 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr ; \
45889 mv prev-mpfr stage1-mpfr ; : ; \
45891 @endif mpfr
45892 @if mpc
45893 @if test -d $(HOST_SUBDIR)/mpc ; then \
45894 cd $(HOST_SUBDIR); mv mpc stageprofile-mpc ; \
45895 mv prev-mpc stage1-mpc ; : ; \
45897 @endif mpc
45898 @if isl
45899 @if test -d $(HOST_SUBDIR)/isl ; then \
45900 cd $(HOST_SUBDIR); mv isl stageprofile-isl ; \
45901 mv prev-isl stage1-isl ; : ; \
45903 @endif isl
45904 @if cloog
45905 @if test -d $(HOST_SUBDIR)/cloog ; then \
45906 cd $(HOST_SUBDIR); mv cloog stageprofile-cloog ; \
45907 mv prev-cloog stage1-cloog ; : ; \
45909 @endif cloog
45910 @if libelf
45911 @if test -d $(HOST_SUBDIR)/libelf ; then \
45912 cd $(HOST_SUBDIR); mv libelf stageprofile-libelf ; \
45913 mv prev-libelf stage1-libelf ; : ; \
45915 @endif libelf
45916 @if gold
45917 @if test -d $(HOST_SUBDIR)/gold ; then \
45918 cd $(HOST_SUBDIR); mv gold stageprofile-gold ; \
45919 mv prev-gold stage1-gold ; : ; \
45921 @endif gold
45922 @if intl
45923 @if test -d $(HOST_SUBDIR)/intl ; then \
45924 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
45925 mv prev-intl stage1-intl ; : ; \
45927 @endif intl
45928 @if ld
45929 @if test -d $(HOST_SUBDIR)/ld ; then \
45930 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
45931 mv prev-ld stage1-ld ; : ; \
45933 @endif ld
45934 @if libbacktrace
45935 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
45936 cd $(HOST_SUBDIR); mv libbacktrace stageprofile-libbacktrace ; \
45937 mv prev-libbacktrace stage1-libbacktrace ; : ; \
45939 @endif libbacktrace
45940 @if libcpp
45941 @if test -d $(HOST_SUBDIR)/libcpp ; then \
45942 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
45943 mv prev-libcpp stage1-libcpp ; : ; \
45945 @endif libcpp
45946 @if libdecnumber
45947 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
45948 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
45949 mv prev-libdecnumber stage1-libdecnumber ; : ; \
45951 @endif libdecnumber
45952 @if libiberty
45953 @if test -d $(HOST_SUBDIR)/libiberty ; then \
45954 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
45955 mv prev-libiberty stage1-libiberty ; : ; \
45957 @endif libiberty
45958 @if zlib
45959 @if test -d $(HOST_SUBDIR)/zlib ; then \
45960 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
45961 mv prev-zlib stage1-zlib ; : ; \
45963 @endif zlib
45964 @if lto-plugin
45965 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
45966 cd $(HOST_SUBDIR); mv lto-plugin stageprofile-lto-plugin ; \
45967 mv prev-lto-plugin stage1-lto-plugin ; : ; \
45969 @endif lto-plugin
45970 @if test -d $(TARGET_SUBDIR) ; then \
45971 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
45972 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
45974 rm -f stage_current
45976 # Bubble a bug fix through all the stages up to stage profile. They are
45977 # remade, but not reconfigured. The next stage (if any) will not be
45978 # reconfigured either.
45979 .PHONY: stageprofile-bubble
45980 stageprofile-bubble:: stage1-bubble
45981 @r=`${PWD_COMMAND}`; export r; \
45982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45983 if test -f stageprofile-lean || test -f stage1-lean ; then \
45984 echo Skipping rebuild of stageprofile ; \
45985 else \
45986 $(MAKE) stageprofile-start; \
45987 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
45990 .PHONY: all-stageprofile clean-stageprofile
45991 do-clean: clean-stageprofile
45993 # FIXME: Will not need to be conditional when toplevel bootstrap is the
45994 # only possibility, but now it conflicts with no-bootstrap rules
45995 @if gcc-bootstrap
46000 # Rules to wipe a stage and all the following ones, also used for cleanstrap
46001 distclean-stage1:: distclean-stageprofile
46002 .PHONY: distclean-stageprofile
46003 distclean-stageprofile::
46004 @: $(MAKE); $(stage)
46005 @test "`cat stage_last`" != stageprofile || rm -f stage_last
46006 rm -rf stageprofile-*
46009 @endif gcc-bootstrap
46012 .PHONY: stagefeedback-start stagefeedback-end
46014 stagefeedback-start::
46015 @: $(MAKE); $(stage); \
46016 echo stagefeedback > stage_current ; \
46017 echo stagefeedback > stage_last; \
46018 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
46019 @if bfd
46020 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
46021 mkdir stagefeedback-bfd; \
46022 mv stagefeedback-bfd bfd ; \
46023 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
46024 @endif bfd
46025 @if opcodes
46026 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
46027 mkdir stagefeedback-opcodes; \
46028 mv stagefeedback-opcodes opcodes ; \
46029 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
46030 @endif opcodes
46031 @if binutils
46032 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
46033 mkdir stagefeedback-binutils; \
46034 mv stagefeedback-binutils binutils ; \
46035 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
46036 @endif binutils
46037 @if gas
46038 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
46039 mkdir stagefeedback-gas; \
46040 mv stagefeedback-gas gas ; \
46041 mv stageprofile-gas prev-gas || test -f stageprofile-lean
46042 @endif gas
46043 @if gcc
46044 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
46045 mkdir stagefeedback-gcc; \
46046 mv stagefeedback-gcc gcc ; \
46047 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
46048 @endif gcc
46049 @if gmp
46050 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
46051 mkdir stagefeedback-gmp; \
46052 mv stagefeedback-gmp gmp ; \
46053 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
46054 @endif gmp
46055 @if mpfr
46056 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
46057 mkdir stagefeedback-mpfr; \
46058 mv stagefeedback-mpfr mpfr ; \
46059 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
46060 @endif mpfr
46061 @if mpc
46062 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpc ] || \
46063 mkdir stagefeedback-mpc; \
46064 mv stagefeedback-mpc mpc ; \
46065 mv stageprofile-mpc prev-mpc || test -f stageprofile-lean
46066 @endif mpc
46067 @if isl
46068 @cd $(HOST_SUBDIR); [ -d stagefeedback-isl ] || \
46069 mkdir stagefeedback-isl; \
46070 mv stagefeedback-isl isl ; \
46071 mv stageprofile-isl prev-isl || test -f stageprofile-lean
46072 @endif isl
46073 @if cloog
46074 @cd $(HOST_SUBDIR); [ -d stagefeedback-cloog ] || \
46075 mkdir stagefeedback-cloog; \
46076 mv stagefeedback-cloog cloog ; \
46077 mv stageprofile-cloog prev-cloog || test -f stageprofile-lean
46078 @endif cloog
46079 @if libelf
46080 @cd $(HOST_SUBDIR); [ -d stagefeedback-libelf ] || \
46081 mkdir stagefeedback-libelf; \
46082 mv stagefeedback-libelf libelf ; \
46083 mv stageprofile-libelf prev-libelf || test -f stageprofile-lean
46084 @endif libelf
46085 @if gold
46086 @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \
46087 mkdir stagefeedback-gold; \
46088 mv stagefeedback-gold gold ; \
46089 mv stageprofile-gold prev-gold || test -f stageprofile-lean
46090 @endif gold
46091 @if intl
46092 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
46093 mkdir stagefeedback-intl; \
46094 mv stagefeedback-intl intl ; \
46095 mv stageprofile-intl prev-intl || test -f stageprofile-lean
46096 @endif intl
46097 @if ld
46098 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
46099 mkdir stagefeedback-ld; \
46100 mv stagefeedback-ld ld ; \
46101 mv stageprofile-ld prev-ld || test -f stageprofile-lean
46102 @endif ld
46103 @if libbacktrace
46104 @cd $(HOST_SUBDIR); [ -d stagefeedback-libbacktrace ] || \
46105 mkdir stagefeedback-libbacktrace; \
46106 mv stagefeedback-libbacktrace libbacktrace ; \
46107 mv stageprofile-libbacktrace prev-libbacktrace || test -f stageprofile-lean
46108 @endif libbacktrace
46109 @if libcpp
46110 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
46111 mkdir stagefeedback-libcpp; \
46112 mv stagefeedback-libcpp libcpp ; \
46113 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
46114 @endif libcpp
46115 @if libdecnumber
46116 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
46117 mkdir stagefeedback-libdecnumber; \
46118 mv stagefeedback-libdecnumber libdecnumber ; \
46119 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
46120 @endif libdecnumber
46121 @if libiberty
46122 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
46123 mkdir stagefeedback-libiberty; \
46124 mv stagefeedback-libiberty libiberty ; \
46125 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
46126 @endif libiberty
46127 @if zlib
46128 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
46129 mkdir stagefeedback-zlib; \
46130 mv stagefeedback-zlib zlib ; \
46131 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
46132 @endif zlib
46133 @if lto-plugin
46134 @cd $(HOST_SUBDIR); [ -d stagefeedback-lto-plugin ] || \
46135 mkdir stagefeedback-lto-plugin; \
46136 mv stagefeedback-lto-plugin lto-plugin ; \
46137 mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean
46138 @endif lto-plugin
46139 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
46140 mkdir stagefeedback-$(TARGET_SUBDIR); \
46141 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
46142 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
46144 stagefeedback-end::
46145 @if bfd
46146 @if test -d $(HOST_SUBDIR)/bfd ; then \
46147 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
46148 mv prev-bfd stageprofile-bfd ; : ; \
46150 @endif bfd
46151 @if opcodes
46152 @if test -d $(HOST_SUBDIR)/opcodes ; then \
46153 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
46154 mv prev-opcodes stageprofile-opcodes ; : ; \
46156 @endif opcodes
46157 @if binutils
46158 @if test -d $(HOST_SUBDIR)/binutils ; then \
46159 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
46160 mv prev-binutils stageprofile-binutils ; : ; \
46162 @endif binutils
46163 @if gas
46164 @if test -d $(HOST_SUBDIR)/gas ; then \
46165 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
46166 mv prev-gas stageprofile-gas ; : ; \
46168 @endif gas
46169 @if gcc
46170 @if test -d $(HOST_SUBDIR)/gcc ; then \
46171 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
46172 mv prev-gcc stageprofile-gcc ; : ; \
46174 @endif gcc
46175 @if gmp
46176 @if test -d $(HOST_SUBDIR)/gmp ; then \
46177 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp ; \
46178 mv prev-gmp stageprofile-gmp ; : ; \
46180 @endif gmp
46181 @if mpfr
46182 @if test -d $(HOST_SUBDIR)/mpfr ; then \
46183 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr ; \
46184 mv prev-mpfr stageprofile-mpfr ; : ; \
46186 @endif mpfr
46187 @if mpc
46188 @if test -d $(HOST_SUBDIR)/mpc ; then \
46189 cd $(HOST_SUBDIR); mv mpc stagefeedback-mpc ; \
46190 mv prev-mpc stageprofile-mpc ; : ; \
46192 @endif mpc
46193 @if isl
46194 @if test -d $(HOST_SUBDIR)/isl ; then \
46195 cd $(HOST_SUBDIR); mv isl stagefeedback-isl ; \
46196 mv prev-isl stageprofile-isl ; : ; \
46198 @endif isl
46199 @if cloog
46200 @if test -d $(HOST_SUBDIR)/cloog ; then \
46201 cd $(HOST_SUBDIR); mv cloog stagefeedback-cloog ; \
46202 mv prev-cloog stageprofile-cloog ; : ; \
46204 @endif cloog
46205 @if libelf
46206 @if test -d $(HOST_SUBDIR)/libelf ; then \
46207 cd $(HOST_SUBDIR); mv libelf stagefeedback-libelf ; \
46208 mv prev-libelf stageprofile-libelf ; : ; \
46210 @endif libelf
46211 @if gold
46212 @if test -d $(HOST_SUBDIR)/gold ; then \
46213 cd $(HOST_SUBDIR); mv gold stagefeedback-gold ; \
46214 mv prev-gold stageprofile-gold ; : ; \
46216 @endif gold
46217 @if intl
46218 @if test -d $(HOST_SUBDIR)/intl ; then \
46219 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
46220 mv prev-intl stageprofile-intl ; : ; \
46222 @endif intl
46223 @if ld
46224 @if test -d $(HOST_SUBDIR)/ld ; then \
46225 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
46226 mv prev-ld stageprofile-ld ; : ; \
46228 @endif ld
46229 @if libbacktrace
46230 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
46231 cd $(HOST_SUBDIR); mv libbacktrace stagefeedback-libbacktrace ; \
46232 mv prev-libbacktrace stageprofile-libbacktrace ; : ; \
46234 @endif libbacktrace
46235 @if libcpp
46236 @if test -d $(HOST_SUBDIR)/libcpp ; then \
46237 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
46238 mv prev-libcpp stageprofile-libcpp ; : ; \
46240 @endif libcpp
46241 @if libdecnumber
46242 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
46243 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
46244 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
46246 @endif libdecnumber
46247 @if libiberty
46248 @if test -d $(HOST_SUBDIR)/libiberty ; then \
46249 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
46250 mv prev-libiberty stageprofile-libiberty ; : ; \
46252 @endif libiberty
46253 @if zlib
46254 @if test -d $(HOST_SUBDIR)/zlib ; then \
46255 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
46256 mv prev-zlib stageprofile-zlib ; : ; \
46258 @endif zlib
46259 @if lto-plugin
46260 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
46261 cd $(HOST_SUBDIR); mv lto-plugin stagefeedback-lto-plugin ; \
46262 mv prev-lto-plugin stageprofile-lto-plugin ; : ; \
46264 @endif lto-plugin
46265 @if test -d $(TARGET_SUBDIR) ; then \
46266 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
46267 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
46269 rm -f stage_current
46271 # Bubble a bug fix through all the stages up to stage feedback. They are
46272 # remade, but not reconfigured. The next stage (if any) will not be
46273 # reconfigured either.
46274 .PHONY: stagefeedback-bubble
46275 stagefeedback-bubble:: stageprofile-bubble
46276 @r=`${PWD_COMMAND}`; export r; \
46277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46278 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
46279 echo Skipping rebuild of stagefeedback ; \
46280 else \
46281 $(MAKE) stagefeedback-start; \
46282 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
46285 .PHONY: all-stagefeedback clean-stagefeedback
46286 do-clean: clean-stagefeedback
46288 # FIXME: Will not need to be conditional when toplevel bootstrap is the
46289 # only possibility, but now it conflicts with no-bootstrap rules
46290 @if gcc-bootstrap
46294 .PHONY: profiledbootstrap profiledbootstrap-lean
46295 profiledbootstrap:
46296 echo stagefeedback > stage_final
46297 @r=`${PWD_COMMAND}`; export r; \
46298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46299 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
46300 @: $(MAKE); $(unstage)
46301 @r=`${PWD_COMMAND}`; export r; \
46302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46303 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
46304 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
46306 profiledbootstrap-lean:
46307 echo stagefeedback > stage_final
46308 @r=`${PWD_COMMAND}`; export r; \
46309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46310 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
46311 @: $(MAKE); $(unstage)
46312 @r=`${PWD_COMMAND}`; export r; \
46313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46314 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
46315 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
46318 # Rules to wipe a stage and all the following ones, also used for cleanstrap
46319 distclean-stageprofile:: distclean-stagefeedback
46320 .PHONY: distclean-stagefeedback
46321 distclean-stagefeedback::
46322 @: $(MAKE); $(stage)
46323 @test "`cat stage_last`" != stagefeedback || rm -f stage_last
46324 rm -rf stagefeedback-*
46327 @endif gcc-bootstrap
46331 stageprofile-end::
46332 $(MAKE) distclean-stagefeedback
46334 stagefeedback-start::
46335 @r=`${PWD_COMMAND}`; export r; \
46336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46337 for i in prev-*; do \
46338 j=`echo $$i | sed s/^prev-//` ; \
46339 cd $$r/$$i && \
46340 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
46341 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
46342 done
46344 @if gcc-bootstrap
46345 do-distclean: distclean-stage1
46347 # Provide a GCC build when we're building target libraries. This does
46348 # not work as a dependency, just as the minimum necessary to avoid errors.
46349 stage_last:
46350 @r=`${PWD_COMMAND}`; export r; \
46351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46352 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
46354 # Same as unstage, but not phony and defaulting to stage1-start. We place
46355 # it in the dependency so that for example `make -j3 all-gcc' works.
46356 stage_current:
46357 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
46359 .PHONY: restrap
46360 restrap::
46361 @: $(MAKE); $(stage)
46362 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagefeedback-*
46363 restrap:: all
46364 @endif gcc-bootstrap
46366 # --------------------------------------
46367 # Dependencies between different modules
46368 # --------------------------------------
46370 # Generic dependencies for target modules on host stuff, especially gcc
46371 @if gcc-bootstrap
46372 configure-stage1-target-libstdc++-v3: maybe-all-stage1-gcc
46373 configure-stage2-target-libstdc++-v3: maybe-all-stage2-gcc
46374 configure-stage3-target-libstdc++-v3: maybe-all-stage3-gcc
46375 configure-stage4-target-libstdc++-v3: maybe-all-stage4-gcc
46376 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-gcc
46377 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-gcc
46378 configure-target-libmudflap: stage_last
46379 configure-stage1-target-libsanitizer: maybe-all-stage1-gcc
46380 configure-stage2-target-libsanitizer: maybe-all-stage2-gcc
46381 configure-stage3-target-libsanitizer: maybe-all-stage3-gcc
46382 configure-stage4-target-libsanitizer: maybe-all-stage4-gcc
46383 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-gcc
46384 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-gcc
46385 configure-stage1-target-libvtv: maybe-all-stage1-gcc
46386 configure-stage2-target-libvtv: maybe-all-stage2-gcc
46387 configure-stage3-target-libvtv: maybe-all-stage3-gcc
46388 configure-stage4-target-libvtv: maybe-all-stage4-gcc
46389 configure-stageprofile-target-libvtv: maybe-all-stageprofile-gcc
46390 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-gcc
46391 configure-target-libssp: stage_last
46392 configure-target-newlib: stage_last
46393 configure-stage1-target-libgcc: maybe-all-stage1-gcc
46394 configure-stage2-target-libgcc: maybe-all-stage2-gcc
46395 configure-stage3-target-libgcc: maybe-all-stage3-gcc
46396 configure-stage4-target-libgcc: maybe-all-stage4-gcc
46397 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
46398 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
46399 configure-target-libbacktrace: stage_last
46400 configure-target-libquadmath: stage_last
46401 configure-target-libgfortran: stage_last
46402 configure-target-libobjc: stage_last
46403 configure-target-libgo: stage_last
46404 configure-target-libtermcap: stage_last
46405 configure-target-winsup: stage_last
46406 configure-target-libgloss: stage_last
46407 configure-target-libffi: stage_last
46408 configure-target-libjava: stage_last
46409 configure-target-zlib: stage_last
46410 configure-target-boehm-gc: stage_last
46411 configure-target-rda: stage_last
46412 configure-target-libada: stage_last
46413 configure-stage1-target-libgomp: maybe-all-stage1-gcc
46414 configure-stage2-target-libgomp: maybe-all-stage2-gcc
46415 configure-stage3-target-libgomp: maybe-all-stage3-gcc
46416 configure-stage4-target-libgomp: maybe-all-stage4-gcc
46417 configure-stageprofile-target-libgomp: maybe-all-stageprofile-gcc
46418 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-gcc
46419 configure-target-libitm: stage_last
46420 configure-target-libatomic: stage_last
46421 @endif gcc-bootstrap
46423 @if gcc-no-bootstrap
46424 configure-target-libstdc++-v3: maybe-all-gcc
46425 configure-target-libmudflap: maybe-all-gcc
46426 configure-target-libsanitizer: maybe-all-gcc
46427 configure-target-libvtv: maybe-all-gcc
46428 configure-target-libssp: maybe-all-gcc
46429 configure-target-newlib: maybe-all-gcc
46430 configure-target-libgcc: maybe-all-gcc
46431 configure-target-libbacktrace: maybe-all-gcc
46432 configure-target-libquadmath: maybe-all-gcc
46433 configure-target-libgfortran: maybe-all-gcc
46434 configure-target-libobjc: maybe-all-gcc
46435 configure-target-libgo: maybe-all-gcc
46436 configure-target-libtermcap: maybe-all-gcc
46437 configure-target-winsup: maybe-all-gcc
46438 configure-target-libgloss: maybe-all-gcc
46439 configure-target-libffi: maybe-all-gcc
46440 configure-target-libjava: maybe-all-gcc
46441 configure-target-zlib: maybe-all-gcc
46442 configure-target-boehm-gc: maybe-all-gcc
46443 configure-target-rda: maybe-all-gcc
46444 configure-target-libada: maybe-all-gcc
46445 configure-target-libgomp: maybe-all-gcc
46446 configure-target-libitm: maybe-all-gcc
46447 configure-target-libatomic: maybe-all-gcc
46448 @endif gcc-no-bootstrap
46451 # There are two types of dependencies here: 'hard' dependencies, where one
46452 # module simply won't build without the other; and 'soft' dependencies, where
46453 # if the depended-on module is missing, the depending module will do without
46454 # or find a substitute somewhere (perhaps installed). Soft dependencies
46455 # are made here to depend on a 'maybe-' target. If you're not sure,
46456 # it's safer to use a soft dependency.
46463 # With all the machinery above in place, it is pretty easy to generate
46464 # dependencies. Host dependencies are a bit more complex because we have
46465 # to check for bootstrap/prebootstrap dependencies. To resolve
46466 # prebootstrap dependencies, prebootstrap modules are gathered in
46467 # a hash table.
46468 all-build-bison: maybe-all-build-texinfo
46469 all-build-flex: maybe-all-build-texinfo
46470 all-build-flex: maybe-all-build-bison
46471 all-build-flex: maybe-all-build-m4
46472 all-build-libiberty: maybe-all-build-texinfo
46473 all-build-m4: maybe-all-build-texinfo
46474 all-build-fixincludes: maybe-all-build-libiberty
46475 configure-gcc: maybe-configure-intl
46477 configure-stage1-gcc: maybe-configure-stage1-intl
46478 configure-stage2-gcc: maybe-configure-stage2-intl
46479 configure-stage3-gcc: maybe-configure-stage3-intl
46480 configure-stage4-gcc: maybe-configure-stage4-intl
46481 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
46482 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
46483 configure-gcc: maybe-all-gmp
46485 configure-stage1-gcc: maybe-all-stage1-gmp
46486 configure-stage2-gcc: maybe-all-stage2-gmp
46487 configure-stage3-gcc: maybe-all-stage3-gmp
46488 configure-stage4-gcc: maybe-all-stage4-gmp
46489 configure-stageprofile-gcc: maybe-all-stageprofile-gmp
46490 configure-stagefeedback-gcc: maybe-all-stagefeedback-gmp
46491 configure-gcc: maybe-all-lto-plugin
46493 configure-stage1-gcc: maybe-all-stage1-lto-plugin
46494 configure-stage2-gcc: maybe-all-stage2-lto-plugin
46495 configure-stage3-gcc: maybe-all-stage3-lto-plugin
46496 configure-stage4-gcc: maybe-all-stage4-lto-plugin
46497 configure-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
46498 configure-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
46499 configure-gcc: maybe-all-binutils
46501 configure-stage1-gcc: maybe-all-stage1-binutils
46502 configure-stage2-gcc: maybe-all-stage2-binutils
46503 configure-stage3-gcc: maybe-all-stage3-binutils
46504 configure-stage4-gcc: maybe-all-stage4-binutils
46505 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
46506 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
46507 configure-gcc: maybe-all-gas
46509 configure-stage1-gcc: maybe-all-stage1-gas
46510 configure-stage2-gcc: maybe-all-stage2-gas
46511 configure-stage3-gcc: maybe-all-stage3-gas
46512 configure-stage4-gcc: maybe-all-stage4-gas
46513 configure-stageprofile-gcc: maybe-all-stageprofile-gas
46514 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
46515 configure-gcc: maybe-all-ld
46517 configure-stage1-gcc: maybe-all-stage1-ld
46518 configure-stage2-gcc: maybe-all-stage2-ld
46519 configure-stage3-gcc: maybe-all-stage3-ld
46520 configure-stage4-gcc: maybe-all-stage4-ld
46521 configure-stageprofile-gcc: maybe-all-stageprofile-ld
46522 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
46523 configure-gcc: maybe-all-gold
46525 configure-stage1-gcc: maybe-all-stage1-gold
46526 configure-stage2-gcc: maybe-all-stage2-gold
46527 configure-stage3-gcc: maybe-all-stage3-gold
46528 configure-stage4-gcc: maybe-all-stage4-gold
46529 configure-stageprofile-gcc: maybe-all-stageprofile-gold
46530 configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
46531 configure-gcc: maybe-all-libelf
46533 configure-stage1-gcc: maybe-all-stage1-libelf
46534 configure-stage2-gcc: maybe-all-stage2-libelf
46535 configure-stage3-gcc: maybe-all-stage3-libelf
46536 configure-stage4-gcc: maybe-all-stage4-libelf
46537 configure-stageprofile-gcc: maybe-all-stageprofile-libelf
46538 configure-stagefeedback-gcc: maybe-all-stagefeedback-libelf
46539 all-gcc: all-libiberty
46541 all-stage1-gcc: all-stage1-libiberty
46542 all-stage2-gcc: all-stage2-libiberty
46543 all-stage3-gcc: all-stage3-libiberty
46544 all-stage4-gcc: all-stage4-libiberty
46545 all-stageprofile-gcc: all-stageprofile-libiberty
46546 all-stagefeedback-gcc: all-stagefeedback-libiberty
46547 all-gcc: maybe-all-intl
46549 all-stage1-gcc: maybe-all-stage1-intl
46550 all-stage2-gcc: maybe-all-stage2-intl
46551 all-stage3-gcc: maybe-all-stage3-intl
46552 all-stage4-gcc: maybe-all-stage4-intl
46553 all-stageprofile-gcc: maybe-all-stageprofile-intl
46554 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
46555 all-gcc: maybe-all-mpfr
46557 all-stage1-gcc: maybe-all-stage1-mpfr
46558 all-stage2-gcc: maybe-all-stage2-mpfr
46559 all-stage3-gcc: maybe-all-stage3-mpfr
46560 all-stage4-gcc: maybe-all-stage4-mpfr
46561 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
46562 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
46563 all-gcc: maybe-all-mpc
46565 all-stage1-gcc: maybe-all-stage1-mpc
46566 all-stage2-gcc: maybe-all-stage2-mpc
46567 all-stage3-gcc: maybe-all-stage3-mpc
46568 all-stage4-gcc: maybe-all-stage4-mpc
46569 all-stageprofile-gcc: maybe-all-stageprofile-mpc
46570 all-stagefeedback-gcc: maybe-all-stagefeedback-mpc
46571 all-gcc: maybe-all-cloog
46573 all-stage1-gcc: maybe-all-stage1-cloog
46574 all-stage2-gcc: maybe-all-stage2-cloog
46575 all-stage3-gcc: maybe-all-stage3-cloog
46576 all-stage4-gcc: maybe-all-stage4-cloog
46577 all-stageprofile-gcc: maybe-all-stageprofile-cloog
46578 all-stagefeedback-gcc: maybe-all-stagefeedback-cloog
46579 all-gcc: maybe-all-build-texinfo
46581 all-stage1-gcc: maybe-all-build-texinfo
46582 all-stage2-gcc: maybe-all-build-texinfo
46583 all-stage3-gcc: maybe-all-build-texinfo
46584 all-stage4-gcc: maybe-all-build-texinfo
46585 all-stageprofile-gcc: maybe-all-build-texinfo
46586 all-stagefeedback-gcc: maybe-all-build-texinfo
46587 all-gcc: maybe-all-build-bison
46589 all-stage1-gcc: maybe-all-build-bison
46590 all-stage2-gcc: maybe-all-build-bison
46591 all-stage3-gcc: maybe-all-build-bison
46592 all-stage4-gcc: maybe-all-build-bison
46593 all-stageprofile-gcc: maybe-all-build-bison
46594 all-stagefeedback-gcc: maybe-all-build-bison
46595 all-gcc: maybe-all-build-flex
46597 all-stage1-gcc: maybe-all-build-flex
46598 all-stage2-gcc: maybe-all-build-flex
46599 all-stage3-gcc: maybe-all-build-flex
46600 all-stage4-gcc: maybe-all-build-flex
46601 all-stageprofile-gcc: maybe-all-build-flex
46602 all-stagefeedback-gcc: maybe-all-build-flex
46603 all-gcc: maybe-all-build-libiberty
46605 all-stage1-gcc: maybe-all-build-libiberty
46606 all-stage2-gcc: maybe-all-build-libiberty
46607 all-stage3-gcc: maybe-all-build-libiberty
46608 all-stage4-gcc: maybe-all-build-libiberty
46609 all-stageprofile-gcc: maybe-all-build-libiberty
46610 all-stagefeedback-gcc: maybe-all-build-libiberty
46611 all-gcc: maybe-all-build-fixincludes
46613 all-stage1-gcc: maybe-all-build-fixincludes
46614 all-stage2-gcc: maybe-all-build-fixincludes
46615 all-stage3-gcc: maybe-all-build-fixincludes
46616 all-stage4-gcc: maybe-all-build-fixincludes
46617 all-stageprofile-gcc: maybe-all-build-fixincludes
46618 all-stagefeedback-gcc: maybe-all-build-fixincludes
46619 all-gcc: maybe-all-zlib
46621 all-stage1-gcc: maybe-all-stage1-zlib
46622 all-stage2-gcc: maybe-all-stage2-zlib
46623 all-stage3-gcc: maybe-all-stage3-zlib
46624 all-stage4-gcc: maybe-all-stage4-zlib
46625 all-stageprofile-gcc: maybe-all-stageprofile-zlib
46626 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
46627 all-gcc: all-libbacktrace
46629 all-stage1-gcc: all-stage1-libbacktrace
46630 all-stage2-gcc: all-stage2-libbacktrace
46631 all-stage3-gcc: all-stage3-libbacktrace
46632 all-stage4-gcc: all-stage4-libbacktrace
46633 all-stageprofile-gcc: all-stageprofile-libbacktrace
46634 all-stagefeedback-gcc: all-stagefeedback-libbacktrace
46635 all-gcc: all-libcpp
46637 all-stage1-gcc: all-stage1-libcpp
46638 all-stage2-gcc: all-stage2-libcpp
46639 all-stage3-gcc: all-stage3-libcpp
46640 all-stage4-gcc: all-stage4-libcpp
46641 all-stageprofile-gcc: all-stageprofile-libcpp
46642 all-stagefeedback-gcc: all-stagefeedback-libcpp
46643 all-gcc: all-libdecnumber
46645 all-stage1-gcc: all-stage1-libdecnumber
46646 all-stage2-gcc: all-stage2-libdecnumber
46647 all-stage3-gcc: all-stage3-libdecnumber
46648 all-stage4-gcc: all-stage4-libdecnumber
46649 all-stageprofile-gcc: all-stageprofile-libdecnumber
46650 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
46651 all-gcc: maybe-all-libiberty
46653 all-stage1-gcc: maybe-all-stage1-libiberty
46654 all-stage2-gcc: maybe-all-stage2-libiberty
46655 all-stage3-gcc: maybe-all-stage3-libiberty
46656 all-stage4-gcc: maybe-all-stage4-libiberty
46657 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
46658 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
46659 all-gcc: maybe-all-fixincludes
46660 all-gcc: maybe-all-lto-plugin
46662 all-stage1-gcc: maybe-all-stage1-lto-plugin
46663 all-stage2-gcc: maybe-all-stage2-lto-plugin
46664 all-stage3-gcc: maybe-all-stage3-lto-plugin
46665 all-stage4-gcc: maybe-all-stage4-lto-plugin
46666 all-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
46667 all-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
46668 info-gcc: maybe-all-build-libiberty
46670 info-stage1-gcc: maybe-all-build-libiberty
46671 info-stage2-gcc: maybe-all-build-libiberty
46672 info-stage3-gcc: maybe-all-build-libiberty
46673 info-stage4-gcc: maybe-all-build-libiberty
46674 info-stageprofile-gcc: maybe-all-build-libiberty
46675 info-stagefeedback-gcc: maybe-all-build-libiberty
46676 dvi-gcc: maybe-all-build-libiberty
46678 dvi-stage1-gcc: maybe-all-build-libiberty
46679 dvi-stage2-gcc: maybe-all-build-libiberty
46680 dvi-stage3-gcc: maybe-all-build-libiberty
46681 dvi-stage4-gcc: maybe-all-build-libiberty
46682 dvi-stageprofile-gcc: maybe-all-build-libiberty
46683 dvi-stagefeedback-gcc: maybe-all-build-libiberty
46684 pdf-gcc: maybe-all-build-libiberty
46686 pdf-stage1-gcc: maybe-all-build-libiberty
46687 pdf-stage2-gcc: maybe-all-build-libiberty
46688 pdf-stage3-gcc: maybe-all-build-libiberty
46689 pdf-stage4-gcc: maybe-all-build-libiberty
46690 pdf-stageprofile-gcc: maybe-all-build-libiberty
46691 pdf-stagefeedback-gcc: maybe-all-build-libiberty
46692 html-gcc: maybe-all-build-libiberty
46694 html-stage1-gcc: maybe-all-build-libiberty
46695 html-stage2-gcc: maybe-all-build-libiberty
46696 html-stage3-gcc: maybe-all-build-libiberty
46697 html-stage4-gcc: maybe-all-build-libiberty
46698 html-stageprofile-gcc: maybe-all-build-libiberty
46699 html-stagefeedback-gcc: maybe-all-build-libiberty
46700 install-gcc: maybe-install-fixincludes
46701 install-gcc: maybe-install-lto-plugin
46702 install-strip-gcc: maybe-install-strip-fixincludes
46703 install-strip-gcc: maybe-install-strip-lto-plugin
46704 configure-libcpp: configure-libiberty
46706 configure-stage1-libcpp: configure-stage1-libiberty
46707 configure-stage2-libcpp: configure-stage2-libiberty
46708 configure-stage3-libcpp: configure-stage3-libiberty
46709 configure-stage4-libcpp: configure-stage4-libiberty
46710 configure-stageprofile-libcpp: configure-stageprofile-libiberty
46711 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
46712 configure-libcpp: maybe-configure-intl
46714 configure-stage1-libcpp: maybe-configure-stage1-intl
46715 configure-stage2-libcpp: maybe-configure-stage2-intl
46716 configure-stage3-libcpp: maybe-configure-stage3-intl
46717 configure-stage4-libcpp: maybe-configure-stage4-intl
46718 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
46719 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
46720 all-libcpp: all-libiberty
46722 all-stage1-libcpp: all-stage1-libiberty
46723 all-stage2-libcpp: all-stage2-libiberty
46724 all-stage3-libcpp: all-stage3-libiberty
46725 all-stage4-libcpp: all-stage4-libiberty
46726 all-stageprofile-libcpp: all-stageprofile-libiberty
46727 all-stagefeedback-libcpp: all-stagefeedback-libiberty
46728 all-libcpp: maybe-all-intl
46730 all-stage1-libcpp: maybe-all-stage1-intl
46731 all-stage2-libcpp: maybe-all-stage2-intl
46732 all-stage3-libcpp: maybe-all-stage3-intl
46733 all-stage4-libcpp: maybe-all-stage4-intl
46734 all-stageprofile-libcpp: maybe-all-stageprofile-intl
46735 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
46736 all-fixincludes: maybe-all-libiberty
46737 all-gnattools: maybe-all-target-libada
46738 all-lto-plugin: maybe-all-libiberty
46740 all-stage1-lto-plugin: maybe-all-stage1-libiberty
46741 all-stage2-lto-plugin: maybe-all-stage2-libiberty
46742 all-stage3-lto-plugin: maybe-all-stage3-libiberty
46743 all-stage4-lto-plugin: maybe-all-stage4-libiberty
46744 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty
46745 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty
46746 all-utils: maybe-all-libiberty
46747 configure-mpfr: maybe-all-gmp
46749 configure-stage1-mpfr: maybe-all-stage1-gmp
46750 configure-stage2-mpfr: maybe-all-stage2-gmp
46751 configure-stage3-mpfr: maybe-all-stage3-gmp
46752 configure-stage4-mpfr: maybe-all-stage4-gmp
46753 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
46754 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
46755 configure-mpc: maybe-all-mpfr
46757 configure-stage1-mpc: maybe-all-stage1-mpfr
46758 configure-stage2-mpc: maybe-all-stage2-mpfr
46759 configure-stage3-mpc: maybe-all-stage3-mpfr
46760 configure-stage4-mpc: maybe-all-stage4-mpfr
46761 configure-stageprofile-mpc: maybe-all-stageprofile-mpfr
46762 configure-stagefeedback-mpc: maybe-all-stagefeedback-mpfr
46763 configure-isl: maybe-all-gmp
46765 configure-stage1-isl: maybe-all-stage1-gmp
46766 configure-stage2-isl: maybe-all-stage2-gmp
46767 configure-stage3-isl: maybe-all-stage3-gmp
46768 configure-stage4-isl: maybe-all-stage4-gmp
46769 configure-stageprofile-isl: maybe-all-stageprofile-gmp
46770 configure-stagefeedback-isl: maybe-all-stagefeedback-gmp
46771 configure-cloog: maybe-all-isl
46773 configure-stage1-cloog: maybe-all-stage1-isl
46774 configure-stage2-cloog: maybe-all-stage2-isl
46775 configure-stage3-cloog: maybe-all-stage3-isl
46776 configure-stage4-cloog: maybe-all-stage4-isl
46777 configure-stageprofile-cloog: maybe-all-stageprofile-isl
46778 configure-stagefeedback-cloog: maybe-all-stagefeedback-isl
46779 configure-cloog: maybe-all-gmp
46781 configure-stage1-cloog: maybe-all-stage1-gmp
46782 configure-stage2-cloog: maybe-all-stage2-gmp
46783 configure-stage3-cloog: maybe-all-stage3-gmp
46784 configure-stage4-cloog: maybe-all-stage4-gmp
46785 configure-stageprofile-cloog: maybe-all-stageprofile-gmp
46786 configure-stagefeedback-cloog: maybe-all-stagefeedback-gmp
46787 configure-gdb: maybe-all-intl
46788 configure-gdb: maybe-configure-sim
46789 configure-gdb: maybe-all-bfd
46790 configure-gdb: maybe-all-libiconv
46791 all-gdb: maybe-all-libiberty
46792 all-gdb: maybe-all-libiconv
46793 all-gdb: maybe-all-opcodes
46794 all-gdb: maybe-all-readline
46795 all-gdb: maybe-all-build-bison
46796 all-gdb: maybe-all-sim
46797 all-gdb: maybe-all-libdecnumber
46798 all-gdb: maybe-all-libtermcap
46799 configure-libgui: maybe-configure-tcl
46800 configure-libgui: maybe-configure-tk
46801 all-libgui: maybe-all-tcl
46802 all-libgui: maybe-all-tk
46803 all-libgui: maybe-all-itcl
46804 configure-bfd: configure-libiberty
46806 configure-stage1-bfd: configure-stage1-libiberty
46807 configure-stage2-bfd: configure-stage2-libiberty
46808 configure-stage3-bfd: configure-stage3-libiberty
46809 configure-stage4-bfd: configure-stage4-libiberty
46810 configure-stageprofile-bfd: configure-stageprofile-libiberty
46811 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
46812 configure-bfd: maybe-configure-intl
46814 configure-stage1-bfd: maybe-configure-stage1-intl
46815 configure-stage2-bfd: maybe-configure-stage2-intl
46816 configure-stage3-bfd: maybe-configure-stage3-intl
46817 configure-stage4-bfd: maybe-configure-stage4-intl
46818 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
46819 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
46820 all-bfd: maybe-all-libiberty
46822 all-stage1-bfd: maybe-all-stage1-libiberty
46823 all-stage2-bfd: maybe-all-stage2-libiberty
46824 all-stage3-bfd: maybe-all-stage3-libiberty
46825 all-stage4-bfd: maybe-all-stage4-libiberty
46826 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
46827 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
46828 all-bfd: maybe-all-intl
46830 all-stage1-bfd: maybe-all-stage1-intl
46831 all-stage2-bfd: maybe-all-stage2-intl
46832 all-stage3-bfd: maybe-all-stage3-intl
46833 all-stage4-bfd: maybe-all-stage4-intl
46834 all-stageprofile-bfd: maybe-all-stageprofile-intl
46835 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
46836 configure-opcodes: configure-libiberty
46838 configure-stage1-opcodes: configure-stage1-libiberty
46839 configure-stage2-opcodes: configure-stage2-libiberty
46840 configure-stage3-opcodes: configure-stage3-libiberty
46841 configure-stage4-opcodes: configure-stage4-libiberty
46842 configure-stageprofile-opcodes: configure-stageprofile-libiberty
46843 configure-stagefeedback-opcodes: configure-stagefeedback-libiberty
46844 all-opcodes: maybe-all-libiberty
46846 all-stage1-opcodes: maybe-all-stage1-libiberty
46847 all-stage2-opcodes: maybe-all-stage2-libiberty
46848 all-stage3-opcodes: maybe-all-stage3-libiberty
46849 all-stage4-opcodes: maybe-all-stage4-libiberty
46850 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
46851 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
46852 configure-binutils: maybe-configure-intl
46854 configure-stage1-binutils: maybe-configure-stage1-intl
46855 configure-stage2-binutils: maybe-configure-stage2-intl
46856 configure-stage3-binutils: maybe-configure-stage3-intl
46857 configure-stage4-binutils: maybe-configure-stage4-intl
46858 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
46859 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
46860 all-binutils: maybe-all-libiberty
46862 all-stage1-binutils: maybe-all-stage1-libiberty
46863 all-stage2-binutils: maybe-all-stage2-libiberty
46864 all-stage3-binutils: maybe-all-stage3-libiberty
46865 all-stage4-binutils: maybe-all-stage4-libiberty
46866 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
46867 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
46868 all-binutils: maybe-all-opcodes
46870 all-stage1-binutils: maybe-all-stage1-opcodes
46871 all-stage2-binutils: maybe-all-stage2-opcodes
46872 all-stage3-binutils: maybe-all-stage3-opcodes
46873 all-stage4-binutils: maybe-all-stage4-opcodes
46874 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
46875 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
46876 all-binutils: maybe-all-bfd
46878 all-stage1-binutils: maybe-all-stage1-bfd
46879 all-stage2-binutils: maybe-all-stage2-bfd
46880 all-stage3-binutils: maybe-all-stage3-bfd
46881 all-stage4-binutils: maybe-all-stage4-bfd
46882 all-stageprofile-binutils: maybe-all-stageprofile-bfd
46883 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
46884 all-binutils: maybe-all-build-flex
46886 all-stage1-binutils: maybe-all-build-flex
46887 all-stage2-binutils: maybe-all-build-flex
46888 all-stage3-binutils: maybe-all-build-flex
46889 all-stage4-binutils: maybe-all-build-flex
46890 all-stageprofile-binutils: maybe-all-build-flex
46891 all-stagefeedback-binutils: maybe-all-build-flex
46892 all-binutils: maybe-all-build-bison
46894 all-stage1-binutils: maybe-all-build-bison
46895 all-stage2-binutils: maybe-all-build-bison
46896 all-stage3-binutils: maybe-all-build-bison
46897 all-stage4-binutils: maybe-all-build-bison
46898 all-stageprofile-binutils: maybe-all-build-bison
46899 all-stagefeedback-binutils: maybe-all-build-bison
46900 all-binutils: maybe-all-intl
46902 all-stage1-binutils: maybe-all-stage1-intl
46903 all-stage2-binutils: maybe-all-stage2-intl
46904 all-stage3-binutils: maybe-all-stage3-intl
46905 all-stage4-binutils: maybe-all-stage4-intl
46906 all-stageprofile-binutils: maybe-all-stageprofile-intl
46907 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
46908 all-binutils: maybe-all-gas
46910 all-stage1-binutils: maybe-all-stage1-gas
46911 all-stage2-binutils: maybe-all-stage2-gas
46912 all-stage3-binutils: maybe-all-stage3-gas
46913 all-stage4-binutils: maybe-all-stage4-gas
46914 all-stageprofile-binutils: maybe-all-stageprofile-gas
46915 all-stagefeedback-binutils: maybe-all-stagefeedback-gas
46916 install-binutils: maybe-install-opcodes
46917 install-strip-binutils: maybe-install-strip-opcodes
46918 install-opcodes: maybe-install-bfd
46919 install-strip-opcodes: maybe-install-strip-bfd
46920 configure-gas: maybe-configure-intl
46922 configure-stage1-gas: maybe-configure-stage1-intl
46923 configure-stage2-gas: maybe-configure-stage2-intl
46924 configure-stage3-gas: maybe-configure-stage3-intl
46925 configure-stage4-gas: maybe-configure-stage4-intl
46926 configure-stageprofile-gas: maybe-configure-stageprofile-intl
46927 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
46928 all-gas: maybe-all-libiberty
46930 all-stage1-gas: maybe-all-stage1-libiberty
46931 all-stage2-gas: maybe-all-stage2-libiberty
46932 all-stage3-gas: maybe-all-stage3-libiberty
46933 all-stage4-gas: maybe-all-stage4-libiberty
46934 all-stageprofile-gas: maybe-all-stageprofile-libiberty
46935 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
46936 all-gas: maybe-all-opcodes
46938 all-stage1-gas: maybe-all-stage1-opcodes
46939 all-stage2-gas: maybe-all-stage2-opcodes
46940 all-stage3-gas: maybe-all-stage3-opcodes
46941 all-stage4-gas: maybe-all-stage4-opcodes
46942 all-stageprofile-gas: maybe-all-stageprofile-opcodes
46943 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
46944 all-gas: maybe-all-bfd
46946 all-stage1-gas: maybe-all-stage1-bfd
46947 all-stage2-gas: maybe-all-stage2-bfd
46948 all-stage3-gas: maybe-all-stage3-bfd
46949 all-stage4-gas: maybe-all-stage4-bfd
46950 all-stageprofile-gas: maybe-all-stageprofile-bfd
46951 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
46952 all-gas: maybe-all-intl
46954 all-stage1-gas: maybe-all-stage1-intl
46955 all-stage2-gas: maybe-all-stage2-intl
46956 all-stage3-gas: maybe-all-stage3-intl
46957 all-stage4-gas: maybe-all-stage4-intl
46958 all-stageprofile-gas: maybe-all-stageprofile-intl
46959 all-stagefeedback-gas: maybe-all-stagefeedback-intl
46960 configure-gprof: maybe-configure-intl
46961 all-gprof: maybe-all-libiberty
46962 all-gprof: maybe-all-bfd
46963 all-gprof: maybe-all-opcodes
46964 all-gprof: maybe-all-intl
46965 all-gprof: maybe-all-gas
46966 configure-ld: maybe-configure-intl
46968 configure-stage1-ld: maybe-configure-stage1-intl
46969 configure-stage2-ld: maybe-configure-stage2-intl
46970 configure-stage3-ld: maybe-configure-stage3-intl
46971 configure-stage4-ld: maybe-configure-stage4-intl
46972 configure-stageprofile-ld: maybe-configure-stageprofile-intl
46973 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
46974 all-ld: maybe-all-libiberty
46976 all-stage1-ld: maybe-all-stage1-libiberty
46977 all-stage2-ld: maybe-all-stage2-libiberty
46978 all-stage3-ld: maybe-all-stage3-libiberty
46979 all-stage4-ld: maybe-all-stage4-libiberty
46980 all-stageprofile-ld: maybe-all-stageprofile-libiberty
46981 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
46982 all-ld: maybe-all-bfd
46984 all-stage1-ld: maybe-all-stage1-bfd
46985 all-stage2-ld: maybe-all-stage2-bfd
46986 all-stage3-ld: maybe-all-stage3-bfd
46987 all-stage4-ld: maybe-all-stage4-bfd
46988 all-stageprofile-ld: maybe-all-stageprofile-bfd
46989 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
46990 all-ld: maybe-all-opcodes
46992 all-stage1-ld: maybe-all-stage1-opcodes
46993 all-stage2-ld: maybe-all-stage2-opcodes
46994 all-stage3-ld: maybe-all-stage3-opcodes
46995 all-stage4-ld: maybe-all-stage4-opcodes
46996 all-stageprofile-ld: maybe-all-stageprofile-opcodes
46997 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
46998 all-ld: maybe-all-build-bison
47000 all-stage1-ld: maybe-all-build-bison
47001 all-stage2-ld: maybe-all-build-bison
47002 all-stage3-ld: maybe-all-build-bison
47003 all-stage4-ld: maybe-all-build-bison
47004 all-stageprofile-ld: maybe-all-build-bison
47005 all-stagefeedback-ld: maybe-all-build-bison
47006 all-ld: maybe-all-build-flex
47008 all-stage1-ld: maybe-all-build-flex
47009 all-stage2-ld: maybe-all-build-flex
47010 all-stage3-ld: maybe-all-build-flex
47011 all-stage4-ld: maybe-all-build-flex
47012 all-stageprofile-ld: maybe-all-build-flex
47013 all-stagefeedback-ld: maybe-all-build-flex
47014 all-ld: maybe-all-intl
47016 all-stage1-ld: maybe-all-stage1-intl
47017 all-stage2-ld: maybe-all-stage2-intl
47018 all-stage3-ld: maybe-all-stage3-intl
47019 all-stage4-ld: maybe-all-stage4-intl
47020 all-stageprofile-ld: maybe-all-stageprofile-intl
47021 all-stagefeedback-ld: maybe-all-stagefeedback-intl
47022 all-ld: maybe-all-gas
47024 all-stage1-ld: maybe-all-stage1-gas
47025 all-stage2-ld: maybe-all-stage2-gas
47026 all-stage3-ld: maybe-all-stage3-gas
47027 all-stage4-ld: maybe-all-stage4-gas
47028 all-stageprofile-ld: maybe-all-stageprofile-gas
47029 all-stagefeedback-ld: maybe-all-stagefeedback-gas
47030 install-ld: maybe-install-gold
47031 install-strip-ld: maybe-install-strip-gold
47032 configure-gold: maybe-configure-intl
47034 configure-stage1-gold: maybe-configure-stage1-intl
47035 configure-stage2-gold: maybe-configure-stage2-intl
47036 configure-stage3-gold: maybe-configure-stage3-intl
47037 configure-stage4-gold: maybe-configure-stage4-intl
47038 configure-stageprofile-gold: maybe-configure-stageprofile-intl
47039 configure-stagefeedback-gold: maybe-configure-stagefeedback-intl
47040 all-gold: maybe-all-libiberty
47042 all-stage1-gold: maybe-all-stage1-libiberty
47043 all-stage2-gold: maybe-all-stage2-libiberty
47044 all-stage3-gold: maybe-all-stage3-libiberty
47045 all-stage4-gold: maybe-all-stage4-libiberty
47046 all-stageprofile-gold: maybe-all-stageprofile-libiberty
47047 all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
47048 all-gold: maybe-all-intl
47050 all-stage1-gold: maybe-all-stage1-intl
47051 all-stage2-gold: maybe-all-stage2-intl
47052 all-stage3-gold: maybe-all-stage3-intl
47053 all-stage4-gold: maybe-all-stage4-intl
47054 all-stageprofile-gold: maybe-all-stageprofile-intl
47055 all-stagefeedback-gold: maybe-all-stagefeedback-intl
47056 all-gold: maybe-all-bfd
47058 all-stage1-gold: maybe-all-stage1-bfd
47059 all-stage2-gold: maybe-all-stage2-bfd
47060 all-stage3-gold: maybe-all-stage3-bfd
47061 all-stage4-gold: maybe-all-stage4-bfd
47062 all-stageprofile-gold: maybe-all-stageprofile-bfd
47063 all-stagefeedback-gold: maybe-all-stagefeedback-bfd
47064 all-gold: maybe-all-build-bison
47066 all-stage1-gold: maybe-all-build-bison
47067 all-stage2-gold: maybe-all-build-bison
47068 all-stage3-gold: maybe-all-build-bison
47069 all-stage4-gold: maybe-all-build-bison
47070 all-stageprofile-gold: maybe-all-build-bison
47071 all-stagefeedback-gold: maybe-all-build-bison
47072 all-gold: maybe-all-gas
47074 all-stage1-gold: maybe-all-stage1-gas
47075 all-stage2-gold: maybe-all-stage2-gas
47076 all-stage3-gold: maybe-all-stage3-gas
47077 all-stage4-gold: maybe-all-stage4-gas
47078 all-stageprofile-gold: maybe-all-stageprofile-gas
47079 all-stagefeedback-gold: maybe-all-stagefeedback-gas
47080 check-gold: maybe-all-binutils
47082 check-stage1-gold: maybe-all-stage1-binutils
47083 check-stage2-gold: maybe-all-stage2-binutils
47084 check-stage3-gold: maybe-all-stage3-binutils
47085 check-stage4-gold: maybe-all-stage4-binutils
47086 check-stageprofile-gold: maybe-all-stageprofile-binutils
47087 check-stagefeedback-gold: maybe-all-stagefeedback-binutils
47088 check-gold: maybe-all-gas
47090 check-stage1-gold: maybe-all-stage1-gas
47091 check-stage2-gold: maybe-all-stage2-gas
47092 check-stage3-gold: maybe-all-stage3-gas
47093 check-stage4-gold: maybe-all-stage4-gas
47094 check-stageprofile-gold: maybe-all-stageprofile-gas
47095 check-stagefeedback-gold: maybe-all-stagefeedback-gas
47096 configure-opcodes: maybe-configure-intl
47098 configure-stage1-opcodes: maybe-configure-stage1-intl
47099 configure-stage2-opcodes: maybe-configure-stage2-intl
47100 configure-stage3-opcodes: maybe-configure-stage3-intl
47101 configure-stage4-opcodes: maybe-configure-stage4-intl
47102 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
47103 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
47104 all-opcodes: maybe-all-bfd
47106 all-stage1-opcodes: maybe-all-stage1-bfd
47107 all-stage2-opcodes: maybe-all-stage2-bfd
47108 all-stage3-opcodes: maybe-all-stage3-bfd
47109 all-stage4-opcodes: maybe-all-stage4-bfd
47110 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
47111 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
47112 all-opcodes: maybe-all-libiberty
47114 all-stage1-opcodes: maybe-all-stage1-libiberty
47115 all-stage2-opcodes: maybe-all-stage2-libiberty
47116 all-stage3-opcodes: maybe-all-stage3-libiberty
47117 all-stage4-opcodes: maybe-all-stage4-libiberty
47118 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
47119 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
47120 all-opcodes: maybe-all-intl
47122 all-stage1-opcodes: maybe-all-stage1-intl
47123 all-stage2-opcodes: maybe-all-stage2-intl
47124 all-stage3-opcodes: maybe-all-stage3-intl
47125 all-stage4-opcodes: maybe-all-stage4-intl
47126 all-stageprofile-opcodes: maybe-all-stageprofile-intl
47127 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
47128 all-dejagnu: maybe-all-tcl
47129 all-dejagnu: maybe-all-expect
47130 all-dejagnu: maybe-all-tk
47131 configure-expect: maybe-configure-tcl
47132 configure-expect: maybe-configure-tk
47133 all-expect: maybe-all-tcl
47134 all-expect: maybe-all-tk
47135 configure-itcl: maybe-configure-tcl
47136 configure-itcl: maybe-configure-tk
47137 all-itcl: maybe-all-tcl
47138 all-itcl: maybe-all-tk
47139 install-itcl: maybe-install-tcl
47140 install-strip-itcl: maybe-install-strip-tcl
47141 configure-tk: maybe-configure-tcl
47142 all-tk: maybe-all-tcl
47143 all-sid: maybe-all-libiberty
47144 all-sid: maybe-all-bfd
47145 all-sid: maybe-all-opcodes
47146 all-sid: maybe-all-tcl
47147 all-sid: maybe-all-tk
47148 install-sid: maybe-install-tcl
47149 install-strip-sid: maybe-install-strip-tcl
47150 install-sid: maybe-install-tk
47151 install-strip-sid: maybe-install-strip-tk
47152 configure-sim: maybe-configure-intl
47153 all-sim: maybe-all-intl
47154 all-sim: maybe-all-libiberty
47155 all-sim: maybe-all-bfd
47156 all-sim: maybe-all-opcodes
47157 all-sim: maybe-all-readline
47158 all-sim: maybe-configure-gdb
47159 all-fastjar: maybe-all-zlib
47160 all-fastjar: maybe-all-build-texinfo
47161 all-fastjar: maybe-all-libiberty
47162 all-bison: maybe-all-intl
47163 all-bison: maybe-all-build-texinfo
47164 all-flex: maybe-all-build-bison
47165 all-flex: maybe-all-intl
47166 all-flex: maybe-all-m4
47167 all-flex: maybe-all-build-texinfo
47168 all-m4: maybe-all-intl
47169 all-m4: maybe-all-build-texinfo
47170 configure-target-boehm-gc: maybe-all-target-libstdc++-v3
47171 configure-target-fastjar: maybe-configure-target-zlib
47172 all-target-fastjar: maybe-all-target-zlib
47173 configure-target-libgo: maybe-configure-target-libffi
47174 configure-target-libgo: maybe-all-target-libstdc++-v3
47175 all-target-libgo: maybe-all-target-libbacktrace
47176 all-target-libgo: maybe-all-target-libffi
47177 all-target-libgo: maybe-all-target-libatomic
47178 configure-target-libjava: maybe-configure-target-zlib
47179 configure-target-libjava: maybe-configure-target-boehm-gc
47180 configure-target-libjava: maybe-configure-target-libffi
47181 all-target-libjava: maybe-all-fastjar
47182 all-target-libjava: maybe-all-target-zlib
47183 all-target-libjava: maybe-all-target-boehm-gc
47184 all-target-libjava: maybe-all-target-libffi
47185 configure-target-libobjc: maybe-configure-target-boehm-gc
47186 all-target-libobjc: maybe-all-target-boehm-gc
47187 configure-target-libstdc++-v3: maybe-configure-target-libgomp
47189 configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
47190 configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
47191 configure-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
47192 configure-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
47193 configure-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
47194 configure-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
47195 configure-target-libsanitizer: maybe-all-target-libstdc++-v3
47197 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libstdc++-v3
47198 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libstdc++-v3
47199 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libstdc++-v3
47200 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libstdc++-v3
47201 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libstdc++-v3
47202 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libstdc++-v3
47203 configure-target-libvtv: maybe-all-target-libstdc++-v3
47205 configure-stage1-target-libvtv: maybe-all-stage1-target-libstdc++-v3
47206 configure-stage2-target-libvtv: maybe-all-stage2-target-libstdc++-v3
47207 configure-stage3-target-libvtv: maybe-all-stage3-target-libstdc++-v3
47208 configure-stage4-target-libvtv: maybe-all-stage4-target-libstdc++-v3
47209 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libstdc++-v3
47210 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libstdc++-v3
47211 all-target-libstdc++-v3: maybe-configure-target-libgomp
47213 all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
47214 all-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
47215 all-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
47216 all-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
47217 all-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
47218 all-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
47219 install-target-libgo: maybe-install-target-libatomic
47220 install-target-libgfortran: maybe-install-target-libquadmath
47221 install-target-libgfortran: maybe-install-target-libgcc
47222 install-target-libsanitizer: maybe-install-target-libstdc++-v3
47223 install-target-libsanitizer: maybe-install-target-libgcc
47224 install-target-libvtv: maybe-install-target-libstdc++-v3
47225 install-target-libvtv: maybe-install-target-libgcc
47226 install-target-libjava: maybe-install-target-libgcc
47227 install-target-libitm: maybe-install-target-libgcc
47228 install-target-libobjc: maybe-install-target-libgcc
47229 install-target-libstdc++-v3: maybe-install-target-libgcc
47230 all-target-libgloss: maybe-all-target-newlib
47231 all-target-winsup: maybe-all-target-libtermcap
47232 configure-target-newlib: maybe-all-binutils
47233 configure-target-newlib: maybe-all-ld
47234 configure-target-libgfortran: maybe-all-target-libquadmath
47237 # Dependencies for target modules on other target modules are
47238 # described by lang_env_dependencies; the defaults apply to anything
47239 # not mentioned there.
47242 @if gcc-bootstrap
47243 configure-stage1-target-libstdc++-v3: maybe-all-stage1-target-libgcc
47244 configure-stage2-target-libstdc++-v3: maybe-all-stage2-target-libgcc
47245 configure-stage3-target-libstdc++-v3: maybe-all-stage3-target-libgcc
47246 configure-stage4-target-libstdc++-v3: maybe-all-stage4-target-libgcc
47247 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-target-libgcc
47248 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-target-libgcc
47249 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libgcc
47250 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libgcc
47251 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libgcc
47252 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libgcc
47253 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libgcc
47254 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libgcc
47255 configure-stage1-target-libvtv: maybe-all-stage1-target-libgcc
47256 configure-stage2-target-libvtv: maybe-all-stage2-target-libgcc
47257 configure-stage3-target-libvtv: maybe-all-stage3-target-libgcc
47258 configure-stage4-target-libvtv: maybe-all-stage4-target-libgcc
47259 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libgcc
47260 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libgcc
47261 configure-stage1-target-libgomp: maybe-all-stage1-target-libgcc
47262 configure-stage2-target-libgomp: maybe-all-stage2-target-libgcc
47263 configure-stage3-target-libgomp: maybe-all-stage3-target-libgcc
47264 configure-stage4-target-libgomp: maybe-all-stage4-target-libgcc
47265 configure-stageprofile-target-libgomp: maybe-all-stageprofile-target-libgcc
47266 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc
47267 @endif gcc-bootstrap
47269 @if gcc-no-bootstrap
47270 configure-target-libstdc++-v3: maybe-all-target-libgcc
47271 configure-target-libmudflap: maybe-all-target-libgcc
47272 configure-target-libsanitizer: maybe-all-target-libgcc
47273 configure-target-libvtv: maybe-all-target-libgcc
47274 configure-target-libssp: maybe-all-target-libgcc
47275 configure-target-newlib: maybe-all-target-libgcc
47276 configure-target-libbacktrace: maybe-all-target-libgcc
47277 configure-target-libquadmath: maybe-all-target-libgcc
47278 configure-target-libgfortran: maybe-all-target-libgcc
47279 configure-target-libobjc: maybe-all-target-libgcc
47280 configure-target-libgo: maybe-all-target-libgcc
47281 configure-target-libtermcap: maybe-all-target-libgcc
47282 configure-target-winsup: maybe-all-target-libgcc
47283 configure-target-libgloss: maybe-all-target-libgcc
47284 configure-target-libffi: maybe-all-target-libgcc
47285 configure-target-libjava: maybe-all-target-libgcc
47286 configure-target-zlib: maybe-all-target-libgcc
47287 configure-target-boehm-gc: maybe-all-target-libgcc
47288 configure-target-rda: maybe-all-target-libgcc
47289 configure-target-libada: maybe-all-target-libgcc
47290 configure-target-libgomp: maybe-all-target-libgcc
47291 configure-target-libitm: maybe-all-target-libgcc
47292 configure-target-libatomic: maybe-all-target-libgcc
47293 @endif gcc-no-bootstrap
47296 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
47298 configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss
47300 configure-target-libsanitizer: maybe-all-target-newlib maybe-all-target-libgloss
47302 configure-target-libvtv: maybe-all-target-newlib maybe-all-target-libgloss
47304 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
47308 configure-target-libbacktrace: maybe-all-target-newlib maybe-all-target-libgloss
47310 configure-target-libquadmath: maybe-all-target-newlib maybe-all-target-libgloss
47312 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
47314 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
47316 configure-target-libgo: maybe-all-target-newlib maybe-all-target-libgloss
47318 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
47320 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
47323 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
47325 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
47326 configure-target-libjava: maybe-all-target-libstdc++-v3
47328 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
47330 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
47332 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
47334 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
47336 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
47338 configure-target-libitm: maybe-all-target-newlib maybe-all-target-libgloss
47339 configure-target-libitm: maybe-all-target-libstdc++-v3
47341 configure-target-libatomic: maybe-all-target-newlib maybe-all-target-libgloss
47344 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
47345 GDB_TK = @GDB_TK@
47346 INSTALL_GDB_TK = @INSTALL_GDB_TK@
47347 configure-gdb: $(CONFIGURE_GDB_TK)
47348 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
47349 install-gdb: $(INSTALL_GDB_TK)
47351 # Serialization dependencies. Host configures don't work well in parallel to
47352 # each other, due to contention over config.cache. Target configures and
47353 # build configures are similar.
47354 @serialization_dependencies@
47356 # --------------------------------
47357 # Regenerating top level configury
47358 # --------------------------------
47360 # Rebuilding Makefile.in, using autogen.
47361 AUTOGEN = autogen
47362 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
47363 cd $(srcdir) && $(AUTOGEN) Makefile.def
47365 # Rebuilding Makefile.
47366 Makefile: $(srcdir)/Makefile.in config.status
47367 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
47369 config.status: configure
47370 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
47372 # Rebuilding configure.
47373 AUTOCONF = autoconf
47374 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
47375 $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4
47376 cd $(srcdir) && $(AUTOCONF)
47378 # ------------------------------
47379 # Special directives to GNU Make
47380 # ------------------------------
47382 # Don't pass command-line variables to submakes.
47383 .NOEXPORT:
47384 MAKEOVERRIDES=
47386 # end of Makefile.in