compiler, runtime: change type hash/equal to Go funcs
[official-gcc.git] / Makefile.in
blobbc2bae6d7fa7fe98951b93e78207a16abd718c6f
2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
4 # Makefile for directory with subdirs to build.
5 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
6 # 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
7 # Free Software Foundation
9 # This file is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; either version 3 of the License, or
12 # (at your option) any later version.
14 # This program is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 # GNU General Public License for more details.
19 # You should have received a copy of the GNU General Public License
20 # along with this program; see the file COPYING3. If not see
21 # <http://www.gnu.org/licenses/>.
24 # First, test for a proper version of make, but only where one is required.
26 @if gcc
27 ifeq (,$(.VARIABLES)) # The variable .VARIABLES, new with 3.80, is never empty.
28 $(error GNU make version 3.80 or newer is required.)
29 endif
30 @endif gcc
32 # -------------------------------
33 # Standard Autoconf-set variables
34 # -------------------------------
35 VPATH=@srcdir@
37 build_alias=@build_noncanonical@
38 build_vendor=@build_vendor@
39 build_os=@build_os@
40 build=@build@
41 host_alias=@host_noncanonical@
42 host_vendor=@host_vendor@
43 host_os=@host_os@
44 host=@host@
45 target_alias=@target_noncanonical@
46 target_vendor=@target_vendor@
47 target_os=@target_os@
48 target=@target@
50 program_transform_name = @program_transform_name@
52 prefix = @prefix@
53 exec_prefix = @exec_prefix@
55 srcdir = @srcdir@
57 bindir = @bindir@
58 sbindir = @sbindir@
59 libexecdir = @libexecdir@
60 datadir = @datadir@
61 sysconfdir = @sysconfdir@
62 sharedstatedir = @sharedstatedir@
63 localstatedir = @localstatedir@
64 libdir = @libdir@
65 includedir = @includedir@
66 oldincludedir = @oldincludedir@
67 infodir = @infodir@
68 datarootdir = @datarootdir@
69 docdir = @docdir@
70 pdfdir = @pdfdir@
71 htmldir = @htmldir@
72 mandir = @mandir@
73 man1dir = $(mandir)/man1
74 man2dir = $(mandir)/man2
75 man3dir = $(mandir)/man3
76 man4dir = $(mandir)/man4
77 man5dir = $(mandir)/man5
78 man6dir = $(mandir)/man6
79 man7dir = $(mandir)/man7
80 man8dir = $(mandir)/man8
81 man9dir = $(mandir)/man9
83 INSTALL = @INSTALL@
84 INSTALL_PROGRAM = @INSTALL_PROGRAM@
85 INSTALL_SCRIPT = @INSTALL_SCRIPT@
86 INSTALL_DATA = @INSTALL_DATA@
87 LN = @LN@
88 LN_S = @LN_S@
89 MAINT = @MAINT@
90 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
91 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
93 # -------------------------------------------------
94 # Miscellaneous non-standard autoconf-set variables
95 # -------------------------------------------------
97 # The gcc driver likes to know the arguments it was configured with.
98 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
100 tooldir = @tooldir@
101 build_tooldir = @build_tooldir@
103 # This is the name of the environment variable used for the path to
104 # the libraries.
105 RPATH_ENVVAR = @RPATH_ENVVAR@
107 # On targets where RPATH_ENVVAR is PATH, a subdirectory of the GCC build path
108 # is used instead of the directory itself to avoid including built
109 # executables in PATH.
110 GCC_SHLIB_SUBDIR = @GCC_SHLIB_SUBDIR@
112 # Build programs are put under this directory.
113 BUILD_SUBDIR = @build_subdir@
114 # This is set by the configure script to the arguments to use when configuring
115 # directories built for the build system.
116 BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)"
118 # Linker flags to use on the host, for stage1 or when not
119 # bootstrapping.
120 STAGE1_LDFLAGS = @stage1_ldflags@
122 # Libraries to use on the host, for stage1 or when not bootstrapping.
123 STAGE1_LIBS = @stage1_libs@
125 # Linker flags to use for stage2 and later.
126 POSTSTAGE1_LDFLAGS = @poststage1_ldflags@
128 # Libraries to use for stage2 and later.
129 POSTSTAGE1_LIBS = @poststage1_libs@
131 # This is the list of variables to export in the environment when
132 # configuring any subdirectory. It must also be exported whenever
133 # recursing into a build directory in case that directory's Makefile
134 # re-runs configure.
135 BASE_EXPORTS = \
136 FLEX="$(FLEX)"; export FLEX; \
137 LEX="$(LEX)"; export LEX; \
138 BISON="$(BISON)"; export BISON; \
139 YACC="$(YACC)"; export YACC; \
140 M4="$(M4)"; export M4; \
141 SED="$(SED)"; export SED; \
142 AWK="$(AWK)"; export AWK; \
143 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
145 # This is the list of variables to export in the environment when
146 # configuring subdirectories for the build system.
147 BUILD_EXPORTS = \
148 $(BASE_EXPORTS) \
149 AR="$(AR_FOR_BUILD)"; export AR; \
150 AS="$(AS_FOR_BUILD)"; export AS; \
151 CC="$(CC_FOR_BUILD)"; export CC; \
152 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
153 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
154 CXX="$(CXX_FOR_BUILD)"; export CXX; \
155 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
156 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
157 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
158 GOC="$(GOC_FOR_BUILD)"; export GOC; \
159 GOCFLAGS="$(GOCFLAGS_FOR_BUILD)"; export GOCFLAGS; \
160 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
161 LD="$(LD_FOR_BUILD)"; export LD; \
162 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
163 NM="$(NM_FOR_BUILD)"; export NM; \
164 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
165 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
166 WINDMC="$(WINDMC_FOR_BUILD)"; export WINDMC;
168 # These variables must be set on the make command line for directories
169 # built for the build system to override those in BASE_FLAGS_TO_PASS.
170 EXTRA_BUILD_FLAGS = \
171 CFLAGS="$(CFLAGS_FOR_BUILD)" \
172 LDFLAGS="$(LDFLAGS_FOR_BUILD)"
174 # This is the list of directories to built for the host system.
175 SUBDIRS = @configdirs@
176 TARGET_CONFIGDIRS = @target_configdirs@
177 # This is set by the configure script to the arguments to use when configuring
178 # directories built for the host system.
179 HOST_CONFIGARGS = @host_configargs@
180 # Host programs are put under this directory, which is . except if building
181 # with srcdir=..
182 HOST_SUBDIR = @host_subdir@
183 # This is the list of variables to export in the environment when
184 # configuring subdirectories for the host system. We need to pass
185 # some to the GCC configure because of its hybrid host/target nature.
186 HOST_EXPORTS = \
187 $(BASE_EXPORTS) \
188 CC="$(CC)"; export CC; \
189 ADA_CFLAGS="$(ADA_CFLAGS)"; export ADA_CFLAGS; \
190 CFLAGS="$(CFLAGS)"; export CFLAGS; \
191 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
192 CXX="$(CXX)"; export CXX; \
193 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
194 GCJ="$(GCJ)"; export GCJ; \
195 GFORTRAN="$(GFORTRAN)"; export GFORTRAN; \
196 GOC="$(GOC)"; export GOC; \
197 AR="$(AR)"; export AR; \
198 AS="$(AS)"; export AS; \
199 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
200 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
201 LD="$(LD)"; export LD; \
202 LDFLAGS="$(STAGE1_LDFLAGS) $(LDFLAGS)"; export LDFLAGS; \
203 NM="$(NM)"; export NM; \
204 RANLIB="$(RANLIB)"; export RANLIB; \
205 WINDRES="$(WINDRES)"; export WINDRES; \
206 WINDMC="$(WINDMC)"; export WINDMC; \
207 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
208 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
209 READELF="$(READELF)"; export READELF; \
210 AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
211 AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
212 GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \
213 LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
214 NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
215 OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
216 OBJCOPY_FOR_TARGET="$(OBJCOPY_FOR_TARGET)"; export OBJCOPY_FOR_TARGET; \
217 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
218 READELF_FOR_TARGET="$(READELF_FOR_TARGET)"; export READELF_FOR_TARGET; \
219 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
220 HOST_LIBS="$(STAGE1_LIBS)"; export HOST_LIBS; \
221 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
222 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
223 ISLLIBS="$(HOST_ISLLIBS)"; export ISLLIBS; \
224 ISLINC="$(HOST_ISLINC)"; export ISLINC; \
225 LIBELFLIBS="$(HOST_LIBELFLIBS)"; export LIBELFLIBS; \
226 LIBELFINC="$(HOST_LIBELFINC)"; export LIBELFINC; \
227 @if gcc-bootstrap
228 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
229 @endif gcc-bootstrap
230 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
232 POSTSTAGE1_CXX_EXPORT = \
233 CXX='$(CXX)'; export CXX; \
234 CXX_FOR_BUILD='$(CXX_FOR_BUILD)'; export CXX_FOR_BUILD;
235 @if target-libstdc++-v3-bootstrap
236 # Override the above if we're bootstrapping C++.
237 POSTSTAGE1_CXX_EXPORT = \
238 CXX="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xg++$(exeext) \
239 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \
240 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
241 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
242 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \
243 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \
244 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$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 $(LTO_EXPORTS) \
260 GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind"; export GNATBIND; \
261 LDFLAGS="$(POSTSTAGE1_LDFLAGS) $(BOOT_LDFLAGS)"; export LDFLAGS; \
262 HOST_LIBS="$(POSTSTAGE1_LIBS)"; export HOST_LIBS;
264 # Target libraries are put under this directory:
265 TARGET_SUBDIR = @target_subdir@
266 # This is set by the configure script to the arguments to use when configuring
267 # directories built for the target.
268 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
269 # This is the list of variables to export in the environment when
270 # configuring subdirectories for the target system.
271 BASE_TARGET_EXPORTS = \
272 $(BASE_EXPORTS) \
273 AR="$(AR_FOR_TARGET)"; export AR; \
274 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
275 CC="$(CC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
276 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
277 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
278 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
279 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
280 GCJ="$(GCJ_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GCJ; \
281 GFORTRAN="$(GFORTRAN_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GFORTRAN; \
282 GOC="$(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GOC; \
283 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
284 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
285 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
286 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
287 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
288 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
289 OBJCOPY="$(OBJCOPY_FOR_TARGET)"; export OBJCOPY; \
290 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
291 READELF="$(READELF_FOR_TARGET)"; export READELF; \
292 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
293 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
294 WINDMC="$(WINDMC_FOR_TARGET)"; export WINDMC; \
295 @if gcc-bootstrap
296 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
297 @endif gcc-bootstrap
298 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
299 TARGET_CONFIGDIRS="$(TARGET_CONFIGDIRS)"; export TARGET_CONFIGDIRS;
301 RAW_CXX_TARGET_EXPORTS = \
302 $(BASE_TARGET_EXPORTS) \
303 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
304 CXX="$(RAW_CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
306 NORMAL_TARGET_EXPORTS = \
307 $(BASE_TARGET_EXPORTS) \
308 CXX="$(CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
310 # Where to find GMP
311 HOST_GMPLIBS = @gmplibs@
312 HOST_GMPINC = @gmpinc@
314 # Where to find ISL
315 HOST_ISLLIBS = @isllibs@
316 HOST_ISLINC = @islinc@
318 # Where to find libelf
319 HOST_LIBELFLIBS = @libelflibs@
320 HOST_LIBELFINC = @libelfinc@
322 EXTRA_CONFIGARGS_LIBJAVA = @EXTRA_CONFIGARGS_LIBJAVA@
324 # ----------------------------------------------
325 # Programs producing files for the BUILD machine
326 # ----------------------------------------------
328 SHELL = @SHELL@
330 # pwd command to use. Allow user to override default by setting PWDCMD in
331 # the environment to account for automounters. The make variable must not
332 # be called PWDCMD, otherwise the value set here is passed to make
333 # subprocesses and overrides the setting from the user's environment.
334 # Don't use PWD since it is a common shell environment variable and we
335 # don't want to corrupt it.
336 PWD_COMMAND = $${PWDCMD-pwd}
338 # compilers to use to create programs which must be run in the build
339 # environment.
340 AR_FOR_BUILD = @AR_FOR_BUILD@
341 AS_FOR_BUILD = @AS_FOR_BUILD@
342 CC_FOR_BUILD = @CC_FOR_BUILD@
343 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
344 CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
345 CXX_FOR_BUILD = @CXX_FOR_BUILD@
346 DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@
347 GCJ_FOR_BUILD = @GCJ_FOR_BUILD@
348 GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@
349 GOC_FOR_BUILD = @GOC_FOR_BUILD@
350 LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
351 LD_FOR_BUILD = @LD_FOR_BUILD@
352 NM_FOR_BUILD = @NM_FOR_BUILD@
353 RANLIB_FOR_BUILD = @RANLIB_FOR_BUILD@
354 WINDMC_FOR_BUILD = @WINDMC_FOR_BUILD@
355 WINDRES_FOR_BUILD = @WINDRES_FOR_BUILD@
357 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
358 # here so that they can be overridden by Makefile fragments.
359 BUILD_PREFIX = @BUILD_PREFIX@
360 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
362 # Flags to pass to stage2 and later makes. They are defined
363 # here so that they can be overridden by Makefile fragments.
364 BOOT_CFLAGS= -g -O2
365 BOOT_LDFLAGS=
366 BOOT_ADAFLAGS= -gnatpg
368 AWK = @AWK@
369 SED = @SED@
370 BISON = @BISON@
371 YACC = @YACC@
372 FLEX = @FLEX@
373 LEX = @LEX@
374 M4 = @M4@
375 MAKEINFO = @MAKEINFO@
376 EXPECT = @EXPECT@
377 RUNTEST = @RUNTEST@
379 # This just becomes part of the MAKEINFO definition passed down to
380 # sub-makes. It lets flags be given on the command line while still
381 # using the makeinfo from the object tree.
382 # (Default to avoid splitting info files by setting the threshold high.)
383 MAKEINFOFLAGS = --split-size=5000000
385 # ---------------------------------------------
386 # Programs producing files for the HOST machine
387 # ---------------------------------------------
389 AS = @AS@
390 AR = @AR@
391 AR_FLAGS = rc
392 CC = @CC@
393 CXX = @CXX@
394 DLLTOOL = @DLLTOOL@
395 LD = @LD@
396 LIPO = @LIPO@
397 NM = @NM@
398 OBJDUMP = @OBJDUMP@
399 RANLIB = @RANLIB@
400 READELF = @READELF@
401 STRIP = @STRIP@
402 WINDRES = @WINDRES@
403 WINDMC = @WINDMC@
405 GNATBIND = @GNATBIND@
406 GNATMAKE = @GNATMAKE@
408 CFLAGS = @CFLAGS@
409 LDFLAGS = @LDFLAGS@
410 LIBCFLAGS = $(CFLAGS)
411 CXXFLAGS = @CXXFLAGS@
412 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
413 GOCFLAGS = $(CFLAGS)
415 TFLAGS =
417 # Defaults for all stages; some are overridden below.
419 STAGE_CFLAGS = $(BOOT_CFLAGS)
420 STAGE_TFLAGS = $(TFLAGS)
421 STAGE_CONFIGURE_FLAGS=@stage2_werror_flag@
424 # Defaults for stage 1; some are overridden below.
425 STAGE1_CFLAGS = $(STAGE_CFLAGS)
426 STAGE1_CXXFLAGS = $(CXXFLAGS)
427 @if target-libstdc++-v3-bootstrap
428 # Override the above if we're bootstrapping C++.
429 STAGE1_CXXFLAGS = $(STAGE1_CFLAGS)
430 @endif target-libstdc++-v3-bootstrap
431 STAGE1_TFLAGS = $(STAGE_TFLAGS)
432 STAGE1_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
434 # Defaults for stage 2; some are overridden below.
435 STAGE2_CFLAGS = $(STAGE_CFLAGS)
436 STAGE2_CXXFLAGS = $(CXXFLAGS)
437 @if target-libstdc++-v3-bootstrap
438 # Override the above if we're bootstrapping C++.
439 STAGE2_CXXFLAGS = $(STAGE2_CFLAGS)
440 @endif target-libstdc++-v3-bootstrap
441 STAGE2_TFLAGS = $(STAGE_TFLAGS)
442 STAGE2_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
444 # Defaults for stage 3; some are overridden below.
445 STAGE3_CFLAGS = $(STAGE_CFLAGS)
446 STAGE3_CXXFLAGS = $(CXXFLAGS)
447 @if target-libstdc++-v3-bootstrap
448 # Override the above if we're bootstrapping C++.
449 STAGE3_CXXFLAGS = $(STAGE3_CFLAGS)
450 @endif target-libstdc++-v3-bootstrap
451 STAGE3_TFLAGS = $(STAGE_TFLAGS)
452 STAGE3_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
454 # Defaults for stage 4; some are overridden below.
455 STAGE4_CFLAGS = $(STAGE_CFLAGS)
456 STAGE4_CXXFLAGS = $(CXXFLAGS)
457 @if target-libstdc++-v3-bootstrap
458 # Override the above if we're bootstrapping C++.
459 STAGE4_CXXFLAGS = $(STAGE4_CFLAGS)
460 @endif target-libstdc++-v3-bootstrap
461 STAGE4_TFLAGS = $(STAGE_TFLAGS)
462 STAGE4_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
464 # Defaults for stage profile; some are overridden below.
465 STAGEprofile_CFLAGS = $(STAGE_CFLAGS)
466 STAGEprofile_CXXFLAGS = $(CXXFLAGS)
467 @if target-libstdc++-v3-bootstrap
468 # Override the above if we're bootstrapping C++.
469 STAGEprofile_CXXFLAGS = $(STAGEprofile_CFLAGS)
470 @endif target-libstdc++-v3-bootstrap
471 STAGEprofile_TFLAGS = $(STAGE_TFLAGS)
472 STAGEprofile_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
474 # Defaults for stage feedback; some are overridden below.
475 STAGEfeedback_CFLAGS = $(STAGE_CFLAGS)
476 STAGEfeedback_CXXFLAGS = $(CXXFLAGS)
477 @if target-libstdc++-v3-bootstrap
478 # Override the above if we're bootstrapping C++.
479 STAGEfeedback_CXXFLAGS = $(STAGEfeedback_CFLAGS)
480 @endif target-libstdc++-v3-bootstrap
481 STAGEfeedback_TFLAGS = $(STAGE_TFLAGS)
482 STAGEfeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
485 # By default, C and C++ are the only stage1 languages, because they are the
486 # only ones we require to build with the bootstrap compiler, and also the
487 # only ones useful for building stage2.
489 STAGE1_CFLAGS = @stage1_cflags@
490 STAGE1_CHECKING = @stage1_checking@
491 STAGE1_LANGUAGES = @stage1_languages@
492 # * We force-disable intermodule optimizations, even if
493 # --enable-intermodule was passed, since the installed compiler
494 # probably can't handle them. Luckily, autoconf always respects
495 # the last argument when conflicting --enable arguments are passed.
496 # * Likewise, we force-disable coverage flags, since the installed
497 # compiler probably has never heard of them.
498 # * We also disable -Wformat, since older GCCs don't understand newer %s.
499 STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \
500 --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" \
501 --disable-build-format-warnings
503 STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate
504 STAGEprofile_TFLAGS = $(STAGE2_TFLAGS)
506 STAGEfeedback_CFLAGS = $(STAGE3_CFLAGS) -fprofile-use
507 STAGEfeedback_TFLAGS = $(STAGE3_TFLAGS)
509 do-compare = @do_compare@
510 do-compare3 = $(do-compare)
512 # -----------------------------------------------
513 # Programs producing files for the TARGET machine
514 # -----------------------------------------------
516 AR_FOR_TARGET=@AR_FOR_TARGET@
517 AS_FOR_TARGET=@AS_FOR_TARGET@
518 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@
520 # If GCC_FOR_TARGET is not overriden on the command line, then this
521 # variable is passed down to the gcc Makefile, where it is used to
522 # build libgcc2.a. We define it here so that it can itself be
523 # overridden on the command line.
524 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@
525 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@
526 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@
527 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@
528 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@
529 GOC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GOC_FOR_TARGET@
530 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
531 LD_FOR_TARGET=@LD_FOR_TARGET@
533 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
534 NM_FOR_TARGET=@NM_FOR_TARGET@
535 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
536 OBJCOPY_FOR_TARGET=@OBJCOPY_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_libsanitizer)$(TARGET_LIB_PATH_libmpx)$(TARGET_LIB_PATH_libvtv)$(TARGET_LIB_PATH_libcilkrts)$(TARGET_LIB_PATH_liboffloadmic)$(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-libsanitizer
585 TARGET_LIB_PATH_libsanitizer = $$r/$(TARGET_SUBDIR)/libsanitizer/.libs:
586 @endif target-libsanitizer
588 @if target-libmpx
589 TARGET_LIB_PATH_libmpx = $$r/$(TARGET_SUBDIR)/libmpx/.libs:
590 @endif target-libmpx
592 @if target-libvtv
593 TARGET_LIB_PATH_libvtv = $$r/$(TARGET_SUBDIR)/libvtv/.libs:
594 @endif target-libvtv
596 @if target-libcilkrts
597 TARGET_LIB_PATH_libcilkrts = $$r/$(TARGET_SUBDIR)/libcilkrts/.libs:
598 @endif target-libcilkrts
600 @if target-liboffloadmic
601 TARGET_LIB_PATH_liboffloadmic = $$r/$(TARGET_SUBDIR)/liboffloadmic/.libs:
602 @endif target-liboffloadmic
604 @if target-libssp
605 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
606 @endif target-libssp
608 @if target-libgomp
609 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
610 @endif target-libgomp
612 @if target-libitm
613 TARGET_LIB_PATH_libitm = $$r/$(TARGET_SUBDIR)/libitm/.libs:
614 @endif target-libitm
616 @if target-libatomic
617 TARGET_LIB_PATH_libatomic = $$r/$(TARGET_SUBDIR)/libatomic/.libs:
618 @endif target-libatomic
622 # This is the list of directories that may be needed in RPATH_ENVVAR
623 # so that programs built for the host machine work.
624 HOST_LIB_PATH = $(HOST_LIB_PATH_gmp)$(HOST_LIB_PATH_mpfr)$(HOST_LIB_PATH_mpc)$(HOST_LIB_PATH_isl)$(HOST_LIB_PATH_libelf)
626 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
627 @if gcc
628 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc$(GCC_SHLIB_SUBDIR):$$r/$(HOST_SUBDIR)/prev-gcc$(GCC_SHLIB_SUBDIR):
629 @endif gcc
632 @if gmp
633 HOST_LIB_PATH_gmp = \
634 $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
635 @endif gmp
637 @if mpfr
638 HOST_LIB_PATH_mpfr = \
639 $$r/$(HOST_SUBDIR)/mpfr/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/.libs:
640 @endif mpfr
642 @if mpc
643 HOST_LIB_PATH_mpc = \
644 $$r/$(HOST_SUBDIR)/mpc/.libs:$$r/$(HOST_SUBDIR)/prev-mpc/.libs:
645 @endif mpc
647 @if isl
648 HOST_LIB_PATH_isl = \
649 $$r/$(HOST_SUBDIR)/isl/.libs:$$r/$(HOST_SUBDIR)/prev-isl/.libs:
650 @endif isl
652 @if libelf
653 HOST_LIB_PATH_libelf = \
654 $$r/$(HOST_SUBDIR)/libelf/.libs:$$r/$(HOST_SUBDIR)/prev-libelf/.libs:
655 @endif libelf
658 CXX_FOR_TARGET_FLAG_TO_PASS = \
659 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)"
660 @if target-libstdc++-v3
661 # CXX_FOR_TARGET is tricky to get right for target libs that require a
662 # functional C++ compiler. When we recurse, if we expand
663 # CXX_FOR_TARGET before configuring libstdc++-v3, we won't get
664 # libstdc++ include flags from the script. Instead, we get an
665 # -funconfigured-* word, so that we'll get errors if this invalid C++
666 # command line is used for anything, but also so that we can use the
667 # word to decide whether or not to pass on this CXX_FOR_TARGET. If we
668 # don't pass it on, sub-make will use the default definition, that
669 # re-expands it at the time of use, so we'll get it right when we need
670 # it. One potential exception is the expansion of CXX_FOR_TARGET
671 # passed down as part of CXX within TARGET_FLAGS, but this wouldn't
672 # really work, for C++ host programs can't depend on the current-stage
673 # C++ target library.
674 CXX_FOR_TARGET_FLAG_TO_PASS = \
675 $(shell if echo "$(CXX_FOR_TARGET)" | grep " -funconfigured-" > /dev/null; then :; else echo '"CXX_FOR_TARGET=$(CXX_FOR_TARGET)"'; fi)
676 @endif target-libstdc++-v3
678 # Flags to pass down to all sub-makes. STAGE*FLAGS,
679 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
680 # overrideable (for a bootstrap build stage1 also builds gcc.info).
681 BASE_FLAGS_TO_PASS = \
682 "DESTDIR=$(DESTDIR)" \
683 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
684 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
685 "bindir=$(bindir)" \
686 "datadir=$(datadir)" \
687 "exec_prefix=$(exec_prefix)" \
688 "includedir=$(includedir)" \
689 "datarootdir=$(datarootdir)" \
690 "docdir=$(docdir)" \
691 "infodir=$(infodir)" \
692 "pdfdir=$(pdfdir)" \
693 "htmldir=$(htmldir)" \
694 "libdir=$(libdir)" \
695 "libexecdir=$(libexecdir)" \
696 "lispdir=$(lispdir)" \
697 "localstatedir=$(localstatedir)" \
698 "mandir=$(mandir)" \
699 "oldincludedir=$(oldincludedir)" \
700 "prefix=$(prefix)" \
701 "sbindir=$(sbindir)" \
702 "sharedstatedir=$(sharedstatedir)" \
703 "sysconfdir=$(sysconfdir)" \
704 "tooldir=$(tooldir)" \
705 "build_tooldir=$(build_tooldir)" \
706 "target_alias=$(target_alias)" \
707 "AWK=$(AWK)" \
708 "BISON=$(BISON)" \
709 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
710 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
711 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
712 "EXPECT=$(EXPECT)" \
713 "FLEX=$(FLEX)" \
714 "INSTALL=$(INSTALL)" \
715 "INSTALL_DATA=$(INSTALL_DATA)" \
716 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
717 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
718 "LDFLAGS_FOR_BUILD=$(LDFLAGS_FOR_BUILD)" \
719 "LEX=$(LEX)" \
720 "M4=$(M4)" \
721 "MAKE=$(MAKE)" \
722 "RUNTEST=$(RUNTEST)" \
723 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
724 "SED=$(SED)" \
725 "SHELL=$(SHELL)" \
726 "YACC=$(YACC)" \
727 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
728 "ADA_CFLAGS=$(ADA_CFLAGS)" \
729 "AR_FLAGS=$(AR_FLAGS)" \
730 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
731 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
732 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
733 "CFLAGS=$(CFLAGS)" \
734 "CXXFLAGS=$(CXXFLAGS)" \
735 "LDFLAGS=$(LDFLAGS)" \
736 "LIBCFLAGS=$(LIBCFLAGS)" \
737 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
738 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
739 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
740 "GNATBIND=$(GNATBIND)" \
741 "GNATMAKE=$(GNATMAKE)" \
742 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
743 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
744 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
745 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
746 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
747 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
748 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
749 "FLAGS_FOR_TARGET=$(FLAGS_FOR_TARGET)" \
750 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
751 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
752 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
753 "GOCFLAGS_FOR_TARGET=$(GOCFLAGS_FOR_TARGET)" \
754 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
755 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
756 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
757 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
758 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
759 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
760 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
761 "OBJCOPY_FOR_TARGET=$(OBJCOPY_FOR_TARGET)" \
762 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
763 "READELF_FOR_TARGET=$(READELF_FOR_TARGET)" \
764 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
765 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
766 "WINDMC_FOR_TARGET=$(WINDMC_FOR_TARGET)" \
767 "BUILD_CONFIG=$(BUILD_CONFIG)" \
768 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
769 "LEAN=$(LEAN)" \
770 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
771 "STAGE1_CXXFLAGS=$(STAGE1_CXXFLAGS)" \
772 "STAGE1_TFLAGS=$(STAGE1_TFLAGS)" \
773 "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \
774 "STAGE2_CXXFLAGS=$(STAGE2_CXXFLAGS)" \
775 "STAGE2_TFLAGS=$(STAGE2_TFLAGS)" \
776 "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \
777 "STAGE3_CXXFLAGS=$(STAGE3_CXXFLAGS)" \
778 "STAGE3_TFLAGS=$(STAGE3_TFLAGS)" \
779 "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \
780 "STAGE4_CXXFLAGS=$(STAGE4_CXXFLAGS)" \
781 "STAGE4_TFLAGS=$(STAGE4_TFLAGS)" \
782 "STAGEprofile_CFLAGS=$(STAGEprofile_CFLAGS)" \
783 "STAGEprofile_CXXFLAGS=$(STAGEprofile_CXXFLAGS)" \
784 "STAGEprofile_TFLAGS=$(STAGEprofile_TFLAGS)" \
785 "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \
786 "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \
787 "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \
788 $(CXX_FOR_TARGET_FLAG_TO_PASS) \
789 "TFLAGS=$(TFLAGS)" \
790 "CONFIG_SHELL=$(SHELL)" \
791 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
793 # We leave this in just in case, but it is not needed anymore.
794 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
796 # Flags to pass down to most sub-makes, in which we're building with
797 # the host environment.
798 EXTRA_HOST_FLAGS = \
799 'AR=$(AR)' \
800 'AS=$(AS)' \
801 'CC=$(CC)' \
802 'CXX=$(CXX)' \
803 'DLLTOOL=$(DLLTOOL)' \
804 'GCJ=$(GCJ)' \
805 'GFORTRAN=$(GFORTRAN)' \
806 'GOC=$(GOC)' \
807 'LD=$(LD)' \
808 'LIPO=$(LIPO)' \
809 'NM=$(NM)' \
810 'OBJDUMP=$(OBJDUMP)' \
811 'RANLIB=$(RANLIB)' \
812 'READELF=$(READELF)' \
813 'STRIP=$(STRIP)' \
814 'WINDRES=$(WINDRES)' \
815 'WINDMC=$(WINDMC)'
817 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
819 # Flags to pass to stage1 or when not bootstrapping.
821 STAGE1_FLAGS_TO_PASS = \
822 LDFLAGS="$${LDFLAGS}" \
823 HOST_LIBS="$${HOST_LIBS}"
825 # Flags to pass to stage2 and later makes.
827 POSTSTAGE1_FLAGS_TO_PASS = \
828 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
829 CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \
830 GNATBIND="$${GNATBIND}" \
831 LDFLAGS="$${LDFLAGS}" \
832 HOST_LIBS="$${HOST_LIBS}" \
833 $(LTO_FLAGS_TO_PASS) \
834 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
836 @if gcc-bootstrap
837 EXTRA_HOST_EXPORTS = if [ $(current_stage) != stage1 ]; then \
838 $(POSTSTAGE1_HOST_EXPORTS) \
841 EXTRA_BOOTSTRAP_FLAGS = CC="$$CC" CXX="$$CXX" LDFLAGS="$$LDFLAGS"
842 @endif gcc-bootstrap
844 # Flags to pass down to makes which are built with the target environment.
845 # The double $ decreases the length of the command line; those variables
846 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
847 # *_CFLAGS_FOR_TARGET variables are not passed down and most often empty,
848 # so we expand them here.
849 EXTRA_TARGET_FLAGS = \
850 'AR=$$(AR_FOR_TARGET)' \
851 'AS=$(COMPILER_AS_FOR_TARGET)' \
852 'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
853 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
854 'CXX=$$(CXX_FOR_TARGET) -B$$r/$$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
855 -B$$r/$$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
856 $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
857 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
858 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
859 'GCJ=$$(GCJ_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
860 'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
861 'GOC=$$(GOC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
862 'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \
863 'LD=$(COMPILER_LD_FOR_TARGET)' \
864 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
865 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
866 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
867 'NM=$(COMPILER_NM_FOR_TARGET)' \
868 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
869 'OBJCOPY=$$(OBJCOPY_FOR_TARGET)' \
870 'RANLIB=$$(RANLIB_FOR_TARGET)' \
871 'READELF=$$(READELF_FOR_TARGET)' \
872 'WINDRES=$$(WINDRES_FOR_TARGET)' \
873 'WINDMC=$$(WINDMC_FOR_TARGET)' \
874 'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \
875 'STAGE1_LDFLAGS=$$(POSTSTAGE1_LDFLAGS)' \
876 'STAGE1_LIBS=$$(POSTSTAGE1_LIBS)' \
877 "TFLAGS=$$TFLAGS"
879 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
881 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
882 # unfortunately needs the native compiler and the target ar and
883 # ranlib.
884 # If any variables are added here, they must be added to do-*, below.
885 # The BUILD_* variables are a special case, which are used for the gcc
886 # cross-building scheme.
887 EXTRA_GCC_FLAGS = \
888 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
889 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
890 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
892 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
894 @if gcc
895 BUILD_CONFIG = @BUILD_CONFIG@
896 ifneq ($(BUILD_CONFIG),)
897 include $(foreach CONFIG, $(BUILD_CONFIG), $(srcdir)/config/$(CONFIG).mk)
898 endif
899 @endif gcc
901 .PHONY: configure-host
902 configure-host: \
903 maybe-configure-bfd \
904 maybe-configure-opcodes \
905 maybe-configure-binutils \
906 maybe-configure-bison \
907 maybe-configure-cgen \
908 maybe-configure-dejagnu \
909 maybe-configure-etc \
910 maybe-configure-fastjar \
911 maybe-configure-fixincludes \
912 maybe-configure-flex \
913 maybe-configure-gas \
914 maybe-configure-gcc \
915 maybe-configure-gmp \
916 maybe-configure-mpfr \
917 maybe-configure-mpc \
918 maybe-configure-isl \
919 maybe-configure-libelf \
920 maybe-configure-gold \
921 maybe-configure-gprof \
922 maybe-configure-intl \
923 maybe-configure-tcl \
924 maybe-configure-itcl \
925 maybe-configure-ld \
926 maybe-configure-libbacktrace \
927 maybe-configure-libcpp \
928 maybe-configure-libdecnumber \
929 maybe-configure-libgui \
930 maybe-configure-libiberty \
931 maybe-configure-libiberty-linker-plugin \
932 maybe-configure-libiconv \
933 maybe-configure-m4 \
934 maybe-configure-readline \
935 maybe-configure-sid \
936 maybe-configure-sim \
937 maybe-configure-texinfo \
938 maybe-configure-zlib \
939 maybe-configure-gdb \
940 maybe-configure-expect \
941 maybe-configure-guile \
942 maybe-configure-tk \
943 maybe-configure-libtermcap \
944 maybe-configure-utils \
945 maybe-configure-gnattools \
946 maybe-configure-lto-plugin \
947 maybe-configure-libcc1 \
948 maybe-configure-gotools
949 .PHONY: configure-target
950 configure-target: \
951 maybe-configure-target-libstdc++-v3 \
952 maybe-configure-target-libsanitizer \
953 maybe-configure-target-libmpx \
954 maybe-configure-target-libvtv \
955 maybe-configure-target-libcilkrts \
956 maybe-configure-target-liboffloadmic \
957 maybe-configure-target-libssp \
958 maybe-configure-target-newlib \
959 maybe-configure-target-libgcc \
960 maybe-configure-target-libbacktrace \
961 maybe-configure-target-libquadmath \
962 maybe-configure-target-libgfortran \
963 maybe-configure-target-libobjc \
964 maybe-configure-target-libgo \
965 maybe-configure-target-libtermcap \
966 maybe-configure-target-winsup \
967 maybe-configure-target-libgloss \
968 maybe-configure-target-libffi \
969 maybe-configure-target-libjava \
970 maybe-configure-target-zlib \
971 maybe-configure-target-boehm-gc \
972 maybe-configure-target-rda \
973 maybe-configure-target-libada \
974 maybe-configure-target-libgomp \
975 maybe-configure-target-libitm \
976 maybe-configure-target-libatomic
978 # The target built for a native non-bootstrap build.
979 .PHONY: all
980 all:
981 @if gcc-bootstrap
982 [ -f stage_final ] || echo stage3 > stage_final
983 @r=`${PWD_COMMAND}`; export r; \
984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
985 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
986 @endif gcc-bootstrap
987 @: $(MAKE); $(unstage)
988 @r=`${PWD_COMMAND}`; export r; \
989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
990 @if gcc-bootstrap
991 if [ -f stage_last ]; then \
992 TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \
993 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
994 else \
995 @endif gcc-bootstrap
996 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
997 @if gcc-bootstrap
999 fi \
1000 @endif gcc-bootstrap
1001 && :
1003 .PHONY: all-build
1005 all-build: maybe-all-build-libiberty
1006 all-build: maybe-all-build-bison
1007 all-build: maybe-all-build-flex
1008 all-build: maybe-all-build-m4
1009 all-build: maybe-all-build-texinfo
1010 all-build: maybe-all-build-fixincludes
1011 all-build: maybe-all-build-libcpp
1013 .PHONY: all-host
1015 @if bfd-no-bootstrap
1016 all-host: maybe-all-bfd
1017 @endif bfd-no-bootstrap
1018 @if opcodes-no-bootstrap
1019 all-host: maybe-all-opcodes
1020 @endif opcodes-no-bootstrap
1021 @if binutils-no-bootstrap
1022 all-host: maybe-all-binutils
1023 @endif binutils-no-bootstrap
1024 all-host: maybe-all-bison
1025 all-host: maybe-all-cgen
1026 all-host: maybe-all-dejagnu
1027 all-host: maybe-all-etc
1028 all-host: maybe-all-fastjar
1029 @if fixincludes-no-bootstrap
1030 all-host: maybe-all-fixincludes
1031 @endif fixincludes-no-bootstrap
1032 all-host: maybe-all-flex
1033 @if gas-no-bootstrap
1034 all-host: maybe-all-gas
1035 @endif gas-no-bootstrap
1036 @if gcc-no-bootstrap
1037 all-host: maybe-all-gcc
1038 @endif gcc-no-bootstrap
1039 @if gmp-no-bootstrap
1040 all-host: maybe-all-gmp
1041 @endif gmp-no-bootstrap
1042 @if mpfr-no-bootstrap
1043 all-host: maybe-all-mpfr
1044 @endif mpfr-no-bootstrap
1045 @if mpc-no-bootstrap
1046 all-host: maybe-all-mpc
1047 @endif mpc-no-bootstrap
1048 @if isl-no-bootstrap
1049 all-host: maybe-all-isl
1050 @endif isl-no-bootstrap
1051 @if libelf-no-bootstrap
1052 all-host: maybe-all-libelf
1053 @endif libelf-no-bootstrap
1054 @if gold-no-bootstrap
1055 all-host: maybe-all-gold
1056 @endif gold-no-bootstrap
1057 all-host: maybe-all-gprof
1058 @if intl-no-bootstrap
1059 all-host: maybe-all-intl
1060 @endif intl-no-bootstrap
1061 all-host: maybe-all-tcl
1062 all-host: maybe-all-itcl
1063 @if ld-no-bootstrap
1064 all-host: maybe-all-ld
1065 @endif ld-no-bootstrap
1066 @if libbacktrace-no-bootstrap
1067 all-host: maybe-all-libbacktrace
1068 @endif libbacktrace-no-bootstrap
1069 @if libcpp-no-bootstrap
1070 all-host: maybe-all-libcpp
1071 @endif libcpp-no-bootstrap
1072 @if libdecnumber-no-bootstrap
1073 all-host: maybe-all-libdecnumber
1074 @endif libdecnumber-no-bootstrap
1075 all-host: maybe-all-libgui
1076 @if libiberty-no-bootstrap
1077 all-host: maybe-all-libiberty
1078 @endif libiberty-no-bootstrap
1079 @if libiberty-linker-plugin-no-bootstrap
1080 all-host: maybe-all-libiberty-linker-plugin
1081 @endif libiberty-linker-plugin-no-bootstrap
1082 @if libiconv-no-bootstrap
1083 all-host: maybe-all-libiconv
1084 @endif libiconv-no-bootstrap
1085 all-host: maybe-all-m4
1086 all-host: maybe-all-readline
1087 all-host: maybe-all-sid
1088 all-host: maybe-all-sim
1089 all-host: maybe-all-texinfo
1090 @if zlib-no-bootstrap
1091 all-host: maybe-all-zlib
1092 @endif zlib-no-bootstrap
1093 all-host: maybe-all-gdb
1094 all-host: maybe-all-expect
1095 all-host: maybe-all-guile
1096 all-host: maybe-all-tk
1097 all-host: maybe-all-libtermcap
1098 all-host: maybe-all-utils
1099 all-host: maybe-all-gnattools
1100 @if lto-plugin-no-bootstrap
1101 all-host: maybe-all-lto-plugin
1102 @endif lto-plugin-no-bootstrap
1103 all-host: maybe-all-libcc1
1104 all-host: maybe-all-gotools
1106 .PHONY: all-target
1108 @if target-libstdc++-v3-no-bootstrap
1109 all-target: maybe-all-target-libstdc++-v3
1110 @endif target-libstdc++-v3-no-bootstrap
1111 @if target-libsanitizer-no-bootstrap
1112 all-target: maybe-all-target-libsanitizer
1113 @endif target-libsanitizer-no-bootstrap
1114 @if target-libmpx-no-bootstrap
1115 all-target: maybe-all-target-libmpx
1116 @endif target-libmpx-no-bootstrap
1117 @if target-libvtv-no-bootstrap
1118 all-target: maybe-all-target-libvtv
1119 @endif target-libvtv-no-bootstrap
1120 all-target: maybe-all-target-libcilkrts
1121 all-target: maybe-all-target-liboffloadmic
1122 all-target: maybe-all-target-libssp
1123 all-target: maybe-all-target-newlib
1124 @if target-libgcc-no-bootstrap
1125 all-target: maybe-all-target-libgcc
1126 @endif target-libgcc-no-bootstrap
1127 all-target: maybe-all-target-libbacktrace
1128 all-target: maybe-all-target-libquadmath
1129 all-target: maybe-all-target-libgfortran
1130 all-target: maybe-all-target-libobjc
1131 all-target: maybe-all-target-libgo
1132 all-target: maybe-all-target-libtermcap
1133 all-target: maybe-all-target-winsup
1134 all-target: maybe-all-target-libgloss
1135 all-target: maybe-all-target-libffi
1136 all-target: maybe-all-target-libjava
1137 all-target: maybe-all-target-zlib
1138 all-target: maybe-all-target-boehm-gc
1139 all-target: maybe-all-target-rda
1140 all-target: maybe-all-target-libada
1141 @if target-libgomp-no-bootstrap
1142 all-target: maybe-all-target-libgomp
1143 @endif target-libgomp-no-bootstrap
1144 all-target: maybe-all-target-libitm
1145 all-target: maybe-all-target-libatomic
1147 # Do a target for all the subdirectories. A ``make do-X'' will do a
1148 # ``make X'' in all subdirectories (because, in general, there is a
1149 # dependency (below) of X upon do-X, a ``make X'' will also do this,
1150 # but it may do additional work as well).
1152 .PHONY: do-info
1153 do-info:
1154 @: $(MAKE); $(unstage)
1155 @r=`${PWD_COMMAND}`; export r; \
1156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1157 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
1158 info-target
1161 .PHONY: info-host
1163 info-host: maybe-info-bfd
1164 info-host: maybe-info-opcodes
1165 info-host: maybe-info-binutils
1166 info-host: maybe-info-bison
1167 info-host: maybe-info-cgen
1168 info-host: maybe-info-dejagnu
1169 info-host: maybe-info-etc
1170 info-host: maybe-info-fastjar
1171 info-host: maybe-info-fixincludes
1172 info-host: maybe-info-flex
1173 info-host: maybe-info-gas
1174 info-host: maybe-info-gcc
1175 info-host: maybe-info-gmp
1176 info-host: maybe-info-mpfr
1177 info-host: maybe-info-mpc
1178 info-host: maybe-info-isl
1179 info-host: maybe-info-libelf
1180 info-host: maybe-info-gold
1181 info-host: maybe-info-gprof
1182 info-host: maybe-info-intl
1183 info-host: maybe-info-tcl
1184 info-host: maybe-info-itcl
1185 info-host: maybe-info-ld
1186 info-host: maybe-info-libbacktrace
1187 info-host: maybe-info-libcpp
1188 info-host: maybe-info-libdecnumber
1189 info-host: maybe-info-libgui
1190 info-host: maybe-info-libiberty
1191 info-host: maybe-info-libiberty-linker-plugin
1192 info-host: maybe-info-libiconv
1193 info-host: maybe-info-m4
1194 info-host: maybe-info-readline
1195 info-host: maybe-info-sid
1196 info-host: maybe-info-sim
1197 info-host: maybe-info-texinfo
1198 info-host: maybe-info-zlib
1199 info-host: maybe-info-gdb
1200 info-host: maybe-info-expect
1201 info-host: maybe-info-guile
1202 info-host: maybe-info-tk
1203 info-host: maybe-info-libtermcap
1204 info-host: maybe-info-utils
1205 info-host: maybe-info-gnattools
1206 info-host: maybe-info-lto-plugin
1207 info-host: maybe-info-libcc1
1208 info-host: maybe-info-gotools
1210 .PHONY: info-target
1212 info-target: maybe-info-target-libstdc++-v3
1213 info-target: maybe-info-target-libsanitizer
1214 info-target: maybe-info-target-libmpx
1215 info-target: maybe-info-target-libvtv
1216 info-target: maybe-info-target-libcilkrts
1217 info-target: maybe-info-target-liboffloadmic
1218 info-target: maybe-info-target-libssp
1219 info-target: maybe-info-target-newlib
1220 info-target: maybe-info-target-libgcc
1221 info-target: maybe-info-target-libbacktrace
1222 info-target: maybe-info-target-libquadmath
1223 info-target: maybe-info-target-libgfortran
1224 info-target: maybe-info-target-libobjc
1225 info-target: maybe-info-target-libgo
1226 info-target: maybe-info-target-libtermcap
1227 info-target: maybe-info-target-winsup
1228 info-target: maybe-info-target-libgloss
1229 info-target: maybe-info-target-libffi
1230 info-target: maybe-info-target-libjava
1231 info-target: maybe-info-target-zlib
1232 info-target: maybe-info-target-boehm-gc
1233 info-target: maybe-info-target-rda
1234 info-target: maybe-info-target-libada
1235 info-target: maybe-info-target-libgomp
1236 info-target: maybe-info-target-libitm
1237 info-target: maybe-info-target-libatomic
1239 .PHONY: do-dvi
1240 do-dvi:
1241 @: $(MAKE); $(unstage)
1242 @r=`${PWD_COMMAND}`; export r; \
1243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1244 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1245 dvi-target
1248 .PHONY: dvi-host
1250 dvi-host: maybe-dvi-bfd
1251 dvi-host: maybe-dvi-opcodes
1252 dvi-host: maybe-dvi-binutils
1253 dvi-host: maybe-dvi-bison
1254 dvi-host: maybe-dvi-cgen
1255 dvi-host: maybe-dvi-dejagnu
1256 dvi-host: maybe-dvi-etc
1257 dvi-host: maybe-dvi-fastjar
1258 dvi-host: maybe-dvi-fixincludes
1259 dvi-host: maybe-dvi-flex
1260 dvi-host: maybe-dvi-gas
1261 dvi-host: maybe-dvi-gcc
1262 dvi-host: maybe-dvi-gmp
1263 dvi-host: maybe-dvi-mpfr
1264 dvi-host: maybe-dvi-mpc
1265 dvi-host: maybe-dvi-isl
1266 dvi-host: maybe-dvi-libelf
1267 dvi-host: maybe-dvi-gold
1268 dvi-host: maybe-dvi-gprof
1269 dvi-host: maybe-dvi-intl
1270 dvi-host: maybe-dvi-tcl
1271 dvi-host: maybe-dvi-itcl
1272 dvi-host: maybe-dvi-ld
1273 dvi-host: maybe-dvi-libbacktrace
1274 dvi-host: maybe-dvi-libcpp
1275 dvi-host: maybe-dvi-libdecnumber
1276 dvi-host: maybe-dvi-libgui
1277 dvi-host: maybe-dvi-libiberty
1278 dvi-host: maybe-dvi-libiberty-linker-plugin
1279 dvi-host: maybe-dvi-libiconv
1280 dvi-host: maybe-dvi-m4
1281 dvi-host: maybe-dvi-readline
1282 dvi-host: maybe-dvi-sid
1283 dvi-host: maybe-dvi-sim
1284 dvi-host: maybe-dvi-texinfo
1285 dvi-host: maybe-dvi-zlib
1286 dvi-host: maybe-dvi-gdb
1287 dvi-host: maybe-dvi-expect
1288 dvi-host: maybe-dvi-guile
1289 dvi-host: maybe-dvi-tk
1290 dvi-host: maybe-dvi-libtermcap
1291 dvi-host: maybe-dvi-utils
1292 dvi-host: maybe-dvi-gnattools
1293 dvi-host: maybe-dvi-lto-plugin
1294 dvi-host: maybe-dvi-libcc1
1295 dvi-host: maybe-dvi-gotools
1297 .PHONY: dvi-target
1299 dvi-target: maybe-dvi-target-libstdc++-v3
1300 dvi-target: maybe-dvi-target-libsanitizer
1301 dvi-target: maybe-dvi-target-libmpx
1302 dvi-target: maybe-dvi-target-libvtv
1303 dvi-target: maybe-dvi-target-libcilkrts
1304 dvi-target: maybe-dvi-target-liboffloadmic
1305 dvi-target: maybe-dvi-target-libssp
1306 dvi-target: maybe-dvi-target-newlib
1307 dvi-target: maybe-dvi-target-libgcc
1308 dvi-target: maybe-dvi-target-libbacktrace
1309 dvi-target: maybe-dvi-target-libquadmath
1310 dvi-target: maybe-dvi-target-libgfortran
1311 dvi-target: maybe-dvi-target-libobjc
1312 dvi-target: maybe-dvi-target-libgo
1313 dvi-target: maybe-dvi-target-libtermcap
1314 dvi-target: maybe-dvi-target-winsup
1315 dvi-target: maybe-dvi-target-libgloss
1316 dvi-target: maybe-dvi-target-libffi
1317 dvi-target: maybe-dvi-target-libjava
1318 dvi-target: maybe-dvi-target-zlib
1319 dvi-target: maybe-dvi-target-boehm-gc
1320 dvi-target: maybe-dvi-target-rda
1321 dvi-target: maybe-dvi-target-libada
1322 dvi-target: maybe-dvi-target-libgomp
1323 dvi-target: maybe-dvi-target-libitm
1324 dvi-target: maybe-dvi-target-libatomic
1326 .PHONY: do-pdf
1327 do-pdf:
1328 @: $(MAKE); $(unstage)
1329 @r=`${PWD_COMMAND}`; export r; \
1330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1331 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1332 pdf-target
1335 .PHONY: pdf-host
1337 pdf-host: maybe-pdf-bfd
1338 pdf-host: maybe-pdf-opcodes
1339 pdf-host: maybe-pdf-binutils
1340 pdf-host: maybe-pdf-bison
1341 pdf-host: maybe-pdf-cgen
1342 pdf-host: maybe-pdf-dejagnu
1343 pdf-host: maybe-pdf-etc
1344 pdf-host: maybe-pdf-fastjar
1345 pdf-host: maybe-pdf-fixincludes
1346 pdf-host: maybe-pdf-flex
1347 pdf-host: maybe-pdf-gas
1348 pdf-host: maybe-pdf-gcc
1349 pdf-host: maybe-pdf-gmp
1350 pdf-host: maybe-pdf-mpfr
1351 pdf-host: maybe-pdf-mpc
1352 pdf-host: maybe-pdf-isl
1353 pdf-host: maybe-pdf-libelf
1354 pdf-host: maybe-pdf-gold
1355 pdf-host: maybe-pdf-gprof
1356 pdf-host: maybe-pdf-intl
1357 pdf-host: maybe-pdf-tcl
1358 pdf-host: maybe-pdf-itcl
1359 pdf-host: maybe-pdf-ld
1360 pdf-host: maybe-pdf-libbacktrace
1361 pdf-host: maybe-pdf-libcpp
1362 pdf-host: maybe-pdf-libdecnumber
1363 pdf-host: maybe-pdf-libgui
1364 pdf-host: maybe-pdf-libiberty
1365 pdf-host: maybe-pdf-libiberty-linker-plugin
1366 pdf-host: maybe-pdf-libiconv
1367 pdf-host: maybe-pdf-m4
1368 pdf-host: maybe-pdf-readline
1369 pdf-host: maybe-pdf-sid
1370 pdf-host: maybe-pdf-sim
1371 pdf-host: maybe-pdf-texinfo
1372 pdf-host: maybe-pdf-zlib
1373 pdf-host: maybe-pdf-gdb
1374 pdf-host: maybe-pdf-expect
1375 pdf-host: maybe-pdf-guile
1376 pdf-host: maybe-pdf-tk
1377 pdf-host: maybe-pdf-libtermcap
1378 pdf-host: maybe-pdf-utils
1379 pdf-host: maybe-pdf-gnattools
1380 pdf-host: maybe-pdf-lto-plugin
1381 pdf-host: maybe-pdf-libcc1
1382 pdf-host: maybe-pdf-gotools
1384 .PHONY: pdf-target
1386 pdf-target: maybe-pdf-target-libstdc++-v3
1387 pdf-target: maybe-pdf-target-libsanitizer
1388 pdf-target: maybe-pdf-target-libmpx
1389 pdf-target: maybe-pdf-target-libvtv
1390 pdf-target: maybe-pdf-target-libcilkrts
1391 pdf-target: maybe-pdf-target-liboffloadmic
1392 pdf-target: maybe-pdf-target-libssp
1393 pdf-target: maybe-pdf-target-newlib
1394 pdf-target: maybe-pdf-target-libgcc
1395 pdf-target: maybe-pdf-target-libbacktrace
1396 pdf-target: maybe-pdf-target-libquadmath
1397 pdf-target: maybe-pdf-target-libgfortran
1398 pdf-target: maybe-pdf-target-libobjc
1399 pdf-target: maybe-pdf-target-libgo
1400 pdf-target: maybe-pdf-target-libtermcap
1401 pdf-target: maybe-pdf-target-winsup
1402 pdf-target: maybe-pdf-target-libgloss
1403 pdf-target: maybe-pdf-target-libffi
1404 pdf-target: maybe-pdf-target-libjava
1405 pdf-target: maybe-pdf-target-zlib
1406 pdf-target: maybe-pdf-target-boehm-gc
1407 pdf-target: maybe-pdf-target-rda
1408 pdf-target: maybe-pdf-target-libada
1409 pdf-target: maybe-pdf-target-libgomp
1410 pdf-target: maybe-pdf-target-libitm
1411 pdf-target: maybe-pdf-target-libatomic
1413 .PHONY: do-html
1414 do-html:
1415 @: $(MAKE); $(unstage)
1416 @r=`${PWD_COMMAND}`; export r; \
1417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1418 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1419 html-target
1422 .PHONY: html-host
1424 html-host: maybe-html-bfd
1425 html-host: maybe-html-opcodes
1426 html-host: maybe-html-binutils
1427 html-host: maybe-html-bison
1428 html-host: maybe-html-cgen
1429 html-host: maybe-html-dejagnu
1430 html-host: maybe-html-etc
1431 html-host: maybe-html-fastjar
1432 html-host: maybe-html-fixincludes
1433 html-host: maybe-html-flex
1434 html-host: maybe-html-gas
1435 html-host: maybe-html-gcc
1436 html-host: maybe-html-gmp
1437 html-host: maybe-html-mpfr
1438 html-host: maybe-html-mpc
1439 html-host: maybe-html-isl
1440 html-host: maybe-html-libelf
1441 html-host: maybe-html-gold
1442 html-host: maybe-html-gprof
1443 html-host: maybe-html-intl
1444 html-host: maybe-html-tcl
1445 html-host: maybe-html-itcl
1446 html-host: maybe-html-ld
1447 html-host: maybe-html-libbacktrace
1448 html-host: maybe-html-libcpp
1449 html-host: maybe-html-libdecnumber
1450 html-host: maybe-html-libgui
1451 html-host: maybe-html-libiberty
1452 html-host: maybe-html-libiberty-linker-plugin
1453 html-host: maybe-html-libiconv
1454 html-host: maybe-html-m4
1455 html-host: maybe-html-readline
1456 html-host: maybe-html-sid
1457 html-host: maybe-html-sim
1458 html-host: maybe-html-texinfo
1459 html-host: maybe-html-zlib
1460 html-host: maybe-html-gdb
1461 html-host: maybe-html-expect
1462 html-host: maybe-html-guile
1463 html-host: maybe-html-tk
1464 html-host: maybe-html-libtermcap
1465 html-host: maybe-html-utils
1466 html-host: maybe-html-gnattools
1467 html-host: maybe-html-lto-plugin
1468 html-host: maybe-html-libcc1
1469 html-host: maybe-html-gotools
1471 .PHONY: html-target
1473 html-target: maybe-html-target-libstdc++-v3
1474 html-target: maybe-html-target-libsanitizer
1475 html-target: maybe-html-target-libmpx
1476 html-target: maybe-html-target-libvtv
1477 html-target: maybe-html-target-libcilkrts
1478 html-target: maybe-html-target-liboffloadmic
1479 html-target: maybe-html-target-libssp
1480 html-target: maybe-html-target-newlib
1481 html-target: maybe-html-target-libgcc
1482 html-target: maybe-html-target-libbacktrace
1483 html-target: maybe-html-target-libquadmath
1484 html-target: maybe-html-target-libgfortran
1485 html-target: maybe-html-target-libobjc
1486 html-target: maybe-html-target-libgo
1487 html-target: maybe-html-target-libtermcap
1488 html-target: maybe-html-target-winsup
1489 html-target: maybe-html-target-libgloss
1490 html-target: maybe-html-target-libffi
1491 html-target: maybe-html-target-libjava
1492 html-target: maybe-html-target-zlib
1493 html-target: maybe-html-target-boehm-gc
1494 html-target: maybe-html-target-rda
1495 html-target: maybe-html-target-libada
1496 html-target: maybe-html-target-libgomp
1497 html-target: maybe-html-target-libitm
1498 html-target: maybe-html-target-libatomic
1500 .PHONY: do-TAGS
1501 do-TAGS:
1502 @: $(MAKE); $(unstage)
1503 @r=`${PWD_COMMAND}`; export r; \
1504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1505 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1506 TAGS-target
1509 .PHONY: TAGS-host
1511 TAGS-host: maybe-TAGS-bfd
1512 TAGS-host: maybe-TAGS-opcodes
1513 TAGS-host: maybe-TAGS-binutils
1514 TAGS-host: maybe-TAGS-bison
1515 TAGS-host: maybe-TAGS-cgen
1516 TAGS-host: maybe-TAGS-dejagnu
1517 TAGS-host: maybe-TAGS-etc
1518 TAGS-host: maybe-TAGS-fastjar
1519 TAGS-host: maybe-TAGS-fixincludes
1520 TAGS-host: maybe-TAGS-flex
1521 TAGS-host: maybe-TAGS-gas
1522 TAGS-host: maybe-TAGS-gcc
1523 TAGS-host: maybe-TAGS-gmp
1524 TAGS-host: maybe-TAGS-mpfr
1525 TAGS-host: maybe-TAGS-mpc
1526 TAGS-host: maybe-TAGS-isl
1527 TAGS-host: maybe-TAGS-libelf
1528 TAGS-host: maybe-TAGS-gold
1529 TAGS-host: maybe-TAGS-gprof
1530 TAGS-host: maybe-TAGS-intl
1531 TAGS-host: maybe-TAGS-tcl
1532 TAGS-host: maybe-TAGS-itcl
1533 TAGS-host: maybe-TAGS-ld
1534 TAGS-host: maybe-TAGS-libbacktrace
1535 TAGS-host: maybe-TAGS-libcpp
1536 TAGS-host: maybe-TAGS-libdecnumber
1537 TAGS-host: maybe-TAGS-libgui
1538 TAGS-host: maybe-TAGS-libiberty
1539 TAGS-host: maybe-TAGS-libiberty-linker-plugin
1540 TAGS-host: maybe-TAGS-libiconv
1541 TAGS-host: maybe-TAGS-m4
1542 TAGS-host: maybe-TAGS-readline
1543 TAGS-host: maybe-TAGS-sid
1544 TAGS-host: maybe-TAGS-sim
1545 TAGS-host: maybe-TAGS-texinfo
1546 TAGS-host: maybe-TAGS-zlib
1547 TAGS-host: maybe-TAGS-gdb
1548 TAGS-host: maybe-TAGS-expect
1549 TAGS-host: maybe-TAGS-guile
1550 TAGS-host: maybe-TAGS-tk
1551 TAGS-host: maybe-TAGS-libtermcap
1552 TAGS-host: maybe-TAGS-utils
1553 TAGS-host: maybe-TAGS-gnattools
1554 TAGS-host: maybe-TAGS-lto-plugin
1555 TAGS-host: maybe-TAGS-libcc1
1556 TAGS-host: maybe-TAGS-gotools
1558 .PHONY: TAGS-target
1560 TAGS-target: maybe-TAGS-target-libstdc++-v3
1561 TAGS-target: maybe-TAGS-target-libsanitizer
1562 TAGS-target: maybe-TAGS-target-libmpx
1563 TAGS-target: maybe-TAGS-target-libvtv
1564 TAGS-target: maybe-TAGS-target-libcilkrts
1565 TAGS-target: maybe-TAGS-target-liboffloadmic
1566 TAGS-target: maybe-TAGS-target-libssp
1567 TAGS-target: maybe-TAGS-target-newlib
1568 TAGS-target: maybe-TAGS-target-libgcc
1569 TAGS-target: maybe-TAGS-target-libbacktrace
1570 TAGS-target: maybe-TAGS-target-libquadmath
1571 TAGS-target: maybe-TAGS-target-libgfortran
1572 TAGS-target: maybe-TAGS-target-libobjc
1573 TAGS-target: maybe-TAGS-target-libgo
1574 TAGS-target: maybe-TAGS-target-libtermcap
1575 TAGS-target: maybe-TAGS-target-winsup
1576 TAGS-target: maybe-TAGS-target-libgloss
1577 TAGS-target: maybe-TAGS-target-libffi
1578 TAGS-target: maybe-TAGS-target-libjava
1579 TAGS-target: maybe-TAGS-target-zlib
1580 TAGS-target: maybe-TAGS-target-boehm-gc
1581 TAGS-target: maybe-TAGS-target-rda
1582 TAGS-target: maybe-TAGS-target-libada
1583 TAGS-target: maybe-TAGS-target-libgomp
1584 TAGS-target: maybe-TAGS-target-libitm
1585 TAGS-target: maybe-TAGS-target-libatomic
1587 .PHONY: do-install-info
1588 do-install-info:
1589 @: $(MAKE); $(unstage)
1590 @r=`${PWD_COMMAND}`; export r; \
1591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1592 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1593 install-info-target
1596 .PHONY: install-info-host
1598 install-info-host: maybe-install-info-bfd
1599 install-info-host: maybe-install-info-opcodes
1600 install-info-host: maybe-install-info-binutils
1601 install-info-host: maybe-install-info-bison
1602 install-info-host: maybe-install-info-cgen
1603 install-info-host: maybe-install-info-dejagnu
1604 install-info-host: maybe-install-info-etc
1605 install-info-host: maybe-install-info-fastjar
1606 install-info-host: maybe-install-info-fixincludes
1607 install-info-host: maybe-install-info-flex
1608 install-info-host: maybe-install-info-gas
1609 install-info-host: maybe-install-info-gcc
1610 install-info-host: maybe-install-info-gmp
1611 install-info-host: maybe-install-info-mpfr
1612 install-info-host: maybe-install-info-mpc
1613 install-info-host: maybe-install-info-isl
1614 install-info-host: maybe-install-info-libelf
1615 install-info-host: maybe-install-info-gold
1616 install-info-host: maybe-install-info-gprof
1617 install-info-host: maybe-install-info-intl
1618 install-info-host: maybe-install-info-tcl
1619 install-info-host: maybe-install-info-itcl
1620 install-info-host: maybe-install-info-ld
1621 install-info-host: maybe-install-info-libbacktrace
1622 install-info-host: maybe-install-info-libcpp
1623 install-info-host: maybe-install-info-libdecnumber
1624 install-info-host: maybe-install-info-libgui
1625 install-info-host: maybe-install-info-libiberty
1626 install-info-host: maybe-install-info-libiberty-linker-plugin
1627 install-info-host: maybe-install-info-libiconv
1628 install-info-host: maybe-install-info-m4
1629 install-info-host: maybe-install-info-readline
1630 install-info-host: maybe-install-info-sid
1631 install-info-host: maybe-install-info-sim
1632 install-info-host: maybe-install-info-texinfo
1633 install-info-host: maybe-install-info-zlib
1634 install-info-host: maybe-install-info-gdb
1635 install-info-host: maybe-install-info-expect
1636 install-info-host: maybe-install-info-guile
1637 install-info-host: maybe-install-info-tk
1638 install-info-host: maybe-install-info-libtermcap
1639 install-info-host: maybe-install-info-utils
1640 install-info-host: maybe-install-info-gnattools
1641 install-info-host: maybe-install-info-lto-plugin
1642 install-info-host: maybe-install-info-libcc1
1643 install-info-host: maybe-install-info-gotools
1645 .PHONY: install-info-target
1647 install-info-target: maybe-install-info-target-libstdc++-v3
1648 install-info-target: maybe-install-info-target-libsanitizer
1649 install-info-target: maybe-install-info-target-libmpx
1650 install-info-target: maybe-install-info-target-libvtv
1651 install-info-target: maybe-install-info-target-libcilkrts
1652 install-info-target: maybe-install-info-target-liboffloadmic
1653 install-info-target: maybe-install-info-target-libssp
1654 install-info-target: maybe-install-info-target-newlib
1655 install-info-target: maybe-install-info-target-libgcc
1656 install-info-target: maybe-install-info-target-libbacktrace
1657 install-info-target: maybe-install-info-target-libquadmath
1658 install-info-target: maybe-install-info-target-libgfortran
1659 install-info-target: maybe-install-info-target-libobjc
1660 install-info-target: maybe-install-info-target-libgo
1661 install-info-target: maybe-install-info-target-libtermcap
1662 install-info-target: maybe-install-info-target-winsup
1663 install-info-target: maybe-install-info-target-libgloss
1664 install-info-target: maybe-install-info-target-libffi
1665 install-info-target: maybe-install-info-target-libjava
1666 install-info-target: maybe-install-info-target-zlib
1667 install-info-target: maybe-install-info-target-boehm-gc
1668 install-info-target: maybe-install-info-target-rda
1669 install-info-target: maybe-install-info-target-libada
1670 install-info-target: maybe-install-info-target-libgomp
1671 install-info-target: maybe-install-info-target-libitm
1672 install-info-target: maybe-install-info-target-libatomic
1674 .PHONY: do-install-pdf
1675 do-install-pdf:
1676 @: $(MAKE); $(unstage)
1677 @r=`${PWD_COMMAND}`; export r; \
1678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1679 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
1680 install-pdf-target
1683 .PHONY: install-pdf-host
1685 install-pdf-host: maybe-install-pdf-bfd
1686 install-pdf-host: maybe-install-pdf-opcodes
1687 install-pdf-host: maybe-install-pdf-binutils
1688 install-pdf-host: maybe-install-pdf-bison
1689 install-pdf-host: maybe-install-pdf-cgen
1690 install-pdf-host: maybe-install-pdf-dejagnu
1691 install-pdf-host: maybe-install-pdf-etc
1692 install-pdf-host: maybe-install-pdf-fastjar
1693 install-pdf-host: maybe-install-pdf-fixincludes
1694 install-pdf-host: maybe-install-pdf-flex
1695 install-pdf-host: maybe-install-pdf-gas
1696 install-pdf-host: maybe-install-pdf-gcc
1697 install-pdf-host: maybe-install-pdf-gmp
1698 install-pdf-host: maybe-install-pdf-mpfr
1699 install-pdf-host: maybe-install-pdf-mpc
1700 install-pdf-host: maybe-install-pdf-isl
1701 install-pdf-host: maybe-install-pdf-libelf
1702 install-pdf-host: maybe-install-pdf-gold
1703 install-pdf-host: maybe-install-pdf-gprof
1704 install-pdf-host: maybe-install-pdf-intl
1705 install-pdf-host: maybe-install-pdf-tcl
1706 install-pdf-host: maybe-install-pdf-itcl
1707 install-pdf-host: maybe-install-pdf-ld
1708 install-pdf-host: maybe-install-pdf-libbacktrace
1709 install-pdf-host: maybe-install-pdf-libcpp
1710 install-pdf-host: maybe-install-pdf-libdecnumber
1711 install-pdf-host: maybe-install-pdf-libgui
1712 install-pdf-host: maybe-install-pdf-libiberty
1713 install-pdf-host: maybe-install-pdf-libiberty-linker-plugin
1714 install-pdf-host: maybe-install-pdf-libiconv
1715 install-pdf-host: maybe-install-pdf-m4
1716 install-pdf-host: maybe-install-pdf-readline
1717 install-pdf-host: maybe-install-pdf-sid
1718 install-pdf-host: maybe-install-pdf-sim
1719 install-pdf-host: maybe-install-pdf-texinfo
1720 install-pdf-host: maybe-install-pdf-zlib
1721 install-pdf-host: maybe-install-pdf-gdb
1722 install-pdf-host: maybe-install-pdf-expect
1723 install-pdf-host: maybe-install-pdf-guile
1724 install-pdf-host: maybe-install-pdf-tk
1725 install-pdf-host: maybe-install-pdf-libtermcap
1726 install-pdf-host: maybe-install-pdf-utils
1727 install-pdf-host: maybe-install-pdf-gnattools
1728 install-pdf-host: maybe-install-pdf-lto-plugin
1729 install-pdf-host: maybe-install-pdf-libcc1
1730 install-pdf-host: maybe-install-pdf-gotools
1732 .PHONY: install-pdf-target
1734 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
1735 install-pdf-target: maybe-install-pdf-target-libsanitizer
1736 install-pdf-target: maybe-install-pdf-target-libmpx
1737 install-pdf-target: maybe-install-pdf-target-libvtv
1738 install-pdf-target: maybe-install-pdf-target-libcilkrts
1739 install-pdf-target: maybe-install-pdf-target-liboffloadmic
1740 install-pdf-target: maybe-install-pdf-target-libssp
1741 install-pdf-target: maybe-install-pdf-target-newlib
1742 install-pdf-target: maybe-install-pdf-target-libgcc
1743 install-pdf-target: maybe-install-pdf-target-libbacktrace
1744 install-pdf-target: maybe-install-pdf-target-libquadmath
1745 install-pdf-target: maybe-install-pdf-target-libgfortran
1746 install-pdf-target: maybe-install-pdf-target-libobjc
1747 install-pdf-target: maybe-install-pdf-target-libgo
1748 install-pdf-target: maybe-install-pdf-target-libtermcap
1749 install-pdf-target: maybe-install-pdf-target-winsup
1750 install-pdf-target: maybe-install-pdf-target-libgloss
1751 install-pdf-target: maybe-install-pdf-target-libffi
1752 install-pdf-target: maybe-install-pdf-target-libjava
1753 install-pdf-target: maybe-install-pdf-target-zlib
1754 install-pdf-target: maybe-install-pdf-target-boehm-gc
1755 install-pdf-target: maybe-install-pdf-target-rda
1756 install-pdf-target: maybe-install-pdf-target-libada
1757 install-pdf-target: maybe-install-pdf-target-libgomp
1758 install-pdf-target: maybe-install-pdf-target-libitm
1759 install-pdf-target: maybe-install-pdf-target-libatomic
1761 .PHONY: do-install-html
1762 do-install-html:
1763 @: $(MAKE); $(unstage)
1764 @r=`${PWD_COMMAND}`; export r; \
1765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1766 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1767 install-html-target
1770 .PHONY: install-html-host
1772 install-html-host: maybe-install-html-bfd
1773 install-html-host: maybe-install-html-opcodes
1774 install-html-host: maybe-install-html-binutils
1775 install-html-host: maybe-install-html-bison
1776 install-html-host: maybe-install-html-cgen
1777 install-html-host: maybe-install-html-dejagnu
1778 install-html-host: maybe-install-html-etc
1779 install-html-host: maybe-install-html-fastjar
1780 install-html-host: maybe-install-html-fixincludes
1781 install-html-host: maybe-install-html-flex
1782 install-html-host: maybe-install-html-gas
1783 install-html-host: maybe-install-html-gcc
1784 install-html-host: maybe-install-html-gmp
1785 install-html-host: maybe-install-html-mpfr
1786 install-html-host: maybe-install-html-mpc
1787 install-html-host: maybe-install-html-isl
1788 install-html-host: maybe-install-html-libelf
1789 install-html-host: maybe-install-html-gold
1790 install-html-host: maybe-install-html-gprof
1791 install-html-host: maybe-install-html-intl
1792 install-html-host: maybe-install-html-tcl
1793 install-html-host: maybe-install-html-itcl
1794 install-html-host: maybe-install-html-ld
1795 install-html-host: maybe-install-html-libbacktrace
1796 install-html-host: maybe-install-html-libcpp
1797 install-html-host: maybe-install-html-libdecnumber
1798 install-html-host: maybe-install-html-libgui
1799 install-html-host: maybe-install-html-libiberty
1800 install-html-host: maybe-install-html-libiberty-linker-plugin
1801 install-html-host: maybe-install-html-libiconv
1802 install-html-host: maybe-install-html-m4
1803 install-html-host: maybe-install-html-readline
1804 install-html-host: maybe-install-html-sid
1805 install-html-host: maybe-install-html-sim
1806 install-html-host: maybe-install-html-texinfo
1807 install-html-host: maybe-install-html-zlib
1808 install-html-host: maybe-install-html-gdb
1809 install-html-host: maybe-install-html-expect
1810 install-html-host: maybe-install-html-guile
1811 install-html-host: maybe-install-html-tk
1812 install-html-host: maybe-install-html-libtermcap
1813 install-html-host: maybe-install-html-utils
1814 install-html-host: maybe-install-html-gnattools
1815 install-html-host: maybe-install-html-lto-plugin
1816 install-html-host: maybe-install-html-libcc1
1817 install-html-host: maybe-install-html-gotools
1819 .PHONY: install-html-target
1821 install-html-target: maybe-install-html-target-libstdc++-v3
1822 install-html-target: maybe-install-html-target-libsanitizer
1823 install-html-target: maybe-install-html-target-libmpx
1824 install-html-target: maybe-install-html-target-libvtv
1825 install-html-target: maybe-install-html-target-libcilkrts
1826 install-html-target: maybe-install-html-target-liboffloadmic
1827 install-html-target: maybe-install-html-target-libssp
1828 install-html-target: maybe-install-html-target-newlib
1829 install-html-target: maybe-install-html-target-libgcc
1830 install-html-target: maybe-install-html-target-libbacktrace
1831 install-html-target: maybe-install-html-target-libquadmath
1832 install-html-target: maybe-install-html-target-libgfortran
1833 install-html-target: maybe-install-html-target-libobjc
1834 install-html-target: maybe-install-html-target-libgo
1835 install-html-target: maybe-install-html-target-libtermcap
1836 install-html-target: maybe-install-html-target-winsup
1837 install-html-target: maybe-install-html-target-libgloss
1838 install-html-target: maybe-install-html-target-libffi
1839 install-html-target: maybe-install-html-target-libjava
1840 install-html-target: maybe-install-html-target-zlib
1841 install-html-target: maybe-install-html-target-boehm-gc
1842 install-html-target: maybe-install-html-target-rda
1843 install-html-target: maybe-install-html-target-libada
1844 install-html-target: maybe-install-html-target-libgomp
1845 install-html-target: maybe-install-html-target-libitm
1846 install-html-target: maybe-install-html-target-libatomic
1848 .PHONY: do-installcheck
1849 do-installcheck:
1850 @: $(MAKE); $(unstage)
1851 @r=`${PWD_COMMAND}`; export r; \
1852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1853 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1854 installcheck-target
1857 .PHONY: installcheck-host
1859 installcheck-host: maybe-installcheck-bfd
1860 installcheck-host: maybe-installcheck-opcodes
1861 installcheck-host: maybe-installcheck-binutils
1862 installcheck-host: maybe-installcheck-bison
1863 installcheck-host: maybe-installcheck-cgen
1864 installcheck-host: maybe-installcheck-dejagnu
1865 installcheck-host: maybe-installcheck-etc
1866 installcheck-host: maybe-installcheck-fastjar
1867 installcheck-host: maybe-installcheck-fixincludes
1868 installcheck-host: maybe-installcheck-flex
1869 installcheck-host: maybe-installcheck-gas
1870 installcheck-host: maybe-installcheck-gcc
1871 installcheck-host: maybe-installcheck-gmp
1872 installcheck-host: maybe-installcheck-mpfr
1873 installcheck-host: maybe-installcheck-mpc
1874 installcheck-host: maybe-installcheck-isl
1875 installcheck-host: maybe-installcheck-libelf
1876 installcheck-host: maybe-installcheck-gold
1877 installcheck-host: maybe-installcheck-gprof
1878 installcheck-host: maybe-installcheck-intl
1879 installcheck-host: maybe-installcheck-tcl
1880 installcheck-host: maybe-installcheck-itcl
1881 installcheck-host: maybe-installcheck-ld
1882 installcheck-host: maybe-installcheck-libbacktrace
1883 installcheck-host: maybe-installcheck-libcpp
1884 installcheck-host: maybe-installcheck-libdecnumber
1885 installcheck-host: maybe-installcheck-libgui
1886 installcheck-host: maybe-installcheck-libiberty
1887 installcheck-host: maybe-installcheck-libiberty-linker-plugin
1888 installcheck-host: maybe-installcheck-libiconv
1889 installcheck-host: maybe-installcheck-m4
1890 installcheck-host: maybe-installcheck-readline
1891 installcheck-host: maybe-installcheck-sid
1892 installcheck-host: maybe-installcheck-sim
1893 installcheck-host: maybe-installcheck-texinfo
1894 installcheck-host: maybe-installcheck-zlib
1895 installcheck-host: maybe-installcheck-gdb
1896 installcheck-host: maybe-installcheck-expect
1897 installcheck-host: maybe-installcheck-guile
1898 installcheck-host: maybe-installcheck-tk
1899 installcheck-host: maybe-installcheck-libtermcap
1900 installcheck-host: maybe-installcheck-utils
1901 installcheck-host: maybe-installcheck-gnattools
1902 installcheck-host: maybe-installcheck-lto-plugin
1903 installcheck-host: maybe-installcheck-libcc1
1904 installcheck-host: maybe-installcheck-gotools
1906 .PHONY: installcheck-target
1908 installcheck-target: maybe-installcheck-target-libstdc++-v3
1909 installcheck-target: maybe-installcheck-target-libsanitizer
1910 installcheck-target: maybe-installcheck-target-libmpx
1911 installcheck-target: maybe-installcheck-target-libvtv
1912 installcheck-target: maybe-installcheck-target-libcilkrts
1913 installcheck-target: maybe-installcheck-target-liboffloadmic
1914 installcheck-target: maybe-installcheck-target-libssp
1915 installcheck-target: maybe-installcheck-target-newlib
1916 installcheck-target: maybe-installcheck-target-libgcc
1917 installcheck-target: maybe-installcheck-target-libbacktrace
1918 installcheck-target: maybe-installcheck-target-libquadmath
1919 installcheck-target: maybe-installcheck-target-libgfortran
1920 installcheck-target: maybe-installcheck-target-libobjc
1921 installcheck-target: maybe-installcheck-target-libgo
1922 installcheck-target: maybe-installcheck-target-libtermcap
1923 installcheck-target: maybe-installcheck-target-winsup
1924 installcheck-target: maybe-installcheck-target-libgloss
1925 installcheck-target: maybe-installcheck-target-libffi
1926 installcheck-target: maybe-installcheck-target-libjava
1927 installcheck-target: maybe-installcheck-target-zlib
1928 installcheck-target: maybe-installcheck-target-boehm-gc
1929 installcheck-target: maybe-installcheck-target-rda
1930 installcheck-target: maybe-installcheck-target-libada
1931 installcheck-target: maybe-installcheck-target-libgomp
1932 installcheck-target: maybe-installcheck-target-libitm
1933 installcheck-target: maybe-installcheck-target-libatomic
1935 .PHONY: do-mostlyclean
1936 do-mostlyclean:
1937 @: $(MAKE); $(unstage)
1938 @r=`${PWD_COMMAND}`; export r; \
1939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1940 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1941 mostlyclean-target
1944 .PHONY: mostlyclean-host
1946 mostlyclean-host: maybe-mostlyclean-bfd
1947 mostlyclean-host: maybe-mostlyclean-opcodes
1948 mostlyclean-host: maybe-mostlyclean-binutils
1949 mostlyclean-host: maybe-mostlyclean-bison
1950 mostlyclean-host: maybe-mostlyclean-cgen
1951 mostlyclean-host: maybe-mostlyclean-dejagnu
1952 mostlyclean-host: maybe-mostlyclean-etc
1953 mostlyclean-host: maybe-mostlyclean-fastjar
1954 mostlyclean-host: maybe-mostlyclean-fixincludes
1955 mostlyclean-host: maybe-mostlyclean-flex
1956 mostlyclean-host: maybe-mostlyclean-gas
1957 mostlyclean-host: maybe-mostlyclean-gcc
1958 mostlyclean-host: maybe-mostlyclean-gmp
1959 mostlyclean-host: maybe-mostlyclean-mpfr
1960 mostlyclean-host: maybe-mostlyclean-mpc
1961 mostlyclean-host: maybe-mostlyclean-isl
1962 mostlyclean-host: maybe-mostlyclean-libelf
1963 mostlyclean-host: maybe-mostlyclean-gold
1964 mostlyclean-host: maybe-mostlyclean-gprof
1965 mostlyclean-host: maybe-mostlyclean-intl
1966 mostlyclean-host: maybe-mostlyclean-tcl
1967 mostlyclean-host: maybe-mostlyclean-itcl
1968 mostlyclean-host: maybe-mostlyclean-ld
1969 mostlyclean-host: maybe-mostlyclean-libbacktrace
1970 mostlyclean-host: maybe-mostlyclean-libcpp
1971 mostlyclean-host: maybe-mostlyclean-libdecnumber
1972 mostlyclean-host: maybe-mostlyclean-libgui
1973 mostlyclean-host: maybe-mostlyclean-libiberty
1974 mostlyclean-host: maybe-mostlyclean-libiberty-linker-plugin
1975 mostlyclean-host: maybe-mostlyclean-libiconv
1976 mostlyclean-host: maybe-mostlyclean-m4
1977 mostlyclean-host: maybe-mostlyclean-readline
1978 mostlyclean-host: maybe-mostlyclean-sid
1979 mostlyclean-host: maybe-mostlyclean-sim
1980 mostlyclean-host: maybe-mostlyclean-texinfo
1981 mostlyclean-host: maybe-mostlyclean-zlib
1982 mostlyclean-host: maybe-mostlyclean-gdb
1983 mostlyclean-host: maybe-mostlyclean-expect
1984 mostlyclean-host: maybe-mostlyclean-guile
1985 mostlyclean-host: maybe-mostlyclean-tk
1986 mostlyclean-host: maybe-mostlyclean-libtermcap
1987 mostlyclean-host: maybe-mostlyclean-utils
1988 mostlyclean-host: maybe-mostlyclean-gnattools
1989 mostlyclean-host: maybe-mostlyclean-lto-plugin
1990 mostlyclean-host: maybe-mostlyclean-libcc1
1991 mostlyclean-host: maybe-mostlyclean-gotools
1993 .PHONY: mostlyclean-target
1995 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
1996 mostlyclean-target: maybe-mostlyclean-target-libsanitizer
1997 mostlyclean-target: maybe-mostlyclean-target-libmpx
1998 mostlyclean-target: maybe-mostlyclean-target-libvtv
1999 mostlyclean-target: maybe-mostlyclean-target-libcilkrts
2000 mostlyclean-target: maybe-mostlyclean-target-liboffloadmic
2001 mostlyclean-target: maybe-mostlyclean-target-libssp
2002 mostlyclean-target: maybe-mostlyclean-target-newlib
2003 mostlyclean-target: maybe-mostlyclean-target-libgcc
2004 mostlyclean-target: maybe-mostlyclean-target-libbacktrace
2005 mostlyclean-target: maybe-mostlyclean-target-libquadmath
2006 mostlyclean-target: maybe-mostlyclean-target-libgfortran
2007 mostlyclean-target: maybe-mostlyclean-target-libobjc
2008 mostlyclean-target: maybe-mostlyclean-target-libgo
2009 mostlyclean-target: maybe-mostlyclean-target-libtermcap
2010 mostlyclean-target: maybe-mostlyclean-target-winsup
2011 mostlyclean-target: maybe-mostlyclean-target-libgloss
2012 mostlyclean-target: maybe-mostlyclean-target-libffi
2013 mostlyclean-target: maybe-mostlyclean-target-libjava
2014 mostlyclean-target: maybe-mostlyclean-target-zlib
2015 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
2016 mostlyclean-target: maybe-mostlyclean-target-rda
2017 mostlyclean-target: maybe-mostlyclean-target-libada
2018 mostlyclean-target: maybe-mostlyclean-target-libgomp
2019 mostlyclean-target: maybe-mostlyclean-target-libitm
2020 mostlyclean-target: maybe-mostlyclean-target-libatomic
2022 .PHONY: do-clean
2023 do-clean:
2024 @: $(MAKE); $(unstage)
2025 @r=`${PWD_COMMAND}`; export r; \
2026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2027 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
2028 clean-target
2031 .PHONY: clean-host
2033 clean-host: maybe-clean-bfd
2034 clean-host: maybe-clean-opcodes
2035 clean-host: maybe-clean-binutils
2036 clean-host: maybe-clean-bison
2037 clean-host: maybe-clean-cgen
2038 clean-host: maybe-clean-dejagnu
2039 clean-host: maybe-clean-etc
2040 clean-host: maybe-clean-fastjar
2041 clean-host: maybe-clean-fixincludes
2042 clean-host: maybe-clean-flex
2043 clean-host: maybe-clean-gas
2044 clean-host: maybe-clean-gcc
2045 clean-host: maybe-clean-gmp
2046 clean-host: maybe-clean-mpfr
2047 clean-host: maybe-clean-mpc
2048 clean-host: maybe-clean-isl
2049 clean-host: maybe-clean-libelf
2050 clean-host: maybe-clean-gold
2051 clean-host: maybe-clean-gprof
2052 clean-host: maybe-clean-intl
2053 clean-host: maybe-clean-tcl
2054 clean-host: maybe-clean-itcl
2055 clean-host: maybe-clean-ld
2056 clean-host: maybe-clean-libbacktrace
2057 clean-host: maybe-clean-libcpp
2058 clean-host: maybe-clean-libdecnumber
2059 clean-host: maybe-clean-libgui
2060 clean-host: maybe-clean-libiberty
2061 clean-host: maybe-clean-libiberty-linker-plugin
2062 clean-host: maybe-clean-libiconv
2063 clean-host: maybe-clean-m4
2064 clean-host: maybe-clean-readline
2065 clean-host: maybe-clean-sid
2066 clean-host: maybe-clean-sim
2067 clean-host: maybe-clean-texinfo
2068 clean-host: maybe-clean-zlib
2069 clean-host: maybe-clean-gdb
2070 clean-host: maybe-clean-expect
2071 clean-host: maybe-clean-guile
2072 clean-host: maybe-clean-tk
2073 clean-host: maybe-clean-libtermcap
2074 clean-host: maybe-clean-utils
2075 clean-host: maybe-clean-gnattools
2076 clean-host: maybe-clean-lto-plugin
2077 clean-host: maybe-clean-libcc1
2078 clean-host: maybe-clean-gotools
2080 .PHONY: clean-target
2082 clean-target: maybe-clean-target-libstdc++-v3
2083 clean-target: maybe-clean-target-libsanitizer
2084 clean-target: maybe-clean-target-libmpx
2085 clean-target: maybe-clean-target-libvtv
2086 clean-target: maybe-clean-target-libcilkrts
2087 clean-target: maybe-clean-target-liboffloadmic
2088 clean-target: maybe-clean-target-libssp
2089 clean-target: maybe-clean-target-newlib
2090 clean-target: maybe-clean-target-libgcc
2091 clean-target: maybe-clean-target-libbacktrace
2092 clean-target: maybe-clean-target-libquadmath
2093 clean-target: maybe-clean-target-libgfortran
2094 clean-target: maybe-clean-target-libobjc
2095 clean-target: maybe-clean-target-libgo
2096 clean-target: maybe-clean-target-libtermcap
2097 clean-target: maybe-clean-target-winsup
2098 clean-target: maybe-clean-target-libgloss
2099 clean-target: maybe-clean-target-libffi
2100 clean-target: maybe-clean-target-libjava
2101 clean-target: maybe-clean-target-zlib
2102 clean-target: maybe-clean-target-boehm-gc
2103 clean-target: maybe-clean-target-rda
2104 clean-target: maybe-clean-target-libada
2105 clean-target: maybe-clean-target-libgomp
2106 clean-target: maybe-clean-target-libitm
2107 clean-target: maybe-clean-target-libatomic
2109 .PHONY: do-distclean
2110 do-distclean:
2111 @: $(MAKE); $(unstage)
2112 @r=`${PWD_COMMAND}`; export r; \
2113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2114 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
2115 distclean-target
2118 .PHONY: distclean-host
2120 distclean-host: maybe-distclean-bfd
2121 distclean-host: maybe-distclean-opcodes
2122 distclean-host: maybe-distclean-binutils
2123 distclean-host: maybe-distclean-bison
2124 distclean-host: maybe-distclean-cgen
2125 distclean-host: maybe-distclean-dejagnu
2126 distclean-host: maybe-distclean-etc
2127 distclean-host: maybe-distclean-fastjar
2128 distclean-host: maybe-distclean-fixincludes
2129 distclean-host: maybe-distclean-flex
2130 distclean-host: maybe-distclean-gas
2131 distclean-host: maybe-distclean-gcc
2132 distclean-host: maybe-distclean-gmp
2133 distclean-host: maybe-distclean-mpfr
2134 distclean-host: maybe-distclean-mpc
2135 distclean-host: maybe-distclean-isl
2136 distclean-host: maybe-distclean-libelf
2137 distclean-host: maybe-distclean-gold
2138 distclean-host: maybe-distclean-gprof
2139 distclean-host: maybe-distclean-intl
2140 distclean-host: maybe-distclean-tcl
2141 distclean-host: maybe-distclean-itcl
2142 distclean-host: maybe-distclean-ld
2143 distclean-host: maybe-distclean-libbacktrace
2144 distclean-host: maybe-distclean-libcpp
2145 distclean-host: maybe-distclean-libdecnumber
2146 distclean-host: maybe-distclean-libgui
2147 distclean-host: maybe-distclean-libiberty
2148 distclean-host: maybe-distclean-libiberty-linker-plugin
2149 distclean-host: maybe-distclean-libiconv
2150 distclean-host: maybe-distclean-m4
2151 distclean-host: maybe-distclean-readline
2152 distclean-host: maybe-distclean-sid
2153 distclean-host: maybe-distclean-sim
2154 distclean-host: maybe-distclean-texinfo
2155 distclean-host: maybe-distclean-zlib
2156 distclean-host: maybe-distclean-gdb
2157 distclean-host: maybe-distclean-expect
2158 distclean-host: maybe-distclean-guile
2159 distclean-host: maybe-distclean-tk
2160 distclean-host: maybe-distclean-libtermcap
2161 distclean-host: maybe-distclean-utils
2162 distclean-host: maybe-distclean-gnattools
2163 distclean-host: maybe-distclean-lto-plugin
2164 distclean-host: maybe-distclean-libcc1
2165 distclean-host: maybe-distclean-gotools
2167 .PHONY: distclean-target
2169 distclean-target: maybe-distclean-target-libstdc++-v3
2170 distclean-target: maybe-distclean-target-libsanitizer
2171 distclean-target: maybe-distclean-target-libmpx
2172 distclean-target: maybe-distclean-target-libvtv
2173 distclean-target: maybe-distclean-target-libcilkrts
2174 distclean-target: maybe-distclean-target-liboffloadmic
2175 distclean-target: maybe-distclean-target-libssp
2176 distclean-target: maybe-distclean-target-newlib
2177 distclean-target: maybe-distclean-target-libgcc
2178 distclean-target: maybe-distclean-target-libbacktrace
2179 distclean-target: maybe-distclean-target-libquadmath
2180 distclean-target: maybe-distclean-target-libgfortran
2181 distclean-target: maybe-distclean-target-libobjc
2182 distclean-target: maybe-distclean-target-libgo
2183 distclean-target: maybe-distclean-target-libtermcap
2184 distclean-target: maybe-distclean-target-winsup
2185 distclean-target: maybe-distclean-target-libgloss
2186 distclean-target: maybe-distclean-target-libffi
2187 distclean-target: maybe-distclean-target-libjava
2188 distclean-target: maybe-distclean-target-zlib
2189 distclean-target: maybe-distclean-target-boehm-gc
2190 distclean-target: maybe-distclean-target-rda
2191 distclean-target: maybe-distclean-target-libada
2192 distclean-target: maybe-distclean-target-libgomp
2193 distclean-target: maybe-distclean-target-libitm
2194 distclean-target: maybe-distclean-target-libatomic
2196 .PHONY: do-maintainer-clean
2197 do-maintainer-clean:
2198 @: $(MAKE); $(unstage)
2199 @r=`${PWD_COMMAND}`; export r; \
2200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2201 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2202 maintainer-clean-target
2205 .PHONY: maintainer-clean-host
2207 maintainer-clean-host: maybe-maintainer-clean-bfd
2208 maintainer-clean-host: maybe-maintainer-clean-opcodes
2209 maintainer-clean-host: maybe-maintainer-clean-binutils
2210 maintainer-clean-host: maybe-maintainer-clean-bison
2211 maintainer-clean-host: maybe-maintainer-clean-cgen
2212 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2213 maintainer-clean-host: maybe-maintainer-clean-etc
2214 maintainer-clean-host: maybe-maintainer-clean-fastjar
2215 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2216 maintainer-clean-host: maybe-maintainer-clean-flex
2217 maintainer-clean-host: maybe-maintainer-clean-gas
2218 maintainer-clean-host: maybe-maintainer-clean-gcc
2219 maintainer-clean-host: maybe-maintainer-clean-gmp
2220 maintainer-clean-host: maybe-maintainer-clean-mpfr
2221 maintainer-clean-host: maybe-maintainer-clean-mpc
2222 maintainer-clean-host: maybe-maintainer-clean-isl
2223 maintainer-clean-host: maybe-maintainer-clean-libelf
2224 maintainer-clean-host: maybe-maintainer-clean-gold
2225 maintainer-clean-host: maybe-maintainer-clean-gprof
2226 maintainer-clean-host: maybe-maintainer-clean-intl
2227 maintainer-clean-host: maybe-maintainer-clean-tcl
2228 maintainer-clean-host: maybe-maintainer-clean-itcl
2229 maintainer-clean-host: maybe-maintainer-clean-ld
2230 maintainer-clean-host: maybe-maintainer-clean-libbacktrace
2231 maintainer-clean-host: maybe-maintainer-clean-libcpp
2232 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2233 maintainer-clean-host: maybe-maintainer-clean-libgui
2234 maintainer-clean-host: maybe-maintainer-clean-libiberty
2235 maintainer-clean-host: maybe-maintainer-clean-libiberty-linker-plugin
2236 maintainer-clean-host: maybe-maintainer-clean-libiconv
2237 maintainer-clean-host: maybe-maintainer-clean-m4
2238 maintainer-clean-host: maybe-maintainer-clean-readline
2239 maintainer-clean-host: maybe-maintainer-clean-sid
2240 maintainer-clean-host: maybe-maintainer-clean-sim
2241 maintainer-clean-host: maybe-maintainer-clean-texinfo
2242 maintainer-clean-host: maybe-maintainer-clean-zlib
2243 maintainer-clean-host: maybe-maintainer-clean-gdb
2244 maintainer-clean-host: maybe-maintainer-clean-expect
2245 maintainer-clean-host: maybe-maintainer-clean-guile
2246 maintainer-clean-host: maybe-maintainer-clean-tk
2247 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2248 maintainer-clean-host: maybe-maintainer-clean-utils
2249 maintainer-clean-host: maybe-maintainer-clean-gnattools
2250 maintainer-clean-host: maybe-maintainer-clean-lto-plugin
2251 maintainer-clean-host: maybe-maintainer-clean-libcc1
2252 maintainer-clean-host: maybe-maintainer-clean-gotools
2254 .PHONY: maintainer-clean-target
2256 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2257 maintainer-clean-target: maybe-maintainer-clean-target-libsanitizer
2258 maintainer-clean-target: maybe-maintainer-clean-target-libmpx
2259 maintainer-clean-target: maybe-maintainer-clean-target-libvtv
2260 maintainer-clean-target: maybe-maintainer-clean-target-libcilkrts
2261 maintainer-clean-target: maybe-maintainer-clean-target-liboffloadmic
2262 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2263 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2264 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2265 maintainer-clean-target: maybe-maintainer-clean-target-libbacktrace
2266 maintainer-clean-target: maybe-maintainer-clean-target-libquadmath
2267 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2268 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2269 maintainer-clean-target: maybe-maintainer-clean-target-libgo
2270 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2271 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2272 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2273 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2274 maintainer-clean-target: maybe-maintainer-clean-target-libjava
2275 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2276 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
2277 maintainer-clean-target: maybe-maintainer-clean-target-rda
2278 maintainer-clean-target: maybe-maintainer-clean-target-libada
2279 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2280 maintainer-clean-target: maybe-maintainer-clean-target-libitm
2281 maintainer-clean-target: maybe-maintainer-clean-target-libatomic
2284 # Here are the targets which correspond to the do-X targets.
2286 .PHONY: info installcheck dvi pdf html
2287 .PHONY: install-info install-pdf install-html
2288 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2289 .PHONY: local-clean local-distclean local-maintainer-clean
2290 info: do-info
2291 installcheck: do-installcheck
2292 dvi: do-dvi
2293 pdf: do-pdf
2294 html: do-html
2296 # Make sure makeinfo is built before we do a `make info', if we're
2297 # in fact building texinfo.
2298 do-info: maybe-all-texinfo
2300 install-info: do-install-info dir.info
2301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2302 if [ -f dir.info ]; then \
2303 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info; \
2304 else true; fi
2306 install-pdf: do-install-pdf
2308 install-html: do-install-html
2310 local-clean:
2311 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2313 local-distclean:
2314 -rm -f Makefile config.status config.cache mh-frag mt-frag
2315 -rm -f maybedep.tmp serdep.tmp
2316 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2317 rm -rf $(TARGET_SUBDIR); \
2318 else true; fi
2319 -rm -rf $(BUILD_SUBDIR)
2320 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2321 rm -rf $(HOST_SUBDIR); \
2322 else true; fi
2323 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2324 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2325 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2326 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2327 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
2328 -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
2330 local-maintainer-clean:
2331 @echo "This command is intended for maintainers to use;"
2332 @echo "it deletes files that may require special tools to rebuild."
2334 clean: do-clean local-clean
2335 mostlyclean: do-mostlyclean local-clean
2336 distclean: do-distclean local-clean local-distclean
2337 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2338 maintainer-clean: local-distclean
2339 realclean: maintainer-clean
2341 # Check target.
2343 .PHONY: check do-check
2344 check: do-check
2346 # Only include modules actually being configured and built.
2347 .PHONY: check-host
2348 check-host: \
2349 maybe-check-bfd \
2350 maybe-check-opcodes \
2351 maybe-check-binutils \
2352 maybe-check-bison \
2353 maybe-check-cgen \
2354 maybe-check-dejagnu \
2355 maybe-check-etc \
2356 maybe-check-fastjar \
2357 maybe-check-fixincludes \
2358 maybe-check-flex \
2359 maybe-check-gas \
2360 maybe-check-gcc \
2361 maybe-check-gmp \
2362 maybe-check-mpfr \
2363 maybe-check-mpc \
2364 maybe-check-isl \
2365 maybe-check-libelf \
2366 maybe-check-gold \
2367 maybe-check-gprof \
2368 maybe-check-intl \
2369 maybe-check-tcl \
2370 maybe-check-itcl \
2371 maybe-check-ld \
2372 maybe-check-libbacktrace \
2373 maybe-check-libcpp \
2374 maybe-check-libdecnumber \
2375 maybe-check-libgui \
2376 maybe-check-libiberty \
2377 maybe-check-libiberty-linker-plugin \
2378 maybe-check-libiconv \
2379 maybe-check-m4 \
2380 maybe-check-readline \
2381 maybe-check-sid \
2382 maybe-check-sim \
2383 maybe-check-texinfo \
2384 maybe-check-zlib \
2385 maybe-check-gdb \
2386 maybe-check-expect \
2387 maybe-check-guile \
2388 maybe-check-tk \
2389 maybe-check-libtermcap \
2390 maybe-check-utils \
2391 maybe-check-gnattools \
2392 maybe-check-lto-plugin \
2393 maybe-check-libcc1 \
2394 maybe-check-gotools
2396 .PHONY: check-target
2397 check-target: \
2398 maybe-check-target-libstdc++-v3 \
2399 maybe-check-target-libsanitizer \
2400 maybe-check-target-libmpx \
2401 maybe-check-target-libvtv \
2402 maybe-check-target-libcilkrts \
2403 maybe-check-target-liboffloadmic \
2404 maybe-check-target-libssp \
2405 maybe-check-target-newlib \
2406 maybe-check-target-libgcc \
2407 maybe-check-target-libbacktrace \
2408 maybe-check-target-libquadmath \
2409 maybe-check-target-libgfortran \
2410 maybe-check-target-libobjc \
2411 maybe-check-target-libgo \
2412 maybe-check-target-libtermcap \
2413 maybe-check-target-winsup \
2414 maybe-check-target-libgloss \
2415 maybe-check-target-libffi \
2416 maybe-check-target-libjava \
2417 maybe-check-target-zlib \
2418 maybe-check-target-boehm-gc \
2419 maybe-check-target-rda \
2420 maybe-check-target-libada \
2421 maybe-check-target-libgomp \
2422 maybe-check-target-libitm \
2423 maybe-check-target-libatomic
2425 do-check:
2426 @: $(MAKE); $(unstage)
2427 @r=`${PWD_COMMAND}`; export r; \
2428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2429 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2431 # Automated reporting of test results.
2433 warning.log: build.log
2434 $(srcdir)/contrib/warn_summary build.log > $@
2436 mail-report.log:
2437 if test x'$(BOOT_CFLAGS)' != x''; then \
2438 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2439 fi; \
2440 $(srcdir)/contrib/test_summary -t >$@
2441 chmod +x $@
2442 echo If you really want to send e-mail, run ./$@ now
2444 mail-report-with-warnings.log: warning.log
2445 if test x'$(BOOT_CFLAGS)' != x''; then \
2446 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2447 fi; \
2448 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2449 chmod +x $@
2450 echo If you really want to send e-mail, run ./$@ now
2452 # Local Vim config
2454 $(srcdir)/.local.vimrc:
2455 $(LN_S) contrib/vimrc $@
2457 $(srcdir)/.lvimrc:
2458 $(LN_S) contrib/vimrc $@
2460 vimrc: $(srcdir)/.local.vimrc $(srcdir)/.lvimrc
2462 .PHONY: vimrc
2464 # Installation targets.
2466 .PHONY: install uninstall
2467 install:
2468 @: $(MAKE); $(unstage)
2469 @r=`${PWD_COMMAND}`; export r; \
2470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2471 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2473 .PHONY: install-host-nogcc
2474 install-host-nogcc: \
2475 maybe-install-bfd \
2476 maybe-install-opcodes \
2477 maybe-install-binutils \
2478 maybe-install-bison \
2479 maybe-install-cgen \
2480 maybe-install-dejagnu \
2481 maybe-install-etc \
2482 maybe-install-fastjar \
2483 maybe-install-fixincludes \
2484 maybe-install-flex \
2485 maybe-install-gas \
2486 maybe-install-gmp \
2487 maybe-install-mpfr \
2488 maybe-install-mpc \
2489 maybe-install-isl \
2490 maybe-install-libelf \
2491 maybe-install-gold \
2492 maybe-install-gprof \
2493 maybe-install-intl \
2494 maybe-install-tcl \
2495 maybe-install-itcl \
2496 maybe-install-ld \
2497 maybe-install-libbacktrace \
2498 maybe-install-libcpp \
2499 maybe-install-libdecnumber \
2500 maybe-install-libgui \
2501 maybe-install-libiberty \
2502 maybe-install-libiberty-linker-plugin \
2503 maybe-install-libiconv \
2504 maybe-install-m4 \
2505 maybe-install-readline \
2506 maybe-install-sid \
2507 maybe-install-sim \
2508 maybe-install-texinfo \
2509 maybe-install-zlib \
2510 maybe-install-gdb \
2511 maybe-install-expect \
2512 maybe-install-guile \
2513 maybe-install-tk \
2514 maybe-install-libtermcap \
2515 maybe-install-utils \
2516 maybe-install-gnattools \
2517 maybe-install-lto-plugin \
2518 maybe-install-libcc1 \
2519 maybe-install-gotools
2521 .PHONY: install-host
2522 install-host: \
2523 maybe-install-bfd \
2524 maybe-install-opcodes \
2525 maybe-install-binutils \
2526 maybe-install-bison \
2527 maybe-install-cgen \
2528 maybe-install-dejagnu \
2529 maybe-install-etc \
2530 maybe-install-fastjar \
2531 maybe-install-fixincludes \
2532 maybe-install-flex \
2533 maybe-install-gas \
2534 maybe-install-gcc \
2535 maybe-install-gmp \
2536 maybe-install-mpfr \
2537 maybe-install-mpc \
2538 maybe-install-isl \
2539 maybe-install-libelf \
2540 maybe-install-gold \
2541 maybe-install-gprof \
2542 maybe-install-intl \
2543 maybe-install-tcl \
2544 maybe-install-itcl \
2545 maybe-install-ld \
2546 maybe-install-libbacktrace \
2547 maybe-install-libcpp \
2548 maybe-install-libdecnumber \
2549 maybe-install-libgui \
2550 maybe-install-libiberty \
2551 maybe-install-libiberty-linker-plugin \
2552 maybe-install-libiconv \
2553 maybe-install-m4 \
2554 maybe-install-readline \
2555 maybe-install-sid \
2556 maybe-install-sim \
2557 maybe-install-texinfo \
2558 maybe-install-zlib \
2559 maybe-install-gdb \
2560 maybe-install-expect \
2561 maybe-install-guile \
2562 maybe-install-tk \
2563 maybe-install-libtermcap \
2564 maybe-install-utils \
2565 maybe-install-gnattools \
2566 maybe-install-lto-plugin \
2567 maybe-install-libcc1 \
2568 maybe-install-gotools
2570 .PHONY: install-target
2571 install-target: \
2572 maybe-install-target-libstdc++-v3 \
2573 maybe-install-target-libsanitizer \
2574 maybe-install-target-libmpx \
2575 maybe-install-target-libvtv \
2576 maybe-install-target-libcilkrts \
2577 maybe-install-target-liboffloadmic \
2578 maybe-install-target-libssp \
2579 maybe-install-target-newlib \
2580 maybe-install-target-libgcc \
2581 maybe-install-target-libbacktrace \
2582 maybe-install-target-libquadmath \
2583 maybe-install-target-libgfortran \
2584 maybe-install-target-libobjc \
2585 maybe-install-target-libgo \
2586 maybe-install-target-libtermcap \
2587 maybe-install-target-winsup \
2588 maybe-install-target-libgloss \
2589 maybe-install-target-libffi \
2590 maybe-install-target-libjava \
2591 maybe-install-target-zlib \
2592 maybe-install-target-boehm-gc \
2593 maybe-install-target-rda \
2594 maybe-install-target-libada \
2595 maybe-install-target-libgomp \
2596 maybe-install-target-libitm \
2597 maybe-install-target-libatomic
2599 uninstall:
2600 @echo "the uninstall target is not supported in this tree"
2602 .PHONY: install.all
2603 install.all: install-no-fixedincludes
2604 @if [ -f ./gcc/Makefile ]; then \
2605 r=`${PWD_COMMAND}`; export r; \
2606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2607 $(HOST_EXPORTS) \
2608 (cd ./gcc && \
2609 $(MAKE) $(FLAGS_TO_PASS) install-headers); \
2610 else \
2611 true; \
2614 # install-no-fixedincludes is used to allow the elaboration of binary packages
2615 # suitable for distribution, where we cannot include the fixed system header
2616 # files.
2617 .PHONY: install-no-fixedincludes
2618 install-no-fixedincludes: installdirs install-host-nogcc \
2619 install-target gcc-install-no-fixedincludes
2621 .PHONY: install-strip
2622 install-strip:
2623 @: $(MAKE); $(unstage)
2624 @r=`${PWD_COMMAND}`; export r; \
2625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2626 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target
2628 .PHONY: install-strip-host
2629 install-strip-host: \
2630 maybe-install-strip-bfd \
2631 maybe-install-strip-opcodes \
2632 maybe-install-strip-binutils \
2633 maybe-install-strip-bison \
2634 maybe-install-strip-cgen \
2635 maybe-install-strip-dejagnu \
2636 maybe-install-strip-etc \
2637 maybe-install-strip-fastjar \
2638 maybe-install-strip-fixincludes \
2639 maybe-install-strip-flex \
2640 maybe-install-strip-gas \
2641 maybe-install-strip-gcc \
2642 maybe-install-strip-gmp \
2643 maybe-install-strip-mpfr \
2644 maybe-install-strip-mpc \
2645 maybe-install-strip-isl \
2646 maybe-install-strip-libelf \
2647 maybe-install-strip-gold \
2648 maybe-install-strip-gprof \
2649 maybe-install-strip-intl \
2650 maybe-install-strip-tcl \
2651 maybe-install-strip-itcl \
2652 maybe-install-strip-ld \
2653 maybe-install-strip-libbacktrace \
2654 maybe-install-strip-libcpp \
2655 maybe-install-strip-libdecnumber \
2656 maybe-install-strip-libgui \
2657 maybe-install-strip-libiberty \
2658 maybe-install-strip-libiberty-linker-plugin \
2659 maybe-install-strip-libiconv \
2660 maybe-install-strip-m4 \
2661 maybe-install-strip-readline \
2662 maybe-install-strip-sid \
2663 maybe-install-strip-sim \
2664 maybe-install-strip-texinfo \
2665 maybe-install-strip-zlib \
2666 maybe-install-strip-gdb \
2667 maybe-install-strip-expect \
2668 maybe-install-strip-guile \
2669 maybe-install-strip-tk \
2670 maybe-install-strip-libtermcap \
2671 maybe-install-strip-utils \
2672 maybe-install-strip-gnattools \
2673 maybe-install-strip-lto-plugin \
2674 maybe-install-strip-libcc1 \
2675 maybe-install-strip-gotools
2677 .PHONY: install-strip-target
2678 install-strip-target: \
2679 maybe-install-strip-target-libstdc++-v3 \
2680 maybe-install-strip-target-libsanitizer \
2681 maybe-install-strip-target-libmpx \
2682 maybe-install-strip-target-libvtv \
2683 maybe-install-strip-target-libcilkrts \
2684 maybe-install-strip-target-liboffloadmic \
2685 maybe-install-strip-target-libssp \
2686 maybe-install-strip-target-newlib \
2687 maybe-install-strip-target-libgcc \
2688 maybe-install-strip-target-libbacktrace \
2689 maybe-install-strip-target-libquadmath \
2690 maybe-install-strip-target-libgfortran \
2691 maybe-install-strip-target-libobjc \
2692 maybe-install-strip-target-libgo \
2693 maybe-install-strip-target-libtermcap \
2694 maybe-install-strip-target-winsup \
2695 maybe-install-strip-target-libgloss \
2696 maybe-install-strip-target-libffi \
2697 maybe-install-strip-target-libjava \
2698 maybe-install-strip-target-zlib \
2699 maybe-install-strip-target-boehm-gc \
2700 maybe-install-strip-target-rda \
2701 maybe-install-strip-target-libada \
2702 maybe-install-strip-target-libgomp \
2703 maybe-install-strip-target-libitm \
2704 maybe-install-strip-target-libatomic
2707 ### other supporting targets
2709 MAKEDIRS= \
2710 $(DESTDIR)$(prefix) \
2711 $(DESTDIR)$(exec_prefix)
2712 .PHONY: installdirs
2713 installdirs: mkinstalldirs
2714 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2716 dir.info: do-install-info
2717 if [ -f $(srcdir)/texinfo/gen-info-dir ]; then \
2718 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new; \
2719 mv -f dir.info.new dir.info; \
2720 else true; \
2723 dist:
2724 @echo "Building a full distribution of this tree isn't done"
2725 @echo "via 'make dist'. Check out the etc/ subdirectory"
2727 etags tags: TAGS
2729 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2730 # ability to use several tags files at once, so there is probably no need
2731 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2732 # (if we felt like it) have this Makefile write a piece of elisp which
2733 # the user could load to tell emacs19 where all the TAGS files we just
2734 # built are.
2735 TAGS: do-TAGS
2737 # ------------------------------------
2738 # Macros for configure and all targets
2739 # ------------------------------------
2745 # --------------------------------------
2746 # Modules which run on the build machine
2747 # --------------------------------------
2750 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2751 maybe-configure-build-libiberty:
2752 @if gcc-bootstrap
2753 configure-build-libiberty: stage_current
2754 @endif gcc-bootstrap
2755 @if build-libiberty
2756 maybe-configure-build-libiberty: configure-build-libiberty
2757 configure-build-libiberty:
2758 @: $(MAKE); $(unstage)
2759 @r=`${PWD_COMMAND}`; export r; \
2760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2761 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2762 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty; \
2763 $(BUILD_EXPORTS) \
2764 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2765 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2766 case $(srcdir) in \
2767 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2768 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2769 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2770 esac; \
2771 module_srcdir=libiberty; \
2772 rm -f no-such-file || : ; \
2773 CONFIG_SITE=no-such-file $(SHELL) \
2774 $$s/$$module_srcdir/configure \
2775 --srcdir=$${topdir}/$$module_srcdir \
2776 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2777 --target=${target_alias} \
2778 || exit 1
2779 @endif build-libiberty
2785 .PHONY: all-build-libiberty maybe-all-build-libiberty
2786 maybe-all-build-libiberty:
2787 @if gcc-bootstrap
2788 all-build-libiberty: stage_current
2789 @endif gcc-bootstrap
2790 @if build-libiberty
2791 TARGET-build-libiberty=all
2792 maybe-all-build-libiberty: all-build-libiberty
2793 all-build-libiberty: configure-build-libiberty
2794 @: $(MAKE); $(unstage)
2795 @r=`${PWD_COMMAND}`; export r; \
2796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2797 $(BUILD_EXPORTS) \
2798 (cd $(BUILD_SUBDIR)/libiberty && \
2799 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2800 $(TARGET-build-libiberty))
2801 @endif build-libiberty
2807 .PHONY: configure-build-bison maybe-configure-build-bison
2808 maybe-configure-build-bison:
2809 @if gcc-bootstrap
2810 configure-build-bison: stage_current
2811 @endif gcc-bootstrap
2812 @if build-bison
2813 maybe-configure-build-bison: configure-build-bison
2814 configure-build-bison:
2815 @: $(MAKE); $(unstage)
2816 @r=`${PWD_COMMAND}`; export r; \
2817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2818 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2819 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison; \
2820 $(BUILD_EXPORTS) \
2821 echo Configuring in $(BUILD_SUBDIR)/bison; \
2822 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2823 case $(srcdir) in \
2824 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2825 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2826 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2827 esac; \
2828 module_srcdir=bison; \
2829 rm -f no-such-file || : ; \
2830 CONFIG_SITE=no-such-file $(SHELL) \
2831 $$s/$$module_srcdir/configure \
2832 --srcdir=$${topdir}/$$module_srcdir \
2833 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2834 --target=${target_alias} \
2835 || exit 1
2836 @endif build-bison
2842 .PHONY: all-build-bison maybe-all-build-bison
2843 maybe-all-build-bison:
2844 @if gcc-bootstrap
2845 all-build-bison: stage_current
2846 @endif gcc-bootstrap
2847 @if build-bison
2848 TARGET-build-bison=all
2849 maybe-all-build-bison: all-build-bison
2850 all-build-bison: configure-build-bison
2851 @: $(MAKE); $(unstage)
2852 @r=`${PWD_COMMAND}`; export r; \
2853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2854 $(BUILD_EXPORTS) \
2855 (cd $(BUILD_SUBDIR)/bison && \
2856 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2857 $(TARGET-build-bison))
2858 @endif build-bison
2864 .PHONY: configure-build-flex maybe-configure-build-flex
2865 maybe-configure-build-flex:
2866 @if gcc-bootstrap
2867 configure-build-flex: stage_current
2868 @endif gcc-bootstrap
2869 @if build-flex
2870 maybe-configure-build-flex: configure-build-flex
2871 configure-build-flex:
2872 @: $(MAKE); $(unstage)
2873 @r=`${PWD_COMMAND}`; export r; \
2874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2875 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2876 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex; \
2877 $(BUILD_EXPORTS) \
2878 echo Configuring in $(BUILD_SUBDIR)/flex; \
2879 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2880 case $(srcdir) in \
2881 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2882 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2883 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2884 esac; \
2885 module_srcdir=flex; \
2886 rm -f no-such-file || : ; \
2887 CONFIG_SITE=no-such-file $(SHELL) \
2888 $$s/$$module_srcdir/configure \
2889 --srcdir=$${topdir}/$$module_srcdir \
2890 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2891 --target=${target_alias} \
2892 || exit 1
2893 @endif build-flex
2899 .PHONY: all-build-flex maybe-all-build-flex
2900 maybe-all-build-flex:
2901 @if gcc-bootstrap
2902 all-build-flex: stage_current
2903 @endif gcc-bootstrap
2904 @if build-flex
2905 TARGET-build-flex=all
2906 maybe-all-build-flex: all-build-flex
2907 all-build-flex: configure-build-flex
2908 @: $(MAKE); $(unstage)
2909 @r=`${PWD_COMMAND}`; export r; \
2910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2911 $(BUILD_EXPORTS) \
2912 (cd $(BUILD_SUBDIR)/flex && \
2913 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2914 $(TARGET-build-flex))
2915 @endif build-flex
2921 .PHONY: configure-build-m4 maybe-configure-build-m4
2922 maybe-configure-build-m4:
2923 @if gcc-bootstrap
2924 configure-build-m4: stage_current
2925 @endif gcc-bootstrap
2926 @if build-m4
2927 maybe-configure-build-m4: configure-build-m4
2928 configure-build-m4:
2929 @: $(MAKE); $(unstage)
2930 @r=`${PWD_COMMAND}`; export r; \
2931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2932 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2933 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4; \
2934 $(BUILD_EXPORTS) \
2935 echo Configuring in $(BUILD_SUBDIR)/m4; \
2936 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2937 case $(srcdir) in \
2938 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2939 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2940 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2941 esac; \
2942 module_srcdir=m4; \
2943 rm -f no-such-file || : ; \
2944 CONFIG_SITE=no-such-file $(SHELL) \
2945 $$s/$$module_srcdir/configure \
2946 --srcdir=$${topdir}/$$module_srcdir \
2947 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2948 --target=${target_alias} \
2949 || exit 1
2950 @endif build-m4
2956 .PHONY: all-build-m4 maybe-all-build-m4
2957 maybe-all-build-m4:
2958 @if gcc-bootstrap
2959 all-build-m4: stage_current
2960 @endif gcc-bootstrap
2961 @if build-m4
2962 TARGET-build-m4=all
2963 maybe-all-build-m4: all-build-m4
2964 all-build-m4: configure-build-m4
2965 @: $(MAKE); $(unstage)
2966 @r=`${PWD_COMMAND}`; export r; \
2967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2968 $(BUILD_EXPORTS) \
2969 (cd $(BUILD_SUBDIR)/m4 && \
2970 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2971 $(TARGET-build-m4))
2972 @endif build-m4
2978 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2979 maybe-configure-build-texinfo:
2980 @if gcc-bootstrap
2981 configure-build-texinfo: stage_current
2982 @endif gcc-bootstrap
2983 @if build-texinfo
2984 maybe-configure-build-texinfo: configure-build-texinfo
2985 configure-build-texinfo:
2986 @: $(MAKE); $(unstage)
2987 @r=`${PWD_COMMAND}`; export r; \
2988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2989 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2990 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo; \
2991 $(BUILD_EXPORTS) \
2992 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2993 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2994 case $(srcdir) in \
2995 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2996 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2997 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2998 esac; \
2999 module_srcdir=texinfo; \
3000 rm -f no-such-file || : ; \
3001 CONFIG_SITE=no-such-file $(SHELL) \
3002 $$s/$$module_srcdir/configure \
3003 --srcdir=$${topdir}/$$module_srcdir \
3004 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3005 --target=${target_alias} \
3006 || exit 1
3007 @endif build-texinfo
3013 .PHONY: all-build-texinfo maybe-all-build-texinfo
3014 maybe-all-build-texinfo:
3015 @if gcc-bootstrap
3016 all-build-texinfo: stage_current
3017 @endif gcc-bootstrap
3018 @if build-texinfo
3019 TARGET-build-texinfo=all
3020 maybe-all-build-texinfo: all-build-texinfo
3021 all-build-texinfo: configure-build-texinfo
3022 @: $(MAKE); $(unstage)
3023 @r=`${PWD_COMMAND}`; export r; \
3024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3025 $(BUILD_EXPORTS) \
3026 (cd $(BUILD_SUBDIR)/texinfo && \
3027 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3028 $(TARGET-build-texinfo))
3029 @endif build-texinfo
3035 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
3036 maybe-configure-build-fixincludes:
3037 @if gcc-bootstrap
3038 configure-build-fixincludes: stage_current
3039 @endif gcc-bootstrap
3040 @if build-fixincludes
3041 maybe-configure-build-fixincludes: configure-build-fixincludes
3042 configure-build-fixincludes:
3043 @: $(MAKE); $(unstage)
3044 @r=`${PWD_COMMAND}`; export r; \
3045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3046 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
3047 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes; \
3048 $(BUILD_EXPORTS) \
3049 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
3050 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
3051 case $(srcdir) in \
3052 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3053 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
3054 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3055 esac; \
3056 module_srcdir=fixincludes; \
3057 rm -f no-such-file || : ; \
3058 CONFIG_SITE=no-such-file $(SHELL) \
3059 $$s/$$module_srcdir/configure \
3060 --srcdir=$${topdir}/$$module_srcdir \
3061 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3062 --target=${target_alias} \
3063 || exit 1
3064 @endif build-fixincludes
3070 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
3071 maybe-all-build-fixincludes:
3072 @if gcc-bootstrap
3073 all-build-fixincludes: stage_current
3074 @endif gcc-bootstrap
3075 @if build-fixincludes
3076 TARGET-build-fixincludes=all
3077 maybe-all-build-fixincludes: all-build-fixincludes
3078 all-build-fixincludes: configure-build-fixincludes
3079 @: $(MAKE); $(unstage)
3080 @r=`${PWD_COMMAND}`; export r; \
3081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3082 $(BUILD_EXPORTS) \
3083 (cd $(BUILD_SUBDIR)/fixincludes && \
3084 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3085 $(TARGET-build-fixincludes))
3086 @endif build-fixincludes
3092 .PHONY: configure-build-libcpp maybe-configure-build-libcpp
3093 maybe-configure-build-libcpp:
3094 @if gcc-bootstrap
3095 configure-build-libcpp: stage_current
3096 @endif gcc-bootstrap
3097 @if build-libcpp
3098 maybe-configure-build-libcpp: configure-build-libcpp
3099 configure-build-libcpp:
3100 @: $(MAKE); $(unstage)
3101 @r=`${PWD_COMMAND}`; export r; \
3102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3103 test ! -f $(BUILD_SUBDIR)/libcpp/Makefile || exit 0; \
3104 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libcpp; \
3105 $(BUILD_EXPORTS) \
3106 echo Configuring in $(BUILD_SUBDIR)/libcpp; \
3107 cd "$(BUILD_SUBDIR)/libcpp" || exit 1; \
3108 case $(srcdir) in \
3109 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3110 *) topdir=`echo $(BUILD_SUBDIR)/libcpp/ | \
3111 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3112 esac; \
3113 module_srcdir=libcpp; \
3114 rm -f no-such-file || : ; \
3115 CONFIG_SITE=no-such-file $(SHELL) \
3116 $$s/$$module_srcdir/configure \
3117 --srcdir=$${topdir}/$$module_srcdir \
3118 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3119 --target=${target_alias} --disable-nls am_cv_func_iconv=no \
3120 || exit 1
3121 @endif build-libcpp
3127 .PHONY: all-build-libcpp maybe-all-build-libcpp
3128 maybe-all-build-libcpp:
3129 @if gcc-bootstrap
3130 all-build-libcpp: stage_current
3131 @endif gcc-bootstrap
3132 @if build-libcpp
3133 TARGET-build-libcpp=all
3134 maybe-all-build-libcpp: all-build-libcpp
3135 all-build-libcpp: configure-build-libcpp
3136 @: $(MAKE); $(unstage)
3137 @r=`${PWD_COMMAND}`; export r; \
3138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3139 $(BUILD_EXPORTS) \
3140 (cd $(BUILD_SUBDIR)/libcpp && \
3141 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3142 $(TARGET-build-libcpp))
3143 @endif build-libcpp
3149 # --------------------------------------
3150 # Modules which run on the host machine
3151 # --------------------------------------
3154 .PHONY: configure-bfd maybe-configure-bfd
3155 maybe-configure-bfd:
3156 @if gcc-bootstrap
3157 configure-bfd: stage_current
3158 @endif gcc-bootstrap
3159 @if bfd
3160 maybe-configure-bfd: configure-bfd
3161 configure-bfd:
3162 @r=`${PWD_COMMAND}`; export r; \
3163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3164 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3165 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3166 $(HOST_EXPORTS) \
3167 echo Configuring in $(HOST_SUBDIR)/bfd; \
3168 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
3169 case $(srcdir) in \
3170 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3171 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3172 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3173 esac; \
3174 module_srcdir=bfd; \
3175 $(SHELL) \
3176 $$s/$$module_srcdir/configure \
3177 --srcdir=$${topdir}/$$module_srcdir \
3178 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3179 --target=${target_alias} \
3180 || exit 1
3181 @endif bfd
3185 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
3186 maybe-configure-stage1-bfd:
3187 @if bfd-bootstrap
3188 maybe-configure-stage1-bfd: configure-stage1-bfd
3189 configure-stage1-bfd:
3190 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3191 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3192 @r=`${PWD_COMMAND}`; export r; \
3193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3194 TFLAGS="$(STAGE1_TFLAGS)"; \
3195 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3196 $(HOST_EXPORTS) \
3197 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3198 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3199 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
3200 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd; \
3201 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3202 cd $(HOST_SUBDIR)/bfd || exit 1; \
3203 case $(srcdir) in \
3204 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3205 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3206 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3207 esac; \
3208 module_srcdir=bfd; \
3209 $(SHELL) $$s/$$module_srcdir/configure \
3210 --srcdir=$${topdir}/$$module_srcdir \
3211 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3212 --target=${target_alias} \
3214 $(STAGE1_CONFIGURE_FLAGS)
3215 @endif bfd-bootstrap
3217 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
3218 maybe-configure-stage2-bfd:
3219 @if bfd-bootstrap
3220 maybe-configure-stage2-bfd: configure-stage2-bfd
3221 configure-stage2-bfd:
3222 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3223 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3224 @r=`${PWD_COMMAND}`; export r; \
3225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3226 TFLAGS="$(STAGE2_TFLAGS)"; \
3227 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3228 $(HOST_EXPORTS) \
3229 $(POSTSTAGE1_HOST_EXPORTS) \
3230 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3231 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3232 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3233 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd; \
3234 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3235 cd $(HOST_SUBDIR)/bfd || exit 1; \
3236 case $(srcdir) in \
3237 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3238 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3239 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3240 esac; \
3241 module_srcdir=bfd; \
3242 $(SHELL) $$s/$$module_srcdir/configure \
3243 --srcdir=$${topdir}/$$module_srcdir \
3244 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3245 --target=${target_alias} \
3246 --with-build-libsubdir=$(HOST_SUBDIR) \
3247 $(STAGE2_CONFIGURE_FLAGS)
3248 @endif bfd-bootstrap
3250 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
3251 maybe-configure-stage3-bfd:
3252 @if bfd-bootstrap
3253 maybe-configure-stage3-bfd: configure-stage3-bfd
3254 configure-stage3-bfd:
3255 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3256 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3257 @r=`${PWD_COMMAND}`; export r; \
3258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3259 TFLAGS="$(STAGE3_TFLAGS)"; \
3260 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3261 $(HOST_EXPORTS) \
3262 $(POSTSTAGE1_HOST_EXPORTS) \
3263 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3264 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3265 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3266 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd; \
3267 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3268 cd $(HOST_SUBDIR)/bfd || exit 1; \
3269 case $(srcdir) in \
3270 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3271 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3272 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3273 esac; \
3274 module_srcdir=bfd; \
3275 $(SHELL) $$s/$$module_srcdir/configure \
3276 --srcdir=$${topdir}/$$module_srcdir \
3277 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3278 --target=${target_alias} \
3279 --with-build-libsubdir=$(HOST_SUBDIR) \
3280 $(STAGE3_CONFIGURE_FLAGS)
3281 @endif bfd-bootstrap
3283 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
3284 maybe-configure-stage4-bfd:
3285 @if bfd-bootstrap
3286 maybe-configure-stage4-bfd: configure-stage4-bfd
3287 configure-stage4-bfd:
3288 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3289 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3290 @r=`${PWD_COMMAND}`; export r; \
3291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3292 TFLAGS="$(STAGE4_TFLAGS)"; \
3293 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3294 $(HOST_EXPORTS) \
3295 $(POSTSTAGE1_HOST_EXPORTS) \
3296 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3297 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3298 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3299 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd; \
3300 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3301 cd $(HOST_SUBDIR)/bfd || exit 1; \
3302 case $(srcdir) in \
3303 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3304 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3305 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3306 esac; \
3307 module_srcdir=bfd; \
3308 $(SHELL) $$s/$$module_srcdir/configure \
3309 --srcdir=$${topdir}/$$module_srcdir \
3310 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3311 --target=${target_alias} \
3312 --with-build-libsubdir=$(HOST_SUBDIR) \
3313 $(STAGE4_CONFIGURE_FLAGS)
3314 @endif bfd-bootstrap
3316 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
3317 maybe-configure-stageprofile-bfd:
3318 @if bfd-bootstrap
3319 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
3320 configure-stageprofile-bfd:
3321 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3322 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3323 @r=`${PWD_COMMAND}`; export r; \
3324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3325 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3326 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3327 $(HOST_EXPORTS) \
3328 $(POSTSTAGE1_HOST_EXPORTS) \
3329 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3330 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3331 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3332 echo Configuring stage profile in $(HOST_SUBDIR)/bfd; \
3333 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3334 cd $(HOST_SUBDIR)/bfd || exit 1; \
3335 case $(srcdir) in \
3336 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3337 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3338 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3339 esac; \
3340 module_srcdir=bfd; \
3341 $(SHELL) $$s/$$module_srcdir/configure \
3342 --srcdir=$${topdir}/$$module_srcdir \
3343 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3344 --target=${target_alias} \
3345 --with-build-libsubdir=$(HOST_SUBDIR) \
3346 $(STAGEprofile_CONFIGURE_FLAGS)
3347 @endif bfd-bootstrap
3349 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
3350 maybe-configure-stagefeedback-bfd:
3351 @if bfd-bootstrap
3352 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
3353 configure-stagefeedback-bfd:
3354 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3355 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3356 @r=`${PWD_COMMAND}`; export r; \
3357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3358 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3359 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3360 $(HOST_EXPORTS) \
3361 $(POSTSTAGE1_HOST_EXPORTS) \
3362 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
3363 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
3364 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
3365 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd; \
3366 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3367 cd $(HOST_SUBDIR)/bfd || exit 1; \
3368 case $(srcdir) in \
3369 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3370 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3371 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3372 esac; \
3373 module_srcdir=bfd; \
3374 $(SHELL) $$s/$$module_srcdir/configure \
3375 --srcdir=$${topdir}/$$module_srcdir \
3376 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3377 --target=${target_alias} \
3378 --with-build-libsubdir=$(HOST_SUBDIR) \
3379 $(STAGEfeedback_CONFIGURE_FLAGS)
3380 @endif bfd-bootstrap
3386 .PHONY: all-bfd maybe-all-bfd
3387 maybe-all-bfd:
3388 @if gcc-bootstrap
3389 all-bfd: stage_current
3390 @endif gcc-bootstrap
3391 @if bfd
3392 TARGET-bfd=all
3393 maybe-all-bfd: all-bfd
3394 all-bfd: configure-bfd
3395 @r=`${PWD_COMMAND}`; export r; \
3396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3397 $(HOST_EXPORTS) \
3398 (cd $(HOST_SUBDIR)/bfd && \
3399 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
3400 $(TARGET-bfd))
3401 @endif bfd
3405 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
3406 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
3407 maybe-all-stage1-bfd:
3408 maybe-clean-stage1-bfd:
3409 @if bfd-bootstrap
3410 maybe-all-stage1-bfd: all-stage1-bfd
3411 all-stage1: all-stage1-bfd
3412 TARGET-stage1-bfd = $(TARGET-bfd)
3413 all-stage1-bfd: configure-stage1-bfd
3414 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3415 @r=`${PWD_COMMAND}`; export r; \
3416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3417 TFLAGS="$(STAGE1_TFLAGS)"; \
3418 $(HOST_EXPORTS) \
3419 cd $(HOST_SUBDIR)/bfd && \
3420 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3421 CFLAGS="$(STAGE1_CFLAGS)" \
3422 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
3423 LIBCFLAGS="$(LIBCFLAGS)" \
3424 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3425 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3426 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3427 $(EXTRA_HOST_FLAGS) \
3428 $(STAGE1_FLAGS_TO_PASS) \
3429 TFLAGS="$(STAGE1_TFLAGS)" \
3430 $(TARGET-stage1-bfd)
3432 maybe-clean-stage1-bfd: clean-stage1-bfd
3433 clean-stage1: clean-stage1-bfd
3434 clean-stage1-bfd:
3435 @if [ $(current_stage) = stage1 ]; then \
3436 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3437 else \
3438 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
3439 $(MAKE) stage1-start; \
3440 fi; \
3441 cd $(HOST_SUBDIR)/bfd && \
3442 $(MAKE) $(EXTRA_HOST_FLAGS) \
3443 $(STAGE1_FLAGS_TO_PASS) clean
3444 @endif bfd-bootstrap
3447 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
3448 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
3449 maybe-all-stage2-bfd:
3450 maybe-clean-stage2-bfd:
3451 @if bfd-bootstrap
3452 maybe-all-stage2-bfd: all-stage2-bfd
3453 all-stage2: all-stage2-bfd
3454 TARGET-stage2-bfd = $(TARGET-bfd)
3455 all-stage2-bfd: configure-stage2-bfd
3456 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3457 @r=`${PWD_COMMAND}`; export r; \
3458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3459 TFLAGS="$(STAGE2_TFLAGS)"; \
3460 $(HOST_EXPORTS) \
3461 $(POSTSTAGE1_HOST_EXPORTS) \
3462 cd $(HOST_SUBDIR)/bfd && \
3463 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3464 CFLAGS="$(STAGE2_CFLAGS)" \
3465 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
3466 LIBCFLAGS="$(STAGE2_CFLAGS)" \
3467 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3468 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3469 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3470 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3471 TFLAGS="$(STAGE2_TFLAGS)" \
3472 $(TARGET-stage2-bfd)
3474 maybe-clean-stage2-bfd: clean-stage2-bfd
3475 clean-stage2: clean-stage2-bfd
3476 clean-stage2-bfd:
3477 @if [ $(current_stage) = stage2 ]; then \
3478 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3479 else \
3480 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
3481 $(MAKE) stage2-start; \
3482 fi; \
3483 cd $(HOST_SUBDIR)/bfd && \
3484 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3485 @endif bfd-bootstrap
3488 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
3489 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
3490 maybe-all-stage3-bfd:
3491 maybe-clean-stage3-bfd:
3492 @if bfd-bootstrap
3493 maybe-all-stage3-bfd: all-stage3-bfd
3494 all-stage3: all-stage3-bfd
3495 TARGET-stage3-bfd = $(TARGET-bfd)
3496 all-stage3-bfd: configure-stage3-bfd
3497 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3498 @r=`${PWD_COMMAND}`; export r; \
3499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3500 TFLAGS="$(STAGE3_TFLAGS)"; \
3501 $(HOST_EXPORTS) \
3502 $(POSTSTAGE1_HOST_EXPORTS) \
3503 cd $(HOST_SUBDIR)/bfd && \
3504 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3505 CFLAGS="$(STAGE3_CFLAGS)" \
3506 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
3507 LIBCFLAGS="$(STAGE3_CFLAGS)" \
3508 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3509 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3510 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3511 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3512 TFLAGS="$(STAGE3_TFLAGS)" \
3513 $(TARGET-stage3-bfd)
3515 maybe-clean-stage3-bfd: clean-stage3-bfd
3516 clean-stage3: clean-stage3-bfd
3517 clean-stage3-bfd:
3518 @if [ $(current_stage) = stage3 ]; then \
3519 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3520 else \
3521 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
3522 $(MAKE) stage3-start; \
3523 fi; \
3524 cd $(HOST_SUBDIR)/bfd && \
3525 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3526 @endif bfd-bootstrap
3529 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
3530 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
3531 maybe-all-stage4-bfd:
3532 maybe-clean-stage4-bfd:
3533 @if bfd-bootstrap
3534 maybe-all-stage4-bfd: all-stage4-bfd
3535 all-stage4: all-stage4-bfd
3536 TARGET-stage4-bfd = $(TARGET-bfd)
3537 all-stage4-bfd: configure-stage4-bfd
3538 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3539 @r=`${PWD_COMMAND}`; export r; \
3540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3541 TFLAGS="$(STAGE4_TFLAGS)"; \
3542 $(HOST_EXPORTS) \
3543 $(POSTSTAGE1_HOST_EXPORTS) \
3544 cd $(HOST_SUBDIR)/bfd && \
3545 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3546 CFLAGS="$(STAGE4_CFLAGS)" \
3547 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
3548 LIBCFLAGS="$(STAGE4_CFLAGS)" \
3549 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3550 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3551 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3552 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3553 TFLAGS="$(STAGE4_TFLAGS)" \
3554 $(TARGET-stage4-bfd)
3556 maybe-clean-stage4-bfd: clean-stage4-bfd
3557 clean-stage4: clean-stage4-bfd
3558 clean-stage4-bfd:
3559 @if [ $(current_stage) = stage4 ]; then \
3560 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3561 else \
3562 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
3563 $(MAKE) stage4-start; \
3564 fi; \
3565 cd $(HOST_SUBDIR)/bfd && \
3566 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3567 @endif bfd-bootstrap
3570 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
3571 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
3572 maybe-all-stageprofile-bfd:
3573 maybe-clean-stageprofile-bfd:
3574 @if bfd-bootstrap
3575 maybe-all-stageprofile-bfd: all-stageprofile-bfd
3576 all-stageprofile: all-stageprofile-bfd
3577 TARGET-stageprofile-bfd = $(TARGET-bfd)
3578 all-stageprofile-bfd: configure-stageprofile-bfd
3579 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3580 @r=`${PWD_COMMAND}`; export r; \
3581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3582 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3583 $(HOST_EXPORTS) \
3584 $(POSTSTAGE1_HOST_EXPORTS) \
3585 cd $(HOST_SUBDIR)/bfd && \
3586 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3587 CFLAGS="$(STAGEprofile_CFLAGS)" \
3588 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
3589 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
3590 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3591 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3592 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3593 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3594 TFLAGS="$(STAGEprofile_TFLAGS)" \
3595 $(TARGET-stageprofile-bfd)
3597 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
3598 clean-stageprofile: clean-stageprofile-bfd
3599 clean-stageprofile-bfd:
3600 @if [ $(current_stage) = stageprofile ]; then \
3601 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3602 else \
3603 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
3604 $(MAKE) stageprofile-start; \
3605 fi; \
3606 cd $(HOST_SUBDIR)/bfd && \
3607 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3608 @endif bfd-bootstrap
3611 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
3612 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
3613 maybe-all-stagefeedback-bfd:
3614 maybe-clean-stagefeedback-bfd:
3615 @if bfd-bootstrap
3616 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
3617 all-stagefeedback: all-stagefeedback-bfd
3618 TARGET-stagefeedback-bfd = $(TARGET-bfd)
3619 all-stagefeedback-bfd: configure-stagefeedback-bfd
3620 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3621 @r=`${PWD_COMMAND}`; export r; \
3622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3623 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3624 $(HOST_EXPORTS) \
3625 $(POSTSTAGE1_HOST_EXPORTS) \
3626 cd $(HOST_SUBDIR)/bfd && \
3627 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3628 CFLAGS="$(STAGEfeedback_CFLAGS)" \
3629 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
3630 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
3631 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3632 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3633 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3634 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3635 TFLAGS="$(STAGEfeedback_TFLAGS)" \
3636 $(TARGET-stagefeedback-bfd)
3638 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
3639 clean-stagefeedback: clean-stagefeedback-bfd
3640 clean-stagefeedback-bfd:
3641 @if [ $(current_stage) = stagefeedback ]; then \
3642 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3643 else \
3644 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
3645 $(MAKE) stagefeedback-start; \
3646 fi; \
3647 cd $(HOST_SUBDIR)/bfd && \
3648 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3649 @endif bfd-bootstrap
3655 .PHONY: check-bfd maybe-check-bfd
3656 maybe-check-bfd:
3657 @if bfd
3658 maybe-check-bfd: check-bfd
3660 check-bfd:
3661 @: $(MAKE); $(unstage)
3662 @r=`${PWD_COMMAND}`; export r; \
3663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3664 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
3665 (cd $(HOST_SUBDIR)/bfd && \
3666 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
3668 @endif bfd
3670 .PHONY: install-bfd maybe-install-bfd
3671 maybe-install-bfd:
3672 @if bfd
3673 maybe-install-bfd: install-bfd
3675 install-bfd: installdirs
3676 @: $(MAKE); $(unstage)
3677 @r=`${PWD_COMMAND}`; export r; \
3678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3679 $(HOST_EXPORTS) \
3680 (cd $(HOST_SUBDIR)/bfd && \
3681 $(MAKE) $(FLAGS_TO_PASS) install)
3683 @endif bfd
3685 .PHONY: install-strip-bfd maybe-install-strip-bfd
3686 maybe-install-strip-bfd:
3687 @if bfd
3688 maybe-install-strip-bfd: install-strip-bfd
3690 install-strip-bfd: installdirs
3691 @: $(MAKE); $(unstage)
3692 @r=`${PWD_COMMAND}`; export r; \
3693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3694 $(HOST_EXPORTS) \
3695 (cd $(HOST_SUBDIR)/bfd && \
3696 $(MAKE) $(FLAGS_TO_PASS) install-strip)
3698 @endif bfd
3700 # Other targets (info, dvi, pdf, etc.)
3702 .PHONY: maybe-info-bfd info-bfd
3703 maybe-info-bfd:
3704 @if bfd
3705 maybe-info-bfd: info-bfd
3707 info-bfd: \
3708 configure-bfd
3709 @[ -f ./bfd/Makefile ] || exit 0; \
3710 r=`${PWD_COMMAND}`; export r; \
3711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3712 $(HOST_EXPORTS) \
3713 for flag in $(EXTRA_HOST_FLAGS) ; do \
3714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3715 done; \
3716 echo "Doing info in bfd"; \
3717 (cd $(HOST_SUBDIR)/bfd && \
3718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3720 "RANLIB=$${RANLIB}" \
3721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3722 info) \
3723 || exit 1
3725 @endif bfd
3727 .PHONY: maybe-dvi-bfd dvi-bfd
3728 maybe-dvi-bfd:
3729 @if bfd
3730 maybe-dvi-bfd: dvi-bfd
3732 dvi-bfd: \
3733 configure-bfd
3734 @[ -f ./bfd/Makefile ] || exit 0; \
3735 r=`${PWD_COMMAND}`; export r; \
3736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3737 $(HOST_EXPORTS) \
3738 for flag in $(EXTRA_HOST_FLAGS) ; do \
3739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3740 done; \
3741 echo "Doing dvi in bfd"; \
3742 (cd $(HOST_SUBDIR)/bfd && \
3743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3745 "RANLIB=$${RANLIB}" \
3746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3747 dvi) \
3748 || exit 1
3750 @endif bfd
3752 .PHONY: maybe-pdf-bfd pdf-bfd
3753 maybe-pdf-bfd:
3754 @if bfd
3755 maybe-pdf-bfd: pdf-bfd
3757 pdf-bfd: \
3758 configure-bfd
3759 @[ -f ./bfd/Makefile ] || exit 0; \
3760 r=`${PWD_COMMAND}`; export r; \
3761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3762 $(HOST_EXPORTS) \
3763 for flag in $(EXTRA_HOST_FLAGS) ; do \
3764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3765 done; \
3766 echo "Doing pdf in bfd"; \
3767 (cd $(HOST_SUBDIR)/bfd && \
3768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3770 "RANLIB=$${RANLIB}" \
3771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3772 pdf) \
3773 || exit 1
3775 @endif bfd
3777 .PHONY: maybe-html-bfd html-bfd
3778 maybe-html-bfd:
3779 @if bfd
3780 maybe-html-bfd: html-bfd
3782 html-bfd: \
3783 configure-bfd
3784 @[ -f ./bfd/Makefile ] || exit 0; \
3785 r=`${PWD_COMMAND}`; export r; \
3786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3787 $(HOST_EXPORTS) \
3788 for flag in $(EXTRA_HOST_FLAGS) ; do \
3789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3790 done; \
3791 echo "Doing html in bfd"; \
3792 (cd $(HOST_SUBDIR)/bfd && \
3793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3795 "RANLIB=$${RANLIB}" \
3796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3797 html) \
3798 || exit 1
3800 @endif bfd
3802 .PHONY: maybe-TAGS-bfd TAGS-bfd
3803 maybe-TAGS-bfd:
3804 @if bfd
3805 maybe-TAGS-bfd: TAGS-bfd
3807 TAGS-bfd: \
3808 configure-bfd
3809 @[ -f ./bfd/Makefile ] || exit 0; \
3810 r=`${PWD_COMMAND}`; export r; \
3811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3812 $(HOST_EXPORTS) \
3813 for flag in $(EXTRA_HOST_FLAGS) ; do \
3814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3815 done; \
3816 echo "Doing TAGS in bfd"; \
3817 (cd $(HOST_SUBDIR)/bfd && \
3818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3820 "RANLIB=$${RANLIB}" \
3821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3822 TAGS) \
3823 || exit 1
3825 @endif bfd
3827 .PHONY: maybe-install-info-bfd install-info-bfd
3828 maybe-install-info-bfd:
3829 @if bfd
3830 maybe-install-info-bfd: install-info-bfd
3832 install-info-bfd: \
3833 configure-bfd \
3834 info-bfd
3835 @[ -f ./bfd/Makefile ] || exit 0; \
3836 r=`${PWD_COMMAND}`; export r; \
3837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3838 $(HOST_EXPORTS) \
3839 for flag in $(EXTRA_HOST_FLAGS) ; do \
3840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3841 done; \
3842 echo "Doing install-info in bfd"; \
3843 (cd $(HOST_SUBDIR)/bfd && \
3844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3846 "RANLIB=$${RANLIB}" \
3847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3848 install-info) \
3849 || exit 1
3851 @endif bfd
3853 .PHONY: maybe-install-pdf-bfd install-pdf-bfd
3854 maybe-install-pdf-bfd:
3855 @if bfd
3856 maybe-install-pdf-bfd: install-pdf-bfd
3858 install-pdf-bfd: \
3859 configure-bfd \
3860 pdf-bfd
3861 @[ -f ./bfd/Makefile ] || exit 0; \
3862 r=`${PWD_COMMAND}`; export r; \
3863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3864 $(HOST_EXPORTS) \
3865 for flag in $(EXTRA_HOST_FLAGS) ; do \
3866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3867 done; \
3868 echo "Doing install-pdf in bfd"; \
3869 (cd $(HOST_SUBDIR)/bfd && \
3870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3872 "RANLIB=$${RANLIB}" \
3873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3874 install-pdf) \
3875 || exit 1
3877 @endif bfd
3879 .PHONY: maybe-install-html-bfd install-html-bfd
3880 maybe-install-html-bfd:
3881 @if bfd
3882 maybe-install-html-bfd: install-html-bfd
3884 install-html-bfd: \
3885 configure-bfd \
3886 html-bfd
3887 @[ -f ./bfd/Makefile ] || exit 0; \
3888 r=`${PWD_COMMAND}`; export r; \
3889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3890 $(HOST_EXPORTS) \
3891 for flag in $(EXTRA_HOST_FLAGS) ; do \
3892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3893 done; \
3894 echo "Doing install-html in bfd"; \
3895 (cd $(HOST_SUBDIR)/bfd && \
3896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3898 "RANLIB=$${RANLIB}" \
3899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3900 install-html) \
3901 || exit 1
3903 @endif bfd
3905 .PHONY: maybe-installcheck-bfd installcheck-bfd
3906 maybe-installcheck-bfd:
3907 @if bfd
3908 maybe-installcheck-bfd: installcheck-bfd
3910 installcheck-bfd: \
3911 configure-bfd
3912 @[ -f ./bfd/Makefile ] || exit 0; \
3913 r=`${PWD_COMMAND}`; export r; \
3914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3915 $(HOST_EXPORTS) \
3916 for flag in $(EXTRA_HOST_FLAGS) ; do \
3917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3918 done; \
3919 echo "Doing installcheck in bfd"; \
3920 (cd $(HOST_SUBDIR)/bfd && \
3921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3923 "RANLIB=$${RANLIB}" \
3924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3925 installcheck) \
3926 || exit 1
3928 @endif bfd
3930 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3931 maybe-mostlyclean-bfd:
3932 @if bfd
3933 maybe-mostlyclean-bfd: mostlyclean-bfd
3935 mostlyclean-bfd:
3936 @[ -f ./bfd/Makefile ] || exit 0; \
3937 r=`${PWD_COMMAND}`; export r; \
3938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3939 $(HOST_EXPORTS) \
3940 for flag in $(EXTRA_HOST_FLAGS) ; do \
3941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3942 done; \
3943 echo "Doing mostlyclean in bfd"; \
3944 (cd $(HOST_SUBDIR)/bfd && \
3945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3947 "RANLIB=$${RANLIB}" \
3948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3949 mostlyclean) \
3950 || exit 1
3952 @endif bfd
3954 .PHONY: maybe-clean-bfd clean-bfd
3955 maybe-clean-bfd:
3956 @if bfd
3957 maybe-clean-bfd: clean-bfd
3959 clean-bfd:
3960 @[ -f ./bfd/Makefile ] || exit 0; \
3961 r=`${PWD_COMMAND}`; export r; \
3962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3963 $(HOST_EXPORTS) \
3964 for flag in $(EXTRA_HOST_FLAGS) ; do \
3965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3966 done; \
3967 echo "Doing clean in bfd"; \
3968 (cd $(HOST_SUBDIR)/bfd && \
3969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3971 "RANLIB=$${RANLIB}" \
3972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3973 clean) \
3974 || exit 1
3976 @endif bfd
3978 .PHONY: maybe-distclean-bfd distclean-bfd
3979 maybe-distclean-bfd:
3980 @if bfd
3981 maybe-distclean-bfd: distclean-bfd
3983 distclean-bfd:
3984 @[ -f ./bfd/Makefile ] || exit 0; \
3985 r=`${PWD_COMMAND}`; export r; \
3986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3987 $(HOST_EXPORTS) \
3988 for flag in $(EXTRA_HOST_FLAGS) ; do \
3989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3990 done; \
3991 echo "Doing distclean in bfd"; \
3992 (cd $(HOST_SUBDIR)/bfd && \
3993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3995 "RANLIB=$${RANLIB}" \
3996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3997 distclean) \
3998 || exit 1
4000 @endif bfd
4002 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4003 maybe-maintainer-clean-bfd:
4004 @if bfd
4005 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4007 maintainer-clean-bfd:
4008 @[ -f ./bfd/Makefile ] || exit 0; \
4009 r=`${PWD_COMMAND}`; export r; \
4010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4011 $(HOST_EXPORTS) \
4012 for flag in $(EXTRA_HOST_FLAGS) ; do \
4013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4014 done; \
4015 echo "Doing maintainer-clean in bfd"; \
4016 (cd $(HOST_SUBDIR)/bfd && \
4017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4019 "RANLIB=$${RANLIB}" \
4020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4021 maintainer-clean) \
4022 || exit 1
4024 @endif bfd
4028 .PHONY: configure-opcodes maybe-configure-opcodes
4029 maybe-configure-opcodes:
4030 @if gcc-bootstrap
4031 configure-opcodes: stage_current
4032 @endif gcc-bootstrap
4033 @if opcodes
4034 maybe-configure-opcodes: configure-opcodes
4035 configure-opcodes:
4036 @r=`${PWD_COMMAND}`; export r; \
4037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4038 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4039 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4040 $(HOST_EXPORTS) \
4041 echo Configuring in $(HOST_SUBDIR)/opcodes; \
4042 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
4043 case $(srcdir) in \
4044 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4045 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4046 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4047 esac; \
4048 module_srcdir=opcodes; \
4049 $(SHELL) \
4050 $$s/$$module_srcdir/configure \
4051 --srcdir=$${topdir}/$$module_srcdir \
4052 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4053 --target=${target_alias} \
4054 || exit 1
4055 @endif opcodes
4059 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
4060 maybe-configure-stage1-opcodes:
4061 @if opcodes-bootstrap
4062 maybe-configure-stage1-opcodes: configure-stage1-opcodes
4063 configure-stage1-opcodes:
4064 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4065 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4066 @r=`${PWD_COMMAND}`; export r; \
4067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4068 TFLAGS="$(STAGE1_TFLAGS)"; \
4069 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4070 $(HOST_EXPORTS) \
4071 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
4072 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
4073 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
4074 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes; \
4075 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4076 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4077 case $(srcdir) in \
4078 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4079 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4080 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4081 esac; \
4082 module_srcdir=opcodes; \
4083 $(SHELL) $$s/$$module_srcdir/configure \
4084 --srcdir=$${topdir}/$$module_srcdir \
4085 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4086 --target=${target_alias} \
4088 $(STAGE1_CONFIGURE_FLAGS)
4089 @endif opcodes-bootstrap
4091 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
4092 maybe-configure-stage2-opcodes:
4093 @if opcodes-bootstrap
4094 maybe-configure-stage2-opcodes: configure-stage2-opcodes
4095 configure-stage2-opcodes:
4096 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4097 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4098 @r=`${PWD_COMMAND}`; export r; \
4099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4100 TFLAGS="$(STAGE2_TFLAGS)"; \
4101 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4102 $(HOST_EXPORTS) \
4103 $(POSTSTAGE1_HOST_EXPORTS) \
4104 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4105 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
4106 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
4107 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes; \
4108 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4109 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4110 case $(srcdir) in \
4111 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4112 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4113 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4114 esac; \
4115 module_srcdir=opcodes; \
4116 $(SHELL) $$s/$$module_srcdir/configure \
4117 --srcdir=$${topdir}/$$module_srcdir \
4118 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4119 --target=${target_alias} \
4120 --with-build-libsubdir=$(HOST_SUBDIR) \
4121 $(STAGE2_CONFIGURE_FLAGS)
4122 @endif opcodes-bootstrap
4124 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
4125 maybe-configure-stage3-opcodes:
4126 @if opcodes-bootstrap
4127 maybe-configure-stage3-opcodes: configure-stage3-opcodes
4128 configure-stage3-opcodes:
4129 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4130 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4131 @r=`${PWD_COMMAND}`; export r; \
4132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4133 TFLAGS="$(STAGE3_TFLAGS)"; \
4134 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4135 $(HOST_EXPORTS) \
4136 $(POSTSTAGE1_HOST_EXPORTS) \
4137 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
4138 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
4139 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
4140 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes; \
4141 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4142 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4143 case $(srcdir) in \
4144 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4145 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4146 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4147 esac; \
4148 module_srcdir=opcodes; \
4149 $(SHELL) $$s/$$module_srcdir/configure \
4150 --srcdir=$${topdir}/$$module_srcdir \
4151 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4152 --target=${target_alias} \
4153 --with-build-libsubdir=$(HOST_SUBDIR) \
4154 $(STAGE3_CONFIGURE_FLAGS)
4155 @endif opcodes-bootstrap
4157 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
4158 maybe-configure-stage4-opcodes:
4159 @if opcodes-bootstrap
4160 maybe-configure-stage4-opcodes: configure-stage4-opcodes
4161 configure-stage4-opcodes:
4162 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4163 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4164 @r=`${PWD_COMMAND}`; export r; \
4165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4166 TFLAGS="$(STAGE4_TFLAGS)"; \
4167 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4168 $(HOST_EXPORTS) \
4169 $(POSTSTAGE1_HOST_EXPORTS) \
4170 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
4171 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
4172 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
4173 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes; \
4174 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4175 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4176 case $(srcdir) in \
4177 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4178 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4179 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4180 esac; \
4181 module_srcdir=opcodes; \
4182 $(SHELL) $$s/$$module_srcdir/configure \
4183 --srcdir=$${topdir}/$$module_srcdir \
4184 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4185 --target=${target_alias} \
4186 --with-build-libsubdir=$(HOST_SUBDIR) \
4187 $(STAGE4_CONFIGURE_FLAGS)
4188 @endif opcodes-bootstrap
4190 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
4191 maybe-configure-stageprofile-opcodes:
4192 @if opcodes-bootstrap
4193 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
4194 configure-stageprofile-opcodes:
4195 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4196 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4197 @r=`${PWD_COMMAND}`; export r; \
4198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4199 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4200 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4201 $(HOST_EXPORTS) \
4202 $(POSTSTAGE1_HOST_EXPORTS) \
4203 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4204 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4205 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4206 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes; \
4207 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4208 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4209 case $(srcdir) in \
4210 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4211 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4212 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4213 esac; \
4214 module_srcdir=opcodes; \
4215 $(SHELL) $$s/$$module_srcdir/configure \
4216 --srcdir=$${topdir}/$$module_srcdir \
4217 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4218 --target=${target_alias} \
4219 --with-build-libsubdir=$(HOST_SUBDIR) \
4220 $(STAGEprofile_CONFIGURE_FLAGS)
4221 @endif opcodes-bootstrap
4223 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
4224 maybe-configure-stagefeedback-opcodes:
4225 @if opcodes-bootstrap
4226 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
4227 configure-stagefeedback-opcodes:
4228 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4229 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4230 @r=`${PWD_COMMAND}`; export r; \
4231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4232 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4233 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4234 $(HOST_EXPORTS) \
4235 $(POSTSTAGE1_HOST_EXPORTS) \
4236 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4237 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4238 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4239 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes; \
4240 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4241 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4242 case $(srcdir) in \
4243 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4244 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4245 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4246 esac; \
4247 module_srcdir=opcodes; \
4248 $(SHELL) $$s/$$module_srcdir/configure \
4249 --srcdir=$${topdir}/$$module_srcdir \
4250 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4251 --target=${target_alias} \
4252 --with-build-libsubdir=$(HOST_SUBDIR) \
4253 $(STAGEfeedback_CONFIGURE_FLAGS)
4254 @endif opcodes-bootstrap
4260 .PHONY: all-opcodes maybe-all-opcodes
4261 maybe-all-opcodes:
4262 @if gcc-bootstrap
4263 all-opcodes: stage_current
4264 @endif gcc-bootstrap
4265 @if opcodes
4266 TARGET-opcodes=all
4267 maybe-all-opcodes: all-opcodes
4268 all-opcodes: configure-opcodes
4269 @r=`${PWD_COMMAND}`; export r; \
4270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4271 $(HOST_EXPORTS) \
4272 (cd $(HOST_SUBDIR)/opcodes && \
4273 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
4274 $(TARGET-opcodes))
4275 @endif opcodes
4279 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4280 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4281 maybe-all-stage1-opcodes:
4282 maybe-clean-stage1-opcodes:
4283 @if opcodes-bootstrap
4284 maybe-all-stage1-opcodes: all-stage1-opcodes
4285 all-stage1: all-stage1-opcodes
4286 TARGET-stage1-opcodes = $(TARGET-opcodes)
4287 all-stage1-opcodes: configure-stage1-opcodes
4288 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4289 @r=`${PWD_COMMAND}`; export r; \
4290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4291 TFLAGS="$(STAGE1_TFLAGS)"; \
4292 $(HOST_EXPORTS) \
4293 cd $(HOST_SUBDIR)/opcodes && \
4294 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4295 CFLAGS="$(STAGE1_CFLAGS)" \
4296 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4297 LIBCFLAGS="$(LIBCFLAGS)" \
4298 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4299 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4300 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4301 $(EXTRA_HOST_FLAGS) \
4302 $(STAGE1_FLAGS_TO_PASS) \
4303 TFLAGS="$(STAGE1_TFLAGS)" \
4304 $(TARGET-stage1-opcodes)
4306 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4307 clean-stage1: clean-stage1-opcodes
4308 clean-stage1-opcodes:
4309 @if [ $(current_stage) = stage1 ]; then \
4310 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4311 else \
4312 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
4313 $(MAKE) stage1-start; \
4314 fi; \
4315 cd $(HOST_SUBDIR)/opcodes && \
4316 $(MAKE) $(EXTRA_HOST_FLAGS) \
4317 $(STAGE1_FLAGS_TO_PASS) clean
4318 @endif opcodes-bootstrap
4321 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4322 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4323 maybe-all-stage2-opcodes:
4324 maybe-clean-stage2-opcodes:
4325 @if opcodes-bootstrap
4326 maybe-all-stage2-opcodes: all-stage2-opcodes
4327 all-stage2: all-stage2-opcodes
4328 TARGET-stage2-opcodes = $(TARGET-opcodes)
4329 all-stage2-opcodes: configure-stage2-opcodes
4330 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4331 @r=`${PWD_COMMAND}`; export r; \
4332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4333 TFLAGS="$(STAGE2_TFLAGS)"; \
4334 $(HOST_EXPORTS) \
4335 $(POSTSTAGE1_HOST_EXPORTS) \
4336 cd $(HOST_SUBDIR)/opcodes && \
4337 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4338 CFLAGS="$(STAGE2_CFLAGS)" \
4339 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
4340 LIBCFLAGS="$(STAGE2_CFLAGS)" \
4341 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4342 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4343 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4344 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4345 TFLAGS="$(STAGE2_TFLAGS)" \
4346 $(TARGET-stage2-opcodes)
4348 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4349 clean-stage2: clean-stage2-opcodes
4350 clean-stage2-opcodes:
4351 @if [ $(current_stage) = stage2 ]; then \
4352 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4353 else \
4354 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
4355 $(MAKE) stage2-start; \
4356 fi; \
4357 cd $(HOST_SUBDIR)/opcodes && \
4358 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4359 @endif opcodes-bootstrap
4362 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4363 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4364 maybe-all-stage3-opcodes:
4365 maybe-clean-stage3-opcodes:
4366 @if opcodes-bootstrap
4367 maybe-all-stage3-opcodes: all-stage3-opcodes
4368 all-stage3: all-stage3-opcodes
4369 TARGET-stage3-opcodes = $(TARGET-opcodes)
4370 all-stage3-opcodes: configure-stage3-opcodes
4371 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4372 @r=`${PWD_COMMAND}`; export r; \
4373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4374 TFLAGS="$(STAGE3_TFLAGS)"; \
4375 $(HOST_EXPORTS) \
4376 $(POSTSTAGE1_HOST_EXPORTS) \
4377 cd $(HOST_SUBDIR)/opcodes && \
4378 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4379 CFLAGS="$(STAGE3_CFLAGS)" \
4380 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
4381 LIBCFLAGS="$(STAGE3_CFLAGS)" \
4382 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4383 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4384 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4385 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4386 TFLAGS="$(STAGE3_TFLAGS)" \
4387 $(TARGET-stage3-opcodes)
4389 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4390 clean-stage3: clean-stage3-opcodes
4391 clean-stage3-opcodes:
4392 @if [ $(current_stage) = stage3 ]; then \
4393 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4394 else \
4395 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
4396 $(MAKE) stage3-start; \
4397 fi; \
4398 cd $(HOST_SUBDIR)/opcodes && \
4399 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4400 @endif opcodes-bootstrap
4403 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4404 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4405 maybe-all-stage4-opcodes:
4406 maybe-clean-stage4-opcodes:
4407 @if opcodes-bootstrap
4408 maybe-all-stage4-opcodes: all-stage4-opcodes
4409 all-stage4: all-stage4-opcodes
4410 TARGET-stage4-opcodes = $(TARGET-opcodes)
4411 all-stage4-opcodes: configure-stage4-opcodes
4412 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4413 @r=`${PWD_COMMAND}`; export r; \
4414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4415 TFLAGS="$(STAGE4_TFLAGS)"; \
4416 $(HOST_EXPORTS) \
4417 $(POSTSTAGE1_HOST_EXPORTS) \
4418 cd $(HOST_SUBDIR)/opcodes && \
4419 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4420 CFLAGS="$(STAGE4_CFLAGS)" \
4421 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
4422 LIBCFLAGS="$(STAGE4_CFLAGS)" \
4423 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4424 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4425 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4426 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4427 TFLAGS="$(STAGE4_TFLAGS)" \
4428 $(TARGET-stage4-opcodes)
4430 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4431 clean-stage4: clean-stage4-opcodes
4432 clean-stage4-opcodes:
4433 @if [ $(current_stage) = stage4 ]; then \
4434 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4435 else \
4436 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
4437 $(MAKE) stage4-start; \
4438 fi; \
4439 cd $(HOST_SUBDIR)/opcodes && \
4440 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4441 @endif opcodes-bootstrap
4444 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4445 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4446 maybe-all-stageprofile-opcodes:
4447 maybe-clean-stageprofile-opcodes:
4448 @if opcodes-bootstrap
4449 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4450 all-stageprofile: all-stageprofile-opcodes
4451 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
4452 all-stageprofile-opcodes: configure-stageprofile-opcodes
4453 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4454 @r=`${PWD_COMMAND}`; export r; \
4455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4456 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4457 $(HOST_EXPORTS) \
4458 $(POSTSTAGE1_HOST_EXPORTS) \
4459 cd $(HOST_SUBDIR)/opcodes && \
4460 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4461 CFLAGS="$(STAGEprofile_CFLAGS)" \
4462 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
4463 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
4464 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4465 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4466 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4467 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4468 TFLAGS="$(STAGEprofile_TFLAGS)" \
4469 $(TARGET-stageprofile-opcodes)
4471 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4472 clean-stageprofile: clean-stageprofile-opcodes
4473 clean-stageprofile-opcodes:
4474 @if [ $(current_stage) = stageprofile ]; then \
4475 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4476 else \
4477 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
4478 $(MAKE) stageprofile-start; \
4479 fi; \
4480 cd $(HOST_SUBDIR)/opcodes && \
4481 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4482 @endif opcodes-bootstrap
4485 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
4486 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
4487 maybe-all-stagefeedback-opcodes:
4488 maybe-clean-stagefeedback-opcodes:
4489 @if opcodes-bootstrap
4490 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
4491 all-stagefeedback: all-stagefeedback-opcodes
4492 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
4493 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4494 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4495 @r=`${PWD_COMMAND}`; export r; \
4496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4497 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4498 $(HOST_EXPORTS) \
4499 $(POSTSTAGE1_HOST_EXPORTS) \
4500 cd $(HOST_SUBDIR)/opcodes && \
4501 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4502 CFLAGS="$(STAGEfeedback_CFLAGS)" \
4503 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
4504 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
4505 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4506 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4507 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4508 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4509 TFLAGS="$(STAGEfeedback_TFLAGS)" \
4510 $(TARGET-stagefeedback-opcodes)
4512 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
4513 clean-stagefeedback: clean-stagefeedback-opcodes
4514 clean-stagefeedback-opcodes:
4515 @if [ $(current_stage) = stagefeedback ]; then \
4516 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4517 else \
4518 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
4519 $(MAKE) stagefeedback-start; \
4520 fi; \
4521 cd $(HOST_SUBDIR)/opcodes && \
4522 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4523 @endif opcodes-bootstrap
4529 .PHONY: check-opcodes maybe-check-opcodes
4530 maybe-check-opcodes:
4531 @if opcodes
4532 maybe-check-opcodes: check-opcodes
4534 check-opcodes:
4535 @: $(MAKE); $(unstage)
4536 @r=`${PWD_COMMAND}`; export r; \
4537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4538 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
4539 (cd $(HOST_SUBDIR)/opcodes && \
4540 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
4542 @endif opcodes
4544 .PHONY: install-opcodes maybe-install-opcodes
4545 maybe-install-opcodes:
4546 @if opcodes
4547 maybe-install-opcodes: install-opcodes
4549 install-opcodes: installdirs
4550 @: $(MAKE); $(unstage)
4551 @r=`${PWD_COMMAND}`; export r; \
4552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4553 $(HOST_EXPORTS) \
4554 (cd $(HOST_SUBDIR)/opcodes && \
4555 $(MAKE) $(FLAGS_TO_PASS) install)
4557 @endif opcodes
4559 .PHONY: install-strip-opcodes maybe-install-strip-opcodes
4560 maybe-install-strip-opcodes:
4561 @if opcodes
4562 maybe-install-strip-opcodes: install-strip-opcodes
4564 install-strip-opcodes: installdirs
4565 @: $(MAKE); $(unstage)
4566 @r=`${PWD_COMMAND}`; export r; \
4567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4568 $(HOST_EXPORTS) \
4569 (cd $(HOST_SUBDIR)/opcodes && \
4570 $(MAKE) $(FLAGS_TO_PASS) install-strip)
4572 @endif opcodes
4574 # Other targets (info, dvi, pdf, etc.)
4576 .PHONY: maybe-info-opcodes info-opcodes
4577 maybe-info-opcodes:
4578 @if opcodes
4579 maybe-info-opcodes: info-opcodes
4581 info-opcodes: \
4582 configure-opcodes
4583 @[ -f ./opcodes/Makefile ] || exit 0; \
4584 r=`${PWD_COMMAND}`; export r; \
4585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4586 $(HOST_EXPORTS) \
4587 for flag in $(EXTRA_HOST_FLAGS) ; do \
4588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4589 done; \
4590 echo "Doing info in opcodes"; \
4591 (cd $(HOST_SUBDIR)/opcodes && \
4592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4594 "RANLIB=$${RANLIB}" \
4595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4596 info) \
4597 || exit 1
4599 @endif opcodes
4601 .PHONY: maybe-dvi-opcodes dvi-opcodes
4602 maybe-dvi-opcodes:
4603 @if opcodes
4604 maybe-dvi-opcodes: dvi-opcodes
4606 dvi-opcodes: \
4607 configure-opcodes
4608 @[ -f ./opcodes/Makefile ] || exit 0; \
4609 r=`${PWD_COMMAND}`; export r; \
4610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4611 $(HOST_EXPORTS) \
4612 for flag in $(EXTRA_HOST_FLAGS) ; do \
4613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4614 done; \
4615 echo "Doing dvi in opcodes"; \
4616 (cd $(HOST_SUBDIR)/opcodes && \
4617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4619 "RANLIB=$${RANLIB}" \
4620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4621 dvi) \
4622 || exit 1
4624 @endif opcodes
4626 .PHONY: maybe-pdf-opcodes pdf-opcodes
4627 maybe-pdf-opcodes:
4628 @if opcodes
4629 maybe-pdf-opcodes: pdf-opcodes
4631 pdf-opcodes: \
4632 configure-opcodes
4633 @[ -f ./opcodes/Makefile ] || exit 0; \
4634 r=`${PWD_COMMAND}`; export r; \
4635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4636 $(HOST_EXPORTS) \
4637 for flag in $(EXTRA_HOST_FLAGS) ; do \
4638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4639 done; \
4640 echo "Doing pdf in opcodes"; \
4641 (cd $(HOST_SUBDIR)/opcodes && \
4642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4644 "RANLIB=$${RANLIB}" \
4645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4646 pdf) \
4647 || exit 1
4649 @endif opcodes
4651 .PHONY: maybe-html-opcodes html-opcodes
4652 maybe-html-opcodes:
4653 @if opcodes
4654 maybe-html-opcodes: html-opcodes
4656 html-opcodes: \
4657 configure-opcodes
4658 @[ -f ./opcodes/Makefile ] || exit 0; \
4659 r=`${PWD_COMMAND}`; export r; \
4660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4661 $(HOST_EXPORTS) \
4662 for flag in $(EXTRA_HOST_FLAGS) ; do \
4663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4664 done; \
4665 echo "Doing html in opcodes"; \
4666 (cd $(HOST_SUBDIR)/opcodes && \
4667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4669 "RANLIB=$${RANLIB}" \
4670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4671 html) \
4672 || exit 1
4674 @endif opcodes
4676 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4677 maybe-TAGS-opcodes:
4678 @if opcodes
4679 maybe-TAGS-opcodes: TAGS-opcodes
4681 TAGS-opcodes: \
4682 configure-opcodes
4683 @[ -f ./opcodes/Makefile ] || exit 0; \
4684 r=`${PWD_COMMAND}`; export r; \
4685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4686 $(HOST_EXPORTS) \
4687 for flag in $(EXTRA_HOST_FLAGS) ; do \
4688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4689 done; \
4690 echo "Doing TAGS in opcodes"; \
4691 (cd $(HOST_SUBDIR)/opcodes && \
4692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4694 "RANLIB=$${RANLIB}" \
4695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4696 TAGS) \
4697 || exit 1
4699 @endif opcodes
4701 .PHONY: maybe-install-info-opcodes install-info-opcodes
4702 maybe-install-info-opcodes:
4703 @if opcodes
4704 maybe-install-info-opcodes: install-info-opcodes
4706 install-info-opcodes: \
4707 configure-opcodes \
4708 info-opcodes
4709 @[ -f ./opcodes/Makefile ] || exit 0; \
4710 r=`${PWD_COMMAND}`; export r; \
4711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4712 $(HOST_EXPORTS) \
4713 for flag in $(EXTRA_HOST_FLAGS) ; do \
4714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4715 done; \
4716 echo "Doing install-info in opcodes"; \
4717 (cd $(HOST_SUBDIR)/opcodes && \
4718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4720 "RANLIB=$${RANLIB}" \
4721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4722 install-info) \
4723 || exit 1
4725 @endif opcodes
4727 .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes
4728 maybe-install-pdf-opcodes:
4729 @if opcodes
4730 maybe-install-pdf-opcodes: install-pdf-opcodes
4732 install-pdf-opcodes: \
4733 configure-opcodes \
4734 pdf-opcodes
4735 @[ -f ./opcodes/Makefile ] || exit 0; \
4736 r=`${PWD_COMMAND}`; export r; \
4737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4738 $(HOST_EXPORTS) \
4739 for flag in $(EXTRA_HOST_FLAGS) ; do \
4740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4741 done; \
4742 echo "Doing install-pdf in opcodes"; \
4743 (cd $(HOST_SUBDIR)/opcodes && \
4744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4746 "RANLIB=$${RANLIB}" \
4747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4748 install-pdf) \
4749 || exit 1
4751 @endif opcodes
4753 .PHONY: maybe-install-html-opcodes install-html-opcodes
4754 maybe-install-html-opcodes:
4755 @if opcodes
4756 maybe-install-html-opcodes: install-html-opcodes
4758 install-html-opcodes: \
4759 configure-opcodes \
4760 html-opcodes
4761 @[ -f ./opcodes/Makefile ] || exit 0; \
4762 r=`${PWD_COMMAND}`; export r; \
4763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4764 $(HOST_EXPORTS) \
4765 for flag in $(EXTRA_HOST_FLAGS) ; do \
4766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4767 done; \
4768 echo "Doing install-html in opcodes"; \
4769 (cd $(HOST_SUBDIR)/opcodes && \
4770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4772 "RANLIB=$${RANLIB}" \
4773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4774 install-html) \
4775 || exit 1
4777 @endif opcodes
4779 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4780 maybe-installcheck-opcodes:
4781 @if opcodes
4782 maybe-installcheck-opcodes: installcheck-opcodes
4784 installcheck-opcodes: \
4785 configure-opcodes
4786 @[ -f ./opcodes/Makefile ] || exit 0; \
4787 r=`${PWD_COMMAND}`; export r; \
4788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4789 $(HOST_EXPORTS) \
4790 for flag in $(EXTRA_HOST_FLAGS) ; do \
4791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4792 done; \
4793 echo "Doing installcheck in opcodes"; \
4794 (cd $(HOST_SUBDIR)/opcodes && \
4795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4797 "RANLIB=$${RANLIB}" \
4798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4799 installcheck) \
4800 || exit 1
4802 @endif opcodes
4804 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4805 maybe-mostlyclean-opcodes:
4806 @if opcodes
4807 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4809 mostlyclean-opcodes:
4810 @[ -f ./opcodes/Makefile ] || exit 0; \
4811 r=`${PWD_COMMAND}`; export r; \
4812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4813 $(HOST_EXPORTS) \
4814 for flag in $(EXTRA_HOST_FLAGS) ; do \
4815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4816 done; \
4817 echo "Doing mostlyclean in opcodes"; \
4818 (cd $(HOST_SUBDIR)/opcodes && \
4819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4821 "RANLIB=$${RANLIB}" \
4822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4823 mostlyclean) \
4824 || exit 1
4826 @endif opcodes
4828 .PHONY: maybe-clean-opcodes clean-opcodes
4829 maybe-clean-opcodes:
4830 @if opcodes
4831 maybe-clean-opcodes: clean-opcodes
4833 clean-opcodes:
4834 @[ -f ./opcodes/Makefile ] || exit 0; \
4835 r=`${PWD_COMMAND}`; export r; \
4836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4837 $(HOST_EXPORTS) \
4838 for flag in $(EXTRA_HOST_FLAGS) ; do \
4839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4840 done; \
4841 echo "Doing clean in opcodes"; \
4842 (cd $(HOST_SUBDIR)/opcodes && \
4843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4845 "RANLIB=$${RANLIB}" \
4846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4847 clean) \
4848 || exit 1
4850 @endif opcodes
4852 .PHONY: maybe-distclean-opcodes distclean-opcodes
4853 maybe-distclean-opcodes:
4854 @if opcodes
4855 maybe-distclean-opcodes: distclean-opcodes
4857 distclean-opcodes:
4858 @[ -f ./opcodes/Makefile ] || exit 0; \
4859 r=`${PWD_COMMAND}`; export r; \
4860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4861 $(HOST_EXPORTS) \
4862 for flag in $(EXTRA_HOST_FLAGS) ; do \
4863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4864 done; \
4865 echo "Doing distclean in opcodes"; \
4866 (cd $(HOST_SUBDIR)/opcodes && \
4867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4869 "RANLIB=$${RANLIB}" \
4870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4871 distclean) \
4872 || exit 1
4874 @endif opcodes
4876 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4877 maybe-maintainer-clean-opcodes:
4878 @if opcodes
4879 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4881 maintainer-clean-opcodes:
4882 @[ -f ./opcodes/Makefile ] || exit 0; \
4883 r=`${PWD_COMMAND}`; export r; \
4884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4885 $(HOST_EXPORTS) \
4886 for flag in $(EXTRA_HOST_FLAGS) ; do \
4887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4888 done; \
4889 echo "Doing maintainer-clean in opcodes"; \
4890 (cd $(HOST_SUBDIR)/opcodes && \
4891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4893 "RANLIB=$${RANLIB}" \
4894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4895 maintainer-clean) \
4896 || exit 1
4898 @endif opcodes
4902 .PHONY: configure-binutils maybe-configure-binutils
4903 maybe-configure-binutils:
4904 @if gcc-bootstrap
4905 configure-binutils: stage_current
4906 @endif gcc-bootstrap
4907 @if binutils
4908 maybe-configure-binutils: configure-binutils
4909 configure-binutils:
4910 @r=`${PWD_COMMAND}`; export r; \
4911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4912 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4913 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
4914 $(HOST_EXPORTS) \
4915 echo Configuring in $(HOST_SUBDIR)/binutils; \
4916 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
4917 case $(srcdir) in \
4918 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4919 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4920 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4921 esac; \
4922 module_srcdir=binutils; \
4923 $(SHELL) \
4924 $$s/$$module_srcdir/configure \
4925 --srcdir=$${topdir}/$$module_srcdir \
4926 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4927 --target=${target_alias} \
4928 || exit 1
4929 @endif binutils
4933 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
4934 maybe-configure-stage1-binutils:
4935 @if binutils-bootstrap
4936 maybe-configure-stage1-binutils: configure-stage1-binutils
4937 configure-stage1-binutils:
4938 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4939 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4940 @r=`${PWD_COMMAND}`; export r; \
4941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4942 TFLAGS="$(STAGE1_TFLAGS)"; \
4943 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4944 $(HOST_EXPORTS) \
4945 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
4946 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
4947 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
4948 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils; \
4949 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
4950 cd $(HOST_SUBDIR)/binutils || exit 1; \
4951 case $(srcdir) in \
4952 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4953 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4954 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4955 esac; \
4956 module_srcdir=binutils; \
4957 $(SHELL) $$s/$$module_srcdir/configure \
4958 --srcdir=$${topdir}/$$module_srcdir \
4959 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4960 --target=${target_alias} \
4962 $(STAGE1_CONFIGURE_FLAGS)
4963 @endif binutils-bootstrap
4965 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
4966 maybe-configure-stage2-binutils:
4967 @if binutils-bootstrap
4968 maybe-configure-stage2-binutils: configure-stage2-binutils
4969 configure-stage2-binutils:
4970 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4971 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4972 @r=`${PWD_COMMAND}`; export r; \
4973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4974 TFLAGS="$(STAGE2_TFLAGS)"; \
4975 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4976 $(HOST_EXPORTS) \
4977 $(POSTSTAGE1_HOST_EXPORTS) \
4978 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4979 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
4980 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
4981 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils; \
4982 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
4983 cd $(HOST_SUBDIR)/binutils || exit 1; \
4984 case $(srcdir) in \
4985 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4986 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4987 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4988 esac; \
4989 module_srcdir=binutils; \
4990 $(SHELL) $$s/$$module_srcdir/configure \
4991 --srcdir=$${topdir}/$$module_srcdir \
4992 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4993 --target=${target_alias} \
4994 --with-build-libsubdir=$(HOST_SUBDIR) \
4995 $(STAGE2_CONFIGURE_FLAGS)
4996 @endif binutils-bootstrap
4998 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
4999 maybe-configure-stage3-binutils:
5000 @if binutils-bootstrap
5001 maybe-configure-stage3-binutils: configure-stage3-binutils
5002 configure-stage3-binutils:
5003 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5004 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5005 @r=`${PWD_COMMAND}`; export r; \
5006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5007 TFLAGS="$(STAGE3_TFLAGS)"; \
5008 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5009 $(HOST_EXPORTS) \
5010 $(POSTSTAGE1_HOST_EXPORTS) \
5011 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
5012 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
5013 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
5014 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils; \
5015 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5016 cd $(HOST_SUBDIR)/binutils || exit 1; \
5017 case $(srcdir) in \
5018 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5019 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5020 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5021 esac; \
5022 module_srcdir=binutils; \
5023 $(SHELL) $$s/$$module_srcdir/configure \
5024 --srcdir=$${topdir}/$$module_srcdir \
5025 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5026 --target=${target_alias} \
5027 --with-build-libsubdir=$(HOST_SUBDIR) \
5028 $(STAGE3_CONFIGURE_FLAGS)
5029 @endif binutils-bootstrap
5031 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
5032 maybe-configure-stage4-binutils:
5033 @if binutils-bootstrap
5034 maybe-configure-stage4-binutils: configure-stage4-binutils
5035 configure-stage4-binutils:
5036 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5037 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5038 @r=`${PWD_COMMAND}`; export r; \
5039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5040 TFLAGS="$(STAGE4_TFLAGS)"; \
5041 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5042 $(HOST_EXPORTS) \
5043 $(POSTSTAGE1_HOST_EXPORTS) \
5044 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
5045 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
5046 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
5047 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils; \
5048 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5049 cd $(HOST_SUBDIR)/binutils || exit 1; \
5050 case $(srcdir) in \
5051 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5052 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5053 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5054 esac; \
5055 module_srcdir=binutils; \
5056 $(SHELL) $$s/$$module_srcdir/configure \
5057 --srcdir=$${topdir}/$$module_srcdir \
5058 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5059 --target=${target_alias} \
5060 --with-build-libsubdir=$(HOST_SUBDIR) \
5061 $(STAGE4_CONFIGURE_FLAGS)
5062 @endif binutils-bootstrap
5064 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
5065 maybe-configure-stageprofile-binutils:
5066 @if binutils-bootstrap
5067 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
5068 configure-stageprofile-binutils:
5069 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5070 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5071 @r=`${PWD_COMMAND}`; export r; \
5072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5073 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5074 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5075 $(HOST_EXPORTS) \
5076 $(POSTSTAGE1_HOST_EXPORTS) \
5077 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
5078 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
5079 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
5080 echo Configuring stage profile in $(HOST_SUBDIR)/binutils; \
5081 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5082 cd $(HOST_SUBDIR)/binutils || exit 1; \
5083 case $(srcdir) in \
5084 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5085 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5086 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5087 esac; \
5088 module_srcdir=binutils; \
5089 $(SHELL) $$s/$$module_srcdir/configure \
5090 --srcdir=$${topdir}/$$module_srcdir \
5091 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5092 --target=${target_alias} \
5093 --with-build-libsubdir=$(HOST_SUBDIR) \
5094 $(STAGEprofile_CONFIGURE_FLAGS)
5095 @endif binutils-bootstrap
5097 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
5098 maybe-configure-stagefeedback-binutils:
5099 @if binutils-bootstrap
5100 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
5101 configure-stagefeedback-binutils:
5102 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5103 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5104 @r=`${PWD_COMMAND}`; export r; \
5105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5106 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5107 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5108 $(HOST_EXPORTS) \
5109 $(POSTSTAGE1_HOST_EXPORTS) \
5110 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
5111 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
5112 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
5113 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils; \
5114 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5115 cd $(HOST_SUBDIR)/binutils || exit 1; \
5116 case $(srcdir) in \
5117 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5118 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5119 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5120 esac; \
5121 module_srcdir=binutils; \
5122 $(SHELL) $$s/$$module_srcdir/configure \
5123 --srcdir=$${topdir}/$$module_srcdir \
5124 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5125 --target=${target_alias} \
5126 --with-build-libsubdir=$(HOST_SUBDIR) \
5127 $(STAGEfeedback_CONFIGURE_FLAGS)
5128 @endif binutils-bootstrap
5134 .PHONY: all-binutils maybe-all-binutils
5135 maybe-all-binutils:
5136 @if gcc-bootstrap
5137 all-binutils: stage_current
5138 @endif gcc-bootstrap
5139 @if binutils
5140 TARGET-binutils=all
5141 maybe-all-binutils: all-binutils
5142 all-binutils: configure-binutils
5143 @r=`${PWD_COMMAND}`; export r; \
5144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5145 $(HOST_EXPORTS) \
5146 (cd $(HOST_SUBDIR)/binutils && \
5147 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
5148 $(TARGET-binutils))
5149 @endif binutils
5153 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
5154 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
5155 maybe-all-stage1-binutils:
5156 maybe-clean-stage1-binutils:
5157 @if binutils-bootstrap
5158 maybe-all-stage1-binutils: all-stage1-binutils
5159 all-stage1: all-stage1-binutils
5160 TARGET-stage1-binutils = $(TARGET-binutils)
5161 all-stage1-binutils: configure-stage1-binutils
5162 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5163 @r=`${PWD_COMMAND}`; export r; \
5164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5165 TFLAGS="$(STAGE1_TFLAGS)"; \
5166 $(HOST_EXPORTS) \
5167 cd $(HOST_SUBDIR)/binutils && \
5168 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5169 CFLAGS="$(STAGE1_CFLAGS)" \
5170 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
5171 LIBCFLAGS="$(LIBCFLAGS)" \
5172 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5173 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5174 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5175 $(EXTRA_HOST_FLAGS) \
5176 $(STAGE1_FLAGS_TO_PASS) \
5177 TFLAGS="$(STAGE1_TFLAGS)" \
5178 $(TARGET-stage1-binutils)
5180 maybe-clean-stage1-binutils: clean-stage1-binutils
5181 clean-stage1: clean-stage1-binutils
5182 clean-stage1-binutils:
5183 @if [ $(current_stage) = stage1 ]; then \
5184 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5185 else \
5186 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
5187 $(MAKE) stage1-start; \
5188 fi; \
5189 cd $(HOST_SUBDIR)/binutils && \
5190 $(MAKE) $(EXTRA_HOST_FLAGS) \
5191 $(STAGE1_FLAGS_TO_PASS) clean
5192 @endif binutils-bootstrap
5195 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
5196 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
5197 maybe-all-stage2-binutils:
5198 maybe-clean-stage2-binutils:
5199 @if binutils-bootstrap
5200 maybe-all-stage2-binutils: all-stage2-binutils
5201 all-stage2: all-stage2-binutils
5202 TARGET-stage2-binutils = $(TARGET-binutils)
5203 all-stage2-binutils: configure-stage2-binutils
5204 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5205 @r=`${PWD_COMMAND}`; export r; \
5206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5207 TFLAGS="$(STAGE2_TFLAGS)"; \
5208 $(HOST_EXPORTS) \
5209 $(POSTSTAGE1_HOST_EXPORTS) \
5210 cd $(HOST_SUBDIR)/binutils && \
5211 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5212 CFLAGS="$(STAGE2_CFLAGS)" \
5213 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
5214 LIBCFLAGS="$(STAGE2_CFLAGS)" \
5215 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5216 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5217 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5218 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5219 TFLAGS="$(STAGE2_TFLAGS)" \
5220 $(TARGET-stage2-binutils)
5222 maybe-clean-stage2-binutils: clean-stage2-binutils
5223 clean-stage2: clean-stage2-binutils
5224 clean-stage2-binutils:
5225 @if [ $(current_stage) = stage2 ]; then \
5226 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5227 else \
5228 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
5229 $(MAKE) stage2-start; \
5230 fi; \
5231 cd $(HOST_SUBDIR)/binutils && \
5232 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5233 @endif binutils-bootstrap
5236 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5237 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5238 maybe-all-stage3-binutils:
5239 maybe-clean-stage3-binutils:
5240 @if binutils-bootstrap
5241 maybe-all-stage3-binutils: all-stage3-binutils
5242 all-stage3: all-stage3-binutils
5243 TARGET-stage3-binutils = $(TARGET-binutils)
5244 all-stage3-binutils: configure-stage3-binutils
5245 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5246 @r=`${PWD_COMMAND}`; export r; \
5247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5248 TFLAGS="$(STAGE3_TFLAGS)"; \
5249 $(HOST_EXPORTS) \
5250 $(POSTSTAGE1_HOST_EXPORTS) \
5251 cd $(HOST_SUBDIR)/binutils && \
5252 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5253 CFLAGS="$(STAGE3_CFLAGS)" \
5254 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
5255 LIBCFLAGS="$(STAGE3_CFLAGS)" \
5256 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5257 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5258 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5259 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5260 TFLAGS="$(STAGE3_TFLAGS)" \
5261 $(TARGET-stage3-binutils)
5263 maybe-clean-stage3-binutils: clean-stage3-binutils
5264 clean-stage3: clean-stage3-binutils
5265 clean-stage3-binutils:
5266 @if [ $(current_stage) = stage3 ]; then \
5267 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5268 else \
5269 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
5270 $(MAKE) stage3-start; \
5271 fi; \
5272 cd $(HOST_SUBDIR)/binutils && \
5273 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5274 @endif binutils-bootstrap
5277 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5278 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5279 maybe-all-stage4-binutils:
5280 maybe-clean-stage4-binutils:
5281 @if binutils-bootstrap
5282 maybe-all-stage4-binutils: all-stage4-binutils
5283 all-stage4: all-stage4-binutils
5284 TARGET-stage4-binutils = $(TARGET-binutils)
5285 all-stage4-binutils: configure-stage4-binutils
5286 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5287 @r=`${PWD_COMMAND}`; export r; \
5288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5289 TFLAGS="$(STAGE4_TFLAGS)"; \
5290 $(HOST_EXPORTS) \
5291 $(POSTSTAGE1_HOST_EXPORTS) \
5292 cd $(HOST_SUBDIR)/binutils && \
5293 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5294 CFLAGS="$(STAGE4_CFLAGS)" \
5295 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
5296 LIBCFLAGS="$(STAGE4_CFLAGS)" \
5297 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5298 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5299 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5300 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5301 TFLAGS="$(STAGE4_TFLAGS)" \
5302 $(TARGET-stage4-binutils)
5304 maybe-clean-stage4-binutils: clean-stage4-binutils
5305 clean-stage4: clean-stage4-binutils
5306 clean-stage4-binutils:
5307 @if [ $(current_stage) = stage4 ]; then \
5308 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5309 else \
5310 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
5311 $(MAKE) stage4-start; \
5312 fi; \
5313 cd $(HOST_SUBDIR)/binutils && \
5314 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5315 @endif binutils-bootstrap
5318 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5319 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5320 maybe-all-stageprofile-binutils:
5321 maybe-clean-stageprofile-binutils:
5322 @if binutils-bootstrap
5323 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5324 all-stageprofile: all-stageprofile-binutils
5325 TARGET-stageprofile-binutils = $(TARGET-binutils)
5326 all-stageprofile-binutils: configure-stageprofile-binutils
5327 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5328 @r=`${PWD_COMMAND}`; export r; \
5329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5330 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5331 $(HOST_EXPORTS) \
5332 $(POSTSTAGE1_HOST_EXPORTS) \
5333 cd $(HOST_SUBDIR)/binutils && \
5334 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5335 CFLAGS="$(STAGEprofile_CFLAGS)" \
5336 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
5337 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
5338 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5339 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5340 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5341 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5342 TFLAGS="$(STAGEprofile_TFLAGS)" \
5343 $(TARGET-stageprofile-binutils)
5345 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5346 clean-stageprofile: clean-stageprofile-binutils
5347 clean-stageprofile-binutils:
5348 @if [ $(current_stage) = stageprofile ]; then \
5349 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5350 else \
5351 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
5352 $(MAKE) stageprofile-start; \
5353 fi; \
5354 cd $(HOST_SUBDIR)/binutils && \
5355 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5356 @endif binutils-bootstrap
5359 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5360 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5361 maybe-all-stagefeedback-binutils:
5362 maybe-clean-stagefeedback-binutils:
5363 @if binutils-bootstrap
5364 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5365 all-stagefeedback: all-stagefeedback-binutils
5366 TARGET-stagefeedback-binutils = $(TARGET-binutils)
5367 all-stagefeedback-binutils: configure-stagefeedback-binutils
5368 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5369 @r=`${PWD_COMMAND}`; export r; \
5370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5371 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5372 $(HOST_EXPORTS) \
5373 $(POSTSTAGE1_HOST_EXPORTS) \
5374 cd $(HOST_SUBDIR)/binutils && \
5375 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5376 CFLAGS="$(STAGEfeedback_CFLAGS)" \
5377 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
5378 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
5379 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5380 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5381 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5382 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5383 TFLAGS="$(STAGEfeedback_TFLAGS)" \
5384 $(TARGET-stagefeedback-binutils)
5386 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5387 clean-stagefeedback: clean-stagefeedback-binutils
5388 clean-stagefeedback-binutils:
5389 @if [ $(current_stage) = stagefeedback ]; then \
5390 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5391 else \
5392 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
5393 $(MAKE) stagefeedback-start; \
5394 fi; \
5395 cd $(HOST_SUBDIR)/binutils && \
5396 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5397 @endif binutils-bootstrap
5403 .PHONY: check-binutils maybe-check-binutils
5404 maybe-check-binutils:
5405 @if binutils
5406 maybe-check-binutils: check-binutils
5408 check-binutils:
5409 @: $(MAKE); $(unstage)
5410 @r=`${PWD_COMMAND}`; export r; \
5411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5412 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
5413 (cd $(HOST_SUBDIR)/binutils && \
5414 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
5416 @endif binutils
5418 .PHONY: install-binutils maybe-install-binutils
5419 maybe-install-binutils:
5420 @if binutils
5421 maybe-install-binutils: install-binutils
5423 install-binutils: installdirs
5424 @: $(MAKE); $(unstage)
5425 @r=`${PWD_COMMAND}`; export r; \
5426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5427 $(HOST_EXPORTS) \
5428 (cd $(HOST_SUBDIR)/binutils && \
5429 $(MAKE) $(FLAGS_TO_PASS) install)
5431 @endif binutils
5433 .PHONY: install-strip-binutils maybe-install-strip-binutils
5434 maybe-install-strip-binutils:
5435 @if binutils
5436 maybe-install-strip-binutils: install-strip-binutils
5438 install-strip-binutils: installdirs
5439 @: $(MAKE); $(unstage)
5440 @r=`${PWD_COMMAND}`; export r; \
5441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5442 $(HOST_EXPORTS) \
5443 (cd $(HOST_SUBDIR)/binutils && \
5444 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5446 @endif binutils
5448 # Other targets (info, dvi, pdf, etc.)
5450 .PHONY: maybe-info-binutils info-binutils
5451 maybe-info-binutils:
5452 @if binutils
5453 maybe-info-binutils: info-binutils
5455 info-binutils: \
5456 configure-binutils
5457 @[ -f ./binutils/Makefile ] || exit 0; \
5458 r=`${PWD_COMMAND}`; export r; \
5459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5460 $(HOST_EXPORTS) \
5461 for flag in $(EXTRA_HOST_FLAGS) ; do \
5462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5463 done; \
5464 echo "Doing info in binutils"; \
5465 (cd $(HOST_SUBDIR)/binutils && \
5466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5468 "RANLIB=$${RANLIB}" \
5469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5470 info) \
5471 || exit 1
5473 @endif binutils
5475 .PHONY: maybe-dvi-binutils dvi-binutils
5476 maybe-dvi-binutils:
5477 @if binutils
5478 maybe-dvi-binutils: dvi-binutils
5480 dvi-binutils: \
5481 configure-binutils
5482 @[ -f ./binutils/Makefile ] || exit 0; \
5483 r=`${PWD_COMMAND}`; export r; \
5484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5485 $(HOST_EXPORTS) \
5486 for flag in $(EXTRA_HOST_FLAGS) ; do \
5487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5488 done; \
5489 echo "Doing dvi in binutils"; \
5490 (cd $(HOST_SUBDIR)/binutils && \
5491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5493 "RANLIB=$${RANLIB}" \
5494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5495 dvi) \
5496 || exit 1
5498 @endif binutils
5500 .PHONY: maybe-pdf-binutils pdf-binutils
5501 maybe-pdf-binutils:
5502 @if binutils
5503 maybe-pdf-binutils: pdf-binutils
5505 pdf-binutils: \
5506 configure-binutils
5507 @[ -f ./binutils/Makefile ] || exit 0; \
5508 r=`${PWD_COMMAND}`; export r; \
5509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5510 $(HOST_EXPORTS) \
5511 for flag in $(EXTRA_HOST_FLAGS) ; do \
5512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5513 done; \
5514 echo "Doing pdf in binutils"; \
5515 (cd $(HOST_SUBDIR)/binutils && \
5516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5518 "RANLIB=$${RANLIB}" \
5519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5520 pdf) \
5521 || exit 1
5523 @endif binutils
5525 .PHONY: maybe-html-binutils html-binutils
5526 maybe-html-binutils:
5527 @if binutils
5528 maybe-html-binutils: html-binutils
5530 html-binutils: \
5531 configure-binutils
5532 @[ -f ./binutils/Makefile ] || exit 0; \
5533 r=`${PWD_COMMAND}`; export r; \
5534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5535 $(HOST_EXPORTS) \
5536 for flag in $(EXTRA_HOST_FLAGS) ; do \
5537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5538 done; \
5539 echo "Doing html in binutils"; \
5540 (cd $(HOST_SUBDIR)/binutils && \
5541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5543 "RANLIB=$${RANLIB}" \
5544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5545 html) \
5546 || exit 1
5548 @endif binutils
5550 .PHONY: maybe-TAGS-binutils TAGS-binutils
5551 maybe-TAGS-binutils:
5552 @if binutils
5553 maybe-TAGS-binutils: TAGS-binutils
5555 TAGS-binutils: \
5556 configure-binutils
5557 @[ -f ./binutils/Makefile ] || exit 0; \
5558 r=`${PWD_COMMAND}`; export r; \
5559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5560 $(HOST_EXPORTS) \
5561 for flag in $(EXTRA_HOST_FLAGS) ; do \
5562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5563 done; \
5564 echo "Doing TAGS in binutils"; \
5565 (cd $(HOST_SUBDIR)/binutils && \
5566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5568 "RANLIB=$${RANLIB}" \
5569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5570 TAGS) \
5571 || exit 1
5573 @endif binutils
5575 .PHONY: maybe-install-info-binutils install-info-binutils
5576 maybe-install-info-binutils:
5577 @if binutils
5578 maybe-install-info-binutils: install-info-binutils
5580 install-info-binutils: \
5581 configure-binutils \
5582 info-binutils
5583 @[ -f ./binutils/Makefile ] || exit 0; \
5584 r=`${PWD_COMMAND}`; export r; \
5585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5586 $(HOST_EXPORTS) \
5587 for flag in $(EXTRA_HOST_FLAGS) ; do \
5588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5589 done; \
5590 echo "Doing install-info in binutils"; \
5591 (cd $(HOST_SUBDIR)/binutils && \
5592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5594 "RANLIB=$${RANLIB}" \
5595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5596 install-info) \
5597 || exit 1
5599 @endif binutils
5601 .PHONY: maybe-install-pdf-binutils install-pdf-binutils
5602 maybe-install-pdf-binutils:
5603 @if binutils
5604 maybe-install-pdf-binutils: install-pdf-binutils
5606 install-pdf-binutils: \
5607 configure-binutils \
5608 pdf-binutils
5609 @[ -f ./binutils/Makefile ] || exit 0; \
5610 r=`${PWD_COMMAND}`; export r; \
5611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5612 $(HOST_EXPORTS) \
5613 for flag in $(EXTRA_HOST_FLAGS) ; do \
5614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5615 done; \
5616 echo "Doing install-pdf in binutils"; \
5617 (cd $(HOST_SUBDIR)/binutils && \
5618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5620 "RANLIB=$${RANLIB}" \
5621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5622 install-pdf) \
5623 || exit 1
5625 @endif binutils
5627 .PHONY: maybe-install-html-binutils install-html-binutils
5628 maybe-install-html-binutils:
5629 @if binutils
5630 maybe-install-html-binutils: install-html-binutils
5632 install-html-binutils: \
5633 configure-binutils \
5634 html-binutils
5635 @[ -f ./binutils/Makefile ] || exit 0; \
5636 r=`${PWD_COMMAND}`; export r; \
5637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5638 $(HOST_EXPORTS) \
5639 for flag in $(EXTRA_HOST_FLAGS) ; do \
5640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5641 done; \
5642 echo "Doing install-html in binutils"; \
5643 (cd $(HOST_SUBDIR)/binutils && \
5644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5646 "RANLIB=$${RANLIB}" \
5647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5648 install-html) \
5649 || exit 1
5651 @endif binutils
5653 .PHONY: maybe-installcheck-binutils installcheck-binutils
5654 maybe-installcheck-binutils:
5655 @if binutils
5656 maybe-installcheck-binutils: installcheck-binutils
5658 installcheck-binutils: \
5659 configure-binutils
5660 @[ -f ./binutils/Makefile ] || exit 0; \
5661 r=`${PWD_COMMAND}`; export r; \
5662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5663 $(HOST_EXPORTS) \
5664 for flag in $(EXTRA_HOST_FLAGS) ; do \
5665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5666 done; \
5667 echo "Doing installcheck in binutils"; \
5668 (cd $(HOST_SUBDIR)/binutils && \
5669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5671 "RANLIB=$${RANLIB}" \
5672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5673 installcheck) \
5674 || exit 1
5676 @endif binutils
5678 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
5679 maybe-mostlyclean-binutils:
5680 @if binutils
5681 maybe-mostlyclean-binutils: mostlyclean-binutils
5683 mostlyclean-binutils:
5684 @[ -f ./binutils/Makefile ] || exit 0; \
5685 r=`${PWD_COMMAND}`; export r; \
5686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5687 $(HOST_EXPORTS) \
5688 for flag in $(EXTRA_HOST_FLAGS) ; do \
5689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5690 done; \
5691 echo "Doing mostlyclean in binutils"; \
5692 (cd $(HOST_SUBDIR)/binutils && \
5693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5695 "RANLIB=$${RANLIB}" \
5696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5697 mostlyclean) \
5698 || exit 1
5700 @endif binutils
5702 .PHONY: maybe-clean-binutils clean-binutils
5703 maybe-clean-binutils:
5704 @if binutils
5705 maybe-clean-binutils: clean-binutils
5707 clean-binutils:
5708 @[ -f ./binutils/Makefile ] || exit 0; \
5709 r=`${PWD_COMMAND}`; export r; \
5710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5711 $(HOST_EXPORTS) \
5712 for flag in $(EXTRA_HOST_FLAGS) ; do \
5713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5714 done; \
5715 echo "Doing clean in binutils"; \
5716 (cd $(HOST_SUBDIR)/binutils && \
5717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5719 "RANLIB=$${RANLIB}" \
5720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5721 clean) \
5722 || exit 1
5724 @endif binutils
5726 .PHONY: maybe-distclean-binutils distclean-binutils
5727 maybe-distclean-binutils:
5728 @if binutils
5729 maybe-distclean-binutils: distclean-binutils
5731 distclean-binutils:
5732 @[ -f ./binutils/Makefile ] || exit 0; \
5733 r=`${PWD_COMMAND}`; export r; \
5734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5735 $(HOST_EXPORTS) \
5736 for flag in $(EXTRA_HOST_FLAGS) ; do \
5737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5738 done; \
5739 echo "Doing distclean in binutils"; \
5740 (cd $(HOST_SUBDIR)/binutils && \
5741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5743 "RANLIB=$${RANLIB}" \
5744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5745 distclean) \
5746 || exit 1
5748 @endif binutils
5750 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
5751 maybe-maintainer-clean-binutils:
5752 @if binutils
5753 maybe-maintainer-clean-binutils: maintainer-clean-binutils
5755 maintainer-clean-binutils:
5756 @[ -f ./binutils/Makefile ] || exit 0; \
5757 r=`${PWD_COMMAND}`; export r; \
5758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5759 $(HOST_EXPORTS) \
5760 for flag in $(EXTRA_HOST_FLAGS) ; do \
5761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5762 done; \
5763 echo "Doing maintainer-clean in binutils"; \
5764 (cd $(HOST_SUBDIR)/binutils && \
5765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5767 "RANLIB=$${RANLIB}" \
5768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5769 maintainer-clean) \
5770 || exit 1
5772 @endif binutils
5776 .PHONY: configure-bison maybe-configure-bison
5777 maybe-configure-bison:
5778 @if gcc-bootstrap
5779 configure-bison: stage_current
5780 @endif gcc-bootstrap
5781 @if bison
5782 maybe-configure-bison: configure-bison
5783 configure-bison:
5784 @: $(MAKE); $(unstage)
5785 @r=`${PWD_COMMAND}`; export r; \
5786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5787 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
5788 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison; \
5789 $(HOST_EXPORTS) \
5790 echo Configuring in $(HOST_SUBDIR)/bison; \
5791 cd "$(HOST_SUBDIR)/bison" || exit 1; \
5792 case $(srcdir) in \
5793 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5794 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
5795 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5796 esac; \
5797 module_srcdir=bison; \
5798 $(SHELL) \
5799 $$s/$$module_srcdir/configure \
5800 --srcdir=$${topdir}/$$module_srcdir \
5801 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5802 --target=${target_alias} \
5803 || exit 1
5804 @endif bison
5810 .PHONY: all-bison maybe-all-bison
5811 maybe-all-bison:
5812 @if gcc-bootstrap
5813 all-bison: stage_current
5814 @endif gcc-bootstrap
5815 @if bison
5816 TARGET-bison=all
5817 maybe-all-bison: all-bison
5818 all-bison: configure-bison
5819 @: $(MAKE); $(unstage)
5820 @r=`${PWD_COMMAND}`; export r; \
5821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5822 $(HOST_EXPORTS) \
5823 (cd $(HOST_SUBDIR)/bison && \
5824 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
5825 $(TARGET-bison))
5826 @endif bison
5831 .PHONY: check-bison maybe-check-bison
5832 maybe-check-bison:
5833 @if bison
5834 maybe-check-bison: check-bison
5836 # This module is only tested in a native toolchain.
5837 check-bison:
5838 @: $(MAKE); $(unstage)
5839 @if [ '$(host)' = '$(target)' ]; then \
5840 r=`${PWD_COMMAND}`; export r; \
5841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5842 $(HOST_EXPORTS) \
5843 (cd $(HOST_SUBDIR)/bison && \
5844 $(MAKE) $(FLAGS_TO_PASS) check)
5847 @endif bison
5849 .PHONY: install-bison maybe-install-bison
5850 maybe-install-bison:
5851 @if bison
5852 maybe-install-bison: install-bison
5854 install-bison: installdirs
5855 @: $(MAKE); $(unstage)
5856 @r=`${PWD_COMMAND}`; export r; \
5857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5858 $(HOST_EXPORTS) \
5859 (cd $(HOST_SUBDIR)/bison && \
5860 $(MAKE) $(FLAGS_TO_PASS) install)
5862 @endif bison
5864 .PHONY: install-strip-bison maybe-install-strip-bison
5865 maybe-install-strip-bison:
5866 @if bison
5867 maybe-install-strip-bison: install-strip-bison
5869 install-strip-bison: installdirs
5870 @: $(MAKE); $(unstage)
5871 @r=`${PWD_COMMAND}`; export r; \
5872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5873 $(HOST_EXPORTS) \
5874 (cd $(HOST_SUBDIR)/bison && \
5875 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5877 @endif bison
5879 # Other targets (info, dvi, pdf, etc.)
5881 .PHONY: maybe-info-bison info-bison
5882 maybe-info-bison:
5883 @if bison
5884 maybe-info-bison: info-bison
5886 info-bison: \
5887 configure-bison
5888 @: $(MAKE); $(unstage)
5889 @[ -f ./bison/Makefile ] || exit 0; \
5890 r=`${PWD_COMMAND}`; export r; \
5891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5892 $(HOST_EXPORTS) \
5893 for flag in $(EXTRA_HOST_FLAGS) ; do \
5894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5895 done; \
5896 echo "Doing info in bison"; \
5897 (cd $(HOST_SUBDIR)/bison && \
5898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5900 "RANLIB=$${RANLIB}" \
5901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5902 info) \
5903 || exit 1
5905 @endif bison
5907 .PHONY: maybe-dvi-bison dvi-bison
5908 maybe-dvi-bison:
5909 @if bison
5910 maybe-dvi-bison: dvi-bison
5912 dvi-bison: \
5913 configure-bison
5914 @: $(MAKE); $(unstage)
5915 @[ -f ./bison/Makefile ] || exit 0; \
5916 r=`${PWD_COMMAND}`; export r; \
5917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5918 $(HOST_EXPORTS) \
5919 for flag in $(EXTRA_HOST_FLAGS) ; do \
5920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5921 done; \
5922 echo "Doing dvi in bison"; \
5923 (cd $(HOST_SUBDIR)/bison && \
5924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5926 "RANLIB=$${RANLIB}" \
5927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5928 dvi) \
5929 || exit 1
5931 @endif bison
5933 .PHONY: maybe-pdf-bison pdf-bison
5934 maybe-pdf-bison:
5935 @if bison
5936 maybe-pdf-bison: pdf-bison
5938 pdf-bison: \
5939 configure-bison
5940 @: $(MAKE); $(unstage)
5941 @[ -f ./bison/Makefile ] || exit 0; \
5942 r=`${PWD_COMMAND}`; export r; \
5943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5944 $(HOST_EXPORTS) \
5945 for flag in $(EXTRA_HOST_FLAGS) ; do \
5946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5947 done; \
5948 echo "Doing pdf in bison"; \
5949 (cd $(HOST_SUBDIR)/bison && \
5950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5952 "RANLIB=$${RANLIB}" \
5953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5954 pdf) \
5955 || exit 1
5957 @endif bison
5959 .PHONY: maybe-html-bison html-bison
5960 maybe-html-bison:
5961 @if bison
5962 maybe-html-bison: html-bison
5964 html-bison: \
5965 configure-bison
5966 @: $(MAKE); $(unstage)
5967 @[ -f ./bison/Makefile ] || exit 0; \
5968 r=`${PWD_COMMAND}`; export r; \
5969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5970 $(HOST_EXPORTS) \
5971 for flag in $(EXTRA_HOST_FLAGS) ; do \
5972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5973 done; \
5974 echo "Doing html in bison"; \
5975 (cd $(HOST_SUBDIR)/bison && \
5976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5978 "RANLIB=$${RANLIB}" \
5979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5980 html) \
5981 || exit 1
5983 @endif bison
5985 .PHONY: maybe-TAGS-bison TAGS-bison
5986 maybe-TAGS-bison:
5987 @if bison
5988 maybe-TAGS-bison: TAGS-bison
5990 TAGS-bison: \
5991 configure-bison
5992 @: $(MAKE); $(unstage)
5993 @[ -f ./bison/Makefile ] || exit 0; \
5994 r=`${PWD_COMMAND}`; export r; \
5995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5996 $(HOST_EXPORTS) \
5997 for flag in $(EXTRA_HOST_FLAGS) ; do \
5998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5999 done; \
6000 echo "Doing TAGS in bison"; \
6001 (cd $(HOST_SUBDIR)/bison && \
6002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6004 "RANLIB=$${RANLIB}" \
6005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6006 TAGS) \
6007 || exit 1
6009 @endif bison
6011 .PHONY: maybe-install-info-bison install-info-bison
6012 maybe-install-info-bison:
6013 @if bison
6014 maybe-install-info-bison: install-info-bison
6016 install-info-bison: \
6017 configure-bison \
6018 info-bison
6019 @: $(MAKE); $(unstage)
6020 @[ -f ./bison/Makefile ] || exit 0; \
6021 r=`${PWD_COMMAND}`; export r; \
6022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6023 $(HOST_EXPORTS) \
6024 for flag in $(EXTRA_HOST_FLAGS) ; do \
6025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6026 done; \
6027 echo "Doing install-info in bison"; \
6028 (cd $(HOST_SUBDIR)/bison && \
6029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6031 "RANLIB=$${RANLIB}" \
6032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6033 install-info) \
6034 || exit 1
6036 @endif bison
6038 .PHONY: maybe-install-pdf-bison install-pdf-bison
6039 maybe-install-pdf-bison:
6040 @if bison
6041 maybe-install-pdf-bison: install-pdf-bison
6043 install-pdf-bison: \
6044 configure-bison \
6045 pdf-bison
6046 @: $(MAKE); $(unstage)
6047 @[ -f ./bison/Makefile ] || exit 0; \
6048 r=`${PWD_COMMAND}`; export r; \
6049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6050 $(HOST_EXPORTS) \
6051 for flag in $(EXTRA_HOST_FLAGS) ; do \
6052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6053 done; \
6054 echo "Doing install-pdf in bison"; \
6055 (cd $(HOST_SUBDIR)/bison && \
6056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6058 "RANLIB=$${RANLIB}" \
6059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6060 install-pdf) \
6061 || exit 1
6063 @endif bison
6065 .PHONY: maybe-install-html-bison install-html-bison
6066 maybe-install-html-bison:
6067 @if bison
6068 maybe-install-html-bison: install-html-bison
6070 install-html-bison: \
6071 configure-bison \
6072 html-bison
6073 @: $(MAKE); $(unstage)
6074 @[ -f ./bison/Makefile ] || exit 0; \
6075 r=`${PWD_COMMAND}`; export r; \
6076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6077 $(HOST_EXPORTS) \
6078 for flag in $(EXTRA_HOST_FLAGS) ; do \
6079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6080 done; \
6081 echo "Doing install-html in bison"; \
6082 (cd $(HOST_SUBDIR)/bison && \
6083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6085 "RANLIB=$${RANLIB}" \
6086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6087 install-html) \
6088 || exit 1
6090 @endif bison
6092 .PHONY: maybe-installcheck-bison installcheck-bison
6093 maybe-installcheck-bison:
6094 @if bison
6095 maybe-installcheck-bison: installcheck-bison
6097 installcheck-bison: \
6098 configure-bison
6099 @: $(MAKE); $(unstage)
6100 @[ -f ./bison/Makefile ] || exit 0; \
6101 r=`${PWD_COMMAND}`; export r; \
6102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6103 $(HOST_EXPORTS) \
6104 for flag in $(EXTRA_HOST_FLAGS) ; do \
6105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6106 done; \
6107 echo "Doing installcheck in bison"; \
6108 (cd $(HOST_SUBDIR)/bison && \
6109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6111 "RANLIB=$${RANLIB}" \
6112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6113 installcheck) \
6114 || exit 1
6116 @endif bison
6118 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
6119 maybe-mostlyclean-bison:
6120 @if bison
6121 maybe-mostlyclean-bison: mostlyclean-bison
6123 mostlyclean-bison:
6124 @: $(MAKE); $(unstage)
6125 @[ -f ./bison/Makefile ] || exit 0; \
6126 r=`${PWD_COMMAND}`; export r; \
6127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6128 $(HOST_EXPORTS) \
6129 for flag in $(EXTRA_HOST_FLAGS) ; do \
6130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6131 done; \
6132 echo "Doing mostlyclean in bison"; \
6133 (cd $(HOST_SUBDIR)/bison && \
6134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6136 "RANLIB=$${RANLIB}" \
6137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6138 mostlyclean) \
6139 || exit 1
6141 @endif bison
6143 .PHONY: maybe-clean-bison clean-bison
6144 maybe-clean-bison:
6145 @if bison
6146 maybe-clean-bison: clean-bison
6148 clean-bison:
6149 @: $(MAKE); $(unstage)
6150 @[ -f ./bison/Makefile ] || exit 0; \
6151 r=`${PWD_COMMAND}`; export r; \
6152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6153 $(HOST_EXPORTS) \
6154 for flag in $(EXTRA_HOST_FLAGS) ; do \
6155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6156 done; \
6157 echo "Doing clean in bison"; \
6158 (cd $(HOST_SUBDIR)/bison && \
6159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6161 "RANLIB=$${RANLIB}" \
6162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6163 clean) \
6164 || exit 1
6166 @endif bison
6168 .PHONY: maybe-distclean-bison distclean-bison
6169 maybe-distclean-bison:
6170 @if bison
6171 maybe-distclean-bison: distclean-bison
6173 distclean-bison:
6174 @: $(MAKE); $(unstage)
6175 @[ -f ./bison/Makefile ] || exit 0; \
6176 r=`${PWD_COMMAND}`; export r; \
6177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6178 $(HOST_EXPORTS) \
6179 for flag in $(EXTRA_HOST_FLAGS) ; do \
6180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6181 done; \
6182 echo "Doing distclean in bison"; \
6183 (cd $(HOST_SUBDIR)/bison && \
6184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6186 "RANLIB=$${RANLIB}" \
6187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6188 distclean) \
6189 || exit 1
6191 @endif bison
6193 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
6194 maybe-maintainer-clean-bison:
6195 @if bison
6196 maybe-maintainer-clean-bison: maintainer-clean-bison
6198 maintainer-clean-bison:
6199 @: $(MAKE); $(unstage)
6200 @[ -f ./bison/Makefile ] || exit 0; \
6201 r=`${PWD_COMMAND}`; export r; \
6202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6203 $(HOST_EXPORTS) \
6204 for flag in $(EXTRA_HOST_FLAGS) ; do \
6205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6206 done; \
6207 echo "Doing maintainer-clean in bison"; \
6208 (cd $(HOST_SUBDIR)/bison && \
6209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6211 "RANLIB=$${RANLIB}" \
6212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6213 maintainer-clean) \
6214 || exit 1
6216 @endif bison
6220 .PHONY: configure-cgen maybe-configure-cgen
6221 maybe-configure-cgen:
6222 @if gcc-bootstrap
6223 configure-cgen: stage_current
6224 @endif gcc-bootstrap
6225 @if cgen
6226 maybe-configure-cgen: configure-cgen
6227 configure-cgen:
6228 @: $(MAKE); $(unstage)
6229 @r=`${PWD_COMMAND}`; export r; \
6230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6231 test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \
6232 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen; \
6233 $(HOST_EXPORTS) \
6234 echo Configuring in $(HOST_SUBDIR)/cgen; \
6235 cd "$(HOST_SUBDIR)/cgen" || exit 1; \
6236 case $(srcdir) in \
6237 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6238 *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \
6239 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6240 esac; \
6241 module_srcdir=cgen; \
6242 $(SHELL) \
6243 $$s/$$module_srcdir/configure \
6244 --srcdir=$${topdir}/$$module_srcdir \
6245 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6246 --target=${target_alias} \
6247 || exit 1
6248 @endif cgen
6254 .PHONY: all-cgen maybe-all-cgen
6255 maybe-all-cgen:
6256 @if gcc-bootstrap
6257 all-cgen: stage_current
6258 @endif gcc-bootstrap
6259 @if cgen
6260 TARGET-cgen=all
6261 maybe-all-cgen: all-cgen
6262 all-cgen: configure-cgen
6263 @: $(MAKE); $(unstage)
6264 @r=`${PWD_COMMAND}`; export r; \
6265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6266 $(HOST_EXPORTS) \
6267 (cd $(HOST_SUBDIR)/cgen && \
6268 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6269 $(TARGET-cgen))
6270 @endif cgen
6275 .PHONY: check-cgen maybe-check-cgen
6276 maybe-check-cgen:
6277 @if cgen
6278 maybe-check-cgen: check-cgen
6280 check-cgen:
6281 @: $(MAKE); $(unstage)
6282 @r=`${PWD_COMMAND}`; export r; \
6283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6284 $(HOST_EXPORTS) \
6285 (cd $(HOST_SUBDIR)/cgen && \
6286 $(MAKE) $(FLAGS_TO_PASS) check)
6288 @endif cgen
6290 .PHONY: install-cgen maybe-install-cgen
6291 maybe-install-cgen:
6292 @if cgen
6293 maybe-install-cgen: install-cgen
6295 install-cgen: installdirs
6296 @: $(MAKE); $(unstage)
6297 @r=`${PWD_COMMAND}`; export r; \
6298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6299 $(HOST_EXPORTS) \
6300 (cd $(HOST_SUBDIR)/cgen && \
6301 $(MAKE) $(FLAGS_TO_PASS) install)
6303 @endif cgen
6305 .PHONY: install-strip-cgen maybe-install-strip-cgen
6306 maybe-install-strip-cgen:
6307 @if cgen
6308 maybe-install-strip-cgen: install-strip-cgen
6310 install-strip-cgen: installdirs
6311 @: $(MAKE); $(unstage)
6312 @r=`${PWD_COMMAND}`; export r; \
6313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6314 $(HOST_EXPORTS) \
6315 (cd $(HOST_SUBDIR)/cgen && \
6316 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6318 @endif cgen
6320 # Other targets (info, dvi, pdf, etc.)
6322 .PHONY: maybe-info-cgen info-cgen
6323 maybe-info-cgen:
6324 @if cgen
6325 maybe-info-cgen: info-cgen
6327 info-cgen: \
6328 configure-cgen
6329 @: $(MAKE); $(unstage)
6330 @[ -f ./cgen/Makefile ] || exit 0; \
6331 r=`${PWD_COMMAND}`; export r; \
6332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6333 $(HOST_EXPORTS) \
6334 for flag in $(EXTRA_HOST_FLAGS) ; do \
6335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6336 done; \
6337 echo "Doing info in cgen"; \
6338 (cd $(HOST_SUBDIR)/cgen && \
6339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6341 "RANLIB=$${RANLIB}" \
6342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6343 info) \
6344 || exit 1
6346 @endif cgen
6348 .PHONY: maybe-dvi-cgen dvi-cgen
6349 maybe-dvi-cgen:
6350 @if cgen
6351 maybe-dvi-cgen: dvi-cgen
6353 dvi-cgen: \
6354 configure-cgen
6355 @: $(MAKE); $(unstage)
6356 @[ -f ./cgen/Makefile ] || exit 0; \
6357 r=`${PWD_COMMAND}`; export r; \
6358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6359 $(HOST_EXPORTS) \
6360 for flag in $(EXTRA_HOST_FLAGS) ; do \
6361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6362 done; \
6363 echo "Doing dvi in cgen"; \
6364 (cd $(HOST_SUBDIR)/cgen && \
6365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6367 "RANLIB=$${RANLIB}" \
6368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6369 dvi) \
6370 || exit 1
6372 @endif cgen
6374 .PHONY: maybe-pdf-cgen pdf-cgen
6375 maybe-pdf-cgen:
6376 @if cgen
6377 maybe-pdf-cgen: pdf-cgen
6379 pdf-cgen: \
6380 configure-cgen
6381 @: $(MAKE); $(unstage)
6382 @[ -f ./cgen/Makefile ] || exit 0; \
6383 r=`${PWD_COMMAND}`; export r; \
6384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6385 $(HOST_EXPORTS) \
6386 for flag in $(EXTRA_HOST_FLAGS) ; do \
6387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6388 done; \
6389 echo "Doing pdf in cgen"; \
6390 (cd $(HOST_SUBDIR)/cgen && \
6391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6393 "RANLIB=$${RANLIB}" \
6394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6395 pdf) \
6396 || exit 1
6398 @endif cgen
6400 .PHONY: maybe-html-cgen html-cgen
6401 maybe-html-cgen:
6402 @if cgen
6403 maybe-html-cgen: html-cgen
6405 html-cgen: \
6406 configure-cgen
6407 @: $(MAKE); $(unstage)
6408 @[ -f ./cgen/Makefile ] || exit 0; \
6409 r=`${PWD_COMMAND}`; export r; \
6410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6411 $(HOST_EXPORTS) \
6412 for flag in $(EXTRA_HOST_FLAGS) ; do \
6413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6414 done; \
6415 echo "Doing html in cgen"; \
6416 (cd $(HOST_SUBDIR)/cgen && \
6417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6419 "RANLIB=$${RANLIB}" \
6420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6421 html) \
6422 || exit 1
6424 @endif cgen
6426 .PHONY: maybe-TAGS-cgen TAGS-cgen
6427 maybe-TAGS-cgen:
6428 @if cgen
6429 maybe-TAGS-cgen: TAGS-cgen
6431 TAGS-cgen: \
6432 configure-cgen
6433 @: $(MAKE); $(unstage)
6434 @[ -f ./cgen/Makefile ] || exit 0; \
6435 r=`${PWD_COMMAND}`; export r; \
6436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6437 $(HOST_EXPORTS) \
6438 for flag in $(EXTRA_HOST_FLAGS) ; do \
6439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6440 done; \
6441 echo "Doing TAGS in cgen"; \
6442 (cd $(HOST_SUBDIR)/cgen && \
6443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6445 "RANLIB=$${RANLIB}" \
6446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6447 TAGS) \
6448 || exit 1
6450 @endif cgen
6452 .PHONY: maybe-install-info-cgen install-info-cgen
6453 maybe-install-info-cgen:
6454 @if cgen
6455 maybe-install-info-cgen: install-info-cgen
6457 install-info-cgen: \
6458 configure-cgen \
6459 info-cgen
6460 @: $(MAKE); $(unstage)
6461 @[ -f ./cgen/Makefile ] || exit 0; \
6462 r=`${PWD_COMMAND}`; export r; \
6463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6464 $(HOST_EXPORTS) \
6465 for flag in $(EXTRA_HOST_FLAGS) ; do \
6466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6467 done; \
6468 echo "Doing install-info in cgen"; \
6469 (cd $(HOST_SUBDIR)/cgen && \
6470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6472 "RANLIB=$${RANLIB}" \
6473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6474 install-info) \
6475 || exit 1
6477 @endif cgen
6479 .PHONY: maybe-install-pdf-cgen install-pdf-cgen
6480 maybe-install-pdf-cgen:
6481 @if cgen
6482 maybe-install-pdf-cgen: install-pdf-cgen
6484 install-pdf-cgen: \
6485 configure-cgen \
6486 pdf-cgen
6487 @: $(MAKE); $(unstage)
6488 @[ -f ./cgen/Makefile ] || exit 0; \
6489 r=`${PWD_COMMAND}`; export r; \
6490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6491 $(HOST_EXPORTS) \
6492 for flag in $(EXTRA_HOST_FLAGS) ; do \
6493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6494 done; \
6495 echo "Doing install-pdf in cgen"; \
6496 (cd $(HOST_SUBDIR)/cgen && \
6497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6499 "RANLIB=$${RANLIB}" \
6500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6501 install-pdf) \
6502 || exit 1
6504 @endif cgen
6506 .PHONY: maybe-install-html-cgen install-html-cgen
6507 maybe-install-html-cgen:
6508 @if cgen
6509 maybe-install-html-cgen: install-html-cgen
6511 install-html-cgen: \
6512 configure-cgen \
6513 html-cgen
6514 @: $(MAKE); $(unstage)
6515 @[ -f ./cgen/Makefile ] || exit 0; \
6516 r=`${PWD_COMMAND}`; export r; \
6517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6518 $(HOST_EXPORTS) \
6519 for flag in $(EXTRA_HOST_FLAGS) ; do \
6520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6521 done; \
6522 echo "Doing install-html in cgen"; \
6523 (cd $(HOST_SUBDIR)/cgen && \
6524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6526 "RANLIB=$${RANLIB}" \
6527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6528 install-html) \
6529 || exit 1
6531 @endif cgen
6533 .PHONY: maybe-installcheck-cgen installcheck-cgen
6534 maybe-installcheck-cgen:
6535 @if cgen
6536 maybe-installcheck-cgen: installcheck-cgen
6538 installcheck-cgen: \
6539 configure-cgen
6540 @: $(MAKE); $(unstage)
6541 @[ -f ./cgen/Makefile ] || exit 0; \
6542 r=`${PWD_COMMAND}`; export r; \
6543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6544 $(HOST_EXPORTS) \
6545 for flag in $(EXTRA_HOST_FLAGS) ; do \
6546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6547 done; \
6548 echo "Doing installcheck in cgen"; \
6549 (cd $(HOST_SUBDIR)/cgen && \
6550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6552 "RANLIB=$${RANLIB}" \
6553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6554 installcheck) \
6555 || exit 1
6557 @endif cgen
6559 .PHONY: maybe-mostlyclean-cgen mostlyclean-cgen
6560 maybe-mostlyclean-cgen:
6561 @if cgen
6562 maybe-mostlyclean-cgen: mostlyclean-cgen
6564 mostlyclean-cgen:
6565 @: $(MAKE); $(unstage)
6566 @[ -f ./cgen/Makefile ] || exit 0; \
6567 r=`${PWD_COMMAND}`; export r; \
6568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6569 $(HOST_EXPORTS) \
6570 for flag in $(EXTRA_HOST_FLAGS) ; do \
6571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6572 done; \
6573 echo "Doing mostlyclean in cgen"; \
6574 (cd $(HOST_SUBDIR)/cgen && \
6575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6577 "RANLIB=$${RANLIB}" \
6578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6579 mostlyclean) \
6580 || exit 1
6582 @endif cgen
6584 .PHONY: maybe-clean-cgen clean-cgen
6585 maybe-clean-cgen:
6586 @if cgen
6587 maybe-clean-cgen: clean-cgen
6589 clean-cgen:
6590 @: $(MAKE); $(unstage)
6591 @[ -f ./cgen/Makefile ] || exit 0; \
6592 r=`${PWD_COMMAND}`; export r; \
6593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6594 $(HOST_EXPORTS) \
6595 for flag in $(EXTRA_HOST_FLAGS) ; do \
6596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6597 done; \
6598 echo "Doing clean in cgen"; \
6599 (cd $(HOST_SUBDIR)/cgen && \
6600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6602 "RANLIB=$${RANLIB}" \
6603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6604 clean) \
6605 || exit 1
6607 @endif cgen
6609 .PHONY: maybe-distclean-cgen distclean-cgen
6610 maybe-distclean-cgen:
6611 @if cgen
6612 maybe-distclean-cgen: distclean-cgen
6614 distclean-cgen:
6615 @: $(MAKE); $(unstage)
6616 @[ -f ./cgen/Makefile ] || exit 0; \
6617 r=`${PWD_COMMAND}`; export r; \
6618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6619 $(HOST_EXPORTS) \
6620 for flag in $(EXTRA_HOST_FLAGS) ; do \
6621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6622 done; \
6623 echo "Doing distclean in cgen"; \
6624 (cd $(HOST_SUBDIR)/cgen && \
6625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6627 "RANLIB=$${RANLIB}" \
6628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6629 distclean) \
6630 || exit 1
6632 @endif cgen
6634 .PHONY: maybe-maintainer-clean-cgen maintainer-clean-cgen
6635 maybe-maintainer-clean-cgen:
6636 @if cgen
6637 maybe-maintainer-clean-cgen: maintainer-clean-cgen
6639 maintainer-clean-cgen:
6640 @: $(MAKE); $(unstage)
6641 @[ -f ./cgen/Makefile ] || exit 0; \
6642 r=`${PWD_COMMAND}`; export r; \
6643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6644 $(HOST_EXPORTS) \
6645 for flag in $(EXTRA_HOST_FLAGS) ; do \
6646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6647 done; \
6648 echo "Doing maintainer-clean in cgen"; \
6649 (cd $(HOST_SUBDIR)/cgen && \
6650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6652 "RANLIB=$${RANLIB}" \
6653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6654 maintainer-clean) \
6655 || exit 1
6657 @endif cgen
6661 .PHONY: configure-dejagnu maybe-configure-dejagnu
6662 maybe-configure-dejagnu:
6663 @if gcc-bootstrap
6664 configure-dejagnu: stage_current
6665 @endif gcc-bootstrap
6666 @if dejagnu
6667 maybe-configure-dejagnu: configure-dejagnu
6668 configure-dejagnu:
6669 @: $(MAKE); $(unstage)
6670 @r=`${PWD_COMMAND}`; export r; \
6671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6672 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
6673 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu; \
6674 $(HOST_EXPORTS) \
6675 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
6676 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
6677 case $(srcdir) in \
6678 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6679 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
6680 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6681 esac; \
6682 module_srcdir=dejagnu; \
6683 $(SHELL) \
6684 $$s/$$module_srcdir/configure \
6685 --srcdir=$${topdir}/$$module_srcdir \
6686 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6687 --target=${target_alias} \
6688 || exit 1
6689 @endif dejagnu
6695 .PHONY: all-dejagnu maybe-all-dejagnu
6696 maybe-all-dejagnu:
6697 @if gcc-bootstrap
6698 all-dejagnu: stage_current
6699 @endif gcc-bootstrap
6700 @if dejagnu
6701 TARGET-dejagnu=all
6702 maybe-all-dejagnu: all-dejagnu
6703 all-dejagnu: configure-dejagnu
6704 @: $(MAKE); $(unstage)
6705 @r=`${PWD_COMMAND}`; export r; \
6706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6707 $(HOST_EXPORTS) \
6708 (cd $(HOST_SUBDIR)/dejagnu && \
6709 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6710 $(TARGET-dejagnu))
6711 @endif dejagnu
6716 .PHONY: check-dejagnu maybe-check-dejagnu
6717 maybe-check-dejagnu:
6718 @if dejagnu
6719 maybe-check-dejagnu: check-dejagnu
6721 check-dejagnu:
6722 @: $(MAKE); $(unstage)
6723 @r=`${PWD_COMMAND}`; export r; \
6724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6725 $(HOST_EXPORTS) \
6726 (cd $(HOST_SUBDIR)/dejagnu && \
6727 $(MAKE) $(FLAGS_TO_PASS) check)
6729 @endif dejagnu
6731 .PHONY: install-dejagnu maybe-install-dejagnu
6732 maybe-install-dejagnu:
6733 @if dejagnu
6734 maybe-install-dejagnu: install-dejagnu
6736 install-dejagnu: installdirs
6737 @: $(MAKE); $(unstage)
6738 @r=`${PWD_COMMAND}`; export r; \
6739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6740 $(HOST_EXPORTS) \
6741 (cd $(HOST_SUBDIR)/dejagnu && \
6742 $(MAKE) $(FLAGS_TO_PASS) install)
6744 @endif dejagnu
6746 .PHONY: install-strip-dejagnu maybe-install-strip-dejagnu
6747 maybe-install-strip-dejagnu:
6748 @if dejagnu
6749 maybe-install-strip-dejagnu: install-strip-dejagnu
6751 install-strip-dejagnu: installdirs
6752 @: $(MAKE); $(unstage)
6753 @r=`${PWD_COMMAND}`; export r; \
6754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6755 $(HOST_EXPORTS) \
6756 (cd $(HOST_SUBDIR)/dejagnu && \
6757 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6759 @endif dejagnu
6761 # Other targets (info, dvi, pdf, etc.)
6763 .PHONY: maybe-info-dejagnu info-dejagnu
6764 maybe-info-dejagnu:
6765 @if dejagnu
6766 maybe-info-dejagnu: info-dejagnu
6768 info-dejagnu: \
6769 configure-dejagnu
6770 @: $(MAKE); $(unstage)
6771 @[ -f ./dejagnu/Makefile ] || exit 0; \
6772 r=`${PWD_COMMAND}`; export r; \
6773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6774 $(HOST_EXPORTS) \
6775 for flag in $(EXTRA_HOST_FLAGS) ; do \
6776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6777 done; \
6778 echo "Doing info in dejagnu"; \
6779 (cd $(HOST_SUBDIR)/dejagnu && \
6780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6782 "RANLIB=$${RANLIB}" \
6783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6784 info) \
6785 || exit 1
6787 @endif dejagnu
6789 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
6790 maybe-dvi-dejagnu:
6791 @if dejagnu
6792 maybe-dvi-dejagnu: dvi-dejagnu
6794 dvi-dejagnu: \
6795 configure-dejagnu
6796 @: $(MAKE); $(unstage)
6797 @[ -f ./dejagnu/Makefile ] || exit 0; \
6798 r=`${PWD_COMMAND}`; export r; \
6799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6800 $(HOST_EXPORTS) \
6801 for flag in $(EXTRA_HOST_FLAGS) ; do \
6802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6803 done; \
6804 echo "Doing dvi in dejagnu"; \
6805 (cd $(HOST_SUBDIR)/dejagnu && \
6806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6808 "RANLIB=$${RANLIB}" \
6809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6810 dvi) \
6811 || exit 1
6813 @endif dejagnu
6815 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
6816 maybe-pdf-dejagnu:
6817 @if dejagnu
6818 maybe-pdf-dejagnu: pdf-dejagnu
6820 pdf-dejagnu: \
6821 configure-dejagnu
6822 @: $(MAKE); $(unstage)
6823 @[ -f ./dejagnu/Makefile ] || exit 0; \
6824 r=`${PWD_COMMAND}`; export r; \
6825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6826 $(HOST_EXPORTS) \
6827 for flag in $(EXTRA_HOST_FLAGS) ; do \
6828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6829 done; \
6830 echo "Doing pdf in dejagnu"; \
6831 (cd $(HOST_SUBDIR)/dejagnu && \
6832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6834 "RANLIB=$${RANLIB}" \
6835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6836 pdf) \
6837 || exit 1
6839 @endif dejagnu
6841 .PHONY: maybe-html-dejagnu html-dejagnu
6842 maybe-html-dejagnu:
6843 @if dejagnu
6844 maybe-html-dejagnu: html-dejagnu
6846 html-dejagnu: \
6847 configure-dejagnu
6848 @: $(MAKE); $(unstage)
6849 @[ -f ./dejagnu/Makefile ] || exit 0; \
6850 r=`${PWD_COMMAND}`; export r; \
6851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6852 $(HOST_EXPORTS) \
6853 for flag in $(EXTRA_HOST_FLAGS) ; do \
6854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6855 done; \
6856 echo "Doing html in dejagnu"; \
6857 (cd $(HOST_SUBDIR)/dejagnu && \
6858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6860 "RANLIB=$${RANLIB}" \
6861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6862 html) \
6863 || exit 1
6865 @endif dejagnu
6867 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
6868 maybe-TAGS-dejagnu:
6869 @if dejagnu
6870 maybe-TAGS-dejagnu: TAGS-dejagnu
6872 TAGS-dejagnu: \
6873 configure-dejagnu
6874 @: $(MAKE); $(unstage)
6875 @[ -f ./dejagnu/Makefile ] || exit 0; \
6876 r=`${PWD_COMMAND}`; export r; \
6877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6878 $(HOST_EXPORTS) \
6879 for flag in $(EXTRA_HOST_FLAGS) ; do \
6880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6881 done; \
6882 echo "Doing TAGS in dejagnu"; \
6883 (cd $(HOST_SUBDIR)/dejagnu && \
6884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6886 "RANLIB=$${RANLIB}" \
6887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6888 TAGS) \
6889 || exit 1
6891 @endif dejagnu
6893 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
6894 maybe-install-info-dejagnu:
6895 @if dejagnu
6896 maybe-install-info-dejagnu: install-info-dejagnu
6898 install-info-dejagnu: \
6899 configure-dejagnu \
6900 info-dejagnu
6901 @: $(MAKE); $(unstage)
6902 @[ -f ./dejagnu/Makefile ] || exit 0; \
6903 r=`${PWD_COMMAND}`; export r; \
6904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6905 $(HOST_EXPORTS) \
6906 for flag in $(EXTRA_HOST_FLAGS) ; do \
6907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6908 done; \
6909 echo "Doing install-info in dejagnu"; \
6910 (cd $(HOST_SUBDIR)/dejagnu && \
6911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6913 "RANLIB=$${RANLIB}" \
6914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6915 install-info) \
6916 || exit 1
6918 @endif dejagnu
6920 .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu
6921 maybe-install-pdf-dejagnu:
6922 @if dejagnu
6923 maybe-install-pdf-dejagnu: install-pdf-dejagnu
6925 install-pdf-dejagnu: \
6926 configure-dejagnu \
6927 pdf-dejagnu
6928 @: $(MAKE); $(unstage)
6929 @[ -f ./dejagnu/Makefile ] || exit 0; \
6930 r=`${PWD_COMMAND}`; export r; \
6931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6932 $(HOST_EXPORTS) \
6933 for flag in $(EXTRA_HOST_FLAGS) ; do \
6934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6935 done; \
6936 echo "Doing install-pdf in dejagnu"; \
6937 (cd $(HOST_SUBDIR)/dejagnu && \
6938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6940 "RANLIB=$${RANLIB}" \
6941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6942 install-pdf) \
6943 || exit 1
6945 @endif dejagnu
6947 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
6948 maybe-install-html-dejagnu:
6949 @if dejagnu
6950 maybe-install-html-dejagnu: install-html-dejagnu
6952 install-html-dejagnu: \
6953 configure-dejagnu \
6954 html-dejagnu
6955 @: $(MAKE); $(unstage)
6956 @[ -f ./dejagnu/Makefile ] || exit 0; \
6957 r=`${PWD_COMMAND}`; export r; \
6958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6959 $(HOST_EXPORTS) \
6960 for flag in $(EXTRA_HOST_FLAGS) ; do \
6961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6962 done; \
6963 echo "Doing install-html in dejagnu"; \
6964 (cd $(HOST_SUBDIR)/dejagnu && \
6965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6967 "RANLIB=$${RANLIB}" \
6968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6969 install-html) \
6970 || exit 1
6972 @endif dejagnu
6974 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
6975 maybe-installcheck-dejagnu:
6976 @if dejagnu
6977 maybe-installcheck-dejagnu: installcheck-dejagnu
6979 installcheck-dejagnu: \
6980 configure-dejagnu
6981 @: $(MAKE); $(unstage)
6982 @[ -f ./dejagnu/Makefile ] || exit 0; \
6983 r=`${PWD_COMMAND}`; export r; \
6984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6985 $(HOST_EXPORTS) \
6986 for flag in $(EXTRA_HOST_FLAGS) ; do \
6987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6988 done; \
6989 echo "Doing installcheck in dejagnu"; \
6990 (cd $(HOST_SUBDIR)/dejagnu && \
6991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6993 "RANLIB=$${RANLIB}" \
6994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6995 installcheck) \
6996 || exit 1
6998 @endif dejagnu
7000 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
7001 maybe-mostlyclean-dejagnu:
7002 @if dejagnu
7003 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
7005 mostlyclean-dejagnu:
7006 @: $(MAKE); $(unstage)
7007 @[ -f ./dejagnu/Makefile ] || exit 0; \
7008 r=`${PWD_COMMAND}`; export r; \
7009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7010 $(HOST_EXPORTS) \
7011 for flag in $(EXTRA_HOST_FLAGS) ; do \
7012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7013 done; \
7014 echo "Doing mostlyclean in dejagnu"; \
7015 (cd $(HOST_SUBDIR)/dejagnu && \
7016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7018 "RANLIB=$${RANLIB}" \
7019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7020 mostlyclean) \
7021 || exit 1
7023 @endif dejagnu
7025 .PHONY: maybe-clean-dejagnu clean-dejagnu
7026 maybe-clean-dejagnu:
7027 @if dejagnu
7028 maybe-clean-dejagnu: clean-dejagnu
7030 clean-dejagnu:
7031 @: $(MAKE); $(unstage)
7032 @[ -f ./dejagnu/Makefile ] || exit 0; \
7033 r=`${PWD_COMMAND}`; export r; \
7034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7035 $(HOST_EXPORTS) \
7036 for flag in $(EXTRA_HOST_FLAGS) ; do \
7037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7038 done; \
7039 echo "Doing clean in dejagnu"; \
7040 (cd $(HOST_SUBDIR)/dejagnu && \
7041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7043 "RANLIB=$${RANLIB}" \
7044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7045 clean) \
7046 || exit 1
7048 @endif dejagnu
7050 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
7051 maybe-distclean-dejagnu:
7052 @if dejagnu
7053 maybe-distclean-dejagnu: distclean-dejagnu
7055 distclean-dejagnu:
7056 @: $(MAKE); $(unstage)
7057 @[ -f ./dejagnu/Makefile ] || exit 0; \
7058 r=`${PWD_COMMAND}`; export r; \
7059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7060 $(HOST_EXPORTS) \
7061 for flag in $(EXTRA_HOST_FLAGS) ; do \
7062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7063 done; \
7064 echo "Doing distclean in dejagnu"; \
7065 (cd $(HOST_SUBDIR)/dejagnu && \
7066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7068 "RANLIB=$${RANLIB}" \
7069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7070 distclean) \
7071 || exit 1
7073 @endif dejagnu
7075 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
7076 maybe-maintainer-clean-dejagnu:
7077 @if dejagnu
7078 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
7080 maintainer-clean-dejagnu:
7081 @: $(MAKE); $(unstage)
7082 @[ -f ./dejagnu/Makefile ] || exit 0; \
7083 r=`${PWD_COMMAND}`; export r; \
7084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7085 $(HOST_EXPORTS) \
7086 for flag in $(EXTRA_HOST_FLAGS) ; do \
7087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7088 done; \
7089 echo "Doing maintainer-clean in dejagnu"; \
7090 (cd $(HOST_SUBDIR)/dejagnu && \
7091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7093 "RANLIB=$${RANLIB}" \
7094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7095 maintainer-clean) \
7096 || exit 1
7098 @endif dejagnu
7102 .PHONY: configure-etc maybe-configure-etc
7103 maybe-configure-etc:
7104 @if gcc-bootstrap
7105 configure-etc: stage_current
7106 @endif gcc-bootstrap
7107 @if etc
7108 maybe-configure-etc: configure-etc
7109 configure-etc:
7110 @: $(MAKE); $(unstage)
7111 @r=`${PWD_COMMAND}`; export r; \
7112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7113 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
7114 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc; \
7115 $(HOST_EXPORTS) \
7116 echo Configuring in $(HOST_SUBDIR)/etc; \
7117 cd "$(HOST_SUBDIR)/etc" || exit 1; \
7118 case $(srcdir) in \
7119 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7120 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
7121 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7122 esac; \
7123 module_srcdir=etc; \
7124 $(SHELL) \
7125 $$s/$$module_srcdir/configure \
7126 --srcdir=$${topdir}/$$module_srcdir \
7127 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7128 --target=${target_alias} \
7129 || exit 1
7130 @endif etc
7136 .PHONY: all-etc maybe-all-etc
7137 maybe-all-etc:
7138 @if gcc-bootstrap
7139 all-etc: stage_current
7140 @endif gcc-bootstrap
7141 @if etc
7142 TARGET-etc=all
7143 maybe-all-etc: all-etc
7144 all-etc: configure-etc
7145 @: $(MAKE); $(unstage)
7146 @r=`${PWD_COMMAND}`; export r; \
7147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7148 $(HOST_EXPORTS) \
7149 (cd $(HOST_SUBDIR)/etc && \
7150 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7151 $(TARGET-etc))
7152 @endif etc
7157 .PHONY: check-etc maybe-check-etc
7158 maybe-check-etc:
7159 @if etc
7160 maybe-check-etc: check-etc
7162 check-etc:
7163 @: $(MAKE); $(unstage)
7164 @r=`${PWD_COMMAND}`; export r; \
7165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7166 $(HOST_EXPORTS) \
7167 (cd $(HOST_SUBDIR)/etc && \
7168 $(MAKE) $(FLAGS_TO_PASS) check)
7170 @endif etc
7172 .PHONY: install-etc maybe-install-etc
7173 maybe-install-etc:
7174 @if etc
7175 maybe-install-etc: install-etc
7177 install-etc: installdirs
7178 @: $(MAKE); $(unstage)
7179 @r=`${PWD_COMMAND}`; export r; \
7180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7181 $(HOST_EXPORTS) \
7182 (cd $(HOST_SUBDIR)/etc && \
7183 $(MAKE) $(FLAGS_TO_PASS) install)
7185 @endif etc
7187 .PHONY: install-strip-etc maybe-install-strip-etc
7188 maybe-install-strip-etc:
7189 @if etc
7190 maybe-install-strip-etc: install-strip-etc
7192 install-strip-etc: installdirs
7193 @: $(MAKE); $(unstage)
7194 @r=`${PWD_COMMAND}`; export r; \
7195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7196 $(HOST_EXPORTS) \
7197 (cd $(HOST_SUBDIR)/etc && \
7198 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7200 @endif etc
7202 # Other targets (info, dvi, pdf, etc.)
7204 .PHONY: maybe-info-etc info-etc
7205 maybe-info-etc:
7206 @if etc
7207 maybe-info-etc: info-etc
7209 info-etc: \
7210 configure-etc
7211 @: $(MAKE); $(unstage)
7212 @[ -f ./etc/Makefile ] || exit 0; \
7213 r=`${PWD_COMMAND}`; export r; \
7214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7215 $(HOST_EXPORTS) \
7216 for flag in $(EXTRA_HOST_FLAGS) ; do \
7217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7218 done; \
7219 echo "Doing info in etc"; \
7220 (cd $(HOST_SUBDIR)/etc && \
7221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7223 "RANLIB=$${RANLIB}" \
7224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7225 info) \
7226 || exit 1
7228 @endif etc
7230 .PHONY: maybe-dvi-etc dvi-etc
7231 maybe-dvi-etc:
7232 @if etc
7233 maybe-dvi-etc: dvi-etc
7235 dvi-etc: \
7236 configure-etc
7237 @: $(MAKE); $(unstage)
7238 @[ -f ./etc/Makefile ] || exit 0; \
7239 r=`${PWD_COMMAND}`; export r; \
7240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7241 $(HOST_EXPORTS) \
7242 for flag in $(EXTRA_HOST_FLAGS) ; do \
7243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7244 done; \
7245 echo "Doing dvi in etc"; \
7246 (cd $(HOST_SUBDIR)/etc && \
7247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7249 "RANLIB=$${RANLIB}" \
7250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7251 dvi) \
7252 || exit 1
7254 @endif etc
7256 .PHONY: maybe-pdf-etc pdf-etc
7257 maybe-pdf-etc:
7258 @if etc
7259 maybe-pdf-etc: pdf-etc
7261 pdf-etc: \
7262 configure-etc
7263 @: $(MAKE); $(unstage)
7264 @[ -f ./etc/Makefile ] || exit 0; \
7265 r=`${PWD_COMMAND}`; export r; \
7266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7267 $(HOST_EXPORTS) \
7268 for flag in $(EXTRA_HOST_FLAGS) ; do \
7269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7270 done; \
7271 echo "Doing pdf in etc"; \
7272 (cd $(HOST_SUBDIR)/etc && \
7273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7275 "RANLIB=$${RANLIB}" \
7276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7277 pdf) \
7278 || exit 1
7280 @endif etc
7282 .PHONY: maybe-html-etc html-etc
7283 maybe-html-etc:
7284 @if etc
7285 maybe-html-etc: html-etc
7287 html-etc: \
7288 configure-etc
7289 @: $(MAKE); $(unstage)
7290 @[ -f ./etc/Makefile ] || exit 0; \
7291 r=`${PWD_COMMAND}`; export r; \
7292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7293 $(HOST_EXPORTS) \
7294 for flag in $(EXTRA_HOST_FLAGS) ; do \
7295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7296 done; \
7297 echo "Doing html in etc"; \
7298 (cd $(HOST_SUBDIR)/etc && \
7299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7301 "RANLIB=$${RANLIB}" \
7302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7303 html) \
7304 || exit 1
7306 @endif etc
7308 .PHONY: maybe-TAGS-etc TAGS-etc
7309 maybe-TAGS-etc:
7310 @if etc
7311 maybe-TAGS-etc: TAGS-etc
7313 TAGS-etc: \
7314 configure-etc
7315 @: $(MAKE); $(unstage)
7316 @[ -f ./etc/Makefile ] || exit 0; \
7317 r=`${PWD_COMMAND}`; export r; \
7318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7319 $(HOST_EXPORTS) \
7320 for flag in $(EXTRA_HOST_FLAGS) ; do \
7321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7322 done; \
7323 echo "Doing TAGS in etc"; \
7324 (cd $(HOST_SUBDIR)/etc && \
7325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7327 "RANLIB=$${RANLIB}" \
7328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7329 TAGS) \
7330 || exit 1
7332 @endif etc
7334 .PHONY: maybe-install-info-etc install-info-etc
7335 maybe-install-info-etc:
7336 @if etc
7337 maybe-install-info-etc: install-info-etc
7339 install-info-etc: \
7340 configure-etc \
7341 info-etc
7342 @: $(MAKE); $(unstage)
7343 @[ -f ./etc/Makefile ] || exit 0; \
7344 r=`${PWD_COMMAND}`; export r; \
7345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7346 $(HOST_EXPORTS) \
7347 for flag in $(EXTRA_HOST_FLAGS) ; do \
7348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7349 done; \
7350 echo "Doing install-info in etc"; \
7351 (cd $(HOST_SUBDIR)/etc && \
7352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7354 "RANLIB=$${RANLIB}" \
7355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7356 install-info) \
7357 || exit 1
7359 @endif etc
7361 .PHONY: maybe-install-pdf-etc install-pdf-etc
7362 maybe-install-pdf-etc:
7363 @if etc
7364 maybe-install-pdf-etc: install-pdf-etc
7366 install-pdf-etc: \
7367 configure-etc \
7368 pdf-etc
7369 @: $(MAKE); $(unstage)
7370 @[ -f ./etc/Makefile ] || exit 0; \
7371 r=`${PWD_COMMAND}`; export r; \
7372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7373 $(HOST_EXPORTS) \
7374 for flag in $(EXTRA_HOST_FLAGS) ; do \
7375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7376 done; \
7377 echo "Doing install-pdf in etc"; \
7378 (cd $(HOST_SUBDIR)/etc && \
7379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7381 "RANLIB=$${RANLIB}" \
7382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7383 install-pdf) \
7384 || exit 1
7386 @endif etc
7388 .PHONY: maybe-install-html-etc install-html-etc
7389 maybe-install-html-etc:
7390 @if etc
7391 maybe-install-html-etc: install-html-etc
7393 install-html-etc: \
7394 configure-etc \
7395 html-etc
7396 @: $(MAKE); $(unstage)
7397 @[ -f ./etc/Makefile ] || exit 0; \
7398 r=`${PWD_COMMAND}`; export r; \
7399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7400 $(HOST_EXPORTS) \
7401 for flag in $(EXTRA_HOST_FLAGS) ; do \
7402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7403 done; \
7404 echo "Doing install-html in etc"; \
7405 (cd $(HOST_SUBDIR)/etc && \
7406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7408 "RANLIB=$${RANLIB}" \
7409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7410 install-html) \
7411 || exit 1
7413 @endif etc
7415 .PHONY: maybe-installcheck-etc installcheck-etc
7416 maybe-installcheck-etc:
7417 @if etc
7418 maybe-installcheck-etc: installcheck-etc
7420 installcheck-etc: \
7421 configure-etc
7422 @: $(MAKE); $(unstage)
7423 @[ -f ./etc/Makefile ] || exit 0; \
7424 r=`${PWD_COMMAND}`; export r; \
7425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7426 $(HOST_EXPORTS) \
7427 for flag in $(EXTRA_HOST_FLAGS) ; do \
7428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7429 done; \
7430 echo "Doing installcheck in etc"; \
7431 (cd $(HOST_SUBDIR)/etc && \
7432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7434 "RANLIB=$${RANLIB}" \
7435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7436 installcheck) \
7437 || exit 1
7439 @endif etc
7441 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
7442 maybe-mostlyclean-etc:
7443 @if etc
7444 maybe-mostlyclean-etc: mostlyclean-etc
7446 mostlyclean-etc:
7447 @: $(MAKE); $(unstage)
7448 @[ -f ./etc/Makefile ] || exit 0; \
7449 r=`${PWD_COMMAND}`; export r; \
7450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7451 $(HOST_EXPORTS) \
7452 for flag in $(EXTRA_HOST_FLAGS) ; do \
7453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7454 done; \
7455 echo "Doing mostlyclean in etc"; \
7456 (cd $(HOST_SUBDIR)/etc && \
7457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7459 "RANLIB=$${RANLIB}" \
7460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7461 mostlyclean) \
7462 || exit 1
7464 @endif etc
7466 .PHONY: maybe-clean-etc clean-etc
7467 maybe-clean-etc:
7468 @if etc
7469 maybe-clean-etc: clean-etc
7471 clean-etc:
7472 @: $(MAKE); $(unstage)
7473 @[ -f ./etc/Makefile ] || exit 0; \
7474 r=`${PWD_COMMAND}`; export r; \
7475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7476 $(HOST_EXPORTS) \
7477 for flag in $(EXTRA_HOST_FLAGS) ; do \
7478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7479 done; \
7480 echo "Doing clean in etc"; \
7481 (cd $(HOST_SUBDIR)/etc && \
7482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7484 "RANLIB=$${RANLIB}" \
7485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7486 clean) \
7487 || exit 1
7489 @endif etc
7491 .PHONY: maybe-distclean-etc distclean-etc
7492 maybe-distclean-etc:
7493 @if etc
7494 maybe-distclean-etc: distclean-etc
7496 distclean-etc:
7497 @: $(MAKE); $(unstage)
7498 @[ -f ./etc/Makefile ] || exit 0; \
7499 r=`${PWD_COMMAND}`; export r; \
7500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7501 $(HOST_EXPORTS) \
7502 for flag in $(EXTRA_HOST_FLAGS) ; do \
7503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7504 done; \
7505 echo "Doing distclean in etc"; \
7506 (cd $(HOST_SUBDIR)/etc && \
7507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7509 "RANLIB=$${RANLIB}" \
7510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7511 distclean) \
7512 || exit 1
7514 @endif etc
7516 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
7517 maybe-maintainer-clean-etc:
7518 @if etc
7519 maybe-maintainer-clean-etc: maintainer-clean-etc
7521 maintainer-clean-etc:
7522 @: $(MAKE); $(unstage)
7523 @[ -f ./etc/Makefile ] || exit 0; \
7524 r=`${PWD_COMMAND}`; export r; \
7525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7526 $(HOST_EXPORTS) \
7527 for flag in $(EXTRA_HOST_FLAGS) ; do \
7528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7529 done; \
7530 echo "Doing maintainer-clean in etc"; \
7531 (cd $(HOST_SUBDIR)/etc && \
7532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7534 "RANLIB=$${RANLIB}" \
7535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7536 maintainer-clean) \
7537 || exit 1
7539 @endif etc
7543 .PHONY: configure-fastjar maybe-configure-fastjar
7544 maybe-configure-fastjar:
7545 @if gcc-bootstrap
7546 configure-fastjar: stage_current
7547 @endif gcc-bootstrap
7548 @if fastjar
7549 maybe-configure-fastjar: configure-fastjar
7550 configure-fastjar:
7551 @: $(MAKE); $(unstage)
7552 @r=`${PWD_COMMAND}`; export r; \
7553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7554 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
7555 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar; \
7556 $(HOST_EXPORTS) \
7557 echo Configuring in $(HOST_SUBDIR)/fastjar; \
7558 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
7559 case $(srcdir) in \
7560 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7561 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
7562 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7563 esac; \
7564 module_srcdir=fastjar; \
7565 $(SHELL) \
7566 $$s/$$module_srcdir/configure \
7567 --srcdir=$${topdir}/$$module_srcdir \
7568 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7569 --target=${target_alias} \
7570 || exit 1
7571 @endif fastjar
7577 .PHONY: all-fastjar maybe-all-fastjar
7578 maybe-all-fastjar:
7579 @if gcc-bootstrap
7580 all-fastjar: stage_current
7581 @endif gcc-bootstrap
7582 @if fastjar
7583 TARGET-fastjar=all
7584 maybe-all-fastjar: all-fastjar
7585 all-fastjar: configure-fastjar
7586 @: $(MAKE); $(unstage)
7587 @r=`${PWD_COMMAND}`; export r; \
7588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7589 $(HOST_EXPORTS) \
7590 (cd $(HOST_SUBDIR)/fastjar && \
7591 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7592 $(TARGET-fastjar))
7593 @endif fastjar
7598 .PHONY: check-fastjar maybe-check-fastjar
7599 maybe-check-fastjar:
7600 @if fastjar
7601 maybe-check-fastjar: check-fastjar
7603 # This module is only tested in a native toolchain.
7604 check-fastjar:
7605 @: $(MAKE); $(unstage)
7606 @if [ '$(host)' = '$(target)' ]; then \
7607 r=`${PWD_COMMAND}`; export r; \
7608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7609 $(HOST_EXPORTS) \
7610 (cd $(HOST_SUBDIR)/fastjar && \
7611 $(MAKE) $(FLAGS_TO_PASS) check)
7614 @endif fastjar
7616 .PHONY: install-fastjar maybe-install-fastjar
7617 maybe-install-fastjar:
7618 @if fastjar
7619 maybe-install-fastjar: install-fastjar
7621 install-fastjar: installdirs
7622 @: $(MAKE); $(unstage)
7623 @r=`${PWD_COMMAND}`; export r; \
7624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7625 $(HOST_EXPORTS) \
7626 (cd $(HOST_SUBDIR)/fastjar && \
7627 $(MAKE) $(FLAGS_TO_PASS) install)
7629 @endif fastjar
7631 .PHONY: install-strip-fastjar maybe-install-strip-fastjar
7632 maybe-install-strip-fastjar:
7633 @if fastjar
7634 maybe-install-strip-fastjar: install-strip-fastjar
7636 install-strip-fastjar: installdirs
7637 @: $(MAKE); $(unstage)
7638 @r=`${PWD_COMMAND}`; export r; \
7639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7640 $(HOST_EXPORTS) \
7641 (cd $(HOST_SUBDIR)/fastjar && \
7642 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7644 @endif fastjar
7646 # Other targets (info, dvi, pdf, etc.)
7648 .PHONY: maybe-info-fastjar info-fastjar
7649 maybe-info-fastjar:
7650 @if fastjar
7651 maybe-info-fastjar: info-fastjar
7653 info-fastjar: \
7654 configure-fastjar
7655 @: $(MAKE); $(unstage)
7656 @[ -f ./fastjar/Makefile ] || exit 0; \
7657 r=`${PWD_COMMAND}`; export r; \
7658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7659 $(HOST_EXPORTS) \
7660 for flag in $(EXTRA_HOST_FLAGS) ; do \
7661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7662 done; \
7663 echo "Doing info in fastjar"; \
7664 (cd $(HOST_SUBDIR)/fastjar && \
7665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7667 "RANLIB=$${RANLIB}" \
7668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7669 info) \
7670 || exit 1
7672 @endif fastjar
7674 .PHONY: maybe-dvi-fastjar dvi-fastjar
7675 maybe-dvi-fastjar:
7676 @if fastjar
7677 maybe-dvi-fastjar: dvi-fastjar
7679 dvi-fastjar: \
7680 configure-fastjar
7681 @: $(MAKE); $(unstage)
7682 @[ -f ./fastjar/Makefile ] || exit 0; \
7683 r=`${PWD_COMMAND}`; export r; \
7684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7685 $(HOST_EXPORTS) \
7686 for flag in $(EXTRA_HOST_FLAGS) ; do \
7687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7688 done; \
7689 echo "Doing dvi in fastjar"; \
7690 (cd $(HOST_SUBDIR)/fastjar && \
7691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7693 "RANLIB=$${RANLIB}" \
7694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7695 dvi) \
7696 || exit 1
7698 @endif fastjar
7700 .PHONY: maybe-pdf-fastjar pdf-fastjar
7701 maybe-pdf-fastjar:
7702 @if fastjar
7703 maybe-pdf-fastjar: pdf-fastjar
7705 pdf-fastjar: \
7706 configure-fastjar
7707 @: $(MAKE); $(unstage)
7708 @[ -f ./fastjar/Makefile ] || exit 0; \
7709 r=`${PWD_COMMAND}`; export r; \
7710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7711 $(HOST_EXPORTS) \
7712 for flag in $(EXTRA_HOST_FLAGS) ; do \
7713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7714 done; \
7715 echo "Doing pdf in fastjar"; \
7716 (cd $(HOST_SUBDIR)/fastjar && \
7717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7719 "RANLIB=$${RANLIB}" \
7720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7721 pdf) \
7722 || exit 1
7724 @endif fastjar
7726 .PHONY: maybe-html-fastjar html-fastjar
7727 maybe-html-fastjar:
7728 @if fastjar
7729 maybe-html-fastjar: html-fastjar
7731 html-fastjar: \
7732 configure-fastjar
7733 @: $(MAKE); $(unstage)
7734 @[ -f ./fastjar/Makefile ] || exit 0; \
7735 r=`${PWD_COMMAND}`; export r; \
7736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7737 $(HOST_EXPORTS) \
7738 for flag in $(EXTRA_HOST_FLAGS) ; do \
7739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7740 done; \
7741 echo "Doing html in fastjar"; \
7742 (cd $(HOST_SUBDIR)/fastjar && \
7743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7745 "RANLIB=$${RANLIB}" \
7746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7747 html) \
7748 || exit 1
7750 @endif fastjar
7752 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
7753 maybe-TAGS-fastjar:
7754 @if fastjar
7755 maybe-TAGS-fastjar: TAGS-fastjar
7757 TAGS-fastjar: \
7758 configure-fastjar
7759 @: $(MAKE); $(unstage)
7760 @[ -f ./fastjar/Makefile ] || exit 0; \
7761 r=`${PWD_COMMAND}`; export r; \
7762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7763 $(HOST_EXPORTS) \
7764 for flag in $(EXTRA_HOST_FLAGS) ; do \
7765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7766 done; \
7767 echo "Doing TAGS in fastjar"; \
7768 (cd $(HOST_SUBDIR)/fastjar && \
7769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7771 "RANLIB=$${RANLIB}" \
7772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7773 TAGS) \
7774 || exit 1
7776 @endif fastjar
7778 .PHONY: maybe-install-info-fastjar install-info-fastjar
7779 maybe-install-info-fastjar:
7780 @if fastjar
7781 maybe-install-info-fastjar: install-info-fastjar
7783 install-info-fastjar: \
7784 configure-fastjar \
7785 info-fastjar
7786 @: $(MAKE); $(unstage)
7787 @[ -f ./fastjar/Makefile ] || exit 0; \
7788 r=`${PWD_COMMAND}`; export r; \
7789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7790 $(HOST_EXPORTS) \
7791 for flag in $(EXTRA_HOST_FLAGS) ; do \
7792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7793 done; \
7794 echo "Doing install-info in fastjar"; \
7795 (cd $(HOST_SUBDIR)/fastjar && \
7796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7798 "RANLIB=$${RANLIB}" \
7799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7800 install-info) \
7801 || exit 1
7803 @endif fastjar
7805 .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar
7806 maybe-install-pdf-fastjar:
7807 @if fastjar
7808 maybe-install-pdf-fastjar: install-pdf-fastjar
7810 install-pdf-fastjar: \
7811 configure-fastjar \
7812 pdf-fastjar
7813 @: $(MAKE); $(unstage)
7814 @[ -f ./fastjar/Makefile ] || exit 0; \
7815 r=`${PWD_COMMAND}`; export r; \
7816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7817 $(HOST_EXPORTS) \
7818 for flag in $(EXTRA_HOST_FLAGS) ; do \
7819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7820 done; \
7821 echo "Doing install-pdf in fastjar"; \
7822 (cd $(HOST_SUBDIR)/fastjar && \
7823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7825 "RANLIB=$${RANLIB}" \
7826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7827 install-pdf) \
7828 || exit 1
7830 @endif fastjar
7832 .PHONY: maybe-install-html-fastjar install-html-fastjar
7833 maybe-install-html-fastjar:
7834 @if fastjar
7835 maybe-install-html-fastjar: install-html-fastjar
7837 install-html-fastjar: \
7838 configure-fastjar \
7839 html-fastjar
7840 @: $(MAKE); $(unstage)
7841 @[ -f ./fastjar/Makefile ] || exit 0; \
7842 r=`${PWD_COMMAND}`; export r; \
7843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7844 $(HOST_EXPORTS) \
7845 for flag in $(EXTRA_HOST_FLAGS) ; do \
7846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7847 done; \
7848 echo "Doing install-html in fastjar"; \
7849 (cd $(HOST_SUBDIR)/fastjar && \
7850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7852 "RANLIB=$${RANLIB}" \
7853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7854 install-html) \
7855 || exit 1
7857 @endif fastjar
7859 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
7860 maybe-installcheck-fastjar:
7861 @if fastjar
7862 maybe-installcheck-fastjar: installcheck-fastjar
7864 installcheck-fastjar: \
7865 configure-fastjar
7866 @: $(MAKE); $(unstage)
7867 @[ -f ./fastjar/Makefile ] || exit 0; \
7868 r=`${PWD_COMMAND}`; export r; \
7869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7870 $(HOST_EXPORTS) \
7871 for flag in $(EXTRA_HOST_FLAGS) ; do \
7872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7873 done; \
7874 echo "Doing installcheck in fastjar"; \
7875 (cd $(HOST_SUBDIR)/fastjar && \
7876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7878 "RANLIB=$${RANLIB}" \
7879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7880 installcheck) \
7881 || exit 1
7883 @endif fastjar
7885 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
7886 maybe-mostlyclean-fastjar:
7887 @if fastjar
7888 maybe-mostlyclean-fastjar: mostlyclean-fastjar
7890 mostlyclean-fastjar:
7891 @: $(MAKE); $(unstage)
7892 @[ -f ./fastjar/Makefile ] || exit 0; \
7893 r=`${PWD_COMMAND}`; export r; \
7894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7895 $(HOST_EXPORTS) \
7896 for flag in $(EXTRA_HOST_FLAGS) ; do \
7897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7898 done; \
7899 echo "Doing mostlyclean in fastjar"; \
7900 (cd $(HOST_SUBDIR)/fastjar && \
7901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7903 "RANLIB=$${RANLIB}" \
7904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7905 mostlyclean) \
7906 || exit 1
7908 @endif fastjar
7910 .PHONY: maybe-clean-fastjar clean-fastjar
7911 maybe-clean-fastjar:
7912 @if fastjar
7913 maybe-clean-fastjar: clean-fastjar
7915 clean-fastjar:
7916 @: $(MAKE); $(unstage)
7917 @[ -f ./fastjar/Makefile ] || exit 0; \
7918 r=`${PWD_COMMAND}`; export r; \
7919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7920 $(HOST_EXPORTS) \
7921 for flag in $(EXTRA_HOST_FLAGS) ; do \
7922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7923 done; \
7924 echo "Doing clean in fastjar"; \
7925 (cd $(HOST_SUBDIR)/fastjar && \
7926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7928 "RANLIB=$${RANLIB}" \
7929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7930 clean) \
7931 || exit 1
7933 @endif fastjar
7935 .PHONY: maybe-distclean-fastjar distclean-fastjar
7936 maybe-distclean-fastjar:
7937 @if fastjar
7938 maybe-distclean-fastjar: distclean-fastjar
7940 distclean-fastjar:
7941 @: $(MAKE); $(unstage)
7942 @[ -f ./fastjar/Makefile ] || exit 0; \
7943 r=`${PWD_COMMAND}`; export r; \
7944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7945 $(HOST_EXPORTS) \
7946 for flag in $(EXTRA_HOST_FLAGS) ; do \
7947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7948 done; \
7949 echo "Doing distclean in fastjar"; \
7950 (cd $(HOST_SUBDIR)/fastjar && \
7951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7953 "RANLIB=$${RANLIB}" \
7954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7955 distclean) \
7956 || exit 1
7958 @endif fastjar
7960 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7961 maybe-maintainer-clean-fastjar:
7962 @if fastjar
7963 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7965 maintainer-clean-fastjar:
7966 @: $(MAKE); $(unstage)
7967 @[ -f ./fastjar/Makefile ] || exit 0; \
7968 r=`${PWD_COMMAND}`; export r; \
7969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7970 $(HOST_EXPORTS) \
7971 for flag in $(EXTRA_HOST_FLAGS) ; do \
7972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7973 done; \
7974 echo "Doing maintainer-clean in fastjar"; \
7975 (cd $(HOST_SUBDIR)/fastjar && \
7976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7978 "RANLIB=$${RANLIB}" \
7979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7980 maintainer-clean) \
7981 || exit 1
7983 @endif fastjar
7987 .PHONY: configure-fixincludes maybe-configure-fixincludes
7988 maybe-configure-fixincludes:
7989 @if gcc-bootstrap
7990 configure-fixincludes: stage_current
7991 @endif gcc-bootstrap
7992 @if fixincludes
7993 maybe-configure-fixincludes: configure-fixincludes
7994 configure-fixincludes:
7995 @r=`${PWD_COMMAND}`; export r; \
7996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7997 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
7998 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
7999 $(HOST_EXPORTS) \
8000 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
8001 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
8002 case $(srcdir) in \
8003 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8004 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8005 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8006 esac; \
8007 module_srcdir=fixincludes; \
8008 $(SHELL) \
8009 $$s/$$module_srcdir/configure \
8010 --srcdir=$${topdir}/$$module_srcdir \
8011 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8012 --target=${target_alias} \
8013 || exit 1
8014 @endif fixincludes
8018 .PHONY: configure-stage1-fixincludes maybe-configure-stage1-fixincludes
8019 maybe-configure-stage1-fixincludes:
8020 @if fixincludes-bootstrap
8021 maybe-configure-stage1-fixincludes: configure-stage1-fixincludes
8022 configure-stage1-fixincludes:
8023 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8024 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8025 @r=`${PWD_COMMAND}`; export r; \
8026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8027 TFLAGS="$(STAGE1_TFLAGS)"; \
8028 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8029 $(HOST_EXPORTS) \
8030 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
8031 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
8032 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
8033 echo Configuring stage 1 in $(HOST_SUBDIR)/fixincludes; \
8034 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8035 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8036 case $(srcdir) in \
8037 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8038 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8039 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8040 esac; \
8041 module_srcdir=fixincludes; \
8042 $(SHELL) $$s/$$module_srcdir/configure \
8043 --srcdir=$${topdir}/$$module_srcdir \
8044 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8045 --target=${target_alias} \
8047 $(STAGE1_CONFIGURE_FLAGS)
8048 @endif fixincludes-bootstrap
8050 .PHONY: configure-stage2-fixincludes maybe-configure-stage2-fixincludes
8051 maybe-configure-stage2-fixincludes:
8052 @if fixincludes-bootstrap
8053 maybe-configure-stage2-fixincludes: configure-stage2-fixincludes
8054 configure-stage2-fixincludes:
8055 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8056 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8057 @r=`${PWD_COMMAND}`; export r; \
8058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8059 TFLAGS="$(STAGE2_TFLAGS)"; \
8060 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8061 $(HOST_EXPORTS) \
8062 $(POSTSTAGE1_HOST_EXPORTS) \
8063 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
8064 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
8065 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
8066 echo Configuring stage 2 in $(HOST_SUBDIR)/fixincludes; \
8067 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8068 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8069 case $(srcdir) in \
8070 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8071 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8072 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8073 esac; \
8074 module_srcdir=fixincludes; \
8075 $(SHELL) $$s/$$module_srcdir/configure \
8076 --srcdir=$${topdir}/$$module_srcdir \
8077 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8078 --target=${target_alias} \
8079 --with-build-libsubdir=$(HOST_SUBDIR) \
8080 $(STAGE2_CONFIGURE_FLAGS)
8081 @endif fixincludes-bootstrap
8083 .PHONY: configure-stage3-fixincludes maybe-configure-stage3-fixincludes
8084 maybe-configure-stage3-fixincludes:
8085 @if fixincludes-bootstrap
8086 maybe-configure-stage3-fixincludes: configure-stage3-fixincludes
8087 configure-stage3-fixincludes:
8088 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8089 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8090 @r=`${PWD_COMMAND}`; export r; \
8091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8092 TFLAGS="$(STAGE3_TFLAGS)"; \
8093 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8094 $(HOST_EXPORTS) \
8095 $(POSTSTAGE1_HOST_EXPORTS) \
8096 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
8097 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
8098 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
8099 echo Configuring stage 3 in $(HOST_SUBDIR)/fixincludes; \
8100 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8101 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8102 case $(srcdir) in \
8103 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8104 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8105 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8106 esac; \
8107 module_srcdir=fixincludes; \
8108 $(SHELL) $$s/$$module_srcdir/configure \
8109 --srcdir=$${topdir}/$$module_srcdir \
8110 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8111 --target=${target_alias} \
8112 --with-build-libsubdir=$(HOST_SUBDIR) \
8113 $(STAGE3_CONFIGURE_FLAGS)
8114 @endif fixincludes-bootstrap
8116 .PHONY: configure-stage4-fixincludes maybe-configure-stage4-fixincludes
8117 maybe-configure-stage4-fixincludes:
8118 @if fixincludes-bootstrap
8119 maybe-configure-stage4-fixincludes: configure-stage4-fixincludes
8120 configure-stage4-fixincludes:
8121 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8122 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8123 @r=`${PWD_COMMAND}`; export r; \
8124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8125 TFLAGS="$(STAGE4_TFLAGS)"; \
8126 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8127 $(HOST_EXPORTS) \
8128 $(POSTSTAGE1_HOST_EXPORTS) \
8129 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
8130 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
8131 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
8132 echo Configuring stage 4 in $(HOST_SUBDIR)/fixincludes; \
8133 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8134 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8135 case $(srcdir) in \
8136 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8137 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8138 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8139 esac; \
8140 module_srcdir=fixincludes; \
8141 $(SHELL) $$s/$$module_srcdir/configure \
8142 --srcdir=$${topdir}/$$module_srcdir \
8143 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8144 --target=${target_alias} \
8145 --with-build-libsubdir=$(HOST_SUBDIR) \
8146 $(STAGE4_CONFIGURE_FLAGS)
8147 @endif fixincludes-bootstrap
8149 .PHONY: configure-stageprofile-fixincludes maybe-configure-stageprofile-fixincludes
8150 maybe-configure-stageprofile-fixincludes:
8151 @if fixincludes-bootstrap
8152 maybe-configure-stageprofile-fixincludes: configure-stageprofile-fixincludes
8153 configure-stageprofile-fixincludes:
8154 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
8155 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8156 @r=`${PWD_COMMAND}`; export r; \
8157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8158 TFLAGS="$(STAGEprofile_TFLAGS)"; \
8159 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8160 $(HOST_EXPORTS) \
8161 $(POSTSTAGE1_HOST_EXPORTS) \
8162 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
8163 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
8164 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
8165 echo Configuring stage profile in $(HOST_SUBDIR)/fixincludes; \
8166 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8167 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8168 case $(srcdir) in \
8169 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8170 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8171 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8172 esac; \
8173 module_srcdir=fixincludes; \
8174 $(SHELL) $$s/$$module_srcdir/configure \
8175 --srcdir=$${topdir}/$$module_srcdir \
8176 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8177 --target=${target_alias} \
8178 --with-build-libsubdir=$(HOST_SUBDIR) \
8179 $(STAGEprofile_CONFIGURE_FLAGS)
8180 @endif fixincludes-bootstrap
8182 .PHONY: configure-stagefeedback-fixincludes maybe-configure-stagefeedback-fixincludes
8183 maybe-configure-stagefeedback-fixincludes:
8184 @if fixincludes-bootstrap
8185 maybe-configure-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
8186 configure-stagefeedback-fixincludes:
8187 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
8188 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8189 @r=`${PWD_COMMAND}`; export r; \
8190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8191 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
8192 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8193 $(HOST_EXPORTS) \
8194 $(POSTSTAGE1_HOST_EXPORTS) \
8195 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
8196 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
8197 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
8198 echo Configuring stage feedback in $(HOST_SUBDIR)/fixincludes; \
8199 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8200 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8201 case $(srcdir) in \
8202 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8203 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8204 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8205 esac; \
8206 module_srcdir=fixincludes; \
8207 $(SHELL) $$s/$$module_srcdir/configure \
8208 --srcdir=$${topdir}/$$module_srcdir \
8209 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8210 --target=${target_alias} \
8211 --with-build-libsubdir=$(HOST_SUBDIR) \
8212 $(STAGEfeedback_CONFIGURE_FLAGS)
8213 @endif fixincludes-bootstrap
8219 .PHONY: all-fixincludes maybe-all-fixincludes
8220 maybe-all-fixincludes:
8221 @if gcc-bootstrap
8222 all-fixincludes: stage_current
8223 @endif gcc-bootstrap
8224 @if fixincludes
8225 TARGET-fixincludes=all
8226 maybe-all-fixincludes: all-fixincludes
8227 all-fixincludes: configure-fixincludes
8228 @r=`${PWD_COMMAND}`; export r; \
8229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8230 $(HOST_EXPORTS) \
8231 (cd $(HOST_SUBDIR)/fixincludes && \
8232 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8233 $(TARGET-fixincludes))
8234 @endif fixincludes
8238 .PHONY: all-stage1-fixincludes maybe-all-stage1-fixincludes
8239 .PHONY: clean-stage1-fixincludes maybe-clean-stage1-fixincludes
8240 maybe-all-stage1-fixincludes:
8241 maybe-clean-stage1-fixincludes:
8242 @if fixincludes-bootstrap
8243 maybe-all-stage1-fixincludes: all-stage1-fixincludes
8244 all-stage1: all-stage1-fixincludes
8245 TARGET-stage1-fixincludes = $(TARGET-fixincludes)
8246 all-stage1-fixincludes: configure-stage1-fixincludes
8247 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8248 @r=`${PWD_COMMAND}`; export r; \
8249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8250 TFLAGS="$(STAGE1_TFLAGS)"; \
8251 $(HOST_EXPORTS) \
8252 cd $(HOST_SUBDIR)/fixincludes && \
8253 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8254 CFLAGS="$(STAGE1_CFLAGS)" \
8255 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
8256 LIBCFLAGS="$(LIBCFLAGS)" \
8257 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8258 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8259 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8260 $(EXTRA_HOST_FLAGS) \
8261 $(STAGE1_FLAGS_TO_PASS) \
8262 TFLAGS="$(STAGE1_TFLAGS)" \
8263 $(TARGET-stage1-fixincludes)
8265 maybe-clean-stage1-fixincludes: clean-stage1-fixincludes
8266 clean-stage1: clean-stage1-fixincludes
8267 clean-stage1-fixincludes:
8268 @if [ $(current_stage) = stage1 ]; then \
8269 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8270 else \
8271 [ -f $(HOST_SUBDIR)/stage1-fixincludes/Makefile ] || exit 0; \
8272 $(MAKE) stage1-start; \
8273 fi; \
8274 cd $(HOST_SUBDIR)/fixincludes && \
8275 $(MAKE) $(EXTRA_HOST_FLAGS) \
8276 $(STAGE1_FLAGS_TO_PASS) clean
8277 @endif fixincludes-bootstrap
8280 .PHONY: all-stage2-fixincludes maybe-all-stage2-fixincludes
8281 .PHONY: clean-stage2-fixincludes maybe-clean-stage2-fixincludes
8282 maybe-all-stage2-fixincludes:
8283 maybe-clean-stage2-fixincludes:
8284 @if fixincludes-bootstrap
8285 maybe-all-stage2-fixincludes: all-stage2-fixincludes
8286 all-stage2: all-stage2-fixincludes
8287 TARGET-stage2-fixincludes = $(TARGET-fixincludes)
8288 all-stage2-fixincludes: configure-stage2-fixincludes
8289 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8290 @r=`${PWD_COMMAND}`; export r; \
8291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8292 TFLAGS="$(STAGE2_TFLAGS)"; \
8293 $(HOST_EXPORTS) \
8294 $(POSTSTAGE1_HOST_EXPORTS) \
8295 cd $(HOST_SUBDIR)/fixincludes && \
8296 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8297 CFLAGS="$(STAGE2_CFLAGS)" \
8298 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
8299 LIBCFLAGS="$(STAGE2_CFLAGS)" \
8300 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8301 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8302 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8303 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8304 TFLAGS="$(STAGE2_TFLAGS)" \
8305 $(TARGET-stage2-fixincludes)
8307 maybe-clean-stage2-fixincludes: clean-stage2-fixincludes
8308 clean-stage2: clean-stage2-fixincludes
8309 clean-stage2-fixincludes:
8310 @if [ $(current_stage) = stage2 ]; then \
8311 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8312 else \
8313 [ -f $(HOST_SUBDIR)/stage2-fixincludes/Makefile ] || exit 0; \
8314 $(MAKE) stage2-start; \
8315 fi; \
8316 cd $(HOST_SUBDIR)/fixincludes && \
8317 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8318 @endif fixincludes-bootstrap
8321 .PHONY: all-stage3-fixincludes maybe-all-stage3-fixincludes
8322 .PHONY: clean-stage3-fixincludes maybe-clean-stage3-fixincludes
8323 maybe-all-stage3-fixincludes:
8324 maybe-clean-stage3-fixincludes:
8325 @if fixincludes-bootstrap
8326 maybe-all-stage3-fixincludes: all-stage3-fixincludes
8327 all-stage3: all-stage3-fixincludes
8328 TARGET-stage3-fixincludes = $(TARGET-fixincludes)
8329 all-stage3-fixincludes: configure-stage3-fixincludes
8330 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8331 @r=`${PWD_COMMAND}`; export r; \
8332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8333 TFLAGS="$(STAGE3_TFLAGS)"; \
8334 $(HOST_EXPORTS) \
8335 $(POSTSTAGE1_HOST_EXPORTS) \
8336 cd $(HOST_SUBDIR)/fixincludes && \
8337 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8338 CFLAGS="$(STAGE3_CFLAGS)" \
8339 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
8340 LIBCFLAGS="$(STAGE3_CFLAGS)" \
8341 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8342 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8343 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8344 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8345 TFLAGS="$(STAGE3_TFLAGS)" \
8346 $(TARGET-stage3-fixincludes)
8348 maybe-clean-stage3-fixincludes: clean-stage3-fixincludes
8349 clean-stage3: clean-stage3-fixincludes
8350 clean-stage3-fixincludes:
8351 @if [ $(current_stage) = stage3 ]; then \
8352 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8353 else \
8354 [ -f $(HOST_SUBDIR)/stage3-fixincludes/Makefile ] || exit 0; \
8355 $(MAKE) stage3-start; \
8356 fi; \
8357 cd $(HOST_SUBDIR)/fixincludes && \
8358 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8359 @endif fixincludes-bootstrap
8362 .PHONY: all-stage4-fixincludes maybe-all-stage4-fixincludes
8363 .PHONY: clean-stage4-fixincludes maybe-clean-stage4-fixincludes
8364 maybe-all-stage4-fixincludes:
8365 maybe-clean-stage4-fixincludes:
8366 @if fixincludes-bootstrap
8367 maybe-all-stage4-fixincludes: all-stage4-fixincludes
8368 all-stage4: all-stage4-fixincludes
8369 TARGET-stage4-fixincludes = $(TARGET-fixincludes)
8370 all-stage4-fixincludes: configure-stage4-fixincludes
8371 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8372 @r=`${PWD_COMMAND}`; export r; \
8373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8374 TFLAGS="$(STAGE4_TFLAGS)"; \
8375 $(HOST_EXPORTS) \
8376 $(POSTSTAGE1_HOST_EXPORTS) \
8377 cd $(HOST_SUBDIR)/fixincludes && \
8378 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8379 CFLAGS="$(STAGE4_CFLAGS)" \
8380 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
8381 LIBCFLAGS="$(STAGE4_CFLAGS)" \
8382 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8383 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8384 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8385 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8386 TFLAGS="$(STAGE4_TFLAGS)" \
8387 $(TARGET-stage4-fixincludes)
8389 maybe-clean-stage4-fixincludes: clean-stage4-fixincludes
8390 clean-stage4: clean-stage4-fixincludes
8391 clean-stage4-fixincludes:
8392 @if [ $(current_stage) = stage4 ]; then \
8393 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8394 else \
8395 [ -f $(HOST_SUBDIR)/stage4-fixincludes/Makefile ] || exit 0; \
8396 $(MAKE) stage4-start; \
8397 fi; \
8398 cd $(HOST_SUBDIR)/fixincludes && \
8399 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8400 @endif fixincludes-bootstrap
8403 .PHONY: all-stageprofile-fixincludes maybe-all-stageprofile-fixincludes
8404 .PHONY: clean-stageprofile-fixincludes maybe-clean-stageprofile-fixincludes
8405 maybe-all-stageprofile-fixincludes:
8406 maybe-clean-stageprofile-fixincludes:
8407 @if fixincludes-bootstrap
8408 maybe-all-stageprofile-fixincludes: all-stageprofile-fixincludes
8409 all-stageprofile: all-stageprofile-fixincludes
8410 TARGET-stageprofile-fixincludes = $(TARGET-fixincludes)
8411 all-stageprofile-fixincludes: configure-stageprofile-fixincludes
8412 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
8413 @r=`${PWD_COMMAND}`; export r; \
8414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8415 TFLAGS="$(STAGEprofile_TFLAGS)"; \
8416 $(HOST_EXPORTS) \
8417 $(POSTSTAGE1_HOST_EXPORTS) \
8418 cd $(HOST_SUBDIR)/fixincludes && \
8419 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8420 CFLAGS="$(STAGEprofile_CFLAGS)" \
8421 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
8422 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
8423 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8424 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8425 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8426 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8427 TFLAGS="$(STAGEprofile_TFLAGS)" \
8428 $(TARGET-stageprofile-fixincludes)
8430 maybe-clean-stageprofile-fixincludes: clean-stageprofile-fixincludes
8431 clean-stageprofile: clean-stageprofile-fixincludes
8432 clean-stageprofile-fixincludes:
8433 @if [ $(current_stage) = stageprofile ]; then \
8434 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8435 else \
8436 [ -f $(HOST_SUBDIR)/stageprofile-fixincludes/Makefile ] || exit 0; \
8437 $(MAKE) stageprofile-start; \
8438 fi; \
8439 cd $(HOST_SUBDIR)/fixincludes && \
8440 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8441 @endif fixincludes-bootstrap
8444 .PHONY: all-stagefeedback-fixincludes maybe-all-stagefeedback-fixincludes
8445 .PHONY: clean-stagefeedback-fixincludes maybe-clean-stagefeedback-fixincludes
8446 maybe-all-stagefeedback-fixincludes:
8447 maybe-clean-stagefeedback-fixincludes:
8448 @if fixincludes-bootstrap
8449 maybe-all-stagefeedback-fixincludes: all-stagefeedback-fixincludes
8450 all-stagefeedback: all-stagefeedback-fixincludes
8451 TARGET-stagefeedback-fixincludes = $(TARGET-fixincludes)
8452 all-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
8453 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
8454 @r=`${PWD_COMMAND}`; export r; \
8455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8456 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
8457 $(HOST_EXPORTS) \
8458 $(POSTSTAGE1_HOST_EXPORTS) \
8459 cd $(HOST_SUBDIR)/fixincludes && \
8460 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8461 CFLAGS="$(STAGEfeedback_CFLAGS)" \
8462 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
8463 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
8464 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8465 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8466 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8467 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8468 TFLAGS="$(STAGEfeedback_TFLAGS)" \
8469 $(TARGET-stagefeedback-fixincludes)
8471 maybe-clean-stagefeedback-fixincludes: clean-stagefeedback-fixincludes
8472 clean-stagefeedback: clean-stagefeedback-fixincludes
8473 clean-stagefeedback-fixincludes:
8474 @if [ $(current_stage) = stagefeedback ]; then \
8475 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8476 else \
8477 [ -f $(HOST_SUBDIR)/stagefeedback-fixincludes/Makefile ] || exit 0; \
8478 $(MAKE) stagefeedback-start; \
8479 fi; \
8480 cd $(HOST_SUBDIR)/fixincludes && \
8481 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8482 @endif fixincludes-bootstrap
8488 .PHONY: check-fixincludes maybe-check-fixincludes
8489 maybe-check-fixincludes:
8490 @if fixincludes
8491 maybe-check-fixincludes: check-fixincludes
8493 check-fixincludes:
8494 @: $(MAKE); $(unstage)
8495 @r=`${PWD_COMMAND}`; export r; \
8496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8497 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
8498 (cd $(HOST_SUBDIR)/fixincludes && \
8499 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
8501 @endif fixincludes
8503 .PHONY: install-fixincludes maybe-install-fixincludes
8504 maybe-install-fixincludes:
8505 @if fixincludes
8506 maybe-install-fixincludes: install-fixincludes
8508 install-fixincludes: installdirs
8509 @: $(MAKE); $(unstage)
8510 @r=`${PWD_COMMAND}`; export r; \
8511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8512 $(HOST_EXPORTS) \
8513 (cd $(HOST_SUBDIR)/fixincludes && \
8514 $(MAKE) $(FLAGS_TO_PASS) install)
8516 @endif fixincludes
8518 .PHONY: install-strip-fixincludes maybe-install-strip-fixincludes
8519 maybe-install-strip-fixincludes:
8520 @if fixincludes
8521 maybe-install-strip-fixincludes: install-strip-fixincludes
8523 install-strip-fixincludes: installdirs
8524 @: $(MAKE); $(unstage)
8525 @r=`${PWD_COMMAND}`; export r; \
8526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8527 $(HOST_EXPORTS) \
8528 (cd $(HOST_SUBDIR)/fixincludes && \
8529 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8531 @endif fixincludes
8533 # Other targets (info, dvi, pdf, etc.)
8535 .PHONY: maybe-info-fixincludes info-fixincludes
8536 maybe-info-fixincludes:
8537 @if fixincludes
8538 maybe-info-fixincludes: info-fixincludes
8540 info-fixincludes: \
8541 configure-fixincludes
8542 @[ -f ./fixincludes/Makefile ] || exit 0; \
8543 r=`${PWD_COMMAND}`; export r; \
8544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8545 $(HOST_EXPORTS) \
8546 for flag in $(EXTRA_HOST_FLAGS) ; do \
8547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8548 done; \
8549 echo "Doing info in fixincludes"; \
8550 (cd $(HOST_SUBDIR)/fixincludes && \
8551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8553 "RANLIB=$${RANLIB}" \
8554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8555 info) \
8556 || exit 1
8558 @endif fixincludes
8560 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
8561 maybe-dvi-fixincludes:
8562 @if fixincludes
8563 maybe-dvi-fixincludes: dvi-fixincludes
8565 dvi-fixincludes: \
8566 configure-fixincludes
8567 @[ -f ./fixincludes/Makefile ] || exit 0; \
8568 r=`${PWD_COMMAND}`; export r; \
8569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8570 $(HOST_EXPORTS) \
8571 for flag in $(EXTRA_HOST_FLAGS) ; do \
8572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8573 done; \
8574 echo "Doing dvi in fixincludes"; \
8575 (cd $(HOST_SUBDIR)/fixincludes && \
8576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8578 "RANLIB=$${RANLIB}" \
8579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8580 dvi) \
8581 || exit 1
8583 @endif fixincludes
8585 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
8586 maybe-pdf-fixincludes:
8587 @if fixincludes
8588 maybe-pdf-fixincludes: pdf-fixincludes
8590 pdf-fixincludes: \
8591 configure-fixincludes
8592 @[ -f ./fixincludes/Makefile ] || exit 0; \
8593 r=`${PWD_COMMAND}`; export r; \
8594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8595 $(HOST_EXPORTS) \
8596 for flag in $(EXTRA_HOST_FLAGS) ; do \
8597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8598 done; \
8599 echo "Doing pdf in fixincludes"; \
8600 (cd $(HOST_SUBDIR)/fixincludes && \
8601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8603 "RANLIB=$${RANLIB}" \
8604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8605 pdf) \
8606 || exit 1
8608 @endif fixincludes
8610 .PHONY: maybe-html-fixincludes html-fixincludes
8611 maybe-html-fixincludes:
8612 @if fixincludes
8613 maybe-html-fixincludes: html-fixincludes
8615 html-fixincludes: \
8616 configure-fixincludes
8617 @[ -f ./fixincludes/Makefile ] || exit 0; \
8618 r=`${PWD_COMMAND}`; export r; \
8619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8620 $(HOST_EXPORTS) \
8621 for flag in $(EXTRA_HOST_FLAGS) ; do \
8622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8623 done; \
8624 echo "Doing html in fixincludes"; \
8625 (cd $(HOST_SUBDIR)/fixincludes && \
8626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8628 "RANLIB=$${RANLIB}" \
8629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8630 html) \
8631 || exit 1
8633 @endif fixincludes
8635 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
8636 maybe-TAGS-fixincludes:
8637 @if fixincludes
8638 maybe-TAGS-fixincludes: TAGS-fixincludes
8640 # fixincludes doesn't support TAGS.
8641 TAGS-fixincludes:
8643 @endif fixincludes
8645 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
8646 maybe-install-info-fixincludes:
8647 @if fixincludes
8648 maybe-install-info-fixincludes: install-info-fixincludes
8650 install-info-fixincludes: \
8651 configure-fixincludes \
8652 info-fixincludes
8653 @[ -f ./fixincludes/Makefile ] || exit 0; \
8654 r=`${PWD_COMMAND}`; export r; \
8655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8656 $(HOST_EXPORTS) \
8657 for flag in $(EXTRA_HOST_FLAGS) ; do \
8658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8659 done; \
8660 echo "Doing install-info in fixincludes"; \
8661 (cd $(HOST_SUBDIR)/fixincludes && \
8662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8664 "RANLIB=$${RANLIB}" \
8665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8666 install-info) \
8667 || exit 1
8669 @endif fixincludes
8671 .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes
8672 maybe-install-pdf-fixincludes:
8673 @if fixincludes
8674 maybe-install-pdf-fixincludes: install-pdf-fixincludes
8676 install-pdf-fixincludes: \
8677 configure-fixincludes \
8678 pdf-fixincludes
8679 @[ -f ./fixincludes/Makefile ] || exit 0; \
8680 r=`${PWD_COMMAND}`; export r; \
8681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8682 $(HOST_EXPORTS) \
8683 for flag in $(EXTRA_HOST_FLAGS) ; do \
8684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8685 done; \
8686 echo "Doing install-pdf in fixincludes"; \
8687 (cd $(HOST_SUBDIR)/fixincludes && \
8688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8690 "RANLIB=$${RANLIB}" \
8691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8692 install-pdf) \
8693 || exit 1
8695 @endif fixincludes
8697 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
8698 maybe-install-html-fixincludes:
8699 @if fixincludes
8700 maybe-install-html-fixincludes: install-html-fixincludes
8702 install-html-fixincludes: \
8703 configure-fixincludes \
8704 html-fixincludes
8705 @[ -f ./fixincludes/Makefile ] || exit 0; \
8706 r=`${PWD_COMMAND}`; export r; \
8707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8708 $(HOST_EXPORTS) \
8709 for flag in $(EXTRA_HOST_FLAGS) ; do \
8710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8711 done; \
8712 echo "Doing install-html in fixincludes"; \
8713 (cd $(HOST_SUBDIR)/fixincludes && \
8714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8716 "RANLIB=$${RANLIB}" \
8717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8718 install-html) \
8719 || exit 1
8721 @endif fixincludes
8723 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
8724 maybe-installcheck-fixincludes:
8725 @if fixincludes
8726 maybe-installcheck-fixincludes: installcheck-fixincludes
8728 installcheck-fixincludes: \
8729 configure-fixincludes
8730 @[ -f ./fixincludes/Makefile ] || exit 0; \
8731 r=`${PWD_COMMAND}`; export r; \
8732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8733 $(HOST_EXPORTS) \
8734 for flag in $(EXTRA_HOST_FLAGS) ; do \
8735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8736 done; \
8737 echo "Doing installcheck in fixincludes"; \
8738 (cd $(HOST_SUBDIR)/fixincludes && \
8739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8741 "RANLIB=$${RANLIB}" \
8742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8743 installcheck) \
8744 || exit 1
8746 @endif fixincludes
8748 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
8749 maybe-mostlyclean-fixincludes:
8750 @if fixincludes
8751 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
8753 mostlyclean-fixincludes:
8754 @[ -f ./fixincludes/Makefile ] || exit 0; \
8755 r=`${PWD_COMMAND}`; export r; \
8756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8757 $(HOST_EXPORTS) \
8758 for flag in $(EXTRA_HOST_FLAGS) ; do \
8759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8760 done; \
8761 echo "Doing mostlyclean in fixincludes"; \
8762 (cd $(HOST_SUBDIR)/fixincludes && \
8763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8765 "RANLIB=$${RANLIB}" \
8766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8767 mostlyclean) \
8768 || exit 1
8770 @endif fixincludes
8772 .PHONY: maybe-clean-fixincludes clean-fixincludes
8773 maybe-clean-fixincludes:
8774 @if fixincludes
8775 maybe-clean-fixincludes: clean-fixincludes
8777 clean-fixincludes:
8778 @[ -f ./fixincludes/Makefile ] || exit 0; \
8779 r=`${PWD_COMMAND}`; export r; \
8780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8781 $(HOST_EXPORTS) \
8782 for flag in $(EXTRA_HOST_FLAGS) ; do \
8783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8784 done; \
8785 echo "Doing clean in fixincludes"; \
8786 (cd $(HOST_SUBDIR)/fixincludes && \
8787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8789 "RANLIB=$${RANLIB}" \
8790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8791 clean) \
8792 || exit 1
8794 @endif fixincludes
8796 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
8797 maybe-distclean-fixincludes:
8798 @if fixincludes
8799 maybe-distclean-fixincludes: distclean-fixincludes
8801 distclean-fixincludes:
8802 @[ -f ./fixincludes/Makefile ] || exit 0; \
8803 r=`${PWD_COMMAND}`; export r; \
8804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8805 $(HOST_EXPORTS) \
8806 for flag in $(EXTRA_HOST_FLAGS) ; do \
8807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8808 done; \
8809 echo "Doing distclean in fixincludes"; \
8810 (cd $(HOST_SUBDIR)/fixincludes && \
8811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8813 "RANLIB=$${RANLIB}" \
8814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8815 distclean) \
8816 || exit 1
8818 @endif fixincludes
8820 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
8821 maybe-maintainer-clean-fixincludes:
8822 @if fixincludes
8823 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
8825 maintainer-clean-fixincludes:
8826 @[ -f ./fixincludes/Makefile ] || exit 0; \
8827 r=`${PWD_COMMAND}`; export r; \
8828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8829 $(HOST_EXPORTS) \
8830 for flag in $(EXTRA_HOST_FLAGS) ; do \
8831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8832 done; \
8833 echo "Doing maintainer-clean in fixincludes"; \
8834 (cd $(HOST_SUBDIR)/fixincludes && \
8835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8837 "RANLIB=$${RANLIB}" \
8838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8839 maintainer-clean) \
8840 || exit 1
8842 @endif fixincludes
8846 .PHONY: configure-flex maybe-configure-flex
8847 maybe-configure-flex:
8848 @if gcc-bootstrap
8849 configure-flex: stage_current
8850 @endif gcc-bootstrap
8851 @if flex
8852 maybe-configure-flex: configure-flex
8853 configure-flex:
8854 @: $(MAKE); $(unstage)
8855 @r=`${PWD_COMMAND}`; export r; \
8856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8857 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
8858 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex; \
8859 $(HOST_EXPORTS) \
8860 echo Configuring in $(HOST_SUBDIR)/flex; \
8861 cd "$(HOST_SUBDIR)/flex" || exit 1; \
8862 case $(srcdir) in \
8863 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8864 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
8865 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8866 esac; \
8867 module_srcdir=flex; \
8868 $(SHELL) \
8869 $$s/$$module_srcdir/configure \
8870 --srcdir=$${topdir}/$$module_srcdir \
8871 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8872 --target=${target_alias} \
8873 || exit 1
8874 @endif flex
8880 .PHONY: all-flex maybe-all-flex
8881 maybe-all-flex:
8882 @if gcc-bootstrap
8883 all-flex: stage_current
8884 @endif gcc-bootstrap
8885 @if flex
8886 TARGET-flex=all
8887 maybe-all-flex: all-flex
8888 all-flex: configure-flex
8889 @: $(MAKE); $(unstage)
8890 @r=`${PWD_COMMAND}`; export r; \
8891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8892 $(HOST_EXPORTS) \
8893 (cd $(HOST_SUBDIR)/flex && \
8894 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8895 $(TARGET-flex))
8896 @endif flex
8901 .PHONY: check-flex maybe-check-flex
8902 maybe-check-flex:
8903 @if flex
8904 maybe-check-flex: check-flex
8906 # This module is only tested in a native toolchain.
8907 check-flex:
8908 @: $(MAKE); $(unstage)
8909 @if [ '$(host)' = '$(target)' ]; then \
8910 r=`${PWD_COMMAND}`; export r; \
8911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8912 $(HOST_EXPORTS) \
8913 (cd $(HOST_SUBDIR)/flex && \
8914 $(MAKE) $(FLAGS_TO_PASS) check)
8917 @endif flex
8919 .PHONY: install-flex maybe-install-flex
8920 maybe-install-flex:
8921 @if flex
8922 maybe-install-flex: install-flex
8924 install-flex: installdirs
8925 @: $(MAKE); $(unstage)
8926 @r=`${PWD_COMMAND}`; export r; \
8927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8928 $(HOST_EXPORTS) \
8929 (cd $(HOST_SUBDIR)/flex && \
8930 $(MAKE) $(FLAGS_TO_PASS) install)
8932 @endif flex
8934 .PHONY: install-strip-flex maybe-install-strip-flex
8935 maybe-install-strip-flex:
8936 @if flex
8937 maybe-install-strip-flex: install-strip-flex
8939 install-strip-flex: installdirs
8940 @: $(MAKE); $(unstage)
8941 @r=`${PWD_COMMAND}`; export r; \
8942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8943 $(HOST_EXPORTS) \
8944 (cd $(HOST_SUBDIR)/flex && \
8945 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8947 @endif flex
8949 # Other targets (info, dvi, pdf, etc.)
8951 .PHONY: maybe-info-flex info-flex
8952 maybe-info-flex:
8953 @if flex
8954 maybe-info-flex: info-flex
8956 info-flex: \
8957 configure-flex
8958 @: $(MAKE); $(unstage)
8959 @[ -f ./flex/Makefile ] || exit 0; \
8960 r=`${PWD_COMMAND}`; export r; \
8961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8962 $(HOST_EXPORTS) \
8963 for flag in $(EXTRA_HOST_FLAGS) ; do \
8964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8965 done; \
8966 echo "Doing info in flex"; \
8967 (cd $(HOST_SUBDIR)/flex && \
8968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8970 "RANLIB=$${RANLIB}" \
8971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8972 info) \
8973 || exit 1
8975 @endif flex
8977 .PHONY: maybe-dvi-flex dvi-flex
8978 maybe-dvi-flex:
8979 @if flex
8980 maybe-dvi-flex: dvi-flex
8982 dvi-flex: \
8983 configure-flex
8984 @: $(MAKE); $(unstage)
8985 @[ -f ./flex/Makefile ] || exit 0; \
8986 r=`${PWD_COMMAND}`; export r; \
8987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8988 $(HOST_EXPORTS) \
8989 for flag in $(EXTRA_HOST_FLAGS) ; do \
8990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8991 done; \
8992 echo "Doing dvi in flex"; \
8993 (cd $(HOST_SUBDIR)/flex && \
8994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8996 "RANLIB=$${RANLIB}" \
8997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8998 dvi) \
8999 || exit 1
9001 @endif flex
9003 .PHONY: maybe-pdf-flex pdf-flex
9004 maybe-pdf-flex:
9005 @if flex
9006 maybe-pdf-flex: pdf-flex
9008 pdf-flex: \
9009 configure-flex
9010 @: $(MAKE); $(unstage)
9011 @[ -f ./flex/Makefile ] || exit 0; \
9012 r=`${PWD_COMMAND}`; export r; \
9013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9014 $(HOST_EXPORTS) \
9015 for flag in $(EXTRA_HOST_FLAGS) ; do \
9016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9017 done; \
9018 echo "Doing pdf in flex"; \
9019 (cd $(HOST_SUBDIR)/flex && \
9020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9022 "RANLIB=$${RANLIB}" \
9023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9024 pdf) \
9025 || exit 1
9027 @endif flex
9029 .PHONY: maybe-html-flex html-flex
9030 maybe-html-flex:
9031 @if flex
9032 maybe-html-flex: html-flex
9034 html-flex: \
9035 configure-flex
9036 @: $(MAKE); $(unstage)
9037 @[ -f ./flex/Makefile ] || exit 0; \
9038 r=`${PWD_COMMAND}`; export r; \
9039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9040 $(HOST_EXPORTS) \
9041 for flag in $(EXTRA_HOST_FLAGS) ; do \
9042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9043 done; \
9044 echo "Doing html in flex"; \
9045 (cd $(HOST_SUBDIR)/flex && \
9046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9048 "RANLIB=$${RANLIB}" \
9049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9050 html) \
9051 || exit 1
9053 @endif flex
9055 .PHONY: maybe-TAGS-flex TAGS-flex
9056 maybe-TAGS-flex:
9057 @if flex
9058 maybe-TAGS-flex: TAGS-flex
9060 TAGS-flex: \
9061 configure-flex
9062 @: $(MAKE); $(unstage)
9063 @[ -f ./flex/Makefile ] || exit 0; \
9064 r=`${PWD_COMMAND}`; export r; \
9065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9066 $(HOST_EXPORTS) \
9067 for flag in $(EXTRA_HOST_FLAGS) ; do \
9068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9069 done; \
9070 echo "Doing TAGS in flex"; \
9071 (cd $(HOST_SUBDIR)/flex && \
9072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9074 "RANLIB=$${RANLIB}" \
9075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9076 TAGS) \
9077 || exit 1
9079 @endif flex
9081 .PHONY: maybe-install-info-flex install-info-flex
9082 maybe-install-info-flex:
9083 @if flex
9084 maybe-install-info-flex: install-info-flex
9086 install-info-flex: \
9087 configure-flex \
9088 info-flex
9089 @: $(MAKE); $(unstage)
9090 @[ -f ./flex/Makefile ] || exit 0; \
9091 r=`${PWD_COMMAND}`; export r; \
9092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9093 $(HOST_EXPORTS) \
9094 for flag in $(EXTRA_HOST_FLAGS) ; do \
9095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9096 done; \
9097 echo "Doing install-info in flex"; \
9098 (cd $(HOST_SUBDIR)/flex && \
9099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9101 "RANLIB=$${RANLIB}" \
9102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9103 install-info) \
9104 || exit 1
9106 @endif flex
9108 .PHONY: maybe-install-pdf-flex install-pdf-flex
9109 maybe-install-pdf-flex:
9110 @if flex
9111 maybe-install-pdf-flex: install-pdf-flex
9113 install-pdf-flex: \
9114 configure-flex \
9115 pdf-flex
9116 @: $(MAKE); $(unstage)
9117 @[ -f ./flex/Makefile ] || exit 0; \
9118 r=`${PWD_COMMAND}`; export r; \
9119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9120 $(HOST_EXPORTS) \
9121 for flag in $(EXTRA_HOST_FLAGS) ; do \
9122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9123 done; \
9124 echo "Doing install-pdf in flex"; \
9125 (cd $(HOST_SUBDIR)/flex && \
9126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9128 "RANLIB=$${RANLIB}" \
9129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9130 install-pdf) \
9131 || exit 1
9133 @endif flex
9135 .PHONY: maybe-install-html-flex install-html-flex
9136 maybe-install-html-flex:
9137 @if flex
9138 maybe-install-html-flex: install-html-flex
9140 install-html-flex: \
9141 configure-flex \
9142 html-flex
9143 @: $(MAKE); $(unstage)
9144 @[ -f ./flex/Makefile ] || exit 0; \
9145 r=`${PWD_COMMAND}`; export r; \
9146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9147 $(HOST_EXPORTS) \
9148 for flag in $(EXTRA_HOST_FLAGS) ; do \
9149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9150 done; \
9151 echo "Doing install-html in flex"; \
9152 (cd $(HOST_SUBDIR)/flex && \
9153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9155 "RANLIB=$${RANLIB}" \
9156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9157 install-html) \
9158 || exit 1
9160 @endif flex
9162 .PHONY: maybe-installcheck-flex installcheck-flex
9163 maybe-installcheck-flex:
9164 @if flex
9165 maybe-installcheck-flex: installcheck-flex
9167 installcheck-flex: \
9168 configure-flex
9169 @: $(MAKE); $(unstage)
9170 @[ -f ./flex/Makefile ] || exit 0; \
9171 r=`${PWD_COMMAND}`; export r; \
9172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9173 $(HOST_EXPORTS) \
9174 for flag in $(EXTRA_HOST_FLAGS) ; do \
9175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9176 done; \
9177 echo "Doing installcheck in flex"; \
9178 (cd $(HOST_SUBDIR)/flex && \
9179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9181 "RANLIB=$${RANLIB}" \
9182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9183 installcheck) \
9184 || exit 1
9186 @endif flex
9188 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
9189 maybe-mostlyclean-flex:
9190 @if flex
9191 maybe-mostlyclean-flex: mostlyclean-flex
9193 mostlyclean-flex:
9194 @: $(MAKE); $(unstage)
9195 @[ -f ./flex/Makefile ] || exit 0; \
9196 r=`${PWD_COMMAND}`; export r; \
9197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9198 $(HOST_EXPORTS) \
9199 for flag in $(EXTRA_HOST_FLAGS) ; do \
9200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9201 done; \
9202 echo "Doing mostlyclean in flex"; \
9203 (cd $(HOST_SUBDIR)/flex && \
9204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9206 "RANLIB=$${RANLIB}" \
9207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9208 mostlyclean) \
9209 || exit 1
9211 @endif flex
9213 .PHONY: maybe-clean-flex clean-flex
9214 maybe-clean-flex:
9215 @if flex
9216 maybe-clean-flex: clean-flex
9218 clean-flex:
9219 @: $(MAKE); $(unstage)
9220 @[ -f ./flex/Makefile ] || exit 0; \
9221 r=`${PWD_COMMAND}`; export r; \
9222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9223 $(HOST_EXPORTS) \
9224 for flag in $(EXTRA_HOST_FLAGS) ; do \
9225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9226 done; \
9227 echo "Doing clean in flex"; \
9228 (cd $(HOST_SUBDIR)/flex && \
9229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9231 "RANLIB=$${RANLIB}" \
9232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9233 clean) \
9234 || exit 1
9236 @endif flex
9238 .PHONY: maybe-distclean-flex distclean-flex
9239 maybe-distclean-flex:
9240 @if flex
9241 maybe-distclean-flex: distclean-flex
9243 distclean-flex:
9244 @: $(MAKE); $(unstage)
9245 @[ -f ./flex/Makefile ] || exit 0; \
9246 r=`${PWD_COMMAND}`; export r; \
9247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9248 $(HOST_EXPORTS) \
9249 for flag in $(EXTRA_HOST_FLAGS) ; do \
9250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9251 done; \
9252 echo "Doing distclean in flex"; \
9253 (cd $(HOST_SUBDIR)/flex && \
9254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9256 "RANLIB=$${RANLIB}" \
9257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9258 distclean) \
9259 || exit 1
9261 @endif flex
9263 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
9264 maybe-maintainer-clean-flex:
9265 @if flex
9266 maybe-maintainer-clean-flex: maintainer-clean-flex
9268 maintainer-clean-flex:
9269 @: $(MAKE); $(unstage)
9270 @[ -f ./flex/Makefile ] || exit 0; \
9271 r=`${PWD_COMMAND}`; export r; \
9272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9273 $(HOST_EXPORTS) \
9274 for flag in $(EXTRA_HOST_FLAGS) ; do \
9275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9276 done; \
9277 echo "Doing maintainer-clean in flex"; \
9278 (cd $(HOST_SUBDIR)/flex && \
9279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9281 "RANLIB=$${RANLIB}" \
9282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9283 maintainer-clean) \
9284 || exit 1
9286 @endif flex
9290 .PHONY: configure-gas maybe-configure-gas
9291 maybe-configure-gas:
9292 @if gcc-bootstrap
9293 configure-gas: stage_current
9294 @endif gcc-bootstrap
9295 @if gas
9296 maybe-configure-gas: configure-gas
9297 configure-gas:
9298 @r=`${PWD_COMMAND}`; export r; \
9299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9300 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9301 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
9302 $(HOST_EXPORTS) \
9303 echo Configuring in $(HOST_SUBDIR)/gas; \
9304 cd "$(HOST_SUBDIR)/gas" || exit 1; \
9305 case $(srcdir) in \
9306 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9307 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9308 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9309 esac; \
9310 module_srcdir=gas; \
9311 $(SHELL) \
9312 $$s/$$module_srcdir/configure \
9313 --srcdir=$${topdir}/$$module_srcdir \
9314 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9315 --target=${target_alias} \
9316 || exit 1
9317 @endif gas
9321 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
9322 maybe-configure-stage1-gas:
9323 @if gas-bootstrap
9324 maybe-configure-stage1-gas: configure-stage1-gas
9325 configure-stage1-gas:
9326 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9327 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9328 @r=`${PWD_COMMAND}`; export r; \
9329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9330 TFLAGS="$(STAGE1_TFLAGS)"; \
9331 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9332 $(HOST_EXPORTS) \
9333 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
9334 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
9335 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
9336 echo Configuring stage 1 in $(HOST_SUBDIR)/gas; \
9337 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
9338 cd $(HOST_SUBDIR)/gas || exit 1; \
9339 case $(srcdir) in \
9340 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9341 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9342 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9343 esac; \
9344 module_srcdir=gas; \
9345 $(SHELL) $$s/$$module_srcdir/configure \
9346 --srcdir=$${topdir}/$$module_srcdir \
9347 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9348 --target=${target_alias} \
9350 $(STAGE1_CONFIGURE_FLAGS)
9351 @endif gas-bootstrap
9353 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
9354 maybe-configure-stage2-gas:
9355 @if gas-bootstrap
9356 maybe-configure-stage2-gas: configure-stage2-gas
9357 configure-stage2-gas:
9358 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9359 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9360 @r=`${PWD_COMMAND}`; export r; \
9361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9362 TFLAGS="$(STAGE2_TFLAGS)"; \
9363 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9364 $(HOST_EXPORTS) \
9365 $(POSTSTAGE1_HOST_EXPORTS) \
9366 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
9367 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
9368 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
9369 echo Configuring stage 2 in $(HOST_SUBDIR)/gas; \
9370 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
9371 cd $(HOST_SUBDIR)/gas || exit 1; \
9372 case $(srcdir) in \
9373 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9374 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9375 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9376 esac; \
9377 module_srcdir=gas; \
9378 $(SHELL) $$s/$$module_srcdir/configure \
9379 --srcdir=$${topdir}/$$module_srcdir \
9380 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9381 --target=${target_alias} \
9382 --with-build-libsubdir=$(HOST_SUBDIR) \
9383 $(STAGE2_CONFIGURE_FLAGS)
9384 @endif gas-bootstrap
9386 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
9387 maybe-configure-stage3-gas:
9388 @if gas-bootstrap
9389 maybe-configure-stage3-gas: configure-stage3-gas
9390 configure-stage3-gas:
9391 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9392 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9393 @r=`${PWD_COMMAND}`; export r; \
9394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9395 TFLAGS="$(STAGE3_TFLAGS)"; \
9396 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9397 $(HOST_EXPORTS) \
9398 $(POSTSTAGE1_HOST_EXPORTS) \
9399 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
9400 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
9401 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
9402 echo Configuring stage 3 in $(HOST_SUBDIR)/gas; \
9403 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
9404 cd $(HOST_SUBDIR)/gas || exit 1; \
9405 case $(srcdir) in \
9406 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9407 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9408 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9409 esac; \
9410 module_srcdir=gas; \
9411 $(SHELL) $$s/$$module_srcdir/configure \
9412 --srcdir=$${topdir}/$$module_srcdir \
9413 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9414 --target=${target_alias} \
9415 --with-build-libsubdir=$(HOST_SUBDIR) \
9416 $(STAGE3_CONFIGURE_FLAGS)
9417 @endif gas-bootstrap
9419 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
9420 maybe-configure-stage4-gas:
9421 @if gas-bootstrap
9422 maybe-configure-stage4-gas: configure-stage4-gas
9423 configure-stage4-gas:
9424 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9425 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9426 @r=`${PWD_COMMAND}`; export r; \
9427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9428 TFLAGS="$(STAGE4_TFLAGS)"; \
9429 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9430 $(HOST_EXPORTS) \
9431 $(POSTSTAGE1_HOST_EXPORTS) \
9432 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
9433 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
9434 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
9435 echo Configuring stage 4 in $(HOST_SUBDIR)/gas; \
9436 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
9437 cd $(HOST_SUBDIR)/gas || exit 1; \
9438 case $(srcdir) in \
9439 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9440 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9441 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9442 esac; \
9443 module_srcdir=gas; \
9444 $(SHELL) $$s/$$module_srcdir/configure \
9445 --srcdir=$${topdir}/$$module_srcdir \
9446 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9447 --target=${target_alias} \
9448 --with-build-libsubdir=$(HOST_SUBDIR) \
9449 $(STAGE4_CONFIGURE_FLAGS)
9450 @endif gas-bootstrap
9452 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
9453 maybe-configure-stageprofile-gas:
9454 @if gas-bootstrap
9455 maybe-configure-stageprofile-gas: configure-stageprofile-gas
9456 configure-stageprofile-gas:
9457 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9458 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9459 @r=`${PWD_COMMAND}`; export r; \
9460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9461 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9462 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9463 $(HOST_EXPORTS) \
9464 $(POSTSTAGE1_HOST_EXPORTS) \
9465 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
9466 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
9467 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
9468 echo Configuring stage profile in $(HOST_SUBDIR)/gas; \
9469 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
9470 cd $(HOST_SUBDIR)/gas || exit 1; \
9471 case $(srcdir) in \
9472 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9473 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9474 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9475 esac; \
9476 module_srcdir=gas; \
9477 $(SHELL) $$s/$$module_srcdir/configure \
9478 --srcdir=$${topdir}/$$module_srcdir \
9479 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9480 --target=${target_alias} \
9481 --with-build-libsubdir=$(HOST_SUBDIR) \
9482 $(STAGEprofile_CONFIGURE_FLAGS)
9483 @endif gas-bootstrap
9485 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
9486 maybe-configure-stagefeedback-gas:
9487 @if gas-bootstrap
9488 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
9489 configure-stagefeedback-gas:
9490 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9491 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9492 @r=`${PWD_COMMAND}`; export r; \
9493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9494 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9495 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9496 $(HOST_EXPORTS) \
9497 $(POSTSTAGE1_HOST_EXPORTS) \
9498 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
9499 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
9500 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
9501 echo Configuring stage feedback in $(HOST_SUBDIR)/gas; \
9502 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
9503 cd $(HOST_SUBDIR)/gas || exit 1; \
9504 case $(srcdir) in \
9505 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9506 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9507 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9508 esac; \
9509 module_srcdir=gas; \
9510 $(SHELL) $$s/$$module_srcdir/configure \
9511 --srcdir=$${topdir}/$$module_srcdir \
9512 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9513 --target=${target_alias} \
9514 --with-build-libsubdir=$(HOST_SUBDIR) \
9515 $(STAGEfeedback_CONFIGURE_FLAGS)
9516 @endif gas-bootstrap
9522 .PHONY: all-gas maybe-all-gas
9523 maybe-all-gas:
9524 @if gcc-bootstrap
9525 all-gas: stage_current
9526 @endif gcc-bootstrap
9527 @if gas
9528 TARGET-gas=all
9529 maybe-all-gas: all-gas
9530 all-gas: configure-gas
9531 @r=`${PWD_COMMAND}`; export r; \
9532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9533 $(HOST_EXPORTS) \
9534 (cd $(HOST_SUBDIR)/gas && \
9535 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
9536 $(TARGET-gas))
9537 @endif gas
9541 .PHONY: all-stage1-gas maybe-all-stage1-gas
9542 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
9543 maybe-all-stage1-gas:
9544 maybe-clean-stage1-gas:
9545 @if gas-bootstrap
9546 maybe-all-stage1-gas: all-stage1-gas
9547 all-stage1: all-stage1-gas
9548 TARGET-stage1-gas = $(TARGET-gas)
9549 all-stage1-gas: configure-stage1-gas
9550 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9551 @r=`${PWD_COMMAND}`; export r; \
9552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9553 TFLAGS="$(STAGE1_TFLAGS)"; \
9554 $(HOST_EXPORTS) \
9555 cd $(HOST_SUBDIR)/gas && \
9556 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9557 CFLAGS="$(STAGE1_CFLAGS)" \
9558 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
9559 LIBCFLAGS="$(LIBCFLAGS)" \
9560 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9561 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9562 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9563 $(EXTRA_HOST_FLAGS) \
9564 $(STAGE1_FLAGS_TO_PASS) \
9565 TFLAGS="$(STAGE1_TFLAGS)" \
9566 $(TARGET-stage1-gas)
9568 maybe-clean-stage1-gas: clean-stage1-gas
9569 clean-stage1: clean-stage1-gas
9570 clean-stage1-gas:
9571 @if [ $(current_stage) = stage1 ]; then \
9572 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9573 else \
9574 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
9575 $(MAKE) stage1-start; \
9576 fi; \
9577 cd $(HOST_SUBDIR)/gas && \
9578 $(MAKE) $(EXTRA_HOST_FLAGS) \
9579 $(STAGE1_FLAGS_TO_PASS) clean
9580 @endif gas-bootstrap
9583 .PHONY: all-stage2-gas maybe-all-stage2-gas
9584 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
9585 maybe-all-stage2-gas:
9586 maybe-clean-stage2-gas:
9587 @if gas-bootstrap
9588 maybe-all-stage2-gas: all-stage2-gas
9589 all-stage2: all-stage2-gas
9590 TARGET-stage2-gas = $(TARGET-gas)
9591 all-stage2-gas: configure-stage2-gas
9592 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9593 @r=`${PWD_COMMAND}`; export r; \
9594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9595 TFLAGS="$(STAGE2_TFLAGS)"; \
9596 $(HOST_EXPORTS) \
9597 $(POSTSTAGE1_HOST_EXPORTS) \
9598 cd $(HOST_SUBDIR)/gas && \
9599 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9600 CFLAGS="$(STAGE2_CFLAGS)" \
9601 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
9602 LIBCFLAGS="$(STAGE2_CFLAGS)" \
9603 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9604 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9605 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9606 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9607 TFLAGS="$(STAGE2_TFLAGS)" \
9608 $(TARGET-stage2-gas)
9610 maybe-clean-stage2-gas: clean-stage2-gas
9611 clean-stage2: clean-stage2-gas
9612 clean-stage2-gas:
9613 @if [ $(current_stage) = stage2 ]; then \
9614 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9615 else \
9616 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
9617 $(MAKE) stage2-start; \
9618 fi; \
9619 cd $(HOST_SUBDIR)/gas && \
9620 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9621 @endif gas-bootstrap
9624 .PHONY: all-stage3-gas maybe-all-stage3-gas
9625 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
9626 maybe-all-stage3-gas:
9627 maybe-clean-stage3-gas:
9628 @if gas-bootstrap
9629 maybe-all-stage3-gas: all-stage3-gas
9630 all-stage3: all-stage3-gas
9631 TARGET-stage3-gas = $(TARGET-gas)
9632 all-stage3-gas: configure-stage3-gas
9633 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9634 @r=`${PWD_COMMAND}`; export r; \
9635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9636 TFLAGS="$(STAGE3_TFLAGS)"; \
9637 $(HOST_EXPORTS) \
9638 $(POSTSTAGE1_HOST_EXPORTS) \
9639 cd $(HOST_SUBDIR)/gas && \
9640 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9641 CFLAGS="$(STAGE3_CFLAGS)" \
9642 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
9643 LIBCFLAGS="$(STAGE3_CFLAGS)" \
9644 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9645 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9646 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9647 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9648 TFLAGS="$(STAGE3_TFLAGS)" \
9649 $(TARGET-stage3-gas)
9651 maybe-clean-stage3-gas: clean-stage3-gas
9652 clean-stage3: clean-stage3-gas
9653 clean-stage3-gas:
9654 @if [ $(current_stage) = stage3 ]; then \
9655 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9656 else \
9657 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
9658 $(MAKE) stage3-start; \
9659 fi; \
9660 cd $(HOST_SUBDIR)/gas && \
9661 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9662 @endif gas-bootstrap
9665 .PHONY: all-stage4-gas maybe-all-stage4-gas
9666 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
9667 maybe-all-stage4-gas:
9668 maybe-clean-stage4-gas:
9669 @if gas-bootstrap
9670 maybe-all-stage4-gas: all-stage4-gas
9671 all-stage4: all-stage4-gas
9672 TARGET-stage4-gas = $(TARGET-gas)
9673 all-stage4-gas: configure-stage4-gas
9674 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9675 @r=`${PWD_COMMAND}`; export r; \
9676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9677 TFLAGS="$(STAGE4_TFLAGS)"; \
9678 $(HOST_EXPORTS) \
9679 $(POSTSTAGE1_HOST_EXPORTS) \
9680 cd $(HOST_SUBDIR)/gas && \
9681 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9682 CFLAGS="$(STAGE4_CFLAGS)" \
9683 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9684 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9685 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9686 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9687 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9688 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9689 TFLAGS="$(STAGE4_TFLAGS)" \
9690 $(TARGET-stage4-gas)
9692 maybe-clean-stage4-gas: clean-stage4-gas
9693 clean-stage4: clean-stage4-gas
9694 clean-stage4-gas:
9695 @if [ $(current_stage) = stage4 ]; then \
9696 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9697 else \
9698 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
9699 $(MAKE) stage4-start; \
9700 fi; \
9701 cd $(HOST_SUBDIR)/gas && \
9702 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9703 @endif gas-bootstrap
9706 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
9707 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
9708 maybe-all-stageprofile-gas:
9709 maybe-clean-stageprofile-gas:
9710 @if gas-bootstrap
9711 maybe-all-stageprofile-gas: all-stageprofile-gas
9712 all-stageprofile: all-stageprofile-gas
9713 TARGET-stageprofile-gas = $(TARGET-gas)
9714 all-stageprofile-gas: configure-stageprofile-gas
9715 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9716 @r=`${PWD_COMMAND}`; export r; \
9717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9718 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9719 $(HOST_EXPORTS) \
9720 $(POSTSTAGE1_HOST_EXPORTS) \
9721 cd $(HOST_SUBDIR)/gas && \
9722 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9723 CFLAGS="$(STAGEprofile_CFLAGS)" \
9724 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9725 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9726 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9727 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9728 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9729 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9730 TFLAGS="$(STAGEprofile_TFLAGS)" \
9731 $(TARGET-stageprofile-gas)
9733 maybe-clean-stageprofile-gas: clean-stageprofile-gas
9734 clean-stageprofile: clean-stageprofile-gas
9735 clean-stageprofile-gas:
9736 @if [ $(current_stage) = stageprofile ]; then \
9737 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9738 else \
9739 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
9740 $(MAKE) stageprofile-start; \
9741 fi; \
9742 cd $(HOST_SUBDIR)/gas && \
9743 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9744 @endif gas-bootstrap
9747 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
9748 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
9749 maybe-all-stagefeedback-gas:
9750 maybe-clean-stagefeedback-gas:
9751 @if gas-bootstrap
9752 maybe-all-stagefeedback-gas: all-stagefeedback-gas
9753 all-stagefeedback: all-stagefeedback-gas
9754 TARGET-stagefeedback-gas = $(TARGET-gas)
9755 all-stagefeedback-gas: configure-stagefeedback-gas
9756 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9757 @r=`${PWD_COMMAND}`; export r; \
9758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9759 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9760 $(HOST_EXPORTS) \
9761 $(POSTSTAGE1_HOST_EXPORTS) \
9762 cd $(HOST_SUBDIR)/gas && \
9763 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9764 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9765 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9766 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9767 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9768 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9769 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9770 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9771 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9772 $(TARGET-stagefeedback-gas)
9774 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
9775 clean-stagefeedback: clean-stagefeedback-gas
9776 clean-stagefeedback-gas:
9777 @if [ $(current_stage) = stagefeedback ]; then \
9778 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9779 else \
9780 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
9781 $(MAKE) stagefeedback-start; \
9782 fi; \
9783 cd $(HOST_SUBDIR)/gas && \
9784 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9785 @endif gas-bootstrap
9791 .PHONY: check-gas maybe-check-gas
9792 maybe-check-gas:
9793 @if gas
9794 maybe-check-gas: check-gas
9796 check-gas:
9797 @: $(MAKE); $(unstage)
9798 @r=`${PWD_COMMAND}`; export r; \
9799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9800 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
9801 (cd $(HOST_SUBDIR)/gas && \
9802 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
9804 @endif gas
9806 .PHONY: install-gas maybe-install-gas
9807 maybe-install-gas:
9808 @if gas
9809 maybe-install-gas: install-gas
9811 install-gas: installdirs
9812 @: $(MAKE); $(unstage)
9813 @r=`${PWD_COMMAND}`; export r; \
9814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9815 $(HOST_EXPORTS) \
9816 (cd $(HOST_SUBDIR)/gas && \
9817 $(MAKE) $(FLAGS_TO_PASS) install)
9819 @endif gas
9821 .PHONY: install-strip-gas maybe-install-strip-gas
9822 maybe-install-strip-gas:
9823 @if gas
9824 maybe-install-strip-gas: install-strip-gas
9826 install-strip-gas: installdirs
9827 @: $(MAKE); $(unstage)
9828 @r=`${PWD_COMMAND}`; export r; \
9829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9830 $(HOST_EXPORTS) \
9831 (cd $(HOST_SUBDIR)/gas && \
9832 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9834 @endif gas
9836 # Other targets (info, dvi, pdf, etc.)
9838 .PHONY: maybe-info-gas info-gas
9839 maybe-info-gas:
9840 @if gas
9841 maybe-info-gas: info-gas
9843 info-gas: \
9844 configure-gas
9845 @[ -f ./gas/Makefile ] || exit 0; \
9846 r=`${PWD_COMMAND}`; export r; \
9847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9848 $(HOST_EXPORTS) \
9849 for flag in $(EXTRA_HOST_FLAGS) ; do \
9850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9851 done; \
9852 echo "Doing info in gas"; \
9853 (cd $(HOST_SUBDIR)/gas && \
9854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9856 "RANLIB=$${RANLIB}" \
9857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9858 info) \
9859 || exit 1
9861 @endif gas
9863 .PHONY: maybe-dvi-gas dvi-gas
9864 maybe-dvi-gas:
9865 @if gas
9866 maybe-dvi-gas: dvi-gas
9868 dvi-gas: \
9869 configure-gas
9870 @[ -f ./gas/Makefile ] || exit 0; \
9871 r=`${PWD_COMMAND}`; export r; \
9872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9873 $(HOST_EXPORTS) \
9874 for flag in $(EXTRA_HOST_FLAGS) ; do \
9875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9876 done; \
9877 echo "Doing dvi in gas"; \
9878 (cd $(HOST_SUBDIR)/gas && \
9879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9881 "RANLIB=$${RANLIB}" \
9882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9883 dvi) \
9884 || exit 1
9886 @endif gas
9888 .PHONY: maybe-pdf-gas pdf-gas
9889 maybe-pdf-gas:
9890 @if gas
9891 maybe-pdf-gas: pdf-gas
9893 pdf-gas: \
9894 configure-gas
9895 @[ -f ./gas/Makefile ] || exit 0; \
9896 r=`${PWD_COMMAND}`; export r; \
9897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9898 $(HOST_EXPORTS) \
9899 for flag in $(EXTRA_HOST_FLAGS) ; do \
9900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9901 done; \
9902 echo "Doing pdf in gas"; \
9903 (cd $(HOST_SUBDIR)/gas && \
9904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9906 "RANLIB=$${RANLIB}" \
9907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9908 pdf) \
9909 || exit 1
9911 @endif gas
9913 .PHONY: maybe-html-gas html-gas
9914 maybe-html-gas:
9915 @if gas
9916 maybe-html-gas: html-gas
9918 html-gas: \
9919 configure-gas
9920 @[ -f ./gas/Makefile ] || exit 0; \
9921 r=`${PWD_COMMAND}`; export r; \
9922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9923 $(HOST_EXPORTS) \
9924 for flag in $(EXTRA_HOST_FLAGS) ; do \
9925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9926 done; \
9927 echo "Doing html in gas"; \
9928 (cd $(HOST_SUBDIR)/gas && \
9929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9931 "RANLIB=$${RANLIB}" \
9932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9933 html) \
9934 || exit 1
9936 @endif gas
9938 .PHONY: maybe-TAGS-gas TAGS-gas
9939 maybe-TAGS-gas:
9940 @if gas
9941 maybe-TAGS-gas: TAGS-gas
9943 TAGS-gas: \
9944 configure-gas
9945 @[ -f ./gas/Makefile ] || exit 0; \
9946 r=`${PWD_COMMAND}`; export r; \
9947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9948 $(HOST_EXPORTS) \
9949 for flag in $(EXTRA_HOST_FLAGS) ; do \
9950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9951 done; \
9952 echo "Doing TAGS in gas"; \
9953 (cd $(HOST_SUBDIR)/gas && \
9954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9956 "RANLIB=$${RANLIB}" \
9957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9958 TAGS) \
9959 || exit 1
9961 @endif gas
9963 .PHONY: maybe-install-info-gas install-info-gas
9964 maybe-install-info-gas:
9965 @if gas
9966 maybe-install-info-gas: install-info-gas
9968 install-info-gas: \
9969 configure-gas \
9970 info-gas
9971 @[ -f ./gas/Makefile ] || exit 0; \
9972 r=`${PWD_COMMAND}`; export r; \
9973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9974 $(HOST_EXPORTS) \
9975 for flag in $(EXTRA_HOST_FLAGS) ; do \
9976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9977 done; \
9978 echo "Doing install-info in gas"; \
9979 (cd $(HOST_SUBDIR)/gas && \
9980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9982 "RANLIB=$${RANLIB}" \
9983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9984 install-info) \
9985 || exit 1
9987 @endif gas
9989 .PHONY: maybe-install-pdf-gas install-pdf-gas
9990 maybe-install-pdf-gas:
9991 @if gas
9992 maybe-install-pdf-gas: install-pdf-gas
9994 install-pdf-gas: \
9995 configure-gas \
9996 pdf-gas
9997 @[ -f ./gas/Makefile ] || exit 0; \
9998 r=`${PWD_COMMAND}`; export r; \
9999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10000 $(HOST_EXPORTS) \
10001 for flag in $(EXTRA_HOST_FLAGS) ; do \
10002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10003 done; \
10004 echo "Doing install-pdf in gas"; \
10005 (cd $(HOST_SUBDIR)/gas && \
10006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10008 "RANLIB=$${RANLIB}" \
10009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10010 install-pdf) \
10011 || exit 1
10013 @endif gas
10015 .PHONY: maybe-install-html-gas install-html-gas
10016 maybe-install-html-gas:
10017 @if gas
10018 maybe-install-html-gas: install-html-gas
10020 install-html-gas: \
10021 configure-gas \
10022 html-gas
10023 @[ -f ./gas/Makefile ] || exit 0; \
10024 r=`${PWD_COMMAND}`; export r; \
10025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10026 $(HOST_EXPORTS) \
10027 for flag in $(EXTRA_HOST_FLAGS) ; do \
10028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10029 done; \
10030 echo "Doing install-html in gas"; \
10031 (cd $(HOST_SUBDIR)/gas && \
10032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10034 "RANLIB=$${RANLIB}" \
10035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10036 install-html) \
10037 || exit 1
10039 @endif gas
10041 .PHONY: maybe-installcheck-gas installcheck-gas
10042 maybe-installcheck-gas:
10043 @if gas
10044 maybe-installcheck-gas: installcheck-gas
10046 installcheck-gas: \
10047 configure-gas
10048 @[ -f ./gas/Makefile ] || exit 0; \
10049 r=`${PWD_COMMAND}`; export r; \
10050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10051 $(HOST_EXPORTS) \
10052 for flag in $(EXTRA_HOST_FLAGS) ; do \
10053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10054 done; \
10055 echo "Doing installcheck in gas"; \
10056 (cd $(HOST_SUBDIR)/gas && \
10057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10059 "RANLIB=$${RANLIB}" \
10060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10061 installcheck) \
10062 || exit 1
10064 @endif gas
10066 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
10067 maybe-mostlyclean-gas:
10068 @if gas
10069 maybe-mostlyclean-gas: mostlyclean-gas
10071 mostlyclean-gas:
10072 @[ -f ./gas/Makefile ] || exit 0; \
10073 r=`${PWD_COMMAND}`; export r; \
10074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10075 $(HOST_EXPORTS) \
10076 for flag in $(EXTRA_HOST_FLAGS) ; do \
10077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10078 done; \
10079 echo "Doing mostlyclean in gas"; \
10080 (cd $(HOST_SUBDIR)/gas && \
10081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10083 "RANLIB=$${RANLIB}" \
10084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10085 mostlyclean) \
10086 || exit 1
10088 @endif gas
10090 .PHONY: maybe-clean-gas clean-gas
10091 maybe-clean-gas:
10092 @if gas
10093 maybe-clean-gas: clean-gas
10095 clean-gas:
10096 @[ -f ./gas/Makefile ] || exit 0; \
10097 r=`${PWD_COMMAND}`; export r; \
10098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10099 $(HOST_EXPORTS) \
10100 for flag in $(EXTRA_HOST_FLAGS) ; do \
10101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10102 done; \
10103 echo "Doing clean in gas"; \
10104 (cd $(HOST_SUBDIR)/gas && \
10105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10107 "RANLIB=$${RANLIB}" \
10108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10109 clean) \
10110 || exit 1
10112 @endif gas
10114 .PHONY: maybe-distclean-gas distclean-gas
10115 maybe-distclean-gas:
10116 @if gas
10117 maybe-distclean-gas: distclean-gas
10119 distclean-gas:
10120 @[ -f ./gas/Makefile ] || exit 0; \
10121 r=`${PWD_COMMAND}`; export r; \
10122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10123 $(HOST_EXPORTS) \
10124 for flag in $(EXTRA_HOST_FLAGS) ; do \
10125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10126 done; \
10127 echo "Doing distclean in gas"; \
10128 (cd $(HOST_SUBDIR)/gas && \
10129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10131 "RANLIB=$${RANLIB}" \
10132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10133 distclean) \
10134 || exit 1
10136 @endif gas
10138 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
10139 maybe-maintainer-clean-gas:
10140 @if gas
10141 maybe-maintainer-clean-gas: maintainer-clean-gas
10143 maintainer-clean-gas:
10144 @[ -f ./gas/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) ; do \
10149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10150 done; \
10151 echo "Doing maintainer-clean in gas"; \
10152 (cd $(HOST_SUBDIR)/gas && \
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 maintainer-clean) \
10158 || exit 1
10160 @endif gas
10164 .PHONY: configure-gcc maybe-configure-gcc
10165 maybe-configure-gcc:
10166 @if gcc-bootstrap
10167 configure-gcc: stage_current
10168 @endif gcc-bootstrap
10169 @if gcc
10170 maybe-configure-gcc: configure-gcc
10171 configure-gcc:
10172 @r=`${PWD_COMMAND}`; export r; \
10173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10174 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10175 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
10176 $(HOST_EXPORTS) \
10177 echo Configuring in $(HOST_SUBDIR)/gcc; \
10178 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
10179 case $(srcdir) in \
10180 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10181 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10182 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10183 esac; \
10184 module_srcdir=gcc; \
10185 $(SHELL) \
10186 $$s/$$module_srcdir/configure \
10187 --srcdir=$${topdir}/$$module_srcdir \
10188 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10189 --target=${target_alias} \
10190 || exit 1
10191 @endif gcc
10195 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
10196 maybe-configure-stage1-gcc:
10197 @if gcc-bootstrap
10198 maybe-configure-stage1-gcc: configure-stage1-gcc
10199 configure-stage1-gcc:
10200 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10201 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10202 @r=`${PWD_COMMAND}`; export r; \
10203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10204 TFLAGS="$(STAGE1_TFLAGS)"; \
10205 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10206 $(HOST_EXPORTS) \
10207 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
10208 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
10209 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
10210 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc; \
10211 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
10212 cd $(HOST_SUBDIR)/gcc || exit 1; \
10213 case $(srcdir) in \
10214 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10215 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10216 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10217 esac; \
10218 module_srcdir=gcc; \
10219 $(SHELL) $$s/$$module_srcdir/configure \
10220 --srcdir=$${topdir}/$$module_srcdir \
10221 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10222 --target=${target_alias} \
10224 $(STAGE1_CONFIGURE_FLAGS)
10225 @endif gcc-bootstrap
10227 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
10228 maybe-configure-stage2-gcc:
10229 @if gcc-bootstrap
10230 maybe-configure-stage2-gcc: configure-stage2-gcc
10231 configure-stage2-gcc:
10232 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10233 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10234 @r=`${PWD_COMMAND}`; export r; \
10235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10236 TFLAGS="$(STAGE2_TFLAGS)"; \
10237 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10238 $(HOST_EXPORTS) \
10239 $(POSTSTAGE1_HOST_EXPORTS) \
10240 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
10241 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
10242 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
10243 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc; \
10244 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
10245 cd $(HOST_SUBDIR)/gcc || exit 1; \
10246 case $(srcdir) in \
10247 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10248 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10249 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10250 esac; \
10251 module_srcdir=gcc; \
10252 $(SHELL) $$s/$$module_srcdir/configure \
10253 --srcdir=$${topdir}/$$module_srcdir \
10254 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10255 --target=${target_alias} \
10256 --with-build-libsubdir=$(HOST_SUBDIR) \
10257 $(STAGE2_CONFIGURE_FLAGS)
10258 @endif gcc-bootstrap
10260 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
10261 maybe-configure-stage3-gcc:
10262 @if gcc-bootstrap
10263 maybe-configure-stage3-gcc: configure-stage3-gcc
10264 configure-stage3-gcc:
10265 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10266 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10267 @r=`${PWD_COMMAND}`; export r; \
10268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10269 TFLAGS="$(STAGE3_TFLAGS)"; \
10270 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10271 $(HOST_EXPORTS) \
10272 $(POSTSTAGE1_HOST_EXPORTS) \
10273 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
10274 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
10275 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
10276 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc; \
10277 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
10278 cd $(HOST_SUBDIR)/gcc || exit 1; \
10279 case $(srcdir) in \
10280 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10281 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10282 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10283 esac; \
10284 module_srcdir=gcc; \
10285 $(SHELL) $$s/$$module_srcdir/configure \
10286 --srcdir=$${topdir}/$$module_srcdir \
10287 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10288 --target=${target_alias} \
10289 --with-build-libsubdir=$(HOST_SUBDIR) \
10290 $(STAGE3_CONFIGURE_FLAGS)
10291 @endif gcc-bootstrap
10293 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
10294 maybe-configure-stage4-gcc:
10295 @if gcc-bootstrap
10296 maybe-configure-stage4-gcc: configure-stage4-gcc
10297 configure-stage4-gcc:
10298 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10299 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10300 @r=`${PWD_COMMAND}`; export r; \
10301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10302 TFLAGS="$(STAGE4_TFLAGS)"; \
10303 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10304 $(HOST_EXPORTS) \
10305 $(POSTSTAGE1_HOST_EXPORTS) \
10306 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
10307 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
10308 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
10309 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc; \
10310 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
10311 cd $(HOST_SUBDIR)/gcc || exit 1; \
10312 case $(srcdir) in \
10313 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10314 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10315 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10316 esac; \
10317 module_srcdir=gcc; \
10318 $(SHELL) $$s/$$module_srcdir/configure \
10319 --srcdir=$${topdir}/$$module_srcdir \
10320 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10321 --target=${target_alias} \
10322 --with-build-libsubdir=$(HOST_SUBDIR) \
10323 $(STAGE4_CONFIGURE_FLAGS)
10324 @endif gcc-bootstrap
10326 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
10327 maybe-configure-stageprofile-gcc:
10328 @if gcc-bootstrap
10329 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
10330 configure-stageprofile-gcc:
10331 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10332 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10333 @r=`${PWD_COMMAND}`; export r; \
10334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10335 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10336 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10337 $(HOST_EXPORTS) \
10338 $(POSTSTAGE1_HOST_EXPORTS) \
10339 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
10340 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
10341 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
10342 echo Configuring stage profile in $(HOST_SUBDIR)/gcc; \
10343 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
10344 cd $(HOST_SUBDIR)/gcc || exit 1; \
10345 case $(srcdir) in \
10346 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10347 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10348 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10349 esac; \
10350 module_srcdir=gcc; \
10351 $(SHELL) $$s/$$module_srcdir/configure \
10352 --srcdir=$${topdir}/$$module_srcdir \
10353 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10354 --target=${target_alias} \
10355 --with-build-libsubdir=$(HOST_SUBDIR) \
10356 $(STAGEprofile_CONFIGURE_FLAGS)
10357 @endif gcc-bootstrap
10359 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
10360 maybe-configure-stagefeedback-gcc:
10361 @if gcc-bootstrap
10362 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
10363 configure-stagefeedback-gcc:
10364 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10365 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10366 @r=`${PWD_COMMAND}`; export r; \
10367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10368 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10369 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10370 $(HOST_EXPORTS) \
10371 $(POSTSTAGE1_HOST_EXPORTS) \
10372 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
10373 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
10374 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
10375 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc; \
10376 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
10377 cd $(HOST_SUBDIR)/gcc || exit 1; \
10378 case $(srcdir) in \
10379 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10380 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10381 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10382 esac; \
10383 module_srcdir=gcc; \
10384 $(SHELL) $$s/$$module_srcdir/configure \
10385 --srcdir=$${topdir}/$$module_srcdir \
10386 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10387 --target=${target_alias} \
10388 --with-build-libsubdir=$(HOST_SUBDIR) \
10389 $(STAGEfeedback_CONFIGURE_FLAGS)
10390 @endif gcc-bootstrap
10396 .PHONY: all-gcc maybe-all-gcc
10397 maybe-all-gcc:
10398 @if gcc-bootstrap
10399 all-gcc: stage_current
10400 @endif gcc-bootstrap
10401 @if gcc
10402 TARGET-gcc=all
10403 maybe-all-gcc: all-gcc
10404 all-gcc: configure-gcc
10405 @r=`${PWD_COMMAND}`; export r; \
10406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10407 $(HOST_EXPORTS) \
10408 (cd $(HOST_SUBDIR)/gcc && \
10409 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10410 $(TARGET-gcc))
10411 @endif gcc
10415 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
10416 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
10417 maybe-all-stage1-gcc:
10418 maybe-clean-stage1-gcc:
10419 @if gcc-bootstrap
10420 maybe-all-stage1-gcc: all-stage1-gcc
10421 all-stage1: all-stage1-gcc
10422 TARGET-stage1-gcc = $(TARGET-gcc)
10423 all-stage1-gcc: configure-stage1-gcc
10424 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10425 @r=`${PWD_COMMAND}`; export r; \
10426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10427 TFLAGS="$(STAGE1_TFLAGS)"; \
10428 $(HOST_EXPORTS) \
10429 cd $(HOST_SUBDIR)/gcc && \
10430 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10431 CFLAGS="$(STAGE1_CFLAGS)" \
10432 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
10433 LIBCFLAGS="$(LIBCFLAGS)" \
10434 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10435 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10436 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10437 $(EXTRA_HOST_FLAGS) \
10438 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10439 TFLAGS="$(STAGE1_TFLAGS)" \
10440 $(TARGET-stage1-gcc)
10442 maybe-clean-stage1-gcc: clean-stage1-gcc
10443 clean-stage1: clean-stage1-gcc
10444 clean-stage1-gcc:
10445 @if [ $(current_stage) = stage1 ]; then \
10446 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10447 else \
10448 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
10449 $(MAKE) stage1-start; \
10450 fi; \
10451 cd $(HOST_SUBDIR)/gcc && \
10452 $(MAKE) $(EXTRA_HOST_FLAGS) \
10453 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10454 @endif gcc-bootstrap
10457 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
10458 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
10459 maybe-all-stage2-gcc:
10460 maybe-clean-stage2-gcc:
10461 @if gcc-bootstrap
10462 maybe-all-stage2-gcc: all-stage2-gcc
10463 all-stage2: all-stage2-gcc
10464 TARGET-stage2-gcc = $(TARGET-gcc)
10465 all-stage2-gcc: configure-stage2-gcc
10466 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10467 @r=`${PWD_COMMAND}`; export r; \
10468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10469 TFLAGS="$(STAGE2_TFLAGS)"; \
10470 $(HOST_EXPORTS) \
10471 $(POSTSTAGE1_HOST_EXPORTS) \
10472 cd $(HOST_SUBDIR)/gcc && \
10473 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10474 CFLAGS="$(STAGE2_CFLAGS)" \
10475 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
10476 LIBCFLAGS="$(STAGE2_CFLAGS)" \
10477 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10478 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10479 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10480 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10481 TFLAGS="$(STAGE2_TFLAGS)" \
10482 $(TARGET-stage2-gcc)
10484 maybe-clean-stage2-gcc: clean-stage2-gcc
10485 clean-stage2: clean-stage2-gcc
10486 clean-stage2-gcc:
10487 @if [ $(current_stage) = stage2 ]; then \
10488 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10489 else \
10490 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
10491 $(MAKE) stage2-start; \
10492 fi; \
10493 cd $(HOST_SUBDIR)/gcc && \
10494 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10495 @endif gcc-bootstrap
10498 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
10499 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
10500 maybe-all-stage3-gcc:
10501 maybe-clean-stage3-gcc:
10502 @if gcc-bootstrap
10503 maybe-all-stage3-gcc: all-stage3-gcc
10504 all-stage3: all-stage3-gcc
10505 TARGET-stage3-gcc = $(TARGET-gcc)
10506 all-stage3-gcc: configure-stage3-gcc
10507 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10508 @r=`${PWD_COMMAND}`; export r; \
10509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10510 TFLAGS="$(STAGE3_TFLAGS)"; \
10511 $(HOST_EXPORTS) \
10512 $(POSTSTAGE1_HOST_EXPORTS) \
10513 cd $(HOST_SUBDIR)/gcc && \
10514 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10515 CFLAGS="$(STAGE3_CFLAGS)" \
10516 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
10517 LIBCFLAGS="$(STAGE3_CFLAGS)" \
10518 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10519 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10520 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10521 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10522 TFLAGS="$(STAGE3_TFLAGS)" \
10523 $(TARGET-stage3-gcc)
10525 maybe-clean-stage3-gcc: clean-stage3-gcc
10526 clean-stage3: clean-stage3-gcc
10527 clean-stage3-gcc:
10528 @if [ $(current_stage) = stage3 ]; then \
10529 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10530 else \
10531 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
10532 $(MAKE) stage3-start; \
10533 fi; \
10534 cd $(HOST_SUBDIR)/gcc && \
10535 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10536 @endif gcc-bootstrap
10539 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
10540 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
10541 maybe-all-stage4-gcc:
10542 maybe-clean-stage4-gcc:
10543 @if gcc-bootstrap
10544 maybe-all-stage4-gcc: all-stage4-gcc
10545 all-stage4: all-stage4-gcc
10546 TARGET-stage4-gcc = $(TARGET-gcc)
10547 all-stage4-gcc: configure-stage4-gcc
10548 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10549 @r=`${PWD_COMMAND}`; export r; \
10550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10551 TFLAGS="$(STAGE4_TFLAGS)"; \
10552 $(HOST_EXPORTS) \
10553 $(POSTSTAGE1_HOST_EXPORTS) \
10554 cd $(HOST_SUBDIR)/gcc && \
10555 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10556 CFLAGS="$(STAGE4_CFLAGS)" \
10557 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
10558 LIBCFLAGS="$(STAGE4_CFLAGS)" \
10559 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10560 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10561 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10562 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10563 TFLAGS="$(STAGE4_TFLAGS)" \
10564 $(TARGET-stage4-gcc)
10566 maybe-clean-stage4-gcc: clean-stage4-gcc
10567 clean-stage4: clean-stage4-gcc
10568 clean-stage4-gcc:
10569 @if [ $(current_stage) = stage4 ]; then \
10570 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10571 else \
10572 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
10573 $(MAKE) stage4-start; \
10574 fi; \
10575 cd $(HOST_SUBDIR)/gcc && \
10576 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10577 @endif gcc-bootstrap
10580 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
10581 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
10582 maybe-all-stageprofile-gcc:
10583 maybe-clean-stageprofile-gcc:
10584 @if gcc-bootstrap
10585 maybe-all-stageprofile-gcc: all-stageprofile-gcc
10586 all-stageprofile: all-stageprofile-gcc
10587 TARGET-stageprofile-gcc = $(TARGET-gcc)
10588 all-stageprofile-gcc: configure-stageprofile-gcc
10589 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10590 @r=`${PWD_COMMAND}`; export r; \
10591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10592 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10593 $(HOST_EXPORTS) \
10594 $(POSTSTAGE1_HOST_EXPORTS) \
10595 cd $(HOST_SUBDIR)/gcc && \
10596 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10597 CFLAGS="$(STAGEprofile_CFLAGS)" \
10598 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
10599 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
10600 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10601 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10602 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10603 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10604 TFLAGS="$(STAGEprofile_TFLAGS)" \
10605 $(TARGET-stageprofile-gcc)
10607 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
10608 clean-stageprofile: clean-stageprofile-gcc
10609 clean-stageprofile-gcc:
10610 @if [ $(current_stage) = stageprofile ]; then \
10611 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10612 else \
10613 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
10614 $(MAKE) stageprofile-start; \
10615 fi; \
10616 cd $(HOST_SUBDIR)/gcc && \
10617 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10618 @endif gcc-bootstrap
10621 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
10622 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
10623 maybe-all-stagefeedback-gcc:
10624 maybe-clean-stagefeedback-gcc:
10625 @if gcc-bootstrap
10626 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
10627 all-stagefeedback: all-stagefeedback-gcc
10628 TARGET-stagefeedback-gcc = $(TARGET-gcc)
10629 all-stagefeedback-gcc: configure-stagefeedback-gcc
10630 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10631 @r=`${PWD_COMMAND}`; export r; \
10632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10633 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10634 $(HOST_EXPORTS) \
10635 $(POSTSTAGE1_HOST_EXPORTS) \
10636 cd $(HOST_SUBDIR)/gcc && \
10637 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10638 CFLAGS="$(STAGEfeedback_CFLAGS)" \
10639 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
10640 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
10641 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10642 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10643 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10644 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10645 TFLAGS="$(STAGEfeedback_TFLAGS)" \
10646 $(TARGET-stagefeedback-gcc)
10648 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
10649 clean-stagefeedback: clean-stagefeedback-gcc
10650 clean-stagefeedback-gcc:
10651 @if [ $(current_stage) = stagefeedback ]; then \
10652 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10653 else \
10654 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
10655 $(MAKE) stagefeedback-start; \
10656 fi; \
10657 cd $(HOST_SUBDIR)/gcc && \
10658 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10659 @endif gcc-bootstrap
10665 .PHONY: check-gcc maybe-check-gcc
10666 maybe-check-gcc:
10667 @if gcc
10668 maybe-check-gcc: check-gcc
10670 check-gcc:
10671 @: $(MAKE); $(unstage)
10672 @r=`${PWD_COMMAND}`; export r; \
10673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10674 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
10675 (cd $(HOST_SUBDIR)/gcc && \
10676 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(EXTRA_BOOTSTRAP_FLAGS) check)
10678 @endif gcc
10680 .PHONY: install-gcc maybe-install-gcc
10681 maybe-install-gcc:
10682 @if gcc
10683 maybe-install-gcc: install-gcc
10685 install-gcc: installdirs
10686 @: $(MAKE); $(unstage)
10687 @r=`${PWD_COMMAND}`; export r; \
10688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10689 $(HOST_EXPORTS) \
10690 (cd $(HOST_SUBDIR)/gcc && \
10691 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
10693 @endif gcc
10695 .PHONY: install-strip-gcc maybe-install-strip-gcc
10696 maybe-install-strip-gcc:
10697 @if gcc
10698 maybe-install-strip-gcc: install-strip-gcc
10700 install-strip-gcc: installdirs
10701 @: $(MAKE); $(unstage)
10702 @r=`${PWD_COMMAND}`; export r; \
10703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10704 $(HOST_EXPORTS) \
10705 (cd $(HOST_SUBDIR)/gcc && \
10706 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install-strip)
10708 @endif gcc
10710 # Other targets (info, dvi, pdf, etc.)
10712 .PHONY: maybe-info-gcc info-gcc
10713 maybe-info-gcc:
10714 @if gcc
10715 maybe-info-gcc: info-gcc
10717 info-gcc: \
10718 configure-gcc
10719 @[ -f ./gcc/Makefile ] || exit 0; \
10720 r=`${PWD_COMMAND}`; export r; \
10721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10722 $(HOST_EXPORTS) \
10723 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10725 done; \
10726 echo "Doing info in gcc"; \
10727 (cd $(HOST_SUBDIR)/gcc && \
10728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10730 "RANLIB=$${RANLIB}" \
10731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10732 info) \
10733 || exit 1
10735 @endif gcc
10737 .PHONY: maybe-dvi-gcc dvi-gcc
10738 maybe-dvi-gcc:
10739 @if gcc
10740 maybe-dvi-gcc: dvi-gcc
10742 dvi-gcc: \
10743 configure-gcc
10744 @[ -f ./gcc/Makefile ] || exit 0; \
10745 r=`${PWD_COMMAND}`; export r; \
10746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10747 $(HOST_EXPORTS) \
10748 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10750 done; \
10751 echo "Doing dvi in gcc"; \
10752 (cd $(HOST_SUBDIR)/gcc && \
10753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10755 "RANLIB=$${RANLIB}" \
10756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10757 dvi) \
10758 || exit 1
10760 @endif gcc
10762 .PHONY: maybe-pdf-gcc pdf-gcc
10763 maybe-pdf-gcc:
10764 @if gcc
10765 maybe-pdf-gcc: pdf-gcc
10767 pdf-gcc: \
10768 configure-gcc
10769 @[ -f ./gcc/Makefile ] || exit 0; \
10770 r=`${PWD_COMMAND}`; export r; \
10771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10772 $(HOST_EXPORTS) \
10773 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10775 done; \
10776 echo "Doing pdf in gcc"; \
10777 (cd $(HOST_SUBDIR)/gcc && \
10778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10780 "RANLIB=$${RANLIB}" \
10781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10782 pdf) \
10783 || exit 1
10785 @endif gcc
10787 .PHONY: maybe-html-gcc html-gcc
10788 maybe-html-gcc:
10789 @if gcc
10790 maybe-html-gcc: html-gcc
10792 html-gcc: \
10793 configure-gcc
10794 @[ -f ./gcc/Makefile ] || exit 0; \
10795 r=`${PWD_COMMAND}`; export r; \
10796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10797 $(HOST_EXPORTS) \
10798 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10800 done; \
10801 echo "Doing html in gcc"; \
10802 (cd $(HOST_SUBDIR)/gcc && \
10803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10805 "RANLIB=$${RANLIB}" \
10806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10807 html) \
10808 || exit 1
10810 @endif gcc
10812 .PHONY: maybe-TAGS-gcc TAGS-gcc
10813 maybe-TAGS-gcc:
10814 @if gcc
10815 maybe-TAGS-gcc: TAGS-gcc
10817 TAGS-gcc: \
10818 configure-gcc
10819 @[ -f ./gcc/Makefile ] || exit 0; \
10820 r=`${PWD_COMMAND}`; export r; \
10821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10822 $(HOST_EXPORTS) \
10823 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10825 done; \
10826 echo "Doing TAGS in gcc"; \
10827 (cd $(HOST_SUBDIR)/gcc && \
10828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10830 "RANLIB=$${RANLIB}" \
10831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10832 TAGS) \
10833 || exit 1
10835 @endif gcc
10837 .PHONY: maybe-install-info-gcc install-info-gcc
10838 maybe-install-info-gcc:
10839 @if gcc
10840 maybe-install-info-gcc: install-info-gcc
10842 install-info-gcc: \
10843 configure-gcc \
10844 info-gcc
10845 @[ -f ./gcc/Makefile ] || exit 0; \
10846 r=`${PWD_COMMAND}`; export r; \
10847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10848 $(HOST_EXPORTS) \
10849 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10851 done; \
10852 echo "Doing install-info in gcc"; \
10853 (cd $(HOST_SUBDIR)/gcc && \
10854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10856 "RANLIB=$${RANLIB}" \
10857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10858 install-info) \
10859 || exit 1
10861 @endif gcc
10863 .PHONY: maybe-install-pdf-gcc install-pdf-gcc
10864 maybe-install-pdf-gcc:
10865 @if gcc
10866 maybe-install-pdf-gcc: install-pdf-gcc
10868 install-pdf-gcc: \
10869 configure-gcc \
10870 pdf-gcc
10871 @[ -f ./gcc/Makefile ] || exit 0; \
10872 r=`${PWD_COMMAND}`; export r; \
10873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10874 $(HOST_EXPORTS) \
10875 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10877 done; \
10878 echo "Doing install-pdf in gcc"; \
10879 (cd $(HOST_SUBDIR)/gcc && \
10880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10882 "RANLIB=$${RANLIB}" \
10883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10884 install-pdf) \
10885 || exit 1
10887 @endif gcc
10889 .PHONY: maybe-install-html-gcc install-html-gcc
10890 maybe-install-html-gcc:
10891 @if gcc
10892 maybe-install-html-gcc: install-html-gcc
10894 install-html-gcc: \
10895 configure-gcc \
10896 html-gcc
10897 @[ -f ./gcc/Makefile ] || exit 0; \
10898 r=`${PWD_COMMAND}`; export r; \
10899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10900 $(HOST_EXPORTS) \
10901 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10903 done; \
10904 echo "Doing install-html in gcc"; \
10905 (cd $(HOST_SUBDIR)/gcc && \
10906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10908 "RANLIB=$${RANLIB}" \
10909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10910 install-html) \
10911 || exit 1
10913 @endif gcc
10915 .PHONY: maybe-installcheck-gcc installcheck-gcc
10916 maybe-installcheck-gcc:
10917 @if gcc
10918 maybe-installcheck-gcc: installcheck-gcc
10920 installcheck-gcc: \
10921 configure-gcc
10922 @[ -f ./gcc/Makefile ] || exit 0; \
10923 r=`${PWD_COMMAND}`; export r; \
10924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10925 $(HOST_EXPORTS) \
10926 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10928 done; \
10929 echo "Doing installcheck in gcc"; \
10930 (cd $(HOST_SUBDIR)/gcc && \
10931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10933 "RANLIB=$${RANLIB}" \
10934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10935 installcheck) \
10936 || exit 1
10938 @endif gcc
10940 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
10941 maybe-mostlyclean-gcc:
10942 @if gcc
10943 maybe-mostlyclean-gcc: mostlyclean-gcc
10945 mostlyclean-gcc:
10946 @[ -f ./gcc/Makefile ] || exit 0; \
10947 r=`${PWD_COMMAND}`; export r; \
10948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10949 $(HOST_EXPORTS) \
10950 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10952 done; \
10953 echo "Doing mostlyclean in gcc"; \
10954 (cd $(HOST_SUBDIR)/gcc && \
10955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10957 "RANLIB=$${RANLIB}" \
10958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10959 mostlyclean) \
10960 || exit 1
10962 @endif gcc
10964 .PHONY: maybe-clean-gcc clean-gcc
10965 maybe-clean-gcc:
10966 @if gcc
10967 maybe-clean-gcc: clean-gcc
10969 clean-gcc:
10970 @[ -f ./gcc/Makefile ] || exit 0; \
10971 r=`${PWD_COMMAND}`; export r; \
10972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10973 $(HOST_EXPORTS) \
10974 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10976 done; \
10977 echo "Doing clean in gcc"; \
10978 (cd $(HOST_SUBDIR)/gcc && \
10979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10981 "RANLIB=$${RANLIB}" \
10982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10983 clean) \
10984 || exit 1
10986 @endif gcc
10988 .PHONY: maybe-distclean-gcc distclean-gcc
10989 maybe-distclean-gcc:
10990 @if gcc
10991 maybe-distclean-gcc: distclean-gcc
10993 distclean-gcc:
10994 @[ -f ./gcc/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) $(EXTRA_GCC_FLAGS); do \
10999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11000 done; \
11001 echo "Doing distclean in gcc"; \
11002 (cd $(HOST_SUBDIR)/gcc && \
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 distclean) \
11008 || exit 1
11010 @endif gcc
11012 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
11013 maybe-maintainer-clean-gcc:
11014 @if gcc
11015 maybe-maintainer-clean-gcc: maintainer-clean-gcc
11017 maintainer-clean-gcc:
11018 @[ -f ./gcc/Makefile ] || exit 0; \
11019 r=`${PWD_COMMAND}`; export r; \
11020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11021 $(HOST_EXPORTS) \
11022 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11024 done; \
11025 echo "Doing maintainer-clean in gcc"; \
11026 (cd $(HOST_SUBDIR)/gcc && \
11027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11029 "RANLIB=$${RANLIB}" \
11030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11031 maintainer-clean) \
11032 || exit 1
11034 @endif gcc
11038 .PHONY: configure-gmp maybe-configure-gmp
11039 maybe-configure-gmp:
11040 @if gcc-bootstrap
11041 configure-gmp: stage_current
11042 @endif gcc-bootstrap
11043 @if gmp
11044 maybe-configure-gmp: configure-gmp
11045 configure-gmp:
11046 @r=`${PWD_COMMAND}`; export r; \
11047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11048 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11049 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
11050 $(HOST_EXPORTS) \
11051 echo Configuring in $(HOST_SUBDIR)/gmp; \
11052 cd "$(HOST_SUBDIR)/gmp" || exit 1; \
11053 case $(srcdir) in \
11054 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11055 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11056 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11057 esac; \
11058 module_srcdir=gmp; \
11059 $(SHELL) \
11060 $$s/$$module_srcdir/configure \
11061 --srcdir=$${topdir}/$$module_srcdir \
11062 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11063 --target=none-${host_vendor}-${host_os} --disable-shared LEX="touch lex.yy.c" \
11064 || exit 1
11065 @endif gmp
11069 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
11070 maybe-configure-stage1-gmp:
11071 @if gmp-bootstrap
11072 maybe-configure-stage1-gmp: configure-stage1-gmp
11073 configure-stage1-gmp:
11074 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11075 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
11076 @r=`${PWD_COMMAND}`; export r; \
11077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11078 TFLAGS="$(STAGE1_TFLAGS)"; \
11079 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11080 $(HOST_EXPORTS) \
11081 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
11082 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
11083 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
11084 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp; \
11085 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
11086 cd $(HOST_SUBDIR)/gmp || exit 1; \
11087 case $(srcdir) in \
11088 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11089 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11090 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11091 esac; \
11092 module_srcdir=gmp; \
11093 $(SHELL) $$s/$$module_srcdir/configure \
11094 --srcdir=$${topdir}/$$module_srcdir \
11095 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11096 --target=none-${host_vendor}-${host_os} \
11098 $(STAGE1_CONFIGURE_FLAGS) \
11099 --disable-shared LEX="touch lex.yy.c"
11100 @endif gmp-bootstrap
11102 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
11103 maybe-configure-stage2-gmp:
11104 @if gmp-bootstrap
11105 maybe-configure-stage2-gmp: configure-stage2-gmp
11106 configure-stage2-gmp:
11107 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11108 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
11109 @r=`${PWD_COMMAND}`; export r; \
11110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11111 TFLAGS="$(STAGE2_TFLAGS)"; \
11112 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11113 $(HOST_EXPORTS) \
11114 $(POSTSTAGE1_HOST_EXPORTS) \
11115 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
11116 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
11117 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
11118 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp; \
11119 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
11120 cd $(HOST_SUBDIR)/gmp || exit 1; \
11121 case $(srcdir) in \
11122 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11123 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11124 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11125 esac; \
11126 module_srcdir=gmp; \
11127 $(SHELL) $$s/$$module_srcdir/configure \
11128 --srcdir=$${topdir}/$$module_srcdir \
11129 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11130 --target=none-${host_vendor}-${host_os} \
11131 --with-build-libsubdir=$(HOST_SUBDIR) \
11132 $(STAGE2_CONFIGURE_FLAGS) \
11133 --disable-shared LEX="touch lex.yy.c"
11134 @endif gmp-bootstrap
11136 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
11137 maybe-configure-stage3-gmp:
11138 @if gmp-bootstrap
11139 maybe-configure-stage3-gmp: configure-stage3-gmp
11140 configure-stage3-gmp:
11141 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11142 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
11143 @r=`${PWD_COMMAND}`; export r; \
11144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11145 TFLAGS="$(STAGE3_TFLAGS)"; \
11146 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11147 $(HOST_EXPORTS) \
11148 $(POSTSTAGE1_HOST_EXPORTS) \
11149 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
11150 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
11151 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
11152 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp; \
11153 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
11154 cd $(HOST_SUBDIR)/gmp || exit 1; \
11155 case $(srcdir) in \
11156 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11157 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11158 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11159 esac; \
11160 module_srcdir=gmp; \
11161 $(SHELL) $$s/$$module_srcdir/configure \
11162 --srcdir=$${topdir}/$$module_srcdir \
11163 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11164 --target=none-${host_vendor}-${host_os} \
11165 --with-build-libsubdir=$(HOST_SUBDIR) \
11166 $(STAGE3_CONFIGURE_FLAGS) \
11167 --disable-shared LEX="touch lex.yy.c"
11168 @endif gmp-bootstrap
11170 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
11171 maybe-configure-stage4-gmp:
11172 @if gmp-bootstrap
11173 maybe-configure-stage4-gmp: configure-stage4-gmp
11174 configure-stage4-gmp:
11175 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11176 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
11177 @r=`${PWD_COMMAND}`; export r; \
11178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11179 TFLAGS="$(STAGE4_TFLAGS)"; \
11180 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11181 $(HOST_EXPORTS) \
11182 $(POSTSTAGE1_HOST_EXPORTS) \
11183 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
11184 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
11185 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
11186 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp; \
11187 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
11188 cd $(HOST_SUBDIR)/gmp || exit 1; \
11189 case $(srcdir) in \
11190 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11191 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11192 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11193 esac; \
11194 module_srcdir=gmp; \
11195 $(SHELL) $$s/$$module_srcdir/configure \
11196 --srcdir=$${topdir}/$$module_srcdir \
11197 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11198 --target=none-${host_vendor}-${host_os} \
11199 --with-build-libsubdir=$(HOST_SUBDIR) \
11200 $(STAGE4_CONFIGURE_FLAGS) \
11201 --disable-shared LEX="touch lex.yy.c"
11202 @endif gmp-bootstrap
11204 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
11205 maybe-configure-stageprofile-gmp:
11206 @if gmp-bootstrap
11207 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
11208 configure-stageprofile-gmp:
11209 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11210 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
11211 @r=`${PWD_COMMAND}`; export r; \
11212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11213 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11214 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11215 $(HOST_EXPORTS) \
11216 $(POSTSTAGE1_HOST_EXPORTS) \
11217 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
11218 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
11219 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
11220 echo Configuring stage profile in $(HOST_SUBDIR)/gmp; \
11221 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
11222 cd $(HOST_SUBDIR)/gmp || exit 1; \
11223 case $(srcdir) in \
11224 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11225 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11226 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11227 esac; \
11228 module_srcdir=gmp; \
11229 $(SHELL) $$s/$$module_srcdir/configure \
11230 --srcdir=$${topdir}/$$module_srcdir \
11231 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11232 --target=none-${host_vendor}-${host_os} \
11233 --with-build-libsubdir=$(HOST_SUBDIR) \
11234 $(STAGEprofile_CONFIGURE_FLAGS) \
11235 --disable-shared LEX="touch lex.yy.c"
11236 @endif gmp-bootstrap
11238 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
11239 maybe-configure-stagefeedback-gmp:
11240 @if gmp-bootstrap
11241 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
11242 configure-stagefeedback-gmp:
11243 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11244 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
11245 @r=`${PWD_COMMAND}`; export r; \
11246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11247 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11248 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11249 $(HOST_EXPORTS) \
11250 $(POSTSTAGE1_HOST_EXPORTS) \
11251 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
11252 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
11253 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
11254 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp; \
11255 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
11256 cd $(HOST_SUBDIR)/gmp || exit 1; \
11257 case $(srcdir) in \
11258 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11259 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11260 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11261 esac; \
11262 module_srcdir=gmp; \
11263 $(SHELL) $$s/$$module_srcdir/configure \
11264 --srcdir=$${topdir}/$$module_srcdir \
11265 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11266 --target=none-${host_vendor}-${host_os} \
11267 --with-build-libsubdir=$(HOST_SUBDIR) \
11268 $(STAGEfeedback_CONFIGURE_FLAGS) \
11269 --disable-shared LEX="touch lex.yy.c"
11270 @endif gmp-bootstrap
11276 .PHONY: all-gmp maybe-all-gmp
11277 maybe-all-gmp:
11278 @if gcc-bootstrap
11279 all-gmp: stage_current
11280 @endif gcc-bootstrap
11281 @if gmp
11282 TARGET-gmp=all
11283 maybe-all-gmp: all-gmp
11284 all-gmp: configure-gmp
11285 @r=`${PWD_COMMAND}`; export r; \
11286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11287 $(HOST_EXPORTS) \
11288 (cd $(HOST_SUBDIR)/gmp && \
11289 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
11290 $(TARGET-gmp))
11291 @endif gmp
11295 .PHONY: all-stage1-gmp maybe-all-stage1-gmp
11296 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
11297 maybe-all-stage1-gmp:
11298 maybe-clean-stage1-gmp:
11299 @if gmp-bootstrap
11300 maybe-all-stage1-gmp: all-stage1-gmp
11301 all-stage1: all-stage1-gmp
11302 TARGET-stage1-gmp = $(TARGET-gmp)
11303 all-stage1-gmp: configure-stage1-gmp
11304 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11305 @r=`${PWD_COMMAND}`; export r; \
11306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11307 TFLAGS="$(STAGE1_TFLAGS)"; \
11308 $(HOST_EXPORTS) \
11309 cd $(HOST_SUBDIR)/gmp && \
11310 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11311 CFLAGS="$(STAGE1_CFLAGS)" \
11312 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
11313 LIBCFLAGS="$(LIBCFLAGS)" \
11314 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11315 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11316 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11317 $(EXTRA_HOST_FLAGS) \
11318 $(STAGE1_FLAGS_TO_PASS) \
11319 TFLAGS="$(STAGE1_TFLAGS)" \
11320 $(TARGET-stage1-gmp)
11322 maybe-clean-stage1-gmp: clean-stage1-gmp
11323 clean-stage1: clean-stage1-gmp
11324 clean-stage1-gmp:
11325 @if [ $(current_stage) = stage1 ]; then \
11326 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11327 else \
11328 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
11329 $(MAKE) stage1-start; \
11330 fi; \
11331 cd $(HOST_SUBDIR)/gmp && \
11332 $(MAKE) $(EXTRA_HOST_FLAGS) \
11333 $(STAGE1_FLAGS_TO_PASS) clean
11334 @endif gmp-bootstrap
11337 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
11338 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
11339 maybe-all-stage2-gmp:
11340 maybe-clean-stage2-gmp:
11341 @if gmp-bootstrap
11342 maybe-all-stage2-gmp: all-stage2-gmp
11343 all-stage2: all-stage2-gmp
11344 TARGET-stage2-gmp = $(TARGET-gmp)
11345 all-stage2-gmp: configure-stage2-gmp
11346 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11347 @r=`${PWD_COMMAND}`; export r; \
11348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11349 TFLAGS="$(STAGE2_TFLAGS)"; \
11350 $(HOST_EXPORTS) \
11351 $(POSTSTAGE1_HOST_EXPORTS) \
11352 cd $(HOST_SUBDIR)/gmp && \
11353 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11354 CFLAGS="$(STAGE2_CFLAGS)" \
11355 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
11356 LIBCFLAGS="$(STAGE2_CFLAGS)" \
11357 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11358 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11359 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11360 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11361 TFLAGS="$(STAGE2_TFLAGS)" \
11362 $(TARGET-stage2-gmp)
11364 maybe-clean-stage2-gmp: clean-stage2-gmp
11365 clean-stage2: clean-stage2-gmp
11366 clean-stage2-gmp:
11367 @if [ $(current_stage) = stage2 ]; then \
11368 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11369 else \
11370 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
11371 $(MAKE) stage2-start; \
11372 fi; \
11373 cd $(HOST_SUBDIR)/gmp && \
11374 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11375 @endif gmp-bootstrap
11378 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
11379 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
11380 maybe-all-stage3-gmp:
11381 maybe-clean-stage3-gmp:
11382 @if gmp-bootstrap
11383 maybe-all-stage3-gmp: all-stage3-gmp
11384 all-stage3: all-stage3-gmp
11385 TARGET-stage3-gmp = $(TARGET-gmp)
11386 all-stage3-gmp: configure-stage3-gmp
11387 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11388 @r=`${PWD_COMMAND}`; export r; \
11389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11390 TFLAGS="$(STAGE3_TFLAGS)"; \
11391 $(HOST_EXPORTS) \
11392 $(POSTSTAGE1_HOST_EXPORTS) \
11393 cd $(HOST_SUBDIR)/gmp && \
11394 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11395 CFLAGS="$(STAGE3_CFLAGS)" \
11396 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
11397 LIBCFLAGS="$(STAGE3_CFLAGS)" \
11398 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11399 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11400 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11401 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11402 TFLAGS="$(STAGE3_TFLAGS)" \
11403 $(TARGET-stage3-gmp)
11405 maybe-clean-stage3-gmp: clean-stage3-gmp
11406 clean-stage3: clean-stage3-gmp
11407 clean-stage3-gmp:
11408 @if [ $(current_stage) = stage3 ]; then \
11409 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11410 else \
11411 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
11412 $(MAKE) stage3-start; \
11413 fi; \
11414 cd $(HOST_SUBDIR)/gmp && \
11415 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11416 @endif gmp-bootstrap
11419 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
11420 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
11421 maybe-all-stage4-gmp:
11422 maybe-clean-stage4-gmp:
11423 @if gmp-bootstrap
11424 maybe-all-stage4-gmp: all-stage4-gmp
11425 all-stage4: all-stage4-gmp
11426 TARGET-stage4-gmp = $(TARGET-gmp)
11427 all-stage4-gmp: configure-stage4-gmp
11428 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11429 @r=`${PWD_COMMAND}`; export r; \
11430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11431 TFLAGS="$(STAGE4_TFLAGS)"; \
11432 $(HOST_EXPORTS) \
11433 $(POSTSTAGE1_HOST_EXPORTS) \
11434 cd $(HOST_SUBDIR)/gmp && \
11435 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11436 CFLAGS="$(STAGE4_CFLAGS)" \
11437 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
11438 LIBCFLAGS="$(STAGE4_CFLAGS)" \
11439 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11440 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11441 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11442 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11443 TFLAGS="$(STAGE4_TFLAGS)" \
11444 $(TARGET-stage4-gmp)
11446 maybe-clean-stage4-gmp: clean-stage4-gmp
11447 clean-stage4: clean-stage4-gmp
11448 clean-stage4-gmp:
11449 @if [ $(current_stage) = stage4 ]; then \
11450 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11451 else \
11452 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
11453 $(MAKE) stage4-start; \
11454 fi; \
11455 cd $(HOST_SUBDIR)/gmp && \
11456 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11457 @endif gmp-bootstrap
11460 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
11461 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
11462 maybe-all-stageprofile-gmp:
11463 maybe-clean-stageprofile-gmp:
11464 @if gmp-bootstrap
11465 maybe-all-stageprofile-gmp: all-stageprofile-gmp
11466 all-stageprofile: all-stageprofile-gmp
11467 TARGET-stageprofile-gmp = $(TARGET-gmp)
11468 all-stageprofile-gmp: configure-stageprofile-gmp
11469 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11470 @r=`${PWD_COMMAND}`; export r; \
11471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11472 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11473 $(HOST_EXPORTS) \
11474 $(POSTSTAGE1_HOST_EXPORTS) \
11475 cd $(HOST_SUBDIR)/gmp && \
11476 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11477 CFLAGS="$(STAGEprofile_CFLAGS)" \
11478 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
11479 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
11480 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11481 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11482 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11483 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11484 TFLAGS="$(STAGEprofile_TFLAGS)" \
11485 $(TARGET-stageprofile-gmp)
11487 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
11488 clean-stageprofile: clean-stageprofile-gmp
11489 clean-stageprofile-gmp:
11490 @if [ $(current_stage) = stageprofile ]; then \
11491 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11492 else \
11493 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
11494 $(MAKE) stageprofile-start; \
11495 fi; \
11496 cd $(HOST_SUBDIR)/gmp && \
11497 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11498 @endif gmp-bootstrap
11501 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
11502 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
11503 maybe-all-stagefeedback-gmp:
11504 maybe-clean-stagefeedback-gmp:
11505 @if gmp-bootstrap
11506 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
11507 all-stagefeedback: all-stagefeedback-gmp
11508 TARGET-stagefeedback-gmp = $(TARGET-gmp)
11509 all-stagefeedback-gmp: configure-stagefeedback-gmp
11510 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11511 @r=`${PWD_COMMAND}`; export r; \
11512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11513 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11514 $(HOST_EXPORTS) \
11515 $(POSTSTAGE1_HOST_EXPORTS) \
11516 cd $(HOST_SUBDIR)/gmp && \
11517 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11518 CFLAGS="$(STAGEfeedback_CFLAGS)" \
11519 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
11520 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
11521 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11522 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11523 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11524 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11525 TFLAGS="$(STAGEfeedback_TFLAGS)" \
11526 $(TARGET-stagefeedback-gmp)
11528 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
11529 clean-stagefeedback: clean-stagefeedback-gmp
11530 clean-stagefeedback-gmp:
11531 @if [ $(current_stage) = stagefeedback ]; then \
11532 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11533 else \
11534 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
11535 $(MAKE) stagefeedback-start; \
11536 fi; \
11537 cd $(HOST_SUBDIR)/gmp && \
11538 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11539 @endif gmp-bootstrap
11545 .PHONY: check-gmp maybe-check-gmp
11546 maybe-check-gmp:
11547 @if gmp
11548 maybe-check-gmp: check-gmp
11550 check-gmp:
11551 @: $(MAKE); $(unstage)
11552 @r=`${PWD_COMMAND}`; export r; \
11553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11554 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
11555 (cd $(HOST_SUBDIR)/gmp && \
11556 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
11558 @endif gmp
11560 .PHONY: install-gmp maybe-install-gmp
11561 maybe-install-gmp:
11562 @if gmp
11563 maybe-install-gmp: install-gmp
11565 install-gmp:
11567 @endif gmp
11569 .PHONY: install-strip-gmp maybe-install-strip-gmp
11570 maybe-install-strip-gmp:
11571 @if gmp
11572 maybe-install-strip-gmp: install-strip-gmp
11574 install-strip-gmp:
11576 @endif gmp
11578 # Other targets (info, dvi, pdf, etc.)
11580 .PHONY: maybe-info-gmp info-gmp
11581 maybe-info-gmp:
11582 @if gmp
11583 maybe-info-gmp: info-gmp
11585 info-gmp: \
11586 configure-gmp
11587 @[ -f ./gmp/Makefile ] || exit 0; \
11588 r=`${PWD_COMMAND}`; export r; \
11589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11590 $(HOST_EXPORTS) \
11591 for flag in $(EXTRA_HOST_FLAGS) ; do \
11592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11593 done; \
11594 echo "Doing info in gmp"; \
11595 (cd $(HOST_SUBDIR)/gmp && \
11596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11598 "RANLIB=$${RANLIB}" \
11599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11600 info) \
11601 || exit 1
11603 @endif gmp
11605 .PHONY: maybe-dvi-gmp dvi-gmp
11606 maybe-dvi-gmp:
11607 @if gmp
11608 maybe-dvi-gmp: dvi-gmp
11610 dvi-gmp: \
11611 configure-gmp
11612 @[ -f ./gmp/Makefile ] || exit 0; \
11613 r=`${PWD_COMMAND}`; export r; \
11614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11615 $(HOST_EXPORTS) \
11616 for flag in $(EXTRA_HOST_FLAGS) ; do \
11617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11618 done; \
11619 echo "Doing dvi in gmp"; \
11620 (cd $(HOST_SUBDIR)/gmp && \
11621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11623 "RANLIB=$${RANLIB}" \
11624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11625 dvi) \
11626 || exit 1
11628 @endif gmp
11630 .PHONY: maybe-pdf-gmp pdf-gmp
11631 maybe-pdf-gmp:
11632 @if gmp
11633 maybe-pdf-gmp: pdf-gmp
11635 pdf-gmp: \
11636 configure-gmp
11637 @[ -f ./gmp/Makefile ] || exit 0; \
11638 r=`${PWD_COMMAND}`; export r; \
11639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11640 $(HOST_EXPORTS) \
11641 for flag in $(EXTRA_HOST_FLAGS) ; do \
11642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11643 done; \
11644 echo "Doing pdf in gmp"; \
11645 (cd $(HOST_SUBDIR)/gmp && \
11646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11648 "RANLIB=$${RANLIB}" \
11649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11650 pdf) \
11651 || exit 1
11653 @endif gmp
11655 .PHONY: maybe-html-gmp html-gmp
11656 maybe-html-gmp:
11657 @if gmp
11658 maybe-html-gmp: html-gmp
11660 html-gmp: \
11661 configure-gmp
11662 @[ -f ./gmp/Makefile ] || exit 0; \
11663 r=`${PWD_COMMAND}`; export r; \
11664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11665 $(HOST_EXPORTS) \
11666 for flag in $(EXTRA_HOST_FLAGS) ; do \
11667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11668 done; \
11669 echo "Doing html in gmp"; \
11670 (cd $(HOST_SUBDIR)/gmp && \
11671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11673 "RANLIB=$${RANLIB}" \
11674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11675 html) \
11676 || exit 1
11678 @endif gmp
11680 .PHONY: maybe-TAGS-gmp TAGS-gmp
11681 maybe-TAGS-gmp:
11682 @if gmp
11683 maybe-TAGS-gmp: TAGS-gmp
11685 TAGS-gmp: \
11686 configure-gmp
11687 @[ -f ./gmp/Makefile ] || exit 0; \
11688 r=`${PWD_COMMAND}`; export r; \
11689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11690 $(HOST_EXPORTS) \
11691 for flag in $(EXTRA_HOST_FLAGS) ; do \
11692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11693 done; \
11694 echo "Doing TAGS in gmp"; \
11695 (cd $(HOST_SUBDIR)/gmp && \
11696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11698 "RANLIB=$${RANLIB}" \
11699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11700 TAGS) \
11701 || exit 1
11703 @endif gmp
11705 .PHONY: maybe-install-info-gmp install-info-gmp
11706 maybe-install-info-gmp:
11707 @if gmp
11708 maybe-install-info-gmp: install-info-gmp
11710 install-info-gmp: \
11711 configure-gmp \
11712 info-gmp
11713 @[ -f ./gmp/Makefile ] || exit 0; \
11714 r=`${PWD_COMMAND}`; export r; \
11715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11716 $(HOST_EXPORTS) \
11717 for flag in $(EXTRA_HOST_FLAGS) ; do \
11718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11719 done; \
11720 echo "Doing install-info in gmp"; \
11721 (cd $(HOST_SUBDIR)/gmp && \
11722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11724 "RANLIB=$${RANLIB}" \
11725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11726 install-info) \
11727 || exit 1
11729 @endif gmp
11731 .PHONY: maybe-install-pdf-gmp install-pdf-gmp
11732 maybe-install-pdf-gmp:
11733 @if gmp
11734 maybe-install-pdf-gmp: install-pdf-gmp
11736 install-pdf-gmp: \
11737 configure-gmp \
11738 pdf-gmp
11739 @[ -f ./gmp/Makefile ] || exit 0; \
11740 r=`${PWD_COMMAND}`; export r; \
11741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11742 $(HOST_EXPORTS) \
11743 for flag in $(EXTRA_HOST_FLAGS) ; do \
11744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11745 done; \
11746 echo "Doing install-pdf in gmp"; \
11747 (cd $(HOST_SUBDIR)/gmp && \
11748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11750 "RANLIB=$${RANLIB}" \
11751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11752 install-pdf) \
11753 || exit 1
11755 @endif gmp
11757 .PHONY: maybe-install-html-gmp install-html-gmp
11758 maybe-install-html-gmp:
11759 @if gmp
11760 maybe-install-html-gmp: install-html-gmp
11762 install-html-gmp: \
11763 configure-gmp \
11764 html-gmp
11765 @[ -f ./gmp/Makefile ] || exit 0; \
11766 r=`${PWD_COMMAND}`; export r; \
11767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11768 $(HOST_EXPORTS) \
11769 for flag in $(EXTRA_HOST_FLAGS) ; do \
11770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11771 done; \
11772 echo "Doing install-html in gmp"; \
11773 (cd $(HOST_SUBDIR)/gmp && \
11774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11776 "RANLIB=$${RANLIB}" \
11777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11778 install-html) \
11779 || exit 1
11781 @endif gmp
11783 .PHONY: maybe-installcheck-gmp installcheck-gmp
11784 maybe-installcheck-gmp:
11785 @if gmp
11786 maybe-installcheck-gmp: installcheck-gmp
11788 installcheck-gmp: \
11789 configure-gmp
11790 @[ -f ./gmp/Makefile ] || exit 0; \
11791 r=`${PWD_COMMAND}`; export r; \
11792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11793 $(HOST_EXPORTS) \
11794 for flag in $(EXTRA_HOST_FLAGS) ; do \
11795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11796 done; \
11797 echo "Doing installcheck in gmp"; \
11798 (cd $(HOST_SUBDIR)/gmp && \
11799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11801 "RANLIB=$${RANLIB}" \
11802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11803 installcheck) \
11804 || exit 1
11806 @endif gmp
11808 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
11809 maybe-mostlyclean-gmp:
11810 @if gmp
11811 maybe-mostlyclean-gmp: mostlyclean-gmp
11813 mostlyclean-gmp:
11814 @[ -f ./gmp/Makefile ] || exit 0; \
11815 r=`${PWD_COMMAND}`; export r; \
11816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11817 $(HOST_EXPORTS) \
11818 for flag in $(EXTRA_HOST_FLAGS) ; do \
11819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11820 done; \
11821 echo "Doing mostlyclean in gmp"; \
11822 (cd $(HOST_SUBDIR)/gmp && \
11823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11825 "RANLIB=$${RANLIB}" \
11826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11827 mostlyclean) \
11828 || exit 1
11830 @endif gmp
11832 .PHONY: maybe-clean-gmp clean-gmp
11833 maybe-clean-gmp:
11834 @if gmp
11835 maybe-clean-gmp: clean-gmp
11837 clean-gmp:
11838 @[ -f ./gmp/Makefile ] || exit 0; \
11839 r=`${PWD_COMMAND}`; export r; \
11840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11841 $(HOST_EXPORTS) \
11842 for flag in $(EXTRA_HOST_FLAGS) ; do \
11843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11844 done; \
11845 echo "Doing clean in gmp"; \
11846 (cd $(HOST_SUBDIR)/gmp && \
11847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11849 "RANLIB=$${RANLIB}" \
11850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11851 clean) \
11852 || exit 1
11854 @endif gmp
11856 .PHONY: maybe-distclean-gmp distclean-gmp
11857 maybe-distclean-gmp:
11858 @if gmp
11859 maybe-distclean-gmp: distclean-gmp
11861 distclean-gmp:
11862 @[ -f ./gmp/Makefile ] || exit 0; \
11863 r=`${PWD_COMMAND}`; export r; \
11864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11865 $(HOST_EXPORTS) \
11866 for flag in $(EXTRA_HOST_FLAGS) ; do \
11867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11868 done; \
11869 echo "Doing distclean in gmp"; \
11870 (cd $(HOST_SUBDIR)/gmp && \
11871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11873 "RANLIB=$${RANLIB}" \
11874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11875 distclean) \
11876 || exit 1
11878 @endif gmp
11880 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
11881 maybe-maintainer-clean-gmp:
11882 @if gmp
11883 maybe-maintainer-clean-gmp: maintainer-clean-gmp
11885 maintainer-clean-gmp:
11886 @[ -f ./gmp/Makefile ] || exit 0; \
11887 r=`${PWD_COMMAND}`; export r; \
11888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11889 $(HOST_EXPORTS) \
11890 for flag in $(EXTRA_HOST_FLAGS) ; do \
11891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11892 done; \
11893 echo "Doing maintainer-clean in gmp"; \
11894 (cd $(HOST_SUBDIR)/gmp && \
11895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11897 "RANLIB=$${RANLIB}" \
11898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11899 maintainer-clean) \
11900 || exit 1
11902 @endif gmp
11906 .PHONY: configure-mpfr maybe-configure-mpfr
11907 maybe-configure-mpfr:
11908 @if gcc-bootstrap
11909 configure-mpfr: stage_current
11910 @endif gcc-bootstrap
11911 @if mpfr
11912 maybe-configure-mpfr: configure-mpfr
11913 configure-mpfr:
11914 @r=`${PWD_COMMAND}`; export r; \
11915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11916 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11917 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
11918 $(HOST_EXPORTS) \
11919 echo Configuring in $(HOST_SUBDIR)/mpfr; \
11920 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
11921 case $(srcdir) in \
11922 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11923 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11924 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11925 esac; \
11926 module_srcdir=mpfr; \
11927 $(SHELL) \
11928 $$s/$$module_srcdir/configure \
11929 --srcdir=$${topdir}/$$module_srcdir \
11930 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11931 --target=${target_alias} --disable-shared @extra_mpfr_configure_flags@ \
11932 || exit 1
11933 @endif mpfr
11937 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
11938 maybe-configure-stage1-mpfr:
11939 @if mpfr-bootstrap
11940 maybe-configure-stage1-mpfr: configure-stage1-mpfr
11941 configure-stage1-mpfr:
11942 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11943 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11944 @r=`${PWD_COMMAND}`; export r; \
11945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11946 TFLAGS="$(STAGE1_TFLAGS)"; \
11947 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11948 $(HOST_EXPORTS) \
11949 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
11950 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
11951 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
11952 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr; \
11953 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
11954 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11955 case $(srcdir) in \
11956 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11957 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11958 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11959 esac; \
11960 module_srcdir=mpfr; \
11961 $(SHELL) $$s/$$module_srcdir/configure \
11962 --srcdir=$${topdir}/$$module_srcdir \
11963 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11964 --target=${target_alias} \
11966 $(STAGE1_CONFIGURE_FLAGS) \
11967 --disable-shared @extra_mpfr_configure_flags@
11968 @endif mpfr-bootstrap
11970 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
11971 maybe-configure-stage2-mpfr:
11972 @if mpfr-bootstrap
11973 maybe-configure-stage2-mpfr: configure-stage2-mpfr
11974 configure-stage2-mpfr:
11975 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11976 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11977 @r=`${PWD_COMMAND}`; export r; \
11978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11979 TFLAGS="$(STAGE2_TFLAGS)"; \
11980 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11981 $(HOST_EXPORTS) \
11982 $(POSTSTAGE1_HOST_EXPORTS) \
11983 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
11984 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
11985 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
11986 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr; \
11987 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
11988 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11989 case $(srcdir) in \
11990 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11991 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11992 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11993 esac; \
11994 module_srcdir=mpfr; \
11995 $(SHELL) $$s/$$module_srcdir/configure \
11996 --srcdir=$${topdir}/$$module_srcdir \
11997 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11998 --target=${target_alias} \
11999 --with-build-libsubdir=$(HOST_SUBDIR) \
12000 $(STAGE2_CONFIGURE_FLAGS) \
12001 --disable-shared @extra_mpfr_configure_flags@
12002 @endif mpfr-bootstrap
12004 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
12005 maybe-configure-stage3-mpfr:
12006 @if mpfr-bootstrap
12007 maybe-configure-stage3-mpfr: configure-stage3-mpfr
12008 configure-stage3-mpfr:
12009 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12010 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
12011 @r=`${PWD_COMMAND}`; export r; \
12012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12013 TFLAGS="$(STAGE3_TFLAGS)"; \
12014 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
12015 $(HOST_EXPORTS) \
12016 $(POSTSTAGE1_HOST_EXPORTS) \
12017 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
12018 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
12019 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
12020 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr; \
12021 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
12022 cd $(HOST_SUBDIR)/mpfr || exit 1; \
12023 case $(srcdir) in \
12024 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12025 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
12026 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12027 esac; \
12028 module_srcdir=mpfr; \
12029 $(SHELL) $$s/$$module_srcdir/configure \
12030 --srcdir=$${topdir}/$$module_srcdir \
12031 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12032 --target=${target_alias} \
12033 --with-build-libsubdir=$(HOST_SUBDIR) \
12034 $(STAGE3_CONFIGURE_FLAGS) \
12035 --disable-shared @extra_mpfr_configure_flags@
12036 @endif mpfr-bootstrap
12038 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
12039 maybe-configure-stage4-mpfr:
12040 @if mpfr-bootstrap
12041 maybe-configure-stage4-mpfr: configure-stage4-mpfr
12042 configure-stage4-mpfr:
12043 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12044 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
12045 @r=`${PWD_COMMAND}`; export r; \
12046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12047 TFLAGS="$(STAGE4_TFLAGS)"; \
12048 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
12049 $(HOST_EXPORTS) \
12050 $(POSTSTAGE1_HOST_EXPORTS) \
12051 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
12052 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
12053 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
12054 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr; \
12055 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
12056 cd $(HOST_SUBDIR)/mpfr || exit 1; \
12057 case $(srcdir) in \
12058 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12059 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
12060 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12061 esac; \
12062 module_srcdir=mpfr; \
12063 $(SHELL) $$s/$$module_srcdir/configure \
12064 --srcdir=$${topdir}/$$module_srcdir \
12065 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12066 --target=${target_alias} \
12067 --with-build-libsubdir=$(HOST_SUBDIR) \
12068 $(STAGE4_CONFIGURE_FLAGS) \
12069 --disable-shared @extra_mpfr_configure_flags@
12070 @endif mpfr-bootstrap
12072 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
12073 maybe-configure-stageprofile-mpfr:
12074 @if mpfr-bootstrap
12075 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
12076 configure-stageprofile-mpfr:
12077 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12078 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
12079 @r=`${PWD_COMMAND}`; export r; \
12080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12081 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12082 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
12083 $(HOST_EXPORTS) \
12084 $(POSTSTAGE1_HOST_EXPORTS) \
12085 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
12086 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
12087 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
12088 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr; \
12089 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
12090 cd $(HOST_SUBDIR)/mpfr || exit 1; \
12091 case $(srcdir) in \
12092 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12093 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
12094 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12095 esac; \
12096 module_srcdir=mpfr; \
12097 $(SHELL) $$s/$$module_srcdir/configure \
12098 --srcdir=$${topdir}/$$module_srcdir \
12099 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12100 --target=${target_alias} \
12101 --with-build-libsubdir=$(HOST_SUBDIR) \
12102 $(STAGEprofile_CONFIGURE_FLAGS) \
12103 --disable-shared @extra_mpfr_configure_flags@
12104 @endif mpfr-bootstrap
12106 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
12107 maybe-configure-stagefeedback-mpfr:
12108 @if mpfr-bootstrap
12109 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
12110 configure-stagefeedback-mpfr:
12111 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12112 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
12113 @r=`${PWD_COMMAND}`; export r; \
12114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12115 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12116 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
12117 $(HOST_EXPORTS) \
12118 $(POSTSTAGE1_HOST_EXPORTS) \
12119 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
12120 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
12121 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
12122 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr; \
12123 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
12124 cd $(HOST_SUBDIR)/mpfr || exit 1; \
12125 case $(srcdir) in \
12126 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12127 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
12128 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12129 esac; \
12130 module_srcdir=mpfr; \
12131 $(SHELL) $$s/$$module_srcdir/configure \
12132 --srcdir=$${topdir}/$$module_srcdir \
12133 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12134 --target=${target_alias} \
12135 --with-build-libsubdir=$(HOST_SUBDIR) \
12136 $(STAGEfeedback_CONFIGURE_FLAGS) \
12137 --disable-shared @extra_mpfr_configure_flags@
12138 @endif mpfr-bootstrap
12144 .PHONY: all-mpfr maybe-all-mpfr
12145 maybe-all-mpfr:
12146 @if gcc-bootstrap
12147 all-mpfr: stage_current
12148 @endif gcc-bootstrap
12149 @if mpfr
12150 TARGET-mpfr=all
12151 maybe-all-mpfr: all-mpfr
12152 all-mpfr: configure-mpfr
12153 @r=`${PWD_COMMAND}`; export r; \
12154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12155 $(HOST_EXPORTS) \
12156 (cd $(HOST_SUBDIR)/mpfr && \
12157 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
12158 $(TARGET-mpfr))
12159 @endif mpfr
12163 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
12164 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
12165 maybe-all-stage1-mpfr:
12166 maybe-clean-stage1-mpfr:
12167 @if mpfr-bootstrap
12168 maybe-all-stage1-mpfr: all-stage1-mpfr
12169 all-stage1: all-stage1-mpfr
12170 TARGET-stage1-mpfr = $(TARGET-mpfr)
12171 all-stage1-mpfr: configure-stage1-mpfr
12172 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12173 @r=`${PWD_COMMAND}`; export r; \
12174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12175 TFLAGS="$(STAGE1_TFLAGS)"; \
12176 $(HOST_EXPORTS) \
12177 cd $(HOST_SUBDIR)/mpfr && \
12178 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12179 CFLAGS="$(STAGE1_CFLAGS)" \
12180 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
12181 LIBCFLAGS="$(LIBCFLAGS)" \
12182 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12183 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12184 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12185 $(EXTRA_HOST_FLAGS) \
12186 $(STAGE1_FLAGS_TO_PASS) \
12187 TFLAGS="$(STAGE1_TFLAGS)" \
12188 $(TARGET-stage1-mpfr)
12190 maybe-clean-stage1-mpfr: clean-stage1-mpfr
12191 clean-stage1: clean-stage1-mpfr
12192 clean-stage1-mpfr:
12193 @if [ $(current_stage) = stage1 ]; then \
12194 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12195 else \
12196 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
12197 $(MAKE) stage1-start; \
12198 fi; \
12199 cd $(HOST_SUBDIR)/mpfr && \
12200 $(MAKE) $(EXTRA_HOST_FLAGS) \
12201 $(STAGE1_FLAGS_TO_PASS) clean
12202 @endif mpfr-bootstrap
12205 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
12206 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
12207 maybe-all-stage2-mpfr:
12208 maybe-clean-stage2-mpfr:
12209 @if mpfr-bootstrap
12210 maybe-all-stage2-mpfr: all-stage2-mpfr
12211 all-stage2: all-stage2-mpfr
12212 TARGET-stage2-mpfr = $(TARGET-mpfr)
12213 all-stage2-mpfr: configure-stage2-mpfr
12214 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12215 @r=`${PWD_COMMAND}`; export r; \
12216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12217 TFLAGS="$(STAGE2_TFLAGS)"; \
12218 $(HOST_EXPORTS) \
12219 $(POSTSTAGE1_HOST_EXPORTS) \
12220 cd $(HOST_SUBDIR)/mpfr && \
12221 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12222 CFLAGS="$(STAGE2_CFLAGS)" \
12223 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
12224 LIBCFLAGS="$(STAGE2_CFLAGS)" \
12225 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12226 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12227 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12228 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12229 TFLAGS="$(STAGE2_TFLAGS)" \
12230 $(TARGET-stage2-mpfr)
12232 maybe-clean-stage2-mpfr: clean-stage2-mpfr
12233 clean-stage2: clean-stage2-mpfr
12234 clean-stage2-mpfr:
12235 @if [ $(current_stage) = stage2 ]; then \
12236 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12237 else \
12238 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
12239 $(MAKE) stage2-start; \
12240 fi; \
12241 cd $(HOST_SUBDIR)/mpfr && \
12242 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12243 @endif mpfr-bootstrap
12246 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
12247 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
12248 maybe-all-stage3-mpfr:
12249 maybe-clean-stage3-mpfr:
12250 @if mpfr-bootstrap
12251 maybe-all-stage3-mpfr: all-stage3-mpfr
12252 all-stage3: all-stage3-mpfr
12253 TARGET-stage3-mpfr = $(TARGET-mpfr)
12254 all-stage3-mpfr: configure-stage3-mpfr
12255 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12256 @r=`${PWD_COMMAND}`; export r; \
12257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12258 TFLAGS="$(STAGE3_TFLAGS)"; \
12259 $(HOST_EXPORTS) \
12260 $(POSTSTAGE1_HOST_EXPORTS) \
12261 cd $(HOST_SUBDIR)/mpfr && \
12262 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12263 CFLAGS="$(STAGE3_CFLAGS)" \
12264 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
12265 LIBCFLAGS="$(STAGE3_CFLAGS)" \
12266 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12267 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12268 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12269 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12270 TFLAGS="$(STAGE3_TFLAGS)" \
12271 $(TARGET-stage3-mpfr)
12273 maybe-clean-stage3-mpfr: clean-stage3-mpfr
12274 clean-stage3: clean-stage3-mpfr
12275 clean-stage3-mpfr:
12276 @if [ $(current_stage) = stage3 ]; then \
12277 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12278 else \
12279 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
12280 $(MAKE) stage3-start; \
12281 fi; \
12282 cd $(HOST_SUBDIR)/mpfr && \
12283 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12284 @endif mpfr-bootstrap
12287 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
12288 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
12289 maybe-all-stage4-mpfr:
12290 maybe-clean-stage4-mpfr:
12291 @if mpfr-bootstrap
12292 maybe-all-stage4-mpfr: all-stage4-mpfr
12293 all-stage4: all-stage4-mpfr
12294 TARGET-stage4-mpfr = $(TARGET-mpfr)
12295 all-stage4-mpfr: configure-stage4-mpfr
12296 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12297 @r=`${PWD_COMMAND}`; export r; \
12298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12299 TFLAGS="$(STAGE4_TFLAGS)"; \
12300 $(HOST_EXPORTS) \
12301 $(POSTSTAGE1_HOST_EXPORTS) \
12302 cd $(HOST_SUBDIR)/mpfr && \
12303 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12304 CFLAGS="$(STAGE4_CFLAGS)" \
12305 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
12306 LIBCFLAGS="$(STAGE4_CFLAGS)" \
12307 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12308 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12309 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12310 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12311 TFLAGS="$(STAGE4_TFLAGS)" \
12312 $(TARGET-stage4-mpfr)
12314 maybe-clean-stage4-mpfr: clean-stage4-mpfr
12315 clean-stage4: clean-stage4-mpfr
12316 clean-stage4-mpfr:
12317 @if [ $(current_stage) = stage4 ]; then \
12318 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12319 else \
12320 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
12321 $(MAKE) stage4-start; \
12322 fi; \
12323 cd $(HOST_SUBDIR)/mpfr && \
12324 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12325 @endif mpfr-bootstrap
12328 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
12329 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
12330 maybe-all-stageprofile-mpfr:
12331 maybe-clean-stageprofile-mpfr:
12332 @if mpfr-bootstrap
12333 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
12334 all-stageprofile: all-stageprofile-mpfr
12335 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
12336 all-stageprofile-mpfr: configure-stageprofile-mpfr
12337 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12338 @r=`${PWD_COMMAND}`; export r; \
12339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12340 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12341 $(HOST_EXPORTS) \
12342 $(POSTSTAGE1_HOST_EXPORTS) \
12343 cd $(HOST_SUBDIR)/mpfr && \
12344 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12345 CFLAGS="$(STAGEprofile_CFLAGS)" \
12346 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
12347 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
12348 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12349 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12350 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12351 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12352 TFLAGS="$(STAGEprofile_TFLAGS)" \
12353 $(TARGET-stageprofile-mpfr)
12355 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
12356 clean-stageprofile: clean-stageprofile-mpfr
12357 clean-stageprofile-mpfr:
12358 @if [ $(current_stage) = stageprofile ]; then \
12359 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12360 else \
12361 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
12362 $(MAKE) stageprofile-start; \
12363 fi; \
12364 cd $(HOST_SUBDIR)/mpfr && \
12365 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12366 @endif mpfr-bootstrap
12369 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
12370 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
12371 maybe-all-stagefeedback-mpfr:
12372 maybe-clean-stagefeedback-mpfr:
12373 @if mpfr-bootstrap
12374 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
12375 all-stagefeedback: all-stagefeedback-mpfr
12376 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
12377 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
12378 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12379 @r=`${PWD_COMMAND}`; export r; \
12380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12381 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12382 $(HOST_EXPORTS) \
12383 $(POSTSTAGE1_HOST_EXPORTS) \
12384 cd $(HOST_SUBDIR)/mpfr && \
12385 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12386 CFLAGS="$(STAGEfeedback_CFLAGS)" \
12387 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
12388 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
12389 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12390 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12391 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12392 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12393 TFLAGS="$(STAGEfeedback_TFLAGS)" \
12394 $(TARGET-stagefeedback-mpfr)
12396 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
12397 clean-stagefeedback: clean-stagefeedback-mpfr
12398 clean-stagefeedback-mpfr:
12399 @if [ $(current_stage) = stagefeedback ]; then \
12400 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12401 else \
12402 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
12403 $(MAKE) stagefeedback-start; \
12404 fi; \
12405 cd $(HOST_SUBDIR)/mpfr && \
12406 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12407 @endif mpfr-bootstrap
12413 .PHONY: check-mpfr maybe-check-mpfr
12414 maybe-check-mpfr:
12415 @if mpfr
12416 maybe-check-mpfr: check-mpfr
12418 check-mpfr:
12419 @: $(MAKE); $(unstage)
12420 @r=`${PWD_COMMAND}`; export r; \
12421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12422 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
12423 (cd $(HOST_SUBDIR)/mpfr && \
12424 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
12426 @endif mpfr
12428 .PHONY: install-mpfr maybe-install-mpfr
12429 maybe-install-mpfr:
12430 @if mpfr
12431 maybe-install-mpfr: install-mpfr
12433 install-mpfr:
12435 @endif mpfr
12437 .PHONY: install-strip-mpfr maybe-install-strip-mpfr
12438 maybe-install-strip-mpfr:
12439 @if mpfr
12440 maybe-install-strip-mpfr: install-strip-mpfr
12442 install-strip-mpfr:
12444 @endif mpfr
12446 # Other targets (info, dvi, pdf, etc.)
12448 .PHONY: maybe-info-mpfr info-mpfr
12449 maybe-info-mpfr:
12450 @if mpfr
12451 maybe-info-mpfr: info-mpfr
12453 info-mpfr: \
12454 configure-mpfr
12455 @[ -f ./mpfr/Makefile ] || exit 0; \
12456 r=`${PWD_COMMAND}`; export r; \
12457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12458 $(HOST_EXPORTS) \
12459 for flag in $(EXTRA_HOST_FLAGS) ; do \
12460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12461 done; \
12462 echo "Doing info in mpfr"; \
12463 (cd $(HOST_SUBDIR)/mpfr && \
12464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12466 "RANLIB=$${RANLIB}" \
12467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12468 info) \
12469 || exit 1
12471 @endif mpfr
12473 .PHONY: maybe-dvi-mpfr dvi-mpfr
12474 maybe-dvi-mpfr:
12475 @if mpfr
12476 maybe-dvi-mpfr: dvi-mpfr
12478 dvi-mpfr: \
12479 configure-mpfr
12480 @[ -f ./mpfr/Makefile ] || exit 0; \
12481 r=`${PWD_COMMAND}`; export r; \
12482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12483 $(HOST_EXPORTS) \
12484 for flag in $(EXTRA_HOST_FLAGS) ; do \
12485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12486 done; \
12487 echo "Doing dvi in mpfr"; \
12488 (cd $(HOST_SUBDIR)/mpfr && \
12489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12491 "RANLIB=$${RANLIB}" \
12492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12493 dvi) \
12494 || exit 1
12496 @endif mpfr
12498 .PHONY: maybe-pdf-mpfr pdf-mpfr
12499 maybe-pdf-mpfr:
12500 @if mpfr
12501 maybe-pdf-mpfr: pdf-mpfr
12503 pdf-mpfr: \
12504 configure-mpfr
12505 @[ -f ./mpfr/Makefile ] || exit 0; \
12506 r=`${PWD_COMMAND}`; export r; \
12507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12508 $(HOST_EXPORTS) \
12509 for flag in $(EXTRA_HOST_FLAGS) ; do \
12510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12511 done; \
12512 echo "Doing pdf in mpfr"; \
12513 (cd $(HOST_SUBDIR)/mpfr && \
12514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12516 "RANLIB=$${RANLIB}" \
12517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12518 pdf) \
12519 || exit 1
12521 @endif mpfr
12523 .PHONY: maybe-html-mpfr html-mpfr
12524 maybe-html-mpfr:
12525 @if mpfr
12526 maybe-html-mpfr: html-mpfr
12528 html-mpfr: \
12529 configure-mpfr
12530 @[ -f ./mpfr/Makefile ] || exit 0; \
12531 r=`${PWD_COMMAND}`; export r; \
12532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12533 $(HOST_EXPORTS) \
12534 for flag in $(EXTRA_HOST_FLAGS) ; do \
12535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12536 done; \
12537 echo "Doing html in mpfr"; \
12538 (cd $(HOST_SUBDIR)/mpfr && \
12539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12541 "RANLIB=$${RANLIB}" \
12542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12543 html) \
12544 || exit 1
12546 @endif mpfr
12548 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
12549 maybe-TAGS-mpfr:
12550 @if mpfr
12551 maybe-TAGS-mpfr: TAGS-mpfr
12553 TAGS-mpfr: \
12554 configure-mpfr
12555 @[ -f ./mpfr/Makefile ] || exit 0; \
12556 r=`${PWD_COMMAND}`; export r; \
12557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12558 $(HOST_EXPORTS) \
12559 for flag in $(EXTRA_HOST_FLAGS) ; do \
12560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12561 done; \
12562 echo "Doing TAGS in mpfr"; \
12563 (cd $(HOST_SUBDIR)/mpfr && \
12564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12566 "RANLIB=$${RANLIB}" \
12567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12568 TAGS) \
12569 || exit 1
12571 @endif mpfr
12573 .PHONY: maybe-install-info-mpfr install-info-mpfr
12574 maybe-install-info-mpfr:
12575 @if mpfr
12576 maybe-install-info-mpfr: install-info-mpfr
12578 install-info-mpfr: \
12579 configure-mpfr \
12580 info-mpfr
12581 @[ -f ./mpfr/Makefile ] || exit 0; \
12582 r=`${PWD_COMMAND}`; export r; \
12583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12584 $(HOST_EXPORTS) \
12585 for flag in $(EXTRA_HOST_FLAGS) ; do \
12586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12587 done; \
12588 echo "Doing install-info in mpfr"; \
12589 (cd $(HOST_SUBDIR)/mpfr && \
12590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12592 "RANLIB=$${RANLIB}" \
12593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12594 install-info) \
12595 || exit 1
12597 @endif mpfr
12599 .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr
12600 maybe-install-pdf-mpfr:
12601 @if mpfr
12602 maybe-install-pdf-mpfr: install-pdf-mpfr
12604 install-pdf-mpfr: \
12605 configure-mpfr \
12606 pdf-mpfr
12607 @[ -f ./mpfr/Makefile ] || exit 0; \
12608 r=`${PWD_COMMAND}`; export r; \
12609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12610 $(HOST_EXPORTS) \
12611 for flag in $(EXTRA_HOST_FLAGS) ; do \
12612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12613 done; \
12614 echo "Doing install-pdf in mpfr"; \
12615 (cd $(HOST_SUBDIR)/mpfr && \
12616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12618 "RANLIB=$${RANLIB}" \
12619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12620 install-pdf) \
12621 || exit 1
12623 @endif mpfr
12625 .PHONY: maybe-install-html-mpfr install-html-mpfr
12626 maybe-install-html-mpfr:
12627 @if mpfr
12628 maybe-install-html-mpfr: install-html-mpfr
12630 install-html-mpfr: \
12631 configure-mpfr \
12632 html-mpfr
12633 @[ -f ./mpfr/Makefile ] || exit 0; \
12634 r=`${PWD_COMMAND}`; export r; \
12635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12636 $(HOST_EXPORTS) \
12637 for flag in $(EXTRA_HOST_FLAGS) ; do \
12638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12639 done; \
12640 echo "Doing install-html in mpfr"; \
12641 (cd $(HOST_SUBDIR)/mpfr && \
12642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12644 "RANLIB=$${RANLIB}" \
12645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12646 install-html) \
12647 || exit 1
12649 @endif mpfr
12651 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
12652 maybe-installcheck-mpfr:
12653 @if mpfr
12654 maybe-installcheck-mpfr: installcheck-mpfr
12656 installcheck-mpfr: \
12657 configure-mpfr
12658 @[ -f ./mpfr/Makefile ] || exit 0; \
12659 r=`${PWD_COMMAND}`; export r; \
12660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12661 $(HOST_EXPORTS) \
12662 for flag in $(EXTRA_HOST_FLAGS) ; do \
12663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12664 done; \
12665 echo "Doing installcheck in mpfr"; \
12666 (cd $(HOST_SUBDIR)/mpfr && \
12667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12669 "RANLIB=$${RANLIB}" \
12670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12671 installcheck) \
12672 || exit 1
12674 @endif mpfr
12676 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
12677 maybe-mostlyclean-mpfr:
12678 @if mpfr
12679 maybe-mostlyclean-mpfr: mostlyclean-mpfr
12681 mostlyclean-mpfr:
12682 @[ -f ./mpfr/Makefile ] || exit 0; \
12683 r=`${PWD_COMMAND}`; export r; \
12684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12685 $(HOST_EXPORTS) \
12686 for flag in $(EXTRA_HOST_FLAGS) ; do \
12687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12688 done; \
12689 echo "Doing mostlyclean in mpfr"; \
12690 (cd $(HOST_SUBDIR)/mpfr && \
12691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12693 "RANLIB=$${RANLIB}" \
12694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12695 mostlyclean) \
12696 || exit 1
12698 @endif mpfr
12700 .PHONY: maybe-clean-mpfr clean-mpfr
12701 maybe-clean-mpfr:
12702 @if mpfr
12703 maybe-clean-mpfr: clean-mpfr
12705 clean-mpfr:
12706 @[ -f ./mpfr/Makefile ] || exit 0; \
12707 r=`${PWD_COMMAND}`; export r; \
12708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12709 $(HOST_EXPORTS) \
12710 for flag in $(EXTRA_HOST_FLAGS) ; do \
12711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12712 done; \
12713 echo "Doing clean in mpfr"; \
12714 (cd $(HOST_SUBDIR)/mpfr && \
12715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12717 "RANLIB=$${RANLIB}" \
12718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12719 clean) \
12720 || exit 1
12722 @endif mpfr
12724 .PHONY: maybe-distclean-mpfr distclean-mpfr
12725 maybe-distclean-mpfr:
12726 @if mpfr
12727 maybe-distclean-mpfr: distclean-mpfr
12729 distclean-mpfr:
12730 @[ -f ./mpfr/Makefile ] || exit 0; \
12731 r=`${PWD_COMMAND}`; export r; \
12732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12733 $(HOST_EXPORTS) \
12734 for flag in $(EXTRA_HOST_FLAGS) ; do \
12735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12736 done; \
12737 echo "Doing distclean in mpfr"; \
12738 (cd $(HOST_SUBDIR)/mpfr && \
12739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12741 "RANLIB=$${RANLIB}" \
12742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12743 distclean) \
12744 || exit 1
12746 @endif mpfr
12748 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
12749 maybe-maintainer-clean-mpfr:
12750 @if mpfr
12751 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
12753 maintainer-clean-mpfr:
12754 @[ -f ./mpfr/Makefile ] || exit 0; \
12755 r=`${PWD_COMMAND}`; export r; \
12756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12757 $(HOST_EXPORTS) \
12758 for flag in $(EXTRA_HOST_FLAGS) ; do \
12759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12760 done; \
12761 echo "Doing maintainer-clean in mpfr"; \
12762 (cd $(HOST_SUBDIR)/mpfr && \
12763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12765 "RANLIB=$${RANLIB}" \
12766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12767 maintainer-clean) \
12768 || exit 1
12770 @endif mpfr
12774 .PHONY: configure-mpc maybe-configure-mpc
12775 maybe-configure-mpc:
12776 @if gcc-bootstrap
12777 configure-mpc: stage_current
12778 @endif gcc-bootstrap
12779 @if mpc
12780 maybe-configure-mpc: configure-mpc
12781 configure-mpc:
12782 @r=`${PWD_COMMAND}`; export r; \
12783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12784 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12785 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
12786 $(HOST_EXPORTS) \
12787 echo Configuring in $(HOST_SUBDIR)/mpc; \
12788 cd "$(HOST_SUBDIR)/mpc" || exit 1; \
12789 case $(srcdir) in \
12790 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12791 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12792 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12793 esac; \
12794 module_srcdir=mpc; \
12795 $(SHELL) \
12796 $$s/$$module_srcdir/configure \
12797 --srcdir=$${topdir}/$$module_srcdir \
12798 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12799 --target=${target_alias} --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ \
12800 || exit 1
12801 @endif mpc
12805 .PHONY: configure-stage1-mpc maybe-configure-stage1-mpc
12806 maybe-configure-stage1-mpc:
12807 @if mpc-bootstrap
12808 maybe-configure-stage1-mpc: configure-stage1-mpc
12809 configure-stage1-mpc:
12810 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12811 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12812 @r=`${PWD_COMMAND}`; export r; \
12813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12814 TFLAGS="$(STAGE1_TFLAGS)"; \
12815 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12816 $(HOST_EXPORTS) \
12817 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
12818 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
12819 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
12820 echo Configuring stage 1 in $(HOST_SUBDIR)/mpc; \
12821 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
12822 cd $(HOST_SUBDIR)/mpc || exit 1; \
12823 case $(srcdir) in \
12824 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12825 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12826 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12827 esac; \
12828 module_srcdir=mpc; \
12829 $(SHELL) $$s/$$module_srcdir/configure \
12830 --srcdir=$${topdir}/$$module_srcdir \
12831 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12832 --target=${target_alias} \
12834 $(STAGE1_CONFIGURE_FLAGS) \
12835 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12836 @endif mpc-bootstrap
12838 .PHONY: configure-stage2-mpc maybe-configure-stage2-mpc
12839 maybe-configure-stage2-mpc:
12840 @if mpc-bootstrap
12841 maybe-configure-stage2-mpc: configure-stage2-mpc
12842 configure-stage2-mpc:
12843 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12844 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12845 @r=`${PWD_COMMAND}`; export r; \
12846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12847 TFLAGS="$(STAGE2_TFLAGS)"; \
12848 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12849 $(HOST_EXPORTS) \
12850 $(POSTSTAGE1_HOST_EXPORTS) \
12851 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
12852 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
12853 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
12854 echo Configuring stage 2 in $(HOST_SUBDIR)/mpc; \
12855 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
12856 cd $(HOST_SUBDIR)/mpc || exit 1; \
12857 case $(srcdir) in \
12858 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12859 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12860 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12861 esac; \
12862 module_srcdir=mpc; \
12863 $(SHELL) $$s/$$module_srcdir/configure \
12864 --srcdir=$${topdir}/$$module_srcdir \
12865 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12866 --target=${target_alias} \
12867 --with-build-libsubdir=$(HOST_SUBDIR) \
12868 $(STAGE2_CONFIGURE_FLAGS) \
12869 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12870 @endif mpc-bootstrap
12872 .PHONY: configure-stage3-mpc maybe-configure-stage3-mpc
12873 maybe-configure-stage3-mpc:
12874 @if mpc-bootstrap
12875 maybe-configure-stage3-mpc: configure-stage3-mpc
12876 configure-stage3-mpc:
12877 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12878 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12879 @r=`${PWD_COMMAND}`; export r; \
12880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12881 TFLAGS="$(STAGE3_TFLAGS)"; \
12882 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12883 $(HOST_EXPORTS) \
12884 $(POSTSTAGE1_HOST_EXPORTS) \
12885 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
12886 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
12887 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
12888 echo Configuring stage 3 in $(HOST_SUBDIR)/mpc; \
12889 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
12890 cd $(HOST_SUBDIR)/mpc || exit 1; \
12891 case $(srcdir) in \
12892 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12893 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12894 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12895 esac; \
12896 module_srcdir=mpc; \
12897 $(SHELL) $$s/$$module_srcdir/configure \
12898 --srcdir=$${topdir}/$$module_srcdir \
12899 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12900 --target=${target_alias} \
12901 --with-build-libsubdir=$(HOST_SUBDIR) \
12902 $(STAGE3_CONFIGURE_FLAGS) \
12903 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12904 @endif mpc-bootstrap
12906 .PHONY: configure-stage4-mpc maybe-configure-stage4-mpc
12907 maybe-configure-stage4-mpc:
12908 @if mpc-bootstrap
12909 maybe-configure-stage4-mpc: configure-stage4-mpc
12910 configure-stage4-mpc:
12911 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12912 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12913 @r=`${PWD_COMMAND}`; export r; \
12914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12915 TFLAGS="$(STAGE4_TFLAGS)"; \
12916 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12917 $(HOST_EXPORTS) \
12918 $(POSTSTAGE1_HOST_EXPORTS) \
12919 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
12920 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
12921 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
12922 echo Configuring stage 4 in $(HOST_SUBDIR)/mpc; \
12923 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
12924 cd $(HOST_SUBDIR)/mpc || exit 1; \
12925 case $(srcdir) in \
12926 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12927 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12928 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12929 esac; \
12930 module_srcdir=mpc; \
12931 $(SHELL) $$s/$$module_srcdir/configure \
12932 --srcdir=$${topdir}/$$module_srcdir \
12933 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12934 --target=${target_alias} \
12935 --with-build-libsubdir=$(HOST_SUBDIR) \
12936 $(STAGE4_CONFIGURE_FLAGS) \
12937 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12938 @endif mpc-bootstrap
12940 .PHONY: configure-stageprofile-mpc maybe-configure-stageprofile-mpc
12941 maybe-configure-stageprofile-mpc:
12942 @if mpc-bootstrap
12943 maybe-configure-stageprofile-mpc: configure-stageprofile-mpc
12944 configure-stageprofile-mpc:
12945 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12946 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12947 @r=`${PWD_COMMAND}`; export r; \
12948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12949 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12950 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12951 $(HOST_EXPORTS) \
12952 $(POSTSTAGE1_HOST_EXPORTS) \
12953 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
12954 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
12955 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
12956 echo Configuring stage profile in $(HOST_SUBDIR)/mpc; \
12957 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
12958 cd $(HOST_SUBDIR)/mpc || exit 1; \
12959 case $(srcdir) in \
12960 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12961 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12962 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12963 esac; \
12964 module_srcdir=mpc; \
12965 $(SHELL) $$s/$$module_srcdir/configure \
12966 --srcdir=$${topdir}/$$module_srcdir \
12967 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12968 --target=${target_alias} \
12969 --with-build-libsubdir=$(HOST_SUBDIR) \
12970 $(STAGEprofile_CONFIGURE_FLAGS) \
12971 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12972 @endif mpc-bootstrap
12974 .PHONY: configure-stagefeedback-mpc maybe-configure-stagefeedback-mpc
12975 maybe-configure-stagefeedback-mpc:
12976 @if mpc-bootstrap
12977 maybe-configure-stagefeedback-mpc: configure-stagefeedback-mpc
12978 configure-stagefeedback-mpc:
12979 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12980 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12981 @r=`${PWD_COMMAND}`; export r; \
12982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12983 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12984 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12985 $(HOST_EXPORTS) \
12986 $(POSTSTAGE1_HOST_EXPORTS) \
12987 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
12988 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
12989 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
12990 echo Configuring stage feedback in $(HOST_SUBDIR)/mpc; \
12991 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
12992 cd $(HOST_SUBDIR)/mpc || exit 1; \
12993 case $(srcdir) in \
12994 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12995 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12996 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12997 esac; \
12998 module_srcdir=mpc; \
12999 $(SHELL) $$s/$$module_srcdir/configure \
13000 --srcdir=$${topdir}/$$module_srcdir \
13001 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13002 --target=${target_alias} \
13003 --with-build-libsubdir=$(HOST_SUBDIR) \
13004 $(STAGEfeedback_CONFIGURE_FLAGS) \
13005 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
13006 @endif mpc-bootstrap
13012 .PHONY: all-mpc maybe-all-mpc
13013 maybe-all-mpc:
13014 @if gcc-bootstrap
13015 all-mpc: stage_current
13016 @endif gcc-bootstrap
13017 @if mpc
13018 TARGET-mpc=all
13019 maybe-all-mpc: all-mpc
13020 all-mpc: configure-mpc
13021 @r=`${PWD_COMMAND}`; export r; \
13022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13023 $(HOST_EXPORTS) \
13024 (cd $(HOST_SUBDIR)/mpc && \
13025 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
13026 $(TARGET-mpc))
13027 @endif mpc
13031 .PHONY: all-stage1-mpc maybe-all-stage1-mpc
13032 .PHONY: clean-stage1-mpc maybe-clean-stage1-mpc
13033 maybe-all-stage1-mpc:
13034 maybe-clean-stage1-mpc:
13035 @if mpc-bootstrap
13036 maybe-all-stage1-mpc: all-stage1-mpc
13037 all-stage1: all-stage1-mpc
13038 TARGET-stage1-mpc = $(TARGET-mpc)
13039 all-stage1-mpc: configure-stage1-mpc
13040 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13041 @r=`${PWD_COMMAND}`; export r; \
13042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13043 TFLAGS="$(STAGE1_TFLAGS)"; \
13044 $(HOST_EXPORTS) \
13045 cd $(HOST_SUBDIR)/mpc && \
13046 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13047 CFLAGS="$(STAGE1_CFLAGS)" \
13048 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
13049 LIBCFLAGS="$(LIBCFLAGS)" \
13050 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13051 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13052 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13053 $(EXTRA_HOST_FLAGS) \
13054 $(STAGE1_FLAGS_TO_PASS) \
13055 TFLAGS="$(STAGE1_TFLAGS)" \
13056 $(TARGET-stage1-mpc)
13058 maybe-clean-stage1-mpc: clean-stage1-mpc
13059 clean-stage1: clean-stage1-mpc
13060 clean-stage1-mpc:
13061 @if [ $(current_stage) = stage1 ]; then \
13062 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
13063 else \
13064 [ -f $(HOST_SUBDIR)/stage1-mpc/Makefile ] || exit 0; \
13065 $(MAKE) stage1-start; \
13066 fi; \
13067 cd $(HOST_SUBDIR)/mpc && \
13068 $(MAKE) $(EXTRA_HOST_FLAGS) \
13069 $(STAGE1_FLAGS_TO_PASS) clean
13070 @endif mpc-bootstrap
13073 .PHONY: all-stage2-mpc maybe-all-stage2-mpc
13074 .PHONY: clean-stage2-mpc maybe-clean-stage2-mpc
13075 maybe-all-stage2-mpc:
13076 maybe-clean-stage2-mpc:
13077 @if mpc-bootstrap
13078 maybe-all-stage2-mpc: all-stage2-mpc
13079 all-stage2: all-stage2-mpc
13080 TARGET-stage2-mpc = $(TARGET-mpc)
13081 all-stage2-mpc: configure-stage2-mpc
13082 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13083 @r=`${PWD_COMMAND}`; export r; \
13084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13085 TFLAGS="$(STAGE2_TFLAGS)"; \
13086 $(HOST_EXPORTS) \
13087 $(POSTSTAGE1_HOST_EXPORTS) \
13088 cd $(HOST_SUBDIR)/mpc && \
13089 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13090 CFLAGS="$(STAGE2_CFLAGS)" \
13091 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
13092 LIBCFLAGS="$(STAGE2_CFLAGS)" \
13093 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13094 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13095 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13096 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13097 TFLAGS="$(STAGE2_TFLAGS)" \
13098 $(TARGET-stage2-mpc)
13100 maybe-clean-stage2-mpc: clean-stage2-mpc
13101 clean-stage2: clean-stage2-mpc
13102 clean-stage2-mpc:
13103 @if [ $(current_stage) = stage2 ]; then \
13104 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
13105 else \
13106 [ -f $(HOST_SUBDIR)/stage2-mpc/Makefile ] || exit 0; \
13107 $(MAKE) stage2-start; \
13108 fi; \
13109 cd $(HOST_SUBDIR)/mpc && \
13110 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
13111 @endif mpc-bootstrap
13114 .PHONY: all-stage3-mpc maybe-all-stage3-mpc
13115 .PHONY: clean-stage3-mpc maybe-clean-stage3-mpc
13116 maybe-all-stage3-mpc:
13117 maybe-clean-stage3-mpc:
13118 @if mpc-bootstrap
13119 maybe-all-stage3-mpc: all-stage3-mpc
13120 all-stage3: all-stage3-mpc
13121 TARGET-stage3-mpc = $(TARGET-mpc)
13122 all-stage3-mpc: configure-stage3-mpc
13123 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13124 @r=`${PWD_COMMAND}`; export r; \
13125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13126 TFLAGS="$(STAGE3_TFLAGS)"; \
13127 $(HOST_EXPORTS) \
13128 $(POSTSTAGE1_HOST_EXPORTS) \
13129 cd $(HOST_SUBDIR)/mpc && \
13130 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13131 CFLAGS="$(STAGE3_CFLAGS)" \
13132 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
13133 LIBCFLAGS="$(STAGE3_CFLAGS)" \
13134 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13135 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13136 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13137 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13138 TFLAGS="$(STAGE3_TFLAGS)" \
13139 $(TARGET-stage3-mpc)
13141 maybe-clean-stage3-mpc: clean-stage3-mpc
13142 clean-stage3: clean-stage3-mpc
13143 clean-stage3-mpc:
13144 @if [ $(current_stage) = stage3 ]; then \
13145 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
13146 else \
13147 [ -f $(HOST_SUBDIR)/stage3-mpc/Makefile ] || exit 0; \
13148 $(MAKE) stage3-start; \
13149 fi; \
13150 cd $(HOST_SUBDIR)/mpc && \
13151 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
13152 @endif mpc-bootstrap
13155 .PHONY: all-stage4-mpc maybe-all-stage4-mpc
13156 .PHONY: clean-stage4-mpc maybe-clean-stage4-mpc
13157 maybe-all-stage4-mpc:
13158 maybe-clean-stage4-mpc:
13159 @if mpc-bootstrap
13160 maybe-all-stage4-mpc: all-stage4-mpc
13161 all-stage4: all-stage4-mpc
13162 TARGET-stage4-mpc = $(TARGET-mpc)
13163 all-stage4-mpc: configure-stage4-mpc
13164 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13165 @r=`${PWD_COMMAND}`; export r; \
13166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13167 TFLAGS="$(STAGE4_TFLAGS)"; \
13168 $(HOST_EXPORTS) \
13169 $(POSTSTAGE1_HOST_EXPORTS) \
13170 cd $(HOST_SUBDIR)/mpc && \
13171 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13172 CFLAGS="$(STAGE4_CFLAGS)" \
13173 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
13174 LIBCFLAGS="$(STAGE4_CFLAGS)" \
13175 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13176 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13177 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13178 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13179 TFLAGS="$(STAGE4_TFLAGS)" \
13180 $(TARGET-stage4-mpc)
13182 maybe-clean-stage4-mpc: clean-stage4-mpc
13183 clean-stage4: clean-stage4-mpc
13184 clean-stage4-mpc:
13185 @if [ $(current_stage) = stage4 ]; then \
13186 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
13187 else \
13188 [ -f $(HOST_SUBDIR)/stage4-mpc/Makefile ] || exit 0; \
13189 $(MAKE) stage4-start; \
13190 fi; \
13191 cd $(HOST_SUBDIR)/mpc && \
13192 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
13193 @endif mpc-bootstrap
13196 .PHONY: all-stageprofile-mpc maybe-all-stageprofile-mpc
13197 .PHONY: clean-stageprofile-mpc maybe-clean-stageprofile-mpc
13198 maybe-all-stageprofile-mpc:
13199 maybe-clean-stageprofile-mpc:
13200 @if mpc-bootstrap
13201 maybe-all-stageprofile-mpc: all-stageprofile-mpc
13202 all-stageprofile: all-stageprofile-mpc
13203 TARGET-stageprofile-mpc = $(TARGET-mpc)
13204 all-stageprofile-mpc: configure-stageprofile-mpc
13205 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13206 @r=`${PWD_COMMAND}`; export r; \
13207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13208 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13209 $(HOST_EXPORTS) \
13210 $(POSTSTAGE1_HOST_EXPORTS) \
13211 cd $(HOST_SUBDIR)/mpc && \
13212 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13213 CFLAGS="$(STAGEprofile_CFLAGS)" \
13214 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
13215 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
13216 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13217 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13218 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13219 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13220 TFLAGS="$(STAGEprofile_TFLAGS)" \
13221 $(TARGET-stageprofile-mpc)
13223 maybe-clean-stageprofile-mpc: clean-stageprofile-mpc
13224 clean-stageprofile: clean-stageprofile-mpc
13225 clean-stageprofile-mpc:
13226 @if [ $(current_stage) = stageprofile ]; then \
13227 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
13228 else \
13229 [ -f $(HOST_SUBDIR)/stageprofile-mpc/Makefile ] || exit 0; \
13230 $(MAKE) stageprofile-start; \
13231 fi; \
13232 cd $(HOST_SUBDIR)/mpc && \
13233 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
13234 @endif mpc-bootstrap
13237 .PHONY: all-stagefeedback-mpc maybe-all-stagefeedback-mpc
13238 .PHONY: clean-stagefeedback-mpc maybe-clean-stagefeedback-mpc
13239 maybe-all-stagefeedback-mpc:
13240 maybe-clean-stagefeedback-mpc:
13241 @if mpc-bootstrap
13242 maybe-all-stagefeedback-mpc: all-stagefeedback-mpc
13243 all-stagefeedback: all-stagefeedback-mpc
13244 TARGET-stagefeedback-mpc = $(TARGET-mpc)
13245 all-stagefeedback-mpc: configure-stagefeedback-mpc
13246 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13247 @r=`${PWD_COMMAND}`; export r; \
13248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13249 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13250 $(HOST_EXPORTS) \
13251 $(POSTSTAGE1_HOST_EXPORTS) \
13252 cd $(HOST_SUBDIR)/mpc && \
13253 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13254 CFLAGS="$(STAGEfeedback_CFLAGS)" \
13255 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
13256 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
13257 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13258 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13259 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13260 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13261 TFLAGS="$(STAGEfeedback_TFLAGS)" \
13262 $(TARGET-stagefeedback-mpc)
13264 maybe-clean-stagefeedback-mpc: clean-stagefeedback-mpc
13265 clean-stagefeedback: clean-stagefeedback-mpc
13266 clean-stagefeedback-mpc:
13267 @if [ $(current_stage) = stagefeedback ]; then \
13268 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
13269 else \
13270 [ -f $(HOST_SUBDIR)/stagefeedback-mpc/Makefile ] || exit 0; \
13271 $(MAKE) stagefeedback-start; \
13272 fi; \
13273 cd $(HOST_SUBDIR)/mpc && \
13274 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
13275 @endif mpc-bootstrap
13281 .PHONY: check-mpc maybe-check-mpc
13282 maybe-check-mpc:
13283 @if mpc
13284 maybe-check-mpc: check-mpc
13286 check-mpc:
13287 @: $(MAKE); $(unstage)
13288 @r=`${PWD_COMMAND}`; export r; \
13289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13290 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
13291 (cd $(HOST_SUBDIR)/mpc && \
13292 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
13294 @endif mpc
13296 .PHONY: install-mpc maybe-install-mpc
13297 maybe-install-mpc:
13298 @if mpc
13299 maybe-install-mpc: install-mpc
13301 install-mpc:
13303 @endif mpc
13305 .PHONY: install-strip-mpc maybe-install-strip-mpc
13306 maybe-install-strip-mpc:
13307 @if mpc
13308 maybe-install-strip-mpc: install-strip-mpc
13310 install-strip-mpc:
13312 @endif mpc
13314 # Other targets (info, dvi, pdf, etc.)
13316 .PHONY: maybe-info-mpc info-mpc
13317 maybe-info-mpc:
13318 @if mpc
13319 maybe-info-mpc: info-mpc
13321 info-mpc: \
13322 configure-mpc
13323 @[ -f ./mpc/Makefile ] || exit 0; \
13324 r=`${PWD_COMMAND}`; export r; \
13325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13326 $(HOST_EXPORTS) \
13327 for flag in $(EXTRA_HOST_FLAGS) ; do \
13328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13329 done; \
13330 echo "Doing info in mpc"; \
13331 (cd $(HOST_SUBDIR)/mpc && \
13332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13334 "RANLIB=$${RANLIB}" \
13335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13336 info) \
13337 || exit 1
13339 @endif mpc
13341 .PHONY: maybe-dvi-mpc dvi-mpc
13342 maybe-dvi-mpc:
13343 @if mpc
13344 maybe-dvi-mpc: dvi-mpc
13346 dvi-mpc: \
13347 configure-mpc
13348 @[ -f ./mpc/Makefile ] || exit 0; \
13349 r=`${PWD_COMMAND}`; export r; \
13350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13351 $(HOST_EXPORTS) \
13352 for flag in $(EXTRA_HOST_FLAGS) ; do \
13353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13354 done; \
13355 echo "Doing dvi in mpc"; \
13356 (cd $(HOST_SUBDIR)/mpc && \
13357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13359 "RANLIB=$${RANLIB}" \
13360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13361 dvi) \
13362 || exit 1
13364 @endif mpc
13366 .PHONY: maybe-pdf-mpc pdf-mpc
13367 maybe-pdf-mpc:
13368 @if mpc
13369 maybe-pdf-mpc: pdf-mpc
13371 pdf-mpc: \
13372 configure-mpc
13373 @[ -f ./mpc/Makefile ] || exit 0; \
13374 r=`${PWD_COMMAND}`; export r; \
13375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13376 $(HOST_EXPORTS) \
13377 for flag in $(EXTRA_HOST_FLAGS) ; do \
13378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13379 done; \
13380 echo "Doing pdf in mpc"; \
13381 (cd $(HOST_SUBDIR)/mpc && \
13382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13384 "RANLIB=$${RANLIB}" \
13385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13386 pdf) \
13387 || exit 1
13389 @endif mpc
13391 .PHONY: maybe-html-mpc html-mpc
13392 maybe-html-mpc:
13393 @if mpc
13394 maybe-html-mpc: html-mpc
13396 html-mpc: \
13397 configure-mpc
13398 @[ -f ./mpc/Makefile ] || exit 0; \
13399 r=`${PWD_COMMAND}`; export r; \
13400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13401 $(HOST_EXPORTS) \
13402 for flag in $(EXTRA_HOST_FLAGS) ; do \
13403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13404 done; \
13405 echo "Doing html in mpc"; \
13406 (cd $(HOST_SUBDIR)/mpc && \
13407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13409 "RANLIB=$${RANLIB}" \
13410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13411 html) \
13412 || exit 1
13414 @endif mpc
13416 .PHONY: maybe-TAGS-mpc TAGS-mpc
13417 maybe-TAGS-mpc:
13418 @if mpc
13419 maybe-TAGS-mpc: TAGS-mpc
13421 TAGS-mpc: \
13422 configure-mpc
13423 @[ -f ./mpc/Makefile ] || exit 0; \
13424 r=`${PWD_COMMAND}`; export r; \
13425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13426 $(HOST_EXPORTS) \
13427 for flag in $(EXTRA_HOST_FLAGS) ; do \
13428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13429 done; \
13430 echo "Doing TAGS in mpc"; \
13431 (cd $(HOST_SUBDIR)/mpc && \
13432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13434 "RANLIB=$${RANLIB}" \
13435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13436 TAGS) \
13437 || exit 1
13439 @endif mpc
13441 .PHONY: maybe-install-info-mpc install-info-mpc
13442 maybe-install-info-mpc:
13443 @if mpc
13444 maybe-install-info-mpc: install-info-mpc
13446 install-info-mpc: \
13447 configure-mpc \
13448 info-mpc
13449 @[ -f ./mpc/Makefile ] || exit 0; \
13450 r=`${PWD_COMMAND}`; export r; \
13451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13452 $(HOST_EXPORTS) \
13453 for flag in $(EXTRA_HOST_FLAGS) ; do \
13454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13455 done; \
13456 echo "Doing install-info in mpc"; \
13457 (cd $(HOST_SUBDIR)/mpc && \
13458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13460 "RANLIB=$${RANLIB}" \
13461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13462 install-info) \
13463 || exit 1
13465 @endif mpc
13467 .PHONY: maybe-install-pdf-mpc install-pdf-mpc
13468 maybe-install-pdf-mpc:
13469 @if mpc
13470 maybe-install-pdf-mpc: install-pdf-mpc
13472 install-pdf-mpc: \
13473 configure-mpc \
13474 pdf-mpc
13475 @[ -f ./mpc/Makefile ] || exit 0; \
13476 r=`${PWD_COMMAND}`; export r; \
13477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13478 $(HOST_EXPORTS) \
13479 for flag in $(EXTRA_HOST_FLAGS) ; do \
13480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13481 done; \
13482 echo "Doing install-pdf in mpc"; \
13483 (cd $(HOST_SUBDIR)/mpc && \
13484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13486 "RANLIB=$${RANLIB}" \
13487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13488 install-pdf) \
13489 || exit 1
13491 @endif mpc
13493 .PHONY: maybe-install-html-mpc install-html-mpc
13494 maybe-install-html-mpc:
13495 @if mpc
13496 maybe-install-html-mpc: install-html-mpc
13498 install-html-mpc: \
13499 configure-mpc \
13500 html-mpc
13501 @[ -f ./mpc/Makefile ] || exit 0; \
13502 r=`${PWD_COMMAND}`; export r; \
13503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13504 $(HOST_EXPORTS) \
13505 for flag in $(EXTRA_HOST_FLAGS) ; do \
13506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13507 done; \
13508 echo "Doing install-html in mpc"; \
13509 (cd $(HOST_SUBDIR)/mpc && \
13510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13512 "RANLIB=$${RANLIB}" \
13513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13514 install-html) \
13515 || exit 1
13517 @endif mpc
13519 .PHONY: maybe-installcheck-mpc installcheck-mpc
13520 maybe-installcheck-mpc:
13521 @if mpc
13522 maybe-installcheck-mpc: installcheck-mpc
13524 installcheck-mpc: \
13525 configure-mpc
13526 @[ -f ./mpc/Makefile ] || exit 0; \
13527 r=`${PWD_COMMAND}`; export r; \
13528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13529 $(HOST_EXPORTS) \
13530 for flag in $(EXTRA_HOST_FLAGS) ; do \
13531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13532 done; \
13533 echo "Doing installcheck in mpc"; \
13534 (cd $(HOST_SUBDIR)/mpc && \
13535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13537 "RANLIB=$${RANLIB}" \
13538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13539 installcheck) \
13540 || exit 1
13542 @endif mpc
13544 .PHONY: maybe-mostlyclean-mpc mostlyclean-mpc
13545 maybe-mostlyclean-mpc:
13546 @if mpc
13547 maybe-mostlyclean-mpc: mostlyclean-mpc
13549 mostlyclean-mpc:
13550 @[ -f ./mpc/Makefile ] || exit 0; \
13551 r=`${PWD_COMMAND}`; export r; \
13552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13553 $(HOST_EXPORTS) \
13554 for flag in $(EXTRA_HOST_FLAGS) ; do \
13555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13556 done; \
13557 echo "Doing mostlyclean in mpc"; \
13558 (cd $(HOST_SUBDIR)/mpc && \
13559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13561 "RANLIB=$${RANLIB}" \
13562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13563 mostlyclean) \
13564 || exit 1
13566 @endif mpc
13568 .PHONY: maybe-clean-mpc clean-mpc
13569 maybe-clean-mpc:
13570 @if mpc
13571 maybe-clean-mpc: clean-mpc
13573 clean-mpc:
13574 @[ -f ./mpc/Makefile ] || exit 0; \
13575 r=`${PWD_COMMAND}`; export r; \
13576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13577 $(HOST_EXPORTS) \
13578 for flag in $(EXTRA_HOST_FLAGS) ; do \
13579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13580 done; \
13581 echo "Doing clean in mpc"; \
13582 (cd $(HOST_SUBDIR)/mpc && \
13583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13585 "RANLIB=$${RANLIB}" \
13586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13587 clean) \
13588 || exit 1
13590 @endif mpc
13592 .PHONY: maybe-distclean-mpc distclean-mpc
13593 maybe-distclean-mpc:
13594 @if mpc
13595 maybe-distclean-mpc: distclean-mpc
13597 distclean-mpc:
13598 @[ -f ./mpc/Makefile ] || exit 0; \
13599 r=`${PWD_COMMAND}`; export r; \
13600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13601 $(HOST_EXPORTS) \
13602 for flag in $(EXTRA_HOST_FLAGS) ; do \
13603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13604 done; \
13605 echo "Doing distclean in mpc"; \
13606 (cd $(HOST_SUBDIR)/mpc && \
13607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13609 "RANLIB=$${RANLIB}" \
13610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13611 distclean) \
13612 || exit 1
13614 @endif mpc
13616 .PHONY: maybe-maintainer-clean-mpc maintainer-clean-mpc
13617 maybe-maintainer-clean-mpc:
13618 @if mpc
13619 maybe-maintainer-clean-mpc: maintainer-clean-mpc
13621 maintainer-clean-mpc:
13622 @[ -f ./mpc/Makefile ] || exit 0; \
13623 r=`${PWD_COMMAND}`; export r; \
13624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13625 $(HOST_EXPORTS) \
13626 for flag in $(EXTRA_HOST_FLAGS) ; do \
13627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13628 done; \
13629 echo "Doing maintainer-clean in mpc"; \
13630 (cd $(HOST_SUBDIR)/mpc && \
13631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13633 "RANLIB=$${RANLIB}" \
13634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13635 maintainer-clean) \
13636 || exit 1
13638 @endif mpc
13642 .PHONY: configure-isl maybe-configure-isl
13643 maybe-configure-isl:
13644 @if gcc-bootstrap
13645 configure-isl: stage_current
13646 @endif gcc-bootstrap
13647 @if isl
13648 maybe-configure-isl: configure-isl
13649 configure-isl:
13650 @r=`${PWD_COMMAND}`; export r; \
13651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13652 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13653 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
13654 $(HOST_EXPORTS) \
13655 echo Configuring in $(HOST_SUBDIR)/isl; \
13656 cd "$(HOST_SUBDIR)/isl" || exit 1; \
13657 case $(srcdir) in \
13658 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13659 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13660 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13661 esac; \
13662 module_srcdir=isl; \
13663 $(SHELL) \
13664 $$s/$$module_srcdir/configure \
13665 --srcdir=$${topdir}/$$module_srcdir \
13666 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13667 --target=${target_alias} --disable-shared @extra_isl_gmp_configure_flags@ \
13668 || exit 1
13669 @endif isl
13673 .PHONY: configure-stage1-isl maybe-configure-stage1-isl
13674 maybe-configure-stage1-isl:
13675 @if isl-bootstrap
13676 maybe-configure-stage1-isl: configure-stage1-isl
13677 configure-stage1-isl:
13678 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13679 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13680 @r=`${PWD_COMMAND}`; export r; \
13681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13682 TFLAGS="$(STAGE1_TFLAGS)"; \
13683 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13684 $(HOST_EXPORTS) \
13685 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13686 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13687 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
13688 echo Configuring stage 1 in $(HOST_SUBDIR)/isl; \
13689 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
13690 cd $(HOST_SUBDIR)/isl || exit 1; \
13691 case $(srcdir) in \
13692 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13693 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13694 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13695 esac; \
13696 module_srcdir=isl; \
13697 $(SHELL) $$s/$$module_srcdir/configure \
13698 --srcdir=$${topdir}/$$module_srcdir \
13699 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13700 --target=${target_alias} \
13702 $(STAGE1_CONFIGURE_FLAGS) \
13703 --disable-shared @extra_isl_gmp_configure_flags@
13704 @endif isl-bootstrap
13706 .PHONY: configure-stage2-isl maybe-configure-stage2-isl
13707 maybe-configure-stage2-isl:
13708 @if isl-bootstrap
13709 maybe-configure-stage2-isl: configure-stage2-isl
13710 configure-stage2-isl:
13711 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13712 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13713 @r=`${PWD_COMMAND}`; export r; \
13714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13715 TFLAGS="$(STAGE2_TFLAGS)"; \
13716 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13717 $(HOST_EXPORTS) \
13718 $(POSTSTAGE1_HOST_EXPORTS) \
13719 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13720 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13721 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
13722 echo Configuring stage 2 in $(HOST_SUBDIR)/isl; \
13723 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
13724 cd $(HOST_SUBDIR)/isl || exit 1; \
13725 case $(srcdir) in \
13726 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13727 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13728 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13729 esac; \
13730 module_srcdir=isl; \
13731 $(SHELL) $$s/$$module_srcdir/configure \
13732 --srcdir=$${topdir}/$$module_srcdir \
13733 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13734 --target=${target_alias} \
13735 --with-build-libsubdir=$(HOST_SUBDIR) \
13736 $(STAGE2_CONFIGURE_FLAGS) \
13737 --disable-shared @extra_isl_gmp_configure_flags@
13738 @endif isl-bootstrap
13740 .PHONY: configure-stage3-isl maybe-configure-stage3-isl
13741 maybe-configure-stage3-isl:
13742 @if isl-bootstrap
13743 maybe-configure-stage3-isl: configure-stage3-isl
13744 configure-stage3-isl:
13745 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13746 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13747 @r=`${PWD_COMMAND}`; export r; \
13748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13749 TFLAGS="$(STAGE3_TFLAGS)"; \
13750 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13751 $(HOST_EXPORTS) \
13752 $(POSTSTAGE1_HOST_EXPORTS) \
13753 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13754 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13755 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
13756 echo Configuring stage 3 in $(HOST_SUBDIR)/isl; \
13757 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
13758 cd $(HOST_SUBDIR)/isl || exit 1; \
13759 case $(srcdir) in \
13760 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13761 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13762 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13763 esac; \
13764 module_srcdir=isl; \
13765 $(SHELL) $$s/$$module_srcdir/configure \
13766 --srcdir=$${topdir}/$$module_srcdir \
13767 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13768 --target=${target_alias} \
13769 --with-build-libsubdir=$(HOST_SUBDIR) \
13770 $(STAGE3_CONFIGURE_FLAGS) \
13771 --disable-shared @extra_isl_gmp_configure_flags@
13772 @endif isl-bootstrap
13774 .PHONY: configure-stage4-isl maybe-configure-stage4-isl
13775 maybe-configure-stage4-isl:
13776 @if isl-bootstrap
13777 maybe-configure-stage4-isl: configure-stage4-isl
13778 configure-stage4-isl:
13779 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13780 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13781 @r=`${PWD_COMMAND}`; export r; \
13782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13783 TFLAGS="$(STAGE4_TFLAGS)"; \
13784 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13785 $(HOST_EXPORTS) \
13786 $(POSTSTAGE1_HOST_EXPORTS) \
13787 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13788 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13789 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
13790 echo Configuring stage 4 in $(HOST_SUBDIR)/isl; \
13791 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
13792 cd $(HOST_SUBDIR)/isl || exit 1; \
13793 case $(srcdir) in \
13794 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13795 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13796 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13797 esac; \
13798 module_srcdir=isl; \
13799 $(SHELL) $$s/$$module_srcdir/configure \
13800 --srcdir=$${topdir}/$$module_srcdir \
13801 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13802 --target=${target_alias} \
13803 --with-build-libsubdir=$(HOST_SUBDIR) \
13804 $(STAGE4_CONFIGURE_FLAGS) \
13805 --disable-shared @extra_isl_gmp_configure_flags@
13806 @endif isl-bootstrap
13808 .PHONY: configure-stageprofile-isl maybe-configure-stageprofile-isl
13809 maybe-configure-stageprofile-isl:
13810 @if isl-bootstrap
13811 maybe-configure-stageprofile-isl: configure-stageprofile-isl
13812 configure-stageprofile-isl:
13813 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13814 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13815 @r=`${PWD_COMMAND}`; export r; \
13816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13817 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13818 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13819 $(HOST_EXPORTS) \
13820 $(POSTSTAGE1_HOST_EXPORTS) \
13821 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
13822 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
13823 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
13824 echo Configuring stage profile in $(HOST_SUBDIR)/isl; \
13825 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
13826 cd $(HOST_SUBDIR)/isl || exit 1; \
13827 case $(srcdir) in \
13828 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13829 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13830 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13831 esac; \
13832 module_srcdir=isl; \
13833 $(SHELL) $$s/$$module_srcdir/configure \
13834 --srcdir=$${topdir}/$$module_srcdir \
13835 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13836 --target=${target_alias} \
13837 --with-build-libsubdir=$(HOST_SUBDIR) \
13838 $(STAGEprofile_CONFIGURE_FLAGS) \
13839 --disable-shared @extra_isl_gmp_configure_flags@
13840 @endif isl-bootstrap
13842 .PHONY: configure-stagefeedback-isl maybe-configure-stagefeedback-isl
13843 maybe-configure-stagefeedback-isl:
13844 @if isl-bootstrap
13845 maybe-configure-stagefeedback-isl: configure-stagefeedback-isl
13846 configure-stagefeedback-isl:
13847 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13848 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13849 @r=`${PWD_COMMAND}`; export r; \
13850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13851 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13852 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13853 $(HOST_EXPORTS) \
13854 $(POSTSTAGE1_HOST_EXPORTS) \
13855 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
13856 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
13857 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
13858 echo Configuring stage feedback in $(HOST_SUBDIR)/isl; \
13859 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
13860 cd $(HOST_SUBDIR)/isl || exit 1; \
13861 case $(srcdir) in \
13862 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13863 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13864 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13865 esac; \
13866 module_srcdir=isl; \
13867 $(SHELL) $$s/$$module_srcdir/configure \
13868 --srcdir=$${topdir}/$$module_srcdir \
13869 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13870 --target=${target_alias} \
13871 --with-build-libsubdir=$(HOST_SUBDIR) \
13872 $(STAGEfeedback_CONFIGURE_FLAGS) \
13873 --disable-shared @extra_isl_gmp_configure_flags@
13874 @endif isl-bootstrap
13880 .PHONY: all-isl maybe-all-isl
13881 maybe-all-isl:
13882 @if gcc-bootstrap
13883 all-isl: stage_current
13884 @endif gcc-bootstrap
13885 @if isl
13886 TARGET-isl=all
13887 maybe-all-isl: all-isl
13888 all-isl: configure-isl
13889 @r=`${PWD_COMMAND}`; export r; \
13890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13891 $(HOST_EXPORTS) \
13892 (cd $(HOST_SUBDIR)/isl && \
13893 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) V=1 \
13894 $(TARGET-isl))
13895 @endif isl
13899 .PHONY: all-stage1-isl maybe-all-stage1-isl
13900 .PHONY: clean-stage1-isl maybe-clean-stage1-isl
13901 maybe-all-stage1-isl:
13902 maybe-clean-stage1-isl:
13903 @if isl-bootstrap
13904 maybe-all-stage1-isl: all-stage1-isl
13905 all-stage1: all-stage1-isl
13906 TARGET-stage1-isl = $(TARGET-isl)
13907 all-stage1-isl: configure-stage1-isl
13908 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13909 @r=`${PWD_COMMAND}`; export r; \
13910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13911 TFLAGS="$(STAGE1_TFLAGS)"; \
13912 $(HOST_EXPORTS) \
13913 cd $(HOST_SUBDIR)/isl && \
13914 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13915 CFLAGS="$(STAGE1_CFLAGS)" \
13916 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
13917 LIBCFLAGS="$(LIBCFLAGS)" \
13918 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13919 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13920 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13921 $(EXTRA_HOST_FLAGS) \
13922 $(STAGE1_FLAGS_TO_PASS) V=1 \
13923 TFLAGS="$(STAGE1_TFLAGS)" \
13924 $(TARGET-stage1-isl)
13926 maybe-clean-stage1-isl: clean-stage1-isl
13927 clean-stage1: clean-stage1-isl
13928 clean-stage1-isl:
13929 @if [ $(current_stage) = stage1 ]; then \
13930 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13931 else \
13932 [ -f $(HOST_SUBDIR)/stage1-isl/Makefile ] || exit 0; \
13933 $(MAKE) stage1-start; \
13934 fi; \
13935 cd $(HOST_SUBDIR)/isl && \
13936 $(MAKE) $(EXTRA_HOST_FLAGS) \
13937 $(STAGE1_FLAGS_TO_PASS) V=1 clean
13938 @endif isl-bootstrap
13941 .PHONY: all-stage2-isl maybe-all-stage2-isl
13942 .PHONY: clean-stage2-isl maybe-clean-stage2-isl
13943 maybe-all-stage2-isl:
13944 maybe-clean-stage2-isl:
13945 @if isl-bootstrap
13946 maybe-all-stage2-isl: all-stage2-isl
13947 all-stage2: all-stage2-isl
13948 TARGET-stage2-isl = $(TARGET-isl)
13949 all-stage2-isl: configure-stage2-isl
13950 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13951 @r=`${PWD_COMMAND}`; export r; \
13952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13953 TFLAGS="$(STAGE2_TFLAGS)"; \
13954 $(HOST_EXPORTS) \
13955 $(POSTSTAGE1_HOST_EXPORTS) \
13956 cd $(HOST_SUBDIR)/isl && \
13957 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13958 CFLAGS="$(STAGE2_CFLAGS)" \
13959 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
13960 LIBCFLAGS="$(STAGE2_CFLAGS)" \
13961 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13962 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13963 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13964 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13965 TFLAGS="$(STAGE2_TFLAGS)" \
13966 $(TARGET-stage2-isl)
13968 maybe-clean-stage2-isl: clean-stage2-isl
13969 clean-stage2: clean-stage2-isl
13970 clean-stage2-isl:
13971 @if [ $(current_stage) = stage2 ]; then \
13972 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13973 else \
13974 [ -f $(HOST_SUBDIR)/stage2-isl/Makefile ] || exit 0; \
13975 $(MAKE) stage2-start; \
13976 fi; \
13977 cd $(HOST_SUBDIR)/isl && \
13978 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13979 @endif isl-bootstrap
13982 .PHONY: all-stage3-isl maybe-all-stage3-isl
13983 .PHONY: clean-stage3-isl maybe-clean-stage3-isl
13984 maybe-all-stage3-isl:
13985 maybe-clean-stage3-isl:
13986 @if isl-bootstrap
13987 maybe-all-stage3-isl: all-stage3-isl
13988 all-stage3: all-stage3-isl
13989 TARGET-stage3-isl = $(TARGET-isl)
13990 all-stage3-isl: configure-stage3-isl
13991 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13992 @r=`${PWD_COMMAND}`; export r; \
13993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13994 TFLAGS="$(STAGE3_TFLAGS)"; \
13995 $(HOST_EXPORTS) \
13996 $(POSTSTAGE1_HOST_EXPORTS) \
13997 cd $(HOST_SUBDIR)/isl && \
13998 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13999 CFLAGS="$(STAGE3_CFLAGS)" \
14000 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
14001 LIBCFLAGS="$(STAGE3_CFLAGS)" \
14002 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14003 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14004 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14005 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
14006 TFLAGS="$(STAGE3_TFLAGS)" \
14007 $(TARGET-stage3-isl)
14009 maybe-clean-stage3-isl: clean-stage3-isl
14010 clean-stage3: clean-stage3-isl
14011 clean-stage3-isl:
14012 @if [ $(current_stage) = stage3 ]; then \
14013 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
14014 else \
14015 [ -f $(HOST_SUBDIR)/stage3-isl/Makefile ] || exit 0; \
14016 $(MAKE) stage3-start; \
14017 fi; \
14018 cd $(HOST_SUBDIR)/isl && \
14019 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
14020 @endif isl-bootstrap
14023 .PHONY: all-stage4-isl maybe-all-stage4-isl
14024 .PHONY: clean-stage4-isl maybe-clean-stage4-isl
14025 maybe-all-stage4-isl:
14026 maybe-clean-stage4-isl:
14027 @if isl-bootstrap
14028 maybe-all-stage4-isl: all-stage4-isl
14029 all-stage4: all-stage4-isl
14030 TARGET-stage4-isl = $(TARGET-isl)
14031 all-stage4-isl: configure-stage4-isl
14032 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14033 @r=`${PWD_COMMAND}`; export r; \
14034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14035 TFLAGS="$(STAGE4_TFLAGS)"; \
14036 $(HOST_EXPORTS) \
14037 $(POSTSTAGE1_HOST_EXPORTS) \
14038 cd $(HOST_SUBDIR)/isl && \
14039 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14040 CFLAGS="$(STAGE4_CFLAGS)" \
14041 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
14042 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14043 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14044 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14045 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14046 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
14047 TFLAGS="$(STAGE4_TFLAGS)" \
14048 $(TARGET-stage4-isl)
14050 maybe-clean-stage4-isl: clean-stage4-isl
14051 clean-stage4: clean-stage4-isl
14052 clean-stage4-isl:
14053 @if [ $(current_stage) = stage4 ]; then \
14054 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
14055 else \
14056 [ -f $(HOST_SUBDIR)/stage4-isl/Makefile ] || exit 0; \
14057 $(MAKE) stage4-start; \
14058 fi; \
14059 cd $(HOST_SUBDIR)/isl && \
14060 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
14061 @endif isl-bootstrap
14064 .PHONY: all-stageprofile-isl maybe-all-stageprofile-isl
14065 .PHONY: clean-stageprofile-isl maybe-clean-stageprofile-isl
14066 maybe-all-stageprofile-isl:
14067 maybe-clean-stageprofile-isl:
14068 @if isl-bootstrap
14069 maybe-all-stageprofile-isl: all-stageprofile-isl
14070 all-stageprofile: all-stageprofile-isl
14071 TARGET-stageprofile-isl = $(TARGET-isl)
14072 all-stageprofile-isl: configure-stageprofile-isl
14073 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14074 @r=`${PWD_COMMAND}`; export r; \
14075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14076 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14077 $(HOST_EXPORTS) \
14078 $(POSTSTAGE1_HOST_EXPORTS) \
14079 cd $(HOST_SUBDIR)/isl && \
14080 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14081 CFLAGS="$(STAGEprofile_CFLAGS)" \
14082 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
14083 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14084 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14085 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14086 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14087 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
14088 TFLAGS="$(STAGEprofile_TFLAGS)" \
14089 $(TARGET-stageprofile-isl)
14091 maybe-clean-stageprofile-isl: clean-stageprofile-isl
14092 clean-stageprofile: clean-stageprofile-isl
14093 clean-stageprofile-isl:
14094 @if [ $(current_stage) = stageprofile ]; then \
14095 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
14096 else \
14097 [ -f $(HOST_SUBDIR)/stageprofile-isl/Makefile ] || exit 0; \
14098 $(MAKE) stageprofile-start; \
14099 fi; \
14100 cd $(HOST_SUBDIR)/isl && \
14101 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
14102 @endif isl-bootstrap
14105 .PHONY: all-stagefeedback-isl maybe-all-stagefeedback-isl
14106 .PHONY: clean-stagefeedback-isl maybe-clean-stagefeedback-isl
14107 maybe-all-stagefeedback-isl:
14108 maybe-clean-stagefeedback-isl:
14109 @if isl-bootstrap
14110 maybe-all-stagefeedback-isl: all-stagefeedback-isl
14111 all-stagefeedback: all-stagefeedback-isl
14112 TARGET-stagefeedback-isl = $(TARGET-isl)
14113 all-stagefeedback-isl: configure-stagefeedback-isl
14114 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14115 @r=`${PWD_COMMAND}`; export r; \
14116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14117 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14118 $(HOST_EXPORTS) \
14119 $(POSTSTAGE1_HOST_EXPORTS) \
14120 cd $(HOST_SUBDIR)/isl && \
14121 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14122 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14123 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
14124 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14125 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14126 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14127 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14128 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
14129 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14130 $(TARGET-stagefeedback-isl)
14132 maybe-clean-stagefeedback-isl: clean-stagefeedback-isl
14133 clean-stagefeedback: clean-stagefeedback-isl
14134 clean-stagefeedback-isl:
14135 @if [ $(current_stage) = stagefeedback ]; then \
14136 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
14137 else \
14138 [ -f $(HOST_SUBDIR)/stagefeedback-isl/Makefile ] || exit 0; \
14139 $(MAKE) stagefeedback-start; \
14140 fi; \
14141 cd $(HOST_SUBDIR)/isl && \
14142 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
14143 @endif isl-bootstrap
14149 .PHONY: check-isl maybe-check-isl
14150 maybe-check-isl:
14151 @if isl
14152 maybe-check-isl: check-isl
14154 check-isl:
14155 @: $(MAKE); $(unstage)
14156 @r=`${PWD_COMMAND}`; export r; \
14157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14158 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
14159 (cd $(HOST_SUBDIR)/isl && \
14160 $(MAKE) $(FLAGS_TO_PASS) V=1 $(EXTRA_BOOTSTRAP_FLAGS) check)
14162 @endif isl
14164 .PHONY: install-isl maybe-install-isl
14165 maybe-install-isl:
14166 @if isl
14167 maybe-install-isl: install-isl
14169 install-isl:
14171 @endif isl
14173 .PHONY: install-strip-isl maybe-install-strip-isl
14174 maybe-install-strip-isl:
14175 @if isl
14176 maybe-install-strip-isl: install-strip-isl
14178 install-strip-isl:
14180 @endif isl
14182 # Other targets (info, dvi, pdf, etc.)
14184 .PHONY: maybe-info-isl info-isl
14185 maybe-info-isl:
14186 @if isl
14187 maybe-info-isl: info-isl
14189 info-isl: \
14190 configure-isl
14191 @[ -f ./isl/Makefile ] || exit 0; \
14192 r=`${PWD_COMMAND}`; export r; \
14193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14194 $(HOST_EXPORTS) \
14195 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14197 done; \
14198 echo "Doing info in isl"; \
14199 (cd $(HOST_SUBDIR)/isl && \
14200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14202 "RANLIB=$${RANLIB}" \
14203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14204 info) \
14205 || exit 1
14207 @endif isl
14209 .PHONY: maybe-dvi-isl dvi-isl
14210 maybe-dvi-isl:
14211 @if isl
14212 maybe-dvi-isl: dvi-isl
14214 dvi-isl: \
14215 configure-isl
14216 @[ -f ./isl/Makefile ] || exit 0; \
14217 r=`${PWD_COMMAND}`; export r; \
14218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14219 $(HOST_EXPORTS) \
14220 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14222 done; \
14223 echo "Doing dvi in isl"; \
14224 (cd $(HOST_SUBDIR)/isl && \
14225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14227 "RANLIB=$${RANLIB}" \
14228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14229 dvi) \
14230 || exit 1
14232 @endif isl
14234 .PHONY: maybe-pdf-isl pdf-isl
14235 maybe-pdf-isl:
14236 @if isl
14237 maybe-pdf-isl: pdf-isl
14239 pdf-isl: \
14240 configure-isl
14241 @[ -f ./isl/Makefile ] || exit 0; \
14242 r=`${PWD_COMMAND}`; export r; \
14243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14244 $(HOST_EXPORTS) \
14245 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14247 done; \
14248 echo "Doing pdf in isl"; \
14249 (cd $(HOST_SUBDIR)/isl && \
14250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14252 "RANLIB=$${RANLIB}" \
14253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14254 pdf) \
14255 || exit 1
14257 @endif isl
14259 .PHONY: maybe-html-isl html-isl
14260 maybe-html-isl:
14261 @if isl
14262 maybe-html-isl: html-isl
14264 html-isl: \
14265 configure-isl
14266 @[ -f ./isl/Makefile ] || exit 0; \
14267 r=`${PWD_COMMAND}`; export r; \
14268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14269 $(HOST_EXPORTS) \
14270 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14272 done; \
14273 echo "Doing html in isl"; \
14274 (cd $(HOST_SUBDIR)/isl && \
14275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14277 "RANLIB=$${RANLIB}" \
14278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14279 html) \
14280 || exit 1
14282 @endif isl
14284 .PHONY: maybe-TAGS-isl TAGS-isl
14285 maybe-TAGS-isl:
14286 @if isl
14287 maybe-TAGS-isl: TAGS-isl
14289 TAGS-isl: \
14290 configure-isl
14291 @[ -f ./isl/Makefile ] || exit 0; \
14292 r=`${PWD_COMMAND}`; export r; \
14293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14294 $(HOST_EXPORTS) \
14295 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14297 done; \
14298 echo "Doing TAGS in isl"; \
14299 (cd $(HOST_SUBDIR)/isl && \
14300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14302 "RANLIB=$${RANLIB}" \
14303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14304 TAGS) \
14305 || exit 1
14307 @endif isl
14309 .PHONY: maybe-install-info-isl install-info-isl
14310 maybe-install-info-isl:
14311 @if isl
14312 maybe-install-info-isl: install-info-isl
14314 install-info-isl: \
14315 configure-isl \
14316 info-isl
14317 @[ -f ./isl/Makefile ] || exit 0; \
14318 r=`${PWD_COMMAND}`; export r; \
14319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14320 $(HOST_EXPORTS) \
14321 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14323 done; \
14324 echo "Doing install-info in isl"; \
14325 (cd $(HOST_SUBDIR)/isl && \
14326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14328 "RANLIB=$${RANLIB}" \
14329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14330 install-info) \
14331 || exit 1
14333 @endif isl
14335 .PHONY: maybe-install-pdf-isl install-pdf-isl
14336 maybe-install-pdf-isl:
14337 @if isl
14338 maybe-install-pdf-isl: install-pdf-isl
14340 install-pdf-isl: \
14341 configure-isl \
14342 pdf-isl
14343 @[ -f ./isl/Makefile ] || exit 0; \
14344 r=`${PWD_COMMAND}`; export r; \
14345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14346 $(HOST_EXPORTS) \
14347 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14349 done; \
14350 echo "Doing install-pdf in isl"; \
14351 (cd $(HOST_SUBDIR)/isl && \
14352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14354 "RANLIB=$${RANLIB}" \
14355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14356 install-pdf) \
14357 || exit 1
14359 @endif isl
14361 .PHONY: maybe-install-html-isl install-html-isl
14362 maybe-install-html-isl:
14363 @if isl
14364 maybe-install-html-isl: install-html-isl
14366 install-html-isl: \
14367 configure-isl \
14368 html-isl
14369 @[ -f ./isl/Makefile ] || exit 0; \
14370 r=`${PWD_COMMAND}`; export r; \
14371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14372 $(HOST_EXPORTS) \
14373 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14375 done; \
14376 echo "Doing install-html in isl"; \
14377 (cd $(HOST_SUBDIR)/isl && \
14378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14380 "RANLIB=$${RANLIB}" \
14381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14382 install-html) \
14383 || exit 1
14385 @endif isl
14387 .PHONY: maybe-installcheck-isl installcheck-isl
14388 maybe-installcheck-isl:
14389 @if isl
14390 maybe-installcheck-isl: installcheck-isl
14392 installcheck-isl: \
14393 configure-isl
14394 @[ -f ./isl/Makefile ] || exit 0; \
14395 r=`${PWD_COMMAND}`; export r; \
14396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14397 $(HOST_EXPORTS) \
14398 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14400 done; \
14401 echo "Doing installcheck in isl"; \
14402 (cd $(HOST_SUBDIR)/isl && \
14403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14405 "RANLIB=$${RANLIB}" \
14406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14407 installcheck) \
14408 || exit 1
14410 @endif isl
14412 .PHONY: maybe-mostlyclean-isl mostlyclean-isl
14413 maybe-mostlyclean-isl:
14414 @if isl
14415 maybe-mostlyclean-isl: mostlyclean-isl
14417 mostlyclean-isl:
14418 @[ -f ./isl/Makefile ] || exit 0; \
14419 r=`${PWD_COMMAND}`; export r; \
14420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14421 $(HOST_EXPORTS) \
14422 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14424 done; \
14425 echo "Doing mostlyclean in isl"; \
14426 (cd $(HOST_SUBDIR)/isl && \
14427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14429 "RANLIB=$${RANLIB}" \
14430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14431 mostlyclean) \
14432 || exit 1
14434 @endif isl
14436 .PHONY: maybe-clean-isl clean-isl
14437 maybe-clean-isl:
14438 @if isl
14439 maybe-clean-isl: clean-isl
14441 clean-isl:
14442 @[ -f ./isl/Makefile ] || exit 0; \
14443 r=`${PWD_COMMAND}`; export r; \
14444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14445 $(HOST_EXPORTS) \
14446 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14448 done; \
14449 echo "Doing clean in isl"; \
14450 (cd $(HOST_SUBDIR)/isl && \
14451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14453 "RANLIB=$${RANLIB}" \
14454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14455 clean) \
14456 || exit 1
14458 @endif isl
14460 .PHONY: maybe-distclean-isl distclean-isl
14461 maybe-distclean-isl:
14462 @if isl
14463 maybe-distclean-isl: distclean-isl
14465 distclean-isl:
14466 @[ -f ./isl/Makefile ] || exit 0; \
14467 r=`${PWD_COMMAND}`; export r; \
14468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14469 $(HOST_EXPORTS) \
14470 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14472 done; \
14473 echo "Doing distclean in isl"; \
14474 (cd $(HOST_SUBDIR)/isl && \
14475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14477 "RANLIB=$${RANLIB}" \
14478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14479 distclean) \
14480 || exit 1
14482 @endif isl
14484 .PHONY: maybe-maintainer-clean-isl maintainer-clean-isl
14485 maybe-maintainer-clean-isl:
14486 @if isl
14487 maybe-maintainer-clean-isl: maintainer-clean-isl
14489 maintainer-clean-isl:
14490 @[ -f ./isl/Makefile ] || exit 0; \
14491 r=`${PWD_COMMAND}`; export r; \
14492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14493 $(HOST_EXPORTS) \
14494 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14496 done; \
14497 echo "Doing maintainer-clean in isl"; \
14498 (cd $(HOST_SUBDIR)/isl && \
14499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14501 "RANLIB=$${RANLIB}" \
14502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14503 maintainer-clean) \
14504 || exit 1
14506 @endif isl
14510 .PHONY: configure-libelf maybe-configure-libelf
14511 maybe-configure-libelf:
14512 @if gcc-bootstrap
14513 configure-libelf: stage_current
14514 @endif gcc-bootstrap
14515 @if libelf
14516 maybe-configure-libelf: configure-libelf
14517 configure-libelf:
14518 @r=`${PWD_COMMAND}`; export r; \
14519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14520 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14521 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
14522 $(HOST_EXPORTS) \
14523 echo Configuring in $(HOST_SUBDIR)/libelf; \
14524 cd "$(HOST_SUBDIR)/libelf" || exit 1; \
14525 case $(srcdir) in \
14526 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14527 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14528 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14529 esac; \
14530 module_srcdir=libelf; \
14531 $(SHELL) \
14532 $$s/$$module_srcdir/configure \
14533 --srcdir=$${topdir}/$$module_srcdir \
14534 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14535 --target=${target_alias} --disable-shared \
14536 || exit 1
14537 @endif libelf
14541 .PHONY: configure-stage1-libelf maybe-configure-stage1-libelf
14542 maybe-configure-stage1-libelf:
14543 @if libelf-bootstrap
14544 maybe-configure-stage1-libelf: configure-stage1-libelf
14545 configure-stage1-libelf:
14546 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14547 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14548 @r=`${PWD_COMMAND}`; export r; \
14549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14550 TFLAGS="$(STAGE1_TFLAGS)"; \
14551 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14552 $(HOST_EXPORTS) \
14553 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
14554 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
14555 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
14556 echo Configuring stage 1 in $(HOST_SUBDIR)/libelf; \
14557 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
14558 cd $(HOST_SUBDIR)/libelf || exit 1; \
14559 case $(srcdir) in \
14560 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14561 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14562 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14563 esac; \
14564 module_srcdir=libelf; \
14565 $(SHELL) $$s/$$module_srcdir/configure \
14566 --srcdir=$${topdir}/$$module_srcdir \
14567 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14568 --target=${target_alias} \
14570 $(STAGE1_CONFIGURE_FLAGS) \
14571 --disable-shared
14572 @endif libelf-bootstrap
14574 .PHONY: configure-stage2-libelf maybe-configure-stage2-libelf
14575 maybe-configure-stage2-libelf:
14576 @if libelf-bootstrap
14577 maybe-configure-stage2-libelf: configure-stage2-libelf
14578 configure-stage2-libelf:
14579 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14580 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14581 @r=`${PWD_COMMAND}`; export r; \
14582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14583 TFLAGS="$(STAGE2_TFLAGS)"; \
14584 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14585 $(HOST_EXPORTS) \
14586 $(POSTSTAGE1_HOST_EXPORTS) \
14587 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
14588 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
14589 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
14590 echo Configuring stage 2 in $(HOST_SUBDIR)/libelf; \
14591 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
14592 cd $(HOST_SUBDIR)/libelf || exit 1; \
14593 case $(srcdir) in \
14594 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14595 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14596 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14597 esac; \
14598 module_srcdir=libelf; \
14599 $(SHELL) $$s/$$module_srcdir/configure \
14600 --srcdir=$${topdir}/$$module_srcdir \
14601 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14602 --target=${target_alias} \
14603 --with-build-libsubdir=$(HOST_SUBDIR) \
14604 $(STAGE2_CONFIGURE_FLAGS) \
14605 --disable-shared
14606 @endif libelf-bootstrap
14608 .PHONY: configure-stage3-libelf maybe-configure-stage3-libelf
14609 maybe-configure-stage3-libelf:
14610 @if libelf-bootstrap
14611 maybe-configure-stage3-libelf: configure-stage3-libelf
14612 configure-stage3-libelf:
14613 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14614 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14615 @r=`${PWD_COMMAND}`; export r; \
14616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14617 TFLAGS="$(STAGE3_TFLAGS)"; \
14618 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14619 $(HOST_EXPORTS) \
14620 $(POSTSTAGE1_HOST_EXPORTS) \
14621 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14622 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
14623 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
14624 echo Configuring stage 3 in $(HOST_SUBDIR)/libelf; \
14625 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
14626 cd $(HOST_SUBDIR)/libelf || exit 1; \
14627 case $(srcdir) in \
14628 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14629 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14630 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14631 esac; \
14632 module_srcdir=libelf; \
14633 $(SHELL) $$s/$$module_srcdir/configure \
14634 --srcdir=$${topdir}/$$module_srcdir \
14635 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14636 --target=${target_alias} \
14637 --with-build-libsubdir=$(HOST_SUBDIR) \
14638 $(STAGE3_CONFIGURE_FLAGS) \
14639 --disable-shared
14640 @endif libelf-bootstrap
14642 .PHONY: configure-stage4-libelf maybe-configure-stage4-libelf
14643 maybe-configure-stage4-libelf:
14644 @if libelf-bootstrap
14645 maybe-configure-stage4-libelf: configure-stage4-libelf
14646 configure-stage4-libelf:
14647 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14648 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14649 @r=`${PWD_COMMAND}`; export r; \
14650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14651 TFLAGS="$(STAGE4_TFLAGS)"; \
14652 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14653 $(HOST_EXPORTS) \
14654 $(POSTSTAGE1_HOST_EXPORTS) \
14655 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14656 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14657 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
14658 echo Configuring stage 4 in $(HOST_SUBDIR)/libelf; \
14659 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
14660 cd $(HOST_SUBDIR)/libelf || exit 1; \
14661 case $(srcdir) in \
14662 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14663 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14664 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14665 esac; \
14666 module_srcdir=libelf; \
14667 $(SHELL) $$s/$$module_srcdir/configure \
14668 --srcdir=$${topdir}/$$module_srcdir \
14669 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14670 --target=${target_alias} \
14671 --with-build-libsubdir=$(HOST_SUBDIR) \
14672 $(STAGE4_CONFIGURE_FLAGS) \
14673 --disable-shared
14674 @endif libelf-bootstrap
14676 .PHONY: configure-stageprofile-libelf maybe-configure-stageprofile-libelf
14677 maybe-configure-stageprofile-libelf:
14678 @if libelf-bootstrap
14679 maybe-configure-stageprofile-libelf: configure-stageprofile-libelf
14680 configure-stageprofile-libelf:
14681 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14682 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14683 @r=`${PWD_COMMAND}`; export r; \
14684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14685 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14686 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14687 $(HOST_EXPORTS) \
14688 $(POSTSTAGE1_HOST_EXPORTS) \
14689 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14690 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14691 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
14692 echo Configuring stage profile in $(HOST_SUBDIR)/libelf; \
14693 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
14694 cd $(HOST_SUBDIR)/libelf || exit 1; \
14695 case $(srcdir) in \
14696 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14697 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14698 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14699 esac; \
14700 module_srcdir=libelf; \
14701 $(SHELL) $$s/$$module_srcdir/configure \
14702 --srcdir=$${topdir}/$$module_srcdir \
14703 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14704 --target=${target_alias} \
14705 --with-build-libsubdir=$(HOST_SUBDIR) \
14706 $(STAGEprofile_CONFIGURE_FLAGS) \
14707 --disable-shared
14708 @endif libelf-bootstrap
14710 .PHONY: configure-stagefeedback-libelf maybe-configure-stagefeedback-libelf
14711 maybe-configure-stagefeedback-libelf:
14712 @if libelf-bootstrap
14713 maybe-configure-stagefeedback-libelf: configure-stagefeedback-libelf
14714 configure-stagefeedback-libelf:
14715 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14716 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14717 @r=`${PWD_COMMAND}`; export r; \
14718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14719 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14720 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14721 $(HOST_EXPORTS) \
14722 $(POSTSTAGE1_HOST_EXPORTS) \
14723 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14724 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14725 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
14726 echo Configuring stage feedback in $(HOST_SUBDIR)/libelf; \
14727 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
14728 cd $(HOST_SUBDIR)/libelf || exit 1; \
14729 case $(srcdir) in \
14730 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14731 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14732 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14733 esac; \
14734 module_srcdir=libelf; \
14735 $(SHELL) $$s/$$module_srcdir/configure \
14736 --srcdir=$${topdir}/$$module_srcdir \
14737 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14738 --target=${target_alias} \
14739 --with-build-libsubdir=$(HOST_SUBDIR) \
14740 $(STAGEfeedback_CONFIGURE_FLAGS) \
14741 --disable-shared
14742 @endif libelf-bootstrap
14748 .PHONY: all-libelf maybe-all-libelf
14749 maybe-all-libelf:
14750 @if gcc-bootstrap
14751 all-libelf: stage_current
14752 @endif gcc-bootstrap
14753 @if libelf
14754 TARGET-libelf=all
14755 maybe-all-libelf: all-libelf
14756 all-libelf: configure-libelf
14757 @r=`${PWD_COMMAND}`; export r; \
14758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14759 $(HOST_EXPORTS) \
14760 (cd $(HOST_SUBDIR)/libelf && \
14761 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
14762 $(TARGET-libelf))
14763 @endif libelf
14767 .PHONY: all-stage1-libelf maybe-all-stage1-libelf
14768 .PHONY: clean-stage1-libelf maybe-clean-stage1-libelf
14769 maybe-all-stage1-libelf:
14770 maybe-clean-stage1-libelf:
14771 @if libelf-bootstrap
14772 maybe-all-stage1-libelf: all-stage1-libelf
14773 all-stage1: all-stage1-libelf
14774 TARGET-stage1-libelf = $(TARGET-libelf)
14775 all-stage1-libelf: configure-stage1-libelf
14776 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14777 @r=`${PWD_COMMAND}`; export r; \
14778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14779 TFLAGS="$(STAGE1_TFLAGS)"; \
14780 $(HOST_EXPORTS) \
14781 cd $(HOST_SUBDIR)/libelf && \
14782 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14783 CFLAGS="$(STAGE1_CFLAGS)" \
14784 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
14785 LIBCFLAGS="$(LIBCFLAGS)" \
14786 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14787 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14788 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14789 $(EXTRA_HOST_FLAGS) \
14790 $(STAGE1_FLAGS_TO_PASS) \
14791 TFLAGS="$(STAGE1_TFLAGS)" \
14792 $(TARGET-stage1-libelf)
14794 maybe-clean-stage1-libelf: clean-stage1-libelf
14795 clean-stage1: clean-stage1-libelf
14796 clean-stage1-libelf:
14797 @if [ $(current_stage) = stage1 ]; then \
14798 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
14799 else \
14800 [ -f $(HOST_SUBDIR)/stage1-libelf/Makefile ] || exit 0; \
14801 $(MAKE) stage1-start; \
14802 fi; \
14803 cd $(HOST_SUBDIR)/libelf && \
14804 $(MAKE) $(EXTRA_HOST_FLAGS) \
14805 $(STAGE1_FLAGS_TO_PASS) clean
14806 @endif libelf-bootstrap
14809 .PHONY: all-stage2-libelf maybe-all-stage2-libelf
14810 .PHONY: clean-stage2-libelf maybe-clean-stage2-libelf
14811 maybe-all-stage2-libelf:
14812 maybe-clean-stage2-libelf:
14813 @if libelf-bootstrap
14814 maybe-all-stage2-libelf: all-stage2-libelf
14815 all-stage2: all-stage2-libelf
14816 TARGET-stage2-libelf = $(TARGET-libelf)
14817 all-stage2-libelf: configure-stage2-libelf
14818 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14819 @r=`${PWD_COMMAND}`; export r; \
14820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14821 TFLAGS="$(STAGE2_TFLAGS)"; \
14822 $(HOST_EXPORTS) \
14823 $(POSTSTAGE1_HOST_EXPORTS) \
14824 cd $(HOST_SUBDIR)/libelf && \
14825 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14826 CFLAGS="$(STAGE2_CFLAGS)" \
14827 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
14828 LIBCFLAGS="$(STAGE2_CFLAGS)" \
14829 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14830 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14831 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14832 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14833 TFLAGS="$(STAGE2_TFLAGS)" \
14834 $(TARGET-stage2-libelf)
14836 maybe-clean-stage2-libelf: clean-stage2-libelf
14837 clean-stage2: clean-stage2-libelf
14838 clean-stage2-libelf:
14839 @if [ $(current_stage) = stage2 ]; then \
14840 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
14841 else \
14842 [ -f $(HOST_SUBDIR)/stage2-libelf/Makefile ] || exit 0; \
14843 $(MAKE) stage2-start; \
14844 fi; \
14845 cd $(HOST_SUBDIR)/libelf && \
14846 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
14847 @endif libelf-bootstrap
14850 .PHONY: all-stage3-libelf maybe-all-stage3-libelf
14851 .PHONY: clean-stage3-libelf maybe-clean-stage3-libelf
14852 maybe-all-stage3-libelf:
14853 maybe-clean-stage3-libelf:
14854 @if libelf-bootstrap
14855 maybe-all-stage3-libelf: all-stage3-libelf
14856 all-stage3: all-stage3-libelf
14857 TARGET-stage3-libelf = $(TARGET-libelf)
14858 all-stage3-libelf: configure-stage3-libelf
14859 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14860 @r=`${PWD_COMMAND}`; export r; \
14861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14862 TFLAGS="$(STAGE3_TFLAGS)"; \
14863 $(HOST_EXPORTS) \
14864 $(POSTSTAGE1_HOST_EXPORTS) \
14865 cd $(HOST_SUBDIR)/libelf && \
14866 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14867 CFLAGS="$(STAGE3_CFLAGS)" \
14868 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
14869 LIBCFLAGS="$(STAGE3_CFLAGS)" \
14870 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14871 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14872 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14873 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14874 TFLAGS="$(STAGE3_TFLAGS)" \
14875 $(TARGET-stage3-libelf)
14877 maybe-clean-stage3-libelf: clean-stage3-libelf
14878 clean-stage3: clean-stage3-libelf
14879 clean-stage3-libelf:
14880 @if [ $(current_stage) = stage3 ]; then \
14881 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
14882 else \
14883 [ -f $(HOST_SUBDIR)/stage3-libelf/Makefile ] || exit 0; \
14884 $(MAKE) stage3-start; \
14885 fi; \
14886 cd $(HOST_SUBDIR)/libelf && \
14887 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
14888 @endif libelf-bootstrap
14891 .PHONY: all-stage4-libelf maybe-all-stage4-libelf
14892 .PHONY: clean-stage4-libelf maybe-clean-stage4-libelf
14893 maybe-all-stage4-libelf:
14894 maybe-clean-stage4-libelf:
14895 @if libelf-bootstrap
14896 maybe-all-stage4-libelf: all-stage4-libelf
14897 all-stage4: all-stage4-libelf
14898 TARGET-stage4-libelf = $(TARGET-libelf)
14899 all-stage4-libelf: configure-stage4-libelf
14900 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14901 @r=`${PWD_COMMAND}`; export r; \
14902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14903 TFLAGS="$(STAGE4_TFLAGS)"; \
14904 $(HOST_EXPORTS) \
14905 $(POSTSTAGE1_HOST_EXPORTS) \
14906 cd $(HOST_SUBDIR)/libelf && \
14907 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14908 CFLAGS="$(STAGE4_CFLAGS)" \
14909 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
14910 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14911 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14912 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14913 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14914 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14915 TFLAGS="$(STAGE4_TFLAGS)" \
14916 $(TARGET-stage4-libelf)
14918 maybe-clean-stage4-libelf: clean-stage4-libelf
14919 clean-stage4: clean-stage4-libelf
14920 clean-stage4-libelf:
14921 @if [ $(current_stage) = stage4 ]; then \
14922 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
14923 else \
14924 [ -f $(HOST_SUBDIR)/stage4-libelf/Makefile ] || exit 0; \
14925 $(MAKE) stage4-start; \
14926 fi; \
14927 cd $(HOST_SUBDIR)/libelf && \
14928 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
14929 @endif libelf-bootstrap
14932 .PHONY: all-stageprofile-libelf maybe-all-stageprofile-libelf
14933 .PHONY: clean-stageprofile-libelf maybe-clean-stageprofile-libelf
14934 maybe-all-stageprofile-libelf:
14935 maybe-clean-stageprofile-libelf:
14936 @if libelf-bootstrap
14937 maybe-all-stageprofile-libelf: all-stageprofile-libelf
14938 all-stageprofile: all-stageprofile-libelf
14939 TARGET-stageprofile-libelf = $(TARGET-libelf)
14940 all-stageprofile-libelf: configure-stageprofile-libelf
14941 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14942 @r=`${PWD_COMMAND}`; export r; \
14943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14944 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14945 $(HOST_EXPORTS) \
14946 $(POSTSTAGE1_HOST_EXPORTS) \
14947 cd $(HOST_SUBDIR)/libelf && \
14948 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14949 CFLAGS="$(STAGEprofile_CFLAGS)" \
14950 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
14951 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14952 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14953 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14954 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14955 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14956 TFLAGS="$(STAGEprofile_TFLAGS)" \
14957 $(TARGET-stageprofile-libelf)
14959 maybe-clean-stageprofile-libelf: clean-stageprofile-libelf
14960 clean-stageprofile: clean-stageprofile-libelf
14961 clean-stageprofile-libelf:
14962 @if [ $(current_stage) = stageprofile ]; then \
14963 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
14964 else \
14965 [ -f $(HOST_SUBDIR)/stageprofile-libelf/Makefile ] || exit 0; \
14966 $(MAKE) stageprofile-start; \
14967 fi; \
14968 cd $(HOST_SUBDIR)/libelf && \
14969 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
14970 @endif libelf-bootstrap
14973 .PHONY: all-stagefeedback-libelf maybe-all-stagefeedback-libelf
14974 .PHONY: clean-stagefeedback-libelf maybe-clean-stagefeedback-libelf
14975 maybe-all-stagefeedback-libelf:
14976 maybe-clean-stagefeedback-libelf:
14977 @if libelf-bootstrap
14978 maybe-all-stagefeedback-libelf: all-stagefeedback-libelf
14979 all-stagefeedback: all-stagefeedback-libelf
14980 TARGET-stagefeedback-libelf = $(TARGET-libelf)
14981 all-stagefeedback-libelf: configure-stagefeedback-libelf
14982 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14983 @r=`${PWD_COMMAND}`; export r; \
14984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14985 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14986 $(HOST_EXPORTS) \
14987 $(POSTSTAGE1_HOST_EXPORTS) \
14988 cd $(HOST_SUBDIR)/libelf && \
14989 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14990 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14991 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
14992 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14993 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14994 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14995 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14996 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14997 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14998 $(TARGET-stagefeedback-libelf)
15000 maybe-clean-stagefeedback-libelf: clean-stagefeedback-libelf
15001 clean-stagefeedback: clean-stagefeedback-libelf
15002 clean-stagefeedback-libelf:
15003 @if [ $(current_stage) = stagefeedback ]; then \
15004 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15005 else \
15006 [ -f $(HOST_SUBDIR)/stagefeedback-libelf/Makefile ] || exit 0; \
15007 $(MAKE) stagefeedback-start; \
15008 fi; \
15009 cd $(HOST_SUBDIR)/libelf && \
15010 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15011 @endif libelf-bootstrap
15017 .PHONY: check-libelf maybe-check-libelf
15018 maybe-check-libelf:
15019 @if libelf
15020 maybe-check-libelf: check-libelf
15022 check-libelf:
15023 @: $(MAKE); $(unstage)
15024 @r=`${PWD_COMMAND}`; export r; \
15025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15026 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
15027 (cd $(HOST_SUBDIR)/libelf && \
15028 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
15030 @endif libelf
15032 .PHONY: install-libelf maybe-install-libelf
15033 maybe-install-libelf:
15034 @if libelf
15035 maybe-install-libelf: install-libelf
15037 install-libelf:
15039 @endif libelf
15041 .PHONY: install-strip-libelf maybe-install-strip-libelf
15042 maybe-install-strip-libelf:
15043 @if libelf
15044 maybe-install-strip-libelf: install-strip-libelf
15046 install-strip-libelf:
15048 @endif libelf
15050 # Other targets (info, dvi, pdf, etc.)
15052 .PHONY: maybe-info-libelf info-libelf
15053 maybe-info-libelf:
15054 @if libelf
15055 maybe-info-libelf: info-libelf
15057 info-libelf: \
15058 configure-libelf
15059 @[ -f ./libelf/Makefile ] || exit 0; \
15060 r=`${PWD_COMMAND}`; export r; \
15061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15062 $(HOST_EXPORTS) \
15063 for flag in $(EXTRA_HOST_FLAGS) ; do \
15064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15065 done; \
15066 echo "Doing info in libelf"; \
15067 (cd $(HOST_SUBDIR)/libelf && \
15068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15070 "RANLIB=$${RANLIB}" \
15071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15072 info) \
15073 || exit 1
15075 @endif libelf
15077 .PHONY: maybe-dvi-libelf dvi-libelf
15078 maybe-dvi-libelf:
15079 @if libelf
15080 maybe-dvi-libelf: dvi-libelf
15082 dvi-libelf: \
15083 configure-libelf
15084 @[ -f ./libelf/Makefile ] || exit 0; \
15085 r=`${PWD_COMMAND}`; export r; \
15086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15087 $(HOST_EXPORTS) \
15088 for flag in $(EXTRA_HOST_FLAGS) ; do \
15089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15090 done; \
15091 echo "Doing dvi in libelf"; \
15092 (cd $(HOST_SUBDIR)/libelf && \
15093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15095 "RANLIB=$${RANLIB}" \
15096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15097 dvi) \
15098 || exit 1
15100 @endif libelf
15102 .PHONY: maybe-pdf-libelf pdf-libelf
15103 maybe-pdf-libelf:
15104 @if libelf
15105 maybe-pdf-libelf: pdf-libelf
15107 pdf-libelf: \
15108 configure-libelf
15109 @[ -f ./libelf/Makefile ] || exit 0; \
15110 r=`${PWD_COMMAND}`; export r; \
15111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15112 $(HOST_EXPORTS) \
15113 for flag in $(EXTRA_HOST_FLAGS) ; do \
15114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15115 done; \
15116 echo "Doing pdf in libelf"; \
15117 (cd $(HOST_SUBDIR)/libelf && \
15118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15120 "RANLIB=$${RANLIB}" \
15121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15122 pdf) \
15123 || exit 1
15125 @endif libelf
15127 .PHONY: maybe-html-libelf html-libelf
15128 maybe-html-libelf:
15129 @if libelf
15130 maybe-html-libelf: html-libelf
15132 html-libelf: \
15133 configure-libelf
15134 @[ -f ./libelf/Makefile ] || exit 0; \
15135 r=`${PWD_COMMAND}`; export r; \
15136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15137 $(HOST_EXPORTS) \
15138 for flag in $(EXTRA_HOST_FLAGS) ; do \
15139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15140 done; \
15141 echo "Doing html in libelf"; \
15142 (cd $(HOST_SUBDIR)/libelf && \
15143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15145 "RANLIB=$${RANLIB}" \
15146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15147 html) \
15148 || exit 1
15150 @endif libelf
15152 .PHONY: maybe-TAGS-libelf TAGS-libelf
15153 maybe-TAGS-libelf:
15154 @if libelf
15155 maybe-TAGS-libelf: TAGS-libelf
15157 TAGS-libelf: \
15158 configure-libelf
15159 @[ -f ./libelf/Makefile ] || exit 0; \
15160 r=`${PWD_COMMAND}`; export r; \
15161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15162 $(HOST_EXPORTS) \
15163 for flag in $(EXTRA_HOST_FLAGS) ; do \
15164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15165 done; \
15166 echo "Doing TAGS in libelf"; \
15167 (cd $(HOST_SUBDIR)/libelf && \
15168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15170 "RANLIB=$${RANLIB}" \
15171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15172 TAGS) \
15173 || exit 1
15175 @endif libelf
15177 .PHONY: maybe-install-info-libelf install-info-libelf
15178 maybe-install-info-libelf:
15179 @if libelf
15180 maybe-install-info-libelf: install-info-libelf
15182 install-info-libelf: \
15183 configure-libelf \
15184 info-libelf
15185 @[ -f ./libelf/Makefile ] || exit 0; \
15186 r=`${PWD_COMMAND}`; export r; \
15187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15188 $(HOST_EXPORTS) \
15189 for flag in $(EXTRA_HOST_FLAGS) ; do \
15190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15191 done; \
15192 echo "Doing install-info in libelf"; \
15193 (cd $(HOST_SUBDIR)/libelf && \
15194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15196 "RANLIB=$${RANLIB}" \
15197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15198 install-info) \
15199 || exit 1
15201 @endif libelf
15203 .PHONY: maybe-install-pdf-libelf install-pdf-libelf
15204 maybe-install-pdf-libelf:
15205 @if libelf
15206 maybe-install-pdf-libelf: install-pdf-libelf
15208 install-pdf-libelf: \
15209 configure-libelf \
15210 pdf-libelf
15211 @[ -f ./libelf/Makefile ] || exit 0; \
15212 r=`${PWD_COMMAND}`; export r; \
15213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15214 $(HOST_EXPORTS) \
15215 for flag in $(EXTRA_HOST_FLAGS) ; do \
15216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15217 done; \
15218 echo "Doing install-pdf in libelf"; \
15219 (cd $(HOST_SUBDIR)/libelf && \
15220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15222 "RANLIB=$${RANLIB}" \
15223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15224 install-pdf) \
15225 || exit 1
15227 @endif libelf
15229 .PHONY: maybe-install-html-libelf install-html-libelf
15230 maybe-install-html-libelf:
15231 @if libelf
15232 maybe-install-html-libelf: install-html-libelf
15234 install-html-libelf: \
15235 configure-libelf \
15236 html-libelf
15237 @[ -f ./libelf/Makefile ] || exit 0; \
15238 r=`${PWD_COMMAND}`; export r; \
15239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15240 $(HOST_EXPORTS) \
15241 for flag in $(EXTRA_HOST_FLAGS) ; do \
15242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15243 done; \
15244 echo "Doing install-html in libelf"; \
15245 (cd $(HOST_SUBDIR)/libelf && \
15246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15248 "RANLIB=$${RANLIB}" \
15249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15250 install-html) \
15251 || exit 1
15253 @endif libelf
15255 .PHONY: maybe-installcheck-libelf installcheck-libelf
15256 maybe-installcheck-libelf:
15257 @if libelf
15258 maybe-installcheck-libelf: installcheck-libelf
15260 installcheck-libelf: \
15261 configure-libelf
15262 @[ -f ./libelf/Makefile ] || exit 0; \
15263 r=`${PWD_COMMAND}`; export r; \
15264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15265 $(HOST_EXPORTS) \
15266 for flag in $(EXTRA_HOST_FLAGS) ; do \
15267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15268 done; \
15269 echo "Doing installcheck in libelf"; \
15270 (cd $(HOST_SUBDIR)/libelf && \
15271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15273 "RANLIB=$${RANLIB}" \
15274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15275 installcheck) \
15276 || exit 1
15278 @endif libelf
15280 .PHONY: maybe-mostlyclean-libelf mostlyclean-libelf
15281 maybe-mostlyclean-libelf:
15282 @if libelf
15283 maybe-mostlyclean-libelf: mostlyclean-libelf
15285 mostlyclean-libelf:
15286 @[ -f ./libelf/Makefile ] || exit 0; \
15287 r=`${PWD_COMMAND}`; export r; \
15288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15289 $(HOST_EXPORTS) \
15290 for flag in $(EXTRA_HOST_FLAGS) ; do \
15291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15292 done; \
15293 echo "Doing mostlyclean in libelf"; \
15294 (cd $(HOST_SUBDIR)/libelf && \
15295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15297 "RANLIB=$${RANLIB}" \
15298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15299 mostlyclean) \
15300 || exit 1
15302 @endif libelf
15304 .PHONY: maybe-clean-libelf clean-libelf
15305 maybe-clean-libelf:
15306 @if libelf
15307 maybe-clean-libelf: clean-libelf
15309 clean-libelf:
15310 @[ -f ./libelf/Makefile ] || exit 0; \
15311 r=`${PWD_COMMAND}`; export r; \
15312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15313 $(HOST_EXPORTS) \
15314 for flag in $(EXTRA_HOST_FLAGS) ; do \
15315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15316 done; \
15317 echo "Doing clean in libelf"; \
15318 (cd $(HOST_SUBDIR)/libelf && \
15319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15321 "RANLIB=$${RANLIB}" \
15322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15323 clean) \
15324 || exit 1
15326 @endif libelf
15328 .PHONY: maybe-distclean-libelf distclean-libelf
15329 maybe-distclean-libelf:
15330 @if libelf
15331 maybe-distclean-libelf: distclean-libelf
15333 distclean-libelf:
15334 @[ -f ./libelf/Makefile ] || exit 0; \
15335 r=`${PWD_COMMAND}`; export r; \
15336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15337 $(HOST_EXPORTS) \
15338 for flag in $(EXTRA_HOST_FLAGS) ; do \
15339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15340 done; \
15341 echo "Doing distclean in libelf"; \
15342 (cd $(HOST_SUBDIR)/libelf && \
15343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15345 "RANLIB=$${RANLIB}" \
15346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15347 distclean) \
15348 || exit 1
15350 @endif libelf
15352 .PHONY: maybe-maintainer-clean-libelf maintainer-clean-libelf
15353 maybe-maintainer-clean-libelf:
15354 @if libelf
15355 maybe-maintainer-clean-libelf: maintainer-clean-libelf
15357 maintainer-clean-libelf:
15358 @[ -f ./libelf/Makefile ] || exit 0; \
15359 r=`${PWD_COMMAND}`; export r; \
15360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15361 $(HOST_EXPORTS) \
15362 for flag in $(EXTRA_HOST_FLAGS) ; do \
15363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15364 done; \
15365 echo "Doing maintainer-clean in libelf"; \
15366 (cd $(HOST_SUBDIR)/libelf && \
15367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15369 "RANLIB=$${RANLIB}" \
15370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15371 maintainer-clean) \
15372 || exit 1
15374 @endif libelf
15378 .PHONY: configure-gold maybe-configure-gold
15379 maybe-configure-gold:
15380 @if gcc-bootstrap
15381 configure-gold: stage_current
15382 @endif gcc-bootstrap
15383 @if gold
15384 maybe-configure-gold: configure-gold
15385 configure-gold:
15386 @r=`${PWD_COMMAND}`; export r; \
15387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15388 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15389 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
15390 $(HOST_EXPORTS) \
15391 echo Configuring in $(HOST_SUBDIR)/gold; \
15392 cd "$(HOST_SUBDIR)/gold" || exit 1; \
15393 case $(srcdir) in \
15394 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15395 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15396 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15397 esac; \
15398 module_srcdir=gold; \
15399 $(SHELL) \
15400 $$s/$$module_srcdir/configure \
15401 --srcdir=$${topdir}/$$module_srcdir \
15402 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15403 --target=${target_alias} \
15404 || exit 1
15405 @endif gold
15409 .PHONY: configure-stage1-gold maybe-configure-stage1-gold
15410 maybe-configure-stage1-gold:
15411 @if gold-bootstrap
15412 maybe-configure-stage1-gold: configure-stage1-gold
15413 configure-stage1-gold:
15414 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15415 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15416 @r=`${PWD_COMMAND}`; export r; \
15417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15418 TFLAGS="$(STAGE1_TFLAGS)"; \
15419 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15420 $(HOST_EXPORTS) \
15421 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
15422 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
15423 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
15424 echo Configuring stage 1 in $(HOST_SUBDIR)/gold; \
15425 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
15426 cd $(HOST_SUBDIR)/gold || exit 1; \
15427 case $(srcdir) in \
15428 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15429 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15430 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15431 esac; \
15432 module_srcdir=gold; \
15433 $(SHELL) $$s/$$module_srcdir/configure \
15434 --srcdir=$${topdir}/$$module_srcdir \
15435 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15436 --target=${target_alias} \
15438 $(STAGE1_CONFIGURE_FLAGS)
15439 @endif gold-bootstrap
15441 .PHONY: configure-stage2-gold maybe-configure-stage2-gold
15442 maybe-configure-stage2-gold:
15443 @if gold-bootstrap
15444 maybe-configure-stage2-gold: configure-stage2-gold
15445 configure-stage2-gold:
15446 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15447 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15448 @r=`${PWD_COMMAND}`; export r; \
15449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15450 TFLAGS="$(STAGE2_TFLAGS)"; \
15451 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15452 $(HOST_EXPORTS) \
15453 $(POSTSTAGE1_HOST_EXPORTS) \
15454 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
15455 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
15456 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
15457 echo Configuring stage 2 in $(HOST_SUBDIR)/gold; \
15458 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
15459 cd $(HOST_SUBDIR)/gold || exit 1; \
15460 case $(srcdir) in \
15461 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15462 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15463 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15464 esac; \
15465 module_srcdir=gold; \
15466 $(SHELL) $$s/$$module_srcdir/configure \
15467 --srcdir=$${topdir}/$$module_srcdir \
15468 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15469 --target=${target_alias} \
15470 --with-build-libsubdir=$(HOST_SUBDIR) \
15471 $(STAGE2_CONFIGURE_FLAGS)
15472 @endif gold-bootstrap
15474 .PHONY: configure-stage3-gold maybe-configure-stage3-gold
15475 maybe-configure-stage3-gold:
15476 @if gold-bootstrap
15477 maybe-configure-stage3-gold: configure-stage3-gold
15478 configure-stage3-gold:
15479 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15480 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15481 @r=`${PWD_COMMAND}`; export r; \
15482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15483 TFLAGS="$(STAGE3_TFLAGS)"; \
15484 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15485 $(HOST_EXPORTS) \
15486 $(POSTSTAGE1_HOST_EXPORTS) \
15487 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
15488 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
15489 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
15490 echo Configuring stage 3 in $(HOST_SUBDIR)/gold; \
15491 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
15492 cd $(HOST_SUBDIR)/gold || exit 1; \
15493 case $(srcdir) in \
15494 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15495 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15496 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15497 esac; \
15498 module_srcdir=gold; \
15499 $(SHELL) $$s/$$module_srcdir/configure \
15500 --srcdir=$${topdir}/$$module_srcdir \
15501 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15502 --target=${target_alias} \
15503 --with-build-libsubdir=$(HOST_SUBDIR) \
15504 $(STAGE3_CONFIGURE_FLAGS)
15505 @endif gold-bootstrap
15507 .PHONY: configure-stage4-gold maybe-configure-stage4-gold
15508 maybe-configure-stage4-gold:
15509 @if gold-bootstrap
15510 maybe-configure-stage4-gold: configure-stage4-gold
15511 configure-stage4-gold:
15512 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15513 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15514 @r=`${PWD_COMMAND}`; export r; \
15515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15516 TFLAGS="$(STAGE4_TFLAGS)"; \
15517 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15518 $(HOST_EXPORTS) \
15519 $(POSTSTAGE1_HOST_EXPORTS) \
15520 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
15521 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
15522 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
15523 echo Configuring stage 4 in $(HOST_SUBDIR)/gold; \
15524 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
15525 cd $(HOST_SUBDIR)/gold || exit 1; \
15526 case $(srcdir) in \
15527 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15528 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15529 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15530 esac; \
15531 module_srcdir=gold; \
15532 $(SHELL) $$s/$$module_srcdir/configure \
15533 --srcdir=$${topdir}/$$module_srcdir \
15534 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15535 --target=${target_alias} \
15536 --with-build-libsubdir=$(HOST_SUBDIR) \
15537 $(STAGE4_CONFIGURE_FLAGS)
15538 @endif gold-bootstrap
15540 .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold
15541 maybe-configure-stageprofile-gold:
15542 @if gold-bootstrap
15543 maybe-configure-stageprofile-gold: configure-stageprofile-gold
15544 configure-stageprofile-gold:
15545 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15546 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15547 @r=`${PWD_COMMAND}`; export r; \
15548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15549 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15550 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15551 $(HOST_EXPORTS) \
15552 $(POSTSTAGE1_HOST_EXPORTS) \
15553 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
15554 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
15555 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
15556 echo Configuring stage profile in $(HOST_SUBDIR)/gold; \
15557 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
15558 cd $(HOST_SUBDIR)/gold || exit 1; \
15559 case $(srcdir) in \
15560 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15561 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15562 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15563 esac; \
15564 module_srcdir=gold; \
15565 $(SHELL) $$s/$$module_srcdir/configure \
15566 --srcdir=$${topdir}/$$module_srcdir \
15567 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15568 --target=${target_alias} \
15569 --with-build-libsubdir=$(HOST_SUBDIR) \
15570 $(STAGEprofile_CONFIGURE_FLAGS)
15571 @endif gold-bootstrap
15573 .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold
15574 maybe-configure-stagefeedback-gold:
15575 @if gold-bootstrap
15576 maybe-configure-stagefeedback-gold: configure-stagefeedback-gold
15577 configure-stagefeedback-gold:
15578 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15579 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15580 @r=`${PWD_COMMAND}`; export r; \
15581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15582 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15583 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15584 $(HOST_EXPORTS) \
15585 $(POSTSTAGE1_HOST_EXPORTS) \
15586 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
15587 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
15588 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
15589 echo Configuring stage feedback in $(HOST_SUBDIR)/gold; \
15590 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
15591 cd $(HOST_SUBDIR)/gold || exit 1; \
15592 case $(srcdir) in \
15593 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15594 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15595 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15596 esac; \
15597 module_srcdir=gold; \
15598 $(SHELL) $$s/$$module_srcdir/configure \
15599 --srcdir=$${topdir}/$$module_srcdir \
15600 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15601 --target=${target_alias} \
15602 --with-build-libsubdir=$(HOST_SUBDIR) \
15603 $(STAGEfeedback_CONFIGURE_FLAGS)
15604 @endif gold-bootstrap
15610 .PHONY: all-gold maybe-all-gold
15611 maybe-all-gold:
15612 @if gcc-bootstrap
15613 all-gold: stage_current
15614 @endif gcc-bootstrap
15615 @if gold
15616 TARGET-gold=all
15617 maybe-all-gold: all-gold
15618 all-gold: configure-gold
15619 @r=`${PWD_COMMAND}`; export r; \
15620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15621 $(HOST_EXPORTS) \
15622 (cd $(HOST_SUBDIR)/gold && \
15623 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
15624 $(TARGET-gold))
15625 @endif gold
15629 .PHONY: all-stage1-gold maybe-all-stage1-gold
15630 .PHONY: clean-stage1-gold maybe-clean-stage1-gold
15631 maybe-all-stage1-gold:
15632 maybe-clean-stage1-gold:
15633 @if gold-bootstrap
15634 maybe-all-stage1-gold: all-stage1-gold
15635 all-stage1: all-stage1-gold
15636 TARGET-stage1-gold = $(TARGET-gold)
15637 all-stage1-gold: configure-stage1-gold
15638 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15639 @r=`${PWD_COMMAND}`; export r; \
15640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15641 TFLAGS="$(STAGE1_TFLAGS)"; \
15642 $(HOST_EXPORTS) \
15643 cd $(HOST_SUBDIR)/gold && \
15644 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15645 CFLAGS="$(STAGE1_CFLAGS)" \
15646 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15647 LIBCFLAGS="$(LIBCFLAGS)" \
15648 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15649 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15650 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15651 $(EXTRA_HOST_FLAGS) \
15652 $(STAGE1_FLAGS_TO_PASS) \
15653 TFLAGS="$(STAGE1_TFLAGS)" \
15654 $(TARGET-stage1-gold)
15656 maybe-clean-stage1-gold: clean-stage1-gold
15657 clean-stage1: clean-stage1-gold
15658 clean-stage1-gold:
15659 @if [ $(current_stage) = stage1 ]; then \
15660 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15661 else \
15662 [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \
15663 $(MAKE) stage1-start; \
15664 fi; \
15665 cd $(HOST_SUBDIR)/gold && \
15666 $(MAKE) $(EXTRA_HOST_FLAGS) \
15667 $(STAGE1_FLAGS_TO_PASS) clean
15668 @endif gold-bootstrap
15671 .PHONY: all-stage2-gold maybe-all-stage2-gold
15672 .PHONY: clean-stage2-gold maybe-clean-stage2-gold
15673 maybe-all-stage2-gold:
15674 maybe-clean-stage2-gold:
15675 @if gold-bootstrap
15676 maybe-all-stage2-gold: all-stage2-gold
15677 all-stage2: all-stage2-gold
15678 TARGET-stage2-gold = $(TARGET-gold)
15679 all-stage2-gold: configure-stage2-gold
15680 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15681 @r=`${PWD_COMMAND}`; export r; \
15682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15683 TFLAGS="$(STAGE2_TFLAGS)"; \
15684 $(HOST_EXPORTS) \
15685 $(POSTSTAGE1_HOST_EXPORTS) \
15686 cd $(HOST_SUBDIR)/gold && \
15687 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15688 CFLAGS="$(STAGE2_CFLAGS)" \
15689 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15690 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15691 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15692 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15693 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15694 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15695 TFLAGS="$(STAGE2_TFLAGS)" \
15696 $(TARGET-stage2-gold)
15698 maybe-clean-stage2-gold: clean-stage2-gold
15699 clean-stage2: clean-stage2-gold
15700 clean-stage2-gold:
15701 @if [ $(current_stage) = stage2 ]; then \
15702 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15703 else \
15704 [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \
15705 $(MAKE) stage2-start; \
15706 fi; \
15707 cd $(HOST_SUBDIR)/gold && \
15708 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15709 @endif gold-bootstrap
15712 .PHONY: all-stage3-gold maybe-all-stage3-gold
15713 .PHONY: clean-stage3-gold maybe-clean-stage3-gold
15714 maybe-all-stage3-gold:
15715 maybe-clean-stage3-gold:
15716 @if gold-bootstrap
15717 maybe-all-stage3-gold: all-stage3-gold
15718 all-stage3: all-stage3-gold
15719 TARGET-stage3-gold = $(TARGET-gold)
15720 all-stage3-gold: configure-stage3-gold
15721 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15722 @r=`${PWD_COMMAND}`; export r; \
15723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15724 TFLAGS="$(STAGE3_TFLAGS)"; \
15725 $(HOST_EXPORTS) \
15726 $(POSTSTAGE1_HOST_EXPORTS) \
15727 cd $(HOST_SUBDIR)/gold && \
15728 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15729 CFLAGS="$(STAGE3_CFLAGS)" \
15730 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15731 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15732 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15733 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15734 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15735 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15736 TFLAGS="$(STAGE3_TFLAGS)" \
15737 $(TARGET-stage3-gold)
15739 maybe-clean-stage3-gold: clean-stage3-gold
15740 clean-stage3: clean-stage3-gold
15741 clean-stage3-gold:
15742 @if [ $(current_stage) = stage3 ]; then \
15743 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15744 else \
15745 [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \
15746 $(MAKE) stage3-start; \
15747 fi; \
15748 cd $(HOST_SUBDIR)/gold && \
15749 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15750 @endif gold-bootstrap
15753 .PHONY: all-stage4-gold maybe-all-stage4-gold
15754 .PHONY: clean-stage4-gold maybe-clean-stage4-gold
15755 maybe-all-stage4-gold:
15756 maybe-clean-stage4-gold:
15757 @if gold-bootstrap
15758 maybe-all-stage4-gold: all-stage4-gold
15759 all-stage4: all-stage4-gold
15760 TARGET-stage4-gold = $(TARGET-gold)
15761 all-stage4-gold: configure-stage4-gold
15762 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15763 @r=`${PWD_COMMAND}`; export r; \
15764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15765 TFLAGS="$(STAGE4_TFLAGS)"; \
15766 $(HOST_EXPORTS) \
15767 $(POSTSTAGE1_HOST_EXPORTS) \
15768 cd $(HOST_SUBDIR)/gold && \
15769 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15770 CFLAGS="$(STAGE4_CFLAGS)" \
15771 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15772 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15773 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15774 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15775 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15776 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15777 TFLAGS="$(STAGE4_TFLAGS)" \
15778 $(TARGET-stage4-gold)
15780 maybe-clean-stage4-gold: clean-stage4-gold
15781 clean-stage4: clean-stage4-gold
15782 clean-stage4-gold:
15783 @if [ $(current_stage) = stage4 ]; then \
15784 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15785 else \
15786 [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \
15787 $(MAKE) stage4-start; \
15788 fi; \
15789 cd $(HOST_SUBDIR)/gold && \
15790 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15791 @endif gold-bootstrap
15794 .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold
15795 .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold
15796 maybe-all-stageprofile-gold:
15797 maybe-clean-stageprofile-gold:
15798 @if gold-bootstrap
15799 maybe-all-stageprofile-gold: all-stageprofile-gold
15800 all-stageprofile: all-stageprofile-gold
15801 TARGET-stageprofile-gold = $(TARGET-gold)
15802 all-stageprofile-gold: configure-stageprofile-gold
15803 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15804 @r=`${PWD_COMMAND}`; export r; \
15805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15806 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15807 $(HOST_EXPORTS) \
15808 $(POSTSTAGE1_HOST_EXPORTS) \
15809 cd $(HOST_SUBDIR)/gold && \
15810 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15811 CFLAGS="$(STAGEprofile_CFLAGS)" \
15812 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
15813 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
15814 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15815 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15816 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15817 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15818 TFLAGS="$(STAGEprofile_TFLAGS)" \
15819 $(TARGET-stageprofile-gold)
15821 maybe-clean-stageprofile-gold: clean-stageprofile-gold
15822 clean-stageprofile: clean-stageprofile-gold
15823 clean-stageprofile-gold:
15824 @if [ $(current_stage) = stageprofile ]; then \
15825 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15826 else \
15827 [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \
15828 $(MAKE) stageprofile-start; \
15829 fi; \
15830 cd $(HOST_SUBDIR)/gold && \
15831 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15832 @endif gold-bootstrap
15835 .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold
15836 .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold
15837 maybe-all-stagefeedback-gold:
15838 maybe-clean-stagefeedback-gold:
15839 @if gold-bootstrap
15840 maybe-all-stagefeedback-gold: all-stagefeedback-gold
15841 all-stagefeedback: all-stagefeedback-gold
15842 TARGET-stagefeedback-gold = $(TARGET-gold)
15843 all-stagefeedback-gold: configure-stagefeedback-gold
15844 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15845 @r=`${PWD_COMMAND}`; export r; \
15846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15847 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15848 $(HOST_EXPORTS) \
15849 $(POSTSTAGE1_HOST_EXPORTS) \
15850 cd $(HOST_SUBDIR)/gold && \
15851 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15852 CFLAGS="$(STAGEfeedback_CFLAGS)" \
15853 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
15854 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
15855 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15856 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15857 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15858 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15859 TFLAGS="$(STAGEfeedback_TFLAGS)" \
15860 $(TARGET-stagefeedback-gold)
15862 maybe-clean-stagefeedback-gold: clean-stagefeedback-gold
15863 clean-stagefeedback: clean-stagefeedback-gold
15864 clean-stagefeedback-gold:
15865 @if [ $(current_stage) = stagefeedback ]; then \
15866 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15867 else \
15868 [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \
15869 $(MAKE) stagefeedback-start; \
15870 fi; \
15871 cd $(HOST_SUBDIR)/gold && \
15872 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15873 @endif gold-bootstrap
15879 .PHONY: check-gold maybe-check-gold
15880 maybe-check-gold:
15881 @if gold
15882 maybe-check-gold: check-gold
15884 check-gold:
15885 @: $(MAKE); $(unstage)
15886 @r=`${PWD_COMMAND}`; export r; \
15887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15888 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
15889 (cd $(HOST_SUBDIR)/gold && \
15890 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
15892 @endif gold
15894 .PHONY: install-gold maybe-install-gold
15895 maybe-install-gold:
15896 @if gold
15897 maybe-install-gold: install-gold
15899 install-gold: installdirs
15900 @: $(MAKE); $(unstage)
15901 @r=`${PWD_COMMAND}`; export r; \
15902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15903 $(HOST_EXPORTS) \
15904 (cd $(HOST_SUBDIR)/gold && \
15905 $(MAKE) $(FLAGS_TO_PASS) install)
15907 @endif gold
15909 .PHONY: install-strip-gold maybe-install-strip-gold
15910 maybe-install-strip-gold:
15911 @if gold
15912 maybe-install-strip-gold: install-strip-gold
15914 install-strip-gold: installdirs
15915 @: $(MAKE); $(unstage)
15916 @r=`${PWD_COMMAND}`; export r; \
15917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15918 $(HOST_EXPORTS) \
15919 (cd $(HOST_SUBDIR)/gold && \
15920 $(MAKE) $(FLAGS_TO_PASS) install-strip)
15922 @endif gold
15924 # Other targets (info, dvi, pdf, etc.)
15926 .PHONY: maybe-info-gold info-gold
15927 maybe-info-gold:
15928 @if gold
15929 maybe-info-gold: info-gold
15931 info-gold: \
15932 configure-gold
15933 @[ -f ./gold/Makefile ] || exit 0; \
15934 r=`${PWD_COMMAND}`; export r; \
15935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15936 $(HOST_EXPORTS) \
15937 for flag in $(EXTRA_HOST_FLAGS) ; do \
15938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15939 done; \
15940 echo "Doing info in gold"; \
15941 (cd $(HOST_SUBDIR)/gold && \
15942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15944 "RANLIB=$${RANLIB}" \
15945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15946 info) \
15947 || exit 1
15949 @endif gold
15951 .PHONY: maybe-dvi-gold dvi-gold
15952 maybe-dvi-gold:
15953 @if gold
15954 maybe-dvi-gold: dvi-gold
15956 dvi-gold: \
15957 configure-gold
15958 @[ -f ./gold/Makefile ] || exit 0; \
15959 r=`${PWD_COMMAND}`; export r; \
15960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15961 $(HOST_EXPORTS) \
15962 for flag in $(EXTRA_HOST_FLAGS) ; do \
15963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15964 done; \
15965 echo "Doing dvi in gold"; \
15966 (cd $(HOST_SUBDIR)/gold && \
15967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15969 "RANLIB=$${RANLIB}" \
15970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15971 dvi) \
15972 || exit 1
15974 @endif gold
15976 .PHONY: maybe-pdf-gold pdf-gold
15977 maybe-pdf-gold:
15978 @if gold
15979 maybe-pdf-gold: pdf-gold
15981 pdf-gold: \
15982 configure-gold
15983 @[ -f ./gold/Makefile ] || exit 0; \
15984 r=`${PWD_COMMAND}`; export r; \
15985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15986 $(HOST_EXPORTS) \
15987 for flag in $(EXTRA_HOST_FLAGS) ; do \
15988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15989 done; \
15990 echo "Doing pdf in gold"; \
15991 (cd $(HOST_SUBDIR)/gold && \
15992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15994 "RANLIB=$${RANLIB}" \
15995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15996 pdf) \
15997 || exit 1
15999 @endif gold
16001 .PHONY: maybe-html-gold html-gold
16002 maybe-html-gold:
16003 @if gold
16004 maybe-html-gold: html-gold
16006 html-gold: \
16007 configure-gold
16008 @[ -f ./gold/Makefile ] || exit 0; \
16009 r=`${PWD_COMMAND}`; export r; \
16010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16011 $(HOST_EXPORTS) \
16012 for flag in $(EXTRA_HOST_FLAGS) ; do \
16013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16014 done; \
16015 echo "Doing html in gold"; \
16016 (cd $(HOST_SUBDIR)/gold && \
16017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16019 "RANLIB=$${RANLIB}" \
16020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16021 html) \
16022 || exit 1
16024 @endif gold
16026 .PHONY: maybe-TAGS-gold TAGS-gold
16027 maybe-TAGS-gold:
16028 @if gold
16029 maybe-TAGS-gold: TAGS-gold
16031 TAGS-gold: \
16032 configure-gold
16033 @[ -f ./gold/Makefile ] || exit 0; \
16034 r=`${PWD_COMMAND}`; export r; \
16035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16036 $(HOST_EXPORTS) \
16037 for flag in $(EXTRA_HOST_FLAGS) ; do \
16038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16039 done; \
16040 echo "Doing TAGS in gold"; \
16041 (cd $(HOST_SUBDIR)/gold && \
16042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16044 "RANLIB=$${RANLIB}" \
16045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16046 TAGS) \
16047 || exit 1
16049 @endif gold
16051 .PHONY: maybe-install-info-gold install-info-gold
16052 maybe-install-info-gold:
16053 @if gold
16054 maybe-install-info-gold: install-info-gold
16056 install-info-gold: \
16057 configure-gold \
16058 info-gold
16059 @[ -f ./gold/Makefile ] || exit 0; \
16060 r=`${PWD_COMMAND}`; export r; \
16061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16062 $(HOST_EXPORTS) \
16063 for flag in $(EXTRA_HOST_FLAGS) ; do \
16064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16065 done; \
16066 echo "Doing install-info in gold"; \
16067 (cd $(HOST_SUBDIR)/gold && \
16068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16070 "RANLIB=$${RANLIB}" \
16071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16072 install-info) \
16073 || exit 1
16075 @endif gold
16077 .PHONY: maybe-install-pdf-gold install-pdf-gold
16078 maybe-install-pdf-gold:
16079 @if gold
16080 maybe-install-pdf-gold: install-pdf-gold
16082 install-pdf-gold: \
16083 configure-gold \
16084 pdf-gold
16085 @[ -f ./gold/Makefile ] || exit 0; \
16086 r=`${PWD_COMMAND}`; export r; \
16087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16088 $(HOST_EXPORTS) \
16089 for flag in $(EXTRA_HOST_FLAGS) ; do \
16090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16091 done; \
16092 echo "Doing install-pdf in gold"; \
16093 (cd $(HOST_SUBDIR)/gold && \
16094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16096 "RANLIB=$${RANLIB}" \
16097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16098 install-pdf) \
16099 || exit 1
16101 @endif gold
16103 .PHONY: maybe-install-html-gold install-html-gold
16104 maybe-install-html-gold:
16105 @if gold
16106 maybe-install-html-gold: install-html-gold
16108 install-html-gold: \
16109 configure-gold \
16110 html-gold
16111 @[ -f ./gold/Makefile ] || exit 0; \
16112 r=`${PWD_COMMAND}`; export r; \
16113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16114 $(HOST_EXPORTS) \
16115 for flag in $(EXTRA_HOST_FLAGS) ; do \
16116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16117 done; \
16118 echo "Doing install-html in gold"; \
16119 (cd $(HOST_SUBDIR)/gold && \
16120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16122 "RANLIB=$${RANLIB}" \
16123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16124 install-html) \
16125 || exit 1
16127 @endif gold
16129 .PHONY: maybe-installcheck-gold installcheck-gold
16130 maybe-installcheck-gold:
16131 @if gold
16132 maybe-installcheck-gold: installcheck-gold
16134 installcheck-gold: \
16135 configure-gold
16136 @[ -f ./gold/Makefile ] || exit 0; \
16137 r=`${PWD_COMMAND}`; export r; \
16138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16139 $(HOST_EXPORTS) \
16140 for flag in $(EXTRA_HOST_FLAGS) ; do \
16141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16142 done; \
16143 echo "Doing installcheck in gold"; \
16144 (cd $(HOST_SUBDIR)/gold && \
16145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16147 "RANLIB=$${RANLIB}" \
16148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16149 installcheck) \
16150 || exit 1
16152 @endif gold
16154 .PHONY: maybe-mostlyclean-gold mostlyclean-gold
16155 maybe-mostlyclean-gold:
16156 @if gold
16157 maybe-mostlyclean-gold: mostlyclean-gold
16159 mostlyclean-gold:
16160 @[ -f ./gold/Makefile ] || exit 0; \
16161 r=`${PWD_COMMAND}`; export r; \
16162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16163 $(HOST_EXPORTS) \
16164 for flag in $(EXTRA_HOST_FLAGS) ; do \
16165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16166 done; \
16167 echo "Doing mostlyclean in gold"; \
16168 (cd $(HOST_SUBDIR)/gold && \
16169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16171 "RANLIB=$${RANLIB}" \
16172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16173 mostlyclean) \
16174 || exit 1
16176 @endif gold
16178 .PHONY: maybe-clean-gold clean-gold
16179 maybe-clean-gold:
16180 @if gold
16181 maybe-clean-gold: clean-gold
16183 clean-gold:
16184 @[ -f ./gold/Makefile ] || exit 0; \
16185 r=`${PWD_COMMAND}`; export r; \
16186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16187 $(HOST_EXPORTS) \
16188 for flag in $(EXTRA_HOST_FLAGS) ; do \
16189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16190 done; \
16191 echo "Doing clean in gold"; \
16192 (cd $(HOST_SUBDIR)/gold && \
16193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16195 "RANLIB=$${RANLIB}" \
16196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16197 clean) \
16198 || exit 1
16200 @endif gold
16202 .PHONY: maybe-distclean-gold distclean-gold
16203 maybe-distclean-gold:
16204 @if gold
16205 maybe-distclean-gold: distclean-gold
16207 distclean-gold:
16208 @[ -f ./gold/Makefile ] || exit 0; \
16209 r=`${PWD_COMMAND}`; export r; \
16210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16211 $(HOST_EXPORTS) \
16212 for flag in $(EXTRA_HOST_FLAGS) ; do \
16213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16214 done; \
16215 echo "Doing distclean in gold"; \
16216 (cd $(HOST_SUBDIR)/gold && \
16217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16219 "RANLIB=$${RANLIB}" \
16220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16221 distclean) \
16222 || exit 1
16224 @endif gold
16226 .PHONY: maybe-maintainer-clean-gold maintainer-clean-gold
16227 maybe-maintainer-clean-gold:
16228 @if gold
16229 maybe-maintainer-clean-gold: maintainer-clean-gold
16231 maintainer-clean-gold:
16232 @[ -f ./gold/Makefile ] || exit 0; \
16233 r=`${PWD_COMMAND}`; export r; \
16234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16235 $(HOST_EXPORTS) \
16236 for flag in $(EXTRA_HOST_FLAGS) ; do \
16237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16238 done; \
16239 echo "Doing maintainer-clean in gold"; \
16240 (cd $(HOST_SUBDIR)/gold && \
16241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16243 "RANLIB=$${RANLIB}" \
16244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16245 maintainer-clean) \
16246 || exit 1
16248 @endif gold
16252 .PHONY: configure-gprof maybe-configure-gprof
16253 maybe-configure-gprof:
16254 @if gcc-bootstrap
16255 configure-gprof: stage_current
16256 @endif gcc-bootstrap
16257 @if gprof
16258 maybe-configure-gprof: configure-gprof
16259 configure-gprof:
16260 @: $(MAKE); $(unstage)
16261 @r=`${PWD_COMMAND}`; export r; \
16262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16263 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
16264 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof; \
16265 $(HOST_EXPORTS) \
16266 echo Configuring in $(HOST_SUBDIR)/gprof; \
16267 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
16268 case $(srcdir) in \
16269 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16270 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
16271 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16272 esac; \
16273 module_srcdir=gprof; \
16274 $(SHELL) \
16275 $$s/$$module_srcdir/configure \
16276 --srcdir=$${topdir}/$$module_srcdir \
16277 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16278 --target=${target_alias} \
16279 || exit 1
16280 @endif gprof
16286 .PHONY: all-gprof maybe-all-gprof
16287 maybe-all-gprof:
16288 @if gcc-bootstrap
16289 all-gprof: stage_current
16290 @endif gcc-bootstrap
16291 @if gprof
16292 TARGET-gprof=all
16293 maybe-all-gprof: all-gprof
16294 all-gprof: configure-gprof
16295 @: $(MAKE); $(unstage)
16296 @r=`${PWD_COMMAND}`; export r; \
16297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16298 $(HOST_EXPORTS) \
16299 (cd $(HOST_SUBDIR)/gprof && \
16300 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
16301 $(TARGET-gprof))
16302 @endif gprof
16307 .PHONY: check-gprof maybe-check-gprof
16308 maybe-check-gprof:
16309 @if gprof
16310 maybe-check-gprof: check-gprof
16312 check-gprof:
16313 @: $(MAKE); $(unstage)
16314 @r=`${PWD_COMMAND}`; export r; \
16315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16316 $(HOST_EXPORTS) \
16317 (cd $(HOST_SUBDIR)/gprof && \
16318 $(MAKE) $(FLAGS_TO_PASS) check)
16320 @endif gprof
16322 .PHONY: install-gprof maybe-install-gprof
16323 maybe-install-gprof:
16324 @if gprof
16325 maybe-install-gprof: install-gprof
16327 install-gprof: installdirs
16328 @: $(MAKE); $(unstage)
16329 @r=`${PWD_COMMAND}`; export r; \
16330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16331 $(HOST_EXPORTS) \
16332 (cd $(HOST_SUBDIR)/gprof && \
16333 $(MAKE) $(FLAGS_TO_PASS) install)
16335 @endif gprof
16337 .PHONY: install-strip-gprof maybe-install-strip-gprof
16338 maybe-install-strip-gprof:
16339 @if gprof
16340 maybe-install-strip-gprof: install-strip-gprof
16342 install-strip-gprof: installdirs
16343 @: $(MAKE); $(unstage)
16344 @r=`${PWD_COMMAND}`; export r; \
16345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16346 $(HOST_EXPORTS) \
16347 (cd $(HOST_SUBDIR)/gprof && \
16348 $(MAKE) $(FLAGS_TO_PASS) install-strip)
16350 @endif gprof
16352 # Other targets (info, dvi, pdf, etc.)
16354 .PHONY: maybe-info-gprof info-gprof
16355 maybe-info-gprof:
16356 @if gprof
16357 maybe-info-gprof: info-gprof
16359 info-gprof: \
16360 configure-gprof
16361 @: $(MAKE); $(unstage)
16362 @[ -f ./gprof/Makefile ] || exit 0; \
16363 r=`${PWD_COMMAND}`; export r; \
16364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16365 $(HOST_EXPORTS) \
16366 for flag in $(EXTRA_HOST_FLAGS) ; do \
16367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16368 done; \
16369 echo "Doing info in gprof"; \
16370 (cd $(HOST_SUBDIR)/gprof && \
16371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16373 "RANLIB=$${RANLIB}" \
16374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16375 info) \
16376 || exit 1
16378 @endif gprof
16380 .PHONY: maybe-dvi-gprof dvi-gprof
16381 maybe-dvi-gprof:
16382 @if gprof
16383 maybe-dvi-gprof: dvi-gprof
16385 dvi-gprof: \
16386 configure-gprof
16387 @: $(MAKE); $(unstage)
16388 @[ -f ./gprof/Makefile ] || exit 0; \
16389 r=`${PWD_COMMAND}`; export r; \
16390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16391 $(HOST_EXPORTS) \
16392 for flag in $(EXTRA_HOST_FLAGS) ; do \
16393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16394 done; \
16395 echo "Doing dvi in gprof"; \
16396 (cd $(HOST_SUBDIR)/gprof && \
16397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16399 "RANLIB=$${RANLIB}" \
16400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16401 dvi) \
16402 || exit 1
16404 @endif gprof
16406 .PHONY: maybe-pdf-gprof pdf-gprof
16407 maybe-pdf-gprof:
16408 @if gprof
16409 maybe-pdf-gprof: pdf-gprof
16411 pdf-gprof: \
16412 configure-gprof
16413 @: $(MAKE); $(unstage)
16414 @[ -f ./gprof/Makefile ] || exit 0; \
16415 r=`${PWD_COMMAND}`; export r; \
16416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16417 $(HOST_EXPORTS) \
16418 for flag in $(EXTRA_HOST_FLAGS) ; do \
16419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16420 done; \
16421 echo "Doing pdf in gprof"; \
16422 (cd $(HOST_SUBDIR)/gprof && \
16423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16425 "RANLIB=$${RANLIB}" \
16426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16427 pdf) \
16428 || exit 1
16430 @endif gprof
16432 .PHONY: maybe-html-gprof html-gprof
16433 maybe-html-gprof:
16434 @if gprof
16435 maybe-html-gprof: html-gprof
16437 html-gprof: \
16438 configure-gprof
16439 @: $(MAKE); $(unstage)
16440 @[ -f ./gprof/Makefile ] || exit 0; \
16441 r=`${PWD_COMMAND}`; export r; \
16442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16443 $(HOST_EXPORTS) \
16444 for flag in $(EXTRA_HOST_FLAGS) ; do \
16445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16446 done; \
16447 echo "Doing html in gprof"; \
16448 (cd $(HOST_SUBDIR)/gprof && \
16449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16451 "RANLIB=$${RANLIB}" \
16452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16453 html) \
16454 || exit 1
16456 @endif gprof
16458 .PHONY: maybe-TAGS-gprof TAGS-gprof
16459 maybe-TAGS-gprof:
16460 @if gprof
16461 maybe-TAGS-gprof: TAGS-gprof
16463 TAGS-gprof: \
16464 configure-gprof
16465 @: $(MAKE); $(unstage)
16466 @[ -f ./gprof/Makefile ] || exit 0; \
16467 r=`${PWD_COMMAND}`; export r; \
16468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16469 $(HOST_EXPORTS) \
16470 for flag in $(EXTRA_HOST_FLAGS) ; do \
16471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16472 done; \
16473 echo "Doing TAGS in gprof"; \
16474 (cd $(HOST_SUBDIR)/gprof && \
16475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16477 "RANLIB=$${RANLIB}" \
16478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16479 TAGS) \
16480 || exit 1
16482 @endif gprof
16484 .PHONY: maybe-install-info-gprof install-info-gprof
16485 maybe-install-info-gprof:
16486 @if gprof
16487 maybe-install-info-gprof: install-info-gprof
16489 install-info-gprof: \
16490 configure-gprof \
16491 info-gprof
16492 @: $(MAKE); $(unstage)
16493 @[ -f ./gprof/Makefile ] || exit 0; \
16494 r=`${PWD_COMMAND}`; export r; \
16495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16496 $(HOST_EXPORTS) \
16497 for flag in $(EXTRA_HOST_FLAGS) ; do \
16498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16499 done; \
16500 echo "Doing install-info in gprof"; \
16501 (cd $(HOST_SUBDIR)/gprof && \
16502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16504 "RANLIB=$${RANLIB}" \
16505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16506 install-info) \
16507 || exit 1
16509 @endif gprof
16511 .PHONY: maybe-install-pdf-gprof install-pdf-gprof
16512 maybe-install-pdf-gprof:
16513 @if gprof
16514 maybe-install-pdf-gprof: install-pdf-gprof
16516 install-pdf-gprof: \
16517 configure-gprof \
16518 pdf-gprof
16519 @: $(MAKE); $(unstage)
16520 @[ -f ./gprof/Makefile ] || exit 0; \
16521 r=`${PWD_COMMAND}`; export r; \
16522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16523 $(HOST_EXPORTS) \
16524 for flag in $(EXTRA_HOST_FLAGS) ; do \
16525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16526 done; \
16527 echo "Doing install-pdf in gprof"; \
16528 (cd $(HOST_SUBDIR)/gprof && \
16529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16531 "RANLIB=$${RANLIB}" \
16532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16533 install-pdf) \
16534 || exit 1
16536 @endif gprof
16538 .PHONY: maybe-install-html-gprof install-html-gprof
16539 maybe-install-html-gprof:
16540 @if gprof
16541 maybe-install-html-gprof: install-html-gprof
16543 install-html-gprof: \
16544 configure-gprof \
16545 html-gprof
16546 @: $(MAKE); $(unstage)
16547 @[ -f ./gprof/Makefile ] || exit 0; \
16548 r=`${PWD_COMMAND}`; export r; \
16549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16550 $(HOST_EXPORTS) \
16551 for flag in $(EXTRA_HOST_FLAGS) ; do \
16552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16553 done; \
16554 echo "Doing install-html in gprof"; \
16555 (cd $(HOST_SUBDIR)/gprof && \
16556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16558 "RANLIB=$${RANLIB}" \
16559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16560 install-html) \
16561 || exit 1
16563 @endif gprof
16565 .PHONY: maybe-installcheck-gprof installcheck-gprof
16566 maybe-installcheck-gprof:
16567 @if gprof
16568 maybe-installcheck-gprof: installcheck-gprof
16570 installcheck-gprof: \
16571 configure-gprof
16572 @: $(MAKE); $(unstage)
16573 @[ -f ./gprof/Makefile ] || exit 0; \
16574 r=`${PWD_COMMAND}`; export r; \
16575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16576 $(HOST_EXPORTS) \
16577 for flag in $(EXTRA_HOST_FLAGS) ; do \
16578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16579 done; \
16580 echo "Doing installcheck in gprof"; \
16581 (cd $(HOST_SUBDIR)/gprof && \
16582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16584 "RANLIB=$${RANLIB}" \
16585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16586 installcheck) \
16587 || exit 1
16589 @endif gprof
16591 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
16592 maybe-mostlyclean-gprof:
16593 @if gprof
16594 maybe-mostlyclean-gprof: mostlyclean-gprof
16596 mostlyclean-gprof:
16597 @: $(MAKE); $(unstage)
16598 @[ -f ./gprof/Makefile ] || exit 0; \
16599 r=`${PWD_COMMAND}`; export r; \
16600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16601 $(HOST_EXPORTS) \
16602 for flag in $(EXTRA_HOST_FLAGS) ; do \
16603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16604 done; \
16605 echo "Doing mostlyclean in gprof"; \
16606 (cd $(HOST_SUBDIR)/gprof && \
16607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16609 "RANLIB=$${RANLIB}" \
16610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16611 mostlyclean) \
16612 || exit 1
16614 @endif gprof
16616 .PHONY: maybe-clean-gprof clean-gprof
16617 maybe-clean-gprof:
16618 @if gprof
16619 maybe-clean-gprof: clean-gprof
16621 clean-gprof:
16622 @: $(MAKE); $(unstage)
16623 @[ -f ./gprof/Makefile ] || exit 0; \
16624 r=`${PWD_COMMAND}`; export r; \
16625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16626 $(HOST_EXPORTS) \
16627 for flag in $(EXTRA_HOST_FLAGS) ; do \
16628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16629 done; \
16630 echo "Doing clean in gprof"; \
16631 (cd $(HOST_SUBDIR)/gprof && \
16632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16634 "RANLIB=$${RANLIB}" \
16635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16636 clean) \
16637 || exit 1
16639 @endif gprof
16641 .PHONY: maybe-distclean-gprof distclean-gprof
16642 maybe-distclean-gprof:
16643 @if gprof
16644 maybe-distclean-gprof: distclean-gprof
16646 distclean-gprof:
16647 @: $(MAKE); $(unstage)
16648 @[ -f ./gprof/Makefile ] || exit 0; \
16649 r=`${PWD_COMMAND}`; export r; \
16650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16651 $(HOST_EXPORTS) \
16652 for flag in $(EXTRA_HOST_FLAGS) ; do \
16653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16654 done; \
16655 echo "Doing distclean in gprof"; \
16656 (cd $(HOST_SUBDIR)/gprof && \
16657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16659 "RANLIB=$${RANLIB}" \
16660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16661 distclean) \
16662 || exit 1
16664 @endif gprof
16666 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
16667 maybe-maintainer-clean-gprof:
16668 @if gprof
16669 maybe-maintainer-clean-gprof: maintainer-clean-gprof
16671 maintainer-clean-gprof:
16672 @: $(MAKE); $(unstage)
16673 @[ -f ./gprof/Makefile ] || exit 0; \
16674 r=`${PWD_COMMAND}`; export r; \
16675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16676 $(HOST_EXPORTS) \
16677 for flag in $(EXTRA_HOST_FLAGS) ; do \
16678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16679 done; \
16680 echo "Doing maintainer-clean in gprof"; \
16681 (cd $(HOST_SUBDIR)/gprof && \
16682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16684 "RANLIB=$${RANLIB}" \
16685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16686 maintainer-clean) \
16687 || exit 1
16689 @endif gprof
16693 .PHONY: configure-intl maybe-configure-intl
16694 maybe-configure-intl:
16695 @if gcc-bootstrap
16696 configure-intl: stage_current
16697 @endif gcc-bootstrap
16698 @if intl
16699 maybe-configure-intl: configure-intl
16700 configure-intl:
16701 @r=`${PWD_COMMAND}`; export r; \
16702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16703 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16704 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
16705 $(HOST_EXPORTS) \
16706 echo Configuring in $(HOST_SUBDIR)/intl; \
16707 cd "$(HOST_SUBDIR)/intl" || exit 1; \
16708 case $(srcdir) in \
16709 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16710 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16711 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16712 esac; \
16713 module_srcdir=intl; \
16714 $(SHELL) \
16715 $$s/$$module_srcdir/configure \
16716 --srcdir=$${topdir}/$$module_srcdir \
16717 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16718 --target=${target_alias} \
16719 || exit 1
16720 @endif intl
16724 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
16725 maybe-configure-stage1-intl:
16726 @if intl-bootstrap
16727 maybe-configure-stage1-intl: configure-stage1-intl
16728 configure-stage1-intl:
16729 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16730 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16731 @r=`${PWD_COMMAND}`; export r; \
16732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16733 TFLAGS="$(STAGE1_TFLAGS)"; \
16734 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16735 $(HOST_EXPORTS) \
16736 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
16737 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
16738 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
16739 echo Configuring stage 1 in $(HOST_SUBDIR)/intl; \
16740 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
16741 cd $(HOST_SUBDIR)/intl || exit 1; \
16742 case $(srcdir) in \
16743 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16744 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16745 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16746 esac; \
16747 module_srcdir=intl; \
16748 $(SHELL) $$s/$$module_srcdir/configure \
16749 --srcdir=$${topdir}/$$module_srcdir \
16750 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16751 --target=${target_alias} \
16753 $(STAGE1_CONFIGURE_FLAGS)
16754 @endif intl-bootstrap
16756 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
16757 maybe-configure-stage2-intl:
16758 @if intl-bootstrap
16759 maybe-configure-stage2-intl: configure-stage2-intl
16760 configure-stage2-intl:
16761 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16762 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16763 @r=`${PWD_COMMAND}`; export r; \
16764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16765 TFLAGS="$(STAGE2_TFLAGS)"; \
16766 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16767 $(HOST_EXPORTS) \
16768 $(POSTSTAGE1_HOST_EXPORTS) \
16769 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
16770 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
16771 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
16772 echo Configuring stage 2 in $(HOST_SUBDIR)/intl; \
16773 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
16774 cd $(HOST_SUBDIR)/intl || exit 1; \
16775 case $(srcdir) in \
16776 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16777 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16778 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16779 esac; \
16780 module_srcdir=intl; \
16781 $(SHELL) $$s/$$module_srcdir/configure \
16782 --srcdir=$${topdir}/$$module_srcdir \
16783 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16784 --target=${target_alias} \
16785 --with-build-libsubdir=$(HOST_SUBDIR) \
16786 $(STAGE2_CONFIGURE_FLAGS)
16787 @endif intl-bootstrap
16789 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
16790 maybe-configure-stage3-intl:
16791 @if intl-bootstrap
16792 maybe-configure-stage3-intl: configure-stage3-intl
16793 configure-stage3-intl:
16794 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16795 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16796 @r=`${PWD_COMMAND}`; export r; \
16797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16798 TFLAGS="$(STAGE3_TFLAGS)"; \
16799 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16800 $(HOST_EXPORTS) \
16801 $(POSTSTAGE1_HOST_EXPORTS) \
16802 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
16803 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
16804 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
16805 echo Configuring stage 3 in $(HOST_SUBDIR)/intl; \
16806 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
16807 cd $(HOST_SUBDIR)/intl || exit 1; \
16808 case $(srcdir) in \
16809 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16810 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16811 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16812 esac; \
16813 module_srcdir=intl; \
16814 $(SHELL) $$s/$$module_srcdir/configure \
16815 --srcdir=$${topdir}/$$module_srcdir \
16816 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16817 --target=${target_alias} \
16818 --with-build-libsubdir=$(HOST_SUBDIR) \
16819 $(STAGE3_CONFIGURE_FLAGS)
16820 @endif intl-bootstrap
16822 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
16823 maybe-configure-stage4-intl:
16824 @if intl-bootstrap
16825 maybe-configure-stage4-intl: configure-stage4-intl
16826 configure-stage4-intl:
16827 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16828 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16829 @r=`${PWD_COMMAND}`; export r; \
16830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16831 TFLAGS="$(STAGE4_TFLAGS)"; \
16832 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16833 $(HOST_EXPORTS) \
16834 $(POSTSTAGE1_HOST_EXPORTS) \
16835 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
16836 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
16837 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
16838 echo Configuring stage 4 in $(HOST_SUBDIR)/intl; \
16839 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
16840 cd $(HOST_SUBDIR)/intl || exit 1; \
16841 case $(srcdir) in \
16842 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16843 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16844 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16845 esac; \
16846 module_srcdir=intl; \
16847 $(SHELL) $$s/$$module_srcdir/configure \
16848 --srcdir=$${topdir}/$$module_srcdir \
16849 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16850 --target=${target_alias} \
16851 --with-build-libsubdir=$(HOST_SUBDIR) \
16852 $(STAGE4_CONFIGURE_FLAGS)
16853 @endif intl-bootstrap
16855 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
16856 maybe-configure-stageprofile-intl:
16857 @if intl-bootstrap
16858 maybe-configure-stageprofile-intl: configure-stageprofile-intl
16859 configure-stageprofile-intl:
16860 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16861 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16862 @r=`${PWD_COMMAND}`; export r; \
16863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16864 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16865 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16866 $(HOST_EXPORTS) \
16867 $(POSTSTAGE1_HOST_EXPORTS) \
16868 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
16869 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
16870 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
16871 echo Configuring stage profile in $(HOST_SUBDIR)/intl; \
16872 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
16873 cd $(HOST_SUBDIR)/intl || exit 1; \
16874 case $(srcdir) in \
16875 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16876 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16877 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16878 esac; \
16879 module_srcdir=intl; \
16880 $(SHELL) $$s/$$module_srcdir/configure \
16881 --srcdir=$${topdir}/$$module_srcdir \
16882 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16883 --target=${target_alias} \
16884 --with-build-libsubdir=$(HOST_SUBDIR) \
16885 $(STAGEprofile_CONFIGURE_FLAGS)
16886 @endif intl-bootstrap
16888 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
16889 maybe-configure-stagefeedback-intl:
16890 @if intl-bootstrap
16891 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
16892 configure-stagefeedback-intl:
16893 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16894 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16895 @r=`${PWD_COMMAND}`; export r; \
16896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16897 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16898 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16899 $(HOST_EXPORTS) \
16900 $(POSTSTAGE1_HOST_EXPORTS) \
16901 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
16902 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
16903 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
16904 echo Configuring stage feedback in $(HOST_SUBDIR)/intl; \
16905 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
16906 cd $(HOST_SUBDIR)/intl || exit 1; \
16907 case $(srcdir) in \
16908 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16909 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16910 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16911 esac; \
16912 module_srcdir=intl; \
16913 $(SHELL) $$s/$$module_srcdir/configure \
16914 --srcdir=$${topdir}/$$module_srcdir \
16915 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16916 --target=${target_alias} \
16917 --with-build-libsubdir=$(HOST_SUBDIR) \
16918 $(STAGEfeedback_CONFIGURE_FLAGS)
16919 @endif intl-bootstrap
16925 .PHONY: all-intl maybe-all-intl
16926 maybe-all-intl:
16927 @if gcc-bootstrap
16928 all-intl: stage_current
16929 @endif gcc-bootstrap
16930 @if intl
16931 TARGET-intl=all
16932 maybe-all-intl: all-intl
16933 all-intl: configure-intl
16934 @r=`${PWD_COMMAND}`; export r; \
16935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16936 $(HOST_EXPORTS) \
16937 (cd $(HOST_SUBDIR)/intl && \
16938 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
16939 $(TARGET-intl))
16940 @endif intl
16944 .PHONY: all-stage1-intl maybe-all-stage1-intl
16945 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
16946 maybe-all-stage1-intl:
16947 maybe-clean-stage1-intl:
16948 @if intl-bootstrap
16949 maybe-all-stage1-intl: all-stage1-intl
16950 all-stage1: all-stage1-intl
16951 TARGET-stage1-intl = $(TARGET-intl)
16952 all-stage1-intl: configure-stage1-intl
16953 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16954 @r=`${PWD_COMMAND}`; export r; \
16955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16956 TFLAGS="$(STAGE1_TFLAGS)"; \
16957 $(HOST_EXPORTS) \
16958 cd $(HOST_SUBDIR)/intl && \
16959 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16960 CFLAGS="$(STAGE1_CFLAGS)" \
16961 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
16962 LIBCFLAGS="$(LIBCFLAGS)" \
16963 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16964 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16965 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16966 $(EXTRA_HOST_FLAGS) \
16967 $(STAGE1_FLAGS_TO_PASS) \
16968 TFLAGS="$(STAGE1_TFLAGS)" \
16969 $(TARGET-stage1-intl)
16971 maybe-clean-stage1-intl: clean-stage1-intl
16972 clean-stage1: clean-stage1-intl
16973 clean-stage1-intl:
16974 @if [ $(current_stage) = stage1 ]; then \
16975 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
16976 else \
16977 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
16978 $(MAKE) stage1-start; \
16979 fi; \
16980 cd $(HOST_SUBDIR)/intl && \
16981 $(MAKE) $(EXTRA_HOST_FLAGS) \
16982 $(STAGE1_FLAGS_TO_PASS) clean
16983 @endif intl-bootstrap
16986 .PHONY: all-stage2-intl maybe-all-stage2-intl
16987 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
16988 maybe-all-stage2-intl:
16989 maybe-clean-stage2-intl:
16990 @if intl-bootstrap
16991 maybe-all-stage2-intl: all-stage2-intl
16992 all-stage2: all-stage2-intl
16993 TARGET-stage2-intl = $(TARGET-intl)
16994 all-stage2-intl: configure-stage2-intl
16995 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16996 @r=`${PWD_COMMAND}`; export r; \
16997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16998 TFLAGS="$(STAGE2_TFLAGS)"; \
16999 $(HOST_EXPORTS) \
17000 $(POSTSTAGE1_HOST_EXPORTS) \
17001 cd $(HOST_SUBDIR)/intl && \
17002 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17003 CFLAGS="$(STAGE2_CFLAGS)" \
17004 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
17005 LIBCFLAGS="$(STAGE2_CFLAGS)" \
17006 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17007 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17008 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17009 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17010 TFLAGS="$(STAGE2_TFLAGS)" \
17011 $(TARGET-stage2-intl)
17013 maybe-clean-stage2-intl: clean-stage2-intl
17014 clean-stage2: clean-stage2-intl
17015 clean-stage2-intl:
17016 @if [ $(current_stage) = stage2 ]; then \
17017 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17018 else \
17019 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
17020 $(MAKE) stage2-start; \
17021 fi; \
17022 cd $(HOST_SUBDIR)/intl && \
17023 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17024 @endif intl-bootstrap
17027 .PHONY: all-stage3-intl maybe-all-stage3-intl
17028 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
17029 maybe-all-stage3-intl:
17030 maybe-clean-stage3-intl:
17031 @if intl-bootstrap
17032 maybe-all-stage3-intl: all-stage3-intl
17033 all-stage3: all-stage3-intl
17034 TARGET-stage3-intl = $(TARGET-intl)
17035 all-stage3-intl: configure-stage3-intl
17036 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17037 @r=`${PWD_COMMAND}`; export r; \
17038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17039 TFLAGS="$(STAGE3_TFLAGS)"; \
17040 $(HOST_EXPORTS) \
17041 $(POSTSTAGE1_HOST_EXPORTS) \
17042 cd $(HOST_SUBDIR)/intl && \
17043 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17044 CFLAGS="$(STAGE3_CFLAGS)" \
17045 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
17046 LIBCFLAGS="$(STAGE3_CFLAGS)" \
17047 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17048 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17049 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17050 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17051 TFLAGS="$(STAGE3_TFLAGS)" \
17052 $(TARGET-stage3-intl)
17054 maybe-clean-stage3-intl: clean-stage3-intl
17055 clean-stage3: clean-stage3-intl
17056 clean-stage3-intl:
17057 @if [ $(current_stage) = stage3 ]; then \
17058 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17059 else \
17060 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
17061 $(MAKE) stage3-start; \
17062 fi; \
17063 cd $(HOST_SUBDIR)/intl && \
17064 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17065 @endif intl-bootstrap
17068 .PHONY: all-stage4-intl maybe-all-stage4-intl
17069 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
17070 maybe-all-stage4-intl:
17071 maybe-clean-stage4-intl:
17072 @if intl-bootstrap
17073 maybe-all-stage4-intl: all-stage4-intl
17074 all-stage4: all-stage4-intl
17075 TARGET-stage4-intl = $(TARGET-intl)
17076 all-stage4-intl: configure-stage4-intl
17077 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17078 @r=`${PWD_COMMAND}`; export r; \
17079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17080 TFLAGS="$(STAGE4_TFLAGS)"; \
17081 $(HOST_EXPORTS) \
17082 $(POSTSTAGE1_HOST_EXPORTS) \
17083 cd $(HOST_SUBDIR)/intl && \
17084 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17085 CFLAGS="$(STAGE4_CFLAGS)" \
17086 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
17087 LIBCFLAGS="$(STAGE4_CFLAGS)" \
17088 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17089 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17090 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17091 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17092 TFLAGS="$(STAGE4_TFLAGS)" \
17093 $(TARGET-stage4-intl)
17095 maybe-clean-stage4-intl: clean-stage4-intl
17096 clean-stage4: clean-stage4-intl
17097 clean-stage4-intl:
17098 @if [ $(current_stage) = stage4 ]; then \
17099 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17100 else \
17101 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
17102 $(MAKE) stage4-start; \
17103 fi; \
17104 cd $(HOST_SUBDIR)/intl && \
17105 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17106 @endif intl-bootstrap
17109 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
17110 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
17111 maybe-all-stageprofile-intl:
17112 maybe-clean-stageprofile-intl:
17113 @if intl-bootstrap
17114 maybe-all-stageprofile-intl: all-stageprofile-intl
17115 all-stageprofile: all-stageprofile-intl
17116 TARGET-stageprofile-intl = $(TARGET-intl)
17117 all-stageprofile-intl: configure-stageprofile-intl
17118 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17119 @r=`${PWD_COMMAND}`; export r; \
17120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17121 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17122 $(HOST_EXPORTS) \
17123 $(POSTSTAGE1_HOST_EXPORTS) \
17124 cd $(HOST_SUBDIR)/intl && \
17125 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17126 CFLAGS="$(STAGEprofile_CFLAGS)" \
17127 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
17128 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
17129 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17130 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17131 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17132 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17133 TFLAGS="$(STAGEprofile_TFLAGS)" \
17134 $(TARGET-stageprofile-intl)
17136 maybe-clean-stageprofile-intl: clean-stageprofile-intl
17137 clean-stageprofile: clean-stageprofile-intl
17138 clean-stageprofile-intl:
17139 @if [ $(current_stage) = stageprofile ]; then \
17140 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17141 else \
17142 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
17143 $(MAKE) stageprofile-start; \
17144 fi; \
17145 cd $(HOST_SUBDIR)/intl && \
17146 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17147 @endif intl-bootstrap
17150 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
17151 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
17152 maybe-all-stagefeedback-intl:
17153 maybe-clean-stagefeedback-intl:
17154 @if intl-bootstrap
17155 maybe-all-stagefeedback-intl: all-stagefeedback-intl
17156 all-stagefeedback: all-stagefeedback-intl
17157 TARGET-stagefeedback-intl = $(TARGET-intl)
17158 all-stagefeedback-intl: configure-stagefeedback-intl
17159 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17160 @r=`${PWD_COMMAND}`; export r; \
17161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17162 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17163 $(HOST_EXPORTS) \
17164 $(POSTSTAGE1_HOST_EXPORTS) \
17165 cd $(HOST_SUBDIR)/intl && \
17166 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17167 CFLAGS="$(STAGEfeedback_CFLAGS)" \
17168 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
17169 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
17170 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17171 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17172 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17173 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17174 TFLAGS="$(STAGEfeedback_TFLAGS)" \
17175 $(TARGET-stagefeedback-intl)
17177 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
17178 clean-stagefeedback: clean-stagefeedback-intl
17179 clean-stagefeedback-intl:
17180 @if [ $(current_stage) = stagefeedback ]; then \
17181 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17182 else \
17183 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
17184 $(MAKE) stagefeedback-start; \
17185 fi; \
17186 cd $(HOST_SUBDIR)/intl && \
17187 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17188 @endif intl-bootstrap
17194 .PHONY: check-intl maybe-check-intl
17195 maybe-check-intl:
17196 @if intl
17197 maybe-check-intl: check-intl
17199 check-intl:
17200 @: $(MAKE); $(unstage)
17201 @r=`${PWD_COMMAND}`; export r; \
17202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17203 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
17204 (cd $(HOST_SUBDIR)/intl && \
17205 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
17207 @endif intl
17209 .PHONY: install-intl maybe-install-intl
17210 maybe-install-intl:
17211 @if intl
17212 maybe-install-intl: install-intl
17214 install-intl: installdirs
17215 @: $(MAKE); $(unstage)
17216 @r=`${PWD_COMMAND}`; export r; \
17217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17218 $(HOST_EXPORTS) \
17219 (cd $(HOST_SUBDIR)/intl && \
17220 $(MAKE) $(FLAGS_TO_PASS) install)
17222 @endif intl
17224 .PHONY: install-strip-intl maybe-install-strip-intl
17225 maybe-install-strip-intl:
17226 @if intl
17227 maybe-install-strip-intl: install-strip-intl
17229 install-strip-intl: installdirs
17230 @: $(MAKE); $(unstage)
17231 @r=`${PWD_COMMAND}`; export r; \
17232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17233 $(HOST_EXPORTS) \
17234 (cd $(HOST_SUBDIR)/intl && \
17235 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17237 @endif intl
17239 # Other targets (info, dvi, pdf, etc.)
17241 .PHONY: maybe-info-intl info-intl
17242 maybe-info-intl:
17243 @if intl
17244 maybe-info-intl: info-intl
17246 info-intl: \
17247 configure-intl
17248 @[ -f ./intl/Makefile ] || exit 0; \
17249 r=`${PWD_COMMAND}`; export r; \
17250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17251 $(HOST_EXPORTS) \
17252 for flag in $(EXTRA_HOST_FLAGS) ; do \
17253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17254 done; \
17255 echo "Doing info in intl"; \
17256 (cd $(HOST_SUBDIR)/intl && \
17257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17259 "RANLIB=$${RANLIB}" \
17260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17261 info) \
17262 || exit 1
17264 @endif intl
17266 .PHONY: maybe-dvi-intl dvi-intl
17267 maybe-dvi-intl:
17268 @if intl
17269 maybe-dvi-intl: dvi-intl
17271 dvi-intl: \
17272 configure-intl
17273 @[ -f ./intl/Makefile ] || exit 0; \
17274 r=`${PWD_COMMAND}`; export r; \
17275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17276 $(HOST_EXPORTS) \
17277 for flag in $(EXTRA_HOST_FLAGS) ; do \
17278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17279 done; \
17280 echo "Doing dvi in intl"; \
17281 (cd $(HOST_SUBDIR)/intl && \
17282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17284 "RANLIB=$${RANLIB}" \
17285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17286 dvi) \
17287 || exit 1
17289 @endif intl
17291 .PHONY: maybe-pdf-intl pdf-intl
17292 maybe-pdf-intl:
17293 @if intl
17294 maybe-pdf-intl: pdf-intl
17296 pdf-intl: \
17297 configure-intl
17298 @[ -f ./intl/Makefile ] || exit 0; \
17299 r=`${PWD_COMMAND}`; export r; \
17300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17301 $(HOST_EXPORTS) \
17302 for flag in $(EXTRA_HOST_FLAGS) ; do \
17303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17304 done; \
17305 echo "Doing pdf in intl"; \
17306 (cd $(HOST_SUBDIR)/intl && \
17307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17309 "RANLIB=$${RANLIB}" \
17310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17311 pdf) \
17312 || exit 1
17314 @endif intl
17316 .PHONY: maybe-html-intl html-intl
17317 maybe-html-intl:
17318 @if intl
17319 maybe-html-intl: html-intl
17321 html-intl: \
17322 configure-intl
17323 @[ -f ./intl/Makefile ] || exit 0; \
17324 r=`${PWD_COMMAND}`; export r; \
17325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17326 $(HOST_EXPORTS) \
17327 for flag in $(EXTRA_HOST_FLAGS) ; do \
17328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17329 done; \
17330 echo "Doing html in intl"; \
17331 (cd $(HOST_SUBDIR)/intl && \
17332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17334 "RANLIB=$${RANLIB}" \
17335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17336 html) \
17337 || exit 1
17339 @endif intl
17341 .PHONY: maybe-TAGS-intl TAGS-intl
17342 maybe-TAGS-intl:
17343 @if intl
17344 maybe-TAGS-intl: TAGS-intl
17346 TAGS-intl: \
17347 configure-intl
17348 @[ -f ./intl/Makefile ] || exit 0; \
17349 r=`${PWD_COMMAND}`; export r; \
17350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17351 $(HOST_EXPORTS) \
17352 for flag in $(EXTRA_HOST_FLAGS) ; do \
17353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17354 done; \
17355 echo "Doing TAGS in intl"; \
17356 (cd $(HOST_SUBDIR)/intl && \
17357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17359 "RANLIB=$${RANLIB}" \
17360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17361 TAGS) \
17362 || exit 1
17364 @endif intl
17366 .PHONY: maybe-install-info-intl install-info-intl
17367 maybe-install-info-intl:
17368 @if intl
17369 maybe-install-info-intl: install-info-intl
17371 install-info-intl: \
17372 configure-intl \
17373 info-intl
17374 @[ -f ./intl/Makefile ] || exit 0; \
17375 r=`${PWD_COMMAND}`; export r; \
17376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17377 $(HOST_EXPORTS) \
17378 for flag in $(EXTRA_HOST_FLAGS) ; do \
17379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17380 done; \
17381 echo "Doing install-info in intl"; \
17382 (cd $(HOST_SUBDIR)/intl && \
17383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17385 "RANLIB=$${RANLIB}" \
17386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17387 install-info) \
17388 || exit 1
17390 @endif intl
17392 .PHONY: maybe-install-pdf-intl install-pdf-intl
17393 maybe-install-pdf-intl:
17394 @if intl
17395 maybe-install-pdf-intl: install-pdf-intl
17397 install-pdf-intl: \
17398 configure-intl \
17399 pdf-intl
17400 @[ -f ./intl/Makefile ] || exit 0; \
17401 r=`${PWD_COMMAND}`; export r; \
17402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17403 $(HOST_EXPORTS) \
17404 for flag in $(EXTRA_HOST_FLAGS) ; do \
17405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17406 done; \
17407 echo "Doing install-pdf in intl"; \
17408 (cd $(HOST_SUBDIR)/intl && \
17409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17411 "RANLIB=$${RANLIB}" \
17412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17413 install-pdf) \
17414 || exit 1
17416 @endif intl
17418 .PHONY: maybe-install-html-intl install-html-intl
17419 maybe-install-html-intl:
17420 @if intl
17421 maybe-install-html-intl: install-html-intl
17423 install-html-intl: \
17424 configure-intl \
17425 html-intl
17426 @[ -f ./intl/Makefile ] || exit 0; \
17427 r=`${PWD_COMMAND}`; export r; \
17428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17429 $(HOST_EXPORTS) \
17430 for flag in $(EXTRA_HOST_FLAGS) ; do \
17431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17432 done; \
17433 echo "Doing install-html in intl"; \
17434 (cd $(HOST_SUBDIR)/intl && \
17435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17437 "RANLIB=$${RANLIB}" \
17438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17439 install-html) \
17440 || exit 1
17442 @endif intl
17444 .PHONY: maybe-installcheck-intl installcheck-intl
17445 maybe-installcheck-intl:
17446 @if intl
17447 maybe-installcheck-intl: installcheck-intl
17449 installcheck-intl: \
17450 configure-intl
17451 @[ -f ./intl/Makefile ] || exit 0; \
17452 r=`${PWD_COMMAND}`; export r; \
17453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17454 $(HOST_EXPORTS) \
17455 for flag in $(EXTRA_HOST_FLAGS) ; do \
17456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17457 done; \
17458 echo "Doing installcheck in intl"; \
17459 (cd $(HOST_SUBDIR)/intl && \
17460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17462 "RANLIB=$${RANLIB}" \
17463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17464 installcheck) \
17465 || exit 1
17467 @endif intl
17469 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
17470 maybe-mostlyclean-intl:
17471 @if intl
17472 maybe-mostlyclean-intl: mostlyclean-intl
17474 mostlyclean-intl:
17475 @[ -f ./intl/Makefile ] || exit 0; \
17476 r=`${PWD_COMMAND}`; export r; \
17477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17478 $(HOST_EXPORTS) \
17479 for flag in $(EXTRA_HOST_FLAGS) ; do \
17480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17481 done; \
17482 echo "Doing mostlyclean in intl"; \
17483 (cd $(HOST_SUBDIR)/intl && \
17484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17486 "RANLIB=$${RANLIB}" \
17487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17488 mostlyclean) \
17489 || exit 1
17491 @endif intl
17493 .PHONY: maybe-clean-intl clean-intl
17494 maybe-clean-intl:
17495 @if intl
17496 maybe-clean-intl: clean-intl
17498 clean-intl:
17499 @[ -f ./intl/Makefile ] || exit 0; \
17500 r=`${PWD_COMMAND}`; export r; \
17501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17502 $(HOST_EXPORTS) \
17503 for flag in $(EXTRA_HOST_FLAGS) ; do \
17504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17505 done; \
17506 echo "Doing clean in intl"; \
17507 (cd $(HOST_SUBDIR)/intl && \
17508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17510 "RANLIB=$${RANLIB}" \
17511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17512 clean) \
17513 || exit 1
17515 @endif intl
17517 .PHONY: maybe-distclean-intl distclean-intl
17518 maybe-distclean-intl:
17519 @if intl
17520 maybe-distclean-intl: distclean-intl
17522 distclean-intl:
17523 @[ -f ./intl/Makefile ] || exit 0; \
17524 r=`${PWD_COMMAND}`; export r; \
17525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17526 $(HOST_EXPORTS) \
17527 for flag in $(EXTRA_HOST_FLAGS) ; do \
17528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17529 done; \
17530 echo "Doing distclean in intl"; \
17531 (cd $(HOST_SUBDIR)/intl && \
17532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17534 "RANLIB=$${RANLIB}" \
17535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17536 distclean) \
17537 || exit 1
17539 @endif intl
17541 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
17542 maybe-maintainer-clean-intl:
17543 @if intl
17544 maybe-maintainer-clean-intl: maintainer-clean-intl
17546 maintainer-clean-intl:
17547 @[ -f ./intl/Makefile ] || exit 0; \
17548 r=`${PWD_COMMAND}`; export r; \
17549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17550 $(HOST_EXPORTS) \
17551 for flag in $(EXTRA_HOST_FLAGS) ; do \
17552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17553 done; \
17554 echo "Doing maintainer-clean in intl"; \
17555 (cd $(HOST_SUBDIR)/intl && \
17556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17558 "RANLIB=$${RANLIB}" \
17559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17560 maintainer-clean) \
17561 || exit 1
17563 @endif intl
17567 .PHONY: configure-tcl maybe-configure-tcl
17568 maybe-configure-tcl:
17569 @if gcc-bootstrap
17570 configure-tcl: stage_current
17571 @endif gcc-bootstrap
17572 @if tcl
17573 maybe-configure-tcl: configure-tcl
17574 configure-tcl:
17575 @: $(MAKE); $(unstage)
17576 @r=`${PWD_COMMAND}`; export r; \
17577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17578 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
17579 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl; \
17580 $(HOST_EXPORTS) \
17581 echo Configuring in $(HOST_SUBDIR)/tcl; \
17582 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
17583 case $(srcdir) in \
17584 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17585 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
17586 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17587 esac; \
17588 module_srcdir=tcl; \
17589 $(SHELL) \
17590 $$s/$$module_srcdir/configure \
17591 --srcdir=$${topdir}/$$module_srcdir \
17592 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17593 --target=${target_alias} \
17594 || exit 1
17595 @endif tcl
17601 .PHONY: all-tcl maybe-all-tcl
17602 maybe-all-tcl:
17603 @if gcc-bootstrap
17604 all-tcl: stage_current
17605 @endif gcc-bootstrap
17606 @if tcl
17607 TARGET-tcl=all
17608 maybe-all-tcl: all-tcl
17609 all-tcl: configure-tcl
17610 @: $(MAKE); $(unstage)
17611 @r=`${PWD_COMMAND}`; export r; \
17612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17613 $(HOST_EXPORTS) \
17614 (cd $(HOST_SUBDIR)/tcl && \
17615 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
17616 $(TARGET-tcl))
17617 @endif tcl
17622 .PHONY: check-tcl maybe-check-tcl
17623 maybe-check-tcl:
17624 @if tcl
17625 maybe-check-tcl: check-tcl
17627 check-tcl:
17628 @: $(MAKE); $(unstage)
17629 @r=`${PWD_COMMAND}`; export r; \
17630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17631 $(HOST_EXPORTS) \
17632 (cd $(HOST_SUBDIR)/tcl && \
17633 $(MAKE) $(FLAGS_TO_PASS) check)
17635 @endif tcl
17637 .PHONY: install-tcl maybe-install-tcl
17638 maybe-install-tcl:
17639 @if tcl
17640 maybe-install-tcl: install-tcl
17642 install-tcl: installdirs
17643 @: $(MAKE); $(unstage)
17644 @r=`${PWD_COMMAND}`; export r; \
17645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17646 $(HOST_EXPORTS) \
17647 (cd $(HOST_SUBDIR)/tcl && \
17648 $(MAKE) $(FLAGS_TO_PASS) install)
17650 @endif tcl
17652 .PHONY: install-strip-tcl maybe-install-strip-tcl
17653 maybe-install-strip-tcl:
17654 @if tcl
17655 maybe-install-strip-tcl: install-strip-tcl
17657 install-strip-tcl: installdirs
17658 @: $(MAKE); $(unstage)
17659 @r=`${PWD_COMMAND}`; export r; \
17660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17661 $(HOST_EXPORTS) \
17662 (cd $(HOST_SUBDIR)/tcl && \
17663 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17665 @endif tcl
17667 # Other targets (info, dvi, pdf, etc.)
17669 .PHONY: maybe-info-tcl info-tcl
17670 maybe-info-tcl:
17671 @if tcl
17672 maybe-info-tcl: info-tcl
17674 info-tcl: \
17675 configure-tcl
17676 @: $(MAKE); $(unstage)
17677 @[ -f ./tcl/Makefile ] || exit 0; \
17678 r=`${PWD_COMMAND}`; export r; \
17679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17680 $(HOST_EXPORTS) \
17681 for flag in $(EXTRA_HOST_FLAGS) ; do \
17682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17683 done; \
17684 echo "Doing info in tcl"; \
17685 (cd $(HOST_SUBDIR)/tcl && \
17686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17688 "RANLIB=$${RANLIB}" \
17689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17690 info) \
17691 || exit 1
17693 @endif tcl
17695 .PHONY: maybe-dvi-tcl dvi-tcl
17696 maybe-dvi-tcl:
17697 @if tcl
17698 maybe-dvi-tcl: dvi-tcl
17700 dvi-tcl: \
17701 configure-tcl
17702 @: $(MAKE); $(unstage)
17703 @[ -f ./tcl/Makefile ] || exit 0; \
17704 r=`${PWD_COMMAND}`; export r; \
17705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17706 $(HOST_EXPORTS) \
17707 for flag in $(EXTRA_HOST_FLAGS) ; do \
17708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17709 done; \
17710 echo "Doing dvi in tcl"; \
17711 (cd $(HOST_SUBDIR)/tcl && \
17712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17714 "RANLIB=$${RANLIB}" \
17715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17716 dvi) \
17717 || exit 1
17719 @endif tcl
17721 .PHONY: maybe-pdf-tcl pdf-tcl
17722 maybe-pdf-tcl:
17723 @if tcl
17724 maybe-pdf-tcl: pdf-tcl
17726 pdf-tcl: \
17727 configure-tcl
17728 @: $(MAKE); $(unstage)
17729 @[ -f ./tcl/Makefile ] || exit 0; \
17730 r=`${PWD_COMMAND}`; export r; \
17731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17732 $(HOST_EXPORTS) \
17733 for flag in $(EXTRA_HOST_FLAGS) ; do \
17734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17735 done; \
17736 echo "Doing pdf in tcl"; \
17737 (cd $(HOST_SUBDIR)/tcl && \
17738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17740 "RANLIB=$${RANLIB}" \
17741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17742 pdf) \
17743 || exit 1
17745 @endif tcl
17747 .PHONY: maybe-html-tcl html-tcl
17748 maybe-html-tcl:
17749 @if tcl
17750 maybe-html-tcl: html-tcl
17752 html-tcl: \
17753 configure-tcl
17754 @: $(MAKE); $(unstage)
17755 @[ -f ./tcl/Makefile ] || exit 0; \
17756 r=`${PWD_COMMAND}`; export r; \
17757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17758 $(HOST_EXPORTS) \
17759 for flag in $(EXTRA_HOST_FLAGS) ; do \
17760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17761 done; \
17762 echo "Doing html in tcl"; \
17763 (cd $(HOST_SUBDIR)/tcl && \
17764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17766 "RANLIB=$${RANLIB}" \
17767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17768 html) \
17769 || exit 1
17771 @endif tcl
17773 .PHONY: maybe-TAGS-tcl TAGS-tcl
17774 maybe-TAGS-tcl:
17775 @if tcl
17776 maybe-TAGS-tcl: TAGS-tcl
17778 TAGS-tcl: \
17779 configure-tcl
17780 @: $(MAKE); $(unstage)
17781 @[ -f ./tcl/Makefile ] || exit 0; \
17782 r=`${PWD_COMMAND}`; export r; \
17783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17784 $(HOST_EXPORTS) \
17785 for flag in $(EXTRA_HOST_FLAGS) ; do \
17786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17787 done; \
17788 echo "Doing TAGS in tcl"; \
17789 (cd $(HOST_SUBDIR)/tcl && \
17790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17792 "RANLIB=$${RANLIB}" \
17793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17794 TAGS) \
17795 || exit 1
17797 @endif tcl
17799 .PHONY: maybe-install-info-tcl install-info-tcl
17800 maybe-install-info-tcl:
17801 @if tcl
17802 maybe-install-info-tcl: install-info-tcl
17804 install-info-tcl: \
17805 configure-tcl \
17806 info-tcl
17807 @: $(MAKE); $(unstage)
17808 @[ -f ./tcl/Makefile ] || exit 0; \
17809 r=`${PWD_COMMAND}`; export r; \
17810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17811 $(HOST_EXPORTS) \
17812 for flag in $(EXTRA_HOST_FLAGS) ; do \
17813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17814 done; \
17815 echo "Doing install-info in tcl"; \
17816 (cd $(HOST_SUBDIR)/tcl && \
17817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17819 "RANLIB=$${RANLIB}" \
17820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17821 install-info) \
17822 || exit 1
17824 @endif tcl
17826 .PHONY: maybe-install-pdf-tcl install-pdf-tcl
17827 maybe-install-pdf-tcl:
17828 @if tcl
17829 maybe-install-pdf-tcl: install-pdf-tcl
17831 install-pdf-tcl: \
17832 configure-tcl \
17833 pdf-tcl
17834 @: $(MAKE); $(unstage)
17835 @[ -f ./tcl/Makefile ] || exit 0; \
17836 r=`${PWD_COMMAND}`; export r; \
17837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17838 $(HOST_EXPORTS) \
17839 for flag in $(EXTRA_HOST_FLAGS) ; do \
17840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17841 done; \
17842 echo "Doing install-pdf in tcl"; \
17843 (cd $(HOST_SUBDIR)/tcl && \
17844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17846 "RANLIB=$${RANLIB}" \
17847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17848 install-pdf) \
17849 || exit 1
17851 @endif tcl
17853 .PHONY: maybe-install-html-tcl install-html-tcl
17854 maybe-install-html-tcl:
17855 @if tcl
17856 maybe-install-html-tcl: install-html-tcl
17858 install-html-tcl: \
17859 configure-tcl \
17860 html-tcl
17861 @: $(MAKE); $(unstage)
17862 @[ -f ./tcl/Makefile ] || exit 0; \
17863 r=`${PWD_COMMAND}`; export r; \
17864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17865 $(HOST_EXPORTS) \
17866 for flag in $(EXTRA_HOST_FLAGS) ; do \
17867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17868 done; \
17869 echo "Doing install-html in tcl"; \
17870 (cd $(HOST_SUBDIR)/tcl && \
17871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17873 "RANLIB=$${RANLIB}" \
17874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17875 install-html) \
17876 || exit 1
17878 @endif tcl
17880 .PHONY: maybe-installcheck-tcl installcheck-tcl
17881 maybe-installcheck-tcl:
17882 @if tcl
17883 maybe-installcheck-tcl: installcheck-tcl
17885 installcheck-tcl: \
17886 configure-tcl
17887 @: $(MAKE); $(unstage)
17888 @[ -f ./tcl/Makefile ] || exit 0; \
17889 r=`${PWD_COMMAND}`; export r; \
17890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17891 $(HOST_EXPORTS) \
17892 for flag in $(EXTRA_HOST_FLAGS) ; do \
17893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17894 done; \
17895 echo "Doing installcheck in tcl"; \
17896 (cd $(HOST_SUBDIR)/tcl && \
17897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17899 "RANLIB=$${RANLIB}" \
17900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17901 installcheck) \
17902 || exit 1
17904 @endif tcl
17906 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
17907 maybe-mostlyclean-tcl:
17908 @if tcl
17909 maybe-mostlyclean-tcl: mostlyclean-tcl
17911 # tcl doesn't support mostlyclean.
17912 mostlyclean-tcl:
17914 @endif tcl
17916 .PHONY: maybe-clean-tcl clean-tcl
17917 maybe-clean-tcl:
17918 @if tcl
17919 maybe-clean-tcl: clean-tcl
17921 clean-tcl:
17922 @: $(MAKE); $(unstage)
17923 @[ -f ./tcl/Makefile ] || exit 0; \
17924 r=`${PWD_COMMAND}`; export r; \
17925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17926 $(HOST_EXPORTS) \
17927 for flag in $(EXTRA_HOST_FLAGS) ; do \
17928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17929 done; \
17930 echo "Doing clean in tcl"; \
17931 (cd $(HOST_SUBDIR)/tcl && \
17932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17934 "RANLIB=$${RANLIB}" \
17935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17936 clean) \
17937 || exit 1
17939 @endif tcl
17941 .PHONY: maybe-distclean-tcl distclean-tcl
17942 maybe-distclean-tcl:
17943 @if tcl
17944 maybe-distclean-tcl: distclean-tcl
17946 distclean-tcl:
17947 @: $(MAKE); $(unstage)
17948 @[ -f ./tcl/Makefile ] || exit 0; \
17949 r=`${PWD_COMMAND}`; export r; \
17950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17951 $(HOST_EXPORTS) \
17952 for flag in $(EXTRA_HOST_FLAGS) ; do \
17953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17954 done; \
17955 echo "Doing distclean in tcl"; \
17956 (cd $(HOST_SUBDIR)/tcl && \
17957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17959 "RANLIB=$${RANLIB}" \
17960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17961 distclean) \
17962 || exit 1
17964 @endif tcl
17966 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
17967 maybe-maintainer-clean-tcl:
17968 @if tcl
17969 maybe-maintainer-clean-tcl: maintainer-clean-tcl
17971 maintainer-clean-tcl:
17972 @: $(MAKE); $(unstage)
17973 @[ -f ./tcl/Makefile ] || exit 0; \
17974 r=`${PWD_COMMAND}`; export r; \
17975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17976 $(HOST_EXPORTS) \
17977 for flag in $(EXTRA_HOST_FLAGS) ; do \
17978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17979 done; \
17980 echo "Doing maintainer-clean in tcl"; \
17981 (cd $(HOST_SUBDIR)/tcl && \
17982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17984 "RANLIB=$${RANLIB}" \
17985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17986 maintainer-clean) \
17987 || exit 1
17989 @endif tcl
17993 .PHONY: configure-itcl maybe-configure-itcl
17994 maybe-configure-itcl:
17995 @if gcc-bootstrap
17996 configure-itcl: stage_current
17997 @endif gcc-bootstrap
17998 @if itcl
17999 maybe-configure-itcl: configure-itcl
18000 configure-itcl:
18001 @: $(MAKE); $(unstage)
18002 @r=`${PWD_COMMAND}`; export r; \
18003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18004 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
18005 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl; \
18006 $(HOST_EXPORTS) \
18007 echo Configuring in $(HOST_SUBDIR)/itcl; \
18008 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
18009 case $(srcdir) in \
18010 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18011 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
18012 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18013 esac; \
18014 module_srcdir=itcl; \
18015 $(SHELL) \
18016 $$s/$$module_srcdir/configure \
18017 --srcdir=$${topdir}/$$module_srcdir \
18018 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18019 --target=${target_alias} \
18020 || exit 1
18021 @endif itcl
18027 .PHONY: all-itcl maybe-all-itcl
18028 maybe-all-itcl:
18029 @if gcc-bootstrap
18030 all-itcl: stage_current
18031 @endif gcc-bootstrap
18032 @if itcl
18033 TARGET-itcl=all
18034 maybe-all-itcl: all-itcl
18035 all-itcl: configure-itcl
18036 @: $(MAKE); $(unstage)
18037 @r=`${PWD_COMMAND}`; export r; \
18038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18039 $(HOST_EXPORTS) \
18040 (cd $(HOST_SUBDIR)/itcl && \
18041 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18042 $(TARGET-itcl))
18043 @endif itcl
18048 .PHONY: check-itcl maybe-check-itcl
18049 maybe-check-itcl:
18050 @if itcl
18051 maybe-check-itcl: check-itcl
18053 check-itcl:
18054 @: $(MAKE); $(unstage)
18055 @r=`${PWD_COMMAND}`; export r; \
18056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18057 $(HOST_EXPORTS) \
18058 (cd $(HOST_SUBDIR)/itcl && \
18059 $(MAKE) $(FLAGS_TO_PASS) check)
18061 @endif itcl
18063 .PHONY: install-itcl maybe-install-itcl
18064 maybe-install-itcl:
18065 @if itcl
18066 maybe-install-itcl: install-itcl
18068 install-itcl: installdirs
18069 @: $(MAKE); $(unstage)
18070 @r=`${PWD_COMMAND}`; export r; \
18071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18072 $(HOST_EXPORTS) \
18073 (cd $(HOST_SUBDIR)/itcl && \
18074 $(MAKE) $(FLAGS_TO_PASS) install)
18076 @endif itcl
18078 .PHONY: install-strip-itcl maybe-install-strip-itcl
18079 maybe-install-strip-itcl:
18080 @if itcl
18081 maybe-install-strip-itcl: install-strip-itcl
18083 install-strip-itcl: installdirs
18084 @: $(MAKE); $(unstage)
18085 @r=`${PWD_COMMAND}`; export r; \
18086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18087 $(HOST_EXPORTS) \
18088 (cd $(HOST_SUBDIR)/itcl && \
18089 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18091 @endif itcl
18093 # Other targets (info, dvi, pdf, etc.)
18095 .PHONY: maybe-info-itcl info-itcl
18096 maybe-info-itcl:
18097 @if itcl
18098 maybe-info-itcl: info-itcl
18100 info-itcl: \
18101 configure-itcl
18102 @: $(MAKE); $(unstage)
18103 @[ -f ./itcl/Makefile ] || exit 0; \
18104 r=`${PWD_COMMAND}`; export r; \
18105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18106 $(HOST_EXPORTS) \
18107 for flag in $(EXTRA_HOST_FLAGS) ; do \
18108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18109 done; \
18110 echo "Doing info in itcl"; \
18111 (cd $(HOST_SUBDIR)/itcl && \
18112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18114 "RANLIB=$${RANLIB}" \
18115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18116 info) \
18117 || exit 1
18119 @endif itcl
18121 .PHONY: maybe-dvi-itcl dvi-itcl
18122 maybe-dvi-itcl:
18123 @if itcl
18124 maybe-dvi-itcl: dvi-itcl
18126 dvi-itcl: \
18127 configure-itcl
18128 @: $(MAKE); $(unstage)
18129 @[ -f ./itcl/Makefile ] || exit 0; \
18130 r=`${PWD_COMMAND}`; export r; \
18131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18132 $(HOST_EXPORTS) \
18133 for flag in $(EXTRA_HOST_FLAGS) ; do \
18134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18135 done; \
18136 echo "Doing dvi in itcl"; \
18137 (cd $(HOST_SUBDIR)/itcl && \
18138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18140 "RANLIB=$${RANLIB}" \
18141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18142 dvi) \
18143 || exit 1
18145 @endif itcl
18147 .PHONY: maybe-pdf-itcl pdf-itcl
18148 maybe-pdf-itcl:
18149 @if itcl
18150 maybe-pdf-itcl: pdf-itcl
18152 pdf-itcl: \
18153 configure-itcl
18154 @: $(MAKE); $(unstage)
18155 @[ -f ./itcl/Makefile ] || exit 0; \
18156 r=`${PWD_COMMAND}`; export r; \
18157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18158 $(HOST_EXPORTS) \
18159 for flag in $(EXTRA_HOST_FLAGS) ; do \
18160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18161 done; \
18162 echo "Doing pdf in itcl"; \
18163 (cd $(HOST_SUBDIR)/itcl && \
18164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18166 "RANLIB=$${RANLIB}" \
18167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18168 pdf) \
18169 || exit 1
18171 @endif itcl
18173 .PHONY: maybe-html-itcl html-itcl
18174 maybe-html-itcl:
18175 @if itcl
18176 maybe-html-itcl: html-itcl
18178 html-itcl: \
18179 configure-itcl
18180 @: $(MAKE); $(unstage)
18181 @[ -f ./itcl/Makefile ] || exit 0; \
18182 r=`${PWD_COMMAND}`; export r; \
18183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18184 $(HOST_EXPORTS) \
18185 for flag in $(EXTRA_HOST_FLAGS) ; do \
18186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18187 done; \
18188 echo "Doing html in itcl"; \
18189 (cd $(HOST_SUBDIR)/itcl && \
18190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18192 "RANLIB=$${RANLIB}" \
18193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18194 html) \
18195 || exit 1
18197 @endif itcl
18199 .PHONY: maybe-TAGS-itcl TAGS-itcl
18200 maybe-TAGS-itcl:
18201 @if itcl
18202 maybe-TAGS-itcl: TAGS-itcl
18204 TAGS-itcl: \
18205 configure-itcl
18206 @: $(MAKE); $(unstage)
18207 @[ -f ./itcl/Makefile ] || exit 0; \
18208 r=`${PWD_COMMAND}`; export r; \
18209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18210 $(HOST_EXPORTS) \
18211 for flag in $(EXTRA_HOST_FLAGS) ; do \
18212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18213 done; \
18214 echo "Doing TAGS in itcl"; \
18215 (cd $(HOST_SUBDIR)/itcl && \
18216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18218 "RANLIB=$${RANLIB}" \
18219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18220 TAGS) \
18221 || exit 1
18223 @endif itcl
18225 .PHONY: maybe-install-info-itcl install-info-itcl
18226 maybe-install-info-itcl:
18227 @if itcl
18228 maybe-install-info-itcl: install-info-itcl
18230 install-info-itcl: \
18231 configure-itcl \
18232 info-itcl
18233 @: $(MAKE); $(unstage)
18234 @[ -f ./itcl/Makefile ] || exit 0; \
18235 r=`${PWD_COMMAND}`; export r; \
18236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18237 $(HOST_EXPORTS) \
18238 for flag in $(EXTRA_HOST_FLAGS) ; do \
18239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18240 done; \
18241 echo "Doing install-info in itcl"; \
18242 (cd $(HOST_SUBDIR)/itcl && \
18243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18245 "RANLIB=$${RANLIB}" \
18246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18247 install-info) \
18248 || exit 1
18250 @endif itcl
18252 .PHONY: maybe-install-pdf-itcl install-pdf-itcl
18253 maybe-install-pdf-itcl:
18254 @if itcl
18255 maybe-install-pdf-itcl: install-pdf-itcl
18257 install-pdf-itcl: \
18258 configure-itcl \
18259 pdf-itcl
18260 @: $(MAKE); $(unstage)
18261 @[ -f ./itcl/Makefile ] || exit 0; \
18262 r=`${PWD_COMMAND}`; export r; \
18263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18264 $(HOST_EXPORTS) \
18265 for flag in $(EXTRA_HOST_FLAGS) ; do \
18266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18267 done; \
18268 echo "Doing install-pdf in itcl"; \
18269 (cd $(HOST_SUBDIR)/itcl && \
18270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18272 "RANLIB=$${RANLIB}" \
18273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18274 install-pdf) \
18275 || exit 1
18277 @endif itcl
18279 .PHONY: maybe-install-html-itcl install-html-itcl
18280 maybe-install-html-itcl:
18281 @if itcl
18282 maybe-install-html-itcl: install-html-itcl
18284 install-html-itcl: \
18285 configure-itcl \
18286 html-itcl
18287 @: $(MAKE); $(unstage)
18288 @[ -f ./itcl/Makefile ] || exit 0; \
18289 r=`${PWD_COMMAND}`; export r; \
18290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18291 $(HOST_EXPORTS) \
18292 for flag in $(EXTRA_HOST_FLAGS) ; do \
18293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18294 done; \
18295 echo "Doing install-html in itcl"; \
18296 (cd $(HOST_SUBDIR)/itcl && \
18297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18299 "RANLIB=$${RANLIB}" \
18300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18301 install-html) \
18302 || exit 1
18304 @endif itcl
18306 .PHONY: maybe-installcheck-itcl installcheck-itcl
18307 maybe-installcheck-itcl:
18308 @if itcl
18309 maybe-installcheck-itcl: installcheck-itcl
18311 installcheck-itcl: \
18312 configure-itcl
18313 @: $(MAKE); $(unstage)
18314 @[ -f ./itcl/Makefile ] || exit 0; \
18315 r=`${PWD_COMMAND}`; export r; \
18316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18317 $(HOST_EXPORTS) \
18318 for flag in $(EXTRA_HOST_FLAGS) ; do \
18319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18320 done; \
18321 echo "Doing installcheck in itcl"; \
18322 (cd $(HOST_SUBDIR)/itcl && \
18323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18325 "RANLIB=$${RANLIB}" \
18326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18327 installcheck) \
18328 || exit 1
18330 @endif itcl
18332 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
18333 maybe-mostlyclean-itcl:
18334 @if itcl
18335 maybe-mostlyclean-itcl: mostlyclean-itcl
18337 mostlyclean-itcl:
18338 @: $(MAKE); $(unstage)
18339 @[ -f ./itcl/Makefile ] || exit 0; \
18340 r=`${PWD_COMMAND}`; export r; \
18341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18342 $(HOST_EXPORTS) \
18343 for flag in $(EXTRA_HOST_FLAGS) ; do \
18344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18345 done; \
18346 echo "Doing mostlyclean in itcl"; \
18347 (cd $(HOST_SUBDIR)/itcl && \
18348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18350 "RANLIB=$${RANLIB}" \
18351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18352 mostlyclean) \
18353 || exit 1
18355 @endif itcl
18357 .PHONY: maybe-clean-itcl clean-itcl
18358 maybe-clean-itcl:
18359 @if itcl
18360 maybe-clean-itcl: clean-itcl
18362 clean-itcl:
18363 @: $(MAKE); $(unstage)
18364 @[ -f ./itcl/Makefile ] || exit 0; \
18365 r=`${PWD_COMMAND}`; export r; \
18366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18367 $(HOST_EXPORTS) \
18368 for flag in $(EXTRA_HOST_FLAGS) ; do \
18369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18370 done; \
18371 echo "Doing clean in itcl"; \
18372 (cd $(HOST_SUBDIR)/itcl && \
18373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18375 "RANLIB=$${RANLIB}" \
18376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18377 clean) \
18378 || exit 1
18380 @endif itcl
18382 .PHONY: maybe-distclean-itcl distclean-itcl
18383 maybe-distclean-itcl:
18384 @if itcl
18385 maybe-distclean-itcl: distclean-itcl
18387 distclean-itcl:
18388 @: $(MAKE); $(unstage)
18389 @[ -f ./itcl/Makefile ] || exit 0; \
18390 r=`${PWD_COMMAND}`; export r; \
18391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18392 $(HOST_EXPORTS) \
18393 for flag in $(EXTRA_HOST_FLAGS) ; do \
18394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18395 done; \
18396 echo "Doing distclean in itcl"; \
18397 (cd $(HOST_SUBDIR)/itcl && \
18398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18400 "RANLIB=$${RANLIB}" \
18401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18402 distclean) \
18403 || exit 1
18405 @endif itcl
18407 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
18408 maybe-maintainer-clean-itcl:
18409 @if itcl
18410 maybe-maintainer-clean-itcl: maintainer-clean-itcl
18412 maintainer-clean-itcl:
18413 @: $(MAKE); $(unstage)
18414 @[ -f ./itcl/Makefile ] || exit 0; \
18415 r=`${PWD_COMMAND}`; export r; \
18416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18417 $(HOST_EXPORTS) \
18418 for flag in $(EXTRA_HOST_FLAGS) ; do \
18419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18420 done; \
18421 echo "Doing maintainer-clean in itcl"; \
18422 (cd $(HOST_SUBDIR)/itcl && \
18423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18425 "RANLIB=$${RANLIB}" \
18426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18427 maintainer-clean) \
18428 || exit 1
18430 @endif itcl
18434 .PHONY: configure-ld maybe-configure-ld
18435 maybe-configure-ld:
18436 @if gcc-bootstrap
18437 configure-ld: stage_current
18438 @endif gcc-bootstrap
18439 @if ld
18440 maybe-configure-ld: configure-ld
18441 configure-ld:
18442 @r=`${PWD_COMMAND}`; export r; \
18443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18444 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18445 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
18446 $(HOST_EXPORTS) \
18447 echo Configuring in $(HOST_SUBDIR)/ld; \
18448 cd "$(HOST_SUBDIR)/ld" || exit 1; \
18449 case $(srcdir) in \
18450 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18451 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18452 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18453 esac; \
18454 module_srcdir=ld; \
18455 $(SHELL) \
18456 $$s/$$module_srcdir/configure \
18457 --srcdir=$${topdir}/$$module_srcdir \
18458 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18459 --target=${target_alias} \
18460 || exit 1
18461 @endif ld
18465 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
18466 maybe-configure-stage1-ld:
18467 @if ld-bootstrap
18468 maybe-configure-stage1-ld: configure-stage1-ld
18469 configure-stage1-ld:
18470 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18471 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18472 @r=`${PWD_COMMAND}`; export r; \
18473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18474 TFLAGS="$(STAGE1_TFLAGS)"; \
18475 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18476 $(HOST_EXPORTS) \
18477 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
18478 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
18479 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
18480 echo Configuring stage 1 in $(HOST_SUBDIR)/ld; \
18481 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
18482 cd $(HOST_SUBDIR)/ld || exit 1; \
18483 case $(srcdir) in \
18484 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18485 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18486 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18487 esac; \
18488 module_srcdir=ld; \
18489 $(SHELL) $$s/$$module_srcdir/configure \
18490 --srcdir=$${topdir}/$$module_srcdir \
18491 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18492 --target=${target_alias} \
18494 $(STAGE1_CONFIGURE_FLAGS)
18495 @endif ld-bootstrap
18497 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
18498 maybe-configure-stage2-ld:
18499 @if ld-bootstrap
18500 maybe-configure-stage2-ld: configure-stage2-ld
18501 configure-stage2-ld:
18502 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18503 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18504 @r=`${PWD_COMMAND}`; export r; \
18505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18506 TFLAGS="$(STAGE2_TFLAGS)"; \
18507 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18508 $(HOST_EXPORTS) \
18509 $(POSTSTAGE1_HOST_EXPORTS) \
18510 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
18511 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
18512 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
18513 echo Configuring stage 2 in $(HOST_SUBDIR)/ld; \
18514 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
18515 cd $(HOST_SUBDIR)/ld || exit 1; \
18516 case $(srcdir) in \
18517 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18518 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18519 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18520 esac; \
18521 module_srcdir=ld; \
18522 $(SHELL) $$s/$$module_srcdir/configure \
18523 --srcdir=$${topdir}/$$module_srcdir \
18524 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18525 --target=${target_alias} \
18526 --with-build-libsubdir=$(HOST_SUBDIR) \
18527 $(STAGE2_CONFIGURE_FLAGS)
18528 @endif ld-bootstrap
18530 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
18531 maybe-configure-stage3-ld:
18532 @if ld-bootstrap
18533 maybe-configure-stage3-ld: configure-stage3-ld
18534 configure-stage3-ld:
18535 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18536 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18537 @r=`${PWD_COMMAND}`; export r; \
18538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18539 TFLAGS="$(STAGE3_TFLAGS)"; \
18540 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18541 $(HOST_EXPORTS) \
18542 $(POSTSTAGE1_HOST_EXPORTS) \
18543 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
18544 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
18545 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
18546 echo Configuring stage 3 in $(HOST_SUBDIR)/ld; \
18547 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
18548 cd $(HOST_SUBDIR)/ld || exit 1; \
18549 case $(srcdir) in \
18550 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18551 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18552 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18553 esac; \
18554 module_srcdir=ld; \
18555 $(SHELL) $$s/$$module_srcdir/configure \
18556 --srcdir=$${topdir}/$$module_srcdir \
18557 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18558 --target=${target_alias} \
18559 --with-build-libsubdir=$(HOST_SUBDIR) \
18560 $(STAGE3_CONFIGURE_FLAGS)
18561 @endif ld-bootstrap
18563 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
18564 maybe-configure-stage4-ld:
18565 @if ld-bootstrap
18566 maybe-configure-stage4-ld: configure-stage4-ld
18567 configure-stage4-ld:
18568 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18569 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18570 @r=`${PWD_COMMAND}`; export r; \
18571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18572 TFLAGS="$(STAGE4_TFLAGS)"; \
18573 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18574 $(HOST_EXPORTS) \
18575 $(POSTSTAGE1_HOST_EXPORTS) \
18576 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
18577 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
18578 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
18579 echo Configuring stage 4 in $(HOST_SUBDIR)/ld; \
18580 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
18581 cd $(HOST_SUBDIR)/ld || exit 1; \
18582 case $(srcdir) in \
18583 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18584 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18585 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18586 esac; \
18587 module_srcdir=ld; \
18588 $(SHELL) $$s/$$module_srcdir/configure \
18589 --srcdir=$${topdir}/$$module_srcdir \
18590 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18591 --target=${target_alias} \
18592 --with-build-libsubdir=$(HOST_SUBDIR) \
18593 $(STAGE4_CONFIGURE_FLAGS)
18594 @endif ld-bootstrap
18596 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
18597 maybe-configure-stageprofile-ld:
18598 @if ld-bootstrap
18599 maybe-configure-stageprofile-ld: configure-stageprofile-ld
18600 configure-stageprofile-ld:
18601 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18602 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18603 @r=`${PWD_COMMAND}`; export r; \
18604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18605 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18606 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18607 $(HOST_EXPORTS) \
18608 $(POSTSTAGE1_HOST_EXPORTS) \
18609 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
18610 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
18611 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
18612 echo Configuring stage profile in $(HOST_SUBDIR)/ld; \
18613 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
18614 cd $(HOST_SUBDIR)/ld || exit 1; \
18615 case $(srcdir) in \
18616 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18617 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18618 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18619 esac; \
18620 module_srcdir=ld; \
18621 $(SHELL) $$s/$$module_srcdir/configure \
18622 --srcdir=$${topdir}/$$module_srcdir \
18623 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18624 --target=${target_alias} \
18625 --with-build-libsubdir=$(HOST_SUBDIR) \
18626 $(STAGEprofile_CONFIGURE_FLAGS)
18627 @endif ld-bootstrap
18629 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
18630 maybe-configure-stagefeedback-ld:
18631 @if ld-bootstrap
18632 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
18633 configure-stagefeedback-ld:
18634 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18635 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18636 @r=`${PWD_COMMAND}`; export r; \
18637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18638 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18639 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18640 $(HOST_EXPORTS) \
18641 $(POSTSTAGE1_HOST_EXPORTS) \
18642 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
18643 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
18644 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
18645 echo Configuring stage feedback in $(HOST_SUBDIR)/ld; \
18646 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
18647 cd $(HOST_SUBDIR)/ld || exit 1; \
18648 case $(srcdir) in \
18649 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18650 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18651 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18652 esac; \
18653 module_srcdir=ld; \
18654 $(SHELL) $$s/$$module_srcdir/configure \
18655 --srcdir=$${topdir}/$$module_srcdir \
18656 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18657 --target=${target_alias} \
18658 --with-build-libsubdir=$(HOST_SUBDIR) \
18659 $(STAGEfeedback_CONFIGURE_FLAGS)
18660 @endif ld-bootstrap
18666 .PHONY: all-ld maybe-all-ld
18667 maybe-all-ld:
18668 @if gcc-bootstrap
18669 all-ld: stage_current
18670 @endif gcc-bootstrap
18671 @if ld
18672 TARGET-ld=all
18673 maybe-all-ld: all-ld
18674 all-ld: configure-ld
18675 @r=`${PWD_COMMAND}`; export r; \
18676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18677 $(HOST_EXPORTS) \
18678 (cd $(HOST_SUBDIR)/ld && \
18679 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18680 $(TARGET-ld))
18681 @endif ld
18685 .PHONY: all-stage1-ld maybe-all-stage1-ld
18686 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
18687 maybe-all-stage1-ld:
18688 maybe-clean-stage1-ld:
18689 @if ld-bootstrap
18690 maybe-all-stage1-ld: all-stage1-ld
18691 all-stage1: all-stage1-ld
18692 TARGET-stage1-ld = $(TARGET-ld)
18693 all-stage1-ld: configure-stage1-ld
18694 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18695 @r=`${PWD_COMMAND}`; export r; \
18696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18697 TFLAGS="$(STAGE1_TFLAGS)"; \
18698 $(HOST_EXPORTS) \
18699 cd $(HOST_SUBDIR)/ld && \
18700 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18701 CFLAGS="$(STAGE1_CFLAGS)" \
18702 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
18703 LIBCFLAGS="$(LIBCFLAGS)" \
18704 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18705 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18706 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18707 $(EXTRA_HOST_FLAGS) \
18708 $(STAGE1_FLAGS_TO_PASS) \
18709 TFLAGS="$(STAGE1_TFLAGS)" \
18710 $(TARGET-stage1-ld)
18712 maybe-clean-stage1-ld: clean-stage1-ld
18713 clean-stage1: clean-stage1-ld
18714 clean-stage1-ld:
18715 @if [ $(current_stage) = stage1 ]; then \
18716 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18717 else \
18718 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
18719 $(MAKE) stage1-start; \
18720 fi; \
18721 cd $(HOST_SUBDIR)/ld && \
18722 $(MAKE) $(EXTRA_HOST_FLAGS) \
18723 $(STAGE1_FLAGS_TO_PASS) clean
18724 @endif ld-bootstrap
18727 .PHONY: all-stage2-ld maybe-all-stage2-ld
18728 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
18729 maybe-all-stage2-ld:
18730 maybe-clean-stage2-ld:
18731 @if ld-bootstrap
18732 maybe-all-stage2-ld: all-stage2-ld
18733 all-stage2: all-stage2-ld
18734 TARGET-stage2-ld = $(TARGET-ld)
18735 all-stage2-ld: configure-stage2-ld
18736 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18737 @r=`${PWD_COMMAND}`; export r; \
18738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18739 TFLAGS="$(STAGE2_TFLAGS)"; \
18740 $(HOST_EXPORTS) \
18741 $(POSTSTAGE1_HOST_EXPORTS) \
18742 cd $(HOST_SUBDIR)/ld && \
18743 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18744 CFLAGS="$(STAGE2_CFLAGS)" \
18745 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
18746 LIBCFLAGS="$(STAGE2_CFLAGS)" \
18747 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18748 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18749 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18750 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18751 TFLAGS="$(STAGE2_TFLAGS)" \
18752 $(TARGET-stage2-ld)
18754 maybe-clean-stage2-ld: clean-stage2-ld
18755 clean-stage2: clean-stage2-ld
18756 clean-stage2-ld:
18757 @if [ $(current_stage) = stage2 ]; then \
18758 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18759 else \
18760 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
18761 $(MAKE) stage2-start; \
18762 fi; \
18763 cd $(HOST_SUBDIR)/ld && \
18764 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18765 @endif ld-bootstrap
18768 .PHONY: all-stage3-ld maybe-all-stage3-ld
18769 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
18770 maybe-all-stage3-ld:
18771 maybe-clean-stage3-ld:
18772 @if ld-bootstrap
18773 maybe-all-stage3-ld: all-stage3-ld
18774 all-stage3: all-stage3-ld
18775 TARGET-stage3-ld = $(TARGET-ld)
18776 all-stage3-ld: configure-stage3-ld
18777 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18778 @r=`${PWD_COMMAND}`; export r; \
18779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18780 TFLAGS="$(STAGE3_TFLAGS)"; \
18781 $(HOST_EXPORTS) \
18782 $(POSTSTAGE1_HOST_EXPORTS) \
18783 cd $(HOST_SUBDIR)/ld && \
18784 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18785 CFLAGS="$(STAGE3_CFLAGS)" \
18786 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
18787 LIBCFLAGS="$(STAGE3_CFLAGS)" \
18788 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18789 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18790 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18791 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18792 TFLAGS="$(STAGE3_TFLAGS)" \
18793 $(TARGET-stage3-ld)
18795 maybe-clean-stage3-ld: clean-stage3-ld
18796 clean-stage3: clean-stage3-ld
18797 clean-stage3-ld:
18798 @if [ $(current_stage) = stage3 ]; then \
18799 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18800 else \
18801 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
18802 $(MAKE) stage3-start; \
18803 fi; \
18804 cd $(HOST_SUBDIR)/ld && \
18805 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18806 @endif ld-bootstrap
18809 .PHONY: all-stage4-ld maybe-all-stage4-ld
18810 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
18811 maybe-all-stage4-ld:
18812 maybe-clean-stage4-ld:
18813 @if ld-bootstrap
18814 maybe-all-stage4-ld: all-stage4-ld
18815 all-stage4: all-stage4-ld
18816 TARGET-stage4-ld = $(TARGET-ld)
18817 all-stage4-ld: configure-stage4-ld
18818 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18819 @r=`${PWD_COMMAND}`; export r; \
18820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18821 TFLAGS="$(STAGE4_TFLAGS)"; \
18822 $(HOST_EXPORTS) \
18823 $(POSTSTAGE1_HOST_EXPORTS) \
18824 cd $(HOST_SUBDIR)/ld && \
18825 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18826 CFLAGS="$(STAGE4_CFLAGS)" \
18827 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
18828 LIBCFLAGS="$(STAGE4_CFLAGS)" \
18829 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18830 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18831 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18832 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18833 TFLAGS="$(STAGE4_TFLAGS)" \
18834 $(TARGET-stage4-ld)
18836 maybe-clean-stage4-ld: clean-stage4-ld
18837 clean-stage4: clean-stage4-ld
18838 clean-stage4-ld:
18839 @if [ $(current_stage) = stage4 ]; then \
18840 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18841 else \
18842 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
18843 $(MAKE) stage4-start; \
18844 fi; \
18845 cd $(HOST_SUBDIR)/ld && \
18846 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18847 @endif ld-bootstrap
18850 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
18851 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
18852 maybe-all-stageprofile-ld:
18853 maybe-clean-stageprofile-ld:
18854 @if ld-bootstrap
18855 maybe-all-stageprofile-ld: all-stageprofile-ld
18856 all-stageprofile: all-stageprofile-ld
18857 TARGET-stageprofile-ld = $(TARGET-ld)
18858 all-stageprofile-ld: configure-stageprofile-ld
18859 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18860 @r=`${PWD_COMMAND}`; export r; \
18861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18862 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18863 $(HOST_EXPORTS) \
18864 $(POSTSTAGE1_HOST_EXPORTS) \
18865 cd $(HOST_SUBDIR)/ld && \
18866 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18867 CFLAGS="$(STAGEprofile_CFLAGS)" \
18868 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
18869 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
18870 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18871 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18872 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18873 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18874 TFLAGS="$(STAGEprofile_TFLAGS)" \
18875 $(TARGET-stageprofile-ld)
18877 maybe-clean-stageprofile-ld: clean-stageprofile-ld
18878 clean-stageprofile: clean-stageprofile-ld
18879 clean-stageprofile-ld:
18880 @if [ $(current_stage) = stageprofile ]; then \
18881 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18882 else \
18883 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
18884 $(MAKE) stageprofile-start; \
18885 fi; \
18886 cd $(HOST_SUBDIR)/ld && \
18887 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18888 @endif ld-bootstrap
18891 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
18892 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
18893 maybe-all-stagefeedback-ld:
18894 maybe-clean-stagefeedback-ld:
18895 @if ld-bootstrap
18896 maybe-all-stagefeedback-ld: all-stagefeedback-ld
18897 all-stagefeedback: all-stagefeedback-ld
18898 TARGET-stagefeedback-ld = $(TARGET-ld)
18899 all-stagefeedback-ld: configure-stagefeedback-ld
18900 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18901 @r=`${PWD_COMMAND}`; export r; \
18902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18903 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18904 $(HOST_EXPORTS) \
18905 $(POSTSTAGE1_HOST_EXPORTS) \
18906 cd $(HOST_SUBDIR)/ld && \
18907 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18908 CFLAGS="$(STAGEfeedback_CFLAGS)" \
18909 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
18910 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
18911 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18912 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18913 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18914 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18915 TFLAGS="$(STAGEfeedback_TFLAGS)" \
18916 $(TARGET-stagefeedback-ld)
18918 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
18919 clean-stagefeedback: clean-stagefeedback-ld
18920 clean-stagefeedback-ld:
18921 @if [ $(current_stage) = stagefeedback ]; then \
18922 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18923 else \
18924 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
18925 $(MAKE) stagefeedback-start; \
18926 fi; \
18927 cd $(HOST_SUBDIR)/ld && \
18928 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18929 @endif ld-bootstrap
18935 .PHONY: check-ld maybe-check-ld
18936 maybe-check-ld:
18937 @if ld
18938 maybe-check-ld: check-ld
18940 check-ld:
18941 @: $(MAKE); $(unstage)
18942 @r=`${PWD_COMMAND}`; export r; \
18943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18944 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
18945 (cd $(HOST_SUBDIR)/ld && \
18946 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
18948 @endif ld
18950 .PHONY: install-ld maybe-install-ld
18951 maybe-install-ld:
18952 @if ld
18953 maybe-install-ld: install-ld
18955 install-ld: installdirs
18956 @: $(MAKE); $(unstage)
18957 @r=`${PWD_COMMAND}`; export r; \
18958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18959 $(HOST_EXPORTS) \
18960 (cd $(HOST_SUBDIR)/ld && \
18961 $(MAKE) $(FLAGS_TO_PASS) install)
18963 @endif ld
18965 .PHONY: install-strip-ld maybe-install-strip-ld
18966 maybe-install-strip-ld:
18967 @if ld
18968 maybe-install-strip-ld: install-strip-ld
18970 install-strip-ld: installdirs
18971 @: $(MAKE); $(unstage)
18972 @r=`${PWD_COMMAND}`; export r; \
18973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18974 $(HOST_EXPORTS) \
18975 (cd $(HOST_SUBDIR)/ld && \
18976 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18978 @endif ld
18980 # Other targets (info, dvi, pdf, etc.)
18982 .PHONY: maybe-info-ld info-ld
18983 maybe-info-ld:
18984 @if ld
18985 maybe-info-ld: info-ld
18987 info-ld: \
18988 configure-ld
18989 @[ -f ./ld/Makefile ] || exit 0; \
18990 r=`${PWD_COMMAND}`; export r; \
18991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18992 $(HOST_EXPORTS) \
18993 for flag in $(EXTRA_HOST_FLAGS) ; do \
18994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18995 done; \
18996 echo "Doing info in ld"; \
18997 (cd $(HOST_SUBDIR)/ld && \
18998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19000 "RANLIB=$${RANLIB}" \
19001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19002 info) \
19003 || exit 1
19005 @endif ld
19007 .PHONY: maybe-dvi-ld dvi-ld
19008 maybe-dvi-ld:
19009 @if ld
19010 maybe-dvi-ld: dvi-ld
19012 dvi-ld: \
19013 configure-ld
19014 @[ -f ./ld/Makefile ] || exit 0; \
19015 r=`${PWD_COMMAND}`; export r; \
19016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19017 $(HOST_EXPORTS) \
19018 for flag in $(EXTRA_HOST_FLAGS) ; do \
19019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19020 done; \
19021 echo "Doing dvi in ld"; \
19022 (cd $(HOST_SUBDIR)/ld && \
19023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19025 "RANLIB=$${RANLIB}" \
19026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19027 dvi) \
19028 || exit 1
19030 @endif ld
19032 .PHONY: maybe-pdf-ld pdf-ld
19033 maybe-pdf-ld:
19034 @if ld
19035 maybe-pdf-ld: pdf-ld
19037 pdf-ld: \
19038 configure-ld
19039 @[ -f ./ld/Makefile ] || exit 0; \
19040 r=`${PWD_COMMAND}`; export r; \
19041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19042 $(HOST_EXPORTS) \
19043 for flag in $(EXTRA_HOST_FLAGS) ; do \
19044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19045 done; \
19046 echo "Doing pdf in ld"; \
19047 (cd $(HOST_SUBDIR)/ld && \
19048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19050 "RANLIB=$${RANLIB}" \
19051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19052 pdf) \
19053 || exit 1
19055 @endif ld
19057 .PHONY: maybe-html-ld html-ld
19058 maybe-html-ld:
19059 @if ld
19060 maybe-html-ld: html-ld
19062 html-ld: \
19063 configure-ld
19064 @[ -f ./ld/Makefile ] || exit 0; \
19065 r=`${PWD_COMMAND}`; export r; \
19066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19067 $(HOST_EXPORTS) \
19068 for flag in $(EXTRA_HOST_FLAGS) ; do \
19069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19070 done; \
19071 echo "Doing html in ld"; \
19072 (cd $(HOST_SUBDIR)/ld && \
19073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19075 "RANLIB=$${RANLIB}" \
19076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19077 html) \
19078 || exit 1
19080 @endif ld
19082 .PHONY: maybe-TAGS-ld TAGS-ld
19083 maybe-TAGS-ld:
19084 @if ld
19085 maybe-TAGS-ld: TAGS-ld
19087 TAGS-ld: \
19088 configure-ld
19089 @[ -f ./ld/Makefile ] || exit 0; \
19090 r=`${PWD_COMMAND}`; export r; \
19091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19092 $(HOST_EXPORTS) \
19093 for flag in $(EXTRA_HOST_FLAGS) ; do \
19094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19095 done; \
19096 echo "Doing TAGS in ld"; \
19097 (cd $(HOST_SUBDIR)/ld && \
19098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19100 "RANLIB=$${RANLIB}" \
19101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19102 TAGS) \
19103 || exit 1
19105 @endif ld
19107 .PHONY: maybe-install-info-ld install-info-ld
19108 maybe-install-info-ld:
19109 @if ld
19110 maybe-install-info-ld: install-info-ld
19112 install-info-ld: \
19113 configure-ld \
19114 info-ld
19115 @[ -f ./ld/Makefile ] || exit 0; \
19116 r=`${PWD_COMMAND}`; export r; \
19117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19118 $(HOST_EXPORTS) \
19119 for flag in $(EXTRA_HOST_FLAGS) ; do \
19120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19121 done; \
19122 echo "Doing install-info in ld"; \
19123 (cd $(HOST_SUBDIR)/ld && \
19124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19126 "RANLIB=$${RANLIB}" \
19127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19128 install-info) \
19129 || exit 1
19131 @endif ld
19133 .PHONY: maybe-install-pdf-ld install-pdf-ld
19134 maybe-install-pdf-ld:
19135 @if ld
19136 maybe-install-pdf-ld: install-pdf-ld
19138 install-pdf-ld: \
19139 configure-ld \
19140 pdf-ld
19141 @[ -f ./ld/Makefile ] || exit 0; \
19142 r=`${PWD_COMMAND}`; export r; \
19143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19144 $(HOST_EXPORTS) \
19145 for flag in $(EXTRA_HOST_FLAGS) ; do \
19146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19147 done; \
19148 echo "Doing install-pdf in ld"; \
19149 (cd $(HOST_SUBDIR)/ld && \
19150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19152 "RANLIB=$${RANLIB}" \
19153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19154 install-pdf) \
19155 || exit 1
19157 @endif ld
19159 .PHONY: maybe-install-html-ld install-html-ld
19160 maybe-install-html-ld:
19161 @if ld
19162 maybe-install-html-ld: install-html-ld
19164 install-html-ld: \
19165 configure-ld \
19166 html-ld
19167 @[ -f ./ld/Makefile ] || exit 0; \
19168 r=`${PWD_COMMAND}`; export r; \
19169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19170 $(HOST_EXPORTS) \
19171 for flag in $(EXTRA_HOST_FLAGS) ; do \
19172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19173 done; \
19174 echo "Doing install-html in ld"; \
19175 (cd $(HOST_SUBDIR)/ld && \
19176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19178 "RANLIB=$${RANLIB}" \
19179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19180 install-html) \
19181 || exit 1
19183 @endif ld
19185 .PHONY: maybe-installcheck-ld installcheck-ld
19186 maybe-installcheck-ld:
19187 @if ld
19188 maybe-installcheck-ld: installcheck-ld
19190 installcheck-ld: \
19191 configure-ld
19192 @[ -f ./ld/Makefile ] || exit 0; \
19193 r=`${PWD_COMMAND}`; export r; \
19194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19195 $(HOST_EXPORTS) \
19196 for flag in $(EXTRA_HOST_FLAGS) ; do \
19197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19198 done; \
19199 echo "Doing installcheck in ld"; \
19200 (cd $(HOST_SUBDIR)/ld && \
19201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19203 "RANLIB=$${RANLIB}" \
19204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19205 installcheck) \
19206 || exit 1
19208 @endif ld
19210 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
19211 maybe-mostlyclean-ld:
19212 @if ld
19213 maybe-mostlyclean-ld: mostlyclean-ld
19215 mostlyclean-ld:
19216 @[ -f ./ld/Makefile ] || exit 0; \
19217 r=`${PWD_COMMAND}`; export r; \
19218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19219 $(HOST_EXPORTS) \
19220 for flag in $(EXTRA_HOST_FLAGS) ; do \
19221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19222 done; \
19223 echo "Doing mostlyclean in ld"; \
19224 (cd $(HOST_SUBDIR)/ld && \
19225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19227 "RANLIB=$${RANLIB}" \
19228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19229 mostlyclean) \
19230 || exit 1
19232 @endif ld
19234 .PHONY: maybe-clean-ld clean-ld
19235 maybe-clean-ld:
19236 @if ld
19237 maybe-clean-ld: clean-ld
19239 clean-ld:
19240 @[ -f ./ld/Makefile ] || exit 0; \
19241 r=`${PWD_COMMAND}`; export r; \
19242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19243 $(HOST_EXPORTS) \
19244 for flag in $(EXTRA_HOST_FLAGS) ; do \
19245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19246 done; \
19247 echo "Doing clean in ld"; \
19248 (cd $(HOST_SUBDIR)/ld && \
19249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19251 "RANLIB=$${RANLIB}" \
19252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19253 clean) \
19254 || exit 1
19256 @endif ld
19258 .PHONY: maybe-distclean-ld distclean-ld
19259 maybe-distclean-ld:
19260 @if ld
19261 maybe-distclean-ld: distclean-ld
19263 distclean-ld:
19264 @[ -f ./ld/Makefile ] || exit 0; \
19265 r=`${PWD_COMMAND}`; export r; \
19266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19267 $(HOST_EXPORTS) \
19268 for flag in $(EXTRA_HOST_FLAGS) ; do \
19269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19270 done; \
19271 echo "Doing distclean in ld"; \
19272 (cd $(HOST_SUBDIR)/ld && \
19273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19275 "RANLIB=$${RANLIB}" \
19276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19277 distclean) \
19278 || exit 1
19280 @endif ld
19282 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
19283 maybe-maintainer-clean-ld:
19284 @if ld
19285 maybe-maintainer-clean-ld: maintainer-clean-ld
19287 maintainer-clean-ld:
19288 @[ -f ./ld/Makefile ] || exit 0; \
19289 r=`${PWD_COMMAND}`; export r; \
19290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19291 $(HOST_EXPORTS) \
19292 for flag in $(EXTRA_HOST_FLAGS) ; do \
19293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19294 done; \
19295 echo "Doing maintainer-clean in ld"; \
19296 (cd $(HOST_SUBDIR)/ld && \
19297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19299 "RANLIB=$${RANLIB}" \
19300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19301 maintainer-clean) \
19302 || exit 1
19304 @endif ld
19308 .PHONY: configure-libbacktrace maybe-configure-libbacktrace
19309 maybe-configure-libbacktrace:
19310 @if gcc-bootstrap
19311 configure-libbacktrace: stage_current
19312 @endif gcc-bootstrap
19313 @if libbacktrace
19314 maybe-configure-libbacktrace: configure-libbacktrace
19315 configure-libbacktrace:
19316 @r=`${PWD_COMMAND}`; export r; \
19317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19318 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19319 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
19320 $(HOST_EXPORTS) \
19321 echo Configuring in $(HOST_SUBDIR)/libbacktrace; \
19322 cd "$(HOST_SUBDIR)/libbacktrace" || exit 1; \
19323 case $(srcdir) in \
19324 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19325 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19326 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19327 esac; \
19328 module_srcdir=libbacktrace; \
19329 $(SHELL) \
19330 $$s/$$module_srcdir/configure \
19331 --srcdir=$${topdir}/$$module_srcdir \
19332 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19333 --target=${target_alias} \
19334 || exit 1
19335 @endif libbacktrace
19339 .PHONY: configure-stage1-libbacktrace maybe-configure-stage1-libbacktrace
19340 maybe-configure-stage1-libbacktrace:
19341 @if libbacktrace-bootstrap
19342 maybe-configure-stage1-libbacktrace: configure-stage1-libbacktrace
19343 configure-stage1-libbacktrace:
19344 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19345 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19346 @r=`${PWD_COMMAND}`; export r; \
19347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19348 TFLAGS="$(STAGE1_TFLAGS)"; \
19349 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19350 $(HOST_EXPORTS) \
19351 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
19352 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
19353 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
19354 echo Configuring stage 1 in $(HOST_SUBDIR)/libbacktrace; \
19355 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
19356 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19357 case $(srcdir) in \
19358 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19359 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19360 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19361 esac; \
19362 module_srcdir=libbacktrace; \
19363 $(SHELL) $$s/$$module_srcdir/configure \
19364 --srcdir=$${topdir}/$$module_srcdir \
19365 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19366 --target=${target_alias} \
19368 $(STAGE1_CONFIGURE_FLAGS)
19369 @endif libbacktrace-bootstrap
19371 .PHONY: configure-stage2-libbacktrace maybe-configure-stage2-libbacktrace
19372 maybe-configure-stage2-libbacktrace:
19373 @if libbacktrace-bootstrap
19374 maybe-configure-stage2-libbacktrace: configure-stage2-libbacktrace
19375 configure-stage2-libbacktrace:
19376 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19377 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19378 @r=`${PWD_COMMAND}`; export r; \
19379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19380 TFLAGS="$(STAGE2_TFLAGS)"; \
19381 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19382 $(HOST_EXPORTS) \
19383 $(POSTSTAGE1_HOST_EXPORTS) \
19384 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
19385 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
19386 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
19387 echo Configuring stage 2 in $(HOST_SUBDIR)/libbacktrace; \
19388 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
19389 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19390 case $(srcdir) in \
19391 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19392 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19393 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19394 esac; \
19395 module_srcdir=libbacktrace; \
19396 $(SHELL) $$s/$$module_srcdir/configure \
19397 --srcdir=$${topdir}/$$module_srcdir \
19398 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19399 --target=${target_alias} \
19400 --with-build-libsubdir=$(HOST_SUBDIR) \
19401 $(STAGE2_CONFIGURE_FLAGS)
19402 @endif libbacktrace-bootstrap
19404 .PHONY: configure-stage3-libbacktrace maybe-configure-stage3-libbacktrace
19405 maybe-configure-stage3-libbacktrace:
19406 @if libbacktrace-bootstrap
19407 maybe-configure-stage3-libbacktrace: configure-stage3-libbacktrace
19408 configure-stage3-libbacktrace:
19409 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19410 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19411 @r=`${PWD_COMMAND}`; export r; \
19412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19413 TFLAGS="$(STAGE3_TFLAGS)"; \
19414 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19415 $(HOST_EXPORTS) \
19416 $(POSTSTAGE1_HOST_EXPORTS) \
19417 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
19418 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
19419 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
19420 echo Configuring stage 3 in $(HOST_SUBDIR)/libbacktrace; \
19421 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
19422 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19423 case $(srcdir) in \
19424 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19425 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19426 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19427 esac; \
19428 module_srcdir=libbacktrace; \
19429 $(SHELL) $$s/$$module_srcdir/configure \
19430 --srcdir=$${topdir}/$$module_srcdir \
19431 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19432 --target=${target_alias} \
19433 --with-build-libsubdir=$(HOST_SUBDIR) \
19434 $(STAGE3_CONFIGURE_FLAGS)
19435 @endif libbacktrace-bootstrap
19437 .PHONY: configure-stage4-libbacktrace maybe-configure-stage4-libbacktrace
19438 maybe-configure-stage4-libbacktrace:
19439 @if libbacktrace-bootstrap
19440 maybe-configure-stage4-libbacktrace: configure-stage4-libbacktrace
19441 configure-stage4-libbacktrace:
19442 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19443 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19444 @r=`${PWD_COMMAND}`; export r; \
19445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19446 TFLAGS="$(STAGE4_TFLAGS)"; \
19447 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19448 $(HOST_EXPORTS) \
19449 $(POSTSTAGE1_HOST_EXPORTS) \
19450 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
19451 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
19452 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
19453 echo Configuring stage 4 in $(HOST_SUBDIR)/libbacktrace; \
19454 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
19455 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19456 case $(srcdir) in \
19457 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19458 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19459 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19460 esac; \
19461 module_srcdir=libbacktrace; \
19462 $(SHELL) $$s/$$module_srcdir/configure \
19463 --srcdir=$${topdir}/$$module_srcdir \
19464 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19465 --target=${target_alias} \
19466 --with-build-libsubdir=$(HOST_SUBDIR) \
19467 $(STAGE4_CONFIGURE_FLAGS)
19468 @endif libbacktrace-bootstrap
19470 .PHONY: configure-stageprofile-libbacktrace maybe-configure-stageprofile-libbacktrace
19471 maybe-configure-stageprofile-libbacktrace:
19472 @if libbacktrace-bootstrap
19473 maybe-configure-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
19474 configure-stageprofile-libbacktrace:
19475 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19476 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19477 @r=`${PWD_COMMAND}`; export r; \
19478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19479 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19480 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19481 $(HOST_EXPORTS) \
19482 $(POSTSTAGE1_HOST_EXPORTS) \
19483 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
19484 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
19485 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
19486 echo Configuring stage profile in $(HOST_SUBDIR)/libbacktrace; \
19487 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
19488 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19489 case $(srcdir) in \
19490 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19491 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19492 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19493 esac; \
19494 module_srcdir=libbacktrace; \
19495 $(SHELL) $$s/$$module_srcdir/configure \
19496 --srcdir=$${topdir}/$$module_srcdir \
19497 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19498 --target=${target_alias} \
19499 --with-build-libsubdir=$(HOST_SUBDIR) \
19500 $(STAGEprofile_CONFIGURE_FLAGS)
19501 @endif libbacktrace-bootstrap
19503 .PHONY: configure-stagefeedback-libbacktrace maybe-configure-stagefeedback-libbacktrace
19504 maybe-configure-stagefeedback-libbacktrace:
19505 @if libbacktrace-bootstrap
19506 maybe-configure-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
19507 configure-stagefeedback-libbacktrace:
19508 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19509 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19510 @r=`${PWD_COMMAND}`; export r; \
19511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19512 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19513 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19514 $(HOST_EXPORTS) \
19515 $(POSTSTAGE1_HOST_EXPORTS) \
19516 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
19517 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
19518 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
19519 echo Configuring stage feedback in $(HOST_SUBDIR)/libbacktrace; \
19520 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
19521 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19522 case $(srcdir) in \
19523 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19524 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19525 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19526 esac; \
19527 module_srcdir=libbacktrace; \
19528 $(SHELL) $$s/$$module_srcdir/configure \
19529 --srcdir=$${topdir}/$$module_srcdir \
19530 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19531 --target=${target_alias} \
19532 --with-build-libsubdir=$(HOST_SUBDIR) \
19533 $(STAGEfeedback_CONFIGURE_FLAGS)
19534 @endif libbacktrace-bootstrap
19540 .PHONY: all-libbacktrace maybe-all-libbacktrace
19541 maybe-all-libbacktrace:
19542 @if gcc-bootstrap
19543 all-libbacktrace: stage_current
19544 @endif gcc-bootstrap
19545 @if libbacktrace
19546 TARGET-libbacktrace=all
19547 maybe-all-libbacktrace: all-libbacktrace
19548 all-libbacktrace: configure-libbacktrace
19549 @r=`${PWD_COMMAND}`; export r; \
19550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19551 $(HOST_EXPORTS) \
19552 (cd $(HOST_SUBDIR)/libbacktrace && \
19553 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
19554 $(TARGET-libbacktrace))
19555 @endif libbacktrace
19559 .PHONY: all-stage1-libbacktrace maybe-all-stage1-libbacktrace
19560 .PHONY: clean-stage1-libbacktrace maybe-clean-stage1-libbacktrace
19561 maybe-all-stage1-libbacktrace:
19562 maybe-clean-stage1-libbacktrace:
19563 @if libbacktrace-bootstrap
19564 maybe-all-stage1-libbacktrace: all-stage1-libbacktrace
19565 all-stage1: all-stage1-libbacktrace
19566 TARGET-stage1-libbacktrace = $(TARGET-libbacktrace)
19567 all-stage1-libbacktrace: configure-stage1-libbacktrace
19568 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19569 @r=`${PWD_COMMAND}`; export r; \
19570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19571 TFLAGS="$(STAGE1_TFLAGS)"; \
19572 $(HOST_EXPORTS) \
19573 cd $(HOST_SUBDIR)/libbacktrace && \
19574 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19575 CFLAGS="$(STAGE1_CFLAGS)" \
19576 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
19577 LIBCFLAGS="$(LIBCFLAGS)" \
19578 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19579 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19580 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19581 $(EXTRA_HOST_FLAGS) \
19582 $(STAGE1_FLAGS_TO_PASS) \
19583 TFLAGS="$(STAGE1_TFLAGS)" \
19584 $(TARGET-stage1-libbacktrace)
19586 maybe-clean-stage1-libbacktrace: clean-stage1-libbacktrace
19587 clean-stage1: clean-stage1-libbacktrace
19588 clean-stage1-libbacktrace:
19589 @if [ $(current_stage) = stage1 ]; then \
19590 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19591 else \
19592 [ -f $(HOST_SUBDIR)/stage1-libbacktrace/Makefile ] || exit 0; \
19593 $(MAKE) stage1-start; \
19594 fi; \
19595 cd $(HOST_SUBDIR)/libbacktrace && \
19596 $(MAKE) $(EXTRA_HOST_FLAGS) \
19597 $(STAGE1_FLAGS_TO_PASS) clean
19598 @endif libbacktrace-bootstrap
19601 .PHONY: all-stage2-libbacktrace maybe-all-stage2-libbacktrace
19602 .PHONY: clean-stage2-libbacktrace maybe-clean-stage2-libbacktrace
19603 maybe-all-stage2-libbacktrace:
19604 maybe-clean-stage2-libbacktrace:
19605 @if libbacktrace-bootstrap
19606 maybe-all-stage2-libbacktrace: all-stage2-libbacktrace
19607 all-stage2: all-stage2-libbacktrace
19608 TARGET-stage2-libbacktrace = $(TARGET-libbacktrace)
19609 all-stage2-libbacktrace: configure-stage2-libbacktrace
19610 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19611 @r=`${PWD_COMMAND}`; export r; \
19612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19613 TFLAGS="$(STAGE2_TFLAGS)"; \
19614 $(HOST_EXPORTS) \
19615 $(POSTSTAGE1_HOST_EXPORTS) \
19616 cd $(HOST_SUBDIR)/libbacktrace && \
19617 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19618 CFLAGS="$(STAGE2_CFLAGS)" \
19619 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
19620 LIBCFLAGS="$(STAGE2_CFLAGS)" \
19621 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19622 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19623 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19624 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19625 TFLAGS="$(STAGE2_TFLAGS)" \
19626 $(TARGET-stage2-libbacktrace)
19628 maybe-clean-stage2-libbacktrace: clean-stage2-libbacktrace
19629 clean-stage2: clean-stage2-libbacktrace
19630 clean-stage2-libbacktrace:
19631 @if [ $(current_stage) = stage2 ]; then \
19632 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19633 else \
19634 [ -f $(HOST_SUBDIR)/stage2-libbacktrace/Makefile ] || exit 0; \
19635 $(MAKE) stage2-start; \
19636 fi; \
19637 cd $(HOST_SUBDIR)/libbacktrace && \
19638 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19639 @endif libbacktrace-bootstrap
19642 .PHONY: all-stage3-libbacktrace maybe-all-stage3-libbacktrace
19643 .PHONY: clean-stage3-libbacktrace maybe-clean-stage3-libbacktrace
19644 maybe-all-stage3-libbacktrace:
19645 maybe-clean-stage3-libbacktrace:
19646 @if libbacktrace-bootstrap
19647 maybe-all-stage3-libbacktrace: all-stage3-libbacktrace
19648 all-stage3: all-stage3-libbacktrace
19649 TARGET-stage3-libbacktrace = $(TARGET-libbacktrace)
19650 all-stage3-libbacktrace: configure-stage3-libbacktrace
19651 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19652 @r=`${PWD_COMMAND}`; export r; \
19653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19654 TFLAGS="$(STAGE3_TFLAGS)"; \
19655 $(HOST_EXPORTS) \
19656 $(POSTSTAGE1_HOST_EXPORTS) \
19657 cd $(HOST_SUBDIR)/libbacktrace && \
19658 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19659 CFLAGS="$(STAGE3_CFLAGS)" \
19660 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
19661 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19662 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19663 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19664 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19665 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19666 TFLAGS="$(STAGE3_TFLAGS)" \
19667 $(TARGET-stage3-libbacktrace)
19669 maybe-clean-stage3-libbacktrace: clean-stage3-libbacktrace
19670 clean-stage3: clean-stage3-libbacktrace
19671 clean-stage3-libbacktrace:
19672 @if [ $(current_stage) = stage3 ]; then \
19673 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19674 else \
19675 [ -f $(HOST_SUBDIR)/stage3-libbacktrace/Makefile ] || exit 0; \
19676 $(MAKE) stage3-start; \
19677 fi; \
19678 cd $(HOST_SUBDIR)/libbacktrace && \
19679 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19680 @endif libbacktrace-bootstrap
19683 .PHONY: all-stage4-libbacktrace maybe-all-stage4-libbacktrace
19684 .PHONY: clean-stage4-libbacktrace maybe-clean-stage4-libbacktrace
19685 maybe-all-stage4-libbacktrace:
19686 maybe-clean-stage4-libbacktrace:
19687 @if libbacktrace-bootstrap
19688 maybe-all-stage4-libbacktrace: all-stage4-libbacktrace
19689 all-stage4: all-stage4-libbacktrace
19690 TARGET-stage4-libbacktrace = $(TARGET-libbacktrace)
19691 all-stage4-libbacktrace: configure-stage4-libbacktrace
19692 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19693 @r=`${PWD_COMMAND}`; export r; \
19694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19695 TFLAGS="$(STAGE4_TFLAGS)"; \
19696 $(HOST_EXPORTS) \
19697 $(POSTSTAGE1_HOST_EXPORTS) \
19698 cd $(HOST_SUBDIR)/libbacktrace && \
19699 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19700 CFLAGS="$(STAGE4_CFLAGS)" \
19701 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19702 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19703 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19704 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19705 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19706 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19707 TFLAGS="$(STAGE4_TFLAGS)" \
19708 $(TARGET-stage4-libbacktrace)
19710 maybe-clean-stage4-libbacktrace: clean-stage4-libbacktrace
19711 clean-stage4: clean-stage4-libbacktrace
19712 clean-stage4-libbacktrace:
19713 @if [ $(current_stage) = stage4 ]; then \
19714 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19715 else \
19716 [ -f $(HOST_SUBDIR)/stage4-libbacktrace/Makefile ] || exit 0; \
19717 $(MAKE) stage4-start; \
19718 fi; \
19719 cd $(HOST_SUBDIR)/libbacktrace && \
19720 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19721 @endif libbacktrace-bootstrap
19724 .PHONY: all-stageprofile-libbacktrace maybe-all-stageprofile-libbacktrace
19725 .PHONY: clean-stageprofile-libbacktrace maybe-clean-stageprofile-libbacktrace
19726 maybe-all-stageprofile-libbacktrace:
19727 maybe-clean-stageprofile-libbacktrace:
19728 @if libbacktrace-bootstrap
19729 maybe-all-stageprofile-libbacktrace: all-stageprofile-libbacktrace
19730 all-stageprofile: all-stageprofile-libbacktrace
19731 TARGET-stageprofile-libbacktrace = $(TARGET-libbacktrace)
19732 all-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
19733 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19734 @r=`${PWD_COMMAND}`; export r; \
19735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19736 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19737 $(HOST_EXPORTS) \
19738 $(POSTSTAGE1_HOST_EXPORTS) \
19739 cd $(HOST_SUBDIR)/libbacktrace && \
19740 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19741 CFLAGS="$(STAGEprofile_CFLAGS)" \
19742 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
19743 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
19744 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19745 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19746 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19747 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19748 TFLAGS="$(STAGEprofile_TFLAGS)" \
19749 $(TARGET-stageprofile-libbacktrace)
19751 maybe-clean-stageprofile-libbacktrace: clean-stageprofile-libbacktrace
19752 clean-stageprofile: clean-stageprofile-libbacktrace
19753 clean-stageprofile-libbacktrace:
19754 @if [ $(current_stage) = stageprofile ]; then \
19755 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19756 else \
19757 [ -f $(HOST_SUBDIR)/stageprofile-libbacktrace/Makefile ] || exit 0; \
19758 $(MAKE) stageprofile-start; \
19759 fi; \
19760 cd $(HOST_SUBDIR)/libbacktrace && \
19761 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19762 @endif libbacktrace-bootstrap
19765 .PHONY: all-stagefeedback-libbacktrace maybe-all-stagefeedback-libbacktrace
19766 .PHONY: clean-stagefeedback-libbacktrace maybe-clean-stagefeedback-libbacktrace
19767 maybe-all-stagefeedback-libbacktrace:
19768 maybe-clean-stagefeedback-libbacktrace:
19769 @if libbacktrace-bootstrap
19770 maybe-all-stagefeedback-libbacktrace: all-stagefeedback-libbacktrace
19771 all-stagefeedback: all-stagefeedback-libbacktrace
19772 TARGET-stagefeedback-libbacktrace = $(TARGET-libbacktrace)
19773 all-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
19774 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19775 @r=`${PWD_COMMAND}`; export r; \
19776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19777 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19778 $(HOST_EXPORTS) \
19779 $(POSTSTAGE1_HOST_EXPORTS) \
19780 cd $(HOST_SUBDIR)/libbacktrace && \
19781 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19782 CFLAGS="$(STAGEfeedback_CFLAGS)" \
19783 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
19784 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
19785 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19786 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19787 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19788 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19789 TFLAGS="$(STAGEfeedback_TFLAGS)" \
19790 $(TARGET-stagefeedback-libbacktrace)
19792 maybe-clean-stagefeedback-libbacktrace: clean-stagefeedback-libbacktrace
19793 clean-stagefeedback: clean-stagefeedback-libbacktrace
19794 clean-stagefeedback-libbacktrace:
19795 @if [ $(current_stage) = stagefeedback ]; then \
19796 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19797 else \
19798 [ -f $(HOST_SUBDIR)/stagefeedback-libbacktrace/Makefile ] || exit 0; \
19799 $(MAKE) stagefeedback-start; \
19800 fi; \
19801 cd $(HOST_SUBDIR)/libbacktrace && \
19802 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19803 @endif libbacktrace-bootstrap
19809 .PHONY: check-libbacktrace maybe-check-libbacktrace
19810 maybe-check-libbacktrace:
19811 @if libbacktrace
19812 maybe-check-libbacktrace: check-libbacktrace
19814 check-libbacktrace:
19815 @: $(MAKE); $(unstage)
19816 @r=`${PWD_COMMAND}`; export r; \
19817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19818 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
19819 (cd $(HOST_SUBDIR)/libbacktrace && \
19820 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
19822 @endif libbacktrace
19824 .PHONY: install-libbacktrace maybe-install-libbacktrace
19825 maybe-install-libbacktrace:
19826 @if libbacktrace
19827 maybe-install-libbacktrace: install-libbacktrace
19829 install-libbacktrace: installdirs
19830 @: $(MAKE); $(unstage)
19831 @r=`${PWD_COMMAND}`; export r; \
19832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19833 $(HOST_EXPORTS) \
19834 (cd $(HOST_SUBDIR)/libbacktrace && \
19835 $(MAKE) $(FLAGS_TO_PASS) install)
19837 @endif libbacktrace
19839 .PHONY: install-strip-libbacktrace maybe-install-strip-libbacktrace
19840 maybe-install-strip-libbacktrace:
19841 @if libbacktrace
19842 maybe-install-strip-libbacktrace: install-strip-libbacktrace
19844 install-strip-libbacktrace: installdirs
19845 @: $(MAKE); $(unstage)
19846 @r=`${PWD_COMMAND}`; export r; \
19847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19848 $(HOST_EXPORTS) \
19849 (cd $(HOST_SUBDIR)/libbacktrace && \
19850 $(MAKE) $(FLAGS_TO_PASS) install-strip)
19852 @endif libbacktrace
19854 # Other targets (info, dvi, pdf, etc.)
19856 .PHONY: maybe-info-libbacktrace info-libbacktrace
19857 maybe-info-libbacktrace:
19858 @if libbacktrace
19859 maybe-info-libbacktrace: info-libbacktrace
19861 info-libbacktrace: \
19862 configure-libbacktrace
19863 @[ -f ./libbacktrace/Makefile ] || exit 0; \
19864 r=`${PWD_COMMAND}`; export r; \
19865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19866 $(HOST_EXPORTS) \
19867 for flag in $(EXTRA_HOST_FLAGS) ; do \
19868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19869 done; \
19870 echo "Doing info in libbacktrace"; \
19871 (cd $(HOST_SUBDIR)/libbacktrace && \
19872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19874 "RANLIB=$${RANLIB}" \
19875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19876 info) \
19877 || exit 1
19879 @endif libbacktrace
19881 .PHONY: maybe-dvi-libbacktrace dvi-libbacktrace
19882 maybe-dvi-libbacktrace:
19883 @if libbacktrace
19884 maybe-dvi-libbacktrace: dvi-libbacktrace
19886 dvi-libbacktrace: \
19887 configure-libbacktrace
19888 @[ -f ./libbacktrace/Makefile ] || exit 0; \
19889 r=`${PWD_COMMAND}`; export r; \
19890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19891 $(HOST_EXPORTS) \
19892 for flag in $(EXTRA_HOST_FLAGS) ; do \
19893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19894 done; \
19895 echo "Doing dvi in libbacktrace"; \
19896 (cd $(HOST_SUBDIR)/libbacktrace && \
19897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19899 "RANLIB=$${RANLIB}" \
19900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19901 dvi) \
19902 || exit 1
19904 @endif libbacktrace
19906 .PHONY: maybe-pdf-libbacktrace pdf-libbacktrace
19907 maybe-pdf-libbacktrace:
19908 @if libbacktrace
19909 maybe-pdf-libbacktrace: pdf-libbacktrace
19911 pdf-libbacktrace: \
19912 configure-libbacktrace
19913 @[ -f ./libbacktrace/Makefile ] || exit 0; \
19914 r=`${PWD_COMMAND}`; export r; \
19915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19916 $(HOST_EXPORTS) \
19917 for flag in $(EXTRA_HOST_FLAGS) ; do \
19918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19919 done; \
19920 echo "Doing pdf in libbacktrace"; \
19921 (cd $(HOST_SUBDIR)/libbacktrace && \
19922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19924 "RANLIB=$${RANLIB}" \
19925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19926 pdf) \
19927 || exit 1
19929 @endif libbacktrace
19931 .PHONY: maybe-html-libbacktrace html-libbacktrace
19932 maybe-html-libbacktrace:
19933 @if libbacktrace
19934 maybe-html-libbacktrace: html-libbacktrace
19936 html-libbacktrace: \
19937 configure-libbacktrace
19938 @[ -f ./libbacktrace/Makefile ] || exit 0; \
19939 r=`${PWD_COMMAND}`; export r; \
19940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19941 $(HOST_EXPORTS) \
19942 for flag in $(EXTRA_HOST_FLAGS) ; do \
19943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19944 done; \
19945 echo "Doing html in libbacktrace"; \
19946 (cd $(HOST_SUBDIR)/libbacktrace && \
19947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19949 "RANLIB=$${RANLIB}" \
19950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19951 html) \
19952 || exit 1
19954 @endif libbacktrace
19956 .PHONY: maybe-TAGS-libbacktrace TAGS-libbacktrace
19957 maybe-TAGS-libbacktrace:
19958 @if libbacktrace
19959 maybe-TAGS-libbacktrace: TAGS-libbacktrace
19961 TAGS-libbacktrace: \
19962 configure-libbacktrace
19963 @[ -f ./libbacktrace/Makefile ] || exit 0; \
19964 r=`${PWD_COMMAND}`; export r; \
19965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19966 $(HOST_EXPORTS) \
19967 for flag in $(EXTRA_HOST_FLAGS) ; do \
19968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19969 done; \
19970 echo "Doing TAGS in libbacktrace"; \
19971 (cd $(HOST_SUBDIR)/libbacktrace && \
19972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19974 "RANLIB=$${RANLIB}" \
19975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19976 TAGS) \
19977 || exit 1
19979 @endif libbacktrace
19981 .PHONY: maybe-install-info-libbacktrace install-info-libbacktrace
19982 maybe-install-info-libbacktrace:
19983 @if libbacktrace
19984 maybe-install-info-libbacktrace: install-info-libbacktrace
19986 install-info-libbacktrace: \
19987 configure-libbacktrace \
19988 info-libbacktrace
19989 @[ -f ./libbacktrace/Makefile ] || exit 0; \
19990 r=`${PWD_COMMAND}`; export r; \
19991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19992 $(HOST_EXPORTS) \
19993 for flag in $(EXTRA_HOST_FLAGS) ; do \
19994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19995 done; \
19996 echo "Doing install-info in libbacktrace"; \
19997 (cd $(HOST_SUBDIR)/libbacktrace && \
19998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20000 "RANLIB=$${RANLIB}" \
20001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20002 install-info) \
20003 || exit 1
20005 @endif libbacktrace
20007 .PHONY: maybe-install-pdf-libbacktrace install-pdf-libbacktrace
20008 maybe-install-pdf-libbacktrace:
20009 @if libbacktrace
20010 maybe-install-pdf-libbacktrace: install-pdf-libbacktrace
20012 install-pdf-libbacktrace: \
20013 configure-libbacktrace \
20014 pdf-libbacktrace
20015 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20016 r=`${PWD_COMMAND}`; export r; \
20017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20018 $(HOST_EXPORTS) \
20019 for flag in $(EXTRA_HOST_FLAGS) ; do \
20020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20021 done; \
20022 echo "Doing install-pdf in libbacktrace"; \
20023 (cd $(HOST_SUBDIR)/libbacktrace && \
20024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20026 "RANLIB=$${RANLIB}" \
20027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20028 install-pdf) \
20029 || exit 1
20031 @endif libbacktrace
20033 .PHONY: maybe-install-html-libbacktrace install-html-libbacktrace
20034 maybe-install-html-libbacktrace:
20035 @if libbacktrace
20036 maybe-install-html-libbacktrace: install-html-libbacktrace
20038 install-html-libbacktrace: \
20039 configure-libbacktrace \
20040 html-libbacktrace
20041 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20042 r=`${PWD_COMMAND}`; export r; \
20043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20044 $(HOST_EXPORTS) \
20045 for flag in $(EXTRA_HOST_FLAGS) ; do \
20046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20047 done; \
20048 echo "Doing install-html in libbacktrace"; \
20049 (cd $(HOST_SUBDIR)/libbacktrace && \
20050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20052 "RANLIB=$${RANLIB}" \
20053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20054 install-html) \
20055 || exit 1
20057 @endif libbacktrace
20059 .PHONY: maybe-installcheck-libbacktrace installcheck-libbacktrace
20060 maybe-installcheck-libbacktrace:
20061 @if libbacktrace
20062 maybe-installcheck-libbacktrace: installcheck-libbacktrace
20064 installcheck-libbacktrace: \
20065 configure-libbacktrace
20066 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20067 r=`${PWD_COMMAND}`; export r; \
20068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20069 $(HOST_EXPORTS) \
20070 for flag in $(EXTRA_HOST_FLAGS) ; do \
20071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20072 done; \
20073 echo "Doing installcheck in libbacktrace"; \
20074 (cd $(HOST_SUBDIR)/libbacktrace && \
20075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20077 "RANLIB=$${RANLIB}" \
20078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20079 installcheck) \
20080 || exit 1
20082 @endif libbacktrace
20084 .PHONY: maybe-mostlyclean-libbacktrace mostlyclean-libbacktrace
20085 maybe-mostlyclean-libbacktrace:
20086 @if libbacktrace
20087 maybe-mostlyclean-libbacktrace: mostlyclean-libbacktrace
20089 mostlyclean-libbacktrace:
20090 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20091 r=`${PWD_COMMAND}`; export r; \
20092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20093 $(HOST_EXPORTS) \
20094 for flag in $(EXTRA_HOST_FLAGS) ; do \
20095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20096 done; \
20097 echo "Doing mostlyclean in libbacktrace"; \
20098 (cd $(HOST_SUBDIR)/libbacktrace && \
20099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20101 "RANLIB=$${RANLIB}" \
20102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20103 mostlyclean) \
20104 || exit 1
20106 @endif libbacktrace
20108 .PHONY: maybe-clean-libbacktrace clean-libbacktrace
20109 maybe-clean-libbacktrace:
20110 @if libbacktrace
20111 maybe-clean-libbacktrace: clean-libbacktrace
20113 clean-libbacktrace:
20114 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20115 r=`${PWD_COMMAND}`; export r; \
20116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20117 $(HOST_EXPORTS) \
20118 for flag in $(EXTRA_HOST_FLAGS) ; do \
20119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20120 done; \
20121 echo "Doing clean in libbacktrace"; \
20122 (cd $(HOST_SUBDIR)/libbacktrace && \
20123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20125 "RANLIB=$${RANLIB}" \
20126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20127 clean) \
20128 || exit 1
20130 @endif libbacktrace
20132 .PHONY: maybe-distclean-libbacktrace distclean-libbacktrace
20133 maybe-distclean-libbacktrace:
20134 @if libbacktrace
20135 maybe-distclean-libbacktrace: distclean-libbacktrace
20137 distclean-libbacktrace:
20138 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20139 r=`${PWD_COMMAND}`; export r; \
20140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20141 $(HOST_EXPORTS) \
20142 for flag in $(EXTRA_HOST_FLAGS) ; do \
20143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20144 done; \
20145 echo "Doing distclean in libbacktrace"; \
20146 (cd $(HOST_SUBDIR)/libbacktrace && \
20147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20149 "RANLIB=$${RANLIB}" \
20150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20151 distclean) \
20152 || exit 1
20154 @endif libbacktrace
20156 .PHONY: maybe-maintainer-clean-libbacktrace maintainer-clean-libbacktrace
20157 maybe-maintainer-clean-libbacktrace:
20158 @if libbacktrace
20159 maybe-maintainer-clean-libbacktrace: maintainer-clean-libbacktrace
20161 maintainer-clean-libbacktrace:
20162 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20163 r=`${PWD_COMMAND}`; export r; \
20164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20165 $(HOST_EXPORTS) \
20166 for flag in $(EXTRA_HOST_FLAGS) ; do \
20167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20168 done; \
20169 echo "Doing maintainer-clean in libbacktrace"; \
20170 (cd $(HOST_SUBDIR)/libbacktrace && \
20171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20173 "RANLIB=$${RANLIB}" \
20174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20175 maintainer-clean) \
20176 || exit 1
20178 @endif libbacktrace
20182 .PHONY: configure-libcpp maybe-configure-libcpp
20183 maybe-configure-libcpp:
20184 @if gcc-bootstrap
20185 configure-libcpp: stage_current
20186 @endif gcc-bootstrap
20187 @if libcpp
20188 maybe-configure-libcpp: configure-libcpp
20189 configure-libcpp:
20190 @r=`${PWD_COMMAND}`; export r; \
20191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20192 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20193 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
20194 $(HOST_EXPORTS) \
20195 echo Configuring in $(HOST_SUBDIR)/libcpp; \
20196 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
20197 case $(srcdir) in \
20198 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20199 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20200 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20201 esac; \
20202 module_srcdir=libcpp; \
20203 $(SHELL) \
20204 $$s/$$module_srcdir/configure \
20205 --srcdir=$${topdir}/$$module_srcdir \
20206 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20207 --target=${target_alias} \
20208 || exit 1
20209 @endif libcpp
20213 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
20214 maybe-configure-stage1-libcpp:
20215 @if libcpp-bootstrap
20216 maybe-configure-stage1-libcpp: configure-stage1-libcpp
20217 configure-stage1-libcpp:
20218 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20219 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20220 @r=`${PWD_COMMAND}`; export r; \
20221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20222 TFLAGS="$(STAGE1_TFLAGS)"; \
20223 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20224 $(HOST_EXPORTS) \
20225 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
20226 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
20227 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
20228 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp; \
20229 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
20230 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20231 case $(srcdir) in \
20232 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20233 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20234 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20235 esac; \
20236 module_srcdir=libcpp; \
20237 $(SHELL) $$s/$$module_srcdir/configure \
20238 --srcdir=$${topdir}/$$module_srcdir \
20239 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20240 --target=${target_alias} \
20242 $(STAGE1_CONFIGURE_FLAGS)
20243 @endif libcpp-bootstrap
20245 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
20246 maybe-configure-stage2-libcpp:
20247 @if libcpp-bootstrap
20248 maybe-configure-stage2-libcpp: configure-stage2-libcpp
20249 configure-stage2-libcpp:
20250 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20251 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20252 @r=`${PWD_COMMAND}`; export r; \
20253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20254 TFLAGS="$(STAGE2_TFLAGS)"; \
20255 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20256 $(HOST_EXPORTS) \
20257 $(POSTSTAGE1_HOST_EXPORTS) \
20258 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
20259 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
20260 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
20261 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp; \
20262 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
20263 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20264 case $(srcdir) in \
20265 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20266 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20267 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20268 esac; \
20269 module_srcdir=libcpp; \
20270 $(SHELL) $$s/$$module_srcdir/configure \
20271 --srcdir=$${topdir}/$$module_srcdir \
20272 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20273 --target=${target_alias} \
20274 --with-build-libsubdir=$(HOST_SUBDIR) \
20275 $(STAGE2_CONFIGURE_FLAGS)
20276 @endif libcpp-bootstrap
20278 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
20279 maybe-configure-stage3-libcpp:
20280 @if libcpp-bootstrap
20281 maybe-configure-stage3-libcpp: configure-stage3-libcpp
20282 configure-stage3-libcpp:
20283 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20284 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20285 @r=`${PWD_COMMAND}`; export r; \
20286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20287 TFLAGS="$(STAGE3_TFLAGS)"; \
20288 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20289 $(HOST_EXPORTS) \
20290 $(POSTSTAGE1_HOST_EXPORTS) \
20291 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
20292 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
20293 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
20294 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp; \
20295 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
20296 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20297 case $(srcdir) in \
20298 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20299 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20300 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20301 esac; \
20302 module_srcdir=libcpp; \
20303 $(SHELL) $$s/$$module_srcdir/configure \
20304 --srcdir=$${topdir}/$$module_srcdir \
20305 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20306 --target=${target_alias} \
20307 --with-build-libsubdir=$(HOST_SUBDIR) \
20308 $(STAGE3_CONFIGURE_FLAGS)
20309 @endif libcpp-bootstrap
20311 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
20312 maybe-configure-stage4-libcpp:
20313 @if libcpp-bootstrap
20314 maybe-configure-stage4-libcpp: configure-stage4-libcpp
20315 configure-stage4-libcpp:
20316 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20317 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20318 @r=`${PWD_COMMAND}`; export r; \
20319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20320 TFLAGS="$(STAGE4_TFLAGS)"; \
20321 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20322 $(HOST_EXPORTS) \
20323 $(POSTSTAGE1_HOST_EXPORTS) \
20324 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
20325 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
20326 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
20327 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp; \
20328 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
20329 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20330 case $(srcdir) in \
20331 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20332 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20333 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20334 esac; \
20335 module_srcdir=libcpp; \
20336 $(SHELL) $$s/$$module_srcdir/configure \
20337 --srcdir=$${topdir}/$$module_srcdir \
20338 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20339 --target=${target_alias} \
20340 --with-build-libsubdir=$(HOST_SUBDIR) \
20341 $(STAGE4_CONFIGURE_FLAGS)
20342 @endif libcpp-bootstrap
20344 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
20345 maybe-configure-stageprofile-libcpp:
20346 @if libcpp-bootstrap
20347 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
20348 configure-stageprofile-libcpp:
20349 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20350 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20351 @r=`${PWD_COMMAND}`; export r; \
20352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20353 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20354 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20355 $(HOST_EXPORTS) \
20356 $(POSTSTAGE1_HOST_EXPORTS) \
20357 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
20358 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
20359 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
20360 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp; \
20361 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
20362 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20363 case $(srcdir) in \
20364 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20365 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20366 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20367 esac; \
20368 module_srcdir=libcpp; \
20369 $(SHELL) $$s/$$module_srcdir/configure \
20370 --srcdir=$${topdir}/$$module_srcdir \
20371 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20372 --target=${target_alias} \
20373 --with-build-libsubdir=$(HOST_SUBDIR) \
20374 $(STAGEprofile_CONFIGURE_FLAGS)
20375 @endif libcpp-bootstrap
20377 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
20378 maybe-configure-stagefeedback-libcpp:
20379 @if libcpp-bootstrap
20380 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
20381 configure-stagefeedback-libcpp:
20382 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20383 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20384 @r=`${PWD_COMMAND}`; export r; \
20385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20386 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20387 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20388 $(HOST_EXPORTS) \
20389 $(POSTSTAGE1_HOST_EXPORTS) \
20390 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
20391 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
20392 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
20393 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp; \
20394 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
20395 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20396 case $(srcdir) in \
20397 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20398 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20399 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20400 esac; \
20401 module_srcdir=libcpp; \
20402 $(SHELL) $$s/$$module_srcdir/configure \
20403 --srcdir=$${topdir}/$$module_srcdir \
20404 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20405 --target=${target_alias} \
20406 --with-build-libsubdir=$(HOST_SUBDIR) \
20407 $(STAGEfeedback_CONFIGURE_FLAGS)
20408 @endif libcpp-bootstrap
20414 .PHONY: all-libcpp maybe-all-libcpp
20415 maybe-all-libcpp:
20416 @if gcc-bootstrap
20417 all-libcpp: stage_current
20418 @endif gcc-bootstrap
20419 @if libcpp
20420 TARGET-libcpp=all
20421 maybe-all-libcpp: all-libcpp
20422 all-libcpp: configure-libcpp
20423 @r=`${PWD_COMMAND}`; export r; \
20424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20425 $(HOST_EXPORTS) \
20426 (cd $(HOST_SUBDIR)/libcpp && \
20427 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
20428 $(TARGET-libcpp))
20429 @endif libcpp
20433 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
20434 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
20435 maybe-all-stage1-libcpp:
20436 maybe-clean-stage1-libcpp:
20437 @if libcpp-bootstrap
20438 maybe-all-stage1-libcpp: all-stage1-libcpp
20439 all-stage1: all-stage1-libcpp
20440 TARGET-stage1-libcpp = $(TARGET-libcpp)
20441 all-stage1-libcpp: configure-stage1-libcpp
20442 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20443 @r=`${PWD_COMMAND}`; export r; \
20444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20445 TFLAGS="$(STAGE1_TFLAGS)"; \
20446 $(HOST_EXPORTS) \
20447 cd $(HOST_SUBDIR)/libcpp && \
20448 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20449 CFLAGS="$(STAGE1_CFLAGS)" \
20450 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
20451 LIBCFLAGS="$(LIBCFLAGS)" \
20452 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20453 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20454 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20455 $(EXTRA_HOST_FLAGS) \
20456 $(STAGE1_FLAGS_TO_PASS) \
20457 TFLAGS="$(STAGE1_TFLAGS)" \
20458 $(TARGET-stage1-libcpp)
20460 maybe-clean-stage1-libcpp: clean-stage1-libcpp
20461 clean-stage1: clean-stage1-libcpp
20462 clean-stage1-libcpp:
20463 @if [ $(current_stage) = stage1 ]; then \
20464 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20465 else \
20466 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
20467 $(MAKE) stage1-start; \
20468 fi; \
20469 cd $(HOST_SUBDIR)/libcpp && \
20470 $(MAKE) $(EXTRA_HOST_FLAGS) \
20471 $(STAGE1_FLAGS_TO_PASS) clean
20472 @endif libcpp-bootstrap
20475 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
20476 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
20477 maybe-all-stage2-libcpp:
20478 maybe-clean-stage2-libcpp:
20479 @if libcpp-bootstrap
20480 maybe-all-stage2-libcpp: all-stage2-libcpp
20481 all-stage2: all-stage2-libcpp
20482 TARGET-stage2-libcpp = $(TARGET-libcpp)
20483 all-stage2-libcpp: configure-stage2-libcpp
20484 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20485 @r=`${PWD_COMMAND}`; export r; \
20486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20487 TFLAGS="$(STAGE2_TFLAGS)"; \
20488 $(HOST_EXPORTS) \
20489 $(POSTSTAGE1_HOST_EXPORTS) \
20490 cd $(HOST_SUBDIR)/libcpp && \
20491 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20492 CFLAGS="$(STAGE2_CFLAGS)" \
20493 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
20494 LIBCFLAGS="$(STAGE2_CFLAGS)" \
20495 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20496 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20497 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20498 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20499 TFLAGS="$(STAGE2_TFLAGS)" \
20500 $(TARGET-stage2-libcpp)
20502 maybe-clean-stage2-libcpp: clean-stage2-libcpp
20503 clean-stage2: clean-stage2-libcpp
20504 clean-stage2-libcpp:
20505 @if [ $(current_stage) = stage2 ]; then \
20506 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20507 else \
20508 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
20509 $(MAKE) stage2-start; \
20510 fi; \
20511 cd $(HOST_SUBDIR)/libcpp && \
20512 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20513 @endif libcpp-bootstrap
20516 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
20517 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
20518 maybe-all-stage3-libcpp:
20519 maybe-clean-stage3-libcpp:
20520 @if libcpp-bootstrap
20521 maybe-all-stage3-libcpp: all-stage3-libcpp
20522 all-stage3: all-stage3-libcpp
20523 TARGET-stage3-libcpp = $(TARGET-libcpp)
20524 all-stage3-libcpp: configure-stage3-libcpp
20525 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20526 @r=`${PWD_COMMAND}`; export r; \
20527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20528 TFLAGS="$(STAGE3_TFLAGS)"; \
20529 $(HOST_EXPORTS) \
20530 $(POSTSTAGE1_HOST_EXPORTS) \
20531 cd $(HOST_SUBDIR)/libcpp && \
20532 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20533 CFLAGS="$(STAGE3_CFLAGS)" \
20534 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
20535 LIBCFLAGS="$(STAGE3_CFLAGS)" \
20536 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20537 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20538 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20539 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20540 TFLAGS="$(STAGE3_TFLAGS)" \
20541 $(TARGET-stage3-libcpp)
20543 maybe-clean-stage3-libcpp: clean-stage3-libcpp
20544 clean-stage3: clean-stage3-libcpp
20545 clean-stage3-libcpp:
20546 @if [ $(current_stage) = stage3 ]; then \
20547 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20548 else \
20549 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
20550 $(MAKE) stage3-start; \
20551 fi; \
20552 cd $(HOST_SUBDIR)/libcpp && \
20553 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20554 @endif libcpp-bootstrap
20557 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
20558 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
20559 maybe-all-stage4-libcpp:
20560 maybe-clean-stage4-libcpp:
20561 @if libcpp-bootstrap
20562 maybe-all-stage4-libcpp: all-stage4-libcpp
20563 all-stage4: all-stage4-libcpp
20564 TARGET-stage4-libcpp = $(TARGET-libcpp)
20565 all-stage4-libcpp: configure-stage4-libcpp
20566 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20567 @r=`${PWD_COMMAND}`; export r; \
20568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20569 TFLAGS="$(STAGE4_TFLAGS)"; \
20570 $(HOST_EXPORTS) \
20571 $(POSTSTAGE1_HOST_EXPORTS) \
20572 cd $(HOST_SUBDIR)/libcpp && \
20573 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20574 CFLAGS="$(STAGE4_CFLAGS)" \
20575 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
20576 LIBCFLAGS="$(STAGE4_CFLAGS)" \
20577 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20578 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20579 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20580 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20581 TFLAGS="$(STAGE4_TFLAGS)" \
20582 $(TARGET-stage4-libcpp)
20584 maybe-clean-stage4-libcpp: clean-stage4-libcpp
20585 clean-stage4: clean-stage4-libcpp
20586 clean-stage4-libcpp:
20587 @if [ $(current_stage) = stage4 ]; then \
20588 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20589 else \
20590 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
20591 $(MAKE) stage4-start; \
20592 fi; \
20593 cd $(HOST_SUBDIR)/libcpp && \
20594 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20595 @endif libcpp-bootstrap
20598 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
20599 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
20600 maybe-all-stageprofile-libcpp:
20601 maybe-clean-stageprofile-libcpp:
20602 @if libcpp-bootstrap
20603 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
20604 all-stageprofile: all-stageprofile-libcpp
20605 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
20606 all-stageprofile-libcpp: configure-stageprofile-libcpp
20607 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20608 @r=`${PWD_COMMAND}`; export r; \
20609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20610 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20611 $(HOST_EXPORTS) \
20612 $(POSTSTAGE1_HOST_EXPORTS) \
20613 cd $(HOST_SUBDIR)/libcpp && \
20614 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20615 CFLAGS="$(STAGEprofile_CFLAGS)" \
20616 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
20617 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
20618 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20619 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20620 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20621 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20622 TFLAGS="$(STAGEprofile_TFLAGS)" \
20623 $(TARGET-stageprofile-libcpp)
20625 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
20626 clean-stageprofile: clean-stageprofile-libcpp
20627 clean-stageprofile-libcpp:
20628 @if [ $(current_stage) = stageprofile ]; then \
20629 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20630 else \
20631 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
20632 $(MAKE) stageprofile-start; \
20633 fi; \
20634 cd $(HOST_SUBDIR)/libcpp && \
20635 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20636 @endif libcpp-bootstrap
20639 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
20640 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
20641 maybe-all-stagefeedback-libcpp:
20642 maybe-clean-stagefeedback-libcpp:
20643 @if libcpp-bootstrap
20644 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
20645 all-stagefeedback: all-stagefeedback-libcpp
20646 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
20647 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
20648 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20649 @r=`${PWD_COMMAND}`; export r; \
20650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20651 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20652 $(HOST_EXPORTS) \
20653 $(POSTSTAGE1_HOST_EXPORTS) \
20654 cd $(HOST_SUBDIR)/libcpp && \
20655 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20656 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20657 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
20658 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20659 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20660 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20661 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20662 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20663 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20664 $(TARGET-stagefeedback-libcpp)
20666 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
20667 clean-stagefeedback: clean-stagefeedback-libcpp
20668 clean-stagefeedback-libcpp:
20669 @if [ $(current_stage) = stagefeedback ]; then \
20670 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20671 else \
20672 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
20673 $(MAKE) stagefeedback-start; \
20674 fi; \
20675 cd $(HOST_SUBDIR)/libcpp && \
20676 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20677 @endif libcpp-bootstrap
20683 .PHONY: check-libcpp maybe-check-libcpp
20684 maybe-check-libcpp:
20685 @if libcpp
20686 maybe-check-libcpp: check-libcpp
20688 check-libcpp:
20689 @: $(MAKE); $(unstage)
20690 @r=`${PWD_COMMAND}`; export r; \
20691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20692 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
20693 (cd $(HOST_SUBDIR)/libcpp && \
20694 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
20696 @endif libcpp
20698 .PHONY: install-libcpp maybe-install-libcpp
20699 maybe-install-libcpp:
20700 @if libcpp
20701 maybe-install-libcpp: install-libcpp
20703 install-libcpp: installdirs
20704 @: $(MAKE); $(unstage)
20705 @r=`${PWD_COMMAND}`; export r; \
20706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20707 $(HOST_EXPORTS) \
20708 (cd $(HOST_SUBDIR)/libcpp && \
20709 $(MAKE) $(FLAGS_TO_PASS) install)
20711 @endif libcpp
20713 .PHONY: install-strip-libcpp maybe-install-strip-libcpp
20714 maybe-install-strip-libcpp:
20715 @if libcpp
20716 maybe-install-strip-libcpp: install-strip-libcpp
20718 install-strip-libcpp: installdirs
20719 @: $(MAKE); $(unstage)
20720 @r=`${PWD_COMMAND}`; export r; \
20721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20722 $(HOST_EXPORTS) \
20723 (cd $(HOST_SUBDIR)/libcpp && \
20724 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20726 @endif libcpp
20728 # Other targets (info, dvi, pdf, etc.)
20730 .PHONY: maybe-info-libcpp info-libcpp
20731 maybe-info-libcpp:
20732 @if libcpp
20733 maybe-info-libcpp: info-libcpp
20735 info-libcpp: \
20736 configure-libcpp
20737 @[ -f ./libcpp/Makefile ] || exit 0; \
20738 r=`${PWD_COMMAND}`; export r; \
20739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20740 $(HOST_EXPORTS) \
20741 for flag in $(EXTRA_HOST_FLAGS) ; do \
20742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20743 done; \
20744 echo "Doing info in libcpp"; \
20745 (cd $(HOST_SUBDIR)/libcpp && \
20746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20748 "RANLIB=$${RANLIB}" \
20749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20750 info) \
20751 || exit 1
20753 @endif libcpp
20755 .PHONY: maybe-dvi-libcpp dvi-libcpp
20756 maybe-dvi-libcpp:
20757 @if libcpp
20758 maybe-dvi-libcpp: dvi-libcpp
20760 dvi-libcpp: \
20761 configure-libcpp
20762 @[ -f ./libcpp/Makefile ] || exit 0; \
20763 r=`${PWD_COMMAND}`; export r; \
20764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20765 $(HOST_EXPORTS) \
20766 for flag in $(EXTRA_HOST_FLAGS) ; do \
20767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20768 done; \
20769 echo "Doing dvi in libcpp"; \
20770 (cd $(HOST_SUBDIR)/libcpp && \
20771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20773 "RANLIB=$${RANLIB}" \
20774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20775 dvi) \
20776 || exit 1
20778 @endif libcpp
20780 .PHONY: maybe-pdf-libcpp pdf-libcpp
20781 maybe-pdf-libcpp:
20782 @if libcpp
20783 maybe-pdf-libcpp: pdf-libcpp
20785 pdf-libcpp: \
20786 configure-libcpp
20787 @[ -f ./libcpp/Makefile ] || exit 0; \
20788 r=`${PWD_COMMAND}`; export r; \
20789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20790 $(HOST_EXPORTS) \
20791 for flag in $(EXTRA_HOST_FLAGS) ; do \
20792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20793 done; \
20794 echo "Doing pdf in libcpp"; \
20795 (cd $(HOST_SUBDIR)/libcpp && \
20796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20798 "RANLIB=$${RANLIB}" \
20799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20800 pdf) \
20801 || exit 1
20803 @endif libcpp
20805 .PHONY: maybe-html-libcpp html-libcpp
20806 maybe-html-libcpp:
20807 @if libcpp
20808 maybe-html-libcpp: html-libcpp
20810 html-libcpp: \
20811 configure-libcpp
20812 @[ -f ./libcpp/Makefile ] || exit 0; \
20813 r=`${PWD_COMMAND}`; export r; \
20814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20815 $(HOST_EXPORTS) \
20816 for flag in $(EXTRA_HOST_FLAGS) ; do \
20817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20818 done; \
20819 echo "Doing html in libcpp"; \
20820 (cd $(HOST_SUBDIR)/libcpp && \
20821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20823 "RANLIB=$${RANLIB}" \
20824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20825 html) \
20826 || exit 1
20828 @endif libcpp
20830 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
20831 maybe-TAGS-libcpp:
20832 @if libcpp
20833 maybe-TAGS-libcpp: TAGS-libcpp
20835 TAGS-libcpp: \
20836 configure-libcpp
20837 @[ -f ./libcpp/Makefile ] || exit 0; \
20838 r=`${PWD_COMMAND}`; export r; \
20839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20840 $(HOST_EXPORTS) \
20841 for flag in $(EXTRA_HOST_FLAGS) ; do \
20842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20843 done; \
20844 echo "Doing TAGS in libcpp"; \
20845 (cd $(HOST_SUBDIR)/libcpp && \
20846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20848 "RANLIB=$${RANLIB}" \
20849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20850 TAGS) \
20851 || exit 1
20853 @endif libcpp
20855 .PHONY: maybe-install-info-libcpp install-info-libcpp
20856 maybe-install-info-libcpp:
20857 @if libcpp
20858 maybe-install-info-libcpp: install-info-libcpp
20860 install-info-libcpp: \
20861 configure-libcpp \
20862 info-libcpp
20863 @[ -f ./libcpp/Makefile ] || exit 0; \
20864 r=`${PWD_COMMAND}`; export r; \
20865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20866 $(HOST_EXPORTS) \
20867 for flag in $(EXTRA_HOST_FLAGS) ; do \
20868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20869 done; \
20870 echo "Doing install-info in libcpp"; \
20871 (cd $(HOST_SUBDIR)/libcpp && \
20872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20874 "RANLIB=$${RANLIB}" \
20875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20876 install-info) \
20877 || exit 1
20879 @endif libcpp
20881 .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
20882 maybe-install-pdf-libcpp:
20883 @if libcpp
20884 maybe-install-pdf-libcpp: install-pdf-libcpp
20886 install-pdf-libcpp: \
20887 configure-libcpp \
20888 pdf-libcpp
20889 @[ -f ./libcpp/Makefile ] || exit 0; \
20890 r=`${PWD_COMMAND}`; export r; \
20891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20892 $(HOST_EXPORTS) \
20893 for flag in $(EXTRA_HOST_FLAGS) ; do \
20894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20895 done; \
20896 echo "Doing install-pdf in libcpp"; \
20897 (cd $(HOST_SUBDIR)/libcpp && \
20898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20900 "RANLIB=$${RANLIB}" \
20901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20902 install-pdf) \
20903 || exit 1
20905 @endif libcpp
20907 .PHONY: maybe-install-html-libcpp install-html-libcpp
20908 maybe-install-html-libcpp:
20909 @if libcpp
20910 maybe-install-html-libcpp: install-html-libcpp
20912 install-html-libcpp: \
20913 configure-libcpp \
20914 html-libcpp
20915 @[ -f ./libcpp/Makefile ] || exit 0; \
20916 r=`${PWD_COMMAND}`; export r; \
20917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20918 $(HOST_EXPORTS) \
20919 for flag in $(EXTRA_HOST_FLAGS) ; do \
20920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20921 done; \
20922 echo "Doing install-html in libcpp"; \
20923 (cd $(HOST_SUBDIR)/libcpp && \
20924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20926 "RANLIB=$${RANLIB}" \
20927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20928 install-html) \
20929 || exit 1
20931 @endif libcpp
20933 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
20934 maybe-installcheck-libcpp:
20935 @if libcpp
20936 maybe-installcheck-libcpp: installcheck-libcpp
20938 installcheck-libcpp: \
20939 configure-libcpp
20940 @[ -f ./libcpp/Makefile ] || exit 0; \
20941 r=`${PWD_COMMAND}`; export r; \
20942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20943 $(HOST_EXPORTS) \
20944 for flag in $(EXTRA_HOST_FLAGS) ; do \
20945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20946 done; \
20947 echo "Doing installcheck in libcpp"; \
20948 (cd $(HOST_SUBDIR)/libcpp && \
20949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20951 "RANLIB=$${RANLIB}" \
20952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20953 installcheck) \
20954 || exit 1
20956 @endif libcpp
20958 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
20959 maybe-mostlyclean-libcpp:
20960 @if libcpp
20961 maybe-mostlyclean-libcpp: mostlyclean-libcpp
20963 mostlyclean-libcpp:
20964 @[ -f ./libcpp/Makefile ] || exit 0; \
20965 r=`${PWD_COMMAND}`; export r; \
20966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20967 $(HOST_EXPORTS) \
20968 for flag in $(EXTRA_HOST_FLAGS) ; do \
20969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20970 done; \
20971 echo "Doing mostlyclean in libcpp"; \
20972 (cd $(HOST_SUBDIR)/libcpp && \
20973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20975 "RANLIB=$${RANLIB}" \
20976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20977 mostlyclean) \
20978 || exit 1
20980 @endif libcpp
20982 .PHONY: maybe-clean-libcpp clean-libcpp
20983 maybe-clean-libcpp:
20984 @if libcpp
20985 maybe-clean-libcpp: clean-libcpp
20987 clean-libcpp:
20988 @[ -f ./libcpp/Makefile ] || exit 0; \
20989 r=`${PWD_COMMAND}`; export r; \
20990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20991 $(HOST_EXPORTS) \
20992 for flag in $(EXTRA_HOST_FLAGS) ; do \
20993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20994 done; \
20995 echo "Doing clean in libcpp"; \
20996 (cd $(HOST_SUBDIR)/libcpp && \
20997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20999 "RANLIB=$${RANLIB}" \
21000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21001 clean) \
21002 || exit 1
21004 @endif libcpp
21006 .PHONY: maybe-distclean-libcpp distclean-libcpp
21007 maybe-distclean-libcpp:
21008 @if libcpp
21009 maybe-distclean-libcpp: distclean-libcpp
21011 distclean-libcpp:
21012 @[ -f ./libcpp/Makefile ] || exit 0; \
21013 r=`${PWD_COMMAND}`; export r; \
21014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21015 $(HOST_EXPORTS) \
21016 for flag in $(EXTRA_HOST_FLAGS) ; do \
21017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21018 done; \
21019 echo "Doing distclean in libcpp"; \
21020 (cd $(HOST_SUBDIR)/libcpp && \
21021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21023 "RANLIB=$${RANLIB}" \
21024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21025 distclean) \
21026 || exit 1
21028 @endif libcpp
21030 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
21031 maybe-maintainer-clean-libcpp:
21032 @if libcpp
21033 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
21035 maintainer-clean-libcpp:
21036 @[ -f ./libcpp/Makefile ] || exit 0; \
21037 r=`${PWD_COMMAND}`; export r; \
21038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21039 $(HOST_EXPORTS) \
21040 for flag in $(EXTRA_HOST_FLAGS) ; do \
21041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21042 done; \
21043 echo "Doing maintainer-clean in libcpp"; \
21044 (cd $(HOST_SUBDIR)/libcpp && \
21045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21047 "RANLIB=$${RANLIB}" \
21048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21049 maintainer-clean) \
21050 || exit 1
21052 @endif libcpp
21056 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
21057 maybe-configure-libdecnumber:
21058 @if gcc-bootstrap
21059 configure-libdecnumber: stage_current
21060 @endif gcc-bootstrap
21061 @if libdecnumber
21062 maybe-configure-libdecnumber: configure-libdecnumber
21063 configure-libdecnumber:
21064 @r=`${PWD_COMMAND}`; export r; \
21065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21066 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21067 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
21068 $(HOST_EXPORTS) \
21069 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
21070 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
21071 case $(srcdir) in \
21072 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21073 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21074 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21075 esac; \
21076 module_srcdir=libdecnumber; \
21077 $(SHELL) \
21078 $$s/$$module_srcdir/configure \
21079 --srcdir=$${topdir}/$$module_srcdir \
21080 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21081 --target=${target_alias} \
21082 || exit 1
21083 @endif libdecnumber
21087 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
21088 maybe-configure-stage1-libdecnumber:
21089 @if libdecnumber-bootstrap
21090 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
21091 configure-stage1-libdecnumber:
21092 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21093 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21094 @r=`${PWD_COMMAND}`; export r; \
21095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21096 TFLAGS="$(STAGE1_TFLAGS)"; \
21097 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21098 $(HOST_EXPORTS) \
21099 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
21100 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
21101 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
21102 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber; \
21103 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
21104 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21105 case $(srcdir) in \
21106 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21107 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21108 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21109 esac; \
21110 module_srcdir=libdecnumber; \
21111 $(SHELL) $$s/$$module_srcdir/configure \
21112 --srcdir=$${topdir}/$$module_srcdir \
21113 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21114 --target=${target_alias} \
21116 $(STAGE1_CONFIGURE_FLAGS)
21117 @endif libdecnumber-bootstrap
21119 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
21120 maybe-configure-stage2-libdecnumber:
21121 @if libdecnumber-bootstrap
21122 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
21123 configure-stage2-libdecnumber:
21124 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21125 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21126 @r=`${PWD_COMMAND}`; export r; \
21127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21128 TFLAGS="$(STAGE2_TFLAGS)"; \
21129 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21130 $(HOST_EXPORTS) \
21131 $(POSTSTAGE1_HOST_EXPORTS) \
21132 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
21133 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
21134 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
21135 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber; \
21136 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
21137 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21138 case $(srcdir) in \
21139 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21140 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21141 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21142 esac; \
21143 module_srcdir=libdecnumber; \
21144 $(SHELL) $$s/$$module_srcdir/configure \
21145 --srcdir=$${topdir}/$$module_srcdir \
21146 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21147 --target=${target_alias} \
21148 --with-build-libsubdir=$(HOST_SUBDIR) \
21149 $(STAGE2_CONFIGURE_FLAGS)
21150 @endif libdecnumber-bootstrap
21152 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
21153 maybe-configure-stage3-libdecnumber:
21154 @if libdecnumber-bootstrap
21155 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
21156 configure-stage3-libdecnumber:
21157 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21158 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21159 @r=`${PWD_COMMAND}`; export r; \
21160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21161 TFLAGS="$(STAGE3_TFLAGS)"; \
21162 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21163 $(HOST_EXPORTS) \
21164 $(POSTSTAGE1_HOST_EXPORTS) \
21165 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
21166 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
21167 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
21168 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber; \
21169 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
21170 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21171 case $(srcdir) in \
21172 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21173 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21174 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21175 esac; \
21176 module_srcdir=libdecnumber; \
21177 $(SHELL) $$s/$$module_srcdir/configure \
21178 --srcdir=$${topdir}/$$module_srcdir \
21179 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21180 --target=${target_alias} \
21181 --with-build-libsubdir=$(HOST_SUBDIR) \
21182 $(STAGE3_CONFIGURE_FLAGS)
21183 @endif libdecnumber-bootstrap
21185 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
21186 maybe-configure-stage4-libdecnumber:
21187 @if libdecnumber-bootstrap
21188 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
21189 configure-stage4-libdecnumber:
21190 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21191 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21192 @r=`${PWD_COMMAND}`; export r; \
21193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21194 TFLAGS="$(STAGE4_TFLAGS)"; \
21195 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21196 $(HOST_EXPORTS) \
21197 $(POSTSTAGE1_HOST_EXPORTS) \
21198 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
21199 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
21200 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
21201 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber; \
21202 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
21203 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21204 case $(srcdir) in \
21205 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21206 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21207 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21208 esac; \
21209 module_srcdir=libdecnumber; \
21210 $(SHELL) $$s/$$module_srcdir/configure \
21211 --srcdir=$${topdir}/$$module_srcdir \
21212 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21213 --target=${target_alias} \
21214 --with-build-libsubdir=$(HOST_SUBDIR) \
21215 $(STAGE4_CONFIGURE_FLAGS)
21216 @endif libdecnumber-bootstrap
21218 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
21219 maybe-configure-stageprofile-libdecnumber:
21220 @if libdecnumber-bootstrap
21221 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
21222 configure-stageprofile-libdecnumber:
21223 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21224 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21225 @r=`${PWD_COMMAND}`; export r; \
21226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21227 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21228 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21229 $(HOST_EXPORTS) \
21230 $(POSTSTAGE1_HOST_EXPORTS) \
21231 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
21232 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
21233 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
21234 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber; \
21235 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
21236 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21237 case $(srcdir) in \
21238 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21239 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21240 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21241 esac; \
21242 module_srcdir=libdecnumber; \
21243 $(SHELL) $$s/$$module_srcdir/configure \
21244 --srcdir=$${topdir}/$$module_srcdir \
21245 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21246 --target=${target_alias} \
21247 --with-build-libsubdir=$(HOST_SUBDIR) \
21248 $(STAGEprofile_CONFIGURE_FLAGS)
21249 @endif libdecnumber-bootstrap
21251 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
21252 maybe-configure-stagefeedback-libdecnumber:
21253 @if libdecnumber-bootstrap
21254 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
21255 configure-stagefeedback-libdecnumber:
21256 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21257 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21258 @r=`${PWD_COMMAND}`; export r; \
21259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21260 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21261 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21262 $(HOST_EXPORTS) \
21263 $(POSTSTAGE1_HOST_EXPORTS) \
21264 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
21265 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
21266 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
21267 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber; \
21268 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
21269 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21270 case $(srcdir) in \
21271 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21272 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21273 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21274 esac; \
21275 module_srcdir=libdecnumber; \
21276 $(SHELL) $$s/$$module_srcdir/configure \
21277 --srcdir=$${topdir}/$$module_srcdir \
21278 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21279 --target=${target_alias} \
21280 --with-build-libsubdir=$(HOST_SUBDIR) \
21281 $(STAGEfeedback_CONFIGURE_FLAGS)
21282 @endif libdecnumber-bootstrap
21288 .PHONY: all-libdecnumber maybe-all-libdecnumber
21289 maybe-all-libdecnumber:
21290 @if gcc-bootstrap
21291 all-libdecnumber: stage_current
21292 @endif gcc-bootstrap
21293 @if libdecnumber
21294 TARGET-libdecnumber=all
21295 maybe-all-libdecnumber: all-libdecnumber
21296 all-libdecnumber: configure-libdecnumber
21297 @r=`${PWD_COMMAND}`; export r; \
21298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21299 $(HOST_EXPORTS) \
21300 (cd $(HOST_SUBDIR)/libdecnumber && \
21301 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
21302 $(TARGET-libdecnumber))
21303 @endif libdecnumber
21307 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
21308 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
21309 maybe-all-stage1-libdecnumber:
21310 maybe-clean-stage1-libdecnumber:
21311 @if libdecnumber-bootstrap
21312 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
21313 all-stage1: all-stage1-libdecnumber
21314 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
21315 all-stage1-libdecnumber: configure-stage1-libdecnumber
21316 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21317 @r=`${PWD_COMMAND}`; export r; \
21318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21319 TFLAGS="$(STAGE1_TFLAGS)"; \
21320 $(HOST_EXPORTS) \
21321 cd $(HOST_SUBDIR)/libdecnumber && \
21322 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21323 CFLAGS="$(STAGE1_CFLAGS)" \
21324 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
21325 LIBCFLAGS="$(LIBCFLAGS)" \
21326 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21327 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21328 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21329 $(EXTRA_HOST_FLAGS) \
21330 $(STAGE1_FLAGS_TO_PASS) \
21331 TFLAGS="$(STAGE1_TFLAGS)" \
21332 $(TARGET-stage1-libdecnumber)
21334 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
21335 clean-stage1: clean-stage1-libdecnumber
21336 clean-stage1-libdecnumber:
21337 @if [ $(current_stage) = stage1 ]; then \
21338 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21339 else \
21340 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
21341 $(MAKE) stage1-start; \
21342 fi; \
21343 cd $(HOST_SUBDIR)/libdecnumber && \
21344 $(MAKE) $(EXTRA_HOST_FLAGS) \
21345 $(STAGE1_FLAGS_TO_PASS) clean
21346 @endif libdecnumber-bootstrap
21349 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
21350 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
21351 maybe-all-stage2-libdecnumber:
21352 maybe-clean-stage2-libdecnumber:
21353 @if libdecnumber-bootstrap
21354 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
21355 all-stage2: all-stage2-libdecnumber
21356 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
21357 all-stage2-libdecnumber: configure-stage2-libdecnumber
21358 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21359 @r=`${PWD_COMMAND}`; export r; \
21360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21361 TFLAGS="$(STAGE2_TFLAGS)"; \
21362 $(HOST_EXPORTS) \
21363 $(POSTSTAGE1_HOST_EXPORTS) \
21364 cd $(HOST_SUBDIR)/libdecnumber && \
21365 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21366 CFLAGS="$(STAGE2_CFLAGS)" \
21367 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
21368 LIBCFLAGS="$(STAGE2_CFLAGS)" \
21369 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21370 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21371 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21372 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21373 TFLAGS="$(STAGE2_TFLAGS)" \
21374 $(TARGET-stage2-libdecnumber)
21376 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
21377 clean-stage2: clean-stage2-libdecnumber
21378 clean-stage2-libdecnumber:
21379 @if [ $(current_stage) = stage2 ]; then \
21380 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21381 else \
21382 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
21383 $(MAKE) stage2-start; \
21384 fi; \
21385 cd $(HOST_SUBDIR)/libdecnumber && \
21386 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21387 @endif libdecnumber-bootstrap
21390 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
21391 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
21392 maybe-all-stage3-libdecnumber:
21393 maybe-clean-stage3-libdecnumber:
21394 @if libdecnumber-bootstrap
21395 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
21396 all-stage3: all-stage3-libdecnumber
21397 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
21398 all-stage3-libdecnumber: configure-stage3-libdecnumber
21399 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21400 @r=`${PWD_COMMAND}`; export r; \
21401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21402 TFLAGS="$(STAGE3_TFLAGS)"; \
21403 $(HOST_EXPORTS) \
21404 $(POSTSTAGE1_HOST_EXPORTS) \
21405 cd $(HOST_SUBDIR)/libdecnumber && \
21406 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21407 CFLAGS="$(STAGE3_CFLAGS)" \
21408 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
21409 LIBCFLAGS="$(STAGE3_CFLAGS)" \
21410 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21411 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21412 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21413 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21414 TFLAGS="$(STAGE3_TFLAGS)" \
21415 $(TARGET-stage3-libdecnumber)
21417 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
21418 clean-stage3: clean-stage3-libdecnumber
21419 clean-stage3-libdecnumber:
21420 @if [ $(current_stage) = stage3 ]; then \
21421 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21422 else \
21423 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
21424 $(MAKE) stage3-start; \
21425 fi; \
21426 cd $(HOST_SUBDIR)/libdecnumber && \
21427 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21428 @endif libdecnumber-bootstrap
21431 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
21432 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
21433 maybe-all-stage4-libdecnumber:
21434 maybe-clean-stage4-libdecnumber:
21435 @if libdecnumber-bootstrap
21436 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
21437 all-stage4: all-stage4-libdecnumber
21438 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
21439 all-stage4-libdecnumber: configure-stage4-libdecnumber
21440 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21441 @r=`${PWD_COMMAND}`; export r; \
21442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21443 TFLAGS="$(STAGE4_TFLAGS)"; \
21444 $(HOST_EXPORTS) \
21445 $(POSTSTAGE1_HOST_EXPORTS) \
21446 cd $(HOST_SUBDIR)/libdecnumber && \
21447 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21448 CFLAGS="$(STAGE4_CFLAGS)" \
21449 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
21450 LIBCFLAGS="$(STAGE4_CFLAGS)" \
21451 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21452 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21453 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21454 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21455 TFLAGS="$(STAGE4_TFLAGS)" \
21456 $(TARGET-stage4-libdecnumber)
21458 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
21459 clean-stage4: clean-stage4-libdecnumber
21460 clean-stage4-libdecnumber:
21461 @if [ $(current_stage) = stage4 ]; then \
21462 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21463 else \
21464 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
21465 $(MAKE) stage4-start; \
21466 fi; \
21467 cd $(HOST_SUBDIR)/libdecnumber && \
21468 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21469 @endif libdecnumber-bootstrap
21472 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
21473 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
21474 maybe-all-stageprofile-libdecnumber:
21475 maybe-clean-stageprofile-libdecnumber:
21476 @if libdecnumber-bootstrap
21477 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
21478 all-stageprofile: all-stageprofile-libdecnumber
21479 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
21480 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
21481 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21482 @r=`${PWD_COMMAND}`; export r; \
21483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21484 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21485 $(HOST_EXPORTS) \
21486 $(POSTSTAGE1_HOST_EXPORTS) \
21487 cd $(HOST_SUBDIR)/libdecnumber && \
21488 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21489 CFLAGS="$(STAGEprofile_CFLAGS)" \
21490 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
21491 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
21492 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21493 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21494 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21495 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21496 TFLAGS="$(STAGEprofile_TFLAGS)" \
21497 $(TARGET-stageprofile-libdecnumber)
21499 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
21500 clean-stageprofile: clean-stageprofile-libdecnumber
21501 clean-stageprofile-libdecnumber:
21502 @if [ $(current_stage) = stageprofile ]; then \
21503 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21504 else \
21505 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
21506 $(MAKE) stageprofile-start; \
21507 fi; \
21508 cd $(HOST_SUBDIR)/libdecnumber && \
21509 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21510 @endif libdecnumber-bootstrap
21513 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
21514 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
21515 maybe-all-stagefeedback-libdecnumber:
21516 maybe-clean-stagefeedback-libdecnumber:
21517 @if libdecnumber-bootstrap
21518 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
21519 all-stagefeedback: all-stagefeedback-libdecnumber
21520 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
21521 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
21522 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21523 @r=`${PWD_COMMAND}`; export r; \
21524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21525 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21526 $(HOST_EXPORTS) \
21527 $(POSTSTAGE1_HOST_EXPORTS) \
21528 cd $(HOST_SUBDIR)/libdecnumber && \
21529 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21530 CFLAGS="$(STAGEfeedback_CFLAGS)" \
21531 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
21532 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
21533 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21534 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21535 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21536 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21537 TFLAGS="$(STAGEfeedback_TFLAGS)" \
21538 $(TARGET-stagefeedback-libdecnumber)
21540 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
21541 clean-stagefeedback: clean-stagefeedback-libdecnumber
21542 clean-stagefeedback-libdecnumber:
21543 @if [ $(current_stage) = stagefeedback ]; then \
21544 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21545 else \
21546 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
21547 $(MAKE) stagefeedback-start; \
21548 fi; \
21549 cd $(HOST_SUBDIR)/libdecnumber && \
21550 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21551 @endif libdecnumber-bootstrap
21557 .PHONY: check-libdecnumber maybe-check-libdecnumber
21558 maybe-check-libdecnumber:
21559 @if libdecnumber
21560 maybe-check-libdecnumber: check-libdecnumber
21562 check-libdecnumber:
21563 @: $(MAKE); $(unstage)
21564 @r=`${PWD_COMMAND}`; export r; \
21565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21566 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
21567 (cd $(HOST_SUBDIR)/libdecnumber && \
21568 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
21570 @endif libdecnumber
21572 .PHONY: install-libdecnumber maybe-install-libdecnumber
21573 maybe-install-libdecnumber:
21574 @if libdecnumber
21575 maybe-install-libdecnumber: install-libdecnumber
21577 install-libdecnumber: installdirs
21578 @: $(MAKE); $(unstage)
21579 @r=`${PWD_COMMAND}`; export r; \
21580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21581 $(HOST_EXPORTS) \
21582 (cd $(HOST_SUBDIR)/libdecnumber && \
21583 $(MAKE) $(FLAGS_TO_PASS) install)
21585 @endif libdecnumber
21587 .PHONY: install-strip-libdecnumber maybe-install-strip-libdecnumber
21588 maybe-install-strip-libdecnumber:
21589 @if libdecnumber
21590 maybe-install-strip-libdecnumber: install-strip-libdecnumber
21592 install-strip-libdecnumber: installdirs
21593 @: $(MAKE); $(unstage)
21594 @r=`${PWD_COMMAND}`; export r; \
21595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21596 $(HOST_EXPORTS) \
21597 (cd $(HOST_SUBDIR)/libdecnumber && \
21598 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21600 @endif libdecnumber
21602 # Other targets (info, dvi, pdf, etc.)
21604 .PHONY: maybe-info-libdecnumber info-libdecnumber
21605 maybe-info-libdecnumber:
21606 @if libdecnumber
21607 maybe-info-libdecnumber: info-libdecnumber
21609 info-libdecnumber: \
21610 configure-libdecnumber
21611 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21612 r=`${PWD_COMMAND}`; export r; \
21613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21614 $(HOST_EXPORTS) \
21615 for flag in $(EXTRA_HOST_FLAGS) ; do \
21616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21617 done; \
21618 echo "Doing info in libdecnumber"; \
21619 (cd $(HOST_SUBDIR)/libdecnumber && \
21620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21622 "RANLIB=$${RANLIB}" \
21623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21624 info) \
21625 || exit 1
21627 @endif libdecnumber
21629 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
21630 maybe-dvi-libdecnumber:
21631 @if libdecnumber
21632 maybe-dvi-libdecnumber: dvi-libdecnumber
21634 dvi-libdecnumber: \
21635 configure-libdecnumber
21636 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21637 r=`${PWD_COMMAND}`; export r; \
21638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21639 $(HOST_EXPORTS) \
21640 for flag in $(EXTRA_HOST_FLAGS) ; do \
21641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21642 done; \
21643 echo "Doing dvi in libdecnumber"; \
21644 (cd $(HOST_SUBDIR)/libdecnumber && \
21645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21647 "RANLIB=$${RANLIB}" \
21648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21649 dvi) \
21650 || exit 1
21652 @endif libdecnumber
21654 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
21655 maybe-pdf-libdecnumber:
21656 @if libdecnumber
21657 maybe-pdf-libdecnumber: pdf-libdecnumber
21659 pdf-libdecnumber: \
21660 configure-libdecnumber
21661 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21662 r=`${PWD_COMMAND}`; export r; \
21663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21664 $(HOST_EXPORTS) \
21665 for flag in $(EXTRA_HOST_FLAGS) ; do \
21666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21667 done; \
21668 echo "Doing pdf in libdecnumber"; \
21669 (cd $(HOST_SUBDIR)/libdecnumber && \
21670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21672 "RANLIB=$${RANLIB}" \
21673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21674 pdf) \
21675 || exit 1
21677 @endif libdecnumber
21679 .PHONY: maybe-html-libdecnumber html-libdecnumber
21680 maybe-html-libdecnumber:
21681 @if libdecnumber
21682 maybe-html-libdecnumber: html-libdecnumber
21684 html-libdecnumber: \
21685 configure-libdecnumber
21686 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21687 r=`${PWD_COMMAND}`; export r; \
21688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21689 $(HOST_EXPORTS) \
21690 for flag in $(EXTRA_HOST_FLAGS) ; do \
21691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21692 done; \
21693 echo "Doing html in libdecnumber"; \
21694 (cd $(HOST_SUBDIR)/libdecnumber && \
21695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21697 "RANLIB=$${RANLIB}" \
21698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21699 html) \
21700 || exit 1
21702 @endif libdecnumber
21704 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
21705 maybe-TAGS-libdecnumber:
21706 @if libdecnumber
21707 maybe-TAGS-libdecnumber: TAGS-libdecnumber
21709 TAGS-libdecnumber: \
21710 configure-libdecnumber
21711 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21712 r=`${PWD_COMMAND}`; export r; \
21713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21714 $(HOST_EXPORTS) \
21715 for flag in $(EXTRA_HOST_FLAGS) ; do \
21716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21717 done; \
21718 echo "Doing TAGS in libdecnumber"; \
21719 (cd $(HOST_SUBDIR)/libdecnumber && \
21720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21722 "RANLIB=$${RANLIB}" \
21723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21724 TAGS) \
21725 || exit 1
21727 @endif libdecnumber
21729 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
21730 maybe-install-info-libdecnumber:
21731 @if libdecnumber
21732 maybe-install-info-libdecnumber: install-info-libdecnumber
21734 install-info-libdecnumber: \
21735 configure-libdecnumber \
21736 info-libdecnumber
21737 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21738 r=`${PWD_COMMAND}`; export r; \
21739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21740 $(HOST_EXPORTS) \
21741 for flag in $(EXTRA_HOST_FLAGS) ; do \
21742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21743 done; \
21744 echo "Doing install-info in libdecnumber"; \
21745 (cd $(HOST_SUBDIR)/libdecnumber && \
21746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21748 "RANLIB=$${RANLIB}" \
21749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21750 install-info) \
21751 || exit 1
21753 @endif libdecnumber
21755 .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
21756 maybe-install-pdf-libdecnumber:
21757 @if libdecnumber
21758 maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
21760 install-pdf-libdecnumber: \
21761 configure-libdecnumber \
21762 pdf-libdecnumber
21763 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21764 r=`${PWD_COMMAND}`; export r; \
21765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21766 $(HOST_EXPORTS) \
21767 for flag in $(EXTRA_HOST_FLAGS) ; do \
21768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21769 done; \
21770 echo "Doing install-pdf in libdecnumber"; \
21771 (cd $(HOST_SUBDIR)/libdecnumber && \
21772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21774 "RANLIB=$${RANLIB}" \
21775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21776 install-pdf) \
21777 || exit 1
21779 @endif libdecnumber
21781 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
21782 maybe-install-html-libdecnumber:
21783 @if libdecnumber
21784 maybe-install-html-libdecnumber: install-html-libdecnumber
21786 install-html-libdecnumber: \
21787 configure-libdecnumber \
21788 html-libdecnumber
21789 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21790 r=`${PWD_COMMAND}`; export r; \
21791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21792 $(HOST_EXPORTS) \
21793 for flag in $(EXTRA_HOST_FLAGS) ; do \
21794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21795 done; \
21796 echo "Doing install-html in libdecnumber"; \
21797 (cd $(HOST_SUBDIR)/libdecnumber && \
21798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21800 "RANLIB=$${RANLIB}" \
21801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21802 install-html) \
21803 || exit 1
21805 @endif libdecnumber
21807 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
21808 maybe-installcheck-libdecnumber:
21809 @if libdecnumber
21810 maybe-installcheck-libdecnumber: installcheck-libdecnumber
21812 installcheck-libdecnumber: \
21813 configure-libdecnumber
21814 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21815 r=`${PWD_COMMAND}`; export r; \
21816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21817 $(HOST_EXPORTS) \
21818 for flag in $(EXTRA_HOST_FLAGS) ; do \
21819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21820 done; \
21821 echo "Doing installcheck in libdecnumber"; \
21822 (cd $(HOST_SUBDIR)/libdecnumber && \
21823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21825 "RANLIB=$${RANLIB}" \
21826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21827 installcheck) \
21828 || exit 1
21830 @endif libdecnumber
21832 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
21833 maybe-mostlyclean-libdecnumber:
21834 @if libdecnumber
21835 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
21837 mostlyclean-libdecnumber:
21838 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21839 r=`${PWD_COMMAND}`; export r; \
21840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21841 $(HOST_EXPORTS) \
21842 for flag in $(EXTRA_HOST_FLAGS) ; do \
21843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21844 done; \
21845 echo "Doing mostlyclean in libdecnumber"; \
21846 (cd $(HOST_SUBDIR)/libdecnumber && \
21847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21849 "RANLIB=$${RANLIB}" \
21850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21851 mostlyclean) \
21852 || exit 1
21854 @endif libdecnumber
21856 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
21857 maybe-clean-libdecnumber:
21858 @if libdecnumber
21859 maybe-clean-libdecnumber: clean-libdecnumber
21861 clean-libdecnumber:
21862 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21863 r=`${PWD_COMMAND}`; export r; \
21864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21865 $(HOST_EXPORTS) \
21866 for flag in $(EXTRA_HOST_FLAGS) ; do \
21867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21868 done; \
21869 echo "Doing clean in libdecnumber"; \
21870 (cd $(HOST_SUBDIR)/libdecnumber && \
21871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21873 "RANLIB=$${RANLIB}" \
21874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21875 clean) \
21876 || exit 1
21878 @endif libdecnumber
21880 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
21881 maybe-distclean-libdecnumber:
21882 @if libdecnumber
21883 maybe-distclean-libdecnumber: distclean-libdecnumber
21885 distclean-libdecnumber:
21886 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21887 r=`${PWD_COMMAND}`; export r; \
21888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21889 $(HOST_EXPORTS) \
21890 for flag in $(EXTRA_HOST_FLAGS) ; do \
21891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21892 done; \
21893 echo "Doing distclean in libdecnumber"; \
21894 (cd $(HOST_SUBDIR)/libdecnumber && \
21895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21897 "RANLIB=$${RANLIB}" \
21898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21899 distclean) \
21900 || exit 1
21902 @endif libdecnumber
21904 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
21905 maybe-maintainer-clean-libdecnumber:
21906 @if libdecnumber
21907 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
21909 maintainer-clean-libdecnumber:
21910 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21911 r=`${PWD_COMMAND}`; export r; \
21912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21913 $(HOST_EXPORTS) \
21914 for flag in $(EXTRA_HOST_FLAGS) ; do \
21915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21916 done; \
21917 echo "Doing maintainer-clean in libdecnumber"; \
21918 (cd $(HOST_SUBDIR)/libdecnumber && \
21919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21921 "RANLIB=$${RANLIB}" \
21922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21923 maintainer-clean) \
21924 || exit 1
21926 @endif libdecnumber
21930 .PHONY: configure-libgui maybe-configure-libgui
21931 maybe-configure-libgui:
21932 @if gcc-bootstrap
21933 configure-libgui: stage_current
21934 @endif gcc-bootstrap
21935 @if libgui
21936 maybe-configure-libgui: configure-libgui
21937 configure-libgui:
21938 @: $(MAKE); $(unstage)
21939 @r=`${PWD_COMMAND}`; export r; \
21940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21941 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
21942 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui; \
21943 $(HOST_EXPORTS) \
21944 echo Configuring in $(HOST_SUBDIR)/libgui; \
21945 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
21946 case $(srcdir) in \
21947 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21948 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
21949 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21950 esac; \
21951 module_srcdir=libgui; \
21952 $(SHELL) \
21953 $$s/$$module_srcdir/configure \
21954 --srcdir=$${topdir}/$$module_srcdir \
21955 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21956 --target=${target_alias} \
21957 || exit 1
21958 @endif libgui
21964 .PHONY: all-libgui maybe-all-libgui
21965 maybe-all-libgui:
21966 @if gcc-bootstrap
21967 all-libgui: stage_current
21968 @endif gcc-bootstrap
21969 @if libgui
21970 TARGET-libgui=all
21971 maybe-all-libgui: all-libgui
21972 all-libgui: configure-libgui
21973 @: $(MAKE); $(unstage)
21974 @r=`${PWD_COMMAND}`; export r; \
21975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21976 $(HOST_EXPORTS) \
21977 (cd $(HOST_SUBDIR)/libgui && \
21978 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
21979 $(TARGET-libgui))
21980 @endif libgui
21985 .PHONY: check-libgui maybe-check-libgui
21986 maybe-check-libgui:
21987 @if libgui
21988 maybe-check-libgui: check-libgui
21990 check-libgui:
21991 @: $(MAKE); $(unstage)
21992 @r=`${PWD_COMMAND}`; export r; \
21993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21994 $(HOST_EXPORTS) \
21995 (cd $(HOST_SUBDIR)/libgui && \
21996 $(MAKE) $(FLAGS_TO_PASS) check)
21998 @endif libgui
22000 .PHONY: install-libgui maybe-install-libgui
22001 maybe-install-libgui:
22002 @if libgui
22003 maybe-install-libgui: install-libgui
22005 install-libgui: installdirs
22006 @: $(MAKE); $(unstage)
22007 @r=`${PWD_COMMAND}`; export r; \
22008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22009 $(HOST_EXPORTS) \
22010 (cd $(HOST_SUBDIR)/libgui && \
22011 $(MAKE) $(FLAGS_TO_PASS) install)
22013 @endif libgui
22015 .PHONY: install-strip-libgui maybe-install-strip-libgui
22016 maybe-install-strip-libgui:
22017 @if libgui
22018 maybe-install-strip-libgui: install-strip-libgui
22020 install-strip-libgui: installdirs
22021 @: $(MAKE); $(unstage)
22022 @r=`${PWD_COMMAND}`; export r; \
22023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22024 $(HOST_EXPORTS) \
22025 (cd $(HOST_SUBDIR)/libgui && \
22026 $(MAKE) $(FLAGS_TO_PASS) install-strip)
22028 @endif libgui
22030 # Other targets (info, dvi, pdf, etc.)
22032 .PHONY: maybe-info-libgui info-libgui
22033 maybe-info-libgui:
22034 @if libgui
22035 maybe-info-libgui: info-libgui
22037 info-libgui: \
22038 configure-libgui
22039 @: $(MAKE); $(unstage)
22040 @[ -f ./libgui/Makefile ] || exit 0; \
22041 r=`${PWD_COMMAND}`; export r; \
22042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22043 $(HOST_EXPORTS) \
22044 for flag in $(EXTRA_HOST_FLAGS) ; do \
22045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22046 done; \
22047 echo "Doing info in libgui"; \
22048 (cd $(HOST_SUBDIR)/libgui && \
22049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22051 "RANLIB=$${RANLIB}" \
22052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22053 info) \
22054 || exit 1
22056 @endif libgui
22058 .PHONY: maybe-dvi-libgui dvi-libgui
22059 maybe-dvi-libgui:
22060 @if libgui
22061 maybe-dvi-libgui: dvi-libgui
22063 dvi-libgui: \
22064 configure-libgui
22065 @: $(MAKE); $(unstage)
22066 @[ -f ./libgui/Makefile ] || exit 0; \
22067 r=`${PWD_COMMAND}`; export r; \
22068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22069 $(HOST_EXPORTS) \
22070 for flag in $(EXTRA_HOST_FLAGS) ; do \
22071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22072 done; \
22073 echo "Doing dvi in libgui"; \
22074 (cd $(HOST_SUBDIR)/libgui && \
22075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22077 "RANLIB=$${RANLIB}" \
22078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22079 dvi) \
22080 || exit 1
22082 @endif libgui
22084 .PHONY: maybe-pdf-libgui pdf-libgui
22085 maybe-pdf-libgui:
22086 @if libgui
22087 maybe-pdf-libgui: pdf-libgui
22089 pdf-libgui: \
22090 configure-libgui
22091 @: $(MAKE); $(unstage)
22092 @[ -f ./libgui/Makefile ] || exit 0; \
22093 r=`${PWD_COMMAND}`; export r; \
22094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22095 $(HOST_EXPORTS) \
22096 for flag in $(EXTRA_HOST_FLAGS) ; do \
22097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22098 done; \
22099 echo "Doing pdf in libgui"; \
22100 (cd $(HOST_SUBDIR)/libgui && \
22101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22103 "RANLIB=$${RANLIB}" \
22104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22105 pdf) \
22106 || exit 1
22108 @endif libgui
22110 .PHONY: maybe-html-libgui html-libgui
22111 maybe-html-libgui:
22112 @if libgui
22113 maybe-html-libgui: html-libgui
22115 html-libgui: \
22116 configure-libgui
22117 @: $(MAKE); $(unstage)
22118 @[ -f ./libgui/Makefile ] || exit 0; \
22119 r=`${PWD_COMMAND}`; export r; \
22120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22121 $(HOST_EXPORTS) \
22122 for flag in $(EXTRA_HOST_FLAGS) ; do \
22123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22124 done; \
22125 echo "Doing html in libgui"; \
22126 (cd $(HOST_SUBDIR)/libgui && \
22127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22129 "RANLIB=$${RANLIB}" \
22130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22131 html) \
22132 || exit 1
22134 @endif libgui
22136 .PHONY: maybe-TAGS-libgui TAGS-libgui
22137 maybe-TAGS-libgui:
22138 @if libgui
22139 maybe-TAGS-libgui: TAGS-libgui
22141 TAGS-libgui: \
22142 configure-libgui
22143 @: $(MAKE); $(unstage)
22144 @[ -f ./libgui/Makefile ] || exit 0; \
22145 r=`${PWD_COMMAND}`; export r; \
22146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22147 $(HOST_EXPORTS) \
22148 for flag in $(EXTRA_HOST_FLAGS) ; do \
22149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22150 done; \
22151 echo "Doing TAGS in libgui"; \
22152 (cd $(HOST_SUBDIR)/libgui && \
22153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22155 "RANLIB=$${RANLIB}" \
22156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22157 TAGS) \
22158 || exit 1
22160 @endif libgui
22162 .PHONY: maybe-install-info-libgui install-info-libgui
22163 maybe-install-info-libgui:
22164 @if libgui
22165 maybe-install-info-libgui: install-info-libgui
22167 install-info-libgui: \
22168 configure-libgui \
22169 info-libgui
22170 @: $(MAKE); $(unstage)
22171 @[ -f ./libgui/Makefile ] || exit 0; \
22172 r=`${PWD_COMMAND}`; export r; \
22173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22174 $(HOST_EXPORTS) \
22175 for flag in $(EXTRA_HOST_FLAGS) ; do \
22176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22177 done; \
22178 echo "Doing install-info in libgui"; \
22179 (cd $(HOST_SUBDIR)/libgui && \
22180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22182 "RANLIB=$${RANLIB}" \
22183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22184 install-info) \
22185 || exit 1
22187 @endif libgui
22189 .PHONY: maybe-install-pdf-libgui install-pdf-libgui
22190 maybe-install-pdf-libgui:
22191 @if libgui
22192 maybe-install-pdf-libgui: install-pdf-libgui
22194 install-pdf-libgui: \
22195 configure-libgui \
22196 pdf-libgui
22197 @: $(MAKE); $(unstage)
22198 @[ -f ./libgui/Makefile ] || exit 0; \
22199 r=`${PWD_COMMAND}`; export r; \
22200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22201 $(HOST_EXPORTS) \
22202 for flag in $(EXTRA_HOST_FLAGS) ; do \
22203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22204 done; \
22205 echo "Doing install-pdf in libgui"; \
22206 (cd $(HOST_SUBDIR)/libgui && \
22207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22209 "RANLIB=$${RANLIB}" \
22210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22211 install-pdf) \
22212 || exit 1
22214 @endif libgui
22216 .PHONY: maybe-install-html-libgui install-html-libgui
22217 maybe-install-html-libgui:
22218 @if libgui
22219 maybe-install-html-libgui: install-html-libgui
22221 install-html-libgui: \
22222 configure-libgui \
22223 html-libgui
22224 @: $(MAKE); $(unstage)
22225 @[ -f ./libgui/Makefile ] || exit 0; \
22226 r=`${PWD_COMMAND}`; export r; \
22227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22228 $(HOST_EXPORTS) \
22229 for flag in $(EXTRA_HOST_FLAGS) ; do \
22230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22231 done; \
22232 echo "Doing install-html in libgui"; \
22233 (cd $(HOST_SUBDIR)/libgui && \
22234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22236 "RANLIB=$${RANLIB}" \
22237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22238 install-html) \
22239 || exit 1
22241 @endif libgui
22243 .PHONY: maybe-installcheck-libgui installcheck-libgui
22244 maybe-installcheck-libgui:
22245 @if libgui
22246 maybe-installcheck-libgui: installcheck-libgui
22248 installcheck-libgui: \
22249 configure-libgui
22250 @: $(MAKE); $(unstage)
22251 @[ -f ./libgui/Makefile ] || exit 0; \
22252 r=`${PWD_COMMAND}`; export r; \
22253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22254 $(HOST_EXPORTS) \
22255 for flag in $(EXTRA_HOST_FLAGS) ; do \
22256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22257 done; \
22258 echo "Doing installcheck in libgui"; \
22259 (cd $(HOST_SUBDIR)/libgui && \
22260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22262 "RANLIB=$${RANLIB}" \
22263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22264 installcheck) \
22265 || exit 1
22267 @endif libgui
22269 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
22270 maybe-mostlyclean-libgui:
22271 @if libgui
22272 maybe-mostlyclean-libgui: mostlyclean-libgui
22274 mostlyclean-libgui:
22275 @: $(MAKE); $(unstage)
22276 @[ -f ./libgui/Makefile ] || exit 0; \
22277 r=`${PWD_COMMAND}`; export r; \
22278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22279 $(HOST_EXPORTS) \
22280 for flag in $(EXTRA_HOST_FLAGS) ; do \
22281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22282 done; \
22283 echo "Doing mostlyclean in libgui"; \
22284 (cd $(HOST_SUBDIR)/libgui && \
22285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22287 "RANLIB=$${RANLIB}" \
22288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22289 mostlyclean) \
22290 || exit 1
22292 @endif libgui
22294 .PHONY: maybe-clean-libgui clean-libgui
22295 maybe-clean-libgui:
22296 @if libgui
22297 maybe-clean-libgui: clean-libgui
22299 clean-libgui:
22300 @: $(MAKE); $(unstage)
22301 @[ -f ./libgui/Makefile ] || exit 0; \
22302 r=`${PWD_COMMAND}`; export r; \
22303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22304 $(HOST_EXPORTS) \
22305 for flag in $(EXTRA_HOST_FLAGS) ; do \
22306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22307 done; \
22308 echo "Doing clean in libgui"; \
22309 (cd $(HOST_SUBDIR)/libgui && \
22310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22312 "RANLIB=$${RANLIB}" \
22313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22314 clean) \
22315 || exit 1
22317 @endif libgui
22319 .PHONY: maybe-distclean-libgui distclean-libgui
22320 maybe-distclean-libgui:
22321 @if libgui
22322 maybe-distclean-libgui: distclean-libgui
22324 distclean-libgui:
22325 @: $(MAKE); $(unstage)
22326 @[ -f ./libgui/Makefile ] || exit 0; \
22327 r=`${PWD_COMMAND}`; export r; \
22328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22329 $(HOST_EXPORTS) \
22330 for flag in $(EXTRA_HOST_FLAGS) ; do \
22331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22332 done; \
22333 echo "Doing distclean in libgui"; \
22334 (cd $(HOST_SUBDIR)/libgui && \
22335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22337 "RANLIB=$${RANLIB}" \
22338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22339 distclean) \
22340 || exit 1
22342 @endif libgui
22344 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
22345 maybe-maintainer-clean-libgui:
22346 @if libgui
22347 maybe-maintainer-clean-libgui: maintainer-clean-libgui
22349 maintainer-clean-libgui:
22350 @: $(MAKE); $(unstage)
22351 @[ -f ./libgui/Makefile ] || exit 0; \
22352 r=`${PWD_COMMAND}`; export r; \
22353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22354 $(HOST_EXPORTS) \
22355 for flag in $(EXTRA_HOST_FLAGS) ; do \
22356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22357 done; \
22358 echo "Doing maintainer-clean in libgui"; \
22359 (cd $(HOST_SUBDIR)/libgui && \
22360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22362 "RANLIB=$${RANLIB}" \
22363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22364 maintainer-clean) \
22365 || exit 1
22367 @endif libgui
22371 .PHONY: configure-libiberty maybe-configure-libiberty
22372 maybe-configure-libiberty:
22373 @if gcc-bootstrap
22374 configure-libiberty: stage_current
22375 @endif gcc-bootstrap
22376 @if libiberty
22377 maybe-configure-libiberty: configure-libiberty
22378 configure-libiberty:
22379 @r=`${PWD_COMMAND}`; export r; \
22380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22381 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22382 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
22383 $(HOST_EXPORTS) \
22384 echo Configuring in $(HOST_SUBDIR)/libiberty; \
22385 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
22386 case $(srcdir) in \
22387 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22388 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22389 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22390 esac; \
22391 module_srcdir=libiberty; \
22392 $(SHELL) \
22393 $$s/$$module_srcdir/configure \
22394 --srcdir=$${topdir}/$$module_srcdir \
22395 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22396 --target=${target_alias} @extra_host_libiberty_configure_flags@ \
22397 || exit 1
22398 @endif libiberty
22402 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
22403 maybe-configure-stage1-libiberty:
22404 @if libiberty-bootstrap
22405 maybe-configure-stage1-libiberty: configure-stage1-libiberty
22406 configure-stage1-libiberty:
22407 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22408 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22409 @r=`${PWD_COMMAND}`; export r; \
22410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22411 TFLAGS="$(STAGE1_TFLAGS)"; \
22412 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22413 $(HOST_EXPORTS) \
22414 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
22415 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
22416 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
22417 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty; \
22418 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
22419 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22420 case $(srcdir) in \
22421 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22422 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22423 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22424 esac; \
22425 module_srcdir=libiberty; \
22426 $(SHELL) $$s/$$module_srcdir/configure \
22427 --srcdir=$${topdir}/$$module_srcdir \
22428 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22429 --target=${target_alias} \
22431 $(STAGE1_CONFIGURE_FLAGS) \
22432 @extra_host_libiberty_configure_flags@
22433 @endif libiberty-bootstrap
22435 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
22436 maybe-configure-stage2-libiberty:
22437 @if libiberty-bootstrap
22438 maybe-configure-stage2-libiberty: configure-stage2-libiberty
22439 configure-stage2-libiberty:
22440 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22441 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22442 @r=`${PWD_COMMAND}`; export r; \
22443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22444 TFLAGS="$(STAGE2_TFLAGS)"; \
22445 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22446 $(HOST_EXPORTS) \
22447 $(POSTSTAGE1_HOST_EXPORTS) \
22448 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
22449 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
22450 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
22451 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty; \
22452 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
22453 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22454 case $(srcdir) in \
22455 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22456 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22457 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22458 esac; \
22459 module_srcdir=libiberty; \
22460 $(SHELL) $$s/$$module_srcdir/configure \
22461 --srcdir=$${topdir}/$$module_srcdir \
22462 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22463 --target=${target_alias} \
22464 --with-build-libsubdir=$(HOST_SUBDIR) \
22465 $(STAGE2_CONFIGURE_FLAGS) \
22466 @extra_host_libiberty_configure_flags@
22467 @endif libiberty-bootstrap
22469 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
22470 maybe-configure-stage3-libiberty:
22471 @if libiberty-bootstrap
22472 maybe-configure-stage3-libiberty: configure-stage3-libiberty
22473 configure-stage3-libiberty:
22474 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22475 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22476 @r=`${PWD_COMMAND}`; export r; \
22477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22478 TFLAGS="$(STAGE3_TFLAGS)"; \
22479 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22480 $(HOST_EXPORTS) \
22481 $(POSTSTAGE1_HOST_EXPORTS) \
22482 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
22483 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
22484 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
22485 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty; \
22486 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
22487 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22488 case $(srcdir) in \
22489 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22490 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22491 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22492 esac; \
22493 module_srcdir=libiberty; \
22494 $(SHELL) $$s/$$module_srcdir/configure \
22495 --srcdir=$${topdir}/$$module_srcdir \
22496 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22497 --target=${target_alias} \
22498 --with-build-libsubdir=$(HOST_SUBDIR) \
22499 $(STAGE3_CONFIGURE_FLAGS) \
22500 @extra_host_libiberty_configure_flags@
22501 @endif libiberty-bootstrap
22503 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
22504 maybe-configure-stage4-libiberty:
22505 @if libiberty-bootstrap
22506 maybe-configure-stage4-libiberty: configure-stage4-libiberty
22507 configure-stage4-libiberty:
22508 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22509 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22510 @r=`${PWD_COMMAND}`; export r; \
22511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22512 TFLAGS="$(STAGE4_TFLAGS)"; \
22513 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22514 $(HOST_EXPORTS) \
22515 $(POSTSTAGE1_HOST_EXPORTS) \
22516 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
22517 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
22518 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
22519 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty; \
22520 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
22521 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22522 case $(srcdir) in \
22523 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22524 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22525 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22526 esac; \
22527 module_srcdir=libiberty; \
22528 $(SHELL) $$s/$$module_srcdir/configure \
22529 --srcdir=$${topdir}/$$module_srcdir \
22530 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22531 --target=${target_alias} \
22532 --with-build-libsubdir=$(HOST_SUBDIR) \
22533 $(STAGE4_CONFIGURE_FLAGS) \
22534 @extra_host_libiberty_configure_flags@
22535 @endif libiberty-bootstrap
22537 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
22538 maybe-configure-stageprofile-libiberty:
22539 @if libiberty-bootstrap
22540 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
22541 configure-stageprofile-libiberty:
22542 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22543 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22544 @r=`${PWD_COMMAND}`; export r; \
22545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22546 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22547 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22548 $(HOST_EXPORTS) \
22549 $(POSTSTAGE1_HOST_EXPORTS) \
22550 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
22551 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
22552 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
22553 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty; \
22554 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
22555 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22556 case $(srcdir) in \
22557 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22558 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22559 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22560 esac; \
22561 module_srcdir=libiberty; \
22562 $(SHELL) $$s/$$module_srcdir/configure \
22563 --srcdir=$${topdir}/$$module_srcdir \
22564 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22565 --target=${target_alias} \
22566 --with-build-libsubdir=$(HOST_SUBDIR) \
22567 $(STAGEprofile_CONFIGURE_FLAGS) \
22568 @extra_host_libiberty_configure_flags@
22569 @endif libiberty-bootstrap
22571 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
22572 maybe-configure-stagefeedback-libiberty:
22573 @if libiberty-bootstrap
22574 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
22575 configure-stagefeedback-libiberty:
22576 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22577 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22578 @r=`${PWD_COMMAND}`; export r; \
22579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22580 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22581 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22582 $(HOST_EXPORTS) \
22583 $(POSTSTAGE1_HOST_EXPORTS) \
22584 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
22585 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
22586 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
22587 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty; \
22588 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
22589 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22590 case $(srcdir) in \
22591 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22592 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22593 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22594 esac; \
22595 module_srcdir=libiberty; \
22596 $(SHELL) $$s/$$module_srcdir/configure \
22597 --srcdir=$${topdir}/$$module_srcdir \
22598 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22599 --target=${target_alias} \
22600 --with-build-libsubdir=$(HOST_SUBDIR) \
22601 $(STAGEfeedback_CONFIGURE_FLAGS) \
22602 @extra_host_libiberty_configure_flags@
22603 @endif libiberty-bootstrap
22609 .PHONY: all-libiberty maybe-all-libiberty
22610 maybe-all-libiberty:
22611 @if gcc-bootstrap
22612 all-libiberty: stage_current
22613 @endif gcc-bootstrap
22614 @if libiberty
22615 TARGET-libiberty=all
22616 maybe-all-libiberty: all-libiberty
22617 all-libiberty: configure-libiberty
22618 @r=`${PWD_COMMAND}`; export r; \
22619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22620 $(HOST_EXPORTS) \
22621 (cd $(HOST_SUBDIR)/libiberty && \
22622 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
22623 $(TARGET-libiberty))
22624 @endif libiberty
22628 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
22629 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
22630 maybe-all-stage1-libiberty:
22631 maybe-clean-stage1-libiberty:
22632 @if libiberty-bootstrap
22633 maybe-all-stage1-libiberty: all-stage1-libiberty
22634 all-stage1: all-stage1-libiberty
22635 TARGET-stage1-libiberty = $(TARGET-libiberty)
22636 all-stage1-libiberty: configure-stage1-libiberty
22637 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22638 @r=`${PWD_COMMAND}`; export r; \
22639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22640 TFLAGS="$(STAGE1_TFLAGS)"; \
22641 $(HOST_EXPORTS) \
22642 cd $(HOST_SUBDIR)/libiberty && \
22643 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22644 CFLAGS="$(STAGE1_CFLAGS)" \
22645 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
22646 LIBCFLAGS="$(LIBCFLAGS)" \
22647 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22648 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22649 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22650 $(EXTRA_HOST_FLAGS) \
22651 $(STAGE1_FLAGS_TO_PASS) \
22652 TFLAGS="$(STAGE1_TFLAGS)" \
22653 $(TARGET-stage1-libiberty)
22655 maybe-clean-stage1-libiberty: clean-stage1-libiberty
22656 clean-stage1: clean-stage1-libiberty
22657 clean-stage1-libiberty:
22658 @if [ $(current_stage) = stage1 ]; then \
22659 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22660 else \
22661 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
22662 $(MAKE) stage1-start; \
22663 fi; \
22664 cd $(HOST_SUBDIR)/libiberty && \
22665 $(MAKE) $(EXTRA_HOST_FLAGS) \
22666 $(STAGE1_FLAGS_TO_PASS) clean
22667 @endif libiberty-bootstrap
22670 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
22671 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
22672 maybe-all-stage2-libiberty:
22673 maybe-clean-stage2-libiberty:
22674 @if libiberty-bootstrap
22675 maybe-all-stage2-libiberty: all-stage2-libiberty
22676 all-stage2: all-stage2-libiberty
22677 TARGET-stage2-libiberty = $(TARGET-libiberty)
22678 all-stage2-libiberty: configure-stage2-libiberty
22679 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22680 @r=`${PWD_COMMAND}`; export r; \
22681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22682 TFLAGS="$(STAGE2_TFLAGS)"; \
22683 $(HOST_EXPORTS) \
22684 $(POSTSTAGE1_HOST_EXPORTS) \
22685 cd $(HOST_SUBDIR)/libiberty && \
22686 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22687 CFLAGS="$(STAGE2_CFLAGS)" \
22688 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
22689 LIBCFLAGS="$(STAGE2_CFLAGS)" \
22690 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22691 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22692 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22693 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22694 TFLAGS="$(STAGE2_TFLAGS)" \
22695 $(TARGET-stage2-libiberty)
22697 maybe-clean-stage2-libiberty: clean-stage2-libiberty
22698 clean-stage2: clean-stage2-libiberty
22699 clean-stage2-libiberty:
22700 @if [ $(current_stage) = stage2 ]; then \
22701 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22702 else \
22703 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
22704 $(MAKE) stage2-start; \
22705 fi; \
22706 cd $(HOST_SUBDIR)/libiberty && \
22707 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22708 @endif libiberty-bootstrap
22711 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
22712 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
22713 maybe-all-stage3-libiberty:
22714 maybe-clean-stage3-libiberty:
22715 @if libiberty-bootstrap
22716 maybe-all-stage3-libiberty: all-stage3-libiberty
22717 all-stage3: all-stage3-libiberty
22718 TARGET-stage3-libiberty = $(TARGET-libiberty)
22719 all-stage3-libiberty: configure-stage3-libiberty
22720 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22721 @r=`${PWD_COMMAND}`; export r; \
22722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22723 TFLAGS="$(STAGE3_TFLAGS)"; \
22724 $(HOST_EXPORTS) \
22725 $(POSTSTAGE1_HOST_EXPORTS) \
22726 cd $(HOST_SUBDIR)/libiberty && \
22727 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22728 CFLAGS="$(STAGE3_CFLAGS)" \
22729 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
22730 LIBCFLAGS="$(STAGE3_CFLAGS)" \
22731 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22732 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22733 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22734 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22735 TFLAGS="$(STAGE3_TFLAGS)" \
22736 $(TARGET-stage3-libiberty)
22738 maybe-clean-stage3-libiberty: clean-stage3-libiberty
22739 clean-stage3: clean-stage3-libiberty
22740 clean-stage3-libiberty:
22741 @if [ $(current_stage) = stage3 ]; then \
22742 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22743 else \
22744 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
22745 $(MAKE) stage3-start; \
22746 fi; \
22747 cd $(HOST_SUBDIR)/libiberty && \
22748 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22749 @endif libiberty-bootstrap
22752 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
22753 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
22754 maybe-all-stage4-libiberty:
22755 maybe-clean-stage4-libiberty:
22756 @if libiberty-bootstrap
22757 maybe-all-stage4-libiberty: all-stage4-libiberty
22758 all-stage4: all-stage4-libiberty
22759 TARGET-stage4-libiberty = $(TARGET-libiberty)
22760 all-stage4-libiberty: configure-stage4-libiberty
22761 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22762 @r=`${PWD_COMMAND}`; export r; \
22763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22764 TFLAGS="$(STAGE4_TFLAGS)"; \
22765 $(HOST_EXPORTS) \
22766 $(POSTSTAGE1_HOST_EXPORTS) \
22767 cd $(HOST_SUBDIR)/libiberty && \
22768 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22769 CFLAGS="$(STAGE4_CFLAGS)" \
22770 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
22771 LIBCFLAGS="$(STAGE4_CFLAGS)" \
22772 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22773 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22774 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22775 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22776 TFLAGS="$(STAGE4_TFLAGS)" \
22777 $(TARGET-stage4-libiberty)
22779 maybe-clean-stage4-libiberty: clean-stage4-libiberty
22780 clean-stage4: clean-stage4-libiberty
22781 clean-stage4-libiberty:
22782 @if [ $(current_stage) = stage4 ]; then \
22783 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22784 else \
22785 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
22786 $(MAKE) stage4-start; \
22787 fi; \
22788 cd $(HOST_SUBDIR)/libiberty && \
22789 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22790 @endif libiberty-bootstrap
22793 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
22794 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
22795 maybe-all-stageprofile-libiberty:
22796 maybe-clean-stageprofile-libiberty:
22797 @if libiberty-bootstrap
22798 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
22799 all-stageprofile: all-stageprofile-libiberty
22800 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
22801 all-stageprofile-libiberty: configure-stageprofile-libiberty
22802 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22803 @r=`${PWD_COMMAND}`; export r; \
22804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22805 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22806 $(HOST_EXPORTS) \
22807 $(POSTSTAGE1_HOST_EXPORTS) \
22808 cd $(HOST_SUBDIR)/libiberty && \
22809 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22810 CFLAGS="$(STAGEprofile_CFLAGS)" \
22811 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
22812 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
22813 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22814 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22815 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22816 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22817 TFLAGS="$(STAGEprofile_TFLAGS)" \
22818 $(TARGET-stageprofile-libiberty)
22820 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
22821 clean-stageprofile: clean-stageprofile-libiberty
22822 clean-stageprofile-libiberty:
22823 @if [ $(current_stage) = stageprofile ]; then \
22824 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22825 else \
22826 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
22827 $(MAKE) stageprofile-start; \
22828 fi; \
22829 cd $(HOST_SUBDIR)/libiberty && \
22830 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22831 @endif libiberty-bootstrap
22834 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
22835 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
22836 maybe-all-stagefeedback-libiberty:
22837 maybe-clean-stagefeedback-libiberty:
22838 @if libiberty-bootstrap
22839 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
22840 all-stagefeedback: all-stagefeedback-libiberty
22841 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
22842 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
22843 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22844 @r=`${PWD_COMMAND}`; export r; \
22845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22846 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22847 $(HOST_EXPORTS) \
22848 $(POSTSTAGE1_HOST_EXPORTS) \
22849 cd $(HOST_SUBDIR)/libiberty && \
22850 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22851 CFLAGS="$(STAGEfeedback_CFLAGS)" \
22852 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
22853 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
22854 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22855 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22856 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22857 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22858 TFLAGS="$(STAGEfeedback_TFLAGS)" \
22859 $(TARGET-stagefeedback-libiberty)
22861 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
22862 clean-stagefeedback: clean-stagefeedback-libiberty
22863 clean-stagefeedback-libiberty:
22864 @if [ $(current_stage) = stagefeedback ]; then \
22865 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22866 else \
22867 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
22868 $(MAKE) stagefeedback-start; \
22869 fi; \
22870 cd $(HOST_SUBDIR)/libiberty && \
22871 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22872 @endif libiberty-bootstrap
22878 .PHONY: check-libiberty maybe-check-libiberty
22879 maybe-check-libiberty:
22880 @if libiberty
22881 maybe-check-libiberty: check-libiberty
22883 check-libiberty:
22884 @: $(MAKE); $(unstage)
22885 @r=`${PWD_COMMAND}`; export r; \
22886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22887 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
22888 (cd $(HOST_SUBDIR)/libiberty && \
22889 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
22891 @endif libiberty
22893 .PHONY: install-libiberty maybe-install-libiberty
22894 maybe-install-libiberty:
22895 @if libiberty
22896 maybe-install-libiberty: install-libiberty
22898 install-libiberty: installdirs
22899 @: $(MAKE); $(unstage)
22900 @r=`${PWD_COMMAND}`; export r; \
22901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22902 $(HOST_EXPORTS) \
22903 (cd $(HOST_SUBDIR)/libiberty && \
22904 $(MAKE) $(FLAGS_TO_PASS) install)
22906 @endif libiberty
22908 .PHONY: install-strip-libiberty maybe-install-strip-libiberty
22909 maybe-install-strip-libiberty:
22910 @if libiberty
22911 maybe-install-strip-libiberty: install-strip-libiberty
22913 install-strip-libiberty: installdirs
22914 @: $(MAKE); $(unstage)
22915 @r=`${PWD_COMMAND}`; export r; \
22916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22917 $(HOST_EXPORTS) \
22918 (cd $(HOST_SUBDIR)/libiberty && \
22919 $(MAKE) $(FLAGS_TO_PASS) install-strip)
22921 @endif libiberty
22923 # Other targets (info, dvi, pdf, etc.)
22925 .PHONY: maybe-info-libiberty info-libiberty
22926 maybe-info-libiberty:
22927 @if libiberty
22928 maybe-info-libiberty: info-libiberty
22930 info-libiberty: \
22931 configure-libiberty
22932 @[ -f ./libiberty/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 info in libiberty"; \
22940 (cd $(HOST_SUBDIR)/libiberty && \
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 info) \
22946 || exit 1
22948 @endif libiberty
22950 .PHONY: maybe-dvi-libiberty dvi-libiberty
22951 maybe-dvi-libiberty:
22952 @if libiberty
22953 maybe-dvi-libiberty: dvi-libiberty
22955 dvi-libiberty: \
22956 configure-libiberty
22957 @[ -f ./libiberty/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 dvi in libiberty"; \
22965 (cd $(HOST_SUBDIR)/libiberty && \
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 dvi) \
22971 || exit 1
22973 @endif libiberty
22975 .PHONY: maybe-pdf-libiberty pdf-libiberty
22976 maybe-pdf-libiberty:
22977 @if libiberty
22978 maybe-pdf-libiberty: pdf-libiberty
22980 pdf-libiberty: \
22981 configure-libiberty
22982 @[ -f ./libiberty/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 pdf in libiberty"; \
22990 (cd $(HOST_SUBDIR)/libiberty && \
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 pdf) \
22996 || exit 1
22998 @endif libiberty
23000 .PHONY: maybe-html-libiberty html-libiberty
23001 maybe-html-libiberty:
23002 @if libiberty
23003 maybe-html-libiberty: html-libiberty
23005 html-libiberty: \
23006 configure-libiberty
23007 @[ -f ./libiberty/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 html in libiberty"; \
23015 (cd $(HOST_SUBDIR)/libiberty && \
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 html) \
23021 || exit 1
23023 @endif libiberty
23025 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
23026 maybe-TAGS-libiberty:
23027 @if libiberty
23028 maybe-TAGS-libiberty: TAGS-libiberty
23030 TAGS-libiberty: \
23031 configure-libiberty
23032 @[ -f ./libiberty/Makefile ] || exit 0; \
23033 r=`${PWD_COMMAND}`; export r; \
23034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23035 $(HOST_EXPORTS) \
23036 for flag in $(EXTRA_HOST_FLAGS) ; do \
23037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23038 done; \
23039 echo "Doing TAGS in libiberty"; \
23040 (cd $(HOST_SUBDIR)/libiberty && \
23041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23043 "RANLIB=$${RANLIB}" \
23044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23045 TAGS) \
23046 || exit 1
23048 @endif libiberty
23050 .PHONY: maybe-install-info-libiberty install-info-libiberty
23051 maybe-install-info-libiberty:
23052 @if libiberty
23053 maybe-install-info-libiberty: install-info-libiberty
23055 install-info-libiberty: \
23056 configure-libiberty \
23057 info-libiberty
23058 @[ -f ./libiberty/Makefile ] || exit 0; \
23059 r=`${PWD_COMMAND}`; export r; \
23060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23061 $(HOST_EXPORTS) \
23062 for flag in $(EXTRA_HOST_FLAGS) ; do \
23063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23064 done; \
23065 echo "Doing install-info in libiberty"; \
23066 (cd $(HOST_SUBDIR)/libiberty && \
23067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23069 "RANLIB=$${RANLIB}" \
23070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23071 install-info) \
23072 || exit 1
23074 @endif libiberty
23076 .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty
23077 maybe-install-pdf-libiberty:
23078 @if libiberty
23079 maybe-install-pdf-libiberty: install-pdf-libiberty
23081 install-pdf-libiberty: \
23082 configure-libiberty \
23083 pdf-libiberty
23084 @[ -f ./libiberty/Makefile ] || exit 0; \
23085 r=`${PWD_COMMAND}`; export r; \
23086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23087 $(HOST_EXPORTS) \
23088 for flag in $(EXTRA_HOST_FLAGS) ; do \
23089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23090 done; \
23091 echo "Doing install-pdf in libiberty"; \
23092 (cd $(HOST_SUBDIR)/libiberty && \
23093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23095 "RANLIB=$${RANLIB}" \
23096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23097 install-pdf) \
23098 || exit 1
23100 @endif libiberty
23102 .PHONY: maybe-install-html-libiberty install-html-libiberty
23103 maybe-install-html-libiberty:
23104 @if libiberty
23105 maybe-install-html-libiberty: install-html-libiberty
23107 install-html-libiberty: \
23108 configure-libiberty \
23109 html-libiberty
23110 @[ -f ./libiberty/Makefile ] || exit 0; \
23111 r=`${PWD_COMMAND}`; export r; \
23112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23113 $(HOST_EXPORTS) \
23114 for flag in $(EXTRA_HOST_FLAGS) ; do \
23115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23116 done; \
23117 echo "Doing install-html in libiberty"; \
23118 (cd $(HOST_SUBDIR)/libiberty && \
23119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23121 "RANLIB=$${RANLIB}" \
23122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23123 install-html) \
23124 || exit 1
23126 @endif libiberty
23128 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
23129 maybe-installcheck-libiberty:
23130 @if libiberty
23131 maybe-installcheck-libiberty: installcheck-libiberty
23133 installcheck-libiberty: \
23134 configure-libiberty
23135 @[ -f ./libiberty/Makefile ] || exit 0; \
23136 r=`${PWD_COMMAND}`; export r; \
23137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23138 $(HOST_EXPORTS) \
23139 for flag in $(EXTRA_HOST_FLAGS) ; do \
23140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23141 done; \
23142 echo "Doing installcheck in libiberty"; \
23143 (cd $(HOST_SUBDIR)/libiberty && \
23144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23146 "RANLIB=$${RANLIB}" \
23147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23148 installcheck) \
23149 || exit 1
23151 @endif libiberty
23153 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
23154 maybe-mostlyclean-libiberty:
23155 @if libiberty
23156 maybe-mostlyclean-libiberty: mostlyclean-libiberty
23158 mostlyclean-libiberty:
23159 @[ -f ./libiberty/Makefile ] || exit 0; \
23160 r=`${PWD_COMMAND}`; export r; \
23161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23162 $(HOST_EXPORTS) \
23163 for flag in $(EXTRA_HOST_FLAGS) ; do \
23164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23165 done; \
23166 echo "Doing mostlyclean in libiberty"; \
23167 (cd $(HOST_SUBDIR)/libiberty && \
23168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23170 "RANLIB=$${RANLIB}" \
23171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23172 mostlyclean) \
23173 || exit 1
23175 @endif libiberty
23177 .PHONY: maybe-clean-libiberty clean-libiberty
23178 maybe-clean-libiberty:
23179 @if libiberty
23180 maybe-clean-libiberty: clean-libiberty
23182 clean-libiberty:
23183 @[ -f ./libiberty/Makefile ] || exit 0; \
23184 r=`${PWD_COMMAND}`; export r; \
23185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23186 $(HOST_EXPORTS) \
23187 for flag in $(EXTRA_HOST_FLAGS) ; do \
23188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23189 done; \
23190 echo "Doing clean in libiberty"; \
23191 (cd $(HOST_SUBDIR)/libiberty && \
23192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23194 "RANLIB=$${RANLIB}" \
23195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23196 clean) \
23197 || exit 1
23199 @endif libiberty
23201 .PHONY: maybe-distclean-libiberty distclean-libiberty
23202 maybe-distclean-libiberty:
23203 @if libiberty
23204 maybe-distclean-libiberty: distclean-libiberty
23206 distclean-libiberty:
23207 @[ -f ./libiberty/Makefile ] || exit 0; \
23208 r=`${PWD_COMMAND}`; export r; \
23209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23210 $(HOST_EXPORTS) \
23211 for flag in $(EXTRA_HOST_FLAGS) ; do \
23212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23213 done; \
23214 echo "Doing distclean in libiberty"; \
23215 (cd $(HOST_SUBDIR)/libiberty && \
23216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23218 "RANLIB=$${RANLIB}" \
23219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23220 distclean) \
23221 || exit 1
23223 @endif libiberty
23225 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
23226 maybe-maintainer-clean-libiberty:
23227 @if libiberty
23228 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
23230 maintainer-clean-libiberty:
23231 @[ -f ./libiberty/Makefile ] || exit 0; \
23232 r=`${PWD_COMMAND}`; export r; \
23233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23234 $(HOST_EXPORTS) \
23235 for flag in $(EXTRA_HOST_FLAGS) ; do \
23236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23237 done; \
23238 echo "Doing maintainer-clean in libiberty"; \
23239 (cd $(HOST_SUBDIR)/libiberty && \
23240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23242 "RANLIB=$${RANLIB}" \
23243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23244 maintainer-clean) \
23245 || exit 1
23247 @endif libiberty
23251 .PHONY: configure-libiberty-linker-plugin maybe-configure-libiberty-linker-plugin
23252 maybe-configure-libiberty-linker-plugin:
23253 @if gcc-bootstrap
23254 configure-libiberty-linker-plugin: stage_current
23255 @endif gcc-bootstrap
23256 @if libiberty-linker-plugin
23257 maybe-configure-libiberty-linker-plugin: configure-libiberty-linker-plugin
23258 configure-libiberty-linker-plugin:
23259 @r=`${PWD_COMMAND}`; export r; \
23260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23261 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
23262 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
23263 $(HOST_EXPORTS) \
23264 echo Configuring in $(HOST_SUBDIR)/libiberty-linker-plugin; \
23265 cd "$(HOST_SUBDIR)/libiberty-linker-plugin" || exit 1; \
23266 case $(srcdir) in \
23267 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23268 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
23269 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23270 esac; \
23271 module_srcdir=libiberty; \
23272 $(SHELL) \
23273 $$s/$$module_srcdir/configure \
23274 --srcdir=$${topdir}/$$module_srcdir \
23275 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23276 --target=${target_alias} @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ \
23277 || exit 1
23278 @endif libiberty-linker-plugin
23282 .PHONY: configure-stage1-libiberty-linker-plugin maybe-configure-stage1-libiberty-linker-plugin
23283 maybe-configure-stage1-libiberty-linker-plugin:
23284 @if libiberty-linker-plugin-bootstrap
23285 maybe-configure-stage1-libiberty-linker-plugin: configure-stage1-libiberty-linker-plugin
23286 configure-stage1-libiberty-linker-plugin:
23287 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
23288 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
23289 @r=`${PWD_COMMAND}`; export r; \
23290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23291 TFLAGS="$(STAGE1_TFLAGS)"; \
23292 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
23293 $(HOST_EXPORTS) \
23294 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
23295 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
23296 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
23297 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
23298 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
23299 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
23300 case $(srcdir) in \
23301 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23302 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
23303 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23304 esac; \
23305 module_srcdir=libiberty; \
23306 $(SHELL) $$s/$$module_srcdir/configure \
23307 --srcdir=$${topdir}/$$module_srcdir \
23308 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23309 --target=${target_alias} \
23311 $(STAGE1_CONFIGURE_FLAGS) \
23312 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
23313 @endif libiberty-linker-plugin-bootstrap
23315 .PHONY: configure-stage2-libiberty-linker-plugin maybe-configure-stage2-libiberty-linker-plugin
23316 maybe-configure-stage2-libiberty-linker-plugin:
23317 @if libiberty-linker-plugin-bootstrap
23318 maybe-configure-stage2-libiberty-linker-plugin: configure-stage2-libiberty-linker-plugin
23319 configure-stage2-libiberty-linker-plugin:
23320 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23321 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
23322 @r=`${PWD_COMMAND}`; export r; \
23323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23324 TFLAGS="$(STAGE2_TFLAGS)"; \
23325 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
23326 $(HOST_EXPORTS) \
23327 $(POSTSTAGE1_HOST_EXPORTS) \
23328 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
23329 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
23330 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
23331 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
23332 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
23333 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
23334 case $(srcdir) in \
23335 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23336 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
23337 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23338 esac; \
23339 module_srcdir=libiberty; \
23340 $(SHELL) $$s/$$module_srcdir/configure \
23341 --srcdir=$${topdir}/$$module_srcdir \
23342 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23343 --target=${target_alias} \
23344 --with-build-libsubdir=$(HOST_SUBDIR) \
23345 $(STAGE2_CONFIGURE_FLAGS) \
23346 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
23347 @endif libiberty-linker-plugin-bootstrap
23349 .PHONY: configure-stage3-libiberty-linker-plugin maybe-configure-stage3-libiberty-linker-plugin
23350 maybe-configure-stage3-libiberty-linker-plugin:
23351 @if libiberty-linker-plugin-bootstrap
23352 maybe-configure-stage3-libiberty-linker-plugin: configure-stage3-libiberty-linker-plugin
23353 configure-stage3-libiberty-linker-plugin:
23354 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
23355 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
23356 @r=`${PWD_COMMAND}`; export r; \
23357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23358 TFLAGS="$(STAGE3_TFLAGS)"; \
23359 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
23360 $(HOST_EXPORTS) \
23361 $(POSTSTAGE1_HOST_EXPORTS) \
23362 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
23363 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
23364 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
23365 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
23366 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
23367 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
23368 case $(srcdir) in \
23369 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23370 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
23371 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23372 esac; \
23373 module_srcdir=libiberty; \
23374 $(SHELL) $$s/$$module_srcdir/configure \
23375 --srcdir=$${topdir}/$$module_srcdir \
23376 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23377 --target=${target_alias} \
23378 --with-build-libsubdir=$(HOST_SUBDIR) \
23379 $(STAGE3_CONFIGURE_FLAGS) \
23380 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
23381 @endif libiberty-linker-plugin-bootstrap
23383 .PHONY: configure-stage4-libiberty-linker-plugin maybe-configure-stage4-libiberty-linker-plugin
23384 maybe-configure-stage4-libiberty-linker-plugin:
23385 @if libiberty-linker-plugin-bootstrap
23386 maybe-configure-stage4-libiberty-linker-plugin: configure-stage4-libiberty-linker-plugin
23387 configure-stage4-libiberty-linker-plugin:
23388 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23389 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
23390 @r=`${PWD_COMMAND}`; export r; \
23391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23392 TFLAGS="$(STAGE4_TFLAGS)"; \
23393 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
23394 $(HOST_EXPORTS) \
23395 $(POSTSTAGE1_HOST_EXPORTS) \
23396 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
23397 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
23398 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
23399 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
23400 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
23401 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
23402 case $(srcdir) in \
23403 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23404 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
23405 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23406 esac; \
23407 module_srcdir=libiberty; \
23408 $(SHELL) $$s/$$module_srcdir/configure \
23409 --srcdir=$${topdir}/$$module_srcdir \
23410 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23411 --target=${target_alias} \
23412 --with-build-libsubdir=$(HOST_SUBDIR) \
23413 $(STAGE4_CONFIGURE_FLAGS) \
23414 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
23415 @endif libiberty-linker-plugin-bootstrap
23417 .PHONY: configure-stageprofile-libiberty-linker-plugin maybe-configure-stageprofile-libiberty-linker-plugin
23418 maybe-configure-stageprofile-libiberty-linker-plugin:
23419 @if libiberty-linker-plugin-bootstrap
23420 maybe-configure-stageprofile-libiberty-linker-plugin: configure-stageprofile-libiberty-linker-plugin
23421 configure-stageprofile-libiberty-linker-plugin:
23422 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23423 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
23424 @r=`${PWD_COMMAND}`; export r; \
23425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23426 TFLAGS="$(STAGEprofile_TFLAGS)"; \
23427 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
23428 $(HOST_EXPORTS) \
23429 $(POSTSTAGE1_HOST_EXPORTS) \
23430 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
23431 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
23432 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
23433 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty-linker-plugin; \
23434 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
23435 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
23436 case $(srcdir) in \
23437 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23438 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
23439 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23440 esac; \
23441 module_srcdir=libiberty; \
23442 $(SHELL) $$s/$$module_srcdir/configure \
23443 --srcdir=$${topdir}/$$module_srcdir \
23444 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23445 --target=${target_alias} \
23446 --with-build-libsubdir=$(HOST_SUBDIR) \
23447 $(STAGEprofile_CONFIGURE_FLAGS) \
23448 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
23449 @endif libiberty-linker-plugin-bootstrap
23451 .PHONY: configure-stagefeedback-libiberty-linker-plugin maybe-configure-stagefeedback-libiberty-linker-plugin
23452 maybe-configure-stagefeedback-libiberty-linker-plugin:
23453 @if libiberty-linker-plugin-bootstrap
23454 maybe-configure-stagefeedback-libiberty-linker-plugin: configure-stagefeedback-libiberty-linker-plugin
23455 configure-stagefeedback-libiberty-linker-plugin:
23456 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23457 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
23458 @r=`${PWD_COMMAND}`; export r; \
23459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23460 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23461 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
23462 $(HOST_EXPORTS) \
23463 $(POSTSTAGE1_HOST_EXPORTS) \
23464 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
23465 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
23466 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
23467 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty-linker-plugin; \
23468 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
23469 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
23470 case $(srcdir) in \
23471 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23472 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
23473 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23474 esac; \
23475 module_srcdir=libiberty; \
23476 $(SHELL) $$s/$$module_srcdir/configure \
23477 --srcdir=$${topdir}/$$module_srcdir \
23478 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23479 --target=${target_alias} \
23480 --with-build-libsubdir=$(HOST_SUBDIR) \
23481 $(STAGEfeedback_CONFIGURE_FLAGS) \
23482 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
23483 @endif libiberty-linker-plugin-bootstrap
23489 .PHONY: all-libiberty-linker-plugin maybe-all-libiberty-linker-plugin
23490 maybe-all-libiberty-linker-plugin:
23491 @if gcc-bootstrap
23492 all-libiberty-linker-plugin: stage_current
23493 @endif gcc-bootstrap
23494 @if libiberty-linker-plugin
23495 TARGET-libiberty-linker-plugin=all
23496 maybe-all-libiberty-linker-plugin: all-libiberty-linker-plugin
23497 all-libiberty-linker-plugin: configure-libiberty-linker-plugin
23498 @r=`${PWD_COMMAND}`; export r; \
23499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23500 $(HOST_EXPORTS) \
23501 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23502 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
23503 $(TARGET-libiberty-linker-plugin))
23504 @endif libiberty-linker-plugin
23508 .PHONY: all-stage1-libiberty-linker-plugin maybe-all-stage1-libiberty-linker-plugin
23509 .PHONY: clean-stage1-libiberty-linker-plugin maybe-clean-stage1-libiberty-linker-plugin
23510 maybe-all-stage1-libiberty-linker-plugin:
23511 maybe-clean-stage1-libiberty-linker-plugin:
23512 @if libiberty-linker-plugin-bootstrap
23513 maybe-all-stage1-libiberty-linker-plugin: all-stage1-libiberty-linker-plugin
23514 all-stage1: all-stage1-libiberty-linker-plugin
23515 TARGET-stage1-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
23516 all-stage1-libiberty-linker-plugin: configure-stage1-libiberty-linker-plugin
23517 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
23518 @r=`${PWD_COMMAND}`; export r; \
23519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23520 TFLAGS="$(STAGE1_TFLAGS)"; \
23521 $(HOST_EXPORTS) \
23522 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23523 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23524 CFLAGS="$(STAGE1_CFLAGS)" \
23525 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
23526 LIBCFLAGS="$(LIBCFLAGS)" \
23527 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23528 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23529 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23530 $(EXTRA_HOST_FLAGS) \
23531 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
23532 TFLAGS="$(STAGE1_TFLAGS)" \
23533 $(TARGET-stage1-libiberty-linker-plugin)
23535 maybe-clean-stage1-libiberty-linker-plugin: clean-stage1-libiberty-linker-plugin
23536 clean-stage1: clean-stage1-libiberty-linker-plugin
23537 clean-stage1-libiberty-linker-plugin:
23538 @if [ $(current_stage) = stage1 ]; then \
23539 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
23540 else \
23541 [ -f $(HOST_SUBDIR)/stage1-libiberty-linker-plugin/Makefile ] || exit 0; \
23542 $(MAKE) stage1-start; \
23543 fi; \
23544 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23545 $(MAKE) $(EXTRA_HOST_FLAGS) \
23546 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
23547 @endif libiberty-linker-plugin-bootstrap
23550 .PHONY: all-stage2-libiberty-linker-plugin maybe-all-stage2-libiberty-linker-plugin
23551 .PHONY: clean-stage2-libiberty-linker-plugin maybe-clean-stage2-libiberty-linker-plugin
23552 maybe-all-stage2-libiberty-linker-plugin:
23553 maybe-clean-stage2-libiberty-linker-plugin:
23554 @if libiberty-linker-plugin-bootstrap
23555 maybe-all-stage2-libiberty-linker-plugin: all-stage2-libiberty-linker-plugin
23556 all-stage2: all-stage2-libiberty-linker-plugin
23557 TARGET-stage2-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
23558 all-stage2-libiberty-linker-plugin: configure-stage2-libiberty-linker-plugin
23559 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23560 @r=`${PWD_COMMAND}`; export r; \
23561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23562 TFLAGS="$(STAGE2_TFLAGS)"; \
23563 $(HOST_EXPORTS) \
23564 $(POSTSTAGE1_HOST_EXPORTS) \
23565 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23566 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23567 CFLAGS="$(STAGE2_CFLAGS)" \
23568 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
23569 LIBCFLAGS="$(STAGE2_CFLAGS)" \
23570 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23571 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23572 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23573 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
23574 TFLAGS="$(STAGE2_TFLAGS)" \
23575 $(TARGET-stage2-libiberty-linker-plugin)
23577 maybe-clean-stage2-libiberty-linker-plugin: clean-stage2-libiberty-linker-plugin
23578 clean-stage2: clean-stage2-libiberty-linker-plugin
23579 clean-stage2-libiberty-linker-plugin:
23580 @if [ $(current_stage) = stage2 ]; then \
23581 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
23582 else \
23583 [ -f $(HOST_SUBDIR)/stage2-libiberty-linker-plugin/Makefile ] || exit 0; \
23584 $(MAKE) stage2-start; \
23585 fi; \
23586 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23587 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
23588 @endif libiberty-linker-plugin-bootstrap
23591 .PHONY: all-stage3-libiberty-linker-plugin maybe-all-stage3-libiberty-linker-plugin
23592 .PHONY: clean-stage3-libiberty-linker-plugin maybe-clean-stage3-libiberty-linker-plugin
23593 maybe-all-stage3-libiberty-linker-plugin:
23594 maybe-clean-stage3-libiberty-linker-plugin:
23595 @if libiberty-linker-plugin-bootstrap
23596 maybe-all-stage3-libiberty-linker-plugin: all-stage3-libiberty-linker-plugin
23597 all-stage3: all-stage3-libiberty-linker-plugin
23598 TARGET-stage3-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
23599 all-stage3-libiberty-linker-plugin: configure-stage3-libiberty-linker-plugin
23600 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
23601 @r=`${PWD_COMMAND}`; export r; \
23602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23603 TFLAGS="$(STAGE3_TFLAGS)"; \
23604 $(HOST_EXPORTS) \
23605 $(POSTSTAGE1_HOST_EXPORTS) \
23606 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23607 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23608 CFLAGS="$(STAGE3_CFLAGS)" \
23609 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
23610 LIBCFLAGS="$(STAGE3_CFLAGS)" \
23611 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23612 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23613 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23614 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
23615 TFLAGS="$(STAGE3_TFLAGS)" \
23616 $(TARGET-stage3-libiberty-linker-plugin)
23618 maybe-clean-stage3-libiberty-linker-plugin: clean-stage3-libiberty-linker-plugin
23619 clean-stage3: clean-stage3-libiberty-linker-plugin
23620 clean-stage3-libiberty-linker-plugin:
23621 @if [ $(current_stage) = stage3 ]; then \
23622 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
23623 else \
23624 [ -f $(HOST_SUBDIR)/stage3-libiberty-linker-plugin/Makefile ] || exit 0; \
23625 $(MAKE) stage3-start; \
23626 fi; \
23627 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23628 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
23629 @endif libiberty-linker-plugin-bootstrap
23632 .PHONY: all-stage4-libiberty-linker-plugin maybe-all-stage4-libiberty-linker-plugin
23633 .PHONY: clean-stage4-libiberty-linker-plugin maybe-clean-stage4-libiberty-linker-plugin
23634 maybe-all-stage4-libiberty-linker-plugin:
23635 maybe-clean-stage4-libiberty-linker-plugin:
23636 @if libiberty-linker-plugin-bootstrap
23637 maybe-all-stage4-libiberty-linker-plugin: all-stage4-libiberty-linker-plugin
23638 all-stage4: all-stage4-libiberty-linker-plugin
23639 TARGET-stage4-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
23640 all-stage4-libiberty-linker-plugin: configure-stage4-libiberty-linker-plugin
23641 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23642 @r=`${PWD_COMMAND}`; export r; \
23643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23644 TFLAGS="$(STAGE4_TFLAGS)"; \
23645 $(HOST_EXPORTS) \
23646 $(POSTSTAGE1_HOST_EXPORTS) \
23647 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23648 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23649 CFLAGS="$(STAGE4_CFLAGS)" \
23650 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
23651 LIBCFLAGS="$(STAGE4_CFLAGS)" \
23652 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23653 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23654 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23655 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
23656 TFLAGS="$(STAGE4_TFLAGS)" \
23657 $(TARGET-stage4-libiberty-linker-plugin)
23659 maybe-clean-stage4-libiberty-linker-plugin: clean-stage4-libiberty-linker-plugin
23660 clean-stage4: clean-stage4-libiberty-linker-plugin
23661 clean-stage4-libiberty-linker-plugin:
23662 @if [ $(current_stage) = stage4 ]; then \
23663 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
23664 else \
23665 [ -f $(HOST_SUBDIR)/stage4-libiberty-linker-plugin/Makefile ] || exit 0; \
23666 $(MAKE) stage4-start; \
23667 fi; \
23668 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23669 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
23670 @endif libiberty-linker-plugin-bootstrap
23673 .PHONY: all-stageprofile-libiberty-linker-plugin maybe-all-stageprofile-libiberty-linker-plugin
23674 .PHONY: clean-stageprofile-libiberty-linker-plugin maybe-clean-stageprofile-libiberty-linker-plugin
23675 maybe-all-stageprofile-libiberty-linker-plugin:
23676 maybe-clean-stageprofile-libiberty-linker-plugin:
23677 @if libiberty-linker-plugin-bootstrap
23678 maybe-all-stageprofile-libiberty-linker-plugin: all-stageprofile-libiberty-linker-plugin
23679 all-stageprofile: all-stageprofile-libiberty-linker-plugin
23680 TARGET-stageprofile-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
23681 all-stageprofile-libiberty-linker-plugin: configure-stageprofile-libiberty-linker-plugin
23682 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23683 @r=`${PWD_COMMAND}`; export r; \
23684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23685 TFLAGS="$(STAGEprofile_TFLAGS)"; \
23686 $(HOST_EXPORTS) \
23687 $(POSTSTAGE1_HOST_EXPORTS) \
23688 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23689 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23690 CFLAGS="$(STAGEprofile_CFLAGS)" \
23691 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
23692 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
23693 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23694 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23695 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23696 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
23697 TFLAGS="$(STAGEprofile_TFLAGS)" \
23698 $(TARGET-stageprofile-libiberty-linker-plugin)
23700 maybe-clean-stageprofile-libiberty-linker-plugin: clean-stageprofile-libiberty-linker-plugin
23701 clean-stageprofile: clean-stageprofile-libiberty-linker-plugin
23702 clean-stageprofile-libiberty-linker-plugin:
23703 @if [ $(current_stage) = stageprofile ]; then \
23704 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
23705 else \
23706 [ -f $(HOST_SUBDIR)/stageprofile-libiberty-linker-plugin/Makefile ] || exit 0; \
23707 $(MAKE) stageprofile-start; \
23708 fi; \
23709 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23710 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
23711 @endif libiberty-linker-plugin-bootstrap
23714 .PHONY: all-stagefeedback-libiberty-linker-plugin maybe-all-stagefeedback-libiberty-linker-plugin
23715 .PHONY: clean-stagefeedback-libiberty-linker-plugin maybe-clean-stagefeedback-libiberty-linker-plugin
23716 maybe-all-stagefeedback-libiberty-linker-plugin:
23717 maybe-clean-stagefeedback-libiberty-linker-plugin:
23718 @if libiberty-linker-plugin-bootstrap
23719 maybe-all-stagefeedback-libiberty-linker-plugin: all-stagefeedback-libiberty-linker-plugin
23720 all-stagefeedback: all-stagefeedback-libiberty-linker-plugin
23721 TARGET-stagefeedback-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
23722 all-stagefeedback-libiberty-linker-plugin: configure-stagefeedback-libiberty-linker-plugin
23723 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23724 @r=`${PWD_COMMAND}`; export r; \
23725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23726 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23727 $(HOST_EXPORTS) \
23728 $(POSTSTAGE1_HOST_EXPORTS) \
23729 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23730 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23731 CFLAGS="$(STAGEfeedback_CFLAGS)" \
23732 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
23733 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
23734 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23735 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23736 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23737 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
23738 TFLAGS="$(STAGEfeedback_TFLAGS)" \
23739 $(TARGET-stagefeedback-libiberty-linker-plugin)
23741 maybe-clean-stagefeedback-libiberty-linker-plugin: clean-stagefeedback-libiberty-linker-plugin
23742 clean-stagefeedback: clean-stagefeedback-libiberty-linker-plugin
23743 clean-stagefeedback-libiberty-linker-plugin:
23744 @if [ $(current_stage) = stagefeedback ]; then \
23745 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
23746 else \
23747 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty-linker-plugin/Makefile ] || exit 0; \
23748 $(MAKE) stagefeedback-start; \
23749 fi; \
23750 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23751 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
23752 @endif libiberty-linker-plugin-bootstrap
23758 .PHONY: check-libiberty-linker-plugin maybe-check-libiberty-linker-plugin
23759 maybe-check-libiberty-linker-plugin:
23760 @if libiberty-linker-plugin
23761 maybe-check-libiberty-linker-plugin: check-libiberty-linker-plugin
23763 check-libiberty-linker-plugin:
23764 @: $(MAKE); $(unstage)
23765 @r=`${PWD_COMMAND}`; export r; \
23766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23767 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
23768 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23769 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ $(EXTRA_BOOTSTRAP_FLAGS) check)
23771 @endif libiberty-linker-plugin
23773 .PHONY: install-libiberty-linker-plugin maybe-install-libiberty-linker-plugin
23774 maybe-install-libiberty-linker-plugin:
23775 @if libiberty-linker-plugin
23776 maybe-install-libiberty-linker-plugin: install-libiberty-linker-plugin
23778 install-libiberty-linker-plugin: installdirs
23779 @: $(MAKE); $(unstage)
23780 @r=`${PWD_COMMAND}`; export r; \
23781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23782 $(HOST_EXPORTS) \
23783 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23784 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install)
23786 @endif libiberty-linker-plugin
23788 .PHONY: install-strip-libiberty-linker-plugin maybe-install-strip-libiberty-linker-plugin
23789 maybe-install-strip-libiberty-linker-plugin:
23790 @if libiberty-linker-plugin
23791 maybe-install-strip-libiberty-linker-plugin: install-strip-libiberty-linker-plugin
23793 install-strip-libiberty-linker-plugin: installdirs
23794 @: $(MAKE); $(unstage)
23795 @r=`${PWD_COMMAND}`; export r; \
23796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23797 $(HOST_EXPORTS) \
23798 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23799 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install-strip)
23801 @endif libiberty-linker-plugin
23803 # Other targets (info, dvi, pdf, etc.)
23805 .PHONY: maybe-info-libiberty-linker-plugin info-libiberty-linker-plugin
23806 maybe-info-libiberty-linker-plugin:
23807 @if libiberty-linker-plugin
23808 maybe-info-libiberty-linker-plugin: info-libiberty-linker-plugin
23810 info-libiberty-linker-plugin: \
23811 configure-libiberty-linker-plugin
23812 @[ -f ./libiberty-linker-plugin/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) @extra_linker_plugin_flags@; do \
23817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23818 done; \
23819 echo "Doing info in libiberty-linker-plugin"; \
23820 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
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 info) \
23826 || exit 1
23828 @endif libiberty-linker-plugin
23830 .PHONY: maybe-dvi-libiberty-linker-plugin dvi-libiberty-linker-plugin
23831 maybe-dvi-libiberty-linker-plugin:
23832 @if libiberty-linker-plugin
23833 maybe-dvi-libiberty-linker-plugin: dvi-libiberty-linker-plugin
23835 dvi-libiberty-linker-plugin: \
23836 configure-libiberty-linker-plugin
23837 @[ -f ./libiberty-linker-plugin/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) @extra_linker_plugin_flags@; do \
23842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23843 done; \
23844 echo "Doing dvi in libiberty-linker-plugin"; \
23845 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
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 dvi) \
23851 || exit 1
23853 @endif libiberty-linker-plugin
23855 .PHONY: maybe-pdf-libiberty-linker-plugin pdf-libiberty-linker-plugin
23856 maybe-pdf-libiberty-linker-plugin:
23857 @if libiberty-linker-plugin
23858 maybe-pdf-libiberty-linker-plugin: pdf-libiberty-linker-plugin
23860 pdf-libiberty-linker-plugin: \
23861 configure-libiberty-linker-plugin
23862 @[ -f ./libiberty-linker-plugin/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) @extra_linker_plugin_flags@; do \
23867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23868 done; \
23869 echo "Doing pdf in libiberty-linker-plugin"; \
23870 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
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 pdf) \
23876 || exit 1
23878 @endif libiberty-linker-plugin
23880 .PHONY: maybe-html-libiberty-linker-plugin html-libiberty-linker-plugin
23881 maybe-html-libiberty-linker-plugin:
23882 @if libiberty-linker-plugin
23883 maybe-html-libiberty-linker-plugin: html-libiberty-linker-plugin
23885 html-libiberty-linker-plugin: \
23886 configure-libiberty-linker-plugin
23887 @[ -f ./libiberty-linker-plugin/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) @extra_linker_plugin_flags@; do \
23892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23893 done; \
23894 echo "Doing html in libiberty-linker-plugin"; \
23895 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
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 html) \
23901 || exit 1
23903 @endif libiberty-linker-plugin
23905 .PHONY: maybe-TAGS-libiberty-linker-plugin TAGS-libiberty-linker-plugin
23906 maybe-TAGS-libiberty-linker-plugin:
23907 @if libiberty-linker-plugin
23908 maybe-TAGS-libiberty-linker-plugin: TAGS-libiberty-linker-plugin
23910 TAGS-libiberty-linker-plugin: \
23911 configure-libiberty-linker-plugin
23912 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
23913 r=`${PWD_COMMAND}`; export r; \
23914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23915 $(HOST_EXPORTS) \
23916 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
23917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23918 done; \
23919 echo "Doing TAGS in libiberty-linker-plugin"; \
23920 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23923 "RANLIB=$${RANLIB}" \
23924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23925 TAGS) \
23926 || exit 1
23928 @endif libiberty-linker-plugin
23930 .PHONY: maybe-install-info-libiberty-linker-plugin install-info-libiberty-linker-plugin
23931 maybe-install-info-libiberty-linker-plugin:
23932 @if libiberty-linker-plugin
23933 maybe-install-info-libiberty-linker-plugin: install-info-libiberty-linker-plugin
23935 install-info-libiberty-linker-plugin: \
23936 configure-libiberty-linker-plugin \
23937 info-libiberty-linker-plugin
23938 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
23939 r=`${PWD_COMMAND}`; export r; \
23940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23941 $(HOST_EXPORTS) \
23942 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
23943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23944 done; \
23945 echo "Doing install-info in libiberty-linker-plugin"; \
23946 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23949 "RANLIB=$${RANLIB}" \
23950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23951 install-info) \
23952 || exit 1
23954 @endif libiberty-linker-plugin
23956 .PHONY: maybe-install-pdf-libiberty-linker-plugin install-pdf-libiberty-linker-plugin
23957 maybe-install-pdf-libiberty-linker-plugin:
23958 @if libiberty-linker-plugin
23959 maybe-install-pdf-libiberty-linker-plugin: install-pdf-libiberty-linker-plugin
23961 install-pdf-libiberty-linker-plugin: \
23962 configure-libiberty-linker-plugin \
23963 pdf-libiberty-linker-plugin
23964 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
23965 r=`${PWD_COMMAND}`; export r; \
23966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23967 $(HOST_EXPORTS) \
23968 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
23969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23970 done; \
23971 echo "Doing install-pdf in libiberty-linker-plugin"; \
23972 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23975 "RANLIB=$${RANLIB}" \
23976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23977 install-pdf) \
23978 || exit 1
23980 @endif libiberty-linker-plugin
23982 .PHONY: maybe-install-html-libiberty-linker-plugin install-html-libiberty-linker-plugin
23983 maybe-install-html-libiberty-linker-plugin:
23984 @if libiberty-linker-plugin
23985 maybe-install-html-libiberty-linker-plugin: install-html-libiberty-linker-plugin
23987 install-html-libiberty-linker-plugin: \
23988 configure-libiberty-linker-plugin \
23989 html-libiberty-linker-plugin
23990 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
23991 r=`${PWD_COMMAND}`; export r; \
23992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23993 $(HOST_EXPORTS) \
23994 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
23995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23996 done; \
23997 echo "Doing install-html in libiberty-linker-plugin"; \
23998 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24001 "RANLIB=$${RANLIB}" \
24002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24003 install-html) \
24004 || exit 1
24006 @endif libiberty-linker-plugin
24008 .PHONY: maybe-installcheck-libiberty-linker-plugin installcheck-libiberty-linker-plugin
24009 maybe-installcheck-libiberty-linker-plugin:
24010 @if libiberty-linker-plugin
24011 maybe-installcheck-libiberty-linker-plugin: installcheck-libiberty-linker-plugin
24013 installcheck-libiberty-linker-plugin: \
24014 configure-libiberty-linker-plugin
24015 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24016 r=`${PWD_COMMAND}`; export r; \
24017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24018 $(HOST_EXPORTS) \
24019 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24021 done; \
24022 echo "Doing installcheck in libiberty-linker-plugin"; \
24023 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24026 "RANLIB=$${RANLIB}" \
24027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24028 installcheck) \
24029 || exit 1
24031 @endif libiberty-linker-plugin
24033 .PHONY: maybe-mostlyclean-libiberty-linker-plugin mostlyclean-libiberty-linker-plugin
24034 maybe-mostlyclean-libiberty-linker-plugin:
24035 @if libiberty-linker-plugin
24036 maybe-mostlyclean-libiberty-linker-plugin: mostlyclean-libiberty-linker-plugin
24038 mostlyclean-libiberty-linker-plugin:
24039 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24040 r=`${PWD_COMMAND}`; export r; \
24041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24042 $(HOST_EXPORTS) \
24043 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24045 done; \
24046 echo "Doing mostlyclean in libiberty-linker-plugin"; \
24047 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24050 "RANLIB=$${RANLIB}" \
24051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24052 mostlyclean) \
24053 || exit 1
24055 @endif libiberty-linker-plugin
24057 .PHONY: maybe-clean-libiberty-linker-plugin clean-libiberty-linker-plugin
24058 maybe-clean-libiberty-linker-plugin:
24059 @if libiberty-linker-plugin
24060 maybe-clean-libiberty-linker-plugin: clean-libiberty-linker-plugin
24062 clean-libiberty-linker-plugin:
24063 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24064 r=`${PWD_COMMAND}`; export r; \
24065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24066 $(HOST_EXPORTS) \
24067 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24069 done; \
24070 echo "Doing clean in libiberty-linker-plugin"; \
24071 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24074 "RANLIB=$${RANLIB}" \
24075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24076 clean) \
24077 || exit 1
24079 @endif libiberty-linker-plugin
24081 .PHONY: maybe-distclean-libiberty-linker-plugin distclean-libiberty-linker-plugin
24082 maybe-distclean-libiberty-linker-plugin:
24083 @if libiberty-linker-plugin
24084 maybe-distclean-libiberty-linker-plugin: distclean-libiberty-linker-plugin
24086 distclean-libiberty-linker-plugin:
24087 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24088 r=`${PWD_COMMAND}`; export r; \
24089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24090 $(HOST_EXPORTS) \
24091 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24093 done; \
24094 echo "Doing distclean in libiberty-linker-plugin"; \
24095 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24098 "RANLIB=$${RANLIB}" \
24099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24100 distclean) \
24101 || exit 1
24103 @endif libiberty-linker-plugin
24105 .PHONY: maybe-maintainer-clean-libiberty-linker-plugin maintainer-clean-libiberty-linker-plugin
24106 maybe-maintainer-clean-libiberty-linker-plugin:
24107 @if libiberty-linker-plugin
24108 maybe-maintainer-clean-libiberty-linker-plugin: maintainer-clean-libiberty-linker-plugin
24110 maintainer-clean-libiberty-linker-plugin:
24111 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24112 r=`${PWD_COMMAND}`; export r; \
24113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24114 $(HOST_EXPORTS) \
24115 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24117 done; \
24118 echo "Doing maintainer-clean in libiberty-linker-plugin"; \
24119 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24122 "RANLIB=$${RANLIB}" \
24123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24124 maintainer-clean) \
24125 || exit 1
24127 @endif libiberty-linker-plugin
24131 .PHONY: configure-libiconv maybe-configure-libiconv
24132 maybe-configure-libiconv:
24133 @if gcc-bootstrap
24134 configure-libiconv: stage_current
24135 @endif gcc-bootstrap
24136 @if libiconv
24137 maybe-configure-libiconv: configure-libiconv
24138 configure-libiconv:
24139 @r=`${PWD_COMMAND}`; export r; \
24140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24141 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
24142 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
24143 $(HOST_EXPORTS) \
24144 echo Configuring in $(HOST_SUBDIR)/libiconv; \
24145 cd "$(HOST_SUBDIR)/libiconv" || exit 1; \
24146 case $(srcdir) in \
24147 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24148 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
24149 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24150 esac; \
24151 module_srcdir=libiconv; \
24152 $(SHELL) \
24153 $$s/$$module_srcdir/configure \
24154 --srcdir=$${topdir}/$$module_srcdir \
24155 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24156 --target=${target_alias} --disable-shared \
24157 || exit 1
24158 @endif libiconv
24162 .PHONY: configure-stage1-libiconv maybe-configure-stage1-libiconv
24163 maybe-configure-stage1-libiconv:
24164 @if libiconv-bootstrap
24165 maybe-configure-stage1-libiconv: configure-stage1-libiconv
24166 configure-stage1-libiconv:
24167 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
24168 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
24169 @r=`${PWD_COMMAND}`; export r; \
24170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24171 TFLAGS="$(STAGE1_TFLAGS)"; \
24172 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
24173 $(HOST_EXPORTS) \
24174 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
24175 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
24176 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
24177 echo Configuring stage 1 in $(HOST_SUBDIR)/libiconv; \
24178 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
24179 cd $(HOST_SUBDIR)/libiconv || exit 1; \
24180 case $(srcdir) in \
24181 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24182 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
24183 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24184 esac; \
24185 module_srcdir=libiconv; \
24186 $(SHELL) $$s/$$module_srcdir/configure \
24187 --srcdir=$${topdir}/$$module_srcdir \
24188 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24189 --target=${target_alias} \
24191 $(STAGE1_CONFIGURE_FLAGS) \
24192 --disable-shared
24193 @endif libiconv-bootstrap
24195 .PHONY: configure-stage2-libiconv maybe-configure-stage2-libiconv
24196 maybe-configure-stage2-libiconv:
24197 @if libiconv-bootstrap
24198 maybe-configure-stage2-libiconv: configure-stage2-libiconv
24199 configure-stage2-libiconv:
24200 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
24201 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
24202 @r=`${PWD_COMMAND}`; export r; \
24203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24204 TFLAGS="$(STAGE2_TFLAGS)"; \
24205 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
24206 $(HOST_EXPORTS) \
24207 $(POSTSTAGE1_HOST_EXPORTS) \
24208 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
24209 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
24210 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
24211 echo Configuring stage 2 in $(HOST_SUBDIR)/libiconv; \
24212 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
24213 cd $(HOST_SUBDIR)/libiconv || exit 1; \
24214 case $(srcdir) in \
24215 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24216 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
24217 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24218 esac; \
24219 module_srcdir=libiconv; \
24220 $(SHELL) $$s/$$module_srcdir/configure \
24221 --srcdir=$${topdir}/$$module_srcdir \
24222 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24223 --target=${target_alias} \
24224 --with-build-libsubdir=$(HOST_SUBDIR) \
24225 $(STAGE2_CONFIGURE_FLAGS) \
24226 --disable-shared
24227 @endif libiconv-bootstrap
24229 .PHONY: configure-stage3-libiconv maybe-configure-stage3-libiconv
24230 maybe-configure-stage3-libiconv:
24231 @if libiconv-bootstrap
24232 maybe-configure-stage3-libiconv: configure-stage3-libiconv
24233 configure-stage3-libiconv:
24234 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
24235 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
24236 @r=`${PWD_COMMAND}`; export r; \
24237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24238 TFLAGS="$(STAGE3_TFLAGS)"; \
24239 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
24240 $(HOST_EXPORTS) \
24241 $(POSTSTAGE1_HOST_EXPORTS) \
24242 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
24243 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
24244 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
24245 echo Configuring stage 3 in $(HOST_SUBDIR)/libiconv; \
24246 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
24247 cd $(HOST_SUBDIR)/libiconv || exit 1; \
24248 case $(srcdir) in \
24249 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24250 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
24251 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24252 esac; \
24253 module_srcdir=libiconv; \
24254 $(SHELL) $$s/$$module_srcdir/configure \
24255 --srcdir=$${topdir}/$$module_srcdir \
24256 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24257 --target=${target_alias} \
24258 --with-build-libsubdir=$(HOST_SUBDIR) \
24259 $(STAGE3_CONFIGURE_FLAGS) \
24260 --disable-shared
24261 @endif libiconv-bootstrap
24263 .PHONY: configure-stage4-libiconv maybe-configure-stage4-libiconv
24264 maybe-configure-stage4-libiconv:
24265 @if libiconv-bootstrap
24266 maybe-configure-stage4-libiconv: configure-stage4-libiconv
24267 configure-stage4-libiconv:
24268 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
24269 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
24270 @r=`${PWD_COMMAND}`; export r; \
24271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24272 TFLAGS="$(STAGE4_TFLAGS)"; \
24273 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
24274 $(HOST_EXPORTS) \
24275 $(POSTSTAGE1_HOST_EXPORTS) \
24276 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
24277 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
24278 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
24279 echo Configuring stage 4 in $(HOST_SUBDIR)/libiconv; \
24280 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
24281 cd $(HOST_SUBDIR)/libiconv || exit 1; \
24282 case $(srcdir) in \
24283 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24284 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
24285 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24286 esac; \
24287 module_srcdir=libiconv; \
24288 $(SHELL) $$s/$$module_srcdir/configure \
24289 --srcdir=$${topdir}/$$module_srcdir \
24290 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24291 --target=${target_alias} \
24292 --with-build-libsubdir=$(HOST_SUBDIR) \
24293 $(STAGE4_CONFIGURE_FLAGS) \
24294 --disable-shared
24295 @endif libiconv-bootstrap
24297 .PHONY: configure-stageprofile-libiconv maybe-configure-stageprofile-libiconv
24298 maybe-configure-stageprofile-libiconv:
24299 @if libiconv-bootstrap
24300 maybe-configure-stageprofile-libiconv: configure-stageprofile-libiconv
24301 configure-stageprofile-libiconv:
24302 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
24303 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
24304 @r=`${PWD_COMMAND}`; export r; \
24305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24306 TFLAGS="$(STAGEprofile_TFLAGS)"; \
24307 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
24308 $(HOST_EXPORTS) \
24309 $(POSTSTAGE1_HOST_EXPORTS) \
24310 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
24311 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
24312 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
24313 echo Configuring stage profile in $(HOST_SUBDIR)/libiconv; \
24314 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
24315 cd $(HOST_SUBDIR)/libiconv || exit 1; \
24316 case $(srcdir) in \
24317 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24318 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
24319 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24320 esac; \
24321 module_srcdir=libiconv; \
24322 $(SHELL) $$s/$$module_srcdir/configure \
24323 --srcdir=$${topdir}/$$module_srcdir \
24324 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24325 --target=${target_alias} \
24326 --with-build-libsubdir=$(HOST_SUBDIR) \
24327 $(STAGEprofile_CONFIGURE_FLAGS) \
24328 --disable-shared
24329 @endif libiconv-bootstrap
24331 .PHONY: configure-stagefeedback-libiconv maybe-configure-stagefeedback-libiconv
24332 maybe-configure-stagefeedback-libiconv:
24333 @if libiconv-bootstrap
24334 maybe-configure-stagefeedback-libiconv: configure-stagefeedback-libiconv
24335 configure-stagefeedback-libiconv:
24336 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
24337 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
24338 @r=`${PWD_COMMAND}`; export r; \
24339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24340 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
24341 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
24342 $(HOST_EXPORTS) \
24343 $(POSTSTAGE1_HOST_EXPORTS) \
24344 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
24345 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
24346 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
24347 echo Configuring stage feedback in $(HOST_SUBDIR)/libiconv; \
24348 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
24349 cd $(HOST_SUBDIR)/libiconv || exit 1; \
24350 case $(srcdir) in \
24351 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24352 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
24353 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24354 esac; \
24355 module_srcdir=libiconv; \
24356 $(SHELL) $$s/$$module_srcdir/configure \
24357 --srcdir=$${topdir}/$$module_srcdir \
24358 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24359 --target=${target_alias} \
24360 --with-build-libsubdir=$(HOST_SUBDIR) \
24361 $(STAGEfeedback_CONFIGURE_FLAGS) \
24362 --disable-shared
24363 @endif libiconv-bootstrap
24369 .PHONY: all-libiconv maybe-all-libiconv
24370 maybe-all-libiconv:
24371 @if gcc-bootstrap
24372 all-libiconv: stage_current
24373 @endif gcc-bootstrap
24374 @if libiconv
24375 TARGET-libiconv=all
24376 maybe-all-libiconv: all-libiconv
24377 all-libiconv: configure-libiconv
24378 @r=`${PWD_COMMAND}`; export r; \
24379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24380 $(HOST_EXPORTS) \
24381 (cd $(HOST_SUBDIR)/libiconv && \
24382 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
24383 $(TARGET-libiconv))
24384 @endif libiconv
24388 .PHONY: all-stage1-libiconv maybe-all-stage1-libiconv
24389 .PHONY: clean-stage1-libiconv maybe-clean-stage1-libiconv
24390 maybe-all-stage1-libiconv:
24391 maybe-clean-stage1-libiconv:
24392 @if libiconv-bootstrap
24393 maybe-all-stage1-libiconv: all-stage1-libiconv
24394 all-stage1: all-stage1-libiconv
24395 TARGET-stage1-libiconv = $(TARGET-libiconv)
24396 all-stage1-libiconv: configure-stage1-libiconv
24397 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
24398 @r=`${PWD_COMMAND}`; export r; \
24399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24400 TFLAGS="$(STAGE1_TFLAGS)"; \
24401 $(HOST_EXPORTS) \
24402 cd $(HOST_SUBDIR)/libiconv && \
24403 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24404 CFLAGS="$(STAGE1_CFLAGS)" \
24405 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
24406 LIBCFLAGS="$(LIBCFLAGS)" \
24407 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24408 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24409 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24410 $(EXTRA_HOST_FLAGS) \
24411 $(STAGE1_FLAGS_TO_PASS) \
24412 TFLAGS="$(STAGE1_TFLAGS)" \
24413 $(TARGET-stage1-libiconv)
24415 maybe-clean-stage1-libiconv: clean-stage1-libiconv
24416 clean-stage1: clean-stage1-libiconv
24417 clean-stage1-libiconv:
24418 @if [ $(current_stage) = stage1 ]; then \
24419 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
24420 else \
24421 [ -f $(HOST_SUBDIR)/stage1-libiconv/Makefile ] || exit 0; \
24422 $(MAKE) stage1-start; \
24423 fi; \
24424 cd $(HOST_SUBDIR)/libiconv && \
24425 $(MAKE) $(EXTRA_HOST_FLAGS) \
24426 $(STAGE1_FLAGS_TO_PASS) clean
24427 @endif libiconv-bootstrap
24430 .PHONY: all-stage2-libiconv maybe-all-stage2-libiconv
24431 .PHONY: clean-stage2-libiconv maybe-clean-stage2-libiconv
24432 maybe-all-stage2-libiconv:
24433 maybe-clean-stage2-libiconv:
24434 @if libiconv-bootstrap
24435 maybe-all-stage2-libiconv: all-stage2-libiconv
24436 all-stage2: all-stage2-libiconv
24437 TARGET-stage2-libiconv = $(TARGET-libiconv)
24438 all-stage2-libiconv: configure-stage2-libiconv
24439 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
24440 @r=`${PWD_COMMAND}`; export r; \
24441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24442 TFLAGS="$(STAGE2_TFLAGS)"; \
24443 $(HOST_EXPORTS) \
24444 $(POSTSTAGE1_HOST_EXPORTS) \
24445 cd $(HOST_SUBDIR)/libiconv && \
24446 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24447 CFLAGS="$(STAGE2_CFLAGS)" \
24448 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
24449 LIBCFLAGS="$(STAGE2_CFLAGS)" \
24450 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24451 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24452 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24453 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24454 TFLAGS="$(STAGE2_TFLAGS)" \
24455 $(TARGET-stage2-libiconv)
24457 maybe-clean-stage2-libiconv: clean-stage2-libiconv
24458 clean-stage2: clean-stage2-libiconv
24459 clean-stage2-libiconv:
24460 @if [ $(current_stage) = stage2 ]; then \
24461 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
24462 else \
24463 [ -f $(HOST_SUBDIR)/stage2-libiconv/Makefile ] || exit 0; \
24464 $(MAKE) stage2-start; \
24465 fi; \
24466 cd $(HOST_SUBDIR)/libiconv && \
24467 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24468 @endif libiconv-bootstrap
24471 .PHONY: all-stage3-libiconv maybe-all-stage3-libiconv
24472 .PHONY: clean-stage3-libiconv maybe-clean-stage3-libiconv
24473 maybe-all-stage3-libiconv:
24474 maybe-clean-stage3-libiconv:
24475 @if libiconv-bootstrap
24476 maybe-all-stage3-libiconv: all-stage3-libiconv
24477 all-stage3: all-stage3-libiconv
24478 TARGET-stage3-libiconv = $(TARGET-libiconv)
24479 all-stage3-libiconv: configure-stage3-libiconv
24480 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
24481 @r=`${PWD_COMMAND}`; export r; \
24482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24483 TFLAGS="$(STAGE3_TFLAGS)"; \
24484 $(HOST_EXPORTS) \
24485 $(POSTSTAGE1_HOST_EXPORTS) \
24486 cd $(HOST_SUBDIR)/libiconv && \
24487 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24488 CFLAGS="$(STAGE3_CFLAGS)" \
24489 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
24490 LIBCFLAGS="$(STAGE3_CFLAGS)" \
24491 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24492 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24493 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24494 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24495 TFLAGS="$(STAGE3_TFLAGS)" \
24496 $(TARGET-stage3-libiconv)
24498 maybe-clean-stage3-libiconv: clean-stage3-libiconv
24499 clean-stage3: clean-stage3-libiconv
24500 clean-stage3-libiconv:
24501 @if [ $(current_stage) = stage3 ]; then \
24502 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
24503 else \
24504 [ -f $(HOST_SUBDIR)/stage3-libiconv/Makefile ] || exit 0; \
24505 $(MAKE) stage3-start; \
24506 fi; \
24507 cd $(HOST_SUBDIR)/libiconv && \
24508 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24509 @endif libiconv-bootstrap
24512 .PHONY: all-stage4-libiconv maybe-all-stage4-libiconv
24513 .PHONY: clean-stage4-libiconv maybe-clean-stage4-libiconv
24514 maybe-all-stage4-libiconv:
24515 maybe-clean-stage4-libiconv:
24516 @if libiconv-bootstrap
24517 maybe-all-stage4-libiconv: all-stage4-libiconv
24518 all-stage4: all-stage4-libiconv
24519 TARGET-stage4-libiconv = $(TARGET-libiconv)
24520 all-stage4-libiconv: configure-stage4-libiconv
24521 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
24522 @r=`${PWD_COMMAND}`; export r; \
24523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24524 TFLAGS="$(STAGE4_TFLAGS)"; \
24525 $(HOST_EXPORTS) \
24526 $(POSTSTAGE1_HOST_EXPORTS) \
24527 cd $(HOST_SUBDIR)/libiconv && \
24528 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24529 CFLAGS="$(STAGE4_CFLAGS)" \
24530 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
24531 LIBCFLAGS="$(STAGE4_CFLAGS)" \
24532 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24533 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24534 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24535 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24536 TFLAGS="$(STAGE4_TFLAGS)" \
24537 $(TARGET-stage4-libiconv)
24539 maybe-clean-stage4-libiconv: clean-stage4-libiconv
24540 clean-stage4: clean-stage4-libiconv
24541 clean-stage4-libiconv:
24542 @if [ $(current_stage) = stage4 ]; then \
24543 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
24544 else \
24545 [ -f $(HOST_SUBDIR)/stage4-libiconv/Makefile ] || exit 0; \
24546 $(MAKE) stage4-start; \
24547 fi; \
24548 cd $(HOST_SUBDIR)/libiconv && \
24549 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24550 @endif libiconv-bootstrap
24553 .PHONY: all-stageprofile-libiconv maybe-all-stageprofile-libiconv
24554 .PHONY: clean-stageprofile-libiconv maybe-clean-stageprofile-libiconv
24555 maybe-all-stageprofile-libiconv:
24556 maybe-clean-stageprofile-libiconv:
24557 @if libiconv-bootstrap
24558 maybe-all-stageprofile-libiconv: all-stageprofile-libiconv
24559 all-stageprofile: all-stageprofile-libiconv
24560 TARGET-stageprofile-libiconv = $(TARGET-libiconv)
24561 all-stageprofile-libiconv: configure-stageprofile-libiconv
24562 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
24563 @r=`${PWD_COMMAND}`; export r; \
24564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24565 TFLAGS="$(STAGEprofile_TFLAGS)"; \
24566 $(HOST_EXPORTS) \
24567 $(POSTSTAGE1_HOST_EXPORTS) \
24568 cd $(HOST_SUBDIR)/libiconv && \
24569 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24570 CFLAGS="$(STAGEprofile_CFLAGS)" \
24571 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
24572 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
24573 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24574 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24575 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24576 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24577 TFLAGS="$(STAGEprofile_TFLAGS)" \
24578 $(TARGET-stageprofile-libiconv)
24580 maybe-clean-stageprofile-libiconv: clean-stageprofile-libiconv
24581 clean-stageprofile: clean-stageprofile-libiconv
24582 clean-stageprofile-libiconv:
24583 @if [ $(current_stage) = stageprofile ]; then \
24584 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
24585 else \
24586 [ -f $(HOST_SUBDIR)/stageprofile-libiconv/Makefile ] || exit 0; \
24587 $(MAKE) stageprofile-start; \
24588 fi; \
24589 cd $(HOST_SUBDIR)/libiconv && \
24590 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24591 @endif libiconv-bootstrap
24594 .PHONY: all-stagefeedback-libiconv maybe-all-stagefeedback-libiconv
24595 .PHONY: clean-stagefeedback-libiconv maybe-clean-stagefeedback-libiconv
24596 maybe-all-stagefeedback-libiconv:
24597 maybe-clean-stagefeedback-libiconv:
24598 @if libiconv-bootstrap
24599 maybe-all-stagefeedback-libiconv: all-stagefeedback-libiconv
24600 all-stagefeedback: all-stagefeedback-libiconv
24601 TARGET-stagefeedback-libiconv = $(TARGET-libiconv)
24602 all-stagefeedback-libiconv: configure-stagefeedback-libiconv
24603 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
24604 @r=`${PWD_COMMAND}`; export r; \
24605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24606 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
24607 $(HOST_EXPORTS) \
24608 $(POSTSTAGE1_HOST_EXPORTS) \
24609 cd $(HOST_SUBDIR)/libiconv && \
24610 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24611 CFLAGS="$(STAGEfeedback_CFLAGS)" \
24612 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
24613 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
24614 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24615 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24616 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24617 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24618 TFLAGS="$(STAGEfeedback_TFLAGS)" \
24619 $(TARGET-stagefeedback-libiconv)
24621 maybe-clean-stagefeedback-libiconv: clean-stagefeedback-libiconv
24622 clean-stagefeedback: clean-stagefeedback-libiconv
24623 clean-stagefeedback-libiconv:
24624 @if [ $(current_stage) = stagefeedback ]; then \
24625 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
24626 else \
24627 [ -f $(HOST_SUBDIR)/stagefeedback-libiconv/Makefile ] || exit 0; \
24628 $(MAKE) stagefeedback-start; \
24629 fi; \
24630 cd $(HOST_SUBDIR)/libiconv && \
24631 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24632 @endif libiconv-bootstrap
24638 .PHONY: check-libiconv maybe-check-libiconv
24639 maybe-check-libiconv:
24640 @if libiconv
24641 maybe-check-libiconv: check-libiconv
24643 check-libiconv:
24644 @: $(MAKE); $(unstage)
24645 @r=`${PWD_COMMAND}`; export r; \
24646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24647 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
24648 (cd $(HOST_SUBDIR)/libiconv && \
24649 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
24651 @endif libiconv
24653 .PHONY: install-libiconv maybe-install-libiconv
24654 maybe-install-libiconv:
24655 @if libiconv
24656 maybe-install-libiconv: install-libiconv
24658 install-libiconv:
24660 @endif libiconv
24662 .PHONY: install-strip-libiconv maybe-install-strip-libiconv
24663 maybe-install-strip-libiconv:
24664 @if libiconv
24665 maybe-install-strip-libiconv: install-strip-libiconv
24667 install-strip-libiconv:
24669 @endif libiconv
24671 # Other targets (info, dvi, pdf, etc.)
24673 .PHONY: maybe-info-libiconv info-libiconv
24674 maybe-info-libiconv:
24675 @if libiconv
24676 maybe-info-libiconv: info-libiconv
24678 # libiconv doesn't support info.
24679 info-libiconv:
24681 @endif libiconv
24683 .PHONY: maybe-dvi-libiconv dvi-libiconv
24684 maybe-dvi-libiconv:
24685 @if libiconv
24686 maybe-dvi-libiconv: dvi-libiconv
24688 dvi-libiconv: \
24689 configure-libiconv
24690 @[ -f ./libiconv/Makefile ] || exit 0; \
24691 r=`${PWD_COMMAND}`; export r; \
24692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24693 $(HOST_EXPORTS) \
24694 for flag in $(EXTRA_HOST_FLAGS) ; do \
24695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24696 done; \
24697 echo "Doing dvi in libiconv"; \
24698 (cd $(HOST_SUBDIR)/libiconv && \
24699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24701 "RANLIB=$${RANLIB}" \
24702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24703 dvi) \
24704 || exit 1
24706 @endif libiconv
24708 .PHONY: maybe-pdf-libiconv pdf-libiconv
24709 maybe-pdf-libiconv:
24710 @if libiconv
24711 maybe-pdf-libiconv: pdf-libiconv
24713 # libiconv doesn't support pdf.
24714 pdf-libiconv:
24716 @endif libiconv
24718 .PHONY: maybe-html-libiconv html-libiconv
24719 maybe-html-libiconv:
24720 @if libiconv
24721 maybe-html-libiconv: html-libiconv
24723 # libiconv doesn't support html.
24724 html-libiconv:
24726 @endif libiconv
24728 .PHONY: maybe-TAGS-libiconv TAGS-libiconv
24729 maybe-TAGS-libiconv:
24730 @if libiconv
24731 maybe-TAGS-libiconv: TAGS-libiconv
24733 TAGS-libiconv: \
24734 configure-libiconv
24735 @[ -f ./libiconv/Makefile ] || exit 0; \
24736 r=`${PWD_COMMAND}`; export r; \
24737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24738 $(HOST_EXPORTS) \
24739 for flag in $(EXTRA_HOST_FLAGS) ; do \
24740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24741 done; \
24742 echo "Doing TAGS in libiconv"; \
24743 (cd $(HOST_SUBDIR)/libiconv && \
24744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24746 "RANLIB=$${RANLIB}" \
24747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24748 TAGS) \
24749 || exit 1
24751 @endif libiconv
24753 .PHONY: maybe-install-info-libiconv install-info-libiconv
24754 maybe-install-info-libiconv:
24755 @if libiconv
24756 maybe-install-info-libiconv: install-info-libiconv
24758 # libiconv doesn't support install-info.
24759 install-info-libiconv:
24761 @endif libiconv
24763 .PHONY: maybe-install-pdf-libiconv install-pdf-libiconv
24764 maybe-install-pdf-libiconv:
24765 @if libiconv
24766 maybe-install-pdf-libiconv: install-pdf-libiconv
24768 # libiconv doesn't support install-pdf.
24769 install-pdf-libiconv:
24771 @endif libiconv
24773 .PHONY: maybe-install-html-libiconv install-html-libiconv
24774 maybe-install-html-libiconv:
24775 @if libiconv
24776 maybe-install-html-libiconv: install-html-libiconv
24778 # libiconv doesn't support install-html.
24779 install-html-libiconv:
24781 @endif libiconv
24783 .PHONY: maybe-installcheck-libiconv installcheck-libiconv
24784 maybe-installcheck-libiconv:
24785 @if libiconv
24786 maybe-installcheck-libiconv: installcheck-libiconv
24788 installcheck-libiconv: \
24789 configure-libiconv
24790 @[ -f ./libiconv/Makefile ] || exit 0; \
24791 r=`${PWD_COMMAND}`; export r; \
24792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24793 $(HOST_EXPORTS) \
24794 for flag in $(EXTRA_HOST_FLAGS) ; do \
24795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24796 done; \
24797 echo "Doing installcheck in libiconv"; \
24798 (cd $(HOST_SUBDIR)/libiconv && \
24799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24801 "RANLIB=$${RANLIB}" \
24802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24803 installcheck) \
24804 || exit 1
24806 @endif libiconv
24808 .PHONY: maybe-mostlyclean-libiconv mostlyclean-libiconv
24809 maybe-mostlyclean-libiconv:
24810 @if libiconv
24811 maybe-mostlyclean-libiconv: mostlyclean-libiconv
24813 mostlyclean-libiconv:
24814 @[ -f ./libiconv/Makefile ] || exit 0; \
24815 r=`${PWD_COMMAND}`; export r; \
24816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24817 $(HOST_EXPORTS) \
24818 for flag in $(EXTRA_HOST_FLAGS) ; do \
24819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24820 done; \
24821 echo "Doing mostlyclean in libiconv"; \
24822 (cd $(HOST_SUBDIR)/libiconv && \
24823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24825 "RANLIB=$${RANLIB}" \
24826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24827 mostlyclean) \
24828 || exit 1
24830 @endif libiconv
24832 .PHONY: maybe-clean-libiconv clean-libiconv
24833 maybe-clean-libiconv:
24834 @if libiconv
24835 maybe-clean-libiconv: clean-libiconv
24837 clean-libiconv:
24838 @[ -f ./libiconv/Makefile ] || exit 0; \
24839 r=`${PWD_COMMAND}`; export r; \
24840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24841 $(HOST_EXPORTS) \
24842 for flag in $(EXTRA_HOST_FLAGS) ; do \
24843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24844 done; \
24845 echo "Doing clean in libiconv"; \
24846 (cd $(HOST_SUBDIR)/libiconv && \
24847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24849 "RANLIB=$${RANLIB}" \
24850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24851 clean) \
24852 || exit 1
24854 @endif libiconv
24856 .PHONY: maybe-distclean-libiconv distclean-libiconv
24857 maybe-distclean-libiconv:
24858 @if libiconv
24859 maybe-distclean-libiconv: distclean-libiconv
24861 distclean-libiconv:
24862 @[ -f ./libiconv/Makefile ] || exit 0; \
24863 r=`${PWD_COMMAND}`; export r; \
24864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24865 $(HOST_EXPORTS) \
24866 for flag in $(EXTRA_HOST_FLAGS) ; do \
24867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24868 done; \
24869 echo "Doing distclean in libiconv"; \
24870 (cd $(HOST_SUBDIR)/libiconv && \
24871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24873 "RANLIB=$${RANLIB}" \
24874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24875 distclean) \
24876 || exit 1
24878 @endif libiconv
24880 .PHONY: maybe-maintainer-clean-libiconv maintainer-clean-libiconv
24881 maybe-maintainer-clean-libiconv:
24882 @if libiconv
24883 maybe-maintainer-clean-libiconv: maintainer-clean-libiconv
24885 maintainer-clean-libiconv:
24886 @[ -f ./libiconv/Makefile ] || exit 0; \
24887 r=`${PWD_COMMAND}`; export r; \
24888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24889 $(HOST_EXPORTS) \
24890 for flag in $(EXTRA_HOST_FLAGS) ; do \
24891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24892 done; \
24893 echo "Doing maintainer-clean in libiconv"; \
24894 (cd $(HOST_SUBDIR)/libiconv && \
24895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24897 "RANLIB=$${RANLIB}" \
24898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24899 maintainer-clean) \
24900 || exit 1
24902 @endif libiconv
24906 .PHONY: configure-m4 maybe-configure-m4
24907 maybe-configure-m4:
24908 @if gcc-bootstrap
24909 configure-m4: stage_current
24910 @endif gcc-bootstrap
24911 @if m4
24912 maybe-configure-m4: configure-m4
24913 configure-m4:
24914 @: $(MAKE); $(unstage)
24915 @r=`${PWD_COMMAND}`; export r; \
24916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24917 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
24918 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4; \
24919 $(HOST_EXPORTS) \
24920 echo Configuring in $(HOST_SUBDIR)/m4; \
24921 cd "$(HOST_SUBDIR)/m4" || exit 1; \
24922 case $(srcdir) in \
24923 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24924 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
24925 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24926 esac; \
24927 module_srcdir=m4; \
24928 $(SHELL) \
24929 $$s/$$module_srcdir/configure \
24930 --srcdir=$${topdir}/$$module_srcdir \
24931 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24932 --target=${target_alias} \
24933 || exit 1
24934 @endif m4
24940 .PHONY: all-m4 maybe-all-m4
24941 maybe-all-m4:
24942 @if gcc-bootstrap
24943 all-m4: stage_current
24944 @endif gcc-bootstrap
24945 @if m4
24946 TARGET-m4=all
24947 maybe-all-m4: all-m4
24948 all-m4: configure-m4
24949 @: $(MAKE); $(unstage)
24950 @r=`${PWD_COMMAND}`; export r; \
24951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24952 $(HOST_EXPORTS) \
24953 (cd $(HOST_SUBDIR)/m4 && \
24954 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
24955 $(TARGET-m4))
24956 @endif m4
24961 .PHONY: check-m4 maybe-check-m4
24962 maybe-check-m4:
24963 @if m4
24964 maybe-check-m4: check-m4
24966 check-m4:
24967 @: $(MAKE); $(unstage)
24968 @r=`${PWD_COMMAND}`; export r; \
24969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24970 $(HOST_EXPORTS) \
24971 (cd $(HOST_SUBDIR)/m4 && \
24972 $(MAKE) $(FLAGS_TO_PASS) check)
24974 @endif m4
24976 .PHONY: install-m4 maybe-install-m4
24977 maybe-install-m4:
24978 @if m4
24979 maybe-install-m4: install-m4
24981 install-m4: installdirs
24982 @: $(MAKE); $(unstage)
24983 @r=`${PWD_COMMAND}`; export r; \
24984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24985 $(HOST_EXPORTS) \
24986 (cd $(HOST_SUBDIR)/m4 && \
24987 $(MAKE) $(FLAGS_TO_PASS) install)
24989 @endif m4
24991 .PHONY: install-strip-m4 maybe-install-strip-m4
24992 maybe-install-strip-m4:
24993 @if m4
24994 maybe-install-strip-m4: install-strip-m4
24996 install-strip-m4: installdirs
24997 @: $(MAKE); $(unstage)
24998 @r=`${PWD_COMMAND}`; export r; \
24999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25000 $(HOST_EXPORTS) \
25001 (cd $(HOST_SUBDIR)/m4 && \
25002 $(MAKE) $(FLAGS_TO_PASS) install-strip)
25004 @endif m4
25006 # Other targets (info, dvi, pdf, etc.)
25008 .PHONY: maybe-info-m4 info-m4
25009 maybe-info-m4:
25010 @if m4
25011 maybe-info-m4: info-m4
25013 info-m4: \
25014 configure-m4
25015 @: $(MAKE); $(unstage)
25016 @[ -f ./m4/Makefile ] || exit 0; \
25017 r=`${PWD_COMMAND}`; export r; \
25018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25019 $(HOST_EXPORTS) \
25020 for flag in $(EXTRA_HOST_FLAGS) ; do \
25021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25022 done; \
25023 echo "Doing info in m4"; \
25024 (cd $(HOST_SUBDIR)/m4 && \
25025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25027 "RANLIB=$${RANLIB}" \
25028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25029 info) \
25030 || exit 1
25032 @endif m4
25034 .PHONY: maybe-dvi-m4 dvi-m4
25035 maybe-dvi-m4:
25036 @if m4
25037 maybe-dvi-m4: dvi-m4
25039 dvi-m4: \
25040 configure-m4
25041 @: $(MAKE); $(unstage)
25042 @[ -f ./m4/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 dvi in m4"; \
25050 (cd $(HOST_SUBDIR)/m4 && \
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 dvi) \
25056 || exit 1
25058 @endif m4
25060 .PHONY: maybe-pdf-m4 pdf-m4
25061 maybe-pdf-m4:
25062 @if m4
25063 maybe-pdf-m4: pdf-m4
25065 pdf-m4: \
25066 configure-m4
25067 @: $(MAKE); $(unstage)
25068 @[ -f ./m4/Makefile ] || exit 0; \
25069 r=`${PWD_COMMAND}`; export r; \
25070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25071 $(HOST_EXPORTS) \
25072 for flag in $(EXTRA_HOST_FLAGS) ; do \
25073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25074 done; \
25075 echo "Doing pdf in m4"; \
25076 (cd $(HOST_SUBDIR)/m4 && \
25077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25079 "RANLIB=$${RANLIB}" \
25080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25081 pdf) \
25082 || exit 1
25084 @endif m4
25086 .PHONY: maybe-html-m4 html-m4
25087 maybe-html-m4:
25088 @if m4
25089 maybe-html-m4: html-m4
25091 html-m4: \
25092 configure-m4
25093 @: $(MAKE); $(unstage)
25094 @[ -f ./m4/Makefile ] || exit 0; \
25095 r=`${PWD_COMMAND}`; export r; \
25096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25097 $(HOST_EXPORTS) \
25098 for flag in $(EXTRA_HOST_FLAGS) ; do \
25099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25100 done; \
25101 echo "Doing html in m4"; \
25102 (cd $(HOST_SUBDIR)/m4 && \
25103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25105 "RANLIB=$${RANLIB}" \
25106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25107 html) \
25108 || exit 1
25110 @endif m4
25112 .PHONY: maybe-TAGS-m4 TAGS-m4
25113 maybe-TAGS-m4:
25114 @if m4
25115 maybe-TAGS-m4: TAGS-m4
25117 TAGS-m4: \
25118 configure-m4
25119 @: $(MAKE); $(unstage)
25120 @[ -f ./m4/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 TAGS in m4"; \
25128 (cd $(HOST_SUBDIR)/m4 && \
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 TAGS) \
25134 || exit 1
25136 @endif m4
25138 .PHONY: maybe-install-info-m4 install-info-m4
25139 maybe-install-info-m4:
25140 @if m4
25141 maybe-install-info-m4: install-info-m4
25143 install-info-m4: \
25144 configure-m4 \
25145 info-m4
25146 @: $(MAKE); $(unstage)
25147 @[ -f ./m4/Makefile ] || exit 0; \
25148 r=`${PWD_COMMAND}`; export r; \
25149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25150 $(HOST_EXPORTS) \
25151 for flag in $(EXTRA_HOST_FLAGS) ; do \
25152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25153 done; \
25154 echo "Doing install-info in m4"; \
25155 (cd $(HOST_SUBDIR)/m4 && \
25156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25158 "RANLIB=$${RANLIB}" \
25159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25160 install-info) \
25161 || exit 1
25163 @endif m4
25165 .PHONY: maybe-install-pdf-m4 install-pdf-m4
25166 maybe-install-pdf-m4:
25167 @if m4
25168 maybe-install-pdf-m4: install-pdf-m4
25170 install-pdf-m4: \
25171 configure-m4 \
25172 pdf-m4
25173 @: $(MAKE); $(unstage)
25174 @[ -f ./m4/Makefile ] || exit 0; \
25175 r=`${PWD_COMMAND}`; export r; \
25176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25177 $(HOST_EXPORTS) \
25178 for flag in $(EXTRA_HOST_FLAGS) ; do \
25179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25180 done; \
25181 echo "Doing install-pdf in m4"; \
25182 (cd $(HOST_SUBDIR)/m4 && \
25183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25185 "RANLIB=$${RANLIB}" \
25186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25187 install-pdf) \
25188 || exit 1
25190 @endif m4
25192 .PHONY: maybe-install-html-m4 install-html-m4
25193 maybe-install-html-m4:
25194 @if m4
25195 maybe-install-html-m4: install-html-m4
25197 install-html-m4: \
25198 configure-m4 \
25199 html-m4
25200 @: $(MAKE); $(unstage)
25201 @[ -f ./m4/Makefile ] || exit 0; \
25202 r=`${PWD_COMMAND}`; export r; \
25203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25204 $(HOST_EXPORTS) \
25205 for flag in $(EXTRA_HOST_FLAGS) ; do \
25206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25207 done; \
25208 echo "Doing install-html in m4"; \
25209 (cd $(HOST_SUBDIR)/m4 && \
25210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25212 "RANLIB=$${RANLIB}" \
25213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25214 install-html) \
25215 || exit 1
25217 @endif m4
25219 .PHONY: maybe-installcheck-m4 installcheck-m4
25220 maybe-installcheck-m4:
25221 @if m4
25222 maybe-installcheck-m4: installcheck-m4
25224 installcheck-m4: \
25225 configure-m4
25226 @: $(MAKE); $(unstage)
25227 @[ -f ./m4/Makefile ] || exit 0; \
25228 r=`${PWD_COMMAND}`; export r; \
25229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25230 $(HOST_EXPORTS) \
25231 for flag in $(EXTRA_HOST_FLAGS) ; do \
25232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25233 done; \
25234 echo "Doing installcheck in m4"; \
25235 (cd $(HOST_SUBDIR)/m4 && \
25236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25238 "RANLIB=$${RANLIB}" \
25239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25240 installcheck) \
25241 || exit 1
25243 @endif m4
25245 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
25246 maybe-mostlyclean-m4:
25247 @if m4
25248 maybe-mostlyclean-m4: mostlyclean-m4
25250 mostlyclean-m4:
25251 @: $(MAKE); $(unstage)
25252 @[ -f ./m4/Makefile ] || exit 0; \
25253 r=`${PWD_COMMAND}`; export r; \
25254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25255 $(HOST_EXPORTS) \
25256 for flag in $(EXTRA_HOST_FLAGS) ; do \
25257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25258 done; \
25259 echo "Doing mostlyclean in m4"; \
25260 (cd $(HOST_SUBDIR)/m4 && \
25261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25263 "RANLIB=$${RANLIB}" \
25264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25265 mostlyclean) \
25266 || exit 1
25268 @endif m4
25270 .PHONY: maybe-clean-m4 clean-m4
25271 maybe-clean-m4:
25272 @if m4
25273 maybe-clean-m4: clean-m4
25275 clean-m4:
25276 @: $(MAKE); $(unstage)
25277 @[ -f ./m4/Makefile ] || exit 0; \
25278 r=`${PWD_COMMAND}`; export r; \
25279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25280 $(HOST_EXPORTS) \
25281 for flag in $(EXTRA_HOST_FLAGS) ; do \
25282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25283 done; \
25284 echo "Doing clean in m4"; \
25285 (cd $(HOST_SUBDIR)/m4 && \
25286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25288 "RANLIB=$${RANLIB}" \
25289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25290 clean) \
25291 || exit 1
25293 @endif m4
25295 .PHONY: maybe-distclean-m4 distclean-m4
25296 maybe-distclean-m4:
25297 @if m4
25298 maybe-distclean-m4: distclean-m4
25300 distclean-m4:
25301 @: $(MAKE); $(unstage)
25302 @[ -f ./m4/Makefile ] || exit 0; \
25303 r=`${PWD_COMMAND}`; export r; \
25304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25305 $(HOST_EXPORTS) \
25306 for flag in $(EXTRA_HOST_FLAGS) ; do \
25307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25308 done; \
25309 echo "Doing distclean in m4"; \
25310 (cd $(HOST_SUBDIR)/m4 && \
25311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25313 "RANLIB=$${RANLIB}" \
25314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25315 distclean) \
25316 || exit 1
25318 @endif m4
25320 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
25321 maybe-maintainer-clean-m4:
25322 @if m4
25323 maybe-maintainer-clean-m4: maintainer-clean-m4
25325 maintainer-clean-m4:
25326 @: $(MAKE); $(unstage)
25327 @[ -f ./m4/Makefile ] || exit 0; \
25328 r=`${PWD_COMMAND}`; export r; \
25329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25330 $(HOST_EXPORTS) \
25331 for flag in $(EXTRA_HOST_FLAGS) ; do \
25332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25333 done; \
25334 echo "Doing maintainer-clean in m4"; \
25335 (cd $(HOST_SUBDIR)/m4 && \
25336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25338 "RANLIB=$${RANLIB}" \
25339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25340 maintainer-clean) \
25341 || exit 1
25343 @endif m4
25347 .PHONY: configure-readline maybe-configure-readline
25348 maybe-configure-readline:
25349 @if gcc-bootstrap
25350 configure-readline: stage_current
25351 @endif gcc-bootstrap
25352 @if readline
25353 maybe-configure-readline: configure-readline
25354 configure-readline:
25355 @: $(MAKE); $(unstage)
25356 @r=`${PWD_COMMAND}`; export r; \
25357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25358 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
25359 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline; \
25360 $(HOST_EXPORTS) \
25361 echo Configuring in $(HOST_SUBDIR)/readline; \
25362 cd "$(HOST_SUBDIR)/readline" || exit 1; \
25363 case $(srcdir) in \
25364 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25365 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
25366 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25367 esac; \
25368 module_srcdir=readline; \
25369 $(SHELL) \
25370 $$s/$$module_srcdir/configure \
25371 --srcdir=$${topdir}/$$module_srcdir \
25372 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25373 --target=${target_alias} \
25374 || exit 1
25375 @endif readline
25381 .PHONY: all-readline maybe-all-readline
25382 maybe-all-readline:
25383 @if gcc-bootstrap
25384 all-readline: stage_current
25385 @endif gcc-bootstrap
25386 @if readline
25387 TARGET-readline=all
25388 maybe-all-readline: all-readline
25389 all-readline: configure-readline
25390 @: $(MAKE); $(unstage)
25391 @r=`${PWD_COMMAND}`; export r; \
25392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25393 $(HOST_EXPORTS) \
25394 (cd $(HOST_SUBDIR)/readline && \
25395 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25396 $(TARGET-readline))
25397 @endif readline
25402 .PHONY: check-readline maybe-check-readline
25403 maybe-check-readline:
25404 @if readline
25405 maybe-check-readline: check-readline
25407 check-readline:
25408 @: $(MAKE); $(unstage)
25409 @r=`${PWD_COMMAND}`; export r; \
25410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25411 $(HOST_EXPORTS) \
25412 (cd $(HOST_SUBDIR)/readline && \
25413 $(MAKE) $(FLAGS_TO_PASS) check)
25415 @endif readline
25417 .PHONY: install-readline maybe-install-readline
25418 maybe-install-readline:
25419 @if readline
25420 maybe-install-readline: install-readline
25422 install-readline: installdirs
25423 @: $(MAKE); $(unstage)
25424 @r=`${PWD_COMMAND}`; export r; \
25425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25426 $(HOST_EXPORTS) \
25427 (cd $(HOST_SUBDIR)/readline && \
25428 $(MAKE) $(FLAGS_TO_PASS) install)
25430 @endif readline
25432 .PHONY: install-strip-readline maybe-install-strip-readline
25433 maybe-install-strip-readline:
25434 @if readline
25435 maybe-install-strip-readline: install-strip-readline
25437 install-strip-readline: installdirs
25438 @: $(MAKE); $(unstage)
25439 @r=`${PWD_COMMAND}`; export r; \
25440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25441 $(HOST_EXPORTS) \
25442 (cd $(HOST_SUBDIR)/readline && \
25443 $(MAKE) $(FLAGS_TO_PASS) install-strip)
25445 @endif readline
25447 # Other targets (info, dvi, pdf, etc.)
25449 .PHONY: maybe-info-readline info-readline
25450 maybe-info-readline:
25451 @if readline
25452 maybe-info-readline: info-readline
25454 info-readline: \
25455 configure-readline
25456 @: $(MAKE); $(unstage)
25457 @[ -f ./readline/Makefile ] || exit 0; \
25458 r=`${PWD_COMMAND}`; export r; \
25459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25460 $(HOST_EXPORTS) \
25461 for flag in $(EXTRA_HOST_FLAGS) ; do \
25462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25463 done; \
25464 echo "Doing info in readline"; \
25465 (cd $(HOST_SUBDIR)/readline && \
25466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25468 "RANLIB=$${RANLIB}" \
25469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25470 info) \
25471 || exit 1
25473 @endif readline
25475 .PHONY: maybe-dvi-readline dvi-readline
25476 maybe-dvi-readline:
25477 @if readline
25478 maybe-dvi-readline: dvi-readline
25480 dvi-readline: \
25481 configure-readline
25482 @: $(MAKE); $(unstage)
25483 @[ -f ./readline/Makefile ] || exit 0; \
25484 r=`${PWD_COMMAND}`; export r; \
25485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25486 $(HOST_EXPORTS) \
25487 for flag in $(EXTRA_HOST_FLAGS) ; do \
25488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25489 done; \
25490 echo "Doing dvi in readline"; \
25491 (cd $(HOST_SUBDIR)/readline && \
25492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25494 "RANLIB=$${RANLIB}" \
25495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25496 dvi) \
25497 || exit 1
25499 @endif readline
25501 .PHONY: maybe-pdf-readline pdf-readline
25502 maybe-pdf-readline:
25503 @if readline
25504 maybe-pdf-readline: pdf-readline
25506 pdf-readline: \
25507 configure-readline
25508 @: $(MAKE); $(unstage)
25509 @[ -f ./readline/Makefile ] || exit 0; \
25510 r=`${PWD_COMMAND}`; export r; \
25511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25512 $(HOST_EXPORTS) \
25513 for flag in $(EXTRA_HOST_FLAGS) ; do \
25514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25515 done; \
25516 echo "Doing pdf in readline"; \
25517 (cd $(HOST_SUBDIR)/readline && \
25518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25520 "RANLIB=$${RANLIB}" \
25521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25522 pdf) \
25523 || exit 1
25525 @endif readline
25527 .PHONY: maybe-html-readline html-readline
25528 maybe-html-readline:
25529 @if readline
25530 maybe-html-readline: html-readline
25532 html-readline: \
25533 configure-readline
25534 @: $(MAKE); $(unstage)
25535 @[ -f ./readline/Makefile ] || exit 0; \
25536 r=`${PWD_COMMAND}`; export r; \
25537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25538 $(HOST_EXPORTS) \
25539 for flag in $(EXTRA_HOST_FLAGS) ; do \
25540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25541 done; \
25542 echo "Doing html in readline"; \
25543 (cd $(HOST_SUBDIR)/readline && \
25544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25546 "RANLIB=$${RANLIB}" \
25547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25548 html) \
25549 || exit 1
25551 @endif readline
25553 .PHONY: maybe-TAGS-readline TAGS-readline
25554 maybe-TAGS-readline:
25555 @if readline
25556 maybe-TAGS-readline: TAGS-readline
25558 TAGS-readline: \
25559 configure-readline
25560 @: $(MAKE); $(unstage)
25561 @[ -f ./readline/Makefile ] || exit 0; \
25562 r=`${PWD_COMMAND}`; export r; \
25563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25564 $(HOST_EXPORTS) \
25565 for flag in $(EXTRA_HOST_FLAGS) ; do \
25566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25567 done; \
25568 echo "Doing TAGS in readline"; \
25569 (cd $(HOST_SUBDIR)/readline && \
25570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25572 "RANLIB=$${RANLIB}" \
25573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25574 TAGS) \
25575 || exit 1
25577 @endif readline
25579 .PHONY: maybe-install-info-readline install-info-readline
25580 maybe-install-info-readline:
25581 @if readline
25582 maybe-install-info-readline: install-info-readline
25584 install-info-readline: \
25585 configure-readline \
25586 info-readline
25587 @: $(MAKE); $(unstage)
25588 @[ -f ./readline/Makefile ] || exit 0; \
25589 r=`${PWD_COMMAND}`; export r; \
25590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25591 $(HOST_EXPORTS) \
25592 for flag in $(EXTRA_HOST_FLAGS) ; do \
25593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25594 done; \
25595 echo "Doing install-info in readline"; \
25596 (cd $(HOST_SUBDIR)/readline && \
25597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25599 "RANLIB=$${RANLIB}" \
25600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25601 install-info) \
25602 || exit 1
25604 @endif readline
25606 .PHONY: maybe-install-pdf-readline install-pdf-readline
25607 maybe-install-pdf-readline:
25608 @if readline
25609 maybe-install-pdf-readline: install-pdf-readline
25611 install-pdf-readline: \
25612 configure-readline \
25613 pdf-readline
25614 @: $(MAKE); $(unstage)
25615 @[ -f ./readline/Makefile ] || exit 0; \
25616 r=`${PWD_COMMAND}`; export r; \
25617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25618 $(HOST_EXPORTS) \
25619 for flag in $(EXTRA_HOST_FLAGS) ; do \
25620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25621 done; \
25622 echo "Doing install-pdf in readline"; \
25623 (cd $(HOST_SUBDIR)/readline && \
25624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25626 "RANLIB=$${RANLIB}" \
25627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25628 install-pdf) \
25629 || exit 1
25631 @endif readline
25633 .PHONY: maybe-install-html-readline install-html-readline
25634 maybe-install-html-readline:
25635 @if readline
25636 maybe-install-html-readline: install-html-readline
25638 install-html-readline: \
25639 configure-readline \
25640 html-readline
25641 @: $(MAKE); $(unstage)
25642 @[ -f ./readline/Makefile ] || exit 0; \
25643 r=`${PWD_COMMAND}`; export r; \
25644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25645 $(HOST_EXPORTS) \
25646 for flag in $(EXTRA_HOST_FLAGS) ; do \
25647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25648 done; \
25649 echo "Doing install-html in readline"; \
25650 (cd $(HOST_SUBDIR)/readline && \
25651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25653 "RANLIB=$${RANLIB}" \
25654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25655 install-html) \
25656 || exit 1
25658 @endif readline
25660 .PHONY: maybe-installcheck-readline installcheck-readline
25661 maybe-installcheck-readline:
25662 @if readline
25663 maybe-installcheck-readline: installcheck-readline
25665 installcheck-readline: \
25666 configure-readline
25667 @: $(MAKE); $(unstage)
25668 @[ -f ./readline/Makefile ] || exit 0; \
25669 r=`${PWD_COMMAND}`; export r; \
25670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25671 $(HOST_EXPORTS) \
25672 for flag in $(EXTRA_HOST_FLAGS) ; do \
25673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25674 done; \
25675 echo "Doing installcheck in readline"; \
25676 (cd $(HOST_SUBDIR)/readline && \
25677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25679 "RANLIB=$${RANLIB}" \
25680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25681 installcheck) \
25682 || exit 1
25684 @endif readline
25686 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
25687 maybe-mostlyclean-readline:
25688 @if readline
25689 maybe-mostlyclean-readline: mostlyclean-readline
25691 mostlyclean-readline:
25692 @: $(MAKE); $(unstage)
25693 @[ -f ./readline/Makefile ] || exit 0; \
25694 r=`${PWD_COMMAND}`; export r; \
25695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25696 $(HOST_EXPORTS) \
25697 for flag in $(EXTRA_HOST_FLAGS) ; do \
25698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25699 done; \
25700 echo "Doing mostlyclean in readline"; \
25701 (cd $(HOST_SUBDIR)/readline && \
25702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25704 "RANLIB=$${RANLIB}" \
25705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25706 mostlyclean) \
25707 || exit 1
25709 @endif readline
25711 .PHONY: maybe-clean-readline clean-readline
25712 maybe-clean-readline:
25713 @if readline
25714 maybe-clean-readline: clean-readline
25716 clean-readline:
25717 @: $(MAKE); $(unstage)
25718 @[ -f ./readline/Makefile ] || exit 0; \
25719 r=`${PWD_COMMAND}`; export r; \
25720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25721 $(HOST_EXPORTS) \
25722 for flag in $(EXTRA_HOST_FLAGS) ; do \
25723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25724 done; \
25725 echo "Doing clean in readline"; \
25726 (cd $(HOST_SUBDIR)/readline && \
25727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25729 "RANLIB=$${RANLIB}" \
25730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25731 clean) \
25732 || exit 1
25734 @endif readline
25736 .PHONY: maybe-distclean-readline distclean-readline
25737 maybe-distclean-readline:
25738 @if readline
25739 maybe-distclean-readline: distclean-readline
25741 distclean-readline:
25742 @: $(MAKE); $(unstage)
25743 @[ -f ./readline/Makefile ] || exit 0; \
25744 r=`${PWD_COMMAND}`; export r; \
25745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25746 $(HOST_EXPORTS) \
25747 for flag in $(EXTRA_HOST_FLAGS) ; do \
25748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25749 done; \
25750 echo "Doing distclean in readline"; \
25751 (cd $(HOST_SUBDIR)/readline && \
25752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25754 "RANLIB=$${RANLIB}" \
25755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25756 distclean) \
25757 || exit 1
25759 @endif readline
25761 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
25762 maybe-maintainer-clean-readline:
25763 @if readline
25764 maybe-maintainer-clean-readline: maintainer-clean-readline
25766 maintainer-clean-readline:
25767 @: $(MAKE); $(unstage)
25768 @[ -f ./readline/Makefile ] || exit 0; \
25769 r=`${PWD_COMMAND}`; export r; \
25770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25771 $(HOST_EXPORTS) \
25772 for flag in $(EXTRA_HOST_FLAGS) ; do \
25773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25774 done; \
25775 echo "Doing maintainer-clean in readline"; \
25776 (cd $(HOST_SUBDIR)/readline && \
25777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25779 "RANLIB=$${RANLIB}" \
25780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25781 maintainer-clean) \
25782 || exit 1
25784 @endif readline
25788 .PHONY: configure-sid maybe-configure-sid
25789 maybe-configure-sid:
25790 @if gcc-bootstrap
25791 configure-sid: stage_current
25792 @endif gcc-bootstrap
25793 @if sid
25794 maybe-configure-sid: configure-sid
25795 configure-sid:
25796 @: $(MAKE); $(unstage)
25797 @r=`${PWD_COMMAND}`; export r; \
25798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25799 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
25800 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid; \
25801 $(HOST_EXPORTS) \
25802 echo Configuring in $(HOST_SUBDIR)/sid; \
25803 cd "$(HOST_SUBDIR)/sid" || exit 1; \
25804 case $(srcdir) in \
25805 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25806 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
25807 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25808 esac; \
25809 module_srcdir=sid; \
25810 $(SHELL) \
25811 $$s/$$module_srcdir/configure \
25812 --srcdir=$${topdir}/$$module_srcdir \
25813 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25814 --target=${target_alias} \
25815 || exit 1
25816 @endif sid
25822 .PHONY: all-sid maybe-all-sid
25823 maybe-all-sid:
25824 @if gcc-bootstrap
25825 all-sid: stage_current
25826 @endif gcc-bootstrap
25827 @if sid
25828 TARGET-sid=all
25829 maybe-all-sid: all-sid
25830 all-sid: configure-sid
25831 @: $(MAKE); $(unstage)
25832 @r=`${PWD_COMMAND}`; export r; \
25833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25834 $(HOST_EXPORTS) \
25835 (cd $(HOST_SUBDIR)/sid && \
25836 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25837 $(TARGET-sid))
25838 @endif sid
25843 .PHONY: check-sid maybe-check-sid
25844 maybe-check-sid:
25845 @if sid
25846 maybe-check-sid: check-sid
25848 check-sid:
25849 @: $(MAKE); $(unstage)
25850 @r=`${PWD_COMMAND}`; export r; \
25851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25852 $(HOST_EXPORTS) \
25853 (cd $(HOST_SUBDIR)/sid && \
25854 $(MAKE) $(FLAGS_TO_PASS) check)
25856 @endif sid
25858 .PHONY: install-sid maybe-install-sid
25859 maybe-install-sid:
25860 @if sid
25861 maybe-install-sid: install-sid
25863 install-sid: installdirs
25864 @: $(MAKE); $(unstage)
25865 @r=`${PWD_COMMAND}`; export r; \
25866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25867 $(HOST_EXPORTS) \
25868 (cd $(HOST_SUBDIR)/sid && \
25869 $(MAKE) $(FLAGS_TO_PASS) install)
25871 @endif sid
25873 .PHONY: install-strip-sid maybe-install-strip-sid
25874 maybe-install-strip-sid:
25875 @if sid
25876 maybe-install-strip-sid: install-strip-sid
25878 install-strip-sid: installdirs
25879 @: $(MAKE); $(unstage)
25880 @r=`${PWD_COMMAND}`; export r; \
25881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25882 $(HOST_EXPORTS) \
25883 (cd $(HOST_SUBDIR)/sid && \
25884 $(MAKE) $(FLAGS_TO_PASS) install-strip)
25886 @endif sid
25888 # Other targets (info, dvi, pdf, etc.)
25890 .PHONY: maybe-info-sid info-sid
25891 maybe-info-sid:
25892 @if sid
25893 maybe-info-sid: info-sid
25895 info-sid: \
25896 configure-sid
25897 @: $(MAKE); $(unstage)
25898 @[ -f ./sid/Makefile ] || exit 0; \
25899 r=`${PWD_COMMAND}`; export r; \
25900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25901 $(HOST_EXPORTS) \
25902 for flag in $(EXTRA_HOST_FLAGS) ; do \
25903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25904 done; \
25905 echo "Doing info in sid"; \
25906 (cd $(HOST_SUBDIR)/sid && \
25907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25909 "RANLIB=$${RANLIB}" \
25910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25911 info) \
25912 || exit 1
25914 @endif sid
25916 .PHONY: maybe-dvi-sid dvi-sid
25917 maybe-dvi-sid:
25918 @if sid
25919 maybe-dvi-sid: dvi-sid
25921 dvi-sid: \
25922 configure-sid
25923 @: $(MAKE); $(unstage)
25924 @[ -f ./sid/Makefile ] || exit 0; \
25925 r=`${PWD_COMMAND}`; export r; \
25926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25927 $(HOST_EXPORTS) \
25928 for flag in $(EXTRA_HOST_FLAGS) ; do \
25929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25930 done; \
25931 echo "Doing dvi in sid"; \
25932 (cd $(HOST_SUBDIR)/sid && \
25933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25935 "RANLIB=$${RANLIB}" \
25936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25937 dvi) \
25938 || exit 1
25940 @endif sid
25942 .PHONY: maybe-pdf-sid pdf-sid
25943 maybe-pdf-sid:
25944 @if sid
25945 maybe-pdf-sid: pdf-sid
25947 pdf-sid: \
25948 configure-sid
25949 @: $(MAKE); $(unstage)
25950 @[ -f ./sid/Makefile ] || exit 0; \
25951 r=`${PWD_COMMAND}`; export r; \
25952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25953 $(HOST_EXPORTS) \
25954 for flag in $(EXTRA_HOST_FLAGS) ; do \
25955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25956 done; \
25957 echo "Doing pdf in sid"; \
25958 (cd $(HOST_SUBDIR)/sid && \
25959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25961 "RANLIB=$${RANLIB}" \
25962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25963 pdf) \
25964 || exit 1
25966 @endif sid
25968 .PHONY: maybe-html-sid html-sid
25969 maybe-html-sid:
25970 @if sid
25971 maybe-html-sid: html-sid
25973 html-sid: \
25974 configure-sid
25975 @: $(MAKE); $(unstage)
25976 @[ -f ./sid/Makefile ] || exit 0; \
25977 r=`${PWD_COMMAND}`; export r; \
25978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25979 $(HOST_EXPORTS) \
25980 for flag in $(EXTRA_HOST_FLAGS) ; do \
25981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25982 done; \
25983 echo "Doing html in sid"; \
25984 (cd $(HOST_SUBDIR)/sid && \
25985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25987 "RANLIB=$${RANLIB}" \
25988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25989 html) \
25990 || exit 1
25992 @endif sid
25994 .PHONY: maybe-TAGS-sid TAGS-sid
25995 maybe-TAGS-sid:
25996 @if sid
25997 maybe-TAGS-sid: TAGS-sid
25999 TAGS-sid: \
26000 configure-sid
26001 @: $(MAKE); $(unstage)
26002 @[ -f ./sid/Makefile ] || exit 0; \
26003 r=`${PWD_COMMAND}`; export r; \
26004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26005 $(HOST_EXPORTS) \
26006 for flag in $(EXTRA_HOST_FLAGS) ; do \
26007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26008 done; \
26009 echo "Doing TAGS in sid"; \
26010 (cd $(HOST_SUBDIR)/sid && \
26011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26013 "RANLIB=$${RANLIB}" \
26014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26015 TAGS) \
26016 || exit 1
26018 @endif sid
26020 .PHONY: maybe-install-info-sid install-info-sid
26021 maybe-install-info-sid:
26022 @if sid
26023 maybe-install-info-sid: install-info-sid
26025 install-info-sid: \
26026 configure-sid \
26027 info-sid
26028 @: $(MAKE); $(unstage)
26029 @[ -f ./sid/Makefile ] || exit 0; \
26030 r=`${PWD_COMMAND}`; export r; \
26031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26032 $(HOST_EXPORTS) \
26033 for flag in $(EXTRA_HOST_FLAGS) ; do \
26034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26035 done; \
26036 echo "Doing install-info in sid"; \
26037 (cd $(HOST_SUBDIR)/sid && \
26038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26040 "RANLIB=$${RANLIB}" \
26041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26042 install-info) \
26043 || exit 1
26045 @endif sid
26047 .PHONY: maybe-install-pdf-sid install-pdf-sid
26048 maybe-install-pdf-sid:
26049 @if sid
26050 maybe-install-pdf-sid: install-pdf-sid
26052 install-pdf-sid: \
26053 configure-sid \
26054 pdf-sid
26055 @: $(MAKE); $(unstage)
26056 @[ -f ./sid/Makefile ] || exit 0; \
26057 r=`${PWD_COMMAND}`; export r; \
26058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26059 $(HOST_EXPORTS) \
26060 for flag in $(EXTRA_HOST_FLAGS) ; do \
26061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26062 done; \
26063 echo "Doing install-pdf in sid"; \
26064 (cd $(HOST_SUBDIR)/sid && \
26065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26067 "RANLIB=$${RANLIB}" \
26068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26069 install-pdf) \
26070 || exit 1
26072 @endif sid
26074 .PHONY: maybe-install-html-sid install-html-sid
26075 maybe-install-html-sid:
26076 @if sid
26077 maybe-install-html-sid: install-html-sid
26079 install-html-sid: \
26080 configure-sid \
26081 html-sid
26082 @: $(MAKE); $(unstage)
26083 @[ -f ./sid/Makefile ] || exit 0; \
26084 r=`${PWD_COMMAND}`; export r; \
26085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26086 $(HOST_EXPORTS) \
26087 for flag in $(EXTRA_HOST_FLAGS) ; do \
26088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26089 done; \
26090 echo "Doing install-html in sid"; \
26091 (cd $(HOST_SUBDIR)/sid && \
26092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26094 "RANLIB=$${RANLIB}" \
26095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26096 install-html) \
26097 || exit 1
26099 @endif sid
26101 .PHONY: maybe-installcheck-sid installcheck-sid
26102 maybe-installcheck-sid:
26103 @if sid
26104 maybe-installcheck-sid: installcheck-sid
26106 installcheck-sid: \
26107 configure-sid
26108 @: $(MAKE); $(unstage)
26109 @[ -f ./sid/Makefile ] || exit 0; \
26110 r=`${PWD_COMMAND}`; export r; \
26111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26112 $(HOST_EXPORTS) \
26113 for flag in $(EXTRA_HOST_FLAGS) ; do \
26114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26115 done; \
26116 echo "Doing installcheck in sid"; \
26117 (cd $(HOST_SUBDIR)/sid && \
26118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26120 "RANLIB=$${RANLIB}" \
26121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26122 installcheck) \
26123 || exit 1
26125 @endif sid
26127 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
26128 maybe-mostlyclean-sid:
26129 @if sid
26130 maybe-mostlyclean-sid: mostlyclean-sid
26132 mostlyclean-sid:
26133 @: $(MAKE); $(unstage)
26134 @[ -f ./sid/Makefile ] || exit 0; \
26135 r=`${PWD_COMMAND}`; export r; \
26136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26137 $(HOST_EXPORTS) \
26138 for flag in $(EXTRA_HOST_FLAGS) ; do \
26139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26140 done; \
26141 echo "Doing mostlyclean in sid"; \
26142 (cd $(HOST_SUBDIR)/sid && \
26143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26145 "RANLIB=$${RANLIB}" \
26146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26147 mostlyclean) \
26148 || exit 1
26150 @endif sid
26152 .PHONY: maybe-clean-sid clean-sid
26153 maybe-clean-sid:
26154 @if sid
26155 maybe-clean-sid: clean-sid
26157 clean-sid:
26158 @: $(MAKE); $(unstage)
26159 @[ -f ./sid/Makefile ] || exit 0; \
26160 r=`${PWD_COMMAND}`; export r; \
26161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26162 $(HOST_EXPORTS) \
26163 for flag in $(EXTRA_HOST_FLAGS) ; do \
26164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26165 done; \
26166 echo "Doing clean in sid"; \
26167 (cd $(HOST_SUBDIR)/sid && \
26168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26170 "RANLIB=$${RANLIB}" \
26171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26172 clean) \
26173 || exit 1
26175 @endif sid
26177 .PHONY: maybe-distclean-sid distclean-sid
26178 maybe-distclean-sid:
26179 @if sid
26180 maybe-distclean-sid: distclean-sid
26182 distclean-sid:
26183 @: $(MAKE); $(unstage)
26184 @[ -f ./sid/Makefile ] || exit 0; \
26185 r=`${PWD_COMMAND}`; export r; \
26186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26187 $(HOST_EXPORTS) \
26188 for flag in $(EXTRA_HOST_FLAGS) ; do \
26189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26190 done; \
26191 echo "Doing distclean in sid"; \
26192 (cd $(HOST_SUBDIR)/sid && \
26193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26195 "RANLIB=$${RANLIB}" \
26196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26197 distclean) \
26198 || exit 1
26200 @endif sid
26202 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
26203 maybe-maintainer-clean-sid:
26204 @if sid
26205 maybe-maintainer-clean-sid: maintainer-clean-sid
26207 maintainer-clean-sid:
26208 @: $(MAKE); $(unstage)
26209 @[ -f ./sid/Makefile ] || exit 0; \
26210 r=`${PWD_COMMAND}`; export r; \
26211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26212 $(HOST_EXPORTS) \
26213 for flag in $(EXTRA_HOST_FLAGS) ; do \
26214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26215 done; \
26216 echo "Doing maintainer-clean in sid"; \
26217 (cd $(HOST_SUBDIR)/sid && \
26218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26220 "RANLIB=$${RANLIB}" \
26221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26222 maintainer-clean) \
26223 || exit 1
26225 @endif sid
26229 .PHONY: configure-sim maybe-configure-sim
26230 maybe-configure-sim:
26231 @if gcc-bootstrap
26232 configure-sim: stage_current
26233 @endif gcc-bootstrap
26234 @if sim
26235 maybe-configure-sim: configure-sim
26236 configure-sim:
26237 @: $(MAKE); $(unstage)
26238 @r=`${PWD_COMMAND}`; export r; \
26239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26240 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
26241 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim; \
26242 $(HOST_EXPORTS) \
26243 echo Configuring in $(HOST_SUBDIR)/sim; \
26244 cd "$(HOST_SUBDIR)/sim" || exit 1; \
26245 case $(srcdir) in \
26246 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26247 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
26248 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26249 esac; \
26250 module_srcdir=sim; \
26251 $(SHELL) \
26252 $$s/$$module_srcdir/configure \
26253 --srcdir=$${topdir}/$$module_srcdir \
26254 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26255 --target=${target_alias} \
26256 || exit 1
26257 @endif sim
26263 .PHONY: all-sim maybe-all-sim
26264 maybe-all-sim:
26265 @if gcc-bootstrap
26266 all-sim: stage_current
26267 @endif gcc-bootstrap
26268 @if sim
26269 TARGET-sim=all
26270 maybe-all-sim: all-sim
26271 all-sim: configure-sim
26272 @: $(MAKE); $(unstage)
26273 @r=`${PWD_COMMAND}`; export r; \
26274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26275 $(HOST_EXPORTS) \
26276 (cd $(HOST_SUBDIR)/sim && \
26277 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26278 $(TARGET-sim))
26279 @endif sim
26284 .PHONY: check-sim maybe-check-sim
26285 maybe-check-sim:
26286 @if sim
26287 maybe-check-sim: check-sim
26289 check-sim:
26290 @: $(MAKE); $(unstage)
26291 @r=`${PWD_COMMAND}`; export r; \
26292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26293 $(HOST_EXPORTS) \
26294 (cd $(HOST_SUBDIR)/sim && \
26295 $(MAKE) $(FLAGS_TO_PASS) check)
26297 @endif sim
26299 .PHONY: install-sim maybe-install-sim
26300 maybe-install-sim:
26301 @if sim
26302 maybe-install-sim: install-sim
26304 install-sim: installdirs
26305 @: $(MAKE); $(unstage)
26306 @r=`${PWD_COMMAND}`; export r; \
26307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26308 $(HOST_EXPORTS) \
26309 (cd $(HOST_SUBDIR)/sim && \
26310 $(MAKE) $(FLAGS_TO_PASS) install)
26312 @endif sim
26314 .PHONY: install-strip-sim maybe-install-strip-sim
26315 maybe-install-strip-sim:
26316 @if sim
26317 maybe-install-strip-sim: install-strip-sim
26319 install-strip-sim: installdirs
26320 @: $(MAKE); $(unstage)
26321 @r=`${PWD_COMMAND}`; export r; \
26322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26323 $(HOST_EXPORTS) \
26324 (cd $(HOST_SUBDIR)/sim && \
26325 $(MAKE) $(FLAGS_TO_PASS) install-strip)
26327 @endif sim
26329 # Other targets (info, dvi, pdf, etc.)
26331 .PHONY: maybe-info-sim info-sim
26332 maybe-info-sim:
26333 @if sim
26334 maybe-info-sim: info-sim
26336 info-sim: \
26337 configure-sim
26338 @: $(MAKE); $(unstage)
26339 @[ -f ./sim/Makefile ] || exit 0; \
26340 r=`${PWD_COMMAND}`; export r; \
26341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26342 $(HOST_EXPORTS) \
26343 for flag in $(EXTRA_HOST_FLAGS) ; do \
26344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26345 done; \
26346 echo "Doing info in sim"; \
26347 (cd $(HOST_SUBDIR)/sim && \
26348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26350 "RANLIB=$${RANLIB}" \
26351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26352 info) \
26353 || exit 1
26355 @endif sim
26357 .PHONY: maybe-dvi-sim dvi-sim
26358 maybe-dvi-sim:
26359 @if sim
26360 maybe-dvi-sim: dvi-sim
26362 dvi-sim: \
26363 configure-sim
26364 @: $(MAKE); $(unstage)
26365 @[ -f ./sim/Makefile ] || exit 0; \
26366 r=`${PWD_COMMAND}`; export r; \
26367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26368 $(HOST_EXPORTS) \
26369 for flag in $(EXTRA_HOST_FLAGS) ; do \
26370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26371 done; \
26372 echo "Doing dvi in sim"; \
26373 (cd $(HOST_SUBDIR)/sim && \
26374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26376 "RANLIB=$${RANLIB}" \
26377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26378 dvi) \
26379 || exit 1
26381 @endif sim
26383 .PHONY: maybe-pdf-sim pdf-sim
26384 maybe-pdf-sim:
26385 @if sim
26386 maybe-pdf-sim: pdf-sim
26388 pdf-sim: \
26389 configure-sim
26390 @: $(MAKE); $(unstage)
26391 @[ -f ./sim/Makefile ] || exit 0; \
26392 r=`${PWD_COMMAND}`; export r; \
26393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26394 $(HOST_EXPORTS) \
26395 for flag in $(EXTRA_HOST_FLAGS) ; do \
26396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26397 done; \
26398 echo "Doing pdf in sim"; \
26399 (cd $(HOST_SUBDIR)/sim && \
26400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26402 "RANLIB=$${RANLIB}" \
26403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26404 pdf) \
26405 || exit 1
26407 @endif sim
26409 .PHONY: maybe-html-sim html-sim
26410 maybe-html-sim:
26411 @if sim
26412 maybe-html-sim: html-sim
26414 html-sim: \
26415 configure-sim
26416 @: $(MAKE); $(unstage)
26417 @[ -f ./sim/Makefile ] || exit 0; \
26418 r=`${PWD_COMMAND}`; export r; \
26419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26420 $(HOST_EXPORTS) \
26421 for flag in $(EXTRA_HOST_FLAGS) ; do \
26422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26423 done; \
26424 echo "Doing html in sim"; \
26425 (cd $(HOST_SUBDIR)/sim && \
26426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26428 "RANLIB=$${RANLIB}" \
26429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26430 html) \
26431 || exit 1
26433 @endif sim
26435 .PHONY: maybe-TAGS-sim TAGS-sim
26436 maybe-TAGS-sim:
26437 @if sim
26438 maybe-TAGS-sim: TAGS-sim
26440 TAGS-sim: \
26441 configure-sim
26442 @: $(MAKE); $(unstage)
26443 @[ -f ./sim/Makefile ] || exit 0; \
26444 r=`${PWD_COMMAND}`; export r; \
26445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26446 $(HOST_EXPORTS) \
26447 for flag in $(EXTRA_HOST_FLAGS) ; do \
26448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26449 done; \
26450 echo "Doing TAGS in sim"; \
26451 (cd $(HOST_SUBDIR)/sim && \
26452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26454 "RANLIB=$${RANLIB}" \
26455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26456 TAGS) \
26457 || exit 1
26459 @endif sim
26461 .PHONY: maybe-install-info-sim install-info-sim
26462 maybe-install-info-sim:
26463 @if sim
26464 maybe-install-info-sim: install-info-sim
26466 install-info-sim: \
26467 configure-sim \
26468 info-sim
26469 @: $(MAKE); $(unstage)
26470 @[ -f ./sim/Makefile ] || exit 0; \
26471 r=`${PWD_COMMAND}`; export r; \
26472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26473 $(HOST_EXPORTS) \
26474 for flag in $(EXTRA_HOST_FLAGS) ; do \
26475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26476 done; \
26477 echo "Doing install-info in sim"; \
26478 (cd $(HOST_SUBDIR)/sim && \
26479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26481 "RANLIB=$${RANLIB}" \
26482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26483 install-info) \
26484 || exit 1
26486 @endif sim
26488 .PHONY: maybe-install-pdf-sim install-pdf-sim
26489 maybe-install-pdf-sim:
26490 @if sim
26491 maybe-install-pdf-sim: install-pdf-sim
26493 install-pdf-sim: \
26494 configure-sim \
26495 pdf-sim
26496 @: $(MAKE); $(unstage)
26497 @[ -f ./sim/Makefile ] || exit 0; \
26498 r=`${PWD_COMMAND}`; export r; \
26499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26500 $(HOST_EXPORTS) \
26501 for flag in $(EXTRA_HOST_FLAGS) ; do \
26502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26503 done; \
26504 echo "Doing install-pdf in sim"; \
26505 (cd $(HOST_SUBDIR)/sim && \
26506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26508 "RANLIB=$${RANLIB}" \
26509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26510 install-pdf) \
26511 || exit 1
26513 @endif sim
26515 .PHONY: maybe-install-html-sim install-html-sim
26516 maybe-install-html-sim:
26517 @if sim
26518 maybe-install-html-sim: install-html-sim
26520 install-html-sim: \
26521 configure-sim \
26522 html-sim
26523 @: $(MAKE); $(unstage)
26524 @[ -f ./sim/Makefile ] || exit 0; \
26525 r=`${PWD_COMMAND}`; export r; \
26526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26527 $(HOST_EXPORTS) \
26528 for flag in $(EXTRA_HOST_FLAGS) ; do \
26529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26530 done; \
26531 echo "Doing install-html in sim"; \
26532 (cd $(HOST_SUBDIR)/sim && \
26533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26535 "RANLIB=$${RANLIB}" \
26536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26537 install-html) \
26538 || exit 1
26540 @endif sim
26542 .PHONY: maybe-installcheck-sim installcheck-sim
26543 maybe-installcheck-sim:
26544 @if sim
26545 maybe-installcheck-sim: installcheck-sim
26547 installcheck-sim: \
26548 configure-sim
26549 @: $(MAKE); $(unstage)
26550 @[ -f ./sim/Makefile ] || exit 0; \
26551 r=`${PWD_COMMAND}`; export r; \
26552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26553 $(HOST_EXPORTS) \
26554 for flag in $(EXTRA_HOST_FLAGS) ; do \
26555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26556 done; \
26557 echo "Doing installcheck in sim"; \
26558 (cd $(HOST_SUBDIR)/sim && \
26559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26561 "RANLIB=$${RANLIB}" \
26562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26563 installcheck) \
26564 || exit 1
26566 @endif sim
26568 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
26569 maybe-mostlyclean-sim:
26570 @if sim
26571 maybe-mostlyclean-sim: mostlyclean-sim
26573 mostlyclean-sim:
26574 @: $(MAKE); $(unstage)
26575 @[ -f ./sim/Makefile ] || exit 0; \
26576 r=`${PWD_COMMAND}`; export r; \
26577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26578 $(HOST_EXPORTS) \
26579 for flag in $(EXTRA_HOST_FLAGS) ; do \
26580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26581 done; \
26582 echo "Doing mostlyclean in sim"; \
26583 (cd $(HOST_SUBDIR)/sim && \
26584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26586 "RANLIB=$${RANLIB}" \
26587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26588 mostlyclean) \
26589 || exit 1
26591 @endif sim
26593 .PHONY: maybe-clean-sim clean-sim
26594 maybe-clean-sim:
26595 @if sim
26596 maybe-clean-sim: clean-sim
26598 clean-sim:
26599 @: $(MAKE); $(unstage)
26600 @[ -f ./sim/Makefile ] || exit 0; \
26601 r=`${PWD_COMMAND}`; export r; \
26602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26603 $(HOST_EXPORTS) \
26604 for flag in $(EXTRA_HOST_FLAGS) ; do \
26605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26606 done; \
26607 echo "Doing clean in sim"; \
26608 (cd $(HOST_SUBDIR)/sim && \
26609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26611 "RANLIB=$${RANLIB}" \
26612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26613 clean) \
26614 || exit 1
26616 @endif sim
26618 .PHONY: maybe-distclean-sim distclean-sim
26619 maybe-distclean-sim:
26620 @if sim
26621 maybe-distclean-sim: distclean-sim
26623 distclean-sim:
26624 @: $(MAKE); $(unstage)
26625 @[ -f ./sim/Makefile ] || exit 0; \
26626 r=`${PWD_COMMAND}`; export r; \
26627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26628 $(HOST_EXPORTS) \
26629 for flag in $(EXTRA_HOST_FLAGS) ; do \
26630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26631 done; \
26632 echo "Doing distclean in sim"; \
26633 (cd $(HOST_SUBDIR)/sim && \
26634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26636 "RANLIB=$${RANLIB}" \
26637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26638 distclean) \
26639 || exit 1
26641 @endif sim
26643 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
26644 maybe-maintainer-clean-sim:
26645 @if sim
26646 maybe-maintainer-clean-sim: maintainer-clean-sim
26648 maintainer-clean-sim:
26649 @: $(MAKE); $(unstage)
26650 @[ -f ./sim/Makefile ] || exit 0; \
26651 r=`${PWD_COMMAND}`; export r; \
26652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26653 $(HOST_EXPORTS) \
26654 for flag in $(EXTRA_HOST_FLAGS) ; do \
26655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26656 done; \
26657 echo "Doing maintainer-clean in sim"; \
26658 (cd $(HOST_SUBDIR)/sim && \
26659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26661 "RANLIB=$${RANLIB}" \
26662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26663 maintainer-clean) \
26664 || exit 1
26666 @endif sim
26670 .PHONY: configure-texinfo maybe-configure-texinfo
26671 maybe-configure-texinfo:
26672 @if gcc-bootstrap
26673 configure-texinfo: stage_current
26674 @endif gcc-bootstrap
26675 @if texinfo
26676 maybe-configure-texinfo: configure-texinfo
26677 configure-texinfo:
26678 @: $(MAKE); $(unstage)
26679 @r=`${PWD_COMMAND}`; export r; \
26680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26681 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
26682 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo; \
26683 $(HOST_EXPORTS) \
26684 echo Configuring in $(HOST_SUBDIR)/texinfo; \
26685 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
26686 case $(srcdir) in \
26687 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26688 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
26689 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26690 esac; \
26691 module_srcdir=texinfo; \
26692 $(SHELL) \
26693 $$s/$$module_srcdir/configure \
26694 --srcdir=$${topdir}/$$module_srcdir \
26695 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26696 --target=${target_alias} \
26697 || exit 1
26698 @endif texinfo
26704 .PHONY: all-texinfo maybe-all-texinfo
26705 maybe-all-texinfo:
26706 @if gcc-bootstrap
26707 all-texinfo: stage_current
26708 @endif gcc-bootstrap
26709 @if texinfo
26710 TARGET-texinfo=all
26711 maybe-all-texinfo: all-texinfo
26712 all-texinfo: configure-texinfo
26713 @: $(MAKE); $(unstage)
26714 @r=`${PWD_COMMAND}`; export r; \
26715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26716 $(HOST_EXPORTS) \
26717 (cd $(HOST_SUBDIR)/texinfo && \
26718 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26719 $(TARGET-texinfo))
26720 @endif texinfo
26725 .PHONY: check-texinfo maybe-check-texinfo
26726 maybe-check-texinfo:
26727 @if texinfo
26728 maybe-check-texinfo: check-texinfo
26730 check-texinfo:
26731 @: $(MAKE); $(unstage)
26732 @r=`${PWD_COMMAND}`; export r; \
26733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26734 $(HOST_EXPORTS) \
26735 (cd $(HOST_SUBDIR)/texinfo && \
26736 $(MAKE) $(FLAGS_TO_PASS) check)
26738 @endif texinfo
26740 .PHONY: install-texinfo maybe-install-texinfo
26741 maybe-install-texinfo:
26742 @if texinfo
26743 maybe-install-texinfo: install-texinfo
26745 install-texinfo:
26747 @endif texinfo
26749 .PHONY: install-strip-texinfo maybe-install-strip-texinfo
26750 maybe-install-strip-texinfo:
26751 @if texinfo
26752 maybe-install-strip-texinfo: install-strip-texinfo
26754 install-strip-texinfo:
26756 @endif texinfo
26758 # Other targets (info, dvi, pdf, etc.)
26760 .PHONY: maybe-info-texinfo info-texinfo
26761 maybe-info-texinfo:
26762 @if texinfo
26763 maybe-info-texinfo: info-texinfo
26765 info-texinfo: \
26766 configure-texinfo
26767 @: $(MAKE); $(unstage)
26768 @[ -f ./texinfo/Makefile ] || exit 0; \
26769 r=`${PWD_COMMAND}`; export r; \
26770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26771 $(HOST_EXPORTS) \
26772 for flag in $(EXTRA_HOST_FLAGS) ; do \
26773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26774 done; \
26775 echo "Doing info in texinfo"; \
26776 (cd $(HOST_SUBDIR)/texinfo && \
26777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26779 "RANLIB=$${RANLIB}" \
26780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26781 info) \
26782 || exit 1
26784 @endif texinfo
26786 .PHONY: maybe-dvi-texinfo dvi-texinfo
26787 maybe-dvi-texinfo:
26788 @if texinfo
26789 maybe-dvi-texinfo: dvi-texinfo
26791 dvi-texinfo: \
26792 configure-texinfo
26793 @: $(MAKE); $(unstage)
26794 @[ -f ./texinfo/Makefile ] || exit 0; \
26795 r=`${PWD_COMMAND}`; export r; \
26796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26797 $(HOST_EXPORTS) \
26798 for flag in $(EXTRA_HOST_FLAGS) ; do \
26799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26800 done; \
26801 echo "Doing dvi in texinfo"; \
26802 (cd $(HOST_SUBDIR)/texinfo && \
26803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26805 "RANLIB=$${RANLIB}" \
26806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26807 dvi) \
26808 || exit 1
26810 @endif texinfo
26812 .PHONY: maybe-pdf-texinfo pdf-texinfo
26813 maybe-pdf-texinfo:
26814 @if texinfo
26815 maybe-pdf-texinfo: pdf-texinfo
26817 pdf-texinfo: \
26818 configure-texinfo
26819 @: $(MAKE); $(unstage)
26820 @[ -f ./texinfo/Makefile ] || exit 0; \
26821 r=`${PWD_COMMAND}`; export r; \
26822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26823 $(HOST_EXPORTS) \
26824 for flag in $(EXTRA_HOST_FLAGS) ; do \
26825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26826 done; \
26827 echo "Doing pdf in texinfo"; \
26828 (cd $(HOST_SUBDIR)/texinfo && \
26829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26831 "RANLIB=$${RANLIB}" \
26832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26833 pdf) \
26834 || exit 1
26836 @endif texinfo
26838 .PHONY: maybe-html-texinfo html-texinfo
26839 maybe-html-texinfo:
26840 @if texinfo
26841 maybe-html-texinfo: html-texinfo
26843 html-texinfo: \
26844 configure-texinfo
26845 @: $(MAKE); $(unstage)
26846 @[ -f ./texinfo/Makefile ] || exit 0; \
26847 r=`${PWD_COMMAND}`; export r; \
26848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26849 $(HOST_EXPORTS) \
26850 for flag in $(EXTRA_HOST_FLAGS) ; do \
26851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26852 done; \
26853 echo "Doing html in texinfo"; \
26854 (cd $(HOST_SUBDIR)/texinfo && \
26855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26857 "RANLIB=$${RANLIB}" \
26858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26859 html) \
26860 || exit 1
26862 @endif texinfo
26864 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
26865 maybe-TAGS-texinfo:
26866 @if texinfo
26867 maybe-TAGS-texinfo: TAGS-texinfo
26869 TAGS-texinfo: \
26870 configure-texinfo
26871 @: $(MAKE); $(unstage)
26872 @[ -f ./texinfo/Makefile ] || exit 0; \
26873 r=`${PWD_COMMAND}`; export r; \
26874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26875 $(HOST_EXPORTS) \
26876 for flag in $(EXTRA_HOST_FLAGS) ; do \
26877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26878 done; \
26879 echo "Doing TAGS in texinfo"; \
26880 (cd $(HOST_SUBDIR)/texinfo && \
26881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26883 "RANLIB=$${RANLIB}" \
26884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26885 TAGS) \
26886 || exit 1
26888 @endif texinfo
26890 .PHONY: maybe-install-info-texinfo install-info-texinfo
26891 maybe-install-info-texinfo:
26892 @if texinfo
26893 maybe-install-info-texinfo: install-info-texinfo
26895 install-info-texinfo: \
26896 configure-texinfo \
26897 info-texinfo
26898 @: $(MAKE); $(unstage)
26899 @[ -f ./texinfo/Makefile ] || exit 0; \
26900 r=`${PWD_COMMAND}`; export r; \
26901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26902 $(HOST_EXPORTS) \
26903 for flag in $(EXTRA_HOST_FLAGS) ; do \
26904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26905 done; \
26906 echo "Doing install-info in texinfo"; \
26907 (cd $(HOST_SUBDIR)/texinfo && \
26908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26910 "RANLIB=$${RANLIB}" \
26911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26912 install-info) \
26913 || exit 1
26915 @endif texinfo
26917 .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo
26918 maybe-install-pdf-texinfo:
26919 @if texinfo
26920 maybe-install-pdf-texinfo: install-pdf-texinfo
26922 install-pdf-texinfo: \
26923 configure-texinfo \
26924 pdf-texinfo
26925 @: $(MAKE); $(unstage)
26926 @[ -f ./texinfo/Makefile ] || exit 0; \
26927 r=`${PWD_COMMAND}`; export r; \
26928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26929 $(HOST_EXPORTS) \
26930 for flag in $(EXTRA_HOST_FLAGS) ; do \
26931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26932 done; \
26933 echo "Doing install-pdf in texinfo"; \
26934 (cd $(HOST_SUBDIR)/texinfo && \
26935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26937 "RANLIB=$${RANLIB}" \
26938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26939 install-pdf) \
26940 || exit 1
26942 @endif texinfo
26944 .PHONY: maybe-install-html-texinfo install-html-texinfo
26945 maybe-install-html-texinfo:
26946 @if texinfo
26947 maybe-install-html-texinfo: install-html-texinfo
26949 install-html-texinfo: \
26950 configure-texinfo \
26951 html-texinfo
26952 @: $(MAKE); $(unstage)
26953 @[ -f ./texinfo/Makefile ] || exit 0; \
26954 r=`${PWD_COMMAND}`; export r; \
26955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26956 $(HOST_EXPORTS) \
26957 for flag in $(EXTRA_HOST_FLAGS) ; do \
26958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26959 done; \
26960 echo "Doing install-html in texinfo"; \
26961 (cd $(HOST_SUBDIR)/texinfo && \
26962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26964 "RANLIB=$${RANLIB}" \
26965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26966 install-html) \
26967 || exit 1
26969 @endif texinfo
26971 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
26972 maybe-installcheck-texinfo:
26973 @if texinfo
26974 maybe-installcheck-texinfo: installcheck-texinfo
26976 installcheck-texinfo: \
26977 configure-texinfo
26978 @: $(MAKE); $(unstage)
26979 @[ -f ./texinfo/Makefile ] || exit 0; \
26980 r=`${PWD_COMMAND}`; export r; \
26981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26982 $(HOST_EXPORTS) \
26983 for flag in $(EXTRA_HOST_FLAGS) ; do \
26984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26985 done; \
26986 echo "Doing installcheck in texinfo"; \
26987 (cd $(HOST_SUBDIR)/texinfo && \
26988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26990 "RANLIB=$${RANLIB}" \
26991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26992 installcheck) \
26993 || exit 1
26995 @endif texinfo
26997 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
26998 maybe-mostlyclean-texinfo:
26999 @if texinfo
27000 maybe-mostlyclean-texinfo: mostlyclean-texinfo
27002 mostlyclean-texinfo:
27003 @: $(MAKE); $(unstage)
27004 @[ -f ./texinfo/Makefile ] || exit 0; \
27005 r=`${PWD_COMMAND}`; export r; \
27006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27007 $(HOST_EXPORTS) \
27008 for flag in $(EXTRA_HOST_FLAGS) ; do \
27009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27010 done; \
27011 echo "Doing mostlyclean in texinfo"; \
27012 (cd $(HOST_SUBDIR)/texinfo && \
27013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27015 "RANLIB=$${RANLIB}" \
27016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27017 mostlyclean) \
27018 || exit 1
27020 @endif texinfo
27022 .PHONY: maybe-clean-texinfo clean-texinfo
27023 maybe-clean-texinfo:
27024 @if texinfo
27025 maybe-clean-texinfo: clean-texinfo
27027 clean-texinfo:
27028 @: $(MAKE); $(unstage)
27029 @[ -f ./texinfo/Makefile ] || exit 0; \
27030 r=`${PWD_COMMAND}`; export r; \
27031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27032 $(HOST_EXPORTS) \
27033 for flag in $(EXTRA_HOST_FLAGS) ; do \
27034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27035 done; \
27036 echo "Doing clean in texinfo"; \
27037 (cd $(HOST_SUBDIR)/texinfo && \
27038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27040 "RANLIB=$${RANLIB}" \
27041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27042 clean) \
27043 || exit 1
27045 @endif texinfo
27047 .PHONY: maybe-distclean-texinfo distclean-texinfo
27048 maybe-distclean-texinfo:
27049 @if texinfo
27050 maybe-distclean-texinfo: distclean-texinfo
27052 distclean-texinfo:
27053 @: $(MAKE); $(unstage)
27054 @[ -f ./texinfo/Makefile ] || exit 0; \
27055 r=`${PWD_COMMAND}`; export r; \
27056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27057 $(HOST_EXPORTS) \
27058 for flag in $(EXTRA_HOST_FLAGS) ; do \
27059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27060 done; \
27061 echo "Doing distclean in texinfo"; \
27062 (cd $(HOST_SUBDIR)/texinfo && \
27063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27065 "RANLIB=$${RANLIB}" \
27066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27067 distclean) \
27068 || exit 1
27070 @endif texinfo
27072 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
27073 maybe-maintainer-clean-texinfo:
27074 @if texinfo
27075 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
27077 maintainer-clean-texinfo:
27078 @: $(MAKE); $(unstage)
27079 @[ -f ./texinfo/Makefile ] || exit 0; \
27080 r=`${PWD_COMMAND}`; export r; \
27081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27082 $(HOST_EXPORTS) \
27083 for flag in $(EXTRA_HOST_FLAGS) ; do \
27084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27085 done; \
27086 echo "Doing maintainer-clean in texinfo"; \
27087 (cd $(HOST_SUBDIR)/texinfo && \
27088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27090 "RANLIB=$${RANLIB}" \
27091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27092 maintainer-clean) \
27093 || exit 1
27095 @endif texinfo
27099 .PHONY: configure-zlib maybe-configure-zlib
27100 maybe-configure-zlib:
27101 @if gcc-bootstrap
27102 configure-zlib: stage_current
27103 @endif gcc-bootstrap
27104 @if zlib
27105 maybe-configure-zlib: configure-zlib
27106 configure-zlib:
27107 @r=`${PWD_COMMAND}`; export r; \
27108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27109 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
27110 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
27111 $(HOST_EXPORTS) \
27112 echo Configuring in $(HOST_SUBDIR)/zlib; \
27113 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
27114 case $(srcdir) in \
27115 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27116 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
27117 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27118 esac; \
27119 module_srcdir=zlib; \
27120 $(SHELL) \
27121 $$s/$$module_srcdir/configure \
27122 --srcdir=$${topdir}/$$module_srcdir \
27123 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27124 --target=${target_alias} @extra_host_zlib_configure_flags@ \
27125 || exit 1
27126 @endif zlib
27130 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
27131 maybe-configure-stage1-zlib:
27132 @if zlib-bootstrap
27133 maybe-configure-stage1-zlib: configure-stage1-zlib
27134 configure-stage1-zlib:
27135 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
27136 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
27137 @r=`${PWD_COMMAND}`; export r; \
27138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27139 TFLAGS="$(STAGE1_TFLAGS)"; \
27140 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
27141 $(HOST_EXPORTS) \
27142 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
27143 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
27144 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
27145 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib; \
27146 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
27147 cd $(HOST_SUBDIR)/zlib || exit 1; \
27148 case $(srcdir) in \
27149 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27150 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
27151 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27152 esac; \
27153 module_srcdir=zlib; \
27154 $(SHELL) $$s/$$module_srcdir/configure \
27155 --srcdir=$${topdir}/$$module_srcdir \
27156 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27157 --target=${target_alias} \
27159 $(STAGE1_CONFIGURE_FLAGS) \
27160 @extra_host_zlib_configure_flags@
27161 @endif zlib-bootstrap
27163 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
27164 maybe-configure-stage2-zlib:
27165 @if zlib-bootstrap
27166 maybe-configure-stage2-zlib: configure-stage2-zlib
27167 configure-stage2-zlib:
27168 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
27169 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
27170 @r=`${PWD_COMMAND}`; export r; \
27171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27172 TFLAGS="$(STAGE2_TFLAGS)"; \
27173 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
27174 $(HOST_EXPORTS) \
27175 $(POSTSTAGE1_HOST_EXPORTS) \
27176 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
27177 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
27178 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
27179 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib; \
27180 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
27181 cd $(HOST_SUBDIR)/zlib || exit 1; \
27182 case $(srcdir) in \
27183 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27184 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
27185 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27186 esac; \
27187 module_srcdir=zlib; \
27188 $(SHELL) $$s/$$module_srcdir/configure \
27189 --srcdir=$${topdir}/$$module_srcdir \
27190 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27191 --target=${target_alias} \
27192 --with-build-libsubdir=$(HOST_SUBDIR) \
27193 $(STAGE2_CONFIGURE_FLAGS) \
27194 @extra_host_zlib_configure_flags@
27195 @endif zlib-bootstrap
27197 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
27198 maybe-configure-stage3-zlib:
27199 @if zlib-bootstrap
27200 maybe-configure-stage3-zlib: configure-stage3-zlib
27201 configure-stage3-zlib:
27202 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
27203 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
27204 @r=`${PWD_COMMAND}`; export r; \
27205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27206 TFLAGS="$(STAGE3_TFLAGS)"; \
27207 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
27208 $(HOST_EXPORTS) \
27209 $(POSTSTAGE1_HOST_EXPORTS) \
27210 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
27211 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
27212 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
27213 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib; \
27214 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
27215 cd $(HOST_SUBDIR)/zlib || exit 1; \
27216 case $(srcdir) in \
27217 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27218 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
27219 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27220 esac; \
27221 module_srcdir=zlib; \
27222 $(SHELL) $$s/$$module_srcdir/configure \
27223 --srcdir=$${topdir}/$$module_srcdir \
27224 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27225 --target=${target_alias} \
27226 --with-build-libsubdir=$(HOST_SUBDIR) \
27227 $(STAGE3_CONFIGURE_FLAGS) \
27228 @extra_host_zlib_configure_flags@
27229 @endif zlib-bootstrap
27231 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
27232 maybe-configure-stage4-zlib:
27233 @if zlib-bootstrap
27234 maybe-configure-stage4-zlib: configure-stage4-zlib
27235 configure-stage4-zlib:
27236 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27237 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
27238 @r=`${PWD_COMMAND}`; export r; \
27239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27240 TFLAGS="$(STAGE4_TFLAGS)"; \
27241 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
27242 $(HOST_EXPORTS) \
27243 $(POSTSTAGE1_HOST_EXPORTS) \
27244 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
27245 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
27246 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
27247 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib; \
27248 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
27249 cd $(HOST_SUBDIR)/zlib || exit 1; \
27250 case $(srcdir) in \
27251 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27252 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
27253 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27254 esac; \
27255 module_srcdir=zlib; \
27256 $(SHELL) $$s/$$module_srcdir/configure \
27257 --srcdir=$${topdir}/$$module_srcdir \
27258 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27259 --target=${target_alias} \
27260 --with-build-libsubdir=$(HOST_SUBDIR) \
27261 $(STAGE4_CONFIGURE_FLAGS) \
27262 @extra_host_zlib_configure_flags@
27263 @endif zlib-bootstrap
27265 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
27266 maybe-configure-stageprofile-zlib:
27267 @if zlib-bootstrap
27268 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
27269 configure-stageprofile-zlib:
27270 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
27271 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
27272 @r=`${PWD_COMMAND}`; export r; \
27273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27274 TFLAGS="$(STAGEprofile_TFLAGS)"; \
27275 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
27276 $(HOST_EXPORTS) \
27277 $(POSTSTAGE1_HOST_EXPORTS) \
27278 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
27279 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
27280 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
27281 echo Configuring stage profile in $(HOST_SUBDIR)/zlib; \
27282 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
27283 cd $(HOST_SUBDIR)/zlib || exit 1; \
27284 case $(srcdir) in \
27285 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27286 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
27287 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27288 esac; \
27289 module_srcdir=zlib; \
27290 $(SHELL) $$s/$$module_srcdir/configure \
27291 --srcdir=$${topdir}/$$module_srcdir \
27292 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27293 --target=${target_alias} \
27294 --with-build-libsubdir=$(HOST_SUBDIR) \
27295 $(STAGEprofile_CONFIGURE_FLAGS) \
27296 @extra_host_zlib_configure_flags@
27297 @endif zlib-bootstrap
27299 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
27300 maybe-configure-stagefeedback-zlib:
27301 @if zlib-bootstrap
27302 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
27303 configure-stagefeedback-zlib:
27304 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
27305 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
27306 @r=`${PWD_COMMAND}`; export r; \
27307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27308 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
27309 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
27310 $(HOST_EXPORTS) \
27311 $(POSTSTAGE1_HOST_EXPORTS) \
27312 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
27313 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
27314 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
27315 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib; \
27316 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
27317 cd $(HOST_SUBDIR)/zlib || exit 1; \
27318 case $(srcdir) in \
27319 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27320 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
27321 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27322 esac; \
27323 module_srcdir=zlib; \
27324 $(SHELL) $$s/$$module_srcdir/configure \
27325 --srcdir=$${topdir}/$$module_srcdir \
27326 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27327 --target=${target_alias} \
27328 --with-build-libsubdir=$(HOST_SUBDIR) \
27329 $(STAGEfeedback_CONFIGURE_FLAGS) \
27330 @extra_host_zlib_configure_flags@
27331 @endif zlib-bootstrap
27337 .PHONY: all-zlib maybe-all-zlib
27338 maybe-all-zlib:
27339 @if gcc-bootstrap
27340 all-zlib: stage_current
27341 @endif gcc-bootstrap
27342 @if zlib
27343 TARGET-zlib=all
27344 maybe-all-zlib: all-zlib
27345 all-zlib: configure-zlib
27346 @r=`${PWD_COMMAND}`; export r; \
27347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27348 $(HOST_EXPORTS) \
27349 (cd $(HOST_SUBDIR)/zlib && \
27350 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
27351 $(TARGET-zlib))
27352 @endif zlib
27356 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
27357 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
27358 maybe-all-stage1-zlib:
27359 maybe-clean-stage1-zlib:
27360 @if zlib-bootstrap
27361 maybe-all-stage1-zlib: all-stage1-zlib
27362 all-stage1: all-stage1-zlib
27363 TARGET-stage1-zlib = $(TARGET-zlib)
27364 all-stage1-zlib: configure-stage1-zlib
27365 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
27366 @r=`${PWD_COMMAND}`; export r; \
27367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27368 TFLAGS="$(STAGE1_TFLAGS)"; \
27369 $(HOST_EXPORTS) \
27370 cd $(HOST_SUBDIR)/zlib && \
27371 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27372 CFLAGS="$(STAGE1_CFLAGS)" \
27373 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
27374 LIBCFLAGS="$(LIBCFLAGS)" \
27375 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27376 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27377 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27378 $(EXTRA_HOST_FLAGS) \
27379 $(STAGE1_FLAGS_TO_PASS) \
27380 TFLAGS="$(STAGE1_TFLAGS)" \
27381 $(TARGET-stage1-zlib)
27383 maybe-clean-stage1-zlib: clean-stage1-zlib
27384 clean-stage1: clean-stage1-zlib
27385 clean-stage1-zlib:
27386 @if [ $(current_stage) = stage1 ]; then \
27387 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
27388 else \
27389 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
27390 $(MAKE) stage1-start; \
27391 fi; \
27392 cd $(HOST_SUBDIR)/zlib && \
27393 $(MAKE) $(EXTRA_HOST_FLAGS) \
27394 $(STAGE1_FLAGS_TO_PASS) clean
27395 @endif zlib-bootstrap
27398 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
27399 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
27400 maybe-all-stage2-zlib:
27401 maybe-clean-stage2-zlib:
27402 @if zlib-bootstrap
27403 maybe-all-stage2-zlib: all-stage2-zlib
27404 all-stage2: all-stage2-zlib
27405 TARGET-stage2-zlib = $(TARGET-zlib)
27406 all-stage2-zlib: configure-stage2-zlib
27407 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
27408 @r=`${PWD_COMMAND}`; export r; \
27409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27410 TFLAGS="$(STAGE2_TFLAGS)"; \
27411 $(HOST_EXPORTS) \
27412 $(POSTSTAGE1_HOST_EXPORTS) \
27413 cd $(HOST_SUBDIR)/zlib && \
27414 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27415 CFLAGS="$(STAGE2_CFLAGS)" \
27416 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
27417 LIBCFLAGS="$(STAGE2_CFLAGS)" \
27418 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27419 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27420 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27421 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27422 TFLAGS="$(STAGE2_TFLAGS)" \
27423 $(TARGET-stage2-zlib)
27425 maybe-clean-stage2-zlib: clean-stage2-zlib
27426 clean-stage2: clean-stage2-zlib
27427 clean-stage2-zlib:
27428 @if [ $(current_stage) = stage2 ]; then \
27429 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
27430 else \
27431 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
27432 $(MAKE) stage2-start; \
27433 fi; \
27434 cd $(HOST_SUBDIR)/zlib && \
27435 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27436 @endif zlib-bootstrap
27439 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
27440 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
27441 maybe-all-stage3-zlib:
27442 maybe-clean-stage3-zlib:
27443 @if zlib-bootstrap
27444 maybe-all-stage3-zlib: all-stage3-zlib
27445 all-stage3: all-stage3-zlib
27446 TARGET-stage3-zlib = $(TARGET-zlib)
27447 all-stage3-zlib: configure-stage3-zlib
27448 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
27449 @r=`${PWD_COMMAND}`; export r; \
27450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27451 TFLAGS="$(STAGE3_TFLAGS)"; \
27452 $(HOST_EXPORTS) \
27453 $(POSTSTAGE1_HOST_EXPORTS) \
27454 cd $(HOST_SUBDIR)/zlib && \
27455 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27456 CFLAGS="$(STAGE3_CFLAGS)" \
27457 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
27458 LIBCFLAGS="$(STAGE3_CFLAGS)" \
27459 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27460 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27461 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27462 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27463 TFLAGS="$(STAGE3_TFLAGS)" \
27464 $(TARGET-stage3-zlib)
27466 maybe-clean-stage3-zlib: clean-stage3-zlib
27467 clean-stage3: clean-stage3-zlib
27468 clean-stage3-zlib:
27469 @if [ $(current_stage) = stage3 ]; then \
27470 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
27471 else \
27472 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
27473 $(MAKE) stage3-start; \
27474 fi; \
27475 cd $(HOST_SUBDIR)/zlib && \
27476 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27477 @endif zlib-bootstrap
27480 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
27481 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
27482 maybe-all-stage4-zlib:
27483 maybe-clean-stage4-zlib:
27484 @if zlib-bootstrap
27485 maybe-all-stage4-zlib: all-stage4-zlib
27486 all-stage4: all-stage4-zlib
27487 TARGET-stage4-zlib = $(TARGET-zlib)
27488 all-stage4-zlib: configure-stage4-zlib
27489 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27490 @r=`${PWD_COMMAND}`; export r; \
27491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27492 TFLAGS="$(STAGE4_TFLAGS)"; \
27493 $(HOST_EXPORTS) \
27494 $(POSTSTAGE1_HOST_EXPORTS) \
27495 cd $(HOST_SUBDIR)/zlib && \
27496 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27497 CFLAGS="$(STAGE4_CFLAGS)" \
27498 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
27499 LIBCFLAGS="$(STAGE4_CFLAGS)" \
27500 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27501 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27502 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27503 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27504 TFLAGS="$(STAGE4_TFLAGS)" \
27505 $(TARGET-stage4-zlib)
27507 maybe-clean-stage4-zlib: clean-stage4-zlib
27508 clean-stage4: clean-stage4-zlib
27509 clean-stage4-zlib:
27510 @if [ $(current_stage) = stage4 ]; then \
27511 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
27512 else \
27513 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
27514 $(MAKE) stage4-start; \
27515 fi; \
27516 cd $(HOST_SUBDIR)/zlib && \
27517 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27518 @endif zlib-bootstrap
27521 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
27522 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
27523 maybe-all-stageprofile-zlib:
27524 maybe-clean-stageprofile-zlib:
27525 @if zlib-bootstrap
27526 maybe-all-stageprofile-zlib: all-stageprofile-zlib
27527 all-stageprofile: all-stageprofile-zlib
27528 TARGET-stageprofile-zlib = $(TARGET-zlib)
27529 all-stageprofile-zlib: configure-stageprofile-zlib
27530 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
27531 @r=`${PWD_COMMAND}`; export r; \
27532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27533 TFLAGS="$(STAGEprofile_TFLAGS)"; \
27534 $(HOST_EXPORTS) \
27535 $(POSTSTAGE1_HOST_EXPORTS) \
27536 cd $(HOST_SUBDIR)/zlib && \
27537 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27538 CFLAGS="$(STAGEprofile_CFLAGS)" \
27539 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
27540 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
27541 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27542 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27543 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27544 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27545 TFLAGS="$(STAGEprofile_TFLAGS)" \
27546 $(TARGET-stageprofile-zlib)
27548 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
27549 clean-stageprofile: clean-stageprofile-zlib
27550 clean-stageprofile-zlib:
27551 @if [ $(current_stage) = stageprofile ]; then \
27552 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
27553 else \
27554 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
27555 $(MAKE) stageprofile-start; \
27556 fi; \
27557 cd $(HOST_SUBDIR)/zlib && \
27558 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27559 @endif zlib-bootstrap
27562 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
27563 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
27564 maybe-all-stagefeedback-zlib:
27565 maybe-clean-stagefeedback-zlib:
27566 @if zlib-bootstrap
27567 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
27568 all-stagefeedback: all-stagefeedback-zlib
27569 TARGET-stagefeedback-zlib = $(TARGET-zlib)
27570 all-stagefeedback-zlib: configure-stagefeedback-zlib
27571 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
27572 @r=`${PWD_COMMAND}`; export r; \
27573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27574 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
27575 $(HOST_EXPORTS) \
27576 $(POSTSTAGE1_HOST_EXPORTS) \
27577 cd $(HOST_SUBDIR)/zlib && \
27578 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27579 CFLAGS="$(STAGEfeedback_CFLAGS)" \
27580 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
27581 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
27582 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27583 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27584 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27585 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27586 TFLAGS="$(STAGEfeedback_TFLAGS)" \
27587 $(TARGET-stagefeedback-zlib)
27589 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
27590 clean-stagefeedback: clean-stagefeedback-zlib
27591 clean-stagefeedback-zlib:
27592 @if [ $(current_stage) = stagefeedback ]; then \
27593 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
27594 else \
27595 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
27596 $(MAKE) stagefeedback-start; \
27597 fi; \
27598 cd $(HOST_SUBDIR)/zlib && \
27599 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27600 @endif zlib-bootstrap
27606 .PHONY: check-zlib maybe-check-zlib
27607 maybe-check-zlib:
27608 @if zlib
27609 maybe-check-zlib: check-zlib
27611 check-zlib:
27613 @endif zlib
27615 .PHONY: install-zlib maybe-install-zlib
27616 maybe-install-zlib:
27617 @if zlib
27618 maybe-install-zlib: install-zlib
27620 install-zlib:
27622 @endif zlib
27624 .PHONY: install-strip-zlib maybe-install-strip-zlib
27625 maybe-install-strip-zlib:
27626 @if zlib
27627 maybe-install-strip-zlib: install-strip-zlib
27629 install-strip-zlib:
27631 @endif zlib
27633 # Other targets (info, dvi, pdf, etc.)
27635 .PHONY: maybe-info-zlib info-zlib
27636 maybe-info-zlib:
27637 @if zlib
27638 maybe-info-zlib: info-zlib
27640 info-zlib: \
27641 configure-zlib
27642 @[ -f ./zlib/Makefile ] || exit 0; \
27643 r=`${PWD_COMMAND}`; export r; \
27644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27645 $(HOST_EXPORTS) \
27646 for flag in $(EXTRA_HOST_FLAGS) ; do \
27647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27648 done; \
27649 echo "Doing info in zlib"; \
27650 (cd $(HOST_SUBDIR)/zlib && \
27651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27653 "RANLIB=$${RANLIB}" \
27654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27655 info) \
27656 || exit 1
27658 @endif zlib
27660 .PHONY: maybe-dvi-zlib dvi-zlib
27661 maybe-dvi-zlib:
27662 @if zlib
27663 maybe-dvi-zlib: dvi-zlib
27665 dvi-zlib: \
27666 configure-zlib
27667 @[ -f ./zlib/Makefile ] || exit 0; \
27668 r=`${PWD_COMMAND}`; export r; \
27669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27670 $(HOST_EXPORTS) \
27671 for flag in $(EXTRA_HOST_FLAGS) ; do \
27672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27673 done; \
27674 echo "Doing dvi in zlib"; \
27675 (cd $(HOST_SUBDIR)/zlib && \
27676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27678 "RANLIB=$${RANLIB}" \
27679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27680 dvi) \
27681 || exit 1
27683 @endif zlib
27685 .PHONY: maybe-pdf-zlib pdf-zlib
27686 maybe-pdf-zlib:
27687 @if zlib
27688 maybe-pdf-zlib: pdf-zlib
27690 pdf-zlib: \
27691 configure-zlib
27692 @[ -f ./zlib/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 pdf in zlib"; \
27700 (cd $(HOST_SUBDIR)/zlib && \
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 pdf) \
27706 || exit 1
27708 @endif zlib
27710 .PHONY: maybe-html-zlib html-zlib
27711 maybe-html-zlib:
27712 @if zlib
27713 maybe-html-zlib: html-zlib
27715 html-zlib: \
27716 configure-zlib
27717 @[ -f ./zlib/Makefile ] || exit 0; \
27718 r=`${PWD_COMMAND}`; export r; \
27719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27720 $(HOST_EXPORTS) \
27721 for flag in $(EXTRA_HOST_FLAGS) ; do \
27722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27723 done; \
27724 echo "Doing html in zlib"; \
27725 (cd $(HOST_SUBDIR)/zlib && \
27726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27728 "RANLIB=$${RANLIB}" \
27729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27730 html) \
27731 || exit 1
27733 @endif zlib
27735 .PHONY: maybe-TAGS-zlib TAGS-zlib
27736 maybe-TAGS-zlib:
27737 @if zlib
27738 maybe-TAGS-zlib: TAGS-zlib
27740 TAGS-zlib: \
27741 configure-zlib
27742 @[ -f ./zlib/Makefile ] || exit 0; \
27743 r=`${PWD_COMMAND}`; export r; \
27744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27745 $(HOST_EXPORTS) \
27746 for flag in $(EXTRA_HOST_FLAGS) ; do \
27747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27748 done; \
27749 echo "Doing TAGS in zlib"; \
27750 (cd $(HOST_SUBDIR)/zlib && \
27751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27753 "RANLIB=$${RANLIB}" \
27754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27755 TAGS) \
27756 || exit 1
27758 @endif zlib
27760 .PHONY: maybe-install-info-zlib install-info-zlib
27761 maybe-install-info-zlib:
27762 @if zlib
27763 maybe-install-info-zlib: install-info-zlib
27765 install-info-zlib: \
27766 configure-zlib \
27767 info-zlib
27768 @[ -f ./zlib/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 install-info in zlib"; \
27776 (cd $(HOST_SUBDIR)/zlib && \
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 install-info) \
27782 || exit 1
27784 @endif zlib
27786 .PHONY: maybe-install-pdf-zlib install-pdf-zlib
27787 maybe-install-pdf-zlib:
27788 @if zlib
27789 maybe-install-pdf-zlib: install-pdf-zlib
27791 install-pdf-zlib: \
27792 configure-zlib \
27793 pdf-zlib
27794 @[ -f ./zlib/Makefile ] || exit 0; \
27795 r=`${PWD_COMMAND}`; export r; \
27796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27797 $(HOST_EXPORTS) \
27798 for flag in $(EXTRA_HOST_FLAGS) ; do \
27799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27800 done; \
27801 echo "Doing install-pdf in zlib"; \
27802 (cd $(HOST_SUBDIR)/zlib && \
27803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27805 "RANLIB=$${RANLIB}" \
27806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27807 install-pdf) \
27808 || exit 1
27810 @endif zlib
27812 .PHONY: maybe-install-html-zlib install-html-zlib
27813 maybe-install-html-zlib:
27814 @if zlib
27815 maybe-install-html-zlib: install-html-zlib
27817 install-html-zlib: \
27818 configure-zlib \
27819 html-zlib
27820 @[ -f ./zlib/Makefile ] || exit 0; \
27821 r=`${PWD_COMMAND}`; export r; \
27822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27823 $(HOST_EXPORTS) \
27824 for flag in $(EXTRA_HOST_FLAGS) ; do \
27825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27826 done; \
27827 echo "Doing install-html in zlib"; \
27828 (cd $(HOST_SUBDIR)/zlib && \
27829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27831 "RANLIB=$${RANLIB}" \
27832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27833 install-html) \
27834 || exit 1
27836 @endif zlib
27838 .PHONY: maybe-installcheck-zlib installcheck-zlib
27839 maybe-installcheck-zlib:
27840 @if zlib
27841 maybe-installcheck-zlib: installcheck-zlib
27843 installcheck-zlib: \
27844 configure-zlib
27845 @[ -f ./zlib/Makefile ] || exit 0; \
27846 r=`${PWD_COMMAND}`; export r; \
27847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27848 $(HOST_EXPORTS) \
27849 for flag in $(EXTRA_HOST_FLAGS) ; do \
27850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27851 done; \
27852 echo "Doing installcheck in zlib"; \
27853 (cd $(HOST_SUBDIR)/zlib && \
27854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27856 "RANLIB=$${RANLIB}" \
27857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27858 installcheck) \
27859 || exit 1
27861 @endif zlib
27863 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
27864 maybe-mostlyclean-zlib:
27865 @if zlib
27866 maybe-mostlyclean-zlib: mostlyclean-zlib
27868 mostlyclean-zlib:
27869 @[ -f ./zlib/Makefile ] || exit 0; \
27870 r=`${PWD_COMMAND}`; export r; \
27871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27872 $(HOST_EXPORTS) \
27873 for flag in $(EXTRA_HOST_FLAGS) ; do \
27874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27875 done; \
27876 echo "Doing mostlyclean in zlib"; \
27877 (cd $(HOST_SUBDIR)/zlib && \
27878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27880 "RANLIB=$${RANLIB}" \
27881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27882 mostlyclean) \
27883 || exit 1
27885 @endif zlib
27887 .PHONY: maybe-clean-zlib clean-zlib
27888 maybe-clean-zlib:
27889 @if zlib
27890 maybe-clean-zlib: clean-zlib
27892 clean-zlib:
27893 @[ -f ./zlib/Makefile ] || exit 0; \
27894 r=`${PWD_COMMAND}`; export r; \
27895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27896 $(HOST_EXPORTS) \
27897 for flag in $(EXTRA_HOST_FLAGS) ; do \
27898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27899 done; \
27900 echo "Doing clean in zlib"; \
27901 (cd $(HOST_SUBDIR)/zlib && \
27902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27904 "RANLIB=$${RANLIB}" \
27905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27906 clean) \
27907 || exit 1
27909 @endif zlib
27911 .PHONY: maybe-distclean-zlib distclean-zlib
27912 maybe-distclean-zlib:
27913 @if zlib
27914 maybe-distclean-zlib: distclean-zlib
27916 distclean-zlib:
27917 @[ -f ./zlib/Makefile ] || exit 0; \
27918 r=`${PWD_COMMAND}`; export r; \
27919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27920 $(HOST_EXPORTS) \
27921 for flag in $(EXTRA_HOST_FLAGS) ; do \
27922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27923 done; \
27924 echo "Doing distclean in zlib"; \
27925 (cd $(HOST_SUBDIR)/zlib && \
27926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27928 "RANLIB=$${RANLIB}" \
27929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27930 distclean) \
27931 || exit 1
27933 @endif zlib
27935 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
27936 maybe-maintainer-clean-zlib:
27937 @if zlib
27938 maybe-maintainer-clean-zlib: maintainer-clean-zlib
27940 maintainer-clean-zlib:
27941 @[ -f ./zlib/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 maintainer-clean in zlib"; \
27949 (cd $(HOST_SUBDIR)/zlib && \
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 maintainer-clean) \
27955 || exit 1
27957 @endif zlib
27961 .PHONY: configure-gdb maybe-configure-gdb
27962 maybe-configure-gdb:
27963 @if gcc-bootstrap
27964 configure-gdb: stage_current
27965 @endif gcc-bootstrap
27966 @if gdb
27967 maybe-configure-gdb: configure-gdb
27968 configure-gdb:
27969 @: $(MAKE); $(unstage)
27970 @r=`${PWD_COMMAND}`; export r; \
27971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27972 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
27973 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb; \
27974 $(HOST_EXPORTS) \
27975 echo Configuring in $(HOST_SUBDIR)/gdb; \
27976 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
27977 case $(srcdir) in \
27978 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27979 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
27980 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27981 esac; \
27982 module_srcdir=gdb; \
27983 $(SHELL) \
27984 $$s/$$module_srcdir/configure \
27985 --srcdir=$${topdir}/$$module_srcdir \
27986 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27987 --target=${target_alias} \
27988 || exit 1
27989 @endif gdb
27995 .PHONY: all-gdb maybe-all-gdb
27996 maybe-all-gdb:
27997 @if gcc-bootstrap
27998 all-gdb: stage_current
27999 @endif gcc-bootstrap
28000 @if gdb
28001 TARGET-gdb=all
28002 maybe-all-gdb: all-gdb
28003 all-gdb: configure-gdb
28004 @: $(MAKE); $(unstage)
28005 @r=`${PWD_COMMAND}`; export r; \
28006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28007 $(HOST_EXPORTS) \
28008 (cd $(HOST_SUBDIR)/gdb && \
28009 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28010 $(TARGET-gdb))
28011 @endif gdb
28016 .PHONY: check-gdb maybe-check-gdb
28017 maybe-check-gdb:
28018 @if gdb
28019 maybe-check-gdb: check-gdb
28021 check-gdb:
28022 @: $(MAKE); $(unstage)
28023 @r=`${PWD_COMMAND}`; export r; \
28024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28025 $(HOST_EXPORTS) \
28026 (cd $(HOST_SUBDIR)/gdb && \
28027 $(MAKE) $(FLAGS_TO_PASS) check)
28029 @endif gdb
28031 .PHONY: install-gdb maybe-install-gdb
28032 maybe-install-gdb:
28033 @if gdb
28034 maybe-install-gdb: install-gdb
28036 install-gdb: installdirs
28037 @: $(MAKE); $(unstage)
28038 @r=`${PWD_COMMAND}`; export r; \
28039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28040 $(HOST_EXPORTS) \
28041 (cd $(HOST_SUBDIR)/gdb && \
28042 $(MAKE) $(FLAGS_TO_PASS) install)
28044 @endif gdb
28046 .PHONY: install-strip-gdb maybe-install-strip-gdb
28047 maybe-install-strip-gdb:
28048 @if gdb
28049 maybe-install-strip-gdb: install-strip-gdb
28051 install-strip-gdb: installdirs
28052 @: $(MAKE); $(unstage)
28053 @r=`${PWD_COMMAND}`; export r; \
28054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28055 $(HOST_EXPORTS) \
28056 (cd $(HOST_SUBDIR)/gdb && \
28057 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28059 @endif gdb
28061 # Other targets (info, dvi, pdf, etc.)
28063 .PHONY: maybe-info-gdb info-gdb
28064 maybe-info-gdb:
28065 @if gdb
28066 maybe-info-gdb: info-gdb
28068 info-gdb: \
28069 configure-gdb
28070 @: $(MAKE); $(unstage)
28071 @[ -f ./gdb/Makefile ] || exit 0; \
28072 r=`${PWD_COMMAND}`; export r; \
28073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28074 $(HOST_EXPORTS) \
28075 for flag in $(EXTRA_HOST_FLAGS) ; do \
28076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28077 done; \
28078 echo "Doing info in gdb"; \
28079 (cd $(HOST_SUBDIR)/gdb && \
28080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28082 "RANLIB=$${RANLIB}" \
28083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28084 info) \
28085 || exit 1
28087 @endif gdb
28089 .PHONY: maybe-dvi-gdb dvi-gdb
28090 maybe-dvi-gdb:
28091 @if gdb
28092 maybe-dvi-gdb: dvi-gdb
28094 dvi-gdb: \
28095 configure-gdb
28096 @: $(MAKE); $(unstage)
28097 @[ -f ./gdb/Makefile ] || exit 0; \
28098 r=`${PWD_COMMAND}`; export r; \
28099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28100 $(HOST_EXPORTS) \
28101 for flag in $(EXTRA_HOST_FLAGS) ; do \
28102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28103 done; \
28104 echo "Doing dvi in gdb"; \
28105 (cd $(HOST_SUBDIR)/gdb && \
28106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28108 "RANLIB=$${RANLIB}" \
28109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28110 dvi) \
28111 || exit 1
28113 @endif gdb
28115 .PHONY: maybe-pdf-gdb pdf-gdb
28116 maybe-pdf-gdb:
28117 @if gdb
28118 maybe-pdf-gdb: pdf-gdb
28120 pdf-gdb: \
28121 configure-gdb
28122 @: $(MAKE); $(unstage)
28123 @[ -f ./gdb/Makefile ] || exit 0; \
28124 r=`${PWD_COMMAND}`; export r; \
28125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28126 $(HOST_EXPORTS) \
28127 for flag in $(EXTRA_HOST_FLAGS) ; do \
28128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28129 done; \
28130 echo "Doing pdf in gdb"; \
28131 (cd $(HOST_SUBDIR)/gdb && \
28132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28134 "RANLIB=$${RANLIB}" \
28135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28136 pdf) \
28137 || exit 1
28139 @endif gdb
28141 .PHONY: maybe-html-gdb html-gdb
28142 maybe-html-gdb:
28143 @if gdb
28144 maybe-html-gdb: html-gdb
28146 html-gdb: \
28147 configure-gdb
28148 @: $(MAKE); $(unstage)
28149 @[ -f ./gdb/Makefile ] || exit 0; \
28150 r=`${PWD_COMMAND}`; export r; \
28151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28152 $(HOST_EXPORTS) \
28153 for flag in $(EXTRA_HOST_FLAGS) ; do \
28154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28155 done; \
28156 echo "Doing html in gdb"; \
28157 (cd $(HOST_SUBDIR)/gdb && \
28158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28160 "RANLIB=$${RANLIB}" \
28161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28162 html) \
28163 || exit 1
28165 @endif gdb
28167 .PHONY: maybe-TAGS-gdb TAGS-gdb
28168 maybe-TAGS-gdb:
28169 @if gdb
28170 maybe-TAGS-gdb: TAGS-gdb
28172 TAGS-gdb: \
28173 configure-gdb
28174 @: $(MAKE); $(unstage)
28175 @[ -f ./gdb/Makefile ] || exit 0; \
28176 r=`${PWD_COMMAND}`; export r; \
28177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28178 $(HOST_EXPORTS) \
28179 for flag in $(EXTRA_HOST_FLAGS) ; do \
28180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28181 done; \
28182 echo "Doing TAGS in gdb"; \
28183 (cd $(HOST_SUBDIR)/gdb && \
28184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28186 "RANLIB=$${RANLIB}" \
28187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28188 TAGS) \
28189 || exit 1
28191 @endif gdb
28193 .PHONY: maybe-install-info-gdb install-info-gdb
28194 maybe-install-info-gdb:
28195 @if gdb
28196 maybe-install-info-gdb: install-info-gdb
28198 install-info-gdb: \
28199 configure-gdb \
28200 info-gdb
28201 @: $(MAKE); $(unstage)
28202 @[ -f ./gdb/Makefile ] || exit 0; \
28203 r=`${PWD_COMMAND}`; export r; \
28204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28205 $(HOST_EXPORTS) \
28206 for flag in $(EXTRA_HOST_FLAGS) ; do \
28207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28208 done; \
28209 echo "Doing install-info in gdb"; \
28210 (cd $(HOST_SUBDIR)/gdb && \
28211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28213 "RANLIB=$${RANLIB}" \
28214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28215 install-info) \
28216 || exit 1
28218 @endif gdb
28220 .PHONY: maybe-install-pdf-gdb install-pdf-gdb
28221 maybe-install-pdf-gdb:
28222 @if gdb
28223 maybe-install-pdf-gdb: install-pdf-gdb
28225 install-pdf-gdb: \
28226 configure-gdb \
28227 pdf-gdb
28228 @: $(MAKE); $(unstage)
28229 @[ -f ./gdb/Makefile ] || exit 0; \
28230 r=`${PWD_COMMAND}`; export r; \
28231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28232 $(HOST_EXPORTS) \
28233 for flag in $(EXTRA_HOST_FLAGS) ; do \
28234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28235 done; \
28236 echo "Doing install-pdf in gdb"; \
28237 (cd $(HOST_SUBDIR)/gdb && \
28238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28240 "RANLIB=$${RANLIB}" \
28241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28242 install-pdf) \
28243 || exit 1
28245 @endif gdb
28247 .PHONY: maybe-install-html-gdb install-html-gdb
28248 maybe-install-html-gdb:
28249 @if gdb
28250 maybe-install-html-gdb: install-html-gdb
28252 install-html-gdb: \
28253 configure-gdb \
28254 html-gdb
28255 @: $(MAKE); $(unstage)
28256 @[ -f ./gdb/Makefile ] || exit 0; \
28257 r=`${PWD_COMMAND}`; export r; \
28258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28259 $(HOST_EXPORTS) \
28260 for flag in $(EXTRA_HOST_FLAGS) ; do \
28261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28262 done; \
28263 echo "Doing install-html in gdb"; \
28264 (cd $(HOST_SUBDIR)/gdb && \
28265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28267 "RANLIB=$${RANLIB}" \
28268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28269 install-html) \
28270 || exit 1
28272 @endif gdb
28274 .PHONY: maybe-installcheck-gdb installcheck-gdb
28275 maybe-installcheck-gdb:
28276 @if gdb
28277 maybe-installcheck-gdb: installcheck-gdb
28279 installcheck-gdb: \
28280 configure-gdb
28281 @: $(MAKE); $(unstage)
28282 @[ -f ./gdb/Makefile ] || exit 0; \
28283 r=`${PWD_COMMAND}`; export r; \
28284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28285 $(HOST_EXPORTS) \
28286 for flag in $(EXTRA_HOST_FLAGS) ; do \
28287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28288 done; \
28289 echo "Doing installcheck in gdb"; \
28290 (cd $(HOST_SUBDIR)/gdb && \
28291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28293 "RANLIB=$${RANLIB}" \
28294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28295 installcheck) \
28296 || exit 1
28298 @endif gdb
28300 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
28301 maybe-mostlyclean-gdb:
28302 @if gdb
28303 maybe-mostlyclean-gdb: mostlyclean-gdb
28305 mostlyclean-gdb:
28306 @: $(MAKE); $(unstage)
28307 @[ -f ./gdb/Makefile ] || exit 0; \
28308 r=`${PWD_COMMAND}`; export r; \
28309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28310 $(HOST_EXPORTS) \
28311 for flag in $(EXTRA_HOST_FLAGS) ; do \
28312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28313 done; \
28314 echo "Doing mostlyclean in gdb"; \
28315 (cd $(HOST_SUBDIR)/gdb && \
28316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28318 "RANLIB=$${RANLIB}" \
28319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28320 mostlyclean) \
28321 || exit 1
28323 @endif gdb
28325 .PHONY: maybe-clean-gdb clean-gdb
28326 maybe-clean-gdb:
28327 @if gdb
28328 maybe-clean-gdb: clean-gdb
28330 clean-gdb:
28331 @: $(MAKE); $(unstage)
28332 @[ -f ./gdb/Makefile ] || exit 0; \
28333 r=`${PWD_COMMAND}`; export r; \
28334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28335 $(HOST_EXPORTS) \
28336 for flag in $(EXTRA_HOST_FLAGS) ; do \
28337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28338 done; \
28339 echo "Doing clean in gdb"; \
28340 (cd $(HOST_SUBDIR)/gdb && \
28341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28343 "RANLIB=$${RANLIB}" \
28344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28345 clean) \
28346 || exit 1
28348 @endif gdb
28350 .PHONY: maybe-distclean-gdb distclean-gdb
28351 maybe-distclean-gdb:
28352 @if gdb
28353 maybe-distclean-gdb: distclean-gdb
28355 distclean-gdb:
28356 @: $(MAKE); $(unstage)
28357 @[ -f ./gdb/Makefile ] || exit 0; \
28358 r=`${PWD_COMMAND}`; export r; \
28359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28360 $(HOST_EXPORTS) \
28361 for flag in $(EXTRA_HOST_FLAGS) ; do \
28362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28363 done; \
28364 echo "Doing distclean in gdb"; \
28365 (cd $(HOST_SUBDIR)/gdb && \
28366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28368 "RANLIB=$${RANLIB}" \
28369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28370 distclean) \
28371 || exit 1
28373 @endif gdb
28375 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
28376 maybe-maintainer-clean-gdb:
28377 @if gdb
28378 maybe-maintainer-clean-gdb: maintainer-clean-gdb
28380 maintainer-clean-gdb:
28381 @: $(MAKE); $(unstage)
28382 @[ -f ./gdb/Makefile ] || exit 0; \
28383 r=`${PWD_COMMAND}`; export r; \
28384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28385 $(HOST_EXPORTS) \
28386 for flag in $(EXTRA_HOST_FLAGS) ; do \
28387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28388 done; \
28389 echo "Doing maintainer-clean in gdb"; \
28390 (cd $(HOST_SUBDIR)/gdb && \
28391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28393 "RANLIB=$${RANLIB}" \
28394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28395 maintainer-clean) \
28396 || exit 1
28398 @endif gdb
28402 .PHONY: configure-expect maybe-configure-expect
28403 maybe-configure-expect:
28404 @if gcc-bootstrap
28405 configure-expect: stage_current
28406 @endif gcc-bootstrap
28407 @if expect
28408 maybe-configure-expect: configure-expect
28409 configure-expect:
28410 @: $(MAKE); $(unstage)
28411 @r=`${PWD_COMMAND}`; export r; \
28412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28413 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
28414 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect; \
28415 $(HOST_EXPORTS) \
28416 echo Configuring in $(HOST_SUBDIR)/expect; \
28417 cd "$(HOST_SUBDIR)/expect" || exit 1; \
28418 case $(srcdir) in \
28419 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28420 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
28421 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28422 esac; \
28423 module_srcdir=expect; \
28424 $(SHELL) \
28425 $$s/$$module_srcdir/configure \
28426 --srcdir=$${topdir}/$$module_srcdir \
28427 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28428 --target=${target_alias} \
28429 || exit 1
28430 @endif expect
28436 .PHONY: all-expect maybe-all-expect
28437 maybe-all-expect:
28438 @if gcc-bootstrap
28439 all-expect: stage_current
28440 @endif gcc-bootstrap
28441 @if expect
28442 TARGET-expect=all
28443 maybe-all-expect: all-expect
28444 all-expect: configure-expect
28445 @: $(MAKE); $(unstage)
28446 @r=`${PWD_COMMAND}`; export r; \
28447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28448 $(HOST_EXPORTS) \
28449 (cd $(HOST_SUBDIR)/expect && \
28450 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28451 $(TARGET-expect))
28452 @endif expect
28457 .PHONY: check-expect maybe-check-expect
28458 maybe-check-expect:
28459 @if expect
28460 maybe-check-expect: check-expect
28462 check-expect:
28463 @: $(MAKE); $(unstage)
28464 @r=`${PWD_COMMAND}`; export r; \
28465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28466 $(HOST_EXPORTS) \
28467 (cd $(HOST_SUBDIR)/expect && \
28468 $(MAKE) $(FLAGS_TO_PASS) check)
28470 @endif expect
28472 .PHONY: install-expect maybe-install-expect
28473 maybe-install-expect:
28474 @if expect
28475 maybe-install-expect: install-expect
28477 install-expect: installdirs
28478 @: $(MAKE); $(unstage)
28479 @r=`${PWD_COMMAND}`; export r; \
28480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28481 $(HOST_EXPORTS) \
28482 (cd $(HOST_SUBDIR)/expect && \
28483 $(MAKE) $(FLAGS_TO_PASS) install)
28485 @endif expect
28487 .PHONY: install-strip-expect maybe-install-strip-expect
28488 maybe-install-strip-expect:
28489 @if expect
28490 maybe-install-strip-expect: install-strip-expect
28492 install-strip-expect: installdirs
28493 @: $(MAKE); $(unstage)
28494 @r=`${PWD_COMMAND}`; export r; \
28495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28496 $(HOST_EXPORTS) \
28497 (cd $(HOST_SUBDIR)/expect && \
28498 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28500 @endif expect
28502 # Other targets (info, dvi, pdf, etc.)
28504 .PHONY: maybe-info-expect info-expect
28505 maybe-info-expect:
28506 @if expect
28507 maybe-info-expect: info-expect
28509 info-expect: \
28510 configure-expect
28511 @: $(MAKE); $(unstage)
28512 @[ -f ./expect/Makefile ] || exit 0; \
28513 r=`${PWD_COMMAND}`; export r; \
28514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28515 $(HOST_EXPORTS) \
28516 for flag in $(EXTRA_HOST_FLAGS) ; do \
28517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28518 done; \
28519 echo "Doing info in expect"; \
28520 (cd $(HOST_SUBDIR)/expect && \
28521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28523 "RANLIB=$${RANLIB}" \
28524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28525 info) \
28526 || exit 1
28528 @endif expect
28530 .PHONY: maybe-dvi-expect dvi-expect
28531 maybe-dvi-expect:
28532 @if expect
28533 maybe-dvi-expect: dvi-expect
28535 dvi-expect: \
28536 configure-expect
28537 @: $(MAKE); $(unstage)
28538 @[ -f ./expect/Makefile ] || exit 0; \
28539 r=`${PWD_COMMAND}`; export r; \
28540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28541 $(HOST_EXPORTS) \
28542 for flag in $(EXTRA_HOST_FLAGS) ; do \
28543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28544 done; \
28545 echo "Doing dvi in expect"; \
28546 (cd $(HOST_SUBDIR)/expect && \
28547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28549 "RANLIB=$${RANLIB}" \
28550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28551 dvi) \
28552 || exit 1
28554 @endif expect
28556 .PHONY: maybe-pdf-expect pdf-expect
28557 maybe-pdf-expect:
28558 @if expect
28559 maybe-pdf-expect: pdf-expect
28561 pdf-expect: \
28562 configure-expect
28563 @: $(MAKE); $(unstage)
28564 @[ -f ./expect/Makefile ] || exit 0; \
28565 r=`${PWD_COMMAND}`; export r; \
28566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28567 $(HOST_EXPORTS) \
28568 for flag in $(EXTRA_HOST_FLAGS) ; do \
28569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28570 done; \
28571 echo "Doing pdf in expect"; \
28572 (cd $(HOST_SUBDIR)/expect && \
28573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28575 "RANLIB=$${RANLIB}" \
28576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28577 pdf) \
28578 || exit 1
28580 @endif expect
28582 .PHONY: maybe-html-expect html-expect
28583 maybe-html-expect:
28584 @if expect
28585 maybe-html-expect: html-expect
28587 html-expect: \
28588 configure-expect
28589 @: $(MAKE); $(unstage)
28590 @[ -f ./expect/Makefile ] || exit 0; \
28591 r=`${PWD_COMMAND}`; export r; \
28592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28593 $(HOST_EXPORTS) \
28594 for flag in $(EXTRA_HOST_FLAGS) ; do \
28595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28596 done; \
28597 echo "Doing html in expect"; \
28598 (cd $(HOST_SUBDIR)/expect && \
28599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28601 "RANLIB=$${RANLIB}" \
28602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28603 html) \
28604 || exit 1
28606 @endif expect
28608 .PHONY: maybe-TAGS-expect TAGS-expect
28609 maybe-TAGS-expect:
28610 @if expect
28611 maybe-TAGS-expect: TAGS-expect
28613 TAGS-expect: \
28614 configure-expect
28615 @: $(MAKE); $(unstage)
28616 @[ -f ./expect/Makefile ] || exit 0; \
28617 r=`${PWD_COMMAND}`; export r; \
28618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28619 $(HOST_EXPORTS) \
28620 for flag in $(EXTRA_HOST_FLAGS) ; do \
28621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28622 done; \
28623 echo "Doing TAGS in expect"; \
28624 (cd $(HOST_SUBDIR)/expect && \
28625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28627 "RANLIB=$${RANLIB}" \
28628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28629 TAGS) \
28630 || exit 1
28632 @endif expect
28634 .PHONY: maybe-install-info-expect install-info-expect
28635 maybe-install-info-expect:
28636 @if expect
28637 maybe-install-info-expect: install-info-expect
28639 install-info-expect: \
28640 configure-expect \
28641 info-expect
28642 @: $(MAKE); $(unstage)
28643 @[ -f ./expect/Makefile ] || exit 0; \
28644 r=`${PWD_COMMAND}`; export r; \
28645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28646 $(HOST_EXPORTS) \
28647 for flag in $(EXTRA_HOST_FLAGS) ; do \
28648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28649 done; \
28650 echo "Doing install-info in expect"; \
28651 (cd $(HOST_SUBDIR)/expect && \
28652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28654 "RANLIB=$${RANLIB}" \
28655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28656 install-info) \
28657 || exit 1
28659 @endif expect
28661 .PHONY: maybe-install-pdf-expect install-pdf-expect
28662 maybe-install-pdf-expect:
28663 @if expect
28664 maybe-install-pdf-expect: install-pdf-expect
28666 install-pdf-expect: \
28667 configure-expect \
28668 pdf-expect
28669 @: $(MAKE); $(unstage)
28670 @[ -f ./expect/Makefile ] || exit 0; \
28671 r=`${PWD_COMMAND}`; export r; \
28672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28673 $(HOST_EXPORTS) \
28674 for flag in $(EXTRA_HOST_FLAGS) ; do \
28675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28676 done; \
28677 echo "Doing install-pdf in expect"; \
28678 (cd $(HOST_SUBDIR)/expect && \
28679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28681 "RANLIB=$${RANLIB}" \
28682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28683 install-pdf) \
28684 || exit 1
28686 @endif expect
28688 .PHONY: maybe-install-html-expect install-html-expect
28689 maybe-install-html-expect:
28690 @if expect
28691 maybe-install-html-expect: install-html-expect
28693 install-html-expect: \
28694 configure-expect \
28695 html-expect
28696 @: $(MAKE); $(unstage)
28697 @[ -f ./expect/Makefile ] || exit 0; \
28698 r=`${PWD_COMMAND}`; export r; \
28699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28700 $(HOST_EXPORTS) \
28701 for flag in $(EXTRA_HOST_FLAGS) ; do \
28702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28703 done; \
28704 echo "Doing install-html in expect"; \
28705 (cd $(HOST_SUBDIR)/expect && \
28706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28708 "RANLIB=$${RANLIB}" \
28709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28710 install-html) \
28711 || exit 1
28713 @endif expect
28715 .PHONY: maybe-installcheck-expect installcheck-expect
28716 maybe-installcheck-expect:
28717 @if expect
28718 maybe-installcheck-expect: installcheck-expect
28720 installcheck-expect: \
28721 configure-expect
28722 @: $(MAKE); $(unstage)
28723 @[ -f ./expect/Makefile ] || exit 0; \
28724 r=`${PWD_COMMAND}`; export r; \
28725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28726 $(HOST_EXPORTS) \
28727 for flag in $(EXTRA_HOST_FLAGS) ; do \
28728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28729 done; \
28730 echo "Doing installcheck in expect"; \
28731 (cd $(HOST_SUBDIR)/expect && \
28732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28734 "RANLIB=$${RANLIB}" \
28735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28736 installcheck) \
28737 || exit 1
28739 @endif expect
28741 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
28742 maybe-mostlyclean-expect:
28743 @if expect
28744 maybe-mostlyclean-expect: mostlyclean-expect
28746 mostlyclean-expect:
28747 @: $(MAKE); $(unstage)
28748 @[ -f ./expect/Makefile ] || exit 0; \
28749 r=`${PWD_COMMAND}`; export r; \
28750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28751 $(HOST_EXPORTS) \
28752 for flag in $(EXTRA_HOST_FLAGS) ; do \
28753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28754 done; \
28755 echo "Doing mostlyclean in expect"; \
28756 (cd $(HOST_SUBDIR)/expect && \
28757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28759 "RANLIB=$${RANLIB}" \
28760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28761 mostlyclean) \
28762 || exit 1
28764 @endif expect
28766 .PHONY: maybe-clean-expect clean-expect
28767 maybe-clean-expect:
28768 @if expect
28769 maybe-clean-expect: clean-expect
28771 clean-expect:
28772 @: $(MAKE); $(unstage)
28773 @[ -f ./expect/Makefile ] || exit 0; \
28774 r=`${PWD_COMMAND}`; export r; \
28775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28776 $(HOST_EXPORTS) \
28777 for flag in $(EXTRA_HOST_FLAGS) ; do \
28778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28779 done; \
28780 echo "Doing clean in expect"; \
28781 (cd $(HOST_SUBDIR)/expect && \
28782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28784 "RANLIB=$${RANLIB}" \
28785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28786 clean) \
28787 || exit 1
28789 @endif expect
28791 .PHONY: maybe-distclean-expect distclean-expect
28792 maybe-distclean-expect:
28793 @if expect
28794 maybe-distclean-expect: distclean-expect
28796 distclean-expect:
28797 @: $(MAKE); $(unstage)
28798 @[ -f ./expect/Makefile ] || exit 0; \
28799 r=`${PWD_COMMAND}`; export r; \
28800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28801 $(HOST_EXPORTS) \
28802 for flag in $(EXTRA_HOST_FLAGS) ; do \
28803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28804 done; \
28805 echo "Doing distclean in expect"; \
28806 (cd $(HOST_SUBDIR)/expect && \
28807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28809 "RANLIB=$${RANLIB}" \
28810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28811 distclean) \
28812 || exit 1
28814 @endif expect
28816 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
28817 maybe-maintainer-clean-expect:
28818 @if expect
28819 maybe-maintainer-clean-expect: maintainer-clean-expect
28821 maintainer-clean-expect:
28822 @: $(MAKE); $(unstage)
28823 @[ -f ./expect/Makefile ] || exit 0; \
28824 r=`${PWD_COMMAND}`; export r; \
28825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28826 $(HOST_EXPORTS) \
28827 for flag in $(EXTRA_HOST_FLAGS) ; do \
28828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28829 done; \
28830 echo "Doing maintainer-clean in expect"; \
28831 (cd $(HOST_SUBDIR)/expect && \
28832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28834 "RANLIB=$${RANLIB}" \
28835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28836 maintainer-clean) \
28837 || exit 1
28839 @endif expect
28843 .PHONY: configure-guile maybe-configure-guile
28844 maybe-configure-guile:
28845 @if gcc-bootstrap
28846 configure-guile: stage_current
28847 @endif gcc-bootstrap
28848 @if guile
28849 maybe-configure-guile: configure-guile
28850 configure-guile:
28851 @: $(MAKE); $(unstage)
28852 @r=`${PWD_COMMAND}`; export r; \
28853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28854 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
28855 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile; \
28856 $(HOST_EXPORTS) \
28857 echo Configuring in $(HOST_SUBDIR)/guile; \
28858 cd "$(HOST_SUBDIR)/guile" || exit 1; \
28859 case $(srcdir) in \
28860 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28861 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
28862 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28863 esac; \
28864 module_srcdir=guile; \
28865 $(SHELL) \
28866 $$s/$$module_srcdir/configure \
28867 --srcdir=$${topdir}/$$module_srcdir \
28868 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28869 --target=${target_alias} \
28870 || exit 1
28871 @endif guile
28877 .PHONY: all-guile maybe-all-guile
28878 maybe-all-guile:
28879 @if gcc-bootstrap
28880 all-guile: stage_current
28881 @endif gcc-bootstrap
28882 @if guile
28883 TARGET-guile=all
28884 maybe-all-guile: all-guile
28885 all-guile: configure-guile
28886 @: $(MAKE); $(unstage)
28887 @r=`${PWD_COMMAND}`; export r; \
28888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28889 $(HOST_EXPORTS) \
28890 (cd $(HOST_SUBDIR)/guile && \
28891 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28892 $(TARGET-guile))
28893 @endif guile
28898 .PHONY: check-guile maybe-check-guile
28899 maybe-check-guile:
28900 @if guile
28901 maybe-check-guile: check-guile
28903 check-guile:
28904 @: $(MAKE); $(unstage)
28905 @r=`${PWD_COMMAND}`; export r; \
28906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28907 $(HOST_EXPORTS) \
28908 (cd $(HOST_SUBDIR)/guile && \
28909 $(MAKE) $(FLAGS_TO_PASS) check)
28911 @endif guile
28913 .PHONY: install-guile maybe-install-guile
28914 maybe-install-guile:
28915 @if guile
28916 maybe-install-guile: install-guile
28918 install-guile: installdirs
28919 @: $(MAKE); $(unstage)
28920 @r=`${PWD_COMMAND}`; export r; \
28921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28922 $(HOST_EXPORTS) \
28923 (cd $(HOST_SUBDIR)/guile && \
28924 $(MAKE) $(FLAGS_TO_PASS) install)
28926 @endif guile
28928 .PHONY: install-strip-guile maybe-install-strip-guile
28929 maybe-install-strip-guile:
28930 @if guile
28931 maybe-install-strip-guile: install-strip-guile
28933 install-strip-guile: installdirs
28934 @: $(MAKE); $(unstage)
28935 @r=`${PWD_COMMAND}`; export r; \
28936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28937 $(HOST_EXPORTS) \
28938 (cd $(HOST_SUBDIR)/guile && \
28939 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28941 @endif guile
28943 # Other targets (info, dvi, pdf, etc.)
28945 .PHONY: maybe-info-guile info-guile
28946 maybe-info-guile:
28947 @if guile
28948 maybe-info-guile: info-guile
28950 info-guile: \
28951 configure-guile
28952 @: $(MAKE); $(unstage)
28953 @[ -f ./guile/Makefile ] || exit 0; \
28954 r=`${PWD_COMMAND}`; export r; \
28955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28956 $(HOST_EXPORTS) \
28957 for flag in $(EXTRA_HOST_FLAGS) ; do \
28958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28959 done; \
28960 echo "Doing info in guile"; \
28961 (cd $(HOST_SUBDIR)/guile && \
28962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28964 "RANLIB=$${RANLIB}" \
28965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28966 info) \
28967 || exit 1
28969 @endif guile
28971 .PHONY: maybe-dvi-guile dvi-guile
28972 maybe-dvi-guile:
28973 @if guile
28974 maybe-dvi-guile: dvi-guile
28976 dvi-guile: \
28977 configure-guile
28978 @: $(MAKE); $(unstage)
28979 @[ -f ./guile/Makefile ] || exit 0; \
28980 r=`${PWD_COMMAND}`; export r; \
28981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28982 $(HOST_EXPORTS) \
28983 for flag in $(EXTRA_HOST_FLAGS) ; do \
28984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28985 done; \
28986 echo "Doing dvi in guile"; \
28987 (cd $(HOST_SUBDIR)/guile && \
28988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28990 "RANLIB=$${RANLIB}" \
28991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28992 dvi) \
28993 || exit 1
28995 @endif guile
28997 .PHONY: maybe-pdf-guile pdf-guile
28998 maybe-pdf-guile:
28999 @if guile
29000 maybe-pdf-guile: pdf-guile
29002 pdf-guile: \
29003 configure-guile
29004 @: $(MAKE); $(unstage)
29005 @[ -f ./guile/Makefile ] || exit 0; \
29006 r=`${PWD_COMMAND}`; export r; \
29007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29008 $(HOST_EXPORTS) \
29009 for flag in $(EXTRA_HOST_FLAGS) ; do \
29010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29011 done; \
29012 echo "Doing pdf in guile"; \
29013 (cd $(HOST_SUBDIR)/guile && \
29014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29016 "RANLIB=$${RANLIB}" \
29017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29018 pdf) \
29019 || exit 1
29021 @endif guile
29023 .PHONY: maybe-html-guile html-guile
29024 maybe-html-guile:
29025 @if guile
29026 maybe-html-guile: html-guile
29028 html-guile: \
29029 configure-guile
29030 @: $(MAKE); $(unstage)
29031 @[ -f ./guile/Makefile ] || exit 0; \
29032 r=`${PWD_COMMAND}`; export r; \
29033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29034 $(HOST_EXPORTS) \
29035 for flag in $(EXTRA_HOST_FLAGS) ; do \
29036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29037 done; \
29038 echo "Doing html in guile"; \
29039 (cd $(HOST_SUBDIR)/guile && \
29040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29042 "RANLIB=$${RANLIB}" \
29043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29044 html) \
29045 || exit 1
29047 @endif guile
29049 .PHONY: maybe-TAGS-guile TAGS-guile
29050 maybe-TAGS-guile:
29051 @if guile
29052 maybe-TAGS-guile: TAGS-guile
29054 TAGS-guile: \
29055 configure-guile
29056 @: $(MAKE); $(unstage)
29057 @[ -f ./guile/Makefile ] || exit 0; \
29058 r=`${PWD_COMMAND}`; export r; \
29059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29060 $(HOST_EXPORTS) \
29061 for flag in $(EXTRA_HOST_FLAGS) ; do \
29062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29063 done; \
29064 echo "Doing TAGS in guile"; \
29065 (cd $(HOST_SUBDIR)/guile && \
29066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29068 "RANLIB=$${RANLIB}" \
29069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29070 TAGS) \
29071 || exit 1
29073 @endif guile
29075 .PHONY: maybe-install-info-guile install-info-guile
29076 maybe-install-info-guile:
29077 @if guile
29078 maybe-install-info-guile: install-info-guile
29080 install-info-guile: \
29081 configure-guile \
29082 info-guile
29083 @: $(MAKE); $(unstage)
29084 @[ -f ./guile/Makefile ] || exit 0; \
29085 r=`${PWD_COMMAND}`; export r; \
29086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29087 $(HOST_EXPORTS) \
29088 for flag in $(EXTRA_HOST_FLAGS) ; do \
29089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29090 done; \
29091 echo "Doing install-info in guile"; \
29092 (cd $(HOST_SUBDIR)/guile && \
29093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29095 "RANLIB=$${RANLIB}" \
29096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29097 install-info) \
29098 || exit 1
29100 @endif guile
29102 .PHONY: maybe-install-pdf-guile install-pdf-guile
29103 maybe-install-pdf-guile:
29104 @if guile
29105 maybe-install-pdf-guile: install-pdf-guile
29107 install-pdf-guile: \
29108 configure-guile \
29109 pdf-guile
29110 @: $(MAKE); $(unstage)
29111 @[ -f ./guile/Makefile ] || exit 0; \
29112 r=`${PWD_COMMAND}`; export r; \
29113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29114 $(HOST_EXPORTS) \
29115 for flag in $(EXTRA_HOST_FLAGS) ; do \
29116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29117 done; \
29118 echo "Doing install-pdf in guile"; \
29119 (cd $(HOST_SUBDIR)/guile && \
29120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29122 "RANLIB=$${RANLIB}" \
29123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29124 install-pdf) \
29125 || exit 1
29127 @endif guile
29129 .PHONY: maybe-install-html-guile install-html-guile
29130 maybe-install-html-guile:
29131 @if guile
29132 maybe-install-html-guile: install-html-guile
29134 install-html-guile: \
29135 configure-guile \
29136 html-guile
29137 @: $(MAKE); $(unstage)
29138 @[ -f ./guile/Makefile ] || exit 0; \
29139 r=`${PWD_COMMAND}`; export r; \
29140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29141 $(HOST_EXPORTS) \
29142 for flag in $(EXTRA_HOST_FLAGS) ; do \
29143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29144 done; \
29145 echo "Doing install-html in guile"; \
29146 (cd $(HOST_SUBDIR)/guile && \
29147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29149 "RANLIB=$${RANLIB}" \
29150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29151 install-html) \
29152 || exit 1
29154 @endif guile
29156 .PHONY: maybe-installcheck-guile installcheck-guile
29157 maybe-installcheck-guile:
29158 @if guile
29159 maybe-installcheck-guile: installcheck-guile
29161 installcheck-guile: \
29162 configure-guile
29163 @: $(MAKE); $(unstage)
29164 @[ -f ./guile/Makefile ] || exit 0; \
29165 r=`${PWD_COMMAND}`; export r; \
29166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29167 $(HOST_EXPORTS) \
29168 for flag in $(EXTRA_HOST_FLAGS) ; do \
29169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29170 done; \
29171 echo "Doing installcheck in guile"; \
29172 (cd $(HOST_SUBDIR)/guile && \
29173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29175 "RANLIB=$${RANLIB}" \
29176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29177 installcheck) \
29178 || exit 1
29180 @endif guile
29182 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
29183 maybe-mostlyclean-guile:
29184 @if guile
29185 maybe-mostlyclean-guile: mostlyclean-guile
29187 mostlyclean-guile:
29188 @: $(MAKE); $(unstage)
29189 @[ -f ./guile/Makefile ] || exit 0; \
29190 r=`${PWD_COMMAND}`; export r; \
29191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29192 $(HOST_EXPORTS) \
29193 for flag in $(EXTRA_HOST_FLAGS) ; do \
29194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29195 done; \
29196 echo "Doing mostlyclean in guile"; \
29197 (cd $(HOST_SUBDIR)/guile && \
29198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29200 "RANLIB=$${RANLIB}" \
29201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29202 mostlyclean) \
29203 || exit 1
29205 @endif guile
29207 .PHONY: maybe-clean-guile clean-guile
29208 maybe-clean-guile:
29209 @if guile
29210 maybe-clean-guile: clean-guile
29212 clean-guile:
29213 @: $(MAKE); $(unstage)
29214 @[ -f ./guile/Makefile ] || exit 0; \
29215 r=`${PWD_COMMAND}`; export r; \
29216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29217 $(HOST_EXPORTS) \
29218 for flag in $(EXTRA_HOST_FLAGS) ; do \
29219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29220 done; \
29221 echo "Doing clean in guile"; \
29222 (cd $(HOST_SUBDIR)/guile && \
29223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29225 "RANLIB=$${RANLIB}" \
29226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29227 clean) \
29228 || exit 1
29230 @endif guile
29232 .PHONY: maybe-distclean-guile distclean-guile
29233 maybe-distclean-guile:
29234 @if guile
29235 maybe-distclean-guile: distclean-guile
29237 distclean-guile:
29238 @: $(MAKE); $(unstage)
29239 @[ -f ./guile/Makefile ] || exit 0; \
29240 r=`${PWD_COMMAND}`; export r; \
29241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29242 $(HOST_EXPORTS) \
29243 for flag in $(EXTRA_HOST_FLAGS) ; do \
29244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29245 done; \
29246 echo "Doing distclean in guile"; \
29247 (cd $(HOST_SUBDIR)/guile && \
29248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29250 "RANLIB=$${RANLIB}" \
29251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29252 distclean) \
29253 || exit 1
29255 @endif guile
29257 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
29258 maybe-maintainer-clean-guile:
29259 @if guile
29260 maybe-maintainer-clean-guile: maintainer-clean-guile
29262 maintainer-clean-guile:
29263 @: $(MAKE); $(unstage)
29264 @[ -f ./guile/Makefile ] || exit 0; \
29265 r=`${PWD_COMMAND}`; export r; \
29266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29267 $(HOST_EXPORTS) \
29268 for flag in $(EXTRA_HOST_FLAGS) ; do \
29269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29270 done; \
29271 echo "Doing maintainer-clean in guile"; \
29272 (cd $(HOST_SUBDIR)/guile && \
29273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29275 "RANLIB=$${RANLIB}" \
29276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29277 maintainer-clean) \
29278 || exit 1
29280 @endif guile
29284 .PHONY: configure-tk maybe-configure-tk
29285 maybe-configure-tk:
29286 @if gcc-bootstrap
29287 configure-tk: stage_current
29288 @endif gcc-bootstrap
29289 @if tk
29290 maybe-configure-tk: configure-tk
29291 configure-tk:
29292 @: $(MAKE); $(unstage)
29293 @r=`${PWD_COMMAND}`; export r; \
29294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29295 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
29296 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk; \
29297 $(HOST_EXPORTS) \
29298 echo Configuring in $(HOST_SUBDIR)/tk; \
29299 cd "$(HOST_SUBDIR)/tk" || exit 1; \
29300 case $(srcdir) in \
29301 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29302 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
29303 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29304 esac; \
29305 module_srcdir=tk; \
29306 $(SHELL) \
29307 $$s/$$module_srcdir/configure \
29308 --srcdir=$${topdir}/$$module_srcdir \
29309 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29310 --target=${target_alias} \
29311 || exit 1
29312 @endif tk
29318 .PHONY: all-tk maybe-all-tk
29319 maybe-all-tk:
29320 @if gcc-bootstrap
29321 all-tk: stage_current
29322 @endif gcc-bootstrap
29323 @if tk
29324 TARGET-tk=all
29325 maybe-all-tk: all-tk
29326 all-tk: configure-tk
29327 @: $(MAKE); $(unstage)
29328 @r=`${PWD_COMMAND}`; export r; \
29329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29330 $(HOST_EXPORTS) \
29331 (cd $(HOST_SUBDIR)/tk && \
29332 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29333 $(TARGET-tk))
29334 @endif tk
29339 .PHONY: check-tk maybe-check-tk
29340 maybe-check-tk:
29341 @if tk
29342 maybe-check-tk: check-tk
29344 check-tk:
29345 @: $(MAKE); $(unstage)
29346 @r=`${PWD_COMMAND}`; export r; \
29347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29348 $(HOST_EXPORTS) \
29349 (cd $(HOST_SUBDIR)/tk && \
29350 $(MAKE) $(FLAGS_TO_PASS) check)
29352 @endif tk
29354 .PHONY: install-tk maybe-install-tk
29355 maybe-install-tk:
29356 @if tk
29357 maybe-install-tk: install-tk
29359 install-tk: installdirs
29360 @: $(MAKE); $(unstage)
29361 @r=`${PWD_COMMAND}`; export r; \
29362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29363 $(HOST_EXPORTS) \
29364 (cd $(HOST_SUBDIR)/tk && \
29365 $(MAKE) $(FLAGS_TO_PASS) install)
29367 @endif tk
29369 .PHONY: install-strip-tk maybe-install-strip-tk
29370 maybe-install-strip-tk:
29371 @if tk
29372 maybe-install-strip-tk: install-strip-tk
29374 install-strip-tk: installdirs
29375 @: $(MAKE); $(unstage)
29376 @r=`${PWD_COMMAND}`; export r; \
29377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29378 $(HOST_EXPORTS) \
29379 (cd $(HOST_SUBDIR)/tk && \
29380 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29382 @endif tk
29384 # Other targets (info, dvi, pdf, etc.)
29386 .PHONY: maybe-info-tk info-tk
29387 maybe-info-tk:
29388 @if tk
29389 maybe-info-tk: info-tk
29391 info-tk: \
29392 configure-tk
29393 @: $(MAKE); $(unstage)
29394 @[ -f ./tk/Makefile ] || exit 0; \
29395 r=`${PWD_COMMAND}`; export r; \
29396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29397 $(HOST_EXPORTS) \
29398 for flag in $(EXTRA_HOST_FLAGS) ; do \
29399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29400 done; \
29401 echo "Doing info in tk"; \
29402 (cd $(HOST_SUBDIR)/tk && \
29403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29405 "RANLIB=$${RANLIB}" \
29406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29407 info) \
29408 || exit 1
29410 @endif tk
29412 .PHONY: maybe-dvi-tk dvi-tk
29413 maybe-dvi-tk:
29414 @if tk
29415 maybe-dvi-tk: dvi-tk
29417 dvi-tk: \
29418 configure-tk
29419 @: $(MAKE); $(unstage)
29420 @[ -f ./tk/Makefile ] || exit 0; \
29421 r=`${PWD_COMMAND}`; export r; \
29422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29423 $(HOST_EXPORTS) \
29424 for flag in $(EXTRA_HOST_FLAGS) ; do \
29425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29426 done; \
29427 echo "Doing dvi in tk"; \
29428 (cd $(HOST_SUBDIR)/tk && \
29429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29431 "RANLIB=$${RANLIB}" \
29432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29433 dvi) \
29434 || exit 1
29436 @endif tk
29438 .PHONY: maybe-pdf-tk pdf-tk
29439 maybe-pdf-tk:
29440 @if tk
29441 maybe-pdf-tk: pdf-tk
29443 pdf-tk: \
29444 configure-tk
29445 @: $(MAKE); $(unstage)
29446 @[ -f ./tk/Makefile ] || exit 0; \
29447 r=`${PWD_COMMAND}`; export r; \
29448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29449 $(HOST_EXPORTS) \
29450 for flag in $(EXTRA_HOST_FLAGS) ; do \
29451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29452 done; \
29453 echo "Doing pdf in tk"; \
29454 (cd $(HOST_SUBDIR)/tk && \
29455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29457 "RANLIB=$${RANLIB}" \
29458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29459 pdf) \
29460 || exit 1
29462 @endif tk
29464 .PHONY: maybe-html-tk html-tk
29465 maybe-html-tk:
29466 @if tk
29467 maybe-html-tk: html-tk
29469 html-tk: \
29470 configure-tk
29471 @: $(MAKE); $(unstage)
29472 @[ -f ./tk/Makefile ] || exit 0; \
29473 r=`${PWD_COMMAND}`; export r; \
29474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29475 $(HOST_EXPORTS) \
29476 for flag in $(EXTRA_HOST_FLAGS) ; do \
29477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29478 done; \
29479 echo "Doing html in tk"; \
29480 (cd $(HOST_SUBDIR)/tk && \
29481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29483 "RANLIB=$${RANLIB}" \
29484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29485 html) \
29486 || exit 1
29488 @endif tk
29490 .PHONY: maybe-TAGS-tk TAGS-tk
29491 maybe-TAGS-tk:
29492 @if tk
29493 maybe-TAGS-tk: TAGS-tk
29495 TAGS-tk: \
29496 configure-tk
29497 @: $(MAKE); $(unstage)
29498 @[ -f ./tk/Makefile ] || exit 0; \
29499 r=`${PWD_COMMAND}`; export r; \
29500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29501 $(HOST_EXPORTS) \
29502 for flag in $(EXTRA_HOST_FLAGS) ; do \
29503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29504 done; \
29505 echo "Doing TAGS in tk"; \
29506 (cd $(HOST_SUBDIR)/tk && \
29507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29509 "RANLIB=$${RANLIB}" \
29510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29511 TAGS) \
29512 || exit 1
29514 @endif tk
29516 .PHONY: maybe-install-info-tk install-info-tk
29517 maybe-install-info-tk:
29518 @if tk
29519 maybe-install-info-tk: install-info-tk
29521 install-info-tk: \
29522 configure-tk \
29523 info-tk
29524 @: $(MAKE); $(unstage)
29525 @[ -f ./tk/Makefile ] || exit 0; \
29526 r=`${PWD_COMMAND}`; export r; \
29527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29528 $(HOST_EXPORTS) \
29529 for flag in $(EXTRA_HOST_FLAGS) ; do \
29530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29531 done; \
29532 echo "Doing install-info in tk"; \
29533 (cd $(HOST_SUBDIR)/tk && \
29534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29536 "RANLIB=$${RANLIB}" \
29537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29538 install-info) \
29539 || exit 1
29541 @endif tk
29543 .PHONY: maybe-install-pdf-tk install-pdf-tk
29544 maybe-install-pdf-tk:
29545 @if tk
29546 maybe-install-pdf-tk: install-pdf-tk
29548 install-pdf-tk: \
29549 configure-tk \
29550 pdf-tk
29551 @: $(MAKE); $(unstage)
29552 @[ -f ./tk/Makefile ] || exit 0; \
29553 r=`${PWD_COMMAND}`; export r; \
29554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29555 $(HOST_EXPORTS) \
29556 for flag in $(EXTRA_HOST_FLAGS) ; do \
29557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29558 done; \
29559 echo "Doing install-pdf in tk"; \
29560 (cd $(HOST_SUBDIR)/tk && \
29561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29563 "RANLIB=$${RANLIB}" \
29564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29565 install-pdf) \
29566 || exit 1
29568 @endif tk
29570 .PHONY: maybe-install-html-tk install-html-tk
29571 maybe-install-html-tk:
29572 @if tk
29573 maybe-install-html-tk: install-html-tk
29575 install-html-tk: \
29576 configure-tk \
29577 html-tk
29578 @: $(MAKE); $(unstage)
29579 @[ -f ./tk/Makefile ] || exit 0; \
29580 r=`${PWD_COMMAND}`; export r; \
29581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29582 $(HOST_EXPORTS) \
29583 for flag in $(EXTRA_HOST_FLAGS) ; do \
29584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29585 done; \
29586 echo "Doing install-html in tk"; \
29587 (cd $(HOST_SUBDIR)/tk && \
29588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29590 "RANLIB=$${RANLIB}" \
29591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29592 install-html) \
29593 || exit 1
29595 @endif tk
29597 .PHONY: maybe-installcheck-tk installcheck-tk
29598 maybe-installcheck-tk:
29599 @if tk
29600 maybe-installcheck-tk: installcheck-tk
29602 installcheck-tk: \
29603 configure-tk
29604 @: $(MAKE); $(unstage)
29605 @[ -f ./tk/Makefile ] || exit 0; \
29606 r=`${PWD_COMMAND}`; export r; \
29607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29608 $(HOST_EXPORTS) \
29609 for flag in $(EXTRA_HOST_FLAGS) ; do \
29610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29611 done; \
29612 echo "Doing installcheck in tk"; \
29613 (cd $(HOST_SUBDIR)/tk && \
29614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29616 "RANLIB=$${RANLIB}" \
29617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29618 installcheck) \
29619 || exit 1
29621 @endif tk
29623 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
29624 maybe-mostlyclean-tk:
29625 @if tk
29626 maybe-mostlyclean-tk: mostlyclean-tk
29628 mostlyclean-tk:
29629 @: $(MAKE); $(unstage)
29630 @[ -f ./tk/Makefile ] || exit 0; \
29631 r=`${PWD_COMMAND}`; export r; \
29632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29633 $(HOST_EXPORTS) \
29634 for flag in $(EXTRA_HOST_FLAGS) ; do \
29635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29636 done; \
29637 echo "Doing mostlyclean in tk"; \
29638 (cd $(HOST_SUBDIR)/tk && \
29639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29641 "RANLIB=$${RANLIB}" \
29642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29643 mostlyclean) \
29644 || exit 1
29646 @endif tk
29648 .PHONY: maybe-clean-tk clean-tk
29649 maybe-clean-tk:
29650 @if tk
29651 maybe-clean-tk: clean-tk
29653 clean-tk:
29654 @: $(MAKE); $(unstage)
29655 @[ -f ./tk/Makefile ] || exit 0; \
29656 r=`${PWD_COMMAND}`; export r; \
29657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29658 $(HOST_EXPORTS) \
29659 for flag in $(EXTRA_HOST_FLAGS) ; do \
29660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29661 done; \
29662 echo "Doing clean in tk"; \
29663 (cd $(HOST_SUBDIR)/tk && \
29664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29666 "RANLIB=$${RANLIB}" \
29667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29668 clean) \
29669 || exit 1
29671 @endif tk
29673 .PHONY: maybe-distclean-tk distclean-tk
29674 maybe-distclean-tk:
29675 @if tk
29676 maybe-distclean-tk: distclean-tk
29678 distclean-tk:
29679 @: $(MAKE); $(unstage)
29680 @[ -f ./tk/Makefile ] || exit 0; \
29681 r=`${PWD_COMMAND}`; export r; \
29682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29683 $(HOST_EXPORTS) \
29684 for flag in $(EXTRA_HOST_FLAGS) ; do \
29685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29686 done; \
29687 echo "Doing distclean in tk"; \
29688 (cd $(HOST_SUBDIR)/tk && \
29689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29691 "RANLIB=$${RANLIB}" \
29692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29693 distclean) \
29694 || exit 1
29696 @endif tk
29698 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
29699 maybe-maintainer-clean-tk:
29700 @if tk
29701 maybe-maintainer-clean-tk: maintainer-clean-tk
29703 maintainer-clean-tk:
29704 @: $(MAKE); $(unstage)
29705 @[ -f ./tk/Makefile ] || exit 0; \
29706 r=`${PWD_COMMAND}`; export r; \
29707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29708 $(HOST_EXPORTS) \
29709 for flag in $(EXTRA_HOST_FLAGS) ; do \
29710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29711 done; \
29712 echo "Doing maintainer-clean in tk"; \
29713 (cd $(HOST_SUBDIR)/tk && \
29714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29716 "RANLIB=$${RANLIB}" \
29717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29718 maintainer-clean) \
29719 || exit 1
29721 @endif tk
29725 .PHONY: configure-libtermcap maybe-configure-libtermcap
29726 maybe-configure-libtermcap:
29727 @if gcc-bootstrap
29728 configure-libtermcap: stage_current
29729 @endif gcc-bootstrap
29730 @if libtermcap
29731 maybe-configure-libtermcap: configure-libtermcap
29732 configure-libtermcap:
29733 @: $(MAKE); $(unstage)
29734 @r=`${PWD_COMMAND}`; export r; \
29735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29736 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
29737 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap; \
29738 $(HOST_EXPORTS) \
29739 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
29740 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
29741 case $(srcdir) in \
29742 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29743 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
29744 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29745 esac; \
29746 module_srcdir=libtermcap; \
29747 $(SHELL) \
29748 $$s/$$module_srcdir/configure \
29749 --srcdir=$${topdir}/$$module_srcdir \
29750 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29751 --target=${target_alias} \
29752 || exit 1
29753 @endif libtermcap
29759 .PHONY: all-libtermcap maybe-all-libtermcap
29760 maybe-all-libtermcap:
29761 @if gcc-bootstrap
29762 all-libtermcap: stage_current
29763 @endif gcc-bootstrap
29764 @if libtermcap
29765 TARGET-libtermcap=all
29766 maybe-all-libtermcap: all-libtermcap
29767 all-libtermcap: configure-libtermcap
29768 @: $(MAKE); $(unstage)
29769 @r=`${PWD_COMMAND}`; export r; \
29770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29771 $(HOST_EXPORTS) \
29772 (cd $(HOST_SUBDIR)/libtermcap && \
29773 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29774 $(TARGET-libtermcap))
29775 @endif libtermcap
29780 .PHONY: check-libtermcap maybe-check-libtermcap
29781 maybe-check-libtermcap:
29782 @if libtermcap
29783 maybe-check-libtermcap: check-libtermcap
29785 check-libtermcap:
29787 @endif libtermcap
29789 .PHONY: install-libtermcap maybe-install-libtermcap
29790 maybe-install-libtermcap:
29791 @if libtermcap
29792 maybe-install-libtermcap: install-libtermcap
29794 install-libtermcap: installdirs
29795 @: $(MAKE); $(unstage)
29796 @r=`${PWD_COMMAND}`; export r; \
29797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29798 $(HOST_EXPORTS) \
29799 (cd $(HOST_SUBDIR)/libtermcap && \
29800 $(MAKE) $(FLAGS_TO_PASS) install)
29802 @endif libtermcap
29804 .PHONY: install-strip-libtermcap maybe-install-strip-libtermcap
29805 maybe-install-strip-libtermcap:
29806 @if libtermcap
29807 maybe-install-strip-libtermcap: install-strip-libtermcap
29809 install-strip-libtermcap: installdirs
29810 @: $(MAKE); $(unstage)
29811 @r=`${PWD_COMMAND}`; export r; \
29812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29813 $(HOST_EXPORTS) \
29814 (cd $(HOST_SUBDIR)/libtermcap && \
29815 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29817 @endif libtermcap
29819 # Other targets (info, dvi, pdf, etc.)
29821 .PHONY: maybe-info-libtermcap info-libtermcap
29822 maybe-info-libtermcap:
29823 @if libtermcap
29824 maybe-info-libtermcap: info-libtermcap
29826 info-libtermcap: \
29827 configure-libtermcap
29828 @: $(MAKE); $(unstage)
29829 @[ -f ./libtermcap/Makefile ] || exit 0; \
29830 r=`${PWD_COMMAND}`; export r; \
29831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29832 $(HOST_EXPORTS) \
29833 for flag in $(EXTRA_HOST_FLAGS) ; do \
29834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29835 done; \
29836 echo "Doing info in libtermcap"; \
29837 (cd $(HOST_SUBDIR)/libtermcap && \
29838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29840 "RANLIB=$${RANLIB}" \
29841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29842 info) \
29843 || exit 1
29845 @endif libtermcap
29847 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
29848 maybe-dvi-libtermcap:
29849 @if libtermcap
29850 maybe-dvi-libtermcap: dvi-libtermcap
29852 dvi-libtermcap: \
29853 configure-libtermcap
29854 @: $(MAKE); $(unstage)
29855 @[ -f ./libtermcap/Makefile ] || exit 0; \
29856 r=`${PWD_COMMAND}`; export r; \
29857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29858 $(HOST_EXPORTS) \
29859 for flag in $(EXTRA_HOST_FLAGS) ; do \
29860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29861 done; \
29862 echo "Doing dvi in libtermcap"; \
29863 (cd $(HOST_SUBDIR)/libtermcap && \
29864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29866 "RANLIB=$${RANLIB}" \
29867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29868 dvi) \
29869 || exit 1
29871 @endif libtermcap
29873 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
29874 maybe-pdf-libtermcap:
29875 @if libtermcap
29876 maybe-pdf-libtermcap: pdf-libtermcap
29878 pdf-libtermcap: \
29879 configure-libtermcap
29880 @: $(MAKE); $(unstage)
29881 @[ -f ./libtermcap/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 pdf in libtermcap"; \
29889 (cd $(HOST_SUBDIR)/libtermcap && \
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 pdf) \
29895 || exit 1
29897 @endif libtermcap
29899 .PHONY: maybe-html-libtermcap html-libtermcap
29900 maybe-html-libtermcap:
29901 @if libtermcap
29902 maybe-html-libtermcap: html-libtermcap
29904 html-libtermcap: \
29905 configure-libtermcap
29906 @: $(MAKE); $(unstage)
29907 @[ -f ./libtermcap/Makefile ] || exit 0; \
29908 r=`${PWD_COMMAND}`; export r; \
29909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29910 $(HOST_EXPORTS) \
29911 for flag in $(EXTRA_HOST_FLAGS) ; do \
29912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29913 done; \
29914 echo "Doing html in libtermcap"; \
29915 (cd $(HOST_SUBDIR)/libtermcap && \
29916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29918 "RANLIB=$${RANLIB}" \
29919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29920 html) \
29921 || exit 1
29923 @endif libtermcap
29925 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
29926 maybe-TAGS-libtermcap:
29927 @if libtermcap
29928 maybe-TAGS-libtermcap: TAGS-libtermcap
29930 TAGS-libtermcap: \
29931 configure-libtermcap
29932 @: $(MAKE); $(unstage)
29933 @[ -f ./libtermcap/Makefile ] || exit 0; \
29934 r=`${PWD_COMMAND}`; export r; \
29935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29936 $(HOST_EXPORTS) \
29937 for flag in $(EXTRA_HOST_FLAGS) ; do \
29938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29939 done; \
29940 echo "Doing TAGS in libtermcap"; \
29941 (cd $(HOST_SUBDIR)/libtermcap && \
29942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29944 "RANLIB=$${RANLIB}" \
29945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29946 TAGS) \
29947 || exit 1
29949 @endif libtermcap
29951 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
29952 maybe-install-info-libtermcap:
29953 @if libtermcap
29954 maybe-install-info-libtermcap: install-info-libtermcap
29956 install-info-libtermcap: \
29957 configure-libtermcap \
29958 info-libtermcap
29959 @: $(MAKE); $(unstage)
29960 @[ -f ./libtermcap/Makefile ] || exit 0; \
29961 r=`${PWD_COMMAND}`; export r; \
29962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29963 $(HOST_EXPORTS) \
29964 for flag in $(EXTRA_HOST_FLAGS) ; do \
29965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29966 done; \
29967 echo "Doing install-info in libtermcap"; \
29968 (cd $(HOST_SUBDIR)/libtermcap && \
29969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29971 "RANLIB=$${RANLIB}" \
29972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29973 install-info) \
29974 || exit 1
29976 @endif libtermcap
29978 .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap
29979 maybe-install-pdf-libtermcap:
29980 @if libtermcap
29981 maybe-install-pdf-libtermcap: install-pdf-libtermcap
29983 install-pdf-libtermcap: \
29984 configure-libtermcap \
29985 pdf-libtermcap
29986 @: $(MAKE); $(unstage)
29987 @[ -f ./libtermcap/Makefile ] || exit 0; \
29988 r=`${PWD_COMMAND}`; export r; \
29989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29990 $(HOST_EXPORTS) \
29991 for flag in $(EXTRA_HOST_FLAGS) ; do \
29992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29993 done; \
29994 echo "Doing install-pdf in libtermcap"; \
29995 (cd $(HOST_SUBDIR)/libtermcap && \
29996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29998 "RANLIB=$${RANLIB}" \
29999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30000 install-pdf) \
30001 || exit 1
30003 @endif libtermcap
30005 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
30006 maybe-install-html-libtermcap:
30007 @if libtermcap
30008 maybe-install-html-libtermcap: install-html-libtermcap
30010 install-html-libtermcap: \
30011 configure-libtermcap \
30012 html-libtermcap
30013 @: $(MAKE); $(unstage)
30014 @[ -f ./libtermcap/Makefile ] || exit 0; \
30015 r=`${PWD_COMMAND}`; export r; \
30016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30017 $(HOST_EXPORTS) \
30018 for flag in $(EXTRA_HOST_FLAGS) ; do \
30019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30020 done; \
30021 echo "Doing install-html in libtermcap"; \
30022 (cd $(HOST_SUBDIR)/libtermcap && \
30023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30025 "RANLIB=$${RANLIB}" \
30026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30027 install-html) \
30028 || exit 1
30030 @endif libtermcap
30032 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
30033 maybe-installcheck-libtermcap:
30034 @if libtermcap
30035 maybe-installcheck-libtermcap: installcheck-libtermcap
30037 installcheck-libtermcap: \
30038 configure-libtermcap
30039 @: $(MAKE); $(unstage)
30040 @[ -f ./libtermcap/Makefile ] || exit 0; \
30041 r=`${PWD_COMMAND}`; export r; \
30042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30043 $(HOST_EXPORTS) \
30044 for flag in $(EXTRA_HOST_FLAGS) ; do \
30045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30046 done; \
30047 echo "Doing installcheck in libtermcap"; \
30048 (cd $(HOST_SUBDIR)/libtermcap && \
30049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30051 "RANLIB=$${RANLIB}" \
30052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30053 installcheck) \
30054 || exit 1
30056 @endif libtermcap
30058 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
30059 maybe-mostlyclean-libtermcap:
30060 @if libtermcap
30061 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
30063 # libtermcap doesn't support mostlyclean.
30064 mostlyclean-libtermcap:
30066 @endif libtermcap
30068 .PHONY: maybe-clean-libtermcap clean-libtermcap
30069 maybe-clean-libtermcap:
30070 @if libtermcap
30071 maybe-clean-libtermcap: clean-libtermcap
30073 # libtermcap doesn't support clean.
30074 clean-libtermcap:
30076 @endif libtermcap
30078 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
30079 maybe-distclean-libtermcap:
30080 @if libtermcap
30081 maybe-distclean-libtermcap: distclean-libtermcap
30083 # libtermcap doesn't support distclean.
30084 distclean-libtermcap:
30086 @endif libtermcap
30088 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
30089 maybe-maintainer-clean-libtermcap:
30090 @if libtermcap
30091 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
30093 # libtermcap doesn't support maintainer-clean.
30094 maintainer-clean-libtermcap:
30096 @endif libtermcap
30100 .PHONY: configure-utils maybe-configure-utils
30101 maybe-configure-utils:
30102 @if gcc-bootstrap
30103 configure-utils: stage_current
30104 @endif gcc-bootstrap
30105 @if utils
30106 maybe-configure-utils: configure-utils
30107 configure-utils:
30108 @: $(MAKE); $(unstage)
30109 @r=`${PWD_COMMAND}`; export r; \
30110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30111 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
30112 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils; \
30113 $(HOST_EXPORTS) \
30114 echo Configuring in $(HOST_SUBDIR)/utils; \
30115 cd "$(HOST_SUBDIR)/utils" || exit 1; \
30116 case $(srcdir) in \
30117 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30118 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
30119 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30120 esac; \
30121 module_srcdir=utils; \
30122 $(SHELL) \
30123 $$s/$$module_srcdir/configure \
30124 --srcdir=$${topdir}/$$module_srcdir \
30125 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30126 --target=${target_alias} \
30127 || exit 1
30128 @endif utils
30134 .PHONY: all-utils maybe-all-utils
30135 maybe-all-utils:
30136 @if gcc-bootstrap
30137 all-utils: stage_current
30138 @endif gcc-bootstrap
30139 @if utils
30140 TARGET-utils=all
30141 maybe-all-utils: all-utils
30142 all-utils: configure-utils
30143 @: $(MAKE); $(unstage)
30144 @r=`${PWD_COMMAND}`; export r; \
30145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30146 $(HOST_EXPORTS) \
30147 (cd $(HOST_SUBDIR)/utils && \
30148 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30149 $(TARGET-utils))
30150 @endif utils
30155 .PHONY: check-utils maybe-check-utils
30156 maybe-check-utils:
30157 @if utils
30158 maybe-check-utils: check-utils
30160 check-utils:
30162 @endif utils
30164 .PHONY: install-utils maybe-install-utils
30165 maybe-install-utils:
30166 @if utils
30167 maybe-install-utils: install-utils
30169 install-utils: installdirs
30170 @: $(MAKE); $(unstage)
30171 @r=`${PWD_COMMAND}`; export r; \
30172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30173 $(HOST_EXPORTS) \
30174 (cd $(HOST_SUBDIR)/utils && \
30175 $(MAKE) $(FLAGS_TO_PASS) install)
30177 @endif utils
30179 .PHONY: install-strip-utils maybe-install-strip-utils
30180 maybe-install-strip-utils:
30181 @if utils
30182 maybe-install-strip-utils: install-strip-utils
30184 install-strip-utils: installdirs
30185 @: $(MAKE); $(unstage)
30186 @r=`${PWD_COMMAND}`; export r; \
30187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30188 $(HOST_EXPORTS) \
30189 (cd $(HOST_SUBDIR)/utils && \
30190 $(MAKE) $(FLAGS_TO_PASS) install-strip)
30192 @endif utils
30194 # Other targets (info, dvi, pdf, etc.)
30196 .PHONY: maybe-info-utils info-utils
30197 maybe-info-utils:
30198 @if utils
30199 maybe-info-utils: info-utils
30201 info-utils: \
30202 configure-utils
30203 @: $(MAKE); $(unstage)
30204 @[ -f ./utils/Makefile ] || exit 0; \
30205 r=`${PWD_COMMAND}`; export r; \
30206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30207 $(HOST_EXPORTS) \
30208 for flag in $(EXTRA_HOST_FLAGS) ; do \
30209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30210 done; \
30211 echo "Doing info in utils"; \
30212 (cd $(HOST_SUBDIR)/utils && \
30213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30215 "RANLIB=$${RANLIB}" \
30216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30217 info) \
30218 || exit 1
30220 @endif utils
30222 .PHONY: maybe-dvi-utils dvi-utils
30223 maybe-dvi-utils:
30224 @if utils
30225 maybe-dvi-utils: dvi-utils
30227 dvi-utils: \
30228 configure-utils
30229 @: $(MAKE); $(unstage)
30230 @[ -f ./utils/Makefile ] || exit 0; \
30231 r=`${PWD_COMMAND}`; export r; \
30232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30233 $(HOST_EXPORTS) \
30234 for flag in $(EXTRA_HOST_FLAGS) ; do \
30235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30236 done; \
30237 echo "Doing dvi in utils"; \
30238 (cd $(HOST_SUBDIR)/utils && \
30239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30241 "RANLIB=$${RANLIB}" \
30242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30243 dvi) \
30244 || exit 1
30246 @endif utils
30248 .PHONY: maybe-pdf-utils pdf-utils
30249 maybe-pdf-utils:
30250 @if utils
30251 maybe-pdf-utils: pdf-utils
30253 pdf-utils: \
30254 configure-utils
30255 @: $(MAKE); $(unstage)
30256 @[ -f ./utils/Makefile ] || exit 0; \
30257 r=`${PWD_COMMAND}`; export r; \
30258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30259 $(HOST_EXPORTS) \
30260 for flag in $(EXTRA_HOST_FLAGS) ; do \
30261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30262 done; \
30263 echo "Doing pdf in utils"; \
30264 (cd $(HOST_SUBDIR)/utils && \
30265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30267 "RANLIB=$${RANLIB}" \
30268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30269 pdf) \
30270 || exit 1
30272 @endif utils
30274 .PHONY: maybe-html-utils html-utils
30275 maybe-html-utils:
30276 @if utils
30277 maybe-html-utils: html-utils
30279 html-utils: \
30280 configure-utils
30281 @: $(MAKE); $(unstage)
30282 @[ -f ./utils/Makefile ] || exit 0; \
30283 r=`${PWD_COMMAND}`; export r; \
30284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30285 $(HOST_EXPORTS) \
30286 for flag in $(EXTRA_HOST_FLAGS) ; do \
30287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30288 done; \
30289 echo "Doing html in utils"; \
30290 (cd $(HOST_SUBDIR)/utils && \
30291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30293 "RANLIB=$${RANLIB}" \
30294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30295 html) \
30296 || exit 1
30298 @endif utils
30300 .PHONY: maybe-TAGS-utils TAGS-utils
30301 maybe-TAGS-utils:
30302 @if utils
30303 maybe-TAGS-utils: TAGS-utils
30305 TAGS-utils: \
30306 configure-utils
30307 @: $(MAKE); $(unstage)
30308 @[ -f ./utils/Makefile ] || exit 0; \
30309 r=`${PWD_COMMAND}`; export r; \
30310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30311 $(HOST_EXPORTS) \
30312 for flag in $(EXTRA_HOST_FLAGS) ; do \
30313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30314 done; \
30315 echo "Doing TAGS in utils"; \
30316 (cd $(HOST_SUBDIR)/utils && \
30317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30319 "RANLIB=$${RANLIB}" \
30320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30321 TAGS) \
30322 || exit 1
30324 @endif utils
30326 .PHONY: maybe-install-info-utils install-info-utils
30327 maybe-install-info-utils:
30328 @if utils
30329 maybe-install-info-utils: install-info-utils
30331 install-info-utils: \
30332 configure-utils \
30333 info-utils
30334 @: $(MAKE); $(unstage)
30335 @[ -f ./utils/Makefile ] || exit 0; \
30336 r=`${PWD_COMMAND}`; export r; \
30337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30338 $(HOST_EXPORTS) \
30339 for flag in $(EXTRA_HOST_FLAGS) ; do \
30340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30341 done; \
30342 echo "Doing install-info in utils"; \
30343 (cd $(HOST_SUBDIR)/utils && \
30344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30346 "RANLIB=$${RANLIB}" \
30347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30348 install-info) \
30349 || exit 1
30351 @endif utils
30353 .PHONY: maybe-install-pdf-utils install-pdf-utils
30354 maybe-install-pdf-utils:
30355 @if utils
30356 maybe-install-pdf-utils: install-pdf-utils
30358 install-pdf-utils: \
30359 configure-utils \
30360 pdf-utils
30361 @: $(MAKE); $(unstage)
30362 @[ -f ./utils/Makefile ] || exit 0; \
30363 r=`${PWD_COMMAND}`; export r; \
30364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30365 $(HOST_EXPORTS) \
30366 for flag in $(EXTRA_HOST_FLAGS) ; do \
30367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30368 done; \
30369 echo "Doing install-pdf in utils"; \
30370 (cd $(HOST_SUBDIR)/utils && \
30371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30373 "RANLIB=$${RANLIB}" \
30374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30375 install-pdf) \
30376 || exit 1
30378 @endif utils
30380 .PHONY: maybe-install-html-utils install-html-utils
30381 maybe-install-html-utils:
30382 @if utils
30383 maybe-install-html-utils: install-html-utils
30385 install-html-utils: \
30386 configure-utils \
30387 html-utils
30388 @: $(MAKE); $(unstage)
30389 @[ -f ./utils/Makefile ] || exit 0; \
30390 r=`${PWD_COMMAND}`; export r; \
30391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30392 $(HOST_EXPORTS) \
30393 for flag in $(EXTRA_HOST_FLAGS) ; do \
30394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30395 done; \
30396 echo "Doing install-html in utils"; \
30397 (cd $(HOST_SUBDIR)/utils && \
30398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30400 "RANLIB=$${RANLIB}" \
30401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30402 install-html) \
30403 || exit 1
30405 @endif utils
30407 .PHONY: maybe-installcheck-utils installcheck-utils
30408 maybe-installcheck-utils:
30409 @if utils
30410 maybe-installcheck-utils: installcheck-utils
30412 installcheck-utils: \
30413 configure-utils
30414 @: $(MAKE); $(unstage)
30415 @[ -f ./utils/Makefile ] || exit 0; \
30416 r=`${PWD_COMMAND}`; export r; \
30417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30418 $(HOST_EXPORTS) \
30419 for flag in $(EXTRA_HOST_FLAGS) ; do \
30420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30421 done; \
30422 echo "Doing installcheck in utils"; \
30423 (cd $(HOST_SUBDIR)/utils && \
30424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30426 "RANLIB=$${RANLIB}" \
30427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30428 installcheck) \
30429 || exit 1
30431 @endif utils
30433 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
30434 maybe-mostlyclean-utils:
30435 @if utils
30436 maybe-mostlyclean-utils: mostlyclean-utils
30438 mostlyclean-utils:
30439 @: $(MAKE); $(unstage)
30440 @[ -f ./utils/Makefile ] || exit 0; \
30441 r=`${PWD_COMMAND}`; export r; \
30442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30443 $(HOST_EXPORTS) \
30444 for flag in $(EXTRA_HOST_FLAGS) ; do \
30445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30446 done; \
30447 echo "Doing mostlyclean in utils"; \
30448 (cd $(HOST_SUBDIR)/utils && \
30449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30451 "RANLIB=$${RANLIB}" \
30452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30453 mostlyclean) \
30454 || exit 1
30456 @endif utils
30458 .PHONY: maybe-clean-utils clean-utils
30459 maybe-clean-utils:
30460 @if utils
30461 maybe-clean-utils: clean-utils
30463 clean-utils:
30464 @: $(MAKE); $(unstage)
30465 @[ -f ./utils/Makefile ] || exit 0; \
30466 r=`${PWD_COMMAND}`; export r; \
30467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30468 $(HOST_EXPORTS) \
30469 for flag in $(EXTRA_HOST_FLAGS) ; do \
30470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30471 done; \
30472 echo "Doing clean in utils"; \
30473 (cd $(HOST_SUBDIR)/utils && \
30474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30476 "RANLIB=$${RANLIB}" \
30477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30478 clean) \
30479 || exit 1
30481 @endif utils
30483 .PHONY: maybe-distclean-utils distclean-utils
30484 maybe-distclean-utils:
30485 @if utils
30486 maybe-distclean-utils: distclean-utils
30488 distclean-utils:
30489 @: $(MAKE); $(unstage)
30490 @[ -f ./utils/Makefile ] || exit 0; \
30491 r=`${PWD_COMMAND}`; export r; \
30492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30493 $(HOST_EXPORTS) \
30494 for flag in $(EXTRA_HOST_FLAGS) ; do \
30495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30496 done; \
30497 echo "Doing distclean in utils"; \
30498 (cd $(HOST_SUBDIR)/utils && \
30499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30501 "RANLIB=$${RANLIB}" \
30502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30503 distclean) \
30504 || exit 1
30506 @endif utils
30508 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
30509 maybe-maintainer-clean-utils:
30510 @if utils
30511 maybe-maintainer-clean-utils: maintainer-clean-utils
30513 maintainer-clean-utils:
30514 @: $(MAKE); $(unstage)
30515 @[ -f ./utils/Makefile ] || exit 0; \
30516 r=`${PWD_COMMAND}`; export r; \
30517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30518 $(HOST_EXPORTS) \
30519 for flag in $(EXTRA_HOST_FLAGS) ; do \
30520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30521 done; \
30522 echo "Doing maintainer-clean in utils"; \
30523 (cd $(HOST_SUBDIR)/utils && \
30524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30526 "RANLIB=$${RANLIB}" \
30527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30528 maintainer-clean) \
30529 || exit 1
30531 @endif utils
30535 .PHONY: configure-gnattools maybe-configure-gnattools
30536 maybe-configure-gnattools:
30537 @if gcc-bootstrap
30538 configure-gnattools: stage_current
30539 @endif gcc-bootstrap
30540 @if gnattools
30541 maybe-configure-gnattools: configure-gnattools
30542 configure-gnattools:
30543 @: $(MAKE); $(unstage)
30544 @r=`${PWD_COMMAND}`; export r; \
30545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30546 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
30547 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools; \
30548 $(HOST_EXPORTS) \
30549 echo Configuring in $(HOST_SUBDIR)/gnattools; \
30550 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
30551 case $(srcdir) in \
30552 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30553 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
30554 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30555 esac; \
30556 module_srcdir=gnattools; \
30557 $(SHELL) \
30558 $$s/$$module_srcdir/configure \
30559 --srcdir=$${topdir}/$$module_srcdir \
30560 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30561 --target=${target_alias} \
30562 || exit 1
30563 @endif gnattools
30569 .PHONY: all-gnattools maybe-all-gnattools
30570 maybe-all-gnattools:
30571 @if gcc-bootstrap
30572 all-gnattools: stage_current
30573 @endif gcc-bootstrap
30574 @if gnattools
30575 TARGET-gnattools=all
30576 maybe-all-gnattools: all-gnattools
30577 all-gnattools: configure-gnattools
30578 @: $(MAKE); $(unstage)
30579 @r=`${PWD_COMMAND}`; export r; \
30580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30581 $(HOST_EXPORTS) \
30582 (cd $(HOST_SUBDIR)/gnattools && \
30583 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30584 $(TARGET-gnattools))
30585 @endif gnattools
30590 .PHONY: check-gnattools maybe-check-gnattools
30591 maybe-check-gnattools:
30592 @if gnattools
30593 maybe-check-gnattools: check-gnattools
30595 check-gnattools:
30596 @: $(MAKE); $(unstage)
30597 @r=`${PWD_COMMAND}`; export r; \
30598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30599 $(HOST_EXPORTS) \
30600 (cd $(HOST_SUBDIR)/gnattools && \
30601 $(MAKE) $(FLAGS_TO_PASS) check)
30603 @endif gnattools
30605 .PHONY: install-gnattools maybe-install-gnattools
30606 maybe-install-gnattools:
30607 @if gnattools
30608 maybe-install-gnattools: install-gnattools
30610 install-gnattools: installdirs
30611 @: $(MAKE); $(unstage)
30612 @r=`${PWD_COMMAND}`; export r; \
30613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30614 $(HOST_EXPORTS) \
30615 (cd $(HOST_SUBDIR)/gnattools && \
30616 $(MAKE) $(FLAGS_TO_PASS) install)
30618 @endif gnattools
30620 .PHONY: install-strip-gnattools maybe-install-strip-gnattools
30621 maybe-install-strip-gnattools:
30622 @if gnattools
30623 maybe-install-strip-gnattools: install-strip-gnattools
30625 install-strip-gnattools: installdirs
30626 @: $(MAKE); $(unstage)
30627 @r=`${PWD_COMMAND}`; export r; \
30628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30629 $(HOST_EXPORTS) \
30630 (cd $(HOST_SUBDIR)/gnattools && \
30631 $(MAKE) $(FLAGS_TO_PASS) install-strip)
30633 @endif gnattools
30635 # Other targets (info, dvi, pdf, etc.)
30637 .PHONY: maybe-info-gnattools info-gnattools
30638 maybe-info-gnattools:
30639 @if gnattools
30640 maybe-info-gnattools: info-gnattools
30642 info-gnattools: \
30643 configure-gnattools
30644 @: $(MAKE); $(unstage)
30645 @[ -f ./gnattools/Makefile ] || exit 0; \
30646 r=`${PWD_COMMAND}`; export r; \
30647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30648 $(HOST_EXPORTS) \
30649 for flag in $(EXTRA_HOST_FLAGS) ; do \
30650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30651 done; \
30652 echo "Doing info in gnattools"; \
30653 (cd $(HOST_SUBDIR)/gnattools && \
30654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30656 "RANLIB=$${RANLIB}" \
30657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30658 info) \
30659 || exit 1
30661 @endif gnattools
30663 .PHONY: maybe-dvi-gnattools dvi-gnattools
30664 maybe-dvi-gnattools:
30665 @if gnattools
30666 maybe-dvi-gnattools: dvi-gnattools
30668 dvi-gnattools: \
30669 configure-gnattools
30670 @: $(MAKE); $(unstage)
30671 @[ -f ./gnattools/Makefile ] || exit 0; \
30672 r=`${PWD_COMMAND}`; export r; \
30673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30674 $(HOST_EXPORTS) \
30675 for flag in $(EXTRA_HOST_FLAGS) ; do \
30676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30677 done; \
30678 echo "Doing dvi in gnattools"; \
30679 (cd $(HOST_SUBDIR)/gnattools && \
30680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30682 "RANLIB=$${RANLIB}" \
30683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30684 dvi) \
30685 || exit 1
30687 @endif gnattools
30689 .PHONY: maybe-pdf-gnattools pdf-gnattools
30690 maybe-pdf-gnattools:
30691 @if gnattools
30692 maybe-pdf-gnattools: pdf-gnattools
30694 pdf-gnattools: \
30695 configure-gnattools
30696 @: $(MAKE); $(unstage)
30697 @[ -f ./gnattools/Makefile ] || exit 0; \
30698 r=`${PWD_COMMAND}`; export r; \
30699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30700 $(HOST_EXPORTS) \
30701 for flag in $(EXTRA_HOST_FLAGS) ; do \
30702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30703 done; \
30704 echo "Doing pdf in gnattools"; \
30705 (cd $(HOST_SUBDIR)/gnattools && \
30706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30708 "RANLIB=$${RANLIB}" \
30709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30710 pdf) \
30711 || exit 1
30713 @endif gnattools
30715 .PHONY: maybe-html-gnattools html-gnattools
30716 maybe-html-gnattools:
30717 @if gnattools
30718 maybe-html-gnattools: html-gnattools
30720 html-gnattools: \
30721 configure-gnattools
30722 @: $(MAKE); $(unstage)
30723 @[ -f ./gnattools/Makefile ] || exit 0; \
30724 r=`${PWD_COMMAND}`; export r; \
30725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30726 $(HOST_EXPORTS) \
30727 for flag in $(EXTRA_HOST_FLAGS) ; do \
30728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30729 done; \
30730 echo "Doing html in gnattools"; \
30731 (cd $(HOST_SUBDIR)/gnattools && \
30732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30734 "RANLIB=$${RANLIB}" \
30735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30736 html) \
30737 || exit 1
30739 @endif gnattools
30741 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
30742 maybe-TAGS-gnattools:
30743 @if gnattools
30744 maybe-TAGS-gnattools: TAGS-gnattools
30746 TAGS-gnattools: \
30747 configure-gnattools
30748 @: $(MAKE); $(unstage)
30749 @[ -f ./gnattools/Makefile ] || exit 0; \
30750 r=`${PWD_COMMAND}`; export r; \
30751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30752 $(HOST_EXPORTS) \
30753 for flag in $(EXTRA_HOST_FLAGS) ; do \
30754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30755 done; \
30756 echo "Doing TAGS in gnattools"; \
30757 (cd $(HOST_SUBDIR)/gnattools && \
30758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30760 "RANLIB=$${RANLIB}" \
30761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30762 TAGS) \
30763 || exit 1
30765 @endif gnattools
30767 .PHONY: maybe-install-info-gnattools install-info-gnattools
30768 maybe-install-info-gnattools:
30769 @if gnattools
30770 maybe-install-info-gnattools: install-info-gnattools
30772 install-info-gnattools: \
30773 configure-gnattools \
30774 info-gnattools
30775 @: $(MAKE); $(unstage)
30776 @[ -f ./gnattools/Makefile ] || exit 0; \
30777 r=`${PWD_COMMAND}`; export r; \
30778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30779 $(HOST_EXPORTS) \
30780 for flag in $(EXTRA_HOST_FLAGS) ; do \
30781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30782 done; \
30783 echo "Doing install-info in gnattools"; \
30784 (cd $(HOST_SUBDIR)/gnattools && \
30785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30787 "RANLIB=$${RANLIB}" \
30788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30789 install-info) \
30790 || exit 1
30792 @endif gnattools
30794 .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools
30795 maybe-install-pdf-gnattools:
30796 @if gnattools
30797 maybe-install-pdf-gnattools: install-pdf-gnattools
30799 install-pdf-gnattools: \
30800 configure-gnattools \
30801 pdf-gnattools
30802 @: $(MAKE); $(unstage)
30803 @[ -f ./gnattools/Makefile ] || exit 0; \
30804 r=`${PWD_COMMAND}`; export r; \
30805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30806 $(HOST_EXPORTS) \
30807 for flag in $(EXTRA_HOST_FLAGS) ; do \
30808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30809 done; \
30810 echo "Doing install-pdf in gnattools"; \
30811 (cd $(HOST_SUBDIR)/gnattools && \
30812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30814 "RANLIB=$${RANLIB}" \
30815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30816 install-pdf) \
30817 || exit 1
30819 @endif gnattools
30821 .PHONY: maybe-install-html-gnattools install-html-gnattools
30822 maybe-install-html-gnattools:
30823 @if gnattools
30824 maybe-install-html-gnattools: install-html-gnattools
30826 install-html-gnattools: \
30827 configure-gnattools \
30828 html-gnattools
30829 @: $(MAKE); $(unstage)
30830 @[ -f ./gnattools/Makefile ] || exit 0; \
30831 r=`${PWD_COMMAND}`; export r; \
30832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30833 $(HOST_EXPORTS) \
30834 for flag in $(EXTRA_HOST_FLAGS) ; do \
30835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30836 done; \
30837 echo "Doing install-html in gnattools"; \
30838 (cd $(HOST_SUBDIR)/gnattools && \
30839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30841 "RANLIB=$${RANLIB}" \
30842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30843 install-html) \
30844 || exit 1
30846 @endif gnattools
30848 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
30849 maybe-installcheck-gnattools:
30850 @if gnattools
30851 maybe-installcheck-gnattools: installcheck-gnattools
30853 installcheck-gnattools: \
30854 configure-gnattools
30855 @: $(MAKE); $(unstage)
30856 @[ -f ./gnattools/Makefile ] || exit 0; \
30857 r=`${PWD_COMMAND}`; export r; \
30858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30859 $(HOST_EXPORTS) \
30860 for flag in $(EXTRA_HOST_FLAGS) ; do \
30861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30862 done; \
30863 echo "Doing installcheck in gnattools"; \
30864 (cd $(HOST_SUBDIR)/gnattools && \
30865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30867 "RANLIB=$${RANLIB}" \
30868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30869 installcheck) \
30870 || exit 1
30872 @endif gnattools
30874 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
30875 maybe-mostlyclean-gnattools:
30876 @if gnattools
30877 maybe-mostlyclean-gnattools: mostlyclean-gnattools
30879 mostlyclean-gnattools:
30880 @: $(MAKE); $(unstage)
30881 @[ -f ./gnattools/Makefile ] || exit 0; \
30882 r=`${PWD_COMMAND}`; export r; \
30883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30884 $(HOST_EXPORTS) \
30885 for flag in $(EXTRA_HOST_FLAGS) ; do \
30886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30887 done; \
30888 echo "Doing mostlyclean in gnattools"; \
30889 (cd $(HOST_SUBDIR)/gnattools && \
30890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30892 "RANLIB=$${RANLIB}" \
30893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30894 mostlyclean) \
30895 || exit 1
30897 @endif gnattools
30899 .PHONY: maybe-clean-gnattools clean-gnattools
30900 maybe-clean-gnattools:
30901 @if gnattools
30902 maybe-clean-gnattools: clean-gnattools
30904 clean-gnattools:
30905 @: $(MAKE); $(unstage)
30906 @[ -f ./gnattools/Makefile ] || exit 0; \
30907 r=`${PWD_COMMAND}`; export r; \
30908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30909 $(HOST_EXPORTS) \
30910 for flag in $(EXTRA_HOST_FLAGS) ; do \
30911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30912 done; \
30913 echo "Doing clean in gnattools"; \
30914 (cd $(HOST_SUBDIR)/gnattools && \
30915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30917 "RANLIB=$${RANLIB}" \
30918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30919 clean) \
30920 || exit 1
30922 @endif gnattools
30924 .PHONY: maybe-distclean-gnattools distclean-gnattools
30925 maybe-distclean-gnattools:
30926 @if gnattools
30927 maybe-distclean-gnattools: distclean-gnattools
30929 distclean-gnattools:
30930 @: $(MAKE); $(unstage)
30931 @[ -f ./gnattools/Makefile ] || exit 0; \
30932 r=`${PWD_COMMAND}`; export r; \
30933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30934 $(HOST_EXPORTS) \
30935 for flag in $(EXTRA_HOST_FLAGS) ; do \
30936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30937 done; \
30938 echo "Doing distclean in gnattools"; \
30939 (cd $(HOST_SUBDIR)/gnattools && \
30940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30942 "RANLIB=$${RANLIB}" \
30943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30944 distclean) \
30945 || exit 1
30947 @endif gnattools
30949 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
30950 maybe-maintainer-clean-gnattools:
30951 @if gnattools
30952 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
30954 maintainer-clean-gnattools:
30955 @: $(MAKE); $(unstage)
30956 @[ -f ./gnattools/Makefile ] || exit 0; \
30957 r=`${PWD_COMMAND}`; export r; \
30958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30959 $(HOST_EXPORTS) \
30960 for flag in $(EXTRA_HOST_FLAGS) ; do \
30961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30962 done; \
30963 echo "Doing maintainer-clean in gnattools"; \
30964 (cd $(HOST_SUBDIR)/gnattools && \
30965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30967 "RANLIB=$${RANLIB}" \
30968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30969 maintainer-clean) \
30970 || exit 1
30972 @endif gnattools
30976 .PHONY: configure-lto-plugin maybe-configure-lto-plugin
30977 maybe-configure-lto-plugin:
30978 @if gcc-bootstrap
30979 configure-lto-plugin: stage_current
30980 @endif gcc-bootstrap
30981 @if lto-plugin
30982 maybe-configure-lto-plugin: configure-lto-plugin
30983 configure-lto-plugin:
30984 @r=`${PWD_COMMAND}`; export r; \
30985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30986 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30987 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
30988 $(HOST_EXPORTS) \
30989 echo Configuring in $(HOST_SUBDIR)/lto-plugin; \
30990 cd "$(HOST_SUBDIR)/lto-plugin" || exit 1; \
30991 case $(srcdir) in \
30992 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30993 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30994 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30995 esac; \
30996 module_srcdir=lto-plugin; \
30997 $(SHELL) \
30998 $$s/$$module_srcdir/configure \
30999 --srcdir=$${topdir}/$$module_srcdir \
31000 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31001 --target=${target_alias} --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ \
31002 || exit 1
31003 @endif lto-plugin
31007 .PHONY: configure-stage1-lto-plugin maybe-configure-stage1-lto-plugin
31008 maybe-configure-stage1-lto-plugin:
31009 @if lto-plugin-bootstrap
31010 maybe-configure-stage1-lto-plugin: configure-stage1-lto-plugin
31011 configure-stage1-lto-plugin:
31012 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
31013 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
31014 @r=`${PWD_COMMAND}`; export r; \
31015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31016 TFLAGS="$(STAGE1_TFLAGS)"; \
31017 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
31018 $(HOST_EXPORTS) \
31019 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
31020 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
31021 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
31022 echo Configuring stage 1 in $(HOST_SUBDIR)/lto-plugin; \
31023 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
31024 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
31025 case $(srcdir) in \
31026 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31027 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
31028 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31029 esac; \
31030 module_srcdir=lto-plugin; \
31031 $(SHELL) $$s/$$module_srcdir/configure \
31032 --srcdir=$${topdir}/$$module_srcdir \
31033 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31034 --target=${target_alias} \
31036 $(STAGE1_CONFIGURE_FLAGS) \
31037 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
31038 @endif lto-plugin-bootstrap
31040 .PHONY: configure-stage2-lto-plugin maybe-configure-stage2-lto-plugin
31041 maybe-configure-stage2-lto-plugin:
31042 @if lto-plugin-bootstrap
31043 maybe-configure-stage2-lto-plugin: configure-stage2-lto-plugin
31044 configure-stage2-lto-plugin:
31045 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
31046 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
31047 @r=`${PWD_COMMAND}`; export r; \
31048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31049 TFLAGS="$(STAGE2_TFLAGS)"; \
31050 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
31051 $(HOST_EXPORTS) \
31052 $(POSTSTAGE1_HOST_EXPORTS) \
31053 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
31054 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
31055 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
31056 echo Configuring stage 2 in $(HOST_SUBDIR)/lto-plugin; \
31057 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
31058 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
31059 case $(srcdir) in \
31060 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31061 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
31062 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31063 esac; \
31064 module_srcdir=lto-plugin; \
31065 $(SHELL) $$s/$$module_srcdir/configure \
31066 --srcdir=$${topdir}/$$module_srcdir \
31067 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31068 --target=${target_alias} \
31069 --with-build-libsubdir=$(HOST_SUBDIR) \
31070 $(STAGE2_CONFIGURE_FLAGS) \
31071 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
31072 @endif lto-plugin-bootstrap
31074 .PHONY: configure-stage3-lto-plugin maybe-configure-stage3-lto-plugin
31075 maybe-configure-stage3-lto-plugin:
31076 @if lto-plugin-bootstrap
31077 maybe-configure-stage3-lto-plugin: configure-stage3-lto-plugin
31078 configure-stage3-lto-plugin:
31079 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
31080 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
31081 @r=`${PWD_COMMAND}`; export r; \
31082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31083 TFLAGS="$(STAGE3_TFLAGS)"; \
31084 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
31085 $(HOST_EXPORTS) \
31086 $(POSTSTAGE1_HOST_EXPORTS) \
31087 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
31088 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
31089 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
31090 echo Configuring stage 3 in $(HOST_SUBDIR)/lto-plugin; \
31091 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
31092 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
31093 case $(srcdir) in \
31094 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31095 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
31096 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31097 esac; \
31098 module_srcdir=lto-plugin; \
31099 $(SHELL) $$s/$$module_srcdir/configure \
31100 --srcdir=$${topdir}/$$module_srcdir \
31101 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31102 --target=${target_alias} \
31103 --with-build-libsubdir=$(HOST_SUBDIR) \
31104 $(STAGE3_CONFIGURE_FLAGS) \
31105 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
31106 @endif lto-plugin-bootstrap
31108 .PHONY: configure-stage4-lto-plugin maybe-configure-stage4-lto-plugin
31109 maybe-configure-stage4-lto-plugin:
31110 @if lto-plugin-bootstrap
31111 maybe-configure-stage4-lto-plugin: configure-stage4-lto-plugin
31112 configure-stage4-lto-plugin:
31113 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
31114 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
31115 @r=`${PWD_COMMAND}`; export r; \
31116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31117 TFLAGS="$(STAGE4_TFLAGS)"; \
31118 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
31119 $(HOST_EXPORTS) \
31120 $(POSTSTAGE1_HOST_EXPORTS) \
31121 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
31122 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
31123 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
31124 echo Configuring stage 4 in $(HOST_SUBDIR)/lto-plugin; \
31125 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
31126 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
31127 case $(srcdir) in \
31128 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31129 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
31130 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31131 esac; \
31132 module_srcdir=lto-plugin; \
31133 $(SHELL) $$s/$$module_srcdir/configure \
31134 --srcdir=$${topdir}/$$module_srcdir \
31135 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31136 --target=${target_alias} \
31137 --with-build-libsubdir=$(HOST_SUBDIR) \
31138 $(STAGE4_CONFIGURE_FLAGS) \
31139 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
31140 @endif lto-plugin-bootstrap
31142 .PHONY: configure-stageprofile-lto-plugin maybe-configure-stageprofile-lto-plugin
31143 maybe-configure-stageprofile-lto-plugin:
31144 @if lto-plugin-bootstrap
31145 maybe-configure-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
31146 configure-stageprofile-lto-plugin:
31147 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
31148 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
31149 @r=`${PWD_COMMAND}`; export r; \
31150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31151 TFLAGS="$(STAGEprofile_TFLAGS)"; \
31152 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
31153 $(HOST_EXPORTS) \
31154 $(POSTSTAGE1_HOST_EXPORTS) \
31155 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
31156 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
31157 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
31158 echo Configuring stage profile in $(HOST_SUBDIR)/lto-plugin; \
31159 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
31160 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
31161 case $(srcdir) in \
31162 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31163 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
31164 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31165 esac; \
31166 module_srcdir=lto-plugin; \
31167 $(SHELL) $$s/$$module_srcdir/configure \
31168 --srcdir=$${topdir}/$$module_srcdir \
31169 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31170 --target=${target_alias} \
31171 --with-build-libsubdir=$(HOST_SUBDIR) \
31172 $(STAGEprofile_CONFIGURE_FLAGS) \
31173 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
31174 @endif lto-plugin-bootstrap
31176 .PHONY: configure-stagefeedback-lto-plugin maybe-configure-stagefeedback-lto-plugin
31177 maybe-configure-stagefeedback-lto-plugin:
31178 @if lto-plugin-bootstrap
31179 maybe-configure-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
31180 configure-stagefeedback-lto-plugin:
31181 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
31182 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
31183 @r=`${PWD_COMMAND}`; export r; \
31184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31185 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
31186 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
31187 $(HOST_EXPORTS) \
31188 $(POSTSTAGE1_HOST_EXPORTS) \
31189 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
31190 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
31191 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
31192 echo Configuring stage feedback in $(HOST_SUBDIR)/lto-plugin; \
31193 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
31194 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
31195 case $(srcdir) in \
31196 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31197 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
31198 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31199 esac; \
31200 module_srcdir=lto-plugin; \
31201 $(SHELL) $$s/$$module_srcdir/configure \
31202 --srcdir=$${topdir}/$$module_srcdir \
31203 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31204 --target=${target_alias} \
31205 --with-build-libsubdir=$(HOST_SUBDIR) \
31206 $(STAGEfeedback_CONFIGURE_FLAGS) \
31207 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
31208 @endif lto-plugin-bootstrap
31214 .PHONY: all-lto-plugin maybe-all-lto-plugin
31215 maybe-all-lto-plugin:
31216 @if gcc-bootstrap
31217 all-lto-plugin: stage_current
31218 @endif gcc-bootstrap
31219 @if lto-plugin
31220 TARGET-lto-plugin=all
31221 maybe-all-lto-plugin: all-lto-plugin
31222 all-lto-plugin: configure-lto-plugin
31223 @r=`${PWD_COMMAND}`; export r; \
31224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31225 $(HOST_EXPORTS) \
31226 (cd $(HOST_SUBDIR)/lto-plugin && \
31227 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
31228 $(TARGET-lto-plugin))
31229 @endif lto-plugin
31233 .PHONY: all-stage1-lto-plugin maybe-all-stage1-lto-plugin
31234 .PHONY: clean-stage1-lto-plugin maybe-clean-stage1-lto-plugin
31235 maybe-all-stage1-lto-plugin:
31236 maybe-clean-stage1-lto-plugin:
31237 @if lto-plugin-bootstrap
31238 maybe-all-stage1-lto-plugin: all-stage1-lto-plugin
31239 all-stage1: all-stage1-lto-plugin
31240 TARGET-stage1-lto-plugin = $(TARGET-lto-plugin)
31241 all-stage1-lto-plugin: configure-stage1-lto-plugin
31242 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
31243 @r=`${PWD_COMMAND}`; export r; \
31244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31245 TFLAGS="$(STAGE1_TFLAGS)"; \
31246 $(HOST_EXPORTS) \
31247 cd $(HOST_SUBDIR)/lto-plugin && \
31248 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31249 CFLAGS="$(STAGE1_CFLAGS)" \
31250 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
31251 LIBCFLAGS="$(LIBCFLAGS)" \
31252 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31253 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31254 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31255 $(EXTRA_HOST_FLAGS) \
31256 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
31257 TFLAGS="$(STAGE1_TFLAGS)" \
31258 $(TARGET-stage1-lto-plugin)
31260 maybe-clean-stage1-lto-plugin: clean-stage1-lto-plugin
31261 clean-stage1: clean-stage1-lto-plugin
31262 clean-stage1-lto-plugin:
31263 @if [ $(current_stage) = stage1 ]; then \
31264 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
31265 else \
31266 [ -f $(HOST_SUBDIR)/stage1-lto-plugin/Makefile ] || exit 0; \
31267 $(MAKE) stage1-start; \
31268 fi; \
31269 cd $(HOST_SUBDIR)/lto-plugin && \
31270 $(MAKE) $(EXTRA_HOST_FLAGS) \
31271 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
31272 @endif lto-plugin-bootstrap
31275 .PHONY: all-stage2-lto-plugin maybe-all-stage2-lto-plugin
31276 .PHONY: clean-stage2-lto-plugin maybe-clean-stage2-lto-plugin
31277 maybe-all-stage2-lto-plugin:
31278 maybe-clean-stage2-lto-plugin:
31279 @if lto-plugin-bootstrap
31280 maybe-all-stage2-lto-plugin: all-stage2-lto-plugin
31281 all-stage2: all-stage2-lto-plugin
31282 TARGET-stage2-lto-plugin = $(TARGET-lto-plugin)
31283 all-stage2-lto-plugin: configure-stage2-lto-plugin
31284 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
31285 @r=`${PWD_COMMAND}`; export r; \
31286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31287 TFLAGS="$(STAGE2_TFLAGS)"; \
31288 $(HOST_EXPORTS) \
31289 $(POSTSTAGE1_HOST_EXPORTS) \
31290 cd $(HOST_SUBDIR)/lto-plugin && \
31291 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31292 CFLAGS="$(STAGE2_CFLAGS)" \
31293 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
31294 LIBCFLAGS="$(STAGE2_CFLAGS)" \
31295 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31296 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31297 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31298 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
31299 TFLAGS="$(STAGE2_TFLAGS)" \
31300 $(TARGET-stage2-lto-plugin)
31302 maybe-clean-stage2-lto-plugin: clean-stage2-lto-plugin
31303 clean-stage2: clean-stage2-lto-plugin
31304 clean-stage2-lto-plugin:
31305 @if [ $(current_stage) = stage2 ]; then \
31306 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
31307 else \
31308 [ -f $(HOST_SUBDIR)/stage2-lto-plugin/Makefile ] || exit 0; \
31309 $(MAKE) stage2-start; \
31310 fi; \
31311 cd $(HOST_SUBDIR)/lto-plugin && \
31312 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
31313 @endif lto-plugin-bootstrap
31316 .PHONY: all-stage3-lto-plugin maybe-all-stage3-lto-plugin
31317 .PHONY: clean-stage3-lto-plugin maybe-clean-stage3-lto-plugin
31318 maybe-all-stage3-lto-plugin:
31319 maybe-clean-stage3-lto-plugin:
31320 @if lto-plugin-bootstrap
31321 maybe-all-stage3-lto-plugin: all-stage3-lto-plugin
31322 all-stage3: all-stage3-lto-plugin
31323 TARGET-stage3-lto-plugin = $(TARGET-lto-plugin)
31324 all-stage3-lto-plugin: configure-stage3-lto-plugin
31325 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
31326 @r=`${PWD_COMMAND}`; export r; \
31327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31328 TFLAGS="$(STAGE3_TFLAGS)"; \
31329 $(HOST_EXPORTS) \
31330 $(POSTSTAGE1_HOST_EXPORTS) \
31331 cd $(HOST_SUBDIR)/lto-plugin && \
31332 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31333 CFLAGS="$(STAGE3_CFLAGS)" \
31334 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
31335 LIBCFLAGS="$(STAGE3_CFLAGS)" \
31336 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31337 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31338 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31339 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
31340 TFLAGS="$(STAGE3_TFLAGS)" \
31341 $(TARGET-stage3-lto-plugin)
31343 maybe-clean-stage3-lto-plugin: clean-stage3-lto-plugin
31344 clean-stage3: clean-stage3-lto-plugin
31345 clean-stage3-lto-plugin:
31346 @if [ $(current_stage) = stage3 ]; then \
31347 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
31348 else \
31349 [ -f $(HOST_SUBDIR)/stage3-lto-plugin/Makefile ] || exit 0; \
31350 $(MAKE) stage3-start; \
31351 fi; \
31352 cd $(HOST_SUBDIR)/lto-plugin && \
31353 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
31354 @endif lto-plugin-bootstrap
31357 .PHONY: all-stage4-lto-plugin maybe-all-stage4-lto-plugin
31358 .PHONY: clean-stage4-lto-plugin maybe-clean-stage4-lto-plugin
31359 maybe-all-stage4-lto-plugin:
31360 maybe-clean-stage4-lto-plugin:
31361 @if lto-plugin-bootstrap
31362 maybe-all-stage4-lto-plugin: all-stage4-lto-plugin
31363 all-stage4: all-stage4-lto-plugin
31364 TARGET-stage4-lto-plugin = $(TARGET-lto-plugin)
31365 all-stage4-lto-plugin: configure-stage4-lto-plugin
31366 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
31367 @r=`${PWD_COMMAND}`; export r; \
31368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31369 TFLAGS="$(STAGE4_TFLAGS)"; \
31370 $(HOST_EXPORTS) \
31371 $(POSTSTAGE1_HOST_EXPORTS) \
31372 cd $(HOST_SUBDIR)/lto-plugin && \
31373 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31374 CFLAGS="$(STAGE4_CFLAGS)" \
31375 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
31376 LIBCFLAGS="$(STAGE4_CFLAGS)" \
31377 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31378 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31379 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31380 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
31381 TFLAGS="$(STAGE4_TFLAGS)" \
31382 $(TARGET-stage4-lto-plugin)
31384 maybe-clean-stage4-lto-plugin: clean-stage4-lto-plugin
31385 clean-stage4: clean-stage4-lto-plugin
31386 clean-stage4-lto-plugin:
31387 @if [ $(current_stage) = stage4 ]; then \
31388 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
31389 else \
31390 [ -f $(HOST_SUBDIR)/stage4-lto-plugin/Makefile ] || exit 0; \
31391 $(MAKE) stage4-start; \
31392 fi; \
31393 cd $(HOST_SUBDIR)/lto-plugin && \
31394 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
31395 @endif lto-plugin-bootstrap
31398 .PHONY: all-stageprofile-lto-plugin maybe-all-stageprofile-lto-plugin
31399 .PHONY: clean-stageprofile-lto-plugin maybe-clean-stageprofile-lto-plugin
31400 maybe-all-stageprofile-lto-plugin:
31401 maybe-clean-stageprofile-lto-plugin:
31402 @if lto-plugin-bootstrap
31403 maybe-all-stageprofile-lto-plugin: all-stageprofile-lto-plugin
31404 all-stageprofile: all-stageprofile-lto-plugin
31405 TARGET-stageprofile-lto-plugin = $(TARGET-lto-plugin)
31406 all-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
31407 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
31408 @r=`${PWD_COMMAND}`; export r; \
31409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31410 TFLAGS="$(STAGEprofile_TFLAGS)"; \
31411 $(HOST_EXPORTS) \
31412 $(POSTSTAGE1_HOST_EXPORTS) \
31413 cd $(HOST_SUBDIR)/lto-plugin && \
31414 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31415 CFLAGS="$(STAGEprofile_CFLAGS)" \
31416 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
31417 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
31418 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31419 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31420 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31421 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
31422 TFLAGS="$(STAGEprofile_TFLAGS)" \
31423 $(TARGET-stageprofile-lto-plugin)
31425 maybe-clean-stageprofile-lto-plugin: clean-stageprofile-lto-plugin
31426 clean-stageprofile: clean-stageprofile-lto-plugin
31427 clean-stageprofile-lto-plugin:
31428 @if [ $(current_stage) = stageprofile ]; then \
31429 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
31430 else \
31431 [ -f $(HOST_SUBDIR)/stageprofile-lto-plugin/Makefile ] || exit 0; \
31432 $(MAKE) stageprofile-start; \
31433 fi; \
31434 cd $(HOST_SUBDIR)/lto-plugin && \
31435 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
31436 @endif lto-plugin-bootstrap
31439 .PHONY: all-stagefeedback-lto-plugin maybe-all-stagefeedback-lto-plugin
31440 .PHONY: clean-stagefeedback-lto-plugin maybe-clean-stagefeedback-lto-plugin
31441 maybe-all-stagefeedback-lto-plugin:
31442 maybe-clean-stagefeedback-lto-plugin:
31443 @if lto-plugin-bootstrap
31444 maybe-all-stagefeedback-lto-plugin: all-stagefeedback-lto-plugin
31445 all-stagefeedback: all-stagefeedback-lto-plugin
31446 TARGET-stagefeedback-lto-plugin = $(TARGET-lto-plugin)
31447 all-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
31448 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
31449 @r=`${PWD_COMMAND}`; export r; \
31450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31451 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
31452 $(HOST_EXPORTS) \
31453 $(POSTSTAGE1_HOST_EXPORTS) \
31454 cd $(HOST_SUBDIR)/lto-plugin && \
31455 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31456 CFLAGS="$(STAGEfeedback_CFLAGS)" \
31457 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
31458 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
31459 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31460 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31461 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31462 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
31463 TFLAGS="$(STAGEfeedback_TFLAGS)" \
31464 $(TARGET-stagefeedback-lto-plugin)
31466 maybe-clean-stagefeedback-lto-plugin: clean-stagefeedback-lto-plugin
31467 clean-stagefeedback: clean-stagefeedback-lto-plugin
31468 clean-stagefeedback-lto-plugin:
31469 @if [ $(current_stage) = stagefeedback ]; then \
31470 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
31471 else \
31472 [ -f $(HOST_SUBDIR)/stagefeedback-lto-plugin/Makefile ] || exit 0; \
31473 $(MAKE) stagefeedback-start; \
31474 fi; \
31475 cd $(HOST_SUBDIR)/lto-plugin && \
31476 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
31477 @endif lto-plugin-bootstrap
31483 .PHONY: check-lto-plugin maybe-check-lto-plugin
31484 maybe-check-lto-plugin:
31485 @if lto-plugin
31486 maybe-check-lto-plugin: check-lto-plugin
31488 check-lto-plugin:
31489 @: $(MAKE); $(unstage)
31490 @r=`${PWD_COMMAND}`; export r; \
31491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31492 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
31493 (cd $(HOST_SUBDIR)/lto-plugin && \
31494 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ $(EXTRA_BOOTSTRAP_FLAGS) check)
31496 @endif lto-plugin
31498 .PHONY: install-lto-plugin maybe-install-lto-plugin
31499 maybe-install-lto-plugin:
31500 @if lto-plugin
31501 maybe-install-lto-plugin: install-lto-plugin
31503 install-lto-plugin: installdirs
31504 @: $(MAKE); $(unstage)
31505 @r=`${PWD_COMMAND}`; export r; \
31506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31507 $(HOST_EXPORTS) \
31508 (cd $(HOST_SUBDIR)/lto-plugin && \
31509 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install)
31511 @endif lto-plugin
31513 .PHONY: install-strip-lto-plugin maybe-install-strip-lto-plugin
31514 maybe-install-strip-lto-plugin:
31515 @if lto-plugin
31516 maybe-install-strip-lto-plugin: install-strip-lto-plugin
31518 install-strip-lto-plugin: installdirs
31519 @: $(MAKE); $(unstage)
31520 @r=`${PWD_COMMAND}`; export r; \
31521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31522 $(HOST_EXPORTS) \
31523 (cd $(HOST_SUBDIR)/lto-plugin && \
31524 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install-strip)
31526 @endif lto-plugin
31528 # Other targets (info, dvi, pdf, etc.)
31530 .PHONY: maybe-info-lto-plugin info-lto-plugin
31531 maybe-info-lto-plugin:
31532 @if lto-plugin
31533 maybe-info-lto-plugin: info-lto-plugin
31535 info-lto-plugin: \
31536 configure-lto-plugin
31537 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31538 r=`${PWD_COMMAND}`; export r; \
31539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31540 $(HOST_EXPORTS) \
31541 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31543 done; \
31544 echo "Doing info in lto-plugin"; \
31545 (cd $(HOST_SUBDIR)/lto-plugin && \
31546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31548 "RANLIB=$${RANLIB}" \
31549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31550 info) \
31551 || exit 1
31553 @endif lto-plugin
31555 .PHONY: maybe-dvi-lto-plugin dvi-lto-plugin
31556 maybe-dvi-lto-plugin:
31557 @if lto-plugin
31558 maybe-dvi-lto-plugin: dvi-lto-plugin
31560 dvi-lto-plugin: \
31561 configure-lto-plugin
31562 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31563 r=`${PWD_COMMAND}`; export r; \
31564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31565 $(HOST_EXPORTS) \
31566 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31568 done; \
31569 echo "Doing dvi in lto-plugin"; \
31570 (cd $(HOST_SUBDIR)/lto-plugin && \
31571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31573 "RANLIB=$${RANLIB}" \
31574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31575 dvi) \
31576 || exit 1
31578 @endif lto-plugin
31580 .PHONY: maybe-pdf-lto-plugin pdf-lto-plugin
31581 maybe-pdf-lto-plugin:
31582 @if lto-plugin
31583 maybe-pdf-lto-plugin: pdf-lto-plugin
31585 pdf-lto-plugin: \
31586 configure-lto-plugin
31587 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31588 r=`${PWD_COMMAND}`; export r; \
31589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31590 $(HOST_EXPORTS) \
31591 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31593 done; \
31594 echo "Doing pdf in lto-plugin"; \
31595 (cd $(HOST_SUBDIR)/lto-plugin && \
31596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31598 "RANLIB=$${RANLIB}" \
31599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31600 pdf) \
31601 || exit 1
31603 @endif lto-plugin
31605 .PHONY: maybe-html-lto-plugin html-lto-plugin
31606 maybe-html-lto-plugin:
31607 @if lto-plugin
31608 maybe-html-lto-plugin: html-lto-plugin
31610 html-lto-plugin: \
31611 configure-lto-plugin
31612 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31613 r=`${PWD_COMMAND}`; export r; \
31614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31615 $(HOST_EXPORTS) \
31616 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31618 done; \
31619 echo "Doing html in lto-plugin"; \
31620 (cd $(HOST_SUBDIR)/lto-plugin && \
31621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31623 "RANLIB=$${RANLIB}" \
31624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31625 html) \
31626 || exit 1
31628 @endif lto-plugin
31630 .PHONY: maybe-TAGS-lto-plugin TAGS-lto-plugin
31631 maybe-TAGS-lto-plugin:
31632 @if lto-plugin
31633 maybe-TAGS-lto-plugin: TAGS-lto-plugin
31635 TAGS-lto-plugin: \
31636 configure-lto-plugin
31637 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31638 r=`${PWD_COMMAND}`; export r; \
31639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31640 $(HOST_EXPORTS) \
31641 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31643 done; \
31644 echo "Doing TAGS in lto-plugin"; \
31645 (cd $(HOST_SUBDIR)/lto-plugin && \
31646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31648 "RANLIB=$${RANLIB}" \
31649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31650 TAGS) \
31651 || exit 1
31653 @endif lto-plugin
31655 .PHONY: maybe-install-info-lto-plugin install-info-lto-plugin
31656 maybe-install-info-lto-plugin:
31657 @if lto-plugin
31658 maybe-install-info-lto-plugin: install-info-lto-plugin
31660 install-info-lto-plugin: \
31661 configure-lto-plugin \
31662 info-lto-plugin
31663 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31664 r=`${PWD_COMMAND}`; export r; \
31665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31666 $(HOST_EXPORTS) \
31667 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31669 done; \
31670 echo "Doing install-info in lto-plugin"; \
31671 (cd $(HOST_SUBDIR)/lto-plugin && \
31672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31674 "RANLIB=$${RANLIB}" \
31675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31676 install-info) \
31677 || exit 1
31679 @endif lto-plugin
31681 .PHONY: maybe-install-pdf-lto-plugin install-pdf-lto-plugin
31682 maybe-install-pdf-lto-plugin:
31683 @if lto-plugin
31684 maybe-install-pdf-lto-plugin: install-pdf-lto-plugin
31686 install-pdf-lto-plugin: \
31687 configure-lto-plugin \
31688 pdf-lto-plugin
31689 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31690 r=`${PWD_COMMAND}`; export r; \
31691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31692 $(HOST_EXPORTS) \
31693 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31695 done; \
31696 echo "Doing install-pdf in lto-plugin"; \
31697 (cd $(HOST_SUBDIR)/lto-plugin && \
31698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31700 "RANLIB=$${RANLIB}" \
31701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31702 install-pdf) \
31703 || exit 1
31705 @endif lto-plugin
31707 .PHONY: maybe-install-html-lto-plugin install-html-lto-plugin
31708 maybe-install-html-lto-plugin:
31709 @if lto-plugin
31710 maybe-install-html-lto-plugin: install-html-lto-plugin
31712 install-html-lto-plugin: \
31713 configure-lto-plugin \
31714 html-lto-plugin
31715 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31716 r=`${PWD_COMMAND}`; export r; \
31717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31718 $(HOST_EXPORTS) \
31719 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31721 done; \
31722 echo "Doing install-html in lto-plugin"; \
31723 (cd $(HOST_SUBDIR)/lto-plugin && \
31724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31726 "RANLIB=$${RANLIB}" \
31727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31728 install-html) \
31729 || exit 1
31731 @endif lto-plugin
31733 .PHONY: maybe-installcheck-lto-plugin installcheck-lto-plugin
31734 maybe-installcheck-lto-plugin:
31735 @if lto-plugin
31736 maybe-installcheck-lto-plugin: installcheck-lto-plugin
31738 installcheck-lto-plugin: \
31739 configure-lto-plugin
31740 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31741 r=`${PWD_COMMAND}`; export r; \
31742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31743 $(HOST_EXPORTS) \
31744 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31746 done; \
31747 echo "Doing installcheck in lto-plugin"; \
31748 (cd $(HOST_SUBDIR)/lto-plugin && \
31749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31751 "RANLIB=$${RANLIB}" \
31752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31753 installcheck) \
31754 || exit 1
31756 @endif lto-plugin
31758 .PHONY: maybe-mostlyclean-lto-plugin mostlyclean-lto-plugin
31759 maybe-mostlyclean-lto-plugin:
31760 @if lto-plugin
31761 maybe-mostlyclean-lto-plugin: mostlyclean-lto-plugin
31763 mostlyclean-lto-plugin:
31764 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31765 r=`${PWD_COMMAND}`; export r; \
31766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31767 $(HOST_EXPORTS) \
31768 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31770 done; \
31771 echo "Doing mostlyclean in lto-plugin"; \
31772 (cd $(HOST_SUBDIR)/lto-plugin && \
31773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31775 "RANLIB=$${RANLIB}" \
31776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31777 mostlyclean) \
31778 || exit 1
31780 @endif lto-plugin
31782 .PHONY: maybe-clean-lto-plugin clean-lto-plugin
31783 maybe-clean-lto-plugin:
31784 @if lto-plugin
31785 maybe-clean-lto-plugin: clean-lto-plugin
31787 clean-lto-plugin:
31788 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31789 r=`${PWD_COMMAND}`; export r; \
31790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31791 $(HOST_EXPORTS) \
31792 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31794 done; \
31795 echo "Doing clean in lto-plugin"; \
31796 (cd $(HOST_SUBDIR)/lto-plugin && \
31797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31799 "RANLIB=$${RANLIB}" \
31800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31801 clean) \
31802 || exit 1
31804 @endif lto-plugin
31806 .PHONY: maybe-distclean-lto-plugin distclean-lto-plugin
31807 maybe-distclean-lto-plugin:
31808 @if lto-plugin
31809 maybe-distclean-lto-plugin: distclean-lto-plugin
31811 distclean-lto-plugin:
31812 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31813 r=`${PWD_COMMAND}`; export r; \
31814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31815 $(HOST_EXPORTS) \
31816 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31818 done; \
31819 echo "Doing distclean in lto-plugin"; \
31820 (cd $(HOST_SUBDIR)/lto-plugin && \
31821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31823 "RANLIB=$${RANLIB}" \
31824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31825 distclean) \
31826 || exit 1
31828 @endif lto-plugin
31830 .PHONY: maybe-maintainer-clean-lto-plugin maintainer-clean-lto-plugin
31831 maybe-maintainer-clean-lto-plugin:
31832 @if lto-plugin
31833 maybe-maintainer-clean-lto-plugin: maintainer-clean-lto-plugin
31835 maintainer-clean-lto-plugin:
31836 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31837 r=`${PWD_COMMAND}`; export r; \
31838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31839 $(HOST_EXPORTS) \
31840 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31842 done; \
31843 echo "Doing maintainer-clean in lto-plugin"; \
31844 (cd $(HOST_SUBDIR)/lto-plugin && \
31845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31847 "RANLIB=$${RANLIB}" \
31848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31849 maintainer-clean) \
31850 || exit 1
31852 @endif lto-plugin
31856 .PHONY: configure-libcc1 maybe-configure-libcc1
31857 maybe-configure-libcc1:
31858 @if gcc-bootstrap
31859 configure-libcc1: stage_current
31860 @endif gcc-bootstrap
31861 @if libcc1
31862 maybe-configure-libcc1: configure-libcc1
31863 configure-libcc1:
31864 @: $(MAKE); $(unstage)
31865 @r=`${PWD_COMMAND}`; export r; \
31866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31867 test ! -f $(HOST_SUBDIR)/libcc1/Makefile || exit 0; \
31868 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcc1; \
31869 $(HOST_EXPORTS) \
31870 echo Configuring in $(HOST_SUBDIR)/libcc1; \
31871 cd "$(HOST_SUBDIR)/libcc1" || exit 1; \
31872 case $(srcdir) in \
31873 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31874 *) topdir=`echo $(HOST_SUBDIR)/libcc1/ | \
31875 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31876 esac; \
31877 module_srcdir=libcc1; \
31878 $(SHELL) \
31879 $$s/$$module_srcdir/configure \
31880 --srcdir=$${topdir}/$$module_srcdir \
31881 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31882 --target=${target_alias} --enable-shared \
31883 || exit 1
31884 @endif libcc1
31890 .PHONY: all-libcc1 maybe-all-libcc1
31891 maybe-all-libcc1:
31892 @if gcc-bootstrap
31893 all-libcc1: stage_current
31894 @endif gcc-bootstrap
31895 @if libcc1
31896 TARGET-libcc1=all
31897 maybe-all-libcc1: all-libcc1
31898 all-libcc1: configure-libcc1
31899 @: $(MAKE); $(unstage)
31900 @r=`${PWD_COMMAND}`; export r; \
31901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31902 $(HOST_EXPORTS) \
31903 (cd $(HOST_SUBDIR)/libcc1 && \
31904 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
31905 $(TARGET-libcc1))
31906 @endif libcc1
31911 .PHONY: check-libcc1 maybe-check-libcc1
31912 maybe-check-libcc1:
31913 @if libcc1
31914 maybe-check-libcc1: check-libcc1
31916 check-libcc1:
31917 @: $(MAKE); $(unstage)
31918 @r=`${PWD_COMMAND}`; export r; \
31919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31920 $(HOST_EXPORTS) \
31921 (cd $(HOST_SUBDIR)/libcc1 && \
31922 $(MAKE) $(FLAGS_TO_PASS) check)
31924 @endif libcc1
31926 .PHONY: install-libcc1 maybe-install-libcc1
31927 maybe-install-libcc1:
31928 @if libcc1
31929 maybe-install-libcc1: install-libcc1
31931 install-libcc1: installdirs
31932 @: $(MAKE); $(unstage)
31933 @r=`${PWD_COMMAND}`; export r; \
31934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31935 $(HOST_EXPORTS) \
31936 (cd $(HOST_SUBDIR)/libcc1 && \
31937 $(MAKE) $(FLAGS_TO_PASS) install)
31939 @endif libcc1
31941 .PHONY: install-strip-libcc1 maybe-install-strip-libcc1
31942 maybe-install-strip-libcc1:
31943 @if libcc1
31944 maybe-install-strip-libcc1: install-strip-libcc1
31946 install-strip-libcc1: installdirs
31947 @: $(MAKE); $(unstage)
31948 @r=`${PWD_COMMAND}`; export r; \
31949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31950 $(HOST_EXPORTS) \
31951 (cd $(HOST_SUBDIR)/libcc1 && \
31952 $(MAKE) $(FLAGS_TO_PASS) install-strip)
31954 @endif libcc1
31956 # Other targets (info, dvi, pdf, etc.)
31958 .PHONY: maybe-info-libcc1 info-libcc1
31959 maybe-info-libcc1:
31960 @if libcc1
31961 maybe-info-libcc1: info-libcc1
31963 info-libcc1: \
31964 configure-libcc1
31965 @: $(MAKE); $(unstage)
31966 @[ -f ./libcc1/Makefile ] || exit 0; \
31967 r=`${PWD_COMMAND}`; export r; \
31968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31969 $(HOST_EXPORTS) \
31970 for flag in $(EXTRA_HOST_FLAGS) ; do \
31971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31972 done; \
31973 echo "Doing info in libcc1"; \
31974 (cd $(HOST_SUBDIR)/libcc1 && \
31975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31977 "RANLIB=$${RANLIB}" \
31978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31979 info) \
31980 || exit 1
31982 @endif libcc1
31984 .PHONY: maybe-dvi-libcc1 dvi-libcc1
31985 maybe-dvi-libcc1:
31986 @if libcc1
31987 maybe-dvi-libcc1: dvi-libcc1
31989 dvi-libcc1: \
31990 configure-libcc1
31991 @: $(MAKE); $(unstage)
31992 @[ -f ./libcc1/Makefile ] || exit 0; \
31993 r=`${PWD_COMMAND}`; export r; \
31994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31995 $(HOST_EXPORTS) \
31996 for flag in $(EXTRA_HOST_FLAGS) ; do \
31997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31998 done; \
31999 echo "Doing dvi in libcc1"; \
32000 (cd $(HOST_SUBDIR)/libcc1 && \
32001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32003 "RANLIB=$${RANLIB}" \
32004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32005 dvi) \
32006 || exit 1
32008 @endif libcc1
32010 .PHONY: maybe-pdf-libcc1 pdf-libcc1
32011 maybe-pdf-libcc1:
32012 @if libcc1
32013 maybe-pdf-libcc1: pdf-libcc1
32015 pdf-libcc1: \
32016 configure-libcc1
32017 @: $(MAKE); $(unstage)
32018 @[ -f ./libcc1/Makefile ] || exit 0; \
32019 r=`${PWD_COMMAND}`; export r; \
32020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32021 $(HOST_EXPORTS) \
32022 for flag in $(EXTRA_HOST_FLAGS) ; do \
32023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32024 done; \
32025 echo "Doing pdf in libcc1"; \
32026 (cd $(HOST_SUBDIR)/libcc1 && \
32027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32029 "RANLIB=$${RANLIB}" \
32030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32031 pdf) \
32032 || exit 1
32034 @endif libcc1
32036 .PHONY: maybe-html-libcc1 html-libcc1
32037 maybe-html-libcc1:
32038 @if libcc1
32039 maybe-html-libcc1: html-libcc1
32041 html-libcc1: \
32042 configure-libcc1
32043 @: $(MAKE); $(unstage)
32044 @[ -f ./libcc1/Makefile ] || exit 0; \
32045 r=`${PWD_COMMAND}`; export r; \
32046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32047 $(HOST_EXPORTS) \
32048 for flag in $(EXTRA_HOST_FLAGS) ; do \
32049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32050 done; \
32051 echo "Doing html in libcc1"; \
32052 (cd $(HOST_SUBDIR)/libcc1 && \
32053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32055 "RANLIB=$${RANLIB}" \
32056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32057 html) \
32058 || exit 1
32060 @endif libcc1
32062 .PHONY: maybe-TAGS-libcc1 TAGS-libcc1
32063 maybe-TAGS-libcc1:
32064 @if libcc1
32065 maybe-TAGS-libcc1: TAGS-libcc1
32067 TAGS-libcc1: \
32068 configure-libcc1
32069 @: $(MAKE); $(unstage)
32070 @[ -f ./libcc1/Makefile ] || exit 0; \
32071 r=`${PWD_COMMAND}`; export r; \
32072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32073 $(HOST_EXPORTS) \
32074 for flag in $(EXTRA_HOST_FLAGS) ; do \
32075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32076 done; \
32077 echo "Doing TAGS in libcc1"; \
32078 (cd $(HOST_SUBDIR)/libcc1 && \
32079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32081 "RANLIB=$${RANLIB}" \
32082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32083 TAGS) \
32084 || exit 1
32086 @endif libcc1
32088 .PHONY: maybe-install-info-libcc1 install-info-libcc1
32089 maybe-install-info-libcc1:
32090 @if libcc1
32091 maybe-install-info-libcc1: install-info-libcc1
32093 install-info-libcc1: \
32094 configure-libcc1 \
32095 info-libcc1
32096 @: $(MAKE); $(unstage)
32097 @[ -f ./libcc1/Makefile ] || exit 0; \
32098 r=`${PWD_COMMAND}`; export r; \
32099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32100 $(HOST_EXPORTS) \
32101 for flag in $(EXTRA_HOST_FLAGS) ; do \
32102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32103 done; \
32104 echo "Doing install-info in libcc1"; \
32105 (cd $(HOST_SUBDIR)/libcc1 && \
32106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32108 "RANLIB=$${RANLIB}" \
32109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32110 install-info) \
32111 || exit 1
32113 @endif libcc1
32115 .PHONY: maybe-install-pdf-libcc1 install-pdf-libcc1
32116 maybe-install-pdf-libcc1:
32117 @if libcc1
32118 maybe-install-pdf-libcc1: install-pdf-libcc1
32120 install-pdf-libcc1: \
32121 configure-libcc1 \
32122 pdf-libcc1
32123 @: $(MAKE); $(unstage)
32124 @[ -f ./libcc1/Makefile ] || exit 0; \
32125 r=`${PWD_COMMAND}`; export r; \
32126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32127 $(HOST_EXPORTS) \
32128 for flag in $(EXTRA_HOST_FLAGS) ; do \
32129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32130 done; \
32131 echo "Doing install-pdf in libcc1"; \
32132 (cd $(HOST_SUBDIR)/libcc1 && \
32133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32135 "RANLIB=$${RANLIB}" \
32136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32137 install-pdf) \
32138 || exit 1
32140 @endif libcc1
32142 .PHONY: maybe-install-html-libcc1 install-html-libcc1
32143 maybe-install-html-libcc1:
32144 @if libcc1
32145 maybe-install-html-libcc1: install-html-libcc1
32147 install-html-libcc1: \
32148 configure-libcc1 \
32149 html-libcc1
32150 @: $(MAKE); $(unstage)
32151 @[ -f ./libcc1/Makefile ] || exit 0; \
32152 r=`${PWD_COMMAND}`; export r; \
32153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32154 $(HOST_EXPORTS) \
32155 for flag in $(EXTRA_HOST_FLAGS) ; do \
32156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32157 done; \
32158 echo "Doing install-html in libcc1"; \
32159 (cd $(HOST_SUBDIR)/libcc1 && \
32160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32162 "RANLIB=$${RANLIB}" \
32163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32164 install-html) \
32165 || exit 1
32167 @endif libcc1
32169 .PHONY: maybe-installcheck-libcc1 installcheck-libcc1
32170 maybe-installcheck-libcc1:
32171 @if libcc1
32172 maybe-installcheck-libcc1: installcheck-libcc1
32174 installcheck-libcc1: \
32175 configure-libcc1
32176 @: $(MAKE); $(unstage)
32177 @[ -f ./libcc1/Makefile ] || exit 0; \
32178 r=`${PWD_COMMAND}`; export r; \
32179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32180 $(HOST_EXPORTS) \
32181 for flag in $(EXTRA_HOST_FLAGS) ; do \
32182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32183 done; \
32184 echo "Doing installcheck in libcc1"; \
32185 (cd $(HOST_SUBDIR)/libcc1 && \
32186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32188 "RANLIB=$${RANLIB}" \
32189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32190 installcheck) \
32191 || exit 1
32193 @endif libcc1
32195 .PHONY: maybe-mostlyclean-libcc1 mostlyclean-libcc1
32196 maybe-mostlyclean-libcc1:
32197 @if libcc1
32198 maybe-mostlyclean-libcc1: mostlyclean-libcc1
32200 mostlyclean-libcc1:
32201 @: $(MAKE); $(unstage)
32202 @[ -f ./libcc1/Makefile ] || exit 0; \
32203 r=`${PWD_COMMAND}`; export r; \
32204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32205 $(HOST_EXPORTS) \
32206 for flag in $(EXTRA_HOST_FLAGS) ; do \
32207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32208 done; \
32209 echo "Doing mostlyclean in libcc1"; \
32210 (cd $(HOST_SUBDIR)/libcc1 && \
32211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32213 "RANLIB=$${RANLIB}" \
32214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32215 mostlyclean) \
32216 || exit 1
32218 @endif libcc1
32220 .PHONY: maybe-clean-libcc1 clean-libcc1
32221 maybe-clean-libcc1:
32222 @if libcc1
32223 maybe-clean-libcc1: clean-libcc1
32225 clean-libcc1:
32226 @: $(MAKE); $(unstage)
32227 @[ -f ./libcc1/Makefile ] || exit 0; \
32228 r=`${PWD_COMMAND}`; export r; \
32229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32230 $(HOST_EXPORTS) \
32231 for flag in $(EXTRA_HOST_FLAGS) ; do \
32232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32233 done; \
32234 echo "Doing clean in libcc1"; \
32235 (cd $(HOST_SUBDIR)/libcc1 && \
32236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32238 "RANLIB=$${RANLIB}" \
32239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32240 clean) \
32241 || exit 1
32243 @endif libcc1
32245 .PHONY: maybe-distclean-libcc1 distclean-libcc1
32246 maybe-distclean-libcc1:
32247 @if libcc1
32248 maybe-distclean-libcc1: distclean-libcc1
32250 distclean-libcc1:
32251 @: $(MAKE); $(unstage)
32252 @[ -f ./libcc1/Makefile ] || exit 0; \
32253 r=`${PWD_COMMAND}`; export r; \
32254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32255 $(HOST_EXPORTS) \
32256 for flag in $(EXTRA_HOST_FLAGS) ; do \
32257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32258 done; \
32259 echo "Doing distclean in libcc1"; \
32260 (cd $(HOST_SUBDIR)/libcc1 && \
32261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32263 "RANLIB=$${RANLIB}" \
32264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32265 distclean) \
32266 || exit 1
32268 @endif libcc1
32270 .PHONY: maybe-maintainer-clean-libcc1 maintainer-clean-libcc1
32271 maybe-maintainer-clean-libcc1:
32272 @if libcc1
32273 maybe-maintainer-clean-libcc1: maintainer-clean-libcc1
32275 maintainer-clean-libcc1:
32276 @: $(MAKE); $(unstage)
32277 @[ -f ./libcc1/Makefile ] || exit 0; \
32278 r=`${PWD_COMMAND}`; export r; \
32279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32280 $(HOST_EXPORTS) \
32281 for flag in $(EXTRA_HOST_FLAGS) ; do \
32282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32283 done; \
32284 echo "Doing maintainer-clean in libcc1"; \
32285 (cd $(HOST_SUBDIR)/libcc1 && \
32286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32288 "RANLIB=$${RANLIB}" \
32289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32290 maintainer-clean) \
32291 || exit 1
32293 @endif libcc1
32297 .PHONY: configure-gotools maybe-configure-gotools
32298 maybe-configure-gotools:
32299 @if gcc-bootstrap
32300 configure-gotools: stage_current
32301 @endif gcc-bootstrap
32302 @if gotools
32303 maybe-configure-gotools: configure-gotools
32304 configure-gotools:
32305 @: $(MAKE); $(unstage)
32306 @r=`${PWD_COMMAND}`; export r; \
32307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32308 test ! -f $(HOST_SUBDIR)/gotools/Makefile || exit 0; \
32309 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gotools; \
32310 $(HOST_EXPORTS) \
32311 echo Configuring in $(HOST_SUBDIR)/gotools; \
32312 cd "$(HOST_SUBDIR)/gotools" || exit 1; \
32313 case $(srcdir) in \
32314 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32315 *) topdir=`echo $(HOST_SUBDIR)/gotools/ | \
32316 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32317 esac; \
32318 module_srcdir=gotools; \
32319 $(SHELL) \
32320 $$s/$$module_srcdir/configure \
32321 --srcdir=$${topdir}/$$module_srcdir \
32322 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32323 --target=${target_alias} \
32324 || exit 1
32325 @endif gotools
32331 .PHONY: all-gotools maybe-all-gotools
32332 maybe-all-gotools:
32333 @if gcc-bootstrap
32334 all-gotools: stage_current
32335 @endif gcc-bootstrap
32336 @if gotools
32337 TARGET-gotools=all
32338 maybe-all-gotools: all-gotools
32339 all-gotools: configure-gotools
32340 @: $(MAKE); $(unstage)
32341 @r=`${PWD_COMMAND}`; export r; \
32342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32343 $(HOST_EXPORTS) \
32344 (cd $(HOST_SUBDIR)/gotools && \
32345 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
32346 $(TARGET-gotools))
32347 @endif gotools
32352 .PHONY: check-gotools maybe-check-gotools
32353 maybe-check-gotools:
32354 @if gotools
32355 maybe-check-gotools: check-gotools
32357 check-gotools:
32358 @: $(MAKE); $(unstage)
32359 @r=`${PWD_COMMAND}`; export r; \
32360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32361 $(HOST_EXPORTS) \
32362 (cd $(HOST_SUBDIR)/gotools && \
32363 $(MAKE) $(FLAGS_TO_PASS) check)
32365 @endif gotools
32367 .PHONY: install-gotools maybe-install-gotools
32368 maybe-install-gotools:
32369 @if gotools
32370 maybe-install-gotools: install-gotools
32372 install-gotools: installdirs
32373 @: $(MAKE); $(unstage)
32374 @r=`${PWD_COMMAND}`; export r; \
32375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32376 $(HOST_EXPORTS) \
32377 (cd $(HOST_SUBDIR)/gotools && \
32378 $(MAKE) $(FLAGS_TO_PASS) install)
32380 @endif gotools
32382 .PHONY: install-strip-gotools maybe-install-strip-gotools
32383 maybe-install-strip-gotools:
32384 @if gotools
32385 maybe-install-strip-gotools: install-strip-gotools
32387 install-strip-gotools: installdirs
32388 @: $(MAKE); $(unstage)
32389 @r=`${PWD_COMMAND}`; export r; \
32390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32391 $(HOST_EXPORTS) \
32392 (cd $(HOST_SUBDIR)/gotools && \
32393 $(MAKE) $(FLAGS_TO_PASS) install-strip)
32395 @endif gotools
32397 # Other targets (info, dvi, pdf, etc.)
32399 .PHONY: maybe-info-gotools info-gotools
32400 maybe-info-gotools:
32401 @if gotools
32402 maybe-info-gotools: info-gotools
32404 info-gotools: \
32405 configure-gotools
32406 @: $(MAKE); $(unstage)
32407 @[ -f ./gotools/Makefile ] || exit 0; \
32408 r=`${PWD_COMMAND}`; export r; \
32409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32410 $(HOST_EXPORTS) \
32411 for flag in $(EXTRA_HOST_FLAGS) ; do \
32412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32413 done; \
32414 echo "Doing info in gotools"; \
32415 (cd $(HOST_SUBDIR)/gotools && \
32416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32418 "RANLIB=$${RANLIB}" \
32419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32420 info) \
32421 || exit 1
32423 @endif gotools
32425 .PHONY: maybe-dvi-gotools dvi-gotools
32426 maybe-dvi-gotools:
32427 @if gotools
32428 maybe-dvi-gotools: dvi-gotools
32430 dvi-gotools: \
32431 configure-gotools
32432 @: $(MAKE); $(unstage)
32433 @[ -f ./gotools/Makefile ] || exit 0; \
32434 r=`${PWD_COMMAND}`; export r; \
32435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32436 $(HOST_EXPORTS) \
32437 for flag in $(EXTRA_HOST_FLAGS) ; do \
32438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32439 done; \
32440 echo "Doing dvi in gotools"; \
32441 (cd $(HOST_SUBDIR)/gotools && \
32442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32444 "RANLIB=$${RANLIB}" \
32445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32446 dvi) \
32447 || exit 1
32449 @endif gotools
32451 .PHONY: maybe-pdf-gotools pdf-gotools
32452 maybe-pdf-gotools:
32453 @if gotools
32454 maybe-pdf-gotools: pdf-gotools
32456 pdf-gotools: \
32457 configure-gotools
32458 @: $(MAKE); $(unstage)
32459 @[ -f ./gotools/Makefile ] || exit 0; \
32460 r=`${PWD_COMMAND}`; export r; \
32461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32462 $(HOST_EXPORTS) \
32463 for flag in $(EXTRA_HOST_FLAGS) ; do \
32464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32465 done; \
32466 echo "Doing pdf in gotools"; \
32467 (cd $(HOST_SUBDIR)/gotools && \
32468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32470 "RANLIB=$${RANLIB}" \
32471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32472 pdf) \
32473 || exit 1
32475 @endif gotools
32477 .PHONY: maybe-html-gotools html-gotools
32478 maybe-html-gotools:
32479 @if gotools
32480 maybe-html-gotools: html-gotools
32482 html-gotools: \
32483 configure-gotools
32484 @: $(MAKE); $(unstage)
32485 @[ -f ./gotools/Makefile ] || exit 0; \
32486 r=`${PWD_COMMAND}`; export r; \
32487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32488 $(HOST_EXPORTS) \
32489 for flag in $(EXTRA_HOST_FLAGS) ; do \
32490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32491 done; \
32492 echo "Doing html in gotools"; \
32493 (cd $(HOST_SUBDIR)/gotools && \
32494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32496 "RANLIB=$${RANLIB}" \
32497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32498 html) \
32499 || exit 1
32501 @endif gotools
32503 .PHONY: maybe-TAGS-gotools TAGS-gotools
32504 maybe-TAGS-gotools:
32505 @if gotools
32506 maybe-TAGS-gotools: TAGS-gotools
32508 TAGS-gotools: \
32509 configure-gotools
32510 @: $(MAKE); $(unstage)
32511 @[ -f ./gotools/Makefile ] || exit 0; \
32512 r=`${PWD_COMMAND}`; export r; \
32513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32514 $(HOST_EXPORTS) \
32515 for flag in $(EXTRA_HOST_FLAGS) ; do \
32516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32517 done; \
32518 echo "Doing TAGS in gotools"; \
32519 (cd $(HOST_SUBDIR)/gotools && \
32520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32522 "RANLIB=$${RANLIB}" \
32523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32524 TAGS) \
32525 || exit 1
32527 @endif gotools
32529 .PHONY: maybe-install-info-gotools install-info-gotools
32530 maybe-install-info-gotools:
32531 @if gotools
32532 maybe-install-info-gotools: install-info-gotools
32534 install-info-gotools: \
32535 configure-gotools \
32536 info-gotools
32537 @: $(MAKE); $(unstage)
32538 @[ -f ./gotools/Makefile ] || exit 0; \
32539 r=`${PWD_COMMAND}`; export r; \
32540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32541 $(HOST_EXPORTS) \
32542 for flag in $(EXTRA_HOST_FLAGS) ; do \
32543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32544 done; \
32545 echo "Doing install-info in gotools"; \
32546 (cd $(HOST_SUBDIR)/gotools && \
32547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32549 "RANLIB=$${RANLIB}" \
32550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32551 install-info) \
32552 || exit 1
32554 @endif gotools
32556 .PHONY: maybe-install-pdf-gotools install-pdf-gotools
32557 maybe-install-pdf-gotools:
32558 @if gotools
32559 maybe-install-pdf-gotools: install-pdf-gotools
32561 install-pdf-gotools: \
32562 configure-gotools \
32563 pdf-gotools
32564 @: $(MAKE); $(unstage)
32565 @[ -f ./gotools/Makefile ] || exit 0; \
32566 r=`${PWD_COMMAND}`; export r; \
32567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32568 $(HOST_EXPORTS) \
32569 for flag in $(EXTRA_HOST_FLAGS) ; do \
32570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32571 done; \
32572 echo "Doing install-pdf in gotools"; \
32573 (cd $(HOST_SUBDIR)/gotools && \
32574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32576 "RANLIB=$${RANLIB}" \
32577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32578 install-pdf) \
32579 || exit 1
32581 @endif gotools
32583 .PHONY: maybe-install-html-gotools install-html-gotools
32584 maybe-install-html-gotools:
32585 @if gotools
32586 maybe-install-html-gotools: install-html-gotools
32588 install-html-gotools: \
32589 configure-gotools \
32590 html-gotools
32591 @: $(MAKE); $(unstage)
32592 @[ -f ./gotools/Makefile ] || exit 0; \
32593 r=`${PWD_COMMAND}`; export r; \
32594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32595 $(HOST_EXPORTS) \
32596 for flag in $(EXTRA_HOST_FLAGS) ; do \
32597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32598 done; \
32599 echo "Doing install-html in gotools"; \
32600 (cd $(HOST_SUBDIR)/gotools && \
32601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32603 "RANLIB=$${RANLIB}" \
32604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32605 install-html) \
32606 || exit 1
32608 @endif gotools
32610 .PHONY: maybe-installcheck-gotools installcheck-gotools
32611 maybe-installcheck-gotools:
32612 @if gotools
32613 maybe-installcheck-gotools: installcheck-gotools
32615 installcheck-gotools: \
32616 configure-gotools
32617 @: $(MAKE); $(unstage)
32618 @[ -f ./gotools/Makefile ] || exit 0; \
32619 r=`${PWD_COMMAND}`; export r; \
32620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32621 $(HOST_EXPORTS) \
32622 for flag in $(EXTRA_HOST_FLAGS) ; do \
32623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32624 done; \
32625 echo "Doing installcheck in gotools"; \
32626 (cd $(HOST_SUBDIR)/gotools && \
32627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32629 "RANLIB=$${RANLIB}" \
32630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32631 installcheck) \
32632 || exit 1
32634 @endif gotools
32636 .PHONY: maybe-mostlyclean-gotools mostlyclean-gotools
32637 maybe-mostlyclean-gotools:
32638 @if gotools
32639 maybe-mostlyclean-gotools: mostlyclean-gotools
32641 mostlyclean-gotools:
32642 @: $(MAKE); $(unstage)
32643 @[ -f ./gotools/Makefile ] || exit 0; \
32644 r=`${PWD_COMMAND}`; export r; \
32645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32646 $(HOST_EXPORTS) \
32647 for flag in $(EXTRA_HOST_FLAGS) ; do \
32648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32649 done; \
32650 echo "Doing mostlyclean in gotools"; \
32651 (cd $(HOST_SUBDIR)/gotools && \
32652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32654 "RANLIB=$${RANLIB}" \
32655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32656 mostlyclean) \
32657 || exit 1
32659 @endif gotools
32661 .PHONY: maybe-clean-gotools clean-gotools
32662 maybe-clean-gotools:
32663 @if gotools
32664 maybe-clean-gotools: clean-gotools
32666 clean-gotools:
32667 @: $(MAKE); $(unstage)
32668 @[ -f ./gotools/Makefile ] || exit 0; \
32669 r=`${PWD_COMMAND}`; export r; \
32670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32671 $(HOST_EXPORTS) \
32672 for flag in $(EXTRA_HOST_FLAGS) ; do \
32673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32674 done; \
32675 echo "Doing clean in gotools"; \
32676 (cd $(HOST_SUBDIR)/gotools && \
32677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32679 "RANLIB=$${RANLIB}" \
32680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32681 clean) \
32682 || exit 1
32684 @endif gotools
32686 .PHONY: maybe-distclean-gotools distclean-gotools
32687 maybe-distclean-gotools:
32688 @if gotools
32689 maybe-distclean-gotools: distclean-gotools
32691 distclean-gotools:
32692 @: $(MAKE); $(unstage)
32693 @[ -f ./gotools/Makefile ] || exit 0; \
32694 r=`${PWD_COMMAND}`; export r; \
32695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32696 $(HOST_EXPORTS) \
32697 for flag in $(EXTRA_HOST_FLAGS) ; do \
32698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32699 done; \
32700 echo "Doing distclean in gotools"; \
32701 (cd $(HOST_SUBDIR)/gotools && \
32702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32704 "RANLIB=$${RANLIB}" \
32705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32706 distclean) \
32707 || exit 1
32709 @endif gotools
32711 .PHONY: maybe-maintainer-clean-gotools maintainer-clean-gotools
32712 maybe-maintainer-clean-gotools:
32713 @if gotools
32714 maybe-maintainer-clean-gotools: maintainer-clean-gotools
32716 maintainer-clean-gotools:
32717 @: $(MAKE); $(unstage)
32718 @[ -f ./gotools/Makefile ] || exit 0; \
32719 r=`${PWD_COMMAND}`; export r; \
32720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32721 $(HOST_EXPORTS) \
32722 for flag in $(EXTRA_HOST_FLAGS) ; do \
32723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32724 done; \
32725 echo "Doing maintainer-clean in gotools"; \
32726 (cd $(HOST_SUBDIR)/gotools && \
32727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32729 "RANLIB=$${RANLIB}" \
32730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32731 maintainer-clean) \
32732 || exit 1
32734 @endif gotools
32738 # ---------------------------------------
32739 # Modules which run on the target machine
32740 # ---------------------------------------
32745 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
32746 maybe-configure-target-libstdc++-v3:
32747 @if gcc-bootstrap
32748 configure-target-libstdc++-v3: stage_current
32749 @endif gcc-bootstrap
32750 @if target-libstdc++-v3
32751 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
32752 configure-target-libstdc++-v3:
32753 @r=`${PWD_COMMAND}`; export r; \
32754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32755 echo "Checking multilib configuration for libstdc++-v3..."; \
32756 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
32757 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
32758 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32759 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32760 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32761 else \
32762 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32763 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32764 fi; \
32765 else \
32766 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32767 fi; \
32768 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32769 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
32770 $(RAW_CXX_TARGET_EXPORTS) \
32771 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
32772 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
32773 case $(srcdir) in \
32774 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32775 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32776 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32777 esac; \
32778 module_srcdir=libstdc++-v3; \
32779 rm -f no-such-file || : ; \
32780 CONFIG_SITE=no-such-file $(SHELL) \
32781 $$s/$$module_srcdir/configure \
32782 --srcdir=$${topdir}/$$module_srcdir \
32783 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32784 --target=${target_alias} \
32785 || exit 1
32786 @endif target-libstdc++-v3
32790 .PHONY: configure-stage1-target-libstdc++-v3 maybe-configure-stage1-target-libstdc++-v3
32791 maybe-configure-stage1-target-libstdc++-v3:
32792 @if target-libstdc++-v3-bootstrap
32793 maybe-configure-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
32794 configure-stage1-target-libstdc++-v3:
32795 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32796 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
32797 @r=`${PWD_COMMAND}`; export r; \
32798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32799 TFLAGS="$(STAGE1_TFLAGS)"; \
32800 echo "Checking multilib configuration for libstdc++-v3..."; \
32801 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
32802 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32803 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32804 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32805 else \
32806 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32807 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32808 fi; \
32809 else \
32810 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32811 fi; \
32812 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32813 $(RAW_CXX_TARGET_EXPORTS) \
32814 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32815 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32816 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32817 echo Configuring stage 1 in $(TARGET_SUBDIR)/libstdc++-v3; \
32818 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
32819 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
32820 case $(srcdir) in \
32821 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32822 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32823 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32824 esac; \
32825 module_srcdir=libstdc++-v3; \
32826 $(SHELL) $$s/$$module_srcdir/configure \
32827 --srcdir=$${topdir}/$$module_srcdir \
32828 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32829 --target=${target_alias} \
32831 $(STAGE1_CONFIGURE_FLAGS)
32832 @endif target-libstdc++-v3-bootstrap
32834 .PHONY: configure-stage2-target-libstdc++-v3 maybe-configure-stage2-target-libstdc++-v3
32835 maybe-configure-stage2-target-libstdc++-v3:
32836 @if target-libstdc++-v3-bootstrap
32837 maybe-configure-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
32838 configure-stage2-target-libstdc++-v3:
32839 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32840 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
32841 @r=`${PWD_COMMAND}`; export r; \
32842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32843 TFLAGS="$(STAGE2_TFLAGS)"; \
32844 echo "Checking multilib configuration for libstdc++-v3..."; \
32845 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
32846 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32847 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32848 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32849 else \
32850 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32851 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32852 fi; \
32853 else \
32854 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32855 fi; \
32856 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32857 $(RAW_CXX_TARGET_EXPORTS) \
32859 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32860 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32861 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32862 echo Configuring stage 2 in $(TARGET_SUBDIR)/libstdc++-v3; \
32863 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
32864 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
32865 case $(srcdir) in \
32866 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32867 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32868 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32869 esac; \
32870 module_srcdir=libstdc++-v3; \
32871 $(SHELL) $$s/$$module_srcdir/configure \
32872 --srcdir=$${topdir}/$$module_srcdir \
32873 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32874 --target=${target_alias} \
32875 --with-build-libsubdir=$(HOST_SUBDIR) \
32876 $(STAGE2_CONFIGURE_FLAGS)
32877 @endif target-libstdc++-v3-bootstrap
32879 .PHONY: configure-stage3-target-libstdc++-v3 maybe-configure-stage3-target-libstdc++-v3
32880 maybe-configure-stage3-target-libstdc++-v3:
32881 @if target-libstdc++-v3-bootstrap
32882 maybe-configure-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
32883 configure-stage3-target-libstdc++-v3:
32884 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32885 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
32886 @r=`${PWD_COMMAND}`; export r; \
32887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32888 TFLAGS="$(STAGE3_TFLAGS)"; \
32889 echo "Checking multilib configuration for libstdc++-v3..."; \
32890 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
32891 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32892 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32893 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32894 else \
32895 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32896 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32897 fi; \
32898 else \
32899 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32900 fi; \
32901 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32902 $(RAW_CXX_TARGET_EXPORTS) \
32904 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32905 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32906 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32907 echo Configuring stage 3 in $(TARGET_SUBDIR)/libstdc++-v3; \
32908 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
32909 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
32910 case $(srcdir) in \
32911 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32912 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32913 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32914 esac; \
32915 module_srcdir=libstdc++-v3; \
32916 $(SHELL) $$s/$$module_srcdir/configure \
32917 --srcdir=$${topdir}/$$module_srcdir \
32918 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32919 --target=${target_alias} \
32920 --with-build-libsubdir=$(HOST_SUBDIR) \
32921 $(STAGE3_CONFIGURE_FLAGS)
32922 @endif target-libstdc++-v3-bootstrap
32924 .PHONY: configure-stage4-target-libstdc++-v3 maybe-configure-stage4-target-libstdc++-v3
32925 maybe-configure-stage4-target-libstdc++-v3:
32926 @if target-libstdc++-v3-bootstrap
32927 maybe-configure-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
32928 configure-stage4-target-libstdc++-v3:
32929 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32930 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
32931 @r=`${PWD_COMMAND}`; export r; \
32932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32933 TFLAGS="$(STAGE4_TFLAGS)"; \
32934 echo "Checking multilib configuration for libstdc++-v3..."; \
32935 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
32936 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32937 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32938 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32939 else \
32940 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32941 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32942 fi; \
32943 else \
32944 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32945 fi; \
32946 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32947 $(RAW_CXX_TARGET_EXPORTS) \
32949 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32950 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32951 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32952 echo Configuring stage 4 in $(TARGET_SUBDIR)/libstdc++-v3; \
32953 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
32954 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
32955 case $(srcdir) in \
32956 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32957 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32958 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32959 esac; \
32960 module_srcdir=libstdc++-v3; \
32961 $(SHELL) $$s/$$module_srcdir/configure \
32962 --srcdir=$${topdir}/$$module_srcdir \
32963 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32964 --target=${target_alias} \
32965 --with-build-libsubdir=$(HOST_SUBDIR) \
32966 $(STAGE4_CONFIGURE_FLAGS)
32967 @endif target-libstdc++-v3-bootstrap
32969 .PHONY: configure-stageprofile-target-libstdc++-v3 maybe-configure-stageprofile-target-libstdc++-v3
32970 maybe-configure-stageprofile-target-libstdc++-v3:
32971 @if target-libstdc++-v3-bootstrap
32972 maybe-configure-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
32973 configure-stageprofile-target-libstdc++-v3:
32974 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32975 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
32976 @r=`${PWD_COMMAND}`; export r; \
32977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32978 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32979 echo "Checking multilib configuration for libstdc++-v3..."; \
32980 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
32981 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32982 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32983 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32984 else \
32985 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32986 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32987 fi; \
32988 else \
32989 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32990 fi; \
32991 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32992 $(RAW_CXX_TARGET_EXPORTS) \
32994 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32995 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32996 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32997 echo Configuring stage profile in $(TARGET_SUBDIR)/libstdc++-v3; \
32998 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
32999 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
33000 case $(srcdir) in \
33001 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33002 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
33003 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33004 esac; \
33005 module_srcdir=libstdc++-v3; \
33006 $(SHELL) $$s/$$module_srcdir/configure \
33007 --srcdir=$${topdir}/$$module_srcdir \
33008 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33009 --target=${target_alias} \
33010 --with-build-libsubdir=$(HOST_SUBDIR) \
33011 $(STAGEprofile_CONFIGURE_FLAGS)
33012 @endif target-libstdc++-v3-bootstrap
33014 .PHONY: configure-stagefeedback-target-libstdc++-v3 maybe-configure-stagefeedback-target-libstdc++-v3
33015 maybe-configure-stagefeedback-target-libstdc++-v3:
33016 @if target-libstdc++-v3-bootstrap
33017 maybe-configure-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
33018 configure-stagefeedback-target-libstdc++-v3:
33019 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
33020 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
33021 @r=`${PWD_COMMAND}`; export r; \
33022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33023 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
33024 echo "Checking multilib configuration for libstdc++-v3..."; \
33025 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
33026 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
33027 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
33028 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
33029 else \
33030 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
33031 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
33032 fi; \
33033 else \
33034 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
33035 fi; \
33036 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
33037 $(RAW_CXX_TARGET_EXPORTS) \
33039 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33040 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33041 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33042 echo Configuring stage feedback in $(TARGET_SUBDIR)/libstdc++-v3; \
33043 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
33044 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
33045 case $(srcdir) in \
33046 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33047 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
33048 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33049 esac; \
33050 module_srcdir=libstdc++-v3; \
33051 $(SHELL) $$s/$$module_srcdir/configure \
33052 --srcdir=$${topdir}/$$module_srcdir \
33053 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33054 --target=${target_alias} \
33055 --with-build-libsubdir=$(HOST_SUBDIR) \
33056 $(STAGEfeedback_CONFIGURE_FLAGS)
33057 @endif target-libstdc++-v3-bootstrap
33063 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
33064 maybe-all-target-libstdc++-v3:
33065 @if gcc-bootstrap
33066 all-target-libstdc++-v3: stage_current
33067 @endif gcc-bootstrap
33068 @if target-libstdc++-v3
33069 TARGET-target-libstdc++-v3=all
33070 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
33071 all-target-libstdc++-v3: configure-target-libstdc++-v3
33072 @r=`${PWD_COMMAND}`; export r; \
33073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33074 $(RAW_CXX_TARGET_EXPORTS) \
33075 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33076 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33077 $(TARGET-target-libstdc++-v3))
33078 @endif target-libstdc++-v3
33082 .PHONY: all-stage1-target-libstdc++-v3 maybe-all-stage1-target-libstdc++-v3
33083 .PHONY: clean-stage1-target-libstdc++-v3 maybe-clean-stage1-target-libstdc++-v3
33084 maybe-all-stage1-target-libstdc++-v3:
33085 maybe-clean-stage1-target-libstdc++-v3:
33086 @if target-libstdc++-v3-bootstrap
33087 maybe-all-stage1-target-libstdc++-v3: all-stage1-target-libstdc++-v3
33088 all-stage1: all-stage1-target-libstdc++-v3
33089 TARGET-stage1-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
33090 all-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
33091 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
33092 @r=`${PWD_COMMAND}`; export r; \
33093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33094 TFLAGS="$(STAGE1_TFLAGS)"; \
33095 $(RAW_CXX_TARGET_EXPORTS) \
33096 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33097 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33098 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33099 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33100 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33101 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33102 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33103 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33104 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33106 TFLAGS="$(STAGE1_TFLAGS)" \
33107 $(TARGET-stage1-target-libstdc++-v3)
33109 maybe-clean-stage1-target-libstdc++-v3: clean-stage1-target-libstdc++-v3
33110 clean-stage1: clean-stage1-target-libstdc++-v3
33111 clean-stage1-target-libstdc++-v3:
33112 @if [ $(current_stage) = stage1 ]; then \
33113 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
33114 else \
33115 [ -f $(TARGET_SUBDIR)/stage1-libstdc++-v3/Makefile ] || exit 0; \
33116 $(MAKE) stage1-start; \
33117 fi; \
33118 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33119 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33120 clean
33121 @endif target-libstdc++-v3-bootstrap
33124 .PHONY: all-stage2-target-libstdc++-v3 maybe-all-stage2-target-libstdc++-v3
33125 .PHONY: clean-stage2-target-libstdc++-v3 maybe-clean-stage2-target-libstdc++-v3
33126 maybe-all-stage2-target-libstdc++-v3:
33127 maybe-clean-stage2-target-libstdc++-v3:
33128 @if target-libstdc++-v3-bootstrap
33129 maybe-all-stage2-target-libstdc++-v3: all-stage2-target-libstdc++-v3
33130 all-stage2: all-stage2-target-libstdc++-v3
33131 TARGET-stage2-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
33132 all-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
33133 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
33134 @r=`${PWD_COMMAND}`; export r; \
33135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33136 TFLAGS="$(STAGE2_TFLAGS)"; \
33137 $(RAW_CXX_TARGET_EXPORTS) \
33139 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33140 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33141 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33142 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33143 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33144 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33145 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33146 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33147 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33148 TFLAGS="$(STAGE2_TFLAGS)" \
33149 $(TARGET-stage2-target-libstdc++-v3)
33151 maybe-clean-stage2-target-libstdc++-v3: clean-stage2-target-libstdc++-v3
33152 clean-stage2: clean-stage2-target-libstdc++-v3
33153 clean-stage2-target-libstdc++-v3:
33154 @if [ $(current_stage) = stage2 ]; then \
33155 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
33156 else \
33157 [ -f $(TARGET_SUBDIR)/stage2-libstdc++-v3/Makefile ] || exit 0; \
33158 $(MAKE) stage2-start; \
33159 fi; \
33160 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33161 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33162 @endif target-libstdc++-v3-bootstrap
33165 .PHONY: all-stage3-target-libstdc++-v3 maybe-all-stage3-target-libstdc++-v3
33166 .PHONY: clean-stage3-target-libstdc++-v3 maybe-clean-stage3-target-libstdc++-v3
33167 maybe-all-stage3-target-libstdc++-v3:
33168 maybe-clean-stage3-target-libstdc++-v3:
33169 @if target-libstdc++-v3-bootstrap
33170 maybe-all-stage3-target-libstdc++-v3: all-stage3-target-libstdc++-v3
33171 all-stage3: all-stage3-target-libstdc++-v3
33172 TARGET-stage3-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
33173 all-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
33174 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
33175 @r=`${PWD_COMMAND}`; export r; \
33176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33177 TFLAGS="$(STAGE3_TFLAGS)"; \
33178 $(RAW_CXX_TARGET_EXPORTS) \
33180 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33181 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33182 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33183 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33184 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33185 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33186 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33187 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33188 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33189 TFLAGS="$(STAGE3_TFLAGS)" \
33190 $(TARGET-stage3-target-libstdc++-v3)
33192 maybe-clean-stage3-target-libstdc++-v3: clean-stage3-target-libstdc++-v3
33193 clean-stage3: clean-stage3-target-libstdc++-v3
33194 clean-stage3-target-libstdc++-v3:
33195 @if [ $(current_stage) = stage3 ]; then \
33196 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
33197 else \
33198 [ -f $(TARGET_SUBDIR)/stage3-libstdc++-v3/Makefile ] || exit 0; \
33199 $(MAKE) stage3-start; \
33200 fi; \
33201 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33202 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33203 @endif target-libstdc++-v3-bootstrap
33206 .PHONY: all-stage4-target-libstdc++-v3 maybe-all-stage4-target-libstdc++-v3
33207 .PHONY: clean-stage4-target-libstdc++-v3 maybe-clean-stage4-target-libstdc++-v3
33208 maybe-all-stage4-target-libstdc++-v3:
33209 maybe-clean-stage4-target-libstdc++-v3:
33210 @if target-libstdc++-v3-bootstrap
33211 maybe-all-stage4-target-libstdc++-v3: all-stage4-target-libstdc++-v3
33212 all-stage4: all-stage4-target-libstdc++-v3
33213 TARGET-stage4-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
33214 all-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
33215 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
33216 @r=`${PWD_COMMAND}`; export r; \
33217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33218 TFLAGS="$(STAGE4_TFLAGS)"; \
33219 $(RAW_CXX_TARGET_EXPORTS) \
33221 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33222 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33223 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33224 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33225 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33226 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33227 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33228 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33229 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33230 TFLAGS="$(STAGE4_TFLAGS)" \
33231 $(TARGET-stage4-target-libstdc++-v3)
33233 maybe-clean-stage4-target-libstdc++-v3: clean-stage4-target-libstdc++-v3
33234 clean-stage4: clean-stage4-target-libstdc++-v3
33235 clean-stage4-target-libstdc++-v3:
33236 @if [ $(current_stage) = stage4 ]; then \
33237 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
33238 else \
33239 [ -f $(TARGET_SUBDIR)/stage4-libstdc++-v3/Makefile ] || exit 0; \
33240 $(MAKE) stage4-start; \
33241 fi; \
33242 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33243 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33244 @endif target-libstdc++-v3-bootstrap
33247 .PHONY: all-stageprofile-target-libstdc++-v3 maybe-all-stageprofile-target-libstdc++-v3
33248 .PHONY: clean-stageprofile-target-libstdc++-v3 maybe-clean-stageprofile-target-libstdc++-v3
33249 maybe-all-stageprofile-target-libstdc++-v3:
33250 maybe-clean-stageprofile-target-libstdc++-v3:
33251 @if target-libstdc++-v3-bootstrap
33252 maybe-all-stageprofile-target-libstdc++-v3: all-stageprofile-target-libstdc++-v3
33253 all-stageprofile: all-stageprofile-target-libstdc++-v3
33254 TARGET-stageprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
33255 all-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
33256 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
33257 @r=`${PWD_COMMAND}`; export r; \
33258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33259 TFLAGS="$(STAGEprofile_TFLAGS)"; \
33260 $(RAW_CXX_TARGET_EXPORTS) \
33262 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33263 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33264 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33265 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33266 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33267 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33268 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33269 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33270 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33271 TFLAGS="$(STAGEprofile_TFLAGS)" \
33272 $(TARGET-stageprofile-target-libstdc++-v3)
33274 maybe-clean-stageprofile-target-libstdc++-v3: clean-stageprofile-target-libstdc++-v3
33275 clean-stageprofile: clean-stageprofile-target-libstdc++-v3
33276 clean-stageprofile-target-libstdc++-v3:
33277 @if [ $(current_stage) = stageprofile ]; then \
33278 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
33279 else \
33280 [ -f $(TARGET_SUBDIR)/stageprofile-libstdc++-v3/Makefile ] || exit 0; \
33281 $(MAKE) stageprofile-start; \
33282 fi; \
33283 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33284 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33285 @endif target-libstdc++-v3-bootstrap
33288 .PHONY: all-stagefeedback-target-libstdc++-v3 maybe-all-stagefeedback-target-libstdc++-v3
33289 .PHONY: clean-stagefeedback-target-libstdc++-v3 maybe-clean-stagefeedback-target-libstdc++-v3
33290 maybe-all-stagefeedback-target-libstdc++-v3:
33291 maybe-clean-stagefeedback-target-libstdc++-v3:
33292 @if target-libstdc++-v3-bootstrap
33293 maybe-all-stagefeedback-target-libstdc++-v3: all-stagefeedback-target-libstdc++-v3
33294 all-stagefeedback: all-stagefeedback-target-libstdc++-v3
33295 TARGET-stagefeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
33296 all-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
33297 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
33298 @r=`${PWD_COMMAND}`; export r; \
33299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33300 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
33301 $(RAW_CXX_TARGET_EXPORTS) \
33303 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33304 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33305 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33306 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33307 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33308 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33309 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33310 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33311 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33312 TFLAGS="$(STAGEfeedback_TFLAGS)" \
33313 $(TARGET-stagefeedback-target-libstdc++-v3)
33315 maybe-clean-stagefeedback-target-libstdc++-v3: clean-stagefeedback-target-libstdc++-v3
33316 clean-stagefeedback: clean-stagefeedback-target-libstdc++-v3
33317 clean-stagefeedback-target-libstdc++-v3:
33318 @if [ $(current_stage) = stagefeedback ]; then \
33319 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
33320 else \
33321 [ -f $(TARGET_SUBDIR)/stagefeedback-libstdc++-v3/Makefile ] || exit 0; \
33322 $(MAKE) stagefeedback-start; \
33323 fi; \
33324 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33325 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33326 @endif target-libstdc++-v3-bootstrap
33333 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
33334 maybe-check-target-libstdc++-v3:
33335 @if target-libstdc++-v3
33336 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
33338 check-target-libstdc++-v3:
33339 @: $(MAKE); $(unstage)
33340 @r=`${PWD_COMMAND}`; export r; \
33341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33342 $(RAW_CXX_TARGET_EXPORTS) \
33343 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33344 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
33346 @endif target-libstdc++-v3
33348 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
33349 maybe-install-target-libstdc++-v3:
33350 @if target-libstdc++-v3
33351 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
33353 install-target-libstdc++-v3: installdirs
33354 @: $(MAKE); $(unstage)
33355 @r=`${PWD_COMMAND}`; export r; \
33356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33357 $(RAW_CXX_TARGET_EXPORTS) \
33358 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33359 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33361 @endif target-libstdc++-v3
33363 .PHONY: install-strip-target-libstdc++-v3 maybe-install-strip-target-libstdc++-v3
33364 maybe-install-strip-target-libstdc++-v3:
33365 @if target-libstdc++-v3
33366 maybe-install-strip-target-libstdc++-v3: install-strip-target-libstdc++-v3
33368 install-strip-target-libstdc++-v3: installdirs
33369 @: $(MAKE); $(unstage)
33370 @r=`${PWD_COMMAND}`; export r; \
33371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33372 $(RAW_CXX_TARGET_EXPORTS) \
33373 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33374 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
33376 @endif target-libstdc++-v3
33378 # Other targets (info, dvi, pdf, etc.)
33380 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
33381 maybe-info-target-libstdc++-v3:
33382 @if target-libstdc++-v3
33383 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
33385 info-target-libstdc++-v3: \
33386 configure-target-libstdc++-v3
33387 @: $(MAKE); $(unstage)
33388 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
33389 r=`${PWD_COMMAND}`; export r; \
33390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33391 $(RAW_CXX_TARGET_EXPORTS) \
33392 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3"; \
33393 for flag in $(EXTRA_TARGET_FLAGS); do \
33394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33395 done; \
33396 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33399 "RANLIB=$${RANLIB}" \
33400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33401 info) \
33402 || exit 1
33404 @endif target-libstdc++-v3
33406 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
33407 maybe-dvi-target-libstdc++-v3:
33408 @if target-libstdc++-v3
33409 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
33411 dvi-target-libstdc++-v3: \
33412 configure-target-libstdc++-v3
33413 @: $(MAKE); $(unstage)
33414 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
33415 r=`${PWD_COMMAND}`; export r; \
33416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33417 $(RAW_CXX_TARGET_EXPORTS) \
33418 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3"; \
33419 for flag in $(EXTRA_TARGET_FLAGS); do \
33420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33421 done; \
33422 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33425 "RANLIB=$${RANLIB}" \
33426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33427 dvi) \
33428 || exit 1
33430 @endif target-libstdc++-v3
33432 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
33433 maybe-pdf-target-libstdc++-v3:
33434 @if target-libstdc++-v3
33435 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
33437 pdf-target-libstdc++-v3: \
33438 configure-target-libstdc++-v3
33439 @: $(MAKE); $(unstage)
33440 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
33441 r=`${PWD_COMMAND}`; export r; \
33442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33443 $(RAW_CXX_TARGET_EXPORTS) \
33444 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3"; \
33445 for flag in $(EXTRA_TARGET_FLAGS); do \
33446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33447 done; \
33448 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33451 "RANLIB=$${RANLIB}" \
33452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33453 pdf) \
33454 || exit 1
33456 @endif target-libstdc++-v3
33458 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
33459 maybe-html-target-libstdc++-v3:
33460 @if target-libstdc++-v3
33461 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
33463 html-target-libstdc++-v3: \
33464 configure-target-libstdc++-v3
33465 @: $(MAKE); $(unstage)
33466 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
33467 r=`${PWD_COMMAND}`; export r; \
33468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33469 $(RAW_CXX_TARGET_EXPORTS) \
33470 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3"; \
33471 for flag in $(EXTRA_TARGET_FLAGS); do \
33472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33473 done; \
33474 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33477 "RANLIB=$${RANLIB}" \
33478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33479 html) \
33480 || exit 1
33482 @endif target-libstdc++-v3
33484 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
33485 maybe-TAGS-target-libstdc++-v3:
33486 @if target-libstdc++-v3
33487 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
33489 TAGS-target-libstdc++-v3: \
33490 configure-target-libstdc++-v3
33491 @: $(MAKE); $(unstage)
33492 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
33493 r=`${PWD_COMMAND}`; export r; \
33494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33495 $(RAW_CXX_TARGET_EXPORTS) \
33496 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3"; \
33497 for flag in $(EXTRA_TARGET_FLAGS); do \
33498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33499 done; \
33500 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33503 "RANLIB=$${RANLIB}" \
33504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33505 TAGS) \
33506 || exit 1
33508 @endif target-libstdc++-v3
33510 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
33511 maybe-install-info-target-libstdc++-v3:
33512 @if target-libstdc++-v3
33513 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
33515 install-info-target-libstdc++-v3: \
33516 configure-target-libstdc++-v3 \
33517 info-target-libstdc++-v3
33518 @: $(MAKE); $(unstage)
33519 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
33520 r=`${PWD_COMMAND}`; export r; \
33521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33522 $(RAW_CXX_TARGET_EXPORTS) \
33523 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3"; \
33524 for flag in $(EXTRA_TARGET_FLAGS); do \
33525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33526 done; \
33527 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33530 "RANLIB=$${RANLIB}" \
33531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33532 install-info) \
33533 || exit 1
33535 @endif target-libstdc++-v3
33537 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
33538 maybe-install-pdf-target-libstdc++-v3:
33539 @if target-libstdc++-v3
33540 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
33542 install-pdf-target-libstdc++-v3: \
33543 configure-target-libstdc++-v3 \
33544 pdf-target-libstdc++-v3
33545 @: $(MAKE); $(unstage)
33546 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
33547 r=`${PWD_COMMAND}`; export r; \
33548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33549 $(RAW_CXX_TARGET_EXPORTS) \
33550 echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3"; \
33551 for flag in $(EXTRA_TARGET_FLAGS); do \
33552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33553 done; \
33554 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33557 "RANLIB=$${RANLIB}" \
33558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33559 install-pdf) \
33560 || exit 1
33562 @endif target-libstdc++-v3
33564 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
33565 maybe-install-html-target-libstdc++-v3:
33566 @if target-libstdc++-v3
33567 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
33569 install-html-target-libstdc++-v3: \
33570 configure-target-libstdc++-v3 \
33571 html-target-libstdc++-v3
33572 @: $(MAKE); $(unstage)
33573 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
33574 r=`${PWD_COMMAND}`; export r; \
33575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33576 $(RAW_CXX_TARGET_EXPORTS) \
33577 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3"; \
33578 for flag in $(EXTRA_TARGET_FLAGS); do \
33579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33580 done; \
33581 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33584 "RANLIB=$${RANLIB}" \
33585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33586 install-html) \
33587 || exit 1
33589 @endif target-libstdc++-v3
33591 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
33592 maybe-installcheck-target-libstdc++-v3:
33593 @if target-libstdc++-v3
33594 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
33596 installcheck-target-libstdc++-v3: \
33597 configure-target-libstdc++-v3
33598 @: $(MAKE); $(unstage)
33599 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
33600 r=`${PWD_COMMAND}`; export r; \
33601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33602 $(RAW_CXX_TARGET_EXPORTS) \
33603 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3"; \
33604 for flag in $(EXTRA_TARGET_FLAGS); do \
33605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33606 done; \
33607 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33610 "RANLIB=$${RANLIB}" \
33611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33612 installcheck) \
33613 || exit 1
33615 @endif target-libstdc++-v3
33617 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
33618 maybe-mostlyclean-target-libstdc++-v3:
33619 @if target-libstdc++-v3
33620 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
33622 mostlyclean-target-libstdc++-v3:
33623 @: $(MAKE); $(unstage)
33624 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
33625 r=`${PWD_COMMAND}`; export r; \
33626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33627 $(RAW_CXX_TARGET_EXPORTS) \
33628 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3"; \
33629 for flag in $(EXTRA_TARGET_FLAGS); do \
33630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33631 done; \
33632 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33635 "RANLIB=$${RANLIB}" \
33636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33637 mostlyclean) \
33638 || exit 1
33640 @endif target-libstdc++-v3
33642 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
33643 maybe-clean-target-libstdc++-v3:
33644 @if target-libstdc++-v3
33645 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
33647 clean-target-libstdc++-v3:
33648 @: $(MAKE); $(unstage)
33649 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
33650 r=`${PWD_COMMAND}`; export r; \
33651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33652 $(RAW_CXX_TARGET_EXPORTS) \
33653 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3"; \
33654 for flag in $(EXTRA_TARGET_FLAGS); do \
33655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33656 done; \
33657 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33660 "RANLIB=$${RANLIB}" \
33661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33662 clean) \
33663 || exit 1
33665 @endif target-libstdc++-v3
33667 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
33668 maybe-distclean-target-libstdc++-v3:
33669 @if target-libstdc++-v3
33670 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
33672 distclean-target-libstdc++-v3:
33673 @: $(MAKE); $(unstage)
33674 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
33675 r=`${PWD_COMMAND}`; export r; \
33676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33677 $(RAW_CXX_TARGET_EXPORTS) \
33678 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3"; \
33679 for flag in $(EXTRA_TARGET_FLAGS); do \
33680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33681 done; \
33682 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33685 "RANLIB=$${RANLIB}" \
33686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33687 distclean) \
33688 || exit 1
33690 @endif target-libstdc++-v3
33692 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
33693 maybe-maintainer-clean-target-libstdc++-v3:
33694 @if target-libstdc++-v3
33695 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
33697 maintainer-clean-target-libstdc++-v3:
33698 @: $(MAKE); $(unstage)
33699 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
33700 r=`${PWD_COMMAND}`; export r; \
33701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33702 $(RAW_CXX_TARGET_EXPORTS) \
33703 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3"; \
33704 for flag in $(EXTRA_TARGET_FLAGS); do \
33705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33706 done; \
33707 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33710 "RANLIB=$${RANLIB}" \
33711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33712 maintainer-clean) \
33713 || exit 1
33715 @endif target-libstdc++-v3
33721 .PHONY: configure-target-libsanitizer maybe-configure-target-libsanitizer
33722 maybe-configure-target-libsanitizer:
33723 @if gcc-bootstrap
33724 configure-target-libsanitizer: stage_current
33725 @endif gcc-bootstrap
33726 @if target-libsanitizer
33727 maybe-configure-target-libsanitizer: configure-target-libsanitizer
33728 configure-target-libsanitizer:
33729 @r=`${PWD_COMMAND}`; export r; \
33730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33731 echo "Checking multilib configuration for libsanitizer..."; \
33732 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
33733 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
33734 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33735 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33736 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33737 else \
33738 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33739 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33740 fi; \
33741 else \
33742 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33743 fi; \
33744 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33745 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
33746 $(RAW_CXX_TARGET_EXPORTS) \
33747 echo Configuring in $(TARGET_SUBDIR)/libsanitizer; \
33748 cd "$(TARGET_SUBDIR)/libsanitizer" || exit 1; \
33749 case $(srcdir) in \
33750 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33751 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33752 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33753 esac; \
33754 module_srcdir=libsanitizer; \
33755 rm -f no-such-file || : ; \
33756 CONFIG_SITE=no-such-file $(SHELL) \
33757 $$s/$$module_srcdir/configure \
33758 --srcdir=$${topdir}/$$module_srcdir \
33759 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33760 --target=${target_alias} \
33761 || exit 1
33762 @endif target-libsanitizer
33766 .PHONY: configure-stage1-target-libsanitizer maybe-configure-stage1-target-libsanitizer
33767 maybe-configure-stage1-target-libsanitizer:
33768 @if target-libsanitizer-bootstrap
33769 maybe-configure-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
33770 configure-stage1-target-libsanitizer:
33771 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
33772 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33773 @r=`${PWD_COMMAND}`; export r; \
33774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33775 TFLAGS="$(STAGE1_TFLAGS)"; \
33776 echo "Checking multilib configuration for libsanitizer..."; \
33777 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
33778 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33779 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33780 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33781 else \
33782 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33783 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33784 fi; \
33785 else \
33786 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33787 fi; \
33788 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33789 $(RAW_CXX_TARGET_EXPORTS) \
33790 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33791 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33792 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33793 echo Configuring stage 1 in $(TARGET_SUBDIR)/libsanitizer; \
33794 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
33795 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33796 case $(srcdir) in \
33797 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33798 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33799 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33800 esac; \
33801 module_srcdir=libsanitizer; \
33802 $(SHELL) $$s/$$module_srcdir/configure \
33803 --srcdir=$${topdir}/$$module_srcdir \
33804 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33805 --target=${target_alias} \
33807 $(STAGE1_CONFIGURE_FLAGS)
33808 @endif target-libsanitizer-bootstrap
33810 .PHONY: configure-stage2-target-libsanitizer maybe-configure-stage2-target-libsanitizer
33811 maybe-configure-stage2-target-libsanitizer:
33812 @if target-libsanitizer-bootstrap
33813 maybe-configure-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
33814 configure-stage2-target-libsanitizer:
33815 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
33816 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33817 @r=`${PWD_COMMAND}`; export r; \
33818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33819 TFLAGS="$(STAGE2_TFLAGS)"; \
33820 echo "Checking multilib configuration for libsanitizer..."; \
33821 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
33822 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33823 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33824 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33825 else \
33826 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33827 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33828 fi; \
33829 else \
33830 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33831 fi; \
33832 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33833 $(RAW_CXX_TARGET_EXPORTS) \
33835 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33836 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33837 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33838 echo Configuring stage 2 in $(TARGET_SUBDIR)/libsanitizer; \
33839 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
33840 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33841 case $(srcdir) in \
33842 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33843 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33844 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33845 esac; \
33846 module_srcdir=libsanitizer; \
33847 $(SHELL) $$s/$$module_srcdir/configure \
33848 --srcdir=$${topdir}/$$module_srcdir \
33849 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33850 --target=${target_alias} \
33851 --with-build-libsubdir=$(HOST_SUBDIR) \
33852 $(STAGE2_CONFIGURE_FLAGS)
33853 @endif target-libsanitizer-bootstrap
33855 .PHONY: configure-stage3-target-libsanitizer maybe-configure-stage3-target-libsanitizer
33856 maybe-configure-stage3-target-libsanitizer:
33857 @if target-libsanitizer-bootstrap
33858 maybe-configure-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
33859 configure-stage3-target-libsanitizer:
33860 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
33861 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33862 @r=`${PWD_COMMAND}`; export r; \
33863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33864 TFLAGS="$(STAGE3_TFLAGS)"; \
33865 echo "Checking multilib configuration for libsanitizer..."; \
33866 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
33867 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33868 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33869 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33870 else \
33871 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33872 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33873 fi; \
33874 else \
33875 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33876 fi; \
33877 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33878 $(RAW_CXX_TARGET_EXPORTS) \
33880 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33881 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33882 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33883 echo Configuring stage 3 in $(TARGET_SUBDIR)/libsanitizer; \
33884 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
33885 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33886 case $(srcdir) in \
33887 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33888 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33889 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33890 esac; \
33891 module_srcdir=libsanitizer; \
33892 $(SHELL) $$s/$$module_srcdir/configure \
33893 --srcdir=$${topdir}/$$module_srcdir \
33894 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33895 --target=${target_alias} \
33896 --with-build-libsubdir=$(HOST_SUBDIR) \
33897 $(STAGE3_CONFIGURE_FLAGS)
33898 @endif target-libsanitizer-bootstrap
33900 .PHONY: configure-stage4-target-libsanitizer maybe-configure-stage4-target-libsanitizer
33901 maybe-configure-stage4-target-libsanitizer:
33902 @if target-libsanitizer-bootstrap
33903 maybe-configure-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
33904 configure-stage4-target-libsanitizer:
33905 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
33906 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33907 @r=`${PWD_COMMAND}`; export r; \
33908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33909 TFLAGS="$(STAGE4_TFLAGS)"; \
33910 echo "Checking multilib configuration for libsanitizer..."; \
33911 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
33912 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33913 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33914 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33915 else \
33916 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33917 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33918 fi; \
33919 else \
33920 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33921 fi; \
33922 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33923 $(RAW_CXX_TARGET_EXPORTS) \
33925 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33926 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33927 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33928 echo Configuring stage 4 in $(TARGET_SUBDIR)/libsanitizer; \
33929 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
33930 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33931 case $(srcdir) in \
33932 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33933 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33934 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33935 esac; \
33936 module_srcdir=libsanitizer; \
33937 $(SHELL) $$s/$$module_srcdir/configure \
33938 --srcdir=$${topdir}/$$module_srcdir \
33939 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33940 --target=${target_alias} \
33941 --with-build-libsubdir=$(HOST_SUBDIR) \
33942 $(STAGE4_CONFIGURE_FLAGS)
33943 @endif target-libsanitizer-bootstrap
33945 .PHONY: configure-stageprofile-target-libsanitizer maybe-configure-stageprofile-target-libsanitizer
33946 maybe-configure-stageprofile-target-libsanitizer:
33947 @if target-libsanitizer-bootstrap
33948 maybe-configure-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
33949 configure-stageprofile-target-libsanitizer:
33950 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
33951 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33952 @r=`${PWD_COMMAND}`; export r; \
33953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33954 TFLAGS="$(STAGEprofile_TFLAGS)"; \
33955 echo "Checking multilib configuration for libsanitizer..."; \
33956 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
33957 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33958 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33959 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33960 else \
33961 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33962 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33963 fi; \
33964 else \
33965 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33966 fi; \
33967 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33968 $(RAW_CXX_TARGET_EXPORTS) \
33970 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33971 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33972 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33973 echo Configuring stage profile in $(TARGET_SUBDIR)/libsanitizer; \
33974 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
33975 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33976 case $(srcdir) in \
33977 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33978 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33979 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33980 esac; \
33981 module_srcdir=libsanitizer; \
33982 $(SHELL) $$s/$$module_srcdir/configure \
33983 --srcdir=$${topdir}/$$module_srcdir \
33984 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33985 --target=${target_alias} \
33986 --with-build-libsubdir=$(HOST_SUBDIR) \
33987 $(STAGEprofile_CONFIGURE_FLAGS)
33988 @endif target-libsanitizer-bootstrap
33990 .PHONY: configure-stagefeedback-target-libsanitizer maybe-configure-stagefeedback-target-libsanitizer
33991 maybe-configure-stagefeedback-target-libsanitizer:
33992 @if target-libsanitizer-bootstrap
33993 maybe-configure-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
33994 configure-stagefeedback-target-libsanitizer:
33995 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
33996 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33997 @r=`${PWD_COMMAND}`; export r; \
33998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33999 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
34000 echo "Checking multilib configuration for libsanitizer..."; \
34001 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
34002 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
34003 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
34004 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
34005 else \
34006 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
34007 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
34008 fi; \
34009 else \
34010 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
34011 fi; \
34012 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
34013 $(RAW_CXX_TARGET_EXPORTS) \
34015 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34016 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34017 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34018 echo Configuring stage feedback in $(TARGET_SUBDIR)/libsanitizer; \
34019 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
34020 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
34021 case $(srcdir) in \
34022 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34023 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
34024 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34025 esac; \
34026 module_srcdir=libsanitizer; \
34027 $(SHELL) $$s/$$module_srcdir/configure \
34028 --srcdir=$${topdir}/$$module_srcdir \
34029 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34030 --target=${target_alias} \
34031 --with-build-libsubdir=$(HOST_SUBDIR) \
34032 $(STAGEfeedback_CONFIGURE_FLAGS)
34033 @endif target-libsanitizer-bootstrap
34039 .PHONY: all-target-libsanitizer maybe-all-target-libsanitizer
34040 maybe-all-target-libsanitizer:
34041 @if gcc-bootstrap
34042 all-target-libsanitizer: stage_current
34043 @endif gcc-bootstrap
34044 @if target-libsanitizer
34045 TARGET-target-libsanitizer=all
34046 maybe-all-target-libsanitizer: all-target-libsanitizer
34047 all-target-libsanitizer: configure-target-libsanitizer
34048 @r=`${PWD_COMMAND}`; export r; \
34049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34050 $(RAW_CXX_TARGET_EXPORTS) \
34051 (cd $(TARGET_SUBDIR)/libsanitizer && \
34052 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34053 $(TARGET-target-libsanitizer))
34054 @endif target-libsanitizer
34058 .PHONY: all-stage1-target-libsanitizer maybe-all-stage1-target-libsanitizer
34059 .PHONY: clean-stage1-target-libsanitizer maybe-clean-stage1-target-libsanitizer
34060 maybe-all-stage1-target-libsanitizer:
34061 maybe-clean-stage1-target-libsanitizer:
34062 @if target-libsanitizer-bootstrap
34063 maybe-all-stage1-target-libsanitizer: all-stage1-target-libsanitizer
34064 all-stage1: all-stage1-target-libsanitizer
34065 TARGET-stage1-target-libsanitizer = $(TARGET-target-libsanitizer)
34066 all-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
34067 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
34068 @r=`${PWD_COMMAND}`; export r; \
34069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34070 TFLAGS="$(STAGE1_TFLAGS)"; \
34071 $(RAW_CXX_TARGET_EXPORTS) \
34072 cd $(TARGET_SUBDIR)/libsanitizer && \
34073 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34074 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34075 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34076 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34077 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34078 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34079 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34080 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34082 TFLAGS="$(STAGE1_TFLAGS)" \
34083 $(TARGET-stage1-target-libsanitizer)
34085 maybe-clean-stage1-target-libsanitizer: clean-stage1-target-libsanitizer
34086 clean-stage1: clean-stage1-target-libsanitizer
34087 clean-stage1-target-libsanitizer:
34088 @if [ $(current_stage) = stage1 ]; then \
34089 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
34090 else \
34091 [ -f $(TARGET_SUBDIR)/stage1-libsanitizer/Makefile ] || exit 0; \
34092 $(MAKE) stage1-start; \
34093 fi; \
34094 cd $(TARGET_SUBDIR)/libsanitizer && \
34095 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34096 clean
34097 @endif target-libsanitizer-bootstrap
34100 .PHONY: all-stage2-target-libsanitizer maybe-all-stage2-target-libsanitizer
34101 .PHONY: clean-stage2-target-libsanitizer maybe-clean-stage2-target-libsanitizer
34102 maybe-all-stage2-target-libsanitizer:
34103 maybe-clean-stage2-target-libsanitizer:
34104 @if target-libsanitizer-bootstrap
34105 maybe-all-stage2-target-libsanitizer: all-stage2-target-libsanitizer
34106 all-stage2: all-stage2-target-libsanitizer
34107 TARGET-stage2-target-libsanitizer = $(TARGET-target-libsanitizer)
34108 all-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
34109 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
34110 @r=`${PWD_COMMAND}`; export r; \
34111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34112 TFLAGS="$(STAGE2_TFLAGS)"; \
34113 $(RAW_CXX_TARGET_EXPORTS) \
34115 cd $(TARGET_SUBDIR)/libsanitizer && \
34116 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34117 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34118 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34119 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34120 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34121 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34122 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34123 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34124 TFLAGS="$(STAGE2_TFLAGS)" \
34125 $(TARGET-stage2-target-libsanitizer)
34127 maybe-clean-stage2-target-libsanitizer: clean-stage2-target-libsanitizer
34128 clean-stage2: clean-stage2-target-libsanitizer
34129 clean-stage2-target-libsanitizer:
34130 @if [ $(current_stage) = stage2 ]; then \
34131 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
34132 else \
34133 [ -f $(TARGET_SUBDIR)/stage2-libsanitizer/Makefile ] || exit 0; \
34134 $(MAKE) stage2-start; \
34135 fi; \
34136 cd $(TARGET_SUBDIR)/libsanitizer && \
34137 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
34138 @endif target-libsanitizer-bootstrap
34141 .PHONY: all-stage3-target-libsanitizer maybe-all-stage3-target-libsanitizer
34142 .PHONY: clean-stage3-target-libsanitizer maybe-clean-stage3-target-libsanitizer
34143 maybe-all-stage3-target-libsanitizer:
34144 maybe-clean-stage3-target-libsanitizer:
34145 @if target-libsanitizer-bootstrap
34146 maybe-all-stage3-target-libsanitizer: all-stage3-target-libsanitizer
34147 all-stage3: all-stage3-target-libsanitizer
34148 TARGET-stage3-target-libsanitizer = $(TARGET-target-libsanitizer)
34149 all-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
34150 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
34151 @r=`${PWD_COMMAND}`; export r; \
34152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34153 TFLAGS="$(STAGE3_TFLAGS)"; \
34154 $(RAW_CXX_TARGET_EXPORTS) \
34156 cd $(TARGET_SUBDIR)/libsanitizer && \
34157 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34158 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34159 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34160 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34161 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34162 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34163 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34164 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34165 TFLAGS="$(STAGE3_TFLAGS)" \
34166 $(TARGET-stage3-target-libsanitizer)
34168 maybe-clean-stage3-target-libsanitizer: clean-stage3-target-libsanitizer
34169 clean-stage3: clean-stage3-target-libsanitizer
34170 clean-stage3-target-libsanitizer:
34171 @if [ $(current_stage) = stage3 ]; then \
34172 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
34173 else \
34174 [ -f $(TARGET_SUBDIR)/stage3-libsanitizer/Makefile ] || exit 0; \
34175 $(MAKE) stage3-start; \
34176 fi; \
34177 cd $(TARGET_SUBDIR)/libsanitizer && \
34178 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
34179 @endif target-libsanitizer-bootstrap
34182 .PHONY: all-stage4-target-libsanitizer maybe-all-stage4-target-libsanitizer
34183 .PHONY: clean-stage4-target-libsanitizer maybe-clean-stage4-target-libsanitizer
34184 maybe-all-stage4-target-libsanitizer:
34185 maybe-clean-stage4-target-libsanitizer:
34186 @if target-libsanitizer-bootstrap
34187 maybe-all-stage4-target-libsanitizer: all-stage4-target-libsanitizer
34188 all-stage4: all-stage4-target-libsanitizer
34189 TARGET-stage4-target-libsanitizer = $(TARGET-target-libsanitizer)
34190 all-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
34191 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
34192 @r=`${PWD_COMMAND}`; export r; \
34193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34194 TFLAGS="$(STAGE4_TFLAGS)"; \
34195 $(RAW_CXX_TARGET_EXPORTS) \
34197 cd $(TARGET_SUBDIR)/libsanitizer && \
34198 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34199 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34200 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34201 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34202 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34203 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34204 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34205 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34206 TFLAGS="$(STAGE4_TFLAGS)" \
34207 $(TARGET-stage4-target-libsanitizer)
34209 maybe-clean-stage4-target-libsanitizer: clean-stage4-target-libsanitizer
34210 clean-stage4: clean-stage4-target-libsanitizer
34211 clean-stage4-target-libsanitizer:
34212 @if [ $(current_stage) = stage4 ]; then \
34213 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
34214 else \
34215 [ -f $(TARGET_SUBDIR)/stage4-libsanitizer/Makefile ] || exit 0; \
34216 $(MAKE) stage4-start; \
34217 fi; \
34218 cd $(TARGET_SUBDIR)/libsanitizer && \
34219 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
34220 @endif target-libsanitizer-bootstrap
34223 .PHONY: all-stageprofile-target-libsanitizer maybe-all-stageprofile-target-libsanitizer
34224 .PHONY: clean-stageprofile-target-libsanitizer maybe-clean-stageprofile-target-libsanitizer
34225 maybe-all-stageprofile-target-libsanitizer:
34226 maybe-clean-stageprofile-target-libsanitizer:
34227 @if target-libsanitizer-bootstrap
34228 maybe-all-stageprofile-target-libsanitizer: all-stageprofile-target-libsanitizer
34229 all-stageprofile: all-stageprofile-target-libsanitizer
34230 TARGET-stageprofile-target-libsanitizer = $(TARGET-target-libsanitizer)
34231 all-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
34232 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
34233 @r=`${PWD_COMMAND}`; export r; \
34234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34235 TFLAGS="$(STAGEprofile_TFLAGS)"; \
34236 $(RAW_CXX_TARGET_EXPORTS) \
34238 cd $(TARGET_SUBDIR)/libsanitizer && \
34239 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34240 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34241 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34242 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34243 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34244 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34245 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34246 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34247 TFLAGS="$(STAGEprofile_TFLAGS)" \
34248 $(TARGET-stageprofile-target-libsanitizer)
34250 maybe-clean-stageprofile-target-libsanitizer: clean-stageprofile-target-libsanitizer
34251 clean-stageprofile: clean-stageprofile-target-libsanitizer
34252 clean-stageprofile-target-libsanitizer:
34253 @if [ $(current_stage) = stageprofile ]; then \
34254 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
34255 else \
34256 [ -f $(TARGET_SUBDIR)/stageprofile-libsanitizer/Makefile ] || exit 0; \
34257 $(MAKE) stageprofile-start; \
34258 fi; \
34259 cd $(TARGET_SUBDIR)/libsanitizer && \
34260 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
34261 @endif target-libsanitizer-bootstrap
34264 .PHONY: all-stagefeedback-target-libsanitizer maybe-all-stagefeedback-target-libsanitizer
34265 .PHONY: clean-stagefeedback-target-libsanitizer maybe-clean-stagefeedback-target-libsanitizer
34266 maybe-all-stagefeedback-target-libsanitizer:
34267 maybe-clean-stagefeedback-target-libsanitizer:
34268 @if target-libsanitizer-bootstrap
34269 maybe-all-stagefeedback-target-libsanitizer: all-stagefeedback-target-libsanitizer
34270 all-stagefeedback: all-stagefeedback-target-libsanitizer
34271 TARGET-stagefeedback-target-libsanitizer = $(TARGET-target-libsanitizer)
34272 all-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
34273 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
34274 @r=`${PWD_COMMAND}`; export r; \
34275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34276 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
34277 $(RAW_CXX_TARGET_EXPORTS) \
34279 cd $(TARGET_SUBDIR)/libsanitizer && \
34280 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34281 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34282 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34283 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34284 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34285 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34286 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34287 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34288 TFLAGS="$(STAGEfeedback_TFLAGS)" \
34289 $(TARGET-stagefeedback-target-libsanitizer)
34291 maybe-clean-stagefeedback-target-libsanitizer: clean-stagefeedback-target-libsanitizer
34292 clean-stagefeedback: clean-stagefeedback-target-libsanitizer
34293 clean-stagefeedback-target-libsanitizer:
34294 @if [ $(current_stage) = stagefeedback ]; then \
34295 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
34296 else \
34297 [ -f $(TARGET_SUBDIR)/stagefeedback-libsanitizer/Makefile ] || exit 0; \
34298 $(MAKE) stagefeedback-start; \
34299 fi; \
34300 cd $(TARGET_SUBDIR)/libsanitizer && \
34301 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
34302 @endif target-libsanitizer-bootstrap
34309 .PHONY: check-target-libsanitizer maybe-check-target-libsanitizer
34310 maybe-check-target-libsanitizer:
34311 @if target-libsanitizer
34312 maybe-check-target-libsanitizer: check-target-libsanitizer
34314 check-target-libsanitizer:
34315 @: $(MAKE); $(unstage)
34316 @r=`${PWD_COMMAND}`; export r; \
34317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34318 $(RAW_CXX_TARGET_EXPORTS) \
34319 (cd $(TARGET_SUBDIR)/libsanitizer && \
34320 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
34322 @endif target-libsanitizer
34324 .PHONY: install-target-libsanitizer maybe-install-target-libsanitizer
34325 maybe-install-target-libsanitizer:
34326 @if target-libsanitizer
34327 maybe-install-target-libsanitizer: install-target-libsanitizer
34329 install-target-libsanitizer: installdirs
34330 @: $(MAKE); $(unstage)
34331 @r=`${PWD_COMMAND}`; export r; \
34332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34333 $(RAW_CXX_TARGET_EXPORTS) \
34334 (cd $(TARGET_SUBDIR)/libsanitizer && \
34335 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34337 @endif target-libsanitizer
34339 .PHONY: install-strip-target-libsanitizer maybe-install-strip-target-libsanitizer
34340 maybe-install-strip-target-libsanitizer:
34341 @if target-libsanitizer
34342 maybe-install-strip-target-libsanitizer: install-strip-target-libsanitizer
34344 install-strip-target-libsanitizer: installdirs
34345 @: $(MAKE); $(unstage)
34346 @r=`${PWD_COMMAND}`; export r; \
34347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34348 $(RAW_CXX_TARGET_EXPORTS) \
34349 (cd $(TARGET_SUBDIR)/libsanitizer && \
34350 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
34352 @endif target-libsanitizer
34354 # Other targets (info, dvi, pdf, etc.)
34356 .PHONY: maybe-info-target-libsanitizer info-target-libsanitizer
34357 maybe-info-target-libsanitizer:
34358 @if target-libsanitizer
34359 maybe-info-target-libsanitizer: info-target-libsanitizer
34361 info-target-libsanitizer: \
34362 configure-target-libsanitizer
34363 @: $(MAKE); $(unstage)
34364 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
34365 r=`${PWD_COMMAND}`; export r; \
34366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34367 $(RAW_CXX_TARGET_EXPORTS) \
34368 echo "Doing info in $(TARGET_SUBDIR)/libsanitizer"; \
34369 for flag in $(EXTRA_TARGET_FLAGS); do \
34370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34371 done; \
34372 (cd $(TARGET_SUBDIR)/libsanitizer && \
34373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34375 "RANLIB=$${RANLIB}" \
34376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34377 info) \
34378 || exit 1
34380 @endif target-libsanitizer
34382 .PHONY: maybe-dvi-target-libsanitizer dvi-target-libsanitizer
34383 maybe-dvi-target-libsanitizer:
34384 @if target-libsanitizer
34385 maybe-dvi-target-libsanitizer: dvi-target-libsanitizer
34387 dvi-target-libsanitizer: \
34388 configure-target-libsanitizer
34389 @: $(MAKE); $(unstage)
34390 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
34391 r=`${PWD_COMMAND}`; export r; \
34392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34393 $(RAW_CXX_TARGET_EXPORTS) \
34394 echo "Doing dvi in $(TARGET_SUBDIR)/libsanitizer"; \
34395 for flag in $(EXTRA_TARGET_FLAGS); do \
34396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34397 done; \
34398 (cd $(TARGET_SUBDIR)/libsanitizer && \
34399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34401 "RANLIB=$${RANLIB}" \
34402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34403 dvi) \
34404 || exit 1
34406 @endif target-libsanitizer
34408 .PHONY: maybe-pdf-target-libsanitizer pdf-target-libsanitizer
34409 maybe-pdf-target-libsanitizer:
34410 @if target-libsanitizer
34411 maybe-pdf-target-libsanitizer: pdf-target-libsanitizer
34413 pdf-target-libsanitizer: \
34414 configure-target-libsanitizer
34415 @: $(MAKE); $(unstage)
34416 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
34417 r=`${PWD_COMMAND}`; export r; \
34418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34419 $(RAW_CXX_TARGET_EXPORTS) \
34420 echo "Doing pdf in $(TARGET_SUBDIR)/libsanitizer"; \
34421 for flag in $(EXTRA_TARGET_FLAGS); do \
34422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34423 done; \
34424 (cd $(TARGET_SUBDIR)/libsanitizer && \
34425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34427 "RANLIB=$${RANLIB}" \
34428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34429 pdf) \
34430 || exit 1
34432 @endif target-libsanitizer
34434 .PHONY: maybe-html-target-libsanitizer html-target-libsanitizer
34435 maybe-html-target-libsanitizer:
34436 @if target-libsanitizer
34437 maybe-html-target-libsanitizer: html-target-libsanitizer
34439 html-target-libsanitizer: \
34440 configure-target-libsanitizer
34441 @: $(MAKE); $(unstage)
34442 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
34443 r=`${PWD_COMMAND}`; export r; \
34444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34445 $(RAW_CXX_TARGET_EXPORTS) \
34446 echo "Doing html in $(TARGET_SUBDIR)/libsanitizer"; \
34447 for flag in $(EXTRA_TARGET_FLAGS); do \
34448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34449 done; \
34450 (cd $(TARGET_SUBDIR)/libsanitizer && \
34451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34453 "RANLIB=$${RANLIB}" \
34454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34455 html) \
34456 || exit 1
34458 @endif target-libsanitizer
34460 .PHONY: maybe-TAGS-target-libsanitizer TAGS-target-libsanitizer
34461 maybe-TAGS-target-libsanitizer:
34462 @if target-libsanitizer
34463 maybe-TAGS-target-libsanitizer: TAGS-target-libsanitizer
34465 TAGS-target-libsanitizer: \
34466 configure-target-libsanitizer
34467 @: $(MAKE); $(unstage)
34468 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
34469 r=`${PWD_COMMAND}`; export r; \
34470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34471 $(RAW_CXX_TARGET_EXPORTS) \
34472 echo "Doing TAGS in $(TARGET_SUBDIR)/libsanitizer"; \
34473 for flag in $(EXTRA_TARGET_FLAGS); do \
34474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34475 done; \
34476 (cd $(TARGET_SUBDIR)/libsanitizer && \
34477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34479 "RANLIB=$${RANLIB}" \
34480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34481 TAGS) \
34482 || exit 1
34484 @endif target-libsanitizer
34486 .PHONY: maybe-install-info-target-libsanitizer install-info-target-libsanitizer
34487 maybe-install-info-target-libsanitizer:
34488 @if target-libsanitizer
34489 maybe-install-info-target-libsanitizer: install-info-target-libsanitizer
34491 install-info-target-libsanitizer: \
34492 configure-target-libsanitizer \
34493 info-target-libsanitizer
34494 @: $(MAKE); $(unstage)
34495 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
34496 r=`${PWD_COMMAND}`; export r; \
34497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34498 $(RAW_CXX_TARGET_EXPORTS) \
34499 echo "Doing install-info in $(TARGET_SUBDIR)/libsanitizer"; \
34500 for flag in $(EXTRA_TARGET_FLAGS); do \
34501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34502 done; \
34503 (cd $(TARGET_SUBDIR)/libsanitizer && \
34504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34506 "RANLIB=$${RANLIB}" \
34507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34508 install-info) \
34509 || exit 1
34511 @endif target-libsanitizer
34513 .PHONY: maybe-install-pdf-target-libsanitizer install-pdf-target-libsanitizer
34514 maybe-install-pdf-target-libsanitizer:
34515 @if target-libsanitizer
34516 maybe-install-pdf-target-libsanitizer: install-pdf-target-libsanitizer
34518 install-pdf-target-libsanitizer: \
34519 configure-target-libsanitizer \
34520 pdf-target-libsanitizer
34521 @: $(MAKE); $(unstage)
34522 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
34523 r=`${PWD_COMMAND}`; export r; \
34524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34525 $(RAW_CXX_TARGET_EXPORTS) \
34526 echo "Doing install-pdf in $(TARGET_SUBDIR)/libsanitizer"; \
34527 for flag in $(EXTRA_TARGET_FLAGS); do \
34528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34529 done; \
34530 (cd $(TARGET_SUBDIR)/libsanitizer && \
34531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34533 "RANLIB=$${RANLIB}" \
34534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34535 install-pdf) \
34536 || exit 1
34538 @endif target-libsanitizer
34540 .PHONY: maybe-install-html-target-libsanitizer install-html-target-libsanitizer
34541 maybe-install-html-target-libsanitizer:
34542 @if target-libsanitizer
34543 maybe-install-html-target-libsanitizer: install-html-target-libsanitizer
34545 install-html-target-libsanitizer: \
34546 configure-target-libsanitizer \
34547 html-target-libsanitizer
34548 @: $(MAKE); $(unstage)
34549 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
34550 r=`${PWD_COMMAND}`; export r; \
34551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34552 $(RAW_CXX_TARGET_EXPORTS) \
34553 echo "Doing install-html in $(TARGET_SUBDIR)/libsanitizer"; \
34554 for flag in $(EXTRA_TARGET_FLAGS); do \
34555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34556 done; \
34557 (cd $(TARGET_SUBDIR)/libsanitizer && \
34558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34560 "RANLIB=$${RANLIB}" \
34561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34562 install-html) \
34563 || exit 1
34565 @endif target-libsanitizer
34567 .PHONY: maybe-installcheck-target-libsanitizer installcheck-target-libsanitizer
34568 maybe-installcheck-target-libsanitizer:
34569 @if target-libsanitizer
34570 maybe-installcheck-target-libsanitizer: installcheck-target-libsanitizer
34572 installcheck-target-libsanitizer: \
34573 configure-target-libsanitizer
34574 @: $(MAKE); $(unstage)
34575 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
34576 r=`${PWD_COMMAND}`; export r; \
34577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34578 $(RAW_CXX_TARGET_EXPORTS) \
34579 echo "Doing installcheck in $(TARGET_SUBDIR)/libsanitizer"; \
34580 for flag in $(EXTRA_TARGET_FLAGS); do \
34581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34582 done; \
34583 (cd $(TARGET_SUBDIR)/libsanitizer && \
34584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34586 "RANLIB=$${RANLIB}" \
34587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34588 installcheck) \
34589 || exit 1
34591 @endif target-libsanitizer
34593 .PHONY: maybe-mostlyclean-target-libsanitizer mostlyclean-target-libsanitizer
34594 maybe-mostlyclean-target-libsanitizer:
34595 @if target-libsanitizer
34596 maybe-mostlyclean-target-libsanitizer: mostlyclean-target-libsanitizer
34598 mostlyclean-target-libsanitizer:
34599 @: $(MAKE); $(unstage)
34600 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
34601 r=`${PWD_COMMAND}`; export r; \
34602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34603 $(RAW_CXX_TARGET_EXPORTS) \
34604 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libsanitizer"; \
34605 for flag in $(EXTRA_TARGET_FLAGS); do \
34606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34607 done; \
34608 (cd $(TARGET_SUBDIR)/libsanitizer && \
34609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34611 "RANLIB=$${RANLIB}" \
34612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34613 mostlyclean) \
34614 || exit 1
34616 @endif target-libsanitizer
34618 .PHONY: maybe-clean-target-libsanitizer clean-target-libsanitizer
34619 maybe-clean-target-libsanitizer:
34620 @if target-libsanitizer
34621 maybe-clean-target-libsanitizer: clean-target-libsanitizer
34623 clean-target-libsanitizer:
34624 @: $(MAKE); $(unstage)
34625 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
34626 r=`${PWD_COMMAND}`; export r; \
34627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34628 $(RAW_CXX_TARGET_EXPORTS) \
34629 echo "Doing clean in $(TARGET_SUBDIR)/libsanitizer"; \
34630 for flag in $(EXTRA_TARGET_FLAGS); do \
34631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34632 done; \
34633 (cd $(TARGET_SUBDIR)/libsanitizer && \
34634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34636 "RANLIB=$${RANLIB}" \
34637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34638 clean) \
34639 || exit 1
34641 @endif target-libsanitizer
34643 .PHONY: maybe-distclean-target-libsanitizer distclean-target-libsanitizer
34644 maybe-distclean-target-libsanitizer:
34645 @if target-libsanitizer
34646 maybe-distclean-target-libsanitizer: distclean-target-libsanitizer
34648 distclean-target-libsanitizer:
34649 @: $(MAKE); $(unstage)
34650 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
34651 r=`${PWD_COMMAND}`; export r; \
34652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34653 $(RAW_CXX_TARGET_EXPORTS) \
34654 echo "Doing distclean in $(TARGET_SUBDIR)/libsanitizer"; \
34655 for flag in $(EXTRA_TARGET_FLAGS); do \
34656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34657 done; \
34658 (cd $(TARGET_SUBDIR)/libsanitizer && \
34659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34661 "RANLIB=$${RANLIB}" \
34662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34663 distclean) \
34664 || exit 1
34666 @endif target-libsanitizer
34668 .PHONY: maybe-maintainer-clean-target-libsanitizer maintainer-clean-target-libsanitizer
34669 maybe-maintainer-clean-target-libsanitizer:
34670 @if target-libsanitizer
34671 maybe-maintainer-clean-target-libsanitizer: maintainer-clean-target-libsanitizer
34673 maintainer-clean-target-libsanitizer:
34674 @: $(MAKE); $(unstage)
34675 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
34676 r=`${PWD_COMMAND}`; export r; \
34677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34678 $(RAW_CXX_TARGET_EXPORTS) \
34679 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libsanitizer"; \
34680 for flag in $(EXTRA_TARGET_FLAGS); do \
34681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34682 done; \
34683 (cd $(TARGET_SUBDIR)/libsanitizer && \
34684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34686 "RANLIB=$${RANLIB}" \
34687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34688 maintainer-clean) \
34689 || exit 1
34691 @endif target-libsanitizer
34697 .PHONY: configure-target-libmpx maybe-configure-target-libmpx
34698 maybe-configure-target-libmpx:
34699 @if gcc-bootstrap
34700 configure-target-libmpx: stage_current
34701 @endif gcc-bootstrap
34702 @if target-libmpx
34703 maybe-configure-target-libmpx: configure-target-libmpx
34704 configure-target-libmpx:
34705 @r=`${PWD_COMMAND}`; export r; \
34706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34707 echo "Checking multilib configuration for libmpx..."; \
34708 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
34709 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
34710 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
34711 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
34712 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
34713 else \
34714 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
34715 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
34716 fi; \
34717 else \
34718 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
34719 fi; \
34720 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
34721 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
34722 $(NORMAL_TARGET_EXPORTS) \
34723 echo Configuring in $(TARGET_SUBDIR)/libmpx; \
34724 cd "$(TARGET_SUBDIR)/libmpx" || exit 1; \
34725 case $(srcdir) in \
34726 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34727 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
34728 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34729 esac; \
34730 module_srcdir=libmpx; \
34731 rm -f no-such-file || : ; \
34732 CONFIG_SITE=no-such-file $(SHELL) \
34733 $$s/$$module_srcdir/configure \
34734 --srcdir=$${topdir}/$$module_srcdir \
34735 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34736 --target=${target_alias} \
34737 || exit 1
34738 @endif target-libmpx
34742 .PHONY: configure-stage1-target-libmpx maybe-configure-stage1-target-libmpx
34743 maybe-configure-stage1-target-libmpx:
34744 @if target-libmpx-bootstrap
34745 maybe-configure-stage1-target-libmpx: configure-stage1-target-libmpx
34746 configure-stage1-target-libmpx:
34747 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
34748 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
34749 @r=`${PWD_COMMAND}`; export r; \
34750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34751 TFLAGS="$(STAGE1_TFLAGS)"; \
34752 echo "Checking multilib configuration for libmpx..."; \
34753 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
34754 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
34755 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
34756 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
34757 else \
34758 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
34759 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
34760 fi; \
34761 else \
34762 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
34763 fi; \
34764 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
34765 $(NORMAL_TARGET_EXPORTS) \
34766 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34767 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34768 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34769 echo Configuring stage 1 in $(TARGET_SUBDIR)/libmpx; \
34770 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
34771 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
34772 case $(srcdir) in \
34773 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34774 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
34775 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34776 esac; \
34777 module_srcdir=libmpx; \
34778 $(SHELL) $$s/$$module_srcdir/configure \
34779 --srcdir=$${topdir}/$$module_srcdir \
34780 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34781 --target=${target_alias} \
34783 $(STAGE1_CONFIGURE_FLAGS)
34784 @endif target-libmpx-bootstrap
34786 .PHONY: configure-stage2-target-libmpx maybe-configure-stage2-target-libmpx
34787 maybe-configure-stage2-target-libmpx:
34788 @if target-libmpx-bootstrap
34789 maybe-configure-stage2-target-libmpx: configure-stage2-target-libmpx
34790 configure-stage2-target-libmpx:
34791 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
34792 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
34793 @r=`${PWD_COMMAND}`; export r; \
34794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34795 TFLAGS="$(STAGE2_TFLAGS)"; \
34796 echo "Checking multilib configuration for libmpx..."; \
34797 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
34798 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
34799 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
34800 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
34801 else \
34802 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
34803 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
34804 fi; \
34805 else \
34806 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
34807 fi; \
34808 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
34809 $(NORMAL_TARGET_EXPORTS) \
34811 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34812 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34813 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34814 echo Configuring stage 2 in $(TARGET_SUBDIR)/libmpx; \
34815 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
34816 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
34817 case $(srcdir) in \
34818 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34819 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
34820 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34821 esac; \
34822 module_srcdir=libmpx; \
34823 $(SHELL) $$s/$$module_srcdir/configure \
34824 --srcdir=$${topdir}/$$module_srcdir \
34825 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34826 --target=${target_alias} \
34827 --with-build-libsubdir=$(HOST_SUBDIR) \
34828 $(STAGE2_CONFIGURE_FLAGS)
34829 @endif target-libmpx-bootstrap
34831 .PHONY: configure-stage3-target-libmpx maybe-configure-stage3-target-libmpx
34832 maybe-configure-stage3-target-libmpx:
34833 @if target-libmpx-bootstrap
34834 maybe-configure-stage3-target-libmpx: configure-stage3-target-libmpx
34835 configure-stage3-target-libmpx:
34836 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
34837 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
34838 @r=`${PWD_COMMAND}`; export r; \
34839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34840 TFLAGS="$(STAGE3_TFLAGS)"; \
34841 echo "Checking multilib configuration for libmpx..."; \
34842 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
34843 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
34844 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
34845 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
34846 else \
34847 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
34848 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
34849 fi; \
34850 else \
34851 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
34852 fi; \
34853 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
34854 $(NORMAL_TARGET_EXPORTS) \
34856 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34857 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34858 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34859 echo Configuring stage 3 in $(TARGET_SUBDIR)/libmpx; \
34860 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
34861 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
34862 case $(srcdir) in \
34863 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34864 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
34865 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34866 esac; \
34867 module_srcdir=libmpx; \
34868 $(SHELL) $$s/$$module_srcdir/configure \
34869 --srcdir=$${topdir}/$$module_srcdir \
34870 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34871 --target=${target_alias} \
34872 --with-build-libsubdir=$(HOST_SUBDIR) \
34873 $(STAGE3_CONFIGURE_FLAGS)
34874 @endif target-libmpx-bootstrap
34876 .PHONY: configure-stage4-target-libmpx maybe-configure-stage4-target-libmpx
34877 maybe-configure-stage4-target-libmpx:
34878 @if target-libmpx-bootstrap
34879 maybe-configure-stage4-target-libmpx: configure-stage4-target-libmpx
34880 configure-stage4-target-libmpx:
34881 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
34882 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
34883 @r=`${PWD_COMMAND}`; export r; \
34884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34885 TFLAGS="$(STAGE4_TFLAGS)"; \
34886 echo "Checking multilib configuration for libmpx..."; \
34887 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
34888 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
34889 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
34890 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
34891 else \
34892 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
34893 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
34894 fi; \
34895 else \
34896 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
34897 fi; \
34898 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
34899 $(NORMAL_TARGET_EXPORTS) \
34901 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34902 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34903 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34904 echo Configuring stage 4 in $(TARGET_SUBDIR)/libmpx; \
34905 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
34906 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
34907 case $(srcdir) in \
34908 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34909 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
34910 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34911 esac; \
34912 module_srcdir=libmpx; \
34913 $(SHELL) $$s/$$module_srcdir/configure \
34914 --srcdir=$${topdir}/$$module_srcdir \
34915 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34916 --target=${target_alias} \
34917 --with-build-libsubdir=$(HOST_SUBDIR) \
34918 $(STAGE4_CONFIGURE_FLAGS)
34919 @endif target-libmpx-bootstrap
34921 .PHONY: configure-stageprofile-target-libmpx maybe-configure-stageprofile-target-libmpx
34922 maybe-configure-stageprofile-target-libmpx:
34923 @if target-libmpx-bootstrap
34924 maybe-configure-stageprofile-target-libmpx: configure-stageprofile-target-libmpx
34925 configure-stageprofile-target-libmpx:
34926 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
34927 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
34928 @r=`${PWD_COMMAND}`; export r; \
34929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34930 TFLAGS="$(STAGEprofile_TFLAGS)"; \
34931 echo "Checking multilib configuration for libmpx..."; \
34932 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
34933 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
34934 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
34935 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
34936 else \
34937 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
34938 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
34939 fi; \
34940 else \
34941 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
34942 fi; \
34943 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
34944 $(NORMAL_TARGET_EXPORTS) \
34946 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34947 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34948 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34949 echo Configuring stage profile in $(TARGET_SUBDIR)/libmpx; \
34950 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
34951 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
34952 case $(srcdir) in \
34953 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34954 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
34955 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34956 esac; \
34957 module_srcdir=libmpx; \
34958 $(SHELL) $$s/$$module_srcdir/configure \
34959 --srcdir=$${topdir}/$$module_srcdir \
34960 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34961 --target=${target_alias} \
34962 --with-build-libsubdir=$(HOST_SUBDIR) \
34963 $(STAGEprofile_CONFIGURE_FLAGS)
34964 @endif target-libmpx-bootstrap
34966 .PHONY: configure-stagefeedback-target-libmpx maybe-configure-stagefeedback-target-libmpx
34967 maybe-configure-stagefeedback-target-libmpx:
34968 @if target-libmpx-bootstrap
34969 maybe-configure-stagefeedback-target-libmpx: configure-stagefeedback-target-libmpx
34970 configure-stagefeedback-target-libmpx:
34971 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
34972 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
34973 @r=`${PWD_COMMAND}`; export r; \
34974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34975 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
34976 echo "Checking multilib configuration for libmpx..."; \
34977 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
34978 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
34979 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
34980 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
34981 else \
34982 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
34983 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
34984 fi; \
34985 else \
34986 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
34987 fi; \
34988 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
34989 $(NORMAL_TARGET_EXPORTS) \
34991 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34992 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34993 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34994 echo Configuring stage feedback in $(TARGET_SUBDIR)/libmpx; \
34995 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
34996 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
34997 case $(srcdir) in \
34998 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34999 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
35000 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35001 esac; \
35002 module_srcdir=libmpx; \
35003 $(SHELL) $$s/$$module_srcdir/configure \
35004 --srcdir=$${topdir}/$$module_srcdir \
35005 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35006 --target=${target_alias} \
35007 --with-build-libsubdir=$(HOST_SUBDIR) \
35008 $(STAGEfeedback_CONFIGURE_FLAGS)
35009 @endif target-libmpx-bootstrap
35015 .PHONY: all-target-libmpx maybe-all-target-libmpx
35016 maybe-all-target-libmpx:
35017 @if gcc-bootstrap
35018 all-target-libmpx: stage_current
35019 @endif gcc-bootstrap
35020 @if target-libmpx
35021 TARGET-target-libmpx=all
35022 maybe-all-target-libmpx: all-target-libmpx
35023 all-target-libmpx: configure-target-libmpx
35024 @r=`${PWD_COMMAND}`; export r; \
35025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35026 $(NORMAL_TARGET_EXPORTS) \
35027 (cd $(TARGET_SUBDIR)/libmpx && \
35028 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35029 $(TARGET-target-libmpx))
35030 @endif target-libmpx
35034 .PHONY: all-stage1-target-libmpx maybe-all-stage1-target-libmpx
35035 .PHONY: clean-stage1-target-libmpx maybe-clean-stage1-target-libmpx
35036 maybe-all-stage1-target-libmpx:
35037 maybe-clean-stage1-target-libmpx:
35038 @if target-libmpx-bootstrap
35039 maybe-all-stage1-target-libmpx: all-stage1-target-libmpx
35040 all-stage1: all-stage1-target-libmpx
35041 TARGET-stage1-target-libmpx = $(TARGET-target-libmpx)
35042 all-stage1-target-libmpx: configure-stage1-target-libmpx
35043 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
35044 @r=`${PWD_COMMAND}`; export r; \
35045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35046 TFLAGS="$(STAGE1_TFLAGS)"; \
35047 $(NORMAL_TARGET_EXPORTS) \
35048 cd $(TARGET_SUBDIR)/libmpx && \
35049 $(MAKE) $(BASE_FLAGS_TO_PASS) \
35050 CFLAGS="$(CFLAGS_FOR_TARGET)" \
35051 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
35052 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
35053 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
35054 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
35055 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
35056 $(EXTRA_TARGET_FLAGS) \
35058 TFLAGS="$(STAGE1_TFLAGS)" \
35059 $(TARGET-stage1-target-libmpx)
35061 maybe-clean-stage1-target-libmpx: clean-stage1-target-libmpx
35062 clean-stage1: clean-stage1-target-libmpx
35063 clean-stage1-target-libmpx:
35064 @if [ $(current_stage) = stage1 ]; then \
35065 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
35066 else \
35067 [ -f $(TARGET_SUBDIR)/stage1-libmpx/Makefile ] || exit 0; \
35068 $(MAKE) stage1-start; \
35069 fi; \
35070 cd $(TARGET_SUBDIR)/libmpx && \
35071 $(MAKE) $(EXTRA_TARGET_FLAGS) \
35072 clean
35073 @endif target-libmpx-bootstrap
35076 .PHONY: all-stage2-target-libmpx maybe-all-stage2-target-libmpx
35077 .PHONY: clean-stage2-target-libmpx maybe-clean-stage2-target-libmpx
35078 maybe-all-stage2-target-libmpx:
35079 maybe-clean-stage2-target-libmpx:
35080 @if target-libmpx-bootstrap
35081 maybe-all-stage2-target-libmpx: all-stage2-target-libmpx
35082 all-stage2: all-stage2-target-libmpx
35083 TARGET-stage2-target-libmpx = $(TARGET-target-libmpx)
35084 all-stage2-target-libmpx: configure-stage2-target-libmpx
35085 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
35086 @r=`${PWD_COMMAND}`; export r; \
35087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35088 TFLAGS="$(STAGE2_TFLAGS)"; \
35089 $(NORMAL_TARGET_EXPORTS) \
35091 cd $(TARGET_SUBDIR)/libmpx && \
35092 $(MAKE) $(BASE_FLAGS_TO_PASS) \
35093 CFLAGS="$(CFLAGS_FOR_TARGET)" \
35094 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
35095 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
35096 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
35097 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
35098 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
35099 $(EXTRA_TARGET_FLAGS) \
35100 TFLAGS="$(STAGE2_TFLAGS)" \
35101 $(TARGET-stage2-target-libmpx)
35103 maybe-clean-stage2-target-libmpx: clean-stage2-target-libmpx
35104 clean-stage2: clean-stage2-target-libmpx
35105 clean-stage2-target-libmpx:
35106 @if [ $(current_stage) = stage2 ]; then \
35107 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
35108 else \
35109 [ -f $(TARGET_SUBDIR)/stage2-libmpx/Makefile ] || exit 0; \
35110 $(MAKE) stage2-start; \
35111 fi; \
35112 cd $(TARGET_SUBDIR)/libmpx && \
35113 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
35114 @endif target-libmpx-bootstrap
35117 .PHONY: all-stage3-target-libmpx maybe-all-stage3-target-libmpx
35118 .PHONY: clean-stage3-target-libmpx maybe-clean-stage3-target-libmpx
35119 maybe-all-stage3-target-libmpx:
35120 maybe-clean-stage3-target-libmpx:
35121 @if target-libmpx-bootstrap
35122 maybe-all-stage3-target-libmpx: all-stage3-target-libmpx
35123 all-stage3: all-stage3-target-libmpx
35124 TARGET-stage3-target-libmpx = $(TARGET-target-libmpx)
35125 all-stage3-target-libmpx: configure-stage3-target-libmpx
35126 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
35127 @r=`${PWD_COMMAND}`; export r; \
35128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35129 TFLAGS="$(STAGE3_TFLAGS)"; \
35130 $(NORMAL_TARGET_EXPORTS) \
35132 cd $(TARGET_SUBDIR)/libmpx && \
35133 $(MAKE) $(BASE_FLAGS_TO_PASS) \
35134 CFLAGS="$(CFLAGS_FOR_TARGET)" \
35135 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
35136 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
35137 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
35138 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
35139 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
35140 $(EXTRA_TARGET_FLAGS) \
35141 TFLAGS="$(STAGE3_TFLAGS)" \
35142 $(TARGET-stage3-target-libmpx)
35144 maybe-clean-stage3-target-libmpx: clean-stage3-target-libmpx
35145 clean-stage3: clean-stage3-target-libmpx
35146 clean-stage3-target-libmpx:
35147 @if [ $(current_stage) = stage3 ]; then \
35148 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
35149 else \
35150 [ -f $(TARGET_SUBDIR)/stage3-libmpx/Makefile ] || exit 0; \
35151 $(MAKE) stage3-start; \
35152 fi; \
35153 cd $(TARGET_SUBDIR)/libmpx && \
35154 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
35155 @endif target-libmpx-bootstrap
35158 .PHONY: all-stage4-target-libmpx maybe-all-stage4-target-libmpx
35159 .PHONY: clean-stage4-target-libmpx maybe-clean-stage4-target-libmpx
35160 maybe-all-stage4-target-libmpx:
35161 maybe-clean-stage4-target-libmpx:
35162 @if target-libmpx-bootstrap
35163 maybe-all-stage4-target-libmpx: all-stage4-target-libmpx
35164 all-stage4: all-stage4-target-libmpx
35165 TARGET-stage4-target-libmpx = $(TARGET-target-libmpx)
35166 all-stage4-target-libmpx: configure-stage4-target-libmpx
35167 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
35168 @r=`${PWD_COMMAND}`; export r; \
35169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35170 TFLAGS="$(STAGE4_TFLAGS)"; \
35171 $(NORMAL_TARGET_EXPORTS) \
35173 cd $(TARGET_SUBDIR)/libmpx && \
35174 $(MAKE) $(BASE_FLAGS_TO_PASS) \
35175 CFLAGS="$(CFLAGS_FOR_TARGET)" \
35176 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
35177 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
35178 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
35179 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
35180 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
35181 $(EXTRA_TARGET_FLAGS) \
35182 TFLAGS="$(STAGE4_TFLAGS)" \
35183 $(TARGET-stage4-target-libmpx)
35185 maybe-clean-stage4-target-libmpx: clean-stage4-target-libmpx
35186 clean-stage4: clean-stage4-target-libmpx
35187 clean-stage4-target-libmpx:
35188 @if [ $(current_stage) = stage4 ]; then \
35189 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
35190 else \
35191 [ -f $(TARGET_SUBDIR)/stage4-libmpx/Makefile ] || exit 0; \
35192 $(MAKE) stage4-start; \
35193 fi; \
35194 cd $(TARGET_SUBDIR)/libmpx && \
35195 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
35196 @endif target-libmpx-bootstrap
35199 .PHONY: all-stageprofile-target-libmpx maybe-all-stageprofile-target-libmpx
35200 .PHONY: clean-stageprofile-target-libmpx maybe-clean-stageprofile-target-libmpx
35201 maybe-all-stageprofile-target-libmpx:
35202 maybe-clean-stageprofile-target-libmpx:
35203 @if target-libmpx-bootstrap
35204 maybe-all-stageprofile-target-libmpx: all-stageprofile-target-libmpx
35205 all-stageprofile: all-stageprofile-target-libmpx
35206 TARGET-stageprofile-target-libmpx = $(TARGET-target-libmpx)
35207 all-stageprofile-target-libmpx: configure-stageprofile-target-libmpx
35208 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
35209 @r=`${PWD_COMMAND}`; export r; \
35210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35211 TFLAGS="$(STAGEprofile_TFLAGS)"; \
35212 $(NORMAL_TARGET_EXPORTS) \
35214 cd $(TARGET_SUBDIR)/libmpx && \
35215 $(MAKE) $(BASE_FLAGS_TO_PASS) \
35216 CFLAGS="$(CFLAGS_FOR_TARGET)" \
35217 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
35218 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
35219 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
35220 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
35221 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
35222 $(EXTRA_TARGET_FLAGS) \
35223 TFLAGS="$(STAGEprofile_TFLAGS)" \
35224 $(TARGET-stageprofile-target-libmpx)
35226 maybe-clean-stageprofile-target-libmpx: clean-stageprofile-target-libmpx
35227 clean-stageprofile: clean-stageprofile-target-libmpx
35228 clean-stageprofile-target-libmpx:
35229 @if [ $(current_stage) = stageprofile ]; then \
35230 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
35231 else \
35232 [ -f $(TARGET_SUBDIR)/stageprofile-libmpx/Makefile ] || exit 0; \
35233 $(MAKE) stageprofile-start; \
35234 fi; \
35235 cd $(TARGET_SUBDIR)/libmpx && \
35236 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
35237 @endif target-libmpx-bootstrap
35240 .PHONY: all-stagefeedback-target-libmpx maybe-all-stagefeedback-target-libmpx
35241 .PHONY: clean-stagefeedback-target-libmpx maybe-clean-stagefeedback-target-libmpx
35242 maybe-all-stagefeedback-target-libmpx:
35243 maybe-clean-stagefeedback-target-libmpx:
35244 @if target-libmpx-bootstrap
35245 maybe-all-stagefeedback-target-libmpx: all-stagefeedback-target-libmpx
35246 all-stagefeedback: all-stagefeedback-target-libmpx
35247 TARGET-stagefeedback-target-libmpx = $(TARGET-target-libmpx)
35248 all-stagefeedback-target-libmpx: configure-stagefeedback-target-libmpx
35249 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
35250 @r=`${PWD_COMMAND}`; export r; \
35251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35252 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
35253 $(NORMAL_TARGET_EXPORTS) \
35255 cd $(TARGET_SUBDIR)/libmpx && \
35256 $(MAKE) $(BASE_FLAGS_TO_PASS) \
35257 CFLAGS="$(CFLAGS_FOR_TARGET)" \
35258 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
35259 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
35260 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
35261 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
35262 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
35263 $(EXTRA_TARGET_FLAGS) \
35264 TFLAGS="$(STAGEfeedback_TFLAGS)" \
35265 $(TARGET-stagefeedback-target-libmpx)
35267 maybe-clean-stagefeedback-target-libmpx: clean-stagefeedback-target-libmpx
35268 clean-stagefeedback: clean-stagefeedback-target-libmpx
35269 clean-stagefeedback-target-libmpx:
35270 @if [ $(current_stage) = stagefeedback ]; then \
35271 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
35272 else \
35273 [ -f $(TARGET_SUBDIR)/stagefeedback-libmpx/Makefile ] || exit 0; \
35274 $(MAKE) stagefeedback-start; \
35275 fi; \
35276 cd $(TARGET_SUBDIR)/libmpx && \
35277 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
35278 @endif target-libmpx-bootstrap
35285 .PHONY: check-target-libmpx maybe-check-target-libmpx
35286 maybe-check-target-libmpx:
35287 @if target-libmpx
35288 maybe-check-target-libmpx: check-target-libmpx
35290 check-target-libmpx:
35291 @: $(MAKE); $(unstage)
35292 @r=`${PWD_COMMAND}`; export r; \
35293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35294 $(NORMAL_TARGET_EXPORTS) \
35295 (cd $(TARGET_SUBDIR)/libmpx && \
35296 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35298 @endif target-libmpx
35300 .PHONY: install-target-libmpx maybe-install-target-libmpx
35301 maybe-install-target-libmpx:
35302 @if target-libmpx
35303 maybe-install-target-libmpx: install-target-libmpx
35305 install-target-libmpx: installdirs
35306 @: $(MAKE); $(unstage)
35307 @r=`${PWD_COMMAND}`; export r; \
35308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35309 $(NORMAL_TARGET_EXPORTS) \
35310 (cd $(TARGET_SUBDIR)/libmpx && \
35311 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35313 @endif target-libmpx
35315 .PHONY: install-strip-target-libmpx maybe-install-strip-target-libmpx
35316 maybe-install-strip-target-libmpx:
35317 @if target-libmpx
35318 maybe-install-strip-target-libmpx: install-strip-target-libmpx
35320 install-strip-target-libmpx: installdirs
35321 @: $(MAKE); $(unstage)
35322 @r=`${PWD_COMMAND}`; export r; \
35323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35324 $(NORMAL_TARGET_EXPORTS) \
35325 (cd $(TARGET_SUBDIR)/libmpx && \
35326 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35328 @endif target-libmpx
35330 # Other targets (info, dvi, pdf, etc.)
35332 .PHONY: maybe-info-target-libmpx info-target-libmpx
35333 maybe-info-target-libmpx:
35334 @if target-libmpx
35335 maybe-info-target-libmpx: info-target-libmpx
35337 info-target-libmpx: \
35338 configure-target-libmpx
35339 @: $(MAKE); $(unstage)
35340 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
35341 r=`${PWD_COMMAND}`; export r; \
35342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35343 $(NORMAL_TARGET_EXPORTS) \
35344 echo "Doing info in $(TARGET_SUBDIR)/libmpx"; \
35345 for flag in $(EXTRA_TARGET_FLAGS); do \
35346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35347 done; \
35348 (cd $(TARGET_SUBDIR)/libmpx && \
35349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35351 "RANLIB=$${RANLIB}" \
35352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35353 info) \
35354 || exit 1
35356 @endif target-libmpx
35358 .PHONY: maybe-dvi-target-libmpx dvi-target-libmpx
35359 maybe-dvi-target-libmpx:
35360 @if target-libmpx
35361 maybe-dvi-target-libmpx: dvi-target-libmpx
35363 dvi-target-libmpx: \
35364 configure-target-libmpx
35365 @: $(MAKE); $(unstage)
35366 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
35367 r=`${PWD_COMMAND}`; export r; \
35368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35369 $(NORMAL_TARGET_EXPORTS) \
35370 echo "Doing dvi in $(TARGET_SUBDIR)/libmpx"; \
35371 for flag in $(EXTRA_TARGET_FLAGS); do \
35372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35373 done; \
35374 (cd $(TARGET_SUBDIR)/libmpx && \
35375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35377 "RANLIB=$${RANLIB}" \
35378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35379 dvi) \
35380 || exit 1
35382 @endif target-libmpx
35384 .PHONY: maybe-pdf-target-libmpx pdf-target-libmpx
35385 maybe-pdf-target-libmpx:
35386 @if target-libmpx
35387 maybe-pdf-target-libmpx: pdf-target-libmpx
35389 pdf-target-libmpx: \
35390 configure-target-libmpx
35391 @: $(MAKE); $(unstage)
35392 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
35393 r=`${PWD_COMMAND}`; export r; \
35394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35395 $(NORMAL_TARGET_EXPORTS) \
35396 echo "Doing pdf in $(TARGET_SUBDIR)/libmpx"; \
35397 for flag in $(EXTRA_TARGET_FLAGS); do \
35398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35399 done; \
35400 (cd $(TARGET_SUBDIR)/libmpx && \
35401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35403 "RANLIB=$${RANLIB}" \
35404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35405 pdf) \
35406 || exit 1
35408 @endif target-libmpx
35410 .PHONY: maybe-html-target-libmpx html-target-libmpx
35411 maybe-html-target-libmpx:
35412 @if target-libmpx
35413 maybe-html-target-libmpx: html-target-libmpx
35415 html-target-libmpx: \
35416 configure-target-libmpx
35417 @: $(MAKE); $(unstage)
35418 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
35419 r=`${PWD_COMMAND}`; export r; \
35420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35421 $(NORMAL_TARGET_EXPORTS) \
35422 echo "Doing html in $(TARGET_SUBDIR)/libmpx"; \
35423 for flag in $(EXTRA_TARGET_FLAGS); do \
35424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35425 done; \
35426 (cd $(TARGET_SUBDIR)/libmpx && \
35427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35429 "RANLIB=$${RANLIB}" \
35430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35431 html) \
35432 || exit 1
35434 @endif target-libmpx
35436 .PHONY: maybe-TAGS-target-libmpx TAGS-target-libmpx
35437 maybe-TAGS-target-libmpx:
35438 @if target-libmpx
35439 maybe-TAGS-target-libmpx: TAGS-target-libmpx
35441 TAGS-target-libmpx: \
35442 configure-target-libmpx
35443 @: $(MAKE); $(unstage)
35444 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
35445 r=`${PWD_COMMAND}`; export r; \
35446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35447 $(NORMAL_TARGET_EXPORTS) \
35448 echo "Doing TAGS in $(TARGET_SUBDIR)/libmpx"; \
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)/libmpx && \
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 TAGS) \
35458 || exit 1
35460 @endif target-libmpx
35462 .PHONY: maybe-install-info-target-libmpx install-info-target-libmpx
35463 maybe-install-info-target-libmpx:
35464 @if target-libmpx
35465 maybe-install-info-target-libmpx: install-info-target-libmpx
35467 install-info-target-libmpx: \
35468 configure-target-libmpx \
35469 info-target-libmpx
35470 @: $(MAKE); $(unstage)
35471 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
35472 r=`${PWD_COMMAND}`; export r; \
35473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35474 $(NORMAL_TARGET_EXPORTS) \
35475 echo "Doing install-info in $(TARGET_SUBDIR)/libmpx"; \
35476 for flag in $(EXTRA_TARGET_FLAGS); do \
35477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35478 done; \
35479 (cd $(TARGET_SUBDIR)/libmpx && \
35480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35482 "RANLIB=$${RANLIB}" \
35483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35484 install-info) \
35485 || exit 1
35487 @endif target-libmpx
35489 .PHONY: maybe-install-pdf-target-libmpx install-pdf-target-libmpx
35490 maybe-install-pdf-target-libmpx:
35491 @if target-libmpx
35492 maybe-install-pdf-target-libmpx: install-pdf-target-libmpx
35494 install-pdf-target-libmpx: \
35495 configure-target-libmpx \
35496 pdf-target-libmpx
35497 @: $(MAKE); $(unstage)
35498 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
35499 r=`${PWD_COMMAND}`; export r; \
35500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35501 $(NORMAL_TARGET_EXPORTS) \
35502 echo "Doing install-pdf in $(TARGET_SUBDIR)/libmpx"; \
35503 for flag in $(EXTRA_TARGET_FLAGS); do \
35504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35505 done; \
35506 (cd $(TARGET_SUBDIR)/libmpx && \
35507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35509 "RANLIB=$${RANLIB}" \
35510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35511 install-pdf) \
35512 || exit 1
35514 @endif target-libmpx
35516 .PHONY: maybe-install-html-target-libmpx install-html-target-libmpx
35517 maybe-install-html-target-libmpx:
35518 @if target-libmpx
35519 maybe-install-html-target-libmpx: install-html-target-libmpx
35521 install-html-target-libmpx: \
35522 configure-target-libmpx \
35523 html-target-libmpx
35524 @: $(MAKE); $(unstage)
35525 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
35526 r=`${PWD_COMMAND}`; export r; \
35527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35528 $(NORMAL_TARGET_EXPORTS) \
35529 echo "Doing install-html in $(TARGET_SUBDIR)/libmpx"; \
35530 for flag in $(EXTRA_TARGET_FLAGS); do \
35531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35532 done; \
35533 (cd $(TARGET_SUBDIR)/libmpx && \
35534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35536 "RANLIB=$${RANLIB}" \
35537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35538 install-html) \
35539 || exit 1
35541 @endif target-libmpx
35543 .PHONY: maybe-installcheck-target-libmpx installcheck-target-libmpx
35544 maybe-installcheck-target-libmpx:
35545 @if target-libmpx
35546 maybe-installcheck-target-libmpx: installcheck-target-libmpx
35548 installcheck-target-libmpx: \
35549 configure-target-libmpx
35550 @: $(MAKE); $(unstage)
35551 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
35552 r=`${PWD_COMMAND}`; export r; \
35553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35554 $(NORMAL_TARGET_EXPORTS) \
35555 echo "Doing installcheck in $(TARGET_SUBDIR)/libmpx"; \
35556 for flag in $(EXTRA_TARGET_FLAGS); do \
35557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35558 done; \
35559 (cd $(TARGET_SUBDIR)/libmpx && \
35560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35562 "RANLIB=$${RANLIB}" \
35563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35564 installcheck) \
35565 || exit 1
35567 @endif target-libmpx
35569 .PHONY: maybe-mostlyclean-target-libmpx mostlyclean-target-libmpx
35570 maybe-mostlyclean-target-libmpx:
35571 @if target-libmpx
35572 maybe-mostlyclean-target-libmpx: mostlyclean-target-libmpx
35574 mostlyclean-target-libmpx:
35575 @: $(MAKE); $(unstage)
35576 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
35577 r=`${PWD_COMMAND}`; export r; \
35578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35579 $(NORMAL_TARGET_EXPORTS) \
35580 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmpx"; \
35581 for flag in $(EXTRA_TARGET_FLAGS); do \
35582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35583 done; \
35584 (cd $(TARGET_SUBDIR)/libmpx && \
35585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35587 "RANLIB=$${RANLIB}" \
35588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35589 mostlyclean) \
35590 || exit 1
35592 @endif target-libmpx
35594 .PHONY: maybe-clean-target-libmpx clean-target-libmpx
35595 maybe-clean-target-libmpx:
35596 @if target-libmpx
35597 maybe-clean-target-libmpx: clean-target-libmpx
35599 clean-target-libmpx:
35600 @: $(MAKE); $(unstage)
35601 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
35602 r=`${PWD_COMMAND}`; export r; \
35603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35604 $(NORMAL_TARGET_EXPORTS) \
35605 echo "Doing clean in $(TARGET_SUBDIR)/libmpx"; \
35606 for flag in $(EXTRA_TARGET_FLAGS); do \
35607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35608 done; \
35609 (cd $(TARGET_SUBDIR)/libmpx && \
35610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35612 "RANLIB=$${RANLIB}" \
35613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35614 clean) \
35615 || exit 1
35617 @endif target-libmpx
35619 .PHONY: maybe-distclean-target-libmpx distclean-target-libmpx
35620 maybe-distclean-target-libmpx:
35621 @if target-libmpx
35622 maybe-distclean-target-libmpx: distclean-target-libmpx
35624 distclean-target-libmpx:
35625 @: $(MAKE); $(unstage)
35626 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
35627 r=`${PWD_COMMAND}`; export r; \
35628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35629 $(NORMAL_TARGET_EXPORTS) \
35630 echo "Doing distclean in $(TARGET_SUBDIR)/libmpx"; \
35631 for flag in $(EXTRA_TARGET_FLAGS); do \
35632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35633 done; \
35634 (cd $(TARGET_SUBDIR)/libmpx && \
35635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35637 "RANLIB=$${RANLIB}" \
35638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35639 distclean) \
35640 || exit 1
35642 @endif target-libmpx
35644 .PHONY: maybe-maintainer-clean-target-libmpx maintainer-clean-target-libmpx
35645 maybe-maintainer-clean-target-libmpx:
35646 @if target-libmpx
35647 maybe-maintainer-clean-target-libmpx: maintainer-clean-target-libmpx
35649 maintainer-clean-target-libmpx:
35650 @: $(MAKE); $(unstage)
35651 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
35652 r=`${PWD_COMMAND}`; export r; \
35653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35654 $(NORMAL_TARGET_EXPORTS) \
35655 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmpx"; \
35656 for flag in $(EXTRA_TARGET_FLAGS); do \
35657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35658 done; \
35659 (cd $(TARGET_SUBDIR)/libmpx && \
35660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35662 "RANLIB=$${RANLIB}" \
35663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35664 maintainer-clean) \
35665 || exit 1
35667 @endif target-libmpx
35673 .PHONY: configure-target-libvtv maybe-configure-target-libvtv
35674 maybe-configure-target-libvtv:
35675 @if gcc-bootstrap
35676 configure-target-libvtv: stage_current
35677 @endif gcc-bootstrap
35678 @if target-libvtv
35679 maybe-configure-target-libvtv: configure-target-libvtv
35680 configure-target-libvtv:
35681 @r=`${PWD_COMMAND}`; export r; \
35682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35683 echo "Checking multilib configuration for libvtv..."; \
35684 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
35685 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
35686 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
35687 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
35688 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
35689 else \
35690 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
35691 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
35692 fi; \
35693 else \
35694 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
35695 fi; \
35696 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
35697 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
35698 $(RAW_CXX_TARGET_EXPORTS) \
35699 echo Configuring in $(TARGET_SUBDIR)/libvtv; \
35700 cd "$(TARGET_SUBDIR)/libvtv" || exit 1; \
35701 case $(srcdir) in \
35702 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35703 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
35704 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35705 esac; \
35706 module_srcdir=libvtv; \
35707 rm -f no-such-file || : ; \
35708 CONFIG_SITE=no-such-file $(SHELL) \
35709 $$s/$$module_srcdir/configure \
35710 --srcdir=$${topdir}/$$module_srcdir \
35711 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35712 --target=${target_alias} \
35713 || exit 1
35714 @endif target-libvtv
35718 .PHONY: configure-stage1-target-libvtv maybe-configure-stage1-target-libvtv
35719 maybe-configure-stage1-target-libvtv:
35720 @if target-libvtv-bootstrap
35721 maybe-configure-stage1-target-libvtv: configure-stage1-target-libvtv
35722 configure-stage1-target-libvtv:
35723 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
35724 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
35725 @r=`${PWD_COMMAND}`; export r; \
35726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35727 TFLAGS="$(STAGE1_TFLAGS)"; \
35728 echo "Checking multilib configuration for libvtv..."; \
35729 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
35730 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
35731 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
35732 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
35733 else \
35734 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
35735 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
35736 fi; \
35737 else \
35738 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
35739 fi; \
35740 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
35741 $(RAW_CXX_TARGET_EXPORTS) \
35742 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
35743 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
35744 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
35745 echo Configuring stage 1 in $(TARGET_SUBDIR)/libvtv; \
35746 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
35747 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
35748 case $(srcdir) in \
35749 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35750 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
35751 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35752 esac; \
35753 module_srcdir=libvtv; \
35754 $(SHELL) $$s/$$module_srcdir/configure \
35755 --srcdir=$${topdir}/$$module_srcdir \
35756 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35757 --target=${target_alias} \
35759 $(STAGE1_CONFIGURE_FLAGS)
35760 @endif target-libvtv-bootstrap
35762 .PHONY: configure-stage2-target-libvtv maybe-configure-stage2-target-libvtv
35763 maybe-configure-stage2-target-libvtv:
35764 @if target-libvtv-bootstrap
35765 maybe-configure-stage2-target-libvtv: configure-stage2-target-libvtv
35766 configure-stage2-target-libvtv:
35767 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
35768 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
35769 @r=`${PWD_COMMAND}`; export r; \
35770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35771 TFLAGS="$(STAGE2_TFLAGS)"; \
35772 echo "Checking multilib configuration for libvtv..."; \
35773 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
35774 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
35775 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
35776 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
35777 else \
35778 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
35779 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
35780 fi; \
35781 else \
35782 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
35783 fi; \
35784 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
35785 $(RAW_CXX_TARGET_EXPORTS) \
35787 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
35788 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
35789 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
35790 echo Configuring stage 2 in $(TARGET_SUBDIR)/libvtv; \
35791 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
35792 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
35793 case $(srcdir) in \
35794 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35795 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
35796 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35797 esac; \
35798 module_srcdir=libvtv; \
35799 $(SHELL) $$s/$$module_srcdir/configure \
35800 --srcdir=$${topdir}/$$module_srcdir \
35801 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35802 --target=${target_alias} \
35803 --with-build-libsubdir=$(HOST_SUBDIR) \
35804 $(STAGE2_CONFIGURE_FLAGS)
35805 @endif target-libvtv-bootstrap
35807 .PHONY: configure-stage3-target-libvtv maybe-configure-stage3-target-libvtv
35808 maybe-configure-stage3-target-libvtv:
35809 @if target-libvtv-bootstrap
35810 maybe-configure-stage3-target-libvtv: configure-stage3-target-libvtv
35811 configure-stage3-target-libvtv:
35812 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
35813 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
35814 @r=`${PWD_COMMAND}`; export r; \
35815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35816 TFLAGS="$(STAGE3_TFLAGS)"; \
35817 echo "Checking multilib configuration for libvtv..."; \
35818 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
35819 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
35820 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
35821 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
35822 else \
35823 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
35824 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
35825 fi; \
35826 else \
35827 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
35828 fi; \
35829 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
35830 $(RAW_CXX_TARGET_EXPORTS) \
35832 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
35833 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
35834 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
35835 echo Configuring stage 3 in $(TARGET_SUBDIR)/libvtv; \
35836 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
35837 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
35838 case $(srcdir) in \
35839 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35840 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
35841 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35842 esac; \
35843 module_srcdir=libvtv; \
35844 $(SHELL) $$s/$$module_srcdir/configure \
35845 --srcdir=$${topdir}/$$module_srcdir \
35846 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35847 --target=${target_alias} \
35848 --with-build-libsubdir=$(HOST_SUBDIR) \
35849 $(STAGE3_CONFIGURE_FLAGS)
35850 @endif target-libvtv-bootstrap
35852 .PHONY: configure-stage4-target-libvtv maybe-configure-stage4-target-libvtv
35853 maybe-configure-stage4-target-libvtv:
35854 @if target-libvtv-bootstrap
35855 maybe-configure-stage4-target-libvtv: configure-stage4-target-libvtv
35856 configure-stage4-target-libvtv:
35857 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
35858 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
35859 @r=`${PWD_COMMAND}`; export r; \
35860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35861 TFLAGS="$(STAGE4_TFLAGS)"; \
35862 echo "Checking multilib configuration for libvtv..."; \
35863 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
35864 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
35865 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
35866 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
35867 else \
35868 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
35869 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
35870 fi; \
35871 else \
35872 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
35873 fi; \
35874 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
35875 $(RAW_CXX_TARGET_EXPORTS) \
35877 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
35878 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
35879 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
35880 echo Configuring stage 4 in $(TARGET_SUBDIR)/libvtv; \
35881 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
35882 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
35883 case $(srcdir) in \
35884 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35885 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
35886 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35887 esac; \
35888 module_srcdir=libvtv; \
35889 $(SHELL) $$s/$$module_srcdir/configure \
35890 --srcdir=$${topdir}/$$module_srcdir \
35891 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35892 --target=${target_alias} \
35893 --with-build-libsubdir=$(HOST_SUBDIR) \
35894 $(STAGE4_CONFIGURE_FLAGS)
35895 @endif target-libvtv-bootstrap
35897 .PHONY: configure-stageprofile-target-libvtv maybe-configure-stageprofile-target-libvtv
35898 maybe-configure-stageprofile-target-libvtv:
35899 @if target-libvtv-bootstrap
35900 maybe-configure-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
35901 configure-stageprofile-target-libvtv:
35902 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
35903 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
35904 @r=`${PWD_COMMAND}`; export r; \
35905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35906 TFLAGS="$(STAGEprofile_TFLAGS)"; \
35907 echo "Checking multilib configuration for libvtv..."; \
35908 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
35909 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
35910 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
35911 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
35912 else \
35913 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
35914 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
35915 fi; \
35916 else \
35917 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
35918 fi; \
35919 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
35920 $(RAW_CXX_TARGET_EXPORTS) \
35922 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
35923 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
35924 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
35925 echo Configuring stage profile in $(TARGET_SUBDIR)/libvtv; \
35926 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
35927 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
35928 case $(srcdir) in \
35929 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35930 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
35931 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35932 esac; \
35933 module_srcdir=libvtv; \
35934 $(SHELL) $$s/$$module_srcdir/configure \
35935 --srcdir=$${topdir}/$$module_srcdir \
35936 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35937 --target=${target_alias} \
35938 --with-build-libsubdir=$(HOST_SUBDIR) \
35939 $(STAGEprofile_CONFIGURE_FLAGS)
35940 @endif target-libvtv-bootstrap
35942 .PHONY: configure-stagefeedback-target-libvtv maybe-configure-stagefeedback-target-libvtv
35943 maybe-configure-stagefeedback-target-libvtv:
35944 @if target-libvtv-bootstrap
35945 maybe-configure-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
35946 configure-stagefeedback-target-libvtv:
35947 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
35948 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
35949 @r=`${PWD_COMMAND}`; export r; \
35950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35951 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
35952 echo "Checking multilib configuration for libvtv..."; \
35953 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
35954 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
35955 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
35956 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
35957 else \
35958 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
35959 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
35960 fi; \
35961 else \
35962 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
35963 fi; \
35964 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
35965 $(RAW_CXX_TARGET_EXPORTS) \
35967 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
35968 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
35969 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
35970 echo Configuring stage feedback in $(TARGET_SUBDIR)/libvtv; \
35971 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
35972 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
35973 case $(srcdir) in \
35974 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35975 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
35976 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35977 esac; \
35978 module_srcdir=libvtv; \
35979 $(SHELL) $$s/$$module_srcdir/configure \
35980 --srcdir=$${topdir}/$$module_srcdir \
35981 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35982 --target=${target_alias} \
35983 --with-build-libsubdir=$(HOST_SUBDIR) \
35984 $(STAGEfeedback_CONFIGURE_FLAGS)
35985 @endif target-libvtv-bootstrap
35991 .PHONY: all-target-libvtv maybe-all-target-libvtv
35992 maybe-all-target-libvtv:
35993 @if gcc-bootstrap
35994 all-target-libvtv: stage_current
35995 @endif gcc-bootstrap
35996 @if target-libvtv
35997 TARGET-target-libvtv=all
35998 maybe-all-target-libvtv: all-target-libvtv
35999 all-target-libvtv: configure-target-libvtv
36000 @r=`${PWD_COMMAND}`; export r; \
36001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36002 $(RAW_CXX_TARGET_EXPORTS) \
36003 (cd $(TARGET_SUBDIR)/libvtv && \
36004 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36005 $(TARGET-target-libvtv))
36006 @endif target-libvtv
36010 .PHONY: all-stage1-target-libvtv maybe-all-stage1-target-libvtv
36011 .PHONY: clean-stage1-target-libvtv maybe-clean-stage1-target-libvtv
36012 maybe-all-stage1-target-libvtv:
36013 maybe-clean-stage1-target-libvtv:
36014 @if target-libvtv-bootstrap
36015 maybe-all-stage1-target-libvtv: all-stage1-target-libvtv
36016 all-stage1: all-stage1-target-libvtv
36017 TARGET-stage1-target-libvtv = $(TARGET-target-libvtv)
36018 all-stage1-target-libvtv: configure-stage1-target-libvtv
36019 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
36020 @r=`${PWD_COMMAND}`; export r; \
36021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36022 TFLAGS="$(STAGE1_TFLAGS)"; \
36023 $(RAW_CXX_TARGET_EXPORTS) \
36024 cd $(TARGET_SUBDIR)/libvtv && \
36025 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36026 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36027 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36028 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36029 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36030 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36031 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36032 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36034 TFLAGS="$(STAGE1_TFLAGS)" \
36035 $(TARGET-stage1-target-libvtv)
36037 maybe-clean-stage1-target-libvtv: clean-stage1-target-libvtv
36038 clean-stage1: clean-stage1-target-libvtv
36039 clean-stage1-target-libvtv:
36040 @if [ $(current_stage) = stage1 ]; then \
36041 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
36042 else \
36043 [ -f $(TARGET_SUBDIR)/stage1-libvtv/Makefile ] || exit 0; \
36044 $(MAKE) stage1-start; \
36045 fi; \
36046 cd $(TARGET_SUBDIR)/libvtv && \
36047 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36048 clean
36049 @endif target-libvtv-bootstrap
36052 .PHONY: all-stage2-target-libvtv maybe-all-stage2-target-libvtv
36053 .PHONY: clean-stage2-target-libvtv maybe-clean-stage2-target-libvtv
36054 maybe-all-stage2-target-libvtv:
36055 maybe-clean-stage2-target-libvtv:
36056 @if target-libvtv-bootstrap
36057 maybe-all-stage2-target-libvtv: all-stage2-target-libvtv
36058 all-stage2: all-stage2-target-libvtv
36059 TARGET-stage2-target-libvtv = $(TARGET-target-libvtv)
36060 all-stage2-target-libvtv: configure-stage2-target-libvtv
36061 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
36062 @r=`${PWD_COMMAND}`; export r; \
36063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36064 TFLAGS="$(STAGE2_TFLAGS)"; \
36065 $(RAW_CXX_TARGET_EXPORTS) \
36067 cd $(TARGET_SUBDIR)/libvtv && \
36068 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36069 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36070 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36071 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36072 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36073 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36074 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36075 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36076 TFLAGS="$(STAGE2_TFLAGS)" \
36077 $(TARGET-stage2-target-libvtv)
36079 maybe-clean-stage2-target-libvtv: clean-stage2-target-libvtv
36080 clean-stage2: clean-stage2-target-libvtv
36081 clean-stage2-target-libvtv:
36082 @if [ $(current_stage) = stage2 ]; then \
36083 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
36084 else \
36085 [ -f $(TARGET_SUBDIR)/stage2-libvtv/Makefile ] || exit 0; \
36086 $(MAKE) stage2-start; \
36087 fi; \
36088 cd $(TARGET_SUBDIR)/libvtv && \
36089 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
36090 @endif target-libvtv-bootstrap
36093 .PHONY: all-stage3-target-libvtv maybe-all-stage3-target-libvtv
36094 .PHONY: clean-stage3-target-libvtv maybe-clean-stage3-target-libvtv
36095 maybe-all-stage3-target-libvtv:
36096 maybe-clean-stage3-target-libvtv:
36097 @if target-libvtv-bootstrap
36098 maybe-all-stage3-target-libvtv: all-stage3-target-libvtv
36099 all-stage3: all-stage3-target-libvtv
36100 TARGET-stage3-target-libvtv = $(TARGET-target-libvtv)
36101 all-stage3-target-libvtv: configure-stage3-target-libvtv
36102 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
36103 @r=`${PWD_COMMAND}`; export r; \
36104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36105 TFLAGS="$(STAGE3_TFLAGS)"; \
36106 $(RAW_CXX_TARGET_EXPORTS) \
36108 cd $(TARGET_SUBDIR)/libvtv && \
36109 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36110 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36111 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36112 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36113 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36114 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36115 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36116 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36117 TFLAGS="$(STAGE3_TFLAGS)" \
36118 $(TARGET-stage3-target-libvtv)
36120 maybe-clean-stage3-target-libvtv: clean-stage3-target-libvtv
36121 clean-stage3: clean-stage3-target-libvtv
36122 clean-stage3-target-libvtv:
36123 @if [ $(current_stage) = stage3 ]; then \
36124 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
36125 else \
36126 [ -f $(TARGET_SUBDIR)/stage3-libvtv/Makefile ] || exit 0; \
36127 $(MAKE) stage3-start; \
36128 fi; \
36129 cd $(TARGET_SUBDIR)/libvtv && \
36130 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
36131 @endif target-libvtv-bootstrap
36134 .PHONY: all-stage4-target-libvtv maybe-all-stage4-target-libvtv
36135 .PHONY: clean-stage4-target-libvtv maybe-clean-stage4-target-libvtv
36136 maybe-all-stage4-target-libvtv:
36137 maybe-clean-stage4-target-libvtv:
36138 @if target-libvtv-bootstrap
36139 maybe-all-stage4-target-libvtv: all-stage4-target-libvtv
36140 all-stage4: all-stage4-target-libvtv
36141 TARGET-stage4-target-libvtv = $(TARGET-target-libvtv)
36142 all-stage4-target-libvtv: configure-stage4-target-libvtv
36143 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
36144 @r=`${PWD_COMMAND}`; export r; \
36145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36146 TFLAGS="$(STAGE4_TFLAGS)"; \
36147 $(RAW_CXX_TARGET_EXPORTS) \
36149 cd $(TARGET_SUBDIR)/libvtv && \
36150 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36151 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36152 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36153 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36154 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36155 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36156 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36157 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36158 TFLAGS="$(STAGE4_TFLAGS)" \
36159 $(TARGET-stage4-target-libvtv)
36161 maybe-clean-stage4-target-libvtv: clean-stage4-target-libvtv
36162 clean-stage4: clean-stage4-target-libvtv
36163 clean-stage4-target-libvtv:
36164 @if [ $(current_stage) = stage4 ]; then \
36165 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
36166 else \
36167 [ -f $(TARGET_SUBDIR)/stage4-libvtv/Makefile ] || exit 0; \
36168 $(MAKE) stage4-start; \
36169 fi; \
36170 cd $(TARGET_SUBDIR)/libvtv && \
36171 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
36172 @endif target-libvtv-bootstrap
36175 .PHONY: all-stageprofile-target-libvtv maybe-all-stageprofile-target-libvtv
36176 .PHONY: clean-stageprofile-target-libvtv maybe-clean-stageprofile-target-libvtv
36177 maybe-all-stageprofile-target-libvtv:
36178 maybe-clean-stageprofile-target-libvtv:
36179 @if target-libvtv-bootstrap
36180 maybe-all-stageprofile-target-libvtv: all-stageprofile-target-libvtv
36181 all-stageprofile: all-stageprofile-target-libvtv
36182 TARGET-stageprofile-target-libvtv = $(TARGET-target-libvtv)
36183 all-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
36184 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
36185 @r=`${PWD_COMMAND}`; export r; \
36186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36187 TFLAGS="$(STAGEprofile_TFLAGS)"; \
36188 $(RAW_CXX_TARGET_EXPORTS) \
36190 cd $(TARGET_SUBDIR)/libvtv && \
36191 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36192 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36193 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36194 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36195 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36196 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36197 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36198 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36199 TFLAGS="$(STAGEprofile_TFLAGS)" \
36200 $(TARGET-stageprofile-target-libvtv)
36202 maybe-clean-stageprofile-target-libvtv: clean-stageprofile-target-libvtv
36203 clean-stageprofile: clean-stageprofile-target-libvtv
36204 clean-stageprofile-target-libvtv:
36205 @if [ $(current_stage) = stageprofile ]; then \
36206 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
36207 else \
36208 [ -f $(TARGET_SUBDIR)/stageprofile-libvtv/Makefile ] || exit 0; \
36209 $(MAKE) stageprofile-start; \
36210 fi; \
36211 cd $(TARGET_SUBDIR)/libvtv && \
36212 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
36213 @endif target-libvtv-bootstrap
36216 .PHONY: all-stagefeedback-target-libvtv maybe-all-stagefeedback-target-libvtv
36217 .PHONY: clean-stagefeedback-target-libvtv maybe-clean-stagefeedback-target-libvtv
36218 maybe-all-stagefeedback-target-libvtv:
36219 maybe-clean-stagefeedback-target-libvtv:
36220 @if target-libvtv-bootstrap
36221 maybe-all-stagefeedback-target-libvtv: all-stagefeedback-target-libvtv
36222 all-stagefeedback: all-stagefeedback-target-libvtv
36223 TARGET-stagefeedback-target-libvtv = $(TARGET-target-libvtv)
36224 all-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
36225 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
36226 @r=`${PWD_COMMAND}`; export r; \
36227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36228 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
36229 $(RAW_CXX_TARGET_EXPORTS) \
36231 cd $(TARGET_SUBDIR)/libvtv && \
36232 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36233 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36234 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36235 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36236 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36237 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36238 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36239 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36240 TFLAGS="$(STAGEfeedback_TFLAGS)" \
36241 $(TARGET-stagefeedback-target-libvtv)
36243 maybe-clean-stagefeedback-target-libvtv: clean-stagefeedback-target-libvtv
36244 clean-stagefeedback: clean-stagefeedback-target-libvtv
36245 clean-stagefeedback-target-libvtv:
36246 @if [ $(current_stage) = stagefeedback ]; then \
36247 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
36248 else \
36249 [ -f $(TARGET_SUBDIR)/stagefeedback-libvtv/Makefile ] || exit 0; \
36250 $(MAKE) stagefeedback-start; \
36251 fi; \
36252 cd $(TARGET_SUBDIR)/libvtv && \
36253 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
36254 @endif target-libvtv-bootstrap
36261 .PHONY: check-target-libvtv maybe-check-target-libvtv
36262 maybe-check-target-libvtv:
36263 @if target-libvtv
36264 maybe-check-target-libvtv: check-target-libvtv
36266 check-target-libvtv:
36267 @: $(MAKE); $(unstage)
36268 @r=`${PWD_COMMAND}`; export r; \
36269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36270 $(RAW_CXX_TARGET_EXPORTS) \
36271 (cd $(TARGET_SUBDIR)/libvtv && \
36272 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
36274 @endif target-libvtv
36276 .PHONY: install-target-libvtv maybe-install-target-libvtv
36277 maybe-install-target-libvtv:
36278 @if target-libvtv
36279 maybe-install-target-libvtv: install-target-libvtv
36281 install-target-libvtv: installdirs
36282 @: $(MAKE); $(unstage)
36283 @r=`${PWD_COMMAND}`; export r; \
36284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36285 $(RAW_CXX_TARGET_EXPORTS) \
36286 (cd $(TARGET_SUBDIR)/libvtv && \
36287 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36289 @endif target-libvtv
36291 .PHONY: install-strip-target-libvtv maybe-install-strip-target-libvtv
36292 maybe-install-strip-target-libvtv:
36293 @if target-libvtv
36294 maybe-install-strip-target-libvtv: install-strip-target-libvtv
36296 install-strip-target-libvtv: installdirs
36297 @: $(MAKE); $(unstage)
36298 @r=`${PWD_COMMAND}`; export r; \
36299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36300 $(RAW_CXX_TARGET_EXPORTS) \
36301 (cd $(TARGET_SUBDIR)/libvtv && \
36302 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36304 @endif target-libvtv
36306 # Other targets (info, dvi, pdf, etc.)
36308 .PHONY: maybe-info-target-libvtv info-target-libvtv
36309 maybe-info-target-libvtv:
36310 @if target-libvtv
36311 maybe-info-target-libvtv: info-target-libvtv
36313 info-target-libvtv: \
36314 configure-target-libvtv
36315 @: $(MAKE); $(unstage)
36316 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
36317 r=`${PWD_COMMAND}`; export r; \
36318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36319 $(RAW_CXX_TARGET_EXPORTS) \
36320 echo "Doing info in $(TARGET_SUBDIR)/libvtv"; \
36321 for flag in $(EXTRA_TARGET_FLAGS); do \
36322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36323 done; \
36324 (cd $(TARGET_SUBDIR)/libvtv && \
36325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36327 "RANLIB=$${RANLIB}" \
36328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36329 info) \
36330 || exit 1
36332 @endif target-libvtv
36334 .PHONY: maybe-dvi-target-libvtv dvi-target-libvtv
36335 maybe-dvi-target-libvtv:
36336 @if target-libvtv
36337 maybe-dvi-target-libvtv: dvi-target-libvtv
36339 dvi-target-libvtv: \
36340 configure-target-libvtv
36341 @: $(MAKE); $(unstage)
36342 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
36343 r=`${PWD_COMMAND}`; export r; \
36344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36345 $(RAW_CXX_TARGET_EXPORTS) \
36346 echo "Doing dvi in $(TARGET_SUBDIR)/libvtv"; \
36347 for flag in $(EXTRA_TARGET_FLAGS); do \
36348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36349 done; \
36350 (cd $(TARGET_SUBDIR)/libvtv && \
36351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36353 "RANLIB=$${RANLIB}" \
36354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36355 dvi) \
36356 || exit 1
36358 @endif target-libvtv
36360 .PHONY: maybe-pdf-target-libvtv pdf-target-libvtv
36361 maybe-pdf-target-libvtv:
36362 @if target-libvtv
36363 maybe-pdf-target-libvtv: pdf-target-libvtv
36365 pdf-target-libvtv: \
36366 configure-target-libvtv
36367 @: $(MAKE); $(unstage)
36368 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
36369 r=`${PWD_COMMAND}`; export r; \
36370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36371 $(RAW_CXX_TARGET_EXPORTS) \
36372 echo "Doing pdf in $(TARGET_SUBDIR)/libvtv"; \
36373 for flag in $(EXTRA_TARGET_FLAGS); do \
36374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36375 done; \
36376 (cd $(TARGET_SUBDIR)/libvtv && \
36377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36379 "RANLIB=$${RANLIB}" \
36380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36381 pdf) \
36382 || exit 1
36384 @endif target-libvtv
36386 .PHONY: maybe-html-target-libvtv html-target-libvtv
36387 maybe-html-target-libvtv:
36388 @if target-libvtv
36389 maybe-html-target-libvtv: html-target-libvtv
36391 html-target-libvtv: \
36392 configure-target-libvtv
36393 @: $(MAKE); $(unstage)
36394 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
36395 r=`${PWD_COMMAND}`; export r; \
36396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36397 $(RAW_CXX_TARGET_EXPORTS) \
36398 echo "Doing html in $(TARGET_SUBDIR)/libvtv"; \
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)/libvtv && \
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 html) \
36408 || exit 1
36410 @endif target-libvtv
36412 .PHONY: maybe-TAGS-target-libvtv TAGS-target-libvtv
36413 maybe-TAGS-target-libvtv:
36414 @if target-libvtv
36415 maybe-TAGS-target-libvtv: TAGS-target-libvtv
36417 TAGS-target-libvtv: \
36418 configure-target-libvtv
36419 @: $(MAKE); $(unstage)
36420 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
36421 r=`${PWD_COMMAND}`; export r; \
36422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36423 $(RAW_CXX_TARGET_EXPORTS) \
36424 echo "Doing TAGS in $(TARGET_SUBDIR)/libvtv"; \
36425 for flag in $(EXTRA_TARGET_FLAGS); do \
36426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36427 done; \
36428 (cd $(TARGET_SUBDIR)/libvtv && \
36429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36431 "RANLIB=$${RANLIB}" \
36432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36433 TAGS) \
36434 || exit 1
36436 @endif target-libvtv
36438 .PHONY: maybe-install-info-target-libvtv install-info-target-libvtv
36439 maybe-install-info-target-libvtv:
36440 @if target-libvtv
36441 maybe-install-info-target-libvtv: install-info-target-libvtv
36443 install-info-target-libvtv: \
36444 configure-target-libvtv \
36445 info-target-libvtv
36446 @: $(MAKE); $(unstage)
36447 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
36448 r=`${PWD_COMMAND}`; export r; \
36449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36450 $(RAW_CXX_TARGET_EXPORTS) \
36451 echo "Doing install-info in $(TARGET_SUBDIR)/libvtv"; \
36452 for flag in $(EXTRA_TARGET_FLAGS); do \
36453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36454 done; \
36455 (cd $(TARGET_SUBDIR)/libvtv && \
36456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36458 "RANLIB=$${RANLIB}" \
36459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36460 install-info) \
36461 || exit 1
36463 @endif target-libvtv
36465 .PHONY: maybe-install-pdf-target-libvtv install-pdf-target-libvtv
36466 maybe-install-pdf-target-libvtv:
36467 @if target-libvtv
36468 maybe-install-pdf-target-libvtv: install-pdf-target-libvtv
36470 install-pdf-target-libvtv: \
36471 configure-target-libvtv \
36472 pdf-target-libvtv
36473 @: $(MAKE); $(unstage)
36474 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
36475 r=`${PWD_COMMAND}`; export r; \
36476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36477 $(RAW_CXX_TARGET_EXPORTS) \
36478 echo "Doing install-pdf in $(TARGET_SUBDIR)/libvtv"; \
36479 for flag in $(EXTRA_TARGET_FLAGS); do \
36480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36481 done; \
36482 (cd $(TARGET_SUBDIR)/libvtv && \
36483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36485 "RANLIB=$${RANLIB}" \
36486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36487 install-pdf) \
36488 || exit 1
36490 @endif target-libvtv
36492 .PHONY: maybe-install-html-target-libvtv install-html-target-libvtv
36493 maybe-install-html-target-libvtv:
36494 @if target-libvtv
36495 maybe-install-html-target-libvtv: install-html-target-libvtv
36497 install-html-target-libvtv: \
36498 configure-target-libvtv \
36499 html-target-libvtv
36500 @: $(MAKE); $(unstage)
36501 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
36502 r=`${PWD_COMMAND}`; export r; \
36503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36504 $(RAW_CXX_TARGET_EXPORTS) \
36505 echo "Doing install-html in $(TARGET_SUBDIR)/libvtv"; \
36506 for flag in $(EXTRA_TARGET_FLAGS); do \
36507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36508 done; \
36509 (cd $(TARGET_SUBDIR)/libvtv && \
36510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36512 "RANLIB=$${RANLIB}" \
36513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36514 install-html) \
36515 || exit 1
36517 @endif target-libvtv
36519 .PHONY: maybe-installcheck-target-libvtv installcheck-target-libvtv
36520 maybe-installcheck-target-libvtv:
36521 @if target-libvtv
36522 maybe-installcheck-target-libvtv: installcheck-target-libvtv
36524 installcheck-target-libvtv: \
36525 configure-target-libvtv
36526 @: $(MAKE); $(unstage)
36527 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
36528 r=`${PWD_COMMAND}`; export r; \
36529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36530 $(RAW_CXX_TARGET_EXPORTS) \
36531 echo "Doing installcheck in $(TARGET_SUBDIR)/libvtv"; \
36532 for flag in $(EXTRA_TARGET_FLAGS); do \
36533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36534 done; \
36535 (cd $(TARGET_SUBDIR)/libvtv && \
36536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36538 "RANLIB=$${RANLIB}" \
36539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36540 installcheck) \
36541 || exit 1
36543 @endif target-libvtv
36545 .PHONY: maybe-mostlyclean-target-libvtv mostlyclean-target-libvtv
36546 maybe-mostlyclean-target-libvtv:
36547 @if target-libvtv
36548 maybe-mostlyclean-target-libvtv: mostlyclean-target-libvtv
36550 mostlyclean-target-libvtv:
36551 @: $(MAKE); $(unstage)
36552 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
36553 r=`${PWD_COMMAND}`; export r; \
36554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36555 $(RAW_CXX_TARGET_EXPORTS) \
36556 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libvtv"; \
36557 for flag in $(EXTRA_TARGET_FLAGS); do \
36558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36559 done; \
36560 (cd $(TARGET_SUBDIR)/libvtv && \
36561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36563 "RANLIB=$${RANLIB}" \
36564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36565 mostlyclean) \
36566 || exit 1
36568 @endif target-libvtv
36570 .PHONY: maybe-clean-target-libvtv clean-target-libvtv
36571 maybe-clean-target-libvtv:
36572 @if target-libvtv
36573 maybe-clean-target-libvtv: clean-target-libvtv
36575 clean-target-libvtv:
36576 @: $(MAKE); $(unstage)
36577 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
36578 r=`${PWD_COMMAND}`; export r; \
36579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36580 $(RAW_CXX_TARGET_EXPORTS) \
36581 echo "Doing clean in $(TARGET_SUBDIR)/libvtv"; \
36582 for flag in $(EXTRA_TARGET_FLAGS); do \
36583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36584 done; \
36585 (cd $(TARGET_SUBDIR)/libvtv && \
36586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36588 "RANLIB=$${RANLIB}" \
36589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36590 clean) \
36591 || exit 1
36593 @endif target-libvtv
36595 .PHONY: maybe-distclean-target-libvtv distclean-target-libvtv
36596 maybe-distclean-target-libvtv:
36597 @if target-libvtv
36598 maybe-distclean-target-libvtv: distclean-target-libvtv
36600 distclean-target-libvtv:
36601 @: $(MAKE); $(unstage)
36602 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
36603 r=`${PWD_COMMAND}`; export r; \
36604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36605 $(RAW_CXX_TARGET_EXPORTS) \
36606 echo "Doing distclean in $(TARGET_SUBDIR)/libvtv"; \
36607 for flag in $(EXTRA_TARGET_FLAGS); do \
36608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36609 done; \
36610 (cd $(TARGET_SUBDIR)/libvtv && \
36611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36613 "RANLIB=$${RANLIB}" \
36614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36615 distclean) \
36616 || exit 1
36618 @endif target-libvtv
36620 .PHONY: maybe-maintainer-clean-target-libvtv maintainer-clean-target-libvtv
36621 maybe-maintainer-clean-target-libvtv:
36622 @if target-libvtv
36623 maybe-maintainer-clean-target-libvtv: maintainer-clean-target-libvtv
36625 maintainer-clean-target-libvtv:
36626 @: $(MAKE); $(unstage)
36627 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
36628 r=`${PWD_COMMAND}`; export r; \
36629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36630 $(RAW_CXX_TARGET_EXPORTS) \
36631 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libvtv"; \
36632 for flag in $(EXTRA_TARGET_FLAGS); do \
36633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36634 done; \
36635 (cd $(TARGET_SUBDIR)/libvtv && \
36636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36638 "RANLIB=$${RANLIB}" \
36639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36640 maintainer-clean) \
36641 || exit 1
36643 @endif target-libvtv
36649 .PHONY: configure-target-libcilkrts maybe-configure-target-libcilkrts
36650 maybe-configure-target-libcilkrts:
36651 @if gcc-bootstrap
36652 configure-target-libcilkrts: stage_current
36653 @endif gcc-bootstrap
36654 @if target-libcilkrts
36655 maybe-configure-target-libcilkrts: configure-target-libcilkrts
36656 configure-target-libcilkrts:
36657 @: $(MAKE); $(unstage)
36658 @r=`${PWD_COMMAND}`; export r; \
36659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36660 echo "Checking multilib configuration for libcilkrts..."; \
36661 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts; \
36662 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libcilkrts/multilib.tmp 2> /dev/null; \
36663 if test -r $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
36664 if cmp -s $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
36665 rm -f $(TARGET_SUBDIR)/libcilkrts/multilib.tmp; \
36666 else \
36667 rm -f $(TARGET_SUBDIR)/libcilkrts/Makefile; \
36668 mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
36669 fi; \
36670 else \
36671 mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
36672 fi; \
36673 test ! -f $(TARGET_SUBDIR)/libcilkrts/Makefile || exit 0; \
36674 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts; \
36675 $(NORMAL_TARGET_EXPORTS) \
36676 echo Configuring in $(TARGET_SUBDIR)/libcilkrts; \
36677 cd "$(TARGET_SUBDIR)/libcilkrts" || exit 1; \
36678 case $(srcdir) in \
36679 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36680 *) topdir=`echo $(TARGET_SUBDIR)/libcilkrts/ | \
36681 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36682 esac; \
36683 module_srcdir=libcilkrts; \
36684 rm -f no-such-file || : ; \
36685 CONFIG_SITE=no-such-file $(SHELL) \
36686 $$s/$$module_srcdir/configure \
36687 --srcdir=$${topdir}/$$module_srcdir \
36688 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36689 --target=${target_alias} \
36690 || exit 1
36691 @endif target-libcilkrts
36697 .PHONY: all-target-libcilkrts maybe-all-target-libcilkrts
36698 maybe-all-target-libcilkrts:
36699 @if gcc-bootstrap
36700 all-target-libcilkrts: stage_current
36701 @endif gcc-bootstrap
36702 @if target-libcilkrts
36703 TARGET-target-libcilkrts=all
36704 maybe-all-target-libcilkrts: all-target-libcilkrts
36705 all-target-libcilkrts: configure-target-libcilkrts
36706 @: $(MAKE); $(unstage)
36707 @r=`${PWD_COMMAND}`; export r; \
36708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36709 $(NORMAL_TARGET_EXPORTS) \
36710 (cd $(TARGET_SUBDIR)/libcilkrts && \
36711 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36712 $(TARGET-target-libcilkrts))
36713 @endif target-libcilkrts
36719 .PHONY: check-target-libcilkrts maybe-check-target-libcilkrts
36720 maybe-check-target-libcilkrts:
36721 @if target-libcilkrts
36722 maybe-check-target-libcilkrts: check-target-libcilkrts
36724 check-target-libcilkrts:
36725 @: $(MAKE); $(unstage)
36726 @r=`${PWD_COMMAND}`; export r; \
36727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36728 $(NORMAL_TARGET_EXPORTS) \
36729 (cd $(TARGET_SUBDIR)/libcilkrts && \
36730 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36732 @endif target-libcilkrts
36734 .PHONY: install-target-libcilkrts maybe-install-target-libcilkrts
36735 maybe-install-target-libcilkrts:
36736 @if target-libcilkrts
36737 maybe-install-target-libcilkrts: install-target-libcilkrts
36739 install-target-libcilkrts: installdirs
36740 @: $(MAKE); $(unstage)
36741 @r=`${PWD_COMMAND}`; export r; \
36742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36743 $(NORMAL_TARGET_EXPORTS) \
36744 (cd $(TARGET_SUBDIR)/libcilkrts && \
36745 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36747 @endif target-libcilkrts
36749 .PHONY: install-strip-target-libcilkrts maybe-install-strip-target-libcilkrts
36750 maybe-install-strip-target-libcilkrts:
36751 @if target-libcilkrts
36752 maybe-install-strip-target-libcilkrts: install-strip-target-libcilkrts
36754 install-strip-target-libcilkrts: installdirs
36755 @: $(MAKE); $(unstage)
36756 @r=`${PWD_COMMAND}`; export r; \
36757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36758 $(NORMAL_TARGET_EXPORTS) \
36759 (cd $(TARGET_SUBDIR)/libcilkrts && \
36760 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36762 @endif target-libcilkrts
36764 # Other targets (info, dvi, pdf, etc.)
36766 .PHONY: maybe-info-target-libcilkrts info-target-libcilkrts
36767 maybe-info-target-libcilkrts:
36768 @if target-libcilkrts
36769 maybe-info-target-libcilkrts: info-target-libcilkrts
36771 info-target-libcilkrts: \
36772 configure-target-libcilkrts
36773 @: $(MAKE); $(unstage)
36774 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
36775 r=`${PWD_COMMAND}`; export r; \
36776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36777 $(NORMAL_TARGET_EXPORTS) \
36778 echo "Doing info in $(TARGET_SUBDIR)/libcilkrts"; \
36779 for flag in $(EXTRA_TARGET_FLAGS); do \
36780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36781 done; \
36782 (cd $(TARGET_SUBDIR)/libcilkrts && \
36783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36785 "RANLIB=$${RANLIB}" \
36786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36787 info) \
36788 || exit 1
36790 @endif target-libcilkrts
36792 .PHONY: maybe-dvi-target-libcilkrts dvi-target-libcilkrts
36793 maybe-dvi-target-libcilkrts:
36794 @if target-libcilkrts
36795 maybe-dvi-target-libcilkrts: dvi-target-libcilkrts
36797 dvi-target-libcilkrts: \
36798 configure-target-libcilkrts
36799 @: $(MAKE); $(unstage)
36800 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
36801 r=`${PWD_COMMAND}`; export r; \
36802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36803 $(NORMAL_TARGET_EXPORTS) \
36804 echo "Doing dvi in $(TARGET_SUBDIR)/libcilkrts"; \
36805 for flag in $(EXTRA_TARGET_FLAGS); do \
36806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36807 done; \
36808 (cd $(TARGET_SUBDIR)/libcilkrts && \
36809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36811 "RANLIB=$${RANLIB}" \
36812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36813 dvi) \
36814 || exit 1
36816 @endif target-libcilkrts
36818 .PHONY: maybe-pdf-target-libcilkrts pdf-target-libcilkrts
36819 maybe-pdf-target-libcilkrts:
36820 @if target-libcilkrts
36821 maybe-pdf-target-libcilkrts: pdf-target-libcilkrts
36823 pdf-target-libcilkrts: \
36824 configure-target-libcilkrts
36825 @: $(MAKE); $(unstage)
36826 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
36827 r=`${PWD_COMMAND}`; export r; \
36828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36829 $(NORMAL_TARGET_EXPORTS) \
36830 echo "Doing pdf in $(TARGET_SUBDIR)/libcilkrts"; \
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)/libcilkrts && \
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 pdf) \
36840 || exit 1
36842 @endif target-libcilkrts
36844 .PHONY: maybe-html-target-libcilkrts html-target-libcilkrts
36845 maybe-html-target-libcilkrts:
36846 @if target-libcilkrts
36847 maybe-html-target-libcilkrts: html-target-libcilkrts
36849 html-target-libcilkrts: \
36850 configure-target-libcilkrts
36851 @: $(MAKE); $(unstage)
36852 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
36853 r=`${PWD_COMMAND}`; export r; \
36854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36855 $(NORMAL_TARGET_EXPORTS) \
36856 echo "Doing html in $(TARGET_SUBDIR)/libcilkrts"; \
36857 for flag in $(EXTRA_TARGET_FLAGS); do \
36858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36859 done; \
36860 (cd $(TARGET_SUBDIR)/libcilkrts && \
36861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36863 "RANLIB=$${RANLIB}" \
36864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36865 html) \
36866 || exit 1
36868 @endif target-libcilkrts
36870 .PHONY: maybe-TAGS-target-libcilkrts TAGS-target-libcilkrts
36871 maybe-TAGS-target-libcilkrts:
36872 @if target-libcilkrts
36873 maybe-TAGS-target-libcilkrts: TAGS-target-libcilkrts
36875 TAGS-target-libcilkrts: \
36876 configure-target-libcilkrts
36877 @: $(MAKE); $(unstage)
36878 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
36879 r=`${PWD_COMMAND}`; export r; \
36880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36881 $(NORMAL_TARGET_EXPORTS) \
36882 echo "Doing TAGS in $(TARGET_SUBDIR)/libcilkrts"; \
36883 for flag in $(EXTRA_TARGET_FLAGS); do \
36884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36885 done; \
36886 (cd $(TARGET_SUBDIR)/libcilkrts && \
36887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36889 "RANLIB=$${RANLIB}" \
36890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36891 TAGS) \
36892 || exit 1
36894 @endif target-libcilkrts
36896 .PHONY: maybe-install-info-target-libcilkrts install-info-target-libcilkrts
36897 maybe-install-info-target-libcilkrts:
36898 @if target-libcilkrts
36899 maybe-install-info-target-libcilkrts: install-info-target-libcilkrts
36901 install-info-target-libcilkrts: \
36902 configure-target-libcilkrts \
36903 info-target-libcilkrts
36904 @: $(MAKE); $(unstage)
36905 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
36906 r=`${PWD_COMMAND}`; export r; \
36907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36908 $(NORMAL_TARGET_EXPORTS) \
36909 echo "Doing install-info in $(TARGET_SUBDIR)/libcilkrts"; \
36910 for flag in $(EXTRA_TARGET_FLAGS); do \
36911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36912 done; \
36913 (cd $(TARGET_SUBDIR)/libcilkrts && \
36914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36916 "RANLIB=$${RANLIB}" \
36917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36918 install-info) \
36919 || exit 1
36921 @endif target-libcilkrts
36923 .PHONY: maybe-install-pdf-target-libcilkrts install-pdf-target-libcilkrts
36924 maybe-install-pdf-target-libcilkrts:
36925 @if target-libcilkrts
36926 maybe-install-pdf-target-libcilkrts: install-pdf-target-libcilkrts
36928 install-pdf-target-libcilkrts: \
36929 configure-target-libcilkrts \
36930 pdf-target-libcilkrts
36931 @: $(MAKE); $(unstage)
36932 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
36933 r=`${PWD_COMMAND}`; export r; \
36934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36935 $(NORMAL_TARGET_EXPORTS) \
36936 echo "Doing install-pdf in $(TARGET_SUBDIR)/libcilkrts"; \
36937 for flag in $(EXTRA_TARGET_FLAGS); do \
36938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36939 done; \
36940 (cd $(TARGET_SUBDIR)/libcilkrts && \
36941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36943 "RANLIB=$${RANLIB}" \
36944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36945 install-pdf) \
36946 || exit 1
36948 @endif target-libcilkrts
36950 .PHONY: maybe-install-html-target-libcilkrts install-html-target-libcilkrts
36951 maybe-install-html-target-libcilkrts:
36952 @if target-libcilkrts
36953 maybe-install-html-target-libcilkrts: install-html-target-libcilkrts
36955 install-html-target-libcilkrts: \
36956 configure-target-libcilkrts \
36957 html-target-libcilkrts
36958 @: $(MAKE); $(unstage)
36959 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
36960 r=`${PWD_COMMAND}`; export r; \
36961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36962 $(NORMAL_TARGET_EXPORTS) \
36963 echo "Doing install-html in $(TARGET_SUBDIR)/libcilkrts"; \
36964 for flag in $(EXTRA_TARGET_FLAGS); do \
36965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36966 done; \
36967 (cd $(TARGET_SUBDIR)/libcilkrts && \
36968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36970 "RANLIB=$${RANLIB}" \
36971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36972 install-html) \
36973 || exit 1
36975 @endif target-libcilkrts
36977 .PHONY: maybe-installcheck-target-libcilkrts installcheck-target-libcilkrts
36978 maybe-installcheck-target-libcilkrts:
36979 @if target-libcilkrts
36980 maybe-installcheck-target-libcilkrts: installcheck-target-libcilkrts
36982 installcheck-target-libcilkrts: \
36983 configure-target-libcilkrts
36984 @: $(MAKE); $(unstage)
36985 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
36986 r=`${PWD_COMMAND}`; export r; \
36987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36988 $(NORMAL_TARGET_EXPORTS) \
36989 echo "Doing installcheck in $(TARGET_SUBDIR)/libcilkrts"; \
36990 for flag in $(EXTRA_TARGET_FLAGS); do \
36991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36992 done; \
36993 (cd $(TARGET_SUBDIR)/libcilkrts && \
36994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36996 "RANLIB=$${RANLIB}" \
36997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36998 installcheck) \
36999 || exit 1
37001 @endif target-libcilkrts
37003 .PHONY: maybe-mostlyclean-target-libcilkrts mostlyclean-target-libcilkrts
37004 maybe-mostlyclean-target-libcilkrts:
37005 @if target-libcilkrts
37006 maybe-mostlyclean-target-libcilkrts: mostlyclean-target-libcilkrts
37008 mostlyclean-target-libcilkrts:
37009 @: $(MAKE); $(unstage)
37010 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
37011 r=`${PWD_COMMAND}`; export r; \
37012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37013 $(NORMAL_TARGET_EXPORTS) \
37014 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libcilkrts"; \
37015 for flag in $(EXTRA_TARGET_FLAGS); do \
37016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37017 done; \
37018 (cd $(TARGET_SUBDIR)/libcilkrts && \
37019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37021 "RANLIB=$${RANLIB}" \
37022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37023 mostlyclean) \
37024 || exit 1
37026 @endif target-libcilkrts
37028 .PHONY: maybe-clean-target-libcilkrts clean-target-libcilkrts
37029 maybe-clean-target-libcilkrts:
37030 @if target-libcilkrts
37031 maybe-clean-target-libcilkrts: clean-target-libcilkrts
37033 clean-target-libcilkrts:
37034 @: $(MAKE); $(unstage)
37035 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
37036 r=`${PWD_COMMAND}`; export r; \
37037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37038 $(NORMAL_TARGET_EXPORTS) \
37039 echo "Doing clean in $(TARGET_SUBDIR)/libcilkrts"; \
37040 for flag in $(EXTRA_TARGET_FLAGS); do \
37041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37042 done; \
37043 (cd $(TARGET_SUBDIR)/libcilkrts && \
37044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37046 "RANLIB=$${RANLIB}" \
37047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37048 clean) \
37049 || exit 1
37051 @endif target-libcilkrts
37053 .PHONY: maybe-distclean-target-libcilkrts distclean-target-libcilkrts
37054 maybe-distclean-target-libcilkrts:
37055 @if target-libcilkrts
37056 maybe-distclean-target-libcilkrts: distclean-target-libcilkrts
37058 distclean-target-libcilkrts:
37059 @: $(MAKE); $(unstage)
37060 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
37061 r=`${PWD_COMMAND}`; export r; \
37062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37063 $(NORMAL_TARGET_EXPORTS) \
37064 echo "Doing distclean in $(TARGET_SUBDIR)/libcilkrts"; \
37065 for flag in $(EXTRA_TARGET_FLAGS); do \
37066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37067 done; \
37068 (cd $(TARGET_SUBDIR)/libcilkrts && \
37069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37071 "RANLIB=$${RANLIB}" \
37072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37073 distclean) \
37074 || exit 1
37076 @endif target-libcilkrts
37078 .PHONY: maybe-maintainer-clean-target-libcilkrts maintainer-clean-target-libcilkrts
37079 maybe-maintainer-clean-target-libcilkrts:
37080 @if target-libcilkrts
37081 maybe-maintainer-clean-target-libcilkrts: maintainer-clean-target-libcilkrts
37083 maintainer-clean-target-libcilkrts:
37084 @: $(MAKE); $(unstage)
37085 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
37086 r=`${PWD_COMMAND}`; export r; \
37087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37088 $(NORMAL_TARGET_EXPORTS) \
37089 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libcilkrts"; \
37090 for flag in $(EXTRA_TARGET_FLAGS); do \
37091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37092 done; \
37093 (cd $(TARGET_SUBDIR)/libcilkrts && \
37094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37096 "RANLIB=$${RANLIB}" \
37097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37098 maintainer-clean) \
37099 || exit 1
37101 @endif target-libcilkrts
37107 .PHONY: configure-target-liboffloadmic maybe-configure-target-liboffloadmic
37108 maybe-configure-target-liboffloadmic:
37109 @if gcc-bootstrap
37110 configure-target-liboffloadmic: stage_current
37111 @endif gcc-bootstrap
37112 @if target-liboffloadmic
37113 maybe-configure-target-liboffloadmic: configure-target-liboffloadmic
37114 configure-target-liboffloadmic:
37115 @: $(MAKE); $(unstage)
37116 @r=`${PWD_COMMAND}`; export r; \
37117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37118 echo "Checking multilib configuration for liboffloadmic..."; \
37119 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/liboffloadmic; \
37120 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp 2> /dev/null; \
37121 if test -r $(TARGET_SUBDIR)/liboffloadmic/multilib.out; then \
37122 if cmp -s $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; then \
37123 rm -f $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp; \
37124 else \
37125 rm -f $(TARGET_SUBDIR)/liboffloadmic/Makefile; \
37126 mv $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; \
37127 fi; \
37128 else \
37129 mv $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; \
37130 fi; \
37131 test ! -f $(TARGET_SUBDIR)/liboffloadmic/Makefile || exit 0; \
37132 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/liboffloadmic; \
37133 $(NORMAL_TARGET_EXPORTS) \
37134 echo Configuring in $(TARGET_SUBDIR)/liboffloadmic; \
37135 cd "$(TARGET_SUBDIR)/liboffloadmic" || exit 1; \
37136 case $(srcdir) in \
37137 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37138 *) topdir=`echo $(TARGET_SUBDIR)/liboffloadmic/ | \
37139 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37140 esac; \
37141 module_srcdir=liboffloadmic; \
37142 rm -f no-such-file || : ; \
37143 CONFIG_SITE=no-such-file $(SHELL) \
37144 $$s/$$module_srcdir/configure \
37145 --srcdir=$${topdir}/$$module_srcdir \
37146 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37147 --target=${target_alias} @extra_liboffloadmic_configure_flags@ \
37148 || exit 1
37149 @endif target-liboffloadmic
37155 .PHONY: all-target-liboffloadmic maybe-all-target-liboffloadmic
37156 maybe-all-target-liboffloadmic:
37157 @if gcc-bootstrap
37158 all-target-liboffloadmic: stage_current
37159 @endif gcc-bootstrap
37160 @if target-liboffloadmic
37161 TARGET-target-liboffloadmic=all
37162 maybe-all-target-liboffloadmic: all-target-liboffloadmic
37163 all-target-liboffloadmic: configure-target-liboffloadmic
37164 @: $(MAKE); $(unstage)
37165 @r=`${PWD_COMMAND}`; export r; \
37166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37167 $(NORMAL_TARGET_EXPORTS) \
37168 (cd $(TARGET_SUBDIR)/liboffloadmic && \
37169 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37170 $(TARGET-target-liboffloadmic))
37171 @endif target-liboffloadmic
37177 .PHONY: check-target-liboffloadmic maybe-check-target-liboffloadmic
37178 maybe-check-target-liboffloadmic:
37179 @if target-liboffloadmic
37180 maybe-check-target-liboffloadmic: check-target-liboffloadmic
37182 check-target-liboffloadmic:
37183 @: $(MAKE); $(unstage)
37184 @r=`${PWD_COMMAND}`; export r; \
37185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37186 $(NORMAL_TARGET_EXPORTS) \
37187 (cd $(TARGET_SUBDIR)/liboffloadmic && \
37188 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37190 @endif target-liboffloadmic
37192 .PHONY: install-target-liboffloadmic maybe-install-target-liboffloadmic
37193 maybe-install-target-liboffloadmic:
37194 @if target-liboffloadmic
37195 maybe-install-target-liboffloadmic: install-target-liboffloadmic
37197 install-target-liboffloadmic: installdirs
37198 @: $(MAKE); $(unstage)
37199 @r=`${PWD_COMMAND}`; export r; \
37200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37201 $(NORMAL_TARGET_EXPORTS) \
37202 (cd $(TARGET_SUBDIR)/liboffloadmic && \
37203 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37205 @endif target-liboffloadmic
37207 .PHONY: install-strip-target-liboffloadmic maybe-install-strip-target-liboffloadmic
37208 maybe-install-strip-target-liboffloadmic:
37209 @if target-liboffloadmic
37210 maybe-install-strip-target-liboffloadmic: install-strip-target-liboffloadmic
37212 install-strip-target-liboffloadmic: installdirs
37213 @: $(MAKE); $(unstage)
37214 @r=`${PWD_COMMAND}`; export r; \
37215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37216 $(NORMAL_TARGET_EXPORTS) \
37217 (cd $(TARGET_SUBDIR)/liboffloadmic && \
37218 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37220 @endif target-liboffloadmic
37222 # Other targets (info, dvi, pdf, etc.)
37224 .PHONY: maybe-info-target-liboffloadmic info-target-liboffloadmic
37225 maybe-info-target-liboffloadmic:
37226 @if target-liboffloadmic
37227 maybe-info-target-liboffloadmic: info-target-liboffloadmic
37229 info-target-liboffloadmic: \
37230 configure-target-liboffloadmic
37231 @: $(MAKE); $(unstage)
37232 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
37233 r=`${PWD_COMMAND}`; export r; \
37234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37235 $(NORMAL_TARGET_EXPORTS) \
37236 echo "Doing info in $(TARGET_SUBDIR)/liboffloadmic"; \
37237 for flag in $(EXTRA_TARGET_FLAGS); do \
37238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37239 done; \
37240 (cd $(TARGET_SUBDIR)/liboffloadmic && \
37241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37243 "RANLIB=$${RANLIB}" \
37244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37245 info) \
37246 || exit 1
37248 @endif target-liboffloadmic
37250 .PHONY: maybe-dvi-target-liboffloadmic dvi-target-liboffloadmic
37251 maybe-dvi-target-liboffloadmic:
37252 @if target-liboffloadmic
37253 maybe-dvi-target-liboffloadmic: dvi-target-liboffloadmic
37255 dvi-target-liboffloadmic: \
37256 configure-target-liboffloadmic
37257 @: $(MAKE); $(unstage)
37258 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
37259 r=`${PWD_COMMAND}`; export r; \
37260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37261 $(NORMAL_TARGET_EXPORTS) \
37262 echo "Doing dvi in $(TARGET_SUBDIR)/liboffloadmic"; \
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)/liboffloadmic && \
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 dvi) \
37272 || exit 1
37274 @endif target-liboffloadmic
37276 .PHONY: maybe-pdf-target-liboffloadmic pdf-target-liboffloadmic
37277 maybe-pdf-target-liboffloadmic:
37278 @if target-liboffloadmic
37279 maybe-pdf-target-liboffloadmic: pdf-target-liboffloadmic
37281 pdf-target-liboffloadmic: \
37282 configure-target-liboffloadmic
37283 @: $(MAKE); $(unstage)
37284 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
37285 r=`${PWD_COMMAND}`; export r; \
37286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37287 $(NORMAL_TARGET_EXPORTS) \
37288 echo "Doing pdf in $(TARGET_SUBDIR)/liboffloadmic"; \
37289 for flag in $(EXTRA_TARGET_FLAGS); do \
37290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37291 done; \
37292 (cd $(TARGET_SUBDIR)/liboffloadmic && \
37293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37295 "RANLIB=$${RANLIB}" \
37296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37297 pdf) \
37298 || exit 1
37300 @endif target-liboffloadmic
37302 .PHONY: maybe-html-target-liboffloadmic html-target-liboffloadmic
37303 maybe-html-target-liboffloadmic:
37304 @if target-liboffloadmic
37305 maybe-html-target-liboffloadmic: html-target-liboffloadmic
37307 html-target-liboffloadmic: \
37308 configure-target-liboffloadmic
37309 @: $(MAKE); $(unstage)
37310 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
37311 r=`${PWD_COMMAND}`; export r; \
37312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37313 $(NORMAL_TARGET_EXPORTS) \
37314 echo "Doing html in $(TARGET_SUBDIR)/liboffloadmic"; \
37315 for flag in $(EXTRA_TARGET_FLAGS); do \
37316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37317 done; \
37318 (cd $(TARGET_SUBDIR)/liboffloadmic && \
37319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37321 "RANLIB=$${RANLIB}" \
37322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37323 html) \
37324 || exit 1
37326 @endif target-liboffloadmic
37328 .PHONY: maybe-TAGS-target-liboffloadmic TAGS-target-liboffloadmic
37329 maybe-TAGS-target-liboffloadmic:
37330 @if target-liboffloadmic
37331 maybe-TAGS-target-liboffloadmic: TAGS-target-liboffloadmic
37333 TAGS-target-liboffloadmic: \
37334 configure-target-liboffloadmic
37335 @: $(MAKE); $(unstage)
37336 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
37337 r=`${PWD_COMMAND}`; export r; \
37338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37339 $(NORMAL_TARGET_EXPORTS) \
37340 echo "Doing TAGS in $(TARGET_SUBDIR)/liboffloadmic"; \
37341 for flag in $(EXTRA_TARGET_FLAGS); do \
37342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37343 done; \
37344 (cd $(TARGET_SUBDIR)/liboffloadmic && \
37345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37347 "RANLIB=$${RANLIB}" \
37348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37349 TAGS) \
37350 || exit 1
37352 @endif target-liboffloadmic
37354 .PHONY: maybe-install-info-target-liboffloadmic install-info-target-liboffloadmic
37355 maybe-install-info-target-liboffloadmic:
37356 @if target-liboffloadmic
37357 maybe-install-info-target-liboffloadmic: install-info-target-liboffloadmic
37359 install-info-target-liboffloadmic: \
37360 configure-target-liboffloadmic \
37361 info-target-liboffloadmic
37362 @: $(MAKE); $(unstage)
37363 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
37364 r=`${PWD_COMMAND}`; export r; \
37365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37366 $(NORMAL_TARGET_EXPORTS) \
37367 echo "Doing install-info in $(TARGET_SUBDIR)/liboffloadmic"; \
37368 for flag in $(EXTRA_TARGET_FLAGS); do \
37369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37370 done; \
37371 (cd $(TARGET_SUBDIR)/liboffloadmic && \
37372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37374 "RANLIB=$${RANLIB}" \
37375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37376 install-info) \
37377 || exit 1
37379 @endif target-liboffloadmic
37381 .PHONY: maybe-install-pdf-target-liboffloadmic install-pdf-target-liboffloadmic
37382 maybe-install-pdf-target-liboffloadmic:
37383 @if target-liboffloadmic
37384 maybe-install-pdf-target-liboffloadmic: install-pdf-target-liboffloadmic
37386 install-pdf-target-liboffloadmic: \
37387 configure-target-liboffloadmic \
37388 pdf-target-liboffloadmic
37389 @: $(MAKE); $(unstage)
37390 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
37391 r=`${PWD_COMMAND}`; export r; \
37392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37393 $(NORMAL_TARGET_EXPORTS) \
37394 echo "Doing install-pdf in $(TARGET_SUBDIR)/liboffloadmic"; \
37395 for flag in $(EXTRA_TARGET_FLAGS); do \
37396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37397 done; \
37398 (cd $(TARGET_SUBDIR)/liboffloadmic && \
37399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37401 "RANLIB=$${RANLIB}" \
37402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37403 install-pdf) \
37404 || exit 1
37406 @endif target-liboffloadmic
37408 .PHONY: maybe-install-html-target-liboffloadmic install-html-target-liboffloadmic
37409 maybe-install-html-target-liboffloadmic:
37410 @if target-liboffloadmic
37411 maybe-install-html-target-liboffloadmic: install-html-target-liboffloadmic
37413 install-html-target-liboffloadmic: \
37414 configure-target-liboffloadmic \
37415 html-target-liboffloadmic
37416 @: $(MAKE); $(unstage)
37417 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
37418 r=`${PWD_COMMAND}`; export r; \
37419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37420 $(NORMAL_TARGET_EXPORTS) \
37421 echo "Doing install-html in $(TARGET_SUBDIR)/liboffloadmic"; \
37422 for flag in $(EXTRA_TARGET_FLAGS); do \
37423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37424 done; \
37425 (cd $(TARGET_SUBDIR)/liboffloadmic && \
37426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37428 "RANLIB=$${RANLIB}" \
37429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37430 install-html) \
37431 || exit 1
37433 @endif target-liboffloadmic
37435 .PHONY: maybe-installcheck-target-liboffloadmic installcheck-target-liboffloadmic
37436 maybe-installcheck-target-liboffloadmic:
37437 @if target-liboffloadmic
37438 maybe-installcheck-target-liboffloadmic: installcheck-target-liboffloadmic
37440 installcheck-target-liboffloadmic: \
37441 configure-target-liboffloadmic
37442 @: $(MAKE); $(unstage)
37443 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
37444 r=`${PWD_COMMAND}`; export r; \
37445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37446 $(NORMAL_TARGET_EXPORTS) \
37447 echo "Doing installcheck in $(TARGET_SUBDIR)/liboffloadmic"; \
37448 for flag in $(EXTRA_TARGET_FLAGS); do \
37449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37450 done; \
37451 (cd $(TARGET_SUBDIR)/liboffloadmic && \
37452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37454 "RANLIB=$${RANLIB}" \
37455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37456 installcheck) \
37457 || exit 1
37459 @endif target-liboffloadmic
37461 .PHONY: maybe-mostlyclean-target-liboffloadmic mostlyclean-target-liboffloadmic
37462 maybe-mostlyclean-target-liboffloadmic:
37463 @if target-liboffloadmic
37464 maybe-mostlyclean-target-liboffloadmic: mostlyclean-target-liboffloadmic
37466 mostlyclean-target-liboffloadmic:
37467 @: $(MAKE); $(unstage)
37468 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
37469 r=`${PWD_COMMAND}`; export r; \
37470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37471 $(NORMAL_TARGET_EXPORTS) \
37472 echo "Doing mostlyclean in $(TARGET_SUBDIR)/liboffloadmic"; \
37473 for flag in $(EXTRA_TARGET_FLAGS); do \
37474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37475 done; \
37476 (cd $(TARGET_SUBDIR)/liboffloadmic && \
37477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37479 "RANLIB=$${RANLIB}" \
37480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37481 mostlyclean) \
37482 || exit 1
37484 @endif target-liboffloadmic
37486 .PHONY: maybe-clean-target-liboffloadmic clean-target-liboffloadmic
37487 maybe-clean-target-liboffloadmic:
37488 @if target-liboffloadmic
37489 maybe-clean-target-liboffloadmic: clean-target-liboffloadmic
37491 clean-target-liboffloadmic:
37492 @: $(MAKE); $(unstage)
37493 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
37494 r=`${PWD_COMMAND}`; export r; \
37495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37496 $(NORMAL_TARGET_EXPORTS) \
37497 echo "Doing clean in $(TARGET_SUBDIR)/liboffloadmic"; \
37498 for flag in $(EXTRA_TARGET_FLAGS); do \
37499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37500 done; \
37501 (cd $(TARGET_SUBDIR)/liboffloadmic && \
37502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37504 "RANLIB=$${RANLIB}" \
37505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37506 clean) \
37507 || exit 1
37509 @endif target-liboffloadmic
37511 .PHONY: maybe-distclean-target-liboffloadmic distclean-target-liboffloadmic
37512 maybe-distclean-target-liboffloadmic:
37513 @if target-liboffloadmic
37514 maybe-distclean-target-liboffloadmic: distclean-target-liboffloadmic
37516 distclean-target-liboffloadmic:
37517 @: $(MAKE); $(unstage)
37518 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
37519 r=`${PWD_COMMAND}`; export r; \
37520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37521 $(NORMAL_TARGET_EXPORTS) \
37522 echo "Doing distclean in $(TARGET_SUBDIR)/liboffloadmic"; \
37523 for flag in $(EXTRA_TARGET_FLAGS); do \
37524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37525 done; \
37526 (cd $(TARGET_SUBDIR)/liboffloadmic && \
37527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37529 "RANLIB=$${RANLIB}" \
37530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37531 distclean) \
37532 || exit 1
37534 @endif target-liboffloadmic
37536 .PHONY: maybe-maintainer-clean-target-liboffloadmic maintainer-clean-target-liboffloadmic
37537 maybe-maintainer-clean-target-liboffloadmic:
37538 @if target-liboffloadmic
37539 maybe-maintainer-clean-target-liboffloadmic: maintainer-clean-target-liboffloadmic
37541 maintainer-clean-target-liboffloadmic:
37542 @: $(MAKE); $(unstage)
37543 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
37544 r=`${PWD_COMMAND}`; export r; \
37545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37546 $(NORMAL_TARGET_EXPORTS) \
37547 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/liboffloadmic"; \
37548 for flag in $(EXTRA_TARGET_FLAGS); do \
37549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37550 done; \
37551 (cd $(TARGET_SUBDIR)/liboffloadmic && \
37552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37554 "RANLIB=$${RANLIB}" \
37555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37556 maintainer-clean) \
37557 || exit 1
37559 @endif target-liboffloadmic
37565 .PHONY: configure-target-libssp maybe-configure-target-libssp
37566 maybe-configure-target-libssp:
37567 @if gcc-bootstrap
37568 configure-target-libssp: stage_current
37569 @endif gcc-bootstrap
37570 @if target-libssp
37571 maybe-configure-target-libssp: configure-target-libssp
37572 configure-target-libssp:
37573 @: $(MAKE); $(unstage)
37574 @r=`${PWD_COMMAND}`; export r; \
37575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37576 echo "Checking multilib configuration for libssp..."; \
37577 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp; \
37578 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null; \
37579 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
37580 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
37581 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
37582 else \
37583 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
37584 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
37585 fi; \
37586 else \
37587 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
37588 fi; \
37589 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
37590 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp; \
37591 $(NORMAL_TARGET_EXPORTS) \
37592 echo Configuring in $(TARGET_SUBDIR)/libssp; \
37593 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
37594 case $(srcdir) in \
37595 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37596 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
37597 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37598 esac; \
37599 module_srcdir=libssp; \
37600 rm -f no-such-file || : ; \
37601 CONFIG_SITE=no-such-file $(SHELL) \
37602 $$s/$$module_srcdir/configure \
37603 --srcdir=$${topdir}/$$module_srcdir \
37604 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37605 --target=${target_alias} \
37606 || exit 1
37607 @endif target-libssp
37613 .PHONY: all-target-libssp maybe-all-target-libssp
37614 maybe-all-target-libssp:
37615 @if gcc-bootstrap
37616 all-target-libssp: stage_current
37617 @endif gcc-bootstrap
37618 @if target-libssp
37619 TARGET-target-libssp=all
37620 maybe-all-target-libssp: all-target-libssp
37621 all-target-libssp: configure-target-libssp
37622 @: $(MAKE); $(unstage)
37623 @r=`${PWD_COMMAND}`; export r; \
37624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37625 $(NORMAL_TARGET_EXPORTS) \
37626 (cd $(TARGET_SUBDIR)/libssp && \
37627 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37628 $(TARGET-target-libssp))
37629 @endif target-libssp
37635 .PHONY: check-target-libssp maybe-check-target-libssp
37636 maybe-check-target-libssp:
37637 @if target-libssp
37638 maybe-check-target-libssp: check-target-libssp
37640 check-target-libssp:
37641 @: $(MAKE); $(unstage)
37642 @r=`${PWD_COMMAND}`; export r; \
37643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37644 $(NORMAL_TARGET_EXPORTS) \
37645 (cd $(TARGET_SUBDIR)/libssp && \
37646 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37648 @endif target-libssp
37650 .PHONY: install-target-libssp maybe-install-target-libssp
37651 maybe-install-target-libssp:
37652 @if target-libssp
37653 maybe-install-target-libssp: install-target-libssp
37655 install-target-libssp: installdirs
37656 @: $(MAKE); $(unstage)
37657 @r=`${PWD_COMMAND}`; export r; \
37658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37659 $(NORMAL_TARGET_EXPORTS) \
37660 (cd $(TARGET_SUBDIR)/libssp && \
37661 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37663 @endif target-libssp
37665 .PHONY: install-strip-target-libssp maybe-install-strip-target-libssp
37666 maybe-install-strip-target-libssp:
37667 @if target-libssp
37668 maybe-install-strip-target-libssp: install-strip-target-libssp
37670 install-strip-target-libssp: installdirs
37671 @: $(MAKE); $(unstage)
37672 @r=`${PWD_COMMAND}`; export r; \
37673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37674 $(NORMAL_TARGET_EXPORTS) \
37675 (cd $(TARGET_SUBDIR)/libssp && \
37676 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37678 @endif target-libssp
37680 # Other targets (info, dvi, pdf, etc.)
37682 .PHONY: maybe-info-target-libssp info-target-libssp
37683 maybe-info-target-libssp:
37684 @if target-libssp
37685 maybe-info-target-libssp: info-target-libssp
37687 info-target-libssp: \
37688 configure-target-libssp
37689 @: $(MAKE); $(unstage)
37690 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
37691 r=`${PWD_COMMAND}`; export r; \
37692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37693 $(NORMAL_TARGET_EXPORTS) \
37694 echo "Doing info in $(TARGET_SUBDIR)/libssp"; \
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)/libssp && \
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 info) \
37704 || exit 1
37706 @endif target-libssp
37708 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
37709 maybe-dvi-target-libssp:
37710 @if target-libssp
37711 maybe-dvi-target-libssp: dvi-target-libssp
37713 dvi-target-libssp: \
37714 configure-target-libssp
37715 @: $(MAKE); $(unstage)
37716 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
37717 r=`${PWD_COMMAND}`; export r; \
37718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37719 $(NORMAL_TARGET_EXPORTS) \
37720 echo "Doing dvi in $(TARGET_SUBDIR)/libssp"; \
37721 for flag in $(EXTRA_TARGET_FLAGS); do \
37722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37723 done; \
37724 (cd $(TARGET_SUBDIR)/libssp && \
37725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37727 "RANLIB=$${RANLIB}" \
37728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37729 dvi) \
37730 || exit 1
37732 @endif target-libssp
37734 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
37735 maybe-pdf-target-libssp:
37736 @if target-libssp
37737 maybe-pdf-target-libssp: pdf-target-libssp
37739 pdf-target-libssp: \
37740 configure-target-libssp
37741 @: $(MAKE); $(unstage)
37742 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
37743 r=`${PWD_COMMAND}`; export r; \
37744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37745 $(NORMAL_TARGET_EXPORTS) \
37746 echo "Doing pdf in $(TARGET_SUBDIR)/libssp"; \
37747 for flag in $(EXTRA_TARGET_FLAGS); do \
37748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37749 done; \
37750 (cd $(TARGET_SUBDIR)/libssp && \
37751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37753 "RANLIB=$${RANLIB}" \
37754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37755 pdf) \
37756 || exit 1
37758 @endif target-libssp
37760 .PHONY: maybe-html-target-libssp html-target-libssp
37761 maybe-html-target-libssp:
37762 @if target-libssp
37763 maybe-html-target-libssp: html-target-libssp
37765 html-target-libssp: \
37766 configure-target-libssp
37767 @: $(MAKE); $(unstage)
37768 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
37769 r=`${PWD_COMMAND}`; export r; \
37770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37771 $(NORMAL_TARGET_EXPORTS) \
37772 echo "Doing html in $(TARGET_SUBDIR)/libssp"; \
37773 for flag in $(EXTRA_TARGET_FLAGS); do \
37774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37775 done; \
37776 (cd $(TARGET_SUBDIR)/libssp && \
37777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37779 "RANLIB=$${RANLIB}" \
37780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37781 html) \
37782 || exit 1
37784 @endif target-libssp
37786 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
37787 maybe-TAGS-target-libssp:
37788 @if target-libssp
37789 maybe-TAGS-target-libssp: TAGS-target-libssp
37791 TAGS-target-libssp: \
37792 configure-target-libssp
37793 @: $(MAKE); $(unstage)
37794 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
37795 r=`${PWD_COMMAND}`; export r; \
37796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37797 $(NORMAL_TARGET_EXPORTS) \
37798 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp"; \
37799 for flag in $(EXTRA_TARGET_FLAGS); do \
37800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37801 done; \
37802 (cd $(TARGET_SUBDIR)/libssp && \
37803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37805 "RANLIB=$${RANLIB}" \
37806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37807 TAGS) \
37808 || exit 1
37810 @endif target-libssp
37812 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
37813 maybe-install-info-target-libssp:
37814 @if target-libssp
37815 maybe-install-info-target-libssp: install-info-target-libssp
37817 install-info-target-libssp: \
37818 configure-target-libssp \
37819 info-target-libssp
37820 @: $(MAKE); $(unstage)
37821 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
37822 r=`${PWD_COMMAND}`; export r; \
37823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37824 $(NORMAL_TARGET_EXPORTS) \
37825 echo "Doing install-info in $(TARGET_SUBDIR)/libssp"; \
37826 for flag in $(EXTRA_TARGET_FLAGS); do \
37827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37828 done; \
37829 (cd $(TARGET_SUBDIR)/libssp && \
37830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37832 "RANLIB=$${RANLIB}" \
37833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37834 install-info) \
37835 || exit 1
37837 @endif target-libssp
37839 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
37840 maybe-install-pdf-target-libssp:
37841 @if target-libssp
37842 maybe-install-pdf-target-libssp: install-pdf-target-libssp
37844 install-pdf-target-libssp: \
37845 configure-target-libssp \
37846 pdf-target-libssp
37847 @: $(MAKE); $(unstage)
37848 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
37849 r=`${PWD_COMMAND}`; export r; \
37850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37851 $(NORMAL_TARGET_EXPORTS) \
37852 echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp"; \
37853 for flag in $(EXTRA_TARGET_FLAGS); do \
37854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37855 done; \
37856 (cd $(TARGET_SUBDIR)/libssp && \
37857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37859 "RANLIB=$${RANLIB}" \
37860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37861 install-pdf) \
37862 || exit 1
37864 @endif target-libssp
37866 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
37867 maybe-install-html-target-libssp:
37868 @if target-libssp
37869 maybe-install-html-target-libssp: install-html-target-libssp
37871 install-html-target-libssp: \
37872 configure-target-libssp \
37873 html-target-libssp
37874 @: $(MAKE); $(unstage)
37875 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
37876 r=`${PWD_COMMAND}`; export r; \
37877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37878 $(NORMAL_TARGET_EXPORTS) \
37879 echo "Doing install-html in $(TARGET_SUBDIR)/libssp"; \
37880 for flag in $(EXTRA_TARGET_FLAGS); do \
37881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37882 done; \
37883 (cd $(TARGET_SUBDIR)/libssp && \
37884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37886 "RANLIB=$${RANLIB}" \
37887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37888 install-html) \
37889 || exit 1
37891 @endif target-libssp
37893 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
37894 maybe-installcheck-target-libssp:
37895 @if target-libssp
37896 maybe-installcheck-target-libssp: installcheck-target-libssp
37898 installcheck-target-libssp: \
37899 configure-target-libssp
37900 @: $(MAKE); $(unstage)
37901 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
37902 r=`${PWD_COMMAND}`; export r; \
37903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37904 $(NORMAL_TARGET_EXPORTS) \
37905 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp"; \
37906 for flag in $(EXTRA_TARGET_FLAGS); do \
37907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37908 done; \
37909 (cd $(TARGET_SUBDIR)/libssp && \
37910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37912 "RANLIB=$${RANLIB}" \
37913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37914 installcheck) \
37915 || exit 1
37917 @endif target-libssp
37919 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
37920 maybe-mostlyclean-target-libssp:
37921 @if target-libssp
37922 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
37924 mostlyclean-target-libssp:
37925 @: $(MAKE); $(unstage)
37926 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
37927 r=`${PWD_COMMAND}`; export r; \
37928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37929 $(NORMAL_TARGET_EXPORTS) \
37930 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp"; \
37931 for flag in $(EXTRA_TARGET_FLAGS); do \
37932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37933 done; \
37934 (cd $(TARGET_SUBDIR)/libssp && \
37935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37937 "RANLIB=$${RANLIB}" \
37938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37939 mostlyclean) \
37940 || exit 1
37942 @endif target-libssp
37944 .PHONY: maybe-clean-target-libssp clean-target-libssp
37945 maybe-clean-target-libssp:
37946 @if target-libssp
37947 maybe-clean-target-libssp: clean-target-libssp
37949 clean-target-libssp:
37950 @: $(MAKE); $(unstage)
37951 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
37952 r=`${PWD_COMMAND}`; export r; \
37953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37954 $(NORMAL_TARGET_EXPORTS) \
37955 echo "Doing clean in $(TARGET_SUBDIR)/libssp"; \
37956 for flag in $(EXTRA_TARGET_FLAGS); do \
37957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37958 done; \
37959 (cd $(TARGET_SUBDIR)/libssp && \
37960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37962 "RANLIB=$${RANLIB}" \
37963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37964 clean) \
37965 || exit 1
37967 @endif target-libssp
37969 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
37970 maybe-distclean-target-libssp:
37971 @if target-libssp
37972 maybe-distclean-target-libssp: distclean-target-libssp
37974 distclean-target-libssp:
37975 @: $(MAKE); $(unstage)
37976 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
37977 r=`${PWD_COMMAND}`; export r; \
37978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37979 $(NORMAL_TARGET_EXPORTS) \
37980 echo "Doing distclean in $(TARGET_SUBDIR)/libssp"; \
37981 for flag in $(EXTRA_TARGET_FLAGS); do \
37982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37983 done; \
37984 (cd $(TARGET_SUBDIR)/libssp && \
37985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37987 "RANLIB=$${RANLIB}" \
37988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37989 distclean) \
37990 || exit 1
37992 @endif target-libssp
37994 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
37995 maybe-maintainer-clean-target-libssp:
37996 @if target-libssp
37997 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
37999 maintainer-clean-target-libssp:
38000 @: $(MAKE); $(unstage)
38001 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
38002 r=`${PWD_COMMAND}`; export r; \
38003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38004 $(NORMAL_TARGET_EXPORTS) \
38005 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp"; \
38006 for flag in $(EXTRA_TARGET_FLAGS); do \
38007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38008 done; \
38009 (cd $(TARGET_SUBDIR)/libssp && \
38010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38012 "RANLIB=$${RANLIB}" \
38013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38014 maintainer-clean) \
38015 || exit 1
38017 @endif target-libssp
38023 .PHONY: configure-target-newlib maybe-configure-target-newlib
38024 maybe-configure-target-newlib:
38025 @if gcc-bootstrap
38026 configure-target-newlib: stage_current
38027 @endif gcc-bootstrap
38028 @if target-newlib
38029 maybe-configure-target-newlib: configure-target-newlib
38030 configure-target-newlib:
38031 @: $(MAKE); $(unstage)
38032 @r=`${PWD_COMMAND}`; export r; \
38033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38034 echo "Checking multilib configuration for newlib..."; \
38035 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib; \
38036 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null; \
38037 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
38038 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
38039 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
38040 else \
38041 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
38042 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
38043 fi; \
38044 else \
38045 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
38046 fi; \
38047 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
38048 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib; \
38049 $(NORMAL_TARGET_EXPORTS) \
38050 echo Configuring in $(TARGET_SUBDIR)/newlib; \
38051 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
38052 case $(srcdir) in \
38053 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38054 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
38055 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38056 esac; \
38057 module_srcdir=newlib; \
38058 rm -f no-such-file || : ; \
38059 CONFIG_SITE=no-such-file $(SHELL) \
38060 $$s/$$module_srcdir/configure \
38061 --srcdir=$${topdir}/$$module_srcdir \
38062 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38063 --target=${target_alias} \
38064 || exit 1
38065 @endif target-newlib
38071 .PHONY: all-target-newlib maybe-all-target-newlib
38072 maybe-all-target-newlib:
38073 @if gcc-bootstrap
38074 all-target-newlib: stage_current
38075 @endif gcc-bootstrap
38076 @if target-newlib
38077 TARGET-target-newlib=all
38078 maybe-all-target-newlib: all-target-newlib
38079 all-target-newlib: configure-target-newlib
38080 @: $(MAKE); $(unstage)
38081 @r=`${PWD_COMMAND}`; export r; \
38082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38083 $(NORMAL_TARGET_EXPORTS) \
38084 (cd $(TARGET_SUBDIR)/newlib && \
38085 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38086 $(TARGET-target-newlib))
38087 @endif target-newlib
38093 .PHONY: check-target-newlib maybe-check-target-newlib
38094 maybe-check-target-newlib:
38095 @if target-newlib
38096 maybe-check-target-newlib: check-target-newlib
38098 check-target-newlib:
38099 @: $(MAKE); $(unstage)
38100 @r=`${PWD_COMMAND}`; export r; \
38101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38102 $(NORMAL_TARGET_EXPORTS) \
38103 (cd $(TARGET_SUBDIR)/newlib && \
38104 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38106 @endif target-newlib
38108 .PHONY: install-target-newlib maybe-install-target-newlib
38109 maybe-install-target-newlib:
38110 @if target-newlib
38111 maybe-install-target-newlib: install-target-newlib
38113 install-target-newlib: installdirs
38114 @: $(MAKE); $(unstage)
38115 @r=`${PWD_COMMAND}`; export r; \
38116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38117 $(NORMAL_TARGET_EXPORTS) \
38118 (cd $(TARGET_SUBDIR)/newlib && \
38119 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38121 @endif target-newlib
38123 .PHONY: install-strip-target-newlib maybe-install-strip-target-newlib
38124 maybe-install-strip-target-newlib:
38125 @if target-newlib
38126 maybe-install-strip-target-newlib: install-strip-target-newlib
38128 install-strip-target-newlib: installdirs
38129 @: $(MAKE); $(unstage)
38130 @r=`${PWD_COMMAND}`; export r; \
38131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38132 $(NORMAL_TARGET_EXPORTS) \
38133 (cd $(TARGET_SUBDIR)/newlib && \
38134 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38136 @endif target-newlib
38138 # Other targets (info, dvi, pdf, etc.)
38140 .PHONY: maybe-info-target-newlib info-target-newlib
38141 maybe-info-target-newlib:
38142 @if target-newlib
38143 maybe-info-target-newlib: info-target-newlib
38145 info-target-newlib: \
38146 configure-target-newlib
38147 @: $(MAKE); $(unstage)
38148 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
38149 r=`${PWD_COMMAND}`; export r; \
38150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38151 $(NORMAL_TARGET_EXPORTS) \
38152 echo "Doing info in $(TARGET_SUBDIR)/newlib"; \
38153 for flag in $(EXTRA_TARGET_FLAGS); do \
38154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38155 done; \
38156 (cd $(TARGET_SUBDIR)/newlib && \
38157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38159 "RANLIB=$${RANLIB}" \
38160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38161 info) \
38162 || exit 1
38164 @endif target-newlib
38166 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
38167 maybe-dvi-target-newlib:
38168 @if target-newlib
38169 maybe-dvi-target-newlib: dvi-target-newlib
38171 dvi-target-newlib: \
38172 configure-target-newlib
38173 @: $(MAKE); $(unstage)
38174 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
38175 r=`${PWD_COMMAND}`; export r; \
38176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38177 $(NORMAL_TARGET_EXPORTS) \
38178 echo "Doing dvi in $(TARGET_SUBDIR)/newlib"; \
38179 for flag in $(EXTRA_TARGET_FLAGS); do \
38180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38181 done; \
38182 (cd $(TARGET_SUBDIR)/newlib && \
38183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38185 "RANLIB=$${RANLIB}" \
38186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38187 dvi) \
38188 || exit 1
38190 @endif target-newlib
38192 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
38193 maybe-pdf-target-newlib:
38194 @if target-newlib
38195 maybe-pdf-target-newlib: pdf-target-newlib
38197 pdf-target-newlib: \
38198 configure-target-newlib
38199 @: $(MAKE); $(unstage)
38200 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
38201 r=`${PWD_COMMAND}`; export r; \
38202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38203 $(NORMAL_TARGET_EXPORTS) \
38204 echo "Doing pdf in $(TARGET_SUBDIR)/newlib"; \
38205 for flag in $(EXTRA_TARGET_FLAGS); do \
38206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38207 done; \
38208 (cd $(TARGET_SUBDIR)/newlib && \
38209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38211 "RANLIB=$${RANLIB}" \
38212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38213 pdf) \
38214 || exit 1
38216 @endif target-newlib
38218 .PHONY: maybe-html-target-newlib html-target-newlib
38219 maybe-html-target-newlib:
38220 @if target-newlib
38221 maybe-html-target-newlib: html-target-newlib
38223 html-target-newlib: \
38224 configure-target-newlib
38225 @: $(MAKE); $(unstage)
38226 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
38227 r=`${PWD_COMMAND}`; export r; \
38228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38229 $(NORMAL_TARGET_EXPORTS) \
38230 echo "Doing html in $(TARGET_SUBDIR)/newlib"; \
38231 for flag in $(EXTRA_TARGET_FLAGS); do \
38232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38233 done; \
38234 (cd $(TARGET_SUBDIR)/newlib && \
38235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38237 "RANLIB=$${RANLIB}" \
38238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38239 html) \
38240 || exit 1
38242 @endif target-newlib
38244 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
38245 maybe-TAGS-target-newlib:
38246 @if target-newlib
38247 maybe-TAGS-target-newlib: TAGS-target-newlib
38249 TAGS-target-newlib: \
38250 configure-target-newlib
38251 @: $(MAKE); $(unstage)
38252 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
38253 r=`${PWD_COMMAND}`; export r; \
38254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38255 $(NORMAL_TARGET_EXPORTS) \
38256 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib"; \
38257 for flag in $(EXTRA_TARGET_FLAGS); do \
38258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38259 done; \
38260 (cd $(TARGET_SUBDIR)/newlib && \
38261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38263 "RANLIB=$${RANLIB}" \
38264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38265 TAGS) \
38266 || exit 1
38268 @endif target-newlib
38270 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
38271 maybe-install-info-target-newlib:
38272 @if target-newlib
38273 maybe-install-info-target-newlib: install-info-target-newlib
38275 install-info-target-newlib: \
38276 configure-target-newlib \
38277 info-target-newlib
38278 @: $(MAKE); $(unstage)
38279 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
38280 r=`${PWD_COMMAND}`; export r; \
38281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38282 $(NORMAL_TARGET_EXPORTS) \
38283 echo "Doing install-info in $(TARGET_SUBDIR)/newlib"; \
38284 for flag in $(EXTRA_TARGET_FLAGS); do \
38285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38286 done; \
38287 (cd $(TARGET_SUBDIR)/newlib && \
38288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38290 "RANLIB=$${RANLIB}" \
38291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38292 install-info) \
38293 || exit 1
38295 @endif target-newlib
38297 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
38298 maybe-install-pdf-target-newlib:
38299 @if target-newlib
38300 maybe-install-pdf-target-newlib: install-pdf-target-newlib
38302 install-pdf-target-newlib: \
38303 configure-target-newlib \
38304 pdf-target-newlib
38305 @: $(MAKE); $(unstage)
38306 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
38307 r=`${PWD_COMMAND}`; export r; \
38308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38309 $(NORMAL_TARGET_EXPORTS) \
38310 echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib"; \
38311 for flag in $(EXTRA_TARGET_FLAGS); do \
38312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38313 done; \
38314 (cd $(TARGET_SUBDIR)/newlib && \
38315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38317 "RANLIB=$${RANLIB}" \
38318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38319 install-pdf) \
38320 || exit 1
38322 @endif target-newlib
38324 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
38325 maybe-install-html-target-newlib:
38326 @if target-newlib
38327 maybe-install-html-target-newlib: install-html-target-newlib
38329 install-html-target-newlib: \
38330 configure-target-newlib \
38331 html-target-newlib
38332 @: $(MAKE); $(unstage)
38333 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
38334 r=`${PWD_COMMAND}`; export r; \
38335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38336 $(NORMAL_TARGET_EXPORTS) \
38337 echo "Doing install-html in $(TARGET_SUBDIR)/newlib"; \
38338 for flag in $(EXTRA_TARGET_FLAGS); do \
38339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38340 done; \
38341 (cd $(TARGET_SUBDIR)/newlib && \
38342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38344 "RANLIB=$${RANLIB}" \
38345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38346 install-html) \
38347 || exit 1
38349 @endif target-newlib
38351 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
38352 maybe-installcheck-target-newlib:
38353 @if target-newlib
38354 maybe-installcheck-target-newlib: installcheck-target-newlib
38356 installcheck-target-newlib: \
38357 configure-target-newlib
38358 @: $(MAKE); $(unstage)
38359 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
38360 r=`${PWD_COMMAND}`; export r; \
38361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38362 $(NORMAL_TARGET_EXPORTS) \
38363 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib"; \
38364 for flag in $(EXTRA_TARGET_FLAGS); do \
38365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38366 done; \
38367 (cd $(TARGET_SUBDIR)/newlib && \
38368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38370 "RANLIB=$${RANLIB}" \
38371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38372 installcheck) \
38373 || exit 1
38375 @endif target-newlib
38377 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
38378 maybe-mostlyclean-target-newlib:
38379 @if target-newlib
38380 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
38382 mostlyclean-target-newlib:
38383 @: $(MAKE); $(unstage)
38384 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
38385 r=`${PWD_COMMAND}`; export r; \
38386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38387 $(NORMAL_TARGET_EXPORTS) \
38388 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib"; \
38389 for flag in $(EXTRA_TARGET_FLAGS); do \
38390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38391 done; \
38392 (cd $(TARGET_SUBDIR)/newlib && \
38393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38395 "RANLIB=$${RANLIB}" \
38396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38397 mostlyclean) \
38398 || exit 1
38400 @endif target-newlib
38402 .PHONY: maybe-clean-target-newlib clean-target-newlib
38403 maybe-clean-target-newlib:
38404 @if target-newlib
38405 maybe-clean-target-newlib: clean-target-newlib
38407 clean-target-newlib:
38408 @: $(MAKE); $(unstage)
38409 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
38410 r=`${PWD_COMMAND}`; export r; \
38411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38412 $(NORMAL_TARGET_EXPORTS) \
38413 echo "Doing clean in $(TARGET_SUBDIR)/newlib"; \
38414 for flag in $(EXTRA_TARGET_FLAGS); do \
38415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38416 done; \
38417 (cd $(TARGET_SUBDIR)/newlib && \
38418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38420 "RANLIB=$${RANLIB}" \
38421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38422 clean) \
38423 || exit 1
38425 @endif target-newlib
38427 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
38428 maybe-distclean-target-newlib:
38429 @if target-newlib
38430 maybe-distclean-target-newlib: distclean-target-newlib
38432 distclean-target-newlib:
38433 @: $(MAKE); $(unstage)
38434 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
38435 r=`${PWD_COMMAND}`; export r; \
38436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38437 $(NORMAL_TARGET_EXPORTS) \
38438 echo "Doing distclean in $(TARGET_SUBDIR)/newlib"; \
38439 for flag in $(EXTRA_TARGET_FLAGS); do \
38440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38441 done; \
38442 (cd $(TARGET_SUBDIR)/newlib && \
38443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38445 "RANLIB=$${RANLIB}" \
38446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38447 distclean) \
38448 || exit 1
38450 @endif target-newlib
38452 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
38453 maybe-maintainer-clean-target-newlib:
38454 @if target-newlib
38455 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
38457 maintainer-clean-target-newlib:
38458 @: $(MAKE); $(unstage)
38459 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
38460 r=`${PWD_COMMAND}`; export r; \
38461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38462 $(NORMAL_TARGET_EXPORTS) \
38463 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib"; \
38464 for flag in $(EXTRA_TARGET_FLAGS); do \
38465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38466 done; \
38467 (cd $(TARGET_SUBDIR)/newlib && \
38468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38470 "RANLIB=$${RANLIB}" \
38471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38472 maintainer-clean) \
38473 || exit 1
38475 @endif target-newlib
38481 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
38482 maybe-configure-target-libgcc:
38483 @if gcc-bootstrap
38484 configure-target-libgcc: stage_current
38485 @endif gcc-bootstrap
38486 @if target-libgcc
38487 maybe-configure-target-libgcc: configure-target-libgcc
38488 configure-target-libgcc:
38489 @r=`${PWD_COMMAND}`; export r; \
38490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38491 echo "Checking multilib configuration for libgcc..."; \
38492 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
38493 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
38494 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
38495 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
38496 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
38497 else \
38498 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
38499 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
38500 fi; \
38501 else \
38502 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
38503 fi; \
38504 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
38505 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
38506 $(NORMAL_TARGET_EXPORTS) \
38507 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
38508 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
38509 case $(srcdir) in \
38510 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38511 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
38512 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38513 esac; \
38514 module_srcdir=libgcc; \
38515 rm -f no-such-file || : ; \
38516 CONFIG_SITE=no-such-file $(SHELL) \
38517 $$s/$$module_srcdir/configure \
38518 --srcdir=$${topdir}/$$module_srcdir \
38519 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38520 --target=${target_alias} \
38521 || exit 1
38522 @endif target-libgcc
38526 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
38527 maybe-configure-stage1-target-libgcc:
38528 @if target-libgcc-bootstrap
38529 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
38530 configure-stage1-target-libgcc:
38531 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
38532 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
38533 @r=`${PWD_COMMAND}`; export r; \
38534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38535 TFLAGS="$(STAGE1_TFLAGS)"; \
38536 echo "Checking multilib configuration for libgcc..."; \
38537 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
38538 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
38539 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
38540 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
38541 else \
38542 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
38543 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
38544 fi; \
38545 else \
38546 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
38547 fi; \
38548 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
38549 $(NORMAL_TARGET_EXPORTS) \
38550 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38551 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38552 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38553 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc; \
38554 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
38555 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
38556 case $(srcdir) in \
38557 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38558 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
38559 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38560 esac; \
38561 module_srcdir=libgcc; \
38562 $(SHELL) $$s/$$module_srcdir/configure \
38563 --srcdir=$${topdir}/$$module_srcdir \
38564 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38565 --target=${target_alias} \
38567 $(STAGE1_CONFIGURE_FLAGS)
38568 @endif target-libgcc-bootstrap
38570 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
38571 maybe-configure-stage2-target-libgcc:
38572 @if target-libgcc-bootstrap
38573 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
38574 configure-stage2-target-libgcc:
38575 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
38576 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
38577 @r=`${PWD_COMMAND}`; export r; \
38578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38579 TFLAGS="$(STAGE2_TFLAGS)"; \
38580 echo "Checking multilib configuration for libgcc..."; \
38581 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
38582 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
38583 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
38584 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
38585 else \
38586 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
38587 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
38588 fi; \
38589 else \
38590 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
38591 fi; \
38592 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
38593 $(NORMAL_TARGET_EXPORTS) \
38595 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38596 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38597 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38598 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc; \
38599 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
38600 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
38601 case $(srcdir) in \
38602 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38603 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
38604 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38605 esac; \
38606 module_srcdir=libgcc; \
38607 $(SHELL) $$s/$$module_srcdir/configure \
38608 --srcdir=$${topdir}/$$module_srcdir \
38609 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38610 --target=${target_alias} \
38611 --with-build-libsubdir=$(HOST_SUBDIR) \
38612 $(STAGE2_CONFIGURE_FLAGS)
38613 @endif target-libgcc-bootstrap
38615 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
38616 maybe-configure-stage3-target-libgcc:
38617 @if target-libgcc-bootstrap
38618 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
38619 configure-stage3-target-libgcc:
38620 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
38621 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
38622 @r=`${PWD_COMMAND}`; export r; \
38623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38624 TFLAGS="$(STAGE3_TFLAGS)"; \
38625 echo "Checking multilib configuration for libgcc..."; \
38626 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
38627 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
38628 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
38629 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
38630 else \
38631 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
38632 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
38633 fi; \
38634 else \
38635 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
38636 fi; \
38637 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
38638 $(NORMAL_TARGET_EXPORTS) \
38640 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38641 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38642 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38643 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc; \
38644 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
38645 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
38646 case $(srcdir) in \
38647 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38648 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
38649 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38650 esac; \
38651 module_srcdir=libgcc; \
38652 $(SHELL) $$s/$$module_srcdir/configure \
38653 --srcdir=$${topdir}/$$module_srcdir \
38654 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38655 --target=${target_alias} \
38656 --with-build-libsubdir=$(HOST_SUBDIR) \
38657 $(STAGE3_CONFIGURE_FLAGS)
38658 @endif target-libgcc-bootstrap
38660 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
38661 maybe-configure-stage4-target-libgcc:
38662 @if target-libgcc-bootstrap
38663 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
38664 configure-stage4-target-libgcc:
38665 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
38666 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
38667 @r=`${PWD_COMMAND}`; export r; \
38668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38669 TFLAGS="$(STAGE4_TFLAGS)"; \
38670 echo "Checking multilib configuration for libgcc..."; \
38671 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
38672 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
38673 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
38674 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
38675 else \
38676 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
38677 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
38678 fi; \
38679 else \
38680 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
38681 fi; \
38682 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
38683 $(NORMAL_TARGET_EXPORTS) \
38685 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38686 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38687 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38688 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc; \
38689 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
38690 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
38691 case $(srcdir) in \
38692 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38693 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
38694 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38695 esac; \
38696 module_srcdir=libgcc; \
38697 $(SHELL) $$s/$$module_srcdir/configure \
38698 --srcdir=$${topdir}/$$module_srcdir \
38699 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38700 --target=${target_alias} \
38701 --with-build-libsubdir=$(HOST_SUBDIR) \
38702 $(STAGE4_CONFIGURE_FLAGS)
38703 @endif target-libgcc-bootstrap
38705 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
38706 maybe-configure-stageprofile-target-libgcc:
38707 @if target-libgcc-bootstrap
38708 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
38709 configure-stageprofile-target-libgcc:
38710 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
38711 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
38712 @r=`${PWD_COMMAND}`; export r; \
38713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38714 TFLAGS="$(STAGEprofile_TFLAGS)"; \
38715 echo "Checking multilib configuration for libgcc..."; \
38716 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
38717 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
38718 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
38719 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
38720 else \
38721 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
38722 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
38723 fi; \
38724 else \
38725 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
38726 fi; \
38727 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
38728 $(NORMAL_TARGET_EXPORTS) \
38730 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38731 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38732 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38733 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc; \
38734 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
38735 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
38736 case $(srcdir) in \
38737 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38738 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
38739 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38740 esac; \
38741 module_srcdir=libgcc; \
38742 $(SHELL) $$s/$$module_srcdir/configure \
38743 --srcdir=$${topdir}/$$module_srcdir \
38744 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38745 --target=${target_alias} \
38746 --with-build-libsubdir=$(HOST_SUBDIR) \
38747 $(STAGEprofile_CONFIGURE_FLAGS)
38748 @endif target-libgcc-bootstrap
38750 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
38751 maybe-configure-stagefeedback-target-libgcc:
38752 @if target-libgcc-bootstrap
38753 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
38754 configure-stagefeedback-target-libgcc:
38755 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
38756 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
38757 @r=`${PWD_COMMAND}`; export r; \
38758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38759 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
38760 echo "Checking multilib configuration for libgcc..."; \
38761 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
38762 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
38763 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
38764 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
38765 else \
38766 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
38767 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
38768 fi; \
38769 else \
38770 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
38771 fi; \
38772 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
38773 $(NORMAL_TARGET_EXPORTS) \
38775 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38776 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38777 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38778 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc; \
38779 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
38780 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
38781 case $(srcdir) in \
38782 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38783 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
38784 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38785 esac; \
38786 module_srcdir=libgcc; \
38787 $(SHELL) $$s/$$module_srcdir/configure \
38788 --srcdir=$${topdir}/$$module_srcdir \
38789 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38790 --target=${target_alias} \
38791 --with-build-libsubdir=$(HOST_SUBDIR) \
38792 $(STAGEfeedback_CONFIGURE_FLAGS)
38793 @endif target-libgcc-bootstrap
38799 .PHONY: all-target-libgcc maybe-all-target-libgcc
38800 maybe-all-target-libgcc:
38801 @if gcc-bootstrap
38802 all-target-libgcc: stage_current
38803 @endif gcc-bootstrap
38804 @if target-libgcc
38805 TARGET-target-libgcc=all
38806 maybe-all-target-libgcc: all-target-libgcc
38807 all-target-libgcc: configure-target-libgcc
38808 @r=`${PWD_COMMAND}`; export r; \
38809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38810 $(NORMAL_TARGET_EXPORTS) \
38811 (cd $(TARGET_SUBDIR)/libgcc && \
38812 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38813 $(TARGET-target-libgcc))
38814 @endif target-libgcc
38818 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
38819 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
38820 maybe-all-stage1-target-libgcc:
38821 maybe-clean-stage1-target-libgcc:
38822 @if target-libgcc-bootstrap
38823 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
38824 all-stage1: all-stage1-target-libgcc
38825 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
38826 all-stage1-target-libgcc: configure-stage1-target-libgcc
38827 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
38828 @r=`${PWD_COMMAND}`; export r; \
38829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38830 TFLAGS="$(STAGE1_TFLAGS)"; \
38831 $(NORMAL_TARGET_EXPORTS) \
38832 cd $(TARGET_SUBDIR)/libgcc && \
38833 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38834 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38835 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38836 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38837 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38838 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38839 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38840 $(EXTRA_TARGET_FLAGS) \
38842 TFLAGS="$(STAGE1_TFLAGS)" \
38843 $(TARGET-stage1-target-libgcc)
38845 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
38846 clean-stage1: clean-stage1-target-libgcc
38847 clean-stage1-target-libgcc:
38848 @if [ $(current_stage) = stage1 ]; then \
38849 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
38850 else \
38851 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
38852 $(MAKE) stage1-start; \
38853 fi; \
38854 cd $(TARGET_SUBDIR)/libgcc && \
38855 $(MAKE) $(EXTRA_TARGET_FLAGS) \
38856 clean
38857 @endif target-libgcc-bootstrap
38860 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
38861 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
38862 maybe-all-stage2-target-libgcc:
38863 maybe-clean-stage2-target-libgcc:
38864 @if target-libgcc-bootstrap
38865 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
38866 all-stage2: all-stage2-target-libgcc
38867 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
38868 all-stage2-target-libgcc: configure-stage2-target-libgcc
38869 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
38870 @r=`${PWD_COMMAND}`; export r; \
38871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38872 TFLAGS="$(STAGE2_TFLAGS)"; \
38873 $(NORMAL_TARGET_EXPORTS) \
38875 cd $(TARGET_SUBDIR)/libgcc && \
38876 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38877 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38878 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38879 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38880 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38881 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38882 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38883 $(EXTRA_TARGET_FLAGS) \
38884 TFLAGS="$(STAGE2_TFLAGS)" \
38885 $(TARGET-stage2-target-libgcc)
38887 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
38888 clean-stage2: clean-stage2-target-libgcc
38889 clean-stage2-target-libgcc:
38890 @if [ $(current_stage) = stage2 ]; then \
38891 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
38892 else \
38893 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
38894 $(MAKE) stage2-start; \
38895 fi; \
38896 cd $(TARGET_SUBDIR)/libgcc && \
38897 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
38898 @endif target-libgcc-bootstrap
38901 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
38902 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
38903 maybe-all-stage3-target-libgcc:
38904 maybe-clean-stage3-target-libgcc:
38905 @if target-libgcc-bootstrap
38906 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
38907 all-stage3: all-stage3-target-libgcc
38908 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
38909 all-stage3-target-libgcc: configure-stage3-target-libgcc
38910 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
38911 @r=`${PWD_COMMAND}`; export r; \
38912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38913 TFLAGS="$(STAGE3_TFLAGS)"; \
38914 $(NORMAL_TARGET_EXPORTS) \
38916 cd $(TARGET_SUBDIR)/libgcc && \
38917 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38918 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38919 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38920 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38921 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38922 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38923 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38924 $(EXTRA_TARGET_FLAGS) \
38925 TFLAGS="$(STAGE3_TFLAGS)" \
38926 $(TARGET-stage3-target-libgcc)
38928 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
38929 clean-stage3: clean-stage3-target-libgcc
38930 clean-stage3-target-libgcc:
38931 @if [ $(current_stage) = stage3 ]; then \
38932 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
38933 else \
38934 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
38935 $(MAKE) stage3-start; \
38936 fi; \
38937 cd $(TARGET_SUBDIR)/libgcc && \
38938 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
38939 @endif target-libgcc-bootstrap
38942 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
38943 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
38944 maybe-all-stage4-target-libgcc:
38945 maybe-clean-stage4-target-libgcc:
38946 @if target-libgcc-bootstrap
38947 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
38948 all-stage4: all-stage4-target-libgcc
38949 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
38950 all-stage4-target-libgcc: configure-stage4-target-libgcc
38951 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
38952 @r=`${PWD_COMMAND}`; export r; \
38953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38954 TFLAGS="$(STAGE4_TFLAGS)"; \
38955 $(NORMAL_TARGET_EXPORTS) \
38957 cd $(TARGET_SUBDIR)/libgcc && \
38958 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38959 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38960 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38961 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38962 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38963 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38964 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38965 $(EXTRA_TARGET_FLAGS) \
38966 TFLAGS="$(STAGE4_TFLAGS)" \
38967 $(TARGET-stage4-target-libgcc)
38969 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
38970 clean-stage4: clean-stage4-target-libgcc
38971 clean-stage4-target-libgcc:
38972 @if [ $(current_stage) = stage4 ]; then \
38973 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
38974 else \
38975 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
38976 $(MAKE) stage4-start; \
38977 fi; \
38978 cd $(TARGET_SUBDIR)/libgcc && \
38979 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
38980 @endif target-libgcc-bootstrap
38983 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
38984 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
38985 maybe-all-stageprofile-target-libgcc:
38986 maybe-clean-stageprofile-target-libgcc:
38987 @if target-libgcc-bootstrap
38988 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
38989 all-stageprofile: all-stageprofile-target-libgcc
38990 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
38991 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
38992 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
38993 @r=`${PWD_COMMAND}`; export r; \
38994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38995 TFLAGS="$(STAGEprofile_TFLAGS)"; \
38996 $(NORMAL_TARGET_EXPORTS) \
38998 cd $(TARGET_SUBDIR)/libgcc && \
38999 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39000 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39001 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39002 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39003 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39004 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39005 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39006 $(EXTRA_TARGET_FLAGS) \
39007 TFLAGS="$(STAGEprofile_TFLAGS)" \
39008 $(TARGET-stageprofile-target-libgcc)
39010 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
39011 clean-stageprofile: clean-stageprofile-target-libgcc
39012 clean-stageprofile-target-libgcc:
39013 @if [ $(current_stage) = stageprofile ]; then \
39014 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
39015 else \
39016 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
39017 $(MAKE) stageprofile-start; \
39018 fi; \
39019 cd $(TARGET_SUBDIR)/libgcc && \
39020 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
39021 @endif target-libgcc-bootstrap
39024 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
39025 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
39026 maybe-all-stagefeedback-target-libgcc:
39027 maybe-clean-stagefeedback-target-libgcc:
39028 @if target-libgcc-bootstrap
39029 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
39030 all-stagefeedback: all-stagefeedback-target-libgcc
39031 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
39032 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
39033 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
39034 @r=`${PWD_COMMAND}`; export r; \
39035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39036 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
39037 $(NORMAL_TARGET_EXPORTS) \
39039 cd $(TARGET_SUBDIR)/libgcc && \
39040 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39041 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39042 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39043 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39044 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39045 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39046 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39047 $(EXTRA_TARGET_FLAGS) \
39048 TFLAGS="$(STAGEfeedback_TFLAGS)" \
39049 $(TARGET-stagefeedback-target-libgcc)
39051 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
39052 clean-stagefeedback: clean-stagefeedback-target-libgcc
39053 clean-stagefeedback-target-libgcc:
39054 @if [ $(current_stage) = stagefeedback ]; then \
39055 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
39056 else \
39057 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
39058 $(MAKE) stagefeedback-start; \
39059 fi; \
39060 cd $(TARGET_SUBDIR)/libgcc && \
39061 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
39062 @endif target-libgcc-bootstrap
39069 .PHONY: check-target-libgcc maybe-check-target-libgcc
39070 maybe-check-target-libgcc:
39071 @if target-libgcc
39072 maybe-check-target-libgcc: check-target-libgcc
39074 # Dummy target for uncheckable module.
39075 check-target-libgcc:
39077 @endif target-libgcc
39079 .PHONY: install-target-libgcc maybe-install-target-libgcc
39080 maybe-install-target-libgcc:
39081 @if target-libgcc
39082 maybe-install-target-libgcc: install-target-libgcc
39084 install-target-libgcc: installdirs
39085 @: $(MAKE); $(unstage)
39086 @r=`${PWD_COMMAND}`; export r; \
39087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39088 $(NORMAL_TARGET_EXPORTS) \
39089 (cd $(TARGET_SUBDIR)/libgcc && \
39090 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39092 @endif target-libgcc
39094 .PHONY: install-strip-target-libgcc maybe-install-strip-target-libgcc
39095 maybe-install-strip-target-libgcc:
39096 @if target-libgcc
39097 maybe-install-strip-target-libgcc: install-strip-target-libgcc
39099 install-strip-target-libgcc: installdirs
39100 @: $(MAKE); $(unstage)
39101 @r=`${PWD_COMMAND}`; export r; \
39102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39103 $(NORMAL_TARGET_EXPORTS) \
39104 (cd $(TARGET_SUBDIR)/libgcc && \
39105 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39107 @endif target-libgcc
39109 # Other targets (info, dvi, pdf, etc.)
39111 .PHONY: maybe-info-target-libgcc info-target-libgcc
39112 maybe-info-target-libgcc:
39113 @if target-libgcc
39114 maybe-info-target-libgcc: info-target-libgcc
39116 info-target-libgcc: \
39117 configure-target-libgcc
39118 @: $(MAKE); $(unstage)
39119 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
39120 r=`${PWD_COMMAND}`; export r; \
39121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39122 $(NORMAL_TARGET_EXPORTS) \
39123 echo "Doing info in $(TARGET_SUBDIR)/libgcc"; \
39124 for flag in $(EXTRA_TARGET_FLAGS); do \
39125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39126 done; \
39127 (cd $(TARGET_SUBDIR)/libgcc && \
39128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39130 "RANLIB=$${RANLIB}" \
39131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39132 info) \
39133 || exit 1
39135 @endif target-libgcc
39137 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
39138 maybe-dvi-target-libgcc:
39139 @if target-libgcc
39140 maybe-dvi-target-libgcc: dvi-target-libgcc
39142 dvi-target-libgcc: \
39143 configure-target-libgcc
39144 @: $(MAKE); $(unstage)
39145 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
39146 r=`${PWD_COMMAND}`; export r; \
39147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39148 $(NORMAL_TARGET_EXPORTS) \
39149 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc"; \
39150 for flag in $(EXTRA_TARGET_FLAGS); do \
39151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39152 done; \
39153 (cd $(TARGET_SUBDIR)/libgcc && \
39154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39156 "RANLIB=$${RANLIB}" \
39157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39158 dvi) \
39159 || exit 1
39161 @endif target-libgcc
39163 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
39164 maybe-pdf-target-libgcc:
39165 @if target-libgcc
39166 maybe-pdf-target-libgcc: pdf-target-libgcc
39168 pdf-target-libgcc: \
39169 configure-target-libgcc
39170 @: $(MAKE); $(unstage)
39171 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
39172 r=`${PWD_COMMAND}`; export r; \
39173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39174 $(NORMAL_TARGET_EXPORTS) \
39175 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc"; \
39176 for flag in $(EXTRA_TARGET_FLAGS); do \
39177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39178 done; \
39179 (cd $(TARGET_SUBDIR)/libgcc && \
39180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39182 "RANLIB=$${RANLIB}" \
39183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39184 pdf) \
39185 || exit 1
39187 @endif target-libgcc
39189 .PHONY: maybe-html-target-libgcc html-target-libgcc
39190 maybe-html-target-libgcc:
39191 @if target-libgcc
39192 maybe-html-target-libgcc: html-target-libgcc
39194 html-target-libgcc: \
39195 configure-target-libgcc
39196 @: $(MAKE); $(unstage)
39197 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
39198 r=`${PWD_COMMAND}`; export r; \
39199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39200 $(NORMAL_TARGET_EXPORTS) \
39201 echo "Doing html in $(TARGET_SUBDIR)/libgcc"; \
39202 for flag in $(EXTRA_TARGET_FLAGS); do \
39203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39204 done; \
39205 (cd $(TARGET_SUBDIR)/libgcc && \
39206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39208 "RANLIB=$${RANLIB}" \
39209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39210 html) \
39211 || exit 1
39213 @endif target-libgcc
39215 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
39216 maybe-TAGS-target-libgcc:
39217 @if target-libgcc
39218 maybe-TAGS-target-libgcc: TAGS-target-libgcc
39220 TAGS-target-libgcc: \
39221 configure-target-libgcc
39222 @: $(MAKE); $(unstage)
39223 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
39224 r=`${PWD_COMMAND}`; export r; \
39225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39226 $(NORMAL_TARGET_EXPORTS) \
39227 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc"; \
39228 for flag in $(EXTRA_TARGET_FLAGS); do \
39229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39230 done; \
39231 (cd $(TARGET_SUBDIR)/libgcc && \
39232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39234 "RANLIB=$${RANLIB}" \
39235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39236 TAGS) \
39237 || exit 1
39239 @endif target-libgcc
39241 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
39242 maybe-install-info-target-libgcc:
39243 @if target-libgcc
39244 maybe-install-info-target-libgcc: install-info-target-libgcc
39246 install-info-target-libgcc: \
39247 configure-target-libgcc \
39248 info-target-libgcc
39249 @: $(MAKE); $(unstage)
39250 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
39251 r=`${PWD_COMMAND}`; export r; \
39252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39253 $(NORMAL_TARGET_EXPORTS) \
39254 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc"; \
39255 for flag in $(EXTRA_TARGET_FLAGS); do \
39256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39257 done; \
39258 (cd $(TARGET_SUBDIR)/libgcc && \
39259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39261 "RANLIB=$${RANLIB}" \
39262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39263 install-info) \
39264 || exit 1
39266 @endif target-libgcc
39268 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
39269 maybe-install-pdf-target-libgcc:
39270 @if target-libgcc
39271 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
39273 install-pdf-target-libgcc: \
39274 configure-target-libgcc \
39275 pdf-target-libgcc
39276 @: $(MAKE); $(unstage)
39277 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
39278 r=`${PWD_COMMAND}`; export r; \
39279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39280 $(NORMAL_TARGET_EXPORTS) \
39281 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc"; \
39282 for flag in $(EXTRA_TARGET_FLAGS); do \
39283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39284 done; \
39285 (cd $(TARGET_SUBDIR)/libgcc && \
39286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39288 "RANLIB=$${RANLIB}" \
39289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39290 install-pdf) \
39291 || exit 1
39293 @endif target-libgcc
39295 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
39296 maybe-install-html-target-libgcc:
39297 @if target-libgcc
39298 maybe-install-html-target-libgcc: install-html-target-libgcc
39300 install-html-target-libgcc: \
39301 configure-target-libgcc \
39302 html-target-libgcc
39303 @: $(MAKE); $(unstage)
39304 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
39305 r=`${PWD_COMMAND}`; export r; \
39306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39307 $(NORMAL_TARGET_EXPORTS) \
39308 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc"; \
39309 for flag in $(EXTRA_TARGET_FLAGS); do \
39310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39311 done; \
39312 (cd $(TARGET_SUBDIR)/libgcc && \
39313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39315 "RANLIB=$${RANLIB}" \
39316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39317 install-html) \
39318 || exit 1
39320 @endif target-libgcc
39322 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
39323 maybe-installcheck-target-libgcc:
39324 @if target-libgcc
39325 maybe-installcheck-target-libgcc: installcheck-target-libgcc
39327 installcheck-target-libgcc: \
39328 configure-target-libgcc
39329 @: $(MAKE); $(unstage)
39330 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
39331 r=`${PWD_COMMAND}`; export r; \
39332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39333 $(NORMAL_TARGET_EXPORTS) \
39334 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc"; \
39335 for flag in $(EXTRA_TARGET_FLAGS); do \
39336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39337 done; \
39338 (cd $(TARGET_SUBDIR)/libgcc && \
39339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39341 "RANLIB=$${RANLIB}" \
39342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39343 installcheck) \
39344 || exit 1
39346 @endif target-libgcc
39348 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
39349 maybe-mostlyclean-target-libgcc:
39350 @if target-libgcc
39351 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
39353 mostlyclean-target-libgcc:
39354 @: $(MAKE); $(unstage)
39355 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
39356 r=`${PWD_COMMAND}`; export r; \
39357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39358 $(NORMAL_TARGET_EXPORTS) \
39359 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc"; \
39360 for flag in $(EXTRA_TARGET_FLAGS); do \
39361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39362 done; \
39363 (cd $(TARGET_SUBDIR)/libgcc && \
39364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39366 "RANLIB=$${RANLIB}" \
39367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39368 mostlyclean) \
39369 || exit 1
39371 @endif target-libgcc
39373 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
39374 maybe-clean-target-libgcc:
39375 @if target-libgcc
39376 maybe-clean-target-libgcc: clean-target-libgcc
39378 clean-target-libgcc:
39379 @: $(MAKE); $(unstage)
39380 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
39381 r=`${PWD_COMMAND}`; export r; \
39382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39383 $(NORMAL_TARGET_EXPORTS) \
39384 echo "Doing clean in $(TARGET_SUBDIR)/libgcc"; \
39385 for flag in $(EXTRA_TARGET_FLAGS); do \
39386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39387 done; \
39388 (cd $(TARGET_SUBDIR)/libgcc && \
39389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39391 "RANLIB=$${RANLIB}" \
39392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39393 clean) \
39394 || exit 1
39396 @endif target-libgcc
39398 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
39399 maybe-distclean-target-libgcc:
39400 @if target-libgcc
39401 maybe-distclean-target-libgcc: distclean-target-libgcc
39403 distclean-target-libgcc:
39404 @: $(MAKE); $(unstage)
39405 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
39406 r=`${PWD_COMMAND}`; export r; \
39407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39408 $(NORMAL_TARGET_EXPORTS) \
39409 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc"; \
39410 for flag in $(EXTRA_TARGET_FLAGS); do \
39411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39412 done; \
39413 (cd $(TARGET_SUBDIR)/libgcc && \
39414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39416 "RANLIB=$${RANLIB}" \
39417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39418 distclean) \
39419 || exit 1
39421 @endif target-libgcc
39423 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
39424 maybe-maintainer-clean-target-libgcc:
39425 @if target-libgcc
39426 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
39428 maintainer-clean-target-libgcc:
39429 @: $(MAKE); $(unstage)
39430 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
39431 r=`${PWD_COMMAND}`; export r; \
39432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39433 $(NORMAL_TARGET_EXPORTS) \
39434 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc"; \
39435 for flag in $(EXTRA_TARGET_FLAGS); do \
39436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39437 done; \
39438 (cd $(TARGET_SUBDIR)/libgcc && \
39439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39441 "RANLIB=$${RANLIB}" \
39442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39443 maintainer-clean) \
39444 || exit 1
39446 @endif target-libgcc
39452 .PHONY: configure-target-libbacktrace maybe-configure-target-libbacktrace
39453 maybe-configure-target-libbacktrace:
39454 @if gcc-bootstrap
39455 configure-target-libbacktrace: stage_current
39456 @endif gcc-bootstrap
39457 @if target-libbacktrace
39458 maybe-configure-target-libbacktrace: configure-target-libbacktrace
39459 configure-target-libbacktrace:
39460 @: $(MAKE); $(unstage)
39461 @r=`${PWD_COMMAND}`; export r; \
39462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39463 echo "Checking multilib configuration for libbacktrace..."; \
39464 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
39465 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null; \
39466 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
39467 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
39468 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
39469 else \
39470 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
39471 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
39472 fi; \
39473 else \
39474 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
39475 fi; \
39476 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
39477 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
39478 $(NORMAL_TARGET_EXPORTS) \
39479 echo Configuring in $(TARGET_SUBDIR)/libbacktrace; \
39480 cd "$(TARGET_SUBDIR)/libbacktrace" || exit 1; \
39481 case $(srcdir) in \
39482 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39483 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
39484 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39485 esac; \
39486 module_srcdir=libbacktrace; \
39487 rm -f no-such-file || : ; \
39488 CONFIG_SITE=no-such-file $(SHELL) \
39489 $$s/$$module_srcdir/configure \
39490 --srcdir=$${topdir}/$$module_srcdir \
39491 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39492 --target=${target_alias} \
39493 || exit 1
39494 @endif target-libbacktrace
39500 .PHONY: all-target-libbacktrace maybe-all-target-libbacktrace
39501 maybe-all-target-libbacktrace:
39502 @if gcc-bootstrap
39503 all-target-libbacktrace: stage_current
39504 @endif gcc-bootstrap
39505 @if target-libbacktrace
39506 TARGET-target-libbacktrace=all
39507 maybe-all-target-libbacktrace: all-target-libbacktrace
39508 all-target-libbacktrace: configure-target-libbacktrace
39509 @: $(MAKE); $(unstage)
39510 @r=`${PWD_COMMAND}`; export r; \
39511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39512 $(NORMAL_TARGET_EXPORTS) \
39513 (cd $(TARGET_SUBDIR)/libbacktrace && \
39514 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
39515 $(TARGET-target-libbacktrace))
39516 @endif target-libbacktrace
39522 .PHONY: check-target-libbacktrace maybe-check-target-libbacktrace
39523 maybe-check-target-libbacktrace:
39524 @if target-libbacktrace
39525 maybe-check-target-libbacktrace: check-target-libbacktrace
39527 check-target-libbacktrace:
39528 @: $(MAKE); $(unstage)
39529 @r=`${PWD_COMMAND}`; export r; \
39530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39531 $(NORMAL_TARGET_EXPORTS) \
39532 (cd $(TARGET_SUBDIR)/libbacktrace && \
39533 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39535 @endif target-libbacktrace
39537 .PHONY: install-target-libbacktrace maybe-install-target-libbacktrace
39538 maybe-install-target-libbacktrace:
39539 @if target-libbacktrace
39540 maybe-install-target-libbacktrace: install-target-libbacktrace
39542 install-target-libbacktrace: installdirs
39543 @: $(MAKE); $(unstage)
39544 @r=`${PWD_COMMAND}`; export r; \
39545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39546 $(NORMAL_TARGET_EXPORTS) \
39547 (cd $(TARGET_SUBDIR)/libbacktrace && \
39548 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39550 @endif target-libbacktrace
39552 .PHONY: install-strip-target-libbacktrace maybe-install-strip-target-libbacktrace
39553 maybe-install-strip-target-libbacktrace:
39554 @if target-libbacktrace
39555 maybe-install-strip-target-libbacktrace: install-strip-target-libbacktrace
39557 install-strip-target-libbacktrace: installdirs
39558 @: $(MAKE); $(unstage)
39559 @r=`${PWD_COMMAND}`; export r; \
39560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39561 $(NORMAL_TARGET_EXPORTS) \
39562 (cd $(TARGET_SUBDIR)/libbacktrace && \
39563 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39565 @endif target-libbacktrace
39567 # Other targets (info, dvi, pdf, etc.)
39569 .PHONY: maybe-info-target-libbacktrace info-target-libbacktrace
39570 maybe-info-target-libbacktrace:
39571 @if target-libbacktrace
39572 maybe-info-target-libbacktrace: info-target-libbacktrace
39574 info-target-libbacktrace: \
39575 configure-target-libbacktrace
39576 @: $(MAKE); $(unstage)
39577 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
39578 r=`${PWD_COMMAND}`; export r; \
39579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39580 $(NORMAL_TARGET_EXPORTS) \
39581 echo "Doing info in $(TARGET_SUBDIR)/libbacktrace"; \
39582 for flag in $(EXTRA_TARGET_FLAGS); do \
39583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39584 done; \
39585 (cd $(TARGET_SUBDIR)/libbacktrace && \
39586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39588 "RANLIB=$${RANLIB}" \
39589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39590 info) \
39591 || exit 1
39593 @endif target-libbacktrace
39595 .PHONY: maybe-dvi-target-libbacktrace dvi-target-libbacktrace
39596 maybe-dvi-target-libbacktrace:
39597 @if target-libbacktrace
39598 maybe-dvi-target-libbacktrace: dvi-target-libbacktrace
39600 dvi-target-libbacktrace: \
39601 configure-target-libbacktrace
39602 @: $(MAKE); $(unstage)
39603 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
39604 r=`${PWD_COMMAND}`; export r; \
39605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39606 $(NORMAL_TARGET_EXPORTS) \
39607 echo "Doing dvi in $(TARGET_SUBDIR)/libbacktrace"; \
39608 for flag in $(EXTRA_TARGET_FLAGS); do \
39609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39610 done; \
39611 (cd $(TARGET_SUBDIR)/libbacktrace && \
39612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39614 "RANLIB=$${RANLIB}" \
39615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39616 dvi) \
39617 || exit 1
39619 @endif target-libbacktrace
39621 .PHONY: maybe-pdf-target-libbacktrace pdf-target-libbacktrace
39622 maybe-pdf-target-libbacktrace:
39623 @if target-libbacktrace
39624 maybe-pdf-target-libbacktrace: pdf-target-libbacktrace
39626 pdf-target-libbacktrace: \
39627 configure-target-libbacktrace
39628 @: $(MAKE); $(unstage)
39629 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
39630 r=`${PWD_COMMAND}`; export r; \
39631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39632 $(NORMAL_TARGET_EXPORTS) \
39633 echo "Doing pdf in $(TARGET_SUBDIR)/libbacktrace"; \
39634 for flag in $(EXTRA_TARGET_FLAGS); do \
39635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39636 done; \
39637 (cd $(TARGET_SUBDIR)/libbacktrace && \
39638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39640 "RANLIB=$${RANLIB}" \
39641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39642 pdf) \
39643 || exit 1
39645 @endif target-libbacktrace
39647 .PHONY: maybe-html-target-libbacktrace html-target-libbacktrace
39648 maybe-html-target-libbacktrace:
39649 @if target-libbacktrace
39650 maybe-html-target-libbacktrace: html-target-libbacktrace
39652 html-target-libbacktrace: \
39653 configure-target-libbacktrace
39654 @: $(MAKE); $(unstage)
39655 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
39656 r=`${PWD_COMMAND}`; export r; \
39657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39658 $(NORMAL_TARGET_EXPORTS) \
39659 echo "Doing html in $(TARGET_SUBDIR)/libbacktrace"; \
39660 for flag in $(EXTRA_TARGET_FLAGS); do \
39661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39662 done; \
39663 (cd $(TARGET_SUBDIR)/libbacktrace && \
39664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39666 "RANLIB=$${RANLIB}" \
39667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39668 html) \
39669 || exit 1
39671 @endif target-libbacktrace
39673 .PHONY: maybe-TAGS-target-libbacktrace TAGS-target-libbacktrace
39674 maybe-TAGS-target-libbacktrace:
39675 @if target-libbacktrace
39676 maybe-TAGS-target-libbacktrace: TAGS-target-libbacktrace
39678 TAGS-target-libbacktrace: \
39679 configure-target-libbacktrace
39680 @: $(MAKE); $(unstage)
39681 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
39682 r=`${PWD_COMMAND}`; export r; \
39683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39684 $(NORMAL_TARGET_EXPORTS) \
39685 echo "Doing TAGS in $(TARGET_SUBDIR)/libbacktrace"; \
39686 for flag in $(EXTRA_TARGET_FLAGS); do \
39687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39688 done; \
39689 (cd $(TARGET_SUBDIR)/libbacktrace && \
39690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39692 "RANLIB=$${RANLIB}" \
39693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39694 TAGS) \
39695 || exit 1
39697 @endif target-libbacktrace
39699 .PHONY: maybe-install-info-target-libbacktrace install-info-target-libbacktrace
39700 maybe-install-info-target-libbacktrace:
39701 @if target-libbacktrace
39702 maybe-install-info-target-libbacktrace: install-info-target-libbacktrace
39704 install-info-target-libbacktrace: \
39705 configure-target-libbacktrace \
39706 info-target-libbacktrace
39707 @: $(MAKE); $(unstage)
39708 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
39709 r=`${PWD_COMMAND}`; export r; \
39710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39711 $(NORMAL_TARGET_EXPORTS) \
39712 echo "Doing install-info in $(TARGET_SUBDIR)/libbacktrace"; \
39713 for flag in $(EXTRA_TARGET_FLAGS); do \
39714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39715 done; \
39716 (cd $(TARGET_SUBDIR)/libbacktrace && \
39717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39719 "RANLIB=$${RANLIB}" \
39720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39721 install-info) \
39722 || exit 1
39724 @endif target-libbacktrace
39726 .PHONY: maybe-install-pdf-target-libbacktrace install-pdf-target-libbacktrace
39727 maybe-install-pdf-target-libbacktrace:
39728 @if target-libbacktrace
39729 maybe-install-pdf-target-libbacktrace: install-pdf-target-libbacktrace
39731 install-pdf-target-libbacktrace: \
39732 configure-target-libbacktrace \
39733 pdf-target-libbacktrace
39734 @: $(MAKE); $(unstage)
39735 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
39736 r=`${PWD_COMMAND}`; export r; \
39737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39738 $(NORMAL_TARGET_EXPORTS) \
39739 echo "Doing install-pdf in $(TARGET_SUBDIR)/libbacktrace"; \
39740 for flag in $(EXTRA_TARGET_FLAGS); do \
39741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39742 done; \
39743 (cd $(TARGET_SUBDIR)/libbacktrace && \
39744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39746 "RANLIB=$${RANLIB}" \
39747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39748 install-pdf) \
39749 || exit 1
39751 @endif target-libbacktrace
39753 .PHONY: maybe-install-html-target-libbacktrace install-html-target-libbacktrace
39754 maybe-install-html-target-libbacktrace:
39755 @if target-libbacktrace
39756 maybe-install-html-target-libbacktrace: install-html-target-libbacktrace
39758 install-html-target-libbacktrace: \
39759 configure-target-libbacktrace \
39760 html-target-libbacktrace
39761 @: $(MAKE); $(unstage)
39762 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
39763 r=`${PWD_COMMAND}`; export r; \
39764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39765 $(NORMAL_TARGET_EXPORTS) \
39766 echo "Doing install-html in $(TARGET_SUBDIR)/libbacktrace"; \
39767 for flag in $(EXTRA_TARGET_FLAGS); do \
39768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39769 done; \
39770 (cd $(TARGET_SUBDIR)/libbacktrace && \
39771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39773 "RANLIB=$${RANLIB}" \
39774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39775 install-html) \
39776 || exit 1
39778 @endif target-libbacktrace
39780 .PHONY: maybe-installcheck-target-libbacktrace installcheck-target-libbacktrace
39781 maybe-installcheck-target-libbacktrace:
39782 @if target-libbacktrace
39783 maybe-installcheck-target-libbacktrace: installcheck-target-libbacktrace
39785 installcheck-target-libbacktrace: \
39786 configure-target-libbacktrace
39787 @: $(MAKE); $(unstage)
39788 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
39789 r=`${PWD_COMMAND}`; export r; \
39790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39791 $(NORMAL_TARGET_EXPORTS) \
39792 echo "Doing installcheck in $(TARGET_SUBDIR)/libbacktrace"; \
39793 for flag in $(EXTRA_TARGET_FLAGS); do \
39794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39795 done; \
39796 (cd $(TARGET_SUBDIR)/libbacktrace && \
39797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39799 "RANLIB=$${RANLIB}" \
39800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39801 installcheck) \
39802 || exit 1
39804 @endif target-libbacktrace
39806 .PHONY: maybe-mostlyclean-target-libbacktrace mostlyclean-target-libbacktrace
39807 maybe-mostlyclean-target-libbacktrace:
39808 @if target-libbacktrace
39809 maybe-mostlyclean-target-libbacktrace: mostlyclean-target-libbacktrace
39811 mostlyclean-target-libbacktrace:
39812 @: $(MAKE); $(unstage)
39813 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
39814 r=`${PWD_COMMAND}`; export r; \
39815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39816 $(NORMAL_TARGET_EXPORTS) \
39817 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libbacktrace"; \
39818 for flag in $(EXTRA_TARGET_FLAGS); do \
39819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39820 done; \
39821 (cd $(TARGET_SUBDIR)/libbacktrace && \
39822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39824 "RANLIB=$${RANLIB}" \
39825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39826 mostlyclean) \
39827 || exit 1
39829 @endif target-libbacktrace
39831 .PHONY: maybe-clean-target-libbacktrace clean-target-libbacktrace
39832 maybe-clean-target-libbacktrace:
39833 @if target-libbacktrace
39834 maybe-clean-target-libbacktrace: clean-target-libbacktrace
39836 clean-target-libbacktrace:
39837 @: $(MAKE); $(unstage)
39838 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
39839 r=`${PWD_COMMAND}`; export r; \
39840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39841 $(NORMAL_TARGET_EXPORTS) \
39842 echo "Doing clean in $(TARGET_SUBDIR)/libbacktrace"; \
39843 for flag in $(EXTRA_TARGET_FLAGS); do \
39844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39845 done; \
39846 (cd $(TARGET_SUBDIR)/libbacktrace && \
39847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39849 "RANLIB=$${RANLIB}" \
39850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39851 clean) \
39852 || exit 1
39854 @endif target-libbacktrace
39856 .PHONY: maybe-distclean-target-libbacktrace distclean-target-libbacktrace
39857 maybe-distclean-target-libbacktrace:
39858 @if target-libbacktrace
39859 maybe-distclean-target-libbacktrace: distclean-target-libbacktrace
39861 distclean-target-libbacktrace:
39862 @: $(MAKE); $(unstage)
39863 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
39864 r=`${PWD_COMMAND}`; export r; \
39865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39866 $(NORMAL_TARGET_EXPORTS) \
39867 echo "Doing distclean in $(TARGET_SUBDIR)/libbacktrace"; \
39868 for flag in $(EXTRA_TARGET_FLAGS); do \
39869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39870 done; \
39871 (cd $(TARGET_SUBDIR)/libbacktrace && \
39872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39874 "RANLIB=$${RANLIB}" \
39875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39876 distclean) \
39877 || exit 1
39879 @endif target-libbacktrace
39881 .PHONY: maybe-maintainer-clean-target-libbacktrace maintainer-clean-target-libbacktrace
39882 maybe-maintainer-clean-target-libbacktrace:
39883 @if target-libbacktrace
39884 maybe-maintainer-clean-target-libbacktrace: maintainer-clean-target-libbacktrace
39886 maintainer-clean-target-libbacktrace:
39887 @: $(MAKE); $(unstage)
39888 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
39889 r=`${PWD_COMMAND}`; export r; \
39890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39891 $(NORMAL_TARGET_EXPORTS) \
39892 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libbacktrace"; \
39893 for flag in $(EXTRA_TARGET_FLAGS); do \
39894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39895 done; \
39896 (cd $(TARGET_SUBDIR)/libbacktrace && \
39897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39899 "RANLIB=$${RANLIB}" \
39900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39901 maintainer-clean) \
39902 || exit 1
39904 @endif target-libbacktrace
39910 .PHONY: configure-target-libquadmath maybe-configure-target-libquadmath
39911 maybe-configure-target-libquadmath:
39912 @if gcc-bootstrap
39913 configure-target-libquadmath: stage_current
39914 @endif gcc-bootstrap
39915 @if target-libquadmath
39916 maybe-configure-target-libquadmath: configure-target-libquadmath
39917 configure-target-libquadmath:
39918 @: $(MAKE); $(unstage)
39919 @r=`${PWD_COMMAND}`; export r; \
39920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39921 echo "Checking multilib configuration for libquadmath..."; \
39922 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath; \
39923 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libquadmath/multilib.tmp 2> /dev/null; \
39924 if test -r $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
39925 if cmp -s $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
39926 rm -f $(TARGET_SUBDIR)/libquadmath/multilib.tmp; \
39927 else \
39928 rm -f $(TARGET_SUBDIR)/libquadmath/Makefile; \
39929 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
39930 fi; \
39931 else \
39932 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
39933 fi; \
39934 test ! -f $(TARGET_SUBDIR)/libquadmath/Makefile || exit 0; \
39935 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath; \
39936 $(NORMAL_TARGET_EXPORTS) \
39937 echo Configuring in $(TARGET_SUBDIR)/libquadmath; \
39938 cd "$(TARGET_SUBDIR)/libquadmath" || exit 1; \
39939 case $(srcdir) in \
39940 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39941 *) topdir=`echo $(TARGET_SUBDIR)/libquadmath/ | \
39942 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39943 esac; \
39944 module_srcdir=libquadmath; \
39945 rm -f no-such-file || : ; \
39946 CONFIG_SITE=no-such-file $(SHELL) \
39947 $$s/$$module_srcdir/configure \
39948 --srcdir=$${topdir}/$$module_srcdir \
39949 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39950 --target=${target_alias} \
39951 || exit 1
39952 @endif target-libquadmath
39958 .PHONY: all-target-libquadmath maybe-all-target-libquadmath
39959 maybe-all-target-libquadmath:
39960 @if gcc-bootstrap
39961 all-target-libquadmath: stage_current
39962 @endif gcc-bootstrap
39963 @if target-libquadmath
39964 TARGET-target-libquadmath=all
39965 maybe-all-target-libquadmath: all-target-libquadmath
39966 all-target-libquadmath: configure-target-libquadmath
39967 @: $(MAKE); $(unstage)
39968 @r=`${PWD_COMMAND}`; export r; \
39969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39970 $(NORMAL_TARGET_EXPORTS) \
39971 (cd $(TARGET_SUBDIR)/libquadmath && \
39972 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
39973 $(TARGET-target-libquadmath))
39974 @endif target-libquadmath
39980 .PHONY: check-target-libquadmath maybe-check-target-libquadmath
39981 maybe-check-target-libquadmath:
39982 @if target-libquadmath
39983 maybe-check-target-libquadmath: check-target-libquadmath
39985 check-target-libquadmath:
39986 @: $(MAKE); $(unstage)
39987 @r=`${PWD_COMMAND}`; export r; \
39988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39989 $(NORMAL_TARGET_EXPORTS) \
39990 (cd $(TARGET_SUBDIR)/libquadmath && \
39991 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39993 @endif target-libquadmath
39995 .PHONY: install-target-libquadmath maybe-install-target-libquadmath
39996 maybe-install-target-libquadmath:
39997 @if target-libquadmath
39998 maybe-install-target-libquadmath: install-target-libquadmath
40000 install-target-libquadmath: installdirs
40001 @: $(MAKE); $(unstage)
40002 @r=`${PWD_COMMAND}`; export r; \
40003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40004 $(NORMAL_TARGET_EXPORTS) \
40005 (cd $(TARGET_SUBDIR)/libquadmath && \
40006 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40008 @endif target-libquadmath
40010 .PHONY: install-strip-target-libquadmath maybe-install-strip-target-libquadmath
40011 maybe-install-strip-target-libquadmath:
40012 @if target-libquadmath
40013 maybe-install-strip-target-libquadmath: install-strip-target-libquadmath
40015 install-strip-target-libquadmath: installdirs
40016 @: $(MAKE); $(unstage)
40017 @r=`${PWD_COMMAND}`; export r; \
40018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40019 $(NORMAL_TARGET_EXPORTS) \
40020 (cd $(TARGET_SUBDIR)/libquadmath && \
40021 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40023 @endif target-libquadmath
40025 # Other targets (info, dvi, pdf, etc.)
40027 .PHONY: maybe-info-target-libquadmath info-target-libquadmath
40028 maybe-info-target-libquadmath:
40029 @if target-libquadmath
40030 maybe-info-target-libquadmath: info-target-libquadmath
40032 info-target-libquadmath: \
40033 configure-target-libquadmath
40034 @: $(MAKE); $(unstage)
40035 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
40036 r=`${PWD_COMMAND}`; export r; \
40037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40038 $(NORMAL_TARGET_EXPORTS) \
40039 echo "Doing info in $(TARGET_SUBDIR)/libquadmath"; \
40040 for flag in $(EXTRA_TARGET_FLAGS); do \
40041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40042 done; \
40043 (cd $(TARGET_SUBDIR)/libquadmath && \
40044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40046 "RANLIB=$${RANLIB}" \
40047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40048 info) \
40049 || exit 1
40051 @endif target-libquadmath
40053 .PHONY: maybe-dvi-target-libquadmath dvi-target-libquadmath
40054 maybe-dvi-target-libquadmath:
40055 @if target-libquadmath
40056 maybe-dvi-target-libquadmath: dvi-target-libquadmath
40058 dvi-target-libquadmath: \
40059 configure-target-libquadmath
40060 @: $(MAKE); $(unstage)
40061 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
40062 r=`${PWD_COMMAND}`; export r; \
40063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40064 $(NORMAL_TARGET_EXPORTS) \
40065 echo "Doing dvi in $(TARGET_SUBDIR)/libquadmath"; \
40066 for flag in $(EXTRA_TARGET_FLAGS); do \
40067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40068 done; \
40069 (cd $(TARGET_SUBDIR)/libquadmath && \
40070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40072 "RANLIB=$${RANLIB}" \
40073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40074 dvi) \
40075 || exit 1
40077 @endif target-libquadmath
40079 .PHONY: maybe-pdf-target-libquadmath pdf-target-libquadmath
40080 maybe-pdf-target-libquadmath:
40081 @if target-libquadmath
40082 maybe-pdf-target-libquadmath: pdf-target-libquadmath
40084 pdf-target-libquadmath: \
40085 configure-target-libquadmath
40086 @: $(MAKE); $(unstage)
40087 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
40088 r=`${PWD_COMMAND}`; export r; \
40089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40090 $(NORMAL_TARGET_EXPORTS) \
40091 echo "Doing pdf in $(TARGET_SUBDIR)/libquadmath"; \
40092 for flag in $(EXTRA_TARGET_FLAGS); do \
40093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40094 done; \
40095 (cd $(TARGET_SUBDIR)/libquadmath && \
40096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40098 "RANLIB=$${RANLIB}" \
40099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40100 pdf) \
40101 || exit 1
40103 @endif target-libquadmath
40105 .PHONY: maybe-html-target-libquadmath html-target-libquadmath
40106 maybe-html-target-libquadmath:
40107 @if target-libquadmath
40108 maybe-html-target-libquadmath: html-target-libquadmath
40110 html-target-libquadmath: \
40111 configure-target-libquadmath
40112 @: $(MAKE); $(unstage)
40113 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
40114 r=`${PWD_COMMAND}`; export r; \
40115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40116 $(NORMAL_TARGET_EXPORTS) \
40117 echo "Doing html in $(TARGET_SUBDIR)/libquadmath"; \
40118 for flag in $(EXTRA_TARGET_FLAGS); do \
40119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40120 done; \
40121 (cd $(TARGET_SUBDIR)/libquadmath && \
40122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40124 "RANLIB=$${RANLIB}" \
40125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40126 html) \
40127 || exit 1
40129 @endif target-libquadmath
40131 .PHONY: maybe-TAGS-target-libquadmath TAGS-target-libquadmath
40132 maybe-TAGS-target-libquadmath:
40133 @if target-libquadmath
40134 maybe-TAGS-target-libquadmath: TAGS-target-libquadmath
40136 TAGS-target-libquadmath: \
40137 configure-target-libquadmath
40138 @: $(MAKE); $(unstage)
40139 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
40140 r=`${PWD_COMMAND}`; export r; \
40141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40142 $(NORMAL_TARGET_EXPORTS) \
40143 echo "Doing TAGS in $(TARGET_SUBDIR)/libquadmath"; \
40144 for flag in $(EXTRA_TARGET_FLAGS); do \
40145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40146 done; \
40147 (cd $(TARGET_SUBDIR)/libquadmath && \
40148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40150 "RANLIB=$${RANLIB}" \
40151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40152 TAGS) \
40153 || exit 1
40155 @endif target-libquadmath
40157 .PHONY: maybe-install-info-target-libquadmath install-info-target-libquadmath
40158 maybe-install-info-target-libquadmath:
40159 @if target-libquadmath
40160 maybe-install-info-target-libquadmath: install-info-target-libquadmath
40162 install-info-target-libquadmath: \
40163 configure-target-libquadmath \
40164 info-target-libquadmath
40165 @: $(MAKE); $(unstage)
40166 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
40167 r=`${PWD_COMMAND}`; export r; \
40168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40169 $(NORMAL_TARGET_EXPORTS) \
40170 echo "Doing install-info in $(TARGET_SUBDIR)/libquadmath"; \
40171 for flag in $(EXTRA_TARGET_FLAGS); do \
40172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40173 done; \
40174 (cd $(TARGET_SUBDIR)/libquadmath && \
40175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40177 "RANLIB=$${RANLIB}" \
40178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40179 install-info) \
40180 || exit 1
40182 @endif target-libquadmath
40184 .PHONY: maybe-install-pdf-target-libquadmath install-pdf-target-libquadmath
40185 maybe-install-pdf-target-libquadmath:
40186 @if target-libquadmath
40187 maybe-install-pdf-target-libquadmath: install-pdf-target-libquadmath
40189 install-pdf-target-libquadmath: \
40190 configure-target-libquadmath \
40191 pdf-target-libquadmath
40192 @: $(MAKE); $(unstage)
40193 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
40194 r=`${PWD_COMMAND}`; export r; \
40195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40196 $(NORMAL_TARGET_EXPORTS) \
40197 echo "Doing install-pdf in $(TARGET_SUBDIR)/libquadmath"; \
40198 for flag in $(EXTRA_TARGET_FLAGS); do \
40199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40200 done; \
40201 (cd $(TARGET_SUBDIR)/libquadmath && \
40202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40204 "RANLIB=$${RANLIB}" \
40205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40206 install-pdf) \
40207 || exit 1
40209 @endif target-libquadmath
40211 .PHONY: maybe-install-html-target-libquadmath install-html-target-libquadmath
40212 maybe-install-html-target-libquadmath:
40213 @if target-libquadmath
40214 maybe-install-html-target-libquadmath: install-html-target-libquadmath
40216 install-html-target-libquadmath: \
40217 configure-target-libquadmath \
40218 html-target-libquadmath
40219 @: $(MAKE); $(unstage)
40220 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
40221 r=`${PWD_COMMAND}`; export r; \
40222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40223 $(NORMAL_TARGET_EXPORTS) \
40224 echo "Doing install-html in $(TARGET_SUBDIR)/libquadmath"; \
40225 for flag in $(EXTRA_TARGET_FLAGS); do \
40226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40227 done; \
40228 (cd $(TARGET_SUBDIR)/libquadmath && \
40229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40231 "RANLIB=$${RANLIB}" \
40232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40233 install-html) \
40234 || exit 1
40236 @endif target-libquadmath
40238 .PHONY: maybe-installcheck-target-libquadmath installcheck-target-libquadmath
40239 maybe-installcheck-target-libquadmath:
40240 @if target-libquadmath
40241 maybe-installcheck-target-libquadmath: installcheck-target-libquadmath
40243 installcheck-target-libquadmath: \
40244 configure-target-libquadmath
40245 @: $(MAKE); $(unstage)
40246 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
40247 r=`${PWD_COMMAND}`; export r; \
40248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40249 $(NORMAL_TARGET_EXPORTS) \
40250 echo "Doing installcheck in $(TARGET_SUBDIR)/libquadmath"; \
40251 for flag in $(EXTRA_TARGET_FLAGS); do \
40252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40253 done; \
40254 (cd $(TARGET_SUBDIR)/libquadmath && \
40255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40257 "RANLIB=$${RANLIB}" \
40258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40259 installcheck) \
40260 || exit 1
40262 @endif target-libquadmath
40264 .PHONY: maybe-mostlyclean-target-libquadmath mostlyclean-target-libquadmath
40265 maybe-mostlyclean-target-libquadmath:
40266 @if target-libquadmath
40267 maybe-mostlyclean-target-libquadmath: mostlyclean-target-libquadmath
40269 mostlyclean-target-libquadmath:
40270 @: $(MAKE); $(unstage)
40271 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
40272 r=`${PWD_COMMAND}`; export r; \
40273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40274 $(NORMAL_TARGET_EXPORTS) \
40275 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libquadmath"; \
40276 for flag in $(EXTRA_TARGET_FLAGS); do \
40277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40278 done; \
40279 (cd $(TARGET_SUBDIR)/libquadmath && \
40280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40282 "RANLIB=$${RANLIB}" \
40283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40284 mostlyclean) \
40285 || exit 1
40287 @endif target-libquadmath
40289 .PHONY: maybe-clean-target-libquadmath clean-target-libquadmath
40290 maybe-clean-target-libquadmath:
40291 @if target-libquadmath
40292 maybe-clean-target-libquadmath: clean-target-libquadmath
40294 clean-target-libquadmath:
40295 @: $(MAKE); $(unstage)
40296 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
40297 r=`${PWD_COMMAND}`; export r; \
40298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40299 $(NORMAL_TARGET_EXPORTS) \
40300 echo "Doing clean in $(TARGET_SUBDIR)/libquadmath"; \
40301 for flag in $(EXTRA_TARGET_FLAGS); do \
40302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40303 done; \
40304 (cd $(TARGET_SUBDIR)/libquadmath && \
40305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40307 "RANLIB=$${RANLIB}" \
40308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40309 clean) \
40310 || exit 1
40312 @endif target-libquadmath
40314 .PHONY: maybe-distclean-target-libquadmath distclean-target-libquadmath
40315 maybe-distclean-target-libquadmath:
40316 @if target-libquadmath
40317 maybe-distclean-target-libquadmath: distclean-target-libquadmath
40319 distclean-target-libquadmath:
40320 @: $(MAKE); $(unstage)
40321 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
40322 r=`${PWD_COMMAND}`; export r; \
40323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40324 $(NORMAL_TARGET_EXPORTS) \
40325 echo "Doing distclean in $(TARGET_SUBDIR)/libquadmath"; \
40326 for flag in $(EXTRA_TARGET_FLAGS); do \
40327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40328 done; \
40329 (cd $(TARGET_SUBDIR)/libquadmath && \
40330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40332 "RANLIB=$${RANLIB}" \
40333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40334 distclean) \
40335 || exit 1
40337 @endif target-libquadmath
40339 .PHONY: maybe-maintainer-clean-target-libquadmath maintainer-clean-target-libquadmath
40340 maybe-maintainer-clean-target-libquadmath:
40341 @if target-libquadmath
40342 maybe-maintainer-clean-target-libquadmath: maintainer-clean-target-libquadmath
40344 maintainer-clean-target-libquadmath:
40345 @: $(MAKE); $(unstage)
40346 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
40347 r=`${PWD_COMMAND}`; export r; \
40348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40349 $(NORMAL_TARGET_EXPORTS) \
40350 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libquadmath"; \
40351 for flag in $(EXTRA_TARGET_FLAGS); do \
40352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40353 done; \
40354 (cd $(TARGET_SUBDIR)/libquadmath && \
40355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40357 "RANLIB=$${RANLIB}" \
40358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40359 maintainer-clean) \
40360 || exit 1
40362 @endif target-libquadmath
40368 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
40369 maybe-configure-target-libgfortran:
40370 @if gcc-bootstrap
40371 configure-target-libgfortran: stage_current
40372 @endif gcc-bootstrap
40373 @if target-libgfortran
40374 maybe-configure-target-libgfortran: configure-target-libgfortran
40375 configure-target-libgfortran:
40376 @: $(MAKE); $(unstage)
40377 @r=`${PWD_COMMAND}`; export r; \
40378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40379 echo "Checking multilib configuration for libgfortran..."; \
40380 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran; \
40381 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null; \
40382 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
40383 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
40384 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
40385 else \
40386 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
40387 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
40388 fi; \
40389 else \
40390 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
40391 fi; \
40392 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
40393 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran; \
40394 $(NORMAL_TARGET_EXPORTS) \
40395 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
40396 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
40397 case $(srcdir) in \
40398 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40399 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
40400 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40401 esac; \
40402 module_srcdir=libgfortran; \
40403 rm -f no-such-file || : ; \
40404 CONFIG_SITE=no-such-file $(SHELL) \
40405 $$s/$$module_srcdir/configure \
40406 --srcdir=$${topdir}/$$module_srcdir \
40407 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40408 --target=${target_alias} \
40409 || exit 1
40410 @endif target-libgfortran
40416 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
40417 maybe-all-target-libgfortran:
40418 @if gcc-bootstrap
40419 all-target-libgfortran: stage_current
40420 @endif gcc-bootstrap
40421 @if target-libgfortran
40422 TARGET-target-libgfortran=all
40423 maybe-all-target-libgfortran: all-target-libgfortran
40424 all-target-libgfortran: configure-target-libgfortran
40425 @: $(MAKE); $(unstage)
40426 @r=`${PWD_COMMAND}`; export r; \
40427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40428 $(NORMAL_TARGET_EXPORTS) \
40429 (cd $(TARGET_SUBDIR)/libgfortran && \
40430 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
40431 $(TARGET-target-libgfortran))
40432 @endif target-libgfortran
40438 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
40439 maybe-check-target-libgfortran:
40440 @if target-libgfortran
40441 maybe-check-target-libgfortran: check-target-libgfortran
40443 check-target-libgfortran:
40444 @: $(MAKE); $(unstage)
40445 @r=`${PWD_COMMAND}`; export r; \
40446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40447 $(NORMAL_TARGET_EXPORTS) \
40448 (cd $(TARGET_SUBDIR)/libgfortran && \
40449 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40451 @endif target-libgfortran
40453 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
40454 maybe-install-target-libgfortran:
40455 @if target-libgfortran
40456 maybe-install-target-libgfortran: install-target-libgfortran
40458 install-target-libgfortran: installdirs
40459 @: $(MAKE); $(unstage)
40460 @r=`${PWD_COMMAND}`; export r; \
40461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40462 $(NORMAL_TARGET_EXPORTS) \
40463 (cd $(TARGET_SUBDIR)/libgfortran && \
40464 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40466 @endif target-libgfortran
40468 .PHONY: install-strip-target-libgfortran maybe-install-strip-target-libgfortran
40469 maybe-install-strip-target-libgfortran:
40470 @if target-libgfortran
40471 maybe-install-strip-target-libgfortran: install-strip-target-libgfortran
40473 install-strip-target-libgfortran: installdirs
40474 @: $(MAKE); $(unstage)
40475 @r=`${PWD_COMMAND}`; export r; \
40476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40477 $(NORMAL_TARGET_EXPORTS) \
40478 (cd $(TARGET_SUBDIR)/libgfortran && \
40479 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40481 @endif target-libgfortran
40483 # Other targets (info, dvi, pdf, etc.)
40485 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
40486 maybe-info-target-libgfortran:
40487 @if target-libgfortran
40488 maybe-info-target-libgfortran: info-target-libgfortran
40490 info-target-libgfortran: \
40491 configure-target-libgfortran
40492 @: $(MAKE); $(unstage)
40493 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
40494 r=`${PWD_COMMAND}`; export r; \
40495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40496 $(NORMAL_TARGET_EXPORTS) \
40497 echo "Doing info in $(TARGET_SUBDIR)/libgfortran"; \
40498 for flag in $(EXTRA_TARGET_FLAGS); do \
40499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40500 done; \
40501 (cd $(TARGET_SUBDIR)/libgfortran && \
40502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40504 "RANLIB=$${RANLIB}" \
40505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40506 info) \
40507 || exit 1
40509 @endif target-libgfortran
40511 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
40512 maybe-dvi-target-libgfortran:
40513 @if target-libgfortran
40514 maybe-dvi-target-libgfortran: dvi-target-libgfortran
40516 dvi-target-libgfortran: \
40517 configure-target-libgfortran
40518 @: $(MAKE); $(unstage)
40519 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
40520 r=`${PWD_COMMAND}`; export r; \
40521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40522 $(NORMAL_TARGET_EXPORTS) \
40523 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran"; \
40524 for flag in $(EXTRA_TARGET_FLAGS); do \
40525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40526 done; \
40527 (cd $(TARGET_SUBDIR)/libgfortran && \
40528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40530 "RANLIB=$${RANLIB}" \
40531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40532 dvi) \
40533 || exit 1
40535 @endif target-libgfortran
40537 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
40538 maybe-pdf-target-libgfortran:
40539 @if target-libgfortran
40540 maybe-pdf-target-libgfortran: pdf-target-libgfortran
40542 pdf-target-libgfortran: \
40543 configure-target-libgfortran
40544 @: $(MAKE); $(unstage)
40545 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
40546 r=`${PWD_COMMAND}`; export r; \
40547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40548 $(NORMAL_TARGET_EXPORTS) \
40549 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran"; \
40550 for flag in $(EXTRA_TARGET_FLAGS); do \
40551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40552 done; \
40553 (cd $(TARGET_SUBDIR)/libgfortran && \
40554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40556 "RANLIB=$${RANLIB}" \
40557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40558 pdf) \
40559 || exit 1
40561 @endif target-libgfortran
40563 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
40564 maybe-html-target-libgfortran:
40565 @if target-libgfortran
40566 maybe-html-target-libgfortran: html-target-libgfortran
40568 html-target-libgfortran: \
40569 configure-target-libgfortran
40570 @: $(MAKE); $(unstage)
40571 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
40572 r=`${PWD_COMMAND}`; export r; \
40573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40574 $(NORMAL_TARGET_EXPORTS) \
40575 echo "Doing html in $(TARGET_SUBDIR)/libgfortran"; \
40576 for flag in $(EXTRA_TARGET_FLAGS); do \
40577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40578 done; \
40579 (cd $(TARGET_SUBDIR)/libgfortran && \
40580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40582 "RANLIB=$${RANLIB}" \
40583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40584 html) \
40585 || exit 1
40587 @endif target-libgfortran
40589 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
40590 maybe-TAGS-target-libgfortran:
40591 @if target-libgfortran
40592 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
40594 TAGS-target-libgfortran: \
40595 configure-target-libgfortran
40596 @: $(MAKE); $(unstage)
40597 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
40598 r=`${PWD_COMMAND}`; export r; \
40599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40600 $(NORMAL_TARGET_EXPORTS) \
40601 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran"; \
40602 for flag in $(EXTRA_TARGET_FLAGS); do \
40603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40604 done; \
40605 (cd $(TARGET_SUBDIR)/libgfortran && \
40606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40608 "RANLIB=$${RANLIB}" \
40609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40610 TAGS) \
40611 || exit 1
40613 @endif target-libgfortran
40615 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
40616 maybe-install-info-target-libgfortran:
40617 @if target-libgfortran
40618 maybe-install-info-target-libgfortran: install-info-target-libgfortran
40620 install-info-target-libgfortran: \
40621 configure-target-libgfortran \
40622 info-target-libgfortran
40623 @: $(MAKE); $(unstage)
40624 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
40625 r=`${PWD_COMMAND}`; export r; \
40626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40627 $(NORMAL_TARGET_EXPORTS) \
40628 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran"; \
40629 for flag in $(EXTRA_TARGET_FLAGS); do \
40630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40631 done; \
40632 (cd $(TARGET_SUBDIR)/libgfortran && \
40633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40635 "RANLIB=$${RANLIB}" \
40636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40637 install-info) \
40638 || exit 1
40640 @endif target-libgfortran
40642 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
40643 maybe-install-pdf-target-libgfortran:
40644 @if target-libgfortran
40645 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
40647 install-pdf-target-libgfortran: \
40648 configure-target-libgfortran \
40649 pdf-target-libgfortran
40650 @: $(MAKE); $(unstage)
40651 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
40652 r=`${PWD_COMMAND}`; export r; \
40653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40654 $(NORMAL_TARGET_EXPORTS) \
40655 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran"; \
40656 for flag in $(EXTRA_TARGET_FLAGS); do \
40657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40658 done; \
40659 (cd $(TARGET_SUBDIR)/libgfortran && \
40660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40662 "RANLIB=$${RANLIB}" \
40663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40664 install-pdf) \
40665 || exit 1
40667 @endif target-libgfortran
40669 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
40670 maybe-install-html-target-libgfortran:
40671 @if target-libgfortran
40672 maybe-install-html-target-libgfortran: install-html-target-libgfortran
40674 install-html-target-libgfortran: \
40675 configure-target-libgfortran \
40676 html-target-libgfortran
40677 @: $(MAKE); $(unstage)
40678 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
40679 r=`${PWD_COMMAND}`; export r; \
40680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40681 $(NORMAL_TARGET_EXPORTS) \
40682 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran"; \
40683 for flag in $(EXTRA_TARGET_FLAGS); do \
40684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40685 done; \
40686 (cd $(TARGET_SUBDIR)/libgfortran && \
40687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40689 "RANLIB=$${RANLIB}" \
40690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40691 install-html) \
40692 || exit 1
40694 @endif target-libgfortran
40696 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
40697 maybe-installcheck-target-libgfortran:
40698 @if target-libgfortran
40699 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
40701 installcheck-target-libgfortran: \
40702 configure-target-libgfortran
40703 @: $(MAKE); $(unstage)
40704 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
40705 r=`${PWD_COMMAND}`; export r; \
40706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40707 $(NORMAL_TARGET_EXPORTS) \
40708 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran"; \
40709 for flag in $(EXTRA_TARGET_FLAGS); do \
40710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40711 done; \
40712 (cd $(TARGET_SUBDIR)/libgfortran && \
40713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40715 "RANLIB=$${RANLIB}" \
40716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40717 installcheck) \
40718 || exit 1
40720 @endif target-libgfortran
40722 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
40723 maybe-mostlyclean-target-libgfortran:
40724 @if target-libgfortran
40725 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
40727 mostlyclean-target-libgfortran:
40728 @: $(MAKE); $(unstage)
40729 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
40730 r=`${PWD_COMMAND}`; export r; \
40731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40732 $(NORMAL_TARGET_EXPORTS) \
40733 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran"; \
40734 for flag in $(EXTRA_TARGET_FLAGS); do \
40735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40736 done; \
40737 (cd $(TARGET_SUBDIR)/libgfortran && \
40738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40740 "RANLIB=$${RANLIB}" \
40741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40742 mostlyclean) \
40743 || exit 1
40745 @endif target-libgfortran
40747 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
40748 maybe-clean-target-libgfortran:
40749 @if target-libgfortran
40750 maybe-clean-target-libgfortran: clean-target-libgfortran
40752 clean-target-libgfortran:
40753 @: $(MAKE); $(unstage)
40754 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
40755 r=`${PWD_COMMAND}`; export r; \
40756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40757 $(NORMAL_TARGET_EXPORTS) \
40758 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran"; \
40759 for flag in $(EXTRA_TARGET_FLAGS); do \
40760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40761 done; \
40762 (cd $(TARGET_SUBDIR)/libgfortran && \
40763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40765 "RANLIB=$${RANLIB}" \
40766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40767 clean) \
40768 || exit 1
40770 @endif target-libgfortran
40772 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
40773 maybe-distclean-target-libgfortran:
40774 @if target-libgfortran
40775 maybe-distclean-target-libgfortran: distclean-target-libgfortran
40777 distclean-target-libgfortran:
40778 @: $(MAKE); $(unstage)
40779 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
40780 r=`${PWD_COMMAND}`; export r; \
40781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40782 $(NORMAL_TARGET_EXPORTS) \
40783 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran"; \
40784 for flag in $(EXTRA_TARGET_FLAGS); do \
40785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40786 done; \
40787 (cd $(TARGET_SUBDIR)/libgfortran && \
40788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40790 "RANLIB=$${RANLIB}" \
40791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40792 distclean) \
40793 || exit 1
40795 @endif target-libgfortran
40797 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
40798 maybe-maintainer-clean-target-libgfortran:
40799 @if target-libgfortran
40800 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
40802 maintainer-clean-target-libgfortran:
40803 @: $(MAKE); $(unstage)
40804 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
40805 r=`${PWD_COMMAND}`; export r; \
40806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40807 $(NORMAL_TARGET_EXPORTS) \
40808 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran"; \
40809 for flag in $(EXTRA_TARGET_FLAGS); do \
40810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40811 done; \
40812 (cd $(TARGET_SUBDIR)/libgfortran && \
40813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40815 "RANLIB=$${RANLIB}" \
40816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40817 maintainer-clean) \
40818 || exit 1
40820 @endif target-libgfortran
40826 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
40827 maybe-configure-target-libobjc:
40828 @if gcc-bootstrap
40829 configure-target-libobjc: stage_current
40830 @endif gcc-bootstrap
40831 @if target-libobjc
40832 maybe-configure-target-libobjc: configure-target-libobjc
40833 configure-target-libobjc:
40834 @: $(MAKE); $(unstage)
40835 @r=`${PWD_COMMAND}`; export r; \
40836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40837 echo "Checking multilib configuration for libobjc..."; \
40838 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc; \
40839 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null; \
40840 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
40841 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
40842 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
40843 else \
40844 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
40845 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
40846 fi; \
40847 else \
40848 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
40849 fi; \
40850 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
40851 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc; \
40852 $(NORMAL_TARGET_EXPORTS) \
40853 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
40854 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
40855 case $(srcdir) in \
40856 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40857 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
40858 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40859 esac; \
40860 module_srcdir=libobjc; \
40861 rm -f no-such-file || : ; \
40862 CONFIG_SITE=no-such-file $(SHELL) \
40863 $$s/$$module_srcdir/configure \
40864 --srcdir=$${topdir}/$$module_srcdir \
40865 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40866 --target=${target_alias} \
40867 || exit 1
40868 @endif target-libobjc
40874 .PHONY: all-target-libobjc maybe-all-target-libobjc
40875 maybe-all-target-libobjc:
40876 @if gcc-bootstrap
40877 all-target-libobjc: stage_current
40878 @endif gcc-bootstrap
40879 @if target-libobjc
40880 TARGET-target-libobjc=all
40881 maybe-all-target-libobjc: all-target-libobjc
40882 all-target-libobjc: configure-target-libobjc
40883 @: $(MAKE); $(unstage)
40884 @r=`${PWD_COMMAND}`; export r; \
40885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40886 $(NORMAL_TARGET_EXPORTS) \
40887 (cd $(TARGET_SUBDIR)/libobjc && \
40888 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
40889 $(TARGET-target-libobjc))
40890 @endif target-libobjc
40896 .PHONY: check-target-libobjc maybe-check-target-libobjc
40897 maybe-check-target-libobjc:
40898 @if target-libobjc
40899 maybe-check-target-libobjc: check-target-libobjc
40901 check-target-libobjc:
40902 @: $(MAKE); $(unstage)
40903 @r=`${PWD_COMMAND}`; export r; \
40904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40905 $(NORMAL_TARGET_EXPORTS) \
40906 (cd $(TARGET_SUBDIR)/libobjc && \
40907 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40909 @endif target-libobjc
40911 .PHONY: install-target-libobjc maybe-install-target-libobjc
40912 maybe-install-target-libobjc:
40913 @if target-libobjc
40914 maybe-install-target-libobjc: install-target-libobjc
40916 install-target-libobjc: installdirs
40917 @: $(MAKE); $(unstage)
40918 @r=`${PWD_COMMAND}`; export r; \
40919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40920 $(NORMAL_TARGET_EXPORTS) \
40921 (cd $(TARGET_SUBDIR)/libobjc && \
40922 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40924 @endif target-libobjc
40926 .PHONY: install-strip-target-libobjc maybe-install-strip-target-libobjc
40927 maybe-install-strip-target-libobjc:
40928 @if target-libobjc
40929 maybe-install-strip-target-libobjc: install-strip-target-libobjc
40931 install-strip-target-libobjc: installdirs
40932 @: $(MAKE); $(unstage)
40933 @r=`${PWD_COMMAND}`; export r; \
40934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40935 $(NORMAL_TARGET_EXPORTS) \
40936 (cd $(TARGET_SUBDIR)/libobjc && \
40937 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40939 @endif target-libobjc
40941 # Other targets (info, dvi, pdf, etc.)
40943 .PHONY: maybe-info-target-libobjc info-target-libobjc
40944 maybe-info-target-libobjc:
40945 @if target-libobjc
40946 maybe-info-target-libobjc: info-target-libobjc
40948 info-target-libobjc: \
40949 configure-target-libobjc
40950 @: $(MAKE); $(unstage)
40951 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
40952 r=`${PWD_COMMAND}`; export r; \
40953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40954 $(NORMAL_TARGET_EXPORTS) \
40955 echo "Doing info in $(TARGET_SUBDIR)/libobjc"; \
40956 for flag in $(EXTRA_TARGET_FLAGS); do \
40957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40958 done; \
40959 (cd $(TARGET_SUBDIR)/libobjc && \
40960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40962 "RANLIB=$${RANLIB}" \
40963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40964 info) \
40965 || exit 1
40967 @endif target-libobjc
40969 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
40970 maybe-dvi-target-libobjc:
40971 @if target-libobjc
40972 maybe-dvi-target-libobjc: dvi-target-libobjc
40974 dvi-target-libobjc: \
40975 configure-target-libobjc
40976 @: $(MAKE); $(unstage)
40977 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
40978 r=`${PWD_COMMAND}`; export r; \
40979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40980 $(NORMAL_TARGET_EXPORTS) \
40981 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc"; \
40982 for flag in $(EXTRA_TARGET_FLAGS); do \
40983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40984 done; \
40985 (cd $(TARGET_SUBDIR)/libobjc && \
40986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40988 "RANLIB=$${RANLIB}" \
40989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40990 dvi) \
40991 || exit 1
40993 @endif target-libobjc
40995 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
40996 maybe-pdf-target-libobjc:
40997 @if target-libobjc
40998 maybe-pdf-target-libobjc: pdf-target-libobjc
41000 pdf-target-libobjc: \
41001 configure-target-libobjc
41002 @: $(MAKE); $(unstage)
41003 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
41004 r=`${PWD_COMMAND}`; export r; \
41005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41006 $(NORMAL_TARGET_EXPORTS) \
41007 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc"; \
41008 for flag in $(EXTRA_TARGET_FLAGS); do \
41009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41010 done; \
41011 (cd $(TARGET_SUBDIR)/libobjc && \
41012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41014 "RANLIB=$${RANLIB}" \
41015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41016 pdf) \
41017 || exit 1
41019 @endif target-libobjc
41021 .PHONY: maybe-html-target-libobjc html-target-libobjc
41022 maybe-html-target-libobjc:
41023 @if target-libobjc
41024 maybe-html-target-libobjc: html-target-libobjc
41026 html-target-libobjc: \
41027 configure-target-libobjc
41028 @: $(MAKE); $(unstage)
41029 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
41030 r=`${PWD_COMMAND}`; export r; \
41031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41032 $(NORMAL_TARGET_EXPORTS) \
41033 echo "Doing html in $(TARGET_SUBDIR)/libobjc"; \
41034 for flag in $(EXTRA_TARGET_FLAGS); do \
41035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41036 done; \
41037 (cd $(TARGET_SUBDIR)/libobjc && \
41038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41040 "RANLIB=$${RANLIB}" \
41041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41042 html) \
41043 || exit 1
41045 @endif target-libobjc
41047 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
41048 maybe-TAGS-target-libobjc:
41049 @if target-libobjc
41050 maybe-TAGS-target-libobjc: TAGS-target-libobjc
41052 TAGS-target-libobjc: \
41053 configure-target-libobjc
41054 @: $(MAKE); $(unstage)
41055 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
41056 r=`${PWD_COMMAND}`; export r; \
41057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41058 $(NORMAL_TARGET_EXPORTS) \
41059 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc"; \
41060 for flag in $(EXTRA_TARGET_FLAGS); do \
41061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41062 done; \
41063 (cd $(TARGET_SUBDIR)/libobjc && \
41064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41066 "RANLIB=$${RANLIB}" \
41067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41068 TAGS) \
41069 || exit 1
41071 @endif target-libobjc
41073 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
41074 maybe-install-info-target-libobjc:
41075 @if target-libobjc
41076 maybe-install-info-target-libobjc: install-info-target-libobjc
41078 install-info-target-libobjc: \
41079 configure-target-libobjc \
41080 info-target-libobjc
41081 @: $(MAKE); $(unstage)
41082 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
41083 r=`${PWD_COMMAND}`; export r; \
41084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41085 $(NORMAL_TARGET_EXPORTS) \
41086 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc"; \
41087 for flag in $(EXTRA_TARGET_FLAGS); do \
41088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41089 done; \
41090 (cd $(TARGET_SUBDIR)/libobjc && \
41091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41093 "RANLIB=$${RANLIB}" \
41094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41095 install-info) \
41096 || exit 1
41098 @endif target-libobjc
41100 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
41101 maybe-install-pdf-target-libobjc:
41102 @if target-libobjc
41103 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
41105 install-pdf-target-libobjc: \
41106 configure-target-libobjc \
41107 pdf-target-libobjc
41108 @: $(MAKE); $(unstage)
41109 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
41110 r=`${PWD_COMMAND}`; export r; \
41111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41112 $(NORMAL_TARGET_EXPORTS) \
41113 echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc"; \
41114 for flag in $(EXTRA_TARGET_FLAGS); do \
41115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41116 done; \
41117 (cd $(TARGET_SUBDIR)/libobjc && \
41118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41120 "RANLIB=$${RANLIB}" \
41121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41122 install-pdf) \
41123 || exit 1
41125 @endif target-libobjc
41127 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
41128 maybe-install-html-target-libobjc:
41129 @if target-libobjc
41130 maybe-install-html-target-libobjc: install-html-target-libobjc
41132 install-html-target-libobjc: \
41133 configure-target-libobjc \
41134 html-target-libobjc
41135 @: $(MAKE); $(unstage)
41136 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
41137 r=`${PWD_COMMAND}`; export r; \
41138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41139 $(NORMAL_TARGET_EXPORTS) \
41140 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc"; \
41141 for flag in $(EXTRA_TARGET_FLAGS); do \
41142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41143 done; \
41144 (cd $(TARGET_SUBDIR)/libobjc && \
41145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41147 "RANLIB=$${RANLIB}" \
41148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41149 install-html) \
41150 || exit 1
41152 @endif target-libobjc
41154 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
41155 maybe-installcheck-target-libobjc:
41156 @if target-libobjc
41157 maybe-installcheck-target-libobjc: installcheck-target-libobjc
41159 installcheck-target-libobjc: \
41160 configure-target-libobjc
41161 @: $(MAKE); $(unstage)
41162 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
41163 r=`${PWD_COMMAND}`; export r; \
41164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41165 $(NORMAL_TARGET_EXPORTS) \
41166 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc"; \
41167 for flag in $(EXTRA_TARGET_FLAGS); do \
41168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41169 done; \
41170 (cd $(TARGET_SUBDIR)/libobjc && \
41171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41173 "RANLIB=$${RANLIB}" \
41174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41175 installcheck) \
41176 || exit 1
41178 @endif target-libobjc
41180 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
41181 maybe-mostlyclean-target-libobjc:
41182 @if target-libobjc
41183 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
41185 mostlyclean-target-libobjc:
41186 @: $(MAKE); $(unstage)
41187 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
41188 r=`${PWD_COMMAND}`; export r; \
41189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41190 $(NORMAL_TARGET_EXPORTS) \
41191 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc"; \
41192 for flag in $(EXTRA_TARGET_FLAGS); do \
41193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41194 done; \
41195 (cd $(TARGET_SUBDIR)/libobjc && \
41196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41198 "RANLIB=$${RANLIB}" \
41199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41200 mostlyclean) \
41201 || exit 1
41203 @endif target-libobjc
41205 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
41206 maybe-clean-target-libobjc:
41207 @if target-libobjc
41208 maybe-clean-target-libobjc: clean-target-libobjc
41210 clean-target-libobjc:
41211 @: $(MAKE); $(unstage)
41212 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
41213 r=`${PWD_COMMAND}`; export r; \
41214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41215 $(NORMAL_TARGET_EXPORTS) \
41216 echo "Doing clean in $(TARGET_SUBDIR)/libobjc"; \
41217 for flag in $(EXTRA_TARGET_FLAGS); do \
41218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41219 done; \
41220 (cd $(TARGET_SUBDIR)/libobjc && \
41221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41223 "RANLIB=$${RANLIB}" \
41224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41225 clean) \
41226 || exit 1
41228 @endif target-libobjc
41230 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
41231 maybe-distclean-target-libobjc:
41232 @if target-libobjc
41233 maybe-distclean-target-libobjc: distclean-target-libobjc
41235 distclean-target-libobjc:
41236 @: $(MAKE); $(unstage)
41237 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
41238 r=`${PWD_COMMAND}`; export r; \
41239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41240 $(NORMAL_TARGET_EXPORTS) \
41241 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc"; \
41242 for flag in $(EXTRA_TARGET_FLAGS); do \
41243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41244 done; \
41245 (cd $(TARGET_SUBDIR)/libobjc && \
41246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41248 "RANLIB=$${RANLIB}" \
41249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41250 distclean) \
41251 || exit 1
41253 @endif target-libobjc
41255 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
41256 maybe-maintainer-clean-target-libobjc:
41257 @if target-libobjc
41258 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
41260 maintainer-clean-target-libobjc:
41261 @: $(MAKE); $(unstage)
41262 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
41263 r=`${PWD_COMMAND}`; export r; \
41264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41265 $(NORMAL_TARGET_EXPORTS) \
41266 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc"; \
41267 for flag in $(EXTRA_TARGET_FLAGS); do \
41268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41269 done; \
41270 (cd $(TARGET_SUBDIR)/libobjc && \
41271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41273 "RANLIB=$${RANLIB}" \
41274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41275 maintainer-clean) \
41276 || exit 1
41278 @endif target-libobjc
41284 .PHONY: configure-target-libgo maybe-configure-target-libgo
41285 maybe-configure-target-libgo:
41286 @if gcc-bootstrap
41287 configure-target-libgo: stage_current
41288 @endif gcc-bootstrap
41289 @if target-libgo
41290 maybe-configure-target-libgo: configure-target-libgo
41291 configure-target-libgo:
41292 @: $(MAKE); $(unstage)
41293 @r=`${PWD_COMMAND}`; export r; \
41294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41295 echo "Checking multilib configuration for libgo..."; \
41296 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo; \
41297 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgo/multilib.tmp 2> /dev/null; \
41298 if test -r $(TARGET_SUBDIR)/libgo/multilib.out; then \
41299 if cmp -s $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; then \
41300 rm -f $(TARGET_SUBDIR)/libgo/multilib.tmp; \
41301 else \
41302 rm -f $(TARGET_SUBDIR)/libgo/Makefile; \
41303 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
41304 fi; \
41305 else \
41306 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
41307 fi; \
41308 test ! -f $(TARGET_SUBDIR)/libgo/Makefile || exit 0; \
41309 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo; \
41310 $(NORMAL_TARGET_EXPORTS) \
41311 echo Configuring in $(TARGET_SUBDIR)/libgo; \
41312 cd "$(TARGET_SUBDIR)/libgo" || exit 1; \
41313 case $(srcdir) in \
41314 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41315 *) topdir=`echo $(TARGET_SUBDIR)/libgo/ | \
41316 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41317 esac; \
41318 module_srcdir=libgo; \
41319 rm -f no-such-file || : ; \
41320 CONFIG_SITE=no-such-file $(SHELL) \
41321 $$s/$$module_srcdir/configure \
41322 --srcdir=$${topdir}/$$module_srcdir \
41323 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41324 --target=${target_alias} \
41325 || exit 1
41326 @endif target-libgo
41332 .PHONY: all-target-libgo maybe-all-target-libgo
41333 maybe-all-target-libgo:
41334 @if gcc-bootstrap
41335 all-target-libgo: stage_current
41336 @endif gcc-bootstrap
41337 @if target-libgo
41338 TARGET-target-libgo=all
41339 maybe-all-target-libgo: all-target-libgo
41340 all-target-libgo: configure-target-libgo
41341 @: $(MAKE); $(unstage)
41342 @r=`${PWD_COMMAND}`; export r; \
41343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41344 $(NORMAL_TARGET_EXPORTS) \
41345 (cd $(TARGET_SUBDIR)/libgo && \
41346 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
41347 $(TARGET-target-libgo))
41348 @endif target-libgo
41354 .PHONY: check-target-libgo maybe-check-target-libgo
41355 maybe-check-target-libgo:
41356 @if target-libgo
41357 maybe-check-target-libgo: check-target-libgo
41359 check-target-libgo:
41360 @: $(MAKE); $(unstage)
41361 @r=`${PWD_COMMAND}`; export r; \
41362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41363 $(NORMAL_TARGET_EXPORTS) \
41364 (cd $(TARGET_SUBDIR)/libgo && \
41365 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41367 @endif target-libgo
41369 .PHONY: install-target-libgo maybe-install-target-libgo
41370 maybe-install-target-libgo:
41371 @if target-libgo
41372 maybe-install-target-libgo: install-target-libgo
41374 install-target-libgo: installdirs
41375 @: $(MAKE); $(unstage)
41376 @r=`${PWD_COMMAND}`; export r; \
41377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41378 $(NORMAL_TARGET_EXPORTS) \
41379 (cd $(TARGET_SUBDIR)/libgo && \
41380 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41382 @endif target-libgo
41384 .PHONY: install-strip-target-libgo maybe-install-strip-target-libgo
41385 maybe-install-strip-target-libgo:
41386 @if target-libgo
41387 maybe-install-strip-target-libgo: install-strip-target-libgo
41389 install-strip-target-libgo: installdirs
41390 @: $(MAKE); $(unstage)
41391 @r=`${PWD_COMMAND}`; export r; \
41392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41393 $(NORMAL_TARGET_EXPORTS) \
41394 (cd $(TARGET_SUBDIR)/libgo && \
41395 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
41397 @endif target-libgo
41399 # Other targets (info, dvi, pdf, etc.)
41401 .PHONY: maybe-info-target-libgo info-target-libgo
41402 maybe-info-target-libgo:
41403 @if target-libgo
41404 maybe-info-target-libgo: info-target-libgo
41406 info-target-libgo: \
41407 configure-target-libgo
41408 @: $(MAKE); $(unstage)
41409 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
41410 r=`${PWD_COMMAND}`; export r; \
41411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41412 $(NORMAL_TARGET_EXPORTS) \
41413 echo "Doing info in $(TARGET_SUBDIR)/libgo"; \
41414 for flag in $(EXTRA_TARGET_FLAGS); do \
41415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41416 done; \
41417 (cd $(TARGET_SUBDIR)/libgo && \
41418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41420 "RANLIB=$${RANLIB}" \
41421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41422 info) \
41423 || exit 1
41425 @endif target-libgo
41427 .PHONY: maybe-dvi-target-libgo dvi-target-libgo
41428 maybe-dvi-target-libgo:
41429 @if target-libgo
41430 maybe-dvi-target-libgo: dvi-target-libgo
41432 dvi-target-libgo: \
41433 configure-target-libgo
41434 @: $(MAKE); $(unstage)
41435 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
41436 r=`${PWD_COMMAND}`; export r; \
41437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41438 $(NORMAL_TARGET_EXPORTS) \
41439 echo "Doing dvi in $(TARGET_SUBDIR)/libgo"; \
41440 for flag in $(EXTRA_TARGET_FLAGS); do \
41441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41442 done; \
41443 (cd $(TARGET_SUBDIR)/libgo && \
41444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41446 "RANLIB=$${RANLIB}" \
41447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41448 dvi) \
41449 || exit 1
41451 @endif target-libgo
41453 .PHONY: maybe-pdf-target-libgo pdf-target-libgo
41454 maybe-pdf-target-libgo:
41455 @if target-libgo
41456 maybe-pdf-target-libgo: pdf-target-libgo
41458 pdf-target-libgo: \
41459 configure-target-libgo
41460 @: $(MAKE); $(unstage)
41461 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
41462 r=`${PWD_COMMAND}`; export r; \
41463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41464 $(NORMAL_TARGET_EXPORTS) \
41465 echo "Doing pdf in $(TARGET_SUBDIR)/libgo"; \
41466 for flag in $(EXTRA_TARGET_FLAGS); do \
41467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41468 done; \
41469 (cd $(TARGET_SUBDIR)/libgo && \
41470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41472 "RANLIB=$${RANLIB}" \
41473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41474 pdf) \
41475 || exit 1
41477 @endif target-libgo
41479 .PHONY: maybe-html-target-libgo html-target-libgo
41480 maybe-html-target-libgo:
41481 @if target-libgo
41482 maybe-html-target-libgo: html-target-libgo
41484 html-target-libgo: \
41485 configure-target-libgo
41486 @: $(MAKE); $(unstage)
41487 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
41488 r=`${PWD_COMMAND}`; export r; \
41489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41490 $(NORMAL_TARGET_EXPORTS) \
41491 echo "Doing html in $(TARGET_SUBDIR)/libgo"; \
41492 for flag in $(EXTRA_TARGET_FLAGS); do \
41493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41494 done; \
41495 (cd $(TARGET_SUBDIR)/libgo && \
41496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41498 "RANLIB=$${RANLIB}" \
41499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41500 html) \
41501 || exit 1
41503 @endif target-libgo
41505 .PHONY: maybe-TAGS-target-libgo TAGS-target-libgo
41506 maybe-TAGS-target-libgo:
41507 @if target-libgo
41508 maybe-TAGS-target-libgo: TAGS-target-libgo
41510 TAGS-target-libgo: \
41511 configure-target-libgo
41512 @: $(MAKE); $(unstage)
41513 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
41514 r=`${PWD_COMMAND}`; export r; \
41515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41516 $(NORMAL_TARGET_EXPORTS) \
41517 echo "Doing TAGS in $(TARGET_SUBDIR)/libgo"; \
41518 for flag in $(EXTRA_TARGET_FLAGS); do \
41519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41520 done; \
41521 (cd $(TARGET_SUBDIR)/libgo && \
41522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41524 "RANLIB=$${RANLIB}" \
41525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41526 TAGS) \
41527 || exit 1
41529 @endif target-libgo
41531 .PHONY: maybe-install-info-target-libgo install-info-target-libgo
41532 maybe-install-info-target-libgo:
41533 @if target-libgo
41534 maybe-install-info-target-libgo: install-info-target-libgo
41536 install-info-target-libgo: \
41537 configure-target-libgo \
41538 info-target-libgo
41539 @: $(MAKE); $(unstage)
41540 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
41541 r=`${PWD_COMMAND}`; export r; \
41542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41543 $(NORMAL_TARGET_EXPORTS) \
41544 echo "Doing install-info in $(TARGET_SUBDIR)/libgo"; \
41545 for flag in $(EXTRA_TARGET_FLAGS); do \
41546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41547 done; \
41548 (cd $(TARGET_SUBDIR)/libgo && \
41549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41551 "RANLIB=$${RANLIB}" \
41552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41553 install-info) \
41554 || exit 1
41556 @endif target-libgo
41558 .PHONY: maybe-install-pdf-target-libgo install-pdf-target-libgo
41559 maybe-install-pdf-target-libgo:
41560 @if target-libgo
41561 maybe-install-pdf-target-libgo: install-pdf-target-libgo
41563 install-pdf-target-libgo: \
41564 configure-target-libgo \
41565 pdf-target-libgo
41566 @: $(MAKE); $(unstage)
41567 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
41568 r=`${PWD_COMMAND}`; export r; \
41569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41570 $(NORMAL_TARGET_EXPORTS) \
41571 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgo"; \
41572 for flag in $(EXTRA_TARGET_FLAGS); do \
41573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41574 done; \
41575 (cd $(TARGET_SUBDIR)/libgo && \
41576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41578 "RANLIB=$${RANLIB}" \
41579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41580 install-pdf) \
41581 || exit 1
41583 @endif target-libgo
41585 .PHONY: maybe-install-html-target-libgo install-html-target-libgo
41586 maybe-install-html-target-libgo:
41587 @if target-libgo
41588 maybe-install-html-target-libgo: install-html-target-libgo
41590 install-html-target-libgo: \
41591 configure-target-libgo \
41592 html-target-libgo
41593 @: $(MAKE); $(unstage)
41594 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
41595 r=`${PWD_COMMAND}`; export r; \
41596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41597 $(NORMAL_TARGET_EXPORTS) \
41598 echo "Doing install-html in $(TARGET_SUBDIR)/libgo"; \
41599 for flag in $(EXTRA_TARGET_FLAGS); do \
41600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41601 done; \
41602 (cd $(TARGET_SUBDIR)/libgo && \
41603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41605 "RANLIB=$${RANLIB}" \
41606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41607 install-html) \
41608 || exit 1
41610 @endif target-libgo
41612 .PHONY: maybe-installcheck-target-libgo installcheck-target-libgo
41613 maybe-installcheck-target-libgo:
41614 @if target-libgo
41615 maybe-installcheck-target-libgo: installcheck-target-libgo
41617 installcheck-target-libgo: \
41618 configure-target-libgo
41619 @: $(MAKE); $(unstage)
41620 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
41621 r=`${PWD_COMMAND}`; export r; \
41622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41623 $(NORMAL_TARGET_EXPORTS) \
41624 echo "Doing installcheck in $(TARGET_SUBDIR)/libgo"; \
41625 for flag in $(EXTRA_TARGET_FLAGS); do \
41626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41627 done; \
41628 (cd $(TARGET_SUBDIR)/libgo && \
41629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41631 "RANLIB=$${RANLIB}" \
41632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41633 installcheck) \
41634 || exit 1
41636 @endif target-libgo
41638 .PHONY: maybe-mostlyclean-target-libgo mostlyclean-target-libgo
41639 maybe-mostlyclean-target-libgo:
41640 @if target-libgo
41641 maybe-mostlyclean-target-libgo: mostlyclean-target-libgo
41643 mostlyclean-target-libgo:
41644 @: $(MAKE); $(unstage)
41645 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
41646 r=`${PWD_COMMAND}`; export r; \
41647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41648 $(NORMAL_TARGET_EXPORTS) \
41649 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgo"; \
41650 for flag in $(EXTRA_TARGET_FLAGS); do \
41651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41652 done; \
41653 (cd $(TARGET_SUBDIR)/libgo && \
41654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41656 "RANLIB=$${RANLIB}" \
41657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41658 mostlyclean) \
41659 || exit 1
41661 @endif target-libgo
41663 .PHONY: maybe-clean-target-libgo clean-target-libgo
41664 maybe-clean-target-libgo:
41665 @if target-libgo
41666 maybe-clean-target-libgo: clean-target-libgo
41668 clean-target-libgo:
41669 @: $(MAKE); $(unstage)
41670 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
41671 r=`${PWD_COMMAND}`; export r; \
41672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41673 $(NORMAL_TARGET_EXPORTS) \
41674 echo "Doing clean in $(TARGET_SUBDIR)/libgo"; \
41675 for flag in $(EXTRA_TARGET_FLAGS); do \
41676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41677 done; \
41678 (cd $(TARGET_SUBDIR)/libgo && \
41679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41681 "RANLIB=$${RANLIB}" \
41682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41683 clean) \
41684 || exit 1
41686 @endif target-libgo
41688 .PHONY: maybe-distclean-target-libgo distclean-target-libgo
41689 maybe-distclean-target-libgo:
41690 @if target-libgo
41691 maybe-distclean-target-libgo: distclean-target-libgo
41693 distclean-target-libgo:
41694 @: $(MAKE); $(unstage)
41695 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
41696 r=`${PWD_COMMAND}`; export r; \
41697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41698 $(NORMAL_TARGET_EXPORTS) \
41699 echo "Doing distclean in $(TARGET_SUBDIR)/libgo"; \
41700 for flag in $(EXTRA_TARGET_FLAGS); do \
41701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41702 done; \
41703 (cd $(TARGET_SUBDIR)/libgo && \
41704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41706 "RANLIB=$${RANLIB}" \
41707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41708 distclean) \
41709 || exit 1
41711 @endif target-libgo
41713 .PHONY: maybe-maintainer-clean-target-libgo maintainer-clean-target-libgo
41714 maybe-maintainer-clean-target-libgo:
41715 @if target-libgo
41716 maybe-maintainer-clean-target-libgo: maintainer-clean-target-libgo
41718 maintainer-clean-target-libgo:
41719 @: $(MAKE); $(unstage)
41720 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
41721 r=`${PWD_COMMAND}`; export r; \
41722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41723 $(NORMAL_TARGET_EXPORTS) \
41724 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgo"; \
41725 for flag in $(EXTRA_TARGET_FLAGS); do \
41726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41727 done; \
41728 (cd $(TARGET_SUBDIR)/libgo && \
41729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41731 "RANLIB=$${RANLIB}" \
41732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41733 maintainer-clean) \
41734 || exit 1
41736 @endif target-libgo
41742 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
41743 maybe-configure-target-libtermcap:
41744 @if gcc-bootstrap
41745 configure-target-libtermcap: stage_current
41746 @endif gcc-bootstrap
41747 @if target-libtermcap
41748 maybe-configure-target-libtermcap: configure-target-libtermcap
41749 configure-target-libtermcap:
41750 @: $(MAKE); $(unstage)
41751 @r=`${PWD_COMMAND}`; export r; \
41752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41753 echo "Checking multilib configuration for libtermcap..."; \
41754 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap; \
41755 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null; \
41756 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
41757 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
41758 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
41759 else \
41760 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
41761 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
41762 fi; \
41763 else \
41764 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
41765 fi; \
41766 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
41767 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap; \
41768 $(NORMAL_TARGET_EXPORTS) \
41769 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
41770 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
41771 case $(srcdir) in \
41772 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41773 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
41774 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41775 esac; \
41776 module_srcdir=libtermcap; \
41777 rm -f no-such-file || : ; \
41778 CONFIG_SITE=no-such-file $(SHELL) \
41779 $$s/$$module_srcdir/configure \
41780 --srcdir=$${topdir}/$$module_srcdir \
41781 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41782 --target=${target_alias} \
41783 || exit 1
41784 @endif target-libtermcap
41790 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
41791 maybe-all-target-libtermcap:
41792 @if gcc-bootstrap
41793 all-target-libtermcap: stage_current
41794 @endif gcc-bootstrap
41795 @if target-libtermcap
41796 TARGET-target-libtermcap=all
41797 maybe-all-target-libtermcap: all-target-libtermcap
41798 all-target-libtermcap: configure-target-libtermcap
41799 @: $(MAKE); $(unstage)
41800 @r=`${PWD_COMMAND}`; export r; \
41801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41802 $(NORMAL_TARGET_EXPORTS) \
41803 (cd $(TARGET_SUBDIR)/libtermcap && \
41804 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
41805 $(TARGET-target-libtermcap))
41806 @endif target-libtermcap
41812 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
41813 maybe-check-target-libtermcap:
41814 @if target-libtermcap
41815 maybe-check-target-libtermcap: check-target-libtermcap
41817 # Dummy target for uncheckable module.
41818 check-target-libtermcap:
41820 @endif target-libtermcap
41822 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
41823 maybe-install-target-libtermcap:
41824 @if target-libtermcap
41825 maybe-install-target-libtermcap: install-target-libtermcap
41827 install-target-libtermcap: installdirs
41828 @: $(MAKE); $(unstage)
41829 @r=`${PWD_COMMAND}`; export r; \
41830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41831 $(NORMAL_TARGET_EXPORTS) \
41832 (cd $(TARGET_SUBDIR)/libtermcap && \
41833 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41835 @endif target-libtermcap
41837 .PHONY: install-strip-target-libtermcap maybe-install-strip-target-libtermcap
41838 maybe-install-strip-target-libtermcap:
41839 @if target-libtermcap
41840 maybe-install-strip-target-libtermcap: install-strip-target-libtermcap
41842 install-strip-target-libtermcap: installdirs
41843 @: $(MAKE); $(unstage)
41844 @r=`${PWD_COMMAND}`; export r; \
41845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41846 $(NORMAL_TARGET_EXPORTS) \
41847 (cd $(TARGET_SUBDIR)/libtermcap && \
41848 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
41850 @endif target-libtermcap
41852 # Other targets (info, dvi, pdf, etc.)
41854 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
41855 maybe-info-target-libtermcap:
41856 @if target-libtermcap
41857 maybe-info-target-libtermcap: info-target-libtermcap
41859 info-target-libtermcap: \
41860 configure-target-libtermcap
41861 @: $(MAKE); $(unstage)
41862 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
41863 r=`${PWD_COMMAND}`; export r; \
41864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41865 $(NORMAL_TARGET_EXPORTS) \
41866 echo "Doing info in $(TARGET_SUBDIR)/libtermcap"; \
41867 for flag in $(EXTRA_TARGET_FLAGS); do \
41868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41869 done; \
41870 (cd $(TARGET_SUBDIR)/libtermcap && \
41871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41873 "RANLIB=$${RANLIB}" \
41874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41875 info) \
41876 || exit 1
41878 @endif target-libtermcap
41880 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
41881 maybe-dvi-target-libtermcap:
41882 @if target-libtermcap
41883 maybe-dvi-target-libtermcap: dvi-target-libtermcap
41885 dvi-target-libtermcap: \
41886 configure-target-libtermcap
41887 @: $(MAKE); $(unstage)
41888 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
41889 r=`${PWD_COMMAND}`; export r; \
41890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41891 $(NORMAL_TARGET_EXPORTS) \
41892 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap"; \
41893 for flag in $(EXTRA_TARGET_FLAGS); do \
41894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41895 done; \
41896 (cd $(TARGET_SUBDIR)/libtermcap && \
41897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41899 "RANLIB=$${RANLIB}" \
41900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41901 dvi) \
41902 || exit 1
41904 @endif target-libtermcap
41906 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
41907 maybe-pdf-target-libtermcap:
41908 @if target-libtermcap
41909 maybe-pdf-target-libtermcap: pdf-target-libtermcap
41911 pdf-target-libtermcap: \
41912 configure-target-libtermcap
41913 @: $(MAKE); $(unstage)
41914 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
41915 r=`${PWD_COMMAND}`; export r; \
41916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41917 $(NORMAL_TARGET_EXPORTS) \
41918 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap"; \
41919 for flag in $(EXTRA_TARGET_FLAGS); do \
41920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41921 done; \
41922 (cd $(TARGET_SUBDIR)/libtermcap && \
41923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41925 "RANLIB=$${RANLIB}" \
41926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41927 pdf) \
41928 || exit 1
41930 @endif target-libtermcap
41932 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
41933 maybe-html-target-libtermcap:
41934 @if target-libtermcap
41935 maybe-html-target-libtermcap: html-target-libtermcap
41937 html-target-libtermcap: \
41938 configure-target-libtermcap
41939 @: $(MAKE); $(unstage)
41940 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
41941 r=`${PWD_COMMAND}`; export r; \
41942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41943 $(NORMAL_TARGET_EXPORTS) \
41944 echo "Doing html in $(TARGET_SUBDIR)/libtermcap"; \
41945 for flag in $(EXTRA_TARGET_FLAGS); do \
41946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41947 done; \
41948 (cd $(TARGET_SUBDIR)/libtermcap && \
41949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41951 "RANLIB=$${RANLIB}" \
41952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41953 html) \
41954 || exit 1
41956 @endif target-libtermcap
41958 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
41959 maybe-TAGS-target-libtermcap:
41960 @if target-libtermcap
41961 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
41963 TAGS-target-libtermcap: \
41964 configure-target-libtermcap
41965 @: $(MAKE); $(unstage)
41966 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
41967 r=`${PWD_COMMAND}`; export r; \
41968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41969 $(NORMAL_TARGET_EXPORTS) \
41970 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap"; \
41971 for flag in $(EXTRA_TARGET_FLAGS); do \
41972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41973 done; \
41974 (cd $(TARGET_SUBDIR)/libtermcap && \
41975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41977 "RANLIB=$${RANLIB}" \
41978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41979 TAGS) \
41980 || exit 1
41982 @endif target-libtermcap
41984 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
41985 maybe-install-info-target-libtermcap:
41986 @if target-libtermcap
41987 maybe-install-info-target-libtermcap: install-info-target-libtermcap
41989 install-info-target-libtermcap: \
41990 configure-target-libtermcap \
41991 info-target-libtermcap
41992 @: $(MAKE); $(unstage)
41993 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
41994 r=`${PWD_COMMAND}`; export r; \
41995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41996 $(NORMAL_TARGET_EXPORTS) \
41997 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap"; \
41998 for flag in $(EXTRA_TARGET_FLAGS); do \
41999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42000 done; \
42001 (cd $(TARGET_SUBDIR)/libtermcap && \
42002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42004 "RANLIB=$${RANLIB}" \
42005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42006 install-info) \
42007 || exit 1
42009 @endif target-libtermcap
42011 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
42012 maybe-install-pdf-target-libtermcap:
42013 @if target-libtermcap
42014 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
42016 install-pdf-target-libtermcap: \
42017 configure-target-libtermcap \
42018 pdf-target-libtermcap
42019 @: $(MAKE); $(unstage)
42020 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
42021 r=`${PWD_COMMAND}`; export r; \
42022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42023 $(NORMAL_TARGET_EXPORTS) \
42024 echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap"; \
42025 for flag in $(EXTRA_TARGET_FLAGS); do \
42026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42027 done; \
42028 (cd $(TARGET_SUBDIR)/libtermcap && \
42029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42031 "RANLIB=$${RANLIB}" \
42032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42033 install-pdf) \
42034 || exit 1
42036 @endif target-libtermcap
42038 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
42039 maybe-install-html-target-libtermcap:
42040 @if target-libtermcap
42041 maybe-install-html-target-libtermcap: install-html-target-libtermcap
42043 install-html-target-libtermcap: \
42044 configure-target-libtermcap \
42045 html-target-libtermcap
42046 @: $(MAKE); $(unstage)
42047 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
42048 r=`${PWD_COMMAND}`; export r; \
42049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42050 $(NORMAL_TARGET_EXPORTS) \
42051 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap"; \
42052 for flag in $(EXTRA_TARGET_FLAGS); do \
42053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42054 done; \
42055 (cd $(TARGET_SUBDIR)/libtermcap && \
42056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42058 "RANLIB=$${RANLIB}" \
42059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42060 install-html) \
42061 || exit 1
42063 @endif target-libtermcap
42065 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
42066 maybe-installcheck-target-libtermcap:
42067 @if target-libtermcap
42068 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
42070 installcheck-target-libtermcap: \
42071 configure-target-libtermcap
42072 @: $(MAKE); $(unstage)
42073 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
42074 r=`${PWD_COMMAND}`; export r; \
42075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42076 $(NORMAL_TARGET_EXPORTS) \
42077 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap"; \
42078 for flag in $(EXTRA_TARGET_FLAGS); do \
42079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42080 done; \
42081 (cd $(TARGET_SUBDIR)/libtermcap && \
42082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42084 "RANLIB=$${RANLIB}" \
42085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42086 installcheck) \
42087 || exit 1
42089 @endif target-libtermcap
42091 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
42092 maybe-mostlyclean-target-libtermcap:
42093 @if target-libtermcap
42094 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
42096 # libtermcap doesn't support mostlyclean.
42097 mostlyclean-target-libtermcap:
42099 @endif target-libtermcap
42101 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
42102 maybe-clean-target-libtermcap:
42103 @if target-libtermcap
42104 maybe-clean-target-libtermcap: clean-target-libtermcap
42106 # libtermcap doesn't support clean.
42107 clean-target-libtermcap:
42109 @endif target-libtermcap
42111 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
42112 maybe-distclean-target-libtermcap:
42113 @if target-libtermcap
42114 maybe-distclean-target-libtermcap: distclean-target-libtermcap
42116 # libtermcap doesn't support distclean.
42117 distclean-target-libtermcap:
42119 @endif target-libtermcap
42121 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
42122 maybe-maintainer-clean-target-libtermcap:
42123 @if target-libtermcap
42124 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
42126 # libtermcap doesn't support maintainer-clean.
42127 maintainer-clean-target-libtermcap:
42129 @endif target-libtermcap
42135 .PHONY: configure-target-winsup maybe-configure-target-winsup
42136 maybe-configure-target-winsup:
42137 @if gcc-bootstrap
42138 configure-target-winsup: stage_current
42139 @endif gcc-bootstrap
42140 @if target-winsup
42141 maybe-configure-target-winsup: configure-target-winsup
42142 configure-target-winsup:
42143 @: $(MAKE); $(unstage)
42144 @r=`${PWD_COMMAND}`; export r; \
42145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42146 echo "Checking multilib configuration for winsup..."; \
42147 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup; \
42148 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null; \
42149 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
42150 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
42151 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
42152 else \
42153 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
42154 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
42155 fi; \
42156 else \
42157 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
42158 fi; \
42159 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
42160 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup; \
42161 $(NORMAL_TARGET_EXPORTS) \
42162 echo Configuring in $(TARGET_SUBDIR)/winsup; \
42163 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
42164 case $(srcdir) in \
42165 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42166 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
42167 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42168 esac; \
42169 module_srcdir=winsup; \
42170 rm -f no-such-file || : ; \
42171 CONFIG_SITE=no-such-file $(SHELL) \
42172 $$s/$$module_srcdir/configure \
42173 --srcdir=$${topdir}/$$module_srcdir \
42174 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42175 --target=${target_alias} \
42176 || exit 1
42177 @endif target-winsup
42183 .PHONY: all-target-winsup maybe-all-target-winsup
42184 maybe-all-target-winsup:
42185 @if gcc-bootstrap
42186 all-target-winsup: stage_current
42187 @endif gcc-bootstrap
42188 @if target-winsup
42189 TARGET-target-winsup=all
42190 maybe-all-target-winsup: all-target-winsup
42191 all-target-winsup: configure-target-winsup
42192 @: $(MAKE); $(unstage)
42193 @r=`${PWD_COMMAND}`; export r; \
42194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42195 $(NORMAL_TARGET_EXPORTS) \
42196 (cd $(TARGET_SUBDIR)/winsup && \
42197 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
42198 $(TARGET-target-winsup))
42199 @endif target-winsup
42205 .PHONY: check-target-winsup maybe-check-target-winsup
42206 maybe-check-target-winsup:
42207 @if target-winsup
42208 maybe-check-target-winsup: check-target-winsup
42210 check-target-winsup:
42211 @: $(MAKE); $(unstage)
42212 @r=`${PWD_COMMAND}`; export r; \
42213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42214 $(NORMAL_TARGET_EXPORTS) \
42215 (cd $(TARGET_SUBDIR)/winsup && \
42216 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
42218 @endif target-winsup
42220 .PHONY: install-target-winsup maybe-install-target-winsup
42221 maybe-install-target-winsup:
42222 @if target-winsup
42223 maybe-install-target-winsup: install-target-winsup
42225 install-target-winsup: installdirs
42226 @: $(MAKE); $(unstage)
42227 @r=`${PWD_COMMAND}`; export r; \
42228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42229 $(NORMAL_TARGET_EXPORTS) \
42230 (cd $(TARGET_SUBDIR)/winsup && \
42231 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42233 @endif target-winsup
42235 .PHONY: install-strip-target-winsup maybe-install-strip-target-winsup
42236 maybe-install-strip-target-winsup:
42237 @if target-winsup
42238 maybe-install-strip-target-winsup: install-strip-target-winsup
42240 install-strip-target-winsup: installdirs
42241 @: $(MAKE); $(unstage)
42242 @r=`${PWD_COMMAND}`; export r; \
42243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42244 $(NORMAL_TARGET_EXPORTS) \
42245 (cd $(TARGET_SUBDIR)/winsup && \
42246 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
42248 @endif target-winsup
42250 # Other targets (info, dvi, pdf, etc.)
42252 .PHONY: maybe-info-target-winsup info-target-winsup
42253 maybe-info-target-winsup:
42254 @if target-winsup
42255 maybe-info-target-winsup: info-target-winsup
42257 info-target-winsup: \
42258 configure-target-winsup
42259 @: $(MAKE); $(unstage)
42260 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
42261 r=`${PWD_COMMAND}`; export r; \
42262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42263 $(NORMAL_TARGET_EXPORTS) \
42264 echo "Doing info in $(TARGET_SUBDIR)/winsup"; \
42265 for flag in $(EXTRA_TARGET_FLAGS); do \
42266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42267 done; \
42268 (cd $(TARGET_SUBDIR)/winsup && \
42269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42271 "RANLIB=$${RANLIB}" \
42272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42273 info) \
42274 || exit 1
42276 @endif target-winsup
42278 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
42279 maybe-dvi-target-winsup:
42280 @if target-winsup
42281 maybe-dvi-target-winsup: dvi-target-winsup
42283 dvi-target-winsup: \
42284 configure-target-winsup
42285 @: $(MAKE); $(unstage)
42286 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
42287 r=`${PWD_COMMAND}`; export r; \
42288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42289 $(NORMAL_TARGET_EXPORTS) \
42290 echo "Doing dvi in $(TARGET_SUBDIR)/winsup"; \
42291 for flag in $(EXTRA_TARGET_FLAGS); do \
42292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42293 done; \
42294 (cd $(TARGET_SUBDIR)/winsup && \
42295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42297 "RANLIB=$${RANLIB}" \
42298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42299 dvi) \
42300 || exit 1
42302 @endif target-winsup
42304 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
42305 maybe-pdf-target-winsup:
42306 @if target-winsup
42307 maybe-pdf-target-winsup: pdf-target-winsup
42309 pdf-target-winsup: \
42310 configure-target-winsup
42311 @: $(MAKE); $(unstage)
42312 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
42313 r=`${PWD_COMMAND}`; export r; \
42314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42315 $(NORMAL_TARGET_EXPORTS) \
42316 echo "Doing pdf in $(TARGET_SUBDIR)/winsup"; \
42317 for flag in $(EXTRA_TARGET_FLAGS); do \
42318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42319 done; \
42320 (cd $(TARGET_SUBDIR)/winsup && \
42321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42323 "RANLIB=$${RANLIB}" \
42324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42325 pdf) \
42326 || exit 1
42328 @endif target-winsup
42330 .PHONY: maybe-html-target-winsup html-target-winsup
42331 maybe-html-target-winsup:
42332 @if target-winsup
42333 maybe-html-target-winsup: html-target-winsup
42335 html-target-winsup: \
42336 configure-target-winsup
42337 @: $(MAKE); $(unstage)
42338 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
42339 r=`${PWD_COMMAND}`; export r; \
42340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42341 $(NORMAL_TARGET_EXPORTS) \
42342 echo "Doing html in $(TARGET_SUBDIR)/winsup"; \
42343 for flag in $(EXTRA_TARGET_FLAGS); do \
42344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42345 done; \
42346 (cd $(TARGET_SUBDIR)/winsup && \
42347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42349 "RANLIB=$${RANLIB}" \
42350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42351 html) \
42352 || exit 1
42354 @endif target-winsup
42356 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
42357 maybe-TAGS-target-winsup:
42358 @if target-winsup
42359 maybe-TAGS-target-winsup: TAGS-target-winsup
42361 TAGS-target-winsup: \
42362 configure-target-winsup
42363 @: $(MAKE); $(unstage)
42364 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
42365 r=`${PWD_COMMAND}`; export r; \
42366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42367 $(NORMAL_TARGET_EXPORTS) \
42368 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup"; \
42369 for flag in $(EXTRA_TARGET_FLAGS); do \
42370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42371 done; \
42372 (cd $(TARGET_SUBDIR)/winsup && \
42373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42375 "RANLIB=$${RANLIB}" \
42376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42377 TAGS) \
42378 || exit 1
42380 @endif target-winsup
42382 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
42383 maybe-install-info-target-winsup:
42384 @if target-winsup
42385 maybe-install-info-target-winsup: install-info-target-winsup
42387 install-info-target-winsup: \
42388 configure-target-winsup \
42389 info-target-winsup
42390 @: $(MAKE); $(unstage)
42391 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
42392 r=`${PWD_COMMAND}`; export r; \
42393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42394 $(NORMAL_TARGET_EXPORTS) \
42395 echo "Doing install-info in $(TARGET_SUBDIR)/winsup"; \
42396 for flag in $(EXTRA_TARGET_FLAGS); do \
42397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42398 done; \
42399 (cd $(TARGET_SUBDIR)/winsup && \
42400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42402 "RANLIB=$${RANLIB}" \
42403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42404 install-info) \
42405 || exit 1
42407 @endif target-winsup
42409 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
42410 maybe-install-pdf-target-winsup:
42411 @if target-winsup
42412 maybe-install-pdf-target-winsup: install-pdf-target-winsup
42414 install-pdf-target-winsup: \
42415 configure-target-winsup \
42416 pdf-target-winsup
42417 @: $(MAKE); $(unstage)
42418 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
42419 r=`${PWD_COMMAND}`; export r; \
42420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42421 $(NORMAL_TARGET_EXPORTS) \
42422 echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup"; \
42423 for flag in $(EXTRA_TARGET_FLAGS); do \
42424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42425 done; \
42426 (cd $(TARGET_SUBDIR)/winsup && \
42427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42429 "RANLIB=$${RANLIB}" \
42430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42431 install-pdf) \
42432 || exit 1
42434 @endif target-winsup
42436 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
42437 maybe-install-html-target-winsup:
42438 @if target-winsup
42439 maybe-install-html-target-winsup: install-html-target-winsup
42441 install-html-target-winsup: \
42442 configure-target-winsup \
42443 html-target-winsup
42444 @: $(MAKE); $(unstage)
42445 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
42446 r=`${PWD_COMMAND}`; export r; \
42447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42448 $(NORMAL_TARGET_EXPORTS) \
42449 echo "Doing install-html in $(TARGET_SUBDIR)/winsup"; \
42450 for flag in $(EXTRA_TARGET_FLAGS); do \
42451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42452 done; \
42453 (cd $(TARGET_SUBDIR)/winsup && \
42454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42456 "RANLIB=$${RANLIB}" \
42457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42458 install-html) \
42459 || exit 1
42461 @endif target-winsup
42463 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
42464 maybe-installcheck-target-winsup:
42465 @if target-winsup
42466 maybe-installcheck-target-winsup: installcheck-target-winsup
42468 installcheck-target-winsup: \
42469 configure-target-winsup
42470 @: $(MAKE); $(unstage)
42471 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
42472 r=`${PWD_COMMAND}`; export r; \
42473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42474 $(NORMAL_TARGET_EXPORTS) \
42475 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup"; \
42476 for flag in $(EXTRA_TARGET_FLAGS); do \
42477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42478 done; \
42479 (cd $(TARGET_SUBDIR)/winsup && \
42480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42482 "RANLIB=$${RANLIB}" \
42483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42484 installcheck) \
42485 || exit 1
42487 @endif target-winsup
42489 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
42490 maybe-mostlyclean-target-winsup:
42491 @if target-winsup
42492 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
42494 mostlyclean-target-winsup:
42495 @: $(MAKE); $(unstage)
42496 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
42497 r=`${PWD_COMMAND}`; export r; \
42498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42499 $(NORMAL_TARGET_EXPORTS) \
42500 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup"; \
42501 for flag in $(EXTRA_TARGET_FLAGS); do \
42502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42503 done; \
42504 (cd $(TARGET_SUBDIR)/winsup && \
42505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42507 "RANLIB=$${RANLIB}" \
42508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42509 mostlyclean) \
42510 || exit 1
42512 @endif target-winsup
42514 .PHONY: maybe-clean-target-winsup clean-target-winsup
42515 maybe-clean-target-winsup:
42516 @if target-winsup
42517 maybe-clean-target-winsup: clean-target-winsup
42519 clean-target-winsup:
42520 @: $(MAKE); $(unstage)
42521 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
42522 r=`${PWD_COMMAND}`; export r; \
42523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42524 $(NORMAL_TARGET_EXPORTS) \
42525 echo "Doing clean in $(TARGET_SUBDIR)/winsup"; \
42526 for flag in $(EXTRA_TARGET_FLAGS); do \
42527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42528 done; \
42529 (cd $(TARGET_SUBDIR)/winsup && \
42530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42532 "RANLIB=$${RANLIB}" \
42533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42534 clean) \
42535 || exit 1
42537 @endif target-winsup
42539 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
42540 maybe-distclean-target-winsup:
42541 @if target-winsup
42542 maybe-distclean-target-winsup: distclean-target-winsup
42544 distclean-target-winsup:
42545 @: $(MAKE); $(unstage)
42546 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
42547 r=`${PWD_COMMAND}`; export r; \
42548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42549 $(NORMAL_TARGET_EXPORTS) \
42550 echo "Doing distclean in $(TARGET_SUBDIR)/winsup"; \
42551 for flag in $(EXTRA_TARGET_FLAGS); do \
42552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42553 done; \
42554 (cd $(TARGET_SUBDIR)/winsup && \
42555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42557 "RANLIB=$${RANLIB}" \
42558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42559 distclean) \
42560 || exit 1
42562 @endif target-winsup
42564 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
42565 maybe-maintainer-clean-target-winsup:
42566 @if target-winsup
42567 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
42569 maintainer-clean-target-winsup:
42570 @: $(MAKE); $(unstage)
42571 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
42572 r=`${PWD_COMMAND}`; export r; \
42573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42574 $(NORMAL_TARGET_EXPORTS) \
42575 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup"; \
42576 for flag in $(EXTRA_TARGET_FLAGS); do \
42577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42578 done; \
42579 (cd $(TARGET_SUBDIR)/winsup && \
42580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42582 "RANLIB=$${RANLIB}" \
42583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42584 maintainer-clean) \
42585 || exit 1
42587 @endif target-winsup
42593 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
42594 maybe-configure-target-libgloss:
42595 @if gcc-bootstrap
42596 configure-target-libgloss: stage_current
42597 @endif gcc-bootstrap
42598 @if target-libgloss
42599 maybe-configure-target-libgloss: configure-target-libgloss
42600 configure-target-libgloss:
42601 @: $(MAKE); $(unstage)
42602 @r=`${PWD_COMMAND}`; export r; \
42603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42604 echo "Checking multilib configuration for libgloss..."; \
42605 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss; \
42606 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null; \
42607 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
42608 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
42609 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
42610 else \
42611 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
42612 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
42613 fi; \
42614 else \
42615 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
42616 fi; \
42617 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
42618 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss; \
42619 $(NORMAL_TARGET_EXPORTS) \
42620 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
42621 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
42622 case $(srcdir) in \
42623 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42624 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
42625 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42626 esac; \
42627 module_srcdir=libgloss; \
42628 rm -f no-such-file || : ; \
42629 CONFIG_SITE=no-such-file $(SHELL) \
42630 $$s/$$module_srcdir/configure \
42631 --srcdir=$${topdir}/$$module_srcdir \
42632 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42633 --target=${target_alias} \
42634 || exit 1
42635 @endif target-libgloss
42641 .PHONY: all-target-libgloss maybe-all-target-libgloss
42642 maybe-all-target-libgloss:
42643 @if gcc-bootstrap
42644 all-target-libgloss: stage_current
42645 @endif gcc-bootstrap
42646 @if target-libgloss
42647 TARGET-target-libgloss=all
42648 maybe-all-target-libgloss: all-target-libgloss
42649 all-target-libgloss: configure-target-libgloss
42650 @: $(MAKE); $(unstage)
42651 @r=`${PWD_COMMAND}`; export r; \
42652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42653 $(NORMAL_TARGET_EXPORTS) \
42654 (cd $(TARGET_SUBDIR)/libgloss && \
42655 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
42656 $(TARGET-target-libgloss))
42657 @endif target-libgloss
42663 .PHONY: check-target-libgloss maybe-check-target-libgloss
42664 maybe-check-target-libgloss:
42665 @if target-libgloss
42666 maybe-check-target-libgloss: check-target-libgloss
42668 # Dummy target for uncheckable module.
42669 check-target-libgloss:
42671 @endif target-libgloss
42673 .PHONY: install-target-libgloss maybe-install-target-libgloss
42674 maybe-install-target-libgloss:
42675 @if target-libgloss
42676 maybe-install-target-libgloss: install-target-libgloss
42678 install-target-libgloss: installdirs
42679 @: $(MAKE); $(unstage)
42680 @r=`${PWD_COMMAND}`; export r; \
42681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42682 $(NORMAL_TARGET_EXPORTS) \
42683 (cd $(TARGET_SUBDIR)/libgloss && \
42684 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42686 @endif target-libgloss
42688 .PHONY: install-strip-target-libgloss maybe-install-strip-target-libgloss
42689 maybe-install-strip-target-libgloss:
42690 @if target-libgloss
42691 maybe-install-strip-target-libgloss: install-strip-target-libgloss
42693 install-strip-target-libgloss: installdirs
42694 @: $(MAKE); $(unstage)
42695 @r=`${PWD_COMMAND}`; export r; \
42696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42697 $(NORMAL_TARGET_EXPORTS) \
42698 (cd $(TARGET_SUBDIR)/libgloss && \
42699 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
42701 @endif target-libgloss
42703 # Other targets (info, dvi, pdf, etc.)
42705 .PHONY: maybe-info-target-libgloss info-target-libgloss
42706 maybe-info-target-libgloss:
42707 @if target-libgloss
42708 maybe-info-target-libgloss: info-target-libgloss
42710 info-target-libgloss: \
42711 configure-target-libgloss
42712 @: $(MAKE); $(unstage)
42713 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
42714 r=`${PWD_COMMAND}`; export r; \
42715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42716 $(NORMAL_TARGET_EXPORTS) \
42717 echo "Doing info in $(TARGET_SUBDIR)/libgloss"; \
42718 for flag in $(EXTRA_TARGET_FLAGS); do \
42719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42720 done; \
42721 (cd $(TARGET_SUBDIR)/libgloss && \
42722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42724 "RANLIB=$${RANLIB}" \
42725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42726 info) \
42727 || exit 1
42729 @endif target-libgloss
42731 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
42732 maybe-dvi-target-libgloss:
42733 @if target-libgloss
42734 maybe-dvi-target-libgloss: dvi-target-libgloss
42736 dvi-target-libgloss: \
42737 configure-target-libgloss
42738 @: $(MAKE); $(unstage)
42739 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
42740 r=`${PWD_COMMAND}`; export r; \
42741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42742 $(NORMAL_TARGET_EXPORTS) \
42743 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss"; \
42744 for flag in $(EXTRA_TARGET_FLAGS); do \
42745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42746 done; \
42747 (cd $(TARGET_SUBDIR)/libgloss && \
42748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42750 "RANLIB=$${RANLIB}" \
42751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42752 dvi) \
42753 || exit 1
42755 @endif target-libgloss
42757 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
42758 maybe-pdf-target-libgloss:
42759 @if target-libgloss
42760 maybe-pdf-target-libgloss: pdf-target-libgloss
42762 pdf-target-libgloss: \
42763 configure-target-libgloss
42764 @: $(MAKE); $(unstage)
42765 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
42766 r=`${PWD_COMMAND}`; export r; \
42767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42768 $(NORMAL_TARGET_EXPORTS) \
42769 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss"; \
42770 for flag in $(EXTRA_TARGET_FLAGS); do \
42771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42772 done; \
42773 (cd $(TARGET_SUBDIR)/libgloss && \
42774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42776 "RANLIB=$${RANLIB}" \
42777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42778 pdf) \
42779 || exit 1
42781 @endif target-libgloss
42783 .PHONY: maybe-html-target-libgloss html-target-libgloss
42784 maybe-html-target-libgloss:
42785 @if target-libgloss
42786 maybe-html-target-libgloss: html-target-libgloss
42788 html-target-libgloss: \
42789 configure-target-libgloss
42790 @: $(MAKE); $(unstage)
42791 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
42792 r=`${PWD_COMMAND}`; export r; \
42793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42794 $(NORMAL_TARGET_EXPORTS) \
42795 echo "Doing html in $(TARGET_SUBDIR)/libgloss"; \
42796 for flag in $(EXTRA_TARGET_FLAGS); do \
42797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42798 done; \
42799 (cd $(TARGET_SUBDIR)/libgloss && \
42800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42802 "RANLIB=$${RANLIB}" \
42803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42804 html) \
42805 || exit 1
42807 @endif target-libgloss
42809 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
42810 maybe-TAGS-target-libgloss:
42811 @if target-libgloss
42812 maybe-TAGS-target-libgloss: TAGS-target-libgloss
42814 TAGS-target-libgloss: \
42815 configure-target-libgloss
42816 @: $(MAKE); $(unstage)
42817 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
42818 r=`${PWD_COMMAND}`; export r; \
42819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42820 $(NORMAL_TARGET_EXPORTS) \
42821 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss"; \
42822 for flag in $(EXTRA_TARGET_FLAGS); do \
42823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42824 done; \
42825 (cd $(TARGET_SUBDIR)/libgloss && \
42826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42828 "RANLIB=$${RANLIB}" \
42829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42830 TAGS) \
42831 || exit 1
42833 @endif target-libgloss
42835 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
42836 maybe-install-info-target-libgloss:
42837 @if target-libgloss
42838 maybe-install-info-target-libgloss: install-info-target-libgloss
42840 install-info-target-libgloss: \
42841 configure-target-libgloss \
42842 info-target-libgloss
42843 @: $(MAKE); $(unstage)
42844 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
42845 r=`${PWD_COMMAND}`; export r; \
42846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42847 $(NORMAL_TARGET_EXPORTS) \
42848 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss"; \
42849 for flag in $(EXTRA_TARGET_FLAGS); do \
42850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42851 done; \
42852 (cd $(TARGET_SUBDIR)/libgloss && \
42853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42855 "RANLIB=$${RANLIB}" \
42856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42857 install-info) \
42858 || exit 1
42860 @endif target-libgloss
42862 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
42863 maybe-install-pdf-target-libgloss:
42864 @if target-libgloss
42865 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
42867 install-pdf-target-libgloss: \
42868 configure-target-libgloss \
42869 pdf-target-libgloss
42870 @: $(MAKE); $(unstage)
42871 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
42872 r=`${PWD_COMMAND}`; export r; \
42873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42874 $(NORMAL_TARGET_EXPORTS) \
42875 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss"; \
42876 for flag in $(EXTRA_TARGET_FLAGS); do \
42877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42878 done; \
42879 (cd $(TARGET_SUBDIR)/libgloss && \
42880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42882 "RANLIB=$${RANLIB}" \
42883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42884 install-pdf) \
42885 || exit 1
42887 @endif target-libgloss
42889 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
42890 maybe-install-html-target-libgloss:
42891 @if target-libgloss
42892 maybe-install-html-target-libgloss: install-html-target-libgloss
42894 install-html-target-libgloss: \
42895 configure-target-libgloss \
42896 html-target-libgloss
42897 @: $(MAKE); $(unstage)
42898 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
42899 r=`${PWD_COMMAND}`; export r; \
42900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42901 $(NORMAL_TARGET_EXPORTS) \
42902 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss"; \
42903 for flag in $(EXTRA_TARGET_FLAGS); do \
42904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42905 done; \
42906 (cd $(TARGET_SUBDIR)/libgloss && \
42907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42909 "RANLIB=$${RANLIB}" \
42910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42911 install-html) \
42912 || exit 1
42914 @endif target-libgloss
42916 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
42917 maybe-installcheck-target-libgloss:
42918 @if target-libgloss
42919 maybe-installcheck-target-libgloss: installcheck-target-libgloss
42921 installcheck-target-libgloss: \
42922 configure-target-libgloss
42923 @: $(MAKE); $(unstage)
42924 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
42925 r=`${PWD_COMMAND}`; export r; \
42926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42927 $(NORMAL_TARGET_EXPORTS) \
42928 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss"; \
42929 for flag in $(EXTRA_TARGET_FLAGS); do \
42930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42931 done; \
42932 (cd $(TARGET_SUBDIR)/libgloss && \
42933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42935 "RANLIB=$${RANLIB}" \
42936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42937 installcheck) \
42938 || exit 1
42940 @endif target-libgloss
42942 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
42943 maybe-mostlyclean-target-libgloss:
42944 @if target-libgloss
42945 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
42947 mostlyclean-target-libgloss:
42948 @: $(MAKE); $(unstage)
42949 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
42950 r=`${PWD_COMMAND}`; export r; \
42951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42952 $(NORMAL_TARGET_EXPORTS) \
42953 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss"; \
42954 for flag in $(EXTRA_TARGET_FLAGS); do \
42955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42956 done; \
42957 (cd $(TARGET_SUBDIR)/libgloss && \
42958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42960 "RANLIB=$${RANLIB}" \
42961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42962 mostlyclean) \
42963 || exit 1
42965 @endif target-libgloss
42967 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
42968 maybe-clean-target-libgloss:
42969 @if target-libgloss
42970 maybe-clean-target-libgloss: clean-target-libgloss
42972 clean-target-libgloss:
42973 @: $(MAKE); $(unstage)
42974 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
42975 r=`${PWD_COMMAND}`; export r; \
42976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42977 $(NORMAL_TARGET_EXPORTS) \
42978 echo "Doing clean in $(TARGET_SUBDIR)/libgloss"; \
42979 for flag in $(EXTRA_TARGET_FLAGS); do \
42980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42981 done; \
42982 (cd $(TARGET_SUBDIR)/libgloss && \
42983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42985 "RANLIB=$${RANLIB}" \
42986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42987 clean) \
42988 || exit 1
42990 @endif target-libgloss
42992 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
42993 maybe-distclean-target-libgloss:
42994 @if target-libgloss
42995 maybe-distclean-target-libgloss: distclean-target-libgloss
42997 distclean-target-libgloss:
42998 @: $(MAKE); $(unstage)
42999 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
43000 r=`${PWD_COMMAND}`; export r; \
43001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43002 $(NORMAL_TARGET_EXPORTS) \
43003 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss"; \
43004 for flag in $(EXTRA_TARGET_FLAGS); do \
43005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43006 done; \
43007 (cd $(TARGET_SUBDIR)/libgloss && \
43008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43010 "RANLIB=$${RANLIB}" \
43011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43012 distclean) \
43013 || exit 1
43015 @endif target-libgloss
43017 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
43018 maybe-maintainer-clean-target-libgloss:
43019 @if target-libgloss
43020 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
43022 maintainer-clean-target-libgloss:
43023 @: $(MAKE); $(unstage)
43024 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
43025 r=`${PWD_COMMAND}`; export r; \
43026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43027 $(NORMAL_TARGET_EXPORTS) \
43028 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss"; \
43029 for flag in $(EXTRA_TARGET_FLAGS); do \
43030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43031 done; \
43032 (cd $(TARGET_SUBDIR)/libgloss && \
43033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43035 "RANLIB=$${RANLIB}" \
43036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43037 maintainer-clean) \
43038 || exit 1
43040 @endif target-libgloss
43046 .PHONY: configure-target-libffi maybe-configure-target-libffi
43047 maybe-configure-target-libffi:
43048 @if gcc-bootstrap
43049 configure-target-libffi: stage_current
43050 @endif gcc-bootstrap
43051 @if target-libffi
43052 maybe-configure-target-libffi: configure-target-libffi
43053 configure-target-libffi:
43054 @: $(MAKE); $(unstage)
43055 @r=`${PWD_COMMAND}`; export r; \
43056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43057 echo "Checking multilib configuration for libffi..."; \
43058 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi; \
43059 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null; \
43060 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
43061 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
43062 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
43063 else \
43064 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
43065 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
43066 fi; \
43067 else \
43068 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
43069 fi; \
43070 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
43071 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi; \
43072 $(NORMAL_TARGET_EXPORTS) \
43073 echo Configuring in $(TARGET_SUBDIR)/libffi; \
43074 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
43075 case $(srcdir) in \
43076 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43077 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
43078 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43079 esac; \
43080 module_srcdir=libffi; \
43081 rm -f no-such-file || : ; \
43082 CONFIG_SITE=no-such-file $(SHELL) \
43083 $$s/$$module_srcdir/configure \
43084 --srcdir=$${topdir}/$$module_srcdir \
43085 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43086 --target=${target_alias} \
43087 || exit 1
43088 @endif target-libffi
43094 .PHONY: all-target-libffi maybe-all-target-libffi
43095 maybe-all-target-libffi:
43096 @if gcc-bootstrap
43097 all-target-libffi: stage_current
43098 @endif gcc-bootstrap
43099 @if target-libffi
43100 TARGET-target-libffi=all
43101 maybe-all-target-libffi: all-target-libffi
43102 all-target-libffi: configure-target-libffi
43103 @: $(MAKE); $(unstage)
43104 @r=`${PWD_COMMAND}`; export r; \
43105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43106 $(NORMAL_TARGET_EXPORTS) \
43107 (cd $(TARGET_SUBDIR)/libffi && \
43108 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
43109 $(TARGET-target-libffi))
43110 @endif target-libffi
43116 .PHONY: check-target-libffi maybe-check-target-libffi
43117 maybe-check-target-libffi:
43118 @if target-libffi
43119 maybe-check-target-libffi: check-target-libffi
43121 check-target-libffi:
43122 @: $(MAKE); $(unstage)
43123 @r=`${PWD_COMMAND}`; export r; \
43124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43125 $(NORMAL_TARGET_EXPORTS) \
43126 (cd $(TARGET_SUBDIR)/libffi && \
43127 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
43129 @endif target-libffi
43131 .PHONY: install-target-libffi maybe-install-target-libffi
43132 maybe-install-target-libffi:
43133 @if target-libffi
43134 maybe-install-target-libffi: install-target-libffi
43136 # Dummy target for uninstallable.
43137 install-target-libffi:
43139 @endif target-libffi
43141 .PHONY: install-strip-target-libffi maybe-install-strip-target-libffi
43142 maybe-install-strip-target-libffi:
43143 @if target-libffi
43144 maybe-install-strip-target-libffi: install-strip-target-libffi
43146 # Dummy target for uninstallable.
43147 install-strip-target-libffi:
43149 @endif target-libffi
43151 # Other targets (info, dvi, pdf, etc.)
43153 .PHONY: maybe-info-target-libffi info-target-libffi
43154 maybe-info-target-libffi:
43155 @if target-libffi
43156 maybe-info-target-libffi: info-target-libffi
43158 info-target-libffi: \
43159 configure-target-libffi
43160 @: $(MAKE); $(unstage)
43161 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
43162 r=`${PWD_COMMAND}`; export r; \
43163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43164 $(NORMAL_TARGET_EXPORTS) \
43165 echo "Doing info in $(TARGET_SUBDIR)/libffi"; \
43166 for flag in $(EXTRA_TARGET_FLAGS); do \
43167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43168 done; \
43169 (cd $(TARGET_SUBDIR)/libffi && \
43170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43172 "RANLIB=$${RANLIB}" \
43173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43174 info) \
43175 || exit 1
43177 @endif target-libffi
43179 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
43180 maybe-dvi-target-libffi:
43181 @if target-libffi
43182 maybe-dvi-target-libffi: dvi-target-libffi
43184 dvi-target-libffi: \
43185 configure-target-libffi
43186 @: $(MAKE); $(unstage)
43187 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
43188 r=`${PWD_COMMAND}`; export r; \
43189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43190 $(NORMAL_TARGET_EXPORTS) \
43191 echo "Doing dvi in $(TARGET_SUBDIR)/libffi"; \
43192 for flag in $(EXTRA_TARGET_FLAGS); do \
43193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43194 done; \
43195 (cd $(TARGET_SUBDIR)/libffi && \
43196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43198 "RANLIB=$${RANLIB}" \
43199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43200 dvi) \
43201 || exit 1
43203 @endif target-libffi
43205 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
43206 maybe-pdf-target-libffi:
43207 @if target-libffi
43208 maybe-pdf-target-libffi: pdf-target-libffi
43210 pdf-target-libffi: \
43211 configure-target-libffi
43212 @: $(MAKE); $(unstage)
43213 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
43214 r=`${PWD_COMMAND}`; export r; \
43215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43216 $(NORMAL_TARGET_EXPORTS) \
43217 echo "Doing pdf in $(TARGET_SUBDIR)/libffi"; \
43218 for flag in $(EXTRA_TARGET_FLAGS); do \
43219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43220 done; \
43221 (cd $(TARGET_SUBDIR)/libffi && \
43222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43224 "RANLIB=$${RANLIB}" \
43225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43226 pdf) \
43227 || exit 1
43229 @endif target-libffi
43231 .PHONY: maybe-html-target-libffi html-target-libffi
43232 maybe-html-target-libffi:
43233 @if target-libffi
43234 maybe-html-target-libffi: html-target-libffi
43236 html-target-libffi: \
43237 configure-target-libffi
43238 @: $(MAKE); $(unstage)
43239 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
43240 r=`${PWD_COMMAND}`; export r; \
43241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43242 $(NORMAL_TARGET_EXPORTS) \
43243 echo "Doing html in $(TARGET_SUBDIR)/libffi"; \
43244 for flag in $(EXTRA_TARGET_FLAGS); do \
43245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43246 done; \
43247 (cd $(TARGET_SUBDIR)/libffi && \
43248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43250 "RANLIB=$${RANLIB}" \
43251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43252 html) \
43253 || exit 1
43255 @endif target-libffi
43257 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
43258 maybe-TAGS-target-libffi:
43259 @if target-libffi
43260 maybe-TAGS-target-libffi: TAGS-target-libffi
43262 TAGS-target-libffi: \
43263 configure-target-libffi
43264 @: $(MAKE); $(unstage)
43265 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
43266 r=`${PWD_COMMAND}`; export r; \
43267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43268 $(NORMAL_TARGET_EXPORTS) \
43269 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi"; \
43270 for flag in $(EXTRA_TARGET_FLAGS); do \
43271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43272 done; \
43273 (cd $(TARGET_SUBDIR)/libffi && \
43274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43276 "RANLIB=$${RANLIB}" \
43277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43278 TAGS) \
43279 || exit 1
43281 @endif target-libffi
43283 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
43284 maybe-install-info-target-libffi:
43285 @if target-libffi
43286 maybe-install-info-target-libffi: install-info-target-libffi
43288 install-info-target-libffi: \
43289 configure-target-libffi \
43290 info-target-libffi
43291 @: $(MAKE); $(unstage)
43292 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
43293 r=`${PWD_COMMAND}`; export r; \
43294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43295 $(NORMAL_TARGET_EXPORTS) \
43296 echo "Doing install-info in $(TARGET_SUBDIR)/libffi"; \
43297 for flag in $(EXTRA_TARGET_FLAGS); do \
43298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43299 done; \
43300 (cd $(TARGET_SUBDIR)/libffi && \
43301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43303 "RANLIB=$${RANLIB}" \
43304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43305 install-info) \
43306 || exit 1
43308 @endif target-libffi
43310 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
43311 maybe-install-pdf-target-libffi:
43312 @if target-libffi
43313 maybe-install-pdf-target-libffi: install-pdf-target-libffi
43315 install-pdf-target-libffi: \
43316 configure-target-libffi \
43317 pdf-target-libffi
43318 @: $(MAKE); $(unstage)
43319 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
43320 r=`${PWD_COMMAND}`; export r; \
43321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43322 $(NORMAL_TARGET_EXPORTS) \
43323 echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi"; \
43324 for flag in $(EXTRA_TARGET_FLAGS); do \
43325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43326 done; \
43327 (cd $(TARGET_SUBDIR)/libffi && \
43328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43330 "RANLIB=$${RANLIB}" \
43331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43332 install-pdf) \
43333 || exit 1
43335 @endif target-libffi
43337 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
43338 maybe-install-html-target-libffi:
43339 @if target-libffi
43340 maybe-install-html-target-libffi: install-html-target-libffi
43342 install-html-target-libffi: \
43343 configure-target-libffi \
43344 html-target-libffi
43345 @: $(MAKE); $(unstage)
43346 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
43347 r=`${PWD_COMMAND}`; export r; \
43348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43349 $(NORMAL_TARGET_EXPORTS) \
43350 echo "Doing install-html in $(TARGET_SUBDIR)/libffi"; \
43351 for flag in $(EXTRA_TARGET_FLAGS); do \
43352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43353 done; \
43354 (cd $(TARGET_SUBDIR)/libffi && \
43355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43357 "RANLIB=$${RANLIB}" \
43358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43359 install-html) \
43360 || exit 1
43362 @endif target-libffi
43364 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
43365 maybe-installcheck-target-libffi:
43366 @if target-libffi
43367 maybe-installcheck-target-libffi: installcheck-target-libffi
43369 installcheck-target-libffi: \
43370 configure-target-libffi
43371 @: $(MAKE); $(unstage)
43372 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
43373 r=`${PWD_COMMAND}`; export r; \
43374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43375 $(NORMAL_TARGET_EXPORTS) \
43376 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi"; \
43377 for flag in $(EXTRA_TARGET_FLAGS); do \
43378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43379 done; \
43380 (cd $(TARGET_SUBDIR)/libffi && \
43381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43383 "RANLIB=$${RANLIB}" \
43384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43385 installcheck) \
43386 || exit 1
43388 @endif target-libffi
43390 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
43391 maybe-mostlyclean-target-libffi:
43392 @if target-libffi
43393 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
43395 mostlyclean-target-libffi:
43396 @: $(MAKE); $(unstage)
43397 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
43398 r=`${PWD_COMMAND}`; export r; \
43399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43400 $(NORMAL_TARGET_EXPORTS) \
43401 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi"; \
43402 for flag in $(EXTRA_TARGET_FLAGS); do \
43403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43404 done; \
43405 (cd $(TARGET_SUBDIR)/libffi && \
43406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43408 "RANLIB=$${RANLIB}" \
43409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43410 mostlyclean) \
43411 || exit 1
43413 @endif target-libffi
43415 .PHONY: maybe-clean-target-libffi clean-target-libffi
43416 maybe-clean-target-libffi:
43417 @if target-libffi
43418 maybe-clean-target-libffi: clean-target-libffi
43420 clean-target-libffi:
43421 @: $(MAKE); $(unstage)
43422 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
43423 r=`${PWD_COMMAND}`; export r; \
43424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43425 $(NORMAL_TARGET_EXPORTS) \
43426 echo "Doing clean in $(TARGET_SUBDIR)/libffi"; \
43427 for flag in $(EXTRA_TARGET_FLAGS); do \
43428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43429 done; \
43430 (cd $(TARGET_SUBDIR)/libffi && \
43431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43433 "RANLIB=$${RANLIB}" \
43434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43435 clean) \
43436 || exit 1
43438 @endif target-libffi
43440 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
43441 maybe-distclean-target-libffi:
43442 @if target-libffi
43443 maybe-distclean-target-libffi: distclean-target-libffi
43445 distclean-target-libffi:
43446 @: $(MAKE); $(unstage)
43447 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
43448 r=`${PWD_COMMAND}`; export r; \
43449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43450 $(NORMAL_TARGET_EXPORTS) \
43451 echo "Doing distclean in $(TARGET_SUBDIR)/libffi"; \
43452 for flag in $(EXTRA_TARGET_FLAGS); do \
43453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43454 done; \
43455 (cd $(TARGET_SUBDIR)/libffi && \
43456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43458 "RANLIB=$${RANLIB}" \
43459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43460 distclean) \
43461 || exit 1
43463 @endif target-libffi
43465 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
43466 maybe-maintainer-clean-target-libffi:
43467 @if target-libffi
43468 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
43470 maintainer-clean-target-libffi:
43471 @: $(MAKE); $(unstage)
43472 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
43473 r=`${PWD_COMMAND}`; export r; \
43474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43475 $(NORMAL_TARGET_EXPORTS) \
43476 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi"; \
43477 for flag in $(EXTRA_TARGET_FLAGS); do \
43478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43479 done; \
43480 (cd $(TARGET_SUBDIR)/libffi && \
43481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43483 "RANLIB=$${RANLIB}" \
43484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43485 maintainer-clean) \
43486 || exit 1
43488 @endif target-libffi
43494 .PHONY: configure-target-libjava maybe-configure-target-libjava
43495 maybe-configure-target-libjava:
43496 @if gcc-bootstrap
43497 configure-target-libjava: stage_current
43498 @endif gcc-bootstrap
43499 @if target-libjava
43500 maybe-configure-target-libjava: configure-target-libjava
43501 configure-target-libjava:
43502 @: $(MAKE); $(unstage)
43503 @r=`${PWD_COMMAND}`; export r; \
43504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43505 echo "Checking multilib configuration for libjava..."; \
43506 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava; \
43507 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null; \
43508 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
43509 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
43510 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
43511 else \
43512 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
43513 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
43514 fi; \
43515 else \
43516 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
43517 fi; \
43518 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
43519 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava; \
43520 $(RAW_CXX_TARGET_EXPORTS) \
43521 echo Configuring in $(TARGET_SUBDIR)/libjava; \
43522 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
43523 case $(srcdir) in \
43524 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43525 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
43526 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43527 esac; \
43528 module_srcdir=libjava; \
43529 rm -f no-such-file || : ; \
43530 CONFIG_SITE=no-such-file $(SHELL) \
43531 $$s/$$module_srcdir/configure \
43532 --srcdir=$${topdir}/$$module_srcdir \
43533 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43534 --target=${target_alias} $(EXTRA_CONFIGARGS_LIBJAVA) \
43535 || exit 1
43536 @endif target-libjava
43542 .PHONY: all-target-libjava maybe-all-target-libjava
43543 maybe-all-target-libjava:
43544 @if gcc-bootstrap
43545 all-target-libjava: stage_current
43546 @endif gcc-bootstrap
43547 @if target-libjava
43548 TARGET-target-libjava=all
43549 maybe-all-target-libjava: all-target-libjava
43550 all-target-libjava: configure-target-libjava
43551 @: $(MAKE); $(unstage)
43552 @r=`${PWD_COMMAND}`; export r; \
43553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43554 $(RAW_CXX_TARGET_EXPORTS) \
43555 (cd $(TARGET_SUBDIR)/libjava && \
43556 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
43557 $(TARGET-target-libjava))
43558 @endif target-libjava
43564 .PHONY: check-target-libjava maybe-check-target-libjava
43565 maybe-check-target-libjava:
43566 @if target-libjava
43567 maybe-check-target-libjava: check-target-libjava
43569 check-target-libjava:
43570 @: $(MAKE); $(unstage)
43571 @r=`${PWD_COMMAND}`; export r; \
43572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43573 $(RAW_CXX_TARGET_EXPORTS) \
43574 (cd $(TARGET_SUBDIR)/libjava && \
43575 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
43577 @endif target-libjava
43579 .PHONY: install-target-libjava maybe-install-target-libjava
43580 maybe-install-target-libjava:
43581 @if target-libjava
43582 maybe-install-target-libjava: install-target-libjava
43584 install-target-libjava: installdirs
43585 @: $(MAKE); $(unstage)
43586 @r=`${PWD_COMMAND}`; export r; \
43587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43588 $(RAW_CXX_TARGET_EXPORTS) \
43589 (cd $(TARGET_SUBDIR)/libjava && \
43590 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43592 @endif target-libjava
43594 .PHONY: install-strip-target-libjava maybe-install-strip-target-libjava
43595 maybe-install-strip-target-libjava:
43596 @if target-libjava
43597 maybe-install-strip-target-libjava: install-strip-target-libjava
43599 install-strip-target-libjava: installdirs
43600 @: $(MAKE); $(unstage)
43601 @r=`${PWD_COMMAND}`; export r; \
43602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43603 $(RAW_CXX_TARGET_EXPORTS) \
43604 (cd $(TARGET_SUBDIR)/libjava && \
43605 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
43607 @endif target-libjava
43609 # Other targets (info, dvi, pdf, etc.)
43611 .PHONY: maybe-info-target-libjava info-target-libjava
43612 maybe-info-target-libjava:
43613 @if target-libjava
43614 maybe-info-target-libjava: info-target-libjava
43616 info-target-libjava: \
43617 configure-target-libjava
43618 @: $(MAKE); $(unstage)
43619 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0; \
43620 r=`${PWD_COMMAND}`; export r; \
43621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43622 $(RAW_CXX_TARGET_EXPORTS) \
43623 echo "Doing info in $(TARGET_SUBDIR)/libjava"; \
43624 for flag in $(EXTRA_TARGET_FLAGS); do \
43625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43626 done; \
43627 (cd $(TARGET_SUBDIR)/libjava && \
43628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43630 "RANLIB=$${RANLIB}" \
43631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43632 info) \
43633 || exit 1
43635 @endif target-libjava
43637 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
43638 maybe-dvi-target-libjava:
43639 @if target-libjava
43640 maybe-dvi-target-libjava: dvi-target-libjava
43642 dvi-target-libjava: \
43643 configure-target-libjava
43644 @: $(MAKE); $(unstage)
43645 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0; \
43646 r=`${PWD_COMMAND}`; export r; \
43647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43648 $(RAW_CXX_TARGET_EXPORTS) \
43649 echo "Doing dvi in $(TARGET_SUBDIR)/libjava"; \
43650 for flag in $(EXTRA_TARGET_FLAGS); do \
43651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43652 done; \
43653 (cd $(TARGET_SUBDIR)/libjava && \
43654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43656 "RANLIB=$${RANLIB}" \
43657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43658 dvi) \
43659 || exit 1
43661 @endif target-libjava
43663 .PHONY: maybe-pdf-target-libjava pdf-target-libjava
43664 maybe-pdf-target-libjava:
43665 @if target-libjava
43666 maybe-pdf-target-libjava: pdf-target-libjava
43668 pdf-target-libjava: \
43669 configure-target-libjava
43670 @: $(MAKE); $(unstage)
43671 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0; \
43672 r=`${PWD_COMMAND}`; export r; \
43673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43674 $(RAW_CXX_TARGET_EXPORTS) \
43675 echo "Doing pdf in $(TARGET_SUBDIR)/libjava"; \
43676 for flag in $(EXTRA_TARGET_FLAGS); do \
43677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43678 done; \
43679 (cd $(TARGET_SUBDIR)/libjava && \
43680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43682 "RANLIB=$${RANLIB}" \
43683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43684 pdf) \
43685 || exit 1
43687 @endif target-libjava
43689 .PHONY: maybe-html-target-libjava html-target-libjava
43690 maybe-html-target-libjava:
43691 @if target-libjava
43692 maybe-html-target-libjava: html-target-libjava
43694 html-target-libjava: \
43695 configure-target-libjava
43696 @: $(MAKE); $(unstage)
43697 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0; \
43698 r=`${PWD_COMMAND}`; export r; \
43699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43700 $(RAW_CXX_TARGET_EXPORTS) \
43701 echo "Doing html in $(TARGET_SUBDIR)/libjava"; \
43702 for flag in $(EXTRA_TARGET_FLAGS); do \
43703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43704 done; \
43705 (cd $(TARGET_SUBDIR)/libjava && \
43706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43708 "RANLIB=$${RANLIB}" \
43709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43710 html) \
43711 || exit 1
43713 @endif target-libjava
43715 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
43716 maybe-TAGS-target-libjava:
43717 @if target-libjava
43718 maybe-TAGS-target-libjava: TAGS-target-libjava
43720 TAGS-target-libjava: \
43721 configure-target-libjava
43722 @: $(MAKE); $(unstage)
43723 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0; \
43724 r=`${PWD_COMMAND}`; export r; \
43725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43726 $(RAW_CXX_TARGET_EXPORTS) \
43727 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava"; \
43728 for flag in $(EXTRA_TARGET_FLAGS); do \
43729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43730 done; \
43731 (cd $(TARGET_SUBDIR)/libjava && \
43732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43734 "RANLIB=$${RANLIB}" \
43735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43736 TAGS) \
43737 || exit 1
43739 @endif target-libjava
43741 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
43742 maybe-install-info-target-libjava:
43743 @if target-libjava
43744 maybe-install-info-target-libjava: install-info-target-libjava
43746 install-info-target-libjava: \
43747 configure-target-libjava \
43748 info-target-libjava
43749 @: $(MAKE); $(unstage)
43750 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0; \
43751 r=`${PWD_COMMAND}`; export r; \
43752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43753 $(RAW_CXX_TARGET_EXPORTS) \
43754 echo "Doing install-info in $(TARGET_SUBDIR)/libjava"; \
43755 for flag in $(EXTRA_TARGET_FLAGS); do \
43756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43757 done; \
43758 (cd $(TARGET_SUBDIR)/libjava && \
43759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43761 "RANLIB=$${RANLIB}" \
43762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43763 install-info) \
43764 || exit 1
43766 @endif target-libjava
43768 .PHONY: maybe-install-pdf-target-libjava install-pdf-target-libjava
43769 maybe-install-pdf-target-libjava:
43770 @if target-libjava
43771 maybe-install-pdf-target-libjava: install-pdf-target-libjava
43773 install-pdf-target-libjava: \
43774 configure-target-libjava \
43775 pdf-target-libjava
43776 @: $(MAKE); $(unstage)
43777 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0; \
43778 r=`${PWD_COMMAND}`; export r; \
43779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43780 $(RAW_CXX_TARGET_EXPORTS) \
43781 echo "Doing install-pdf in $(TARGET_SUBDIR)/libjava"; \
43782 for flag in $(EXTRA_TARGET_FLAGS); do \
43783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43784 done; \
43785 (cd $(TARGET_SUBDIR)/libjava && \
43786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43788 "RANLIB=$${RANLIB}" \
43789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43790 install-pdf) \
43791 || exit 1
43793 @endif target-libjava
43795 .PHONY: maybe-install-html-target-libjava install-html-target-libjava
43796 maybe-install-html-target-libjava:
43797 @if target-libjava
43798 maybe-install-html-target-libjava: install-html-target-libjava
43800 install-html-target-libjava: \
43801 configure-target-libjava \
43802 html-target-libjava
43803 @: $(MAKE); $(unstage)
43804 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0; \
43805 r=`${PWD_COMMAND}`; export r; \
43806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43807 $(RAW_CXX_TARGET_EXPORTS) \
43808 echo "Doing install-html in $(TARGET_SUBDIR)/libjava"; \
43809 for flag in $(EXTRA_TARGET_FLAGS); do \
43810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43811 done; \
43812 (cd $(TARGET_SUBDIR)/libjava && \
43813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43815 "RANLIB=$${RANLIB}" \
43816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43817 install-html) \
43818 || exit 1
43820 @endif target-libjava
43822 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
43823 maybe-installcheck-target-libjava:
43824 @if target-libjava
43825 maybe-installcheck-target-libjava: installcheck-target-libjava
43827 installcheck-target-libjava: \
43828 configure-target-libjava
43829 @: $(MAKE); $(unstage)
43830 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0; \
43831 r=`${PWD_COMMAND}`; export r; \
43832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43833 $(RAW_CXX_TARGET_EXPORTS) \
43834 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava"; \
43835 for flag in $(EXTRA_TARGET_FLAGS); do \
43836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43837 done; \
43838 (cd $(TARGET_SUBDIR)/libjava && \
43839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43841 "RANLIB=$${RANLIB}" \
43842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43843 installcheck) \
43844 || exit 1
43846 @endif target-libjava
43848 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
43849 maybe-mostlyclean-target-libjava:
43850 @if target-libjava
43851 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
43853 mostlyclean-target-libjava:
43854 @: $(MAKE); $(unstage)
43855 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0; \
43856 r=`${PWD_COMMAND}`; export r; \
43857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43858 $(RAW_CXX_TARGET_EXPORTS) \
43859 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava"; \
43860 for flag in $(EXTRA_TARGET_FLAGS); do \
43861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43862 done; \
43863 (cd $(TARGET_SUBDIR)/libjava && \
43864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43866 "RANLIB=$${RANLIB}" \
43867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43868 mostlyclean) \
43869 || exit 1
43871 @endif target-libjava
43873 .PHONY: maybe-clean-target-libjava clean-target-libjava
43874 maybe-clean-target-libjava:
43875 @if target-libjava
43876 maybe-clean-target-libjava: clean-target-libjava
43878 clean-target-libjava:
43879 @: $(MAKE); $(unstage)
43880 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0; \
43881 r=`${PWD_COMMAND}`; export r; \
43882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43883 $(RAW_CXX_TARGET_EXPORTS) \
43884 echo "Doing clean in $(TARGET_SUBDIR)/libjava"; \
43885 for flag in $(EXTRA_TARGET_FLAGS); do \
43886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43887 done; \
43888 (cd $(TARGET_SUBDIR)/libjava && \
43889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43891 "RANLIB=$${RANLIB}" \
43892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43893 clean) \
43894 || exit 1
43896 @endif target-libjava
43898 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
43899 maybe-distclean-target-libjava:
43900 @if target-libjava
43901 maybe-distclean-target-libjava: distclean-target-libjava
43903 distclean-target-libjava:
43904 @: $(MAKE); $(unstage)
43905 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0; \
43906 r=`${PWD_COMMAND}`; export r; \
43907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43908 $(RAW_CXX_TARGET_EXPORTS) \
43909 echo "Doing distclean in $(TARGET_SUBDIR)/libjava"; \
43910 for flag in $(EXTRA_TARGET_FLAGS); do \
43911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43912 done; \
43913 (cd $(TARGET_SUBDIR)/libjava && \
43914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43916 "RANLIB=$${RANLIB}" \
43917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43918 distclean) \
43919 || exit 1
43921 @endif target-libjava
43923 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
43924 maybe-maintainer-clean-target-libjava:
43925 @if target-libjava
43926 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
43928 maintainer-clean-target-libjava:
43929 @: $(MAKE); $(unstage)
43930 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0; \
43931 r=`${PWD_COMMAND}`; export r; \
43932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43933 $(RAW_CXX_TARGET_EXPORTS) \
43934 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava"; \
43935 for flag in $(EXTRA_TARGET_FLAGS); do \
43936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43937 done; \
43938 (cd $(TARGET_SUBDIR)/libjava && \
43939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43941 "RANLIB=$${RANLIB}" \
43942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43943 maintainer-clean) \
43944 || exit 1
43946 @endif target-libjava
43952 .PHONY: configure-target-zlib maybe-configure-target-zlib
43953 maybe-configure-target-zlib:
43954 @if gcc-bootstrap
43955 configure-target-zlib: stage_current
43956 @endif gcc-bootstrap
43957 @if target-zlib
43958 maybe-configure-target-zlib: configure-target-zlib
43959 configure-target-zlib:
43960 @: $(MAKE); $(unstage)
43961 @r=`${PWD_COMMAND}`; export r; \
43962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43963 echo "Checking multilib configuration for zlib..."; \
43964 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
43965 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null; \
43966 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
43967 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
43968 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
43969 else \
43970 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
43971 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
43972 fi; \
43973 else \
43974 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
43975 fi; \
43976 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
43977 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
43978 $(NORMAL_TARGET_EXPORTS) \
43979 echo Configuring in $(TARGET_SUBDIR)/zlib; \
43980 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
43981 case $(srcdir) in \
43982 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43983 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
43984 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43985 esac; \
43986 module_srcdir=zlib; \
43987 rm -f no-such-file || : ; \
43988 CONFIG_SITE=no-such-file $(SHELL) \
43989 $$s/$$module_srcdir/configure \
43990 --srcdir=$${topdir}/$$module_srcdir \
43991 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43992 --target=${target_alias} \
43993 || exit 1
43994 @endif target-zlib
44000 .PHONY: all-target-zlib maybe-all-target-zlib
44001 maybe-all-target-zlib:
44002 @if gcc-bootstrap
44003 all-target-zlib: stage_current
44004 @endif gcc-bootstrap
44005 @if target-zlib
44006 TARGET-target-zlib=all
44007 maybe-all-target-zlib: all-target-zlib
44008 all-target-zlib: configure-target-zlib
44009 @: $(MAKE); $(unstage)
44010 @r=`${PWD_COMMAND}`; export r; \
44011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44012 $(NORMAL_TARGET_EXPORTS) \
44013 (cd $(TARGET_SUBDIR)/zlib && \
44014 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
44015 $(TARGET-target-zlib))
44016 @endif target-zlib
44022 .PHONY: check-target-zlib maybe-check-target-zlib
44023 maybe-check-target-zlib:
44024 @if target-zlib
44025 maybe-check-target-zlib: check-target-zlib
44027 check-target-zlib:
44028 @: $(MAKE); $(unstage)
44029 @r=`${PWD_COMMAND}`; export r; \
44030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44031 $(NORMAL_TARGET_EXPORTS) \
44032 (cd $(TARGET_SUBDIR)/zlib && \
44033 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
44035 @endif target-zlib
44037 .PHONY: install-target-zlib maybe-install-target-zlib
44038 maybe-install-target-zlib:
44039 @if target-zlib
44040 maybe-install-target-zlib: install-target-zlib
44042 install-target-zlib: installdirs
44043 @: $(MAKE); $(unstage)
44044 @r=`${PWD_COMMAND}`; export r; \
44045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44046 $(NORMAL_TARGET_EXPORTS) \
44047 (cd $(TARGET_SUBDIR)/zlib && \
44048 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44050 @endif target-zlib
44052 .PHONY: install-strip-target-zlib maybe-install-strip-target-zlib
44053 maybe-install-strip-target-zlib:
44054 @if target-zlib
44055 maybe-install-strip-target-zlib: install-strip-target-zlib
44057 install-strip-target-zlib: installdirs
44058 @: $(MAKE); $(unstage)
44059 @r=`${PWD_COMMAND}`; export r; \
44060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44061 $(NORMAL_TARGET_EXPORTS) \
44062 (cd $(TARGET_SUBDIR)/zlib && \
44063 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
44065 @endif target-zlib
44067 # Other targets (info, dvi, pdf, etc.)
44069 .PHONY: maybe-info-target-zlib info-target-zlib
44070 maybe-info-target-zlib:
44071 @if target-zlib
44072 maybe-info-target-zlib: info-target-zlib
44074 info-target-zlib: \
44075 configure-target-zlib
44076 @: $(MAKE); $(unstage)
44077 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
44078 r=`${PWD_COMMAND}`; export r; \
44079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44080 $(NORMAL_TARGET_EXPORTS) \
44081 echo "Doing info in $(TARGET_SUBDIR)/zlib"; \
44082 for flag in $(EXTRA_TARGET_FLAGS); do \
44083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44084 done; \
44085 (cd $(TARGET_SUBDIR)/zlib && \
44086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44088 "RANLIB=$${RANLIB}" \
44089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44090 info) \
44091 || exit 1
44093 @endif target-zlib
44095 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
44096 maybe-dvi-target-zlib:
44097 @if target-zlib
44098 maybe-dvi-target-zlib: dvi-target-zlib
44100 dvi-target-zlib: \
44101 configure-target-zlib
44102 @: $(MAKE); $(unstage)
44103 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
44104 r=`${PWD_COMMAND}`; export r; \
44105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44106 $(NORMAL_TARGET_EXPORTS) \
44107 echo "Doing dvi in $(TARGET_SUBDIR)/zlib"; \
44108 for flag in $(EXTRA_TARGET_FLAGS); do \
44109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44110 done; \
44111 (cd $(TARGET_SUBDIR)/zlib && \
44112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44114 "RANLIB=$${RANLIB}" \
44115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44116 dvi) \
44117 || exit 1
44119 @endif target-zlib
44121 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
44122 maybe-pdf-target-zlib:
44123 @if target-zlib
44124 maybe-pdf-target-zlib: pdf-target-zlib
44126 pdf-target-zlib: \
44127 configure-target-zlib
44128 @: $(MAKE); $(unstage)
44129 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
44130 r=`${PWD_COMMAND}`; export r; \
44131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44132 $(NORMAL_TARGET_EXPORTS) \
44133 echo "Doing pdf in $(TARGET_SUBDIR)/zlib"; \
44134 for flag in $(EXTRA_TARGET_FLAGS); do \
44135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44136 done; \
44137 (cd $(TARGET_SUBDIR)/zlib && \
44138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44140 "RANLIB=$${RANLIB}" \
44141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44142 pdf) \
44143 || exit 1
44145 @endif target-zlib
44147 .PHONY: maybe-html-target-zlib html-target-zlib
44148 maybe-html-target-zlib:
44149 @if target-zlib
44150 maybe-html-target-zlib: html-target-zlib
44152 html-target-zlib: \
44153 configure-target-zlib
44154 @: $(MAKE); $(unstage)
44155 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
44156 r=`${PWD_COMMAND}`; export r; \
44157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44158 $(NORMAL_TARGET_EXPORTS) \
44159 echo "Doing html in $(TARGET_SUBDIR)/zlib"; \
44160 for flag in $(EXTRA_TARGET_FLAGS); do \
44161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44162 done; \
44163 (cd $(TARGET_SUBDIR)/zlib && \
44164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44166 "RANLIB=$${RANLIB}" \
44167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44168 html) \
44169 || exit 1
44171 @endif target-zlib
44173 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
44174 maybe-TAGS-target-zlib:
44175 @if target-zlib
44176 maybe-TAGS-target-zlib: TAGS-target-zlib
44178 TAGS-target-zlib: \
44179 configure-target-zlib
44180 @: $(MAKE); $(unstage)
44181 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
44182 r=`${PWD_COMMAND}`; export r; \
44183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44184 $(NORMAL_TARGET_EXPORTS) \
44185 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib"; \
44186 for flag in $(EXTRA_TARGET_FLAGS); do \
44187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44188 done; \
44189 (cd $(TARGET_SUBDIR)/zlib && \
44190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44192 "RANLIB=$${RANLIB}" \
44193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44194 TAGS) \
44195 || exit 1
44197 @endif target-zlib
44199 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
44200 maybe-install-info-target-zlib:
44201 @if target-zlib
44202 maybe-install-info-target-zlib: install-info-target-zlib
44204 install-info-target-zlib: \
44205 configure-target-zlib \
44206 info-target-zlib
44207 @: $(MAKE); $(unstage)
44208 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
44209 r=`${PWD_COMMAND}`; export r; \
44210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44211 $(NORMAL_TARGET_EXPORTS) \
44212 echo "Doing install-info in $(TARGET_SUBDIR)/zlib"; \
44213 for flag in $(EXTRA_TARGET_FLAGS); do \
44214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44215 done; \
44216 (cd $(TARGET_SUBDIR)/zlib && \
44217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44219 "RANLIB=$${RANLIB}" \
44220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44221 install-info) \
44222 || exit 1
44224 @endif target-zlib
44226 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
44227 maybe-install-pdf-target-zlib:
44228 @if target-zlib
44229 maybe-install-pdf-target-zlib: install-pdf-target-zlib
44231 install-pdf-target-zlib: \
44232 configure-target-zlib \
44233 pdf-target-zlib
44234 @: $(MAKE); $(unstage)
44235 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
44236 r=`${PWD_COMMAND}`; export r; \
44237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44238 $(NORMAL_TARGET_EXPORTS) \
44239 echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib"; \
44240 for flag in $(EXTRA_TARGET_FLAGS); do \
44241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44242 done; \
44243 (cd $(TARGET_SUBDIR)/zlib && \
44244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44246 "RANLIB=$${RANLIB}" \
44247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44248 install-pdf) \
44249 || exit 1
44251 @endif target-zlib
44253 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
44254 maybe-install-html-target-zlib:
44255 @if target-zlib
44256 maybe-install-html-target-zlib: install-html-target-zlib
44258 install-html-target-zlib: \
44259 configure-target-zlib \
44260 html-target-zlib
44261 @: $(MAKE); $(unstage)
44262 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
44263 r=`${PWD_COMMAND}`; export r; \
44264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44265 $(NORMAL_TARGET_EXPORTS) \
44266 echo "Doing install-html in $(TARGET_SUBDIR)/zlib"; \
44267 for flag in $(EXTRA_TARGET_FLAGS); do \
44268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44269 done; \
44270 (cd $(TARGET_SUBDIR)/zlib && \
44271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44273 "RANLIB=$${RANLIB}" \
44274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44275 install-html) \
44276 || exit 1
44278 @endif target-zlib
44280 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
44281 maybe-installcheck-target-zlib:
44282 @if target-zlib
44283 maybe-installcheck-target-zlib: installcheck-target-zlib
44285 installcheck-target-zlib: \
44286 configure-target-zlib
44287 @: $(MAKE); $(unstage)
44288 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
44289 r=`${PWD_COMMAND}`; export r; \
44290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44291 $(NORMAL_TARGET_EXPORTS) \
44292 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib"; \
44293 for flag in $(EXTRA_TARGET_FLAGS); do \
44294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44295 done; \
44296 (cd $(TARGET_SUBDIR)/zlib && \
44297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44299 "RANLIB=$${RANLIB}" \
44300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44301 installcheck) \
44302 || exit 1
44304 @endif target-zlib
44306 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
44307 maybe-mostlyclean-target-zlib:
44308 @if target-zlib
44309 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
44311 mostlyclean-target-zlib:
44312 @: $(MAKE); $(unstage)
44313 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
44314 r=`${PWD_COMMAND}`; export r; \
44315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44316 $(NORMAL_TARGET_EXPORTS) \
44317 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib"; \
44318 for flag in $(EXTRA_TARGET_FLAGS); do \
44319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44320 done; \
44321 (cd $(TARGET_SUBDIR)/zlib && \
44322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44324 "RANLIB=$${RANLIB}" \
44325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44326 mostlyclean) \
44327 || exit 1
44329 @endif target-zlib
44331 .PHONY: maybe-clean-target-zlib clean-target-zlib
44332 maybe-clean-target-zlib:
44333 @if target-zlib
44334 maybe-clean-target-zlib: clean-target-zlib
44336 clean-target-zlib:
44337 @: $(MAKE); $(unstage)
44338 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
44339 r=`${PWD_COMMAND}`; export r; \
44340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44341 $(NORMAL_TARGET_EXPORTS) \
44342 echo "Doing clean in $(TARGET_SUBDIR)/zlib"; \
44343 for flag in $(EXTRA_TARGET_FLAGS); do \
44344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44345 done; \
44346 (cd $(TARGET_SUBDIR)/zlib && \
44347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44349 "RANLIB=$${RANLIB}" \
44350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44351 clean) \
44352 || exit 1
44354 @endif target-zlib
44356 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
44357 maybe-distclean-target-zlib:
44358 @if target-zlib
44359 maybe-distclean-target-zlib: distclean-target-zlib
44361 distclean-target-zlib:
44362 @: $(MAKE); $(unstage)
44363 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
44364 r=`${PWD_COMMAND}`; export r; \
44365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44366 $(NORMAL_TARGET_EXPORTS) \
44367 echo "Doing distclean in $(TARGET_SUBDIR)/zlib"; \
44368 for flag in $(EXTRA_TARGET_FLAGS); do \
44369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44370 done; \
44371 (cd $(TARGET_SUBDIR)/zlib && \
44372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44374 "RANLIB=$${RANLIB}" \
44375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44376 distclean) \
44377 || exit 1
44379 @endif target-zlib
44381 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
44382 maybe-maintainer-clean-target-zlib:
44383 @if target-zlib
44384 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
44386 maintainer-clean-target-zlib:
44387 @: $(MAKE); $(unstage)
44388 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
44389 r=`${PWD_COMMAND}`; export r; \
44390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44391 $(NORMAL_TARGET_EXPORTS) \
44392 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib"; \
44393 for flag in $(EXTRA_TARGET_FLAGS); do \
44394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44395 done; \
44396 (cd $(TARGET_SUBDIR)/zlib && \
44397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44399 "RANLIB=$${RANLIB}" \
44400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44401 maintainer-clean) \
44402 || exit 1
44404 @endif target-zlib
44410 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
44411 maybe-configure-target-boehm-gc:
44412 @if gcc-bootstrap
44413 configure-target-boehm-gc: stage_current
44414 @endif gcc-bootstrap
44415 @if target-boehm-gc
44416 maybe-configure-target-boehm-gc: configure-target-boehm-gc
44417 configure-target-boehm-gc:
44418 @: $(MAKE); $(unstage)
44419 @r=`${PWD_COMMAND}`; export r; \
44420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44421 echo "Checking multilib configuration for boehm-gc..."; \
44422 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc; \
44423 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null; \
44424 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
44425 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
44426 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
44427 else \
44428 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
44429 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
44430 fi; \
44431 else \
44432 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
44433 fi; \
44434 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
44435 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc; \
44436 $(NORMAL_TARGET_EXPORTS) \
44437 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
44438 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
44439 case $(srcdir) in \
44440 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44441 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
44442 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44443 esac; \
44444 module_srcdir=boehm-gc; \
44445 rm -f no-such-file || : ; \
44446 CONFIG_SITE=no-such-file $(SHELL) \
44447 $$s/$$module_srcdir/configure \
44448 --srcdir=$${topdir}/$$module_srcdir \
44449 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44450 --target=${target_alias} \
44451 || exit 1
44452 @endif target-boehm-gc
44458 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
44459 maybe-all-target-boehm-gc:
44460 @if gcc-bootstrap
44461 all-target-boehm-gc: stage_current
44462 @endif gcc-bootstrap
44463 @if target-boehm-gc
44464 TARGET-target-boehm-gc=all
44465 maybe-all-target-boehm-gc: all-target-boehm-gc
44466 all-target-boehm-gc: configure-target-boehm-gc
44467 @: $(MAKE); $(unstage)
44468 @r=`${PWD_COMMAND}`; export r; \
44469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44470 $(NORMAL_TARGET_EXPORTS) \
44471 (cd $(TARGET_SUBDIR)/boehm-gc && \
44472 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
44473 $(TARGET-target-boehm-gc))
44474 @endif target-boehm-gc
44480 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
44481 maybe-check-target-boehm-gc:
44482 @if target-boehm-gc
44483 maybe-check-target-boehm-gc: check-target-boehm-gc
44485 check-target-boehm-gc:
44486 @: $(MAKE); $(unstage)
44487 @r=`${PWD_COMMAND}`; export r; \
44488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44489 $(NORMAL_TARGET_EXPORTS) \
44490 (cd $(TARGET_SUBDIR)/boehm-gc && \
44491 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
44493 @endif target-boehm-gc
44495 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
44496 maybe-install-target-boehm-gc:
44497 @if target-boehm-gc
44498 maybe-install-target-boehm-gc: install-target-boehm-gc
44500 install-target-boehm-gc: installdirs
44501 @: $(MAKE); $(unstage)
44502 @r=`${PWD_COMMAND}`; export r; \
44503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44504 $(NORMAL_TARGET_EXPORTS) \
44505 (cd $(TARGET_SUBDIR)/boehm-gc && \
44506 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44508 @endif target-boehm-gc
44510 .PHONY: install-strip-target-boehm-gc maybe-install-strip-target-boehm-gc
44511 maybe-install-strip-target-boehm-gc:
44512 @if target-boehm-gc
44513 maybe-install-strip-target-boehm-gc: install-strip-target-boehm-gc
44515 install-strip-target-boehm-gc: installdirs
44516 @: $(MAKE); $(unstage)
44517 @r=`${PWD_COMMAND}`; export r; \
44518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44519 $(NORMAL_TARGET_EXPORTS) \
44520 (cd $(TARGET_SUBDIR)/boehm-gc && \
44521 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
44523 @endif target-boehm-gc
44525 # Other targets (info, dvi, pdf, etc.)
44527 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
44528 maybe-info-target-boehm-gc:
44529 @if target-boehm-gc
44530 maybe-info-target-boehm-gc: info-target-boehm-gc
44532 info-target-boehm-gc: \
44533 configure-target-boehm-gc
44534 @: $(MAKE); $(unstage)
44535 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
44536 r=`${PWD_COMMAND}`; export r; \
44537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44538 $(NORMAL_TARGET_EXPORTS) \
44539 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc"; \
44540 for flag in $(EXTRA_TARGET_FLAGS); do \
44541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44542 done; \
44543 (cd $(TARGET_SUBDIR)/boehm-gc && \
44544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44546 "RANLIB=$${RANLIB}" \
44547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44548 info) \
44549 || exit 1
44551 @endif target-boehm-gc
44553 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
44554 maybe-dvi-target-boehm-gc:
44555 @if target-boehm-gc
44556 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
44558 dvi-target-boehm-gc: \
44559 configure-target-boehm-gc
44560 @: $(MAKE); $(unstage)
44561 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
44562 r=`${PWD_COMMAND}`; export r; \
44563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44564 $(NORMAL_TARGET_EXPORTS) \
44565 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc"; \
44566 for flag in $(EXTRA_TARGET_FLAGS); do \
44567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44568 done; \
44569 (cd $(TARGET_SUBDIR)/boehm-gc && \
44570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44572 "RANLIB=$${RANLIB}" \
44573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44574 dvi) \
44575 || exit 1
44577 @endif target-boehm-gc
44579 .PHONY: maybe-pdf-target-boehm-gc pdf-target-boehm-gc
44580 maybe-pdf-target-boehm-gc:
44581 @if target-boehm-gc
44582 maybe-pdf-target-boehm-gc: pdf-target-boehm-gc
44584 pdf-target-boehm-gc: \
44585 configure-target-boehm-gc
44586 @: $(MAKE); $(unstage)
44587 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
44588 r=`${PWD_COMMAND}`; export r; \
44589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44590 $(NORMAL_TARGET_EXPORTS) \
44591 echo "Doing pdf in $(TARGET_SUBDIR)/boehm-gc"; \
44592 for flag in $(EXTRA_TARGET_FLAGS); do \
44593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44594 done; \
44595 (cd $(TARGET_SUBDIR)/boehm-gc && \
44596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44598 "RANLIB=$${RANLIB}" \
44599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44600 pdf) \
44601 || exit 1
44603 @endif target-boehm-gc
44605 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
44606 maybe-html-target-boehm-gc:
44607 @if target-boehm-gc
44608 maybe-html-target-boehm-gc: html-target-boehm-gc
44610 html-target-boehm-gc: \
44611 configure-target-boehm-gc
44612 @: $(MAKE); $(unstage)
44613 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
44614 r=`${PWD_COMMAND}`; export r; \
44615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44616 $(NORMAL_TARGET_EXPORTS) \
44617 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc"; \
44618 for flag in $(EXTRA_TARGET_FLAGS); do \
44619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44620 done; \
44621 (cd $(TARGET_SUBDIR)/boehm-gc && \
44622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44624 "RANLIB=$${RANLIB}" \
44625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44626 html) \
44627 || exit 1
44629 @endif target-boehm-gc
44631 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
44632 maybe-TAGS-target-boehm-gc:
44633 @if target-boehm-gc
44634 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
44636 TAGS-target-boehm-gc: \
44637 configure-target-boehm-gc
44638 @: $(MAKE); $(unstage)
44639 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
44640 r=`${PWD_COMMAND}`; export r; \
44641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44642 $(NORMAL_TARGET_EXPORTS) \
44643 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc"; \
44644 for flag in $(EXTRA_TARGET_FLAGS); do \
44645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44646 done; \
44647 (cd $(TARGET_SUBDIR)/boehm-gc && \
44648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44650 "RANLIB=$${RANLIB}" \
44651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44652 TAGS) \
44653 || exit 1
44655 @endif target-boehm-gc
44657 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
44658 maybe-install-info-target-boehm-gc:
44659 @if target-boehm-gc
44660 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
44662 install-info-target-boehm-gc: \
44663 configure-target-boehm-gc \
44664 info-target-boehm-gc
44665 @: $(MAKE); $(unstage)
44666 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
44667 r=`${PWD_COMMAND}`; export r; \
44668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44669 $(NORMAL_TARGET_EXPORTS) \
44670 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc"; \
44671 for flag in $(EXTRA_TARGET_FLAGS); do \
44672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44673 done; \
44674 (cd $(TARGET_SUBDIR)/boehm-gc && \
44675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44677 "RANLIB=$${RANLIB}" \
44678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44679 install-info) \
44680 || exit 1
44682 @endif target-boehm-gc
44684 .PHONY: maybe-install-pdf-target-boehm-gc install-pdf-target-boehm-gc
44685 maybe-install-pdf-target-boehm-gc:
44686 @if target-boehm-gc
44687 maybe-install-pdf-target-boehm-gc: install-pdf-target-boehm-gc
44689 install-pdf-target-boehm-gc: \
44690 configure-target-boehm-gc \
44691 pdf-target-boehm-gc
44692 @: $(MAKE); $(unstage)
44693 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
44694 r=`${PWD_COMMAND}`; export r; \
44695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44696 $(NORMAL_TARGET_EXPORTS) \
44697 echo "Doing install-pdf in $(TARGET_SUBDIR)/boehm-gc"; \
44698 for flag in $(EXTRA_TARGET_FLAGS); do \
44699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44700 done; \
44701 (cd $(TARGET_SUBDIR)/boehm-gc && \
44702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44704 "RANLIB=$${RANLIB}" \
44705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44706 install-pdf) \
44707 || exit 1
44709 @endif target-boehm-gc
44711 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
44712 maybe-install-html-target-boehm-gc:
44713 @if target-boehm-gc
44714 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
44716 install-html-target-boehm-gc: \
44717 configure-target-boehm-gc \
44718 html-target-boehm-gc
44719 @: $(MAKE); $(unstage)
44720 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
44721 r=`${PWD_COMMAND}`; export r; \
44722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44723 $(NORMAL_TARGET_EXPORTS) \
44724 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc"; \
44725 for flag in $(EXTRA_TARGET_FLAGS); do \
44726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44727 done; \
44728 (cd $(TARGET_SUBDIR)/boehm-gc && \
44729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44731 "RANLIB=$${RANLIB}" \
44732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44733 install-html) \
44734 || exit 1
44736 @endif target-boehm-gc
44738 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
44739 maybe-installcheck-target-boehm-gc:
44740 @if target-boehm-gc
44741 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
44743 installcheck-target-boehm-gc: \
44744 configure-target-boehm-gc
44745 @: $(MAKE); $(unstage)
44746 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
44747 r=`${PWD_COMMAND}`; export r; \
44748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44749 $(NORMAL_TARGET_EXPORTS) \
44750 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc"; \
44751 for flag in $(EXTRA_TARGET_FLAGS); do \
44752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44753 done; \
44754 (cd $(TARGET_SUBDIR)/boehm-gc && \
44755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44757 "RANLIB=$${RANLIB}" \
44758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44759 installcheck) \
44760 || exit 1
44762 @endif target-boehm-gc
44764 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
44765 maybe-mostlyclean-target-boehm-gc:
44766 @if target-boehm-gc
44767 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
44769 mostlyclean-target-boehm-gc:
44770 @: $(MAKE); $(unstage)
44771 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
44772 r=`${PWD_COMMAND}`; export r; \
44773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44774 $(NORMAL_TARGET_EXPORTS) \
44775 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc"; \
44776 for flag in $(EXTRA_TARGET_FLAGS); do \
44777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44778 done; \
44779 (cd $(TARGET_SUBDIR)/boehm-gc && \
44780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44782 "RANLIB=$${RANLIB}" \
44783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44784 mostlyclean) \
44785 || exit 1
44787 @endif target-boehm-gc
44789 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
44790 maybe-clean-target-boehm-gc:
44791 @if target-boehm-gc
44792 maybe-clean-target-boehm-gc: clean-target-boehm-gc
44794 clean-target-boehm-gc:
44795 @: $(MAKE); $(unstage)
44796 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
44797 r=`${PWD_COMMAND}`; export r; \
44798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44799 $(NORMAL_TARGET_EXPORTS) \
44800 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc"; \
44801 for flag in $(EXTRA_TARGET_FLAGS); do \
44802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44803 done; \
44804 (cd $(TARGET_SUBDIR)/boehm-gc && \
44805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44807 "RANLIB=$${RANLIB}" \
44808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44809 clean) \
44810 || exit 1
44812 @endif target-boehm-gc
44814 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
44815 maybe-distclean-target-boehm-gc:
44816 @if target-boehm-gc
44817 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
44819 distclean-target-boehm-gc:
44820 @: $(MAKE); $(unstage)
44821 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
44822 r=`${PWD_COMMAND}`; export r; \
44823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44824 $(NORMAL_TARGET_EXPORTS) \
44825 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc"; \
44826 for flag in $(EXTRA_TARGET_FLAGS); do \
44827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44828 done; \
44829 (cd $(TARGET_SUBDIR)/boehm-gc && \
44830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44832 "RANLIB=$${RANLIB}" \
44833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44834 distclean) \
44835 || exit 1
44837 @endif target-boehm-gc
44839 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
44840 maybe-maintainer-clean-target-boehm-gc:
44841 @if target-boehm-gc
44842 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
44844 maintainer-clean-target-boehm-gc:
44845 @: $(MAKE); $(unstage)
44846 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
44847 r=`${PWD_COMMAND}`; export r; \
44848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44849 $(NORMAL_TARGET_EXPORTS) \
44850 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc"; \
44851 for flag in $(EXTRA_TARGET_FLAGS); do \
44852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44853 done; \
44854 (cd $(TARGET_SUBDIR)/boehm-gc && \
44855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44857 "RANLIB=$${RANLIB}" \
44858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44859 maintainer-clean) \
44860 || exit 1
44862 @endif target-boehm-gc
44868 .PHONY: configure-target-rda maybe-configure-target-rda
44869 maybe-configure-target-rda:
44870 @if gcc-bootstrap
44871 configure-target-rda: stage_current
44872 @endif gcc-bootstrap
44873 @if target-rda
44874 maybe-configure-target-rda: configure-target-rda
44875 configure-target-rda:
44876 @: $(MAKE); $(unstage)
44877 @r=`${PWD_COMMAND}`; export r; \
44878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44879 echo "Checking multilib configuration for rda..."; \
44880 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda; \
44881 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null; \
44882 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
44883 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
44884 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
44885 else \
44886 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
44887 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
44888 fi; \
44889 else \
44890 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
44891 fi; \
44892 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
44893 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda; \
44894 $(NORMAL_TARGET_EXPORTS) \
44895 echo Configuring in $(TARGET_SUBDIR)/rda; \
44896 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
44897 case $(srcdir) in \
44898 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44899 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
44900 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44901 esac; \
44902 module_srcdir=rda; \
44903 rm -f no-such-file || : ; \
44904 CONFIG_SITE=no-such-file $(SHELL) \
44905 $$s/$$module_srcdir/configure \
44906 --srcdir=$${topdir}/$$module_srcdir \
44907 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44908 --target=${target_alias} \
44909 || exit 1
44910 @endif target-rda
44916 .PHONY: all-target-rda maybe-all-target-rda
44917 maybe-all-target-rda:
44918 @if gcc-bootstrap
44919 all-target-rda: stage_current
44920 @endif gcc-bootstrap
44921 @if target-rda
44922 TARGET-target-rda=all
44923 maybe-all-target-rda: all-target-rda
44924 all-target-rda: configure-target-rda
44925 @: $(MAKE); $(unstage)
44926 @r=`${PWD_COMMAND}`; export r; \
44927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44928 $(NORMAL_TARGET_EXPORTS) \
44929 (cd $(TARGET_SUBDIR)/rda && \
44930 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
44931 $(TARGET-target-rda))
44932 @endif target-rda
44938 .PHONY: check-target-rda maybe-check-target-rda
44939 maybe-check-target-rda:
44940 @if target-rda
44941 maybe-check-target-rda: check-target-rda
44943 check-target-rda:
44944 @: $(MAKE); $(unstage)
44945 @r=`${PWD_COMMAND}`; export r; \
44946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44947 $(NORMAL_TARGET_EXPORTS) \
44948 (cd $(TARGET_SUBDIR)/rda && \
44949 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
44951 @endif target-rda
44953 .PHONY: install-target-rda maybe-install-target-rda
44954 maybe-install-target-rda:
44955 @if target-rda
44956 maybe-install-target-rda: install-target-rda
44958 install-target-rda: installdirs
44959 @: $(MAKE); $(unstage)
44960 @r=`${PWD_COMMAND}`; export r; \
44961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44962 $(NORMAL_TARGET_EXPORTS) \
44963 (cd $(TARGET_SUBDIR)/rda && \
44964 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44966 @endif target-rda
44968 .PHONY: install-strip-target-rda maybe-install-strip-target-rda
44969 maybe-install-strip-target-rda:
44970 @if target-rda
44971 maybe-install-strip-target-rda: install-strip-target-rda
44973 install-strip-target-rda: installdirs
44974 @: $(MAKE); $(unstage)
44975 @r=`${PWD_COMMAND}`; export r; \
44976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44977 $(NORMAL_TARGET_EXPORTS) \
44978 (cd $(TARGET_SUBDIR)/rda && \
44979 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
44981 @endif target-rda
44983 # Other targets (info, dvi, pdf, etc.)
44985 .PHONY: maybe-info-target-rda info-target-rda
44986 maybe-info-target-rda:
44987 @if target-rda
44988 maybe-info-target-rda: info-target-rda
44990 info-target-rda: \
44991 configure-target-rda
44992 @: $(MAKE); $(unstage)
44993 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
44994 r=`${PWD_COMMAND}`; export r; \
44995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44996 $(NORMAL_TARGET_EXPORTS) \
44997 echo "Doing info in $(TARGET_SUBDIR)/rda"; \
44998 for flag in $(EXTRA_TARGET_FLAGS); do \
44999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45000 done; \
45001 (cd $(TARGET_SUBDIR)/rda && \
45002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45004 "RANLIB=$${RANLIB}" \
45005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45006 info) \
45007 || exit 1
45009 @endif target-rda
45011 .PHONY: maybe-dvi-target-rda dvi-target-rda
45012 maybe-dvi-target-rda:
45013 @if target-rda
45014 maybe-dvi-target-rda: dvi-target-rda
45016 dvi-target-rda: \
45017 configure-target-rda
45018 @: $(MAKE); $(unstage)
45019 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
45020 r=`${PWD_COMMAND}`; export r; \
45021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45022 $(NORMAL_TARGET_EXPORTS) \
45023 echo "Doing dvi in $(TARGET_SUBDIR)/rda"; \
45024 for flag in $(EXTRA_TARGET_FLAGS); do \
45025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45026 done; \
45027 (cd $(TARGET_SUBDIR)/rda && \
45028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45030 "RANLIB=$${RANLIB}" \
45031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45032 dvi) \
45033 || exit 1
45035 @endif target-rda
45037 .PHONY: maybe-pdf-target-rda pdf-target-rda
45038 maybe-pdf-target-rda:
45039 @if target-rda
45040 maybe-pdf-target-rda: pdf-target-rda
45042 pdf-target-rda: \
45043 configure-target-rda
45044 @: $(MAKE); $(unstage)
45045 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
45046 r=`${PWD_COMMAND}`; export r; \
45047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45048 $(NORMAL_TARGET_EXPORTS) \
45049 echo "Doing pdf in $(TARGET_SUBDIR)/rda"; \
45050 for flag in $(EXTRA_TARGET_FLAGS); do \
45051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45052 done; \
45053 (cd $(TARGET_SUBDIR)/rda && \
45054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45056 "RANLIB=$${RANLIB}" \
45057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45058 pdf) \
45059 || exit 1
45061 @endif target-rda
45063 .PHONY: maybe-html-target-rda html-target-rda
45064 maybe-html-target-rda:
45065 @if target-rda
45066 maybe-html-target-rda: html-target-rda
45068 html-target-rda: \
45069 configure-target-rda
45070 @: $(MAKE); $(unstage)
45071 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
45072 r=`${PWD_COMMAND}`; export r; \
45073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45074 $(NORMAL_TARGET_EXPORTS) \
45075 echo "Doing html in $(TARGET_SUBDIR)/rda"; \
45076 for flag in $(EXTRA_TARGET_FLAGS); do \
45077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45078 done; \
45079 (cd $(TARGET_SUBDIR)/rda && \
45080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45082 "RANLIB=$${RANLIB}" \
45083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45084 html) \
45085 || exit 1
45087 @endif target-rda
45089 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
45090 maybe-TAGS-target-rda:
45091 @if target-rda
45092 maybe-TAGS-target-rda: TAGS-target-rda
45094 TAGS-target-rda: \
45095 configure-target-rda
45096 @: $(MAKE); $(unstage)
45097 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
45098 r=`${PWD_COMMAND}`; export r; \
45099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45100 $(NORMAL_TARGET_EXPORTS) \
45101 echo "Doing TAGS in $(TARGET_SUBDIR)/rda"; \
45102 for flag in $(EXTRA_TARGET_FLAGS); do \
45103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45104 done; \
45105 (cd $(TARGET_SUBDIR)/rda && \
45106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45108 "RANLIB=$${RANLIB}" \
45109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45110 TAGS) \
45111 || exit 1
45113 @endif target-rda
45115 .PHONY: maybe-install-info-target-rda install-info-target-rda
45116 maybe-install-info-target-rda:
45117 @if target-rda
45118 maybe-install-info-target-rda: install-info-target-rda
45120 install-info-target-rda: \
45121 configure-target-rda \
45122 info-target-rda
45123 @: $(MAKE); $(unstage)
45124 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
45125 r=`${PWD_COMMAND}`; export r; \
45126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45127 $(NORMAL_TARGET_EXPORTS) \
45128 echo "Doing install-info in $(TARGET_SUBDIR)/rda"; \
45129 for flag in $(EXTRA_TARGET_FLAGS); do \
45130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45131 done; \
45132 (cd $(TARGET_SUBDIR)/rda && \
45133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45135 "RANLIB=$${RANLIB}" \
45136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45137 install-info) \
45138 || exit 1
45140 @endif target-rda
45142 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
45143 maybe-install-pdf-target-rda:
45144 @if target-rda
45145 maybe-install-pdf-target-rda: install-pdf-target-rda
45147 install-pdf-target-rda: \
45148 configure-target-rda \
45149 pdf-target-rda
45150 @: $(MAKE); $(unstage)
45151 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
45152 r=`${PWD_COMMAND}`; export r; \
45153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45154 $(NORMAL_TARGET_EXPORTS) \
45155 echo "Doing install-pdf in $(TARGET_SUBDIR)/rda"; \
45156 for flag in $(EXTRA_TARGET_FLAGS); do \
45157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45158 done; \
45159 (cd $(TARGET_SUBDIR)/rda && \
45160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45162 "RANLIB=$${RANLIB}" \
45163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45164 install-pdf) \
45165 || exit 1
45167 @endif target-rda
45169 .PHONY: maybe-install-html-target-rda install-html-target-rda
45170 maybe-install-html-target-rda:
45171 @if target-rda
45172 maybe-install-html-target-rda: install-html-target-rda
45174 install-html-target-rda: \
45175 configure-target-rda \
45176 html-target-rda
45177 @: $(MAKE); $(unstage)
45178 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
45179 r=`${PWD_COMMAND}`; export r; \
45180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45181 $(NORMAL_TARGET_EXPORTS) \
45182 echo "Doing install-html in $(TARGET_SUBDIR)/rda"; \
45183 for flag in $(EXTRA_TARGET_FLAGS); do \
45184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45185 done; \
45186 (cd $(TARGET_SUBDIR)/rda && \
45187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45189 "RANLIB=$${RANLIB}" \
45190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45191 install-html) \
45192 || exit 1
45194 @endif target-rda
45196 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
45197 maybe-installcheck-target-rda:
45198 @if target-rda
45199 maybe-installcheck-target-rda: installcheck-target-rda
45201 installcheck-target-rda: \
45202 configure-target-rda
45203 @: $(MAKE); $(unstage)
45204 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
45205 r=`${PWD_COMMAND}`; export r; \
45206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45207 $(NORMAL_TARGET_EXPORTS) \
45208 echo "Doing installcheck in $(TARGET_SUBDIR)/rda"; \
45209 for flag in $(EXTRA_TARGET_FLAGS); do \
45210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45211 done; \
45212 (cd $(TARGET_SUBDIR)/rda && \
45213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45215 "RANLIB=$${RANLIB}" \
45216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45217 installcheck) \
45218 || exit 1
45220 @endif target-rda
45222 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
45223 maybe-mostlyclean-target-rda:
45224 @if target-rda
45225 maybe-mostlyclean-target-rda: mostlyclean-target-rda
45227 mostlyclean-target-rda:
45228 @: $(MAKE); $(unstage)
45229 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
45230 r=`${PWD_COMMAND}`; export r; \
45231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45232 $(NORMAL_TARGET_EXPORTS) \
45233 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda"; \
45234 for flag in $(EXTRA_TARGET_FLAGS); do \
45235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45236 done; \
45237 (cd $(TARGET_SUBDIR)/rda && \
45238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45240 "RANLIB=$${RANLIB}" \
45241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45242 mostlyclean) \
45243 || exit 1
45245 @endif target-rda
45247 .PHONY: maybe-clean-target-rda clean-target-rda
45248 maybe-clean-target-rda:
45249 @if target-rda
45250 maybe-clean-target-rda: clean-target-rda
45252 clean-target-rda:
45253 @: $(MAKE); $(unstage)
45254 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
45255 r=`${PWD_COMMAND}`; export r; \
45256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45257 $(NORMAL_TARGET_EXPORTS) \
45258 echo "Doing clean in $(TARGET_SUBDIR)/rda"; \
45259 for flag in $(EXTRA_TARGET_FLAGS); do \
45260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45261 done; \
45262 (cd $(TARGET_SUBDIR)/rda && \
45263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45265 "RANLIB=$${RANLIB}" \
45266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45267 clean) \
45268 || exit 1
45270 @endif target-rda
45272 .PHONY: maybe-distclean-target-rda distclean-target-rda
45273 maybe-distclean-target-rda:
45274 @if target-rda
45275 maybe-distclean-target-rda: distclean-target-rda
45277 distclean-target-rda:
45278 @: $(MAKE); $(unstage)
45279 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
45280 r=`${PWD_COMMAND}`; export r; \
45281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45282 $(NORMAL_TARGET_EXPORTS) \
45283 echo "Doing distclean in $(TARGET_SUBDIR)/rda"; \
45284 for flag in $(EXTRA_TARGET_FLAGS); do \
45285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45286 done; \
45287 (cd $(TARGET_SUBDIR)/rda && \
45288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45290 "RANLIB=$${RANLIB}" \
45291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45292 distclean) \
45293 || exit 1
45295 @endif target-rda
45297 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
45298 maybe-maintainer-clean-target-rda:
45299 @if target-rda
45300 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
45302 maintainer-clean-target-rda:
45303 @: $(MAKE); $(unstage)
45304 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
45305 r=`${PWD_COMMAND}`; export r; \
45306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45307 $(NORMAL_TARGET_EXPORTS) \
45308 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda"; \
45309 for flag in $(EXTRA_TARGET_FLAGS); do \
45310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45311 done; \
45312 (cd $(TARGET_SUBDIR)/rda && \
45313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45315 "RANLIB=$${RANLIB}" \
45316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45317 maintainer-clean) \
45318 || exit 1
45320 @endif target-rda
45326 .PHONY: configure-target-libada maybe-configure-target-libada
45327 maybe-configure-target-libada:
45328 @if gcc-bootstrap
45329 configure-target-libada: stage_current
45330 @endif gcc-bootstrap
45331 @if target-libada
45332 maybe-configure-target-libada: configure-target-libada
45333 configure-target-libada:
45334 @: $(MAKE); $(unstage)
45335 @r=`${PWD_COMMAND}`; export r; \
45336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45337 echo "Checking multilib configuration for libada..."; \
45338 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada; \
45339 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null; \
45340 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
45341 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
45342 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
45343 else \
45344 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
45345 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
45346 fi; \
45347 else \
45348 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
45349 fi; \
45350 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
45351 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada; \
45352 $(NORMAL_TARGET_EXPORTS) \
45353 echo Configuring in $(TARGET_SUBDIR)/libada; \
45354 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
45355 case $(srcdir) in \
45356 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45357 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
45358 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45359 esac; \
45360 module_srcdir=libada; \
45361 rm -f no-such-file || : ; \
45362 CONFIG_SITE=no-such-file $(SHELL) \
45363 $$s/$$module_srcdir/configure \
45364 --srcdir=$${topdir}/$$module_srcdir \
45365 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45366 --target=${target_alias} \
45367 || exit 1
45368 @endif target-libada
45374 .PHONY: all-target-libada maybe-all-target-libada
45375 maybe-all-target-libada:
45376 @if gcc-bootstrap
45377 all-target-libada: stage_current
45378 @endif gcc-bootstrap
45379 @if target-libada
45380 TARGET-target-libada=all
45381 maybe-all-target-libada: all-target-libada
45382 all-target-libada: configure-target-libada
45383 @: $(MAKE); $(unstage)
45384 @r=`${PWD_COMMAND}`; export r; \
45385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45386 $(NORMAL_TARGET_EXPORTS) \
45387 (cd $(TARGET_SUBDIR)/libada && \
45388 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
45389 $(TARGET-target-libada))
45390 @endif target-libada
45396 .PHONY: check-target-libada maybe-check-target-libada
45397 maybe-check-target-libada:
45398 @if target-libada
45399 maybe-check-target-libada: check-target-libada
45401 check-target-libada:
45402 @: $(MAKE); $(unstage)
45403 @r=`${PWD_COMMAND}`; export r; \
45404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45405 $(NORMAL_TARGET_EXPORTS) \
45406 (cd $(TARGET_SUBDIR)/libada && \
45407 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
45409 @endif target-libada
45411 .PHONY: install-target-libada maybe-install-target-libada
45412 maybe-install-target-libada:
45413 @if target-libada
45414 maybe-install-target-libada: install-target-libada
45416 install-target-libada: installdirs
45417 @: $(MAKE); $(unstage)
45418 @r=`${PWD_COMMAND}`; export r; \
45419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45420 $(NORMAL_TARGET_EXPORTS) \
45421 (cd $(TARGET_SUBDIR)/libada && \
45422 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
45424 @endif target-libada
45426 .PHONY: install-strip-target-libada maybe-install-strip-target-libada
45427 maybe-install-strip-target-libada:
45428 @if target-libada
45429 maybe-install-strip-target-libada: install-strip-target-libada
45431 install-strip-target-libada: installdirs
45432 @: $(MAKE); $(unstage)
45433 @r=`${PWD_COMMAND}`; export r; \
45434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45435 $(NORMAL_TARGET_EXPORTS) \
45436 (cd $(TARGET_SUBDIR)/libada && \
45437 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
45439 @endif target-libada
45441 # Other targets (info, dvi, pdf, etc.)
45443 .PHONY: maybe-info-target-libada info-target-libada
45444 maybe-info-target-libada:
45445 @if target-libada
45446 maybe-info-target-libada: info-target-libada
45448 info-target-libada: \
45449 configure-target-libada
45450 @: $(MAKE); $(unstage)
45451 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
45452 r=`${PWD_COMMAND}`; export r; \
45453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45454 $(NORMAL_TARGET_EXPORTS) \
45455 echo "Doing info in $(TARGET_SUBDIR)/libada"; \
45456 for flag in $(EXTRA_TARGET_FLAGS); do \
45457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45458 done; \
45459 (cd $(TARGET_SUBDIR)/libada && \
45460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45462 "RANLIB=$${RANLIB}" \
45463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45464 info) \
45465 || exit 1
45467 @endif target-libada
45469 .PHONY: maybe-dvi-target-libada dvi-target-libada
45470 maybe-dvi-target-libada:
45471 @if target-libada
45472 maybe-dvi-target-libada: dvi-target-libada
45474 dvi-target-libada: \
45475 configure-target-libada
45476 @: $(MAKE); $(unstage)
45477 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
45478 r=`${PWD_COMMAND}`; export r; \
45479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45480 $(NORMAL_TARGET_EXPORTS) \
45481 echo "Doing dvi in $(TARGET_SUBDIR)/libada"; \
45482 for flag in $(EXTRA_TARGET_FLAGS); do \
45483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45484 done; \
45485 (cd $(TARGET_SUBDIR)/libada && \
45486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45488 "RANLIB=$${RANLIB}" \
45489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45490 dvi) \
45491 || exit 1
45493 @endif target-libada
45495 .PHONY: maybe-pdf-target-libada pdf-target-libada
45496 maybe-pdf-target-libada:
45497 @if target-libada
45498 maybe-pdf-target-libada: pdf-target-libada
45500 pdf-target-libada: \
45501 configure-target-libada
45502 @: $(MAKE); $(unstage)
45503 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
45504 r=`${PWD_COMMAND}`; export r; \
45505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45506 $(NORMAL_TARGET_EXPORTS) \
45507 echo "Doing pdf in $(TARGET_SUBDIR)/libada"; \
45508 for flag in $(EXTRA_TARGET_FLAGS); do \
45509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45510 done; \
45511 (cd $(TARGET_SUBDIR)/libada && \
45512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45514 "RANLIB=$${RANLIB}" \
45515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45516 pdf) \
45517 || exit 1
45519 @endif target-libada
45521 .PHONY: maybe-html-target-libada html-target-libada
45522 maybe-html-target-libada:
45523 @if target-libada
45524 maybe-html-target-libada: html-target-libada
45526 html-target-libada: \
45527 configure-target-libada
45528 @: $(MAKE); $(unstage)
45529 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
45530 r=`${PWD_COMMAND}`; export r; \
45531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45532 $(NORMAL_TARGET_EXPORTS) \
45533 echo "Doing html in $(TARGET_SUBDIR)/libada"; \
45534 for flag in $(EXTRA_TARGET_FLAGS); do \
45535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45536 done; \
45537 (cd $(TARGET_SUBDIR)/libada && \
45538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45540 "RANLIB=$${RANLIB}" \
45541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45542 html) \
45543 || exit 1
45545 @endif target-libada
45547 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
45548 maybe-TAGS-target-libada:
45549 @if target-libada
45550 maybe-TAGS-target-libada: TAGS-target-libada
45552 TAGS-target-libada: \
45553 configure-target-libada
45554 @: $(MAKE); $(unstage)
45555 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
45556 r=`${PWD_COMMAND}`; export r; \
45557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45558 $(NORMAL_TARGET_EXPORTS) \
45559 echo "Doing TAGS in $(TARGET_SUBDIR)/libada"; \
45560 for flag in $(EXTRA_TARGET_FLAGS); do \
45561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45562 done; \
45563 (cd $(TARGET_SUBDIR)/libada && \
45564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45566 "RANLIB=$${RANLIB}" \
45567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45568 TAGS) \
45569 || exit 1
45571 @endif target-libada
45573 .PHONY: maybe-install-info-target-libada install-info-target-libada
45574 maybe-install-info-target-libada:
45575 @if target-libada
45576 maybe-install-info-target-libada: install-info-target-libada
45578 install-info-target-libada: \
45579 configure-target-libada \
45580 info-target-libada
45581 @: $(MAKE); $(unstage)
45582 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
45583 r=`${PWD_COMMAND}`; export r; \
45584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45585 $(NORMAL_TARGET_EXPORTS) \
45586 echo "Doing install-info in $(TARGET_SUBDIR)/libada"; \
45587 for flag in $(EXTRA_TARGET_FLAGS); do \
45588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45589 done; \
45590 (cd $(TARGET_SUBDIR)/libada && \
45591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45593 "RANLIB=$${RANLIB}" \
45594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45595 install-info) \
45596 || exit 1
45598 @endif target-libada
45600 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
45601 maybe-install-pdf-target-libada:
45602 @if target-libada
45603 maybe-install-pdf-target-libada: install-pdf-target-libada
45605 install-pdf-target-libada: \
45606 configure-target-libada \
45607 pdf-target-libada
45608 @: $(MAKE); $(unstage)
45609 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
45610 r=`${PWD_COMMAND}`; export r; \
45611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45612 $(NORMAL_TARGET_EXPORTS) \
45613 echo "Doing install-pdf in $(TARGET_SUBDIR)/libada"; \
45614 for flag in $(EXTRA_TARGET_FLAGS); do \
45615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45616 done; \
45617 (cd $(TARGET_SUBDIR)/libada && \
45618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45620 "RANLIB=$${RANLIB}" \
45621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45622 install-pdf) \
45623 || exit 1
45625 @endif target-libada
45627 .PHONY: maybe-install-html-target-libada install-html-target-libada
45628 maybe-install-html-target-libada:
45629 @if target-libada
45630 maybe-install-html-target-libada: install-html-target-libada
45632 install-html-target-libada: \
45633 configure-target-libada \
45634 html-target-libada
45635 @: $(MAKE); $(unstage)
45636 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
45637 r=`${PWD_COMMAND}`; export r; \
45638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45639 $(NORMAL_TARGET_EXPORTS) \
45640 echo "Doing install-html in $(TARGET_SUBDIR)/libada"; \
45641 for flag in $(EXTRA_TARGET_FLAGS); do \
45642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45643 done; \
45644 (cd $(TARGET_SUBDIR)/libada && \
45645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45647 "RANLIB=$${RANLIB}" \
45648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45649 install-html) \
45650 || exit 1
45652 @endif target-libada
45654 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
45655 maybe-installcheck-target-libada:
45656 @if target-libada
45657 maybe-installcheck-target-libada: installcheck-target-libada
45659 installcheck-target-libada: \
45660 configure-target-libada
45661 @: $(MAKE); $(unstage)
45662 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
45663 r=`${PWD_COMMAND}`; export r; \
45664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45665 $(NORMAL_TARGET_EXPORTS) \
45666 echo "Doing installcheck in $(TARGET_SUBDIR)/libada"; \
45667 for flag in $(EXTRA_TARGET_FLAGS); do \
45668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45669 done; \
45670 (cd $(TARGET_SUBDIR)/libada && \
45671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45673 "RANLIB=$${RANLIB}" \
45674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45675 installcheck) \
45676 || exit 1
45678 @endif target-libada
45680 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
45681 maybe-mostlyclean-target-libada:
45682 @if target-libada
45683 maybe-mostlyclean-target-libada: mostlyclean-target-libada
45685 mostlyclean-target-libada:
45686 @: $(MAKE); $(unstage)
45687 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
45688 r=`${PWD_COMMAND}`; export r; \
45689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45690 $(NORMAL_TARGET_EXPORTS) \
45691 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada"; \
45692 for flag in $(EXTRA_TARGET_FLAGS); do \
45693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45694 done; \
45695 (cd $(TARGET_SUBDIR)/libada && \
45696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45698 "RANLIB=$${RANLIB}" \
45699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45700 mostlyclean) \
45701 || exit 1
45703 @endif target-libada
45705 .PHONY: maybe-clean-target-libada clean-target-libada
45706 maybe-clean-target-libada:
45707 @if target-libada
45708 maybe-clean-target-libada: clean-target-libada
45710 clean-target-libada:
45711 @: $(MAKE); $(unstage)
45712 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
45713 r=`${PWD_COMMAND}`; export r; \
45714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45715 $(NORMAL_TARGET_EXPORTS) \
45716 echo "Doing clean in $(TARGET_SUBDIR)/libada"; \
45717 for flag in $(EXTRA_TARGET_FLAGS); do \
45718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45719 done; \
45720 (cd $(TARGET_SUBDIR)/libada && \
45721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45723 "RANLIB=$${RANLIB}" \
45724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45725 clean) \
45726 || exit 1
45728 @endif target-libada
45730 .PHONY: maybe-distclean-target-libada distclean-target-libada
45731 maybe-distclean-target-libada:
45732 @if target-libada
45733 maybe-distclean-target-libada: distclean-target-libada
45735 distclean-target-libada:
45736 @: $(MAKE); $(unstage)
45737 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
45738 r=`${PWD_COMMAND}`; export r; \
45739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45740 $(NORMAL_TARGET_EXPORTS) \
45741 echo "Doing distclean in $(TARGET_SUBDIR)/libada"; \
45742 for flag in $(EXTRA_TARGET_FLAGS); do \
45743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45744 done; \
45745 (cd $(TARGET_SUBDIR)/libada && \
45746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45748 "RANLIB=$${RANLIB}" \
45749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45750 distclean) \
45751 || exit 1
45753 @endif target-libada
45755 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
45756 maybe-maintainer-clean-target-libada:
45757 @if target-libada
45758 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
45760 maintainer-clean-target-libada:
45761 @: $(MAKE); $(unstage)
45762 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
45763 r=`${PWD_COMMAND}`; export r; \
45764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45765 $(NORMAL_TARGET_EXPORTS) \
45766 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada"; \
45767 for flag in $(EXTRA_TARGET_FLAGS); do \
45768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45769 done; \
45770 (cd $(TARGET_SUBDIR)/libada && \
45771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45773 "RANLIB=$${RANLIB}" \
45774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45775 maintainer-clean) \
45776 || exit 1
45778 @endif target-libada
45784 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
45785 maybe-configure-target-libgomp:
45786 @if gcc-bootstrap
45787 configure-target-libgomp: stage_current
45788 @endif gcc-bootstrap
45789 @if target-libgomp
45790 maybe-configure-target-libgomp: configure-target-libgomp
45791 configure-target-libgomp:
45792 @r=`${PWD_COMMAND}`; export r; \
45793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45794 echo "Checking multilib configuration for libgomp..."; \
45795 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
45796 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
45797 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
45798 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
45799 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
45800 else \
45801 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
45802 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
45803 fi; \
45804 else \
45805 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
45806 fi; \
45807 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
45808 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
45809 $(NORMAL_TARGET_EXPORTS) \
45810 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
45811 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
45812 case $(srcdir) in \
45813 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45814 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
45815 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45816 esac; \
45817 module_srcdir=libgomp; \
45818 rm -f no-such-file || : ; \
45819 CONFIG_SITE=no-such-file $(SHELL) \
45820 $$s/$$module_srcdir/configure \
45821 --srcdir=$${topdir}/$$module_srcdir \
45822 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45823 --target=${target_alias} \
45824 || exit 1
45825 @endif target-libgomp
45829 .PHONY: configure-stage1-target-libgomp maybe-configure-stage1-target-libgomp
45830 maybe-configure-stage1-target-libgomp:
45831 @if target-libgomp-bootstrap
45832 maybe-configure-stage1-target-libgomp: configure-stage1-target-libgomp
45833 configure-stage1-target-libgomp:
45834 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
45835 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
45836 @r=`${PWD_COMMAND}`; export r; \
45837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45838 TFLAGS="$(STAGE1_TFLAGS)"; \
45839 echo "Checking multilib configuration for libgomp..."; \
45840 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
45841 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
45842 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
45843 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
45844 else \
45845 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
45846 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
45847 fi; \
45848 else \
45849 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
45850 fi; \
45851 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
45852 $(NORMAL_TARGET_EXPORTS) \
45853 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45854 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45855 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45856 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgomp; \
45857 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
45858 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
45859 case $(srcdir) in \
45860 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45861 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
45862 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45863 esac; \
45864 module_srcdir=libgomp; \
45865 $(SHELL) $$s/$$module_srcdir/configure \
45866 --srcdir=$${topdir}/$$module_srcdir \
45867 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45868 --target=${target_alias} \
45870 $(STAGE1_CONFIGURE_FLAGS)
45871 @endif target-libgomp-bootstrap
45873 .PHONY: configure-stage2-target-libgomp maybe-configure-stage2-target-libgomp
45874 maybe-configure-stage2-target-libgomp:
45875 @if target-libgomp-bootstrap
45876 maybe-configure-stage2-target-libgomp: configure-stage2-target-libgomp
45877 configure-stage2-target-libgomp:
45878 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
45879 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
45880 @r=`${PWD_COMMAND}`; export r; \
45881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45882 TFLAGS="$(STAGE2_TFLAGS)"; \
45883 echo "Checking multilib configuration for libgomp..."; \
45884 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
45885 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
45886 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
45887 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
45888 else \
45889 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
45890 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
45891 fi; \
45892 else \
45893 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
45894 fi; \
45895 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
45896 $(NORMAL_TARGET_EXPORTS) \
45898 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45899 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45900 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45901 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgomp; \
45902 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
45903 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
45904 case $(srcdir) in \
45905 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45906 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
45907 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45908 esac; \
45909 module_srcdir=libgomp; \
45910 $(SHELL) $$s/$$module_srcdir/configure \
45911 --srcdir=$${topdir}/$$module_srcdir \
45912 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45913 --target=${target_alias} \
45914 --with-build-libsubdir=$(HOST_SUBDIR) \
45915 $(STAGE2_CONFIGURE_FLAGS)
45916 @endif target-libgomp-bootstrap
45918 .PHONY: configure-stage3-target-libgomp maybe-configure-stage3-target-libgomp
45919 maybe-configure-stage3-target-libgomp:
45920 @if target-libgomp-bootstrap
45921 maybe-configure-stage3-target-libgomp: configure-stage3-target-libgomp
45922 configure-stage3-target-libgomp:
45923 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
45924 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
45925 @r=`${PWD_COMMAND}`; export r; \
45926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45927 TFLAGS="$(STAGE3_TFLAGS)"; \
45928 echo "Checking multilib configuration for libgomp..."; \
45929 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
45930 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
45931 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
45932 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
45933 else \
45934 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
45935 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
45936 fi; \
45937 else \
45938 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
45939 fi; \
45940 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
45941 $(NORMAL_TARGET_EXPORTS) \
45943 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45944 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45945 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45946 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgomp; \
45947 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
45948 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
45949 case $(srcdir) in \
45950 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45951 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
45952 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45953 esac; \
45954 module_srcdir=libgomp; \
45955 $(SHELL) $$s/$$module_srcdir/configure \
45956 --srcdir=$${topdir}/$$module_srcdir \
45957 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45958 --target=${target_alias} \
45959 --with-build-libsubdir=$(HOST_SUBDIR) \
45960 $(STAGE3_CONFIGURE_FLAGS)
45961 @endif target-libgomp-bootstrap
45963 .PHONY: configure-stage4-target-libgomp maybe-configure-stage4-target-libgomp
45964 maybe-configure-stage4-target-libgomp:
45965 @if target-libgomp-bootstrap
45966 maybe-configure-stage4-target-libgomp: configure-stage4-target-libgomp
45967 configure-stage4-target-libgomp:
45968 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
45969 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
45970 @r=`${PWD_COMMAND}`; export r; \
45971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45972 TFLAGS="$(STAGE4_TFLAGS)"; \
45973 echo "Checking multilib configuration for libgomp..."; \
45974 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
45975 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
45976 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
45977 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
45978 else \
45979 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
45980 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
45981 fi; \
45982 else \
45983 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
45984 fi; \
45985 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
45986 $(NORMAL_TARGET_EXPORTS) \
45988 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45989 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45990 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45991 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgomp; \
45992 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
45993 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
45994 case $(srcdir) in \
45995 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45996 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
45997 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45998 esac; \
45999 module_srcdir=libgomp; \
46000 $(SHELL) $$s/$$module_srcdir/configure \
46001 --srcdir=$${topdir}/$$module_srcdir \
46002 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46003 --target=${target_alias} \
46004 --with-build-libsubdir=$(HOST_SUBDIR) \
46005 $(STAGE4_CONFIGURE_FLAGS)
46006 @endif target-libgomp-bootstrap
46008 .PHONY: configure-stageprofile-target-libgomp maybe-configure-stageprofile-target-libgomp
46009 maybe-configure-stageprofile-target-libgomp:
46010 @if target-libgomp-bootstrap
46011 maybe-configure-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
46012 configure-stageprofile-target-libgomp:
46013 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
46014 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
46015 @r=`${PWD_COMMAND}`; export r; \
46016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46017 TFLAGS="$(STAGEprofile_TFLAGS)"; \
46018 echo "Checking multilib configuration for libgomp..."; \
46019 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
46020 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
46021 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
46022 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
46023 else \
46024 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
46025 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
46026 fi; \
46027 else \
46028 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
46029 fi; \
46030 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
46031 $(NORMAL_TARGET_EXPORTS) \
46033 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
46034 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
46035 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
46036 echo Configuring stage profile in $(TARGET_SUBDIR)/libgomp; \
46037 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
46038 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
46039 case $(srcdir) in \
46040 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46041 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
46042 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46043 esac; \
46044 module_srcdir=libgomp; \
46045 $(SHELL) $$s/$$module_srcdir/configure \
46046 --srcdir=$${topdir}/$$module_srcdir \
46047 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46048 --target=${target_alias} \
46049 --with-build-libsubdir=$(HOST_SUBDIR) \
46050 $(STAGEprofile_CONFIGURE_FLAGS)
46051 @endif target-libgomp-bootstrap
46053 .PHONY: configure-stagefeedback-target-libgomp maybe-configure-stagefeedback-target-libgomp
46054 maybe-configure-stagefeedback-target-libgomp:
46055 @if target-libgomp-bootstrap
46056 maybe-configure-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
46057 configure-stagefeedback-target-libgomp:
46058 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
46059 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
46060 @r=`${PWD_COMMAND}`; export r; \
46061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46062 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
46063 echo "Checking multilib configuration for libgomp..."; \
46064 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
46065 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
46066 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
46067 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
46068 else \
46069 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
46070 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
46071 fi; \
46072 else \
46073 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
46074 fi; \
46075 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
46076 $(NORMAL_TARGET_EXPORTS) \
46078 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
46079 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
46080 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
46081 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgomp; \
46082 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
46083 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
46084 case $(srcdir) in \
46085 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46086 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
46087 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46088 esac; \
46089 module_srcdir=libgomp; \
46090 $(SHELL) $$s/$$module_srcdir/configure \
46091 --srcdir=$${topdir}/$$module_srcdir \
46092 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46093 --target=${target_alias} \
46094 --with-build-libsubdir=$(HOST_SUBDIR) \
46095 $(STAGEfeedback_CONFIGURE_FLAGS)
46096 @endif target-libgomp-bootstrap
46102 .PHONY: all-target-libgomp maybe-all-target-libgomp
46103 maybe-all-target-libgomp:
46104 @if gcc-bootstrap
46105 all-target-libgomp: stage_current
46106 @endif gcc-bootstrap
46107 @if target-libgomp
46108 TARGET-target-libgomp=all
46109 maybe-all-target-libgomp: all-target-libgomp
46110 all-target-libgomp: configure-target-libgomp
46111 @r=`${PWD_COMMAND}`; export r; \
46112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46113 $(NORMAL_TARGET_EXPORTS) \
46114 (cd $(TARGET_SUBDIR)/libgomp && \
46115 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
46116 $(TARGET-target-libgomp))
46117 @endif target-libgomp
46121 .PHONY: all-stage1-target-libgomp maybe-all-stage1-target-libgomp
46122 .PHONY: clean-stage1-target-libgomp maybe-clean-stage1-target-libgomp
46123 maybe-all-stage1-target-libgomp:
46124 maybe-clean-stage1-target-libgomp:
46125 @if target-libgomp-bootstrap
46126 maybe-all-stage1-target-libgomp: all-stage1-target-libgomp
46127 all-stage1: all-stage1-target-libgomp
46128 TARGET-stage1-target-libgomp = $(TARGET-target-libgomp)
46129 all-stage1-target-libgomp: configure-stage1-target-libgomp
46130 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
46131 @r=`${PWD_COMMAND}`; export r; \
46132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46133 TFLAGS="$(STAGE1_TFLAGS)"; \
46134 $(NORMAL_TARGET_EXPORTS) \
46135 cd $(TARGET_SUBDIR)/libgomp && \
46136 $(MAKE) $(BASE_FLAGS_TO_PASS) \
46137 CFLAGS="$(CFLAGS_FOR_TARGET)" \
46138 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
46139 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
46140 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
46141 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
46142 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
46143 $(EXTRA_TARGET_FLAGS) \
46145 TFLAGS="$(STAGE1_TFLAGS)" \
46146 $(TARGET-stage1-target-libgomp)
46148 maybe-clean-stage1-target-libgomp: clean-stage1-target-libgomp
46149 clean-stage1: clean-stage1-target-libgomp
46150 clean-stage1-target-libgomp:
46151 @if [ $(current_stage) = stage1 ]; then \
46152 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
46153 else \
46154 [ -f $(TARGET_SUBDIR)/stage1-libgomp/Makefile ] || exit 0; \
46155 $(MAKE) stage1-start; \
46156 fi; \
46157 cd $(TARGET_SUBDIR)/libgomp && \
46158 $(MAKE) $(EXTRA_TARGET_FLAGS) \
46159 clean
46160 @endif target-libgomp-bootstrap
46163 .PHONY: all-stage2-target-libgomp maybe-all-stage2-target-libgomp
46164 .PHONY: clean-stage2-target-libgomp maybe-clean-stage2-target-libgomp
46165 maybe-all-stage2-target-libgomp:
46166 maybe-clean-stage2-target-libgomp:
46167 @if target-libgomp-bootstrap
46168 maybe-all-stage2-target-libgomp: all-stage2-target-libgomp
46169 all-stage2: all-stage2-target-libgomp
46170 TARGET-stage2-target-libgomp = $(TARGET-target-libgomp)
46171 all-stage2-target-libgomp: configure-stage2-target-libgomp
46172 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
46173 @r=`${PWD_COMMAND}`; export r; \
46174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46175 TFLAGS="$(STAGE2_TFLAGS)"; \
46176 $(NORMAL_TARGET_EXPORTS) \
46178 cd $(TARGET_SUBDIR)/libgomp && \
46179 $(MAKE) $(BASE_FLAGS_TO_PASS) \
46180 CFLAGS="$(CFLAGS_FOR_TARGET)" \
46181 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
46182 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
46183 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
46184 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
46185 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
46186 $(EXTRA_TARGET_FLAGS) \
46187 TFLAGS="$(STAGE2_TFLAGS)" \
46188 $(TARGET-stage2-target-libgomp)
46190 maybe-clean-stage2-target-libgomp: clean-stage2-target-libgomp
46191 clean-stage2: clean-stage2-target-libgomp
46192 clean-stage2-target-libgomp:
46193 @if [ $(current_stage) = stage2 ]; then \
46194 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
46195 else \
46196 [ -f $(TARGET_SUBDIR)/stage2-libgomp/Makefile ] || exit 0; \
46197 $(MAKE) stage2-start; \
46198 fi; \
46199 cd $(TARGET_SUBDIR)/libgomp && \
46200 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
46201 @endif target-libgomp-bootstrap
46204 .PHONY: all-stage3-target-libgomp maybe-all-stage3-target-libgomp
46205 .PHONY: clean-stage3-target-libgomp maybe-clean-stage3-target-libgomp
46206 maybe-all-stage3-target-libgomp:
46207 maybe-clean-stage3-target-libgomp:
46208 @if target-libgomp-bootstrap
46209 maybe-all-stage3-target-libgomp: all-stage3-target-libgomp
46210 all-stage3: all-stage3-target-libgomp
46211 TARGET-stage3-target-libgomp = $(TARGET-target-libgomp)
46212 all-stage3-target-libgomp: configure-stage3-target-libgomp
46213 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
46214 @r=`${PWD_COMMAND}`; export r; \
46215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46216 TFLAGS="$(STAGE3_TFLAGS)"; \
46217 $(NORMAL_TARGET_EXPORTS) \
46219 cd $(TARGET_SUBDIR)/libgomp && \
46220 $(MAKE) $(BASE_FLAGS_TO_PASS) \
46221 CFLAGS="$(CFLAGS_FOR_TARGET)" \
46222 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
46223 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
46224 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
46225 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
46226 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
46227 $(EXTRA_TARGET_FLAGS) \
46228 TFLAGS="$(STAGE3_TFLAGS)" \
46229 $(TARGET-stage3-target-libgomp)
46231 maybe-clean-stage3-target-libgomp: clean-stage3-target-libgomp
46232 clean-stage3: clean-stage3-target-libgomp
46233 clean-stage3-target-libgomp:
46234 @if [ $(current_stage) = stage3 ]; then \
46235 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
46236 else \
46237 [ -f $(TARGET_SUBDIR)/stage3-libgomp/Makefile ] || exit 0; \
46238 $(MAKE) stage3-start; \
46239 fi; \
46240 cd $(TARGET_SUBDIR)/libgomp && \
46241 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
46242 @endif target-libgomp-bootstrap
46245 .PHONY: all-stage4-target-libgomp maybe-all-stage4-target-libgomp
46246 .PHONY: clean-stage4-target-libgomp maybe-clean-stage4-target-libgomp
46247 maybe-all-stage4-target-libgomp:
46248 maybe-clean-stage4-target-libgomp:
46249 @if target-libgomp-bootstrap
46250 maybe-all-stage4-target-libgomp: all-stage4-target-libgomp
46251 all-stage4: all-stage4-target-libgomp
46252 TARGET-stage4-target-libgomp = $(TARGET-target-libgomp)
46253 all-stage4-target-libgomp: configure-stage4-target-libgomp
46254 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
46255 @r=`${PWD_COMMAND}`; export r; \
46256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46257 TFLAGS="$(STAGE4_TFLAGS)"; \
46258 $(NORMAL_TARGET_EXPORTS) \
46260 cd $(TARGET_SUBDIR)/libgomp && \
46261 $(MAKE) $(BASE_FLAGS_TO_PASS) \
46262 CFLAGS="$(CFLAGS_FOR_TARGET)" \
46263 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
46264 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
46265 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
46266 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
46267 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
46268 $(EXTRA_TARGET_FLAGS) \
46269 TFLAGS="$(STAGE4_TFLAGS)" \
46270 $(TARGET-stage4-target-libgomp)
46272 maybe-clean-stage4-target-libgomp: clean-stage4-target-libgomp
46273 clean-stage4: clean-stage4-target-libgomp
46274 clean-stage4-target-libgomp:
46275 @if [ $(current_stage) = stage4 ]; then \
46276 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
46277 else \
46278 [ -f $(TARGET_SUBDIR)/stage4-libgomp/Makefile ] || exit 0; \
46279 $(MAKE) stage4-start; \
46280 fi; \
46281 cd $(TARGET_SUBDIR)/libgomp && \
46282 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
46283 @endif target-libgomp-bootstrap
46286 .PHONY: all-stageprofile-target-libgomp maybe-all-stageprofile-target-libgomp
46287 .PHONY: clean-stageprofile-target-libgomp maybe-clean-stageprofile-target-libgomp
46288 maybe-all-stageprofile-target-libgomp:
46289 maybe-clean-stageprofile-target-libgomp:
46290 @if target-libgomp-bootstrap
46291 maybe-all-stageprofile-target-libgomp: all-stageprofile-target-libgomp
46292 all-stageprofile: all-stageprofile-target-libgomp
46293 TARGET-stageprofile-target-libgomp = $(TARGET-target-libgomp)
46294 all-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
46295 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
46296 @r=`${PWD_COMMAND}`; export r; \
46297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46298 TFLAGS="$(STAGEprofile_TFLAGS)"; \
46299 $(NORMAL_TARGET_EXPORTS) \
46301 cd $(TARGET_SUBDIR)/libgomp && \
46302 $(MAKE) $(BASE_FLAGS_TO_PASS) \
46303 CFLAGS="$(CFLAGS_FOR_TARGET)" \
46304 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
46305 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
46306 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
46307 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
46308 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
46309 $(EXTRA_TARGET_FLAGS) \
46310 TFLAGS="$(STAGEprofile_TFLAGS)" \
46311 $(TARGET-stageprofile-target-libgomp)
46313 maybe-clean-stageprofile-target-libgomp: clean-stageprofile-target-libgomp
46314 clean-stageprofile: clean-stageprofile-target-libgomp
46315 clean-stageprofile-target-libgomp:
46316 @if [ $(current_stage) = stageprofile ]; then \
46317 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
46318 else \
46319 [ -f $(TARGET_SUBDIR)/stageprofile-libgomp/Makefile ] || exit 0; \
46320 $(MAKE) stageprofile-start; \
46321 fi; \
46322 cd $(TARGET_SUBDIR)/libgomp && \
46323 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
46324 @endif target-libgomp-bootstrap
46327 .PHONY: all-stagefeedback-target-libgomp maybe-all-stagefeedback-target-libgomp
46328 .PHONY: clean-stagefeedback-target-libgomp maybe-clean-stagefeedback-target-libgomp
46329 maybe-all-stagefeedback-target-libgomp:
46330 maybe-clean-stagefeedback-target-libgomp:
46331 @if target-libgomp-bootstrap
46332 maybe-all-stagefeedback-target-libgomp: all-stagefeedback-target-libgomp
46333 all-stagefeedback: all-stagefeedback-target-libgomp
46334 TARGET-stagefeedback-target-libgomp = $(TARGET-target-libgomp)
46335 all-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
46336 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
46337 @r=`${PWD_COMMAND}`; export r; \
46338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46339 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
46340 $(NORMAL_TARGET_EXPORTS) \
46342 cd $(TARGET_SUBDIR)/libgomp && \
46343 $(MAKE) $(BASE_FLAGS_TO_PASS) \
46344 CFLAGS="$(CFLAGS_FOR_TARGET)" \
46345 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
46346 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
46347 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
46348 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
46349 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
46350 $(EXTRA_TARGET_FLAGS) \
46351 TFLAGS="$(STAGEfeedback_TFLAGS)" \
46352 $(TARGET-stagefeedback-target-libgomp)
46354 maybe-clean-stagefeedback-target-libgomp: clean-stagefeedback-target-libgomp
46355 clean-stagefeedback: clean-stagefeedback-target-libgomp
46356 clean-stagefeedback-target-libgomp:
46357 @if [ $(current_stage) = stagefeedback ]; then \
46358 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
46359 else \
46360 [ -f $(TARGET_SUBDIR)/stagefeedback-libgomp/Makefile ] || exit 0; \
46361 $(MAKE) stagefeedback-start; \
46362 fi; \
46363 cd $(TARGET_SUBDIR)/libgomp && \
46364 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
46365 @endif target-libgomp-bootstrap
46372 .PHONY: check-target-libgomp maybe-check-target-libgomp
46373 maybe-check-target-libgomp:
46374 @if target-libgomp
46375 maybe-check-target-libgomp: check-target-libgomp
46377 check-target-libgomp:
46378 @: $(MAKE); $(unstage)
46379 @r=`${PWD_COMMAND}`; export r; \
46380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46381 $(NORMAL_TARGET_EXPORTS) \
46382 (cd $(TARGET_SUBDIR)/libgomp && \
46383 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
46385 @endif target-libgomp
46387 .PHONY: install-target-libgomp maybe-install-target-libgomp
46388 maybe-install-target-libgomp:
46389 @if target-libgomp
46390 maybe-install-target-libgomp: install-target-libgomp
46392 install-target-libgomp: installdirs
46393 @: $(MAKE); $(unstage)
46394 @r=`${PWD_COMMAND}`; export r; \
46395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46396 $(NORMAL_TARGET_EXPORTS) \
46397 (cd $(TARGET_SUBDIR)/libgomp && \
46398 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
46400 @endif target-libgomp
46402 .PHONY: install-strip-target-libgomp maybe-install-strip-target-libgomp
46403 maybe-install-strip-target-libgomp:
46404 @if target-libgomp
46405 maybe-install-strip-target-libgomp: install-strip-target-libgomp
46407 install-strip-target-libgomp: installdirs
46408 @: $(MAKE); $(unstage)
46409 @r=`${PWD_COMMAND}`; export r; \
46410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46411 $(NORMAL_TARGET_EXPORTS) \
46412 (cd $(TARGET_SUBDIR)/libgomp && \
46413 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
46415 @endif target-libgomp
46417 # Other targets (info, dvi, pdf, etc.)
46419 .PHONY: maybe-info-target-libgomp info-target-libgomp
46420 maybe-info-target-libgomp:
46421 @if target-libgomp
46422 maybe-info-target-libgomp: info-target-libgomp
46424 info-target-libgomp: \
46425 configure-target-libgomp
46426 @: $(MAKE); $(unstage)
46427 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
46428 r=`${PWD_COMMAND}`; export r; \
46429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46430 $(NORMAL_TARGET_EXPORTS) \
46431 echo "Doing info in $(TARGET_SUBDIR)/libgomp"; \
46432 for flag in $(EXTRA_TARGET_FLAGS); do \
46433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46434 done; \
46435 (cd $(TARGET_SUBDIR)/libgomp && \
46436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46438 "RANLIB=$${RANLIB}" \
46439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46440 info) \
46441 || exit 1
46443 @endif target-libgomp
46445 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
46446 maybe-dvi-target-libgomp:
46447 @if target-libgomp
46448 maybe-dvi-target-libgomp: dvi-target-libgomp
46450 dvi-target-libgomp: \
46451 configure-target-libgomp
46452 @: $(MAKE); $(unstage)
46453 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
46454 r=`${PWD_COMMAND}`; export r; \
46455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46456 $(NORMAL_TARGET_EXPORTS) \
46457 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp"; \
46458 for flag in $(EXTRA_TARGET_FLAGS); do \
46459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46460 done; \
46461 (cd $(TARGET_SUBDIR)/libgomp && \
46462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46464 "RANLIB=$${RANLIB}" \
46465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46466 dvi) \
46467 || exit 1
46469 @endif target-libgomp
46471 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
46472 maybe-pdf-target-libgomp:
46473 @if target-libgomp
46474 maybe-pdf-target-libgomp: pdf-target-libgomp
46476 pdf-target-libgomp: \
46477 configure-target-libgomp
46478 @: $(MAKE); $(unstage)
46479 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
46480 r=`${PWD_COMMAND}`; export r; \
46481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46482 $(NORMAL_TARGET_EXPORTS) \
46483 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp"; \
46484 for flag in $(EXTRA_TARGET_FLAGS); do \
46485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46486 done; \
46487 (cd $(TARGET_SUBDIR)/libgomp && \
46488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46490 "RANLIB=$${RANLIB}" \
46491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46492 pdf) \
46493 || exit 1
46495 @endif target-libgomp
46497 .PHONY: maybe-html-target-libgomp html-target-libgomp
46498 maybe-html-target-libgomp:
46499 @if target-libgomp
46500 maybe-html-target-libgomp: html-target-libgomp
46502 html-target-libgomp: \
46503 configure-target-libgomp
46504 @: $(MAKE); $(unstage)
46505 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
46506 r=`${PWD_COMMAND}`; export r; \
46507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46508 $(NORMAL_TARGET_EXPORTS) \
46509 echo "Doing html in $(TARGET_SUBDIR)/libgomp"; \
46510 for flag in $(EXTRA_TARGET_FLAGS); do \
46511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46512 done; \
46513 (cd $(TARGET_SUBDIR)/libgomp && \
46514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46516 "RANLIB=$${RANLIB}" \
46517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46518 html) \
46519 || exit 1
46521 @endif target-libgomp
46523 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
46524 maybe-TAGS-target-libgomp:
46525 @if target-libgomp
46526 maybe-TAGS-target-libgomp: TAGS-target-libgomp
46528 TAGS-target-libgomp: \
46529 configure-target-libgomp
46530 @: $(MAKE); $(unstage)
46531 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
46532 r=`${PWD_COMMAND}`; export r; \
46533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46534 $(NORMAL_TARGET_EXPORTS) \
46535 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp"; \
46536 for flag in $(EXTRA_TARGET_FLAGS); do \
46537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46538 done; \
46539 (cd $(TARGET_SUBDIR)/libgomp && \
46540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46542 "RANLIB=$${RANLIB}" \
46543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46544 TAGS) \
46545 || exit 1
46547 @endif target-libgomp
46549 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
46550 maybe-install-info-target-libgomp:
46551 @if target-libgomp
46552 maybe-install-info-target-libgomp: install-info-target-libgomp
46554 install-info-target-libgomp: \
46555 configure-target-libgomp \
46556 info-target-libgomp
46557 @: $(MAKE); $(unstage)
46558 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
46559 r=`${PWD_COMMAND}`; export r; \
46560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46561 $(NORMAL_TARGET_EXPORTS) \
46562 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp"; \
46563 for flag in $(EXTRA_TARGET_FLAGS); do \
46564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46565 done; \
46566 (cd $(TARGET_SUBDIR)/libgomp && \
46567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46569 "RANLIB=$${RANLIB}" \
46570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46571 install-info) \
46572 || exit 1
46574 @endif target-libgomp
46576 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
46577 maybe-install-pdf-target-libgomp:
46578 @if target-libgomp
46579 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
46581 install-pdf-target-libgomp: \
46582 configure-target-libgomp \
46583 pdf-target-libgomp
46584 @: $(MAKE); $(unstage)
46585 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
46586 r=`${PWD_COMMAND}`; export r; \
46587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46588 $(NORMAL_TARGET_EXPORTS) \
46589 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp"; \
46590 for flag in $(EXTRA_TARGET_FLAGS); do \
46591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46592 done; \
46593 (cd $(TARGET_SUBDIR)/libgomp && \
46594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46596 "RANLIB=$${RANLIB}" \
46597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46598 install-pdf) \
46599 || exit 1
46601 @endif target-libgomp
46603 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
46604 maybe-install-html-target-libgomp:
46605 @if target-libgomp
46606 maybe-install-html-target-libgomp: install-html-target-libgomp
46608 install-html-target-libgomp: \
46609 configure-target-libgomp \
46610 html-target-libgomp
46611 @: $(MAKE); $(unstage)
46612 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
46613 r=`${PWD_COMMAND}`; export r; \
46614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46615 $(NORMAL_TARGET_EXPORTS) \
46616 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp"; \
46617 for flag in $(EXTRA_TARGET_FLAGS); do \
46618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46619 done; \
46620 (cd $(TARGET_SUBDIR)/libgomp && \
46621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46623 "RANLIB=$${RANLIB}" \
46624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46625 install-html) \
46626 || exit 1
46628 @endif target-libgomp
46630 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
46631 maybe-installcheck-target-libgomp:
46632 @if target-libgomp
46633 maybe-installcheck-target-libgomp: installcheck-target-libgomp
46635 installcheck-target-libgomp: \
46636 configure-target-libgomp
46637 @: $(MAKE); $(unstage)
46638 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
46639 r=`${PWD_COMMAND}`; export r; \
46640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46641 $(NORMAL_TARGET_EXPORTS) \
46642 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp"; \
46643 for flag in $(EXTRA_TARGET_FLAGS); do \
46644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46645 done; \
46646 (cd $(TARGET_SUBDIR)/libgomp && \
46647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46649 "RANLIB=$${RANLIB}" \
46650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46651 installcheck) \
46652 || exit 1
46654 @endif target-libgomp
46656 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
46657 maybe-mostlyclean-target-libgomp:
46658 @if target-libgomp
46659 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
46661 mostlyclean-target-libgomp:
46662 @: $(MAKE); $(unstage)
46663 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
46664 r=`${PWD_COMMAND}`; export r; \
46665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46666 $(NORMAL_TARGET_EXPORTS) \
46667 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp"; \
46668 for flag in $(EXTRA_TARGET_FLAGS); do \
46669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46670 done; \
46671 (cd $(TARGET_SUBDIR)/libgomp && \
46672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46674 "RANLIB=$${RANLIB}" \
46675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46676 mostlyclean) \
46677 || exit 1
46679 @endif target-libgomp
46681 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
46682 maybe-clean-target-libgomp:
46683 @if target-libgomp
46684 maybe-clean-target-libgomp: clean-target-libgomp
46686 clean-target-libgomp:
46687 @: $(MAKE); $(unstage)
46688 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
46689 r=`${PWD_COMMAND}`; export r; \
46690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46691 $(NORMAL_TARGET_EXPORTS) \
46692 echo "Doing clean in $(TARGET_SUBDIR)/libgomp"; \
46693 for flag in $(EXTRA_TARGET_FLAGS); do \
46694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46695 done; \
46696 (cd $(TARGET_SUBDIR)/libgomp && \
46697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46699 "RANLIB=$${RANLIB}" \
46700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46701 clean) \
46702 || exit 1
46704 @endif target-libgomp
46706 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
46707 maybe-distclean-target-libgomp:
46708 @if target-libgomp
46709 maybe-distclean-target-libgomp: distclean-target-libgomp
46711 distclean-target-libgomp:
46712 @: $(MAKE); $(unstage)
46713 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
46714 r=`${PWD_COMMAND}`; export r; \
46715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46716 $(NORMAL_TARGET_EXPORTS) \
46717 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp"; \
46718 for flag in $(EXTRA_TARGET_FLAGS); do \
46719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46720 done; \
46721 (cd $(TARGET_SUBDIR)/libgomp && \
46722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46724 "RANLIB=$${RANLIB}" \
46725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46726 distclean) \
46727 || exit 1
46729 @endif target-libgomp
46731 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
46732 maybe-maintainer-clean-target-libgomp:
46733 @if target-libgomp
46734 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
46736 maintainer-clean-target-libgomp:
46737 @: $(MAKE); $(unstage)
46738 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
46739 r=`${PWD_COMMAND}`; export r; \
46740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46741 $(NORMAL_TARGET_EXPORTS) \
46742 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp"; \
46743 for flag in $(EXTRA_TARGET_FLAGS); do \
46744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46745 done; \
46746 (cd $(TARGET_SUBDIR)/libgomp && \
46747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46749 "RANLIB=$${RANLIB}" \
46750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46751 maintainer-clean) \
46752 || exit 1
46754 @endif target-libgomp
46760 .PHONY: configure-target-libitm maybe-configure-target-libitm
46761 maybe-configure-target-libitm:
46762 @if gcc-bootstrap
46763 configure-target-libitm: stage_current
46764 @endif gcc-bootstrap
46765 @if target-libitm
46766 maybe-configure-target-libitm: configure-target-libitm
46767 configure-target-libitm:
46768 @: $(MAKE); $(unstage)
46769 @r=`${PWD_COMMAND}`; export r; \
46770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46771 echo "Checking multilib configuration for libitm..."; \
46772 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm; \
46773 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libitm/multilib.tmp 2> /dev/null; \
46774 if test -r $(TARGET_SUBDIR)/libitm/multilib.out; then \
46775 if cmp -s $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; then \
46776 rm -f $(TARGET_SUBDIR)/libitm/multilib.tmp; \
46777 else \
46778 rm -f $(TARGET_SUBDIR)/libitm/Makefile; \
46779 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
46780 fi; \
46781 else \
46782 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
46783 fi; \
46784 test ! -f $(TARGET_SUBDIR)/libitm/Makefile || exit 0; \
46785 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm; \
46786 $(NORMAL_TARGET_EXPORTS) \
46787 echo Configuring in $(TARGET_SUBDIR)/libitm; \
46788 cd "$(TARGET_SUBDIR)/libitm" || exit 1; \
46789 case $(srcdir) in \
46790 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46791 *) topdir=`echo $(TARGET_SUBDIR)/libitm/ | \
46792 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46793 esac; \
46794 module_srcdir=libitm; \
46795 rm -f no-such-file || : ; \
46796 CONFIG_SITE=no-such-file $(SHELL) \
46797 $$s/$$module_srcdir/configure \
46798 --srcdir=$${topdir}/$$module_srcdir \
46799 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46800 --target=${target_alias} \
46801 || exit 1
46802 @endif target-libitm
46808 .PHONY: all-target-libitm maybe-all-target-libitm
46809 maybe-all-target-libitm:
46810 @if gcc-bootstrap
46811 all-target-libitm: stage_current
46812 @endif gcc-bootstrap
46813 @if target-libitm
46814 TARGET-target-libitm=all
46815 maybe-all-target-libitm: all-target-libitm
46816 all-target-libitm: configure-target-libitm
46817 @: $(MAKE); $(unstage)
46818 @r=`${PWD_COMMAND}`; export r; \
46819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46820 $(NORMAL_TARGET_EXPORTS) \
46821 (cd $(TARGET_SUBDIR)/libitm && \
46822 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
46823 $(TARGET-target-libitm))
46824 @endif target-libitm
46830 .PHONY: check-target-libitm maybe-check-target-libitm
46831 maybe-check-target-libitm:
46832 @if target-libitm
46833 maybe-check-target-libitm: check-target-libitm
46835 check-target-libitm:
46836 @: $(MAKE); $(unstage)
46837 @r=`${PWD_COMMAND}`; export r; \
46838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46839 $(NORMAL_TARGET_EXPORTS) \
46840 (cd $(TARGET_SUBDIR)/libitm && \
46841 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
46843 @endif target-libitm
46845 .PHONY: install-target-libitm maybe-install-target-libitm
46846 maybe-install-target-libitm:
46847 @if target-libitm
46848 maybe-install-target-libitm: install-target-libitm
46850 install-target-libitm: installdirs
46851 @: $(MAKE); $(unstage)
46852 @r=`${PWD_COMMAND}`; export r; \
46853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46854 $(NORMAL_TARGET_EXPORTS) \
46855 (cd $(TARGET_SUBDIR)/libitm && \
46856 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
46858 @endif target-libitm
46860 .PHONY: install-strip-target-libitm maybe-install-strip-target-libitm
46861 maybe-install-strip-target-libitm:
46862 @if target-libitm
46863 maybe-install-strip-target-libitm: install-strip-target-libitm
46865 install-strip-target-libitm: installdirs
46866 @: $(MAKE); $(unstage)
46867 @r=`${PWD_COMMAND}`; export r; \
46868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46869 $(NORMAL_TARGET_EXPORTS) \
46870 (cd $(TARGET_SUBDIR)/libitm && \
46871 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
46873 @endif target-libitm
46875 # Other targets (info, dvi, pdf, etc.)
46877 .PHONY: maybe-info-target-libitm info-target-libitm
46878 maybe-info-target-libitm:
46879 @if target-libitm
46880 maybe-info-target-libitm: info-target-libitm
46882 info-target-libitm: \
46883 configure-target-libitm
46884 @: $(MAKE); $(unstage)
46885 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
46886 r=`${PWD_COMMAND}`; export r; \
46887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46888 $(NORMAL_TARGET_EXPORTS) \
46889 echo "Doing info in $(TARGET_SUBDIR)/libitm"; \
46890 for flag in $(EXTRA_TARGET_FLAGS); do \
46891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46892 done; \
46893 (cd $(TARGET_SUBDIR)/libitm && \
46894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46896 "RANLIB=$${RANLIB}" \
46897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46898 info) \
46899 || exit 1
46901 @endif target-libitm
46903 .PHONY: maybe-dvi-target-libitm dvi-target-libitm
46904 maybe-dvi-target-libitm:
46905 @if target-libitm
46906 maybe-dvi-target-libitm: dvi-target-libitm
46908 dvi-target-libitm: \
46909 configure-target-libitm
46910 @: $(MAKE); $(unstage)
46911 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
46912 r=`${PWD_COMMAND}`; export r; \
46913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46914 $(NORMAL_TARGET_EXPORTS) \
46915 echo "Doing dvi in $(TARGET_SUBDIR)/libitm"; \
46916 for flag in $(EXTRA_TARGET_FLAGS); do \
46917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46918 done; \
46919 (cd $(TARGET_SUBDIR)/libitm && \
46920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46922 "RANLIB=$${RANLIB}" \
46923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46924 dvi) \
46925 || exit 1
46927 @endif target-libitm
46929 .PHONY: maybe-pdf-target-libitm pdf-target-libitm
46930 maybe-pdf-target-libitm:
46931 @if target-libitm
46932 maybe-pdf-target-libitm: pdf-target-libitm
46934 pdf-target-libitm: \
46935 configure-target-libitm
46936 @: $(MAKE); $(unstage)
46937 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
46938 r=`${PWD_COMMAND}`; export r; \
46939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46940 $(NORMAL_TARGET_EXPORTS) \
46941 echo "Doing pdf in $(TARGET_SUBDIR)/libitm"; \
46942 for flag in $(EXTRA_TARGET_FLAGS); do \
46943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46944 done; \
46945 (cd $(TARGET_SUBDIR)/libitm && \
46946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46948 "RANLIB=$${RANLIB}" \
46949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46950 pdf) \
46951 || exit 1
46953 @endif target-libitm
46955 .PHONY: maybe-html-target-libitm html-target-libitm
46956 maybe-html-target-libitm:
46957 @if target-libitm
46958 maybe-html-target-libitm: html-target-libitm
46960 html-target-libitm: \
46961 configure-target-libitm
46962 @: $(MAKE); $(unstage)
46963 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
46964 r=`${PWD_COMMAND}`; export r; \
46965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46966 $(NORMAL_TARGET_EXPORTS) \
46967 echo "Doing html in $(TARGET_SUBDIR)/libitm"; \
46968 for flag in $(EXTRA_TARGET_FLAGS); do \
46969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46970 done; \
46971 (cd $(TARGET_SUBDIR)/libitm && \
46972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46974 "RANLIB=$${RANLIB}" \
46975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46976 html) \
46977 || exit 1
46979 @endif target-libitm
46981 .PHONY: maybe-TAGS-target-libitm TAGS-target-libitm
46982 maybe-TAGS-target-libitm:
46983 @if target-libitm
46984 maybe-TAGS-target-libitm: TAGS-target-libitm
46986 TAGS-target-libitm: \
46987 configure-target-libitm
46988 @: $(MAKE); $(unstage)
46989 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
46990 r=`${PWD_COMMAND}`; export r; \
46991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46992 $(NORMAL_TARGET_EXPORTS) \
46993 echo "Doing TAGS in $(TARGET_SUBDIR)/libitm"; \
46994 for flag in $(EXTRA_TARGET_FLAGS); do \
46995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46996 done; \
46997 (cd $(TARGET_SUBDIR)/libitm && \
46998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47000 "RANLIB=$${RANLIB}" \
47001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47002 TAGS) \
47003 || exit 1
47005 @endif target-libitm
47007 .PHONY: maybe-install-info-target-libitm install-info-target-libitm
47008 maybe-install-info-target-libitm:
47009 @if target-libitm
47010 maybe-install-info-target-libitm: install-info-target-libitm
47012 install-info-target-libitm: \
47013 configure-target-libitm \
47014 info-target-libitm
47015 @: $(MAKE); $(unstage)
47016 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
47017 r=`${PWD_COMMAND}`; export r; \
47018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47019 $(NORMAL_TARGET_EXPORTS) \
47020 echo "Doing install-info in $(TARGET_SUBDIR)/libitm"; \
47021 for flag in $(EXTRA_TARGET_FLAGS); do \
47022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47023 done; \
47024 (cd $(TARGET_SUBDIR)/libitm && \
47025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47027 "RANLIB=$${RANLIB}" \
47028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47029 install-info) \
47030 || exit 1
47032 @endif target-libitm
47034 .PHONY: maybe-install-pdf-target-libitm install-pdf-target-libitm
47035 maybe-install-pdf-target-libitm:
47036 @if target-libitm
47037 maybe-install-pdf-target-libitm: install-pdf-target-libitm
47039 install-pdf-target-libitm: \
47040 configure-target-libitm \
47041 pdf-target-libitm
47042 @: $(MAKE); $(unstage)
47043 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
47044 r=`${PWD_COMMAND}`; export r; \
47045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47046 $(NORMAL_TARGET_EXPORTS) \
47047 echo "Doing install-pdf in $(TARGET_SUBDIR)/libitm"; \
47048 for flag in $(EXTRA_TARGET_FLAGS); do \
47049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47050 done; \
47051 (cd $(TARGET_SUBDIR)/libitm && \
47052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47054 "RANLIB=$${RANLIB}" \
47055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47056 install-pdf) \
47057 || exit 1
47059 @endif target-libitm
47061 .PHONY: maybe-install-html-target-libitm install-html-target-libitm
47062 maybe-install-html-target-libitm:
47063 @if target-libitm
47064 maybe-install-html-target-libitm: install-html-target-libitm
47066 install-html-target-libitm: \
47067 configure-target-libitm \
47068 html-target-libitm
47069 @: $(MAKE); $(unstage)
47070 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
47071 r=`${PWD_COMMAND}`; export r; \
47072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47073 $(NORMAL_TARGET_EXPORTS) \
47074 echo "Doing install-html in $(TARGET_SUBDIR)/libitm"; \
47075 for flag in $(EXTRA_TARGET_FLAGS); do \
47076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47077 done; \
47078 (cd $(TARGET_SUBDIR)/libitm && \
47079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47081 "RANLIB=$${RANLIB}" \
47082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47083 install-html) \
47084 || exit 1
47086 @endif target-libitm
47088 .PHONY: maybe-installcheck-target-libitm installcheck-target-libitm
47089 maybe-installcheck-target-libitm:
47090 @if target-libitm
47091 maybe-installcheck-target-libitm: installcheck-target-libitm
47093 installcheck-target-libitm: \
47094 configure-target-libitm
47095 @: $(MAKE); $(unstage)
47096 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
47097 r=`${PWD_COMMAND}`; export r; \
47098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47099 $(NORMAL_TARGET_EXPORTS) \
47100 echo "Doing installcheck in $(TARGET_SUBDIR)/libitm"; \
47101 for flag in $(EXTRA_TARGET_FLAGS); do \
47102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47103 done; \
47104 (cd $(TARGET_SUBDIR)/libitm && \
47105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47107 "RANLIB=$${RANLIB}" \
47108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47109 installcheck) \
47110 || exit 1
47112 @endif target-libitm
47114 .PHONY: maybe-mostlyclean-target-libitm mostlyclean-target-libitm
47115 maybe-mostlyclean-target-libitm:
47116 @if target-libitm
47117 maybe-mostlyclean-target-libitm: mostlyclean-target-libitm
47119 mostlyclean-target-libitm:
47120 @: $(MAKE); $(unstage)
47121 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
47122 r=`${PWD_COMMAND}`; export r; \
47123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47124 $(NORMAL_TARGET_EXPORTS) \
47125 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libitm"; \
47126 for flag in $(EXTRA_TARGET_FLAGS); do \
47127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47128 done; \
47129 (cd $(TARGET_SUBDIR)/libitm && \
47130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47132 "RANLIB=$${RANLIB}" \
47133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47134 mostlyclean) \
47135 || exit 1
47137 @endif target-libitm
47139 .PHONY: maybe-clean-target-libitm clean-target-libitm
47140 maybe-clean-target-libitm:
47141 @if target-libitm
47142 maybe-clean-target-libitm: clean-target-libitm
47144 clean-target-libitm:
47145 @: $(MAKE); $(unstage)
47146 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
47147 r=`${PWD_COMMAND}`; export r; \
47148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47149 $(NORMAL_TARGET_EXPORTS) \
47150 echo "Doing clean in $(TARGET_SUBDIR)/libitm"; \
47151 for flag in $(EXTRA_TARGET_FLAGS); do \
47152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47153 done; \
47154 (cd $(TARGET_SUBDIR)/libitm && \
47155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47157 "RANLIB=$${RANLIB}" \
47158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47159 clean) \
47160 || exit 1
47162 @endif target-libitm
47164 .PHONY: maybe-distclean-target-libitm distclean-target-libitm
47165 maybe-distclean-target-libitm:
47166 @if target-libitm
47167 maybe-distclean-target-libitm: distclean-target-libitm
47169 distclean-target-libitm:
47170 @: $(MAKE); $(unstage)
47171 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
47172 r=`${PWD_COMMAND}`; export r; \
47173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47174 $(NORMAL_TARGET_EXPORTS) \
47175 echo "Doing distclean in $(TARGET_SUBDIR)/libitm"; \
47176 for flag in $(EXTRA_TARGET_FLAGS); do \
47177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47178 done; \
47179 (cd $(TARGET_SUBDIR)/libitm && \
47180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47182 "RANLIB=$${RANLIB}" \
47183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47184 distclean) \
47185 || exit 1
47187 @endif target-libitm
47189 .PHONY: maybe-maintainer-clean-target-libitm maintainer-clean-target-libitm
47190 maybe-maintainer-clean-target-libitm:
47191 @if target-libitm
47192 maybe-maintainer-clean-target-libitm: maintainer-clean-target-libitm
47194 maintainer-clean-target-libitm:
47195 @: $(MAKE); $(unstage)
47196 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
47197 r=`${PWD_COMMAND}`; export r; \
47198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47199 $(NORMAL_TARGET_EXPORTS) \
47200 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libitm"; \
47201 for flag in $(EXTRA_TARGET_FLAGS); do \
47202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47203 done; \
47204 (cd $(TARGET_SUBDIR)/libitm && \
47205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47207 "RANLIB=$${RANLIB}" \
47208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47209 maintainer-clean) \
47210 || exit 1
47212 @endif target-libitm
47218 .PHONY: configure-target-libatomic maybe-configure-target-libatomic
47219 maybe-configure-target-libatomic:
47220 @if gcc-bootstrap
47221 configure-target-libatomic: stage_current
47222 @endif gcc-bootstrap
47223 @if target-libatomic
47224 maybe-configure-target-libatomic: configure-target-libatomic
47225 configure-target-libatomic:
47226 @: $(MAKE); $(unstage)
47227 @r=`${PWD_COMMAND}`; export r; \
47228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47229 echo "Checking multilib configuration for libatomic..."; \
47230 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
47231 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null; \
47232 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
47233 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
47234 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
47235 else \
47236 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
47237 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
47238 fi; \
47239 else \
47240 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
47241 fi; \
47242 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
47243 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
47244 $(NORMAL_TARGET_EXPORTS) \
47245 echo Configuring in $(TARGET_SUBDIR)/libatomic; \
47246 cd "$(TARGET_SUBDIR)/libatomic" || exit 1; \
47247 case $(srcdir) in \
47248 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47249 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
47250 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47251 esac; \
47252 module_srcdir=libatomic; \
47253 rm -f no-such-file || : ; \
47254 CONFIG_SITE=no-such-file $(SHELL) \
47255 $$s/$$module_srcdir/configure \
47256 --srcdir=$${topdir}/$$module_srcdir \
47257 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47258 --target=${target_alias} \
47259 || exit 1
47260 @endif target-libatomic
47266 .PHONY: all-target-libatomic maybe-all-target-libatomic
47267 maybe-all-target-libatomic:
47268 @if gcc-bootstrap
47269 all-target-libatomic: stage_current
47270 @endif gcc-bootstrap
47271 @if target-libatomic
47272 TARGET-target-libatomic=all
47273 maybe-all-target-libatomic: all-target-libatomic
47274 all-target-libatomic: configure-target-libatomic
47275 @: $(MAKE); $(unstage)
47276 @r=`${PWD_COMMAND}`; export r; \
47277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47278 $(NORMAL_TARGET_EXPORTS) \
47279 (cd $(TARGET_SUBDIR)/libatomic && \
47280 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47281 $(TARGET-target-libatomic))
47282 @endif target-libatomic
47288 .PHONY: check-target-libatomic maybe-check-target-libatomic
47289 maybe-check-target-libatomic:
47290 @if target-libatomic
47291 maybe-check-target-libatomic: check-target-libatomic
47293 check-target-libatomic:
47294 @: $(MAKE); $(unstage)
47295 @r=`${PWD_COMMAND}`; export r; \
47296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47297 $(NORMAL_TARGET_EXPORTS) \
47298 (cd $(TARGET_SUBDIR)/libatomic && \
47299 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
47301 @endif target-libatomic
47303 .PHONY: install-target-libatomic maybe-install-target-libatomic
47304 maybe-install-target-libatomic:
47305 @if target-libatomic
47306 maybe-install-target-libatomic: install-target-libatomic
47308 install-target-libatomic: installdirs
47309 @: $(MAKE); $(unstage)
47310 @r=`${PWD_COMMAND}`; export r; \
47311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47312 $(NORMAL_TARGET_EXPORTS) \
47313 (cd $(TARGET_SUBDIR)/libatomic && \
47314 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47316 @endif target-libatomic
47318 .PHONY: install-strip-target-libatomic maybe-install-strip-target-libatomic
47319 maybe-install-strip-target-libatomic:
47320 @if target-libatomic
47321 maybe-install-strip-target-libatomic: install-strip-target-libatomic
47323 install-strip-target-libatomic: installdirs
47324 @: $(MAKE); $(unstage)
47325 @r=`${PWD_COMMAND}`; export r; \
47326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47327 $(NORMAL_TARGET_EXPORTS) \
47328 (cd $(TARGET_SUBDIR)/libatomic && \
47329 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
47331 @endif target-libatomic
47333 # Other targets (info, dvi, pdf, etc.)
47335 .PHONY: maybe-info-target-libatomic info-target-libatomic
47336 maybe-info-target-libatomic:
47337 @if target-libatomic
47338 maybe-info-target-libatomic: info-target-libatomic
47340 info-target-libatomic: \
47341 configure-target-libatomic
47342 @: $(MAKE); $(unstage)
47343 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
47344 r=`${PWD_COMMAND}`; export r; \
47345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47346 $(NORMAL_TARGET_EXPORTS) \
47347 echo "Doing info in $(TARGET_SUBDIR)/libatomic"; \
47348 for flag in $(EXTRA_TARGET_FLAGS); do \
47349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47350 done; \
47351 (cd $(TARGET_SUBDIR)/libatomic && \
47352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47354 "RANLIB=$${RANLIB}" \
47355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47356 info) \
47357 || exit 1
47359 @endif target-libatomic
47361 .PHONY: maybe-dvi-target-libatomic dvi-target-libatomic
47362 maybe-dvi-target-libatomic:
47363 @if target-libatomic
47364 maybe-dvi-target-libatomic: dvi-target-libatomic
47366 dvi-target-libatomic: \
47367 configure-target-libatomic
47368 @: $(MAKE); $(unstage)
47369 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
47370 r=`${PWD_COMMAND}`; export r; \
47371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47372 $(NORMAL_TARGET_EXPORTS) \
47373 echo "Doing dvi in $(TARGET_SUBDIR)/libatomic"; \
47374 for flag in $(EXTRA_TARGET_FLAGS); do \
47375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47376 done; \
47377 (cd $(TARGET_SUBDIR)/libatomic && \
47378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47380 "RANLIB=$${RANLIB}" \
47381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47382 dvi) \
47383 || exit 1
47385 @endif target-libatomic
47387 .PHONY: maybe-pdf-target-libatomic pdf-target-libatomic
47388 maybe-pdf-target-libatomic:
47389 @if target-libatomic
47390 maybe-pdf-target-libatomic: pdf-target-libatomic
47392 pdf-target-libatomic: \
47393 configure-target-libatomic
47394 @: $(MAKE); $(unstage)
47395 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
47396 r=`${PWD_COMMAND}`; export r; \
47397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47398 $(NORMAL_TARGET_EXPORTS) \
47399 echo "Doing pdf in $(TARGET_SUBDIR)/libatomic"; \
47400 for flag in $(EXTRA_TARGET_FLAGS); do \
47401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47402 done; \
47403 (cd $(TARGET_SUBDIR)/libatomic && \
47404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47406 "RANLIB=$${RANLIB}" \
47407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47408 pdf) \
47409 || exit 1
47411 @endif target-libatomic
47413 .PHONY: maybe-html-target-libatomic html-target-libatomic
47414 maybe-html-target-libatomic:
47415 @if target-libatomic
47416 maybe-html-target-libatomic: html-target-libatomic
47418 html-target-libatomic: \
47419 configure-target-libatomic
47420 @: $(MAKE); $(unstage)
47421 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
47422 r=`${PWD_COMMAND}`; export r; \
47423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47424 $(NORMAL_TARGET_EXPORTS) \
47425 echo "Doing html in $(TARGET_SUBDIR)/libatomic"; \
47426 for flag in $(EXTRA_TARGET_FLAGS); do \
47427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47428 done; \
47429 (cd $(TARGET_SUBDIR)/libatomic && \
47430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47432 "RANLIB=$${RANLIB}" \
47433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47434 html) \
47435 || exit 1
47437 @endif target-libatomic
47439 .PHONY: maybe-TAGS-target-libatomic TAGS-target-libatomic
47440 maybe-TAGS-target-libatomic:
47441 @if target-libatomic
47442 maybe-TAGS-target-libatomic: TAGS-target-libatomic
47444 TAGS-target-libatomic: \
47445 configure-target-libatomic
47446 @: $(MAKE); $(unstage)
47447 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
47448 r=`${PWD_COMMAND}`; export r; \
47449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47450 $(NORMAL_TARGET_EXPORTS) \
47451 echo "Doing TAGS in $(TARGET_SUBDIR)/libatomic"; \
47452 for flag in $(EXTRA_TARGET_FLAGS); do \
47453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47454 done; \
47455 (cd $(TARGET_SUBDIR)/libatomic && \
47456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47458 "RANLIB=$${RANLIB}" \
47459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47460 TAGS) \
47461 || exit 1
47463 @endif target-libatomic
47465 .PHONY: maybe-install-info-target-libatomic install-info-target-libatomic
47466 maybe-install-info-target-libatomic:
47467 @if target-libatomic
47468 maybe-install-info-target-libatomic: install-info-target-libatomic
47470 install-info-target-libatomic: \
47471 configure-target-libatomic \
47472 info-target-libatomic
47473 @: $(MAKE); $(unstage)
47474 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
47475 r=`${PWD_COMMAND}`; export r; \
47476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47477 $(NORMAL_TARGET_EXPORTS) \
47478 echo "Doing install-info in $(TARGET_SUBDIR)/libatomic"; \
47479 for flag in $(EXTRA_TARGET_FLAGS); do \
47480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47481 done; \
47482 (cd $(TARGET_SUBDIR)/libatomic && \
47483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47485 "RANLIB=$${RANLIB}" \
47486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47487 install-info) \
47488 || exit 1
47490 @endif target-libatomic
47492 .PHONY: maybe-install-pdf-target-libatomic install-pdf-target-libatomic
47493 maybe-install-pdf-target-libatomic:
47494 @if target-libatomic
47495 maybe-install-pdf-target-libatomic: install-pdf-target-libatomic
47497 install-pdf-target-libatomic: \
47498 configure-target-libatomic \
47499 pdf-target-libatomic
47500 @: $(MAKE); $(unstage)
47501 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
47502 r=`${PWD_COMMAND}`; export r; \
47503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47504 $(NORMAL_TARGET_EXPORTS) \
47505 echo "Doing install-pdf in $(TARGET_SUBDIR)/libatomic"; \
47506 for flag in $(EXTRA_TARGET_FLAGS); do \
47507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47508 done; \
47509 (cd $(TARGET_SUBDIR)/libatomic && \
47510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47512 "RANLIB=$${RANLIB}" \
47513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47514 install-pdf) \
47515 || exit 1
47517 @endif target-libatomic
47519 .PHONY: maybe-install-html-target-libatomic install-html-target-libatomic
47520 maybe-install-html-target-libatomic:
47521 @if target-libatomic
47522 maybe-install-html-target-libatomic: install-html-target-libatomic
47524 install-html-target-libatomic: \
47525 configure-target-libatomic \
47526 html-target-libatomic
47527 @: $(MAKE); $(unstage)
47528 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
47529 r=`${PWD_COMMAND}`; export r; \
47530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47531 $(NORMAL_TARGET_EXPORTS) \
47532 echo "Doing install-html in $(TARGET_SUBDIR)/libatomic"; \
47533 for flag in $(EXTRA_TARGET_FLAGS); do \
47534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47535 done; \
47536 (cd $(TARGET_SUBDIR)/libatomic && \
47537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47539 "RANLIB=$${RANLIB}" \
47540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47541 install-html) \
47542 || exit 1
47544 @endif target-libatomic
47546 .PHONY: maybe-installcheck-target-libatomic installcheck-target-libatomic
47547 maybe-installcheck-target-libatomic:
47548 @if target-libatomic
47549 maybe-installcheck-target-libatomic: installcheck-target-libatomic
47551 installcheck-target-libatomic: \
47552 configure-target-libatomic
47553 @: $(MAKE); $(unstage)
47554 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
47555 r=`${PWD_COMMAND}`; export r; \
47556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47557 $(NORMAL_TARGET_EXPORTS) \
47558 echo "Doing installcheck in $(TARGET_SUBDIR)/libatomic"; \
47559 for flag in $(EXTRA_TARGET_FLAGS); do \
47560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47561 done; \
47562 (cd $(TARGET_SUBDIR)/libatomic && \
47563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47565 "RANLIB=$${RANLIB}" \
47566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47567 installcheck) \
47568 || exit 1
47570 @endif target-libatomic
47572 .PHONY: maybe-mostlyclean-target-libatomic mostlyclean-target-libatomic
47573 maybe-mostlyclean-target-libatomic:
47574 @if target-libatomic
47575 maybe-mostlyclean-target-libatomic: mostlyclean-target-libatomic
47577 mostlyclean-target-libatomic:
47578 @: $(MAKE); $(unstage)
47579 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
47580 r=`${PWD_COMMAND}`; export r; \
47581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47582 $(NORMAL_TARGET_EXPORTS) \
47583 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libatomic"; \
47584 for flag in $(EXTRA_TARGET_FLAGS); do \
47585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47586 done; \
47587 (cd $(TARGET_SUBDIR)/libatomic && \
47588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47590 "RANLIB=$${RANLIB}" \
47591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47592 mostlyclean) \
47593 || exit 1
47595 @endif target-libatomic
47597 .PHONY: maybe-clean-target-libatomic clean-target-libatomic
47598 maybe-clean-target-libatomic:
47599 @if target-libatomic
47600 maybe-clean-target-libatomic: clean-target-libatomic
47602 clean-target-libatomic:
47603 @: $(MAKE); $(unstage)
47604 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
47605 r=`${PWD_COMMAND}`; export r; \
47606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47607 $(NORMAL_TARGET_EXPORTS) \
47608 echo "Doing clean in $(TARGET_SUBDIR)/libatomic"; \
47609 for flag in $(EXTRA_TARGET_FLAGS); do \
47610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47611 done; \
47612 (cd $(TARGET_SUBDIR)/libatomic && \
47613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47615 "RANLIB=$${RANLIB}" \
47616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47617 clean) \
47618 || exit 1
47620 @endif target-libatomic
47622 .PHONY: maybe-distclean-target-libatomic distclean-target-libatomic
47623 maybe-distclean-target-libatomic:
47624 @if target-libatomic
47625 maybe-distclean-target-libatomic: distclean-target-libatomic
47627 distclean-target-libatomic:
47628 @: $(MAKE); $(unstage)
47629 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
47630 r=`${PWD_COMMAND}`; export r; \
47631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47632 $(NORMAL_TARGET_EXPORTS) \
47633 echo "Doing distclean in $(TARGET_SUBDIR)/libatomic"; \
47634 for flag in $(EXTRA_TARGET_FLAGS); do \
47635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47636 done; \
47637 (cd $(TARGET_SUBDIR)/libatomic && \
47638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47640 "RANLIB=$${RANLIB}" \
47641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47642 distclean) \
47643 || exit 1
47645 @endif target-libatomic
47647 .PHONY: maybe-maintainer-clean-target-libatomic maintainer-clean-target-libatomic
47648 maybe-maintainer-clean-target-libatomic:
47649 @if target-libatomic
47650 maybe-maintainer-clean-target-libatomic: maintainer-clean-target-libatomic
47652 maintainer-clean-target-libatomic:
47653 @: $(MAKE); $(unstage)
47654 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
47655 r=`${PWD_COMMAND}`; export r; \
47656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47657 $(NORMAL_TARGET_EXPORTS) \
47658 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libatomic"; \
47659 for flag in $(EXTRA_TARGET_FLAGS); do \
47660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47661 done; \
47662 (cd $(TARGET_SUBDIR)/libatomic && \
47663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47665 "RANLIB=$${RANLIB}" \
47666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47667 maintainer-clean) \
47668 || exit 1
47670 @endif target-libatomic
47674 @if target-libgomp
47675 .PHONY: check-target-libgomp-c++
47676 check-target-libgomp-c++:
47677 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libgomp
47679 @endif target-libgomp
47681 @if target-libitm
47682 .PHONY: check-target-libitm-c++
47683 check-target-libitm-c++:
47684 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libitm
47686 @endif target-libitm
47688 # ----------
47689 # GCC module
47690 # ----------
47692 @if gcc-no-bootstrap
47693 .PHONY: cross
47694 cross: all-build all-gas all-ld
47695 @r=`${PWD_COMMAND}`; export r; \
47696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47697 $(HOST_EXPORTS) \
47698 echo "Building the C and C++ compiler"; \
47699 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
47700 @r=`${PWD_COMMAND}`; export r; \
47701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47702 echo "Building runtime libraries"; \
47703 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
47704 @endif gcc-no-bootstrap
47706 @if gcc
47708 .PHONY: check-gcc-c check-c
47709 check-gcc-c:
47710 r=`${PWD_COMMAND}`; export r; \
47711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47712 $(HOST_EXPORTS) \
47713 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-gcc);
47714 check-c: check-gcc-c
47716 .PHONY: check-gcc-c++ check-c++
47717 check-gcc-c++:
47718 r=`${PWD_COMMAND}`; export r; \
47719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47720 $(HOST_EXPORTS) \
47721 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++);
47722 check-c++: check-gcc-c++ check-target-libstdc++-v3 check-target-libitm-c++ check-target-libgomp-c++
47724 .PHONY: check-gcc-fortran check-fortran
47725 check-gcc-fortran:
47726 r=`${PWD_COMMAND}`; export r; \
47727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47728 $(HOST_EXPORTS) \
47729 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran);
47730 check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran
47732 .PHONY: check-gcc-java check-java
47733 check-gcc-java:
47734 r=`${PWD_COMMAND}`; export r; \
47735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47736 $(HOST_EXPORTS) \
47737 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-java);
47738 check-java: check-gcc-java check-target-libjava
47740 .PHONY: check-gcc-ada check-ada
47741 check-gcc-ada:
47742 r=`${PWD_COMMAND}`; export r; \
47743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47744 $(HOST_EXPORTS) \
47745 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-ada);
47746 check-ada: check-gcc-ada check-target-libada
47748 .PHONY: check-gcc-objc check-objc
47749 check-gcc-objc:
47750 r=`${PWD_COMMAND}`; export r; \
47751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47752 $(HOST_EXPORTS) \
47753 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-objc);
47754 check-objc: check-gcc-objc check-target-libobjc
47756 .PHONY: check-gcc-obj-c++ check-obj-c++
47757 check-gcc-obj-c++:
47758 r=`${PWD_COMMAND}`; export r; \
47759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47760 $(HOST_EXPORTS) \
47761 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-obj-c++);
47762 check-obj-c++: check-gcc-obj-c++
47764 .PHONY: check-gcc-go check-go
47765 check-gcc-go:
47766 r=`${PWD_COMMAND}`; export r; \
47767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47768 $(HOST_EXPORTS) \
47769 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-go);
47770 check-go: check-gcc-go check-target-libgo
47773 # The gcc part of install-no-fixedincludes, which relies on an intimate
47774 # knowledge of how a number of gcc internal targets (inter)operate. Delegate.
47775 .PHONY: gcc-install-no-fixedincludes
47776 gcc-install-no-fixedincludes:
47777 @if [ -f ./gcc/Makefile ]; then \
47778 r=`${PWD_COMMAND}`; export r; \
47779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47780 $(HOST_EXPORTS) \
47781 (cd ./gcc \
47782 && $(MAKE) $(GCC_FLAGS_TO_PASS) install-no-fixedincludes); \
47783 else true; fi
47784 @endif gcc
47786 # ---------------------
47787 # GCC bootstrap support
47788 # ---------------------
47790 # We track the current stage (the one in 'gcc') in the stage_current file.
47791 # stage_last instead tracks the stage that was built last. These targets
47792 # are dummy when toplevel bootstrap is not active.
47794 # While making host and target tools, symlinks to the final stage must be
47795 # there, so $(unstage) should be run at various points. To avoid excessive
47796 # recursive invocations of make, we "inline" them using a variable. These
47797 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
47798 # to avoid warnings from the GNU Make job server.
47800 unstage = :
47801 stage = :
47802 current_stage = ""
47804 @if gcc-bootstrap
47805 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
47806 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
47807 current_stage = "`cat stage_current 2> /dev/null`"
47808 @endif gcc-bootstrap
47810 .PHONY: unstage stage
47811 unstage:
47812 @: $(MAKE); $(unstage)
47813 stage:
47814 @: $(MAKE); $(stage)
47816 # Disable commands for lean bootstrap.
47817 LEAN = false
47819 # We name the build directories for the various stages "stage1-gcc",
47820 # "stage2-gcc","stage3-gcc", etc.
47822 # Since the 'compare' process will fail (on debugging information) if any
47823 # directory names are different, we need to link the gcc directory for
47824 # the previous stage to a constant name ('prev-gcc'), and to make the name of
47825 # the build directories constant as well. For the latter, we use naked names
47826 # like 'gcc', because the scripts in that directory assume it. We use
47827 # mv on platforms where symlinks to directories do not work or are not
47828 # reliable.
47830 # 'touch' doesn't work right on some platforms.
47831 STAMP = echo timestamp >
47833 # We only want to compare .o files, so set this!
47834 objext = .o
47837 .PHONY: stage1-start stage1-end
47839 stage1-start::
47840 @: $(MAKE); $(stage); \
47841 echo stage1 > stage_current; \
47842 echo stage1 > stage_last; \
47843 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
47844 @if bfd
47845 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
47846 mkdir stage1-bfd; \
47847 mv stage1-bfd bfd
47848 @endif bfd
47849 @if opcodes
47850 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
47851 mkdir stage1-opcodes; \
47852 mv stage1-opcodes opcodes
47853 @endif opcodes
47854 @if binutils
47855 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
47856 mkdir stage1-binutils; \
47857 mv stage1-binutils binutils
47858 @endif binutils
47859 @if fixincludes
47860 @cd $(HOST_SUBDIR); [ -d stage1-fixincludes ] || \
47861 mkdir stage1-fixincludes; \
47862 mv stage1-fixincludes fixincludes
47863 @endif fixincludes
47864 @if gas
47865 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
47866 mkdir stage1-gas; \
47867 mv stage1-gas gas
47868 @endif gas
47869 @if gcc
47870 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
47871 mkdir stage1-gcc; \
47872 mv stage1-gcc gcc
47873 @endif gcc
47874 @if gmp
47875 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
47876 mkdir stage1-gmp; \
47877 mv stage1-gmp gmp
47878 @endif gmp
47879 @if mpfr
47880 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
47881 mkdir stage1-mpfr; \
47882 mv stage1-mpfr mpfr
47883 @endif mpfr
47884 @if mpc
47885 @cd $(HOST_SUBDIR); [ -d stage1-mpc ] || \
47886 mkdir stage1-mpc; \
47887 mv stage1-mpc mpc
47888 @endif mpc
47889 @if isl
47890 @cd $(HOST_SUBDIR); [ -d stage1-isl ] || \
47891 mkdir stage1-isl; \
47892 mv stage1-isl isl
47893 @endif isl
47894 @if libelf
47895 @cd $(HOST_SUBDIR); [ -d stage1-libelf ] || \
47896 mkdir stage1-libelf; \
47897 mv stage1-libelf libelf
47898 @endif libelf
47899 @if gold
47900 @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \
47901 mkdir stage1-gold; \
47902 mv stage1-gold gold
47903 @endif gold
47904 @if intl
47905 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
47906 mkdir stage1-intl; \
47907 mv stage1-intl intl
47908 @endif intl
47909 @if ld
47910 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
47911 mkdir stage1-ld; \
47912 mv stage1-ld ld
47913 @endif ld
47914 @if libbacktrace
47915 @cd $(HOST_SUBDIR); [ -d stage1-libbacktrace ] || \
47916 mkdir stage1-libbacktrace; \
47917 mv stage1-libbacktrace libbacktrace
47918 @endif libbacktrace
47919 @if libcpp
47920 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
47921 mkdir stage1-libcpp; \
47922 mv stage1-libcpp libcpp
47923 @endif libcpp
47924 @if libdecnumber
47925 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
47926 mkdir stage1-libdecnumber; \
47927 mv stage1-libdecnumber libdecnumber
47928 @endif libdecnumber
47929 @if libiberty
47930 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
47931 mkdir stage1-libiberty; \
47932 mv stage1-libiberty libiberty
47933 @endif libiberty
47934 @if libiberty-linker-plugin
47935 @cd $(HOST_SUBDIR); [ -d stage1-libiberty-linker-plugin ] || \
47936 mkdir stage1-libiberty-linker-plugin; \
47937 mv stage1-libiberty-linker-plugin libiberty-linker-plugin
47938 @endif libiberty-linker-plugin
47939 @if libiconv
47940 @cd $(HOST_SUBDIR); [ -d stage1-libiconv ] || \
47941 mkdir stage1-libiconv; \
47942 mv stage1-libiconv libiconv
47943 @endif libiconv
47944 @if zlib
47945 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
47946 mkdir stage1-zlib; \
47947 mv stage1-zlib zlib
47948 @endif zlib
47949 @if lto-plugin
47950 @cd $(HOST_SUBDIR); [ -d stage1-lto-plugin ] || \
47951 mkdir stage1-lto-plugin; \
47952 mv stage1-lto-plugin lto-plugin
47953 @endif lto-plugin
47954 @[ -d stage1-$(TARGET_SUBDIR) ] || \
47955 mkdir stage1-$(TARGET_SUBDIR); \
47956 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
47958 stage1-end::
47959 @if bfd
47960 @if test -d $(HOST_SUBDIR)/bfd; then \
47961 cd $(HOST_SUBDIR); mv bfd stage1-bfd; \
47963 @endif bfd
47964 @if opcodes
47965 @if test -d $(HOST_SUBDIR)/opcodes; then \
47966 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes; \
47968 @endif opcodes
47969 @if binutils
47970 @if test -d $(HOST_SUBDIR)/binutils; then \
47971 cd $(HOST_SUBDIR); mv binutils stage1-binutils; \
47973 @endif binutils
47974 @if fixincludes
47975 @if test -d $(HOST_SUBDIR)/fixincludes; then \
47976 cd $(HOST_SUBDIR); mv fixincludes stage1-fixincludes; \
47978 @endif fixincludes
47979 @if gas
47980 @if test -d $(HOST_SUBDIR)/gas; then \
47981 cd $(HOST_SUBDIR); mv gas stage1-gas; \
47983 @endif gas
47984 @if gcc
47985 @if test -d $(HOST_SUBDIR)/gcc; then \
47986 cd $(HOST_SUBDIR); mv gcc stage1-gcc; \
47988 @endif gcc
47989 @if gmp
47990 @if test -d $(HOST_SUBDIR)/gmp; then \
47991 cd $(HOST_SUBDIR); mv gmp stage1-gmp; \
47993 @endif gmp
47994 @if mpfr
47995 @if test -d $(HOST_SUBDIR)/mpfr; then \
47996 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr; \
47998 @endif mpfr
47999 @if mpc
48000 @if test -d $(HOST_SUBDIR)/mpc; then \
48001 cd $(HOST_SUBDIR); mv mpc stage1-mpc; \
48003 @endif mpc
48004 @if isl
48005 @if test -d $(HOST_SUBDIR)/isl; then \
48006 cd $(HOST_SUBDIR); mv isl stage1-isl; \
48008 @endif isl
48009 @if libelf
48010 @if test -d $(HOST_SUBDIR)/libelf; then \
48011 cd $(HOST_SUBDIR); mv libelf stage1-libelf; \
48013 @endif libelf
48014 @if gold
48015 @if test -d $(HOST_SUBDIR)/gold; then \
48016 cd $(HOST_SUBDIR); mv gold stage1-gold; \
48018 @endif gold
48019 @if intl
48020 @if test -d $(HOST_SUBDIR)/intl; then \
48021 cd $(HOST_SUBDIR); mv intl stage1-intl; \
48023 @endif intl
48024 @if ld
48025 @if test -d $(HOST_SUBDIR)/ld; then \
48026 cd $(HOST_SUBDIR); mv ld stage1-ld; \
48028 @endif ld
48029 @if libbacktrace
48030 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
48031 cd $(HOST_SUBDIR); mv libbacktrace stage1-libbacktrace; \
48033 @endif libbacktrace
48034 @if libcpp
48035 @if test -d $(HOST_SUBDIR)/libcpp; then \
48036 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp; \
48038 @endif libcpp
48039 @if libdecnumber
48040 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
48041 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber; \
48043 @endif libdecnumber
48044 @if libiberty
48045 @if test -d $(HOST_SUBDIR)/libiberty; then \
48046 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty; \
48048 @endif libiberty
48049 @if libiberty-linker-plugin
48050 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
48051 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage1-libiberty-linker-plugin; \
48053 @endif libiberty-linker-plugin
48054 @if libiconv
48055 @if test -d $(HOST_SUBDIR)/libiconv; then \
48056 cd $(HOST_SUBDIR); mv libiconv stage1-libiconv; \
48058 @endif libiconv
48059 @if zlib
48060 @if test -d $(HOST_SUBDIR)/zlib; then \
48061 cd $(HOST_SUBDIR); mv zlib stage1-zlib; \
48063 @endif zlib
48064 @if lto-plugin
48065 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
48066 cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin; \
48068 @endif lto-plugin
48069 @if test -d $(TARGET_SUBDIR); then \
48070 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); \
48072 rm -f stage_current
48074 # Bubble a bug fix through all the stages up to stage 1. They are
48075 # remade, but not reconfigured. The next stage (if any) will not be
48076 # reconfigured either.
48077 .PHONY: stage1-bubble
48078 stage1-bubble::
48079 @r=`${PWD_COMMAND}`; export r; \
48080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48081 if test -f stage1-lean ; then \
48082 echo Skipping rebuild of stage1; \
48083 else \
48084 $(MAKE) stage1-start; \
48085 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
48088 .PHONY: all-stage1 clean-stage1
48089 do-clean: clean-stage1
48091 # FIXME: Will not need to be conditional when toplevel bootstrap is the
48092 # only possibility, but now it conflicts with no-bootstrap rules
48093 @if gcc-bootstrap
48098 # Rules to wipe a stage and all the following ones, also used for cleanstrap
48100 .PHONY: distclean-stage1
48101 distclean-stage1::
48102 @: $(MAKE); $(stage)
48103 @test "`cat stage_last`" != stage1 || rm -f stage_last
48104 rm -rf stage1-*
48107 @endif gcc-bootstrap
48110 .PHONY: stage2-start stage2-end
48112 stage2-start::
48113 @: $(MAKE); $(stage); \
48114 echo stage2 > stage_current; \
48115 echo stage2 > stage_last; \
48116 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
48117 @if bfd
48118 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
48119 mkdir stage2-bfd; \
48120 mv stage2-bfd bfd; \
48121 mv stage1-bfd prev-bfd || test -f stage1-lean
48122 @endif bfd
48123 @if opcodes
48124 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
48125 mkdir stage2-opcodes; \
48126 mv stage2-opcodes opcodes; \
48127 mv stage1-opcodes prev-opcodes || test -f stage1-lean
48128 @endif opcodes
48129 @if binutils
48130 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
48131 mkdir stage2-binutils; \
48132 mv stage2-binutils binutils; \
48133 mv stage1-binutils prev-binutils || test -f stage1-lean
48134 @endif binutils
48135 @if fixincludes
48136 @cd $(HOST_SUBDIR); [ -d stage2-fixincludes ] || \
48137 mkdir stage2-fixincludes; \
48138 mv stage2-fixincludes fixincludes; \
48139 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
48140 @endif fixincludes
48141 @if gas
48142 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
48143 mkdir stage2-gas; \
48144 mv stage2-gas gas; \
48145 mv stage1-gas prev-gas || test -f stage1-lean
48146 @endif gas
48147 @if gcc
48148 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
48149 mkdir stage2-gcc; \
48150 mv stage2-gcc gcc; \
48151 mv stage1-gcc prev-gcc || test -f stage1-lean
48152 @endif gcc
48153 @if gmp
48154 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
48155 mkdir stage2-gmp; \
48156 mv stage2-gmp gmp; \
48157 mv stage1-gmp prev-gmp || test -f stage1-lean
48158 @endif gmp
48159 @if mpfr
48160 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
48161 mkdir stage2-mpfr; \
48162 mv stage2-mpfr mpfr; \
48163 mv stage1-mpfr prev-mpfr || test -f stage1-lean
48164 @endif mpfr
48165 @if mpc
48166 @cd $(HOST_SUBDIR); [ -d stage2-mpc ] || \
48167 mkdir stage2-mpc; \
48168 mv stage2-mpc mpc; \
48169 mv stage1-mpc prev-mpc || test -f stage1-lean
48170 @endif mpc
48171 @if isl
48172 @cd $(HOST_SUBDIR); [ -d stage2-isl ] || \
48173 mkdir stage2-isl; \
48174 mv stage2-isl isl; \
48175 mv stage1-isl prev-isl || test -f stage1-lean
48176 @endif isl
48177 @if libelf
48178 @cd $(HOST_SUBDIR); [ -d stage2-libelf ] || \
48179 mkdir stage2-libelf; \
48180 mv stage2-libelf libelf; \
48181 mv stage1-libelf prev-libelf || test -f stage1-lean
48182 @endif libelf
48183 @if gold
48184 @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \
48185 mkdir stage2-gold; \
48186 mv stage2-gold gold; \
48187 mv stage1-gold prev-gold || test -f stage1-lean
48188 @endif gold
48189 @if intl
48190 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
48191 mkdir stage2-intl; \
48192 mv stage2-intl intl; \
48193 mv stage1-intl prev-intl || test -f stage1-lean
48194 @endif intl
48195 @if ld
48196 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
48197 mkdir stage2-ld; \
48198 mv stage2-ld ld; \
48199 mv stage1-ld prev-ld || test -f stage1-lean
48200 @endif ld
48201 @if libbacktrace
48202 @cd $(HOST_SUBDIR); [ -d stage2-libbacktrace ] || \
48203 mkdir stage2-libbacktrace; \
48204 mv stage2-libbacktrace libbacktrace; \
48205 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
48206 @endif libbacktrace
48207 @if libcpp
48208 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
48209 mkdir stage2-libcpp; \
48210 mv stage2-libcpp libcpp; \
48211 mv stage1-libcpp prev-libcpp || test -f stage1-lean
48212 @endif libcpp
48213 @if libdecnumber
48214 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
48215 mkdir stage2-libdecnumber; \
48216 mv stage2-libdecnumber libdecnumber; \
48217 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
48218 @endif libdecnumber
48219 @if libiberty
48220 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
48221 mkdir stage2-libiberty; \
48222 mv stage2-libiberty libiberty; \
48223 mv stage1-libiberty prev-libiberty || test -f stage1-lean
48224 @endif libiberty
48225 @if libiberty-linker-plugin
48226 @cd $(HOST_SUBDIR); [ -d stage2-libiberty-linker-plugin ] || \
48227 mkdir stage2-libiberty-linker-plugin; \
48228 mv stage2-libiberty-linker-plugin libiberty-linker-plugin; \
48229 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
48230 @endif libiberty-linker-plugin
48231 @if libiconv
48232 @cd $(HOST_SUBDIR); [ -d stage2-libiconv ] || \
48233 mkdir stage2-libiconv; \
48234 mv stage2-libiconv libiconv; \
48235 mv stage1-libiconv prev-libiconv || test -f stage1-lean
48236 @endif libiconv
48237 @if zlib
48238 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
48239 mkdir stage2-zlib; \
48240 mv stage2-zlib zlib; \
48241 mv stage1-zlib prev-zlib || test -f stage1-lean
48242 @endif zlib
48243 @if lto-plugin
48244 @cd $(HOST_SUBDIR); [ -d stage2-lto-plugin ] || \
48245 mkdir stage2-lto-plugin; \
48246 mv stage2-lto-plugin lto-plugin; \
48247 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
48248 @endif lto-plugin
48249 @[ -d stage2-$(TARGET_SUBDIR) ] || \
48250 mkdir stage2-$(TARGET_SUBDIR); \
48251 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
48252 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
48254 stage2-end::
48255 @if bfd
48256 @if test -d $(HOST_SUBDIR)/bfd; then \
48257 cd $(HOST_SUBDIR); mv bfd stage2-bfd; \
48258 mv prev-bfd stage1-bfd; : ; \
48260 @endif bfd
48261 @if opcodes
48262 @if test -d $(HOST_SUBDIR)/opcodes; then \
48263 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes; \
48264 mv prev-opcodes stage1-opcodes; : ; \
48266 @endif opcodes
48267 @if binutils
48268 @if test -d $(HOST_SUBDIR)/binutils; then \
48269 cd $(HOST_SUBDIR); mv binutils stage2-binutils; \
48270 mv prev-binutils stage1-binutils; : ; \
48272 @endif binutils
48273 @if fixincludes
48274 @if test -d $(HOST_SUBDIR)/fixincludes; then \
48275 cd $(HOST_SUBDIR); mv fixincludes stage2-fixincludes; \
48276 mv prev-fixincludes stage1-fixincludes; : ; \
48278 @endif fixincludes
48279 @if gas
48280 @if test -d $(HOST_SUBDIR)/gas; then \
48281 cd $(HOST_SUBDIR); mv gas stage2-gas; \
48282 mv prev-gas stage1-gas; : ; \
48284 @endif gas
48285 @if gcc
48286 @if test -d $(HOST_SUBDIR)/gcc; then \
48287 cd $(HOST_SUBDIR); mv gcc stage2-gcc; \
48288 mv prev-gcc stage1-gcc; : ; \
48290 @endif gcc
48291 @if gmp
48292 @if test -d $(HOST_SUBDIR)/gmp; then \
48293 cd $(HOST_SUBDIR); mv gmp stage2-gmp; \
48294 mv prev-gmp stage1-gmp; : ; \
48296 @endif gmp
48297 @if mpfr
48298 @if test -d $(HOST_SUBDIR)/mpfr; then \
48299 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr; \
48300 mv prev-mpfr stage1-mpfr; : ; \
48302 @endif mpfr
48303 @if mpc
48304 @if test -d $(HOST_SUBDIR)/mpc; then \
48305 cd $(HOST_SUBDIR); mv mpc stage2-mpc; \
48306 mv prev-mpc stage1-mpc; : ; \
48308 @endif mpc
48309 @if isl
48310 @if test -d $(HOST_SUBDIR)/isl; then \
48311 cd $(HOST_SUBDIR); mv isl stage2-isl; \
48312 mv prev-isl stage1-isl; : ; \
48314 @endif isl
48315 @if libelf
48316 @if test -d $(HOST_SUBDIR)/libelf; then \
48317 cd $(HOST_SUBDIR); mv libelf stage2-libelf; \
48318 mv prev-libelf stage1-libelf; : ; \
48320 @endif libelf
48321 @if gold
48322 @if test -d $(HOST_SUBDIR)/gold; then \
48323 cd $(HOST_SUBDIR); mv gold stage2-gold; \
48324 mv prev-gold stage1-gold; : ; \
48326 @endif gold
48327 @if intl
48328 @if test -d $(HOST_SUBDIR)/intl; then \
48329 cd $(HOST_SUBDIR); mv intl stage2-intl; \
48330 mv prev-intl stage1-intl; : ; \
48332 @endif intl
48333 @if ld
48334 @if test -d $(HOST_SUBDIR)/ld; then \
48335 cd $(HOST_SUBDIR); mv ld stage2-ld; \
48336 mv prev-ld stage1-ld; : ; \
48338 @endif ld
48339 @if libbacktrace
48340 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
48341 cd $(HOST_SUBDIR); mv libbacktrace stage2-libbacktrace; \
48342 mv prev-libbacktrace stage1-libbacktrace; : ; \
48344 @endif libbacktrace
48345 @if libcpp
48346 @if test -d $(HOST_SUBDIR)/libcpp; then \
48347 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp; \
48348 mv prev-libcpp stage1-libcpp; : ; \
48350 @endif libcpp
48351 @if libdecnumber
48352 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
48353 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber; \
48354 mv prev-libdecnumber stage1-libdecnumber; : ; \
48356 @endif libdecnumber
48357 @if libiberty
48358 @if test -d $(HOST_SUBDIR)/libiberty; then \
48359 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty; \
48360 mv prev-libiberty stage1-libiberty; : ; \
48362 @endif libiberty
48363 @if libiberty-linker-plugin
48364 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
48365 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage2-libiberty-linker-plugin; \
48366 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin; : ; \
48368 @endif libiberty-linker-plugin
48369 @if libiconv
48370 @if test -d $(HOST_SUBDIR)/libiconv; then \
48371 cd $(HOST_SUBDIR); mv libiconv stage2-libiconv; \
48372 mv prev-libiconv stage1-libiconv; : ; \
48374 @endif libiconv
48375 @if zlib
48376 @if test -d $(HOST_SUBDIR)/zlib; then \
48377 cd $(HOST_SUBDIR); mv zlib stage2-zlib; \
48378 mv prev-zlib stage1-zlib; : ; \
48380 @endif zlib
48381 @if lto-plugin
48382 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
48383 cd $(HOST_SUBDIR); mv lto-plugin stage2-lto-plugin; \
48384 mv prev-lto-plugin stage1-lto-plugin; : ; \
48386 @endif lto-plugin
48387 @if test -d $(TARGET_SUBDIR); then \
48388 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR); \
48389 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \
48391 rm -f stage_current
48393 # Bubble a bug fix through all the stages up to stage 2. They are
48394 # remade, but not reconfigured. The next stage (if any) will not be
48395 # reconfigured either.
48396 .PHONY: stage2-bubble
48397 stage2-bubble:: stage1-bubble
48398 @r=`${PWD_COMMAND}`; export r; \
48399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48400 if test -f stage2-lean || test -f stage1-lean ; then \
48401 echo Skipping rebuild of stage2; \
48402 else \
48403 $(MAKE) stage2-start; \
48404 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
48407 .PHONY: all-stage2 clean-stage2
48408 do-clean: clean-stage2
48410 # FIXME: Will not need to be conditional when toplevel bootstrap is the
48411 # only possibility, but now it conflicts with no-bootstrap rules
48412 @if gcc-bootstrap
48416 .PHONY: bootstrap2 bootstrap2-lean
48417 bootstrap2:
48418 echo stage2 > stage_final
48419 @r=`${PWD_COMMAND}`; export r; \
48420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48421 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
48422 @: $(MAKE); $(unstage)
48423 @r=`${PWD_COMMAND}`; export r; \
48424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48425 TFLAGS="$(STAGE2_TFLAGS)"; \
48426 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
48428 bootstrap2-lean:
48429 echo stage2 > stage_final
48430 @r=`${PWD_COMMAND}`; export r; \
48431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48432 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
48433 @: $(MAKE); $(unstage)
48434 @r=`${PWD_COMMAND}`; export r; \
48435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48436 TFLAGS="$(STAGE2_TFLAGS)"; \
48437 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
48440 # Rules to wipe a stage and all the following ones, also used for cleanstrap
48441 distclean-stage1:: distclean-stage2
48442 .PHONY: distclean-stage2
48443 distclean-stage2::
48444 @: $(MAKE); $(stage)
48445 @test "`cat stage_last`" != stage2 || rm -f stage_last
48446 rm -rf stage2-*
48449 @endif gcc-bootstrap
48452 .PHONY: stage3-start stage3-end
48454 stage3-start::
48455 @: $(MAKE); $(stage); \
48456 echo stage3 > stage_current; \
48457 echo stage3 > stage_last; \
48458 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
48459 @if bfd
48460 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
48461 mkdir stage3-bfd; \
48462 mv stage3-bfd bfd; \
48463 mv stage2-bfd prev-bfd || test -f stage2-lean
48464 @endif bfd
48465 @if opcodes
48466 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
48467 mkdir stage3-opcodes; \
48468 mv stage3-opcodes opcodes; \
48469 mv stage2-opcodes prev-opcodes || test -f stage2-lean
48470 @endif opcodes
48471 @if binutils
48472 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
48473 mkdir stage3-binutils; \
48474 mv stage3-binutils binutils; \
48475 mv stage2-binutils prev-binutils || test -f stage2-lean
48476 @endif binutils
48477 @if fixincludes
48478 @cd $(HOST_SUBDIR); [ -d stage3-fixincludes ] || \
48479 mkdir stage3-fixincludes; \
48480 mv stage3-fixincludes fixincludes; \
48481 mv stage2-fixincludes prev-fixincludes || test -f stage2-lean
48482 @endif fixincludes
48483 @if gas
48484 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
48485 mkdir stage3-gas; \
48486 mv stage3-gas gas; \
48487 mv stage2-gas prev-gas || test -f stage2-lean
48488 @endif gas
48489 @if gcc
48490 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
48491 mkdir stage3-gcc; \
48492 mv stage3-gcc gcc; \
48493 mv stage2-gcc prev-gcc || test -f stage2-lean
48494 @endif gcc
48495 @if gmp
48496 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
48497 mkdir stage3-gmp; \
48498 mv stage3-gmp gmp; \
48499 mv stage2-gmp prev-gmp || test -f stage2-lean
48500 @endif gmp
48501 @if mpfr
48502 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
48503 mkdir stage3-mpfr; \
48504 mv stage3-mpfr mpfr; \
48505 mv stage2-mpfr prev-mpfr || test -f stage2-lean
48506 @endif mpfr
48507 @if mpc
48508 @cd $(HOST_SUBDIR); [ -d stage3-mpc ] || \
48509 mkdir stage3-mpc; \
48510 mv stage3-mpc mpc; \
48511 mv stage2-mpc prev-mpc || test -f stage2-lean
48512 @endif mpc
48513 @if isl
48514 @cd $(HOST_SUBDIR); [ -d stage3-isl ] || \
48515 mkdir stage3-isl; \
48516 mv stage3-isl isl; \
48517 mv stage2-isl prev-isl || test -f stage2-lean
48518 @endif isl
48519 @if libelf
48520 @cd $(HOST_SUBDIR); [ -d stage3-libelf ] || \
48521 mkdir stage3-libelf; \
48522 mv stage3-libelf libelf; \
48523 mv stage2-libelf prev-libelf || test -f stage2-lean
48524 @endif libelf
48525 @if gold
48526 @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \
48527 mkdir stage3-gold; \
48528 mv stage3-gold gold; \
48529 mv stage2-gold prev-gold || test -f stage2-lean
48530 @endif gold
48531 @if intl
48532 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
48533 mkdir stage3-intl; \
48534 mv stage3-intl intl; \
48535 mv stage2-intl prev-intl || test -f stage2-lean
48536 @endif intl
48537 @if ld
48538 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
48539 mkdir stage3-ld; \
48540 mv stage3-ld ld; \
48541 mv stage2-ld prev-ld || test -f stage2-lean
48542 @endif ld
48543 @if libbacktrace
48544 @cd $(HOST_SUBDIR); [ -d stage3-libbacktrace ] || \
48545 mkdir stage3-libbacktrace; \
48546 mv stage3-libbacktrace libbacktrace; \
48547 mv stage2-libbacktrace prev-libbacktrace || test -f stage2-lean
48548 @endif libbacktrace
48549 @if libcpp
48550 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
48551 mkdir stage3-libcpp; \
48552 mv stage3-libcpp libcpp; \
48553 mv stage2-libcpp prev-libcpp || test -f stage2-lean
48554 @endif libcpp
48555 @if libdecnumber
48556 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
48557 mkdir stage3-libdecnumber; \
48558 mv stage3-libdecnumber libdecnumber; \
48559 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
48560 @endif libdecnumber
48561 @if libiberty
48562 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
48563 mkdir stage3-libiberty; \
48564 mv stage3-libiberty libiberty; \
48565 mv stage2-libiberty prev-libiberty || test -f stage2-lean
48566 @endif libiberty
48567 @if libiberty-linker-plugin
48568 @cd $(HOST_SUBDIR); [ -d stage3-libiberty-linker-plugin ] || \
48569 mkdir stage3-libiberty-linker-plugin; \
48570 mv stage3-libiberty-linker-plugin libiberty-linker-plugin; \
48571 mv stage2-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage2-lean
48572 @endif libiberty-linker-plugin
48573 @if libiconv
48574 @cd $(HOST_SUBDIR); [ -d stage3-libiconv ] || \
48575 mkdir stage3-libiconv; \
48576 mv stage3-libiconv libiconv; \
48577 mv stage2-libiconv prev-libiconv || test -f stage2-lean
48578 @endif libiconv
48579 @if zlib
48580 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
48581 mkdir stage3-zlib; \
48582 mv stage3-zlib zlib; \
48583 mv stage2-zlib prev-zlib || test -f stage2-lean
48584 @endif zlib
48585 @if lto-plugin
48586 @cd $(HOST_SUBDIR); [ -d stage3-lto-plugin ] || \
48587 mkdir stage3-lto-plugin; \
48588 mv stage3-lto-plugin lto-plugin; \
48589 mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean
48590 @endif lto-plugin
48591 @[ -d stage3-$(TARGET_SUBDIR) ] || \
48592 mkdir stage3-$(TARGET_SUBDIR); \
48593 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
48594 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
48596 stage3-end::
48597 @if bfd
48598 @if test -d $(HOST_SUBDIR)/bfd; then \
48599 cd $(HOST_SUBDIR); mv bfd stage3-bfd; \
48600 mv prev-bfd stage2-bfd; : ; \
48602 @endif bfd
48603 @if opcodes
48604 @if test -d $(HOST_SUBDIR)/opcodes; then \
48605 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes; \
48606 mv prev-opcodes stage2-opcodes; : ; \
48608 @endif opcodes
48609 @if binutils
48610 @if test -d $(HOST_SUBDIR)/binutils; then \
48611 cd $(HOST_SUBDIR); mv binutils stage3-binutils; \
48612 mv prev-binutils stage2-binutils; : ; \
48614 @endif binutils
48615 @if fixincludes
48616 @if test -d $(HOST_SUBDIR)/fixincludes; then \
48617 cd $(HOST_SUBDIR); mv fixincludes stage3-fixincludes; \
48618 mv prev-fixincludes stage2-fixincludes; : ; \
48620 @endif fixincludes
48621 @if gas
48622 @if test -d $(HOST_SUBDIR)/gas; then \
48623 cd $(HOST_SUBDIR); mv gas stage3-gas; \
48624 mv prev-gas stage2-gas; : ; \
48626 @endif gas
48627 @if gcc
48628 @if test -d $(HOST_SUBDIR)/gcc; then \
48629 cd $(HOST_SUBDIR); mv gcc stage3-gcc; \
48630 mv prev-gcc stage2-gcc; : ; \
48632 @endif gcc
48633 @if gmp
48634 @if test -d $(HOST_SUBDIR)/gmp; then \
48635 cd $(HOST_SUBDIR); mv gmp stage3-gmp; \
48636 mv prev-gmp stage2-gmp; : ; \
48638 @endif gmp
48639 @if mpfr
48640 @if test -d $(HOST_SUBDIR)/mpfr; then \
48641 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr; \
48642 mv prev-mpfr stage2-mpfr; : ; \
48644 @endif mpfr
48645 @if mpc
48646 @if test -d $(HOST_SUBDIR)/mpc; then \
48647 cd $(HOST_SUBDIR); mv mpc stage3-mpc; \
48648 mv prev-mpc stage2-mpc; : ; \
48650 @endif mpc
48651 @if isl
48652 @if test -d $(HOST_SUBDIR)/isl; then \
48653 cd $(HOST_SUBDIR); mv isl stage3-isl; \
48654 mv prev-isl stage2-isl; : ; \
48656 @endif isl
48657 @if libelf
48658 @if test -d $(HOST_SUBDIR)/libelf; then \
48659 cd $(HOST_SUBDIR); mv libelf stage3-libelf; \
48660 mv prev-libelf stage2-libelf; : ; \
48662 @endif libelf
48663 @if gold
48664 @if test -d $(HOST_SUBDIR)/gold; then \
48665 cd $(HOST_SUBDIR); mv gold stage3-gold; \
48666 mv prev-gold stage2-gold; : ; \
48668 @endif gold
48669 @if intl
48670 @if test -d $(HOST_SUBDIR)/intl; then \
48671 cd $(HOST_SUBDIR); mv intl stage3-intl; \
48672 mv prev-intl stage2-intl; : ; \
48674 @endif intl
48675 @if ld
48676 @if test -d $(HOST_SUBDIR)/ld; then \
48677 cd $(HOST_SUBDIR); mv ld stage3-ld; \
48678 mv prev-ld stage2-ld; : ; \
48680 @endif ld
48681 @if libbacktrace
48682 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
48683 cd $(HOST_SUBDIR); mv libbacktrace stage3-libbacktrace; \
48684 mv prev-libbacktrace stage2-libbacktrace; : ; \
48686 @endif libbacktrace
48687 @if libcpp
48688 @if test -d $(HOST_SUBDIR)/libcpp; then \
48689 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp; \
48690 mv prev-libcpp stage2-libcpp; : ; \
48692 @endif libcpp
48693 @if libdecnumber
48694 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
48695 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber; \
48696 mv prev-libdecnumber stage2-libdecnumber; : ; \
48698 @endif libdecnumber
48699 @if libiberty
48700 @if test -d $(HOST_SUBDIR)/libiberty; then \
48701 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty; \
48702 mv prev-libiberty stage2-libiberty; : ; \
48704 @endif libiberty
48705 @if libiberty-linker-plugin
48706 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
48707 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage3-libiberty-linker-plugin; \
48708 mv prev-libiberty-linker-plugin stage2-libiberty-linker-plugin; : ; \
48710 @endif libiberty-linker-plugin
48711 @if libiconv
48712 @if test -d $(HOST_SUBDIR)/libiconv; then \
48713 cd $(HOST_SUBDIR); mv libiconv stage3-libiconv; \
48714 mv prev-libiconv stage2-libiconv; : ; \
48716 @endif libiconv
48717 @if zlib
48718 @if test -d $(HOST_SUBDIR)/zlib; then \
48719 cd $(HOST_SUBDIR); mv zlib stage3-zlib; \
48720 mv prev-zlib stage2-zlib; : ; \
48722 @endif zlib
48723 @if lto-plugin
48724 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
48725 cd $(HOST_SUBDIR); mv lto-plugin stage3-lto-plugin; \
48726 mv prev-lto-plugin stage2-lto-plugin; : ; \
48728 @endif lto-plugin
48729 @if test -d $(TARGET_SUBDIR); then \
48730 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR); \
48731 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR); : ; \
48733 rm -f stage_current
48735 # Bubble a bug fix through all the stages up to stage 3. They are
48736 # remade, but not reconfigured. The next stage (if any) will not be
48737 # reconfigured either.
48738 .PHONY: stage3-bubble
48739 stage3-bubble:: stage2-bubble
48740 @r=`${PWD_COMMAND}`; export r; \
48741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48742 if test -f stage3-lean || test -f stage2-lean ; then \
48743 echo Skipping rebuild of stage3; \
48744 else \
48745 $(MAKE) stage3-start; \
48746 if $(LEAN); then \
48747 rm -rf stage1-*; \
48748 $(STAMP) stage1-lean; \
48749 fi; \
48750 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
48752 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
48754 .PHONY: all-stage3 clean-stage3
48755 do-clean: clean-stage3
48757 # FIXME: Will not need to be conditional when toplevel bootstrap is the
48758 # only possibility, but now it conflicts with no-bootstrap rules
48759 @if gcc-bootstrap
48761 compare:
48762 @r=`${PWD_COMMAND}`; export r; \
48763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48764 if test -f stage2-lean; then \
48765 echo Cannot compare object files as stage 2 was deleted.; \
48766 exit 0; \
48767 fi; \
48768 : $(MAKE); $(stage); \
48769 rm -f .bad_compare; \
48770 echo Comparing stages 2 and 3; \
48771 sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \
48772 files=`find stage3-* -name "*$(objext)" -print | \
48773 sed -n s,^stage$$sed-,,p`; \
48774 for file in $${files}; do \
48775 f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \
48776 if test ! -f $$f1; then continue; fi; \
48777 $(do-compare) > /dev/null 2>&1; \
48778 if test $$? -eq 1; then \
48779 case $$file in \
48780 @compare_exclusions@) \
48781 echo warning: $$file differs ;; \
48782 *) \
48783 echo $$file differs >> .bad_compare ;; \
48784 esac; \
48785 fi; \
48786 done; \
48787 if [ -f .bad_compare ]; then \
48788 echo "Bootstrap comparison failure!"; \
48789 cat .bad_compare; \
48790 exit 1; \
48791 else \
48792 echo Comparison successful.; \
48793 fi; \
48794 $(STAMP) compare
48795 if $(LEAN); then \
48796 rm -rf stage2-*; \
48797 $(STAMP) stage2-lean; \
48802 .PHONY: bootstrap bootstrap-lean
48803 bootstrap:
48804 echo stage3 > stage_final
48805 @r=`${PWD_COMMAND}`; export r; \
48806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48807 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
48808 @: $(MAKE); $(unstage)
48809 @r=`${PWD_COMMAND}`; export r; \
48810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48811 TFLAGS="$(STAGE3_TFLAGS)"; \
48812 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
48814 bootstrap-lean:
48815 echo stage3 > stage_final
48816 @r=`${PWD_COMMAND}`; export r; \
48817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48818 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
48819 @: $(MAKE); $(unstage)
48820 @r=`${PWD_COMMAND}`; export r; \
48821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48822 TFLAGS="$(STAGE3_TFLAGS)"; \
48823 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
48826 # Rules to wipe a stage and all the following ones, also used for cleanstrap
48827 distclean-stage2:: distclean-stage3
48828 .PHONY: distclean-stage3
48829 distclean-stage3::
48830 @: $(MAKE); $(stage)
48831 @test "`cat stage_last`" != stage3 || rm -f stage_last
48832 rm -rf stage3-* compare
48835 .PHONY: cleanstrap
48836 cleanstrap: do-distclean local-clean
48837 echo stage3 > stage_final
48838 @r=`${PWD_COMMAND}`; export r; \
48839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48840 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
48841 @: $(MAKE); $(unstage)
48842 @r=`${PWD_COMMAND}`; export r; \
48843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48844 TFLAGS="$(STAGE3_TFLAGS)"; \
48845 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
48847 @endif gcc-bootstrap
48850 .PHONY: stage4-start stage4-end
48852 stage4-start::
48853 @: $(MAKE); $(stage); \
48854 echo stage4 > stage_current; \
48855 echo stage4 > stage_last; \
48856 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
48857 @if bfd
48858 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
48859 mkdir stage4-bfd; \
48860 mv stage4-bfd bfd; \
48861 mv stage3-bfd prev-bfd || test -f stage3-lean
48862 @endif bfd
48863 @if opcodes
48864 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
48865 mkdir stage4-opcodes; \
48866 mv stage4-opcodes opcodes; \
48867 mv stage3-opcodes prev-opcodes || test -f stage3-lean
48868 @endif opcodes
48869 @if binutils
48870 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
48871 mkdir stage4-binutils; \
48872 mv stage4-binutils binutils; \
48873 mv stage3-binutils prev-binutils || test -f stage3-lean
48874 @endif binutils
48875 @if fixincludes
48876 @cd $(HOST_SUBDIR); [ -d stage4-fixincludes ] || \
48877 mkdir stage4-fixincludes; \
48878 mv stage4-fixincludes fixincludes; \
48879 mv stage3-fixincludes prev-fixincludes || test -f stage3-lean
48880 @endif fixincludes
48881 @if gas
48882 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
48883 mkdir stage4-gas; \
48884 mv stage4-gas gas; \
48885 mv stage3-gas prev-gas || test -f stage3-lean
48886 @endif gas
48887 @if gcc
48888 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
48889 mkdir stage4-gcc; \
48890 mv stage4-gcc gcc; \
48891 mv stage3-gcc prev-gcc || test -f stage3-lean
48892 @endif gcc
48893 @if gmp
48894 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
48895 mkdir stage4-gmp; \
48896 mv stage4-gmp gmp; \
48897 mv stage3-gmp prev-gmp || test -f stage3-lean
48898 @endif gmp
48899 @if mpfr
48900 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
48901 mkdir stage4-mpfr; \
48902 mv stage4-mpfr mpfr; \
48903 mv stage3-mpfr prev-mpfr || test -f stage3-lean
48904 @endif mpfr
48905 @if mpc
48906 @cd $(HOST_SUBDIR); [ -d stage4-mpc ] || \
48907 mkdir stage4-mpc; \
48908 mv stage4-mpc mpc; \
48909 mv stage3-mpc prev-mpc || test -f stage3-lean
48910 @endif mpc
48911 @if isl
48912 @cd $(HOST_SUBDIR); [ -d stage4-isl ] || \
48913 mkdir stage4-isl; \
48914 mv stage4-isl isl; \
48915 mv stage3-isl prev-isl || test -f stage3-lean
48916 @endif isl
48917 @if libelf
48918 @cd $(HOST_SUBDIR); [ -d stage4-libelf ] || \
48919 mkdir stage4-libelf; \
48920 mv stage4-libelf libelf; \
48921 mv stage3-libelf prev-libelf || test -f stage3-lean
48922 @endif libelf
48923 @if gold
48924 @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \
48925 mkdir stage4-gold; \
48926 mv stage4-gold gold; \
48927 mv stage3-gold prev-gold || test -f stage3-lean
48928 @endif gold
48929 @if intl
48930 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
48931 mkdir stage4-intl; \
48932 mv stage4-intl intl; \
48933 mv stage3-intl prev-intl || test -f stage3-lean
48934 @endif intl
48935 @if ld
48936 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
48937 mkdir stage4-ld; \
48938 mv stage4-ld ld; \
48939 mv stage3-ld prev-ld || test -f stage3-lean
48940 @endif ld
48941 @if libbacktrace
48942 @cd $(HOST_SUBDIR); [ -d stage4-libbacktrace ] || \
48943 mkdir stage4-libbacktrace; \
48944 mv stage4-libbacktrace libbacktrace; \
48945 mv stage3-libbacktrace prev-libbacktrace || test -f stage3-lean
48946 @endif libbacktrace
48947 @if libcpp
48948 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
48949 mkdir stage4-libcpp; \
48950 mv stage4-libcpp libcpp; \
48951 mv stage3-libcpp prev-libcpp || test -f stage3-lean
48952 @endif libcpp
48953 @if libdecnumber
48954 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
48955 mkdir stage4-libdecnumber; \
48956 mv stage4-libdecnumber libdecnumber; \
48957 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
48958 @endif libdecnumber
48959 @if libiberty
48960 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
48961 mkdir stage4-libiberty; \
48962 mv stage4-libiberty libiberty; \
48963 mv stage3-libiberty prev-libiberty || test -f stage3-lean
48964 @endif libiberty
48965 @if libiberty-linker-plugin
48966 @cd $(HOST_SUBDIR); [ -d stage4-libiberty-linker-plugin ] || \
48967 mkdir stage4-libiberty-linker-plugin; \
48968 mv stage4-libiberty-linker-plugin libiberty-linker-plugin; \
48969 mv stage3-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage3-lean
48970 @endif libiberty-linker-plugin
48971 @if libiconv
48972 @cd $(HOST_SUBDIR); [ -d stage4-libiconv ] || \
48973 mkdir stage4-libiconv; \
48974 mv stage4-libiconv libiconv; \
48975 mv stage3-libiconv prev-libiconv || test -f stage3-lean
48976 @endif libiconv
48977 @if zlib
48978 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
48979 mkdir stage4-zlib; \
48980 mv stage4-zlib zlib; \
48981 mv stage3-zlib prev-zlib || test -f stage3-lean
48982 @endif zlib
48983 @if lto-plugin
48984 @cd $(HOST_SUBDIR); [ -d stage4-lto-plugin ] || \
48985 mkdir stage4-lto-plugin; \
48986 mv stage4-lto-plugin lto-plugin; \
48987 mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean
48988 @endif lto-plugin
48989 @[ -d stage4-$(TARGET_SUBDIR) ] || \
48990 mkdir stage4-$(TARGET_SUBDIR); \
48991 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
48992 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
48994 stage4-end::
48995 @if bfd
48996 @if test -d $(HOST_SUBDIR)/bfd; then \
48997 cd $(HOST_SUBDIR); mv bfd stage4-bfd; \
48998 mv prev-bfd stage3-bfd; : ; \
49000 @endif bfd
49001 @if opcodes
49002 @if test -d $(HOST_SUBDIR)/opcodes; then \
49003 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes; \
49004 mv prev-opcodes stage3-opcodes; : ; \
49006 @endif opcodes
49007 @if binutils
49008 @if test -d $(HOST_SUBDIR)/binutils; then \
49009 cd $(HOST_SUBDIR); mv binutils stage4-binutils; \
49010 mv prev-binutils stage3-binutils; : ; \
49012 @endif binutils
49013 @if fixincludes
49014 @if test -d $(HOST_SUBDIR)/fixincludes; then \
49015 cd $(HOST_SUBDIR); mv fixincludes stage4-fixincludes; \
49016 mv prev-fixincludes stage3-fixincludes; : ; \
49018 @endif fixincludes
49019 @if gas
49020 @if test -d $(HOST_SUBDIR)/gas; then \
49021 cd $(HOST_SUBDIR); mv gas stage4-gas; \
49022 mv prev-gas stage3-gas; : ; \
49024 @endif gas
49025 @if gcc
49026 @if test -d $(HOST_SUBDIR)/gcc; then \
49027 cd $(HOST_SUBDIR); mv gcc stage4-gcc; \
49028 mv prev-gcc stage3-gcc; : ; \
49030 @endif gcc
49031 @if gmp
49032 @if test -d $(HOST_SUBDIR)/gmp; then \
49033 cd $(HOST_SUBDIR); mv gmp stage4-gmp; \
49034 mv prev-gmp stage3-gmp; : ; \
49036 @endif gmp
49037 @if mpfr
49038 @if test -d $(HOST_SUBDIR)/mpfr; then \
49039 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr; \
49040 mv prev-mpfr stage3-mpfr; : ; \
49042 @endif mpfr
49043 @if mpc
49044 @if test -d $(HOST_SUBDIR)/mpc; then \
49045 cd $(HOST_SUBDIR); mv mpc stage4-mpc; \
49046 mv prev-mpc stage3-mpc; : ; \
49048 @endif mpc
49049 @if isl
49050 @if test -d $(HOST_SUBDIR)/isl; then \
49051 cd $(HOST_SUBDIR); mv isl stage4-isl; \
49052 mv prev-isl stage3-isl; : ; \
49054 @endif isl
49055 @if libelf
49056 @if test -d $(HOST_SUBDIR)/libelf; then \
49057 cd $(HOST_SUBDIR); mv libelf stage4-libelf; \
49058 mv prev-libelf stage3-libelf; : ; \
49060 @endif libelf
49061 @if gold
49062 @if test -d $(HOST_SUBDIR)/gold; then \
49063 cd $(HOST_SUBDIR); mv gold stage4-gold; \
49064 mv prev-gold stage3-gold; : ; \
49066 @endif gold
49067 @if intl
49068 @if test -d $(HOST_SUBDIR)/intl; then \
49069 cd $(HOST_SUBDIR); mv intl stage4-intl; \
49070 mv prev-intl stage3-intl; : ; \
49072 @endif intl
49073 @if ld
49074 @if test -d $(HOST_SUBDIR)/ld; then \
49075 cd $(HOST_SUBDIR); mv ld stage4-ld; \
49076 mv prev-ld stage3-ld; : ; \
49078 @endif ld
49079 @if libbacktrace
49080 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
49081 cd $(HOST_SUBDIR); mv libbacktrace stage4-libbacktrace; \
49082 mv prev-libbacktrace stage3-libbacktrace; : ; \
49084 @endif libbacktrace
49085 @if libcpp
49086 @if test -d $(HOST_SUBDIR)/libcpp; then \
49087 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp; \
49088 mv prev-libcpp stage3-libcpp; : ; \
49090 @endif libcpp
49091 @if libdecnumber
49092 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
49093 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber; \
49094 mv prev-libdecnumber stage3-libdecnumber; : ; \
49096 @endif libdecnumber
49097 @if libiberty
49098 @if test -d $(HOST_SUBDIR)/libiberty; then \
49099 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty; \
49100 mv prev-libiberty stage3-libiberty; : ; \
49102 @endif libiberty
49103 @if libiberty-linker-plugin
49104 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
49105 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage4-libiberty-linker-plugin; \
49106 mv prev-libiberty-linker-plugin stage3-libiberty-linker-plugin; : ; \
49108 @endif libiberty-linker-plugin
49109 @if libiconv
49110 @if test -d $(HOST_SUBDIR)/libiconv; then \
49111 cd $(HOST_SUBDIR); mv libiconv stage4-libiconv; \
49112 mv prev-libiconv stage3-libiconv; : ; \
49114 @endif libiconv
49115 @if zlib
49116 @if test -d $(HOST_SUBDIR)/zlib; then \
49117 cd $(HOST_SUBDIR); mv zlib stage4-zlib; \
49118 mv prev-zlib stage3-zlib; : ; \
49120 @endif zlib
49121 @if lto-plugin
49122 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
49123 cd $(HOST_SUBDIR); mv lto-plugin stage4-lto-plugin; \
49124 mv prev-lto-plugin stage3-lto-plugin; : ; \
49126 @endif lto-plugin
49127 @if test -d $(TARGET_SUBDIR); then \
49128 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR); \
49129 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR); : ; \
49131 rm -f stage_current
49133 # Bubble a bug fix through all the stages up to stage 4. They are
49134 # remade, but not reconfigured. The next stage (if any) will not be
49135 # reconfigured either.
49136 .PHONY: stage4-bubble
49137 stage4-bubble:: stage3-bubble
49138 @r=`${PWD_COMMAND}`; export r; \
49139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49140 if test -f stage4-lean || test -f stage3-lean ; then \
49141 echo Skipping rebuild of stage4; \
49142 else \
49143 $(MAKE) stage4-start; \
49144 if $(LEAN); then \
49145 rm -rf stage2-*; \
49146 $(STAMP) stage2-lean; \
49147 fi; \
49148 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
49150 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
49152 .PHONY: all-stage4 clean-stage4
49153 do-clean: clean-stage4
49155 # FIXME: Will not need to be conditional when toplevel bootstrap is the
49156 # only possibility, but now it conflicts with no-bootstrap rules
49157 @if gcc-bootstrap
49159 compare3:
49160 @r=`${PWD_COMMAND}`; export r; \
49161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49162 if test -f stage3-lean; then \
49163 echo Cannot compare object files as stage 3 was deleted.; \
49164 exit 0; \
49165 fi; \
49166 : $(MAKE); $(stage); \
49167 rm -f .bad_compare; \
49168 echo Comparing stages 3 and 4; \
49169 sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \
49170 files=`find stage4-* -name "*$(objext)" -print | \
49171 sed -n s,^stage$$sed-,,p`; \
49172 for file in $${files}; do \
49173 f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \
49174 if test ! -f $$f1; then continue; fi; \
49175 $(do-compare3) > /dev/null 2>&1; \
49176 if test $$? -eq 1; then \
49177 case $$file in \
49178 @compare_exclusions@) \
49179 echo warning: $$file differs ;; \
49180 *) \
49181 echo $$file differs >> .bad_compare ;; \
49182 esac; \
49183 fi; \
49184 done; \
49185 if [ -f .bad_compare ]; then \
49186 echo "Bootstrap comparison failure!"; \
49187 cat .bad_compare; \
49188 exit 1; \
49189 else \
49190 echo Comparison successful.; \
49191 fi; \
49192 $(STAMP) compare3
49193 if $(LEAN); then \
49194 rm -rf stage3-*; \
49195 $(STAMP) stage3-lean; \
49200 .PHONY: bootstrap4 bootstrap4-lean
49201 bootstrap4:
49202 echo stage4 > stage_final
49203 @r=`${PWD_COMMAND}`; export r; \
49204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49205 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
49206 @: $(MAKE); $(unstage)
49207 @r=`${PWD_COMMAND}`; export r; \
49208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49209 TFLAGS="$(STAGE4_TFLAGS)"; \
49210 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
49212 bootstrap4-lean:
49213 echo stage4 > stage_final
49214 @r=`${PWD_COMMAND}`; export r; \
49215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49216 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
49217 @: $(MAKE); $(unstage)
49218 @r=`${PWD_COMMAND}`; export r; \
49219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49220 TFLAGS="$(STAGE4_TFLAGS)"; \
49221 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
49224 # Rules to wipe a stage and all the following ones, also used for cleanstrap
49225 distclean-stage3:: distclean-stage4
49226 .PHONY: distclean-stage4
49227 distclean-stage4::
49228 @: $(MAKE); $(stage)
49229 @test "`cat stage_last`" != stage4 || rm -f stage_last
49230 rm -rf stage4-* compare3
49233 @endif gcc-bootstrap
49236 .PHONY: stageprofile-start stageprofile-end
49238 stageprofile-start::
49239 @: $(MAKE); $(stage); \
49240 echo stageprofile > stage_current; \
49241 echo stageprofile > stage_last; \
49242 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
49243 @if bfd
49244 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
49245 mkdir stageprofile-bfd; \
49246 mv stageprofile-bfd bfd; \
49247 mv stage1-bfd prev-bfd || test -f stage1-lean
49248 @endif bfd
49249 @if opcodes
49250 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
49251 mkdir stageprofile-opcodes; \
49252 mv stageprofile-opcodes opcodes; \
49253 mv stage1-opcodes prev-opcodes || test -f stage1-lean
49254 @endif opcodes
49255 @if binutils
49256 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
49257 mkdir stageprofile-binutils; \
49258 mv stageprofile-binutils binutils; \
49259 mv stage1-binutils prev-binutils || test -f stage1-lean
49260 @endif binutils
49261 @if fixincludes
49262 @cd $(HOST_SUBDIR); [ -d stageprofile-fixincludes ] || \
49263 mkdir stageprofile-fixincludes; \
49264 mv stageprofile-fixincludes fixincludes; \
49265 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
49266 @endif fixincludes
49267 @if gas
49268 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
49269 mkdir stageprofile-gas; \
49270 mv stageprofile-gas gas; \
49271 mv stage1-gas prev-gas || test -f stage1-lean
49272 @endif gas
49273 @if gcc
49274 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
49275 mkdir stageprofile-gcc; \
49276 mv stageprofile-gcc gcc; \
49277 mv stage1-gcc prev-gcc || test -f stage1-lean
49278 @endif gcc
49279 @if gmp
49280 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
49281 mkdir stageprofile-gmp; \
49282 mv stageprofile-gmp gmp; \
49283 mv stage1-gmp prev-gmp || test -f stage1-lean
49284 @endif gmp
49285 @if mpfr
49286 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
49287 mkdir stageprofile-mpfr; \
49288 mv stageprofile-mpfr mpfr; \
49289 mv stage1-mpfr prev-mpfr || test -f stage1-lean
49290 @endif mpfr
49291 @if mpc
49292 @cd $(HOST_SUBDIR); [ -d stageprofile-mpc ] || \
49293 mkdir stageprofile-mpc; \
49294 mv stageprofile-mpc mpc; \
49295 mv stage1-mpc prev-mpc || test -f stage1-lean
49296 @endif mpc
49297 @if isl
49298 @cd $(HOST_SUBDIR); [ -d stageprofile-isl ] || \
49299 mkdir stageprofile-isl; \
49300 mv stageprofile-isl isl; \
49301 mv stage1-isl prev-isl || test -f stage1-lean
49302 @endif isl
49303 @if libelf
49304 @cd $(HOST_SUBDIR); [ -d stageprofile-libelf ] || \
49305 mkdir stageprofile-libelf; \
49306 mv stageprofile-libelf libelf; \
49307 mv stage1-libelf prev-libelf || test -f stage1-lean
49308 @endif libelf
49309 @if gold
49310 @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \
49311 mkdir stageprofile-gold; \
49312 mv stageprofile-gold gold; \
49313 mv stage1-gold prev-gold || test -f stage1-lean
49314 @endif gold
49315 @if intl
49316 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
49317 mkdir stageprofile-intl; \
49318 mv stageprofile-intl intl; \
49319 mv stage1-intl prev-intl || test -f stage1-lean
49320 @endif intl
49321 @if ld
49322 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
49323 mkdir stageprofile-ld; \
49324 mv stageprofile-ld ld; \
49325 mv stage1-ld prev-ld || test -f stage1-lean
49326 @endif ld
49327 @if libbacktrace
49328 @cd $(HOST_SUBDIR); [ -d stageprofile-libbacktrace ] || \
49329 mkdir stageprofile-libbacktrace; \
49330 mv stageprofile-libbacktrace libbacktrace; \
49331 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
49332 @endif libbacktrace
49333 @if libcpp
49334 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
49335 mkdir stageprofile-libcpp; \
49336 mv stageprofile-libcpp libcpp; \
49337 mv stage1-libcpp prev-libcpp || test -f stage1-lean
49338 @endif libcpp
49339 @if libdecnumber
49340 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
49341 mkdir stageprofile-libdecnumber; \
49342 mv stageprofile-libdecnumber libdecnumber; \
49343 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
49344 @endif libdecnumber
49345 @if libiberty
49346 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
49347 mkdir stageprofile-libiberty; \
49348 mv stageprofile-libiberty libiberty; \
49349 mv stage1-libiberty prev-libiberty || test -f stage1-lean
49350 @endif libiberty
49351 @if libiberty-linker-plugin
49352 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty-linker-plugin ] || \
49353 mkdir stageprofile-libiberty-linker-plugin; \
49354 mv stageprofile-libiberty-linker-plugin libiberty-linker-plugin; \
49355 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
49356 @endif libiberty-linker-plugin
49357 @if libiconv
49358 @cd $(HOST_SUBDIR); [ -d stageprofile-libiconv ] || \
49359 mkdir stageprofile-libiconv; \
49360 mv stageprofile-libiconv libiconv; \
49361 mv stage1-libiconv prev-libiconv || test -f stage1-lean
49362 @endif libiconv
49363 @if zlib
49364 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
49365 mkdir stageprofile-zlib; \
49366 mv stageprofile-zlib zlib; \
49367 mv stage1-zlib prev-zlib || test -f stage1-lean
49368 @endif zlib
49369 @if lto-plugin
49370 @cd $(HOST_SUBDIR); [ -d stageprofile-lto-plugin ] || \
49371 mkdir stageprofile-lto-plugin; \
49372 mv stageprofile-lto-plugin lto-plugin; \
49373 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
49374 @endif lto-plugin
49375 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
49376 mkdir stageprofile-$(TARGET_SUBDIR); \
49377 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
49378 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
49380 stageprofile-end::
49381 @if bfd
49382 @if test -d $(HOST_SUBDIR)/bfd; then \
49383 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd; \
49384 mv prev-bfd stage1-bfd; : ; \
49386 @endif bfd
49387 @if opcodes
49388 @if test -d $(HOST_SUBDIR)/opcodes; then \
49389 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes; \
49390 mv prev-opcodes stage1-opcodes; : ; \
49392 @endif opcodes
49393 @if binutils
49394 @if test -d $(HOST_SUBDIR)/binutils; then \
49395 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils; \
49396 mv prev-binutils stage1-binutils; : ; \
49398 @endif binutils
49399 @if fixincludes
49400 @if test -d $(HOST_SUBDIR)/fixincludes; then \
49401 cd $(HOST_SUBDIR); mv fixincludes stageprofile-fixincludes; \
49402 mv prev-fixincludes stage1-fixincludes; : ; \
49404 @endif fixincludes
49405 @if gas
49406 @if test -d $(HOST_SUBDIR)/gas; then \
49407 cd $(HOST_SUBDIR); mv gas stageprofile-gas; \
49408 mv prev-gas stage1-gas; : ; \
49410 @endif gas
49411 @if gcc
49412 @if test -d $(HOST_SUBDIR)/gcc; then \
49413 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc; \
49414 mv prev-gcc stage1-gcc; : ; \
49416 @endif gcc
49417 @if gmp
49418 @if test -d $(HOST_SUBDIR)/gmp; then \
49419 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp; \
49420 mv prev-gmp stage1-gmp; : ; \
49422 @endif gmp
49423 @if mpfr
49424 @if test -d $(HOST_SUBDIR)/mpfr; then \
49425 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr; \
49426 mv prev-mpfr stage1-mpfr; : ; \
49428 @endif mpfr
49429 @if mpc
49430 @if test -d $(HOST_SUBDIR)/mpc; then \
49431 cd $(HOST_SUBDIR); mv mpc stageprofile-mpc; \
49432 mv prev-mpc stage1-mpc; : ; \
49434 @endif mpc
49435 @if isl
49436 @if test -d $(HOST_SUBDIR)/isl; then \
49437 cd $(HOST_SUBDIR); mv isl stageprofile-isl; \
49438 mv prev-isl stage1-isl; : ; \
49440 @endif isl
49441 @if libelf
49442 @if test -d $(HOST_SUBDIR)/libelf; then \
49443 cd $(HOST_SUBDIR); mv libelf stageprofile-libelf; \
49444 mv prev-libelf stage1-libelf; : ; \
49446 @endif libelf
49447 @if gold
49448 @if test -d $(HOST_SUBDIR)/gold; then \
49449 cd $(HOST_SUBDIR); mv gold stageprofile-gold; \
49450 mv prev-gold stage1-gold; : ; \
49452 @endif gold
49453 @if intl
49454 @if test -d $(HOST_SUBDIR)/intl; then \
49455 cd $(HOST_SUBDIR); mv intl stageprofile-intl; \
49456 mv prev-intl stage1-intl; : ; \
49458 @endif intl
49459 @if ld
49460 @if test -d $(HOST_SUBDIR)/ld; then \
49461 cd $(HOST_SUBDIR); mv ld stageprofile-ld; \
49462 mv prev-ld stage1-ld; : ; \
49464 @endif ld
49465 @if libbacktrace
49466 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
49467 cd $(HOST_SUBDIR); mv libbacktrace stageprofile-libbacktrace; \
49468 mv prev-libbacktrace stage1-libbacktrace; : ; \
49470 @endif libbacktrace
49471 @if libcpp
49472 @if test -d $(HOST_SUBDIR)/libcpp; then \
49473 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp; \
49474 mv prev-libcpp stage1-libcpp; : ; \
49476 @endif libcpp
49477 @if libdecnumber
49478 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
49479 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber; \
49480 mv prev-libdecnumber stage1-libdecnumber; : ; \
49482 @endif libdecnumber
49483 @if libiberty
49484 @if test -d $(HOST_SUBDIR)/libiberty; then \
49485 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty; \
49486 mv prev-libiberty stage1-libiberty; : ; \
49488 @endif libiberty
49489 @if libiberty-linker-plugin
49490 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
49491 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageprofile-libiberty-linker-plugin; \
49492 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin; : ; \
49494 @endif libiberty-linker-plugin
49495 @if libiconv
49496 @if test -d $(HOST_SUBDIR)/libiconv; then \
49497 cd $(HOST_SUBDIR); mv libiconv stageprofile-libiconv; \
49498 mv prev-libiconv stage1-libiconv; : ; \
49500 @endif libiconv
49501 @if zlib
49502 @if test -d $(HOST_SUBDIR)/zlib; then \
49503 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib; \
49504 mv prev-zlib stage1-zlib; : ; \
49506 @endif zlib
49507 @if lto-plugin
49508 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
49509 cd $(HOST_SUBDIR); mv lto-plugin stageprofile-lto-plugin; \
49510 mv prev-lto-plugin stage1-lto-plugin; : ; \
49512 @endif lto-plugin
49513 @if test -d $(TARGET_SUBDIR); then \
49514 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR); \
49515 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \
49517 rm -f stage_current
49519 # Bubble a bug fix through all the stages up to stage profile. They are
49520 # remade, but not reconfigured. The next stage (if any) will not be
49521 # reconfigured either.
49522 .PHONY: stageprofile-bubble
49523 stageprofile-bubble:: stage1-bubble
49524 @r=`${PWD_COMMAND}`; export r; \
49525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49526 if test -f stageprofile-lean || test -f stage1-lean ; then \
49527 echo Skipping rebuild of stageprofile; \
49528 else \
49529 $(MAKE) stageprofile-start; \
49530 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
49533 .PHONY: all-stageprofile clean-stageprofile
49534 do-clean: clean-stageprofile
49536 # FIXME: Will not need to be conditional when toplevel bootstrap is the
49537 # only possibility, but now it conflicts with no-bootstrap rules
49538 @if gcc-bootstrap
49543 # Rules to wipe a stage and all the following ones, also used for cleanstrap
49544 distclean-stage1:: distclean-stageprofile
49545 .PHONY: distclean-stageprofile
49546 distclean-stageprofile::
49547 @: $(MAKE); $(stage)
49548 @test "`cat stage_last`" != stageprofile || rm -f stage_last
49549 rm -rf stageprofile-*
49552 @endif gcc-bootstrap
49555 .PHONY: stagefeedback-start stagefeedback-end
49557 stagefeedback-start::
49558 @: $(MAKE); $(stage); \
49559 echo stagefeedback > stage_current; \
49560 echo stagefeedback > stage_last; \
49561 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
49562 @if bfd
49563 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
49564 mkdir stagefeedback-bfd; \
49565 mv stagefeedback-bfd bfd; \
49566 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
49567 @endif bfd
49568 @if opcodes
49569 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
49570 mkdir stagefeedback-opcodes; \
49571 mv stagefeedback-opcodes opcodes; \
49572 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
49573 @endif opcodes
49574 @if binutils
49575 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
49576 mkdir stagefeedback-binutils; \
49577 mv stagefeedback-binutils binutils; \
49578 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
49579 @endif binutils
49580 @if fixincludes
49581 @cd $(HOST_SUBDIR); [ -d stagefeedback-fixincludes ] || \
49582 mkdir stagefeedback-fixincludes; \
49583 mv stagefeedback-fixincludes fixincludes; \
49584 mv stageprofile-fixincludes prev-fixincludes || test -f stageprofile-lean
49585 @endif fixincludes
49586 @if gas
49587 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
49588 mkdir stagefeedback-gas; \
49589 mv stagefeedback-gas gas; \
49590 mv stageprofile-gas prev-gas || test -f stageprofile-lean
49591 @endif gas
49592 @if gcc
49593 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
49594 mkdir stagefeedback-gcc; \
49595 mv stagefeedback-gcc gcc; \
49596 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
49597 @endif gcc
49598 @if gmp
49599 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
49600 mkdir stagefeedback-gmp; \
49601 mv stagefeedback-gmp gmp; \
49602 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
49603 @endif gmp
49604 @if mpfr
49605 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
49606 mkdir stagefeedback-mpfr; \
49607 mv stagefeedback-mpfr mpfr; \
49608 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
49609 @endif mpfr
49610 @if mpc
49611 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpc ] || \
49612 mkdir stagefeedback-mpc; \
49613 mv stagefeedback-mpc mpc; \
49614 mv stageprofile-mpc prev-mpc || test -f stageprofile-lean
49615 @endif mpc
49616 @if isl
49617 @cd $(HOST_SUBDIR); [ -d stagefeedback-isl ] || \
49618 mkdir stagefeedback-isl; \
49619 mv stagefeedback-isl isl; \
49620 mv stageprofile-isl prev-isl || test -f stageprofile-lean
49621 @endif isl
49622 @if libelf
49623 @cd $(HOST_SUBDIR); [ -d stagefeedback-libelf ] || \
49624 mkdir stagefeedback-libelf; \
49625 mv stagefeedback-libelf libelf; \
49626 mv stageprofile-libelf prev-libelf || test -f stageprofile-lean
49627 @endif libelf
49628 @if gold
49629 @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \
49630 mkdir stagefeedback-gold; \
49631 mv stagefeedback-gold gold; \
49632 mv stageprofile-gold prev-gold || test -f stageprofile-lean
49633 @endif gold
49634 @if intl
49635 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
49636 mkdir stagefeedback-intl; \
49637 mv stagefeedback-intl intl; \
49638 mv stageprofile-intl prev-intl || test -f stageprofile-lean
49639 @endif intl
49640 @if ld
49641 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
49642 mkdir stagefeedback-ld; \
49643 mv stagefeedback-ld ld; \
49644 mv stageprofile-ld prev-ld || test -f stageprofile-lean
49645 @endif ld
49646 @if libbacktrace
49647 @cd $(HOST_SUBDIR); [ -d stagefeedback-libbacktrace ] || \
49648 mkdir stagefeedback-libbacktrace; \
49649 mv stagefeedback-libbacktrace libbacktrace; \
49650 mv stageprofile-libbacktrace prev-libbacktrace || test -f stageprofile-lean
49651 @endif libbacktrace
49652 @if libcpp
49653 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
49654 mkdir stagefeedback-libcpp; \
49655 mv stagefeedback-libcpp libcpp; \
49656 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
49657 @endif libcpp
49658 @if libdecnumber
49659 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
49660 mkdir stagefeedback-libdecnumber; \
49661 mv stagefeedback-libdecnumber libdecnumber; \
49662 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
49663 @endif libdecnumber
49664 @if libiberty
49665 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
49666 mkdir stagefeedback-libiberty; \
49667 mv stagefeedback-libiberty libiberty; \
49668 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
49669 @endif libiberty
49670 @if libiberty-linker-plugin
49671 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty-linker-plugin ] || \
49672 mkdir stagefeedback-libiberty-linker-plugin; \
49673 mv stagefeedback-libiberty-linker-plugin libiberty-linker-plugin; \
49674 mv stageprofile-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stageprofile-lean
49675 @endif libiberty-linker-plugin
49676 @if libiconv
49677 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiconv ] || \
49678 mkdir stagefeedback-libiconv; \
49679 mv stagefeedback-libiconv libiconv; \
49680 mv stageprofile-libiconv prev-libiconv || test -f stageprofile-lean
49681 @endif libiconv
49682 @if zlib
49683 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
49684 mkdir stagefeedback-zlib; \
49685 mv stagefeedback-zlib zlib; \
49686 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
49687 @endif zlib
49688 @if lto-plugin
49689 @cd $(HOST_SUBDIR); [ -d stagefeedback-lto-plugin ] || \
49690 mkdir stagefeedback-lto-plugin; \
49691 mv stagefeedback-lto-plugin lto-plugin; \
49692 mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean
49693 @endif lto-plugin
49694 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
49695 mkdir stagefeedback-$(TARGET_SUBDIR); \
49696 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
49697 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
49699 stagefeedback-end::
49700 @if bfd
49701 @if test -d $(HOST_SUBDIR)/bfd; then \
49702 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd; \
49703 mv prev-bfd stageprofile-bfd; : ; \
49705 @endif bfd
49706 @if opcodes
49707 @if test -d $(HOST_SUBDIR)/opcodes; then \
49708 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes; \
49709 mv prev-opcodes stageprofile-opcodes; : ; \
49711 @endif opcodes
49712 @if binutils
49713 @if test -d $(HOST_SUBDIR)/binutils; then \
49714 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils; \
49715 mv prev-binutils stageprofile-binutils; : ; \
49717 @endif binutils
49718 @if fixincludes
49719 @if test -d $(HOST_SUBDIR)/fixincludes; then \
49720 cd $(HOST_SUBDIR); mv fixincludes stagefeedback-fixincludes; \
49721 mv prev-fixincludes stageprofile-fixincludes; : ; \
49723 @endif fixincludes
49724 @if gas
49725 @if test -d $(HOST_SUBDIR)/gas; then \
49726 cd $(HOST_SUBDIR); mv gas stagefeedback-gas; \
49727 mv prev-gas stageprofile-gas; : ; \
49729 @endif gas
49730 @if gcc
49731 @if test -d $(HOST_SUBDIR)/gcc; then \
49732 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc; \
49733 mv prev-gcc stageprofile-gcc; : ; \
49735 @endif gcc
49736 @if gmp
49737 @if test -d $(HOST_SUBDIR)/gmp; then \
49738 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp; \
49739 mv prev-gmp stageprofile-gmp; : ; \
49741 @endif gmp
49742 @if mpfr
49743 @if test -d $(HOST_SUBDIR)/mpfr; then \
49744 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr; \
49745 mv prev-mpfr stageprofile-mpfr; : ; \
49747 @endif mpfr
49748 @if mpc
49749 @if test -d $(HOST_SUBDIR)/mpc; then \
49750 cd $(HOST_SUBDIR); mv mpc stagefeedback-mpc; \
49751 mv prev-mpc stageprofile-mpc; : ; \
49753 @endif mpc
49754 @if isl
49755 @if test -d $(HOST_SUBDIR)/isl; then \
49756 cd $(HOST_SUBDIR); mv isl stagefeedback-isl; \
49757 mv prev-isl stageprofile-isl; : ; \
49759 @endif isl
49760 @if libelf
49761 @if test -d $(HOST_SUBDIR)/libelf; then \
49762 cd $(HOST_SUBDIR); mv libelf stagefeedback-libelf; \
49763 mv prev-libelf stageprofile-libelf; : ; \
49765 @endif libelf
49766 @if gold
49767 @if test -d $(HOST_SUBDIR)/gold; then \
49768 cd $(HOST_SUBDIR); mv gold stagefeedback-gold; \
49769 mv prev-gold stageprofile-gold; : ; \
49771 @endif gold
49772 @if intl
49773 @if test -d $(HOST_SUBDIR)/intl; then \
49774 cd $(HOST_SUBDIR); mv intl stagefeedback-intl; \
49775 mv prev-intl stageprofile-intl; : ; \
49777 @endif intl
49778 @if ld
49779 @if test -d $(HOST_SUBDIR)/ld; then \
49780 cd $(HOST_SUBDIR); mv ld stagefeedback-ld; \
49781 mv prev-ld stageprofile-ld; : ; \
49783 @endif ld
49784 @if libbacktrace
49785 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
49786 cd $(HOST_SUBDIR); mv libbacktrace stagefeedback-libbacktrace; \
49787 mv prev-libbacktrace stageprofile-libbacktrace; : ; \
49789 @endif libbacktrace
49790 @if libcpp
49791 @if test -d $(HOST_SUBDIR)/libcpp; then \
49792 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp; \
49793 mv prev-libcpp stageprofile-libcpp; : ; \
49795 @endif libcpp
49796 @if libdecnumber
49797 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
49798 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber; \
49799 mv prev-libdecnumber stageprofile-libdecnumber; : ; \
49801 @endif libdecnumber
49802 @if libiberty
49803 @if test -d $(HOST_SUBDIR)/libiberty; then \
49804 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty; \
49805 mv prev-libiberty stageprofile-libiberty; : ; \
49807 @endif libiberty
49808 @if libiberty-linker-plugin
49809 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
49810 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stagefeedback-libiberty-linker-plugin; \
49811 mv prev-libiberty-linker-plugin stageprofile-libiberty-linker-plugin; : ; \
49813 @endif libiberty-linker-plugin
49814 @if libiconv
49815 @if test -d $(HOST_SUBDIR)/libiconv; then \
49816 cd $(HOST_SUBDIR); mv libiconv stagefeedback-libiconv; \
49817 mv prev-libiconv stageprofile-libiconv; : ; \
49819 @endif libiconv
49820 @if zlib
49821 @if test -d $(HOST_SUBDIR)/zlib; then \
49822 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib; \
49823 mv prev-zlib stageprofile-zlib; : ; \
49825 @endif zlib
49826 @if lto-plugin
49827 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
49828 cd $(HOST_SUBDIR); mv lto-plugin stagefeedback-lto-plugin; \
49829 mv prev-lto-plugin stageprofile-lto-plugin; : ; \
49831 @endif lto-plugin
49832 @if test -d $(TARGET_SUBDIR); then \
49833 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR); \
49834 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR); : ; \
49836 rm -f stage_current
49838 # Bubble a bug fix through all the stages up to stage feedback. They are
49839 # remade, but not reconfigured. The next stage (if any) will not be
49840 # reconfigured either.
49841 .PHONY: stagefeedback-bubble
49842 stagefeedback-bubble:: stageprofile-bubble
49843 @r=`${PWD_COMMAND}`; export r; \
49844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49845 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
49846 echo Skipping rebuild of stagefeedback; \
49847 else \
49848 $(MAKE) stagefeedback-start; \
49849 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
49852 .PHONY: all-stagefeedback clean-stagefeedback
49853 do-clean: clean-stagefeedback
49855 # FIXME: Will not need to be conditional when toplevel bootstrap is the
49856 # only possibility, but now it conflicts with no-bootstrap rules
49857 @if gcc-bootstrap
49861 .PHONY: profiledbootstrap profiledbootstrap-lean
49862 profiledbootstrap:
49863 echo stagefeedback > stage_final
49864 @r=`${PWD_COMMAND}`; export r; \
49865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49866 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
49867 @: $(MAKE); $(unstage)
49868 @r=`${PWD_COMMAND}`; export r; \
49869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49870 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
49871 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
49873 profiledbootstrap-lean:
49874 echo stagefeedback > stage_final
49875 @r=`${PWD_COMMAND}`; export r; \
49876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49877 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
49878 @: $(MAKE); $(unstage)
49879 @r=`${PWD_COMMAND}`; export r; \
49880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49881 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
49882 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
49885 # Rules to wipe a stage and all the following ones, also used for cleanstrap
49886 distclean-stageprofile:: distclean-stagefeedback
49887 .PHONY: distclean-stagefeedback
49888 distclean-stagefeedback::
49889 @: $(MAKE); $(stage)
49890 @test "`cat stage_last`" != stagefeedback || rm -f stage_last
49891 rm -rf stagefeedback-*
49894 @endif gcc-bootstrap
49898 stageprofile-end::
49899 $(MAKE) distclean-stagefeedback
49901 stagefeedback-start::
49902 @r=`${PWD_COMMAND}`; export r; \
49903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49904 for i in prev-*; do \
49905 j=`echo $$i | sed s/^prev-//`; \
49906 cd $$r/$$i && \
49907 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL); } && \
49908 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL); }; \
49909 done
49911 @if gcc-bootstrap
49912 do-distclean: distclean-stage1
49914 # Provide a GCC build when we're building target libraries. This does
49915 # not work as a dependency, just as the minimum necessary to avoid errors.
49916 stage_last:
49917 @r=`${PWD_COMMAND}`; export r; \
49918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49919 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
49921 # Same as unstage, but not phony and defaulting to stage1-start. We place
49922 # it in the dependency so that for example `make -j3 all-gcc' works.
49923 stage_current:
49924 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
49926 .PHONY: restrap
49927 restrap::
49928 @: $(MAKE); $(stage)
49929 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagefeedback-*
49930 restrap:: all
49931 @endif gcc-bootstrap
49933 # --------------------------------------
49934 # Dependencies between different modules
49935 # --------------------------------------
49937 # Generic dependencies for target modules on host stuff, especially gcc
49938 @if gcc-bootstrap
49939 configure-stage1-target-libstdc++-v3: maybe-all-stage1-gcc
49940 configure-stage2-target-libstdc++-v3: maybe-all-stage2-gcc
49941 configure-stage3-target-libstdc++-v3: maybe-all-stage3-gcc
49942 configure-stage4-target-libstdc++-v3: maybe-all-stage4-gcc
49943 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-gcc
49944 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-gcc
49945 configure-stage1-target-libsanitizer: maybe-all-stage1-gcc
49946 configure-stage2-target-libsanitizer: maybe-all-stage2-gcc
49947 configure-stage3-target-libsanitizer: maybe-all-stage3-gcc
49948 configure-stage4-target-libsanitizer: maybe-all-stage4-gcc
49949 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-gcc
49950 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-gcc
49951 configure-stage1-target-libmpx: maybe-all-stage1-gcc
49952 configure-stage2-target-libmpx: maybe-all-stage2-gcc
49953 configure-stage3-target-libmpx: maybe-all-stage3-gcc
49954 configure-stage4-target-libmpx: maybe-all-stage4-gcc
49955 configure-stageprofile-target-libmpx: maybe-all-stageprofile-gcc
49956 configure-stagefeedback-target-libmpx: maybe-all-stagefeedback-gcc
49957 configure-stage1-target-libvtv: maybe-all-stage1-gcc
49958 configure-stage2-target-libvtv: maybe-all-stage2-gcc
49959 configure-stage3-target-libvtv: maybe-all-stage3-gcc
49960 configure-stage4-target-libvtv: maybe-all-stage4-gcc
49961 configure-stageprofile-target-libvtv: maybe-all-stageprofile-gcc
49962 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-gcc
49963 configure-target-libcilkrts: stage_last
49964 configure-target-liboffloadmic: stage_last
49965 configure-target-libssp: stage_last
49966 configure-target-newlib: stage_last
49967 configure-stage1-target-libgcc: maybe-all-stage1-gcc
49968 configure-stage2-target-libgcc: maybe-all-stage2-gcc
49969 configure-stage3-target-libgcc: maybe-all-stage3-gcc
49970 configure-stage4-target-libgcc: maybe-all-stage4-gcc
49971 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
49972 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
49973 configure-target-libbacktrace: stage_last
49974 configure-target-libquadmath: stage_last
49975 configure-target-libgfortran: stage_last
49976 configure-target-libobjc: stage_last
49977 configure-target-libgo: stage_last
49978 configure-target-libtermcap: stage_last
49979 configure-target-winsup: stage_last
49980 configure-target-libgloss: stage_last
49981 configure-target-libffi: stage_last
49982 configure-target-libjava: stage_last
49983 configure-target-zlib: stage_last
49984 configure-target-boehm-gc: stage_last
49985 configure-target-rda: stage_last
49986 configure-target-libada: stage_last
49987 configure-stage1-target-libgomp: maybe-all-stage1-gcc
49988 configure-stage2-target-libgomp: maybe-all-stage2-gcc
49989 configure-stage3-target-libgomp: maybe-all-stage3-gcc
49990 configure-stage4-target-libgomp: maybe-all-stage4-gcc
49991 configure-stageprofile-target-libgomp: maybe-all-stageprofile-gcc
49992 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-gcc
49993 configure-target-libitm: stage_last
49994 configure-target-libatomic: stage_last
49995 @endif gcc-bootstrap
49997 @if gcc-no-bootstrap
49998 configure-target-libstdc++-v3: maybe-all-gcc
49999 configure-target-libsanitizer: maybe-all-gcc
50000 configure-target-libmpx: maybe-all-gcc
50001 configure-target-libvtv: maybe-all-gcc
50002 configure-target-libcilkrts: maybe-all-gcc
50003 configure-target-liboffloadmic: maybe-all-gcc
50004 configure-target-libssp: maybe-all-gcc
50005 configure-target-newlib: maybe-all-gcc
50006 configure-target-libgcc: maybe-all-gcc
50007 configure-target-libbacktrace: maybe-all-gcc
50008 configure-target-libquadmath: maybe-all-gcc
50009 configure-target-libgfortran: maybe-all-gcc
50010 configure-target-libobjc: maybe-all-gcc
50011 configure-target-libgo: maybe-all-gcc
50012 configure-target-libtermcap: maybe-all-gcc
50013 configure-target-winsup: maybe-all-gcc
50014 configure-target-libgloss: maybe-all-gcc
50015 configure-target-libffi: maybe-all-gcc
50016 configure-target-libjava: maybe-all-gcc
50017 configure-target-zlib: maybe-all-gcc
50018 configure-target-boehm-gc: maybe-all-gcc
50019 configure-target-rda: maybe-all-gcc
50020 configure-target-libada: maybe-all-gcc
50021 configure-target-libgomp: maybe-all-gcc
50022 configure-target-libitm: maybe-all-gcc
50023 configure-target-libatomic: maybe-all-gcc
50024 @endif gcc-no-bootstrap
50027 # There are two types of dependencies here: 'hard' dependencies, where one
50028 # module simply won't build without the other; and 'soft' dependencies, where
50029 # if the depended-on module is missing, the depending module will do without
50030 # or find a substitute somewhere (perhaps installed). Soft dependencies
50031 # are made here to depend on a 'maybe-' target. If you're not sure,
50032 # it's safer to use a soft dependency.
50039 # With all the machinery above in place, it is pretty easy to generate
50040 # dependencies. Host dependencies are a bit more complex because we have
50041 # to check for bootstrap/prebootstrap dependencies. To resolve
50042 # prebootstrap dependencies, prebootstrap modules are gathered in
50043 # a hash table.
50044 all-build-bison: maybe-all-build-texinfo
50045 all-build-flex: maybe-all-build-texinfo
50046 all-build-flex: maybe-all-build-bison
50047 all-build-flex: maybe-all-build-m4
50048 all-build-libiberty: maybe-all-build-texinfo
50049 all-build-m4: maybe-all-build-texinfo
50050 all-build-fixincludes: maybe-all-build-libiberty
50051 all-build-libcpp: maybe-all-build-libiberty
50052 configure-gcc: maybe-configure-intl
50054 configure-stage1-gcc: maybe-configure-stage1-intl
50055 configure-stage2-gcc: maybe-configure-stage2-intl
50056 configure-stage3-gcc: maybe-configure-stage3-intl
50057 configure-stage4-gcc: maybe-configure-stage4-intl
50058 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
50059 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
50060 configure-gcc: maybe-all-gmp
50062 configure-stage1-gcc: maybe-all-stage1-gmp
50063 configure-stage2-gcc: maybe-all-stage2-gmp
50064 configure-stage3-gcc: maybe-all-stage3-gmp
50065 configure-stage4-gcc: maybe-all-stage4-gmp
50066 configure-stageprofile-gcc: maybe-all-stageprofile-gmp
50067 configure-stagefeedback-gcc: maybe-all-stagefeedback-gmp
50068 configure-gcc: maybe-all-mpfr
50070 configure-stage1-gcc: maybe-all-stage1-mpfr
50071 configure-stage2-gcc: maybe-all-stage2-mpfr
50072 configure-stage3-gcc: maybe-all-stage3-mpfr
50073 configure-stage4-gcc: maybe-all-stage4-mpfr
50074 configure-stageprofile-gcc: maybe-all-stageprofile-mpfr
50075 configure-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
50076 configure-gcc: maybe-all-mpc
50078 configure-stage1-gcc: maybe-all-stage1-mpc
50079 configure-stage2-gcc: maybe-all-stage2-mpc
50080 configure-stage3-gcc: maybe-all-stage3-mpc
50081 configure-stage4-gcc: maybe-all-stage4-mpc
50082 configure-stageprofile-gcc: maybe-all-stageprofile-mpc
50083 configure-stagefeedback-gcc: maybe-all-stagefeedback-mpc
50084 configure-gcc: maybe-all-isl
50086 configure-stage1-gcc: maybe-all-stage1-isl
50087 configure-stage2-gcc: maybe-all-stage2-isl
50088 configure-stage3-gcc: maybe-all-stage3-isl
50089 configure-stage4-gcc: maybe-all-stage4-isl
50090 configure-stageprofile-gcc: maybe-all-stageprofile-isl
50091 configure-stagefeedback-gcc: maybe-all-stagefeedback-isl
50092 configure-gcc: maybe-all-lto-plugin
50094 configure-stage1-gcc: maybe-all-stage1-lto-plugin
50095 configure-stage2-gcc: maybe-all-stage2-lto-plugin
50096 configure-stage3-gcc: maybe-all-stage3-lto-plugin
50097 configure-stage4-gcc: maybe-all-stage4-lto-plugin
50098 configure-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
50099 configure-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
50100 configure-gcc: maybe-all-binutils
50102 configure-stage1-gcc: maybe-all-stage1-binutils
50103 configure-stage2-gcc: maybe-all-stage2-binutils
50104 configure-stage3-gcc: maybe-all-stage3-binutils
50105 configure-stage4-gcc: maybe-all-stage4-binutils
50106 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
50107 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
50108 configure-gcc: maybe-all-gas
50110 configure-stage1-gcc: maybe-all-stage1-gas
50111 configure-stage2-gcc: maybe-all-stage2-gas
50112 configure-stage3-gcc: maybe-all-stage3-gas
50113 configure-stage4-gcc: maybe-all-stage4-gas
50114 configure-stageprofile-gcc: maybe-all-stageprofile-gas
50115 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
50116 configure-gcc: maybe-all-ld
50118 configure-stage1-gcc: maybe-all-stage1-ld
50119 configure-stage2-gcc: maybe-all-stage2-ld
50120 configure-stage3-gcc: maybe-all-stage3-ld
50121 configure-stage4-gcc: maybe-all-stage4-ld
50122 configure-stageprofile-gcc: maybe-all-stageprofile-ld
50123 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
50124 configure-gcc: maybe-all-gold
50126 configure-stage1-gcc: maybe-all-stage1-gold
50127 configure-stage2-gcc: maybe-all-stage2-gold
50128 configure-stage3-gcc: maybe-all-stage3-gold
50129 configure-stage4-gcc: maybe-all-stage4-gold
50130 configure-stageprofile-gcc: maybe-all-stageprofile-gold
50131 configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
50132 configure-gcc: maybe-all-libelf
50134 configure-stage1-gcc: maybe-all-stage1-libelf
50135 configure-stage2-gcc: maybe-all-stage2-libelf
50136 configure-stage3-gcc: maybe-all-stage3-libelf
50137 configure-stage4-gcc: maybe-all-stage4-libelf
50138 configure-stageprofile-gcc: maybe-all-stageprofile-libelf
50139 configure-stagefeedback-gcc: maybe-all-stagefeedback-libelf
50140 configure-gcc: maybe-all-libiconv
50142 configure-stage1-gcc: maybe-all-stage1-libiconv
50143 configure-stage2-gcc: maybe-all-stage2-libiconv
50144 configure-stage3-gcc: maybe-all-stage3-libiconv
50145 configure-stage4-gcc: maybe-all-stage4-libiconv
50146 configure-stageprofile-gcc: maybe-all-stageprofile-libiconv
50147 configure-stagefeedback-gcc: maybe-all-stagefeedback-libiconv
50148 all-gcc: all-libiberty
50150 all-stage1-gcc: all-stage1-libiberty
50151 all-stage2-gcc: all-stage2-libiberty
50152 all-stage3-gcc: all-stage3-libiberty
50153 all-stage4-gcc: all-stage4-libiberty
50154 all-stageprofile-gcc: all-stageprofile-libiberty
50155 all-stagefeedback-gcc: all-stagefeedback-libiberty
50156 all-gcc: maybe-all-intl
50158 all-stage1-gcc: maybe-all-stage1-intl
50159 all-stage2-gcc: maybe-all-stage2-intl
50160 all-stage3-gcc: maybe-all-stage3-intl
50161 all-stage4-gcc: maybe-all-stage4-intl
50162 all-stageprofile-gcc: maybe-all-stageprofile-intl
50163 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
50164 all-gcc: maybe-all-mpfr
50166 all-stage1-gcc: maybe-all-stage1-mpfr
50167 all-stage2-gcc: maybe-all-stage2-mpfr
50168 all-stage3-gcc: maybe-all-stage3-mpfr
50169 all-stage4-gcc: maybe-all-stage4-mpfr
50170 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
50171 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
50172 all-gcc: maybe-all-mpc
50174 all-stage1-gcc: maybe-all-stage1-mpc
50175 all-stage2-gcc: maybe-all-stage2-mpc
50176 all-stage3-gcc: maybe-all-stage3-mpc
50177 all-stage4-gcc: maybe-all-stage4-mpc
50178 all-stageprofile-gcc: maybe-all-stageprofile-mpc
50179 all-stagefeedback-gcc: maybe-all-stagefeedback-mpc
50180 all-gcc: maybe-all-isl
50182 all-stage1-gcc: maybe-all-stage1-isl
50183 all-stage2-gcc: maybe-all-stage2-isl
50184 all-stage3-gcc: maybe-all-stage3-isl
50185 all-stage4-gcc: maybe-all-stage4-isl
50186 all-stageprofile-gcc: maybe-all-stageprofile-isl
50187 all-stagefeedback-gcc: maybe-all-stagefeedback-isl
50188 all-gcc: maybe-all-build-texinfo
50190 all-stage1-gcc: maybe-all-build-texinfo
50191 all-stage2-gcc: maybe-all-build-texinfo
50192 all-stage3-gcc: maybe-all-build-texinfo
50193 all-stage4-gcc: maybe-all-build-texinfo
50194 all-stageprofile-gcc: maybe-all-build-texinfo
50195 all-stagefeedback-gcc: maybe-all-build-texinfo
50196 all-gcc: maybe-all-build-bison
50198 all-stage1-gcc: maybe-all-build-bison
50199 all-stage2-gcc: maybe-all-build-bison
50200 all-stage3-gcc: maybe-all-build-bison
50201 all-stage4-gcc: maybe-all-build-bison
50202 all-stageprofile-gcc: maybe-all-build-bison
50203 all-stagefeedback-gcc: maybe-all-build-bison
50204 all-gcc: maybe-all-build-flex
50206 all-stage1-gcc: maybe-all-build-flex
50207 all-stage2-gcc: maybe-all-build-flex
50208 all-stage3-gcc: maybe-all-build-flex
50209 all-stage4-gcc: maybe-all-build-flex
50210 all-stageprofile-gcc: maybe-all-build-flex
50211 all-stagefeedback-gcc: maybe-all-build-flex
50212 all-gcc: maybe-all-build-libiberty
50214 all-stage1-gcc: maybe-all-build-libiberty
50215 all-stage2-gcc: maybe-all-build-libiberty
50216 all-stage3-gcc: maybe-all-build-libiberty
50217 all-stage4-gcc: maybe-all-build-libiberty
50218 all-stageprofile-gcc: maybe-all-build-libiberty
50219 all-stagefeedback-gcc: maybe-all-build-libiberty
50220 all-gcc: maybe-all-build-fixincludes
50222 all-stage1-gcc: maybe-all-build-fixincludes
50223 all-stage2-gcc: maybe-all-build-fixincludes
50224 all-stage3-gcc: maybe-all-build-fixincludes
50225 all-stage4-gcc: maybe-all-build-fixincludes
50226 all-stageprofile-gcc: maybe-all-build-fixincludes
50227 all-stagefeedback-gcc: maybe-all-build-fixincludes
50228 all-gcc: maybe-all-build-libcpp
50230 all-stage1-gcc: maybe-all-build-libcpp
50231 all-stage2-gcc: maybe-all-build-libcpp
50232 all-stage3-gcc: maybe-all-build-libcpp
50233 all-stage4-gcc: maybe-all-build-libcpp
50234 all-stageprofile-gcc: maybe-all-build-libcpp
50235 all-stagefeedback-gcc: maybe-all-build-libcpp
50236 all-gcc: maybe-all-zlib
50238 all-stage1-gcc: maybe-all-stage1-zlib
50239 all-stage2-gcc: maybe-all-stage2-zlib
50240 all-stage3-gcc: maybe-all-stage3-zlib
50241 all-stage4-gcc: maybe-all-stage4-zlib
50242 all-stageprofile-gcc: maybe-all-stageprofile-zlib
50243 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
50244 all-gcc: all-libbacktrace
50246 all-stage1-gcc: all-stage1-libbacktrace
50247 all-stage2-gcc: all-stage2-libbacktrace
50248 all-stage3-gcc: all-stage3-libbacktrace
50249 all-stage4-gcc: all-stage4-libbacktrace
50250 all-stageprofile-gcc: all-stageprofile-libbacktrace
50251 all-stagefeedback-gcc: all-stagefeedback-libbacktrace
50252 all-gcc: all-libcpp
50254 all-stage1-gcc: all-stage1-libcpp
50255 all-stage2-gcc: all-stage2-libcpp
50256 all-stage3-gcc: all-stage3-libcpp
50257 all-stage4-gcc: all-stage4-libcpp
50258 all-stageprofile-gcc: all-stageprofile-libcpp
50259 all-stagefeedback-gcc: all-stagefeedback-libcpp
50260 all-gcc: all-libdecnumber
50262 all-stage1-gcc: all-stage1-libdecnumber
50263 all-stage2-gcc: all-stage2-libdecnumber
50264 all-stage3-gcc: all-stage3-libdecnumber
50265 all-stage4-gcc: all-stage4-libdecnumber
50266 all-stageprofile-gcc: all-stageprofile-libdecnumber
50267 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
50268 all-gcc: maybe-all-libiberty
50270 all-stage1-gcc: maybe-all-stage1-libiberty
50271 all-stage2-gcc: maybe-all-stage2-libiberty
50272 all-stage3-gcc: maybe-all-stage3-libiberty
50273 all-stage4-gcc: maybe-all-stage4-libiberty
50274 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
50275 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
50276 all-gcc: maybe-all-fixincludes
50278 all-stage1-gcc: maybe-all-stage1-fixincludes
50279 all-stage2-gcc: maybe-all-stage2-fixincludes
50280 all-stage3-gcc: maybe-all-stage3-fixincludes
50281 all-stage4-gcc: maybe-all-stage4-fixincludes
50282 all-stageprofile-gcc: maybe-all-stageprofile-fixincludes
50283 all-stagefeedback-gcc: maybe-all-stagefeedback-fixincludes
50284 all-gcc: maybe-all-lto-plugin
50286 all-stage1-gcc: maybe-all-stage1-lto-plugin
50287 all-stage2-gcc: maybe-all-stage2-lto-plugin
50288 all-stage3-gcc: maybe-all-stage3-lto-plugin
50289 all-stage4-gcc: maybe-all-stage4-lto-plugin
50290 all-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
50291 all-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
50292 all-gcc: maybe-all-libiconv
50294 all-stage1-gcc: maybe-all-stage1-libiconv
50295 all-stage2-gcc: maybe-all-stage2-libiconv
50296 all-stage3-gcc: maybe-all-stage3-libiconv
50297 all-stage4-gcc: maybe-all-stage4-libiconv
50298 all-stageprofile-gcc: maybe-all-stageprofile-libiconv
50299 all-stagefeedback-gcc: maybe-all-stagefeedback-libiconv
50300 info-gcc: maybe-all-build-libiberty
50302 info-stage1-gcc: maybe-all-build-libiberty
50303 info-stage2-gcc: maybe-all-build-libiberty
50304 info-stage3-gcc: maybe-all-build-libiberty
50305 info-stage4-gcc: maybe-all-build-libiberty
50306 info-stageprofile-gcc: maybe-all-build-libiberty
50307 info-stagefeedback-gcc: maybe-all-build-libiberty
50308 dvi-gcc: maybe-all-build-libiberty
50310 dvi-stage1-gcc: maybe-all-build-libiberty
50311 dvi-stage2-gcc: maybe-all-build-libiberty
50312 dvi-stage3-gcc: maybe-all-build-libiberty
50313 dvi-stage4-gcc: maybe-all-build-libiberty
50314 dvi-stageprofile-gcc: maybe-all-build-libiberty
50315 dvi-stagefeedback-gcc: maybe-all-build-libiberty
50316 pdf-gcc: maybe-all-build-libiberty
50318 pdf-stage1-gcc: maybe-all-build-libiberty
50319 pdf-stage2-gcc: maybe-all-build-libiberty
50320 pdf-stage3-gcc: maybe-all-build-libiberty
50321 pdf-stage4-gcc: maybe-all-build-libiberty
50322 pdf-stageprofile-gcc: maybe-all-build-libiberty
50323 pdf-stagefeedback-gcc: maybe-all-build-libiberty
50324 html-gcc: maybe-all-build-libiberty
50326 html-stage1-gcc: maybe-all-build-libiberty
50327 html-stage2-gcc: maybe-all-build-libiberty
50328 html-stage3-gcc: maybe-all-build-libiberty
50329 html-stage4-gcc: maybe-all-build-libiberty
50330 html-stageprofile-gcc: maybe-all-build-libiberty
50331 html-stagefeedback-gcc: maybe-all-build-libiberty
50332 install-gcc: maybe-install-fixincludes
50333 install-gcc: maybe-install-lto-plugin
50334 install-strip-gcc: maybe-install-strip-fixincludes
50335 install-strip-gcc: maybe-install-strip-lto-plugin
50336 configure-libcpp: configure-libiberty
50338 configure-stage1-libcpp: configure-stage1-libiberty
50339 configure-stage2-libcpp: configure-stage2-libiberty
50340 configure-stage3-libcpp: configure-stage3-libiberty
50341 configure-stage4-libcpp: configure-stage4-libiberty
50342 configure-stageprofile-libcpp: configure-stageprofile-libiberty
50343 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
50344 configure-libcpp: maybe-configure-intl
50346 configure-stage1-libcpp: maybe-configure-stage1-intl
50347 configure-stage2-libcpp: maybe-configure-stage2-intl
50348 configure-stage3-libcpp: maybe-configure-stage3-intl
50349 configure-stage4-libcpp: maybe-configure-stage4-intl
50350 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
50351 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
50352 configure-libcpp: maybe-all-libiconv
50354 configure-stage1-libcpp: maybe-all-stage1-libiconv
50355 configure-stage2-libcpp: maybe-all-stage2-libiconv
50356 configure-stage3-libcpp: maybe-all-stage3-libiconv
50357 configure-stage4-libcpp: maybe-all-stage4-libiconv
50358 configure-stageprofile-libcpp: maybe-all-stageprofile-libiconv
50359 configure-stagefeedback-libcpp: maybe-all-stagefeedback-libiconv
50360 all-libcpp: all-libiberty
50362 all-stage1-libcpp: all-stage1-libiberty
50363 all-stage2-libcpp: all-stage2-libiberty
50364 all-stage3-libcpp: all-stage3-libiberty
50365 all-stage4-libcpp: all-stage4-libiberty
50366 all-stageprofile-libcpp: all-stageprofile-libiberty
50367 all-stagefeedback-libcpp: all-stagefeedback-libiberty
50368 all-libcpp: maybe-all-intl
50370 all-stage1-libcpp: maybe-all-stage1-intl
50371 all-stage2-libcpp: maybe-all-stage2-intl
50372 all-stage3-libcpp: maybe-all-stage3-intl
50373 all-stage4-libcpp: maybe-all-stage4-intl
50374 all-stageprofile-libcpp: maybe-all-stageprofile-intl
50375 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
50376 all-libcpp: maybe-all-libiconv
50378 all-stage1-libcpp: maybe-all-stage1-libiconv
50379 all-stage2-libcpp: maybe-all-stage2-libiconv
50380 all-stage3-libcpp: maybe-all-stage3-libiconv
50381 all-stage4-libcpp: maybe-all-stage4-libiconv
50382 all-stageprofile-libcpp: maybe-all-stageprofile-libiconv
50383 all-stagefeedback-libcpp: maybe-all-stagefeedback-libiconv
50384 all-fixincludes: maybe-all-libiberty
50386 all-stage1-fixincludes: maybe-all-stage1-libiberty
50387 all-stage2-fixincludes: maybe-all-stage2-libiberty
50388 all-stage3-fixincludes: maybe-all-stage3-libiberty
50389 all-stage4-fixincludes: maybe-all-stage4-libiberty
50390 all-stageprofile-fixincludes: maybe-all-stageprofile-libiberty
50391 all-stagefeedback-fixincludes: maybe-all-stagefeedback-libiberty
50392 all-gnattools: maybe-all-target-libada
50393 all-gnattools: maybe-all-target-libstdc++-v3
50394 all-lto-plugin: maybe-all-libiberty
50396 all-stage1-lto-plugin: maybe-all-stage1-libiberty
50397 all-stage2-lto-plugin: maybe-all-stage2-libiberty
50398 all-stage3-lto-plugin: maybe-all-stage3-libiberty
50399 all-stage4-lto-plugin: maybe-all-stage4-libiberty
50400 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty
50401 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty
50402 all-lto-plugin: maybe-all-libiberty-linker-plugin
50404 all-stage1-lto-plugin: maybe-all-stage1-libiberty-linker-plugin
50405 all-stage2-lto-plugin: maybe-all-stage2-libiberty-linker-plugin
50406 all-stage3-lto-plugin: maybe-all-stage3-libiberty-linker-plugin
50407 all-stage4-lto-plugin: maybe-all-stage4-libiberty-linker-plugin
50408 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty-linker-plugin
50409 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty-linker-plugin
50410 configure-libcc1: maybe-configure-gcc
50411 all-libcc1: maybe-all-gcc
50412 all-gotools: maybe-all-target-libgo
50413 all-utils: maybe-all-libiberty
50414 configure-intl: maybe-all-libiconv
50416 configure-stage1-intl: maybe-all-stage1-libiconv
50417 configure-stage2-intl: maybe-all-stage2-libiconv
50418 configure-stage3-intl: maybe-all-stage3-libiconv
50419 configure-stage4-intl: maybe-all-stage4-libiconv
50420 configure-stageprofile-intl: maybe-all-stageprofile-libiconv
50421 configure-stagefeedback-intl: maybe-all-stagefeedback-libiconv
50422 configure-mpfr: maybe-all-gmp
50424 configure-stage1-mpfr: maybe-all-stage1-gmp
50425 configure-stage2-mpfr: maybe-all-stage2-gmp
50426 configure-stage3-mpfr: maybe-all-stage3-gmp
50427 configure-stage4-mpfr: maybe-all-stage4-gmp
50428 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
50429 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
50430 configure-mpc: maybe-all-mpfr
50432 configure-stage1-mpc: maybe-all-stage1-mpfr
50433 configure-stage2-mpc: maybe-all-stage2-mpfr
50434 configure-stage3-mpc: maybe-all-stage3-mpfr
50435 configure-stage4-mpc: maybe-all-stage4-mpfr
50436 configure-stageprofile-mpc: maybe-all-stageprofile-mpfr
50437 configure-stagefeedback-mpc: maybe-all-stagefeedback-mpfr
50438 configure-isl: maybe-all-gmp
50440 configure-stage1-isl: maybe-all-stage1-gmp
50441 configure-stage2-isl: maybe-all-stage2-gmp
50442 configure-stage3-isl: maybe-all-stage3-gmp
50443 configure-stage4-isl: maybe-all-stage4-gmp
50444 configure-stageprofile-isl: maybe-all-stageprofile-gmp
50445 configure-stagefeedback-isl: maybe-all-stagefeedback-gmp
50446 all-intl: maybe-all-libiconv
50448 all-stage1-intl: maybe-all-stage1-libiconv
50449 all-stage2-intl: maybe-all-stage2-libiconv
50450 all-stage3-intl: maybe-all-stage3-libiconv
50451 all-stage4-intl: maybe-all-stage4-libiconv
50452 all-stageprofile-intl: maybe-all-stageprofile-libiconv
50453 all-stagefeedback-intl: maybe-all-stagefeedback-libiconv
50454 configure-gdb: maybe-all-intl
50455 configure-gdb: maybe-configure-sim
50456 configure-gdb: maybe-all-bfd
50457 configure-gdb: maybe-all-libiconv
50458 all-gdb: maybe-all-libiberty
50459 all-gdb: maybe-all-libiconv
50460 all-gdb: maybe-all-opcodes
50461 all-gdb: maybe-all-readline
50462 all-gdb: maybe-all-build-bison
50463 all-gdb: maybe-all-sim
50464 all-gdb: maybe-all-libdecnumber
50465 all-gdb: maybe-all-libtermcap
50466 configure-libgui: maybe-configure-tcl
50467 configure-libgui: maybe-configure-tk
50468 all-libgui: maybe-all-tcl
50469 all-libgui: maybe-all-tk
50470 all-libgui: maybe-all-itcl
50471 configure-bfd: configure-libiberty
50473 configure-stage1-bfd: configure-stage1-libiberty
50474 configure-stage2-bfd: configure-stage2-libiberty
50475 configure-stage3-bfd: configure-stage3-libiberty
50476 configure-stage4-bfd: configure-stage4-libiberty
50477 configure-stageprofile-bfd: configure-stageprofile-libiberty
50478 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
50479 configure-bfd: maybe-configure-intl
50481 configure-stage1-bfd: maybe-configure-stage1-intl
50482 configure-stage2-bfd: maybe-configure-stage2-intl
50483 configure-stage3-bfd: maybe-configure-stage3-intl
50484 configure-stage4-bfd: maybe-configure-stage4-intl
50485 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
50486 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
50487 all-bfd: maybe-all-libiberty
50489 all-stage1-bfd: maybe-all-stage1-libiberty
50490 all-stage2-bfd: maybe-all-stage2-libiberty
50491 all-stage3-bfd: maybe-all-stage3-libiberty
50492 all-stage4-bfd: maybe-all-stage4-libiberty
50493 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
50494 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
50495 all-bfd: maybe-all-intl
50497 all-stage1-bfd: maybe-all-stage1-intl
50498 all-stage2-bfd: maybe-all-stage2-intl
50499 all-stage3-bfd: maybe-all-stage3-intl
50500 all-stage4-bfd: maybe-all-stage4-intl
50501 all-stageprofile-bfd: maybe-all-stageprofile-intl
50502 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
50503 all-bfd: maybe-all-zlib
50505 all-stage1-bfd: maybe-all-stage1-zlib
50506 all-stage2-bfd: maybe-all-stage2-zlib
50507 all-stage3-bfd: maybe-all-stage3-zlib
50508 all-stage4-bfd: maybe-all-stage4-zlib
50509 all-stageprofile-bfd: maybe-all-stageprofile-zlib
50510 all-stagefeedback-bfd: maybe-all-stagefeedback-zlib
50511 configure-opcodes: configure-libiberty
50513 configure-stage1-opcodes: configure-stage1-libiberty
50514 configure-stage2-opcodes: configure-stage2-libiberty
50515 configure-stage3-opcodes: configure-stage3-libiberty
50516 configure-stage4-opcodes: configure-stage4-libiberty
50517 configure-stageprofile-opcodes: configure-stageprofile-libiberty
50518 configure-stagefeedback-opcodes: configure-stagefeedback-libiberty
50519 all-opcodes: maybe-all-libiberty
50521 all-stage1-opcodes: maybe-all-stage1-libiberty
50522 all-stage2-opcodes: maybe-all-stage2-libiberty
50523 all-stage3-opcodes: maybe-all-stage3-libiberty
50524 all-stage4-opcodes: maybe-all-stage4-libiberty
50525 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
50526 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
50527 configure-binutils: maybe-configure-intl
50529 configure-stage1-binutils: maybe-configure-stage1-intl
50530 configure-stage2-binutils: maybe-configure-stage2-intl
50531 configure-stage3-binutils: maybe-configure-stage3-intl
50532 configure-stage4-binutils: maybe-configure-stage4-intl
50533 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
50534 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
50535 all-binutils: maybe-all-libiberty
50537 all-stage1-binutils: maybe-all-stage1-libiberty
50538 all-stage2-binutils: maybe-all-stage2-libiberty
50539 all-stage3-binutils: maybe-all-stage3-libiberty
50540 all-stage4-binutils: maybe-all-stage4-libiberty
50541 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
50542 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
50543 all-binutils: maybe-all-opcodes
50545 all-stage1-binutils: maybe-all-stage1-opcodes
50546 all-stage2-binutils: maybe-all-stage2-opcodes
50547 all-stage3-binutils: maybe-all-stage3-opcodes
50548 all-stage4-binutils: maybe-all-stage4-opcodes
50549 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
50550 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
50551 all-binutils: maybe-all-bfd
50553 all-stage1-binutils: maybe-all-stage1-bfd
50554 all-stage2-binutils: maybe-all-stage2-bfd
50555 all-stage3-binutils: maybe-all-stage3-bfd
50556 all-stage4-binutils: maybe-all-stage4-bfd
50557 all-stageprofile-binutils: maybe-all-stageprofile-bfd
50558 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
50559 all-binutils: maybe-all-build-flex
50561 all-stage1-binutils: maybe-all-build-flex
50562 all-stage2-binutils: maybe-all-build-flex
50563 all-stage3-binutils: maybe-all-build-flex
50564 all-stage4-binutils: maybe-all-build-flex
50565 all-stageprofile-binutils: maybe-all-build-flex
50566 all-stagefeedback-binutils: maybe-all-build-flex
50567 all-binutils: maybe-all-build-bison
50569 all-stage1-binutils: maybe-all-build-bison
50570 all-stage2-binutils: maybe-all-build-bison
50571 all-stage3-binutils: maybe-all-build-bison
50572 all-stage4-binutils: maybe-all-build-bison
50573 all-stageprofile-binutils: maybe-all-build-bison
50574 all-stagefeedback-binutils: maybe-all-build-bison
50575 all-binutils: maybe-all-intl
50577 all-stage1-binutils: maybe-all-stage1-intl
50578 all-stage2-binutils: maybe-all-stage2-intl
50579 all-stage3-binutils: maybe-all-stage3-intl
50580 all-stage4-binutils: maybe-all-stage4-intl
50581 all-stageprofile-binutils: maybe-all-stageprofile-intl
50582 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
50583 all-binutils: maybe-all-gas
50585 all-stage1-binutils: maybe-all-stage1-gas
50586 all-stage2-binutils: maybe-all-stage2-gas
50587 all-stage3-binutils: maybe-all-stage3-gas
50588 all-stage4-binutils: maybe-all-stage4-gas
50589 all-stageprofile-binutils: maybe-all-stageprofile-gas
50590 all-stagefeedback-binutils: maybe-all-stagefeedback-gas
50591 install-binutils: maybe-install-opcodes
50592 install-strip-binutils: maybe-install-strip-opcodes
50593 install-opcodes: maybe-install-bfd
50594 install-strip-opcodes: maybe-install-strip-bfd
50595 configure-gas: maybe-configure-intl
50597 configure-stage1-gas: maybe-configure-stage1-intl
50598 configure-stage2-gas: maybe-configure-stage2-intl
50599 configure-stage3-gas: maybe-configure-stage3-intl
50600 configure-stage4-gas: maybe-configure-stage4-intl
50601 configure-stageprofile-gas: maybe-configure-stageprofile-intl
50602 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
50603 all-gas: maybe-all-libiberty
50605 all-stage1-gas: maybe-all-stage1-libiberty
50606 all-stage2-gas: maybe-all-stage2-libiberty
50607 all-stage3-gas: maybe-all-stage3-libiberty
50608 all-stage4-gas: maybe-all-stage4-libiberty
50609 all-stageprofile-gas: maybe-all-stageprofile-libiberty
50610 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
50611 all-gas: maybe-all-opcodes
50613 all-stage1-gas: maybe-all-stage1-opcodes
50614 all-stage2-gas: maybe-all-stage2-opcodes
50615 all-stage3-gas: maybe-all-stage3-opcodes
50616 all-stage4-gas: maybe-all-stage4-opcodes
50617 all-stageprofile-gas: maybe-all-stageprofile-opcodes
50618 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
50619 all-gas: maybe-all-bfd
50621 all-stage1-gas: maybe-all-stage1-bfd
50622 all-stage2-gas: maybe-all-stage2-bfd
50623 all-stage3-gas: maybe-all-stage3-bfd
50624 all-stage4-gas: maybe-all-stage4-bfd
50625 all-stageprofile-gas: maybe-all-stageprofile-bfd
50626 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
50627 all-gas: maybe-all-intl
50629 all-stage1-gas: maybe-all-stage1-intl
50630 all-stage2-gas: maybe-all-stage2-intl
50631 all-stage3-gas: maybe-all-stage3-intl
50632 all-stage4-gas: maybe-all-stage4-intl
50633 all-stageprofile-gas: maybe-all-stageprofile-intl
50634 all-stagefeedback-gas: maybe-all-stagefeedback-intl
50635 configure-gprof: maybe-configure-intl
50636 all-gprof: maybe-all-libiberty
50637 all-gprof: maybe-all-bfd
50638 all-gprof: maybe-all-opcodes
50639 all-gprof: maybe-all-intl
50640 all-gprof: maybe-all-gas
50641 configure-ld: maybe-configure-intl
50643 configure-stage1-ld: maybe-configure-stage1-intl
50644 configure-stage2-ld: maybe-configure-stage2-intl
50645 configure-stage3-ld: maybe-configure-stage3-intl
50646 configure-stage4-ld: maybe-configure-stage4-intl
50647 configure-stageprofile-ld: maybe-configure-stageprofile-intl
50648 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
50649 all-ld: maybe-all-libiberty
50651 all-stage1-ld: maybe-all-stage1-libiberty
50652 all-stage2-ld: maybe-all-stage2-libiberty
50653 all-stage3-ld: maybe-all-stage3-libiberty
50654 all-stage4-ld: maybe-all-stage4-libiberty
50655 all-stageprofile-ld: maybe-all-stageprofile-libiberty
50656 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
50657 all-ld: maybe-all-bfd
50659 all-stage1-ld: maybe-all-stage1-bfd
50660 all-stage2-ld: maybe-all-stage2-bfd
50661 all-stage3-ld: maybe-all-stage3-bfd
50662 all-stage4-ld: maybe-all-stage4-bfd
50663 all-stageprofile-ld: maybe-all-stageprofile-bfd
50664 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
50665 all-ld: maybe-all-opcodes
50667 all-stage1-ld: maybe-all-stage1-opcodes
50668 all-stage2-ld: maybe-all-stage2-opcodes
50669 all-stage3-ld: maybe-all-stage3-opcodes
50670 all-stage4-ld: maybe-all-stage4-opcodes
50671 all-stageprofile-ld: maybe-all-stageprofile-opcodes
50672 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
50673 all-ld: maybe-all-build-bison
50675 all-stage1-ld: maybe-all-build-bison
50676 all-stage2-ld: maybe-all-build-bison
50677 all-stage3-ld: maybe-all-build-bison
50678 all-stage4-ld: maybe-all-build-bison
50679 all-stageprofile-ld: maybe-all-build-bison
50680 all-stagefeedback-ld: maybe-all-build-bison
50681 all-ld: maybe-all-build-flex
50683 all-stage1-ld: maybe-all-build-flex
50684 all-stage2-ld: maybe-all-build-flex
50685 all-stage3-ld: maybe-all-build-flex
50686 all-stage4-ld: maybe-all-build-flex
50687 all-stageprofile-ld: maybe-all-build-flex
50688 all-stagefeedback-ld: maybe-all-build-flex
50689 all-ld: maybe-all-intl
50691 all-stage1-ld: maybe-all-stage1-intl
50692 all-stage2-ld: maybe-all-stage2-intl
50693 all-stage3-ld: maybe-all-stage3-intl
50694 all-stage4-ld: maybe-all-stage4-intl
50695 all-stageprofile-ld: maybe-all-stageprofile-intl
50696 all-stagefeedback-ld: maybe-all-stagefeedback-intl
50697 all-ld: maybe-all-gas
50699 all-stage1-ld: maybe-all-stage1-gas
50700 all-stage2-ld: maybe-all-stage2-gas
50701 all-stage3-ld: maybe-all-stage3-gas
50702 all-stage4-ld: maybe-all-stage4-gas
50703 all-stageprofile-ld: maybe-all-stageprofile-gas
50704 all-stagefeedback-ld: maybe-all-stagefeedback-gas
50705 all-ld: maybe-all-binutils
50707 all-stage1-ld: maybe-all-stage1-binutils
50708 all-stage2-ld: maybe-all-stage2-binutils
50709 all-stage3-ld: maybe-all-stage3-binutils
50710 all-stage4-ld: maybe-all-stage4-binutils
50711 all-stageprofile-ld: maybe-all-stageprofile-binutils
50712 all-stagefeedback-ld: maybe-all-stagefeedback-binutils
50713 install-ld: maybe-install-gold
50714 install-strip-ld: maybe-install-strip-gold
50715 configure-gold: maybe-configure-intl
50717 configure-stage1-gold: maybe-configure-stage1-intl
50718 configure-stage2-gold: maybe-configure-stage2-intl
50719 configure-stage3-gold: maybe-configure-stage3-intl
50720 configure-stage4-gold: maybe-configure-stage4-intl
50721 configure-stageprofile-gold: maybe-configure-stageprofile-intl
50722 configure-stagefeedback-gold: maybe-configure-stagefeedback-intl
50723 all-gold: maybe-all-libiberty
50725 all-stage1-gold: maybe-all-stage1-libiberty
50726 all-stage2-gold: maybe-all-stage2-libiberty
50727 all-stage3-gold: maybe-all-stage3-libiberty
50728 all-stage4-gold: maybe-all-stage4-libiberty
50729 all-stageprofile-gold: maybe-all-stageprofile-libiberty
50730 all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
50731 all-gold: maybe-all-intl
50733 all-stage1-gold: maybe-all-stage1-intl
50734 all-stage2-gold: maybe-all-stage2-intl
50735 all-stage3-gold: maybe-all-stage3-intl
50736 all-stage4-gold: maybe-all-stage4-intl
50737 all-stageprofile-gold: maybe-all-stageprofile-intl
50738 all-stagefeedback-gold: maybe-all-stagefeedback-intl
50739 all-gold: maybe-all-bfd
50741 all-stage1-gold: maybe-all-stage1-bfd
50742 all-stage2-gold: maybe-all-stage2-bfd
50743 all-stage3-gold: maybe-all-stage3-bfd
50744 all-stage4-gold: maybe-all-stage4-bfd
50745 all-stageprofile-gold: maybe-all-stageprofile-bfd
50746 all-stagefeedback-gold: maybe-all-stagefeedback-bfd
50747 all-gold: maybe-all-build-bison
50749 all-stage1-gold: maybe-all-build-bison
50750 all-stage2-gold: maybe-all-build-bison
50751 all-stage3-gold: maybe-all-build-bison
50752 all-stage4-gold: maybe-all-build-bison
50753 all-stageprofile-gold: maybe-all-build-bison
50754 all-stagefeedback-gold: maybe-all-build-bison
50755 all-gold: maybe-all-gas
50757 all-stage1-gold: maybe-all-stage1-gas
50758 all-stage2-gold: maybe-all-stage2-gas
50759 all-stage3-gold: maybe-all-stage3-gas
50760 all-stage4-gold: maybe-all-stage4-gas
50761 all-stageprofile-gold: maybe-all-stageprofile-gas
50762 all-stagefeedback-gold: maybe-all-stagefeedback-gas
50763 check-gold: maybe-all-binutils
50765 check-stage1-gold: maybe-all-stage1-binutils
50766 check-stage2-gold: maybe-all-stage2-binutils
50767 check-stage3-gold: maybe-all-stage3-binutils
50768 check-stage4-gold: maybe-all-stage4-binutils
50769 check-stageprofile-gold: maybe-all-stageprofile-binutils
50770 check-stagefeedback-gold: maybe-all-stagefeedback-binutils
50771 check-gold: maybe-all-gas
50773 check-stage1-gold: maybe-all-stage1-gas
50774 check-stage2-gold: maybe-all-stage2-gas
50775 check-stage3-gold: maybe-all-stage3-gas
50776 check-stage4-gold: maybe-all-stage4-gas
50777 check-stageprofile-gold: maybe-all-stageprofile-gas
50778 check-stagefeedback-gold: maybe-all-stagefeedback-gas
50779 configure-opcodes: maybe-configure-intl
50781 configure-stage1-opcodes: maybe-configure-stage1-intl
50782 configure-stage2-opcodes: maybe-configure-stage2-intl
50783 configure-stage3-opcodes: maybe-configure-stage3-intl
50784 configure-stage4-opcodes: maybe-configure-stage4-intl
50785 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
50786 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
50787 all-opcodes: maybe-all-bfd
50789 all-stage1-opcodes: maybe-all-stage1-bfd
50790 all-stage2-opcodes: maybe-all-stage2-bfd
50791 all-stage3-opcodes: maybe-all-stage3-bfd
50792 all-stage4-opcodes: maybe-all-stage4-bfd
50793 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
50794 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
50795 all-opcodes: maybe-all-libiberty
50797 all-stage1-opcodes: maybe-all-stage1-libiberty
50798 all-stage2-opcodes: maybe-all-stage2-libiberty
50799 all-stage3-opcodes: maybe-all-stage3-libiberty
50800 all-stage4-opcodes: maybe-all-stage4-libiberty
50801 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
50802 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
50803 all-opcodes: maybe-all-intl
50805 all-stage1-opcodes: maybe-all-stage1-intl
50806 all-stage2-opcodes: maybe-all-stage2-intl
50807 all-stage3-opcodes: maybe-all-stage3-intl
50808 all-stage4-opcodes: maybe-all-stage4-intl
50809 all-stageprofile-opcodes: maybe-all-stageprofile-intl
50810 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
50811 all-dejagnu: maybe-all-tcl
50812 all-dejagnu: maybe-all-expect
50813 all-dejagnu: maybe-all-tk
50814 configure-expect: maybe-configure-tcl
50815 configure-expect: maybe-configure-tk
50816 all-expect: maybe-all-tcl
50817 all-expect: maybe-all-tk
50818 configure-itcl: maybe-configure-tcl
50819 configure-itcl: maybe-configure-tk
50820 all-itcl: maybe-all-tcl
50821 all-itcl: maybe-all-tk
50822 install-itcl: maybe-install-tcl
50823 install-strip-itcl: maybe-install-strip-tcl
50824 configure-tk: maybe-configure-tcl
50825 all-tk: maybe-all-tcl
50826 all-sid: maybe-all-libiberty
50827 all-sid: maybe-all-bfd
50828 all-sid: maybe-all-opcodes
50829 all-sid: maybe-all-tcl
50830 all-sid: maybe-all-tk
50831 install-sid: maybe-install-tcl
50832 install-strip-sid: maybe-install-strip-tcl
50833 install-sid: maybe-install-tk
50834 install-strip-sid: maybe-install-strip-tk
50835 configure-sim: maybe-configure-intl
50836 all-sim: maybe-all-intl
50837 all-sim: maybe-all-libiberty
50838 all-sim: maybe-all-bfd
50839 all-sim: maybe-all-opcodes
50840 all-sim: maybe-all-readline
50841 all-sim: maybe-configure-gdb
50842 all-fastjar: maybe-all-zlib
50843 all-fastjar: maybe-all-build-texinfo
50844 all-fastjar: maybe-all-libiberty
50845 all-bison: maybe-all-intl
50846 all-bison: maybe-all-build-texinfo
50847 all-flex: maybe-all-build-bison
50848 all-flex: maybe-all-intl
50849 all-flex: maybe-all-m4
50850 all-flex: maybe-all-build-texinfo
50851 all-m4: maybe-all-intl
50852 all-m4: maybe-all-build-texinfo
50853 configure-target-boehm-gc: maybe-all-target-libstdc++-v3
50854 configure-target-fastjar: maybe-configure-target-zlib
50855 all-target-fastjar: maybe-all-target-zlib
50856 configure-target-libgo: maybe-configure-target-libffi
50857 configure-target-libgo: maybe-all-target-libstdc++-v3
50858 all-target-libgo: maybe-all-target-libbacktrace
50859 all-target-libgo: maybe-all-target-libffi
50860 all-target-libgo: maybe-all-target-libatomic
50861 configure-target-libjava: maybe-configure-target-zlib
50862 configure-target-libjava: maybe-configure-target-boehm-gc
50863 configure-target-libjava: maybe-configure-target-libffi
50864 all-target-libjava: maybe-all-fastjar
50865 all-target-libjava: maybe-all-target-zlib
50866 all-target-libjava: maybe-all-target-boehm-gc
50867 all-target-libjava: maybe-all-target-libffi
50868 configure-target-libobjc: maybe-configure-target-boehm-gc
50869 all-target-libobjc: maybe-all-target-boehm-gc
50870 configure-target-libstdc++-v3: maybe-configure-target-libgomp
50872 configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
50873 configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
50874 configure-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
50875 configure-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
50876 configure-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
50877 configure-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
50878 configure-target-liboffloadmic: maybe-configure-target-libgomp
50879 configure-target-libsanitizer: maybe-all-target-libstdc++-v3
50881 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libstdc++-v3
50882 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libstdc++-v3
50883 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libstdc++-v3
50884 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libstdc++-v3
50885 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libstdc++-v3
50886 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libstdc++-v3
50887 configure-target-libvtv: maybe-all-target-libstdc++-v3
50889 configure-stage1-target-libvtv: maybe-all-stage1-target-libstdc++-v3
50890 configure-stage2-target-libvtv: maybe-all-stage2-target-libstdc++-v3
50891 configure-stage3-target-libvtv: maybe-all-stage3-target-libstdc++-v3
50892 configure-stage4-target-libvtv: maybe-all-stage4-target-libstdc++-v3
50893 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libstdc++-v3
50894 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libstdc++-v3
50895 all-target-libstdc++-v3: maybe-configure-target-libgomp
50897 all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
50898 all-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
50899 all-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
50900 all-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
50901 all-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
50902 all-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
50903 all-target-liboffloadmic: maybe-all-target-libgomp
50904 install-target-libgo: maybe-install-target-libatomic
50905 install-target-libgfortran: maybe-install-target-libquadmath
50906 install-target-libgfortran: maybe-install-target-libgcc
50907 install-target-libsanitizer: maybe-install-target-libstdc++-v3
50908 install-target-libsanitizer: maybe-install-target-libgcc
50909 install-target-libvtv: maybe-install-target-libstdc++-v3
50910 install-target-libvtv: maybe-install-target-libgcc
50911 install-target-libcilkrts: maybe-install-target-libstdc++-v3
50912 install-target-libcilkrts: maybe-install-target-libgcc
50913 install-target-liboffloadmic: maybe-install-target-libstdc++-v3
50914 install-target-liboffloadmic: maybe-install-target-libgcc
50915 install-target-libjava: maybe-install-target-libgcc
50916 install-target-libitm: maybe-install-target-libgcc
50917 install-target-libobjc: maybe-install-target-libgcc
50918 install-target-libstdc++-v3: maybe-install-target-libgcc
50919 all-target-libgloss: maybe-all-target-newlib
50920 all-target-winsup: maybe-all-target-libtermcap
50921 configure-target-newlib: maybe-all-binutils
50922 configure-target-newlib: maybe-all-ld
50923 configure-target-libgfortran: maybe-all-target-libquadmath
50924 configure-target-libgfortran: maybe-all-target-libbacktrace
50927 # Dependencies for target modules on other target modules are
50928 # described by lang_env_dependencies; the defaults apply to anything
50929 # not mentioned there.
50932 @if gcc-bootstrap
50933 configure-stage1-target-libstdc++-v3: maybe-all-stage1-target-libgcc
50934 configure-stage2-target-libstdc++-v3: maybe-all-stage2-target-libgcc
50935 configure-stage3-target-libstdc++-v3: maybe-all-stage3-target-libgcc
50936 configure-stage4-target-libstdc++-v3: maybe-all-stage4-target-libgcc
50937 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-target-libgcc
50938 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-target-libgcc
50939 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libgcc
50940 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libgcc
50941 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libgcc
50942 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libgcc
50943 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libgcc
50944 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libgcc
50945 configure-stage1-target-libmpx: maybe-all-stage1-target-libgcc
50946 configure-stage2-target-libmpx: maybe-all-stage2-target-libgcc
50947 configure-stage3-target-libmpx: maybe-all-stage3-target-libgcc
50948 configure-stage4-target-libmpx: maybe-all-stage4-target-libgcc
50949 configure-stageprofile-target-libmpx: maybe-all-stageprofile-target-libgcc
50950 configure-stagefeedback-target-libmpx: maybe-all-stagefeedback-target-libgcc
50951 configure-stage1-target-libvtv: maybe-all-stage1-target-libgcc
50952 configure-stage2-target-libvtv: maybe-all-stage2-target-libgcc
50953 configure-stage3-target-libvtv: maybe-all-stage3-target-libgcc
50954 configure-stage4-target-libvtv: maybe-all-stage4-target-libgcc
50955 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libgcc
50956 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libgcc
50957 configure-stage1-target-libgomp: maybe-all-stage1-target-libgcc
50958 configure-stage2-target-libgomp: maybe-all-stage2-target-libgcc
50959 configure-stage3-target-libgomp: maybe-all-stage3-target-libgcc
50960 configure-stage4-target-libgomp: maybe-all-stage4-target-libgcc
50961 configure-stageprofile-target-libgomp: maybe-all-stageprofile-target-libgcc
50962 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc
50963 @endif gcc-bootstrap
50965 @if gcc-no-bootstrap
50966 configure-target-libstdc++-v3: maybe-all-target-libgcc
50967 configure-target-libsanitizer: maybe-all-target-libgcc
50968 configure-target-libmpx: maybe-all-target-libgcc
50969 configure-target-libvtv: maybe-all-target-libgcc
50970 configure-target-libcilkrts: maybe-all-target-libgcc
50971 configure-target-liboffloadmic: maybe-all-target-libgcc
50972 configure-target-libssp: maybe-all-target-libgcc
50973 configure-target-newlib: maybe-all-target-libgcc
50974 configure-target-libbacktrace: maybe-all-target-libgcc
50975 configure-target-libquadmath: maybe-all-target-libgcc
50976 configure-target-libgfortran: maybe-all-target-libgcc
50977 configure-target-libobjc: maybe-all-target-libgcc
50978 configure-target-libgo: maybe-all-target-libgcc
50979 configure-target-libtermcap: maybe-all-target-libgcc
50980 configure-target-winsup: maybe-all-target-libgcc
50981 configure-target-libgloss: maybe-all-target-libgcc
50982 configure-target-libffi: maybe-all-target-libgcc
50983 configure-target-libjava: maybe-all-target-libgcc
50984 configure-target-zlib: maybe-all-target-libgcc
50985 configure-target-boehm-gc: maybe-all-target-libgcc
50986 configure-target-rda: maybe-all-target-libgcc
50987 configure-target-libada: maybe-all-target-libgcc
50988 configure-target-libgomp: maybe-all-target-libgcc
50989 configure-target-libitm: maybe-all-target-libgcc
50990 configure-target-libatomic: maybe-all-target-libgcc
50991 @endif gcc-no-bootstrap
50994 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
50996 configure-target-libsanitizer: maybe-all-target-newlib maybe-all-target-libgloss
50998 configure-target-libmpx: maybe-all-target-newlib maybe-all-target-libgloss
51000 configure-target-libvtv: maybe-all-target-newlib maybe-all-target-libgloss
51002 configure-target-libcilkrts: maybe-all-target-newlib maybe-all-target-libgloss
51003 configure-target-libcilkrts: maybe-all-target-libstdc++-v3
51005 configure-target-liboffloadmic: maybe-all-target-newlib maybe-all-target-libgloss
51006 configure-target-liboffloadmic: maybe-all-target-libstdc++-v3
51008 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
51012 configure-target-libbacktrace: maybe-all-target-newlib maybe-all-target-libgloss
51014 configure-target-libquadmath: maybe-all-target-newlib maybe-all-target-libgloss
51016 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
51018 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
51020 configure-target-libgo: maybe-all-target-newlib maybe-all-target-libgloss
51022 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
51024 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
51027 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
51029 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
51030 configure-target-libjava: maybe-all-target-libstdc++-v3
51032 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
51034 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
51036 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
51038 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
51040 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
51042 configure-target-libitm: maybe-all-target-newlib maybe-all-target-libgloss
51043 configure-target-libitm: maybe-all-target-libstdc++-v3
51045 configure-target-libatomic: maybe-all-target-newlib maybe-all-target-libgloss
51048 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
51049 GDB_TK = @GDB_TK@
51050 INSTALL_GDB_TK = @INSTALL_GDB_TK@
51051 configure-gdb: $(CONFIGURE_GDB_TK)
51052 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
51053 install-gdb: $(INSTALL_GDB_TK)
51055 # Serialization dependencies. Host configures don't work well in parallel to
51056 # each other, due to contention over config.cache. Target configures and
51057 # build configures are similar.
51058 @serialization_dependencies@
51060 # --------------------------------
51061 # Regenerating top level configury
51062 # --------------------------------
51064 # Rebuilding Makefile.in, using autogen.
51065 AUTOGEN = autogen
51066 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
51067 cd $(srcdir) && $(AUTOGEN) Makefile.def
51069 # Rebuilding Makefile.
51070 Makefile: $(srcdir)/Makefile.in config.status
51071 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
51073 config.status: configure
51074 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
51076 # Rebuilding configure.
51077 AUTOCONF = autoconf
51078 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
51079 $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4
51080 cd $(srcdir) && $(AUTOCONF)
51082 # ------------------------------
51083 # Special directives to GNU Make
51084 # ------------------------------
51086 # Don't pass command-line variables to submakes.
51087 .NOEXPORT:
51088 MAKEOVERRIDES=
51090 # end of Makefile.in