PR c++/54538
[official-gcc.git] / Makefile.in
blob0108162d1de5aafe77b6f00982f1ab531f0482cd
2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
4 # Makefile for directory with subdirs to build.
5 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
6 # 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
7 # Free Software Foundation
9 # This file is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; either version 3 of the License, or
12 # (at your option) any later version.
14 # This program is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 # GNU General Public License for more details.
19 # You should have received a copy of the GNU General Public License
20 # along with this program; see the file COPYING3. If not see
21 # <http://www.gnu.org/licenses/>.
24 # First, test for a proper version of make, but only where one is required.
26 @if gcc
27 ifeq (,$(.VARIABLES)) # The variable .VARIABLES, new with 3.80, is never empty.
28 $(error GNU make version 3.80 or newer is required.)
29 endif
30 @endif gcc
32 # -------------------------------
33 # Standard Autoconf-set variables
34 # -------------------------------
35 VPATH=@srcdir@
37 build_alias=@build_noncanonical@
38 build_vendor=@build_vendor@
39 build_os=@build_os@
40 build=@build@
41 host_alias=@host_noncanonical@
42 host_vendor=@host_vendor@
43 host_os=@host_os@
44 host=@host@
45 target_alias=@target_noncanonical@
46 target_vendor=@target_vendor@
47 target_os=@target_os@
48 target=@target@
50 program_transform_name = @program_transform_name@
52 prefix = @prefix@
53 exec_prefix = @exec_prefix@
55 srcdir = @srcdir@
57 bindir = @bindir@
58 sbindir = @sbindir@
59 libexecdir = @libexecdir@
60 datadir = @datadir@
61 sysconfdir = @sysconfdir@
62 sharedstatedir = @sharedstatedir@
63 localstatedir = @localstatedir@
64 libdir = @libdir@
65 includedir = @includedir@
66 oldincludedir = @oldincludedir@
67 infodir = @infodir@
68 datarootdir = @datarootdir@
69 docdir = @docdir@
70 pdfdir = @pdfdir@
71 htmldir = @htmldir@
72 mandir = @mandir@
73 man1dir = $(mandir)/man1
74 man2dir = $(mandir)/man2
75 man3dir = $(mandir)/man3
76 man4dir = $(mandir)/man4
77 man5dir = $(mandir)/man5
78 man6dir = $(mandir)/man6
79 man7dir = $(mandir)/man7
80 man8dir = $(mandir)/man8
81 man9dir = $(mandir)/man9
83 INSTALL = @INSTALL@
84 INSTALL_PROGRAM = @INSTALL_PROGRAM@
85 INSTALL_SCRIPT = @INSTALL_SCRIPT@
86 INSTALL_DATA = @INSTALL_DATA@
87 LN = @LN@
88 LN_S = @LN_S@
89 MAINT = @MAINT@
90 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
91 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
93 # -------------------------------------------------
94 # Miscellaneous non-standard autoconf-set variables
95 # -------------------------------------------------
97 # The gcc driver likes to know the arguments it was configured with.
98 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
100 tooldir = @tooldir@
101 build_tooldir = @build_tooldir@
103 # This is the name of the environment variable used for the path to
104 # the libraries.
105 RPATH_ENVVAR = @RPATH_ENVVAR@
107 # On targets where RPATH_ENVVAR is PATH, a subdirectory of the GCC build path
108 # is used instead of the directory itself to avoid including built
109 # executables in PATH.
110 GCC_SHLIB_SUBDIR = @GCC_SHLIB_SUBDIR@
112 # Build programs are put under this directory.
113 BUILD_SUBDIR = @build_subdir@
114 # This is set by the configure script to the arguments to use when configuring
115 # directories built for the build system.
116 BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)"
118 # Linker flags to use on the host, for stage1 or when not
119 # bootstrapping.
120 STAGE1_LDFLAGS = @stage1_ldflags@
122 # Libraries to use on the host, for stage1 or when not bootstrapping.
123 STAGE1_LIBS = @stage1_libs@
125 # Linker flags to use for stage2 and later.
126 POSTSTAGE1_LDFLAGS = @poststage1_ldflags@
128 # Libraries to use for stage2 and later.
129 POSTSTAGE1_LIBS = @poststage1_libs@
131 # This is the list of variables to export in the environment when
132 # configuring any subdirectory. It must also be exported whenever
133 # recursing into a build directory in case that directory's Makefile
134 # re-runs configure.
135 BASE_EXPORTS = \
136 FLEX="$(FLEX)"; export FLEX; \
137 LEX="$(LEX)"; export LEX; \
138 BISON="$(BISON)"; export BISON; \
139 YACC="$(YACC)"; export YACC; \
140 M4="$(M4)"; export M4; \
141 SED="$(SED)"; export SED; \
142 AWK="$(AWK)"; export AWK; \
143 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
145 # This is the list of variables to export in the environment when
146 # configuring subdirectories for the build system.
147 BUILD_EXPORTS = \
148 $(BASE_EXPORTS) \
149 AR="$(AR_FOR_BUILD)"; export AR; \
150 AS="$(AS_FOR_BUILD)"; export AS; \
151 CC="$(CC_FOR_BUILD)"; export CC; \
152 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
153 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
154 CXX="$(CXX_FOR_BUILD)"; export CXX; \
155 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
156 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
157 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
158 GOC="$(GOC_FOR_BUILD)"; export GOC; \
159 GOCFLAGS="$(GOCFLAGS_FOR_BUILD)"; export GOCFLAGS; \
160 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
161 LD="$(LD_FOR_BUILD)"; export LD; \
162 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
163 NM="$(NM_FOR_BUILD)"; export NM; \
164 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
165 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
166 WINDMC="$(WINDMC_FOR_BUILD)"; export WINDMC;
168 # These variables must be set on the make command line for directories
169 # built for the build system to override those in BASE_FLAGS_TO_PASSS.
170 EXTRA_BUILD_FLAGS = \
171 CFLAGS="$(CFLAGS_FOR_BUILD)" \
172 LDFLAGS="$(LDFLAGS_FOR_BUILD)"
174 # This is the list of directories to built for the host system.
175 SUBDIRS = @configdirs@
176 TARGET_CONFIGDIRS = @target_configdirs@
177 # This is set by the configure script to the arguments to use when configuring
178 # directories built for the host system.
179 HOST_CONFIGARGS = @host_configargs@
180 # Host programs are put under this directory, which is . except if building
181 # with srcdir=..
182 HOST_SUBDIR = @host_subdir@
183 # This is the list of variables to export in the environment when
184 # configuring subdirectories for the host system. We need to pass
185 # some to the GCC configure because of its hybrid host/target nature.
186 HOST_EXPORTS = \
187 $(BASE_EXPORTS) \
188 CC="$(CC)"; export CC; \
189 ADA_CFLAGS="$(ADA_CFLAGS)"; export ADA_CFLAGS; \
190 CFLAGS="$(CFLAGS)"; export CFLAGS; \
191 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
192 CXX="$(CXX)"; export CXX; \
193 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
194 GCJ="$(GCJ)"; export GCJ; \
195 GFORTRAN="$(GFORTRAN)"; export GFORTRAN; \
196 GOC="$(GOC)"; export GOC; \
197 AR="$(AR)"; export AR; \
198 AS="$(AS)"; export AS; \
199 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
200 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
201 LD="$(LD)"; export LD; \
202 LDFLAGS="$(STAGE1_LDFLAGS) $(LDFLAGS)"; export LDFLAGS; \
203 NM="$(NM)"; export NM; \
204 RANLIB="$(RANLIB)"; export RANLIB; \
205 WINDRES="$(WINDRES)"; export WINDRES; \
206 WINDMC="$(WINDMC)"; export WINDMC; \
207 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
208 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
209 READELF="$(READELF)"; export READELF; \
210 AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
211 AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
212 GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \
213 LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
214 NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
215 OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
216 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
217 READELF_FOR_TARGET="$(READELF_FOR_TARGET)"; export READELF_FOR_TARGET; \
218 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
219 HOST_LIBS="$(STAGE1_LIBS)"; export HOST_LIBS; \
220 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
221 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
222 ISLINC="$(HOST_ISLINC)"; export ISLINC; \
223 CLOOGLIBS="$(HOST_CLOOGLIBS)"; export CLOOGLIBS; \
224 CLOOGINC="$(HOST_CLOOGINC)"; export CLOOGINC; \
225 LIBELFLIBS="$(HOST_LIBELFLIBS)" ; export LIBELFLIBS; \
226 LIBELFINC="$(HOST_LIBELFINC)" ; export LIBELFINC; \
227 @if gcc-bootstrap
228 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
229 @endif gcc-bootstrap
230 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
232 POSTSTAGE1_CXX_EXPORT = \
233 CXX='$(CXX)'; export CXX; \
234 CXX_FOR_BUILD='$(CXX_FOR_BUILD)'; export CXX_FOR_BUILD;
235 @if target-libstdc++-v3-bootstrap
236 # Override the above if we're bootstrapping C++.
237 POSTSTAGE1_CXX_EXPORT = \
238 CXX="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/g++$(exeext) \
239 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \
240 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
241 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
242 -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \
243 -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \
244 -I$$s/libstdc++-v3/libsupc++ \
245 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
246 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs"; \
247 export CXX; \
248 CXX_FOR_BUILD="$$CXX"; export CXX_FOR_BUILD;
249 @endif target-libstdc++-v3-bootstrap
251 # Similar, for later GCC stages.
252 POSTSTAGE1_HOST_EXPORTS = \
253 $(HOST_EXPORTS) \
254 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
255 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ \
256 $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
257 CC_FOR_BUILD="$$CC"; export CC_FOR_BUILD; \
258 $(POSTSTAGE1_CXX_EXPORT) \
259 GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind"; export GNATBIND; \
260 LDFLAGS="$(POSTSTAGE1_LDFLAGS) $(BOOT_LDFLAGS)"; export LDFLAGS; \
261 HOST_LIBS="$(POSTSTAGE1_LIBS)"; export HOST_LIBS;
263 # Target libraries are put under this directory:
264 TARGET_SUBDIR = @target_subdir@
265 # This is set by the configure script to the arguments to use when configuring
266 # directories built for the target.
267 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
268 # This is the list of variables to export in the environment when
269 # configuring subdirectories for the target system.
270 BASE_TARGET_EXPORTS = \
271 $(BASE_EXPORTS) \
272 AR="$(AR_FOR_TARGET)"; export AR; \
273 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
274 CC="$(CC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
275 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
276 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
277 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
278 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
279 GCJ="$(GCJ_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GCJ; \
280 GFORTRAN="$(GFORTRAN_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GFORTRAN; \
281 GOC="$(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GOC; \
282 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
283 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
284 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
285 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
286 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
287 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
288 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
289 READELF="$(READELF_FOR_TARGET)"; export READELF; \
290 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
291 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
292 WINDMC="$(WINDMC_FOR_TARGET)"; export WINDMC; \
293 @if gcc-bootstrap
294 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
295 @endif gcc-bootstrap
296 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
297 TARGET_CONFIGDIRS="$(TARGET_CONFIGDIRS)"; export TARGET_CONFIGDIRS;
299 RAW_CXX_TARGET_EXPORTS = \
300 $(BASE_TARGET_EXPORTS) \
301 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
302 CXX="$(RAW_CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
304 NORMAL_TARGET_EXPORTS = \
305 $(BASE_TARGET_EXPORTS) \
306 CXX="$(CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
308 # Where to find GMP
309 HOST_GMPLIBS = @gmplibs@
310 HOST_GMPINC = @gmpinc@
312 # Where to find ISL
313 HOST_ISLINC = @islinc@
315 # Where to find CLOOG
316 HOST_CLOOGLIBS = @clooglibs@
317 HOST_CLOOGINC = @clooginc@
319 # Where to find libelf
320 HOST_LIBELFLIBS = @libelflibs@
321 HOST_LIBELFINC = @libelfinc@
323 EXTRA_CONFIGARGS_LIBJAVA = @EXTRA_CONFIGARGS_LIBJAVA@
325 # ----------------------------------------------
326 # Programs producing files for the BUILD machine
327 # ----------------------------------------------
329 SHELL = @SHELL@
331 # pwd command to use. Allow user to override default by setting PWDCMD in
332 # the environment to account for automounters. The make variable must not
333 # be called PWDCMD, otherwise the value set here is passed to make
334 # subprocesses and overrides the setting from the user's environment.
335 # Don't use PWD since it is a common shell environment variable and we
336 # don't want to corrupt it.
337 PWD_COMMAND = $${PWDCMD-pwd}
339 # compilers to use to create programs which must be run in the build
340 # environment.
341 AR_FOR_BUILD = @AR_FOR_BUILD@
342 AS_FOR_BUILD = @AS_FOR_BUILD@
343 CC_FOR_BUILD = @CC_FOR_BUILD@
344 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
345 CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
346 CXX_FOR_BUILD = @CXX_FOR_BUILD@
347 DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@
348 GCJ_FOR_BUILD = @GCJ_FOR_BUILD@
349 GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@
350 GOC_FOR_BUILD = @GOC_FOR_BUILD@
351 LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
352 LD_FOR_BUILD = @LD_FOR_BUILD@
353 NM_FOR_BUILD = @NM_FOR_BUILD@
354 RANLIB_FOR_BUILD = @RANLIB_FOR_BUILD@
355 WINDMC_FOR_BUILD = @WINDMC_FOR_BUILD@
356 WINDRES_FOR_BUILD = @WINDRES_FOR_BUILD@
358 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
359 # here so that they can be overridden by Makefile fragments.
360 BUILD_PREFIX = @BUILD_PREFIX@
361 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
363 # Flags to pass to stage2 and later makes. They are defined
364 # here so that they can be overridden by Makefile fragments.
365 BOOT_CFLAGS= -g -O2
366 BOOT_LDFLAGS=
367 BOOT_ADAFLAGS=-gnatpg -gnata
369 AWK = @AWK@
370 SED = @SED@
371 BISON = @BISON@
372 YACC = @YACC@
373 FLEX = @FLEX@
374 LEX = @LEX@
375 M4 = @M4@
376 MAKEINFO = @MAKEINFO@
377 EXPECT = @EXPECT@
378 RUNTEST = @RUNTEST@
380 # This just becomes part of the MAKEINFO definition passed down to
381 # sub-makes. It lets flags be given on the command line while still
382 # using the makeinfo from the object tree.
383 # (Default to avoid splitting info files by setting the threshold high.)
384 MAKEINFOFLAGS = --split-size=5000000
386 # ---------------------------------------------
387 # Programs producing files for the HOST machine
388 # ---------------------------------------------
390 AS = @AS@
391 AR = @AR@
392 AR_FLAGS = rc
393 CC = @CC@
394 CXX = @CXX@
395 DLLTOOL = @DLLTOOL@
396 LD = @LD@
397 LIPO = @LIPO@
398 NM = @NM@
399 OBJDUMP = @OBJDUMP@
400 RANLIB = @RANLIB@
401 READELF = @READELF@
402 STRIP = @STRIP@
403 WINDRES = @WINDRES@
404 WINDMC = @WINDMC@
406 GNATBIND = @GNATBIND@
407 GNATMAKE = @GNATMAKE@
409 CFLAGS = @CFLAGS@
410 LDFLAGS = @LDFLAGS@
411 LIBCFLAGS = $(CFLAGS)
412 CXXFLAGS = @CXXFLAGS@
413 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
414 GOCFLAGS = $(CFLAGS)
416 TFLAGS =
418 # Defaults for all stages; some are overridden below.
420 STAGE_CFLAGS = $(BOOT_CFLAGS)
421 STAGE_TFLAGS = $(TFLAGS)
422 STAGE_CONFIGURE_FLAGS=@stage2_werror_flag@
425 # Defaults for stage 1; some are overridden below.
426 STAGE1_CFLAGS = $(STAGE_CFLAGS)
427 STAGE1_CXXFLAGS = $(CXXFLAGS)
428 @if target-libstdc++-v3-bootstrap
429 # Override the above if we're bootstrapping C++.
430 STAGE1_CXXFLAGS = $(STAGE1_CFLAGS)
431 @endif target-libstdc++-v3-bootstrap
432 STAGE1_TFLAGS = $(STAGE_TFLAGS)
433 STAGE1_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
435 # Defaults for stage 2; some are overridden below.
436 STAGE2_CFLAGS = $(STAGE_CFLAGS)
437 STAGE2_CXXFLAGS = $(CXXFLAGS)
438 @if target-libstdc++-v3-bootstrap
439 # Override the above if we're bootstrapping C++.
440 STAGE2_CXXFLAGS = $(STAGE2_CFLAGS)
441 @endif target-libstdc++-v3-bootstrap
442 STAGE2_TFLAGS = $(STAGE_TFLAGS)
443 STAGE2_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
445 # Defaults for stage 3; some are overridden below.
446 STAGE3_CFLAGS = $(STAGE_CFLAGS)
447 STAGE3_CXXFLAGS = $(CXXFLAGS)
448 @if target-libstdc++-v3-bootstrap
449 # Override the above if we're bootstrapping C++.
450 STAGE3_CXXFLAGS = $(STAGE3_CFLAGS)
451 @endif target-libstdc++-v3-bootstrap
452 STAGE3_TFLAGS = $(STAGE_TFLAGS)
453 STAGE3_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
455 # Defaults for stage 4; some are overridden below.
456 STAGE4_CFLAGS = $(STAGE_CFLAGS)
457 STAGE4_CXXFLAGS = $(CXXFLAGS)
458 @if target-libstdc++-v3-bootstrap
459 # Override the above if we're bootstrapping C++.
460 STAGE4_CXXFLAGS = $(STAGE4_CFLAGS)
461 @endif target-libstdc++-v3-bootstrap
462 STAGE4_TFLAGS = $(STAGE_TFLAGS)
463 STAGE4_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
465 # Defaults for stage profile; some are overridden below.
466 STAGEprofile_CFLAGS = $(STAGE_CFLAGS)
467 STAGEprofile_CXXFLAGS = $(CXXFLAGS)
468 @if target-libstdc++-v3-bootstrap
469 # Override the above if we're bootstrapping C++.
470 STAGEprofile_CXXFLAGS = $(STAGEprofile_CFLAGS)
471 @endif target-libstdc++-v3-bootstrap
472 STAGEprofile_TFLAGS = $(STAGE_TFLAGS)
473 STAGEprofile_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
475 # Defaults for stage feedback; some are overridden below.
476 STAGEfeedback_CFLAGS = $(STAGE_CFLAGS)
477 STAGEfeedback_CXXFLAGS = $(CXXFLAGS)
478 @if target-libstdc++-v3-bootstrap
479 # Override the above if we're bootstrapping C++.
480 STAGEfeedback_CXXFLAGS = $(STAGEfeedback_CFLAGS)
481 @endif target-libstdc++-v3-bootstrap
482 STAGEfeedback_TFLAGS = $(STAGE_TFLAGS)
483 STAGEfeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
486 # Only build the C compiler for stage1, because that is the only one that
487 # we can guarantee will build with the native compiler, and also it is the
488 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
489 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
490 # overrideable (for a bootstrap build stage1 also builds gcc.info).
492 STAGE1_CFLAGS = @stage1_cflags@
493 STAGE1_CHECKING = @stage1_checking@
494 STAGE1_LANGUAGES = @stage1_languages@
495 # * We force-disable intermodule optimizations, even if
496 # --enable-intermodule was passed, since the installed compiler
497 # probably can't handle them. Luckily, autoconf always respects
498 # the last argument when conflicting --enable arguments are passed.
499 # * Likewise, we force-disable coverage flags, since the installed
500 # compiler probably has never heard of them.
501 STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \
502 --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
504 STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate
505 STAGEprofile_TFLAGS = $(STAGE2_TFLAGS)
507 STAGEfeedback_CFLAGS = $(STAGE3_CFLAGS) -fprofile-use
508 STAGEfeedback_TFLAGS = $(STAGE3_TFLAGS)
510 do-compare = @do_compare@
511 do-compare3 = $(do-compare)
513 # -----------------------------------------------
514 # Programs producing files for the TARGET machine
515 # -----------------------------------------------
517 AR_FOR_TARGET=@AR_FOR_TARGET@
518 AS_FOR_TARGET=@AS_FOR_TARGET@
519 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@
521 # If GCC_FOR_TARGET is not overriden on the command line, then this
522 # variable is passed down to the gcc Makefile, where it is used to
523 # build libgcc2.a. We define it here so that it can itself be
524 # overridden on the command line.
525 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@
526 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@
527 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@
528 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@
529 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@
530 GOC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GOC_FOR_TARGET@
531 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
532 LD_FOR_TARGET=@LD_FOR_TARGET@
534 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
535 NM_FOR_TARGET=@NM_FOR_TARGET@
536 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
537 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
538 READELF_FOR_TARGET=@READELF_FOR_TARGET@
539 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
540 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
541 WINDMC_FOR_TARGET=@WINDMC_FOR_TARGET@
543 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
544 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
545 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
547 CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@
548 CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
550 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
551 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
552 LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@
553 GOCFLAGS_FOR_TARGET = -O2 -g
555 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
556 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
557 DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@
559 XGCC_FLAGS_FOR_TARGET = $(FLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)
561 # ------------------------------------
562 # Miscellaneous targets and flag lists
563 # ------------------------------------
565 # The first rule in the file had better be this one. Don't put any above it.
566 # This lives here to allow makefile fragments to contain dependencies.
567 all:
569 #### host and target specific makefile fragments come in here.
570 @target_makefile_frag@
571 @alphaieee_frag@
572 @ospace_frag@
573 @host_makefile_frag@
576 # This is the list of directories that may be needed in RPATH_ENVVAR
577 # so that programs built for the target machine work.
578 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_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-libssp
589 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
590 @endif target-libssp
592 @if target-libgomp
593 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
594 @endif target-libgomp
596 @if target-libitm
597 TARGET_LIB_PATH_libitm = $$r/$(TARGET_SUBDIR)/libitm/.libs:
598 @endif target-libitm
600 @if target-libatomic
601 TARGET_LIB_PATH_libatomic = $$r/$(TARGET_SUBDIR)/libatomic/.libs:
602 @endif target-libatomic
606 # This is the list of directories that may be needed in RPATH_ENVVAR
607 # so that programs built for the host machine work.
608 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)
610 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
611 @if gcc
612 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc$(GCC_SHLIB_SUBDIR):$$r/$(HOST_SUBDIR)/prev-gcc$(GCC_SHLIB_SUBDIR):
613 @endif gcc
616 @if gmp
617 HOST_LIB_PATH_gmp = \
618 $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
619 @endif gmp
621 @if mpfr
622 HOST_LIB_PATH_mpfr = \
623 $$r/$(HOST_SUBDIR)/mpfr/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/.libs:
624 @endif mpfr
626 @if mpc
627 HOST_LIB_PATH_mpc = \
628 $$r/$(HOST_SUBDIR)/mpc/.libs:$$r/$(HOST_SUBDIR)/prev-mpc/.libs:
629 @endif mpc
631 @if isl
632 HOST_LIB_PATH_isl = \
633 $$r/$(HOST_SUBDIR)/isl/.libs:$$r/$(HOST_SUBDIR)/prev-isl/.libs:
634 @endif isl
636 @if cloog
637 HOST_LIB_PATH_cloog = \
638 $$r/$(HOST_SUBDIR)/cloog/.libs:$$r/$(HOST_SUBDIR)/prev-cloog/.libs:
639 @endif cloog
641 @if libelf
642 HOST_LIB_PATH_libelf = \
643 $$r/$(HOST_SUBDIR)/libelf/.libs:$$r/$(HOST_SUBDIR)/prev-libelf/.libs:
644 @endif libelf
647 CXX_FOR_TARGET_FLAG_TO_PASS = \
648 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)"
649 @if target-libstdc++-v3
650 # CXX_FOR_TARGET is tricky to get right for target libs that require a
651 # functional C++ compiler. When we recurse, if we expand
652 # CXX_FOR_TARGET before configuring libstdc++-v3, we won't get
653 # libstdc++ include flags from the script. Instead, we get an
654 # -funconfigured-* word, so that we'll get errors if this invalid C++
655 # command line is used for anything, but also so that we can use the
656 # word to decide whether or not to pass on this CXX_FOR_TARGET. If we
657 # don't pass it on, sub-make will use the default definition, that
658 # re-expands it at the time of use, so we'll get it right when we need
659 # it. One potential exception is the expansion of CXX_FOR_TARGET
660 # passed down as part of CXX within TARGET_FLAGS, but this wouldn't
661 # really work, for C++ host programs can't depend on the current-stage
662 # C++ target library.
663 CXX_FOR_TARGET_FLAG_TO_PASS = \
664 $(shell if echo "$(CXX_FOR_TARGET)" | grep " -funconfigured-" > /dev/null; then :; else echo '"CXX_FOR_TARGET=$(CXX_FOR_TARGET)"'; fi)
665 @endif target-libstdc++-v3
667 # Flags to pass down to all sub-makes.
668 BASE_FLAGS_TO_PASS = \
669 "DESTDIR=$(DESTDIR)" \
670 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
671 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
672 "bindir=$(bindir)" \
673 "datadir=$(datadir)" \
674 "exec_prefix=$(exec_prefix)" \
675 "includedir=$(includedir)" \
676 "datarootdir=$(datarootdir)" \
677 "docdir=$(docdir)" \
678 "infodir=$(infodir)" \
679 "pdfdir=$(pdfdir)" \
680 "htmldir=$(htmldir)" \
681 "libdir=$(libdir)" \
682 "libexecdir=$(libexecdir)" \
683 "lispdir=$(lispdir)" \
684 "localstatedir=$(localstatedir)" \
685 "mandir=$(mandir)" \
686 "oldincludedir=$(oldincludedir)" \
687 "prefix=$(prefix)" \
688 "sbindir=$(sbindir)" \
689 "sharedstatedir=$(sharedstatedir)" \
690 "sysconfdir=$(sysconfdir)" \
691 "tooldir=$(tooldir)" \
692 "build_tooldir=$(build_tooldir)" \
693 "target_alias=$(target_alias)" \
694 "AWK=$(AWK)" \
695 "BISON=$(BISON)" \
696 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
697 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
698 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
699 "EXPECT=$(EXPECT)" \
700 "FLEX=$(FLEX)" \
701 "INSTALL=$(INSTALL)" \
702 "INSTALL_DATA=$(INSTALL_DATA)" \
703 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
704 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
705 "LDFLAGS_FOR_BUILD=$(LDFLAGS_FOR_BUILD)" \
706 "LEX=$(LEX)" \
707 "M4=$(M4)" \
708 "MAKE=$(MAKE)" \
709 "RUNTEST=$(RUNTEST)" \
710 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
711 "SED=$(SED)" \
712 "SHELL=$(SHELL)" \
713 "YACC=$(YACC)" \
714 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
715 "ADA_CFLAGS=$(ADA_CFLAGS)" \
716 "AR_FLAGS=$(AR_FLAGS)" \
717 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
718 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
719 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
720 "CFLAGS=$(CFLAGS)" \
721 "CXXFLAGS=$(CXXFLAGS)" \
722 "LDFLAGS=$(LDFLAGS)" \
723 "LIBCFLAGS=$(LIBCFLAGS)" \
724 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
725 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
726 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
727 "GNATBIND=$(GNATBIND)" \
728 "GNATMAKE=$(GNATMAKE)" \
729 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
730 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
731 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
732 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
733 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
734 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
735 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
736 "FLAGS_FOR_TARGET=$(FLAGS_FOR_TARGET)" \
737 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
738 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
739 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
740 "GOCFLAGS_FOR_TARGET=$(GOCFLAGS_FOR_TARGET)" \
741 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
742 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
743 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
744 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
745 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
746 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
747 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
748 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
749 "READELF_FOR_TARGET=$(READELF_FOR_TARGET)" \
750 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
751 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
752 "WINDMC_FOR_TARGET=$(WINDMC_FOR_TARGET)" \
753 "BUILD_CONFIG=$(BUILD_CONFIG)" \
754 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
755 "LEAN=$(LEAN)" \
756 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
757 "STAGE1_CXXFLAGS=$(STAGE1_CXXFLAGS)" \
758 "STAGE1_TFLAGS=$(STAGE1_TFLAGS)" \
759 "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \
760 "STAGE2_CXXFLAGS=$(STAGE2_CXXFLAGS)" \
761 "STAGE2_TFLAGS=$(STAGE2_TFLAGS)" \
762 "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \
763 "STAGE3_CXXFLAGS=$(STAGE3_CXXFLAGS)" \
764 "STAGE3_TFLAGS=$(STAGE3_TFLAGS)" \
765 "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \
766 "STAGE4_CXXFLAGS=$(STAGE4_CXXFLAGS)" \
767 "STAGE4_TFLAGS=$(STAGE4_TFLAGS)" \
768 "STAGEprofile_CFLAGS=$(STAGEprofile_CFLAGS)" \
769 "STAGEprofile_CXXFLAGS=$(STAGEprofile_CXXFLAGS)" \
770 "STAGEprofile_TFLAGS=$(STAGEprofile_TFLAGS)" \
771 "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \
772 "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \
773 "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \
774 $(CXX_FOR_TARGET_FLAG_TO_PASS) \
775 "TFLAGS=$(TFLAGS)" \
776 "CONFIG_SHELL=$(SHELL)" \
777 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
779 # We leave this in just in case, but it is not needed anymore.
780 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
782 # Flags to pass down to most sub-makes, in which we're building with
783 # the host environment.
784 EXTRA_HOST_FLAGS = \
785 'AR=$(AR)' \
786 'AS=$(AS)' \
787 'CC=$(CC)' \
788 'CXX=$(CXX)' \
789 'DLLTOOL=$(DLLTOOL)' \
790 'GCJ=$(GCJ)' \
791 'GFORTRAN=$(GFORTRAN)' \
792 'GOC=$(GOC)' \
793 'LD=$(LD)' \
794 'LIPO=$(LIPO)' \
795 'NM=$(NM)' \
796 'OBJDUMP=$(OBJDUMP)' \
797 'RANLIB=$(RANLIB)' \
798 'READELF=$(READELF)' \
799 'STRIP=$(STRIP)' \
800 'WINDRES=$(WINDRES)' \
801 'WINDMC=$(WINDMC)'
803 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
805 # Flags to pass to stage2 and later makes.
807 POSTSTAGE1_FLAGS_TO_PASS = \
808 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
809 CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \
810 GNATBIND="$${GNATBIND}" \
811 LDFLAGS="$${LDFLAGS}" \
812 HOST_LIBS="$${HOST_LIBS}" \
813 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
815 # Flags to pass down to makes which are built with the target environment.
816 # The double $ decreases the length of the command line; those variables
817 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
818 # *_CFLAGS_FOR_TARGET variables are not passed down and most often empty,
819 # so we expand them here.
820 EXTRA_TARGET_FLAGS = \
821 'AR=$$(AR_FOR_TARGET)' \
822 'AS=$(COMPILER_AS_FOR_TARGET)' \
823 'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
824 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
825 'CXX=$$(CXX_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
826 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
827 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
828 'GCJ=$$(GCJ_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
829 'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
830 'GOC=$$(GOC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
831 'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \
832 'LD=$(COMPILER_LD_FOR_TARGET)' \
833 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
834 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
835 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
836 'NM=$(COMPILER_NM_FOR_TARGET)' \
837 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
838 'RANLIB=$$(RANLIB_FOR_TARGET)' \
839 'READELF=$$(READELF_FOR_TARGET)' \
840 'WINDRES=$$(WINDRES_FOR_TARGET)' \
841 'WINDMC=$$(WINDMC_FOR_TARGET)' \
842 'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \
843 "TFLAGS=$$TFLAGS"
845 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
847 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
848 # unfortunately needs the native compiler and the target ar and
849 # ranlib.
850 # If any variables are added here, they must be added to do-*, below.
851 # The BUILD_* variables are a special case, which are used for the gcc
852 # cross-building scheme.
853 EXTRA_GCC_FLAGS = \
854 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
855 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
856 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
858 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
860 @if gcc
861 BUILD_CONFIG = @BUILD_CONFIG@
862 ifneq ($(BUILD_CONFIG),)
863 include $(foreach CONFIG, $(BUILD_CONFIG), $(srcdir)/config/$(CONFIG).mk)
864 endif
865 @endif gcc
867 .PHONY: configure-host
868 configure-host: \
869 maybe-configure-bfd \
870 maybe-configure-opcodes \
871 maybe-configure-binutils \
872 maybe-configure-bison \
873 maybe-configure-cgen \
874 maybe-configure-dejagnu \
875 maybe-configure-etc \
876 maybe-configure-fastjar \
877 maybe-configure-fixincludes \
878 maybe-configure-flex \
879 maybe-configure-gas \
880 maybe-configure-gcc \
881 maybe-configure-gmp \
882 maybe-configure-mpfr \
883 maybe-configure-mpc \
884 maybe-configure-isl \
885 maybe-configure-cloog \
886 maybe-configure-libelf \
887 maybe-configure-gold \
888 maybe-configure-gprof \
889 maybe-configure-intl \
890 maybe-configure-tcl \
891 maybe-configure-itcl \
892 maybe-configure-ld \
893 maybe-configure-libcpp \
894 maybe-configure-libdecnumber \
895 maybe-configure-libgui \
896 maybe-configure-libiberty \
897 maybe-configure-libiconv \
898 maybe-configure-m4 \
899 maybe-configure-readline \
900 maybe-configure-sid \
901 maybe-configure-sim \
902 maybe-configure-texinfo \
903 maybe-configure-zlib \
904 maybe-configure-gdb \
905 maybe-configure-expect \
906 maybe-configure-guile \
907 maybe-configure-tk \
908 maybe-configure-libtermcap \
909 maybe-configure-utils \
910 maybe-configure-gnattools \
911 maybe-configure-lto-plugin
912 .PHONY: configure-target
913 configure-target: \
914 maybe-configure-target-libstdc++-v3 \
915 maybe-configure-target-libmudflap \
916 maybe-configure-target-libssp \
917 maybe-configure-target-newlib \
918 maybe-configure-target-libgcc \
919 maybe-configure-target-libquadmath \
920 maybe-configure-target-libgfortran \
921 maybe-configure-target-libobjc \
922 maybe-configure-target-libgo \
923 maybe-configure-target-libtermcap \
924 maybe-configure-target-winsup \
925 maybe-configure-target-libgloss \
926 maybe-configure-target-libffi \
927 maybe-configure-target-libjava \
928 maybe-configure-target-zlib \
929 maybe-configure-target-boehm-gc \
930 maybe-configure-target-rda \
931 maybe-configure-target-libada \
932 maybe-configure-target-libgomp \
933 maybe-configure-target-libitm \
934 maybe-configure-target-libatomic
936 # The target built for a native non-bootstrap build.
937 .PHONY: all
938 all:
939 @if gcc-bootstrap
940 [ -f stage_final ] || echo stage3 > stage_final
941 @r=`${PWD_COMMAND}`; export r; \
942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
943 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
944 @endif gcc-bootstrap
945 @: $(MAKE); $(unstage)
946 @r=`${PWD_COMMAND}`; export r; \
947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
948 @if gcc-bootstrap
949 if [ -f stage_last ]; then \
950 TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \
951 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
952 else \
953 @endif gcc-bootstrap
954 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
955 @if gcc-bootstrap
957 fi \
958 @endif gcc-bootstrap
959 && :
961 .PHONY: all-build
963 all-build: maybe-all-build-libiberty
964 all-build: maybe-all-build-bison
965 all-build: maybe-all-build-flex
966 all-build: maybe-all-build-m4
967 all-build: maybe-all-build-texinfo
968 all-build: maybe-all-build-fixincludes
970 .PHONY: all-host
972 @if bfd-no-bootstrap
973 all-host: maybe-all-bfd
974 @endif bfd-no-bootstrap
975 @if opcodes-no-bootstrap
976 all-host: maybe-all-opcodes
977 @endif opcodes-no-bootstrap
978 @if binutils-no-bootstrap
979 all-host: maybe-all-binutils
980 @endif binutils-no-bootstrap
981 all-host: maybe-all-bison
982 all-host: maybe-all-cgen
983 all-host: maybe-all-dejagnu
984 all-host: maybe-all-etc
985 all-host: maybe-all-fastjar
986 all-host: maybe-all-fixincludes
987 all-host: maybe-all-flex
988 @if gas-no-bootstrap
989 all-host: maybe-all-gas
990 @endif gas-no-bootstrap
991 @if gcc-no-bootstrap
992 all-host: maybe-all-gcc
993 @endif gcc-no-bootstrap
994 @if gmp-no-bootstrap
995 all-host: maybe-all-gmp
996 @endif gmp-no-bootstrap
997 @if mpfr-no-bootstrap
998 all-host: maybe-all-mpfr
999 @endif mpfr-no-bootstrap
1000 @if mpc-no-bootstrap
1001 all-host: maybe-all-mpc
1002 @endif mpc-no-bootstrap
1003 @if isl-no-bootstrap
1004 all-host: maybe-all-isl
1005 @endif isl-no-bootstrap
1006 @if cloog-no-bootstrap
1007 all-host: maybe-all-cloog
1008 @endif cloog-no-bootstrap
1009 @if libelf-no-bootstrap
1010 all-host: maybe-all-libelf
1011 @endif libelf-no-bootstrap
1012 @if gold-no-bootstrap
1013 all-host: maybe-all-gold
1014 @endif gold-no-bootstrap
1015 all-host: maybe-all-gprof
1016 @if intl-no-bootstrap
1017 all-host: maybe-all-intl
1018 @endif intl-no-bootstrap
1019 all-host: maybe-all-tcl
1020 all-host: maybe-all-itcl
1021 @if ld-no-bootstrap
1022 all-host: maybe-all-ld
1023 @endif ld-no-bootstrap
1024 @if libcpp-no-bootstrap
1025 all-host: maybe-all-libcpp
1026 @endif libcpp-no-bootstrap
1027 @if libdecnumber-no-bootstrap
1028 all-host: maybe-all-libdecnumber
1029 @endif libdecnumber-no-bootstrap
1030 all-host: maybe-all-libgui
1031 @if libiberty-no-bootstrap
1032 all-host: maybe-all-libiberty
1033 @endif libiberty-no-bootstrap
1034 all-host: maybe-all-libiconv
1035 all-host: maybe-all-m4
1036 all-host: maybe-all-readline
1037 all-host: maybe-all-sid
1038 all-host: maybe-all-sim
1039 all-host: maybe-all-texinfo
1040 @if zlib-no-bootstrap
1041 all-host: maybe-all-zlib
1042 @endif zlib-no-bootstrap
1043 all-host: maybe-all-gdb
1044 all-host: maybe-all-expect
1045 all-host: maybe-all-guile
1046 all-host: maybe-all-tk
1047 all-host: maybe-all-libtermcap
1048 all-host: maybe-all-utils
1049 all-host: maybe-all-gnattools
1050 @if lto-plugin-no-bootstrap
1051 all-host: maybe-all-lto-plugin
1052 @endif lto-plugin-no-bootstrap
1054 .PHONY: all-target
1056 @if target-libstdc++-v3-no-bootstrap
1057 all-target: maybe-all-target-libstdc++-v3
1058 @endif target-libstdc++-v3-no-bootstrap
1059 all-target: maybe-all-target-libmudflap
1060 all-target: maybe-all-target-libssp
1061 all-target: maybe-all-target-newlib
1062 @if target-libgcc-no-bootstrap
1063 all-target: maybe-all-target-libgcc
1064 @endif target-libgcc-no-bootstrap
1065 all-target: maybe-all-target-libquadmath
1066 all-target: maybe-all-target-libgfortran
1067 all-target: maybe-all-target-libobjc
1068 all-target: maybe-all-target-libgo
1069 all-target: maybe-all-target-libtermcap
1070 all-target: maybe-all-target-winsup
1071 all-target: maybe-all-target-libgloss
1072 all-target: maybe-all-target-libffi
1073 all-target: maybe-all-target-libjava
1074 all-target: maybe-all-target-zlib
1075 all-target: maybe-all-target-boehm-gc
1076 all-target: maybe-all-target-rda
1077 all-target: maybe-all-target-libada
1078 @if target-libgomp-no-bootstrap
1079 all-target: maybe-all-target-libgomp
1080 @endif target-libgomp-no-bootstrap
1081 all-target: maybe-all-target-libitm
1082 all-target: maybe-all-target-libatomic
1084 # Do a target for all the subdirectories. A ``make do-X'' will do a
1085 # ``make X'' in all subdirectories (because, in general, there is a
1086 # dependency (below) of X upon do-X, a ``make X'' will also do this,
1087 # but it may do additional work as well).
1089 .PHONY: do-info
1090 do-info:
1091 @: $(MAKE); $(unstage)
1092 @r=`${PWD_COMMAND}`; export r; \
1093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1094 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
1095 info-target
1098 .PHONY: info-host
1100 info-host: maybe-info-bfd
1101 info-host: maybe-info-opcodes
1102 info-host: maybe-info-binutils
1103 info-host: maybe-info-bison
1104 info-host: maybe-info-cgen
1105 info-host: maybe-info-dejagnu
1106 info-host: maybe-info-etc
1107 info-host: maybe-info-fastjar
1108 info-host: maybe-info-fixincludes
1109 info-host: maybe-info-flex
1110 info-host: maybe-info-gas
1111 info-host: maybe-info-gcc
1112 info-host: maybe-info-gmp
1113 info-host: maybe-info-mpfr
1114 info-host: maybe-info-mpc
1115 info-host: maybe-info-isl
1116 info-host: maybe-info-cloog
1117 info-host: maybe-info-libelf
1118 info-host: maybe-info-gold
1119 info-host: maybe-info-gprof
1120 info-host: maybe-info-intl
1121 info-host: maybe-info-tcl
1122 info-host: maybe-info-itcl
1123 info-host: maybe-info-ld
1124 info-host: maybe-info-libcpp
1125 info-host: maybe-info-libdecnumber
1126 info-host: maybe-info-libgui
1127 info-host: maybe-info-libiberty
1128 info-host: maybe-info-libiconv
1129 info-host: maybe-info-m4
1130 info-host: maybe-info-readline
1131 info-host: maybe-info-sid
1132 info-host: maybe-info-sim
1133 info-host: maybe-info-texinfo
1134 info-host: maybe-info-zlib
1135 info-host: maybe-info-gdb
1136 info-host: maybe-info-expect
1137 info-host: maybe-info-guile
1138 info-host: maybe-info-tk
1139 info-host: maybe-info-libtermcap
1140 info-host: maybe-info-utils
1141 info-host: maybe-info-gnattools
1142 info-host: maybe-info-lto-plugin
1144 .PHONY: info-target
1146 info-target: maybe-info-target-libstdc++-v3
1147 info-target: maybe-info-target-libmudflap
1148 info-target: maybe-info-target-libssp
1149 info-target: maybe-info-target-newlib
1150 info-target: maybe-info-target-libgcc
1151 info-target: maybe-info-target-libquadmath
1152 info-target: maybe-info-target-libgfortran
1153 info-target: maybe-info-target-libobjc
1154 info-target: maybe-info-target-libgo
1155 info-target: maybe-info-target-libtermcap
1156 info-target: maybe-info-target-winsup
1157 info-target: maybe-info-target-libgloss
1158 info-target: maybe-info-target-libffi
1159 info-target: maybe-info-target-libjava
1160 info-target: maybe-info-target-zlib
1161 info-target: maybe-info-target-boehm-gc
1162 info-target: maybe-info-target-rda
1163 info-target: maybe-info-target-libada
1164 info-target: maybe-info-target-libgomp
1165 info-target: maybe-info-target-libitm
1166 info-target: maybe-info-target-libatomic
1168 .PHONY: do-dvi
1169 do-dvi:
1170 @: $(MAKE); $(unstage)
1171 @r=`${PWD_COMMAND}`; export r; \
1172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1173 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1174 dvi-target
1177 .PHONY: dvi-host
1179 dvi-host: maybe-dvi-bfd
1180 dvi-host: maybe-dvi-opcodes
1181 dvi-host: maybe-dvi-binutils
1182 dvi-host: maybe-dvi-bison
1183 dvi-host: maybe-dvi-cgen
1184 dvi-host: maybe-dvi-dejagnu
1185 dvi-host: maybe-dvi-etc
1186 dvi-host: maybe-dvi-fastjar
1187 dvi-host: maybe-dvi-fixincludes
1188 dvi-host: maybe-dvi-flex
1189 dvi-host: maybe-dvi-gas
1190 dvi-host: maybe-dvi-gcc
1191 dvi-host: maybe-dvi-gmp
1192 dvi-host: maybe-dvi-mpfr
1193 dvi-host: maybe-dvi-mpc
1194 dvi-host: maybe-dvi-isl
1195 dvi-host: maybe-dvi-cloog
1196 dvi-host: maybe-dvi-libelf
1197 dvi-host: maybe-dvi-gold
1198 dvi-host: maybe-dvi-gprof
1199 dvi-host: maybe-dvi-intl
1200 dvi-host: maybe-dvi-tcl
1201 dvi-host: maybe-dvi-itcl
1202 dvi-host: maybe-dvi-ld
1203 dvi-host: maybe-dvi-libcpp
1204 dvi-host: maybe-dvi-libdecnumber
1205 dvi-host: maybe-dvi-libgui
1206 dvi-host: maybe-dvi-libiberty
1207 dvi-host: maybe-dvi-libiconv
1208 dvi-host: maybe-dvi-m4
1209 dvi-host: maybe-dvi-readline
1210 dvi-host: maybe-dvi-sid
1211 dvi-host: maybe-dvi-sim
1212 dvi-host: maybe-dvi-texinfo
1213 dvi-host: maybe-dvi-zlib
1214 dvi-host: maybe-dvi-gdb
1215 dvi-host: maybe-dvi-expect
1216 dvi-host: maybe-dvi-guile
1217 dvi-host: maybe-dvi-tk
1218 dvi-host: maybe-dvi-libtermcap
1219 dvi-host: maybe-dvi-utils
1220 dvi-host: maybe-dvi-gnattools
1221 dvi-host: maybe-dvi-lto-plugin
1223 .PHONY: dvi-target
1225 dvi-target: maybe-dvi-target-libstdc++-v3
1226 dvi-target: maybe-dvi-target-libmudflap
1227 dvi-target: maybe-dvi-target-libssp
1228 dvi-target: maybe-dvi-target-newlib
1229 dvi-target: maybe-dvi-target-libgcc
1230 dvi-target: maybe-dvi-target-libquadmath
1231 dvi-target: maybe-dvi-target-libgfortran
1232 dvi-target: maybe-dvi-target-libobjc
1233 dvi-target: maybe-dvi-target-libgo
1234 dvi-target: maybe-dvi-target-libtermcap
1235 dvi-target: maybe-dvi-target-winsup
1236 dvi-target: maybe-dvi-target-libgloss
1237 dvi-target: maybe-dvi-target-libffi
1238 dvi-target: maybe-dvi-target-libjava
1239 dvi-target: maybe-dvi-target-zlib
1240 dvi-target: maybe-dvi-target-boehm-gc
1241 dvi-target: maybe-dvi-target-rda
1242 dvi-target: maybe-dvi-target-libada
1243 dvi-target: maybe-dvi-target-libgomp
1244 dvi-target: maybe-dvi-target-libitm
1245 dvi-target: maybe-dvi-target-libatomic
1247 .PHONY: do-pdf
1248 do-pdf:
1249 @: $(MAKE); $(unstage)
1250 @r=`${PWD_COMMAND}`; export r; \
1251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1252 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1253 pdf-target
1256 .PHONY: pdf-host
1258 pdf-host: maybe-pdf-bfd
1259 pdf-host: maybe-pdf-opcodes
1260 pdf-host: maybe-pdf-binutils
1261 pdf-host: maybe-pdf-bison
1262 pdf-host: maybe-pdf-cgen
1263 pdf-host: maybe-pdf-dejagnu
1264 pdf-host: maybe-pdf-etc
1265 pdf-host: maybe-pdf-fastjar
1266 pdf-host: maybe-pdf-fixincludes
1267 pdf-host: maybe-pdf-flex
1268 pdf-host: maybe-pdf-gas
1269 pdf-host: maybe-pdf-gcc
1270 pdf-host: maybe-pdf-gmp
1271 pdf-host: maybe-pdf-mpfr
1272 pdf-host: maybe-pdf-mpc
1273 pdf-host: maybe-pdf-isl
1274 pdf-host: maybe-pdf-cloog
1275 pdf-host: maybe-pdf-libelf
1276 pdf-host: maybe-pdf-gold
1277 pdf-host: maybe-pdf-gprof
1278 pdf-host: maybe-pdf-intl
1279 pdf-host: maybe-pdf-tcl
1280 pdf-host: maybe-pdf-itcl
1281 pdf-host: maybe-pdf-ld
1282 pdf-host: maybe-pdf-libcpp
1283 pdf-host: maybe-pdf-libdecnumber
1284 pdf-host: maybe-pdf-libgui
1285 pdf-host: maybe-pdf-libiberty
1286 pdf-host: maybe-pdf-libiconv
1287 pdf-host: maybe-pdf-m4
1288 pdf-host: maybe-pdf-readline
1289 pdf-host: maybe-pdf-sid
1290 pdf-host: maybe-pdf-sim
1291 pdf-host: maybe-pdf-texinfo
1292 pdf-host: maybe-pdf-zlib
1293 pdf-host: maybe-pdf-gdb
1294 pdf-host: maybe-pdf-expect
1295 pdf-host: maybe-pdf-guile
1296 pdf-host: maybe-pdf-tk
1297 pdf-host: maybe-pdf-libtermcap
1298 pdf-host: maybe-pdf-utils
1299 pdf-host: maybe-pdf-gnattools
1300 pdf-host: maybe-pdf-lto-plugin
1302 .PHONY: pdf-target
1304 pdf-target: maybe-pdf-target-libstdc++-v3
1305 pdf-target: maybe-pdf-target-libmudflap
1306 pdf-target: maybe-pdf-target-libssp
1307 pdf-target: maybe-pdf-target-newlib
1308 pdf-target: maybe-pdf-target-libgcc
1309 pdf-target: maybe-pdf-target-libquadmath
1310 pdf-target: maybe-pdf-target-libgfortran
1311 pdf-target: maybe-pdf-target-libobjc
1312 pdf-target: maybe-pdf-target-libgo
1313 pdf-target: maybe-pdf-target-libtermcap
1314 pdf-target: maybe-pdf-target-winsup
1315 pdf-target: maybe-pdf-target-libgloss
1316 pdf-target: maybe-pdf-target-libffi
1317 pdf-target: maybe-pdf-target-libjava
1318 pdf-target: maybe-pdf-target-zlib
1319 pdf-target: maybe-pdf-target-boehm-gc
1320 pdf-target: maybe-pdf-target-rda
1321 pdf-target: maybe-pdf-target-libada
1322 pdf-target: maybe-pdf-target-libgomp
1323 pdf-target: maybe-pdf-target-libitm
1324 pdf-target: maybe-pdf-target-libatomic
1326 .PHONY: do-html
1327 do-html:
1328 @: $(MAKE); $(unstage)
1329 @r=`${PWD_COMMAND}`; export r; \
1330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1331 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1332 html-target
1335 .PHONY: html-host
1337 html-host: maybe-html-bfd
1338 html-host: maybe-html-opcodes
1339 html-host: maybe-html-binutils
1340 html-host: maybe-html-bison
1341 html-host: maybe-html-cgen
1342 html-host: maybe-html-dejagnu
1343 html-host: maybe-html-etc
1344 html-host: maybe-html-fastjar
1345 html-host: maybe-html-fixincludes
1346 html-host: maybe-html-flex
1347 html-host: maybe-html-gas
1348 html-host: maybe-html-gcc
1349 html-host: maybe-html-gmp
1350 html-host: maybe-html-mpfr
1351 html-host: maybe-html-mpc
1352 html-host: maybe-html-isl
1353 html-host: maybe-html-cloog
1354 html-host: maybe-html-libelf
1355 html-host: maybe-html-gold
1356 html-host: maybe-html-gprof
1357 html-host: maybe-html-intl
1358 html-host: maybe-html-tcl
1359 html-host: maybe-html-itcl
1360 html-host: maybe-html-ld
1361 html-host: maybe-html-libcpp
1362 html-host: maybe-html-libdecnumber
1363 html-host: maybe-html-libgui
1364 html-host: maybe-html-libiberty
1365 html-host: maybe-html-libiconv
1366 html-host: maybe-html-m4
1367 html-host: maybe-html-readline
1368 html-host: maybe-html-sid
1369 html-host: maybe-html-sim
1370 html-host: maybe-html-texinfo
1371 html-host: maybe-html-zlib
1372 html-host: maybe-html-gdb
1373 html-host: maybe-html-expect
1374 html-host: maybe-html-guile
1375 html-host: maybe-html-tk
1376 html-host: maybe-html-libtermcap
1377 html-host: maybe-html-utils
1378 html-host: maybe-html-gnattools
1379 html-host: maybe-html-lto-plugin
1381 .PHONY: html-target
1383 html-target: maybe-html-target-libstdc++-v3
1384 html-target: maybe-html-target-libmudflap
1385 html-target: maybe-html-target-libssp
1386 html-target: maybe-html-target-newlib
1387 html-target: maybe-html-target-libgcc
1388 html-target: maybe-html-target-libquadmath
1389 html-target: maybe-html-target-libgfortran
1390 html-target: maybe-html-target-libobjc
1391 html-target: maybe-html-target-libgo
1392 html-target: maybe-html-target-libtermcap
1393 html-target: maybe-html-target-winsup
1394 html-target: maybe-html-target-libgloss
1395 html-target: maybe-html-target-libffi
1396 html-target: maybe-html-target-libjava
1397 html-target: maybe-html-target-zlib
1398 html-target: maybe-html-target-boehm-gc
1399 html-target: maybe-html-target-rda
1400 html-target: maybe-html-target-libada
1401 html-target: maybe-html-target-libgomp
1402 html-target: maybe-html-target-libitm
1403 html-target: maybe-html-target-libatomic
1405 .PHONY: do-TAGS
1406 do-TAGS:
1407 @: $(MAKE); $(unstage)
1408 @r=`${PWD_COMMAND}`; export r; \
1409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1410 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1411 TAGS-target
1414 .PHONY: TAGS-host
1416 TAGS-host: maybe-TAGS-bfd
1417 TAGS-host: maybe-TAGS-opcodes
1418 TAGS-host: maybe-TAGS-binutils
1419 TAGS-host: maybe-TAGS-bison
1420 TAGS-host: maybe-TAGS-cgen
1421 TAGS-host: maybe-TAGS-dejagnu
1422 TAGS-host: maybe-TAGS-etc
1423 TAGS-host: maybe-TAGS-fastjar
1424 TAGS-host: maybe-TAGS-fixincludes
1425 TAGS-host: maybe-TAGS-flex
1426 TAGS-host: maybe-TAGS-gas
1427 TAGS-host: maybe-TAGS-gcc
1428 TAGS-host: maybe-TAGS-gmp
1429 TAGS-host: maybe-TAGS-mpfr
1430 TAGS-host: maybe-TAGS-mpc
1431 TAGS-host: maybe-TAGS-isl
1432 TAGS-host: maybe-TAGS-cloog
1433 TAGS-host: maybe-TAGS-libelf
1434 TAGS-host: maybe-TAGS-gold
1435 TAGS-host: maybe-TAGS-gprof
1436 TAGS-host: maybe-TAGS-intl
1437 TAGS-host: maybe-TAGS-tcl
1438 TAGS-host: maybe-TAGS-itcl
1439 TAGS-host: maybe-TAGS-ld
1440 TAGS-host: maybe-TAGS-libcpp
1441 TAGS-host: maybe-TAGS-libdecnumber
1442 TAGS-host: maybe-TAGS-libgui
1443 TAGS-host: maybe-TAGS-libiberty
1444 TAGS-host: maybe-TAGS-libiconv
1445 TAGS-host: maybe-TAGS-m4
1446 TAGS-host: maybe-TAGS-readline
1447 TAGS-host: maybe-TAGS-sid
1448 TAGS-host: maybe-TAGS-sim
1449 TAGS-host: maybe-TAGS-texinfo
1450 TAGS-host: maybe-TAGS-zlib
1451 TAGS-host: maybe-TAGS-gdb
1452 TAGS-host: maybe-TAGS-expect
1453 TAGS-host: maybe-TAGS-guile
1454 TAGS-host: maybe-TAGS-tk
1455 TAGS-host: maybe-TAGS-libtermcap
1456 TAGS-host: maybe-TAGS-utils
1457 TAGS-host: maybe-TAGS-gnattools
1458 TAGS-host: maybe-TAGS-lto-plugin
1460 .PHONY: TAGS-target
1462 TAGS-target: maybe-TAGS-target-libstdc++-v3
1463 TAGS-target: maybe-TAGS-target-libmudflap
1464 TAGS-target: maybe-TAGS-target-libssp
1465 TAGS-target: maybe-TAGS-target-newlib
1466 TAGS-target: maybe-TAGS-target-libgcc
1467 TAGS-target: maybe-TAGS-target-libquadmath
1468 TAGS-target: maybe-TAGS-target-libgfortran
1469 TAGS-target: maybe-TAGS-target-libobjc
1470 TAGS-target: maybe-TAGS-target-libgo
1471 TAGS-target: maybe-TAGS-target-libtermcap
1472 TAGS-target: maybe-TAGS-target-winsup
1473 TAGS-target: maybe-TAGS-target-libgloss
1474 TAGS-target: maybe-TAGS-target-libffi
1475 TAGS-target: maybe-TAGS-target-libjava
1476 TAGS-target: maybe-TAGS-target-zlib
1477 TAGS-target: maybe-TAGS-target-boehm-gc
1478 TAGS-target: maybe-TAGS-target-rda
1479 TAGS-target: maybe-TAGS-target-libada
1480 TAGS-target: maybe-TAGS-target-libgomp
1481 TAGS-target: maybe-TAGS-target-libitm
1482 TAGS-target: maybe-TAGS-target-libatomic
1484 .PHONY: do-install-info
1485 do-install-info:
1486 @: $(MAKE); $(unstage)
1487 @r=`${PWD_COMMAND}`; export r; \
1488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1489 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1490 install-info-target
1493 .PHONY: install-info-host
1495 install-info-host: maybe-install-info-bfd
1496 install-info-host: maybe-install-info-opcodes
1497 install-info-host: maybe-install-info-binutils
1498 install-info-host: maybe-install-info-bison
1499 install-info-host: maybe-install-info-cgen
1500 install-info-host: maybe-install-info-dejagnu
1501 install-info-host: maybe-install-info-etc
1502 install-info-host: maybe-install-info-fastjar
1503 install-info-host: maybe-install-info-fixincludes
1504 install-info-host: maybe-install-info-flex
1505 install-info-host: maybe-install-info-gas
1506 install-info-host: maybe-install-info-gcc
1507 install-info-host: maybe-install-info-gmp
1508 install-info-host: maybe-install-info-mpfr
1509 install-info-host: maybe-install-info-mpc
1510 install-info-host: maybe-install-info-isl
1511 install-info-host: maybe-install-info-cloog
1512 install-info-host: maybe-install-info-libelf
1513 install-info-host: maybe-install-info-gold
1514 install-info-host: maybe-install-info-gprof
1515 install-info-host: maybe-install-info-intl
1516 install-info-host: maybe-install-info-tcl
1517 install-info-host: maybe-install-info-itcl
1518 install-info-host: maybe-install-info-ld
1519 install-info-host: maybe-install-info-libcpp
1520 install-info-host: maybe-install-info-libdecnumber
1521 install-info-host: maybe-install-info-libgui
1522 install-info-host: maybe-install-info-libiberty
1523 install-info-host: maybe-install-info-libiconv
1524 install-info-host: maybe-install-info-m4
1525 install-info-host: maybe-install-info-readline
1526 install-info-host: maybe-install-info-sid
1527 install-info-host: maybe-install-info-sim
1528 install-info-host: maybe-install-info-texinfo
1529 install-info-host: maybe-install-info-zlib
1530 install-info-host: maybe-install-info-gdb
1531 install-info-host: maybe-install-info-expect
1532 install-info-host: maybe-install-info-guile
1533 install-info-host: maybe-install-info-tk
1534 install-info-host: maybe-install-info-libtermcap
1535 install-info-host: maybe-install-info-utils
1536 install-info-host: maybe-install-info-gnattools
1537 install-info-host: maybe-install-info-lto-plugin
1539 .PHONY: install-info-target
1541 install-info-target: maybe-install-info-target-libstdc++-v3
1542 install-info-target: maybe-install-info-target-libmudflap
1543 install-info-target: maybe-install-info-target-libssp
1544 install-info-target: maybe-install-info-target-newlib
1545 install-info-target: maybe-install-info-target-libgcc
1546 install-info-target: maybe-install-info-target-libquadmath
1547 install-info-target: maybe-install-info-target-libgfortran
1548 install-info-target: maybe-install-info-target-libobjc
1549 install-info-target: maybe-install-info-target-libgo
1550 install-info-target: maybe-install-info-target-libtermcap
1551 install-info-target: maybe-install-info-target-winsup
1552 install-info-target: maybe-install-info-target-libgloss
1553 install-info-target: maybe-install-info-target-libffi
1554 install-info-target: maybe-install-info-target-libjava
1555 install-info-target: maybe-install-info-target-zlib
1556 install-info-target: maybe-install-info-target-boehm-gc
1557 install-info-target: maybe-install-info-target-rda
1558 install-info-target: maybe-install-info-target-libada
1559 install-info-target: maybe-install-info-target-libgomp
1560 install-info-target: maybe-install-info-target-libitm
1561 install-info-target: maybe-install-info-target-libatomic
1563 .PHONY: do-install-pdf
1564 do-install-pdf:
1565 @: $(MAKE); $(unstage)
1566 @r=`${PWD_COMMAND}`; export r; \
1567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1568 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
1569 install-pdf-target
1572 .PHONY: install-pdf-host
1574 install-pdf-host: maybe-install-pdf-bfd
1575 install-pdf-host: maybe-install-pdf-opcodes
1576 install-pdf-host: maybe-install-pdf-binutils
1577 install-pdf-host: maybe-install-pdf-bison
1578 install-pdf-host: maybe-install-pdf-cgen
1579 install-pdf-host: maybe-install-pdf-dejagnu
1580 install-pdf-host: maybe-install-pdf-etc
1581 install-pdf-host: maybe-install-pdf-fastjar
1582 install-pdf-host: maybe-install-pdf-fixincludes
1583 install-pdf-host: maybe-install-pdf-flex
1584 install-pdf-host: maybe-install-pdf-gas
1585 install-pdf-host: maybe-install-pdf-gcc
1586 install-pdf-host: maybe-install-pdf-gmp
1587 install-pdf-host: maybe-install-pdf-mpfr
1588 install-pdf-host: maybe-install-pdf-mpc
1589 install-pdf-host: maybe-install-pdf-isl
1590 install-pdf-host: maybe-install-pdf-cloog
1591 install-pdf-host: maybe-install-pdf-libelf
1592 install-pdf-host: maybe-install-pdf-gold
1593 install-pdf-host: maybe-install-pdf-gprof
1594 install-pdf-host: maybe-install-pdf-intl
1595 install-pdf-host: maybe-install-pdf-tcl
1596 install-pdf-host: maybe-install-pdf-itcl
1597 install-pdf-host: maybe-install-pdf-ld
1598 install-pdf-host: maybe-install-pdf-libcpp
1599 install-pdf-host: maybe-install-pdf-libdecnumber
1600 install-pdf-host: maybe-install-pdf-libgui
1601 install-pdf-host: maybe-install-pdf-libiberty
1602 install-pdf-host: maybe-install-pdf-libiconv
1603 install-pdf-host: maybe-install-pdf-m4
1604 install-pdf-host: maybe-install-pdf-readline
1605 install-pdf-host: maybe-install-pdf-sid
1606 install-pdf-host: maybe-install-pdf-sim
1607 install-pdf-host: maybe-install-pdf-texinfo
1608 install-pdf-host: maybe-install-pdf-zlib
1609 install-pdf-host: maybe-install-pdf-gdb
1610 install-pdf-host: maybe-install-pdf-expect
1611 install-pdf-host: maybe-install-pdf-guile
1612 install-pdf-host: maybe-install-pdf-tk
1613 install-pdf-host: maybe-install-pdf-libtermcap
1614 install-pdf-host: maybe-install-pdf-utils
1615 install-pdf-host: maybe-install-pdf-gnattools
1616 install-pdf-host: maybe-install-pdf-lto-plugin
1618 .PHONY: install-pdf-target
1620 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
1621 install-pdf-target: maybe-install-pdf-target-libmudflap
1622 install-pdf-target: maybe-install-pdf-target-libssp
1623 install-pdf-target: maybe-install-pdf-target-newlib
1624 install-pdf-target: maybe-install-pdf-target-libgcc
1625 install-pdf-target: maybe-install-pdf-target-libquadmath
1626 install-pdf-target: maybe-install-pdf-target-libgfortran
1627 install-pdf-target: maybe-install-pdf-target-libobjc
1628 install-pdf-target: maybe-install-pdf-target-libgo
1629 install-pdf-target: maybe-install-pdf-target-libtermcap
1630 install-pdf-target: maybe-install-pdf-target-winsup
1631 install-pdf-target: maybe-install-pdf-target-libgloss
1632 install-pdf-target: maybe-install-pdf-target-libffi
1633 install-pdf-target: maybe-install-pdf-target-libjava
1634 install-pdf-target: maybe-install-pdf-target-zlib
1635 install-pdf-target: maybe-install-pdf-target-boehm-gc
1636 install-pdf-target: maybe-install-pdf-target-rda
1637 install-pdf-target: maybe-install-pdf-target-libada
1638 install-pdf-target: maybe-install-pdf-target-libgomp
1639 install-pdf-target: maybe-install-pdf-target-libitm
1640 install-pdf-target: maybe-install-pdf-target-libatomic
1642 .PHONY: do-install-html
1643 do-install-html:
1644 @: $(MAKE); $(unstage)
1645 @r=`${PWD_COMMAND}`; export r; \
1646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1647 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1648 install-html-target
1651 .PHONY: install-html-host
1653 install-html-host: maybe-install-html-bfd
1654 install-html-host: maybe-install-html-opcodes
1655 install-html-host: maybe-install-html-binutils
1656 install-html-host: maybe-install-html-bison
1657 install-html-host: maybe-install-html-cgen
1658 install-html-host: maybe-install-html-dejagnu
1659 install-html-host: maybe-install-html-etc
1660 install-html-host: maybe-install-html-fastjar
1661 install-html-host: maybe-install-html-fixincludes
1662 install-html-host: maybe-install-html-flex
1663 install-html-host: maybe-install-html-gas
1664 install-html-host: maybe-install-html-gcc
1665 install-html-host: maybe-install-html-gmp
1666 install-html-host: maybe-install-html-mpfr
1667 install-html-host: maybe-install-html-mpc
1668 install-html-host: maybe-install-html-isl
1669 install-html-host: maybe-install-html-cloog
1670 install-html-host: maybe-install-html-libelf
1671 install-html-host: maybe-install-html-gold
1672 install-html-host: maybe-install-html-gprof
1673 install-html-host: maybe-install-html-intl
1674 install-html-host: maybe-install-html-tcl
1675 install-html-host: maybe-install-html-itcl
1676 install-html-host: maybe-install-html-ld
1677 install-html-host: maybe-install-html-libcpp
1678 install-html-host: maybe-install-html-libdecnumber
1679 install-html-host: maybe-install-html-libgui
1680 install-html-host: maybe-install-html-libiberty
1681 install-html-host: maybe-install-html-libiconv
1682 install-html-host: maybe-install-html-m4
1683 install-html-host: maybe-install-html-readline
1684 install-html-host: maybe-install-html-sid
1685 install-html-host: maybe-install-html-sim
1686 install-html-host: maybe-install-html-texinfo
1687 install-html-host: maybe-install-html-zlib
1688 install-html-host: maybe-install-html-gdb
1689 install-html-host: maybe-install-html-expect
1690 install-html-host: maybe-install-html-guile
1691 install-html-host: maybe-install-html-tk
1692 install-html-host: maybe-install-html-libtermcap
1693 install-html-host: maybe-install-html-utils
1694 install-html-host: maybe-install-html-gnattools
1695 install-html-host: maybe-install-html-lto-plugin
1697 .PHONY: install-html-target
1699 install-html-target: maybe-install-html-target-libstdc++-v3
1700 install-html-target: maybe-install-html-target-libmudflap
1701 install-html-target: maybe-install-html-target-libssp
1702 install-html-target: maybe-install-html-target-newlib
1703 install-html-target: maybe-install-html-target-libgcc
1704 install-html-target: maybe-install-html-target-libquadmath
1705 install-html-target: maybe-install-html-target-libgfortran
1706 install-html-target: maybe-install-html-target-libobjc
1707 install-html-target: maybe-install-html-target-libgo
1708 install-html-target: maybe-install-html-target-libtermcap
1709 install-html-target: maybe-install-html-target-winsup
1710 install-html-target: maybe-install-html-target-libgloss
1711 install-html-target: maybe-install-html-target-libffi
1712 install-html-target: maybe-install-html-target-libjava
1713 install-html-target: maybe-install-html-target-zlib
1714 install-html-target: maybe-install-html-target-boehm-gc
1715 install-html-target: maybe-install-html-target-rda
1716 install-html-target: maybe-install-html-target-libada
1717 install-html-target: maybe-install-html-target-libgomp
1718 install-html-target: maybe-install-html-target-libitm
1719 install-html-target: maybe-install-html-target-libatomic
1721 .PHONY: do-installcheck
1722 do-installcheck:
1723 @: $(MAKE); $(unstage)
1724 @r=`${PWD_COMMAND}`; export r; \
1725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1726 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1727 installcheck-target
1730 .PHONY: installcheck-host
1732 installcheck-host: maybe-installcheck-bfd
1733 installcheck-host: maybe-installcheck-opcodes
1734 installcheck-host: maybe-installcheck-binutils
1735 installcheck-host: maybe-installcheck-bison
1736 installcheck-host: maybe-installcheck-cgen
1737 installcheck-host: maybe-installcheck-dejagnu
1738 installcheck-host: maybe-installcheck-etc
1739 installcheck-host: maybe-installcheck-fastjar
1740 installcheck-host: maybe-installcheck-fixincludes
1741 installcheck-host: maybe-installcheck-flex
1742 installcheck-host: maybe-installcheck-gas
1743 installcheck-host: maybe-installcheck-gcc
1744 installcheck-host: maybe-installcheck-gmp
1745 installcheck-host: maybe-installcheck-mpfr
1746 installcheck-host: maybe-installcheck-mpc
1747 installcheck-host: maybe-installcheck-isl
1748 installcheck-host: maybe-installcheck-cloog
1749 installcheck-host: maybe-installcheck-libelf
1750 installcheck-host: maybe-installcheck-gold
1751 installcheck-host: maybe-installcheck-gprof
1752 installcheck-host: maybe-installcheck-intl
1753 installcheck-host: maybe-installcheck-tcl
1754 installcheck-host: maybe-installcheck-itcl
1755 installcheck-host: maybe-installcheck-ld
1756 installcheck-host: maybe-installcheck-libcpp
1757 installcheck-host: maybe-installcheck-libdecnumber
1758 installcheck-host: maybe-installcheck-libgui
1759 installcheck-host: maybe-installcheck-libiberty
1760 installcheck-host: maybe-installcheck-libiconv
1761 installcheck-host: maybe-installcheck-m4
1762 installcheck-host: maybe-installcheck-readline
1763 installcheck-host: maybe-installcheck-sid
1764 installcheck-host: maybe-installcheck-sim
1765 installcheck-host: maybe-installcheck-texinfo
1766 installcheck-host: maybe-installcheck-zlib
1767 installcheck-host: maybe-installcheck-gdb
1768 installcheck-host: maybe-installcheck-expect
1769 installcheck-host: maybe-installcheck-guile
1770 installcheck-host: maybe-installcheck-tk
1771 installcheck-host: maybe-installcheck-libtermcap
1772 installcheck-host: maybe-installcheck-utils
1773 installcheck-host: maybe-installcheck-gnattools
1774 installcheck-host: maybe-installcheck-lto-plugin
1776 .PHONY: installcheck-target
1778 installcheck-target: maybe-installcheck-target-libstdc++-v3
1779 installcheck-target: maybe-installcheck-target-libmudflap
1780 installcheck-target: maybe-installcheck-target-libssp
1781 installcheck-target: maybe-installcheck-target-newlib
1782 installcheck-target: maybe-installcheck-target-libgcc
1783 installcheck-target: maybe-installcheck-target-libquadmath
1784 installcheck-target: maybe-installcheck-target-libgfortran
1785 installcheck-target: maybe-installcheck-target-libobjc
1786 installcheck-target: maybe-installcheck-target-libgo
1787 installcheck-target: maybe-installcheck-target-libtermcap
1788 installcheck-target: maybe-installcheck-target-winsup
1789 installcheck-target: maybe-installcheck-target-libgloss
1790 installcheck-target: maybe-installcheck-target-libffi
1791 installcheck-target: maybe-installcheck-target-libjava
1792 installcheck-target: maybe-installcheck-target-zlib
1793 installcheck-target: maybe-installcheck-target-boehm-gc
1794 installcheck-target: maybe-installcheck-target-rda
1795 installcheck-target: maybe-installcheck-target-libada
1796 installcheck-target: maybe-installcheck-target-libgomp
1797 installcheck-target: maybe-installcheck-target-libitm
1798 installcheck-target: maybe-installcheck-target-libatomic
1800 .PHONY: do-mostlyclean
1801 do-mostlyclean:
1802 @: $(MAKE); $(unstage)
1803 @r=`${PWD_COMMAND}`; export r; \
1804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1805 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1806 mostlyclean-target
1809 .PHONY: mostlyclean-host
1811 mostlyclean-host: maybe-mostlyclean-bfd
1812 mostlyclean-host: maybe-mostlyclean-opcodes
1813 mostlyclean-host: maybe-mostlyclean-binutils
1814 mostlyclean-host: maybe-mostlyclean-bison
1815 mostlyclean-host: maybe-mostlyclean-cgen
1816 mostlyclean-host: maybe-mostlyclean-dejagnu
1817 mostlyclean-host: maybe-mostlyclean-etc
1818 mostlyclean-host: maybe-mostlyclean-fastjar
1819 mostlyclean-host: maybe-mostlyclean-fixincludes
1820 mostlyclean-host: maybe-mostlyclean-flex
1821 mostlyclean-host: maybe-mostlyclean-gas
1822 mostlyclean-host: maybe-mostlyclean-gcc
1823 mostlyclean-host: maybe-mostlyclean-gmp
1824 mostlyclean-host: maybe-mostlyclean-mpfr
1825 mostlyclean-host: maybe-mostlyclean-mpc
1826 mostlyclean-host: maybe-mostlyclean-isl
1827 mostlyclean-host: maybe-mostlyclean-cloog
1828 mostlyclean-host: maybe-mostlyclean-libelf
1829 mostlyclean-host: maybe-mostlyclean-gold
1830 mostlyclean-host: maybe-mostlyclean-gprof
1831 mostlyclean-host: maybe-mostlyclean-intl
1832 mostlyclean-host: maybe-mostlyclean-tcl
1833 mostlyclean-host: maybe-mostlyclean-itcl
1834 mostlyclean-host: maybe-mostlyclean-ld
1835 mostlyclean-host: maybe-mostlyclean-libcpp
1836 mostlyclean-host: maybe-mostlyclean-libdecnumber
1837 mostlyclean-host: maybe-mostlyclean-libgui
1838 mostlyclean-host: maybe-mostlyclean-libiberty
1839 mostlyclean-host: maybe-mostlyclean-libiconv
1840 mostlyclean-host: maybe-mostlyclean-m4
1841 mostlyclean-host: maybe-mostlyclean-readline
1842 mostlyclean-host: maybe-mostlyclean-sid
1843 mostlyclean-host: maybe-mostlyclean-sim
1844 mostlyclean-host: maybe-mostlyclean-texinfo
1845 mostlyclean-host: maybe-mostlyclean-zlib
1846 mostlyclean-host: maybe-mostlyclean-gdb
1847 mostlyclean-host: maybe-mostlyclean-expect
1848 mostlyclean-host: maybe-mostlyclean-guile
1849 mostlyclean-host: maybe-mostlyclean-tk
1850 mostlyclean-host: maybe-mostlyclean-libtermcap
1851 mostlyclean-host: maybe-mostlyclean-utils
1852 mostlyclean-host: maybe-mostlyclean-gnattools
1853 mostlyclean-host: maybe-mostlyclean-lto-plugin
1855 .PHONY: mostlyclean-target
1857 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
1858 mostlyclean-target: maybe-mostlyclean-target-libmudflap
1859 mostlyclean-target: maybe-mostlyclean-target-libssp
1860 mostlyclean-target: maybe-mostlyclean-target-newlib
1861 mostlyclean-target: maybe-mostlyclean-target-libgcc
1862 mostlyclean-target: maybe-mostlyclean-target-libquadmath
1863 mostlyclean-target: maybe-mostlyclean-target-libgfortran
1864 mostlyclean-target: maybe-mostlyclean-target-libobjc
1865 mostlyclean-target: maybe-mostlyclean-target-libgo
1866 mostlyclean-target: maybe-mostlyclean-target-libtermcap
1867 mostlyclean-target: maybe-mostlyclean-target-winsup
1868 mostlyclean-target: maybe-mostlyclean-target-libgloss
1869 mostlyclean-target: maybe-mostlyclean-target-libffi
1870 mostlyclean-target: maybe-mostlyclean-target-libjava
1871 mostlyclean-target: maybe-mostlyclean-target-zlib
1872 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
1873 mostlyclean-target: maybe-mostlyclean-target-rda
1874 mostlyclean-target: maybe-mostlyclean-target-libada
1875 mostlyclean-target: maybe-mostlyclean-target-libgomp
1876 mostlyclean-target: maybe-mostlyclean-target-libitm
1877 mostlyclean-target: maybe-mostlyclean-target-libatomic
1879 .PHONY: do-clean
1880 do-clean:
1881 @: $(MAKE); $(unstage)
1882 @r=`${PWD_COMMAND}`; export r; \
1883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1884 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1885 clean-target
1888 .PHONY: clean-host
1890 clean-host: maybe-clean-bfd
1891 clean-host: maybe-clean-opcodes
1892 clean-host: maybe-clean-binutils
1893 clean-host: maybe-clean-bison
1894 clean-host: maybe-clean-cgen
1895 clean-host: maybe-clean-dejagnu
1896 clean-host: maybe-clean-etc
1897 clean-host: maybe-clean-fastjar
1898 clean-host: maybe-clean-fixincludes
1899 clean-host: maybe-clean-flex
1900 clean-host: maybe-clean-gas
1901 clean-host: maybe-clean-gcc
1902 clean-host: maybe-clean-gmp
1903 clean-host: maybe-clean-mpfr
1904 clean-host: maybe-clean-mpc
1905 clean-host: maybe-clean-isl
1906 clean-host: maybe-clean-cloog
1907 clean-host: maybe-clean-libelf
1908 clean-host: maybe-clean-gold
1909 clean-host: maybe-clean-gprof
1910 clean-host: maybe-clean-intl
1911 clean-host: maybe-clean-tcl
1912 clean-host: maybe-clean-itcl
1913 clean-host: maybe-clean-ld
1914 clean-host: maybe-clean-libcpp
1915 clean-host: maybe-clean-libdecnumber
1916 clean-host: maybe-clean-libgui
1917 clean-host: maybe-clean-libiberty
1918 clean-host: maybe-clean-libiconv
1919 clean-host: maybe-clean-m4
1920 clean-host: maybe-clean-readline
1921 clean-host: maybe-clean-sid
1922 clean-host: maybe-clean-sim
1923 clean-host: maybe-clean-texinfo
1924 clean-host: maybe-clean-zlib
1925 clean-host: maybe-clean-gdb
1926 clean-host: maybe-clean-expect
1927 clean-host: maybe-clean-guile
1928 clean-host: maybe-clean-tk
1929 clean-host: maybe-clean-libtermcap
1930 clean-host: maybe-clean-utils
1931 clean-host: maybe-clean-gnattools
1932 clean-host: maybe-clean-lto-plugin
1934 .PHONY: clean-target
1936 clean-target: maybe-clean-target-libstdc++-v3
1937 clean-target: maybe-clean-target-libmudflap
1938 clean-target: maybe-clean-target-libssp
1939 clean-target: maybe-clean-target-newlib
1940 clean-target: maybe-clean-target-libgcc
1941 clean-target: maybe-clean-target-libquadmath
1942 clean-target: maybe-clean-target-libgfortran
1943 clean-target: maybe-clean-target-libobjc
1944 clean-target: maybe-clean-target-libgo
1945 clean-target: maybe-clean-target-libtermcap
1946 clean-target: maybe-clean-target-winsup
1947 clean-target: maybe-clean-target-libgloss
1948 clean-target: maybe-clean-target-libffi
1949 clean-target: maybe-clean-target-libjava
1950 clean-target: maybe-clean-target-zlib
1951 clean-target: maybe-clean-target-boehm-gc
1952 clean-target: maybe-clean-target-rda
1953 clean-target: maybe-clean-target-libada
1954 clean-target: maybe-clean-target-libgomp
1955 clean-target: maybe-clean-target-libitm
1956 clean-target: maybe-clean-target-libatomic
1958 .PHONY: do-distclean
1959 do-distclean:
1960 @: $(MAKE); $(unstage)
1961 @r=`${PWD_COMMAND}`; export r; \
1962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1963 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
1964 distclean-target
1967 .PHONY: distclean-host
1969 distclean-host: maybe-distclean-bfd
1970 distclean-host: maybe-distclean-opcodes
1971 distclean-host: maybe-distclean-binutils
1972 distclean-host: maybe-distclean-bison
1973 distclean-host: maybe-distclean-cgen
1974 distclean-host: maybe-distclean-dejagnu
1975 distclean-host: maybe-distclean-etc
1976 distclean-host: maybe-distclean-fastjar
1977 distclean-host: maybe-distclean-fixincludes
1978 distclean-host: maybe-distclean-flex
1979 distclean-host: maybe-distclean-gas
1980 distclean-host: maybe-distclean-gcc
1981 distclean-host: maybe-distclean-gmp
1982 distclean-host: maybe-distclean-mpfr
1983 distclean-host: maybe-distclean-mpc
1984 distclean-host: maybe-distclean-isl
1985 distclean-host: maybe-distclean-cloog
1986 distclean-host: maybe-distclean-libelf
1987 distclean-host: maybe-distclean-gold
1988 distclean-host: maybe-distclean-gprof
1989 distclean-host: maybe-distclean-intl
1990 distclean-host: maybe-distclean-tcl
1991 distclean-host: maybe-distclean-itcl
1992 distclean-host: maybe-distclean-ld
1993 distclean-host: maybe-distclean-libcpp
1994 distclean-host: maybe-distclean-libdecnumber
1995 distclean-host: maybe-distclean-libgui
1996 distclean-host: maybe-distclean-libiberty
1997 distclean-host: maybe-distclean-libiconv
1998 distclean-host: maybe-distclean-m4
1999 distclean-host: maybe-distclean-readline
2000 distclean-host: maybe-distclean-sid
2001 distclean-host: maybe-distclean-sim
2002 distclean-host: maybe-distclean-texinfo
2003 distclean-host: maybe-distclean-zlib
2004 distclean-host: maybe-distclean-gdb
2005 distclean-host: maybe-distclean-expect
2006 distclean-host: maybe-distclean-guile
2007 distclean-host: maybe-distclean-tk
2008 distclean-host: maybe-distclean-libtermcap
2009 distclean-host: maybe-distclean-utils
2010 distclean-host: maybe-distclean-gnattools
2011 distclean-host: maybe-distclean-lto-plugin
2013 .PHONY: distclean-target
2015 distclean-target: maybe-distclean-target-libstdc++-v3
2016 distclean-target: maybe-distclean-target-libmudflap
2017 distclean-target: maybe-distclean-target-libssp
2018 distclean-target: maybe-distclean-target-newlib
2019 distclean-target: maybe-distclean-target-libgcc
2020 distclean-target: maybe-distclean-target-libquadmath
2021 distclean-target: maybe-distclean-target-libgfortran
2022 distclean-target: maybe-distclean-target-libobjc
2023 distclean-target: maybe-distclean-target-libgo
2024 distclean-target: maybe-distclean-target-libtermcap
2025 distclean-target: maybe-distclean-target-winsup
2026 distclean-target: maybe-distclean-target-libgloss
2027 distclean-target: maybe-distclean-target-libffi
2028 distclean-target: maybe-distclean-target-libjava
2029 distclean-target: maybe-distclean-target-zlib
2030 distclean-target: maybe-distclean-target-boehm-gc
2031 distclean-target: maybe-distclean-target-rda
2032 distclean-target: maybe-distclean-target-libada
2033 distclean-target: maybe-distclean-target-libgomp
2034 distclean-target: maybe-distclean-target-libitm
2035 distclean-target: maybe-distclean-target-libatomic
2037 .PHONY: do-maintainer-clean
2038 do-maintainer-clean:
2039 @: $(MAKE); $(unstage)
2040 @r=`${PWD_COMMAND}`; export r; \
2041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2042 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2043 maintainer-clean-target
2046 .PHONY: maintainer-clean-host
2048 maintainer-clean-host: maybe-maintainer-clean-bfd
2049 maintainer-clean-host: maybe-maintainer-clean-opcodes
2050 maintainer-clean-host: maybe-maintainer-clean-binutils
2051 maintainer-clean-host: maybe-maintainer-clean-bison
2052 maintainer-clean-host: maybe-maintainer-clean-cgen
2053 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2054 maintainer-clean-host: maybe-maintainer-clean-etc
2055 maintainer-clean-host: maybe-maintainer-clean-fastjar
2056 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2057 maintainer-clean-host: maybe-maintainer-clean-flex
2058 maintainer-clean-host: maybe-maintainer-clean-gas
2059 maintainer-clean-host: maybe-maintainer-clean-gcc
2060 maintainer-clean-host: maybe-maintainer-clean-gmp
2061 maintainer-clean-host: maybe-maintainer-clean-mpfr
2062 maintainer-clean-host: maybe-maintainer-clean-mpc
2063 maintainer-clean-host: maybe-maintainer-clean-isl
2064 maintainer-clean-host: maybe-maintainer-clean-cloog
2065 maintainer-clean-host: maybe-maintainer-clean-libelf
2066 maintainer-clean-host: maybe-maintainer-clean-gold
2067 maintainer-clean-host: maybe-maintainer-clean-gprof
2068 maintainer-clean-host: maybe-maintainer-clean-intl
2069 maintainer-clean-host: maybe-maintainer-clean-tcl
2070 maintainer-clean-host: maybe-maintainer-clean-itcl
2071 maintainer-clean-host: maybe-maintainer-clean-ld
2072 maintainer-clean-host: maybe-maintainer-clean-libcpp
2073 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2074 maintainer-clean-host: maybe-maintainer-clean-libgui
2075 maintainer-clean-host: maybe-maintainer-clean-libiberty
2076 maintainer-clean-host: maybe-maintainer-clean-libiconv
2077 maintainer-clean-host: maybe-maintainer-clean-m4
2078 maintainer-clean-host: maybe-maintainer-clean-readline
2079 maintainer-clean-host: maybe-maintainer-clean-sid
2080 maintainer-clean-host: maybe-maintainer-clean-sim
2081 maintainer-clean-host: maybe-maintainer-clean-texinfo
2082 maintainer-clean-host: maybe-maintainer-clean-zlib
2083 maintainer-clean-host: maybe-maintainer-clean-gdb
2084 maintainer-clean-host: maybe-maintainer-clean-expect
2085 maintainer-clean-host: maybe-maintainer-clean-guile
2086 maintainer-clean-host: maybe-maintainer-clean-tk
2087 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2088 maintainer-clean-host: maybe-maintainer-clean-utils
2089 maintainer-clean-host: maybe-maintainer-clean-gnattools
2090 maintainer-clean-host: maybe-maintainer-clean-lto-plugin
2092 .PHONY: maintainer-clean-target
2094 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2095 maintainer-clean-target: maybe-maintainer-clean-target-libmudflap
2096 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2097 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2098 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2099 maintainer-clean-target: maybe-maintainer-clean-target-libquadmath
2100 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2101 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2102 maintainer-clean-target: maybe-maintainer-clean-target-libgo
2103 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2104 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2105 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2106 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2107 maintainer-clean-target: maybe-maintainer-clean-target-libjava
2108 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2109 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
2110 maintainer-clean-target: maybe-maintainer-clean-target-rda
2111 maintainer-clean-target: maybe-maintainer-clean-target-libada
2112 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2113 maintainer-clean-target: maybe-maintainer-clean-target-libitm
2114 maintainer-clean-target: maybe-maintainer-clean-target-libatomic
2117 # Here are the targets which correspond to the do-X targets.
2119 .PHONY: info installcheck dvi pdf html
2120 .PHONY: install-info install-pdf install-html
2121 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2122 .PHONY: local-clean local-distclean local-maintainer-clean
2123 info: do-info
2124 installcheck: do-installcheck
2125 dvi: do-dvi
2126 pdf: do-pdf
2127 html: do-html
2129 # Make sure makeinfo is built before we do a `make info', if we're
2130 # in fact building texinfo.
2131 do-info: maybe-all-texinfo
2133 install-info: do-install-info dir.info
2134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2135 if [ -f dir.info ] ; then \
2136 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
2137 else true ; fi
2139 install-pdf: do-install-pdf
2141 install-html: do-install-html
2143 local-clean:
2144 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2146 local-distclean:
2147 -rm -f Makefile config.status config.cache mh-frag mt-frag
2148 -rm -f maybedep.tmp serdep.tmp
2149 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2150 rm -rf $(TARGET_SUBDIR); \
2151 else true; fi
2152 -rm -rf $(BUILD_SUBDIR)
2153 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2154 rm -rf $(HOST_SUBDIR); \
2155 else true; fi
2156 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2157 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2158 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2159 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2160 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
2161 -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
2163 local-maintainer-clean:
2164 @echo "This command is intended for maintainers to use;"
2165 @echo "it deletes files that may require special tools to rebuild."
2167 clean: do-clean local-clean
2168 mostlyclean: do-mostlyclean local-clean
2169 distclean: do-distclean local-clean local-distclean
2170 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2171 maintainer-clean: local-distclean
2172 realclean: maintainer-clean
2174 # Check target.
2176 .PHONY: check do-check
2177 check: do-check
2179 # Only include modules actually being configured and built.
2180 .PHONY: check-host
2181 check-host: \
2182 maybe-check-bfd \
2183 maybe-check-opcodes \
2184 maybe-check-binutils \
2185 maybe-check-bison \
2186 maybe-check-cgen \
2187 maybe-check-dejagnu \
2188 maybe-check-etc \
2189 maybe-check-fastjar \
2190 maybe-check-fixincludes \
2191 maybe-check-flex \
2192 maybe-check-gas \
2193 maybe-check-gcc \
2194 maybe-check-gmp \
2195 maybe-check-mpfr \
2196 maybe-check-mpc \
2197 maybe-check-isl \
2198 maybe-check-cloog \
2199 maybe-check-libelf \
2200 maybe-check-gold \
2201 maybe-check-gprof \
2202 maybe-check-intl \
2203 maybe-check-tcl \
2204 maybe-check-itcl \
2205 maybe-check-ld \
2206 maybe-check-libcpp \
2207 maybe-check-libdecnumber \
2208 maybe-check-libgui \
2209 maybe-check-libiberty \
2210 maybe-check-libiconv \
2211 maybe-check-m4 \
2212 maybe-check-readline \
2213 maybe-check-sid \
2214 maybe-check-sim \
2215 maybe-check-texinfo \
2216 maybe-check-zlib \
2217 maybe-check-gdb \
2218 maybe-check-expect \
2219 maybe-check-guile \
2220 maybe-check-tk \
2221 maybe-check-libtermcap \
2222 maybe-check-utils \
2223 maybe-check-gnattools \
2224 maybe-check-lto-plugin
2226 .PHONY: check-target
2227 check-target: \
2228 maybe-check-target-libstdc++-v3 \
2229 maybe-check-target-libmudflap \
2230 maybe-check-target-libssp \
2231 maybe-check-target-newlib \
2232 maybe-check-target-libgcc \
2233 maybe-check-target-libquadmath \
2234 maybe-check-target-libgfortran \
2235 maybe-check-target-libobjc \
2236 maybe-check-target-libgo \
2237 maybe-check-target-libtermcap \
2238 maybe-check-target-winsup \
2239 maybe-check-target-libgloss \
2240 maybe-check-target-libffi \
2241 maybe-check-target-libjava \
2242 maybe-check-target-zlib \
2243 maybe-check-target-boehm-gc \
2244 maybe-check-target-rda \
2245 maybe-check-target-libada \
2246 maybe-check-target-libgomp \
2247 maybe-check-target-libitm \
2248 maybe-check-target-libatomic
2250 do-check:
2251 @: $(MAKE); $(unstage)
2252 @r=`${PWD_COMMAND}`; export r; \
2253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2254 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2256 # Automated reporting of test results.
2258 warning.log: build.log
2259 $(srcdir)/contrib/warn_summary build.log > $@
2261 mail-report.log:
2262 if test x'$(BOOT_CFLAGS)' != x''; then \
2263 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2264 fi; \
2265 $(srcdir)/contrib/test_summary -t >$@
2266 chmod +x $@
2267 echo If you really want to send e-mail, run ./$@ now
2269 mail-report-with-warnings.log: warning.log
2270 if test x'$(BOOT_CFLAGS)' != x''; then \
2271 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2272 fi; \
2273 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2274 chmod +x $@
2275 echo If you really want to send e-mail, run ./$@ now
2277 # Installation targets.
2279 .PHONY: install uninstall
2280 install:
2281 @: $(MAKE); $(unstage)
2282 @r=`${PWD_COMMAND}`; export r; \
2283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2284 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2286 .PHONY: install-host-nogcc
2287 install-host-nogcc: \
2288 maybe-install-bfd \
2289 maybe-install-opcodes \
2290 maybe-install-binutils \
2291 maybe-install-bison \
2292 maybe-install-cgen \
2293 maybe-install-dejagnu \
2294 maybe-install-etc \
2295 maybe-install-fastjar \
2296 maybe-install-fixincludes \
2297 maybe-install-flex \
2298 maybe-install-gas \
2299 maybe-install-gmp \
2300 maybe-install-mpfr \
2301 maybe-install-mpc \
2302 maybe-install-isl \
2303 maybe-install-cloog \
2304 maybe-install-libelf \
2305 maybe-install-gold \
2306 maybe-install-gprof \
2307 maybe-install-intl \
2308 maybe-install-tcl \
2309 maybe-install-itcl \
2310 maybe-install-ld \
2311 maybe-install-libcpp \
2312 maybe-install-libdecnumber \
2313 maybe-install-libgui \
2314 maybe-install-libiberty \
2315 maybe-install-libiconv \
2316 maybe-install-m4 \
2317 maybe-install-readline \
2318 maybe-install-sid \
2319 maybe-install-sim \
2320 maybe-install-texinfo \
2321 maybe-install-zlib \
2322 maybe-install-gdb \
2323 maybe-install-expect \
2324 maybe-install-guile \
2325 maybe-install-tk \
2326 maybe-install-libtermcap \
2327 maybe-install-utils \
2328 maybe-install-gnattools \
2329 maybe-install-lto-plugin
2331 .PHONY: install-host
2332 install-host: \
2333 maybe-install-bfd \
2334 maybe-install-opcodes \
2335 maybe-install-binutils \
2336 maybe-install-bison \
2337 maybe-install-cgen \
2338 maybe-install-dejagnu \
2339 maybe-install-etc \
2340 maybe-install-fastjar \
2341 maybe-install-fixincludes \
2342 maybe-install-flex \
2343 maybe-install-gas \
2344 maybe-install-gcc \
2345 maybe-install-gmp \
2346 maybe-install-mpfr \
2347 maybe-install-mpc \
2348 maybe-install-isl \
2349 maybe-install-cloog \
2350 maybe-install-libelf \
2351 maybe-install-gold \
2352 maybe-install-gprof \
2353 maybe-install-intl \
2354 maybe-install-tcl \
2355 maybe-install-itcl \
2356 maybe-install-ld \
2357 maybe-install-libcpp \
2358 maybe-install-libdecnumber \
2359 maybe-install-libgui \
2360 maybe-install-libiberty \
2361 maybe-install-libiconv \
2362 maybe-install-m4 \
2363 maybe-install-readline \
2364 maybe-install-sid \
2365 maybe-install-sim \
2366 maybe-install-texinfo \
2367 maybe-install-zlib \
2368 maybe-install-gdb \
2369 maybe-install-expect \
2370 maybe-install-guile \
2371 maybe-install-tk \
2372 maybe-install-libtermcap \
2373 maybe-install-utils \
2374 maybe-install-gnattools \
2375 maybe-install-lto-plugin
2377 .PHONY: install-target
2378 install-target: \
2379 maybe-install-target-libstdc++-v3 \
2380 maybe-install-target-libmudflap \
2381 maybe-install-target-libssp \
2382 maybe-install-target-newlib \
2383 maybe-install-target-libgcc \
2384 maybe-install-target-libquadmath \
2385 maybe-install-target-libgfortran \
2386 maybe-install-target-libobjc \
2387 maybe-install-target-libgo \
2388 maybe-install-target-libtermcap \
2389 maybe-install-target-winsup \
2390 maybe-install-target-libgloss \
2391 maybe-install-target-libffi \
2392 maybe-install-target-libjava \
2393 maybe-install-target-zlib \
2394 maybe-install-target-boehm-gc \
2395 maybe-install-target-rda \
2396 maybe-install-target-libada \
2397 maybe-install-target-libgomp \
2398 maybe-install-target-libitm \
2399 maybe-install-target-libatomic
2401 uninstall:
2402 @echo "the uninstall target is not supported in this tree"
2404 .PHONY: install.all
2405 install.all: install-no-fixedincludes
2406 @if [ -f ./gcc/Makefile ] ; then \
2407 r=`${PWD_COMMAND}` ; export r ; \
2408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2409 $(HOST_EXPORTS) \
2410 (cd ./gcc && \
2411 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2412 else \
2413 true ; \
2416 # install-no-fixedincludes is used to allow the elaboration of binary packages
2417 # suitable for distribution, where we cannot include the fixed system header
2418 # files.
2419 .PHONY: install-no-fixedincludes
2420 install-no-fixedincludes: installdirs install-host-nogcc \
2421 install-target gcc-install-no-fixedincludes
2423 .PHONY: install-strip
2424 install-strip:
2425 @: $(MAKE); $(unstage)
2426 @r=`${PWD_COMMAND}`; export r; \
2427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2428 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target
2430 .PHONY: install-strip-host
2431 install-strip-host: \
2432 maybe-install-strip-bfd \
2433 maybe-install-strip-opcodes \
2434 maybe-install-strip-binutils \
2435 maybe-install-strip-bison \
2436 maybe-install-strip-cgen \
2437 maybe-install-strip-dejagnu \
2438 maybe-install-strip-etc \
2439 maybe-install-strip-fastjar \
2440 maybe-install-strip-fixincludes \
2441 maybe-install-strip-flex \
2442 maybe-install-strip-gas \
2443 maybe-install-strip-gcc \
2444 maybe-install-strip-gmp \
2445 maybe-install-strip-mpfr \
2446 maybe-install-strip-mpc \
2447 maybe-install-strip-isl \
2448 maybe-install-strip-cloog \
2449 maybe-install-strip-libelf \
2450 maybe-install-strip-gold \
2451 maybe-install-strip-gprof \
2452 maybe-install-strip-intl \
2453 maybe-install-strip-tcl \
2454 maybe-install-strip-itcl \
2455 maybe-install-strip-ld \
2456 maybe-install-strip-libcpp \
2457 maybe-install-strip-libdecnumber \
2458 maybe-install-strip-libgui \
2459 maybe-install-strip-libiberty \
2460 maybe-install-strip-libiconv \
2461 maybe-install-strip-m4 \
2462 maybe-install-strip-readline \
2463 maybe-install-strip-sid \
2464 maybe-install-strip-sim \
2465 maybe-install-strip-texinfo \
2466 maybe-install-strip-zlib \
2467 maybe-install-strip-gdb \
2468 maybe-install-strip-expect \
2469 maybe-install-strip-guile \
2470 maybe-install-strip-tk \
2471 maybe-install-strip-libtermcap \
2472 maybe-install-strip-utils \
2473 maybe-install-strip-gnattools \
2474 maybe-install-strip-lto-plugin
2476 .PHONY: install-strip-target
2477 install-strip-target: \
2478 maybe-install-strip-target-libstdc++-v3 \
2479 maybe-install-strip-target-libmudflap \
2480 maybe-install-strip-target-libssp \
2481 maybe-install-strip-target-newlib \
2482 maybe-install-strip-target-libgcc \
2483 maybe-install-strip-target-libquadmath \
2484 maybe-install-strip-target-libgfortran \
2485 maybe-install-strip-target-libobjc \
2486 maybe-install-strip-target-libgo \
2487 maybe-install-strip-target-libtermcap \
2488 maybe-install-strip-target-winsup \
2489 maybe-install-strip-target-libgloss \
2490 maybe-install-strip-target-libffi \
2491 maybe-install-strip-target-libjava \
2492 maybe-install-strip-target-zlib \
2493 maybe-install-strip-target-boehm-gc \
2494 maybe-install-strip-target-rda \
2495 maybe-install-strip-target-libada \
2496 maybe-install-strip-target-libgomp \
2497 maybe-install-strip-target-libitm \
2498 maybe-install-strip-target-libatomic
2501 ### other supporting targets
2503 MAKEDIRS= \
2504 $(DESTDIR)$(prefix) \
2505 $(DESTDIR)$(exec_prefix)
2506 .PHONY: installdirs
2507 installdirs: mkinstalldirs
2508 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2510 dir.info: do-install-info
2511 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2512 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2513 mv -f dir.info.new dir.info ; \
2514 else true ; \
2517 dist:
2518 @echo "Building a full distribution of this tree isn't done"
2519 @echo "via 'make dist'. Check out the etc/ subdirectory"
2521 etags tags: TAGS
2523 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2524 # ability to use several tags files at once, so there is probably no need
2525 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2526 # (if we felt like it) have this Makefile write a piece of elisp which
2527 # the user could load to tell emacs19 where all the TAGS files we just
2528 # built are.
2529 TAGS: do-TAGS
2531 # ------------------------------------
2532 # Macros for configure and all targets
2533 # ------------------------------------
2539 # --------------------------------------
2540 # Modules which run on the build machine
2541 # --------------------------------------
2544 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2545 maybe-configure-build-libiberty:
2546 @if gcc-bootstrap
2547 configure-build-libiberty: stage_current
2548 @endif gcc-bootstrap
2549 @if build-libiberty
2550 maybe-configure-build-libiberty: configure-build-libiberty
2551 configure-build-libiberty:
2552 @: $(MAKE); $(unstage)
2553 @r=`${PWD_COMMAND}`; export r; \
2554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2555 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2556 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2557 $(BUILD_EXPORTS) \
2558 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2559 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2560 case $(srcdir) in \
2561 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2562 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2563 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2564 esac; \
2565 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2566 libsrcdir="$$s/libiberty"; \
2567 rm -f no-such-file || : ; \
2568 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2569 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2570 --target=${target_alias} $${srcdiroption} \
2571 || exit 1
2572 @endif build-libiberty
2578 .PHONY: all-build-libiberty maybe-all-build-libiberty
2579 maybe-all-build-libiberty:
2580 @if gcc-bootstrap
2581 all-build-libiberty: stage_current
2582 @endif gcc-bootstrap
2583 @if build-libiberty
2584 TARGET-build-libiberty=all
2585 maybe-all-build-libiberty: all-build-libiberty
2586 all-build-libiberty: configure-build-libiberty
2587 @: $(MAKE); $(unstage)
2588 @r=`${PWD_COMMAND}`; export r; \
2589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2590 $(BUILD_EXPORTS) \
2591 (cd $(BUILD_SUBDIR)/libiberty && \
2592 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2593 $(TARGET-build-libiberty))
2594 @endif build-libiberty
2600 .PHONY: configure-build-bison maybe-configure-build-bison
2601 maybe-configure-build-bison:
2602 @if gcc-bootstrap
2603 configure-build-bison: stage_current
2604 @endif gcc-bootstrap
2605 @if build-bison
2606 maybe-configure-build-bison: configure-build-bison
2607 configure-build-bison:
2608 @: $(MAKE); $(unstage)
2609 @r=`${PWD_COMMAND}`; export r; \
2610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2611 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2612 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2613 $(BUILD_EXPORTS) \
2614 echo Configuring in $(BUILD_SUBDIR)/bison; \
2615 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2616 case $(srcdir) in \
2617 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2618 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2619 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2620 esac; \
2621 srcdiroption="--srcdir=$${topdir}/bison"; \
2622 libsrcdir="$$s/bison"; \
2623 rm -f no-such-file || : ; \
2624 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2625 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2626 --target=${target_alias} $${srcdiroption} \
2627 || exit 1
2628 @endif build-bison
2634 .PHONY: all-build-bison maybe-all-build-bison
2635 maybe-all-build-bison:
2636 @if gcc-bootstrap
2637 all-build-bison: stage_current
2638 @endif gcc-bootstrap
2639 @if build-bison
2640 TARGET-build-bison=all
2641 maybe-all-build-bison: all-build-bison
2642 all-build-bison: configure-build-bison
2643 @: $(MAKE); $(unstage)
2644 @r=`${PWD_COMMAND}`; export r; \
2645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2646 $(BUILD_EXPORTS) \
2647 (cd $(BUILD_SUBDIR)/bison && \
2648 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2649 $(TARGET-build-bison))
2650 @endif build-bison
2656 .PHONY: configure-build-flex maybe-configure-build-flex
2657 maybe-configure-build-flex:
2658 @if gcc-bootstrap
2659 configure-build-flex: stage_current
2660 @endif gcc-bootstrap
2661 @if build-flex
2662 maybe-configure-build-flex: configure-build-flex
2663 configure-build-flex:
2664 @: $(MAKE); $(unstage)
2665 @r=`${PWD_COMMAND}`; export r; \
2666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2667 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2668 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2669 $(BUILD_EXPORTS) \
2670 echo Configuring in $(BUILD_SUBDIR)/flex; \
2671 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2672 case $(srcdir) in \
2673 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2674 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2675 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2676 esac; \
2677 srcdiroption="--srcdir=$${topdir}/flex"; \
2678 libsrcdir="$$s/flex"; \
2679 rm -f no-such-file || : ; \
2680 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2681 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2682 --target=${target_alias} $${srcdiroption} \
2683 || exit 1
2684 @endif build-flex
2690 .PHONY: all-build-flex maybe-all-build-flex
2691 maybe-all-build-flex:
2692 @if gcc-bootstrap
2693 all-build-flex: stage_current
2694 @endif gcc-bootstrap
2695 @if build-flex
2696 TARGET-build-flex=all
2697 maybe-all-build-flex: all-build-flex
2698 all-build-flex: configure-build-flex
2699 @: $(MAKE); $(unstage)
2700 @r=`${PWD_COMMAND}`; export r; \
2701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2702 $(BUILD_EXPORTS) \
2703 (cd $(BUILD_SUBDIR)/flex && \
2704 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2705 $(TARGET-build-flex))
2706 @endif build-flex
2712 .PHONY: configure-build-m4 maybe-configure-build-m4
2713 maybe-configure-build-m4:
2714 @if gcc-bootstrap
2715 configure-build-m4: stage_current
2716 @endif gcc-bootstrap
2717 @if build-m4
2718 maybe-configure-build-m4: configure-build-m4
2719 configure-build-m4:
2720 @: $(MAKE); $(unstage)
2721 @r=`${PWD_COMMAND}`; export r; \
2722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2723 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2724 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2725 $(BUILD_EXPORTS) \
2726 echo Configuring in $(BUILD_SUBDIR)/m4; \
2727 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2728 case $(srcdir) in \
2729 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2730 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2731 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2732 esac; \
2733 srcdiroption="--srcdir=$${topdir}/m4"; \
2734 libsrcdir="$$s/m4"; \
2735 rm -f no-such-file || : ; \
2736 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2737 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2738 --target=${target_alias} $${srcdiroption} \
2739 || exit 1
2740 @endif build-m4
2746 .PHONY: all-build-m4 maybe-all-build-m4
2747 maybe-all-build-m4:
2748 @if gcc-bootstrap
2749 all-build-m4: stage_current
2750 @endif gcc-bootstrap
2751 @if build-m4
2752 TARGET-build-m4=all
2753 maybe-all-build-m4: all-build-m4
2754 all-build-m4: configure-build-m4
2755 @: $(MAKE); $(unstage)
2756 @r=`${PWD_COMMAND}`; export r; \
2757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2758 $(BUILD_EXPORTS) \
2759 (cd $(BUILD_SUBDIR)/m4 && \
2760 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2761 $(TARGET-build-m4))
2762 @endif build-m4
2768 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2769 maybe-configure-build-texinfo:
2770 @if gcc-bootstrap
2771 configure-build-texinfo: stage_current
2772 @endif gcc-bootstrap
2773 @if build-texinfo
2774 maybe-configure-build-texinfo: configure-build-texinfo
2775 configure-build-texinfo:
2776 @: $(MAKE); $(unstage)
2777 @r=`${PWD_COMMAND}`; export r; \
2778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2779 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2780 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2781 $(BUILD_EXPORTS) \
2782 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2783 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2784 case $(srcdir) in \
2785 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2786 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2787 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2788 esac; \
2789 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2790 libsrcdir="$$s/texinfo"; \
2791 rm -f no-such-file || : ; \
2792 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2793 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2794 --target=${target_alias} $${srcdiroption} \
2795 || exit 1
2796 @endif build-texinfo
2802 .PHONY: all-build-texinfo maybe-all-build-texinfo
2803 maybe-all-build-texinfo:
2804 @if gcc-bootstrap
2805 all-build-texinfo: stage_current
2806 @endif gcc-bootstrap
2807 @if build-texinfo
2808 TARGET-build-texinfo=all
2809 maybe-all-build-texinfo: all-build-texinfo
2810 all-build-texinfo: configure-build-texinfo
2811 @: $(MAKE); $(unstage)
2812 @r=`${PWD_COMMAND}`; export r; \
2813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2814 $(BUILD_EXPORTS) \
2815 (cd $(BUILD_SUBDIR)/texinfo && \
2816 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2817 $(TARGET-build-texinfo))
2818 @endif build-texinfo
2824 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2825 maybe-configure-build-fixincludes:
2826 @if gcc-bootstrap
2827 configure-build-fixincludes: stage_current
2828 @endif gcc-bootstrap
2829 @if build-fixincludes
2830 maybe-configure-build-fixincludes: configure-build-fixincludes
2831 configure-build-fixincludes:
2832 @: $(MAKE); $(unstage)
2833 @r=`${PWD_COMMAND}`; export r; \
2834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2835 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2836 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2837 $(BUILD_EXPORTS) \
2838 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2839 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2840 case $(srcdir) in \
2841 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2842 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2843 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2844 esac; \
2845 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2846 libsrcdir="$$s/fixincludes"; \
2847 rm -f no-such-file || : ; \
2848 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2849 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2850 --target=${target_alias} $${srcdiroption} \
2851 || exit 1
2852 @endif build-fixincludes
2858 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2859 maybe-all-build-fixincludes:
2860 @if gcc-bootstrap
2861 all-build-fixincludes: stage_current
2862 @endif gcc-bootstrap
2863 @if build-fixincludes
2864 TARGET-build-fixincludes=all
2865 maybe-all-build-fixincludes: all-build-fixincludes
2866 all-build-fixincludes: configure-build-fixincludes
2867 @: $(MAKE); $(unstage)
2868 @r=`${PWD_COMMAND}`; export r; \
2869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2870 $(BUILD_EXPORTS) \
2871 (cd $(BUILD_SUBDIR)/fixincludes && \
2872 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2873 $(TARGET-build-fixincludes))
2874 @endif build-fixincludes
2880 # --------------------------------------
2881 # Modules which run on the host machine
2882 # --------------------------------------
2885 .PHONY: configure-bfd maybe-configure-bfd
2886 maybe-configure-bfd:
2887 @if gcc-bootstrap
2888 configure-bfd: stage_current
2889 @endif gcc-bootstrap
2890 @if bfd
2891 maybe-configure-bfd: configure-bfd
2892 configure-bfd:
2893 @r=`${PWD_COMMAND}`; export r; \
2894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2895 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
2896 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
2897 $(HOST_EXPORTS) \
2898 echo Configuring in $(HOST_SUBDIR)/bfd; \
2899 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
2900 case $(srcdir) in \
2901 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2902 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
2903 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2904 esac; \
2905 srcdiroption="--srcdir=$${topdir}/bfd"; \
2906 libsrcdir="$$s/bfd"; \
2907 $(SHELL) $${libsrcdir}/configure \
2908 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
2909 --target=${target_alias} $${srcdiroption} \
2910 || exit 1
2911 @endif bfd
2915 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
2916 maybe-configure-stage1-bfd:
2917 @if bfd-bootstrap
2918 maybe-configure-stage1-bfd: configure-stage1-bfd
2919 configure-stage1-bfd:
2920 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
2921 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
2922 @r=`${PWD_COMMAND}`; export r; \
2923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2924 TFLAGS="$(STAGE1_TFLAGS)"; \
2925 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
2926 $(HOST_EXPORTS) \
2927 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
2928 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
2929 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
2930 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
2931 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
2932 cd $(HOST_SUBDIR)/bfd || exit 1; \
2933 case $(srcdir) in \
2934 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2935 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
2936 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2937 esac; \
2938 srcdiroption="--srcdir=$${topdir}/bfd"; \
2939 libsrcdir="$$s/bfd"; \
2940 $(SHELL) $${libsrcdir}/configure \
2941 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
2942 --target=${target_alias} $${srcdiroption} \
2943 $(STAGE1_CONFIGURE_FLAGS)
2944 @endif bfd-bootstrap
2946 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
2947 maybe-configure-stage2-bfd:
2948 @if bfd-bootstrap
2949 maybe-configure-stage2-bfd: configure-stage2-bfd
2950 configure-stage2-bfd:
2951 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
2952 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
2953 @r=`${PWD_COMMAND}`; export r; \
2954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2955 TFLAGS="$(STAGE2_TFLAGS)"; \
2956 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
2957 $(HOST_EXPORTS) \
2958 $(POSTSTAGE1_HOST_EXPORTS) \
2959 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
2960 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
2961 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
2962 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
2963 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
2964 cd $(HOST_SUBDIR)/bfd || exit 1; \
2965 case $(srcdir) in \
2966 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2967 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
2968 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2969 esac; \
2970 srcdiroption="--srcdir=$${topdir}/bfd"; \
2971 libsrcdir="$$s/bfd"; \
2972 $(SHELL) $${libsrcdir}/configure \
2973 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
2974 --target=${target_alias} $${srcdiroption} \
2975 --with-build-libsubdir=$(HOST_SUBDIR) \
2976 $(STAGE2_CONFIGURE_FLAGS)
2977 @endif bfd-bootstrap
2979 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
2980 maybe-configure-stage3-bfd:
2981 @if bfd-bootstrap
2982 maybe-configure-stage3-bfd: configure-stage3-bfd
2983 configure-stage3-bfd:
2984 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
2985 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
2986 @r=`${PWD_COMMAND}`; export r; \
2987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2988 TFLAGS="$(STAGE3_TFLAGS)"; \
2989 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
2990 $(HOST_EXPORTS) \
2991 $(POSTSTAGE1_HOST_EXPORTS) \
2992 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
2993 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
2994 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
2995 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
2996 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
2997 cd $(HOST_SUBDIR)/bfd || exit 1; \
2998 case $(srcdir) in \
2999 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3000 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3001 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3002 esac; \
3003 srcdiroption="--srcdir=$${topdir}/bfd"; \
3004 libsrcdir="$$s/bfd"; \
3005 $(SHELL) $${libsrcdir}/configure \
3006 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3007 --target=${target_alias} $${srcdiroption} \
3008 --with-build-libsubdir=$(HOST_SUBDIR) \
3009 $(STAGE3_CONFIGURE_FLAGS)
3010 @endif bfd-bootstrap
3012 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
3013 maybe-configure-stage4-bfd:
3014 @if bfd-bootstrap
3015 maybe-configure-stage4-bfd: configure-stage4-bfd
3016 configure-stage4-bfd:
3017 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3018 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3019 @r=`${PWD_COMMAND}`; export r; \
3020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3021 TFLAGS="$(STAGE4_TFLAGS)"; \
3022 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3023 $(HOST_EXPORTS) \
3024 $(POSTSTAGE1_HOST_EXPORTS) \
3025 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3026 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3027 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3028 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
3029 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3030 cd $(HOST_SUBDIR)/bfd || exit 1; \
3031 case $(srcdir) in \
3032 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3033 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3034 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3035 esac; \
3036 srcdiroption="--srcdir=$${topdir}/bfd"; \
3037 libsrcdir="$$s/bfd"; \
3038 $(SHELL) $${libsrcdir}/configure \
3039 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3040 --target=${target_alias} $${srcdiroption} \
3041 --with-build-libsubdir=$(HOST_SUBDIR) \
3042 $(STAGE4_CONFIGURE_FLAGS)
3043 @endif bfd-bootstrap
3045 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
3046 maybe-configure-stageprofile-bfd:
3047 @if bfd-bootstrap
3048 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
3049 configure-stageprofile-bfd:
3050 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3051 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3052 @r=`${PWD_COMMAND}`; export r; \
3053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3054 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3055 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3056 $(HOST_EXPORTS) \
3057 $(POSTSTAGE1_HOST_EXPORTS) \
3058 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3059 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3060 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3061 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
3062 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3063 cd $(HOST_SUBDIR)/bfd || exit 1; \
3064 case $(srcdir) in \
3065 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3066 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3067 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3068 esac; \
3069 srcdiroption="--srcdir=$${topdir}/bfd"; \
3070 libsrcdir="$$s/bfd"; \
3071 $(SHELL) $${libsrcdir}/configure \
3072 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3073 --target=${target_alias} $${srcdiroption} \
3074 --with-build-libsubdir=$(HOST_SUBDIR) \
3075 $(STAGEprofile_CONFIGURE_FLAGS)
3076 @endif bfd-bootstrap
3078 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
3079 maybe-configure-stagefeedback-bfd:
3080 @if bfd-bootstrap
3081 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
3082 configure-stagefeedback-bfd:
3083 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3084 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3085 @r=`${PWD_COMMAND}`; export r; \
3086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3087 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3088 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3089 $(HOST_EXPORTS) \
3090 $(POSTSTAGE1_HOST_EXPORTS) \
3091 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
3092 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
3093 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
3094 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
3095 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3096 cd $(HOST_SUBDIR)/bfd || exit 1; \
3097 case $(srcdir) in \
3098 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3099 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3100 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3101 esac; \
3102 srcdiroption="--srcdir=$${topdir}/bfd"; \
3103 libsrcdir="$$s/bfd"; \
3104 $(SHELL) $${libsrcdir}/configure \
3105 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3106 --target=${target_alias} $${srcdiroption} \
3107 --with-build-libsubdir=$(HOST_SUBDIR) \
3108 $(STAGEfeedback_CONFIGURE_FLAGS)
3109 @endif bfd-bootstrap
3115 .PHONY: all-bfd maybe-all-bfd
3116 maybe-all-bfd:
3117 @if gcc-bootstrap
3118 all-bfd: stage_current
3119 @endif gcc-bootstrap
3120 @if bfd
3121 TARGET-bfd=all
3122 maybe-all-bfd: all-bfd
3123 all-bfd: configure-bfd
3124 @r=`${PWD_COMMAND}`; export r; \
3125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3126 $(HOST_EXPORTS) \
3127 (cd $(HOST_SUBDIR)/bfd && \
3128 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
3129 $(TARGET-bfd))
3130 @endif bfd
3134 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
3135 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
3136 maybe-all-stage1-bfd:
3137 maybe-clean-stage1-bfd:
3138 @if bfd-bootstrap
3139 maybe-all-stage1-bfd: all-stage1-bfd
3140 all-stage1: all-stage1-bfd
3141 TARGET-stage1-bfd = $(TARGET-bfd)
3142 all-stage1-bfd: configure-stage1-bfd
3143 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3144 @r=`${PWD_COMMAND}`; export r; \
3145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3146 TFLAGS="$(STAGE1_TFLAGS)"; \
3147 $(HOST_EXPORTS) \
3148 cd $(HOST_SUBDIR)/bfd && \
3149 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3150 CFLAGS="$(STAGE1_CFLAGS)" \
3151 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
3152 LIBCFLAGS="$(LIBCFLAGS)" \
3153 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3154 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3155 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3156 $(EXTRA_HOST_FLAGS) \
3157 TFLAGS="$(STAGE1_TFLAGS)" \
3158 $(TARGET-stage1-bfd)
3160 maybe-clean-stage1-bfd: clean-stage1-bfd
3161 clean-stage1: clean-stage1-bfd
3162 clean-stage1-bfd:
3163 @if [ $(current_stage) = stage1 ]; then \
3164 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3165 else \
3166 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
3167 $(MAKE) stage1-start; \
3168 fi; \
3169 cd $(HOST_SUBDIR)/bfd && \
3170 $(MAKE) $(EXTRA_HOST_FLAGS) \
3171 clean
3172 @endif bfd-bootstrap
3175 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
3176 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
3177 maybe-all-stage2-bfd:
3178 maybe-clean-stage2-bfd:
3179 @if bfd-bootstrap
3180 maybe-all-stage2-bfd: all-stage2-bfd
3181 all-stage2: all-stage2-bfd
3182 TARGET-stage2-bfd = $(TARGET-bfd)
3183 all-stage2-bfd: configure-stage2-bfd
3184 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3185 @r=`${PWD_COMMAND}`; export r; \
3186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3187 TFLAGS="$(STAGE2_TFLAGS)"; \
3188 $(HOST_EXPORTS) \
3189 $(POSTSTAGE1_HOST_EXPORTS) \
3190 cd $(HOST_SUBDIR)/bfd && \
3191 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3192 CFLAGS="$(STAGE2_CFLAGS)" \
3193 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
3194 LIBCFLAGS="$(STAGE2_CFLAGS)" \
3195 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3196 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3197 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3198 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3199 TFLAGS="$(STAGE2_TFLAGS)" \
3200 $(TARGET-stage2-bfd)
3202 maybe-clean-stage2-bfd: clean-stage2-bfd
3203 clean-stage2: clean-stage2-bfd
3204 clean-stage2-bfd:
3205 @if [ $(current_stage) = stage2 ]; then \
3206 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3207 else \
3208 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
3209 $(MAKE) stage2-start; \
3210 fi; \
3211 cd $(HOST_SUBDIR)/bfd && \
3212 $(MAKE) $(EXTRA_HOST_FLAGS) \
3213 $(POSTSTAGE1_FLAGS_TO_PASS) \
3214 clean
3215 @endif bfd-bootstrap
3218 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
3219 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
3220 maybe-all-stage3-bfd:
3221 maybe-clean-stage3-bfd:
3222 @if bfd-bootstrap
3223 maybe-all-stage3-bfd: all-stage3-bfd
3224 all-stage3: all-stage3-bfd
3225 TARGET-stage3-bfd = $(TARGET-bfd)
3226 all-stage3-bfd: configure-stage3-bfd
3227 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3228 @r=`${PWD_COMMAND}`; export r; \
3229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3230 TFLAGS="$(STAGE3_TFLAGS)"; \
3231 $(HOST_EXPORTS) \
3232 $(POSTSTAGE1_HOST_EXPORTS) \
3233 cd $(HOST_SUBDIR)/bfd && \
3234 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3235 CFLAGS="$(STAGE3_CFLAGS)" \
3236 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
3237 LIBCFLAGS="$(STAGE3_CFLAGS)" \
3238 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3239 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3240 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3241 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3242 TFLAGS="$(STAGE3_TFLAGS)" \
3243 $(TARGET-stage3-bfd)
3245 maybe-clean-stage3-bfd: clean-stage3-bfd
3246 clean-stage3: clean-stage3-bfd
3247 clean-stage3-bfd:
3248 @if [ $(current_stage) = stage3 ]; then \
3249 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3250 else \
3251 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
3252 $(MAKE) stage3-start; \
3253 fi; \
3254 cd $(HOST_SUBDIR)/bfd && \
3255 $(MAKE) $(EXTRA_HOST_FLAGS) \
3256 $(POSTSTAGE1_FLAGS_TO_PASS) \
3257 clean
3258 @endif bfd-bootstrap
3261 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
3262 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
3263 maybe-all-stage4-bfd:
3264 maybe-clean-stage4-bfd:
3265 @if bfd-bootstrap
3266 maybe-all-stage4-bfd: all-stage4-bfd
3267 all-stage4: all-stage4-bfd
3268 TARGET-stage4-bfd = $(TARGET-bfd)
3269 all-stage4-bfd: configure-stage4-bfd
3270 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3271 @r=`${PWD_COMMAND}`; export r; \
3272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3273 TFLAGS="$(STAGE4_TFLAGS)"; \
3274 $(HOST_EXPORTS) \
3275 $(POSTSTAGE1_HOST_EXPORTS) \
3276 cd $(HOST_SUBDIR)/bfd && \
3277 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3278 CFLAGS="$(STAGE4_CFLAGS)" \
3279 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
3280 LIBCFLAGS="$(STAGE4_CFLAGS)" \
3281 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3282 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3283 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3284 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3285 TFLAGS="$(STAGE4_TFLAGS)" \
3286 $(TARGET-stage4-bfd)
3288 maybe-clean-stage4-bfd: clean-stage4-bfd
3289 clean-stage4: clean-stage4-bfd
3290 clean-stage4-bfd:
3291 @if [ $(current_stage) = stage4 ]; then \
3292 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3293 else \
3294 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
3295 $(MAKE) stage4-start; \
3296 fi; \
3297 cd $(HOST_SUBDIR)/bfd && \
3298 $(MAKE) $(EXTRA_HOST_FLAGS) \
3299 $(POSTSTAGE1_FLAGS_TO_PASS) \
3300 clean
3301 @endif bfd-bootstrap
3304 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
3305 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
3306 maybe-all-stageprofile-bfd:
3307 maybe-clean-stageprofile-bfd:
3308 @if bfd-bootstrap
3309 maybe-all-stageprofile-bfd: all-stageprofile-bfd
3310 all-stageprofile: all-stageprofile-bfd
3311 TARGET-stageprofile-bfd = $(TARGET-bfd)
3312 all-stageprofile-bfd: configure-stageprofile-bfd
3313 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3314 @r=`${PWD_COMMAND}`; export r; \
3315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3316 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3317 $(HOST_EXPORTS) \
3318 $(POSTSTAGE1_HOST_EXPORTS) \
3319 cd $(HOST_SUBDIR)/bfd && \
3320 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3321 CFLAGS="$(STAGEprofile_CFLAGS)" \
3322 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
3323 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
3324 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3325 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3326 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3327 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3328 TFLAGS="$(STAGEprofile_TFLAGS)" \
3329 $(TARGET-stageprofile-bfd)
3331 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
3332 clean-stageprofile: clean-stageprofile-bfd
3333 clean-stageprofile-bfd:
3334 @if [ $(current_stage) = stageprofile ]; then \
3335 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3336 else \
3337 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
3338 $(MAKE) stageprofile-start; \
3339 fi; \
3340 cd $(HOST_SUBDIR)/bfd && \
3341 $(MAKE) $(EXTRA_HOST_FLAGS) \
3342 $(POSTSTAGE1_FLAGS_TO_PASS) \
3343 clean
3344 @endif bfd-bootstrap
3347 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
3348 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
3349 maybe-all-stagefeedback-bfd:
3350 maybe-clean-stagefeedback-bfd:
3351 @if bfd-bootstrap
3352 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
3353 all-stagefeedback: all-stagefeedback-bfd
3354 TARGET-stagefeedback-bfd = $(TARGET-bfd)
3355 all-stagefeedback-bfd: configure-stagefeedback-bfd
3356 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3357 @r=`${PWD_COMMAND}`; export r; \
3358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3359 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3360 $(HOST_EXPORTS) \
3361 $(POSTSTAGE1_HOST_EXPORTS) \
3362 cd $(HOST_SUBDIR)/bfd && \
3363 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3364 CFLAGS="$(STAGEfeedback_CFLAGS)" \
3365 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
3366 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
3367 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3368 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3369 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3370 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3371 TFLAGS="$(STAGEfeedback_TFLAGS)" \
3372 $(TARGET-stagefeedback-bfd)
3374 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
3375 clean-stagefeedback: clean-stagefeedback-bfd
3376 clean-stagefeedback-bfd:
3377 @if [ $(current_stage) = stagefeedback ]; then \
3378 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3379 else \
3380 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
3381 $(MAKE) stagefeedback-start; \
3382 fi; \
3383 cd $(HOST_SUBDIR)/bfd && \
3384 $(MAKE) $(EXTRA_HOST_FLAGS) \
3385 $(POSTSTAGE1_FLAGS_TO_PASS) \
3386 clean
3387 @endif bfd-bootstrap
3393 .PHONY: check-bfd maybe-check-bfd
3394 maybe-check-bfd:
3395 @if bfd
3396 maybe-check-bfd: check-bfd
3398 check-bfd:
3399 @: $(MAKE); $(unstage)
3400 @r=`${PWD_COMMAND}`; export r; \
3401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3402 $(HOST_EXPORTS) \
3403 (cd $(HOST_SUBDIR)/bfd && \
3404 $(MAKE) $(FLAGS_TO_PASS) check)
3406 @endif bfd
3408 .PHONY: install-bfd maybe-install-bfd
3409 maybe-install-bfd:
3410 @if bfd
3411 maybe-install-bfd: install-bfd
3413 install-bfd: installdirs
3414 @: $(MAKE); $(unstage)
3415 @r=`${PWD_COMMAND}`; export r; \
3416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3417 $(HOST_EXPORTS) \
3418 (cd $(HOST_SUBDIR)/bfd && \
3419 $(MAKE) $(FLAGS_TO_PASS) install)
3421 @endif bfd
3423 .PHONY: install-strip-bfd maybe-install-strip-bfd
3424 maybe-install-strip-bfd:
3425 @if bfd
3426 maybe-install-strip-bfd: install-strip-bfd
3428 install-strip-bfd: installdirs
3429 @: $(MAKE); $(unstage)
3430 @r=`${PWD_COMMAND}`; export r; \
3431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3432 $(HOST_EXPORTS) \
3433 (cd $(HOST_SUBDIR)/bfd && \
3434 $(MAKE) $(FLAGS_TO_PASS) install-strip)
3436 @endif bfd
3438 # Other targets (info, dvi, pdf, etc.)
3440 .PHONY: maybe-info-bfd info-bfd
3441 maybe-info-bfd:
3442 @if bfd
3443 maybe-info-bfd: info-bfd
3445 info-bfd: \
3446 configure-bfd
3447 @[ -f ./bfd/Makefile ] || exit 0; \
3448 r=`${PWD_COMMAND}`; export r; \
3449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3450 $(HOST_EXPORTS) \
3451 for flag in $(EXTRA_HOST_FLAGS) ; do \
3452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3453 done; \
3454 echo "Doing info in bfd" ; \
3455 (cd $(HOST_SUBDIR)/bfd && \
3456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3458 "RANLIB=$${RANLIB}" \
3459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3460 info) \
3461 || exit 1
3463 @endif bfd
3465 .PHONY: maybe-dvi-bfd dvi-bfd
3466 maybe-dvi-bfd:
3467 @if bfd
3468 maybe-dvi-bfd: dvi-bfd
3470 dvi-bfd: \
3471 configure-bfd
3472 @[ -f ./bfd/Makefile ] || exit 0; \
3473 r=`${PWD_COMMAND}`; export r; \
3474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3475 $(HOST_EXPORTS) \
3476 for flag in $(EXTRA_HOST_FLAGS) ; do \
3477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3478 done; \
3479 echo "Doing dvi in bfd" ; \
3480 (cd $(HOST_SUBDIR)/bfd && \
3481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3483 "RANLIB=$${RANLIB}" \
3484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3485 dvi) \
3486 || exit 1
3488 @endif bfd
3490 .PHONY: maybe-pdf-bfd pdf-bfd
3491 maybe-pdf-bfd:
3492 @if bfd
3493 maybe-pdf-bfd: pdf-bfd
3495 pdf-bfd: \
3496 configure-bfd
3497 @[ -f ./bfd/Makefile ] || exit 0; \
3498 r=`${PWD_COMMAND}`; export r; \
3499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3500 $(HOST_EXPORTS) \
3501 for flag in $(EXTRA_HOST_FLAGS) ; do \
3502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3503 done; \
3504 echo "Doing pdf in bfd" ; \
3505 (cd $(HOST_SUBDIR)/bfd && \
3506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3508 "RANLIB=$${RANLIB}" \
3509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3510 pdf) \
3511 || exit 1
3513 @endif bfd
3515 .PHONY: maybe-html-bfd html-bfd
3516 maybe-html-bfd:
3517 @if bfd
3518 maybe-html-bfd: html-bfd
3520 html-bfd: \
3521 configure-bfd
3522 @[ -f ./bfd/Makefile ] || exit 0; \
3523 r=`${PWD_COMMAND}`; export r; \
3524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3525 $(HOST_EXPORTS) \
3526 for flag in $(EXTRA_HOST_FLAGS) ; do \
3527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3528 done; \
3529 echo "Doing html in bfd" ; \
3530 (cd $(HOST_SUBDIR)/bfd && \
3531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3533 "RANLIB=$${RANLIB}" \
3534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3535 html) \
3536 || exit 1
3538 @endif bfd
3540 .PHONY: maybe-TAGS-bfd TAGS-bfd
3541 maybe-TAGS-bfd:
3542 @if bfd
3543 maybe-TAGS-bfd: TAGS-bfd
3545 TAGS-bfd: \
3546 configure-bfd
3547 @[ -f ./bfd/Makefile ] || exit 0; \
3548 r=`${PWD_COMMAND}`; export r; \
3549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3550 $(HOST_EXPORTS) \
3551 for flag in $(EXTRA_HOST_FLAGS) ; do \
3552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3553 done; \
3554 echo "Doing TAGS in bfd" ; \
3555 (cd $(HOST_SUBDIR)/bfd && \
3556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3558 "RANLIB=$${RANLIB}" \
3559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3560 TAGS) \
3561 || exit 1
3563 @endif bfd
3565 .PHONY: maybe-install-info-bfd install-info-bfd
3566 maybe-install-info-bfd:
3567 @if bfd
3568 maybe-install-info-bfd: install-info-bfd
3570 install-info-bfd: \
3571 configure-bfd \
3572 info-bfd
3573 @[ -f ./bfd/Makefile ] || exit 0; \
3574 r=`${PWD_COMMAND}`; export r; \
3575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3576 $(HOST_EXPORTS) \
3577 for flag in $(EXTRA_HOST_FLAGS) ; do \
3578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3579 done; \
3580 echo "Doing install-info in bfd" ; \
3581 (cd $(HOST_SUBDIR)/bfd && \
3582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3584 "RANLIB=$${RANLIB}" \
3585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3586 install-info) \
3587 || exit 1
3589 @endif bfd
3591 .PHONY: maybe-install-pdf-bfd install-pdf-bfd
3592 maybe-install-pdf-bfd:
3593 @if bfd
3594 maybe-install-pdf-bfd: install-pdf-bfd
3596 install-pdf-bfd: \
3597 configure-bfd \
3598 pdf-bfd
3599 @[ -f ./bfd/Makefile ] || exit 0; \
3600 r=`${PWD_COMMAND}`; export r; \
3601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3602 $(HOST_EXPORTS) \
3603 for flag in $(EXTRA_HOST_FLAGS) ; do \
3604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3605 done; \
3606 echo "Doing install-pdf in bfd" ; \
3607 (cd $(HOST_SUBDIR)/bfd && \
3608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3610 "RANLIB=$${RANLIB}" \
3611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3612 install-pdf) \
3613 || exit 1
3615 @endif bfd
3617 .PHONY: maybe-install-html-bfd install-html-bfd
3618 maybe-install-html-bfd:
3619 @if bfd
3620 maybe-install-html-bfd: install-html-bfd
3622 install-html-bfd: \
3623 configure-bfd \
3624 html-bfd
3625 @[ -f ./bfd/Makefile ] || exit 0; \
3626 r=`${PWD_COMMAND}`; export r; \
3627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3628 $(HOST_EXPORTS) \
3629 for flag in $(EXTRA_HOST_FLAGS) ; do \
3630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3631 done; \
3632 echo "Doing install-html in bfd" ; \
3633 (cd $(HOST_SUBDIR)/bfd && \
3634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3636 "RANLIB=$${RANLIB}" \
3637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3638 install-html) \
3639 || exit 1
3641 @endif bfd
3643 .PHONY: maybe-installcheck-bfd installcheck-bfd
3644 maybe-installcheck-bfd:
3645 @if bfd
3646 maybe-installcheck-bfd: installcheck-bfd
3648 installcheck-bfd: \
3649 configure-bfd
3650 @[ -f ./bfd/Makefile ] || exit 0; \
3651 r=`${PWD_COMMAND}`; export r; \
3652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3653 $(HOST_EXPORTS) \
3654 for flag in $(EXTRA_HOST_FLAGS) ; do \
3655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3656 done; \
3657 echo "Doing installcheck in bfd" ; \
3658 (cd $(HOST_SUBDIR)/bfd && \
3659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3661 "RANLIB=$${RANLIB}" \
3662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3663 installcheck) \
3664 || exit 1
3666 @endif bfd
3668 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3669 maybe-mostlyclean-bfd:
3670 @if bfd
3671 maybe-mostlyclean-bfd: mostlyclean-bfd
3673 mostlyclean-bfd:
3674 @[ -f ./bfd/Makefile ] || exit 0; \
3675 r=`${PWD_COMMAND}`; export r; \
3676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3677 $(HOST_EXPORTS) \
3678 for flag in $(EXTRA_HOST_FLAGS) ; do \
3679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3680 done; \
3681 echo "Doing mostlyclean in bfd" ; \
3682 (cd $(HOST_SUBDIR)/bfd && \
3683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3685 "RANLIB=$${RANLIB}" \
3686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3687 mostlyclean) \
3688 || exit 1
3690 @endif bfd
3692 .PHONY: maybe-clean-bfd clean-bfd
3693 maybe-clean-bfd:
3694 @if bfd
3695 maybe-clean-bfd: clean-bfd
3697 clean-bfd:
3698 @[ -f ./bfd/Makefile ] || exit 0; \
3699 r=`${PWD_COMMAND}`; export r; \
3700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3701 $(HOST_EXPORTS) \
3702 for flag in $(EXTRA_HOST_FLAGS) ; do \
3703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3704 done; \
3705 echo "Doing clean in bfd" ; \
3706 (cd $(HOST_SUBDIR)/bfd && \
3707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3709 "RANLIB=$${RANLIB}" \
3710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3711 clean) \
3712 || exit 1
3714 @endif bfd
3716 .PHONY: maybe-distclean-bfd distclean-bfd
3717 maybe-distclean-bfd:
3718 @if bfd
3719 maybe-distclean-bfd: distclean-bfd
3721 distclean-bfd:
3722 @[ -f ./bfd/Makefile ] || exit 0; \
3723 r=`${PWD_COMMAND}`; export r; \
3724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3725 $(HOST_EXPORTS) \
3726 for flag in $(EXTRA_HOST_FLAGS) ; do \
3727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3728 done; \
3729 echo "Doing distclean in bfd" ; \
3730 (cd $(HOST_SUBDIR)/bfd && \
3731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3733 "RANLIB=$${RANLIB}" \
3734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3735 distclean) \
3736 || exit 1
3738 @endif bfd
3740 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
3741 maybe-maintainer-clean-bfd:
3742 @if bfd
3743 maybe-maintainer-clean-bfd: maintainer-clean-bfd
3745 maintainer-clean-bfd:
3746 @[ -f ./bfd/Makefile ] || exit 0; \
3747 r=`${PWD_COMMAND}`; export r; \
3748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3749 $(HOST_EXPORTS) \
3750 for flag in $(EXTRA_HOST_FLAGS) ; do \
3751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3752 done; \
3753 echo "Doing maintainer-clean in bfd" ; \
3754 (cd $(HOST_SUBDIR)/bfd && \
3755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3757 "RANLIB=$${RANLIB}" \
3758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3759 maintainer-clean) \
3760 || exit 1
3762 @endif bfd
3766 .PHONY: configure-opcodes maybe-configure-opcodes
3767 maybe-configure-opcodes:
3768 @if gcc-bootstrap
3769 configure-opcodes: stage_current
3770 @endif gcc-bootstrap
3771 @if opcodes
3772 maybe-configure-opcodes: configure-opcodes
3773 configure-opcodes:
3774 @r=`${PWD_COMMAND}`; export r; \
3775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3776 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3777 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3778 $(HOST_EXPORTS) \
3779 echo Configuring in $(HOST_SUBDIR)/opcodes; \
3780 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
3781 case $(srcdir) in \
3782 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3783 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3784 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3785 esac; \
3786 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3787 libsrcdir="$$s/opcodes"; \
3788 $(SHELL) $${libsrcdir}/configure \
3789 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3790 --target=${target_alias} $${srcdiroption} \
3791 || exit 1
3792 @endif opcodes
3796 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
3797 maybe-configure-stage1-opcodes:
3798 @if opcodes-bootstrap
3799 maybe-configure-stage1-opcodes: configure-stage1-opcodes
3800 configure-stage1-opcodes:
3801 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3802 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3803 @r=`${PWD_COMMAND}`; export r; \
3804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3805 TFLAGS="$(STAGE1_TFLAGS)"; \
3806 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3807 $(HOST_EXPORTS) \
3808 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3809 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3810 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
3811 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
3812 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3813 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3814 case $(srcdir) in \
3815 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3816 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3817 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3818 esac; \
3819 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3820 libsrcdir="$$s/opcodes"; \
3821 $(SHELL) $${libsrcdir}/configure \
3822 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3823 --target=${target_alias} $${srcdiroption} \
3824 $(STAGE1_CONFIGURE_FLAGS)
3825 @endif opcodes-bootstrap
3827 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
3828 maybe-configure-stage2-opcodes:
3829 @if opcodes-bootstrap
3830 maybe-configure-stage2-opcodes: configure-stage2-opcodes
3831 configure-stage2-opcodes:
3832 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3833 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3834 @r=`${PWD_COMMAND}`; export r; \
3835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3836 TFLAGS="$(STAGE2_TFLAGS)"; \
3837 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3838 $(HOST_EXPORTS) \
3839 $(POSTSTAGE1_HOST_EXPORTS) \
3840 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3841 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3842 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3843 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
3844 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3845 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3846 case $(srcdir) in \
3847 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3848 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3849 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3850 esac; \
3851 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3852 libsrcdir="$$s/opcodes"; \
3853 $(SHELL) $${libsrcdir}/configure \
3854 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3855 --target=${target_alias} $${srcdiroption} \
3856 --with-build-libsubdir=$(HOST_SUBDIR) \
3857 $(STAGE2_CONFIGURE_FLAGS)
3858 @endif opcodes-bootstrap
3860 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
3861 maybe-configure-stage3-opcodes:
3862 @if opcodes-bootstrap
3863 maybe-configure-stage3-opcodes: configure-stage3-opcodes
3864 configure-stage3-opcodes:
3865 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3866 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3867 @r=`${PWD_COMMAND}`; export r; \
3868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3869 TFLAGS="$(STAGE3_TFLAGS)"; \
3870 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3871 $(HOST_EXPORTS) \
3872 $(POSTSTAGE1_HOST_EXPORTS) \
3873 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3874 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3875 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3876 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
3877 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3878 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3879 case $(srcdir) in \
3880 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3881 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3882 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3883 esac; \
3884 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3885 libsrcdir="$$s/opcodes"; \
3886 $(SHELL) $${libsrcdir}/configure \
3887 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3888 --target=${target_alias} $${srcdiroption} \
3889 --with-build-libsubdir=$(HOST_SUBDIR) \
3890 $(STAGE3_CONFIGURE_FLAGS)
3891 @endif opcodes-bootstrap
3893 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
3894 maybe-configure-stage4-opcodes:
3895 @if opcodes-bootstrap
3896 maybe-configure-stage4-opcodes: configure-stage4-opcodes
3897 configure-stage4-opcodes:
3898 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3899 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3900 @r=`${PWD_COMMAND}`; export r; \
3901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3902 TFLAGS="$(STAGE4_TFLAGS)"; \
3903 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3904 $(HOST_EXPORTS) \
3905 $(POSTSTAGE1_HOST_EXPORTS) \
3906 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3907 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3908 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3909 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
3910 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3911 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3912 case $(srcdir) in \
3913 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3914 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3915 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3916 esac; \
3917 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3918 libsrcdir="$$s/opcodes"; \
3919 $(SHELL) $${libsrcdir}/configure \
3920 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3921 --target=${target_alias} $${srcdiroption} \
3922 --with-build-libsubdir=$(HOST_SUBDIR) \
3923 $(STAGE4_CONFIGURE_FLAGS)
3924 @endif opcodes-bootstrap
3926 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
3927 maybe-configure-stageprofile-opcodes:
3928 @if opcodes-bootstrap
3929 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
3930 configure-stageprofile-opcodes:
3931 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3932 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3933 @r=`${PWD_COMMAND}`; export r; \
3934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3935 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3936 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3937 $(HOST_EXPORTS) \
3938 $(POSTSTAGE1_HOST_EXPORTS) \
3939 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3940 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3941 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3942 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
3943 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3944 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3945 case $(srcdir) in \
3946 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3947 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3948 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3949 esac; \
3950 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3951 libsrcdir="$$s/opcodes"; \
3952 $(SHELL) $${libsrcdir}/configure \
3953 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3954 --target=${target_alias} $${srcdiroption} \
3955 --with-build-libsubdir=$(HOST_SUBDIR) \
3956 $(STAGEprofile_CONFIGURE_FLAGS)
3957 @endif opcodes-bootstrap
3959 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
3960 maybe-configure-stagefeedback-opcodes:
3961 @if opcodes-bootstrap
3962 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
3963 configure-stagefeedback-opcodes:
3964 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3965 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3966 @r=`${PWD_COMMAND}`; export r; \
3967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3968 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3969 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3970 $(HOST_EXPORTS) \
3971 $(POSTSTAGE1_HOST_EXPORTS) \
3972 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
3973 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
3974 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
3975 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
3976 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3977 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3978 case $(srcdir) in \
3979 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3980 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3981 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3982 esac; \
3983 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3984 libsrcdir="$$s/opcodes"; \
3985 $(SHELL) $${libsrcdir}/configure \
3986 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3987 --target=${target_alias} $${srcdiroption} \
3988 --with-build-libsubdir=$(HOST_SUBDIR) \
3989 $(STAGEfeedback_CONFIGURE_FLAGS)
3990 @endif opcodes-bootstrap
3996 .PHONY: all-opcodes maybe-all-opcodes
3997 maybe-all-opcodes:
3998 @if gcc-bootstrap
3999 all-opcodes: stage_current
4000 @endif gcc-bootstrap
4001 @if opcodes
4002 TARGET-opcodes=all
4003 maybe-all-opcodes: all-opcodes
4004 all-opcodes: configure-opcodes
4005 @r=`${PWD_COMMAND}`; export r; \
4006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4007 $(HOST_EXPORTS) \
4008 (cd $(HOST_SUBDIR)/opcodes && \
4009 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
4010 $(TARGET-opcodes))
4011 @endif opcodes
4015 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4016 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4017 maybe-all-stage1-opcodes:
4018 maybe-clean-stage1-opcodes:
4019 @if opcodes-bootstrap
4020 maybe-all-stage1-opcodes: all-stage1-opcodes
4021 all-stage1: all-stage1-opcodes
4022 TARGET-stage1-opcodes = $(TARGET-opcodes)
4023 all-stage1-opcodes: configure-stage1-opcodes
4024 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4025 @r=`${PWD_COMMAND}`; export r; \
4026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4027 TFLAGS="$(STAGE1_TFLAGS)"; \
4028 $(HOST_EXPORTS) \
4029 cd $(HOST_SUBDIR)/opcodes && \
4030 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4031 CFLAGS="$(STAGE1_CFLAGS)" \
4032 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4033 LIBCFLAGS="$(LIBCFLAGS)" \
4034 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4035 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4036 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4037 $(EXTRA_HOST_FLAGS) \
4038 TFLAGS="$(STAGE1_TFLAGS)" \
4039 $(TARGET-stage1-opcodes)
4041 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4042 clean-stage1: clean-stage1-opcodes
4043 clean-stage1-opcodes:
4044 @if [ $(current_stage) = stage1 ]; then \
4045 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4046 else \
4047 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
4048 $(MAKE) stage1-start; \
4049 fi; \
4050 cd $(HOST_SUBDIR)/opcodes && \
4051 $(MAKE) $(EXTRA_HOST_FLAGS) \
4052 clean
4053 @endif opcodes-bootstrap
4056 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4057 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4058 maybe-all-stage2-opcodes:
4059 maybe-clean-stage2-opcodes:
4060 @if opcodes-bootstrap
4061 maybe-all-stage2-opcodes: all-stage2-opcodes
4062 all-stage2: all-stage2-opcodes
4063 TARGET-stage2-opcodes = $(TARGET-opcodes)
4064 all-stage2-opcodes: configure-stage2-opcodes
4065 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4066 @r=`${PWD_COMMAND}`; export r; \
4067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4068 TFLAGS="$(STAGE2_TFLAGS)"; \
4069 $(HOST_EXPORTS) \
4070 $(POSTSTAGE1_HOST_EXPORTS) \
4071 cd $(HOST_SUBDIR)/opcodes && \
4072 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4073 CFLAGS="$(STAGE2_CFLAGS)" \
4074 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
4075 LIBCFLAGS="$(STAGE2_CFLAGS)" \
4076 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4077 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4078 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4079 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4080 TFLAGS="$(STAGE2_TFLAGS)" \
4081 $(TARGET-stage2-opcodes)
4083 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4084 clean-stage2: clean-stage2-opcodes
4085 clean-stage2-opcodes:
4086 @if [ $(current_stage) = stage2 ]; then \
4087 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4088 else \
4089 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
4090 $(MAKE) stage2-start; \
4091 fi; \
4092 cd $(HOST_SUBDIR)/opcodes && \
4093 $(MAKE) $(EXTRA_HOST_FLAGS) \
4094 $(POSTSTAGE1_FLAGS_TO_PASS) \
4095 clean
4096 @endif opcodes-bootstrap
4099 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4100 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4101 maybe-all-stage3-opcodes:
4102 maybe-clean-stage3-opcodes:
4103 @if opcodes-bootstrap
4104 maybe-all-stage3-opcodes: all-stage3-opcodes
4105 all-stage3: all-stage3-opcodes
4106 TARGET-stage3-opcodes = $(TARGET-opcodes)
4107 all-stage3-opcodes: configure-stage3-opcodes
4108 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4109 @r=`${PWD_COMMAND}`; export r; \
4110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4111 TFLAGS="$(STAGE3_TFLAGS)"; \
4112 $(HOST_EXPORTS) \
4113 $(POSTSTAGE1_HOST_EXPORTS) \
4114 cd $(HOST_SUBDIR)/opcodes && \
4115 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4116 CFLAGS="$(STAGE3_CFLAGS)" \
4117 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
4118 LIBCFLAGS="$(STAGE3_CFLAGS)" \
4119 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4120 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4121 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4122 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4123 TFLAGS="$(STAGE3_TFLAGS)" \
4124 $(TARGET-stage3-opcodes)
4126 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4127 clean-stage3: clean-stage3-opcodes
4128 clean-stage3-opcodes:
4129 @if [ $(current_stage) = stage3 ]; then \
4130 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4131 else \
4132 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
4133 $(MAKE) stage3-start; \
4134 fi; \
4135 cd $(HOST_SUBDIR)/opcodes && \
4136 $(MAKE) $(EXTRA_HOST_FLAGS) \
4137 $(POSTSTAGE1_FLAGS_TO_PASS) \
4138 clean
4139 @endif opcodes-bootstrap
4142 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4143 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4144 maybe-all-stage4-opcodes:
4145 maybe-clean-stage4-opcodes:
4146 @if opcodes-bootstrap
4147 maybe-all-stage4-opcodes: all-stage4-opcodes
4148 all-stage4: all-stage4-opcodes
4149 TARGET-stage4-opcodes = $(TARGET-opcodes)
4150 all-stage4-opcodes: configure-stage4-opcodes
4151 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4152 @r=`${PWD_COMMAND}`; export r; \
4153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4154 TFLAGS="$(STAGE4_TFLAGS)"; \
4155 $(HOST_EXPORTS) \
4156 $(POSTSTAGE1_HOST_EXPORTS) \
4157 cd $(HOST_SUBDIR)/opcodes && \
4158 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4159 CFLAGS="$(STAGE4_CFLAGS)" \
4160 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
4161 LIBCFLAGS="$(STAGE4_CFLAGS)" \
4162 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4163 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4164 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4165 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4166 TFLAGS="$(STAGE4_TFLAGS)" \
4167 $(TARGET-stage4-opcodes)
4169 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4170 clean-stage4: clean-stage4-opcodes
4171 clean-stage4-opcodes:
4172 @if [ $(current_stage) = stage4 ]; then \
4173 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4174 else \
4175 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
4176 $(MAKE) stage4-start; \
4177 fi; \
4178 cd $(HOST_SUBDIR)/opcodes && \
4179 $(MAKE) $(EXTRA_HOST_FLAGS) \
4180 $(POSTSTAGE1_FLAGS_TO_PASS) \
4181 clean
4182 @endif opcodes-bootstrap
4185 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4186 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4187 maybe-all-stageprofile-opcodes:
4188 maybe-clean-stageprofile-opcodes:
4189 @if opcodes-bootstrap
4190 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4191 all-stageprofile: all-stageprofile-opcodes
4192 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
4193 all-stageprofile-opcodes: configure-stageprofile-opcodes
4194 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4195 @r=`${PWD_COMMAND}`; export r; \
4196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4197 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4198 $(HOST_EXPORTS) \
4199 $(POSTSTAGE1_HOST_EXPORTS) \
4200 cd $(HOST_SUBDIR)/opcodes && \
4201 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4202 CFLAGS="$(STAGEprofile_CFLAGS)" \
4203 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
4204 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
4205 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4206 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4207 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4208 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4209 TFLAGS="$(STAGEprofile_TFLAGS)" \
4210 $(TARGET-stageprofile-opcodes)
4212 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4213 clean-stageprofile: clean-stageprofile-opcodes
4214 clean-stageprofile-opcodes:
4215 @if [ $(current_stage) = stageprofile ]; then \
4216 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4217 else \
4218 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
4219 $(MAKE) stageprofile-start; \
4220 fi; \
4221 cd $(HOST_SUBDIR)/opcodes && \
4222 $(MAKE) $(EXTRA_HOST_FLAGS) \
4223 $(POSTSTAGE1_FLAGS_TO_PASS) \
4224 clean
4225 @endif opcodes-bootstrap
4228 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
4229 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
4230 maybe-all-stagefeedback-opcodes:
4231 maybe-clean-stagefeedback-opcodes:
4232 @if opcodes-bootstrap
4233 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
4234 all-stagefeedback: all-stagefeedback-opcodes
4235 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
4236 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4237 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4238 @r=`${PWD_COMMAND}`; export r; \
4239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4240 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4241 $(HOST_EXPORTS) \
4242 $(POSTSTAGE1_HOST_EXPORTS) \
4243 cd $(HOST_SUBDIR)/opcodes && \
4244 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4245 CFLAGS="$(STAGEfeedback_CFLAGS)" \
4246 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
4247 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
4248 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4249 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4250 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4251 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4252 TFLAGS="$(STAGEfeedback_TFLAGS)" \
4253 $(TARGET-stagefeedback-opcodes)
4255 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
4256 clean-stagefeedback: clean-stagefeedback-opcodes
4257 clean-stagefeedback-opcodes:
4258 @if [ $(current_stage) = stagefeedback ]; then \
4259 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4260 else \
4261 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
4262 $(MAKE) stagefeedback-start; \
4263 fi; \
4264 cd $(HOST_SUBDIR)/opcodes && \
4265 $(MAKE) $(EXTRA_HOST_FLAGS) \
4266 $(POSTSTAGE1_FLAGS_TO_PASS) \
4267 clean
4268 @endif opcodes-bootstrap
4274 .PHONY: check-opcodes maybe-check-opcodes
4275 maybe-check-opcodes:
4276 @if opcodes
4277 maybe-check-opcodes: check-opcodes
4279 check-opcodes:
4280 @: $(MAKE); $(unstage)
4281 @r=`${PWD_COMMAND}`; export r; \
4282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4283 $(HOST_EXPORTS) \
4284 (cd $(HOST_SUBDIR)/opcodes && \
4285 $(MAKE) $(FLAGS_TO_PASS) check)
4287 @endif opcodes
4289 .PHONY: install-opcodes maybe-install-opcodes
4290 maybe-install-opcodes:
4291 @if opcodes
4292 maybe-install-opcodes: install-opcodes
4294 install-opcodes: installdirs
4295 @: $(MAKE); $(unstage)
4296 @r=`${PWD_COMMAND}`; export r; \
4297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4298 $(HOST_EXPORTS) \
4299 (cd $(HOST_SUBDIR)/opcodes && \
4300 $(MAKE) $(FLAGS_TO_PASS) install)
4302 @endif opcodes
4304 .PHONY: install-strip-opcodes maybe-install-strip-opcodes
4305 maybe-install-strip-opcodes:
4306 @if opcodes
4307 maybe-install-strip-opcodes: install-strip-opcodes
4309 install-strip-opcodes: installdirs
4310 @: $(MAKE); $(unstage)
4311 @r=`${PWD_COMMAND}`; export r; \
4312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4313 $(HOST_EXPORTS) \
4314 (cd $(HOST_SUBDIR)/opcodes && \
4315 $(MAKE) $(FLAGS_TO_PASS) install-strip)
4317 @endif opcodes
4319 # Other targets (info, dvi, pdf, etc.)
4321 .PHONY: maybe-info-opcodes info-opcodes
4322 maybe-info-opcodes:
4323 @if opcodes
4324 maybe-info-opcodes: info-opcodes
4326 info-opcodes: \
4327 configure-opcodes
4328 @[ -f ./opcodes/Makefile ] || exit 0; \
4329 r=`${PWD_COMMAND}`; export r; \
4330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4331 $(HOST_EXPORTS) \
4332 for flag in $(EXTRA_HOST_FLAGS) ; do \
4333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4334 done; \
4335 echo "Doing info in opcodes" ; \
4336 (cd $(HOST_SUBDIR)/opcodes && \
4337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4339 "RANLIB=$${RANLIB}" \
4340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4341 info) \
4342 || exit 1
4344 @endif opcodes
4346 .PHONY: maybe-dvi-opcodes dvi-opcodes
4347 maybe-dvi-opcodes:
4348 @if opcodes
4349 maybe-dvi-opcodes: dvi-opcodes
4351 dvi-opcodes: \
4352 configure-opcodes
4353 @[ -f ./opcodes/Makefile ] || exit 0; \
4354 r=`${PWD_COMMAND}`; export r; \
4355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4356 $(HOST_EXPORTS) \
4357 for flag in $(EXTRA_HOST_FLAGS) ; do \
4358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4359 done; \
4360 echo "Doing dvi in opcodes" ; \
4361 (cd $(HOST_SUBDIR)/opcodes && \
4362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4364 "RANLIB=$${RANLIB}" \
4365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4366 dvi) \
4367 || exit 1
4369 @endif opcodes
4371 .PHONY: maybe-pdf-opcodes pdf-opcodes
4372 maybe-pdf-opcodes:
4373 @if opcodes
4374 maybe-pdf-opcodes: pdf-opcodes
4376 pdf-opcodes: \
4377 configure-opcodes
4378 @[ -f ./opcodes/Makefile ] || exit 0; \
4379 r=`${PWD_COMMAND}`; export r; \
4380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4381 $(HOST_EXPORTS) \
4382 for flag in $(EXTRA_HOST_FLAGS) ; do \
4383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4384 done; \
4385 echo "Doing pdf in opcodes" ; \
4386 (cd $(HOST_SUBDIR)/opcodes && \
4387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4389 "RANLIB=$${RANLIB}" \
4390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4391 pdf) \
4392 || exit 1
4394 @endif opcodes
4396 .PHONY: maybe-html-opcodes html-opcodes
4397 maybe-html-opcodes:
4398 @if opcodes
4399 maybe-html-opcodes: html-opcodes
4401 html-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 html 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 html) \
4417 || exit 1
4419 @endif opcodes
4421 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4422 maybe-TAGS-opcodes:
4423 @if opcodes
4424 maybe-TAGS-opcodes: TAGS-opcodes
4426 TAGS-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 TAGS 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 TAGS) \
4442 || exit 1
4444 @endif opcodes
4446 .PHONY: maybe-install-info-opcodes install-info-opcodes
4447 maybe-install-info-opcodes:
4448 @if opcodes
4449 maybe-install-info-opcodes: install-info-opcodes
4451 install-info-opcodes: \
4452 configure-opcodes \
4453 info-opcodes
4454 @[ -f ./opcodes/Makefile ] || exit 0; \
4455 r=`${PWD_COMMAND}`; export r; \
4456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4457 $(HOST_EXPORTS) \
4458 for flag in $(EXTRA_HOST_FLAGS) ; do \
4459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4460 done; \
4461 echo "Doing install-info in opcodes" ; \
4462 (cd $(HOST_SUBDIR)/opcodes && \
4463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4465 "RANLIB=$${RANLIB}" \
4466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4467 install-info) \
4468 || exit 1
4470 @endif opcodes
4472 .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes
4473 maybe-install-pdf-opcodes:
4474 @if opcodes
4475 maybe-install-pdf-opcodes: install-pdf-opcodes
4477 install-pdf-opcodes: \
4478 configure-opcodes \
4479 pdf-opcodes
4480 @[ -f ./opcodes/Makefile ] || exit 0; \
4481 r=`${PWD_COMMAND}`; export r; \
4482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4483 $(HOST_EXPORTS) \
4484 for flag in $(EXTRA_HOST_FLAGS) ; do \
4485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4486 done; \
4487 echo "Doing install-pdf in opcodes" ; \
4488 (cd $(HOST_SUBDIR)/opcodes && \
4489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4491 "RANLIB=$${RANLIB}" \
4492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4493 install-pdf) \
4494 || exit 1
4496 @endif opcodes
4498 .PHONY: maybe-install-html-opcodes install-html-opcodes
4499 maybe-install-html-opcodes:
4500 @if opcodes
4501 maybe-install-html-opcodes: install-html-opcodes
4503 install-html-opcodes: \
4504 configure-opcodes \
4505 html-opcodes
4506 @[ -f ./opcodes/Makefile ] || exit 0; \
4507 r=`${PWD_COMMAND}`; export r; \
4508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4509 $(HOST_EXPORTS) \
4510 for flag in $(EXTRA_HOST_FLAGS) ; do \
4511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4512 done; \
4513 echo "Doing install-html in opcodes" ; \
4514 (cd $(HOST_SUBDIR)/opcodes && \
4515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4517 "RANLIB=$${RANLIB}" \
4518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4519 install-html) \
4520 || exit 1
4522 @endif opcodes
4524 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4525 maybe-installcheck-opcodes:
4526 @if opcodes
4527 maybe-installcheck-opcodes: installcheck-opcodes
4529 installcheck-opcodes: \
4530 configure-opcodes
4531 @[ -f ./opcodes/Makefile ] || exit 0; \
4532 r=`${PWD_COMMAND}`; export r; \
4533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4534 $(HOST_EXPORTS) \
4535 for flag in $(EXTRA_HOST_FLAGS) ; do \
4536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4537 done; \
4538 echo "Doing installcheck in opcodes" ; \
4539 (cd $(HOST_SUBDIR)/opcodes && \
4540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4542 "RANLIB=$${RANLIB}" \
4543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4544 installcheck) \
4545 || exit 1
4547 @endif opcodes
4549 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4550 maybe-mostlyclean-opcodes:
4551 @if opcodes
4552 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4554 mostlyclean-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 mostlyclean 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 mostlyclean) \
4569 || exit 1
4571 @endif opcodes
4573 .PHONY: maybe-clean-opcodes clean-opcodes
4574 maybe-clean-opcodes:
4575 @if opcodes
4576 maybe-clean-opcodes: clean-opcodes
4578 clean-opcodes:
4579 @[ -f ./opcodes/Makefile ] || exit 0; \
4580 r=`${PWD_COMMAND}`; export r; \
4581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4582 $(HOST_EXPORTS) \
4583 for flag in $(EXTRA_HOST_FLAGS) ; do \
4584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4585 done; \
4586 echo "Doing clean in opcodes" ; \
4587 (cd $(HOST_SUBDIR)/opcodes && \
4588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4590 "RANLIB=$${RANLIB}" \
4591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4592 clean) \
4593 || exit 1
4595 @endif opcodes
4597 .PHONY: maybe-distclean-opcodes distclean-opcodes
4598 maybe-distclean-opcodes:
4599 @if opcodes
4600 maybe-distclean-opcodes: distclean-opcodes
4602 distclean-opcodes:
4603 @[ -f ./opcodes/Makefile ] || exit 0; \
4604 r=`${PWD_COMMAND}`; export r; \
4605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4606 $(HOST_EXPORTS) \
4607 for flag in $(EXTRA_HOST_FLAGS) ; do \
4608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4609 done; \
4610 echo "Doing distclean in opcodes" ; \
4611 (cd $(HOST_SUBDIR)/opcodes && \
4612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4614 "RANLIB=$${RANLIB}" \
4615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4616 distclean) \
4617 || exit 1
4619 @endif opcodes
4621 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4622 maybe-maintainer-clean-opcodes:
4623 @if opcodes
4624 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4626 maintainer-clean-opcodes:
4627 @[ -f ./opcodes/Makefile ] || exit 0; \
4628 r=`${PWD_COMMAND}`; export r; \
4629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4630 $(HOST_EXPORTS) \
4631 for flag in $(EXTRA_HOST_FLAGS) ; do \
4632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4633 done; \
4634 echo "Doing maintainer-clean in opcodes" ; \
4635 (cd $(HOST_SUBDIR)/opcodes && \
4636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4638 "RANLIB=$${RANLIB}" \
4639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4640 maintainer-clean) \
4641 || exit 1
4643 @endif opcodes
4647 .PHONY: configure-binutils maybe-configure-binutils
4648 maybe-configure-binutils:
4649 @if gcc-bootstrap
4650 configure-binutils: stage_current
4651 @endif gcc-bootstrap
4652 @if binutils
4653 maybe-configure-binutils: configure-binutils
4654 configure-binutils:
4655 @r=`${PWD_COMMAND}`; export r; \
4656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4657 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4658 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4659 $(HOST_EXPORTS) \
4660 echo Configuring in $(HOST_SUBDIR)/binutils; \
4661 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
4662 case $(srcdir) in \
4663 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4664 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4665 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4666 esac; \
4667 srcdiroption="--srcdir=$${topdir}/binutils"; \
4668 libsrcdir="$$s/binutils"; \
4669 $(SHELL) $${libsrcdir}/configure \
4670 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4671 --target=${target_alias} $${srcdiroption} \
4672 || exit 1
4673 @endif binutils
4677 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
4678 maybe-configure-stage1-binutils:
4679 @if binutils-bootstrap
4680 maybe-configure-stage1-binutils: configure-stage1-binutils
4681 configure-stage1-binutils:
4682 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4683 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4684 @r=`${PWD_COMMAND}`; export r; \
4685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4686 TFLAGS="$(STAGE1_TFLAGS)"; \
4687 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4688 $(HOST_EXPORTS) \
4689 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
4690 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
4691 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
4692 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
4693 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4694 cd $(HOST_SUBDIR)/binutils || exit 1; \
4695 case $(srcdir) in \
4696 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4697 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4698 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4699 esac; \
4700 srcdiroption="--srcdir=$${topdir}/binutils"; \
4701 libsrcdir="$$s/binutils"; \
4702 $(SHELL) $${libsrcdir}/configure \
4703 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4704 --target=${target_alias} $${srcdiroption} \
4705 $(STAGE1_CONFIGURE_FLAGS)
4706 @endif binutils-bootstrap
4708 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
4709 maybe-configure-stage2-binutils:
4710 @if binutils-bootstrap
4711 maybe-configure-stage2-binutils: configure-stage2-binutils
4712 configure-stage2-binutils:
4713 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4714 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4715 @r=`${PWD_COMMAND}`; export r; \
4716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4717 TFLAGS="$(STAGE2_TFLAGS)"; \
4718 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4719 $(HOST_EXPORTS) \
4720 $(POSTSTAGE1_HOST_EXPORTS) \
4721 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4722 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
4723 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
4724 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
4725 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4726 cd $(HOST_SUBDIR)/binutils || exit 1; \
4727 case $(srcdir) in \
4728 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4729 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4730 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4731 esac; \
4732 srcdiroption="--srcdir=$${topdir}/binutils"; \
4733 libsrcdir="$$s/binutils"; \
4734 $(SHELL) $${libsrcdir}/configure \
4735 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4736 --target=${target_alias} $${srcdiroption} \
4737 --with-build-libsubdir=$(HOST_SUBDIR) \
4738 $(STAGE2_CONFIGURE_FLAGS)
4739 @endif binutils-bootstrap
4741 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
4742 maybe-configure-stage3-binutils:
4743 @if binutils-bootstrap
4744 maybe-configure-stage3-binutils: configure-stage3-binutils
4745 configure-stage3-binutils:
4746 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4747 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4748 @r=`${PWD_COMMAND}`; export r; \
4749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4750 TFLAGS="$(STAGE3_TFLAGS)"; \
4751 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4752 $(HOST_EXPORTS) \
4753 $(POSTSTAGE1_HOST_EXPORTS) \
4754 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
4755 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
4756 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
4757 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
4758 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4759 cd $(HOST_SUBDIR)/binutils || exit 1; \
4760 case $(srcdir) in \
4761 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4762 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4763 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4764 esac; \
4765 srcdiroption="--srcdir=$${topdir}/binutils"; \
4766 libsrcdir="$$s/binutils"; \
4767 $(SHELL) $${libsrcdir}/configure \
4768 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4769 --target=${target_alias} $${srcdiroption} \
4770 --with-build-libsubdir=$(HOST_SUBDIR) \
4771 $(STAGE3_CONFIGURE_FLAGS)
4772 @endif binutils-bootstrap
4774 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
4775 maybe-configure-stage4-binutils:
4776 @if binutils-bootstrap
4777 maybe-configure-stage4-binutils: configure-stage4-binutils
4778 configure-stage4-binutils:
4779 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4780 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4781 @r=`${PWD_COMMAND}`; export r; \
4782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4783 TFLAGS="$(STAGE4_TFLAGS)"; \
4784 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4785 $(HOST_EXPORTS) \
4786 $(POSTSTAGE1_HOST_EXPORTS) \
4787 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
4788 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
4789 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
4790 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
4791 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4792 cd $(HOST_SUBDIR)/binutils || exit 1; \
4793 case $(srcdir) in \
4794 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4795 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4796 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4797 esac; \
4798 srcdiroption="--srcdir=$${topdir}/binutils"; \
4799 libsrcdir="$$s/binutils"; \
4800 $(SHELL) $${libsrcdir}/configure \
4801 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4802 --target=${target_alias} $${srcdiroption} \
4803 --with-build-libsubdir=$(HOST_SUBDIR) \
4804 $(STAGE4_CONFIGURE_FLAGS)
4805 @endif binutils-bootstrap
4807 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
4808 maybe-configure-stageprofile-binutils:
4809 @if binutils-bootstrap
4810 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
4811 configure-stageprofile-binutils:
4812 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4813 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4814 @r=`${PWD_COMMAND}`; export r; \
4815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4816 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4817 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4818 $(HOST_EXPORTS) \
4819 $(POSTSTAGE1_HOST_EXPORTS) \
4820 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4821 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4822 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4823 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
4824 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4825 cd $(HOST_SUBDIR)/binutils || exit 1; \
4826 case $(srcdir) in \
4827 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4828 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4829 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4830 esac; \
4831 srcdiroption="--srcdir=$${topdir}/binutils"; \
4832 libsrcdir="$$s/binutils"; \
4833 $(SHELL) $${libsrcdir}/configure \
4834 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4835 --target=${target_alias} $${srcdiroption} \
4836 --with-build-libsubdir=$(HOST_SUBDIR) \
4837 $(STAGEprofile_CONFIGURE_FLAGS)
4838 @endif binutils-bootstrap
4840 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
4841 maybe-configure-stagefeedback-binutils:
4842 @if binutils-bootstrap
4843 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
4844 configure-stagefeedback-binutils:
4845 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4846 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4847 @r=`${PWD_COMMAND}`; export r; \
4848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4849 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4850 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4851 $(HOST_EXPORTS) \
4852 $(POSTSTAGE1_HOST_EXPORTS) \
4853 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4854 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4855 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4856 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
4857 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4858 cd $(HOST_SUBDIR)/binutils || exit 1; \
4859 case $(srcdir) in \
4860 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4861 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4862 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4863 esac; \
4864 srcdiroption="--srcdir=$${topdir}/binutils"; \
4865 libsrcdir="$$s/binutils"; \
4866 $(SHELL) $${libsrcdir}/configure \
4867 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4868 --target=${target_alias} $${srcdiroption} \
4869 --with-build-libsubdir=$(HOST_SUBDIR) \
4870 $(STAGEfeedback_CONFIGURE_FLAGS)
4871 @endif binutils-bootstrap
4877 .PHONY: all-binutils maybe-all-binutils
4878 maybe-all-binutils:
4879 @if gcc-bootstrap
4880 all-binutils: stage_current
4881 @endif gcc-bootstrap
4882 @if binutils
4883 TARGET-binutils=all
4884 maybe-all-binutils: all-binutils
4885 all-binutils: configure-binutils
4886 @r=`${PWD_COMMAND}`; export r; \
4887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4888 $(HOST_EXPORTS) \
4889 (cd $(HOST_SUBDIR)/binutils && \
4890 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
4891 $(TARGET-binutils))
4892 @endif binutils
4896 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
4897 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
4898 maybe-all-stage1-binutils:
4899 maybe-clean-stage1-binutils:
4900 @if binutils-bootstrap
4901 maybe-all-stage1-binutils: all-stage1-binutils
4902 all-stage1: all-stage1-binutils
4903 TARGET-stage1-binutils = $(TARGET-binutils)
4904 all-stage1-binutils: configure-stage1-binutils
4905 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4906 @r=`${PWD_COMMAND}`; export r; \
4907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4908 TFLAGS="$(STAGE1_TFLAGS)"; \
4909 $(HOST_EXPORTS) \
4910 cd $(HOST_SUBDIR)/binutils && \
4911 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4912 CFLAGS="$(STAGE1_CFLAGS)" \
4913 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4914 LIBCFLAGS="$(LIBCFLAGS)" \
4915 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4916 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4917 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4918 $(EXTRA_HOST_FLAGS) \
4919 TFLAGS="$(STAGE1_TFLAGS)" \
4920 $(TARGET-stage1-binutils)
4922 maybe-clean-stage1-binutils: clean-stage1-binutils
4923 clean-stage1: clean-stage1-binutils
4924 clean-stage1-binutils:
4925 @if [ $(current_stage) = stage1 ]; then \
4926 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
4927 else \
4928 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
4929 $(MAKE) stage1-start; \
4930 fi; \
4931 cd $(HOST_SUBDIR)/binutils && \
4932 $(MAKE) $(EXTRA_HOST_FLAGS) \
4933 clean
4934 @endif binutils-bootstrap
4937 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
4938 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
4939 maybe-all-stage2-binutils:
4940 maybe-clean-stage2-binutils:
4941 @if binutils-bootstrap
4942 maybe-all-stage2-binutils: all-stage2-binutils
4943 all-stage2: all-stage2-binutils
4944 TARGET-stage2-binutils = $(TARGET-binutils)
4945 all-stage2-binutils: configure-stage2-binutils
4946 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4947 @r=`${PWD_COMMAND}`; export r; \
4948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4949 TFLAGS="$(STAGE2_TFLAGS)"; \
4950 $(HOST_EXPORTS) \
4951 $(POSTSTAGE1_HOST_EXPORTS) \
4952 cd $(HOST_SUBDIR)/binutils && \
4953 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4954 CFLAGS="$(STAGE2_CFLAGS)" \
4955 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
4956 LIBCFLAGS="$(STAGE2_CFLAGS)" \
4957 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4958 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4959 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4960 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4961 TFLAGS="$(STAGE2_TFLAGS)" \
4962 $(TARGET-stage2-binutils)
4964 maybe-clean-stage2-binutils: clean-stage2-binutils
4965 clean-stage2: clean-stage2-binutils
4966 clean-stage2-binutils:
4967 @if [ $(current_stage) = stage2 ]; then \
4968 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
4969 else \
4970 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
4971 $(MAKE) stage2-start; \
4972 fi; \
4973 cd $(HOST_SUBDIR)/binutils && \
4974 $(MAKE) $(EXTRA_HOST_FLAGS) \
4975 $(POSTSTAGE1_FLAGS_TO_PASS) \
4976 clean
4977 @endif binutils-bootstrap
4980 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
4981 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
4982 maybe-all-stage3-binutils:
4983 maybe-clean-stage3-binutils:
4984 @if binutils-bootstrap
4985 maybe-all-stage3-binutils: all-stage3-binutils
4986 all-stage3: all-stage3-binutils
4987 TARGET-stage3-binutils = $(TARGET-binutils)
4988 all-stage3-binutils: configure-stage3-binutils
4989 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4990 @r=`${PWD_COMMAND}`; export r; \
4991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4992 TFLAGS="$(STAGE3_TFLAGS)"; \
4993 $(HOST_EXPORTS) \
4994 $(POSTSTAGE1_HOST_EXPORTS) \
4995 cd $(HOST_SUBDIR)/binutils && \
4996 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4997 CFLAGS="$(STAGE3_CFLAGS)" \
4998 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
4999 LIBCFLAGS="$(STAGE3_CFLAGS)" \
5000 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5001 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5002 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5003 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5004 TFLAGS="$(STAGE3_TFLAGS)" \
5005 $(TARGET-stage3-binutils)
5007 maybe-clean-stage3-binutils: clean-stage3-binutils
5008 clean-stage3: clean-stage3-binutils
5009 clean-stage3-binutils:
5010 @if [ $(current_stage) = stage3 ]; then \
5011 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5012 else \
5013 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
5014 $(MAKE) stage3-start; \
5015 fi; \
5016 cd $(HOST_SUBDIR)/binutils && \
5017 $(MAKE) $(EXTRA_HOST_FLAGS) \
5018 $(POSTSTAGE1_FLAGS_TO_PASS) \
5019 clean
5020 @endif binutils-bootstrap
5023 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5024 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5025 maybe-all-stage4-binutils:
5026 maybe-clean-stage4-binutils:
5027 @if binutils-bootstrap
5028 maybe-all-stage4-binutils: all-stage4-binutils
5029 all-stage4: all-stage4-binutils
5030 TARGET-stage4-binutils = $(TARGET-binutils)
5031 all-stage4-binutils: configure-stage4-binutils
5032 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5033 @r=`${PWD_COMMAND}`; export r; \
5034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5035 TFLAGS="$(STAGE4_TFLAGS)"; \
5036 $(HOST_EXPORTS) \
5037 $(POSTSTAGE1_HOST_EXPORTS) \
5038 cd $(HOST_SUBDIR)/binutils && \
5039 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5040 CFLAGS="$(STAGE4_CFLAGS)" \
5041 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
5042 LIBCFLAGS="$(STAGE4_CFLAGS)" \
5043 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5044 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5045 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5046 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5047 TFLAGS="$(STAGE4_TFLAGS)" \
5048 $(TARGET-stage4-binutils)
5050 maybe-clean-stage4-binutils: clean-stage4-binutils
5051 clean-stage4: clean-stage4-binutils
5052 clean-stage4-binutils:
5053 @if [ $(current_stage) = stage4 ]; then \
5054 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5055 else \
5056 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
5057 $(MAKE) stage4-start; \
5058 fi; \
5059 cd $(HOST_SUBDIR)/binutils && \
5060 $(MAKE) $(EXTRA_HOST_FLAGS) \
5061 $(POSTSTAGE1_FLAGS_TO_PASS) \
5062 clean
5063 @endif binutils-bootstrap
5066 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5067 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5068 maybe-all-stageprofile-binutils:
5069 maybe-clean-stageprofile-binutils:
5070 @if binutils-bootstrap
5071 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5072 all-stageprofile: all-stageprofile-binutils
5073 TARGET-stageprofile-binutils = $(TARGET-binutils)
5074 all-stageprofile-binutils: configure-stageprofile-binutils
5075 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5076 @r=`${PWD_COMMAND}`; export r; \
5077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5078 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5079 $(HOST_EXPORTS) \
5080 $(POSTSTAGE1_HOST_EXPORTS) \
5081 cd $(HOST_SUBDIR)/binutils && \
5082 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5083 CFLAGS="$(STAGEprofile_CFLAGS)" \
5084 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
5085 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
5086 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5087 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5088 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5089 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5090 TFLAGS="$(STAGEprofile_TFLAGS)" \
5091 $(TARGET-stageprofile-binutils)
5093 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5094 clean-stageprofile: clean-stageprofile-binutils
5095 clean-stageprofile-binutils:
5096 @if [ $(current_stage) = stageprofile ]; then \
5097 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5098 else \
5099 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
5100 $(MAKE) stageprofile-start; \
5101 fi; \
5102 cd $(HOST_SUBDIR)/binutils && \
5103 $(MAKE) $(EXTRA_HOST_FLAGS) \
5104 $(POSTSTAGE1_FLAGS_TO_PASS) \
5105 clean
5106 @endif binutils-bootstrap
5109 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5110 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5111 maybe-all-stagefeedback-binutils:
5112 maybe-clean-stagefeedback-binutils:
5113 @if binutils-bootstrap
5114 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5115 all-stagefeedback: all-stagefeedback-binutils
5116 TARGET-stagefeedback-binutils = $(TARGET-binutils)
5117 all-stagefeedback-binutils: configure-stagefeedback-binutils
5118 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5119 @r=`${PWD_COMMAND}`; export r; \
5120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5121 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5122 $(HOST_EXPORTS) \
5123 $(POSTSTAGE1_HOST_EXPORTS) \
5124 cd $(HOST_SUBDIR)/binutils && \
5125 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5126 CFLAGS="$(STAGEfeedback_CFLAGS)" \
5127 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
5128 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
5129 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5130 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5131 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5132 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5133 TFLAGS="$(STAGEfeedback_TFLAGS)" \
5134 $(TARGET-stagefeedback-binutils)
5136 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5137 clean-stagefeedback: clean-stagefeedback-binutils
5138 clean-stagefeedback-binutils:
5139 @if [ $(current_stage) = stagefeedback ]; then \
5140 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5141 else \
5142 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
5143 $(MAKE) stagefeedback-start; \
5144 fi; \
5145 cd $(HOST_SUBDIR)/binutils && \
5146 $(MAKE) $(EXTRA_HOST_FLAGS) \
5147 $(POSTSTAGE1_FLAGS_TO_PASS) \
5148 clean
5149 @endif binutils-bootstrap
5155 .PHONY: check-binutils maybe-check-binutils
5156 maybe-check-binutils:
5157 @if binutils
5158 maybe-check-binutils: check-binutils
5160 check-binutils:
5161 @: $(MAKE); $(unstage)
5162 @r=`${PWD_COMMAND}`; export r; \
5163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5164 $(HOST_EXPORTS) \
5165 (cd $(HOST_SUBDIR)/binutils && \
5166 $(MAKE) $(FLAGS_TO_PASS) check)
5168 @endif binutils
5170 .PHONY: install-binutils maybe-install-binutils
5171 maybe-install-binutils:
5172 @if binutils
5173 maybe-install-binutils: install-binutils
5175 install-binutils: installdirs
5176 @: $(MAKE); $(unstage)
5177 @r=`${PWD_COMMAND}`; export r; \
5178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5179 $(HOST_EXPORTS) \
5180 (cd $(HOST_SUBDIR)/binutils && \
5181 $(MAKE) $(FLAGS_TO_PASS) install)
5183 @endif binutils
5185 .PHONY: install-strip-binutils maybe-install-strip-binutils
5186 maybe-install-strip-binutils:
5187 @if binutils
5188 maybe-install-strip-binutils: install-strip-binutils
5190 install-strip-binutils: installdirs
5191 @: $(MAKE); $(unstage)
5192 @r=`${PWD_COMMAND}`; export r; \
5193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5194 $(HOST_EXPORTS) \
5195 (cd $(HOST_SUBDIR)/binutils && \
5196 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5198 @endif binutils
5200 # Other targets (info, dvi, pdf, etc.)
5202 .PHONY: maybe-info-binutils info-binutils
5203 maybe-info-binutils:
5204 @if binutils
5205 maybe-info-binutils: info-binutils
5207 info-binutils: \
5208 configure-binutils
5209 @[ -f ./binutils/Makefile ] || exit 0; \
5210 r=`${PWD_COMMAND}`; export r; \
5211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5212 $(HOST_EXPORTS) \
5213 for flag in $(EXTRA_HOST_FLAGS) ; do \
5214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5215 done; \
5216 echo "Doing info in binutils" ; \
5217 (cd $(HOST_SUBDIR)/binutils && \
5218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5220 "RANLIB=$${RANLIB}" \
5221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5222 info) \
5223 || exit 1
5225 @endif binutils
5227 .PHONY: maybe-dvi-binutils dvi-binutils
5228 maybe-dvi-binutils:
5229 @if binutils
5230 maybe-dvi-binutils: dvi-binutils
5232 dvi-binutils: \
5233 configure-binutils
5234 @[ -f ./binutils/Makefile ] || exit 0; \
5235 r=`${PWD_COMMAND}`; export r; \
5236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5237 $(HOST_EXPORTS) \
5238 for flag in $(EXTRA_HOST_FLAGS) ; do \
5239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5240 done; \
5241 echo "Doing dvi in binutils" ; \
5242 (cd $(HOST_SUBDIR)/binutils && \
5243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5245 "RANLIB=$${RANLIB}" \
5246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5247 dvi) \
5248 || exit 1
5250 @endif binutils
5252 .PHONY: maybe-pdf-binutils pdf-binutils
5253 maybe-pdf-binutils:
5254 @if binutils
5255 maybe-pdf-binutils: pdf-binutils
5257 pdf-binutils: \
5258 configure-binutils
5259 @[ -f ./binutils/Makefile ] || exit 0; \
5260 r=`${PWD_COMMAND}`; export r; \
5261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5262 $(HOST_EXPORTS) \
5263 for flag in $(EXTRA_HOST_FLAGS) ; do \
5264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5265 done; \
5266 echo "Doing pdf in binutils" ; \
5267 (cd $(HOST_SUBDIR)/binutils && \
5268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5270 "RANLIB=$${RANLIB}" \
5271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5272 pdf) \
5273 || exit 1
5275 @endif binutils
5277 .PHONY: maybe-html-binutils html-binutils
5278 maybe-html-binutils:
5279 @if binutils
5280 maybe-html-binutils: html-binutils
5282 html-binutils: \
5283 configure-binutils
5284 @[ -f ./binutils/Makefile ] || exit 0; \
5285 r=`${PWD_COMMAND}`; export r; \
5286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5287 $(HOST_EXPORTS) \
5288 for flag in $(EXTRA_HOST_FLAGS) ; do \
5289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5290 done; \
5291 echo "Doing html in binutils" ; \
5292 (cd $(HOST_SUBDIR)/binutils && \
5293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5295 "RANLIB=$${RANLIB}" \
5296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5297 html) \
5298 || exit 1
5300 @endif binutils
5302 .PHONY: maybe-TAGS-binutils TAGS-binutils
5303 maybe-TAGS-binutils:
5304 @if binutils
5305 maybe-TAGS-binutils: TAGS-binutils
5307 TAGS-binutils: \
5308 configure-binutils
5309 @[ -f ./binutils/Makefile ] || exit 0; \
5310 r=`${PWD_COMMAND}`; export r; \
5311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5312 $(HOST_EXPORTS) \
5313 for flag in $(EXTRA_HOST_FLAGS) ; do \
5314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5315 done; \
5316 echo "Doing TAGS in binutils" ; \
5317 (cd $(HOST_SUBDIR)/binutils && \
5318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5320 "RANLIB=$${RANLIB}" \
5321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5322 TAGS) \
5323 || exit 1
5325 @endif binutils
5327 .PHONY: maybe-install-info-binutils install-info-binutils
5328 maybe-install-info-binutils:
5329 @if binutils
5330 maybe-install-info-binutils: install-info-binutils
5332 install-info-binutils: \
5333 configure-binutils \
5334 info-binutils
5335 @[ -f ./binutils/Makefile ] || exit 0; \
5336 r=`${PWD_COMMAND}`; export r; \
5337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5338 $(HOST_EXPORTS) \
5339 for flag in $(EXTRA_HOST_FLAGS) ; do \
5340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5341 done; \
5342 echo "Doing install-info in binutils" ; \
5343 (cd $(HOST_SUBDIR)/binutils && \
5344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5346 "RANLIB=$${RANLIB}" \
5347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5348 install-info) \
5349 || exit 1
5351 @endif binutils
5353 .PHONY: maybe-install-pdf-binutils install-pdf-binutils
5354 maybe-install-pdf-binutils:
5355 @if binutils
5356 maybe-install-pdf-binutils: install-pdf-binutils
5358 install-pdf-binutils: \
5359 configure-binutils \
5360 pdf-binutils
5361 @[ -f ./binutils/Makefile ] || exit 0; \
5362 r=`${PWD_COMMAND}`; export r; \
5363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5364 $(HOST_EXPORTS) \
5365 for flag in $(EXTRA_HOST_FLAGS) ; do \
5366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5367 done; \
5368 echo "Doing install-pdf in binutils" ; \
5369 (cd $(HOST_SUBDIR)/binutils && \
5370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5372 "RANLIB=$${RANLIB}" \
5373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5374 install-pdf) \
5375 || exit 1
5377 @endif binutils
5379 .PHONY: maybe-install-html-binutils install-html-binutils
5380 maybe-install-html-binutils:
5381 @if binutils
5382 maybe-install-html-binutils: install-html-binutils
5384 install-html-binutils: \
5385 configure-binutils \
5386 html-binutils
5387 @[ -f ./binutils/Makefile ] || exit 0; \
5388 r=`${PWD_COMMAND}`; export r; \
5389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5390 $(HOST_EXPORTS) \
5391 for flag in $(EXTRA_HOST_FLAGS) ; do \
5392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5393 done; \
5394 echo "Doing install-html in binutils" ; \
5395 (cd $(HOST_SUBDIR)/binutils && \
5396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5398 "RANLIB=$${RANLIB}" \
5399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5400 install-html) \
5401 || exit 1
5403 @endif binutils
5405 .PHONY: maybe-installcheck-binutils installcheck-binutils
5406 maybe-installcheck-binutils:
5407 @if binutils
5408 maybe-installcheck-binutils: installcheck-binutils
5410 installcheck-binutils: \
5411 configure-binutils
5412 @[ -f ./binutils/Makefile ] || exit 0; \
5413 r=`${PWD_COMMAND}`; export r; \
5414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5415 $(HOST_EXPORTS) \
5416 for flag in $(EXTRA_HOST_FLAGS) ; do \
5417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5418 done; \
5419 echo "Doing installcheck in binutils" ; \
5420 (cd $(HOST_SUBDIR)/binutils && \
5421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5423 "RANLIB=$${RANLIB}" \
5424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5425 installcheck) \
5426 || exit 1
5428 @endif binutils
5430 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
5431 maybe-mostlyclean-binutils:
5432 @if binutils
5433 maybe-mostlyclean-binutils: mostlyclean-binutils
5435 mostlyclean-binutils:
5436 @[ -f ./binutils/Makefile ] || exit 0; \
5437 r=`${PWD_COMMAND}`; export r; \
5438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5439 $(HOST_EXPORTS) \
5440 for flag in $(EXTRA_HOST_FLAGS) ; do \
5441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5442 done; \
5443 echo "Doing mostlyclean in binutils" ; \
5444 (cd $(HOST_SUBDIR)/binutils && \
5445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5447 "RANLIB=$${RANLIB}" \
5448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5449 mostlyclean) \
5450 || exit 1
5452 @endif binutils
5454 .PHONY: maybe-clean-binutils clean-binutils
5455 maybe-clean-binutils:
5456 @if binutils
5457 maybe-clean-binutils: clean-binutils
5459 clean-binutils:
5460 @[ -f ./binutils/Makefile ] || exit 0; \
5461 r=`${PWD_COMMAND}`; export r; \
5462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5463 $(HOST_EXPORTS) \
5464 for flag in $(EXTRA_HOST_FLAGS) ; do \
5465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5466 done; \
5467 echo "Doing clean in binutils" ; \
5468 (cd $(HOST_SUBDIR)/binutils && \
5469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5471 "RANLIB=$${RANLIB}" \
5472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5473 clean) \
5474 || exit 1
5476 @endif binutils
5478 .PHONY: maybe-distclean-binutils distclean-binutils
5479 maybe-distclean-binutils:
5480 @if binutils
5481 maybe-distclean-binutils: distclean-binutils
5483 distclean-binutils:
5484 @[ -f ./binutils/Makefile ] || exit 0; \
5485 r=`${PWD_COMMAND}`; export r; \
5486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5487 $(HOST_EXPORTS) \
5488 for flag in $(EXTRA_HOST_FLAGS) ; do \
5489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5490 done; \
5491 echo "Doing distclean in binutils" ; \
5492 (cd $(HOST_SUBDIR)/binutils && \
5493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5495 "RANLIB=$${RANLIB}" \
5496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5497 distclean) \
5498 || exit 1
5500 @endif binutils
5502 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
5503 maybe-maintainer-clean-binutils:
5504 @if binutils
5505 maybe-maintainer-clean-binutils: maintainer-clean-binutils
5507 maintainer-clean-binutils:
5508 @[ -f ./binutils/Makefile ] || exit 0; \
5509 r=`${PWD_COMMAND}`; export r; \
5510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5511 $(HOST_EXPORTS) \
5512 for flag in $(EXTRA_HOST_FLAGS) ; do \
5513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5514 done; \
5515 echo "Doing maintainer-clean in binutils" ; \
5516 (cd $(HOST_SUBDIR)/binutils && \
5517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5519 "RANLIB=$${RANLIB}" \
5520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5521 maintainer-clean) \
5522 || exit 1
5524 @endif binutils
5528 .PHONY: configure-bison maybe-configure-bison
5529 maybe-configure-bison:
5530 @if gcc-bootstrap
5531 configure-bison: stage_current
5532 @endif gcc-bootstrap
5533 @if bison
5534 maybe-configure-bison: configure-bison
5535 configure-bison:
5536 @: $(MAKE); $(unstage)
5537 @r=`${PWD_COMMAND}`; export r; \
5538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5539 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
5540 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
5541 $(HOST_EXPORTS) \
5542 echo Configuring in $(HOST_SUBDIR)/bison; \
5543 cd "$(HOST_SUBDIR)/bison" || exit 1; \
5544 case $(srcdir) in \
5545 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5546 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
5547 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5548 esac; \
5549 srcdiroption="--srcdir=$${topdir}/bison"; \
5550 libsrcdir="$$s/bison"; \
5551 $(SHELL) $${libsrcdir}/configure \
5552 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5553 --target=${target_alias} $${srcdiroption} \
5554 || exit 1
5555 @endif bison
5561 .PHONY: all-bison maybe-all-bison
5562 maybe-all-bison:
5563 @if gcc-bootstrap
5564 all-bison: stage_current
5565 @endif gcc-bootstrap
5566 @if bison
5567 TARGET-bison=all
5568 maybe-all-bison: all-bison
5569 all-bison: configure-bison
5570 @: $(MAKE); $(unstage)
5571 @r=`${PWD_COMMAND}`; export r; \
5572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5573 $(HOST_EXPORTS) \
5574 (cd $(HOST_SUBDIR)/bison && \
5575 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
5576 $(TARGET-bison))
5577 @endif bison
5582 .PHONY: check-bison maybe-check-bison
5583 maybe-check-bison:
5584 @if bison
5585 maybe-check-bison: check-bison
5587 # This module is only tested in a native toolchain.
5588 check-bison:
5589 @: $(MAKE); $(unstage)
5590 @if [ '$(host)' = '$(target)' ] ; then \
5591 r=`${PWD_COMMAND}`; export r; \
5592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5593 $(HOST_EXPORTS) \
5594 (cd $(HOST_SUBDIR)/bison && \
5595 $(MAKE) $(FLAGS_TO_PASS) check); \
5598 @endif bison
5600 .PHONY: install-bison maybe-install-bison
5601 maybe-install-bison:
5602 @if bison
5603 maybe-install-bison: install-bison
5605 install-bison: installdirs
5606 @: $(MAKE); $(unstage)
5607 @r=`${PWD_COMMAND}`; export r; \
5608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5609 $(HOST_EXPORTS) \
5610 (cd $(HOST_SUBDIR)/bison && \
5611 $(MAKE) $(FLAGS_TO_PASS) install)
5613 @endif bison
5615 .PHONY: install-strip-bison maybe-install-strip-bison
5616 maybe-install-strip-bison:
5617 @if bison
5618 maybe-install-strip-bison: install-strip-bison
5620 install-strip-bison: installdirs
5621 @: $(MAKE); $(unstage)
5622 @r=`${PWD_COMMAND}`; export r; \
5623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5624 $(HOST_EXPORTS) \
5625 (cd $(HOST_SUBDIR)/bison && \
5626 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5628 @endif bison
5630 # Other targets (info, dvi, pdf, etc.)
5632 .PHONY: maybe-info-bison info-bison
5633 maybe-info-bison:
5634 @if bison
5635 maybe-info-bison: info-bison
5637 info-bison: \
5638 configure-bison
5639 @: $(MAKE); $(unstage)
5640 @[ -f ./bison/Makefile ] || exit 0; \
5641 r=`${PWD_COMMAND}`; export r; \
5642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5643 $(HOST_EXPORTS) \
5644 for flag in $(EXTRA_HOST_FLAGS) ; do \
5645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5646 done; \
5647 echo "Doing info in bison" ; \
5648 (cd $(HOST_SUBDIR)/bison && \
5649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5651 "RANLIB=$${RANLIB}" \
5652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5653 info) \
5654 || exit 1
5656 @endif bison
5658 .PHONY: maybe-dvi-bison dvi-bison
5659 maybe-dvi-bison:
5660 @if bison
5661 maybe-dvi-bison: dvi-bison
5663 dvi-bison: \
5664 configure-bison
5665 @: $(MAKE); $(unstage)
5666 @[ -f ./bison/Makefile ] || exit 0; \
5667 r=`${PWD_COMMAND}`; export r; \
5668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5669 $(HOST_EXPORTS) \
5670 for flag in $(EXTRA_HOST_FLAGS) ; do \
5671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5672 done; \
5673 echo "Doing dvi in bison" ; \
5674 (cd $(HOST_SUBDIR)/bison && \
5675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5677 "RANLIB=$${RANLIB}" \
5678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5679 dvi) \
5680 || exit 1
5682 @endif bison
5684 .PHONY: maybe-pdf-bison pdf-bison
5685 maybe-pdf-bison:
5686 @if bison
5687 maybe-pdf-bison: pdf-bison
5689 pdf-bison: \
5690 configure-bison
5691 @: $(MAKE); $(unstage)
5692 @[ -f ./bison/Makefile ] || exit 0; \
5693 r=`${PWD_COMMAND}`; export r; \
5694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5695 $(HOST_EXPORTS) \
5696 for flag in $(EXTRA_HOST_FLAGS) ; do \
5697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5698 done; \
5699 echo "Doing pdf in bison" ; \
5700 (cd $(HOST_SUBDIR)/bison && \
5701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5703 "RANLIB=$${RANLIB}" \
5704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5705 pdf) \
5706 || exit 1
5708 @endif bison
5710 .PHONY: maybe-html-bison html-bison
5711 maybe-html-bison:
5712 @if bison
5713 maybe-html-bison: html-bison
5715 html-bison: \
5716 configure-bison
5717 @: $(MAKE); $(unstage)
5718 @[ -f ./bison/Makefile ] || exit 0; \
5719 r=`${PWD_COMMAND}`; export r; \
5720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5721 $(HOST_EXPORTS) \
5722 for flag in $(EXTRA_HOST_FLAGS) ; do \
5723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5724 done; \
5725 echo "Doing html in bison" ; \
5726 (cd $(HOST_SUBDIR)/bison && \
5727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5729 "RANLIB=$${RANLIB}" \
5730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5731 html) \
5732 || exit 1
5734 @endif bison
5736 .PHONY: maybe-TAGS-bison TAGS-bison
5737 maybe-TAGS-bison:
5738 @if bison
5739 maybe-TAGS-bison: TAGS-bison
5741 TAGS-bison: \
5742 configure-bison
5743 @: $(MAKE); $(unstage)
5744 @[ -f ./bison/Makefile ] || exit 0; \
5745 r=`${PWD_COMMAND}`; export r; \
5746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5747 $(HOST_EXPORTS) \
5748 for flag in $(EXTRA_HOST_FLAGS) ; do \
5749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5750 done; \
5751 echo "Doing TAGS in bison" ; \
5752 (cd $(HOST_SUBDIR)/bison && \
5753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5755 "RANLIB=$${RANLIB}" \
5756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5757 TAGS) \
5758 || exit 1
5760 @endif bison
5762 .PHONY: maybe-install-info-bison install-info-bison
5763 maybe-install-info-bison:
5764 @if bison
5765 maybe-install-info-bison: install-info-bison
5767 install-info-bison: \
5768 configure-bison \
5769 info-bison
5770 @: $(MAKE); $(unstage)
5771 @[ -f ./bison/Makefile ] || exit 0; \
5772 r=`${PWD_COMMAND}`; export r; \
5773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5774 $(HOST_EXPORTS) \
5775 for flag in $(EXTRA_HOST_FLAGS) ; do \
5776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5777 done; \
5778 echo "Doing install-info in bison" ; \
5779 (cd $(HOST_SUBDIR)/bison && \
5780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5782 "RANLIB=$${RANLIB}" \
5783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5784 install-info) \
5785 || exit 1
5787 @endif bison
5789 .PHONY: maybe-install-pdf-bison install-pdf-bison
5790 maybe-install-pdf-bison:
5791 @if bison
5792 maybe-install-pdf-bison: install-pdf-bison
5794 install-pdf-bison: \
5795 configure-bison \
5796 pdf-bison
5797 @: $(MAKE); $(unstage)
5798 @[ -f ./bison/Makefile ] || exit 0; \
5799 r=`${PWD_COMMAND}`; export r; \
5800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5801 $(HOST_EXPORTS) \
5802 for flag in $(EXTRA_HOST_FLAGS) ; do \
5803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5804 done; \
5805 echo "Doing install-pdf in bison" ; \
5806 (cd $(HOST_SUBDIR)/bison && \
5807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5809 "RANLIB=$${RANLIB}" \
5810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5811 install-pdf) \
5812 || exit 1
5814 @endif bison
5816 .PHONY: maybe-install-html-bison install-html-bison
5817 maybe-install-html-bison:
5818 @if bison
5819 maybe-install-html-bison: install-html-bison
5821 install-html-bison: \
5822 configure-bison \
5823 html-bison
5824 @: $(MAKE); $(unstage)
5825 @[ -f ./bison/Makefile ] || exit 0; \
5826 r=`${PWD_COMMAND}`; export r; \
5827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5828 $(HOST_EXPORTS) \
5829 for flag in $(EXTRA_HOST_FLAGS) ; do \
5830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5831 done; \
5832 echo "Doing install-html in bison" ; \
5833 (cd $(HOST_SUBDIR)/bison && \
5834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5836 "RANLIB=$${RANLIB}" \
5837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5838 install-html) \
5839 || exit 1
5841 @endif bison
5843 .PHONY: maybe-installcheck-bison installcheck-bison
5844 maybe-installcheck-bison:
5845 @if bison
5846 maybe-installcheck-bison: installcheck-bison
5848 installcheck-bison: \
5849 configure-bison
5850 @: $(MAKE); $(unstage)
5851 @[ -f ./bison/Makefile ] || exit 0; \
5852 r=`${PWD_COMMAND}`; export r; \
5853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5854 $(HOST_EXPORTS) \
5855 for flag in $(EXTRA_HOST_FLAGS) ; do \
5856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5857 done; \
5858 echo "Doing installcheck in bison" ; \
5859 (cd $(HOST_SUBDIR)/bison && \
5860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5862 "RANLIB=$${RANLIB}" \
5863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5864 installcheck) \
5865 || exit 1
5867 @endif bison
5869 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
5870 maybe-mostlyclean-bison:
5871 @if bison
5872 maybe-mostlyclean-bison: mostlyclean-bison
5874 mostlyclean-bison:
5875 @: $(MAKE); $(unstage)
5876 @[ -f ./bison/Makefile ] || exit 0; \
5877 r=`${PWD_COMMAND}`; export r; \
5878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5879 $(HOST_EXPORTS) \
5880 for flag in $(EXTRA_HOST_FLAGS) ; do \
5881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5882 done; \
5883 echo "Doing mostlyclean in bison" ; \
5884 (cd $(HOST_SUBDIR)/bison && \
5885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5887 "RANLIB=$${RANLIB}" \
5888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5889 mostlyclean) \
5890 || exit 1
5892 @endif bison
5894 .PHONY: maybe-clean-bison clean-bison
5895 maybe-clean-bison:
5896 @if bison
5897 maybe-clean-bison: clean-bison
5899 clean-bison:
5900 @: $(MAKE); $(unstage)
5901 @[ -f ./bison/Makefile ] || exit 0; \
5902 r=`${PWD_COMMAND}`; export r; \
5903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5904 $(HOST_EXPORTS) \
5905 for flag in $(EXTRA_HOST_FLAGS) ; do \
5906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5907 done; \
5908 echo "Doing clean in bison" ; \
5909 (cd $(HOST_SUBDIR)/bison && \
5910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5912 "RANLIB=$${RANLIB}" \
5913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5914 clean) \
5915 || exit 1
5917 @endif bison
5919 .PHONY: maybe-distclean-bison distclean-bison
5920 maybe-distclean-bison:
5921 @if bison
5922 maybe-distclean-bison: distclean-bison
5924 distclean-bison:
5925 @: $(MAKE); $(unstage)
5926 @[ -f ./bison/Makefile ] || exit 0; \
5927 r=`${PWD_COMMAND}`; export r; \
5928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5929 $(HOST_EXPORTS) \
5930 for flag in $(EXTRA_HOST_FLAGS) ; do \
5931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5932 done; \
5933 echo "Doing distclean in bison" ; \
5934 (cd $(HOST_SUBDIR)/bison && \
5935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5937 "RANLIB=$${RANLIB}" \
5938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5939 distclean) \
5940 || exit 1
5942 @endif bison
5944 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
5945 maybe-maintainer-clean-bison:
5946 @if bison
5947 maybe-maintainer-clean-bison: maintainer-clean-bison
5949 maintainer-clean-bison:
5950 @: $(MAKE); $(unstage)
5951 @[ -f ./bison/Makefile ] || exit 0; \
5952 r=`${PWD_COMMAND}`; export r; \
5953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5954 $(HOST_EXPORTS) \
5955 for flag in $(EXTRA_HOST_FLAGS) ; do \
5956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5957 done; \
5958 echo "Doing maintainer-clean in bison" ; \
5959 (cd $(HOST_SUBDIR)/bison && \
5960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5962 "RANLIB=$${RANLIB}" \
5963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5964 maintainer-clean) \
5965 || exit 1
5967 @endif bison
5971 .PHONY: configure-cgen maybe-configure-cgen
5972 maybe-configure-cgen:
5973 @if gcc-bootstrap
5974 configure-cgen: stage_current
5975 @endif gcc-bootstrap
5976 @if cgen
5977 maybe-configure-cgen: configure-cgen
5978 configure-cgen:
5979 @: $(MAKE); $(unstage)
5980 @r=`${PWD_COMMAND}`; export r; \
5981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5982 test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \
5983 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen ; \
5984 $(HOST_EXPORTS) \
5985 echo Configuring in $(HOST_SUBDIR)/cgen; \
5986 cd "$(HOST_SUBDIR)/cgen" || exit 1; \
5987 case $(srcdir) in \
5988 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5989 *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \
5990 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5991 esac; \
5992 srcdiroption="--srcdir=$${topdir}/cgen"; \
5993 libsrcdir="$$s/cgen"; \
5994 $(SHELL) $${libsrcdir}/configure \
5995 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5996 --target=${target_alias} $${srcdiroption} \
5997 || exit 1
5998 @endif cgen
6004 .PHONY: all-cgen maybe-all-cgen
6005 maybe-all-cgen:
6006 @if gcc-bootstrap
6007 all-cgen: stage_current
6008 @endif gcc-bootstrap
6009 @if cgen
6010 TARGET-cgen=all
6011 maybe-all-cgen: all-cgen
6012 all-cgen: configure-cgen
6013 @: $(MAKE); $(unstage)
6014 @r=`${PWD_COMMAND}`; export r; \
6015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6016 $(HOST_EXPORTS) \
6017 (cd $(HOST_SUBDIR)/cgen && \
6018 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
6019 $(TARGET-cgen))
6020 @endif cgen
6025 .PHONY: check-cgen maybe-check-cgen
6026 maybe-check-cgen:
6027 @if cgen
6028 maybe-check-cgen: check-cgen
6030 check-cgen:
6031 @: $(MAKE); $(unstage)
6032 @r=`${PWD_COMMAND}`; export r; \
6033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6034 $(HOST_EXPORTS) \
6035 (cd $(HOST_SUBDIR)/cgen && \
6036 $(MAKE) $(FLAGS_TO_PASS) check)
6038 @endif cgen
6040 .PHONY: install-cgen maybe-install-cgen
6041 maybe-install-cgen:
6042 @if cgen
6043 maybe-install-cgen: install-cgen
6045 install-cgen: installdirs
6046 @: $(MAKE); $(unstage)
6047 @r=`${PWD_COMMAND}`; export r; \
6048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6049 $(HOST_EXPORTS) \
6050 (cd $(HOST_SUBDIR)/cgen && \
6051 $(MAKE) $(FLAGS_TO_PASS) install)
6053 @endif cgen
6055 .PHONY: install-strip-cgen maybe-install-strip-cgen
6056 maybe-install-strip-cgen:
6057 @if cgen
6058 maybe-install-strip-cgen: install-strip-cgen
6060 install-strip-cgen: installdirs
6061 @: $(MAKE); $(unstage)
6062 @r=`${PWD_COMMAND}`; export r; \
6063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6064 $(HOST_EXPORTS) \
6065 (cd $(HOST_SUBDIR)/cgen && \
6066 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6068 @endif cgen
6070 # Other targets (info, dvi, pdf, etc.)
6072 .PHONY: maybe-info-cgen info-cgen
6073 maybe-info-cgen:
6074 @if cgen
6075 maybe-info-cgen: info-cgen
6077 info-cgen: \
6078 configure-cgen
6079 @: $(MAKE); $(unstage)
6080 @[ -f ./cgen/Makefile ] || exit 0; \
6081 r=`${PWD_COMMAND}`; export r; \
6082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6083 $(HOST_EXPORTS) \
6084 for flag in $(EXTRA_HOST_FLAGS) ; do \
6085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6086 done; \
6087 echo "Doing info in cgen" ; \
6088 (cd $(HOST_SUBDIR)/cgen && \
6089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6091 "RANLIB=$${RANLIB}" \
6092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6093 info) \
6094 || exit 1
6096 @endif cgen
6098 .PHONY: maybe-dvi-cgen dvi-cgen
6099 maybe-dvi-cgen:
6100 @if cgen
6101 maybe-dvi-cgen: dvi-cgen
6103 dvi-cgen: \
6104 configure-cgen
6105 @: $(MAKE); $(unstage)
6106 @[ -f ./cgen/Makefile ] || exit 0; \
6107 r=`${PWD_COMMAND}`; export r; \
6108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6109 $(HOST_EXPORTS) \
6110 for flag in $(EXTRA_HOST_FLAGS) ; do \
6111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6112 done; \
6113 echo "Doing dvi in cgen" ; \
6114 (cd $(HOST_SUBDIR)/cgen && \
6115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6117 "RANLIB=$${RANLIB}" \
6118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6119 dvi) \
6120 || exit 1
6122 @endif cgen
6124 .PHONY: maybe-pdf-cgen pdf-cgen
6125 maybe-pdf-cgen:
6126 @if cgen
6127 maybe-pdf-cgen: pdf-cgen
6129 pdf-cgen: \
6130 configure-cgen
6131 @: $(MAKE); $(unstage)
6132 @[ -f ./cgen/Makefile ] || exit 0; \
6133 r=`${PWD_COMMAND}`; export r; \
6134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6135 $(HOST_EXPORTS) \
6136 for flag in $(EXTRA_HOST_FLAGS) ; do \
6137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6138 done; \
6139 echo "Doing pdf in cgen" ; \
6140 (cd $(HOST_SUBDIR)/cgen && \
6141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6143 "RANLIB=$${RANLIB}" \
6144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6145 pdf) \
6146 || exit 1
6148 @endif cgen
6150 .PHONY: maybe-html-cgen html-cgen
6151 maybe-html-cgen:
6152 @if cgen
6153 maybe-html-cgen: html-cgen
6155 html-cgen: \
6156 configure-cgen
6157 @: $(MAKE); $(unstage)
6158 @[ -f ./cgen/Makefile ] || exit 0; \
6159 r=`${PWD_COMMAND}`; export r; \
6160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6161 $(HOST_EXPORTS) \
6162 for flag in $(EXTRA_HOST_FLAGS) ; do \
6163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6164 done; \
6165 echo "Doing html in cgen" ; \
6166 (cd $(HOST_SUBDIR)/cgen && \
6167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6169 "RANLIB=$${RANLIB}" \
6170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6171 html) \
6172 || exit 1
6174 @endif cgen
6176 .PHONY: maybe-TAGS-cgen TAGS-cgen
6177 maybe-TAGS-cgen:
6178 @if cgen
6179 maybe-TAGS-cgen: TAGS-cgen
6181 TAGS-cgen: \
6182 configure-cgen
6183 @: $(MAKE); $(unstage)
6184 @[ -f ./cgen/Makefile ] || exit 0; \
6185 r=`${PWD_COMMAND}`; export r; \
6186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6187 $(HOST_EXPORTS) \
6188 for flag in $(EXTRA_HOST_FLAGS) ; do \
6189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6190 done; \
6191 echo "Doing TAGS in cgen" ; \
6192 (cd $(HOST_SUBDIR)/cgen && \
6193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6195 "RANLIB=$${RANLIB}" \
6196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6197 TAGS) \
6198 || exit 1
6200 @endif cgen
6202 .PHONY: maybe-install-info-cgen install-info-cgen
6203 maybe-install-info-cgen:
6204 @if cgen
6205 maybe-install-info-cgen: install-info-cgen
6207 install-info-cgen: \
6208 configure-cgen \
6209 info-cgen
6210 @: $(MAKE); $(unstage)
6211 @[ -f ./cgen/Makefile ] || exit 0; \
6212 r=`${PWD_COMMAND}`; export r; \
6213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6214 $(HOST_EXPORTS) \
6215 for flag in $(EXTRA_HOST_FLAGS) ; do \
6216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6217 done; \
6218 echo "Doing install-info in cgen" ; \
6219 (cd $(HOST_SUBDIR)/cgen && \
6220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6222 "RANLIB=$${RANLIB}" \
6223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6224 install-info) \
6225 || exit 1
6227 @endif cgen
6229 .PHONY: maybe-install-pdf-cgen install-pdf-cgen
6230 maybe-install-pdf-cgen:
6231 @if cgen
6232 maybe-install-pdf-cgen: install-pdf-cgen
6234 install-pdf-cgen: \
6235 configure-cgen \
6236 pdf-cgen
6237 @: $(MAKE); $(unstage)
6238 @[ -f ./cgen/Makefile ] || exit 0; \
6239 r=`${PWD_COMMAND}`; export r; \
6240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6241 $(HOST_EXPORTS) \
6242 for flag in $(EXTRA_HOST_FLAGS) ; do \
6243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6244 done; \
6245 echo "Doing install-pdf in cgen" ; \
6246 (cd $(HOST_SUBDIR)/cgen && \
6247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6249 "RANLIB=$${RANLIB}" \
6250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6251 install-pdf) \
6252 || exit 1
6254 @endif cgen
6256 .PHONY: maybe-install-html-cgen install-html-cgen
6257 maybe-install-html-cgen:
6258 @if cgen
6259 maybe-install-html-cgen: install-html-cgen
6261 install-html-cgen: \
6262 configure-cgen \
6263 html-cgen
6264 @: $(MAKE); $(unstage)
6265 @[ -f ./cgen/Makefile ] || exit 0; \
6266 r=`${PWD_COMMAND}`; export r; \
6267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6268 $(HOST_EXPORTS) \
6269 for flag in $(EXTRA_HOST_FLAGS) ; do \
6270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6271 done; \
6272 echo "Doing install-html in cgen" ; \
6273 (cd $(HOST_SUBDIR)/cgen && \
6274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6276 "RANLIB=$${RANLIB}" \
6277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6278 install-html) \
6279 || exit 1
6281 @endif cgen
6283 .PHONY: maybe-installcheck-cgen installcheck-cgen
6284 maybe-installcheck-cgen:
6285 @if cgen
6286 maybe-installcheck-cgen: installcheck-cgen
6288 installcheck-cgen: \
6289 configure-cgen
6290 @: $(MAKE); $(unstage)
6291 @[ -f ./cgen/Makefile ] || exit 0; \
6292 r=`${PWD_COMMAND}`; export r; \
6293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6294 $(HOST_EXPORTS) \
6295 for flag in $(EXTRA_HOST_FLAGS) ; do \
6296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6297 done; \
6298 echo "Doing installcheck in cgen" ; \
6299 (cd $(HOST_SUBDIR)/cgen && \
6300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6302 "RANLIB=$${RANLIB}" \
6303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6304 installcheck) \
6305 || exit 1
6307 @endif cgen
6309 .PHONY: maybe-mostlyclean-cgen mostlyclean-cgen
6310 maybe-mostlyclean-cgen:
6311 @if cgen
6312 maybe-mostlyclean-cgen: mostlyclean-cgen
6314 mostlyclean-cgen:
6315 @: $(MAKE); $(unstage)
6316 @[ -f ./cgen/Makefile ] || exit 0; \
6317 r=`${PWD_COMMAND}`; export r; \
6318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6319 $(HOST_EXPORTS) \
6320 for flag in $(EXTRA_HOST_FLAGS) ; do \
6321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6322 done; \
6323 echo "Doing mostlyclean in cgen" ; \
6324 (cd $(HOST_SUBDIR)/cgen && \
6325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6327 "RANLIB=$${RANLIB}" \
6328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6329 mostlyclean) \
6330 || exit 1
6332 @endif cgen
6334 .PHONY: maybe-clean-cgen clean-cgen
6335 maybe-clean-cgen:
6336 @if cgen
6337 maybe-clean-cgen: clean-cgen
6339 clean-cgen:
6340 @: $(MAKE); $(unstage)
6341 @[ -f ./cgen/Makefile ] || exit 0; \
6342 r=`${PWD_COMMAND}`; export r; \
6343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6344 $(HOST_EXPORTS) \
6345 for flag in $(EXTRA_HOST_FLAGS) ; do \
6346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6347 done; \
6348 echo "Doing clean in cgen" ; \
6349 (cd $(HOST_SUBDIR)/cgen && \
6350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6352 "RANLIB=$${RANLIB}" \
6353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6354 clean) \
6355 || exit 1
6357 @endif cgen
6359 .PHONY: maybe-distclean-cgen distclean-cgen
6360 maybe-distclean-cgen:
6361 @if cgen
6362 maybe-distclean-cgen: distclean-cgen
6364 distclean-cgen:
6365 @: $(MAKE); $(unstage)
6366 @[ -f ./cgen/Makefile ] || exit 0; \
6367 r=`${PWD_COMMAND}`; export r; \
6368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6369 $(HOST_EXPORTS) \
6370 for flag in $(EXTRA_HOST_FLAGS) ; do \
6371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6372 done; \
6373 echo "Doing distclean in cgen" ; \
6374 (cd $(HOST_SUBDIR)/cgen && \
6375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6377 "RANLIB=$${RANLIB}" \
6378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6379 distclean) \
6380 || exit 1
6382 @endif cgen
6384 .PHONY: maybe-maintainer-clean-cgen maintainer-clean-cgen
6385 maybe-maintainer-clean-cgen:
6386 @if cgen
6387 maybe-maintainer-clean-cgen: maintainer-clean-cgen
6389 maintainer-clean-cgen:
6390 @: $(MAKE); $(unstage)
6391 @[ -f ./cgen/Makefile ] || exit 0; \
6392 r=`${PWD_COMMAND}`; export r; \
6393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6394 $(HOST_EXPORTS) \
6395 for flag in $(EXTRA_HOST_FLAGS) ; do \
6396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6397 done; \
6398 echo "Doing maintainer-clean in cgen" ; \
6399 (cd $(HOST_SUBDIR)/cgen && \
6400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6402 "RANLIB=$${RANLIB}" \
6403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6404 maintainer-clean) \
6405 || exit 1
6407 @endif cgen
6411 .PHONY: configure-dejagnu maybe-configure-dejagnu
6412 maybe-configure-dejagnu:
6413 @if gcc-bootstrap
6414 configure-dejagnu: stage_current
6415 @endif gcc-bootstrap
6416 @if dejagnu
6417 maybe-configure-dejagnu: configure-dejagnu
6418 configure-dejagnu:
6419 @: $(MAKE); $(unstage)
6420 @r=`${PWD_COMMAND}`; export r; \
6421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6422 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
6423 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
6424 $(HOST_EXPORTS) \
6425 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
6426 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
6427 case $(srcdir) in \
6428 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6429 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
6430 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6431 esac; \
6432 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
6433 libsrcdir="$$s/dejagnu"; \
6434 $(SHELL) $${libsrcdir}/configure \
6435 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6436 --target=${target_alias} $${srcdiroption} \
6437 || exit 1
6438 @endif dejagnu
6444 .PHONY: all-dejagnu maybe-all-dejagnu
6445 maybe-all-dejagnu:
6446 @if gcc-bootstrap
6447 all-dejagnu: stage_current
6448 @endif gcc-bootstrap
6449 @if dejagnu
6450 TARGET-dejagnu=all
6451 maybe-all-dejagnu: all-dejagnu
6452 all-dejagnu: configure-dejagnu
6453 @: $(MAKE); $(unstage)
6454 @r=`${PWD_COMMAND}`; export r; \
6455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6456 $(HOST_EXPORTS) \
6457 (cd $(HOST_SUBDIR)/dejagnu && \
6458 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
6459 $(TARGET-dejagnu))
6460 @endif dejagnu
6465 .PHONY: check-dejagnu maybe-check-dejagnu
6466 maybe-check-dejagnu:
6467 @if dejagnu
6468 maybe-check-dejagnu: check-dejagnu
6470 check-dejagnu:
6471 @: $(MAKE); $(unstage)
6472 @r=`${PWD_COMMAND}`; export r; \
6473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6474 $(HOST_EXPORTS) \
6475 (cd $(HOST_SUBDIR)/dejagnu && \
6476 $(MAKE) $(FLAGS_TO_PASS) check)
6478 @endif dejagnu
6480 .PHONY: install-dejagnu maybe-install-dejagnu
6481 maybe-install-dejagnu:
6482 @if dejagnu
6483 maybe-install-dejagnu: install-dejagnu
6485 install-dejagnu: installdirs
6486 @: $(MAKE); $(unstage)
6487 @r=`${PWD_COMMAND}`; export r; \
6488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6489 $(HOST_EXPORTS) \
6490 (cd $(HOST_SUBDIR)/dejagnu && \
6491 $(MAKE) $(FLAGS_TO_PASS) install)
6493 @endif dejagnu
6495 .PHONY: install-strip-dejagnu maybe-install-strip-dejagnu
6496 maybe-install-strip-dejagnu:
6497 @if dejagnu
6498 maybe-install-strip-dejagnu: install-strip-dejagnu
6500 install-strip-dejagnu: installdirs
6501 @: $(MAKE); $(unstage)
6502 @r=`${PWD_COMMAND}`; export r; \
6503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6504 $(HOST_EXPORTS) \
6505 (cd $(HOST_SUBDIR)/dejagnu && \
6506 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6508 @endif dejagnu
6510 # Other targets (info, dvi, pdf, etc.)
6512 .PHONY: maybe-info-dejagnu info-dejagnu
6513 maybe-info-dejagnu:
6514 @if dejagnu
6515 maybe-info-dejagnu: info-dejagnu
6517 info-dejagnu: \
6518 configure-dejagnu
6519 @: $(MAKE); $(unstage)
6520 @[ -f ./dejagnu/Makefile ] || exit 0; \
6521 r=`${PWD_COMMAND}`; export r; \
6522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6523 $(HOST_EXPORTS) \
6524 for flag in $(EXTRA_HOST_FLAGS) ; do \
6525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6526 done; \
6527 echo "Doing info in dejagnu" ; \
6528 (cd $(HOST_SUBDIR)/dejagnu && \
6529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6531 "RANLIB=$${RANLIB}" \
6532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6533 info) \
6534 || exit 1
6536 @endif dejagnu
6538 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
6539 maybe-dvi-dejagnu:
6540 @if dejagnu
6541 maybe-dvi-dejagnu: dvi-dejagnu
6543 dvi-dejagnu: \
6544 configure-dejagnu
6545 @: $(MAKE); $(unstage)
6546 @[ -f ./dejagnu/Makefile ] || exit 0; \
6547 r=`${PWD_COMMAND}`; export r; \
6548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6549 $(HOST_EXPORTS) \
6550 for flag in $(EXTRA_HOST_FLAGS) ; do \
6551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6552 done; \
6553 echo "Doing dvi in dejagnu" ; \
6554 (cd $(HOST_SUBDIR)/dejagnu && \
6555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6557 "RANLIB=$${RANLIB}" \
6558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6559 dvi) \
6560 || exit 1
6562 @endif dejagnu
6564 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
6565 maybe-pdf-dejagnu:
6566 @if dejagnu
6567 maybe-pdf-dejagnu: pdf-dejagnu
6569 pdf-dejagnu: \
6570 configure-dejagnu
6571 @: $(MAKE); $(unstage)
6572 @[ -f ./dejagnu/Makefile ] || exit 0; \
6573 r=`${PWD_COMMAND}`; export r; \
6574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6575 $(HOST_EXPORTS) \
6576 for flag in $(EXTRA_HOST_FLAGS) ; do \
6577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6578 done; \
6579 echo "Doing pdf in dejagnu" ; \
6580 (cd $(HOST_SUBDIR)/dejagnu && \
6581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6583 "RANLIB=$${RANLIB}" \
6584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6585 pdf) \
6586 || exit 1
6588 @endif dejagnu
6590 .PHONY: maybe-html-dejagnu html-dejagnu
6591 maybe-html-dejagnu:
6592 @if dejagnu
6593 maybe-html-dejagnu: html-dejagnu
6595 html-dejagnu: \
6596 configure-dejagnu
6597 @: $(MAKE); $(unstage)
6598 @[ -f ./dejagnu/Makefile ] || exit 0; \
6599 r=`${PWD_COMMAND}`; export r; \
6600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6601 $(HOST_EXPORTS) \
6602 for flag in $(EXTRA_HOST_FLAGS) ; do \
6603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6604 done; \
6605 echo "Doing html in dejagnu" ; \
6606 (cd $(HOST_SUBDIR)/dejagnu && \
6607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6609 "RANLIB=$${RANLIB}" \
6610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6611 html) \
6612 || exit 1
6614 @endif dejagnu
6616 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
6617 maybe-TAGS-dejagnu:
6618 @if dejagnu
6619 maybe-TAGS-dejagnu: TAGS-dejagnu
6621 TAGS-dejagnu: \
6622 configure-dejagnu
6623 @: $(MAKE); $(unstage)
6624 @[ -f ./dejagnu/Makefile ] || exit 0; \
6625 r=`${PWD_COMMAND}`; export r; \
6626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6627 $(HOST_EXPORTS) \
6628 for flag in $(EXTRA_HOST_FLAGS) ; do \
6629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6630 done; \
6631 echo "Doing TAGS in dejagnu" ; \
6632 (cd $(HOST_SUBDIR)/dejagnu && \
6633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6635 "RANLIB=$${RANLIB}" \
6636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6637 TAGS) \
6638 || exit 1
6640 @endif dejagnu
6642 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
6643 maybe-install-info-dejagnu:
6644 @if dejagnu
6645 maybe-install-info-dejagnu: install-info-dejagnu
6647 install-info-dejagnu: \
6648 configure-dejagnu \
6649 info-dejagnu
6650 @: $(MAKE); $(unstage)
6651 @[ -f ./dejagnu/Makefile ] || exit 0; \
6652 r=`${PWD_COMMAND}`; export r; \
6653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6654 $(HOST_EXPORTS) \
6655 for flag in $(EXTRA_HOST_FLAGS) ; do \
6656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6657 done; \
6658 echo "Doing install-info in dejagnu" ; \
6659 (cd $(HOST_SUBDIR)/dejagnu && \
6660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6662 "RANLIB=$${RANLIB}" \
6663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6664 install-info) \
6665 || exit 1
6667 @endif dejagnu
6669 .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu
6670 maybe-install-pdf-dejagnu:
6671 @if dejagnu
6672 maybe-install-pdf-dejagnu: install-pdf-dejagnu
6674 install-pdf-dejagnu: \
6675 configure-dejagnu \
6676 pdf-dejagnu
6677 @: $(MAKE); $(unstage)
6678 @[ -f ./dejagnu/Makefile ] || exit 0; \
6679 r=`${PWD_COMMAND}`; export r; \
6680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6681 $(HOST_EXPORTS) \
6682 for flag in $(EXTRA_HOST_FLAGS) ; do \
6683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6684 done; \
6685 echo "Doing install-pdf in dejagnu" ; \
6686 (cd $(HOST_SUBDIR)/dejagnu && \
6687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6689 "RANLIB=$${RANLIB}" \
6690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6691 install-pdf) \
6692 || exit 1
6694 @endif dejagnu
6696 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
6697 maybe-install-html-dejagnu:
6698 @if dejagnu
6699 maybe-install-html-dejagnu: install-html-dejagnu
6701 install-html-dejagnu: \
6702 configure-dejagnu \
6703 html-dejagnu
6704 @: $(MAKE); $(unstage)
6705 @[ -f ./dejagnu/Makefile ] || exit 0; \
6706 r=`${PWD_COMMAND}`; export r; \
6707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6708 $(HOST_EXPORTS) \
6709 for flag in $(EXTRA_HOST_FLAGS) ; do \
6710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6711 done; \
6712 echo "Doing install-html in dejagnu" ; \
6713 (cd $(HOST_SUBDIR)/dejagnu && \
6714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6716 "RANLIB=$${RANLIB}" \
6717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6718 install-html) \
6719 || exit 1
6721 @endif dejagnu
6723 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
6724 maybe-installcheck-dejagnu:
6725 @if dejagnu
6726 maybe-installcheck-dejagnu: installcheck-dejagnu
6728 installcheck-dejagnu: \
6729 configure-dejagnu
6730 @: $(MAKE); $(unstage)
6731 @[ -f ./dejagnu/Makefile ] || exit 0; \
6732 r=`${PWD_COMMAND}`; export r; \
6733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6734 $(HOST_EXPORTS) \
6735 for flag in $(EXTRA_HOST_FLAGS) ; do \
6736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6737 done; \
6738 echo "Doing installcheck in dejagnu" ; \
6739 (cd $(HOST_SUBDIR)/dejagnu && \
6740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6742 "RANLIB=$${RANLIB}" \
6743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6744 installcheck) \
6745 || exit 1
6747 @endif dejagnu
6749 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
6750 maybe-mostlyclean-dejagnu:
6751 @if dejagnu
6752 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
6754 mostlyclean-dejagnu:
6755 @: $(MAKE); $(unstage)
6756 @[ -f ./dejagnu/Makefile ] || exit 0; \
6757 r=`${PWD_COMMAND}`; export r; \
6758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6759 $(HOST_EXPORTS) \
6760 for flag in $(EXTRA_HOST_FLAGS) ; do \
6761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6762 done; \
6763 echo "Doing mostlyclean in dejagnu" ; \
6764 (cd $(HOST_SUBDIR)/dejagnu && \
6765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6767 "RANLIB=$${RANLIB}" \
6768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6769 mostlyclean) \
6770 || exit 1
6772 @endif dejagnu
6774 .PHONY: maybe-clean-dejagnu clean-dejagnu
6775 maybe-clean-dejagnu:
6776 @if dejagnu
6777 maybe-clean-dejagnu: clean-dejagnu
6779 clean-dejagnu:
6780 @: $(MAKE); $(unstage)
6781 @[ -f ./dejagnu/Makefile ] || exit 0; \
6782 r=`${PWD_COMMAND}`; export r; \
6783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6784 $(HOST_EXPORTS) \
6785 for flag in $(EXTRA_HOST_FLAGS) ; do \
6786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6787 done; \
6788 echo "Doing clean in dejagnu" ; \
6789 (cd $(HOST_SUBDIR)/dejagnu && \
6790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6792 "RANLIB=$${RANLIB}" \
6793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6794 clean) \
6795 || exit 1
6797 @endif dejagnu
6799 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
6800 maybe-distclean-dejagnu:
6801 @if dejagnu
6802 maybe-distclean-dejagnu: distclean-dejagnu
6804 distclean-dejagnu:
6805 @: $(MAKE); $(unstage)
6806 @[ -f ./dejagnu/Makefile ] || exit 0; \
6807 r=`${PWD_COMMAND}`; export r; \
6808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6809 $(HOST_EXPORTS) \
6810 for flag in $(EXTRA_HOST_FLAGS) ; do \
6811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6812 done; \
6813 echo "Doing distclean in dejagnu" ; \
6814 (cd $(HOST_SUBDIR)/dejagnu && \
6815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6817 "RANLIB=$${RANLIB}" \
6818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6819 distclean) \
6820 || exit 1
6822 @endif dejagnu
6824 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
6825 maybe-maintainer-clean-dejagnu:
6826 @if dejagnu
6827 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
6829 maintainer-clean-dejagnu:
6830 @: $(MAKE); $(unstage)
6831 @[ -f ./dejagnu/Makefile ] || exit 0; \
6832 r=`${PWD_COMMAND}`; export r; \
6833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6834 $(HOST_EXPORTS) \
6835 for flag in $(EXTRA_HOST_FLAGS) ; do \
6836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6837 done; \
6838 echo "Doing maintainer-clean in dejagnu" ; \
6839 (cd $(HOST_SUBDIR)/dejagnu && \
6840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6842 "RANLIB=$${RANLIB}" \
6843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6844 maintainer-clean) \
6845 || exit 1
6847 @endif dejagnu
6851 .PHONY: configure-etc maybe-configure-etc
6852 maybe-configure-etc:
6853 @if gcc-bootstrap
6854 configure-etc: stage_current
6855 @endif gcc-bootstrap
6856 @if etc
6857 maybe-configure-etc: configure-etc
6858 configure-etc:
6859 @: $(MAKE); $(unstage)
6860 @r=`${PWD_COMMAND}`; export r; \
6861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6862 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
6863 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
6864 $(HOST_EXPORTS) \
6865 echo Configuring in $(HOST_SUBDIR)/etc; \
6866 cd "$(HOST_SUBDIR)/etc" || exit 1; \
6867 case $(srcdir) in \
6868 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6869 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
6870 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6871 esac; \
6872 srcdiroption="--srcdir=$${topdir}/etc"; \
6873 libsrcdir="$$s/etc"; \
6874 $(SHELL) $${libsrcdir}/configure \
6875 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6876 --target=${target_alias} $${srcdiroption} \
6877 || exit 1
6878 @endif etc
6884 .PHONY: all-etc maybe-all-etc
6885 maybe-all-etc:
6886 @if gcc-bootstrap
6887 all-etc: stage_current
6888 @endif gcc-bootstrap
6889 @if etc
6890 TARGET-etc=all
6891 maybe-all-etc: all-etc
6892 all-etc: configure-etc
6893 @: $(MAKE); $(unstage)
6894 @r=`${PWD_COMMAND}`; export r; \
6895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6896 $(HOST_EXPORTS) \
6897 (cd $(HOST_SUBDIR)/etc && \
6898 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
6899 $(TARGET-etc))
6900 @endif etc
6905 .PHONY: check-etc maybe-check-etc
6906 maybe-check-etc:
6907 @if etc
6908 maybe-check-etc: check-etc
6910 check-etc:
6911 @: $(MAKE); $(unstage)
6912 @r=`${PWD_COMMAND}`; export r; \
6913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6914 $(HOST_EXPORTS) \
6915 (cd $(HOST_SUBDIR)/etc && \
6916 $(MAKE) $(FLAGS_TO_PASS) check)
6918 @endif etc
6920 .PHONY: install-etc maybe-install-etc
6921 maybe-install-etc:
6922 @if etc
6923 maybe-install-etc: install-etc
6925 install-etc: installdirs
6926 @: $(MAKE); $(unstage)
6927 @r=`${PWD_COMMAND}`; export r; \
6928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6929 $(HOST_EXPORTS) \
6930 (cd $(HOST_SUBDIR)/etc && \
6931 $(MAKE) $(FLAGS_TO_PASS) install)
6933 @endif etc
6935 .PHONY: install-strip-etc maybe-install-strip-etc
6936 maybe-install-strip-etc:
6937 @if etc
6938 maybe-install-strip-etc: install-strip-etc
6940 install-strip-etc: installdirs
6941 @: $(MAKE); $(unstage)
6942 @r=`${PWD_COMMAND}`; export r; \
6943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6944 $(HOST_EXPORTS) \
6945 (cd $(HOST_SUBDIR)/etc && \
6946 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6948 @endif etc
6950 # Other targets (info, dvi, pdf, etc.)
6952 .PHONY: maybe-info-etc info-etc
6953 maybe-info-etc:
6954 @if etc
6955 maybe-info-etc: info-etc
6957 info-etc: \
6958 configure-etc
6959 @: $(MAKE); $(unstage)
6960 @[ -f ./etc/Makefile ] || exit 0; \
6961 r=`${PWD_COMMAND}`; export r; \
6962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6963 $(HOST_EXPORTS) \
6964 for flag in $(EXTRA_HOST_FLAGS) ; do \
6965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6966 done; \
6967 echo "Doing info in etc" ; \
6968 (cd $(HOST_SUBDIR)/etc && \
6969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6971 "RANLIB=$${RANLIB}" \
6972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6973 info) \
6974 || exit 1
6976 @endif etc
6978 .PHONY: maybe-dvi-etc dvi-etc
6979 maybe-dvi-etc:
6980 @if etc
6981 maybe-dvi-etc: dvi-etc
6983 dvi-etc: \
6984 configure-etc
6985 @: $(MAKE); $(unstage)
6986 @[ -f ./etc/Makefile ] || exit 0; \
6987 r=`${PWD_COMMAND}`; export r; \
6988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6989 $(HOST_EXPORTS) \
6990 for flag in $(EXTRA_HOST_FLAGS) ; do \
6991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6992 done; \
6993 echo "Doing dvi in etc" ; \
6994 (cd $(HOST_SUBDIR)/etc && \
6995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6997 "RANLIB=$${RANLIB}" \
6998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6999 dvi) \
7000 || exit 1
7002 @endif etc
7004 .PHONY: maybe-pdf-etc pdf-etc
7005 maybe-pdf-etc:
7006 @if etc
7007 maybe-pdf-etc: pdf-etc
7009 pdf-etc: \
7010 configure-etc
7011 @: $(MAKE); $(unstage)
7012 @[ -f ./etc/Makefile ] || exit 0; \
7013 r=`${PWD_COMMAND}`; export r; \
7014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7015 $(HOST_EXPORTS) \
7016 for flag in $(EXTRA_HOST_FLAGS) ; do \
7017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7018 done; \
7019 echo "Doing pdf in etc" ; \
7020 (cd $(HOST_SUBDIR)/etc && \
7021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7023 "RANLIB=$${RANLIB}" \
7024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7025 pdf) \
7026 || exit 1
7028 @endif etc
7030 .PHONY: maybe-html-etc html-etc
7031 maybe-html-etc:
7032 @if etc
7033 maybe-html-etc: html-etc
7035 html-etc: \
7036 configure-etc
7037 @: $(MAKE); $(unstage)
7038 @[ -f ./etc/Makefile ] || exit 0; \
7039 r=`${PWD_COMMAND}`; export r; \
7040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7041 $(HOST_EXPORTS) \
7042 for flag in $(EXTRA_HOST_FLAGS) ; do \
7043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7044 done; \
7045 echo "Doing html in etc" ; \
7046 (cd $(HOST_SUBDIR)/etc && \
7047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7049 "RANLIB=$${RANLIB}" \
7050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7051 html) \
7052 || exit 1
7054 @endif etc
7056 .PHONY: maybe-TAGS-etc TAGS-etc
7057 maybe-TAGS-etc:
7058 @if etc
7059 maybe-TAGS-etc: TAGS-etc
7061 TAGS-etc: \
7062 configure-etc
7063 @: $(MAKE); $(unstage)
7064 @[ -f ./etc/Makefile ] || exit 0; \
7065 r=`${PWD_COMMAND}`; export r; \
7066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7067 $(HOST_EXPORTS) \
7068 for flag in $(EXTRA_HOST_FLAGS) ; do \
7069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7070 done; \
7071 echo "Doing TAGS in etc" ; \
7072 (cd $(HOST_SUBDIR)/etc && \
7073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7075 "RANLIB=$${RANLIB}" \
7076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7077 TAGS) \
7078 || exit 1
7080 @endif etc
7082 .PHONY: maybe-install-info-etc install-info-etc
7083 maybe-install-info-etc:
7084 @if etc
7085 maybe-install-info-etc: install-info-etc
7087 install-info-etc: \
7088 configure-etc \
7089 info-etc
7090 @: $(MAKE); $(unstage)
7091 @[ -f ./etc/Makefile ] || exit 0; \
7092 r=`${PWD_COMMAND}`; export r; \
7093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7094 $(HOST_EXPORTS) \
7095 for flag in $(EXTRA_HOST_FLAGS) ; do \
7096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7097 done; \
7098 echo "Doing install-info in etc" ; \
7099 (cd $(HOST_SUBDIR)/etc && \
7100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7102 "RANLIB=$${RANLIB}" \
7103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7104 install-info) \
7105 || exit 1
7107 @endif etc
7109 .PHONY: maybe-install-pdf-etc install-pdf-etc
7110 maybe-install-pdf-etc:
7111 @if etc
7112 maybe-install-pdf-etc: install-pdf-etc
7114 install-pdf-etc: \
7115 configure-etc \
7116 pdf-etc
7117 @: $(MAKE); $(unstage)
7118 @[ -f ./etc/Makefile ] || exit 0; \
7119 r=`${PWD_COMMAND}`; export r; \
7120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7121 $(HOST_EXPORTS) \
7122 for flag in $(EXTRA_HOST_FLAGS) ; do \
7123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7124 done; \
7125 echo "Doing install-pdf in etc" ; \
7126 (cd $(HOST_SUBDIR)/etc && \
7127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7129 "RANLIB=$${RANLIB}" \
7130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7131 install-pdf) \
7132 || exit 1
7134 @endif etc
7136 .PHONY: maybe-install-html-etc install-html-etc
7137 maybe-install-html-etc:
7138 @if etc
7139 maybe-install-html-etc: install-html-etc
7141 install-html-etc: \
7142 configure-etc \
7143 html-etc
7144 @: $(MAKE); $(unstage)
7145 @[ -f ./etc/Makefile ] || exit 0; \
7146 r=`${PWD_COMMAND}`; export r; \
7147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7148 $(HOST_EXPORTS) \
7149 for flag in $(EXTRA_HOST_FLAGS) ; do \
7150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7151 done; \
7152 echo "Doing install-html in etc" ; \
7153 (cd $(HOST_SUBDIR)/etc && \
7154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7156 "RANLIB=$${RANLIB}" \
7157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7158 install-html) \
7159 || exit 1
7161 @endif etc
7163 .PHONY: maybe-installcheck-etc installcheck-etc
7164 maybe-installcheck-etc:
7165 @if etc
7166 maybe-installcheck-etc: installcheck-etc
7168 installcheck-etc: \
7169 configure-etc
7170 @: $(MAKE); $(unstage)
7171 @[ -f ./etc/Makefile ] || exit 0; \
7172 r=`${PWD_COMMAND}`; export r; \
7173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7174 $(HOST_EXPORTS) \
7175 for flag in $(EXTRA_HOST_FLAGS) ; do \
7176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7177 done; \
7178 echo "Doing installcheck in etc" ; \
7179 (cd $(HOST_SUBDIR)/etc && \
7180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7182 "RANLIB=$${RANLIB}" \
7183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7184 installcheck) \
7185 || exit 1
7187 @endif etc
7189 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
7190 maybe-mostlyclean-etc:
7191 @if etc
7192 maybe-mostlyclean-etc: mostlyclean-etc
7194 mostlyclean-etc:
7195 @: $(MAKE); $(unstage)
7196 @[ -f ./etc/Makefile ] || exit 0; \
7197 r=`${PWD_COMMAND}`; export r; \
7198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7199 $(HOST_EXPORTS) \
7200 for flag in $(EXTRA_HOST_FLAGS) ; do \
7201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7202 done; \
7203 echo "Doing mostlyclean in etc" ; \
7204 (cd $(HOST_SUBDIR)/etc && \
7205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7207 "RANLIB=$${RANLIB}" \
7208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7209 mostlyclean) \
7210 || exit 1
7212 @endif etc
7214 .PHONY: maybe-clean-etc clean-etc
7215 maybe-clean-etc:
7216 @if etc
7217 maybe-clean-etc: clean-etc
7219 clean-etc:
7220 @: $(MAKE); $(unstage)
7221 @[ -f ./etc/Makefile ] || exit 0; \
7222 r=`${PWD_COMMAND}`; export r; \
7223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7224 $(HOST_EXPORTS) \
7225 for flag in $(EXTRA_HOST_FLAGS) ; do \
7226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7227 done; \
7228 echo "Doing clean in etc" ; \
7229 (cd $(HOST_SUBDIR)/etc && \
7230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7232 "RANLIB=$${RANLIB}" \
7233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7234 clean) \
7235 || exit 1
7237 @endif etc
7239 .PHONY: maybe-distclean-etc distclean-etc
7240 maybe-distclean-etc:
7241 @if etc
7242 maybe-distclean-etc: distclean-etc
7244 distclean-etc:
7245 @: $(MAKE); $(unstage)
7246 @[ -f ./etc/Makefile ] || exit 0; \
7247 r=`${PWD_COMMAND}`; export r; \
7248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7249 $(HOST_EXPORTS) \
7250 for flag in $(EXTRA_HOST_FLAGS) ; do \
7251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7252 done; \
7253 echo "Doing distclean in etc" ; \
7254 (cd $(HOST_SUBDIR)/etc && \
7255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7257 "RANLIB=$${RANLIB}" \
7258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7259 distclean) \
7260 || exit 1
7262 @endif etc
7264 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
7265 maybe-maintainer-clean-etc:
7266 @if etc
7267 maybe-maintainer-clean-etc: maintainer-clean-etc
7269 maintainer-clean-etc:
7270 @: $(MAKE); $(unstage)
7271 @[ -f ./etc/Makefile ] || exit 0; \
7272 r=`${PWD_COMMAND}`; export r; \
7273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7274 $(HOST_EXPORTS) \
7275 for flag in $(EXTRA_HOST_FLAGS) ; do \
7276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7277 done; \
7278 echo "Doing maintainer-clean in etc" ; \
7279 (cd $(HOST_SUBDIR)/etc && \
7280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7282 "RANLIB=$${RANLIB}" \
7283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7284 maintainer-clean) \
7285 || exit 1
7287 @endif etc
7291 .PHONY: configure-fastjar maybe-configure-fastjar
7292 maybe-configure-fastjar:
7293 @if gcc-bootstrap
7294 configure-fastjar: stage_current
7295 @endif gcc-bootstrap
7296 @if fastjar
7297 maybe-configure-fastjar: configure-fastjar
7298 configure-fastjar:
7299 @: $(MAKE); $(unstage)
7300 @r=`${PWD_COMMAND}`; export r; \
7301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7302 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
7303 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
7304 $(HOST_EXPORTS) \
7305 echo Configuring in $(HOST_SUBDIR)/fastjar; \
7306 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
7307 case $(srcdir) in \
7308 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7309 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
7310 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7311 esac; \
7312 srcdiroption="--srcdir=$${topdir}/fastjar"; \
7313 libsrcdir="$$s/fastjar"; \
7314 $(SHELL) $${libsrcdir}/configure \
7315 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7316 --target=${target_alias} $${srcdiroption} \
7317 || exit 1
7318 @endif fastjar
7324 .PHONY: all-fastjar maybe-all-fastjar
7325 maybe-all-fastjar:
7326 @if gcc-bootstrap
7327 all-fastjar: stage_current
7328 @endif gcc-bootstrap
7329 @if fastjar
7330 TARGET-fastjar=all
7331 maybe-all-fastjar: all-fastjar
7332 all-fastjar: configure-fastjar
7333 @: $(MAKE); $(unstage)
7334 @r=`${PWD_COMMAND}`; export r; \
7335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7336 $(HOST_EXPORTS) \
7337 (cd $(HOST_SUBDIR)/fastjar && \
7338 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
7339 $(TARGET-fastjar))
7340 @endif fastjar
7345 .PHONY: check-fastjar maybe-check-fastjar
7346 maybe-check-fastjar:
7347 @if fastjar
7348 maybe-check-fastjar: check-fastjar
7350 # This module is only tested in a native toolchain.
7351 check-fastjar:
7352 @: $(MAKE); $(unstage)
7353 @if [ '$(host)' = '$(target)' ] ; then \
7354 r=`${PWD_COMMAND}`; export r; \
7355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7356 $(HOST_EXPORTS) \
7357 (cd $(HOST_SUBDIR)/fastjar && \
7358 $(MAKE) $(FLAGS_TO_PASS) check); \
7361 @endif fastjar
7363 .PHONY: install-fastjar maybe-install-fastjar
7364 maybe-install-fastjar:
7365 @if fastjar
7366 maybe-install-fastjar: install-fastjar
7368 install-fastjar: installdirs
7369 @: $(MAKE); $(unstage)
7370 @r=`${PWD_COMMAND}`; export r; \
7371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7372 $(HOST_EXPORTS) \
7373 (cd $(HOST_SUBDIR)/fastjar && \
7374 $(MAKE) $(FLAGS_TO_PASS) install)
7376 @endif fastjar
7378 .PHONY: install-strip-fastjar maybe-install-strip-fastjar
7379 maybe-install-strip-fastjar:
7380 @if fastjar
7381 maybe-install-strip-fastjar: install-strip-fastjar
7383 install-strip-fastjar: installdirs
7384 @: $(MAKE); $(unstage)
7385 @r=`${PWD_COMMAND}`; export r; \
7386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7387 $(HOST_EXPORTS) \
7388 (cd $(HOST_SUBDIR)/fastjar && \
7389 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7391 @endif fastjar
7393 # Other targets (info, dvi, pdf, etc.)
7395 .PHONY: maybe-info-fastjar info-fastjar
7396 maybe-info-fastjar:
7397 @if fastjar
7398 maybe-info-fastjar: info-fastjar
7400 info-fastjar: \
7401 configure-fastjar
7402 @: $(MAKE); $(unstage)
7403 @[ -f ./fastjar/Makefile ] || exit 0; \
7404 r=`${PWD_COMMAND}`; export r; \
7405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7406 $(HOST_EXPORTS) \
7407 for flag in $(EXTRA_HOST_FLAGS) ; do \
7408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7409 done; \
7410 echo "Doing info in fastjar" ; \
7411 (cd $(HOST_SUBDIR)/fastjar && \
7412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7414 "RANLIB=$${RANLIB}" \
7415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7416 info) \
7417 || exit 1
7419 @endif fastjar
7421 .PHONY: maybe-dvi-fastjar dvi-fastjar
7422 maybe-dvi-fastjar:
7423 @if fastjar
7424 maybe-dvi-fastjar: dvi-fastjar
7426 dvi-fastjar: \
7427 configure-fastjar
7428 @: $(MAKE); $(unstage)
7429 @[ -f ./fastjar/Makefile ] || exit 0; \
7430 r=`${PWD_COMMAND}`; export r; \
7431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7432 $(HOST_EXPORTS) \
7433 for flag in $(EXTRA_HOST_FLAGS) ; do \
7434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7435 done; \
7436 echo "Doing dvi in fastjar" ; \
7437 (cd $(HOST_SUBDIR)/fastjar && \
7438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7440 "RANLIB=$${RANLIB}" \
7441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7442 dvi) \
7443 || exit 1
7445 @endif fastjar
7447 .PHONY: maybe-pdf-fastjar pdf-fastjar
7448 maybe-pdf-fastjar:
7449 @if fastjar
7450 maybe-pdf-fastjar: pdf-fastjar
7452 pdf-fastjar: \
7453 configure-fastjar
7454 @: $(MAKE); $(unstage)
7455 @[ -f ./fastjar/Makefile ] || exit 0; \
7456 r=`${PWD_COMMAND}`; export r; \
7457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7458 $(HOST_EXPORTS) \
7459 for flag in $(EXTRA_HOST_FLAGS) ; do \
7460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7461 done; \
7462 echo "Doing pdf in fastjar" ; \
7463 (cd $(HOST_SUBDIR)/fastjar && \
7464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7466 "RANLIB=$${RANLIB}" \
7467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7468 pdf) \
7469 || exit 1
7471 @endif fastjar
7473 .PHONY: maybe-html-fastjar html-fastjar
7474 maybe-html-fastjar:
7475 @if fastjar
7476 maybe-html-fastjar: html-fastjar
7478 html-fastjar: \
7479 configure-fastjar
7480 @: $(MAKE); $(unstage)
7481 @[ -f ./fastjar/Makefile ] || exit 0; \
7482 r=`${PWD_COMMAND}`; export r; \
7483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7484 $(HOST_EXPORTS) \
7485 for flag in $(EXTRA_HOST_FLAGS) ; do \
7486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7487 done; \
7488 echo "Doing html in fastjar" ; \
7489 (cd $(HOST_SUBDIR)/fastjar && \
7490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7492 "RANLIB=$${RANLIB}" \
7493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7494 html) \
7495 || exit 1
7497 @endif fastjar
7499 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
7500 maybe-TAGS-fastjar:
7501 @if fastjar
7502 maybe-TAGS-fastjar: TAGS-fastjar
7504 TAGS-fastjar: \
7505 configure-fastjar
7506 @: $(MAKE); $(unstage)
7507 @[ -f ./fastjar/Makefile ] || exit 0; \
7508 r=`${PWD_COMMAND}`; export r; \
7509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7510 $(HOST_EXPORTS) \
7511 for flag in $(EXTRA_HOST_FLAGS) ; do \
7512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7513 done; \
7514 echo "Doing TAGS in fastjar" ; \
7515 (cd $(HOST_SUBDIR)/fastjar && \
7516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7518 "RANLIB=$${RANLIB}" \
7519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7520 TAGS) \
7521 || exit 1
7523 @endif fastjar
7525 .PHONY: maybe-install-info-fastjar install-info-fastjar
7526 maybe-install-info-fastjar:
7527 @if fastjar
7528 maybe-install-info-fastjar: install-info-fastjar
7530 install-info-fastjar: \
7531 configure-fastjar \
7532 info-fastjar
7533 @: $(MAKE); $(unstage)
7534 @[ -f ./fastjar/Makefile ] || exit 0; \
7535 r=`${PWD_COMMAND}`; export r; \
7536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7537 $(HOST_EXPORTS) \
7538 for flag in $(EXTRA_HOST_FLAGS) ; do \
7539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7540 done; \
7541 echo "Doing install-info in fastjar" ; \
7542 (cd $(HOST_SUBDIR)/fastjar && \
7543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7545 "RANLIB=$${RANLIB}" \
7546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7547 install-info) \
7548 || exit 1
7550 @endif fastjar
7552 .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar
7553 maybe-install-pdf-fastjar:
7554 @if fastjar
7555 maybe-install-pdf-fastjar: install-pdf-fastjar
7557 install-pdf-fastjar: \
7558 configure-fastjar \
7559 pdf-fastjar
7560 @: $(MAKE); $(unstage)
7561 @[ -f ./fastjar/Makefile ] || exit 0; \
7562 r=`${PWD_COMMAND}`; export r; \
7563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7564 $(HOST_EXPORTS) \
7565 for flag in $(EXTRA_HOST_FLAGS) ; do \
7566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7567 done; \
7568 echo "Doing install-pdf in fastjar" ; \
7569 (cd $(HOST_SUBDIR)/fastjar && \
7570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7572 "RANLIB=$${RANLIB}" \
7573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7574 install-pdf) \
7575 || exit 1
7577 @endif fastjar
7579 .PHONY: maybe-install-html-fastjar install-html-fastjar
7580 maybe-install-html-fastjar:
7581 @if fastjar
7582 maybe-install-html-fastjar: install-html-fastjar
7584 install-html-fastjar: \
7585 configure-fastjar \
7586 html-fastjar
7587 @: $(MAKE); $(unstage)
7588 @[ -f ./fastjar/Makefile ] || exit 0; \
7589 r=`${PWD_COMMAND}`; export r; \
7590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7591 $(HOST_EXPORTS) \
7592 for flag in $(EXTRA_HOST_FLAGS) ; do \
7593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7594 done; \
7595 echo "Doing install-html in fastjar" ; \
7596 (cd $(HOST_SUBDIR)/fastjar && \
7597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7599 "RANLIB=$${RANLIB}" \
7600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7601 install-html) \
7602 || exit 1
7604 @endif fastjar
7606 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
7607 maybe-installcheck-fastjar:
7608 @if fastjar
7609 maybe-installcheck-fastjar: installcheck-fastjar
7611 installcheck-fastjar: \
7612 configure-fastjar
7613 @: $(MAKE); $(unstage)
7614 @[ -f ./fastjar/Makefile ] || exit 0; \
7615 r=`${PWD_COMMAND}`; export r; \
7616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7617 $(HOST_EXPORTS) \
7618 for flag in $(EXTRA_HOST_FLAGS) ; do \
7619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7620 done; \
7621 echo "Doing installcheck in fastjar" ; \
7622 (cd $(HOST_SUBDIR)/fastjar && \
7623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7625 "RANLIB=$${RANLIB}" \
7626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7627 installcheck) \
7628 || exit 1
7630 @endif fastjar
7632 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
7633 maybe-mostlyclean-fastjar:
7634 @if fastjar
7635 maybe-mostlyclean-fastjar: mostlyclean-fastjar
7637 mostlyclean-fastjar:
7638 @: $(MAKE); $(unstage)
7639 @[ -f ./fastjar/Makefile ] || exit 0; \
7640 r=`${PWD_COMMAND}`; export r; \
7641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7642 $(HOST_EXPORTS) \
7643 for flag in $(EXTRA_HOST_FLAGS) ; do \
7644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7645 done; \
7646 echo "Doing mostlyclean in fastjar" ; \
7647 (cd $(HOST_SUBDIR)/fastjar && \
7648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7650 "RANLIB=$${RANLIB}" \
7651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7652 mostlyclean) \
7653 || exit 1
7655 @endif fastjar
7657 .PHONY: maybe-clean-fastjar clean-fastjar
7658 maybe-clean-fastjar:
7659 @if fastjar
7660 maybe-clean-fastjar: clean-fastjar
7662 clean-fastjar:
7663 @: $(MAKE); $(unstage)
7664 @[ -f ./fastjar/Makefile ] || exit 0; \
7665 r=`${PWD_COMMAND}`; export r; \
7666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7667 $(HOST_EXPORTS) \
7668 for flag in $(EXTRA_HOST_FLAGS) ; do \
7669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7670 done; \
7671 echo "Doing clean in fastjar" ; \
7672 (cd $(HOST_SUBDIR)/fastjar && \
7673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7675 "RANLIB=$${RANLIB}" \
7676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7677 clean) \
7678 || exit 1
7680 @endif fastjar
7682 .PHONY: maybe-distclean-fastjar distclean-fastjar
7683 maybe-distclean-fastjar:
7684 @if fastjar
7685 maybe-distclean-fastjar: distclean-fastjar
7687 distclean-fastjar:
7688 @: $(MAKE); $(unstage)
7689 @[ -f ./fastjar/Makefile ] || exit 0; \
7690 r=`${PWD_COMMAND}`; export r; \
7691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7692 $(HOST_EXPORTS) \
7693 for flag in $(EXTRA_HOST_FLAGS) ; do \
7694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7695 done; \
7696 echo "Doing distclean in fastjar" ; \
7697 (cd $(HOST_SUBDIR)/fastjar && \
7698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7700 "RANLIB=$${RANLIB}" \
7701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7702 distclean) \
7703 || exit 1
7705 @endif fastjar
7707 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7708 maybe-maintainer-clean-fastjar:
7709 @if fastjar
7710 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7712 maintainer-clean-fastjar:
7713 @: $(MAKE); $(unstage)
7714 @[ -f ./fastjar/Makefile ] || exit 0; \
7715 r=`${PWD_COMMAND}`; export r; \
7716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7717 $(HOST_EXPORTS) \
7718 for flag in $(EXTRA_HOST_FLAGS) ; do \
7719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7720 done; \
7721 echo "Doing maintainer-clean in fastjar" ; \
7722 (cd $(HOST_SUBDIR)/fastjar && \
7723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7725 "RANLIB=$${RANLIB}" \
7726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7727 maintainer-clean) \
7728 || exit 1
7730 @endif fastjar
7734 .PHONY: configure-fixincludes maybe-configure-fixincludes
7735 maybe-configure-fixincludes:
7736 @if gcc-bootstrap
7737 configure-fixincludes: stage_current
7738 @endif gcc-bootstrap
7739 @if fixincludes
7740 maybe-configure-fixincludes: configure-fixincludes
7741 configure-fixincludes:
7742 @: $(MAKE); $(unstage)
7743 @r=`${PWD_COMMAND}`; export r; \
7744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7745 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
7746 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
7747 $(HOST_EXPORTS) \
7748 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
7749 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
7750 case $(srcdir) in \
7751 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7752 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
7753 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7754 esac; \
7755 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
7756 libsrcdir="$$s/fixincludes"; \
7757 $(SHELL) $${libsrcdir}/configure \
7758 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7759 --target=${target_alias} $${srcdiroption} \
7760 || exit 1
7761 @endif fixincludes
7767 .PHONY: all-fixincludes maybe-all-fixincludes
7768 maybe-all-fixincludes:
7769 @if gcc-bootstrap
7770 all-fixincludes: stage_current
7771 @endif gcc-bootstrap
7772 @if fixincludes
7773 TARGET-fixincludes=all
7774 maybe-all-fixincludes: all-fixincludes
7775 all-fixincludes: configure-fixincludes
7776 @: $(MAKE); $(unstage)
7777 @r=`${PWD_COMMAND}`; export r; \
7778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7779 $(HOST_EXPORTS) \
7780 (cd $(HOST_SUBDIR)/fixincludes && \
7781 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
7782 $(TARGET-fixincludes))
7783 @endif fixincludes
7788 .PHONY: check-fixincludes maybe-check-fixincludes
7789 maybe-check-fixincludes:
7790 @if fixincludes
7791 maybe-check-fixincludes: check-fixincludes
7793 check-fixincludes:
7794 @: $(MAKE); $(unstage)
7795 @r=`${PWD_COMMAND}`; export r; \
7796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7797 $(HOST_EXPORTS) \
7798 (cd $(HOST_SUBDIR)/fixincludes && \
7799 $(MAKE) $(FLAGS_TO_PASS) check)
7801 @endif fixincludes
7803 .PHONY: install-fixincludes maybe-install-fixincludes
7804 maybe-install-fixincludes:
7805 @if fixincludes
7806 maybe-install-fixincludes: install-fixincludes
7808 install-fixincludes: installdirs
7809 @: $(MAKE); $(unstage)
7810 @r=`${PWD_COMMAND}`; export r; \
7811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7812 $(HOST_EXPORTS) \
7813 (cd $(HOST_SUBDIR)/fixincludes && \
7814 $(MAKE) $(FLAGS_TO_PASS) install)
7816 @endif fixincludes
7818 .PHONY: install-strip-fixincludes maybe-install-strip-fixincludes
7819 maybe-install-strip-fixincludes:
7820 @if fixincludes
7821 maybe-install-strip-fixincludes: install-strip-fixincludes
7823 install-strip-fixincludes: installdirs
7824 @: $(MAKE); $(unstage)
7825 @r=`${PWD_COMMAND}`; export r; \
7826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7827 $(HOST_EXPORTS) \
7828 (cd $(HOST_SUBDIR)/fixincludes && \
7829 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7831 @endif fixincludes
7833 # Other targets (info, dvi, pdf, etc.)
7835 .PHONY: maybe-info-fixincludes info-fixincludes
7836 maybe-info-fixincludes:
7837 @if fixincludes
7838 maybe-info-fixincludes: info-fixincludes
7840 info-fixincludes: \
7841 configure-fixincludes
7842 @: $(MAKE); $(unstage)
7843 @[ -f ./fixincludes/Makefile ] || exit 0; \
7844 r=`${PWD_COMMAND}`; export r; \
7845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7846 $(HOST_EXPORTS) \
7847 for flag in $(EXTRA_HOST_FLAGS) ; do \
7848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7849 done; \
7850 echo "Doing info in fixincludes" ; \
7851 (cd $(HOST_SUBDIR)/fixincludes && \
7852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7854 "RANLIB=$${RANLIB}" \
7855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7856 info) \
7857 || exit 1
7859 @endif fixincludes
7861 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
7862 maybe-dvi-fixincludes:
7863 @if fixincludes
7864 maybe-dvi-fixincludes: dvi-fixincludes
7866 dvi-fixincludes: \
7867 configure-fixincludes
7868 @: $(MAKE); $(unstage)
7869 @[ -f ./fixincludes/Makefile ] || exit 0; \
7870 r=`${PWD_COMMAND}`; export r; \
7871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7872 $(HOST_EXPORTS) \
7873 for flag in $(EXTRA_HOST_FLAGS) ; do \
7874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7875 done; \
7876 echo "Doing dvi in fixincludes" ; \
7877 (cd $(HOST_SUBDIR)/fixincludes && \
7878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7880 "RANLIB=$${RANLIB}" \
7881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7882 dvi) \
7883 || exit 1
7885 @endif fixincludes
7887 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
7888 maybe-pdf-fixincludes:
7889 @if fixincludes
7890 maybe-pdf-fixincludes: pdf-fixincludes
7892 pdf-fixincludes: \
7893 configure-fixincludes
7894 @: $(MAKE); $(unstage)
7895 @[ -f ./fixincludes/Makefile ] || exit 0; \
7896 r=`${PWD_COMMAND}`; export r; \
7897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7898 $(HOST_EXPORTS) \
7899 for flag in $(EXTRA_HOST_FLAGS) ; do \
7900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7901 done; \
7902 echo "Doing pdf in fixincludes" ; \
7903 (cd $(HOST_SUBDIR)/fixincludes && \
7904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7906 "RANLIB=$${RANLIB}" \
7907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7908 pdf) \
7909 || exit 1
7911 @endif fixincludes
7913 .PHONY: maybe-html-fixincludes html-fixincludes
7914 maybe-html-fixincludes:
7915 @if fixincludes
7916 maybe-html-fixincludes: html-fixincludes
7918 html-fixincludes: \
7919 configure-fixincludes
7920 @: $(MAKE); $(unstage)
7921 @[ -f ./fixincludes/Makefile ] || exit 0; \
7922 r=`${PWD_COMMAND}`; export r; \
7923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7924 $(HOST_EXPORTS) \
7925 for flag in $(EXTRA_HOST_FLAGS) ; do \
7926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7927 done; \
7928 echo "Doing html in fixincludes" ; \
7929 (cd $(HOST_SUBDIR)/fixincludes && \
7930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7932 "RANLIB=$${RANLIB}" \
7933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7934 html) \
7935 || exit 1
7937 @endif fixincludes
7939 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
7940 maybe-TAGS-fixincludes:
7941 @if fixincludes
7942 maybe-TAGS-fixincludes: TAGS-fixincludes
7944 # fixincludes doesn't support TAGS.
7945 TAGS-fixincludes:
7947 @endif fixincludes
7949 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
7950 maybe-install-info-fixincludes:
7951 @if fixincludes
7952 maybe-install-info-fixincludes: install-info-fixincludes
7954 install-info-fixincludes: \
7955 configure-fixincludes \
7956 info-fixincludes
7957 @: $(MAKE); $(unstage)
7958 @[ -f ./fixincludes/Makefile ] || exit 0; \
7959 r=`${PWD_COMMAND}`; export r; \
7960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7961 $(HOST_EXPORTS) \
7962 for flag in $(EXTRA_HOST_FLAGS) ; do \
7963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7964 done; \
7965 echo "Doing install-info in fixincludes" ; \
7966 (cd $(HOST_SUBDIR)/fixincludes && \
7967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7969 "RANLIB=$${RANLIB}" \
7970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7971 install-info) \
7972 || exit 1
7974 @endif fixincludes
7976 .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes
7977 maybe-install-pdf-fixincludes:
7978 @if fixincludes
7979 maybe-install-pdf-fixincludes: install-pdf-fixincludes
7981 install-pdf-fixincludes: \
7982 configure-fixincludes \
7983 pdf-fixincludes
7984 @: $(MAKE); $(unstage)
7985 @[ -f ./fixincludes/Makefile ] || exit 0; \
7986 r=`${PWD_COMMAND}`; export r; \
7987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7988 $(HOST_EXPORTS) \
7989 for flag in $(EXTRA_HOST_FLAGS) ; do \
7990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7991 done; \
7992 echo "Doing install-pdf in fixincludes" ; \
7993 (cd $(HOST_SUBDIR)/fixincludes && \
7994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7996 "RANLIB=$${RANLIB}" \
7997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7998 install-pdf) \
7999 || exit 1
8001 @endif fixincludes
8003 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
8004 maybe-install-html-fixincludes:
8005 @if fixincludes
8006 maybe-install-html-fixincludes: install-html-fixincludes
8008 install-html-fixincludes: \
8009 configure-fixincludes \
8010 html-fixincludes
8011 @: $(MAKE); $(unstage)
8012 @[ -f ./fixincludes/Makefile ] || exit 0; \
8013 r=`${PWD_COMMAND}`; export r; \
8014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8015 $(HOST_EXPORTS) \
8016 for flag in $(EXTRA_HOST_FLAGS) ; do \
8017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8018 done; \
8019 echo "Doing install-html in fixincludes" ; \
8020 (cd $(HOST_SUBDIR)/fixincludes && \
8021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8023 "RANLIB=$${RANLIB}" \
8024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8025 install-html) \
8026 || exit 1
8028 @endif fixincludes
8030 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
8031 maybe-installcheck-fixincludes:
8032 @if fixincludes
8033 maybe-installcheck-fixincludes: installcheck-fixincludes
8035 installcheck-fixincludes: \
8036 configure-fixincludes
8037 @: $(MAKE); $(unstage)
8038 @[ -f ./fixincludes/Makefile ] || exit 0; \
8039 r=`${PWD_COMMAND}`; export r; \
8040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8041 $(HOST_EXPORTS) \
8042 for flag in $(EXTRA_HOST_FLAGS) ; do \
8043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8044 done; \
8045 echo "Doing installcheck in fixincludes" ; \
8046 (cd $(HOST_SUBDIR)/fixincludes && \
8047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8049 "RANLIB=$${RANLIB}" \
8050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8051 installcheck) \
8052 || exit 1
8054 @endif fixincludes
8056 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
8057 maybe-mostlyclean-fixincludes:
8058 @if fixincludes
8059 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
8061 mostlyclean-fixincludes:
8062 @: $(MAKE); $(unstage)
8063 @[ -f ./fixincludes/Makefile ] || exit 0; \
8064 r=`${PWD_COMMAND}`; export r; \
8065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8066 $(HOST_EXPORTS) \
8067 for flag in $(EXTRA_HOST_FLAGS) ; do \
8068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8069 done; \
8070 echo "Doing mostlyclean in fixincludes" ; \
8071 (cd $(HOST_SUBDIR)/fixincludes && \
8072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8074 "RANLIB=$${RANLIB}" \
8075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8076 mostlyclean) \
8077 || exit 1
8079 @endif fixincludes
8081 .PHONY: maybe-clean-fixincludes clean-fixincludes
8082 maybe-clean-fixincludes:
8083 @if fixincludes
8084 maybe-clean-fixincludes: clean-fixincludes
8086 clean-fixincludes:
8087 @: $(MAKE); $(unstage)
8088 @[ -f ./fixincludes/Makefile ] || exit 0; \
8089 r=`${PWD_COMMAND}`; export r; \
8090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8091 $(HOST_EXPORTS) \
8092 for flag in $(EXTRA_HOST_FLAGS) ; do \
8093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8094 done; \
8095 echo "Doing clean in fixincludes" ; \
8096 (cd $(HOST_SUBDIR)/fixincludes && \
8097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8099 "RANLIB=$${RANLIB}" \
8100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8101 clean) \
8102 || exit 1
8104 @endif fixincludes
8106 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
8107 maybe-distclean-fixincludes:
8108 @if fixincludes
8109 maybe-distclean-fixincludes: distclean-fixincludes
8111 distclean-fixincludes:
8112 @: $(MAKE); $(unstage)
8113 @[ -f ./fixincludes/Makefile ] || exit 0; \
8114 r=`${PWD_COMMAND}`; export r; \
8115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8116 $(HOST_EXPORTS) \
8117 for flag in $(EXTRA_HOST_FLAGS) ; do \
8118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8119 done; \
8120 echo "Doing distclean in fixincludes" ; \
8121 (cd $(HOST_SUBDIR)/fixincludes && \
8122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8124 "RANLIB=$${RANLIB}" \
8125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8126 distclean) \
8127 || exit 1
8129 @endif fixincludes
8131 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
8132 maybe-maintainer-clean-fixincludes:
8133 @if fixincludes
8134 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
8136 maintainer-clean-fixincludes:
8137 @: $(MAKE); $(unstage)
8138 @[ -f ./fixincludes/Makefile ] || exit 0; \
8139 r=`${PWD_COMMAND}`; export r; \
8140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8141 $(HOST_EXPORTS) \
8142 for flag in $(EXTRA_HOST_FLAGS) ; do \
8143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8144 done; \
8145 echo "Doing maintainer-clean in fixincludes" ; \
8146 (cd $(HOST_SUBDIR)/fixincludes && \
8147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8149 "RANLIB=$${RANLIB}" \
8150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8151 maintainer-clean) \
8152 || exit 1
8154 @endif fixincludes
8158 .PHONY: configure-flex maybe-configure-flex
8159 maybe-configure-flex:
8160 @if gcc-bootstrap
8161 configure-flex: stage_current
8162 @endif gcc-bootstrap
8163 @if flex
8164 maybe-configure-flex: configure-flex
8165 configure-flex:
8166 @: $(MAKE); $(unstage)
8167 @r=`${PWD_COMMAND}`; export r; \
8168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8169 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
8170 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
8171 $(HOST_EXPORTS) \
8172 echo Configuring in $(HOST_SUBDIR)/flex; \
8173 cd "$(HOST_SUBDIR)/flex" || exit 1; \
8174 case $(srcdir) in \
8175 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8176 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
8177 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8178 esac; \
8179 srcdiroption="--srcdir=$${topdir}/flex"; \
8180 libsrcdir="$$s/flex"; \
8181 $(SHELL) $${libsrcdir}/configure \
8182 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8183 --target=${target_alias} $${srcdiroption} \
8184 || exit 1
8185 @endif flex
8191 .PHONY: all-flex maybe-all-flex
8192 maybe-all-flex:
8193 @if gcc-bootstrap
8194 all-flex: stage_current
8195 @endif gcc-bootstrap
8196 @if flex
8197 TARGET-flex=all
8198 maybe-all-flex: all-flex
8199 all-flex: configure-flex
8200 @: $(MAKE); $(unstage)
8201 @r=`${PWD_COMMAND}`; export r; \
8202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8203 $(HOST_EXPORTS) \
8204 (cd $(HOST_SUBDIR)/flex && \
8205 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
8206 $(TARGET-flex))
8207 @endif flex
8212 .PHONY: check-flex maybe-check-flex
8213 maybe-check-flex:
8214 @if flex
8215 maybe-check-flex: check-flex
8217 # This module is only tested in a native toolchain.
8218 check-flex:
8219 @: $(MAKE); $(unstage)
8220 @if [ '$(host)' = '$(target)' ] ; then \
8221 r=`${PWD_COMMAND}`; export r; \
8222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8223 $(HOST_EXPORTS) \
8224 (cd $(HOST_SUBDIR)/flex && \
8225 $(MAKE) $(FLAGS_TO_PASS) check); \
8228 @endif flex
8230 .PHONY: install-flex maybe-install-flex
8231 maybe-install-flex:
8232 @if flex
8233 maybe-install-flex: install-flex
8235 install-flex: installdirs
8236 @: $(MAKE); $(unstage)
8237 @r=`${PWD_COMMAND}`; export r; \
8238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8239 $(HOST_EXPORTS) \
8240 (cd $(HOST_SUBDIR)/flex && \
8241 $(MAKE) $(FLAGS_TO_PASS) install)
8243 @endif flex
8245 .PHONY: install-strip-flex maybe-install-strip-flex
8246 maybe-install-strip-flex:
8247 @if flex
8248 maybe-install-strip-flex: install-strip-flex
8250 install-strip-flex: installdirs
8251 @: $(MAKE); $(unstage)
8252 @r=`${PWD_COMMAND}`; export r; \
8253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8254 $(HOST_EXPORTS) \
8255 (cd $(HOST_SUBDIR)/flex && \
8256 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8258 @endif flex
8260 # Other targets (info, dvi, pdf, etc.)
8262 .PHONY: maybe-info-flex info-flex
8263 maybe-info-flex:
8264 @if flex
8265 maybe-info-flex: info-flex
8267 info-flex: \
8268 configure-flex
8269 @: $(MAKE); $(unstage)
8270 @[ -f ./flex/Makefile ] || exit 0; \
8271 r=`${PWD_COMMAND}`; export r; \
8272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8273 $(HOST_EXPORTS) \
8274 for flag in $(EXTRA_HOST_FLAGS) ; do \
8275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8276 done; \
8277 echo "Doing info in flex" ; \
8278 (cd $(HOST_SUBDIR)/flex && \
8279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8281 "RANLIB=$${RANLIB}" \
8282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8283 info) \
8284 || exit 1
8286 @endif flex
8288 .PHONY: maybe-dvi-flex dvi-flex
8289 maybe-dvi-flex:
8290 @if flex
8291 maybe-dvi-flex: dvi-flex
8293 dvi-flex: \
8294 configure-flex
8295 @: $(MAKE); $(unstage)
8296 @[ -f ./flex/Makefile ] || exit 0; \
8297 r=`${PWD_COMMAND}`; export r; \
8298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8299 $(HOST_EXPORTS) \
8300 for flag in $(EXTRA_HOST_FLAGS) ; do \
8301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8302 done; \
8303 echo "Doing dvi in flex" ; \
8304 (cd $(HOST_SUBDIR)/flex && \
8305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8307 "RANLIB=$${RANLIB}" \
8308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8309 dvi) \
8310 || exit 1
8312 @endif flex
8314 .PHONY: maybe-pdf-flex pdf-flex
8315 maybe-pdf-flex:
8316 @if flex
8317 maybe-pdf-flex: pdf-flex
8319 pdf-flex: \
8320 configure-flex
8321 @: $(MAKE); $(unstage)
8322 @[ -f ./flex/Makefile ] || exit 0; \
8323 r=`${PWD_COMMAND}`; export r; \
8324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8325 $(HOST_EXPORTS) \
8326 for flag in $(EXTRA_HOST_FLAGS) ; do \
8327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8328 done; \
8329 echo "Doing pdf in flex" ; \
8330 (cd $(HOST_SUBDIR)/flex && \
8331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8333 "RANLIB=$${RANLIB}" \
8334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8335 pdf) \
8336 || exit 1
8338 @endif flex
8340 .PHONY: maybe-html-flex html-flex
8341 maybe-html-flex:
8342 @if flex
8343 maybe-html-flex: html-flex
8345 html-flex: \
8346 configure-flex
8347 @: $(MAKE); $(unstage)
8348 @[ -f ./flex/Makefile ] || exit 0; \
8349 r=`${PWD_COMMAND}`; export r; \
8350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8351 $(HOST_EXPORTS) \
8352 for flag in $(EXTRA_HOST_FLAGS) ; do \
8353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8354 done; \
8355 echo "Doing html in flex" ; \
8356 (cd $(HOST_SUBDIR)/flex && \
8357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8359 "RANLIB=$${RANLIB}" \
8360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8361 html) \
8362 || exit 1
8364 @endif flex
8366 .PHONY: maybe-TAGS-flex TAGS-flex
8367 maybe-TAGS-flex:
8368 @if flex
8369 maybe-TAGS-flex: TAGS-flex
8371 TAGS-flex: \
8372 configure-flex
8373 @: $(MAKE); $(unstage)
8374 @[ -f ./flex/Makefile ] || exit 0; \
8375 r=`${PWD_COMMAND}`; export r; \
8376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8377 $(HOST_EXPORTS) \
8378 for flag in $(EXTRA_HOST_FLAGS) ; do \
8379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8380 done; \
8381 echo "Doing TAGS in flex" ; \
8382 (cd $(HOST_SUBDIR)/flex && \
8383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8385 "RANLIB=$${RANLIB}" \
8386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8387 TAGS) \
8388 || exit 1
8390 @endif flex
8392 .PHONY: maybe-install-info-flex install-info-flex
8393 maybe-install-info-flex:
8394 @if flex
8395 maybe-install-info-flex: install-info-flex
8397 install-info-flex: \
8398 configure-flex \
8399 info-flex
8400 @: $(MAKE); $(unstage)
8401 @[ -f ./flex/Makefile ] || exit 0; \
8402 r=`${PWD_COMMAND}`; export r; \
8403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8404 $(HOST_EXPORTS) \
8405 for flag in $(EXTRA_HOST_FLAGS) ; do \
8406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8407 done; \
8408 echo "Doing install-info in flex" ; \
8409 (cd $(HOST_SUBDIR)/flex && \
8410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8412 "RANLIB=$${RANLIB}" \
8413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8414 install-info) \
8415 || exit 1
8417 @endif flex
8419 .PHONY: maybe-install-pdf-flex install-pdf-flex
8420 maybe-install-pdf-flex:
8421 @if flex
8422 maybe-install-pdf-flex: install-pdf-flex
8424 install-pdf-flex: \
8425 configure-flex \
8426 pdf-flex
8427 @: $(MAKE); $(unstage)
8428 @[ -f ./flex/Makefile ] || exit 0; \
8429 r=`${PWD_COMMAND}`; export r; \
8430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8431 $(HOST_EXPORTS) \
8432 for flag in $(EXTRA_HOST_FLAGS) ; do \
8433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8434 done; \
8435 echo "Doing install-pdf in flex" ; \
8436 (cd $(HOST_SUBDIR)/flex && \
8437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8439 "RANLIB=$${RANLIB}" \
8440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8441 install-pdf) \
8442 || exit 1
8444 @endif flex
8446 .PHONY: maybe-install-html-flex install-html-flex
8447 maybe-install-html-flex:
8448 @if flex
8449 maybe-install-html-flex: install-html-flex
8451 install-html-flex: \
8452 configure-flex \
8453 html-flex
8454 @: $(MAKE); $(unstage)
8455 @[ -f ./flex/Makefile ] || exit 0; \
8456 r=`${PWD_COMMAND}`; export r; \
8457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8458 $(HOST_EXPORTS) \
8459 for flag in $(EXTRA_HOST_FLAGS) ; do \
8460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8461 done; \
8462 echo "Doing install-html in flex" ; \
8463 (cd $(HOST_SUBDIR)/flex && \
8464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8466 "RANLIB=$${RANLIB}" \
8467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8468 install-html) \
8469 || exit 1
8471 @endif flex
8473 .PHONY: maybe-installcheck-flex installcheck-flex
8474 maybe-installcheck-flex:
8475 @if flex
8476 maybe-installcheck-flex: installcheck-flex
8478 installcheck-flex: \
8479 configure-flex
8480 @: $(MAKE); $(unstage)
8481 @[ -f ./flex/Makefile ] || exit 0; \
8482 r=`${PWD_COMMAND}`; export r; \
8483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8484 $(HOST_EXPORTS) \
8485 for flag in $(EXTRA_HOST_FLAGS) ; do \
8486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8487 done; \
8488 echo "Doing installcheck in flex" ; \
8489 (cd $(HOST_SUBDIR)/flex && \
8490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8492 "RANLIB=$${RANLIB}" \
8493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8494 installcheck) \
8495 || exit 1
8497 @endif flex
8499 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
8500 maybe-mostlyclean-flex:
8501 @if flex
8502 maybe-mostlyclean-flex: mostlyclean-flex
8504 mostlyclean-flex:
8505 @: $(MAKE); $(unstage)
8506 @[ -f ./flex/Makefile ] || exit 0; \
8507 r=`${PWD_COMMAND}`; export r; \
8508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8509 $(HOST_EXPORTS) \
8510 for flag in $(EXTRA_HOST_FLAGS) ; do \
8511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8512 done; \
8513 echo "Doing mostlyclean in flex" ; \
8514 (cd $(HOST_SUBDIR)/flex && \
8515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8517 "RANLIB=$${RANLIB}" \
8518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8519 mostlyclean) \
8520 || exit 1
8522 @endif flex
8524 .PHONY: maybe-clean-flex clean-flex
8525 maybe-clean-flex:
8526 @if flex
8527 maybe-clean-flex: clean-flex
8529 clean-flex:
8530 @: $(MAKE); $(unstage)
8531 @[ -f ./flex/Makefile ] || exit 0; \
8532 r=`${PWD_COMMAND}`; export r; \
8533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8534 $(HOST_EXPORTS) \
8535 for flag in $(EXTRA_HOST_FLAGS) ; do \
8536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8537 done; \
8538 echo "Doing clean in flex" ; \
8539 (cd $(HOST_SUBDIR)/flex && \
8540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8542 "RANLIB=$${RANLIB}" \
8543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8544 clean) \
8545 || exit 1
8547 @endif flex
8549 .PHONY: maybe-distclean-flex distclean-flex
8550 maybe-distclean-flex:
8551 @if flex
8552 maybe-distclean-flex: distclean-flex
8554 distclean-flex:
8555 @: $(MAKE); $(unstage)
8556 @[ -f ./flex/Makefile ] || exit 0; \
8557 r=`${PWD_COMMAND}`; export r; \
8558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8559 $(HOST_EXPORTS) \
8560 for flag in $(EXTRA_HOST_FLAGS) ; do \
8561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8562 done; \
8563 echo "Doing distclean in flex" ; \
8564 (cd $(HOST_SUBDIR)/flex && \
8565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8567 "RANLIB=$${RANLIB}" \
8568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8569 distclean) \
8570 || exit 1
8572 @endif flex
8574 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
8575 maybe-maintainer-clean-flex:
8576 @if flex
8577 maybe-maintainer-clean-flex: maintainer-clean-flex
8579 maintainer-clean-flex:
8580 @: $(MAKE); $(unstage)
8581 @[ -f ./flex/Makefile ] || exit 0; \
8582 r=`${PWD_COMMAND}`; export r; \
8583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8584 $(HOST_EXPORTS) \
8585 for flag in $(EXTRA_HOST_FLAGS) ; do \
8586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8587 done; \
8588 echo "Doing maintainer-clean in flex" ; \
8589 (cd $(HOST_SUBDIR)/flex && \
8590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8592 "RANLIB=$${RANLIB}" \
8593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8594 maintainer-clean) \
8595 || exit 1
8597 @endif flex
8601 .PHONY: configure-gas maybe-configure-gas
8602 maybe-configure-gas:
8603 @if gcc-bootstrap
8604 configure-gas: stage_current
8605 @endif gcc-bootstrap
8606 @if gas
8607 maybe-configure-gas: configure-gas
8608 configure-gas:
8609 @r=`${PWD_COMMAND}`; export r; \
8610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8611 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8612 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8613 $(HOST_EXPORTS) \
8614 echo Configuring in $(HOST_SUBDIR)/gas; \
8615 cd "$(HOST_SUBDIR)/gas" || exit 1; \
8616 case $(srcdir) in \
8617 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8618 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8619 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8620 esac; \
8621 srcdiroption="--srcdir=$${topdir}/gas"; \
8622 libsrcdir="$$s/gas"; \
8623 $(SHELL) $${libsrcdir}/configure \
8624 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8625 --target=${target_alias} $${srcdiroption} \
8626 || exit 1
8627 @endif gas
8631 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
8632 maybe-configure-stage1-gas:
8633 @if gas-bootstrap
8634 maybe-configure-stage1-gas: configure-stage1-gas
8635 configure-stage1-gas:
8636 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8637 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8638 @r=`${PWD_COMMAND}`; export r; \
8639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8640 TFLAGS="$(STAGE1_TFLAGS)"; \
8641 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8642 $(HOST_EXPORTS) \
8643 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
8644 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
8645 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
8646 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
8647 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8648 cd $(HOST_SUBDIR)/gas || exit 1; \
8649 case $(srcdir) in \
8650 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8651 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8652 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8653 esac; \
8654 srcdiroption="--srcdir=$${topdir}/gas"; \
8655 libsrcdir="$$s/gas"; \
8656 $(SHELL) $${libsrcdir}/configure \
8657 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8658 --target=${target_alias} $${srcdiroption} \
8659 $(STAGE1_CONFIGURE_FLAGS)
8660 @endif gas-bootstrap
8662 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
8663 maybe-configure-stage2-gas:
8664 @if gas-bootstrap
8665 maybe-configure-stage2-gas: configure-stage2-gas
8666 configure-stage2-gas:
8667 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8668 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8669 @r=`${PWD_COMMAND}`; export r; \
8670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8671 TFLAGS="$(STAGE2_TFLAGS)"; \
8672 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8673 $(HOST_EXPORTS) \
8674 $(POSTSTAGE1_HOST_EXPORTS) \
8675 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
8676 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
8677 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
8678 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
8679 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8680 cd $(HOST_SUBDIR)/gas || exit 1; \
8681 case $(srcdir) in \
8682 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8683 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8684 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8685 esac; \
8686 srcdiroption="--srcdir=$${topdir}/gas"; \
8687 libsrcdir="$$s/gas"; \
8688 $(SHELL) $${libsrcdir}/configure \
8689 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8690 --target=${target_alias} $${srcdiroption} \
8691 --with-build-libsubdir=$(HOST_SUBDIR) \
8692 $(STAGE2_CONFIGURE_FLAGS)
8693 @endif gas-bootstrap
8695 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
8696 maybe-configure-stage3-gas:
8697 @if gas-bootstrap
8698 maybe-configure-stage3-gas: configure-stage3-gas
8699 configure-stage3-gas:
8700 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8701 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8702 @r=`${PWD_COMMAND}`; export r; \
8703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8704 TFLAGS="$(STAGE3_TFLAGS)"; \
8705 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8706 $(HOST_EXPORTS) \
8707 $(POSTSTAGE1_HOST_EXPORTS) \
8708 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
8709 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
8710 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
8711 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
8712 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8713 cd $(HOST_SUBDIR)/gas || exit 1; \
8714 case $(srcdir) in \
8715 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8716 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8717 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8718 esac; \
8719 srcdiroption="--srcdir=$${topdir}/gas"; \
8720 libsrcdir="$$s/gas"; \
8721 $(SHELL) $${libsrcdir}/configure \
8722 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8723 --target=${target_alias} $${srcdiroption} \
8724 --with-build-libsubdir=$(HOST_SUBDIR) \
8725 $(STAGE3_CONFIGURE_FLAGS)
8726 @endif gas-bootstrap
8728 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
8729 maybe-configure-stage4-gas:
8730 @if gas-bootstrap
8731 maybe-configure-stage4-gas: configure-stage4-gas
8732 configure-stage4-gas:
8733 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8734 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8735 @r=`${PWD_COMMAND}`; export r; \
8736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8737 TFLAGS="$(STAGE4_TFLAGS)"; \
8738 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8739 $(HOST_EXPORTS) \
8740 $(POSTSTAGE1_HOST_EXPORTS) \
8741 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
8742 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
8743 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
8744 echo Configuring stage 4 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 $(STAGE4_CONFIGURE_FLAGS)
8759 @endif gas-bootstrap
8761 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
8762 maybe-configure-stageprofile-gas:
8763 @if gas-bootstrap
8764 maybe-configure-stageprofile-gas: configure-stageprofile-gas
8765 configure-stageprofile-gas:
8766 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
8767 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8768 @r=`${PWD_COMMAND}`; export r; \
8769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8770 TFLAGS="$(STAGEprofile_TFLAGS)"; \
8771 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8772 $(HOST_EXPORTS) \
8773 $(POSTSTAGE1_HOST_EXPORTS) \
8774 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
8775 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
8776 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
8777 echo Configuring stage profile 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 $(STAGEprofile_CONFIGURE_FLAGS)
8792 @endif gas-bootstrap
8794 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
8795 maybe-configure-stagefeedback-gas:
8796 @if gas-bootstrap
8797 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
8798 configure-stagefeedback-gas:
8799 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
8800 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8801 @r=`${PWD_COMMAND}`; export r; \
8802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8803 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
8804 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8805 $(HOST_EXPORTS) \
8806 $(POSTSTAGE1_HOST_EXPORTS) \
8807 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
8808 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
8809 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
8810 echo Configuring stage feedback 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 $(STAGEfeedback_CONFIGURE_FLAGS)
8825 @endif gas-bootstrap
8831 .PHONY: all-gas maybe-all-gas
8832 maybe-all-gas:
8833 @if gcc-bootstrap
8834 all-gas: stage_current
8835 @endif gcc-bootstrap
8836 @if gas
8837 TARGET-gas=all
8838 maybe-all-gas: all-gas
8839 all-gas: configure-gas
8840 @r=`${PWD_COMMAND}`; export r; \
8841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8842 $(HOST_EXPORTS) \
8843 (cd $(HOST_SUBDIR)/gas && \
8844 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
8845 $(TARGET-gas))
8846 @endif gas
8850 .PHONY: all-stage1-gas maybe-all-stage1-gas
8851 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
8852 maybe-all-stage1-gas:
8853 maybe-clean-stage1-gas:
8854 @if gas-bootstrap
8855 maybe-all-stage1-gas: all-stage1-gas
8856 all-stage1: all-stage1-gas
8857 TARGET-stage1-gas = $(TARGET-gas)
8858 all-stage1-gas: configure-stage1-gas
8859 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8860 @r=`${PWD_COMMAND}`; export r; \
8861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8862 TFLAGS="$(STAGE1_TFLAGS)"; \
8863 $(HOST_EXPORTS) \
8864 cd $(HOST_SUBDIR)/gas && \
8865 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8866 CFLAGS="$(STAGE1_CFLAGS)" \
8867 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
8868 LIBCFLAGS="$(LIBCFLAGS)" \
8869 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8870 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8871 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8872 $(EXTRA_HOST_FLAGS) \
8873 TFLAGS="$(STAGE1_TFLAGS)" \
8874 $(TARGET-stage1-gas)
8876 maybe-clean-stage1-gas: clean-stage1-gas
8877 clean-stage1: clean-stage1-gas
8878 clean-stage1-gas:
8879 @if [ $(current_stage) = stage1 ]; then \
8880 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
8881 else \
8882 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
8883 $(MAKE) stage1-start; \
8884 fi; \
8885 cd $(HOST_SUBDIR)/gas && \
8886 $(MAKE) $(EXTRA_HOST_FLAGS) \
8887 clean
8888 @endif gas-bootstrap
8891 .PHONY: all-stage2-gas maybe-all-stage2-gas
8892 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
8893 maybe-all-stage2-gas:
8894 maybe-clean-stage2-gas:
8895 @if gas-bootstrap
8896 maybe-all-stage2-gas: all-stage2-gas
8897 all-stage2: all-stage2-gas
8898 TARGET-stage2-gas = $(TARGET-gas)
8899 all-stage2-gas: configure-stage2-gas
8900 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8901 @r=`${PWD_COMMAND}`; export r; \
8902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8903 TFLAGS="$(STAGE2_TFLAGS)"; \
8904 $(HOST_EXPORTS) \
8905 $(POSTSTAGE1_HOST_EXPORTS) \
8906 cd $(HOST_SUBDIR)/gas && \
8907 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8908 CFLAGS="$(STAGE2_CFLAGS)" \
8909 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
8910 LIBCFLAGS="$(STAGE2_CFLAGS)" \
8911 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8912 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8913 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8914 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8915 TFLAGS="$(STAGE2_TFLAGS)" \
8916 $(TARGET-stage2-gas)
8918 maybe-clean-stage2-gas: clean-stage2-gas
8919 clean-stage2: clean-stage2-gas
8920 clean-stage2-gas:
8921 @if [ $(current_stage) = stage2 ]; then \
8922 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
8923 else \
8924 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
8925 $(MAKE) stage2-start; \
8926 fi; \
8927 cd $(HOST_SUBDIR)/gas && \
8928 $(MAKE) $(EXTRA_HOST_FLAGS) \
8929 $(POSTSTAGE1_FLAGS_TO_PASS) \
8930 clean
8931 @endif gas-bootstrap
8934 .PHONY: all-stage3-gas maybe-all-stage3-gas
8935 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
8936 maybe-all-stage3-gas:
8937 maybe-clean-stage3-gas:
8938 @if gas-bootstrap
8939 maybe-all-stage3-gas: all-stage3-gas
8940 all-stage3: all-stage3-gas
8941 TARGET-stage3-gas = $(TARGET-gas)
8942 all-stage3-gas: configure-stage3-gas
8943 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8944 @r=`${PWD_COMMAND}`; export r; \
8945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8946 TFLAGS="$(STAGE3_TFLAGS)"; \
8947 $(HOST_EXPORTS) \
8948 $(POSTSTAGE1_HOST_EXPORTS) \
8949 cd $(HOST_SUBDIR)/gas && \
8950 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8951 CFLAGS="$(STAGE3_CFLAGS)" \
8952 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
8953 LIBCFLAGS="$(STAGE3_CFLAGS)" \
8954 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8955 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8956 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8957 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8958 TFLAGS="$(STAGE3_TFLAGS)" \
8959 $(TARGET-stage3-gas)
8961 maybe-clean-stage3-gas: clean-stage3-gas
8962 clean-stage3: clean-stage3-gas
8963 clean-stage3-gas:
8964 @if [ $(current_stage) = stage3 ]; then \
8965 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
8966 else \
8967 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
8968 $(MAKE) stage3-start; \
8969 fi; \
8970 cd $(HOST_SUBDIR)/gas && \
8971 $(MAKE) $(EXTRA_HOST_FLAGS) \
8972 $(POSTSTAGE1_FLAGS_TO_PASS) \
8973 clean
8974 @endif gas-bootstrap
8977 .PHONY: all-stage4-gas maybe-all-stage4-gas
8978 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
8979 maybe-all-stage4-gas:
8980 maybe-clean-stage4-gas:
8981 @if gas-bootstrap
8982 maybe-all-stage4-gas: all-stage4-gas
8983 all-stage4: all-stage4-gas
8984 TARGET-stage4-gas = $(TARGET-gas)
8985 all-stage4-gas: configure-stage4-gas
8986 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8987 @r=`${PWD_COMMAND}`; export r; \
8988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8989 TFLAGS="$(STAGE4_TFLAGS)"; \
8990 $(HOST_EXPORTS) \
8991 $(POSTSTAGE1_HOST_EXPORTS) \
8992 cd $(HOST_SUBDIR)/gas && \
8993 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8994 CFLAGS="$(STAGE4_CFLAGS)" \
8995 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
8996 LIBCFLAGS="$(STAGE4_CFLAGS)" \
8997 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8998 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8999 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9000 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9001 TFLAGS="$(STAGE4_TFLAGS)" \
9002 $(TARGET-stage4-gas)
9004 maybe-clean-stage4-gas: clean-stage4-gas
9005 clean-stage4: clean-stage4-gas
9006 clean-stage4-gas:
9007 @if [ $(current_stage) = stage4 ]; then \
9008 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9009 else \
9010 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
9011 $(MAKE) stage4-start; \
9012 fi; \
9013 cd $(HOST_SUBDIR)/gas && \
9014 $(MAKE) $(EXTRA_HOST_FLAGS) \
9015 $(POSTSTAGE1_FLAGS_TO_PASS) \
9016 clean
9017 @endif gas-bootstrap
9020 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
9021 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
9022 maybe-all-stageprofile-gas:
9023 maybe-clean-stageprofile-gas:
9024 @if gas-bootstrap
9025 maybe-all-stageprofile-gas: all-stageprofile-gas
9026 all-stageprofile: all-stageprofile-gas
9027 TARGET-stageprofile-gas = $(TARGET-gas)
9028 all-stageprofile-gas: configure-stageprofile-gas
9029 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9030 @r=`${PWD_COMMAND}`; export r; \
9031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9032 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9033 $(HOST_EXPORTS) \
9034 $(POSTSTAGE1_HOST_EXPORTS) \
9035 cd $(HOST_SUBDIR)/gas && \
9036 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9037 CFLAGS="$(STAGEprofile_CFLAGS)" \
9038 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9039 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9040 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9041 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9042 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9043 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9044 TFLAGS="$(STAGEprofile_TFLAGS)" \
9045 $(TARGET-stageprofile-gas)
9047 maybe-clean-stageprofile-gas: clean-stageprofile-gas
9048 clean-stageprofile: clean-stageprofile-gas
9049 clean-stageprofile-gas:
9050 @if [ $(current_stage) = stageprofile ]; then \
9051 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9052 else \
9053 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
9054 $(MAKE) stageprofile-start; \
9055 fi; \
9056 cd $(HOST_SUBDIR)/gas && \
9057 $(MAKE) $(EXTRA_HOST_FLAGS) \
9058 $(POSTSTAGE1_FLAGS_TO_PASS) \
9059 clean
9060 @endif gas-bootstrap
9063 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
9064 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
9065 maybe-all-stagefeedback-gas:
9066 maybe-clean-stagefeedback-gas:
9067 @if gas-bootstrap
9068 maybe-all-stagefeedback-gas: all-stagefeedback-gas
9069 all-stagefeedback: all-stagefeedback-gas
9070 TARGET-stagefeedback-gas = $(TARGET-gas)
9071 all-stagefeedback-gas: configure-stagefeedback-gas
9072 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9073 @r=`${PWD_COMMAND}`; export r; \
9074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9075 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9076 $(HOST_EXPORTS) \
9077 $(POSTSTAGE1_HOST_EXPORTS) \
9078 cd $(HOST_SUBDIR)/gas && \
9079 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9080 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9081 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9082 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9083 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9084 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9085 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9086 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9087 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9088 $(TARGET-stagefeedback-gas)
9090 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
9091 clean-stagefeedback: clean-stagefeedback-gas
9092 clean-stagefeedback-gas:
9093 @if [ $(current_stage) = stagefeedback ]; then \
9094 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9095 else \
9096 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
9097 $(MAKE) stagefeedback-start; \
9098 fi; \
9099 cd $(HOST_SUBDIR)/gas && \
9100 $(MAKE) $(EXTRA_HOST_FLAGS) \
9101 $(POSTSTAGE1_FLAGS_TO_PASS) \
9102 clean
9103 @endif gas-bootstrap
9109 .PHONY: check-gas maybe-check-gas
9110 maybe-check-gas:
9111 @if gas
9112 maybe-check-gas: check-gas
9114 check-gas:
9115 @: $(MAKE); $(unstage)
9116 @r=`${PWD_COMMAND}`; export r; \
9117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9118 $(HOST_EXPORTS) \
9119 (cd $(HOST_SUBDIR)/gas && \
9120 $(MAKE) $(FLAGS_TO_PASS) check)
9122 @endif gas
9124 .PHONY: install-gas maybe-install-gas
9125 maybe-install-gas:
9126 @if gas
9127 maybe-install-gas: install-gas
9129 install-gas: installdirs
9130 @: $(MAKE); $(unstage)
9131 @r=`${PWD_COMMAND}`; export r; \
9132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9133 $(HOST_EXPORTS) \
9134 (cd $(HOST_SUBDIR)/gas && \
9135 $(MAKE) $(FLAGS_TO_PASS) install)
9137 @endif gas
9139 .PHONY: install-strip-gas maybe-install-strip-gas
9140 maybe-install-strip-gas:
9141 @if gas
9142 maybe-install-strip-gas: install-strip-gas
9144 install-strip-gas: installdirs
9145 @: $(MAKE); $(unstage)
9146 @r=`${PWD_COMMAND}`; export r; \
9147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9148 $(HOST_EXPORTS) \
9149 (cd $(HOST_SUBDIR)/gas && \
9150 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9152 @endif gas
9154 # Other targets (info, dvi, pdf, etc.)
9156 .PHONY: maybe-info-gas info-gas
9157 maybe-info-gas:
9158 @if gas
9159 maybe-info-gas: info-gas
9161 info-gas: \
9162 configure-gas
9163 @[ -f ./gas/Makefile ] || exit 0; \
9164 r=`${PWD_COMMAND}`; export r; \
9165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9166 $(HOST_EXPORTS) \
9167 for flag in $(EXTRA_HOST_FLAGS) ; do \
9168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9169 done; \
9170 echo "Doing info in gas" ; \
9171 (cd $(HOST_SUBDIR)/gas && \
9172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9174 "RANLIB=$${RANLIB}" \
9175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9176 info) \
9177 || exit 1
9179 @endif gas
9181 .PHONY: maybe-dvi-gas dvi-gas
9182 maybe-dvi-gas:
9183 @if gas
9184 maybe-dvi-gas: dvi-gas
9186 dvi-gas: \
9187 configure-gas
9188 @[ -f ./gas/Makefile ] || exit 0; \
9189 r=`${PWD_COMMAND}`; export r; \
9190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9191 $(HOST_EXPORTS) \
9192 for flag in $(EXTRA_HOST_FLAGS) ; do \
9193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9194 done; \
9195 echo "Doing dvi in gas" ; \
9196 (cd $(HOST_SUBDIR)/gas && \
9197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9199 "RANLIB=$${RANLIB}" \
9200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9201 dvi) \
9202 || exit 1
9204 @endif gas
9206 .PHONY: maybe-pdf-gas pdf-gas
9207 maybe-pdf-gas:
9208 @if gas
9209 maybe-pdf-gas: pdf-gas
9211 pdf-gas: \
9212 configure-gas
9213 @[ -f ./gas/Makefile ] || exit 0; \
9214 r=`${PWD_COMMAND}`; export r; \
9215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9216 $(HOST_EXPORTS) \
9217 for flag in $(EXTRA_HOST_FLAGS) ; do \
9218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9219 done; \
9220 echo "Doing pdf in gas" ; \
9221 (cd $(HOST_SUBDIR)/gas && \
9222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9224 "RANLIB=$${RANLIB}" \
9225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9226 pdf) \
9227 || exit 1
9229 @endif gas
9231 .PHONY: maybe-html-gas html-gas
9232 maybe-html-gas:
9233 @if gas
9234 maybe-html-gas: html-gas
9236 html-gas: \
9237 configure-gas
9238 @[ -f ./gas/Makefile ] || exit 0; \
9239 r=`${PWD_COMMAND}`; export r; \
9240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9241 $(HOST_EXPORTS) \
9242 for flag in $(EXTRA_HOST_FLAGS) ; do \
9243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9244 done; \
9245 echo "Doing html in gas" ; \
9246 (cd $(HOST_SUBDIR)/gas && \
9247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9249 "RANLIB=$${RANLIB}" \
9250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9251 html) \
9252 || exit 1
9254 @endif gas
9256 .PHONY: maybe-TAGS-gas TAGS-gas
9257 maybe-TAGS-gas:
9258 @if gas
9259 maybe-TAGS-gas: TAGS-gas
9261 TAGS-gas: \
9262 configure-gas
9263 @[ -f ./gas/Makefile ] || exit 0; \
9264 r=`${PWD_COMMAND}`; export r; \
9265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9266 $(HOST_EXPORTS) \
9267 for flag in $(EXTRA_HOST_FLAGS) ; do \
9268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9269 done; \
9270 echo "Doing TAGS in gas" ; \
9271 (cd $(HOST_SUBDIR)/gas && \
9272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9274 "RANLIB=$${RANLIB}" \
9275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9276 TAGS) \
9277 || exit 1
9279 @endif gas
9281 .PHONY: maybe-install-info-gas install-info-gas
9282 maybe-install-info-gas:
9283 @if gas
9284 maybe-install-info-gas: install-info-gas
9286 install-info-gas: \
9287 configure-gas \
9288 info-gas
9289 @[ -f ./gas/Makefile ] || exit 0; \
9290 r=`${PWD_COMMAND}`; export r; \
9291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9292 $(HOST_EXPORTS) \
9293 for flag in $(EXTRA_HOST_FLAGS) ; do \
9294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9295 done; \
9296 echo "Doing install-info in gas" ; \
9297 (cd $(HOST_SUBDIR)/gas && \
9298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9300 "RANLIB=$${RANLIB}" \
9301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9302 install-info) \
9303 || exit 1
9305 @endif gas
9307 .PHONY: maybe-install-pdf-gas install-pdf-gas
9308 maybe-install-pdf-gas:
9309 @if gas
9310 maybe-install-pdf-gas: install-pdf-gas
9312 install-pdf-gas: \
9313 configure-gas \
9314 pdf-gas
9315 @[ -f ./gas/Makefile ] || exit 0; \
9316 r=`${PWD_COMMAND}`; export r; \
9317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9318 $(HOST_EXPORTS) \
9319 for flag in $(EXTRA_HOST_FLAGS) ; do \
9320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9321 done; \
9322 echo "Doing install-pdf in gas" ; \
9323 (cd $(HOST_SUBDIR)/gas && \
9324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9326 "RANLIB=$${RANLIB}" \
9327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9328 install-pdf) \
9329 || exit 1
9331 @endif gas
9333 .PHONY: maybe-install-html-gas install-html-gas
9334 maybe-install-html-gas:
9335 @if gas
9336 maybe-install-html-gas: install-html-gas
9338 install-html-gas: \
9339 configure-gas \
9340 html-gas
9341 @[ -f ./gas/Makefile ] || exit 0; \
9342 r=`${PWD_COMMAND}`; export r; \
9343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9344 $(HOST_EXPORTS) \
9345 for flag in $(EXTRA_HOST_FLAGS) ; do \
9346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9347 done; \
9348 echo "Doing install-html in gas" ; \
9349 (cd $(HOST_SUBDIR)/gas && \
9350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9352 "RANLIB=$${RANLIB}" \
9353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9354 install-html) \
9355 || exit 1
9357 @endif gas
9359 .PHONY: maybe-installcheck-gas installcheck-gas
9360 maybe-installcheck-gas:
9361 @if gas
9362 maybe-installcheck-gas: installcheck-gas
9364 installcheck-gas: \
9365 configure-gas
9366 @[ -f ./gas/Makefile ] || exit 0; \
9367 r=`${PWD_COMMAND}`; export r; \
9368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9369 $(HOST_EXPORTS) \
9370 for flag in $(EXTRA_HOST_FLAGS) ; do \
9371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9372 done; \
9373 echo "Doing installcheck in gas" ; \
9374 (cd $(HOST_SUBDIR)/gas && \
9375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9377 "RANLIB=$${RANLIB}" \
9378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9379 installcheck) \
9380 || exit 1
9382 @endif gas
9384 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
9385 maybe-mostlyclean-gas:
9386 @if gas
9387 maybe-mostlyclean-gas: mostlyclean-gas
9389 mostlyclean-gas:
9390 @[ -f ./gas/Makefile ] || exit 0; \
9391 r=`${PWD_COMMAND}`; export r; \
9392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9393 $(HOST_EXPORTS) \
9394 for flag in $(EXTRA_HOST_FLAGS) ; do \
9395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9396 done; \
9397 echo "Doing mostlyclean in gas" ; \
9398 (cd $(HOST_SUBDIR)/gas && \
9399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9401 "RANLIB=$${RANLIB}" \
9402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9403 mostlyclean) \
9404 || exit 1
9406 @endif gas
9408 .PHONY: maybe-clean-gas clean-gas
9409 maybe-clean-gas:
9410 @if gas
9411 maybe-clean-gas: clean-gas
9413 clean-gas:
9414 @[ -f ./gas/Makefile ] || exit 0; \
9415 r=`${PWD_COMMAND}`; export r; \
9416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9417 $(HOST_EXPORTS) \
9418 for flag in $(EXTRA_HOST_FLAGS) ; do \
9419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9420 done; \
9421 echo "Doing clean in gas" ; \
9422 (cd $(HOST_SUBDIR)/gas && \
9423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9425 "RANLIB=$${RANLIB}" \
9426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9427 clean) \
9428 || exit 1
9430 @endif gas
9432 .PHONY: maybe-distclean-gas distclean-gas
9433 maybe-distclean-gas:
9434 @if gas
9435 maybe-distclean-gas: distclean-gas
9437 distclean-gas:
9438 @[ -f ./gas/Makefile ] || exit 0; \
9439 r=`${PWD_COMMAND}`; export r; \
9440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9441 $(HOST_EXPORTS) \
9442 for flag in $(EXTRA_HOST_FLAGS) ; do \
9443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9444 done; \
9445 echo "Doing distclean in gas" ; \
9446 (cd $(HOST_SUBDIR)/gas && \
9447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9449 "RANLIB=$${RANLIB}" \
9450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9451 distclean) \
9452 || exit 1
9454 @endif gas
9456 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
9457 maybe-maintainer-clean-gas:
9458 @if gas
9459 maybe-maintainer-clean-gas: maintainer-clean-gas
9461 maintainer-clean-gas:
9462 @[ -f ./gas/Makefile ] || exit 0; \
9463 r=`${PWD_COMMAND}`; export r; \
9464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9465 $(HOST_EXPORTS) \
9466 for flag in $(EXTRA_HOST_FLAGS) ; do \
9467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9468 done; \
9469 echo "Doing maintainer-clean in gas" ; \
9470 (cd $(HOST_SUBDIR)/gas && \
9471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9473 "RANLIB=$${RANLIB}" \
9474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9475 maintainer-clean) \
9476 || exit 1
9478 @endif gas
9482 .PHONY: configure-gcc maybe-configure-gcc
9483 maybe-configure-gcc:
9484 @if gcc-bootstrap
9485 configure-gcc: stage_current
9486 @endif gcc-bootstrap
9487 @if gcc
9488 maybe-configure-gcc: configure-gcc
9489 configure-gcc:
9490 @r=`${PWD_COMMAND}`; export r; \
9491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9492 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9493 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9494 $(HOST_EXPORTS) \
9495 echo Configuring in $(HOST_SUBDIR)/gcc; \
9496 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
9497 case $(srcdir) in \
9498 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9499 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9500 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9501 esac; \
9502 srcdiroption="--srcdir=$${topdir}/gcc"; \
9503 libsrcdir="$$s/gcc"; \
9504 $(SHELL) $${libsrcdir}/configure \
9505 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9506 --target=${target_alias} $${srcdiroption} \
9507 || exit 1
9508 @endif gcc
9512 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
9513 maybe-configure-stage1-gcc:
9514 @if gcc-bootstrap
9515 maybe-configure-stage1-gcc: configure-stage1-gcc
9516 configure-stage1-gcc:
9517 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9518 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9519 @r=`${PWD_COMMAND}`; export r; \
9520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9521 TFLAGS="$(STAGE1_TFLAGS)"; \
9522 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9523 $(HOST_EXPORTS) \
9524 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
9525 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
9526 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
9527 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
9528 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9529 cd $(HOST_SUBDIR)/gcc || exit 1; \
9530 case $(srcdir) in \
9531 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9532 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9533 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9534 esac; \
9535 srcdiroption="--srcdir=$${topdir}/gcc"; \
9536 libsrcdir="$$s/gcc"; \
9537 $(SHELL) $${libsrcdir}/configure \
9538 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9539 --target=${target_alias} $${srcdiroption} \
9540 $(STAGE1_CONFIGURE_FLAGS)
9541 @endif gcc-bootstrap
9543 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
9544 maybe-configure-stage2-gcc:
9545 @if gcc-bootstrap
9546 maybe-configure-stage2-gcc: configure-stage2-gcc
9547 configure-stage2-gcc:
9548 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9549 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9550 @r=`${PWD_COMMAND}`; export r; \
9551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9552 TFLAGS="$(STAGE2_TFLAGS)"; \
9553 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9554 $(HOST_EXPORTS) \
9555 $(POSTSTAGE1_HOST_EXPORTS) \
9556 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
9557 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
9558 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
9559 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
9560 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9561 cd $(HOST_SUBDIR)/gcc || exit 1; \
9562 case $(srcdir) in \
9563 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9564 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9565 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9566 esac; \
9567 srcdiroption="--srcdir=$${topdir}/gcc"; \
9568 libsrcdir="$$s/gcc"; \
9569 $(SHELL) $${libsrcdir}/configure \
9570 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9571 --target=${target_alias} $${srcdiroption} \
9572 --with-build-libsubdir=$(HOST_SUBDIR) \
9573 $(STAGE2_CONFIGURE_FLAGS)
9574 @endif gcc-bootstrap
9576 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
9577 maybe-configure-stage3-gcc:
9578 @if gcc-bootstrap
9579 maybe-configure-stage3-gcc: configure-stage3-gcc
9580 configure-stage3-gcc:
9581 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9582 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9583 @r=`${PWD_COMMAND}`; export r; \
9584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9585 TFLAGS="$(STAGE3_TFLAGS)"; \
9586 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9587 $(HOST_EXPORTS) \
9588 $(POSTSTAGE1_HOST_EXPORTS) \
9589 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
9590 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
9591 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
9592 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
9593 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9594 cd $(HOST_SUBDIR)/gcc || exit 1; \
9595 case $(srcdir) in \
9596 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9597 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9598 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9599 esac; \
9600 srcdiroption="--srcdir=$${topdir}/gcc"; \
9601 libsrcdir="$$s/gcc"; \
9602 $(SHELL) $${libsrcdir}/configure \
9603 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9604 --target=${target_alias} $${srcdiroption} \
9605 --with-build-libsubdir=$(HOST_SUBDIR) \
9606 $(STAGE3_CONFIGURE_FLAGS)
9607 @endif gcc-bootstrap
9609 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
9610 maybe-configure-stage4-gcc:
9611 @if gcc-bootstrap
9612 maybe-configure-stage4-gcc: configure-stage4-gcc
9613 configure-stage4-gcc:
9614 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9615 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9616 @r=`${PWD_COMMAND}`; export r; \
9617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9618 TFLAGS="$(STAGE4_TFLAGS)"; \
9619 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9620 $(HOST_EXPORTS) \
9621 $(POSTSTAGE1_HOST_EXPORTS) \
9622 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
9623 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
9624 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
9625 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
9626 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9627 cd $(HOST_SUBDIR)/gcc || exit 1; \
9628 case $(srcdir) in \
9629 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9630 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9631 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9632 esac; \
9633 srcdiroption="--srcdir=$${topdir}/gcc"; \
9634 libsrcdir="$$s/gcc"; \
9635 $(SHELL) $${libsrcdir}/configure \
9636 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9637 --target=${target_alias} $${srcdiroption} \
9638 --with-build-libsubdir=$(HOST_SUBDIR) \
9639 $(STAGE4_CONFIGURE_FLAGS)
9640 @endif gcc-bootstrap
9642 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
9643 maybe-configure-stageprofile-gcc:
9644 @if gcc-bootstrap
9645 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
9646 configure-stageprofile-gcc:
9647 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9648 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9649 @r=`${PWD_COMMAND}`; export r; \
9650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9651 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9652 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9653 $(HOST_EXPORTS) \
9654 $(POSTSTAGE1_HOST_EXPORTS) \
9655 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
9656 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
9657 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
9658 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
9659 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9660 cd $(HOST_SUBDIR)/gcc || exit 1; \
9661 case $(srcdir) in \
9662 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9663 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9664 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9665 esac; \
9666 srcdiroption="--srcdir=$${topdir}/gcc"; \
9667 libsrcdir="$$s/gcc"; \
9668 $(SHELL) $${libsrcdir}/configure \
9669 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9670 --target=${target_alias} $${srcdiroption} \
9671 --with-build-libsubdir=$(HOST_SUBDIR) \
9672 $(STAGEprofile_CONFIGURE_FLAGS)
9673 @endif gcc-bootstrap
9675 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
9676 maybe-configure-stagefeedback-gcc:
9677 @if gcc-bootstrap
9678 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
9679 configure-stagefeedback-gcc:
9680 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9681 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9682 @r=`${PWD_COMMAND}`; export r; \
9683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9684 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9685 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9686 $(HOST_EXPORTS) \
9687 $(POSTSTAGE1_HOST_EXPORTS) \
9688 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
9689 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
9690 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
9691 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
9692 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9693 cd $(HOST_SUBDIR)/gcc || exit 1; \
9694 case $(srcdir) in \
9695 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9696 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9697 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9698 esac; \
9699 srcdiroption="--srcdir=$${topdir}/gcc"; \
9700 libsrcdir="$$s/gcc"; \
9701 $(SHELL) $${libsrcdir}/configure \
9702 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9703 --target=${target_alias} $${srcdiroption} \
9704 --with-build-libsubdir=$(HOST_SUBDIR) \
9705 $(STAGEfeedback_CONFIGURE_FLAGS)
9706 @endif gcc-bootstrap
9712 .PHONY: all-gcc maybe-all-gcc
9713 maybe-all-gcc:
9714 @if gcc-bootstrap
9715 all-gcc: stage_current
9716 @endif gcc-bootstrap
9717 @if gcc
9718 TARGET-gcc=all
9719 maybe-all-gcc: all-gcc
9720 all-gcc: configure-gcc
9721 @r=`${PWD_COMMAND}`; export r; \
9722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9723 $(HOST_EXPORTS) \
9724 (cd $(HOST_SUBDIR)/gcc && \
9725 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS) \
9726 $(TARGET-gcc))
9727 @endif gcc
9731 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
9732 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
9733 maybe-all-stage1-gcc:
9734 maybe-clean-stage1-gcc:
9735 @if gcc-bootstrap
9736 maybe-all-stage1-gcc: all-stage1-gcc
9737 all-stage1: all-stage1-gcc
9738 TARGET-stage1-gcc = $(TARGET-gcc)
9739 all-stage1-gcc: configure-stage1-gcc
9740 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9741 @r=`${PWD_COMMAND}`; export r; \
9742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9743 TFLAGS="$(STAGE1_TFLAGS)"; \
9744 $(HOST_EXPORTS) \
9745 cd $(HOST_SUBDIR)/gcc && \
9746 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9747 CFLAGS="$(STAGE1_CFLAGS)" \
9748 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
9749 LIBCFLAGS="$(LIBCFLAGS)" \
9750 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9751 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9752 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9753 $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS) \
9754 TFLAGS="$(STAGE1_TFLAGS)" \
9755 $(TARGET-stage1-gcc)
9757 maybe-clean-stage1-gcc: clean-stage1-gcc
9758 clean-stage1: clean-stage1-gcc
9759 clean-stage1-gcc:
9760 @if [ $(current_stage) = stage1 ]; then \
9761 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9762 else \
9763 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
9764 $(MAKE) stage1-start; \
9765 fi; \
9766 cd $(HOST_SUBDIR)/gcc && \
9767 $(MAKE) $(EXTRA_HOST_FLAGS) \
9768 $(EXTRA_GCC_FLAGS) clean
9769 @endif gcc-bootstrap
9772 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
9773 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
9774 maybe-all-stage2-gcc:
9775 maybe-clean-stage2-gcc:
9776 @if gcc-bootstrap
9777 maybe-all-stage2-gcc: all-stage2-gcc
9778 all-stage2: all-stage2-gcc
9779 TARGET-stage2-gcc = $(TARGET-gcc)
9780 all-stage2-gcc: configure-stage2-gcc
9781 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9782 @r=`${PWD_COMMAND}`; export r; \
9783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9784 TFLAGS="$(STAGE2_TFLAGS)"; \
9785 $(HOST_EXPORTS) \
9786 $(POSTSTAGE1_HOST_EXPORTS) \
9787 cd $(HOST_SUBDIR)/gcc && \
9788 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9789 CFLAGS="$(STAGE2_CFLAGS)" \
9790 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
9791 LIBCFLAGS="$(STAGE2_CFLAGS)" \
9792 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9793 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9794 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9795 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9796 TFLAGS="$(STAGE2_TFLAGS)" \
9797 $(TARGET-stage2-gcc)
9799 maybe-clean-stage2-gcc: clean-stage2-gcc
9800 clean-stage2: clean-stage2-gcc
9801 clean-stage2-gcc:
9802 @if [ $(current_stage) = stage2 ]; then \
9803 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9804 else \
9805 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
9806 $(MAKE) stage2-start; \
9807 fi; \
9808 cd $(HOST_SUBDIR)/gcc && \
9809 $(MAKE) $(EXTRA_HOST_FLAGS) \
9810 $(POSTSTAGE1_FLAGS_TO_PASS) \
9811 $(EXTRA_GCC_FLAGS) clean
9812 @endif gcc-bootstrap
9815 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
9816 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
9817 maybe-all-stage3-gcc:
9818 maybe-clean-stage3-gcc:
9819 @if gcc-bootstrap
9820 maybe-all-stage3-gcc: all-stage3-gcc
9821 all-stage3: all-stage3-gcc
9822 TARGET-stage3-gcc = $(TARGET-gcc)
9823 all-stage3-gcc: configure-stage3-gcc
9824 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9825 @r=`${PWD_COMMAND}`; export r; \
9826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9827 TFLAGS="$(STAGE3_TFLAGS)"; \
9828 $(HOST_EXPORTS) \
9829 $(POSTSTAGE1_HOST_EXPORTS) \
9830 cd $(HOST_SUBDIR)/gcc && \
9831 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9832 CFLAGS="$(STAGE3_CFLAGS)" \
9833 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
9834 LIBCFLAGS="$(STAGE3_CFLAGS)" \
9835 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9836 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9837 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9838 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9839 TFLAGS="$(STAGE3_TFLAGS)" \
9840 $(TARGET-stage3-gcc)
9842 maybe-clean-stage3-gcc: clean-stage3-gcc
9843 clean-stage3: clean-stage3-gcc
9844 clean-stage3-gcc:
9845 @if [ $(current_stage) = stage3 ]; then \
9846 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9847 else \
9848 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
9849 $(MAKE) stage3-start; \
9850 fi; \
9851 cd $(HOST_SUBDIR)/gcc && \
9852 $(MAKE) $(EXTRA_HOST_FLAGS) \
9853 $(POSTSTAGE1_FLAGS_TO_PASS) \
9854 $(EXTRA_GCC_FLAGS) clean
9855 @endif gcc-bootstrap
9858 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
9859 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
9860 maybe-all-stage4-gcc:
9861 maybe-clean-stage4-gcc:
9862 @if gcc-bootstrap
9863 maybe-all-stage4-gcc: all-stage4-gcc
9864 all-stage4: all-stage4-gcc
9865 TARGET-stage4-gcc = $(TARGET-gcc)
9866 all-stage4-gcc: configure-stage4-gcc
9867 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9868 @r=`${PWD_COMMAND}`; export r; \
9869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9870 TFLAGS="$(STAGE4_TFLAGS)"; \
9871 $(HOST_EXPORTS) \
9872 $(POSTSTAGE1_HOST_EXPORTS) \
9873 cd $(HOST_SUBDIR)/gcc && \
9874 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9875 CFLAGS="$(STAGE4_CFLAGS)" \
9876 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9877 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9878 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9879 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9880 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9881 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9882 TFLAGS="$(STAGE4_TFLAGS)" \
9883 $(TARGET-stage4-gcc)
9885 maybe-clean-stage4-gcc: clean-stage4-gcc
9886 clean-stage4: clean-stage4-gcc
9887 clean-stage4-gcc:
9888 @if [ $(current_stage) = stage4 ]; then \
9889 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9890 else \
9891 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
9892 $(MAKE) stage4-start; \
9893 fi; \
9894 cd $(HOST_SUBDIR)/gcc && \
9895 $(MAKE) $(EXTRA_HOST_FLAGS) \
9896 $(POSTSTAGE1_FLAGS_TO_PASS) \
9897 $(EXTRA_GCC_FLAGS) clean
9898 @endif gcc-bootstrap
9901 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
9902 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
9903 maybe-all-stageprofile-gcc:
9904 maybe-clean-stageprofile-gcc:
9905 @if gcc-bootstrap
9906 maybe-all-stageprofile-gcc: all-stageprofile-gcc
9907 all-stageprofile: all-stageprofile-gcc
9908 TARGET-stageprofile-gcc = $(TARGET-gcc)
9909 all-stageprofile-gcc: configure-stageprofile-gcc
9910 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9911 @r=`${PWD_COMMAND}`; export r; \
9912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9913 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9914 $(HOST_EXPORTS) \
9915 $(POSTSTAGE1_HOST_EXPORTS) \
9916 cd $(HOST_SUBDIR)/gcc && \
9917 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9918 CFLAGS="$(STAGEprofile_CFLAGS)" \
9919 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9920 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9921 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9922 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9923 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9924 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9925 TFLAGS="$(STAGEprofile_TFLAGS)" \
9926 $(TARGET-stageprofile-gcc)
9928 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
9929 clean-stageprofile: clean-stageprofile-gcc
9930 clean-stageprofile-gcc:
9931 @if [ $(current_stage) = stageprofile ]; then \
9932 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9933 else \
9934 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
9935 $(MAKE) stageprofile-start; \
9936 fi; \
9937 cd $(HOST_SUBDIR)/gcc && \
9938 $(MAKE) $(EXTRA_HOST_FLAGS) \
9939 $(POSTSTAGE1_FLAGS_TO_PASS) \
9940 $(EXTRA_GCC_FLAGS) clean
9941 @endif gcc-bootstrap
9944 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
9945 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
9946 maybe-all-stagefeedback-gcc:
9947 maybe-clean-stagefeedback-gcc:
9948 @if gcc-bootstrap
9949 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
9950 all-stagefeedback: all-stagefeedback-gcc
9951 TARGET-stagefeedback-gcc = $(TARGET-gcc)
9952 all-stagefeedback-gcc: configure-stagefeedback-gcc
9953 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9954 @r=`${PWD_COMMAND}`; export r; \
9955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9956 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9957 $(HOST_EXPORTS) \
9958 $(POSTSTAGE1_HOST_EXPORTS) \
9959 cd $(HOST_SUBDIR)/gcc && \
9960 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9961 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9962 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9963 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9964 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9965 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9966 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9967 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9968 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9969 $(TARGET-stagefeedback-gcc)
9971 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
9972 clean-stagefeedback: clean-stagefeedback-gcc
9973 clean-stagefeedback-gcc:
9974 @if [ $(current_stage) = stagefeedback ]; then \
9975 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9976 else \
9977 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
9978 $(MAKE) stagefeedback-start; \
9979 fi; \
9980 cd $(HOST_SUBDIR)/gcc && \
9981 $(MAKE) $(EXTRA_HOST_FLAGS) \
9982 $(POSTSTAGE1_FLAGS_TO_PASS) \
9983 $(EXTRA_GCC_FLAGS) clean
9984 @endif gcc-bootstrap
9990 .PHONY: check-gcc maybe-check-gcc
9991 maybe-check-gcc:
9992 @if gcc
9993 maybe-check-gcc: check-gcc
9995 check-gcc:
9996 @: $(MAKE); $(unstage)
9997 @r=`${PWD_COMMAND}`; export r; \
9998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9999 $(HOST_EXPORTS) \
10000 (cd $(HOST_SUBDIR)/gcc && \
10001 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
10003 @endif gcc
10005 .PHONY: install-gcc maybe-install-gcc
10006 maybe-install-gcc:
10007 @if gcc
10008 maybe-install-gcc: install-gcc
10010 install-gcc: installdirs
10011 @: $(MAKE); $(unstage)
10012 @r=`${PWD_COMMAND}`; export r; \
10013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10014 $(HOST_EXPORTS) \
10015 (cd $(HOST_SUBDIR)/gcc && \
10016 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
10018 @endif gcc
10020 .PHONY: install-strip-gcc maybe-install-strip-gcc
10021 maybe-install-strip-gcc:
10022 @if gcc
10023 maybe-install-strip-gcc: install-strip-gcc
10025 install-strip-gcc: installdirs
10026 @: $(MAKE); $(unstage)
10027 @r=`${PWD_COMMAND}`; export r; \
10028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10029 $(HOST_EXPORTS) \
10030 (cd $(HOST_SUBDIR)/gcc && \
10031 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install-strip)
10033 @endif gcc
10035 # Other targets (info, dvi, pdf, etc.)
10037 .PHONY: maybe-info-gcc info-gcc
10038 maybe-info-gcc:
10039 @if gcc
10040 maybe-info-gcc: info-gcc
10042 info-gcc: \
10043 configure-gcc
10044 @[ -f ./gcc/Makefile ] || exit 0; \
10045 r=`${PWD_COMMAND}`; export r; \
10046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10047 $(HOST_EXPORTS) \
10048 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10050 done; \
10051 echo "Doing info in gcc" ; \
10052 (cd $(HOST_SUBDIR)/gcc && \
10053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10055 "RANLIB=$${RANLIB}" \
10056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10057 info) \
10058 || exit 1
10060 @endif gcc
10062 .PHONY: maybe-dvi-gcc dvi-gcc
10063 maybe-dvi-gcc:
10064 @if gcc
10065 maybe-dvi-gcc: dvi-gcc
10067 dvi-gcc: \
10068 configure-gcc
10069 @[ -f ./gcc/Makefile ] || exit 0; \
10070 r=`${PWD_COMMAND}`; export r; \
10071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10072 $(HOST_EXPORTS) \
10073 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10075 done; \
10076 echo "Doing dvi in gcc" ; \
10077 (cd $(HOST_SUBDIR)/gcc && \
10078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10080 "RANLIB=$${RANLIB}" \
10081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10082 dvi) \
10083 || exit 1
10085 @endif gcc
10087 .PHONY: maybe-pdf-gcc pdf-gcc
10088 maybe-pdf-gcc:
10089 @if gcc
10090 maybe-pdf-gcc: pdf-gcc
10092 pdf-gcc: \
10093 configure-gcc
10094 @[ -f ./gcc/Makefile ] || exit 0; \
10095 r=`${PWD_COMMAND}`; export r; \
10096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10097 $(HOST_EXPORTS) \
10098 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10100 done; \
10101 echo "Doing pdf in gcc" ; \
10102 (cd $(HOST_SUBDIR)/gcc && \
10103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10105 "RANLIB=$${RANLIB}" \
10106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10107 pdf) \
10108 || exit 1
10110 @endif gcc
10112 .PHONY: maybe-html-gcc html-gcc
10113 maybe-html-gcc:
10114 @if gcc
10115 maybe-html-gcc: html-gcc
10117 html-gcc: \
10118 configure-gcc
10119 @[ -f ./gcc/Makefile ] || exit 0; \
10120 r=`${PWD_COMMAND}`; export r; \
10121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10122 $(HOST_EXPORTS) \
10123 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10125 done; \
10126 echo "Doing html in gcc" ; \
10127 (cd $(HOST_SUBDIR)/gcc && \
10128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10130 "RANLIB=$${RANLIB}" \
10131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10132 html) \
10133 || exit 1
10135 @endif gcc
10137 .PHONY: maybe-TAGS-gcc TAGS-gcc
10138 maybe-TAGS-gcc:
10139 @if gcc
10140 maybe-TAGS-gcc: TAGS-gcc
10142 TAGS-gcc: \
10143 configure-gcc
10144 @[ -f ./gcc/Makefile ] || exit 0; \
10145 r=`${PWD_COMMAND}`; export r; \
10146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10147 $(HOST_EXPORTS) \
10148 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10150 done; \
10151 echo "Doing TAGS in gcc" ; \
10152 (cd $(HOST_SUBDIR)/gcc && \
10153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10155 "RANLIB=$${RANLIB}" \
10156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10157 TAGS) \
10158 || exit 1
10160 @endif gcc
10162 .PHONY: maybe-install-info-gcc install-info-gcc
10163 maybe-install-info-gcc:
10164 @if gcc
10165 maybe-install-info-gcc: install-info-gcc
10167 install-info-gcc: \
10168 configure-gcc \
10169 info-gcc
10170 @[ -f ./gcc/Makefile ] || exit 0; \
10171 r=`${PWD_COMMAND}`; export r; \
10172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10173 $(HOST_EXPORTS) \
10174 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10176 done; \
10177 echo "Doing install-info in gcc" ; \
10178 (cd $(HOST_SUBDIR)/gcc && \
10179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10181 "RANLIB=$${RANLIB}" \
10182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10183 install-info) \
10184 || exit 1
10186 @endif gcc
10188 .PHONY: maybe-install-pdf-gcc install-pdf-gcc
10189 maybe-install-pdf-gcc:
10190 @if gcc
10191 maybe-install-pdf-gcc: install-pdf-gcc
10193 install-pdf-gcc: \
10194 configure-gcc \
10195 pdf-gcc
10196 @[ -f ./gcc/Makefile ] || exit 0; \
10197 r=`${PWD_COMMAND}`; export r; \
10198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10199 $(HOST_EXPORTS) \
10200 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10202 done; \
10203 echo "Doing install-pdf in gcc" ; \
10204 (cd $(HOST_SUBDIR)/gcc && \
10205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10207 "RANLIB=$${RANLIB}" \
10208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10209 install-pdf) \
10210 || exit 1
10212 @endif gcc
10214 .PHONY: maybe-install-html-gcc install-html-gcc
10215 maybe-install-html-gcc:
10216 @if gcc
10217 maybe-install-html-gcc: install-html-gcc
10219 install-html-gcc: \
10220 configure-gcc \
10221 html-gcc
10222 @[ -f ./gcc/Makefile ] || exit 0; \
10223 r=`${PWD_COMMAND}`; export r; \
10224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10225 $(HOST_EXPORTS) \
10226 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10228 done; \
10229 echo "Doing install-html in gcc" ; \
10230 (cd $(HOST_SUBDIR)/gcc && \
10231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10233 "RANLIB=$${RANLIB}" \
10234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10235 install-html) \
10236 || exit 1
10238 @endif gcc
10240 .PHONY: maybe-installcheck-gcc installcheck-gcc
10241 maybe-installcheck-gcc:
10242 @if gcc
10243 maybe-installcheck-gcc: installcheck-gcc
10245 installcheck-gcc: \
10246 configure-gcc
10247 @[ -f ./gcc/Makefile ] || exit 0; \
10248 r=`${PWD_COMMAND}`; export r; \
10249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10250 $(HOST_EXPORTS) \
10251 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10253 done; \
10254 echo "Doing installcheck in gcc" ; \
10255 (cd $(HOST_SUBDIR)/gcc && \
10256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10258 "RANLIB=$${RANLIB}" \
10259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10260 installcheck) \
10261 || exit 1
10263 @endif gcc
10265 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
10266 maybe-mostlyclean-gcc:
10267 @if gcc
10268 maybe-mostlyclean-gcc: mostlyclean-gcc
10270 mostlyclean-gcc:
10271 @[ -f ./gcc/Makefile ] || exit 0; \
10272 r=`${PWD_COMMAND}`; export r; \
10273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10274 $(HOST_EXPORTS) \
10275 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10277 done; \
10278 echo "Doing mostlyclean in gcc" ; \
10279 (cd $(HOST_SUBDIR)/gcc && \
10280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10282 "RANLIB=$${RANLIB}" \
10283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10284 mostlyclean) \
10285 || exit 1
10287 @endif gcc
10289 .PHONY: maybe-clean-gcc clean-gcc
10290 maybe-clean-gcc:
10291 @if gcc
10292 maybe-clean-gcc: clean-gcc
10294 clean-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 clean 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 clean) \
10309 || exit 1
10311 @endif gcc
10313 .PHONY: maybe-distclean-gcc distclean-gcc
10314 maybe-distclean-gcc:
10315 @if gcc
10316 maybe-distclean-gcc: distclean-gcc
10318 distclean-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 distclean 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 distclean) \
10333 || exit 1
10335 @endif gcc
10337 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
10338 maybe-maintainer-clean-gcc:
10339 @if gcc
10340 maybe-maintainer-clean-gcc: maintainer-clean-gcc
10342 maintainer-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 maintainer-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 maintainer-clean) \
10357 || exit 1
10359 @endif gcc
10363 .PHONY: configure-gmp maybe-configure-gmp
10364 maybe-configure-gmp:
10365 @if gcc-bootstrap
10366 configure-gmp: stage_current
10367 @endif gcc-bootstrap
10368 @if gmp
10369 maybe-configure-gmp: configure-gmp
10370 configure-gmp:
10371 @r=`${PWD_COMMAND}`; export r; \
10372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10373 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10374 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10375 $(HOST_EXPORTS) \
10376 echo Configuring in $(HOST_SUBDIR)/gmp; \
10377 cd "$(HOST_SUBDIR)/gmp" || exit 1; \
10378 case $(srcdir) in \
10379 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10380 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10381 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10382 esac; \
10383 srcdiroption="--srcdir=$${topdir}/gmp"; \
10384 libsrcdir="$$s/gmp"; \
10385 $(SHELL) $${libsrcdir}/configure \
10386 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10387 --target=none-${host_vendor}-${host_os} $${srcdiroption} --disable-shared \
10388 || exit 1
10389 @endif gmp
10393 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
10394 maybe-configure-stage1-gmp:
10395 @if gmp-bootstrap
10396 maybe-configure-stage1-gmp: configure-stage1-gmp
10397 configure-stage1-gmp:
10398 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10399 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10400 @r=`${PWD_COMMAND}`; export r; \
10401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10402 TFLAGS="$(STAGE1_TFLAGS)"; \
10403 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10404 $(HOST_EXPORTS) \
10405 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
10406 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
10407 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
10408 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp ; \
10409 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10410 cd $(HOST_SUBDIR)/gmp || exit 1; \
10411 case $(srcdir) in \
10412 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10413 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10414 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10415 esac; \
10416 srcdiroption="--srcdir=$${topdir}/gmp"; \
10417 libsrcdir="$$s/gmp"; \
10418 $(SHELL) $${libsrcdir}/configure \
10419 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10420 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10421 $(STAGE1_CONFIGURE_FLAGS) \
10422 --disable-shared
10423 @endif gmp-bootstrap
10425 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
10426 maybe-configure-stage2-gmp:
10427 @if gmp-bootstrap
10428 maybe-configure-stage2-gmp: configure-stage2-gmp
10429 configure-stage2-gmp:
10430 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10431 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10432 @r=`${PWD_COMMAND}`; export r; \
10433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10434 TFLAGS="$(STAGE2_TFLAGS)"; \
10435 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10436 $(HOST_EXPORTS) \
10437 $(POSTSTAGE1_HOST_EXPORTS) \
10438 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
10439 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
10440 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
10441 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp ; \
10442 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10443 cd $(HOST_SUBDIR)/gmp || exit 1; \
10444 case $(srcdir) in \
10445 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10446 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10447 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10448 esac; \
10449 srcdiroption="--srcdir=$${topdir}/gmp"; \
10450 libsrcdir="$$s/gmp"; \
10451 $(SHELL) $${libsrcdir}/configure \
10452 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10453 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10454 --with-build-libsubdir=$(HOST_SUBDIR) \
10455 $(STAGE2_CONFIGURE_FLAGS) \
10456 --disable-shared
10457 @endif gmp-bootstrap
10459 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
10460 maybe-configure-stage3-gmp:
10461 @if gmp-bootstrap
10462 maybe-configure-stage3-gmp: configure-stage3-gmp
10463 configure-stage3-gmp:
10464 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10465 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10466 @r=`${PWD_COMMAND}`; export r; \
10467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10468 TFLAGS="$(STAGE3_TFLAGS)"; \
10469 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10470 $(HOST_EXPORTS) \
10471 $(POSTSTAGE1_HOST_EXPORTS) \
10472 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
10473 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
10474 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
10475 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp ; \
10476 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10477 cd $(HOST_SUBDIR)/gmp || exit 1; \
10478 case $(srcdir) in \
10479 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10480 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10481 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10482 esac; \
10483 srcdiroption="--srcdir=$${topdir}/gmp"; \
10484 libsrcdir="$$s/gmp"; \
10485 $(SHELL) $${libsrcdir}/configure \
10486 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10487 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10488 --with-build-libsubdir=$(HOST_SUBDIR) \
10489 $(STAGE3_CONFIGURE_FLAGS) \
10490 --disable-shared
10491 @endif gmp-bootstrap
10493 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
10494 maybe-configure-stage4-gmp:
10495 @if gmp-bootstrap
10496 maybe-configure-stage4-gmp: configure-stage4-gmp
10497 configure-stage4-gmp:
10498 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10499 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10500 @r=`${PWD_COMMAND}`; export r; \
10501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10502 TFLAGS="$(STAGE4_TFLAGS)"; \
10503 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10504 $(HOST_EXPORTS) \
10505 $(POSTSTAGE1_HOST_EXPORTS) \
10506 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
10507 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
10508 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
10509 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp ; \
10510 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10511 cd $(HOST_SUBDIR)/gmp || exit 1; \
10512 case $(srcdir) in \
10513 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10514 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10515 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10516 esac; \
10517 srcdiroption="--srcdir=$${topdir}/gmp"; \
10518 libsrcdir="$$s/gmp"; \
10519 $(SHELL) $${libsrcdir}/configure \
10520 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10521 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10522 --with-build-libsubdir=$(HOST_SUBDIR) \
10523 $(STAGE4_CONFIGURE_FLAGS) \
10524 --disable-shared
10525 @endif gmp-bootstrap
10527 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
10528 maybe-configure-stageprofile-gmp:
10529 @if gmp-bootstrap
10530 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
10531 configure-stageprofile-gmp:
10532 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10533 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10534 @r=`${PWD_COMMAND}`; export r; \
10535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10536 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10537 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10538 $(HOST_EXPORTS) \
10539 $(POSTSTAGE1_HOST_EXPORTS) \
10540 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
10541 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
10542 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
10543 echo Configuring stage profile in $(HOST_SUBDIR)/gmp ; \
10544 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10545 cd $(HOST_SUBDIR)/gmp || exit 1; \
10546 case $(srcdir) in \
10547 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10548 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10549 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10550 esac; \
10551 srcdiroption="--srcdir=$${topdir}/gmp"; \
10552 libsrcdir="$$s/gmp"; \
10553 $(SHELL) $${libsrcdir}/configure \
10554 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10555 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10556 --with-build-libsubdir=$(HOST_SUBDIR) \
10557 $(STAGEprofile_CONFIGURE_FLAGS) \
10558 --disable-shared
10559 @endif gmp-bootstrap
10561 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
10562 maybe-configure-stagefeedback-gmp:
10563 @if gmp-bootstrap
10564 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
10565 configure-stagefeedback-gmp:
10566 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10567 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10568 @r=`${PWD_COMMAND}`; export r; \
10569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10570 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10571 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10572 $(HOST_EXPORTS) \
10573 $(POSTSTAGE1_HOST_EXPORTS) \
10574 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
10575 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
10576 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
10577 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp ; \
10578 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10579 cd $(HOST_SUBDIR)/gmp || exit 1; \
10580 case $(srcdir) in \
10581 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10582 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10583 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10584 esac; \
10585 srcdiroption="--srcdir=$${topdir}/gmp"; \
10586 libsrcdir="$$s/gmp"; \
10587 $(SHELL) $${libsrcdir}/configure \
10588 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10589 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10590 --with-build-libsubdir=$(HOST_SUBDIR) \
10591 $(STAGEfeedback_CONFIGURE_FLAGS) \
10592 --disable-shared
10593 @endif gmp-bootstrap
10599 .PHONY: all-gmp maybe-all-gmp
10600 maybe-all-gmp:
10601 @if gcc-bootstrap
10602 all-gmp: stage_current
10603 @endif gcc-bootstrap
10604 @if gmp
10605 TARGET-gmp=all
10606 maybe-all-gmp: all-gmp
10607 all-gmp: configure-gmp
10608 @r=`${PWD_COMMAND}`; export r; \
10609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10610 $(HOST_EXPORTS) \
10611 (cd $(HOST_SUBDIR)/gmp && \
10612 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
10613 $(TARGET-gmp))
10614 @endif gmp
10618 .PHONY: all-stage1-gmp maybe-all-stage1-gmp
10619 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
10620 maybe-all-stage1-gmp:
10621 maybe-clean-stage1-gmp:
10622 @if gmp-bootstrap
10623 maybe-all-stage1-gmp: all-stage1-gmp
10624 all-stage1: all-stage1-gmp
10625 TARGET-stage1-gmp = $(TARGET-gmp)
10626 all-stage1-gmp: configure-stage1-gmp
10627 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10628 @r=`${PWD_COMMAND}`; export r; \
10629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10630 TFLAGS="$(STAGE1_TFLAGS)"; \
10631 $(HOST_EXPORTS) \
10632 cd $(HOST_SUBDIR)/gmp && \
10633 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10634 CFLAGS="$(STAGE1_CFLAGS)" \
10635 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
10636 LIBCFLAGS="$(LIBCFLAGS)" \
10637 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10638 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10639 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10640 $(EXTRA_HOST_FLAGS) \
10641 TFLAGS="$(STAGE1_TFLAGS)" \
10642 $(TARGET-stage1-gmp)
10644 maybe-clean-stage1-gmp: clean-stage1-gmp
10645 clean-stage1: clean-stage1-gmp
10646 clean-stage1-gmp:
10647 @if [ $(current_stage) = stage1 ]; then \
10648 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10649 else \
10650 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
10651 $(MAKE) stage1-start; \
10652 fi; \
10653 cd $(HOST_SUBDIR)/gmp && \
10654 $(MAKE) $(EXTRA_HOST_FLAGS) \
10655 clean
10656 @endif gmp-bootstrap
10659 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
10660 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
10661 maybe-all-stage2-gmp:
10662 maybe-clean-stage2-gmp:
10663 @if gmp-bootstrap
10664 maybe-all-stage2-gmp: all-stage2-gmp
10665 all-stage2: all-stage2-gmp
10666 TARGET-stage2-gmp = $(TARGET-gmp)
10667 all-stage2-gmp: configure-stage2-gmp
10668 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10669 @r=`${PWD_COMMAND}`; export r; \
10670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10671 TFLAGS="$(STAGE2_TFLAGS)"; \
10672 $(HOST_EXPORTS) \
10673 $(POSTSTAGE1_HOST_EXPORTS) \
10674 cd $(HOST_SUBDIR)/gmp && \
10675 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10676 CFLAGS="$(STAGE2_CFLAGS)" \
10677 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
10678 LIBCFLAGS="$(STAGE2_CFLAGS)" \
10679 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10680 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10681 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10682 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10683 TFLAGS="$(STAGE2_TFLAGS)" \
10684 $(TARGET-stage2-gmp)
10686 maybe-clean-stage2-gmp: clean-stage2-gmp
10687 clean-stage2: clean-stage2-gmp
10688 clean-stage2-gmp:
10689 @if [ $(current_stage) = stage2 ]; then \
10690 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10691 else \
10692 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
10693 $(MAKE) stage2-start; \
10694 fi; \
10695 cd $(HOST_SUBDIR)/gmp && \
10696 $(MAKE) $(EXTRA_HOST_FLAGS) \
10697 $(POSTSTAGE1_FLAGS_TO_PASS) \
10698 clean
10699 @endif gmp-bootstrap
10702 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
10703 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
10704 maybe-all-stage3-gmp:
10705 maybe-clean-stage3-gmp:
10706 @if gmp-bootstrap
10707 maybe-all-stage3-gmp: all-stage3-gmp
10708 all-stage3: all-stage3-gmp
10709 TARGET-stage3-gmp = $(TARGET-gmp)
10710 all-stage3-gmp: configure-stage3-gmp
10711 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10712 @r=`${PWD_COMMAND}`; export r; \
10713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10714 TFLAGS="$(STAGE3_TFLAGS)"; \
10715 $(HOST_EXPORTS) \
10716 $(POSTSTAGE1_HOST_EXPORTS) \
10717 cd $(HOST_SUBDIR)/gmp && \
10718 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10719 CFLAGS="$(STAGE3_CFLAGS)" \
10720 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
10721 LIBCFLAGS="$(STAGE3_CFLAGS)" \
10722 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10723 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10724 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10725 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10726 TFLAGS="$(STAGE3_TFLAGS)" \
10727 $(TARGET-stage3-gmp)
10729 maybe-clean-stage3-gmp: clean-stage3-gmp
10730 clean-stage3: clean-stage3-gmp
10731 clean-stage3-gmp:
10732 @if [ $(current_stage) = stage3 ]; then \
10733 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10734 else \
10735 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
10736 $(MAKE) stage3-start; \
10737 fi; \
10738 cd $(HOST_SUBDIR)/gmp && \
10739 $(MAKE) $(EXTRA_HOST_FLAGS) \
10740 $(POSTSTAGE1_FLAGS_TO_PASS) \
10741 clean
10742 @endif gmp-bootstrap
10745 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
10746 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
10747 maybe-all-stage4-gmp:
10748 maybe-clean-stage4-gmp:
10749 @if gmp-bootstrap
10750 maybe-all-stage4-gmp: all-stage4-gmp
10751 all-stage4: all-stage4-gmp
10752 TARGET-stage4-gmp = $(TARGET-gmp)
10753 all-stage4-gmp: configure-stage4-gmp
10754 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10755 @r=`${PWD_COMMAND}`; export r; \
10756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10757 TFLAGS="$(STAGE4_TFLAGS)"; \
10758 $(HOST_EXPORTS) \
10759 $(POSTSTAGE1_HOST_EXPORTS) \
10760 cd $(HOST_SUBDIR)/gmp && \
10761 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10762 CFLAGS="$(STAGE4_CFLAGS)" \
10763 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
10764 LIBCFLAGS="$(STAGE4_CFLAGS)" \
10765 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10766 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10767 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10768 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10769 TFLAGS="$(STAGE4_TFLAGS)" \
10770 $(TARGET-stage4-gmp)
10772 maybe-clean-stage4-gmp: clean-stage4-gmp
10773 clean-stage4: clean-stage4-gmp
10774 clean-stage4-gmp:
10775 @if [ $(current_stage) = stage4 ]; then \
10776 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10777 else \
10778 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
10779 $(MAKE) stage4-start; \
10780 fi; \
10781 cd $(HOST_SUBDIR)/gmp && \
10782 $(MAKE) $(EXTRA_HOST_FLAGS) \
10783 $(POSTSTAGE1_FLAGS_TO_PASS) \
10784 clean
10785 @endif gmp-bootstrap
10788 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
10789 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
10790 maybe-all-stageprofile-gmp:
10791 maybe-clean-stageprofile-gmp:
10792 @if gmp-bootstrap
10793 maybe-all-stageprofile-gmp: all-stageprofile-gmp
10794 all-stageprofile: all-stageprofile-gmp
10795 TARGET-stageprofile-gmp = $(TARGET-gmp)
10796 all-stageprofile-gmp: configure-stageprofile-gmp
10797 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10798 @r=`${PWD_COMMAND}`; export r; \
10799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10800 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10801 $(HOST_EXPORTS) \
10802 $(POSTSTAGE1_HOST_EXPORTS) \
10803 cd $(HOST_SUBDIR)/gmp && \
10804 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10805 CFLAGS="$(STAGEprofile_CFLAGS)" \
10806 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
10807 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
10808 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10809 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10810 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10811 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10812 TFLAGS="$(STAGEprofile_TFLAGS)" \
10813 $(TARGET-stageprofile-gmp)
10815 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
10816 clean-stageprofile: clean-stageprofile-gmp
10817 clean-stageprofile-gmp:
10818 @if [ $(current_stage) = stageprofile ]; then \
10819 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10820 else \
10821 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
10822 $(MAKE) stageprofile-start; \
10823 fi; \
10824 cd $(HOST_SUBDIR)/gmp && \
10825 $(MAKE) $(EXTRA_HOST_FLAGS) \
10826 $(POSTSTAGE1_FLAGS_TO_PASS) \
10827 clean
10828 @endif gmp-bootstrap
10831 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
10832 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
10833 maybe-all-stagefeedback-gmp:
10834 maybe-clean-stagefeedback-gmp:
10835 @if gmp-bootstrap
10836 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
10837 all-stagefeedback: all-stagefeedback-gmp
10838 TARGET-stagefeedback-gmp = $(TARGET-gmp)
10839 all-stagefeedback-gmp: configure-stagefeedback-gmp
10840 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10841 @r=`${PWD_COMMAND}`; export r; \
10842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10843 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10844 $(HOST_EXPORTS) \
10845 $(POSTSTAGE1_HOST_EXPORTS) \
10846 cd $(HOST_SUBDIR)/gmp && \
10847 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10848 CFLAGS="$(STAGEfeedback_CFLAGS)" \
10849 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
10850 LIBCFLAGS="$(STAGEfeedback_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="$(STAGEfeedback_TFLAGS)" \
10856 $(TARGET-stagefeedback-gmp)
10858 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
10859 clean-stagefeedback: clean-stagefeedback-gmp
10860 clean-stagefeedback-gmp:
10861 @if [ $(current_stage) = stagefeedback ]; then \
10862 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10863 else \
10864 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
10865 $(MAKE) stagefeedback-start; \
10866 fi; \
10867 cd $(HOST_SUBDIR)/gmp && \
10868 $(MAKE) $(EXTRA_HOST_FLAGS) \
10869 $(POSTSTAGE1_FLAGS_TO_PASS) \
10870 clean
10871 @endif gmp-bootstrap
10877 .PHONY: check-gmp maybe-check-gmp
10878 maybe-check-gmp:
10879 @if gmp
10880 maybe-check-gmp: check-gmp
10882 check-gmp:
10883 @: $(MAKE); $(unstage)
10884 @r=`${PWD_COMMAND}`; export r; \
10885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10886 $(HOST_EXPORTS) \
10887 (cd $(HOST_SUBDIR)/gmp && \
10888 $(MAKE) $(FLAGS_TO_PASS) check)
10890 @endif gmp
10892 .PHONY: install-gmp maybe-install-gmp
10893 maybe-install-gmp:
10894 @if gmp
10895 maybe-install-gmp: install-gmp
10897 install-gmp:
10899 @endif gmp
10901 .PHONY: install-strip-gmp maybe-install-strip-gmp
10902 maybe-install-strip-gmp:
10903 @if gmp
10904 maybe-install-strip-gmp: install-strip-gmp
10906 install-strip-gmp:
10908 @endif gmp
10910 # Other targets (info, dvi, pdf, etc.)
10912 .PHONY: maybe-info-gmp info-gmp
10913 maybe-info-gmp:
10914 @if gmp
10915 maybe-info-gmp: info-gmp
10917 info-gmp: \
10918 configure-gmp
10919 @[ -f ./gmp/Makefile ] || exit 0; \
10920 r=`${PWD_COMMAND}`; export r; \
10921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10922 $(HOST_EXPORTS) \
10923 for flag in $(EXTRA_HOST_FLAGS) ; do \
10924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10925 done; \
10926 echo "Doing info in gmp" ; \
10927 (cd $(HOST_SUBDIR)/gmp && \
10928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10930 "RANLIB=$${RANLIB}" \
10931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10932 info) \
10933 || exit 1
10935 @endif gmp
10937 .PHONY: maybe-dvi-gmp dvi-gmp
10938 maybe-dvi-gmp:
10939 @if gmp
10940 maybe-dvi-gmp: dvi-gmp
10942 dvi-gmp: \
10943 configure-gmp
10944 @[ -f ./gmp/Makefile ] || exit 0; \
10945 r=`${PWD_COMMAND}`; export r; \
10946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10947 $(HOST_EXPORTS) \
10948 for flag in $(EXTRA_HOST_FLAGS) ; do \
10949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10950 done; \
10951 echo "Doing dvi in gmp" ; \
10952 (cd $(HOST_SUBDIR)/gmp && \
10953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10955 "RANLIB=$${RANLIB}" \
10956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10957 dvi) \
10958 || exit 1
10960 @endif gmp
10962 .PHONY: maybe-pdf-gmp pdf-gmp
10963 maybe-pdf-gmp:
10964 @if gmp
10965 maybe-pdf-gmp: pdf-gmp
10967 pdf-gmp: \
10968 configure-gmp
10969 @[ -f ./gmp/Makefile ] || exit 0; \
10970 r=`${PWD_COMMAND}`; export r; \
10971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10972 $(HOST_EXPORTS) \
10973 for flag in $(EXTRA_HOST_FLAGS) ; do \
10974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10975 done; \
10976 echo "Doing pdf in gmp" ; \
10977 (cd $(HOST_SUBDIR)/gmp && \
10978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10980 "RANLIB=$${RANLIB}" \
10981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10982 pdf) \
10983 || exit 1
10985 @endif gmp
10987 .PHONY: maybe-html-gmp html-gmp
10988 maybe-html-gmp:
10989 @if gmp
10990 maybe-html-gmp: html-gmp
10992 html-gmp: \
10993 configure-gmp
10994 @[ -f ./gmp/Makefile ] || exit 0; \
10995 r=`${PWD_COMMAND}`; export r; \
10996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10997 $(HOST_EXPORTS) \
10998 for flag in $(EXTRA_HOST_FLAGS) ; do \
10999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11000 done; \
11001 echo "Doing html in gmp" ; \
11002 (cd $(HOST_SUBDIR)/gmp && \
11003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11005 "RANLIB=$${RANLIB}" \
11006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11007 html) \
11008 || exit 1
11010 @endif gmp
11012 .PHONY: maybe-TAGS-gmp TAGS-gmp
11013 maybe-TAGS-gmp:
11014 @if gmp
11015 maybe-TAGS-gmp: TAGS-gmp
11017 TAGS-gmp: \
11018 configure-gmp
11019 @[ -f ./gmp/Makefile ] || exit 0; \
11020 r=`${PWD_COMMAND}`; export r; \
11021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11022 $(HOST_EXPORTS) \
11023 for flag in $(EXTRA_HOST_FLAGS) ; do \
11024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11025 done; \
11026 echo "Doing TAGS in gmp" ; \
11027 (cd $(HOST_SUBDIR)/gmp && \
11028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11030 "RANLIB=$${RANLIB}" \
11031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11032 TAGS) \
11033 || exit 1
11035 @endif gmp
11037 .PHONY: maybe-install-info-gmp install-info-gmp
11038 maybe-install-info-gmp:
11039 @if gmp
11040 maybe-install-info-gmp: install-info-gmp
11042 install-info-gmp: \
11043 configure-gmp \
11044 info-gmp
11045 @[ -f ./gmp/Makefile ] || exit 0; \
11046 r=`${PWD_COMMAND}`; export r; \
11047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11048 $(HOST_EXPORTS) \
11049 for flag in $(EXTRA_HOST_FLAGS) ; do \
11050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11051 done; \
11052 echo "Doing install-info in gmp" ; \
11053 (cd $(HOST_SUBDIR)/gmp && \
11054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11056 "RANLIB=$${RANLIB}" \
11057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11058 install-info) \
11059 || exit 1
11061 @endif gmp
11063 .PHONY: maybe-install-pdf-gmp install-pdf-gmp
11064 maybe-install-pdf-gmp:
11065 @if gmp
11066 maybe-install-pdf-gmp: install-pdf-gmp
11068 install-pdf-gmp: \
11069 configure-gmp \
11070 pdf-gmp
11071 @[ -f ./gmp/Makefile ] || exit 0; \
11072 r=`${PWD_COMMAND}`; export r; \
11073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11074 $(HOST_EXPORTS) \
11075 for flag in $(EXTRA_HOST_FLAGS) ; do \
11076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11077 done; \
11078 echo "Doing install-pdf in gmp" ; \
11079 (cd $(HOST_SUBDIR)/gmp && \
11080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11082 "RANLIB=$${RANLIB}" \
11083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11084 install-pdf) \
11085 || exit 1
11087 @endif gmp
11089 .PHONY: maybe-install-html-gmp install-html-gmp
11090 maybe-install-html-gmp:
11091 @if gmp
11092 maybe-install-html-gmp: install-html-gmp
11094 install-html-gmp: \
11095 configure-gmp \
11096 html-gmp
11097 @[ -f ./gmp/Makefile ] || exit 0; \
11098 r=`${PWD_COMMAND}`; export r; \
11099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11100 $(HOST_EXPORTS) \
11101 for flag in $(EXTRA_HOST_FLAGS) ; do \
11102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11103 done; \
11104 echo "Doing install-html in gmp" ; \
11105 (cd $(HOST_SUBDIR)/gmp && \
11106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11108 "RANLIB=$${RANLIB}" \
11109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11110 install-html) \
11111 || exit 1
11113 @endif gmp
11115 .PHONY: maybe-installcheck-gmp installcheck-gmp
11116 maybe-installcheck-gmp:
11117 @if gmp
11118 maybe-installcheck-gmp: installcheck-gmp
11120 installcheck-gmp: \
11121 configure-gmp
11122 @[ -f ./gmp/Makefile ] || exit 0; \
11123 r=`${PWD_COMMAND}`; export r; \
11124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11125 $(HOST_EXPORTS) \
11126 for flag in $(EXTRA_HOST_FLAGS) ; do \
11127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11128 done; \
11129 echo "Doing installcheck in gmp" ; \
11130 (cd $(HOST_SUBDIR)/gmp && \
11131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11133 "RANLIB=$${RANLIB}" \
11134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11135 installcheck) \
11136 || exit 1
11138 @endif gmp
11140 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
11141 maybe-mostlyclean-gmp:
11142 @if gmp
11143 maybe-mostlyclean-gmp: mostlyclean-gmp
11145 mostlyclean-gmp:
11146 @[ -f ./gmp/Makefile ] || exit 0; \
11147 r=`${PWD_COMMAND}`; export r; \
11148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11149 $(HOST_EXPORTS) \
11150 for flag in $(EXTRA_HOST_FLAGS) ; do \
11151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11152 done; \
11153 echo "Doing mostlyclean in gmp" ; \
11154 (cd $(HOST_SUBDIR)/gmp && \
11155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11157 "RANLIB=$${RANLIB}" \
11158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11159 mostlyclean) \
11160 || exit 1
11162 @endif gmp
11164 .PHONY: maybe-clean-gmp clean-gmp
11165 maybe-clean-gmp:
11166 @if gmp
11167 maybe-clean-gmp: clean-gmp
11169 clean-gmp:
11170 @[ -f ./gmp/Makefile ] || exit 0; \
11171 r=`${PWD_COMMAND}`; export r; \
11172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11173 $(HOST_EXPORTS) \
11174 for flag in $(EXTRA_HOST_FLAGS) ; do \
11175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11176 done; \
11177 echo "Doing clean in gmp" ; \
11178 (cd $(HOST_SUBDIR)/gmp && \
11179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11181 "RANLIB=$${RANLIB}" \
11182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11183 clean) \
11184 || exit 1
11186 @endif gmp
11188 .PHONY: maybe-distclean-gmp distclean-gmp
11189 maybe-distclean-gmp:
11190 @if gmp
11191 maybe-distclean-gmp: distclean-gmp
11193 distclean-gmp:
11194 @[ -f ./gmp/Makefile ] || exit 0; \
11195 r=`${PWD_COMMAND}`; export r; \
11196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11197 $(HOST_EXPORTS) \
11198 for flag in $(EXTRA_HOST_FLAGS) ; do \
11199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11200 done; \
11201 echo "Doing distclean in gmp" ; \
11202 (cd $(HOST_SUBDIR)/gmp && \
11203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11205 "RANLIB=$${RANLIB}" \
11206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11207 distclean) \
11208 || exit 1
11210 @endif gmp
11212 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
11213 maybe-maintainer-clean-gmp:
11214 @if gmp
11215 maybe-maintainer-clean-gmp: maintainer-clean-gmp
11217 maintainer-clean-gmp:
11218 @[ -f ./gmp/Makefile ] || exit 0; \
11219 r=`${PWD_COMMAND}`; export r; \
11220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11221 $(HOST_EXPORTS) \
11222 for flag in $(EXTRA_HOST_FLAGS) ; do \
11223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11224 done; \
11225 echo "Doing maintainer-clean in gmp" ; \
11226 (cd $(HOST_SUBDIR)/gmp && \
11227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11229 "RANLIB=$${RANLIB}" \
11230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11231 maintainer-clean) \
11232 || exit 1
11234 @endif gmp
11238 .PHONY: configure-mpfr maybe-configure-mpfr
11239 maybe-configure-mpfr:
11240 @if gcc-bootstrap
11241 configure-mpfr: stage_current
11242 @endif gcc-bootstrap
11243 @if mpfr
11244 maybe-configure-mpfr: configure-mpfr
11245 configure-mpfr:
11246 @r=`${PWD_COMMAND}`; export r; \
11247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11248 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11249 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11250 $(HOST_EXPORTS) \
11251 echo Configuring in $(HOST_SUBDIR)/mpfr; \
11252 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
11253 case $(srcdir) in \
11254 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11255 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11256 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11257 esac; \
11258 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11259 libsrcdir="$$s/mpfr"; \
11260 $(SHELL) $${libsrcdir}/configure \
11261 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11262 --target=${target_alias} $${srcdiroption} --disable-shared @extra_mpfr_configure_flags@ \
11263 || exit 1
11264 @endif mpfr
11268 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
11269 maybe-configure-stage1-mpfr:
11270 @if mpfr-bootstrap
11271 maybe-configure-stage1-mpfr: configure-stage1-mpfr
11272 configure-stage1-mpfr:
11273 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11274 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11275 @r=`${PWD_COMMAND}`; export r; \
11276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11277 TFLAGS="$(STAGE1_TFLAGS)"; \
11278 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11279 $(HOST_EXPORTS) \
11280 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
11281 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
11282 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
11283 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr ; \
11284 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11285 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11286 case $(srcdir) in \
11287 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11288 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11289 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11290 esac; \
11291 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11292 libsrcdir="$$s/mpfr"; \
11293 $(SHELL) $${libsrcdir}/configure \
11294 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11295 --target=${target_alias} $${srcdiroption} \
11296 $(STAGE1_CONFIGURE_FLAGS) \
11297 --disable-shared @extra_mpfr_configure_flags@
11298 @endif mpfr-bootstrap
11300 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
11301 maybe-configure-stage2-mpfr:
11302 @if mpfr-bootstrap
11303 maybe-configure-stage2-mpfr: configure-stage2-mpfr
11304 configure-stage2-mpfr:
11305 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11306 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11307 @r=`${PWD_COMMAND}`; export r; \
11308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11309 TFLAGS="$(STAGE2_TFLAGS)"; \
11310 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11311 $(HOST_EXPORTS) \
11312 $(POSTSTAGE1_HOST_EXPORTS) \
11313 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
11314 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
11315 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
11316 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr ; \
11317 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11318 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11319 case $(srcdir) in \
11320 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11321 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11322 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11323 esac; \
11324 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11325 libsrcdir="$$s/mpfr"; \
11326 $(SHELL) $${libsrcdir}/configure \
11327 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11328 --target=${target_alias} $${srcdiroption} \
11329 --with-build-libsubdir=$(HOST_SUBDIR) \
11330 $(STAGE2_CONFIGURE_FLAGS) \
11331 --disable-shared @extra_mpfr_configure_flags@
11332 @endif mpfr-bootstrap
11334 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
11335 maybe-configure-stage3-mpfr:
11336 @if mpfr-bootstrap
11337 maybe-configure-stage3-mpfr: configure-stage3-mpfr
11338 configure-stage3-mpfr:
11339 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11340 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11341 @r=`${PWD_COMMAND}`; export r; \
11342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11343 TFLAGS="$(STAGE3_TFLAGS)"; \
11344 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11345 $(HOST_EXPORTS) \
11346 $(POSTSTAGE1_HOST_EXPORTS) \
11347 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
11348 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
11349 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
11350 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr ; \
11351 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11352 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11353 case $(srcdir) in \
11354 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11355 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11356 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11357 esac; \
11358 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11359 libsrcdir="$$s/mpfr"; \
11360 $(SHELL) $${libsrcdir}/configure \
11361 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11362 --target=${target_alias} $${srcdiroption} \
11363 --with-build-libsubdir=$(HOST_SUBDIR) \
11364 $(STAGE3_CONFIGURE_FLAGS) \
11365 --disable-shared @extra_mpfr_configure_flags@
11366 @endif mpfr-bootstrap
11368 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
11369 maybe-configure-stage4-mpfr:
11370 @if mpfr-bootstrap
11371 maybe-configure-stage4-mpfr: configure-stage4-mpfr
11372 configure-stage4-mpfr:
11373 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11374 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11375 @r=`${PWD_COMMAND}`; export r; \
11376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11377 TFLAGS="$(STAGE4_TFLAGS)"; \
11378 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11379 $(HOST_EXPORTS) \
11380 $(POSTSTAGE1_HOST_EXPORTS) \
11381 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
11382 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
11383 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
11384 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr ; \
11385 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11386 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11387 case $(srcdir) in \
11388 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11389 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11390 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11391 esac; \
11392 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11393 libsrcdir="$$s/mpfr"; \
11394 $(SHELL) $${libsrcdir}/configure \
11395 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11396 --target=${target_alias} $${srcdiroption} \
11397 --with-build-libsubdir=$(HOST_SUBDIR) \
11398 $(STAGE4_CONFIGURE_FLAGS) \
11399 --disable-shared @extra_mpfr_configure_flags@
11400 @endif mpfr-bootstrap
11402 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
11403 maybe-configure-stageprofile-mpfr:
11404 @if mpfr-bootstrap
11405 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
11406 configure-stageprofile-mpfr:
11407 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11408 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11409 @r=`${PWD_COMMAND}`; export r; \
11410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11411 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11412 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11413 $(HOST_EXPORTS) \
11414 $(POSTSTAGE1_HOST_EXPORTS) \
11415 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
11416 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
11417 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
11418 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr ; \
11419 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11420 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11421 case $(srcdir) in \
11422 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11423 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11424 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11425 esac; \
11426 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11427 libsrcdir="$$s/mpfr"; \
11428 $(SHELL) $${libsrcdir}/configure \
11429 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11430 --target=${target_alias} $${srcdiroption} \
11431 --with-build-libsubdir=$(HOST_SUBDIR) \
11432 $(STAGEprofile_CONFIGURE_FLAGS) \
11433 --disable-shared @extra_mpfr_configure_flags@
11434 @endif mpfr-bootstrap
11436 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
11437 maybe-configure-stagefeedback-mpfr:
11438 @if mpfr-bootstrap
11439 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
11440 configure-stagefeedback-mpfr:
11441 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11442 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11443 @r=`${PWD_COMMAND}`; export r; \
11444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11445 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11446 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11447 $(HOST_EXPORTS) \
11448 $(POSTSTAGE1_HOST_EXPORTS) \
11449 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
11450 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
11451 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
11452 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr ; \
11453 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11454 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11455 case $(srcdir) in \
11456 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11457 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11458 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11459 esac; \
11460 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11461 libsrcdir="$$s/mpfr"; \
11462 $(SHELL) $${libsrcdir}/configure \
11463 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11464 --target=${target_alias} $${srcdiroption} \
11465 --with-build-libsubdir=$(HOST_SUBDIR) \
11466 $(STAGEfeedback_CONFIGURE_FLAGS) \
11467 --disable-shared @extra_mpfr_configure_flags@
11468 @endif mpfr-bootstrap
11474 .PHONY: all-mpfr maybe-all-mpfr
11475 maybe-all-mpfr:
11476 @if gcc-bootstrap
11477 all-mpfr: stage_current
11478 @endif gcc-bootstrap
11479 @if mpfr
11480 TARGET-mpfr=all
11481 maybe-all-mpfr: all-mpfr
11482 all-mpfr: configure-mpfr
11483 @r=`${PWD_COMMAND}`; export r; \
11484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11485 $(HOST_EXPORTS) \
11486 (cd $(HOST_SUBDIR)/mpfr && \
11487 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
11488 $(TARGET-mpfr))
11489 @endif mpfr
11493 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
11494 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
11495 maybe-all-stage1-mpfr:
11496 maybe-clean-stage1-mpfr:
11497 @if mpfr-bootstrap
11498 maybe-all-stage1-mpfr: all-stage1-mpfr
11499 all-stage1: all-stage1-mpfr
11500 TARGET-stage1-mpfr = $(TARGET-mpfr)
11501 all-stage1-mpfr: configure-stage1-mpfr
11502 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11503 @r=`${PWD_COMMAND}`; export r; \
11504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11505 TFLAGS="$(STAGE1_TFLAGS)"; \
11506 $(HOST_EXPORTS) \
11507 cd $(HOST_SUBDIR)/mpfr && \
11508 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11509 CFLAGS="$(STAGE1_CFLAGS)" \
11510 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
11511 LIBCFLAGS="$(LIBCFLAGS)" \
11512 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11513 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11514 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11515 $(EXTRA_HOST_FLAGS) \
11516 TFLAGS="$(STAGE1_TFLAGS)" \
11517 $(TARGET-stage1-mpfr)
11519 maybe-clean-stage1-mpfr: clean-stage1-mpfr
11520 clean-stage1: clean-stage1-mpfr
11521 clean-stage1-mpfr:
11522 @if [ $(current_stage) = stage1 ]; then \
11523 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11524 else \
11525 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
11526 $(MAKE) stage1-start; \
11527 fi; \
11528 cd $(HOST_SUBDIR)/mpfr && \
11529 $(MAKE) $(EXTRA_HOST_FLAGS) \
11530 clean
11531 @endif mpfr-bootstrap
11534 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
11535 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
11536 maybe-all-stage2-mpfr:
11537 maybe-clean-stage2-mpfr:
11538 @if mpfr-bootstrap
11539 maybe-all-stage2-mpfr: all-stage2-mpfr
11540 all-stage2: all-stage2-mpfr
11541 TARGET-stage2-mpfr = $(TARGET-mpfr)
11542 all-stage2-mpfr: configure-stage2-mpfr
11543 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11544 @r=`${PWD_COMMAND}`; export r; \
11545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11546 TFLAGS="$(STAGE2_TFLAGS)"; \
11547 $(HOST_EXPORTS) \
11548 $(POSTSTAGE1_HOST_EXPORTS) \
11549 cd $(HOST_SUBDIR)/mpfr && \
11550 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11551 CFLAGS="$(STAGE2_CFLAGS)" \
11552 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
11553 LIBCFLAGS="$(STAGE2_CFLAGS)" \
11554 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11555 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11556 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11557 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11558 TFLAGS="$(STAGE2_TFLAGS)" \
11559 $(TARGET-stage2-mpfr)
11561 maybe-clean-stage2-mpfr: clean-stage2-mpfr
11562 clean-stage2: clean-stage2-mpfr
11563 clean-stage2-mpfr:
11564 @if [ $(current_stage) = stage2 ]; then \
11565 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11566 else \
11567 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
11568 $(MAKE) stage2-start; \
11569 fi; \
11570 cd $(HOST_SUBDIR)/mpfr && \
11571 $(MAKE) $(EXTRA_HOST_FLAGS) \
11572 $(POSTSTAGE1_FLAGS_TO_PASS) \
11573 clean
11574 @endif mpfr-bootstrap
11577 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
11578 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
11579 maybe-all-stage3-mpfr:
11580 maybe-clean-stage3-mpfr:
11581 @if mpfr-bootstrap
11582 maybe-all-stage3-mpfr: all-stage3-mpfr
11583 all-stage3: all-stage3-mpfr
11584 TARGET-stage3-mpfr = $(TARGET-mpfr)
11585 all-stage3-mpfr: configure-stage3-mpfr
11586 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11587 @r=`${PWD_COMMAND}`; export r; \
11588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11589 TFLAGS="$(STAGE3_TFLAGS)"; \
11590 $(HOST_EXPORTS) \
11591 $(POSTSTAGE1_HOST_EXPORTS) \
11592 cd $(HOST_SUBDIR)/mpfr && \
11593 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11594 CFLAGS="$(STAGE3_CFLAGS)" \
11595 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
11596 LIBCFLAGS="$(STAGE3_CFLAGS)" \
11597 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11598 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11599 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11600 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11601 TFLAGS="$(STAGE3_TFLAGS)" \
11602 $(TARGET-stage3-mpfr)
11604 maybe-clean-stage3-mpfr: clean-stage3-mpfr
11605 clean-stage3: clean-stage3-mpfr
11606 clean-stage3-mpfr:
11607 @if [ $(current_stage) = stage3 ]; then \
11608 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11609 else \
11610 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
11611 $(MAKE) stage3-start; \
11612 fi; \
11613 cd $(HOST_SUBDIR)/mpfr && \
11614 $(MAKE) $(EXTRA_HOST_FLAGS) \
11615 $(POSTSTAGE1_FLAGS_TO_PASS) \
11616 clean
11617 @endif mpfr-bootstrap
11620 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
11621 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
11622 maybe-all-stage4-mpfr:
11623 maybe-clean-stage4-mpfr:
11624 @if mpfr-bootstrap
11625 maybe-all-stage4-mpfr: all-stage4-mpfr
11626 all-stage4: all-stage4-mpfr
11627 TARGET-stage4-mpfr = $(TARGET-mpfr)
11628 all-stage4-mpfr: configure-stage4-mpfr
11629 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11630 @r=`${PWD_COMMAND}`; export r; \
11631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11632 TFLAGS="$(STAGE4_TFLAGS)"; \
11633 $(HOST_EXPORTS) \
11634 $(POSTSTAGE1_HOST_EXPORTS) \
11635 cd $(HOST_SUBDIR)/mpfr && \
11636 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11637 CFLAGS="$(STAGE4_CFLAGS)" \
11638 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
11639 LIBCFLAGS="$(STAGE4_CFLAGS)" \
11640 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11641 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11642 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11643 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11644 TFLAGS="$(STAGE4_TFLAGS)" \
11645 $(TARGET-stage4-mpfr)
11647 maybe-clean-stage4-mpfr: clean-stage4-mpfr
11648 clean-stage4: clean-stage4-mpfr
11649 clean-stage4-mpfr:
11650 @if [ $(current_stage) = stage4 ]; then \
11651 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11652 else \
11653 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
11654 $(MAKE) stage4-start; \
11655 fi; \
11656 cd $(HOST_SUBDIR)/mpfr && \
11657 $(MAKE) $(EXTRA_HOST_FLAGS) \
11658 $(POSTSTAGE1_FLAGS_TO_PASS) \
11659 clean
11660 @endif mpfr-bootstrap
11663 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
11664 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
11665 maybe-all-stageprofile-mpfr:
11666 maybe-clean-stageprofile-mpfr:
11667 @if mpfr-bootstrap
11668 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
11669 all-stageprofile: all-stageprofile-mpfr
11670 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
11671 all-stageprofile-mpfr: configure-stageprofile-mpfr
11672 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11673 @r=`${PWD_COMMAND}`; export r; \
11674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11675 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11676 $(HOST_EXPORTS) \
11677 $(POSTSTAGE1_HOST_EXPORTS) \
11678 cd $(HOST_SUBDIR)/mpfr && \
11679 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11680 CFLAGS="$(STAGEprofile_CFLAGS)" \
11681 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
11682 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
11683 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11684 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11685 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11686 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11687 TFLAGS="$(STAGEprofile_TFLAGS)" \
11688 $(TARGET-stageprofile-mpfr)
11690 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
11691 clean-stageprofile: clean-stageprofile-mpfr
11692 clean-stageprofile-mpfr:
11693 @if [ $(current_stage) = stageprofile ]; then \
11694 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11695 else \
11696 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
11697 $(MAKE) stageprofile-start; \
11698 fi; \
11699 cd $(HOST_SUBDIR)/mpfr && \
11700 $(MAKE) $(EXTRA_HOST_FLAGS) \
11701 $(POSTSTAGE1_FLAGS_TO_PASS) \
11702 clean
11703 @endif mpfr-bootstrap
11706 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
11707 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
11708 maybe-all-stagefeedback-mpfr:
11709 maybe-clean-stagefeedback-mpfr:
11710 @if mpfr-bootstrap
11711 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
11712 all-stagefeedback: all-stagefeedback-mpfr
11713 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
11714 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
11715 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11716 @r=`${PWD_COMMAND}`; export r; \
11717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11718 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11719 $(HOST_EXPORTS) \
11720 $(POSTSTAGE1_HOST_EXPORTS) \
11721 cd $(HOST_SUBDIR)/mpfr && \
11722 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11723 CFLAGS="$(STAGEfeedback_CFLAGS)" \
11724 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
11725 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
11726 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11727 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11728 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11729 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11730 TFLAGS="$(STAGEfeedback_TFLAGS)" \
11731 $(TARGET-stagefeedback-mpfr)
11733 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
11734 clean-stagefeedback: clean-stagefeedback-mpfr
11735 clean-stagefeedback-mpfr:
11736 @if [ $(current_stage) = stagefeedback ]; then \
11737 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11738 else \
11739 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
11740 $(MAKE) stagefeedback-start; \
11741 fi; \
11742 cd $(HOST_SUBDIR)/mpfr && \
11743 $(MAKE) $(EXTRA_HOST_FLAGS) \
11744 $(POSTSTAGE1_FLAGS_TO_PASS) \
11745 clean
11746 @endif mpfr-bootstrap
11752 .PHONY: check-mpfr maybe-check-mpfr
11753 maybe-check-mpfr:
11754 @if mpfr
11755 maybe-check-mpfr: check-mpfr
11757 check-mpfr:
11758 @: $(MAKE); $(unstage)
11759 @r=`${PWD_COMMAND}`; export r; \
11760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11761 $(HOST_EXPORTS) \
11762 (cd $(HOST_SUBDIR)/mpfr && \
11763 $(MAKE) $(FLAGS_TO_PASS) check)
11765 @endif mpfr
11767 .PHONY: install-mpfr maybe-install-mpfr
11768 maybe-install-mpfr:
11769 @if mpfr
11770 maybe-install-mpfr: install-mpfr
11772 install-mpfr:
11774 @endif mpfr
11776 .PHONY: install-strip-mpfr maybe-install-strip-mpfr
11777 maybe-install-strip-mpfr:
11778 @if mpfr
11779 maybe-install-strip-mpfr: install-strip-mpfr
11781 install-strip-mpfr:
11783 @endif mpfr
11785 # Other targets (info, dvi, pdf, etc.)
11787 .PHONY: maybe-info-mpfr info-mpfr
11788 maybe-info-mpfr:
11789 @if mpfr
11790 maybe-info-mpfr: info-mpfr
11792 info-mpfr: \
11793 configure-mpfr
11794 @[ -f ./mpfr/Makefile ] || exit 0; \
11795 r=`${PWD_COMMAND}`; export r; \
11796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11797 $(HOST_EXPORTS) \
11798 for flag in $(EXTRA_HOST_FLAGS) ; do \
11799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11800 done; \
11801 echo "Doing info in mpfr" ; \
11802 (cd $(HOST_SUBDIR)/mpfr && \
11803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11805 "RANLIB=$${RANLIB}" \
11806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11807 info) \
11808 || exit 1
11810 @endif mpfr
11812 .PHONY: maybe-dvi-mpfr dvi-mpfr
11813 maybe-dvi-mpfr:
11814 @if mpfr
11815 maybe-dvi-mpfr: dvi-mpfr
11817 dvi-mpfr: \
11818 configure-mpfr
11819 @[ -f ./mpfr/Makefile ] || exit 0; \
11820 r=`${PWD_COMMAND}`; export r; \
11821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11822 $(HOST_EXPORTS) \
11823 for flag in $(EXTRA_HOST_FLAGS) ; do \
11824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11825 done; \
11826 echo "Doing dvi in mpfr" ; \
11827 (cd $(HOST_SUBDIR)/mpfr && \
11828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11830 "RANLIB=$${RANLIB}" \
11831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11832 dvi) \
11833 || exit 1
11835 @endif mpfr
11837 .PHONY: maybe-pdf-mpfr pdf-mpfr
11838 maybe-pdf-mpfr:
11839 @if mpfr
11840 maybe-pdf-mpfr: pdf-mpfr
11842 pdf-mpfr: \
11843 configure-mpfr
11844 @[ -f ./mpfr/Makefile ] || exit 0; \
11845 r=`${PWD_COMMAND}`; export r; \
11846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11847 $(HOST_EXPORTS) \
11848 for flag in $(EXTRA_HOST_FLAGS) ; do \
11849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11850 done; \
11851 echo "Doing pdf in mpfr" ; \
11852 (cd $(HOST_SUBDIR)/mpfr && \
11853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11855 "RANLIB=$${RANLIB}" \
11856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11857 pdf) \
11858 || exit 1
11860 @endif mpfr
11862 .PHONY: maybe-html-mpfr html-mpfr
11863 maybe-html-mpfr:
11864 @if mpfr
11865 maybe-html-mpfr: html-mpfr
11867 html-mpfr: \
11868 configure-mpfr
11869 @[ -f ./mpfr/Makefile ] || exit 0; \
11870 r=`${PWD_COMMAND}`; export r; \
11871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11872 $(HOST_EXPORTS) \
11873 for flag in $(EXTRA_HOST_FLAGS) ; do \
11874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11875 done; \
11876 echo "Doing html in mpfr" ; \
11877 (cd $(HOST_SUBDIR)/mpfr && \
11878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11880 "RANLIB=$${RANLIB}" \
11881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11882 html) \
11883 || exit 1
11885 @endif mpfr
11887 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
11888 maybe-TAGS-mpfr:
11889 @if mpfr
11890 maybe-TAGS-mpfr: TAGS-mpfr
11892 TAGS-mpfr: \
11893 configure-mpfr
11894 @[ -f ./mpfr/Makefile ] || exit 0; \
11895 r=`${PWD_COMMAND}`; export r; \
11896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11897 $(HOST_EXPORTS) \
11898 for flag in $(EXTRA_HOST_FLAGS) ; do \
11899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11900 done; \
11901 echo "Doing TAGS in mpfr" ; \
11902 (cd $(HOST_SUBDIR)/mpfr && \
11903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11905 "RANLIB=$${RANLIB}" \
11906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11907 TAGS) \
11908 || exit 1
11910 @endif mpfr
11912 .PHONY: maybe-install-info-mpfr install-info-mpfr
11913 maybe-install-info-mpfr:
11914 @if mpfr
11915 maybe-install-info-mpfr: install-info-mpfr
11917 install-info-mpfr: \
11918 configure-mpfr \
11919 info-mpfr
11920 @[ -f ./mpfr/Makefile ] || exit 0; \
11921 r=`${PWD_COMMAND}`; export r; \
11922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11923 $(HOST_EXPORTS) \
11924 for flag in $(EXTRA_HOST_FLAGS) ; do \
11925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11926 done; \
11927 echo "Doing install-info in mpfr" ; \
11928 (cd $(HOST_SUBDIR)/mpfr && \
11929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11931 "RANLIB=$${RANLIB}" \
11932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11933 install-info) \
11934 || exit 1
11936 @endif mpfr
11938 .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr
11939 maybe-install-pdf-mpfr:
11940 @if mpfr
11941 maybe-install-pdf-mpfr: install-pdf-mpfr
11943 install-pdf-mpfr: \
11944 configure-mpfr \
11945 pdf-mpfr
11946 @[ -f ./mpfr/Makefile ] || exit 0; \
11947 r=`${PWD_COMMAND}`; export r; \
11948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11949 $(HOST_EXPORTS) \
11950 for flag in $(EXTRA_HOST_FLAGS) ; do \
11951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11952 done; \
11953 echo "Doing install-pdf in mpfr" ; \
11954 (cd $(HOST_SUBDIR)/mpfr && \
11955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11957 "RANLIB=$${RANLIB}" \
11958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11959 install-pdf) \
11960 || exit 1
11962 @endif mpfr
11964 .PHONY: maybe-install-html-mpfr install-html-mpfr
11965 maybe-install-html-mpfr:
11966 @if mpfr
11967 maybe-install-html-mpfr: install-html-mpfr
11969 install-html-mpfr: \
11970 configure-mpfr \
11971 html-mpfr
11972 @[ -f ./mpfr/Makefile ] || exit 0; \
11973 r=`${PWD_COMMAND}`; export r; \
11974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11975 $(HOST_EXPORTS) \
11976 for flag in $(EXTRA_HOST_FLAGS) ; do \
11977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11978 done; \
11979 echo "Doing install-html in mpfr" ; \
11980 (cd $(HOST_SUBDIR)/mpfr && \
11981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11983 "RANLIB=$${RANLIB}" \
11984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11985 install-html) \
11986 || exit 1
11988 @endif mpfr
11990 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
11991 maybe-installcheck-mpfr:
11992 @if mpfr
11993 maybe-installcheck-mpfr: installcheck-mpfr
11995 installcheck-mpfr: \
11996 configure-mpfr
11997 @[ -f ./mpfr/Makefile ] || exit 0; \
11998 r=`${PWD_COMMAND}`; export r; \
11999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12000 $(HOST_EXPORTS) \
12001 for flag in $(EXTRA_HOST_FLAGS) ; do \
12002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12003 done; \
12004 echo "Doing installcheck in mpfr" ; \
12005 (cd $(HOST_SUBDIR)/mpfr && \
12006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12008 "RANLIB=$${RANLIB}" \
12009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12010 installcheck) \
12011 || exit 1
12013 @endif mpfr
12015 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
12016 maybe-mostlyclean-mpfr:
12017 @if mpfr
12018 maybe-mostlyclean-mpfr: mostlyclean-mpfr
12020 mostlyclean-mpfr:
12021 @[ -f ./mpfr/Makefile ] || exit 0; \
12022 r=`${PWD_COMMAND}`; export r; \
12023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12024 $(HOST_EXPORTS) \
12025 for flag in $(EXTRA_HOST_FLAGS) ; do \
12026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12027 done; \
12028 echo "Doing mostlyclean in mpfr" ; \
12029 (cd $(HOST_SUBDIR)/mpfr && \
12030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12032 "RANLIB=$${RANLIB}" \
12033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12034 mostlyclean) \
12035 || exit 1
12037 @endif mpfr
12039 .PHONY: maybe-clean-mpfr clean-mpfr
12040 maybe-clean-mpfr:
12041 @if mpfr
12042 maybe-clean-mpfr: clean-mpfr
12044 clean-mpfr:
12045 @[ -f ./mpfr/Makefile ] || exit 0; \
12046 r=`${PWD_COMMAND}`; export r; \
12047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12048 $(HOST_EXPORTS) \
12049 for flag in $(EXTRA_HOST_FLAGS) ; do \
12050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12051 done; \
12052 echo "Doing clean in mpfr" ; \
12053 (cd $(HOST_SUBDIR)/mpfr && \
12054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12056 "RANLIB=$${RANLIB}" \
12057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12058 clean) \
12059 || exit 1
12061 @endif mpfr
12063 .PHONY: maybe-distclean-mpfr distclean-mpfr
12064 maybe-distclean-mpfr:
12065 @if mpfr
12066 maybe-distclean-mpfr: distclean-mpfr
12068 distclean-mpfr:
12069 @[ -f ./mpfr/Makefile ] || exit 0; \
12070 r=`${PWD_COMMAND}`; export r; \
12071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12072 $(HOST_EXPORTS) \
12073 for flag in $(EXTRA_HOST_FLAGS) ; do \
12074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12075 done; \
12076 echo "Doing distclean in mpfr" ; \
12077 (cd $(HOST_SUBDIR)/mpfr && \
12078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12080 "RANLIB=$${RANLIB}" \
12081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12082 distclean) \
12083 || exit 1
12085 @endif mpfr
12087 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
12088 maybe-maintainer-clean-mpfr:
12089 @if mpfr
12090 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
12092 maintainer-clean-mpfr:
12093 @[ -f ./mpfr/Makefile ] || exit 0; \
12094 r=`${PWD_COMMAND}`; export r; \
12095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12096 $(HOST_EXPORTS) \
12097 for flag in $(EXTRA_HOST_FLAGS) ; do \
12098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12099 done; \
12100 echo "Doing maintainer-clean in mpfr" ; \
12101 (cd $(HOST_SUBDIR)/mpfr && \
12102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12104 "RANLIB=$${RANLIB}" \
12105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12106 maintainer-clean) \
12107 || exit 1
12109 @endif mpfr
12113 .PHONY: configure-mpc maybe-configure-mpc
12114 maybe-configure-mpc:
12115 @if gcc-bootstrap
12116 configure-mpc: stage_current
12117 @endif gcc-bootstrap
12118 @if mpc
12119 maybe-configure-mpc: configure-mpc
12120 configure-mpc:
12121 @r=`${PWD_COMMAND}`; export r; \
12122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12123 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12124 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12125 $(HOST_EXPORTS) \
12126 echo Configuring in $(HOST_SUBDIR)/mpc; \
12127 cd "$(HOST_SUBDIR)/mpc" || exit 1; \
12128 case $(srcdir) in \
12129 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12130 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12131 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12132 esac; \
12133 srcdiroption="--srcdir=$${topdir}/mpc"; \
12134 libsrcdir="$$s/mpc"; \
12135 $(SHELL) $${libsrcdir}/configure \
12136 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12137 --target=${target_alias} $${srcdiroption} --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ \
12138 || exit 1
12139 @endif mpc
12143 .PHONY: configure-stage1-mpc maybe-configure-stage1-mpc
12144 maybe-configure-stage1-mpc:
12145 @if mpc-bootstrap
12146 maybe-configure-stage1-mpc: configure-stage1-mpc
12147 configure-stage1-mpc:
12148 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12149 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12150 @r=`${PWD_COMMAND}`; export r; \
12151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12152 TFLAGS="$(STAGE1_TFLAGS)"; \
12153 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12154 $(HOST_EXPORTS) \
12155 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
12156 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
12157 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
12158 echo Configuring stage 1 in $(HOST_SUBDIR)/mpc ; \
12159 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12160 cd $(HOST_SUBDIR)/mpc || exit 1; \
12161 case $(srcdir) in \
12162 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12163 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12164 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12165 esac; \
12166 srcdiroption="--srcdir=$${topdir}/mpc"; \
12167 libsrcdir="$$s/mpc"; \
12168 $(SHELL) $${libsrcdir}/configure \
12169 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12170 --target=${target_alias} $${srcdiroption} \
12171 $(STAGE1_CONFIGURE_FLAGS) \
12172 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12173 @endif mpc-bootstrap
12175 .PHONY: configure-stage2-mpc maybe-configure-stage2-mpc
12176 maybe-configure-stage2-mpc:
12177 @if mpc-bootstrap
12178 maybe-configure-stage2-mpc: configure-stage2-mpc
12179 configure-stage2-mpc:
12180 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12181 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12182 @r=`${PWD_COMMAND}`; export r; \
12183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12184 TFLAGS="$(STAGE2_TFLAGS)"; \
12185 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12186 $(HOST_EXPORTS) \
12187 $(POSTSTAGE1_HOST_EXPORTS) \
12188 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
12189 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
12190 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
12191 echo Configuring stage 2 in $(HOST_SUBDIR)/mpc ; \
12192 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12193 cd $(HOST_SUBDIR)/mpc || exit 1; \
12194 case $(srcdir) in \
12195 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12196 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12197 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12198 esac; \
12199 srcdiroption="--srcdir=$${topdir}/mpc"; \
12200 libsrcdir="$$s/mpc"; \
12201 $(SHELL) $${libsrcdir}/configure \
12202 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12203 --target=${target_alias} $${srcdiroption} \
12204 --with-build-libsubdir=$(HOST_SUBDIR) \
12205 $(STAGE2_CONFIGURE_FLAGS) \
12206 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12207 @endif mpc-bootstrap
12209 .PHONY: configure-stage3-mpc maybe-configure-stage3-mpc
12210 maybe-configure-stage3-mpc:
12211 @if mpc-bootstrap
12212 maybe-configure-stage3-mpc: configure-stage3-mpc
12213 configure-stage3-mpc:
12214 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12215 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12216 @r=`${PWD_COMMAND}`; export r; \
12217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12218 TFLAGS="$(STAGE3_TFLAGS)"; \
12219 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12220 $(HOST_EXPORTS) \
12221 $(POSTSTAGE1_HOST_EXPORTS) \
12222 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
12223 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
12224 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
12225 echo Configuring stage 3 in $(HOST_SUBDIR)/mpc ; \
12226 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12227 cd $(HOST_SUBDIR)/mpc || exit 1; \
12228 case $(srcdir) in \
12229 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12230 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12231 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12232 esac; \
12233 srcdiroption="--srcdir=$${topdir}/mpc"; \
12234 libsrcdir="$$s/mpc"; \
12235 $(SHELL) $${libsrcdir}/configure \
12236 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12237 --target=${target_alias} $${srcdiroption} \
12238 --with-build-libsubdir=$(HOST_SUBDIR) \
12239 $(STAGE3_CONFIGURE_FLAGS) \
12240 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12241 @endif mpc-bootstrap
12243 .PHONY: configure-stage4-mpc maybe-configure-stage4-mpc
12244 maybe-configure-stage4-mpc:
12245 @if mpc-bootstrap
12246 maybe-configure-stage4-mpc: configure-stage4-mpc
12247 configure-stage4-mpc:
12248 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12249 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12250 @r=`${PWD_COMMAND}`; export r; \
12251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12252 TFLAGS="$(STAGE4_TFLAGS)"; \
12253 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12254 $(HOST_EXPORTS) \
12255 $(POSTSTAGE1_HOST_EXPORTS) \
12256 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
12257 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
12258 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
12259 echo Configuring stage 4 in $(HOST_SUBDIR)/mpc ; \
12260 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12261 cd $(HOST_SUBDIR)/mpc || exit 1; \
12262 case $(srcdir) in \
12263 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12264 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12265 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12266 esac; \
12267 srcdiroption="--srcdir=$${topdir}/mpc"; \
12268 libsrcdir="$$s/mpc"; \
12269 $(SHELL) $${libsrcdir}/configure \
12270 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12271 --target=${target_alias} $${srcdiroption} \
12272 --with-build-libsubdir=$(HOST_SUBDIR) \
12273 $(STAGE4_CONFIGURE_FLAGS) \
12274 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12275 @endif mpc-bootstrap
12277 .PHONY: configure-stageprofile-mpc maybe-configure-stageprofile-mpc
12278 maybe-configure-stageprofile-mpc:
12279 @if mpc-bootstrap
12280 maybe-configure-stageprofile-mpc: configure-stageprofile-mpc
12281 configure-stageprofile-mpc:
12282 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12283 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12284 @r=`${PWD_COMMAND}`; export r; \
12285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12286 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12287 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12288 $(HOST_EXPORTS) \
12289 $(POSTSTAGE1_HOST_EXPORTS) \
12290 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
12291 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
12292 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
12293 echo Configuring stage profile in $(HOST_SUBDIR)/mpc ; \
12294 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12295 cd $(HOST_SUBDIR)/mpc || exit 1; \
12296 case $(srcdir) in \
12297 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12298 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12299 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12300 esac; \
12301 srcdiroption="--srcdir=$${topdir}/mpc"; \
12302 libsrcdir="$$s/mpc"; \
12303 $(SHELL) $${libsrcdir}/configure \
12304 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12305 --target=${target_alias} $${srcdiroption} \
12306 --with-build-libsubdir=$(HOST_SUBDIR) \
12307 $(STAGEprofile_CONFIGURE_FLAGS) \
12308 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12309 @endif mpc-bootstrap
12311 .PHONY: configure-stagefeedback-mpc maybe-configure-stagefeedback-mpc
12312 maybe-configure-stagefeedback-mpc:
12313 @if mpc-bootstrap
12314 maybe-configure-stagefeedback-mpc: configure-stagefeedback-mpc
12315 configure-stagefeedback-mpc:
12316 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12317 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12318 @r=`${PWD_COMMAND}`; export r; \
12319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12320 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12321 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12322 $(HOST_EXPORTS) \
12323 $(POSTSTAGE1_HOST_EXPORTS) \
12324 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
12325 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
12326 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
12327 echo Configuring stage feedback in $(HOST_SUBDIR)/mpc ; \
12328 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12329 cd $(HOST_SUBDIR)/mpc || exit 1; \
12330 case $(srcdir) in \
12331 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12332 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12333 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12334 esac; \
12335 srcdiroption="--srcdir=$${topdir}/mpc"; \
12336 libsrcdir="$$s/mpc"; \
12337 $(SHELL) $${libsrcdir}/configure \
12338 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12339 --target=${target_alias} $${srcdiroption} \
12340 --with-build-libsubdir=$(HOST_SUBDIR) \
12341 $(STAGEfeedback_CONFIGURE_FLAGS) \
12342 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12343 @endif mpc-bootstrap
12349 .PHONY: all-mpc maybe-all-mpc
12350 maybe-all-mpc:
12351 @if gcc-bootstrap
12352 all-mpc: stage_current
12353 @endif gcc-bootstrap
12354 @if mpc
12355 TARGET-mpc=all
12356 maybe-all-mpc: all-mpc
12357 all-mpc: configure-mpc
12358 @r=`${PWD_COMMAND}`; export r; \
12359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12360 $(HOST_EXPORTS) \
12361 (cd $(HOST_SUBDIR)/mpc && \
12362 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
12363 $(TARGET-mpc))
12364 @endif mpc
12368 .PHONY: all-stage1-mpc maybe-all-stage1-mpc
12369 .PHONY: clean-stage1-mpc maybe-clean-stage1-mpc
12370 maybe-all-stage1-mpc:
12371 maybe-clean-stage1-mpc:
12372 @if mpc-bootstrap
12373 maybe-all-stage1-mpc: all-stage1-mpc
12374 all-stage1: all-stage1-mpc
12375 TARGET-stage1-mpc = $(TARGET-mpc)
12376 all-stage1-mpc: configure-stage1-mpc
12377 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12378 @r=`${PWD_COMMAND}`; export r; \
12379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12380 TFLAGS="$(STAGE1_TFLAGS)"; \
12381 $(HOST_EXPORTS) \
12382 cd $(HOST_SUBDIR)/mpc && \
12383 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12384 CFLAGS="$(STAGE1_CFLAGS)" \
12385 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
12386 LIBCFLAGS="$(LIBCFLAGS)" \
12387 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12388 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12389 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12390 $(EXTRA_HOST_FLAGS) \
12391 TFLAGS="$(STAGE1_TFLAGS)" \
12392 $(TARGET-stage1-mpc)
12394 maybe-clean-stage1-mpc: clean-stage1-mpc
12395 clean-stage1: clean-stage1-mpc
12396 clean-stage1-mpc:
12397 @if [ $(current_stage) = stage1 ]; then \
12398 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12399 else \
12400 [ -f $(HOST_SUBDIR)/stage1-mpc/Makefile ] || exit 0; \
12401 $(MAKE) stage1-start; \
12402 fi; \
12403 cd $(HOST_SUBDIR)/mpc && \
12404 $(MAKE) $(EXTRA_HOST_FLAGS) \
12405 clean
12406 @endif mpc-bootstrap
12409 .PHONY: all-stage2-mpc maybe-all-stage2-mpc
12410 .PHONY: clean-stage2-mpc maybe-clean-stage2-mpc
12411 maybe-all-stage2-mpc:
12412 maybe-clean-stage2-mpc:
12413 @if mpc-bootstrap
12414 maybe-all-stage2-mpc: all-stage2-mpc
12415 all-stage2: all-stage2-mpc
12416 TARGET-stage2-mpc = $(TARGET-mpc)
12417 all-stage2-mpc: configure-stage2-mpc
12418 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12419 @r=`${PWD_COMMAND}`; export r; \
12420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12421 TFLAGS="$(STAGE2_TFLAGS)"; \
12422 $(HOST_EXPORTS) \
12423 $(POSTSTAGE1_HOST_EXPORTS) \
12424 cd $(HOST_SUBDIR)/mpc && \
12425 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12426 CFLAGS="$(STAGE2_CFLAGS)" \
12427 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
12428 LIBCFLAGS="$(STAGE2_CFLAGS)" \
12429 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12430 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12431 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12432 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12433 TFLAGS="$(STAGE2_TFLAGS)" \
12434 $(TARGET-stage2-mpc)
12436 maybe-clean-stage2-mpc: clean-stage2-mpc
12437 clean-stage2: clean-stage2-mpc
12438 clean-stage2-mpc:
12439 @if [ $(current_stage) = stage2 ]; then \
12440 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12441 else \
12442 [ -f $(HOST_SUBDIR)/stage2-mpc/Makefile ] || exit 0; \
12443 $(MAKE) stage2-start; \
12444 fi; \
12445 cd $(HOST_SUBDIR)/mpc && \
12446 $(MAKE) $(EXTRA_HOST_FLAGS) \
12447 $(POSTSTAGE1_FLAGS_TO_PASS) \
12448 clean
12449 @endif mpc-bootstrap
12452 .PHONY: all-stage3-mpc maybe-all-stage3-mpc
12453 .PHONY: clean-stage3-mpc maybe-clean-stage3-mpc
12454 maybe-all-stage3-mpc:
12455 maybe-clean-stage3-mpc:
12456 @if mpc-bootstrap
12457 maybe-all-stage3-mpc: all-stage3-mpc
12458 all-stage3: all-stage3-mpc
12459 TARGET-stage3-mpc = $(TARGET-mpc)
12460 all-stage3-mpc: configure-stage3-mpc
12461 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12462 @r=`${PWD_COMMAND}`; export r; \
12463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12464 TFLAGS="$(STAGE3_TFLAGS)"; \
12465 $(HOST_EXPORTS) \
12466 $(POSTSTAGE1_HOST_EXPORTS) \
12467 cd $(HOST_SUBDIR)/mpc && \
12468 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12469 CFLAGS="$(STAGE3_CFLAGS)" \
12470 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
12471 LIBCFLAGS="$(STAGE3_CFLAGS)" \
12472 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12473 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12474 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12475 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12476 TFLAGS="$(STAGE3_TFLAGS)" \
12477 $(TARGET-stage3-mpc)
12479 maybe-clean-stage3-mpc: clean-stage3-mpc
12480 clean-stage3: clean-stage3-mpc
12481 clean-stage3-mpc:
12482 @if [ $(current_stage) = stage3 ]; then \
12483 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12484 else \
12485 [ -f $(HOST_SUBDIR)/stage3-mpc/Makefile ] || exit 0; \
12486 $(MAKE) stage3-start; \
12487 fi; \
12488 cd $(HOST_SUBDIR)/mpc && \
12489 $(MAKE) $(EXTRA_HOST_FLAGS) \
12490 $(POSTSTAGE1_FLAGS_TO_PASS) \
12491 clean
12492 @endif mpc-bootstrap
12495 .PHONY: all-stage4-mpc maybe-all-stage4-mpc
12496 .PHONY: clean-stage4-mpc maybe-clean-stage4-mpc
12497 maybe-all-stage4-mpc:
12498 maybe-clean-stage4-mpc:
12499 @if mpc-bootstrap
12500 maybe-all-stage4-mpc: all-stage4-mpc
12501 all-stage4: all-stage4-mpc
12502 TARGET-stage4-mpc = $(TARGET-mpc)
12503 all-stage4-mpc: configure-stage4-mpc
12504 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12505 @r=`${PWD_COMMAND}`; export r; \
12506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12507 TFLAGS="$(STAGE4_TFLAGS)"; \
12508 $(HOST_EXPORTS) \
12509 $(POSTSTAGE1_HOST_EXPORTS) \
12510 cd $(HOST_SUBDIR)/mpc && \
12511 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12512 CFLAGS="$(STAGE4_CFLAGS)" \
12513 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
12514 LIBCFLAGS="$(STAGE4_CFLAGS)" \
12515 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12516 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12517 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12518 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12519 TFLAGS="$(STAGE4_TFLAGS)" \
12520 $(TARGET-stage4-mpc)
12522 maybe-clean-stage4-mpc: clean-stage4-mpc
12523 clean-stage4: clean-stage4-mpc
12524 clean-stage4-mpc:
12525 @if [ $(current_stage) = stage4 ]; then \
12526 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12527 else \
12528 [ -f $(HOST_SUBDIR)/stage4-mpc/Makefile ] || exit 0; \
12529 $(MAKE) stage4-start; \
12530 fi; \
12531 cd $(HOST_SUBDIR)/mpc && \
12532 $(MAKE) $(EXTRA_HOST_FLAGS) \
12533 $(POSTSTAGE1_FLAGS_TO_PASS) \
12534 clean
12535 @endif mpc-bootstrap
12538 .PHONY: all-stageprofile-mpc maybe-all-stageprofile-mpc
12539 .PHONY: clean-stageprofile-mpc maybe-clean-stageprofile-mpc
12540 maybe-all-stageprofile-mpc:
12541 maybe-clean-stageprofile-mpc:
12542 @if mpc-bootstrap
12543 maybe-all-stageprofile-mpc: all-stageprofile-mpc
12544 all-stageprofile: all-stageprofile-mpc
12545 TARGET-stageprofile-mpc = $(TARGET-mpc)
12546 all-stageprofile-mpc: configure-stageprofile-mpc
12547 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12548 @r=`${PWD_COMMAND}`; export r; \
12549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12550 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12551 $(HOST_EXPORTS) \
12552 $(POSTSTAGE1_HOST_EXPORTS) \
12553 cd $(HOST_SUBDIR)/mpc && \
12554 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12555 CFLAGS="$(STAGEprofile_CFLAGS)" \
12556 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
12557 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
12558 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12559 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12560 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12561 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12562 TFLAGS="$(STAGEprofile_TFLAGS)" \
12563 $(TARGET-stageprofile-mpc)
12565 maybe-clean-stageprofile-mpc: clean-stageprofile-mpc
12566 clean-stageprofile: clean-stageprofile-mpc
12567 clean-stageprofile-mpc:
12568 @if [ $(current_stage) = stageprofile ]; then \
12569 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12570 else \
12571 [ -f $(HOST_SUBDIR)/stageprofile-mpc/Makefile ] || exit 0; \
12572 $(MAKE) stageprofile-start; \
12573 fi; \
12574 cd $(HOST_SUBDIR)/mpc && \
12575 $(MAKE) $(EXTRA_HOST_FLAGS) \
12576 $(POSTSTAGE1_FLAGS_TO_PASS) \
12577 clean
12578 @endif mpc-bootstrap
12581 .PHONY: all-stagefeedback-mpc maybe-all-stagefeedback-mpc
12582 .PHONY: clean-stagefeedback-mpc maybe-clean-stagefeedback-mpc
12583 maybe-all-stagefeedback-mpc:
12584 maybe-clean-stagefeedback-mpc:
12585 @if mpc-bootstrap
12586 maybe-all-stagefeedback-mpc: all-stagefeedback-mpc
12587 all-stagefeedback: all-stagefeedback-mpc
12588 TARGET-stagefeedback-mpc = $(TARGET-mpc)
12589 all-stagefeedback-mpc: configure-stagefeedback-mpc
12590 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12591 @r=`${PWD_COMMAND}`; export r; \
12592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12593 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12594 $(HOST_EXPORTS) \
12595 $(POSTSTAGE1_HOST_EXPORTS) \
12596 cd $(HOST_SUBDIR)/mpc && \
12597 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12598 CFLAGS="$(STAGEfeedback_CFLAGS)" \
12599 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
12600 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
12601 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12602 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12603 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12604 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12605 TFLAGS="$(STAGEfeedback_TFLAGS)" \
12606 $(TARGET-stagefeedback-mpc)
12608 maybe-clean-stagefeedback-mpc: clean-stagefeedback-mpc
12609 clean-stagefeedback: clean-stagefeedback-mpc
12610 clean-stagefeedback-mpc:
12611 @if [ $(current_stage) = stagefeedback ]; then \
12612 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12613 else \
12614 [ -f $(HOST_SUBDIR)/stagefeedback-mpc/Makefile ] || exit 0; \
12615 $(MAKE) stagefeedback-start; \
12616 fi; \
12617 cd $(HOST_SUBDIR)/mpc && \
12618 $(MAKE) $(EXTRA_HOST_FLAGS) \
12619 $(POSTSTAGE1_FLAGS_TO_PASS) \
12620 clean
12621 @endif mpc-bootstrap
12627 .PHONY: check-mpc maybe-check-mpc
12628 maybe-check-mpc:
12629 @if mpc
12630 maybe-check-mpc: check-mpc
12632 check-mpc:
12633 @: $(MAKE); $(unstage)
12634 @r=`${PWD_COMMAND}`; export r; \
12635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12636 $(HOST_EXPORTS) \
12637 (cd $(HOST_SUBDIR)/mpc && \
12638 $(MAKE) $(FLAGS_TO_PASS) check)
12640 @endif mpc
12642 .PHONY: install-mpc maybe-install-mpc
12643 maybe-install-mpc:
12644 @if mpc
12645 maybe-install-mpc: install-mpc
12647 install-mpc:
12649 @endif mpc
12651 .PHONY: install-strip-mpc maybe-install-strip-mpc
12652 maybe-install-strip-mpc:
12653 @if mpc
12654 maybe-install-strip-mpc: install-strip-mpc
12656 install-strip-mpc:
12658 @endif mpc
12660 # Other targets (info, dvi, pdf, etc.)
12662 .PHONY: maybe-info-mpc info-mpc
12663 maybe-info-mpc:
12664 @if mpc
12665 maybe-info-mpc: info-mpc
12667 info-mpc: \
12668 configure-mpc
12669 @[ -f ./mpc/Makefile ] || exit 0; \
12670 r=`${PWD_COMMAND}`; export r; \
12671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12672 $(HOST_EXPORTS) \
12673 for flag in $(EXTRA_HOST_FLAGS) ; do \
12674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12675 done; \
12676 echo "Doing info in mpc" ; \
12677 (cd $(HOST_SUBDIR)/mpc && \
12678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12680 "RANLIB=$${RANLIB}" \
12681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12682 info) \
12683 || exit 1
12685 @endif mpc
12687 .PHONY: maybe-dvi-mpc dvi-mpc
12688 maybe-dvi-mpc:
12689 @if mpc
12690 maybe-dvi-mpc: dvi-mpc
12692 dvi-mpc: \
12693 configure-mpc
12694 @[ -f ./mpc/Makefile ] || exit 0; \
12695 r=`${PWD_COMMAND}`; export r; \
12696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12697 $(HOST_EXPORTS) \
12698 for flag in $(EXTRA_HOST_FLAGS) ; do \
12699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12700 done; \
12701 echo "Doing dvi in mpc" ; \
12702 (cd $(HOST_SUBDIR)/mpc && \
12703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12705 "RANLIB=$${RANLIB}" \
12706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12707 dvi) \
12708 || exit 1
12710 @endif mpc
12712 .PHONY: maybe-pdf-mpc pdf-mpc
12713 maybe-pdf-mpc:
12714 @if mpc
12715 maybe-pdf-mpc: pdf-mpc
12717 pdf-mpc: \
12718 configure-mpc
12719 @[ -f ./mpc/Makefile ] || exit 0; \
12720 r=`${PWD_COMMAND}`; export r; \
12721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12722 $(HOST_EXPORTS) \
12723 for flag in $(EXTRA_HOST_FLAGS) ; do \
12724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12725 done; \
12726 echo "Doing pdf in mpc" ; \
12727 (cd $(HOST_SUBDIR)/mpc && \
12728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12730 "RANLIB=$${RANLIB}" \
12731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12732 pdf) \
12733 || exit 1
12735 @endif mpc
12737 .PHONY: maybe-html-mpc html-mpc
12738 maybe-html-mpc:
12739 @if mpc
12740 maybe-html-mpc: html-mpc
12742 html-mpc: \
12743 configure-mpc
12744 @[ -f ./mpc/Makefile ] || exit 0; \
12745 r=`${PWD_COMMAND}`; export r; \
12746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12747 $(HOST_EXPORTS) \
12748 for flag in $(EXTRA_HOST_FLAGS) ; do \
12749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12750 done; \
12751 echo "Doing html in mpc" ; \
12752 (cd $(HOST_SUBDIR)/mpc && \
12753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12755 "RANLIB=$${RANLIB}" \
12756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12757 html) \
12758 || exit 1
12760 @endif mpc
12762 .PHONY: maybe-TAGS-mpc TAGS-mpc
12763 maybe-TAGS-mpc:
12764 @if mpc
12765 maybe-TAGS-mpc: TAGS-mpc
12767 TAGS-mpc: \
12768 configure-mpc
12769 @[ -f ./mpc/Makefile ] || exit 0; \
12770 r=`${PWD_COMMAND}`; export r; \
12771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12772 $(HOST_EXPORTS) \
12773 for flag in $(EXTRA_HOST_FLAGS) ; do \
12774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12775 done; \
12776 echo "Doing TAGS in mpc" ; \
12777 (cd $(HOST_SUBDIR)/mpc && \
12778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12780 "RANLIB=$${RANLIB}" \
12781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12782 TAGS) \
12783 || exit 1
12785 @endif mpc
12787 .PHONY: maybe-install-info-mpc install-info-mpc
12788 maybe-install-info-mpc:
12789 @if mpc
12790 maybe-install-info-mpc: install-info-mpc
12792 install-info-mpc: \
12793 configure-mpc \
12794 info-mpc
12795 @[ -f ./mpc/Makefile ] || exit 0; \
12796 r=`${PWD_COMMAND}`; export r; \
12797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12798 $(HOST_EXPORTS) \
12799 for flag in $(EXTRA_HOST_FLAGS) ; do \
12800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12801 done; \
12802 echo "Doing install-info in mpc" ; \
12803 (cd $(HOST_SUBDIR)/mpc && \
12804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12806 "RANLIB=$${RANLIB}" \
12807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12808 install-info) \
12809 || exit 1
12811 @endif mpc
12813 .PHONY: maybe-install-pdf-mpc install-pdf-mpc
12814 maybe-install-pdf-mpc:
12815 @if mpc
12816 maybe-install-pdf-mpc: install-pdf-mpc
12818 install-pdf-mpc: \
12819 configure-mpc \
12820 pdf-mpc
12821 @[ -f ./mpc/Makefile ] || exit 0; \
12822 r=`${PWD_COMMAND}`; export r; \
12823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12824 $(HOST_EXPORTS) \
12825 for flag in $(EXTRA_HOST_FLAGS) ; do \
12826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12827 done; \
12828 echo "Doing install-pdf in mpc" ; \
12829 (cd $(HOST_SUBDIR)/mpc && \
12830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12832 "RANLIB=$${RANLIB}" \
12833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12834 install-pdf) \
12835 || exit 1
12837 @endif mpc
12839 .PHONY: maybe-install-html-mpc install-html-mpc
12840 maybe-install-html-mpc:
12841 @if mpc
12842 maybe-install-html-mpc: install-html-mpc
12844 install-html-mpc: \
12845 configure-mpc \
12846 html-mpc
12847 @[ -f ./mpc/Makefile ] || exit 0; \
12848 r=`${PWD_COMMAND}`; export r; \
12849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12850 $(HOST_EXPORTS) \
12851 for flag in $(EXTRA_HOST_FLAGS) ; do \
12852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12853 done; \
12854 echo "Doing install-html in mpc" ; \
12855 (cd $(HOST_SUBDIR)/mpc && \
12856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12858 "RANLIB=$${RANLIB}" \
12859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12860 install-html) \
12861 || exit 1
12863 @endif mpc
12865 .PHONY: maybe-installcheck-mpc installcheck-mpc
12866 maybe-installcheck-mpc:
12867 @if mpc
12868 maybe-installcheck-mpc: installcheck-mpc
12870 installcheck-mpc: \
12871 configure-mpc
12872 @[ -f ./mpc/Makefile ] || exit 0; \
12873 r=`${PWD_COMMAND}`; export r; \
12874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12875 $(HOST_EXPORTS) \
12876 for flag in $(EXTRA_HOST_FLAGS) ; do \
12877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12878 done; \
12879 echo "Doing installcheck in mpc" ; \
12880 (cd $(HOST_SUBDIR)/mpc && \
12881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12883 "RANLIB=$${RANLIB}" \
12884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12885 installcheck) \
12886 || exit 1
12888 @endif mpc
12890 .PHONY: maybe-mostlyclean-mpc mostlyclean-mpc
12891 maybe-mostlyclean-mpc:
12892 @if mpc
12893 maybe-mostlyclean-mpc: mostlyclean-mpc
12895 mostlyclean-mpc:
12896 @[ -f ./mpc/Makefile ] || exit 0; \
12897 r=`${PWD_COMMAND}`; export r; \
12898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12899 $(HOST_EXPORTS) \
12900 for flag in $(EXTRA_HOST_FLAGS) ; do \
12901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12902 done; \
12903 echo "Doing mostlyclean in mpc" ; \
12904 (cd $(HOST_SUBDIR)/mpc && \
12905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12907 "RANLIB=$${RANLIB}" \
12908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12909 mostlyclean) \
12910 || exit 1
12912 @endif mpc
12914 .PHONY: maybe-clean-mpc clean-mpc
12915 maybe-clean-mpc:
12916 @if mpc
12917 maybe-clean-mpc: clean-mpc
12919 clean-mpc:
12920 @[ -f ./mpc/Makefile ] || exit 0; \
12921 r=`${PWD_COMMAND}`; export r; \
12922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12923 $(HOST_EXPORTS) \
12924 for flag in $(EXTRA_HOST_FLAGS) ; do \
12925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12926 done; \
12927 echo "Doing clean in mpc" ; \
12928 (cd $(HOST_SUBDIR)/mpc && \
12929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12931 "RANLIB=$${RANLIB}" \
12932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12933 clean) \
12934 || exit 1
12936 @endif mpc
12938 .PHONY: maybe-distclean-mpc distclean-mpc
12939 maybe-distclean-mpc:
12940 @if mpc
12941 maybe-distclean-mpc: distclean-mpc
12943 distclean-mpc:
12944 @[ -f ./mpc/Makefile ] || exit 0; \
12945 r=`${PWD_COMMAND}`; export r; \
12946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12947 $(HOST_EXPORTS) \
12948 for flag in $(EXTRA_HOST_FLAGS) ; do \
12949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12950 done; \
12951 echo "Doing distclean in mpc" ; \
12952 (cd $(HOST_SUBDIR)/mpc && \
12953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12955 "RANLIB=$${RANLIB}" \
12956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12957 distclean) \
12958 || exit 1
12960 @endif mpc
12962 .PHONY: maybe-maintainer-clean-mpc maintainer-clean-mpc
12963 maybe-maintainer-clean-mpc:
12964 @if mpc
12965 maybe-maintainer-clean-mpc: maintainer-clean-mpc
12967 maintainer-clean-mpc:
12968 @[ -f ./mpc/Makefile ] || exit 0; \
12969 r=`${PWD_COMMAND}`; export r; \
12970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12971 $(HOST_EXPORTS) \
12972 for flag in $(EXTRA_HOST_FLAGS) ; do \
12973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12974 done; \
12975 echo "Doing maintainer-clean in mpc" ; \
12976 (cd $(HOST_SUBDIR)/mpc && \
12977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12979 "RANLIB=$${RANLIB}" \
12980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12981 maintainer-clean) \
12982 || exit 1
12984 @endif mpc
12988 .PHONY: configure-isl maybe-configure-isl
12989 maybe-configure-isl:
12990 @if gcc-bootstrap
12991 configure-isl: stage_current
12992 @endif gcc-bootstrap
12993 @if isl
12994 maybe-configure-isl: configure-isl
12995 configure-isl:
12996 @r=`${PWD_COMMAND}`; export r; \
12997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12998 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
12999 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13000 $(HOST_EXPORTS) \
13001 echo Configuring in $(HOST_SUBDIR)/isl; \
13002 cd "$(HOST_SUBDIR)/isl" || exit 1; \
13003 case $(srcdir) in \
13004 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13005 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13006 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13007 esac; \
13008 srcdiroption="--srcdir=$${topdir}/isl"; \
13009 libsrcdir="$$s/isl"; \
13010 $(SHELL) $${libsrcdir}/configure \
13011 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13012 --target=${target_alias} $${srcdiroption} --disable-shared @extra_isl_gmp_configure_flags@ \
13013 || exit 1
13014 @endif isl
13018 .PHONY: configure-stage1-isl maybe-configure-stage1-isl
13019 maybe-configure-stage1-isl:
13020 @if isl-bootstrap
13021 maybe-configure-stage1-isl: configure-stage1-isl
13022 configure-stage1-isl:
13023 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13024 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13025 @r=`${PWD_COMMAND}`; export r; \
13026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13027 TFLAGS="$(STAGE1_TFLAGS)"; \
13028 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13029 $(HOST_EXPORTS) \
13030 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13031 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13032 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
13033 echo Configuring stage 1 in $(HOST_SUBDIR)/isl ; \
13034 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13035 cd $(HOST_SUBDIR)/isl || exit 1; \
13036 case $(srcdir) in \
13037 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13038 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13039 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13040 esac; \
13041 srcdiroption="--srcdir=$${topdir}/isl"; \
13042 libsrcdir="$$s/isl"; \
13043 $(SHELL) $${libsrcdir}/configure \
13044 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13045 --target=${target_alias} $${srcdiroption} \
13046 $(STAGE1_CONFIGURE_FLAGS) \
13047 --disable-shared @extra_isl_gmp_configure_flags@
13048 @endif isl-bootstrap
13050 .PHONY: configure-stage2-isl maybe-configure-stage2-isl
13051 maybe-configure-stage2-isl:
13052 @if isl-bootstrap
13053 maybe-configure-stage2-isl: configure-stage2-isl
13054 configure-stage2-isl:
13055 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13056 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13057 @r=`${PWD_COMMAND}`; export r; \
13058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13059 TFLAGS="$(STAGE2_TFLAGS)"; \
13060 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13061 $(HOST_EXPORTS) \
13062 $(POSTSTAGE1_HOST_EXPORTS) \
13063 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13064 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13065 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
13066 echo Configuring stage 2 in $(HOST_SUBDIR)/isl ; \
13067 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13068 cd $(HOST_SUBDIR)/isl || exit 1; \
13069 case $(srcdir) in \
13070 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13071 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13072 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13073 esac; \
13074 srcdiroption="--srcdir=$${topdir}/isl"; \
13075 libsrcdir="$$s/isl"; \
13076 $(SHELL) $${libsrcdir}/configure \
13077 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13078 --target=${target_alias} $${srcdiroption} \
13079 --with-build-libsubdir=$(HOST_SUBDIR) \
13080 $(STAGE2_CONFIGURE_FLAGS) \
13081 --disable-shared @extra_isl_gmp_configure_flags@
13082 @endif isl-bootstrap
13084 .PHONY: configure-stage3-isl maybe-configure-stage3-isl
13085 maybe-configure-stage3-isl:
13086 @if isl-bootstrap
13087 maybe-configure-stage3-isl: configure-stage3-isl
13088 configure-stage3-isl:
13089 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13090 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13091 @r=`${PWD_COMMAND}`; export r; \
13092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13093 TFLAGS="$(STAGE3_TFLAGS)"; \
13094 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13095 $(HOST_EXPORTS) \
13096 $(POSTSTAGE1_HOST_EXPORTS) \
13097 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13098 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13099 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
13100 echo Configuring stage 3 in $(HOST_SUBDIR)/isl ; \
13101 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13102 cd $(HOST_SUBDIR)/isl || exit 1; \
13103 case $(srcdir) in \
13104 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13105 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13106 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13107 esac; \
13108 srcdiroption="--srcdir=$${topdir}/isl"; \
13109 libsrcdir="$$s/isl"; \
13110 $(SHELL) $${libsrcdir}/configure \
13111 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13112 --target=${target_alias} $${srcdiroption} \
13113 --with-build-libsubdir=$(HOST_SUBDIR) \
13114 $(STAGE3_CONFIGURE_FLAGS) \
13115 --disable-shared @extra_isl_gmp_configure_flags@
13116 @endif isl-bootstrap
13118 .PHONY: configure-stage4-isl maybe-configure-stage4-isl
13119 maybe-configure-stage4-isl:
13120 @if isl-bootstrap
13121 maybe-configure-stage4-isl: configure-stage4-isl
13122 configure-stage4-isl:
13123 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13124 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13125 @r=`${PWD_COMMAND}`; export r; \
13126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13127 TFLAGS="$(STAGE4_TFLAGS)"; \
13128 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13129 $(HOST_EXPORTS) \
13130 $(POSTSTAGE1_HOST_EXPORTS) \
13131 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13132 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13133 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
13134 echo Configuring stage 4 in $(HOST_SUBDIR)/isl ; \
13135 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13136 cd $(HOST_SUBDIR)/isl || exit 1; \
13137 case $(srcdir) in \
13138 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13139 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13140 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13141 esac; \
13142 srcdiroption="--srcdir=$${topdir}/isl"; \
13143 libsrcdir="$$s/isl"; \
13144 $(SHELL) $${libsrcdir}/configure \
13145 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13146 --target=${target_alias} $${srcdiroption} \
13147 --with-build-libsubdir=$(HOST_SUBDIR) \
13148 $(STAGE4_CONFIGURE_FLAGS) \
13149 --disable-shared @extra_isl_gmp_configure_flags@
13150 @endif isl-bootstrap
13152 .PHONY: configure-stageprofile-isl maybe-configure-stageprofile-isl
13153 maybe-configure-stageprofile-isl:
13154 @if isl-bootstrap
13155 maybe-configure-stageprofile-isl: configure-stageprofile-isl
13156 configure-stageprofile-isl:
13157 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13158 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13159 @r=`${PWD_COMMAND}`; export r; \
13160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13161 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13162 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13163 $(HOST_EXPORTS) \
13164 $(POSTSTAGE1_HOST_EXPORTS) \
13165 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
13166 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
13167 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
13168 echo Configuring stage profile in $(HOST_SUBDIR)/isl ; \
13169 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13170 cd $(HOST_SUBDIR)/isl || exit 1; \
13171 case $(srcdir) in \
13172 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13173 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13174 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13175 esac; \
13176 srcdiroption="--srcdir=$${topdir}/isl"; \
13177 libsrcdir="$$s/isl"; \
13178 $(SHELL) $${libsrcdir}/configure \
13179 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13180 --target=${target_alias} $${srcdiroption} \
13181 --with-build-libsubdir=$(HOST_SUBDIR) \
13182 $(STAGEprofile_CONFIGURE_FLAGS) \
13183 --disable-shared @extra_isl_gmp_configure_flags@
13184 @endif isl-bootstrap
13186 .PHONY: configure-stagefeedback-isl maybe-configure-stagefeedback-isl
13187 maybe-configure-stagefeedback-isl:
13188 @if isl-bootstrap
13189 maybe-configure-stagefeedback-isl: configure-stagefeedback-isl
13190 configure-stagefeedback-isl:
13191 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13192 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13193 @r=`${PWD_COMMAND}`; export r; \
13194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13195 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13196 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13197 $(HOST_EXPORTS) \
13198 $(POSTSTAGE1_HOST_EXPORTS) \
13199 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
13200 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
13201 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
13202 echo Configuring stage feedback in $(HOST_SUBDIR)/isl ; \
13203 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13204 cd $(HOST_SUBDIR)/isl || exit 1; \
13205 case $(srcdir) in \
13206 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13207 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13208 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13209 esac; \
13210 srcdiroption="--srcdir=$${topdir}/isl"; \
13211 libsrcdir="$$s/isl"; \
13212 $(SHELL) $${libsrcdir}/configure \
13213 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13214 --target=${target_alias} $${srcdiroption} \
13215 --with-build-libsubdir=$(HOST_SUBDIR) \
13216 $(STAGEfeedback_CONFIGURE_FLAGS) \
13217 --disable-shared @extra_isl_gmp_configure_flags@
13218 @endif isl-bootstrap
13224 .PHONY: all-isl maybe-all-isl
13225 maybe-all-isl:
13226 @if gcc-bootstrap
13227 all-isl: stage_current
13228 @endif gcc-bootstrap
13229 @if isl
13230 TARGET-isl=all
13231 maybe-all-isl: all-isl
13232 all-isl: configure-isl
13233 @r=`${PWD_COMMAND}`; export r; \
13234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13235 $(HOST_EXPORTS) \
13236 (cd $(HOST_SUBDIR)/isl && \
13237 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) V=1 \
13238 $(TARGET-isl))
13239 @endif isl
13243 .PHONY: all-stage1-isl maybe-all-stage1-isl
13244 .PHONY: clean-stage1-isl maybe-clean-stage1-isl
13245 maybe-all-stage1-isl:
13246 maybe-clean-stage1-isl:
13247 @if isl-bootstrap
13248 maybe-all-stage1-isl: all-stage1-isl
13249 all-stage1: all-stage1-isl
13250 TARGET-stage1-isl = $(TARGET-isl)
13251 all-stage1-isl: configure-stage1-isl
13252 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13253 @r=`${PWD_COMMAND}`; export r; \
13254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13255 TFLAGS="$(STAGE1_TFLAGS)"; \
13256 $(HOST_EXPORTS) \
13257 cd $(HOST_SUBDIR)/isl && \
13258 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13259 CFLAGS="$(STAGE1_CFLAGS)" \
13260 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
13261 LIBCFLAGS="$(LIBCFLAGS)" \
13262 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13263 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13264 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13265 $(EXTRA_HOST_FLAGS) V=1 \
13266 TFLAGS="$(STAGE1_TFLAGS)" \
13267 $(TARGET-stage1-isl)
13269 maybe-clean-stage1-isl: clean-stage1-isl
13270 clean-stage1: clean-stage1-isl
13271 clean-stage1-isl:
13272 @if [ $(current_stage) = stage1 ]; then \
13273 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13274 else \
13275 [ -f $(HOST_SUBDIR)/stage1-isl/Makefile ] || exit 0; \
13276 $(MAKE) stage1-start; \
13277 fi; \
13278 cd $(HOST_SUBDIR)/isl && \
13279 $(MAKE) $(EXTRA_HOST_FLAGS) \
13280 V=1 clean
13281 @endif isl-bootstrap
13284 .PHONY: all-stage2-isl maybe-all-stage2-isl
13285 .PHONY: clean-stage2-isl maybe-clean-stage2-isl
13286 maybe-all-stage2-isl:
13287 maybe-clean-stage2-isl:
13288 @if isl-bootstrap
13289 maybe-all-stage2-isl: all-stage2-isl
13290 all-stage2: all-stage2-isl
13291 TARGET-stage2-isl = $(TARGET-isl)
13292 all-stage2-isl: configure-stage2-isl
13293 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13294 @r=`${PWD_COMMAND}`; export r; \
13295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13296 TFLAGS="$(STAGE2_TFLAGS)"; \
13297 $(HOST_EXPORTS) \
13298 $(POSTSTAGE1_HOST_EXPORTS) \
13299 cd $(HOST_SUBDIR)/isl && \
13300 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13301 CFLAGS="$(STAGE2_CFLAGS)" \
13302 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
13303 LIBCFLAGS="$(STAGE2_CFLAGS)" \
13304 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13305 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13306 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13307 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13308 TFLAGS="$(STAGE2_TFLAGS)" \
13309 $(TARGET-stage2-isl)
13311 maybe-clean-stage2-isl: clean-stage2-isl
13312 clean-stage2: clean-stage2-isl
13313 clean-stage2-isl:
13314 @if [ $(current_stage) = stage2 ]; then \
13315 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13316 else \
13317 [ -f $(HOST_SUBDIR)/stage2-isl/Makefile ] || exit 0; \
13318 $(MAKE) stage2-start; \
13319 fi; \
13320 cd $(HOST_SUBDIR)/isl && \
13321 $(MAKE) $(EXTRA_HOST_FLAGS) \
13322 $(POSTSTAGE1_FLAGS_TO_PASS) \
13323 V=1 clean
13324 @endif isl-bootstrap
13327 .PHONY: all-stage3-isl maybe-all-stage3-isl
13328 .PHONY: clean-stage3-isl maybe-clean-stage3-isl
13329 maybe-all-stage3-isl:
13330 maybe-clean-stage3-isl:
13331 @if isl-bootstrap
13332 maybe-all-stage3-isl: all-stage3-isl
13333 all-stage3: all-stage3-isl
13334 TARGET-stage3-isl = $(TARGET-isl)
13335 all-stage3-isl: configure-stage3-isl
13336 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13337 @r=`${PWD_COMMAND}`; export r; \
13338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13339 TFLAGS="$(STAGE3_TFLAGS)"; \
13340 $(HOST_EXPORTS) \
13341 $(POSTSTAGE1_HOST_EXPORTS) \
13342 cd $(HOST_SUBDIR)/isl && \
13343 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13344 CFLAGS="$(STAGE3_CFLAGS)" \
13345 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
13346 LIBCFLAGS="$(STAGE3_CFLAGS)" \
13347 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13348 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13349 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13350 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13351 TFLAGS="$(STAGE3_TFLAGS)" \
13352 $(TARGET-stage3-isl)
13354 maybe-clean-stage3-isl: clean-stage3-isl
13355 clean-stage3: clean-stage3-isl
13356 clean-stage3-isl:
13357 @if [ $(current_stage) = stage3 ]; then \
13358 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13359 else \
13360 [ -f $(HOST_SUBDIR)/stage3-isl/Makefile ] || exit 0; \
13361 $(MAKE) stage3-start; \
13362 fi; \
13363 cd $(HOST_SUBDIR)/isl && \
13364 $(MAKE) $(EXTRA_HOST_FLAGS) \
13365 $(POSTSTAGE1_FLAGS_TO_PASS) \
13366 V=1 clean
13367 @endif isl-bootstrap
13370 .PHONY: all-stage4-isl maybe-all-stage4-isl
13371 .PHONY: clean-stage4-isl maybe-clean-stage4-isl
13372 maybe-all-stage4-isl:
13373 maybe-clean-stage4-isl:
13374 @if isl-bootstrap
13375 maybe-all-stage4-isl: all-stage4-isl
13376 all-stage4: all-stage4-isl
13377 TARGET-stage4-isl = $(TARGET-isl)
13378 all-stage4-isl: configure-stage4-isl
13379 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13380 @r=`${PWD_COMMAND}`; export r; \
13381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13382 TFLAGS="$(STAGE4_TFLAGS)"; \
13383 $(HOST_EXPORTS) \
13384 $(POSTSTAGE1_HOST_EXPORTS) \
13385 cd $(HOST_SUBDIR)/isl && \
13386 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13387 CFLAGS="$(STAGE4_CFLAGS)" \
13388 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
13389 LIBCFLAGS="$(STAGE4_CFLAGS)" \
13390 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13391 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13392 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13393 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13394 TFLAGS="$(STAGE4_TFLAGS)" \
13395 $(TARGET-stage4-isl)
13397 maybe-clean-stage4-isl: clean-stage4-isl
13398 clean-stage4: clean-stage4-isl
13399 clean-stage4-isl:
13400 @if [ $(current_stage) = stage4 ]; then \
13401 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13402 else \
13403 [ -f $(HOST_SUBDIR)/stage4-isl/Makefile ] || exit 0; \
13404 $(MAKE) stage4-start; \
13405 fi; \
13406 cd $(HOST_SUBDIR)/isl && \
13407 $(MAKE) $(EXTRA_HOST_FLAGS) \
13408 $(POSTSTAGE1_FLAGS_TO_PASS) \
13409 V=1 clean
13410 @endif isl-bootstrap
13413 .PHONY: all-stageprofile-isl maybe-all-stageprofile-isl
13414 .PHONY: clean-stageprofile-isl maybe-clean-stageprofile-isl
13415 maybe-all-stageprofile-isl:
13416 maybe-clean-stageprofile-isl:
13417 @if isl-bootstrap
13418 maybe-all-stageprofile-isl: all-stageprofile-isl
13419 all-stageprofile: all-stageprofile-isl
13420 TARGET-stageprofile-isl = $(TARGET-isl)
13421 all-stageprofile-isl: configure-stageprofile-isl
13422 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13423 @r=`${PWD_COMMAND}`; export r; \
13424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13425 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13426 $(HOST_EXPORTS) \
13427 $(POSTSTAGE1_HOST_EXPORTS) \
13428 cd $(HOST_SUBDIR)/isl && \
13429 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13430 CFLAGS="$(STAGEprofile_CFLAGS)" \
13431 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
13432 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
13433 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13434 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13435 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13436 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13437 TFLAGS="$(STAGEprofile_TFLAGS)" \
13438 $(TARGET-stageprofile-isl)
13440 maybe-clean-stageprofile-isl: clean-stageprofile-isl
13441 clean-stageprofile: clean-stageprofile-isl
13442 clean-stageprofile-isl:
13443 @if [ $(current_stage) = stageprofile ]; then \
13444 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13445 else \
13446 [ -f $(HOST_SUBDIR)/stageprofile-isl/Makefile ] || exit 0; \
13447 $(MAKE) stageprofile-start; \
13448 fi; \
13449 cd $(HOST_SUBDIR)/isl && \
13450 $(MAKE) $(EXTRA_HOST_FLAGS) \
13451 $(POSTSTAGE1_FLAGS_TO_PASS) \
13452 V=1 clean
13453 @endif isl-bootstrap
13456 .PHONY: all-stagefeedback-isl maybe-all-stagefeedback-isl
13457 .PHONY: clean-stagefeedback-isl maybe-clean-stagefeedback-isl
13458 maybe-all-stagefeedback-isl:
13459 maybe-clean-stagefeedback-isl:
13460 @if isl-bootstrap
13461 maybe-all-stagefeedback-isl: all-stagefeedback-isl
13462 all-stagefeedback: all-stagefeedback-isl
13463 TARGET-stagefeedback-isl = $(TARGET-isl)
13464 all-stagefeedback-isl: configure-stagefeedback-isl
13465 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13466 @r=`${PWD_COMMAND}`; export r; \
13467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13468 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13469 $(HOST_EXPORTS) \
13470 $(POSTSTAGE1_HOST_EXPORTS) \
13471 cd $(HOST_SUBDIR)/isl && \
13472 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13473 CFLAGS="$(STAGEfeedback_CFLAGS)" \
13474 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
13475 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
13476 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13477 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13478 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13479 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13480 TFLAGS="$(STAGEfeedback_TFLAGS)" \
13481 $(TARGET-stagefeedback-isl)
13483 maybe-clean-stagefeedback-isl: clean-stagefeedback-isl
13484 clean-stagefeedback: clean-stagefeedback-isl
13485 clean-stagefeedback-isl:
13486 @if [ $(current_stage) = stagefeedback ]; then \
13487 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13488 else \
13489 [ -f $(HOST_SUBDIR)/stagefeedback-isl/Makefile ] || exit 0; \
13490 $(MAKE) stagefeedback-start; \
13491 fi; \
13492 cd $(HOST_SUBDIR)/isl && \
13493 $(MAKE) $(EXTRA_HOST_FLAGS) \
13494 $(POSTSTAGE1_FLAGS_TO_PASS) \
13495 V=1 clean
13496 @endif isl-bootstrap
13502 .PHONY: check-isl maybe-check-isl
13503 maybe-check-isl:
13504 @if isl
13505 maybe-check-isl: check-isl
13507 check-isl:
13508 @: $(MAKE); $(unstage)
13509 @r=`${PWD_COMMAND}`; export r; \
13510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13511 $(HOST_EXPORTS) \
13512 (cd $(HOST_SUBDIR)/isl && \
13513 $(MAKE) $(FLAGS_TO_PASS) V=1 check)
13515 @endif isl
13517 .PHONY: install-isl maybe-install-isl
13518 maybe-install-isl:
13519 @if isl
13520 maybe-install-isl: install-isl
13522 install-isl:
13524 @endif isl
13526 .PHONY: install-strip-isl maybe-install-strip-isl
13527 maybe-install-strip-isl:
13528 @if isl
13529 maybe-install-strip-isl: install-strip-isl
13531 install-strip-isl:
13533 @endif isl
13535 # Other targets (info, dvi, pdf, etc.)
13537 .PHONY: maybe-info-isl info-isl
13538 maybe-info-isl:
13539 @if isl
13540 maybe-info-isl: info-isl
13542 info-isl: \
13543 configure-isl
13544 @[ -f ./isl/Makefile ] || exit 0; \
13545 r=`${PWD_COMMAND}`; export r; \
13546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13547 $(HOST_EXPORTS) \
13548 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13550 done; \
13551 echo "Doing info in isl" ; \
13552 (cd $(HOST_SUBDIR)/isl && \
13553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13555 "RANLIB=$${RANLIB}" \
13556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13557 info) \
13558 || exit 1
13560 @endif isl
13562 .PHONY: maybe-dvi-isl dvi-isl
13563 maybe-dvi-isl:
13564 @if isl
13565 maybe-dvi-isl: dvi-isl
13567 dvi-isl: \
13568 configure-isl
13569 @[ -f ./isl/Makefile ] || exit 0; \
13570 r=`${PWD_COMMAND}`; export r; \
13571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13572 $(HOST_EXPORTS) \
13573 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13575 done; \
13576 echo "Doing dvi in isl" ; \
13577 (cd $(HOST_SUBDIR)/isl && \
13578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13580 "RANLIB=$${RANLIB}" \
13581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13582 dvi) \
13583 || exit 1
13585 @endif isl
13587 .PHONY: maybe-pdf-isl pdf-isl
13588 maybe-pdf-isl:
13589 @if isl
13590 maybe-pdf-isl: pdf-isl
13592 pdf-isl: \
13593 configure-isl
13594 @[ -f ./isl/Makefile ] || exit 0; \
13595 r=`${PWD_COMMAND}`; export r; \
13596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13597 $(HOST_EXPORTS) \
13598 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13600 done; \
13601 echo "Doing pdf in isl" ; \
13602 (cd $(HOST_SUBDIR)/isl && \
13603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13605 "RANLIB=$${RANLIB}" \
13606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13607 pdf) \
13608 || exit 1
13610 @endif isl
13612 .PHONY: maybe-html-isl html-isl
13613 maybe-html-isl:
13614 @if isl
13615 maybe-html-isl: html-isl
13617 html-isl: \
13618 configure-isl
13619 @[ -f ./isl/Makefile ] || exit 0; \
13620 r=`${PWD_COMMAND}`; export r; \
13621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13622 $(HOST_EXPORTS) \
13623 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13625 done; \
13626 echo "Doing html in isl" ; \
13627 (cd $(HOST_SUBDIR)/isl && \
13628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13630 "RANLIB=$${RANLIB}" \
13631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13632 html) \
13633 || exit 1
13635 @endif isl
13637 .PHONY: maybe-TAGS-isl TAGS-isl
13638 maybe-TAGS-isl:
13639 @if isl
13640 maybe-TAGS-isl: TAGS-isl
13642 TAGS-isl: \
13643 configure-isl
13644 @[ -f ./isl/Makefile ] || exit 0; \
13645 r=`${PWD_COMMAND}`; export r; \
13646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13647 $(HOST_EXPORTS) \
13648 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13650 done; \
13651 echo "Doing TAGS in isl" ; \
13652 (cd $(HOST_SUBDIR)/isl && \
13653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13655 "RANLIB=$${RANLIB}" \
13656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13657 TAGS) \
13658 || exit 1
13660 @endif isl
13662 .PHONY: maybe-install-info-isl install-info-isl
13663 maybe-install-info-isl:
13664 @if isl
13665 maybe-install-info-isl: install-info-isl
13667 install-info-isl: \
13668 configure-isl \
13669 info-isl
13670 @[ -f ./isl/Makefile ] || exit 0; \
13671 r=`${PWD_COMMAND}`; export r; \
13672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13673 $(HOST_EXPORTS) \
13674 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13676 done; \
13677 echo "Doing install-info in isl" ; \
13678 (cd $(HOST_SUBDIR)/isl && \
13679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13681 "RANLIB=$${RANLIB}" \
13682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13683 install-info) \
13684 || exit 1
13686 @endif isl
13688 .PHONY: maybe-install-pdf-isl install-pdf-isl
13689 maybe-install-pdf-isl:
13690 @if isl
13691 maybe-install-pdf-isl: install-pdf-isl
13693 install-pdf-isl: \
13694 configure-isl \
13695 pdf-isl
13696 @[ -f ./isl/Makefile ] || exit 0; \
13697 r=`${PWD_COMMAND}`; export r; \
13698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13699 $(HOST_EXPORTS) \
13700 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13702 done; \
13703 echo "Doing install-pdf in isl" ; \
13704 (cd $(HOST_SUBDIR)/isl && \
13705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13707 "RANLIB=$${RANLIB}" \
13708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13709 install-pdf) \
13710 || exit 1
13712 @endif isl
13714 .PHONY: maybe-install-html-isl install-html-isl
13715 maybe-install-html-isl:
13716 @if isl
13717 maybe-install-html-isl: install-html-isl
13719 install-html-isl: \
13720 configure-isl \
13721 html-isl
13722 @[ -f ./isl/Makefile ] || exit 0; \
13723 r=`${PWD_COMMAND}`; export r; \
13724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13725 $(HOST_EXPORTS) \
13726 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13728 done; \
13729 echo "Doing install-html in isl" ; \
13730 (cd $(HOST_SUBDIR)/isl && \
13731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13733 "RANLIB=$${RANLIB}" \
13734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13735 install-html) \
13736 || exit 1
13738 @endif isl
13740 .PHONY: maybe-installcheck-isl installcheck-isl
13741 maybe-installcheck-isl:
13742 @if isl
13743 maybe-installcheck-isl: installcheck-isl
13745 installcheck-isl: \
13746 configure-isl
13747 @[ -f ./isl/Makefile ] || exit 0; \
13748 r=`${PWD_COMMAND}`; export r; \
13749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13750 $(HOST_EXPORTS) \
13751 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13753 done; \
13754 echo "Doing installcheck in isl" ; \
13755 (cd $(HOST_SUBDIR)/isl && \
13756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13758 "RANLIB=$${RANLIB}" \
13759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13760 installcheck) \
13761 || exit 1
13763 @endif isl
13765 .PHONY: maybe-mostlyclean-isl mostlyclean-isl
13766 maybe-mostlyclean-isl:
13767 @if isl
13768 maybe-mostlyclean-isl: mostlyclean-isl
13770 mostlyclean-isl:
13771 @[ -f ./isl/Makefile ] || exit 0; \
13772 r=`${PWD_COMMAND}`; export r; \
13773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13774 $(HOST_EXPORTS) \
13775 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13777 done; \
13778 echo "Doing mostlyclean in isl" ; \
13779 (cd $(HOST_SUBDIR)/isl && \
13780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13782 "RANLIB=$${RANLIB}" \
13783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13784 mostlyclean) \
13785 || exit 1
13787 @endif isl
13789 .PHONY: maybe-clean-isl clean-isl
13790 maybe-clean-isl:
13791 @if isl
13792 maybe-clean-isl: clean-isl
13794 clean-isl:
13795 @[ -f ./isl/Makefile ] || exit 0; \
13796 r=`${PWD_COMMAND}`; export r; \
13797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13798 $(HOST_EXPORTS) \
13799 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13801 done; \
13802 echo "Doing clean in isl" ; \
13803 (cd $(HOST_SUBDIR)/isl && \
13804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13806 "RANLIB=$${RANLIB}" \
13807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13808 clean) \
13809 || exit 1
13811 @endif isl
13813 .PHONY: maybe-distclean-isl distclean-isl
13814 maybe-distclean-isl:
13815 @if isl
13816 maybe-distclean-isl: distclean-isl
13818 distclean-isl:
13819 @[ -f ./isl/Makefile ] || exit 0; \
13820 r=`${PWD_COMMAND}`; export r; \
13821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13822 $(HOST_EXPORTS) \
13823 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13825 done; \
13826 echo "Doing distclean in isl" ; \
13827 (cd $(HOST_SUBDIR)/isl && \
13828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13830 "RANLIB=$${RANLIB}" \
13831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13832 distclean) \
13833 || exit 1
13835 @endif isl
13837 .PHONY: maybe-maintainer-clean-isl maintainer-clean-isl
13838 maybe-maintainer-clean-isl:
13839 @if isl
13840 maybe-maintainer-clean-isl: maintainer-clean-isl
13842 maintainer-clean-isl:
13843 @[ -f ./isl/Makefile ] || exit 0; \
13844 r=`${PWD_COMMAND}`; export r; \
13845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13846 $(HOST_EXPORTS) \
13847 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13849 done; \
13850 echo "Doing maintainer-clean in isl" ; \
13851 (cd $(HOST_SUBDIR)/isl && \
13852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13854 "RANLIB=$${RANLIB}" \
13855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13856 maintainer-clean) \
13857 || exit 1
13859 @endif isl
13863 .PHONY: configure-cloog maybe-configure-cloog
13864 maybe-configure-cloog:
13865 @if gcc-bootstrap
13866 configure-cloog: stage_current
13867 @endif gcc-bootstrap
13868 @if cloog
13869 maybe-configure-cloog: configure-cloog
13870 configure-cloog:
13871 @r=`${PWD_COMMAND}`; export r; \
13872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13873 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13874 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13875 $(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; \
13876 echo Configuring in $(HOST_SUBDIR)/cloog; \
13877 cd "$(HOST_SUBDIR)/cloog" || exit 1; \
13878 case $(srcdir) in \
13879 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13880 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13881 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13882 esac; \
13883 srcdiroption="--srcdir=$${topdir}/cloog"; \
13884 libsrcdir="$$s/cloog"; \
13885 $(SHELL) $${libsrcdir}/configure \
13886 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13887 --target=${target_alias} $${srcdiroption} --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system \
13888 || exit 1
13889 @endif cloog
13893 .PHONY: configure-stage1-cloog maybe-configure-stage1-cloog
13894 maybe-configure-stage1-cloog:
13895 @if cloog-bootstrap
13896 maybe-configure-stage1-cloog: configure-stage1-cloog
13897 configure-stage1-cloog:
13898 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13899 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13900 @r=`${PWD_COMMAND}`; export r; \
13901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13902 TFLAGS="$(STAGE1_TFLAGS)"; \
13903 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13904 $(HOST_EXPORTS) \
13905 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13906 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13907 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; \
13908 echo Configuring stage 1 in $(HOST_SUBDIR)/cloog ; \
13909 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13910 cd $(HOST_SUBDIR)/cloog || exit 1; \
13911 case $(srcdir) in \
13912 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13913 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13914 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13915 esac; \
13916 srcdiroption="--srcdir=$${topdir}/cloog"; \
13917 libsrcdir="$$s/cloog"; \
13918 $(SHELL) $${libsrcdir}/configure \
13919 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13920 --target=${target_alias} $${srcdiroption} \
13921 $(STAGE1_CONFIGURE_FLAGS) \
13922 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
13923 @endif cloog-bootstrap
13925 .PHONY: configure-stage2-cloog maybe-configure-stage2-cloog
13926 maybe-configure-stage2-cloog:
13927 @if cloog-bootstrap
13928 maybe-configure-stage2-cloog: configure-stage2-cloog
13929 configure-stage2-cloog:
13930 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13931 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13932 @r=`${PWD_COMMAND}`; export r; \
13933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13934 TFLAGS="$(STAGE2_TFLAGS)"; \
13935 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13936 $(HOST_EXPORTS) \
13937 $(POSTSTAGE1_HOST_EXPORTS) \
13938 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13939 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13940 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; \
13941 echo Configuring stage 2 in $(HOST_SUBDIR)/cloog ; \
13942 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13943 cd $(HOST_SUBDIR)/cloog || exit 1; \
13944 case $(srcdir) in \
13945 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13946 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13947 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13948 esac; \
13949 srcdiroption="--srcdir=$${topdir}/cloog"; \
13950 libsrcdir="$$s/cloog"; \
13951 $(SHELL) $${libsrcdir}/configure \
13952 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13953 --target=${target_alias} $${srcdiroption} \
13954 --with-build-libsubdir=$(HOST_SUBDIR) \
13955 $(STAGE2_CONFIGURE_FLAGS) \
13956 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
13957 @endif cloog-bootstrap
13959 .PHONY: configure-stage3-cloog maybe-configure-stage3-cloog
13960 maybe-configure-stage3-cloog:
13961 @if cloog-bootstrap
13962 maybe-configure-stage3-cloog: configure-stage3-cloog
13963 configure-stage3-cloog:
13964 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13965 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13966 @r=`${PWD_COMMAND}`; export r; \
13967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13968 TFLAGS="$(STAGE3_TFLAGS)"; \
13969 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13970 $(HOST_EXPORTS) \
13971 $(POSTSTAGE1_HOST_EXPORTS) \
13972 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13973 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13974 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; \
13975 echo Configuring stage 3 in $(HOST_SUBDIR)/cloog ; \
13976 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13977 cd $(HOST_SUBDIR)/cloog || exit 1; \
13978 case $(srcdir) in \
13979 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13980 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13981 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13982 esac; \
13983 srcdiroption="--srcdir=$${topdir}/cloog"; \
13984 libsrcdir="$$s/cloog"; \
13985 $(SHELL) $${libsrcdir}/configure \
13986 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13987 --target=${target_alias} $${srcdiroption} \
13988 --with-build-libsubdir=$(HOST_SUBDIR) \
13989 $(STAGE3_CONFIGURE_FLAGS) \
13990 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
13991 @endif cloog-bootstrap
13993 .PHONY: configure-stage4-cloog maybe-configure-stage4-cloog
13994 maybe-configure-stage4-cloog:
13995 @if cloog-bootstrap
13996 maybe-configure-stage4-cloog: configure-stage4-cloog
13997 configure-stage4-cloog:
13998 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13999 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14000 @r=`${PWD_COMMAND}`; export r; \
14001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14002 TFLAGS="$(STAGE4_TFLAGS)"; \
14003 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14004 $(HOST_EXPORTS) \
14005 $(POSTSTAGE1_HOST_EXPORTS) \
14006 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14007 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14008 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; \
14009 echo Configuring stage 4 in $(HOST_SUBDIR)/cloog ; \
14010 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14011 cd $(HOST_SUBDIR)/cloog || exit 1; \
14012 case $(srcdir) in \
14013 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14014 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14015 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14016 esac; \
14017 srcdiroption="--srcdir=$${topdir}/cloog"; \
14018 libsrcdir="$$s/cloog"; \
14019 $(SHELL) $${libsrcdir}/configure \
14020 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14021 --target=${target_alias} $${srcdiroption} \
14022 --with-build-libsubdir=$(HOST_SUBDIR) \
14023 $(STAGE4_CONFIGURE_FLAGS) \
14024 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14025 @endif cloog-bootstrap
14027 .PHONY: configure-stageprofile-cloog maybe-configure-stageprofile-cloog
14028 maybe-configure-stageprofile-cloog:
14029 @if cloog-bootstrap
14030 maybe-configure-stageprofile-cloog: configure-stageprofile-cloog
14031 configure-stageprofile-cloog:
14032 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14033 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14034 @r=`${PWD_COMMAND}`; export r; \
14035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14036 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14037 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14038 $(HOST_EXPORTS) \
14039 $(POSTSTAGE1_HOST_EXPORTS) \
14040 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14041 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14042 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; \
14043 echo Configuring stage profile in $(HOST_SUBDIR)/cloog ; \
14044 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14045 cd $(HOST_SUBDIR)/cloog || exit 1; \
14046 case $(srcdir) in \
14047 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14048 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14049 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14050 esac; \
14051 srcdiroption="--srcdir=$${topdir}/cloog"; \
14052 libsrcdir="$$s/cloog"; \
14053 $(SHELL) $${libsrcdir}/configure \
14054 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14055 --target=${target_alias} $${srcdiroption} \
14056 --with-build-libsubdir=$(HOST_SUBDIR) \
14057 $(STAGEprofile_CONFIGURE_FLAGS) \
14058 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14059 @endif cloog-bootstrap
14061 .PHONY: configure-stagefeedback-cloog maybe-configure-stagefeedback-cloog
14062 maybe-configure-stagefeedback-cloog:
14063 @if cloog-bootstrap
14064 maybe-configure-stagefeedback-cloog: configure-stagefeedback-cloog
14065 configure-stagefeedback-cloog:
14066 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14067 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14068 @r=`${PWD_COMMAND}`; export r; \
14069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14070 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14071 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14072 $(HOST_EXPORTS) \
14073 $(POSTSTAGE1_HOST_EXPORTS) \
14074 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14075 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14076 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; \
14077 echo Configuring stage feedback in $(HOST_SUBDIR)/cloog ; \
14078 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14079 cd $(HOST_SUBDIR)/cloog || exit 1; \
14080 case $(srcdir) in \
14081 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14082 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14083 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14084 esac; \
14085 srcdiroption="--srcdir=$${topdir}/cloog"; \
14086 libsrcdir="$$s/cloog"; \
14087 $(SHELL) $${libsrcdir}/configure \
14088 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14089 --target=${target_alias} $${srcdiroption} \
14090 --with-build-libsubdir=$(HOST_SUBDIR) \
14091 $(STAGEfeedback_CONFIGURE_FLAGS) \
14092 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14093 @endif cloog-bootstrap
14099 .PHONY: all-cloog maybe-all-cloog
14100 maybe-all-cloog:
14101 @if gcc-bootstrap
14102 all-cloog: stage_current
14103 @endif gcc-bootstrap
14104 @if cloog
14105 TARGET-cloog=all
14106 maybe-all-cloog: all-cloog
14107 all-cloog: configure-cloog
14108 @r=`${PWD_COMMAND}`; export r; \
14109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14110 $(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; \
14111 (cd $(HOST_SUBDIR)/cloog && \
14112 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14113 $(TARGET-cloog))
14114 @endif cloog
14118 .PHONY: all-stage1-cloog maybe-all-stage1-cloog
14119 .PHONY: clean-stage1-cloog maybe-clean-stage1-cloog
14120 maybe-all-stage1-cloog:
14121 maybe-clean-stage1-cloog:
14122 @if cloog-bootstrap
14123 maybe-all-stage1-cloog: all-stage1-cloog
14124 all-stage1: all-stage1-cloog
14125 TARGET-stage1-cloog = $(TARGET-cloog)
14126 all-stage1-cloog: configure-stage1-cloog
14127 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14128 @r=`${PWD_COMMAND}`; export r; \
14129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14130 TFLAGS="$(STAGE1_TFLAGS)"; \
14131 $(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; \
14132 cd $(HOST_SUBDIR)/cloog && \
14133 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14134 CFLAGS="$(STAGE1_CFLAGS)" \
14135 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
14136 LIBCFLAGS="$(LIBCFLAGS)" \
14137 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14138 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14139 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14140 $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14141 TFLAGS="$(STAGE1_TFLAGS)" \
14142 $(TARGET-stage1-cloog)
14144 maybe-clean-stage1-cloog: clean-stage1-cloog
14145 clean-stage1: clean-stage1-cloog
14146 clean-stage1-cloog:
14147 @if [ $(current_stage) = stage1 ]; then \
14148 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14149 else \
14150 [ -f $(HOST_SUBDIR)/stage1-cloog/Makefile ] || exit 0; \
14151 $(MAKE) stage1-start; \
14152 fi; \
14153 cd $(HOST_SUBDIR)/cloog && \
14154 $(MAKE) $(EXTRA_HOST_FLAGS) \
14155 CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14156 @endif cloog-bootstrap
14159 .PHONY: all-stage2-cloog maybe-all-stage2-cloog
14160 .PHONY: clean-stage2-cloog maybe-clean-stage2-cloog
14161 maybe-all-stage2-cloog:
14162 maybe-clean-stage2-cloog:
14163 @if cloog-bootstrap
14164 maybe-all-stage2-cloog: all-stage2-cloog
14165 all-stage2: all-stage2-cloog
14166 TARGET-stage2-cloog = $(TARGET-cloog)
14167 all-stage2-cloog: configure-stage2-cloog
14168 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14169 @r=`${PWD_COMMAND}`; export r; \
14170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14171 TFLAGS="$(STAGE2_TFLAGS)"; \
14172 $(HOST_EXPORTS) \
14173 $(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; \
14174 cd $(HOST_SUBDIR)/cloog && \
14175 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14176 CFLAGS="$(STAGE2_CFLAGS)" \
14177 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
14178 LIBCFLAGS="$(STAGE2_CFLAGS)" \
14179 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14180 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14181 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14182 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14183 TFLAGS="$(STAGE2_TFLAGS)" \
14184 $(TARGET-stage2-cloog)
14186 maybe-clean-stage2-cloog: clean-stage2-cloog
14187 clean-stage2: clean-stage2-cloog
14188 clean-stage2-cloog:
14189 @if [ $(current_stage) = stage2 ]; then \
14190 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14191 else \
14192 [ -f $(HOST_SUBDIR)/stage2-cloog/Makefile ] || exit 0; \
14193 $(MAKE) stage2-start; \
14194 fi; \
14195 cd $(HOST_SUBDIR)/cloog && \
14196 $(MAKE) $(EXTRA_HOST_FLAGS) \
14197 $(POSTSTAGE1_FLAGS_TO_PASS) \
14198 CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14199 @endif cloog-bootstrap
14202 .PHONY: all-stage3-cloog maybe-all-stage3-cloog
14203 .PHONY: clean-stage3-cloog maybe-clean-stage3-cloog
14204 maybe-all-stage3-cloog:
14205 maybe-clean-stage3-cloog:
14206 @if cloog-bootstrap
14207 maybe-all-stage3-cloog: all-stage3-cloog
14208 all-stage3: all-stage3-cloog
14209 TARGET-stage3-cloog = $(TARGET-cloog)
14210 all-stage3-cloog: configure-stage3-cloog
14211 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14212 @r=`${PWD_COMMAND}`; export r; \
14213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14214 TFLAGS="$(STAGE3_TFLAGS)"; \
14215 $(HOST_EXPORTS) \
14216 $(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; \
14217 cd $(HOST_SUBDIR)/cloog && \
14218 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14219 CFLAGS="$(STAGE3_CFLAGS)" \
14220 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
14221 LIBCFLAGS="$(STAGE3_CFLAGS)" \
14222 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14223 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14224 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14225 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14226 TFLAGS="$(STAGE3_TFLAGS)" \
14227 $(TARGET-stage3-cloog)
14229 maybe-clean-stage3-cloog: clean-stage3-cloog
14230 clean-stage3: clean-stage3-cloog
14231 clean-stage3-cloog:
14232 @if [ $(current_stage) = stage3 ]; then \
14233 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14234 else \
14235 [ -f $(HOST_SUBDIR)/stage3-cloog/Makefile ] || exit 0; \
14236 $(MAKE) stage3-start; \
14237 fi; \
14238 cd $(HOST_SUBDIR)/cloog && \
14239 $(MAKE) $(EXTRA_HOST_FLAGS) \
14240 $(POSTSTAGE1_FLAGS_TO_PASS) \
14241 CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14242 @endif cloog-bootstrap
14245 .PHONY: all-stage4-cloog maybe-all-stage4-cloog
14246 .PHONY: clean-stage4-cloog maybe-clean-stage4-cloog
14247 maybe-all-stage4-cloog:
14248 maybe-clean-stage4-cloog:
14249 @if cloog-bootstrap
14250 maybe-all-stage4-cloog: all-stage4-cloog
14251 all-stage4: all-stage4-cloog
14252 TARGET-stage4-cloog = $(TARGET-cloog)
14253 all-stage4-cloog: configure-stage4-cloog
14254 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14255 @r=`${PWD_COMMAND}`; export r; \
14256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14257 TFLAGS="$(STAGE4_TFLAGS)"; \
14258 $(HOST_EXPORTS) \
14259 $(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; \
14260 cd $(HOST_SUBDIR)/cloog && \
14261 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14262 CFLAGS="$(STAGE4_CFLAGS)" \
14263 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
14264 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14265 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14266 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14267 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14268 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14269 TFLAGS="$(STAGE4_TFLAGS)" \
14270 $(TARGET-stage4-cloog)
14272 maybe-clean-stage4-cloog: clean-stage4-cloog
14273 clean-stage4: clean-stage4-cloog
14274 clean-stage4-cloog:
14275 @if [ $(current_stage) = stage4 ]; then \
14276 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14277 else \
14278 [ -f $(HOST_SUBDIR)/stage4-cloog/Makefile ] || exit 0; \
14279 $(MAKE) stage4-start; \
14280 fi; \
14281 cd $(HOST_SUBDIR)/cloog && \
14282 $(MAKE) $(EXTRA_HOST_FLAGS) \
14283 $(POSTSTAGE1_FLAGS_TO_PASS) \
14284 CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14285 @endif cloog-bootstrap
14288 .PHONY: all-stageprofile-cloog maybe-all-stageprofile-cloog
14289 .PHONY: clean-stageprofile-cloog maybe-clean-stageprofile-cloog
14290 maybe-all-stageprofile-cloog:
14291 maybe-clean-stageprofile-cloog:
14292 @if cloog-bootstrap
14293 maybe-all-stageprofile-cloog: all-stageprofile-cloog
14294 all-stageprofile: all-stageprofile-cloog
14295 TARGET-stageprofile-cloog = $(TARGET-cloog)
14296 all-stageprofile-cloog: configure-stageprofile-cloog
14297 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14298 @r=`${PWD_COMMAND}`; export r; \
14299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14300 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14301 $(HOST_EXPORTS) \
14302 $(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; \
14303 cd $(HOST_SUBDIR)/cloog && \
14304 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14305 CFLAGS="$(STAGEprofile_CFLAGS)" \
14306 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
14307 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14308 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14309 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14310 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14311 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14312 TFLAGS="$(STAGEprofile_TFLAGS)" \
14313 $(TARGET-stageprofile-cloog)
14315 maybe-clean-stageprofile-cloog: clean-stageprofile-cloog
14316 clean-stageprofile: clean-stageprofile-cloog
14317 clean-stageprofile-cloog:
14318 @if [ $(current_stage) = stageprofile ]; then \
14319 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14320 else \
14321 [ -f $(HOST_SUBDIR)/stageprofile-cloog/Makefile ] || exit 0; \
14322 $(MAKE) stageprofile-start; \
14323 fi; \
14324 cd $(HOST_SUBDIR)/cloog && \
14325 $(MAKE) $(EXTRA_HOST_FLAGS) \
14326 $(POSTSTAGE1_FLAGS_TO_PASS) \
14327 CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14328 @endif cloog-bootstrap
14331 .PHONY: all-stagefeedback-cloog maybe-all-stagefeedback-cloog
14332 .PHONY: clean-stagefeedback-cloog maybe-clean-stagefeedback-cloog
14333 maybe-all-stagefeedback-cloog:
14334 maybe-clean-stagefeedback-cloog:
14335 @if cloog-bootstrap
14336 maybe-all-stagefeedback-cloog: all-stagefeedback-cloog
14337 all-stagefeedback: all-stagefeedback-cloog
14338 TARGET-stagefeedback-cloog = $(TARGET-cloog)
14339 all-stagefeedback-cloog: configure-stagefeedback-cloog
14340 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14341 @r=`${PWD_COMMAND}`; export r; \
14342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14343 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14344 $(HOST_EXPORTS) \
14345 $(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; \
14346 cd $(HOST_SUBDIR)/cloog && \
14347 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14348 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14349 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
14350 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14351 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14352 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14353 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14354 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14355 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14356 $(TARGET-stagefeedback-cloog)
14358 maybe-clean-stagefeedback-cloog: clean-stagefeedback-cloog
14359 clean-stagefeedback: clean-stagefeedback-cloog
14360 clean-stagefeedback-cloog:
14361 @if [ $(current_stage) = stagefeedback ]; then \
14362 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14363 else \
14364 [ -f $(HOST_SUBDIR)/stagefeedback-cloog/Makefile ] || exit 0; \
14365 $(MAKE) stagefeedback-start; \
14366 fi; \
14367 cd $(HOST_SUBDIR)/cloog && \
14368 $(MAKE) $(EXTRA_HOST_FLAGS) \
14369 $(POSTSTAGE1_FLAGS_TO_PASS) \
14370 CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14371 @endif cloog-bootstrap
14377 .PHONY: check-cloog maybe-check-cloog
14378 maybe-check-cloog:
14379 @if cloog
14380 maybe-check-cloog: check-cloog
14382 check-cloog:
14383 @: $(MAKE); $(unstage)
14384 @r=`${PWD_COMMAND}`; export r; \
14385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14386 $(HOST_EXPORTS) \
14387 (cd $(HOST_SUBDIR)/cloog && \
14388 $(MAKE) $(FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 check)
14390 @endif cloog
14392 .PHONY: install-cloog maybe-install-cloog
14393 maybe-install-cloog:
14394 @if cloog
14395 maybe-install-cloog: install-cloog
14397 install-cloog:
14399 @endif cloog
14401 .PHONY: install-strip-cloog maybe-install-strip-cloog
14402 maybe-install-strip-cloog:
14403 @if cloog
14404 maybe-install-strip-cloog: install-strip-cloog
14406 install-strip-cloog:
14408 @endif cloog
14410 # Other targets (info, dvi, pdf, etc.)
14412 .PHONY: maybe-info-cloog info-cloog
14413 maybe-info-cloog:
14414 @if cloog
14415 maybe-info-cloog: info-cloog
14417 info-cloog: \
14418 configure-cloog
14419 @[ -f ./cloog/Makefile ] || exit 0; \
14420 r=`${PWD_COMMAND}`; export r; \
14421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14422 $(HOST_EXPORTS) \
14423 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14425 done; \
14426 echo "Doing info in cloog" ; \
14427 (cd $(HOST_SUBDIR)/cloog && \
14428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14430 "RANLIB=$${RANLIB}" \
14431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14432 info) \
14433 || exit 1
14435 @endif cloog
14437 .PHONY: maybe-dvi-cloog dvi-cloog
14438 maybe-dvi-cloog:
14439 @if cloog
14440 maybe-dvi-cloog: dvi-cloog
14442 dvi-cloog: \
14443 configure-cloog
14444 @[ -f ./cloog/Makefile ] || exit 0; \
14445 r=`${PWD_COMMAND}`; export r; \
14446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14447 $(HOST_EXPORTS) \
14448 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14450 done; \
14451 echo "Doing dvi in cloog" ; \
14452 (cd $(HOST_SUBDIR)/cloog && \
14453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14455 "RANLIB=$${RANLIB}" \
14456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14457 dvi) \
14458 || exit 1
14460 @endif cloog
14462 .PHONY: maybe-pdf-cloog pdf-cloog
14463 maybe-pdf-cloog:
14464 @if cloog
14465 maybe-pdf-cloog: pdf-cloog
14467 pdf-cloog: \
14468 configure-cloog
14469 @[ -f ./cloog/Makefile ] || exit 0; \
14470 r=`${PWD_COMMAND}`; export r; \
14471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14472 $(HOST_EXPORTS) \
14473 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14475 done; \
14476 echo "Doing pdf in cloog" ; \
14477 (cd $(HOST_SUBDIR)/cloog && \
14478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14480 "RANLIB=$${RANLIB}" \
14481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14482 pdf) \
14483 || exit 1
14485 @endif cloog
14487 .PHONY: maybe-html-cloog html-cloog
14488 maybe-html-cloog:
14489 @if cloog
14490 maybe-html-cloog: html-cloog
14492 html-cloog: \
14493 configure-cloog
14494 @[ -f ./cloog/Makefile ] || exit 0; \
14495 r=`${PWD_COMMAND}`; export r; \
14496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14497 $(HOST_EXPORTS) \
14498 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14500 done; \
14501 echo "Doing html in cloog" ; \
14502 (cd $(HOST_SUBDIR)/cloog && \
14503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14505 "RANLIB=$${RANLIB}" \
14506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14507 html) \
14508 || exit 1
14510 @endif cloog
14512 .PHONY: maybe-TAGS-cloog TAGS-cloog
14513 maybe-TAGS-cloog:
14514 @if cloog
14515 maybe-TAGS-cloog: TAGS-cloog
14517 TAGS-cloog: \
14518 configure-cloog
14519 @[ -f ./cloog/Makefile ] || exit 0; \
14520 r=`${PWD_COMMAND}`; export r; \
14521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14522 $(HOST_EXPORTS) \
14523 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14525 done; \
14526 echo "Doing TAGS in cloog" ; \
14527 (cd $(HOST_SUBDIR)/cloog && \
14528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14530 "RANLIB=$${RANLIB}" \
14531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14532 TAGS) \
14533 || exit 1
14535 @endif cloog
14537 .PHONY: maybe-install-info-cloog install-info-cloog
14538 maybe-install-info-cloog:
14539 @if cloog
14540 maybe-install-info-cloog: install-info-cloog
14542 install-info-cloog: \
14543 configure-cloog \
14544 info-cloog
14545 @[ -f ./cloog/Makefile ] || exit 0; \
14546 r=`${PWD_COMMAND}`; export r; \
14547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14548 $(HOST_EXPORTS) \
14549 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14551 done; \
14552 echo "Doing install-info in cloog" ; \
14553 (cd $(HOST_SUBDIR)/cloog && \
14554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14556 "RANLIB=$${RANLIB}" \
14557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14558 install-info) \
14559 || exit 1
14561 @endif cloog
14563 .PHONY: maybe-install-pdf-cloog install-pdf-cloog
14564 maybe-install-pdf-cloog:
14565 @if cloog
14566 maybe-install-pdf-cloog: install-pdf-cloog
14568 install-pdf-cloog: \
14569 configure-cloog \
14570 pdf-cloog
14571 @[ -f ./cloog/Makefile ] || exit 0; \
14572 r=`${PWD_COMMAND}`; export r; \
14573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14574 $(HOST_EXPORTS) \
14575 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14577 done; \
14578 echo "Doing install-pdf in cloog" ; \
14579 (cd $(HOST_SUBDIR)/cloog && \
14580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14582 "RANLIB=$${RANLIB}" \
14583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14584 install-pdf) \
14585 || exit 1
14587 @endif cloog
14589 .PHONY: maybe-install-html-cloog install-html-cloog
14590 maybe-install-html-cloog:
14591 @if cloog
14592 maybe-install-html-cloog: install-html-cloog
14594 install-html-cloog: \
14595 configure-cloog \
14596 html-cloog
14597 @[ -f ./cloog/Makefile ] || exit 0; \
14598 r=`${PWD_COMMAND}`; export r; \
14599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14600 $(HOST_EXPORTS) \
14601 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14603 done; \
14604 echo "Doing install-html in cloog" ; \
14605 (cd $(HOST_SUBDIR)/cloog && \
14606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14608 "RANLIB=$${RANLIB}" \
14609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14610 install-html) \
14611 || exit 1
14613 @endif cloog
14615 .PHONY: maybe-installcheck-cloog installcheck-cloog
14616 maybe-installcheck-cloog:
14617 @if cloog
14618 maybe-installcheck-cloog: installcheck-cloog
14620 installcheck-cloog: \
14621 configure-cloog
14622 @[ -f ./cloog/Makefile ] || exit 0; \
14623 r=`${PWD_COMMAND}`; export r; \
14624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14625 $(HOST_EXPORTS) \
14626 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14628 done; \
14629 echo "Doing installcheck in cloog" ; \
14630 (cd $(HOST_SUBDIR)/cloog && \
14631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14633 "RANLIB=$${RANLIB}" \
14634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14635 installcheck) \
14636 || exit 1
14638 @endif cloog
14640 .PHONY: maybe-mostlyclean-cloog mostlyclean-cloog
14641 maybe-mostlyclean-cloog:
14642 @if cloog
14643 maybe-mostlyclean-cloog: mostlyclean-cloog
14645 mostlyclean-cloog:
14646 @[ -f ./cloog/Makefile ] || exit 0; \
14647 r=`${PWD_COMMAND}`; export r; \
14648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14649 $(HOST_EXPORTS) \
14650 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14652 done; \
14653 echo "Doing mostlyclean in cloog" ; \
14654 (cd $(HOST_SUBDIR)/cloog && \
14655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14657 "RANLIB=$${RANLIB}" \
14658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14659 mostlyclean) \
14660 || exit 1
14662 @endif cloog
14664 .PHONY: maybe-clean-cloog clean-cloog
14665 maybe-clean-cloog:
14666 @if cloog
14667 maybe-clean-cloog: clean-cloog
14669 clean-cloog:
14670 @[ -f ./cloog/Makefile ] || exit 0; \
14671 r=`${PWD_COMMAND}`; export r; \
14672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14673 $(HOST_EXPORTS) \
14674 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14676 done; \
14677 echo "Doing clean in cloog" ; \
14678 (cd $(HOST_SUBDIR)/cloog && \
14679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14681 "RANLIB=$${RANLIB}" \
14682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14683 clean) \
14684 || exit 1
14686 @endif cloog
14688 .PHONY: maybe-distclean-cloog distclean-cloog
14689 maybe-distclean-cloog:
14690 @if cloog
14691 maybe-distclean-cloog: distclean-cloog
14693 distclean-cloog:
14694 @[ -f ./cloog/Makefile ] || exit 0; \
14695 r=`${PWD_COMMAND}`; export r; \
14696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14697 $(HOST_EXPORTS) \
14698 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14700 done; \
14701 echo "Doing distclean in cloog" ; \
14702 (cd $(HOST_SUBDIR)/cloog && \
14703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14705 "RANLIB=$${RANLIB}" \
14706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14707 distclean) \
14708 || exit 1
14710 @endif cloog
14712 .PHONY: maybe-maintainer-clean-cloog maintainer-clean-cloog
14713 maybe-maintainer-clean-cloog:
14714 @if cloog
14715 maybe-maintainer-clean-cloog: maintainer-clean-cloog
14717 maintainer-clean-cloog:
14718 @[ -f ./cloog/Makefile ] || exit 0; \
14719 r=`${PWD_COMMAND}`; export r; \
14720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14721 $(HOST_EXPORTS) \
14722 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14724 done; \
14725 echo "Doing maintainer-clean in cloog" ; \
14726 (cd $(HOST_SUBDIR)/cloog && \
14727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14729 "RANLIB=$${RANLIB}" \
14730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14731 maintainer-clean) \
14732 || exit 1
14734 @endif cloog
14738 .PHONY: configure-libelf maybe-configure-libelf
14739 maybe-configure-libelf:
14740 @if gcc-bootstrap
14741 configure-libelf: stage_current
14742 @endif gcc-bootstrap
14743 @if libelf
14744 maybe-configure-libelf: configure-libelf
14745 configure-libelf:
14746 @r=`${PWD_COMMAND}`; export r; \
14747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14748 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14749 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14750 $(HOST_EXPORTS) \
14751 echo Configuring in $(HOST_SUBDIR)/libelf; \
14752 cd "$(HOST_SUBDIR)/libelf" || exit 1; \
14753 case $(srcdir) in \
14754 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14755 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14756 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14757 esac; \
14758 srcdiroption="--srcdir=$${topdir}/libelf"; \
14759 libsrcdir="$$s/libelf"; \
14760 $(SHELL) $${libsrcdir}/configure \
14761 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14762 --target=${target_alias} $${srcdiroption} --disable-shared \
14763 || exit 1
14764 @endif libelf
14768 .PHONY: configure-stage1-libelf maybe-configure-stage1-libelf
14769 maybe-configure-stage1-libelf:
14770 @if libelf-bootstrap
14771 maybe-configure-stage1-libelf: configure-stage1-libelf
14772 configure-stage1-libelf:
14773 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14774 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14775 @r=`${PWD_COMMAND}`; export r; \
14776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14777 TFLAGS="$(STAGE1_TFLAGS)"; \
14778 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14779 $(HOST_EXPORTS) \
14780 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
14781 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
14782 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
14783 echo Configuring stage 1 in $(HOST_SUBDIR)/libelf ; \
14784 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14785 cd $(HOST_SUBDIR)/libelf || exit 1; \
14786 case $(srcdir) in \
14787 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14788 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14789 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14790 esac; \
14791 srcdiroption="--srcdir=$${topdir}/libelf"; \
14792 libsrcdir="$$s/libelf"; \
14793 $(SHELL) $${libsrcdir}/configure \
14794 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14795 --target=${target_alias} $${srcdiroption} \
14796 $(STAGE1_CONFIGURE_FLAGS) \
14797 --disable-shared
14798 @endif libelf-bootstrap
14800 .PHONY: configure-stage2-libelf maybe-configure-stage2-libelf
14801 maybe-configure-stage2-libelf:
14802 @if libelf-bootstrap
14803 maybe-configure-stage2-libelf: configure-stage2-libelf
14804 configure-stage2-libelf:
14805 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14806 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14807 @r=`${PWD_COMMAND}`; export r; \
14808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14809 TFLAGS="$(STAGE2_TFLAGS)"; \
14810 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14811 $(HOST_EXPORTS) \
14812 $(POSTSTAGE1_HOST_EXPORTS) \
14813 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
14814 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
14815 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
14816 echo Configuring stage 2 in $(HOST_SUBDIR)/libelf ; \
14817 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14818 cd $(HOST_SUBDIR)/libelf || exit 1; \
14819 case $(srcdir) in \
14820 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14821 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14822 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14823 esac; \
14824 srcdiroption="--srcdir=$${topdir}/libelf"; \
14825 libsrcdir="$$s/libelf"; \
14826 $(SHELL) $${libsrcdir}/configure \
14827 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14828 --target=${target_alias} $${srcdiroption} \
14829 --with-build-libsubdir=$(HOST_SUBDIR) \
14830 $(STAGE2_CONFIGURE_FLAGS) \
14831 --disable-shared
14832 @endif libelf-bootstrap
14834 .PHONY: configure-stage3-libelf maybe-configure-stage3-libelf
14835 maybe-configure-stage3-libelf:
14836 @if libelf-bootstrap
14837 maybe-configure-stage3-libelf: configure-stage3-libelf
14838 configure-stage3-libelf:
14839 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14840 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14841 @r=`${PWD_COMMAND}`; export r; \
14842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14843 TFLAGS="$(STAGE3_TFLAGS)"; \
14844 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14845 $(HOST_EXPORTS) \
14846 $(POSTSTAGE1_HOST_EXPORTS) \
14847 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14848 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
14849 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
14850 echo Configuring stage 3 in $(HOST_SUBDIR)/libelf ; \
14851 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14852 cd $(HOST_SUBDIR)/libelf || exit 1; \
14853 case $(srcdir) in \
14854 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14855 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14856 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14857 esac; \
14858 srcdiroption="--srcdir=$${topdir}/libelf"; \
14859 libsrcdir="$$s/libelf"; \
14860 $(SHELL) $${libsrcdir}/configure \
14861 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14862 --target=${target_alias} $${srcdiroption} \
14863 --with-build-libsubdir=$(HOST_SUBDIR) \
14864 $(STAGE3_CONFIGURE_FLAGS) \
14865 --disable-shared
14866 @endif libelf-bootstrap
14868 .PHONY: configure-stage4-libelf maybe-configure-stage4-libelf
14869 maybe-configure-stage4-libelf:
14870 @if libelf-bootstrap
14871 maybe-configure-stage4-libelf: configure-stage4-libelf
14872 configure-stage4-libelf:
14873 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14874 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14875 @r=`${PWD_COMMAND}`; export r; \
14876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14877 TFLAGS="$(STAGE4_TFLAGS)"; \
14878 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14879 $(HOST_EXPORTS) \
14880 $(POSTSTAGE1_HOST_EXPORTS) \
14881 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14882 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14883 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
14884 echo Configuring stage 4 in $(HOST_SUBDIR)/libelf ; \
14885 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14886 cd $(HOST_SUBDIR)/libelf || exit 1; \
14887 case $(srcdir) in \
14888 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14889 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14890 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14891 esac; \
14892 srcdiroption="--srcdir=$${topdir}/libelf"; \
14893 libsrcdir="$$s/libelf"; \
14894 $(SHELL) $${libsrcdir}/configure \
14895 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14896 --target=${target_alias} $${srcdiroption} \
14897 --with-build-libsubdir=$(HOST_SUBDIR) \
14898 $(STAGE4_CONFIGURE_FLAGS) \
14899 --disable-shared
14900 @endif libelf-bootstrap
14902 .PHONY: configure-stageprofile-libelf maybe-configure-stageprofile-libelf
14903 maybe-configure-stageprofile-libelf:
14904 @if libelf-bootstrap
14905 maybe-configure-stageprofile-libelf: configure-stageprofile-libelf
14906 configure-stageprofile-libelf:
14907 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14908 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14909 @r=`${PWD_COMMAND}`; export r; \
14910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14911 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14912 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14913 $(HOST_EXPORTS) \
14914 $(POSTSTAGE1_HOST_EXPORTS) \
14915 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14916 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14917 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
14918 echo Configuring stage profile in $(HOST_SUBDIR)/libelf ; \
14919 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14920 cd $(HOST_SUBDIR)/libelf || exit 1; \
14921 case $(srcdir) in \
14922 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14923 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14924 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14925 esac; \
14926 srcdiroption="--srcdir=$${topdir}/libelf"; \
14927 libsrcdir="$$s/libelf"; \
14928 $(SHELL) $${libsrcdir}/configure \
14929 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14930 --target=${target_alias} $${srcdiroption} \
14931 --with-build-libsubdir=$(HOST_SUBDIR) \
14932 $(STAGEprofile_CONFIGURE_FLAGS) \
14933 --disable-shared
14934 @endif libelf-bootstrap
14936 .PHONY: configure-stagefeedback-libelf maybe-configure-stagefeedback-libelf
14937 maybe-configure-stagefeedback-libelf:
14938 @if libelf-bootstrap
14939 maybe-configure-stagefeedback-libelf: configure-stagefeedback-libelf
14940 configure-stagefeedback-libelf:
14941 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14942 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14943 @r=`${PWD_COMMAND}`; export r; \
14944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14945 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14946 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14947 $(HOST_EXPORTS) \
14948 $(POSTSTAGE1_HOST_EXPORTS) \
14949 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14950 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14951 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
14952 echo Configuring stage feedback in $(HOST_SUBDIR)/libelf ; \
14953 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14954 cd $(HOST_SUBDIR)/libelf || exit 1; \
14955 case $(srcdir) in \
14956 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14957 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14958 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14959 esac; \
14960 srcdiroption="--srcdir=$${topdir}/libelf"; \
14961 libsrcdir="$$s/libelf"; \
14962 $(SHELL) $${libsrcdir}/configure \
14963 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14964 --target=${target_alias} $${srcdiroption} \
14965 --with-build-libsubdir=$(HOST_SUBDIR) \
14966 $(STAGEfeedback_CONFIGURE_FLAGS) \
14967 --disable-shared
14968 @endif libelf-bootstrap
14974 .PHONY: all-libelf maybe-all-libelf
14975 maybe-all-libelf:
14976 @if gcc-bootstrap
14977 all-libelf: stage_current
14978 @endif gcc-bootstrap
14979 @if libelf
14980 TARGET-libelf=all
14981 maybe-all-libelf: all-libelf
14982 all-libelf: configure-libelf
14983 @r=`${PWD_COMMAND}`; export r; \
14984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14985 $(HOST_EXPORTS) \
14986 (cd $(HOST_SUBDIR)/libelf && \
14987 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
14988 $(TARGET-libelf))
14989 @endif libelf
14993 .PHONY: all-stage1-libelf maybe-all-stage1-libelf
14994 .PHONY: clean-stage1-libelf maybe-clean-stage1-libelf
14995 maybe-all-stage1-libelf:
14996 maybe-clean-stage1-libelf:
14997 @if libelf-bootstrap
14998 maybe-all-stage1-libelf: all-stage1-libelf
14999 all-stage1: all-stage1-libelf
15000 TARGET-stage1-libelf = $(TARGET-libelf)
15001 all-stage1-libelf: configure-stage1-libelf
15002 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15003 @r=`${PWD_COMMAND}`; export r; \
15004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15005 TFLAGS="$(STAGE1_TFLAGS)"; \
15006 $(HOST_EXPORTS) \
15007 cd $(HOST_SUBDIR)/libelf && \
15008 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15009 CFLAGS="$(STAGE1_CFLAGS)" \
15010 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15011 LIBCFLAGS="$(LIBCFLAGS)" \
15012 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15013 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15014 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15015 $(EXTRA_HOST_FLAGS) \
15016 TFLAGS="$(STAGE1_TFLAGS)" \
15017 $(TARGET-stage1-libelf)
15019 maybe-clean-stage1-libelf: clean-stage1-libelf
15020 clean-stage1: clean-stage1-libelf
15021 clean-stage1-libelf:
15022 @if [ $(current_stage) = stage1 ]; then \
15023 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15024 else \
15025 [ -f $(HOST_SUBDIR)/stage1-libelf/Makefile ] || exit 0; \
15026 $(MAKE) stage1-start; \
15027 fi; \
15028 cd $(HOST_SUBDIR)/libelf && \
15029 $(MAKE) $(EXTRA_HOST_FLAGS) \
15030 clean
15031 @endif libelf-bootstrap
15034 .PHONY: all-stage2-libelf maybe-all-stage2-libelf
15035 .PHONY: clean-stage2-libelf maybe-clean-stage2-libelf
15036 maybe-all-stage2-libelf:
15037 maybe-clean-stage2-libelf:
15038 @if libelf-bootstrap
15039 maybe-all-stage2-libelf: all-stage2-libelf
15040 all-stage2: all-stage2-libelf
15041 TARGET-stage2-libelf = $(TARGET-libelf)
15042 all-stage2-libelf: configure-stage2-libelf
15043 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15044 @r=`${PWD_COMMAND}`; export r; \
15045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15046 TFLAGS="$(STAGE2_TFLAGS)"; \
15047 $(HOST_EXPORTS) \
15048 $(POSTSTAGE1_HOST_EXPORTS) \
15049 cd $(HOST_SUBDIR)/libelf && \
15050 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15051 CFLAGS="$(STAGE2_CFLAGS)" \
15052 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15053 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15054 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15055 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15056 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15057 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15058 TFLAGS="$(STAGE2_TFLAGS)" \
15059 $(TARGET-stage2-libelf)
15061 maybe-clean-stage2-libelf: clean-stage2-libelf
15062 clean-stage2: clean-stage2-libelf
15063 clean-stage2-libelf:
15064 @if [ $(current_stage) = stage2 ]; then \
15065 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15066 else \
15067 [ -f $(HOST_SUBDIR)/stage2-libelf/Makefile ] || exit 0; \
15068 $(MAKE) stage2-start; \
15069 fi; \
15070 cd $(HOST_SUBDIR)/libelf && \
15071 $(MAKE) $(EXTRA_HOST_FLAGS) \
15072 $(POSTSTAGE1_FLAGS_TO_PASS) \
15073 clean
15074 @endif libelf-bootstrap
15077 .PHONY: all-stage3-libelf maybe-all-stage3-libelf
15078 .PHONY: clean-stage3-libelf maybe-clean-stage3-libelf
15079 maybe-all-stage3-libelf:
15080 maybe-clean-stage3-libelf:
15081 @if libelf-bootstrap
15082 maybe-all-stage3-libelf: all-stage3-libelf
15083 all-stage3: all-stage3-libelf
15084 TARGET-stage3-libelf = $(TARGET-libelf)
15085 all-stage3-libelf: configure-stage3-libelf
15086 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15087 @r=`${PWD_COMMAND}`; export r; \
15088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15089 TFLAGS="$(STAGE3_TFLAGS)"; \
15090 $(HOST_EXPORTS) \
15091 $(POSTSTAGE1_HOST_EXPORTS) \
15092 cd $(HOST_SUBDIR)/libelf && \
15093 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15094 CFLAGS="$(STAGE3_CFLAGS)" \
15095 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15096 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15097 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15098 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15099 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15100 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15101 TFLAGS="$(STAGE3_TFLAGS)" \
15102 $(TARGET-stage3-libelf)
15104 maybe-clean-stage3-libelf: clean-stage3-libelf
15105 clean-stage3: clean-stage3-libelf
15106 clean-stage3-libelf:
15107 @if [ $(current_stage) = stage3 ]; then \
15108 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15109 else \
15110 [ -f $(HOST_SUBDIR)/stage3-libelf/Makefile ] || exit 0; \
15111 $(MAKE) stage3-start; \
15112 fi; \
15113 cd $(HOST_SUBDIR)/libelf && \
15114 $(MAKE) $(EXTRA_HOST_FLAGS) \
15115 $(POSTSTAGE1_FLAGS_TO_PASS) \
15116 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) \
15158 $(POSTSTAGE1_FLAGS_TO_PASS) \
15159 clean
15160 @endif libelf-bootstrap
15163 .PHONY: all-stageprofile-libelf maybe-all-stageprofile-libelf
15164 .PHONY: clean-stageprofile-libelf maybe-clean-stageprofile-libelf
15165 maybe-all-stageprofile-libelf:
15166 maybe-clean-stageprofile-libelf:
15167 @if libelf-bootstrap
15168 maybe-all-stageprofile-libelf: all-stageprofile-libelf
15169 all-stageprofile: all-stageprofile-libelf
15170 TARGET-stageprofile-libelf = $(TARGET-libelf)
15171 all-stageprofile-libelf: configure-stageprofile-libelf
15172 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15173 @r=`${PWD_COMMAND}`; export r; \
15174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15175 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15176 $(HOST_EXPORTS) \
15177 $(POSTSTAGE1_HOST_EXPORTS) \
15178 cd $(HOST_SUBDIR)/libelf && \
15179 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15180 CFLAGS="$(STAGEprofile_CFLAGS)" \
15181 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
15182 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
15183 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15184 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15185 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15186 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15187 TFLAGS="$(STAGEprofile_TFLAGS)" \
15188 $(TARGET-stageprofile-libelf)
15190 maybe-clean-stageprofile-libelf: clean-stageprofile-libelf
15191 clean-stageprofile: clean-stageprofile-libelf
15192 clean-stageprofile-libelf:
15193 @if [ $(current_stage) = stageprofile ]; then \
15194 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15195 else \
15196 [ -f $(HOST_SUBDIR)/stageprofile-libelf/Makefile ] || exit 0; \
15197 $(MAKE) stageprofile-start; \
15198 fi; \
15199 cd $(HOST_SUBDIR)/libelf && \
15200 $(MAKE) $(EXTRA_HOST_FLAGS) \
15201 $(POSTSTAGE1_FLAGS_TO_PASS) \
15202 clean
15203 @endif libelf-bootstrap
15206 .PHONY: all-stagefeedback-libelf maybe-all-stagefeedback-libelf
15207 .PHONY: clean-stagefeedback-libelf maybe-clean-stagefeedback-libelf
15208 maybe-all-stagefeedback-libelf:
15209 maybe-clean-stagefeedback-libelf:
15210 @if libelf-bootstrap
15211 maybe-all-stagefeedback-libelf: all-stagefeedback-libelf
15212 all-stagefeedback: all-stagefeedback-libelf
15213 TARGET-stagefeedback-libelf = $(TARGET-libelf)
15214 all-stagefeedback-libelf: configure-stagefeedback-libelf
15215 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15216 @r=`${PWD_COMMAND}`; export r; \
15217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15218 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15219 $(HOST_EXPORTS) \
15220 $(POSTSTAGE1_HOST_EXPORTS) \
15221 cd $(HOST_SUBDIR)/libelf && \
15222 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15223 CFLAGS="$(STAGEfeedback_CFLAGS)" \
15224 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
15225 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
15226 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15227 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15228 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15229 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15230 TFLAGS="$(STAGEfeedback_TFLAGS)" \
15231 $(TARGET-stagefeedback-libelf)
15233 maybe-clean-stagefeedback-libelf: clean-stagefeedback-libelf
15234 clean-stagefeedback: clean-stagefeedback-libelf
15235 clean-stagefeedback-libelf:
15236 @if [ $(current_stage) = stagefeedback ]; then \
15237 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15238 else \
15239 [ -f $(HOST_SUBDIR)/stagefeedback-libelf/Makefile ] || exit 0; \
15240 $(MAKE) stagefeedback-start; \
15241 fi; \
15242 cd $(HOST_SUBDIR)/libelf && \
15243 $(MAKE) $(EXTRA_HOST_FLAGS) \
15244 $(POSTSTAGE1_FLAGS_TO_PASS) \
15245 clean
15246 @endif libelf-bootstrap
15252 .PHONY: check-libelf maybe-check-libelf
15253 maybe-check-libelf:
15254 @if libelf
15255 maybe-check-libelf: check-libelf
15257 check-libelf:
15258 @: $(MAKE); $(unstage)
15259 @r=`${PWD_COMMAND}`; export r; \
15260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15261 $(HOST_EXPORTS) \
15262 (cd $(HOST_SUBDIR)/libelf && \
15263 $(MAKE) $(FLAGS_TO_PASS) check)
15265 @endif libelf
15267 .PHONY: install-libelf maybe-install-libelf
15268 maybe-install-libelf:
15269 @if libelf
15270 maybe-install-libelf: install-libelf
15272 install-libelf:
15274 @endif libelf
15276 .PHONY: install-strip-libelf maybe-install-strip-libelf
15277 maybe-install-strip-libelf:
15278 @if libelf
15279 maybe-install-strip-libelf: install-strip-libelf
15281 install-strip-libelf:
15283 @endif libelf
15285 # Other targets (info, dvi, pdf, etc.)
15287 .PHONY: maybe-info-libelf info-libelf
15288 maybe-info-libelf:
15289 @if libelf
15290 maybe-info-libelf: info-libelf
15292 info-libelf: \
15293 configure-libelf
15294 @[ -f ./libelf/Makefile ] || exit 0; \
15295 r=`${PWD_COMMAND}`; export r; \
15296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15297 $(HOST_EXPORTS) \
15298 for flag in $(EXTRA_HOST_FLAGS) ; do \
15299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15300 done; \
15301 echo "Doing info in libelf" ; \
15302 (cd $(HOST_SUBDIR)/libelf && \
15303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15305 "RANLIB=$${RANLIB}" \
15306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15307 info) \
15308 || exit 1
15310 @endif libelf
15312 .PHONY: maybe-dvi-libelf dvi-libelf
15313 maybe-dvi-libelf:
15314 @if libelf
15315 maybe-dvi-libelf: dvi-libelf
15317 dvi-libelf: \
15318 configure-libelf
15319 @[ -f ./libelf/Makefile ] || exit 0; \
15320 r=`${PWD_COMMAND}`; export r; \
15321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15322 $(HOST_EXPORTS) \
15323 for flag in $(EXTRA_HOST_FLAGS) ; do \
15324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15325 done; \
15326 echo "Doing dvi in libelf" ; \
15327 (cd $(HOST_SUBDIR)/libelf && \
15328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15330 "RANLIB=$${RANLIB}" \
15331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15332 dvi) \
15333 || exit 1
15335 @endif libelf
15337 .PHONY: maybe-pdf-libelf pdf-libelf
15338 maybe-pdf-libelf:
15339 @if libelf
15340 maybe-pdf-libelf: pdf-libelf
15342 pdf-libelf: \
15343 configure-libelf
15344 @[ -f ./libelf/Makefile ] || exit 0; \
15345 r=`${PWD_COMMAND}`; export r; \
15346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15347 $(HOST_EXPORTS) \
15348 for flag in $(EXTRA_HOST_FLAGS) ; do \
15349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15350 done; \
15351 echo "Doing pdf in libelf" ; \
15352 (cd $(HOST_SUBDIR)/libelf && \
15353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15355 "RANLIB=$${RANLIB}" \
15356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15357 pdf) \
15358 || exit 1
15360 @endif libelf
15362 .PHONY: maybe-html-libelf html-libelf
15363 maybe-html-libelf:
15364 @if libelf
15365 maybe-html-libelf: html-libelf
15367 html-libelf: \
15368 configure-libelf
15369 @[ -f ./libelf/Makefile ] || exit 0; \
15370 r=`${PWD_COMMAND}`; export r; \
15371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15372 $(HOST_EXPORTS) \
15373 for flag in $(EXTRA_HOST_FLAGS) ; do \
15374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15375 done; \
15376 echo "Doing html in libelf" ; \
15377 (cd $(HOST_SUBDIR)/libelf && \
15378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15380 "RANLIB=$${RANLIB}" \
15381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15382 html) \
15383 || exit 1
15385 @endif libelf
15387 .PHONY: maybe-TAGS-libelf TAGS-libelf
15388 maybe-TAGS-libelf:
15389 @if libelf
15390 maybe-TAGS-libelf: TAGS-libelf
15392 TAGS-libelf: \
15393 configure-libelf
15394 @[ -f ./libelf/Makefile ] || exit 0; \
15395 r=`${PWD_COMMAND}`; export r; \
15396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15397 $(HOST_EXPORTS) \
15398 for flag in $(EXTRA_HOST_FLAGS) ; do \
15399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15400 done; \
15401 echo "Doing TAGS in libelf" ; \
15402 (cd $(HOST_SUBDIR)/libelf && \
15403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15405 "RANLIB=$${RANLIB}" \
15406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15407 TAGS) \
15408 || exit 1
15410 @endif libelf
15412 .PHONY: maybe-install-info-libelf install-info-libelf
15413 maybe-install-info-libelf:
15414 @if libelf
15415 maybe-install-info-libelf: install-info-libelf
15417 install-info-libelf: \
15418 configure-libelf \
15419 info-libelf
15420 @[ -f ./libelf/Makefile ] || exit 0; \
15421 r=`${PWD_COMMAND}`; export r; \
15422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15423 $(HOST_EXPORTS) \
15424 for flag in $(EXTRA_HOST_FLAGS) ; do \
15425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15426 done; \
15427 echo "Doing install-info in libelf" ; \
15428 (cd $(HOST_SUBDIR)/libelf && \
15429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15431 "RANLIB=$${RANLIB}" \
15432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15433 install-info) \
15434 || exit 1
15436 @endif libelf
15438 .PHONY: maybe-install-pdf-libelf install-pdf-libelf
15439 maybe-install-pdf-libelf:
15440 @if libelf
15441 maybe-install-pdf-libelf: install-pdf-libelf
15443 install-pdf-libelf: \
15444 configure-libelf \
15445 pdf-libelf
15446 @[ -f ./libelf/Makefile ] || exit 0; \
15447 r=`${PWD_COMMAND}`; export r; \
15448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15449 $(HOST_EXPORTS) \
15450 for flag in $(EXTRA_HOST_FLAGS) ; do \
15451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15452 done; \
15453 echo "Doing install-pdf in libelf" ; \
15454 (cd $(HOST_SUBDIR)/libelf && \
15455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15457 "RANLIB=$${RANLIB}" \
15458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15459 install-pdf) \
15460 || exit 1
15462 @endif libelf
15464 .PHONY: maybe-install-html-libelf install-html-libelf
15465 maybe-install-html-libelf:
15466 @if libelf
15467 maybe-install-html-libelf: install-html-libelf
15469 install-html-libelf: \
15470 configure-libelf \
15471 html-libelf
15472 @[ -f ./libelf/Makefile ] || exit 0; \
15473 r=`${PWD_COMMAND}`; export r; \
15474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15475 $(HOST_EXPORTS) \
15476 for flag in $(EXTRA_HOST_FLAGS) ; do \
15477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15478 done; \
15479 echo "Doing install-html in libelf" ; \
15480 (cd $(HOST_SUBDIR)/libelf && \
15481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15483 "RANLIB=$${RANLIB}" \
15484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15485 install-html) \
15486 || exit 1
15488 @endif libelf
15490 .PHONY: maybe-installcheck-libelf installcheck-libelf
15491 maybe-installcheck-libelf:
15492 @if libelf
15493 maybe-installcheck-libelf: installcheck-libelf
15495 installcheck-libelf: \
15496 configure-libelf
15497 @[ -f ./libelf/Makefile ] || exit 0; \
15498 r=`${PWD_COMMAND}`; export r; \
15499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15500 $(HOST_EXPORTS) \
15501 for flag in $(EXTRA_HOST_FLAGS) ; do \
15502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15503 done; \
15504 echo "Doing installcheck in libelf" ; \
15505 (cd $(HOST_SUBDIR)/libelf && \
15506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15508 "RANLIB=$${RANLIB}" \
15509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15510 installcheck) \
15511 || exit 1
15513 @endif libelf
15515 .PHONY: maybe-mostlyclean-libelf mostlyclean-libelf
15516 maybe-mostlyclean-libelf:
15517 @if libelf
15518 maybe-mostlyclean-libelf: mostlyclean-libelf
15520 mostlyclean-libelf:
15521 @[ -f ./libelf/Makefile ] || exit 0; \
15522 r=`${PWD_COMMAND}`; export r; \
15523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15524 $(HOST_EXPORTS) \
15525 for flag in $(EXTRA_HOST_FLAGS) ; do \
15526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15527 done; \
15528 echo "Doing mostlyclean in libelf" ; \
15529 (cd $(HOST_SUBDIR)/libelf && \
15530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15532 "RANLIB=$${RANLIB}" \
15533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15534 mostlyclean) \
15535 || exit 1
15537 @endif libelf
15539 .PHONY: maybe-clean-libelf clean-libelf
15540 maybe-clean-libelf:
15541 @if libelf
15542 maybe-clean-libelf: clean-libelf
15544 clean-libelf:
15545 @[ -f ./libelf/Makefile ] || exit 0; \
15546 r=`${PWD_COMMAND}`; export r; \
15547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15548 $(HOST_EXPORTS) \
15549 for flag in $(EXTRA_HOST_FLAGS) ; do \
15550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15551 done; \
15552 echo "Doing clean in libelf" ; \
15553 (cd $(HOST_SUBDIR)/libelf && \
15554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15556 "RANLIB=$${RANLIB}" \
15557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15558 clean) \
15559 || exit 1
15561 @endif libelf
15563 .PHONY: maybe-distclean-libelf distclean-libelf
15564 maybe-distclean-libelf:
15565 @if libelf
15566 maybe-distclean-libelf: distclean-libelf
15568 distclean-libelf:
15569 @[ -f ./libelf/Makefile ] || exit 0; \
15570 r=`${PWD_COMMAND}`; export r; \
15571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15572 $(HOST_EXPORTS) \
15573 for flag in $(EXTRA_HOST_FLAGS) ; do \
15574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15575 done; \
15576 echo "Doing distclean in libelf" ; \
15577 (cd $(HOST_SUBDIR)/libelf && \
15578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15580 "RANLIB=$${RANLIB}" \
15581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15582 distclean) \
15583 || exit 1
15585 @endif libelf
15587 .PHONY: maybe-maintainer-clean-libelf maintainer-clean-libelf
15588 maybe-maintainer-clean-libelf:
15589 @if libelf
15590 maybe-maintainer-clean-libelf: maintainer-clean-libelf
15592 maintainer-clean-libelf:
15593 @[ -f ./libelf/Makefile ] || exit 0; \
15594 r=`${PWD_COMMAND}`; export r; \
15595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15596 $(HOST_EXPORTS) \
15597 for flag in $(EXTRA_HOST_FLAGS) ; do \
15598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15599 done; \
15600 echo "Doing maintainer-clean in libelf" ; \
15601 (cd $(HOST_SUBDIR)/libelf && \
15602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15604 "RANLIB=$${RANLIB}" \
15605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15606 maintainer-clean) \
15607 || exit 1
15609 @endif libelf
15613 .PHONY: configure-gold maybe-configure-gold
15614 maybe-configure-gold:
15615 @if gcc-bootstrap
15616 configure-gold: stage_current
15617 @endif gcc-bootstrap
15618 @if gold
15619 maybe-configure-gold: configure-gold
15620 configure-gold:
15621 @r=`${PWD_COMMAND}`; export r; \
15622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15623 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15624 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15625 $(HOST_EXPORTS) \
15626 echo Configuring in $(HOST_SUBDIR)/gold; \
15627 cd "$(HOST_SUBDIR)/gold" || exit 1; \
15628 case $(srcdir) in \
15629 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15630 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15631 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15632 esac; \
15633 srcdiroption="--srcdir=$${topdir}/gold"; \
15634 libsrcdir="$$s/gold"; \
15635 $(SHELL) $${libsrcdir}/configure \
15636 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15637 --target=${target_alias} $${srcdiroption} \
15638 || exit 1
15639 @endif gold
15643 .PHONY: configure-stage1-gold maybe-configure-stage1-gold
15644 maybe-configure-stage1-gold:
15645 @if gold-bootstrap
15646 maybe-configure-stage1-gold: configure-stage1-gold
15647 configure-stage1-gold:
15648 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15649 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15650 @r=`${PWD_COMMAND}`; export r; \
15651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15652 TFLAGS="$(STAGE1_TFLAGS)"; \
15653 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15654 $(HOST_EXPORTS) \
15655 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
15656 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
15657 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
15658 echo Configuring stage 1 in $(HOST_SUBDIR)/gold ; \
15659 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15660 cd $(HOST_SUBDIR)/gold || exit 1; \
15661 case $(srcdir) in \
15662 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15663 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15664 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15665 esac; \
15666 srcdiroption="--srcdir=$${topdir}/gold"; \
15667 libsrcdir="$$s/gold"; \
15668 $(SHELL) $${libsrcdir}/configure \
15669 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15670 --target=${target_alias} $${srcdiroption} \
15671 $(STAGE1_CONFIGURE_FLAGS)
15672 @endif gold-bootstrap
15674 .PHONY: configure-stage2-gold maybe-configure-stage2-gold
15675 maybe-configure-stage2-gold:
15676 @if gold-bootstrap
15677 maybe-configure-stage2-gold: configure-stage2-gold
15678 configure-stage2-gold:
15679 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15680 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15681 @r=`${PWD_COMMAND}`; export r; \
15682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15683 TFLAGS="$(STAGE2_TFLAGS)"; \
15684 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15685 $(HOST_EXPORTS) \
15686 $(POSTSTAGE1_HOST_EXPORTS) \
15687 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
15688 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
15689 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
15690 echo Configuring stage 2 in $(HOST_SUBDIR)/gold ; \
15691 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15692 cd $(HOST_SUBDIR)/gold || exit 1; \
15693 case $(srcdir) in \
15694 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15695 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15696 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15697 esac; \
15698 srcdiroption="--srcdir=$${topdir}/gold"; \
15699 libsrcdir="$$s/gold"; \
15700 $(SHELL) $${libsrcdir}/configure \
15701 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15702 --target=${target_alias} $${srcdiroption} \
15703 --with-build-libsubdir=$(HOST_SUBDIR) \
15704 $(STAGE2_CONFIGURE_FLAGS)
15705 @endif gold-bootstrap
15707 .PHONY: configure-stage3-gold maybe-configure-stage3-gold
15708 maybe-configure-stage3-gold:
15709 @if gold-bootstrap
15710 maybe-configure-stage3-gold: configure-stage3-gold
15711 configure-stage3-gold:
15712 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15713 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15714 @r=`${PWD_COMMAND}`; export r; \
15715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15716 TFLAGS="$(STAGE3_TFLAGS)"; \
15717 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15718 $(HOST_EXPORTS) \
15719 $(POSTSTAGE1_HOST_EXPORTS) \
15720 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
15721 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
15722 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
15723 echo Configuring stage 3 in $(HOST_SUBDIR)/gold ; \
15724 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15725 cd $(HOST_SUBDIR)/gold || exit 1; \
15726 case $(srcdir) in \
15727 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15728 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15729 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15730 esac; \
15731 srcdiroption="--srcdir=$${topdir}/gold"; \
15732 libsrcdir="$$s/gold"; \
15733 $(SHELL) $${libsrcdir}/configure \
15734 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15735 --target=${target_alias} $${srcdiroption} \
15736 --with-build-libsubdir=$(HOST_SUBDIR) \
15737 $(STAGE3_CONFIGURE_FLAGS)
15738 @endif gold-bootstrap
15740 .PHONY: configure-stage4-gold maybe-configure-stage4-gold
15741 maybe-configure-stage4-gold:
15742 @if gold-bootstrap
15743 maybe-configure-stage4-gold: configure-stage4-gold
15744 configure-stage4-gold:
15745 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15746 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15747 @r=`${PWD_COMMAND}`; export r; \
15748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15749 TFLAGS="$(STAGE4_TFLAGS)"; \
15750 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15751 $(HOST_EXPORTS) \
15752 $(POSTSTAGE1_HOST_EXPORTS) \
15753 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
15754 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
15755 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
15756 echo Configuring stage 4 in $(HOST_SUBDIR)/gold ; \
15757 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15758 cd $(HOST_SUBDIR)/gold || exit 1; \
15759 case $(srcdir) in \
15760 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15761 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15762 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15763 esac; \
15764 srcdiroption="--srcdir=$${topdir}/gold"; \
15765 libsrcdir="$$s/gold"; \
15766 $(SHELL) $${libsrcdir}/configure \
15767 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15768 --target=${target_alias} $${srcdiroption} \
15769 --with-build-libsubdir=$(HOST_SUBDIR) \
15770 $(STAGE4_CONFIGURE_FLAGS)
15771 @endif gold-bootstrap
15773 .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold
15774 maybe-configure-stageprofile-gold:
15775 @if gold-bootstrap
15776 maybe-configure-stageprofile-gold: configure-stageprofile-gold
15777 configure-stageprofile-gold:
15778 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15779 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15780 @r=`${PWD_COMMAND}`; export r; \
15781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15782 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15783 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15784 $(HOST_EXPORTS) \
15785 $(POSTSTAGE1_HOST_EXPORTS) \
15786 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
15787 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
15788 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
15789 echo Configuring stage profile in $(HOST_SUBDIR)/gold ; \
15790 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15791 cd $(HOST_SUBDIR)/gold || exit 1; \
15792 case $(srcdir) in \
15793 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15794 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15795 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15796 esac; \
15797 srcdiroption="--srcdir=$${topdir}/gold"; \
15798 libsrcdir="$$s/gold"; \
15799 $(SHELL) $${libsrcdir}/configure \
15800 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15801 --target=${target_alias} $${srcdiroption} \
15802 --with-build-libsubdir=$(HOST_SUBDIR) \
15803 $(STAGEprofile_CONFIGURE_FLAGS)
15804 @endif gold-bootstrap
15806 .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold
15807 maybe-configure-stagefeedback-gold:
15808 @if gold-bootstrap
15809 maybe-configure-stagefeedback-gold: configure-stagefeedback-gold
15810 configure-stagefeedback-gold:
15811 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15812 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15813 @r=`${PWD_COMMAND}`; export r; \
15814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15815 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15816 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15817 $(HOST_EXPORTS) \
15818 $(POSTSTAGE1_HOST_EXPORTS) \
15819 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
15820 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
15821 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
15822 echo Configuring stage feedback in $(HOST_SUBDIR)/gold ; \
15823 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15824 cd $(HOST_SUBDIR)/gold || exit 1; \
15825 case $(srcdir) in \
15826 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15827 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15828 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15829 esac; \
15830 srcdiroption="--srcdir=$${topdir}/gold"; \
15831 libsrcdir="$$s/gold"; \
15832 $(SHELL) $${libsrcdir}/configure \
15833 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15834 --target=${target_alias} $${srcdiroption} \
15835 --with-build-libsubdir=$(HOST_SUBDIR) \
15836 $(STAGEfeedback_CONFIGURE_FLAGS)
15837 @endif gold-bootstrap
15843 .PHONY: all-gold maybe-all-gold
15844 maybe-all-gold:
15845 @if gcc-bootstrap
15846 all-gold: stage_current
15847 @endif gcc-bootstrap
15848 @if gold
15849 TARGET-gold=all
15850 maybe-all-gold: all-gold
15851 all-gold: configure-gold
15852 @r=`${PWD_COMMAND}`; export r; \
15853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15854 $(HOST_EXPORTS) \
15855 (cd $(HOST_SUBDIR)/gold && \
15856 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
15857 $(TARGET-gold))
15858 @endif gold
15862 .PHONY: all-stage1-gold maybe-all-stage1-gold
15863 .PHONY: clean-stage1-gold maybe-clean-stage1-gold
15864 maybe-all-stage1-gold:
15865 maybe-clean-stage1-gold:
15866 @if gold-bootstrap
15867 maybe-all-stage1-gold: all-stage1-gold
15868 all-stage1: all-stage1-gold
15869 TARGET-stage1-gold = $(TARGET-gold)
15870 all-stage1-gold: configure-stage1-gold
15871 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15872 @r=`${PWD_COMMAND}`; export r; \
15873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15874 TFLAGS="$(STAGE1_TFLAGS)"; \
15875 $(HOST_EXPORTS) \
15876 cd $(HOST_SUBDIR)/gold && \
15877 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15878 CFLAGS="$(STAGE1_CFLAGS)" \
15879 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15880 LIBCFLAGS="$(LIBCFLAGS)" \
15881 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15882 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15883 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15884 $(EXTRA_HOST_FLAGS) \
15885 TFLAGS="$(STAGE1_TFLAGS)" \
15886 $(TARGET-stage1-gold)
15888 maybe-clean-stage1-gold: clean-stage1-gold
15889 clean-stage1: clean-stage1-gold
15890 clean-stage1-gold:
15891 @if [ $(current_stage) = stage1 ]; then \
15892 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15893 else \
15894 [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \
15895 $(MAKE) stage1-start; \
15896 fi; \
15897 cd $(HOST_SUBDIR)/gold && \
15898 $(MAKE) $(EXTRA_HOST_FLAGS) \
15899 clean
15900 @endif gold-bootstrap
15903 .PHONY: all-stage2-gold maybe-all-stage2-gold
15904 .PHONY: clean-stage2-gold maybe-clean-stage2-gold
15905 maybe-all-stage2-gold:
15906 maybe-clean-stage2-gold:
15907 @if gold-bootstrap
15908 maybe-all-stage2-gold: all-stage2-gold
15909 all-stage2: all-stage2-gold
15910 TARGET-stage2-gold = $(TARGET-gold)
15911 all-stage2-gold: configure-stage2-gold
15912 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15913 @r=`${PWD_COMMAND}`; export r; \
15914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15915 TFLAGS="$(STAGE2_TFLAGS)"; \
15916 $(HOST_EXPORTS) \
15917 $(POSTSTAGE1_HOST_EXPORTS) \
15918 cd $(HOST_SUBDIR)/gold && \
15919 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15920 CFLAGS="$(STAGE2_CFLAGS)" \
15921 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15922 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15923 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15924 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15925 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15926 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15927 TFLAGS="$(STAGE2_TFLAGS)" \
15928 $(TARGET-stage2-gold)
15930 maybe-clean-stage2-gold: clean-stage2-gold
15931 clean-stage2: clean-stage2-gold
15932 clean-stage2-gold:
15933 @if [ $(current_stage) = stage2 ]; then \
15934 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15935 else \
15936 [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \
15937 $(MAKE) stage2-start; \
15938 fi; \
15939 cd $(HOST_SUBDIR)/gold && \
15940 $(MAKE) $(EXTRA_HOST_FLAGS) \
15941 $(POSTSTAGE1_FLAGS_TO_PASS) \
15942 clean
15943 @endif gold-bootstrap
15946 .PHONY: all-stage3-gold maybe-all-stage3-gold
15947 .PHONY: clean-stage3-gold maybe-clean-stage3-gold
15948 maybe-all-stage3-gold:
15949 maybe-clean-stage3-gold:
15950 @if gold-bootstrap
15951 maybe-all-stage3-gold: all-stage3-gold
15952 all-stage3: all-stage3-gold
15953 TARGET-stage3-gold = $(TARGET-gold)
15954 all-stage3-gold: configure-stage3-gold
15955 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15956 @r=`${PWD_COMMAND}`; export r; \
15957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15958 TFLAGS="$(STAGE3_TFLAGS)"; \
15959 $(HOST_EXPORTS) \
15960 $(POSTSTAGE1_HOST_EXPORTS) \
15961 cd $(HOST_SUBDIR)/gold && \
15962 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15963 CFLAGS="$(STAGE3_CFLAGS)" \
15964 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15965 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15966 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15967 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15968 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15969 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15970 TFLAGS="$(STAGE3_TFLAGS)" \
15971 $(TARGET-stage3-gold)
15973 maybe-clean-stage3-gold: clean-stage3-gold
15974 clean-stage3: clean-stage3-gold
15975 clean-stage3-gold:
15976 @if [ $(current_stage) = stage3 ]; then \
15977 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15978 else \
15979 [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \
15980 $(MAKE) stage3-start; \
15981 fi; \
15982 cd $(HOST_SUBDIR)/gold && \
15983 $(MAKE) $(EXTRA_HOST_FLAGS) \
15984 $(POSTSTAGE1_FLAGS_TO_PASS) \
15985 clean
15986 @endif gold-bootstrap
15989 .PHONY: all-stage4-gold maybe-all-stage4-gold
15990 .PHONY: clean-stage4-gold maybe-clean-stage4-gold
15991 maybe-all-stage4-gold:
15992 maybe-clean-stage4-gold:
15993 @if gold-bootstrap
15994 maybe-all-stage4-gold: all-stage4-gold
15995 all-stage4: all-stage4-gold
15996 TARGET-stage4-gold = $(TARGET-gold)
15997 all-stage4-gold: configure-stage4-gold
15998 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15999 @r=`${PWD_COMMAND}`; export r; \
16000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16001 TFLAGS="$(STAGE4_TFLAGS)"; \
16002 $(HOST_EXPORTS) \
16003 $(POSTSTAGE1_HOST_EXPORTS) \
16004 cd $(HOST_SUBDIR)/gold && \
16005 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16006 CFLAGS="$(STAGE4_CFLAGS)" \
16007 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
16008 LIBCFLAGS="$(STAGE4_CFLAGS)" \
16009 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16010 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16011 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16012 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16013 TFLAGS="$(STAGE4_TFLAGS)" \
16014 $(TARGET-stage4-gold)
16016 maybe-clean-stage4-gold: clean-stage4-gold
16017 clean-stage4: clean-stage4-gold
16018 clean-stage4-gold:
16019 @if [ $(current_stage) = stage4 ]; then \
16020 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16021 else \
16022 [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \
16023 $(MAKE) stage4-start; \
16024 fi; \
16025 cd $(HOST_SUBDIR)/gold && \
16026 $(MAKE) $(EXTRA_HOST_FLAGS) \
16027 $(POSTSTAGE1_FLAGS_TO_PASS) \
16028 clean
16029 @endif gold-bootstrap
16032 .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold
16033 .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold
16034 maybe-all-stageprofile-gold:
16035 maybe-clean-stageprofile-gold:
16036 @if gold-bootstrap
16037 maybe-all-stageprofile-gold: all-stageprofile-gold
16038 all-stageprofile: all-stageprofile-gold
16039 TARGET-stageprofile-gold = $(TARGET-gold)
16040 all-stageprofile-gold: configure-stageprofile-gold
16041 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16042 @r=`${PWD_COMMAND}`; export r; \
16043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16044 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16045 $(HOST_EXPORTS) \
16046 $(POSTSTAGE1_HOST_EXPORTS) \
16047 cd $(HOST_SUBDIR)/gold && \
16048 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16049 CFLAGS="$(STAGEprofile_CFLAGS)" \
16050 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
16051 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
16052 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16053 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16054 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16055 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16056 TFLAGS="$(STAGEprofile_TFLAGS)" \
16057 $(TARGET-stageprofile-gold)
16059 maybe-clean-stageprofile-gold: clean-stageprofile-gold
16060 clean-stageprofile: clean-stageprofile-gold
16061 clean-stageprofile-gold:
16062 @if [ $(current_stage) = stageprofile ]; then \
16063 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16064 else \
16065 [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \
16066 $(MAKE) stageprofile-start; \
16067 fi; \
16068 cd $(HOST_SUBDIR)/gold && \
16069 $(MAKE) $(EXTRA_HOST_FLAGS) \
16070 $(POSTSTAGE1_FLAGS_TO_PASS) \
16071 clean
16072 @endif gold-bootstrap
16075 .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold
16076 .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold
16077 maybe-all-stagefeedback-gold:
16078 maybe-clean-stagefeedback-gold:
16079 @if gold-bootstrap
16080 maybe-all-stagefeedback-gold: all-stagefeedback-gold
16081 all-stagefeedback: all-stagefeedback-gold
16082 TARGET-stagefeedback-gold = $(TARGET-gold)
16083 all-stagefeedback-gold: configure-stagefeedback-gold
16084 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16085 @r=`${PWD_COMMAND}`; export r; \
16086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16087 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16088 $(HOST_EXPORTS) \
16089 $(POSTSTAGE1_HOST_EXPORTS) \
16090 cd $(HOST_SUBDIR)/gold && \
16091 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16092 CFLAGS="$(STAGEfeedback_CFLAGS)" \
16093 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
16094 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
16095 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16096 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16097 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16098 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16099 TFLAGS="$(STAGEfeedback_TFLAGS)" \
16100 $(TARGET-stagefeedback-gold)
16102 maybe-clean-stagefeedback-gold: clean-stagefeedback-gold
16103 clean-stagefeedback: clean-stagefeedback-gold
16104 clean-stagefeedback-gold:
16105 @if [ $(current_stage) = stagefeedback ]; then \
16106 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16107 else \
16108 [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \
16109 $(MAKE) stagefeedback-start; \
16110 fi; \
16111 cd $(HOST_SUBDIR)/gold && \
16112 $(MAKE) $(EXTRA_HOST_FLAGS) \
16113 $(POSTSTAGE1_FLAGS_TO_PASS) \
16114 clean
16115 @endif gold-bootstrap
16121 .PHONY: check-gold maybe-check-gold
16122 maybe-check-gold:
16123 @if gold
16124 maybe-check-gold: check-gold
16126 check-gold:
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) check)
16134 @endif gold
16136 .PHONY: install-gold maybe-install-gold
16137 maybe-install-gold:
16138 @if gold
16139 maybe-install-gold: install-gold
16141 install-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)
16149 @endif gold
16151 .PHONY: install-strip-gold maybe-install-strip-gold
16152 maybe-install-strip-gold:
16153 @if gold
16154 maybe-install-strip-gold: install-strip-gold
16156 install-strip-gold: installdirs
16157 @: $(MAKE); $(unstage)
16158 @r=`${PWD_COMMAND}`; export r; \
16159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16160 $(HOST_EXPORTS) \
16161 (cd $(HOST_SUBDIR)/gold && \
16162 $(MAKE) $(FLAGS_TO_PASS) install-strip)
16164 @endif gold
16166 # Other targets (info, dvi, pdf, etc.)
16168 .PHONY: maybe-info-gold info-gold
16169 maybe-info-gold:
16170 @if gold
16171 maybe-info-gold: info-gold
16173 info-gold: \
16174 configure-gold
16175 @[ -f ./gold/Makefile ] || exit 0; \
16176 r=`${PWD_COMMAND}`; export r; \
16177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16178 $(HOST_EXPORTS) \
16179 for flag in $(EXTRA_HOST_FLAGS) ; do \
16180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16181 done; \
16182 echo "Doing info in gold" ; \
16183 (cd $(HOST_SUBDIR)/gold && \
16184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16186 "RANLIB=$${RANLIB}" \
16187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16188 info) \
16189 || exit 1
16191 @endif gold
16193 .PHONY: maybe-dvi-gold dvi-gold
16194 maybe-dvi-gold:
16195 @if gold
16196 maybe-dvi-gold: dvi-gold
16198 dvi-gold: \
16199 configure-gold
16200 @[ -f ./gold/Makefile ] || exit 0; \
16201 r=`${PWD_COMMAND}`; export r; \
16202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16203 $(HOST_EXPORTS) \
16204 for flag in $(EXTRA_HOST_FLAGS) ; do \
16205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16206 done; \
16207 echo "Doing dvi in gold" ; \
16208 (cd $(HOST_SUBDIR)/gold && \
16209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16211 "RANLIB=$${RANLIB}" \
16212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16213 dvi) \
16214 || exit 1
16216 @endif gold
16218 .PHONY: maybe-pdf-gold pdf-gold
16219 maybe-pdf-gold:
16220 @if gold
16221 maybe-pdf-gold: pdf-gold
16223 pdf-gold: \
16224 configure-gold
16225 @[ -f ./gold/Makefile ] || exit 0; \
16226 r=`${PWD_COMMAND}`; export r; \
16227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16228 $(HOST_EXPORTS) \
16229 for flag in $(EXTRA_HOST_FLAGS) ; do \
16230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16231 done; \
16232 echo "Doing pdf in gold" ; \
16233 (cd $(HOST_SUBDIR)/gold && \
16234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16236 "RANLIB=$${RANLIB}" \
16237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16238 pdf) \
16239 || exit 1
16241 @endif gold
16243 .PHONY: maybe-html-gold html-gold
16244 maybe-html-gold:
16245 @if gold
16246 maybe-html-gold: html-gold
16248 html-gold: \
16249 configure-gold
16250 @[ -f ./gold/Makefile ] || exit 0; \
16251 r=`${PWD_COMMAND}`; export r; \
16252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16253 $(HOST_EXPORTS) \
16254 for flag in $(EXTRA_HOST_FLAGS) ; do \
16255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16256 done; \
16257 echo "Doing html in gold" ; \
16258 (cd $(HOST_SUBDIR)/gold && \
16259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16261 "RANLIB=$${RANLIB}" \
16262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16263 html) \
16264 || exit 1
16266 @endif gold
16268 .PHONY: maybe-TAGS-gold TAGS-gold
16269 maybe-TAGS-gold:
16270 @if gold
16271 maybe-TAGS-gold: TAGS-gold
16273 TAGS-gold: \
16274 configure-gold
16275 @[ -f ./gold/Makefile ] || exit 0; \
16276 r=`${PWD_COMMAND}`; export r; \
16277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16278 $(HOST_EXPORTS) \
16279 for flag in $(EXTRA_HOST_FLAGS) ; do \
16280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16281 done; \
16282 echo "Doing TAGS in gold" ; \
16283 (cd $(HOST_SUBDIR)/gold && \
16284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16286 "RANLIB=$${RANLIB}" \
16287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16288 TAGS) \
16289 || exit 1
16291 @endif gold
16293 .PHONY: maybe-install-info-gold install-info-gold
16294 maybe-install-info-gold:
16295 @if gold
16296 maybe-install-info-gold: install-info-gold
16298 install-info-gold: \
16299 configure-gold \
16300 info-gold
16301 @[ -f ./gold/Makefile ] || exit 0; \
16302 r=`${PWD_COMMAND}`; export r; \
16303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16304 $(HOST_EXPORTS) \
16305 for flag in $(EXTRA_HOST_FLAGS) ; do \
16306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16307 done; \
16308 echo "Doing install-info in gold" ; \
16309 (cd $(HOST_SUBDIR)/gold && \
16310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16312 "RANLIB=$${RANLIB}" \
16313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16314 install-info) \
16315 || exit 1
16317 @endif gold
16319 .PHONY: maybe-install-pdf-gold install-pdf-gold
16320 maybe-install-pdf-gold:
16321 @if gold
16322 maybe-install-pdf-gold: install-pdf-gold
16324 install-pdf-gold: \
16325 configure-gold \
16326 pdf-gold
16327 @[ -f ./gold/Makefile ] || exit 0; \
16328 r=`${PWD_COMMAND}`; export r; \
16329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16330 $(HOST_EXPORTS) \
16331 for flag in $(EXTRA_HOST_FLAGS) ; do \
16332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16333 done; \
16334 echo "Doing install-pdf in gold" ; \
16335 (cd $(HOST_SUBDIR)/gold && \
16336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16338 "RANLIB=$${RANLIB}" \
16339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16340 install-pdf) \
16341 || exit 1
16343 @endif gold
16345 .PHONY: maybe-install-html-gold install-html-gold
16346 maybe-install-html-gold:
16347 @if gold
16348 maybe-install-html-gold: install-html-gold
16350 install-html-gold: \
16351 configure-gold \
16352 html-gold
16353 @[ -f ./gold/Makefile ] || exit 0; \
16354 r=`${PWD_COMMAND}`; export r; \
16355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16356 $(HOST_EXPORTS) \
16357 for flag in $(EXTRA_HOST_FLAGS) ; do \
16358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16359 done; \
16360 echo "Doing install-html in gold" ; \
16361 (cd $(HOST_SUBDIR)/gold && \
16362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16364 "RANLIB=$${RANLIB}" \
16365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16366 install-html) \
16367 || exit 1
16369 @endif gold
16371 .PHONY: maybe-installcheck-gold installcheck-gold
16372 maybe-installcheck-gold:
16373 @if gold
16374 maybe-installcheck-gold: installcheck-gold
16376 installcheck-gold: \
16377 configure-gold
16378 @[ -f ./gold/Makefile ] || exit 0; \
16379 r=`${PWD_COMMAND}`; export r; \
16380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16381 $(HOST_EXPORTS) \
16382 for flag in $(EXTRA_HOST_FLAGS) ; do \
16383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16384 done; \
16385 echo "Doing installcheck in gold" ; \
16386 (cd $(HOST_SUBDIR)/gold && \
16387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16389 "RANLIB=$${RANLIB}" \
16390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16391 installcheck) \
16392 || exit 1
16394 @endif gold
16396 .PHONY: maybe-mostlyclean-gold mostlyclean-gold
16397 maybe-mostlyclean-gold:
16398 @if gold
16399 maybe-mostlyclean-gold: mostlyclean-gold
16401 mostlyclean-gold:
16402 @[ -f ./gold/Makefile ] || exit 0; \
16403 r=`${PWD_COMMAND}`; export r; \
16404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16405 $(HOST_EXPORTS) \
16406 for flag in $(EXTRA_HOST_FLAGS) ; do \
16407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16408 done; \
16409 echo "Doing mostlyclean in gold" ; \
16410 (cd $(HOST_SUBDIR)/gold && \
16411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16413 "RANLIB=$${RANLIB}" \
16414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16415 mostlyclean) \
16416 || exit 1
16418 @endif gold
16420 .PHONY: maybe-clean-gold clean-gold
16421 maybe-clean-gold:
16422 @if gold
16423 maybe-clean-gold: clean-gold
16425 clean-gold:
16426 @[ -f ./gold/Makefile ] || exit 0; \
16427 r=`${PWD_COMMAND}`; export r; \
16428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16429 $(HOST_EXPORTS) \
16430 for flag in $(EXTRA_HOST_FLAGS) ; do \
16431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16432 done; \
16433 echo "Doing clean in gold" ; \
16434 (cd $(HOST_SUBDIR)/gold && \
16435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16437 "RANLIB=$${RANLIB}" \
16438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16439 clean) \
16440 || exit 1
16442 @endif gold
16444 .PHONY: maybe-distclean-gold distclean-gold
16445 maybe-distclean-gold:
16446 @if gold
16447 maybe-distclean-gold: distclean-gold
16449 distclean-gold:
16450 @[ -f ./gold/Makefile ] || exit 0; \
16451 r=`${PWD_COMMAND}`; export r; \
16452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16453 $(HOST_EXPORTS) \
16454 for flag in $(EXTRA_HOST_FLAGS) ; do \
16455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16456 done; \
16457 echo "Doing distclean in gold" ; \
16458 (cd $(HOST_SUBDIR)/gold && \
16459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16461 "RANLIB=$${RANLIB}" \
16462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16463 distclean) \
16464 || exit 1
16466 @endif gold
16468 .PHONY: maybe-maintainer-clean-gold maintainer-clean-gold
16469 maybe-maintainer-clean-gold:
16470 @if gold
16471 maybe-maintainer-clean-gold: maintainer-clean-gold
16473 maintainer-clean-gold:
16474 @[ -f ./gold/Makefile ] || exit 0; \
16475 r=`${PWD_COMMAND}`; export r; \
16476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16477 $(HOST_EXPORTS) \
16478 for flag in $(EXTRA_HOST_FLAGS) ; do \
16479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16480 done; \
16481 echo "Doing maintainer-clean in gold" ; \
16482 (cd $(HOST_SUBDIR)/gold && \
16483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16485 "RANLIB=$${RANLIB}" \
16486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16487 maintainer-clean) \
16488 || exit 1
16490 @endif gold
16494 .PHONY: configure-gprof maybe-configure-gprof
16495 maybe-configure-gprof:
16496 @if gcc-bootstrap
16497 configure-gprof: stage_current
16498 @endif gcc-bootstrap
16499 @if gprof
16500 maybe-configure-gprof: configure-gprof
16501 configure-gprof:
16502 @: $(MAKE); $(unstage)
16503 @r=`${PWD_COMMAND}`; export r; \
16504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16505 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
16506 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
16507 $(HOST_EXPORTS) \
16508 echo Configuring in $(HOST_SUBDIR)/gprof; \
16509 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
16510 case $(srcdir) in \
16511 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16512 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
16513 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16514 esac; \
16515 srcdiroption="--srcdir=$${topdir}/gprof"; \
16516 libsrcdir="$$s/gprof"; \
16517 $(SHELL) $${libsrcdir}/configure \
16518 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16519 --target=${target_alias} $${srcdiroption} \
16520 || exit 1
16521 @endif gprof
16527 .PHONY: all-gprof maybe-all-gprof
16528 maybe-all-gprof:
16529 @if gcc-bootstrap
16530 all-gprof: stage_current
16531 @endif gcc-bootstrap
16532 @if gprof
16533 TARGET-gprof=all
16534 maybe-all-gprof: all-gprof
16535 all-gprof: configure-gprof
16536 @: $(MAKE); $(unstage)
16537 @r=`${PWD_COMMAND}`; export r; \
16538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16539 $(HOST_EXPORTS) \
16540 (cd $(HOST_SUBDIR)/gprof && \
16541 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
16542 $(TARGET-gprof))
16543 @endif gprof
16548 .PHONY: check-gprof maybe-check-gprof
16549 maybe-check-gprof:
16550 @if gprof
16551 maybe-check-gprof: check-gprof
16553 check-gprof:
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) check)
16561 @endif gprof
16563 .PHONY: install-gprof maybe-install-gprof
16564 maybe-install-gprof:
16565 @if gprof
16566 maybe-install-gprof: install-gprof
16568 install-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)
16576 @endif gprof
16578 .PHONY: install-strip-gprof maybe-install-strip-gprof
16579 maybe-install-strip-gprof:
16580 @if gprof
16581 maybe-install-strip-gprof: install-strip-gprof
16583 install-strip-gprof: installdirs
16584 @: $(MAKE); $(unstage)
16585 @r=`${PWD_COMMAND}`; export r; \
16586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16587 $(HOST_EXPORTS) \
16588 (cd $(HOST_SUBDIR)/gprof && \
16589 $(MAKE) $(FLAGS_TO_PASS) install-strip)
16591 @endif gprof
16593 # Other targets (info, dvi, pdf, etc.)
16595 .PHONY: maybe-info-gprof info-gprof
16596 maybe-info-gprof:
16597 @if gprof
16598 maybe-info-gprof: info-gprof
16600 info-gprof: \
16601 configure-gprof
16602 @: $(MAKE); $(unstage)
16603 @[ -f ./gprof/Makefile ] || exit 0; \
16604 r=`${PWD_COMMAND}`; export r; \
16605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16606 $(HOST_EXPORTS) \
16607 for flag in $(EXTRA_HOST_FLAGS) ; do \
16608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16609 done; \
16610 echo "Doing info in gprof" ; \
16611 (cd $(HOST_SUBDIR)/gprof && \
16612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16614 "RANLIB=$${RANLIB}" \
16615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16616 info) \
16617 || exit 1
16619 @endif gprof
16621 .PHONY: maybe-dvi-gprof dvi-gprof
16622 maybe-dvi-gprof:
16623 @if gprof
16624 maybe-dvi-gprof: dvi-gprof
16626 dvi-gprof: \
16627 configure-gprof
16628 @: $(MAKE); $(unstage)
16629 @[ -f ./gprof/Makefile ] || exit 0; \
16630 r=`${PWD_COMMAND}`; export r; \
16631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16632 $(HOST_EXPORTS) \
16633 for flag in $(EXTRA_HOST_FLAGS) ; do \
16634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16635 done; \
16636 echo "Doing dvi in gprof" ; \
16637 (cd $(HOST_SUBDIR)/gprof && \
16638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16640 "RANLIB=$${RANLIB}" \
16641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16642 dvi) \
16643 || exit 1
16645 @endif gprof
16647 .PHONY: maybe-pdf-gprof pdf-gprof
16648 maybe-pdf-gprof:
16649 @if gprof
16650 maybe-pdf-gprof: pdf-gprof
16652 pdf-gprof: \
16653 configure-gprof
16654 @: $(MAKE); $(unstage)
16655 @[ -f ./gprof/Makefile ] || exit 0; \
16656 r=`${PWD_COMMAND}`; export r; \
16657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16658 $(HOST_EXPORTS) \
16659 for flag in $(EXTRA_HOST_FLAGS) ; do \
16660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16661 done; \
16662 echo "Doing pdf in gprof" ; \
16663 (cd $(HOST_SUBDIR)/gprof && \
16664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16666 "RANLIB=$${RANLIB}" \
16667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16668 pdf) \
16669 || exit 1
16671 @endif gprof
16673 .PHONY: maybe-html-gprof html-gprof
16674 maybe-html-gprof:
16675 @if gprof
16676 maybe-html-gprof: html-gprof
16678 html-gprof: \
16679 configure-gprof
16680 @: $(MAKE); $(unstage)
16681 @[ -f ./gprof/Makefile ] || exit 0; \
16682 r=`${PWD_COMMAND}`; export r; \
16683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16684 $(HOST_EXPORTS) \
16685 for flag in $(EXTRA_HOST_FLAGS) ; do \
16686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16687 done; \
16688 echo "Doing html in gprof" ; \
16689 (cd $(HOST_SUBDIR)/gprof && \
16690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16692 "RANLIB=$${RANLIB}" \
16693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16694 html) \
16695 || exit 1
16697 @endif gprof
16699 .PHONY: maybe-TAGS-gprof TAGS-gprof
16700 maybe-TAGS-gprof:
16701 @if gprof
16702 maybe-TAGS-gprof: TAGS-gprof
16704 TAGS-gprof: \
16705 configure-gprof
16706 @: $(MAKE); $(unstage)
16707 @[ -f ./gprof/Makefile ] || exit 0; \
16708 r=`${PWD_COMMAND}`; export r; \
16709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16710 $(HOST_EXPORTS) \
16711 for flag in $(EXTRA_HOST_FLAGS) ; do \
16712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16713 done; \
16714 echo "Doing TAGS in gprof" ; \
16715 (cd $(HOST_SUBDIR)/gprof && \
16716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16718 "RANLIB=$${RANLIB}" \
16719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16720 TAGS) \
16721 || exit 1
16723 @endif gprof
16725 .PHONY: maybe-install-info-gprof install-info-gprof
16726 maybe-install-info-gprof:
16727 @if gprof
16728 maybe-install-info-gprof: install-info-gprof
16730 install-info-gprof: \
16731 configure-gprof \
16732 info-gprof
16733 @: $(MAKE); $(unstage)
16734 @[ -f ./gprof/Makefile ] || exit 0; \
16735 r=`${PWD_COMMAND}`; export r; \
16736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16737 $(HOST_EXPORTS) \
16738 for flag in $(EXTRA_HOST_FLAGS) ; do \
16739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16740 done; \
16741 echo "Doing install-info in gprof" ; \
16742 (cd $(HOST_SUBDIR)/gprof && \
16743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16745 "RANLIB=$${RANLIB}" \
16746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16747 install-info) \
16748 || exit 1
16750 @endif gprof
16752 .PHONY: maybe-install-pdf-gprof install-pdf-gprof
16753 maybe-install-pdf-gprof:
16754 @if gprof
16755 maybe-install-pdf-gprof: install-pdf-gprof
16757 install-pdf-gprof: \
16758 configure-gprof \
16759 pdf-gprof
16760 @: $(MAKE); $(unstage)
16761 @[ -f ./gprof/Makefile ] || exit 0; \
16762 r=`${PWD_COMMAND}`; export r; \
16763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16764 $(HOST_EXPORTS) \
16765 for flag in $(EXTRA_HOST_FLAGS) ; do \
16766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16767 done; \
16768 echo "Doing install-pdf in gprof" ; \
16769 (cd $(HOST_SUBDIR)/gprof && \
16770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16772 "RANLIB=$${RANLIB}" \
16773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16774 install-pdf) \
16775 || exit 1
16777 @endif gprof
16779 .PHONY: maybe-install-html-gprof install-html-gprof
16780 maybe-install-html-gprof:
16781 @if gprof
16782 maybe-install-html-gprof: install-html-gprof
16784 install-html-gprof: \
16785 configure-gprof \
16786 html-gprof
16787 @: $(MAKE); $(unstage)
16788 @[ -f ./gprof/Makefile ] || exit 0; \
16789 r=`${PWD_COMMAND}`; export r; \
16790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16791 $(HOST_EXPORTS) \
16792 for flag in $(EXTRA_HOST_FLAGS) ; do \
16793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16794 done; \
16795 echo "Doing install-html in gprof" ; \
16796 (cd $(HOST_SUBDIR)/gprof && \
16797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16799 "RANLIB=$${RANLIB}" \
16800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16801 install-html) \
16802 || exit 1
16804 @endif gprof
16806 .PHONY: maybe-installcheck-gprof installcheck-gprof
16807 maybe-installcheck-gprof:
16808 @if gprof
16809 maybe-installcheck-gprof: installcheck-gprof
16811 installcheck-gprof: \
16812 configure-gprof
16813 @: $(MAKE); $(unstage)
16814 @[ -f ./gprof/Makefile ] || exit 0; \
16815 r=`${PWD_COMMAND}`; export r; \
16816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16817 $(HOST_EXPORTS) \
16818 for flag in $(EXTRA_HOST_FLAGS) ; do \
16819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16820 done; \
16821 echo "Doing installcheck in gprof" ; \
16822 (cd $(HOST_SUBDIR)/gprof && \
16823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16825 "RANLIB=$${RANLIB}" \
16826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16827 installcheck) \
16828 || exit 1
16830 @endif gprof
16832 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
16833 maybe-mostlyclean-gprof:
16834 @if gprof
16835 maybe-mostlyclean-gprof: mostlyclean-gprof
16837 mostlyclean-gprof:
16838 @: $(MAKE); $(unstage)
16839 @[ -f ./gprof/Makefile ] || exit 0; \
16840 r=`${PWD_COMMAND}`; export r; \
16841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16842 $(HOST_EXPORTS) \
16843 for flag in $(EXTRA_HOST_FLAGS) ; do \
16844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16845 done; \
16846 echo "Doing mostlyclean in gprof" ; \
16847 (cd $(HOST_SUBDIR)/gprof && \
16848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16850 "RANLIB=$${RANLIB}" \
16851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16852 mostlyclean) \
16853 || exit 1
16855 @endif gprof
16857 .PHONY: maybe-clean-gprof clean-gprof
16858 maybe-clean-gprof:
16859 @if gprof
16860 maybe-clean-gprof: clean-gprof
16862 clean-gprof:
16863 @: $(MAKE); $(unstage)
16864 @[ -f ./gprof/Makefile ] || exit 0; \
16865 r=`${PWD_COMMAND}`; export r; \
16866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16867 $(HOST_EXPORTS) \
16868 for flag in $(EXTRA_HOST_FLAGS) ; do \
16869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16870 done; \
16871 echo "Doing clean in gprof" ; \
16872 (cd $(HOST_SUBDIR)/gprof && \
16873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16875 "RANLIB=$${RANLIB}" \
16876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16877 clean) \
16878 || exit 1
16880 @endif gprof
16882 .PHONY: maybe-distclean-gprof distclean-gprof
16883 maybe-distclean-gprof:
16884 @if gprof
16885 maybe-distclean-gprof: distclean-gprof
16887 distclean-gprof:
16888 @: $(MAKE); $(unstage)
16889 @[ -f ./gprof/Makefile ] || exit 0; \
16890 r=`${PWD_COMMAND}`; export r; \
16891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16892 $(HOST_EXPORTS) \
16893 for flag in $(EXTRA_HOST_FLAGS) ; do \
16894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16895 done; \
16896 echo "Doing distclean in gprof" ; \
16897 (cd $(HOST_SUBDIR)/gprof && \
16898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16900 "RANLIB=$${RANLIB}" \
16901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16902 distclean) \
16903 || exit 1
16905 @endif gprof
16907 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
16908 maybe-maintainer-clean-gprof:
16909 @if gprof
16910 maybe-maintainer-clean-gprof: maintainer-clean-gprof
16912 maintainer-clean-gprof:
16913 @: $(MAKE); $(unstage)
16914 @[ -f ./gprof/Makefile ] || exit 0; \
16915 r=`${PWD_COMMAND}`; export r; \
16916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16917 $(HOST_EXPORTS) \
16918 for flag in $(EXTRA_HOST_FLAGS) ; do \
16919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16920 done; \
16921 echo "Doing maintainer-clean in gprof" ; \
16922 (cd $(HOST_SUBDIR)/gprof && \
16923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16925 "RANLIB=$${RANLIB}" \
16926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16927 maintainer-clean) \
16928 || exit 1
16930 @endif gprof
16934 .PHONY: configure-intl maybe-configure-intl
16935 maybe-configure-intl:
16936 @if gcc-bootstrap
16937 configure-intl: stage_current
16938 @endif gcc-bootstrap
16939 @if intl
16940 maybe-configure-intl: configure-intl
16941 configure-intl:
16942 @r=`${PWD_COMMAND}`; export r; \
16943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16944 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16945 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16946 $(HOST_EXPORTS) \
16947 echo Configuring in $(HOST_SUBDIR)/intl; \
16948 cd "$(HOST_SUBDIR)/intl" || exit 1; \
16949 case $(srcdir) in \
16950 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16951 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16952 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16953 esac; \
16954 srcdiroption="--srcdir=$${topdir}/intl"; \
16955 libsrcdir="$$s/intl"; \
16956 $(SHELL) $${libsrcdir}/configure \
16957 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16958 --target=${target_alias} $${srcdiroption} \
16959 || exit 1
16960 @endif intl
16964 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
16965 maybe-configure-stage1-intl:
16966 @if intl-bootstrap
16967 maybe-configure-stage1-intl: configure-stage1-intl
16968 configure-stage1-intl:
16969 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16970 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16971 @r=`${PWD_COMMAND}`; export r; \
16972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16973 TFLAGS="$(STAGE1_TFLAGS)"; \
16974 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16975 $(HOST_EXPORTS) \
16976 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
16977 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
16978 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
16979 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
16980 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16981 cd $(HOST_SUBDIR)/intl || exit 1; \
16982 case $(srcdir) in \
16983 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16984 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16985 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16986 esac; \
16987 srcdiroption="--srcdir=$${topdir}/intl"; \
16988 libsrcdir="$$s/intl"; \
16989 $(SHELL) $${libsrcdir}/configure \
16990 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16991 --target=${target_alias} $${srcdiroption} \
16992 $(STAGE1_CONFIGURE_FLAGS)
16993 @endif intl-bootstrap
16995 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
16996 maybe-configure-stage2-intl:
16997 @if intl-bootstrap
16998 maybe-configure-stage2-intl: configure-stage2-intl
16999 configure-stage2-intl:
17000 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17001 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17002 @r=`${PWD_COMMAND}`; export r; \
17003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17004 TFLAGS="$(STAGE2_TFLAGS)"; \
17005 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17006 $(HOST_EXPORTS) \
17007 $(POSTSTAGE1_HOST_EXPORTS) \
17008 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
17009 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
17010 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
17011 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
17012 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17013 cd $(HOST_SUBDIR)/intl || exit 1; \
17014 case $(srcdir) in \
17015 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17016 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17017 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17018 esac; \
17019 srcdiroption="--srcdir=$${topdir}/intl"; \
17020 libsrcdir="$$s/intl"; \
17021 $(SHELL) $${libsrcdir}/configure \
17022 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17023 --target=${target_alias} $${srcdiroption} \
17024 --with-build-libsubdir=$(HOST_SUBDIR) \
17025 $(STAGE2_CONFIGURE_FLAGS)
17026 @endif intl-bootstrap
17028 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
17029 maybe-configure-stage3-intl:
17030 @if intl-bootstrap
17031 maybe-configure-stage3-intl: configure-stage3-intl
17032 configure-stage3-intl:
17033 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17034 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17035 @r=`${PWD_COMMAND}`; export r; \
17036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17037 TFLAGS="$(STAGE3_TFLAGS)"; \
17038 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17039 $(HOST_EXPORTS) \
17040 $(POSTSTAGE1_HOST_EXPORTS) \
17041 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
17042 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
17043 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
17044 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
17045 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17046 cd $(HOST_SUBDIR)/intl || exit 1; \
17047 case $(srcdir) in \
17048 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17049 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17050 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17051 esac; \
17052 srcdiroption="--srcdir=$${topdir}/intl"; \
17053 libsrcdir="$$s/intl"; \
17054 $(SHELL) $${libsrcdir}/configure \
17055 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17056 --target=${target_alias} $${srcdiroption} \
17057 --with-build-libsubdir=$(HOST_SUBDIR) \
17058 $(STAGE3_CONFIGURE_FLAGS)
17059 @endif intl-bootstrap
17061 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
17062 maybe-configure-stage4-intl:
17063 @if intl-bootstrap
17064 maybe-configure-stage4-intl: configure-stage4-intl
17065 configure-stage4-intl:
17066 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17067 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17068 @r=`${PWD_COMMAND}`; export r; \
17069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17070 TFLAGS="$(STAGE4_TFLAGS)"; \
17071 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17072 $(HOST_EXPORTS) \
17073 $(POSTSTAGE1_HOST_EXPORTS) \
17074 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
17075 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
17076 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
17077 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
17078 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17079 cd $(HOST_SUBDIR)/intl || exit 1; \
17080 case $(srcdir) in \
17081 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17082 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17083 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17084 esac; \
17085 srcdiroption="--srcdir=$${topdir}/intl"; \
17086 libsrcdir="$$s/intl"; \
17087 $(SHELL) $${libsrcdir}/configure \
17088 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17089 --target=${target_alias} $${srcdiroption} \
17090 --with-build-libsubdir=$(HOST_SUBDIR) \
17091 $(STAGE4_CONFIGURE_FLAGS)
17092 @endif intl-bootstrap
17094 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
17095 maybe-configure-stageprofile-intl:
17096 @if intl-bootstrap
17097 maybe-configure-stageprofile-intl: configure-stageprofile-intl
17098 configure-stageprofile-intl:
17099 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17100 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17101 @r=`${PWD_COMMAND}`; export r; \
17102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17103 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17104 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17105 $(HOST_EXPORTS) \
17106 $(POSTSTAGE1_HOST_EXPORTS) \
17107 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
17108 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
17109 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
17110 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
17111 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17112 cd $(HOST_SUBDIR)/intl || exit 1; \
17113 case $(srcdir) in \
17114 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17115 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17116 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17117 esac; \
17118 srcdiroption="--srcdir=$${topdir}/intl"; \
17119 libsrcdir="$$s/intl"; \
17120 $(SHELL) $${libsrcdir}/configure \
17121 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17122 --target=${target_alias} $${srcdiroption} \
17123 --with-build-libsubdir=$(HOST_SUBDIR) \
17124 $(STAGEprofile_CONFIGURE_FLAGS)
17125 @endif intl-bootstrap
17127 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
17128 maybe-configure-stagefeedback-intl:
17129 @if intl-bootstrap
17130 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
17131 configure-stagefeedback-intl:
17132 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17133 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17134 @r=`${PWD_COMMAND}`; export r; \
17135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17136 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17137 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17138 $(HOST_EXPORTS) \
17139 $(POSTSTAGE1_HOST_EXPORTS) \
17140 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
17141 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
17142 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
17143 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
17144 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17145 cd $(HOST_SUBDIR)/intl || exit 1; \
17146 case $(srcdir) in \
17147 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17148 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17149 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17150 esac; \
17151 srcdiroption="--srcdir=$${topdir}/intl"; \
17152 libsrcdir="$$s/intl"; \
17153 $(SHELL) $${libsrcdir}/configure \
17154 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17155 --target=${target_alias} $${srcdiroption} \
17156 --with-build-libsubdir=$(HOST_SUBDIR) \
17157 $(STAGEfeedback_CONFIGURE_FLAGS)
17158 @endif intl-bootstrap
17164 .PHONY: all-intl maybe-all-intl
17165 maybe-all-intl:
17166 @if gcc-bootstrap
17167 all-intl: stage_current
17168 @endif gcc-bootstrap
17169 @if intl
17170 TARGET-intl=all
17171 maybe-all-intl: all-intl
17172 all-intl: configure-intl
17173 @r=`${PWD_COMMAND}`; export r; \
17174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17175 $(HOST_EXPORTS) \
17176 (cd $(HOST_SUBDIR)/intl && \
17177 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
17178 $(TARGET-intl))
17179 @endif intl
17183 .PHONY: all-stage1-intl maybe-all-stage1-intl
17184 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
17185 maybe-all-stage1-intl:
17186 maybe-clean-stage1-intl:
17187 @if intl-bootstrap
17188 maybe-all-stage1-intl: all-stage1-intl
17189 all-stage1: all-stage1-intl
17190 TARGET-stage1-intl = $(TARGET-intl)
17191 all-stage1-intl: configure-stage1-intl
17192 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17193 @r=`${PWD_COMMAND}`; export r; \
17194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17195 TFLAGS="$(STAGE1_TFLAGS)"; \
17196 $(HOST_EXPORTS) \
17197 cd $(HOST_SUBDIR)/intl && \
17198 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17199 CFLAGS="$(STAGE1_CFLAGS)" \
17200 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
17201 LIBCFLAGS="$(LIBCFLAGS)" \
17202 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17203 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17204 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17205 $(EXTRA_HOST_FLAGS) \
17206 TFLAGS="$(STAGE1_TFLAGS)" \
17207 $(TARGET-stage1-intl)
17209 maybe-clean-stage1-intl: clean-stage1-intl
17210 clean-stage1: clean-stage1-intl
17211 clean-stage1-intl:
17212 @if [ $(current_stage) = stage1 ]; then \
17213 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17214 else \
17215 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
17216 $(MAKE) stage1-start; \
17217 fi; \
17218 cd $(HOST_SUBDIR)/intl && \
17219 $(MAKE) $(EXTRA_HOST_FLAGS) \
17220 clean
17221 @endif intl-bootstrap
17224 .PHONY: all-stage2-intl maybe-all-stage2-intl
17225 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
17226 maybe-all-stage2-intl:
17227 maybe-clean-stage2-intl:
17228 @if intl-bootstrap
17229 maybe-all-stage2-intl: all-stage2-intl
17230 all-stage2: all-stage2-intl
17231 TARGET-stage2-intl = $(TARGET-intl)
17232 all-stage2-intl: configure-stage2-intl
17233 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17234 @r=`${PWD_COMMAND}`; export r; \
17235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17236 TFLAGS="$(STAGE2_TFLAGS)"; \
17237 $(HOST_EXPORTS) \
17238 $(POSTSTAGE1_HOST_EXPORTS) \
17239 cd $(HOST_SUBDIR)/intl && \
17240 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17241 CFLAGS="$(STAGE2_CFLAGS)" \
17242 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
17243 LIBCFLAGS="$(STAGE2_CFLAGS)" \
17244 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17245 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17246 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17247 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17248 TFLAGS="$(STAGE2_TFLAGS)" \
17249 $(TARGET-stage2-intl)
17251 maybe-clean-stage2-intl: clean-stage2-intl
17252 clean-stage2: clean-stage2-intl
17253 clean-stage2-intl:
17254 @if [ $(current_stage) = stage2 ]; then \
17255 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17256 else \
17257 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
17258 $(MAKE) stage2-start; \
17259 fi; \
17260 cd $(HOST_SUBDIR)/intl && \
17261 $(MAKE) $(EXTRA_HOST_FLAGS) \
17262 $(POSTSTAGE1_FLAGS_TO_PASS) \
17263 clean
17264 @endif intl-bootstrap
17267 .PHONY: all-stage3-intl maybe-all-stage3-intl
17268 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
17269 maybe-all-stage3-intl:
17270 maybe-clean-stage3-intl:
17271 @if intl-bootstrap
17272 maybe-all-stage3-intl: all-stage3-intl
17273 all-stage3: all-stage3-intl
17274 TARGET-stage3-intl = $(TARGET-intl)
17275 all-stage3-intl: configure-stage3-intl
17276 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17277 @r=`${PWD_COMMAND}`; export r; \
17278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17279 TFLAGS="$(STAGE3_TFLAGS)"; \
17280 $(HOST_EXPORTS) \
17281 $(POSTSTAGE1_HOST_EXPORTS) \
17282 cd $(HOST_SUBDIR)/intl && \
17283 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17284 CFLAGS="$(STAGE3_CFLAGS)" \
17285 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
17286 LIBCFLAGS="$(STAGE3_CFLAGS)" \
17287 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17288 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17289 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17290 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17291 TFLAGS="$(STAGE3_TFLAGS)" \
17292 $(TARGET-stage3-intl)
17294 maybe-clean-stage3-intl: clean-stage3-intl
17295 clean-stage3: clean-stage3-intl
17296 clean-stage3-intl:
17297 @if [ $(current_stage) = stage3 ]; then \
17298 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17299 else \
17300 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
17301 $(MAKE) stage3-start; \
17302 fi; \
17303 cd $(HOST_SUBDIR)/intl && \
17304 $(MAKE) $(EXTRA_HOST_FLAGS) \
17305 $(POSTSTAGE1_FLAGS_TO_PASS) \
17306 clean
17307 @endif intl-bootstrap
17310 .PHONY: all-stage4-intl maybe-all-stage4-intl
17311 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
17312 maybe-all-stage4-intl:
17313 maybe-clean-stage4-intl:
17314 @if intl-bootstrap
17315 maybe-all-stage4-intl: all-stage4-intl
17316 all-stage4: all-stage4-intl
17317 TARGET-stage4-intl = $(TARGET-intl)
17318 all-stage4-intl: configure-stage4-intl
17319 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17320 @r=`${PWD_COMMAND}`; export r; \
17321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17322 TFLAGS="$(STAGE4_TFLAGS)"; \
17323 $(HOST_EXPORTS) \
17324 $(POSTSTAGE1_HOST_EXPORTS) \
17325 cd $(HOST_SUBDIR)/intl && \
17326 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17327 CFLAGS="$(STAGE4_CFLAGS)" \
17328 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
17329 LIBCFLAGS="$(STAGE4_CFLAGS)" \
17330 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17331 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17332 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17333 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17334 TFLAGS="$(STAGE4_TFLAGS)" \
17335 $(TARGET-stage4-intl)
17337 maybe-clean-stage4-intl: clean-stage4-intl
17338 clean-stage4: clean-stage4-intl
17339 clean-stage4-intl:
17340 @if [ $(current_stage) = stage4 ]; then \
17341 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17342 else \
17343 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
17344 $(MAKE) stage4-start; \
17345 fi; \
17346 cd $(HOST_SUBDIR)/intl && \
17347 $(MAKE) $(EXTRA_HOST_FLAGS) \
17348 $(POSTSTAGE1_FLAGS_TO_PASS) \
17349 clean
17350 @endif intl-bootstrap
17353 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
17354 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
17355 maybe-all-stageprofile-intl:
17356 maybe-clean-stageprofile-intl:
17357 @if intl-bootstrap
17358 maybe-all-stageprofile-intl: all-stageprofile-intl
17359 all-stageprofile: all-stageprofile-intl
17360 TARGET-stageprofile-intl = $(TARGET-intl)
17361 all-stageprofile-intl: configure-stageprofile-intl
17362 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17363 @r=`${PWD_COMMAND}`; export r; \
17364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17365 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17366 $(HOST_EXPORTS) \
17367 $(POSTSTAGE1_HOST_EXPORTS) \
17368 cd $(HOST_SUBDIR)/intl && \
17369 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17370 CFLAGS="$(STAGEprofile_CFLAGS)" \
17371 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
17372 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
17373 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17374 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17375 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17376 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17377 TFLAGS="$(STAGEprofile_TFLAGS)" \
17378 $(TARGET-stageprofile-intl)
17380 maybe-clean-stageprofile-intl: clean-stageprofile-intl
17381 clean-stageprofile: clean-stageprofile-intl
17382 clean-stageprofile-intl:
17383 @if [ $(current_stage) = stageprofile ]; then \
17384 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17385 else \
17386 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
17387 $(MAKE) stageprofile-start; \
17388 fi; \
17389 cd $(HOST_SUBDIR)/intl && \
17390 $(MAKE) $(EXTRA_HOST_FLAGS) \
17391 $(POSTSTAGE1_FLAGS_TO_PASS) \
17392 clean
17393 @endif intl-bootstrap
17396 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
17397 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
17398 maybe-all-stagefeedback-intl:
17399 maybe-clean-stagefeedback-intl:
17400 @if intl-bootstrap
17401 maybe-all-stagefeedback-intl: all-stagefeedback-intl
17402 all-stagefeedback: all-stagefeedback-intl
17403 TARGET-stagefeedback-intl = $(TARGET-intl)
17404 all-stagefeedback-intl: configure-stagefeedback-intl
17405 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17406 @r=`${PWD_COMMAND}`; export r; \
17407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17408 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17409 $(HOST_EXPORTS) \
17410 $(POSTSTAGE1_HOST_EXPORTS) \
17411 cd $(HOST_SUBDIR)/intl && \
17412 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17413 CFLAGS="$(STAGEfeedback_CFLAGS)" \
17414 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
17415 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
17416 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17417 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17418 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17419 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17420 TFLAGS="$(STAGEfeedback_TFLAGS)" \
17421 $(TARGET-stagefeedback-intl)
17423 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
17424 clean-stagefeedback: clean-stagefeedback-intl
17425 clean-stagefeedback-intl:
17426 @if [ $(current_stage) = stagefeedback ]; then \
17427 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17428 else \
17429 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
17430 $(MAKE) stagefeedback-start; \
17431 fi; \
17432 cd $(HOST_SUBDIR)/intl && \
17433 $(MAKE) $(EXTRA_HOST_FLAGS) \
17434 $(POSTSTAGE1_FLAGS_TO_PASS) \
17435 clean
17436 @endif intl-bootstrap
17442 .PHONY: check-intl maybe-check-intl
17443 maybe-check-intl:
17444 @if intl
17445 maybe-check-intl: check-intl
17447 check-intl:
17448 @: $(MAKE); $(unstage)
17449 @r=`${PWD_COMMAND}`; export r; \
17450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17451 $(HOST_EXPORTS) \
17452 (cd $(HOST_SUBDIR)/intl && \
17453 $(MAKE) $(FLAGS_TO_PASS) check)
17455 @endif intl
17457 .PHONY: install-intl maybe-install-intl
17458 maybe-install-intl:
17459 @if intl
17460 maybe-install-intl: install-intl
17462 install-intl: installdirs
17463 @: $(MAKE); $(unstage)
17464 @r=`${PWD_COMMAND}`; export r; \
17465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17466 $(HOST_EXPORTS) \
17467 (cd $(HOST_SUBDIR)/intl && \
17468 $(MAKE) $(FLAGS_TO_PASS) install)
17470 @endif intl
17472 .PHONY: install-strip-intl maybe-install-strip-intl
17473 maybe-install-strip-intl:
17474 @if intl
17475 maybe-install-strip-intl: install-strip-intl
17477 install-strip-intl: installdirs
17478 @: $(MAKE); $(unstage)
17479 @r=`${PWD_COMMAND}`; export r; \
17480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17481 $(HOST_EXPORTS) \
17482 (cd $(HOST_SUBDIR)/intl && \
17483 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17485 @endif intl
17487 # Other targets (info, dvi, pdf, etc.)
17489 .PHONY: maybe-info-intl info-intl
17490 maybe-info-intl:
17491 @if intl
17492 maybe-info-intl: info-intl
17494 info-intl: \
17495 configure-intl
17496 @[ -f ./intl/Makefile ] || exit 0; \
17497 r=`${PWD_COMMAND}`; export r; \
17498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17499 $(HOST_EXPORTS) \
17500 for flag in $(EXTRA_HOST_FLAGS) ; do \
17501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17502 done; \
17503 echo "Doing info in intl" ; \
17504 (cd $(HOST_SUBDIR)/intl && \
17505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17507 "RANLIB=$${RANLIB}" \
17508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17509 info) \
17510 || exit 1
17512 @endif intl
17514 .PHONY: maybe-dvi-intl dvi-intl
17515 maybe-dvi-intl:
17516 @if intl
17517 maybe-dvi-intl: dvi-intl
17519 dvi-intl: \
17520 configure-intl
17521 @[ -f ./intl/Makefile ] || exit 0; \
17522 r=`${PWD_COMMAND}`; export r; \
17523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17524 $(HOST_EXPORTS) \
17525 for flag in $(EXTRA_HOST_FLAGS) ; do \
17526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17527 done; \
17528 echo "Doing dvi in intl" ; \
17529 (cd $(HOST_SUBDIR)/intl && \
17530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17532 "RANLIB=$${RANLIB}" \
17533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17534 dvi) \
17535 || exit 1
17537 @endif intl
17539 .PHONY: maybe-pdf-intl pdf-intl
17540 maybe-pdf-intl:
17541 @if intl
17542 maybe-pdf-intl: pdf-intl
17544 pdf-intl: \
17545 configure-intl
17546 @[ -f ./intl/Makefile ] || exit 0; \
17547 r=`${PWD_COMMAND}`; export r; \
17548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17549 $(HOST_EXPORTS) \
17550 for flag in $(EXTRA_HOST_FLAGS) ; do \
17551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17552 done; \
17553 echo "Doing pdf in intl" ; \
17554 (cd $(HOST_SUBDIR)/intl && \
17555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17557 "RANLIB=$${RANLIB}" \
17558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17559 pdf) \
17560 || exit 1
17562 @endif intl
17564 .PHONY: maybe-html-intl html-intl
17565 maybe-html-intl:
17566 @if intl
17567 maybe-html-intl: html-intl
17569 html-intl: \
17570 configure-intl
17571 @[ -f ./intl/Makefile ] || exit 0; \
17572 r=`${PWD_COMMAND}`; export r; \
17573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17574 $(HOST_EXPORTS) \
17575 for flag in $(EXTRA_HOST_FLAGS) ; do \
17576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17577 done; \
17578 echo "Doing html in intl" ; \
17579 (cd $(HOST_SUBDIR)/intl && \
17580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17582 "RANLIB=$${RANLIB}" \
17583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17584 html) \
17585 || exit 1
17587 @endif intl
17589 .PHONY: maybe-TAGS-intl TAGS-intl
17590 maybe-TAGS-intl:
17591 @if intl
17592 maybe-TAGS-intl: TAGS-intl
17594 TAGS-intl: \
17595 configure-intl
17596 @[ -f ./intl/Makefile ] || exit 0; \
17597 r=`${PWD_COMMAND}`; export r; \
17598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17599 $(HOST_EXPORTS) \
17600 for flag in $(EXTRA_HOST_FLAGS) ; do \
17601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17602 done; \
17603 echo "Doing TAGS in intl" ; \
17604 (cd $(HOST_SUBDIR)/intl && \
17605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17607 "RANLIB=$${RANLIB}" \
17608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17609 TAGS) \
17610 || exit 1
17612 @endif intl
17614 .PHONY: maybe-install-info-intl install-info-intl
17615 maybe-install-info-intl:
17616 @if intl
17617 maybe-install-info-intl: install-info-intl
17619 install-info-intl: \
17620 configure-intl \
17621 info-intl
17622 @[ -f ./intl/Makefile ] || exit 0; \
17623 r=`${PWD_COMMAND}`; export r; \
17624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17625 $(HOST_EXPORTS) \
17626 for flag in $(EXTRA_HOST_FLAGS) ; do \
17627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17628 done; \
17629 echo "Doing install-info in intl" ; \
17630 (cd $(HOST_SUBDIR)/intl && \
17631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17633 "RANLIB=$${RANLIB}" \
17634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17635 install-info) \
17636 || exit 1
17638 @endif intl
17640 .PHONY: maybe-install-pdf-intl install-pdf-intl
17641 maybe-install-pdf-intl:
17642 @if intl
17643 maybe-install-pdf-intl: install-pdf-intl
17645 install-pdf-intl: \
17646 configure-intl \
17647 pdf-intl
17648 @[ -f ./intl/Makefile ] || exit 0; \
17649 r=`${PWD_COMMAND}`; export r; \
17650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17651 $(HOST_EXPORTS) \
17652 for flag in $(EXTRA_HOST_FLAGS) ; do \
17653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17654 done; \
17655 echo "Doing install-pdf in intl" ; \
17656 (cd $(HOST_SUBDIR)/intl && \
17657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17659 "RANLIB=$${RANLIB}" \
17660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17661 install-pdf) \
17662 || exit 1
17664 @endif intl
17666 .PHONY: maybe-install-html-intl install-html-intl
17667 maybe-install-html-intl:
17668 @if intl
17669 maybe-install-html-intl: install-html-intl
17671 install-html-intl: \
17672 configure-intl \
17673 html-intl
17674 @[ -f ./intl/Makefile ] || exit 0; \
17675 r=`${PWD_COMMAND}`; export r; \
17676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17677 $(HOST_EXPORTS) \
17678 for flag in $(EXTRA_HOST_FLAGS) ; do \
17679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17680 done; \
17681 echo "Doing install-html in intl" ; \
17682 (cd $(HOST_SUBDIR)/intl && \
17683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17685 "RANLIB=$${RANLIB}" \
17686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17687 install-html) \
17688 || exit 1
17690 @endif intl
17692 .PHONY: maybe-installcheck-intl installcheck-intl
17693 maybe-installcheck-intl:
17694 @if intl
17695 maybe-installcheck-intl: installcheck-intl
17697 installcheck-intl: \
17698 configure-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 installcheck 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 installcheck) \
17713 || exit 1
17715 @endif intl
17717 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
17718 maybe-mostlyclean-intl:
17719 @if intl
17720 maybe-mostlyclean-intl: mostlyclean-intl
17722 mostlyclean-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 mostlyclean 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 mostlyclean) \
17737 || exit 1
17739 @endif intl
17741 .PHONY: maybe-clean-intl clean-intl
17742 maybe-clean-intl:
17743 @if intl
17744 maybe-clean-intl: clean-intl
17746 clean-intl:
17747 @[ -f ./intl/Makefile ] || exit 0; \
17748 r=`${PWD_COMMAND}`; export r; \
17749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17750 $(HOST_EXPORTS) \
17751 for flag in $(EXTRA_HOST_FLAGS) ; do \
17752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17753 done; \
17754 echo "Doing clean in intl" ; \
17755 (cd $(HOST_SUBDIR)/intl && \
17756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17758 "RANLIB=$${RANLIB}" \
17759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17760 clean) \
17761 || exit 1
17763 @endif intl
17765 .PHONY: maybe-distclean-intl distclean-intl
17766 maybe-distclean-intl:
17767 @if intl
17768 maybe-distclean-intl: distclean-intl
17770 distclean-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 distclean 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 distclean) \
17785 || exit 1
17787 @endif intl
17789 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
17790 maybe-maintainer-clean-intl:
17791 @if intl
17792 maybe-maintainer-clean-intl: maintainer-clean-intl
17794 maintainer-clean-intl:
17795 @[ -f ./intl/Makefile ] || exit 0; \
17796 r=`${PWD_COMMAND}`; export r; \
17797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17798 $(HOST_EXPORTS) \
17799 for flag in $(EXTRA_HOST_FLAGS) ; do \
17800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17801 done; \
17802 echo "Doing maintainer-clean in intl" ; \
17803 (cd $(HOST_SUBDIR)/intl && \
17804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17806 "RANLIB=$${RANLIB}" \
17807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17808 maintainer-clean) \
17809 || exit 1
17811 @endif intl
17815 .PHONY: configure-tcl maybe-configure-tcl
17816 maybe-configure-tcl:
17817 @if gcc-bootstrap
17818 configure-tcl: stage_current
17819 @endif gcc-bootstrap
17820 @if tcl
17821 maybe-configure-tcl: configure-tcl
17822 configure-tcl:
17823 @: $(MAKE); $(unstage)
17824 @r=`${PWD_COMMAND}`; export r; \
17825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17826 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
17827 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
17828 $(HOST_EXPORTS) \
17829 echo Configuring in $(HOST_SUBDIR)/tcl; \
17830 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
17831 case $(srcdir) in \
17832 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17833 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
17834 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17835 esac; \
17836 srcdiroption="--srcdir=$${topdir}/tcl"; \
17837 libsrcdir="$$s/tcl"; \
17838 $(SHELL) $${libsrcdir}/configure \
17839 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17840 --target=${target_alias} $${srcdiroption} \
17841 || exit 1
17842 @endif tcl
17848 .PHONY: all-tcl maybe-all-tcl
17849 maybe-all-tcl:
17850 @if gcc-bootstrap
17851 all-tcl: stage_current
17852 @endif gcc-bootstrap
17853 @if tcl
17854 TARGET-tcl=all
17855 maybe-all-tcl: all-tcl
17856 all-tcl: configure-tcl
17857 @: $(MAKE); $(unstage)
17858 @r=`${PWD_COMMAND}`; export r; \
17859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17860 $(HOST_EXPORTS) \
17861 (cd $(HOST_SUBDIR)/tcl && \
17862 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
17863 $(TARGET-tcl))
17864 @endif tcl
17869 .PHONY: check-tcl maybe-check-tcl
17870 maybe-check-tcl:
17871 @if tcl
17872 maybe-check-tcl: check-tcl
17874 check-tcl:
17875 @: $(MAKE); $(unstage)
17876 @r=`${PWD_COMMAND}`; export r; \
17877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17878 $(HOST_EXPORTS) \
17879 (cd $(HOST_SUBDIR)/tcl && \
17880 $(MAKE) $(FLAGS_TO_PASS) check)
17882 @endif tcl
17884 .PHONY: install-tcl maybe-install-tcl
17885 maybe-install-tcl:
17886 @if tcl
17887 maybe-install-tcl: install-tcl
17889 install-tcl: installdirs
17890 @: $(MAKE); $(unstage)
17891 @r=`${PWD_COMMAND}`; export r; \
17892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17893 $(HOST_EXPORTS) \
17894 (cd $(HOST_SUBDIR)/tcl && \
17895 $(MAKE) $(FLAGS_TO_PASS) install)
17897 @endif tcl
17899 .PHONY: install-strip-tcl maybe-install-strip-tcl
17900 maybe-install-strip-tcl:
17901 @if tcl
17902 maybe-install-strip-tcl: install-strip-tcl
17904 install-strip-tcl: installdirs
17905 @: $(MAKE); $(unstage)
17906 @r=`${PWD_COMMAND}`; export r; \
17907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17908 $(HOST_EXPORTS) \
17909 (cd $(HOST_SUBDIR)/tcl && \
17910 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17912 @endif tcl
17914 # Other targets (info, dvi, pdf, etc.)
17916 .PHONY: maybe-info-tcl info-tcl
17917 maybe-info-tcl:
17918 @if tcl
17919 maybe-info-tcl: info-tcl
17921 info-tcl: \
17922 configure-tcl
17923 @: $(MAKE); $(unstage)
17924 @[ -f ./tcl/Makefile ] || exit 0; \
17925 r=`${PWD_COMMAND}`; export r; \
17926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17927 $(HOST_EXPORTS) \
17928 for flag in $(EXTRA_HOST_FLAGS) ; do \
17929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17930 done; \
17931 echo "Doing info in tcl" ; \
17932 (cd $(HOST_SUBDIR)/tcl && \
17933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17935 "RANLIB=$${RANLIB}" \
17936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17937 info) \
17938 || exit 1
17940 @endif tcl
17942 .PHONY: maybe-dvi-tcl dvi-tcl
17943 maybe-dvi-tcl:
17944 @if tcl
17945 maybe-dvi-tcl: dvi-tcl
17947 dvi-tcl: \
17948 configure-tcl
17949 @: $(MAKE); $(unstage)
17950 @[ -f ./tcl/Makefile ] || exit 0; \
17951 r=`${PWD_COMMAND}`; export r; \
17952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17953 $(HOST_EXPORTS) \
17954 for flag in $(EXTRA_HOST_FLAGS) ; do \
17955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17956 done; \
17957 echo "Doing dvi in tcl" ; \
17958 (cd $(HOST_SUBDIR)/tcl && \
17959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17961 "RANLIB=$${RANLIB}" \
17962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17963 dvi) \
17964 || exit 1
17966 @endif tcl
17968 .PHONY: maybe-pdf-tcl pdf-tcl
17969 maybe-pdf-tcl:
17970 @if tcl
17971 maybe-pdf-tcl: pdf-tcl
17973 pdf-tcl: \
17974 configure-tcl
17975 @: $(MAKE); $(unstage)
17976 @[ -f ./tcl/Makefile ] || exit 0; \
17977 r=`${PWD_COMMAND}`; export r; \
17978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17979 $(HOST_EXPORTS) \
17980 for flag in $(EXTRA_HOST_FLAGS) ; do \
17981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17982 done; \
17983 echo "Doing pdf in tcl" ; \
17984 (cd $(HOST_SUBDIR)/tcl && \
17985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17987 "RANLIB=$${RANLIB}" \
17988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17989 pdf) \
17990 || exit 1
17992 @endif tcl
17994 .PHONY: maybe-html-tcl html-tcl
17995 maybe-html-tcl:
17996 @if tcl
17997 maybe-html-tcl: html-tcl
17999 html-tcl: \
18000 configure-tcl
18001 @: $(MAKE); $(unstage)
18002 @[ -f ./tcl/Makefile ] || exit 0; \
18003 r=`${PWD_COMMAND}`; export r; \
18004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18005 $(HOST_EXPORTS) \
18006 for flag in $(EXTRA_HOST_FLAGS) ; do \
18007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18008 done; \
18009 echo "Doing html in tcl" ; \
18010 (cd $(HOST_SUBDIR)/tcl && \
18011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18013 "RANLIB=$${RANLIB}" \
18014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18015 html) \
18016 || exit 1
18018 @endif tcl
18020 .PHONY: maybe-TAGS-tcl TAGS-tcl
18021 maybe-TAGS-tcl:
18022 @if tcl
18023 maybe-TAGS-tcl: TAGS-tcl
18025 TAGS-tcl: \
18026 configure-tcl
18027 @: $(MAKE); $(unstage)
18028 @[ -f ./tcl/Makefile ] || exit 0; \
18029 r=`${PWD_COMMAND}`; export r; \
18030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18031 $(HOST_EXPORTS) \
18032 for flag in $(EXTRA_HOST_FLAGS) ; do \
18033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18034 done; \
18035 echo "Doing TAGS in tcl" ; \
18036 (cd $(HOST_SUBDIR)/tcl && \
18037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18039 "RANLIB=$${RANLIB}" \
18040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18041 TAGS) \
18042 || exit 1
18044 @endif tcl
18046 .PHONY: maybe-install-info-tcl install-info-tcl
18047 maybe-install-info-tcl:
18048 @if tcl
18049 maybe-install-info-tcl: install-info-tcl
18051 install-info-tcl: \
18052 configure-tcl \
18053 info-tcl
18054 @: $(MAKE); $(unstage)
18055 @[ -f ./tcl/Makefile ] || exit 0; \
18056 r=`${PWD_COMMAND}`; export r; \
18057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18058 $(HOST_EXPORTS) \
18059 for flag in $(EXTRA_HOST_FLAGS) ; do \
18060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18061 done; \
18062 echo "Doing install-info in tcl" ; \
18063 (cd $(HOST_SUBDIR)/tcl && \
18064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18066 "RANLIB=$${RANLIB}" \
18067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18068 install-info) \
18069 || exit 1
18071 @endif tcl
18073 .PHONY: maybe-install-pdf-tcl install-pdf-tcl
18074 maybe-install-pdf-tcl:
18075 @if tcl
18076 maybe-install-pdf-tcl: install-pdf-tcl
18078 install-pdf-tcl: \
18079 configure-tcl \
18080 pdf-tcl
18081 @: $(MAKE); $(unstage)
18082 @[ -f ./tcl/Makefile ] || exit 0; \
18083 r=`${PWD_COMMAND}`; export r; \
18084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18085 $(HOST_EXPORTS) \
18086 for flag in $(EXTRA_HOST_FLAGS) ; do \
18087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18088 done; \
18089 echo "Doing install-pdf in tcl" ; \
18090 (cd $(HOST_SUBDIR)/tcl && \
18091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18093 "RANLIB=$${RANLIB}" \
18094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18095 install-pdf) \
18096 || exit 1
18098 @endif tcl
18100 .PHONY: maybe-install-html-tcl install-html-tcl
18101 maybe-install-html-tcl:
18102 @if tcl
18103 maybe-install-html-tcl: install-html-tcl
18105 install-html-tcl: \
18106 configure-tcl \
18107 html-tcl
18108 @: $(MAKE); $(unstage)
18109 @[ -f ./tcl/Makefile ] || exit 0; \
18110 r=`${PWD_COMMAND}`; export r; \
18111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18112 $(HOST_EXPORTS) \
18113 for flag in $(EXTRA_HOST_FLAGS) ; do \
18114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18115 done; \
18116 echo "Doing install-html in tcl" ; \
18117 (cd $(HOST_SUBDIR)/tcl && \
18118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18120 "RANLIB=$${RANLIB}" \
18121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18122 install-html) \
18123 || exit 1
18125 @endif tcl
18127 .PHONY: maybe-installcheck-tcl installcheck-tcl
18128 maybe-installcheck-tcl:
18129 @if tcl
18130 maybe-installcheck-tcl: installcheck-tcl
18132 installcheck-tcl: \
18133 configure-tcl
18134 @: $(MAKE); $(unstage)
18135 @[ -f ./tcl/Makefile ] || exit 0; \
18136 r=`${PWD_COMMAND}`; export r; \
18137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18138 $(HOST_EXPORTS) \
18139 for flag in $(EXTRA_HOST_FLAGS) ; do \
18140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18141 done; \
18142 echo "Doing installcheck in tcl" ; \
18143 (cd $(HOST_SUBDIR)/tcl && \
18144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18146 "RANLIB=$${RANLIB}" \
18147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18148 installcheck) \
18149 || exit 1
18151 @endif tcl
18153 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
18154 maybe-mostlyclean-tcl:
18155 @if tcl
18156 maybe-mostlyclean-tcl: mostlyclean-tcl
18158 # tcl doesn't support mostlyclean.
18159 mostlyclean-tcl:
18161 @endif tcl
18163 .PHONY: maybe-clean-tcl clean-tcl
18164 maybe-clean-tcl:
18165 @if tcl
18166 maybe-clean-tcl: clean-tcl
18168 clean-tcl:
18169 @: $(MAKE); $(unstage)
18170 @[ -f ./tcl/Makefile ] || exit 0; \
18171 r=`${PWD_COMMAND}`; export r; \
18172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18173 $(HOST_EXPORTS) \
18174 for flag in $(EXTRA_HOST_FLAGS) ; do \
18175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18176 done; \
18177 echo "Doing clean in tcl" ; \
18178 (cd $(HOST_SUBDIR)/tcl && \
18179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18181 "RANLIB=$${RANLIB}" \
18182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18183 clean) \
18184 || exit 1
18186 @endif tcl
18188 .PHONY: maybe-distclean-tcl distclean-tcl
18189 maybe-distclean-tcl:
18190 @if tcl
18191 maybe-distclean-tcl: distclean-tcl
18193 distclean-tcl:
18194 @: $(MAKE); $(unstage)
18195 @[ -f ./tcl/Makefile ] || exit 0; \
18196 r=`${PWD_COMMAND}`; export r; \
18197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18198 $(HOST_EXPORTS) \
18199 for flag in $(EXTRA_HOST_FLAGS) ; do \
18200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18201 done; \
18202 echo "Doing distclean in tcl" ; \
18203 (cd $(HOST_SUBDIR)/tcl && \
18204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18206 "RANLIB=$${RANLIB}" \
18207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18208 distclean) \
18209 || exit 1
18211 @endif tcl
18213 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
18214 maybe-maintainer-clean-tcl:
18215 @if tcl
18216 maybe-maintainer-clean-tcl: maintainer-clean-tcl
18218 maintainer-clean-tcl:
18219 @: $(MAKE); $(unstage)
18220 @[ -f ./tcl/Makefile ] || exit 0; \
18221 r=`${PWD_COMMAND}`; export r; \
18222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18223 $(HOST_EXPORTS) \
18224 for flag in $(EXTRA_HOST_FLAGS) ; do \
18225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18226 done; \
18227 echo "Doing maintainer-clean in tcl" ; \
18228 (cd $(HOST_SUBDIR)/tcl && \
18229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18231 "RANLIB=$${RANLIB}" \
18232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18233 maintainer-clean) \
18234 || exit 1
18236 @endif tcl
18240 .PHONY: configure-itcl maybe-configure-itcl
18241 maybe-configure-itcl:
18242 @if gcc-bootstrap
18243 configure-itcl: stage_current
18244 @endif gcc-bootstrap
18245 @if itcl
18246 maybe-configure-itcl: configure-itcl
18247 configure-itcl:
18248 @: $(MAKE); $(unstage)
18249 @r=`${PWD_COMMAND}`; export r; \
18250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18251 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
18252 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
18253 $(HOST_EXPORTS) \
18254 echo Configuring in $(HOST_SUBDIR)/itcl; \
18255 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
18256 case $(srcdir) in \
18257 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18258 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
18259 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18260 esac; \
18261 srcdiroption="--srcdir=$${topdir}/itcl"; \
18262 libsrcdir="$$s/itcl"; \
18263 $(SHELL) $${libsrcdir}/configure \
18264 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18265 --target=${target_alias} $${srcdiroption} \
18266 || exit 1
18267 @endif itcl
18273 .PHONY: all-itcl maybe-all-itcl
18274 maybe-all-itcl:
18275 @if gcc-bootstrap
18276 all-itcl: stage_current
18277 @endif gcc-bootstrap
18278 @if itcl
18279 TARGET-itcl=all
18280 maybe-all-itcl: all-itcl
18281 all-itcl: configure-itcl
18282 @: $(MAKE); $(unstage)
18283 @r=`${PWD_COMMAND}`; export r; \
18284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18285 $(HOST_EXPORTS) \
18286 (cd $(HOST_SUBDIR)/itcl && \
18287 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
18288 $(TARGET-itcl))
18289 @endif itcl
18294 .PHONY: check-itcl maybe-check-itcl
18295 maybe-check-itcl:
18296 @if itcl
18297 maybe-check-itcl: check-itcl
18299 check-itcl:
18300 @: $(MAKE); $(unstage)
18301 @r=`${PWD_COMMAND}`; export r; \
18302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18303 $(HOST_EXPORTS) \
18304 (cd $(HOST_SUBDIR)/itcl && \
18305 $(MAKE) $(FLAGS_TO_PASS) check)
18307 @endif itcl
18309 .PHONY: install-itcl maybe-install-itcl
18310 maybe-install-itcl:
18311 @if itcl
18312 maybe-install-itcl: install-itcl
18314 install-itcl: installdirs
18315 @: $(MAKE); $(unstage)
18316 @r=`${PWD_COMMAND}`; export r; \
18317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18318 $(HOST_EXPORTS) \
18319 (cd $(HOST_SUBDIR)/itcl && \
18320 $(MAKE) $(FLAGS_TO_PASS) install)
18322 @endif itcl
18324 .PHONY: install-strip-itcl maybe-install-strip-itcl
18325 maybe-install-strip-itcl:
18326 @if itcl
18327 maybe-install-strip-itcl: install-strip-itcl
18329 install-strip-itcl: installdirs
18330 @: $(MAKE); $(unstage)
18331 @r=`${PWD_COMMAND}`; export r; \
18332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18333 $(HOST_EXPORTS) \
18334 (cd $(HOST_SUBDIR)/itcl && \
18335 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18337 @endif itcl
18339 # Other targets (info, dvi, pdf, etc.)
18341 .PHONY: maybe-info-itcl info-itcl
18342 maybe-info-itcl:
18343 @if itcl
18344 maybe-info-itcl: info-itcl
18346 info-itcl: \
18347 configure-itcl
18348 @: $(MAKE); $(unstage)
18349 @[ -f ./itcl/Makefile ] || exit 0; \
18350 r=`${PWD_COMMAND}`; export r; \
18351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18352 $(HOST_EXPORTS) \
18353 for flag in $(EXTRA_HOST_FLAGS) ; do \
18354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18355 done; \
18356 echo "Doing info in itcl" ; \
18357 (cd $(HOST_SUBDIR)/itcl && \
18358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18360 "RANLIB=$${RANLIB}" \
18361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18362 info) \
18363 || exit 1
18365 @endif itcl
18367 .PHONY: maybe-dvi-itcl dvi-itcl
18368 maybe-dvi-itcl:
18369 @if itcl
18370 maybe-dvi-itcl: dvi-itcl
18372 dvi-itcl: \
18373 configure-itcl
18374 @: $(MAKE); $(unstage)
18375 @[ -f ./itcl/Makefile ] || exit 0; \
18376 r=`${PWD_COMMAND}`; export r; \
18377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18378 $(HOST_EXPORTS) \
18379 for flag in $(EXTRA_HOST_FLAGS) ; do \
18380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18381 done; \
18382 echo "Doing dvi in itcl" ; \
18383 (cd $(HOST_SUBDIR)/itcl && \
18384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18386 "RANLIB=$${RANLIB}" \
18387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18388 dvi) \
18389 || exit 1
18391 @endif itcl
18393 .PHONY: maybe-pdf-itcl pdf-itcl
18394 maybe-pdf-itcl:
18395 @if itcl
18396 maybe-pdf-itcl: pdf-itcl
18398 pdf-itcl: \
18399 configure-itcl
18400 @: $(MAKE); $(unstage)
18401 @[ -f ./itcl/Makefile ] || exit 0; \
18402 r=`${PWD_COMMAND}`; export r; \
18403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18404 $(HOST_EXPORTS) \
18405 for flag in $(EXTRA_HOST_FLAGS) ; do \
18406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18407 done; \
18408 echo "Doing pdf in itcl" ; \
18409 (cd $(HOST_SUBDIR)/itcl && \
18410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18412 "RANLIB=$${RANLIB}" \
18413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18414 pdf) \
18415 || exit 1
18417 @endif itcl
18419 .PHONY: maybe-html-itcl html-itcl
18420 maybe-html-itcl:
18421 @if itcl
18422 maybe-html-itcl: html-itcl
18424 html-itcl: \
18425 configure-itcl
18426 @: $(MAKE); $(unstage)
18427 @[ -f ./itcl/Makefile ] || exit 0; \
18428 r=`${PWD_COMMAND}`; export r; \
18429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18430 $(HOST_EXPORTS) \
18431 for flag in $(EXTRA_HOST_FLAGS) ; do \
18432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18433 done; \
18434 echo "Doing html in itcl" ; \
18435 (cd $(HOST_SUBDIR)/itcl && \
18436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18438 "RANLIB=$${RANLIB}" \
18439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18440 html) \
18441 || exit 1
18443 @endif itcl
18445 .PHONY: maybe-TAGS-itcl TAGS-itcl
18446 maybe-TAGS-itcl:
18447 @if itcl
18448 maybe-TAGS-itcl: TAGS-itcl
18450 TAGS-itcl: \
18451 configure-itcl
18452 @: $(MAKE); $(unstage)
18453 @[ -f ./itcl/Makefile ] || exit 0; \
18454 r=`${PWD_COMMAND}`; export r; \
18455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18456 $(HOST_EXPORTS) \
18457 for flag in $(EXTRA_HOST_FLAGS) ; do \
18458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18459 done; \
18460 echo "Doing TAGS in itcl" ; \
18461 (cd $(HOST_SUBDIR)/itcl && \
18462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18464 "RANLIB=$${RANLIB}" \
18465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18466 TAGS) \
18467 || exit 1
18469 @endif itcl
18471 .PHONY: maybe-install-info-itcl install-info-itcl
18472 maybe-install-info-itcl:
18473 @if itcl
18474 maybe-install-info-itcl: install-info-itcl
18476 install-info-itcl: \
18477 configure-itcl \
18478 info-itcl
18479 @: $(MAKE); $(unstage)
18480 @[ -f ./itcl/Makefile ] || exit 0; \
18481 r=`${PWD_COMMAND}`; export r; \
18482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18483 $(HOST_EXPORTS) \
18484 for flag in $(EXTRA_HOST_FLAGS) ; do \
18485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18486 done; \
18487 echo "Doing install-info in itcl" ; \
18488 (cd $(HOST_SUBDIR)/itcl && \
18489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18491 "RANLIB=$${RANLIB}" \
18492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18493 install-info) \
18494 || exit 1
18496 @endif itcl
18498 .PHONY: maybe-install-pdf-itcl install-pdf-itcl
18499 maybe-install-pdf-itcl:
18500 @if itcl
18501 maybe-install-pdf-itcl: install-pdf-itcl
18503 install-pdf-itcl: \
18504 configure-itcl \
18505 pdf-itcl
18506 @: $(MAKE); $(unstage)
18507 @[ -f ./itcl/Makefile ] || exit 0; \
18508 r=`${PWD_COMMAND}`; export r; \
18509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18510 $(HOST_EXPORTS) \
18511 for flag in $(EXTRA_HOST_FLAGS) ; do \
18512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18513 done; \
18514 echo "Doing install-pdf in itcl" ; \
18515 (cd $(HOST_SUBDIR)/itcl && \
18516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18518 "RANLIB=$${RANLIB}" \
18519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18520 install-pdf) \
18521 || exit 1
18523 @endif itcl
18525 .PHONY: maybe-install-html-itcl install-html-itcl
18526 maybe-install-html-itcl:
18527 @if itcl
18528 maybe-install-html-itcl: install-html-itcl
18530 install-html-itcl: \
18531 configure-itcl \
18532 html-itcl
18533 @: $(MAKE); $(unstage)
18534 @[ -f ./itcl/Makefile ] || exit 0; \
18535 r=`${PWD_COMMAND}`; export r; \
18536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18537 $(HOST_EXPORTS) \
18538 for flag in $(EXTRA_HOST_FLAGS) ; do \
18539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18540 done; \
18541 echo "Doing install-html in itcl" ; \
18542 (cd $(HOST_SUBDIR)/itcl && \
18543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18545 "RANLIB=$${RANLIB}" \
18546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18547 install-html) \
18548 || exit 1
18550 @endif itcl
18552 .PHONY: maybe-installcheck-itcl installcheck-itcl
18553 maybe-installcheck-itcl:
18554 @if itcl
18555 maybe-installcheck-itcl: installcheck-itcl
18557 installcheck-itcl: \
18558 configure-itcl
18559 @: $(MAKE); $(unstage)
18560 @[ -f ./itcl/Makefile ] || exit 0; \
18561 r=`${PWD_COMMAND}`; export r; \
18562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18563 $(HOST_EXPORTS) \
18564 for flag in $(EXTRA_HOST_FLAGS) ; do \
18565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18566 done; \
18567 echo "Doing installcheck in itcl" ; \
18568 (cd $(HOST_SUBDIR)/itcl && \
18569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18571 "RANLIB=$${RANLIB}" \
18572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18573 installcheck) \
18574 || exit 1
18576 @endif itcl
18578 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
18579 maybe-mostlyclean-itcl:
18580 @if itcl
18581 maybe-mostlyclean-itcl: mostlyclean-itcl
18583 mostlyclean-itcl:
18584 @: $(MAKE); $(unstage)
18585 @[ -f ./itcl/Makefile ] || exit 0; \
18586 r=`${PWD_COMMAND}`; export r; \
18587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18588 $(HOST_EXPORTS) \
18589 for flag in $(EXTRA_HOST_FLAGS) ; do \
18590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18591 done; \
18592 echo "Doing mostlyclean in itcl" ; \
18593 (cd $(HOST_SUBDIR)/itcl && \
18594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18596 "RANLIB=$${RANLIB}" \
18597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18598 mostlyclean) \
18599 || exit 1
18601 @endif itcl
18603 .PHONY: maybe-clean-itcl clean-itcl
18604 maybe-clean-itcl:
18605 @if itcl
18606 maybe-clean-itcl: clean-itcl
18608 clean-itcl:
18609 @: $(MAKE); $(unstage)
18610 @[ -f ./itcl/Makefile ] || exit 0; \
18611 r=`${PWD_COMMAND}`; export r; \
18612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18613 $(HOST_EXPORTS) \
18614 for flag in $(EXTRA_HOST_FLAGS) ; do \
18615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18616 done; \
18617 echo "Doing clean in itcl" ; \
18618 (cd $(HOST_SUBDIR)/itcl && \
18619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18621 "RANLIB=$${RANLIB}" \
18622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18623 clean) \
18624 || exit 1
18626 @endif itcl
18628 .PHONY: maybe-distclean-itcl distclean-itcl
18629 maybe-distclean-itcl:
18630 @if itcl
18631 maybe-distclean-itcl: distclean-itcl
18633 distclean-itcl:
18634 @: $(MAKE); $(unstage)
18635 @[ -f ./itcl/Makefile ] || exit 0; \
18636 r=`${PWD_COMMAND}`; export r; \
18637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18638 $(HOST_EXPORTS) \
18639 for flag in $(EXTRA_HOST_FLAGS) ; do \
18640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18641 done; \
18642 echo "Doing distclean in itcl" ; \
18643 (cd $(HOST_SUBDIR)/itcl && \
18644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18646 "RANLIB=$${RANLIB}" \
18647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18648 distclean) \
18649 || exit 1
18651 @endif itcl
18653 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
18654 maybe-maintainer-clean-itcl:
18655 @if itcl
18656 maybe-maintainer-clean-itcl: maintainer-clean-itcl
18658 maintainer-clean-itcl:
18659 @: $(MAKE); $(unstage)
18660 @[ -f ./itcl/Makefile ] || exit 0; \
18661 r=`${PWD_COMMAND}`; export r; \
18662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18663 $(HOST_EXPORTS) \
18664 for flag in $(EXTRA_HOST_FLAGS) ; do \
18665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18666 done; \
18667 echo "Doing maintainer-clean in itcl" ; \
18668 (cd $(HOST_SUBDIR)/itcl && \
18669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18671 "RANLIB=$${RANLIB}" \
18672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18673 maintainer-clean) \
18674 || exit 1
18676 @endif itcl
18680 .PHONY: configure-ld maybe-configure-ld
18681 maybe-configure-ld:
18682 @if gcc-bootstrap
18683 configure-ld: stage_current
18684 @endif gcc-bootstrap
18685 @if ld
18686 maybe-configure-ld: configure-ld
18687 configure-ld:
18688 @r=`${PWD_COMMAND}`; export r; \
18689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18690 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18691 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18692 $(HOST_EXPORTS) \
18693 echo Configuring in $(HOST_SUBDIR)/ld; \
18694 cd "$(HOST_SUBDIR)/ld" || exit 1; \
18695 case $(srcdir) in \
18696 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18697 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18698 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18699 esac; \
18700 srcdiroption="--srcdir=$${topdir}/ld"; \
18701 libsrcdir="$$s/ld"; \
18702 $(SHELL) $${libsrcdir}/configure \
18703 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18704 --target=${target_alias} $${srcdiroption} \
18705 || exit 1
18706 @endif ld
18710 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
18711 maybe-configure-stage1-ld:
18712 @if ld-bootstrap
18713 maybe-configure-stage1-ld: configure-stage1-ld
18714 configure-stage1-ld:
18715 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18716 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18717 @r=`${PWD_COMMAND}`; export r; \
18718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18719 TFLAGS="$(STAGE1_TFLAGS)"; \
18720 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18721 $(HOST_EXPORTS) \
18722 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
18723 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
18724 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
18725 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
18726 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18727 cd $(HOST_SUBDIR)/ld || exit 1; \
18728 case $(srcdir) in \
18729 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18730 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18731 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18732 esac; \
18733 srcdiroption="--srcdir=$${topdir}/ld"; \
18734 libsrcdir="$$s/ld"; \
18735 $(SHELL) $${libsrcdir}/configure \
18736 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18737 --target=${target_alias} $${srcdiroption} \
18738 $(STAGE1_CONFIGURE_FLAGS)
18739 @endif ld-bootstrap
18741 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
18742 maybe-configure-stage2-ld:
18743 @if ld-bootstrap
18744 maybe-configure-stage2-ld: configure-stage2-ld
18745 configure-stage2-ld:
18746 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18747 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18748 @r=`${PWD_COMMAND}`; export r; \
18749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18750 TFLAGS="$(STAGE2_TFLAGS)"; \
18751 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18752 $(HOST_EXPORTS) \
18753 $(POSTSTAGE1_HOST_EXPORTS) \
18754 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
18755 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
18756 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
18757 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
18758 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18759 cd $(HOST_SUBDIR)/ld || exit 1; \
18760 case $(srcdir) in \
18761 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18762 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18763 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18764 esac; \
18765 srcdiroption="--srcdir=$${topdir}/ld"; \
18766 libsrcdir="$$s/ld"; \
18767 $(SHELL) $${libsrcdir}/configure \
18768 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18769 --target=${target_alias} $${srcdiroption} \
18770 --with-build-libsubdir=$(HOST_SUBDIR) \
18771 $(STAGE2_CONFIGURE_FLAGS)
18772 @endif ld-bootstrap
18774 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
18775 maybe-configure-stage3-ld:
18776 @if ld-bootstrap
18777 maybe-configure-stage3-ld: configure-stage3-ld
18778 configure-stage3-ld:
18779 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18780 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18781 @r=`${PWD_COMMAND}`; export r; \
18782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18783 TFLAGS="$(STAGE3_TFLAGS)"; \
18784 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18785 $(HOST_EXPORTS) \
18786 $(POSTSTAGE1_HOST_EXPORTS) \
18787 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
18788 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
18789 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
18790 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
18791 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18792 cd $(HOST_SUBDIR)/ld || exit 1; \
18793 case $(srcdir) in \
18794 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18795 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18796 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18797 esac; \
18798 srcdiroption="--srcdir=$${topdir}/ld"; \
18799 libsrcdir="$$s/ld"; \
18800 $(SHELL) $${libsrcdir}/configure \
18801 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18802 --target=${target_alias} $${srcdiroption} \
18803 --with-build-libsubdir=$(HOST_SUBDIR) \
18804 $(STAGE3_CONFIGURE_FLAGS)
18805 @endif ld-bootstrap
18807 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
18808 maybe-configure-stage4-ld:
18809 @if ld-bootstrap
18810 maybe-configure-stage4-ld: configure-stage4-ld
18811 configure-stage4-ld:
18812 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18813 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18814 @r=`${PWD_COMMAND}`; export r; \
18815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18816 TFLAGS="$(STAGE4_TFLAGS)"; \
18817 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18818 $(HOST_EXPORTS) \
18819 $(POSTSTAGE1_HOST_EXPORTS) \
18820 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
18821 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
18822 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
18823 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
18824 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18825 cd $(HOST_SUBDIR)/ld || exit 1; \
18826 case $(srcdir) in \
18827 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18828 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18829 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18830 esac; \
18831 srcdiroption="--srcdir=$${topdir}/ld"; \
18832 libsrcdir="$$s/ld"; \
18833 $(SHELL) $${libsrcdir}/configure \
18834 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18835 --target=${target_alias} $${srcdiroption} \
18836 --with-build-libsubdir=$(HOST_SUBDIR) \
18837 $(STAGE4_CONFIGURE_FLAGS)
18838 @endif ld-bootstrap
18840 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
18841 maybe-configure-stageprofile-ld:
18842 @if ld-bootstrap
18843 maybe-configure-stageprofile-ld: configure-stageprofile-ld
18844 configure-stageprofile-ld:
18845 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18846 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18847 @r=`${PWD_COMMAND}`; export r; \
18848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18849 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18850 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18851 $(HOST_EXPORTS) \
18852 $(POSTSTAGE1_HOST_EXPORTS) \
18853 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
18854 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
18855 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
18856 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
18857 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18858 cd $(HOST_SUBDIR)/ld || exit 1; \
18859 case $(srcdir) in \
18860 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18861 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18862 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18863 esac; \
18864 srcdiroption="--srcdir=$${topdir}/ld"; \
18865 libsrcdir="$$s/ld"; \
18866 $(SHELL) $${libsrcdir}/configure \
18867 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18868 --target=${target_alias} $${srcdiroption} \
18869 --with-build-libsubdir=$(HOST_SUBDIR) \
18870 $(STAGEprofile_CONFIGURE_FLAGS)
18871 @endif ld-bootstrap
18873 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
18874 maybe-configure-stagefeedback-ld:
18875 @if ld-bootstrap
18876 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
18877 configure-stagefeedback-ld:
18878 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18879 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18880 @r=`${PWD_COMMAND}`; export r; \
18881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18882 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18883 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18884 $(HOST_EXPORTS) \
18885 $(POSTSTAGE1_HOST_EXPORTS) \
18886 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
18887 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
18888 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
18889 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
18890 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18891 cd $(HOST_SUBDIR)/ld || exit 1; \
18892 case $(srcdir) in \
18893 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18894 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18895 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18896 esac; \
18897 srcdiroption="--srcdir=$${topdir}/ld"; \
18898 libsrcdir="$$s/ld"; \
18899 $(SHELL) $${libsrcdir}/configure \
18900 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18901 --target=${target_alias} $${srcdiroption} \
18902 --with-build-libsubdir=$(HOST_SUBDIR) \
18903 $(STAGEfeedback_CONFIGURE_FLAGS)
18904 @endif ld-bootstrap
18910 .PHONY: all-ld maybe-all-ld
18911 maybe-all-ld:
18912 @if gcc-bootstrap
18913 all-ld: stage_current
18914 @endif gcc-bootstrap
18915 @if ld
18916 TARGET-ld=all
18917 maybe-all-ld: all-ld
18918 all-ld: configure-ld
18919 @r=`${PWD_COMMAND}`; export r; \
18920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18921 $(HOST_EXPORTS) \
18922 (cd $(HOST_SUBDIR)/ld && \
18923 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
18924 $(TARGET-ld))
18925 @endif ld
18929 .PHONY: all-stage1-ld maybe-all-stage1-ld
18930 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
18931 maybe-all-stage1-ld:
18932 maybe-clean-stage1-ld:
18933 @if ld-bootstrap
18934 maybe-all-stage1-ld: all-stage1-ld
18935 all-stage1: all-stage1-ld
18936 TARGET-stage1-ld = $(TARGET-ld)
18937 all-stage1-ld: configure-stage1-ld
18938 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18939 @r=`${PWD_COMMAND}`; export r; \
18940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18941 TFLAGS="$(STAGE1_TFLAGS)"; \
18942 $(HOST_EXPORTS) \
18943 cd $(HOST_SUBDIR)/ld && \
18944 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18945 CFLAGS="$(STAGE1_CFLAGS)" \
18946 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
18947 LIBCFLAGS="$(LIBCFLAGS)" \
18948 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18949 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18950 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18951 $(EXTRA_HOST_FLAGS) \
18952 TFLAGS="$(STAGE1_TFLAGS)" \
18953 $(TARGET-stage1-ld)
18955 maybe-clean-stage1-ld: clean-stage1-ld
18956 clean-stage1: clean-stage1-ld
18957 clean-stage1-ld:
18958 @if [ $(current_stage) = stage1 ]; then \
18959 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18960 else \
18961 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
18962 $(MAKE) stage1-start; \
18963 fi; \
18964 cd $(HOST_SUBDIR)/ld && \
18965 $(MAKE) $(EXTRA_HOST_FLAGS) \
18966 clean
18967 @endif ld-bootstrap
18970 .PHONY: all-stage2-ld maybe-all-stage2-ld
18971 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
18972 maybe-all-stage2-ld:
18973 maybe-clean-stage2-ld:
18974 @if ld-bootstrap
18975 maybe-all-stage2-ld: all-stage2-ld
18976 all-stage2: all-stage2-ld
18977 TARGET-stage2-ld = $(TARGET-ld)
18978 all-stage2-ld: configure-stage2-ld
18979 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18980 @r=`${PWD_COMMAND}`; export r; \
18981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18982 TFLAGS="$(STAGE2_TFLAGS)"; \
18983 $(HOST_EXPORTS) \
18984 $(POSTSTAGE1_HOST_EXPORTS) \
18985 cd $(HOST_SUBDIR)/ld && \
18986 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18987 CFLAGS="$(STAGE2_CFLAGS)" \
18988 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
18989 LIBCFLAGS="$(STAGE2_CFLAGS)" \
18990 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18991 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18992 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18993 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18994 TFLAGS="$(STAGE2_TFLAGS)" \
18995 $(TARGET-stage2-ld)
18997 maybe-clean-stage2-ld: clean-stage2-ld
18998 clean-stage2: clean-stage2-ld
18999 clean-stage2-ld:
19000 @if [ $(current_stage) = stage2 ]; then \
19001 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19002 else \
19003 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
19004 $(MAKE) stage2-start; \
19005 fi; \
19006 cd $(HOST_SUBDIR)/ld && \
19007 $(MAKE) $(EXTRA_HOST_FLAGS) \
19008 $(POSTSTAGE1_FLAGS_TO_PASS) \
19009 clean
19010 @endif ld-bootstrap
19013 .PHONY: all-stage3-ld maybe-all-stage3-ld
19014 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
19015 maybe-all-stage3-ld:
19016 maybe-clean-stage3-ld:
19017 @if ld-bootstrap
19018 maybe-all-stage3-ld: all-stage3-ld
19019 all-stage3: all-stage3-ld
19020 TARGET-stage3-ld = $(TARGET-ld)
19021 all-stage3-ld: configure-stage3-ld
19022 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19023 @r=`${PWD_COMMAND}`; export r; \
19024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19025 TFLAGS="$(STAGE3_TFLAGS)"; \
19026 $(HOST_EXPORTS) \
19027 $(POSTSTAGE1_HOST_EXPORTS) \
19028 cd $(HOST_SUBDIR)/ld && \
19029 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19030 CFLAGS="$(STAGE3_CFLAGS)" \
19031 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
19032 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19033 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19034 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19035 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19036 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19037 TFLAGS="$(STAGE3_TFLAGS)" \
19038 $(TARGET-stage3-ld)
19040 maybe-clean-stage3-ld: clean-stage3-ld
19041 clean-stage3: clean-stage3-ld
19042 clean-stage3-ld:
19043 @if [ $(current_stage) = stage3 ]; then \
19044 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19045 else \
19046 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
19047 $(MAKE) stage3-start; \
19048 fi; \
19049 cd $(HOST_SUBDIR)/ld && \
19050 $(MAKE) $(EXTRA_HOST_FLAGS) \
19051 $(POSTSTAGE1_FLAGS_TO_PASS) \
19052 clean
19053 @endif ld-bootstrap
19056 .PHONY: all-stage4-ld maybe-all-stage4-ld
19057 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
19058 maybe-all-stage4-ld:
19059 maybe-clean-stage4-ld:
19060 @if ld-bootstrap
19061 maybe-all-stage4-ld: all-stage4-ld
19062 all-stage4: all-stage4-ld
19063 TARGET-stage4-ld = $(TARGET-ld)
19064 all-stage4-ld: configure-stage4-ld
19065 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19066 @r=`${PWD_COMMAND}`; export r; \
19067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19068 TFLAGS="$(STAGE4_TFLAGS)"; \
19069 $(HOST_EXPORTS) \
19070 $(POSTSTAGE1_HOST_EXPORTS) \
19071 cd $(HOST_SUBDIR)/ld && \
19072 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19073 CFLAGS="$(STAGE4_CFLAGS)" \
19074 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19075 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19076 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19077 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19078 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19079 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19080 TFLAGS="$(STAGE4_TFLAGS)" \
19081 $(TARGET-stage4-ld)
19083 maybe-clean-stage4-ld: clean-stage4-ld
19084 clean-stage4: clean-stage4-ld
19085 clean-stage4-ld:
19086 @if [ $(current_stage) = stage4 ]; then \
19087 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19088 else \
19089 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
19090 $(MAKE) stage4-start; \
19091 fi; \
19092 cd $(HOST_SUBDIR)/ld && \
19093 $(MAKE) $(EXTRA_HOST_FLAGS) \
19094 $(POSTSTAGE1_FLAGS_TO_PASS) \
19095 clean
19096 @endif ld-bootstrap
19099 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
19100 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
19101 maybe-all-stageprofile-ld:
19102 maybe-clean-stageprofile-ld:
19103 @if ld-bootstrap
19104 maybe-all-stageprofile-ld: all-stageprofile-ld
19105 all-stageprofile: all-stageprofile-ld
19106 TARGET-stageprofile-ld = $(TARGET-ld)
19107 all-stageprofile-ld: configure-stageprofile-ld
19108 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19109 @r=`${PWD_COMMAND}`; export r; \
19110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19111 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19112 $(HOST_EXPORTS) \
19113 $(POSTSTAGE1_HOST_EXPORTS) \
19114 cd $(HOST_SUBDIR)/ld && \
19115 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19116 CFLAGS="$(STAGEprofile_CFLAGS)" \
19117 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
19118 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
19119 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19120 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19121 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19122 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19123 TFLAGS="$(STAGEprofile_TFLAGS)" \
19124 $(TARGET-stageprofile-ld)
19126 maybe-clean-stageprofile-ld: clean-stageprofile-ld
19127 clean-stageprofile: clean-stageprofile-ld
19128 clean-stageprofile-ld:
19129 @if [ $(current_stage) = stageprofile ]; then \
19130 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19131 else \
19132 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
19133 $(MAKE) stageprofile-start; \
19134 fi; \
19135 cd $(HOST_SUBDIR)/ld && \
19136 $(MAKE) $(EXTRA_HOST_FLAGS) \
19137 $(POSTSTAGE1_FLAGS_TO_PASS) \
19138 clean
19139 @endif ld-bootstrap
19142 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
19143 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
19144 maybe-all-stagefeedback-ld:
19145 maybe-clean-stagefeedback-ld:
19146 @if ld-bootstrap
19147 maybe-all-stagefeedback-ld: all-stagefeedback-ld
19148 all-stagefeedback: all-stagefeedback-ld
19149 TARGET-stagefeedback-ld = $(TARGET-ld)
19150 all-stagefeedback-ld: configure-stagefeedback-ld
19151 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19152 @r=`${PWD_COMMAND}`; export r; \
19153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19154 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19155 $(HOST_EXPORTS) \
19156 $(POSTSTAGE1_HOST_EXPORTS) \
19157 cd $(HOST_SUBDIR)/ld && \
19158 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19159 CFLAGS="$(STAGEfeedback_CFLAGS)" \
19160 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
19161 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
19162 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19163 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19164 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19165 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19166 TFLAGS="$(STAGEfeedback_TFLAGS)" \
19167 $(TARGET-stagefeedback-ld)
19169 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
19170 clean-stagefeedback: clean-stagefeedback-ld
19171 clean-stagefeedback-ld:
19172 @if [ $(current_stage) = stagefeedback ]; then \
19173 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19174 else \
19175 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
19176 $(MAKE) stagefeedback-start; \
19177 fi; \
19178 cd $(HOST_SUBDIR)/ld && \
19179 $(MAKE) $(EXTRA_HOST_FLAGS) \
19180 $(POSTSTAGE1_FLAGS_TO_PASS) \
19181 clean
19182 @endif ld-bootstrap
19188 .PHONY: check-ld maybe-check-ld
19189 maybe-check-ld:
19190 @if ld
19191 maybe-check-ld: check-ld
19193 check-ld:
19194 @: $(MAKE); $(unstage)
19195 @r=`${PWD_COMMAND}`; export r; \
19196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19197 $(HOST_EXPORTS) \
19198 (cd $(HOST_SUBDIR)/ld && \
19199 $(MAKE) $(FLAGS_TO_PASS) check)
19201 @endif ld
19203 .PHONY: install-ld maybe-install-ld
19204 maybe-install-ld:
19205 @if ld
19206 maybe-install-ld: install-ld
19208 install-ld: installdirs
19209 @: $(MAKE); $(unstage)
19210 @r=`${PWD_COMMAND}`; export r; \
19211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19212 $(HOST_EXPORTS) \
19213 (cd $(HOST_SUBDIR)/ld && \
19214 $(MAKE) $(FLAGS_TO_PASS) install)
19216 @endif ld
19218 .PHONY: install-strip-ld maybe-install-strip-ld
19219 maybe-install-strip-ld:
19220 @if ld
19221 maybe-install-strip-ld: install-strip-ld
19223 install-strip-ld: installdirs
19224 @: $(MAKE); $(unstage)
19225 @r=`${PWD_COMMAND}`; export r; \
19226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19227 $(HOST_EXPORTS) \
19228 (cd $(HOST_SUBDIR)/ld && \
19229 $(MAKE) $(FLAGS_TO_PASS) install-strip)
19231 @endif ld
19233 # Other targets (info, dvi, pdf, etc.)
19235 .PHONY: maybe-info-ld info-ld
19236 maybe-info-ld:
19237 @if ld
19238 maybe-info-ld: info-ld
19240 info-ld: \
19241 configure-ld
19242 @[ -f ./ld/Makefile ] || exit 0; \
19243 r=`${PWD_COMMAND}`; export r; \
19244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19245 $(HOST_EXPORTS) \
19246 for flag in $(EXTRA_HOST_FLAGS) ; do \
19247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19248 done; \
19249 echo "Doing info in ld" ; \
19250 (cd $(HOST_SUBDIR)/ld && \
19251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19253 "RANLIB=$${RANLIB}" \
19254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19255 info) \
19256 || exit 1
19258 @endif ld
19260 .PHONY: maybe-dvi-ld dvi-ld
19261 maybe-dvi-ld:
19262 @if ld
19263 maybe-dvi-ld: dvi-ld
19265 dvi-ld: \
19266 configure-ld
19267 @[ -f ./ld/Makefile ] || exit 0; \
19268 r=`${PWD_COMMAND}`; export r; \
19269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19270 $(HOST_EXPORTS) \
19271 for flag in $(EXTRA_HOST_FLAGS) ; do \
19272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19273 done; \
19274 echo "Doing dvi in ld" ; \
19275 (cd $(HOST_SUBDIR)/ld && \
19276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19278 "RANLIB=$${RANLIB}" \
19279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19280 dvi) \
19281 || exit 1
19283 @endif ld
19285 .PHONY: maybe-pdf-ld pdf-ld
19286 maybe-pdf-ld:
19287 @if ld
19288 maybe-pdf-ld: pdf-ld
19290 pdf-ld: \
19291 configure-ld
19292 @[ -f ./ld/Makefile ] || exit 0; \
19293 r=`${PWD_COMMAND}`; export r; \
19294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19295 $(HOST_EXPORTS) \
19296 for flag in $(EXTRA_HOST_FLAGS) ; do \
19297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19298 done; \
19299 echo "Doing pdf in ld" ; \
19300 (cd $(HOST_SUBDIR)/ld && \
19301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19303 "RANLIB=$${RANLIB}" \
19304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19305 pdf) \
19306 || exit 1
19308 @endif ld
19310 .PHONY: maybe-html-ld html-ld
19311 maybe-html-ld:
19312 @if ld
19313 maybe-html-ld: html-ld
19315 html-ld: \
19316 configure-ld
19317 @[ -f ./ld/Makefile ] || exit 0; \
19318 r=`${PWD_COMMAND}`; export r; \
19319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19320 $(HOST_EXPORTS) \
19321 for flag in $(EXTRA_HOST_FLAGS) ; do \
19322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19323 done; \
19324 echo "Doing html in ld" ; \
19325 (cd $(HOST_SUBDIR)/ld && \
19326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19328 "RANLIB=$${RANLIB}" \
19329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19330 html) \
19331 || exit 1
19333 @endif ld
19335 .PHONY: maybe-TAGS-ld TAGS-ld
19336 maybe-TAGS-ld:
19337 @if ld
19338 maybe-TAGS-ld: TAGS-ld
19340 TAGS-ld: \
19341 configure-ld
19342 @[ -f ./ld/Makefile ] || exit 0; \
19343 r=`${PWD_COMMAND}`; export r; \
19344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19345 $(HOST_EXPORTS) \
19346 for flag in $(EXTRA_HOST_FLAGS) ; do \
19347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19348 done; \
19349 echo "Doing TAGS in ld" ; \
19350 (cd $(HOST_SUBDIR)/ld && \
19351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19353 "RANLIB=$${RANLIB}" \
19354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19355 TAGS) \
19356 || exit 1
19358 @endif ld
19360 .PHONY: maybe-install-info-ld install-info-ld
19361 maybe-install-info-ld:
19362 @if ld
19363 maybe-install-info-ld: install-info-ld
19365 install-info-ld: \
19366 configure-ld \
19367 info-ld
19368 @[ -f ./ld/Makefile ] || exit 0; \
19369 r=`${PWD_COMMAND}`; export r; \
19370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19371 $(HOST_EXPORTS) \
19372 for flag in $(EXTRA_HOST_FLAGS) ; do \
19373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19374 done; \
19375 echo "Doing install-info in ld" ; \
19376 (cd $(HOST_SUBDIR)/ld && \
19377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19379 "RANLIB=$${RANLIB}" \
19380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19381 install-info) \
19382 || exit 1
19384 @endif ld
19386 .PHONY: maybe-install-pdf-ld install-pdf-ld
19387 maybe-install-pdf-ld:
19388 @if ld
19389 maybe-install-pdf-ld: install-pdf-ld
19391 install-pdf-ld: \
19392 configure-ld \
19393 pdf-ld
19394 @[ -f ./ld/Makefile ] || exit 0; \
19395 r=`${PWD_COMMAND}`; export r; \
19396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19397 $(HOST_EXPORTS) \
19398 for flag in $(EXTRA_HOST_FLAGS) ; do \
19399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19400 done; \
19401 echo "Doing install-pdf in ld" ; \
19402 (cd $(HOST_SUBDIR)/ld && \
19403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19405 "RANLIB=$${RANLIB}" \
19406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19407 install-pdf) \
19408 || exit 1
19410 @endif ld
19412 .PHONY: maybe-install-html-ld install-html-ld
19413 maybe-install-html-ld:
19414 @if ld
19415 maybe-install-html-ld: install-html-ld
19417 install-html-ld: \
19418 configure-ld \
19419 html-ld
19420 @[ -f ./ld/Makefile ] || exit 0; \
19421 r=`${PWD_COMMAND}`; export r; \
19422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19423 $(HOST_EXPORTS) \
19424 for flag in $(EXTRA_HOST_FLAGS) ; do \
19425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19426 done; \
19427 echo "Doing install-html in ld" ; \
19428 (cd $(HOST_SUBDIR)/ld && \
19429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19431 "RANLIB=$${RANLIB}" \
19432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19433 install-html) \
19434 || exit 1
19436 @endif ld
19438 .PHONY: maybe-installcheck-ld installcheck-ld
19439 maybe-installcheck-ld:
19440 @if ld
19441 maybe-installcheck-ld: installcheck-ld
19443 installcheck-ld: \
19444 configure-ld
19445 @[ -f ./ld/Makefile ] || exit 0; \
19446 r=`${PWD_COMMAND}`; export r; \
19447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19448 $(HOST_EXPORTS) \
19449 for flag in $(EXTRA_HOST_FLAGS) ; do \
19450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19451 done; \
19452 echo "Doing installcheck in ld" ; \
19453 (cd $(HOST_SUBDIR)/ld && \
19454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19456 "RANLIB=$${RANLIB}" \
19457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19458 installcheck) \
19459 || exit 1
19461 @endif ld
19463 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
19464 maybe-mostlyclean-ld:
19465 @if ld
19466 maybe-mostlyclean-ld: mostlyclean-ld
19468 mostlyclean-ld:
19469 @[ -f ./ld/Makefile ] || exit 0; \
19470 r=`${PWD_COMMAND}`; export r; \
19471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19472 $(HOST_EXPORTS) \
19473 for flag in $(EXTRA_HOST_FLAGS) ; do \
19474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19475 done; \
19476 echo "Doing mostlyclean in ld" ; \
19477 (cd $(HOST_SUBDIR)/ld && \
19478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19480 "RANLIB=$${RANLIB}" \
19481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19482 mostlyclean) \
19483 || exit 1
19485 @endif ld
19487 .PHONY: maybe-clean-ld clean-ld
19488 maybe-clean-ld:
19489 @if ld
19490 maybe-clean-ld: clean-ld
19492 clean-ld:
19493 @[ -f ./ld/Makefile ] || exit 0; \
19494 r=`${PWD_COMMAND}`; export r; \
19495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19496 $(HOST_EXPORTS) \
19497 for flag in $(EXTRA_HOST_FLAGS) ; do \
19498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19499 done; \
19500 echo "Doing clean in ld" ; \
19501 (cd $(HOST_SUBDIR)/ld && \
19502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19504 "RANLIB=$${RANLIB}" \
19505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19506 clean) \
19507 || exit 1
19509 @endif ld
19511 .PHONY: maybe-distclean-ld distclean-ld
19512 maybe-distclean-ld:
19513 @if ld
19514 maybe-distclean-ld: distclean-ld
19516 distclean-ld:
19517 @[ -f ./ld/Makefile ] || exit 0; \
19518 r=`${PWD_COMMAND}`; export r; \
19519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19520 $(HOST_EXPORTS) \
19521 for flag in $(EXTRA_HOST_FLAGS) ; do \
19522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19523 done; \
19524 echo "Doing distclean in ld" ; \
19525 (cd $(HOST_SUBDIR)/ld && \
19526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19528 "RANLIB=$${RANLIB}" \
19529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19530 distclean) \
19531 || exit 1
19533 @endif ld
19535 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
19536 maybe-maintainer-clean-ld:
19537 @if ld
19538 maybe-maintainer-clean-ld: maintainer-clean-ld
19540 maintainer-clean-ld:
19541 @[ -f ./ld/Makefile ] || exit 0; \
19542 r=`${PWD_COMMAND}`; export r; \
19543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19544 $(HOST_EXPORTS) \
19545 for flag in $(EXTRA_HOST_FLAGS) ; do \
19546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19547 done; \
19548 echo "Doing maintainer-clean in ld" ; \
19549 (cd $(HOST_SUBDIR)/ld && \
19550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19552 "RANLIB=$${RANLIB}" \
19553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19554 maintainer-clean) \
19555 || exit 1
19557 @endif ld
19561 .PHONY: configure-libcpp maybe-configure-libcpp
19562 maybe-configure-libcpp:
19563 @if gcc-bootstrap
19564 configure-libcpp: stage_current
19565 @endif gcc-bootstrap
19566 @if libcpp
19567 maybe-configure-libcpp: configure-libcpp
19568 configure-libcpp:
19569 @r=`${PWD_COMMAND}`; export r; \
19570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19571 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19572 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19573 $(HOST_EXPORTS) \
19574 echo Configuring in $(HOST_SUBDIR)/libcpp; \
19575 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
19576 case $(srcdir) in \
19577 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19578 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19579 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19580 esac; \
19581 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19582 libsrcdir="$$s/libcpp"; \
19583 $(SHELL) $${libsrcdir}/configure \
19584 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19585 --target=${target_alias} $${srcdiroption} \
19586 || exit 1
19587 @endif libcpp
19591 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
19592 maybe-configure-stage1-libcpp:
19593 @if libcpp-bootstrap
19594 maybe-configure-stage1-libcpp: configure-stage1-libcpp
19595 configure-stage1-libcpp:
19596 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19597 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19598 @r=`${PWD_COMMAND}`; export r; \
19599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19600 TFLAGS="$(STAGE1_TFLAGS)"; \
19601 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19602 $(HOST_EXPORTS) \
19603 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
19604 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
19605 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
19606 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
19607 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19608 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19609 case $(srcdir) in \
19610 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19611 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19612 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19613 esac; \
19614 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19615 libsrcdir="$$s/libcpp"; \
19616 $(SHELL) $${libsrcdir}/configure \
19617 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19618 --target=${target_alias} $${srcdiroption} \
19619 $(STAGE1_CONFIGURE_FLAGS)
19620 @endif libcpp-bootstrap
19622 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
19623 maybe-configure-stage2-libcpp:
19624 @if libcpp-bootstrap
19625 maybe-configure-stage2-libcpp: configure-stage2-libcpp
19626 configure-stage2-libcpp:
19627 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19628 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19629 @r=`${PWD_COMMAND}`; export r; \
19630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19631 TFLAGS="$(STAGE2_TFLAGS)"; \
19632 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19633 $(HOST_EXPORTS) \
19634 $(POSTSTAGE1_HOST_EXPORTS) \
19635 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
19636 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
19637 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
19638 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
19639 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19640 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19641 case $(srcdir) in \
19642 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19643 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19644 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19645 esac; \
19646 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19647 libsrcdir="$$s/libcpp"; \
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 $(STAGE2_CONFIGURE_FLAGS)
19653 @endif libcpp-bootstrap
19655 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
19656 maybe-configure-stage3-libcpp:
19657 @if libcpp-bootstrap
19658 maybe-configure-stage3-libcpp: configure-stage3-libcpp
19659 configure-stage3-libcpp:
19660 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19661 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19662 @r=`${PWD_COMMAND}`; export r; \
19663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19664 TFLAGS="$(STAGE3_TFLAGS)"; \
19665 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19666 $(HOST_EXPORTS) \
19667 $(POSTSTAGE1_HOST_EXPORTS) \
19668 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
19669 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
19670 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
19671 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
19672 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19673 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19674 case $(srcdir) in \
19675 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19676 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19677 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19678 esac; \
19679 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19680 libsrcdir="$$s/libcpp"; \
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 $(STAGE3_CONFIGURE_FLAGS)
19686 @endif libcpp-bootstrap
19688 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
19689 maybe-configure-stage4-libcpp:
19690 @if libcpp-bootstrap
19691 maybe-configure-stage4-libcpp: configure-stage4-libcpp
19692 configure-stage4-libcpp:
19693 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19694 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19695 @r=`${PWD_COMMAND}`; export r; \
19696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19697 TFLAGS="$(STAGE4_TFLAGS)"; \
19698 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19699 $(HOST_EXPORTS) \
19700 $(POSTSTAGE1_HOST_EXPORTS) \
19701 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
19702 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
19703 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
19704 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
19705 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19706 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19707 case $(srcdir) in \
19708 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19709 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19710 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19711 esac; \
19712 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19713 libsrcdir="$$s/libcpp"; \
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 $(STAGE4_CONFIGURE_FLAGS)
19719 @endif libcpp-bootstrap
19721 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
19722 maybe-configure-stageprofile-libcpp:
19723 @if libcpp-bootstrap
19724 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
19725 configure-stageprofile-libcpp:
19726 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19727 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19728 @r=`${PWD_COMMAND}`; export r; \
19729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19730 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19731 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19732 $(HOST_EXPORTS) \
19733 $(POSTSTAGE1_HOST_EXPORTS) \
19734 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
19735 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
19736 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
19737 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
19738 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19739 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19740 case $(srcdir) in \
19741 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19742 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19743 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19744 esac; \
19745 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19746 libsrcdir="$$s/libcpp"; \
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 $(STAGEprofile_CONFIGURE_FLAGS)
19752 @endif libcpp-bootstrap
19754 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
19755 maybe-configure-stagefeedback-libcpp:
19756 @if libcpp-bootstrap
19757 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
19758 configure-stagefeedback-libcpp:
19759 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19760 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19761 @r=`${PWD_COMMAND}`; export r; \
19762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19763 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19764 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19765 $(HOST_EXPORTS) \
19766 $(POSTSTAGE1_HOST_EXPORTS) \
19767 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
19768 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
19769 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
19770 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
19771 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19772 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19773 case $(srcdir) in \
19774 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19775 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19776 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19777 esac; \
19778 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19779 libsrcdir="$$s/libcpp"; \
19780 $(SHELL) $${libsrcdir}/configure \
19781 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19782 --target=${target_alias} $${srcdiroption} \
19783 --with-build-libsubdir=$(HOST_SUBDIR) \
19784 $(STAGEfeedback_CONFIGURE_FLAGS)
19785 @endif libcpp-bootstrap
19791 .PHONY: all-libcpp maybe-all-libcpp
19792 maybe-all-libcpp:
19793 @if gcc-bootstrap
19794 all-libcpp: stage_current
19795 @endif gcc-bootstrap
19796 @if libcpp
19797 TARGET-libcpp=all
19798 maybe-all-libcpp: all-libcpp
19799 all-libcpp: configure-libcpp
19800 @r=`${PWD_COMMAND}`; export r; \
19801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19802 $(HOST_EXPORTS) \
19803 (cd $(HOST_SUBDIR)/libcpp && \
19804 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
19805 $(TARGET-libcpp))
19806 @endif libcpp
19810 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
19811 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
19812 maybe-all-stage1-libcpp:
19813 maybe-clean-stage1-libcpp:
19814 @if libcpp-bootstrap
19815 maybe-all-stage1-libcpp: all-stage1-libcpp
19816 all-stage1: all-stage1-libcpp
19817 TARGET-stage1-libcpp = $(TARGET-libcpp)
19818 all-stage1-libcpp: configure-stage1-libcpp
19819 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19820 @r=`${PWD_COMMAND}`; export r; \
19821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19822 TFLAGS="$(STAGE1_TFLAGS)"; \
19823 $(HOST_EXPORTS) \
19824 cd $(HOST_SUBDIR)/libcpp && \
19825 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19826 CFLAGS="$(STAGE1_CFLAGS)" \
19827 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
19828 LIBCFLAGS="$(LIBCFLAGS)" \
19829 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19830 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19831 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19832 $(EXTRA_HOST_FLAGS) \
19833 TFLAGS="$(STAGE1_TFLAGS)" \
19834 $(TARGET-stage1-libcpp)
19836 maybe-clean-stage1-libcpp: clean-stage1-libcpp
19837 clean-stage1: clean-stage1-libcpp
19838 clean-stage1-libcpp:
19839 @if [ $(current_stage) = stage1 ]; then \
19840 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
19841 else \
19842 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
19843 $(MAKE) stage1-start; \
19844 fi; \
19845 cd $(HOST_SUBDIR)/libcpp && \
19846 $(MAKE) $(EXTRA_HOST_FLAGS) \
19847 clean
19848 @endif libcpp-bootstrap
19851 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
19852 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
19853 maybe-all-stage2-libcpp:
19854 maybe-clean-stage2-libcpp:
19855 @if libcpp-bootstrap
19856 maybe-all-stage2-libcpp: all-stage2-libcpp
19857 all-stage2: all-stage2-libcpp
19858 TARGET-stage2-libcpp = $(TARGET-libcpp)
19859 all-stage2-libcpp: configure-stage2-libcpp
19860 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19861 @r=`${PWD_COMMAND}`; export r; \
19862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19863 TFLAGS="$(STAGE2_TFLAGS)"; \
19864 $(HOST_EXPORTS) \
19865 $(POSTSTAGE1_HOST_EXPORTS) \
19866 cd $(HOST_SUBDIR)/libcpp && \
19867 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19868 CFLAGS="$(STAGE2_CFLAGS)" \
19869 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
19870 LIBCFLAGS="$(STAGE2_CFLAGS)" \
19871 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19872 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19873 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19874 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19875 TFLAGS="$(STAGE2_TFLAGS)" \
19876 $(TARGET-stage2-libcpp)
19878 maybe-clean-stage2-libcpp: clean-stage2-libcpp
19879 clean-stage2: clean-stage2-libcpp
19880 clean-stage2-libcpp:
19881 @if [ $(current_stage) = stage2 ]; then \
19882 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
19883 else \
19884 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
19885 $(MAKE) stage2-start; \
19886 fi; \
19887 cd $(HOST_SUBDIR)/libcpp && \
19888 $(MAKE) $(EXTRA_HOST_FLAGS) \
19889 $(POSTSTAGE1_FLAGS_TO_PASS) \
19890 clean
19891 @endif libcpp-bootstrap
19894 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
19895 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
19896 maybe-all-stage3-libcpp:
19897 maybe-clean-stage3-libcpp:
19898 @if libcpp-bootstrap
19899 maybe-all-stage3-libcpp: all-stage3-libcpp
19900 all-stage3: all-stage3-libcpp
19901 TARGET-stage3-libcpp = $(TARGET-libcpp)
19902 all-stage3-libcpp: configure-stage3-libcpp
19903 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19904 @r=`${PWD_COMMAND}`; export r; \
19905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19906 TFLAGS="$(STAGE3_TFLAGS)"; \
19907 $(HOST_EXPORTS) \
19908 $(POSTSTAGE1_HOST_EXPORTS) \
19909 cd $(HOST_SUBDIR)/libcpp && \
19910 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19911 CFLAGS="$(STAGE3_CFLAGS)" \
19912 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
19913 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19914 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19915 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19916 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19917 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19918 TFLAGS="$(STAGE3_TFLAGS)" \
19919 $(TARGET-stage3-libcpp)
19921 maybe-clean-stage3-libcpp: clean-stage3-libcpp
19922 clean-stage3: clean-stage3-libcpp
19923 clean-stage3-libcpp:
19924 @if [ $(current_stage) = stage3 ]; then \
19925 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
19926 else \
19927 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
19928 $(MAKE) stage3-start; \
19929 fi; \
19930 cd $(HOST_SUBDIR)/libcpp && \
19931 $(MAKE) $(EXTRA_HOST_FLAGS) \
19932 $(POSTSTAGE1_FLAGS_TO_PASS) \
19933 clean
19934 @endif libcpp-bootstrap
19937 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
19938 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
19939 maybe-all-stage4-libcpp:
19940 maybe-clean-stage4-libcpp:
19941 @if libcpp-bootstrap
19942 maybe-all-stage4-libcpp: all-stage4-libcpp
19943 all-stage4: all-stage4-libcpp
19944 TARGET-stage4-libcpp = $(TARGET-libcpp)
19945 all-stage4-libcpp: configure-stage4-libcpp
19946 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19947 @r=`${PWD_COMMAND}`; export r; \
19948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19949 TFLAGS="$(STAGE4_TFLAGS)"; \
19950 $(HOST_EXPORTS) \
19951 $(POSTSTAGE1_HOST_EXPORTS) \
19952 cd $(HOST_SUBDIR)/libcpp && \
19953 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19954 CFLAGS="$(STAGE4_CFLAGS)" \
19955 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19956 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19957 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19958 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19959 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19960 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19961 TFLAGS="$(STAGE4_TFLAGS)" \
19962 $(TARGET-stage4-libcpp)
19964 maybe-clean-stage4-libcpp: clean-stage4-libcpp
19965 clean-stage4: clean-stage4-libcpp
19966 clean-stage4-libcpp:
19967 @if [ $(current_stage) = stage4 ]; then \
19968 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
19969 else \
19970 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
19971 $(MAKE) stage4-start; \
19972 fi; \
19973 cd $(HOST_SUBDIR)/libcpp && \
19974 $(MAKE) $(EXTRA_HOST_FLAGS) \
19975 $(POSTSTAGE1_FLAGS_TO_PASS) \
19976 clean
19977 @endif libcpp-bootstrap
19980 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
19981 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
19982 maybe-all-stageprofile-libcpp:
19983 maybe-clean-stageprofile-libcpp:
19984 @if libcpp-bootstrap
19985 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
19986 all-stageprofile: all-stageprofile-libcpp
19987 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
19988 all-stageprofile-libcpp: configure-stageprofile-libcpp
19989 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19990 @r=`${PWD_COMMAND}`; export r; \
19991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19992 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19993 $(HOST_EXPORTS) \
19994 $(POSTSTAGE1_HOST_EXPORTS) \
19995 cd $(HOST_SUBDIR)/libcpp && \
19996 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19997 CFLAGS="$(STAGEprofile_CFLAGS)" \
19998 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
19999 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
20000 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20001 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20002 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20003 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20004 TFLAGS="$(STAGEprofile_TFLAGS)" \
20005 $(TARGET-stageprofile-libcpp)
20007 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
20008 clean-stageprofile: clean-stageprofile-libcpp
20009 clean-stageprofile-libcpp:
20010 @if [ $(current_stage) = stageprofile ]; then \
20011 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20012 else \
20013 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
20014 $(MAKE) stageprofile-start; \
20015 fi; \
20016 cd $(HOST_SUBDIR)/libcpp && \
20017 $(MAKE) $(EXTRA_HOST_FLAGS) \
20018 $(POSTSTAGE1_FLAGS_TO_PASS) \
20019 clean
20020 @endif libcpp-bootstrap
20023 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
20024 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
20025 maybe-all-stagefeedback-libcpp:
20026 maybe-clean-stagefeedback-libcpp:
20027 @if libcpp-bootstrap
20028 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
20029 all-stagefeedback: all-stagefeedback-libcpp
20030 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
20031 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
20032 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20033 @r=`${PWD_COMMAND}`; export r; \
20034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20035 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20036 $(HOST_EXPORTS) \
20037 $(POSTSTAGE1_HOST_EXPORTS) \
20038 cd $(HOST_SUBDIR)/libcpp && \
20039 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20040 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20041 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
20042 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20043 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20044 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20045 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20046 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20047 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20048 $(TARGET-stagefeedback-libcpp)
20050 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
20051 clean-stagefeedback: clean-stagefeedback-libcpp
20052 clean-stagefeedback-libcpp:
20053 @if [ $(current_stage) = stagefeedback ]; then \
20054 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20055 else \
20056 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
20057 $(MAKE) stagefeedback-start; \
20058 fi; \
20059 cd $(HOST_SUBDIR)/libcpp && \
20060 $(MAKE) $(EXTRA_HOST_FLAGS) \
20061 $(POSTSTAGE1_FLAGS_TO_PASS) \
20062 clean
20063 @endif libcpp-bootstrap
20069 .PHONY: check-libcpp maybe-check-libcpp
20070 maybe-check-libcpp:
20071 @if libcpp
20072 maybe-check-libcpp: check-libcpp
20074 check-libcpp:
20075 @: $(MAKE); $(unstage)
20076 @r=`${PWD_COMMAND}`; export r; \
20077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20078 $(HOST_EXPORTS) \
20079 (cd $(HOST_SUBDIR)/libcpp && \
20080 $(MAKE) $(FLAGS_TO_PASS) check)
20082 @endif libcpp
20084 .PHONY: install-libcpp maybe-install-libcpp
20085 maybe-install-libcpp:
20086 @if libcpp
20087 maybe-install-libcpp: install-libcpp
20089 install-libcpp: installdirs
20090 @: $(MAKE); $(unstage)
20091 @r=`${PWD_COMMAND}`; export r; \
20092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20093 $(HOST_EXPORTS) \
20094 (cd $(HOST_SUBDIR)/libcpp && \
20095 $(MAKE) $(FLAGS_TO_PASS) install)
20097 @endif libcpp
20099 .PHONY: install-strip-libcpp maybe-install-strip-libcpp
20100 maybe-install-strip-libcpp:
20101 @if libcpp
20102 maybe-install-strip-libcpp: install-strip-libcpp
20104 install-strip-libcpp: installdirs
20105 @: $(MAKE); $(unstage)
20106 @r=`${PWD_COMMAND}`; export r; \
20107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20108 $(HOST_EXPORTS) \
20109 (cd $(HOST_SUBDIR)/libcpp && \
20110 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20112 @endif libcpp
20114 # Other targets (info, dvi, pdf, etc.)
20116 .PHONY: maybe-info-libcpp info-libcpp
20117 maybe-info-libcpp:
20118 @if libcpp
20119 maybe-info-libcpp: info-libcpp
20121 info-libcpp: \
20122 configure-libcpp
20123 @[ -f ./libcpp/Makefile ] || exit 0; \
20124 r=`${PWD_COMMAND}`; export r; \
20125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20126 $(HOST_EXPORTS) \
20127 for flag in $(EXTRA_HOST_FLAGS) ; do \
20128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20129 done; \
20130 echo "Doing info in libcpp" ; \
20131 (cd $(HOST_SUBDIR)/libcpp && \
20132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20134 "RANLIB=$${RANLIB}" \
20135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20136 info) \
20137 || exit 1
20139 @endif libcpp
20141 .PHONY: maybe-dvi-libcpp dvi-libcpp
20142 maybe-dvi-libcpp:
20143 @if libcpp
20144 maybe-dvi-libcpp: dvi-libcpp
20146 dvi-libcpp: \
20147 configure-libcpp
20148 @[ -f ./libcpp/Makefile ] || exit 0; \
20149 r=`${PWD_COMMAND}`; export r; \
20150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20151 $(HOST_EXPORTS) \
20152 for flag in $(EXTRA_HOST_FLAGS) ; do \
20153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20154 done; \
20155 echo "Doing dvi in libcpp" ; \
20156 (cd $(HOST_SUBDIR)/libcpp && \
20157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20159 "RANLIB=$${RANLIB}" \
20160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20161 dvi) \
20162 || exit 1
20164 @endif libcpp
20166 .PHONY: maybe-pdf-libcpp pdf-libcpp
20167 maybe-pdf-libcpp:
20168 @if libcpp
20169 maybe-pdf-libcpp: pdf-libcpp
20171 pdf-libcpp: \
20172 configure-libcpp
20173 @[ -f ./libcpp/Makefile ] || exit 0; \
20174 r=`${PWD_COMMAND}`; export r; \
20175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20176 $(HOST_EXPORTS) \
20177 for flag in $(EXTRA_HOST_FLAGS) ; do \
20178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20179 done; \
20180 echo "Doing pdf in libcpp" ; \
20181 (cd $(HOST_SUBDIR)/libcpp && \
20182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20184 "RANLIB=$${RANLIB}" \
20185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20186 pdf) \
20187 || exit 1
20189 @endif libcpp
20191 .PHONY: maybe-html-libcpp html-libcpp
20192 maybe-html-libcpp:
20193 @if libcpp
20194 maybe-html-libcpp: html-libcpp
20196 html-libcpp: \
20197 configure-libcpp
20198 @[ -f ./libcpp/Makefile ] || exit 0; \
20199 r=`${PWD_COMMAND}`; export r; \
20200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20201 $(HOST_EXPORTS) \
20202 for flag in $(EXTRA_HOST_FLAGS) ; do \
20203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20204 done; \
20205 echo "Doing html in libcpp" ; \
20206 (cd $(HOST_SUBDIR)/libcpp && \
20207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20209 "RANLIB=$${RANLIB}" \
20210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20211 html) \
20212 || exit 1
20214 @endif libcpp
20216 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
20217 maybe-TAGS-libcpp:
20218 @if libcpp
20219 maybe-TAGS-libcpp: TAGS-libcpp
20221 TAGS-libcpp: \
20222 configure-libcpp
20223 @[ -f ./libcpp/Makefile ] || exit 0; \
20224 r=`${PWD_COMMAND}`; export r; \
20225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20226 $(HOST_EXPORTS) \
20227 for flag in $(EXTRA_HOST_FLAGS) ; do \
20228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20229 done; \
20230 echo "Doing TAGS in libcpp" ; \
20231 (cd $(HOST_SUBDIR)/libcpp && \
20232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20234 "RANLIB=$${RANLIB}" \
20235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20236 TAGS) \
20237 || exit 1
20239 @endif libcpp
20241 .PHONY: maybe-install-info-libcpp install-info-libcpp
20242 maybe-install-info-libcpp:
20243 @if libcpp
20244 maybe-install-info-libcpp: install-info-libcpp
20246 install-info-libcpp: \
20247 configure-libcpp \
20248 info-libcpp
20249 @[ -f ./libcpp/Makefile ] || exit 0; \
20250 r=`${PWD_COMMAND}`; export r; \
20251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20252 $(HOST_EXPORTS) \
20253 for flag in $(EXTRA_HOST_FLAGS) ; do \
20254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20255 done; \
20256 echo "Doing install-info in libcpp" ; \
20257 (cd $(HOST_SUBDIR)/libcpp && \
20258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20260 "RANLIB=$${RANLIB}" \
20261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20262 install-info) \
20263 || exit 1
20265 @endif libcpp
20267 .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
20268 maybe-install-pdf-libcpp:
20269 @if libcpp
20270 maybe-install-pdf-libcpp: install-pdf-libcpp
20272 install-pdf-libcpp: \
20273 configure-libcpp \
20274 pdf-libcpp
20275 @[ -f ./libcpp/Makefile ] || exit 0; \
20276 r=`${PWD_COMMAND}`; export r; \
20277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20278 $(HOST_EXPORTS) \
20279 for flag in $(EXTRA_HOST_FLAGS) ; do \
20280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20281 done; \
20282 echo "Doing install-pdf in libcpp" ; \
20283 (cd $(HOST_SUBDIR)/libcpp && \
20284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20286 "RANLIB=$${RANLIB}" \
20287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20288 install-pdf) \
20289 || exit 1
20291 @endif libcpp
20293 .PHONY: maybe-install-html-libcpp install-html-libcpp
20294 maybe-install-html-libcpp:
20295 @if libcpp
20296 maybe-install-html-libcpp: install-html-libcpp
20298 install-html-libcpp: \
20299 configure-libcpp \
20300 html-libcpp
20301 @[ -f ./libcpp/Makefile ] || exit 0; \
20302 r=`${PWD_COMMAND}`; export r; \
20303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20304 $(HOST_EXPORTS) \
20305 for flag in $(EXTRA_HOST_FLAGS) ; do \
20306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20307 done; \
20308 echo "Doing install-html in libcpp" ; \
20309 (cd $(HOST_SUBDIR)/libcpp && \
20310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20312 "RANLIB=$${RANLIB}" \
20313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20314 install-html) \
20315 || exit 1
20317 @endif libcpp
20319 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
20320 maybe-installcheck-libcpp:
20321 @if libcpp
20322 maybe-installcheck-libcpp: installcheck-libcpp
20324 installcheck-libcpp: \
20325 configure-libcpp
20326 @[ -f ./libcpp/Makefile ] || exit 0; \
20327 r=`${PWD_COMMAND}`; export r; \
20328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20329 $(HOST_EXPORTS) \
20330 for flag in $(EXTRA_HOST_FLAGS) ; do \
20331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20332 done; \
20333 echo "Doing installcheck in libcpp" ; \
20334 (cd $(HOST_SUBDIR)/libcpp && \
20335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20337 "RANLIB=$${RANLIB}" \
20338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20339 installcheck) \
20340 || exit 1
20342 @endif libcpp
20344 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
20345 maybe-mostlyclean-libcpp:
20346 @if libcpp
20347 maybe-mostlyclean-libcpp: mostlyclean-libcpp
20349 mostlyclean-libcpp:
20350 @[ -f ./libcpp/Makefile ] || exit 0; \
20351 r=`${PWD_COMMAND}`; export r; \
20352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20353 $(HOST_EXPORTS) \
20354 for flag in $(EXTRA_HOST_FLAGS) ; do \
20355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20356 done; \
20357 echo "Doing mostlyclean in libcpp" ; \
20358 (cd $(HOST_SUBDIR)/libcpp && \
20359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20361 "RANLIB=$${RANLIB}" \
20362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20363 mostlyclean) \
20364 || exit 1
20366 @endif libcpp
20368 .PHONY: maybe-clean-libcpp clean-libcpp
20369 maybe-clean-libcpp:
20370 @if libcpp
20371 maybe-clean-libcpp: clean-libcpp
20373 clean-libcpp:
20374 @[ -f ./libcpp/Makefile ] || exit 0; \
20375 r=`${PWD_COMMAND}`; export r; \
20376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20377 $(HOST_EXPORTS) \
20378 for flag in $(EXTRA_HOST_FLAGS) ; do \
20379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20380 done; \
20381 echo "Doing clean in libcpp" ; \
20382 (cd $(HOST_SUBDIR)/libcpp && \
20383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20385 "RANLIB=$${RANLIB}" \
20386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20387 clean) \
20388 || exit 1
20390 @endif libcpp
20392 .PHONY: maybe-distclean-libcpp distclean-libcpp
20393 maybe-distclean-libcpp:
20394 @if libcpp
20395 maybe-distclean-libcpp: distclean-libcpp
20397 distclean-libcpp:
20398 @[ -f ./libcpp/Makefile ] || exit 0; \
20399 r=`${PWD_COMMAND}`; export r; \
20400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20401 $(HOST_EXPORTS) \
20402 for flag in $(EXTRA_HOST_FLAGS) ; do \
20403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20404 done; \
20405 echo "Doing distclean in libcpp" ; \
20406 (cd $(HOST_SUBDIR)/libcpp && \
20407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20409 "RANLIB=$${RANLIB}" \
20410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20411 distclean) \
20412 || exit 1
20414 @endif libcpp
20416 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
20417 maybe-maintainer-clean-libcpp:
20418 @if libcpp
20419 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
20421 maintainer-clean-libcpp:
20422 @[ -f ./libcpp/Makefile ] || exit 0; \
20423 r=`${PWD_COMMAND}`; export r; \
20424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20425 $(HOST_EXPORTS) \
20426 for flag in $(EXTRA_HOST_FLAGS) ; do \
20427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20428 done; \
20429 echo "Doing maintainer-clean in libcpp" ; \
20430 (cd $(HOST_SUBDIR)/libcpp && \
20431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20433 "RANLIB=$${RANLIB}" \
20434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20435 maintainer-clean) \
20436 || exit 1
20438 @endif libcpp
20442 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
20443 maybe-configure-libdecnumber:
20444 @if gcc-bootstrap
20445 configure-libdecnumber: stage_current
20446 @endif gcc-bootstrap
20447 @if libdecnumber
20448 maybe-configure-libdecnumber: configure-libdecnumber
20449 configure-libdecnumber:
20450 @r=`${PWD_COMMAND}`; export r; \
20451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20452 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20453 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20454 $(HOST_EXPORTS) \
20455 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
20456 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
20457 case $(srcdir) in \
20458 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20459 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20460 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20461 esac; \
20462 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20463 libsrcdir="$$s/libdecnumber"; \
20464 $(SHELL) $${libsrcdir}/configure \
20465 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20466 --target=${target_alias} $${srcdiroption} \
20467 || exit 1
20468 @endif libdecnumber
20472 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
20473 maybe-configure-stage1-libdecnumber:
20474 @if libdecnumber-bootstrap
20475 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
20476 configure-stage1-libdecnumber:
20477 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20478 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20479 @r=`${PWD_COMMAND}`; export r; \
20480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20481 TFLAGS="$(STAGE1_TFLAGS)"; \
20482 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20483 $(HOST_EXPORTS) \
20484 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
20485 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
20486 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
20487 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
20488 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20489 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20490 case $(srcdir) in \
20491 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20492 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20493 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20494 esac; \
20495 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20496 libsrcdir="$$s/libdecnumber"; \
20497 $(SHELL) $${libsrcdir}/configure \
20498 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20499 --target=${target_alias} $${srcdiroption} \
20500 $(STAGE1_CONFIGURE_FLAGS)
20501 @endif libdecnumber-bootstrap
20503 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
20504 maybe-configure-stage2-libdecnumber:
20505 @if libdecnumber-bootstrap
20506 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
20507 configure-stage2-libdecnumber:
20508 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20509 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20510 @r=`${PWD_COMMAND}`; export r; \
20511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20512 TFLAGS="$(STAGE2_TFLAGS)"; \
20513 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20514 $(HOST_EXPORTS) \
20515 $(POSTSTAGE1_HOST_EXPORTS) \
20516 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
20517 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
20518 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
20519 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
20520 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20521 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20522 case $(srcdir) in \
20523 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20524 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20525 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20526 esac; \
20527 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20528 libsrcdir="$$s/libdecnumber"; \
20529 $(SHELL) $${libsrcdir}/configure \
20530 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20531 --target=${target_alias} $${srcdiroption} \
20532 --with-build-libsubdir=$(HOST_SUBDIR) \
20533 $(STAGE2_CONFIGURE_FLAGS)
20534 @endif libdecnumber-bootstrap
20536 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
20537 maybe-configure-stage3-libdecnumber:
20538 @if libdecnumber-bootstrap
20539 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
20540 configure-stage3-libdecnumber:
20541 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20542 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20543 @r=`${PWD_COMMAND}`; export r; \
20544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20545 TFLAGS="$(STAGE3_TFLAGS)"; \
20546 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20547 $(HOST_EXPORTS) \
20548 $(POSTSTAGE1_HOST_EXPORTS) \
20549 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
20550 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
20551 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
20552 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
20553 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20554 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20555 case $(srcdir) in \
20556 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20557 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20558 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20559 esac; \
20560 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20561 libsrcdir="$$s/libdecnumber"; \
20562 $(SHELL) $${libsrcdir}/configure \
20563 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20564 --target=${target_alias} $${srcdiroption} \
20565 --with-build-libsubdir=$(HOST_SUBDIR) \
20566 $(STAGE3_CONFIGURE_FLAGS)
20567 @endif libdecnumber-bootstrap
20569 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
20570 maybe-configure-stage4-libdecnumber:
20571 @if libdecnumber-bootstrap
20572 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
20573 configure-stage4-libdecnumber:
20574 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20575 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20576 @r=`${PWD_COMMAND}`; export r; \
20577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20578 TFLAGS="$(STAGE4_TFLAGS)"; \
20579 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20580 $(HOST_EXPORTS) \
20581 $(POSTSTAGE1_HOST_EXPORTS) \
20582 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
20583 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
20584 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
20585 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
20586 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20587 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20588 case $(srcdir) in \
20589 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20590 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20591 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20592 esac; \
20593 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20594 libsrcdir="$$s/libdecnumber"; \
20595 $(SHELL) $${libsrcdir}/configure \
20596 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20597 --target=${target_alias} $${srcdiroption} \
20598 --with-build-libsubdir=$(HOST_SUBDIR) \
20599 $(STAGE4_CONFIGURE_FLAGS)
20600 @endif libdecnumber-bootstrap
20602 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
20603 maybe-configure-stageprofile-libdecnumber:
20604 @if libdecnumber-bootstrap
20605 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
20606 configure-stageprofile-libdecnumber:
20607 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20608 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20609 @r=`${PWD_COMMAND}`; export r; \
20610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20611 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20612 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20613 $(HOST_EXPORTS) \
20614 $(POSTSTAGE1_HOST_EXPORTS) \
20615 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
20616 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
20617 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
20618 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
20619 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20620 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20621 case $(srcdir) in \
20622 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20623 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20624 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20625 esac; \
20626 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20627 libsrcdir="$$s/libdecnumber"; \
20628 $(SHELL) $${libsrcdir}/configure \
20629 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20630 --target=${target_alias} $${srcdiroption} \
20631 --with-build-libsubdir=$(HOST_SUBDIR) \
20632 $(STAGEprofile_CONFIGURE_FLAGS)
20633 @endif libdecnumber-bootstrap
20635 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
20636 maybe-configure-stagefeedback-libdecnumber:
20637 @if libdecnumber-bootstrap
20638 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
20639 configure-stagefeedback-libdecnumber:
20640 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20641 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20642 @r=`${PWD_COMMAND}`; export r; \
20643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20644 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20645 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20646 $(HOST_EXPORTS) \
20647 $(POSTSTAGE1_HOST_EXPORTS) \
20648 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
20649 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
20650 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
20651 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
20652 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20653 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20654 case $(srcdir) in \
20655 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20656 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20657 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20658 esac; \
20659 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20660 libsrcdir="$$s/libdecnumber"; \
20661 $(SHELL) $${libsrcdir}/configure \
20662 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20663 --target=${target_alias} $${srcdiroption} \
20664 --with-build-libsubdir=$(HOST_SUBDIR) \
20665 $(STAGEfeedback_CONFIGURE_FLAGS)
20666 @endif libdecnumber-bootstrap
20672 .PHONY: all-libdecnumber maybe-all-libdecnumber
20673 maybe-all-libdecnumber:
20674 @if gcc-bootstrap
20675 all-libdecnumber: stage_current
20676 @endif gcc-bootstrap
20677 @if libdecnumber
20678 TARGET-libdecnumber=all
20679 maybe-all-libdecnumber: all-libdecnumber
20680 all-libdecnumber: configure-libdecnumber
20681 @r=`${PWD_COMMAND}`; export r; \
20682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20683 $(HOST_EXPORTS) \
20684 (cd $(HOST_SUBDIR)/libdecnumber && \
20685 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
20686 $(TARGET-libdecnumber))
20687 @endif libdecnumber
20691 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
20692 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
20693 maybe-all-stage1-libdecnumber:
20694 maybe-clean-stage1-libdecnumber:
20695 @if libdecnumber-bootstrap
20696 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
20697 all-stage1: all-stage1-libdecnumber
20698 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
20699 all-stage1-libdecnumber: configure-stage1-libdecnumber
20700 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20701 @r=`${PWD_COMMAND}`; export r; \
20702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20703 TFLAGS="$(STAGE1_TFLAGS)"; \
20704 $(HOST_EXPORTS) \
20705 cd $(HOST_SUBDIR)/libdecnumber && \
20706 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20707 CFLAGS="$(STAGE1_CFLAGS)" \
20708 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
20709 LIBCFLAGS="$(LIBCFLAGS)" \
20710 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20711 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20712 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20713 $(EXTRA_HOST_FLAGS) \
20714 TFLAGS="$(STAGE1_TFLAGS)" \
20715 $(TARGET-stage1-libdecnumber)
20717 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
20718 clean-stage1: clean-stage1-libdecnumber
20719 clean-stage1-libdecnumber:
20720 @if [ $(current_stage) = stage1 ]; then \
20721 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20722 else \
20723 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
20724 $(MAKE) stage1-start; \
20725 fi; \
20726 cd $(HOST_SUBDIR)/libdecnumber && \
20727 $(MAKE) $(EXTRA_HOST_FLAGS) \
20728 clean
20729 @endif libdecnumber-bootstrap
20732 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
20733 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
20734 maybe-all-stage2-libdecnumber:
20735 maybe-clean-stage2-libdecnumber:
20736 @if libdecnumber-bootstrap
20737 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
20738 all-stage2: all-stage2-libdecnumber
20739 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
20740 all-stage2-libdecnumber: configure-stage2-libdecnumber
20741 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20742 @r=`${PWD_COMMAND}`; export r; \
20743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20744 TFLAGS="$(STAGE2_TFLAGS)"; \
20745 $(HOST_EXPORTS) \
20746 $(POSTSTAGE1_HOST_EXPORTS) \
20747 cd $(HOST_SUBDIR)/libdecnumber && \
20748 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20749 CFLAGS="$(STAGE2_CFLAGS)" \
20750 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
20751 LIBCFLAGS="$(STAGE2_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="$(STAGE2_TFLAGS)" \
20757 $(TARGET-stage2-libdecnumber)
20759 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
20760 clean-stage2: clean-stage2-libdecnumber
20761 clean-stage2-libdecnumber:
20762 @if [ $(current_stage) = stage2 ]; then \
20763 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20764 else \
20765 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
20766 $(MAKE) stage2-start; \
20767 fi; \
20768 cd $(HOST_SUBDIR)/libdecnumber && \
20769 $(MAKE) $(EXTRA_HOST_FLAGS) \
20770 $(POSTSTAGE1_FLAGS_TO_PASS) \
20771 clean
20772 @endif libdecnumber-bootstrap
20775 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
20776 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
20777 maybe-all-stage3-libdecnumber:
20778 maybe-clean-stage3-libdecnumber:
20779 @if libdecnumber-bootstrap
20780 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
20781 all-stage3: all-stage3-libdecnumber
20782 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
20783 all-stage3-libdecnumber: configure-stage3-libdecnumber
20784 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20785 @r=`${PWD_COMMAND}`; export r; \
20786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20787 TFLAGS="$(STAGE3_TFLAGS)"; \
20788 $(HOST_EXPORTS) \
20789 $(POSTSTAGE1_HOST_EXPORTS) \
20790 cd $(HOST_SUBDIR)/libdecnumber && \
20791 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20792 CFLAGS="$(STAGE3_CFLAGS)" \
20793 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
20794 LIBCFLAGS="$(STAGE3_CFLAGS)" \
20795 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20796 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20797 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20798 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20799 TFLAGS="$(STAGE3_TFLAGS)" \
20800 $(TARGET-stage3-libdecnumber)
20802 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
20803 clean-stage3: clean-stage3-libdecnumber
20804 clean-stage3-libdecnumber:
20805 @if [ $(current_stage) = stage3 ]; then \
20806 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20807 else \
20808 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
20809 $(MAKE) stage3-start; \
20810 fi; \
20811 cd $(HOST_SUBDIR)/libdecnumber && \
20812 $(MAKE) $(EXTRA_HOST_FLAGS) \
20813 $(POSTSTAGE1_FLAGS_TO_PASS) \
20814 clean
20815 @endif libdecnumber-bootstrap
20818 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
20819 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
20820 maybe-all-stage4-libdecnumber:
20821 maybe-clean-stage4-libdecnumber:
20822 @if libdecnumber-bootstrap
20823 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
20824 all-stage4: all-stage4-libdecnumber
20825 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
20826 all-stage4-libdecnumber: configure-stage4-libdecnumber
20827 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20828 @r=`${PWD_COMMAND}`; export r; \
20829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20830 TFLAGS="$(STAGE4_TFLAGS)"; \
20831 $(HOST_EXPORTS) \
20832 $(POSTSTAGE1_HOST_EXPORTS) \
20833 cd $(HOST_SUBDIR)/libdecnumber && \
20834 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20835 CFLAGS="$(STAGE4_CFLAGS)" \
20836 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
20837 LIBCFLAGS="$(STAGE4_CFLAGS)" \
20838 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20839 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20840 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20841 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20842 TFLAGS="$(STAGE4_TFLAGS)" \
20843 $(TARGET-stage4-libdecnumber)
20845 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
20846 clean-stage4: clean-stage4-libdecnumber
20847 clean-stage4-libdecnumber:
20848 @if [ $(current_stage) = stage4 ]; then \
20849 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20850 else \
20851 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
20852 $(MAKE) stage4-start; \
20853 fi; \
20854 cd $(HOST_SUBDIR)/libdecnumber && \
20855 $(MAKE) $(EXTRA_HOST_FLAGS) \
20856 $(POSTSTAGE1_FLAGS_TO_PASS) \
20857 clean
20858 @endif libdecnumber-bootstrap
20861 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
20862 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
20863 maybe-all-stageprofile-libdecnumber:
20864 maybe-clean-stageprofile-libdecnumber:
20865 @if libdecnumber-bootstrap
20866 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
20867 all-stageprofile: all-stageprofile-libdecnumber
20868 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
20869 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
20870 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20871 @r=`${PWD_COMMAND}`; export r; \
20872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20873 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20874 $(HOST_EXPORTS) \
20875 $(POSTSTAGE1_HOST_EXPORTS) \
20876 cd $(HOST_SUBDIR)/libdecnumber && \
20877 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20878 CFLAGS="$(STAGEprofile_CFLAGS)" \
20879 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
20880 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
20881 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20882 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20883 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20884 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20885 TFLAGS="$(STAGEprofile_TFLAGS)" \
20886 $(TARGET-stageprofile-libdecnumber)
20888 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
20889 clean-stageprofile: clean-stageprofile-libdecnumber
20890 clean-stageprofile-libdecnumber:
20891 @if [ $(current_stage) = stageprofile ]; then \
20892 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20893 else \
20894 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
20895 $(MAKE) stageprofile-start; \
20896 fi; \
20897 cd $(HOST_SUBDIR)/libdecnumber && \
20898 $(MAKE) $(EXTRA_HOST_FLAGS) \
20899 $(POSTSTAGE1_FLAGS_TO_PASS) \
20900 clean
20901 @endif libdecnumber-bootstrap
20904 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
20905 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
20906 maybe-all-stagefeedback-libdecnumber:
20907 maybe-clean-stagefeedback-libdecnumber:
20908 @if libdecnumber-bootstrap
20909 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
20910 all-stagefeedback: all-stagefeedback-libdecnumber
20911 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
20912 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
20913 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20914 @r=`${PWD_COMMAND}`; export r; \
20915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20916 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20917 $(HOST_EXPORTS) \
20918 $(POSTSTAGE1_HOST_EXPORTS) \
20919 cd $(HOST_SUBDIR)/libdecnumber && \
20920 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20921 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20922 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
20923 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20924 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20925 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20926 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20927 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20928 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20929 $(TARGET-stagefeedback-libdecnumber)
20931 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
20932 clean-stagefeedback: clean-stagefeedback-libdecnumber
20933 clean-stagefeedback-libdecnumber:
20934 @if [ $(current_stage) = stagefeedback ]; then \
20935 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20936 else \
20937 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
20938 $(MAKE) stagefeedback-start; \
20939 fi; \
20940 cd $(HOST_SUBDIR)/libdecnumber && \
20941 $(MAKE) $(EXTRA_HOST_FLAGS) \
20942 $(POSTSTAGE1_FLAGS_TO_PASS) \
20943 clean
20944 @endif libdecnumber-bootstrap
20950 .PHONY: check-libdecnumber maybe-check-libdecnumber
20951 maybe-check-libdecnumber:
20952 @if libdecnumber
20953 maybe-check-libdecnumber: check-libdecnumber
20955 check-libdecnumber:
20956 @: $(MAKE); $(unstage)
20957 @r=`${PWD_COMMAND}`; export r; \
20958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20959 $(HOST_EXPORTS) \
20960 (cd $(HOST_SUBDIR)/libdecnumber && \
20961 $(MAKE) $(FLAGS_TO_PASS) check)
20963 @endif libdecnumber
20965 .PHONY: install-libdecnumber maybe-install-libdecnumber
20966 maybe-install-libdecnumber:
20967 @if libdecnumber
20968 maybe-install-libdecnumber: install-libdecnumber
20970 install-libdecnumber: installdirs
20971 @: $(MAKE); $(unstage)
20972 @r=`${PWD_COMMAND}`; export r; \
20973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20974 $(HOST_EXPORTS) \
20975 (cd $(HOST_SUBDIR)/libdecnumber && \
20976 $(MAKE) $(FLAGS_TO_PASS) install)
20978 @endif libdecnumber
20980 .PHONY: install-strip-libdecnumber maybe-install-strip-libdecnumber
20981 maybe-install-strip-libdecnumber:
20982 @if libdecnumber
20983 maybe-install-strip-libdecnumber: install-strip-libdecnumber
20985 install-strip-libdecnumber: installdirs
20986 @: $(MAKE); $(unstage)
20987 @r=`${PWD_COMMAND}`; export r; \
20988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20989 $(HOST_EXPORTS) \
20990 (cd $(HOST_SUBDIR)/libdecnumber && \
20991 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20993 @endif libdecnumber
20995 # Other targets (info, dvi, pdf, etc.)
20997 .PHONY: maybe-info-libdecnumber info-libdecnumber
20998 maybe-info-libdecnumber:
20999 @if libdecnumber
21000 maybe-info-libdecnumber: info-libdecnumber
21002 info-libdecnumber: \
21003 configure-libdecnumber
21004 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21005 r=`${PWD_COMMAND}`; export r; \
21006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21007 $(HOST_EXPORTS) \
21008 for flag in $(EXTRA_HOST_FLAGS) ; do \
21009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21010 done; \
21011 echo "Doing info in libdecnumber" ; \
21012 (cd $(HOST_SUBDIR)/libdecnumber && \
21013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21015 "RANLIB=$${RANLIB}" \
21016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21017 info) \
21018 || exit 1
21020 @endif libdecnumber
21022 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
21023 maybe-dvi-libdecnumber:
21024 @if libdecnumber
21025 maybe-dvi-libdecnumber: dvi-libdecnumber
21027 dvi-libdecnumber: \
21028 configure-libdecnumber
21029 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21030 r=`${PWD_COMMAND}`; export r; \
21031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21032 $(HOST_EXPORTS) \
21033 for flag in $(EXTRA_HOST_FLAGS) ; do \
21034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21035 done; \
21036 echo "Doing dvi in libdecnumber" ; \
21037 (cd $(HOST_SUBDIR)/libdecnumber && \
21038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21040 "RANLIB=$${RANLIB}" \
21041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21042 dvi) \
21043 || exit 1
21045 @endif libdecnumber
21047 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
21048 maybe-pdf-libdecnumber:
21049 @if libdecnumber
21050 maybe-pdf-libdecnumber: pdf-libdecnumber
21052 pdf-libdecnumber: \
21053 configure-libdecnumber
21054 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21055 r=`${PWD_COMMAND}`; export r; \
21056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21057 $(HOST_EXPORTS) \
21058 for flag in $(EXTRA_HOST_FLAGS) ; do \
21059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21060 done; \
21061 echo "Doing pdf in libdecnumber" ; \
21062 (cd $(HOST_SUBDIR)/libdecnumber && \
21063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21065 "RANLIB=$${RANLIB}" \
21066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21067 pdf) \
21068 || exit 1
21070 @endif libdecnumber
21072 .PHONY: maybe-html-libdecnumber html-libdecnumber
21073 maybe-html-libdecnumber:
21074 @if libdecnumber
21075 maybe-html-libdecnumber: html-libdecnumber
21077 html-libdecnumber: \
21078 configure-libdecnumber
21079 @[ -f ./libdecnumber/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 html in libdecnumber" ; \
21087 (cd $(HOST_SUBDIR)/libdecnumber && \
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 html) \
21093 || exit 1
21095 @endif libdecnumber
21097 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
21098 maybe-TAGS-libdecnumber:
21099 @if libdecnumber
21100 maybe-TAGS-libdecnumber: TAGS-libdecnumber
21102 TAGS-libdecnumber: \
21103 configure-libdecnumber
21104 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21105 r=`${PWD_COMMAND}`; export r; \
21106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21107 $(HOST_EXPORTS) \
21108 for flag in $(EXTRA_HOST_FLAGS) ; do \
21109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21110 done; \
21111 echo "Doing TAGS in libdecnumber" ; \
21112 (cd $(HOST_SUBDIR)/libdecnumber && \
21113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21115 "RANLIB=$${RANLIB}" \
21116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21117 TAGS) \
21118 || exit 1
21120 @endif libdecnumber
21122 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
21123 maybe-install-info-libdecnumber:
21124 @if libdecnumber
21125 maybe-install-info-libdecnumber: install-info-libdecnumber
21127 install-info-libdecnumber: \
21128 configure-libdecnumber \
21129 info-libdecnumber
21130 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21131 r=`${PWD_COMMAND}`; export r; \
21132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21133 $(HOST_EXPORTS) \
21134 for flag in $(EXTRA_HOST_FLAGS) ; do \
21135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21136 done; \
21137 echo "Doing install-info in libdecnumber" ; \
21138 (cd $(HOST_SUBDIR)/libdecnumber && \
21139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21141 "RANLIB=$${RANLIB}" \
21142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21143 install-info) \
21144 || exit 1
21146 @endif libdecnumber
21148 .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
21149 maybe-install-pdf-libdecnumber:
21150 @if libdecnumber
21151 maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
21153 install-pdf-libdecnumber: \
21154 configure-libdecnumber \
21155 pdf-libdecnumber
21156 @[ -f ./libdecnumber/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 install-pdf in libdecnumber" ; \
21164 (cd $(HOST_SUBDIR)/libdecnumber && \
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 install-pdf) \
21170 || exit 1
21172 @endif libdecnumber
21174 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
21175 maybe-install-html-libdecnumber:
21176 @if libdecnumber
21177 maybe-install-html-libdecnumber: install-html-libdecnumber
21179 install-html-libdecnumber: \
21180 configure-libdecnumber \
21181 html-libdecnumber
21182 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21183 r=`${PWD_COMMAND}`; export r; \
21184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21185 $(HOST_EXPORTS) \
21186 for flag in $(EXTRA_HOST_FLAGS) ; do \
21187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21188 done; \
21189 echo "Doing install-html in libdecnumber" ; \
21190 (cd $(HOST_SUBDIR)/libdecnumber && \
21191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21193 "RANLIB=$${RANLIB}" \
21194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21195 install-html) \
21196 || exit 1
21198 @endif libdecnumber
21200 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
21201 maybe-installcheck-libdecnumber:
21202 @if libdecnumber
21203 maybe-installcheck-libdecnumber: installcheck-libdecnumber
21205 installcheck-libdecnumber: \
21206 configure-libdecnumber
21207 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21208 r=`${PWD_COMMAND}`; export r; \
21209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21210 $(HOST_EXPORTS) \
21211 for flag in $(EXTRA_HOST_FLAGS) ; do \
21212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21213 done; \
21214 echo "Doing installcheck in libdecnumber" ; \
21215 (cd $(HOST_SUBDIR)/libdecnumber && \
21216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21218 "RANLIB=$${RANLIB}" \
21219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21220 installcheck) \
21221 || exit 1
21223 @endif libdecnumber
21225 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
21226 maybe-mostlyclean-libdecnumber:
21227 @if libdecnumber
21228 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
21230 mostlyclean-libdecnumber:
21231 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21232 r=`${PWD_COMMAND}`; export r; \
21233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21234 $(HOST_EXPORTS) \
21235 for flag in $(EXTRA_HOST_FLAGS) ; do \
21236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21237 done; \
21238 echo "Doing mostlyclean in libdecnumber" ; \
21239 (cd $(HOST_SUBDIR)/libdecnumber && \
21240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21242 "RANLIB=$${RANLIB}" \
21243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21244 mostlyclean) \
21245 || exit 1
21247 @endif libdecnumber
21249 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
21250 maybe-clean-libdecnumber:
21251 @if libdecnumber
21252 maybe-clean-libdecnumber: clean-libdecnumber
21254 clean-libdecnumber:
21255 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21256 r=`${PWD_COMMAND}`; export r; \
21257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21258 $(HOST_EXPORTS) \
21259 for flag in $(EXTRA_HOST_FLAGS) ; do \
21260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21261 done; \
21262 echo "Doing clean in libdecnumber" ; \
21263 (cd $(HOST_SUBDIR)/libdecnumber && \
21264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21266 "RANLIB=$${RANLIB}" \
21267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21268 clean) \
21269 || exit 1
21271 @endif libdecnumber
21273 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
21274 maybe-distclean-libdecnumber:
21275 @if libdecnumber
21276 maybe-distclean-libdecnumber: distclean-libdecnumber
21278 distclean-libdecnumber:
21279 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21280 r=`${PWD_COMMAND}`; export r; \
21281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21282 $(HOST_EXPORTS) \
21283 for flag in $(EXTRA_HOST_FLAGS) ; do \
21284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21285 done; \
21286 echo "Doing distclean in libdecnumber" ; \
21287 (cd $(HOST_SUBDIR)/libdecnumber && \
21288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21290 "RANLIB=$${RANLIB}" \
21291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21292 distclean) \
21293 || exit 1
21295 @endif libdecnumber
21297 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
21298 maybe-maintainer-clean-libdecnumber:
21299 @if libdecnumber
21300 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
21302 maintainer-clean-libdecnumber:
21303 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21304 r=`${PWD_COMMAND}`; export r; \
21305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21306 $(HOST_EXPORTS) \
21307 for flag in $(EXTRA_HOST_FLAGS) ; do \
21308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21309 done; \
21310 echo "Doing maintainer-clean in libdecnumber" ; \
21311 (cd $(HOST_SUBDIR)/libdecnumber && \
21312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21314 "RANLIB=$${RANLIB}" \
21315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21316 maintainer-clean) \
21317 || exit 1
21319 @endif libdecnumber
21323 .PHONY: configure-libgui maybe-configure-libgui
21324 maybe-configure-libgui:
21325 @if gcc-bootstrap
21326 configure-libgui: stage_current
21327 @endif gcc-bootstrap
21328 @if libgui
21329 maybe-configure-libgui: configure-libgui
21330 configure-libgui:
21331 @: $(MAKE); $(unstage)
21332 @r=`${PWD_COMMAND}`; export r; \
21333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21334 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
21335 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
21336 $(HOST_EXPORTS) \
21337 echo Configuring in $(HOST_SUBDIR)/libgui; \
21338 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
21339 case $(srcdir) in \
21340 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21341 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
21342 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21343 esac; \
21344 srcdiroption="--srcdir=$${topdir}/libgui"; \
21345 libsrcdir="$$s/libgui"; \
21346 $(SHELL) $${libsrcdir}/configure \
21347 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21348 --target=${target_alias} $${srcdiroption} \
21349 || exit 1
21350 @endif libgui
21356 .PHONY: all-libgui maybe-all-libgui
21357 maybe-all-libgui:
21358 @if gcc-bootstrap
21359 all-libgui: stage_current
21360 @endif gcc-bootstrap
21361 @if libgui
21362 TARGET-libgui=all
21363 maybe-all-libgui: all-libgui
21364 all-libgui: configure-libgui
21365 @: $(MAKE); $(unstage)
21366 @r=`${PWD_COMMAND}`; export r; \
21367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21368 $(HOST_EXPORTS) \
21369 (cd $(HOST_SUBDIR)/libgui && \
21370 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
21371 $(TARGET-libgui))
21372 @endif libgui
21377 .PHONY: check-libgui maybe-check-libgui
21378 maybe-check-libgui:
21379 @if libgui
21380 maybe-check-libgui: check-libgui
21382 check-libgui:
21383 @: $(MAKE); $(unstage)
21384 @r=`${PWD_COMMAND}`; export r; \
21385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21386 $(HOST_EXPORTS) \
21387 (cd $(HOST_SUBDIR)/libgui && \
21388 $(MAKE) $(FLAGS_TO_PASS) check)
21390 @endif libgui
21392 .PHONY: install-libgui maybe-install-libgui
21393 maybe-install-libgui:
21394 @if libgui
21395 maybe-install-libgui: install-libgui
21397 install-libgui: installdirs
21398 @: $(MAKE); $(unstage)
21399 @r=`${PWD_COMMAND}`; export r; \
21400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21401 $(HOST_EXPORTS) \
21402 (cd $(HOST_SUBDIR)/libgui && \
21403 $(MAKE) $(FLAGS_TO_PASS) install)
21405 @endif libgui
21407 .PHONY: install-strip-libgui maybe-install-strip-libgui
21408 maybe-install-strip-libgui:
21409 @if libgui
21410 maybe-install-strip-libgui: install-strip-libgui
21412 install-strip-libgui: installdirs
21413 @: $(MAKE); $(unstage)
21414 @r=`${PWD_COMMAND}`; export r; \
21415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21416 $(HOST_EXPORTS) \
21417 (cd $(HOST_SUBDIR)/libgui && \
21418 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21420 @endif libgui
21422 # Other targets (info, dvi, pdf, etc.)
21424 .PHONY: maybe-info-libgui info-libgui
21425 maybe-info-libgui:
21426 @if libgui
21427 maybe-info-libgui: info-libgui
21429 info-libgui: \
21430 configure-libgui
21431 @: $(MAKE); $(unstage)
21432 @[ -f ./libgui/Makefile ] || exit 0; \
21433 r=`${PWD_COMMAND}`; export r; \
21434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21435 $(HOST_EXPORTS) \
21436 for flag in $(EXTRA_HOST_FLAGS) ; do \
21437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21438 done; \
21439 echo "Doing info in libgui" ; \
21440 (cd $(HOST_SUBDIR)/libgui && \
21441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21443 "RANLIB=$${RANLIB}" \
21444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21445 info) \
21446 || exit 1
21448 @endif libgui
21450 .PHONY: maybe-dvi-libgui dvi-libgui
21451 maybe-dvi-libgui:
21452 @if libgui
21453 maybe-dvi-libgui: dvi-libgui
21455 dvi-libgui: \
21456 configure-libgui
21457 @: $(MAKE); $(unstage)
21458 @[ -f ./libgui/Makefile ] || exit 0; \
21459 r=`${PWD_COMMAND}`; export r; \
21460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21461 $(HOST_EXPORTS) \
21462 for flag in $(EXTRA_HOST_FLAGS) ; do \
21463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21464 done; \
21465 echo "Doing dvi in libgui" ; \
21466 (cd $(HOST_SUBDIR)/libgui && \
21467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21469 "RANLIB=$${RANLIB}" \
21470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21471 dvi) \
21472 || exit 1
21474 @endif libgui
21476 .PHONY: maybe-pdf-libgui pdf-libgui
21477 maybe-pdf-libgui:
21478 @if libgui
21479 maybe-pdf-libgui: pdf-libgui
21481 pdf-libgui: \
21482 configure-libgui
21483 @: $(MAKE); $(unstage)
21484 @[ -f ./libgui/Makefile ] || exit 0; \
21485 r=`${PWD_COMMAND}`; export r; \
21486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21487 $(HOST_EXPORTS) \
21488 for flag in $(EXTRA_HOST_FLAGS) ; do \
21489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21490 done; \
21491 echo "Doing pdf in libgui" ; \
21492 (cd $(HOST_SUBDIR)/libgui && \
21493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21495 "RANLIB=$${RANLIB}" \
21496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21497 pdf) \
21498 || exit 1
21500 @endif libgui
21502 .PHONY: maybe-html-libgui html-libgui
21503 maybe-html-libgui:
21504 @if libgui
21505 maybe-html-libgui: html-libgui
21507 html-libgui: \
21508 configure-libgui
21509 @: $(MAKE); $(unstage)
21510 @[ -f ./libgui/Makefile ] || exit 0; \
21511 r=`${PWD_COMMAND}`; export r; \
21512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21513 $(HOST_EXPORTS) \
21514 for flag in $(EXTRA_HOST_FLAGS) ; do \
21515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21516 done; \
21517 echo "Doing html in libgui" ; \
21518 (cd $(HOST_SUBDIR)/libgui && \
21519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21521 "RANLIB=$${RANLIB}" \
21522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21523 html) \
21524 || exit 1
21526 @endif libgui
21528 .PHONY: maybe-TAGS-libgui TAGS-libgui
21529 maybe-TAGS-libgui:
21530 @if libgui
21531 maybe-TAGS-libgui: TAGS-libgui
21533 TAGS-libgui: \
21534 configure-libgui
21535 @: $(MAKE); $(unstage)
21536 @[ -f ./libgui/Makefile ] || exit 0; \
21537 r=`${PWD_COMMAND}`; export r; \
21538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21539 $(HOST_EXPORTS) \
21540 for flag in $(EXTRA_HOST_FLAGS) ; do \
21541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21542 done; \
21543 echo "Doing TAGS in libgui" ; \
21544 (cd $(HOST_SUBDIR)/libgui && \
21545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21547 "RANLIB=$${RANLIB}" \
21548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21549 TAGS) \
21550 || exit 1
21552 @endif libgui
21554 .PHONY: maybe-install-info-libgui install-info-libgui
21555 maybe-install-info-libgui:
21556 @if libgui
21557 maybe-install-info-libgui: install-info-libgui
21559 install-info-libgui: \
21560 configure-libgui \
21561 info-libgui
21562 @: $(MAKE); $(unstage)
21563 @[ -f ./libgui/Makefile ] || exit 0; \
21564 r=`${PWD_COMMAND}`; export r; \
21565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21566 $(HOST_EXPORTS) \
21567 for flag in $(EXTRA_HOST_FLAGS) ; do \
21568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21569 done; \
21570 echo "Doing install-info in libgui" ; \
21571 (cd $(HOST_SUBDIR)/libgui && \
21572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21574 "RANLIB=$${RANLIB}" \
21575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21576 install-info) \
21577 || exit 1
21579 @endif libgui
21581 .PHONY: maybe-install-pdf-libgui install-pdf-libgui
21582 maybe-install-pdf-libgui:
21583 @if libgui
21584 maybe-install-pdf-libgui: install-pdf-libgui
21586 install-pdf-libgui: \
21587 configure-libgui \
21588 pdf-libgui
21589 @: $(MAKE); $(unstage)
21590 @[ -f ./libgui/Makefile ] || exit 0; \
21591 r=`${PWD_COMMAND}`; export r; \
21592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21593 $(HOST_EXPORTS) \
21594 for flag in $(EXTRA_HOST_FLAGS) ; do \
21595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21596 done; \
21597 echo "Doing install-pdf in libgui" ; \
21598 (cd $(HOST_SUBDIR)/libgui && \
21599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21601 "RANLIB=$${RANLIB}" \
21602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21603 install-pdf) \
21604 || exit 1
21606 @endif libgui
21608 .PHONY: maybe-install-html-libgui install-html-libgui
21609 maybe-install-html-libgui:
21610 @if libgui
21611 maybe-install-html-libgui: install-html-libgui
21613 install-html-libgui: \
21614 configure-libgui \
21615 html-libgui
21616 @: $(MAKE); $(unstage)
21617 @[ -f ./libgui/Makefile ] || exit 0; \
21618 r=`${PWD_COMMAND}`; export r; \
21619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21620 $(HOST_EXPORTS) \
21621 for flag in $(EXTRA_HOST_FLAGS) ; do \
21622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21623 done; \
21624 echo "Doing install-html in libgui" ; \
21625 (cd $(HOST_SUBDIR)/libgui && \
21626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21628 "RANLIB=$${RANLIB}" \
21629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21630 install-html) \
21631 || exit 1
21633 @endif libgui
21635 .PHONY: maybe-installcheck-libgui installcheck-libgui
21636 maybe-installcheck-libgui:
21637 @if libgui
21638 maybe-installcheck-libgui: installcheck-libgui
21640 installcheck-libgui: \
21641 configure-libgui
21642 @: $(MAKE); $(unstage)
21643 @[ -f ./libgui/Makefile ] || exit 0; \
21644 r=`${PWD_COMMAND}`; export r; \
21645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21646 $(HOST_EXPORTS) \
21647 for flag in $(EXTRA_HOST_FLAGS) ; do \
21648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21649 done; \
21650 echo "Doing installcheck in libgui" ; \
21651 (cd $(HOST_SUBDIR)/libgui && \
21652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21654 "RANLIB=$${RANLIB}" \
21655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21656 installcheck) \
21657 || exit 1
21659 @endif libgui
21661 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
21662 maybe-mostlyclean-libgui:
21663 @if libgui
21664 maybe-mostlyclean-libgui: mostlyclean-libgui
21666 mostlyclean-libgui:
21667 @: $(MAKE); $(unstage)
21668 @[ -f ./libgui/Makefile ] || exit 0; \
21669 r=`${PWD_COMMAND}`; export r; \
21670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21671 $(HOST_EXPORTS) \
21672 for flag in $(EXTRA_HOST_FLAGS) ; do \
21673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21674 done; \
21675 echo "Doing mostlyclean in libgui" ; \
21676 (cd $(HOST_SUBDIR)/libgui && \
21677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21679 "RANLIB=$${RANLIB}" \
21680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21681 mostlyclean) \
21682 || exit 1
21684 @endif libgui
21686 .PHONY: maybe-clean-libgui clean-libgui
21687 maybe-clean-libgui:
21688 @if libgui
21689 maybe-clean-libgui: clean-libgui
21691 clean-libgui:
21692 @: $(MAKE); $(unstage)
21693 @[ -f ./libgui/Makefile ] || exit 0; \
21694 r=`${PWD_COMMAND}`; export r; \
21695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21696 $(HOST_EXPORTS) \
21697 for flag in $(EXTRA_HOST_FLAGS) ; do \
21698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21699 done; \
21700 echo "Doing clean in libgui" ; \
21701 (cd $(HOST_SUBDIR)/libgui && \
21702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21704 "RANLIB=$${RANLIB}" \
21705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21706 clean) \
21707 || exit 1
21709 @endif libgui
21711 .PHONY: maybe-distclean-libgui distclean-libgui
21712 maybe-distclean-libgui:
21713 @if libgui
21714 maybe-distclean-libgui: distclean-libgui
21716 distclean-libgui:
21717 @: $(MAKE); $(unstage)
21718 @[ -f ./libgui/Makefile ] || exit 0; \
21719 r=`${PWD_COMMAND}`; export r; \
21720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21721 $(HOST_EXPORTS) \
21722 for flag in $(EXTRA_HOST_FLAGS) ; do \
21723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21724 done; \
21725 echo "Doing distclean in libgui" ; \
21726 (cd $(HOST_SUBDIR)/libgui && \
21727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21729 "RANLIB=$${RANLIB}" \
21730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21731 distclean) \
21732 || exit 1
21734 @endif libgui
21736 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
21737 maybe-maintainer-clean-libgui:
21738 @if libgui
21739 maybe-maintainer-clean-libgui: maintainer-clean-libgui
21741 maintainer-clean-libgui:
21742 @: $(MAKE); $(unstage)
21743 @[ -f ./libgui/Makefile ] || exit 0; \
21744 r=`${PWD_COMMAND}`; export r; \
21745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21746 $(HOST_EXPORTS) \
21747 for flag in $(EXTRA_HOST_FLAGS) ; do \
21748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21749 done; \
21750 echo "Doing maintainer-clean in libgui" ; \
21751 (cd $(HOST_SUBDIR)/libgui && \
21752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21754 "RANLIB=$${RANLIB}" \
21755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21756 maintainer-clean) \
21757 || exit 1
21759 @endif libgui
21763 .PHONY: configure-libiberty maybe-configure-libiberty
21764 maybe-configure-libiberty:
21765 @if gcc-bootstrap
21766 configure-libiberty: stage_current
21767 @endif gcc-bootstrap
21768 @if libiberty
21769 maybe-configure-libiberty: configure-libiberty
21770 configure-libiberty:
21771 @r=`${PWD_COMMAND}`; export r; \
21772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21773 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21774 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21775 $(HOST_EXPORTS) \
21776 echo Configuring in $(HOST_SUBDIR)/libiberty; \
21777 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
21778 case $(srcdir) in \
21779 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21780 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21781 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21782 esac; \
21783 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21784 libsrcdir="$$s/libiberty"; \
21785 $(SHELL) $${libsrcdir}/configure \
21786 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21787 --target=${target_alias} $${srcdiroption} @extra_host_libiberty_configure_flags@ \
21788 || exit 1
21789 @endif libiberty
21793 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
21794 maybe-configure-stage1-libiberty:
21795 @if libiberty-bootstrap
21796 maybe-configure-stage1-libiberty: configure-stage1-libiberty
21797 configure-stage1-libiberty:
21798 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21799 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21800 @r=`${PWD_COMMAND}`; export r; \
21801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21802 TFLAGS="$(STAGE1_TFLAGS)"; \
21803 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21804 $(HOST_EXPORTS) \
21805 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
21806 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
21807 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
21808 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
21809 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21810 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21811 case $(srcdir) in \
21812 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21813 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21814 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21815 esac; \
21816 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21817 libsrcdir="$$s/libiberty"; \
21818 $(SHELL) $${libsrcdir}/configure \
21819 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21820 --target=${target_alias} $${srcdiroption} \
21821 $(STAGE1_CONFIGURE_FLAGS) \
21822 @extra_host_libiberty_configure_flags@
21823 @endif libiberty-bootstrap
21825 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
21826 maybe-configure-stage2-libiberty:
21827 @if libiberty-bootstrap
21828 maybe-configure-stage2-libiberty: configure-stage2-libiberty
21829 configure-stage2-libiberty:
21830 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21831 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21832 @r=`${PWD_COMMAND}`; export r; \
21833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21834 TFLAGS="$(STAGE2_TFLAGS)"; \
21835 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21836 $(HOST_EXPORTS) \
21837 $(POSTSTAGE1_HOST_EXPORTS) \
21838 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
21839 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
21840 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
21841 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
21842 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21843 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21844 case $(srcdir) in \
21845 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21846 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21847 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21848 esac; \
21849 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21850 libsrcdir="$$s/libiberty"; \
21851 $(SHELL) $${libsrcdir}/configure \
21852 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21853 --target=${target_alias} $${srcdiroption} \
21854 --with-build-libsubdir=$(HOST_SUBDIR) \
21855 $(STAGE2_CONFIGURE_FLAGS) \
21856 @extra_host_libiberty_configure_flags@
21857 @endif libiberty-bootstrap
21859 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
21860 maybe-configure-stage3-libiberty:
21861 @if libiberty-bootstrap
21862 maybe-configure-stage3-libiberty: configure-stage3-libiberty
21863 configure-stage3-libiberty:
21864 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21865 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21866 @r=`${PWD_COMMAND}`; export r; \
21867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21868 TFLAGS="$(STAGE3_TFLAGS)"; \
21869 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21870 $(HOST_EXPORTS) \
21871 $(POSTSTAGE1_HOST_EXPORTS) \
21872 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
21873 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
21874 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
21875 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
21876 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21877 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21878 case $(srcdir) in \
21879 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21880 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21881 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21882 esac; \
21883 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21884 libsrcdir="$$s/libiberty"; \
21885 $(SHELL) $${libsrcdir}/configure \
21886 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21887 --target=${target_alias} $${srcdiroption} \
21888 --with-build-libsubdir=$(HOST_SUBDIR) \
21889 $(STAGE3_CONFIGURE_FLAGS) \
21890 @extra_host_libiberty_configure_flags@
21891 @endif libiberty-bootstrap
21893 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
21894 maybe-configure-stage4-libiberty:
21895 @if libiberty-bootstrap
21896 maybe-configure-stage4-libiberty: configure-stage4-libiberty
21897 configure-stage4-libiberty:
21898 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21899 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21900 @r=`${PWD_COMMAND}`; export r; \
21901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21902 TFLAGS="$(STAGE4_TFLAGS)"; \
21903 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21904 $(HOST_EXPORTS) \
21905 $(POSTSTAGE1_HOST_EXPORTS) \
21906 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
21907 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
21908 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
21909 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
21910 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21911 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21912 case $(srcdir) in \
21913 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21914 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21915 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21916 esac; \
21917 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21918 libsrcdir="$$s/libiberty"; \
21919 $(SHELL) $${libsrcdir}/configure \
21920 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21921 --target=${target_alias} $${srcdiroption} \
21922 --with-build-libsubdir=$(HOST_SUBDIR) \
21923 $(STAGE4_CONFIGURE_FLAGS) \
21924 @extra_host_libiberty_configure_flags@
21925 @endif libiberty-bootstrap
21927 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
21928 maybe-configure-stageprofile-libiberty:
21929 @if libiberty-bootstrap
21930 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
21931 configure-stageprofile-libiberty:
21932 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21933 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21934 @r=`${PWD_COMMAND}`; export r; \
21935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21936 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21937 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21938 $(HOST_EXPORTS) \
21939 $(POSTSTAGE1_HOST_EXPORTS) \
21940 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
21941 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
21942 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
21943 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
21944 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21945 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21946 case $(srcdir) in \
21947 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21948 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21949 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21950 esac; \
21951 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21952 libsrcdir="$$s/libiberty"; \
21953 $(SHELL) $${libsrcdir}/configure \
21954 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21955 --target=${target_alias} $${srcdiroption} \
21956 --with-build-libsubdir=$(HOST_SUBDIR) \
21957 $(STAGEprofile_CONFIGURE_FLAGS) \
21958 @extra_host_libiberty_configure_flags@
21959 @endif libiberty-bootstrap
21961 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
21962 maybe-configure-stagefeedback-libiberty:
21963 @if libiberty-bootstrap
21964 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
21965 configure-stagefeedback-libiberty:
21966 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21967 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21968 @r=`${PWD_COMMAND}`; export r; \
21969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21970 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21971 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21972 $(HOST_EXPORTS) \
21973 $(POSTSTAGE1_HOST_EXPORTS) \
21974 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
21975 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
21976 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
21977 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
21978 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21979 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21980 case $(srcdir) in \
21981 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21982 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21983 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21984 esac; \
21985 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21986 libsrcdir="$$s/libiberty"; \
21987 $(SHELL) $${libsrcdir}/configure \
21988 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21989 --target=${target_alias} $${srcdiroption} \
21990 --with-build-libsubdir=$(HOST_SUBDIR) \
21991 $(STAGEfeedback_CONFIGURE_FLAGS) \
21992 @extra_host_libiberty_configure_flags@
21993 @endif libiberty-bootstrap
21999 .PHONY: all-libiberty maybe-all-libiberty
22000 maybe-all-libiberty:
22001 @if gcc-bootstrap
22002 all-libiberty: stage_current
22003 @endif gcc-bootstrap
22004 @if libiberty
22005 TARGET-libiberty=all
22006 maybe-all-libiberty: all-libiberty
22007 all-libiberty: configure-libiberty
22008 @r=`${PWD_COMMAND}`; export r; \
22009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22010 $(HOST_EXPORTS) \
22011 (cd $(HOST_SUBDIR)/libiberty && \
22012 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
22013 $(TARGET-libiberty))
22014 @endif libiberty
22018 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
22019 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
22020 maybe-all-stage1-libiberty:
22021 maybe-clean-stage1-libiberty:
22022 @if libiberty-bootstrap
22023 maybe-all-stage1-libiberty: all-stage1-libiberty
22024 all-stage1: all-stage1-libiberty
22025 TARGET-stage1-libiberty = $(TARGET-libiberty)
22026 all-stage1-libiberty: configure-stage1-libiberty
22027 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22028 @r=`${PWD_COMMAND}`; export r; \
22029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22030 TFLAGS="$(STAGE1_TFLAGS)"; \
22031 $(HOST_EXPORTS) \
22032 cd $(HOST_SUBDIR)/libiberty && \
22033 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22034 CFLAGS="$(STAGE1_CFLAGS)" \
22035 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
22036 LIBCFLAGS="$(LIBCFLAGS)" \
22037 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22038 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22039 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22040 $(EXTRA_HOST_FLAGS) \
22041 TFLAGS="$(STAGE1_TFLAGS)" \
22042 $(TARGET-stage1-libiberty)
22044 maybe-clean-stage1-libiberty: clean-stage1-libiberty
22045 clean-stage1: clean-stage1-libiberty
22046 clean-stage1-libiberty:
22047 @if [ $(current_stage) = stage1 ]; then \
22048 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22049 else \
22050 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
22051 $(MAKE) stage1-start; \
22052 fi; \
22053 cd $(HOST_SUBDIR)/libiberty && \
22054 $(MAKE) $(EXTRA_HOST_FLAGS) \
22055 clean
22056 @endif libiberty-bootstrap
22059 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
22060 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
22061 maybe-all-stage2-libiberty:
22062 maybe-clean-stage2-libiberty:
22063 @if libiberty-bootstrap
22064 maybe-all-stage2-libiberty: all-stage2-libiberty
22065 all-stage2: all-stage2-libiberty
22066 TARGET-stage2-libiberty = $(TARGET-libiberty)
22067 all-stage2-libiberty: configure-stage2-libiberty
22068 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22069 @r=`${PWD_COMMAND}`; export r; \
22070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22071 TFLAGS="$(STAGE2_TFLAGS)"; \
22072 $(HOST_EXPORTS) \
22073 $(POSTSTAGE1_HOST_EXPORTS) \
22074 cd $(HOST_SUBDIR)/libiberty && \
22075 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22076 CFLAGS="$(STAGE2_CFLAGS)" \
22077 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
22078 LIBCFLAGS="$(STAGE2_CFLAGS)" \
22079 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22080 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22081 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22082 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22083 TFLAGS="$(STAGE2_TFLAGS)" \
22084 $(TARGET-stage2-libiberty)
22086 maybe-clean-stage2-libiberty: clean-stage2-libiberty
22087 clean-stage2: clean-stage2-libiberty
22088 clean-stage2-libiberty:
22089 @if [ $(current_stage) = stage2 ]; then \
22090 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22091 else \
22092 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
22093 $(MAKE) stage2-start; \
22094 fi; \
22095 cd $(HOST_SUBDIR)/libiberty && \
22096 $(MAKE) $(EXTRA_HOST_FLAGS) \
22097 $(POSTSTAGE1_FLAGS_TO_PASS) \
22098 clean
22099 @endif libiberty-bootstrap
22102 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
22103 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
22104 maybe-all-stage3-libiberty:
22105 maybe-clean-stage3-libiberty:
22106 @if libiberty-bootstrap
22107 maybe-all-stage3-libiberty: all-stage3-libiberty
22108 all-stage3: all-stage3-libiberty
22109 TARGET-stage3-libiberty = $(TARGET-libiberty)
22110 all-stage3-libiberty: configure-stage3-libiberty
22111 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22112 @r=`${PWD_COMMAND}`; export r; \
22113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22114 TFLAGS="$(STAGE3_TFLAGS)"; \
22115 $(HOST_EXPORTS) \
22116 $(POSTSTAGE1_HOST_EXPORTS) \
22117 cd $(HOST_SUBDIR)/libiberty && \
22118 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22119 CFLAGS="$(STAGE3_CFLAGS)" \
22120 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
22121 LIBCFLAGS="$(STAGE3_CFLAGS)" \
22122 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22123 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22124 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22125 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22126 TFLAGS="$(STAGE3_TFLAGS)" \
22127 $(TARGET-stage3-libiberty)
22129 maybe-clean-stage3-libiberty: clean-stage3-libiberty
22130 clean-stage3: clean-stage3-libiberty
22131 clean-stage3-libiberty:
22132 @if [ $(current_stage) = stage3 ]; then \
22133 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22134 else \
22135 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
22136 $(MAKE) stage3-start; \
22137 fi; \
22138 cd $(HOST_SUBDIR)/libiberty && \
22139 $(MAKE) $(EXTRA_HOST_FLAGS) \
22140 $(POSTSTAGE1_FLAGS_TO_PASS) \
22141 clean
22142 @endif libiberty-bootstrap
22145 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
22146 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
22147 maybe-all-stage4-libiberty:
22148 maybe-clean-stage4-libiberty:
22149 @if libiberty-bootstrap
22150 maybe-all-stage4-libiberty: all-stage4-libiberty
22151 all-stage4: all-stage4-libiberty
22152 TARGET-stage4-libiberty = $(TARGET-libiberty)
22153 all-stage4-libiberty: configure-stage4-libiberty
22154 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22155 @r=`${PWD_COMMAND}`; export r; \
22156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22157 TFLAGS="$(STAGE4_TFLAGS)"; \
22158 $(HOST_EXPORTS) \
22159 $(POSTSTAGE1_HOST_EXPORTS) \
22160 cd $(HOST_SUBDIR)/libiberty && \
22161 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22162 CFLAGS="$(STAGE4_CFLAGS)" \
22163 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
22164 LIBCFLAGS="$(STAGE4_CFLAGS)" \
22165 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22166 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22167 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22168 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22169 TFLAGS="$(STAGE4_TFLAGS)" \
22170 $(TARGET-stage4-libiberty)
22172 maybe-clean-stage4-libiberty: clean-stage4-libiberty
22173 clean-stage4: clean-stage4-libiberty
22174 clean-stage4-libiberty:
22175 @if [ $(current_stage) = stage4 ]; then \
22176 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22177 else \
22178 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
22179 $(MAKE) stage4-start; \
22180 fi; \
22181 cd $(HOST_SUBDIR)/libiberty && \
22182 $(MAKE) $(EXTRA_HOST_FLAGS) \
22183 $(POSTSTAGE1_FLAGS_TO_PASS) \
22184 clean
22185 @endif libiberty-bootstrap
22188 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
22189 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
22190 maybe-all-stageprofile-libiberty:
22191 maybe-clean-stageprofile-libiberty:
22192 @if libiberty-bootstrap
22193 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
22194 all-stageprofile: all-stageprofile-libiberty
22195 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
22196 all-stageprofile-libiberty: configure-stageprofile-libiberty
22197 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22198 @r=`${PWD_COMMAND}`; export r; \
22199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22200 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22201 $(HOST_EXPORTS) \
22202 $(POSTSTAGE1_HOST_EXPORTS) \
22203 cd $(HOST_SUBDIR)/libiberty && \
22204 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22205 CFLAGS="$(STAGEprofile_CFLAGS)" \
22206 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
22207 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
22208 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22209 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22210 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22211 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22212 TFLAGS="$(STAGEprofile_TFLAGS)" \
22213 $(TARGET-stageprofile-libiberty)
22215 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
22216 clean-stageprofile: clean-stageprofile-libiberty
22217 clean-stageprofile-libiberty:
22218 @if [ $(current_stage) = stageprofile ]; then \
22219 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22220 else \
22221 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
22222 $(MAKE) stageprofile-start; \
22223 fi; \
22224 cd $(HOST_SUBDIR)/libiberty && \
22225 $(MAKE) $(EXTRA_HOST_FLAGS) \
22226 $(POSTSTAGE1_FLAGS_TO_PASS) \
22227 clean
22228 @endif libiberty-bootstrap
22231 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
22232 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
22233 maybe-all-stagefeedback-libiberty:
22234 maybe-clean-stagefeedback-libiberty:
22235 @if libiberty-bootstrap
22236 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
22237 all-stagefeedback: all-stagefeedback-libiberty
22238 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
22239 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
22240 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22241 @r=`${PWD_COMMAND}`; export r; \
22242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22243 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22244 $(HOST_EXPORTS) \
22245 $(POSTSTAGE1_HOST_EXPORTS) \
22246 cd $(HOST_SUBDIR)/libiberty && \
22247 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22248 CFLAGS="$(STAGEfeedback_CFLAGS)" \
22249 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
22250 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
22251 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22252 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22253 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22254 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22255 TFLAGS="$(STAGEfeedback_TFLAGS)" \
22256 $(TARGET-stagefeedback-libiberty)
22258 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
22259 clean-stagefeedback: clean-stagefeedback-libiberty
22260 clean-stagefeedback-libiberty:
22261 @if [ $(current_stage) = stagefeedback ]; then \
22262 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22263 else \
22264 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
22265 $(MAKE) stagefeedback-start; \
22266 fi; \
22267 cd $(HOST_SUBDIR)/libiberty && \
22268 $(MAKE) $(EXTRA_HOST_FLAGS) \
22269 $(POSTSTAGE1_FLAGS_TO_PASS) \
22270 clean
22271 @endif libiberty-bootstrap
22277 .PHONY: check-libiberty maybe-check-libiberty
22278 maybe-check-libiberty:
22279 @if libiberty
22280 maybe-check-libiberty: check-libiberty
22282 check-libiberty:
22283 @: $(MAKE); $(unstage)
22284 @r=`${PWD_COMMAND}`; export r; \
22285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22286 $(HOST_EXPORTS) \
22287 (cd $(HOST_SUBDIR)/libiberty && \
22288 $(MAKE) $(FLAGS_TO_PASS) check)
22290 @endif libiberty
22292 .PHONY: install-libiberty maybe-install-libiberty
22293 maybe-install-libiberty:
22294 @if libiberty
22295 maybe-install-libiberty: install-libiberty
22297 install-libiberty: installdirs
22298 @: $(MAKE); $(unstage)
22299 @r=`${PWD_COMMAND}`; export r; \
22300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22301 $(HOST_EXPORTS) \
22302 (cd $(HOST_SUBDIR)/libiberty && \
22303 $(MAKE) $(FLAGS_TO_PASS) install)
22305 @endif libiberty
22307 .PHONY: install-strip-libiberty maybe-install-strip-libiberty
22308 maybe-install-strip-libiberty:
22309 @if libiberty
22310 maybe-install-strip-libiberty: install-strip-libiberty
22312 install-strip-libiberty: installdirs
22313 @: $(MAKE); $(unstage)
22314 @r=`${PWD_COMMAND}`; export r; \
22315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22316 $(HOST_EXPORTS) \
22317 (cd $(HOST_SUBDIR)/libiberty && \
22318 $(MAKE) $(FLAGS_TO_PASS) install-strip)
22320 @endif libiberty
22322 # Other targets (info, dvi, pdf, etc.)
22324 .PHONY: maybe-info-libiberty info-libiberty
22325 maybe-info-libiberty:
22326 @if libiberty
22327 maybe-info-libiberty: info-libiberty
22329 info-libiberty: \
22330 configure-libiberty
22331 @[ -f ./libiberty/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 info in libiberty" ; \
22339 (cd $(HOST_SUBDIR)/libiberty && \
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 info) \
22345 || exit 1
22347 @endif libiberty
22349 .PHONY: maybe-dvi-libiberty dvi-libiberty
22350 maybe-dvi-libiberty:
22351 @if libiberty
22352 maybe-dvi-libiberty: dvi-libiberty
22354 dvi-libiberty: \
22355 configure-libiberty
22356 @[ -f ./libiberty/Makefile ] || exit 0; \
22357 r=`${PWD_COMMAND}`; export r; \
22358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22359 $(HOST_EXPORTS) \
22360 for flag in $(EXTRA_HOST_FLAGS) ; do \
22361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22362 done; \
22363 echo "Doing dvi in libiberty" ; \
22364 (cd $(HOST_SUBDIR)/libiberty && \
22365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22367 "RANLIB=$${RANLIB}" \
22368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22369 dvi) \
22370 || exit 1
22372 @endif libiberty
22374 .PHONY: maybe-pdf-libiberty pdf-libiberty
22375 maybe-pdf-libiberty:
22376 @if libiberty
22377 maybe-pdf-libiberty: pdf-libiberty
22379 pdf-libiberty: \
22380 configure-libiberty
22381 @[ -f ./libiberty/Makefile ] || exit 0; \
22382 r=`${PWD_COMMAND}`; export r; \
22383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22384 $(HOST_EXPORTS) \
22385 for flag in $(EXTRA_HOST_FLAGS) ; do \
22386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22387 done; \
22388 echo "Doing pdf in libiberty" ; \
22389 (cd $(HOST_SUBDIR)/libiberty && \
22390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22392 "RANLIB=$${RANLIB}" \
22393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22394 pdf) \
22395 || exit 1
22397 @endif libiberty
22399 .PHONY: maybe-html-libiberty html-libiberty
22400 maybe-html-libiberty:
22401 @if libiberty
22402 maybe-html-libiberty: html-libiberty
22404 html-libiberty: \
22405 configure-libiberty
22406 @[ -f ./libiberty/Makefile ] || exit 0; \
22407 r=`${PWD_COMMAND}`; export r; \
22408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22409 $(HOST_EXPORTS) \
22410 for flag in $(EXTRA_HOST_FLAGS) ; do \
22411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22412 done; \
22413 echo "Doing html in libiberty" ; \
22414 (cd $(HOST_SUBDIR)/libiberty && \
22415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22417 "RANLIB=$${RANLIB}" \
22418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22419 html) \
22420 || exit 1
22422 @endif libiberty
22424 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
22425 maybe-TAGS-libiberty:
22426 @if libiberty
22427 maybe-TAGS-libiberty: TAGS-libiberty
22429 TAGS-libiberty: \
22430 configure-libiberty
22431 @[ -f ./libiberty/Makefile ] || exit 0; \
22432 r=`${PWD_COMMAND}`; export r; \
22433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22434 $(HOST_EXPORTS) \
22435 for flag in $(EXTRA_HOST_FLAGS) ; do \
22436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22437 done; \
22438 echo "Doing TAGS in libiberty" ; \
22439 (cd $(HOST_SUBDIR)/libiberty && \
22440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22442 "RANLIB=$${RANLIB}" \
22443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22444 TAGS) \
22445 || exit 1
22447 @endif libiberty
22449 .PHONY: maybe-install-info-libiberty install-info-libiberty
22450 maybe-install-info-libiberty:
22451 @if libiberty
22452 maybe-install-info-libiberty: install-info-libiberty
22454 install-info-libiberty: \
22455 configure-libiberty \
22456 info-libiberty
22457 @[ -f ./libiberty/Makefile ] || exit 0; \
22458 r=`${PWD_COMMAND}`; export r; \
22459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22460 $(HOST_EXPORTS) \
22461 for flag in $(EXTRA_HOST_FLAGS) ; do \
22462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22463 done; \
22464 echo "Doing install-info in libiberty" ; \
22465 (cd $(HOST_SUBDIR)/libiberty && \
22466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22468 "RANLIB=$${RANLIB}" \
22469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22470 install-info) \
22471 || exit 1
22473 @endif libiberty
22475 .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty
22476 maybe-install-pdf-libiberty:
22477 @if libiberty
22478 maybe-install-pdf-libiberty: install-pdf-libiberty
22480 install-pdf-libiberty: \
22481 configure-libiberty \
22482 pdf-libiberty
22483 @[ -f ./libiberty/Makefile ] || exit 0; \
22484 r=`${PWD_COMMAND}`; export r; \
22485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22486 $(HOST_EXPORTS) \
22487 for flag in $(EXTRA_HOST_FLAGS) ; do \
22488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22489 done; \
22490 echo "Doing install-pdf in libiberty" ; \
22491 (cd $(HOST_SUBDIR)/libiberty && \
22492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22494 "RANLIB=$${RANLIB}" \
22495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22496 install-pdf) \
22497 || exit 1
22499 @endif libiberty
22501 .PHONY: maybe-install-html-libiberty install-html-libiberty
22502 maybe-install-html-libiberty:
22503 @if libiberty
22504 maybe-install-html-libiberty: install-html-libiberty
22506 install-html-libiberty: \
22507 configure-libiberty \
22508 html-libiberty
22509 @[ -f ./libiberty/Makefile ] || exit 0; \
22510 r=`${PWD_COMMAND}`; export r; \
22511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22512 $(HOST_EXPORTS) \
22513 for flag in $(EXTRA_HOST_FLAGS) ; do \
22514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22515 done; \
22516 echo "Doing install-html in libiberty" ; \
22517 (cd $(HOST_SUBDIR)/libiberty && \
22518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22520 "RANLIB=$${RANLIB}" \
22521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22522 install-html) \
22523 || exit 1
22525 @endif libiberty
22527 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
22528 maybe-installcheck-libiberty:
22529 @if libiberty
22530 maybe-installcheck-libiberty: installcheck-libiberty
22532 installcheck-libiberty: \
22533 configure-libiberty
22534 @[ -f ./libiberty/Makefile ] || exit 0; \
22535 r=`${PWD_COMMAND}`; export r; \
22536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22537 $(HOST_EXPORTS) \
22538 for flag in $(EXTRA_HOST_FLAGS) ; do \
22539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22540 done; \
22541 echo "Doing installcheck in libiberty" ; \
22542 (cd $(HOST_SUBDIR)/libiberty && \
22543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22545 "RANLIB=$${RANLIB}" \
22546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22547 installcheck) \
22548 || exit 1
22550 @endif libiberty
22552 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
22553 maybe-mostlyclean-libiberty:
22554 @if libiberty
22555 maybe-mostlyclean-libiberty: mostlyclean-libiberty
22557 mostlyclean-libiberty:
22558 @[ -f ./libiberty/Makefile ] || exit 0; \
22559 r=`${PWD_COMMAND}`; export r; \
22560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22561 $(HOST_EXPORTS) \
22562 for flag in $(EXTRA_HOST_FLAGS) ; do \
22563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22564 done; \
22565 echo "Doing mostlyclean in libiberty" ; \
22566 (cd $(HOST_SUBDIR)/libiberty && \
22567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22569 "RANLIB=$${RANLIB}" \
22570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22571 mostlyclean) \
22572 || exit 1
22574 @endif libiberty
22576 .PHONY: maybe-clean-libiberty clean-libiberty
22577 maybe-clean-libiberty:
22578 @if libiberty
22579 maybe-clean-libiberty: clean-libiberty
22581 clean-libiberty:
22582 @[ -f ./libiberty/Makefile ] || exit 0; \
22583 r=`${PWD_COMMAND}`; export r; \
22584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22585 $(HOST_EXPORTS) \
22586 for flag in $(EXTRA_HOST_FLAGS) ; do \
22587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22588 done; \
22589 echo "Doing clean in libiberty" ; \
22590 (cd $(HOST_SUBDIR)/libiberty && \
22591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22593 "RANLIB=$${RANLIB}" \
22594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22595 clean) \
22596 || exit 1
22598 @endif libiberty
22600 .PHONY: maybe-distclean-libiberty distclean-libiberty
22601 maybe-distclean-libiberty:
22602 @if libiberty
22603 maybe-distclean-libiberty: distclean-libiberty
22605 distclean-libiberty:
22606 @[ -f ./libiberty/Makefile ] || exit 0; \
22607 r=`${PWD_COMMAND}`; export r; \
22608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22609 $(HOST_EXPORTS) \
22610 for flag in $(EXTRA_HOST_FLAGS) ; do \
22611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22612 done; \
22613 echo "Doing distclean in libiberty" ; \
22614 (cd $(HOST_SUBDIR)/libiberty && \
22615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22617 "RANLIB=$${RANLIB}" \
22618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22619 distclean) \
22620 || exit 1
22622 @endif libiberty
22624 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
22625 maybe-maintainer-clean-libiberty:
22626 @if libiberty
22627 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
22629 maintainer-clean-libiberty:
22630 @[ -f ./libiberty/Makefile ] || exit 0; \
22631 r=`${PWD_COMMAND}`; export r; \
22632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22633 $(HOST_EXPORTS) \
22634 for flag in $(EXTRA_HOST_FLAGS) ; do \
22635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22636 done; \
22637 echo "Doing maintainer-clean in libiberty" ; \
22638 (cd $(HOST_SUBDIR)/libiberty && \
22639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22641 "RANLIB=$${RANLIB}" \
22642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22643 maintainer-clean) \
22644 || exit 1
22646 @endif libiberty
22650 .PHONY: configure-libiconv maybe-configure-libiconv
22651 maybe-configure-libiconv:
22652 @if gcc-bootstrap
22653 configure-libiconv: stage_current
22654 @endif gcc-bootstrap
22655 @if libiconv
22656 maybe-configure-libiconv: configure-libiconv
22657 configure-libiconv:
22658 @: $(MAKE); $(unstage)
22659 @r=`${PWD_COMMAND}`; export r; \
22660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22661 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
22662 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv ; \
22663 $(HOST_EXPORTS) \
22664 echo Configuring in $(HOST_SUBDIR)/libiconv; \
22665 cd "$(HOST_SUBDIR)/libiconv" || exit 1; \
22666 case $(srcdir) in \
22667 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22668 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
22669 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22670 esac; \
22671 srcdiroption="--srcdir=$${topdir}/libiconv"; \
22672 libsrcdir="$$s/libiconv"; \
22673 $(SHELL) $${libsrcdir}/configure \
22674 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22675 --target=${target_alias} $${srcdiroption} --disable-shared \
22676 || exit 1
22677 @endif libiconv
22683 .PHONY: all-libiconv maybe-all-libiconv
22684 maybe-all-libiconv:
22685 @if gcc-bootstrap
22686 all-libiconv: stage_current
22687 @endif gcc-bootstrap
22688 @if libiconv
22689 TARGET-libiconv=all
22690 maybe-all-libiconv: all-libiconv
22691 all-libiconv: configure-libiconv
22692 @: $(MAKE); $(unstage)
22693 @r=`${PWD_COMMAND}`; export r; \
22694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22695 $(HOST_EXPORTS) \
22696 (cd $(HOST_SUBDIR)/libiconv && \
22697 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
22698 $(TARGET-libiconv))
22699 @endif libiconv
22704 .PHONY: check-libiconv maybe-check-libiconv
22705 maybe-check-libiconv:
22706 @if libiconv
22707 maybe-check-libiconv: check-libiconv
22709 check-libiconv:
22710 @: $(MAKE); $(unstage)
22711 @r=`${PWD_COMMAND}`; export r; \
22712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22713 $(HOST_EXPORTS) \
22714 (cd $(HOST_SUBDIR)/libiconv && \
22715 $(MAKE) $(FLAGS_TO_PASS) check)
22717 @endif libiconv
22719 .PHONY: install-libiconv maybe-install-libiconv
22720 maybe-install-libiconv:
22721 @if libiconv
22722 maybe-install-libiconv: install-libiconv
22724 install-libiconv:
22726 @endif libiconv
22728 .PHONY: install-strip-libiconv maybe-install-strip-libiconv
22729 maybe-install-strip-libiconv:
22730 @if libiconv
22731 maybe-install-strip-libiconv: install-strip-libiconv
22733 install-strip-libiconv:
22735 @endif libiconv
22737 # Other targets (info, dvi, pdf, etc.)
22739 .PHONY: maybe-info-libiconv info-libiconv
22740 maybe-info-libiconv:
22741 @if libiconv
22742 maybe-info-libiconv: info-libiconv
22744 info-libiconv: \
22745 configure-libiconv
22746 @: $(MAKE); $(unstage)
22747 @[ -f ./libiconv/Makefile ] || exit 0; \
22748 r=`${PWD_COMMAND}`; export r; \
22749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22750 $(HOST_EXPORTS) \
22751 for flag in $(EXTRA_HOST_FLAGS) ; do \
22752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22753 done; \
22754 echo "Doing info in libiconv" ; \
22755 (cd $(HOST_SUBDIR)/libiconv && \
22756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22758 "RANLIB=$${RANLIB}" \
22759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22760 info) \
22761 || exit 1
22763 @endif libiconv
22765 .PHONY: maybe-dvi-libiconv dvi-libiconv
22766 maybe-dvi-libiconv:
22767 @if libiconv
22768 maybe-dvi-libiconv: dvi-libiconv
22770 dvi-libiconv: \
22771 configure-libiconv
22772 @: $(MAKE); $(unstage)
22773 @[ -f ./libiconv/Makefile ] || exit 0; \
22774 r=`${PWD_COMMAND}`; export r; \
22775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22776 $(HOST_EXPORTS) \
22777 for flag in $(EXTRA_HOST_FLAGS) ; do \
22778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22779 done; \
22780 echo "Doing dvi in libiconv" ; \
22781 (cd $(HOST_SUBDIR)/libiconv && \
22782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22784 "RANLIB=$${RANLIB}" \
22785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22786 dvi) \
22787 || exit 1
22789 @endif libiconv
22791 .PHONY: maybe-pdf-libiconv pdf-libiconv
22792 maybe-pdf-libiconv:
22793 @if libiconv
22794 maybe-pdf-libiconv: pdf-libiconv
22796 pdf-libiconv: \
22797 configure-libiconv
22798 @: $(MAKE); $(unstage)
22799 @[ -f ./libiconv/Makefile ] || exit 0; \
22800 r=`${PWD_COMMAND}`; export r; \
22801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22802 $(HOST_EXPORTS) \
22803 for flag in $(EXTRA_HOST_FLAGS) ; do \
22804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22805 done; \
22806 echo "Doing pdf in libiconv" ; \
22807 (cd $(HOST_SUBDIR)/libiconv && \
22808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22810 "RANLIB=$${RANLIB}" \
22811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22812 pdf) \
22813 || exit 1
22815 @endif libiconv
22817 .PHONY: maybe-html-libiconv html-libiconv
22818 maybe-html-libiconv:
22819 @if libiconv
22820 maybe-html-libiconv: html-libiconv
22822 html-libiconv: \
22823 configure-libiconv
22824 @: $(MAKE); $(unstage)
22825 @[ -f ./libiconv/Makefile ] || exit 0; \
22826 r=`${PWD_COMMAND}`; export r; \
22827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22828 $(HOST_EXPORTS) \
22829 for flag in $(EXTRA_HOST_FLAGS) ; do \
22830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22831 done; \
22832 echo "Doing html in libiconv" ; \
22833 (cd $(HOST_SUBDIR)/libiconv && \
22834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22836 "RANLIB=$${RANLIB}" \
22837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22838 html) \
22839 || exit 1
22841 @endif libiconv
22843 .PHONY: maybe-TAGS-libiconv TAGS-libiconv
22844 maybe-TAGS-libiconv:
22845 @if libiconv
22846 maybe-TAGS-libiconv: TAGS-libiconv
22848 TAGS-libiconv: \
22849 configure-libiconv
22850 @: $(MAKE); $(unstage)
22851 @[ -f ./libiconv/Makefile ] || exit 0; \
22852 r=`${PWD_COMMAND}`; export r; \
22853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22854 $(HOST_EXPORTS) \
22855 for flag in $(EXTRA_HOST_FLAGS) ; do \
22856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22857 done; \
22858 echo "Doing TAGS in libiconv" ; \
22859 (cd $(HOST_SUBDIR)/libiconv && \
22860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22862 "RANLIB=$${RANLIB}" \
22863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22864 TAGS) \
22865 || exit 1
22867 @endif libiconv
22869 .PHONY: maybe-install-info-libiconv install-info-libiconv
22870 maybe-install-info-libiconv:
22871 @if libiconv
22872 maybe-install-info-libiconv: install-info-libiconv
22874 # libiconv doesn't support install-info.
22875 install-info-libiconv:
22877 @endif libiconv
22879 .PHONY: maybe-install-pdf-libiconv install-pdf-libiconv
22880 maybe-install-pdf-libiconv:
22881 @if libiconv
22882 maybe-install-pdf-libiconv: install-pdf-libiconv
22884 # libiconv doesn't support install-pdf.
22885 install-pdf-libiconv:
22887 @endif libiconv
22889 .PHONY: maybe-install-html-libiconv install-html-libiconv
22890 maybe-install-html-libiconv:
22891 @if libiconv
22892 maybe-install-html-libiconv: install-html-libiconv
22894 # libiconv doesn't support install-html.
22895 install-html-libiconv:
22897 @endif libiconv
22899 .PHONY: maybe-installcheck-libiconv installcheck-libiconv
22900 maybe-installcheck-libiconv:
22901 @if libiconv
22902 maybe-installcheck-libiconv: installcheck-libiconv
22904 installcheck-libiconv: \
22905 configure-libiconv
22906 @: $(MAKE); $(unstage)
22907 @[ -f ./libiconv/Makefile ] || exit 0; \
22908 r=`${PWD_COMMAND}`; export r; \
22909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22910 $(HOST_EXPORTS) \
22911 for flag in $(EXTRA_HOST_FLAGS) ; do \
22912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22913 done; \
22914 echo "Doing installcheck in libiconv" ; \
22915 (cd $(HOST_SUBDIR)/libiconv && \
22916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22918 "RANLIB=$${RANLIB}" \
22919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22920 installcheck) \
22921 || exit 1
22923 @endif libiconv
22925 .PHONY: maybe-mostlyclean-libiconv mostlyclean-libiconv
22926 maybe-mostlyclean-libiconv:
22927 @if libiconv
22928 maybe-mostlyclean-libiconv: mostlyclean-libiconv
22930 mostlyclean-libiconv:
22931 @: $(MAKE); $(unstage)
22932 @[ -f ./libiconv/Makefile ] || exit 0; \
22933 r=`${PWD_COMMAND}`; export r; \
22934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22935 $(HOST_EXPORTS) \
22936 for flag in $(EXTRA_HOST_FLAGS) ; do \
22937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22938 done; \
22939 echo "Doing mostlyclean in libiconv" ; \
22940 (cd $(HOST_SUBDIR)/libiconv && \
22941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22943 "RANLIB=$${RANLIB}" \
22944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22945 mostlyclean) \
22946 || exit 1
22948 @endif libiconv
22950 .PHONY: maybe-clean-libiconv clean-libiconv
22951 maybe-clean-libiconv:
22952 @if libiconv
22953 maybe-clean-libiconv: clean-libiconv
22955 clean-libiconv:
22956 @: $(MAKE); $(unstage)
22957 @[ -f ./libiconv/Makefile ] || exit 0; \
22958 r=`${PWD_COMMAND}`; export r; \
22959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22960 $(HOST_EXPORTS) \
22961 for flag in $(EXTRA_HOST_FLAGS) ; do \
22962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22963 done; \
22964 echo "Doing clean in libiconv" ; \
22965 (cd $(HOST_SUBDIR)/libiconv && \
22966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22968 "RANLIB=$${RANLIB}" \
22969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22970 clean) \
22971 || exit 1
22973 @endif libiconv
22975 .PHONY: maybe-distclean-libiconv distclean-libiconv
22976 maybe-distclean-libiconv:
22977 @if libiconv
22978 maybe-distclean-libiconv: distclean-libiconv
22980 distclean-libiconv:
22981 @: $(MAKE); $(unstage)
22982 @[ -f ./libiconv/Makefile ] || exit 0; \
22983 r=`${PWD_COMMAND}`; export r; \
22984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22985 $(HOST_EXPORTS) \
22986 for flag in $(EXTRA_HOST_FLAGS) ; do \
22987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22988 done; \
22989 echo "Doing distclean in libiconv" ; \
22990 (cd $(HOST_SUBDIR)/libiconv && \
22991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22993 "RANLIB=$${RANLIB}" \
22994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22995 distclean) \
22996 || exit 1
22998 @endif libiconv
23000 .PHONY: maybe-maintainer-clean-libiconv maintainer-clean-libiconv
23001 maybe-maintainer-clean-libiconv:
23002 @if libiconv
23003 maybe-maintainer-clean-libiconv: maintainer-clean-libiconv
23005 maintainer-clean-libiconv:
23006 @: $(MAKE); $(unstage)
23007 @[ -f ./libiconv/Makefile ] || exit 0; \
23008 r=`${PWD_COMMAND}`; export r; \
23009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23010 $(HOST_EXPORTS) \
23011 for flag in $(EXTRA_HOST_FLAGS) ; do \
23012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23013 done; \
23014 echo "Doing maintainer-clean in libiconv" ; \
23015 (cd $(HOST_SUBDIR)/libiconv && \
23016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23018 "RANLIB=$${RANLIB}" \
23019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23020 maintainer-clean) \
23021 || exit 1
23023 @endif libiconv
23027 .PHONY: configure-m4 maybe-configure-m4
23028 maybe-configure-m4:
23029 @if gcc-bootstrap
23030 configure-m4: stage_current
23031 @endif gcc-bootstrap
23032 @if m4
23033 maybe-configure-m4: configure-m4
23034 configure-m4:
23035 @: $(MAKE); $(unstage)
23036 @r=`${PWD_COMMAND}`; export r; \
23037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23038 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
23039 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
23040 $(HOST_EXPORTS) \
23041 echo Configuring in $(HOST_SUBDIR)/m4; \
23042 cd "$(HOST_SUBDIR)/m4" || exit 1; \
23043 case $(srcdir) in \
23044 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23045 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
23046 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23047 esac; \
23048 srcdiroption="--srcdir=$${topdir}/m4"; \
23049 libsrcdir="$$s/m4"; \
23050 $(SHELL) $${libsrcdir}/configure \
23051 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23052 --target=${target_alias} $${srcdiroption} \
23053 || exit 1
23054 @endif m4
23060 .PHONY: all-m4 maybe-all-m4
23061 maybe-all-m4:
23062 @if gcc-bootstrap
23063 all-m4: stage_current
23064 @endif gcc-bootstrap
23065 @if m4
23066 TARGET-m4=all
23067 maybe-all-m4: all-m4
23068 all-m4: configure-m4
23069 @: $(MAKE); $(unstage)
23070 @r=`${PWD_COMMAND}`; export r; \
23071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23072 $(HOST_EXPORTS) \
23073 (cd $(HOST_SUBDIR)/m4 && \
23074 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
23075 $(TARGET-m4))
23076 @endif m4
23081 .PHONY: check-m4 maybe-check-m4
23082 maybe-check-m4:
23083 @if m4
23084 maybe-check-m4: check-m4
23086 check-m4:
23087 @: $(MAKE); $(unstage)
23088 @r=`${PWD_COMMAND}`; export r; \
23089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23090 $(HOST_EXPORTS) \
23091 (cd $(HOST_SUBDIR)/m4 && \
23092 $(MAKE) $(FLAGS_TO_PASS) check)
23094 @endif m4
23096 .PHONY: install-m4 maybe-install-m4
23097 maybe-install-m4:
23098 @if m4
23099 maybe-install-m4: install-m4
23101 install-m4: installdirs
23102 @: $(MAKE); $(unstage)
23103 @r=`${PWD_COMMAND}`; export r; \
23104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23105 $(HOST_EXPORTS) \
23106 (cd $(HOST_SUBDIR)/m4 && \
23107 $(MAKE) $(FLAGS_TO_PASS) install)
23109 @endif m4
23111 .PHONY: install-strip-m4 maybe-install-strip-m4
23112 maybe-install-strip-m4:
23113 @if m4
23114 maybe-install-strip-m4: install-strip-m4
23116 install-strip-m4: installdirs
23117 @: $(MAKE); $(unstage)
23118 @r=`${PWD_COMMAND}`; export r; \
23119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23120 $(HOST_EXPORTS) \
23121 (cd $(HOST_SUBDIR)/m4 && \
23122 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23124 @endif m4
23126 # Other targets (info, dvi, pdf, etc.)
23128 .PHONY: maybe-info-m4 info-m4
23129 maybe-info-m4:
23130 @if m4
23131 maybe-info-m4: info-m4
23133 info-m4: \
23134 configure-m4
23135 @: $(MAKE); $(unstage)
23136 @[ -f ./m4/Makefile ] || exit 0; \
23137 r=`${PWD_COMMAND}`; export r; \
23138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23139 $(HOST_EXPORTS) \
23140 for flag in $(EXTRA_HOST_FLAGS) ; do \
23141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23142 done; \
23143 echo "Doing info in m4" ; \
23144 (cd $(HOST_SUBDIR)/m4 && \
23145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23147 "RANLIB=$${RANLIB}" \
23148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23149 info) \
23150 || exit 1
23152 @endif m4
23154 .PHONY: maybe-dvi-m4 dvi-m4
23155 maybe-dvi-m4:
23156 @if m4
23157 maybe-dvi-m4: dvi-m4
23159 dvi-m4: \
23160 configure-m4
23161 @: $(MAKE); $(unstage)
23162 @[ -f ./m4/Makefile ] || exit 0; \
23163 r=`${PWD_COMMAND}`; export r; \
23164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23165 $(HOST_EXPORTS) \
23166 for flag in $(EXTRA_HOST_FLAGS) ; do \
23167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23168 done; \
23169 echo "Doing dvi in m4" ; \
23170 (cd $(HOST_SUBDIR)/m4 && \
23171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23173 "RANLIB=$${RANLIB}" \
23174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23175 dvi) \
23176 || exit 1
23178 @endif m4
23180 .PHONY: maybe-pdf-m4 pdf-m4
23181 maybe-pdf-m4:
23182 @if m4
23183 maybe-pdf-m4: pdf-m4
23185 pdf-m4: \
23186 configure-m4
23187 @: $(MAKE); $(unstage)
23188 @[ -f ./m4/Makefile ] || exit 0; \
23189 r=`${PWD_COMMAND}`; export r; \
23190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23191 $(HOST_EXPORTS) \
23192 for flag in $(EXTRA_HOST_FLAGS) ; do \
23193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23194 done; \
23195 echo "Doing pdf in m4" ; \
23196 (cd $(HOST_SUBDIR)/m4 && \
23197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23199 "RANLIB=$${RANLIB}" \
23200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23201 pdf) \
23202 || exit 1
23204 @endif m4
23206 .PHONY: maybe-html-m4 html-m4
23207 maybe-html-m4:
23208 @if m4
23209 maybe-html-m4: html-m4
23211 html-m4: \
23212 configure-m4
23213 @: $(MAKE); $(unstage)
23214 @[ -f ./m4/Makefile ] || exit 0; \
23215 r=`${PWD_COMMAND}`; export r; \
23216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23217 $(HOST_EXPORTS) \
23218 for flag in $(EXTRA_HOST_FLAGS) ; do \
23219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23220 done; \
23221 echo "Doing html in m4" ; \
23222 (cd $(HOST_SUBDIR)/m4 && \
23223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23225 "RANLIB=$${RANLIB}" \
23226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23227 html) \
23228 || exit 1
23230 @endif m4
23232 .PHONY: maybe-TAGS-m4 TAGS-m4
23233 maybe-TAGS-m4:
23234 @if m4
23235 maybe-TAGS-m4: TAGS-m4
23237 TAGS-m4: \
23238 configure-m4
23239 @: $(MAKE); $(unstage)
23240 @[ -f ./m4/Makefile ] || exit 0; \
23241 r=`${PWD_COMMAND}`; export r; \
23242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23243 $(HOST_EXPORTS) \
23244 for flag in $(EXTRA_HOST_FLAGS) ; do \
23245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23246 done; \
23247 echo "Doing TAGS in m4" ; \
23248 (cd $(HOST_SUBDIR)/m4 && \
23249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23251 "RANLIB=$${RANLIB}" \
23252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23253 TAGS) \
23254 || exit 1
23256 @endif m4
23258 .PHONY: maybe-install-info-m4 install-info-m4
23259 maybe-install-info-m4:
23260 @if m4
23261 maybe-install-info-m4: install-info-m4
23263 install-info-m4: \
23264 configure-m4 \
23265 info-m4
23266 @: $(MAKE); $(unstage)
23267 @[ -f ./m4/Makefile ] || exit 0; \
23268 r=`${PWD_COMMAND}`; export r; \
23269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23270 $(HOST_EXPORTS) \
23271 for flag in $(EXTRA_HOST_FLAGS) ; do \
23272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23273 done; \
23274 echo "Doing install-info in m4" ; \
23275 (cd $(HOST_SUBDIR)/m4 && \
23276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23278 "RANLIB=$${RANLIB}" \
23279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23280 install-info) \
23281 || exit 1
23283 @endif m4
23285 .PHONY: maybe-install-pdf-m4 install-pdf-m4
23286 maybe-install-pdf-m4:
23287 @if m4
23288 maybe-install-pdf-m4: install-pdf-m4
23290 install-pdf-m4: \
23291 configure-m4 \
23292 pdf-m4
23293 @: $(MAKE); $(unstage)
23294 @[ -f ./m4/Makefile ] || exit 0; \
23295 r=`${PWD_COMMAND}`; export r; \
23296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23297 $(HOST_EXPORTS) \
23298 for flag in $(EXTRA_HOST_FLAGS) ; do \
23299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23300 done; \
23301 echo "Doing install-pdf in m4" ; \
23302 (cd $(HOST_SUBDIR)/m4 && \
23303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23305 "RANLIB=$${RANLIB}" \
23306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23307 install-pdf) \
23308 || exit 1
23310 @endif m4
23312 .PHONY: maybe-install-html-m4 install-html-m4
23313 maybe-install-html-m4:
23314 @if m4
23315 maybe-install-html-m4: install-html-m4
23317 install-html-m4: \
23318 configure-m4 \
23319 html-m4
23320 @: $(MAKE); $(unstage)
23321 @[ -f ./m4/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 m4" ; \
23329 (cd $(HOST_SUBDIR)/m4 && \
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 m4
23339 .PHONY: maybe-installcheck-m4 installcheck-m4
23340 maybe-installcheck-m4:
23341 @if m4
23342 maybe-installcheck-m4: installcheck-m4
23344 installcheck-m4: \
23345 configure-m4
23346 @: $(MAKE); $(unstage)
23347 @[ -f ./m4/Makefile ] || exit 0; \
23348 r=`${PWD_COMMAND}`; export r; \
23349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23350 $(HOST_EXPORTS) \
23351 for flag in $(EXTRA_HOST_FLAGS) ; do \
23352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23353 done; \
23354 echo "Doing installcheck in m4" ; \
23355 (cd $(HOST_SUBDIR)/m4 && \
23356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23358 "RANLIB=$${RANLIB}" \
23359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23360 installcheck) \
23361 || exit 1
23363 @endif m4
23365 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
23366 maybe-mostlyclean-m4:
23367 @if m4
23368 maybe-mostlyclean-m4: mostlyclean-m4
23370 mostlyclean-m4:
23371 @: $(MAKE); $(unstage)
23372 @[ -f ./m4/Makefile ] || exit 0; \
23373 r=`${PWD_COMMAND}`; export r; \
23374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23375 $(HOST_EXPORTS) \
23376 for flag in $(EXTRA_HOST_FLAGS) ; do \
23377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23378 done; \
23379 echo "Doing mostlyclean in m4" ; \
23380 (cd $(HOST_SUBDIR)/m4 && \
23381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23383 "RANLIB=$${RANLIB}" \
23384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23385 mostlyclean) \
23386 || exit 1
23388 @endif m4
23390 .PHONY: maybe-clean-m4 clean-m4
23391 maybe-clean-m4:
23392 @if m4
23393 maybe-clean-m4: clean-m4
23395 clean-m4:
23396 @: $(MAKE); $(unstage)
23397 @[ -f ./m4/Makefile ] || exit 0; \
23398 r=`${PWD_COMMAND}`; export r; \
23399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23400 $(HOST_EXPORTS) \
23401 for flag in $(EXTRA_HOST_FLAGS) ; do \
23402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23403 done; \
23404 echo "Doing clean in m4" ; \
23405 (cd $(HOST_SUBDIR)/m4 && \
23406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23408 "RANLIB=$${RANLIB}" \
23409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23410 clean) \
23411 || exit 1
23413 @endif m4
23415 .PHONY: maybe-distclean-m4 distclean-m4
23416 maybe-distclean-m4:
23417 @if m4
23418 maybe-distclean-m4: distclean-m4
23420 distclean-m4:
23421 @: $(MAKE); $(unstage)
23422 @[ -f ./m4/Makefile ] || exit 0; \
23423 r=`${PWD_COMMAND}`; export r; \
23424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23425 $(HOST_EXPORTS) \
23426 for flag in $(EXTRA_HOST_FLAGS) ; do \
23427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23428 done; \
23429 echo "Doing distclean in m4" ; \
23430 (cd $(HOST_SUBDIR)/m4 && \
23431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23433 "RANLIB=$${RANLIB}" \
23434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23435 distclean) \
23436 || exit 1
23438 @endif m4
23440 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
23441 maybe-maintainer-clean-m4:
23442 @if m4
23443 maybe-maintainer-clean-m4: maintainer-clean-m4
23445 maintainer-clean-m4:
23446 @: $(MAKE); $(unstage)
23447 @[ -f ./m4/Makefile ] || exit 0; \
23448 r=`${PWD_COMMAND}`; export r; \
23449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23450 $(HOST_EXPORTS) \
23451 for flag in $(EXTRA_HOST_FLAGS) ; do \
23452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23453 done; \
23454 echo "Doing maintainer-clean in m4" ; \
23455 (cd $(HOST_SUBDIR)/m4 && \
23456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23458 "RANLIB=$${RANLIB}" \
23459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23460 maintainer-clean) \
23461 || exit 1
23463 @endif m4
23467 .PHONY: configure-readline maybe-configure-readline
23468 maybe-configure-readline:
23469 @if gcc-bootstrap
23470 configure-readline: stage_current
23471 @endif gcc-bootstrap
23472 @if readline
23473 maybe-configure-readline: configure-readline
23474 configure-readline:
23475 @: $(MAKE); $(unstage)
23476 @r=`${PWD_COMMAND}`; export r; \
23477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23478 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
23479 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
23480 $(HOST_EXPORTS) \
23481 echo Configuring in $(HOST_SUBDIR)/readline; \
23482 cd "$(HOST_SUBDIR)/readline" || exit 1; \
23483 case $(srcdir) in \
23484 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23485 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
23486 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23487 esac; \
23488 srcdiroption="--srcdir=$${topdir}/readline"; \
23489 libsrcdir="$$s/readline"; \
23490 $(SHELL) $${libsrcdir}/configure \
23491 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23492 --target=${target_alias} $${srcdiroption} \
23493 || exit 1
23494 @endif readline
23500 .PHONY: all-readline maybe-all-readline
23501 maybe-all-readline:
23502 @if gcc-bootstrap
23503 all-readline: stage_current
23504 @endif gcc-bootstrap
23505 @if readline
23506 TARGET-readline=all
23507 maybe-all-readline: all-readline
23508 all-readline: configure-readline
23509 @: $(MAKE); $(unstage)
23510 @r=`${PWD_COMMAND}`; export r; \
23511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23512 $(HOST_EXPORTS) \
23513 (cd $(HOST_SUBDIR)/readline && \
23514 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
23515 $(TARGET-readline))
23516 @endif readline
23521 .PHONY: check-readline maybe-check-readline
23522 maybe-check-readline:
23523 @if readline
23524 maybe-check-readline: check-readline
23526 check-readline:
23527 @: $(MAKE); $(unstage)
23528 @r=`${PWD_COMMAND}`; export r; \
23529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23530 $(HOST_EXPORTS) \
23531 (cd $(HOST_SUBDIR)/readline && \
23532 $(MAKE) $(FLAGS_TO_PASS) check)
23534 @endif readline
23536 .PHONY: install-readline maybe-install-readline
23537 maybe-install-readline:
23538 @if readline
23539 maybe-install-readline: install-readline
23541 install-readline: installdirs
23542 @: $(MAKE); $(unstage)
23543 @r=`${PWD_COMMAND}`; export r; \
23544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23545 $(HOST_EXPORTS) \
23546 (cd $(HOST_SUBDIR)/readline && \
23547 $(MAKE) $(FLAGS_TO_PASS) install)
23549 @endif readline
23551 .PHONY: install-strip-readline maybe-install-strip-readline
23552 maybe-install-strip-readline:
23553 @if readline
23554 maybe-install-strip-readline: install-strip-readline
23556 install-strip-readline: installdirs
23557 @: $(MAKE); $(unstage)
23558 @r=`${PWD_COMMAND}`; export r; \
23559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23560 $(HOST_EXPORTS) \
23561 (cd $(HOST_SUBDIR)/readline && \
23562 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23564 @endif readline
23566 # Other targets (info, dvi, pdf, etc.)
23568 .PHONY: maybe-info-readline info-readline
23569 maybe-info-readline:
23570 @if readline
23571 maybe-info-readline: info-readline
23573 info-readline: \
23574 configure-readline
23575 @: $(MAKE); $(unstage)
23576 @[ -f ./readline/Makefile ] || exit 0; \
23577 r=`${PWD_COMMAND}`; export r; \
23578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23579 $(HOST_EXPORTS) \
23580 for flag in $(EXTRA_HOST_FLAGS) ; do \
23581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23582 done; \
23583 echo "Doing info in readline" ; \
23584 (cd $(HOST_SUBDIR)/readline && \
23585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23587 "RANLIB=$${RANLIB}" \
23588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23589 info) \
23590 || exit 1
23592 @endif readline
23594 .PHONY: maybe-dvi-readline dvi-readline
23595 maybe-dvi-readline:
23596 @if readline
23597 maybe-dvi-readline: dvi-readline
23599 dvi-readline: \
23600 configure-readline
23601 @: $(MAKE); $(unstage)
23602 @[ -f ./readline/Makefile ] || exit 0; \
23603 r=`${PWD_COMMAND}`; export r; \
23604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23605 $(HOST_EXPORTS) \
23606 for flag in $(EXTRA_HOST_FLAGS) ; do \
23607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23608 done; \
23609 echo "Doing dvi in readline" ; \
23610 (cd $(HOST_SUBDIR)/readline && \
23611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23613 "RANLIB=$${RANLIB}" \
23614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23615 dvi) \
23616 || exit 1
23618 @endif readline
23620 .PHONY: maybe-pdf-readline pdf-readline
23621 maybe-pdf-readline:
23622 @if readline
23623 maybe-pdf-readline: pdf-readline
23625 pdf-readline: \
23626 configure-readline
23627 @: $(MAKE); $(unstage)
23628 @[ -f ./readline/Makefile ] || exit 0; \
23629 r=`${PWD_COMMAND}`; export r; \
23630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23631 $(HOST_EXPORTS) \
23632 for flag in $(EXTRA_HOST_FLAGS) ; do \
23633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23634 done; \
23635 echo "Doing pdf in readline" ; \
23636 (cd $(HOST_SUBDIR)/readline && \
23637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23639 "RANLIB=$${RANLIB}" \
23640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23641 pdf) \
23642 || exit 1
23644 @endif readline
23646 .PHONY: maybe-html-readline html-readline
23647 maybe-html-readline:
23648 @if readline
23649 maybe-html-readline: html-readline
23651 html-readline: \
23652 configure-readline
23653 @: $(MAKE); $(unstage)
23654 @[ -f ./readline/Makefile ] || exit 0; \
23655 r=`${PWD_COMMAND}`; export r; \
23656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23657 $(HOST_EXPORTS) \
23658 for flag in $(EXTRA_HOST_FLAGS) ; do \
23659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23660 done; \
23661 echo "Doing html in readline" ; \
23662 (cd $(HOST_SUBDIR)/readline && \
23663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23665 "RANLIB=$${RANLIB}" \
23666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23667 html) \
23668 || exit 1
23670 @endif readline
23672 .PHONY: maybe-TAGS-readline TAGS-readline
23673 maybe-TAGS-readline:
23674 @if readline
23675 maybe-TAGS-readline: TAGS-readline
23677 TAGS-readline: \
23678 configure-readline
23679 @: $(MAKE); $(unstage)
23680 @[ -f ./readline/Makefile ] || exit 0; \
23681 r=`${PWD_COMMAND}`; export r; \
23682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23683 $(HOST_EXPORTS) \
23684 for flag in $(EXTRA_HOST_FLAGS) ; do \
23685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23686 done; \
23687 echo "Doing TAGS in readline" ; \
23688 (cd $(HOST_SUBDIR)/readline && \
23689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23691 "RANLIB=$${RANLIB}" \
23692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23693 TAGS) \
23694 || exit 1
23696 @endif readline
23698 .PHONY: maybe-install-info-readline install-info-readline
23699 maybe-install-info-readline:
23700 @if readline
23701 maybe-install-info-readline: install-info-readline
23703 install-info-readline: \
23704 configure-readline \
23705 info-readline
23706 @: $(MAKE); $(unstage)
23707 @[ -f ./readline/Makefile ] || exit 0; \
23708 r=`${PWD_COMMAND}`; export r; \
23709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23710 $(HOST_EXPORTS) \
23711 for flag in $(EXTRA_HOST_FLAGS) ; do \
23712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23713 done; \
23714 echo "Doing install-info in readline" ; \
23715 (cd $(HOST_SUBDIR)/readline && \
23716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23718 "RANLIB=$${RANLIB}" \
23719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23720 install-info) \
23721 || exit 1
23723 @endif readline
23725 .PHONY: maybe-install-pdf-readline install-pdf-readline
23726 maybe-install-pdf-readline:
23727 @if readline
23728 maybe-install-pdf-readline: install-pdf-readline
23730 install-pdf-readline: \
23731 configure-readline \
23732 pdf-readline
23733 @: $(MAKE); $(unstage)
23734 @[ -f ./readline/Makefile ] || exit 0; \
23735 r=`${PWD_COMMAND}`; export r; \
23736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23737 $(HOST_EXPORTS) \
23738 for flag in $(EXTRA_HOST_FLAGS) ; do \
23739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23740 done; \
23741 echo "Doing install-pdf in readline" ; \
23742 (cd $(HOST_SUBDIR)/readline && \
23743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23745 "RANLIB=$${RANLIB}" \
23746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23747 install-pdf) \
23748 || exit 1
23750 @endif readline
23752 .PHONY: maybe-install-html-readline install-html-readline
23753 maybe-install-html-readline:
23754 @if readline
23755 maybe-install-html-readline: install-html-readline
23757 install-html-readline: \
23758 configure-readline \
23759 html-readline
23760 @: $(MAKE); $(unstage)
23761 @[ -f ./readline/Makefile ] || exit 0; \
23762 r=`${PWD_COMMAND}`; export r; \
23763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23764 $(HOST_EXPORTS) \
23765 for flag in $(EXTRA_HOST_FLAGS) ; do \
23766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23767 done; \
23768 echo "Doing install-html in readline" ; \
23769 (cd $(HOST_SUBDIR)/readline && \
23770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23772 "RANLIB=$${RANLIB}" \
23773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23774 install-html) \
23775 || exit 1
23777 @endif readline
23779 .PHONY: maybe-installcheck-readline installcheck-readline
23780 maybe-installcheck-readline:
23781 @if readline
23782 maybe-installcheck-readline: installcheck-readline
23784 installcheck-readline: \
23785 configure-readline
23786 @: $(MAKE); $(unstage)
23787 @[ -f ./readline/Makefile ] || exit 0; \
23788 r=`${PWD_COMMAND}`; export r; \
23789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23790 $(HOST_EXPORTS) \
23791 for flag in $(EXTRA_HOST_FLAGS) ; do \
23792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23793 done; \
23794 echo "Doing installcheck in readline" ; \
23795 (cd $(HOST_SUBDIR)/readline && \
23796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23798 "RANLIB=$${RANLIB}" \
23799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23800 installcheck) \
23801 || exit 1
23803 @endif readline
23805 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
23806 maybe-mostlyclean-readline:
23807 @if readline
23808 maybe-mostlyclean-readline: mostlyclean-readline
23810 mostlyclean-readline:
23811 @: $(MAKE); $(unstage)
23812 @[ -f ./readline/Makefile ] || exit 0; \
23813 r=`${PWD_COMMAND}`; export r; \
23814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23815 $(HOST_EXPORTS) \
23816 for flag in $(EXTRA_HOST_FLAGS) ; do \
23817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23818 done; \
23819 echo "Doing mostlyclean in readline" ; \
23820 (cd $(HOST_SUBDIR)/readline && \
23821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23823 "RANLIB=$${RANLIB}" \
23824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23825 mostlyclean) \
23826 || exit 1
23828 @endif readline
23830 .PHONY: maybe-clean-readline clean-readline
23831 maybe-clean-readline:
23832 @if readline
23833 maybe-clean-readline: clean-readline
23835 clean-readline:
23836 @: $(MAKE); $(unstage)
23837 @[ -f ./readline/Makefile ] || exit 0; \
23838 r=`${PWD_COMMAND}`; export r; \
23839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23840 $(HOST_EXPORTS) \
23841 for flag in $(EXTRA_HOST_FLAGS) ; do \
23842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23843 done; \
23844 echo "Doing clean in readline" ; \
23845 (cd $(HOST_SUBDIR)/readline && \
23846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23848 "RANLIB=$${RANLIB}" \
23849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23850 clean) \
23851 || exit 1
23853 @endif readline
23855 .PHONY: maybe-distclean-readline distclean-readline
23856 maybe-distclean-readline:
23857 @if readline
23858 maybe-distclean-readline: distclean-readline
23860 distclean-readline:
23861 @: $(MAKE); $(unstage)
23862 @[ -f ./readline/Makefile ] || exit 0; \
23863 r=`${PWD_COMMAND}`; export r; \
23864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23865 $(HOST_EXPORTS) \
23866 for flag in $(EXTRA_HOST_FLAGS) ; do \
23867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23868 done; \
23869 echo "Doing distclean in readline" ; \
23870 (cd $(HOST_SUBDIR)/readline && \
23871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23873 "RANLIB=$${RANLIB}" \
23874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23875 distclean) \
23876 || exit 1
23878 @endif readline
23880 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
23881 maybe-maintainer-clean-readline:
23882 @if readline
23883 maybe-maintainer-clean-readline: maintainer-clean-readline
23885 maintainer-clean-readline:
23886 @: $(MAKE); $(unstage)
23887 @[ -f ./readline/Makefile ] || exit 0; \
23888 r=`${PWD_COMMAND}`; export r; \
23889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23890 $(HOST_EXPORTS) \
23891 for flag in $(EXTRA_HOST_FLAGS) ; do \
23892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23893 done; \
23894 echo "Doing maintainer-clean in readline" ; \
23895 (cd $(HOST_SUBDIR)/readline && \
23896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23898 "RANLIB=$${RANLIB}" \
23899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23900 maintainer-clean) \
23901 || exit 1
23903 @endif readline
23907 .PHONY: configure-sid maybe-configure-sid
23908 maybe-configure-sid:
23909 @if gcc-bootstrap
23910 configure-sid: stage_current
23911 @endif gcc-bootstrap
23912 @if sid
23913 maybe-configure-sid: configure-sid
23914 configure-sid:
23915 @: $(MAKE); $(unstage)
23916 @r=`${PWD_COMMAND}`; export r; \
23917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23918 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
23919 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
23920 $(HOST_EXPORTS) \
23921 echo Configuring in $(HOST_SUBDIR)/sid; \
23922 cd "$(HOST_SUBDIR)/sid" || exit 1; \
23923 case $(srcdir) in \
23924 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23925 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
23926 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23927 esac; \
23928 srcdiroption="--srcdir=$${topdir}/sid"; \
23929 libsrcdir="$$s/sid"; \
23930 $(SHELL) $${libsrcdir}/configure \
23931 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23932 --target=${target_alias} $${srcdiroption} \
23933 || exit 1
23934 @endif sid
23940 .PHONY: all-sid maybe-all-sid
23941 maybe-all-sid:
23942 @if gcc-bootstrap
23943 all-sid: stage_current
23944 @endif gcc-bootstrap
23945 @if sid
23946 TARGET-sid=all
23947 maybe-all-sid: all-sid
23948 all-sid: configure-sid
23949 @: $(MAKE); $(unstage)
23950 @r=`${PWD_COMMAND}`; export r; \
23951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23952 $(HOST_EXPORTS) \
23953 (cd $(HOST_SUBDIR)/sid && \
23954 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
23955 $(TARGET-sid))
23956 @endif sid
23961 .PHONY: check-sid maybe-check-sid
23962 maybe-check-sid:
23963 @if sid
23964 maybe-check-sid: check-sid
23966 check-sid:
23967 @: $(MAKE); $(unstage)
23968 @r=`${PWD_COMMAND}`; export r; \
23969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23970 $(HOST_EXPORTS) \
23971 (cd $(HOST_SUBDIR)/sid && \
23972 $(MAKE) $(FLAGS_TO_PASS) check)
23974 @endif sid
23976 .PHONY: install-sid maybe-install-sid
23977 maybe-install-sid:
23978 @if sid
23979 maybe-install-sid: install-sid
23981 install-sid: installdirs
23982 @: $(MAKE); $(unstage)
23983 @r=`${PWD_COMMAND}`; export r; \
23984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23985 $(HOST_EXPORTS) \
23986 (cd $(HOST_SUBDIR)/sid && \
23987 $(MAKE) $(FLAGS_TO_PASS) install)
23989 @endif sid
23991 .PHONY: install-strip-sid maybe-install-strip-sid
23992 maybe-install-strip-sid:
23993 @if sid
23994 maybe-install-strip-sid: install-strip-sid
23996 install-strip-sid: installdirs
23997 @: $(MAKE); $(unstage)
23998 @r=`${PWD_COMMAND}`; export r; \
23999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24000 $(HOST_EXPORTS) \
24001 (cd $(HOST_SUBDIR)/sid && \
24002 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24004 @endif sid
24006 # Other targets (info, dvi, pdf, etc.)
24008 .PHONY: maybe-info-sid info-sid
24009 maybe-info-sid:
24010 @if sid
24011 maybe-info-sid: info-sid
24013 info-sid: \
24014 configure-sid
24015 @: $(MAKE); $(unstage)
24016 @[ -f ./sid/Makefile ] || exit 0; \
24017 r=`${PWD_COMMAND}`; export r; \
24018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24019 $(HOST_EXPORTS) \
24020 for flag in $(EXTRA_HOST_FLAGS) ; do \
24021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24022 done; \
24023 echo "Doing info in sid" ; \
24024 (cd $(HOST_SUBDIR)/sid && \
24025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24027 "RANLIB=$${RANLIB}" \
24028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24029 info) \
24030 || exit 1
24032 @endif sid
24034 .PHONY: maybe-dvi-sid dvi-sid
24035 maybe-dvi-sid:
24036 @if sid
24037 maybe-dvi-sid: dvi-sid
24039 dvi-sid: \
24040 configure-sid
24041 @: $(MAKE); $(unstage)
24042 @[ -f ./sid/Makefile ] || exit 0; \
24043 r=`${PWD_COMMAND}`; export r; \
24044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24045 $(HOST_EXPORTS) \
24046 for flag in $(EXTRA_HOST_FLAGS) ; do \
24047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24048 done; \
24049 echo "Doing dvi in sid" ; \
24050 (cd $(HOST_SUBDIR)/sid && \
24051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24053 "RANLIB=$${RANLIB}" \
24054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24055 dvi) \
24056 || exit 1
24058 @endif sid
24060 .PHONY: maybe-pdf-sid pdf-sid
24061 maybe-pdf-sid:
24062 @if sid
24063 maybe-pdf-sid: pdf-sid
24065 pdf-sid: \
24066 configure-sid
24067 @: $(MAKE); $(unstage)
24068 @[ -f ./sid/Makefile ] || exit 0; \
24069 r=`${PWD_COMMAND}`; export r; \
24070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24071 $(HOST_EXPORTS) \
24072 for flag in $(EXTRA_HOST_FLAGS) ; do \
24073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24074 done; \
24075 echo "Doing pdf in sid" ; \
24076 (cd $(HOST_SUBDIR)/sid && \
24077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24079 "RANLIB=$${RANLIB}" \
24080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24081 pdf) \
24082 || exit 1
24084 @endif sid
24086 .PHONY: maybe-html-sid html-sid
24087 maybe-html-sid:
24088 @if sid
24089 maybe-html-sid: html-sid
24091 html-sid: \
24092 configure-sid
24093 @: $(MAKE); $(unstage)
24094 @[ -f ./sid/Makefile ] || exit 0; \
24095 r=`${PWD_COMMAND}`; export r; \
24096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24097 $(HOST_EXPORTS) \
24098 for flag in $(EXTRA_HOST_FLAGS) ; do \
24099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24100 done; \
24101 echo "Doing html in sid" ; \
24102 (cd $(HOST_SUBDIR)/sid && \
24103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24105 "RANLIB=$${RANLIB}" \
24106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24107 html) \
24108 || exit 1
24110 @endif sid
24112 .PHONY: maybe-TAGS-sid TAGS-sid
24113 maybe-TAGS-sid:
24114 @if sid
24115 maybe-TAGS-sid: TAGS-sid
24117 TAGS-sid: \
24118 configure-sid
24119 @: $(MAKE); $(unstage)
24120 @[ -f ./sid/Makefile ] || exit 0; \
24121 r=`${PWD_COMMAND}`; export r; \
24122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24123 $(HOST_EXPORTS) \
24124 for flag in $(EXTRA_HOST_FLAGS) ; do \
24125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24126 done; \
24127 echo "Doing TAGS in sid" ; \
24128 (cd $(HOST_SUBDIR)/sid && \
24129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24131 "RANLIB=$${RANLIB}" \
24132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24133 TAGS) \
24134 || exit 1
24136 @endif sid
24138 .PHONY: maybe-install-info-sid install-info-sid
24139 maybe-install-info-sid:
24140 @if sid
24141 maybe-install-info-sid: install-info-sid
24143 install-info-sid: \
24144 configure-sid \
24145 info-sid
24146 @: $(MAKE); $(unstage)
24147 @[ -f ./sid/Makefile ] || exit 0; \
24148 r=`${PWD_COMMAND}`; export r; \
24149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24150 $(HOST_EXPORTS) \
24151 for flag in $(EXTRA_HOST_FLAGS) ; do \
24152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24153 done; \
24154 echo "Doing install-info in sid" ; \
24155 (cd $(HOST_SUBDIR)/sid && \
24156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24158 "RANLIB=$${RANLIB}" \
24159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24160 install-info) \
24161 || exit 1
24163 @endif sid
24165 .PHONY: maybe-install-pdf-sid install-pdf-sid
24166 maybe-install-pdf-sid:
24167 @if sid
24168 maybe-install-pdf-sid: install-pdf-sid
24170 install-pdf-sid: \
24171 configure-sid \
24172 pdf-sid
24173 @: $(MAKE); $(unstage)
24174 @[ -f ./sid/Makefile ] || exit 0; \
24175 r=`${PWD_COMMAND}`; export r; \
24176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24177 $(HOST_EXPORTS) \
24178 for flag in $(EXTRA_HOST_FLAGS) ; do \
24179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24180 done; \
24181 echo "Doing install-pdf in sid" ; \
24182 (cd $(HOST_SUBDIR)/sid && \
24183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24185 "RANLIB=$${RANLIB}" \
24186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24187 install-pdf) \
24188 || exit 1
24190 @endif sid
24192 .PHONY: maybe-install-html-sid install-html-sid
24193 maybe-install-html-sid:
24194 @if sid
24195 maybe-install-html-sid: install-html-sid
24197 install-html-sid: \
24198 configure-sid \
24199 html-sid
24200 @: $(MAKE); $(unstage)
24201 @[ -f ./sid/Makefile ] || exit 0; \
24202 r=`${PWD_COMMAND}`; export r; \
24203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24204 $(HOST_EXPORTS) \
24205 for flag in $(EXTRA_HOST_FLAGS) ; do \
24206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24207 done; \
24208 echo "Doing install-html in sid" ; \
24209 (cd $(HOST_SUBDIR)/sid && \
24210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24212 "RANLIB=$${RANLIB}" \
24213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24214 install-html) \
24215 || exit 1
24217 @endif sid
24219 .PHONY: maybe-installcheck-sid installcheck-sid
24220 maybe-installcheck-sid:
24221 @if sid
24222 maybe-installcheck-sid: installcheck-sid
24224 installcheck-sid: \
24225 configure-sid
24226 @: $(MAKE); $(unstage)
24227 @[ -f ./sid/Makefile ] || exit 0; \
24228 r=`${PWD_COMMAND}`; export r; \
24229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24230 $(HOST_EXPORTS) \
24231 for flag in $(EXTRA_HOST_FLAGS) ; do \
24232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24233 done; \
24234 echo "Doing installcheck in sid" ; \
24235 (cd $(HOST_SUBDIR)/sid && \
24236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24238 "RANLIB=$${RANLIB}" \
24239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24240 installcheck) \
24241 || exit 1
24243 @endif sid
24245 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
24246 maybe-mostlyclean-sid:
24247 @if sid
24248 maybe-mostlyclean-sid: mostlyclean-sid
24250 mostlyclean-sid:
24251 @: $(MAKE); $(unstage)
24252 @[ -f ./sid/Makefile ] || exit 0; \
24253 r=`${PWD_COMMAND}`; export r; \
24254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24255 $(HOST_EXPORTS) \
24256 for flag in $(EXTRA_HOST_FLAGS) ; do \
24257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24258 done; \
24259 echo "Doing mostlyclean in sid" ; \
24260 (cd $(HOST_SUBDIR)/sid && \
24261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24263 "RANLIB=$${RANLIB}" \
24264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24265 mostlyclean) \
24266 || exit 1
24268 @endif sid
24270 .PHONY: maybe-clean-sid clean-sid
24271 maybe-clean-sid:
24272 @if sid
24273 maybe-clean-sid: clean-sid
24275 clean-sid:
24276 @: $(MAKE); $(unstage)
24277 @[ -f ./sid/Makefile ] || exit 0; \
24278 r=`${PWD_COMMAND}`; export r; \
24279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24280 $(HOST_EXPORTS) \
24281 for flag in $(EXTRA_HOST_FLAGS) ; do \
24282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24283 done; \
24284 echo "Doing clean in sid" ; \
24285 (cd $(HOST_SUBDIR)/sid && \
24286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24288 "RANLIB=$${RANLIB}" \
24289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24290 clean) \
24291 || exit 1
24293 @endif sid
24295 .PHONY: maybe-distclean-sid distclean-sid
24296 maybe-distclean-sid:
24297 @if sid
24298 maybe-distclean-sid: distclean-sid
24300 distclean-sid:
24301 @: $(MAKE); $(unstage)
24302 @[ -f ./sid/Makefile ] || exit 0; \
24303 r=`${PWD_COMMAND}`; export r; \
24304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24305 $(HOST_EXPORTS) \
24306 for flag in $(EXTRA_HOST_FLAGS) ; do \
24307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24308 done; \
24309 echo "Doing distclean in sid" ; \
24310 (cd $(HOST_SUBDIR)/sid && \
24311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24313 "RANLIB=$${RANLIB}" \
24314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24315 distclean) \
24316 || exit 1
24318 @endif sid
24320 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
24321 maybe-maintainer-clean-sid:
24322 @if sid
24323 maybe-maintainer-clean-sid: maintainer-clean-sid
24325 maintainer-clean-sid:
24326 @: $(MAKE); $(unstage)
24327 @[ -f ./sid/Makefile ] || exit 0; \
24328 r=`${PWD_COMMAND}`; export r; \
24329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24330 $(HOST_EXPORTS) \
24331 for flag in $(EXTRA_HOST_FLAGS) ; do \
24332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24333 done; \
24334 echo "Doing maintainer-clean in sid" ; \
24335 (cd $(HOST_SUBDIR)/sid && \
24336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24338 "RANLIB=$${RANLIB}" \
24339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24340 maintainer-clean) \
24341 || exit 1
24343 @endif sid
24347 .PHONY: configure-sim maybe-configure-sim
24348 maybe-configure-sim:
24349 @if gcc-bootstrap
24350 configure-sim: stage_current
24351 @endif gcc-bootstrap
24352 @if sim
24353 maybe-configure-sim: configure-sim
24354 configure-sim:
24355 @: $(MAKE); $(unstage)
24356 @r=`${PWD_COMMAND}`; export r; \
24357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24358 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
24359 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
24360 $(HOST_EXPORTS) \
24361 echo Configuring in $(HOST_SUBDIR)/sim; \
24362 cd "$(HOST_SUBDIR)/sim" || exit 1; \
24363 case $(srcdir) in \
24364 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24365 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
24366 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24367 esac; \
24368 srcdiroption="--srcdir=$${topdir}/sim"; \
24369 libsrcdir="$$s/sim"; \
24370 $(SHELL) $${libsrcdir}/configure \
24371 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24372 --target=${target_alias} $${srcdiroption} \
24373 || exit 1
24374 @endif sim
24380 .PHONY: all-sim maybe-all-sim
24381 maybe-all-sim:
24382 @if gcc-bootstrap
24383 all-sim: stage_current
24384 @endif gcc-bootstrap
24385 @if sim
24386 TARGET-sim=all
24387 maybe-all-sim: all-sim
24388 all-sim: configure-sim
24389 @: $(MAKE); $(unstage)
24390 @r=`${PWD_COMMAND}`; export r; \
24391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24392 $(HOST_EXPORTS) \
24393 (cd $(HOST_SUBDIR)/sim && \
24394 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
24395 $(TARGET-sim))
24396 @endif sim
24401 .PHONY: check-sim maybe-check-sim
24402 maybe-check-sim:
24403 @if sim
24404 maybe-check-sim: check-sim
24406 check-sim:
24407 @: $(MAKE); $(unstage)
24408 @r=`${PWD_COMMAND}`; export r; \
24409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24410 $(HOST_EXPORTS) \
24411 (cd $(HOST_SUBDIR)/sim && \
24412 $(MAKE) $(FLAGS_TO_PASS) check)
24414 @endif sim
24416 .PHONY: install-sim maybe-install-sim
24417 maybe-install-sim:
24418 @if sim
24419 maybe-install-sim: install-sim
24421 install-sim: installdirs
24422 @: $(MAKE); $(unstage)
24423 @r=`${PWD_COMMAND}`; export r; \
24424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24425 $(HOST_EXPORTS) \
24426 (cd $(HOST_SUBDIR)/sim && \
24427 $(MAKE) $(FLAGS_TO_PASS) install)
24429 @endif sim
24431 .PHONY: install-strip-sim maybe-install-strip-sim
24432 maybe-install-strip-sim:
24433 @if sim
24434 maybe-install-strip-sim: install-strip-sim
24436 install-strip-sim: installdirs
24437 @: $(MAKE); $(unstage)
24438 @r=`${PWD_COMMAND}`; export r; \
24439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24440 $(HOST_EXPORTS) \
24441 (cd $(HOST_SUBDIR)/sim && \
24442 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24444 @endif sim
24446 # Other targets (info, dvi, pdf, etc.)
24448 .PHONY: maybe-info-sim info-sim
24449 maybe-info-sim:
24450 @if sim
24451 maybe-info-sim: info-sim
24453 info-sim: \
24454 configure-sim
24455 @: $(MAKE); $(unstage)
24456 @[ -f ./sim/Makefile ] || exit 0; \
24457 r=`${PWD_COMMAND}`; export r; \
24458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24459 $(HOST_EXPORTS) \
24460 for flag in $(EXTRA_HOST_FLAGS) ; do \
24461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24462 done; \
24463 echo "Doing info in sim" ; \
24464 (cd $(HOST_SUBDIR)/sim && \
24465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24467 "RANLIB=$${RANLIB}" \
24468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24469 info) \
24470 || exit 1
24472 @endif sim
24474 .PHONY: maybe-dvi-sim dvi-sim
24475 maybe-dvi-sim:
24476 @if sim
24477 maybe-dvi-sim: dvi-sim
24479 dvi-sim: \
24480 configure-sim
24481 @: $(MAKE); $(unstage)
24482 @[ -f ./sim/Makefile ] || exit 0; \
24483 r=`${PWD_COMMAND}`; export r; \
24484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24485 $(HOST_EXPORTS) \
24486 for flag in $(EXTRA_HOST_FLAGS) ; do \
24487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24488 done; \
24489 echo "Doing dvi in sim" ; \
24490 (cd $(HOST_SUBDIR)/sim && \
24491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24493 "RANLIB=$${RANLIB}" \
24494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24495 dvi) \
24496 || exit 1
24498 @endif sim
24500 .PHONY: maybe-pdf-sim pdf-sim
24501 maybe-pdf-sim:
24502 @if sim
24503 maybe-pdf-sim: pdf-sim
24505 pdf-sim: \
24506 configure-sim
24507 @: $(MAKE); $(unstage)
24508 @[ -f ./sim/Makefile ] || exit 0; \
24509 r=`${PWD_COMMAND}`; export r; \
24510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24511 $(HOST_EXPORTS) \
24512 for flag in $(EXTRA_HOST_FLAGS) ; do \
24513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24514 done; \
24515 echo "Doing pdf in sim" ; \
24516 (cd $(HOST_SUBDIR)/sim && \
24517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24519 "RANLIB=$${RANLIB}" \
24520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24521 pdf) \
24522 || exit 1
24524 @endif sim
24526 .PHONY: maybe-html-sim html-sim
24527 maybe-html-sim:
24528 @if sim
24529 maybe-html-sim: html-sim
24531 html-sim: \
24532 configure-sim
24533 @: $(MAKE); $(unstage)
24534 @[ -f ./sim/Makefile ] || exit 0; \
24535 r=`${PWD_COMMAND}`; export r; \
24536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24537 $(HOST_EXPORTS) \
24538 for flag in $(EXTRA_HOST_FLAGS) ; do \
24539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24540 done; \
24541 echo "Doing html in sim" ; \
24542 (cd $(HOST_SUBDIR)/sim && \
24543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24545 "RANLIB=$${RANLIB}" \
24546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24547 html) \
24548 || exit 1
24550 @endif sim
24552 .PHONY: maybe-TAGS-sim TAGS-sim
24553 maybe-TAGS-sim:
24554 @if sim
24555 maybe-TAGS-sim: TAGS-sim
24557 TAGS-sim: \
24558 configure-sim
24559 @: $(MAKE); $(unstage)
24560 @[ -f ./sim/Makefile ] || exit 0; \
24561 r=`${PWD_COMMAND}`; export r; \
24562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24563 $(HOST_EXPORTS) \
24564 for flag in $(EXTRA_HOST_FLAGS) ; do \
24565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24566 done; \
24567 echo "Doing TAGS in sim" ; \
24568 (cd $(HOST_SUBDIR)/sim && \
24569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24571 "RANLIB=$${RANLIB}" \
24572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24573 TAGS) \
24574 || exit 1
24576 @endif sim
24578 .PHONY: maybe-install-info-sim install-info-sim
24579 maybe-install-info-sim:
24580 @if sim
24581 maybe-install-info-sim: install-info-sim
24583 install-info-sim: \
24584 configure-sim \
24585 info-sim
24586 @: $(MAKE); $(unstage)
24587 @[ -f ./sim/Makefile ] || exit 0; \
24588 r=`${PWD_COMMAND}`; export r; \
24589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24590 $(HOST_EXPORTS) \
24591 for flag in $(EXTRA_HOST_FLAGS) ; do \
24592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24593 done; \
24594 echo "Doing install-info in sim" ; \
24595 (cd $(HOST_SUBDIR)/sim && \
24596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24598 "RANLIB=$${RANLIB}" \
24599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24600 install-info) \
24601 || exit 1
24603 @endif sim
24605 .PHONY: maybe-install-pdf-sim install-pdf-sim
24606 maybe-install-pdf-sim:
24607 @if sim
24608 maybe-install-pdf-sim: install-pdf-sim
24610 install-pdf-sim: \
24611 configure-sim \
24612 pdf-sim
24613 @: $(MAKE); $(unstage)
24614 @[ -f ./sim/Makefile ] || exit 0; \
24615 r=`${PWD_COMMAND}`; export r; \
24616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24617 $(HOST_EXPORTS) \
24618 for flag in $(EXTRA_HOST_FLAGS) ; do \
24619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24620 done; \
24621 echo "Doing install-pdf in sim" ; \
24622 (cd $(HOST_SUBDIR)/sim && \
24623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24625 "RANLIB=$${RANLIB}" \
24626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24627 install-pdf) \
24628 || exit 1
24630 @endif sim
24632 .PHONY: maybe-install-html-sim install-html-sim
24633 maybe-install-html-sim:
24634 @if sim
24635 maybe-install-html-sim: install-html-sim
24637 install-html-sim: \
24638 configure-sim \
24639 html-sim
24640 @: $(MAKE); $(unstage)
24641 @[ -f ./sim/Makefile ] || exit 0; \
24642 r=`${PWD_COMMAND}`; export r; \
24643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24644 $(HOST_EXPORTS) \
24645 for flag in $(EXTRA_HOST_FLAGS) ; do \
24646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24647 done; \
24648 echo "Doing install-html in sim" ; \
24649 (cd $(HOST_SUBDIR)/sim && \
24650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24652 "RANLIB=$${RANLIB}" \
24653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24654 install-html) \
24655 || exit 1
24657 @endif sim
24659 .PHONY: maybe-installcheck-sim installcheck-sim
24660 maybe-installcheck-sim:
24661 @if sim
24662 maybe-installcheck-sim: installcheck-sim
24664 installcheck-sim: \
24665 configure-sim
24666 @: $(MAKE); $(unstage)
24667 @[ -f ./sim/Makefile ] || exit 0; \
24668 r=`${PWD_COMMAND}`; export r; \
24669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24670 $(HOST_EXPORTS) \
24671 for flag in $(EXTRA_HOST_FLAGS) ; do \
24672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24673 done; \
24674 echo "Doing installcheck in sim" ; \
24675 (cd $(HOST_SUBDIR)/sim && \
24676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24678 "RANLIB=$${RANLIB}" \
24679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24680 installcheck) \
24681 || exit 1
24683 @endif sim
24685 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
24686 maybe-mostlyclean-sim:
24687 @if sim
24688 maybe-mostlyclean-sim: mostlyclean-sim
24690 mostlyclean-sim:
24691 @: $(MAKE); $(unstage)
24692 @[ -f ./sim/Makefile ] || exit 0; \
24693 r=`${PWD_COMMAND}`; export r; \
24694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24695 $(HOST_EXPORTS) \
24696 for flag in $(EXTRA_HOST_FLAGS) ; do \
24697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24698 done; \
24699 echo "Doing mostlyclean in sim" ; \
24700 (cd $(HOST_SUBDIR)/sim && \
24701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24703 "RANLIB=$${RANLIB}" \
24704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24705 mostlyclean) \
24706 || exit 1
24708 @endif sim
24710 .PHONY: maybe-clean-sim clean-sim
24711 maybe-clean-sim:
24712 @if sim
24713 maybe-clean-sim: clean-sim
24715 clean-sim:
24716 @: $(MAKE); $(unstage)
24717 @[ -f ./sim/Makefile ] || exit 0; \
24718 r=`${PWD_COMMAND}`; export r; \
24719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24720 $(HOST_EXPORTS) \
24721 for flag in $(EXTRA_HOST_FLAGS) ; do \
24722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24723 done; \
24724 echo "Doing clean in sim" ; \
24725 (cd $(HOST_SUBDIR)/sim && \
24726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24728 "RANLIB=$${RANLIB}" \
24729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24730 clean) \
24731 || exit 1
24733 @endif sim
24735 .PHONY: maybe-distclean-sim distclean-sim
24736 maybe-distclean-sim:
24737 @if sim
24738 maybe-distclean-sim: distclean-sim
24740 distclean-sim:
24741 @: $(MAKE); $(unstage)
24742 @[ -f ./sim/Makefile ] || exit 0; \
24743 r=`${PWD_COMMAND}`; export r; \
24744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24745 $(HOST_EXPORTS) \
24746 for flag in $(EXTRA_HOST_FLAGS) ; do \
24747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24748 done; \
24749 echo "Doing distclean in sim" ; \
24750 (cd $(HOST_SUBDIR)/sim && \
24751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24753 "RANLIB=$${RANLIB}" \
24754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24755 distclean) \
24756 || exit 1
24758 @endif sim
24760 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
24761 maybe-maintainer-clean-sim:
24762 @if sim
24763 maybe-maintainer-clean-sim: maintainer-clean-sim
24765 maintainer-clean-sim:
24766 @: $(MAKE); $(unstage)
24767 @[ -f ./sim/Makefile ] || exit 0; \
24768 r=`${PWD_COMMAND}`; export r; \
24769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24770 $(HOST_EXPORTS) \
24771 for flag in $(EXTRA_HOST_FLAGS) ; do \
24772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24773 done; \
24774 echo "Doing maintainer-clean in sim" ; \
24775 (cd $(HOST_SUBDIR)/sim && \
24776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24778 "RANLIB=$${RANLIB}" \
24779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24780 maintainer-clean) \
24781 || exit 1
24783 @endif sim
24787 .PHONY: configure-texinfo maybe-configure-texinfo
24788 maybe-configure-texinfo:
24789 @if gcc-bootstrap
24790 configure-texinfo: stage_current
24791 @endif gcc-bootstrap
24792 @if texinfo
24793 maybe-configure-texinfo: configure-texinfo
24794 configure-texinfo:
24795 @: $(MAKE); $(unstage)
24796 @r=`${PWD_COMMAND}`; export r; \
24797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24798 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
24799 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
24800 $(HOST_EXPORTS) \
24801 echo Configuring in $(HOST_SUBDIR)/texinfo; \
24802 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
24803 case $(srcdir) in \
24804 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24805 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
24806 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24807 esac; \
24808 srcdiroption="--srcdir=$${topdir}/texinfo"; \
24809 libsrcdir="$$s/texinfo"; \
24810 $(SHELL) $${libsrcdir}/configure \
24811 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24812 --target=${target_alias} $${srcdiroption} \
24813 || exit 1
24814 @endif texinfo
24820 .PHONY: all-texinfo maybe-all-texinfo
24821 maybe-all-texinfo:
24822 @if gcc-bootstrap
24823 all-texinfo: stage_current
24824 @endif gcc-bootstrap
24825 @if texinfo
24826 TARGET-texinfo=all
24827 maybe-all-texinfo: all-texinfo
24828 all-texinfo: configure-texinfo
24829 @: $(MAKE); $(unstage)
24830 @r=`${PWD_COMMAND}`; export r; \
24831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24832 $(HOST_EXPORTS) \
24833 (cd $(HOST_SUBDIR)/texinfo && \
24834 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
24835 $(TARGET-texinfo))
24836 @endif texinfo
24841 .PHONY: check-texinfo maybe-check-texinfo
24842 maybe-check-texinfo:
24843 @if texinfo
24844 maybe-check-texinfo: check-texinfo
24846 check-texinfo:
24847 @: $(MAKE); $(unstage)
24848 @r=`${PWD_COMMAND}`; export r; \
24849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24850 $(HOST_EXPORTS) \
24851 (cd $(HOST_SUBDIR)/texinfo && \
24852 $(MAKE) $(FLAGS_TO_PASS) check)
24854 @endif texinfo
24856 .PHONY: install-texinfo maybe-install-texinfo
24857 maybe-install-texinfo:
24858 @if texinfo
24859 maybe-install-texinfo: install-texinfo
24861 install-texinfo:
24863 @endif texinfo
24865 .PHONY: install-strip-texinfo maybe-install-strip-texinfo
24866 maybe-install-strip-texinfo:
24867 @if texinfo
24868 maybe-install-strip-texinfo: install-strip-texinfo
24870 install-strip-texinfo:
24872 @endif texinfo
24874 # Other targets (info, dvi, pdf, etc.)
24876 .PHONY: maybe-info-texinfo info-texinfo
24877 maybe-info-texinfo:
24878 @if texinfo
24879 maybe-info-texinfo: info-texinfo
24881 info-texinfo: \
24882 configure-texinfo
24883 @: $(MAKE); $(unstage)
24884 @[ -f ./texinfo/Makefile ] || exit 0; \
24885 r=`${PWD_COMMAND}`; export r; \
24886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24887 $(HOST_EXPORTS) \
24888 for flag in $(EXTRA_HOST_FLAGS) ; do \
24889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24890 done; \
24891 echo "Doing info in texinfo" ; \
24892 (cd $(HOST_SUBDIR)/texinfo && \
24893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24895 "RANLIB=$${RANLIB}" \
24896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24897 info) \
24898 || exit 1
24900 @endif texinfo
24902 .PHONY: maybe-dvi-texinfo dvi-texinfo
24903 maybe-dvi-texinfo:
24904 @if texinfo
24905 maybe-dvi-texinfo: dvi-texinfo
24907 dvi-texinfo: \
24908 configure-texinfo
24909 @: $(MAKE); $(unstage)
24910 @[ -f ./texinfo/Makefile ] || exit 0; \
24911 r=`${PWD_COMMAND}`; export r; \
24912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24913 $(HOST_EXPORTS) \
24914 for flag in $(EXTRA_HOST_FLAGS) ; do \
24915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24916 done; \
24917 echo "Doing dvi in texinfo" ; \
24918 (cd $(HOST_SUBDIR)/texinfo && \
24919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24921 "RANLIB=$${RANLIB}" \
24922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24923 dvi) \
24924 || exit 1
24926 @endif texinfo
24928 .PHONY: maybe-pdf-texinfo pdf-texinfo
24929 maybe-pdf-texinfo:
24930 @if texinfo
24931 maybe-pdf-texinfo: pdf-texinfo
24933 pdf-texinfo: \
24934 configure-texinfo
24935 @: $(MAKE); $(unstage)
24936 @[ -f ./texinfo/Makefile ] || exit 0; \
24937 r=`${PWD_COMMAND}`; export r; \
24938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24939 $(HOST_EXPORTS) \
24940 for flag in $(EXTRA_HOST_FLAGS) ; do \
24941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24942 done; \
24943 echo "Doing pdf in texinfo" ; \
24944 (cd $(HOST_SUBDIR)/texinfo && \
24945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24947 "RANLIB=$${RANLIB}" \
24948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24949 pdf) \
24950 || exit 1
24952 @endif texinfo
24954 .PHONY: maybe-html-texinfo html-texinfo
24955 maybe-html-texinfo:
24956 @if texinfo
24957 maybe-html-texinfo: html-texinfo
24959 html-texinfo: \
24960 configure-texinfo
24961 @: $(MAKE); $(unstage)
24962 @[ -f ./texinfo/Makefile ] || exit 0; \
24963 r=`${PWD_COMMAND}`; export r; \
24964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24965 $(HOST_EXPORTS) \
24966 for flag in $(EXTRA_HOST_FLAGS) ; do \
24967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24968 done; \
24969 echo "Doing html in texinfo" ; \
24970 (cd $(HOST_SUBDIR)/texinfo && \
24971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24973 "RANLIB=$${RANLIB}" \
24974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24975 html) \
24976 || exit 1
24978 @endif texinfo
24980 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
24981 maybe-TAGS-texinfo:
24982 @if texinfo
24983 maybe-TAGS-texinfo: TAGS-texinfo
24985 TAGS-texinfo: \
24986 configure-texinfo
24987 @: $(MAKE); $(unstage)
24988 @[ -f ./texinfo/Makefile ] || exit 0; \
24989 r=`${PWD_COMMAND}`; export r; \
24990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24991 $(HOST_EXPORTS) \
24992 for flag in $(EXTRA_HOST_FLAGS) ; do \
24993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24994 done; \
24995 echo "Doing TAGS in texinfo" ; \
24996 (cd $(HOST_SUBDIR)/texinfo && \
24997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24999 "RANLIB=$${RANLIB}" \
25000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25001 TAGS) \
25002 || exit 1
25004 @endif texinfo
25006 .PHONY: maybe-install-info-texinfo install-info-texinfo
25007 maybe-install-info-texinfo:
25008 @if texinfo
25009 maybe-install-info-texinfo: install-info-texinfo
25011 install-info-texinfo: \
25012 configure-texinfo \
25013 info-texinfo
25014 @: $(MAKE); $(unstage)
25015 @[ -f ./texinfo/Makefile ] || exit 0; \
25016 r=`${PWD_COMMAND}`; export r; \
25017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25018 $(HOST_EXPORTS) \
25019 for flag in $(EXTRA_HOST_FLAGS) ; do \
25020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25021 done; \
25022 echo "Doing install-info in texinfo" ; \
25023 (cd $(HOST_SUBDIR)/texinfo && \
25024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25026 "RANLIB=$${RANLIB}" \
25027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25028 install-info) \
25029 || exit 1
25031 @endif texinfo
25033 .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo
25034 maybe-install-pdf-texinfo:
25035 @if texinfo
25036 maybe-install-pdf-texinfo: install-pdf-texinfo
25038 install-pdf-texinfo: \
25039 configure-texinfo \
25040 pdf-texinfo
25041 @: $(MAKE); $(unstage)
25042 @[ -f ./texinfo/Makefile ] || exit 0; \
25043 r=`${PWD_COMMAND}`; export r; \
25044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25045 $(HOST_EXPORTS) \
25046 for flag in $(EXTRA_HOST_FLAGS) ; do \
25047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25048 done; \
25049 echo "Doing install-pdf in texinfo" ; \
25050 (cd $(HOST_SUBDIR)/texinfo && \
25051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25053 "RANLIB=$${RANLIB}" \
25054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25055 install-pdf) \
25056 || exit 1
25058 @endif texinfo
25060 .PHONY: maybe-install-html-texinfo install-html-texinfo
25061 maybe-install-html-texinfo:
25062 @if texinfo
25063 maybe-install-html-texinfo: install-html-texinfo
25065 install-html-texinfo: \
25066 configure-texinfo \
25067 html-texinfo
25068 @: $(MAKE); $(unstage)
25069 @[ -f ./texinfo/Makefile ] || exit 0; \
25070 r=`${PWD_COMMAND}`; export r; \
25071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25072 $(HOST_EXPORTS) \
25073 for flag in $(EXTRA_HOST_FLAGS) ; do \
25074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25075 done; \
25076 echo "Doing install-html in texinfo" ; \
25077 (cd $(HOST_SUBDIR)/texinfo && \
25078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25080 "RANLIB=$${RANLIB}" \
25081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25082 install-html) \
25083 || exit 1
25085 @endif texinfo
25087 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
25088 maybe-installcheck-texinfo:
25089 @if texinfo
25090 maybe-installcheck-texinfo: installcheck-texinfo
25092 installcheck-texinfo: \
25093 configure-texinfo
25094 @: $(MAKE); $(unstage)
25095 @[ -f ./texinfo/Makefile ] || exit 0; \
25096 r=`${PWD_COMMAND}`; export r; \
25097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25098 $(HOST_EXPORTS) \
25099 for flag in $(EXTRA_HOST_FLAGS) ; do \
25100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25101 done; \
25102 echo "Doing installcheck in texinfo" ; \
25103 (cd $(HOST_SUBDIR)/texinfo && \
25104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25106 "RANLIB=$${RANLIB}" \
25107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25108 installcheck) \
25109 || exit 1
25111 @endif texinfo
25113 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
25114 maybe-mostlyclean-texinfo:
25115 @if texinfo
25116 maybe-mostlyclean-texinfo: mostlyclean-texinfo
25118 mostlyclean-texinfo:
25119 @: $(MAKE); $(unstage)
25120 @[ -f ./texinfo/Makefile ] || exit 0; \
25121 r=`${PWD_COMMAND}`; export r; \
25122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25123 $(HOST_EXPORTS) \
25124 for flag in $(EXTRA_HOST_FLAGS) ; do \
25125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25126 done; \
25127 echo "Doing mostlyclean in texinfo" ; \
25128 (cd $(HOST_SUBDIR)/texinfo && \
25129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25131 "RANLIB=$${RANLIB}" \
25132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25133 mostlyclean) \
25134 || exit 1
25136 @endif texinfo
25138 .PHONY: maybe-clean-texinfo clean-texinfo
25139 maybe-clean-texinfo:
25140 @if texinfo
25141 maybe-clean-texinfo: clean-texinfo
25143 clean-texinfo:
25144 @: $(MAKE); $(unstage)
25145 @[ -f ./texinfo/Makefile ] || exit 0; \
25146 r=`${PWD_COMMAND}`; export r; \
25147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25148 $(HOST_EXPORTS) \
25149 for flag in $(EXTRA_HOST_FLAGS) ; do \
25150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25151 done; \
25152 echo "Doing clean in texinfo" ; \
25153 (cd $(HOST_SUBDIR)/texinfo && \
25154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25156 "RANLIB=$${RANLIB}" \
25157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25158 clean) \
25159 || exit 1
25161 @endif texinfo
25163 .PHONY: maybe-distclean-texinfo distclean-texinfo
25164 maybe-distclean-texinfo:
25165 @if texinfo
25166 maybe-distclean-texinfo: distclean-texinfo
25168 distclean-texinfo:
25169 @: $(MAKE); $(unstage)
25170 @[ -f ./texinfo/Makefile ] || exit 0; \
25171 r=`${PWD_COMMAND}`; export r; \
25172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25173 $(HOST_EXPORTS) \
25174 for flag in $(EXTRA_HOST_FLAGS) ; do \
25175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25176 done; \
25177 echo "Doing distclean in texinfo" ; \
25178 (cd $(HOST_SUBDIR)/texinfo && \
25179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25181 "RANLIB=$${RANLIB}" \
25182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25183 distclean) \
25184 || exit 1
25186 @endif texinfo
25188 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
25189 maybe-maintainer-clean-texinfo:
25190 @if texinfo
25191 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
25193 maintainer-clean-texinfo:
25194 @: $(MAKE); $(unstage)
25195 @[ -f ./texinfo/Makefile ] || exit 0; \
25196 r=`${PWD_COMMAND}`; export r; \
25197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25198 $(HOST_EXPORTS) \
25199 for flag in $(EXTRA_HOST_FLAGS) ; do \
25200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25201 done; \
25202 echo "Doing maintainer-clean in texinfo" ; \
25203 (cd $(HOST_SUBDIR)/texinfo && \
25204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25206 "RANLIB=$${RANLIB}" \
25207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25208 maintainer-clean) \
25209 || exit 1
25211 @endif texinfo
25215 .PHONY: configure-zlib maybe-configure-zlib
25216 maybe-configure-zlib:
25217 @if gcc-bootstrap
25218 configure-zlib: stage_current
25219 @endif gcc-bootstrap
25220 @if zlib
25221 maybe-configure-zlib: configure-zlib
25222 configure-zlib:
25223 @r=`${PWD_COMMAND}`; export r; \
25224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25225 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25226 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25227 $(HOST_EXPORTS) \
25228 echo Configuring in $(HOST_SUBDIR)/zlib; \
25229 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
25230 case $(srcdir) in \
25231 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25232 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25233 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25234 esac; \
25235 srcdiroption="--srcdir=$${topdir}/zlib"; \
25236 libsrcdir="$$s/zlib"; \
25237 $(SHELL) $${libsrcdir}/configure \
25238 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25239 --target=${target_alias} $${srcdiroption} \
25240 || exit 1
25241 @endif zlib
25245 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
25246 maybe-configure-stage1-zlib:
25247 @if zlib-bootstrap
25248 maybe-configure-stage1-zlib: configure-stage1-zlib
25249 configure-stage1-zlib:
25250 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25251 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25252 @r=`${PWD_COMMAND}`; export r; \
25253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25254 TFLAGS="$(STAGE1_TFLAGS)"; \
25255 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25256 $(HOST_EXPORTS) \
25257 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
25258 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
25259 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
25260 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
25261 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25262 cd $(HOST_SUBDIR)/zlib || exit 1; \
25263 case $(srcdir) in \
25264 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25265 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25266 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25267 esac; \
25268 srcdiroption="--srcdir=$${topdir}/zlib"; \
25269 libsrcdir="$$s/zlib"; \
25270 $(SHELL) $${libsrcdir}/configure \
25271 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25272 --target=${target_alias} $${srcdiroption} \
25273 $(STAGE1_CONFIGURE_FLAGS)
25274 @endif zlib-bootstrap
25276 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
25277 maybe-configure-stage2-zlib:
25278 @if zlib-bootstrap
25279 maybe-configure-stage2-zlib: configure-stage2-zlib
25280 configure-stage2-zlib:
25281 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25282 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25283 @r=`${PWD_COMMAND}`; export r; \
25284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25285 TFLAGS="$(STAGE2_TFLAGS)"; \
25286 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25287 $(HOST_EXPORTS) \
25288 $(POSTSTAGE1_HOST_EXPORTS) \
25289 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
25290 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
25291 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
25292 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
25293 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25294 cd $(HOST_SUBDIR)/zlib || exit 1; \
25295 case $(srcdir) in \
25296 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25297 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25298 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25299 esac; \
25300 srcdiroption="--srcdir=$${topdir}/zlib"; \
25301 libsrcdir="$$s/zlib"; \
25302 $(SHELL) $${libsrcdir}/configure \
25303 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25304 --target=${target_alias} $${srcdiroption} \
25305 --with-build-libsubdir=$(HOST_SUBDIR) \
25306 $(STAGE2_CONFIGURE_FLAGS)
25307 @endif zlib-bootstrap
25309 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
25310 maybe-configure-stage3-zlib:
25311 @if zlib-bootstrap
25312 maybe-configure-stage3-zlib: configure-stage3-zlib
25313 configure-stage3-zlib:
25314 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25315 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25316 @r=`${PWD_COMMAND}`; export r; \
25317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25318 TFLAGS="$(STAGE3_TFLAGS)"; \
25319 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25320 $(HOST_EXPORTS) \
25321 $(POSTSTAGE1_HOST_EXPORTS) \
25322 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
25323 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
25324 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
25325 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
25326 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25327 cd $(HOST_SUBDIR)/zlib || exit 1; \
25328 case $(srcdir) in \
25329 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25330 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25331 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25332 esac; \
25333 srcdiroption="--srcdir=$${topdir}/zlib"; \
25334 libsrcdir="$$s/zlib"; \
25335 $(SHELL) $${libsrcdir}/configure \
25336 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25337 --target=${target_alias} $${srcdiroption} \
25338 --with-build-libsubdir=$(HOST_SUBDIR) \
25339 $(STAGE3_CONFIGURE_FLAGS)
25340 @endif zlib-bootstrap
25342 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
25343 maybe-configure-stage4-zlib:
25344 @if zlib-bootstrap
25345 maybe-configure-stage4-zlib: configure-stage4-zlib
25346 configure-stage4-zlib:
25347 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25348 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25349 @r=`${PWD_COMMAND}`; export r; \
25350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25351 TFLAGS="$(STAGE4_TFLAGS)"; \
25352 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25353 $(HOST_EXPORTS) \
25354 $(POSTSTAGE1_HOST_EXPORTS) \
25355 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
25356 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
25357 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
25358 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
25359 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25360 cd $(HOST_SUBDIR)/zlib || exit 1; \
25361 case $(srcdir) in \
25362 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25363 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25364 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25365 esac; \
25366 srcdiroption="--srcdir=$${topdir}/zlib"; \
25367 libsrcdir="$$s/zlib"; \
25368 $(SHELL) $${libsrcdir}/configure \
25369 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25370 --target=${target_alias} $${srcdiroption} \
25371 --with-build-libsubdir=$(HOST_SUBDIR) \
25372 $(STAGE4_CONFIGURE_FLAGS)
25373 @endif zlib-bootstrap
25375 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
25376 maybe-configure-stageprofile-zlib:
25377 @if zlib-bootstrap
25378 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
25379 configure-stageprofile-zlib:
25380 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25381 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25382 @r=`${PWD_COMMAND}`; export r; \
25383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25384 TFLAGS="$(STAGEprofile_TFLAGS)"; \
25385 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25386 $(HOST_EXPORTS) \
25387 $(POSTSTAGE1_HOST_EXPORTS) \
25388 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
25389 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
25390 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
25391 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
25392 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25393 cd $(HOST_SUBDIR)/zlib || exit 1; \
25394 case $(srcdir) in \
25395 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25396 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25397 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25398 esac; \
25399 srcdiroption="--srcdir=$${topdir}/zlib"; \
25400 libsrcdir="$$s/zlib"; \
25401 $(SHELL) $${libsrcdir}/configure \
25402 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25403 --target=${target_alias} $${srcdiroption} \
25404 --with-build-libsubdir=$(HOST_SUBDIR) \
25405 $(STAGEprofile_CONFIGURE_FLAGS)
25406 @endif zlib-bootstrap
25408 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
25409 maybe-configure-stagefeedback-zlib:
25410 @if zlib-bootstrap
25411 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
25412 configure-stagefeedback-zlib:
25413 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25414 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25415 @r=`${PWD_COMMAND}`; export r; \
25416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25417 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25418 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25419 $(HOST_EXPORTS) \
25420 $(POSTSTAGE1_HOST_EXPORTS) \
25421 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
25422 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
25423 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
25424 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
25425 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25426 cd $(HOST_SUBDIR)/zlib || exit 1; \
25427 case $(srcdir) in \
25428 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25429 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25430 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25431 esac; \
25432 srcdiroption="--srcdir=$${topdir}/zlib"; \
25433 libsrcdir="$$s/zlib"; \
25434 $(SHELL) $${libsrcdir}/configure \
25435 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25436 --target=${target_alias} $${srcdiroption} \
25437 --with-build-libsubdir=$(HOST_SUBDIR) \
25438 $(STAGEfeedback_CONFIGURE_FLAGS)
25439 @endif zlib-bootstrap
25445 .PHONY: all-zlib maybe-all-zlib
25446 maybe-all-zlib:
25447 @if gcc-bootstrap
25448 all-zlib: stage_current
25449 @endif gcc-bootstrap
25450 @if zlib
25451 TARGET-zlib=all
25452 maybe-all-zlib: all-zlib
25453 all-zlib: configure-zlib
25454 @r=`${PWD_COMMAND}`; export r; \
25455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25456 $(HOST_EXPORTS) \
25457 (cd $(HOST_SUBDIR)/zlib && \
25458 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
25459 $(TARGET-zlib))
25460 @endif zlib
25464 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
25465 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
25466 maybe-all-stage1-zlib:
25467 maybe-clean-stage1-zlib:
25468 @if zlib-bootstrap
25469 maybe-all-stage1-zlib: all-stage1-zlib
25470 all-stage1: all-stage1-zlib
25471 TARGET-stage1-zlib = $(TARGET-zlib)
25472 all-stage1-zlib: configure-stage1-zlib
25473 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25474 @r=`${PWD_COMMAND}`; export r; \
25475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25476 TFLAGS="$(STAGE1_TFLAGS)"; \
25477 $(HOST_EXPORTS) \
25478 cd $(HOST_SUBDIR)/zlib && \
25479 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25480 CFLAGS="$(STAGE1_CFLAGS)" \
25481 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
25482 LIBCFLAGS="$(LIBCFLAGS)" \
25483 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25484 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25485 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25486 $(EXTRA_HOST_FLAGS) \
25487 TFLAGS="$(STAGE1_TFLAGS)" \
25488 $(TARGET-stage1-zlib)
25490 maybe-clean-stage1-zlib: clean-stage1-zlib
25491 clean-stage1: clean-stage1-zlib
25492 clean-stage1-zlib:
25493 @if [ $(current_stage) = stage1 ]; then \
25494 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25495 else \
25496 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
25497 $(MAKE) stage1-start; \
25498 fi; \
25499 cd $(HOST_SUBDIR)/zlib && \
25500 $(MAKE) $(EXTRA_HOST_FLAGS) \
25501 clean
25502 @endif zlib-bootstrap
25505 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
25506 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
25507 maybe-all-stage2-zlib:
25508 maybe-clean-stage2-zlib:
25509 @if zlib-bootstrap
25510 maybe-all-stage2-zlib: all-stage2-zlib
25511 all-stage2: all-stage2-zlib
25512 TARGET-stage2-zlib = $(TARGET-zlib)
25513 all-stage2-zlib: configure-stage2-zlib
25514 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25515 @r=`${PWD_COMMAND}`; export r; \
25516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25517 TFLAGS="$(STAGE2_TFLAGS)"; \
25518 $(HOST_EXPORTS) \
25519 $(POSTSTAGE1_HOST_EXPORTS) \
25520 cd $(HOST_SUBDIR)/zlib && \
25521 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25522 CFLAGS="$(STAGE2_CFLAGS)" \
25523 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
25524 LIBCFLAGS="$(STAGE2_CFLAGS)" \
25525 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25526 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25527 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25528 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25529 TFLAGS="$(STAGE2_TFLAGS)" \
25530 $(TARGET-stage2-zlib)
25532 maybe-clean-stage2-zlib: clean-stage2-zlib
25533 clean-stage2: clean-stage2-zlib
25534 clean-stage2-zlib:
25535 @if [ $(current_stage) = stage2 ]; then \
25536 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25537 else \
25538 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
25539 $(MAKE) stage2-start; \
25540 fi; \
25541 cd $(HOST_SUBDIR)/zlib && \
25542 $(MAKE) $(EXTRA_HOST_FLAGS) \
25543 $(POSTSTAGE1_FLAGS_TO_PASS) \
25544 clean
25545 @endif zlib-bootstrap
25548 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
25549 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
25550 maybe-all-stage3-zlib:
25551 maybe-clean-stage3-zlib:
25552 @if zlib-bootstrap
25553 maybe-all-stage3-zlib: all-stage3-zlib
25554 all-stage3: all-stage3-zlib
25555 TARGET-stage3-zlib = $(TARGET-zlib)
25556 all-stage3-zlib: configure-stage3-zlib
25557 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25558 @r=`${PWD_COMMAND}`; export r; \
25559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25560 TFLAGS="$(STAGE3_TFLAGS)"; \
25561 $(HOST_EXPORTS) \
25562 $(POSTSTAGE1_HOST_EXPORTS) \
25563 cd $(HOST_SUBDIR)/zlib && \
25564 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25565 CFLAGS="$(STAGE3_CFLAGS)" \
25566 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
25567 LIBCFLAGS="$(STAGE3_CFLAGS)" \
25568 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25569 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25570 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25571 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25572 TFLAGS="$(STAGE3_TFLAGS)" \
25573 $(TARGET-stage3-zlib)
25575 maybe-clean-stage3-zlib: clean-stage3-zlib
25576 clean-stage3: clean-stage3-zlib
25577 clean-stage3-zlib:
25578 @if [ $(current_stage) = stage3 ]; then \
25579 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25580 else \
25581 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
25582 $(MAKE) stage3-start; \
25583 fi; \
25584 cd $(HOST_SUBDIR)/zlib && \
25585 $(MAKE) $(EXTRA_HOST_FLAGS) \
25586 $(POSTSTAGE1_FLAGS_TO_PASS) \
25587 clean
25588 @endif zlib-bootstrap
25591 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
25592 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
25593 maybe-all-stage4-zlib:
25594 maybe-clean-stage4-zlib:
25595 @if zlib-bootstrap
25596 maybe-all-stage4-zlib: all-stage4-zlib
25597 all-stage4: all-stage4-zlib
25598 TARGET-stage4-zlib = $(TARGET-zlib)
25599 all-stage4-zlib: configure-stage4-zlib
25600 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25601 @r=`${PWD_COMMAND}`; export r; \
25602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25603 TFLAGS="$(STAGE4_TFLAGS)"; \
25604 $(HOST_EXPORTS) \
25605 $(POSTSTAGE1_HOST_EXPORTS) \
25606 cd $(HOST_SUBDIR)/zlib && \
25607 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25608 CFLAGS="$(STAGE4_CFLAGS)" \
25609 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
25610 LIBCFLAGS="$(STAGE4_CFLAGS)" \
25611 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25612 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25613 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25614 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25615 TFLAGS="$(STAGE4_TFLAGS)" \
25616 $(TARGET-stage4-zlib)
25618 maybe-clean-stage4-zlib: clean-stage4-zlib
25619 clean-stage4: clean-stage4-zlib
25620 clean-stage4-zlib:
25621 @if [ $(current_stage) = stage4 ]; then \
25622 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25623 else \
25624 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
25625 $(MAKE) stage4-start; \
25626 fi; \
25627 cd $(HOST_SUBDIR)/zlib && \
25628 $(MAKE) $(EXTRA_HOST_FLAGS) \
25629 $(POSTSTAGE1_FLAGS_TO_PASS) \
25630 clean
25631 @endif zlib-bootstrap
25634 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
25635 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
25636 maybe-all-stageprofile-zlib:
25637 maybe-clean-stageprofile-zlib:
25638 @if zlib-bootstrap
25639 maybe-all-stageprofile-zlib: all-stageprofile-zlib
25640 all-stageprofile: all-stageprofile-zlib
25641 TARGET-stageprofile-zlib = $(TARGET-zlib)
25642 all-stageprofile-zlib: configure-stageprofile-zlib
25643 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25644 @r=`${PWD_COMMAND}`; export r; \
25645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25646 TFLAGS="$(STAGEprofile_TFLAGS)"; \
25647 $(HOST_EXPORTS) \
25648 $(POSTSTAGE1_HOST_EXPORTS) \
25649 cd $(HOST_SUBDIR)/zlib && \
25650 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25651 CFLAGS="$(STAGEprofile_CFLAGS)" \
25652 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
25653 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
25654 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25655 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25656 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25657 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25658 TFLAGS="$(STAGEprofile_TFLAGS)" \
25659 $(TARGET-stageprofile-zlib)
25661 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
25662 clean-stageprofile: clean-stageprofile-zlib
25663 clean-stageprofile-zlib:
25664 @if [ $(current_stage) = stageprofile ]; then \
25665 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25666 else \
25667 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
25668 $(MAKE) stageprofile-start; \
25669 fi; \
25670 cd $(HOST_SUBDIR)/zlib && \
25671 $(MAKE) $(EXTRA_HOST_FLAGS) \
25672 $(POSTSTAGE1_FLAGS_TO_PASS) \
25673 clean
25674 @endif zlib-bootstrap
25677 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
25678 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
25679 maybe-all-stagefeedback-zlib:
25680 maybe-clean-stagefeedback-zlib:
25681 @if zlib-bootstrap
25682 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
25683 all-stagefeedback: all-stagefeedback-zlib
25684 TARGET-stagefeedback-zlib = $(TARGET-zlib)
25685 all-stagefeedback-zlib: configure-stagefeedback-zlib
25686 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25687 @r=`${PWD_COMMAND}`; export r; \
25688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25689 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25690 $(HOST_EXPORTS) \
25691 $(POSTSTAGE1_HOST_EXPORTS) \
25692 cd $(HOST_SUBDIR)/zlib && \
25693 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25694 CFLAGS="$(STAGEfeedback_CFLAGS)" \
25695 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
25696 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
25697 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25698 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25699 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25700 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25701 TFLAGS="$(STAGEfeedback_TFLAGS)" \
25702 $(TARGET-stagefeedback-zlib)
25704 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
25705 clean-stagefeedback: clean-stagefeedback-zlib
25706 clean-stagefeedback-zlib:
25707 @if [ $(current_stage) = stagefeedback ]; then \
25708 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25709 else \
25710 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
25711 $(MAKE) stagefeedback-start; \
25712 fi; \
25713 cd $(HOST_SUBDIR)/zlib && \
25714 $(MAKE) $(EXTRA_HOST_FLAGS) \
25715 $(POSTSTAGE1_FLAGS_TO_PASS) \
25716 clean
25717 @endif zlib-bootstrap
25723 .PHONY: check-zlib maybe-check-zlib
25724 maybe-check-zlib:
25725 @if zlib
25726 maybe-check-zlib: check-zlib
25728 check-zlib:
25730 @endif zlib
25732 .PHONY: install-zlib maybe-install-zlib
25733 maybe-install-zlib:
25734 @if zlib
25735 maybe-install-zlib: install-zlib
25737 install-zlib:
25739 @endif zlib
25741 .PHONY: install-strip-zlib maybe-install-strip-zlib
25742 maybe-install-strip-zlib:
25743 @if zlib
25744 maybe-install-strip-zlib: install-strip-zlib
25746 install-strip-zlib:
25748 @endif zlib
25750 # Other targets (info, dvi, pdf, etc.)
25752 .PHONY: maybe-info-zlib info-zlib
25753 maybe-info-zlib:
25754 @if zlib
25755 maybe-info-zlib: info-zlib
25757 info-zlib: \
25758 configure-zlib
25759 @[ -f ./zlib/Makefile ] || exit 0; \
25760 r=`${PWD_COMMAND}`; export r; \
25761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25762 $(HOST_EXPORTS) \
25763 for flag in $(EXTRA_HOST_FLAGS) ; do \
25764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25765 done; \
25766 echo "Doing info in zlib" ; \
25767 (cd $(HOST_SUBDIR)/zlib && \
25768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25770 "RANLIB=$${RANLIB}" \
25771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25772 info) \
25773 || exit 1
25775 @endif zlib
25777 .PHONY: maybe-dvi-zlib dvi-zlib
25778 maybe-dvi-zlib:
25779 @if zlib
25780 maybe-dvi-zlib: dvi-zlib
25782 dvi-zlib: \
25783 configure-zlib
25784 @[ -f ./zlib/Makefile ] || exit 0; \
25785 r=`${PWD_COMMAND}`; export r; \
25786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25787 $(HOST_EXPORTS) \
25788 for flag in $(EXTRA_HOST_FLAGS) ; do \
25789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25790 done; \
25791 echo "Doing dvi in zlib" ; \
25792 (cd $(HOST_SUBDIR)/zlib && \
25793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25795 "RANLIB=$${RANLIB}" \
25796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25797 dvi) \
25798 || exit 1
25800 @endif zlib
25802 .PHONY: maybe-pdf-zlib pdf-zlib
25803 maybe-pdf-zlib:
25804 @if zlib
25805 maybe-pdf-zlib: pdf-zlib
25807 pdf-zlib: \
25808 configure-zlib
25809 @[ -f ./zlib/Makefile ] || exit 0; \
25810 r=`${PWD_COMMAND}`; export r; \
25811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25812 $(HOST_EXPORTS) \
25813 for flag in $(EXTRA_HOST_FLAGS) ; do \
25814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25815 done; \
25816 echo "Doing pdf in zlib" ; \
25817 (cd $(HOST_SUBDIR)/zlib && \
25818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25820 "RANLIB=$${RANLIB}" \
25821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25822 pdf) \
25823 || exit 1
25825 @endif zlib
25827 .PHONY: maybe-html-zlib html-zlib
25828 maybe-html-zlib:
25829 @if zlib
25830 maybe-html-zlib: html-zlib
25832 html-zlib: \
25833 configure-zlib
25834 @[ -f ./zlib/Makefile ] || exit 0; \
25835 r=`${PWD_COMMAND}`; export r; \
25836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25837 $(HOST_EXPORTS) \
25838 for flag in $(EXTRA_HOST_FLAGS) ; do \
25839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25840 done; \
25841 echo "Doing html in zlib" ; \
25842 (cd $(HOST_SUBDIR)/zlib && \
25843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25845 "RANLIB=$${RANLIB}" \
25846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25847 html) \
25848 || exit 1
25850 @endif zlib
25852 .PHONY: maybe-TAGS-zlib TAGS-zlib
25853 maybe-TAGS-zlib:
25854 @if zlib
25855 maybe-TAGS-zlib: TAGS-zlib
25857 TAGS-zlib: \
25858 configure-zlib
25859 @[ -f ./zlib/Makefile ] || exit 0; \
25860 r=`${PWD_COMMAND}`; export r; \
25861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25862 $(HOST_EXPORTS) \
25863 for flag in $(EXTRA_HOST_FLAGS) ; do \
25864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25865 done; \
25866 echo "Doing TAGS in zlib" ; \
25867 (cd $(HOST_SUBDIR)/zlib && \
25868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25870 "RANLIB=$${RANLIB}" \
25871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25872 TAGS) \
25873 || exit 1
25875 @endif zlib
25877 .PHONY: maybe-install-info-zlib install-info-zlib
25878 maybe-install-info-zlib:
25879 @if zlib
25880 maybe-install-info-zlib: install-info-zlib
25882 install-info-zlib: \
25883 configure-zlib \
25884 info-zlib
25885 @[ -f ./zlib/Makefile ] || exit 0; \
25886 r=`${PWD_COMMAND}`; export r; \
25887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25888 $(HOST_EXPORTS) \
25889 for flag in $(EXTRA_HOST_FLAGS) ; do \
25890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25891 done; \
25892 echo "Doing install-info in zlib" ; \
25893 (cd $(HOST_SUBDIR)/zlib && \
25894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25896 "RANLIB=$${RANLIB}" \
25897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25898 install-info) \
25899 || exit 1
25901 @endif zlib
25903 .PHONY: maybe-install-pdf-zlib install-pdf-zlib
25904 maybe-install-pdf-zlib:
25905 @if zlib
25906 maybe-install-pdf-zlib: install-pdf-zlib
25908 install-pdf-zlib: \
25909 configure-zlib \
25910 pdf-zlib
25911 @[ -f ./zlib/Makefile ] || exit 0; \
25912 r=`${PWD_COMMAND}`; export r; \
25913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25914 $(HOST_EXPORTS) \
25915 for flag in $(EXTRA_HOST_FLAGS) ; do \
25916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25917 done; \
25918 echo "Doing install-pdf in zlib" ; \
25919 (cd $(HOST_SUBDIR)/zlib && \
25920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25922 "RANLIB=$${RANLIB}" \
25923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25924 install-pdf) \
25925 || exit 1
25927 @endif zlib
25929 .PHONY: maybe-install-html-zlib install-html-zlib
25930 maybe-install-html-zlib:
25931 @if zlib
25932 maybe-install-html-zlib: install-html-zlib
25934 install-html-zlib: \
25935 configure-zlib \
25936 html-zlib
25937 @[ -f ./zlib/Makefile ] || exit 0; \
25938 r=`${PWD_COMMAND}`; export r; \
25939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25940 $(HOST_EXPORTS) \
25941 for flag in $(EXTRA_HOST_FLAGS) ; do \
25942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25943 done; \
25944 echo "Doing install-html in zlib" ; \
25945 (cd $(HOST_SUBDIR)/zlib && \
25946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25948 "RANLIB=$${RANLIB}" \
25949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25950 install-html) \
25951 || exit 1
25953 @endif zlib
25955 .PHONY: maybe-installcheck-zlib installcheck-zlib
25956 maybe-installcheck-zlib:
25957 @if zlib
25958 maybe-installcheck-zlib: installcheck-zlib
25960 installcheck-zlib: \
25961 configure-zlib
25962 @[ -f ./zlib/Makefile ] || exit 0; \
25963 r=`${PWD_COMMAND}`; export r; \
25964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25965 $(HOST_EXPORTS) \
25966 for flag in $(EXTRA_HOST_FLAGS) ; do \
25967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25968 done; \
25969 echo "Doing installcheck in zlib" ; \
25970 (cd $(HOST_SUBDIR)/zlib && \
25971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25973 "RANLIB=$${RANLIB}" \
25974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25975 installcheck) \
25976 || exit 1
25978 @endif zlib
25980 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
25981 maybe-mostlyclean-zlib:
25982 @if zlib
25983 maybe-mostlyclean-zlib: mostlyclean-zlib
25985 mostlyclean-zlib:
25986 @[ -f ./zlib/Makefile ] || exit 0; \
25987 r=`${PWD_COMMAND}`; export r; \
25988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25989 $(HOST_EXPORTS) \
25990 for flag in $(EXTRA_HOST_FLAGS) ; do \
25991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25992 done; \
25993 echo "Doing mostlyclean in zlib" ; \
25994 (cd $(HOST_SUBDIR)/zlib && \
25995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25997 "RANLIB=$${RANLIB}" \
25998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25999 mostlyclean) \
26000 || exit 1
26002 @endif zlib
26004 .PHONY: maybe-clean-zlib clean-zlib
26005 maybe-clean-zlib:
26006 @if zlib
26007 maybe-clean-zlib: clean-zlib
26009 clean-zlib:
26010 @[ -f ./zlib/Makefile ] || exit 0; \
26011 r=`${PWD_COMMAND}`; export r; \
26012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26013 $(HOST_EXPORTS) \
26014 for flag in $(EXTRA_HOST_FLAGS) ; do \
26015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26016 done; \
26017 echo "Doing clean in zlib" ; \
26018 (cd $(HOST_SUBDIR)/zlib && \
26019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26021 "RANLIB=$${RANLIB}" \
26022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26023 clean) \
26024 || exit 1
26026 @endif zlib
26028 .PHONY: maybe-distclean-zlib distclean-zlib
26029 maybe-distclean-zlib:
26030 @if zlib
26031 maybe-distclean-zlib: distclean-zlib
26033 distclean-zlib:
26034 @[ -f ./zlib/Makefile ] || exit 0; \
26035 r=`${PWD_COMMAND}`; export r; \
26036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26037 $(HOST_EXPORTS) \
26038 for flag in $(EXTRA_HOST_FLAGS) ; do \
26039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26040 done; \
26041 echo "Doing distclean in zlib" ; \
26042 (cd $(HOST_SUBDIR)/zlib && \
26043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26045 "RANLIB=$${RANLIB}" \
26046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26047 distclean) \
26048 || exit 1
26050 @endif zlib
26052 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
26053 maybe-maintainer-clean-zlib:
26054 @if zlib
26055 maybe-maintainer-clean-zlib: maintainer-clean-zlib
26057 maintainer-clean-zlib:
26058 @[ -f ./zlib/Makefile ] || exit 0; \
26059 r=`${PWD_COMMAND}`; export r; \
26060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26061 $(HOST_EXPORTS) \
26062 for flag in $(EXTRA_HOST_FLAGS) ; do \
26063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26064 done; \
26065 echo "Doing maintainer-clean in zlib" ; \
26066 (cd $(HOST_SUBDIR)/zlib && \
26067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26069 "RANLIB=$${RANLIB}" \
26070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26071 maintainer-clean) \
26072 || exit 1
26074 @endif zlib
26078 .PHONY: configure-gdb maybe-configure-gdb
26079 maybe-configure-gdb:
26080 @if gcc-bootstrap
26081 configure-gdb: stage_current
26082 @endif gcc-bootstrap
26083 @if gdb
26084 maybe-configure-gdb: configure-gdb
26085 configure-gdb:
26086 @: $(MAKE); $(unstage)
26087 @r=`${PWD_COMMAND}`; export r; \
26088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26089 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
26090 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
26091 $(HOST_EXPORTS) \
26092 echo Configuring in $(HOST_SUBDIR)/gdb; \
26093 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
26094 case $(srcdir) in \
26095 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26096 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
26097 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26098 esac; \
26099 srcdiroption="--srcdir=$${topdir}/gdb"; \
26100 libsrcdir="$$s/gdb"; \
26101 $(SHELL) $${libsrcdir}/configure \
26102 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26103 --target=${target_alias} $${srcdiroption} \
26104 || exit 1
26105 @endif gdb
26111 .PHONY: all-gdb maybe-all-gdb
26112 maybe-all-gdb:
26113 @if gcc-bootstrap
26114 all-gdb: stage_current
26115 @endif gcc-bootstrap
26116 @if gdb
26117 TARGET-gdb=all
26118 maybe-all-gdb: all-gdb
26119 all-gdb: configure-gdb
26120 @: $(MAKE); $(unstage)
26121 @r=`${PWD_COMMAND}`; export r; \
26122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26123 $(HOST_EXPORTS) \
26124 (cd $(HOST_SUBDIR)/gdb && \
26125 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
26126 $(TARGET-gdb))
26127 @endif gdb
26132 .PHONY: check-gdb maybe-check-gdb
26133 maybe-check-gdb:
26134 @if gdb
26135 maybe-check-gdb: check-gdb
26137 check-gdb:
26138 @: $(MAKE); $(unstage)
26139 @r=`${PWD_COMMAND}`; export r; \
26140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26141 $(HOST_EXPORTS) \
26142 (cd $(HOST_SUBDIR)/gdb && \
26143 $(MAKE) $(FLAGS_TO_PASS) check)
26145 @endif gdb
26147 .PHONY: install-gdb maybe-install-gdb
26148 maybe-install-gdb:
26149 @if gdb
26150 maybe-install-gdb: install-gdb
26152 install-gdb: installdirs
26153 @: $(MAKE); $(unstage)
26154 @r=`${PWD_COMMAND}`; export r; \
26155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26156 $(HOST_EXPORTS) \
26157 (cd $(HOST_SUBDIR)/gdb && \
26158 $(MAKE) $(FLAGS_TO_PASS) install)
26160 @endif gdb
26162 .PHONY: install-strip-gdb maybe-install-strip-gdb
26163 maybe-install-strip-gdb:
26164 @if gdb
26165 maybe-install-strip-gdb: install-strip-gdb
26167 install-strip-gdb: installdirs
26168 @: $(MAKE); $(unstage)
26169 @r=`${PWD_COMMAND}`; export r; \
26170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26171 $(HOST_EXPORTS) \
26172 (cd $(HOST_SUBDIR)/gdb && \
26173 $(MAKE) $(FLAGS_TO_PASS) install-strip)
26175 @endif gdb
26177 # Other targets (info, dvi, pdf, etc.)
26179 .PHONY: maybe-info-gdb info-gdb
26180 maybe-info-gdb:
26181 @if gdb
26182 maybe-info-gdb: info-gdb
26184 info-gdb: \
26185 configure-gdb
26186 @: $(MAKE); $(unstage)
26187 @[ -f ./gdb/Makefile ] || exit 0; \
26188 r=`${PWD_COMMAND}`; export r; \
26189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26190 $(HOST_EXPORTS) \
26191 for flag in $(EXTRA_HOST_FLAGS) ; do \
26192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26193 done; \
26194 echo "Doing info in gdb" ; \
26195 (cd $(HOST_SUBDIR)/gdb && \
26196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26198 "RANLIB=$${RANLIB}" \
26199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26200 info) \
26201 || exit 1
26203 @endif gdb
26205 .PHONY: maybe-dvi-gdb dvi-gdb
26206 maybe-dvi-gdb:
26207 @if gdb
26208 maybe-dvi-gdb: dvi-gdb
26210 dvi-gdb: \
26211 configure-gdb
26212 @: $(MAKE); $(unstage)
26213 @[ -f ./gdb/Makefile ] || exit 0; \
26214 r=`${PWD_COMMAND}`; export r; \
26215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26216 $(HOST_EXPORTS) \
26217 for flag in $(EXTRA_HOST_FLAGS) ; do \
26218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26219 done; \
26220 echo "Doing dvi in gdb" ; \
26221 (cd $(HOST_SUBDIR)/gdb && \
26222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26224 "RANLIB=$${RANLIB}" \
26225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26226 dvi) \
26227 || exit 1
26229 @endif gdb
26231 .PHONY: maybe-pdf-gdb pdf-gdb
26232 maybe-pdf-gdb:
26233 @if gdb
26234 maybe-pdf-gdb: pdf-gdb
26236 pdf-gdb: \
26237 configure-gdb
26238 @: $(MAKE); $(unstage)
26239 @[ -f ./gdb/Makefile ] || exit 0; \
26240 r=`${PWD_COMMAND}`; export r; \
26241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26242 $(HOST_EXPORTS) \
26243 for flag in $(EXTRA_HOST_FLAGS) ; do \
26244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26245 done; \
26246 echo "Doing pdf in gdb" ; \
26247 (cd $(HOST_SUBDIR)/gdb && \
26248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26250 "RANLIB=$${RANLIB}" \
26251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26252 pdf) \
26253 || exit 1
26255 @endif gdb
26257 .PHONY: maybe-html-gdb html-gdb
26258 maybe-html-gdb:
26259 @if gdb
26260 maybe-html-gdb: html-gdb
26262 html-gdb: \
26263 configure-gdb
26264 @: $(MAKE); $(unstage)
26265 @[ -f ./gdb/Makefile ] || exit 0; \
26266 r=`${PWD_COMMAND}`; export r; \
26267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26268 $(HOST_EXPORTS) \
26269 for flag in $(EXTRA_HOST_FLAGS) ; do \
26270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26271 done; \
26272 echo "Doing html in gdb" ; \
26273 (cd $(HOST_SUBDIR)/gdb && \
26274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26276 "RANLIB=$${RANLIB}" \
26277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26278 html) \
26279 || exit 1
26281 @endif gdb
26283 .PHONY: maybe-TAGS-gdb TAGS-gdb
26284 maybe-TAGS-gdb:
26285 @if gdb
26286 maybe-TAGS-gdb: TAGS-gdb
26288 TAGS-gdb: \
26289 configure-gdb
26290 @: $(MAKE); $(unstage)
26291 @[ -f ./gdb/Makefile ] || exit 0; \
26292 r=`${PWD_COMMAND}`; export r; \
26293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26294 $(HOST_EXPORTS) \
26295 for flag in $(EXTRA_HOST_FLAGS) ; do \
26296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26297 done; \
26298 echo "Doing TAGS in gdb" ; \
26299 (cd $(HOST_SUBDIR)/gdb && \
26300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26302 "RANLIB=$${RANLIB}" \
26303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26304 TAGS) \
26305 || exit 1
26307 @endif gdb
26309 .PHONY: maybe-install-info-gdb install-info-gdb
26310 maybe-install-info-gdb:
26311 @if gdb
26312 maybe-install-info-gdb: install-info-gdb
26314 install-info-gdb: \
26315 configure-gdb \
26316 info-gdb
26317 @: $(MAKE); $(unstage)
26318 @[ -f ./gdb/Makefile ] || exit 0; \
26319 r=`${PWD_COMMAND}`; export r; \
26320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26321 $(HOST_EXPORTS) \
26322 for flag in $(EXTRA_HOST_FLAGS) ; do \
26323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26324 done; \
26325 echo "Doing install-info in gdb" ; \
26326 (cd $(HOST_SUBDIR)/gdb && \
26327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26329 "RANLIB=$${RANLIB}" \
26330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26331 install-info) \
26332 || exit 1
26334 @endif gdb
26336 .PHONY: maybe-install-pdf-gdb install-pdf-gdb
26337 maybe-install-pdf-gdb:
26338 @if gdb
26339 maybe-install-pdf-gdb: install-pdf-gdb
26341 install-pdf-gdb: \
26342 configure-gdb \
26343 pdf-gdb
26344 @: $(MAKE); $(unstage)
26345 @[ -f ./gdb/Makefile ] || exit 0; \
26346 r=`${PWD_COMMAND}`; export r; \
26347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26348 $(HOST_EXPORTS) \
26349 for flag in $(EXTRA_HOST_FLAGS) ; do \
26350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26351 done; \
26352 echo "Doing install-pdf in gdb" ; \
26353 (cd $(HOST_SUBDIR)/gdb && \
26354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26356 "RANLIB=$${RANLIB}" \
26357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26358 install-pdf) \
26359 || exit 1
26361 @endif gdb
26363 .PHONY: maybe-install-html-gdb install-html-gdb
26364 maybe-install-html-gdb:
26365 @if gdb
26366 maybe-install-html-gdb: install-html-gdb
26368 install-html-gdb: \
26369 configure-gdb \
26370 html-gdb
26371 @: $(MAKE); $(unstage)
26372 @[ -f ./gdb/Makefile ] || exit 0; \
26373 r=`${PWD_COMMAND}`; export r; \
26374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26375 $(HOST_EXPORTS) \
26376 for flag in $(EXTRA_HOST_FLAGS) ; do \
26377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26378 done; \
26379 echo "Doing install-html in gdb" ; \
26380 (cd $(HOST_SUBDIR)/gdb && \
26381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26383 "RANLIB=$${RANLIB}" \
26384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26385 install-html) \
26386 || exit 1
26388 @endif gdb
26390 .PHONY: maybe-installcheck-gdb installcheck-gdb
26391 maybe-installcheck-gdb:
26392 @if gdb
26393 maybe-installcheck-gdb: installcheck-gdb
26395 installcheck-gdb: \
26396 configure-gdb
26397 @: $(MAKE); $(unstage)
26398 @[ -f ./gdb/Makefile ] || exit 0; \
26399 r=`${PWD_COMMAND}`; export r; \
26400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26401 $(HOST_EXPORTS) \
26402 for flag in $(EXTRA_HOST_FLAGS) ; do \
26403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26404 done; \
26405 echo "Doing installcheck in gdb" ; \
26406 (cd $(HOST_SUBDIR)/gdb && \
26407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26409 "RANLIB=$${RANLIB}" \
26410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26411 installcheck) \
26412 || exit 1
26414 @endif gdb
26416 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
26417 maybe-mostlyclean-gdb:
26418 @if gdb
26419 maybe-mostlyclean-gdb: mostlyclean-gdb
26421 mostlyclean-gdb:
26422 @: $(MAKE); $(unstage)
26423 @[ -f ./gdb/Makefile ] || exit 0; \
26424 r=`${PWD_COMMAND}`; export r; \
26425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26426 $(HOST_EXPORTS) \
26427 for flag in $(EXTRA_HOST_FLAGS) ; do \
26428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26429 done; \
26430 echo "Doing mostlyclean in gdb" ; \
26431 (cd $(HOST_SUBDIR)/gdb && \
26432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26434 "RANLIB=$${RANLIB}" \
26435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26436 mostlyclean) \
26437 || exit 1
26439 @endif gdb
26441 .PHONY: maybe-clean-gdb clean-gdb
26442 maybe-clean-gdb:
26443 @if gdb
26444 maybe-clean-gdb: clean-gdb
26446 clean-gdb:
26447 @: $(MAKE); $(unstage)
26448 @[ -f ./gdb/Makefile ] || exit 0; \
26449 r=`${PWD_COMMAND}`; export r; \
26450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26451 $(HOST_EXPORTS) \
26452 for flag in $(EXTRA_HOST_FLAGS) ; do \
26453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26454 done; \
26455 echo "Doing clean in gdb" ; \
26456 (cd $(HOST_SUBDIR)/gdb && \
26457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26459 "RANLIB=$${RANLIB}" \
26460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26461 clean) \
26462 || exit 1
26464 @endif gdb
26466 .PHONY: maybe-distclean-gdb distclean-gdb
26467 maybe-distclean-gdb:
26468 @if gdb
26469 maybe-distclean-gdb: distclean-gdb
26471 distclean-gdb:
26472 @: $(MAKE); $(unstage)
26473 @[ -f ./gdb/Makefile ] || exit 0; \
26474 r=`${PWD_COMMAND}`; export r; \
26475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26476 $(HOST_EXPORTS) \
26477 for flag in $(EXTRA_HOST_FLAGS) ; do \
26478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26479 done; \
26480 echo "Doing distclean in gdb" ; \
26481 (cd $(HOST_SUBDIR)/gdb && \
26482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26484 "RANLIB=$${RANLIB}" \
26485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26486 distclean) \
26487 || exit 1
26489 @endif gdb
26491 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
26492 maybe-maintainer-clean-gdb:
26493 @if gdb
26494 maybe-maintainer-clean-gdb: maintainer-clean-gdb
26496 maintainer-clean-gdb:
26497 @: $(MAKE); $(unstage)
26498 @[ -f ./gdb/Makefile ] || exit 0; \
26499 r=`${PWD_COMMAND}`; export r; \
26500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26501 $(HOST_EXPORTS) \
26502 for flag in $(EXTRA_HOST_FLAGS) ; do \
26503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26504 done; \
26505 echo "Doing maintainer-clean in gdb" ; \
26506 (cd $(HOST_SUBDIR)/gdb && \
26507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26509 "RANLIB=$${RANLIB}" \
26510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26511 maintainer-clean) \
26512 || exit 1
26514 @endif gdb
26518 .PHONY: configure-expect maybe-configure-expect
26519 maybe-configure-expect:
26520 @if gcc-bootstrap
26521 configure-expect: stage_current
26522 @endif gcc-bootstrap
26523 @if expect
26524 maybe-configure-expect: configure-expect
26525 configure-expect:
26526 @: $(MAKE); $(unstage)
26527 @r=`${PWD_COMMAND}`; export r; \
26528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26529 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
26530 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
26531 $(HOST_EXPORTS) \
26532 echo Configuring in $(HOST_SUBDIR)/expect; \
26533 cd "$(HOST_SUBDIR)/expect" || exit 1; \
26534 case $(srcdir) in \
26535 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26536 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
26537 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26538 esac; \
26539 srcdiroption="--srcdir=$${topdir}/expect"; \
26540 libsrcdir="$$s/expect"; \
26541 $(SHELL) $${libsrcdir}/configure \
26542 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26543 --target=${target_alias} $${srcdiroption} \
26544 || exit 1
26545 @endif expect
26551 .PHONY: all-expect maybe-all-expect
26552 maybe-all-expect:
26553 @if gcc-bootstrap
26554 all-expect: stage_current
26555 @endif gcc-bootstrap
26556 @if expect
26557 TARGET-expect=all
26558 maybe-all-expect: all-expect
26559 all-expect: configure-expect
26560 @: $(MAKE); $(unstage)
26561 @r=`${PWD_COMMAND}`; export r; \
26562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26563 $(HOST_EXPORTS) \
26564 (cd $(HOST_SUBDIR)/expect && \
26565 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
26566 $(TARGET-expect))
26567 @endif expect
26572 .PHONY: check-expect maybe-check-expect
26573 maybe-check-expect:
26574 @if expect
26575 maybe-check-expect: check-expect
26577 check-expect:
26578 @: $(MAKE); $(unstage)
26579 @r=`${PWD_COMMAND}`; export r; \
26580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26581 $(HOST_EXPORTS) \
26582 (cd $(HOST_SUBDIR)/expect && \
26583 $(MAKE) $(FLAGS_TO_PASS) check)
26585 @endif expect
26587 .PHONY: install-expect maybe-install-expect
26588 maybe-install-expect:
26589 @if expect
26590 maybe-install-expect: install-expect
26592 install-expect: installdirs
26593 @: $(MAKE); $(unstage)
26594 @r=`${PWD_COMMAND}`; export r; \
26595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26596 $(HOST_EXPORTS) \
26597 (cd $(HOST_SUBDIR)/expect && \
26598 $(MAKE) $(FLAGS_TO_PASS) install)
26600 @endif expect
26602 .PHONY: install-strip-expect maybe-install-strip-expect
26603 maybe-install-strip-expect:
26604 @if expect
26605 maybe-install-strip-expect: install-strip-expect
26607 install-strip-expect: installdirs
26608 @: $(MAKE); $(unstage)
26609 @r=`${PWD_COMMAND}`; export r; \
26610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26611 $(HOST_EXPORTS) \
26612 (cd $(HOST_SUBDIR)/expect && \
26613 $(MAKE) $(FLAGS_TO_PASS) install-strip)
26615 @endif expect
26617 # Other targets (info, dvi, pdf, etc.)
26619 .PHONY: maybe-info-expect info-expect
26620 maybe-info-expect:
26621 @if expect
26622 maybe-info-expect: info-expect
26624 info-expect: \
26625 configure-expect
26626 @: $(MAKE); $(unstage)
26627 @[ -f ./expect/Makefile ] || exit 0; \
26628 r=`${PWD_COMMAND}`; export r; \
26629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26630 $(HOST_EXPORTS) \
26631 for flag in $(EXTRA_HOST_FLAGS) ; do \
26632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26633 done; \
26634 echo "Doing info in expect" ; \
26635 (cd $(HOST_SUBDIR)/expect && \
26636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26638 "RANLIB=$${RANLIB}" \
26639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26640 info) \
26641 || exit 1
26643 @endif expect
26645 .PHONY: maybe-dvi-expect dvi-expect
26646 maybe-dvi-expect:
26647 @if expect
26648 maybe-dvi-expect: dvi-expect
26650 dvi-expect: \
26651 configure-expect
26652 @: $(MAKE); $(unstage)
26653 @[ -f ./expect/Makefile ] || exit 0; \
26654 r=`${PWD_COMMAND}`; export r; \
26655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26656 $(HOST_EXPORTS) \
26657 for flag in $(EXTRA_HOST_FLAGS) ; do \
26658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26659 done; \
26660 echo "Doing dvi in expect" ; \
26661 (cd $(HOST_SUBDIR)/expect && \
26662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26664 "RANLIB=$${RANLIB}" \
26665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26666 dvi) \
26667 || exit 1
26669 @endif expect
26671 .PHONY: maybe-pdf-expect pdf-expect
26672 maybe-pdf-expect:
26673 @if expect
26674 maybe-pdf-expect: pdf-expect
26676 pdf-expect: \
26677 configure-expect
26678 @: $(MAKE); $(unstage)
26679 @[ -f ./expect/Makefile ] || exit 0; \
26680 r=`${PWD_COMMAND}`; export r; \
26681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26682 $(HOST_EXPORTS) \
26683 for flag in $(EXTRA_HOST_FLAGS) ; do \
26684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26685 done; \
26686 echo "Doing pdf in expect" ; \
26687 (cd $(HOST_SUBDIR)/expect && \
26688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26690 "RANLIB=$${RANLIB}" \
26691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26692 pdf) \
26693 || exit 1
26695 @endif expect
26697 .PHONY: maybe-html-expect html-expect
26698 maybe-html-expect:
26699 @if expect
26700 maybe-html-expect: html-expect
26702 html-expect: \
26703 configure-expect
26704 @: $(MAKE); $(unstage)
26705 @[ -f ./expect/Makefile ] || exit 0; \
26706 r=`${PWD_COMMAND}`; export r; \
26707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26708 $(HOST_EXPORTS) \
26709 for flag in $(EXTRA_HOST_FLAGS) ; do \
26710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26711 done; \
26712 echo "Doing html in expect" ; \
26713 (cd $(HOST_SUBDIR)/expect && \
26714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26716 "RANLIB=$${RANLIB}" \
26717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26718 html) \
26719 || exit 1
26721 @endif expect
26723 .PHONY: maybe-TAGS-expect TAGS-expect
26724 maybe-TAGS-expect:
26725 @if expect
26726 maybe-TAGS-expect: TAGS-expect
26728 TAGS-expect: \
26729 configure-expect
26730 @: $(MAKE); $(unstage)
26731 @[ -f ./expect/Makefile ] || exit 0; \
26732 r=`${PWD_COMMAND}`; export r; \
26733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26734 $(HOST_EXPORTS) \
26735 for flag in $(EXTRA_HOST_FLAGS) ; do \
26736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26737 done; \
26738 echo "Doing TAGS in expect" ; \
26739 (cd $(HOST_SUBDIR)/expect && \
26740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26742 "RANLIB=$${RANLIB}" \
26743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26744 TAGS) \
26745 || exit 1
26747 @endif expect
26749 .PHONY: maybe-install-info-expect install-info-expect
26750 maybe-install-info-expect:
26751 @if expect
26752 maybe-install-info-expect: install-info-expect
26754 install-info-expect: \
26755 configure-expect \
26756 info-expect
26757 @: $(MAKE); $(unstage)
26758 @[ -f ./expect/Makefile ] || exit 0; \
26759 r=`${PWD_COMMAND}`; export r; \
26760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26761 $(HOST_EXPORTS) \
26762 for flag in $(EXTRA_HOST_FLAGS) ; do \
26763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26764 done; \
26765 echo "Doing install-info in expect" ; \
26766 (cd $(HOST_SUBDIR)/expect && \
26767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26769 "RANLIB=$${RANLIB}" \
26770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26771 install-info) \
26772 || exit 1
26774 @endif expect
26776 .PHONY: maybe-install-pdf-expect install-pdf-expect
26777 maybe-install-pdf-expect:
26778 @if expect
26779 maybe-install-pdf-expect: install-pdf-expect
26781 install-pdf-expect: \
26782 configure-expect \
26783 pdf-expect
26784 @: $(MAKE); $(unstage)
26785 @[ -f ./expect/Makefile ] || exit 0; \
26786 r=`${PWD_COMMAND}`; export r; \
26787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26788 $(HOST_EXPORTS) \
26789 for flag in $(EXTRA_HOST_FLAGS) ; do \
26790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26791 done; \
26792 echo "Doing install-pdf in expect" ; \
26793 (cd $(HOST_SUBDIR)/expect && \
26794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26796 "RANLIB=$${RANLIB}" \
26797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26798 install-pdf) \
26799 || exit 1
26801 @endif expect
26803 .PHONY: maybe-install-html-expect install-html-expect
26804 maybe-install-html-expect:
26805 @if expect
26806 maybe-install-html-expect: install-html-expect
26808 install-html-expect: \
26809 configure-expect \
26810 html-expect
26811 @: $(MAKE); $(unstage)
26812 @[ -f ./expect/Makefile ] || exit 0; \
26813 r=`${PWD_COMMAND}`; export r; \
26814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26815 $(HOST_EXPORTS) \
26816 for flag in $(EXTRA_HOST_FLAGS) ; do \
26817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26818 done; \
26819 echo "Doing install-html in expect" ; \
26820 (cd $(HOST_SUBDIR)/expect && \
26821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26823 "RANLIB=$${RANLIB}" \
26824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26825 install-html) \
26826 || exit 1
26828 @endif expect
26830 .PHONY: maybe-installcheck-expect installcheck-expect
26831 maybe-installcheck-expect:
26832 @if expect
26833 maybe-installcheck-expect: installcheck-expect
26835 installcheck-expect: \
26836 configure-expect
26837 @: $(MAKE); $(unstage)
26838 @[ -f ./expect/Makefile ] || exit 0; \
26839 r=`${PWD_COMMAND}`; export r; \
26840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26841 $(HOST_EXPORTS) \
26842 for flag in $(EXTRA_HOST_FLAGS) ; do \
26843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26844 done; \
26845 echo "Doing installcheck in expect" ; \
26846 (cd $(HOST_SUBDIR)/expect && \
26847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26849 "RANLIB=$${RANLIB}" \
26850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26851 installcheck) \
26852 || exit 1
26854 @endif expect
26856 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
26857 maybe-mostlyclean-expect:
26858 @if expect
26859 maybe-mostlyclean-expect: mostlyclean-expect
26861 mostlyclean-expect:
26862 @: $(MAKE); $(unstage)
26863 @[ -f ./expect/Makefile ] || exit 0; \
26864 r=`${PWD_COMMAND}`; export r; \
26865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26866 $(HOST_EXPORTS) \
26867 for flag in $(EXTRA_HOST_FLAGS) ; do \
26868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26869 done; \
26870 echo "Doing mostlyclean in expect" ; \
26871 (cd $(HOST_SUBDIR)/expect && \
26872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26874 "RANLIB=$${RANLIB}" \
26875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26876 mostlyclean) \
26877 || exit 1
26879 @endif expect
26881 .PHONY: maybe-clean-expect clean-expect
26882 maybe-clean-expect:
26883 @if expect
26884 maybe-clean-expect: clean-expect
26886 clean-expect:
26887 @: $(MAKE); $(unstage)
26888 @[ -f ./expect/Makefile ] || exit 0; \
26889 r=`${PWD_COMMAND}`; export r; \
26890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26891 $(HOST_EXPORTS) \
26892 for flag in $(EXTRA_HOST_FLAGS) ; do \
26893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26894 done; \
26895 echo "Doing clean in expect" ; \
26896 (cd $(HOST_SUBDIR)/expect && \
26897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26899 "RANLIB=$${RANLIB}" \
26900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26901 clean) \
26902 || exit 1
26904 @endif expect
26906 .PHONY: maybe-distclean-expect distclean-expect
26907 maybe-distclean-expect:
26908 @if expect
26909 maybe-distclean-expect: distclean-expect
26911 distclean-expect:
26912 @: $(MAKE); $(unstage)
26913 @[ -f ./expect/Makefile ] || exit 0; \
26914 r=`${PWD_COMMAND}`; export r; \
26915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26916 $(HOST_EXPORTS) \
26917 for flag in $(EXTRA_HOST_FLAGS) ; do \
26918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26919 done; \
26920 echo "Doing distclean in expect" ; \
26921 (cd $(HOST_SUBDIR)/expect && \
26922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26924 "RANLIB=$${RANLIB}" \
26925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26926 distclean) \
26927 || exit 1
26929 @endif expect
26931 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
26932 maybe-maintainer-clean-expect:
26933 @if expect
26934 maybe-maintainer-clean-expect: maintainer-clean-expect
26936 maintainer-clean-expect:
26937 @: $(MAKE); $(unstage)
26938 @[ -f ./expect/Makefile ] || exit 0; \
26939 r=`${PWD_COMMAND}`; export r; \
26940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26941 $(HOST_EXPORTS) \
26942 for flag in $(EXTRA_HOST_FLAGS) ; do \
26943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26944 done; \
26945 echo "Doing maintainer-clean in expect" ; \
26946 (cd $(HOST_SUBDIR)/expect && \
26947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26949 "RANLIB=$${RANLIB}" \
26950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26951 maintainer-clean) \
26952 || exit 1
26954 @endif expect
26958 .PHONY: configure-guile maybe-configure-guile
26959 maybe-configure-guile:
26960 @if gcc-bootstrap
26961 configure-guile: stage_current
26962 @endif gcc-bootstrap
26963 @if guile
26964 maybe-configure-guile: configure-guile
26965 configure-guile:
26966 @: $(MAKE); $(unstage)
26967 @r=`${PWD_COMMAND}`; export r; \
26968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26969 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
26970 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
26971 $(HOST_EXPORTS) \
26972 echo Configuring in $(HOST_SUBDIR)/guile; \
26973 cd "$(HOST_SUBDIR)/guile" || exit 1; \
26974 case $(srcdir) in \
26975 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26976 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
26977 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26978 esac; \
26979 srcdiroption="--srcdir=$${topdir}/guile"; \
26980 libsrcdir="$$s/guile"; \
26981 $(SHELL) $${libsrcdir}/configure \
26982 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26983 --target=${target_alias} $${srcdiroption} \
26984 || exit 1
26985 @endif guile
26991 .PHONY: all-guile maybe-all-guile
26992 maybe-all-guile:
26993 @if gcc-bootstrap
26994 all-guile: stage_current
26995 @endif gcc-bootstrap
26996 @if guile
26997 TARGET-guile=all
26998 maybe-all-guile: all-guile
26999 all-guile: configure-guile
27000 @: $(MAKE); $(unstage)
27001 @r=`${PWD_COMMAND}`; export r; \
27002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27003 $(HOST_EXPORTS) \
27004 (cd $(HOST_SUBDIR)/guile && \
27005 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
27006 $(TARGET-guile))
27007 @endif guile
27012 .PHONY: check-guile maybe-check-guile
27013 maybe-check-guile:
27014 @if guile
27015 maybe-check-guile: check-guile
27017 check-guile:
27018 @: $(MAKE); $(unstage)
27019 @r=`${PWD_COMMAND}`; export r; \
27020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27021 $(HOST_EXPORTS) \
27022 (cd $(HOST_SUBDIR)/guile && \
27023 $(MAKE) $(FLAGS_TO_PASS) check)
27025 @endif guile
27027 .PHONY: install-guile maybe-install-guile
27028 maybe-install-guile:
27029 @if guile
27030 maybe-install-guile: install-guile
27032 install-guile: installdirs
27033 @: $(MAKE); $(unstage)
27034 @r=`${PWD_COMMAND}`; export r; \
27035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27036 $(HOST_EXPORTS) \
27037 (cd $(HOST_SUBDIR)/guile && \
27038 $(MAKE) $(FLAGS_TO_PASS) install)
27040 @endif guile
27042 .PHONY: install-strip-guile maybe-install-strip-guile
27043 maybe-install-strip-guile:
27044 @if guile
27045 maybe-install-strip-guile: install-strip-guile
27047 install-strip-guile: installdirs
27048 @: $(MAKE); $(unstage)
27049 @r=`${PWD_COMMAND}`; export r; \
27050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27051 $(HOST_EXPORTS) \
27052 (cd $(HOST_SUBDIR)/guile && \
27053 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27055 @endif guile
27057 # Other targets (info, dvi, pdf, etc.)
27059 .PHONY: maybe-info-guile info-guile
27060 maybe-info-guile:
27061 @if guile
27062 maybe-info-guile: info-guile
27064 info-guile: \
27065 configure-guile
27066 @: $(MAKE); $(unstage)
27067 @[ -f ./guile/Makefile ] || exit 0; \
27068 r=`${PWD_COMMAND}`; export r; \
27069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27070 $(HOST_EXPORTS) \
27071 for flag in $(EXTRA_HOST_FLAGS) ; do \
27072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27073 done; \
27074 echo "Doing info in guile" ; \
27075 (cd $(HOST_SUBDIR)/guile && \
27076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27078 "RANLIB=$${RANLIB}" \
27079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27080 info) \
27081 || exit 1
27083 @endif guile
27085 .PHONY: maybe-dvi-guile dvi-guile
27086 maybe-dvi-guile:
27087 @if guile
27088 maybe-dvi-guile: dvi-guile
27090 dvi-guile: \
27091 configure-guile
27092 @: $(MAKE); $(unstage)
27093 @[ -f ./guile/Makefile ] || exit 0; \
27094 r=`${PWD_COMMAND}`; export r; \
27095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27096 $(HOST_EXPORTS) \
27097 for flag in $(EXTRA_HOST_FLAGS) ; do \
27098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27099 done; \
27100 echo "Doing dvi in guile" ; \
27101 (cd $(HOST_SUBDIR)/guile && \
27102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27104 "RANLIB=$${RANLIB}" \
27105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27106 dvi) \
27107 || exit 1
27109 @endif guile
27111 .PHONY: maybe-pdf-guile pdf-guile
27112 maybe-pdf-guile:
27113 @if guile
27114 maybe-pdf-guile: pdf-guile
27116 pdf-guile: \
27117 configure-guile
27118 @: $(MAKE); $(unstage)
27119 @[ -f ./guile/Makefile ] || exit 0; \
27120 r=`${PWD_COMMAND}`; export r; \
27121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27122 $(HOST_EXPORTS) \
27123 for flag in $(EXTRA_HOST_FLAGS) ; do \
27124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27125 done; \
27126 echo "Doing pdf in guile" ; \
27127 (cd $(HOST_SUBDIR)/guile && \
27128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27130 "RANLIB=$${RANLIB}" \
27131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27132 pdf) \
27133 || exit 1
27135 @endif guile
27137 .PHONY: maybe-html-guile html-guile
27138 maybe-html-guile:
27139 @if guile
27140 maybe-html-guile: html-guile
27142 html-guile: \
27143 configure-guile
27144 @: $(MAKE); $(unstage)
27145 @[ -f ./guile/Makefile ] || exit 0; \
27146 r=`${PWD_COMMAND}`; export r; \
27147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27148 $(HOST_EXPORTS) \
27149 for flag in $(EXTRA_HOST_FLAGS) ; do \
27150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27151 done; \
27152 echo "Doing html in guile" ; \
27153 (cd $(HOST_SUBDIR)/guile && \
27154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27156 "RANLIB=$${RANLIB}" \
27157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27158 html) \
27159 || exit 1
27161 @endif guile
27163 .PHONY: maybe-TAGS-guile TAGS-guile
27164 maybe-TAGS-guile:
27165 @if guile
27166 maybe-TAGS-guile: TAGS-guile
27168 TAGS-guile: \
27169 configure-guile
27170 @: $(MAKE); $(unstage)
27171 @[ -f ./guile/Makefile ] || exit 0; \
27172 r=`${PWD_COMMAND}`; export r; \
27173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27174 $(HOST_EXPORTS) \
27175 for flag in $(EXTRA_HOST_FLAGS) ; do \
27176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27177 done; \
27178 echo "Doing TAGS in guile" ; \
27179 (cd $(HOST_SUBDIR)/guile && \
27180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27182 "RANLIB=$${RANLIB}" \
27183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27184 TAGS) \
27185 || exit 1
27187 @endif guile
27189 .PHONY: maybe-install-info-guile install-info-guile
27190 maybe-install-info-guile:
27191 @if guile
27192 maybe-install-info-guile: install-info-guile
27194 install-info-guile: \
27195 configure-guile \
27196 info-guile
27197 @: $(MAKE); $(unstage)
27198 @[ -f ./guile/Makefile ] || exit 0; \
27199 r=`${PWD_COMMAND}`; export r; \
27200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27201 $(HOST_EXPORTS) \
27202 for flag in $(EXTRA_HOST_FLAGS) ; do \
27203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27204 done; \
27205 echo "Doing install-info in guile" ; \
27206 (cd $(HOST_SUBDIR)/guile && \
27207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27209 "RANLIB=$${RANLIB}" \
27210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27211 install-info) \
27212 || exit 1
27214 @endif guile
27216 .PHONY: maybe-install-pdf-guile install-pdf-guile
27217 maybe-install-pdf-guile:
27218 @if guile
27219 maybe-install-pdf-guile: install-pdf-guile
27221 install-pdf-guile: \
27222 configure-guile \
27223 pdf-guile
27224 @: $(MAKE); $(unstage)
27225 @[ -f ./guile/Makefile ] || exit 0; \
27226 r=`${PWD_COMMAND}`; export r; \
27227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27228 $(HOST_EXPORTS) \
27229 for flag in $(EXTRA_HOST_FLAGS) ; do \
27230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27231 done; \
27232 echo "Doing install-pdf in guile" ; \
27233 (cd $(HOST_SUBDIR)/guile && \
27234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27236 "RANLIB=$${RANLIB}" \
27237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27238 install-pdf) \
27239 || exit 1
27241 @endif guile
27243 .PHONY: maybe-install-html-guile install-html-guile
27244 maybe-install-html-guile:
27245 @if guile
27246 maybe-install-html-guile: install-html-guile
27248 install-html-guile: \
27249 configure-guile \
27250 html-guile
27251 @: $(MAKE); $(unstage)
27252 @[ -f ./guile/Makefile ] || exit 0; \
27253 r=`${PWD_COMMAND}`; export r; \
27254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27255 $(HOST_EXPORTS) \
27256 for flag in $(EXTRA_HOST_FLAGS) ; do \
27257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27258 done; \
27259 echo "Doing install-html in guile" ; \
27260 (cd $(HOST_SUBDIR)/guile && \
27261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27263 "RANLIB=$${RANLIB}" \
27264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27265 install-html) \
27266 || exit 1
27268 @endif guile
27270 .PHONY: maybe-installcheck-guile installcheck-guile
27271 maybe-installcheck-guile:
27272 @if guile
27273 maybe-installcheck-guile: installcheck-guile
27275 installcheck-guile: \
27276 configure-guile
27277 @: $(MAKE); $(unstage)
27278 @[ -f ./guile/Makefile ] || exit 0; \
27279 r=`${PWD_COMMAND}`; export r; \
27280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27281 $(HOST_EXPORTS) \
27282 for flag in $(EXTRA_HOST_FLAGS) ; do \
27283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27284 done; \
27285 echo "Doing installcheck in guile" ; \
27286 (cd $(HOST_SUBDIR)/guile && \
27287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27289 "RANLIB=$${RANLIB}" \
27290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27291 installcheck) \
27292 || exit 1
27294 @endif guile
27296 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
27297 maybe-mostlyclean-guile:
27298 @if guile
27299 maybe-mostlyclean-guile: mostlyclean-guile
27301 mostlyclean-guile:
27302 @: $(MAKE); $(unstage)
27303 @[ -f ./guile/Makefile ] || exit 0; \
27304 r=`${PWD_COMMAND}`; export r; \
27305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27306 $(HOST_EXPORTS) \
27307 for flag in $(EXTRA_HOST_FLAGS) ; do \
27308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27309 done; \
27310 echo "Doing mostlyclean in guile" ; \
27311 (cd $(HOST_SUBDIR)/guile && \
27312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27314 "RANLIB=$${RANLIB}" \
27315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27316 mostlyclean) \
27317 || exit 1
27319 @endif guile
27321 .PHONY: maybe-clean-guile clean-guile
27322 maybe-clean-guile:
27323 @if guile
27324 maybe-clean-guile: clean-guile
27326 clean-guile:
27327 @: $(MAKE); $(unstage)
27328 @[ -f ./guile/Makefile ] || exit 0; \
27329 r=`${PWD_COMMAND}`; export r; \
27330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27331 $(HOST_EXPORTS) \
27332 for flag in $(EXTRA_HOST_FLAGS) ; do \
27333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27334 done; \
27335 echo "Doing clean in guile" ; \
27336 (cd $(HOST_SUBDIR)/guile && \
27337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27339 "RANLIB=$${RANLIB}" \
27340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27341 clean) \
27342 || exit 1
27344 @endif guile
27346 .PHONY: maybe-distclean-guile distclean-guile
27347 maybe-distclean-guile:
27348 @if guile
27349 maybe-distclean-guile: distclean-guile
27351 distclean-guile:
27352 @: $(MAKE); $(unstage)
27353 @[ -f ./guile/Makefile ] || exit 0; \
27354 r=`${PWD_COMMAND}`; export r; \
27355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27356 $(HOST_EXPORTS) \
27357 for flag in $(EXTRA_HOST_FLAGS) ; do \
27358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27359 done; \
27360 echo "Doing distclean in guile" ; \
27361 (cd $(HOST_SUBDIR)/guile && \
27362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27364 "RANLIB=$${RANLIB}" \
27365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27366 distclean) \
27367 || exit 1
27369 @endif guile
27371 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
27372 maybe-maintainer-clean-guile:
27373 @if guile
27374 maybe-maintainer-clean-guile: maintainer-clean-guile
27376 maintainer-clean-guile:
27377 @: $(MAKE); $(unstage)
27378 @[ -f ./guile/Makefile ] || exit 0; \
27379 r=`${PWD_COMMAND}`; export r; \
27380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27381 $(HOST_EXPORTS) \
27382 for flag in $(EXTRA_HOST_FLAGS) ; do \
27383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27384 done; \
27385 echo "Doing maintainer-clean in guile" ; \
27386 (cd $(HOST_SUBDIR)/guile && \
27387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27389 "RANLIB=$${RANLIB}" \
27390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27391 maintainer-clean) \
27392 || exit 1
27394 @endif guile
27398 .PHONY: configure-tk maybe-configure-tk
27399 maybe-configure-tk:
27400 @if gcc-bootstrap
27401 configure-tk: stage_current
27402 @endif gcc-bootstrap
27403 @if tk
27404 maybe-configure-tk: configure-tk
27405 configure-tk:
27406 @: $(MAKE); $(unstage)
27407 @r=`${PWD_COMMAND}`; export r; \
27408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27409 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
27410 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
27411 $(HOST_EXPORTS) \
27412 echo Configuring in $(HOST_SUBDIR)/tk; \
27413 cd "$(HOST_SUBDIR)/tk" || exit 1; \
27414 case $(srcdir) in \
27415 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27416 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
27417 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27418 esac; \
27419 srcdiroption="--srcdir=$${topdir}/tk"; \
27420 libsrcdir="$$s/tk"; \
27421 $(SHELL) $${libsrcdir}/configure \
27422 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27423 --target=${target_alias} $${srcdiroption} \
27424 || exit 1
27425 @endif tk
27431 .PHONY: all-tk maybe-all-tk
27432 maybe-all-tk:
27433 @if gcc-bootstrap
27434 all-tk: stage_current
27435 @endif gcc-bootstrap
27436 @if tk
27437 TARGET-tk=all
27438 maybe-all-tk: all-tk
27439 all-tk: configure-tk
27440 @: $(MAKE); $(unstage)
27441 @r=`${PWD_COMMAND}`; export r; \
27442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27443 $(HOST_EXPORTS) \
27444 (cd $(HOST_SUBDIR)/tk && \
27445 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
27446 $(TARGET-tk))
27447 @endif tk
27452 .PHONY: check-tk maybe-check-tk
27453 maybe-check-tk:
27454 @if tk
27455 maybe-check-tk: check-tk
27457 check-tk:
27458 @: $(MAKE); $(unstage)
27459 @r=`${PWD_COMMAND}`; export r; \
27460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27461 $(HOST_EXPORTS) \
27462 (cd $(HOST_SUBDIR)/tk && \
27463 $(MAKE) $(FLAGS_TO_PASS) check)
27465 @endif tk
27467 .PHONY: install-tk maybe-install-tk
27468 maybe-install-tk:
27469 @if tk
27470 maybe-install-tk: install-tk
27472 install-tk: installdirs
27473 @: $(MAKE); $(unstage)
27474 @r=`${PWD_COMMAND}`; export r; \
27475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27476 $(HOST_EXPORTS) \
27477 (cd $(HOST_SUBDIR)/tk && \
27478 $(MAKE) $(FLAGS_TO_PASS) install)
27480 @endif tk
27482 .PHONY: install-strip-tk maybe-install-strip-tk
27483 maybe-install-strip-tk:
27484 @if tk
27485 maybe-install-strip-tk: install-strip-tk
27487 install-strip-tk: installdirs
27488 @: $(MAKE); $(unstage)
27489 @r=`${PWD_COMMAND}`; export r; \
27490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27491 $(HOST_EXPORTS) \
27492 (cd $(HOST_SUBDIR)/tk && \
27493 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27495 @endif tk
27497 # Other targets (info, dvi, pdf, etc.)
27499 .PHONY: maybe-info-tk info-tk
27500 maybe-info-tk:
27501 @if tk
27502 maybe-info-tk: info-tk
27504 info-tk: \
27505 configure-tk
27506 @: $(MAKE); $(unstage)
27507 @[ -f ./tk/Makefile ] || exit 0; \
27508 r=`${PWD_COMMAND}`; export r; \
27509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27510 $(HOST_EXPORTS) \
27511 for flag in $(EXTRA_HOST_FLAGS) ; do \
27512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27513 done; \
27514 echo "Doing info in tk" ; \
27515 (cd $(HOST_SUBDIR)/tk && \
27516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27518 "RANLIB=$${RANLIB}" \
27519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27520 info) \
27521 || exit 1
27523 @endif tk
27525 .PHONY: maybe-dvi-tk dvi-tk
27526 maybe-dvi-tk:
27527 @if tk
27528 maybe-dvi-tk: dvi-tk
27530 dvi-tk: \
27531 configure-tk
27532 @: $(MAKE); $(unstage)
27533 @[ -f ./tk/Makefile ] || exit 0; \
27534 r=`${PWD_COMMAND}`; export r; \
27535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27536 $(HOST_EXPORTS) \
27537 for flag in $(EXTRA_HOST_FLAGS) ; do \
27538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27539 done; \
27540 echo "Doing dvi in tk" ; \
27541 (cd $(HOST_SUBDIR)/tk && \
27542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27544 "RANLIB=$${RANLIB}" \
27545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27546 dvi) \
27547 || exit 1
27549 @endif tk
27551 .PHONY: maybe-pdf-tk pdf-tk
27552 maybe-pdf-tk:
27553 @if tk
27554 maybe-pdf-tk: pdf-tk
27556 pdf-tk: \
27557 configure-tk
27558 @: $(MAKE); $(unstage)
27559 @[ -f ./tk/Makefile ] || exit 0; \
27560 r=`${PWD_COMMAND}`; export r; \
27561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27562 $(HOST_EXPORTS) \
27563 for flag in $(EXTRA_HOST_FLAGS) ; do \
27564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27565 done; \
27566 echo "Doing pdf in tk" ; \
27567 (cd $(HOST_SUBDIR)/tk && \
27568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27570 "RANLIB=$${RANLIB}" \
27571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27572 pdf) \
27573 || exit 1
27575 @endif tk
27577 .PHONY: maybe-html-tk html-tk
27578 maybe-html-tk:
27579 @if tk
27580 maybe-html-tk: html-tk
27582 html-tk: \
27583 configure-tk
27584 @: $(MAKE); $(unstage)
27585 @[ -f ./tk/Makefile ] || exit 0; \
27586 r=`${PWD_COMMAND}`; export r; \
27587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27588 $(HOST_EXPORTS) \
27589 for flag in $(EXTRA_HOST_FLAGS) ; do \
27590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27591 done; \
27592 echo "Doing html in tk" ; \
27593 (cd $(HOST_SUBDIR)/tk && \
27594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27596 "RANLIB=$${RANLIB}" \
27597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27598 html) \
27599 || exit 1
27601 @endif tk
27603 .PHONY: maybe-TAGS-tk TAGS-tk
27604 maybe-TAGS-tk:
27605 @if tk
27606 maybe-TAGS-tk: TAGS-tk
27608 TAGS-tk: \
27609 configure-tk
27610 @: $(MAKE); $(unstage)
27611 @[ -f ./tk/Makefile ] || exit 0; \
27612 r=`${PWD_COMMAND}`; export r; \
27613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27614 $(HOST_EXPORTS) \
27615 for flag in $(EXTRA_HOST_FLAGS) ; do \
27616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27617 done; \
27618 echo "Doing TAGS in tk" ; \
27619 (cd $(HOST_SUBDIR)/tk && \
27620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27622 "RANLIB=$${RANLIB}" \
27623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27624 TAGS) \
27625 || exit 1
27627 @endif tk
27629 .PHONY: maybe-install-info-tk install-info-tk
27630 maybe-install-info-tk:
27631 @if tk
27632 maybe-install-info-tk: install-info-tk
27634 install-info-tk: \
27635 configure-tk \
27636 info-tk
27637 @: $(MAKE); $(unstage)
27638 @[ -f ./tk/Makefile ] || exit 0; \
27639 r=`${PWD_COMMAND}`; export r; \
27640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27641 $(HOST_EXPORTS) \
27642 for flag in $(EXTRA_HOST_FLAGS) ; do \
27643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27644 done; \
27645 echo "Doing install-info in tk" ; \
27646 (cd $(HOST_SUBDIR)/tk && \
27647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27649 "RANLIB=$${RANLIB}" \
27650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27651 install-info) \
27652 || exit 1
27654 @endif tk
27656 .PHONY: maybe-install-pdf-tk install-pdf-tk
27657 maybe-install-pdf-tk:
27658 @if tk
27659 maybe-install-pdf-tk: install-pdf-tk
27661 install-pdf-tk: \
27662 configure-tk \
27663 pdf-tk
27664 @: $(MAKE); $(unstage)
27665 @[ -f ./tk/Makefile ] || exit 0; \
27666 r=`${PWD_COMMAND}`; export r; \
27667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27668 $(HOST_EXPORTS) \
27669 for flag in $(EXTRA_HOST_FLAGS) ; do \
27670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27671 done; \
27672 echo "Doing install-pdf in tk" ; \
27673 (cd $(HOST_SUBDIR)/tk && \
27674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27676 "RANLIB=$${RANLIB}" \
27677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27678 install-pdf) \
27679 || exit 1
27681 @endif tk
27683 .PHONY: maybe-install-html-tk install-html-tk
27684 maybe-install-html-tk:
27685 @if tk
27686 maybe-install-html-tk: install-html-tk
27688 install-html-tk: \
27689 configure-tk \
27690 html-tk
27691 @: $(MAKE); $(unstage)
27692 @[ -f ./tk/Makefile ] || exit 0; \
27693 r=`${PWD_COMMAND}`; export r; \
27694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27695 $(HOST_EXPORTS) \
27696 for flag in $(EXTRA_HOST_FLAGS) ; do \
27697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27698 done; \
27699 echo "Doing install-html in tk" ; \
27700 (cd $(HOST_SUBDIR)/tk && \
27701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27703 "RANLIB=$${RANLIB}" \
27704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27705 install-html) \
27706 || exit 1
27708 @endif tk
27710 .PHONY: maybe-installcheck-tk installcheck-tk
27711 maybe-installcheck-tk:
27712 @if tk
27713 maybe-installcheck-tk: installcheck-tk
27715 installcheck-tk: \
27716 configure-tk
27717 @: $(MAKE); $(unstage)
27718 @[ -f ./tk/Makefile ] || exit 0; \
27719 r=`${PWD_COMMAND}`; export r; \
27720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27721 $(HOST_EXPORTS) \
27722 for flag in $(EXTRA_HOST_FLAGS) ; do \
27723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27724 done; \
27725 echo "Doing installcheck in tk" ; \
27726 (cd $(HOST_SUBDIR)/tk && \
27727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27729 "RANLIB=$${RANLIB}" \
27730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27731 installcheck) \
27732 || exit 1
27734 @endif tk
27736 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
27737 maybe-mostlyclean-tk:
27738 @if tk
27739 maybe-mostlyclean-tk: mostlyclean-tk
27741 mostlyclean-tk:
27742 @: $(MAKE); $(unstage)
27743 @[ -f ./tk/Makefile ] || exit 0; \
27744 r=`${PWD_COMMAND}`; export r; \
27745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27746 $(HOST_EXPORTS) \
27747 for flag in $(EXTRA_HOST_FLAGS) ; do \
27748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27749 done; \
27750 echo "Doing mostlyclean in tk" ; \
27751 (cd $(HOST_SUBDIR)/tk && \
27752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27754 "RANLIB=$${RANLIB}" \
27755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27756 mostlyclean) \
27757 || exit 1
27759 @endif tk
27761 .PHONY: maybe-clean-tk clean-tk
27762 maybe-clean-tk:
27763 @if tk
27764 maybe-clean-tk: clean-tk
27766 clean-tk:
27767 @: $(MAKE); $(unstage)
27768 @[ -f ./tk/Makefile ] || exit 0; \
27769 r=`${PWD_COMMAND}`; export r; \
27770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27771 $(HOST_EXPORTS) \
27772 for flag in $(EXTRA_HOST_FLAGS) ; do \
27773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27774 done; \
27775 echo "Doing clean in tk" ; \
27776 (cd $(HOST_SUBDIR)/tk && \
27777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27779 "RANLIB=$${RANLIB}" \
27780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27781 clean) \
27782 || exit 1
27784 @endif tk
27786 .PHONY: maybe-distclean-tk distclean-tk
27787 maybe-distclean-tk:
27788 @if tk
27789 maybe-distclean-tk: distclean-tk
27791 distclean-tk:
27792 @: $(MAKE); $(unstage)
27793 @[ -f ./tk/Makefile ] || exit 0; \
27794 r=`${PWD_COMMAND}`; export r; \
27795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27796 $(HOST_EXPORTS) \
27797 for flag in $(EXTRA_HOST_FLAGS) ; do \
27798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27799 done; \
27800 echo "Doing distclean in tk" ; \
27801 (cd $(HOST_SUBDIR)/tk && \
27802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27804 "RANLIB=$${RANLIB}" \
27805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27806 distclean) \
27807 || exit 1
27809 @endif tk
27811 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
27812 maybe-maintainer-clean-tk:
27813 @if tk
27814 maybe-maintainer-clean-tk: maintainer-clean-tk
27816 maintainer-clean-tk:
27817 @: $(MAKE); $(unstage)
27818 @[ -f ./tk/Makefile ] || exit 0; \
27819 r=`${PWD_COMMAND}`; export r; \
27820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27821 $(HOST_EXPORTS) \
27822 for flag in $(EXTRA_HOST_FLAGS) ; do \
27823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27824 done; \
27825 echo "Doing maintainer-clean in tk" ; \
27826 (cd $(HOST_SUBDIR)/tk && \
27827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27829 "RANLIB=$${RANLIB}" \
27830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27831 maintainer-clean) \
27832 || exit 1
27834 @endif tk
27838 .PHONY: configure-libtermcap maybe-configure-libtermcap
27839 maybe-configure-libtermcap:
27840 @if gcc-bootstrap
27841 configure-libtermcap: stage_current
27842 @endif gcc-bootstrap
27843 @if libtermcap
27844 maybe-configure-libtermcap: configure-libtermcap
27845 configure-libtermcap:
27846 @: $(MAKE); $(unstage)
27847 @r=`${PWD_COMMAND}`; export r; \
27848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27849 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
27850 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
27851 $(HOST_EXPORTS) \
27852 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
27853 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
27854 case $(srcdir) in \
27855 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27856 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
27857 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27858 esac; \
27859 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
27860 libsrcdir="$$s/libtermcap"; \
27861 $(SHELL) $${libsrcdir}/configure \
27862 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27863 --target=${target_alias} $${srcdiroption} \
27864 || exit 1
27865 @endif libtermcap
27871 .PHONY: all-libtermcap maybe-all-libtermcap
27872 maybe-all-libtermcap:
27873 @if gcc-bootstrap
27874 all-libtermcap: stage_current
27875 @endif gcc-bootstrap
27876 @if libtermcap
27877 TARGET-libtermcap=all
27878 maybe-all-libtermcap: all-libtermcap
27879 all-libtermcap: configure-libtermcap
27880 @: $(MAKE); $(unstage)
27881 @r=`${PWD_COMMAND}`; export r; \
27882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27883 $(HOST_EXPORTS) \
27884 (cd $(HOST_SUBDIR)/libtermcap && \
27885 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
27886 $(TARGET-libtermcap))
27887 @endif libtermcap
27892 .PHONY: check-libtermcap maybe-check-libtermcap
27893 maybe-check-libtermcap:
27894 @if libtermcap
27895 maybe-check-libtermcap: check-libtermcap
27897 check-libtermcap:
27899 @endif libtermcap
27901 .PHONY: install-libtermcap maybe-install-libtermcap
27902 maybe-install-libtermcap:
27903 @if libtermcap
27904 maybe-install-libtermcap: install-libtermcap
27906 install-libtermcap: installdirs
27907 @: $(MAKE); $(unstage)
27908 @r=`${PWD_COMMAND}`; export r; \
27909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27910 $(HOST_EXPORTS) \
27911 (cd $(HOST_SUBDIR)/libtermcap && \
27912 $(MAKE) $(FLAGS_TO_PASS) install)
27914 @endif libtermcap
27916 .PHONY: install-strip-libtermcap maybe-install-strip-libtermcap
27917 maybe-install-strip-libtermcap:
27918 @if libtermcap
27919 maybe-install-strip-libtermcap: install-strip-libtermcap
27921 install-strip-libtermcap: installdirs
27922 @: $(MAKE); $(unstage)
27923 @r=`${PWD_COMMAND}`; export r; \
27924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27925 $(HOST_EXPORTS) \
27926 (cd $(HOST_SUBDIR)/libtermcap && \
27927 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27929 @endif libtermcap
27931 # Other targets (info, dvi, pdf, etc.)
27933 .PHONY: maybe-info-libtermcap info-libtermcap
27934 maybe-info-libtermcap:
27935 @if libtermcap
27936 maybe-info-libtermcap: info-libtermcap
27938 info-libtermcap: \
27939 configure-libtermcap
27940 @: $(MAKE); $(unstage)
27941 @[ -f ./libtermcap/Makefile ] || exit 0; \
27942 r=`${PWD_COMMAND}`; export r; \
27943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27944 $(HOST_EXPORTS) \
27945 for flag in $(EXTRA_HOST_FLAGS) ; do \
27946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27947 done; \
27948 echo "Doing info in libtermcap" ; \
27949 (cd $(HOST_SUBDIR)/libtermcap && \
27950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27952 "RANLIB=$${RANLIB}" \
27953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27954 info) \
27955 || exit 1
27957 @endif libtermcap
27959 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
27960 maybe-dvi-libtermcap:
27961 @if libtermcap
27962 maybe-dvi-libtermcap: dvi-libtermcap
27964 dvi-libtermcap: \
27965 configure-libtermcap
27966 @: $(MAKE); $(unstage)
27967 @[ -f ./libtermcap/Makefile ] || exit 0; \
27968 r=`${PWD_COMMAND}`; export r; \
27969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27970 $(HOST_EXPORTS) \
27971 for flag in $(EXTRA_HOST_FLAGS) ; do \
27972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27973 done; \
27974 echo "Doing dvi in libtermcap" ; \
27975 (cd $(HOST_SUBDIR)/libtermcap && \
27976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27978 "RANLIB=$${RANLIB}" \
27979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27980 dvi) \
27981 || exit 1
27983 @endif libtermcap
27985 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
27986 maybe-pdf-libtermcap:
27987 @if libtermcap
27988 maybe-pdf-libtermcap: pdf-libtermcap
27990 pdf-libtermcap: \
27991 configure-libtermcap
27992 @: $(MAKE); $(unstage)
27993 @[ -f ./libtermcap/Makefile ] || exit 0; \
27994 r=`${PWD_COMMAND}`; export r; \
27995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27996 $(HOST_EXPORTS) \
27997 for flag in $(EXTRA_HOST_FLAGS) ; do \
27998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27999 done; \
28000 echo "Doing pdf in libtermcap" ; \
28001 (cd $(HOST_SUBDIR)/libtermcap && \
28002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28004 "RANLIB=$${RANLIB}" \
28005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28006 pdf) \
28007 || exit 1
28009 @endif libtermcap
28011 .PHONY: maybe-html-libtermcap html-libtermcap
28012 maybe-html-libtermcap:
28013 @if libtermcap
28014 maybe-html-libtermcap: html-libtermcap
28016 html-libtermcap: \
28017 configure-libtermcap
28018 @: $(MAKE); $(unstage)
28019 @[ -f ./libtermcap/Makefile ] || exit 0; \
28020 r=`${PWD_COMMAND}`; export r; \
28021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28022 $(HOST_EXPORTS) \
28023 for flag in $(EXTRA_HOST_FLAGS) ; do \
28024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28025 done; \
28026 echo "Doing html in libtermcap" ; \
28027 (cd $(HOST_SUBDIR)/libtermcap && \
28028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28030 "RANLIB=$${RANLIB}" \
28031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28032 html) \
28033 || exit 1
28035 @endif libtermcap
28037 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
28038 maybe-TAGS-libtermcap:
28039 @if libtermcap
28040 maybe-TAGS-libtermcap: TAGS-libtermcap
28042 TAGS-libtermcap: \
28043 configure-libtermcap
28044 @: $(MAKE); $(unstage)
28045 @[ -f ./libtermcap/Makefile ] || exit 0; \
28046 r=`${PWD_COMMAND}`; export r; \
28047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28048 $(HOST_EXPORTS) \
28049 for flag in $(EXTRA_HOST_FLAGS) ; do \
28050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28051 done; \
28052 echo "Doing TAGS in libtermcap" ; \
28053 (cd $(HOST_SUBDIR)/libtermcap && \
28054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28056 "RANLIB=$${RANLIB}" \
28057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28058 TAGS) \
28059 || exit 1
28061 @endif libtermcap
28063 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
28064 maybe-install-info-libtermcap:
28065 @if libtermcap
28066 maybe-install-info-libtermcap: install-info-libtermcap
28068 install-info-libtermcap: \
28069 configure-libtermcap \
28070 info-libtermcap
28071 @: $(MAKE); $(unstage)
28072 @[ -f ./libtermcap/Makefile ] || exit 0; \
28073 r=`${PWD_COMMAND}`; export r; \
28074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28075 $(HOST_EXPORTS) \
28076 for flag in $(EXTRA_HOST_FLAGS) ; do \
28077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28078 done; \
28079 echo "Doing install-info in libtermcap" ; \
28080 (cd $(HOST_SUBDIR)/libtermcap && \
28081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28083 "RANLIB=$${RANLIB}" \
28084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28085 install-info) \
28086 || exit 1
28088 @endif libtermcap
28090 .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap
28091 maybe-install-pdf-libtermcap:
28092 @if libtermcap
28093 maybe-install-pdf-libtermcap: install-pdf-libtermcap
28095 install-pdf-libtermcap: \
28096 configure-libtermcap \
28097 pdf-libtermcap
28098 @: $(MAKE); $(unstage)
28099 @[ -f ./libtermcap/Makefile ] || exit 0; \
28100 r=`${PWD_COMMAND}`; export r; \
28101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28102 $(HOST_EXPORTS) \
28103 for flag in $(EXTRA_HOST_FLAGS) ; do \
28104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28105 done; \
28106 echo "Doing install-pdf in libtermcap" ; \
28107 (cd $(HOST_SUBDIR)/libtermcap && \
28108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28110 "RANLIB=$${RANLIB}" \
28111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28112 install-pdf) \
28113 || exit 1
28115 @endif libtermcap
28117 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
28118 maybe-install-html-libtermcap:
28119 @if libtermcap
28120 maybe-install-html-libtermcap: install-html-libtermcap
28122 install-html-libtermcap: \
28123 configure-libtermcap \
28124 html-libtermcap
28125 @: $(MAKE); $(unstage)
28126 @[ -f ./libtermcap/Makefile ] || exit 0; \
28127 r=`${PWD_COMMAND}`; export r; \
28128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28129 $(HOST_EXPORTS) \
28130 for flag in $(EXTRA_HOST_FLAGS) ; do \
28131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28132 done; \
28133 echo "Doing install-html in libtermcap" ; \
28134 (cd $(HOST_SUBDIR)/libtermcap && \
28135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28137 "RANLIB=$${RANLIB}" \
28138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28139 install-html) \
28140 || exit 1
28142 @endif libtermcap
28144 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
28145 maybe-installcheck-libtermcap:
28146 @if libtermcap
28147 maybe-installcheck-libtermcap: installcheck-libtermcap
28149 installcheck-libtermcap: \
28150 configure-libtermcap
28151 @: $(MAKE); $(unstage)
28152 @[ -f ./libtermcap/Makefile ] || exit 0; \
28153 r=`${PWD_COMMAND}`; export r; \
28154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28155 $(HOST_EXPORTS) \
28156 for flag in $(EXTRA_HOST_FLAGS) ; do \
28157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28158 done; \
28159 echo "Doing installcheck in libtermcap" ; \
28160 (cd $(HOST_SUBDIR)/libtermcap && \
28161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28163 "RANLIB=$${RANLIB}" \
28164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28165 installcheck) \
28166 || exit 1
28168 @endif libtermcap
28170 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
28171 maybe-mostlyclean-libtermcap:
28172 @if libtermcap
28173 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
28175 # libtermcap doesn't support mostlyclean.
28176 mostlyclean-libtermcap:
28178 @endif libtermcap
28180 .PHONY: maybe-clean-libtermcap clean-libtermcap
28181 maybe-clean-libtermcap:
28182 @if libtermcap
28183 maybe-clean-libtermcap: clean-libtermcap
28185 # libtermcap doesn't support clean.
28186 clean-libtermcap:
28188 @endif libtermcap
28190 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
28191 maybe-distclean-libtermcap:
28192 @if libtermcap
28193 maybe-distclean-libtermcap: distclean-libtermcap
28195 # libtermcap doesn't support distclean.
28196 distclean-libtermcap:
28198 @endif libtermcap
28200 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
28201 maybe-maintainer-clean-libtermcap:
28202 @if libtermcap
28203 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
28205 # libtermcap doesn't support maintainer-clean.
28206 maintainer-clean-libtermcap:
28208 @endif libtermcap
28212 .PHONY: configure-utils maybe-configure-utils
28213 maybe-configure-utils:
28214 @if gcc-bootstrap
28215 configure-utils: stage_current
28216 @endif gcc-bootstrap
28217 @if utils
28218 maybe-configure-utils: configure-utils
28219 configure-utils:
28220 @: $(MAKE); $(unstage)
28221 @r=`${PWD_COMMAND}`; export r; \
28222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28223 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
28224 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
28225 $(HOST_EXPORTS) \
28226 echo Configuring in $(HOST_SUBDIR)/utils; \
28227 cd "$(HOST_SUBDIR)/utils" || exit 1; \
28228 case $(srcdir) in \
28229 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28230 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
28231 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28232 esac; \
28233 srcdiroption="--srcdir=$${topdir}/utils"; \
28234 libsrcdir="$$s/utils"; \
28235 $(SHELL) $${libsrcdir}/configure \
28236 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28237 --target=${target_alias} $${srcdiroption} \
28238 || exit 1
28239 @endif utils
28245 .PHONY: all-utils maybe-all-utils
28246 maybe-all-utils:
28247 @if gcc-bootstrap
28248 all-utils: stage_current
28249 @endif gcc-bootstrap
28250 @if utils
28251 TARGET-utils=all
28252 maybe-all-utils: all-utils
28253 all-utils: configure-utils
28254 @: $(MAKE); $(unstage)
28255 @r=`${PWD_COMMAND}`; export r; \
28256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28257 $(HOST_EXPORTS) \
28258 (cd $(HOST_SUBDIR)/utils && \
28259 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
28260 $(TARGET-utils))
28261 @endif utils
28266 .PHONY: check-utils maybe-check-utils
28267 maybe-check-utils:
28268 @if utils
28269 maybe-check-utils: check-utils
28271 check-utils:
28273 @endif utils
28275 .PHONY: install-utils maybe-install-utils
28276 maybe-install-utils:
28277 @if utils
28278 maybe-install-utils: install-utils
28280 install-utils: installdirs
28281 @: $(MAKE); $(unstage)
28282 @r=`${PWD_COMMAND}`; export r; \
28283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28284 $(HOST_EXPORTS) \
28285 (cd $(HOST_SUBDIR)/utils && \
28286 $(MAKE) $(FLAGS_TO_PASS) install)
28288 @endif utils
28290 .PHONY: install-strip-utils maybe-install-strip-utils
28291 maybe-install-strip-utils:
28292 @if utils
28293 maybe-install-strip-utils: install-strip-utils
28295 install-strip-utils: installdirs
28296 @: $(MAKE); $(unstage)
28297 @r=`${PWD_COMMAND}`; export r; \
28298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28299 $(HOST_EXPORTS) \
28300 (cd $(HOST_SUBDIR)/utils && \
28301 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28303 @endif utils
28305 # Other targets (info, dvi, pdf, etc.)
28307 .PHONY: maybe-info-utils info-utils
28308 maybe-info-utils:
28309 @if utils
28310 maybe-info-utils: info-utils
28312 info-utils: \
28313 configure-utils
28314 @: $(MAKE); $(unstage)
28315 @[ -f ./utils/Makefile ] || exit 0; \
28316 r=`${PWD_COMMAND}`; export r; \
28317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28318 $(HOST_EXPORTS) \
28319 for flag in $(EXTRA_HOST_FLAGS) ; do \
28320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28321 done; \
28322 echo "Doing info in utils" ; \
28323 (cd $(HOST_SUBDIR)/utils && \
28324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28326 "RANLIB=$${RANLIB}" \
28327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28328 info) \
28329 || exit 1
28331 @endif utils
28333 .PHONY: maybe-dvi-utils dvi-utils
28334 maybe-dvi-utils:
28335 @if utils
28336 maybe-dvi-utils: dvi-utils
28338 dvi-utils: \
28339 configure-utils
28340 @: $(MAKE); $(unstage)
28341 @[ -f ./utils/Makefile ] || exit 0; \
28342 r=`${PWD_COMMAND}`; export r; \
28343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28344 $(HOST_EXPORTS) \
28345 for flag in $(EXTRA_HOST_FLAGS) ; do \
28346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28347 done; \
28348 echo "Doing dvi in utils" ; \
28349 (cd $(HOST_SUBDIR)/utils && \
28350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28352 "RANLIB=$${RANLIB}" \
28353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28354 dvi) \
28355 || exit 1
28357 @endif utils
28359 .PHONY: maybe-pdf-utils pdf-utils
28360 maybe-pdf-utils:
28361 @if utils
28362 maybe-pdf-utils: pdf-utils
28364 pdf-utils: \
28365 configure-utils
28366 @: $(MAKE); $(unstage)
28367 @[ -f ./utils/Makefile ] || exit 0; \
28368 r=`${PWD_COMMAND}`; export r; \
28369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28370 $(HOST_EXPORTS) \
28371 for flag in $(EXTRA_HOST_FLAGS) ; do \
28372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28373 done; \
28374 echo "Doing pdf in utils" ; \
28375 (cd $(HOST_SUBDIR)/utils && \
28376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28378 "RANLIB=$${RANLIB}" \
28379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28380 pdf) \
28381 || exit 1
28383 @endif utils
28385 .PHONY: maybe-html-utils html-utils
28386 maybe-html-utils:
28387 @if utils
28388 maybe-html-utils: html-utils
28390 html-utils: \
28391 configure-utils
28392 @: $(MAKE); $(unstage)
28393 @[ -f ./utils/Makefile ] || exit 0; \
28394 r=`${PWD_COMMAND}`; export r; \
28395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28396 $(HOST_EXPORTS) \
28397 for flag in $(EXTRA_HOST_FLAGS) ; do \
28398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28399 done; \
28400 echo "Doing html in utils" ; \
28401 (cd $(HOST_SUBDIR)/utils && \
28402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28404 "RANLIB=$${RANLIB}" \
28405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28406 html) \
28407 || exit 1
28409 @endif utils
28411 .PHONY: maybe-TAGS-utils TAGS-utils
28412 maybe-TAGS-utils:
28413 @if utils
28414 maybe-TAGS-utils: TAGS-utils
28416 TAGS-utils: \
28417 configure-utils
28418 @: $(MAKE); $(unstage)
28419 @[ -f ./utils/Makefile ] || exit 0; \
28420 r=`${PWD_COMMAND}`; export r; \
28421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28422 $(HOST_EXPORTS) \
28423 for flag in $(EXTRA_HOST_FLAGS) ; do \
28424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28425 done; \
28426 echo "Doing TAGS in utils" ; \
28427 (cd $(HOST_SUBDIR)/utils && \
28428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28430 "RANLIB=$${RANLIB}" \
28431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28432 TAGS) \
28433 || exit 1
28435 @endif utils
28437 .PHONY: maybe-install-info-utils install-info-utils
28438 maybe-install-info-utils:
28439 @if utils
28440 maybe-install-info-utils: install-info-utils
28442 install-info-utils: \
28443 configure-utils \
28444 info-utils
28445 @: $(MAKE); $(unstage)
28446 @[ -f ./utils/Makefile ] || exit 0; \
28447 r=`${PWD_COMMAND}`; export r; \
28448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28449 $(HOST_EXPORTS) \
28450 for flag in $(EXTRA_HOST_FLAGS) ; do \
28451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28452 done; \
28453 echo "Doing install-info in utils" ; \
28454 (cd $(HOST_SUBDIR)/utils && \
28455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28457 "RANLIB=$${RANLIB}" \
28458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28459 install-info) \
28460 || exit 1
28462 @endif utils
28464 .PHONY: maybe-install-pdf-utils install-pdf-utils
28465 maybe-install-pdf-utils:
28466 @if utils
28467 maybe-install-pdf-utils: install-pdf-utils
28469 install-pdf-utils: \
28470 configure-utils \
28471 pdf-utils
28472 @: $(MAKE); $(unstage)
28473 @[ -f ./utils/Makefile ] || exit 0; \
28474 r=`${PWD_COMMAND}`; export r; \
28475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28476 $(HOST_EXPORTS) \
28477 for flag in $(EXTRA_HOST_FLAGS) ; do \
28478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28479 done; \
28480 echo "Doing install-pdf in utils" ; \
28481 (cd $(HOST_SUBDIR)/utils && \
28482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28484 "RANLIB=$${RANLIB}" \
28485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28486 install-pdf) \
28487 || exit 1
28489 @endif utils
28491 .PHONY: maybe-install-html-utils install-html-utils
28492 maybe-install-html-utils:
28493 @if utils
28494 maybe-install-html-utils: install-html-utils
28496 install-html-utils: \
28497 configure-utils \
28498 html-utils
28499 @: $(MAKE); $(unstage)
28500 @[ -f ./utils/Makefile ] || exit 0; \
28501 r=`${PWD_COMMAND}`; export r; \
28502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28503 $(HOST_EXPORTS) \
28504 for flag in $(EXTRA_HOST_FLAGS) ; do \
28505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28506 done; \
28507 echo "Doing install-html in utils" ; \
28508 (cd $(HOST_SUBDIR)/utils && \
28509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28511 "RANLIB=$${RANLIB}" \
28512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28513 install-html) \
28514 || exit 1
28516 @endif utils
28518 .PHONY: maybe-installcheck-utils installcheck-utils
28519 maybe-installcheck-utils:
28520 @if utils
28521 maybe-installcheck-utils: installcheck-utils
28523 installcheck-utils: \
28524 configure-utils
28525 @: $(MAKE); $(unstage)
28526 @[ -f ./utils/Makefile ] || exit 0; \
28527 r=`${PWD_COMMAND}`; export r; \
28528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28529 $(HOST_EXPORTS) \
28530 for flag in $(EXTRA_HOST_FLAGS) ; do \
28531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28532 done; \
28533 echo "Doing installcheck in utils" ; \
28534 (cd $(HOST_SUBDIR)/utils && \
28535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28537 "RANLIB=$${RANLIB}" \
28538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28539 installcheck) \
28540 || exit 1
28542 @endif utils
28544 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
28545 maybe-mostlyclean-utils:
28546 @if utils
28547 maybe-mostlyclean-utils: mostlyclean-utils
28549 mostlyclean-utils:
28550 @: $(MAKE); $(unstage)
28551 @[ -f ./utils/Makefile ] || exit 0; \
28552 r=`${PWD_COMMAND}`; export r; \
28553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28554 $(HOST_EXPORTS) \
28555 for flag in $(EXTRA_HOST_FLAGS) ; do \
28556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28557 done; \
28558 echo "Doing mostlyclean in utils" ; \
28559 (cd $(HOST_SUBDIR)/utils && \
28560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28562 "RANLIB=$${RANLIB}" \
28563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28564 mostlyclean) \
28565 || exit 1
28567 @endif utils
28569 .PHONY: maybe-clean-utils clean-utils
28570 maybe-clean-utils:
28571 @if utils
28572 maybe-clean-utils: clean-utils
28574 clean-utils:
28575 @: $(MAKE); $(unstage)
28576 @[ -f ./utils/Makefile ] || exit 0; \
28577 r=`${PWD_COMMAND}`; export r; \
28578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28579 $(HOST_EXPORTS) \
28580 for flag in $(EXTRA_HOST_FLAGS) ; do \
28581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28582 done; \
28583 echo "Doing clean in utils" ; \
28584 (cd $(HOST_SUBDIR)/utils && \
28585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28587 "RANLIB=$${RANLIB}" \
28588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28589 clean) \
28590 || exit 1
28592 @endif utils
28594 .PHONY: maybe-distclean-utils distclean-utils
28595 maybe-distclean-utils:
28596 @if utils
28597 maybe-distclean-utils: distclean-utils
28599 distclean-utils:
28600 @: $(MAKE); $(unstage)
28601 @[ -f ./utils/Makefile ] || exit 0; \
28602 r=`${PWD_COMMAND}`; export r; \
28603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28604 $(HOST_EXPORTS) \
28605 for flag in $(EXTRA_HOST_FLAGS) ; do \
28606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28607 done; \
28608 echo "Doing distclean in utils" ; \
28609 (cd $(HOST_SUBDIR)/utils && \
28610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28612 "RANLIB=$${RANLIB}" \
28613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28614 distclean) \
28615 || exit 1
28617 @endif utils
28619 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
28620 maybe-maintainer-clean-utils:
28621 @if utils
28622 maybe-maintainer-clean-utils: maintainer-clean-utils
28624 maintainer-clean-utils:
28625 @: $(MAKE); $(unstage)
28626 @[ -f ./utils/Makefile ] || exit 0; \
28627 r=`${PWD_COMMAND}`; export r; \
28628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28629 $(HOST_EXPORTS) \
28630 for flag in $(EXTRA_HOST_FLAGS) ; do \
28631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28632 done; \
28633 echo "Doing maintainer-clean in utils" ; \
28634 (cd $(HOST_SUBDIR)/utils && \
28635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28637 "RANLIB=$${RANLIB}" \
28638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28639 maintainer-clean) \
28640 || exit 1
28642 @endif utils
28646 .PHONY: configure-gnattools maybe-configure-gnattools
28647 maybe-configure-gnattools:
28648 @if gcc-bootstrap
28649 configure-gnattools: stage_current
28650 @endif gcc-bootstrap
28651 @if gnattools
28652 maybe-configure-gnattools: configure-gnattools
28653 configure-gnattools:
28654 @: $(MAKE); $(unstage)
28655 @r=`${PWD_COMMAND}`; export r; \
28656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28657 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
28658 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
28659 $(HOST_EXPORTS) \
28660 echo Configuring in $(HOST_SUBDIR)/gnattools; \
28661 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
28662 case $(srcdir) in \
28663 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28664 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
28665 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28666 esac; \
28667 srcdiroption="--srcdir=$${topdir}/gnattools"; \
28668 libsrcdir="$$s/gnattools"; \
28669 $(SHELL) $${libsrcdir}/configure \
28670 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28671 --target=${target_alias} $${srcdiroption} \
28672 || exit 1
28673 @endif gnattools
28679 .PHONY: all-gnattools maybe-all-gnattools
28680 maybe-all-gnattools:
28681 @if gcc-bootstrap
28682 all-gnattools: stage_current
28683 @endif gcc-bootstrap
28684 @if gnattools
28685 TARGET-gnattools=all
28686 maybe-all-gnattools: all-gnattools
28687 all-gnattools: configure-gnattools
28688 @: $(MAKE); $(unstage)
28689 @r=`${PWD_COMMAND}`; export r; \
28690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28691 $(HOST_EXPORTS) \
28692 (cd $(HOST_SUBDIR)/gnattools && \
28693 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
28694 $(TARGET-gnattools))
28695 @endif gnattools
28700 .PHONY: check-gnattools maybe-check-gnattools
28701 maybe-check-gnattools:
28702 @if gnattools
28703 maybe-check-gnattools: check-gnattools
28705 check-gnattools:
28706 @: $(MAKE); $(unstage)
28707 @r=`${PWD_COMMAND}`; export r; \
28708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28709 $(HOST_EXPORTS) \
28710 (cd $(HOST_SUBDIR)/gnattools && \
28711 $(MAKE) $(FLAGS_TO_PASS) check)
28713 @endif gnattools
28715 .PHONY: install-gnattools maybe-install-gnattools
28716 maybe-install-gnattools:
28717 @if gnattools
28718 maybe-install-gnattools: install-gnattools
28720 install-gnattools: installdirs
28721 @: $(MAKE); $(unstage)
28722 @r=`${PWD_COMMAND}`; export r; \
28723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28724 $(HOST_EXPORTS) \
28725 (cd $(HOST_SUBDIR)/gnattools && \
28726 $(MAKE) $(FLAGS_TO_PASS) install)
28728 @endif gnattools
28730 .PHONY: install-strip-gnattools maybe-install-strip-gnattools
28731 maybe-install-strip-gnattools:
28732 @if gnattools
28733 maybe-install-strip-gnattools: install-strip-gnattools
28735 install-strip-gnattools: installdirs
28736 @: $(MAKE); $(unstage)
28737 @r=`${PWD_COMMAND}`; export r; \
28738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28739 $(HOST_EXPORTS) \
28740 (cd $(HOST_SUBDIR)/gnattools && \
28741 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28743 @endif gnattools
28745 # Other targets (info, dvi, pdf, etc.)
28747 .PHONY: maybe-info-gnattools info-gnattools
28748 maybe-info-gnattools:
28749 @if gnattools
28750 maybe-info-gnattools: info-gnattools
28752 info-gnattools: \
28753 configure-gnattools
28754 @: $(MAKE); $(unstage)
28755 @[ -f ./gnattools/Makefile ] || exit 0; \
28756 r=`${PWD_COMMAND}`; export r; \
28757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28758 $(HOST_EXPORTS) \
28759 for flag in $(EXTRA_HOST_FLAGS) ; do \
28760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28761 done; \
28762 echo "Doing info in gnattools" ; \
28763 (cd $(HOST_SUBDIR)/gnattools && \
28764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28766 "RANLIB=$${RANLIB}" \
28767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28768 info) \
28769 || exit 1
28771 @endif gnattools
28773 .PHONY: maybe-dvi-gnattools dvi-gnattools
28774 maybe-dvi-gnattools:
28775 @if gnattools
28776 maybe-dvi-gnattools: dvi-gnattools
28778 dvi-gnattools: \
28779 configure-gnattools
28780 @: $(MAKE); $(unstage)
28781 @[ -f ./gnattools/Makefile ] || exit 0; \
28782 r=`${PWD_COMMAND}`; export r; \
28783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28784 $(HOST_EXPORTS) \
28785 for flag in $(EXTRA_HOST_FLAGS) ; do \
28786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28787 done; \
28788 echo "Doing dvi in gnattools" ; \
28789 (cd $(HOST_SUBDIR)/gnattools && \
28790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28792 "RANLIB=$${RANLIB}" \
28793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28794 dvi) \
28795 || exit 1
28797 @endif gnattools
28799 .PHONY: maybe-pdf-gnattools pdf-gnattools
28800 maybe-pdf-gnattools:
28801 @if gnattools
28802 maybe-pdf-gnattools: pdf-gnattools
28804 pdf-gnattools: \
28805 configure-gnattools
28806 @: $(MAKE); $(unstage)
28807 @[ -f ./gnattools/Makefile ] || exit 0; \
28808 r=`${PWD_COMMAND}`; export r; \
28809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28810 $(HOST_EXPORTS) \
28811 for flag in $(EXTRA_HOST_FLAGS) ; do \
28812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28813 done; \
28814 echo "Doing pdf in gnattools" ; \
28815 (cd $(HOST_SUBDIR)/gnattools && \
28816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28818 "RANLIB=$${RANLIB}" \
28819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28820 pdf) \
28821 || exit 1
28823 @endif gnattools
28825 .PHONY: maybe-html-gnattools html-gnattools
28826 maybe-html-gnattools:
28827 @if gnattools
28828 maybe-html-gnattools: html-gnattools
28830 html-gnattools: \
28831 configure-gnattools
28832 @: $(MAKE); $(unstage)
28833 @[ -f ./gnattools/Makefile ] || exit 0; \
28834 r=`${PWD_COMMAND}`; export r; \
28835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28836 $(HOST_EXPORTS) \
28837 for flag in $(EXTRA_HOST_FLAGS) ; do \
28838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28839 done; \
28840 echo "Doing html in gnattools" ; \
28841 (cd $(HOST_SUBDIR)/gnattools && \
28842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28844 "RANLIB=$${RANLIB}" \
28845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28846 html) \
28847 || exit 1
28849 @endif gnattools
28851 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
28852 maybe-TAGS-gnattools:
28853 @if gnattools
28854 maybe-TAGS-gnattools: TAGS-gnattools
28856 TAGS-gnattools: \
28857 configure-gnattools
28858 @: $(MAKE); $(unstage)
28859 @[ -f ./gnattools/Makefile ] || exit 0; \
28860 r=`${PWD_COMMAND}`; export r; \
28861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28862 $(HOST_EXPORTS) \
28863 for flag in $(EXTRA_HOST_FLAGS) ; do \
28864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28865 done; \
28866 echo "Doing TAGS in gnattools" ; \
28867 (cd $(HOST_SUBDIR)/gnattools && \
28868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28870 "RANLIB=$${RANLIB}" \
28871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28872 TAGS) \
28873 || exit 1
28875 @endif gnattools
28877 .PHONY: maybe-install-info-gnattools install-info-gnattools
28878 maybe-install-info-gnattools:
28879 @if gnattools
28880 maybe-install-info-gnattools: install-info-gnattools
28882 install-info-gnattools: \
28883 configure-gnattools \
28884 info-gnattools
28885 @: $(MAKE); $(unstage)
28886 @[ -f ./gnattools/Makefile ] || exit 0; \
28887 r=`${PWD_COMMAND}`; export r; \
28888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28889 $(HOST_EXPORTS) \
28890 for flag in $(EXTRA_HOST_FLAGS) ; do \
28891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28892 done; \
28893 echo "Doing install-info in gnattools" ; \
28894 (cd $(HOST_SUBDIR)/gnattools && \
28895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28897 "RANLIB=$${RANLIB}" \
28898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28899 install-info) \
28900 || exit 1
28902 @endif gnattools
28904 .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools
28905 maybe-install-pdf-gnattools:
28906 @if gnattools
28907 maybe-install-pdf-gnattools: install-pdf-gnattools
28909 install-pdf-gnattools: \
28910 configure-gnattools \
28911 pdf-gnattools
28912 @: $(MAKE); $(unstage)
28913 @[ -f ./gnattools/Makefile ] || exit 0; \
28914 r=`${PWD_COMMAND}`; export r; \
28915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28916 $(HOST_EXPORTS) \
28917 for flag in $(EXTRA_HOST_FLAGS) ; do \
28918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28919 done; \
28920 echo "Doing install-pdf in gnattools" ; \
28921 (cd $(HOST_SUBDIR)/gnattools && \
28922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28924 "RANLIB=$${RANLIB}" \
28925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28926 install-pdf) \
28927 || exit 1
28929 @endif gnattools
28931 .PHONY: maybe-install-html-gnattools install-html-gnattools
28932 maybe-install-html-gnattools:
28933 @if gnattools
28934 maybe-install-html-gnattools: install-html-gnattools
28936 install-html-gnattools: \
28937 configure-gnattools \
28938 html-gnattools
28939 @: $(MAKE); $(unstage)
28940 @[ -f ./gnattools/Makefile ] || exit 0; \
28941 r=`${PWD_COMMAND}`; export r; \
28942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28943 $(HOST_EXPORTS) \
28944 for flag in $(EXTRA_HOST_FLAGS) ; do \
28945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28946 done; \
28947 echo "Doing install-html in gnattools" ; \
28948 (cd $(HOST_SUBDIR)/gnattools && \
28949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28951 "RANLIB=$${RANLIB}" \
28952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28953 install-html) \
28954 || exit 1
28956 @endif gnattools
28958 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
28959 maybe-installcheck-gnattools:
28960 @if gnattools
28961 maybe-installcheck-gnattools: installcheck-gnattools
28963 installcheck-gnattools: \
28964 configure-gnattools
28965 @: $(MAKE); $(unstage)
28966 @[ -f ./gnattools/Makefile ] || exit 0; \
28967 r=`${PWD_COMMAND}`; export r; \
28968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28969 $(HOST_EXPORTS) \
28970 for flag in $(EXTRA_HOST_FLAGS) ; do \
28971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28972 done; \
28973 echo "Doing installcheck in gnattools" ; \
28974 (cd $(HOST_SUBDIR)/gnattools && \
28975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28977 "RANLIB=$${RANLIB}" \
28978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28979 installcheck) \
28980 || exit 1
28982 @endif gnattools
28984 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
28985 maybe-mostlyclean-gnattools:
28986 @if gnattools
28987 maybe-mostlyclean-gnattools: mostlyclean-gnattools
28989 mostlyclean-gnattools:
28990 @: $(MAKE); $(unstage)
28991 @[ -f ./gnattools/Makefile ] || exit 0; \
28992 r=`${PWD_COMMAND}`; export r; \
28993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28994 $(HOST_EXPORTS) \
28995 for flag in $(EXTRA_HOST_FLAGS) ; do \
28996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28997 done; \
28998 echo "Doing mostlyclean in gnattools" ; \
28999 (cd $(HOST_SUBDIR)/gnattools && \
29000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29002 "RANLIB=$${RANLIB}" \
29003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29004 mostlyclean) \
29005 || exit 1
29007 @endif gnattools
29009 .PHONY: maybe-clean-gnattools clean-gnattools
29010 maybe-clean-gnattools:
29011 @if gnattools
29012 maybe-clean-gnattools: clean-gnattools
29014 clean-gnattools:
29015 @: $(MAKE); $(unstage)
29016 @[ -f ./gnattools/Makefile ] || exit 0; \
29017 r=`${PWD_COMMAND}`; export r; \
29018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29019 $(HOST_EXPORTS) \
29020 for flag in $(EXTRA_HOST_FLAGS) ; do \
29021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29022 done; \
29023 echo "Doing clean in gnattools" ; \
29024 (cd $(HOST_SUBDIR)/gnattools && \
29025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29027 "RANLIB=$${RANLIB}" \
29028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29029 clean) \
29030 || exit 1
29032 @endif gnattools
29034 .PHONY: maybe-distclean-gnattools distclean-gnattools
29035 maybe-distclean-gnattools:
29036 @if gnattools
29037 maybe-distclean-gnattools: distclean-gnattools
29039 distclean-gnattools:
29040 @: $(MAKE); $(unstage)
29041 @[ -f ./gnattools/Makefile ] || exit 0; \
29042 r=`${PWD_COMMAND}`; export r; \
29043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29044 $(HOST_EXPORTS) \
29045 for flag in $(EXTRA_HOST_FLAGS) ; do \
29046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29047 done; \
29048 echo "Doing distclean in gnattools" ; \
29049 (cd $(HOST_SUBDIR)/gnattools && \
29050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29052 "RANLIB=$${RANLIB}" \
29053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29054 distclean) \
29055 || exit 1
29057 @endif gnattools
29059 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
29060 maybe-maintainer-clean-gnattools:
29061 @if gnattools
29062 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
29064 maintainer-clean-gnattools:
29065 @: $(MAKE); $(unstage)
29066 @[ -f ./gnattools/Makefile ] || exit 0; \
29067 r=`${PWD_COMMAND}`; export r; \
29068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29069 $(HOST_EXPORTS) \
29070 for flag in $(EXTRA_HOST_FLAGS) ; do \
29071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29072 done; \
29073 echo "Doing maintainer-clean in gnattools" ; \
29074 (cd $(HOST_SUBDIR)/gnattools && \
29075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29077 "RANLIB=$${RANLIB}" \
29078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29079 maintainer-clean) \
29080 || exit 1
29082 @endif gnattools
29086 .PHONY: configure-lto-plugin maybe-configure-lto-plugin
29087 maybe-configure-lto-plugin:
29088 @if gcc-bootstrap
29089 configure-lto-plugin: stage_current
29090 @endif gcc-bootstrap
29091 @if lto-plugin
29092 maybe-configure-lto-plugin: configure-lto-plugin
29093 configure-lto-plugin:
29094 @r=`${PWD_COMMAND}`; export r; \
29095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29096 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29097 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29098 $(HOST_EXPORTS) \
29099 echo Configuring in $(HOST_SUBDIR)/lto-plugin; \
29100 cd "$(HOST_SUBDIR)/lto-plugin" || exit 1; \
29101 case $(srcdir) in \
29102 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29103 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29104 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29105 esac; \
29106 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29107 libsrcdir="$$s/lto-plugin"; \
29108 $(SHELL) $${libsrcdir}/configure \
29109 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29110 --target=${target_alias} $${srcdiroption} --enable-shared \
29111 || exit 1
29112 @endif lto-plugin
29116 .PHONY: configure-stage1-lto-plugin maybe-configure-stage1-lto-plugin
29117 maybe-configure-stage1-lto-plugin:
29118 @if lto-plugin-bootstrap
29119 maybe-configure-stage1-lto-plugin: configure-stage1-lto-plugin
29120 configure-stage1-lto-plugin:
29121 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
29122 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29123 @r=`${PWD_COMMAND}`; export r; \
29124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29125 TFLAGS="$(STAGE1_TFLAGS)"; \
29126 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29127 $(HOST_EXPORTS) \
29128 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
29129 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
29130 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
29131 echo Configuring stage 1 in $(HOST_SUBDIR)/lto-plugin ; \
29132 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29133 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29134 case $(srcdir) in \
29135 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29136 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29137 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29138 esac; \
29139 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29140 libsrcdir="$$s/lto-plugin"; \
29141 $(SHELL) $${libsrcdir}/configure \
29142 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29143 --target=${target_alias} $${srcdiroption} \
29144 $(STAGE1_CONFIGURE_FLAGS) \
29145 --enable-shared
29146 @endif lto-plugin-bootstrap
29148 .PHONY: configure-stage2-lto-plugin maybe-configure-stage2-lto-plugin
29149 maybe-configure-stage2-lto-plugin:
29150 @if lto-plugin-bootstrap
29151 maybe-configure-stage2-lto-plugin: configure-stage2-lto-plugin
29152 configure-stage2-lto-plugin:
29153 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
29154 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29155 @r=`${PWD_COMMAND}`; export r; \
29156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29157 TFLAGS="$(STAGE2_TFLAGS)"; \
29158 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29159 $(HOST_EXPORTS) \
29160 $(POSTSTAGE1_HOST_EXPORTS) \
29161 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
29162 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
29163 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
29164 echo Configuring stage 2 in $(HOST_SUBDIR)/lto-plugin ; \
29165 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29166 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29167 case $(srcdir) in \
29168 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29169 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29170 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29171 esac; \
29172 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29173 libsrcdir="$$s/lto-plugin"; \
29174 $(SHELL) $${libsrcdir}/configure \
29175 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29176 --target=${target_alias} $${srcdiroption} \
29177 --with-build-libsubdir=$(HOST_SUBDIR) \
29178 $(STAGE2_CONFIGURE_FLAGS) \
29179 --enable-shared
29180 @endif lto-plugin-bootstrap
29182 .PHONY: configure-stage3-lto-plugin maybe-configure-stage3-lto-plugin
29183 maybe-configure-stage3-lto-plugin:
29184 @if lto-plugin-bootstrap
29185 maybe-configure-stage3-lto-plugin: configure-stage3-lto-plugin
29186 configure-stage3-lto-plugin:
29187 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
29188 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29189 @r=`${PWD_COMMAND}`; export r; \
29190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29191 TFLAGS="$(STAGE3_TFLAGS)"; \
29192 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29193 $(HOST_EXPORTS) \
29194 $(POSTSTAGE1_HOST_EXPORTS) \
29195 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
29196 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
29197 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
29198 echo Configuring stage 3 in $(HOST_SUBDIR)/lto-plugin ; \
29199 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29200 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29201 case $(srcdir) in \
29202 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29203 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29204 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29205 esac; \
29206 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29207 libsrcdir="$$s/lto-plugin"; \
29208 $(SHELL) $${libsrcdir}/configure \
29209 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29210 --target=${target_alias} $${srcdiroption} \
29211 --with-build-libsubdir=$(HOST_SUBDIR) \
29212 $(STAGE3_CONFIGURE_FLAGS) \
29213 --enable-shared
29214 @endif lto-plugin-bootstrap
29216 .PHONY: configure-stage4-lto-plugin maybe-configure-stage4-lto-plugin
29217 maybe-configure-stage4-lto-plugin:
29218 @if lto-plugin-bootstrap
29219 maybe-configure-stage4-lto-plugin: configure-stage4-lto-plugin
29220 configure-stage4-lto-plugin:
29221 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
29222 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29223 @r=`${PWD_COMMAND}`; export r; \
29224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29225 TFLAGS="$(STAGE4_TFLAGS)"; \
29226 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29227 $(HOST_EXPORTS) \
29228 $(POSTSTAGE1_HOST_EXPORTS) \
29229 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
29230 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
29231 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
29232 echo Configuring stage 4 in $(HOST_SUBDIR)/lto-plugin ; \
29233 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29234 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29235 case $(srcdir) in \
29236 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29237 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29238 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29239 esac; \
29240 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29241 libsrcdir="$$s/lto-plugin"; \
29242 $(SHELL) $${libsrcdir}/configure \
29243 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29244 --target=${target_alias} $${srcdiroption} \
29245 --with-build-libsubdir=$(HOST_SUBDIR) \
29246 $(STAGE4_CONFIGURE_FLAGS) \
29247 --enable-shared
29248 @endif lto-plugin-bootstrap
29250 .PHONY: configure-stageprofile-lto-plugin maybe-configure-stageprofile-lto-plugin
29251 maybe-configure-stageprofile-lto-plugin:
29252 @if lto-plugin-bootstrap
29253 maybe-configure-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
29254 configure-stageprofile-lto-plugin:
29255 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
29256 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29257 @r=`${PWD_COMMAND}`; export r; \
29258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29259 TFLAGS="$(STAGEprofile_TFLAGS)"; \
29260 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29261 $(HOST_EXPORTS) \
29262 $(POSTSTAGE1_HOST_EXPORTS) \
29263 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
29264 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
29265 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
29266 echo Configuring stage profile in $(HOST_SUBDIR)/lto-plugin ; \
29267 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29268 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29269 case $(srcdir) in \
29270 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29271 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29272 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29273 esac; \
29274 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29275 libsrcdir="$$s/lto-plugin"; \
29276 $(SHELL) $${libsrcdir}/configure \
29277 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29278 --target=${target_alias} $${srcdiroption} \
29279 --with-build-libsubdir=$(HOST_SUBDIR) \
29280 $(STAGEprofile_CONFIGURE_FLAGS) \
29281 --enable-shared
29282 @endif lto-plugin-bootstrap
29284 .PHONY: configure-stagefeedback-lto-plugin maybe-configure-stagefeedback-lto-plugin
29285 maybe-configure-stagefeedback-lto-plugin:
29286 @if lto-plugin-bootstrap
29287 maybe-configure-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
29288 configure-stagefeedback-lto-plugin:
29289 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
29290 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29291 @r=`${PWD_COMMAND}`; export r; \
29292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29293 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
29294 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29295 $(HOST_EXPORTS) \
29296 $(POSTSTAGE1_HOST_EXPORTS) \
29297 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
29298 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
29299 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
29300 echo Configuring stage feedback in $(HOST_SUBDIR)/lto-plugin ; \
29301 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29302 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29303 case $(srcdir) in \
29304 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29305 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29306 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29307 esac; \
29308 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29309 libsrcdir="$$s/lto-plugin"; \
29310 $(SHELL) $${libsrcdir}/configure \
29311 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29312 --target=${target_alias} $${srcdiroption} \
29313 --with-build-libsubdir=$(HOST_SUBDIR) \
29314 $(STAGEfeedback_CONFIGURE_FLAGS) \
29315 --enable-shared
29316 @endif lto-plugin-bootstrap
29322 .PHONY: all-lto-plugin maybe-all-lto-plugin
29323 maybe-all-lto-plugin:
29324 @if gcc-bootstrap
29325 all-lto-plugin: stage_current
29326 @endif gcc-bootstrap
29327 @if lto-plugin
29328 TARGET-lto-plugin=all
29329 maybe-all-lto-plugin: all-lto-plugin
29330 all-lto-plugin: configure-lto-plugin
29331 @r=`${PWD_COMMAND}`; export r; \
29332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29333 $(HOST_EXPORTS) \
29334 (cd $(HOST_SUBDIR)/lto-plugin && \
29335 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
29336 $(TARGET-lto-plugin))
29337 @endif lto-plugin
29341 .PHONY: all-stage1-lto-plugin maybe-all-stage1-lto-plugin
29342 .PHONY: clean-stage1-lto-plugin maybe-clean-stage1-lto-plugin
29343 maybe-all-stage1-lto-plugin:
29344 maybe-clean-stage1-lto-plugin:
29345 @if lto-plugin-bootstrap
29346 maybe-all-stage1-lto-plugin: all-stage1-lto-plugin
29347 all-stage1: all-stage1-lto-plugin
29348 TARGET-stage1-lto-plugin = $(TARGET-lto-plugin)
29349 all-stage1-lto-plugin: configure-stage1-lto-plugin
29350 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
29351 @r=`${PWD_COMMAND}`; export r; \
29352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29353 TFLAGS="$(STAGE1_TFLAGS)"; \
29354 $(HOST_EXPORTS) \
29355 cd $(HOST_SUBDIR)/lto-plugin && \
29356 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29357 CFLAGS="$(STAGE1_CFLAGS)" \
29358 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
29359 LIBCFLAGS="$(LIBCFLAGS)" \
29360 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29361 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29362 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29363 $(EXTRA_HOST_FLAGS) \
29364 TFLAGS="$(STAGE1_TFLAGS)" \
29365 $(TARGET-stage1-lto-plugin)
29367 maybe-clean-stage1-lto-plugin: clean-stage1-lto-plugin
29368 clean-stage1: clean-stage1-lto-plugin
29369 clean-stage1-lto-plugin:
29370 @if [ $(current_stage) = stage1 ]; then \
29371 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29372 else \
29373 [ -f $(HOST_SUBDIR)/stage1-lto-plugin/Makefile ] || exit 0; \
29374 $(MAKE) stage1-start; \
29375 fi; \
29376 cd $(HOST_SUBDIR)/lto-plugin && \
29377 $(MAKE) $(EXTRA_HOST_FLAGS) \
29378 clean
29379 @endif lto-plugin-bootstrap
29382 .PHONY: all-stage2-lto-plugin maybe-all-stage2-lto-plugin
29383 .PHONY: clean-stage2-lto-plugin maybe-clean-stage2-lto-plugin
29384 maybe-all-stage2-lto-plugin:
29385 maybe-clean-stage2-lto-plugin:
29386 @if lto-plugin-bootstrap
29387 maybe-all-stage2-lto-plugin: all-stage2-lto-plugin
29388 all-stage2: all-stage2-lto-plugin
29389 TARGET-stage2-lto-plugin = $(TARGET-lto-plugin)
29390 all-stage2-lto-plugin: configure-stage2-lto-plugin
29391 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
29392 @r=`${PWD_COMMAND}`; export r; \
29393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29394 TFLAGS="$(STAGE2_TFLAGS)"; \
29395 $(HOST_EXPORTS) \
29396 $(POSTSTAGE1_HOST_EXPORTS) \
29397 cd $(HOST_SUBDIR)/lto-plugin && \
29398 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29399 CFLAGS="$(STAGE2_CFLAGS)" \
29400 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
29401 LIBCFLAGS="$(STAGE2_CFLAGS)" \
29402 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29403 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29404 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29405 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29406 TFLAGS="$(STAGE2_TFLAGS)" \
29407 $(TARGET-stage2-lto-plugin)
29409 maybe-clean-stage2-lto-plugin: clean-stage2-lto-plugin
29410 clean-stage2: clean-stage2-lto-plugin
29411 clean-stage2-lto-plugin:
29412 @if [ $(current_stage) = stage2 ]; then \
29413 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29414 else \
29415 [ -f $(HOST_SUBDIR)/stage2-lto-plugin/Makefile ] || exit 0; \
29416 $(MAKE) stage2-start; \
29417 fi; \
29418 cd $(HOST_SUBDIR)/lto-plugin && \
29419 $(MAKE) $(EXTRA_HOST_FLAGS) \
29420 $(POSTSTAGE1_FLAGS_TO_PASS) \
29421 clean
29422 @endif lto-plugin-bootstrap
29425 .PHONY: all-stage3-lto-plugin maybe-all-stage3-lto-plugin
29426 .PHONY: clean-stage3-lto-plugin maybe-clean-stage3-lto-plugin
29427 maybe-all-stage3-lto-plugin:
29428 maybe-clean-stage3-lto-plugin:
29429 @if lto-plugin-bootstrap
29430 maybe-all-stage3-lto-plugin: all-stage3-lto-plugin
29431 all-stage3: all-stage3-lto-plugin
29432 TARGET-stage3-lto-plugin = $(TARGET-lto-plugin)
29433 all-stage3-lto-plugin: configure-stage3-lto-plugin
29434 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
29435 @r=`${PWD_COMMAND}`; export r; \
29436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29437 TFLAGS="$(STAGE3_TFLAGS)"; \
29438 $(HOST_EXPORTS) \
29439 $(POSTSTAGE1_HOST_EXPORTS) \
29440 cd $(HOST_SUBDIR)/lto-plugin && \
29441 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29442 CFLAGS="$(STAGE3_CFLAGS)" \
29443 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
29444 LIBCFLAGS="$(STAGE3_CFLAGS)" \
29445 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29446 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29447 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29448 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29449 TFLAGS="$(STAGE3_TFLAGS)" \
29450 $(TARGET-stage3-lto-plugin)
29452 maybe-clean-stage3-lto-plugin: clean-stage3-lto-plugin
29453 clean-stage3: clean-stage3-lto-plugin
29454 clean-stage3-lto-plugin:
29455 @if [ $(current_stage) = stage3 ]; then \
29456 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29457 else \
29458 [ -f $(HOST_SUBDIR)/stage3-lto-plugin/Makefile ] || exit 0; \
29459 $(MAKE) stage3-start; \
29460 fi; \
29461 cd $(HOST_SUBDIR)/lto-plugin && \
29462 $(MAKE) $(EXTRA_HOST_FLAGS) \
29463 $(POSTSTAGE1_FLAGS_TO_PASS) \
29464 clean
29465 @endif lto-plugin-bootstrap
29468 .PHONY: all-stage4-lto-plugin maybe-all-stage4-lto-plugin
29469 .PHONY: clean-stage4-lto-plugin maybe-clean-stage4-lto-plugin
29470 maybe-all-stage4-lto-plugin:
29471 maybe-clean-stage4-lto-plugin:
29472 @if lto-plugin-bootstrap
29473 maybe-all-stage4-lto-plugin: all-stage4-lto-plugin
29474 all-stage4: all-stage4-lto-plugin
29475 TARGET-stage4-lto-plugin = $(TARGET-lto-plugin)
29476 all-stage4-lto-plugin: configure-stage4-lto-plugin
29477 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
29478 @r=`${PWD_COMMAND}`; export r; \
29479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29480 TFLAGS="$(STAGE4_TFLAGS)"; \
29481 $(HOST_EXPORTS) \
29482 $(POSTSTAGE1_HOST_EXPORTS) \
29483 cd $(HOST_SUBDIR)/lto-plugin && \
29484 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29485 CFLAGS="$(STAGE4_CFLAGS)" \
29486 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
29487 LIBCFLAGS="$(STAGE4_CFLAGS)" \
29488 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29489 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29490 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29491 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29492 TFLAGS="$(STAGE4_TFLAGS)" \
29493 $(TARGET-stage4-lto-plugin)
29495 maybe-clean-stage4-lto-plugin: clean-stage4-lto-plugin
29496 clean-stage4: clean-stage4-lto-plugin
29497 clean-stage4-lto-plugin:
29498 @if [ $(current_stage) = stage4 ]; then \
29499 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29500 else \
29501 [ -f $(HOST_SUBDIR)/stage4-lto-plugin/Makefile ] || exit 0; \
29502 $(MAKE) stage4-start; \
29503 fi; \
29504 cd $(HOST_SUBDIR)/lto-plugin && \
29505 $(MAKE) $(EXTRA_HOST_FLAGS) \
29506 $(POSTSTAGE1_FLAGS_TO_PASS) \
29507 clean
29508 @endif lto-plugin-bootstrap
29511 .PHONY: all-stageprofile-lto-plugin maybe-all-stageprofile-lto-plugin
29512 .PHONY: clean-stageprofile-lto-plugin maybe-clean-stageprofile-lto-plugin
29513 maybe-all-stageprofile-lto-plugin:
29514 maybe-clean-stageprofile-lto-plugin:
29515 @if lto-plugin-bootstrap
29516 maybe-all-stageprofile-lto-plugin: all-stageprofile-lto-plugin
29517 all-stageprofile: all-stageprofile-lto-plugin
29518 TARGET-stageprofile-lto-plugin = $(TARGET-lto-plugin)
29519 all-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
29520 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
29521 @r=`${PWD_COMMAND}`; export r; \
29522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29523 TFLAGS="$(STAGEprofile_TFLAGS)"; \
29524 $(HOST_EXPORTS) \
29525 $(POSTSTAGE1_HOST_EXPORTS) \
29526 cd $(HOST_SUBDIR)/lto-plugin && \
29527 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29528 CFLAGS="$(STAGEprofile_CFLAGS)" \
29529 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
29530 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
29531 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29532 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29533 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29534 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29535 TFLAGS="$(STAGEprofile_TFLAGS)" \
29536 $(TARGET-stageprofile-lto-plugin)
29538 maybe-clean-stageprofile-lto-plugin: clean-stageprofile-lto-plugin
29539 clean-stageprofile: clean-stageprofile-lto-plugin
29540 clean-stageprofile-lto-plugin:
29541 @if [ $(current_stage) = stageprofile ]; then \
29542 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29543 else \
29544 [ -f $(HOST_SUBDIR)/stageprofile-lto-plugin/Makefile ] || exit 0; \
29545 $(MAKE) stageprofile-start; \
29546 fi; \
29547 cd $(HOST_SUBDIR)/lto-plugin && \
29548 $(MAKE) $(EXTRA_HOST_FLAGS) \
29549 $(POSTSTAGE1_FLAGS_TO_PASS) \
29550 clean
29551 @endif lto-plugin-bootstrap
29554 .PHONY: all-stagefeedback-lto-plugin maybe-all-stagefeedback-lto-plugin
29555 .PHONY: clean-stagefeedback-lto-plugin maybe-clean-stagefeedback-lto-plugin
29556 maybe-all-stagefeedback-lto-plugin:
29557 maybe-clean-stagefeedback-lto-plugin:
29558 @if lto-plugin-bootstrap
29559 maybe-all-stagefeedback-lto-plugin: all-stagefeedback-lto-plugin
29560 all-stagefeedback: all-stagefeedback-lto-plugin
29561 TARGET-stagefeedback-lto-plugin = $(TARGET-lto-plugin)
29562 all-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
29563 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
29564 @r=`${PWD_COMMAND}`; export r; \
29565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29566 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
29567 $(HOST_EXPORTS) \
29568 $(POSTSTAGE1_HOST_EXPORTS) \
29569 cd $(HOST_SUBDIR)/lto-plugin && \
29570 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29571 CFLAGS="$(STAGEfeedback_CFLAGS)" \
29572 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
29573 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
29574 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29575 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29576 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29577 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29578 TFLAGS="$(STAGEfeedback_TFLAGS)" \
29579 $(TARGET-stagefeedback-lto-plugin)
29581 maybe-clean-stagefeedback-lto-plugin: clean-stagefeedback-lto-plugin
29582 clean-stagefeedback: clean-stagefeedback-lto-plugin
29583 clean-stagefeedback-lto-plugin:
29584 @if [ $(current_stage) = stagefeedback ]; then \
29585 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29586 else \
29587 [ -f $(HOST_SUBDIR)/stagefeedback-lto-plugin/Makefile ] || exit 0; \
29588 $(MAKE) stagefeedback-start; \
29589 fi; \
29590 cd $(HOST_SUBDIR)/lto-plugin && \
29591 $(MAKE) $(EXTRA_HOST_FLAGS) \
29592 $(POSTSTAGE1_FLAGS_TO_PASS) \
29593 clean
29594 @endif lto-plugin-bootstrap
29600 .PHONY: check-lto-plugin maybe-check-lto-plugin
29601 maybe-check-lto-plugin:
29602 @if lto-plugin
29603 maybe-check-lto-plugin: check-lto-plugin
29605 check-lto-plugin:
29606 @: $(MAKE); $(unstage)
29607 @r=`${PWD_COMMAND}`; export r; \
29608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29609 $(HOST_EXPORTS) \
29610 (cd $(HOST_SUBDIR)/lto-plugin && \
29611 $(MAKE) $(FLAGS_TO_PASS) check)
29613 @endif lto-plugin
29615 .PHONY: install-lto-plugin maybe-install-lto-plugin
29616 maybe-install-lto-plugin:
29617 @if lto-plugin
29618 maybe-install-lto-plugin: install-lto-plugin
29620 install-lto-plugin: installdirs
29621 @: $(MAKE); $(unstage)
29622 @r=`${PWD_COMMAND}`; export r; \
29623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29624 $(HOST_EXPORTS) \
29625 (cd $(HOST_SUBDIR)/lto-plugin && \
29626 $(MAKE) $(FLAGS_TO_PASS) install)
29628 @endif lto-plugin
29630 .PHONY: install-strip-lto-plugin maybe-install-strip-lto-plugin
29631 maybe-install-strip-lto-plugin:
29632 @if lto-plugin
29633 maybe-install-strip-lto-plugin: install-strip-lto-plugin
29635 install-strip-lto-plugin: installdirs
29636 @: $(MAKE); $(unstage)
29637 @r=`${PWD_COMMAND}`; export r; \
29638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29639 $(HOST_EXPORTS) \
29640 (cd $(HOST_SUBDIR)/lto-plugin && \
29641 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29643 @endif lto-plugin
29645 # Other targets (info, dvi, pdf, etc.)
29647 .PHONY: maybe-info-lto-plugin info-lto-plugin
29648 maybe-info-lto-plugin:
29649 @if lto-plugin
29650 maybe-info-lto-plugin: info-lto-plugin
29652 info-lto-plugin: \
29653 configure-lto-plugin
29654 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29655 r=`${PWD_COMMAND}`; export r; \
29656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29657 $(HOST_EXPORTS) \
29658 for flag in $(EXTRA_HOST_FLAGS) ; do \
29659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29660 done; \
29661 echo "Doing info in lto-plugin" ; \
29662 (cd $(HOST_SUBDIR)/lto-plugin && \
29663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29665 "RANLIB=$${RANLIB}" \
29666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29667 info) \
29668 || exit 1
29670 @endif lto-plugin
29672 .PHONY: maybe-dvi-lto-plugin dvi-lto-plugin
29673 maybe-dvi-lto-plugin:
29674 @if lto-plugin
29675 maybe-dvi-lto-plugin: dvi-lto-plugin
29677 dvi-lto-plugin: \
29678 configure-lto-plugin
29679 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29680 r=`${PWD_COMMAND}`; export r; \
29681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29682 $(HOST_EXPORTS) \
29683 for flag in $(EXTRA_HOST_FLAGS) ; do \
29684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29685 done; \
29686 echo "Doing dvi in lto-plugin" ; \
29687 (cd $(HOST_SUBDIR)/lto-plugin && \
29688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29690 "RANLIB=$${RANLIB}" \
29691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29692 dvi) \
29693 || exit 1
29695 @endif lto-plugin
29697 .PHONY: maybe-pdf-lto-plugin pdf-lto-plugin
29698 maybe-pdf-lto-plugin:
29699 @if lto-plugin
29700 maybe-pdf-lto-plugin: pdf-lto-plugin
29702 pdf-lto-plugin: \
29703 configure-lto-plugin
29704 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29705 r=`${PWD_COMMAND}`; export r; \
29706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29707 $(HOST_EXPORTS) \
29708 for flag in $(EXTRA_HOST_FLAGS) ; do \
29709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29710 done; \
29711 echo "Doing pdf in lto-plugin" ; \
29712 (cd $(HOST_SUBDIR)/lto-plugin && \
29713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29715 "RANLIB=$${RANLIB}" \
29716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29717 pdf) \
29718 || exit 1
29720 @endif lto-plugin
29722 .PHONY: maybe-html-lto-plugin html-lto-plugin
29723 maybe-html-lto-plugin:
29724 @if lto-plugin
29725 maybe-html-lto-plugin: html-lto-plugin
29727 html-lto-plugin: \
29728 configure-lto-plugin
29729 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29730 r=`${PWD_COMMAND}`; export r; \
29731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29732 $(HOST_EXPORTS) \
29733 for flag in $(EXTRA_HOST_FLAGS) ; do \
29734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29735 done; \
29736 echo "Doing html in lto-plugin" ; \
29737 (cd $(HOST_SUBDIR)/lto-plugin && \
29738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29740 "RANLIB=$${RANLIB}" \
29741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29742 html) \
29743 || exit 1
29745 @endif lto-plugin
29747 .PHONY: maybe-TAGS-lto-plugin TAGS-lto-plugin
29748 maybe-TAGS-lto-plugin:
29749 @if lto-plugin
29750 maybe-TAGS-lto-plugin: TAGS-lto-plugin
29752 TAGS-lto-plugin: \
29753 configure-lto-plugin
29754 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29755 r=`${PWD_COMMAND}`; export r; \
29756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29757 $(HOST_EXPORTS) \
29758 for flag in $(EXTRA_HOST_FLAGS) ; do \
29759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29760 done; \
29761 echo "Doing TAGS in lto-plugin" ; \
29762 (cd $(HOST_SUBDIR)/lto-plugin && \
29763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29765 "RANLIB=$${RANLIB}" \
29766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29767 TAGS) \
29768 || exit 1
29770 @endif lto-plugin
29772 .PHONY: maybe-install-info-lto-plugin install-info-lto-plugin
29773 maybe-install-info-lto-plugin:
29774 @if lto-plugin
29775 maybe-install-info-lto-plugin: install-info-lto-plugin
29777 install-info-lto-plugin: \
29778 configure-lto-plugin \
29779 info-lto-plugin
29780 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29781 r=`${PWD_COMMAND}`; export r; \
29782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29783 $(HOST_EXPORTS) \
29784 for flag in $(EXTRA_HOST_FLAGS) ; do \
29785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29786 done; \
29787 echo "Doing install-info in lto-plugin" ; \
29788 (cd $(HOST_SUBDIR)/lto-plugin && \
29789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29791 "RANLIB=$${RANLIB}" \
29792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29793 install-info) \
29794 || exit 1
29796 @endif lto-plugin
29798 .PHONY: maybe-install-pdf-lto-plugin install-pdf-lto-plugin
29799 maybe-install-pdf-lto-plugin:
29800 @if lto-plugin
29801 maybe-install-pdf-lto-plugin: install-pdf-lto-plugin
29803 install-pdf-lto-plugin: \
29804 configure-lto-plugin \
29805 pdf-lto-plugin
29806 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29807 r=`${PWD_COMMAND}`; export r; \
29808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29809 $(HOST_EXPORTS) \
29810 for flag in $(EXTRA_HOST_FLAGS) ; do \
29811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29812 done; \
29813 echo "Doing install-pdf in lto-plugin" ; \
29814 (cd $(HOST_SUBDIR)/lto-plugin && \
29815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29817 "RANLIB=$${RANLIB}" \
29818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29819 install-pdf) \
29820 || exit 1
29822 @endif lto-plugin
29824 .PHONY: maybe-install-html-lto-plugin install-html-lto-plugin
29825 maybe-install-html-lto-plugin:
29826 @if lto-plugin
29827 maybe-install-html-lto-plugin: install-html-lto-plugin
29829 install-html-lto-plugin: \
29830 configure-lto-plugin \
29831 html-lto-plugin
29832 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29833 r=`${PWD_COMMAND}`; export r; \
29834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29835 $(HOST_EXPORTS) \
29836 for flag in $(EXTRA_HOST_FLAGS) ; do \
29837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29838 done; \
29839 echo "Doing install-html in lto-plugin" ; \
29840 (cd $(HOST_SUBDIR)/lto-plugin && \
29841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29843 "RANLIB=$${RANLIB}" \
29844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29845 install-html) \
29846 || exit 1
29848 @endif lto-plugin
29850 .PHONY: maybe-installcheck-lto-plugin installcheck-lto-plugin
29851 maybe-installcheck-lto-plugin:
29852 @if lto-plugin
29853 maybe-installcheck-lto-plugin: installcheck-lto-plugin
29855 installcheck-lto-plugin: \
29856 configure-lto-plugin
29857 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29858 r=`${PWD_COMMAND}`; export r; \
29859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29860 $(HOST_EXPORTS) \
29861 for flag in $(EXTRA_HOST_FLAGS) ; do \
29862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29863 done; \
29864 echo "Doing installcheck in lto-plugin" ; \
29865 (cd $(HOST_SUBDIR)/lto-plugin && \
29866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29868 "RANLIB=$${RANLIB}" \
29869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29870 installcheck) \
29871 || exit 1
29873 @endif lto-plugin
29875 .PHONY: maybe-mostlyclean-lto-plugin mostlyclean-lto-plugin
29876 maybe-mostlyclean-lto-plugin:
29877 @if lto-plugin
29878 maybe-mostlyclean-lto-plugin: mostlyclean-lto-plugin
29880 mostlyclean-lto-plugin:
29881 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29882 r=`${PWD_COMMAND}`; export r; \
29883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29884 $(HOST_EXPORTS) \
29885 for flag in $(EXTRA_HOST_FLAGS) ; do \
29886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29887 done; \
29888 echo "Doing mostlyclean in lto-plugin" ; \
29889 (cd $(HOST_SUBDIR)/lto-plugin && \
29890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29892 "RANLIB=$${RANLIB}" \
29893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29894 mostlyclean) \
29895 || exit 1
29897 @endif lto-plugin
29899 .PHONY: maybe-clean-lto-plugin clean-lto-plugin
29900 maybe-clean-lto-plugin:
29901 @if lto-plugin
29902 maybe-clean-lto-plugin: clean-lto-plugin
29904 clean-lto-plugin:
29905 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29906 r=`${PWD_COMMAND}`; export r; \
29907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29908 $(HOST_EXPORTS) \
29909 for flag in $(EXTRA_HOST_FLAGS) ; do \
29910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29911 done; \
29912 echo "Doing clean in lto-plugin" ; \
29913 (cd $(HOST_SUBDIR)/lto-plugin && \
29914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29916 "RANLIB=$${RANLIB}" \
29917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29918 clean) \
29919 || exit 1
29921 @endif lto-plugin
29923 .PHONY: maybe-distclean-lto-plugin distclean-lto-plugin
29924 maybe-distclean-lto-plugin:
29925 @if lto-plugin
29926 maybe-distclean-lto-plugin: distclean-lto-plugin
29928 distclean-lto-plugin:
29929 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29930 r=`${PWD_COMMAND}`; export r; \
29931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29932 $(HOST_EXPORTS) \
29933 for flag in $(EXTRA_HOST_FLAGS) ; do \
29934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29935 done; \
29936 echo "Doing distclean in lto-plugin" ; \
29937 (cd $(HOST_SUBDIR)/lto-plugin && \
29938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29940 "RANLIB=$${RANLIB}" \
29941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29942 distclean) \
29943 || exit 1
29945 @endif lto-plugin
29947 .PHONY: maybe-maintainer-clean-lto-plugin maintainer-clean-lto-plugin
29948 maybe-maintainer-clean-lto-plugin:
29949 @if lto-plugin
29950 maybe-maintainer-clean-lto-plugin: maintainer-clean-lto-plugin
29952 maintainer-clean-lto-plugin:
29953 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29954 r=`${PWD_COMMAND}`; export r; \
29955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29956 $(HOST_EXPORTS) \
29957 for flag in $(EXTRA_HOST_FLAGS) ; do \
29958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29959 done; \
29960 echo "Doing maintainer-clean in lto-plugin" ; \
29961 (cd $(HOST_SUBDIR)/lto-plugin && \
29962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29964 "RANLIB=$${RANLIB}" \
29965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29966 maintainer-clean) \
29967 || exit 1
29969 @endif lto-plugin
29973 # ---------------------------------------
29974 # Modules which run on the target machine
29975 # ---------------------------------------
29980 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
29981 maybe-configure-target-libstdc++-v3:
29982 @if gcc-bootstrap
29983 configure-target-libstdc++-v3: stage_current
29984 @endif gcc-bootstrap
29985 @if target-libstdc++-v3
29986 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
29987 configure-target-libstdc++-v3:
29988 @r=`${PWD_COMMAND}`; export r; \
29989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29990 echo "Checking multilib configuration for libstdc++-v3..."; \
29991 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
29992 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
29993 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
29994 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
29995 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
29996 else \
29997 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
29998 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
29999 fi; \
30000 else \
30001 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30002 fi; \
30003 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30004 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30005 $(RAW_CXX_TARGET_EXPORTS) \
30006 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
30007 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
30008 case $(srcdir) in \
30009 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30010 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30011 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30012 esac; \
30013 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30014 libsrcdir="$$s/libstdc++-v3"; \
30015 rm -f no-such-file || : ; \
30016 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30017 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30018 --target=${target_alias} $${srcdiroption} \
30019 || exit 1
30020 @endif target-libstdc++-v3
30024 .PHONY: configure-stage1-target-libstdc++-v3 maybe-configure-stage1-target-libstdc++-v3
30025 maybe-configure-stage1-target-libstdc++-v3:
30026 @if target-libstdc++-v3-bootstrap
30027 maybe-configure-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
30028 configure-stage1-target-libstdc++-v3:
30029 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30030 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30031 @r=`${PWD_COMMAND}`; export r; \
30032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30033 TFLAGS="$(STAGE1_TFLAGS)"; \
30034 echo "Checking multilib configuration for libstdc++-v3..."; \
30035 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30036 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30037 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30038 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30039 else \
30040 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30041 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30042 fi; \
30043 else \
30044 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30045 fi; \
30046 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30047 $(RAW_CXX_TARGET_EXPORTS) \
30048 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30049 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30050 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30051 echo Configuring stage 1 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30052 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30053 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30054 case $(srcdir) in \
30055 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30056 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30057 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30058 esac; \
30059 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30060 libsrcdir="$$s/libstdc++-v3"; \
30061 $(SHELL) $${libsrcdir}/configure \
30062 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30063 --target=${target_alias} $${srcdiroption} \
30064 $(STAGE1_CONFIGURE_FLAGS)
30065 @endif target-libstdc++-v3-bootstrap
30067 .PHONY: configure-stage2-target-libstdc++-v3 maybe-configure-stage2-target-libstdc++-v3
30068 maybe-configure-stage2-target-libstdc++-v3:
30069 @if target-libstdc++-v3-bootstrap
30070 maybe-configure-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
30071 configure-stage2-target-libstdc++-v3:
30072 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30073 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30074 @r=`${PWD_COMMAND}`; export r; \
30075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30076 TFLAGS="$(STAGE2_TFLAGS)"; \
30077 echo "Checking multilib configuration for libstdc++-v3..."; \
30078 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30079 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30080 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30081 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30082 else \
30083 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30084 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30085 fi; \
30086 else \
30087 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30088 fi; \
30089 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30090 $(RAW_CXX_TARGET_EXPORTS) \
30092 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30093 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30094 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30095 echo Configuring stage 2 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30096 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30097 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30098 case $(srcdir) in \
30099 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30100 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30101 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30102 esac; \
30103 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30104 libsrcdir="$$s/libstdc++-v3"; \
30105 $(SHELL) $${libsrcdir}/configure \
30106 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30107 --target=${target_alias} $${srcdiroption} \
30108 --with-build-libsubdir=$(HOST_SUBDIR) \
30109 $(STAGE2_CONFIGURE_FLAGS)
30110 @endif target-libstdc++-v3-bootstrap
30112 .PHONY: configure-stage3-target-libstdc++-v3 maybe-configure-stage3-target-libstdc++-v3
30113 maybe-configure-stage3-target-libstdc++-v3:
30114 @if target-libstdc++-v3-bootstrap
30115 maybe-configure-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
30116 configure-stage3-target-libstdc++-v3:
30117 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30118 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30119 @r=`${PWD_COMMAND}`; export r; \
30120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30121 TFLAGS="$(STAGE3_TFLAGS)"; \
30122 echo "Checking multilib configuration for libstdc++-v3..."; \
30123 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30124 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30125 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30126 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30127 else \
30128 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30129 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30130 fi; \
30131 else \
30132 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30133 fi; \
30134 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30135 $(RAW_CXX_TARGET_EXPORTS) \
30137 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30138 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30139 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30140 echo Configuring stage 3 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30141 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30142 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30143 case $(srcdir) in \
30144 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30145 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30146 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30147 esac; \
30148 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30149 libsrcdir="$$s/libstdc++-v3"; \
30150 $(SHELL) $${libsrcdir}/configure \
30151 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30152 --target=${target_alias} $${srcdiroption} \
30153 --with-build-libsubdir=$(HOST_SUBDIR) \
30154 $(STAGE3_CONFIGURE_FLAGS)
30155 @endif target-libstdc++-v3-bootstrap
30157 .PHONY: configure-stage4-target-libstdc++-v3 maybe-configure-stage4-target-libstdc++-v3
30158 maybe-configure-stage4-target-libstdc++-v3:
30159 @if target-libstdc++-v3-bootstrap
30160 maybe-configure-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
30161 configure-stage4-target-libstdc++-v3:
30162 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30163 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30164 @r=`${PWD_COMMAND}`; export r; \
30165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30166 TFLAGS="$(STAGE4_TFLAGS)"; \
30167 echo "Checking multilib configuration for libstdc++-v3..."; \
30168 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30169 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30170 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30171 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30172 else \
30173 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30174 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30175 fi; \
30176 else \
30177 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30178 fi; \
30179 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30180 $(RAW_CXX_TARGET_EXPORTS) \
30182 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30183 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30184 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30185 echo Configuring stage 4 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30186 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30187 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30188 case $(srcdir) in \
30189 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30190 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30191 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30192 esac; \
30193 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30194 libsrcdir="$$s/libstdc++-v3"; \
30195 $(SHELL) $${libsrcdir}/configure \
30196 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30197 --target=${target_alias} $${srcdiroption} \
30198 --with-build-libsubdir=$(HOST_SUBDIR) \
30199 $(STAGE4_CONFIGURE_FLAGS)
30200 @endif target-libstdc++-v3-bootstrap
30202 .PHONY: configure-stageprofile-target-libstdc++-v3 maybe-configure-stageprofile-target-libstdc++-v3
30203 maybe-configure-stageprofile-target-libstdc++-v3:
30204 @if target-libstdc++-v3-bootstrap
30205 maybe-configure-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
30206 configure-stageprofile-target-libstdc++-v3:
30207 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30208 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30209 @r=`${PWD_COMMAND}`; export r; \
30210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30211 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30212 echo "Checking multilib configuration for libstdc++-v3..."; \
30213 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30214 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30215 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30216 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30217 else \
30218 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30219 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30220 fi; \
30221 else \
30222 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30223 fi; \
30224 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30225 $(RAW_CXX_TARGET_EXPORTS) \
30227 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30228 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30229 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30230 echo Configuring stage profile in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30231 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30232 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30233 case $(srcdir) in \
30234 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30235 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30236 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30237 esac; \
30238 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30239 libsrcdir="$$s/libstdc++-v3"; \
30240 $(SHELL) $${libsrcdir}/configure \
30241 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30242 --target=${target_alias} $${srcdiroption} \
30243 --with-build-libsubdir=$(HOST_SUBDIR) \
30244 $(STAGEprofile_CONFIGURE_FLAGS)
30245 @endif target-libstdc++-v3-bootstrap
30247 .PHONY: configure-stagefeedback-target-libstdc++-v3 maybe-configure-stagefeedback-target-libstdc++-v3
30248 maybe-configure-stagefeedback-target-libstdc++-v3:
30249 @if target-libstdc++-v3-bootstrap
30250 maybe-configure-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
30251 configure-stagefeedback-target-libstdc++-v3:
30252 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30253 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30254 @r=`${PWD_COMMAND}`; export r; \
30255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30256 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30257 echo "Checking multilib configuration for libstdc++-v3..."; \
30258 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30259 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30260 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30261 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30262 else \
30263 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30264 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30265 fi; \
30266 else \
30267 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30268 fi; \
30269 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30270 $(RAW_CXX_TARGET_EXPORTS) \
30272 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30273 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30274 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30275 echo Configuring stage feedback in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30276 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30277 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30278 case $(srcdir) in \
30279 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30280 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30281 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30282 esac; \
30283 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30284 libsrcdir="$$s/libstdc++-v3"; \
30285 $(SHELL) $${libsrcdir}/configure \
30286 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30287 --target=${target_alias} $${srcdiroption} \
30288 --with-build-libsubdir=$(HOST_SUBDIR) \
30289 $(STAGEfeedback_CONFIGURE_FLAGS)
30290 @endif target-libstdc++-v3-bootstrap
30296 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
30297 maybe-all-target-libstdc++-v3:
30298 @if gcc-bootstrap
30299 all-target-libstdc++-v3: stage_current
30300 @endif gcc-bootstrap
30301 @if target-libstdc++-v3
30302 TARGET-target-libstdc++-v3=all
30303 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
30304 all-target-libstdc++-v3: configure-target-libstdc++-v3
30305 @r=`${PWD_COMMAND}`; export r; \
30306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30307 $(RAW_CXX_TARGET_EXPORTS) \
30308 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30309 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30310 $(TARGET-target-libstdc++-v3))
30311 @endif target-libstdc++-v3
30315 .PHONY: all-stage1-target-libstdc++-v3 maybe-all-stage1-target-libstdc++-v3
30316 .PHONY: clean-stage1-target-libstdc++-v3 maybe-clean-stage1-target-libstdc++-v3
30317 maybe-all-stage1-target-libstdc++-v3:
30318 maybe-clean-stage1-target-libstdc++-v3:
30319 @if target-libstdc++-v3-bootstrap
30320 maybe-all-stage1-target-libstdc++-v3: all-stage1-target-libstdc++-v3
30321 all-stage1: all-stage1-target-libstdc++-v3
30322 TARGET-stage1-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30323 all-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
30324 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30325 @r=`${PWD_COMMAND}`; export r; \
30326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30327 TFLAGS="$(STAGE1_TFLAGS)"; \
30328 $(RAW_CXX_TARGET_EXPORTS) \
30329 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30330 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30331 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30332 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30333 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30334 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30335 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30336 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30337 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30338 TFLAGS="$(STAGE1_TFLAGS)" \
30339 $(TARGET-stage1-target-libstdc++-v3)
30341 maybe-clean-stage1-target-libstdc++-v3: clean-stage1-target-libstdc++-v3
30342 clean-stage1: clean-stage1-target-libstdc++-v3
30343 clean-stage1-target-libstdc++-v3:
30344 @if [ $(current_stage) = stage1 ]; then \
30345 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30346 else \
30347 [ -f $(TARGET_SUBDIR)/stage1-libstdc++-v3/Makefile ] || exit 0; \
30348 $(MAKE) stage1-start; \
30349 fi; \
30350 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30351 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30352 clean
30353 @endif target-libstdc++-v3-bootstrap
30356 .PHONY: all-stage2-target-libstdc++-v3 maybe-all-stage2-target-libstdc++-v3
30357 .PHONY: clean-stage2-target-libstdc++-v3 maybe-clean-stage2-target-libstdc++-v3
30358 maybe-all-stage2-target-libstdc++-v3:
30359 maybe-clean-stage2-target-libstdc++-v3:
30360 @if target-libstdc++-v3-bootstrap
30361 maybe-all-stage2-target-libstdc++-v3: all-stage2-target-libstdc++-v3
30362 all-stage2: all-stage2-target-libstdc++-v3
30363 TARGET-stage2-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30364 all-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
30365 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30366 @r=`${PWD_COMMAND}`; export r; \
30367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30368 TFLAGS="$(STAGE2_TFLAGS)"; \
30369 $(RAW_CXX_TARGET_EXPORTS) \
30371 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30372 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30373 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30374 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30375 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30376 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30377 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30378 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30379 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30380 TFLAGS="$(STAGE2_TFLAGS)" \
30381 $(TARGET-stage2-target-libstdc++-v3)
30383 maybe-clean-stage2-target-libstdc++-v3: clean-stage2-target-libstdc++-v3
30384 clean-stage2: clean-stage2-target-libstdc++-v3
30385 clean-stage2-target-libstdc++-v3:
30386 @if [ $(current_stage) = stage2 ]; then \
30387 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30388 else \
30389 [ -f $(TARGET_SUBDIR)/stage2-libstdc++-v3/Makefile ] || exit 0; \
30390 $(MAKE) stage2-start; \
30391 fi; \
30392 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30393 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30395 clean
30396 @endif target-libstdc++-v3-bootstrap
30399 .PHONY: all-stage3-target-libstdc++-v3 maybe-all-stage3-target-libstdc++-v3
30400 .PHONY: clean-stage3-target-libstdc++-v3 maybe-clean-stage3-target-libstdc++-v3
30401 maybe-all-stage3-target-libstdc++-v3:
30402 maybe-clean-stage3-target-libstdc++-v3:
30403 @if target-libstdc++-v3-bootstrap
30404 maybe-all-stage3-target-libstdc++-v3: all-stage3-target-libstdc++-v3
30405 all-stage3: all-stage3-target-libstdc++-v3
30406 TARGET-stage3-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30407 all-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
30408 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30409 @r=`${PWD_COMMAND}`; export r; \
30410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30411 TFLAGS="$(STAGE3_TFLAGS)"; \
30412 $(RAW_CXX_TARGET_EXPORTS) \
30414 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30415 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30416 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30417 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30418 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30419 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30420 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30421 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30422 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30423 TFLAGS="$(STAGE3_TFLAGS)" \
30424 $(TARGET-stage3-target-libstdc++-v3)
30426 maybe-clean-stage3-target-libstdc++-v3: clean-stage3-target-libstdc++-v3
30427 clean-stage3: clean-stage3-target-libstdc++-v3
30428 clean-stage3-target-libstdc++-v3:
30429 @if [ $(current_stage) = stage3 ]; then \
30430 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30431 else \
30432 [ -f $(TARGET_SUBDIR)/stage3-libstdc++-v3/Makefile ] || exit 0; \
30433 $(MAKE) stage3-start; \
30434 fi; \
30435 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30436 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30438 clean
30439 @endif target-libstdc++-v3-bootstrap
30442 .PHONY: all-stage4-target-libstdc++-v3 maybe-all-stage4-target-libstdc++-v3
30443 .PHONY: clean-stage4-target-libstdc++-v3 maybe-clean-stage4-target-libstdc++-v3
30444 maybe-all-stage4-target-libstdc++-v3:
30445 maybe-clean-stage4-target-libstdc++-v3:
30446 @if target-libstdc++-v3-bootstrap
30447 maybe-all-stage4-target-libstdc++-v3: all-stage4-target-libstdc++-v3
30448 all-stage4: all-stage4-target-libstdc++-v3
30449 TARGET-stage4-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30450 all-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
30451 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30452 @r=`${PWD_COMMAND}`; export r; \
30453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30454 TFLAGS="$(STAGE4_TFLAGS)"; \
30455 $(RAW_CXX_TARGET_EXPORTS) \
30457 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30458 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30459 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30460 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30461 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30462 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30463 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30464 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30465 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30466 TFLAGS="$(STAGE4_TFLAGS)" \
30467 $(TARGET-stage4-target-libstdc++-v3)
30469 maybe-clean-stage4-target-libstdc++-v3: clean-stage4-target-libstdc++-v3
30470 clean-stage4: clean-stage4-target-libstdc++-v3
30471 clean-stage4-target-libstdc++-v3:
30472 @if [ $(current_stage) = stage4 ]; then \
30473 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30474 else \
30475 [ -f $(TARGET_SUBDIR)/stage4-libstdc++-v3/Makefile ] || exit 0; \
30476 $(MAKE) stage4-start; \
30477 fi; \
30478 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30479 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30481 clean
30482 @endif target-libstdc++-v3-bootstrap
30485 .PHONY: all-stageprofile-target-libstdc++-v3 maybe-all-stageprofile-target-libstdc++-v3
30486 .PHONY: clean-stageprofile-target-libstdc++-v3 maybe-clean-stageprofile-target-libstdc++-v3
30487 maybe-all-stageprofile-target-libstdc++-v3:
30488 maybe-clean-stageprofile-target-libstdc++-v3:
30489 @if target-libstdc++-v3-bootstrap
30490 maybe-all-stageprofile-target-libstdc++-v3: all-stageprofile-target-libstdc++-v3
30491 all-stageprofile: all-stageprofile-target-libstdc++-v3
30492 TARGET-stageprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30493 all-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
30494 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30495 @r=`${PWD_COMMAND}`; export r; \
30496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30497 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30498 $(RAW_CXX_TARGET_EXPORTS) \
30500 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30501 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30502 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30503 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30504 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30505 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30506 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30507 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30508 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30509 TFLAGS="$(STAGEprofile_TFLAGS)" \
30510 $(TARGET-stageprofile-target-libstdc++-v3)
30512 maybe-clean-stageprofile-target-libstdc++-v3: clean-stageprofile-target-libstdc++-v3
30513 clean-stageprofile: clean-stageprofile-target-libstdc++-v3
30514 clean-stageprofile-target-libstdc++-v3:
30515 @if [ $(current_stage) = stageprofile ]; then \
30516 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30517 else \
30518 [ -f $(TARGET_SUBDIR)/stageprofile-libstdc++-v3/Makefile ] || exit 0; \
30519 $(MAKE) stageprofile-start; \
30520 fi; \
30521 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30522 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30524 clean
30525 @endif target-libstdc++-v3-bootstrap
30528 .PHONY: all-stagefeedback-target-libstdc++-v3 maybe-all-stagefeedback-target-libstdc++-v3
30529 .PHONY: clean-stagefeedback-target-libstdc++-v3 maybe-clean-stagefeedback-target-libstdc++-v3
30530 maybe-all-stagefeedback-target-libstdc++-v3:
30531 maybe-clean-stagefeedback-target-libstdc++-v3:
30532 @if target-libstdc++-v3-bootstrap
30533 maybe-all-stagefeedback-target-libstdc++-v3: all-stagefeedback-target-libstdc++-v3
30534 all-stagefeedback: all-stagefeedback-target-libstdc++-v3
30535 TARGET-stagefeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30536 all-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
30537 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30538 @r=`${PWD_COMMAND}`; export r; \
30539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30540 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30541 $(RAW_CXX_TARGET_EXPORTS) \
30543 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30544 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30545 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30546 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30547 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30548 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30549 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30550 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30551 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30552 TFLAGS="$(STAGEfeedback_TFLAGS)" \
30553 $(TARGET-stagefeedback-target-libstdc++-v3)
30555 maybe-clean-stagefeedback-target-libstdc++-v3: clean-stagefeedback-target-libstdc++-v3
30556 clean-stagefeedback: clean-stagefeedback-target-libstdc++-v3
30557 clean-stagefeedback-target-libstdc++-v3:
30558 @if [ $(current_stage) = stagefeedback ]; then \
30559 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30560 else \
30561 [ -f $(TARGET_SUBDIR)/stagefeedback-libstdc++-v3/Makefile ] || exit 0; \
30562 $(MAKE) stagefeedback-start; \
30563 fi; \
30564 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30565 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30567 clean
30568 @endif target-libstdc++-v3-bootstrap
30575 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
30576 maybe-check-target-libstdc++-v3:
30577 @if target-libstdc++-v3
30578 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
30580 check-target-libstdc++-v3:
30581 @: $(MAKE); $(unstage)
30582 @r=`${PWD_COMMAND}`; export r; \
30583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30584 $(RAW_CXX_TARGET_EXPORTS) \
30585 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30586 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
30588 @endif target-libstdc++-v3
30590 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
30591 maybe-install-target-libstdc++-v3:
30592 @if target-libstdc++-v3
30593 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
30595 install-target-libstdc++-v3: installdirs
30596 @: $(MAKE); $(unstage)
30597 @r=`${PWD_COMMAND}`; export r; \
30598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30599 $(RAW_CXX_TARGET_EXPORTS) \
30600 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30601 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30603 @endif target-libstdc++-v3
30605 .PHONY: install-strip-target-libstdc++-v3 maybe-install-strip-target-libstdc++-v3
30606 maybe-install-strip-target-libstdc++-v3:
30607 @if target-libstdc++-v3
30608 maybe-install-strip-target-libstdc++-v3: install-strip-target-libstdc++-v3
30610 install-strip-target-libstdc++-v3: installdirs
30611 @: $(MAKE); $(unstage)
30612 @r=`${PWD_COMMAND}`; export r; \
30613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30614 $(RAW_CXX_TARGET_EXPORTS) \
30615 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30616 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
30618 @endif target-libstdc++-v3
30620 # Other targets (info, dvi, pdf, etc.)
30622 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
30623 maybe-info-target-libstdc++-v3:
30624 @if target-libstdc++-v3
30625 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
30627 info-target-libstdc++-v3: \
30628 configure-target-libstdc++-v3
30629 @: $(MAKE); $(unstage)
30630 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30631 r=`${PWD_COMMAND}`; export r; \
30632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30633 $(RAW_CXX_TARGET_EXPORTS) \
30634 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30635 for flag in $(EXTRA_TARGET_FLAGS); do \
30636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30637 done; \
30638 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30641 "RANLIB=$${RANLIB}" \
30642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30643 info) \
30644 || exit 1
30646 @endif target-libstdc++-v3
30648 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
30649 maybe-dvi-target-libstdc++-v3:
30650 @if target-libstdc++-v3
30651 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
30653 dvi-target-libstdc++-v3: \
30654 configure-target-libstdc++-v3
30655 @: $(MAKE); $(unstage)
30656 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30657 r=`${PWD_COMMAND}`; export r; \
30658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30659 $(RAW_CXX_TARGET_EXPORTS) \
30660 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30661 for flag in $(EXTRA_TARGET_FLAGS); do \
30662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30663 done; \
30664 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30667 "RANLIB=$${RANLIB}" \
30668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30669 dvi) \
30670 || exit 1
30672 @endif target-libstdc++-v3
30674 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
30675 maybe-pdf-target-libstdc++-v3:
30676 @if target-libstdc++-v3
30677 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
30679 pdf-target-libstdc++-v3: \
30680 configure-target-libstdc++-v3
30681 @: $(MAKE); $(unstage)
30682 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30683 r=`${PWD_COMMAND}`; export r; \
30684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30685 $(RAW_CXX_TARGET_EXPORTS) \
30686 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30687 for flag in $(EXTRA_TARGET_FLAGS); do \
30688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30689 done; \
30690 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30693 "RANLIB=$${RANLIB}" \
30694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30695 pdf) \
30696 || exit 1
30698 @endif target-libstdc++-v3
30700 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
30701 maybe-html-target-libstdc++-v3:
30702 @if target-libstdc++-v3
30703 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
30705 html-target-libstdc++-v3: \
30706 configure-target-libstdc++-v3
30707 @: $(MAKE); $(unstage)
30708 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30709 r=`${PWD_COMMAND}`; export r; \
30710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30711 $(RAW_CXX_TARGET_EXPORTS) \
30712 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30713 for flag in $(EXTRA_TARGET_FLAGS); do \
30714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30715 done; \
30716 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30719 "RANLIB=$${RANLIB}" \
30720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30721 html) \
30722 || exit 1
30724 @endif target-libstdc++-v3
30726 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
30727 maybe-TAGS-target-libstdc++-v3:
30728 @if target-libstdc++-v3
30729 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
30731 TAGS-target-libstdc++-v3: \
30732 configure-target-libstdc++-v3
30733 @: $(MAKE); $(unstage)
30734 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30735 r=`${PWD_COMMAND}`; export r; \
30736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30737 $(RAW_CXX_TARGET_EXPORTS) \
30738 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30739 for flag in $(EXTRA_TARGET_FLAGS); do \
30740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30741 done; \
30742 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30745 "RANLIB=$${RANLIB}" \
30746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30747 TAGS) \
30748 || exit 1
30750 @endif target-libstdc++-v3
30752 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
30753 maybe-install-info-target-libstdc++-v3:
30754 @if target-libstdc++-v3
30755 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
30757 install-info-target-libstdc++-v3: \
30758 configure-target-libstdc++-v3 \
30759 info-target-libstdc++-v3
30760 @: $(MAKE); $(unstage)
30761 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30762 r=`${PWD_COMMAND}`; export r; \
30763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30764 $(RAW_CXX_TARGET_EXPORTS) \
30765 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30766 for flag in $(EXTRA_TARGET_FLAGS); do \
30767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30768 done; \
30769 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30772 "RANLIB=$${RANLIB}" \
30773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30774 install-info) \
30775 || exit 1
30777 @endif target-libstdc++-v3
30779 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
30780 maybe-install-pdf-target-libstdc++-v3:
30781 @if target-libstdc++-v3
30782 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
30784 install-pdf-target-libstdc++-v3: \
30785 configure-target-libstdc++-v3 \
30786 pdf-target-libstdc++-v3
30787 @: $(MAKE); $(unstage)
30788 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30789 r=`${PWD_COMMAND}`; export r; \
30790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30791 $(RAW_CXX_TARGET_EXPORTS) \
30792 echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30793 for flag in $(EXTRA_TARGET_FLAGS); do \
30794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30795 done; \
30796 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30799 "RANLIB=$${RANLIB}" \
30800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30801 install-pdf) \
30802 || exit 1
30804 @endif target-libstdc++-v3
30806 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
30807 maybe-install-html-target-libstdc++-v3:
30808 @if target-libstdc++-v3
30809 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
30811 install-html-target-libstdc++-v3: \
30812 configure-target-libstdc++-v3 \
30813 html-target-libstdc++-v3
30814 @: $(MAKE); $(unstage)
30815 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30816 r=`${PWD_COMMAND}`; export r; \
30817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30818 $(RAW_CXX_TARGET_EXPORTS) \
30819 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30820 for flag in $(EXTRA_TARGET_FLAGS); do \
30821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30822 done; \
30823 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30826 "RANLIB=$${RANLIB}" \
30827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30828 install-html) \
30829 || exit 1
30831 @endif target-libstdc++-v3
30833 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
30834 maybe-installcheck-target-libstdc++-v3:
30835 @if target-libstdc++-v3
30836 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
30838 installcheck-target-libstdc++-v3: \
30839 configure-target-libstdc++-v3
30840 @: $(MAKE); $(unstage)
30841 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30842 r=`${PWD_COMMAND}`; export r; \
30843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30844 $(RAW_CXX_TARGET_EXPORTS) \
30845 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30846 for flag in $(EXTRA_TARGET_FLAGS); do \
30847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30848 done; \
30849 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30852 "RANLIB=$${RANLIB}" \
30853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30854 installcheck) \
30855 || exit 1
30857 @endif target-libstdc++-v3
30859 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
30860 maybe-mostlyclean-target-libstdc++-v3:
30861 @if target-libstdc++-v3
30862 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
30864 mostlyclean-target-libstdc++-v3:
30865 @: $(MAKE); $(unstage)
30866 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30867 r=`${PWD_COMMAND}`; export r; \
30868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30869 $(RAW_CXX_TARGET_EXPORTS) \
30870 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30871 for flag in $(EXTRA_TARGET_FLAGS); do \
30872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30873 done; \
30874 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30877 "RANLIB=$${RANLIB}" \
30878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30879 mostlyclean) \
30880 || exit 1
30882 @endif target-libstdc++-v3
30884 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
30885 maybe-clean-target-libstdc++-v3:
30886 @if target-libstdc++-v3
30887 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
30889 clean-target-libstdc++-v3:
30890 @: $(MAKE); $(unstage)
30891 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30892 r=`${PWD_COMMAND}`; export r; \
30893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30894 $(RAW_CXX_TARGET_EXPORTS) \
30895 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30896 for flag in $(EXTRA_TARGET_FLAGS); do \
30897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30898 done; \
30899 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30902 "RANLIB=$${RANLIB}" \
30903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30904 clean) \
30905 || exit 1
30907 @endif target-libstdc++-v3
30909 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
30910 maybe-distclean-target-libstdc++-v3:
30911 @if target-libstdc++-v3
30912 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
30914 distclean-target-libstdc++-v3:
30915 @: $(MAKE); $(unstage)
30916 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30917 r=`${PWD_COMMAND}`; export r; \
30918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30919 $(RAW_CXX_TARGET_EXPORTS) \
30920 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30921 for flag in $(EXTRA_TARGET_FLAGS); do \
30922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30923 done; \
30924 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30927 "RANLIB=$${RANLIB}" \
30928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30929 distclean) \
30930 || exit 1
30932 @endif target-libstdc++-v3
30934 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
30935 maybe-maintainer-clean-target-libstdc++-v3:
30936 @if target-libstdc++-v3
30937 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
30939 maintainer-clean-target-libstdc++-v3:
30940 @: $(MAKE); $(unstage)
30941 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30942 r=`${PWD_COMMAND}`; export r; \
30943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30944 $(RAW_CXX_TARGET_EXPORTS) \
30945 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30946 for flag in $(EXTRA_TARGET_FLAGS); do \
30947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30948 done; \
30949 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30952 "RANLIB=$${RANLIB}" \
30953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30954 maintainer-clean) \
30955 || exit 1
30957 @endif target-libstdc++-v3
30963 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
30964 maybe-configure-target-libmudflap:
30965 @if gcc-bootstrap
30966 configure-target-libmudflap: stage_current
30967 @endif gcc-bootstrap
30968 @if target-libmudflap
30969 maybe-configure-target-libmudflap: configure-target-libmudflap
30970 configure-target-libmudflap:
30971 @: $(MAKE); $(unstage)
30972 @r=`${PWD_COMMAND}`; export r; \
30973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30974 echo "Checking multilib configuration for libmudflap..."; \
30975 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
30976 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmudflap/multilib.tmp 2> /dev/null ; \
30977 if test -r $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
30978 if cmp -s $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
30979 rm -f $(TARGET_SUBDIR)/libmudflap/multilib.tmp; \
30980 else \
30981 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile; \
30982 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
30983 fi; \
30984 else \
30985 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
30986 fi; \
30987 test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
30988 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
30989 $(NORMAL_TARGET_EXPORTS) \
30990 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
30991 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
30992 case $(srcdir) in \
30993 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30994 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
30995 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30996 esac; \
30997 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
30998 libsrcdir="$$s/libmudflap"; \
30999 rm -f no-such-file || : ; \
31000 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31001 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31002 --target=${target_alias} $${srcdiroption} \
31003 || exit 1
31004 @endif target-libmudflap
31010 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
31011 maybe-all-target-libmudflap:
31012 @if gcc-bootstrap
31013 all-target-libmudflap: stage_current
31014 @endif gcc-bootstrap
31015 @if target-libmudflap
31016 TARGET-target-libmudflap=all
31017 maybe-all-target-libmudflap: all-target-libmudflap
31018 all-target-libmudflap: configure-target-libmudflap
31019 @: $(MAKE); $(unstage)
31020 @r=`${PWD_COMMAND}`; export r; \
31021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31022 $(NORMAL_TARGET_EXPORTS) \
31023 (cd $(TARGET_SUBDIR)/libmudflap && \
31024 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
31025 $(TARGET-target-libmudflap))
31026 @endif target-libmudflap
31032 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
31033 maybe-check-target-libmudflap:
31034 @if target-libmudflap
31035 maybe-check-target-libmudflap: check-target-libmudflap
31037 check-target-libmudflap:
31038 @: $(MAKE); $(unstage)
31039 @r=`${PWD_COMMAND}`; export r; \
31040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31041 $(NORMAL_TARGET_EXPORTS) \
31042 (cd $(TARGET_SUBDIR)/libmudflap && \
31043 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31045 @endif target-libmudflap
31047 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
31048 maybe-install-target-libmudflap:
31049 @if target-libmudflap
31050 maybe-install-target-libmudflap: install-target-libmudflap
31052 install-target-libmudflap: installdirs
31053 @: $(MAKE); $(unstage)
31054 @r=`${PWD_COMMAND}`; export r; \
31055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31056 $(NORMAL_TARGET_EXPORTS) \
31057 (cd $(TARGET_SUBDIR)/libmudflap && \
31058 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31060 @endif target-libmudflap
31062 .PHONY: install-strip-target-libmudflap maybe-install-strip-target-libmudflap
31063 maybe-install-strip-target-libmudflap:
31064 @if target-libmudflap
31065 maybe-install-strip-target-libmudflap: install-strip-target-libmudflap
31067 install-strip-target-libmudflap: installdirs
31068 @: $(MAKE); $(unstage)
31069 @r=`${PWD_COMMAND}`; export r; \
31070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31071 $(NORMAL_TARGET_EXPORTS) \
31072 (cd $(TARGET_SUBDIR)/libmudflap && \
31073 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
31075 @endif target-libmudflap
31077 # Other targets (info, dvi, pdf, etc.)
31079 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
31080 maybe-info-target-libmudflap:
31081 @if target-libmudflap
31082 maybe-info-target-libmudflap: info-target-libmudflap
31084 info-target-libmudflap: \
31085 configure-target-libmudflap
31086 @: $(MAKE); $(unstage)
31087 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31088 r=`${PWD_COMMAND}`; export r; \
31089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31090 $(NORMAL_TARGET_EXPORTS) \
31091 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
31092 for flag in $(EXTRA_TARGET_FLAGS); do \
31093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31094 done; \
31095 (cd $(TARGET_SUBDIR)/libmudflap && \
31096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31098 "RANLIB=$${RANLIB}" \
31099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31100 info) \
31101 || exit 1
31103 @endif target-libmudflap
31105 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
31106 maybe-dvi-target-libmudflap:
31107 @if target-libmudflap
31108 maybe-dvi-target-libmudflap: dvi-target-libmudflap
31110 dvi-target-libmudflap: \
31111 configure-target-libmudflap
31112 @: $(MAKE); $(unstage)
31113 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31114 r=`${PWD_COMMAND}`; export r; \
31115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31116 $(NORMAL_TARGET_EXPORTS) \
31117 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
31118 for flag in $(EXTRA_TARGET_FLAGS); do \
31119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31120 done; \
31121 (cd $(TARGET_SUBDIR)/libmudflap && \
31122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31124 "RANLIB=$${RANLIB}" \
31125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31126 dvi) \
31127 || exit 1
31129 @endif target-libmudflap
31131 .PHONY: maybe-pdf-target-libmudflap pdf-target-libmudflap
31132 maybe-pdf-target-libmudflap:
31133 @if target-libmudflap
31134 maybe-pdf-target-libmudflap: pdf-target-libmudflap
31136 pdf-target-libmudflap: \
31137 configure-target-libmudflap
31138 @: $(MAKE); $(unstage)
31139 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31140 r=`${PWD_COMMAND}`; export r; \
31141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31142 $(NORMAL_TARGET_EXPORTS) \
31143 echo "Doing pdf in $(TARGET_SUBDIR)/libmudflap" ; \
31144 for flag in $(EXTRA_TARGET_FLAGS); do \
31145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31146 done; \
31147 (cd $(TARGET_SUBDIR)/libmudflap && \
31148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31150 "RANLIB=$${RANLIB}" \
31151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31152 pdf) \
31153 || exit 1
31155 @endif target-libmudflap
31157 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
31158 maybe-html-target-libmudflap:
31159 @if target-libmudflap
31160 maybe-html-target-libmudflap: html-target-libmudflap
31162 html-target-libmudflap: \
31163 configure-target-libmudflap
31164 @: $(MAKE); $(unstage)
31165 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31166 r=`${PWD_COMMAND}`; export r; \
31167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31168 $(NORMAL_TARGET_EXPORTS) \
31169 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
31170 for flag in $(EXTRA_TARGET_FLAGS); do \
31171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31172 done; \
31173 (cd $(TARGET_SUBDIR)/libmudflap && \
31174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31176 "RANLIB=$${RANLIB}" \
31177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31178 html) \
31179 || exit 1
31181 @endif target-libmudflap
31183 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
31184 maybe-TAGS-target-libmudflap:
31185 @if target-libmudflap
31186 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
31188 TAGS-target-libmudflap: \
31189 configure-target-libmudflap
31190 @: $(MAKE); $(unstage)
31191 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31192 r=`${PWD_COMMAND}`; export r; \
31193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31194 $(NORMAL_TARGET_EXPORTS) \
31195 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
31196 for flag in $(EXTRA_TARGET_FLAGS); do \
31197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31198 done; \
31199 (cd $(TARGET_SUBDIR)/libmudflap && \
31200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31202 "RANLIB=$${RANLIB}" \
31203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31204 TAGS) \
31205 || exit 1
31207 @endif target-libmudflap
31209 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
31210 maybe-install-info-target-libmudflap:
31211 @if target-libmudflap
31212 maybe-install-info-target-libmudflap: install-info-target-libmudflap
31214 install-info-target-libmudflap: \
31215 configure-target-libmudflap \
31216 info-target-libmudflap
31217 @: $(MAKE); $(unstage)
31218 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31219 r=`${PWD_COMMAND}`; export r; \
31220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31221 $(NORMAL_TARGET_EXPORTS) \
31222 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
31223 for flag in $(EXTRA_TARGET_FLAGS); do \
31224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31225 done; \
31226 (cd $(TARGET_SUBDIR)/libmudflap && \
31227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31229 "RANLIB=$${RANLIB}" \
31230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31231 install-info) \
31232 || exit 1
31234 @endif target-libmudflap
31236 .PHONY: maybe-install-pdf-target-libmudflap install-pdf-target-libmudflap
31237 maybe-install-pdf-target-libmudflap:
31238 @if target-libmudflap
31239 maybe-install-pdf-target-libmudflap: install-pdf-target-libmudflap
31241 install-pdf-target-libmudflap: \
31242 configure-target-libmudflap \
31243 pdf-target-libmudflap
31244 @: $(MAKE); $(unstage)
31245 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31246 r=`${PWD_COMMAND}`; export r; \
31247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31248 $(NORMAL_TARGET_EXPORTS) \
31249 echo "Doing install-pdf in $(TARGET_SUBDIR)/libmudflap" ; \
31250 for flag in $(EXTRA_TARGET_FLAGS); do \
31251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31252 done; \
31253 (cd $(TARGET_SUBDIR)/libmudflap && \
31254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31256 "RANLIB=$${RANLIB}" \
31257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31258 install-pdf) \
31259 || exit 1
31261 @endif target-libmudflap
31263 .PHONY: maybe-install-html-target-libmudflap install-html-target-libmudflap
31264 maybe-install-html-target-libmudflap:
31265 @if target-libmudflap
31266 maybe-install-html-target-libmudflap: install-html-target-libmudflap
31268 install-html-target-libmudflap: \
31269 configure-target-libmudflap \
31270 html-target-libmudflap
31271 @: $(MAKE); $(unstage)
31272 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31273 r=`${PWD_COMMAND}`; export r; \
31274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31275 $(NORMAL_TARGET_EXPORTS) \
31276 echo "Doing install-html in $(TARGET_SUBDIR)/libmudflap" ; \
31277 for flag in $(EXTRA_TARGET_FLAGS); do \
31278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31279 done; \
31280 (cd $(TARGET_SUBDIR)/libmudflap && \
31281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31283 "RANLIB=$${RANLIB}" \
31284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31285 install-html) \
31286 || exit 1
31288 @endif target-libmudflap
31290 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
31291 maybe-installcheck-target-libmudflap:
31292 @if target-libmudflap
31293 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
31295 installcheck-target-libmudflap: \
31296 configure-target-libmudflap
31297 @: $(MAKE); $(unstage)
31298 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31299 r=`${PWD_COMMAND}`; export r; \
31300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31301 $(NORMAL_TARGET_EXPORTS) \
31302 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
31303 for flag in $(EXTRA_TARGET_FLAGS); do \
31304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31305 done; \
31306 (cd $(TARGET_SUBDIR)/libmudflap && \
31307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31309 "RANLIB=$${RANLIB}" \
31310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31311 installcheck) \
31312 || exit 1
31314 @endif target-libmudflap
31316 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
31317 maybe-mostlyclean-target-libmudflap:
31318 @if target-libmudflap
31319 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
31321 mostlyclean-target-libmudflap:
31322 @: $(MAKE); $(unstage)
31323 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31324 r=`${PWD_COMMAND}`; export r; \
31325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31326 $(NORMAL_TARGET_EXPORTS) \
31327 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
31328 for flag in $(EXTRA_TARGET_FLAGS); do \
31329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31330 done; \
31331 (cd $(TARGET_SUBDIR)/libmudflap && \
31332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31334 "RANLIB=$${RANLIB}" \
31335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31336 mostlyclean) \
31337 || exit 1
31339 @endif target-libmudflap
31341 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
31342 maybe-clean-target-libmudflap:
31343 @if target-libmudflap
31344 maybe-clean-target-libmudflap: clean-target-libmudflap
31346 clean-target-libmudflap:
31347 @: $(MAKE); $(unstage)
31348 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31349 r=`${PWD_COMMAND}`; export r; \
31350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31351 $(NORMAL_TARGET_EXPORTS) \
31352 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
31353 for flag in $(EXTRA_TARGET_FLAGS); do \
31354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31355 done; \
31356 (cd $(TARGET_SUBDIR)/libmudflap && \
31357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31359 "RANLIB=$${RANLIB}" \
31360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31361 clean) \
31362 || exit 1
31364 @endif target-libmudflap
31366 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
31367 maybe-distclean-target-libmudflap:
31368 @if target-libmudflap
31369 maybe-distclean-target-libmudflap: distclean-target-libmudflap
31371 distclean-target-libmudflap:
31372 @: $(MAKE); $(unstage)
31373 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31374 r=`${PWD_COMMAND}`; export r; \
31375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31376 $(NORMAL_TARGET_EXPORTS) \
31377 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
31378 for flag in $(EXTRA_TARGET_FLAGS); do \
31379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31380 done; \
31381 (cd $(TARGET_SUBDIR)/libmudflap && \
31382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31384 "RANLIB=$${RANLIB}" \
31385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31386 distclean) \
31387 || exit 1
31389 @endif target-libmudflap
31391 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
31392 maybe-maintainer-clean-target-libmudflap:
31393 @if target-libmudflap
31394 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
31396 maintainer-clean-target-libmudflap:
31397 @: $(MAKE); $(unstage)
31398 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31399 r=`${PWD_COMMAND}`; export r; \
31400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31401 $(NORMAL_TARGET_EXPORTS) \
31402 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
31403 for flag in $(EXTRA_TARGET_FLAGS); do \
31404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31405 done; \
31406 (cd $(TARGET_SUBDIR)/libmudflap && \
31407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31409 "RANLIB=$${RANLIB}" \
31410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31411 maintainer-clean) \
31412 || exit 1
31414 @endif target-libmudflap
31420 .PHONY: configure-target-libssp maybe-configure-target-libssp
31421 maybe-configure-target-libssp:
31422 @if gcc-bootstrap
31423 configure-target-libssp: stage_current
31424 @endif gcc-bootstrap
31425 @if target-libssp
31426 maybe-configure-target-libssp: configure-target-libssp
31427 configure-target-libssp:
31428 @: $(MAKE); $(unstage)
31429 @r=`${PWD_COMMAND}`; export r; \
31430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31431 echo "Checking multilib configuration for libssp..."; \
31432 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
31433 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
31434 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
31435 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
31436 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
31437 else \
31438 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
31439 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
31440 fi; \
31441 else \
31442 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
31443 fi; \
31444 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
31445 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
31446 $(NORMAL_TARGET_EXPORTS) \
31447 echo Configuring in $(TARGET_SUBDIR)/libssp; \
31448 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
31449 case $(srcdir) in \
31450 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31451 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
31452 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31453 esac; \
31454 srcdiroption="--srcdir=$${topdir}/libssp"; \
31455 libsrcdir="$$s/libssp"; \
31456 rm -f no-such-file || : ; \
31457 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31458 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31459 --target=${target_alias} $${srcdiroption} \
31460 || exit 1
31461 @endif target-libssp
31467 .PHONY: all-target-libssp maybe-all-target-libssp
31468 maybe-all-target-libssp:
31469 @if gcc-bootstrap
31470 all-target-libssp: stage_current
31471 @endif gcc-bootstrap
31472 @if target-libssp
31473 TARGET-target-libssp=all
31474 maybe-all-target-libssp: all-target-libssp
31475 all-target-libssp: configure-target-libssp
31476 @: $(MAKE); $(unstage)
31477 @r=`${PWD_COMMAND}`; export r; \
31478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31479 $(NORMAL_TARGET_EXPORTS) \
31480 (cd $(TARGET_SUBDIR)/libssp && \
31481 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
31482 $(TARGET-target-libssp))
31483 @endif target-libssp
31489 .PHONY: check-target-libssp maybe-check-target-libssp
31490 maybe-check-target-libssp:
31491 @if target-libssp
31492 maybe-check-target-libssp: check-target-libssp
31494 check-target-libssp:
31495 @: $(MAKE); $(unstage)
31496 @r=`${PWD_COMMAND}`; export r; \
31497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31498 $(NORMAL_TARGET_EXPORTS) \
31499 (cd $(TARGET_SUBDIR)/libssp && \
31500 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31502 @endif target-libssp
31504 .PHONY: install-target-libssp maybe-install-target-libssp
31505 maybe-install-target-libssp:
31506 @if target-libssp
31507 maybe-install-target-libssp: install-target-libssp
31509 install-target-libssp: installdirs
31510 @: $(MAKE); $(unstage)
31511 @r=`${PWD_COMMAND}`; export r; \
31512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31513 $(NORMAL_TARGET_EXPORTS) \
31514 (cd $(TARGET_SUBDIR)/libssp && \
31515 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31517 @endif target-libssp
31519 .PHONY: install-strip-target-libssp maybe-install-strip-target-libssp
31520 maybe-install-strip-target-libssp:
31521 @if target-libssp
31522 maybe-install-strip-target-libssp: install-strip-target-libssp
31524 install-strip-target-libssp: installdirs
31525 @: $(MAKE); $(unstage)
31526 @r=`${PWD_COMMAND}`; export r; \
31527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31528 $(NORMAL_TARGET_EXPORTS) \
31529 (cd $(TARGET_SUBDIR)/libssp && \
31530 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
31532 @endif target-libssp
31534 # Other targets (info, dvi, pdf, etc.)
31536 .PHONY: maybe-info-target-libssp info-target-libssp
31537 maybe-info-target-libssp:
31538 @if target-libssp
31539 maybe-info-target-libssp: info-target-libssp
31541 info-target-libssp: \
31542 configure-target-libssp
31543 @: $(MAKE); $(unstage)
31544 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31545 r=`${PWD_COMMAND}`; export r; \
31546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31547 $(NORMAL_TARGET_EXPORTS) \
31548 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
31549 for flag in $(EXTRA_TARGET_FLAGS); do \
31550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31551 done; \
31552 (cd $(TARGET_SUBDIR)/libssp && \
31553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31555 "RANLIB=$${RANLIB}" \
31556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31557 info) \
31558 || exit 1
31560 @endif target-libssp
31562 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
31563 maybe-dvi-target-libssp:
31564 @if target-libssp
31565 maybe-dvi-target-libssp: dvi-target-libssp
31567 dvi-target-libssp: \
31568 configure-target-libssp
31569 @: $(MAKE); $(unstage)
31570 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31571 r=`${PWD_COMMAND}`; export r; \
31572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31573 $(NORMAL_TARGET_EXPORTS) \
31574 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
31575 for flag in $(EXTRA_TARGET_FLAGS); do \
31576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31577 done; \
31578 (cd $(TARGET_SUBDIR)/libssp && \
31579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31581 "RANLIB=$${RANLIB}" \
31582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31583 dvi) \
31584 || exit 1
31586 @endif target-libssp
31588 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
31589 maybe-pdf-target-libssp:
31590 @if target-libssp
31591 maybe-pdf-target-libssp: pdf-target-libssp
31593 pdf-target-libssp: \
31594 configure-target-libssp
31595 @: $(MAKE); $(unstage)
31596 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31597 r=`${PWD_COMMAND}`; export r; \
31598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31599 $(NORMAL_TARGET_EXPORTS) \
31600 echo "Doing pdf in $(TARGET_SUBDIR)/libssp" ; \
31601 for flag in $(EXTRA_TARGET_FLAGS); do \
31602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31603 done; \
31604 (cd $(TARGET_SUBDIR)/libssp && \
31605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31607 "RANLIB=$${RANLIB}" \
31608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31609 pdf) \
31610 || exit 1
31612 @endif target-libssp
31614 .PHONY: maybe-html-target-libssp html-target-libssp
31615 maybe-html-target-libssp:
31616 @if target-libssp
31617 maybe-html-target-libssp: html-target-libssp
31619 html-target-libssp: \
31620 configure-target-libssp
31621 @: $(MAKE); $(unstage)
31622 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31623 r=`${PWD_COMMAND}`; export r; \
31624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31625 $(NORMAL_TARGET_EXPORTS) \
31626 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
31627 for flag in $(EXTRA_TARGET_FLAGS); do \
31628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31629 done; \
31630 (cd $(TARGET_SUBDIR)/libssp && \
31631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31633 "RANLIB=$${RANLIB}" \
31634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31635 html) \
31636 || exit 1
31638 @endif target-libssp
31640 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
31641 maybe-TAGS-target-libssp:
31642 @if target-libssp
31643 maybe-TAGS-target-libssp: TAGS-target-libssp
31645 TAGS-target-libssp: \
31646 configure-target-libssp
31647 @: $(MAKE); $(unstage)
31648 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31649 r=`${PWD_COMMAND}`; export r; \
31650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31651 $(NORMAL_TARGET_EXPORTS) \
31652 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
31653 for flag in $(EXTRA_TARGET_FLAGS); do \
31654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31655 done; \
31656 (cd $(TARGET_SUBDIR)/libssp && \
31657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31659 "RANLIB=$${RANLIB}" \
31660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31661 TAGS) \
31662 || exit 1
31664 @endif target-libssp
31666 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
31667 maybe-install-info-target-libssp:
31668 @if target-libssp
31669 maybe-install-info-target-libssp: install-info-target-libssp
31671 install-info-target-libssp: \
31672 configure-target-libssp \
31673 info-target-libssp
31674 @: $(MAKE); $(unstage)
31675 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31676 r=`${PWD_COMMAND}`; export r; \
31677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31678 $(NORMAL_TARGET_EXPORTS) \
31679 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
31680 for flag in $(EXTRA_TARGET_FLAGS); do \
31681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31682 done; \
31683 (cd $(TARGET_SUBDIR)/libssp && \
31684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31686 "RANLIB=$${RANLIB}" \
31687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31688 install-info) \
31689 || exit 1
31691 @endif target-libssp
31693 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
31694 maybe-install-pdf-target-libssp:
31695 @if target-libssp
31696 maybe-install-pdf-target-libssp: install-pdf-target-libssp
31698 install-pdf-target-libssp: \
31699 configure-target-libssp \
31700 pdf-target-libssp
31701 @: $(MAKE); $(unstage)
31702 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31703 r=`${PWD_COMMAND}`; export r; \
31704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31705 $(NORMAL_TARGET_EXPORTS) \
31706 echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp" ; \
31707 for flag in $(EXTRA_TARGET_FLAGS); do \
31708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31709 done; \
31710 (cd $(TARGET_SUBDIR)/libssp && \
31711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31713 "RANLIB=$${RANLIB}" \
31714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31715 install-pdf) \
31716 || exit 1
31718 @endif target-libssp
31720 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
31721 maybe-install-html-target-libssp:
31722 @if target-libssp
31723 maybe-install-html-target-libssp: install-html-target-libssp
31725 install-html-target-libssp: \
31726 configure-target-libssp \
31727 html-target-libssp
31728 @: $(MAKE); $(unstage)
31729 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31730 r=`${PWD_COMMAND}`; export r; \
31731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31732 $(NORMAL_TARGET_EXPORTS) \
31733 echo "Doing install-html in $(TARGET_SUBDIR)/libssp" ; \
31734 for flag in $(EXTRA_TARGET_FLAGS); do \
31735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31736 done; \
31737 (cd $(TARGET_SUBDIR)/libssp && \
31738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31740 "RANLIB=$${RANLIB}" \
31741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31742 install-html) \
31743 || exit 1
31745 @endif target-libssp
31747 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
31748 maybe-installcheck-target-libssp:
31749 @if target-libssp
31750 maybe-installcheck-target-libssp: installcheck-target-libssp
31752 installcheck-target-libssp: \
31753 configure-target-libssp
31754 @: $(MAKE); $(unstage)
31755 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31756 r=`${PWD_COMMAND}`; export r; \
31757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31758 $(NORMAL_TARGET_EXPORTS) \
31759 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
31760 for flag in $(EXTRA_TARGET_FLAGS); do \
31761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31762 done; \
31763 (cd $(TARGET_SUBDIR)/libssp && \
31764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31766 "RANLIB=$${RANLIB}" \
31767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31768 installcheck) \
31769 || exit 1
31771 @endif target-libssp
31773 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
31774 maybe-mostlyclean-target-libssp:
31775 @if target-libssp
31776 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
31778 mostlyclean-target-libssp:
31779 @: $(MAKE); $(unstage)
31780 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31781 r=`${PWD_COMMAND}`; export r; \
31782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31783 $(NORMAL_TARGET_EXPORTS) \
31784 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
31785 for flag in $(EXTRA_TARGET_FLAGS); do \
31786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31787 done; \
31788 (cd $(TARGET_SUBDIR)/libssp && \
31789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31791 "RANLIB=$${RANLIB}" \
31792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31793 mostlyclean) \
31794 || exit 1
31796 @endif target-libssp
31798 .PHONY: maybe-clean-target-libssp clean-target-libssp
31799 maybe-clean-target-libssp:
31800 @if target-libssp
31801 maybe-clean-target-libssp: clean-target-libssp
31803 clean-target-libssp:
31804 @: $(MAKE); $(unstage)
31805 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31806 r=`${PWD_COMMAND}`; export r; \
31807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31808 $(NORMAL_TARGET_EXPORTS) \
31809 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
31810 for flag in $(EXTRA_TARGET_FLAGS); do \
31811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31812 done; \
31813 (cd $(TARGET_SUBDIR)/libssp && \
31814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31816 "RANLIB=$${RANLIB}" \
31817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31818 clean) \
31819 || exit 1
31821 @endif target-libssp
31823 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
31824 maybe-distclean-target-libssp:
31825 @if target-libssp
31826 maybe-distclean-target-libssp: distclean-target-libssp
31828 distclean-target-libssp:
31829 @: $(MAKE); $(unstage)
31830 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31831 r=`${PWD_COMMAND}`; export r; \
31832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31833 $(NORMAL_TARGET_EXPORTS) \
31834 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
31835 for flag in $(EXTRA_TARGET_FLAGS); do \
31836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31837 done; \
31838 (cd $(TARGET_SUBDIR)/libssp && \
31839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31841 "RANLIB=$${RANLIB}" \
31842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31843 distclean) \
31844 || exit 1
31846 @endif target-libssp
31848 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
31849 maybe-maintainer-clean-target-libssp:
31850 @if target-libssp
31851 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
31853 maintainer-clean-target-libssp:
31854 @: $(MAKE); $(unstage)
31855 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31856 r=`${PWD_COMMAND}`; export r; \
31857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31858 $(NORMAL_TARGET_EXPORTS) \
31859 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
31860 for flag in $(EXTRA_TARGET_FLAGS); do \
31861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31862 done; \
31863 (cd $(TARGET_SUBDIR)/libssp && \
31864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31866 "RANLIB=$${RANLIB}" \
31867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31868 maintainer-clean) \
31869 || exit 1
31871 @endif target-libssp
31877 .PHONY: configure-target-newlib maybe-configure-target-newlib
31878 maybe-configure-target-newlib:
31879 @if gcc-bootstrap
31880 configure-target-newlib: stage_current
31881 @endif gcc-bootstrap
31882 @if target-newlib
31883 maybe-configure-target-newlib: configure-target-newlib
31884 configure-target-newlib:
31885 @: $(MAKE); $(unstage)
31886 @r=`${PWD_COMMAND}`; export r; \
31887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31888 echo "Checking multilib configuration for newlib..."; \
31889 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
31890 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
31891 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
31892 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
31893 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
31894 else \
31895 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
31896 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
31897 fi; \
31898 else \
31899 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
31900 fi; \
31901 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
31902 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
31903 $(NORMAL_TARGET_EXPORTS) \
31904 echo Configuring in $(TARGET_SUBDIR)/newlib; \
31905 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
31906 case $(srcdir) in \
31907 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31908 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
31909 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31910 esac; \
31911 srcdiroption="--srcdir=$${topdir}/newlib"; \
31912 libsrcdir="$$s/newlib"; \
31913 rm -f no-such-file || : ; \
31914 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31915 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31916 --target=${target_alias} $${srcdiroption} \
31917 || exit 1
31918 @endif target-newlib
31924 .PHONY: all-target-newlib maybe-all-target-newlib
31925 maybe-all-target-newlib:
31926 @if gcc-bootstrap
31927 all-target-newlib: stage_current
31928 @endif gcc-bootstrap
31929 @if target-newlib
31930 TARGET-target-newlib=all
31931 maybe-all-target-newlib: all-target-newlib
31932 all-target-newlib: configure-target-newlib
31933 @: $(MAKE); $(unstage)
31934 @r=`${PWD_COMMAND}`; export r; \
31935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31936 $(NORMAL_TARGET_EXPORTS) \
31937 (cd $(TARGET_SUBDIR)/newlib && \
31938 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
31939 $(TARGET-target-newlib))
31940 @endif target-newlib
31946 .PHONY: check-target-newlib maybe-check-target-newlib
31947 maybe-check-target-newlib:
31948 @if target-newlib
31949 maybe-check-target-newlib: check-target-newlib
31951 check-target-newlib:
31952 @: $(MAKE); $(unstage)
31953 @r=`${PWD_COMMAND}`; export r; \
31954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31955 $(NORMAL_TARGET_EXPORTS) \
31956 (cd $(TARGET_SUBDIR)/newlib && \
31957 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31959 @endif target-newlib
31961 .PHONY: install-target-newlib maybe-install-target-newlib
31962 maybe-install-target-newlib:
31963 @if target-newlib
31964 maybe-install-target-newlib: install-target-newlib
31966 install-target-newlib: installdirs
31967 @: $(MAKE); $(unstage)
31968 @r=`${PWD_COMMAND}`; export r; \
31969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31970 $(NORMAL_TARGET_EXPORTS) \
31971 (cd $(TARGET_SUBDIR)/newlib && \
31972 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31974 @endif target-newlib
31976 .PHONY: install-strip-target-newlib maybe-install-strip-target-newlib
31977 maybe-install-strip-target-newlib:
31978 @if target-newlib
31979 maybe-install-strip-target-newlib: install-strip-target-newlib
31981 install-strip-target-newlib: installdirs
31982 @: $(MAKE); $(unstage)
31983 @r=`${PWD_COMMAND}`; export r; \
31984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31985 $(NORMAL_TARGET_EXPORTS) \
31986 (cd $(TARGET_SUBDIR)/newlib && \
31987 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
31989 @endif target-newlib
31991 # Other targets (info, dvi, pdf, etc.)
31993 .PHONY: maybe-info-target-newlib info-target-newlib
31994 maybe-info-target-newlib:
31995 @if target-newlib
31996 maybe-info-target-newlib: info-target-newlib
31998 info-target-newlib: \
31999 configure-target-newlib
32000 @: $(MAKE); $(unstage)
32001 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32002 r=`${PWD_COMMAND}`; export r; \
32003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32004 $(NORMAL_TARGET_EXPORTS) \
32005 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
32006 for flag in $(EXTRA_TARGET_FLAGS); do \
32007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32008 done; \
32009 (cd $(TARGET_SUBDIR)/newlib && \
32010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32012 "RANLIB=$${RANLIB}" \
32013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32014 info) \
32015 || exit 1
32017 @endif target-newlib
32019 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
32020 maybe-dvi-target-newlib:
32021 @if target-newlib
32022 maybe-dvi-target-newlib: dvi-target-newlib
32024 dvi-target-newlib: \
32025 configure-target-newlib
32026 @: $(MAKE); $(unstage)
32027 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32028 r=`${PWD_COMMAND}`; export r; \
32029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32030 $(NORMAL_TARGET_EXPORTS) \
32031 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
32032 for flag in $(EXTRA_TARGET_FLAGS); do \
32033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32034 done; \
32035 (cd $(TARGET_SUBDIR)/newlib && \
32036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32038 "RANLIB=$${RANLIB}" \
32039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32040 dvi) \
32041 || exit 1
32043 @endif target-newlib
32045 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
32046 maybe-pdf-target-newlib:
32047 @if target-newlib
32048 maybe-pdf-target-newlib: pdf-target-newlib
32050 pdf-target-newlib: \
32051 configure-target-newlib
32052 @: $(MAKE); $(unstage)
32053 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32054 r=`${PWD_COMMAND}`; export r; \
32055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32056 $(NORMAL_TARGET_EXPORTS) \
32057 echo "Doing pdf in $(TARGET_SUBDIR)/newlib" ; \
32058 for flag in $(EXTRA_TARGET_FLAGS); do \
32059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32060 done; \
32061 (cd $(TARGET_SUBDIR)/newlib && \
32062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32064 "RANLIB=$${RANLIB}" \
32065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32066 pdf) \
32067 || exit 1
32069 @endif target-newlib
32071 .PHONY: maybe-html-target-newlib html-target-newlib
32072 maybe-html-target-newlib:
32073 @if target-newlib
32074 maybe-html-target-newlib: html-target-newlib
32076 html-target-newlib: \
32077 configure-target-newlib
32078 @: $(MAKE); $(unstage)
32079 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32080 r=`${PWD_COMMAND}`; export r; \
32081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32082 $(NORMAL_TARGET_EXPORTS) \
32083 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
32084 for flag in $(EXTRA_TARGET_FLAGS); do \
32085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32086 done; \
32087 (cd $(TARGET_SUBDIR)/newlib && \
32088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32090 "RANLIB=$${RANLIB}" \
32091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32092 html) \
32093 || exit 1
32095 @endif target-newlib
32097 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
32098 maybe-TAGS-target-newlib:
32099 @if target-newlib
32100 maybe-TAGS-target-newlib: TAGS-target-newlib
32102 TAGS-target-newlib: \
32103 configure-target-newlib
32104 @: $(MAKE); $(unstage)
32105 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32106 r=`${PWD_COMMAND}`; export r; \
32107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32108 $(NORMAL_TARGET_EXPORTS) \
32109 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
32110 for flag in $(EXTRA_TARGET_FLAGS); do \
32111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32112 done; \
32113 (cd $(TARGET_SUBDIR)/newlib && \
32114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32116 "RANLIB=$${RANLIB}" \
32117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32118 TAGS) \
32119 || exit 1
32121 @endif target-newlib
32123 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
32124 maybe-install-info-target-newlib:
32125 @if target-newlib
32126 maybe-install-info-target-newlib: install-info-target-newlib
32128 install-info-target-newlib: \
32129 configure-target-newlib \
32130 info-target-newlib
32131 @: $(MAKE); $(unstage)
32132 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32133 r=`${PWD_COMMAND}`; export r; \
32134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32135 $(NORMAL_TARGET_EXPORTS) \
32136 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
32137 for flag in $(EXTRA_TARGET_FLAGS); do \
32138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32139 done; \
32140 (cd $(TARGET_SUBDIR)/newlib && \
32141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32143 "RANLIB=$${RANLIB}" \
32144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32145 install-info) \
32146 || exit 1
32148 @endif target-newlib
32150 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
32151 maybe-install-pdf-target-newlib:
32152 @if target-newlib
32153 maybe-install-pdf-target-newlib: install-pdf-target-newlib
32155 install-pdf-target-newlib: \
32156 configure-target-newlib \
32157 pdf-target-newlib
32158 @: $(MAKE); $(unstage)
32159 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32160 r=`${PWD_COMMAND}`; export r; \
32161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32162 $(NORMAL_TARGET_EXPORTS) \
32163 echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib" ; \
32164 for flag in $(EXTRA_TARGET_FLAGS); do \
32165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32166 done; \
32167 (cd $(TARGET_SUBDIR)/newlib && \
32168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32170 "RANLIB=$${RANLIB}" \
32171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32172 install-pdf) \
32173 || exit 1
32175 @endif target-newlib
32177 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
32178 maybe-install-html-target-newlib:
32179 @if target-newlib
32180 maybe-install-html-target-newlib: install-html-target-newlib
32182 install-html-target-newlib: \
32183 configure-target-newlib \
32184 html-target-newlib
32185 @: $(MAKE); $(unstage)
32186 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32187 r=`${PWD_COMMAND}`; export r; \
32188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32189 $(NORMAL_TARGET_EXPORTS) \
32190 echo "Doing install-html in $(TARGET_SUBDIR)/newlib" ; \
32191 for flag in $(EXTRA_TARGET_FLAGS); do \
32192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32193 done; \
32194 (cd $(TARGET_SUBDIR)/newlib && \
32195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32197 "RANLIB=$${RANLIB}" \
32198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32199 install-html) \
32200 || exit 1
32202 @endif target-newlib
32204 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
32205 maybe-installcheck-target-newlib:
32206 @if target-newlib
32207 maybe-installcheck-target-newlib: installcheck-target-newlib
32209 installcheck-target-newlib: \
32210 configure-target-newlib
32211 @: $(MAKE); $(unstage)
32212 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32213 r=`${PWD_COMMAND}`; export r; \
32214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32215 $(NORMAL_TARGET_EXPORTS) \
32216 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
32217 for flag in $(EXTRA_TARGET_FLAGS); do \
32218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32219 done; \
32220 (cd $(TARGET_SUBDIR)/newlib && \
32221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32223 "RANLIB=$${RANLIB}" \
32224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32225 installcheck) \
32226 || exit 1
32228 @endif target-newlib
32230 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
32231 maybe-mostlyclean-target-newlib:
32232 @if target-newlib
32233 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
32235 mostlyclean-target-newlib:
32236 @: $(MAKE); $(unstage)
32237 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32238 r=`${PWD_COMMAND}`; export r; \
32239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32240 $(NORMAL_TARGET_EXPORTS) \
32241 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
32242 for flag in $(EXTRA_TARGET_FLAGS); do \
32243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32244 done; \
32245 (cd $(TARGET_SUBDIR)/newlib && \
32246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32248 "RANLIB=$${RANLIB}" \
32249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32250 mostlyclean) \
32251 || exit 1
32253 @endif target-newlib
32255 .PHONY: maybe-clean-target-newlib clean-target-newlib
32256 maybe-clean-target-newlib:
32257 @if target-newlib
32258 maybe-clean-target-newlib: clean-target-newlib
32260 clean-target-newlib:
32261 @: $(MAKE); $(unstage)
32262 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32263 r=`${PWD_COMMAND}`; export r; \
32264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32265 $(NORMAL_TARGET_EXPORTS) \
32266 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
32267 for flag in $(EXTRA_TARGET_FLAGS); do \
32268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32269 done; \
32270 (cd $(TARGET_SUBDIR)/newlib && \
32271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32273 "RANLIB=$${RANLIB}" \
32274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32275 clean) \
32276 || exit 1
32278 @endif target-newlib
32280 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
32281 maybe-distclean-target-newlib:
32282 @if target-newlib
32283 maybe-distclean-target-newlib: distclean-target-newlib
32285 distclean-target-newlib:
32286 @: $(MAKE); $(unstage)
32287 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32288 r=`${PWD_COMMAND}`; export r; \
32289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32290 $(NORMAL_TARGET_EXPORTS) \
32291 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
32292 for flag in $(EXTRA_TARGET_FLAGS); do \
32293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32294 done; \
32295 (cd $(TARGET_SUBDIR)/newlib && \
32296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32298 "RANLIB=$${RANLIB}" \
32299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32300 distclean) \
32301 || exit 1
32303 @endif target-newlib
32305 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
32306 maybe-maintainer-clean-target-newlib:
32307 @if target-newlib
32308 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
32310 maintainer-clean-target-newlib:
32311 @: $(MAKE); $(unstage)
32312 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32313 r=`${PWD_COMMAND}`; export r; \
32314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32315 $(NORMAL_TARGET_EXPORTS) \
32316 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
32317 for flag in $(EXTRA_TARGET_FLAGS); do \
32318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32319 done; \
32320 (cd $(TARGET_SUBDIR)/newlib && \
32321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32323 "RANLIB=$${RANLIB}" \
32324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32325 maintainer-clean) \
32326 || exit 1
32328 @endif target-newlib
32334 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
32335 maybe-configure-target-libgcc:
32336 @if gcc-bootstrap
32337 configure-target-libgcc: stage_current
32338 @endif gcc-bootstrap
32339 @if target-libgcc
32340 maybe-configure-target-libgcc: configure-target-libgcc
32341 configure-target-libgcc:
32342 @r=`${PWD_COMMAND}`; export r; \
32343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32344 echo "Checking multilib configuration for libgcc..."; \
32345 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32346 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32347 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32348 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32349 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32350 else \
32351 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32352 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32353 fi; \
32354 else \
32355 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32356 fi; \
32357 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32358 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32359 $(NORMAL_TARGET_EXPORTS) \
32360 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
32361 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
32362 case $(srcdir) in \
32363 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32364 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32365 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32366 esac; \
32367 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32368 libsrcdir="$$s/libgcc"; \
32369 rm -f no-such-file || : ; \
32370 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32371 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32372 --target=${target_alias} $${srcdiroption} \
32373 || exit 1
32374 @endif target-libgcc
32378 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
32379 maybe-configure-stage1-target-libgcc:
32380 @if target-libgcc-bootstrap
32381 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
32382 configure-stage1-target-libgcc:
32383 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32384 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32385 @r=`${PWD_COMMAND}`; export r; \
32386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32387 TFLAGS="$(STAGE1_TFLAGS)"; \
32388 echo "Checking multilib configuration for libgcc..."; \
32389 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32390 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32391 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32392 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32393 else \
32394 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32395 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32396 fi; \
32397 else \
32398 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32399 fi; \
32400 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32401 $(NORMAL_TARGET_EXPORTS) \
32402 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32403 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32404 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32405 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc ; \
32406 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32407 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32408 case $(srcdir) in \
32409 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32410 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32411 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32412 esac; \
32413 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32414 libsrcdir="$$s/libgcc"; \
32415 $(SHELL) $${libsrcdir}/configure \
32416 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32417 --target=${target_alias} $${srcdiroption} \
32418 $(STAGE1_CONFIGURE_FLAGS)
32419 @endif target-libgcc-bootstrap
32421 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
32422 maybe-configure-stage2-target-libgcc:
32423 @if target-libgcc-bootstrap
32424 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
32425 configure-stage2-target-libgcc:
32426 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32427 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32428 @r=`${PWD_COMMAND}`; export r; \
32429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32430 TFLAGS="$(STAGE2_TFLAGS)"; \
32431 echo "Checking multilib configuration for libgcc..."; \
32432 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32433 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32434 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32435 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32436 else \
32437 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32438 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32439 fi; \
32440 else \
32441 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32442 fi; \
32443 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32444 $(NORMAL_TARGET_EXPORTS) \
32446 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32447 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32448 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32449 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc ; \
32450 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32451 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32452 case $(srcdir) in \
32453 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32454 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32455 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32456 esac; \
32457 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32458 libsrcdir="$$s/libgcc"; \
32459 $(SHELL) $${libsrcdir}/configure \
32460 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32461 --target=${target_alias} $${srcdiroption} \
32462 --with-build-libsubdir=$(HOST_SUBDIR) \
32463 $(STAGE2_CONFIGURE_FLAGS)
32464 @endif target-libgcc-bootstrap
32466 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
32467 maybe-configure-stage3-target-libgcc:
32468 @if target-libgcc-bootstrap
32469 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
32470 configure-stage3-target-libgcc:
32471 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32472 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32473 @r=`${PWD_COMMAND}`; export r; \
32474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32475 TFLAGS="$(STAGE3_TFLAGS)"; \
32476 echo "Checking multilib configuration for libgcc..."; \
32477 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32478 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32479 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32480 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32481 else \
32482 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32483 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32484 fi; \
32485 else \
32486 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32487 fi; \
32488 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32489 $(NORMAL_TARGET_EXPORTS) \
32491 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32492 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32493 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32494 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc ; \
32495 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32496 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32497 case $(srcdir) in \
32498 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32499 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32500 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32501 esac; \
32502 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32503 libsrcdir="$$s/libgcc"; \
32504 $(SHELL) $${libsrcdir}/configure \
32505 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32506 --target=${target_alias} $${srcdiroption} \
32507 --with-build-libsubdir=$(HOST_SUBDIR) \
32508 $(STAGE3_CONFIGURE_FLAGS)
32509 @endif target-libgcc-bootstrap
32511 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
32512 maybe-configure-stage4-target-libgcc:
32513 @if target-libgcc-bootstrap
32514 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
32515 configure-stage4-target-libgcc:
32516 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32517 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32518 @r=`${PWD_COMMAND}`; export r; \
32519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32520 TFLAGS="$(STAGE4_TFLAGS)"; \
32521 echo "Checking multilib configuration for libgcc..."; \
32522 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32523 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32524 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32525 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32526 else \
32527 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32528 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32529 fi; \
32530 else \
32531 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32532 fi; \
32533 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32534 $(NORMAL_TARGET_EXPORTS) \
32536 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32537 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32538 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32539 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc ; \
32540 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32541 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32542 case $(srcdir) in \
32543 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32544 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32545 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32546 esac; \
32547 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32548 libsrcdir="$$s/libgcc"; \
32549 $(SHELL) $${libsrcdir}/configure \
32550 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32551 --target=${target_alias} $${srcdiroption} \
32552 --with-build-libsubdir=$(HOST_SUBDIR) \
32553 $(STAGE4_CONFIGURE_FLAGS)
32554 @endif target-libgcc-bootstrap
32556 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
32557 maybe-configure-stageprofile-target-libgcc:
32558 @if target-libgcc-bootstrap
32559 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
32560 configure-stageprofile-target-libgcc:
32561 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32562 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32563 @r=`${PWD_COMMAND}`; export r; \
32564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32565 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32566 echo "Checking multilib configuration for libgcc..."; \
32567 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32568 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32569 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32570 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32571 else \
32572 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32573 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32574 fi; \
32575 else \
32576 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32577 fi; \
32578 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32579 $(NORMAL_TARGET_EXPORTS) \
32581 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32582 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32583 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32584 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc ; \
32585 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32586 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32587 case $(srcdir) in \
32588 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32589 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32590 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32591 esac; \
32592 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32593 libsrcdir="$$s/libgcc"; \
32594 $(SHELL) $${libsrcdir}/configure \
32595 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32596 --target=${target_alias} $${srcdiroption} \
32597 --with-build-libsubdir=$(HOST_SUBDIR) \
32598 $(STAGEprofile_CONFIGURE_FLAGS)
32599 @endif target-libgcc-bootstrap
32601 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
32602 maybe-configure-stagefeedback-target-libgcc:
32603 @if target-libgcc-bootstrap
32604 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
32605 configure-stagefeedback-target-libgcc:
32606 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32607 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32608 @r=`${PWD_COMMAND}`; export r; \
32609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32610 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32611 echo "Checking multilib configuration for libgcc..."; \
32612 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32613 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32614 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32615 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32616 else \
32617 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32618 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32619 fi; \
32620 else \
32621 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32622 fi; \
32623 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32624 $(NORMAL_TARGET_EXPORTS) \
32626 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32627 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32628 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32629 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc ; \
32630 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32631 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32632 case $(srcdir) in \
32633 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32634 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32635 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32636 esac; \
32637 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32638 libsrcdir="$$s/libgcc"; \
32639 $(SHELL) $${libsrcdir}/configure \
32640 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32641 --target=${target_alias} $${srcdiroption} \
32642 --with-build-libsubdir=$(HOST_SUBDIR) \
32643 $(STAGEfeedback_CONFIGURE_FLAGS)
32644 @endif target-libgcc-bootstrap
32650 .PHONY: all-target-libgcc maybe-all-target-libgcc
32651 maybe-all-target-libgcc:
32652 @if gcc-bootstrap
32653 all-target-libgcc: stage_current
32654 @endif gcc-bootstrap
32655 @if target-libgcc
32656 TARGET-target-libgcc=all
32657 maybe-all-target-libgcc: all-target-libgcc
32658 all-target-libgcc: configure-target-libgcc
32659 @r=`${PWD_COMMAND}`; export r; \
32660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32661 $(NORMAL_TARGET_EXPORTS) \
32662 (cd $(TARGET_SUBDIR)/libgcc && \
32663 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
32664 $(TARGET-target-libgcc))
32665 @endif target-libgcc
32669 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
32670 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
32671 maybe-all-stage1-target-libgcc:
32672 maybe-clean-stage1-target-libgcc:
32673 @if target-libgcc-bootstrap
32674 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
32675 all-stage1: all-stage1-target-libgcc
32676 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
32677 all-stage1-target-libgcc: configure-stage1-target-libgcc
32678 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32679 @r=`${PWD_COMMAND}`; export r; \
32680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32681 TFLAGS="$(STAGE1_TFLAGS)"; \
32682 $(NORMAL_TARGET_EXPORTS) \
32683 cd $(TARGET_SUBDIR)/libgcc && \
32684 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32685 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32686 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32687 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32688 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32689 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32690 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32691 $(EXTRA_TARGET_FLAGS) \
32692 TFLAGS="$(STAGE1_TFLAGS)" \
32693 $(TARGET-stage1-target-libgcc)
32695 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
32696 clean-stage1: clean-stage1-target-libgcc
32697 clean-stage1-target-libgcc:
32698 @if [ $(current_stage) = stage1 ]; then \
32699 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32700 else \
32701 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
32702 $(MAKE) stage1-start; \
32703 fi; \
32704 cd $(TARGET_SUBDIR)/libgcc && \
32705 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32706 clean
32707 @endif target-libgcc-bootstrap
32710 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
32711 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
32712 maybe-all-stage2-target-libgcc:
32713 maybe-clean-stage2-target-libgcc:
32714 @if target-libgcc-bootstrap
32715 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
32716 all-stage2: all-stage2-target-libgcc
32717 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
32718 all-stage2-target-libgcc: configure-stage2-target-libgcc
32719 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32720 @r=`${PWD_COMMAND}`; export r; \
32721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32722 TFLAGS="$(STAGE2_TFLAGS)"; \
32723 $(NORMAL_TARGET_EXPORTS) \
32725 cd $(TARGET_SUBDIR)/libgcc && \
32726 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32727 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32728 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32729 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32730 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32731 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32732 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32733 $(EXTRA_TARGET_FLAGS) \
32734 TFLAGS="$(STAGE2_TFLAGS)" \
32735 $(TARGET-stage2-target-libgcc)
32737 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
32738 clean-stage2: clean-stage2-target-libgcc
32739 clean-stage2-target-libgcc:
32740 @if [ $(current_stage) = stage2 ]; then \
32741 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32742 else \
32743 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
32744 $(MAKE) stage2-start; \
32745 fi; \
32746 cd $(TARGET_SUBDIR)/libgcc && \
32747 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32749 clean
32750 @endif target-libgcc-bootstrap
32753 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
32754 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
32755 maybe-all-stage3-target-libgcc:
32756 maybe-clean-stage3-target-libgcc:
32757 @if target-libgcc-bootstrap
32758 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
32759 all-stage3: all-stage3-target-libgcc
32760 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
32761 all-stage3-target-libgcc: configure-stage3-target-libgcc
32762 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32763 @r=`${PWD_COMMAND}`; export r; \
32764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32765 TFLAGS="$(STAGE3_TFLAGS)"; \
32766 $(NORMAL_TARGET_EXPORTS) \
32768 cd $(TARGET_SUBDIR)/libgcc && \
32769 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32770 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32771 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32772 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32773 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32774 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32775 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32776 $(EXTRA_TARGET_FLAGS) \
32777 TFLAGS="$(STAGE3_TFLAGS)" \
32778 $(TARGET-stage3-target-libgcc)
32780 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
32781 clean-stage3: clean-stage3-target-libgcc
32782 clean-stage3-target-libgcc:
32783 @if [ $(current_stage) = stage3 ]; then \
32784 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32785 else \
32786 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
32787 $(MAKE) stage3-start; \
32788 fi; \
32789 cd $(TARGET_SUBDIR)/libgcc && \
32790 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32792 clean
32793 @endif target-libgcc-bootstrap
32796 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
32797 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
32798 maybe-all-stage4-target-libgcc:
32799 maybe-clean-stage4-target-libgcc:
32800 @if target-libgcc-bootstrap
32801 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
32802 all-stage4: all-stage4-target-libgcc
32803 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
32804 all-stage4-target-libgcc: configure-stage4-target-libgcc
32805 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32806 @r=`${PWD_COMMAND}`; export r; \
32807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32808 TFLAGS="$(STAGE4_TFLAGS)"; \
32809 $(NORMAL_TARGET_EXPORTS) \
32811 cd $(TARGET_SUBDIR)/libgcc && \
32812 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32813 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32814 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32815 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32816 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32817 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32818 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32819 $(EXTRA_TARGET_FLAGS) \
32820 TFLAGS="$(STAGE4_TFLAGS)" \
32821 $(TARGET-stage4-target-libgcc)
32823 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
32824 clean-stage4: clean-stage4-target-libgcc
32825 clean-stage4-target-libgcc:
32826 @if [ $(current_stage) = stage4 ]; then \
32827 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32828 else \
32829 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
32830 $(MAKE) stage4-start; \
32831 fi; \
32832 cd $(TARGET_SUBDIR)/libgcc && \
32833 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32835 clean
32836 @endif target-libgcc-bootstrap
32839 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
32840 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
32841 maybe-all-stageprofile-target-libgcc:
32842 maybe-clean-stageprofile-target-libgcc:
32843 @if target-libgcc-bootstrap
32844 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
32845 all-stageprofile: all-stageprofile-target-libgcc
32846 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
32847 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
32848 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32849 @r=`${PWD_COMMAND}`; export r; \
32850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32851 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32852 $(NORMAL_TARGET_EXPORTS) \
32854 cd $(TARGET_SUBDIR)/libgcc && \
32855 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32856 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32857 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32858 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32859 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32860 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32861 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32862 $(EXTRA_TARGET_FLAGS) \
32863 TFLAGS="$(STAGEprofile_TFLAGS)" \
32864 $(TARGET-stageprofile-target-libgcc)
32866 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
32867 clean-stageprofile: clean-stageprofile-target-libgcc
32868 clean-stageprofile-target-libgcc:
32869 @if [ $(current_stage) = stageprofile ]; then \
32870 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32871 else \
32872 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
32873 $(MAKE) stageprofile-start; \
32874 fi; \
32875 cd $(TARGET_SUBDIR)/libgcc && \
32876 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32878 clean
32879 @endif target-libgcc-bootstrap
32882 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
32883 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
32884 maybe-all-stagefeedback-target-libgcc:
32885 maybe-clean-stagefeedback-target-libgcc:
32886 @if target-libgcc-bootstrap
32887 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
32888 all-stagefeedback: all-stagefeedback-target-libgcc
32889 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
32890 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
32891 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32892 @r=`${PWD_COMMAND}`; export r; \
32893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32894 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32895 $(NORMAL_TARGET_EXPORTS) \
32897 cd $(TARGET_SUBDIR)/libgcc && \
32898 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32899 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32900 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32901 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32902 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32903 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32904 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32905 $(EXTRA_TARGET_FLAGS) \
32906 TFLAGS="$(STAGEfeedback_TFLAGS)" \
32907 $(TARGET-stagefeedback-target-libgcc)
32909 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
32910 clean-stagefeedback: clean-stagefeedback-target-libgcc
32911 clean-stagefeedback-target-libgcc:
32912 @if [ $(current_stage) = stagefeedback ]; then \
32913 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32914 else \
32915 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
32916 $(MAKE) stagefeedback-start; \
32917 fi; \
32918 cd $(TARGET_SUBDIR)/libgcc && \
32919 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32921 clean
32922 @endif target-libgcc-bootstrap
32929 .PHONY: check-target-libgcc maybe-check-target-libgcc
32930 maybe-check-target-libgcc:
32931 @if target-libgcc
32932 maybe-check-target-libgcc: check-target-libgcc
32934 # Dummy target for uncheckable module.
32935 check-target-libgcc:
32937 @endif target-libgcc
32939 .PHONY: install-target-libgcc maybe-install-target-libgcc
32940 maybe-install-target-libgcc:
32941 @if target-libgcc
32942 maybe-install-target-libgcc: install-target-libgcc
32944 install-target-libgcc: installdirs
32945 @: $(MAKE); $(unstage)
32946 @r=`${PWD_COMMAND}`; export r; \
32947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32948 $(NORMAL_TARGET_EXPORTS) \
32949 (cd $(TARGET_SUBDIR)/libgcc && \
32950 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32952 @endif target-libgcc
32954 .PHONY: install-strip-target-libgcc maybe-install-strip-target-libgcc
32955 maybe-install-strip-target-libgcc:
32956 @if target-libgcc
32957 maybe-install-strip-target-libgcc: install-strip-target-libgcc
32959 install-strip-target-libgcc: installdirs
32960 @: $(MAKE); $(unstage)
32961 @r=`${PWD_COMMAND}`; export r; \
32962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32963 $(NORMAL_TARGET_EXPORTS) \
32964 (cd $(TARGET_SUBDIR)/libgcc && \
32965 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
32967 @endif target-libgcc
32969 # Other targets (info, dvi, pdf, etc.)
32971 .PHONY: maybe-info-target-libgcc info-target-libgcc
32972 maybe-info-target-libgcc:
32973 @if target-libgcc
32974 maybe-info-target-libgcc: info-target-libgcc
32976 info-target-libgcc: \
32977 configure-target-libgcc
32978 @: $(MAKE); $(unstage)
32979 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
32980 r=`${PWD_COMMAND}`; export r; \
32981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32982 $(NORMAL_TARGET_EXPORTS) \
32983 echo "Doing info in $(TARGET_SUBDIR)/libgcc" ; \
32984 for flag in $(EXTRA_TARGET_FLAGS); do \
32985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32986 done; \
32987 (cd $(TARGET_SUBDIR)/libgcc && \
32988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32990 "RANLIB=$${RANLIB}" \
32991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32992 info) \
32993 || exit 1
32995 @endif target-libgcc
32997 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
32998 maybe-dvi-target-libgcc:
32999 @if target-libgcc
33000 maybe-dvi-target-libgcc: dvi-target-libgcc
33002 dvi-target-libgcc: \
33003 configure-target-libgcc
33004 @: $(MAKE); $(unstage)
33005 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33006 r=`${PWD_COMMAND}`; export r; \
33007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33008 $(NORMAL_TARGET_EXPORTS) \
33009 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc" ; \
33010 for flag in $(EXTRA_TARGET_FLAGS); do \
33011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33012 done; \
33013 (cd $(TARGET_SUBDIR)/libgcc && \
33014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33016 "RANLIB=$${RANLIB}" \
33017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33018 dvi) \
33019 || exit 1
33021 @endif target-libgcc
33023 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
33024 maybe-pdf-target-libgcc:
33025 @if target-libgcc
33026 maybe-pdf-target-libgcc: pdf-target-libgcc
33028 pdf-target-libgcc: \
33029 configure-target-libgcc
33030 @: $(MAKE); $(unstage)
33031 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33032 r=`${PWD_COMMAND}`; export r; \
33033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33034 $(NORMAL_TARGET_EXPORTS) \
33035 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc" ; \
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)/libgcc && \
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 pdf) \
33045 || exit 1
33047 @endif target-libgcc
33049 .PHONY: maybe-html-target-libgcc html-target-libgcc
33050 maybe-html-target-libgcc:
33051 @if target-libgcc
33052 maybe-html-target-libgcc: html-target-libgcc
33054 html-target-libgcc: \
33055 configure-target-libgcc
33056 @: $(MAKE); $(unstage)
33057 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33058 r=`${PWD_COMMAND}`; export r; \
33059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33060 $(NORMAL_TARGET_EXPORTS) \
33061 echo "Doing html in $(TARGET_SUBDIR)/libgcc" ; \
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)/libgcc && \
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 html) \
33071 || exit 1
33073 @endif target-libgcc
33075 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
33076 maybe-TAGS-target-libgcc:
33077 @if target-libgcc
33078 maybe-TAGS-target-libgcc: TAGS-target-libgcc
33080 TAGS-target-libgcc: \
33081 configure-target-libgcc
33082 @: $(MAKE); $(unstage)
33083 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33084 r=`${PWD_COMMAND}`; export r; \
33085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33086 $(NORMAL_TARGET_EXPORTS) \
33087 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc" ; \
33088 for flag in $(EXTRA_TARGET_FLAGS); do \
33089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33090 done; \
33091 (cd $(TARGET_SUBDIR)/libgcc && \
33092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33094 "RANLIB=$${RANLIB}" \
33095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33096 TAGS) \
33097 || exit 1
33099 @endif target-libgcc
33101 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
33102 maybe-install-info-target-libgcc:
33103 @if target-libgcc
33104 maybe-install-info-target-libgcc: install-info-target-libgcc
33106 install-info-target-libgcc: \
33107 configure-target-libgcc \
33108 info-target-libgcc
33109 @: $(MAKE); $(unstage)
33110 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33111 r=`${PWD_COMMAND}`; export r; \
33112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33113 $(NORMAL_TARGET_EXPORTS) \
33114 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc" ; \
33115 for flag in $(EXTRA_TARGET_FLAGS); do \
33116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33117 done; \
33118 (cd $(TARGET_SUBDIR)/libgcc && \
33119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33121 "RANLIB=$${RANLIB}" \
33122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33123 install-info) \
33124 || exit 1
33126 @endif target-libgcc
33128 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
33129 maybe-install-pdf-target-libgcc:
33130 @if target-libgcc
33131 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
33133 install-pdf-target-libgcc: \
33134 configure-target-libgcc \
33135 pdf-target-libgcc
33136 @: $(MAKE); $(unstage)
33137 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33138 r=`${PWD_COMMAND}`; export r; \
33139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33140 $(NORMAL_TARGET_EXPORTS) \
33141 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc" ; \
33142 for flag in $(EXTRA_TARGET_FLAGS); do \
33143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33144 done; \
33145 (cd $(TARGET_SUBDIR)/libgcc && \
33146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33148 "RANLIB=$${RANLIB}" \
33149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33150 install-pdf) \
33151 || exit 1
33153 @endif target-libgcc
33155 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
33156 maybe-install-html-target-libgcc:
33157 @if target-libgcc
33158 maybe-install-html-target-libgcc: install-html-target-libgcc
33160 install-html-target-libgcc: \
33161 configure-target-libgcc \
33162 html-target-libgcc
33163 @: $(MAKE); $(unstage)
33164 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33165 r=`${PWD_COMMAND}`; export r; \
33166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33167 $(NORMAL_TARGET_EXPORTS) \
33168 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc" ; \
33169 for flag in $(EXTRA_TARGET_FLAGS); do \
33170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33171 done; \
33172 (cd $(TARGET_SUBDIR)/libgcc && \
33173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33175 "RANLIB=$${RANLIB}" \
33176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33177 install-html) \
33178 || exit 1
33180 @endif target-libgcc
33182 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
33183 maybe-installcheck-target-libgcc:
33184 @if target-libgcc
33185 maybe-installcheck-target-libgcc: installcheck-target-libgcc
33187 installcheck-target-libgcc: \
33188 configure-target-libgcc
33189 @: $(MAKE); $(unstage)
33190 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33191 r=`${PWD_COMMAND}`; export r; \
33192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33193 $(NORMAL_TARGET_EXPORTS) \
33194 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc" ; \
33195 for flag in $(EXTRA_TARGET_FLAGS); do \
33196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33197 done; \
33198 (cd $(TARGET_SUBDIR)/libgcc && \
33199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33201 "RANLIB=$${RANLIB}" \
33202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33203 installcheck) \
33204 || exit 1
33206 @endif target-libgcc
33208 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
33209 maybe-mostlyclean-target-libgcc:
33210 @if target-libgcc
33211 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
33213 mostlyclean-target-libgcc:
33214 @: $(MAKE); $(unstage)
33215 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33216 r=`${PWD_COMMAND}`; export r; \
33217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33218 $(NORMAL_TARGET_EXPORTS) \
33219 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc" ; \
33220 for flag in $(EXTRA_TARGET_FLAGS); do \
33221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33222 done; \
33223 (cd $(TARGET_SUBDIR)/libgcc && \
33224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33226 "RANLIB=$${RANLIB}" \
33227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33228 mostlyclean) \
33229 || exit 1
33231 @endif target-libgcc
33233 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
33234 maybe-clean-target-libgcc:
33235 @if target-libgcc
33236 maybe-clean-target-libgcc: clean-target-libgcc
33238 clean-target-libgcc:
33239 @: $(MAKE); $(unstage)
33240 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33241 r=`${PWD_COMMAND}`; export r; \
33242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33243 $(NORMAL_TARGET_EXPORTS) \
33244 echo "Doing clean in $(TARGET_SUBDIR)/libgcc" ; \
33245 for flag in $(EXTRA_TARGET_FLAGS); do \
33246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33247 done; \
33248 (cd $(TARGET_SUBDIR)/libgcc && \
33249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33251 "RANLIB=$${RANLIB}" \
33252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33253 clean) \
33254 || exit 1
33256 @endif target-libgcc
33258 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
33259 maybe-distclean-target-libgcc:
33260 @if target-libgcc
33261 maybe-distclean-target-libgcc: distclean-target-libgcc
33263 distclean-target-libgcc:
33264 @: $(MAKE); $(unstage)
33265 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33266 r=`${PWD_COMMAND}`; export r; \
33267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33268 $(NORMAL_TARGET_EXPORTS) \
33269 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc" ; \
33270 for flag in $(EXTRA_TARGET_FLAGS); do \
33271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33272 done; \
33273 (cd $(TARGET_SUBDIR)/libgcc && \
33274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33276 "RANLIB=$${RANLIB}" \
33277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33278 distclean) \
33279 || exit 1
33281 @endif target-libgcc
33283 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
33284 maybe-maintainer-clean-target-libgcc:
33285 @if target-libgcc
33286 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
33288 maintainer-clean-target-libgcc:
33289 @: $(MAKE); $(unstage)
33290 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33291 r=`${PWD_COMMAND}`; export r; \
33292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33293 $(NORMAL_TARGET_EXPORTS) \
33294 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc" ; \
33295 for flag in $(EXTRA_TARGET_FLAGS); do \
33296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33297 done; \
33298 (cd $(TARGET_SUBDIR)/libgcc && \
33299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33301 "RANLIB=$${RANLIB}" \
33302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33303 maintainer-clean) \
33304 || exit 1
33306 @endif target-libgcc
33312 .PHONY: configure-target-libquadmath maybe-configure-target-libquadmath
33313 maybe-configure-target-libquadmath:
33314 @if gcc-bootstrap
33315 configure-target-libquadmath: stage_current
33316 @endif gcc-bootstrap
33317 @if target-libquadmath
33318 maybe-configure-target-libquadmath: configure-target-libquadmath
33319 configure-target-libquadmath:
33320 @: $(MAKE); $(unstage)
33321 @r=`${PWD_COMMAND}`; export r; \
33322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33323 echo "Checking multilib configuration for libquadmath..."; \
33324 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
33325 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libquadmath/multilib.tmp 2> /dev/null ; \
33326 if test -r $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
33327 if cmp -s $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
33328 rm -f $(TARGET_SUBDIR)/libquadmath/multilib.tmp; \
33329 else \
33330 rm -f $(TARGET_SUBDIR)/libquadmath/Makefile; \
33331 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
33332 fi; \
33333 else \
33334 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
33335 fi; \
33336 test ! -f $(TARGET_SUBDIR)/libquadmath/Makefile || exit 0; \
33337 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
33338 $(NORMAL_TARGET_EXPORTS) \
33339 echo Configuring in $(TARGET_SUBDIR)/libquadmath; \
33340 cd "$(TARGET_SUBDIR)/libquadmath" || exit 1; \
33341 case $(srcdir) in \
33342 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33343 *) topdir=`echo $(TARGET_SUBDIR)/libquadmath/ | \
33344 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33345 esac; \
33346 srcdiroption="--srcdir=$${topdir}/libquadmath"; \
33347 libsrcdir="$$s/libquadmath"; \
33348 rm -f no-such-file || : ; \
33349 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33350 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33351 --target=${target_alias} $${srcdiroption} \
33352 || exit 1
33353 @endif target-libquadmath
33359 .PHONY: all-target-libquadmath maybe-all-target-libquadmath
33360 maybe-all-target-libquadmath:
33361 @if gcc-bootstrap
33362 all-target-libquadmath: stage_current
33363 @endif gcc-bootstrap
33364 @if target-libquadmath
33365 TARGET-target-libquadmath=all
33366 maybe-all-target-libquadmath: all-target-libquadmath
33367 all-target-libquadmath: configure-target-libquadmath
33368 @: $(MAKE); $(unstage)
33369 @r=`${PWD_COMMAND}`; export r; \
33370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33371 $(NORMAL_TARGET_EXPORTS) \
33372 (cd $(TARGET_SUBDIR)/libquadmath && \
33373 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
33374 $(TARGET-target-libquadmath))
33375 @endif target-libquadmath
33381 .PHONY: check-target-libquadmath maybe-check-target-libquadmath
33382 maybe-check-target-libquadmath:
33383 @if target-libquadmath
33384 maybe-check-target-libquadmath: check-target-libquadmath
33386 check-target-libquadmath:
33387 @: $(MAKE); $(unstage)
33388 @r=`${PWD_COMMAND}`; export r; \
33389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33390 $(NORMAL_TARGET_EXPORTS) \
33391 (cd $(TARGET_SUBDIR)/libquadmath && \
33392 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33394 @endif target-libquadmath
33396 .PHONY: install-target-libquadmath maybe-install-target-libquadmath
33397 maybe-install-target-libquadmath:
33398 @if target-libquadmath
33399 maybe-install-target-libquadmath: install-target-libquadmath
33401 install-target-libquadmath: installdirs
33402 @: $(MAKE); $(unstage)
33403 @r=`${PWD_COMMAND}`; export r; \
33404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33405 $(NORMAL_TARGET_EXPORTS) \
33406 (cd $(TARGET_SUBDIR)/libquadmath && \
33407 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33409 @endif target-libquadmath
33411 .PHONY: install-strip-target-libquadmath maybe-install-strip-target-libquadmath
33412 maybe-install-strip-target-libquadmath:
33413 @if target-libquadmath
33414 maybe-install-strip-target-libquadmath: install-strip-target-libquadmath
33416 install-strip-target-libquadmath: installdirs
33417 @: $(MAKE); $(unstage)
33418 @r=`${PWD_COMMAND}`; export r; \
33419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33420 $(NORMAL_TARGET_EXPORTS) \
33421 (cd $(TARGET_SUBDIR)/libquadmath && \
33422 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
33424 @endif target-libquadmath
33426 # Other targets (info, dvi, pdf, etc.)
33428 .PHONY: maybe-info-target-libquadmath info-target-libquadmath
33429 maybe-info-target-libquadmath:
33430 @if target-libquadmath
33431 maybe-info-target-libquadmath: info-target-libquadmath
33433 info-target-libquadmath: \
33434 configure-target-libquadmath
33435 @: $(MAKE); $(unstage)
33436 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33437 r=`${PWD_COMMAND}`; export r; \
33438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33439 $(NORMAL_TARGET_EXPORTS) \
33440 echo "Doing info in $(TARGET_SUBDIR)/libquadmath" ; \
33441 for flag in $(EXTRA_TARGET_FLAGS); do \
33442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33443 done; \
33444 (cd $(TARGET_SUBDIR)/libquadmath && \
33445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33447 "RANLIB=$${RANLIB}" \
33448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33449 info) \
33450 || exit 1
33452 @endif target-libquadmath
33454 .PHONY: maybe-dvi-target-libquadmath dvi-target-libquadmath
33455 maybe-dvi-target-libquadmath:
33456 @if target-libquadmath
33457 maybe-dvi-target-libquadmath: dvi-target-libquadmath
33459 dvi-target-libquadmath: \
33460 configure-target-libquadmath
33461 @: $(MAKE); $(unstage)
33462 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33463 r=`${PWD_COMMAND}`; export r; \
33464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33465 $(NORMAL_TARGET_EXPORTS) \
33466 echo "Doing dvi in $(TARGET_SUBDIR)/libquadmath" ; \
33467 for flag in $(EXTRA_TARGET_FLAGS); do \
33468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33469 done; \
33470 (cd $(TARGET_SUBDIR)/libquadmath && \
33471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33473 "RANLIB=$${RANLIB}" \
33474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33475 dvi) \
33476 || exit 1
33478 @endif target-libquadmath
33480 .PHONY: maybe-pdf-target-libquadmath pdf-target-libquadmath
33481 maybe-pdf-target-libquadmath:
33482 @if target-libquadmath
33483 maybe-pdf-target-libquadmath: pdf-target-libquadmath
33485 pdf-target-libquadmath: \
33486 configure-target-libquadmath
33487 @: $(MAKE); $(unstage)
33488 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33489 r=`${PWD_COMMAND}`; export r; \
33490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33491 $(NORMAL_TARGET_EXPORTS) \
33492 echo "Doing pdf in $(TARGET_SUBDIR)/libquadmath" ; \
33493 for flag in $(EXTRA_TARGET_FLAGS); do \
33494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33495 done; \
33496 (cd $(TARGET_SUBDIR)/libquadmath && \
33497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33499 "RANLIB=$${RANLIB}" \
33500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33501 pdf) \
33502 || exit 1
33504 @endif target-libquadmath
33506 .PHONY: maybe-html-target-libquadmath html-target-libquadmath
33507 maybe-html-target-libquadmath:
33508 @if target-libquadmath
33509 maybe-html-target-libquadmath: html-target-libquadmath
33511 html-target-libquadmath: \
33512 configure-target-libquadmath
33513 @: $(MAKE); $(unstage)
33514 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33515 r=`${PWD_COMMAND}`; export r; \
33516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33517 $(NORMAL_TARGET_EXPORTS) \
33518 echo "Doing html in $(TARGET_SUBDIR)/libquadmath" ; \
33519 for flag in $(EXTRA_TARGET_FLAGS); do \
33520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33521 done; \
33522 (cd $(TARGET_SUBDIR)/libquadmath && \
33523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33525 "RANLIB=$${RANLIB}" \
33526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33527 html) \
33528 || exit 1
33530 @endif target-libquadmath
33532 .PHONY: maybe-TAGS-target-libquadmath TAGS-target-libquadmath
33533 maybe-TAGS-target-libquadmath:
33534 @if target-libquadmath
33535 maybe-TAGS-target-libquadmath: TAGS-target-libquadmath
33537 TAGS-target-libquadmath: \
33538 configure-target-libquadmath
33539 @: $(MAKE); $(unstage)
33540 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33541 r=`${PWD_COMMAND}`; export r; \
33542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33543 $(NORMAL_TARGET_EXPORTS) \
33544 echo "Doing TAGS in $(TARGET_SUBDIR)/libquadmath" ; \
33545 for flag in $(EXTRA_TARGET_FLAGS); do \
33546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33547 done; \
33548 (cd $(TARGET_SUBDIR)/libquadmath && \
33549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33551 "RANLIB=$${RANLIB}" \
33552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33553 TAGS) \
33554 || exit 1
33556 @endif target-libquadmath
33558 .PHONY: maybe-install-info-target-libquadmath install-info-target-libquadmath
33559 maybe-install-info-target-libquadmath:
33560 @if target-libquadmath
33561 maybe-install-info-target-libquadmath: install-info-target-libquadmath
33563 install-info-target-libquadmath: \
33564 configure-target-libquadmath \
33565 info-target-libquadmath
33566 @: $(MAKE); $(unstage)
33567 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33568 r=`${PWD_COMMAND}`; export r; \
33569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33570 $(NORMAL_TARGET_EXPORTS) \
33571 echo "Doing install-info in $(TARGET_SUBDIR)/libquadmath" ; \
33572 for flag in $(EXTRA_TARGET_FLAGS); do \
33573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33574 done; \
33575 (cd $(TARGET_SUBDIR)/libquadmath && \
33576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33578 "RANLIB=$${RANLIB}" \
33579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33580 install-info) \
33581 || exit 1
33583 @endif target-libquadmath
33585 .PHONY: maybe-install-pdf-target-libquadmath install-pdf-target-libquadmath
33586 maybe-install-pdf-target-libquadmath:
33587 @if target-libquadmath
33588 maybe-install-pdf-target-libquadmath: install-pdf-target-libquadmath
33590 install-pdf-target-libquadmath: \
33591 configure-target-libquadmath \
33592 pdf-target-libquadmath
33593 @: $(MAKE); $(unstage)
33594 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33595 r=`${PWD_COMMAND}`; export r; \
33596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33597 $(NORMAL_TARGET_EXPORTS) \
33598 echo "Doing install-pdf in $(TARGET_SUBDIR)/libquadmath" ; \
33599 for flag in $(EXTRA_TARGET_FLAGS); do \
33600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33601 done; \
33602 (cd $(TARGET_SUBDIR)/libquadmath && \
33603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33605 "RANLIB=$${RANLIB}" \
33606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33607 install-pdf) \
33608 || exit 1
33610 @endif target-libquadmath
33612 .PHONY: maybe-install-html-target-libquadmath install-html-target-libquadmath
33613 maybe-install-html-target-libquadmath:
33614 @if target-libquadmath
33615 maybe-install-html-target-libquadmath: install-html-target-libquadmath
33617 install-html-target-libquadmath: \
33618 configure-target-libquadmath \
33619 html-target-libquadmath
33620 @: $(MAKE); $(unstage)
33621 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33622 r=`${PWD_COMMAND}`; export r; \
33623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33624 $(NORMAL_TARGET_EXPORTS) \
33625 echo "Doing install-html in $(TARGET_SUBDIR)/libquadmath" ; \
33626 for flag in $(EXTRA_TARGET_FLAGS); do \
33627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33628 done; \
33629 (cd $(TARGET_SUBDIR)/libquadmath && \
33630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33632 "RANLIB=$${RANLIB}" \
33633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33634 install-html) \
33635 || exit 1
33637 @endif target-libquadmath
33639 .PHONY: maybe-installcheck-target-libquadmath installcheck-target-libquadmath
33640 maybe-installcheck-target-libquadmath:
33641 @if target-libquadmath
33642 maybe-installcheck-target-libquadmath: installcheck-target-libquadmath
33644 installcheck-target-libquadmath: \
33645 configure-target-libquadmath
33646 @: $(MAKE); $(unstage)
33647 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33648 r=`${PWD_COMMAND}`; export r; \
33649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33650 $(NORMAL_TARGET_EXPORTS) \
33651 echo "Doing installcheck in $(TARGET_SUBDIR)/libquadmath" ; \
33652 for flag in $(EXTRA_TARGET_FLAGS); do \
33653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33654 done; \
33655 (cd $(TARGET_SUBDIR)/libquadmath && \
33656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33658 "RANLIB=$${RANLIB}" \
33659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33660 installcheck) \
33661 || exit 1
33663 @endif target-libquadmath
33665 .PHONY: maybe-mostlyclean-target-libquadmath mostlyclean-target-libquadmath
33666 maybe-mostlyclean-target-libquadmath:
33667 @if target-libquadmath
33668 maybe-mostlyclean-target-libquadmath: mostlyclean-target-libquadmath
33670 mostlyclean-target-libquadmath:
33671 @: $(MAKE); $(unstage)
33672 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33673 r=`${PWD_COMMAND}`; export r; \
33674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33675 $(NORMAL_TARGET_EXPORTS) \
33676 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libquadmath" ; \
33677 for flag in $(EXTRA_TARGET_FLAGS); do \
33678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33679 done; \
33680 (cd $(TARGET_SUBDIR)/libquadmath && \
33681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33683 "RANLIB=$${RANLIB}" \
33684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33685 mostlyclean) \
33686 || exit 1
33688 @endif target-libquadmath
33690 .PHONY: maybe-clean-target-libquadmath clean-target-libquadmath
33691 maybe-clean-target-libquadmath:
33692 @if target-libquadmath
33693 maybe-clean-target-libquadmath: clean-target-libquadmath
33695 clean-target-libquadmath:
33696 @: $(MAKE); $(unstage)
33697 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33698 r=`${PWD_COMMAND}`; export r; \
33699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33700 $(NORMAL_TARGET_EXPORTS) \
33701 echo "Doing clean in $(TARGET_SUBDIR)/libquadmath" ; \
33702 for flag in $(EXTRA_TARGET_FLAGS); do \
33703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33704 done; \
33705 (cd $(TARGET_SUBDIR)/libquadmath && \
33706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33708 "RANLIB=$${RANLIB}" \
33709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33710 clean) \
33711 || exit 1
33713 @endif target-libquadmath
33715 .PHONY: maybe-distclean-target-libquadmath distclean-target-libquadmath
33716 maybe-distclean-target-libquadmath:
33717 @if target-libquadmath
33718 maybe-distclean-target-libquadmath: distclean-target-libquadmath
33720 distclean-target-libquadmath:
33721 @: $(MAKE); $(unstage)
33722 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33723 r=`${PWD_COMMAND}`; export r; \
33724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33725 $(NORMAL_TARGET_EXPORTS) \
33726 echo "Doing distclean in $(TARGET_SUBDIR)/libquadmath" ; \
33727 for flag in $(EXTRA_TARGET_FLAGS); do \
33728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33729 done; \
33730 (cd $(TARGET_SUBDIR)/libquadmath && \
33731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33733 "RANLIB=$${RANLIB}" \
33734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33735 distclean) \
33736 || exit 1
33738 @endif target-libquadmath
33740 .PHONY: maybe-maintainer-clean-target-libquadmath maintainer-clean-target-libquadmath
33741 maybe-maintainer-clean-target-libquadmath:
33742 @if target-libquadmath
33743 maybe-maintainer-clean-target-libquadmath: maintainer-clean-target-libquadmath
33745 maintainer-clean-target-libquadmath:
33746 @: $(MAKE); $(unstage)
33747 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33748 r=`${PWD_COMMAND}`; export r; \
33749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33750 $(NORMAL_TARGET_EXPORTS) \
33751 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libquadmath" ; \
33752 for flag in $(EXTRA_TARGET_FLAGS); do \
33753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33754 done; \
33755 (cd $(TARGET_SUBDIR)/libquadmath && \
33756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33758 "RANLIB=$${RANLIB}" \
33759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33760 maintainer-clean) \
33761 || exit 1
33763 @endif target-libquadmath
33769 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
33770 maybe-configure-target-libgfortran:
33771 @if gcc-bootstrap
33772 configure-target-libgfortran: stage_current
33773 @endif gcc-bootstrap
33774 @if target-libgfortran
33775 maybe-configure-target-libgfortran: configure-target-libgfortran
33776 configure-target-libgfortran:
33777 @: $(MAKE); $(unstage)
33778 @r=`${PWD_COMMAND}`; export r; \
33779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33780 echo "Checking multilib configuration for libgfortran..."; \
33781 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
33782 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
33783 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
33784 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
33785 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
33786 else \
33787 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
33788 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
33789 fi; \
33790 else \
33791 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
33792 fi; \
33793 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
33794 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
33795 $(NORMAL_TARGET_EXPORTS) \
33796 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
33797 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
33798 case $(srcdir) in \
33799 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33800 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
33801 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33802 esac; \
33803 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
33804 libsrcdir="$$s/libgfortran"; \
33805 rm -f no-such-file || : ; \
33806 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33807 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33808 --target=${target_alias} $${srcdiroption} \
33809 || exit 1
33810 @endif target-libgfortran
33816 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
33817 maybe-all-target-libgfortran:
33818 @if gcc-bootstrap
33819 all-target-libgfortran: stage_current
33820 @endif gcc-bootstrap
33821 @if target-libgfortran
33822 TARGET-target-libgfortran=all
33823 maybe-all-target-libgfortran: all-target-libgfortran
33824 all-target-libgfortran: configure-target-libgfortran
33825 @: $(MAKE); $(unstage)
33826 @r=`${PWD_COMMAND}`; export r; \
33827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33828 $(NORMAL_TARGET_EXPORTS) \
33829 (cd $(TARGET_SUBDIR)/libgfortran && \
33830 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
33831 $(TARGET-target-libgfortran))
33832 @endif target-libgfortran
33838 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
33839 maybe-check-target-libgfortran:
33840 @if target-libgfortran
33841 maybe-check-target-libgfortran: check-target-libgfortran
33843 check-target-libgfortran:
33844 @: $(MAKE); $(unstage)
33845 @r=`${PWD_COMMAND}`; export r; \
33846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33847 $(NORMAL_TARGET_EXPORTS) \
33848 (cd $(TARGET_SUBDIR)/libgfortran && \
33849 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33851 @endif target-libgfortran
33853 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
33854 maybe-install-target-libgfortran:
33855 @if target-libgfortran
33856 maybe-install-target-libgfortran: install-target-libgfortran
33858 install-target-libgfortran: installdirs
33859 @: $(MAKE); $(unstage)
33860 @r=`${PWD_COMMAND}`; export r; \
33861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33862 $(NORMAL_TARGET_EXPORTS) \
33863 (cd $(TARGET_SUBDIR)/libgfortran && \
33864 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33866 @endif target-libgfortran
33868 .PHONY: install-strip-target-libgfortran maybe-install-strip-target-libgfortran
33869 maybe-install-strip-target-libgfortran:
33870 @if target-libgfortran
33871 maybe-install-strip-target-libgfortran: install-strip-target-libgfortran
33873 install-strip-target-libgfortran: installdirs
33874 @: $(MAKE); $(unstage)
33875 @r=`${PWD_COMMAND}`; export r; \
33876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33877 $(NORMAL_TARGET_EXPORTS) \
33878 (cd $(TARGET_SUBDIR)/libgfortran && \
33879 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
33881 @endif target-libgfortran
33883 # Other targets (info, dvi, pdf, etc.)
33885 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
33886 maybe-info-target-libgfortran:
33887 @if target-libgfortran
33888 maybe-info-target-libgfortran: info-target-libgfortran
33890 info-target-libgfortran: \
33891 configure-target-libgfortran
33892 @: $(MAKE); $(unstage)
33893 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33894 r=`${PWD_COMMAND}`; export r; \
33895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33896 $(NORMAL_TARGET_EXPORTS) \
33897 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
33898 for flag in $(EXTRA_TARGET_FLAGS); do \
33899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33900 done; \
33901 (cd $(TARGET_SUBDIR)/libgfortran && \
33902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33904 "RANLIB=$${RANLIB}" \
33905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33906 info) \
33907 || exit 1
33909 @endif target-libgfortran
33911 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
33912 maybe-dvi-target-libgfortran:
33913 @if target-libgfortran
33914 maybe-dvi-target-libgfortran: dvi-target-libgfortran
33916 dvi-target-libgfortran: \
33917 configure-target-libgfortran
33918 @: $(MAKE); $(unstage)
33919 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33920 r=`${PWD_COMMAND}`; export r; \
33921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33922 $(NORMAL_TARGET_EXPORTS) \
33923 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
33924 for flag in $(EXTRA_TARGET_FLAGS); do \
33925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33926 done; \
33927 (cd $(TARGET_SUBDIR)/libgfortran && \
33928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33930 "RANLIB=$${RANLIB}" \
33931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33932 dvi) \
33933 || exit 1
33935 @endif target-libgfortran
33937 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
33938 maybe-pdf-target-libgfortran:
33939 @if target-libgfortran
33940 maybe-pdf-target-libgfortran: pdf-target-libgfortran
33942 pdf-target-libgfortran: \
33943 configure-target-libgfortran
33944 @: $(MAKE); $(unstage)
33945 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33946 r=`${PWD_COMMAND}`; export r; \
33947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33948 $(NORMAL_TARGET_EXPORTS) \
33949 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran" ; \
33950 for flag in $(EXTRA_TARGET_FLAGS); do \
33951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33952 done; \
33953 (cd $(TARGET_SUBDIR)/libgfortran && \
33954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33956 "RANLIB=$${RANLIB}" \
33957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33958 pdf) \
33959 || exit 1
33961 @endif target-libgfortran
33963 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
33964 maybe-html-target-libgfortran:
33965 @if target-libgfortran
33966 maybe-html-target-libgfortran: html-target-libgfortran
33968 html-target-libgfortran: \
33969 configure-target-libgfortran
33970 @: $(MAKE); $(unstage)
33971 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33972 r=`${PWD_COMMAND}`; export r; \
33973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33974 $(NORMAL_TARGET_EXPORTS) \
33975 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
33976 for flag in $(EXTRA_TARGET_FLAGS); do \
33977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33978 done; \
33979 (cd $(TARGET_SUBDIR)/libgfortran && \
33980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33982 "RANLIB=$${RANLIB}" \
33983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33984 html) \
33985 || exit 1
33987 @endif target-libgfortran
33989 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
33990 maybe-TAGS-target-libgfortran:
33991 @if target-libgfortran
33992 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
33994 TAGS-target-libgfortran: \
33995 configure-target-libgfortran
33996 @: $(MAKE); $(unstage)
33997 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33998 r=`${PWD_COMMAND}`; export r; \
33999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34000 $(NORMAL_TARGET_EXPORTS) \
34001 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
34002 for flag in $(EXTRA_TARGET_FLAGS); do \
34003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34004 done; \
34005 (cd $(TARGET_SUBDIR)/libgfortran && \
34006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34008 "RANLIB=$${RANLIB}" \
34009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34010 TAGS) \
34011 || exit 1
34013 @endif target-libgfortran
34015 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
34016 maybe-install-info-target-libgfortran:
34017 @if target-libgfortran
34018 maybe-install-info-target-libgfortran: install-info-target-libgfortran
34020 install-info-target-libgfortran: \
34021 configure-target-libgfortran \
34022 info-target-libgfortran
34023 @: $(MAKE); $(unstage)
34024 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34025 r=`${PWD_COMMAND}`; export r; \
34026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34027 $(NORMAL_TARGET_EXPORTS) \
34028 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
34029 for flag in $(EXTRA_TARGET_FLAGS); do \
34030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34031 done; \
34032 (cd $(TARGET_SUBDIR)/libgfortran && \
34033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34035 "RANLIB=$${RANLIB}" \
34036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34037 install-info) \
34038 || exit 1
34040 @endif target-libgfortran
34042 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
34043 maybe-install-pdf-target-libgfortran:
34044 @if target-libgfortran
34045 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
34047 install-pdf-target-libgfortran: \
34048 configure-target-libgfortran \
34049 pdf-target-libgfortran
34050 @: $(MAKE); $(unstage)
34051 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34052 r=`${PWD_COMMAND}`; export r; \
34053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34054 $(NORMAL_TARGET_EXPORTS) \
34055 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran" ; \
34056 for flag in $(EXTRA_TARGET_FLAGS); do \
34057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34058 done; \
34059 (cd $(TARGET_SUBDIR)/libgfortran && \
34060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34062 "RANLIB=$${RANLIB}" \
34063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34064 install-pdf) \
34065 || exit 1
34067 @endif target-libgfortran
34069 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
34070 maybe-install-html-target-libgfortran:
34071 @if target-libgfortran
34072 maybe-install-html-target-libgfortran: install-html-target-libgfortran
34074 install-html-target-libgfortran: \
34075 configure-target-libgfortran \
34076 html-target-libgfortran
34077 @: $(MAKE); $(unstage)
34078 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34079 r=`${PWD_COMMAND}`; export r; \
34080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34081 $(NORMAL_TARGET_EXPORTS) \
34082 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran" ; \
34083 for flag in $(EXTRA_TARGET_FLAGS); do \
34084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34085 done; \
34086 (cd $(TARGET_SUBDIR)/libgfortran && \
34087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34089 "RANLIB=$${RANLIB}" \
34090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34091 install-html) \
34092 || exit 1
34094 @endif target-libgfortran
34096 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
34097 maybe-installcheck-target-libgfortran:
34098 @if target-libgfortran
34099 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
34101 installcheck-target-libgfortran: \
34102 configure-target-libgfortran
34103 @: $(MAKE); $(unstage)
34104 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34105 r=`${PWD_COMMAND}`; export r; \
34106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34107 $(NORMAL_TARGET_EXPORTS) \
34108 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
34109 for flag in $(EXTRA_TARGET_FLAGS); do \
34110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34111 done; \
34112 (cd $(TARGET_SUBDIR)/libgfortran && \
34113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34115 "RANLIB=$${RANLIB}" \
34116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34117 installcheck) \
34118 || exit 1
34120 @endif target-libgfortran
34122 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
34123 maybe-mostlyclean-target-libgfortran:
34124 @if target-libgfortran
34125 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
34127 mostlyclean-target-libgfortran:
34128 @: $(MAKE); $(unstage)
34129 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34130 r=`${PWD_COMMAND}`; export r; \
34131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34132 $(NORMAL_TARGET_EXPORTS) \
34133 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
34134 for flag in $(EXTRA_TARGET_FLAGS); do \
34135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34136 done; \
34137 (cd $(TARGET_SUBDIR)/libgfortran && \
34138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34140 "RANLIB=$${RANLIB}" \
34141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34142 mostlyclean) \
34143 || exit 1
34145 @endif target-libgfortran
34147 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
34148 maybe-clean-target-libgfortran:
34149 @if target-libgfortran
34150 maybe-clean-target-libgfortran: clean-target-libgfortran
34152 clean-target-libgfortran:
34153 @: $(MAKE); $(unstage)
34154 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34155 r=`${PWD_COMMAND}`; export r; \
34156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34157 $(NORMAL_TARGET_EXPORTS) \
34158 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
34159 for flag in $(EXTRA_TARGET_FLAGS); do \
34160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34161 done; \
34162 (cd $(TARGET_SUBDIR)/libgfortran && \
34163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34165 "RANLIB=$${RANLIB}" \
34166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34167 clean) \
34168 || exit 1
34170 @endif target-libgfortran
34172 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
34173 maybe-distclean-target-libgfortran:
34174 @if target-libgfortran
34175 maybe-distclean-target-libgfortran: distclean-target-libgfortran
34177 distclean-target-libgfortran:
34178 @: $(MAKE); $(unstage)
34179 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34180 r=`${PWD_COMMAND}`; export r; \
34181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34182 $(NORMAL_TARGET_EXPORTS) \
34183 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
34184 for flag in $(EXTRA_TARGET_FLAGS); do \
34185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34186 done; \
34187 (cd $(TARGET_SUBDIR)/libgfortran && \
34188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34190 "RANLIB=$${RANLIB}" \
34191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34192 distclean) \
34193 || exit 1
34195 @endif target-libgfortran
34197 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
34198 maybe-maintainer-clean-target-libgfortran:
34199 @if target-libgfortran
34200 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
34202 maintainer-clean-target-libgfortran:
34203 @: $(MAKE); $(unstage)
34204 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34205 r=`${PWD_COMMAND}`; export r; \
34206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34207 $(NORMAL_TARGET_EXPORTS) \
34208 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
34209 for flag in $(EXTRA_TARGET_FLAGS); do \
34210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34211 done; \
34212 (cd $(TARGET_SUBDIR)/libgfortran && \
34213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34215 "RANLIB=$${RANLIB}" \
34216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34217 maintainer-clean) \
34218 || exit 1
34220 @endif target-libgfortran
34226 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
34227 maybe-configure-target-libobjc:
34228 @if gcc-bootstrap
34229 configure-target-libobjc: stage_current
34230 @endif gcc-bootstrap
34231 @if target-libobjc
34232 maybe-configure-target-libobjc: configure-target-libobjc
34233 configure-target-libobjc:
34234 @: $(MAKE); $(unstage)
34235 @r=`${PWD_COMMAND}`; export r; \
34236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34237 echo "Checking multilib configuration for libobjc..."; \
34238 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
34239 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
34240 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
34241 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
34242 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
34243 else \
34244 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
34245 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
34246 fi; \
34247 else \
34248 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
34249 fi; \
34250 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
34251 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
34252 $(NORMAL_TARGET_EXPORTS) \
34253 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
34254 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
34255 case $(srcdir) in \
34256 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34257 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
34258 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34259 esac; \
34260 srcdiroption="--srcdir=$${topdir}/libobjc"; \
34261 libsrcdir="$$s/libobjc"; \
34262 rm -f no-such-file || : ; \
34263 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34264 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34265 --target=${target_alias} $${srcdiroption} \
34266 || exit 1
34267 @endif target-libobjc
34273 .PHONY: all-target-libobjc maybe-all-target-libobjc
34274 maybe-all-target-libobjc:
34275 @if gcc-bootstrap
34276 all-target-libobjc: stage_current
34277 @endif gcc-bootstrap
34278 @if target-libobjc
34279 TARGET-target-libobjc=all
34280 maybe-all-target-libobjc: all-target-libobjc
34281 all-target-libobjc: configure-target-libobjc
34282 @: $(MAKE); $(unstage)
34283 @r=`${PWD_COMMAND}`; export r; \
34284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34285 $(NORMAL_TARGET_EXPORTS) \
34286 (cd $(TARGET_SUBDIR)/libobjc && \
34287 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
34288 $(TARGET-target-libobjc))
34289 @endif target-libobjc
34295 .PHONY: check-target-libobjc maybe-check-target-libobjc
34296 maybe-check-target-libobjc:
34297 @if target-libobjc
34298 maybe-check-target-libobjc: check-target-libobjc
34300 check-target-libobjc:
34301 @: $(MAKE); $(unstage)
34302 @r=`${PWD_COMMAND}`; export r; \
34303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34304 $(NORMAL_TARGET_EXPORTS) \
34305 (cd $(TARGET_SUBDIR)/libobjc && \
34306 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34308 @endif target-libobjc
34310 .PHONY: install-target-libobjc maybe-install-target-libobjc
34311 maybe-install-target-libobjc:
34312 @if target-libobjc
34313 maybe-install-target-libobjc: install-target-libobjc
34315 install-target-libobjc: installdirs
34316 @: $(MAKE); $(unstage)
34317 @r=`${PWD_COMMAND}`; export r; \
34318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34319 $(NORMAL_TARGET_EXPORTS) \
34320 (cd $(TARGET_SUBDIR)/libobjc && \
34321 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34323 @endif target-libobjc
34325 .PHONY: install-strip-target-libobjc maybe-install-strip-target-libobjc
34326 maybe-install-strip-target-libobjc:
34327 @if target-libobjc
34328 maybe-install-strip-target-libobjc: install-strip-target-libobjc
34330 install-strip-target-libobjc: installdirs
34331 @: $(MAKE); $(unstage)
34332 @r=`${PWD_COMMAND}`; export r; \
34333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34334 $(NORMAL_TARGET_EXPORTS) \
34335 (cd $(TARGET_SUBDIR)/libobjc && \
34336 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
34338 @endif target-libobjc
34340 # Other targets (info, dvi, pdf, etc.)
34342 .PHONY: maybe-info-target-libobjc info-target-libobjc
34343 maybe-info-target-libobjc:
34344 @if target-libobjc
34345 maybe-info-target-libobjc: info-target-libobjc
34347 info-target-libobjc: \
34348 configure-target-libobjc
34349 @: $(MAKE); $(unstage)
34350 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34351 r=`${PWD_COMMAND}`; export r; \
34352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34353 $(NORMAL_TARGET_EXPORTS) \
34354 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
34355 for flag in $(EXTRA_TARGET_FLAGS); do \
34356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34357 done; \
34358 (cd $(TARGET_SUBDIR)/libobjc && \
34359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34361 "RANLIB=$${RANLIB}" \
34362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34363 info) \
34364 || exit 1
34366 @endif target-libobjc
34368 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
34369 maybe-dvi-target-libobjc:
34370 @if target-libobjc
34371 maybe-dvi-target-libobjc: dvi-target-libobjc
34373 dvi-target-libobjc: \
34374 configure-target-libobjc
34375 @: $(MAKE); $(unstage)
34376 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34377 r=`${PWD_COMMAND}`; export r; \
34378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34379 $(NORMAL_TARGET_EXPORTS) \
34380 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
34381 for flag in $(EXTRA_TARGET_FLAGS); do \
34382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34383 done; \
34384 (cd $(TARGET_SUBDIR)/libobjc && \
34385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34387 "RANLIB=$${RANLIB}" \
34388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34389 dvi) \
34390 || exit 1
34392 @endif target-libobjc
34394 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
34395 maybe-pdf-target-libobjc:
34396 @if target-libobjc
34397 maybe-pdf-target-libobjc: pdf-target-libobjc
34399 pdf-target-libobjc: \
34400 configure-target-libobjc
34401 @: $(MAKE); $(unstage)
34402 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34403 r=`${PWD_COMMAND}`; export r; \
34404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34405 $(NORMAL_TARGET_EXPORTS) \
34406 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc" ; \
34407 for flag in $(EXTRA_TARGET_FLAGS); do \
34408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34409 done; \
34410 (cd $(TARGET_SUBDIR)/libobjc && \
34411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34413 "RANLIB=$${RANLIB}" \
34414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34415 pdf) \
34416 || exit 1
34418 @endif target-libobjc
34420 .PHONY: maybe-html-target-libobjc html-target-libobjc
34421 maybe-html-target-libobjc:
34422 @if target-libobjc
34423 maybe-html-target-libobjc: html-target-libobjc
34425 html-target-libobjc: \
34426 configure-target-libobjc
34427 @: $(MAKE); $(unstage)
34428 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34429 r=`${PWD_COMMAND}`; export r; \
34430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34431 $(NORMAL_TARGET_EXPORTS) \
34432 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
34433 for flag in $(EXTRA_TARGET_FLAGS); do \
34434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34435 done; \
34436 (cd $(TARGET_SUBDIR)/libobjc && \
34437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34439 "RANLIB=$${RANLIB}" \
34440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34441 html) \
34442 || exit 1
34444 @endif target-libobjc
34446 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
34447 maybe-TAGS-target-libobjc:
34448 @if target-libobjc
34449 maybe-TAGS-target-libobjc: TAGS-target-libobjc
34451 TAGS-target-libobjc: \
34452 configure-target-libobjc
34453 @: $(MAKE); $(unstage)
34454 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34455 r=`${PWD_COMMAND}`; export r; \
34456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34457 $(NORMAL_TARGET_EXPORTS) \
34458 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
34459 for flag in $(EXTRA_TARGET_FLAGS); do \
34460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34461 done; \
34462 (cd $(TARGET_SUBDIR)/libobjc && \
34463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34465 "RANLIB=$${RANLIB}" \
34466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34467 TAGS) \
34468 || exit 1
34470 @endif target-libobjc
34472 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
34473 maybe-install-info-target-libobjc:
34474 @if target-libobjc
34475 maybe-install-info-target-libobjc: install-info-target-libobjc
34477 install-info-target-libobjc: \
34478 configure-target-libobjc \
34479 info-target-libobjc
34480 @: $(MAKE); $(unstage)
34481 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34482 r=`${PWD_COMMAND}`; export r; \
34483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34484 $(NORMAL_TARGET_EXPORTS) \
34485 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
34486 for flag in $(EXTRA_TARGET_FLAGS); do \
34487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34488 done; \
34489 (cd $(TARGET_SUBDIR)/libobjc && \
34490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34492 "RANLIB=$${RANLIB}" \
34493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34494 install-info) \
34495 || exit 1
34497 @endif target-libobjc
34499 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
34500 maybe-install-pdf-target-libobjc:
34501 @if target-libobjc
34502 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
34504 install-pdf-target-libobjc: \
34505 configure-target-libobjc \
34506 pdf-target-libobjc
34507 @: $(MAKE); $(unstage)
34508 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34509 r=`${PWD_COMMAND}`; export r; \
34510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34511 $(NORMAL_TARGET_EXPORTS) \
34512 echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc" ; \
34513 for flag in $(EXTRA_TARGET_FLAGS); do \
34514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34515 done; \
34516 (cd $(TARGET_SUBDIR)/libobjc && \
34517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34519 "RANLIB=$${RANLIB}" \
34520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34521 install-pdf) \
34522 || exit 1
34524 @endif target-libobjc
34526 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
34527 maybe-install-html-target-libobjc:
34528 @if target-libobjc
34529 maybe-install-html-target-libobjc: install-html-target-libobjc
34531 install-html-target-libobjc: \
34532 configure-target-libobjc \
34533 html-target-libobjc
34534 @: $(MAKE); $(unstage)
34535 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34536 r=`${PWD_COMMAND}`; export r; \
34537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34538 $(NORMAL_TARGET_EXPORTS) \
34539 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc" ; \
34540 for flag in $(EXTRA_TARGET_FLAGS); do \
34541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34542 done; \
34543 (cd $(TARGET_SUBDIR)/libobjc && \
34544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34546 "RANLIB=$${RANLIB}" \
34547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34548 install-html) \
34549 || exit 1
34551 @endif target-libobjc
34553 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
34554 maybe-installcheck-target-libobjc:
34555 @if target-libobjc
34556 maybe-installcheck-target-libobjc: installcheck-target-libobjc
34558 installcheck-target-libobjc: \
34559 configure-target-libobjc
34560 @: $(MAKE); $(unstage)
34561 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34562 r=`${PWD_COMMAND}`; export r; \
34563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34564 $(NORMAL_TARGET_EXPORTS) \
34565 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
34566 for flag in $(EXTRA_TARGET_FLAGS); do \
34567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34568 done; \
34569 (cd $(TARGET_SUBDIR)/libobjc && \
34570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34572 "RANLIB=$${RANLIB}" \
34573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34574 installcheck) \
34575 || exit 1
34577 @endif target-libobjc
34579 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
34580 maybe-mostlyclean-target-libobjc:
34581 @if target-libobjc
34582 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
34584 mostlyclean-target-libobjc:
34585 @: $(MAKE); $(unstage)
34586 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34587 r=`${PWD_COMMAND}`; export r; \
34588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34589 $(NORMAL_TARGET_EXPORTS) \
34590 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
34591 for flag in $(EXTRA_TARGET_FLAGS); do \
34592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34593 done; \
34594 (cd $(TARGET_SUBDIR)/libobjc && \
34595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34597 "RANLIB=$${RANLIB}" \
34598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34599 mostlyclean) \
34600 || exit 1
34602 @endif target-libobjc
34604 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
34605 maybe-clean-target-libobjc:
34606 @if target-libobjc
34607 maybe-clean-target-libobjc: clean-target-libobjc
34609 clean-target-libobjc:
34610 @: $(MAKE); $(unstage)
34611 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34612 r=`${PWD_COMMAND}`; export r; \
34613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34614 $(NORMAL_TARGET_EXPORTS) \
34615 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
34616 for flag in $(EXTRA_TARGET_FLAGS); do \
34617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34618 done; \
34619 (cd $(TARGET_SUBDIR)/libobjc && \
34620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34622 "RANLIB=$${RANLIB}" \
34623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34624 clean) \
34625 || exit 1
34627 @endif target-libobjc
34629 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
34630 maybe-distclean-target-libobjc:
34631 @if target-libobjc
34632 maybe-distclean-target-libobjc: distclean-target-libobjc
34634 distclean-target-libobjc:
34635 @: $(MAKE); $(unstage)
34636 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34637 r=`${PWD_COMMAND}`; export r; \
34638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34639 $(NORMAL_TARGET_EXPORTS) \
34640 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
34641 for flag in $(EXTRA_TARGET_FLAGS); do \
34642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34643 done; \
34644 (cd $(TARGET_SUBDIR)/libobjc && \
34645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34647 "RANLIB=$${RANLIB}" \
34648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34649 distclean) \
34650 || exit 1
34652 @endif target-libobjc
34654 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
34655 maybe-maintainer-clean-target-libobjc:
34656 @if target-libobjc
34657 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
34659 maintainer-clean-target-libobjc:
34660 @: $(MAKE); $(unstage)
34661 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34662 r=`${PWD_COMMAND}`; export r; \
34663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34664 $(NORMAL_TARGET_EXPORTS) \
34665 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
34666 for flag in $(EXTRA_TARGET_FLAGS); do \
34667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34668 done; \
34669 (cd $(TARGET_SUBDIR)/libobjc && \
34670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34672 "RANLIB=$${RANLIB}" \
34673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34674 maintainer-clean) \
34675 || exit 1
34677 @endif target-libobjc
34683 .PHONY: configure-target-libgo maybe-configure-target-libgo
34684 maybe-configure-target-libgo:
34685 @if gcc-bootstrap
34686 configure-target-libgo: stage_current
34687 @endif gcc-bootstrap
34688 @if target-libgo
34689 maybe-configure-target-libgo: configure-target-libgo
34690 configure-target-libgo:
34691 @: $(MAKE); $(unstage)
34692 @r=`${PWD_COMMAND}`; export r; \
34693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34694 echo "Checking multilib configuration for libgo..."; \
34695 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
34696 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgo/multilib.tmp 2> /dev/null ; \
34697 if test -r $(TARGET_SUBDIR)/libgo/multilib.out; then \
34698 if cmp -s $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; then \
34699 rm -f $(TARGET_SUBDIR)/libgo/multilib.tmp; \
34700 else \
34701 rm -f $(TARGET_SUBDIR)/libgo/Makefile; \
34702 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
34703 fi; \
34704 else \
34705 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
34706 fi; \
34707 test ! -f $(TARGET_SUBDIR)/libgo/Makefile || exit 0; \
34708 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
34709 $(NORMAL_TARGET_EXPORTS) \
34710 echo Configuring in $(TARGET_SUBDIR)/libgo; \
34711 cd "$(TARGET_SUBDIR)/libgo" || exit 1; \
34712 case $(srcdir) in \
34713 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34714 *) topdir=`echo $(TARGET_SUBDIR)/libgo/ | \
34715 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34716 esac; \
34717 srcdiroption="--srcdir=$${topdir}/libgo"; \
34718 libsrcdir="$$s/libgo"; \
34719 rm -f no-such-file || : ; \
34720 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34721 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34722 --target=${target_alias} $${srcdiroption} \
34723 || exit 1
34724 @endif target-libgo
34730 .PHONY: all-target-libgo maybe-all-target-libgo
34731 maybe-all-target-libgo:
34732 @if gcc-bootstrap
34733 all-target-libgo: stage_current
34734 @endif gcc-bootstrap
34735 @if target-libgo
34736 TARGET-target-libgo=all
34737 maybe-all-target-libgo: all-target-libgo
34738 all-target-libgo: configure-target-libgo
34739 @: $(MAKE); $(unstage)
34740 @r=`${PWD_COMMAND}`; export r; \
34741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34742 $(NORMAL_TARGET_EXPORTS) \
34743 (cd $(TARGET_SUBDIR)/libgo && \
34744 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
34745 $(TARGET-target-libgo))
34746 @endif target-libgo
34752 .PHONY: check-target-libgo maybe-check-target-libgo
34753 maybe-check-target-libgo:
34754 @if target-libgo
34755 maybe-check-target-libgo: check-target-libgo
34757 check-target-libgo:
34758 @: $(MAKE); $(unstage)
34759 @r=`${PWD_COMMAND}`; export r; \
34760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34761 $(NORMAL_TARGET_EXPORTS) \
34762 (cd $(TARGET_SUBDIR)/libgo && \
34763 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34765 @endif target-libgo
34767 .PHONY: install-target-libgo maybe-install-target-libgo
34768 maybe-install-target-libgo:
34769 @if target-libgo
34770 maybe-install-target-libgo: install-target-libgo
34772 install-target-libgo: installdirs
34773 @: $(MAKE); $(unstage)
34774 @r=`${PWD_COMMAND}`; export r; \
34775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34776 $(NORMAL_TARGET_EXPORTS) \
34777 (cd $(TARGET_SUBDIR)/libgo && \
34778 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34780 @endif target-libgo
34782 .PHONY: install-strip-target-libgo maybe-install-strip-target-libgo
34783 maybe-install-strip-target-libgo:
34784 @if target-libgo
34785 maybe-install-strip-target-libgo: install-strip-target-libgo
34787 install-strip-target-libgo: installdirs
34788 @: $(MAKE); $(unstage)
34789 @r=`${PWD_COMMAND}`; export r; \
34790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34791 $(NORMAL_TARGET_EXPORTS) \
34792 (cd $(TARGET_SUBDIR)/libgo && \
34793 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
34795 @endif target-libgo
34797 # Other targets (info, dvi, pdf, etc.)
34799 .PHONY: maybe-info-target-libgo info-target-libgo
34800 maybe-info-target-libgo:
34801 @if target-libgo
34802 maybe-info-target-libgo: info-target-libgo
34804 info-target-libgo: \
34805 configure-target-libgo
34806 @: $(MAKE); $(unstage)
34807 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34808 r=`${PWD_COMMAND}`; export r; \
34809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34810 $(NORMAL_TARGET_EXPORTS) \
34811 echo "Doing info in $(TARGET_SUBDIR)/libgo" ; \
34812 for flag in $(EXTRA_TARGET_FLAGS); do \
34813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34814 done; \
34815 (cd $(TARGET_SUBDIR)/libgo && \
34816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34818 "RANLIB=$${RANLIB}" \
34819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34820 info) \
34821 || exit 1
34823 @endif target-libgo
34825 .PHONY: maybe-dvi-target-libgo dvi-target-libgo
34826 maybe-dvi-target-libgo:
34827 @if target-libgo
34828 maybe-dvi-target-libgo: dvi-target-libgo
34830 dvi-target-libgo: \
34831 configure-target-libgo
34832 @: $(MAKE); $(unstage)
34833 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34834 r=`${PWD_COMMAND}`; export r; \
34835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34836 $(NORMAL_TARGET_EXPORTS) \
34837 echo "Doing dvi in $(TARGET_SUBDIR)/libgo" ; \
34838 for flag in $(EXTRA_TARGET_FLAGS); do \
34839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34840 done; \
34841 (cd $(TARGET_SUBDIR)/libgo && \
34842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34844 "RANLIB=$${RANLIB}" \
34845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34846 dvi) \
34847 || exit 1
34849 @endif target-libgo
34851 .PHONY: maybe-pdf-target-libgo pdf-target-libgo
34852 maybe-pdf-target-libgo:
34853 @if target-libgo
34854 maybe-pdf-target-libgo: pdf-target-libgo
34856 pdf-target-libgo: \
34857 configure-target-libgo
34858 @: $(MAKE); $(unstage)
34859 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34860 r=`${PWD_COMMAND}`; export r; \
34861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34862 $(NORMAL_TARGET_EXPORTS) \
34863 echo "Doing pdf in $(TARGET_SUBDIR)/libgo" ; \
34864 for flag in $(EXTRA_TARGET_FLAGS); do \
34865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34866 done; \
34867 (cd $(TARGET_SUBDIR)/libgo && \
34868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34870 "RANLIB=$${RANLIB}" \
34871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34872 pdf) \
34873 || exit 1
34875 @endif target-libgo
34877 .PHONY: maybe-html-target-libgo html-target-libgo
34878 maybe-html-target-libgo:
34879 @if target-libgo
34880 maybe-html-target-libgo: html-target-libgo
34882 html-target-libgo: \
34883 configure-target-libgo
34884 @: $(MAKE); $(unstage)
34885 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34886 r=`${PWD_COMMAND}`; export r; \
34887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34888 $(NORMAL_TARGET_EXPORTS) \
34889 echo "Doing html in $(TARGET_SUBDIR)/libgo" ; \
34890 for flag in $(EXTRA_TARGET_FLAGS); do \
34891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34892 done; \
34893 (cd $(TARGET_SUBDIR)/libgo && \
34894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34896 "RANLIB=$${RANLIB}" \
34897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34898 html) \
34899 || exit 1
34901 @endif target-libgo
34903 .PHONY: maybe-TAGS-target-libgo TAGS-target-libgo
34904 maybe-TAGS-target-libgo:
34905 @if target-libgo
34906 maybe-TAGS-target-libgo: TAGS-target-libgo
34908 TAGS-target-libgo: \
34909 configure-target-libgo
34910 @: $(MAKE); $(unstage)
34911 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34912 r=`${PWD_COMMAND}`; export r; \
34913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34914 $(NORMAL_TARGET_EXPORTS) \
34915 echo "Doing TAGS in $(TARGET_SUBDIR)/libgo" ; \
34916 for flag in $(EXTRA_TARGET_FLAGS); do \
34917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34918 done; \
34919 (cd $(TARGET_SUBDIR)/libgo && \
34920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34922 "RANLIB=$${RANLIB}" \
34923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34924 TAGS) \
34925 || exit 1
34927 @endif target-libgo
34929 .PHONY: maybe-install-info-target-libgo install-info-target-libgo
34930 maybe-install-info-target-libgo:
34931 @if target-libgo
34932 maybe-install-info-target-libgo: install-info-target-libgo
34934 install-info-target-libgo: \
34935 configure-target-libgo \
34936 info-target-libgo
34937 @: $(MAKE); $(unstage)
34938 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34939 r=`${PWD_COMMAND}`; export r; \
34940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34941 $(NORMAL_TARGET_EXPORTS) \
34942 echo "Doing install-info in $(TARGET_SUBDIR)/libgo" ; \
34943 for flag in $(EXTRA_TARGET_FLAGS); do \
34944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34945 done; \
34946 (cd $(TARGET_SUBDIR)/libgo && \
34947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34949 "RANLIB=$${RANLIB}" \
34950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34951 install-info) \
34952 || exit 1
34954 @endif target-libgo
34956 .PHONY: maybe-install-pdf-target-libgo install-pdf-target-libgo
34957 maybe-install-pdf-target-libgo:
34958 @if target-libgo
34959 maybe-install-pdf-target-libgo: install-pdf-target-libgo
34961 install-pdf-target-libgo: \
34962 configure-target-libgo \
34963 pdf-target-libgo
34964 @: $(MAKE); $(unstage)
34965 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34966 r=`${PWD_COMMAND}`; export r; \
34967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34968 $(NORMAL_TARGET_EXPORTS) \
34969 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgo" ; \
34970 for flag in $(EXTRA_TARGET_FLAGS); do \
34971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34972 done; \
34973 (cd $(TARGET_SUBDIR)/libgo && \
34974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34976 "RANLIB=$${RANLIB}" \
34977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34978 install-pdf) \
34979 || exit 1
34981 @endif target-libgo
34983 .PHONY: maybe-install-html-target-libgo install-html-target-libgo
34984 maybe-install-html-target-libgo:
34985 @if target-libgo
34986 maybe-install-html-target-libgo: install-html-target-libgo
34988 install-html-target-libgo: \
34989 configure-target-libgo \
34990 html-target-libgo
34991 @: $(MAKE); $(unstage)
34992 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34993 r=`${PWD_COMMAND}`; export r; \
34994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34995 $(NORMAL_TARGET_EXPORTS) \
34996 echo "Doing install-html in $(TARGET_SUBDIR)/libgo" ; \
34997 for flag in $(EXTRA_TARGET_FLAGS); do \
34998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34999 done; \
35000 (cd $(TARGET_SUBDIR)/libgo && \
35001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35003 "RANLIB=$${RANLIB}" \
35004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35005 install-html) \
35006 || exit 1
35008 @endif target-libgo
35010 .PHONY: maybe-installcheck-target-libgo installcheck-target-libgo
35011 maybe-installcheck-target-libgo:
35012 @if target-libgo
35013 maybe-installcheck-target-libgo: installcheck-target-libgo
35015 installcheck-target-libgo: \
35016 configure-target-libgo
35017 @: $(MAKE); $(unstage)
35018 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35019 r=`${PWD_COMMAND}`; export r; \
35020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35021 $(NORMAL_TARGET_EXPORTS) \
35022 echo "Doing installcheck in $(TARGET_SUBDIR)/libgo" ; \
35023 for flag in $(EXTRA_TARGET_FLAGS); do \
35024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35025 done; \
35026 (cd $(TARGET_SUBDIR)/libgo && \
35027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35029 "RANLIB=$${RANLIB}" \
35030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35031 installcheck) \
35032 || exit 1
35034 @endif target-libgo
35036 .PHONY: maybe-mostlyclean-target-libgo mostlyclean-target-libgo
35037 maybe-mostlyclean-target-libgo:
35038 @if target-libgo
35039 maybe-mostlyclean-target-libgo: mostlyclean-target-libgo
35041 mostlyclean-target-libgo:
35042 @: $(MAKE); $(unstage)
35043 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35044 r=`${PWD_COMMAND}`; export r; \
35045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35046 $(NORMAL_TARGET_EXPORTS) \
35047 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgo" ; \
35048 for flag in $(EXTRA_TARGET_FLAGS); do \
35049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35050 done; \
35051 (cd $(TARGET_SUBDIR)/libgo && \
35052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35054 "RANLIB=$${RANLIB}" \
35055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35056 mostlyclean) \
35057 || exit 1
35059 @endif target-libgo
35061 .PHONY: maybe-clean-target-libgo clean-target-libgo
35062 maybe-clean-target-libgo:
35063 @if target-libgo
35064 maybe-clean-target-libgo: clean-target-libgo
35066 clean-target-libgo:
35067 @: $(MAKE); $(unstage)
35068 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35069 r=`${PWD_COMMAND}`; export r; \
35070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35071 $(NORMAL_TARGET_EXPORTS) \
35072 echo "Doing clean in $(TARGET_SUBDIR)/libgo" ; \
35073 for flag in $(EXTRA_TARGET_FLAGS); do \
35074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35075 done; \
35076 (cd $(TARGET_SUBDIR)/libgo && \
35077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35079 "RANLIB=$${RANLIB}" \
35080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35081 clean) \
35082 || exit 1
35084 @endif target-libgo
35086 .PHONY: maybe-distclean-target-libgo distclean-target-libgo
35087 maybe-distclean-target-libgo:
35088 @if target-libgo
35089 maybe-distclean-target-libgo: distclean-target-libgo
35091 distclean-target-libgo:
35092 @: $(MAKE); $(unstage)
35093 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35094 r=`${PWD_COMMAND}`; export r; \
35095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35096 $(NORMAL_TARGET_EXPORTS) \
35097 echo "Doing distclean in $(TARGET_SUBDIR)/libgo" ; \
35098 for flag in $(EXTRA_TARGET_FLAGS); do \
35099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35100 done; \
35101 (cd $(TARGET_SUBDIR)/libgo && \
35102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35104 "RANLIB=$${RANLIB}" \
35105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35106 distclean) \
35107 || exit 1
35109 @endif target-libgo
35111 .PHONY: maybe-maintainer-clean-target-libgo maintainer-clean-target-libgo
35112 maybe-maintainer-clean-target-libgo:
35113 @if target-libgo
35114 maybe-maintainer-clean-target-libgo: maintainer-clean-target-libgo
35116 maintainer-clean-target-libgo:
35117 @: $(MAKE); $(unstage)
35118 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35119 r=`${PWD_COMMAND}`; export r; \
35120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35121 $(NORMAL_TARGET_EXPORTS) \
35122 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgo" ; \
35123 for flag in $(EXTRA_TARGET_FLAGS); do \
35124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35125 done; \
35126 (cd $(TARGET_SUBDIR)/libgo && \
35127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35129 "RANLIB=$${RANLIB}" \
35130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35131 maintainer-clean) \
35132 || exit 1
35134 @endif target-libgo
35140 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
35141 maybe-configure-target-libtermcap:
35142 @if gcc-bootstrap
35143 configure-target-libtermcap: stage_current
35144 @endif gcc-bootstrap
35145 @if target-libtermcap
35146 maybe-configure-target-libtermcap: configure-target-libtermcap
35147 configure-target-libtermcap:
35148 @: $(MAKE); $(unstage)
35149 @r=`${PWD_COMMAND}`; export r; \
35150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35151 echo "Checking multilib configuration for libtermcap..."; \
35152 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
35153 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
35154 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
35155 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
35156 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
35157 else \
35158 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
35159 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
35160 fi; \
35161 else \
35162 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
35163 fi; \
35164 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
35165 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
35166 $(NORMAL_TARGET_EXPORTS) \
35167 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
35168 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
35169 case $(srcdir) in \
35170 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35171 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
35172 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35173 esac; \
35174 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
35175 libsrcdir="$$s/libtermcap"; \
35176 rm -f no-such-file || : ; \
35177 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35178 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35179 --target=${target_alias} $${srcdiroption} \
35180 || exit 1
35181 @endif target-libtermcap
35187 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
35188 maybe-all-target-libtermcap:
35189 @if gcc-bootstrap
35190 all-target-libtermcap: stage_current
35191 @endif gcc-bootstrap
35192 @if target-libtermcap
35193 TARGET-target-libtermcap=all
35194 maybe-all-target-libtermcap: all-target-libtermcap
35195 all-target-libtermcap: configure-target-libtermcap
35196 @: $(MAKE); $(unstage)
35197 @r=`${PWD_COMMAND}`; export r; \
35198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35199 $(NORMAL_TARGET_EXPORTS) \
35200 (cd $(TARGET_SUBDIR)/libtermcap && \
35201 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35202 $(TARGET-target-libtermcap))
35203 @endif target-libtermcap
35209 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
35210 maybe-check-target-libtermcap:
35211 @if target-libtermcap
35212 maybe-check-target-libtermcap: check-target-libtermcap
35214 # Dummy target for uncheckable module.
35215 check-target-libtermcap:
35217 @endif target-libtermcap
35219 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
35220 maybe-install-target-libtermcap:
35221 @if target-libtermcap
35222 maybe-install-target-libtermcap: install-target-libtermcap
35224 install-target-libtermcap: installdirs
35225 @: $(MAKE); $(unstage)
35226 @r=`${PWD_COMMAND}`; export r; \
35227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35228 $(NORMAL_TARGET_EXPORTS) \
35229 (cd $(TARGET_SUBDIR)/libtermcap && \
35230 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35232 @endif target-libtermcap
35234 .PHONY: install-strip-target-libtermcap maybe-install-strip-target-libtermcap
35235 maybe-install-strip-target-libtermcap:
35236 @if target-libtermcap
35237 maybe-install-strip-target-libtermcap: install-strip-target-libtermcap
35239 install-strip-target-libtermcap: installdirs
35240 @: $(MAKE); $(unstage)
35241 @r=`${PWD_COMMAND}`; export r; \
35242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35243 $(NORMAL_TARGET_EXPORTS) \
35244 (cd $(TARGET_SUBDIR)/libtermcap && \
35245 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35247 @endif target-libtermcap
35249 # Other targets (info, dvi, pdf, etc.)
35251 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
35252 maybe-info-target-libtermcap:
35253 @if target-libtermcap
35254 maybe-info-target-libtermcap: info-target-libtermcap
35256 info-target-libtermcap: \
35257 configure-target-libtermcap
35258 @: $(MAKE); $(unstage)
35259 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35260 r=`${PWD_COMMAND}`; export r; \
35261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35262 $(NORMAL_TARGET_EXPORTS) \
35263 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
35264 for flag in $(EXTRA_TARGET_FLAGS); do \
35265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35266 done; \
35267 (cd $(TARGET_SUBDIR)/libtermcap && \
35268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35270 "RANLIB=$${RANLIB}" \
35271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35272 info) \
35273 || exit 1
35275 @endif target-libtermcap
35277 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
35278 maybe-dvi-target-libtermcap:
35279 @if target-libtermcap
35280 maybe-dvi-target-libtermcap: dvi-target-libtermcap
35282 dvi-target-libtermcap: \
35283 configure-target-libtermcap
35284 @: $(MAKE); $(unstage)
35285 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35286 r=`${PWD_COMMAND}`; export r; \
35287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35288 $(NORMAL_TARGET_EXPORTS) \
35289 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
35290 for flag in $(EXTRA_TARGET_FLAGS); do \
35291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35292 done; \
35293 (cd $(TARGET_SUBDIR)/libtermcap && \
35294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35296 "RANLIB=$${RANLIB}" \
35297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35298 dvi) \
35299 || exit 1
35301 @endif target-libtermcap
35303 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
35304 maybe-pdf-target-libtermcap:
35305 @if target-libtermcap
35306 maybe-pdf-target-libtermcap: pdf-target-libtermcap
35308 pdf-target-libtermcap: \
35309 configure-target-libtermcap
35310 @: $(MAKE); $(unstage)
35311 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35312 r=`${PWD_COMMAND}`; export r; \
35313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35314 $(NORMAL_TARGET_EXPORTS) \
35315 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap" ; \
35316 for flag in $(EXTRA_TARGET_FLAGS); do \
35317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35318 done; \
35319 (cd $(TARGET_SUBDIR)/libtermcap && \
35320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35322 "RANLIB=$${RANLIB}" \
35323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35324 pdf) \
35325 || exit 1
35327 @endif target-libtermcap
35329 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
35330 maybe-html-target-libtermcap:
35331 @if target-libtermcap
35332 maybe-html-target-libtermcap: html-target-libtermcap
35334 html-target-libtermcap: \
35335 configure-target-libtermcap
35336 @: $(MAKE); $(unstage)
35337 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35338 r=`${PWD_COMMAND}`; export r; \
35339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35340 $(NORMAL_TARGET_EXPORTS) \
35341 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
35342 for flag in $(EXTRA_TARGET_FLAGS); do \
35343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35344 done; \
35345 (cd $(TARGET_SUBDIR)/libtermcap && \
35346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35348 "RANLIB=$${RANLIB}" \
35349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35350 html) \
35351 || exit 1
35353 @endif target-libtermcap
35355 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
35356 maybe-TAGS-target-libtermcap:
35357 @if target-libtermcap
35358 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
35360 TAGS-target-libtermcap: \
35361 configure-target-libtermcap
35362 @: $(MAKE); $(unstage)
35363 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35364 r=`${PWD_COMMAND}`; export r; \
35365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35366 $(NORMAL_TARGET_EXPORTS) \
35367 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
35368 for flag in $(EXTRA_TARGET_FLAGS); do \
35369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35370 done; \
35371 (cd $(TARGET_SUBDIR)/libtermcap && \
35372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35374 "RANLIB=$${RANLIB}" \
35375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35376 TAGS) \
35377 || exit 1
35379 @endif target-libtermcap
35381 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
35382 maybe-install-info-target-libtermcap:
35383 @if target-libtermcap
35384 maybe-install-info-target-libtermcap: install-info-target-libtermcap
35386 install-info-target-libtermcap: \
35387 configure-target-libtermcap \
35388 info-target-libtermcap
35389 @: $(MAKE); $(unstage)
35390 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35391 r=`${PWD_COMMAND}`; export r; \
35392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35393 $(NORMAL_TARGET_EXPORTS) \
35394 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
35395 for flag in $(EXTRA_TARGET_FLAGS); do \
35396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35397 done; \
35398 (cd $(TARGET_SUBDIR)/libtermcap && \
35399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35401 "RANLIB=$${RANLIB}" \
35402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35403 install-info) \
35404 || exit 1
35406 @endif target-libtermcap
35408 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
35409 maybe-install-pdf-target-libtermcap:
35410 @if target-libtermcap
35411 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
35413 install-pdf-target-libtermcap: \
35414 configure-target-libtermcap \
35415 pdf-target-libtermcap
35416 @: $(MAKE); $(unstage)
35417 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35418 r=`${PWD_COMMAND}`; export r; \
35419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35420 $(NORMAL_TARGET_EXPORTS) \
35421 echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap" ; \
35422 for flag in $(EXTRA_TARGET_FLAGS); do \
35423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35424 done; \
35425 (cd $(TARGET_SUBDIR)/libtermcap && \
35426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35428 "RANLIB=$${RANLIB}" \
35429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35430 install-pdf) \
35431 || exit 1
35433 @endif target-libtermcap
35435 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
35436 maybe-install-html-target-libtermcap:
35437 @if target-libtermcap
35438 maybe-install-html-target-libtermcap: install-html-target-libtermcap
35440 install-html-target-libtermcap: \
35441 configure-target-libtermcap \
35442 html-target-libtermcap
35443 @: $(MAKE); $(unstage)
35444 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35445 r=`${PWD_COMMAND}`; export r; \
35446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35447 $(NORMAL_TARGET_EXPORTS) \
35448 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap" ; \
35449 for flag in $(EXTRA_TARGET_FLAGS); do \
35450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35451 done; \
35452 (cd $(TARGET_SUBDIR)/libtermcap && \
35453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35455 "RANLIB=$${RANLIB}" \
35456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35457 install-html) \
35458 || exit 1
35460 @endif target-libtermcap
35462 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
35463 maybe-installcheck-target-libtermcap:
35464 @if target-libtermcap
35465 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
35467 installcheck-target-libtermcap: \
35468 configure-target-libtermcap
35469 @: $(MAKE); $(unstage)
35470 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35471 r=`${PWD_COMMAND}`; export r; \
35472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35473 $(NORMAL_TARGET_EXPORTS) \
35474 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
35475 for flag in $(EXTRA_TARGET_FLAGS); do \
35476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35477 done; \
35478 (cd $(TARGET_SUBDIR)/libtermcap && \
35479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35481 "RANLIB=$${RANLIB}" \
35482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35483 installcheck) \
35484 || exit 1
35486 @endif target-libtermcap
35488 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
35489 maybe-mostlyclean-target-libtermcap:
35490 @if target-libtermcap
35491 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
35493 # libtermcap doesn't support mostlyclean.
35494 mostlyclean-target-libtermcap:
35496 @endif target-libtermcap
35498 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
35499 maybe-clean-target-libtermcap:
35500 @if target-libtermcap
35501 maybe-clean-target-libtermcap: clean-target-libtermcap
35503 # libtermcap doesn't support clean.
35504 clean-target-libtermcap:
35506 @endif target-libtermcap
35508 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
35509 maybe-distclean-target-libtermcap:
35510 @if target-libtermcap
35511 maybe-distclean-target-libtermcap: distclean-target-libtermcap
35513 # libtermcap doesn't support distclean.
35514 distclean-target-libtermcap:
35516 @endif target-libtermcap
35518 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
35519 maybe-maintainer-clean-target-libtermcap:
35520 @if target-libtermcap
35521 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
35523 # libtermcap doesn't support maintainer-clean.
35524 maintainer-clean-target-libtermcap:
35526 @endif target-libtermcap
35532 .PHONY: configure-target-winsup maybe-configure-target-winsup
35533 maybe-configure-target-winsup:
35534 @if gcc-bootstrap
35535 configure-target-winsup: stage_current
35536 @endif gcc-bootstrap
35537 @if target-winsup
35538 maybe-configure-target-winsup: configure-target-winsup
35539 configure-target-winsup:
35540 @: $(MAKE); $(unstage)
35541 @r=`${PWD_COMMAND}`; export r; \
35542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35543 echo "Checking multilib configuration for winsup..."; \
35544 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
35545 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
35546 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
35547 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
35548 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
35549 else \
35550 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
35551 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
35552 fi; \
35553 else \
35554 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
35555 fi; \
35556 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
35557 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
35558 $(NORMAL_TARGET_EXPORTS) \
35559 echo Configuring in $(TARGET_SUBDIR)/winsup; \
35560 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
35561 case $(srcdir) in \
35562 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35563 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
35564 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35565 esac; \
35566 srcdiroption="--srcdir=$${topdir}/winsup"; \
35567 libsrcdir="$$s/winsup"; \
35568 rm -f no-such-file || : ; \
35569 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35570 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35571 --target=${target_alias} $${srcdiroption} \
35572 || exit 1
35573 @endif target-winsup
35579 .PHONY: all-target-winsup maybe-all-target-winsup
35580 maybe-all-target-winsup:
35581 @if gcc-bootstrap
35582 all-target-winsup: stage_current
35583 @endif gcc-bootstrap
35584 @if target-winsup
35585 TARGET-target-winsup=all
35586 maybe-all-target-winsup: all-target-winsup
35587 all-target-winsup: configure-target-winsup
35588 @: $(MAKE); $(unstage)
35589 @r=`${PWD_COMMAND}`; export r; \
35590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35591 $(NORMAL_TARGET_EXPORTS) \
35592 (cd $(TARGET_SUBDIR)/winsup && \
35593 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35594 $(TARGET-target-winsup))
35595 @endif target-winsup
35601 .PHONY: check-target-winsup maybe-check-target-winsup
35602 maybe-check-target-winsup:
35603 @if target-winsup
35604 maybe-check-target-winsup: check-target-winsup
35606 check-target-winsup:
35607 @: $(MAKE); $(unstage)
35608 @r=`${PWD_COMMAND}`; export r; \
35609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35610 $(NORMAL_TARGET_EXPORTS) \
35611 (cd $(TARGET_SUBDIR)/winsup && \
35612 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35614 @endif target-winsup
35616 .PHONY: install-target-winsup maybe-install-target-winsup
35617 maybe-install-target-winsup:
35618 @if target-winsup
35619 maybe-install-target-winsup: install-target-winsup
35621 install-target-winsup: installdirs
35622 @: $(MAKE); $(unstage)
35623 @r=`${PWD_COMMAND}`; export r; \
35624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35625 $(NORMAL_TARGET_EXPORTS) \
35626 (cd $(TARGET_SUBDIR)/winsup && \
35627 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35629 @endif target-winsup
35631 .PHONY: install-strip-target-winsup maybe-install-strip-target-winsup
35632 maybe-install-strip-target-winsup:
35633 @if target-winsup
35634 maybe-install-strip-target-winsup: install-strip-target-winsup
35636 install-strip-target-winsup: installdirs
35637 @: $(MAKE); $(unstage)
35638 @r=`${PWD_COMMAND}`; export r; \
35639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35640 $(NORMAL_TARGET_EXPORTS) \
35641 (cd $(TARGET_SUBDIR)/winsup && \
35642 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35644 @endif target-winsup
35646 # Other targets (info, dvi, pdf, etc.)
35648 .PHONY: maybe-info-target-winsup info-target-winsup
35649 maybe-info-target-winsup:
35650 @if target-winsup
35651 maybe-info-target-winsup: info-target-winsup
35653 info-target-winsup: \
35654 configure-target-winsup
35655 @: $(MAKE); $(unstage)
35656 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35657 r=`${PWD_COMMAND}`; export r; \
35658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35659 $(NORMAL_TARGET_EXPORTS) \
35660 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
35661 for flag in $(EXTRA_TARGET_FLAGS); do \
35662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35663 done; \
35664 (cd $(TARGET_SUBDIR)/winsup && \
35665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35667 "RANLIB=$${RANLIB}" \
35668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35669 info) \
35670 || exit 1
35672 @endif target-winsup
35674 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
35675 maybe-dvi-target-winsup:
35676 @if target-winsup
35677 maybe-dvi-target-winsup: dvi-target-winsup
35679 dvi-target-winsup: \
35680 configure-target-winsup
35681 @: $(MAKE); $(unstage)
35682 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35683 r=`${PWD_COMMAND}`; export r; \
35684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35685 $(NORMAL_TARGET_EXPORTS) \
35686 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
35687 for flag in $(EXTRA_TARGET_FLAGS); do \
35688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35689 done; \
35690 (cd $(TARGET_SUBDIR)/winsup && \
35691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35693 "RANLIB=$${RANLIB}" \
35694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35695 dvi) \
35696 || exit 1
35698 @endif target-winsup
35700 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
35701 maybe-pdf-target-winsup:
35702 @if target-winsup
35703 maybe-pdf-target-winsup: pdf-target-winsup
35705 pdf-target-winsup: \
35706 configure-target-winsup
35707 @: $(MAKE); $(unstage)
35708 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35709 r=`${PWD_COMMAND}`; export r; \
35710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35711 $(NORMAL_TARGET_EXPORTS) \
35712 echo "Doing pdf in $(TARGET_SUBDIR)/winsup" ; \
35713 for flag in $(EXTRA_TARGET_FLAGS); do \
35714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35715 done; \
35716 (cd $(TARGET_SUBDIR)/winsup && \
35717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35719 "RANLIB=$${RANLIB}" \
35720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35721 pdf) \
35722 || exit 1
35724 @endif target-winsup
35726 .PHONY: maybe-html-target-winsup html-target-winsup
35727 maybe-html-target-winsup:
35728 @if target-winsup
35729 maybe-html-target-winsup: html-target-winsup
35731 html-target-winsup: \
35732 configure-target-winsup
35733 @: $(MAKE); $(unstage)
35734 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35735 r=`${PWD_COMMAND}`; export r; \
35736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35737 $(NORMAL_TARGET_EXPORTS) \
35738 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
35739 for flag in $(EXTRA_TARGET_FLAGS); do \
35740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35741 done; \
35742 (cd $(TARGET_SUBDIR)/winsup && \
35743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35745 "RANLIB=$${RANLIB}" \
35746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35747 html) \
35748 || exit 1
35750 @endif target-winsup
35752 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
35753 maybe-TAGS-target-winsup:
35754 @if target-winsup
35755 maybe-TAGS-target-winsup: TAGS-target-winsup
35757 TAGS-target-winsup: \
35758 configure-target-winsup
35759 @: $(MAKE); $(unstage)
35760 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35761 r=`${PWD_COMMAND}`; export r; \
35762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35763 $(NORMAL_TARGET_EXPORTS) \
35764 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
35765 for flag in $(EXTRA_TARGET_FLAGS); do \
35766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35767 done; \
35768 (cd $(TARGET_SUBDIR)/winsup && \
35769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35771 "RANLIB=$${RANLIB}" \
35772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35773 TAGS) \
35774 || exit 1
35776 @endif target-winsup
35778 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
35779 maybe-install-info-target-winsup:
35780 @if target-winsup
35781 maybe-install-info-target-winsup: install-info-target-winsup
35783 install-info-target-winsup: \
35784 configure-target-winsup \
35785 info-target-winsup
35786 @: $(MAKE); $(unstage)
35787 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35788 r=`${PWD_COMMAND}`; export r; \
35789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35790 $(NORMAL_TARGET_EXPORTS) \
35791 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
35792 for flag in $(EXTRA_TARGET_FLAGS); do \
35793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35794 done; \
35795 (cd $(TARGET_SUBDIR)/winsup && \
35796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35798 "RANLIB=$${RANLIB}" \
35799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35800 install-info) \
35801 || exit 1
35803 @endif target-winsup
35805 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
35806 maybe-install-pdf-target-winsup:
35807 @if target-winsup
35808 maybe-install-pdf-target-winsup: install-pdf-target-winsup
35810 install-pdf-target-winsup: \
35811 configure-target-winsup \
35812 pdf-target-winsup
35813 @: $(MAKE); $(unstage)
35814 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35815 r=`${PWD_COMMAND}`; export r; \
35816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35817 $(NORMAL_TARGET_EXPORTS) \
35818 echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup" ; \
35819 for flag in $(EXTRA_TARGET_FLAGS); do \
35820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35821 done; \
35822 (cd $(TARGET_SUBDIR)/winsup && \
35823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35825 "RANLIB=$${RANLIB}" \
35826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35827 install-pdf) \
35828 || exit 1
35830 @endif target-winsup
35832 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
35833 maybe-install-html-target-winsup:
35834 @if target-winsup
35835 maybe-install-html-target-winsup: install-html-target-winsup
35837 install-html-target-winsup: \
35838 configure-target-winsup \
35839 html-target-winsup
35840 @: $(MAKE); $(unstage)
35841 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35842 r=`${PWD_COMMAND}`; export r; \
35843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35844 $(NORMAL_TARGET_EXPORTS) \
35845 echo "Doing install-html in $(TARGET_SUBDIR)/winsup" ; \
35846 for flag in $(EXTRA_TARGET_FLAGS); do \
35847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35848 done; \
35849 (cd $(TARGET_SUBDIR)/winsup && \
35850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35852 "RANLIB=$${RANLIB}" \
35853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35854 install-html) \
35855 || exit 1
35857 @endif target-winsup
35859 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
35860 maybe-installcheck-target-winsup:
35861 @if target-winsup
35862 maybe-installcheck-target-winsup: installcheck-target-winsup
35864 installcheck-target-winsup: \
35865 configure-target-winsup
35866 @: $(MAKE); $(unstage)
35867 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35868 r=`${PWD_COMMAND}`; export r; \
35869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35870 $(NORMAL_TARGET_EXPORTS) \
35871 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
35872 for flag in $(EXTRA_TARGET_FLAGS); do \
35873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35874 done; \
35875 (cd $(TARGET_SUBDIR)/winsup && \
35876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35878 "RANLIB=$${RANLIB}" \
35879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35880 installcheck) \
35881 || exit 1
35883 @endif target-winsup
35885 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
35886 maybe-mostlyclean-target-winsup:
35887 @if target-winsup
35888 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
35890 mostlyclean-target-winsup:
35891 @: $(MAKE); $(unstage)
35892 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35893 r=`${PWD_COMMAND}`; export r; \
35894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35895 $(NORMAL_TARGET_EXPORTS) \
35896 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
35897 for flag in $(EXTRA_TARGET_FLAGS); do \
35898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35899 done; \
35900 (cd $(TARGET_SUBDIR)/winsup && \
35901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35903 "RANLIB=$${RANLIB}" \
35904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35905 mostlyclean) \
35906 || exit 1
35908 @endif target-winsup
35910 .PHONY: maybe-clean-target-winsup clean-target-winsup
35911 maybe-clean-target-winsup:
35912 @if target-winsup
35913 maybe-clean-target-winsup: clean-target-winsup
35915 clean-target-winsup:
35916 @: $(MAKE); $(unstage)
35917 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35918 r=`${PWD_COMMAND}`; export r; \
35919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35920 $(NORMAL_TARGET_EXPORTS) \
35921 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
35922 for flag in $(EXTRA_TARGET_FLAGS); do \
35923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35924 done; \
35925 (cd $(TARGET_SUBDIR)/winsup && \
35926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35928 "RANLIB=$${RANLIB}" \
35929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35930 clean) \
35931 || exit 1
35933 @endif target-winsup
35935 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
35936 maybe-distclean-target-winsup:
35937 @if target-winsup
35938 maybe-distclean-target-winsup: distclean-target-winsup
35940 distclean-target-winsup:
35941 @: $(MAKE); $(unstage)
35942 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35943 r=`${PWD_COMMAND}`; export r; \
35944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35945 $(NORMAL_TARGET_EXPORTS) \
35946 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
35947 for flag in $(EXTRA_TARGET_FLAGS); do \
35948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35949 done; \
35950 (cd $(TARGET_SUBDIR)/winsup && \
35951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35953 "RANLIB=$${RANLIB}" \
35954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35955 distclean) \
35956 || exit 1
35958 @endif target-winsup
35960 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
35961 maybe-maintainer-clean-target-winsup:
35962 @if target-winsup
35963 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
35965 maintainer-clean-target-winsup:
35966 @: $(MAKE); $(unstage)
35967 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35968 r=`${PWD_COMMAND}`; export r; \
35969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35970 $(NORMAL_TARGET_EXPORTS) \
35971 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
35972 for flag in $(EXTRA_TARGET_FLAGS); do \
35973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35974 done; \
35975 (cd $(TARGET_SUBDIR)/winsup && \
35976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35978 "RANLIB=$${RANLIB}" \
35979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35980 maintainer-clean) \
35981 || exit 1
35983 @endif target-winsup
35989 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
35990 maybe-configure-target-libgloss:
35991 @if gcc-bootstrap
35992 configure-target-libgloss: stage_current
35993 @endif gcc-bootstrap
35994 @if target-libgloss
35995 maybe-configure-target-libgloss: configure-target-libgloss
35996 configure-target-libgloss:
35997 @: $(MAKE); $(unstage)
35998 @r=`${PWD_COMMAND}`; export r; \
35999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36000 echo "Checking multilib configuration for libgloss..."; \
36001 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
36002 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
36003 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
36004 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
36005 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
36006 else \
36007 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
36008 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
36009 fi; \
36010 else \
36011 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
36012 fi; \
36013 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
36014 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
36015 $(NORMAL_TARGET_EXPORTS) \
36016 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
36017 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
36018 case $(srcdir) in \
36019 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36020 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
36021 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36022 esac; \
36023 srcdiroption="--srcdir=$${topdir}/libgloss"; \
36024 libsrcdir="$$s/libgloss"; \
36025 rm -f no-such-file || : ; \
36026 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36027 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36028 --target=${target_alias} $${srcdiroption} \
36029 || exit 1
36030 @endif target-libgloss
36036 .PHONY: all-target-libgloss maybe-all-target-libgloss
36037 maybe-all-target-libgloss:
36038 @if gcc-bootstrap
36039 all-target-libgloss: stage_current
36040 @endif gcc-bootstrap
36041 @if target-libgloss
36042 TARGET-target-libgloss=all
36043 maybe-all-target-libgloss: all-target-libgloss
36044 all-target-libgloss: configure-target-libgloss
36045 @: $(MAKE); $(unstage)
36046 @r=`${PWD_COMMAND}`; export r; \
36047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36048 $(NORMAL_TARGET_EXPORTS) \
36049 (cd $(TARGET_SUBDIR)/libgloss && \
36050 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36051 $(TARGET-target-libgloss))
36052 @endif target-libgloss
36058 .PHONY: check-target-libgloss maybe-check-target-libgloss
36059 maybe-check-target-libgloss:
36060 @if target-libgloss
36061 maybe-check-target-libgloss: check-target-libgloss
36063 # Dummy target for uncheckable module.
36064 check-target-libgloss:
36066 @endif target-libgloss
36068 .PHONY: install-target-libgloss maybe-install-target-libgloss
36069 maybe-install-target-libgloss:
36070 @if target-libgloss
36071 maybe-install-target-libgloss: install-target-libgloss
36073 install-target-libgloss: installdirs
36074 @: $(MAKE); $(unstage)
36075 @r=`${PWD_COMMAND}`; export r; \
36076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36077 $(NORMAL_TARGET_EXPORTS) \
36078 (cd $(TARGET_SUBDIR)/libgloss && \
36079 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36081 @endif target-libgloss
36083 .PHONY: install-strip-target-libgloss maybe-install-strip-target-libgloss
36084 maybe-install-strip-target-libgloss:
36085 @if target-libgloss
36086 maybe-install-strip-target-libgloss: install-strip-target-libgloss
36088 install-strip-target-libgloss: installdirs
36089 @: $(MAKE); $(unstage)
36090 @r=`${PWD_COMMAND}`; export r; \
36091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36092 $(NORMAL_TARGET_EXPORTS) \
36093 (cd $(TARGET_SUBDIR)/libgloss && \
36094 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36096 @endif target-libgloss
36098 # Other targets (info, dvi, pdf, etc.)
36100 .PHONY: maybe-info-target-libgloss info-target-libgloss
36101 maybe-info-target-libgloss:
36102 @if target-libgloss
36103 maybe-info-target-libgloss: info-target-libgloss
36105 info-target-libgloss: \
36106 configure-target-libgloss
36107 @: $(MAKE); $(unstage)
36108 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36109 r=`${PWD_COMMAND}`; export r; \
36110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36111 $(NORMAL_TARGET_EXPORTS) \
36112 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
36113 for flag in $(EXTRA_TARGET_FLAGS); do \
36114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36115 done; \
36116 (cd $(TARGET_SUBDIR)/libgloss && \
36117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36119 "RANLIB=$${RANLIB}" \
36120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36121 info) \
36122 || exit 1
36124 @endif target-libgloss
36126 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
36127 maybe-dvi-target-libgloss:
36128 @if target-libgloss
36129 maybe-dvi-target-libgloss: dvi-target-libgloss
36131 dvi-target-libgloss: \
36132 configure-target-libgloss
36133 @: $(MAKE); $(unstage)
36134 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36135 r=`${PWD_COMMAND}`; export r; \
36136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36137 $(NORMAL_TARGET_EXPORTS) \
36138 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
36139 for flag in $(EXTRA_TARGET_FLAGS); do \
36140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36141 done; \
36142 (cd $(TARGET_SUBDIR)/libgloss && \
36143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36145 "RANLIB=$${RANLIB}" \
36146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36147 dvi) \
36148 || exit 1
36150 @endif target-libgloss
36152 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
36153 maybe-pdf-target-libgloss:
36154 @if target-libgloss
36155 maybe-pdf-target-libgloss: pdf-target-libgloss
36157 pdf-target-libgloss: \
36158 configure-target-libgloss
36159 @: $(MAKE); $(unstage)
36160 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36161 r=`${PWD_COMMAND}`; export r; \
36162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36163 $(NORMAL_TARGET_EXPORTS) \
36164 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss" ; \
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)/libgloss && \
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 pdf) \
36174 || exit 1
36176 @endif target-libgloss
36178 .PHONY: maybe-html-target-libgloss html-target-libgloss
36179 maybe-html-target-libgloss:
36180 @if target-libgloss
36181 maybe-html-target-libgloss: html-target-libgloss
36183 html-target-libgloss: \
36184 configure-target-libgloss
36185 @: $(MAKE); $(unstage)
36186 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36187 r=`${PWD_COMMAND}`; export r; \
36188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36189 $(NORMAL_TARGET_EXPORTS) \
36190 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
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)/libgloss && \
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 html) \
36200 || exit 1
36202 @endif target-libgloss
36204 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
36205 maybe-TAGS-target-libgloss:
36206 @if target-libgloss
36207 maybe-TAGS-target-libgloss: TAGS-target-libgloss
36209 TAGS-target-libgloss: \
36210 configure-target-libgloss
36211 @: $(MAKE); $(unstage)
36212 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36213 r=`${PWD_COMMAND}`; export r; \
36214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36215 $(NORMAL_TARGET_EXPORTS) \
36216 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
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)/libgloss && \
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 TAGS) \
36226 || exit 1
36228 @endif target-libgloss
36230 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
36231 maybe-install-info-target-libgloss:
36232 @if target-libgloss
36233 maybe-install-info-target-libgloss: install-info-target-libgloss
36235 install-info-target-libgloss: \
36236 configure-target-libgloss \
36237 info-target-libgloss
36238 @: $(MAKE); $(unstage)
36239 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36240 r=`${PWD_COMMAND}`; export r; \
36241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36242 $(NORMAL_TARGET_EXPORTS) \
36243 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
36244 for flag in $(EXTRA_TARGET_FLAGS); do \
36245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36246 done; \
36247 (cd $(TARGET_SUBDIR)/libgloss && \
36248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36250 "RANLIB=$${RANLIB}" \
36251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36252 install-info) \
36253 || exit 1
36255 @endif target-libgloss
36257 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
36258 maybe-install-pdf-target-libgloss:
36259 @if target-libgloss
36260 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
36262 install-pdf-target-libgloss: \
36263 configure-target-libgloss \
36264 pdf-target-libgloss
36265 @: $(MAKE); $(unstage)
36266 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36267 r=`${PWD_COMMAND}`; export r; \
36268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36269 $(NORMAL_TARGET_EXPORTS) \
36270 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss" ; \
36271 for flag in $(EXTRA_TARGET_FLAGS); do \
36272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36273 done; \
36274 (cd $(TARGET_SUBDIR)/libgloss && \
36275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36277 "RANLIB=$${RANLIB}" \
36278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36279 install-pdf) \
36280 || exit 1
36282 @endif target-libgloss
36284 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
36285 maybe-install-html-target-libgloss:
36286 @if target-libgloss
36287 maybe-install-html-target-libgloss: install-html-target-libgloss
36289 install-html-target-libgloss: \
36290 configure-target-libgloss \
36291 html-target-libgloss
36292 @: $(MAKE); $(unstage)
36293 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36294 r=`${PWD_COMMAND}`; export r; \
36295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36296 $(NORMAL_TARGET_EXPORTS) \
36297 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss" ; \
36298 for flag in $(EXTRA_TARGET_FLAGS); do \
36299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36300 done; \
36301 (cd $(TARGET_SUBDIR)/libgloss && \
36302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36304 "RANLIB=$${RANLIB}" \
36305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36306 install-html) \
36307 || exit 1
36309 @endif target-libgloss
36311 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
36312 maybe-installcheck-target-libgloss:
36313 @if target-libgloss
36314 maybe-installcheck-target-libgloss: installcheck-target-libgloss
36316 installcheck-target-libgloss: \
36317 configure-target-libgloss
36318 @: $(MAKE); $(unstage)
36319 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36320 r=`${PWD_COMMAND}`; export r; \
36321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36322 $(NORMAL_TARGET_EXPORTS) \
36323 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
36324 for flag in $(EXTRA_TARGET_FLAGS); do \
36325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36326 done; \
36327 (cd $(TARGET_SUBDIR)/libgloss && \
36328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36330 "RANLIB=$${RANLIB}" \
36331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36332 installcheck) \
36333 || exit 1
36335 @endif target-libgloss
36337 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
36338 maybe-mostlyclean-target-libgloss:
36339 @if target-libgloss
36340 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
36342 mostlyclean-target-libgloss:
36343 @: $(MAKE); $(unstage)
36344 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36345 r=`${PWD_COMMAND}`; export r; \
36346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36347 $(NORMAL_TARGET_EXPORTS) \
36348 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
36349 for flag in $(EXTRA_TARGET_FLAGS); do \
36350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36351 done; \
36352 (cd $(TARGET_SUBDIR)/libgloss && \
36353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36355 "RANLIB=$${RANLIB}" \
36356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36357 mostlyclean) \
36358 || exit 1
36360 @endif target-libgloss
36362 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
36363 maybe-clean-target-libgloss:
36364 @if target-libgloss
36365 maybe-clean-target-libgloss: clean-target-libgloss
36367 clean-target-libgloss:
36368 @: $(MAKE); $(unstage)
36369 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36370 r=`${PWD_COMMAND}`; export r; \
36371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36372 $(NORMAL_TARGET_EXPORTS) \
36373 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
36374 for flag in $(EXTRA_TARGET_FLAGS); do \
36375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36376 done; \
36377 (cd $(TARGET_SUBDIR)/libgloss && \
36378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36380 "RANLIB=$${RANLIB}" \
36381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36382 clean) \
36383 || exit 1
36385 @endif target-libgloss
36387 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
36388 maybe-distclean-target-libgloss:
36389 @if target-libgloss
36390 maybe-distclean-target-libgloss: distclean-target-libgloss
36392 distclean-target-libgloss:
36393 @: $(MAKE); $(unstage)
36394 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36395 r=`${PWD_COMMAND}`; export r; \
36396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36397 $(NORMAL_TARGET_EXPORTS) \
36398 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
36399 for flag in $(EXTRA_TARGET_FLAGS); do \
36400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36401 done; \
36402 (cd $(TARGET_SUBDIR)/libgloss && \
36403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36405 "RANLIB=$${RANLIB}" \
36406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36407 distclean) \
36408 || exit 1
36410 @endif target-libgloss
36412 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
36413 maybe-maintainer-clean-target-libgloss:
36414 @if target-libgloss
36415 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
36417 maintainer-clean-target-libgloss:
36418 @: $(MAKE); $(unstage)
36419 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36420 r=`${PWD_COMMAND}`; export r; \
36421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36422 $(NORMAL_TARGET_EXPORTS) \
36423 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
36424 for flag in $(EXTRA_TARGET_FLAGS); do \
36425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36426 done; \
36427 (cd $(TARGET_SUBDIR)/libgloss && \
36428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36430 "RANLIB=$${RANLIB}" \
36431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36432 maintainer-clean) \
36433 || exit 1
36435 @endif target-libgloss
36441 .PHONY: configure-target-libffi maybe-configure-target-libffi
36442 maybe-configure-target-libffi:
36443 @if gcc-bootstrap
36444 configure-target-libffi: stage_current
36445 @endif gcc-bootstrap
36446 @if target-libffi
36447 maybe-configure-target-libffi: configure-target-libffi
36448 configure-target-libffi:
36449 @: $(MAKE); $(unstage)
36450 @r=`${PWD_COMMAND}`; export r; \
36451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36452 echo "Checking multilib configuration for libffi..."; \
36453 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
36454 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
36455 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
36456 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
36457 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
36458 else \
36459 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
36460 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
36461 fi; \
36462 else \
36463 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
36464 fi; \
36465 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
36466 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
36467 $(NORMAL_TARGET_EXPORTS) \
36468 echo Configuring in $(TARGET_SUBDIR)/libffi; \
36469 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
36470 case $(srcdir) in \
36471 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36472 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
36473 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36474 esac; \
36475 srcdiroption="--srcdir=$${topdir}/libffi"; \
36476 libsrcdir="$$s/libffi"; \
36477 rm -f no-such-file || : ; \
36478 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36479 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36480 --target=${target_alias} $${srcdiroption} \
36481 || exit 1
36482 @endif target-libffi
36488 .PHONY: all-target-libffi maybe-all-target-libffi
36489 maybe-all-target-libffi:
36490 @if gcc-bootstrap
36491 all-target-libffi: stage_current
36492 @endif gcc-bootstrap
36493 @if target-libffi
36494 TARGET-target-libffi=all
36495 maybe-all-target-libffi: all-target-libffi
36496 all-target-libffi: configure-target-libffi
36497 @: $(MAKE); $(unstage)
36498 @r=`${PWD_COMMAND}`; export r; \
36499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36500 $(NORMAL_TARGET_EXPORTS) \
36501 (cd $(TARGET_SUBDIR)/libffi && \
36502 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36503 $(TARGET-target-libffi))
36504 @endif target-libffi
36510 .PHONY: check-target-libffi maybe-check-target-libffi
36511 maybe-check-target-libffi:
36512 @if target-libffi
36513 maybe-check-target-libffi: check-target-libffi
36515 check-target-libffi:
36516 @: $(MAKE); $(unstage)
36517 @r=`${PWD_COMMAND}`; export r; \
36518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36519 $(NORMAL_TARGET_EXPORTS) \
36520 (cd $(TARGET_SUBDIR)/libffi && \
36521 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36523 @endif target-libffi
36525 .PHONY: install-target-libffi maybe-install-target-libffi
36526 maybe-install-target-libffi:
36527 @if target-libffi
36528 maybe-install-target-libffi: install-target-libffi
36530 install-target-libffi: installdirs
36531 @: $(MAKE); $(unstage)
36532 @r=`${PWD_COMMAND}`; export r; \
36533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36534 $(NORMAL_TARGET_EXPORTS) \
36535 (cd $(TARGET_SUBDIR)/libffi && \
36536 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36538 @endif target-libffi
36540 .PHONY: install-strip-target-libffi maybe-install-strip-target-libffi
36541 maybe-install-strip-target-libffi:
36542 @if target-libffi
36543 maybe-install-strip-target-libffi: install-strip-target-libffi
36545 install-strip-target-libffi: installdirs
36546 @: $(MAKE); $(unstage)
36547 @r=`${PWD_COMMAND}`; export r; \
36548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36549 $(NORMAL_TARGET_EXPORTS) \
36550 (cd $(TARGET_SUBDIR)/libffi && \
36551 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36553 @endif target-libffi
36555 # Other targets (info, dvi, pdf, etc.)
36557 .PHONY: maybe-info-target-libffi info-target-libffi
36558 maybe-info-target-libffi:
36559 @if target-libffi
36560 maybe-info-target-libffi: info-target-libffi
36562 info-target-libffi: \
36563 configure-target-libffi
36564 @: $(MAKE); $(unstage)
36565 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36566 r=`${PWD_COMMAND}`; export r; \
36567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36568 $(NORMAL_TARGET_EXPORTS) \
36569 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
36570 for flag in $(EXTRA_TARGET_FLAGS); do \
36571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36572 done; \
36573 (cd $(TARGET_SUBDIR)/libffi && \
36574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36576 "RANLIB=$${RANLIB}" \
36577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36578 info) \
36579 || exit 1
36581 @endif target-libffi
36583 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
36584 maybe-dvi-target-libffi:
36585 @if target-libffi
36586 maybe-dvi-target-libffi: dvi-target-libffi
36588 dvi-target-libffi: \
36589 configure-target-libffi
36590 @: $(MAKE); $(unstage)
36591 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36592 r=`${PWD_COMMAND}`; export r; \
36593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36594 $(NORMAL_TARGET_EXPORTS) \
36595 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
36596 for flag in $(EXTRA_TARGET_FLAGS); do \
36597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36598 done; \
36599 (cd $(TARGET_SUBDIR)/libffi && \
36600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36602 "RANLIB=$${RANLIB}" \
36603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36604 dvi) \
36605 || exit 1
36607 @endif target-libffi
36609 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
36610 maybe-pdf-target-libffi:
36611 @if target-libffi
36612 maybe-pdf-target-libffi: pdf-target-libffi
36614 pdf-target-libffi: \
36615 configure-target-libffi
36616 @: $(MAKE); $(unstage)
36617 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36618 r=`${PWD_COMMAND}`; export r; \
36619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36620 $(NORMAL_TARGET_EXPORTS) \
36621 echo "Doing pdf in $(TARGET_SUBDIR)/libffi" ; \
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)/libffi && \
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 pdf) \
36631 || exit 1
36633 @endif target-libffi
36635 .PHONY: maybe-html-target-libffi html-target-libffi
36636 maybe-html-target-libffi:
36637 @if target-libffi
36638 maybe-html-target-libffi: html-target-libffi
36640 html-target-libffi: \
36641 configure-target-libffi
36642 @: $(MAKE); $(unstage)
36643 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36644 r=`${PWD_COMMAND}`; export r; \
36645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36646 $(NORMAL_TARGET_EXPORTS) \
36647 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
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)/libffi && \
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 html) \
36657 || exit 1
36659 @endif target-libffi
36661 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
36662 maybe-TAGS-target-libffi:
36663 @if target-libffi
36664 maybe-TAGS-target-libffi: TAGS-target-libffi
36666 TAGS-target-libffi: \
36667 configure-target-libffi
36668 @: $(MAKE); $(unstage)
36669 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36670 r=`${PWD_COMMAND}`; export r; \
36671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36672 $(NORMAL_TARGET_EXPORTS) \
36673 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
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)/libffi && \
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 TAGS) \
36683 || exit 1
36685 @endif target-libffi
36687 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
36688 maybe-install-info-target-libffi:
36689 @if target-libffi
36690 maybe-install-info-target-libffi: install-info-target-libffi
36692 install-info-target-libffi: \
36693 configure-target-libffi \
36694 info-target-libffi
36695 @: $(MAKE); $(unstage)
36696 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36697 r=`${PWD_COMMAND}`; export r; \
36698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36699 $(NORMAL_TARGET_EXPORTS) \
36700 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
36701 for flag in $(EXTRA_TARGET_FLAGS); do \
36702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36703 done; \
36704 (cd $(TARGET_SUBDIR)/libffi && \
36705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36707 "RANLIB=$${RANLIB}" \
36708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36709 install-info) \
36710 || exit 1
36712 @endif target-libffi
36714 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
36715 maybe-install-pdf-target-libffi:
36716 @if target-libffi
36717 maybe-install-pdf-target-libffi: install-pdf-target-libffi
36719 install-pdf-target-libffi: \
36720 configure-target-libffi \
36721 pdf-target-libffi
36722 @: $(MAKE); $(unstage)
36723 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36724 r=`${PWD_COMMAND}`; export r; \
36725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36726 $(NORMAL_TARGET_EXPORTS) \
36727 echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi" ; \
36728 for flag in $(EXTRA_TARGET_FLAGS); do \
36729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36730 done; \
36731 (cd $(TARGET_SUBDIR)/libffi && \
36732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36734 "RANLIB=$${RANLIB}" \
36735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36736 install-pdf) \
36737 || exit 1
36739 @endif target-libffi
36741 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
36742 maybe-install-html-target-libffi:
36743 @if target-libffi
36744 maybe-install-html-target-libffi: install-html-target-libffi
36746 install-html-target-libffi: \
36747 configure-target-libffi \
36748 html-target-libffi
36749 @: $(MAKE); $(unstage)
36750 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36751 r=`${PWD_COMMAND}`; export r; \
36752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36753 $(NORMAL_TARGET_EXPORTS) \
36754 echo "Doing install-html in $(TARGET_SUBDIR)/libffi" ; \
36755 for flag in $(EXTRA_TARGET_FLAGS); do \
36756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36757 done; \
36758 (cd $(TARGET_SUBDIR)/libffi && \
36759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36761 "RANLIB=$${RANLIB}" \
36762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36763 install-html) \
36764 || exit 1
36766 @endif target-libffi
36768 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
36769 maybe-installcheck-target-libffi:
36770 @if target-libffi
36771 maybe-installcheck-target-libffi: installcheck-target-libffi
36773 installcheck-target-libffi: \
36774 configure-target-libffi
36775 @: $(MAKE); $(unstage)
36776 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36777 r=`${PWD_COMMAND}`; export r; \
36778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36779 $(NORMAL_TARGET_EXPORTS) \
36780 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
36781 for flag in $(EXTRA_TARGET_FLAGS); do \
36782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36783 done; \
36784 (cd $(TARGET_SUBDIR)/libffi && \
36785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36787 "RANLIB=$${RANLIB}" \
36788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36789 installcheck) \
36790 || exit 1
36792 @endif target-libffi
36794 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
36795 maybe-mostlyclean-target-libffi:
36796 @if target-libffi
36797 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
36799 mostlyclean-target-libffi:
36800 @: $(MAKE); $(unstage)
36801 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36802 r=`${PWD_COMMAND}`; export r; \
36803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36804 $(NORMAL_TARGET_EXPORTS) \
36805 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
36806 for flag in $(EXTRA_TARGET_FLAGS); do \
36807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36808 done; \
36809 (cd $(TARGET_SUBDIR)/libffi && \
36810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36812 "RANLIB=$${RANLIB}" \
36813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36814 mostlyclean) \
36815 || exit 1
36817 @endif target-libffi
36819 .PHONY: maybe-clean-target-libffi clean-target-libffi
36820 maybe-clean-target-libffi:
36821 @if target-libffi
36822 maybe-clean-target-libffi: clean-target-libffi
36824 clean-target-libffi:
36825 @: $(MAKE); $(unstage)
36826 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36827 r=`${PWD_COMMAND}`; export r; \
36828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36829 $(NORMAL_TARGET_EXPORTS) \
36830 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
36831 for flag in $(EXTRA_TARGET_FLAGS); do \
36832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36833 done; \
36834 (cd $(TARGET_SUBDIR)/libffi && \
36835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36837 "RANLIB=$${RANLIB}" \
36838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36839 clean) \
36840 || exit 1
36842 @endif target-libffi
36844 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
36845 maybe-distclean-target-libffi:
36846 @if target-libffi
36847 maybe-distclean-target-libffi: distclean-target-libffi
36849 distclean-target-libffi:
36850 @: $(MAKE); $(unstage)
36851 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36852 r=`${PWD_COMMAND}`; export r; \
36853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36854 $(NORMAL_TARGET_EXPORTS) \
36855 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
36856 for flag in $(EXTRA_TARGET_FLAGS); do \
36857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36858 done; \
36859 (cd $(TARGET_SUBDIR)/libffi && \
36860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36862 "RANLIB=$${RANLIB}" \
36863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36864 distclean) \
36865 || exit 1
36867 @endif target-libffi
36869 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
36870 maybe-maintainer-clean-target-libffi:
36871 @if target-libffi
36872 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
36874 maintainer-clean-target-libffi:
36875 @: $(MAKE); $(unstage)
36876 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36877 r=`${PWD_COMMAND}`; export r; \
36878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36879 $(NORMAL_TARGET_EXPORTS) \
36880 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
36881 for flag in $(EXTRA_TARGET_FLAGS); do \
36882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36883 done; \
36884 (cd $(TARGET_SUBDIR)/libffi && \
36885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36887 "RANLIB=$${RANLIB}" \
36888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36889 maintainer-clean) \
36890 || exit 1
36892 @endif target-libffi
36898 .PHONY: configure-target-libjava maybe-configure-target-libjava
36899 maybe-configure-target-libjava:
36900 @if gcc-bootstrap
36901 configure-target-libjava: stage_current
36902 @endif gcc-bootstrap
36903 @if target-libjava
36904 maybe-configure-target-libjava: configure-target-libjava
36905 configure-target-libjava:
36906 @: $(MAKE); $(unstage)
36907 @r=`${PWD_COMMAND}`; export r; \
36908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36909 echo "Checking multilib configuration for libjava..."; \
36910 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
36911 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
36912 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
36913 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
36914 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
36915 else \
36916 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
36917 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
36918 fi; \
36919 else \
36920 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
36921 fi; \
36922 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
36923 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
36924 $(RAW_CXX_TARGET_EXPORTS) \
36925 echo Configuring in $(TARGET_SUBDIR)/libjava; \
36926 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
36927 case $(srcdir) in \
36928 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36929 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
36930 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36931 esac; \
36932 srcdiroption="--srcdir=$${topdir}/libjava"; \
36933 libsrcdir="$$s/libjava"; \
36934 rm -f no-such-file || : ; \
36935 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36936 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36937 --target=${target_alias} $${srcdiroption} $(EXTRA_CONFIGARGS_LIBJAVA) \
36938 || exit 1
36939 @endif target-libjava
36945 .PHONY: all-target-libjava maybe-all-target-libjava
36946 maybe-all-target-libjava:
36947 @if gcc-bootstrap
36948 all-target-libjava: stage_current
36949 @endif gcc-bootstrap
36950 @if target-libjava
36951 TARGET-target-libjava=all
36952 maybe-all-target-libjava: all-target-libjava
36953 all-target-libjava: configure-target-libjava
36954 @: $(MAKE); $(unstage)
36955 @r=`${PWD_COMMAND}`; export r; \
36956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36957 $(RAW_CXX_TARGET_EXPORTS) \
36958 (cd $(TARGET_SUBDIR)/libjava && \
36959 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36960 $(TARGET-target-libjava))
36961 @endif target-libjava
36967 .PHONY: check-target-libjava maybe-check-target-libjava
36968 maybe-check-target-libjava:
36969 @if target-libjava
36970 maybe-check-target-libjava: check-target-libjava
36972 check-target-libjava:
36973 @: $(MAKE); $(unstage)
36974 @r=`${PWD_COMMAND}`; export r; \
36975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36976 $(RAW_CXX_TARGET_EXPORTS) \
36977 (cd $(TARGET_SUBDIR)/libjava && \
36978 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
36980 @endif target-libjava
36982 .PHONY: install-target-libjava maybe-install-target-libjava
36983 maybe-install-target-libjava:
36984 @if target-libjava
36985 maybe-install-target-libjava: install-target-libjava
36987 install-target-libjava: installdirs
36988 @: $(MAKE); $(unstage)
36989 @r=`${PWD_COMMAND}`; export r; \
36990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36991 $(RAW_CXX_TARGET_EXPORTS) \
36992 (cd $(TARGET_SUBDIR)/libjava && \
36993 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36995 @endif target-libjava
36997 .PHONY: install-strip-target-libjava maybe-install-strip-target-libjava
36998 maybe-install-strip-target-libjava:
36999 @if target-libjava
37000 maybe-install-strip-target-libjava: install-strip-target-libjava
37002 install-strip-target-libjava: installdirs
37003 @: $(MAKE); $(unstage)
37004 @r=`${PWD_COMMAND}`; export r; \
37005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37006 $(RAW_CXX_TARGET_EXPORTS) \
37007 (cd $(TARGET_SUBDIR)/libjava && \
37008 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37010 @endif target-libjava
37012 # Other targets (info, dvi, pdf, etc.)
37014 .PHONY: maybe-info-target-libjava info-target-libjava
37015 maybe-info-target-libjava:
37016 @if target-libjava
37017 maybe-info-target-libjava: info-target-libjava
37019 info-target-libjava: \
37020 configure-target-libjava
37021 @: $(MAKE); $(unstage)
37022 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37023 r=`${PWD_COMMAND}`; export r; \
37024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37025 $(RAW_CXX_TARGET_EXPORTS) \
37026 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
37027 for flag in $(EXTRA_TARGET_FLAGS); do \
37028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37029 done; \
37030 (cd $(TARGET_SUBDIR)/libjava && \
37031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37033 "RANLIB=$${RANLIB}" \
37034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37035 info) \
37036 || exit 1
37038 @endif target-libjava
37040 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
37041 maybe-dvi-target-libjava:
37042 @if target-libjava
37043 maybe-dvi-target-libjava: dvi-target-libjava
37045 dvi-target-libjava: \
37046 configure-target-libjava
37047 @: $(MAKE); $(unstage)
37048 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37049 r=`${PWD_COMMAND}`; export r; \
37050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37051 $(RAW_CXX_TARGET_EXPORTS) \
37052 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
37053 for flag in $(EXTRA_TARGET_FLAGS); do \
37054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37055 done; \
37056 (cd $(TARGET_SUBDIR)/libjava && \
37057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37059 "RANLIB=$${RANLIB}" \
37060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37061 dvi) \
37062 || exit 1
37064 @endif target-libjava
37066 .PHONY: maybe-pdf-target-libjava pdf-target-libjava
37067 maybe-pdf-target-libjava:
37068 @if target-libjava
37069 maybe-pdf-target-libjava: pdf-target-libjava
37071 pdf-target-libjava: \
37072 configure-target-libjava
37073 @: $(MAKE); $(unstage)
37074 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37075 r=`${PWD_COMMAND}`; export r; \
37076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37077 $(RAW_CXX_TARGET_EXPORTS) \
37078 echo "Doing pdf in $(TARGET_SUBDIR)/libjava" ; \
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)/libjava && \
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 pdf) \
37088 || exit 1
37090 @endif target-libjava
37092 .PHONY: maybe-html-target-libjava html-target-libjava
37093 maybe-html-target-libjava:
37094 @if target-libjava
37095 maybe-html-target-libjava: html-target-libjava
37097 html-target-libjava: \
37098 configure-target-libjava
37099 @: $(MAKE); $(unstage)
37100 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37101 r=`${PWD_COMMAND}`; export r; \
37102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37103 $(RAW_CXX_TARGET_EXPORTS) \
37104 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
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)/libjava && \
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 html) \
37114 || exit 1
37116 @endif target-libjava
37118 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
37119 maybe-TAGS-target-libjava:
37120 @if target-libjava
37121 maybe-TAGS-target-libjava: TAGS-target-libjava
37123 TAGS-target-libjava: \
37124 configure-target-libjava
37125 @: $(MAKE); $(unstage)
37126 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37127 r=`${PWD_COMMAND}`; export r; \
37128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37129 $(RAW_CXX_TARGET_EXPORTS) \
37130 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
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)/libjava && \
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 TAGS) \
37140 || exit 1
37142 @endif target-libjava
37144 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
37145 maybe-install-info-target-libjava:
37146 @if target-libjava
37147 maybe-install-info-target-libjava: install-info-target-libjava
37149 install-info-target-libjava: \
37150 configure-target-libjava \
37151 info-target-libjava
37152 @: $(MAKE); $(unstage)
37153 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37154 r=`${PWD_COMMAND}`; export r; \
37155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37156 $(RAW_CXX_TARGET_EXPORTS) \
37157 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
37158 for flag in $(EXTRA_TARGET_FLAGS); do \
37159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37160 done; \
37161 (cd $(TARGET_SUBDIR)/libjava && \
37162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37164 "RANLIB=$${RANLIB}" \
37165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37166 install-info) \
37167 || exit 1
37169 @endif target-libjava
37171 .PHONY: maybe-install-pdf-target-libjava install-pdf-target-libjava
37172 maybe-install-pdf-target-libjava:
37173 @if target-libjava
37174 maybe-install-pdf-target-libjava: install-pdf-target-libjava
37176 install-pdf-target-libjava: \
37177 configure-target-libjava \
37178 pdf-target-libjava
37179 @: $(MAKE); $(unstage)
37180 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37181 r=`${PWD_COMMAND}`; export r; \
37182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37183 $(RAW_CXX_TARGET_EXPORTS) \
37184 echo "Doing install-pdf in $(TARGET_SUBDIR)/libjava" ; \
37185 for flag in $(EXTRA_TARGET_FLAGS); do \
37186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37187 done; \
37188 (cd $(TARGET_SUBDIR)/libjava && \
37189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37191 "RANLIB=$${RANLIB}" \
37192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37193 install-pdf) \
37194 || exit 1
37196 @endif target-libjava
37198 .PHONY: maybe-install-html-target-libjava install-html-target-libjava
37199 maybe-install-html-target-libjava:
37200 @if target-libjava
37201 maybe-install-html-target-libjava: install-html-target-libjava
37203 install-html-target-libjava: \
37204 configure-target-libjava \
37205 html-target-libjava
37206 @: $(MAKE); $(unstage)
37207 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37208 r=`${PWD_COMMAND}`; export r; \
37209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37210 $(RAW_CXX_TARGET_EXPORTS) \
37211 echo "Doing install-html in $(TARGET_SUBDIR)/libjava" ; \
37212 for flag in $(EXTRA_TARGET_FLAGS); do \
37213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37214 done; \
37215 (cd $(TARGET_SUBDIR)/libjava && \
37216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37218 "RANLIB=$${RANLIB}" \
37219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37220 install-html) \
37221 || exit 1
37223 @endif target-libjava
37225 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
37226 maybe-installcheck-target-libjava:
37227 @if target-libjava
37228 maybe-installcheck-target-libjava: installcheck-target-libjava
37230 installcheck-target-libjava: \
37231 configure-target-libjava
37232 @: $(MAKE); $(unstage)
37233 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37234 r=`${PWD_COMMAND}`; export r; \
37235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37236 $(RAW_CXX_TARGET_EXPORTS) \
37237 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
37238 for flag in $(EXTRA_TARGET_FLAGS); do \
37239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37240 done; \
37241 (cd $(TARGET_SUBDIR)/libjava && \
37242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37244 "RANLIB=$${RANLIB}" \
37245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37246 installcheck) \
37247 || exit 1
37249 @endif target-libjava
37251 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
37252 maybe-mostlyclean-target-libjava:
37253 @if target-libjava
37254 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
37256 mostlyclean-target-libjava:
37257 @: $(MAKE); $(unstage)
37258 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37259 r=`${PWD_COMMAND}`; export r; \
37260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37261 $(RAW_CXX_TARGET_EXPORTS) \
37262 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
37263 for flag in $(EXTRA_TARGET_FLAGS); do \
37264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37265 done; \
37266 (cd $(TARGET_SUBDIR)/libjava && \
37267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37269 "RANLIB=$${RANLIB}" \
37270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37271 mostlyclean) \
37272 || exit 1
37274 @endif target-libjava
37276 .PHONY: maybe-clean-target-libjava clean-target-libjava
37277 maybe-clean-target-libjava:
37278 @if target-libjava
37279 maybe-clean-target-libjava: clean-target-libjava
37281 clean-target-libjava:
37282 @: $(MAKE); $(unstage)
37283 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37284 r=`${PWD_COMMAND}`; export r; \
37285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37286 $(RAW_CXX_TARGET_EXPORTS) \
37287 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
37288 for flag in $(EXTRA_TARGET_FLAGS); do \
37289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37290 done; \
37291 (cd $(TARGET_SUBDIR)/libjava && \
37292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37294 "RANLIB=$${RANLIB}" \
37295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37296 clean) \
37297 || exit 1
37299 @endif target-libjava
37301 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
37302 maybe-distclean-target-libjava:
37303 @if target-libjava
37304 maybe-distclean-target-libjava: distclean-target-libjava
37306 distclean-target-libjava:
37307 @: $(MAKE); $(unstage)
37308 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37309 r=`${PWD_COMMAND}`; export r; \
37310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37311 $(RAW_CXX_TARGET_EXPORTS) \
37312 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
37313 for flag in $(EXTRA_TARGET_FLAGS); do \
37314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37315 done; \
37316 (cd $(TARGET_SUBDIR)/libjava && \
37317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37319 "RANLIB=$${RANLIB}" \
37320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37321 distclean) \
37322 || exit 1
37324 @endif target-libjava
37326 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
37327 maybe-maintainer-clean-target-libjava:
37328 @if target-libjava
37329 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
37331 maintainer-clean-target-libjava:
37332 @: $(MAKE); $(unstage)
37333 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37334 r=`${PWD_COMMAND}`; export r; \
37335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37336 $(RAW_CXX_TARGET_EXPORTS) \
37337 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
37338 for flag in $(EXTRA_TARGET_FLAGS); do \
37339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37340 done; \
37341 (cd $(TARGET_SUBDIR)/libjava && \
37342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37344 "RANLIB=$${RANLIB}" \
37345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37346 maintainer-clean) \
37347 || exit 1
37349 @endif target-libjava
37355 .PHONY: configure-target-zlib maybe-configure-target-zlib
37356 maybe-configure-target-zlib:
37357 @if gcc-bootstrap
37358 configure-target-zlib: stage_current
37359 @endif gcc-bootstrap
37360 @if target-zlib
37361 maybe-configure-target-zlib: configure-target-zlib
37362 configure-target-zlib:
37363 @: $(MAKE); $(unstage)
37364 @r=`${PWD_COMMAND}`; export r; \
37365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37366 echo "Checking multilib configuration for zlib..."; \
37367 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
37368 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
37369 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
37370 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
37371 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
37372 else \
37373 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
37374 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
37375 fi; \
37376 else \
37377 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
37378 fi; \
37379 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
37380 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
37381 $(NORMAL_TARGET_EXPORTS) \
37382 echo Configuring in $(TARGET_SUBDIR)/zlib; \
37383 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
37384 case $(srcdir) in \
37385 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37386 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
37387 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37388 esac; \
37389 srcdiroption="--srcdir=$${topdir}/zlib"; \
37390 libsrcdir="$$s/zlib"; \
37391 rm -f no-such-file || : ; \
37392 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37393 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37394 --target=${target_alias} $${srcdiroption} \
37395 || exit 1
37396 @endif target-zlib
37402 .PHONY: all-target-zlib maybe-all-target-zlib
37403 maybe-all-target-zlib:
37404 @if gcc-bootstrap
37405 all-target-zlib: stage_current
37406 @endif gcc-bootstrap
37407 @if target-zlib
37408 TARGET-target-zlib=all
37409 maybe-all-target-zlib: all-target-zlib
37410 all-target-zlib: configure-target-zlib
37411 @: $(MAKE); $(unstage)
37412 @r=`${PWD_COMMAND}`; export r; \
37413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37414 $(NORMAL_TARGET_EXPORTS) \
37415 (cd $(TARGET_SUBDIR)/zlib && \
37416 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37417 $(TARGET-target-zlib))
37418 @endif target-zlib
37424 .PHONY: check-target-zlib maybe-check-target-zlib
37425 maybe-check-target-zlib:
37426 @if target-zlib
37427 maybe-check-target-zlib: check-target-zlib
37429 check-target-zlib:
37430 @: $(MAKE); $(unstage)
37431 @r=`${PWD_COMMAND}`; export r; \
37432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37433 $(NORMAL_TARGET_EXPORTS) \
37434 (cd $(TARGET_SUBDIR)/zlib && \
37435 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37437 @endif target-zlib
37439 .PHONY: install-target-zlib maybe-install-target-zlib
37440 maybe-install-target-zlib:
37441 @if target-zlib
37442 maybe-install-target-zlib: install-target-zlib
37444 install-target-zlib: installdirs
37445 @: $(MAKE); $(unstage)
37446 @r=`${PWD_COMMAND}`; export r; \
37447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37448 $(NORMAL_TARGET_EXPORTS) \
37449 (cd $(TARGET_SUBDIR)/zlib && \
37450 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37452 @endif target-zlib
37454 .PHONY: install-strip-target-zlib maybe-install-strip-target-zlib
37455 maybe-install-strip-target-zlib:
37456 @if target-zlib
37457 maybe-install-strip-target-zlib: install-strip-target-zlib
37459 install-strip-target-zlib: installdirs
37460 @: $(MAKE); $(unstage)
37461 @r=`${PWD_COMMAND}`; export r; \
37462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37463 $(NORMAL_TARGET_EXPORTS) \
37464 (cd $(TARGET_SUBDIR)/zlib && \
37465 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37467 @endif target-zlib
37469 # Other targets (info, dvi, pdf, etc.)
37471 .PHONY: maybe-info-target-zlib info-target-zlib
37472 maybe-info-target-zlib:
37473 @if target-zlib
37474 maybe-info-target-zlib: info-target-zlib
37476 info-target-zlib: \
37477 configure-target-zlib
37478 @: $(MAKE); $(unstage)
37479 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37480 r=`${PWD_COMMAND}`; export r; \
37481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37482 $(NORMAL_TARGET_EXPORTS) \
37483 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
37484 for flag in $(EXTRA_TARGET_FLAGS); do \
37485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37486 done; \
37487 (cd $(TARGET_SUBDIR)/zlib && \
37488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37490 "RANLIB=$${RANLIB}" \
37491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37492 info) \
37493 || exit 1
37495 @endif target-zlib
37497 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
37498 maybe-dvi-target-zlib:
37499 @if target-zlib
37500 maybe-dvi-target-zlib: dvi-target-zlib
37502 dvi-target-zlib: \
37503 configure-target-zlib
37504 @: $(MAKE); $(unstage)
37505 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37506 r=`${PWD_COMMAND}`; export r; \
37507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37508 $(NORMAL_TARGET_EXPORTS) \
37509 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
37510 for flag in $(EXTRA_TARGET_FLAGS); do \
37511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37512 done; \
37513 (cd $(TARGET_SUBDIR)/zlib && \
37514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37516 "RANLIB=$${RANLIB}" \
37517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37518 dvi) \
37519 || exit 1
37521 @endif target-zlib
37523 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
37524 maybe-pdf-target-zlib:
37525 @if target-zlib
37526 maybe-pdf-target-zlib: pdf-target-zlib
37528 pdf-target-zlib: \
37529 configure-target-zlib
37530 @: $(MAKE); $(unstage)
37531 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37532 r=`${PWD_COMMAND}`; export r; \
37533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37534 $(NORMAL_TARGET_EXPORTS) \
37535 echo "Doing pdf in $(TARGET_SUBDIR)/zlib" ; \
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)/zlib && \
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 pdf) \
37545 || exit 1
37547 @endif target-zlib
37549 .PHONY: maybe-html-target-zlib html-target-zlib
37550 maybe-html-target-zlib:
37551 @if target-zlib
37552 maybe-html-target-zlib: html-target-zlib
37554 html-target-zlib: \
37555 configure-target-zlib
37556 @: $(MAKE); $(unstage)
37557 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37558 r=`${PWD_COMMAND}`; export r; \
37559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37560 $(NORMAL_TARGET_EXPORTS) \
37561 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
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)/zlib && \
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 html) \
37571 || exit 1
37573 @endif target-zlib
37575 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
37576 maybe-TAGS-target-zlib:
37577 @if target-zlib
37578 maybe-TAGS-target-zlib: TAGS-target-zlib
37580 TAGS-target-zlib: \
37581 configure-target-zlib
37582 @: $(MAKE); $(unstage)
37583 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37584 r=`${PWD_COMMAND}`; export r; \
37585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37586 $(NORMAL_TARGET_EXPORTS) \
37587 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
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)/zlib && \
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 TAGS) \
37597 || exit 1
37599 @endif target-zlib
37601 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
37602 maybe-install-info-target-zlib:
37603 @if target-zlib
37604 maybe-install-info-target-zlib: install-info-target-zlib
37606 install-info-target-zlib: \
37607 configure-target-zlib \
37608 info-target-zlib
37609 @: $(MAKE); $(unstage)
37610 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37611 r=`${PWD_COMMAND}`; export r; \
37612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37613 $(NORMAL_TARGET_EXPORTS) \
37614 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
37615 for flag in $(EXTRA_TARGET_FLAGS); do \
37616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37617 done; \
37618 (cd $(TARGET_SUBDIR)/zlib && \
37619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37621 "RANLIB=$${RANLIB}" \
37622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37623 install-info) \
37624 || exit 1
37626 @endif target-zlib
37628 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
37629 maybe-install-pdf-target-zlib:
37630 @if target-zlib
37631 maybe-install-pdf-target-zlib: install-pdf-target-zlib
37633 install-pdf-target-zlib: \
37634 configure-target-zlib \
37635 pdf-target-zlib
37636 @: $(MAKE); $(unstage)
37637 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37638 r=`${PWD_COMMAND}`; export r; \
37639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37640 $(NORMAL_TARGET_EXPORTS) \
37641 echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib" ; \
37642 for flag in $(EXTRA_TARGET_FLAGS); do \
37643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37644 done; \
37645 (cd $(TARGET_SUBDIR)/zlib && \
37646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37648 "RANLIB=$${RANLIB}" \
37649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37650 install-pdf) \
37651 || exit 1
37653 @endif target-zlib
37655 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
37656 maybe-install-html-target-zlib:
37657 @if target-zlib
37658 maybe-install-html-target-zlib: install-html-target-zlib
37660 install-html-target-zlib: \
37661 configure-target-zlib \
37662 html-target-zlib
37663 @: $(MAKE); $(unstage)
37664 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37665 r=`${PWD_COMMAND}`; export r; \
37666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37667 $(NORMAL_TARGET_EXPORTS) \
37668 echo "Doing install-html in $(TARGET_SUBDIR)/zlib" ; \
37669 for flag in $(EXTRA_TARGET_FLAGS); do \
37670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37671 done; \
37672 (cd $(TARGET_SUBDIR)/zlib && \
37673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37675 "RANLIB=$${RANLIB}" \
37676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37677 install-html) \
37678 || exit 1
37680 @endif target-zlib
37682 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
37683 maybe-installcheck-target-zlib:
37684 @if target-zlib
37685 maybe-installcheck-target-zlib: installcheck-target-zlib
37687 installcheck-target-zlib: \
37688 configure-target-zlib
37689 @: $(MAKE); $(unstage)
37690 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37691 r=`${PWD_COMMAND}`; export r; \
37692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37693 $(NORMAL_TARGET_EXPORTS) \
37694 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
37695 for flag in $(EXTRA_TARGET_FLAGS); do \
37696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37697 done; \
37698 (cd $(TARGET_SUBDIR)/zlib && \
37699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37701 "RANLIB=$${RANLIB}" \
37702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37703 installcheck) \
37704 || exit 1
37706 @endif target-zlib
37708 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
37709 maybe-mostlyclean-target-zlib:
37710 @if target-zlib
37711 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
37713 mostlyclean-target-zlib:
37714 @: $(MAKE); $(unstage)
37715 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37716 r=`${PWD_COMMAND}`; export r; \
37717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37718 $(NORMAL_TARGET_EXPORTS) \
37719 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
37720 for flag in $(EXTRA_TARGET_FLAGS); do \
37721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37722 done; \
37723 (cd $(TARGET_SUBDIR)/zlib && \
37724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37726 "RANLIB=$${RANLIB}" \
37727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37728 mostlyclean) \
37729 || exit 1
37731 @endif target-zlib
37733 .PHONY: maybe-clean-target-zlib clean-target-zlib
37734 maybe-clean-target-zlib:
37735 @if target-zlib
37736 maybe-clean-target-zlib: clean-target-zlib
37738 clean-target-zlib:
37739 @: $(MAKE); $(unstage)
37740 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37741 r=`${PWD_COMMAND}`; export r; \
37742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37743 $(NORMAL_TARGET_EXPORTS) \
37744 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
37745 for flag in $(EXTRA_TARGET_FLAGS); do \
37746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37747 done; \
37748 (cd $(TARGET_SUBDIR)/zlib && \
37749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37751 "RANLIB=$${RANLIB}" \
37752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37753 clean) \
37754 || exit 1
37756 @endif target-zlib
37758 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
37759 maybe-distclean-target-zlib:
37760 @if target-zlib
37761 maybe-distclean-target-zlib: distclean-target-zlib
37763 distclean-target-zlib:
37764 @: $(MAKE); $(unstage)
37765 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37766 r=`${PWD_COMMAND}`; export r; \
37767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37768 $(NORMAL_TARGET_EXPORTS) \
37769 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
37770 for flag in $(EXTRA_TARGET_FLAGS); do \
37771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37772 done; \
37773 (cd $(TARGET_SUBDIR)/zlib && \
37774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37776 "RANLIB=$${RANLIB}" \
37777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37778 distclean) \
37779 || exit 1
37781 @endif target-zlib
37783 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
37784 maybe-maintainer-clean-target-zlib:
37785 @if target-zlib
37786 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
37788 maintainer-clean-target-zlib:
37789 @: $(MAKE); $(unstage)
37790 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37791 r=`${PWD_COMMAND}`; export r; \
37792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37793 $(NORMAL_TARGET_EXPORTS) \
37794 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
37795 for flag in $(EXTRA_TARGET_FLAGS); do \
37796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37797 done; \
37798 (cd $(TARGET_SUBDIR)/zlib && \
37799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37801 "RANLIB=$${RANLIB}" \
37802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37803 maintainer-clean) \
37804 || exit 1
37806 @endif target-zlib
37812 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
37813 maybe-configure-target-boehm-gc:
37814 @if gcc-bootstrap
37815 configure-target-boehm-gc: stage_current
37816 @endif gcc-bootstrap
37817 @if target-boehm-gc
37818 maybe-configure-target-boehm-gc: configure-target-boehm-gc
37819 configure-target-boehm-gc:
37820 @: $(MAKE); $(unstage)
37821 @r=`${PWD_COMMAND}`; export r; \
37822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37823 echo "Checking multilib configuration for boehm-gc..."; \
37824 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
37825 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
37826 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
37827 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
37828 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
37829 else \
37830 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
37831 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
37832 fi; \
37833 else \
37834 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
37835 fi; \
37836 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
37837 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
37838 $(NORMAL_TARGET_EXPORTS) \
37839 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
37840 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
37841 case $(srcdir) in \
37842 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37843 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
37844 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37845 esac; \
37846 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
37847 libsrcdir="$$s/boehm-gc"; \
37848 rm -f no-such-file || : ; \
37849 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37850 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37851 --target=${target_alias} $${srcdiroption} \
37852 || exit 1
37853 @endif target-boehm-gc
37859 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
37860 maybe-all-target-boehm-gc:
37861 @if gcc-bootstrap
37862 all-target-boehm-gc: stage_current
37863 @endif gcc-bootstrap
37864 @if target-boehm-gc
37865 TARGET-target-boehm-gc=all
37866 maybe-all-target-boehm-gc: all-target-boehm-gc
37867 all-target-boehm-gc: configure-target-boehm-gc
37868 @: $(MAKE); $(unstage)
37869 @r=`${PWD_COMMAND}`; export r; \
37870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37871 $(NORMAL_TARGET_EXPORTS) \
37872 (cd $(TARGET_SUBDIR)/boehm-gc && \
37873 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37874 $(TARGET-target-boehm-gc))
37875 @endif target-boehm-gc
37881 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
37882 maybe-check-target-boehm-gc:
37883 @if target-boehm-gc
37884 maybe-check-target-boehm-gc: check-target-boehm-gc
37886 check-target-boehm-gc:
37887 @: $(MAKE); $(unstage)
37888 @r=`${PWD_COMMAND}`; export r; \
37889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37890 $(NORMAL_TARGET_EXPORTS) \
37891 (cd $(TARGET_SUBDIR)/boehm-gc && \
37892 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37894 @endif target-boehm-gc
37896 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
37897 maybe-install-target-boehm-gc:
37898 @if target-boehm-gc
37899 maybe-install-target-boehm-gc: install-target-boehm-gc
37901 install-target-boehm-gc: installdirs
37902 @: $(MAKE); $(unstage)
37903 @r=`${PWD_COMMAND}`; export r; \
37904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37905 $(NORMAL_TARGET_EXPORTS) \
37906 (cd $(TARGET_SUBDIR)/boehm-gc && \
37907 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37909 @endif target-boehm-gc
37911 .PHONY: install-strip-target-boehm-gc maybe-install-strip-target-boehm-gc
37912 maybe-install-strip-target-boehm-gc:
37913 @if target-boehm-gc
37914 maybe-install-strip-target-boehm-gc: install-strip-target-boehm-gc
37916 install-strip-target-boehm-gc: installdirs
37917 @: $(MAKE); $(unstage)
37918 @r=`${PWD_COMMAND}`; export r; \
37919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37920 $(NORMAL_TARGET_EXPORTS) \
37921 (cd $(TARGET_SUBDIR)/boehm-gc && \
37922 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37924 @endif target-boehm-gc
37926 # Other targets (info, dvi, pdf, etc.)
37928 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
37929 maybe-info-target-boehm-gc:
37930 @if target-boehm-gc
37931 maybe-info-target-boehm-gc: info-target-boehm-gc
37933 info-target-boehm-gc: \
37934 configure-target-boehm-gc
37935 @: $(MAKE); $(unstage)
37936 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37937 r=`${PWD_COMMAND}`; export r; \
37938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37939 $(NORMAL_TARGET_EXPORTS) \
37940 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
37941 for flag in $(EXTRA_TARGET_FLAGS); do \
37942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37943 done; \
37944 (cd $(TARGET_SUBDIR)/boehm-gc && \
37945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37947 "RANLIB=$${RANLIB}" \
37948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37949 info) \
37950 || exit 1
37952 @endif target-boehm-gc
37954 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
37955 maybe-dvi-target-boehm-gc:
37956 @if target-boehm-gc
37957 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
37959 dvi-target-boehm-gc: \
37960 configure-target-boehm-gc
37961 @: $(MAKE); $(unstage)
37962 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37963 r=`${PWD_COMMAND}`; export r; \
37964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37965 $(NORMAL_TARGET_EXPORTS) \
37966 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
37967 for flag in $(EXTRA_TARGET_FLAGS); do \
37968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37969 done; \
37970 (cd $(TARGET_SUBDIR)/boehm-gc && \
37971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37973 "RANLIB=$${RANLIB}" \
37974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37975 dvi) \
37976 || exit 1
37978 @endif target-boehm-gc
37980 .PHONY: maybe-pdf-target-boehm-gc pdf-target-boehm-gc
37981 maybe-pdf-target-boehm-gc:
37982 @if target-boehm-gc
37983 maybe-pdf-target-boehm-gc: pdf-target-boehm-gc
37985 pdf-target-boehm-gc: \
37986 configure-target-boehm-gc
37987 @: $(MAKE); $(unstage)
37988 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37989 r=`${PWD_COMMAND}`; export r; \
37990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37991 $(NORMAL_TARGET_EXPORTS) \
37992 echo "Doing pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
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)/boehm-gc && \
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 pdf) \
38002 || exit 1
38004 @endif target-boehm-gc
38006 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
38007 maybe-html-target-boehm-gc:
38008 @if target-boehm-gc
38009 maybe-html-target-boehm-gc: html-target-boehm-gc
38011 html-target-boehm-gc: \
38012 configure-target-boehm-gc
38013 @: $(MAKE); $(unstage)
38014 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38015 r=`${PWD_COMMAND}`; export r; \
38016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38017 $(NORMAL_TARGET_EXPORTS) \
38018 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
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)/boehm-gc && \
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 html) \
38028 || exit 1
38030 @endif target-boehm-gc
38032 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
38033 maybe-TAGS-target-boehm-gc:
38034 @if target-boehm-gc
38035 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
38037 TAGS-target-boehm-gc: \
38038 configure-target-boehm-gc
38039 @: $(MAKE); $(unstage)
38040 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38041 r=`${PWD_COMMAND}`; export r; \
38042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38043 $(NORMAL_TARGET_EXPORTS) \
38044 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
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)/boehm-gc && \
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 TAGS) \
38054 || exit 1
38056 @endif target-boehm-gc
38058 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
38059 maybe-install-info-target-boehm-gc:
38060 @if target-boehm-gc
38061 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
38063 install-info-target-boehm-gc: \
38064 configure-target-boehm-gc \
38065 info-target-boehm-gc
38066 @: $(MAKE); $(unstage)
38067 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38068 r=`${PWD_COMMAND}`; export r; \
38069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38070 $(NORMAL_TARGET_EXPORTS) \
38071 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
38072 for flag in $(EXTRA_TARGET_FLAGS); do \
38073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38074 done; \
38075 (cd $(TARGET_SUBDIR)/boehm-gc && \
38076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38078 "RANLIB=$${RANLIB}" \
38079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38080 install-info) \
38081 || exit 1
38083 @endif target-boehm-gc
38085 .PHONY: maybe-install-pdf-target-boehm-gc install-pdf-target-boehm-gc
38086 maybe-install-pdf-target-boehm-gc:
38087 @if target-boehm-gc
38088 maybe-install-pdf-target-boehm-gc: install-pdf-target-boehm-gc
38090 install-pdf-target-boehm-gc: \
38091 configure-target-boehm-gc \
38092 pdf-target-boehm-gc
38093 @: $(MAKE); $(unstage)
38094 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38095 r=`${PWD_COMMAND}`; export r; \
38096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38097 $(NORMAL_TARGET_EXPORTS) \
38098 echo "Doing install-pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
38099 for flag in $(EXTRA_TARGET_FLAGS); do \
38100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38101 done; \
38102 (cd $(TARGET_SUBDIR)/boehm-gc && \
38103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38105 "RANLIB=$${RANLIB}" \
38106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38107 install-pdf) \
38108 || exit 1
38110 @endif target-boehm-gc
38112 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
38113 maybe-install-html-target-boehm-gc:
38114 @if target-boehm-gc
38115 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
38117 install-html-target-boehm-gc: \
38118 configure-target-boehm-gc \
38119 html-target-boehm-gc
38120 @: $(MAKE); $(unstage)
38121 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38122 r=`${PWD_COMMAND}`; export r; \
38123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38124 $(NORMAL_TARGET_EXPORTS) \
38125 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \
38126 for flag in $(EXTRA_TARGET_FLAGS); do \
38127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38128 done; \
38129 (cd $(TARGET_SUBDIR)/boehm-gc && \
38130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38132 "RANLIB=$${RANLIB}" \
38133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38134 install-html) \
38135 || exit 1
38137 @endif target-boehm-gc
38139 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
38140 maybe-installcheck-target-boehm-gc:
38141 @if target-boehm-gc
38142 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
38144 installcheck-target-boehm-gc: \
38145 configure-target-boehm-gc
38146 @: $(MAKE); $(unstage)
38147 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38148 r=`${PWD_COMMAND}`; export r; \
38149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38150 $(NORMAL_TARGET_EXPORTS) \
38151 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
38152 for flag in $(EXTRA_TARGET_FLAGS); do \
38153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38154 done; \
38155 (cd $(TARGET_SUBDIR)/boehm-gc && \
38156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38158 "RANLIB=$${RANLIB}" \
38159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38160 installcheck) \
38161 || exit 1
38163 @endif target-boehm-gc
38165 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
38166 maybe-mostlyclean-target-boehm-gc:
38167 @if target-boehm-gc
38168 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
38170 mostlyclean-target-boehm-gc:
38171 @: $(MAKE); $(unstage)
38172 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38173 r=`${PWD_COMMAND}`; export r; \
38174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38175 $(NORMAL_TARGET_EXPORTS) \
38176 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
38177 for flag in $(EXTRA_TARGET_FLAGS); do \
38178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38179 done; \
38180 (cd $(TARGET_SUBDIR)/boehm-gc && \
38181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38183 "RANLIB=$${RANLIB}" \
38184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38185 mostlyclean) \
38186 || exit 1
38188 @endif target-boehm-gc
38190 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
38191 maybe-clean-target-boehm-gc:
38192 @if target-boehm-gc
38193 maybe-clean-target-boehm-gc: clean-target-boehm-gc
38195 clean-target-boehm-gc:
38196 @: $(MAKE); $(unstage)
38197 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38198 r=`${PWD_COMMAND}`; export r; \
38199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38200 $(NORMAL_TARGET_EXPORTS) \
38201 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
38202 for flag in $(EXTRA_TARGET_FLAGS); do \
38203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38204 done; \
38205 (cd $(TARGET_SUBDIR)/boehm-gc && \
38206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38208 "RANLIB=$${RANLIB}" \
38209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38210 clean) \
38211 || exit 1
38213 @endif target-boehm-gc
38215 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
38216 maybe-distclean-target-boehm-gc:
38217 @if target-boehm-gc
38218 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
38220 distclean-target-boehm-gc:
38221 @: $(MAKE); $(unstage)
38222 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38223 r=`${PWD_COMMAND}`; export r; \
38224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38225 $(NORMAL_TARGET_EXPORTS) \
38226 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
38227 for flag in $(EXTRA_TARGET_FLAGS); do \
38228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38229 done; \
38230 (cd $(TARGET_SUBDIR)/boehm-gc && \
38231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38233 "RANLIB=$${RANLIB}" \
38234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38235 distclean) \
38236 || exit 1
38238 @endif target-boehm-gc
38240 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
38241 maybe-maintainer-clean-target-boehm-gc:
38242 @if target-boehm-gc
38243 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
38245 maintainer-clean-target-boehm-gc:
38246 @: $(MAKE); $(unstage)
38247 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38248 r=`${PWD_COMMAND}`; export r; \
38249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38250 $(NORMAL_TARGET_EXPORTS) \
38251 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
38252 for flag in $(EXTRA_TARGET_FLAGS); do \
38253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38254 done; \
38255 (cd $(TARGET_SUBDIR)/boehm-gc && \
38256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38258 "RANLIB=$${RANLIB}" \
38259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38260 maintainer-clean) \
38261 || exit 1
38263 @endif target-boehm-gc
38269 .PHONY: configure-target-rda maybe-configure-target-rda
38270 maybe-configure-target-rda:
38271 @if gcc-bootstrap
38272 configure-target-rda: stage_current
38273 @endif gcc-bootstrap
38274 @if target-rda
38275 maybe-configure-target-rda: configure-target-rda
38276 configure-target-rda:
38277 @: $(MAKE); $(unstage)
38278 @r=`${PWD_COMMAND}`; export r; \
38279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38280 echo "Checking multilib configuration for rda..."; \
38281 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
38282 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
38283 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
38284 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
38285 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
38286 else \
38287 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
38288 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
38289 fi; \
38290 else \
38291 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
38292 fi; \
38293 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
38294 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
38295 $(NORMAL_TARGET_EXPORTS) \
38296 echo Configuring in $(TARGET_SUBDIR)/rda; \
38297 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
38298 case $(srcdir) in \
38299 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38300 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
38301 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38302 esac; \
38303 srcdiroption="--srcdir=$${topdir}/rda"; \
38304 libsrcdir="$$s/rda"; \
38305 rm -f no-such-file || : ; \
38306 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38307 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38308 --target=${target_alias} $${srcdiroption} \
38309 || exit 1
38310 @endif target-rda
38316 .PHONY: all-target-rda maybe-all-target-rda
38317 maybe-all-target-rda:
38318 @if gcc-bootstrap
38319 all-target-rda: stage_current
38320 @endif gcc-bootstrap
38321 @if target-rda
38322 TARGET-target-rda=all
38323 maybe-all-target-rda: all-target-rda
38324 all-target-rda: configure-target-rda
38325 @: $(MAKE); $(unstage)
38326 @r=`${PWD_COMMAND}`; export r; \
38327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38328 $(NORMAL_TARGET_EXPORTS) \
38329 (cd $(TARGET_SUBDIR)/rda && \
38330 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38331 $(TARGET-target-rda))
38332 @endif target-rda
38338 .PHONY: check-target-rda maybe-check-target-rda
38339 maybe-check-target-rda:
38340 @if target-rda
38341 maybe-check-target-rda: check-target-rda
38343 check-target-rda:
38344 @: $(MAKE); $(unstage)
38345 @r=`${PWD_COMMAND}`; export r; \
38346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38347 $(NORMAL_TARGET_EXPORTS) \
38348 (cd $(TARGET_SUBDIR)/rda && \
38349 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38351 @endif target-rda
38353 .PHONY: install-target-rda maybe-install-target-rda
38354 maybe-install-target-rda:
38355 @if target-rda
38356 maybe-install-target-rda: install-target-rda
38358 install-target-rda: installdirs
38359 @: $(MAKE); $(unstage)
38360 @r=`${PWD_COMMAND}`; export r; \
38361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38362 $(NORMAL_TARGET_EXPORTS) \
38363 (cd $(TARGET_SUBDIR)/rda && \
38364 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38366 @endif target-rda
38368 .PHONY: install-strip-target-rda maybe-install-strip-target-rda
38369 maybe-install-strip-target-rda:
38370 @if target-rda
38371 maybe-install-strip-target-rda: install-strip-target-rda
38373 install-strip-target-rda: installdirs
38374 @: $(MAKE); $(unstage)
38375 @r=`${PWD_COMMAND}`; export r; \
38376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38377 $(NORMAL_TARGET_EXPORTS) \
38378 (cd $(TARGET_SUBDIR)/rda && \
38379 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38381 @endif target-rda
38383 # Other targets (info, dvi, pdf, etc.)
38385 .PHONY: maybe-info-target-rda info-target-rda
38386 maybe-info-target-rda:
38387 @if target-rda
38388 maybe-info-target-rda: info-target-rda
38390 info-target-rda: \
38391 configure-target-rda
38392 @: $(MAKE); $(unstage)
38393 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38394 r=`${PWD_COMMAND}`; export r; \
38395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38396 $(NORMAL_TARGET_EXPORTS) \
38397 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
38398 for flag in $(EXTRA_TARGET_FLAGS); do \
38399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38400 done; \
38401 (cd $(TARGET_SUBDIR)/rda && \
38402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38404 "RANLIB=$${RANLIB}" \
38405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38406 info) \
38407 || exit 1
38409 @endif target-rda
38411 .PHONY: maybe-dvi-target-rda dvi-target-rda
38412 maybe-dvi-target-rda:
38413 @if target-rda
38414 maybe-dvi-target-rda: dvi-target-rda
38416 dvi-target-rda: \
38417 configure-target-rda
38418 @: $(MAKE); $(unstage)
38419 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38420 r=`${PWD_COMMAND}`; export r; \
38421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38422 $(NORMAL_TARGET_EXPORTS) \
38423 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
38424 for flag in $(EXTRA_TARGET_FLAGS); do \
38425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38426 done; \
38427 (cd $(TARGET_SUBDIR)/rda && \
38428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38430 "RANLIB=$${RANLIB}" \
38431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38432 dvi) \
38433 || exit 1
38435 @endif target-rda
38437 .PHONY: maybe-pdf-target-rda pdf-target-rda
38438 maybe-pdf-target-rda:
38439 @if target-rda
38440 maybe-pdf-target-rda: pdf-target-rda
38442 pdf-target-rda: \
38443 configure-target-rda
38444 @: $(MAKE); $(unstage)
38445 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38446 r=`${PWD_COMMAND}`; export r; \
38447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38448 $(NORMAL_TARGET_EXPORTS) \
38449 echo "Doing pdf in $(TARGET_SUBDIR)/rda" ; \
38450 for flag in $(EXTRA_TARGET_FLAGS); do \
38451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38452 done; \
38453 (cd $(TARGET_SUBDIR)/rda && \
38454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38456 "RANLIB=$${RANLIB}" \
38457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38458 pdf) \
38459 || exit 1
38461 @endif target-rda
38463 .PHONY: maybe-html-target-rda html-target-rda
38464 maybe-html-target-rda:
38465 @if target-rda
38466 maybe-html-target-rda: html-target-rda
38468 html-target-rda: \
38469 configure-target-rda
38470 @: $(MAKE); $(unstage)
38471 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38472 r=`${PWD_COMMAND}`; export r; \
38473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38474 $(NORMAL_TARGET_EXPORTS) \
38475 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
38476 for flag in $(EXTRA_TARGET_FLAGS); do \
38477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38478 done; \
38479 (cd $(TARGET_SUBDIR)/rda && \
38480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38482 "RANLIB=$${RANLIB}" \
38483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38484 html) \
38485 || exit 1
38487 @endif target-rda
38489 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
38490 maybe-TAGS-target-rda:
38491 @if target-rda
38492 maybe-TAGS-target-rda: TAGS-target-rda
38494 TAGS-target-rda: \
38495 configure-target-rda
38496 @: $(MAKE); $(unstage)
38497 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38498 r=`${PWD_COMMAND}`; export r; \
38499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38500 $(NORMAL_TARGET_EXPORTS) \
38501 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
38502 for flag in $(EXTRA_TARGET_FLAGS); do \
38503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38504 done; \
38505 (cd $(TARGET_SUBDIR)/rda && \
38506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38508 "RANLIB=$${RANLIB}" \
38509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38510 TAGS) \
38511 || exit 1
38513 @endif target-rda
38515 .PHONY: maybe-install-info-target-rda install-info-target-rda
38516 maybe-install-info-target-rda:
38517 @if target-rda
38518 maybe-install-info-target-rda: install-info-target-rda
38520 install-info-target-rda: \
38521 configure-target-rda \
38522 info-target-rda
38523 @: $(MAKE); $(unstage)
38524 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38525 r=`${PWD_COMMAND}`; export r; \
38526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38527 $(NORMAL_TARGET_EXPORTS) \
38528 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
38529 for flag in $(EXTRA_TARGET_FLAGS); do \
38530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38531 done; \
38532 (cd $(TARGET_SUBDIR)/rda && \
38533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38535 "RANLIB=$${RANLIB}" \
38536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38537 install-info) \
38538 || exit 1
38540 @endif target-rda
38542 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
38543 maybe-install-pdf-target-rda:
38544 @if target-rda
38545 maybe-install-pdf-target-rda: install-pdf-target-rda
38547 install-pdf-target-rda: \
38548 configure-target-rda \
38549 pdf-target-rda
38550 @: $(MAKE); $(unstage)
38551 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38552 r=`${PWD_COMMAND}`; export r; \
38553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38554 $(NORMAL_TARGET_EXPORTS) \
38555 echo "Doing install-pdf in $(TARGET_SUBDIR)/rda" ; \
38556 for flag in $(EXTRA_TARGET_FLAGS); do \
38557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38558 done; \
38559 (cd $(TARGET_SUBDIR)/rda && \
38560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38562 "RANLIB=$${RANLIB}" \
38563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38564 install-pdf) \
38565 || exit 1
38567 @endif target-rda
38569 .PHONY: maybe-install-html-target-rda install-html-target-rda
38570 maybe-install-html-target-rda:
38571 @if target-rda
38572 maybe-install-html-target-rda: install-html-target-rda
38574 install-html-target-rda: \
38575 configure-target-rda \
38576 html-target-rda
38577 @: $(MAKE); $(unstage)
38578 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38579 r=`${PWD_COMMAND}`; export r; \
38580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38581 $(NORMAL_TARGET_EXPORTS) \
38582 echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \
38583 for flag in $(EXTRA_TARGET_FLAGS); do \
38584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38585 done; \
38586 (cd $(TARGET_SUBDIR)/rda && \
38587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38589 "RANLIB=$${RANLIB}" \
38590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38591 install-html) \
38592 || exit 1
38594 @endif target-rda
38596 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
38597 maybe-installcheck-target-rda:
38598 @if target-rda
38599 maybe-installcheck-target-rda: installcheck-target-rda
38601 installcheck-target-rda: \
38602 configure-target-rda
38603 @: $(MAKE); $(unstage)
38604 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38605 r=`${PWD_COMMAND}`; export r; \
38606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38607 $(NORMAL_TARGET_EXPORTS) \
38608 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
38609 for flag in $(EXTRA_TARGET_FLAGS); do \
38610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38611 done; \
38612 (cd $(TARGET_SUBDIR)/rda && \
38613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38615 "RANLIB=$${RANLIB}" \
38616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38617 installcheck) \
38618 || exit 1
38620 @endif target-rda
38622 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
38623 maybe-mostlyclean-target-rda:
38624 @if target-rda
38625 maybe-mostlyclean-target-rda: mostlyclean-target-rda
38627 mostlyclean-target-rda:
38628 @: $(MAKE); $(unstage)
38629 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38630 r=`${PWD_COMMAND}`; export r; \
38631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38632 $(NORMAL_TARGET_EXPORTS) \
38633 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
38634 for flag in $(EXTRA_TARGET_FLAGS); do \
38635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38636 done; \
38637 (cd $(TARGET_SUBDIR)/rda && \
38638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38640 "RANLIB=$${RANLIB}" \
38641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38642 mostlyclean) \
38643 || exit 1
38645 @endif target-rda
38647 .PHONY: maybe-clean-target-rda clean-target-rda
38648 maybe-clean-target-rda:
38649 @if target-rda
38650 maybe-clean-target-rda: clean-target-rda
38652 clean-target-rda:
38653 @: $(MAKE); $(unstage)
38654 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38655 r=`${PWD_COMMAND}`; export r; \
38656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38657 $(NORMAL_TARGET_EXPORTS) \
38658 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
38659 for flag in $(EXTRA_TARGET_FLAGS); do \
38660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38661 done; \
38662 (cd $(TARGET_SUBDIR)/rda && \
38663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38665 "RANLIB=$${RANLIB}" \
38666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38667 clean) \
38668 || exit 1
38670 @endif target-rda
38672 .PHONY: maybe-distclean-target-rda distclean-target-rda
38673 maybe-distclean-target-rda:
38674 @if target-rda
38675 maybe-distclean-target-rda: distclean-target-rda
38677 distclean-target-rda:
38678 @: $(MAKE); $(unstage)
38679 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38680 r=`${PWD_COMMAND}`; export r; \
38681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38682 $(NORMAL_TARGET_EXPORTS) \
38683 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
38684 for flag in $(EXTRA_TARGET_FLAGS); do \
38685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38686 done; \
38687 (cd $(TARGET_SUBDIR)/rda && \
38688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38690 "RANLIB=$${RANLIB}" \
38691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38692 distclean) \
38693 || exit 1
38695 @endif target-rda
38697 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
38698 maybe-maintainer-clean-target-rda:
38699 @if target-rda
38700 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
38702 maintainer-clean-target-rda:
38703 @: $(MAKE); $(unstage)
38704 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38705 r=`${PWD_COMMAND}`; export r; \
38706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38707 $(NORMAL_TARGET_EXPORTS) \
38708 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
38709 for flag in $(EXTRA_TARGET_FLAGS); do \
38710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38711 done; \
38712 (cd $(TARGET_SUBDIR)/rda && \
38713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38715 "RANLIB=$${RANLIB}" \
38716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38717 maintainer-clean) \
38718 || exit 1
38720 @endif target-rda
38726 .PHONY: configure-target-libada maybe-configure-target-libada
38727 maybe-configure-target-libada:
38728 @if gcc-bootstrap
38729 configure-target-libada: stage_current
38730 @endif gcc-bootstrap
38731 @if target-libada
38732 maybe-configure-target-libada: configure-target-libada
38733 configure-target-libada:
38734 @: $(MAKE); $(unstage)
38735 @r=`${PWD_COMMAND}`; export r; \
38736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38737 echo "Checking multilib configuration for libada..."; \
38738 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
38739 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
38740 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
38741 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
38742 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
38743 else \
38744 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
38745 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
38746 fi; \
38747 else \
38748 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
38749 fi; \
38750 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
38751 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
38752 $(NORMAL_TARGET_EXPORTS) \
38753 echo Configuring in $(TARGET_SUBDIR)/libada; \
38754 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
38755 case $(srcdir) in \
38756 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38757 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
38758 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38759 esac; \
38760 srcdiroption="--srcdir=$${topdir}/libada"; \
38761 libsrcdir="$$s/libada"; \
38762 rm -f no-such-file || : ; \
38763 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38764 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38765 --target=${target_alias} $${srcdiroption} \
38766 || exit 1
38767 @endif target-libada
38773 .PHONY: all-target-libada maybe-all-target-libada
38774 maybe-all-target-libada:
38775 @if gcc-bootstrap
38776 all-target-libada: stage_current
38777 @endif gcc-bootstrap
38778 @if target-libada
38779 TARGET-target-libada=all
38780 maybe-all-target-libada: all-target-libada
38781 all-target-libada: configure-target-libada
38782 @: $(MAKE); $(unstage)
38783 @r=`${PWD_COMMAND}`; export r; \
38784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38785 $(NORMAL_TARGET_EXPORTS) \
38786 (cd $(TARGET_SUBDIR)/libada && \
38787 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38788 $(TARGET-target-libada))
38789 @endif target-libada
38795 .PHONY: check-target-libada maybe-check-target-libada
38796 maybe-check-target-libada:
38797 @if target-libada
38798 maybe-check-target-libada: check-target-libada
38800 check-target-libada:
38801 @: $(MAKE); $(unstage)
38802 @r=`${PWD_COMMAND}`; export r; \
38803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38804 $(NORMAL_TARGET_EXPORTS) \
38805 (cd $(TARGET_SUBDIR)/libada && \
38806 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38808 @endif target-libada
38810 .PHONY: install-target-libada maybe-install-target-libada
38811 maybe-install-target-libada:
38812 @if target-libada
38813 maybe-install-target-libada: install-target-libada
38815 install-target-libada: installdirs
38816 @: $(MAKE); $(unstage)
38817 @r=`${PWD_COMMAND}`; export r; \
38818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38819 $(NORMAL_TARGET_EXPORTS) \
38820 (cd $(TARGET_SUBDIR)/libada && \
38821 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38823 @endif target-libada
38825 .PHONY: install-strip-target-libada maybe-install-strip-target-libada
38826 maybe-install-strip-target-libada:
38827 @if target-libada
38828 maybe-install-strip-target-libada: install-strip-target-libada
38830 install-strip-target-libada: installdirs
38831 @: $(MAKE); $(unstage)
38832 @r=`${PWD_COMMAND}`; export r; \
38833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38834 $(NORMAL_TARGET_EXPORTS) \
38835 (cd $(TARGET_SUBDIR)/libada && \
38836 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38838 @endif target-libada
38840 # Other targets (info, dvi, pdf, etc.)
38842 .PHONY: maybe-info-target-libada info-target-libada
38843 maybe-info-target-libada:
38844 @if target-libada
38845 maybe-info-target-libada: info-target-libada
38847 info-target-libada: \
38848 configure-target-libada
38849 @: $(MAKE); $(unstage)
38850 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38851 r=`${PWD_COMMAND}`; export r; \
38852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38853 $(NORMAL_TARGET_EXPORTS) \
38854 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
38855 for flag in $(EXTRA_TARGET_FLAGS); do \
38856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38857 done; \
38858 (cd $(TARGET_SUBDIR)/libada && \
38859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38861 "RANLIB=$${RANLIB}" \
38862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38863 info) \
38864 || exit 1
38866 @endif target-libada
38868 .PHONY: maybe-dvi-target-libada dvi-target-libada
38869 maybe-dvi-target-libada:
38870 @if target-libada
38871 maybe-dvi-target-libada: dvi-target-libada
38873 dvi-target-libada: \
38874 configure-target-libada
38875 @: $(MAKE); $(unstage)
38876 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38877 r=`${PWD_COMMAND}`; export r; \
38878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38879 $(NORMAL_TARGET_EXPORTS) \
38880 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
38881 for flag in $(EXTRA_TARGET_FLAGS); do \
38882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38883 done; \
38884 (cd $(TARGET_SUBDIR)/libada && \
38885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38887 "RANLIB=$${RANLIB}" \
38888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38889 dvi) \
38890 || exit 1
38892 @endif target-libada
38894 .PHONY: maybe-pdf-target-libada pdf-target-libada
38895 maybe-pdf-target-libada:
38896 @if target-libada
38897 maybe-pdf-target-libada: pdf-target-libada
38899 pdf-target-libada: \
38900 configure-target-libada
38901 @: $(MAKE); $(unstage)
38902 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38903 r=`${PWD_COMMAND}`; export r; \
38904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38905 $(NORMAL_TARGET_EXPORTS) \
38906 echo "Doing pdf in $(TARGET_SUBDIR)/libada" ; \
38907 for flag in $(EXTRA_TARGET_FLAGS); do \
38908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38909 done; \
38910 (cd $(TARGET_SUBDIR)/libada && \
38911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38913 "RANLIB=$${RANLIB}" \
38914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38915 pdf) \
38916 || exit 1
38918 @endif target-libada
38920 .PHONY: maybe-html-target-libada html-target-libada
38921 maybe-html-target-libada:
38922 @if target-libada
38923 maybe-html-target-libada: html-target-libada
38925 html-target-libada: \
38926 configure-target-libada
38927 @: $(MAKE); $(unstage)
38928 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38929 r=`${PWD_COMMAND}`; export r; \
38930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38931 $(NORMAL_TARGET_EXPORTS) \
38932 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
38933 for flag in $(EXTRA_TARGET_FLAGS); do \
38934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38935 done; \
38936 (cd $(TARGET_SUBDIR)/libada && \
38937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38939 "RANLIB=$${RANLIB}" \
38940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38941 html) \
38942 || exit 1
38944 @endif target-libada
38946 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
38947 maybe-TAGS-target-libada:
38948 @if target-libada
38949 maybe-TAGS-target-libada: TAGS-target-libada
38951 TAGS-target-libada: \
38952 configure-target-libada
38953 @: $(MAKE); $(unstage)
38954 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38955 r=`${PWD_COMMAND}`; export r; \
38956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38957 $(NORMAL_TARGET_EXPORTS) \
38958 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
38959 for flag in $(EXTRA_TARGET_FLAGS); do \
38960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38961 done; \
38962 (cd $(TARGET_SUBDIR)/libada && \
38963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38965 "RANLIB=$${RANLIB}" \
38966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38967 TAGS) \
38968 || exit 1
38970 @endif target-libada
38972 .PHONY: maybe-install-info-target-libada install-info-target-libada
38973 maybe-install-info-target-libada:
38974 @if target-libada
38975 maybe-install-info-target-libada: install-info-target-libada
38977 install-info-target-libada: \
38978 configure-target-libada \
38979 info-target-libada
38980 @: $(MAKE); $(unstage)
38981 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38982 r=`${PWD_COMMAND}`; export r; \
38983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38984 $(NORMAL_TARGET_EXPORTS) \
38985 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
38986 for flag in $(EXTRA_TARGET_FLAGS); do \
38987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38988 done; \
38989 (cd $(TARGET_SUBDIR)/libada && \
38990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38992 "RANLIB=$${RANLIB}" \
38993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38994 install-info) \
38995 || exit 1
38997 @endif target-libada
38999 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
39000 maybe-install-pdf-target-libada:
39001 @if target-libada
39002 maybe-install-pdf-target-libada: install-pdf-target-libada
39004 install-pdf-target-libada: \
39005 configure-target-libada \
39006 pdf-target-libada
39007 @: $(MAKE); $(unstage)
39008 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39009 r=`${PWD_COMMAND}`; export r; \
39010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39011 $(NORMAL_TARGET_EXPORTS) \
39012 echo "Doing install-pdf in $(TARGET_SUBDIR)/libada" ; \
39013 for flag in $(EXTRA_TARGET_FLAGS); do \
39014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39015 done; \
39016 (cd $(TARGET_SUBDIR)/libada && \
39017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39019 "RANLIB=$${RANLIB}" \
39020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39021 install-pdf) \
39022 || exit 1
39024 @endif target-libada
39026 .PHONY: maybe-install-html-target-libada install-html-target-libada
39027 maybe-install-html-target-libada:
39028 @if target-libada
39029 maybe-install-html-target-libada: install-html-target-libada
39031 install-html-target-libada: \
39032 configure-target-libada \
39033 html-target-libada
39034 @: $(MAKE); $(unstage)
39035 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39036 r=`${PWD_COMMAND}`; export r; \
39037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39038 $(NORMAL_TARGET_EXPORTS) \
39039 echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \
39040 for flag in $(EXTRA_TARGET_FLAGS); do \
39041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39042 done; \
39043 (cd $(TARGET_SUBDIR)/libada && \
39044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39046 "RANLIB=$${RANLIB}" \
39047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39048 install-html) \
39049 || exit 1
39051 @endif target-libada
39053 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
39054 maybe-installcheck-target-libada:
39055 @if target-libada
39056 maybe-installcheck-target-libada: installcheck-target-libada
39058 installcheck-target-libada: \
39059 configure-target-libada
39060 @: $(MAKE); $(unstage)
39061 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39062 r=`${PWD_COMMAND}`; export r; \
39063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39064 $(NORMAL_TARGET_EXPORTS) \
39065 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
39066 for flag in $(EXTRA_TARGET_FLAGS); do \
39067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39068 done; \
39069 (cd $(TARGET_SUBDIR)/libada && \
39070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39072 "RANLIB=$${RANLIB}" \
39073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39074 installcheck) \
39075 || exit 1
39077 @endif target-libada
39079 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
39080 maybe-mostlyclean-target-libada:
39081 @if target-libada
39082 maybe-mostlyclean-target-libada: mostlyclean-target-libada
39084 mostlyclean-target-libada:
39085 @: $(MAKE); $(unstage)
39086 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39087 r=`${PWD_COMMAND}`; export r; \
39088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39089 $(NORMAL_TARGET_EXPORTS) \
39090 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
39091 for flag in $(EXTRA_TARGET_FLAGS); do \
39092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39093 done; \
39094 (cd $(TARGET_SUBDIR)/libada && \
39095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39097 "RANLIB=$${RANLIB}" \
39098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39099 mostlyclean) \
39100 || exit 1
39102 @endif target-libada
39104 .PHONY: maybe-clean-target-libada clean-target-libada
39105 maybe-clean-target-libada:
39106 @if target-libada
39107 maybe-clean-target-libada: clean-target-libada
39109 clean-target-libada:
39110 @: $(MAKE); $(unstage)
39111 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39112 r=`${PWD_COMMAND}`; export r; \
39113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39114 $(NORMAL_TARGET_EXPORTS) \
39115 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
39116 for flag in $(EXTRA_TARGET_FLAGS); do \
39117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39118 done; \
39119 (cd $(TARGET_SUBDIR)/libada && \
39120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39122 "RANLIB=$${RANLIB}" \
39123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39124 clean) \
39125 || exit 1
39127 @endif target-libada
39129 .PHONY: maybe-distclean-target-libada distclean-target-libada
39130 maybe-distclean-target-libada:
39131 @if target-libada
39132 maybe-distclean-target-libada: distclean-target-libada
39134 distclean-target-libada:
39135 @: $(MAKE); $(unstage)
39136 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39137 r=`${PWD_COMMAND}`; export r; \
39138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39139 $(NORMAL_TARGET_EXPORTS) \
39140 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
39141 for flag in $(EXTRA_TARGET_FLAGS); do \
39142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39143 done; \
39144 (cd $(TARGET_SUBDIR)/libada && \
39145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39147 "RANLIB=$${RANLIB}" \
39148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39149 distclean) \
39150 || exit 1
39152 @endif target-libada
39154 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
39155 maybe-maintainer-clean-target-libada:
39156 @if target-libada
39157 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
39159 maintainer-clean-target-libada:
39160 @: $(MAKE); $(unstage)
39161 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39162 r=`${PWD_COMMAND}`; export r; \
39163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39164 $(NORMAL_TARGET_EXPORTS) \
39165 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
39166 for flag in $(EXTRA_TARGET_FLAGS); do \
39167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39168 done; \
39169 (cd $(TARGET_SUBDIR)/libada && \
39170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39172 "RANLIB=$${RANLIB}" \
39173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39174 maintainer-clean) \
39175 || exit 1
39177 @endif target-libada
39183 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
39184 maybe-configure-target-libgomp:
39185 @if gcc-bootstrap
39186 configure-target-libgomp: stage_current
39187 @endif gcc-bootstrap
39188 @if target-libgomp
39189 maybe-configure-target-libgomp: configure-target-libgomp
39190 configure-target-libgomp:
39191 @r=`${PWD_COMMAND}`; export r; \
39192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39193 echo "Checking multilib configuration for libgomp..."; \
39194 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39195 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39196 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39197 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39198 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39199 else \
39200 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39201 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39202 fi; \
39203 else \
39204 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39205 fi; \
39206 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39207 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39208 $(NORMAL_TARGET_EXPORTS) \
39209 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
39210 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
39211 case $(srcdir) in \
39212 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39213 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39214 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39215 esac; \
39216 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39217 libsrcdir="$$s/libgomp"; \
39218 rm -f no-such-file || : ; \
39219 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39220 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39221 --target=${target_alias} $${srcdiroption} \
39222 || exit 1
39223 @endif target-libgomp
39227 .PHONY: configure-stage1-target-libgomp maybe-configure-stage1-target-libgomp
39228 maybe-configure-stage1-target-libgomp:
39229 @if target-libgomp-bootstrap
39230 maybe-configure-stage1-target-libgomp: configure-stage1-target-libgomp
39231 configure-stage1-target-libgomp:
39232 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
39233 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39234 @r=`${PWD_COMMAND}`; export r; \
39235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39236 TFLAGS="$(STAGE1_TFLAGS)"; \
39237 echo "Checking multilib configuration for libgomp..."; \
39238 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39239 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39240 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39241 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39242 else \
39243 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39244 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39245 fi; \
39246 else \
39247 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39248 fi; \
39249 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39250 $(NORMAL_TARGET_EXPORTS) \
39251 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39252 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39253 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39254 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgomp ; \
39255 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39256 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39257 case $(srcdir) in \
39258 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39259 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39260 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39261 esac; \
39262 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39263 libsrcdir="$$s/libgomp"; \
39264 $(SHELL) $${libsrcdir}/configure \
39265 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39266 --target=${target_alias} $${srcdiroption} \
39267 $(STAGE1_CONFIGURE_FLAGS)
39268 @endif target-libgomp-bootstrap
39270 .PHONY: configure-stage2-target-libgomp maybe-configure-stage2-target-libgomp
39271 maybe-configure-stage2-target-libgomp:
39272 @if target-libgomp-bootstrap
39273 maybe-configure-stage2-target-libgomp: configure-stage2-target-libgomp
39274 configure-stage2-target-libgomp:
39275 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
39276 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39277 @r=`${PWD_COMMAND}`; export r; \
39278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39279 TFLAGS="$(STAGE2_TFLAGS)"; \
39280 echo "Checking multilib configuration for libgomp..."; \
39281 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39282 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39283 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39284 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39285 else \
39286 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39287 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39288 fi; \
39289 else \
39290 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39291 fi; \
39292 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39293 $(NORMAL_TARGET_EXPORTS) \
39295 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39296 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39297 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39298 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgomp ; \
39299 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39300 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39301 case $(srcdir) in \
39302 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39303 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39304 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39305 esac; \
39306 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39307 libsrcdir="$$s/libgomp"; \
39308 $(SHELL) $${libsrcdir}/configure \
39309 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39310 --target=${target_alias} $${srcdiroption} \
39311 --with-build-libsubdir=$(HOST_SUBDIR) \
39312 $(STAGE2_CONFIGURE_FLAGS)
39313 @endif target-libgomp-bootstrap
39315 .PHONY: configure-stage3-target-libgomp maybe-configure-stage3-target-libgomp
39316 maybe-configure-stage3-target-libgomp:
39317 @if target-libgomp-bootstrap
39318 maybe-configure-stage3-target-libgomp: configure-stage3-target-libgomp
39319 configure-stage3-target-libgomp:
39320 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
39321 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39322 @r=`${PWD_COMMAND}`; export r; \
39323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39324 TFLAGS="$(STAGE3_TFLAGS)"; \
39325 echo "Checking multilib configuration for libgomp..."; \
39326 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39327 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39328 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39329 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39330 else \
39331 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39332 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39333 fi; \
39334 else \
39335 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39336 fi; \
39337 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39338 $(NORMAL_TARGET_EXPORTS) \
39340 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39341 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39342 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39343 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgomp ; \
39344 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39345 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39346 case $(srcdir) in \
39347 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39348 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39349 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39350 esac; \
39351 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39352 libsrcdir="$$s/libgomp"; \
39353 $(SHELL) $${libsrcdir}/configure \
39354 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39355 --target=${target_alias} $${srcdiroption} \
39356 --with-build-libsubdir=$(HOST_SUBDIR) \
39357 $(STAGE3_CONFIGURE_FLAGS)
39358 @endif target-libgomp-bootstrap
39360 .PHONY: configure-stage4-target-libgomp maybe-configure-stage4-target-libgomp
39361 maybe-configure-stage4-target-libgomp:
39362 @if target-libgomp-bootstrap
39363 maybe-configure-stage4-target-libgomp: configure-stage4-target-libgomp
39364 configure-stage4-target-libgomp:
39365 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
39366 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39367 @r=`${PWD_COMMAND}`; export r; \
39368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39369 TFLAGS="$(STAGE4_TFLAGS)"; \
39370 echo "Checking multilib configuration for libgomp..."; \
39371 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39372 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39373 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39374 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39375 else \
39376 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39377 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39378 fi; \
39379 else \
39380 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39381 fi; \
39382 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39383 $(NORMAL_TARGET_EXPORTS) \
39385 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39386 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39387 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39388 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgomp ; \
39389 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39390 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39391 case $(srcdir) in \
39392 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39393 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39394 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39395 esac; \
39396 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39397 libsrcdir="$$s/libgomp"; \
39398 $(SHELL) $${libsrcdir}/configure \
39399 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39400 --target=${target_alias} $${srcdiroption} \
39401 --with-build-libsubdir=$(HOST_SUBDIR) \
39402 $(STAGE4_CONFIGURE_FLAGS)
39403 @endif target-libgomp-bootstrap
39405 .PHONY: configure-stageprofile-target-libgomp maybe-configure-stageprofile-target-libgomp
39406 maybe-configure-stageprofile-target-libgomp:
39407 @if target-libgomp-bootstrap
39408 maybe-configure-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
39409 configure-stageprofile-target-libgomp:
39410 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
39411 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39412 @r=`${PWD_COMMAND}`; export r; \
39413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39414 TFLAGS="$(STAGEprofile_TFLAGS)"; \
39415 echo "Checking multilib configuration for libgomp..."; \
39416 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39417 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39418 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39419 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39420 else \
39421 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39422 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39423 fi; \
39424 else \
39425 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39426 fi; \
39427 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39428 $(NORMAL_TARGET_EXPORTS) \
39430 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39431 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39432 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39433 echo Configuring stage profile in $(TARGET_SUBDIR)/libgomp ; \
39434 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39435 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39436 case $(srcdir) in \
39437 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39438 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39439 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39440 esac; \
39441 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39442 libsrcdir="$$s/libgomp"; \
39443 $(SHELL) $${libsrcdir}/configure \
39444 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39445 --target=${target_alias} $${srcdiroption} \
39446 --with-build-libsubdir=$(HOST_SUBDIR) \
39447 $(STAGEprofile_CONFIGURE_FLAGS)
39448 @endif target-libgomp-bootstrap
39450 .PHONY: configure-stagefeedback-target-libgomp maybe-configure-stagefeedback-target-libgomp
39451 maybe-configure-stagefeedback-target-libgomp:
39452 @if target-libgomp-bootstrap
39453 maybe-configure-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
39454 configure-stagefeedback-target-libgomp:
39455 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
39456 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39457 @r=`${PWD_COMMAND}`; export r; \
39458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39459 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
39460 echo "Checking multilib configuration for libgomp..."; \
39461 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39462 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39463 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39464 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39465 else \
39466 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39467 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39468 fi; \
39469 else \
39470 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39471 fi; \
39472 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39473 $(NORMAL_TARGET_EXPORTS) \
39475 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39476 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39477 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39478 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgomp ; \
39479 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39480 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39481 case $(srcdir) in \
39482 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39483 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39484 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39485 esac; \
39486 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39487 libsrcdir="$$s/libgomp"; \
39488 $(SHELL) $${libsrcdir}/configure \
39489 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39490 --target=${target_alias} $${srcdiroption} \
39491 --with-build-libsubdir=$(HOST_SUBDIR) \
39492 $(STAGEfeedback_CONFIGURE_FLAGS)
39493 @endif target-libgomp-bootstrap
39499 .PHONY: all-target-libgomp maybe-all-target-libgomp
39500 maybe-all-target-libgomp:
39501 @if gcc-bootstrap
39502 all-target-libgomp: stage_current
39503 @endif gcc-bootstrap
39504 @if target-libgomp
39505 TARGET-target-libgomp=all
39506 maybe-all-target-libgomp: all-target-libgomp
39507 all-target-libgomp: configure-target-libgomp
39508 @r=`${PWD_COMMAND}`; export r; \
39509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39510 $(NORMAL_TARGET_EXPORTS) \
39511 (cd $(TARGET_SUBDIR)/libgomp && \
39512 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
39513 $(TARGET-target-libgomp))
39514 @endif target-libgomp
39518 .PHONY: all-stage1-target-libgomp maybe-all-stage1-target-libgomp
39519 .PHONY: clean-stage1-target-libgomp maybe-clean-stage1-target-libgomp
39520 maybe-all-stage1-target-libgomp:
39521 maybe-clean-stage1-target-libgomp:
39522 @if target-libgomp-bootstrap
39523 maybe-all-stage1-target-libgomp: all-stage1-target-libgomp
39524 all-stage1: all-stage1-target-libgomp
39525 TARGET-stage1-target-libgomp = $(TARGET-target-libgomp)
39526 all-stage1-target-libgomp: configure-stage1-target-libgomp
39527 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
39528 @r=`${PWD_COMMAND}`; export r; \
39529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39530 TFLAGS="$(STAGE1_TFLAGS)"; \
39531 $(NORMAL_TARGET_EXPORTS) \
39532 cd $(TARGET_SUBDIR)/libgomp && \
39533 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39534 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39535 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39536 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39537 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39538 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39539 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39540 $(EXTRA_TARGET_FLAGS) \
39541 TFLAGS="$(STAGE1_TFLAGS)" \
39542 $(TARGET-stage1-target-libgomp)
39544 maybe-clean-stage1-target-libgomp: clean-stage1-target-libgomp
39545 clean-stage1: clean-stage1-target-libgomp
39546 clean-stage1-target-libgomp:
39547 @if [ $(current_stage) = stage1 ]; then \
39548 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
39549 else \
39550 [ -f $(TARGET_SUBDIR)/stage1-libgomp/Makefile ] || exit 0; \
39551 $(MAKE) stage1-start; \
39552 fi; \
39553 cd $(TARGET_SUBDIR)/libgomp && \
39554 $(MAKE) $(EXTRA_TARGET_FLAGS) \
39555 clean
39556 @endif target-libgomp-bootstrap
39559 .PHONY: all-stage2-target-libgomp maybe-all-stage2-target-libgomp
39560 .PHONY: clean-stage2-target-libgomp maybe-clean-stage2-target-libgomp
39561 maybe-all-stage2-target-libgomp:
39562 maybe-clean-stage2-target-libgomp:
39563 @if target-libgomp-bootstrap
39564 maybe-all-stage2-target-libgomp: all-stage2-target-libgomp
39565 all-stage2: all-stage2-target-libgomp
39566 TARGET-stage2-target-libgomp = $(TARGET-target-libgomp)
39567 all-stage2-target-libgomp: configure-stage2-target-libgomp
39568 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
39569 @r=`${PWD_COMMAND}`; export r; \
39570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39571 TFLAGS="$(STAGE2_TFLAGS)"; \
39572 $(NORMAL_TARGET_EXPORTS) \
39574 cd $(TARGET_SUBDIR)/libgomp && \
39575 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39576 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39577 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39578 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39579 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39580 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39581 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39582 $(EXTRA_TARGET_FLAGS) \
39583 TFLAGS="$(STAGE2_TFLAGS)" \
39584 $(TARGET-stage2-target-libgomp)
39586 maybe-clean-stage2-target-libgomp: clean-stage2-target-libgomp
39587 clean-stage2: clean-stage2-target-libgomp
39588 clean-stage2-target-libgomp:
39589 @if [ $(current_stage) = stage2 ]; then \
39590 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
39591 else \
39592 [ -f $(TARGET_SUBDIR)/stage2-libgomp/Makefile ] || exit 0; \
39593 $(MAKE) stage2-start; \
39594 fi; \
39595 cd $(TARGET_SUBDIR)/libgomp && \
39596 $(MAKE) $(EXTRA_TARGET_FLAGS) \
39598 clean
39599 @endif target-libgomp-bootstrap
39602 .PHONY: all-stage3-target-libgomp maybe-all-stage3-target-libgomp
39603 .PHONY: clean-stage3-target-libgomp maybe-clean-stage3-target-libgomp
39604 maybe-all-stage3-target-libgomp:
39605 maybe-clean-stage3-target-libgomp:
39606 @if target-libgomp-bootstrap
39607 maybe-all-stage3-target-libgomp: all-stage3-target-libgomp
39608 all-stage3: all-stage3-target-libgomp
39609 TARGET-stage3-target-libgomp = $(TARGET-target-libgomp)
39610 all-stage3-target-libgomp: configure-stage3-target-libgomp
39611 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
39612 @r=`${PWD_COMMAND}`; export r; \
39613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39614 TFLAGS="$(STAGE3_TFLAGS)"; \
39615 $(NORMAL_TARGET_EXPORTS) \
39617 cd $(TARGET_SUBDIR)/libgomp && \
39618 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39619 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39620 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39621 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39622 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39623 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39624 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39625 $(EXTRA_TARGET_FLAGS) \
39626 TFLAGS="$(STAGE3_TFLAGS)" \
39627 $(TARGET-stage3-target-libgomp)
39629 maybe-clean-stage3-target-libgomp: clean-stage3-target-libgomp
39630 clean-stage3: clean-stage3-target-libgomp
39631 clean-stage3-target-libgomp:
39632 @if [ $(current_stage) = stage3 ]; then \
39633 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
39634 else \
39635 [ -f $(TARGET_SUBDIR)/stage3-libgomp/Makefile ] || exit 0; \
39636 $(MAKE) stage3-start; \
39637 fi; \
39638 cd $(TARGET_SUBDIR)/libgomp && \
39639 $(MAKE) $(EXTRA_TARGET_FLAGS) \
39641 clean
39642 @endif target-libgomp-bootstrap
39645 .PHONY: all-stage4-target-libgomp maybe-all-stage4-target-libgomp
39646 .PHONY: clean-stage4-target-libgomp maybe-clean-stage4-target-libgomp
39647 maybe-all-stage4-target-libgomp:
39648 maybe-clean-stage4-target-libgomp:
39649 @if target-libgomp-bootstrap
39650 maybe-all-stage4-target-libgomp: all-stage4-target-libgomp
39651 all-stage4: all-stage4-target-libgomp
39652 TARGET-stage4-target-libgomp = $(TARGET-target-libgomp)
39653 all-stage4-target-libgomp: configure-stage4-target-libgomp
39654 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
39655 @r=`${PWD_COMMAND}`; export r; \
39656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39657 TFLAGS="$(STAGE4_TFLAGS)"; \
39658 $(NORMAL_TARGET_EXPORTS) \
39660 cd $(TARGET_SUBDIR)/libgomp && \
39661 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39662 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39663 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39664 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39665 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39666 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39667 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39668 $(EXTRA_TARGET_FLAGS) \
39669 TFLAGS="$(STAGE4_TFLAGS)" \
39670 $(TARGET-stage4-target-libgomp)
39672 maybe-clean-stage4-target-libgomp: clean-stage4-target-libgomp
39673 clean-stage4: clean-stage4-target-libgomp
39674 clean-stage4-target-libgomp:
39675 @if [ $(current_stage) = stage4 ]; then \
39676 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
39677 else \
39678 [ -f $(TARGET_SUBDIR)/stage4-libgomp/Makefile ] || exit 0; \
39679 $(MAKE) stage4-start; \
39680 fi; \
39681 cd $(TARGET_SUBDIR)/libgomp && \
39682 $(MAKE) $(EXTRA_TARGET_FLAGS) \
39684 clean
39685 @endif target-libgomp-bootstrap
39688 .PHONY: all-stageprofile-target-libgomp maybe-all-stageprofile-target-libgomp
39689 .PHONY: clean-stageprofile-target-libgomp maybe-clean-stageprofile-target-libgomp
39690 maybe-all-stageprofile-target-libgomp:
39691 maybe-clean-stageprofile-target-libgomp:
39692 @if target-libgomp-bootstrap
39693 maybe-all-stageprofile-target-libgomp: all-stageprofile-target-libgomp
39694 all-stageprofile: all-stageprofile-target-libgomp
39695 TARGET-stageprofile-target-libgomp = $(TARGET-target-libgomp)
39696 all-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
39697 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
39698 @r=`${PWD_COMMAND}`; export r; \
39699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39700 TFLAGS="$(STAGEprofile_TFLAGS)"; \
39701 $(NORMAL_TARGET_EXPORTS) \
39703 cd $(TARGET_SUBDIR)/libgomp && \
39704 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39705 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39706 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39707 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39708 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39709 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39710 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39711 $(EXTRA_TARGET_FLAGS) \
39712 TFLAGS="$(STAGEprofile_TFLAGS)" \
39713 $(TARGET-stageprofile-target-libgomp)
39715 maybe-clean-stageprofile-target-libgomp: clean-stageprofile-target-libgomp
39716 clean-stageprofile: clean-stageprofile-target-libgomp
39717 clean-stageprofile-target-libgomp:
39718 @if [ $(current_stage) = stageprofile ]; then \
39719 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
39720 else \
39721 [ -f $(TARGET_SUBDIR)/stageprofile-libgomp/Makefile ] || exit 0; \
39722 $(MAKE) stageprofile-start; \
39723 fi; \
39724 cd $(TARGET_SUBDIR)/libgomp && \
39725 $(MAKE) $(EXTRA_TARGET_FLAGS) \
39727 clean
39728 @endif target-libgomp-bootstrap
39731 .PHONY: all-stagefeedback-target-libgomp maybe-all-stagefeedback-target-libgomp
39732 .PHONY: clean-stagefeedback-target-libgomp maybe-clean-stagefeedback-target-libgomp
39733 maybe-all-stagefeedback-target-libgomp:
39734 maybe-clean-stagefeedback-target-libgomp:
39735 @if target-libgomp-bootstrap
39736 maybe-all-stagefeedback-target-libgomp: all-stagefeedback-target-libgomp
39737 all-stagefeedback: all-stagefeedback-target-libgomp
39738 TARGET-stagefeedback-target-libgomp = $(TARGET-target-libgomp)
39739 all-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
39740 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
39741 @r=`${PWD_COMMAND}`; export r; \
39742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39743 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
39744 $(NORMAL_TARGET_EXPORTS) \
39746 cd $(TARGET_SUBDIR)/libgomp && \
39747 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39748 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39749 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39750 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39751 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39752 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39753 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39754 $(EXTRA_TARGET_FLAGS) \
39755 TFLAGS="$(STAGEfeedback_TFLAGS)" \
39756 $(TARGET-stagefeedback-target-libgomp)
39758 maybe-clean-stagefeedback-target-libgomp: clean-stagefeedback-target-libgomp
39759 clean-stagefeedback: clean-stagefeedback-target-libgomp
39760 clean-stagefeedback-target-libgomp:
39761 @if [ $(current_stage) = stagefeedback ]; then \
39762 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
39763 else \
39764 [ -f $(TARGET_SUBDIR)/stagefeedback-libgomp/Makefile ] || exit 0; \
39765 $(MAKE) stagefeedback-start; \
39766 fi; \
39767 cd $(TARGET_SUBDIR)/libgomp && \
39768 $(MAKE) $(EXTRA_TARGET_FLAGS) \
39770 clean
39771 @endif target-libgomp-bootstrap
39778 .PHONY: check-target-libgomp maybe-check-target-libgomp
39779 maybe-check-target-libgomp:
39780 @if target-libgomp
39781 maybe-check-target-libgomp: check-target-libgomp
39783 check-target-libgomp:
39784 @: $(MAKE); $(unstage)
39785 @r=`${PWD_COMMAND}`; export r; \
39786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39787 $(NORMAL_TARGET_EXPORTS) \
39788 (cd $(TARGET_SUBDIR)/libgomp && \
39789 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39791 @endif target-libgomp
39793 .PHONY: install-target-libgomp maybe-install-target-libgomp
39794 maybe-install-target-libgomp:
39795 @if target-libgomp
39796 maybe-install-target-libgomp: install-target-libgomp
39798 install-target-libgomp: installdirs
39799 @: $(MAKE); $(unstage)
39800 @r=`${PWD_COMMAND}`; export r; \
39801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39802 $(NORMAL_TARGET_EXPORTS) \
39803 (cd $(TARGET_SUBDIR)/libgomp && \
39804 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39806 @endif target-libgomp
39808 .PHONY: install-strip-target-libgomp maybe-install-strip-target-libgomp
39809 maybe-install-strip-target-libgomp:
39810 @if target-libgomp
39811 maybe-install-strip-target-libgomp: install-strip-target-libgomp
39813 install-strip-target-libgomp: installdirs
39814 @: $(MAKE); $(unstage)
39815 @r=`${PWD_COMMAND}`; export r; \
39816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39817 $(NORMAL_TARGET_EXPORTS) \
39818 (cd $(TARGET_SUBDIR)/libgomp && \
39819 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39821 @endif target-libgomp
39823 # Other targets (info, dvi, pdf, etc.)
39825 .PHONY: maybe-info-target-libgomp info-target-libgomp
39826 maybe-info-target-libgomp:
39827 @if target-libgomp
39828 maybe-info-target-libgomp: info-target-libgomp
39830 info-target-libgomp: \
39831 configure-target-libgomp
39832 @: $(MAKE); $(unstage)
39833 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39834 r=`${PWD_COMMAND}`; export r; \
39835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39836 $(NORMAL_TARGET_EXPORTS) \
39837 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
39838 for flag in $(EXTRA_TARGET_FLAGS); do \
39839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39840 done; \
39841 (cd $(TARGET_SUBDIR)/libgomp && \
39842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39844 "RANLIB=$${RANLIB}" \
39845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39846 info) \
39847 || exit 1
39849 @endif target-libgomp
39851 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
39852 maybe-dvi-target-libgomp:
39853 @if target-libgomp
39854 maybe-dvi-target-libgomp: dvi-target-libgomp
39856 dvi-target-libgomp: \
39857 configure-target-libgomp
39858 @: $(MAKE); $(unstage)
39859 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39860 r=`${PWD_COMMAND}`; export r; \
39861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39862 $(NORMAL_TARGET_EXPORTS) \
39863 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
39864 for flag in $(EXTRA_TARGET_FLAGS); do \
39865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39866 done; \
39867 (cd $(TARGET_SUBDIR)/libgomp && \
39868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39870 "RANLIB=$${RANLIB}" \
39871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39872 dvi) \
39873 || exit 1
39875 @endif target-libgomp
39877 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
39878 maybe-pdf-target-libgomp:
39879 @if target-libgomp
39880 maybe-pdf-target-libgomp: pdf-target-libgomp
39882 pdf-target-libgomp: \
39883 configure-target-libgomp
39884 @: $(MAKE); $(unstage)
39885 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39886 r=`${PWD_COMMAND}`; export r; \
39887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39888 $(NORMAL_TARGET_EXPORTS) \
39889 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp" ; \
39890 for flag in $(EXTRA_TARGET_FLAGS); do \
39891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39892 done; \
39893 (cd $(TARGET_SUBDIR)/libgomp && \
39894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39896 "RANLIB=$${RANLIB}" \
39897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39898 pdf) \
39899 || exit 1
39901 @endif target-libgomp
39903 .PHONY: maybe-html-target-libgomp html-target-libgomp
39904 maybe-html-target-libgomp:
39905 @if target-libgomp
39906 maybe-html-target-libgomp: html-target-libgomp
39908 html-target-libgomp: \
39909 configure-target-libgomp
39910 @: $(MAKE); $(unstage)
39911 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39912 r=`${PWD_COMMAND}`; export r; \
39913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39914 $(NORMAL_TARGET_EXPORTS) \
39915 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
39916 for flag in $(EXTRA_TARGET_FLAGS); do \
39917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39918 done; \
39919 (cd $(TARGET_SUBDIR)/libgomp && \
39920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39922 "RANLIB=$${RANLIB}" \
39923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39924 html) \
39925 || exit 1
39927 @endif target-libgomp
39929 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
39930 maybe-TAGS-target-libgomp:
39931 @if target-libgomp
39932 maybe-TAGS-target-libgomp: TAGS-target-libgomp
39934 TAGS-target-libgomp: \
39935 configure-target-libgomp
39936 @: $(MAKE); $(unstage)
39937 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39938 r=`${PWD_COMMAND}`; export r; \
39939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39940 $(NORMAL_TARGET_EXPORTS) \
39941 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
39942 for flag in $(EXTRA_TARGET_FLAGS); do \
39943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39944 done; \
39945 (cd $(TARGET_SUBDIR)/libgomp && \
39946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39948 "RANLIB=$${RANLIB}" \
39949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39950 TAGS) \
39951 || exit 1
39953 @endif target-libgomp
39955 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
39956 maybe-install-info-target-libgomp:
39957 @if target-libgomp
39958 maybe-install-info-target-libgomp: install-info-target-libgomp
39960 install-info-target-libgomp: \
39961 configure-target-libgomp \
39962 info-target-libgomp
39963 @: $(MAKE); $(unstage)
39964 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39965 r=`${PWD_COMMAND}`; export r; \
39966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39967 $(NORMAL_TARGET_EXPORTS) \
39968 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
39969 for flag in $(EXTRA_TARGET_FLAGS); do \
39970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39971 done; \
39972 (cd $(TARGET_SUBDIR)/libgomp && \
39973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39975 "RANLIB=$${RANLIB}" \
39976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39977 install-info) \
39978 || exit 1
39980 @endif target-libgomp
39982 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
39983 maybe-install-pdf-target-libgomp:
39984 @if target-libgomp
39985 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
39987 install-pdf-target-libgomp: \
39988 configure-target-libgomp \
39989 pdf-target-libgomp
39990 @: $(MAKE); $(unstage)
39991 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39992 r=`${PWD_COMMAND}`; export r; \
39993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39994 $(NORMAL_TARGET_EXPORTS) \
39995 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp" ; \
39996 for flag in $(EXTRA_TARGET_FLAGS); do \
39997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39998 done; \
39999 (cd $(TARGET_SUBDIR)/libgomp && \
40000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40002 "RANLIB=$${RANLIB}" \
40003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40004 install-pdf) \
40005 || exit 1
40007 @endif target-libgomp
40009 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
40010 maybe-install-html-target-libgomp:
40011 @if target-libgomp
40012 maybe-install-html-target-libgomp: install-html-target-libgomp
40014 install-html-target-libgomp: \
40015 configure-target-libgomp \
40016 html-target-libgomp
40017 @: $(MAKE); $(unstage)
40018 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40019 r=`${PWD_COMMAND}`; export r; \
40020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40021 $(NORMAL_TARGET_EXPORTS) \
40022 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \
40023 for flag in $(EXTRA_TARGET_FLAGS); do \
40024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40025 done; \
40026 (cd $(TARGET_SUBDIR)/libgomp && \
40027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40029 "RANLIB=$${RANLIB}" \
40030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40031 install-html) \
40032 || exit 1
40034 @endif target-libgomp
40036 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
40037 maybe-installcheck-target-libgomp:
40038 @if target-libgomp
40039 maybe-installcheck-target-libgomp: installcheck-target-libgomp
40041 installcheck-target-libgomp: \
40042 configure-target-libgomp
40043 @: $(MAKE); $(unstage)
40044 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40045 r=`${PWD_COMMAND}`; export r; \
40046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40047 $(NORMAL_TARGET_EXPORTS) \
40048 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
40049 for flag in $(EXTRA_TARGET_FLAGS); do \
40050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40051 done; \
40052 (cd $(TARGET_SUBDIR)/libgomp && \
40053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40055 "RANLIB=$${RANLIB}" \
40056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40057 installcheck) \
40058 || exit 1
40060 @endif target-libgomp
40062 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
40063 maybe-mostlyclean-target-libgomp:
40064 @if target-libgomp
40065 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
40067 mostlyclean-target-libgomp:
40068 @: $(MAKE); $(unstage)
40069 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40070 r=`${PWD_COMMAND}`; export r; \
40071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40072 $(NORMAL_TARGET_EXPORTS) \
40073 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
40074 for flag in $(EXTRA_TARGET_FLAGS); do \
40075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40076 done; \
40077 (cd $(TARGET_SUBDIR)/libgomp && \
40078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40080 "RANLIB=$${RANLIB}" \
40081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40082 mostlyclean) \
40083 || exit 1
40085 @endif target-libgomp
40087 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
40088 maybe-clean-target-libgomp:
40089 @if target-libgomp
40090 maybe-clean-target-libgomp: clean-target-libgomp
40092 clean-target-libgomp:
40093 @: $(MAKE); $(unstage)
40094 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40095 r=`${PWD_COMMAND}`; export r; \
40096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40097 $(NORMAL_TARGET_EXPORTS) \
40098 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
40099 for flag in $(EXTRA_TARGET_FLAGS); do \
40100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40101 done; \
40102 (cd $(TARGET_SUBDIR)/libgomp && \
40103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40105 "RANLIB=$${RANLIB}" \
40106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40107 clean) \
40108 || exit 1
40110 @endif target-libgomp
40112 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
40113 maybe-distclean-target-libgomp:
40114 @if target-libgomp
40115 maybe-distclean-target-libgomp: distclean-target-libgomp
40117 distclean-target-libgomp:
40118 @: $(MAKE); $(unstage)
40119 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40120 r=`${PWD_COMMAND}`; export r; \
40121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40122 $(NORMAL_TARGET_EXPORTS) \
40123 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
40124 for flag in $(EXTRA_TARGET_FLAGS); do \
40125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40126 done; \
40127 (cd $(TARGET_SUBDIR)/libgomp && \
40128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40130 "RANLIB=$${RANLIB}" \
40131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40132 distclean) \
40133 || exit 1
40135 @endif target-libgomp
40137 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
40138 maybe-maintainer-clean-target-libgomp:
40139 @if target-libgomp
40140 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
40142 maintainer-clean-target-libgomp:
40143 @: $(MAKE); $(unstage)
40144 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40145 r=`${PWD_COMMAND}`; export r; \
40146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40147 $(NORMAL_TARGET_EXPORTS) \
40148 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
40149 for flag in $(EXTRA_TARGET_FLAGS); do \
40150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40151 done; \
40152 (cd $(TARGET_SUBDIR)/libgomp && \
40153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40155 "RANLIB=$${RANLIB}" \
40156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40157 maintainer-clean) \
40158 || exit 1
40160 @endif target-libgomp
40166 .PHONY: configure-target-libitm maybe-configure-target-libitm
40167 maybe-configure-target-libitm:
40168 @if gcc-bootstrap
40169 configure-target-libitm: stage_current
40170 @endif gcc-bootstrap
40171 @if target-libitm
40172 maybe-configure-target-libitm: configure-target-libitm
40173 configure-target-libitm:
40174 @: $(MAKE); $(unstage)
40175 @r=`${PWD_COMMAND}`; export r; \
40176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40177 echo "Checking multilib configuration for libitm..."; \
40178 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm ; \
40179 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libitm/multilib.tmp 2> /dev/null ; \
40180 if test -r $(TARGET_SUBDIR)/libitm/multilib.out; then \
40181 if cmp -s $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; then \
40182 rm -f $(TARGET_SUBDIR)/libitm/multilib.tmp; \
40183 else \
40184 rm -f $(TARGET_SUBDIR)/libitm/Makefile; \
40185 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
40186 fi; \
40187 else \
40188 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
40189 fi; \
40190 test ! -f $(TARGET_SUBDIR)/libitm/Makefile || exit 0; \
40191 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm ; \
40192 $(NORMAL_TARGET_EXPORTS) \
40193 echo Configuring in $(TARGET_SUBDIR)/libitm; \
40194 cd "$(TARGET_SUBDIR)/libitm" || exit 1; \
40195 case $(srcdir) in \
40196 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40197 *) topdir=`echo $(TARGET_SUBDIR)/libitm/ | \
40198 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40199 esac; \
40200 srcdiroption="--srcdir=$${topdir}/libitm"; \
40201 libsrcdir="$$s/libitm"; \
40202 rm -f no-such-file || : ; \
40203 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40204 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40205 --target=${target_alias} $${srcdiroption} \
40206 || exit 1
40207 @endif target-libitm
40213 .PHONY: all-target-libitm maybe-all-target-libitm
40214 maybe-all-target-libitm:
40215 @if gcc-bootstrap
40216 all-target-libitm: stage_current
40217 @endif gcc-bootstrap
40218 @if target-libitm
40219 TARGET-target-libitm=all
40220 maybe-all-target-libitm: all-target-libitm
40221 all-target-libitm: configure-target-libitm
40222 @: $(MAKE); $(unstage)
40223 @r=`${PWD_COMMAND}`; export r; \
40224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40225 $(NORMAL_TARGET_EXPORTS) \
40226 (cd $(TARGET_SUBDIR)/libitm && \
40227 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
40228 $(TARGET-target-libitm))
40229 @endif target-libitm
40235 .PHONY: check-target-libitm maybe-check-target-libitm
40236 maybe-check-target-libitm:
40237 @if target-libitm
40238 maybe-check-target-libitm: check-target-libitm
40240 check-target-libitm:
40241 @: $(MAKE); $(unstage)
40242 @r=`${PWD_COMMAND}`; export r; \
40243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40244 $(NORMAL_TARGET_EXPORTS) \
40245 (cd $(TARGET_SUBDIR)/libitm && \
40246 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40248 @endif target-libitm
40250 .PHONY: install-target-libitm maybe-install-target-libitm
40251 maybe-install-target-libitm:
40252 @if target-libitm
40253 maybe-install-target-libitm: install-target-libitm
40255 install-target-libitm: installdirs
40256 @: $(MAKE); $(unstage)
40257 @r=`${PWD_COMMAND}`; export r; \
40258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40259 $(NORMAL_TARGET_EXPORTS) \
40260 (cd $(TARGET_SUBDIR)/libitm && \
40261 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40263 @endif target-libitm
40265 .PHONY: install-strip-target-libitm maybe-install-strip-target-libitm
40266 maybe-install-strip-target-libitm:
40267 @if target-libitm
40268 maybe-install-strip-target-libitm: install-strip-target-libitm
40270 install-strip-target-libitm: installdirs
40271 @: $(MAKE); $(unstage)
40272 @r=`${PWD_COMMAND}`; export r; \
40273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40274 $(NORMAL_TARGET_EXPORTS) \
40275 (cd $(TARGET_SUBDIR)/libitm && \
40276 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40278 @endif target-libitm
40280 # Other targets (info, dvi, pdf, etc.)
40282 .PHONY: maybe-info-target-libitm info-target-libitm
40283 maybe-info-target-libitm:
40284 @if target-libitm
40285 maybe-info-target-libitm: info-target-libitm
40287 info-target-libitm: \
40288 configure-target-libitm
40289 @: $(MAKE); $(unstage)
40290 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40291 r=`${PWD_COMMAND}`; export r; \
40292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40293 $(NORMAL_TARGET_EXPORTS) \
40294 echo "Doing info in $(TARGET_SUBDIR)/libitm" ; \
40295 for flag in $(EXTRA_TARGET_FLAGS); do \
40296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40297 done; \
40298 (cd $(TARGET_SUBDIR)/libitm && \
40299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40301 "RANLIB=$${RANLIB}" \
40302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40303 info) \
40304 || exit 1
40306 @endif target-libitm
40308 .PHONY: maybe-dvi-target-libitm dvi-target-libitm
40309 maybe-dvi-target-libitm:
40310 @if target-libitm
40311 maybe-dvi-target-libitm: dvi-target-libitm
40313 dvi-target-libitm: \
40314 configure-target-libitm
40315 @: $(MAKE); $(unstage)
40316 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40317 r=`${PWD_COMMAND}`; export r; \
40318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40319 $(NORMAL_TARGET_EXPORTS) \
40320 echo "Doing dvi in $(TARGET_SUBDIR)/libitm" ; \
40321 for flag in $(EXTRA_TARGET_FLAGS); do \
40322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40323 done; \
40324 (cd $(TARGET_SUBDIR)/libitm && \
40325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40327 "RANLIB=$${RANLIB}" \
40328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40329 dvi) \
40330 || exit 1
40332 @endif target-libitm
40334 .PHONY: maybe-pdf-target-libitm pdf-target-libitm
40335 maybe-pdf-target-libitm:
40336 @if target-libitm
40337 maybe-pdf-target-libitm: pdf-target-libitm
40339 pdf-target-libitm: \
40340 configure-target-libitm
40341 @: $(MAKE); $(unstage)
40342 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40343 r=`${PWD_COMMAND}`; export r; \
40344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40345 $(NORMAL_TARGET_EXPORTS) \
40346 echo "Doing pdf in $(TARGET_SUBDIR)/libitm" ; \
40347 for flag in $(EXTRA_TARGET_FLAGS); do \
40348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40349 done; \
40350 (cd $(TARGET_SUBDIR)/libitm && \
40351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40353 "RANLIB=$${RANLIB}" \
40354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40355 pdf) \
40356 || exit 1
40358 @endif target-libitm
40360 .PHONY: maybe-html-target-libitm html-target-libitm
40361 maybe-html-target-libitm:
40362 @if target-libitm
40363 maybe-html-target-libitm: html-target-libitm
40365 html-target-libitm: \
40366 configure-target-libitm
40367 @: $(MAKE); $(unstage)
40368 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40369 r=`${PWD_COMMAND}`; export r; \
40370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40371 $(NORMAL_TARGET_EXPORTS) \
40372 echo "Doing html in $(TARGET_SUBDIR)/libitm" ; \
40373 for flag in $(EXTRA_TARGET_FLAGS); do \
40374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40375 done; \
40376 (cd $(TARGET_SUBDIR)/libitm && \
40377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40379 "RANLIB=$${RANLIB}" \
40380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40381 html) \
40382 || exit 1
40384 @endif target-libitm
40386 .PHONY: maybe-TAGS-target-libitm TAGS-target-libitm
40387 maybe-TAGS-target-libitm:
40388 @if target-libitm
40389 maybe-TAGS-target-libitm: TAGS-target-libitm
40391 TAGS-target-libitm: \
40392 configure-target-libitm
40393 @: $(MAKE); $(unstage)
40394 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40395 r=`${PWD_COMMAND}`; export r; \
40396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40397 $(NORMAL_TARGET_EXPORTS) \
40398 echo "Doing TAGS in $(TARGET_SUBDIR)/libitm" ; \
40399 for flag in $(EXTRA_TARGET_FLAGS); do \
40400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40401 done; \
40402 (cd $(TARGET_SUBDIR)/libitm && \
40403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40405 "RANLIB=$${RANLIB}" \
40406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40407 TAGS) \
40408 || exit 1
40410 @endif target-libitm
40412 .PHONY: maybe-install-info-target-libitm install-info-target-libitm
40413 maybe-install-info-target-libitm:
40414 @if target-libitm
40415 maybe-install-info-target-libitm: install-info-target-libitm
40417 install-info-target-libitm: \
40418 configure-target-libitm \
40419 info-target-libitm
40420 @: $(MAKE); $(unstage)
40421 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40422 r=`${PWD_COMMAND}`; export r; \
40423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40424 $(NORMAL_TARGET_EXPORTS) \
40425 echo "Doing install-info in $(TARGET_SUBDIR)/libitm" ; \
40426 for flag in $(EXTRA_TARGET_FLAGS); do \
40427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40428 done; \
40429 (cd $(TARGET_SUBDIR)/libitm && \
40430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40432 "RANLIB=$${RANLIB}" \
40433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40434 install-info) \
40435 || exit 1
40437 @endif target-libitm
40439 .PHONY: maybe-install-pdf-target-libitm install-pdf-target-libitm
40440 maybe-install-pdf-target-libitm:
40441 @if target-libitm
40442 maybe-install-pdf-target-libitm: install-pdf-target-libitm
40444 install-pdf-target-libitm: \
40445 configure-target-libitm \
40446 pdf-target-libitm
40447 @: $(MAKE); $(unstage)
40448 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40449 r=`${PWD_COMMAND}`; export r; \
40450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40451 $(NORMAL_TARGET_EXPORTS) \
40452 echo "Doing install-pdf in $(TARGET_SUBDIR)/libitm" ; \
40453 for flag in $(EXTRA_TARGET_FLAGS); do \
40454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40455 done; \
40456 (cd $(TARGET_SUBDIR)/libitm && \
40457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40459 "RANLIB=$${RANLIB}" \
40460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40461 install-pdf) \
40462 || exit 1
40464 @endif target-libitm
40466 .PHONY: maybe-install-html-target-libitm install-html-target-libitm
40467 maybe-install-html-target-libitm:
40468 @if target-libitm
40469 maybe-install-html-target-libitm: install-html-target-libitm
40471 install-html-target-libitm: \
40472 configure-target-libitm \
40473 html-target-libitm
40474 @: $(MAKE); $(unstage)
40475 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40476 r=`${PWD_COMMAND}`; export r; \
40477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40478 $(NORMAL_TARGET_EXPORTS) \
40479 echo "Doing install-html in $(TARGET_SUBDIR)/libitm" ; \
40480 for flag in $(EXTRA_TARGET_FLAGS); do \
40481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40482 done; \
40483 (cd $(TARGET_SUBDIR)/libitm && \
40484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40486 "RANLIB=$${RANLIB}" \
40487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40488 install-html) \
40489 || exit 1
40491 @endif target-libitm
40493 .PHONY: maybe-installcheck-target-libitm installcheck-target-libitm
40494 maybe-installcheck-target-libitm:
40495 @if target-libitm
40496 maybe-installcheck-target-libitm: installcheck-target-libitm
40498 installcheck-target-libitm: \
40499 configure-target-libitm
40500 @: $(MAKE); $(unstage)
40501 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40502 r=`${PWD_COMMAND}`; export r; \
40503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40504 $(NORMAL_TARGET_EXPORTS) \
40505 echo "Doing installcheck in $(TARGET_SUBDIR)/libitm" ; \
40506 for flag in $(EXTRA_TARGET_FLAGS); do \
40507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40508 done; \
40509 (cd $(TARGET_SUBDIR)/libitm && \
40510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40512 "RANLIB=$${RANLIB}" \
40513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40514 installcheck) \
40515 || exit 1
40517 @endif target-libitm
40519 .PHONY: maybe-mostlyclean-target-libitm mostlyclean-target-libitm
40520 maybe-mostlyclean-target-libitm:
40521 @if target-libitm
40522 maybe-mostlyclean-target-libitm: mostlyclean-target-libitm
40524 mostlyclean-target-libitm:
40525 @: $(MAKE); $(unstage)
40526 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40527 r=`${PWD_COMMAND}`; export r; \
40528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40529 $(NORMAL_TARGET_EXPORTS) \
40530 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libitm" ; \
40531 for flag in $(EXTRA_TARGET_FLAGS); do \
40532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40533 done; \
40534 (cd $(TARGET_SUBDIR)/libitm && \
40535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40537 "RANLIB=$${RANLIB}" \
40538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40539 mostlyclean) \
40540 || exit 1
40542 @endif target-libitm
40544 .PHONY: maybe-clean-target-libitm clean-target-libitm
40545 maybe-clean-target-libitm:
40546 @if target-libitm
40547 maybe-clean-target-libitm: clean-target-libitm
40549 clean-target-libitm:
40550 @: $(MAKE); $(unstage)
40551 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40552 r=`${PWD_COMMAND}`; export r; \
40553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40554 $(NORMAL_TARGET_EXPORTS) \
40555 echo "Doing clean in $(TARGET_SUBDIR)/libitm" ; \
40556 for flag in $(EXTRA_TARGET_FLAGS); do \
40557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40558 done; \
40559 (cd $(TARGET_SUBDIR)/libitm && \
40560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40562 "RANLIB=$${RANLIB}" \
40563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40564 clean) \
40565 || exit 1
40567 @endif target-libitm
40569 .PHONY: maybe-distclean-target-libitm distclean-target-libitm
40570 maybe-distclean-target-libitm:
40571 @if target-libitm
40572 maybe-distclean-target-libitm: distclean-target-libitm
40574 distclean-target-libitm:
40575 @: $(MAKE); $(unstage)
40576 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40577 r=`${PWD_COMMAND}`; export r; \
40578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40579 $(NORMAL_TARGET_EXPORTS) \
40580 echo "Doing distclean in $(TARGET_SUBDIR)/libitm" ; \
40581 for flag in $(EXTRA_TARGET_FLAGS); do \
40582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40583 done; \
40584 (cd $(TARGET_SUBDIR)/libitm && \
40585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40587 "RANLIB=$${RANLIB}" \
40588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40589 distclean) \
40590 || exit 1
40592 @endif target-libitm
40594 .PHONY: maybe-maintainer-clean-target-libitm maintainer-clean-target-libitm
40595 maybe-maintainer-clean-target-libitm:
40596 @if target-libitm
40597 maybe-maintainer-clean-target-libitm: maintainer-clean-target-libitm
40599 maintainer-clean-target-libitm:
40600 @: $(MAKE); $(unstage)
40601 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40602 r=`${PWD_COMMAND}`; export r; \
40603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40604 $(NORMAL_TARGET_EXPORTS) \
40605 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libitm" ; \
40606 for flag in $(EXTRA_TARGET_FLAGS); do \
40607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40608 done; \
40609 (cd $(TARGET_SUBDIR)/libitm && \
40610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40612 "RANLIB=$${RANLIB}" \
40613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40614 maintainer-clean) \
40615 || exit 1
40617 @endif target-libitm
40623 .PHONY: configure-target-libatomic maybe-configure-target-libatomic
40624 maybe-configure-target-libatomic:
40625 @if gcc-bootstrap
40626 configure-target-libatomic: stage_current
40627 @endif gcc-bootstrap
40628 @if target-libatomic
40629 maybe-configure-target-libatomic: configure-target-libatomic
40630 configure-target-libatomic:
40631 @: $(MAKE); $(unstage)
40632 @r=`${PWD_COMMAND}`; export r; \
40633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40634 echo "Checking multilib configuration for libatomic..."; \
40635 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic ; \
40636 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null ; \
40637 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
40638 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
40639 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
40640 else \
40641 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
40642 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
40643 fi; \
40644 else \
40645 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
40646 fi; \
40647 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
40648 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic ; \
40649 $(NORMAL_TARGET_EXPORTS) \
40650 echo Configuring in $(TARGET_SUBDIR)/libatomic; \
40651 cd "$(TARGET_SUBDIR)/libatomic" || exit 1; \
40652 case $(srcdir) in \
40653 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40654 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
40655 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40656 esac; \
40657 srcdiroption="--srcdir=$${topdir}/libatomic"; \
40658 libsrcdir="$$s/libatomic"; \
40659 rm -f no-such-file || : ; \
40660 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40661 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40662 --target=${target_alias} $${srcdiroption} \
40663 || exit 1
40664 @endif target-libatomic
40670 .PHONY: all-target-libatomic maybe-all-target-libatomic
40671 maybe-all-target-libatomic:
40672 @if gcc-bootstrap
40673 all-target-libatomic: stage_current
40674 @endif gcc-bootstrap
40675 @if target-libatomic
40676 TARGET-target-libatomic=all
40677 maybe-all-target-libatomic: all-target-libatomic
40678 all-target-libatomic: configure-target-libatomic
40679 @: $(MAKE); $(unstage)
40680 @r=`${PWD_COMMAND}`; export r; \
40681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40682 $(NORMAL_TARGET_EXPORTS) \
40683 (cd $(TARGET_SUBDIR)/libatomic && \
40684 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
40685 $(TARGET-target-libatomic))
40686 @endif target-libatomic
40692 .PHONY: check-target-libatomic maybe-check-target-libatomic
40693 maybe-check-target-libatomic:
40694 @if target-libatomic
40695 maybe-check-target-libatomic: check-target-libatomic
40697 check-target-libatomic:
40698 @: $(MAKE); $(unstage)
40699 @r=`${PWD_COMMAND}`; export r; \
40700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40701 $(NORMAL_TARGET_EXPORTS) \
40702 (cd $(TARGET_SUBDIR)/libatomic && \
40703 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40705 @endif target-libatomic
40707 .PHONY: install-target-libatomic maybe-install-target-libatomic
40708 maybe-install-target-libatomic:
40709 @if target-libatomic
40710 maybe-install-target-libatomic: install-target-libatomic
40712 install-target-libatomic: installdirs
40713 @: $(MAKE); $(unstage)
40714 @r=`${PWD_COMMAND}`; export r; \
40715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40716 $(NORMAL_TARGET_EXPORTS) \
40717 (cd $(TARGET_SUBDIR)/libatomic && \
40718 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40720 @endif target-libatomic
40722 .PHONY: install-strip-target-libatomic maybe-install-strip-target-libatomic
40723 maybe-install-strip-target-libatomic:
40724 @if target-libatomic
40725 maybe-install-strip-target-libatomic: install-strip-target-libatomic
40727 install-strip-target-libatomic: installdirs
40728 @: $(MAKE); $(unstage)
40729 @r=`${PWD_COMMAND}`; export r; \
40730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40731 $(NORMAL_TARGET_EXPORTS) \
40732 (cd $(TARGET_SUBDIR)/libatomic && \
40733 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40735 @endif target-libatomic
40737 # Other targets (info, dvi, pdf, etc.)
40739 .PHONY: maybe-info-target-libatomic info-target-libatomic
40740 maybe-info-target-libatomic:
40741 @if target-libatomic
40742 maybe-info-target-libatomic: info-target-libatomic
40744 info-target-libatomic: \
40745 configure-target-libatomic
40746 @: $(MAKE); $(unstage)
40747 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
40748 r=`${PWD_COMMAND}`; export r; \
40749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40750 $(NORMAL_TARGET_EXPORTS) \
40751 echo "Doing info in $(TARGET_SUBDIR)/libatomic" ; \
40752 for flag in $(EXTRA_TARGET_FLAGS); do \
40753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40754 done; \
40755 (cd $(TARGET_SUBDIR)/libatomic && \
40756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40758 "RANLIB=$${RANLIB}" \
40759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40760 info) \
40761 || exit 1
40763 @endif target-libatomic
40765 .PHONY: maybe-dvi-target-libatomic dvi-target-libatomic
40766 maybe-dvi-target-libatomic:
40767 @if target-libatomic
40768 maybe-dvi-target-libatomic: dvi-target-libatomic
40770 dvi-target-libatomic: \
40771 configure-target-libatomic
40772 @: $(MAKE); $(unstage)
40773 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
40774 r=`${PWD_COMMAND}`; export r; \
40775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40776 $(NORMAL_TARGET_EXPORTS) \
40777 echo "Doing dvi in $(TARGET_SUBDIR)/libatomic" ; \
40778 for flag in $(EXTRA_TARGET_FLAGS); do \
40779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40780 done; \
40781 (cd $(TARGET_SUBDIR)/libatomic && \
40782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40784 "RANLIB=$${RANLIB}" \
40785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40786 dvi) \
40787 || exit 1
40789 @endif target-libatomic
40791 .PHONY: maybe-pdf-target-libatomic pdf-target-libatomic
40792 maybe-pdf-target-libatomic:
40793 @if target-libatomic
40794 maybe-pdf-target-libatomic: pdf-target-libatomic
40796 pdf-target-libatomic: \
40797 configure-target-libatomic
40798 @: $(MAKE); $(unstage)
40799 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
40800 r=`${PWD_COMMAND}`; export r; \
40801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40802 $(NORMAL_TARGET_EXPORTS) \
40803 echo "Doing pdf in $(TARGET_SUBDIR)/libatomic" ; \
40804 for flag in $(EXTRA_TARGET_FLAGS); do \
40805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40806 done; \
40807 (cd $(TARGET_SUBDIR)/libatomic && \
40808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40810 "RANLIB=$${RANLIB}" \
40811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40812 pdf) \
40813 || exit 1
40815 @endif target-libatomic
40817 .PHONY: maybe-html-target-libatomic html-target-libatomic
40818 maybe-html-target-libatomic:
40819 @if target-libatomic
40820 maybe-html-target-libatomic: html-target-libatomic
40822 html-target-libatomic: \
40823 configure-target-libatomic
40824 @: $(MAKE); $(unstage)
40825 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
40826 r=`${PWD_COMMAND}`; export r; \
40827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40828 $(NORMAL_TARGET_EXPORTS) \
40829 echo "Doing html in $(TARGET_SUBDIR)/libatomic" ; \
40830 for flag in $(EXTRA_TARGET_FLAGS); do \
40831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40832 done; \
40833 (cd $(TARGET_SUBDIR)/libatomic && \
40834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40836 "RANLIB=$${RANLIB}" \
40837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40838 html) \
40839 || exit 1
40841 @endif target-libatomic
40843 .PHONY: maybe-TAGS-target-libatomic TAGS-target-libatomic
40844 maybe-TAGS-target-libatomic:
40845 @if target-libatomic
40846 maybe-TAGS-target-libatomic: TAGS-target-libatomic
40848 TAGS-target-libatomic: \
40849 configure-target-libatomic
40850 @: $(MAKE); $(unstage)
40851 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
40852 r=`${PWD_COMMAND}`; export r; \
40853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40854 $(NORMAL_TARGET_EXPORTS) \
40855 echo "Doing TAGS in $(TARGET_SUBDIR)/libatomic" ; \
40856 for flag in $(EXTRA_TARGET_FLAGS); do \
40857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40858 done; \
40859 (cd $(TARGET_SUBDIR)/libatomic && \
40860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40862 "RANLIB=$${RANLIB}" \
40863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40864 TAGS) \
40865 || exit 1
40867 @endif target-libatomic
40869 .PHONY: maybe-install-info-target-libatomic install-info-target-libatomic
40870 maybe-install-info-target-libatomic:
40871 @if target-libatomic
40872 maybe-install-info-target-libatomic: install-info-target-libatomic
40874 install-info-target-libatomic: \
40875 configure-target-libatomic \
40876 info-target-libatomic
40877 @: $(MAKE); $(unstage)
40878 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
40879 r=`${PWD_COMMAND}`; export r; \
40880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40881 $(NORMAL_TARGET_EXPORTS) \
40882 echo "Doing install-info in $(TARGET_SUBDIR)/libatomic" ; \
40883 for flag in $(EXTRA_TARGET_FLAGS); do \
40884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40885 done; \
40886 (cd $(TARGET_SUBDIR)/libatomic && \
40887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40889 "RANLIB=$${RANLIB}" \
40890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40891 install-info) \
40892 || exit 1
40894 @endif target-libatomic
40896 .PHONY: maybe-install-pdf-target-libatomic install-pdf-target-libatomic
40897 maybe-install-pdf-target-libatomic:
40898 @if target-libatomic
40899 maybe-install-pdf-target-libatomic: install-pdf-target-libatomic
40901 install-pdf-target-libatomic: \
40902 configure-target-libatomic \
40903 pdf-target-libatomic
40904 @: $(MAKE); $(unstage)
40905 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
40906 r=`${PWD_COMMAND}`; export r; \
40907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40908 $(NORMAL_TARGET_EXPORTS) \
40909 echo "Doing install-pdf in $(TARGET_SUBDIR)/libatomic" ; \
40910 for flag in $(EXTRA_TARGET_FLAGS); do \
40911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40912 done; \
40913 (cd $(TARGET_SUBDIR)/libatomic && \
40914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40916 "RANLIB=$${RANLIB}" \
40917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40918 install-pdf) \
40919 || exit 1
40921 @endif target-libatomic
40923 .PHONY: maybe-install-html-target-libatomic install-html-target-libatomic
40924 maybe-install-html-target-libatomic:
40925 @if target-libatomic
40926 maybe-install-html-target-libatomic: install-html-target-libatomic
40928 install-html-target-libatomic: \
40929 configure-target-libatomic \
40930 html-target-libatomic
40931 @: $(MAKE); $(unstage)
40932 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
40933 r=`${PWD_COMMAND}`; export r; \
40934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40935 $(NORMAL_TARGET_EXPORTS) \
40936 echo "Doing install-html in $(TARGET_SUBDIR)/libatomic" ; \
40937 for flag in $(EXTRA_TARGET_FLAGS); do \
40938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40939 done; \
40940 (cd $(TARGET_SUBDIR)/libatomic && \
40941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40943 "RANLIB=$${RANLIB}" \
40944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40945 install-html) \
40946 || exit 1
40948 @endif target-libatomic
40950 .PHONY: maybe-installcheck-target-libatomic installcheck-target-libatomic
40951 maybe-installcheck-target-libatomic:
40952 @if target-libatomic
40953 maybe-installcheck-target-libatomic: installcheck-target-libatomic
40955 installcheck-target-libatomic: \
40956 configure-target-libatomic
40957 @: $(MAKE); $(unstage)
40958 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
40959 r=`${PWD_COMMAND}`; export r; \
40960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40961 $(NORMAL_TARGET_EXPORTS) \
40962 echo "Doing installcheck in $(TARGET_SUBDIR)/libatomic" ; \
40963 for flag in $(EXTRA_TARGET_FLAGS); do \
40964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40965 done; \
40966 (cd $(TARGET_SUBDIR)/libatomic && \
40967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40969 "RANLIB=$${RANLIB}" \
40970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40971 installcheck) \
40972 || exit 1
40974 @endif target-libatomic
40976 .PHONY: maybe-mostlyclean-target-libatomic mostlyclean-target-libatomic
40977 maybe-mostlyclean-target-libatomic:
40978 @if target-libatomic
40979 maybe-mostlyclean-target-libatomic: mostlyclean-target-libatomic
40981 mostlyclean-target-libatomic:
40982 @: $(MAKE); $(unstage)
40983 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
40984 r=`${PWD_COMMAND}`; export r; \
40985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40986 $(NORMAL_TARGET_EXPORTS) \
40987 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libatomic" ; \
40988 for flag in $(EXTRA_TARGET_FLAGS); do \
40989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40990 done; \
40991 (cd $(TARGET_SUBDIR)/libatomic && \
40992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40994 "RANLIB=$${RANLIB}" \
40995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40996 mostlyclean) \
40997 || exit 1
40999 @endif target-libatomic
41001 .PHONY: maybe-clean-target-libatomic clean-target-libatomic
41002 maybe-clean-target-libatomic:
41003 @if target-libatomic
41004 maybe-clean-target-libatomic: clean-target-libatomic
41006 clean-target-libatomic:
41007 @: $(MAKE); $(unstage)
41008 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
41009 r=`${PWD_COMMAND}`; export r; \
41010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41011 $(NORMAL_TARGET_EXPORTS) \
41012 echo "Doing clean in $(TARGET_SUBDIR)/libatomic" ; \
41013 for flag in $(EXTRA_TARGET_FLAGS); do \
41014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41015 done; \
41016 (cd $(TARGET_SUBDIR)/libatomic && \
41017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41019 "RANLIB=$${RANLIB}" \
41020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41021 clean) \
41022 || exit 1
41024 @endif target-libatomic
41026 .PHONY: maybe-distclean-target-libatomic distclean-target-libatomic
41027 maybe-distclean-target-libatomic:
41028 @if target-libatomic
41029 maybe-distclean-target-libatomic: distclean-target-libatomic
41031 distclean-target-libatomic:
41032 @: $(MAKE); $(unstage)
41033 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
41034 r=`${PWD_COMMAND}`; export r; \
41035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41036 $(NORMAL_TARGET_EXPORTS) \
41037 echo "Doing distclean in $(TARGET_SUBDIR)/libatomic" ; \
41038 for flag in $(EXTRA_TARGET_FLAGS); do \
41039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41040 done; \
41041 (cd $(TARGET_SUBDIR)/libatomic && \
41042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41044 "RANLIB=$${RANLIB}" \
41045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41046 distclean) \
41047 || exit 1
41049 @endif target-libatomic
41051 .PHONY: maybe-maintainer-clean-target-libatomic maintainer-clean-target-libatomic
41052 maybe-maintainer-clean-target-libatomic:
41053 @if target-libatomic
41054 maybe-maintainer-clean-target-libatomic: maintainer-clean-target-libatomic
41056 maintainer-clean-target-libatomic:
41057 @: $(MAKE); $(unstage)
41058 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
41059 r=`${PWD_COMMAND}`; export r; \
41060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41061 $(NORMAL_TARGET_EXPORTS) \
41062 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libatomic" ; \
41063 for flag in $(EXTRA_TARGET_FLAGS); do \
41064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41065 done; \
41066 (cd $(TARGET_SUBDIR)/libatomic && \
41067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41069 "RANLIB=$${RANLIB}" \
41070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41071 maintainer-clean) \
41072 || exit 1
41074 @endif target-libatomic
41078 @if target-libmudflap
41079 .PHONY: check-target-libmudflap-c++
41080 check-target-libmudflap-c++:
41081 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++frags.exp" check-target-libmudflap
41083 @endif target-libmudflap
41085 @if target-libgomp
41086 .PHONY: check-target-libgomp-c++
41087 check-target-libgomp-c++:
41088 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libgomp
41090 @endif target-libgomp
41092 @if target-libitm
41093 .PHONY: check-target-libitm-c++
41094 check-target-libitm-c++:
41095 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libitm
41097 @endif target-libitm
41099 # ----------
41100 # GCC module
41101 # ----------
41103 @if gcc-no-bootstrap
41104 .PHONY: cross
41105 cross: all-build all-gas all-ld
41106 @r=`${PWD_COMMAND}`; export r; \
41107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41108 $(HOST_EXPORTS) \
41109 echo "Building the C and C++ compiler"; \
41110 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
41111 @r=`${PWD_COMMAND}`; export r; \
41112 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
41113 echo "Building runtime libraries"; \
41114 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
41115 @endif gcc-no-bootstrap
41117 @if gcc
41119 .PHONY: check-gcc-c check-c
41120 check-gcc-c:
41121 r=`${PWD_COMMAND}`; export r; \
41122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41123 $(HOST_EXPORTS) \
41124 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-gcc);
41125 check-c: check-gcc-c
41127 .PHONY: check-gcc-c++ check-c++
41128 check-gcc-c++:
41129 r=`${PWD_COMMAND}`; export r; \
41130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41131 $(HOST_EXPORTS) \
41132 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++);
41133 check-c++: check-gcc-c++ check-target-libstdc++-v3 check-target-libmudflap-c++ check-target-libitm-c++ check-target-libgomp-c++
41135 .PHONY: check-gcc-fortran check-fortran
41136 check-gcc-fortran:
41137 r=`${PWD_COMMAND}`; export r; \
41138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41139 $(HOST_EXPORTS) \
41140 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran);
41141 check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran
41143 .PHONY: check-gcc-java check-java
41144 check-gcc-java:
41145 r=`${PWD_COMMAND}`; export r; \
41146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41147 $(HOST_EXPORTS) \
41148 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-java);
41149 check-java: check-gcc-java check-target-libjava
41151 .PHONY: check-gcc-ada check-ada
41152 check-gcc-ada:
41153 r=`${PWD_COMMAND}`; export r; \
41154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41155 $(HOST_EXPORTS) \
41156 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-ada);
41157 check-ada: check-gcc-ada check-target-libada
41159 .PHONY: check-gcc-objc check-objc
41160 check-gcc-objc:
41161 r=`${PWD_COMMAND}`; export r; \
41162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41163 $(HOST_EXPORTS) \
41164 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-objc);
41165 check-objc: check-gcc-objc check-target-libobjc
41167 .PHONY: check-gcc-obj-c++ check-obj-c++
41168 check-gcc-obj-c++:
41169 r=`${PWD_COMMAND}`; export r; \
41170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41171 $(HOST_EXPORTS) \
41172 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-obj-c++);
41173 check-obj-c++: check-gcc-obj-c++
41175 .PHONY: check-gcc-go check-go
41176 check-gcc-go:
41177 r=`${PWD_COMMAND}`; export r; \
41178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41179 $(HOST_EXPORTS) \
41180 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-go);
41181 check-go: check-gcc-go check-target-libgo
41184 # The gcc part of install-no-fixedincludes, which relies on an intimate
41185 # knowledge of how a number of gcc internal targets (inter)operate. Delegate.
41186 .PHONY: gcc-install-no-fixedincludes
41187 gcc-install-no-fixedincludes:
41188 @if [ -f ./gcc/Makefile ]; then \
41189 r=`${PWD_COMMAND}`; export r; \
41190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41191 $(HOST_EXPORTS) \
41192 (cd ./gcc \
41193 && $(MAKE) $(GCC_FLAGS_TO_PASS) install-no-fixedincludes); \
41194 else true; fi
41195 @endif gcc
41197 # ---------------------
41198 # GCC bootstrap support
41199 # ---------------------
41201 # We track the current stage (the one in 'gcc') in the stage_current file.
41202 # stage_last instead tracks the stage that was built last. These targets
41203 # are dummy when toplevel bootstrap is not active.
41205 # While making host and target tools, symlinks to the final stage must be
41206 # there, so $(unstage) should be run at various points. To avoid excessive
41207 # recursive invocations of make, we "inline" them using a variable. These
41208 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
41209 # to avoid warnings from the GNU Make job server.
41211 unstage = :
41212 stage = :
41213 current_stage = ""
41215 @if gcc-bootstrap
41216 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
41217 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
41218 current_stage = "`cat stage_current 2> /dev/null`"
41219 @endif gcc-bootstrap
41221 .PHONY: unstage stage
41222 unstage:
41223 @: $(MAKE); $(unstage)
41224 stage:
41225 @: $(MAKE); $(stage)
41227 # Disable commands for lean bootstrap.
41228 LEAN = false
41230 # We name the build directories for the various stages "stage1-gcc",
41231 # "stage2-gcc","stage3-gcc", etc.
41233 # Since the 'compare' process will fail (on debugging information) if any
41234 # directory names are different, we need to link the gcc directory for
41235 # the previous stage to a constant name ('prev-gcc'), and to make the name of
41236 # the build directories constant as well. For the latter, we use naked names
41237 # like 'gcc', because the scripts in that directory assume it. We use
41238 # mv on platforms where symlinks to directories do not work or are not
41239 # reliable.
41241 # 'touch' doesn't work right on some platforms.
41242 STAMP = echo timestamp >
41244 # We only want to compare .o files, so set this!
41245 objext = .o
41248 .PHONY: stage1-start stage1-end
41250 stage1-start::
41251 @: $(MAKE); $(stage); \
41252 echo stage1 > stage_current ; \
41253 echo stage1 > stage_last; \
41254 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
41255 @if bfd
41256 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
41257 mkdir stage1-bfd; \
41258 mv stage1-bfd bfd
41259 @endif bfd
41260 @if opcodes
41261 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
41262 mkdir stage1-opcodes; \
41263 mv stage1-opcodes opcodes
41264 @endif opcodes
41265 @if binutils
41266 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
41267 mkdir stage1-binutils; \
41268 mv stage1-binutils binutils
41269 @endif binutils
41270 @if gas
41271 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
41272 mkdir stage1-gas; \
41273 mv stage1-gas gas
41274 @endif gas
41275 @if gcc
41276 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
41277 mkdir stage1-gcc; \
41278 mv stage1-gcc gcc
41279 @endif gcc
41280 @if gmp
41281 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
41282 mkdir stage1-gmp; \
41283 mv stage1-gmp gmp
41284 @endif gmp
41285 @if mpfr
41286 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
41287 mkdir stage1-mpfr; \
41288 mv stage1-mpfr mpfr
41289 @endif mpfr
41290 @if mpc
41291 @cd $(HOST_SUBDIR); [ -d stage1-mpc ] || \
41292 mkdir stage1-mpc; \
41293 mv stage1-mpc mpc
41294 @endif mpc
41295 @if isl
41296 @cd $(HOST_SUBDIR); [ -d stage1-isl ] || \
41297 mkdir stage1-isl; \
41298 mv stage1-isl isl
41299 @endif isl
41300 @if cloog
41301 @cd $(HOST_SUBDIR); [ -d stage1-cloog ] || \
41302 mkdir stage1-cloog; \
41303 mv stage1-cloog cloog
41304 @endif cloog
41305 @if libelf
41306 @cd $(HOST_SUBDIR); [ -d stage1-libelf ] || \
41307 mkdir stage1-libelf; \
41308 mv stage1-libelf libelf
41309 @endif libelf
41310 @if gold
41311 @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \
41312 mkdir stage1-gold; \
41313 mv stage1-gold gold
41314 @endif gold
41315 @if intl
41316 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
41317 mkdir stage1-intl; \
41318 mv stage1-intl intl
41319 @endif intl
41320 @if ld
41321 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
41322 mkdir stage1-ld; \
41323 mv stage1-ld ld
41324 @endif ld
41325 @if libcpp
41326 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
41327 mkdir stage1-libcpp; \
41328 mv stage1-libcpp libcpp
41329 @endif libcpp
41330 @if libdecnumber
41331 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
41332 mkdir stage1-libdecnumber; \
41333 mv stage1-libdecnumber libdecnumber
41334 @endif libdecnumber
41335 @if libiberty
41336 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
41337 mkdir stage1-libiberty; \
41338 mv stage1-libiberty libiberty
41339 @endif libiberty
41340 @if zlib
41341 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
41342 mkdir stage1-zlib; \
41343 mv stage1-zlib zlib
41344 @endif zlib
41345 @if lto-plugin
41346 @cd $(HOST_SUBDIR); [ -d stage1-lto-plugin ] || \
41347 mkdir stage1-lto-plugin; \
41348 mv stage1-lto-plugin lto-plugin
41349 @endif lto-plugin
41350 @[ -d stage1-$(TARGET_SUBDIR) ] || \
41351 mkdir stage1-$(TARGET_SUBDIR); \
41352 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
41354 stage1-end::
41355 @if bfd
41356 @if test -d $(HOST_SUBDIR)/bfd ; then \
41357 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
41359 @endif bfd
41360 @if opcodes
41361 @if test -d $(HOST_SUBDIR)/opcodes ; then \
41362 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
41364 @endif opcodes
41365 @if binutils
41366 @if test -d $(HOST_SUBDIR)/binutils ; then \
41367 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
41369 @endif binutils
41370 @if gas
41371 @if test -d $(HOST_SUBDIR)/gas ; then \
41372 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
41374 @endif gas
41375 @if gcc
41376 @if test -d $(HOST_SUBDIR)/gcc ; then \
41377 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
41379 @endif gcc
41380 @if gmp
41381 @if test -d $(HOST_SUBDIR)/gmp ; then \
41382 cd $(HOST_SUBDIR); mv gmp stage1-gmp ; \
41384 @endif gmp
41385 @if mpfr
41386 @if test -d $(HOST_SUBDIR)/mpfr ; then \
41387 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr ; \
41389 @endif mpfr
41390 @if mpc
41391 @if test -d $(HOST_SUBDIR)/mpc ; then \
41392 cd $(HOST_SUBDIR); mv mpc stage1-mpc ; \
41394 @endif mpc
41395 @if isl
41396 @if test -d $(HOST_SUBDIR)/isl ; then \
41397 cd $(HOST_SUBDIR); mv isl stage1-isl ; \
41399 @endif isl
41400 @if cloog
41401 @if test -d $(HOST_SUBDIR)/cloog ; then \
41402 cd $(HOST_SUBDIR); mv cloog stage1-cloog ; \
41404 @endif cloog
41405 @if libelf
41406 @if test -d $(HOST_SUBDIR)/libelf ; then \
41407 cd $(HOST_SUBDIR); mv libelf stage1-libelf ; \
41409 @endif libelf
41410 @if gold
41411 @if test -d $(HOST_SUBDIR)/gold ; then \
41412 cd $(HOST_SUBDIR); mv gold stage1-gold ; \
41414 @endif gold
41415 @if intl
41416 @if test -d $(HOST_SUBDIR)/intl ; then \
41417 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
41419 @endif intl
41420 @if ld
41421 @if test -d $(HOST_SUBDIR)/ld ; then \
41422 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
41424 @endif ld
41425 @if libcpp
41426 @if test -d $(HOST_SUBDIR)/libcpp ; then \
41427 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
41429 @endif libcpp
41430 @if libdecnumber
41431 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
41432 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
41434 @endif libdecnumber
41435 @if libiberty
41436 @if test -d $(HOST_SUBDIR)/libiberty ; then \
41437 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
41439 @endif libiberty
41440 @if zlib
41441 @if test -d $(HOST_SUBDIR)/zlib ; then \
41442 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
41444 @endif zlib
41445 @if lto-plugin
41446 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
41447 cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin ; \
41449 @endif lto-plugin
41450 @if test -d $(TARGET_SUBDIR) ; then \
41451 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
41453 rm -f stage_current
41455 # Bubble a bug fix through all the stages up to stage 1. They are
41456 # remade, but not reconfigured. The next stage (if any) will not be
41457 # reconfigured either.
41458 .PHONY: stage1-bubble
41459 stage1-bubble::
41460 @r=`${PWD_COMMAND}`; export r; \
41461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41462 if test -f stage1-lean ; then \
41463 echo Skipping rebuild of stage1 ; \
41464 else \
41465 $(MAKE) stage1-start; \
41466 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
41469 .PHONY: all-stage1 clean-stage1
41470 do-clean: clean-stage1
41472 # FIXME: Will not need to be conditional when toplevel bootstrap is the
41473 # only possibility, but now it conflicts with no-bootstrap rules
41474 @if gcc-bootstrap
41479 # Rules to wipe a stage and all the following ones, also used for cleanstrap
41481 .PHONY: distclean-stage1
41482 distclean-stage1::
41483 @: $(MAKE); $(stage)
41484 @test "`cat stage_last`" != stage1 || rm -f stage_last
41485 rm -rf stage1-*
41488 @endif gcc-bootstrap
41491 .PHONY: stage2-start stage2-end
41493 stage2-start::
41494 @: $(MAKE); $(stage); \
41495 echo stage2 > stage_current ; \
41496 echo stage2 > stage_last; \
41497 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
41498 @if bfd
41499 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
41500 mkdir stage2-bfd; \
41501 mv stage2-bfd bfd ; \
41502 mv stage1-bfd prev-bfd || test -f stage1-lean
41503 @endif bfd
41504 @if opcodes
41505 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
41506 mkdir stage2-opcodes; \
41507 mv stage2-opcodes opcodes ; \
41508 mv stage1-opcodes prev-opcodes || test -f stage1-lean
41509 @endif opcodes
41510 @if binutils
41511 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
41512 mkdir stage2-binutils; \
41513 mv stage2-binutils binutils ; \
41514 mv stage1-binutils prev-binutils || test -f stage1-lean
41515 @endif binutils
41516 @if gas
41517 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
41518 mkdir stage2-gas; \
41519 mv stage2-gas gas ; \
41520 mv stage1-gas prev-gas || test -f stage1-lean
41521 @endif gas
41522 @if gcc
41523 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
41524 mkdir stage2-gcc; \
41525 mv stage2-gcc gcc ; \
41526 mv stage1-gcc prev-gcc || test -f stage1-lean
41527 @endif gcc
41528 @if gmp
41529 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
41530 mkdir stage2-gmp; \
41531 mv stage2-gmp gmp ; \
41532 mv stage1-gmp prev-gmp || test -f stage1-lean
41533 @endif gmp
41534 @if mpfr
41535 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
41536 mkdir stage2-mpfr; \
41537 mv stage2-mpfr mpfr ; \
41538 mv stage1-mpfr prev-mpfr || test -f stage1-lean
41539 @endif mpfr
41540 @if mpc
41541 @cd $(HOST_SUBDIR); [ -d stage2-mpc ] || \
41542 mkdir stage2-mpc; \
41543 mv stage2-mpc mpc ; \
41544 mv stage1-mpc prev-mpc || test -f stage1-lean
41545 @endif mpc
41546 @if isl
41547 @cd $(HOST_SUBDIR); [ -d stage2-isl ] || \
41548 mkdir stage2-isl; \
41549 mv stage2-isl isl ; \
41550 mv stage1-isl prev-isl || test -f stage1-lean
41551 @endif isl
41552 @if cloog
41553 @cd $(HOST_SUBDIR); [ -d stage2-cloog ] || \
41554 mkdir stage2-cloog; \
41555 mv stage2-cloog cloog ; \
41556 mv stage1-cloog prev-cloog || test -f stage1-lean
41557 @endif cloog
41558 @if libelf
41559 @cd $(HOST_SUBDIR); [ -d stage2-libelf ] || \
41560 mkdir stage2-libelf; \
41561 mv stage2-libelf libelf ; \
41562 mv stage1-libelf prev-libelf || test -f stage1-lean
41563 @endif libelf
41564 @if gold
41565 @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \
41566 mkdir stage2-gold; \
41567 mv stage2-gold gold ; \
41568 mv stage1-gold prev-gold || test -f stage1-lean
41569 @endif gold
41570 @if intl
41571 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
41572 mkdir stage2-intl; \
41573 mv stage2-intl intl ; \
41574 mv stage1-intl prev-intl || test -f stage1-lean
41575 @endif intl
41576 @if ld
41577 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
41578 mkdir stage2-ld; \
41579 mv stage2-ld ld ; \
41580 mv stage1-ld prev-ld || test -f stage1-lean
41581 @endif ld
41582 @if libcpp
41583 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
41584 mkdir stage2-libcpp; \
41585 mv stage2-libcpp libcpp ; \
41586 mv stage1-libcpp prev-libcpp || test -f stage1-lean
41587 @endif libcpp
41588 @if libdecnumber
41589 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
41590 mkdir stage2-libdecnumber; \
41591 mv stage2-libdecnumber libdecnumber ; \
41592 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
41593 @endif libdecnumber
41594 @if libiberty
41595 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
41596 mkdir stage2-libiberty; \
41597 mv stage2-libiberty libiberty ; \
41598 mv stage1-libiberty prev-libiberty || test -f stage1-lean
41599 @endif libiberty
41600 @if zlib
41601 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
41602 mkdir stage2-zlib; \
41603 mv stage2-zlib zlib ; \
41604 mv stage1-zlib prev-zlib || test -f stage1-lean
41605 @endif zlib
41606 @if lto-plugin
41607 @cd $(HOST_SUBDIR); [ -d stage2-lto-plugin ] || \
41608 mkdir stage2-lto-plugin; \
41609 mv stage2-lto-plugin lto-plugin ; \
41610 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
41611 @endif lto-plugin
41612 @[ -d stage2-$(TARGET_SUBDIR) ] || \
41613 mkdir stage2-$(TARGET_SUBDIR); \
41614 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
41615 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
41617 stage2-end::
41618 @if bfd
41619 @if test -d $(HOST_SUBDIR)/bfd ; then \
41620 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
41621 mv prev-bfd stage1-bfd ; : ; \
41623 @endif bfd
41624 @if opcodes
41625 @if test -d $(HOST_SUBDIR)/opcodes ; then \
41626 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
41627 mv prev-opcodes stage1-opcodes ; : ; \
41629 @endif opcodes
41630 @if binutils
41631 @if test -d $(HOST_SUBDIR)/binutils ; then \
41632 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
41633 mv prev-binutils stage1-binutils ; : ; \
41635 @endif binutils
41636 @if gas
41637 @if test -d $(HOST_SUBDIR)/gas ; then \
41638 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
41639 mv prev-gas stage1-gas ; : ; \
41641 @endif gas
41642 @if gcc
41643 @if test -d $(HOST_SUBDIR)/gcc ; then \
41644 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
41645 mv prev-gcc stage1-gcc ; : ; \
41647 @endif gcc
41648 @if gmp
41649 @if test -d $(HOST_SUBDIR)/gmp ; then \
41650 cd $(HOST_SUBDIR); mv gmp stage2-gmp ; \
41651 mv prev-gmp stage1-gmp ; : ; \
41653 @endif gmp
41654 @if mpfr
41655 @if test -d $(HOST_SUBDIR)/mpfr ; then \
41656 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr ; \
41657 mv prev-mpfr stage1-mpfr ; : ; \
41659 @endif mpfr
41660 @if mpc
41661 @if test -d $(HOST_SUBDIR)/mpc ; then \
41662 cd $(HOST_SUBDIR); mv mpc stage2-mpc ; \
41663 mv prev-mpc stage1-mpc ; : ; \
41665 @endif mpc
41666 @if isl
41667 @if test -d $(HOST_SUBDIR)/isl ; then \
41668 cd $(HOST_SUBDIR); mv isl stage2-isl ; \
41669 mv prev-isl stage1-isl ; : ; \
41671 @endif isl
41672 @if cloog
41673 @if test -d $(HOST_SUBDIR)/cloog ; then \
41674 cd $(HOST_SUBDIR); mv cloog stage2-cloog ; \
41675 mv prev-cloog stage1-cloog ; : ; \
41677 @endif cloog
41678 @if libelf
41679 @if test -d $(HOST_SUBDIR)/libelf ; then \
41680 cd $(HOST_SUBDIR); mv libelf stage2-libelf ; \
41681 mv prev-libelf stage1-libelf ; : ; \
41683 @endif libelf
41684 @if gold
41685 @if test -d $(HOST_SUBDIR)/gold ; then \
41686 cd $(HOST_SUBDIR); mv gold stage2-gold ; \
41687 mv prev-gold stage1-gold ; : ; \
41689 @endif gold
41690 @if intl
41691 @if test -d $(HOST_SUBDIR)/intl ; then \
41692 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
41693 mv prev-intl stage1-intl ; : ; \
41695 @endif intl
41696 @if ld
41697 @if test -d $(HOST_SUBDIR)/ld ; then \
41698 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
41699 mv prev-ld stage1-ld ; : ; \
41701 @endif ld
41702 @if libcpp
41703 @if test -d $(HOST_SUBDIR)/libcpp ; then \
41704 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
41705 mv prev-libcpp stage1-libcpp ; : ; \
41707 @endif libcpp
41708 @if libdecnumber
41709 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
41710 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
41711 mv prev-libdecnumber stage1-libdecnumber ; : ; \
41713 @endif libdecnumber
41714 @if libiberty
41715 @if test -d $(HOST_SUBDIR)/libiberty ; then \
41716 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
41717 mv prev-libiberty stage1-libiberty ; : ; \
41719 @endif libiberty
41720 @if zlib
41721 @if test -d $(HOST_SUBDIR)/zlib ; then \
41722 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
41723 mv prev-zlib stage1-zlib ; : ; \
41725 @endif zlib
41726 @if lto-plugin
41727 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
41728 cd $(HOST_SUBDIR); mv lto-plugin stage2-lto-plugin ; \
41729 mv prev-lto-plugin stage1-lto-plugin ; : ; \
41731 @endif lto-plugin
41732 @if test -d $(TARGET_SUBDIR) ; then \
41733 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
41734 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
41736 rm -f stage_current
41738 # Bubble a bug fix through all the stages up to stage 2. They are
41739 # remade, but not reconfigured. The next stage (if any) will not be
41740 # reconfigured either.
41741 .PHONY: stage2-bubble
41742 stage2-bubble:: stage1-bubble
41743 @r=`${PWD_COMMAND}`; export r; \
41744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41745 if test -f stage2-lean || test -f stage1-lean ; then \
41746 echo Skipping rebuild of stage2 ; \
41747 else \
41748 $(MAKE) stage2-start; \
41749 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
41752 .PHONY: all-stage2 clean-stage2
41753 do-clean: clean-stage2
41755 # FIXME: Will not need to be conditional when toplevel bootstrap is the
41756 # only possibility, but now it conflicts with no-bootstrap rules
41757 @if gcc-bootstrap
41761 .PHONY: bootstrap2 bootstrap2-lean
41762 bootstrap2:
41763 echo stage2 > stage_final
41764 @r=`${PWD_COMMAND}`; export r; \
41765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41766 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
41767 @: $(MAKE); $(unstage)
41768 @r=`${PWD_COMMAND}`; export r; \
41769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41770 TFLAGS="$(STAGE2_TFLAGS)"; \
41771 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
41773 bootstrap2-lean:
41774 echo stage2 > stage_final
41775 @r=`${PWD_COMMAND}`; export r; \
41776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41777 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
41778 @: $(MAKE); $(unstage)
41779 @r=`${PWD_COMMAND}`; export r; \
41780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41781 TFLAGS="$(STAGE2_TFLAGS)"; \
41782 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
41785 # Rules to wipe a stage and all the following ones, also used for cleanstrap
41786 distclean-stage1:: distclean-stage2
41787 .PHONY: distclean-stage2
41788 distclean-stage2::
41789 @: $(MAKE); $(stage)
41790 @test "`cat stage_last`" != stage2 || rm -f stage_last
41791 rm -rf stage2-*
41794 @endif gcc-bootstrap
41797 .PHONY: stage3-start stage3-end
41799 stage3-start::
41800 @: $(MAKE); $(stage); \
41801 echo stage3 > stage_current ; \
41802 echo stage3 > stage_last; \
41803 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
41804 @if bfd
41805 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
41806 mkdir stage3-bfd; \
41807 mv stage3-bfd bfd ; \
41808 mv stage2-bfd prev-bfd || test -f stage2-lean
41809 @endif bfd
41810 @if opcodes
41811 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
41812 mkdir stage3-opcodes; \
41813 mv stage3-opcodes opcodes ; \
41814 mv stage2-opcodes prev-opcodes || test -f stage2-lean
41815 @endif opcodes
41816 @if binutils
41817 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
41818 mkdir stage3-binutils; \
41819 mv stage3-binutils binutils ; \
41820 mv stage2-binutils prev-binutils || test -f stage2-lean
41821 @endif binutils
41822 @if gas
41823 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
41824 mkdir stage3-gas; \
41825 mv stage3-gas gas ; \
41826 mv stage2-gas prev-gas || test -f stage2-lean
41827 @endif gas
41828 @if gcc
41829 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
41830 mkdir stage3-gcc; \
41831 mv stage3-gcc gcc ; \
41832 mv stage2-gcc prev-gcc || test -f stage2-lean
41833 @endif gcc
41834 @if gmp
41835 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
41836 mkdir stage3-gmp; \
41837 mv stage3-gmp gmp ; \
41838 mv stage2-gmp prev-gmp || test -f stage2-lean
41839 @endif gmp
41840 @if mpfr
41841 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
41842 mkdir stage3-mpfr; \
41843 mv stage3-mpfr mpfr ; \
41844 mv stage2-mpfr prev-mpfr || test -f stage2-lean
41845 @endif mpfr
41846 @if mpc
41847 @cd $(HOST_SUBDIR); [ -d stage3-mpc ] || \
41848 mkdir stage3-mpc; \
41849 mv stage3-mpc mpc ; \
41850 mv stage2-mpc prev-mpc || test -f stage2-lean
41851 @endif mpc
41852 @if isl
41853 @cd $(HOST_SUBDIR); [ -d stage3-isl ] || \
41854 mkdir stage3-isl; \
41855 mv stage3-isl isl ; \
41856 mv stage2-isl prev-isl || test -f stage2-lean
41857 @endif isl
41858 @if cloog
41859 @cd $(HOST_SUBDIR); [ -d stage3-cloog ] || \
41860 mkdir stage3-cloog; \
41861 mv stage3-cloog cloog ; \
41862 mv stage2-cloog prev-cloog || test -f stage2-lean
41863 @endif cloog
41864 @if libelf
41865 @cd $(HOST_SUBDIR); [ -d stage3-libelf ] || \
41866 mkdir stage3-libelf; \
41867 mv stage3-libelf libelf ; \
41868 mv stage2-libelf prev-libelf || test -f stage2-lean
41869 @endif libelf
41870 @if gold
41871 @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \
41872 mkdir stage3-gold; \
41873 mv stage3-gold gold ; \
41874 mv stage2-gold prev-gold || test -f stage2-lean
41875 @endif gold
41876 @if intl
41877 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
41878 mkdir stage3-intl; \
41879 mv stage3-intl intl ; \
41880 mv stage2-intl prev-intl || test -f stage2-lean
41881 @endif intl
41882 @if ld
41883 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
41884 mkdir stage3-ld; \
41885 mv stage3-ld ld ; \
41886 mv stage2-ld prev-ld || test -f stage2-lean
41887 @endif ld
41888 @if libcpp
41889 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
41890 mkdir stage3-libcpp; \
41891 mv stage3-libcpp libcpp ; \
41892 mv stage2-libcpp prev-libcpp || test -f stage2-lean
41893 @endif libcpp
41894 @if libdecnumber
41895 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
41896 mkdir stage3-libdecnumber; \
41897 mv stage3-libdecnumber libdecnumber ; \
41898 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
41899 @endif libdecnumber
41900 @if libiberty
41901 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
41902 mkdir stage3-libiberty; \
41903 mv stage3-libiberty libiberty ; \
41904 mv stage2-libiberty prev-libiberty || test -f stage2-lean
41905 @endif libiberty
41906 @if zlib
41907 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
41908 mkdir stage3-zlib; \
41909 mv stage3-zlib zlib ; \
41910 mv stage2-zlib prev-zlib || test -f stage2-lean
41911 @endif zlib
41912 @if lto-plugin
41913 @cd $(HOST_SUBDIR); [ -d stage3-lto-plugin ] || \
41914 mkdir stage3-lto-plugin; \
41915 mv stage3-lto-plugin lto-plugin ; \
41916 mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean
41917 @endif lto-plugin
41918 @[ -d stage3-$(TARGET_SUBDIR) ] || \
41919 mkdir stage3-$(TARGET_SUBDIR); \
41920 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
41921 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
41923 stage3-end::
41924 @if bfd
41925 @if test -d $(HOST_SUBDIR)/bfd ; then \
41926 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
41927 mv prev-bfd stage2-bfd ; : ; \
41929 @endif bfd
41930 @if opcodes
41931 @if test -d $(HOST_SUBDIR)/opcodes ; then \
41932 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
41933 mv prev-opcodes stage2-opcodes ; : ; \
41935 @endif opcodes
41936 @if binutils
41937 @if test -d $(HOST_SUBDIR)/binutils ; then \
41938 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
41939 mv prev-binutils stage2-binutils ; : ; \
41941 @endif binutils
41942 @if gas
41943 @if test -d $(HOST_SUBDIR)/gas ; then \
41944 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
41945 mv prev-gas stage2-gas ; : ; \
41947 @endif gas
41948 @if gcc
41949 @if test -d $(HOST_SUBDIR)/gcc ; then \
41950 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
41951 mv prev-gcc stage2-gcc ; : ; \
41953 @endif gcc
41954 @if gmp
41955 @if test -d $(HOST_SUBDIR)/gmp ; then \
41956 cd $(HOST_SUBDIR); mv gmp stage3-gmp ; \
41957 mv prev-gmp stage2-gmp ; : ; \
41959 @endif gmp
41960 @if mpfr
41961 @if test -d $(HOST_SUBDIR)/mpfr ; then \
41962 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr ; \
41963 mv prev-mpfr stage2-mpfr ; : ; \
41965 @endif mpfr
41966 @if mpc
41967 @if test -d $(HOST_SUBDIR)/mpc ; then \
41968 cd $(HOST_SUBDIR); mv mpc stage3-mpc ; \
41969 mv prev-mpc stage2-mpc ; : ; \
41971 @endif mpc
41972 @if isl
41973 @if test -d $(HOST_SUBDIR)/isl ; then \
41974 cd $(HOST_SUBDIR); mv isl stage3-isl ; \
41975 mv prev-isl stage2-isl ; : ; \
41977 @endif isl
41978 @if cloog
41979 @if test -d $(HOST_SUBDIR)/cloog ; then \
41980 cd $(HOST_SUBDIR); mv cloog stage3-cloog ; \
41981 mv prev-cloog stage2-cloog ; : ; \
41983 @endif cloog
41984 @if libelf
41985 @if test -d $(HOST_SUBDIR)/libelf ; then \
41986 cd $(HOST_SUBDIR); mv libelf stage3-libelf ; \
41987 mv prev-libelf stage2-libelf ; : ; \
41989 @endif libelf
41990 @if gold
41991 @if test -d $(HOST_SUBDIR)/gold ; then \
41992 cd $(HOST_SUBDIR); mv gold stage3-gold ; \
41993 mv prev-gold stage2-gold ; : ; \
41995 @endif gold
41996 @if intl
41997 @if test -d $(HOST_SUBDIR)/intl ; then \
41998 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
41999 mv prev-intl stage2-intl ; : ; \
42001 @endif intl
42002 @if ld
42003 @if test -d $(HOST_SUBDIR)/ld ; then \
42004 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
42005 mv prev-ld stage2-ld ; : ; \
42007 @endif ld
42008 @if libcpp
42009 @if test -d $(HOST_SUBDIR)/libcpp ; then \
42010 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
42011 mv prev-libcpp stage2-libcpp ; : ; \
42013 @endif libcpp
42014 @if libdecnumber
42015 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
42016 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
42017 mv prev-libdecnumber stage2-libdecnumber ; : ; \
42019 @endif libdecnumber
42020 @if libiberty
42021 @if test -d $(HOST_SUBDIR)/libiberty ; then \
42022 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
42023 mv prev-libiberty stage2-libiberty ; : ; \
42025 @endif libiberty
42026 @if zlib
42027 @if test -d $(HOST_SUBDIR)/zlib ; then \
42028 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
42029 mv prev-zlib stage2-zlib ; : ; \
42031 @endif zlib
42032 @if lto-plugin
42033 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
42034 cd $(HOST_SUBDIR); mv lto-plugin stage3-lto-plugin ; \
42035 mv prev-lto-plugin stage2-lto-plugin ; : ; \
42037 @endif lto-plugin
42038 @if test -d $(TARGET_SUBDIR) ; then \
42039 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
42040 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
42042 rm -f stage_current
42044 # Bubble a bug fix through all the stages up to stage 3. They are
42045 # remade, but not reconfigured. The next stage (if any) will not be
42046 # reconfigured either.
42047 .PHONY: stage3-bubble
42048 stage3-bubble:: stage2-bubble
42049 @r=`${PWD_COMMAND}`; export r; \
42050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42051 if test -f stage3-lean || test -f stage2-lean ; then \
42052 echo Skipping rebuild of stage3 ; \
42053 else \
42054 $(MAKE) stage3-start; \
42055 if $(LEAN); then \
42056 rm -rf stage1-* ; \
42057 $(STAMP) stage1-lean ; \
42058 fi; \
42059 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
42061 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
42063 .PHONY: all-stage3 clean-stage3
42064 do-clean: clean-stage3
42066 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42067 # only possibility, but now it conflicts with no-bootstrap rules
42068 @if gcc-bootstrap
42070 compare:
42071 @r=`${PWD_COMMAND}`; export r; \
42072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42073 if test -f stage2-lean; then \
42074 echo Cannot compare object files as stage 2 was deleted. ; \
42075 exit 0 ; \
42076 fi; \
42077 : $(MAKE); $(stage); \
42078 rm -f .bad_compare ; \
42079 echo Comparing stages 2 and 3 ; \
42080 sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \
42081 files=`find stage3-* -name "*$(objext)" -print | \
42082 sed -n s,^stage$$sed-,,p` ; \
42083 for file in $${files} ; do \
42084 f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \
42085 if test ! -f $$f1; then continue; fi; \
42086 $(do-compare) > /dev/null 2>&1; \
42087 if test $$? -eq 1; then \
42088 case $$file in \
42089 @compare_exclusions@) \
42090 echo warning: $$file differs ;; \
42091 *) \
42092 echo $$file differs >> .bad_compare ;; \
42093 esac ; \
42094 fi ; \
42095 done ; \
42096 if [ -f .bad_compare ]; then \
42097 echo "Bootstrap comparison failure!"; \
42098 cat .bad_compare; \
42099 exit 1; \
42100 else \
42101 echo Comparison successful.; \
42102 fi ; \
42103 $(STAMP) compare
42104 if $(LEAN); then \
42105 rm -rf stage2-*; \
42106 $(STAMP) stage2-lean; \
42111 .PHONY: bootstrap bootstrap-lean
42112 bootstrap:
42113 echo stage3 > stage_final
42114 @r=`${PWD_COMMAND}`; export r; \
42115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42116 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
42117 @: $(MAKE); $(unstage)
42118 @r=`${PWD_COMMAND}`; export r; \
42119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42120 TFLAGS="$(STAGE3_TFLAGS)"; \
42121 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42123 bootstrap-lean:
42124 echo stage3 > stage_final
42125 @r=`${PWD_COMMAND}`; export r; \
42126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42127 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
42128 @: $(MAKE); $(unstage)
42129 @r=`${PWD_COMMAND}`; export r; \
42130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42131 TFLAGS="$(STAGE3_TFLAGS)"; \
42132 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42135 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42136 distclean-stage2:: distclean-stage3
42137 .PHONY: distclean-stage3
42138 distclean-stage3::
42139 @: $(MAKE); $(stage)
42140 @test "`cat stage_last`" != stage3 || rm -f stage_last
42141 rm -rf stage3-* compare
42144 .PHONY: cleanstrap
42145 cleanstrap: do-distclean local-clean
42146 echo stage3 > stage_final
42147 @r=`${PWD_COMMAND}`; export r; \
42148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42149 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
42150 @: $(MAKE); $(unstage)
42151 @r=`${PWD_COMMAND}`; export r; \
42152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42153 TFLAGS="$(STAGE3_TFLAGS)"; \
42154 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42156 @endif gcc-bootstrap
42159 .PHONY: stage4-start stage4-end
42161 stage4-start::
42162 @: $(MAKE); $(stage); \
42163 echo stage4 > stage_current ; \
42164 echo stage4 > stage_last; \
42165 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
42166 @if bfd
42167 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
42168 mkdir stage4-bfd; \
42169 mv stage4-bfd bfd ; \
42170 mv stage3-bfd prev-bfd || test -f stage3-lean
42171 @endif bfd
42172 @if opcodes
42173 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
42174 mkdir stage4-opcodes; \
42175 mv stage4-opcodes opcodes ; \
42176 mv stage3-opcodes prev-opcodes || test -f stage3-lean
42177 @endif opcodes
42178 @if binutils
42179 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
42180 mkdir stage4-binutils; \
42181 mv stage4-binutils binutils ; \
42182 mv stage3-binutils prev-binutils || test -f stage3-lean
42183 @endif binutils
42184 @if gas
42185 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
42186 mkdir stage4-gas; \
42187 mv stage4-gas gas ; \
42188 mv stage3-gas prev-gas || test -f stage3-lean
42189 @endif gas
42190 @if gcc
42191 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
42192 mkdir stage4-gcc; \
42193 mv stage4-gcc gcc ; \
42194 mv stage3-gcc prev-gcc || test -f stage3-lean
42195 @endif gcc
42196 @if gmp
42197 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
42198 mkdir stage4-gmp; \
42199 mv stage4-gmp gmp ; \
42200 mv stage3-gmp prev-gmp || test -f stage3-lean
42201 @endif gmp
42202 @if mpfr
42203 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
42204 mkdir stage4-mpfr; \
42205 mv stage4-mpfr mpfr ; \
42206 mv stage3-mpfr prev-mpfr || test -f stage3-lean
42207 @endif mpfr
42208 @if mpc
42209 @cd $(HOST_SUBDIR); [ -d stage4-mpc ] || \
42210 mkdir stage4-mpc; \
42211 mv stage4-mpc mpc ; \
42212 mv stage3-mpc prev-mpc || test -f stage3-lean
42213 @endif mpc
42214 @if isl
42215 @cd $(HOST_SUBDIR); [ -d stage4-isl ] || \
42216 mkdir stage4-isl; \
42217 mv stage4-isl isl ; \
42218 mv stage3-isl prev-isl || test -f stage3-lean
42219 @endif isl
42220 @if cloog
42221 @cd $(HOST_SUBDIR); [ -d stage4-cloog ] || \
42222 mkdir stage4-cloog; \
42223 mv stage4-cloog cloog ; \
42224 mv stage3-cloog prev-cloog || test -f stage3-lean
42225 @endif cloog
42226 @if libelf
42227 @cd $(HOST_SUBDIR); [ -d stage4-libelf ] || \
42228 mkdir stage4-libelf; \
42229 mv stage4-libelf libelf ; \
42230 mv stage3-libelf prev-libelf || test -f stage3-lean
42231 @endif libelf
42232 @if gold
42233 @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \
42234 mkdir stage4-gold; \
42235 mv stage4-gold gold ; \
42236 mv stage3-gold prev-gold || test -f stage3-lean
42237 @endif gold
42238 @if intl
42239 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
42240 mkdir stage4-intl; \
42241 mv stage4-intl intl ; \
42242 mv stage3-intl prev-intl || test -f stage3-lean
42243 @endif intl
42244 @if ld
42245 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
42246 mkdir stage4-ld; \
42247 mv stage4-ld ld ; \
42248 mv stage3-ld prev-ld || test -f stage3-lean
42249 @endif ld
42250 @if libcpp
42251 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
42252 mkdir stage4-libcpp; \
42253 mv stage4-libcpp libcpp ; \
42254 mv stage3-libcpp prev-libcpp || test -f stage3-lean
42255 @endif libcpp
42256 @if libdecnumber
42257 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
42258 mkdir stage4-libdecnumber; \
42259 mv stage4-libdecnumber libdecnumber ; \
42260 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
42261 @endif libdecnumber
42262 @if libiberty
42263 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
42264 mkdir stage4-libiberty; \
42265 mv stage4-libiberty libiberty ; \
42266 mv stage3-libiberty prev-libiberty || test -f stage3-lean
42267 @endif libiberty
42268 @if zlib
42269 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
42270 mkdir stage4-zlib; \
42271 mv stage4-zlib zlib ; \
42272 mv stage3-zlib prev-zlib || test -f stage3-lean
42273 @endif zlib
42274 @if lto-plugin
42275 @cd $(HOST_SUBDIR); [ -d stage4-lto-plugin ] || \
42276 mkdir stage4-lto-plugin; \
42277 mv stage4-lto-plugin lto-plugin ; \
42278 mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean
42279 @endif lto-plugin
42280 @[ -d stage4-$(TARGET_SUBDIR) ] || \
42281 mkdir stage4-$(TARGET_SUBDIR); \
42282 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
42283 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
42285 stage4-end::
42286 @if bfd
42287 @if test -d $(HOST_SUBDIR)/bfd ; then \
42288 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
42289 mv prev-bfd stage3-bfd ; : ; \
42291 @endif bfd
42292 @if opcodes
42293 @if test -d $(HOST_SUBDIR)/opcodes ; then \
42294 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
42295 mv prev-opcodes stage3-opcodes ; : ; \
42297 @endif opcodes
42298 @if binutils
42299 @if test -d $(HOST_SUBDIR)/binutils ; then \
42300 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
42301 mv prev-binutils stage3-binutils ; : ; \
42303 @endif binutils
42304 @if gas
42305 @if test -d $(HOST_SUBDIR)/gas ; then \
42306 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
42307 mv prev-gas stage3-gas ; : ; \
42309 @endif gas
42310 @if gcc
42311 @if test -d $(HOST_SUBDIR)/gcc ; then \
42312 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
42313 mv prev-gcc stage3-gcc ; : ; \
42315 @endif gcc
42316 @if gmp
42317 @if test -d $(HOST_SUBDIR)/gmp ; then \
42318 cd $(HOST_SUBDIR); mv gmp stage4-gmp ; \
42319 mv prev-gmp stage3-gmp ; : ; \
42321 @endif gmp
42322 @if mpfr
42323 @if test -d $(HOST_SUBDIR)/mpfr ; then \
42324 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr ; \
42325 mv prev-mpfr stage3-mpfr ; : ; \
42327 @endif mpfr
42328 @if mpc
42329 @if test -d $(HOST_SUBDIR)/mpc ; then \
42330 cd $(HOST_SUBDIR); mv mpc stage4-mpc ; \
42331 mv prev-mpc stage3-mpc ; : ; \
42333 @endif mpc
42334 @if isl
42335 @if test -d $(HOST_SUBDIR)/isl ; then \
42336 cd $(HOST_SUBDIR); mv isl stage4-isl ; \
42337 mv prev-isl stage3-isl ; : ; \
42339 @endif isl
42340 @if cloog
42341 @if test -d $(HOST_SUBDIR)/cloog ; then \
42342 cd $(HOST_SUBDIR); mv cloog stage4-cloog ; \
42343 mv prev-cloog stage3-cloog ; : ; \
42345 @endif cloog
42346 @if libelf
42347 @if test -d $(HOST_SUBDIR)/libelf ; then \
42348 cd $(HOST_SUBDIR); mv libelf stage4-libelf ; \
42349 mv prev-libelf stage3-libelf ; : ; \
42351 @endif libelf
42352 @if gold
42353 @if test -d $(HOST_SUBDIR)/gold ; then \
42354 cd $(HOST_SUBDIR); mv gold stage4-gold ; \
42355 mv prev-gold stage3-gold ; : ; \
42357 @endif gold
42358 @if intl
42359 @if test -d $(HOST_SUBDIR)/intl ; then \
42360 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
42361 mv prev-intl stage3-intl ; : ; \
42363 @endif intl
42364 @if ld
42365 @if test -d $(HOST_SUBDIR)/ld ; then \
42366 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
42367 mv prev-ld stage3-ld ; : ; \
42369 @endif ld
42370 @if libcpp
42371 @if test -d $(HOST_SUBDIR)/libcpp ; then \
42372 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
42373 mv prev-libcpp stage3-libcpp ; : ; \
42375 @endif libcpp
42376 @if libdecnumber
42377 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
42378 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
42379 mv prev-libdecnumber stage3-libdecnumber ; : ; \
42381 @endif libdecnumber
42382 @if libiberty
42383 @if test -d $(HOST_SUBDIR)/libiberty ; then \
42384 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
42385 mv prev-libiberty stage3-libiberty ; : ; \
42387 @endif libiberty
42388 @if zlib
42389 @if test -d $(HOST_SUBDIR)/zlib ; then \
42390 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
42391 mv prev-zlib stage3-zlib ; : ; \
42393 @endif zlib
42394 @if lto-plugin
42395 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
42396 cd $(HOST_SUBDIR); mv lto-plugin stage4-lto-plugin ; \
42397 mv prev-lto-plugin stage3-lto-plugin ; : ; \
42399 @endif lto-plugin
42400 @if test -d $(TARGET_SUBDIR) ; then \
42401 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
42402 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
42404 rm -f stage_current
42406 # Bubble a bug fix through all the stages up to stage 4. They are
42407 # remade, but not reconfigured. The next stage (if any) will not be
42408 # reconfigured either.
42409 .PHONY: stage4-bubble
42410 stage4-bubble:: stage3-bubble
42411 @r=`${PWD_COMMAND}`; export r; \
42412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42413 if test -f stage4-lean || test -f stage3-lean ; then \
42414 echo Skipping rebuild of stage4 ; \
42415 else \
42416 $(MAKE) stage4-start; \
42417 if $(LEAN); then \
42418 rm -rf stage2-* ; \
42419 $(STAMP) stage2-lean ; \
42420 fi; \
42421 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
42423 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
42425 .PHONY: all-stage4 clean-stage4
42426 do-clean: clean-stage4
42428 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42429 # only possibility, but now it conflicts with no-bootstrap rules
42430 @if gcc-bootstrap
42432 compare3:
42433 @r=`${PWD_COMMAND}`; export r; \
42434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42435 if test -f stage3-lean; then \
42436 echo Cannot compare object files as stage 3 was deleted. ; \
42437 exit 0 ; \
42438 fi; \
42439 : $(MAKE); $(stage); \
42440 rm -f .bad_compare ; \
42441 echo Comparing stages 3 and 4 ; \
42442 sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \
42443 files=`find stage4-* -name "*$(objext)" -print | \
42444 sed -n s,^stage$$sed-,,p` ; \
42445 for file in $${files} ; do \
42446 f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \
42447 if test ! -f $$f1; then continue; fi; \
42448 $(do-compare3) > /dev/null 2>&1; \
42449 if test $$? -eq 1; then \
42450 case $$file in \
42451 @compare_exclusions@) \
42452 echo warning: $$file differs ;; \
42453 *) \
42454 echo $$file differs >> .bad_compare ;; \
42455 esac ; \
42456 fi ; \
42457 done ; \
42458 if [ -f .bad_compare ]; then \
42459 echo "Bootstrap comparison failure!"; \
42460 cat .bad_compare; \
42461 exit 1; \
42462 else \
42463 echo Comparison successful.; \
42464 fi ; \
42465 $(STAMP) compare3
42466 if $(LEAN); then \
42467 rm -rf stage3-*; \
42468 $(STAMP) stage3-lean; \
42473 .PHONY: bootstrap4 bootstrap4-lean
42474 bootstrap4:
42475 echo stage4 > stage_final
42476 @r=`${PWD_COMMAND}`; export r; \
42477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42478 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
42479 @: $(MAKE); $(unstage)
42480 @r=`${PWD_COMMAND}`; export r; \
42481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42482 TFLAGS="$(STAGE4_TFLAGS)"; \
42483 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42485 bootstrap4-lean:
42486 echo stage4 > stage_final
42487 @r=`${PWD_COMMAND}`; export r; \
42488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42489 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
42490 @: $(MAKE); $(unstage)
42491 @r=`${PWD_COMMAND}`; export r; \
42492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42493 TFLAGS="$(STAGE4_TFLAGS)"; \
42494 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42497 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42498 distclean-stage3:: distclean-stage4
42499 .PHONY: distclean-stage4
42500 distclean-stage4::
42501 @: $(MAKE); $(stage)
42502 @test "`cat stage_last`" != stage4 || rm -f stage_last
42503 rm -rf stage4-* compare3
42506 @endif gcc-bootstrap
42509 .PHONY: stageprofile-start stageprofile-end
42511 stageprofile-start::
42512 @: $(MAKE); $(stage); \
42513 echo stageprofile > stage_current ; \
42514 echo stageprofile > stage_last; \
42515 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
42516 @if bfd
42517 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
42518 mkdir stageprofile-bfd; \
42519 mv stageprofile-bfd bfd ; \
42520 mv stage1-bfd prev-bfd || test -f stage1-lean
42521 @endif bfd
42522 @if opcodes
42523 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
42524 mkdir stageprofile-opcodes; \
42525 mv stageprofile-opcodes opcodes ; \
42526 mv stage1-opcodes prev-opcodes || test -f stage1-lean
42527 @endif opcodes
42528 @if binutils
42529 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
42530 mkdir stageprofile-binutils; \
42531 mv stageprofile-binutils binutils ; \
42532 mv stage1-binutils prev-binutils || test -f stage1-lean
42533 @endif binutils
42534 @if gas
42535 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
42536 mkdir stageprofile-gas; \
42537 mv stageprofile-gas gas ; \
42538 mv stage1-gas prev-gas || test -f stage1-lean
42539 @endif gas
42540 @if gcc
42541 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
42542 mkdir stageprofile-gcc; \
42543 mv stageprofile-gcc gcc ; \
42544 mv stage1-gcc prev-gcc || test -f stage1-lean
42545 @endif gcc
42546 @if gmp
42547 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
42548 mkdir stageprofile-gmp; \
42549 mv stageprofile-gmp gmp ; \
42550 mv stage1-gmp prev-gmp || test -f stage1-lean
42551 @endif gmp
42552 @if mpfr
42553 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
42554 mkdir stageprofile-mpfr; \
42555 mv stageprofile-mpfr mpfr ; \
42556 mv stage1-mpfr prev-mpfr || test -f stage1-lean
42557 @endif mpfr
42558 @if mpc
42559 @cd $(HOST_SUBDIR); [ -d stageprofile-mpc ] || \
42560 mkdir stageprofile-mpc; \
42561 mv stageprofile-mpc mpc ; \
42562 mv stage1-mpc prev-mpc || test -f stage1-lean
42563 @endif mpc
42564 @if isl
42565 @cd $(HOST_SUBDIR); [ -d stageprofile-isl ] || \
42566 mkdir stageprofile-isl; \
42567 mv stageprofile-isl isl ; \
42568 mv stage1-isl prev-isl || test -f stage1-lean
42569 @endif isl
42570 @if cloog
42571 @cd $(HOST_SUBDIR); [ -d stageprofile-cloog ] || \
42572 mkdir stageprofile-cloog; \
42573 mv stageprofile-cloog cloog ; \
42574 mv stage1-cloog prev-cloog || test -f stage1-lean
42575 @endif cloog
42576 @if libelf
42577 @cd $(HOST_SUBDIR); [ -d stageprofile-libelf ] || \
42578 mkdir stageprofile-libelf; \
42579 mv stageprofile-libelf libelf ; \
42580 mv stage1-libelf prev-libelf || test -f stage1-lean
42581 @endif libelf
42582 @if gold
42583 @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \
42584 mkdir stageprofile-gold; \
42585 mv stageprofile-gold gold ; \
42586 mv stage1-gold prev-gold || test -f stage1-lean
42587 @endif gold
42588 @if intl
42589 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
42590 mkdir stageprofile-intl; \
42591 mv stageprofile-intl intl ; \
42592 mv stage1-intl prev-intl || test -f stage1-lean
42593 @endif intl
42594 @if ld
42595 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
42596 mkdir stageprofile-ld; \
42597 mv stageprofile-ld ld ; \
42598 mv stage1-ld prev-ld || test -f stage1-lean
42599 @endif ld
42600 @if libcpp
42601 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
42602 mkdir stageprofile-libcpp; \
42603 mv stageprofile-libcpp libcpp ; \
42604 mv stage1-libcpp prev-libcpp || test -f stage1-lean
42605 @endif libcpp
42606 @if libdecnumber
42607 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
42608 mkdir stageprofile-libdecnumber; \
42609 mv stageprofile-libdecnumber libdecnumber ; \
42610 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
42611 @endif libdecnumber
42612 @if libiberty
42613 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
42614 mkdir stageprofile-libiberty; \
42615 mv stageprofile-libiberty libiberty ; \
42616 mv stage1-libiberty prev-libiberty || test -f stage1-lean
42617 @endif libiberty
42618 @if zlib
42619 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
42620 mkdir stageprofile-zlib; \
42621 mv stageprofile-zlib zlib ; \
42622 mv stage1-zlib prev-zlib || test -f stage1-lean
42623 @endif zlib
42624 @if lto-plugin
42625 @cd $(HOST_SUBDIR); [ -d stageprofile-lto-plugin ] || \
42626 mkdir stageprofile-lto-plugin; \
42627 mv stageprofile-lto-plugin lto-plugin ; \
42628 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
42629 @endif lto-plugin
42630 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
42631 mkdir stageprofile-$(TARGET_SUBDIR); \
42632 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
42633 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
42635 stageprofile-end::
42636 @if bfd
42637 @if test -d $(HOST_SUBDIR)/bfd ; then \
42638 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
42639 mv prev-bfd stage1-bfd ; : ; \
42641 @endif bfd
42642 @if opcodes
42643 @if test -d $(HOST_SUBDIR)/opcodes ; then \
42644 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
42645 mv prev-opcodes stage1-opcodes ; : ; \
42647 @endif opcodes
42648 @if binutils
42649 @if test -d $(HOST_SUBDIR)/binutils ; then \
42650 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
42651 mv prev-binutils stage1-binutils ; : ; \
42653 @endif binutils
42654 @if gas
42655 @if test -d $(HOST_SUBDIR)/gas ; then \
42656 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
42657 mv prev-gas stage1-gas ; : ; \
42659 @endif gas
42660 @if gcc
42661 @if test -d $(HOST_SUBDIR)/gcc ; then \
42662 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
42663 mv prev-gcc stage1-gcc ; : ; \
42665 @endif gcc
42666 @if gmp
42667 @if test -d $(HOST_SUBDIR)/gmp ; then \
42668 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp ; \
42669 mv prev-gmp stage1-gmp ; : ; \
42671 @endif gmp
42672 @if mpfr
42673 @if test -d $(HOST_SUBDIR)/mpfr ; then \
42674 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr ; \
42675 mv prev-mpfr stage1-mpfr ; : ; \
42677 @endif mpfr
42678 @if mpc
42679 @if test -d $(HOST_SUBDIR)/mpc ; then \
42680 cd $(HOST_SUBDIR); mv mpc stageprofile-mpc ; \
42681 mv prev-mpc stage1-mpc ; : ; \
42683 @endif mpc
42684 @if isl
42685 @if test -d $(HOST_SUBDIR)/isl ; then \
42686 cd $(HOST_SUBDIR); mv isl stageprofile-isl ; \
42687 mv prev-isl stage1-isl ; : ; \
42689 @endif isl
42690 @if cloog
42691 @if test -d $(HOST_SUBDIR)/cloog ; then \
42692 cd $(HOST_SUBDIR); mv cloog stageprofile-cloog ; \
42693 mv prev-cloog stage1-cloog ; : ; \
42695 @endif cloog
42696 @if libelf
42697 @if test -d $(HOST_SUBDIR)/libelf ; then \
42698 cd $(HOST_SUBDIR); mv libelf stageprofile-libelf ; \
42699 mv prev-libelf stage1-libelf ; : ; \
42701 @endif libelf
42702 @if gold
42703 @if test -d $(HOST_SUBDIR)/gold ; then \
42704 cd $(HOST_SUBDIR); mv gold stageprofile-gold ; \
42705 mv prev-gold stage1-gold ; : ; \
42707 @endif gold
42708 @if intl
42709 @if test -d $(HOST_SUBDIR)/intl ; then \
42710 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
42711 mv prev-intl stage1-intl ; : ; \
42713 @endif intl
42714 @if ld
42715 @if test -d $(HOST_SUBDIR)/ld ; then \
42716 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
42717 mv prev-ld stage1-ld ; : ; \
42719 @endif ld
42720 @if libcpp
42721 @if test -d $(HOST_SUBDIR)/libcpp ; then \
42722 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
42723 mv prev-libcpp stage1-libcpp ; : ; \
42725 @endif libcpp
42726 @if libdecnumber
42727 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
42728 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
42729 mv prev-libdecnumber stage1-libdecnumber ; : ; \
42731 @endif libdecnumber
42732 @if libiberty
42733 @if test -d $(HOST_SUBDIR)/libiberty ; then \
42734 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
42735 mv prev-libiberty stage1-libiberty ; : ; \
42737 @endif libiberty
42738 @if zlib
42739 @if test -d $(HOST_SUBDIR)/zlib ; then \
42740 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
42741 mv prev-zlib stage1-zlib ; : ; \
42743 @endif zlib
42744 @if lto-plugin
42745 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
42746 cd $(HOST_SUBDIR); mv lto-plugin stageprofile-lto-plugin ; \
42747 mv prev-lto-plugin stage1-lto-plugin ; : ; \
42749 @endif lto-plugin
42750 @if test -d $(TARGET_SUBDIR) ; then \
42751 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
42752 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
42754 rm -f stage_current
42756 # Bubble a bug fix through all the stages up to stage profile. They are
42757 # remade, but not reconfigured. The next stage (if any) will not be
42758 # reconfigured either.
42759 .PHONY: stageprofile-bubble
42760 stageprofile-bubble:: stage1-bubble
42761 @r=`${PWD_COMMAND}`; export r; \
42762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42763 if test -f stageprofile-lean || test -f stage1-lean ; then \
42764 echo Skipping rebuild of stageprofile ; \
42765 else \
42766 $(MAKE) stageprofile-start; \
42767 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
42770 .PHONY: all-stageprofile clean-stageprofile
42771 do-clean: clean-stageprofile
42773 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42774 # only possibility, but now it conflicts with no-bootstrap rules
42775 @if gcc-bootstrap
42780 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42781 distclean-stage1:: distclean-stageprofile
42782 .PHONY: distclean-stageprofile
42783 distclean-stageprofile::
42784 @: $(MAKE); $(stage)
42785 @test "`cat stage_last`" != stageprofile || rm -f stage_last
42786 rm -rf stageprofile-*
42789 @endif gcc-bootstrap
42792 .PHONY: stagefeedback-start stagefeedback-end
42794 stagefeedback-start::
42795 @: $(MAKE); $(stage); \
42796 echo stagefeedback > stage_current ; \
42797 echo stagefeedback > stage_last; \
42798 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
42799 @if bfd
42800 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
42801 mkdir stagefeedback-bfd; \
42802 mv stagefeedback-bfd bfd ; \
42803 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
42804 @endif bfd
42805 @if opcodes
42806 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
42807 mkdir stagefeedback-opcodes; \
42808 mv stagefeedback-opcodes opcodes ; \
42809 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
42810 @endif opcodes
42811 @if binutils
42812 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
42813 mkdir stagefeedback-binutils; \
42814 mv stagefeedback-binutils binutils ; \
42815 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
42816 @endif binutils
42817 @if gas
42818 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
42819 mkdir stagefeedback-gas; \
42820 mv stagefeedback-gas gas ; \
42821 mv stageprofile-gas prev-gas || test -f stageprofile-lean
42822 @endif gas
42823 @if gcc
42824 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
42825 mkdir stagefeedback-gcc; \
42826 mv stagefeedback-gcc gcc ; \
42827 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
42828 @endif gcc
42829 @if gmp
42830 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
42831 mkdir stagefeedback-gmp; \
42832 mv stagefeedback-gmp gmp ; \
42833 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
42834 @endif gmp
42835 @if mpfr
42836 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
42837 mkdir stagefeedback-mpfr; \
42838 mv stagefeedback-mpfr mpfr ; \
42839 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
42840 @endif mpfr
42841 @if mpc
42842 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpc ] || \
42843 mkdir stagefeedback-mpc; \
42844 mv stagefeedback-mpc mpc ; \
42845 mv stageprofile-mpc prev-mpc || test -f stageprofile-lean
42846 @endif mpc
42847 @if isl
42848 @cd $(HOST_SUBDIR); [ -d stagefeedback-isl ] || \
42849 mkdir stagefeedback-isl; \
42850 mv stagefeedback-isl isl ; \
42851 mv stageprofile-isl prev-isl || test -f stageprofile-lean
42852 @endif isl
42853 @if cloog
42854 @cd $(HOST_SUBDIR); [ -d stagefeedback-cloog ] || \
42855 mkdir stagefeedback-cloog; \
42856 mv stagefeedback-cloog cloog ; \
42857 mv stageprofile-cloog prev-cloog || test -f stageprofile-lean
42858 @endif cloog
42859 @if libelf
42860 @cd $(HOST_SUBDIR); [ -d stagefeedback-libelf ] || \
42861 mkdir stagefeedback-libelf; \
42862 mv stagefeedback-libelf libelf ; \
42863 mv stageprofile-libelf prev-libelf || test -f stageprofile-lean
42864 @endif libelf
42865 @if gold
42866 @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \
42867 mkdir stagefeedback-gold; \
42868 mv stagefeedback-gold gold ; \
42869 mv stageprofile-gold prev-gold || test -f stageprofile-lean
42870 @endif gold
42871 @if intl
42872 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
42873 mkdir stagefeedback-intl; \
42874 mv stagefeedback-intl intl ; \
42875 mv stageprofile-intl prev-intl || test -f stageprofile-lean
42876 @endif intl
42877 @if ld
42878 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
42879 mkdir stagefeedback-ld; \
42880 mv stagefeedback-ld ld ; \
42881 mv stageprofile-ld prev-ld || test -f stageprofile-lean
42882 @endif ld
42883 @if libcpp
42884 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
42885 mkdir stagefeedback-libcpp; \
42886 mv stagefeedback-libcpp libcpp ; \
42887 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
42888 @endif libcpp
42889 @if libdecnumber
42890 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
42891 mkdir stagefeedback-libdecnumber; \
42892 mv stagefeedback-libdecnumber libdecnumber ; \
42893 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
42894 @endif libdecnumber
42895 @if libiberty
42896 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
42897 mkdir stagefeedback-libiberty; \
42898 mv stagefeedback-libiberty libiberty ; \
42899 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
42900 @endif libiberty
42901 @if zlib
42902 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
42903 mkdir stagefeedback-zlib; \
42904 mv stagefeedback-zlib zlib ; \
42905 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
42906 @endif zlib
42907 @if lto-plugin
42908 @cd $(HOST_SUBDIR); [ -d stagefeedback-lto-plugin ] || \
42909 mkdir stagefeedback-lto-plugin; \
42910 mv stagefeedback-lto-plugin lto-plugin ; \
42911 mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean
42912 @endif lto-plugin
42913 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
42914 mkdir stagefeedback-$(TARGET_SUBDIR); \
42915 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
42916 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
42918 stagefeedback-end::
42919 @if bfd
42920 @if test -d $(HOST_SUBDIR)/bfd ; then \
42921 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
42922 mv prev-bfd stageprofile-bfd ; : ; \
42924 @endif bfd
42925 @if opcodes
42926 @if test -d $(HOST_SUBDIR)/opcodes ; then \
42927 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
42928 mv prev-opcodes stageprofile-opcodes ; : ; \
42930 @endif opcodes
42931 @if binutils
42932 @if test -d $(HOST_SUBDIR)/binutils ; then \
42933 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
42934 mv prev-binutils stageprofile-binutils ; : ; \
42936 @endif binutils
42937 @if gas
42938 @if test -d $(HOST_SUBDIR)/gas ; then \
42939 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
42940 mv prev-gas stageprofile-gas ; : ; \
42942 @endif gas
42943 @if gcc
42944 @if test -d $(HOST_SUBDIR)/gcc ; then \
42945 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
42946 mv prev-gcc stageprofile-gcc ; : ; \
42948 @endif gcc
42949 @if gmp
42950 @if test -d $(HOST_SUBDIR)/gmp ; then \
42951 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp ; \
42952 mv prev-gmp stageprofile-gmp ; : ; \
42954 @endif gmp
42955 @if mpfr
42956 @if test -d $(HOST_SUBDIR)/mpfr ; then \
42957 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr ; \
42958 mv prev-mpfr stageprofile-mpfr ; : ; \
42960 @endif mpfr
42961 @if mpc
42962 @if test -d $(HOST_SUBDIR)/mpc ; then \
42963 cd $(HOST_SUBDIR); mv mpc stagefeedback-mpc ; \
42964 mv prev-mpc stageprofile-mpc ; : ; \
42966 @endif mpc
42967 @if isl
42968 @if test -d $(HOST_SUBDIR)/isl ; then \
42969 cd $(HOST_SUBDIR); mv isl stagefeedback-isl ; \
42970 mv prev-isl stageprofile-isl ; : ; \
42972 @endif isl
42973 @if cloog
42974 @if test -d $(HOST_SUBDIR)/cloog ; then \
42975 cd $(HOST_SUBDIR); mv cloog stagefeedback-cloog ; \
42976 mv prev-cloog stageprofile-cloog ; : ; \
42978 @endif cloog
42979 @if libelf
42980 @if test -d $(HOST_SUBDIR)/libelf ; then \
42981 cd $(HOST_SUBDIR); mv libelf stagefeedback-libelf ; \
42982 mv prev-libelf stageprofile-libelf ; : ; \
42984 @endif libelf
42985 @if gold
42986 @if test -d $(HOST_SUBDIR)/gold ; then \
42987 cd $(HOST_SUBDIR); mv gold stagefeedback-gold ; \
42988 mv prev-gold stageprofile-gold ; : ; \
42990 @endif gold
42991 @if intl
42992 @if test -d $(HOST_SUBDIR)/intl ; then \
42993 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
42994 mv prev-intl stageprofile-intl ; : ; \
42996 @endif intl
42997 @if ld
42998 @if test -d $(HOST_SUBDIR)/ld ; then \
42999 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
43000 mv prev-ld stageprofile-ld ; : ; \
43002 @endif ld
43003 @if libcpp
43004 @if test -d $(HOST_SUBDIR)/libcpp ; then \
43005 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
43006 mv prev-libcpp stageprofile-libcpp ; : ; \
43008 @endif libcpp
43009 @if libdecnumber
43010 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
43011 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
43012 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
43014 @endif libdecnumber
43015 @if libiberty
43016 @if test -d $(HOST_SUBDIR)/libiberty ; then \
43017 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
43018 mv prev-libiberty stageprofile-libiberty ; : ; \
43020 @endif libiberty
43021 @if zlib
43022 @if test -d $(HOST_SUBDIR)/zlib ; then \
43023 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
43024 mv prev-zlib stageprofile-zlib ; : ; \
43026 @endif zlib
43027 @if lto-plugin
43028 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
43029 cd $(HOST_SUBDIR); mv lto-plugin stagefeedback-lto-plugin ; \
43030 mv prev-lto-plugin stageprofile-lto-plugin ; : ; \
43032 @endif lto-plugin
43033 @if test -d $(TARGET_SUBDIR) ; then \
43034 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
43035 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
43037 rm -f stage_current
43039 # Bubble a bug fix through all the stages up to stage feedback. They are
43040 # remade, but not reconfigured. The next stage (if any) will not be
43041 # reconfigured either.
43042 .PHONY: stagefeedback-bubble
43043 stagefeedback-bubble:: stageprofile-bubble
43044 @r=`${PWD_COMMAND}`; export r; \
43045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43046 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
43047 echo Skipping rebuild of stagefeedback ; \
43048 else \
43049 $(MAKE) stagefeedback-start; \
43050 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
43053 .PHONY: all-stagefeedback clean-stagefeedback
43054 do-clean: clean-stagefeedback
43056 # FIXME: Will not need to be conditional when toplevel bootstrap is the
43057 # only possibility, but now it conflicts with no-bootstrap rules
43058 @if gcc-bootstrap
43062 .PHONY: profiledbootstrap profiledbootstrap-lean
43063 profiledbootstrap:
43064 echo stagefeedback > stage_final
43065 @r=`${PWD_COMMAND}`; export r; \
43066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43067 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
43068 @: $(MAKE); $(unstage)
43069 @r=`${PWD_COMMAND}`; export r; \
43070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43071 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
43072 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
43074 profiledbootstrap-lean:
43075 echo stagefeedback > stage_final
43076 @r=`${PWD_COMMAND}`; export r; \
43077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43078 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
43079 @: $(MAKE); $(unstage)
43080 @r=`${PWD_COMMAND}`; export r; \
43081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43082 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
43083 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
43086 # Rules to wipe a stage and all the following ones, also used for cleanstrap
43087 distclean-stageprofile:: distclean-stagefeedback
43088 .PHONY: distclean-stagefeedback
43089 distclean-stagefeedback::
43090 @: $(MAKE); $(stage)
43091 @test "`cat stage_last`" != stagefeedback || rm -f stage_last
43092 rm -rf stagefeedback-*
43095 @endif gcc-bootstrap
43099 stageprofile-end::
43100 $(MAKE) distclean-stagefeedback
43102 stagefeedback-start::
43103 @r=`${PWD_COMMAND}`; export r; \
43104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43105 for i in prev-*; do \
43106 j=`echo $$i | sed s/^prev-//` ; \
43107 cd $$r/$$i && \
43108 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
43109 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
43110 done
43112 @if gcc-bootstrap
43113 do-distclean: distclean-stage1
43115 # Provide a GCC build when we're building target libraries. This does
43116 # not work as a dependency, just as the minimum necessary to avoid errors.
43117 stage_last:
43118 @r=`${PWD_COMMAND}`; export r; \
43119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43120 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
43122 # Same as unstage, but not phony and defaulting to stage1-start. We place
43123 # it in the dependency so that for example `make -j3 all-gcc' works.
43124 stage_current:
43125 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
43127 .PHONY: restrap
43128 restrap::
43129 @: $(MAKE); $(stage)
43130 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagefeedback-*
43131 restrap:: all
43132 @endif gcc-bootstrap
43134 # --------------------------------------
43135 # Dependencies between different modules
43136 # --------------------------------------
43138 # Generic dependencies for target modules on host stuff, especially gcc
43139 @if gcc-bootstrap
43140 configure-stage1-target-libstdc++-v3: maybe-all-stage1-gcc
43141 configure-stage2-target-libstdc++-v3: maybe-all-stage2-gcc
43142 configure-stage3-target-libstdc++-v3: maybe-all-stage3-gcc
43143 configure-stage4-target-libstdc++-v3: maybe-all-stage4-gcc
43144 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-gcc
43145 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-gcc
43146 configure-target-libmudflap: stage_last
43147 configure-target-libssp: stage_last
43148 configure-target-newlib: stage_last
43149 configure-stage1-target-libgcc: maybe-all-stage1-gcc
43150 configure-stage2-target-libgcc: maybe-all-stage2-gcc
43151 configure-stage3-target-libgcc: maybe-all-stage3-gcc
43152 configure-stage4-target-libgcc: maybe-all-stage4-gcc
43153 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
43154 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
43155 configure-target-libquadmath: stage_last
43156 configure-target-libgfortran: stage_last
43157 configure-target-libobjc: stage_last
43158 configure-target-libgo: stage_last
43159 configure-target-libtermcap: stage_last
43160 configure-target-winsup: stage_last
43161 configure-target-libgloss: stage_last
43162 configure-target-libffi: stage_last
43163 configure-target-libjava: stage_last
43164 configure-target-zlib: stage_last
43165 configure-target-boehm-gc: stage_last
43166 configure-target-rda: stage_last
43167 configure-target-libada: stage_last
43168 configure-stage1-target-libgomp: maybe-all-stage1-gcc
43169 configure-stage2-target-libgomp: maybe-all-stage2-gcc
43170 configure-stage3-target-libgomp: maybe-all-stage3-gcc
43171 configure-stage4-target-libgomp: maybe-all-stage4-gcc
43172 configure-stageprofile-target-libgomp: maybe-all-stageprofile-gcc
43173 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-gcc
43174 configure-target-libitm: stage_last
43175 configure-target-libatomic: stage_last
43176 @endif gcc-bootstrap
43178 @if gcc-no-bootstrap
43179 configure-target-libstdc++-v3: maybe-all-gcc
43180 configure-target-libmudflap: maybe-all-gcc
43181 configure-target-libssp: maybe-all-gcc
43182 configure-target-newlib: maybe-all-gcc
43183 configure-target-libgcc: maybe-all-gcc
43184 configure-target-libquadmath: maybe-all-gcc
43185 configure-target-libgfortran: maybe-all-gcc
43186 configure-target-libobjc: maybe-all-gcc
43187 configure-target-libgo: maybe-all-gcc
43188 configure-target-libtermcap: maybe-all-gcc
43189 configure-target-winsup: maybe-all-gcc
43190 configure-target-libgloss: maybe-all-gcc
43191 configure-target-libffi: maybe-all-gcc
43192 configure-target-libjava: maybe-all-gcc
43193 configure-target-zlib: maybe-all-gcc
43194 configure-target-boehm-gc: maybe-all-gcc
43195 configure-target-rda: maybe-all-gcc
43196 configure-target-libada: maybe-all-gcc
43197 configure-target-libgomp: maybe-all-gcc
43198 configure-target-libitm: maybe-all-gcc
43199 configure-target-libatomic: maybe-all-gcc
43200 @endif gcc-no-bootstrap
43203 # There are two types of dependencies here: 'hard' dependencies, where one
43204 # module simply won't build without the other; and 'soft' dependencies, where
43205 # if the depended-on module is missing, the depending module will do without
43206 # or find a substitute somewhere (perhaps installed). Soft dependencies
43207 # are made here to depend on a 'maybe-' target. If you're not sure,
43208 # it's safer to use a soft dependency.
43215 # With all the machinery above in place, it is pretty easy to generate
43216 # dependencies. Host dependencies are a bit more complex because we have
43217 # to check for bootstrap/prebootstrap dependencies. To resolve
43218 # prebootstrap dependencies, prebootstrap modules are gathered in
43219 # a hash table.
43220 all-build-bison: maybe-all-build-texinfo
43221 all-build-flex: maybe-all-build-texinfo
43222 all-build-flex: maybe-all-build-bison
43223 all-build-flex: maybe-all-build-m4
43224 all-build-libiberty: maybe-all-build-texinfo
43225 all-build-m4: maybe-all-build-texinfo
43226 all-build-fixincludes: maybe-all-build-libiberty
43227 configure-gcc: maybe-configure-intl
43229 configure-stage1-gcc: maybe-configure-stage1-intl
43230 configure-stage2-gcc: maybe-configure-stage2-intl
43231 configure-stage3-gcc: maybe-configure-stage3-intl
43232 configure-stage4-gcc: maybe-configure-stage4-intl
43233 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
43234 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
43235 configure-gcc: maybe-all-lto-plugin
43237 configure-stage1-gcc: maybe-all-stage1-lto-plugin
43238 configure-stage2-gcc: maybe-all-stage2-lto-plugin
43239 configure-stage3-gcc: maybe-all-stage3-lto-plugin
43240 configure-stage4-gcc: maybe-all-stage4-lto-plugin
43241 configure-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
43242 configure-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
43243 configure-gcc: maybe-all-binutils
43245 configure-stage1-gcc: maybe-all-stage1-binutils
43246 configure-stage2-gcc: maybe-all-stage2-binutils
43247 configure-stage3-gcc: maybe-all-stage3-binutils
43248 configure-stage4-gcc: maybe-all-stage4-binutils
43249 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
43250 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
43251 configure-gcc: maybe-all-gas
43253 configure-stage1-gcc: maybe-all-stage1-gas
43254 configure-stage2-gcc: maybe-all-stage2-gas
43255 configure-stage3-gcc: maybe-all-stage3-gas
43256 configure-stage4-gcc: maybe-all-stage4-gas
43257 configure-stageprofile-gcc: maybe-all-stageprofile-gas
43258 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
43259 configure-gcc: maybe-all-ld
43261 configure-stage1-gcc: maybe-all-stage1-ld
43262 configure-stage2-gcc: maybe-all-stage2-ld
43263 configure-stage3-gcc: maybe-all-stage3-ld
43264 configure-stage4-gcc: maybe-all-stage4-ld
43265 configure-stageprofile-gcc: maybe-all-stageprofile-ld
43266 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
43267 configure-gcc: maybe-all-gold
43269 configure-stage1-gcc: maybe-all-stage1-gold
43270 configure-stage2-gcc: maybe-all-stage2-gold
43271 configure-stage3-gcc: maybe-all-stage3-gold
43272 configure-stage4-gcc: maybe-all-stage4-gold
43273 configure-stageprofile-gcc: maybe-all-stageprofile-gold
43274 configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
43275 configure-gcc: maybe-all-libelf
43277 configure-stage1-gcc: maybe-all-stage1-libelf
43278 configure-stage2-gcc: maybe-all-stage2-libelf
43279 configure-stage3-gcc: maybe-all-stage3-libelf
43280 configure-stage4-gcc: maybe-all-stage4-libelf
43281 configure-stageprofile-gcc: maybe-all-stageprofile-libelf
43282 configure-stagefeedback-gcc: maybe-all-stagefeedback-libelf
43283 all-gcc: all-libiberty
43285 all-stage1-gcc: all-stage1-libiberty
43286 all-stage2-gcc: all-stage2-libiberty
43287 all-stage3-gcc: all-stage3-libiberty
43288 all-stage4-gcc: all-stage4-libiberty
43289 all-stageprofile-gcc: all-stageprofile-libiberty
43290 all-stagefeedback-gcc: all-stagefeedback-libiberty
43291 all-gcc: maybe-all-gmp
43293 all-stage1-gcc: maybe-all-stage1-gmp
43294 all-stage2-gcc: maybe-all-stage2-gmp
43295 all-stage3-gcc: maybe-all-stage3-gmp
43296 all-stage4-gcc: maybe-all-stage4-gmp
43297 all-stageprofile-gcc: maybe-all-stageprofile-gmp
43298 all-stagefeedback-gcc: maybe-all-stagefeedback-gmp
43299 all-gcc: maybe-all-intl
43301 all-stage1-gcc: maybe-all-stage1-intl
43302 all-stage2-gcc: maybe-all-stage2-intl
43303 all-stage3-gcc: maybe-all-stage3-intl
43304 all-stage4-gcc: maybe-all-stage4-intl
43305 all-stageprofile-gcc: maybe-all-stageprofile-intl
43306 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
43307 all-gcc: maybe-all-mpfr
43309 all-stage1-gcc: maybe-all-stage1-mpfr
43310 all-stage2-gcc: maybe-all-stage2-mpfr
43311 all-stage3-gcc: maybe-all-stage3-mpfr
43312 all-stage4-gcc: maybe-all-stage4-mpfr
43313 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
43314 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
43315 all-gcc: maybe-all-mpc
43317 all-stage1-gcc: maybe-all-stage1-mpc
43318 all-stage2-gcc: maybe-all-stage2-mpc
43319 all-stage3-gcc: maybe-all-stage3-mpc
43320 all-stage4-gcc: maybe-all-stage4-mpc
43321 all-stageprofile-gcc: maybe-all-stageprofile-mpc
43322 all-stagefeedback-gcc: maybe-all-stagefeedback-mpc
43323 all-gcc: maybe-all-cloog
43325 all-stage1-gcc: maybe-all-stage1-cloog
43326 all-stage2-gcc: maybe-all-stage2-cloog
43327 all-stage3-gcc: maybe-all-stage3-cloog
43328 all-stage4-gcc: maybe-all-stage4-cloog
43329 all-stageprofile-gcc: maybe-all-stageprofile-cloog
43330 all-stagefeedback-gcc: maybe-all-stagefeedback-cloog
43331 all-gcc: maybe-all-build-texinfo
43333 all-stage1-gcc: maybe-all-build-texinfo
43334 all-stage2-gcc: maybe-all-build-texinfo
43335 all-stage3-gcc: maybe-all-build-texinfo
43336 all-stage4-gcc: maybe-all-build-texinfo
43337 all-stageprofile-gcc: maybe-all-build-texinfo
43338 all-stagefeedback-gcc: maybe-all-build-texinfo
43339 all-gcc: maybe-all-build-bison
43341 all-stage1-gcc: maybe-all-build-bison
43342 all-stage2-gcc: maybe-all-build-bison
43343 all-stage3-gcc: maybe-all-build-bison
43344 all-stage4-gcc: maybe-all-build-bison
43345 all-stageprofile-gcc: maybe-all-build-bison
43346 all-stagefeedback-gcc: maybe-all-build-bison
43347 all-gcc: maybe-all-build-flex
43349 all-stage1-gcc: maybe-all-build-flex
43350 all-stage2-gcc: maybe-all-build-flex
43351 all-stage3-gcc: maybe-all-build-flex
43352 all-stage4-gcc: maybe-all-build-flex
43353 all-stageprofile-gcc: maybe-all-build-flex
43354 all-stagefeedback-gcc: maybe-all-build-flex
43355 all-gcc: maybe-all-build-libiberty
43357 all-stage1-gcc: maybe-all-build-libiberty
43358 all-stage2-gcc: maybe-all-build-libiberty
43359 all-stage3-gcc: maybe-all-build-libiberty
43360 all-stage4-gcc: maybe-all-build-libiberty
43361 all-stageprofile-gcc: maybe-all-build-libiberty
43362 all-stagefeedback-gcc: maybe-all-build-libiberty
43363 all-gcc: maybe-all-build-fixincludes
43365 all-stage1-gcc: maybe-all-build-fixincludes
43366 all-stage2-gcc: maybe-all-build-fixincludes
43367 all-stage3-gcc: maybe-all-build-fixincludes
43368 all-stage4-gcc: maybe-all-build-fixincludes
43369 all-stageprofile-gcc: maybe-all-build-fixincludes
43370 all-stagefeedback-gcc: maybe-all-build-fixincludes
43371 all-gcc: maybe-all-zlib
43373 all-stage1-gcc: maybe-all-stage1-zlib
43374 all-stage2-gcc: maybe-all-stage2-zlib
43375 all-stage3-gcc: maybe-all-stage3-zlib
43376 all-stage4-gcc: maybe-all-stage4-zlib
43377 all-stageprofile-gcc: maybe-all-stageprofile-zlib
43378 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
43379 all-gcc: all-libcpp
43381 all-stage1-gcc: all-stage1-libcpp
43382 all-stage2-gcc: all-stage2-libcpp
43383 all-stage3-gcc: all-stage3-libcpp
43384 all-stage4-gcc: all-stage4-libcpp
43385 all-stageprofile-gcc: all-stageprofile-libcpp
43386 all-stagefeedback-gcc: all-stagefeedback-libcpp
43387 all-gcc: all-libdecnumber
43389 all-stage1-gcc: all-stage1-libdecnumber
43390 all-stage2-gcc: all-stage2-libdecnumber
43391 all-stage3-gcc: all-stage3-libdecnumber
43392 all-stage4-gcc: all-stage4-libdecnumber
43393 all-stageprofile-gcc: all-stageprofile-libdecnumber
43394 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
43395 all-gcc: maybe-all-libiberty
43397 all-stage1-gcc: maybe-all-stage1-libiberty
43398 all-stage2-gcc: maybe-all-stage2-libiberty
43399 all-stage3-gcc: maybe-all-stage3-libiberty
43400 all-stage4-gcc: maybe-all-stage4-libiberty
43401 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
43402 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
43403 all-gcc: maybe-all-fixincludes
43404 all-gcc: maybe-all-lto-plugin
43406 all-stage1-gcc: maybe-all-stage1-lto-plugin
43407 all-stage2-gcc: maybe-all-stage2-lto-plugin
43408 all-stage3-gcc: maybe-all-stage3-lto-plugin
43409 all-stage4-gcc: maybe-all-stage4-lto-plugin
43410 all-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
43411 all-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
43412 info-gcc: maybe-all-build-libiberty
43414 info-stage1-gcc: maybe-all-build-libiberty
43415 info-stage2-gcc: maybe-all-build-libiberty
43416 info-stage3-gcc: maybe-all-build-libiberty
43417 info-stage4-gcc: maybe-all-build-libiberty
43418 info-stageprofile-gcc: maybe-all-build-libiberty
43419 info-stagefeedback-gcc: maybe-all-build-libiberty
43420 dvi-gcc: maybe-all-build-libiberty
43422 dvi-stage1-gcc: maybe-all-build-libiberty
43423 dvi-stage2-gcc: maybe-all-build-libiberty
43424 dvi-stage3-gcc: maybe-all-build-libiberty
43425 dvi-stage4-gcc: maybe-all-build-libiberty
43426 dvi-stageprofile-gcc: maybe-all-build-libiberty
43427 dvi-stagefeedback-gcc: maybe-all-build-libiberty
43428 pdf-gcc: maybe-all-build-libiberty
43430 pdf-stage1-gcc: maybe-all-build-libiberty
43431 pdf-stage2-gcc: maybe-all-build-libiberty
43432 pdf-stage3-gcc: maybe-all-build-libiberty
43433 pdf-stage4-gcc: maybe-all-build-libiberty
43434 pdf-stageprofile-gcc: maybe-all-build-libiberty
43435 pdf-stagefeedback-gcc: maybe-all-build-libiberty
43436 html-gcc: maybe-all-build-libiberty
43438 html-stage1-gcc: maybe-all-build-libiberty
43439 html-stage2-gcc: maybe-all-build-libiberty
43440 html-stage3-gcc: maybe-all-build-libiberty
43441 html-stage4-gcc: maybe-all-build-libiberty
43442 html-stageprofile-gcc: maybe-all-build-libiberty
43443 html-stagefeedback-gcc: maybe-all-build-libiberty
43444 install-gcc: maybe-install-fixincludes
43445 install-gcc: maybe-install-lto-plugin
43446 install-strip-gcc: maybe-install-strip-fixincludes
43447 install-strip-gcc: maybe-install-strip-lto-plugin
43448 configure-libcpp: configure-libiberty
43450 configure-stage1-libcpp: configure-stage1-libiberty
43451 configure-stage2-libcpp: configure-stage2-libiberty
43452 configure-stage3-libcpp: configure-stage3-libiberty
43453 configure-stage4-libcpp: configure-stage4-libiberty
43454 configure-stageprofile-libcpp: configure-stageprofile-libiberty
43455 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
43456 configure-libcpp: maybe-configure-intl
43458 configure-stage1-libcpp: maybe-configure-stage1-intl
43459 configure-stage2-libcpp: maybe-configure-stage2-intl
43460 configure-stage3-libcpp: maybe-configure-stage3-intl
43461 configure-stage4-libcpp: maybe-configure-stage4-intl
43462 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
43463 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
43464 all-libcpp: all-libiberty
43466 all-stage1-libcpp: all-stage1-libiberty
43467 all-stage2-libcpp: all-stage2-libiberty
43468 all-stage3-libcpp: all-stage3-libiberty
43469 all-stage4-libcpp: all-stage4-libiberty
43470 all-stageprofile-libcpp: all-stageprofile-libiberty
43471 all-stagefeedback-libcpp: all-stagefeedback-libiberty
43472 all-libcpp: maybe-all-intl
43474 all-stage1-libcpp: maybe-all-stage1-intl
43475 all-stage2-libcpp: maybe-all-stage2-intl
43476 all-stage3-libcpp: maybe-all-stage3-intl
43477 all-stage4-libcpp: maybe-all-stage4-intl
43478 all-stageprofile-libcpp: maybe-all-stageprofile-intl
43479 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
43480 all-fixincludes: maybe-all-libiberty
43481 all-gnattools: maybe-all-target-libada
43482 all-lto-plugin: maybe-all-libiberty
43484 all-stage1-lto-plugin: maybe-all-stage1-libiberty
43485 all-stage2-lto-plugin: maybe-all-stage2-libiberty
43486 all-stage3-lto-plugin: maybe-all-stage3-libiberty
43487 all-stage4-lto-plugin: maybe-all-stage4-libiberty
43488 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty
43489 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty
43490 all-utils: maybe-all-libiberty
43491 configure-mpfr: maybe-all-gmp
43493 configure-stage1-mpfr: maybe-all-stage1-gmp
43494 configure-stage2-mpfr: maybe-all-stage2-gmp
43495 configure-stage3-mpfr: maybe-all-stage3-gmp
43496 configure-stage4-mpfr: maybe-all-stage4-gmp
43497 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
43498 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
43499 configure-mpc: maybe-all-mpfr
43501 configure-stage1-mpc: maybe-all-stage1-mpfr
43502 configure-stage2-mpc: maybe-all-stage2-mpfr
43503 configure-stage3-mpc: maybe-all-stage3-mpfr
43504 configure-stage4-mpc: maybe-all-stage4-mpfr
43505 configure-stageprofile-mpc: maybe-all-stageprofile-mpfr
43506 configure-stagefeedback-mpc: maybe-all-stagefeedback-mpfr
43507 configure-isl: maybe-all-gmp
43509 configure-stage1-isl: maybe-all-stage1-gmp
43510 configure-stage2-isl: maybe-all-stage2-gmp
43511 configure-stage3-isl: maybe-all-stage3-gmp
43512 configure-stage4-isl: maybe-all-stage4-gmp
43513 configure-stageprofile-isl: maybe-all-stageprofile-gmp
43514 configure-stagefeedback-isl: maybe-all-stagefeedback-gmp
43515 configure-cloog: maybe-all-isl
43517 configure-stage1-cloog: maybe-all-stage1-isl
43518 configure-stage2-cloog: maybe-all-stage2-isl
43519 configure-stage3-cloog: maybe-all-stage3-isl
43520 configure-stage4-cloog: maybe-all-stage4-isl
43521 configure-stageprofile-cloog: maybe-all-stageprofile-isl
43522 configure-stagefeedback-cloog: maybe-all-stagefeedback-isl
43523 configure-cloog: maybe-all-gmp
43525 configure-stage1-cloog: maybe-all-stage1-gmp
43526 configure-stage2-cloog: maybe-all-stage2-gmp
43527 configure-stage3-cloog: maybe-all-stage3-gmp
43528 configure-stage4-cloog: maybe-all-stage4-gmp
43529 configure-stageprofile-cloog: maybe-all-stageprofile-gmp
43530 configure-stagefeedback-cloog: maybe-all-stagefeedback-gmp
43531 configure-gdb: maybe-all-intl
43532 configure-gdb: maybe-configure-sim
43533 configure-gdb: maybe-all-bfd
43534 configure-gdb: maybe-all-libiconv
43535 all-gdb: maybe-all-libiberty
43536 all-gdb: maybe-all-libiconv
43537 all-gdb: maybe-all-opcodes
43538 all-gdb: maybe-all-readline
43539 all-gdb: maybe-all-build-bison
43540 all-gdb: maybe-all-sim
43541 all-gdb: maybe-all-libdecnumber
43542 all-gdb: maybe-all-libtermcap
43543 configure-libgui: maybe-configure-tcl
43544 configure-libgui: maybe-configure-tk
43545 all-libgui: maybe-all-tcl
43546 all-libgui: maybe-all-tk
43547 all-libgui: maybe-all-itcl
43548 configure-bfd: configure-libiberty
43550 configure-stage1-bfd: configure-stage1-libiberty
43551 configure-stage2-bfd: configure-stage2-libiberty
43552 configure-stage3-bfd: configure-stage3-libiberty
43553 configure-stage4-bfd: configure-stage4-libiberty
43554 configure-stageprofile-bfd: configure-stageprofile-libiberty
43555 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
43556 configure-bfd: maybe-configure-intl
43558 configure-stage1-bfd: maybe-configure-stage1-intl
43559 configure-stage2-bfd: maybe-configure-stage2-intl
43560 configure-stage3-bfd: maybe-configure-stage3-intl
43561 configure-stage4-bfd: maybe-configure-stage4-intl
43562 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
43563 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
43564 all-bfd: maybe-all-libiberty
43566 all-stage1-bfd: maybe-all-stage1-libiberty
43567 all-stage2-bfd: maybe-all-stage2-libiberty
43568 all-stage3-bfd: maybe-all-stage3-libiberty
43569 all-stage4-bfd: maybe-all-stage4-libiberty
43570 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
43571 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
43572 all-bfd: maybe-all-intl
43574 all-stage1-bfd: maybe-all-stage1-intl
43575 all-stage2-bfd: maybe-all-stage2-intl
43576 all-stage3-bfd: maybe-all-stage3-intl
43577 all-stage4-bfd: maybe-all-stage4-intl
43578 all-stageprofile-bfd: maybe-all-stageprofile-intl
43579 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
43580 configure-opcodes: configure-libiberty
43582 configure-stage1-opcodes: configure-stage1-libiberty
43583 configure-stage2-opcodes: configure-stage2-libiberty
43584 configure-stage3-opcodes: configure-stage3-libiberty
43585 configure-stage4-opcodes: configure-stage4-libiberty
43586 configure-stageprofile-opcodes: configure-stageprofile-libiberty
43587 configure-stagefeedback-opcodes: configure-stagefeedback-libiberty
43588 all-opcodes: maybe-all-libiberty
43590 all-stage1-opcodes: maybe-all-stage1-libiberty
43591 all-stage2-opcodes: maybe-all-stage2-libiberty
43592 all-stage3-opcodes: maybe-all-stage3-libiberty
43593 all-stage4-opcodes: maybe-all-stage4-libiberty
43594 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
43595 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
43596 configure-binutils: maybe-configure-intl
43598 configure-stage1-binutils: maybe-configure-stage1-intl
43599 configure-stage2-binutils: maybe-configure-stage2-intl
43600 configure-stage3-binutils: maybe-configure-stage3-intl
43601 configure-stage4-binutils: maybe-configure-stage4-intl
43602 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
43603 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
43604 all-binutils: maybe-all-libiberty
43606 all-stage1-binutils: maybe-all-stage1-libiberty
43607 all-stage2-binutils: maybe-all-stage2-libiberty
43608 all-stage3-binutils: maybe-all-stage3-libiberty
43609 all-stage4-binutils: maybe-all-stage4-libiberty
43610 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
43611 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
43612 all-binutils: maybe-all-opcodes
43614 all-stage1-binutils: maybe-all-stage1-opcodes
43615 all-stage2-binutils: maybe-all-stage2-opcodes
43616 all-stage3-binutils: maybe-all-stage3-opcodes
43617 all-stage4-binutils: maybe-all-stage4-opcodes
43618 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
43619 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
43620 all-binutils: maybe-all-bfd
43622 all-stage1-binutils: maybe-all-stage1-bfd
43623 all-stage2-binutils: maybe-all-stage2-bfd
43624 all-stage3-binutils: maybe-all-stage3-bfd
43625 all-stage4-binutils: maybe-all-stage4-bfd
43626 all-stageprofile-binutils: maybe-all-stageprofile-bfd
43627 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
43628 all-binutils: maybe-all-build-flex
43630 all-stage1-binutils: maybe-all-build-flex
43631 all-stage2-binutils: maybe-all-build-flex
43632 all-stage3-binutils: maybe-all-build-flex
43633 all-stage4-binutils: maybe-all-build-flex
43634 all-stageprofile-binutils: maybe-all-build-flex
43635 all-stagefeedback-binutils: maybe-all-build-flex
43636 all-binutils: maybe-all-build-bison
43638 all-stage1-binutils: maybe-all-build-bison
43639 all-stage2-binutils: maybe-all-build-bison
43640 all-stage3-binutils: maybe-all-build-bison
43641 all-stage4-binutils: maybe-all-build-bison
43642 all-stageprofile-binutils: maybe-all-build-bison
43643 all-stagefeedback-binutils: maybe-all-build-bison
43644 all-binutils: maybe-all-intl
43646 all-stage1-binutils: maybe-all-stage1-intl
43647 all-stage2-binutils: maybe-all-stage2-intl
43648 all-stage3-binutils: maybe-all-stage3-intl
43649 all-stage4-binutils: maybe-all-stage4-intl
43650 all-stageprofile-binutils: maybe-all-stageprofile-intl
43651 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
43652 install-binutils: maybe-install-opcodes
43653 install-strip-binutils: maybe-install-strip-opcodes
43654 install-opcodes: maybe-install-bfd
43655 install-strip-opcodes: maybe-install-strip-bfd
43656 configure-gas: maybe-configure-intl
43658 configure-stage1-gas: maybe-configure-stage1-intl
43659 configure-stage2-gas: maybe-configure-stage2-intl
43660 configure-stage3-gas: maybe-configure-stage3-intl
43661 configure-stage4-gas: maybe-configure-stage4-intl
43662 configure-stageprofile-gas: maybe-configure-stageprofile-intl
43663 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
43664 all-gas: maybe-all-libiberty
43666 all-stage1-gas: maybe-all-stage1-libiberty
43667 all-stage2-gas: maybe-all-stage2-libiberty
43668 all-stage3-gas: maybe-all-stage3-libiberty
43669 all-stage4-gas: maybe-all-stage4-libiberty
43670 all-stageprofile-gas: maybe-all-stageprofile-libiberty
43671 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
43672 all-gas: maybe-all-opcodes
43674 all-stage1-gas: maybe-all-stage1-opcodes
43675 all-stage2-gas: maybe-all-stage2-opcodes
43676 all-stage3-gas: maybe-all-stage3-opcodes
43677 all-stage4-gas: maybe-all-stage4-opcodes
43678 all-stageprofile-gas: maybe-all-stageprofile-opcodes
43679 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
43680 all-gas: maybe-all-bfd
43682 all-stage1-gas: maybe-all-stage1-bfd
43683 all-stage2-gas: maybe-all-stage2-bfd
43684 all-stage3-gas: maybe-all-stage3-bfd
43685 all-stage4-gas: maybe-all-stage4-bfd
43686 all-stageprofile-gas: maybe-all-stageprofile-bfd
43687 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
43688 all-gas: maybe-all-intl
43690 all-stage1-gas: maybe-all-stage1-intl
43691 all-stage2-gas: maybe-all-stage2-intl
43692 all-stage3-gas: maybe-all-stage3-intl
43693 all-stage4-gas: maybe-all-stage4-intl
43694 all-stageprofile-gas: maybe-all-stageprofile-intl
43695 all-stagefeedback-gas: maybe-all-stagefeedback-intl
43696 configure-gprof: maybe-configure-intl
43697 all-gprof: maybe-all-libiberty
43698 all-gprof: maybe-all-bfd
43699 all-gprof: maybe-all-opcodes
43700 all-gprof: maybe-all-intl
43701 configure-ld: maybe-configure-intl
43703 configure-stage1-ld: maybe-configure-stage1-intl
43704 configure-stage2-ld: maybe-configure-stage2-intl
43705 configure-stage3-ld: maybe-configure-stage3-intl
43706 configure-stage4-ld: maybe-configure-stage4-intl
43707 configure-stageprofile-ld: maybe-configure-stageprofile-intl
43708 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
43709 all-ld: maybe-all-libiberty
43711 all-stage1-ld: maybe-all-stage1-libiberty
43712 all-stage2-ld: maybe-all-stage2-libiberty
43713 all-stage3-ld: maybe-all-stage3-libiberty
43714 all-stage4-ld: maybe-all-stage4-libiberty
43715 all-stageprofile-ld: maybe-all-stageprofile-libiberty
43716 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
43717 all-ld: maybe-all-bfd
43719 all-stage1-ld: maybe-all-stage1-bfd
43720 all-stage2-ld: maybe-all-stage2-bfd
43721 all-stage3-ld: maybe-all-stage3-bfd
43722 all-stage4-ld: maybe-all-stage4-bfd
43723 all-stageprofile-ld: maybe-all-stageprofile-bfd
43724 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
43725 all-ld: maybe-all-opcodes
43727 all-stage1-ld: maybe-all-stage1-opcodes
43728 all-stage2-ld: maybe-all-stage2-opcodes
43729 all-stage3-ld: maybe-all-stage3-opcodes
43730 all-stage4-ld: maybe-all-stage4-opcodes
43731 all-stageprofile-ld: maybe-all-stageprofile-opcodes
43732 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
43733 all-ld: maybe-all-build-bison
43735 all-stage1-ld: maybe-all-build-bison
43736 all-stage2-ld: maybe-all-build-bison
43737 all-stage3-ld: maybe-all-build-bison
43738 all-stage4-ld: maybe-all-build-bison
43739 all-stageprofile-ld: maybe-all-build-bison
43740 all-stagefeedback-ld: maybe-all-build-bison
43741 all-ld: maybe-all-build-flex
43743 all-stage1-ld: maybe-all-build-flex
43744 all-stage2-ld: maybe-all-build-flex
43745 all-stage3-ld: maybe-all-build-flex
43746 all-stage4-ld: maybe-all-build-flex
43747 all-stageprofile-ld: maybe-all-build-flex
43748 all-stagefeedback-ld: maybe-all-build-flex
43749 all-ld: maybe-all-intl
43751 all-stage1-ld: maybe-all-stage1-intl
43752 all-stage2-ld: maybe-all-stage2-intl
43753 all-stage3-ld: maybe-all-stage3-intl
43754 all-stage4-ld: maybe-all-stage4-intl
43755 all-stageprofile-ld: maybe-all-stageprofile-intl
43756 all-stagefeedback-ld: maybe-all-stagefeedback-intl
43757 install-ld: maybe-install-gold
43758 install-strip-ld: maybe-install-strip-gold
43759 configure-gold: maybe-configure-intl
43761 configure-stage1-gold: maybe-configure-stage1-intl
43762 configure-stage2-gold: maybe-configure-stage2-intl
43763 configure-stage3-gold: maybe-configure-stage3-intl
43764 configure-stage4-gold: maybe-configure-stage4-intl
43765 configure-stageprofile-gold: maybe-configure-stageprofile-intl
43766 configure-stagefeedback-gold: maybe-configure-stagefeedback-intl
43767 all-gold: maybe-all-libiberty
43769 all-stage1-gold: maybe-all-stage1-libiberty
43770 all-stage2-gold: maybe-all-stage2-libiberty
43771 all-stage3-gold: maybe-all-stage3-libiberty
43772 all-stage4-gold: maybe-all-stage4-libiberty
43773 all-stageprofile-gold: maybe-all-stageprofile-libiberty
43774 all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
43775 all-gold: maybe-all-intl
43777 all-stage1-gold: maybe-all-stage1-intl
43778 all-stage2-gold: maybe-all-stage2-intl
43779 all-stage3-gold: maybe-all-stage3-intl
43780 all-stage4-gold: maybe-all-stage4-intl
43781 all-stageprofile-gold: maybe-all-stageprofile-intl
43782 all-stagefeedback-gold: maybe-all-stagefeedback-intl
43783 all-gold: maybe-all-bfd
43785 all-stage1-gold: maybe-all-stage1-bfd
43786 all-stage2-gold: maybe-all-stage2-bfd
43787 all-stage3-gold: maybe-all-stage3-bfd
43788 all-stage4-gold: maybe-all-stage4-bfd
43789 all-stageprofile-gold: maybe-all-stageprofile-bfd
43790 all-stagefeedback-gold: maybe-all-stagefeedback-bfd
43791 all-gold: maybe-all-build-bison
43793 all-stage1-gold: maybe-all-build-bison
43794 all-stage2-gold: maybe-all-build-bison
43795 all-stage3-gold: maybe-all-build-bison
43796 all-stage4-gold: maybe-all-build-bison
43797 all-stageprofile-gold: maybe-all-build-bison
43798 all-stagefeedback-gold: maybe-all-build-bison
43799 check-gold: maybe-all-binutils
43801 check-stage1-gold: maybe-all-stage1-binutils
43802 check-stage2-gold: maybe-all-stage2-binutils
43803 check-stage3-gold: maybe-all-stage3-binutils
43804 check-stage4-gold: maybe-all-stage4-binutils
43805 check-stageprofile-gold: maybe-all-stageprofile-binutils
43806 check-stagefeedback-gold: maybe-all-stagefeedback-binutils
43807 check-gold: maybe-all-gas
43809 check-stage1-gold: maybe-all-stage1-gas
43810 check-stage2-gold: maybe-all-stage2-gas
43811 check-stage3-gold: maybe-all-stage3-gas
43812 check-stage4-gold: maybe-all-stage4-gas
43813 check-stageprofile-gold: maybe-all-stageprofile-gas
43814 check-stagefeedback-gold: maybe-all-stagefeedback-gas
43815 configure-opcodes: maybe-configure-intl
43817 configure-stage1-opcodes: maybe-configure-stage1-intl
43818 configure-stage2-opcodes: maybe-configure-stage2-intl
43819 configure-stage3-opcodes: maybe-configure-stage3-intl
43820 configure-stage4-opcodes: maybe-configure-stage4-intl
43821 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
43822 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
43823 all-opcodes: maybe-all-bfd
43825 all-stage1-opcodes: maybe-all-stage1-bfd
43826 all-stage2-opcodes: maybe-all-stage2-bfd
43827 all-stage3-opcodes: maybe-all-stage3-bfd
43828 all-stage4-opcodes: maybe-all-stage4-bfd
43829 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
43830 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
43831 all-opcodes: maybe-all-libiberty
43833 all-stage1-opcodes: maybe-all-stage1-libiberty
43834 all-stage2-opcodes: maybe-all-stage2-libiberty
43835 all-stage3-opcodes: maybe-all-stage3-libiberty
43836 all-stage4-opcodes: maybe-all-stage4-libiberty
43837 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
43838 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
43839 all-opcodes: maybe-all-intl
43841 all-stage1-opcodes: maybe-all-stage1-intl
43842 all-stage2-opcodes: maybe-all-stage2-intl
43843 all-stage3-opcodes: maybe-all-stage3-intl
43844 all-stage4-opcodes: maybe-all-stage4-intl
43845 all-stageprofile-opcodes: maybe-all-stageprofile-intl
43846 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
43847 all-dejagnu: maybe-all-tcl
43848 all-dejagnu: maybe-all-expect
43849 all-dejagnu: maybe-all-tk
43850 configure-expect: maybe-configure-tcl
43851 configure-expect: maybe-configure-tk
43852 all-expect: maybe-all-tcl
43853 all-expect: maybe-all-tk
43854 configure-itcl: maybe-configure-tcl
43855 configure-itcl: maybe-configure-tk
43856 all-itcl: maybe-all-tcl
43857 all-itcl: maybe-all-tk
43858 install-itcl: maybe-install-tcl
43859 install-strip-itcl: maybe-install-strip-tcl
43860 configure-tk: maybe-configure-tcl
43861 all-tk: maybe-all-tcl
43862 all-sid: maybe-all-libiberty
43863 all-sid: maybe-all-bfd
43864 all-sid: maybe-all-opcodes
43865 all-sid: maybe-all-tcl
43866 all-sid: maybe-all-tk
43867 install-sid: maybe-install-tcl
43868 install-strip-sid: maybe-install-strip-tcl
43869 install-sid: maybe-install-tk
43870 install-strip-sid: maybe-install-strip-tk
43871 configure-sim: maybe-configure-intl
43872 all-sim: maybe-all-intl
43873 all-sim: maybe-all-libiberty
43874 all-sim: maybe-all-bfd
43875 all-sim: maybe-all-opcodes
43876 all-sim: maybe-all-readline
43877 all-sim: maybe-configure-gdb
43878 all-fastjar: maybe-all-zlib
43879 all-fastjar: maybe-all-build-texinfo
43880 all-fastjar: maybe-all-libiberty
43881 all-bison: maybe-all-intl
43882 all-bison: maybe-all-build-texinfo
43883 all-flex: maybe-all-build-bison
43884 all-flex: maybe-all-intl
43885 all-flex: maybe-all-m4
43886 all-flex: maybe-all-build-texinfo
43887 all-m4: maybe-all-intl
43888 all-m4: maybe-all-build-texinfo
43889 configure-target-boehm-gc: maybe-all-target-libstdc++-v3
43890 configure-target-fastjar: maybe-configure-target-zlib
43891 all-target-fastjar: maybe-all-target-zlib
43892 configure-target-libgo: maybe-configure-target-libffi
43893 configure-target-libgo: maybe-all-target-libstdc++-v3
43894 all-target-libgo: maybe-all-target-libffi
43895 configure-target-libjava: maybe-configure-target-zlib
43896 configure-target-libjava: maybe-configure-target-boehm-gc
43897 configure-target-libjava: maybe-configure-target-libffi
43898 all-target-libjava: maybe-all-fastjar
43899 all-target-libjava: maybe-all-target-zlib
43900 all-target-libjava: maybe-all-target-boehm-gc
43901 all-target-libjava: maybe-all-target-libffi
43902 configure-target-libobjc: maybe-configure-target-boehm-gc
43903 all-target-libobjc: maybe-all-target-boehm-gc
43904 configure-target-libstdc++-v3: maybe-configure-target-libgomp
43906 configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
43907 configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
43908 configure-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
43909 configure-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
43910 configure-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
43911 configure-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
43912 all-target-libstdc++-v3: maybe-configure-target-libgomp
43914 all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
43915 all-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
43916 all-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
43917 all-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
43918 all-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
43919 all-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
43920 all-target-libgloss: maybe-all-target-newlib
43921 all-target-winsup: maybe-all-target-libtermcap
43922 configure-target-newlib: maybe-all-binutils
43923 configure-target-newlib: maybe-all-ld
43924 configure-target-libgfortran: maybe-all-target-libquadmath
43927 # Dependencies for target modules on other target modules are
43928 # described by lang_env_dependencies; the defaults apply to anything
43929 # not mentioned there.
43932 @if gcc-bootstrap
43933 configure-stage1-target-libstdc++-v3: maybe-all-stage1-target-libgcc
43934 configure-stage2-target-libstdc++-v3: maybe-all-stage2-target-libgcc
43935 configure-stage3-target-libstdc++-v3: maybe-all-stage3-target-libgcc
43936 configure-stage4-target-libstdc++-v3: maybe-all-stage4-target-libgcc
43937 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-target-libgcc
43938 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-target-libgcc
43939 configure-stage1-target-libgomp: maybe-all-stage1-target-libgcc
43940 configure-stage2-target-libgomp: maybe-all-stage2-target-libgcc
43941 configure-stage3-target-libgomp: maybe-all-stage3-target-libgcc
43942 configure-stage4-target-libgomp: maybe-all-stage4-target-libgcc
43943 configure-stageprofile-target-libgomp: maybe-all-stageprofile-target-libgcc
43944 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc
43945 @endif gcc-bootstrap
43947 @if gcc-no-bootstrap
43948 configure-target-libstdc++-v3: maybe-all-target-libgcc
43949 configure-target-libmudflap: maybe-all-target-libgcc
43950 configure-target-libssp: maybe-all-target-libgcc
43951 configure-target-newlib: maybe-all-target-libgcc
43952 configure-target-libquadmath: maybe-all-target-libgcc
43953 configure-target-libgfortran: maybe-all-target-libgcc
43954 configure-target-libobjc: maybe-all-target-libgcc
43955 configure-target-libgo: maybe-all-target-libgcc
43956 configure-target-libtermcap: maybe-all-target-libgcc
43957 configure-target-winsup: maybe-all-target-libgcc
43958 configure-target-libgloss: maybe-all-target-libgcc
43959 configure-target-libffi: maybe-all-target-libgcc
43960 configure-target-libjava: maybe-all-target-libgcc
43961 configure-target-zlib: maybe-all-target-libgcc
43962 configure-target-boehm-gc: maybe-all-target-libgcc
43963 configure-target-rda: maybe-all-target-libgcc
43964 configure-target-libada: maybe-all-target-libgcc
43965 configure-target-libgomp: maybe-all-target-libgcc
43966 configure-target-libitm: maybe-all-target-libgcc
43967 configure-target-libatomic: maybe-all-target-libgcc
43968 @endif gcc-no-bootstrap
43971 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
43973 configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss
43975 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
43979 configure-target-libquadmath: maybe-all-target-newlib maybe-all-target-libgloss
43981 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
43983 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
43985 configure-target-libgo: maybe-all-target-newlib maybe-all-target-libgloss
43987 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
43989 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
43992 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
43994 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
43995 configure-target-libjava: maybe-all-target-libstdc++-v3
43997 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
43999 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
44001 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
44003 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
44005 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
44007 configure-target-libitm: maybe-all-target-newlib maybe-all-target-libgloss
44008 configure-target-libitm: maybe-all-target-libstdc++-v3
44010 configure-target-libatomic: maybe-all-target-newlib maybe-all-target-libgloss
44013 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
44014 GDB_TK = @GDB_TK@
44015 INSTALL_GDB_TK = @INSTALL_GDB_TK@
44016 configure-gdb: $(CONFIGURE_GDB_TK)
44017 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
44018 install-gdb: $(INSTALL_GDB_TK)
44020 # Serialization dependencies. Host configures don't work well in parallel to
44021 # each other, due to contention over config.cache. Target configures and
44022 # build configures are similar.
44023 @serialization_dependencies@
44025 # --------------------------------
44026 # Regenerating top level configury
44027 # --------------------------------
44029 # Rebuilding Makefile.in, using autogen.
44030 AUTOGEN = autogen
44031 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
44032 cd $(srcdir) && $(AUTOGEN) Makefile.def
44034 # Rebuilding Makefile.
44035 Makefile: $(srcdir)/Makefile.in config.status
44036 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
44038 config.status: configure
44039 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
44041 # Rebuilding configure.
44042 AUTOCONF = autoconf
44043 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
44044 $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4
44045 cd $(srcdir) && $(AUTOCONF)
44047 # ------------------------------
44048 # Special directives to GNU Make
44049 # ------------------------------
44051 # Don't pass command-line variables to submakes.
44052 .NOEXPORT:
44053 MAKEOVERRIDES=
44055 # end of Makefile.in