re PR tree-optimization/52252 (An opportunity for x86 gcc vectorizer (gain up to...
[official-gcc.git] / Makefile.in
blob329af7fb6f48eed3311c4eced3bf64a7b3d7eb74
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 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
217 READELF_FOR_TARGET="$(READELF_FOR_TARGET)"; export READELF_FOR_TARGET; \
218 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
219 HOST_LIBS="$(STAGE1_LIBS)"; export HOST_LIBS; \
220 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
221 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
222 ISLINC="$(HOST_ISLINC)"; export ISLINC; \
223 CLOOGLIBS="$(HOST_CLOOGLIBS)"; export CLOOGLIBS; \
224 CLOOGINC="$(HOST_CLOOGINC)"; export CLOOGINC; \
225 LIBELFLIBS="$(HOST_LIBELFLIBS)" ; export LIBELFLIBS; \
226 LIBELFINC="$(HOST_LIBELFINC)" ; export LIBELFINC; \
227 @if gcc-bootstrap
228 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
229 @endif gcc-bootstrap
230 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
232 POSTSTAGE1_CXX_EXPORT = \
233 CXX='$(CXX)'; export CXX; \
234 CXX_FOR_BUILD='$(CXX_FOR_BUILD)'; export CXX_FOR_BUILD;
235 @if target-libstdc++-v3-bootstrap
236 # Override the above if we're bootstrapping C++.
237 POSTSTAGE1_CXX_EXPORT = \
238 CXX="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xg++$(exeext) \
239 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \
240 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
241 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
242 `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 GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind"; export GNATBIND; \
260 LDFLAGS="$(POSTSTAGE1_LDFLAGS) $(BOOT_LDFLAGS)"; export LDFLAGS; \
261 HOST_LIBS="$(POSTSTAGE1_LIBS)"; export HOST_LIBS;
263 # Target libraries are put under this directory:
264 TARGET_SUBDIR = @target_subdir@
265 # This is set by the configure script to the arguments to use when configuring
266 # directories built for the target.
267 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
268 # This is the list of variables to export in the environment when
269 # configuring subdirectories for the target system.
270 BASE_TARGET_EXPORTS = \
271 $(BASE_EXPORTS) \
272 AR="$(AR_FOR_TARGET)"; export AR; \
273 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
274 CC="$(CC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
275 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
276 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
277 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
278 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
279 GCJ="$(GCJ_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GCJ; \
280 GFORTRAN="$(GFORTRAN_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GFORTRAN; \
281 GOC="$(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GOC; \
282 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
283 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
284 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
285 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
286 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
287 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
288 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
289 READELF="$(READELF_FOR_TARGET)"; export READELF; \
290 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
291 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
292 WINDMC="$(WINDMC_FOR_TARGET)"; export WINDMC; \
293 @if gcc-bootstrap
294 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
295 @endif gcc-bootstrap
296 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
297 TARGET_CONFIGDIRS="$(TARGET_CONFIGDIRS)"; export TARGET_CONFIGDIRS;
299 RAW_CXX_TARGET_EXPORTS = \
300 $(BASE_TARGET_EXPORTS) \
301 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
302 CXX="$(RAW_CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
304 NORMAL_TARGET_EXPORTS = \
305 $(BASE_TARGET_EXPORTS) \
306 CXX="$(CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
308 # Where to find GMP
309 HOST_GMPLIBS = @gmplibs@
310 HOST_GMPINC = @gmpinc@
312 # Where to find ISL
313 HOST_ISLINC = @islinc@
315 # Where to find CLOOG
316 HOST_CLOOGLIBS = @clooglibs@
317 HOST_CLOOGINC = @clooginc@
319 # Where to find libelf
320 HOST_LIBELFLIBS = @libelflibs@
321 HOST_LIBELFINC = @libelfinc@
323 EXTRA_CONFIGARGS_LIBJAVA = @EXTRA_CONFIGARGS_LIBJAVA@
325 # ----------------------------------------------
326 # Programs producing files for the BUILD machine
327 # ----------------------------------------------
329 SHELL = @SHELL@
331 # pwd command to use. Allow user to override default by setting PWDCMD in
332 # the environment to account for automounters. The make variable must not
333 # be called PWDCMD, otherwise the value set here is passed to make
334 # subprocesses and overrides the setting from the user's environment.
335 # Don't use PWD since it is a common shell environment variable and we
336 # don't want to corrupt it.
337 PWD_COMMAND = $${PWDCMD-pwd}
339 # compilers to use to create programs which must be run in the build
340 # environment.
341 AR_FOR_BUILD = @AR_FOR_BUILD@
342 AS_FOR_BUILD = @AS_FOR_BUILD@
343 CC_FOR_BUILD = @CC_FOR_BUILD@
344 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
345 CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
346 CXX_FOR_BUILD = @CXX_FOR_BUILD@
347 DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@
348 GCJ_FOR_BUILD = @GCJ_FOR_BUILD@
349 GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@
350 GOC_FOR_BUILD = @GOC_FOR_BUILD@
351 LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
352 LD_FOR_BUILD = @LD_FOR_BUILD@
353 NM_FOR_BUILD = @NM_FOR_BUILD@
354 RANLIB_FOR_BUILD = @RANLIB_FOR_BUILD@
355 WINDMC_FOR_BUILD = @WINDMC_FOR_BUILD@
356 WINDRES_FOR_BUILD = @WINDRES_FOR_BUILD@
358 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
359 # here so that they can be overridden by Makefile fragments.
360 BUILD_PREFIX = @BUILD_PREFIX@
361 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
363 # Flags to pass to stage2 and later makes. They are defined
364 # here so that they can be overridden by Makefile fragments.
365 BOOT_CFLAGS= -g -O2
366 BOOT_LDFLAGS=
367 BOOT_ADAFLAGS= -gnatpg
369 AWK = @AWK@
370 SED = @SED@
371 BISON = @BISON@
372 YACC = @YACC@
373 FLEX = @FLEX@
374 LEX = @LEX@
375 M4 = @M4@
376 MAKEINFO = @MAKEINFO@
377 EXPECT = @EXPECT@
378 RUNTEST = @RUNTEST@
380 # This just becomes part of the MAKEINFO definition passed down to
381 # sub-makes. It lets flags be given on the command line while still
382 # using the makeinfo from the object tree.
383 # (Default to avoid splitting info files by setting the threshold high.)
384 MAKEINFOFLAGS = --split-size=5000000
386 # ---------------------------------------------
387 # Programs producing files for the HOST machine
388 # ---------------------------------------------
390 AS = @AS@
391 AR = @AR@
392 AR_FLAGS = rc
393 CC = @CC@
394 CXX = @CXX@
395 DLLTOOL = @DLLTOOL@
396 LD = @LD@
397 LIPO = @LIPO@
398 NM = @NM@
399 OBJDUMP = @OBJDUMP@
400 RANLIB = @RANLIB@
401 READELF = @READELF@
402 STRIP = @STRIP@
403 WINDRES = @WINDRES@
404 WINDMC = @WINDMC@
406 GNATBIND = @GNATBIND@
407 GNATMAKE = @GNATMAKE@
409 CFLAGS = @CFLAGS@
410 LDFLAGS = @LDFLAGS@
411 LIBCFLAGS = $(CFLAGS)
412 CXXFLAGS = @CXXFLAGS@
413 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
414 GOCFLAGS = $(CFLAGS)
416 TFLAGS =
418 # Defaults for all stages; some are overridden below.
420 STAGE_CFLAGS = $(BOOT_CFLAGS)
421 STAGE_TFLAGS = $(TFLAGS)
422 STAGE_CONFIGURE_FLAGS=@stage2_werror_flag@
425 # Defaults for stage 1; some are overridden below.
426 STAGE1_CFLAGS = $(STAGE_CFLAGS)
427 STAGE1_CXXFLAGS = $(CXXFLAGS)
428 @if target-libstdc++-v3-bootstrap
429 # Override the above if we're bootstrapping C++.
430 STAGE1_CXXFLAGS = $(STAGE1_CFLAGS)
431 @endif target-libstdc++-v3-bootstrap
432 STAGE1_TFLAGS = $(STAGE_TFLAGS)
433 STAGE1_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
435 # Defaults for stage 2; some are overridden below.
436 STAGE2_CFLAGS = $(STAGE_CFLAGS)
437 STAGE2_CXXFLAGS = $(CXXFLAGS)
438 @if target-libstdc++-v3-bootstrap
439 # Override the above if we're bootstrapping C++.
440 STAGE2_CXXFLAGS = $(STAGE2_CFLAGS)
441 @endif target-libstdc++-v3-bootstrap
442 STAGE2_TFLAGS = $(STAGE_TFLAGS)
443 STAGE2_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
445 # Defaults for stage 3; some are overridden below.
446 STAGE3_CFLAGS = $(STAGE_CFLAGS)
447 STAGE3_CXXFLAGS = $(CXXFLAGS)
448 @if target-libstdc++-v3-bootstrap
449 # Override the above if we're bootstrapping C++.
450 STAGE3_CXXFLAGS = $(STAGE3_CFLAGS)
451 @endif target-libstdc++-v3-bootstrap
452 STAGE3_TFLAGS = $(STAGE_TFLAGS)
453 STAGE3_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
455 # Defaults for stage 4; some are overridden below.
456 STAGE4_CFLAGS = $(STAGE_CFLAGS)
457 STAGE4_CXXFLAGS = $(CXXFLAGS)
458 @if target-libstdc++-v3-bootstrap
459 # Override the above if we're bootstrapping C++.
460 STAGE4_CXXFLAGS = $(STAGE4_CFLAGS)
461 @endif target-libstdc++-v3-bootstrap
462 STAGE4_TFLAGS = $(STAGE_TFLAGS)
463 STAGE4_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
465 # Defaults for stage profile; some are overridden below.
466 STAGEprofile_CFLAGS = $(STAGE_CFLAGS)
467 STAGEprofile_CXXFLAGS = $(CXXFLAGS)
468 @if target-libstdc++-v3-bootstrap
469 # Override the above if we're bootstrapping C++.
470 STAGEprofile_CXXFLAGS = $(STAGEprofile_CFLAGS)
471 @endif target-libstdc++-v3-bootstrap
472 STAGEprofile_TFLAGS = $(STAGE_TFLAGS)
473 STAGEprofile_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
475 # Defaults for stage feedback; some are overridden below.
476 STAGEfeedback_CFLAGS = $(STAGE_CFLAGS)
477 STAGEfeedback_CXXFLAGS = $(CXXFLAGS)
478 @if target-libstdc++-v3-bootstrap
479 # Override the above if we're bootstrapping C++.
480 STAGEfeedback_CXXFLAGS = $(STAGEfeedback_CFLAGS)
481 @endif target-libstdc++-v3-bootstrap
482 STAGEfeedback_TFLAGS = $(STAGE_TFLAGS)
483 STAGEfeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
486 # Only build the C compiler for stage1, because that is the only one that
487 # we can guarantee will build with the native compiler, and also it is the
488 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
489 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
490 # overrideable (for a bootstrap build stage1 also builds gcc.info).
492 STAGE1_CFLAGS = @stage1_cflags@
493 STAGE1_CHECKING = @stage1_checking@
494 STAGE1_LANGUAGES = @stage1_languages@
495 # * We force-disable intermodule optimizations, even if
496 # --enable-intermodule was passed, since the installed compiler
497 # probably can't handle them. Luckily, autoconf always respects
498 # the last argument when conflicting --enable arguments are passed.
499 # * Likewise, we force-disable coverage flags, since the installed
500 # compiler probably has never heard of them.
501 # * We also disable -Wformat, since older GCCs don't understand newer %s.
502 STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \
503 --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" \
504 --disable-build-format-warnings
506 STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate
507 STAGEprofile_TFLAGS = $(STAGE2_TFLAGS)
509 STAGEfeedback_CFLAGS = $(STAGE3_CFLAGS) -fprofile-use
510 STAGEfeedback_TFLAGS = $(STAGE3_TFLAGS)
512 do-compare = @do_compare@
513 do-compare3 = $(do-compare)
515 # -----------------------------------------------
516 # Programs producing files for the TARGET machine
517 # -----------------------------------------------
519 AR_FOR_TARGET=@AR_FOR_TARGET@
520 AS_FOR_TARGET=@AS_FOR_TARGET@
521 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@
523 # If GCC_FOR_TARGET is not overriden on the command line, then this
524 # variable is passed down to the gcc Makefile, where it is used to
525 # build libgcc2.a. We define it here so that it can itself be
526 # overridden on the command line.
527 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@
528 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@
529 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@
530 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@
531 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@
532 GOC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GOC_FOR_TARGET@
533 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
534 LD_FOR_TARGET=@LD_FOR_TARGET@
536 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
537 NM_FOR_TARGET=@NM_FOR_TARGET@
538 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
539 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
540 READELF_FOR_TARGET=@READELF_FOR_TARGET@
541 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
542 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
543 WINDMC_FOR_TARGET=@WINDMC_FOR_TARGET@
545 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
546 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
547 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
549 CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@
550 CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
552 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
553 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
554 LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@
555 GOCFLAGS_FOR_TARGET = -O2 -g
557 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
558 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
559 DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@
561 XGCC_FLAGS_FOR_TARGET = $(FLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)
563 # ------------------------------------
564 # Miscellaneous targets and flag lists
565 # ------------------------------------
567 # The first rule in the file had better be this one. Don't put any above it.
568 # This lives here to allow makefile fragments to contain dependencies.
569 all:
571 #### host and target specific makefile fragments come in here.
572 @target_makefile_frag@
573 @alphaieee_frag@
574 @ospace_frag@
575 @host_makefile_frag@
578 # This is the list of directories that may be needed in RPATH_ENVVAR
579 # so that programs built for the target machine work.
580 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libsanitizer)$(TARGET_LIB_PATH_libvtv)$(TARGET_LIB_PATH_libcilkrts)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(TARGET_LIB_PATH_libitm)$(TARGET_LIB_PATH_libatomic)$(HOST_LIB_PATH_gcc)
582 @if target-libstdc++-v3
583 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
584 @endif target-libstdc++-v3
586 @if target-libsanitizer
587 TARGET_LIB_PATH_libsanitizer = $$r/$(TARGET_SUBDIR)/libsanitizer/.libs:
588 @endif target-libsanitizer
590 @if target-libvtv
591 TARGET_LIB_PATH_libvtv = $$r/$(TARGET_SUBDIR)/libvtv/.libs:
592 @endif target-libvtv
594 @if target-libcilkrts
595 TARGET_LIB_PATH_libcilkrts = $$r/$(TARGET_SUBDIR)/libcilkrts/.libs:
596 @endif target-libcilkrts
598 @if target-libssp
599 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
600 @endif target-libssp
602 @if target-libgomp
603 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
604 @endif target-libgomp
606 @if target-libitm
607 TARGET_LIB_PATH_libitm = $$r/$(TARGET_SUBDIR)/libitm/.libs:
608 @endif target-libitm
610 @if target-libatomic
611 TARGET_LIB_PATH_libatomic = $$r/$(TARGET_SUBDIR)/libatomic/.libs:
612 @endif target-libatomic
616 # This is the list of directories that may be needed in RPATH_ENVVAR
617 # so that programs built for the host machine work.
618 HOST_LIB_PATH = $(HOST_LIB_PATH_gmp)$(HOST_LIB_PATH_mpfr)$(HOST_LIB_PATH_mpc)$(HOST_LIB_PATH_isl)$(HOST_LIB_PATH_cloog)$(HOST_LIB_PATH_libelf)
620 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
621 @if gcc
622 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc$(GCC_SHLIB_SUBDIR):$$r/$(HOST_SUBDIR)/prev-gcc$(GCC_SHLIB_SUBDIR):
623 @endif gcc
626 @if gmp
627 HOST_LIB_PATH_gmp = \
628 $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
629 @endif gmp
631 @if mpfr
632 HOST_LIB_PATH_mpfr = \
633 $$r/$(HOST_SUBDIR)/mpfr/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/.libs:
634 @endif mpfr
636 @if mpc
637 HOST_LIB_PATH_mpc = \
638 $$r/$(HOST_SUBDIR)/mpc/.libs:$$r/$(HOST_SUBDIR)/prev-mpc/.libs:
639 @endif mpc
641 @if isl
642 HOST_LIB_PATH_isl = \
643 $$r/$(HOST_SUBDIR)/isl/.libs:$$r/$(HOST_SUBDIR)/prev-isl/.libs:
644 @endif isl
646 @if cloog
647 HOST_LIB_PATH_cloog = \
648 $$r/$(HOST_SUBDIR)/cloog/.libs:$$r/$(HOST_SUBDIR)/prev-cloog/.libs:
649 @endif cloog
651 @if libelf
652 HOST_LIB_PATH_libelf = \
653 $$r/$(HOST_SUBDIR)/libelf/.libs:$$r/$(HOST_SUBDIR)/prev-libelf/.libs:
654 @endif libelf
657 CXX_FOR_TARGET_FLAG_TO_PASS = \
658 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)"
659 @if target-libstdc++-v3
660 # CXX_FOR_TARGET is tricky to get right for target libs that require a
661 # functional C++ compiler. When we recurse, if we expand
662 # CXX_FOR_TARGET before configuring libstdc++-v3, we won't get
663 # libstdc++ include flags from the script. Instead, we get an
664 # -funconfigured-* word, so that we'll get errors if this invalid C++
665 # command line is used for anything, but also so that we can use the
666 # word to decide whether or not to pass on this CXX_FOR_TARGET. If we
667 # don't pass it on, sub-make will use the default definition, that
668 # re-expands it at the time of use, so we'll get it right when we need
669 # it. One potential exception is the expansion of CXX_FOR_TARGET
670 # passed down as part of CXX within TARGET_FLAGS, but this wouldn't
671 # really work, for C++ host programs can't depend on the current-stage
672 # C++ target library.
673 CXX_FOR_TARGET_FLAG_TO_PASS = \
674 $(shell if echo "$(CXX_FOR_TARGET)" | grep " -funconfigured-" > /dev/null; then :; else echo '"CXX_FOR_TARGET=$(CXX_FOR_TARGET)"'; fi)
675 @endif target-libstdc++-v3
677 # Flags to pass down to all sub-makes.
678 BASE_FLAGS_TO_PASS = \
679 "DESTDIR=$(DESTDIR)" \
680 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
681 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
682 "bindir=$(bindir)" \
683 "datadir=$(datadir)" \
684 "exec_prefix=$(exec_prefix)" \
685 "includedir=$(includedir)" \
686 "datarootdir=$(datarootdir)" \
687 "docdir=$(docdir)" \
688 "infodir=$(infodir)" \
689 "pdfdir=$(pdfdir)" \
690 "htmldir=$(htmldir)" \
691 "libdir=$(libdir)" \
692 "libexecdir=$(libexecdir)" \
693 "lispdir=$(lispdir)" \
694 "localstatedir=$(localstatedir)" \
695 "mandir=$(mandir)" \
696 "oldincludedir=$(oldincludedir)" \
697 "prefix=$(prefix)" \
698 "sbindir=$(sbindir)" \
699 "sharedstatedir=$(sharedstatedir)" \
700 "sysconfdir=$(sysconfdir)" \
701 "tooldir=$(tooldir)" \
702 "build_tooldir=$(build_tooldir)" \
703 "target_alias=$(target_alias)" \
704 "AWK=$(AWK)" \
705 "BISON=$(BISON)" \
706 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
707 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
708 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
709 "EXPECT=$(EXPECT)" \
710 "FLEX=$(FLEX)" \
711 "INSTALL=$(INSTALL)" \
712 "INSTALL_DATA=$(INSTALL_DATA)" \
713 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
714 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
715 "LDFLAGS_FOR_BUILD=$(LDFLAGS_FOR_BUILD)" \
716 "LEX=$(LEX)" \
717 "M4=$(M4)" \
718 "MAKE=$(MAKE)" \
719 "RUNTEST=$(RUNTEST)" \
720 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
721 "SED=$(SED)" \
722 "SHELL=$(SHELL)" \
723 "YACC=$(YACC)" \
724 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
725 "ADA_CFLAGS=$(ADA_CFLAGS)" \
726 "AR_FLAGS=$(AR_FLAGS)" \
727 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
728 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
729 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
730 "CFLAGS=$(CFLAGS)" \
731 "CXXFLAGS=$(CXXFLAGS)" \
732 "LDFLAGS=$(LDFLAGS)" \
733 "LIBCFLAGS=$(LIBCFLAGS)" \
734 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
735 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
736 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
737 "GNATBIND=$(GNATBIND)" \
738 "GNATMAKE=$(GNATMAKE)" \
739 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
740 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
741 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
742 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
743 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
744 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
745 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
746 "FLAGS_FOR_TARGET=$(FLAGS_FOR_TARGET)" \
747 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
748 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
749 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
750 "GOCFLAGS_FOR_TARGET=$(GOCFLAGS_FOR_TARGET)" \
751 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
752 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
753 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
754 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
755 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
756 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
757 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
758 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
759 "READELF_FOR_TARGET=$(READELF_FOR_TARGET)" \
760 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
761 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
762 "WINDMC_FOR_TARGET=$(WINDMC_FOR_TARGET)" \
763 "BUILD_CONFIG=$(BUILD_CONFIG)" \
764 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
765 "LEAN=$(LEAN)" \
766 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
767 "STAGE1_CXXFLAGS=$(STAGE1_CXXFLAGS)" \
768 "STAGE1_TFLAGS=$(STAGE1_TFLAGS)" \
769 "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \
770 "STAGE2_CXXFLAGS=$(STAGE2_CXXFLAGS)" \
771 "STAGE2_TFLAGS=$(STAGE2_TFLAGS)" \
772 "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \
773 "STAGE3_CXXFLAGS=$(STAGE3_CXXFLAGS)" \
774 "STAGE3_TFLAGS=$(STAGE3_TFLAGS)" \
775 "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \
776 "STAGE4_CXXFLAGS=$(STAGE4_CXXFLAGS)" \
777 "STAGE4_TFLAGS=$(STAGE4_TFLAGS)" \
778 "STAGEprofile_CFLAGS=$(STAGEprofile_CFLAGS)" \
779 "STAGEprofile_CXXFLAGS=$(STAGEprofile_CXXFLAGS)" \
780 "STAGEprofile_TFLAGS=$(STAGEprofile_TFLAGS)" \
781 "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \
782 "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \
783 "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \
784 $(CXX_FOR_TARGET_FLAG_TO_PASS) \
785 "TFLAGS=$(TFLAGS)" \
786 "CONFIG_SHELL=$(SHELL)" \
787 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
789 # We leave this in just in case, but it is not needed anymore.
790 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
792 # Flags to pass down to most sub-makes, in which we're building with
793 # the host environment.
794 EXTRA_HOST_FLAGS = \
795 'AR=$(AR)' \
796 'AS=$(AS)' \
797 'CC=$(CC)' \
798 'CXX=$(CXX)' \
799 'DLLTOOL=$(DLLTOOL)' \
800 'GCJ=$(GCJ)' \
801 'GFORTRAN=$(GFORTRAN)' \
802 'GOC=$(GOC)' \
803 'LD=$(LD)' \
804 'LIPO=$(LIPO)' \
805 'NM=$(NM)' \
806 'OBJDUMP=$(OBJDUMP)' \
807 'RANLIB=$(RANLIB)' \
808 'READELF=$(READELF)' \
809 'STRIP=$(STRIP)' \
810 'WINDRES=$(WINDRES)' \
811 'WINDMC=$(WINDMC)'
813 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
815 # Flags to pass to stage1 or when not bootstrapping.
817 STAGE1_FLAGS_TO_PASS = \
818 LDFLAGS="$${LDFLAGS}" \
819 HOST_LIBS="$${HOST_LIBS}"
821 # Flags to pass to stage2 and later makes.
823 POSTSTAGE1_FLAGS_TO_PASS = \
824 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
825 CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \
826 GNATBIND="$${GNATBIND}" \
827 LDFLAGS="$${LDFLAGS}" \
828 HOST_LIBS="$${HOST_LIBS}" \
829 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
831 # Flags to pass down to makes which are built with the target environment.
832 # The double $ decreases the length of the command line; those variables
833 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
834 # *_CFLAGS_FOR_TARGET variables are not passed down and most often empty,
835 # so we expand them here.
836 EXTRA_TARGET_FLAGS = \
837 'AR=$$(AR_FOR_TARGET)' \
838 'AS=$(COMPILER_AS_FOR_TARGET)' \
839 'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
840 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
841 'CXX=$$(CXX_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
842 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
843 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
844 'GCJ=$$(GCJ_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
845 'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
846 'GOC=$$(GOC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
847 'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \
848 'LD=$(COMPILER_LD_FOR_TARGET)' \
849 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
850 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
851 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
852 'NM=$(COMPILER_NM_FOR_TARGET)' \
853 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
854 'RANLIB=$$(RANLIB_FOR_TARGET)' \
855 'READELF=$$(READELF_FOR_TARGET)' \
856 'WINDRES=$$(WINDRES_FOR_TARGET)' \
857 'WINDMC=$$(WINDMC_FOR_TARGET)' \
858 'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \
859 "TFLAGS=$$TFLAGS"
861 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
863 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
864 # unfortunately needs the native compiler and the target ar and
865 # ranlib.
866 # If any variables are added here, they must be added to do-*, below.
867 # The BUILD_* variables are a special case, which are used for the gcc
868 # cross-building scheme.
869 EXTRA_GCC_FLAGS = \
870 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
871 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
872 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
874 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
876 @if gcc
877 BUILD_CONFIG = @BUILD_CONFIG@
878 ifneq ($(BUILD_CONFIG),)
879 include $(foreach CONFIG, $(BUILD_CONFIG), $(srcdir)/config/$(CONFIG).mk)
880 endif
881 @endif gcc
883 .PHONY: configure-host
884 configure-host: \
885 maybe-configure-bfd \
886 maybe-configure-opcodes \
887 maybe-configure-binutils \
888 maybe-configure-bison \
889 maybe-configure-cgen \
890 maybe-configure-dejagnu \
891 maybe-configure-etc \
892 maybe-configure-fastjar \
893 maybe-configure-fixincludes \
894 maybe-configure-flex \
895 maybe-configure-gas \
896 maybe-configure-gcc \
897 maybe-configure-gmp \
898 maybe-configure-mpfr \
899 maybe-configure-mpc \
900 maybe-configure-isl \
901 maybe-configure-cloog \
902 maybe-configure-libelf \
903 maybe-configure-gold \
904 maybe-configure-gprof \
905 maybe-configure-intl \
906 maybe-configure-tcl \
907 maybe-configure-itcl \
908 maybe-configure-ld \
909 maybe-configure-libbacktrace \
910 maybe-configure-libcpp \
911 maybe-configure-libdecnumber \
912 maybe-configure-libgui \
913 maybe-configure-libiberty \
914 maybe-configure-libiberty-linker-plugin \
915 maybe-configure-libiconv \
916 maybe-configure-m4 \
917 maybe-configure-readline \
918 maybe-configure-sid \
919 maybe-configure-sim \
920 maybe-configure-texinfo \
921 maybe-configure-zlib \
922 maybe-configure-gdb \
923 maybe-configure-expect \
924 maybe-configure-guile \
925 maybe-configure-tk \
926 maybe-configure-libtermcap \
927 maybe-configure-utils \
928 maybe-configure-gnattools \
929 maybe-configure-lto-plugin
930 .PHONY: configure-target
931 configure-target: \
932 maybe-configure-target-libstdc++-v3 \
933 maybe-configure-target-libsanitizer \
934 maybe-configure-target-libvtv \
935 maybe-configure-target-libcilkrts \
936 maybe-configure-target-libssp \
937 maybe-configure-target-newlib \
938 maybe-configure-target-libgcc \
939 maybe-configure-target-libbacktrace \
940 maybe-configure-target-libquadmath \
941 maybe-configure-target-libgfortran \
942 maybe-configure-target-libobjc \
943 maybe-configure-target-libgo \
944 maybe-configure-target-libtermcap \
945 maybe-configure-target-winsup \
946 maybe-configure-target-libgloss \
947 maybe-configure-target-libffi \
948 maybe-configure-target-libjava \
949 maybe-configure-target-zlib \
950 maybe-configure-target-boehm-gc \
951 maybe-configure-target-rda \
952 maybe-configure-target-libada \
953 maybe-configure-target-libgomp \
954 maybe-configure-target-libitm \
955 maybe-configure-target-libatomic
957 # The target built for a native non-bootstrap build.
958 .PHONY: all
959 all:
960 @if gcc-bootstrap
961 [ -f stage_final ] || echo stage3 > stage_final
962 @r=`${PWD_COMMAND}`; export r; \
963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
964 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
965 @endif gcc-bootstrap
966 @: $(MAKE); $(unstage)
967 @r=`${PWD_COMMAND}`; export r; \
968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
969 @if gcc-bootstrap
970 if [ -f stage_last ]; then \
971 TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \
972 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
973 else \
974 @endif gcc-bootstrap
975 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
976 @if gcc-bootstrap
978 fi \
979 @endif gcc-bootstrap
980 && :
982 .PHONY: all-build
984 all-build: maybe-all-build-libiberty
985 all-build: maybe-all-build-bison
986 all-build: maybe-all-build-flex
987 all-build: maybe-all-build-m4
988 all-build: maybe-all-build-texinfo
989 all-build: maybe-all-build-fixincludes
991 .PHONY: all-host
993 @if bfd-no-bootstrap
994 all-host: maybe-all-bfd
995 @endif bfd-no-bootstrap
996 @if opcodes-no-bootstrap
997 all-host: maybe-all-opcodes
998 @endif opcodes-no-bootstrap
999 @if binutils-no-bootstrap
1000 all-host: maybe-all-binutils
1001 @endif binutils-no-bootstrap
1002 all-host: maybe-all-bison
1003 all-host: maybe-all-cgen
1004 all-host: maybe-all-dejagnu
1005 all-host: maybe-all-etc
1006 all-host: maybe-all-fastjar
1007 @if fixincludes-no-bootstrap
1008 all-host: maybe-all-fixincludes
1009 @endif fixincludes-no-bootstrap
1010 all-host: maybe-all-flex
1011 @if gas-no-bootstrap
1012 all-host: maybe-all-gas
1013 @endif gas-no-bootstrap
1014 @if gcc-no-bootstrap
1015 all-host: maybe-all-gcc
1016 @endif gcc-no-bootstrap
1017 @if gmp-no-bootstrap
1018 all-host: maybe-all-gmp
1019 @endif gmp-no-bootstrap
1020 @if mpfr-no-bootstrap
1021 all-host: maybe-all-mpfr
1022 @endif mpfr-no-bootstrap
1023 @if mpc-no-bootstrap
1024 all-host: maybe-all-mpc
1025 @endif mpc-no-bootstrap
1026 @if isl-no-bootstrap
1027 all-host: maybe-all-isl
1028 @endif isl-no-bootstrap
1029 @if cloog-no-bootstrap
1030 all-host: maybe-all-cloog
1031 @endif cloog-no-bootstrap
1032 @if libelf-no-bootstrap
1033 all-host: maybe-all-libelf
1034 @endif libelf-no-bootstrap
1035 @if gold-no-bootstrap
1036 all-host: maybe-all-gold
1037 @endif gold-no-bootstrap
1038 all-host: maybe-all-gprof
1039 @if intl-no-bootstrap
1040 all-host: maybe-all-intl
1041 @endif intl-no-bootstrap
1042 all-host: maybe-all-tcl
1043 all-host: maybe-all-itcl
1044 @if ld-no-bootstrap
1045 all-host: maybe-all-ld
1046 @endif ld-no-bootstrap
1047 @if libbacktrace-no-bootstrap
1048 all-host: maybe-all-libbacktrace
1049 @endif libbacktrace-no-bootstrap
1050 @if libcpp-no-bootstrap
1051 all-host: maybe-all-libcpp
1052 @endif libcpp-no-bootstrap
1053 @if libdecnumber-no-bootstrap
1054 all-host: maybe-all-libdecnumber
1055 @endif libdecnumber-no-bootstrap
1056 all-host: maybe-all-libgui
1057 @if libiberty-no-bootstrap
1058 all-host: maybe-all-libiberty
1059 @endif libiberty-no-bootstrap
1060 @if libiberty-linker-plugin-no-bootstrap
1061 all-host: maybe-all-libiberty-linker-plugin
1062 @endif libiberty-linker-plugin-no-bootstrap
1063 all-host: maybe-all-libiconv
1064 all-host: maybe-all-m4
1065 all-host: maybe-all-readline
1066 all-host: maybe-all-sid
1067 all-host: maybe-all-sim
1068 all-host: maybe-all-texinfo
1069 @if zlib-no-bootstrap
1070 all-host: maybe-all-zlib
1071 @endif zlib-no-bootstrap
1072 all-host: maybe-all-gdb
1073 all-host: maybe-all-expect
1074 all-host: maybe-all-guile
1075 all-host: maybe-all-tk
1076 all-host: maybe-all-libtermcap
1077 all-host: maybe-all-utils
1078 all-host: maybe-all-gnattools
1079 @if lto-plugin-no-bootstrap
1080 all-host: maybe-all-lto-plugin
1081 @endif lto-plugin-no-bootstrap
1083 .PHONY: all-target
1085 @if target-libstdc++-v3-no-bootstrap
1086 all-target: maybe-all-target-libstdc++-v3
1087 @endif target-libstdc++-v3-no-bootstrap
1088 @if target-libsanitizer-no-bootstrap
1089 all-target: maybe-all-target-libsanitizer
1090 @endif target-libsanitizer-no-bootstrap
1091 @if target-libvtv-no-bootstrap
1092 all-target: maybe-all-target-libvtv
1093 @endif target-libvtv-no-bootstrap
1094 all-target: maybe-all-target-libcilkrts
1095 all-target: maybe-all-target-libssp
1096 all-target: maybe-all-target-newlib
1097 @if target-libgcc-no-bootstrap
1098 all-target: maybe-all-target-libgcc
1099 @endif target-libgcc-no-bootstrap
1100 all-target: maybe-all-target-libbacktrace
1101 all-target: maybe-all-target-libquadmath
1102 all-target: maybe-all-target-libgfortran
1103 all-target: maybe-all-target-libobjc
1104 all-target: maybe-all-target-libgo
1105 all-target: maybe-all-target-libtermcap
1106 all-target: maybe-all-target-winsup
1107 all-target: maybe-all-target-libgloss
1108 all-target: maybe-all-target-libffi
1109 all-target: maybe-all-target-libjava
1110 all-target: maybe-all-target-zlib
1111 all-target: maybe-all-target-boehm-gc
1112 all-target: maybe-all-target-rda
1113 all-target: maybe-all-target-libada
1114 @if target-libgomp-no-bootstrap
1115 all-target: maybe-all-target-libgomp
1116 @endif target-libgomp-no-bootstrap
1117 all-target: maybe-all-target-libitm
1118 all-target: maybe-all-target-libatomic
1120 # Do a target for all the subdirectories. A ``make do-X'' will do a
1121 # ``make X'' in all subdirectories (because, in general, there is a
1122 # dependency (below) of X upon do-X, a ``make X'' will also do this,
1123 # but it may do additional work as well).
1125 .PHONY: do-info
1126 do-info:
1127 @: $(MAKE); $(unstage)
1128 @r=`${PWD_COMMAND}`; export r; \
1129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1130 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
1131 info-target
1134 .PHONY: info-host
1136 info-host: maybe-info-bfd
1137 info-host: maybe-info-opcodes
1138 info-host: maybe-info-binutils
1139 info-host: maybe-info-bison
1140 info-host: maybe-info-cgen
1141 info-host: maybe-info-dejagnu
1142 info-host: maybe-info-etc
1143 info-host: maybe-info-fastjar
1144 info-host: maybe-info-fixincludes
1145 info-host: maybe-info-flex
1146 info-host: maybe-info-gas
1147 info-host: maybe-info-gcc
1148 info-host: maybe-info-gmp
1149 info-host: maybe-info-mpfr
1150 info-host: maybe-info-mpc
1151 info-host: maybe-info-isl
1152 info-host: maybe-info-cloog
1153 info-host: maybe-info-libelf
1154 info-host: maybe-info-gold
1155 info-host: maybe-info-gprof
1156 info-host: maybe-info-intl
1157 info-host: maybe-info-tcl
1158 info-host: maybe-info-itcl
1159 info-host: maybe-info-ld
1160 info-host: maybe-info-libbacktrace
1161 info-host: maybe-info-libcpp
1162 info-host: maybe-info-libdecnumber
1163 info-host: maybe-info-libgui
1164 info-host: maybe-info-libiberty
1165 info-host: maybe-info-libiberty-linker-plugin
1166 info-host: maybe-info-libiconv
1167 info-host: maybe-info-m4
1168 info-host: maybe-info-readline
1169 info-host: maybe-info-sid
1170 info-host: maybe-info-sim
1171 info-host: maybe-info-texinfo
1172 info-host: maybe-info-zlib
1173 info-host: maybe-info-gdb
1174 info-host: maybe-info-expect
1175 info-host: maybe-info-guile
1176 info-host: maybe-info-tk
1177 info-host: maybe-info-libtermcap
1178 info-host: maybe-info-utils
1179 info-host: maybe-info-gnattools
1180 info-host: maybe-info-lto-plugin
1182 .PHONY: info-target
1184 info-target: maybe-info-target-libstdc++-v3
1185 info-target: maybe-info-target-libsanitizer
1186 info-target: maybe-info-target-libvtv
1187 info-target: maybe-info-target-libcilkrts
1188 info-target: maybe-info-target-libssp
1189 info-target: maybe-info-target-newlib
1190 info-target: maybe-info-target-libgcc
1191 info-target: maybe-info-target-libbacktrace
1192 info-target: maybe-info-target-libquadmath
1193 info-target: maybe-info-target-libgfortran
1194 info-target: maybe-info-target-libobjc
1195 info-target: maybe-info-target-libgo
1196 info-target: maybe-info-target-libtermcap
1197 info-target: maybe-info-target-winsup
1198 info-target: maybe-info-target-libgloss
1199 info-target: maybe-info-target-libffi
1200 info-target: maybe-info-target-libjava
1201 info-target: maybe-info-target-zlib
1202 info-target: maybe-info-target-boehm-gc
1203 info-target: maybe-info-target-rda
1204 info-target: maybe-info-target-libada
1205 info-target: maybe-info-target-libgomp
1206 info-target: maybe-info-target-libitm
1207 info-target: maybe-info-target-libatomic
1209 .PHONY: do-dvi
1210 do-dvi:
1211 @: $(MAKE); $(unstage)
1212 @r=`${PWD_COMMAND}`; export r; \
1213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1214 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1215 dvi-target
1218 .PHONY: dvi-host
1220 dvi-host: maybe-dvi-bfd
1221 dvi-host: maybe-dvi-opcodes
1222 dvi-host: maybe-dvi-binutils
1223 dvi-host: maybe-dvi-bison
1224 dvi-host: maybe-dvi-cgen
1225 dvi-host: maybe-dvi-dejagnu
1226 dvi-host: maybe-dvi-etc
1227 dvi-host: maybe-dvi-fastjar
1228 dvi-host: maybe-dvi-fixincludes
1229 dvi-host: maybe-dvi-flex
1230 dvi-host: maybe-dvi-gas
1231 dvi-host: maybe-dvi-gcc
1232 dvi-host: maybe-dvi-gmp
1233 dvi-host: maybe-dvi-mpfr
1234 dvi-host: maybe-dvi-mpc
1235 dvi-host: maybe-dvi-isl
1236 dvi-host: maybe-dvi-cloog
1237 dvi-host: maybe-dvi-libelf
1238 dvi-host: maybe-dvi-gold
1239 dvi-host: maybe-dvi-gprof
1240 dvi-host: maybe-dvi-intl
1241 dvi-host: maybe-dvi-tcl
1242 dvi-host: maybe-dvi-itcl
1243 dvi-host: maybe-dvi-ld
1244 dvi-host: maybe-dvi-libbacktrace
1245 dvi-host: maybe-dvi-libcpp
1246 dvi-host: maybe-dvi-libdecnumber
1247 dvi-host: maybe-dvi-libgui
1248 dvi-host: maybe-dvi-libiberty
1249 dvi-host: maybe-dvi-libiberty-linker-plugin
1250 dvi-host: maybe-dvi-libiconv
1251 dvi-host: maybe-dvi-m4
1252 dvi-host: maybe-dvi-readline
1253 dvi-host: maybe-dvi-sid
1254 dvi-host: maybe-dvi-sim
1255 dvi-host: maybe-dvi-texinfo
1256 dvi-host: maybe-dvi-zlib
1257 dvi-host: maybe-dvi-gdb
1258 dvi-host: maybe-dvi-expect
1259 dvi-host: maybe-dvi-guile
1260 dvi-host: maybe-dvi-tk
1261 dvi-host: maybe-dvi-libtermcap
1262 dvi-host: maybe-dvi-utils
1263 dvi-host: maybe-dvi-gnattools
1264 dvi-host: maybe-dvi-lto-plugin
1266 .PHONY: dvi-target
1268 dvi-target: maybe-dvi-target-libstdc++-v3
1269 dvi-target: maybe-dvi-target-libsanitizer
1270 dvi-target: maybe-dvi-target-libvtv
1271 dvi-target: maybe-dvi-target-libcilkrts
1272 dvi-target: maybe-dvi-target-libssp
1273 dvi-target: maybe-dvi-target-newlib
1274 dvi-target: maybe-dvi-target-libgcc
1275 dvi-target: maybe-dvi-target-libbacktrace
1276 dvi-target: maybe-dvi-target-libquadmath
1277 dvi-target: maybe-dvi-target-libgfortran
1278 dvi-target: maybe-dvi-target-libobjc
1279 dvi-target: maybe-dvi-target-libgo
1280 dvi-target: maybe-dvi-target-libtermcap
1281 dvi-target: maybe-dvi-target-winsup
1282 dvi-target: maybe-dvi-target-libgloss
1283 dvi-target: maybe-dvi-target-libffi
1284 dvi-target: maybe-dvi-target-libjava
1285 dvi-target: maybe-dvi-target-zlib
1286 dvi-target: maybe-dvi-target-boehm-gc
1287 dvi-target: maybe-dvi-target-rda
1288 dvi-target: maybe-dvi-target-libada
1289 dvi-target: maybe-dvi-target-libgomp
1290 dvi-target: maybe-dvi-target-libitm
1291 dvi-target: maybe-dvi-target-libatomic
1293 .PHONY: do-pdf
1294 do-pdf:
1295 @: $(MAKE); $(unstage)
1296 @r=`${PWD_COMMAND}`; export r; \
1297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1298 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1299 pdf-target
1302 .PHONY: pdf-host
1304 pdf-host: maybe-pdf-bfd
1305 pdf-host: maybe-pdf-opcodes
1306 pdf-host: maybe-pdf-binutils
1307 pdf-host: maybe-pdf-bison
1308 pdf-host: maybe-pdf-cgen
1309 pdf-host: maybe-pdf-dejagnu
1310 pdf-host: maybe-pdf-etc
1311 pdf-host: maybe-pdf-fastjar
1312 pdf-host: maybe-pdf-fixincludes
1313 pdf-host: maybe-pdf-flex
1314 pdf-host: maybe-pdf-gas
1315 pdf-host: maybe-pdf-gcc
1316 pdf-host: maybe-pdf-gmp
1317 pdf-host: maybe-pdf-mpfr
1318 pdf-host: maybe-pdf-mpc
1319 pdf-host: maybe-pdf-isl
1320 pdf-host: maybe-pdf-cloog
1321 pdf-host: maybe-pdf-libelf
1322 pdf-host: maybe-pdf-gold
1323 pdf-host: maybe-pdf-gprof
1324 pdf-host: maybe-pdf-intl
1325 pdf-host: maybe-pdf-tcl
1326 pdf-host: maybe-pdf-itcl
1327 pdf-host: maybe-pdf-ld
1328 pdf-host: maybe-pdf-libbacktrace
1329 pdf-host: maybe-pdf-libcpp
1330 pdf-host: maybe-pdf-libdecnumber
1331 pdf-host: maybe-pdf-libgui
1332 pdf-host: maybe-pdf-libiberty
1333 pdf-host: maybe-pdf-libiberty-linker-plugin
1334 pdf-host: maybe-pdf-libiconv
1335 pdf-host: maybe-pdf-m4
1336 pdf-host: maybe-pdf-readline
1337 pdf-host: maybe-pdf-sid
1338 pdf-host: maybe-pdf-sim
1339 pdf-host: maybe-pdf-texinfo
1340 pdf-host: maybe-pdf-zlib
1341 pdf-host: maybe-pdf-gdb
1342 pdf-host: maybe-pdf-expect
1343 pdf-host: maybe-pdf-guile
1344 pdf-host: maybe-pdf-tk
1345 pdf-host: maybe-pdf-libtermcap
1346 pdf-host: maybe-pdf-utils
1347 pdf-host: maybe-pdf-gnattools
1348 pdf-host: maybe-pdf-lto-plugin
1350 .PHONY: pdf-target
1352 pdf-target: maybe-pdf-target-libstdc++-v3
1353 pdf-target: maybe-pdf-target-libsanitizer
1354 pdf-target: maybe-pdf-target-libvtv
1355 pdf-target: maybe-pdf-target-libcilkrts
1356 pdf-target: maybe-pdf-target-libssp
1357 pdf-target: maybe-pdf-target-newlib
1358 pdf-target: maybe-pdf-target-libgcc
1359 pdf-target: maybe-pdf-target-libbacktrace
1360 pdf-target: maybe-pdf-target-libquadmath
1361 pdf-target: maybe-pdf-target-libgfortran
1362 pdf-target: maybe-pdf-target-libobjc
1363 pdf-target: maybe-pdf-target-libgo
1364 pdf-target: maybe-pdf-target-libtermcap
1365 pdf-target: maybe-pdf-target-winsup
1366 pdf-target: maybe-pdf-target-libgloss
1367 pdf-target: maybe-pdf-target-libffi
1368 pdf-target: maybe-pdf-target-libjava
1369 pdf-target: maybe-pdf-target-zlib
1370 pdf-target: maybe-pdf-target-boehm-gc
1371 pdf-target: maybe-pdf-target-rda
1372 pdf-target: maybe-pdf-target-libada
1373 pdf-target: maybe-pdf-target-libgomp
1374 pdf-target: maybe-pdf-target-libitm
1375 pdf-target: maybe-pdf-target-libatomic
1377 .PHONY: do-html
1378 do-html:
1379 @: $(MAKE); $(unstage)
1380 @r=`${PWD_COMMAND}`; export r; \
1381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1382 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1383 html-target
1386 .PHONY: html-host
1388 html-host: maybe-html-bfd
1389 html-host: maybe-html-opcodes
1390 html-host: maybe-html-binutils
1391 html-host: maybe-html-bison
1392 html-host: maybe-html-cgen
1393 html-host: maybe-html-dejagnu
1394 html-host: maybe-html-etc
1395 html-host: maybe-html-fastjar
1396 html-host: maybe-html-fixincludes
1397 html-host: maybe-html-flex
1398 html-host: maybe-html-gas
1399 html-host: maybe-html-gcc
1400 html-host: maybe-html-gmp
1401 html-host: maybe-html-mpfr
1402 html-host: maybe-html-mpc
1403 html-host: maybe-html-isl
1404 html-host: maybe-html-cloog
1405 html-host: maybe-html-libelf
1406 html-host: maybe-html-gold
1407 html-host: maybe-html-gprof
1408 html-host: maybe-html-intl
1409 html-host: maybe-html-tcl
1410 html-host: maybe-html-itcl
1411 html-host: maybe-html-ld
1412 html-host: maybe-html-libbacktrace
1413 html-host: maybe-html-libcpp
1414 html-host: maybe-html-libdecnumber
1415 html-host: maybe-html-libgui
1416 html-host: maybe-html-libiberty
1417 html-host: maybe-html-libiberty-linker-plugin
1418 html-host: maybe-html-libiconv
1419 html-host: maybe-html-m4
1420 html-host: maybe-html-readline
1421 html-host: maybe-html-sid
1422 html-host: maybe-html-sim
1423 html-host: maybe-html-texinfo
1424 html-host: maybe-html-zlib
1425 html-host: maybe-html-gdb
1426 html-host: maybe-html-expect
1427 html-host: maybe-html-guile
1428 html-host: maybe-html-tk
1429 html-host: maybe-html-libtermcap
1430 html-host: maybe-html-utils
1431 html-host: maybe-html-gnattools
1432 html-host: maybe-html-lto-plugin
1434 .PHONY: html-target
1436 html-target: maybe-html-target-libstdc++-v3
1437 html-target: maybe-html-target-libsanitizer
1438 html-target: maybe-html-target-libvtv
1439 html-target: maybe-html-target-libcilkrts
1440 html-target: maybe-html-target-libssp
1441 html-target: maybe-html-target-newlib
1442 html-target: maybe-html-target-libgcc
1443 html-target: maybe-html-target-libbacktrace
1444 html-target: maybe-html-target-libquadmath
1445 html-target: maybe-html-target-libgfortran
1446 html-target: maybe-html-target-libobjc
1447 html-target: maybe-html-target-libgo
1448 html-target: maybe-html-target-libtermcap
1449 html-target: maybe-html-target-winsup
1450 html-target: maybe-html-target-libgloss
1451 html-target: maybe-html-target-libffi
1452 html-target: maybe-html-target-libjava
1453 html-target: maybe-html-target-zlib
1454 html-target: maybe-html-target-boehm-gc
1455 html-target: maybe-html-target-rda
1456 html-target: maybe-html-target-libada
1457 html-target: maybe-html-target-libgomp
1458 html-target: maybe-html-target-libitm
1459 html-target: maybe-html-target-libatomic
1461 .PHONY: do-TAGS
1462 do-TAGS:
1463 @: $(MAKE); $(unstage)
1464 @r=`${PWD_COMMAND}`; export r; \
1465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1466 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1467 TAGS-target
1470 .PHONY: TAGS-host
1472 TAGS-host: maybe-TAGS-bfd
1473 TAGS-host: maybe-TAGS-opcodes
1474 TAGS-host: maybe-TAGS-binutils
1475 TAGS-host: maybe-TAGS-bison
1476 TAGS-host: maybe-TAGS-cgen
1477 TAGS-host: maybe-TAGS-dejagnu
1478 TAGS-host: maybe-TAGS-etc
1479 TAGS-host: maybe-TAGS-fastjar
1480 TAGS-host: maybe-TAGS-fixincludes
1481 TAGS-host: maybe-TAGS-flex
1482 TAGS-host: maybe-TAGS-gas
1483 TAGS-host: maybe-TAGS-gcc
1484 TAGS-host: maybe-TAGS-gmp
1485 TAGS-host: maybe-TAGS-mpfr
1486 TAGS-host: maybe-TAGS-mpc
1487 TAGS-host: maybe-TAGS-isl
1488 TAGS-host: maybe-TAGS-cloog
1489 TAGS-host: maybe-TAGS-libelf
1490 TAGS-host: maybe-TAGS-gold
1491 TAGS-host: maybe-TAGS-gprof
1492 TAGS-host: maybe-TAGS-intl
1493 TAGS-host: maybe-TAGS-tcl
1494 TAGS-host: maybe-TAGS-itcl
1495 TAGS-host: maybe-TAGS-ld
1496 TAGS-host: maybe-TAGS-libbacktrace
1497 TAGS-host: maybe-TAGS-libcpp
1498 TAGS-host: maybe-TAGS-libdecnumber
1499 TAGS-host: maybe-TAGS-libgui
1500 TAGS-host: maybe-TAGS-libiberty
1501 TAGS-host: maybe-TAGS-libiberty-linker-plugin
1502 TAGS-host: maybe-TAGS-libiconv
1503 TAGS-host: maybe-TAGS-m4
1504 TAGS-host: maybe-TAGS-readline
1505 TAGS-host: maybe-TAGS-sid
1506 TAGS-host: maybe-TAGS-sim
1507 TAGS-host: maybe-TAGS-texinfo
1508 TAGS-host: maybe-TAGS-zlib
1509 TAGS-host: maybe-TAGS-gdb
1510 TAGS-host: maybe-TAGS-expect
1511 TAGS-host: maybe-TAGS-guile
1512 TAGS-host: maybe-TAGS-tk
1513 TAGS-host: maybe-TAGS-libtermcap
1514 TAGS-host: maybe-TAGS-utils
1515 TAGS-host: maybe-TAGS-gnattools
1516 TAGS-host: maybe-TAGS-lto-plugin
1518 .PHONY: TAGS-target
1520 TAGS-target: maybe-TAGS-target-libstdc++-v3
1521 TAGS-target: maybe-TAGS-target-libsanitizer
1522 TAGS-target: maybe-TAGS-target-libvtv
1523 TAGS-target: maybe-TAGS-target-libcilkrts
1524 TAGS-target: maybe-TAGS-target-libssp
1525 TAGS-target: maybe-TAGS-target-newlib
1526 TAGS-target: maybe-TAGS-target-libgcc
1527 TAGS-target: maybe-TAGS-target-libbacktrace
1528 TAGS-target: maybe-TAGS-target-libquadmath
1529 TAGS-target: maybe-TAGS-target-libgfortran
1530 TAGS-target: maybe-TAGS-target-libobjc
1531 TAGS-target: maybe-TAGS-target-libgo
1532 TAGS-target: maybe-TAGS-target-libtermcap
1533 TAGS-target: maybe-TAGS-target-winsup
1534 TAGS-target: maybe-TAGS-target-libgloss
1535 TAGS-target: maybe-TAGS-target-libffi
1536 TAGS-target: maybe-TAGS-target-libjava
1537 TAGS-target: maybe-TAGS-target-zlib
1538 TAGS-target: maybe-TAGS-target-boehm-gc
1539 TAGS-target: maybe-TAGS-target-rda
1540 TAGS-target: maybe-TAGS-target-libada
1541 TAGS-target: maybe-TAGS-target-libgomp
1542 TAGS-target: maybe-TAGS-target-libitm
1543 TAGS-target: maybe-TAGS-target-libatomic
1545 .PHONY: do-install-info
1546 do-install-info:
1547 @: $(MAKE); $(unstage)
1548 @r=`${PWD_COMMAND}`; export r; \
1549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1550 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1551 install-info-target
1554 .PHONY: install-info-host
1556 install-info-host: maybe-install-info-bfd
1557 install-info-host: maybe-install-info-opcodes
1558 install-info-host: maybe-install-info-binutils
1559 install-info-host: maybe-install-info-bison
1560 install-info-host: maybe-install-info-cgen
1561 install-info-host: maybe-install-info-dejagnu
1562 install-info-host: maybe-install-info-etc
1563 install-info-host: maybe-install-info-fastjar
1564 install-info-host: maybe-install-info-fixincludes
1565 install-info-host: maybe-install-info-flex
1566 install-info-host: maybe-install-info-gas
1567 install-info-host: maybe-install-info-gcc
1568 install-info-host: maybe-install-info-gmp
1569 install-info-host: maybe-install-info-mpfr
1570 install-info-host: maybe-install-info-mpc
1571 install-info-host: maybe-install-info-isl
1572 install-info-host: maybe-install-info-cloog
1573 install-info-host: maybe-install-info-libelf
1574 install-info-host: maybe-install-info-gold
1575 install-info-host: maybe-install-info-gprof
1576 install-info-host: maybe-install-info-intl
1577 install-info-host: maybe-install-info-tcl
1578 install-info-host: maybe-install-info-itcl
1579 install-info-host: maybe-install-info-ld
1580 install-info-host: maybe-install-info-libbacktrace
1581 install-info-host: maybe-install-info-libcpp
1582 install-info-host: maybe-install-info-libdecnumber
1583 install-info-host: maybe-install-info-libgui
1584 install-info-host: maybe-install-info-libiberty
1585 install-info-host: maybe-install-info-libiberty-linker-plugin
1586 install-info-host: maybe-install-info-libiconv
1587 install-info-host: maybe-install-info-m4
1588 install-info-host: maybe-install-info-readline
1589 install-info-host: maybe-install-info-sid
1590 install-info-host: maybe-install-info-sim
1591 install-info-host: maybe-install-info-texinfo
1592 install-info-host: maybe-install-info-zlib
1593 install-info-host: maybe-install-info-gdb
1594 install-info-host: maybe-install-info-expect
1595 install-info-host: maybe-install-info-guile
1596 install-info-host: maybe-install-info-tk
1597 install-info-host: maybe-install-info-libtermcap
1598 install-info-host: maybe-install-info-utils
1599 install-info-host: maybe-install-info-gnattools
1600 install-info-host: maybe-install-info-lto-plugin
1602 .PHONY: install-info-target
1604 install-info-target: maybe-install-info-target-libstdc++-v3
1605 install-info-target: maybe-install-info-target-libsanitizer
1606 install-info-target: maybe-install-info-target-libvtv
1607 install-info-target: maybe-install-info-target-libcilkrts
1608 install-info-target: maybe-install-info-target-libssp
1609 install-info-target: maybe-install-info-target-newlib
1610 install-info-target: maybe-install-info-target-libgcc
1611 install-info-target: maybe-install-info-target-libbacktrace
1612 install-info-target: maybe-install-info-target-libquadmath
1613 install-info-target: maybe-install-info-target-libgfortran
1614 install-info-target: maybe-install-info-target-libobjc
1615 install-info-target: maybe-install-info-target-libgo
1616 install-info-target: maybe-install-info-target-libtermcap
1617 install-info-target: maybe-install-info-target-winsup
1618 install-info-target: maybe-install-info-target-libgloss
1619 install-info-target: maybe-install-info-target-libffi
1620 install-info-target: maybe-install-info-target-libjava
1621 install-info-target: maybe-install-info-target-zlib
1622 install-info-target: maybe-install-info-target-boehm-gc
1623 install-info-target: maybe-install-info-target-rda
1624 install-info-target: maybe-install-info-target-libada
1625 install-info-target: maybe-install-info-target-libgomp
1626 install-info-target: maybe-install-info-target-libitm
1627 install-info-target: maybe-install-info-target-libatomic
1629 .PHONY: do-install-pdf
1630 do-install-pdf:
1631 @: $(MAKE); $(unstage)
1632 @r=`${PWD_COMMAND}`; export r; \
1633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1634 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
1635 install-pdf-target
1638 .PHONY: install-pdf-host
1640 install-pdf-host: maybe-install-pdf-bfd
1641 install-pdf-host: maybe-install-pdf-opcodes
1642 install-pdf-host: maybe-install-pdf-binutils
1643 install-pdf-host: maybe-install-pdf-bison
1644 install-pdf-host: maybe-install-pdf-cgen
1645 install-pdf-host: maybe-install-pdf-dejagnu
1646 install-pdf-host: maybe-install-pdf-etc
1647 install-pdf-host: maybe-install-pdf-fastjar
1648 install-pdf-host: maybe-install-pdf-fixincludes
1649 install-pdf-host: maybe-install-pdf-flex
1650 install-pdf-host: maybe-install-pdf-gas
1651 install-pdf-host: maybe-install-pdf-gcc
1652 install-pdf-host: maybe-install-pdf-gmp
1653 install-pdf-host: maybe-install-pdf-mpfr
1654 install-pdf-host: maybe-install-pdf-mpc
1655 install-pdf-host: maybe-install-pdf-isl
1656 install-pdf-host: maybe-install-pdf-cloog
1657 install-pdf-host: maybe-install-pdf-libelf
1658 install-pdf-host: maybe-install-pdf-gold
1659 install-pdf-host: maybe-install-pdf-gprof
1660 install-pdf-host: maybe-install-pdf-intl
1661 install-pdf-host: maybe-install-pdf-tcl
1662 install-pdf-host: maybe-install-pdf-itcl
1663 install-pdf-host: maybe-install-pdf-ld
1664 install-pdf-host: maybe-install-pdf-libbacktrace
1665 install-pdf-host: maybe-install-pdf-libcpp
1666 install-pdf-host: maybe-install-pdf-libdecnumber
1667 install-pdf-host: maybe-install-pdf-libgui
1668 install-pdf-host: maybe-install-pdf-libiberty
1669 install-pdf-host: maybe-install-pdf-libiberty-linker-plugin
1670 install-pdf-host: maybe-install-pdf-libiconv
1671 install-pdf-host: maybe-install-pdf-m4
1672 install-pdf-host: maybe-install-pdf-readline
1673 install-pdf-host: maybe-install-pdf-sid
1674 install-pdf-host: maybe-install-pdf-sim
1675 install-pdf-host: maybe-install-pdf-texinfo
1676 install-pdf-host: maybe-install-pdf-zlib
1677 install-pdf-host: maybe-install-pdf-gdb
1678 install-pdf-host: maybe-install-pdf-expect
1679 install-pdf-host: maybe-install-pdf-guile
1680 install-pdf-host: maybe-install-pdf-tk
1681 install-pdf-host: maybe-install-pdf-libtermcap
1682 install-pdf-host: maybe-install-pdf-utils
1683 install-pdf-host: maybe-install-pdf-gnattools
1684 install-pdf-host: maybe-install-pdf-lto-plugin
1686 .PHONY: install-pdf-target
1688 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
1689 install-pdf-target: maybe-install-pdf-target-libsanitizer
1690 install-pdf-target: maybe-install-pdf-target-libvtv
1691 install-pdf-target: maybe-install-pdf-target-libcilkrts
1692 install-pdf-target: maybe-install-pdf-target-libssp
1693 install-pdf-target: maybe-install-pdf-target-newlib
1694 install-pdf-target: maybe-install-pdf-target-libgcc
1695 install-pdf-target: maybe-install-pdf-target-libbacktrace
1696 install-pdf-target: maybe-install-pdf-target-libquadmath
1697 install-pdf-target: maybe-install-pdf-target-libgfortran
1698 install-pdf-target: maybe-install-pdf-target-libobjc
1699 install-pdf-target: maybe-install-pdf-target-libgo
1700 install-pdf-target: maybe-install-pdf-target-libtermcap
1701 install-pdf-target: maybe-install-pdf-target-winsup
1702 install-pdf-target: maybe-install-pdf-target-libgloss
1703 install-pdf-target: maybe-install-pdf-target-libffi
1704 install-pdf-target: maybe-install-pdf-target-libjava
1705 install-pdf-target: maybe-install-pdf-target-zlib
1706 install-pdf-target: maybe-install-pdf-target-boehm-gc
1707 install-pdf-target: maybe-install-pdf-target-rda
1708 install-pdf-target: maybe-install-pdf-target-libada
1709 install-pdf-target: maybe-install-pdf-target-libgomp
1710 install-pdf-target: maybe-install-pdf-target-libitm
1711 install-pdf-target: maybe-install-pdf-target-libatomic
1713 .PHONY: do-install-html
1714 do-install-html:
1715 @: $(MAKE); $(unstage)
1716 @r=`${PWD_COMMAND}`; export r; \
1717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1718 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1719 install-html-target
1722 .PHONY: install-html-host
1724 install-html-host: maybe-install-html-bfd
1725 install-html-host: maybe-install-html-opcodes
1726 install-html-host: maybe-install-html-binutils
1727 install-html-host: maybe-install-html-bison
1728 install-html-host: maybe-install-html-cgen
1729 install-html-host: maybe-install-html-dejagnu
1730 install-html-host: maybe-install-html-etc
1731 install-html-host: maybe-install-html-fastjar
1732 install-html-host: maybe-install-html-fixincludes
1733 install-html-host: maybe-install-html-flex
1734 install-html-host: maybe-install-html-gas
1735 install-html-host: maybe-install-html-gcc
1736 install-html-host: maybe-install-html-gmp
1737 install-html-host: maybe-install-html-mpfr
1738 install-html-host: maybe-install-html-mpc
1739 install-html-host: maybe-install-html-isl
1740 install-html-host: maybe-install-html-cloog
1741 install-html-host: maybe-install-html-libelf
1742 install-html-host: maybe-install-html-gold
1743 install-html-host: maybe-install-html-gprof
1744 install-html-host: maybe-install-html-intl
1745 install-html-host: maybe-install-html-tcl
1746 install-html-host: maybe-install-html-itcl
1747 install-html-host: maybe-install-html-ld
1748 install-html-host: maybe-install-html-libbacktrace
1749 install-html-host: maybe-install-html-libcpp
1750 install-html-host: maybe-install-html-libdecnumber
1751 install-html-host: maybe-install-html-libgui
1752 install-html-host: maybe-install-html-libiberty
1753 install-html-host: maybe-install-html-libiberty-linker-plugin
1754 install-html-host: maybe-install-html-libiconv
1755 install-html-host: maybe-install-html-m4
1756 install-html-host: maybe-install-html-readline
1757 install-html-host: maybe-install-html-sid
1758 install-html-host: maybe-install-html-sim
1759 install-html-host: maybe-install-html-texinfo
1760 install-html-host: maybe-install-html-zlib
1761 install-html-host: maybe-install-html-gdb
1762 install-html-host: maybe-install-html-expect
1763 install-html-host: maybe-install-html-guile
1764 install-html-host: maybe-install-html-tk
1765 install-html-host: maybe-install-html-libtermcap
1766 install-html-host: maybe-install-html-utils
1767 install-html-host: maybe-install-html-gnattools
1768 install-html-host: maybe-install-html-lto-plugin
1770 .PHONY: install-html-target
1772 install-html-target: maybe-install-html-target-libstdc++-v3
1773 install-html-target: maybe-install-html-target-libsanitizer
1774 install-html-target: maybe-install-html-target-libvtv
1775 install-html-target: maybe-install-html-target-libcilkrts
1776 install-html-target: maybe-install-html-target-libssp
1777 install-html-target: maybe-install-html-target-newlib
1778 install-html-target: maybe-install-html-target-libgcc
1779 install-html-target: maybe-install-html-target-libbacktrace
1780 install-html-target: maybe-install-html-target-libquadmath
1781 install-html-target: maybe-install-html-target-libgfortran
1782 install-html-target: maybe-install-html-target-libobjc
1783 install-html-target: maybe-install-html-target-libgo
1784 install-html-target: maybe-install-html-target-libtermcap
1785 install-html-target: maybe-install-html-target-winsup
1786 install-html-target: maybe-install-html-target-libgloss
1787 install-html-target: maybe-install-html-target-libffi
1788 install-html-target: maybe-install-html-target-libjava
1789 install-html-target: maybe-install-html-target-zlib
1790 install-html-target: maybe-install-html-target-boehm-gc
1791 install-html-target: maybe-install-html-target-rda
1792 install-html-target: maybe-install-html-target-libada
1793 install-html-target: maybe-install-html-target-libgomp
1794 install-html-target: maybe-install-html-target-libitm
1795 install-html-target: maybe-install-html-target-libatomic
1797 .PHONY: do-installcheck
1798 do-installcheck:
1799 @: $(MAKE); $(unstage)
1800 @r=`${PWD_COMMAND}`; export r; \
1801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1802 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1803 installcheck-target
1806 .PHONY: installcheck-host
1808 installcheck-host: maybe-installcheck-bfd
1809 installcheck-host: maybe-installcheck-opcodes
1810 installcheck-host: maybe-installcheck-binutils
1811 installcheck-host: maybe-installcheck-bison
1812 installcheck-host: maybe-installcheck-cgen
1813 installcheck-host: maybe-installcheck-dejagnu
1814 installcheck-host: maybe-installcheck-etc
1815 installcheck-host: maybe-installcheck-fastjar
1816 installcheck-host: maybe-installcheck-fixincludes
1817 installcheck-host: maybe-installcheck-flex
1818 installcheck-host: maybe-installcheck-gas
1819 installcheck-host: maybe-installcheck-gcc
1820 installcheck-host: maybe-installcheck-gmp
1821 installcheck-host: maybe-installcheck-mpfr
1822 installcheck-host: maybe-installcheck-mpc
1823 installcheck-host: maybe-installcheck-isl
1824 installcheck-host: maybe-installcheck-cloog
1825 installcheck-host: maybe-installcheck-libelf
1826 installcheck-host: maybe-installcheck-gold
1827 installcheck-host: maybe-installcheck-gprof
1828 installcheck-host: maybe-installcheck-intl
1829 installcheck-host: maybe-installcheck-tcl
1830 installcheck-host: maybe-installcheck-itcl
1831 installcheck-host: maybe-installcheck-ld
1832 installcheck-host: maybe-installcheck-libbacktrace
1833 installcheck-host: maybe-installcheck-libcpp
1834 installcheck-host: maybe-installcheck-libdecnumber
1835 installcheck-host: maybe-installcheck-libgui
1836 installcheck-host: maybe-installcheck-libiberty
1837 installcheck-host: maybe-installcheck-libiberty-linker-plugin
1838 installcheck-host: maybe-installcheck-libiconv
1839 installcheck-host: maybe-installcheck-m4
1840 installcheck-host: maybe-installcheck-readline
1841 installcheck-host: maybe-installcheck-sid
1842 installcheck-host: maybe-installcheck-sim
1843 installcheck-host: maybe-installcheck-texinfo
1844 installcheck-host: maybe-installcheck-zlib
1845 installcheck-host: maybe-installcheck-gdb
1846 installcheck-host: maybe-installcheck-expect
1847 installcheck-host: maybe-installcheck-guile
1848 installcheck-host: maybe-installcheck-tk
1849 installcheck-host: maybe-installcheck-libtermcap
1850 installcheck-host: maybe-installcheck-utils
1851 installcheck-host: maybe-installcheck-gnattools
1852 installcheck-host: maybe-installcheck-lto-plugin
1854 .PHONY: installcheck-target
1856 installcheck-target: maybe-installcheck-target-libstdc++-v3
1857 installcheck-target: maybe-installcheck-target-libsanitizer
1858 installcheck-target: maybe-installcheck-target-libvtv
1859 installcheck-target: maybe-installcheck-target-libcilkrts
1860 installcheck-target: maybe-installcheck-target-libssp
1861 installcheck-target: maybe-installcheck-target-newlib
1862 installcheck-target: maybe-installcheck-target-libgcc
1863 installcheck-target: maybe-installcheck-target-libbacktrace
1864 installcheck-target: maybe-installcheck-target-libquadmath
1865 installcheck-target: maybe-installcheck-target-libgfortran
1866 installcheck-target: maybe-installcheck-target-libobjc
1867 installcheck-target: maybe-installcheck-target-libgo
1868 installcheck-target: maybe-installcheck-target-libtermcap
1869 installcheck-target: maybe-installcheck-target-winsup
1870 installcheck-target: maybe-installcheck-target-libgloss
1871 installcheck-target: maybe-installcheck-target-libffi
1872 installcheck-target: maybe-installcheck-target-libjava
1873 installcheck-target: maybe-installcheck-target-zlib
1874 installcheck-target: maybe-installcheck-target-boehm-gc
1875 installcheck-target: maybe-installcheck-target-rda
1876 installcheck-target: maybe-installcheck-target-libada
1877 installcheck-target: maybe-installcheck-target-libgomp
1878 installcheck-target: maybe-installcheck-target-libitm
1879 installcheck-target: maybe-installcheck-target-libatomic
1881 .PHONY: do-mostlyclean
1882 do-mostlyclean:
1883 @: $(MAKE); $(unstage)
1884 @r=`${PWD_COMMAND}`; export r; \
1885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1886 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1887 mostlyclean-target
1890 .PHONY: mostlyclean-host
1892 mostlyclean-host: maybe-mostlyclean-bfd
1893 mostlyclean-host: maybe-mostlyclean-opcodes
1894 mostlyclean-host: maybe-mostlyclean-binutils
1895 mostlyclean-host: maybe-mostlyclean-bison
1896 mostlyclean-host: maybe-mostlyclean-cgen
1897 mostlyclean-host: maybe-mostlyclean-dejagnu
1898 mostlyclean-host: maybe-mostlyclean-etc
1899 mostlyclean-host: maybe-mostlyclean-fastjar
1900 mostlyclean-host: maybe-mostlyclean-fixincludes
1901 mostlyclean-host: maybe-mostlyclean-flex
1902 mostlyclean-host: maybe-mostlyclean-gas
1903 mostlyclean-host: maybe-mostlyclean-gcc
1904 mostlyclean-host: maybe-mostlyclean-gmp
1905 mostlyclean-host: maybe-mostlyclean-mpfr
1906 mostlyclean-host: maybe-mostlyclean-mpc
1907 mostlyclean-host: maybe-mostlyclean-isl
1908 mostlyclean-host: maybe-mostlyclean-cloog
1909 mostlyclean-host: maybe-mostlyclean-libelf
1910 mostlyclean-host: maybe-mostlyclean-gold
1911 mostlyclean-host: maybe-mostlyclean-gprof
1912 mostlyclean-host: maybe-mostlyclean-intl
1913 mostlyclean-host: maybe-mostlyclean-tcl
1914 mostlyclean-host: maybe-mostlyclean-itcl
1915 mostlyclean-host: maybe-mostlyclean-ld
1916 mostlyclean-host: maybe-mostlyclean-libbacktrace
1917 mostlyclean-host: maybe-mostlyclean-libcpp
1918 mostlyclean-host: maybe-mostlyclean-libdecnumber
1919 mostlyclean-host: maybe-mostlyclean-libgui
1920 mostlyclean-host: maybe-mostlyclean-libiberty
1921 mostlyclean-host: maybe-mostlyclean-libiberty-linker-plugin
1922 mostlyclean-host: maybe-mostlyclean-libiconv
1923 mostlyclean-host: maybe-mostlyclean-m4
1924 mostlyclean-host: maybe-mostlyclean-readline
1925 mostlyclean-host: maybe-mostlyclean-sid
1926 mostlyclean-host: maybe-mostlyclean-sim
1927 mostlyclean-host: maybe-mostlyclean-texinfo
1928 mostlyclean-host: maybe-mostlyclean-zlib
1929 mostlyclean-host: maybe-mostlyclean-gdb
1930 mostlyclean-host: maybe-mostlyclean-expect
1931 mostlyclean-host: maybe-mostlyclean-guile
1932 mostlyclean-host: maybe-mostlyclean-tk
1933 mostlyclean-host: maybe-mostlyclean-libtermcap
1934 mostlyclean-host: maybe-mostlyclean-utils
1935 mostlyclean-host: maybe-mostlyclean-gnattools
1936 mostlyclean-host: maybe-mostlyclean-lto-plugin
1938 .PHONY: mostlyclean-target
1940 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
1941 mostlyclean-target: maybe-mostlyclean-target-libsanitizer
1942 mostlyclean-target: maybe-mostlyclean-target-libvtv
1943 mostlyclean-target: maybe-mostlyclean-target-libcilkrts
1944 mostlyclean-target: maybe-mostlyclean-target-libssp
1945 mostlyclean-target: maybe-mostlyclean-target-newlib
1946 mostlyclean-target: maybe-mostlyclean-target-libgcc
1947 mostlyclean-target: maybe-mostlyclean-target-libbacktrace
1948 mostlyclean-target: maybe-mostlyclean-target-libquadmath
1949 mostlyclean-target: maybe-mostlyclean-target-libgfortran
1950 mostlyclean-target: maybe-mostlyclean-target-libobjc
1951 mostlyclean-target: maybe-mostlyclean-target-libgo
1952 mostlyclean-target: maybe-mostlyclean-target-libtermcap
1953 mostlyclean-target: maybe-mostlyclean-target-winsup
1954 mostlyclean-target: maybe-mostlyclean-target-libgloss
1955 mostlyclean-target: maybe-mostlyclean-target-libffi
1956 mostlyclean-target: maybe-mostlyclean-target-libjava
1957 mostlyclean-target: maybe-mostlyclean-target-zlib
1958 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
1959 mostlyclean-target: maybe-mostlyclean-target-rda
1960 mostlyclean-target: maybe-mostlyclean-target-libada
1961 mostlyclean-target: maybe-mostlyclean-target-libgomp
1962 mostlyclean-target: maybe-mostlyclean-target-libitm
1963 mostlyclean-target: maybe-mostlyclean-target-libatomic
1965 .PHONY: do-clean
1966 do-clean:
1967 @: $(MAKE); $(unstage)
1968 @r=`${PWD_COMMAND}`; export r; \
1969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1970 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1971 clean-target
1974 .PHONY: clean-host
1976 clean-host: maybe-clean-bfd
1977 clean-host: maybe-clean-opcodes
1978 clean-host: maybe-clean-binutils
1979 clean-host: maybe-clean-bison
1980 clean-host: maybe-clean-cgen
1981 clean-host: maybe-clean-dejagnu
1982 clean-host: maybe-clean-etc
1983 clean-host: maybe-clean-fastjar
1984 clean-host: maybe-clean-fixincludes
1985 clean-host: maybe-clean-flex
1986 clean-host: maybe-clean-gas
1987 clean-host: maybe-clean-gcc
1988 clean-host: maybe-clean-gmp
1989 clean-host: maybe-clean-mpfr
1990 clean-host: maybe-clean-mpc
1991 clean-host: maybe-clean-isl
1992 clean-host: maybe-clean-cloog
1993 clean-host: maybe-clean-libelf
1994 clean-host: maybe-clean-gold
1995 clean-host: maybe-clean-gprof
1996 clean-host: maybe-clean-intl
1997 clean-host: maybe-clean-tcl
1998 clean-host: maybe-clean-itcl
1999 clean-host: maybe-clean-ld
2000 clean-host: maybe-clean-libbacktrace
2001 clean-host: maybe-clean-libcpp
2002 clean-host: maybe-clean-libdecnumber
2003 clean-host: maybe-clean-libgui
2004 clean-host: maybe-clean-libiberty
2005 clean-host: maybe-clean-libiberty-linker-plugin
2006 clean-host: maybe-clean-libiconv
2007 clean-host: maybe-clean-m4
2008 clean-host: maybe-clean-readline
2009 clean-host: maybe-clean-sid
2010 clean-host: maybe-clean-sim
2011 clean-host: maybe-clean-texinfo
2012 clean-host: maybe-clean-zlib
2013 clean-host: maybe-clean-gdb
2014 clean-host: maybe-clean-expect
2015 clean-host: maybe-clean-guile
2016 clean-host: maybe-clean-tk
2017 clean-host: maybe-clean-libtermcap
2018 clean-host: maybe-clean-utils
2019 clean-host: maybe-clean-gnattools
2020 clean-host: maybe-clean-lto-plugin
2022 .PHONY: clean-target
2024 clean-target: maybe-clean-target-libstdc++-v3
2025 clean-target: maybe-clean-target-libsanitizer
2026 clean-target: maybe-clean-target-libvtv
2027 clean-target: maybe-clean-target-libcilkrts
2028 clean-target: maybe-clean-target-libssp
2029 clean-target: maybe-clean-target-newlib
2030 clean-target: maybe-clean-target-libgcc
2031 clean-target: maybe-clean-target-libbacktrace
2032 clean-target: maybe-clean-target-libquadmath
2033 clean-target: maybe-clean-target-libgfortran
2034 clean-target: maybe-clean-target-libobjc
2035 clean-target: maybe-clean-target-libgo
2036 clean-target: maybe-clean-target-libtermcap
2037 clean-target: maybe-clean-target-winsup
2038 clean-target: maybe-clean-target-libgloss
2039 clean-target: maybe-clean-target-libffi
2040 clean-target: maybe-clean-target-libjava
2041 clean-target: maybe-clean-target-zlib
2042 clean-target: maybe-clean-target-boehm-gc
2043 clean-target: maybe-clean-target-rda
2044 clean-target: maybe-clean-target-libada
2045 clean-target: maybe-clean-target-libgomp
2046 clean-target: maybe-clean-target-libitm
2047 clean-target: maybe-clean-target-libatomic
2049 .PHONY: do-distclean
2050 do-distclean:
2051 @: $(MAKE); $(unstage)
2052 @r=`${PWD_COMMAND}`; export r; \
2053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2054 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
2055 distclean-target
2058 .PHONY: distclean-host
2060 distclean-host: maybe-distclean-bfd
2061 distclean-host: maybe-distclean-opcodes
2062 distclean-host: maybe-distclean-binutils
2063 distclean-host: maybe-distclean-bison
2064 distclean-host: maybe-distclean-cgen
2065 distclean-host: maybe-distclean-dejagnu
2066 distclean-host: maybe-distclean-etc
2067 distclean-host: maybe-distclean-fastjar
2068 distclean-host: maybe-distclean-fixincludes
2069 distclean-host: maybe-distclean-flex
2070 distclean-host: maybe-distclean-gas
2071 distclean-host: maybe-distclean-gcc
2072 distclean-host: maybe-distclean-gmp
2073 distclean-host: maybe-distclean-mpfr
2074 distclean-host: maybe-distclean-mpc
2075 distclean-host: maybe-distclean-isl
2076 distclean-host: maybe-distclean-cloog
2077 distclean-host: maybe-distclean-libelf
2078 distclean-host: maybe-distclean-gold
2079 distclean-host: maybe-distclean-gprof
2080 distclean-host: maybe-distclean-intl
2081 distclean-host: maybe-distclean-tcl
2082 distclean-host: maybe-distclean-itcl
2083 distclean-host: maybe-distclean-ld
2084 distclean-host: maybe-distclean-libbacktrace
2085 distclean-host: maybe-distclean-libcpp
2086 distclean-host: maybe-distclean-libdecnumber
2087 distclean-host: maybe-distclean-libgui
2088 distclean-host: maybe-distclean-libiberty
2089 distclean-host: maybe-distclean-libiberty-linker-plugin
2090 distclean-host: maybe-distclean-libiconv
2091 distclean-host: maybe-distclean-m4
2092 distclean-host: maybe-distclean-readline
2093 distclean-host: maybe-distclean-sid
2094 distclean-host: maybe-distclean-sim
2095 distclean-host: maybe-distclean-texinfo
2096 distclean-host: maybe-distclean-zlib
2097 distclean-host: maybe-distclean-gdb
2098 distclean-host: maybe-distclean-expect
2099 distclean-host: maybe-distclean-guile
2100 distclean-host: maybe-distclean-tk
2101 distclean-host: maybe-distclean-libtermcap
2102 distclean-host: maybe-distclean-utils
2103 distclean-host: maybe-distclean-gnattools
2104 distclean-host: maybe-distclean-lto-plugin
2106 .PHONY: distclean-target
2108 distclean-target: maybe-distclean-target-libstdc++-v3
2109 distclean-target: maybe-distclean-target-libsanitizer
2110 distclean-target: maybe-distclean-target-libvtv
2111 distclean-target: maybe-distclean-target-libcilkrts
2112 distclean-target: maybe-distclean-target-libssp
2113 distclean-target: maybe-distclean-target-newlib
2114 distclean-target: maybe-distclean-target-libgcc
2115 distclean-target: maybe-distclean-target-libbacktrace
2116 distclean-target: maybe-distclean-target-libquadmath
2117 distclean-target: maybe-distclean-target-libgfortran
2118 distclean-target: maybe-distclean-target-libobjc
2119 distclean-target: maybe-distclean-target-libgo
2120 distclean-target: maybe-distclean-target-libtermcap
2121 distclean-target: maybe-distclean-target-winsup
2122 distclean-target: maybe-distclean-target-libgloss
2123 distclean-target: maybe-distclean-target-libffi
2124 distclean-target: maybe-distclean-target-libjava
2125 distclean-target: maybe-distclean-target-zlib
2126 distclean-target: maybe-distclean-target-boehm-gc
2127 distclean-target: maybe-distclean-target-rda
2128 distclean-target: maybe-distclean-target-libada
2129 distclean-target: maybe-distclean-target-libgomp
2130 distclean-target: maybe-distclean-target-libitm
2131 distclean-target: maybe-distclean-target-libatomic
2133 .PHONY: do-maintainer-clean
2134 do-maintainer-clean:
2135 @: $(MAKE); $(unstage)
2136 @r=`${PWD_COMMAND}`; export r; \
2137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2138 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2139 maintainer-clean-target
2142 .PHONY: maintainer-clean-host
2144 maintainer-clean-host: maybe-maintainer-clean-bfd
2145 maintainer-clean-host: maybe-maintainer-clean-opcodes
2146 maintainer-clean-host: maybe-maintainer-clean-binutils
2147 maintainer-clean-host: maybe-maintainer-clean-bison
2148 maintainer-clean-host: maybe-maintainer-clean-cgen
2149 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2150 maintainer-clean-host: maybe-maintainer-clean-etc
2151 maintainer-clean-host: maybe-maintainer-clean-fastjar
2152 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2153 maintainer-clean-host: maybe-maintainer-clean-flex
2154 maintainer-clean-host: maybe-maintainer-clean-gas
2155 maintainer-clean-host: maybe-maintainer-clean-gcc
2156 maintainer-clean-host: maybe-maintainer-clean-gmp
2157 maintainer-clean-host: maybe-maintainer-clean-mpfr
2158 maintainer-clean-host: maybe-maintainer-clean-mpc
2159 maintainer-clean-host: maybe-maintainer-clean-isl
2160 maintainer-clean-host: maybe-maintainer-clean-cloog
2161 maintainer-clean-host: maybe-maintainer-clean-libelf
2162 maintainer-clean-host: maybe-maintainer-clean-gold
2163 maintainer-clean-host: maybe-maintainer-clean-gprof
2164 maintainer-clean-host: maybe-maintainer-clean-intl
2165 maintainer-clean-host: maybe-maintainer-clean-tcl
2166 maintainer-clean-host: maybe-maintainer-clean-itcl
2167 maintainer-clean-host: maybe-maintainer-clean-ld
2168 maintainer-clean-host: maybe-maintainer-clean-libbacktrace
2169 maintainer-clean-host: maybe-maintainer-clean-libcpp
2170 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2171 maintainer-clean-host: maybe-maintainer-clean-libgui
2172 maintainer-clean-host: maybe-maintainer-clean-libiberty
2173 maintainer-clean-host: maybe-maintainer-clean-libiberty-linker-plugin
2174 maintainer-clean-host: maybe-maintainer-clean-libiconv
2175 maintainer-clean-host: maybe-maintainer-clean-m4
2176 maintainer-clean-host: maybe-maintainer-clean-readline
2177 maintainer-clean-host: maybe-maintainer-clean-sid
2178 maintainer-clean-host: maybe-maintainer-clean-sim
2179 maintainer-clean-host: maybe-maintainer-clean-texinfo
2180 maintainer-clean-host: maybe-maintainer-clean-zlib
2181 maintainer-clean-host: maybe-maintainer-clean-gdb
2182 maintainer-clean-host: maybe-maintainer-clean-expect
2183 maintainer-clean-host: maybe-maintainer-clean-guile
2184 maintainer-clean-host: maybe-maintainer-clean-tk
2185 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2186 maintainer-clean-host: maybe-maintainer-clean-utils
2187 maintainer-clean-host: maybe-maintainer-clean-gnattools
2188 maintainer-clean-host: maybe-maintainer-clean-lto-plugin
2190 .PHONY: maintainer-clean-target
2192 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2193 maintainer-clean-target: maybe-maintainer-clean-target-libsanitizer
2194 maintainer-clean-target: maybe-maintainer-clean-target-libvtv
2195 maintainer-clean-target: maybe-maintainer-clean-target-libcilkrts
2196 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2197 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2198 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2199 maintainer-clean-target: maybe-maintainer-clean-target-libbacktrace
2200 maintainer-clean-target: maybe-maintainer-clean-target-libquadmath
2201 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2202 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2203 maintainer-clean-target: maybe-maintainer-clean-target-libgo
2204 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2205 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2206 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2207 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2208 maintainer-clean-target: maybe-maintainer-clean-target-libjava
2209 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2210 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
2211 maintainer-clean-target: maybe-maintainer-clean-target-rda
2212 maintainer-clean-target: maybe-maintainer-clean-target-libada
2213 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2214 maintainer-clean-target: maybe-maintainer-clean-target-libitm
2215 maintainer-clean-target: maybe-maintainer-clean-target-libatomic
2218 # Here are the targets which correspond to the do-X targets.
2220 .PHONY: info installcheck dvi pdf html
2221 .PHONY: install-info install-pdf install-html
2222 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2223 .PHONY: local-clean local-distclean local-maintainer-clean
2224 info: do-info
2225 installcheck: do-installcheck
2226 dvi: do-dvi
2227 pdf: do-pdf
2228 html: do-html
2230 # Make sure makeinfo is built before we do a `make info', if we're
2231 # in fact building texinfo.
2232 do-info: maybe-all-texinfo
2234 install-info: do-install-info dir.info
2235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2236 if [ -f dir.info ] ; then \
2237 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
2238 else true ; fi
2240 install-pdf: do-install-pdf
2242 install-html: do-install-html
2244 local-clean:
2245 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2247 local-distclean:
2248 -rm -f Makefile config.status config.cache mh-frag mt-frag
2249 -rm -f maybedep.tmp serdep.tmp
2250 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2251 rm -rf $(TARGET_SUBDIR); \
2252 else true; fi
2253 -rm -rf $(BUILD_SUBDIR)
2254 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2255 rm -rf $(HOST_SUBDIR); \
2256 else true; fi
2257 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2258 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2259 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2260 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2261 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
2262 -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
2264 local-maintainer-clean:
2265 @echo "This command is intended for maintainers to use;"
2266 @echo "it deletes files that may require special tools to rebuild."
2268 clean: do-clean local-clean
2269 mostlyclean: do-mostlyclean local-clean
2270 distclean: do-distclean local-clean local-distclean
2271 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2272 maintainer-clean: local-distclean
2273 realclean: maintainer-clean
2275 # Check target.
2277 .PHONY: check do-check
2278 check: do-check
2280 # Only include modules actually being configured and built.
2281 .PHONY: check-host
2282 check-host: \
2283 maybe-check-bfd \
2284 maybe-check-opcodes \
2285 maybe-check-binutils \
2286 maybe-check-bison \
2287 maybe-check-cgen \
2288 maybe-check-dejagnu \
2289 maybe-check-etc \
2290 maybe-check-fastjar \
2291 maybe-check-fixincludes \
2292 maybe-check-flex \
2293 maybe-check-gas \
2294 maybe-check-gcc \
2295 maybe-check-gmp \
2296 maybe-check-mpfr \
2297 maybe-check-mpc \
2298 maybe-check-isl \
2299 maybe-check-cloog \
2300 maybe-check-libelf \
2301 maybe-check-gold \
2302 maybe-check-gprof \
2303 maybe-check-intl \
2304 maybe-check-tcl \
2305 maybe-check-itcl \
2306 maybe-check-ld \
2307 maybe-check-libbacktrace \
2308 maybe-check-libcpp \
2309 maybe-check-libdecnumber \
2310 maybe-check-libgui \
2311 maybe-check-libiberty \
2312 maybe-check-libiberty-linker-plugin \
2313 maybe-check-libiconv \
2314 maybe-check-m4 \
2315 maybe-check-readline \
2316 maybe-check-sid \
2317 maybe-check-sim \
2318 maybe-check-texinfo \
2319 maybe-check-zlib \
2320 maybe-check-gdb \
2321 maybe-check-expect \
2322 maybe-check-guile \
2323 maybe-check-tk \
2324 maybe-check-libtermcap \
2325 maybe-check-utils \
2326 maybe-check-gnattools \
2327 maybe-check-lto-plugin
2329 .PHONY: check-target
2330 check-target: \
2331 maybe-check-target-libstdc++-v3 \
2332 maybe-check-target-libsanitizer \
2333 maybe-check-target-libvtv \
2334 maybe-check-target-libcilkrts \
2335 maybe-check-target-libssp \
2336 maybe-check-target-newlib \
2337 maybe-check-target-libgcc \
2338 maybe-check-target-libbacktrace \
2339 maybe-check-target-libquadmath \
2340 maybe-check-target-libgfortran \
2341 maybe-check-target-libobjc \
2342 maybe-check-target-libgo \
2343 maybe-check-target-libtermcap \
2344 maybe-check-target-winsup \
2345 maybe-check-target-libgloss \
2346 maybe-check-target-libffi \
2347 maybe-check-target-libjava \
2348 maybe-check-target-zlib \
2349 maybe-check-target-boehm-gc \
2350 maybe-check-target-rda \
2351 maybe-check-target-libada \
2352 maybe-check-target-libgomp \
2353 maybe-check-target-libitm \
2354 maybe-check-target-libatomic
2356 do-check:
2357 @: $(MAKE); $(unstage)
2358 @r=`${PWD_COMMAND}`; export r; \
2359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2360 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2362 # Automated reporting of test results.
2364 warning.log: build.log
2365 $(srcdir)/contrib/warn_summary build.log > $@
2367 mail-report.log:
2368 if test x'$(BOOT_CFLAGS)' != x''; then \
2369 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2370 fi; \
2371 $(srcdir)/contrib/test_summary -t >$@
2372 chmod +x $@
2373 echo If you really want to send e-mail, run ./$@ now
2375 mail-report-with-warnings.log: warning.log
2376 if test x'$(BOOT_CFLAGS)' != x''; then \
2377 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2378 fi; \
2379 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2380 chmod +x $@
2381 echo If you really want to send e-mail, run ./$@ now
2383 # Installation targets.
2385 .PHONY: install uninstall
2386 install:
2387 @: $(MAKE); $(unstage)
2388 @r=`${PWD_COMMAND}`; export r; \
2389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2390 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2392 .PHONY: install-host-nogcc
2393 install-host-nogcc: \
2394 maybe-install-bfd \
2395 maybe-install-opcodes \
2396 maybe-install-binutils \
2397 maybe-install-bison \
2398 maybe-install-cgen \
2399 maybe-install-dejagnu \
2400 maybe-install-etc \
2401 maybe-install-fastjar \
2402 maybe-install-fixincludes \
2403 maybe-install-flex \
2404 maybe-install-gas \
2405 maybe-install-gmp \
2406 maybe-install-mpfr \
2407 maybe-install-mpc \
2408 maybe-install-isl \
2409 maybe-install-cloog \
2410 maybe-install-libelf \
2411 maybe-install-gold \
2412 maybe-install-gprof \
2413 maybe-install-intl \
2414 maybe-install-tcl \
2415 maybe-install-itcl \
2416 maybe-install-ld \
2417 maybe-install-libbacktrace \
2418 maybe-install-libcpp \
2419 maybe-install-libdecnumber \
2420 maybe-install-libgui \
2421 maybe-install-libiberty \
2422 maybe-install-libiberty-linker-plugin \
2423 maybe-install-libiconv \
2424 maybe-install-m4 \
2425 maybe-install-readline \
2426 maybe-install-sid \
2427 maybe-install-sim \
2428 maybe-install-texinfo \
2429 maybe-install-zlib \
2430 maybe-install-gdb \
2431 maybe-install-expect \
2432 maybe-install-guile \
2433 maybe-install-tk \
2434 maybe-install-libtermcap \
2435 maybe-install-utils \
2436 maybe-install-gnattools \
2437 maybe-install-lto-plugin
2439 .PHONY: install-host
2440 install-host: \
2441 maybe-install-bfd \
2442 maybe-install-opcodes \
2443 maybe-install-binutils \
2444 maybe-install-bison \
2445 maybe-install-cgen \
2446 maybe-install-dejagnu \
2447 maybe-install-etc \
2448 maybe-install-fastjar \
2449 maybe-install-fixincludes \
2450 maybe-install-flex \
2451 maybe-install-gas \
2452 maybe-install-gcc \
2453 maybe-install-gmp \
2454 maybe-install-mpfr \
2455 maybe-install-mpc \
2456 maybe-install-isl \
2457 maybe-install-cloog \
2458 maybe-install-libelf \
2459 maybe-install-gold \
2460 maybe-install-gprof \
2461 maybe-install-intl \
2462 maybe-install-tcl \
2463 maybe-install-itcl \
2464 maybe-install-ld \
2465 maybe-install-libbacktrace \
2466 maybe-install-libcpp \
2467 maybe-install-libdecnumber \
2468 maybe-install-libgui \
2469 maybe-install-libiberty \
2470 maybe-install-libiberty-linker-plugin \
2471 maybe-install-libiconv \
2472 maybe-install-m4 \
2473 maybe-install-readline \
2474 maybe-install-sid \
2475 maybe-install-sim \
2476 maybe-install-texinfo \
2477 maybe-install-zlib \
2478 maybe-install-gdb \
2479 maybe-install-expect \
2480 maybe-install-guile \
2481 maybe-install-tk \
2482 maybe-install-libtermcap \
2483 maybe-install-utils \
2484 maybe-install-gnattools \
2485 maybe-install-lto-plugin
2487 .PHONY: install-target
2488 install-target: \
2489 maybe-install-target-libstdc++-v3 \
2490 maybe-install-target-libsanitizer \
2491 maybe-install-target-libvtv \
2492 maybe-install-target-libcilkrts \
2493 maybe-install-target-libssp \
2494 maybe-install-target-newlib \
2495 maybe-install-target-libgcc \
2496 maybe-install-target-libbacktrace \
2497 maybe-install-target-libquadmath \
2498 maybe-install-target-libgfortran \
2499 maybe-install-target-libobjc \
2500 maybe-install-target-libgo \
2501 maybe-install-target-libtermcap \
2502 maybe-install-target-winsup \
2503 maybe-install-target-libgloss \
2504 maybe-install-target-libffi \
2505 maybe-install-target-libjava \
2506 maybe-install-target-zlib \
2507 maybe-install-target-boehm-gc \
2508 maybe-install-target-rda \
2509 maybe-install-target-libada \
2510 maybe-install-target-libgomp \
2511 maybe-install-target-libitm \
2512 maybe-install-target-libatomic
2514 uninstall:
2515 @echo "the uninstall target is not supported in this tree"
2517 .PHONY: install.all
2518 install.all: install-no-fixedincludes
2519 @if [ -f ./gcc/Makefile ] ; then \
2520 r=`${PWD_COMMAND}` ; export r ; \
2521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2522 $(HOST_EXPORTS) \
2523 (cd ./gcc && \
2524 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2525 else \
2526 true ; \
2529 # install-no-fixedincludes is used to allow the elaboration of binary packages
2530 # suitable for distribution, where we cannot include the fixed system header
2531 # files.
2532 .PHONY: install-no-fixedincludes
2533 install-no-fixedincludes: installdirs install-host-nogcc \
2534 install-target gcc-install-no-fixedincludes
2536 .PHONY: install-strip
2537 install-strip:
2538 @: $(MAKE); $(unstage)
2539 @r=`${PWD_COMMAND}`; export r; \
2540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2541 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target
2543 .PHONY: install-strip-host
2544 install-strip-host: \
2545 maybe-install-strip-bfd \
2546 maybe-install-strip-opcodes \
2547 maybe-install-strip-binutils \
2548 maybe-install-strip-bison \
2549 maybe-install-strip-cgen \
2550 maybe-install-strip-dejagnu \
2551 maybe-install-strip-etc \
2552 maybe-install-strip-fastjar \
2553 maybe-install-strip-fixincludes \
2554 maybe-install-strip-flex \
2555 maybe-install-strip-gas \
2556 maybe-install-strip-gcc \
2557 maybe-install-strip-gmp \
2558 maybe-install-strip-mpfr \
2559 maybe-install-strip-mpc \
2560 maybe-install-strip-isl \
2561 maybe-install-strip-cloog \
2562 maybe-install-strip-libelf \
2563 maybe-install-strip-gold \
2564 maybe-install-strip-gprof \
2565 maybe-install-strip-intl \
2566 maybe-install-strip-tcl \
2567 maybe-install-strip-itcl \
2568 maybe-install-strip-ld \
2569 maybe-install-strip-libbacktrace \
2570 maybe-install-strip-libcpp \
2571 maybe-install-strip-libdecnumber \
2572 maybe-install-strip-libgui \
2573 maybe-install-strip-libiberty \
2574 maybe-install-strip-libiberty-linker-plugin \
2575 maybe-install-strip-libiconv \
2576 maybe-install-strip-m4 \
2577 maybe-install-strip-readline \
2578 maybe-install-strip-sid \
2579 maybe-install-strip-sim \
2580 maybe-install-strip-texinfo \
2581 maybe-install-strip-zlib \
2582 maybe-install-strip-gdb \
2583 maybe-install-strip-expect \
2584 maybe-install-strip-guile \
2585 maybe-install-strip-tk \
2586 maybe-install-strip-libtermcap \
2587 maybe-install-strip-utils \
2588 maybe-install-strip-gnattools \
2589 maybe-install-strip-lto-plugin
2591 .PHONY: install-strip-target
2592 install-strip-target: \
2593 maybe-install-strip-target-libstdc++-v3 \
2594 maybe-install-strip-target-libsanitizer \
2595 maybe-install-strip-target-libvtv \
2596 maybe-install-strip-target-libcilkrts \
2597 maybe-install-strip-target-libssp \
2598 maybe-install-strip-target-newlib \
2599 maybe-install-strip-target-libgcc \
2600 maybe-install-strip-target-libbacktrace \
2601 maybe-install-strip-target-libquadmath \
2602 maybe-install-strip-target-libgfortran \
2603 maybe-install-strip-target-libobjc \
2604 maybe-install-strip-target-libgo \
2605 maybe-install-strip-target-libtermcap \
2606 maybe-install-strip-target-winsup \
2607 maybe-install-strip-target-libgloss \
2608 maybe-install-strip-target-libffi \
2609 maybe-install-strip-target-libjava \
2610 maybe-install-strip-target-zlib \
2611 maybe-install-strip-target-boehm-gc \
2612 maybe-install-strip-target-rda \
2613 maybe-install-strip-target-libada \
2614 maybe-install-strip-target-libgomp \
2615 maybe-install-strip-target-libitm \
2616 maybe-install-strip-target-libatomic
2619 ### other supporting targets
2621 MAKEDIRS= \
2622 $(DESTDIR)$(prefix) \
2623 $(DESTDIR)$(exec_prefix)
2624 .PHONY: installdirs
2625 installdirs: mkinstalldirs
2626 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2628 dir.info: do-install-info
2629 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2630 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2631 mv -f dir.info.new dir.info ; \
2632 else true ; \
2635 dist:
2636 @echo "Building a full distribution of this tree isn't done"
2637 @echo "via 'make dist'. Check out the etc/ subdirectory"
2639 etags tags: TAGS
2641 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2642 # ability to use several tags files at once, so there is probably no need
2643 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2644 # (if we felt like it) have this Makefile write a piece of elisp which
2645 # the user could load to tell emacs19 where all the TAGS files we just
2646 # built are.
2647 TAGS: do-TAGS
2649 # ------------------------------------
2650 # Macros for configure and all targets
2651 # ------------------------------------
2657 # --------------------------------------
2658 # Modules which run on the build machine
2659 # --------------------------------------
2662 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2663 maybe-configure-build-libiberty:
2664 @if gcc-bootstrap
2665 configure-build-libiberty: stage_current
2666 @endif gcc-bootstrap
2667 @if build-libiberty
2668 maybe-configure-build-libiberty: configure-build-libiberty
2669 configure-build-libiberty:
2670 @: $(MAKE); $(unstage)
2671 @r=`${PWD_COMMAND}`; export r; \
2672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2673 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2674 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2675 $(BUILD_EXPORTS) \
2676 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2677 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2678 case $(srcdir) in \
2679 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2680 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2681 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2682 esac; \
2683 module_srcdir=libiberty; \
2684 rm -f no-such-file || : ; \
2685 CONFIG_SITE=no-such-file $(SHELL) \
2686 $$s/$$module_srcdir/configure \
2687 --srcdir=$${topdir}/$$module_srcdir \
2688 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2689 --target=${target_alias} \
2690 || exit 1
2691 @endif build-libiberty
2697 .PHONY: all-build-libiberty maybe-all-build-libiberty
2698 maybe-all-build-libiberty:
2699 @if gcc-bootstrap
2700 all-build-libiberty: stage_current
2701 @endif gcc-bootstrap
2702 @if build-libiberty
2703 TARGET-build-libiberty=all
2704 maybe-all-build-libiberty: all-build-libiberty
2705 all-build-libiberty: configure-build-libiberty
2706 @: $(MAKE); $(unstage)
2707 @r=`${PWD_COMMAND}`; export r; \
2708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2709 $(BUILD_EXPORTS) \
2710 (cd $(BUILD_SUBDIR)/libiberty && \
2711 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2712 $(TARGET-build-libiberty))
2713 @endif build-libiberty
2719 .PHONY: configure-build-bison maybe-configure-build-bison
2720 maybe-configure-build-bison:
2721 @if gcc-bootstrap
2722 configure-build-bison: stage_current
2723 @endif gcc-bootstrap
2724 @if build-bison
2725 maybe-configure-build-bison: configure-build-bison
2726 configure-build-bison:
2727 @: $(MAKE); $(unstage)
2728 @r=`${PWD_COMMAND}`; export r; \
2729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2730 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2731 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2732 $(BUILD_EXPORTS) \
2733 echo Configuring in $(BUILD_SUBDIR)/bison; \
2734 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2735 case $(srcdir) in \
2736 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2737 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2738 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2739 esac; \
2740 module_srcdir=bison; \
2741 rm -f no-such-file || : ; \
2742 CONFIG_SITE=no-such-file $(SHELL) \
2743 $$s/$$module_srcdir/configure \
2744 --srcdir=$${topdir}/$$module_srcdir \
2745 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2746 --target=${target_alias} \
2747 || exit 1
2748 @endif build-bison
2754 .PHONY: all-build-bison maybe-all-build-bison
2755 maybe-all-build-bison:
2756 @if gcc-bootstrap
2757 all-build-bison: stage_current
2758 @endif gcc-bootstrap
2759 @if build-bison
2760 TARGET-build-bison=all
2761 maybe-all-build-bison: all-build-bison
2762 all-build-bison: configure-build-bison
2763 @: $(MAKE); $(unstage)
2764 @r=`${PWD_COMMAND}`; export r; \
2765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2766 $(BUILD_EXPORTS) \
2767 (cd $(BUILD_SUBDIR)/bison && \
2768 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2769 $(TARGET-build-bison))
2770 @endif build-bison
2776 .PHONY: configure-build-flex maybe-configure-build-flex
2777 maybe-configure-build-flex:
2778 @if gcc-bootstrap
2779 configure-build-flex: stage_current
2780 @endif gcc-bootstrap
2781 @if build-flex
2782 maybe-configure-build-flex: configure-build-flex
2783 configure-build-flex:
2784 @: $(MAKE); $(unstage)
2785 @r=`${PWD_COMMAND}`; export r; \
2786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2787 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2788 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2789 $(BUILD_EXPORTS) \
2790 echo Configuring in $(BUILD_SUBDIR)/flex; \
2791 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2792 case $(srcdir) in \
2793 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2794 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2795 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2796 esac; \
2797 module_srcdir=flex; \
2798 rm -f no-such-file || : ; \
2799 CONFIG_SITE=no-such-file $(SHELL) \
2800 $$s/$$module_srcdir/configure \
2801 --srcdir=$${topdir}/$$module_srcdir \
2802 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2803 --target=${target_alias} \
2804 || exit 1
2805 @endif build-flex
2811 .PHONY: all-build-flex maybe-all-build-flex
2812 maybe-all-build-flex:
2813 @if gcc-bootstrap
2814 all-build-flex: stage_current
2815 @endif gcc-bootstrap
2816 @if build-flex
2817 TARGET-build-flex=all
2818 maybe-all-build-flex: all-build-flex
2819 all-build-flex: configure-build-flex
2820 @: $(MAKE); $(unstage)
2821 @r=`${PWD_COMMAND}`; export r; \
2822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2823 $(BUILD_EXPORTS) \
2824 (cd $(BUILD_SUBDIR)/flex && \
2825 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2826 $(TARGET-build-flex))
2827 @endif build-flex
2833 .PHONY: configure-build-m4 maybe-configure-build-m4
2834 maybe-configure-build-m4:
2835 @if gcc-bootstrap
2836 configure-build-m4: stage_current
2837 @endif gcc-bootstrap
2838 @if build-m4
2839 maybe-configure-build-m4: configure-build-m4
2840 configure-build-m4:
2841 @: $(MAKE); $(unstage)
2842 @r=`${PWD_COMMAND}`; export r; \
2843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2844 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2845 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2846 $(BUILD_EXPORTS) \
2847 echo Configuring in $(BUILD_SUBDIR)/m4; \
2848 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2849 case $(srcdir) in \
2850 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2851 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2852 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2853 esac; \
2854 module_srcdir=m4; \
2855 rm -f no-such-file || : ; \
2856 CONFIG_SITE=no-such-file $(SHELL) \
2857 $$s/$$module_srcdir/configure \
2858 --srcdir=$${topdir}/$$module_srcdir \
2859 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2860 --target=${target_alias} \
2861 || exit 1
2862 @endif build-m4
2868 .PHONY: all-build-m4 maybe-all-build-m4
2869 maybe-all-build-m4:
2870 @if gcc-bootstrap
2871 all-build-m4: stage_current
2872 @endif gcc-bootstrap
2873 @if build-m4
2874 TARGET-build-m4=all
2875 maybe-all-build-m4: all-build-m4
2876 all-build-m4: configure-build-m4
2877 @: $(MAKE); $(unstage)
2878 @r=`${PWD_COMMAND}`; export r; \
2879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2880 $(BUILD_EXPORTS) \
2881 (cd $(BUILD_SUBDIR)/m4 && \
2882 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2883 $(TARGET-build-m4))
2884 @endif build-m4
2890 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2891 maybe-configure-build-texinfo:
2892 @if gcc-bootstrap
2893 configure-build-texinfo: stage_current
2894 @endif gcc-bootstrap
2895 @if build-texinfo
2896 maybe-configure-build-texinfo: configure-build-texinfo
2897 configure-build-texinfo:
2898 @: $(MAKE); $(unstage)
2899 @r=`${PWD_COMMAND}`; export r; \
2900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2901 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2902 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2903 $(BUILD_EXPORTS) \
2904 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2905 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2906 case $(srcdir) in \
2907 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2908 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2909 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2910 esac; \
2911 module_srcdir=texinfo; \
2912 rm -f no-such-file || : ; \
2913 CONFIG_SITE=no-such-file $(SHELL) \
2914 $$s/$$module_srcdir/configure \
2915 --srcdir=$${topdir}/$$module_srcdir \
2916 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2917 --target=${target_alias} \
2918 || exit 1
2919 @endif build-texinfo
2925 .PHONY: all-build-texinfo maybe-all-build-texinfo
2926 maybe-all-build-texinfo:
2927 @if gcc-bootstrap
2928 all-build-texinfo: stage_current
2929 @endif gcc-bootstrap
2930 @if build-texinfo
2931 TARGET-build-texinfo=all
2932 maybe-all-build-texinfo: all-build-texinfo
2933 all-build-texinfo: configure-build-texinfo
2934 @: $(MAKE); $(unstage)
2935 @r=`${PWD_COMMAND}`; export r; \
2936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2937 $(BUILD_EXPORTS) \
2938 (cd $(BUILD_SUBDIR)/texinfo && \
2939 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2940 $(TARGET-build-texinfo))
2941 @endif build-texinfo
2947 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2948 maybe-configure-build-fixincludes:
2949 @if gcc-bootstrap
2950 configure-build-fixincludes: stage_current
2951 @endif gcc-bootstrap
2952 @if build-fixincludes
2953 maybe-configure-build-fixincludes: configure-build-fixincludes
2954 configure-build-fixincludes:
2955 @: $(MAKE); $(unstage)
2956 @r=`${PWD_COMMAND}`; export r; \
2957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2958 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2959 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2960 $(BUILD_EXPORTS) \
2961 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2962 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2963 case $(srcdir) in \
2964 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2965 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2966 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2967 esac; \
2968 module_srcdir=fixincludes; \
2969 rm -f no-such-file || : ; \
2970 CONFIG_SITE=no-such-file $(SHELL) \
2971 $$s/$$module_srcdir/configure \
2972 --srcdir=$${topdir}/$$module_srcdir \
2973 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2974 --target=${target_alias} \
2975 || exit 1
2976 @endif build-fixincludes
2982 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2983 maybe-all-build-fixincludes:
2984 @if gcc-bootstrap
2985 all-build-fixincludes: stage_current
2986 @endif gcc-bootstrap
2987 @if build-fixincludes
2988 TARGET-build-fixincludes=all
2989 maybe-all-build-fixincludes: all-build-fixincludes
2990 all-build-fixincludes: configure-build-fixincludes
2991 @: $(MAKE); $(unstage)
2992 @r=`${PWD_COMMAND}`; export r; \
2993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2994 $(BUILD_EXPORTS) \
2995 (cd $(BUILD_SUBDIR)/fixincludes && \
2996 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2997 $(TARGET-build-fixincludes))
2998 @endif build-fixincludes
3004 # --------------------------------------
3005 # Modules which run on the host machine
3006 # --------------------------------------
3009 .PHONY: configure-bfd maybe-configure-bfd
3010 maybe-configure-bfd:
3011 @if gcc-bootstrap
3012 configure-bfd: stage_current
3013 @endif gcc-bootstrap
3014 @if bfd
3015 maybe-configure-bfd: configure-bfd
3016 configure-bfd:
3017 @r=`${PWD_COMMAND}`; export r; \
3018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3019 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3020 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3021 $(HOST_EXPORTS) \
3022 echo Configuring in $(HOST_SUBDIR)/bfd; \
3023 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
3024 case $(srcdir) in \
3025 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3026 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3027 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3028 esac; \
3029 module_srcdir=bfd; \
3030 $(SHELL) \
3031 $$s/$$module_srcdir/configure \
3032 --srcdir=$${topdir}/$$module_srcdir \
3033 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3034 --target=${target_alias} \
3035 || exit 1
3036 @endif bfd
3040 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
3041 maybe-configure-stage1-bfd:
3042 @if bfd-bootstrap
3043 maybe-configure-stage1-bfd: configure-stage1-bfd
3044 configure-stage1-bfd:
3045 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3046 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3047 @r=`${PWD_COMMAND}`; export r; \
3048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3049 TFLAGS="$(STAGE1_TFLAGS)"; \
3050 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3051 $(HOST_EXPORTS) \
3052 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3053 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3054 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
3055 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
3056 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3057 cd $(HOST_SUBDIR)/bfd || exit 1; \
3058 case $(srcdir) in \
3059 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3060 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3061 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3062 esac; \
3063 module_srcdir=bfd; \
3064 $(SHELL) $$s/$$module_srcdir/configure \
3065 --srcdir=$${topdir}/$$module_srcdir \
3066 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3067 --target=${target_alias} \
3069 $(STAGE1_CONFIGURE_FLAGS)
3070 @endif bfd-bootstrap
3072 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
3073 maybe-configure-stage2-bfd:
3074 @if bfd-bootstrap
3075 maybe-configure-stage2-bfd: configure-stage2-bfd
3076 configure-stage2-bfd:
3077 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3078 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3079 @r=`${PWD_COMMAND}`; export r; \
3080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3081 TFLAGS="$(STAGE2_TFLAGS)"; \
3082 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3083 $(HOST_EXPORTS) \
3084 $(POSTSTAGE1_HOST_EXPORTS) \
3085 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3086 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3087 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3088 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
3089 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3090 cd $(HOST_SUBDIR)/bfd || exit 1; \
3091 case $(srcdir) in \
3092 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3093 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3094 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3095 esac; \
3096 module_srcdir=bfd; \
3097 $(SHELL) $$s/$$module_srcdir/configure \
3098 --srcdir=$${topdir}/$$module_srcdir \
3099 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3100 --target=${target_alias} \
3101 --with-build-libsubdir=$(HOST_SUBDIR) \
3102 $(STAGE2_CONFIGURE_FLAGS)
3103 @endif bfd-bootstrap
3105 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
3106 maybe-configure-stage3-bfd:
3107 @if bfd-bootstrap
3108 maybe-configure-stage3-bfd: configure-stage3-bfd
3109 configure-stage3-bfd:
3110 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3111 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3112 @r=`${PWD_COMMAND}`; export r; \
3113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3114 TFLAGS="$(STAGE3_TFLAGS)"; \
3115 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3116 $(HOST_EXPORTS) \
3117 $(POSTSTAGE1_HOST_EXPORTS) \
3118 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3119 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3120 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3121 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
3122 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3123 cd $(HOST_SUBDIR)/bfd || exit 1; \
3124 case $(srcdir) in \
3125 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3126 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3127 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3128 esac; \
3129 module_srcdir=bfd; \
3130 $(SHELL) $$s/$$module_srcdir/configure \
3131 --srcdir=$${topdir}/$$module_srcdir \
3132 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3133 --target=${target_alias} \
3134 --with-build-libsubdir=$(HOST_SUBDIR) \
3135 $(STAGE3_CONFIGURE_FLAGS)
3136 @endif bfd-bootstrap
3138 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
3139 maybe-configure-stage4-bfd:
3140 @if bfd-bootstrap
3141 maybe-configure-stage4-bfd: configure-stage4-bfd
3142 configure-stage4-bfd:
3143 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3144 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3145 @r=`${PWD_COMMAND}`; export r; \
3146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3147 TFLAGS="$(STAGE4_TFLAGS)"; \
3148 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3149 $(HOST_EXPORTS) \
3150 $(POSTSTAGE1_HOST_EXPORTS) \
3151 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3152 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3153 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3154 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
3155 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3156 cd $(HOST_SUBDIR)/bfd || exit 1; \
3157 case $(srcdir) in \
3158 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3159 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3160 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3161 esac; \
3162 module_srcdir=bfd; \
3163 $(SHELL) $$s/$$module_srcdir/configure \
3164 --srcdir=$${topdir}/$$module_srcdir \
3165 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3166 --target=${target_alias} \
3167 --with-build-libsubdir=$(HOST_SUBDIR) \
3168 $(STAGE4_CONFIGURE_FLAGS)
3169 @endif bfd-bootstrap
3171 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
3172 maybe-configure-stageprofile-bfd:
3173 @if bfd-bootstrap
3174 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
3175 configure-stageprofile-bfd:
3176 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3177 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3178 @r=`${PWD_COMMAND}`; export r; \
3179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3180 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3181 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3182 $(HOST_EXPORTS) \
3183 $(POSTSTAGE1_HOST_EXPORTS) \
3184 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3185 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3186 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3187 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
3188 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3189 cd $(HOST_SUBDIR)/bfd || exit 1; \
3190 case $(srcdir) in \
3191 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3192 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3193 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3194 esac; \
3195 module_srcdir=bfd; \
3196 $(SHELL) $$s/$$module_srcdir/configure \
3197 --srcdir=$${topdir}/$$module_srcdir \
3198 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3199 --target=${target_alias} \
3200 --with-build-libsubdir=$(HOST_SUBDIR) \
3201 $(STAGEprofile_CONFIGURE_FLAGS)
3202 @endif bfd-bootstrap
3204 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
3205 maybe-configure-stagefeedback-bfd:
3206 @if bfd-bootstrap
3207 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
3208 configure-stagefeedback-bfd:
3209 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3210 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3211 @r=`${PWD_COMMAND}`; export r; \
3212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3213 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3214 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3215 $(HOST_EXPORTS) \
3216 $(POSTSTAGE1_HOST_EXPORTS) \
3217 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
3218 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
3219 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
3220 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
3221 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3222 cd $(HOST_SUBDIR)/bfd || exit 1; \
3223 case $(srcdir) in \
3224 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3225 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3226 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3227 esac; \
3228 module_srcdir=bfd; \
3229 $(SHELL) $$s/$$module_srcdir/configure \
3230 --srcdir=$${topdir}/$$module_srcdir \
3231 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3232 --target=${target_alias} \
3233 --with-build-libsubdir=$(HOST_SUBDIR) \
3234 $(STAGEfeedback_CONFIGURE_FLAGS)
3235 @endif bfd-bootstrap
3241 .PHONY: all-bfd maybe-all-bfd
3242 maybe-all-bfd:
3243 @if gcc-bootstrap
3244 all-bfd: stage_current
3245 @endif gcc-bootstrap
3246 @if bfd
3247 TARGET-bfd=all
3248 maybe-all-bfd: all-bfd
3249 all-bfd: configure-bfd
3250 @r=`${PWD_COMMAND}`; export r; \
3251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3252 $(HOST_EXPORTS) \
3253 (cd $(HOST_SUBDIR)/bfd && \
3254 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
3255 $(TARGET-bfd))
3256 @endif bfd
3260 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
3261 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
3262 maybe-all-stage1-bfd:
3263 maybe-clean-stage1-bfd:
3264 @if bfd-bootstrap
3265 maybe-all-stage1-bfd: all-stage1-bfd
3266 all-stage1: all-stage1-bfd
3267 TARGET-stage1-bfd = $(TARGET-bfd)
3268 all-stage1-bfd: configure-stage1-bfd
3269 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3270 @r=`${PWD_COMMAND}`; export r; \
3271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3272 TFLAGS="$(STAGE1_TFLAGS)"; \
3273 $(HOST_EXPORTS) \
3274 cd $(HOST_SUBDIR)/bfd && \
3275 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3276 CFLAGS="$(STAGE1_CFLAGS)" \
3277 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
3278 LIBCFLAGS="$(LIBCFLAGS)" \
3279 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3280 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3281 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3282 $(EXTRA_HOST_FLAGS) \
3283 $(STAGE1_FLAGS_TO_PASS) \
3284 TFLAGS="$(STAGE1_TFLAGS)" \
3285 $(TARGET-stage1-bfd)
3287 maybe-clean-stage1-bfd: clean-stage1-bfd
3288 clean-stage1: clean-stage1-bfd
3289 clean-stage1-bfd:
3290 @if [ $(current_stage) = stage1 ]; then \
3291 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3292 else \
3293 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
3294 $(MAKE) stage1-start; \
3295 fi; \
3296 cd $(HOST_SUBDIR)/bfd && \
3297 $(MAKE) $(EXTRA_HOST_FLAGS) \
3298 $(STAGE1_FLAGS_TO_PASS) clean
3299 @endif bfd-bootstrap
3302 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
3303 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
3304 maybe-all-stage2-bfd:
3305 maybe-clean-stage2-bfd:
3306 @if bfd-bootstrap
3307 maybe-all-stage2-bfd: all-stage2-bfd
3308 all-stage2: all-stage2-bfd
3309 TARGET-stage2-bfd = $(TARGET-bfd)
3310 all-stage2-bfd: configure-stage2-bfd
3311 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3312 @r=`${PWD_COMMAND}`; export r; \
3313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3314 TFLAGS="$(STAGE2_TFLAGS)"; \
3315 $(HOST_EXPORTS) \
3316 $(POSTSTAGE1_HOST_EXPORTS) \
3317 cd $(HOST_SUBDIR)/bfd && \
3318 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3319 CFLAGS="$(STAGE2_CFLAGS)" \
3320 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
3321 LIBCFLAGS="$(STAGE2_CFLAGS)" \
3322 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3323 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3324 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3325 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3326 TFLAGS="$(STAGE2_TFLAGS)" \
3327 $(TARGET-stage2-bfd)
3329 maybe-clean-stage2-bfd: clean-stage2-bfd
3330 clean-stage2: clean-stage2-bfd
3331 clean-stage2-bfd:
3332 @if [ $(current_stage) = stage2 ]; then \
3333 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3334 else \
3335 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
3336 $(MAKE) stage2-start; \
3337 fi; \
3338 cd $(HOST_SUBDIR)/bfd && \
3339 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3340 @endif bfd-bootstrap
3343 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
3344 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
3345 maybe-all-stage3-bfd:
3346 maybe-clean-stage3-bfd:
3347 @if bfd-bootstrap
3348 maybe-all-stage3-bfd: all-stage3-bfd
3349 all-stage3: all-stage3-bfd
3350 TARGET-stage3-bfd = $(TARGET-bfd)
3351 all-stage3-bfd: configure-stage3-bfd
3352 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3353 @r=`${PWD_COMMAND}`; export r; \
3354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3355 TFLAGS="$(STAGE3_TFLAGS)"; \
3356 $(HOST_EXPORTS) \
3357 $(POSTSTAGE1_HOST_EXPORTS) \
3358 cd $(HOST_SUBDIR)/bfd && \
3359 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3360 CFLAGS="$(STAGE3_CFLAGS)" \
3361 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
3362 LIBCFLAGS="$(STAGE3_CFLAGS)" \
3363 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3364 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3365 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3366 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3367 TFLAGS="$(STAGE3_TFLAGS)" \
3368 $(TARGET-stage3-bfd)
3370 maybe-clean-stage3-bfd: clean-stage3-bfd
3371 clean-stage3: clean-stage3-bfd
3372 clean-stage3-bfd:
3373 @if [ $(current_stage) = stage3 ]; then \
3374 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3375 else \
3376 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
3377 $(MAKE) stage3-start; \
3378 fi; \
3379 cd $(HOST_SUBDIR)/bfd && \
3380 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3381 @endif bfd-bootstrap
3384 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
3385 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
3386 maybe-all-stage4-bfd:
3387 maybe-clean-stage4-bfd:
3388 @if bfd-bootstrap
3389 maybe-all-stage4-bfd: all-stage4-bfd
3390 all-stage4: all-stage4-bfd
3391 TARGET-stage4-bfd = $(TARGET-bfd)
3392 all-stage4-bfd: configure-stage4-bfd
3393 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3394 @r=`${PWD_COMMAND}`; export r; \
3395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3396 TFLAGS="$(STAGE4_TFLAGS)"; \
3397 $(HOST_EXPORTS) \
3398 $(POSTSTAGE1_HOST_EXPORTS) \
3399 cd $(HOST_SUBDIR)/bfd && \
3400 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3401 CFLAGS="$(STAGE4_CFLAGS)" \
3402 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
3403 LIBCFLAGS="$(STAGE4_CFLAGS)" \
3404 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3405 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3406 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3407 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3408 TFLAGS="$(STAGE4_TFLAGS)" \
3409 $(TARGET-stage4-bfd)
3411 maybe-clean-stage4-bfd: clean-stage4-bfd
3412 clean-stage4: clean-stage4-bfd
3413 clean-stage4-bfd:
3414 @if [ $(current_stage) = stage4 ]; then \
3415 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3416 else \
3417 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
3418 $(MAKE) stage4-start; \
3419 fi; \
3420 cd $(HOST_SUBDIR)/bfd && \
3421 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3422 @endif bfd-bootstrap
3425 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
3426 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
3427 maybe-all-stageprofile-bfd:
3428 maybe-clean-stageprofile-bfd:
3429 @if bfd-bootstrap
3430 maybe-all-stageprofile-bfd: all-stageprofile-bfd
3431 all-stageprofile: all-stageprofile-bfd
3432 TARGET-stageprofile-bfd = $(TARGET-bfd)
3433 all-stageprofile-bfd: configure-stageprofile-bfd
3434 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3435 @r=`${PWD_COMMAND}`; export r; \
3436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3437 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3438 $(HOST_EXPORTS) \
3439 $(POSTSTAGE1_HOST_EXPORTS) \
3440 cd $(HOST_SUBDIR)/bfd && \
3441 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3442 CFLAGS="$(STAGEprofile_CFLAGS)" \
3443 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
3444 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
3445 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3446 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3447 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3448 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3449 TFLAGS="$(STAGEprofile_TFLAGS)" \
3450 $(TARGET-stageprofile-bfd)
3452 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
3453 clean-stageprofile: clean-stageprofile-bfd
3454 clean-stageprofile-bfd:
3455 @if [ $(current_stage) = stageprofile ]; then \
3456 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3457 else \
3458 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
3459 $(MAKE) stageprofile-start; \
3460 fi; \
3461 cd $(HOST_SUBDIR)/bfd && \
3462 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3463 @endif bfd-bootstrap
3466 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
3467 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
3468 maybe-all-stagefeedback-bfd:
3469 maybe-clean-stagefeedback-bfd:
3470 @if bfd-bootstrap
3471 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
3472 all-stagefeedback: all-stagefeedback-bfd
3473 TARGET-stagefeedback-bfd = $(TARGET-bfd)
3474 all-stagefeedback-bfd: configure-stagefeedback-bfd
3475 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3476 @r=`${PWD_COMMAND}`; export r; \
3477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3478 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3479 $(HOST_EXPORTS) \
3480 $(POSTSTAGE1_HOST_EXPORTS) \
3481 cd $(HOST_SUBDIR)/bfd && \
3482 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3483 CFLAGS="$(STAGEfeedback_CFLAGS)" \
3484 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
3485 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
3486 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3487 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3488 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3489 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3490 TFLAGS="$(STAGEfeedback_TFLAGS)" \
3491 $(TARGET-stagefeedback-bfd)
3493 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
3494 clean-stagefeedback: clean-stagefeedback-bfd
3495 clean-stagefeedback-bfd:
3496 @if [ $(current_stage) = stagefeedback ]; then \
3497 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3498 else \
3499 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
3500 $(MAKE) stagefeedback-start; \
3501 fi; \
3502 cd $(HOST_SUBDIR)/bfd && \
3503 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3504 @endif bfd-bootstrap
3510 .PHONY: check-bfd maybe-check-bfd
3511 maybe-check-bfd:
3512 @if bfd
3513 maybe-check-bfd: check-bfd
3515 check-bfd:
3516 @: $(MAKE); $(unstage)
3517 @r=`${PWD_COMMAND}`; export r; \
3518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3519 $(HOST_EXPORTS) \
3520 (cd $(HOST_SUBDIR)/bfd && \
3521 $(MAKE) $(FLAGS_TO_PASS) check)
3523 @endif bfd
3525 .PHONY: install-bfd maybe-install-bfd
3526 maybe-install-bfd:
3527 @if bfd
3528 maybe-install-bfd: install-bfd
3530 install-bfd: installdirs
3531 @: $(MAKE); $(unstage)
3532 @r=`${PWD_COMMAND}`; export r; \
3533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3534 $(HOST_EXPORTS) \
3535 (cd $(HOST_SUBDIR)/bfd && \
3536 $(MAKE) $(FLAGS_TO_PASS) install)
3538 @endif bfd
3540 .PHONY: install-strip-bfd maybe-install-strip-bfd
3541 maybe-install-strip-bfd:
3542 @if bfd
3543 maybe-install-strip-bfd: install-strip-bfd
3545 install-strip-bfd: installdirs
3546 @: $(MAKE); $(unstage)
3547 @r=`${PWD_COMMAND}`; export r; \
3548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3549 $(HOST_EXPORTS) \
3550 (cd $(HOST_SUBDIR)/bfd && \
3551 $(MAKE) $(FLAGS_TO_PASS) install-strip)
3553 @endif bfd
3555 # Other targets (info, dvi, pdf, etc.)
3557 .PHONY: maybe-info-bfd info-bfd
3558 maybe-info-bfd:
3559 @if bfd
3560 maybe-info-bfd: info-bfd
3562 info-bfd: \
3563 configure-bfd
3564 @[ -f ./bfd/Makefile ] || exit 0; \
3565 r=`${PWD_COMMAND}`; export r; \
3566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3567 $(HOST_EXPORTS) \
3568 for flag in $(EXTRA_HOST_FLAGS) ; do \
3569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3570 done; \
3571 echo "Doing info in bfd" ; \
3572 (cd $(HOST_SUBDIR)/bfd && \
3573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3575 "RANLIB=$${RANLIB}" \
3576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3577 info) \
3578 || exit 1
3580 @endif bfd
3582 .PHONY: maybe-dvi-bfd dvi-bfd
3583 maybe-dvi-bfd:
3584 @if bfd
3585 maybe-dvi-bfd: dvi-bfd
3587 dvi-bfd: \
3588 configure-bfd
3589 @[ -f ./bfd/Makefile ] || exit 0; \
3590 r=`${PWD_COMMAND}`; export r; \
3591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3592 $(HOST_EXPORTS) \
3593 for flag in $(EXTRA_HOST_FLAGS) ; do \
3594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3595 done; \
3596 echo "Doing dvi in bfd" ; \
3597 (cd $(HOST_SUBDIR)/bfd && \
3598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3600 "RANLIB=$${RANLIB}" \
3601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3602 dvi) \
3603 || exit 1
3605 @endif bfd
3607 .PHONY: maybe-pdf-bfd pdf-bfd
3608 maybe-pdf-bfd:
3609 @if bfd
3610 maybe-pdf-bfd: pdf-bfd
3612 pdf-bfd: \
3613 configure-bfd
3614 @[ -f ./bfd/Makefile ] || exit 0; \
3615 r=`${PWD_COMMAND}`; export r; \
3616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3617 $(HOST_EXPORTS) \
3618 for flag in $(EXTRA_HOST_FLAGS) ; do \
3619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3620 done; \
3621 echo "Doing pdf in bfd" ; \
3622 (cd $(HOST_SUBDIR)/bfd && \
3623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3625 "RANLIB=$${RANLIB}" \
3626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3627 pdf) \
3628 || exit 1
3630 @endif bfd
3632 .PHONY: maybe-html-bfd html-bfd
3633 maybe-html-bfd:
3634 @if bfd
3635 maybe-html-bfd: html-bfd
3637 html-bfd: \
3638 configure-bfd
3639 @[ -f ./bfd/Makefile ] || exit 0; \
3640 r=`${PWD_COMMAND}`; export r; \
3641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3642 $(HOST_EXPORTS) \
3643 for flag in $(EXTRA_HOST_FLAGS) ; do \
3644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3645 done; \
3646 echo "Doing html in bfd" ; \
3647 (cd $(HOST_SUBDIR)/bfd && \
3648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3650 "RANLIB=$${RANLIB}" \
3651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3652 html) \
3653 || exit 1
3655 @endif bfd
3657 .PHONY: maybe-TAGS-bfd TAGS-bfd
3658 maybe-TAGS-bfd:
3659 @if bfd
3660 maybe-TAGS-bfd: TAGS-bfd
3662 TAGS-bfd: \
3663 configure-bfd
3664 @[ -f ./bfd/Makefile ] || exit 0; \
3665 r=`${PWD_COMMAND}`; export r; \
3666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3667 $(HOST_EXPORTS) \
3668 for flag in $(EXTRA_HOST_FLAGS) ; do \
3669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3670 done; \
3671 echo "Doing TAGS in bfd" ; \
3672 (cd $(HOST_SUBDIR)/bfd && \
3673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3675 "RANLIB=$${RANLIB}" \
3676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3677 TAGS) \
3678 || exit 1
3680 @endif bfd
3682 .PHONY: maybe-install-info-bfd install-info-bfd
3683 maybe-install-info-bfd:
3684 @if bfd
3685 maybe-install-info-bfd: install-info-bfd
3687 install-info-bfd: \
3688 configure-bfd \
3689 info-bfd
3690 @[ -f ./bfd/Makefile ] || exit 0; \
3691 r=`${PWD_COMMAND}`; export r; \
3692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3693 $(HOST_EXPORTS) \
3694 for flag in $(EXTRA_HOST_FLAGS) ; do \
3695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3696 done; \
3697 echo "Doing install-info in bfd" ; \
3698 (cd $(HOST_SUBDIR)/bfd && \
3699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3701 "RANLIB=$${RANLIB}" \
3702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3703 install-info) \
3704 || exit 1
3706 @endif bfd
3708 .PHONY: maybe-install-pdf-bfd install-pdf-bfd
3709 maybe-install-pdf-bfd:
3710 @if bfd
3711 maybe-install-pdf-bfd: install-pdf-bfd
3713 install-pdf-bfd: \
3714 configure-bfd \
3715 pdf-bfd
3716 @[ -f ./bfd/Makefile ] || exit 0; \
3717 r=`${PWD_COMMAND}`; export r; \
3718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3719 $(HOST_EXPORTS) \
3720 for flag in $(EXTRA_HOST_FLAGS) ; do \
3721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3722 done; \
3723 echo "Doing install-pdf in bfd" ; \
3724 (cd $(HOST_SUBDIR)/bfd && \
3725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3727 "RANLIB=$${RANLIB}" \
3728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3729 install-pdf) \
3730 || exit 1
3732 @endif bfd
3734 .PHONY: maybe-install-html-bfd install-html-bfd
3735 maybe-install-html-bfd:
3736 @if bfd
3737 maybe-install-html-bfd: install-html-bfd
3739 install-html-bfd: \
3740 configure-bfd \
3741 html-bfd
3742 @[ -f ./bfd/Makefile ] || exit 0; \
3743 r=`${PWD_COMMAND}`; export r; \
3744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3745 $(HOST_EXPORTS) \
3746 for flag in $(EXTRA_HOST_FLAGS) ; do \
3747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3748 done; \
3749 echo "Doing install-html in bfd" ; \
3750 (cd $(HOST_SUBDIR)/bfd && \
3751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3753 "RANLIB=$${RANLIB}" \
3754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3755 install-html) \
3756 || exit 1
3758 @endif bfd
3760 .PHONY: maybe-installcheck-bfd installcheck-bfd
3761 maybe-installcheck-bfd:
3762 @if bfd
3763 maybe-installcheck-bfd: installcheck-bfd
3765 installcheck-bfd: \
3766 configure-bfd
3767 @[ -f ./bfd/Makefile ] || exit 0; \
3768 r=`${PWD_COMMAND}`; export r; \
3769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3770 $(HOST_EXPORTS) \
3771 for flag in $(EXTRA_HOST_FLAGS) ; do \
3772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3773 done; \
3774 echo "Doing installcheck in bfd" ; \
3775 (cd $(HOST_SUBDIR)/bfd && \
3776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3778 "RANLIB=$${RANLIB}" \
3779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3780 installcheck) \
3781 || exit 1
3783 @endif bfd
3785 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3786 maybe-mostlyclean-bfd:
3787 @if bfd
3788 maybe-mostlyclean-bfd: mostlyclean-bfd
3790 mostlyclean-bfd:
3791 @[ -f ./bfd/Makefile ] || exit 0; \
3792 r=`${PWD_COMMAND}`; export r; \
3793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3794 $(HOST_EXPORTS) \
3795 for flag in $(EXTRA_HOST_FLAGS) ; do \
3796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3797 done; \
3798 echo "Doing mostlyclean in bfd" ; \
3799 (cd $(HOST_SUBDIR)/bfd && \
3800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3802 "RANLIB=$${RANLIB}" \
3803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3804 mostlyclean) \
3805 || exit 1
3807 @endif bfd
3809 .PHONY: maybe-clean-bfd clean-bfd
3810 maybe-clean-bfd:
3811 @if bfd
3812 maybe-clean-bfd: clean-bfd
3814 clean-bfd:
3815 @[ -f ./bfd/Makefile ] || exit 0; \
3816 r=`${PWD_COMMAND}`; export r; \
3817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3818 $(HOST_EXPORTS) \
3819 for flag in $(EXTRA_HOST_FLAGS) ; do \
3820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3821 done; \
3822 echo "Doing clean in bfd" ; \
3823 (cd $(HOST_SUBDIR)/bfd && \
3824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3826 "RANLIB=$${RANLIB}" \
3827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3828 clean) \
3829 || exit 1
3831 @endif bfd
3833 .PHONY: maybe-distclean-bfd distclean-bfd
3834 maybe-distclean-bfd:
3835 @if bfd
3836 maybe-distclean-bfd: distclean-bfd
3838 distclean-bfd:
3839 @[ -f ./bfd/Makefile ] || exit 0; \
3840 r=`${PWD_COMMAND}`; export r; \
3841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3842 $(HOST_EXPORTS) \
3843 for flag in $(EXTRA_HOST_FLAGS) ; do \
3844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3845 done; \
3846 echo "Doing distclean in bfd" ; \
3847 (cd $(HOST_SUBDIR)/bfd && \
3848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3850 "RANLIB=$${RANLIB}" \
3851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3852 distclean) \
3853 || exit 1
3855 @endif bfd
3857 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
3858 maybe-maintainer-clean-bfd:
3859 @if bfd
3860 maybe-maintainer-clean-bfd: maintainer-clean-bfd
3862 maintainer-clean-bfd:
3863 @[ -f ./bfd/Makefile ] || exit 0; \
3864 r=`${PWD_COMMAND}`; export r; \
3865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3866 $(HOST_EXPORTS) \
3867 for flag in $(EXTRA_HOST_FLAGS) ; do \
3868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3869 done; \
3870 echo "Doing maintainer-clean in bfd" ; \
3871 (cd $(HOST_SUBDIR)/bfd && \
3872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3874 "RANLIB=$${RANLIB}" \
3875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3876 maintainer-clean) \
3877 || exit 1
3879 @endif bfd
3883 .PHONY: configure-opcodes maybe-configure-opcodes
3884 maybe-configure-opcodes:
3885 @if gcc-bootstrap
3886 configure-opcodes: stage_current
3887 @endif gcc-bootstrap
3888 @if opcodes
3889 maybe-configure-opcodes: configure-opcodes
3890 configure-opcodes:
3891 @r=`${PWD_COMMAND}`; export r; \
3892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3893 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3894 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3895 $(HOST_EXPORTS) \
3896 echo Configuring in $(HOST_SUBDIR)/opcodes; \
3897 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
3898 case $(srcdir) in \
3899 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3900 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3901 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3902 esac; \
3903 module_srcdir=opcodes; \
3904 $(SHELL) \
3905 $$s/$$module_srcdir/configure \
3906 --srcdir=$${topdir}/$$module_srcdir \
3907 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3908 --target=${target_alias} \
3909 || exit 1
3910 @endif opcodes
3914 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
3915 maybe-configure-stage1-opcodes:
3916 @if opcodes-bootstrap
3917 maybe-configure-stage1-opcodes: configure-stage1-opcodes
3918 configure-stage1-opcodes:
3919 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3920 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3921 @r=`${PWD_COMMAND}`; export r; \
3922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3923 TFLAGS="$(STAGE1_TFLAGS)"; \
3924 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3925 $(HOST_EXPORTS) \
3926 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3927 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3928 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
3929 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
3930 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3931 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3932 case $(srcdir) in \
3933 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3934 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3935 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3936 esac; \
3937 module_srcdir=opcodes; \
3938 $(SHELL) $$s/$$module_srcdir/configure \
3939 --srcdir=$${topdir}/$$module_srcdir \
3940 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3941 --target=${target_alias} \
3943 $(STAGE1_CONFIGURE_FLAGS)
3944 @endif opcodes-bootstrap
3946 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
3947 maybe-configure-stage2-opcodes:
3948 @if opcodes-bootstrap
3949 maybe-configure-stage2-opcodes: configure-stage2-opcodes
3950 configure-stage2-opcodes:
3951 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3952 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3953 @r=`${PWD_COMMAND}`; export r; \
3954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3955 TFLAGS="$(STAGE2_TFLAGS)"; \
3956 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3957 $(HOST_EXPORTS) \
3958 $(POSTSTAGE1_HOST_EXPORTS) \
3959 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3960 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3961 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3962 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
3963 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3964 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3965 case $(srcdir) in \
3966 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3967 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3968 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3969 esac; \
3970 module_srcdir=opcodes; \
3971 $(SHELL) $$s/$$module_srcdir/configure \
3972 --srcdir=$${topdir}/$$module_srcdir \
3973 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3974 --target=${target_alias} \
3975 --with-build-libsubdir=$(HOST_SUBDIR) \
3976 $(STAGE2_CONFIGURE_FLAGS)
3977 @endif opcodes-bootstrap
3979 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
3980 maybe-configure-stage3-opcodes:
3981 @if opcodes-bootstrap
3982 maybe-configure-stage3-opcodes: configure-stage3-opcodes
3983 configure-stage3-opcodes:
3984 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3985 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3986 @r=`${PWD_COMMAND}`; export r; \
3987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3988 TFLAGS="$(STAGE3_TFLAGS)"; \
3989 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3990 $(HOST_EXPORTS) \
3991 $(POSTSTAGE1_HOST_EXPORTS) \
3992 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3993 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3994 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3995 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
3996 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3997 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3998 case $(srcdir) in \
3999 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4000 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4001 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4002 esac; \
4003 module_srcdir=opcodes; \
4004 $(SHELL) $$s/$$module_srcdir/configure \
4005 --srcdir=$${topdir}/$$module_srcdir \
4006 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4007 --target=${target_alias} \
4008 --with-build-libsubdir=$(HOST_SUBDIR) \
4009 $(STAGE3_CONFIGURE_FLAGS)
4010 @endif opcodes-bootstrap
4012 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
4013 maybe-configure-stage4-opcodes:
4014 @if opcodes-bootstrap
4015 maybe-configure-stage4-opcodes: configure-stage4-opcodes
4016 configure-stage4-opcodes:
4017 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4018 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4019 @r=`${PWD_COMMAND}`; export r; \
4020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4021 TFLAGS="$(STAGE4_TFLAGS)"; \
4022 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4023 $(HOST_EXPORTS) \
4024 $(POSTSTAGE1_HOST_EXPORTS) \
4025 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
4026 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
4027 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
4028 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
4029 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4030 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4031 case $(srcdir) in \
4032 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4033 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4034 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4035 esac; \
4036 module_srcdir=opcodes; \
4037 $(SHELL) $$s/$$module_srcdir/configure \
4038 --srcdir=$${topdir}/$$module_srcdir \
4039 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4040 --target=${target_alias} \
4041 --with-build-libsubdir=$(HOST_SUBDIR) \
4042 $(STAGE4_CONFIGURE_FLAGS)
4043 @endif opcodes-bootstrap
4045 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
4046 maybe-configure-stageprofile-opcodes:
4047 @if opcodes-bootstrap
4048 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
4049 configure-stageprofile-opcodes:
4050 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4051 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4052 @r=`${PWD_COMMAND}`; export r; \
4053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4054 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4055 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4056 $(HOST_EXPORTS) \
4057 $(POSTSTAGE1_HOST_EXPORTS) \
4058 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4059 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4060 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4061 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
4062 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4063 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4064 case $(srcdir) in \
4065 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4066 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4067 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4068 esac; \
4069 module_srcdir=opcodes; \
4070 $(SHELL) $$s/$$module_srcdir/configure \
4071 --srcdir=$${topdir}/$$module_srcdir \
4072 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4073 --target=${target_alias} \
4074 --with-build-libsubdir=$(HOST_SUBDIR) \
4075 $(STAGEprofile_CONFIGURE_FLAGS)
4076 @endif opcodes-bootstrap
4078 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
4079 maybe-configure-stagefeedback-opcodes:
4080 @if opcodes-bootstrap
4081 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
4082 configure-stagefeedback-opcodes:
4083 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4084 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4085 @r=`${PWD_COMMAND}`; export r; \
4086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4087 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4088 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4089 $(HOST_EXPORTS) \
4090 $(POSTSTAGE1_HOST_EXPORTS) \
4091 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4092 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4093 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4094 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
4095 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4096 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4097 case $(srcdir) in \
4098 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4099 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4100 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4101 esac; \
4102 module_srcdir=opcodes; \
4103 $(SHELL) $$s/$$module_srcdir/configure \
4104 --srcdir=$${topdir}/$$module_srcdir \
4105 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4106 --target=${target_alias} \
4107 --with-build-libsubdir=$(HOST_SUBDIR) \
4108 $(STAGEfeedback_CONFIGURE_FLAGS)
4109 @endif opcodes-bootstrap
4115 .PHONY: all-opcodes maybe-all-opcodes
4116 maybe-all-opcodes:
4117 @if gcc-bootstrap
4118 all-opcodes: stage_current
4119 @endif gcc-bootstrap
4120 @if opcodes
4121 TARGET-opcodes=all
4122 maybe-all-opcodes: all-opcodes
4123 all-opcodes: configure-opcodes
4124 @r=`${PWD_COMMAND}`; export r; \
4125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4126 $(HOST_EXPORTS) \
4127 (cd $(HOST_SUBDIR)/opcodes && \
4128 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
4129 $(TARGET-opcodes))
4130 @endif opcodes
4134 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4135 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4136 maybe-all-stage1-opcodes:
4137 maybe-clean-stage1-opcodes:
4138 @if opcodes-bootstrap
4139 maybe-all-stage1-opcodes: all-stage1-opcodes
4140 all-stage1: all-stage1-opcodes
4141 TARGET-stage1-opcodes = $(TARGET-opcodes)
4142 all-stage1-opcodes: configure-stage1-opcodes
4143 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4144 @r=`${PWD_COMMAND}`; export r; \
4145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4146 TFLAGS="$(STAGE1_TFLAGS)"; \
4147 $(HOST_EXPORTS) \
4148 cd $(HOST_SUBDIR)/opcodes && \
4149 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4150 CFLAGS="$(STAGE1_CFLAGS)" \
4151 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4152 LIBCFLAGS="$(LIBCFLAGS)" \
4153 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4154 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4155 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4156 $(EXTRA_HOST_FLAGS) \
4157 $(STAGE1_FLAGS_TO_PASS) \
4158 TFLAGS="$(STAGE1_TFLAGS)" \
4159 $(TARGET-stage1-opcodes)
4161 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4162 clean-stage1: clean-stage1-opcodes
4163 clean-stage1-opcodes:
4164 @if [ $(current_stage) = stage1 ]; then \
4165 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4166 else \
4167 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
4168 $(MAKE) stage1-start; \
4169 fi; \
4170 cd $(HOST_SUBDIR)/opcodes && \
4171 $(MAKE) $(EXTRA_HOST_FLAGS) \
4172 $(STAGE1_FLAGS_TO_PASS) clean
4173 @endif opcodes-bootstrap
4176 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4177 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4178 maybe-all-stage2-opcodes:
4179 maybe-clean-stage2-opcodes:
4180 @if opcodes-bootstrap
4181 maybe-all-stage2-opcodes: all-stage2-opcodes
4182 all-stage2: all-stage2-opcodes
4183 TARGET-stage2-opcodes = $(TARGET-opcodes)
4184 all-stage2-opcodes: configure-stage2-opcodes
4185 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4186 @r=`${PWD_COMMAND}`; export r; \
4187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4188 TFLAGS="$(STAGE2_TFLAGS)"; \
4189 $(HOST_EXPORTS) \
4190 $(POSTSTAGE1_HOST_EXPORTS) \
4191 cd $(HOST_SUBDIR)/opcodes && \
4192 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4193 CFLAGS="$(STAGE2_CFLAGS)" \
4194 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
4195 LIBCFLAGS="$(STAGE2_CFLAGS)" \
4196 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4197 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4198 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4199 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4200 TFLAGS="$(STAGE2_TFLAGS)" \
4201 $(TARGET-stage2-opcodes)
4203 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4204 clean-stage2: clean-stage2-opcodes
4205 clean-stage2-opcodes:
4206 @if [ $(current_stage) = stage2 ]; then \
4207 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4208 else \
4209 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
4210 $(MAKE) stage2-start; \
4211 fi; \
4212 cd $(HOST_SUBDIR)/opcodes && \
4213 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4214 @endif opcodes-bootstrap
4217 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4218 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4219 maybe-all-stage3-opcodes:
4220 maybe-clean-stage3-opcodes:
4221 @if opcodes-bootstrap
4222 maybe-all-stage3-opcodes: all-stage3-opcodes
4223 all-stage3: all-stage3-opcodes
4224 TARGET-stage3-opcodes = $(TARGET-opcodes)
4225 all-stage3-opcodes: configure-stage3-opcodes
4226 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4227 @r=`${PWD_COMMAND}`; export r; \
4228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4229 TFLAGS="$(STAGE3_TFLAGS)"; \
4230 $(HOST_EXPORTS) \
4231 $(POSTSTAGE1_HOST_EXPORTS) \
4232 cd $(HOST_SUBDIR)/opcodes && \
4233 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4234 CFLAGS="$(STAGE3_CFLAGS)" \
4235 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
4236 LIBCFLAGS="$(STAGE3_CFLAGS)" \
4237 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4238 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4239 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4240 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4241 TFLAGS="$(STAGE3_TFLAGS)" \
4242 $(TARGET-stage3-opcodes)
4244 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4245 clean-stage3: clean-stage3-opcodes
4246 clean-stage3-opcodes:
4247 @if [ $(current_stage) = stage3 ]; then \
4248 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4249 else \
4250 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
4251 $(MAKE) stage3-start; \
4252 fi; \
4253 cd $(HOST_SUBDIR)/opcodes && \
4254 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4255 @endif opcodes-bootstrap
4258 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4259 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4260 maybe-all-stage4-opcodes:
4261 maybe-clean-stage4-opcodes:
4262 @if opcodes-bootstrap
4263 maybe-all-stage4-opcodes: all-stage4-opcodes
4264 all-stage4: all-stage4-opcodes
4265 TARGET-stage4-opcodes = $(TARGET-opcodes)
4266 all-stage4-opcodes: configure-stage4-opcodes
4267 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4268 @r=`${PWD_COMMAND}`; export r; \
4269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4270 TFLAGS="$(STAGE4_TFLAGS)"; \
4271 $(HOST_EXPORTS) \
4272 $(POSTSTAGE1_HOST_EXPORTS) \
4273 cd $(HOST_SUBDIR)/opcodes && \
4274 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4275 CFLAGS="$(STAGE4_CFLAGS)" \
4276 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
4277 LIBCFLAGS="$(STAGE4_CFLAGS)" \
4278 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4279 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4280 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4281 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4282 TFLAGS="$(STAGE4_TFLAGS)" \
4283 $(TARGET-stage4-opcodes)
4285 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4286 clean-stage4: clean-stage4-opcodes
4287 clean-stage4-opcodes:
4288 @if [ $(current_stage) = stage4 ]; then \
4289 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4290 else \
4291 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
4292 $(MAKE) stage4-start; \
4293 fi; \
4294 cd $(HOST_SUBDIR)/opcodes && \
4295 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4296 @endif opcodes-bootstrap
4299 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4300 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4301 maybe-all-stageprofile-opcodes:
4302 maybe-clean-stageprofile-opcodes:
4303 @if opcodes-bootstrap
4304 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4305 all-stageprofile: all-stageprofile-opcodes
4306 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
4307 all-stageprofile-opcodes: configure-stageprofile-opcodes
4308 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4309 @r=`${PWD_COMMAND}`; export r; \
4310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4311 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4312 $(HOST_EXPORTS) \
4313 $(POSTSTAGE1_HOST_EXPORTS) \
4314 cd $(HOST_SUBDIR)/opcodes && \
4315 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4316 CFLAGS="$(STAGEprofile_CFLAGS)" \
4317 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
4318 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
4319 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4320 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4321 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4322 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4323 TFLAGS="$(STAGEprofile_TFLAGS)" \
4324 $(TARGET-stageprofile-opcodes)
4326 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4327 clean-stageprofile: clean-stageprofile-opcodes
4328 clean-stageprofile-opcodes:
4329 @if [ $(current_stage) = stageprofile ]; then \
4330 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4331 else \
4332 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
4333 $(MAKE) stageprofile-start; \
4334 fi; \
4335 cd $(HOST_SUBDIR)/opcodes && \
4336 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4337 @endif opcodes-bootstrap
4340 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
4341 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
4342 maybe-all-stagefeedback-opcodes:
4343 maybe-clean-stagefeedback-opcodes:
4344 @if opcodes-bootstrap
4345 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
4346 all-stagefeedback: all-stagefeedback-opcodes
4347 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
4348 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4349 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4350 @r=`${PWD_COMMAND}`; export r; \
4351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4352 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4353 $(HOST_EXPORTS) \
4354 $(POSTSTAGE1_HOST_EXPORTS) \
4355 cd $(HOST_SUBDIR)/opcodes && \
4356 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4357 CFLAGS="$(STAGEfeedback_CFLAGS)" \
4358 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
4359 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
4360 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4361 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4362 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4363 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4364 TFLAGS="$(STAGEfeedback_TFLAGS)" \
4365 $(TARGET-stagefeedback-opcodes)
4367 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
4368 clean-stagefeedback: clean-stagefeedback-opcodes
4369 clean-stagefeedback-opcodes:
4370 @if [ $(current_stage) = stagefeedback ]; then \
4371 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4372 else \
4373 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
4374 $(MAKE) stagefeedback-start; \
4375 fi; \
4376 cd $(HOST_SUBDIR)/opcodes && \
4377 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4378 @endif opcodes-bootstrap
4384 .PHONY: check-opcodes maybe-check-opcodes
4385 maybe-check-opcodes:
4386 @if opcodes
4387 maybe-check-opcodes: check-opcodes
4389 check-opcodes:
4390 @: $(MAKE); $(unstage)
4391 @r=`${PWD_COMMAND}`; export r; \
4392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4393 $(HOST_EXPORTS) \
4394 (cd $(HOST_SUBDIR)/opcodes && \
4395 $(MAKE) $(FLAGS_TO_PASS) check)
4397 @endif opcodes
4399 .PHONY: install-opcodes maybe-install-opcodes
4400 maybe-install-opcodes:
4401 @if opcodes
4402 maybe-install-opcodes: install-opcodes
4404 install-opcodes: installdirs
4405 @: $(MAKE); $(unstage)
4406 @r=`${PWD_COMMAND}`; export r; \
4407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4408 $(HOST_EXPORTS) \
4409 (cd $(HOST_SUBDIR)/opcodes && \
4410 $(MAKE) $(FLAGS_TO_PASS) install)
4412 @endif opcodes
4414 .PHONY: install-strip-opcodes maybe-install-strip-opcodes
4415 maybe-install-strip-opcodes:
4416 @if opcodes
4417 maybe-install-strip-opcodes: install-strip-opcodes
4419 install-strip-opcodes: installdirs
4420 @: $(MAKE); $(unstage)
4421 @r=`${PWD_COMMAND}`; export r; \
4422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4423 $(HOST_EXPORTS) \
4424 (cd $(HOST_SUBDIR)/opcodes && \
4425 $(MAKE) $(FLAGS_TO_PASS) install-strip)
4427 @endif opcodes
4429 # Other targets (info, dvi, pdf, etc.)
4431 .PHONY: maybe-info-opcodes info-opcodes
4432 maybe-info-opcodes:
4433 @if opcodes
4434 maybe-info-opcodes: info-opcodes
4436 info-opcodes: \
4437 configure-opcodes
4438 @[ -f ./opcodes/Makefile ] || exit 0; \
4439 r=`${PWD_COMMAND}`; export r; \
4440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4441 $(HOST_EXPORTS) \
4442 for flag in $(EXTRA_HOST_FLAGS) ; do \
4443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4444 done; \
4445 echo "Doing info in opcodes" ; \
4446 (cd $(HOST_SUBDIR)/opcodes && \
4447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4449 "RANLIB=$${RANLIB}" \
4450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4451 info) \
4452 || exit 1
4454 @endif opcodes
4456 .PHONY: maybe-dvi-opcodes dvi-opcodes
4457 maybe-dvi-opcodes:
4458 @if opcodes
4459 maybe-dvi-opcodes: dvi-opcodes
4461 dvi-opcodes: \
4462 configure-opcodes
4463 @[ -f ./opcodes/Makefile ] || exit 0; \
4464 r=`${PWD_COMMAND}`; export r; \
4465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4466 $(HOST_EXPORTS) \
4467 for flag in $(EXTRA_HOST_FLAGS) ; do \
4468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4469 done; \
4470 echo "Doing dvi in opcodes" ; \
4471 (cd $(HOST_SUBDIR)/opcodes && \
4472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4474 "RANLIB=$${RANLIB}" \
4475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4476 dvi) \
4477 || exit 1
4479 @endif opcodes
4481 .PHONY: maybe-pdf-opcodes pdf-opcodes
4482 maybe-pdf-opcodes:
4483 @if opcodes
4484 maybe-pdf-opcodes: pdf-opcodes
4486 pdf-opcodes: \
4487 configure-opcodes
4488 @[ -f ./opcodes/Makefile ] || exit 0; \
4489 r=`${PWD_COMMAND}`; export r; \
4490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4491 $(HOST_EXPORTS) \
4492 for flag in $(EXTRA_HOST_FLAGS) ; do \
4493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4494 done; \
4495 echo "Doing pdf in opcodes" ; \
4496 (cd $(HOST_SUBDIR)/opcodes && \
4497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4499 "RANLIB=$${RANLIB}" \
4500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4501 pdf) \
4502 || exit 1
4504 @endif opcodes
4506 .PHONY: maybe-html-opcodes html-opcodes
4507 maybe-html-opcodes:
4508 @if opcodes
4509 maybe-html-opcodes: html-opcodes
4511 html-opcodes: \
4512 configure-opcodes
4513 @[ -f ./opcodes/Makefile ] || exit 0; \
4514 r=`${PWD_COMMAND}`; export r; \
4515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4516 $(HOST_EXPORTS) \
4517 for flag in $(EXTRA_HOST_FLAGS) ; do \
4518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4519 done; \
4520 echo "Doing html in opcodes" ; \
4521 (cd $(HOST_SUBDIR)/opcodes && \
4522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4524 "RANLIB=$${RANLIB}" \
4525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4526 html) \
4527 || exit 1
4529 @endif opcodes
4531 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4532 maybe-TAGS-opcodes:
4533 @if opcodes
4534 maybe-TAGS-opcodes: TAGS-opcodes
4536 TAGS-opcodes: \
4537 configure-opcodes
4538 @[ -f ./opcodes/Makefile ] || exit 0; \
4539 r=`${PWD_COMMAND}`; export r; \
4540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4541 $(HOST_EXPORTS) \
4542 for flag in $(EXTRA_HOST_FLAGS) ; do \
4543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4544 done; \
4545 echo "Doing TAGS in opcodes" ; \
4546 (cd $(HOST_SUBDIR)/opcodes && \
4547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4549 "RANLIB=$${RANLIB}" \
4550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4551 TAGS) \
4552 || exit 1
4554 @endif opcodes
4556 .PHONY: maybe-install-info-opcodes install-info-opcodes
4557 maybe-install-info-opcodes:
4558 @if opcodes
4559 maybe-install-info-opcodes: install-info-opcodes
4561 install-info-opcodes: \
4562 configure-opcodes \
4563 info-opcodes
4564 @[ -f ./opcodes/Makefile ] || exit 0; \
4565 r=`${PWD_COMMAND}`; export r; \
4566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4567 $(HOST_EXPORTS) \
4568 for flag in $(EXTRA_HOST_FLAGS) ; do \
4569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4570 done; \
4571 echo "Doing install-info in opcodes" ; \
4572 (cd $(HOST_SUBDIR)/opcodes && \
4573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4575 "RANLIB=$${RANLIB}" \
4576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4577 install-info) \
4578 || exit 1
4580 @endif opcodes
4582 .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes
4583 maybe-install-pdf-opcodes:
4584 @if opcodes
4585 maybe-install-pdf-opcodes: install-pdf-opcodes
4587 install-pdf-opcodes: \
4588 configure-opcodes \
4589 pdf-opcodes
4590 @[ -f ./opcodes/Makefile ] || exit 0; \
4591 r=`${PWD_COMMAND}`; export r; \
4592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4593 $(HOST_EXPORTS) \
4594 for flag in $(EXTRA_HOST_FLAGS) ; do \
4595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4596 done; \
4597 echo "Doing install-pdf in opcodes" ; \
4598 (cd $(HOST_SUBDIR)/opcodes && \
4599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4601 "RANLIB=$${RANLIB}" \
4602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4603 install-pdf) \
4604 || exit 1
4606 @endif opcodes
4608 .PHONY: maybe-install-html-opcodes install-html-opcodes
4609 maybe-install-html-opcodes:
4610 @if opcodes
4611 maybe-install-html-opcodes: install-html-opcodes
4613 install-html-opcodes: \
4614 configure-opcodes \
4615 html-opcodes
4616 @[ -f ./opcodes/Makefile ] || exit 0; \
4617 r=`${PWD_COMMAND}`; export r; \
4618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4619 $(HOST_EXPORTS) \
4620 for flag in $(EXTRA_HOST_FLAGS) ; do \
4621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4622 done; \
4623 echo "Doing install-html in opcodes" ; \
4624 (cd $(HOST_SUBDIR)/opcodes && \
4625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4627 "RANLIB=$${RANLIB}" \
4628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4629 install-html) \
4630 || exit 1
4632 @endif opcodes
4634 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4635 maybe-installcheck-opcodes:
4636 @if opcodes
4637 maybe-installcheck-opcodes: installcheck-opcodes
4639 installcheck-opcodes: \
4640 configure-opcodes
4641 @[ -f ./opcodes/Makefile ] || exit 0; \
4642 r=`${PWD_COMMAND}`; export r; \
4643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4644 $(HOST_EXPORTS) \
4645 for flag in $(EXTRA_HOST_FLAGS) ; do \
4646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4647 done; \
4648 echo "Doing installcheck in opcodes" ; \
4649 (cd $(HOST_SUBDIR)/opcodes && \
4650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4652 "RANLIB=$${RANLIB}" \
4653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4654 installcheck) \
4655 || exit 1
4657 @endif opcodes
4659 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4660 maybe-mostlyclean-opcodes:
4661 @if opcodes
4662 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4664 mostlyclean-opcodes:
4665 @[ -f ./opcodes/Makefile ] || exit 0; \
4666 r=`${PWD_COMMAND}`; export r; \
4667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4668 $(HOST_EXPORTS) \
4669 for flag in $(EXTRA_HOST_FLAGS) ; do \
4670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4671 done; \
4672 echo "Doing mostlyclean in opcodes" ; \
4673 (cd $(HOST_SUBDIR)/opcodes && \
4674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4676 "RANLIB=$${RANLIB}" \
4677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4678 mostlyclean) \
4679 || exit 1
4681 @endif opcodes
4683 .PHONY: maybe-clean-opcodes clean-opcodes
4684 maybe-clean-opcodes:
4685 @if opcodes
4686 maybe-clean-opcodes: clean-opcodes
4688 clean-opcodes:
4689 @[ -f ./opcodes/Makefile ] || exit 0; \
4690 r=`${PWD_COMMAND}`; export r; \
4691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4692 $(HOST_EXPORTS) \
4693 for flag in $(EXTRA_HOST_FLAGS) ; do \
4694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4695 done; \
4696 echo "Doing clean in opcodes" ; \
4697 (cd $(HOST_SUBDIR)/opcodes && \
4698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4700 "RANLIB=$${RANLIB}" \
4701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4702 clean) \
4703 || exit 1
4705 @endif opcodes
4707 .PHONY: maybe-distclean-opcodes distclean-opcodes
4708 maybe-distclean-opcodes:
4709 @if opcodes
4710 maybe-distclean-opcodes: distclean-opcodes
4712 distclean-opcodes:
4713 @[ -f ./opcodes/Makefile ] || exit 0; \
4714 r=`${PWD_COMMAND}`; export r; \
4715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4716 $(HOST_EXPORTS) \
4717 for flag in $(EXTRA_HOST_FLAGS) ; do \
4718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4719 done; \
4720 echo "Doing distclean in opcodes" ; \
4721 (cd $(HOST_SUBDIR)/opcodes && \
4722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4724 "RANLIB=$${RANLIB}" \
4725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4726 distclean) \
4727 || exit 1
4729 @endif opcodes
4731 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4732 maybe-maintainer-clean-opcodes:
4733 @if opcodes
4734 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4736 maintainer-clean-opcodes:
4737 @[ -f ./opcodes/Makefile ] || exit 0; \
4738 r=`${PWD_COMMAND}`; export r; \
4739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4740 $(HOST_EXPORTS) \
4741 for flag in $(EXTRA_HOST_FLAGS) ; do \
4742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4743 done; \
4744 echo "Doing maintainer-clean in opcodes" ; \
4745 (cd $(HOST_SUBDIR)/opcodes && \
4746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4748 "RANLIB=$${RANLIB}" \
4749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4750 maintainer-clean) \
4751 || exit 1
4753 @endif opcodes
4757 .PHONY: configure-binutils maybe-configure-binutils
4758 maybe-configure-binutils:
4759 @if gcc-bootstrap
4760 configure-binutils: stage_current
4761 @endif gcc-bootstrap
4762 @if binutils
4763 maybe-configure-binutils: configure-binutils
4764 configure-binutils:
4765 @r=`${PWD_COMMAND}`; export r; \
4766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4767 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4768 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4769 $(HOST_EXPORTS) \
4770 echo Configuring in $(HOST_SUBDIR)/binutils; \
4771 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
4772 case $(srcdir) in \
4773 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4774 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4775 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4776 esac; \
4777 module_srcdir=binutils; \
4778 $(SHELL) \
4779 $$s/$$module_srcdir/configure \
4780 --srcdir=$${topdir}/$$module_srcdir \
4781 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4782 --target=${target_alias} \
4783 || exit 1
4784 @endif binutils
4788 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
4789 maybe-configure-stage1-binutils:
4790 @if binutils-bootstrap
4791 maybe-configure-stage1-binutils: configure-stage1-binutils
4792 configure-stage1-binutils:
4793 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4794 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4795 @r=`${PWD_COMMAND}`; export r; \
4796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4797 TFLAGS="$(STAGE1_TFLAGS)"; \
4798 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4799 $(HOST_EXPORTS) \
4800 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
4801 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
4802 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
4803 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
4804 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4805 cd $(HOST_SUBDIR)/binutils || exit 1; \
4806 case $(srcdir) in \
4807 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4808 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4809 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4810 esac; \
4811 module_srcdir=binutils; \
4812 $(SHELL) $$s/$$module_srcdir/configure \
4813 --srcdir=$${topdir}/$$module_srcdir \
4814 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4815 --target=${target_alias} \
4817 $(STAGE1_CONFIGURE_FLAGS)
4818 @endif binutils-bootstrap
4820 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
4821 maybe-configure-stage2-binutils:
4822 @if binutils-bootstrap
4823 maybe-configure-stage2-binutils: configure-stage2-binutils
4824 configure-stage2-binutils:
4825 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4826 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4827 @r=`${PWD_COMMAND}`; export r; \
4828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4829 TFLAGS="$(STAGE2_TFLAGS)"; \
4830 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4831 $(HOST_EXPORTS) \
4832 $(POSTSTAGE1_HOST_EXPORTS) \
4833 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4834 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
4835 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
4836 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
4837 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4838 cd $(HOST_SUBDIR)/binutils || exit 1; \
4839 case $(srcdir) in \
4840 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4841 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4842 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4843 esac; \
4844 module_srcdir=binutils; \
4845 $(SHELL) $$s/$$module_srcdir/configure \
4846 --srcdir=$${topdir}/$$module_srcdir \
4847 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4848 --target=${target_alias} \
4849 --with-build-libsubdir=$(HOST_SUBDIR) \
4850 $(STAGE2_CONFIGURE_FLAGS)
4851 @endif binutils-bootstrap
4853 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
4854 maybe-configure-stage3-binutils:
4855 @if binutils-bootstrap
4856 maybe-configure-stage3-binutils: configure-stage3-binutils
4857 configure-stage3-binutils:
4858 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4859 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4860 @r=`${PWD_COMMAND}`; export r; \
4861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4862 TFLAGS="$(STAGE3_TFLAGS)"; \
4863 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4864 $(HOST_EXPORTS) \
4865 $(POSTSTAGE1_HOST_EXPORTS) \
4866 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
4867 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
4868 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
4869 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
4870 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4871 cd $(HOST_SUBDIR)/binutils || exit 1; \
4872 case $(srcdir) in \
4873 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4874 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4875 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4876 esac; \
4877 module_srcdir=binutils; \
4878 $(SHELL) $$s/$$module_srcdir/configure \
4879 --srcdir=$${topdir}/$$module_srcdir \
4880 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4881 --target=${target_alias} \
4882 --with-build-libsubdir=$(HOST_SUBDIR) \
4883 $(STAGE3_CONFIGURE_FLAGS)
4884 @endif binutils-bootstrap
4886 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
4887 maybe-configure-stage4-binutils:
4888 @if binutils-bootstrap
4889 maybe-configure-stage4-binutils: configure-stage4-binutils
4890 configure-stage4-binutils:
4891 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4892 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4893 @r=`${PWD_COMMAND}`; export r; \
4894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4895 TFLAGS="$(STAGE4_TFLAGS)"; \
4896 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4897 $(HOST_EXPORTS) \
4898 $(POSTSTAGE1_HOST_EXPORTS) \
4899 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
4900 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
4901 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
4902 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
4903 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4904 cd $(HOST_SUBDIR)/binutils || exit 1; \
4905 case $(srcdir) in \
4906 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4907 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4908 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4909 esac; \
4910 module_srcdir=binutils; \
4911 $(SHELL) $$s/$$module_srcdir/configure \
4912 --srcdir=$${topdir}/$$module_srcdir \
4913 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4914 --target=${target_alias} \
4915 --with-build-libsubdir=$(HOST_SUBDIR) \
4916 $(STAGE4_CONFIGURE_FLAGS)
4917 @endif binutils-bootstrap
4919 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
4920 maybe-configure-stageprofile-binutils:
4921 @if binutils-bootstrap
4922 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
4923 configure-stageprofile-binutils:
4924 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4925 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4926 @r=`${PWD_COMMAND}`; export r; \
4927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4928 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4929 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4930 $(HOST_EXPORTS) \
4931 $(POSTSTAGE1_HOST_EXPORTS) \
4932 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4933 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4934 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4935 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
4936 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4937 cd $(HOST_SUBDIR)/binutils || exit 1; \
4938 case $(srcdir) in \
4939 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4940 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4941 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4942 esac; \
4943 module_srcdir=binutils; \
4944 $(SHELL) $$s/$$module_srcdir/configure \
4945 --srcdir=$${topdir}/$$module_srcdir \
4946 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4947 --target=${target_alias} \
4948 --with-build-libsubdir=$(HOST_SUBDIR) \
4949 $(STAGEprofile_CONFIGURE_FLAGS)
4950 @endif binutils-bootstrap
4952 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
4953 maybe-configure-stagefeedback-binutils:
4954 @if binutils-bootstrap
4955 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
4956 configure-stagefeedback-binutils:
4957 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4958 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4959 @r=`${PWD_COMMAND}`; export r; \
4960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4961 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4962 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4963 $(HOST_EXPORTS) \
4964 $(POSTSTAGE1_HOST_EXPORTS) \
4965 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4966 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4967 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4968 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
4969 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4970 cd $(HOST_SUBDIR)/binutils || exit 1; \
4971 case $(srcdir) in \
4972 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4973 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4974 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4975 esac; \
4976 module_srcdir=binutils; \
4977 $(SHELL) $$s/$$module_srcdir/configure \
4978 --srcdir=$${topdir}/$$module_srcdir \
4979 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4980 --target=${target_alias} \
4981 --with-build-libsubdir=$(HOST_SUBDIR) \
4982 $(STAGEfeedback_CONFIGURE_FLAGS)
4983 @endif binutils-bootstrap
4989 .PHONY: all-binutils maybe-all-binutils
4990 maybe-all-binutils:
4991 @if gcc-bootstrap
4992 all-binutils: stage_current
4993 @endif gcc-bootstrap
4994 @if binutils
4995 TARGET-binutils=all
4996 maybe-all-binutils: all-binutils
4997 all-binutils: configure-binutils
4998 @r=`${PWD_COMMAND}`; export r; \
4999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5000 $(HOST_EXPORTS) \
5001 (cd $(HOST_SUBDIR)/binutils && \
5002 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
5003 $(TARGET-binutils))
5004 @endif binutils
5008 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
5009 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
5010 maybe-all-stage1-binutils:
5011 maybe-clean-stage1-binutils:
5012 @if binutils-bootstrap
5013 maybe-all-stage1-binutils: all-stage1-binutils
5014 all-stage1: all-stage1-binutils
5015 TARGET-stage1-binutils = $(TARGET-binutils)
5016 all-stage1-binutils: configure-stage1-binutils
5017 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5018 @r=`${PWD_COMMAND}`; export r; \
5019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5020 TFLAGS="$(STAGE1_TFLAGS)"; \
5021 $(HOST_EXPORTS) \
5022 cd $(HOST_SUBDIR)/binutils && \
5023 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5024 CFLAGS="$(STAGE1_CFLAGS)" \
5025 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
5026 LIBCFLAGS="$(LIBCFLAGS)" \
5027 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5028 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5029 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5030 $(EXTRA_HOST_FLAGS) \
5031 $(STAGE1_FLAGS_TO_PASS) \
5032 TFLAGS="$(STAGE1_TFLAGS)" \
5033 $(TARGET-stage1-binutils)
5035 maybe-clean-stage1-binutils: clean-stage1-binutils
5036 clean-stage1: clean-stage1-binutils
5037 clean-stage1-binutils:
5038 @if [ $(current_stage) = stage1 ]; then \
5039 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5040 else \
5041 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
5042 $(MAKE) stage1-start; \
5043 fi; \
5044 cd $(HOST_SUBDIR)/binutils && \
5045 $(MAKE) $(EXTRA_HOST_FLAGS) \
5046 $(STAGE1_FLAGS_TO_PASS) clean
5047 @endif binutils-bootstrap
5050 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
5051 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
5052 maybe-all-stage2-binutils:
5053 maybe-clean-stage2-binutils:
5054 @if binutils-bootstrap
5055 maybe-all-stage2-binutils: all-stage2-binutils
5056 all-stage2: all-stage2-binutils
5057 TARGET-stage2-binutils = $(TARGET-binutils)
5058 all-stage2-binutils: configure-stage2-binutils
5059 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5060 @r=`${PWD_COMMAND}`; export r; \
5061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5062 TFLAGS="$(STAGE2_TFLAGS)"; \
5063 $(HOST_EXPORTS) \
5064 $(POSTSTAGE1_HOST_EXPORTS) \
5065 cd $(HOST_SUBDIR)/binutils && \
5066 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5067 CFLAGS="$(STAGE2_CFLAGS)" \
5068 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
5069 LIBCFLAGS="$(STAGE2_CFLAGS)" \
5070 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5071 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5072 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5073 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5074 TFLAGS="$(STAGE2_TFLAGS)" \
5075 $(TARGET-stage2-binutils)
5077 maybe-clean-stage2-binutils: clean-stage2-binutils
5078 clean-stage2: clean-stage2-binutils
5079 clean-stage2-binutils:
5080 @if [ $(current_stage) = stage2 ]; then \
5081 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5082 else \
5083 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
5084 $(MAKE) stage2-start; \
5085 fi; \
5086 cd $(HOST_SUBDIR)/binutils && \
5087 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5088 @endif binutils-bootstrap
5091 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5092 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5093 maybe-all-stage3-binutils:
5094 maybe-clean-stage3-binutils:
5095 @if binutils-bootstrap
5096 maybe-all-stage3-binutils: all-stage3-binutils
5097 all-stage3: all-stage3-binutils
5098 TARGET-stage3-binutils = $(TARGET-binutils)
5099 all-stage3-binutils: configure-stage3-binutils
5100 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5101 @r=`${PWD_COMMAND}`; export r; \
5102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5103 TFLAGS="$(STAGE3_TFLAGS)"; \
5104 $(HOST_EXPORTS) \
5105 $(POSTSTAGE1_HOST_EXPORTS) \
5106 cd $(HOST_SUBDIR)/binutils && \
5107 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5108 CFLAGS="$(STAGE3_CFLAGS)" \
5109 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
5110 LIBCFLAGS="$(STAGE3_CFLAGS)" \
5111 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5112 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5113 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5114 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5115 TFLAGS="$(STAGE3_TFLAGS)" \
5116 $(TARGET-stage3-binutils)
5118 maybe-clean-stage3-binutils: clean-stage3-binutils
5119 clean-stage3: clean-stage3-binutils
5120 clean-stage3-binutils:
5121 @if [ $(current_stage) = stage3 ]; then \
5122 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5123 else \
5124 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
5125 $(MAKE) stage3-start; \
5126 fi; \
5127 cd $(HOST_SUBDIR)/binutils && \
5128 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5129 @endif binutils-bootstrap
5132 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5133 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5134 maybe-all-stage4-binutils:
5135 maybe-clean-stage4-binutils:
5136 @if binutils-bootstrap
5137 maybe-all-stage4-binutils: all-stage4-binutils
5138 all-stage4: all-stage4-binutils
5139 TARGET-stage4-binutils = $(TARGET-binutils)
5140 all-stage4-binutils: configure-stage4-binutils
5141 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5142 @r=`${PWD_COMMAND}`; export r; \
5143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5144 TFLAGS="$(STAGE4_TFLAGS)"; \
5145 $(HOST_EXPORTS) \
5146 $(POSTSTAGE1_HOST_EXPORTS) \
5147 cd $(HOST_SUBDIR)/binutils && \
5148 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5149 CFLAGS="$(STAGE4_CFLAGS)" \
5150 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
5151 LIBCFLAGS="$(STAGE4_CFLAGS)" \
5152 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5153 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5154 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5155 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5156 TFLAGS="$(STAGE4_TFLAGS)" \
5157 $(TARGET-stage4-binutils)
5159 maybe-clean-stage4-binutils: clean-stage4-binutils
5160 clean-stage4: clean-stage4-binutils
5161 clean-stage4-binutils:
5162 @if [ $(current_stage) = stage4 ]; then \
5163 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5164 else \
5165 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
5166 $(MAKE) stage4-start; \
5167 fi; \
5168 cd $(HOST_SUBDIR)/binutils && \
5169 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5170 @endif binutils-bootstrap
5173 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5174 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5175 maybe-all-stageprofile-binutils:
5176 maybe-clean-stageprofile-binutils:
5177 @if binutils-bootstrap
5178 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5179 all-stageprofile: all-stageprofile-binutils
5180 TARGET-stageprofile-binutils = $(TARGET-binutils)
5181 all-stageprofile-binutils: configure-stageprofile-binutils
5182 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5183 @r=`${PWD_COMMAND}`; export r; \
5184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5185 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5186 $(HOST_EXPORTS) \
5187 $(POSTSTAGE1_HOST_EXPORTS) \
5188 cd $(HOST_SUBDIR)/binutils && \
5189 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5190 CFLAGS="$(STAGEprofile_CFLAGS)" \
5191 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
5192 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
5193 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5194 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5195 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5196 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5197 TFLAGS="$(STAGEprofile_TFLAGS)" \
5198 $(TARGET-stageprofile-binutils)
5200 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5201 clean-stageprofile: clean-stageprofile-binutils
5202 clean-stageprofile-binutils:
5203 @if [ $(current_stage) = stageprofile ]; then \
5204 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5205 else \
5206 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
5207 $(MAKE) stageprofile-start; \
5208 fi; \
5209 cd $(HOST_SUBDIR)/binutils && \
5210 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5211 @endif binutils-bootstrap
5214 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5215 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5216 maybe-all-stagefeedback-binutils:
5217 maybe-clean-stagefeedback-binutils:
5218 @if binutils-bootstrap
5219 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5220 all-stagefeedback: all-stagefeedback-binutils
5221 TARGET-stagefeedback-binutils = $(TARGET-binutils)
5222 all-stagefeedback-binutils: configure-stagefeedback-binutils
5223 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5224 @r=`${PWD_COMMAND}`; export r; \
5225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5226 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5227 $(HOST_EXPORTS) \
5228 $(POSTSTAGE1_HOST_EXPORTS) \
5229 cd $(HOST_SUBDIR)/binutils && \
5230 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5231 CFLAGS="$(STAGEfeedback_CFLAGS)" \
5232 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
5233 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
5234 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5235 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5236 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5237 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5238 TFLAGS="$(STAGEfeedback_TFLAGS)" \
5239 $(TARGET-stagefeedback-binutils)
5241 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5242 clean-stagefeedback: clean-stagefeedback-binutils
5243 clean-stagefeedback-binutils:
5244 @if [ $(current_stage) = stagefeedback ]; then \
5245 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5246 else \
5247 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
5248 $(MAKE) stagefeedback-start; \
5249 fi; \
5250 cd $(HOST_SUBDIR)/binutils && \
5251 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5252 @endif binutils-bootstrap
5258 .PHONY: check-binutils maybe-check-binutils
5259 maybe-check-binutils:
5260 @if binutils
5261 maybe-check-binutils: check-binutils
5263 check-binutils:
5264 @: $(MAKE); $(unstage)
5265 @r=`${PWD_COMMAND}`; export r; \
5266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5267 $(HOST_EXPORTS) \
5268 (cd $(HOST_SUBDIR)/binutils && \
5269 $(MAKE) $(FLAGS_TO_PASS) check)
5271 @endif binutils
5273 .PHONY: install-binutils maybe-install-binutils
5274 maybe-install-binutils:
5275 @if binutils
5276 maybe-install-binutils: install-binutils
5278 install-binutils: installdirs
5279 @: $(MAKE); $(unstage)
5280 @r=`${PWD_COMMAND}`; export r; \
5281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5282 $(HOST_EXPORTS) \
5283 (cd $(HOST_SUBDIR)/binutils && \
5284 $(MAKE) $(FLAGS_TO_PASS) install)
5286 @endif binutils
5288 .PHONY: install-strip-binutils maybe-install-strip-binutils
5289 maybe-install-strip-binutils:
5290 @if binutils
5291 maybe-install-strip-binutils: install-strip-binutils
5293 install-strip-binutils: installdirs
5294 @: $(MAKE); $(unstage)
5295 @r=`${PWD_COMMAND}`; export r; \
5296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5297 $(HOST_EXPORTS) \
5298 (cd $(HOST_SUBDIR)/binutils && \
5299 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5301 @endif binutils
5303 # Other targets (info, dvi, pdf, etc.)
5305 .PHONY: maybe-info-binutils info-binutils
5306 maybe-info-binutils:
5307 @if binutils
5308 maybe-info-binutils: info-binutils
5310 info-binutils: \
5311 configure-binutils
5312 @[ -f ./binutils/Makefile ] || exit 0; \
5313 r=`${PWD_COMMAND}`; export r; \
5314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5315 $(HOST_EXPORTS) \
5316 for flag in $(EXTRA_HOST_FLAGS) ; do \
5317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5318 done; \
5319 echo "Doing info in binutils" ; \
5320 (cd $(HOST_SUBDIR)/binutils && \
5321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5323 "RANLIB=$${RANLIB}" \
5324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5325 info) \
5326 || exit 1
5328 @endif binutils
5330 .PHONY: maybe-dvi-binutils dvi-binutils
5331 maybe-dvi-binutils:
5332 @if binutils
5333 maybe-dvi-binutils: dvi-binutils
5335 dvi-binutils: \
5336 configure-binutils
5337 @[ -f ./binutils/Makefile ] || exit 0; \
5338 r=`${PWD_COMMAND}`; export r; \
5339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5340 $(HOST_EXPORTS) \
5341 for flag in $(EXTRA_HOST_FLAGS) ; do \
5342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5343 done; \
5344 echo "Doing dvi in binutils" ; \
5345 (cd $(HOST_SUBDIR)/binutils && \
5346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5348 "RANLIB=$${RANLIB}" \
5349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5350 dvi) \
5351 || exit 1
5353 @endif binutils
5355 .PHONY: maybe-pdf-binutils pdf-binutils
5356 maybe-pdf-binutils:
5357 @if binutils
5358 maybe-pdf-binutils: pdf-binutils
5360 pdf-binutils: \
5361 configure-binutils
5362 @[ -f ./binutils/Makefile ] || exit 0; \
5363 r=`${PWD_COMMAND}`; export r; \
5364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5365 $(HOST_EXPORTS) \
5366 for flag in $(EXTRA_HOST_FLAGS) ; do \
5367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5368 done; \
5369 echo "Doing pdf in binutils" ; \
5370 (cd $(HOST_SUBDIR)/binutils && \
5371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5373 "RANLIB=$${RANLIB}" \
5374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5375 pdf) \
5376 || exit 1
5378 @endif binutils
5380 .PHONY: maybe-html-binutils html-binutils
5381 maybe-html-binutils:
5382 @if binutils
5383 maybe-html-binutils: html-binutils
5385 html-binutils: \
5386 configure-binutils
5387 @[ -f ./binutils/Makefile ] || exit 0; \
5388 r=`${PWD_COMMAND}`; export r; \
5389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5390 $(HOST_EXPORTS) \
5391 for flag in $(EXTRA_HOST_FLAGS) ; do \
5392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5393 done; \
5394 echo "Doing html in binutils" ; \
5395 (cd $(HOST_SUBDIR)/binutils && \
5396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5398 "RANLIB=$${RANLIB}" \
5399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5400 html) \
5401 || exit 1
5403 @endif binutils
5405 .PHONY: maybe-TAGS-binutils TAGS-binutils
5406 maybe-TAGS-binutils:
5407 @if binutils
5408 maybe-TAGS-binutils: TAGS-binutils
5410 TAGS-binutils: \
5411 configure-binutils
5412 @[ -f ./binutils/Makefile ] || exit 0; \
5413 r=`${PWD_COMMAND}`; export r; \
5414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5415 $(HOST_EXPORTS) \
5416 for flag in $(EXTRA_HOST_FLAGS) ; do \
5417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5418 done; \
5419 echo "Doing TAGS in binutils" ; \
5420 (cd $(HOST_SUBDIR)/binutils && \
5421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5423 "RANLIB=$${RANLIB}" \
5424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5425 TAGS) \
5426 || exit 1
5428 @endif binutils
5430 .PHONY: maybe-install-info-binutils install-info-binutils
5431 maybe-install-info-binutils:
5432 @if binutils
5433 maybe-install-info-binutils: install-info-binutils
5435 install-info-binutils: \
5436 configure-binutils \
5437 info-binutils
5438 @[ -f ./binutils/Makefile ] || exit 0; \
5439 r=`${PWD_COMMAND}`; export r; \
5440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5441 $(HOST_EXPORTS) \
5442 for flag in $(EXTRA_HOST_FLAGS) ; do \
5443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5444 done; \
5445 echo "Doing install-info in binutils" ; \
5446 (cd $(HOST_SUBDIR)/binutils && \
5447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5449 "RANLIB=$${RANLIB}" \
5450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5451 install-info) \
5452 || exit 1
5454 @endif binutils
5456 .PHONY: maybe-install-pdf-binutils install-pdf-binutils
5457 maybe-install-pdf-binutils:
5458 @if binutils
5459 maybe-install-pdf-binutils: install-pdf-binutils
5461 install-pdf-binutils: \
5462 configure-binutils \
5463 pdf-binutils
5464 @[ -f ./binutils/Makefile ] || exit 0; \
5465 r=`${PWD_COMMAND}`; export r; \
5466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5467 $(HOST_EXPORTS) \
5468 for flag in $(EXTRA_HOST_FLAGS) ; do \
5469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5470 done; \
5471 echo "Doing install-pdf in binutils" ; \
5472 (cd $(HOST_SUBDIR)/binutils && \
5473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5475 "RANLIB=$${RANLIB}" \
5476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5477 install-pdf) \
5478 || exit 1
5480 @endif binutils
5482 .PHONY: maybe-install-html-binutils install-html-binutils
5483 maybe-install-html-binutils:
5484 @if binutils
5485 maybe-install-html-binutils: install-html-binutils
5487 install-html-binutils: \
5488 configure-binutils \
5489 html-binutils
5490 @[ -f ./binutils/Makefile ] || exit 0; \
5491 r=`${PWD_COMMAND}`; export r; \
5492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5493 $(HOST_EXPORTS) \
5494 for flag in $(EXTRA_HOST_FLAGS) ; do \
5495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5496 done; \
5497 echo "Doing install-html in binutils" ; \
5498 (cd $(HOST_SUBDIR)/binutils && \
5499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5501 "RANLIB=$${RANLIB}" \
5502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5503 install-html) \
5504 || exit 1
5506 @endif binutils
5508 .PHONY: maybe-installcheck-binutils installcheck-binutils
5509 maybe-installcheck-binutils:
5510 @if binutils
5511 maybe-installcheck-binutils: installcheck-binutils
5513 installcheck-binutils: \
5514 configure-binutils
5515 @[ -f ./binutils/Makefile ] || exit 0; \
5516 r=`${PWD_COMMAND}`; export r; \
5517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5518 $(HOST_EXPORTS) \
5519 for flag in $(EXTRA_HOST_FLAGS) ; do \
5520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5521 done; \
5522 echo "Doing installcheck in binutils" ; \
5523 (cd $(HOST_SUBDIR)/binutils && \
5524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5526 "RANLIB=$${RANLIB}" \
5527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5528 installcheck) \
5529 || exit 1
5531 @endif binutils
5533 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
5534 maybe-mostlyclean-binutils:
5535 @if binutils
5536 maybe-mostlyclean-binutils: mostlyclean-binutils
5538 mostlyclean-binutils:
5539 @[ -f ./binutils/Makefile ] || exit 0; \
5540 r=`${PWD_COMMAND}`; export r; \
5541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5542 $(HOST_EXPORTS) \
5543 for flag in $(EXTRA_HOST_FLAGS) ; do \
5544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5545 done; \
5546 echo "Doing mostlyclean in binutils" ; \
5547 (cd $(HOST_SUBDIR)/binutils && \
5548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5550 "RANLIB=$${RANLIB}" \
5551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5552 mostlyclean) \
5553 || exit 1
5555 @endif binutils
5557 .PHONY: maybe-clean-binutils clean-binutils
5558 maybe-clean-binutils:
5559 @if binutils
5560 maybe-clean-binutils: clean-binutils
5562 clean-binutils:
5563 @[ -f ./binutils/Makefile ] || exit 0; \
5564 r=`${PWD_COMMAND}`; export r; \
5565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5566 $(HOST_EXPORTS) \
5567 for flag in $(EXTRA_HOST_FLAGS) ; do \
5568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5569 done; \
5570 echo "Doing clean in binutils" ; \
5571 (cd $(HOST_SUBDIR)/binutils && \
5572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5574 "RANLIB=$${RANLIB}" \
5575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5576 clean) \
5577 || exit 1
5579 @endif binutils
5581 .PHONY: maybe-distclean-binutils distclean-binutils
5582 maybe-distclean-binutils:
5583 @if binutils
5584 maybe-distclean-binutils: distclean-binutils
5586 distclean-binutils:
5587 @[ -f ./binutils/Makefile ] || exit 0; \
5588 r=`${PWD_COMMAND}`; export r; \
5589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5590 $(HOST_EXPORTS) \
5591 for flag in $(EXTRA_HOST_FLAGS) ; do \
5592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5593 done; \
5594 echo "Doing distclean in binutils" ; \
5595 (cd $(HOST_SUBDIR)/binutils && \
5596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5598 "RANLIB=$${RANLIB}" \
5599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5600 distclean) \
5601 || exit 1
5603 @endif binutils
5605 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
5606 maybe-maintainer-clean-binutils:
5607 @if binutils
5608 maybe-maintainer-clean-binutils: maintainer-clean-binutils
5610 maintainer-clean-binutils:
5611 @[ -f ./binutils/Makefile ] || exit 0; \
5612 r=`${PWD_COMMAND}`; export r; \
5613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5614 $(HOST_EXPORTS) \
5615 for flag in $(EXTRA_HOST_FLAGS) ; do \
5616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5617 done; \
5618 echo "Doing maintainer-clean in binutils" ; \
5619 (cd $(HOST_SUBDIR)/binutils && \
5620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5622 "RANLIB=$${RANLIB}" \
5623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5624 maintainer-clean) \
5625 || exit 1
5627 @endif binutils
5631 .PHONY: configure-bison maybe-configure-bison
5632 maybe-configure-bison:
5633 @if gcc-bootstrap
5634 configure-bison: stage_current
5635 @endif gcc-bootstrap
5636 @if bison
5637 maybe-configure-bison: configure-bison
5638 configure-bison:
5639 @: $(MAKE); $(unstage)
5640 @r=`${PWD_COMMAND}`; export r; \
5641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5642 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
5643 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
5644 $(HOST_EXPORTS) \
5645 echo Configuring in $(HOST_SUBDIR)/bison; \
5646 cd "$(HOST_SUBDIR)/bison" || exit 1; \
5647 case $(srcdir) in \
5648 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5649 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
5650 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5651 esac; \
5652 module_srcdir=bison; \
5653 $(SHELL) \
5654 $$s/$$module_srcdir/configure \
5655 --srcdir=$${topdir}/$$module_srcdir \
5656 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5657 --target=${target_alias} \
5658 || exit 1
5659 @endif bison
5665 .PHONY: all-bison maybe-all-bison
5666 maybe-all-bison:
5667 @if gcc-bootstrap
5668 all-bison: stage_current
5669 @endif gcc-bootstrap
5670 @if bison
5671 TARGET-bison=all
5672 maybe-all-bison: all-bison
5673 all-bison: configure-bison
5674 @: $(MAKE); $(unstage)
5675 @r=`${PWD_COMMAND}`; export r; \
5676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5677 $(HOST_EXPORTS) \
5678 (cd $(HOST_SUBDIR)/bison && \
5679 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
5680 $(TARGET-bison))
5681 @endif bison
5686 .PHONY: check-bison maybe-check-bison
5687 maybe-check-bison:
5688 @if bison
5689 maybe-check-bison: check-bison
5691 # This module is only tested in a native toolchain.
5692 check-bison:
5693 @: $(MAKE); $(unstage)
5694 @if [ '$(host)' = '$(target)' ] ; then \
5695 r=`${PWD_COMMAND}`; export r; \
5696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5697 $(HOST_EXPORTS) \
5698 (cd $(HOST_SUBDIR)/bison && \
5699 $(MAKE) $(FLAGS_TO_PASS) check); \
5702 @endif bison
5704 .PHONY: install-bison maybe-install-bison
5705 maybe-install-bison:
5706 @if bison
5707 maybe-install-bison: install-bison
5709 install-bison: installdirs
5710 @: $(MAKE); $(unstage)
5711 @r=`${PWD_COMMAND}`; export r; \
5712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5713 $(HOST_EXPORTS) \
5714 (cd $(HOST_SUBDIR)/bison && \
5715 $(MAKE) $(FLAGS_TO_PASS) install)
5717 @endif bison
5719 .PHONY: install-strip-bison maybe-install-strip-bison
5720 maybe-install-strip-bison:
5721 @if bison
5722 maybe-install-strip-bison: install-strip-bison
5724 install-strip-bison: installdirs
5725 @: $(MAKE); $(unstage)
5726 @r=`${PWD_COMMAND}`; export r; \
5727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5728 $(HOST_EXPORTS) \
5729 (cd $(HOST_SUBDIR)/bison && \
5730 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5732 @endif bison
5734 # Other targets (info, dvi, pdf, etc.)
5736 .PHONY: maybe-info-bison info-bison
5737 maybe-info-bison:
5738 @if bison
5739 maybe-info-bison: info-bison
5741 info-bison: \
5742 configure-bison
5743 @: $(MAKE); $(unstage)
5744 @[ -f ./bison/Makefile ] || exit 0; \
5745 r=`${PWD_COMMAND}`; export r; \
5746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5747 $(HOST_EXPORTS) \
5748 for flag in $(EXTRA_HOST_FLAGS) ; do \
5749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5750 done; \
5751 echo "Doing info in bison" ; \
5752 (cd $(HOST_SUBDIR)/bison && \
5753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5755 "RANLIB=$${RANLIB}" \
5756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5757 info) \
5758 || exit 1
5760 @endif bison
5762 .PHONY: maybe-dvi-bison dvi-bison
5763 maybe-dvi-bison:
5764 @if bison
5765 maybe-dvi-bison: dvi-bison
5767 dvi-bison: \
5768 configure-bison
5769 @: $(MAKE); $(unstage)
5770 @[ -f ./bison/Makefile ] || exit 0; \
5771 r=`${PWD_COMMAND}`; export r; \
5772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5773 $(HOST_EXPORTS) \
5774 for flag in $(EXTRA_HOST_FLAGS) ; do \
5775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5776 done; \
5777 echo "Doing dvi in bison" ; \
5778 (cd $(HOST_SUBDIR)/bison && \
5779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5781 "RANLIB=$${RANLIB}" \
5782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5783 dvi) \
5784 || exit 1
5786 @endif bison
5788 .PHONY: maybe-pdf-bison pdf-bison
5789 maybe-pdf-bison:
5790 @if bison
5791 maybe-pdf-bison: pdf-bison
5793 pdf-bison: \
5794 configure-bison
5795 @: $(MAKE); $(unstage)
5796 @[ -f ./bison/Makefile ] || exit 0; \
5797 r=`${PWD_COMMAND}`; export r; \
5798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5799 $(HOST_EXPORTS) \
5800 for flag in $(EXTRA_HOST_FLAGS) ; do \
5801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5802 done; \
5803 echo "Doing pdf in bison" ; \
5804 (cd $(HOST_SUBDIR)/bison && \
5805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5807 "RANLIB=$${RANLIB}" \
5808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5809 pdf) \
5810 || exit 1
5812 @endif bison
5814 .PHONY: maybe-html-bison html-bison
5815 maybe-html-bison:
5816 @if bison
5817 maybe-html-bison: html-bison
5819 html-bison: \
5820 configure-bison
5821 @: $(MAKE); $(unstage)
5822 @[ -f ./bison/Makefile ] || exit 0; \
5823 r=`${PWD_COMMAND}`; export r; \
5824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5825 $(HOST_EXPORTS) \
5826 for flag in $(EXTRA_HOST_FLAGS) ; do \
5827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5828 done; \
5829 echo "Doing html in bison" ; \
5830 (cd $(HOST_SUBDIR)/bison && \
5831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5833 "RANLIB=$${RANLIB}" \
5834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5835 html) \
5836 || exit 1
5838 @endif bison
5840 .PHONY: maybe-TAGS-bison TAGS-bison
5841 maybe-TAGS-bison:
5842 @if bison
5843 maybe-TAGS-bison: TAGS-bison
5845 TAGS-bison: \
5846 configure-bison
5847 @: $(MAKE); $(unstage)
5848 @[ -f ./bison/Makefile ] || exit 0; \
5849 r=`${PWD_COMMAND}`; export r; \
5850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5851 $(HOST_EXPORTS) \
5852 for flag in $(EXTRA_HOST_FLAGS) ; do \
5853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5854 done; \
5855 echo "Doing TAGS in bison" ; \
5856 (cd $(HOST_SUBDIR)/bison && \
5857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5859 "RANLIB=$${RANLIB}" \
5860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5861 TAGS) \
5862 || exit 1
5864 @endif bison
5866 .PHONY: maybe-install-info-bison install-info-bison
5867 maybe-install-info-bison:
5868 @if bison
5869 maybe-install-info-bison: install-info-bison
5871 install-info-bison: \
5872 configure-bison \
5873 info-bison
5874 @: $(MAKE); $(unstage)
5875 @[ -f ./bison/Makefile ] || exit 0; \
5876 r=`${PWD_COMMAND}`; export r; \
5877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5878 $(HOST_EXPORTS) \
5879 for flag in $(EXTRA_HOST_FLAGS) ; do \
5880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5881 done; \
5882 echo "Doing install-info in bison" ; \
5883 (cd $(HOST_SUBDIR)/bison && \
5884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5886 "RANLIB=$${RANLIB}" \
5887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5888 install-info) \
5889 || exit 1
5891 @endif bison
5893 .PHONY: maybe-install-pdf-bison install-pdf-bison
5894 maybe-install-pdf-bison:
5895 @if bison
5896 maybe-install-pdf-bison: install-pdf-bison
5898 install-pdf-bison: \
5899 configure-bison \
5900 pdf-bison
5901 @: $(MAKE); $(unstage)
5902 @[ -f ./bison/Makefile ] || exit 0; \
5903 r=`${PWD_COMMAND}`; export r; \
5904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5905 $(HOST_EXPORTS) \
5906 for flag in $(EXTRA_HOST_FLAGS) ; do \
5907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5908 done; \
5909 echo "Doing install-pdf in bison" ; \
5910 (cd $(HOST_SUBDIR)/bison && \
5911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5913 "RANLIB=$${RANLIB}" \
5914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5915 install-pdf) \
5916 || exit 1
5918 @endif bison
5920 .PHONY: maybe-install-html-bison install-html-bison
5921 maybe-install-html-bison:
5922 @if bison
5923 maybe-install-html-bison: install-html-bison
5925 install-html-bison: \
5926 configure-bison \
5927 html-bison
5928 @: $(MAKE); $(unstage)
5929 @[ -f ./bison/Makefile ] || exit 0; \
5930 r=`${PWD_COMMAND}`; export r; \
5931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5932 $(HOST_EXPORTS) \
5933 for flag in $(EXTRA_HOST_FLAGS) ; do \
5934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5935 done; \
5936 echo "Doing install-html in bison" ; \
5937 (cd $(HOST_SUBDIR)/bison && \
5938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5940 "RANLIB=$${RANLIB}" \
5941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5942 install-html) \
5943 || exit 1
5945 @endif bison
5947 .PHONY: maybe-installcheck-bison installcheck-bison
5948 maybe-installcheck-bison:
5949 @if bison
5950 maybe-installcheck-bison: installcheck-bison
5952 installcheck-bison: \
5953 configure-bison
5954 @: $(MAKE); $(unstage)
5955 @[ -f ./bison/Makefile ] || exit 0; \
5956 r=`${PWD_COMMAND}`; export r; \
5957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5958 $(HOST_EXPORTS) \
5959 for flag in $(EXTRA_HOST_FLAGS) ; do \
5960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5961 done; \
5962 echo "Doing installcheck in bison" ; \
5963 (cd $(HOST_SUBDIR)/bison && \
5964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5966 "RANLIB=$${RANLIB}" \
5967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5968 installcheck) \
5969 || exit 1
5971 @endif bison
5973 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
5974 maybe-mostlyclean-bison:
5975 @if bison
5976 maybe-mostlyclean-bison: mostlyclean-bison
5978 mostlyclean-bison:
5979 @: $(MAKE); $(unstage)
5980 @[ -f ./bison/Makefile ] || exit 0; \
5981 r=`${PWD_COMMAND}`; export r; \
5982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5983 $(HOST_EXPORTS) \
5984 for flag in $(EXTRA_HOST_FLAGS) ; do \
5985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5986 done; \
5987 echo "Doing mostlyclean in bison" ; \
5988 (cd $(HOST_SUBDIR)/bison && \
5989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5991 "RANLIB=$${RANLIB}" \
5992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5993 mostlyclean) \
5994 || exit 1
5996 @endif bison
5998 .PHONY: maybe-clean-bison clean-bison
5999 maybe-clean-bison:
6000 @if bison
6001 maybe-clean-bison: clean-bison
6003 clean-bison:
6004 @: $(MAKE); $(unstage)
6005 @[ -f ./bison/Makefile ] || exit 0; \
6006 r=`${PWD_COMMAND}`; export r; \
6007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6008 $(HOST_EXPORTS) \
6009 for flag in $(EXTRA_HOST_FLAGS) ; do \
6010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6011 done; \
6012 echo "Doing clean in bison" ; \
6013 (cd $(HOST_SUBDIR)/bison && \
6014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6016 "RANLIB=$${RANLIB}" \
6017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6018 clean) \
6019 || exit 1
6021 @endif bison
6023 .PHONY: maybe-distclean-bison distclean-bison
6024 maybe-distclean-bison:
6025 @if bison
6026 maybe-distclean-bison: distclean-bison
6028 distclean-bison:
6029 @: $(MAKE); $(unstage)
6030 @[ -f ./bison/Makefile ] || exit 0; \
6031 r=`${PWD_COMMAND}`; export r; \
6032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6033 $(HOST_EXPORTS) \
6034 for flag in $(EXTRA_HOST_FLAGS) ; do \
6035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6036 done; \
6037 echo "Doing distclean in bison" ; \
6038 (cd $(HOST_SUBDIR)/bison && \
6039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6041 "RANLIB=$${RANLIB}" \
6042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6043 distclean) \
6044 || exit 1
6046 @endif bison
6048 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
6049 maybe-maintainer-clean-bison:
6050 @if bison
6051 maybe-maintainer-clean-bison: maintainer-clean-bison
6053 maintainer-clean-bison:
6054 @: $(MAKE); $(unstage)
6055 @[ -f ./bison/Makefile ] || exit 0; \
6056 r=`${PWD_COMMAND}`; export r; \
6057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6058 $(HOST_EXPORTS) \
6059 for flag in $(EXTRA_HOST_FLAGS) ; do \
6060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6061 done; \
6062 echo "Doing maintainer-clean in bison" ; \
6063 (cd $(HOST_SUBDIR)/bison && \
6064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6066 "RANLIB=$${RANLIB}" \
6067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6068 maintainer-clean) \
6069 || exit 1
6071 @endif bison
6075 .PHONY: configure-cgen maybe-configure-cgen
6076 maybe-configure-cgen:
6077 @if gcc-bootstrap
6078 configure-cgen: stage_current
6079 @endif gcc-bootstrap
6080 @if cgen
6081 maybe-configure-cgen: configure-cgen
6082 configure-cgen:
6083 @: $(MAKE); $(unstage)
6084 @r=`${PWD_COMMAND}`; export r; \
6085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6086 test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \
6087 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen ; \
6088 $(HOST_EXPORTS) \
6089 echo Configuring in $(HOST_SUBDIR)/cgen; \
6090 cd "$(HOST_SUBDIR)/cgen" || exit 1; \
6091 case $(srcdir) in \
6092 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6093 *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \
6094 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6095 esac; \
6096 module_srcdir=cgen; \
6097 $(SHELL) \
6098 $$s/$$module_srcdir/configure \
6099 --srcdir=$${topdir}/$$module_srcdir \
6100 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6101 --target=${target_alias} \
6102 || exit 1
6103 @endif cgen
6109 .PHONY: all-cgen maybe-all-cgen
6110 maybe-all-cgen:
6111 @if gcc-bootstrap
6112 all-cgen: stage_current
6113 @endif gcc-bootstrap
6114 @if cgen
6115 TARGET-cgen=all
6116 maybe-all-cgen: all-cgen
6117 all-cgen: configure-cgen
6118 @: $(MAKE); $(unstage)
6119 @r=`${PWD_COMMAND}`; export r; \
6120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6121 $(HOST_EXPORTS) \
6122 (cd $(HOST_SUBDIR)/cgen && \
6123 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6124 $(TARGET-cgen))
6125 @endif cgen
6130 .PHONY: check-cgen maybe-check-cgen
6131 maybe-check-cgen:
6132 @if cgen
6133 maybe-check-cgen: check-cgen
6135 check-cgen:
6136 @: $(MAKE); $(unstage)
6137 @r=`${PWD_COMMAND}`; export r; \
6138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6139 $(HOST_EXPORTS) \
6140 (cd $(HOST_SUBDIR)/cgen && \
6141 $(MAKE) $(FLAGS_TO_PASS) check)
6143 @endif cgen
6145 .PHONY: install-cgen maybe-install-cgen
6146 maybe-install-cgen:
6147 @if cgen
6148 maybe-install-cgen: install-cgen
6150 install-cgen: installdirs
6151 @: $(MAKE); $(unstage)
6152 @r=`${PWD_COMMAND}`; export r; \
6153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6154 $(HOST_EXPORTS) \
6155 (cd $(HOST_SUBDIR)/cgen && \
6156 $(MAKE) $(FLAGS_TO_PASS) install)
6158 @endif cgen
6160 .PHONY: install-strip-cgen maybe-install-strip-cgen
6161 maybe-install-strip-cgen:
6162 @if cgen
6163 maybe-install-strip-cgen: install-strip-cgen
6165 install-strip-cgen: installdirs
6166 @: $(MAKE); $(unstage)
6167 @r=`${PWD_COMMAND}`; export r; \
6168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6169 $(HOST_EXPORTS) \
6170 (cd $(HOST_SUBDIR)/cgen && \
6171 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6173 @endif cgen
6175 # Other targets (info, dvi, pdf, etc.)
6177 .PHONY: maybe-info-cgen info-cgen
6178 maybe-info-cgen:
6179 @if cgen
6180 maybe-info-cgen: info-cgen
6182 info-cgen: \
6183 configure-cgen
6184 @: $(MAKE); $(unstage)
6185 @[ -f ./cgen/Makefile ] || exit 0; \
6186 r=`${PWD_COMMAND}`; export r; \
6187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6188 $(HOST_EXPORTS) \
6189 for flag in $(EXTRA_HOST_FLAGS) ; do \
6190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6191 done; \
6192 echo "Doing info in cgen" ; \
6193 (cd $(HOST_SUBDIR)/cgen && \
6194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6196 "RANLIB=$${RANLIB}" \
6197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6198 info) \
6199 || exit 1
6201 @endif cgen
6203 .PHONY: maybe-dvi-cgen dvi-cgen
6204 maybe-dvi-cgen:
6205 @if cgen
6206 maybe-dvi-cgen: dvi-cgen
6208 dvi-cgen: \
6209 configure-cgen
6210 @: $(MAKE); $(unstage)
6211 @[ -f ./cgen/Makefile ] || exit 0; \
6212 r=`${PWD_COMMAND}`; export r; \
6213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6214 $(HOST_EXPORTS) \
6215 for flag in $(EXTRA_HOST_FLAGS) ; do \
6216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6217 done; \
6218 echo "Doing dvi in cgen" ; \
6219 (cd $(HOST_SUBDIR)/cgen && \
6220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6222 "RANLIB=$${RANLIB}" \
6223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6224 dvi) \
6225 || exit 1
6227 @endif cgen
6229 .PHONY: maybe-pdf-cgen pdf-cgen
6230 maybe-pdf-cgen:
6231 @if cgen
6232 maybe-pdf-cgen: pdf-cgen
6234 pdf-cgen: \
6235 configure-cgen
6236 @: $(MAKE); $(unstage)
6237 @[ -f ./cgen/Makefile ] || exit 0; \
6238 r=`${PWD_COMMAND}`; export r; \
6239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6240 $(HOST_EXPORTS) \
6241 for flag in $(EXTRA_HOST_FLAGS) ; do \
6242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6243 done; \
6244 echo "Doing pdf in cgen" ; \
6245 (cd $(HOST_SUBDIR)/cgen && \
6246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6248 "RANLIB=$${RANLIB}" \
6249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6250 pdf) \
6251 || exit 1
6253 @endif cgen
6255 .PHONY: maybe-html-cgen html-cgen
6256 maybe-html-cgen:
6257 @if cgen
6258 maybe-html-cgen: html-cgen
6260 html-cgen: \
6261 configure-cgen
6262 @: $(MAKE); $(unstage)
6263 @[ -f ./cgen/Makefile ] || exit 0; \
6264 r=`${PWD_COMMAND}`; export r; \
6265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6266 $(HOST_EXPORTS) \
6267 for flag in $(EXTRA_HOST_FLAGS) ; do \
6268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6269 done; \
6270 echo "Doing html in cgen" ; \
6271 (cd $(HOST_SUBDIR)/cgen && \
6272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6274 "RANLIB=$${RANLIB}" \
6275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6276 html) \
6277 || exit 1
6279 @endif cgen
6281 .PHONY: maybe-TAGS-cgen TAGS-cgen
6282 maybe-TAGS-cgen:
6283 @if cgen
6284 maybe-TAGS-cgen: TAGS-cgen
6286 TAGS-cgen: \
6287 configure-cgen
6288 @: $(MAKE); $(unstage)
6289 @[ -f ./cgen/Makefile ] || exit 0; \
6290 r=`${PWD_COMMAND}`; export r; \
6291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6292 $(HOST_EXPORTS) \
6293 for flag in $(EXTRA_HOST_FLAGS) ; do \
6294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6295 done; \
6296 echo "Doing TAGS in cgen" ; \
6297 (cd $(HOST_SUBDIR)/cgen && \
6298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6300 "RANLIB=$${RANLIB}" \
6301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6302 TAGS) \
6303 || exit 1
6305 @endif cgen
6307 .PHONY: maybe-install-info-cgen install-info-cgen
6308 maybe-install-info-cgen:
6309 @if cgen
6310 maybe-install-info-cgen: install-info-cgen
6312 install-info-cgen: \
6313 configure-cgen \
6314 info-cgen
6315 @: $(MAKE); $(unstage)
6316 @[ -f ./cgen/Makefile ] || exit 0; \
6317 r=`${PWD_COMMAND}`; export r; \
6318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6319 $(HOST_EXPORTS) \
6320 for flag in $(EXTRA_HOST_FLAGS) ; do \
6321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6322 done; \
6323 echo "Doing install-info in cgen" ; \
6324 (cd $(HOST_SUBDIR)/cgen && \
6325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6327 "RANLIB=$${RANLIB}" \
6328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6329 install-info) \
6330 || exit 1
6332 @endif cgen
6334 .PHONY: maybe-install-pdf-cgen install-pdf-cgen
6335 maybe-install-pdf-cgen:
6336 @if cgen
6337 maybe-install-pdf-cgen: install-pdf-cgen
6339 install-pdf-cgen: \
6340 configure-cgen \
6341 pdf-cgen
6342 @: $(MAKE); $(unstage)
6343 @[ -f ./cgen/Makefile ] || exit 0; \
6344 r=`${PWD_COMMAND}`; export r; \
6345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6346 $(HOST_EXPORTS) \
6347 for flag in $(EXTRA_HOST_FLAGS) ; do \
6348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6349 done; \
6350 echo "Doing install-pdf in cgen" ; \
6351 (cd $(HOST_SUBDIR)/cgen && \
6352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6354 "RANLIB=$${RANLIB}" \
6355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6356 install-pdf) \
6357 || exit 1
6359 @endif cgen
6361 .PHONY: maybe-install-html-cgen install-html-cgen
6362 maybe-install-html-cgen:
6363 @if cgen
6364 maybe-install-html-cgen: install-html-cgen
6366 install-html-cgen: \
6367 configure-cgen \
6368 html-cgen
6369 @: $(MAKE); $(unstage)
6370 @[ -f ./cgen/Makefile ] || exit 0; \
6371 r=`${PWD_COMMAND}`; export r; \
6372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6373 $(HOST_EXPORTS) \
6374 for flag in $(EXTRA_HOST_FLAGS) ; do \
6375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6376 done; \
6377 echo "Doing install-html in cgen" ; \
6378 (cd $(HOST_SUBDIR)/cgen && \
6379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6381 "RANLIB=$${RANLIB}" \
6382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6383 install-html) \
6384 || exit 1
6386 @endif cgen
6388 .PHONY: maybe-installcheck-cgen installcheck-cgen
6389 maybe-installcheck-cgen:
6390 @if cgen
6391 maybe-installcheck-cgen: installcheck-cgen
6393 installcheck-cgen: \
6394 configure-cgen
6395 @: $(MAKE); $(unstage)
6396 @[ -f ./cgen/Makefile ] || exit 0; \
6397 r=`${PWD_COMMAND}`; export r; \
6398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6399 $(HOST_EXPORTS) \
6400 for flag in $(EXTRA_HOST_FLAGS) ; do \
6401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6402 done; \
6403 echo "Doing installcheck in cgen" ; \
6404 (cd $(HOST_SUBDIR)/cgen && \
6405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6407 "RANLIB=$${RANLIB}" \
6408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6409 installcheck) \
6410 || exit 1
6412 @endif cgen
6414 .PHONY: maybe-mostlyclean-cgen mostlyclean-cgen
6415 maybe-mostlyclean-cgen:
6416 @if cgen
6417 maybe-mostlyclean-cgen: mostlyclean-cgen
6419 mostlyclean-cgen:
6420 @: $(MAKE); $(unstage)
6421 @[ -f ./cgen/Makefile ] || exit 0; \
6422 r=`${PWD_COMMAND}`; export r; \
6423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6424 $(HOST_EXPORTS) \
6425 for flag in $(EXTRA_HOST_FLAGS) ; do \
6426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6427 done; \
6428 echo "Doing mostlyclean in cgen" ; \
6429 (cd $(HOST_SUBDIR)/cgen && \
6430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6432 "RANLIB=$${RANLIB}" \
6433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6434 mostlyclean) \
6435 || exit 1
6437 @endif cgen
6439 .PHONY: maybe-clean-cgen clean-cgen
6440 maybe-clean-cgen:
6441 @if cgen
6442 maybe-clean-cgen: clean-cgen
6444 clean-cgen:
6445 @: $(MAKE); $(unstage)
6446 @[ -f ./cgen/Makefile ] || exit 0; \
6447 r=`${PWD_COMMAND}`; export r; \
6448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6449 $(HOST_EXPORTS) \
6450 for flag in $(EXTRA_HOST_FLAGS) ; do \
6451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6452 done; \
6453 echo "Doing clean in cgen" ; \
6454 (cd $(HOST_SUBDIR)/cgen && \
6455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6457 "RANLIB=$${RANLIB}" \
6458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6459 clean) \
6460 || exit 1
6462 @endif cgen
6464 .PHONY: maybe-distclean-cgen distclean-cgen
6465 maybe-distclean-cgen:
6466 @if cgen
6467 maybe-distclean-cgen: distclean-cgen
6469 distclean-cgen:
6470 @: $(MAKE); $(unstage)
6471 @[ -f ./cgen/Makefile ] || exit 0; \
6472 r=`${PWD_COMMAND}`; export r; \
6473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6474 $(HOST_EXPORTS) \
6475 for flag in $(EXTRA_HOST_FLAGS) ; do \
6476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6477 done; \
6478 echo "Doing distclean in cgen" ; \
6479 (cd $(HOST_SUBDIR)/cgen && \
6480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6482 "RANLIB=$${RANLIB}" \
6483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6484 distclean) \
6485 || exit 1
6487 @endif cgen
6489 .PHONY: maybe-maintainer-clean-cgen maintainer-clean-cgen
6490 maybe-maintainer-clean-cgen:
6491 @if cgen
6492 maybe-maintainer-clean-cgen: maintainer-clean-cgen
6494 maintainer-clean-cgen:
6495 @: $(MAKE); $(unstage)
6496 @[ -f ./cgen/Makefile ] || exit 0; \
6497 r=`${PWD_COMMAND}`; export r; \
6498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6499 $(HOST_EXPORTS) \
6500 for flag in $(EXTRA_HOST_FLAGS) ; do \
6501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6502 done; \
6503 echo "Doing maintainer-clean in cgen" ; \
6504 (cd $(HOST_SUBDIR)/cgen && \
6505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6507 "RANLIB=$${RANLIB}" \
6508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6509 maintainer-clean) \
6510 || exit 1
6512 @endif cgen
6516 .PHONY: configure-dejagnu maybe-configure-dejagnu
6517 maybe-configure-dejagnu:
6518 @if gcc-bootstrap
6519 configure-dejagnu: stage_current
6520 @endif gcc-bootstrap
6521 @if dejagnu
6522 maybe-configure-dejagnu: configure-dejagnu
6523 configure-dejagnu:
6524 @: $(MAKE); $(unstage)
6525 @r=`${PWD_COMMAND}`; export r; \
6526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6527 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
6528 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
6529 $(HOST_EXPORTS) \
6530 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
6531 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
6532 case $(srcdir) in \
6533 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6534 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
6535 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6536 esac; \
6537 module_srcdir=dejagnu; \
6538 $(SHELL) \
6539 $$s/$$module_srcdir/configure \
6540 --srcdir=$${topdir}/$$module_srcdir \
6541 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6542 --target=${target_alias} \
6543 || exit 1
6544 @endif dejagnu
6550 .PHONY: all-dejagnu maybe-all-dejagnu
6551 maybe-all-dejagnu:
6552 @if gcc-bootstrap
6553 all-dejagnu: stage_current
6554 @endif gcc-bootstrap
6555 @if dejagnu
6556 TARGET-dejagnu=all
6557 maybe-all-dejagnu: all-dejagnu
6558 all-dejagnu: configure-dejagnu
6559 @: $(MAKE); $(unstage)
6560 @r=`${PWD_COMMAND}`; export r; \
6561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6562 $(HOST_EXPORTS) \
6563 (cd $(HOST_SUBDIR)/dejagnu && \
6564 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6565 $(TARGET-dejagnu))
6566 @endif dejagnu
6571 .PHONY: check-dejagnu maybe-check-dejagnu
6572 maybe-check-dejagnu:
6573 @if dejagnu
6574 maybe-check-dejagnu: check-dejagnu
6576 check-dejagnu:
6577 @: $(MAKE); $(unstage)
6578 @r=`${PWD_COMMAND}`; export r; \
6579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6580 $(HOST_EXPORTS) \
6581 (cd $(HOST_SUBDIR)/dejagnu && \
6582 $(MAKE) $(FLAGS_TO_PASS) check)
6584 @endif dejagnu
6586 .PHONY: install-dejagnu maybe-install-dejagnu
6587 maybe-install-dejagnu:
6588 @if dejagnu
6589 maybe-install-dejagnu: install-dejagnu
6591 install-dejagnu: installdirs
6592 @: $(MAKE); $(unstage)
6593 @r=`${PWD_COMMAND}`; export r; \
6594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6595 $(HOST_EXPORTS) \
6596 (cd $(HOST_SUBDIR)/dejagnu && \
6597 $(MAKE) $(FLAGS_TO_PASS) install)
6599 @endif dejagnu
6601 .PHONY: install-strip-dejagnu maybe-install-strip-dejagnu
6602 maybe-install-strip-dejagnu:
6603 @if dejagnu
6604 maybe-install-strip-dejagnu: install-strip-dejagnu
6606 install-strip-dejagnu: installdirs
6607 @: $(MAKE); $(unstage)
6608 @r=`${PWD_COMMAND}`; export r; \
6609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6610 $(HOST_EXPORTS) \
6611 (cd $(HOST_SUBDIR)/dejagnu && \
6612 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6614 @endif dejagnu
6616 # Other targets (info, dvi, pdf, etc.)
6618 .PHONY: maybe-info-dejagnu info-dejagnu
6619 maybe-info-dejagnu:
6620 @if dejagnu
6621 maybe-info-dejagnu: info-dejagnu
6623 info-dejagnu: \
6624 configure-dejagnu
6625 @: $(MAKE); $(unstage)
6626 @[ -f ./dejagnu/Makefile ] || exit 0; \
6627 r=`${PWD_COMMAND}`; export r; \
6628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6629 $(HOST_EXPORTS) \
6630 for flag in $(EXTRA_HOST_FLAGS) ; do \
6631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6632 done; \
6633 echo "Doing info in dejagnu" ; \
6634 (cd $(HOST_SUBDIR)/dejagnu && \
6635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6637 "RANLIB=$${RANLIB}" \
6638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6639 info) \
6640 || exit 1
6642 @endif dejagnu
6644 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
6645 maybe-dvi-dejagnu:
6646 @if dejagnu
6647 maybe-dvi-dejagnu: dvi-dejagnu
6649 dvi-dejagnu: \
6650 configure-dejagnu
6651 @: $(MAKE); $(unstage)
6652 @[ -f ./dejagnu/Makefile ] || exit 0; \
6653 r=`${PWD_COMMAND}`; export r; \
6654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6655 $(HOST_EXPORTS) \
6656 for flag in $(EXTRA_HOST_FLAGS) ; do \
6657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6658 done; \
6659 echo "Doing dvi in dejagnu" ; \
6660 (cd $(HOST_SUBDIR)/dejagnu && \
6661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6663 "RANLIB=$${RANLIB}" \
6664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6665 dvi) \
6666 || exit 1
6668 @endif dejagnu
6670 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
6671 maybe-pdf-dejagnu:
6672 @if dejagnu
6673 maybe-pdf-dejagnu: pdf-dejagnu
6675 pdf-dejagnu: \
6676 configure-dejagnu
6677 @: $(MAKE); $(unstage)
6678 @[ -f ./dejagnu/Makefile ] || exit 0; \
6679 r=`${PWD_COMMAND}`; export r; \
6680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6681 $(HOST_EXPORTS) \
6682 for flag in $(EXTRA_HOST_FLAGS) ; do \
6683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6684 done; \
6685 echo "Doing pdf in dejagnu" ; \
6686 (cd $(HOST_SUBDIR)/dejagnu && \
6687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6689 "RANLIB=$${RANLIB}" \
6690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6691 pdf) \
6692 || exit 1
6694 @endif dejagnu
6696 .PHONY: maybe-html-dejagnu html-dejagnu
6697 maybe-html-dejagnu:
6698 @if dejagnu
6699 maybe-html-dejagnu: html-dejagnu
6701 html-dejagnu: \
6702 configure-dejagnu
6703 @: $(MAKE); $(unstage)
6704 @[ -f ./dejagnu/Makefile ] || exit 0; \
6705 r=`${PWD_COMMAND}`; export r; \
6706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6707 $(HOST_EXPORTS) \
6708 for flag in $(EXTRA_HOST_FLAGS) ; do \
6709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6710 done; \
6711 echo "Doing html in dejagnu" ; \
6712 (cd $(HOST_SUBDIR)/dejagnu && \
6713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6715 "RANLIB=$${RANLIB}" \
6716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6717 html) \
6718 || exit 1
6720 @endif dejagnu
6722 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
6723 maybe-TAGS-dejagnu:
6724 @if dejagnu
6725 maybe-TAGS-dejagnu: TAGS-dejagnu
6727 TAGS-dejagnu: \
6728 configure-dejagnu
6729 @: $(MAKE); $(unstage)
6730 @[ -f ./dejagnu/Makefile ] || exit 0; \
6731 r=`${PWD_COMMAND}`; export r; \
6732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6733 $(HOST_EXPORTS) \
6734 for flag in $(EXTRA_HOST_FLAGS) ; do \
6735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6736 done; \
6737 echo "Doing TAGS in dejagnu" ; \
6738 (cd $(HOST_SUBDIR)/dejagnu && \
6739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6741 "RANLIB=$${RANLIB}" \
6742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6743 TAGS) \
6744 || exit 1
6746 @endif dejagnu
6748 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
6749 maybe-install-info-dejagnu:
6750 @if dejagnu
6751 maybe-install-info-dejagnu: install-info-dejagnu
6753 install-info-dejagnu: \
6754 configure-dejagnu \
6755 info-dejagnu
6756 @: $(MAKE); $(unstage)
6757 @[ -f ./dejagnu/Makefile ] || exit 0; \
6758 r=`${PWD_COMMAND}`; export r; \
6759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6760 $(HOST_EXPORTS) \
6761 for flag in $(EXTRA_HOST_FLAGS) ; do \
6762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6763 done; \
6764 echo "Doing install-info in dejagnu" ; \
6765 (cd $(HOST_SUBDIR)/dejagnu && \
6766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6768 "RANLIB=$${RANLIB}" \
6769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6770 install-info) \
6771 || exit 1
6773 @endif dejagnu
6775 .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu
6776 maybe-install-pdf-dejagnu:
6777 @if dejagnu
6778 maybe-install-pdf-dejagnu: install-pdf-dejagnu
6780 install-pdf-dejagnu: \
6781 configure-dejagnu \
6782 pdf-dejagnu
6783 @: $(MAKE); $(unstage)
6784 @[ -f ./dejagnu/Makefile ] || exit 0; \
6785 r=`${PWD_COMMAND}`; export r; \
6786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6787 $(HOST_EXPORTS) \
6788 for flag in $(EXTRA_HOST_FLAGS) ; do \
6789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6790 done; \
6791 echo "Doing install-pdf in dejagnu" ; \
6792 (cd $(HOST_SUBDIR)/dejagnu && \
6793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6795 "RANLIB=$${RANLIB}" \
6796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6797 install-pdf) \
6798 || exit 1
6800 @endif dejagnu
6802 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
6803 maybe-install-html-dejagnu:
6804 @if dejagnu
6805 maybe-install-html-dejagnu: install-html-dejagnu
6807 install-html-dejagnu: \
6808 configure-dejagnu \
6809 html-dejagnu
6810 @: $(MAKE); $(unstage)
6811 @[ -f ./dejagnu/Makefile ] || exit 0; \
6812 r=`${PWD_COMMAND}`; export r; \
6813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6814 $(HOST_EXPORTS) \
6815 for flag in $(EXTRA_HOST_FLAGS) ; do \
6816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6817 done; \
6818 echo "Doing install-html in dejagnu" ; \
6819 (cd $(HOST_SUBDIR)/dejagnu && \
6820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6822 "RANLIB=$${RANLIB}" \
6823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6824 install-html) \
6825 || exit 1
6827 @endif dejagnu
6829 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
6830 maybe-installcheck-dejagnu:
6831 @if dejagnu
6832 maybe-installcheck-dejagnu: installcheck-dejagnu
6834 installcheck-dejagnu: \
6835 configure-dejagnu
6836 @: $(MAKE); $(unstage)
6837 @[ -f ./dejagnu/Makefile ] || exit 0; \
6838 r=`${PWD_COMMAND}`; export r; \
6839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6840 $(HOST_EXPORTS) \
6841 for flag in $(EXTRA_HOST_FLAGS) ; do \
6842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6843 done; \
6844 echo "Doing installcheck in dejagnu" ; \
6845 (cd $(HOST_SUBDIR)/dejagnu && \
6846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6848 "RANLIB=$${RANLIB}" \
6849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6850 installcheck) \
6851 || exit 1
6853 @endif dejagnu
6855 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
6856 maybe-mostlyclean-dejagnu:
6857 @if dejagnu
6858 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
6860 mostlyclean-dejagnu:
6861 @: $(MAKE); $(unstage)
6862 @[ -f ./dejagnu/Makefile ] || exit 0; \
6863 r=`${PWD_COMMAND}`; export r; \
6864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6865 $(HOST_EXPORTS) \
6866 for flag in $(EXTRA_HOST_FLAGS) ; do \
6867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6868 done; \
6869 echo "Doing mostlyclean in dejagnu" ; \
6870 (cd $(HOST_SUBDIR)/dejagnu && \
6871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6873 "RANLIB=$${RANLIB}" \
6874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6875 mostlyclean) \
6876 || exit 1
6878 @endif dejagnu
6880 .PHONY: maybe-clean-dejagnu clean-dejagnu
6881 maybe-clean-dejagnu:
6882 @if dejagnu
6883 maybe-clean-dejagnu: clean-dejagnu
6885 clean-dejagnu:
6886 @: $(MAKE); $(unstage)
6887 @[ -f ./dejagnu/Makefile ] || exit 0; \
6888 r=`${PWD_COMMAND}`; export r; \
6889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6890 $(HOST_EXPORTS) \
6891 for flag in $(EXTRA_HOST_FLAGS) ; do \
6892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6893 done; \
6894 echo "Doing clean in dejagnu" ; \
6895 (cd $(HOST_SUBDIR)/dejagnu && \
6896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6898 "RANLIB=$${RANLIB}" \
6899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6900 clean) \
6901 || exit 1
6903 @endif dejagnu
6905 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
6906 maybe-distclean-dejagnu:
6907 @if dejagnu
6908 maybe-distclean-dejagnu: distclean-dejagnu
6910 distclean-dejagnu:
6911 @: $(MAKE); $(unstage)
6912 @[ -f ./dejagnu/Makefile ] || exit 0; \
6913 r=`${PWD_COMMAND}`; export r; \
6914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6915 $(HOST_EXPORTS) \
6916 for flag in $(EXTRA_HOST_FLAGS) ; do \
6917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6918 done; \
6919 echo "Doing distclean in dejagnu" ; \
6920 (cd $(HOST_SUBDIR)/dejagnu && \
6921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6923 "RANLIB=$${RANLIB}" \
6924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6925 distclean) \
6926 || exit 1
6928 @endif dejagnu
6930 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
6931 maybe-maintainer-clean-dejagnu:
6932 @if dejagnu
6933 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
6935 maintainer-clean-dejagnu:
6936 @: $(MAKE); $(unstage)
6937 @[ -f ./dejagnu/Makefile ] || exit 0; \
6938 r=`${PWD_COMMAND}`; export r; \
6939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6940 $(HOST_EXPORTS) \
6941 for flag in $(EXTRA_HOST_FLAGS) ; do \
6942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6943 done; \
6944 echo "Doing maintainer-clean in dejagnu" ; \
6945 (cd $(HOST_SUBDIR)/dejagnu && \
6946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6948 "RANLIB=$${RANLIB}" \
6949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6950 maintainer-clean) \
6951 || exit 1
6953 @endif dejagnu
6957 .PHONY: configure-etc maybe-configure-etc
6958 maybe-configure-etc:
6959 @if gcc-bootstrap
6960 configure-etc: stage_current
6961 @endif gcc-bootstrap
6962 @if etc
6963 maybe-configure-etc: configure-etc
6964 configure-etc:
6965 @: $(MAKE); $(unstage)
6966 @r=`${PWD_COMMAND}`; export r; \
6967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6968 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
6969 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
6970 $(HOST_EXPORTS) \
6971 echo Configuring in $(HOST_SUBDIR)/etc; \
6972 cd "$(HOST_SUBDIR)/etc" || exit 1; \
6973 case $(srcdir) in \
6974 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6975 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
6976 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6977 esac; \
6978 module_srcdir=etc; \
6979 $(SHELL) \
6980 $$s/$$module_srcdir/configure \
6981 --srcdir=$${topdir}/$$module_srcdir \
6982 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6983 --target=${target_alias} \
6984 || exit 1
6985 @endif etc
6991 .PHONY: all-etc maybe-all-etc
6992 maybe-all-etc:
6993 @if gcc-bootstrap
6994 all-etc: stage_current
6995 @endif gcc-bootstrap
6996 @if etc
6997 TARGET-etc=all
6998 maybe-all-etc: all-etc
6999 all-etc: configure-etc
7000 @: $(MAKE); $(unstage)
7001 @r=`${PWD_COMMAND}`; export r; \
7002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7003 $(HOST_EXPORTS) \
7004 (cd $(HOST_SUBDIR)/etc && \
7005 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7006 $(TARGET-etc))
7007 @endif etc
7012 .PHONY: check-etc maybe-check-etc
7013 maybe-check-etc:
7014 @if etc
7015 maybe-check-etc: check-etc
7017 check-etc:
7018 @: $(MAKE); $(unstage)
7019 @r=`${PWD_COMMAND}`; export r; \
7020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7021 $(HOST_EXPORTS) \
7022 (cd $(HOST_SUBDIR)/etc && \
7023 $(MAKE) $(FLAGS_TO_PASS) check)
7025 @endif etc
7027 .PHONY: install-etc maybe-install-etc
7028 maybe-install-etc:
7029 @if etc
7030 maybe-install-etc: install-etc
7032 install-etc: installdirs
7033 @: $(MAKE); $(unstage)
7034 @r=`${PWD_COMMAND}`; export r; \
7035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7036 $(HOST_EXPORTS) \
7037 (cd $(HOST_SUBDIR)/etc && \
7038 $(MAKE) $(FLAGS_TO_PASS) install)
7040 @endif etc
7042 .PHONY: install-strip-etc maybe-install-strip-etc
7043 maybe-install-strip-etc:
7044 @if etc
7045 maybe-install-strip-etc: install-strip-etc
7047 install-strip-etc: installdirs
7048 @: $(MAKE); $(unstage)
7049 @r=`${PWD_COMMAND}`; export r; \
7050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7051 $(HOST_EXPORTS) \
7052 (cd $(HOST_SUBDIR)/etc && \
7053 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7055 @endif etc
7057 # Other targets (info, dvi, pdf, etc.)
7059 .PHONY: maybe-info-etc info-etc
7060 maybe-info-etc:
7061 @if etc
7062 maybe-info-etc: info-etc
7064 info-etc: \
7065 configure-etc
7066 @: $(MAKE); $(unstage)
7067 @[ -f ./etc/Makefile ] || exit 0; \
7068 r=`${PWD_COMMAND}`; export r; \
7069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7070 $(HOST_EXPORTS) \
7071 for flag in $(EXTRA_HOST_FLAGS) ; do \
7072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7073 done; \
7074 echo "Doing info in etc" ; \
7075 (cd $(HOST_SUBDIR)/etc && \
7076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7078 "RANLIB=$${RANLIB}" \
7079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7080 info) \
7081 || exit 1
7083 @endif etc
7085 .PHONY: maybe-dvi-etc dvi-etc
7086 maybe-dvi-etc:
7087 @if etc
7088 maybe-dvi-etc: dvi-etc
7090 dvi-etc: \
7091 configure-etc
7092 @: $(MAKE); $(unstage)
7093 @[ -f ./etc/Makefile ] || exit 0; \
7094 r=`${PWD_COMMAND}`; export r; \
7095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7096 $(HOST_EXPORTS) \
7097 for flag in $(EXTRA_HOST_FLAGS) ; do \
7098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7099 done; \
7100 echo "Doing dvi in etc" ; \
7101 (cd $(HOST_SUBDIR)/etc && \
7102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7104 "RANLIB=$${RANLIB}" \
7105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7106 dvi) \
7107 || exit 1
7109 @endif etc
7111 .PHONY: maybe-pdf-etc pdf-etc
7112 maybe-pdf-etc:
7113 @if etc
7114 maybe-pdf-etc: pdf-etc
7116 pdf-etc: \
7117 configure-etc
7118 @: $(MAKE); $(unstage)
7119 @[ -f ./etc/Makefile ] || exit 0; \
7120 r=`${PWD_COMMAND}`; export r; \
7121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7122 $(HOST_EXPORTS) \
7123 for flag in $(EXTRA_HOST_FLAGS) ; do \
7124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7125 done; \
7126 echo "Doing pdf in etc" ; \
7127 (cd $(HOST_SUBDIR)/etc && \
7128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7130 "RANLIB=$${RANLIB}" \
7131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7132 pdf) \
7133 || exit 1
7135 @endif etc
7137 .PHONY: maybe-html-etc html-etc
7138 maybe-html-etc:
7139 @if etc
7140 maybe-html-etc: html-etc
7142 html-etc: \
7143 configure-etc
7144 @: $(MAKE); $(unstage)
7145 @[ -f ./etc/Makefile ] || exit 0; \
7146 r=`${PWD_COMMAND}`; export r; \
7147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7148 $(HOST_EXPORTS) \
7149 for flag in $(EXTRA_HOST_FLAGS) ; do \
7150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7151 done; \
7152 echo "Doing html in etc" ; \
7153 (cd $(HOST_SUBDIR)/etc && \
7154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7156 "RANLIB=$${RANLIB}" \
7157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7158 html) \
7159 || exit 1
7161 @endif etc
7163 .PHONY: maybe-TAGS-etc TAGS-etc
7164 maybe-TAGS-etc:
7165 @if etc
7166 maybe-TAGS-etc: TAGS-etc
7168 TAGS-etc: \
7169 configure-etc
7170 @: $(MAKE); $(unstage)
7171 @[ -f ./etc/Makefile ] || exit 0; \
7172 r=`${PWD_COMMAND}`; export r; \
7173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7174 $(HOST_EXPORTS) \
7175 for flag in $(EXTRA_HOST_FLAGS) ; do \
7176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7177 done; \
7178 echo "Doing TAGS in etc" ; \
7179 (cd $(HOST_SUBDIR)/etc && \
7180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7182 "RANLIB=$${RANLIB}" \
7183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7184 TAGS) \
7185 || exit 1
7187 @endif etc
7189 .PHONY: maybe-install-info-etc install-info-etc
7190 maybe-install-info-etc:
7191 @if etc
7192 maybe-install-info-etc: install-info-etc
7194 install-info-etc: \
7195 configure-etc \
7196 info-etc
7197 @: $(MAKE); $(unstage)
7198 @[ -f ./etc/Makefile ] || exit 0; \
7199 r=`${PWD_COMMAND}`; export r; \
7200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7201 $(HOST_EXPORTS) \
7202 for flag in $(EXTRA_HOST_FLAGS) ; do \
7203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7204 done; \
7205 echo "Doing install-info in etc" ; \
7206 (cd $(HOST_SUBDIR)/etc && \
7207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7209 "RANLIB=$${RANLIB}" \
7210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7211 install-info) \
7212 || exit 1
7214 @endif etc
7216 .PHONY: maybe-install-pdf-etc install-pdf-etc
7217 maybe-install-pdf-etc:
7218 @if etc
7219 maybe-install-pdf-etc: install-pdf-etc
7221 install-pdf-etc: \
7222 configure-etc \
7223 pdf-etc
7224 @: $(MAKE); $(unstage)
7225 @[ -f ./etc/Makefile ] || exit 0; \
7226 r=`${PWD_COMMAND}`; export r; \
7227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7228 $(HOST_EXPORTS) \
7229 for flag in $(EXTRA_HOST_FLAGS) ; do \
7230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7231 done; \
7232 echo "Doing install-pdf in etc" ; \
7233 (cd $(HOST_SUBDIR)/etc && \
7234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7236 "RANLIB=$${RANLIB}" \
7237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7238 install-pdf) \
7239 || exit 1
7241 @endif etc
7243 .PHONY: maybe-install-html-etc install-html-etc
7244 maybe-install-html-etc:
7245 @if etc
7246 maybe-install-html-etc: install-html-etc
7248 install-html-etc: \
7249 configure-etc \
7250 html-etc
7251 @: $(MAKE); $(unstage)
7252 @[ -f ./etc/Makefile ] || exit 0; \
7253 r=`${PWD_COMMAND}`; export r; \
7254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7255 $(HOST_EXPORTS) \
7256 for flag in $(EXTRA_HOST_FLAGS) ; do \
7257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7258 done; \
7259 echo "Doing install-html in etc" ; \
7260 (cd $(HOST_SUBDIR)/etc && \
7261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7263 "RANLIB=$${RANLIB}" \
7264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7265 install-html) \
7266 || exit 1
7268 @endif etc
7270 .PHONY: maybe-installcheck-etc installcheck-etc
7271 maybe-installcheck-etc:
7272 @if etc
7273 maybe-installcheck-etc: installcheck-etc
7275 installcheck-etc: \
7276 configure-etc
7277 @: $(MAKE); $(unstage)
7278 @[ -f ./etc/Makefile ] || exit 0; \
7279 r=`${PWD_COMMAND}`; export r; \
7280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7281 $(HOST_EXPORTS) \
7282 for flag in $(EXTRA_HOST_FLAGS) ; do \
7283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7284 done; \
7285 echo "Doing installcheck in etc" ; \
7286 (cd $(HOST_SUBDIR)/etc && \
7287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7289 "RANLIB=$${RANLIB}" \
7290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7291 installcheck) \
7292 || exit 1
7294 @endif etc
7296 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
7297 maybe-mostlyclean-etc:
7298 @if etc
7299 maybe-mostlyclean-etc: mostlyclean-etc
7301 mostlyclean-etc:
7302 @: $(MAKE); $(unstage)
7303 @[ -f ./etc/Makefile ] || exit 0; \
7304 r=`${PWD_COMMAND}`; export r; \
7305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7306 $(HOST_EXPORTS) \
7307 for flag in $(EXTRA_HOST_FLAGS) ; do \
7308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7309 done; \
7310 echo "Doing mostlyclean in etc" ; \
7311 (cd $(HOST_SUBDIR)/etc && \
7312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7314 "RANLIB=$${RANLIB}" \
7315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7316 mostlyclean) \
7317 || exit 1
7319 @endif etc
7321 .PHONY: maybe-clean-etc clean-etc
7322 maybe-clean-etc:
7323 @if etc
7324 maybe-clean-etc: clean-etc
7326 clean-etc:
7327 @: $(MAKE); $(unstage)
7328 @[ -f ./etc/Makefile ] || exit 0; \
7329 r=`${PWD_COMMAND}`; export r; \
7330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7331 $(HOST_EXPORTS) \
7332 for flag in $(EXTRA_HOST_FLAGS) ; do \
7333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7334 done; \
7335 echo "Doing clean in etc" ; \
7336 (cd $(HOST_SUBDIR)/etc && \
7337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7339 "RANLIB=$${RANLIB}" \
7340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7341 clean) \
7342 || exit 1
7344 @endif etc
7346 .PHONY: maybe-distclean-etc distclean-etc
7347 maybe-distclean-etc:
7348 @if etc
7349 maybe-distclean-etc: distclean-etc
7351 distclean-etc:
7352 @: $(MAKE); $(unstage)
7353 @[ -f ./etc/Makefile ] || exit 0; \
7354 r=`${PWD_COMMAND}`; export r; \
7355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7356 $(HOST_EXPORTS) \
7357 for flag in $(EXTRA_HOST_FLAGS) ; do \
7358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7359 done; \
7360 echo "Doing distclean in etc" ; \
7361 (cd $(HOST_SUBDIR)/etc && \
7362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7364 "RANLIB=$${RANLIB}" \
7365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7366 distclean) \
7367 || exit 1
7369 @endif etc
7371 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
7372 maybe-maintainer-clean-etc:
7373 @if etc
7374 maybe-maintainer-clean-etc: maintainer-clean-etc
7376 maintainer-clean-etc:
7377 @: $(MAKE); $(unstage)
7378 @[ -f ./etc/Makefile ] || exit 0; \
7379 r=`${PWD_COMMAND}`; export r; \
7380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7381 $(HOST_EXPORTS) \
7382 for flag in $(EXTRA_HOST_FLAGS) ; do \
7383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7384 done; \
7385 echo "Doing maintainer-clean in etc" ; \
7386 (cd $(HOST_SUBDIR)/etc && \
7387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7389 "RANLIB=$${RANLIB}" \
7390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7391 maintainer-clean) \
7392 || exit 1
7394 @endif etc
7398 .PHONY: configure-fastjar maybe-configure-fastjar
7399 maybe-configure-fastjar:
7400 @if gcc-bootstrap
7401 configure-fastjar: stage_current
7402 @endif gcc-bootstrap
7403 @if fastjar
7404 maybe-configure-fastjar: configure-fastjar
7405 configure-fastjar:
7406 @: $(MAKE); $(unstage)
7407 @r=`${PWD_COMMAND}`; export r; \
7408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7409 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
7410 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
7411 $(HOST_EXPORTS) \
7412 echo Configuring in $(HOST_SUBDIR)/fastjar; \
7413 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
7414 case $(srcdir) in \
7415 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7416 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
7417 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7418 esac; \
7419 module_srcdir=fastjar; \
7420 $(SHELL) \
7421 $$s/$$module_srcdir/configure \
7422 --srcdir=$${topdir}/$$module_srcdir \
7423 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7424 --target=${target_alias} \
7425 || exit 1
7426 @endif fastjar
7432 .PHONY: all-fastjar maybe-all-fastjar
7433 maybe-all-fastjar:
7434 @if gcc-bootstrap
7435 all-fastjar: stage_current
7436 @endif gcc-bootstrap
7437 @if fastjar
7438 TARGET-fastjar=all
7439 maybe-all-fastjar: all-fastjar
7440 all-fastjar: configure-fastjar
7441 @: $(MAKE); $(unstage)
7442 @r=`${PWD_COMMAND}`; export r; \
7443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7444 $(HOST_EXPORTS) \
7445 (cd $(HOST_SUBDIR)/fastjar && \
7446 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7447 $(TARGET-fastjar))
7448 @endif fastjar
7453 .PHONY: check-fastjar maybe-check-fastjar
7454 maybe-check-fastjar:
7455 @if fastjar
7456 maybe-check-fastjar: check-fastjar
7458 # This module is only tested in a native toolchain.
7459 check-fastjar:
7460 @: $(MAKE); $(unstage)
7461 @if [ '$(host)' = '$(target)' ] ; then \
7462 r=`${PWD_COMMAND}`; export r; \
7463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7464 $(HOST_EXPORTS) \
7465 (cd $(HOST_SUBDIR)/fastjar && \
7466 $(MAKE) $(FLAGS_TO_PASS) check); \
7469 @endif fastjar
7471 .PHONY: install-fastjar maybe-install-fastjar
7472 maybe-install-fastjar:
7473 @if fastjar
7474 maybe-install-fastjar: install-fastjar
7476 install-fastjar: installdirs
7477 @: $(MAKE); $(unstage)
7478 @r=`${PWD_COMMAND}`; export r; \
7479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7480 $(HOST_EXPORTS) \
7481 (cd $(HOST_SUBDIR)/fastjar && \
7482 $(MAKE) $(FLAGS_TO_PASS) install)
7484 @endif fastjar
7486 .PHONY: install-strip-fastjar maybe-install-strip-fastjar
7487 maybe-install-strip-fastjar:
7488 @if fastjar
7489 maybe-install-strip-fastjar: install-strip-fastjar
7491 install-strip-fastjar: installdirs
7492 @: $(MAKE); $(unstage)
7493 @r=`${PWD_COMMAND}`; export r; \
7494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7495 $(HOST_EXPORTS) \
7496 (cd $(HOST_SUBDIR)/fastjar && \
7497 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7499 @endif fastjar
7501 # Other targets (info, dvi, pdf, etc.)
7503 .PHONY: maybe-info-fastjar info-fastjar
7504 maybe-info-fastjar:
7505 @if fastjar
7506 maybe-info-fastjar: info-fastjar
7508 info-fastjar: \
7509 configure-fastjar
7510 @: $(MAKE); $(unstage)
7511 @[ -f ./fastjar/Makefile ] || exit 0; \
7512 r=`${PWD_COMMAND}`; export r; \
7513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7514 $(HOST_EXPORTS) \
7515 for flag in $(EXTRA_HOST_FLAGS) ; do \
7516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7517 done; \
7518 echo "Doing info in fastjar" ; \
7519 (cd $(HOST_SUBDIR)/fastjar && \
7520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7522 "RANLIB=$${RANLIB}" \
7523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7524 info) \
7525 || exit 1
7527 @endif fastjar
7529 .PHONY: maybe-dvi-fastjar dvi-fastjar
7530 maybe-dvi-fastjar:
7531 @if fastjar
7532 maybe-dvi-fastjar: dvi-fastjar
7534 dvi-fastjar: \
7535 configure-fastjar
7536 @: $(MAKE); $(unstage)
7537 @[ -f ./fastjar/Makefile ] || exit 0; \
7538 r=`${PWD_COMMAND}`; export r; \
7539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7540 $(HOST_EXPORTS) \
7541 for flag in $(EXTRA_HOST_FLAGS) ; do \
7542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7543 done; \
7544 echo "Doing dvi in fastjar" ; \
7545 (cd $(HOST_SUBDIR)/fastjar && \
7546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7548 "RANLIB=$${RANLIB}" \
7549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7550 dvi) \
7551 || exit 1
7553 @endif fastjar
7555 .PHONY: maybe-pdf-fastjar pdf-fastjar
7556 maybe-pdf-fastjar:
7557 @if fastjar
7558 maybe-pdf-fastjar: pdf-fastjar
7560 pdf-fastjar: \
7561 configure-fastjar
7562 @: $(MAKE); $(unstage)
7563 @[ -f ./fastjar/Makefile ] || exit 0; \
7564 r=`${PWD_COMMAND}`; export r; \
7565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7566 $(HOST_EXPORTS) \
7567 for flag in $(EXTRA_HOST_FLAGS) ; do \
7568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7569 done; \
7570 echo "Doing pdf in fastjar" ; \
7571 (cd $(HOST_SUBDIR)/fastjar && \
7572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7574 "RANLIB=$${RANLIB}" \
7575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7576 pdf) \
7577 || exit 1
7579 @endif fastjar
7581 .PHONY: maybe-html-fastjar html-fastjar
7582 maybe-html-fastjar:
7583 @if fastjar
7584 maybe-html-fastjar: html-fastjar
7586 html-fastjar: \
7587 configure-fastjar
7588 @: $(MAKE); $(unstage)
7589 @[ -f ./fastjar/Makefile ] || exit 0; \
7590 r=`${PWD_COMMAND}`; export r; \
7591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7592 $(HOST_EXPORTS) \
7593 for flag in $(EXTRA_HOST_FLAGS) ; do \
7594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7595 done; \
7596 echo "Doing html in fastjar" ; \
7597 (cd $(HOST_SUBDIR)/fastjar && \
7598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7600 "RANLIB=$${RANLIB}" \
7601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7602 html) \
7603 || exit 1
7605 @endif fastjar
7607 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
7608 maybe-TAGS-fastjar:
7609 @if fastjar
7610 maybe-TAGS-fastjar: TAGS-fastjar
7612 TAGS-fastjar: \
7613 configure-fastjar
7614 @: $(MAKE); $(unstage)
7615 @[ -f ./fastjar/Makefile ] || exit 0; \
7616 r=`${PWD_COMMAND}`; export r; \
7617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7618 $(HOST_EXPORTS) \
7619 for flag in $(EXTRA_HOST_FLAGS) ; do \
7620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7621 done; \
7622 echo "Doing TAGS in fastjar" ; \
7623 (cd $(HOST_SUBDIR)/fastjar && \
7624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7626 "RANLIB=$${RANLIB}" \
7627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7628 TAGS) \
7629 || exit 1
7631 @endif fastjar
7633 .PHONY: maybe-install-info-fastjar install-info-fastjar
7634 maybe-install-info-fastjar:
7635 @if fastjar
7636 maybe-install-info-fastjar: install-info-fastjar
7638 install-info-fastjar: \
7639 configure-fastjar \
7640 info-fastjar
7641 @: $(MAKE); $(unstage)
7642 @[ -f ./fastjar/Makefile ] || exit 0; \
7643 r=`${PWD_COMMAND}`; export r; \
7644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7645 $(HOST_EXPORTS) \
7646 for flag in $(EXTRA_HOST_FLAGS) ; do \
7647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7648 done; \
7649 echo "Doing install-info in fastjar" ; \
7650 (cd $(HOST_SUBDIR)/fastjar && \
7651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7653 "RANLIB=$${RANLIB}" \
7654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7655 install-info) \
7656 || exit 1
7658 @endif fastjar
7660 .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar
7661 maybe-install-pdf-fastjar:
7662 @if fastjar
7663 maybe-install-pdf-fastjar: install-pdf-fastjar
7665 install-pdf-fastjar: \
7666 configure-fastjar \
7667 pdf-fastjar
7668 @: $(MAKE); $(unstage)
7669 @[ -f ./fastjar/Makefile ] || exit 0; \
7670 r=`${PWD_COMMAND}`; export r; \
7671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7672 $(HOST_EXPORTS) \
7673 for flag in $(EXTRA_HOST_FLAGS) ; do \
7674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7675 done; \
7676 echo "Doing install-pdf in fastjar" ; \
7677 (cd $(HOST_SUBDIR)/fastjar && \
7678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7680 "RANLIB=$${RANLIB}" \
7681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7682 install-pdf) \
7683 || exit 1
7685 @endif fastjar
7687 .PHONY: maybe-install-html-fastjar install-html-fastjar
7688 maybe-install-html-fastjar:
7689 @if fastjar
7690 maybe-install-html-fastjar: install-html-fastjar
7692 install-html-fastjar: \
7693 configure-fastjar \
7694 html-fastjar
7695 @: $(MAKE); $(unstage)
7696 @[ -f ./fastjar/Makefile ] || exit 0; \
7697 r=`${PWD_COMMAND}`; export r; \
7698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7699 $(HOST_EXPORTS) \
7700 for flag in $(EXTRA_HOST_FLAGS) ; do \
7701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7702 done; \
7703 echo "Doing install-html in fastjar" ; \
7704 (cd $(HOST_SUBDIR)/fastjar && \
7705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7707 "RANLIB=$${RANLIB}" \
7708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7709 install-html) \
7710 || exit 1
7712 @endif fastjar
7714 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
7715 maybe-installcheck-fastjar:
7716 @if fastjar
7717 maybe-installcheck-fastjar: installcheck-fastjar
7719 installcheck-fastjar: \
7720 configure-fastjar
7721 @: $(MAKE); $(unstage)
7722 @[ -f ./fastjar/Makefile ] || exit 0; \
7723 r=`${PWD_COMMAND}`; export r; \
7724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7725 $(HOST_EXPORTS) \
7726 for flag in $(EXTRA_HOST_FLAGS) ; do \
7727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7728 done; \
7729 echo "Doing installcheck in fastjar" ; \
7730 (cd $(HOST_SUBDIR)/fastjar && \
7731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7733 "RANLIB=$${RANLIB}" \
7734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7735 installcheck) \
7736 || exit 1
7738 @endif fastjar
7740 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
7741 maybe-mostlyclean-fastjar:
7742 @if fastjar
7743 maybe-mostlyclean-fastjar: mostlyclean-fastjar
7745 mostlyclean-fastjar:
7746 @: $(MAKE); $(unstage)
7747 @[ -f ./fastjar/Makefile ] || exit 0; \
7748 r=`${PWD_COMMAND}`; export r; \
7749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7750 $(HOST_EXPORTS) \
7751 for flag in $(EXTRA_HOST_FLAGS) ; do \
7752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7753 done; \
7754 echo "Doing mostlyclean in fastjar" ; \
7755 (cd $(HOST_SUBDIR)/fastjar && \
7756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7758 "RANLIB=$${RANLIB}" \
7759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7760 mostlyclean) \
7761 || exit 1
7763 @endif fastjar
7765 .PHONY: maybe-clean-fastjar clean-fastjar
7766 maybe-clean-fastjar:
7767 @if fastjar
7768 maybe-clean-fastjar: clean-fastjar
7770 clean-fastjar:
7771 @: $(MAKE); $(unstage)
7772 @[ -f ./fastjar/Makefile ] || exit 0; \
7773 r=`${PWD_COMMAND}`; export r; \
7774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7775 $(HOST_EXPORTS) \
7776 for flag in $(EXTRA_HOST_FLAGS) ; do \
7777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7778 done; \
7779 echo "Doing clean in fastjar" ; \
7780 (cd $(HOST_SUBDIR)/fastjar && \
7781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7783 "RANLIB=$${RANLIB}" \
7784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7785 clean) \
7786 || exit 1
7788 @endif fastjar
7790 .PHONY: maybe-distclean-fastjar distclean-fastjar
7791 maybe-distclean-fastjar:
7792 @if fastjar
7793 maybe-distclean-fastjar: distclean-fastjar
7795 distclean-fastjar:
7796 @: $(MAKE); $(unstage)
7797 @[ -f ./fastjar/Makefile ] || exit 0; \
7798 r=`${PWD_COMMAND}`; export r; \
7799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7800 $(HOST_EXPORTS) \
7801 for flag in $(EXTRA_HOST_FLAGS) ; do \
7802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7803 done; \
7804 echo "Doing distclean in fastjar" ; \
7805 (cd $(HOST_SUBDIR)/fastjar && \
7806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7808 "RANLIB=$${RANLIB}" \
7809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7810 distclean) \
7811 || exit 1
7813 @endif fastjar
7815 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7816 maybe-maintainer-clean-fastjar:
7817 @if fastjar
7818 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7820 maintainer-clean-fastjar:
7821 @: $(MAKE); $(unstage)
7822 @[ -f ./fastjar/Makefile ] || exit 0; \
7823 r=`${PWD_COMMAND}`; export r; \
7824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7825 $(HOST_EXPORTS) \
7826 for flag in $(EXTRA_HOST_FLAGS) ; do \
7827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7828 done; \
7829 echo "Doing maintainer-clean in fastjar" ; \
7830 (cd $(HOST_SUBDIR)/fastjar && \
7831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7833 "RANLIB=$${RANLIB}" \
7834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7835 maintainer-clean) \
7836 || exit 1
7838 @endif fastjar
7842 .PHONY: configure-fixincludes maybe-configure-fixincludes
7843 maybe-configure-fixincludes:
7844 @if gcc-bootstrap
7845 configure-fixincludes: stage_current
7846 @endif gcc-bootstrap
7847 @if fixincludes
7848 maybe-configure-fixincludes: configure-fixincludes
7849 configure-fixincludes:
7850 @r=`${PWD_COMMAND}`; export r; \
7851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7852 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
7853 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
7854 $(HOST_EXPORTS) \
7855 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
7856 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
7857 case $(srcdir) in \
7858 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7859 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
7860 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7861 esac; \
7862 module_srcdir=fixincludes; \
7863 $(SHELL) \
7864 $$s/$$module_srcdir/configure \
7865 --srcdir=$${topdir}/$$module_srcdir \
7866 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7867 --target=${target_alias} \
7868 || exit 1
7869 @endif fixincludes
7873 .PHONY: configure-stage1-fixincludes maybe-configure-stage1-fixincludes
7874 maybe-configure-stage1-fixincludes:
7875 @if fixincludes-bootstrap
7876 maybe-configure-stage1-fixincludes: configure-stage1-fixincludes
7877 configure-stage1-fixincludes:
7878 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
7879 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
7880 @r=`${PWD_COMMAND}`; export r; \
7881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7882 TFLAGS="$(STAGE1_TFLAGS)"; \
7883 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
7884 $(HOST_EXPORTS) \
7885 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
7886 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
7887 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
7888 echo Configuring stage 1 in $(HOST_SUBDIR)/fixincludes ; \
7889 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
7890 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
7891 case $(srcdir) in \
7892 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7893 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
7894 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7895 esac; \
7896 module_srcdir=fixincludes; \
7897 $(SHELL) $$s/$$module_srcdir/configure \
7898 --srcdir=$${topdir}/$$module_srcdir \
7899 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7900 --target=${target_alias} \
7902 $(STAGE1_CONFIGURE_FLAGS)
7903 @endif fixincludes-bootstrap
7905 .PHONY: configure-stage2-fixincludes maybe-configure-stage2-fixincludes
7906 maybe-configure-stage2-fixincludes:
7907 @if fixincludes-bootstrap
7908 maybe-configure-stage2-fixincludes: configure-stage2-fixincludes
7909 configure-stage2-fixincludes:
7910 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
7911 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
7912 @r=`${PWD_COMMAND}`; export r; \
7913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7914 TFLAGS="$(STAGE2_TFLAGS)"; \
7915 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
7916 $(HOST_EXPORTS) \
7917 $(POSTSTAGE1_HOST_EXPORTS) \
7918 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
7919 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
7920 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
7921 echo Configuring stage 2 in $(HOST_SUBDIR)/fixincludes ; \
7922 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
7923 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
7924 case $(srcdir) in \
7925 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7926 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
7927 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7928 esac; \
7929 module_srcdir=fixincludes; \
7930 $(SHELL) $$s/$$module_srcdir/configure \
7931 --srcdir=$${topdir}/$$module_srcdir \
7932 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7933 --target=${target_alias} \
7934 --with-build-libsubdir=$(HOST_SUBDIR) \
7935 $(STAGE2_CONFIGURE_FLAGS)
7936 @endif fixincludes-bootstrap
7938 .PHONY: configure-stage3-fixincludes maybe-configure-stage3-fixincludes
7939 maybe-configure-stage3-fixincludes:
7940 @if fixincludes-bootstrap
7941 maybe-configure-stage3-fixincludes: configure-stage3-fixincludes
7942 configure-stage3-fixincludes:
7943 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
7944 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
7945 @r=`${PWD_COMMAND}`; export r; \
7946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7947 TFLAGS="$(STAGE3_TFLAGS)"; \
7948 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
7949 $(HOST_EXPORTS) \
7950 $(POSTSTAGE1_HOST_EXPORTS) \
7951 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
7952 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
7953 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
7954 echo Configuring stage 3 in $(HOST_SUBDIR)/fixincludes ; \
7955 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
7956 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
7957 case $(srcdir) in \
7958 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7959 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
7960 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7961 esac; \
7962 module_srcdir=fixincludes; \
7963 $(SHELL) $$s/$$module_srcdir/configure \
7964 --srcdir=$${topdir}/$$module_srcdir \
7965 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7966 --target=${target_alias} \
7967 --with-build-libsubdir=$(HOST_SUBDIR) \
7968 $(STAGE3_CONFIGURE_FLAGS)
7969 @endif fixincludes-bootstrap
7971 .PHONY: configure-stage4-fixincludes maybe-configure-stage4-fixincludes
7972 maybe-configure-stage4-fixincludes:
7973 @if fixincludes-bootstrap
7974 maybe-configure-stage4-fixincludes: configure-stage4-fixincludes
7975 configure-stage4-fixincludes:
7976 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
7977 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
7978 @r=`${PWD_COMMAND}`; export r; \
7979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7980 TFLAGS="$(STAGE4_TFLAGS)"; \
7981 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
7982 $(HOST_EXPORTS) \
7983 $(POSTSTAGE1_HOST_EXPORTS) \
7984 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
7985 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
7986 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
7987 echo Configuring stage 4 in $(HOST_SUBDIR)/fixincludes ; \
7988 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
7989 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
7990 case $(srcdir) in \
7991 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7992 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
7993 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7994 esac; \
7995 module_srcdir=fixincludes; \
7996 $(SHELL) $$s/$$module_srcdir/configure \
7997 --srcdir=$${topdir}/$$module_srcdir \
7998 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7999 --target=${target_alias} \
8000 --with-build-libsubdir=$(HOST_SUBDIR) \
8001 $(STAGE4_CONFIGURE_FLAGS)
8002 @endif fixincludes-bootstrap
8004 .PHONY: configure-stageprofile-fixincludes maybe-configure-stageprofile-fixincludes
8005 maybe-configure-stageprofile-fixincludes:
8006 @if fixincludes-bootstrap
8007 maybe-configure-stageprofile-fixincludes: configure-stageprofile-fixincludes
8008 configure-stageprofile-fixincludes:
8009 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
8010 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8011 @r=`${PWD_COMMAND}`; export r; \
8012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8013 TFLAGS="$(STAGEprofile_TFLAGS)"; \
8014 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8015 $(HOST_EXPORTS) \
8016 $(POSTSTAGE1_HOST_EXPORTS) \
8017 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
8018 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
8019 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
8020 echo Configuring stage profile in $(HOST_SUBDIR)/fixincludes ; \
8021 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
8022 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8023 case $(srcdir) in \
8024 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8025 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8026 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8027 esac; \
8028 module_srcdir=fixincludes; \
8029 $(SHELL) $$s/$$module_srcdir/configure \
8030 --srcdir=$${topdir}/$$module_srcdir \
8031 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8032 --target=${target_alias} \
8033 --with-build-libsubdir=$(HOST_SUBDIR) \
8034 $(STAGEprofile_CONFIGURE_FLAGS)
8035 @endif fixincludes-bootstrap
8037 .PHONY: configure-stagefeedback-fixincludes maybe-configure-stagefeedback-fixincludes
8038 maybe-configure-stagefeedback-fixincludes:
8039 @if fixincludes-bootstrap
8040 maybe-configure-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
8041 configure-stagefeedback-fixincludes:
8042 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
8043 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8044 @r=`${PWD_COMMAND}`; export r; \
8045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8046 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
8047 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8048 $(HOST_EXPORTS) \
8049 $(POSTSTAGE1_HOST_EXPORTS) \
8050 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
8051 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
8052 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
8053 echo Configuring stage feedback in $(HOST_SUBDIR)/fixincludes ; \
8054 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
8055 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8056 case $(srcdir) in \
8057 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8058 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8059 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8060 esac; \
8061 module_srcdir=fixincludes; \
8062 $(SHELL) $$s/$$module_srcdir/configure \
8063 --srcdir=$${topdir}/$$module_srcdir \
8064 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8065 --target=${target_alias} \
8066 --with-build-libsubdir=$(HOST_SUBDIR) \
8067 $(STAGEfeedback_CONFIGURE_FLAGS)
8068 @endif fixincludes-bootstrap
8074 .PHONY: all-fixincludes maybe-all-fixincludes
8075 maybe-all-fixincludes:
8076 @if gcc-bootstrap
8077 all-fixincludes: stage_current
8078 @endif gcc-bootstrap
8079 @if fixincludes
8080 TARGET-fixincludes=all
8081 maybe-all-fixincludes: all-fixincludes
8082 all-fixincludes: configure-fixincludes
8083 @r=`${PWD_COMMAND}`; export r; \
8084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8085 $(HOST_EXPORTS) \
8086 (cd $(HOST_SUBDIR)/fixincludes && \
8087 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8088 $(TARGET-fixincludes))
8089 @endif fixincludes
8093 .PHONY: all-stage1-fixincludes maybe-all-stage1-fixincludes
8094 .PHONY: clean-stage1-fixincludes maybe-clean-stage1-fixincludes
8095 maybe-all-stage1-fixincludes:
8096 maybe-clean-stage1-fixincludes:
8097 @if fixincludes-bootstrap
8098 maybe-all-stage1-fixincludes: all-stage1-fixincludes
8099 all-stage1: all-stage1-fixincludes
8100 TARGET-stage1-fixincludes = $(TARGET-fixincludes)
8101 all-stage1-fixincludes: configure-stage1-fixincludes
8102 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8103 @r=`${PWD_COMMAND}`; export r; \
8104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8105 TFLAGS="$(STAGE1_TFLAGS)"; \
8106 $(HOST_EXPORTS) \
8107 cd $(HOST_SUBDIR)/fixincludes && \
8108 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8109 CFLAGS="$(STAGE1_CFLAGS)" \
8110 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
8111 LIBCFLAGS="$(LIBCFLAGS)" \
8112 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8113 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8114 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8115 $(EXTRA_HOST_FLAGS) \
8116 $(STAGE1_FLAGS_TO_PASS) \
8117 TFLAGS="$(STAGE1_TFLAGS)" \
8118 $(TARGET-stage1-fixincludes)
8120 maybe-clean-stage1-fixincludes: clean-stage1-fixincludes
8121 clean-stage1: clean-stage1-fixincludes
8122 clean-stage1-fixincludes:
8123 @if [ $(current_stage) = stage1 ]; then \
8124 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8125 else \
8126 [ -f $(HOST_SUBDIR)/stage1-fixincludes/Makefile ] || exit 0; \
8127 $(MAKE) stage1-start; \
8128 fi; \
8129 cd $(HOST_SUBDIR)/fixincludes && \
8130 $(MAKE) $(EXTRA_HOST_FLAGS) \
8131 $(STAGE1_FLAGS_TO_PASS) clean
8132 @endif fixincludes-bootstrap
8135 .PHONY: all-stage2-fixincludes maybe-all-stage2-fixincludes
8136 .PHONY: clean-stage2-fixincludes maybe-clean-stage2-fixincludes
8137 maybe-all-stage2-fixincludes:
8138 maybe-clean-stage2-fixincludes:
8139 @if fixincludes-bootstrap
8140 maybe-all-stage2-fixincludes: all-stage2-fixincludes
8141 all-stage2: all-stage2-fixincludes
8142 TARGET-stage2-fixincludes = $(TARGET-fixincludes)
8143 all-stage2-fixincludes: configure-stage2-fixincludes
8144 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8145 @r=`${PWD_COMMAND}`; export r; \
8146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8147 TFLAGS="$(STAGE2_TFLAGS)"; \
8148 $(HOST_EXPORTS) \
8149 $(POSTSTAGE1_HOST_EXPORTS) \
8150 cd $(HOST_SUBDIR)/fixincludes && \
8151 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8152 CFLAGS="$(STAGE2_CFLAGS)" \
8153 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
8154 LIBCFLAGS="$(STAGE2_CFLAGS)" \
8155 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8156 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8157 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8158 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8159 TFLAGS="$(STAGE2_TFLAGS)" \
8160 $(TARGET-stage2-fixincludes)
8162 maybe-clean-stage2-fixincludes: clean-stage2-fixincludes
8163 clean-stage2: clean-stage2-fixincludes
8164 clean-stage2-fixincludes:
8165 @if [ $(current_stage) = stage2 ]; then \
8166 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8167 else \
8168 [ -f $(HOST_SUBDIR)/stage2-fixincludes/Makefile ] || exit 0; \
8169 $(MAKE) stage2-start; \
8170 fi; \
8171 cd $(HOST_SUBDIR)/fixincludes && \
8172 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8173 @endif fixincludes-bootstrap
8176 .PHONY: all-stage3-fixincludes maybe-all-stage3-fixincludes
8177 .PHONY: clean-stage3-fixincludes maybe-clean-stage3-fixincludes
8178 maybe-all-stage3-fixincludes:
8179 maybe-clean-stage3-fixincludes:
8180 @if fixincludes-bootstrap
8181 maybe-all-stage3-fixincludes: all-stage3-fixincludes
8182 all-stage3: all-stage3-fixincludes
8183 TARGET-stage3-fixincludes = $(TARGET-fixincludes)
8184 all-stage3-fixincludes: configure-stage3-fixincludes
8185 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8186 @r=`${PWD_COMMAND}`; export r; \
8187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8188 TFLAGS="$(STAGE3_TFLAGS)"; \
8189 $(HOST_EXPORTS) \
8190 $(POSTSTAGE1_HOST_EXPORTS) \
8191 cd $(HOST_SUBDIR)/fixincludes && \
8192 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8193 CFLAGS="$(STAGE3_CFLAGS)" \
8194 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
8195 LIBCFLAGS="$(STAGE3_CFLAGS)" \
8196 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8197 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8198 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8199 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8200 TFLAGS="$(STAGE3_TFLAGS)" \
8201 $(TARGET-stage3-fixincludes)
8203 maybe-clean-stage3-fixincludes: clean-stage3-fixincludes
8204 clean-stage3: clean-stage3-fixincludes
8205 clean-stage3-fixincludes:
8206 @if [ $(current_stage) = stage3 ]; then \
8207 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8208 else \
8209 [ -f $(HOST_SUBDIR)/stage3-fixincludes/Makefile ] || exit 0; \
8210 $(MAKE) stage3-start; \
8211 fi; \
8212 cd $(HOST_SUBDIR)/fixincludes && \
8213 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8214 @endif fixincludes-bootstrap
8217 .PHONY: all-stage4-fixincludes maybe-all-stage4-fixincludes
8218 .PHONY: clean-stage4-fixincludes maybe-clean-stage4-fixincludes
8219 maybe-all-stage4-fixincludes:
8220 maybe-clean-stage4-fixincludes:
8221 @if fixincludes-bootstrap
8222 maybe-all-stage4-fixincludes: all-stage4-fixincludes
8223 all-stage4: all-stage4-fixincludes
8224 TARGET-stage4-fixincludes = $(TARGET-fixincludes)
8225 all-stage4-fixincludes: configure-stage4-fixincludes
8226 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8227 @r=`${PWD_COMMAND}`; export r; \
8228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8229 TFLAGS="$(STAGE4_TFLAGS)"; \
8230 $(HOST_EXPORTS) \
8231 $(POSTSTAGE1_HOST_EXPORTS) \
8232 cd $(HOST_SUBDIR)/fixincludes && \
8233 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8234 CFLAGS="$(STAGE4_CFLAGS)" \
8235 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
8236 LIBCFLAGS="$(STAGE4_CFLAGS)" \
8237 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8238 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8239 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8240 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8241 TFLAGS="$(STAGE4_TFLAGS)" \
8242 $(TARGET-stage4-fixincludes)
8244 maybe-clean-stage4-fixincludes: clean-stage4-fixincludes
8245 clean-stage4: clean-stage4-fixincludes
8246 clean-stage4-fixincludes:
8247 @if [ $(current_stage) = stage4 ]; then \
8248 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8249 else \
8250 [ -f $(HOST_SUBDIR)/stage4-fixincludes/Makefile ] || exit 0; \
8251 $(MAKE) stage4-start; \
8252 fi; \
8253 cd $(HOST_SUBDIR)/fixincludes && \
8254 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8255 @endif fixincludes-bootstrap
8258 .PHONY: all-stageprofile-fixincludes maybe-all-stageprofile-fixincludes
8259 .PHONY: clean-stageprofile-fixincludes maybe-clean-stageprofile-fixincludes
8260 maybe-all-stageprofile-fixincludes:
8261 maybe-clean-stageprofile-fixincludes:
8262 @if fixincludes-bootstrap
8263 maybe-all-stageprofile-fixincludes: all-stageprofile-fixincludes
8264 all-stageprofile: all-stageprofile-fixincludes
8265 TARGET-stageprofile-fixincludes = $(TARGET-fixincludes)
8266 all-stageprofile-fixincludes: configure-stageprofile-fixincludes
8267 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
8268 @r=`${PWD_COMMAND}`; export r; \
8269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8270 TFLAGS="$(STAGEprofile_TFLAGS)"; \
8271 $(HOST_EXPORTS) \
8272 $(POSTSTAGE1_HOST_EXPORTS) \
8273 cd $(HOST_SUBDIR)/fixincludes && \
8274 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8275 CFLAGS="$(STAGEprofile_CFLAGS)" \
8276 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
8277 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
8278 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8279 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8280 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8281 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8282 TFLAGS="$(STAGEprofile_TFLAGS)" \
8283 $(TARGET-stageprofile-fixincludes)
8285 maybe-clean-stageprofile-fixincludes: clean-stageprofile-fixincludes
8286 clean-stageprofile: clean-stageprofile-fixincludes
8287 clean-stageprofile-fixincludes:
8288 @if [ $(current_stage) = stageprofile ]; then \
8289 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8290 else \
8291 [ -f $(HOST_SUBDIR)/stageprofile-fixincludes/Makefile ] || exit 0; \
8292 $(MAKE) stageprofile-start; \
8293 fi; \
8294 cd $(HOST_SUBDIR)/fixincludes && \
8295 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8296 @endif fixincludes-bootstrap
8299 .PHONY: all-stagefeedback-fixincludes maybe-all-stagefeedback-fixincludes
8300 .PHONY: clean-stagefeedback-fixincludes maybe-clean-stagefeedback-fixincludes
8301 maybe-all-stagefeedback-fixincludes:
8302 maybe-clean-stagefeedback-fixincludes:
8303 @if fixincludes-bootstrap
8304 maybe-all-stagefeedback-fixincludes: all-stagefeedback-fixincludes
8305 all-stagefeedback: all-stagefeedback-fixincludes
8306 TARGET-stagefeedback-fixincludes = $(TARGET-fixincludes)
8307 all-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
8308 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
8309 @r=`${PWD_COMMAND}`; export r; \
8310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8311 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
8312 $(HOST_EXPORTS) \
8313 $(POSTSTAGE1_HOST_EXPORTS) \
8314 cd $(HOST_SUBDIR)/fixincludes && \
8315 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8316 CFLAGS="$(STAGEfeedback_CFLAGS)" \
8317 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
8318 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
8319 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8320 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8321 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8322 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8323 TFLAGS="$(STAGEfeedback_TFLAGS)" \
8324 $(TARGET-stagefeedback-fixincludes)
8326 maybe-clean-stagefeedback-fixincludes: clean-stagefeedback-fixincludes
8327 clean-stagefeedback: clean-stagefeedback-fixincludes
8328 clean-stagefeedback-fixincludes:
8329 @if [ $(current_stage) = stagefeedback ]; then \
8330 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8331 else \
8332 [ -f $(HOST_SUBDIR)/stagefeedback-fixincludes/Makefile ] || exit 0; \
8333 $(MAKE) stagefeedback-start; \
8334 fi; \
8335 cd $(HOST_SUBDIR)/fixincludes && \
8336 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8337 @endif fixincludes-bootstrap
8343 .PHONY: check-fixincludes maybe-check-fixincludes
8344 maybe-check-fixincludes:
8345 @if fixincludes
8346 maybe-check-fixincludes: check-fixincludes
8348 check-fixincludes:
8349 @: $(MAKE); $(unstage)
8350 @r=`${PWD_COMMAND}`; export r; \
8351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8352 $(HOST_EXPORTS) \
8353 (cd $(HOST_SUBDIR)/fixincludes && \
8354 $(MAKE) $(FLAGS_TO_PASS) check)
8356 @endif fixincludes
8358 .PHONY: install-fixincludes maybe-install-fixincludes
8359 maybe-install-fixincludes:
8360 @if fixincludes
8361 maybe-install-fixincludes: install-fixincludes
8363 install-fixincludes: installdirs
8364 @: $(MAKE); $(unstage)
8365 @r=`${PWD_COMMAND}`; export r; \
8366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8367 $(HOST_EXPORTS) \
8368 (cd $(HOST_SUBDIR)/fixincludes && \
8369 $(MAKE) $(FLAGS_TO_PASS) install)
8371 @endif fixincludes
8373 .PHONY: install-strip-fixincludes maybe-install-strip-fixincludes
8374 maybe-install-strip-fixincludes:
8375 @if fixincludes
8376 maybe-install-strip-fixincludes: install-strip-fixincludes
8378 install-strip-fixincludes: installdirs
8379 @: $(MAKE); $(unstage)
8380 @r=`${PWD_COMMAND}`; export r; \
8381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8382 $(HOST_EXPORTS) \
8383 (cd $(HOST_SUBDIR)/fixincludes && \
8384 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8386 @endif fixincludes
8388 # Other targets (info, dvi, pdf, etc.)
8390 .PHONY: maybe-info-fixincludes info-fixincludes
8391 maybe-info-fixincludes:
8392 @if fixincludes
8393 maybe-info-fixincludes: info-fixincludes
8395 info-fixincludes: \
8396 configure-fixincludes
8397 @[ -f ./fixincludes/Makefile ] || exit 0; \
8398 r=`${PWD_COMMAND}`; export r; \
8399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8400 $(HOST_EXPORTS) \
8401 for flag in $(EXTRA_HOST_FLAGS) ; do \
8402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8403 done; \
8404 echo "Doing info in fixincludes" ; \
8405 (cd $(HOST_SUBDIR)/fixincludes && \
8406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8408 "RANLIB=$${RANLIB}" \
8409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8410 info) \
8411 || exit 1
8413 @endif fixincludes
8415 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
8416 maybe-dvi-fixincludes:
8417 @if fixincludes
8418 maybe-dvi-fixincludes: dvi-fixincludes
8420 dvi-fixincludes: \
8421 configure-fixincludes
8422 @[ -f ./fixincludes/Makefile ] || exit 0; \
8423 r=`${PWD_COMMAND}`; export r; \
8424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8425 $(HOST_EXPORTS) \
8426 for flag in $(EXTRA_HOST_FLAGS) ; do \
8427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8428 done; \
8429 echo "Doing dvi in fixincludes" ; \
8430 (cd $(HOST_SUBDIR)/fixincludes && \
8431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8433 "RANLIB=$${RANLIB}" \
8434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8435 dvi) \
8436 || exit 1
8438 @endif fixincludes
8440 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
8441 maybe-pdf-fixincludes:
8442 @if fixincludes
8443 maybe-pdf-fixincludes: pdf-fixincludes
8445 pdf-fixincludes: \
8446 configure-fixincludes
8447 @[ -f ./fixincludes/Makefile ] || exit 0; \
8448 r=`${PWD_COMMAND}`; export r; \
8449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8450 $(HOST_EXPORTS) \
8451 for flag in $(EXTRA_HOST_FLAGS) ; do \
8452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8453 done; \
8454 echo "Doing pdf in fixincludes" ; \
8455 (cd $(HOST_SUBDIR)/fixincludes && \
8456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8458 "RANLIB=$${RANLIB}" \
8459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8460 pdf) \
8461 || exit 1
8463 @endif fixincludes
8465 .PHONY: maybe-html-fixincludes html-fixincludes
8466 maybe-html-fixincludes:
8467 @if fixincludes
8468 maybe-html-fixincludes: html-fixincludes
8470 html-fixincludes: \
8471 configure-fixincludes
8472 @[ -f ./fixincludes/Makefile ] || exit 0; \
8473 r=`${PWD_COMMAND}`; export r; \
8474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8475 $(HOST_EXPORTS) \
8476 for flag in $(EXTRA_HOST_FLAGS) ; do \
8477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8478 done; \
8479 echo "Doing html in fixincludes" ; \
8480 (cd $(HOST_SUBDIR)/fixincludes && \
8481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8483 "RANLIB=$${RANLIB}" \
8484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8485 html) \
8486 || exit 1
8488 @endif fixincludes
8490 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
8491 maybe-TAGS-fixincludes:
8492 @if fixincludes
8493 maybe-TAGS-fixincludes: TAGS-fixincludes
8495 # fixincludes doesn't support TAGS.
8496 TAGS-fixincludes:
8498 @endif fixincludes
8500 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
8501 maybe-install-info-fixincludes:
8502 @if fixincludes
8503 maybe-install-info-fixincludes: install-info-fixincludes
8505 install-info-fixincludes: \
8506 configure-fixincludes \
8507 info-fixincludes
8508 @[ -f ./fixincludes/Makefile ] || exit 0; \
8509 r=`${PWD_COMMAND}`; export r; \
8510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8511 $(HOST_EXPORTS) \
8512 for flag in $(EXTRA_HOST_FLAGS) ; do \
8513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8514 done; \
8515 echo "Doing install-info in fixincludes" ; \
8516 (cd $(HOST_SUBDIR)/fixincludes && \
8517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8519 "RANLIB=$${RANLIB}" \
8520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8521 install-info) \
8522 || exit 1
8524 @endif fixincludes
8526 .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes
8527 maybe-install-pdf-fixincludes:
8528 @if fixincludes
8529 maybe-install-pdf-fixincludes: install-pdf-fixincludes
8531 install-pdf-fixincludes: \
8532 configure-fixincludes \
8533 pdf-fixincludes
8534 @[ -f ./fixincludes/Makefile ] || exit 0; \
8535 r=`${PWD_COMMAND}`; export r; \
8536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8537 $(HOST_EXPORTS) \
8538 for flag in $(EXTRA_HOST_FLAGS) ; do \
8539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8540 done; \
8541 echo "Doing install-pdf in fixincludes" ; \
8542 (cd $(HOST_SUBDIR)/fixincludes && \
8543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8545 "RANLIB=$${RANLIB}" \
8546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8547 install-pdf) \
8548 || exit 1
8550 @endif fixincludes
8552 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
8553 maybe-install-html-fixincludes:
8554 @if fixincludes
8555 maybe-install-html-fixincludes: install-html-fixincludes
8557 install-html-fixincludes: \
8558 configure-fixincludes \
8559 html-fixincludes
8560 @[ -f ./fixincludes/Makefile ] || exit 0; \
8561 r=`${PWD_COMMAND}`; export r; \
8562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8563 $(HOST_EXPORTS) \
8564 for flag in $(EXTRA_HOST_FLAGS) ; do \
8565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8566 done; \
8567 echo "Doing install-html in fixincludes" ; \
8568 (cd $(HOST_SUBDIR)/fixincludes && \
8569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8571 "RANLIB=$${RANLIB}" \
8572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8573 install-html) \
8574 || exit 1
8576 @endif fixincludes
8578 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
8579 maybe-installcheck-fixincludes:
8580 @if fixincludes
8581 maybe-installcheck-fixincludes: installcheck-fixincludes
8583 installcheck-fixincludes: \
8584 configure-fixincludes
8585 @[ -f ./fixincludes/Makefile ] || exit 0; \
8586 r=`${PWD_COMMAND}`; export r; \
8587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8588 $(HOST_EXPORTS) \
8589 for flag in $(EXTRA_HOST_FLAGS) ; do \
8590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8591 done; \
8592 echo "Doing installcheck in fixincludes" ; \
8593 (cd $(HOST_SUBDIR)/fixincludes && \
8594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8596 "RANLIB=$${RANLIB}" \
8597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8598 installcheck) \
8599 || exit 1
8601 @endif fixincludes
8603 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
8604 maybe-mostlyclean-fixincludes:
8605 @if fixincludes
8606 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
8608 mostlyclean-fixincludes:
8609 @[ -f ./fixincludes/Makefile ] || exit 0; \
8610 r=`${PWD_COMMAND}`; export r; \
8611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8612 $(HOST_EXPORTS) \
8613 for flag in $(EXTRA_HOST_FLAGS) ; do \
8614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8615 done; \
8616 echo "Doing mostlyclean in fixincludes" ; \
8617 (cd $(HOST_SUBDIR)/fixincludes && \
8618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8620 "RANLIB=$${RANLIB}" \
8621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8622 mostlyclean) \
8623 || exit 1
8625 @endif fixincludes
8627 .PHONY: maybe-clean-fixincludes clean-fixincludes
8628 maybe-clean-fixincludes:
8629 @if fixincludes
8630 maybe-clean-fixincludes: clean-fixincludes
8632 clean-fixincludes:
8633 @[ -f ./fixincludes/Makefile ] || exit 0; \
8634 r=`${PWD_COMMAND}`; export r; \
8635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8636 $(HOST_EXPORTS) \
8637 for flag in $(EXTRA_HOST_FLAGS) ; do \
8638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8639 done; \
8640 echo "Doing clean in fixincludes" ; \
8641 (cd $(HOST_SUBDIR)/fixincludes && \
8642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8644 "RANLIB=$${RANLIB}" \
8645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8646 clean) \
8647 || exit 1
8649 @endif fixincludes
8651 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
8652 maybe-distclean-fixincludes:
8653 @if fixincludes
8654 maybe-distclean-fixincludes: distclean-fixincludes
8656 distclean-fixincludes:
8657 @[ -f ./fixincludes/Makefile ] || exit 0; \
8658 r=`${PWD_COMMAND}`; export r; \
8659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8660 $(HOST_EXPORTS) \
8661 for flag in $(EXTRA_HOST_FLAGS) ; do \
8662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8663 done; \
8664 echo "Doing distclean in fixincludes" ; \
8665 (cd $(HOST_SUBDIR)/fixincludes && \
8666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8668 "RANLIB=$${RANLIB}" \
8669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8670 distclean) \
8671 || exit 1
8673 @endif fixincludes
8675 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
8676 maybe-maintainer-clean-fixincludes:
8677 @if fixincludes
8678 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
8680 maintainer-clean-fixincludes:
8681 @[ -f ./fixincludes/Makefile ] || exit 0; \
8682 r=`${PWD_COMMAND}`; export r; \
8683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8684 $(HOST_EXPORTS) \
8685 for flag in $(EXTRA_HOST_FLAGS) ; do \
8686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8687 done; \
8688 echo "Doing maintainer-clean in fixincludes" ; \
8689 (cd $(HOST_SUBDIR)/fixincludes && \
8690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8692 "RANLIB=$${RANLIB}" \
8693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8694 maintainer-clean) \
8695 || exit 1
8697 @endif fixincludes
8701 .PHONY: configure-flex maybe-configure-flex
8702 maybe-configure-flex:
8703 @if gcc-bootstrap
8704 configure-flex: stage_current
8705 @endif gcc-bootstrap
8706 @if flex
8707 maybe-configure-flex: configure-flex
8708 configure-flex:
8709 @: $(MAKE); $(unstage)
8710 @r=`${PWD_COMMAND}`; export r; \
8711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8712 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
8713 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
8714 $(HOST_EXPORTS) \
8715 echo Configuring in $(HOST_SUBDIR)/flex; \
8716 cd "$(HOST_SUBDIR)/flex" || exit 1; \
8717 case $(srcdir) in \
8718 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8719 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
8720 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8721 esac; \
8722 module_srcdir=flex; \
8723 $(SHELL) \
8724 $$s/$$module_srcdir/configure \
8725 --srcdir=$${topdir}/$$module_srcdir \
8726 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8727 --target=${target_alias} \
8728 || exit 1
8729 @endif flex
8735 .PHONY: all-flex maybe-all-flex
8736 maybe-all-flex:
8737 @if gcc-bootstrap
8738 all-flex: stage_current
8739 @endif gcc-bootstrap
8740 @if flex
8741 TARGET-flex=all
8742 maybe-all-flex: all-flex
8743 all-flex: configure-flex
8744 @: $(MAKE); $(unstage)
8745 @r=`${PWD_COMMAND}`; export r; \
8746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8747 $(HOST_EXPORTS) \
8748 (cd $(HOST_SUBDIR)/flex && \
8749 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8750 $(TARGET-flex))
8751 @endif flex
8756 .PHONY: check-flex maybe-check-flex
8757 maybe-check-flex:
8758 @if flex
8759 maybe-check-flex: check-flex
8761 # This module is only tested in a native toolchain.
8762 check-flex:
8763 @: $(MAKE); $(unstage)
8764 @if [ '$(host)' = '$(target)' ] ; then \
8765 r=`${PWD_COMMAND}`; export r; \
8766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8767 $(HOST_EXPORTS) \
8768 (cd $(HOST_SUBDIR)/flex && \
8769 $(MAKE) $(FLAGS_TO_PASS) check); \
8772 @endif flex
8774 .PHONY: install-flex maybe-install-flex
8775 maybe-install-flex:
8776 @if flex
8777 maybe-install-flex: install-flex
8779 install-flex: installdirs
8780 @: $(MAKE); $(unstage)
8781 @r=`${PWD_COMMAND}`; export r; \
8782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8783 $(HOST_EXPORTS) \
8784 (cd $(HOST_SUBDIR)/flex && \
8785 $(MAKE) $(FLAGS_TO_PASS) install)
8787 @endif flex
8789 .PHONY: install-strip-flex maybe-install-strip-flex
8790 maybe-install-strip-flex:
8791 @if flex
8792 maybe-install-strip-flex: install-strip-flex
8794 install-strip-flex: installdirs
8795 @: $(MAKE); $(unstage)
8796 @r=`${PWD_COMMAND}`; export r; \
8797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8798 $(HOST_EXPORTS) \
8799 (cd $(HOST_SUBDIR)/flex && \
8800 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8802 @endif flex
8804 # Other targets (info, dvi, pdf, etc.)
8806 .PHONY: maybe-info-flex info-flex
8807 maybe-info-flex:
8808 @if flex
8809 maybe-info-flex: info-flex
8811 info-flex: \
8812 configure-flex
8813 @: $(MAKE); $(unstage)
8814 @[ -f ./flex/Makefile ] || exit 0; \
8815 r=`${PWD_COMMAND}`; export r; \
8816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8817 $(HOST_EXPORTS) \
8818 for flag in $(EXTRA_HOST_FLAGS) ; do \
8819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8820 done; \
8821 echo "Doing info in flex" ; \
8822 (cd $(HOST_SUBDIR)/flex && \
8823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8825 "RANLIB=$${RANLIB}" \
8826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8827 info) \
8828 || exit 1
8830 @endif flex
8832 .PHONY: maybe-dvi-flex dvi-flex
8833 maybe-dvi-flex:
8834 @if flex
8835 maybe-dvi-flex: dvi-flex
8837 dvi-flex: \
8838 configure-flex
8839 @: $(MAKE); $(unstage)
8840 @[ -f ./flex/Makefile ] || exit 0; \
8841 r=`${PWD_COMMAND}`; export r; \
8842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8843 $(HOST_EXPORTS) \
8844 for flag in $(EXTRA_HOST_FLAGS) ; do \
8845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8846 done; \
8847 echo "Doing dvi in flex" ; \
8848 (cd $(HOST_SUBDIR)/flex && \
8849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8851 "RANLIB=$${RANLIB}" \
8852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8853 dvi) \
8854 || exit 1
8856 @endif flex
8858 .PHONY: maybe-pdf-flex pdf-flex
8859 maybe-pdf-flex:
8860 @if flex
8861 maybe-pdf-flex: pdf-flex
8863 pdf-flex: \
8864 configure-flex
8865 @: $(MAKE); $(unstage)
8866 @[ -f ./flex/Makefile ] || exit 0; \
8867 r=`${PWD_COMMAND}`; export r; \
8868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8869 $(HOST_EXPORTS) \
8870 for flag in $(EXTRA_HOST_FLAGS) ; do \
8871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8872 done; \
8873 echo "Doing pdf in flex" ; \
8874 (cd $(HOST_SUBDIR)/flex && \
8875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8877 "RANLIB=$${RANLIB}" \
8878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8879 pdf) \
8880 || exit 1
8882 @endif flex
8884 .PHONY: maybe-html-flex html-flex
8885 maybe-html-flex:
8886 @if flex
8887 maybe-html-flex: html-flex
8889 html-flex: \
8890 configure-flex
8891 @: $(MAKE); $(unstage)
8892 @[ -f ./flex/Makefile ] || exit 0; \
8893 r=`${PWD_COMMAND}`; export r; \
8894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8895 $(HOST_EXPORTS) \
8896 for flag in $(EXTRA_HOST_FLAGS) ; do \
8897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8898 done; \
8899 echo "Doing html in flex" ; \
8900 (cd $(HOST_SUBDIR)/flex && \
8901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8903 "RANLIB=$${RANLIB}" \
8904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8905 html) \
8906 || exit 1
8908 @endif flex
8910 .PHONY: maybe-TAGS-flex TAGS-flex
8911 maybe-TAGS-flex:
8912 @if flex
8913 maybe-TAGS-flex: TAGS-flex
8915 TAGS-flex: \
8916 configure-flex
8917 @: $(MAKE); $(unstage)
8918 @[ -f ./flex/Makefile ] || exit 0; \
8919 r=`${PWD_COMMAND}`; export r; \
8920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8921 $(HOST_EXPORTS) \
8922 for flag in $(EXTRA_HOST_FLAGS) ; do \
8923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8924 done; \
8925 echo "Doing TAGS in flex" ; \
8926 (cd $(HOST_SUBDIR)/flex && \
8927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8929 "RANLIB=$${RANLIB}" \
8930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8931 TAGS) \
8932 || exit 1
8934 @endif flex
8936 .PHONY: maybe-install-info-flex install-info-flex
8937 maybe-install-info-flex:
8938 @if flex
8939 maybe-install-info-flex: install-info-flex
8941 install-info-flex: \
8942 configure-flex \
8943 info-flex
8944 @: $(MAKE); $(unstage)
8945 @[ -f ./flex/Makefile ] || exit 0; \
8946 r=`${PWD_COMMAND}`; export r; \
8947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8948 $(HOST_EXPORTS) \
8949 for flag in $(EXTRA_HOST_FLAGS) ; do \
8950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8951 done; \
8952 echo "Doing install-info in flex" ; \
8953 (cd $(HOST_SUBDIR)/flex && \
8954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8956 "RANLIB=$${RANLIB}" \
8957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8958 install-info) \
8959 || exit 1
8961 @endif flex
8963 .PHONY: maybe-install-pdf-flex install-pdf-flex
8964 maybe-install-pdf-flex:
8965 @if flex
8966 maybe-install-pdf-flex: install-pdf-flex
8968 install-pdf-flex: \
8969 configure-flex \
8970 pdf-flex
8971 @: $(MAKE); $(unstage)
8972 @[ -f ./flex/Makefile ] || exit 0; \
8973 r=`${PWD_COMMAND}`; export r; \
8974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8975 $(HOST_EXPORTS) \
8976 for flag in $(EXTRA_HOST_FLAGS) ; do \
8977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8978 done; \
8979 echo "Doing install-pdf in flex" ; \
8980 (cd $(HOST_SUBDIR)/flex && \
8981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8983 "RANLIB=$${RANLIB}" \
8984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8985 install-pdf) \
8986 || exit 1
8988 @endif flex
8990 .PHONY: maybe-install-html-flex install-html-flex
8991 maybe-install-html-flex:
8992 @if flex
8993 maybe-install-html-flex: install-html-flex
8995 install-html-flex: \
8996 configure-flex \
8997 html-flex
8998 @: $(MAKE); $(unstage)
8999 @[ -f ./flex/Makefile ] || exit 0; \
9000 r=`${PWD_COMMAND}`; export r; \
9001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9002 $(HOST_EXPORTS) \
9003 for flag in $(EXTRA_HOST_FLAGS) ; do \
9004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9005 done; \
9006 echo "Doing install-html in flex" ; \
9007 (cd $(HOST_SUBDIR)/flex && \
9008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9010 "RANLIB=$${RANLIB}" \
9011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9012 install-html) \
9013 || exit 1
9015 @endif flex
9017 .PHONY: maybe-installcheck-flex installcheck-flex
9018 maybe-installcheck-flex:
9019 @if flex
9020 maybe-installcheck-flex: installcheck-flex
9022 installcheck-flex: \
9023 configure-flex
9024 @: $(MAKE); $(unstage)
9025 @[ -f ./flex/Makefile ] || exit 0; \
9026 r=`${PWD_COMMAND}`; export r; \
9027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9028 $(HOST_EXPORTS) \
9029 for flag in $(EXTRA_HOST_FLAGS) ; do \
9030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9031 done; \
9032 echo "Doing installcheck in flex" ; \
9033 (cd $(HOST_SUBDIR)/flex && \
9034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9036 "RANLIB=$${RANLIB}" \
9037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9038 installcheck) \
9039 || exit 1
9041 @endif flex
9043 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
9044 maybe-mostlyclean-flex:
9045 @if flex
9046 maybe-mostlyclean-flex: mostlyclean-flex
9048 mostlyclean-flex:
9049 @: $(MAKE); $(unstage)
9050 @[ -f ./flex/Makefile ] || exit 0; \
9051 r=`${PWD_COMMAND}`; export r; \
9052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9053 $(HOST_EXPORTS) \
9054 for flag in $(EXTRA_HOST_FLAGS) ; do \
9055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9056 done; \
9057 echo "Doing mostlyclean in flex" ; \
9058 (cd $(HOST_SUBDIR)/flex && \
9059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9061 "RANLIB=$${RANLIB}" \
9062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9063 mostlyclean) \
9064 || exit 1
9066 @endif flex
9068 .PHONY: maybe-clean-flex clean-flex
9069 maybe-clean-flex:
9070 @if flex
9071 maybe-clean-flex: clean-flex
9073 clean-flex:
9074 @: $(MAKE); $(unstage)
9075 @[ -f ./flex/Makefile ] || exit 0; \
9076 r=`${PWD_COMMAND}`; export r; \
9077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9078 $(HOST_EXPORTS) \
9079 for flag in $(EXTRA_HOST_FLAGS) ; do \
9080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9081 done; \
9082 echo "Doing clean in flex" ; \
9083 (cd $(HOST_SUBDIR)/flex && \
9084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9086 "RANLIB=$${RANLIB}" \
9087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9088 clean) \
9089 || exit 1
9091 @endif flex
9093 .PHONY: maybe-distclean-flex distclean-flex
9094 maybe-distclean-flex:
9095 @if flex
9096 maybe-distclean-flex: distclean-flex
9098 distclean-flex:
9099 @: $(MAKE); $(unstage)
9100 @[ -f ./flex/Makefile ] || exit 0; \
9101 r=`${PWD_COMMAND}`; export r; \
9102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9103 $(HOST_EXPORTS) \
9104 for flag in $(EXTRA_HOST_FLAGS) ; do \
9105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9106 done; \
9107 echo "Doing distclean in flex" ; \
9108 (cd $(HOST_SUBDIR)/flex && \
9109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9111 "RANLIB=$${RANLIB}" \
9112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9113 distclean) \
9114 || exit 1
9116 @endif flex
9118 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
9119 maybe-maintainer-clean-flex:
9120 @if flex
9121 maybe-maintainer-clean-flex: maintainer-clean-flex
9123 maintainer-clean-flex:
9124 @: $(MAKE); $(unstage)
9125 @[ -f ./flex/Makefile ] || exit 0; \
9126 r=`${PWD_COMMAND}`; export r; \
9127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9128 $(HOST_EXPORTS) \
9129 for flag in $(EXTRA_HOST_FLAGS) ; do \
9130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9131 done; \
9132 echo "Doing maintainer-clean in flex" ; \
9133 (cd $(HOST_SUBDIR)/flex && \
9134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9136 "RANLIB=$${RANLIB}" \
9137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9138 maintainer-clean) \
9139 || exit 1
9141 @endif flex
9145 .PHONY: configure-gas maybe-configure-gas
9146 maybe-configure-gas:
9147 @if gcc-bootstrap
9148 configure-gas: stage_current
9149 @endif gcc-bootstrap
9150 @if gas
9151 maybe-configure-gas: configure-gas
9152 configure-gas:
9153 @r=`${PWD_COMMAND}`; export r; \
9154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9155 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9156 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9157 $(HOST_EXPORTS) \
9158 echo Configuring in $(HOST_SUBDIR)/gas; \
9159 cd "$(HOST_SUBDIR)/gas" || exit 1; \
9160 case $(srcdir) in \
9161 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9162 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9163 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9164 esac; \
9165 module_srcdir=gas; \
9166 $(SHELL) \
9167 $$s/$$module_srcdir/configure \
9168 --srcdir=$${topdir}/$$module_srcdir \
9169 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9170 --target=${target_alias} \
9171 || exit 1
9172 @endif gas
9176 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
9177 maybe-configure-stage1-gas:
9178 @if gas-bootstrap
9179 maybe-configure-stage1-gas: configure-stage1-gas
9180 configure-stage1-gas:
9181 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9182 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9183 @r=`${PWD_COMMAND}`; export r; \
9184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9185 TFLAGS="$(STAGE1_TFLAGS)"; \
9186 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9187 $(HOST_EXPORTS) \
9188 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
9189 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
9190 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
9191 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
9192 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9193 cd $(HOST_SUBDIR)/gas || exit 1; \
9194 case $(srcdir) in \
9195 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9196 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9197 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9198 esac; \
9199 module_srcdir=gas; \
9200 $(SHELL) $$s/$$module_srcdir/configure \
9201 --srcdir=$${topdir}/$$module_srcdir \
9202 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9203 --target=${target_alias} \
9205 $(STAGE1_CONFIGURE_FLAGS)
9206 @endif gas-bootstrap
9208 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
9209 maybe-configure-stage2-gas:
9210 @if gas-bootstrap
9211 maybe-configure-stage2-gas: configure-stage2-gas
9212 configure-stage2-gas:
9213 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9214 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9215 @r=`${PWD_COMMAND}`; export r; \
9216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9217 TFLAGS="$(STAGE2_TFLAGS)"; \
9218 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9219 $(HOST_EXPORTS) \
9220 $(POSTSTAGE1_HOST_EXPORTS) \
9221 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
9222 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
9223 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
9224 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
9225 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9226 cd $(HOST_SUBDIR)/gas || exit 1; \
9227 case $(srcdir) in \
9228 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9229 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9230 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9231 esac; \
9232 module_srcdir=gas; \
9233 $(SHELL) $$s/$$module_srcdir/configure \
9234 --srcdir=$${topdir}/$$module_srcdir \
9235 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9236 --target=${target_alias} \
9237 --with-build-libsubdir=$(HOST_SUBDIR) \
9238 $(STAGE2_CONFIGURE_FLAGS)
9239 @endif gas-bootstrap
9241 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
9242 maybe-configure-stage3-gas:
9243 @if gas-bootstrap
9244 maybe-configure-stage3-gas: configure-stage3-gas
9245 configure-stage3-gas:
9246 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9247 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9248 @r=`${PWD_COMMAND}`; export r; \
9249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9250 TFLAGS="$(STAGE3_TFLAGS)"; \
9251 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9252 $(HOST_EXPORTS) \
9253 $(POSTSTAGE1_HOST_EXPORTS) \
9254 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
9255 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
9256 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
9257 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
9258 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9259 cd $(HOST_SUBDIR)/gas || exit 1; \
9260 case $(srcdir) in \
9261 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9262 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9263 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9264 esac; \
9265 module_srcdir=gas; \
9266 $(SHELL) $$s/$$module_srcdir/configure \
9267 --srcdir=$${topdir}/$$module_srcdir \
9268 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9269 --target=${target_alias} \
9270 --with-build-libsubdir=$(HOST_SUBDIR) \
9271 $(STAGE3_CONFIGURE_FLAGS)
9272 @endif gas-bootstrap
9274 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
9275 maybe-configure-stage4-gas:
9276 @if gas-bootstrap
9277 maybe-configure-stage4-gas: configure-stage4-gas
9278 configure-stage4-gas:
9279 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9280 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9281 @r=`${PWD_COMMAND}`; export r; \
9282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9283 TFLAGS="$(STAGE4_TFLAGS)"; \
9284 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9285 $(HOST_EXPORTS) \
9286 $(POSTSTAGE1_HOST_EXPORTS) \
9287 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
9288 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
9289 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
9290 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
9291 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9292 cd $(HOST_SUBDIR)/gas || exit 1; \
9293 case $(srcdir) in \
9294 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9295 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9296 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9297 esac; \
9298 module_srcdir=gas; \
9299 $(SHELL) $$s/$$module_srcdir/configure \
9300 --srcdir=$${topdir}/$$module_srcdir \
9301 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9302 --target=${target_alias} \
9303 --with-build-libsubdir=$(HOST_SUBDIR) \
9304 $(STAGE4_CONFIGURE_FLAGS)
9305 @endif gas-bootstrap
9307 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
9308 maybe-configure-stageprofile-gas:
9309 @if gas-bootstrap
9310 maybe-configure-stageprofile-gas: configure-stageprofile-gas
9311 configure-stageprofile-gas:
9312 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9313 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9314 @r=`${PWD_COMMAND}`; export r; \
9315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9316 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9317 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9318 $(HOST_EXPORTS) \
9319 $(POSTSTAGE1_HOST_EXPORTS) \
9320 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
9321 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
9322 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
9323 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
9324 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9325 cd $(HOST_SUBDIR)/gas || exit 1; \
9326 case $(srcdir) in \
9327 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9328 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9329 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9330 esac; \
9331 module_srcdir=gas; \
9332 $(SHELL) $$s/$$module_srcdir/configure \
9333 --srcdir=$${topdir}/$$module_srcdir \
9334 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9335 --target=${target_alias} \
9336 --with-build-libsubdir=$(HOST_SUBDIR) \
9337 $(STAGEprofile_CONFIGURE_FLAGS)
9338 @endif gas-bootstrap
9340 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
9341 maybe-configure-stagefeedback-gas:
9342 @if gas-bootstrap
9343 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
9344 configure-stagefeedback-gas:
9345 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9346 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9347 @r=`${PWD_COMMAND}`; export r; \
9348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9349 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9350 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9351 $(HOST_EXPORTS) \
9352 $(POSTSTAGE1_HOST_EXPORTS) \
9353 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
9354 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
9355 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
9356 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
9357 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9358 cd $(HOST_SUBDIR)/gas || exit 1; \
9359 case $(srcdir) in \
9360 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9361 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9362 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9363 esac; \
9364 module_srcdir=gas; \
9365 $(SHELL) $$s/$$module_srcdir/configure \
9366 --srcdir=$${topdir}/$$module_srcdir \
9367 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9368 --target=${target_alias} \
9369 --with-build-libsubdir=$(HOST_SUBDIR) \
9370 $(STAGEfeedback_CONFIGURE_FLAGS)
9371 @endif gas-bootstrap
9377 .PHONY: all-gas maybe-all-gas
9378 maybe-all-gas:
9379 @if gcc-bootstrap
9380 all-gas: stage_current
9381 @endif gcc-bootstrap
9382 @if gas
9383 TARGET-gas=all
9384 maybe-all-gas: all-gas
9385 all-gas: configure-gas
9386 @r=`${PWD_COMMAND}`; export r; \
9387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9388 $(HOST_EXPORTS) \
9389 (cd $(HOST_SUBDIR)/gas && \
9390 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
9391 $(TARGET-gas))
9392 @endif gas
9396 .PHONY: all-stage1-gas maybe-all-stage1-gas
9397 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
9398 maybe-all-stage1-gas:
9399 maybe-clean-stage1-gas:
9400 @if gas-bootstrap
9401 maybe-all-stage1-gas: all-stage1-gas
9402 all-stage1: all-stage1-gas
9403 TARGET-stage1-gas = $(TARGET-gas)
9404 all-stage1-gas: configure-stage1-gas
9405 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9406 @r=`${PWD_COMMAND}`; export r; \
9407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9408 TFLAGS="$(STAGE1_TFLAGS)"; \
9409 $(HOST_EXPORTS) \
9410 cd $(HOST_SUBDIR)/gas && \
9411 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9412 CFLAGS="$(STAGE1_CFLAGS)" \
9413 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
9414 LIBCFLAGS="$(LIBCFLAGS)" \
9415 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9416 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9417 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9418 $(EXTRA_HOST_FLAGS) \
9419 $(STAGE1_FLAGS_TO_PASS) \
9420 TFLAGS="$(STAGE1_TFLAGS)" \
9421 $(TARGET-stage1-gas)
9423 maybe-clean-stage1-gas: clean-stage1-gas
9424 clean-stage1: clean-stage1-gas
9425 clean-stage1-gas:
9426 @if [ $(current_stage) = stage1 ]; then \
9427 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9428 else \
9429 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
9430 $(MAKE) stage1-start; \
9431 fi; \
9432 cd $(HOST_SUBDIR)/gas && \
9433 $(MAKE) $(EXTRA_HOST_FLAGS) \
9434 $(STAGE1_FLAGS_TO_PASS) clean
9435 @endif gas-bootstrap
9438 .PHONY: all-stage2-gas maybe-all-stage2-gas
9439 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
9440 maybe-all-stage2-gas:
9441 maybe-clean-stage2-gas:
9442 @if gas-bootstrap
9443 maybe-all-stage2-gas: all-stage2-gas
9444 all-stage2: all-stage2-gas
9445 TARGET-stage2-gas = $(TARGET-gas)
9446 all-stage2-gas: configure-stage2-gas
9447 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9448 @r=`${PWD_COMMAND}`; export r; \
9449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9450 TFLAGS="$(STAGE2_TFLAGS)"; \
9451 $(HOST_EXPORTS) \
9452 $(POSTSTAGE1_HOST_EXPORTS) \
9453 cd $(HOST_SUBDIR)/gas && \
9454 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9455 CFLAGS="$(STAGE2_CFLAGS)" \
9456 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
9457 LIBCFLAGS="$(STAGE2_CFLAGS)" \
9458 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9459 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9460 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9461 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9462 TFLAGS="$(STAGE2_TFLAGS)" \
9463 $(TARGET-stage2-gas)
9465 maybe-clean-stage2-gas: clean-stage2-gas
9466 clean-stage2: clean-stage2-gas
9467 clean-stage2-gas:
9468 @if [ $(current_stage) = stage2 ]; then \
9469 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9470 else \
9471 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
9472 $(MAKE) stage2-start; \
9473 fi; \
9474 cd $(HOST_SUBDIR)/gas && \
9475 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9476 @endif gas-bootstrap
9479 .PHONY: all-stage3-gas maybe-all-stage3-gas
9480 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
9481 maybe-all-stage3-gas:
9482 maybe-clean-stage3-gas:
9483 @if gas-bootstrap
9484 maybe-all-stage3-gas: all-stage3-gas
9485 all-stage3: all-stage3-gas
9486 TARGET-stage3-gas = $(TARGET-gas)
9487 all-stage3-gas: configure-stage3-gas
9488 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9489 @r=`${PWD_COMMAND}`; export r; \
9490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9491 TFLAGS="$(STAGE3_TFLAGS)"; \
9492 $(HOST_EXPORTS) \
9493 $(POSTSTAGE1_HOST_EXPORTS) \
9494 cd $(HOST_SUBDIR)/gas && \
9495 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9496 CFLAGS="$(STAGE3_CFLAGS)" \
9497 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
9498 LIBCFLAGS="$(STAGE3_CFLAGS)" \
9499 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9500 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9501 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9502 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9503 TFLAGS="$(STAGE3_TFLAGS)" \
9504 $(TARGET-stage3-gas)
9506 maybe-clean-stage3-gas: clean-stage3-gas
9507 clean-stage3: clean-stage3-gas
9508 clean-stage3-gas:
9509 @if [ $(current_stage) = stage3 ]; then \
9510 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9511 else \
9512 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
9513 $(MAKE) stage3-start; \
9514 fi; \
9515 cd $(HOST_SUBDIR)/gas && \
9516 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9517 @endif gas-bootstrap
9520 .PHONY: all-stage4-gas maybe-all-stage4-gas
9521 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
9522 maybe-all-stage4-gas:
9523 maybe-clean-stage4-gas:
9524 @if gas-bootstrap
9525 maybe-all-stage4-gas: all-stage4-gas
9526 all-stage4: all-stage4-gas
9527 TARGET-stage4-gas = $(TARGET-gas)
9528 all-stage4-gas: configure-stage4-gas
9529 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9530 @r=`${PWD_COMMAND}`; export r; \
9531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9532 TFLAGS="$(STAGE4_TFLAGS)"; \
9533 $(HOST_EXPORTS) \
9534 $(POSTSTAGE1_HOST_EXPORTS) \
9535 cd $(HOST_SUBDIR)/gas && \
9536 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9537 CFLAGS="$(STAGE4_CFLAGS)" \
9538 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9539 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9540 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9541 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9542 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9543 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9544 TFLAGS="$(STAGE4_TFLAGS)" \
9545 $(TARGET-stage4-gas)
9547 maybe-clean-stage4-gas: clean-stage4-gas
9548 clean-stage4: clean-stage4-gas
9549 clean-stage4-gas:
9550 @if [ $(current_stage) = stage4 ]; then \
9551 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9552 else \
9553 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
9554 $(MAKE) stage4-start; \
9555 fi; \
9556 cd $(HOST_SUBDIR)/gas && \
9557 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9558 @endif gas-bootstrap
9561 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
9562 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
9563 maybe-all-stageprofile-gas:
9564 maybe-clean-stageprofile-gas:
9565 @if gas-bootstrap
9566 maybe-all-stageprofile-gas: all-stageprofile-gas
9567 all-stageprofile: all-stageprofile-gas
9568 TARGET-stageprofile-gas = $(TARGET-gas)
9569 all-stageprofile-gas: configure-stageprofile-gas
9570 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9571 @r=`${PWD_COMMAND}`; export r; \
9572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9573 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9574 $(HOST_EXPORTS) \
9575 $(POSTSTAGE1_HOST_EXPORTS) \
9576 cd $(HOST_SUBDIR)/gas && \
9577 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9578 CFLAGS="$(STAGEprofile_CFLAGS)" \
9579 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9580 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9581 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9582 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9583 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9584 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9585 TFLAGS="$(STAGEprofile_TFLAGS)" \
9586 $(TARGET-stageprofile-gas)
9588 maybe-clean-stageprofile-gas: clean-stageprofile-gas
9589 clean-stageprofile: clean-stageprofile-gas
9590 clean-stageprofile-gas:
9591 @if [ $(current_stage) = stageprofile ]; then \
9592 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9593 else \
9594 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
9595 $(MAKE) stageprofile-start; \
9596 fi; \
9597 cd $(HOST_SUBDIR)/gas && \
9598 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9599 @endif gas-bootstrap
9602 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
9603 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
9604 maybe-all-stagefeedback-gas:
9605 maybe-clean-stagefeedback-gas:
9606 @if gas-bootstrap
9607 maybe-all-stagefeedback-gas: all-stagefeedback-gas
9608 all-stagefeedback: all-stagefeedback-gas
9609 TARGET-stagefeedback-gas = $(TARGET-gas)
9610 all-stagefeedback-gas: configure-stagefeedback-gas
9611 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9612 @r=`${PWD_COMMAND}`; export r; \
9613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9614 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9615 $(HOST_EXPORTS) \
9616 $(POSTSTAGE1_HOST_EXPORTS) \
9617 cd $(HOST_SUBDIR)/gas && \
9618 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9619 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9620 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9621 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9622 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9623 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9624 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9625 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9626 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9627 $(TARGET-stagefeedback-gas)
9629 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
9630 clean-stagefeedback: clean-stagefeedback-gas
9631 clean-stagefeedback-gas:
9632 @if [ $(current_stage) = stagefeedback ]; then \
9633 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9634 else \
9635 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
9636 $(MAKE) stagefeedback-start; \
9637 fi; \
9638 cd $(HOST_SUBDIR)/gas && \
9639 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9640 @endif gas-bootstrap
9646 .PHONY: check-gas maybe-check-gas
9647 maybe-check-gas:
9648 @if gas
9649 maybe-check-gas: check-gas
9651 check-gas:
9652 @: $(MAKE); $(unstage)
9653 @r=`${PWD_COMMAND}`; export r; \
9654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9655 $(HOST_EXPORTS) \
9656 (cd $(HOST_SUBDIR)/gas && \
9657 $(MAKE) $(FLAGS_TO_PASS) check)
9659 @endif gas
9661 .PHONY: install-gas maybe-install-gas
9662 maybe-install-gas:
9663 @if gas
9664 maybe-install-gas: install-gas
9666 install-gas: installdirs
9667 @: $(MAKE); $(unstage)
9668 @r=`${PWD_COMMAND}`; export r; \
9669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9670 $(HOST_EXPORTS) \
9671 (cd $(HOST_SUBDIR)/gas && \
9672 $(MAKE) $(FLAGS_TO_PASS) install)
9674 @endif gas
9676 .PHONY: install-strip-gas maybe-install-strip-gas
9677 maybe-install-strip-gas:
9678 @if gas
9679 maybe-install-strip-gas: install-strip-gas
9681 install-strip-gas: installdirs
9682 @: $(MAKE); $(unstage)
9683 @r=`${PWD_COMMAND}`; export r; \
9684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9685 $(HOST_EXPORTS) \
9686 (cd $(HOST_SUBDIR)/gas && \
9687 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9689 @endif gas
9691 # Other targets (info, dvi, pdf, etc.)
9693 .PHONY: maybe-info-gas info-gas
9694 maybe-info-gas:
9695 @if gas
9696 maybe-info-gas: info-gas
9698 info-gas: \
9699 configure-gas
9700 @[ -f ./gas/Makefile ] || exit 0; \
9701 r=`${PWD_COMMAND}`; export r; \
9702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9703 $(HOST_EXPORTS) \
9704 for flag in $(EXTRA_HOST_FLAGS) ; do \
9705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9706 done; \
9707 echo "Doing info in gas" ; \
9708 (cd $(HOST_SUBDIR)/gas && \
9709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9711 "RANLIB=$${RANLIB}" \
9712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9713 info) \
9714 || exit 1
9716 @endif gas
9718 .PHONY: maybe-dvi-gas dvi-gas
9719 maybe-dvi-gas:
9720 @if gas
9721 maybe-dvi-gas: dvi-gas
9723 dvi-gas: \
9724 configure-gas
9725 @[ -f ./gas/Makefile ] || exit 0; \
9726 r=`${PWD_COMMAND}`; export r; \
9727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9728 $(HOST_EXPORTS) \
9729 for flag in $(EXTRA_HOST_FLAGS) ; do \
9730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9731 done; \
9732 echo "Doing dvi in gas" ; \
9733 (cd $(HOST_SUBDIR)/gas && \
9734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9736 "RANLIB=$${RANLIB}" \
9737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9738 dvi) \
9739 || exit 1
9741 @endif gas
9743 .PHONY: maybe-pdf-gas pdf-gas
9744 maybe-pdf-gas:
9745 @if gas
9746 maybe-pdf-gas: pdf-gas
9748 pdf-gas: \
9749 configure-gas
9750 @[ -f ./gas/Makefile ] || exit 0; \
9751 r=`${PWD_COMMAND}`; export r; \
9752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9753 $(HOST_EXPORTS) \
9754 for flag in $(EXTRA_HOST_FLAGS) ; do \
9755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9756 done; \
9757 echo "Doing pdf in gas" ; \
9758 (cd $(HOST_SUBDIR)/gas && \
9759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9761 "RANLIB=$${RANLIB}" \
9762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9763 pdf) \
9764 || exit 1
9766 @endif gas
9768 .PHONY: maybe-html-gas html-gas
9769 maybe-html-gas:
9770 @if gas
9771 maybe-html-gas: html-gas
9773 html-gas: \
9774 configure-gas
9775 @[ -f ./gas/Makefile ] || exit 0; \
9776 r=`${PWD_COMMAND}`; export r; \
9777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9778 $(HOST_EXPORTS) \
9779 for flag in $(EXTRA_HOST_FLAGS) ; do \
9780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9781 done; \
9782 echo "Doing html in gas" ; \
9783 (cd $(HOST_SUBDIR)/gas && \
9784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9786 "RANLIB=$${RANLIB}" \
9787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9788 html) \
9789 || exit 1
9791 @endif gas
9793 .PHONY: maybe-TAGS-gas TAGS-gas
9794 maybe-TAGS-gas:
9795 @if gas
9796 maybe-TAGS-gas: TAGS-gas
9798 TAGS-gas: \
9799 configure-gas
9800 @[ -f ./gas/Makefile ] || exit 0; \
9801 r=`${PWD_COMMAND}`; export r; \
9802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9803 $(HOST_EXPORTS) \
9804 for flag in $(EXTRA_HOST_FLAGS) ; do \
9805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9806 done; \
9807 echo "Doing TAGS in gas" ; \
9808 (cd $(HOST_SUBDIR)/gas && \
9809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9811 "RANLIB=$${RANLIB}" \
9812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9813 TAGS) \
9814 || exit 1
9816 @endif gas
9818 .PHONY: maybe-install-info-gas install-info-gas
9819 maybe-install-info-gas:
9820 @if gas
9821 maybe-install-info-gas: install-info-gas
9823 install-info-gas: \
9824 configure-gas \
9825 info-gas
9826 @[ -f ./gas/Makefile ] || exit 0; \
9827 r=`${PWD_COMMAND}`; export r; \
9828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9829 $(HOST_EXPORTS) \
9830 for flag in $(EXTRA_HOST_FLAGS) ; do \
9831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9832 done; \
9833 echo "Doing install-info in gas" ; \
9834 (cd $(HOST_SUBDIR)/gas && \
9835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9837 "RANLIB=$${RANLIB}" \
9838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9839 install-info) \
9840 || exit 1
9842 @endif gas
9844 .PHONY: maybe-install-pdf-gas install-pdf-gas
9845 maybe-install-pdf-gas:
9846 @if gas
9847 maybe-install-pdf-gas: install-pdf-gas
9849 install-pdf-gas: \
9850 configure-gas \
9851 pdf-gas
9852 @[ -f ./gas/Makefile ] || exit 0; \
9853 r=`${PWD_COMMAND}`; export r; \
9854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9855 $(HOST_EXPORTS) \
9856 for flag in $(EXTRA_HOST_FLAGS) ; do \
9857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9858 done; \
9859 echo "Doing install-pdf in gas" ; \
9860 (cd $(HOST_SUBDIR)/gas && \
9861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9863 "RANLIB=$${RANLIB}" \
9864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9865 install-pdf) \
9866 || exit 1
9868 @endif gas
9870 .PHONY: maybe-install-html-gas install-html-gas
9871 maybe-install-html-gas:
9872 @if gas
9873 maybe-install-html-gas: install-html-gas
9875 install-html-gas: \
9876 configure-gas \
9877 html-gas
9878 @[ -f ./gas/Makefile ] || exit 0; \
9879 r=`${PWD_COMMAND}`; export r; \
9880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9881 $(HOST_EXPORTS) \
9882 for flag in $(EXTRA_HOST_FLAGS) ; do \
9883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9884 done; \
9885 echo "Doing install-html in gas" ; \
9886 (cd $(HOST_SUBDIR)/gas && \
9887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9889 "RANLIB=$${RANLIB}" \
9890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9891 install-html) \
9892 || exit 1
9894 @endif gas
9896 .PHONY: maybe-installcheck-gas installcheck-gas
9897 maybe-installcheck-gas:
9898 @if gas
9899 maybe-installcheck-gas: installcheck-gas
9901 installcheck-gas: \
9902 configure-gas
9903 @[ -f ./gas/Makefile ] || exit 0; \
9904 r=`${PWD_COMMAND}`; export r; \
9905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9906 $(HOST_EXPORTS) \
9907 for flag in $(EXTRA_HOST_FLAGS) ; do \
9908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9909 done; \
9910 echo "Doing installcheck in gas" ; \
9911 (cd $(HOST_SUBDIR)/gas && \
9912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9914 "RANLIB=$${RANLIB}" \
9915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9916 installcheck) \
9917 || exit 1
9919 @endif gas
9921 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
9922 maybe-mostlyclean-gas:
9923 @if gas
9924 maybe-mostlyclean-gas: mostlyclean-gas
9926 mostlyclean-gas:
9927 @[ -f ./gas/Makefile ] || exit 0; \
9928 r=`${PWD_COMMAND}`; export r; \
9929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9930 $(HOST_EXPORTS) \
9931 for flag in $(EXTRA_HOST_FLAGS) ; do \
9932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9933 done; \
9934 echo "Doing mostlyclean in gas" ; \
9935 (cd $(HOST_SUBDIR)/gas && \
9936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9938 "RANLIB=$${RANLIB}" \
9939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9940 mostlyclean) \
9941 || exit 1
9943 @endif gas
9945 .PHONY: maybe-clean-gas clean-gas
9946 maybe-clean-gas:
9947 @if gas
9948 maybe-clean-gas: clean-gas
9950 clean-gas:
9951 @[ -f ./gas/Makefile ] || exit 0; \
9952 r=`${PWD_COMMAND}`; export r; \
9953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9954 $(HOST_EXPORTS) \
9955 for flag in $(EXTRA_HOST_FLAGS) ; do \
9956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9957 done; \
9958 echo "Doing clean in gas" ; \
9959 (cd $(HOST_SUBDIR)/gas && \
9960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9962 "RANLIB=$${RANLIB}" \
9963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9964 clean) \
9965 || exit 1
9967 @endif gas
9969 .PHONY: maybe-distclean-gas distclean-gas
9970 maybe-distclean-gas:
9971 @if gas
9972 maybe-distclean-gas: distclean-gas
9974 distclean-gas:
9975 @[ -f ./gas/Makefile ] || exit 0; \
9976 r=`${PWD_COMMAND}`; export r; \
9977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9978 $(HOST_EXPORTS) \
9979 for flag in $(EXTRA_HOST_FLAGS) ; do \
9980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9981 done; \
9982 echo "Doing distclean in gas" ; \
9983 (cd $(HOST_SUBDIR)/gas && \
9984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9986 "RANLIB=$${RANLIB}" \
9987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9988 distclean) \
9989 || exit 1
9991 @endif gas
9993 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
9994 maybe-maintainer-clean-gas:
9995 @if gas
9996 maybe-maintainer-clean-gas: maintainer-clean-gas
9998 maintainer-clean-gas:
9999 @[ -f ./gas/Makefile ] || exit 0; \
10000 r=`${PWD_COMMAND}`; export r; \
10001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10002 $(HOST_EXPORTS) \
10003 for flag in $(EXTRA_HOST_FLAGS) ; do \
10004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10005 done; \
10006 echo "Doing maintainer-clean in gas" ; \
10007 (cd $(HOST_SUBDIR)/gas && \
10008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10010 "RANLIB=$${RANLIB}" \
10011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10012 maintainer-clean) \
10013 || exit 1
10015 @endif gas
10019 .PHONY: configure-gcc maybe-configure-gcc
10020 maybe-configure-gcc:
10021 @if gcc-bootstrap
10022 configure-gcc: stage_current
10023 @endif gcc-bootstrap
10024 @if gcc
10025 maybe-configure-gcc: configure-gcc
10026 configure-gcc:
10027 @r=`${PWD_COMMAND}`; export r; \
10028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10029 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10030 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10031 $(HOST_EXPORTS) \
10032 echo Configuring in $(HOST_SUBDIR)/gcc; \
10033 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
10034 case $(srcdir) in \
10035 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10036 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10037 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10038 esac; \
10039 module_srcdir=gcc; \
10040 $(SHELL) \
10041 $$s/$$module_srcdir/configure \
10042 --srcdir=$${topdir}/$$module_srcdir \
10043 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10044 --target=${target_alias} \
10045 || exit 1
10046 @endif gcc
10050 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
10051 maybe-configure-stage1-gcc:
10052 @if gcc-bootstrap
10053 maybe-configure-stage1-gcc: configure-stage1-gcc
10054 configure-stage1-gcc:
10055 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10056 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10057 @r=`${PWD_COMMAND}`; export r; \
10058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10059 TFLAGS="$(STAGE1_TFLAGS)"; \
10060 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10061 $(HOST_EXPORTS) \
10062 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
10063 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
10064 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
10065 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
10066 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10067 cd $(HOST_SUBDIR)/gcc || exit 1; \
10068 case $(srcdir) in \
10069 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10070 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10071 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10072 esac; \
10073 module_srcdir=gcc; \
10074 $(SHELL) $$s/$$module_srcdir/configure \
10075 --srcdir=$${topdir}/$$module_srcdir \
10076 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10077 --target=${target_alias} \
10079 $(STAGE1_CONFIGURE_FLAGS)
10080 @endif gcc-bootstrap
10082 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
10083 maybe-configure-stage2-gcc:
10084 @if gcc-bootstrap
10085 maybe-configure-stage2-gcc: configure-stage2-gcc
10086 configure-stage2-gcc:
10087 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10088 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10089 @r=`${PWD_COMMAND}`; export r; \
10090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10091 TFLAGS="$(STAGE2_TFLAGS)"; \
10092 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10093 $(HOST_EXPORTS) \
10094 $(POSTSTAGE1_HOST_EXPORTS) \
10095 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
10096 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
10097 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
10098 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
10099 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10100 cd $(HOST_SUBDIR)/gcc || exit 1; \
10101 case $(srcdir) in \
10102 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10103 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10104 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10105 esac; \
10106 module_srcdir=gcc; \
10107 $(SHELL) $$s/$$module_srcdir/configure \
10108 --srcdir=$${topdir}/$$module_srcdir \
10109 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10110 --target=${target_alias} \
10111 --with-build-libsubdir=$(HOST_SUBDIR) \
10112 $(STAGE2_CONFIGURE_FLAGS)
10113 @endif gcc-bootstrap
10115 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
10116 maybe-configure-stage3-gcc:
10117 @if gcc-bootstrap
10118 maybe-configure-stage3-gcc: configure-stage3-gcc
10119 configure-stage3-gcc:
10120 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10121 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10122 @r=`${PWD_COMMAND}`; export r; \
10123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10124 TFLAGS="$(STAGE3_TFLAGS)"; \
10125 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10126 $(HOST_EXPORTS) \
10127 $(POSTSTAGE1_HOST_EXPORTS) \
10128 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
10129 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
10130 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
10131 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
10132 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10133 cd $(HOST_SUBDIR)/gcc || exit 1; \
10134 case $(srcdir) in \
10135 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10136 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10137 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10138 esac; \
10139 module_srcdir=gcc; \
10140 $(SHELL) $$s/$$module_srcdir/configure \
10141 --srcdir=$${topdir}/$$module_srcdir \
10142 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10143 --target=${target_alias} \
10144 --with-build-libsubdir=$(HOST_SUBDIR) \
10145 $(STAGE3_CONFIGURE_FLAGS)
10146 @endif gcc-bootstrap
10148 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
10149 maybe-configure-stage4-gcc:
10150 @if gcc-bootstrap
10151 maybe-configure-stage4-gcc: configure-stage4-gcc
10152 configure-stage4-gcc:
10153 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10154 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10155 @r=`${PWD_COMMAND}`; export r; \
10156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10157 TFLAGS="$(STAGE4_TFLAGS)"; \
10158 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10159 $(HOST_EXPORTS) \
10160 $(POSTSTAGE1_HOST_EXPORTS) \
10161 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
10162 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
10163 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
10164 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
10165 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10166 cd $(HOST_SUBDIR)/gcc || exit 1; \
10167 case $(srcdir) in \
10168 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10169 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10170 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10171 esac; \
10172 module_srcdir=gcc; \
10173 $(SHELL) $$s/$$module_srcdir/configure \
10174 --srcdir=$${topdir}/$$module_srcdir \
10175 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10176 --target=${target_alias} \
10177 --with-build-libsubdir=$(HOST_SUBDIR) \
10178 $(STAGE4_CONFIGURE_FLAGS)
10179 @endif gcc-bootstrap
10181 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
10182 maybe-configure-stageprofile-gcc:
10183 @if gcc-bootstrap
10184 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
10185 configure-stageprofile-gcc:
10186 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10187 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10188 @r=`${PWD_COMMAND}`; export r; \
10189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10190 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10191 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10192 $(HOST_EXPORTS) \
10193 $(POSTSTAGE1_HOST_EXPORTS) \
10194 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
10195 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
10196 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
10197 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
10198 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10199 cd $(HOST_SUBDIR)/gcc || exit 1; \
10200 case $(srcdir) in \
10201 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10202 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10203 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10204 esac; \
10205 module_srcdir=gcc; \
10206 $(SHELL) $$s/$$module_srcdir/configure \
10207 --srcdir=$${topdir}/$$module_srcdir \
10208 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10209 --target=${target_alias} \
10210 --with-build-libsubdir=$(HOST_SUBDIR) \
10211 $(STAGEprofile_CONFIGURE_FLAGS)
10212 @endif gcc-bootstrap
10214 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
10215 maybe-configure-stagefeedback-gcc:
10216 @if gcc-bootstrap
10217 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
10218 configure-stagefeedback-gcc:
10219 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10220 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10221 @r=`${PWD_COMMAND}`; export r; \
10222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10223 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10224 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10225 $(HOST_EXPORTS) \
10226 $(POSTSTAGE1_HOST_EXPORTS) \
10227 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
10228 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
10229 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
10230 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
10231 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10232 cd $(HOST_SUBDIR)/gcc || exit 1; \
10233 case $(srcdir) in \
10234 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10235 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10236 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10237 esac; \
10238 module_srcdir=gcc; \
10239 $(SHELL) $$s/$$module_srcdir/configure \
10240 --srcdir=$${topdir}/$$module_srcdir \
10241 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10242 --target=${target_alias} \
10243 --with-build-libsubdir=$(HOST_SUBDIR) \
10244 $(STAGEfeedback_CONFIGURE_FLAGS)
10245 @endif gcc-bootstrap
10251 .PHONY: all-gcc maybe-all-gcc
10252 maybe-all-gcc:
10253 @if gcc-bootstrap
10254 all-gcc: stage_current
10255 @endif gcc-bootstrap
10256 @if gcc
10257 TARGET-gcc=all
10258 maybe-all-gcc: all-gcc
10259 all-gcc: configure-gcc
10260 @r=`${PWD_COMMAND}`; export r; \
10261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10262 $(HOST_EXPORTS) \
10263 (cd $(HOST_SUBDIR)/gcc && \
10264 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10265 $(TARGET-gcc))
10266 @endif gcc
10270 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
10271 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
10272 maybe-all-stage1-gcc:
10273 maybe-clean-stage1-gcc:
10274 @if gcc-bootstrap
10275 maybe-all-stage1-gcc: all-stage1-gcc
10276 all-stage1: all-stage1-gcc
10277 TARGET-stage1-gcc = $(TARGET-gcc)
10278 all-stage1-gcc: configure-stage1-gcc
10279 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10280 @r=`${PWD_COMMAND}`; export r; \
10281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10282 TFLAGS="$(STAGE1_TFLAGS)"; \
10283 $(HOST_EXPORTS) \
10284 cd $(HOST_SUBDIR)/gcc && \
10285 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10286 CFLAGS="$(STAGE1_CFLAGS)" \
10287 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
10288 LIBCFLAGS="$(LIBCFLAGS)" \
10289 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10290 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10291 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10292 $(EXTRA_HOST_FLAGS) \
10293 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10294 TFLAGS="$(STAGE1_TFLAGS)" \
10295 $(TARGET-stage1-gcc)
10297 maybe-clean-stage1-gcc: clean-stage1-gcc
10298 clean-stage1: clean-stage1-gcc
10299 clean-stage1-gcc:
10300 @if [ $(current_stage) = stage1 ]; then \
10301 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10302 else \
10303 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
10304 $(MAKE) stage1-start; \
10305 fi; \
10306 cd $(HOST_SUBDIR)/gcc && \
10307 $(MAKE) $(EXTRA_HOST_FLAGS) \
10308 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10309 @endif gcc-bootstrap
10312 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
10313 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
10314 maybe-all-stage2-gcc:
10315 maybe-clean-stage2-gcc:
10316 @if gcc-bootstrap
10317 maybe-all-stage2-gcc: all-stage2-gcc
10318 all-stage2: all-stage2-gcc
10319 TARGET-stage2-gcc = $(TARGET-gcc)
10320 all-stage2-gcc: configure-stage2-gcc
10321 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10322 @r=`${PWD_COMMAND}`; export r; \
10323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10324 TFLAGS="$(STAGE2_TFLAGS)"; \
10325 $(HOST_EXPORTS) \
10326 $(POSTSTAGE1_HOST_EXPORTS) \
10327 cd $(HOST_SUBDIR)/gcc && \
10328 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10329 CFLAGS="$(STAGE2_CFLAGS)" \
10330 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
10331 LIBCFLAGS="$(STAGE2_CFLAGS)" \
10332 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10333 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10334 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10335 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10336 TFLAGS="$(STAGE2_TFLAGS)" \
10337 $(TARGET-stage2-gcc)
10339 maybe-clean-stage2-gcc: clean-stage2-gcc
10340 clean-stage2: clean-stage2-gcc
10341 clean-stage2-gcc:
10342 @if [ $(current_stage) = stage2 ]; then \
10343 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10344 else \
10345 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
10346 $(MAKE) stage2-start; \
10347 fi; \
10348 cd $(HOST_SUBDIR)/gcc && \
10349 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10350 @endif gcc-bootstrap
10353 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
10354 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
10355 maybe-all-stage3-gcc:
10356 maybe-clean-stage3-gcc:
10357 @if gcc-bootstrap
10358 maybe-all-stage3-gcc: all-stage3-gcc
10359 all-stage3: all-stage3-gcc
10360 TARGET-stage3-gcc = $(TARGET-gcc)
10361 all-stage3-gcc: configure-stage3-gcc
10362 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10363 @r=`${PWD_COMMAND}`; export r; \
10364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10365 TFLAGS="$(STAGE3_TFLAGS)"; \
10366 $(HOST_EXPORTS) \
10367 $(POSTSTAGE1_HOST_EXPORTS) \
10368 cd $(HOST_SUBDIR)/gcc && \
10369 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10370 CFLAGS="$(STAGE3_CFLAGS)" \
10371 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
10372 LIBCFLAGS="$(STAGE3_CFLAGS)" \
10373 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10374 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10375 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10376 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10377 TFLAGS="$(STAGE3_TFLAGS)" \
10378 $(TARGET-stage3-gcc)
10380 maybe-clean-stage3-gcc: clean-stage3-gcc
10381 clean-stage3: clean-stage3-gcc
10382 clean-stage3-gcc:
10383 @if [ $(current_stage) = stage3 ]; then \
10384 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10385 else \
10386 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
10387 $(MAKE) stage3-start; \
10388 fi; \
10389 cd $(HOST_SUBDIR)/gcc && \
10390 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10391 @endif gcc-bootstrap
10394 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
10395 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
10396 maybe-all-stage4-gcc:
10397 maybe-clean-stage4-gcc:
10398 @if gcc-bootstrap
10399 maybe-all-stage4-gcc: all-stage4-gcc
10400 all-stage4: all-stage4-gcc
10401 TARGET-stage4-gcc = $(TARGET-gcc)
10402 all-stage4-gcc: configure-stage4-gcc
10403 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10404 @r=`${PWD_COMMAND}`; export r; \
10405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10406 TFLAGS="$(STAGE4_TFLAGS)"; \
10407 $(HOST_EXPORTS) \
10408 $(POSTSTAGE1_HOST_EXPORTS) \
10409 cd $(HOST_SUBDIR)/gcc && \
10410 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10411 CFLAGS="$(STAGE4_CFLAGS)" \
10412 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
10413 LIBCFLAGS="$(STAGE4_CFLAGS)" \
10414 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10415 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10416 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10417 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10418 TFLAGS="$(STAGE4_TFLAGS)" \
10419 $(TARGET-stage4-gcc)
10421 maybe-clean-stage4-gcc: clean-stage4-gcc
10422 clean-stage4: clean-stage4-gcc
10423 clean-stage4-gcc:
10424 @if [ $(current_stage) = stage4 ]; then \
10425 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10426 else \
10427 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
10428 $(MAKE) stage4-start; \
10429 fi; \
10430 cd $(HOST_SUBDIR)/gcc && \
10431 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10432 @endif gcc-bootstrap
10435 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
10436 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
10437 maybe-all-stageprofile-gcc:
10438 maybe-clean-stageprofile-gcc:
10439 @if gcc-bootstrap
10440 maybe-all-stageprofile-gcc: all-stageprofile-gcc
10441 all-stageprofile: all-stageprofile-gcc
10442 TARGET-stageprofile-gcc = $(TARGET-gcc)
10443 all-stageprofile-gcc: configure-stageprofile-gcc
10444 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10445 @r=`${PWD_COMMAND}`; export r; \
10446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10447 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10448 $(HOST_EXPORTS) \
10449 $(POSTSTAGE1_HOST_EXPORTS) \
10450 cd $(HOST_SUBDIR)/gcc && \
10451 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10452 CFLAGS="$(STAGEprofile_CFLAGS)" \
10453 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
10454 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
10455 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10456 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10457 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10458 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10459 TFLAGS="$(STAGEprofile_TFLAGS)" \
10460 $(TARGET-stageprofile-gcc)
10462 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
10463 clean-stageprofile: clean-stageprofile-gcc
10464 clean-stageprofile-gcc:
10465 @if [ $(current_stage) = stageprofile ]; then \
10466 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10467 else \
10468 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
10469 $(MAKE) stageprofile-start; \
10470 fi; \
10471 cd $(HOST_SUBDIR)/gcc && \
10472 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10473 @endif gcc-bootstrap
10476 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
10477 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
10478 maybe-all-stagefeedback-gcc:
10479 maybe-clean-stagefeedback-gcc:
10480 @if gcc-bootstrap
10481 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
10482 all-stagefeedback: all-stagefeedback-gcc
10483 TARGET-stagefeedback-gcc = $(TARGET-gcc)
10484 all-stagefeedback-gcc: configure-stagefeedback-gcc
10485 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10486 @r=`${PWD_COMMAND}`; export r; \
10487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10488 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10489 $(HOST_EXPORTS) \
10490 $(POSTSTAGE1_HOST_EXPORTS) \
10491 cd $(HOST_SUBDIR)/gcc && \
10492 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10493 CFLAGS="$(STAGEfeedback_CFLAGS)" \
10494 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
10495 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
10496 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10497 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10498 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10499 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10500 TFLAGS="$(STAGEfeedback_TFLAGS)" \
10501 $(TARGET-stagefeedback-gcc)
10503 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
10504 clean-stagefeedback: clean-stagefeedback-gcc
10505 clean-stagefeedback-gcc:
10506 @if [ $(current_stage) = stagefeedback ]; then \
10507 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10508 else \
10509 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
10510 $(MAKE) stagefeedback-start; \
10511 fi; \
10512 cd $(HOST_SUBDIR)/gcc && \
10513 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10514 @endif gcc-bootstrap
10520 .PHONY: check-gcc maybe-check-gcc
10521 maybe-check-gcc:
10522 @if gcc
10523 maybe-check-gcc: check-gcc
10525 check-gcc:
10526 @: $(MAKE); $(unstage)
10527 @r=`${PWD_COMMAND}`; export r; \
10528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10529 $(HOST_EXPORTS) \
10530 (cd $(HOST_SUBDIR)/gcc && \
10531 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
10533 @endif gcc
10535 .PHONY: install-gcc maybe-install-gcc
10536 maybe-install-gcc:
10537 @if gcc
10538 maybe-install-gcc: install-gcc
10540 install-gcc: installdirs
10541 @: $(MAKE); $(unstage)
10542 @r=`${PWD_COMMAND}`; export r; \
10543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10544 $(HOST_EXPORTS) \
10545 (cd $(HOST_SUBDIR)/gcc && \
10546 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
10548 @endif gcc
10550 .PHONY: install-strip-gcc maybe-install-strip-gcc
10551 maybe-install-strip-gcc:
10552 @if gcc
10553 maybe-install-strip-gcc: install-strip-gcc
10555 install-strip-gcc: installdirs
10556 @: $(MAKE); $(unstage)
10557 @r=`${PWD_COMMAND}`; export r; \
10558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10559 $(HOST_EXPORTS) \
10560 (cd $(HOST_SUBDIR)/gcc && \
10561 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install-strip)
10563 @endif gcc
10565 # Other targets (info, dvi, pdf, etc.)
10567 .PHONY: maybe-info-gcc info-gcc
10568 maybe-info-gcc:
10569 @if gcc
10570 maybe-info-gcc: info-gcc
10572 info-gcc: \
10573 configure-gcc
10574 @[ -f ./gcc/Makefile ] || exit 0; \
10575 r=`${PWD_COMMAND}`; export r; \
10576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10577 $(HOST_EXPORTS) \
10578 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10580 done; \
10581 echo "Doing info in gcc" ; \
10582 (cd $(HOST_SUBDIR)/gcc && \
10583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10585 "RANLIB=$${RANLIB}" \
10586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10587 info) \
10588 || exit 1
10590 @endif gcc
10592 .PHONY: maybe-dvi-gcc dvi-gcc
10593 maybe-dvi-gcc:
10594 @if gcc
10595 maybe-dvi-gcc: dvi-gcc
10597 dvi-gcc: \
10598 configure-gcc
10599 @[ -f ./gcc/Makefile ] || exit 0; \
10600 r=`${PWD_COMMAND}`; export r; \
10601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10602 $(HOST_EXPORTS) \
10603 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10605 done; \
10606 echo "Doing dvi in gcc" ; \
10607 (cd $(HOST_SUBDIR)/gcc && \
10608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10610 "RANLIB=$${RANLIB}" \
10611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10612 dvi) \
10613 || exit 1
10615 @endif gcc
10617 .PHONY: maybe-pdf-gcc pdf-gcc
10618 maybe-pdf-gcc:
10619 @if gcc
10620 maybe-pdf-gcc: pdf-gcc
10622 pdf-gcc: \
10623 configure-gcc
10624 @[ -f ./gcc/Makefile ] || exit 0; \
10625 r=`${PWD_COMMAND}`; export r; \
10626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10627 $(HOST_EXPORTS) \
10628 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10630 done; \
10631 echo "Doing pdf in gcc" ; \
10632 (cd $(HOST_SUBDIR)/gcc && \
10633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10635 "RANLIB=$${RANLIB}" \
10636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10637 pdf) \
10638 || exit 1
10640 @endif gcc
10642 .PHONY: maybe-html-gcc html-gcc
10643 maybe-html-gcc:
10644 @if gcc
10645 maybe-html-gcc: html-gcc
10647 html-gcc: \
10648 configure-gcc
10649 @[ -f ./gcc/Makefile ] || exit 0; \
10650 r=`${PWD_COMMAND}`; export r; \
10651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10652 $(HOST_EXPORTS) \
10653 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10655 done; \
10656 echo "Doing html in gcc" ; \
10657 (cd $(HOST_SUBDIR)/gcc && \
10658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10660 "RANLIB=$${RANLIB}" \
10661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10662 html) \
10663 || exit 1
10665 @endif gcc
10667 .PHONY: maybe-TAGS-gcc TAGS-gcc
10668 maybe-TAGS-gcc:
10669 @if gcc
10670 maybe-TAGS-gcc: TAGS-gcc
10672 TAGS-gcc: \
10673 configure-gcc
10674 @[ -f ./gcc/Makefile ] || exit 0; \
10675 r=`${PWD_COMMAND}`; export r; \
10676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10677 $(HOST_EXPORTS) \
10678 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10680 done; \
10681 echo "Doing TAGS in gcc" ; \
10682 (cd $(HOST_SUBDIR)/gcc && \
10683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10685 "RANLIB=$${RANLIB}" \
10686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10687 TAGS) \
10688 || exit 1
10690 @endif gcc
10692 .PHONY: maybe-install-info-gcc install-info-gcc
10693 maybe-install-info-gcc:
10694 @if gcc
10695 maybe-install-info-gcc: install-info-gcc
10697 install-info-gcc: \
10698 configure-gcc \
10699 info-gcc
10700 @[ -f ./gcc/Makefile ] || exit 0; \
10701 r=`${PWD_COMMAND}`; export r; \
10702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10703 $(HOST_EXPORTS) \
10704 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10706 done; \
10707 echo "Doing install-info in gcc" ; \
10708 (cd $(HOST_SUBDIR)/gcc && \
10709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10711 "RANLIB=$${RANLIB}" \
10712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10713 install-info) \
10714 || exit 1
10716 @endif gcc
10718 .PHONY: maybe-install-pdf-gcc install-pdf-gcc
10719 maybe-install-pdf-gcc:
10720 @if gcc
10721 maybe-install-pdf-gcc: install-pdf-gcc
10723 install-pdf-gcc: \
10724 configure-gcc \
10725 pdf-gcc
10726 @[ -f ./gcc/Makefile ] || exit 0; \
10727 r=`${PWD_COMMAND}`; export r; \
10728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10729 $(HOST_EXPORTS) \
10730 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10732 done; \
10733 echo "Doing install-pdf in gcc" ; \
10734 (cd $(HOST_SUBDIR)/gcc && \
10735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10737 "RANLIB=$${RANLIB}" \
10738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10739 install-pdf) \
10740 || exit 1
10742 @endif gcc
10744 .PHONY: maybe-install-html-gcc install-html-gcc
10745 maybe-install-html-gcc:
10746 @if gcc
10747 maybe-install-html-gcc: install-html-gcc
10749 install-html-gcc: \
10750 configure-gcc \
10751 html-gcc
10752 @[ -f ./gcc/Makefile ] || exit 0; \
10753 r=`${PWD_COMMAND}`; export r; \
10754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10755 $(HOST_EXPORTS) \
10756 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10758 done; \
10759 echo "Doing install-html in gcc" ; \
10760 (cd $(HOST_SUBDIR)/gcc && \
10761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10763 "RANLIB=$${RANLIB}" \
10764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10765 install-html) \
10766 || exit 1
10768 @endif gcc
10770 .PHONY: maybe-installcheck-gcc installcheck-gcc
10771 maybe-installcheck-gcc:
10772 @if gcc
10773 maybe-installcheck-gcc: installcheck-gcc
10775 installcheck-gcc: \
10776 configure-gcc
10777 @[ -f ./gcc/Makefile ] || exit 0; \
10778 r=`${PWD_COMMAND}`; export r; \
10779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10780 $(HOST_EXPORTS) \
10781 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10783 done; \
10784 echo "Doing installcheck in gcc" ; \
10785 (cd $(HOST_SUBDIR)/gcc && \
10786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10788 "RANLIB=$${RANLIB}" \
10789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10790 installcheck) \
10791 || exit 1
10793 @endif gcc
10795 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
10796 maybe-mostlyclean-gcc:
10797 @if gcc
10798 maybe-mostlyclean-gcc: mostlyclean-gcc
10800 mostlyclean-gcc:
10801 @[ -f ./gcc/Makefile ] || exit 0; \
10802 r=`${PWD_COMMAND}`; export r; \
10803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10804 $(HOST_EXPORTS) \
10805 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10807 done; \
10808 echo "Doing mostlyclean in gcc" ; \
10809 (cd $(HOST_SUBDIR)/gcc && \
10810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10812 "RANLIB=$${RANLIB}" \
10813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10814 mostlyclean) \
10815 || exit 1
10817 @endif gcc
10819 .PHONY: maybe-clean-gcc clean-gcc
10820 maybe-clean-gcc:
10821 @if gcc
10822 maybe-clean-gcc: clean-gcc
10824 clean-gcc:
10825 @[ -f ./gcc/Makefile ] || exit 0; \
10826 r=`${PWD_COMMAND}`; export r; \
10827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10828 $(HOST_EXPORTS) \
10829 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10831 done; \
10832 echo "Doing clean in gcc" ; \
10833 (cd $(HOST_SUBDIR)/gcc && \
10834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10836 "RANLIB=$${RANLIB}" \
10837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10838 clean) \
10839 || exit 1
10841 @endif gcc
10843 .PHONY: maybe-distclean-gcc distclean-gcc
10844 maybe-distclean-gcc:
10845 @if gcc
10846 maybe-distclean-gcc: distclean-gcc
10848 distclean-gcc:
10849 @[ -f ./gcc/Makefile ] || exit 0; \
10850 r=`${PWD_COMMAND}`; export r; \
10851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10852 $(HOST_EXPORTS) \
10853 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10855 done; \
10856 echo "Doing distclean in gcc" ; \
10857 (cd $(HOST_SUBDIR)/gcc && \
10858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10860 "RANLIB=$${RANLIB}" \
10861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10862 distclean) \
10863 || exit 1
10865 @endif gcc
10867 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
10868 maybe-maintainer-clean-gcc:
10869 @if gcc
10870 maybe-maintainer-clean-gcc: maintainer-clean-gcc
10872 maintainer-clean-gcc:
10873 @[ -f ./gcc/Makefile ] || exit 0; \
10874 r=`${PWD_COMMAND}`; export r; \
10875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10876 $(HOST_EXPORTS) \
10877 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10879 done; \
10880 echo "Doing maintainer-clean in gcc" ; \
10881 (cd $(HOST_SUBDIR)/gcc && \
10882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10884 "RANLIB=$${RANLIB}" \
10885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10886 maintainer-clean) \
10887 || exit 1
10889 @endif gcc
10893 .PHONY: configure-gmp maybe-configure-gmp
10894 maybe-configure-gmp:
10895 @if gcc-bootstrap
10896 configure-gmp: stage_current
10897 @endif gcc-bootstrap
10898 @if gmp
10899 maybe-configure-gmp: configure-gmp
10900 configure-gmp:
10901 @r=`${PWD_COMMAND}`; export r; \
10902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10903 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10904 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10905 $(HOST_EXPORTS) \
10906 echo Configuring in $(HOST_SUBDIR)/gmp; \
10907 cd "$(HOST_SUBDIR)/gmp" || exit 1; \
10908 case $(srcdir) in \
10909 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10910 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10911 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10912 esac; \
10913 module_srcdir=gmp; \
10914 $(SHELL) \
10915 $$s/$$module_srcdir/configure \
10916 --srcdir=$${topdir}/$$module_srcdir \
10917 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10918 --target=none-${host_vendor}-${host_os} --disable-shared \
10919 || exit 1
10920 @endif gmp
10924 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
10925 maybe-configure-stage1-gmp:
10926 @if gmp-bootstrap
10927 maybe-configure-stage1-gmp: configure-stage1-gmp
10928 configure-stage1-gmp:
10929 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10930 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10931 @r=`${PWD_COMMAND}`; export r; \
10932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10933 TFLAGS="$(STAGE1_TFLAGS)"; \
10934 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10935 $(HOST_EXPORTS) \
10936 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
10937 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
10938 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
10939 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp ; \
10940 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10941 cd $(HOST_SUBDIR)/gmp || exit 1; \
10942 case $(srcdir) in \
10943 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10944 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10945 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10946 esac; \
10947 module_srcdir=gmp; \
10948 $(SHELL) $$s/$$module_srcdir/configure \
10949 --srcdir=$${topdir}/$$module_srcdir \
10950 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10951 --target=none-${host_vendor}-${host_os} \
10953 $(STAGE1_CONFIGURE_FLAGS) \
10954 --disable-shared
10955 @endif gmp-bootstrap
10957 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
10958 maybe-configure-stage2-gmp:
10959 @if gmp-bootstrap
10960 maybe-configure-stage2-gmp: configure-stage2-gmp
10961 configure-stage2-gmp:
10962 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10963 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10964 @r=`${PWD_COMMAND}`; export r; \
10965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10966 TFLAGS="$(STAGE2_TFLAGS)"; \
10967 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10968 $(HOST_EXPORTS) \
10969 $(POSTSTAGE1_HOST_EXPORTS) \
10970 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
10971 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
10972 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
10973 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp ; \
10974 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10975 cd $(HOST_SUBDIR)/gmp || exit 1; \
10976 case $(srcdir) in \
10977 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10978 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10979 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10980 esac; \
10981 module_srcdir=gmp; \
10982 $(SHELL) $$s/$$module_srcdir/configure \
10983 --srcdir=$${topdir}/$$module_srcdir \
10984 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10985 --target=none-${host_vendor}-${host_os} \
10986 --with-build-libsubdir=$(HOST_SUBDIR) \
10987 $(STAGE2_CONFIGURE_FLAGS) \
10988 --disable-shared
10989 @endif gmp-bootstrap
10991 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
10992 maybe-configure-stage3-gmp:
10993 @if gmp-bootstrap
10994 maybe-configure-stage3-gmp: configure-stage3-gmp
10995 configure-stage3-gmp:
10996 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10997 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10998 @r=`${PWD_COMMAND}`; export r; \
10999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11000 TFLAGS="$(STAGE3_TFLAGS)"; \
11001 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11002 $(HOST_EXPORTS) \
11003 $(POSTSTAGE1_HOST_EXPORTS) \
11004 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
11005 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
11006 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
11007 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp ; \
11008 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
11009 cd $(HOST_SUBDIR)/gmp || exit 1; \
11010 case $(srcdir) in \
11011 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11012 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11013 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11014 esac; \
11015 module_srcdir=gmp; \
11016 $(SHELL) $$s/$$module_srcdir/configure \
11017 --srcdir=$${topdir}/$$module_srcdir \
11018 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11019 --target=none-${host_vendor}-${host_os} \
11020 --with-build-libsubdir=$(HOST_SUBDIR) \
11021 $(STAGE3_CONFIGURE_FLAGS) \
11022 --disable-shared
11023 @endif gmp-bootstrap
11025 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
11026 maybe-configure-stage4-gmp:
11027 @if gmp-bootstrap
11028 maybe-configure-stage4-gmp: configure-stage4-gmp
11029 configure-stage4-gmp:
11030 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11031 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
11032 @r=`${PWD_COMMAND}`; export r; \
11033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11034 TFLAGS="$(STAGE4_TFLAGS)"; \
11035 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11036 $(HOST_EXPORTS) \
11037 $(POSTSTAGE1_HOST_EXPORTS) \
11038 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
11039 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
11040 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
11041 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp ; \
11042 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
11043 cd $(HOST_SUBDIR)/gmp || exit 1; \
11044 case $(srcdir) in \
11045 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11046 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11047 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11048 esac; \
11049 module_srcdir=gmp; \
11050 $(SHELL) $$s/$$module_srcdir/configure \
11051 --srcdir=$${topdir}/$$module_srcdir \
11052 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11053 --target=none-${host_vendor}-${host_os} \
11054 --with-build-libsubdir=$(HOST_SUBDIR) \
11055 $(STAGE4_CONFIGURE_FLAGS) \
11056 --disable-shared
11057 @endif gmp-bootstrap
11059 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
11060 maybe-configure-stageprofile-gmp:
11061 @if gmp-bootstrap
11062 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
11063 configure-stageprofile-gmp:
11064 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11065 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
11066 @r=`${PWD_COMMAND}`; export r; \
11067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11068 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11069 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11070 $(HOST_EXPORTS) \
11071 $(POSTSTAGE1_HOST_EXPORTS) \
11072 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
11073 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
11074 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
11075 echo Configuring stage profile in $(HOST_SUBDIR)/gmp ; \
11076 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
11077 cd $(HOST_SUBDIR)/gmp || exit 1; \
11078 case $(srcdir) in \
11079 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11080 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11081 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11082 esac; \
11083 module_srcdir=gmp; \
11084 $(SHELL) $$s/$$module_srcdir/configure \
11085 --srcdir=$${topdir}/$$module_srcdir \
11086 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11087 --target=none-${host_vendor}-${host_os} \
11088 --with-build-libsubdir=$(HOST_SUBDIR) \
11089 $(STAGEprofile_CONFIGURE_FLAGS) \
11090 --disable-shared
11091 @endif gmp-bootstrap
11093 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
11094 maybe-configure-stagefeedback-gmp:
11095 @if gmp-bootstrap
11096 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
11097 configure-stagefeedback-gmp:
11098 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11099 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
11100 @r=`${PWD_COMMAND}`; export r; \
11101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11102 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11103 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11104 $(HOST_EXPORTS) \
11105 $(POSTSTAGE1_HOST_EXPORTS) \
11106 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
11107 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
11108 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
11109 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp ; \
11110 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
11111 cd $(HOST_SUBDIR)/gmp || exit 1; \
11112 case $(srcdir) in \
11113 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11114 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11115 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11116 esac; \
11117 module_srcdir=gmp; \
11118 $(SHELL) $$s/$$module_srcdir/configure \
11119 --srcdir=$${topdir}/$$module_srcdir \
11120 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11121 --target=none-${host_vendor}-${host_os} \
11122 --with-build-libsubdir=$(HOST_SUBDIR) \
11123 $(STAGEfeedback_CONFIGURE_FLAGS) \
11124 --disable-shared
11125 @endif gmp-bootstrap
11131 .PHONY: all-gmp maybe-all-gmp
11132 maybe-all-gmp:
11133 @if gcc-bootstrap
11134 all-gmp: stage_current
11135 @endif gcc-bootstrap
11136 @if gmp
11137 TARGET-gmp=all
11138 maybe-all-gmp: all-gmp
11139 all-gmp: configure-gmp
11140 @r=`${PWD_COMMAND}`; export r; \
11141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11142 $(HOST_EXPORTS) \
11143 (cd $(HOST_SUBDIR)/gmp && \
11144 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
11145 $(TARGET-gmp))
11146 @endif gmp
11150 .PHONY: all-stage1-gmp maybe-all-stage1-gmp
11151 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
11152 maybe-all-stage1-gmp:
11153 maybe-clean-stage1-gmp:
11154 @if gmp-bootstrap
11155 maybe-all-stage1-gmp: all-stage1-gmp
11156 all-stage1: all-stage1-gmp
11157 TARGET-stage1-gmp = $(TARGET-gmp)
11158 all-stage1-gmp: configure-stage1-gmp
11159 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11160 @r=`${PWD_COMMAND}`; export r; \
11161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11162 TFLAGS="$(STAGE1_TFLAGS)"; \
11163 $(HOST_EXPORTS) \
11164 cd $(HOST_SUBDIR)/gmp && \
11165 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11166 CFLAGS="$(STAGE1_CFLAGS)" \
11167 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
11168 LIBCFLAGS="$(LIBCFLAGS)" \
11169 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11170 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11171 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11172 $(EXTRA_HOST_FLAGS) \
11173 $(STAGE1_FLAGS_TO_PASS) \
11174 TFLAGS="$(STAGE1_TFLAGS)" \
11175 $(TARGET-stage1-gmp)
11177 maybe-clean-stage1-gmp: clean-stage1-gmp
11178 clean-stage1: clean-stage1-gmp
11179 clean-stage1-gmp:
11180 @if [ $(current_stage) = stage1 ]; then \
11181 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11182 else \
11183 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
11184 $(MAKE) stage1-start; \
11185 fi; \
11186 cd $(HOST_SUBDIR)/gmp && \
11187 $(MAKE) $(EXTRA_HOST_FLAGS) \
11188 $(STAGE1_FLAGS_TO_PASS) clean
11189 @endif gmp-bootstrap
11192 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
11193 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
11194 maybe-all-stage2-gmp:
11195 maybe-clean-stage2-gmp:
11196 @if gmp-bootstrap
11197 maybe-all-stage2-gmp: all-stage2-gmp
11198 all-stage2: all-stage2-gmp
11199 TARGET-stage2-gmp = $(TARGET-gmp)
11200 all-stage2-gmp: configure-stage2-gmp
11201 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11202 @r=`${PWD_COMMAND}`; export r; \
11203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11204 TFLAGS="$(STAGE2_TFLAGS)"; \
11205 $(HOST_EXPORTS) \
11206 $(POSTSTAGE1_HOST_EXPORTS) \
11207 cd $(HOST_SUBDIR)/gmp && \
11208 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11209 CFLAGS="$(STAGE2_CFLAGS)" \
11210 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
11211 LIBCFLAGS="$(STAGE2_CFLAGS)" \
11212 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11213 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11214 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11215 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11216 TFLAGS="$(STAGE2_TFLAGS)" \
11217 $(TARGET-stage2-gmp)
11219 maybe-clean-stage2-gmp: clean-stage2-gmp
11220 clean-stage2: clean-stage2-gmp
11221 clean-stage2-gmp:
11222 @if [ $(current_stage) = stage2 ]; then \
11223 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11224 else \
11225 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
11226 $(MAKE) stage2-start; \
11227 fi; \
11228 cd $(HOST_SUBDIR)/gmp && \
11229 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11230 @endif gmp-bootstrap
11233 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
11234 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
11235 maybe-all-stage3-gmp:
11236 maybe-clean-stage3-gmp:
11237 @if gmp-bootstrap
11238 maybe-all-stage3-gmp: all-stage3-gmp
11239 all-stage3: all-stage3-gmp
11240 TARGET-stage3-gmp = $(TARGET-gmp)
11241 all-stage3-gmp: configure-stage3-gmp
11242 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11243 @r=`${PWD_COMMAND}`; export r; \
11244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11245 TFLAGS="$(STAGE3_TFLAGS)"; \
11246 $(HOST_EXPORTS) \
11247 $(POSTSTAGE1_HOST_EXPORTS) \
11248 cd $(HOST_SUBDIR)/gmp && \
11249 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11250 CFLAGS="$(STAGE3_CFLAGS)" \
11251 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
11252 LIBCFLAGS="$(STAGE3_CFLAGS)" \
11253 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11254 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11255 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11256 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11257 TFLAGS="$(STAGE3_TFLAGS)" \
11258 $(TARGET-stage3-gmp)
11260 maybe-clean-stage3-gmp: clean-stage3-gmp
11261 clean-stage3: clean-stage3-gmp
11262 clean-stage3-gmp:
11263 @if [ $(current_stage) = stage3 ]; then \
11264 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11265 else \
11266 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
11267 $(MAKE) stage3-start; \
11268 fi; \
11269 cd $(HOST_SUBDIR)/gmp && \
11270 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11271 @endif gmp-bootstrap
11274 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
11275 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
11276 maybe-all-stage4-gmp:
11277 maybe-clean-stage4-gmp:
11278 @if gmp-bootstrap
11279 maybe-all-stage4-gmp: all-stage4-gmp
11280 all-stage4: all-stage4-gmp
11281 TARGET-stage4-gmp = $(TARGET-gmp)
11282 all-stage4-gmp: configure-stage4-gmp
11283 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11284 @r=`${PWD_COMMAND}`; export r; \
11285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11286 TFLAGS="$(STAGE4_TFLAGS)"; \
11287 $(HOST_EXPORTS) \
11288 $(POSTSTAGE1_HOST_EXPORTS) \
11289 cd $(HOST_SUBDIR)/gmp && \
11290 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11291 CFLAGS="$(STAGE4_CFLAGS)" \
11292 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
11293 LIBCFLAGS="$(STAGE4_CFLAGS)" \
11294 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11295 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11296 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11297 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11298 TFLAGS="$(STAGE4_TFLAGS)" \
11299 $(TARGET-stage4-gmp)
11301 maybe-clean-stage4-gmp: clean-stage4-gmp
11302 clean-stage4: clean-stage4-gmp
11303 clean-stage4-gmp:
11304 @if [ $(current_stage) = stage4 ]; then \
11305 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11306 else \
11307 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
11308 $(MAKE) stage4-start; \
11309 fi; \
11310 cd $(HOST_SUBDIR)/gmp && \
11311 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11312 @endif gmp-bootstrap
11315 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
11316 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
11317 maybe-all-stageprofile-gmp:
11318 maybe-clean-stageprofile-gmp:
11319 @if gmp-bootstrap
11320 maybe-all-stageprofile-gmp: all-stageprofile-gmp
11321 all-stageprofile: all-stageprofile-gmp
11322 TARGET-stageprofile-gmp = $(TARGET-gmp)
11323 all-stageprofile-gmp: configure-stageprofile-gmp
11324 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11325 @r=`${PWD_COMMAND}`; export r; \
11326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11327 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11328 $(HOST_EXPORTS) \
11329 $(POSTSTAGE1_HOST_EXPORTS) \
11330 cd $(HOST_SUBDIR)/gmp && \
11331 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11332 CFLAGS="$(STAGEprofile_CFLAGS)" \
11333 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
11334 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
11335 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11336 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11337 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11338 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11339 TFLAGS="$(STAGEprofile_TFLAGS)" \
11340 $(TARGET-stageprofile-gmp)
11342 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
11343 clean-stageprofile: clean-stageprofile-gmp
11344 clean-stageprofile-gmp:
11345 @if [ $(current_stage) = stageprofile ]; then \
11346 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11347 else \
11348 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
11349 $(MAKE) stageprofile-start; \
11350 fi; \
11351 cd $(HOST_SUBDIR)/gmp && \
11352 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11353 @endif gmp-bootstrap
11356 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
11357 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
11358 maybe-all-stagefeedback-gmp:
11359 maybe-clean-stagefeedback-gmp:
11360 @if gmp-bootstrap
11361 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
11362 all-stagefeedback: all-stagefeedback-gmp
11363 TARGET-stagefeedback-gmp = $(TARGET-gmp)
11364 all-stagefeedback-gmp: configure-stagefeedback-gmp
11365 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11366 @r=`${PWD_COMMAND}`; export r; \
11367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11368 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11369 $(HOST_EXPORTS) \
11370 $(POSTSTAGE1_HOST_EXPORTS) \
11371 cd $(HOST_SUBDIR)/gmp && \
11372 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11373 CFLAGS="$(STAGEfeedback_CFLAGS)" \
11374 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
11375 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
11376 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11377 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11378 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11379 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11380 TFLAGS="$(STAGEfeedback_TFLAGS)" \
11381 $(TARGET-stagefeedback-gmp)
11383 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
11384 clean-stagefeedback: clean-stagefeedback-gmp
11385 clean-stagefeedback-gmp:
11386 @if [ $(current_stage) = stagefeedback ]; then \
11387 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11388 else \
11389 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
11390 $(MAKE) stagefeedback-start; \
11391 fi; \
11392 cd $(HOST_SUBDIR)/gmp && \
11393 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11394 @endif gmp-bootstrap
11400 .PHONY: check-gmp maybe-check-gmp
11401 maybe-check-gmp:
11402 @if gmp
11403 maybe-check-gmp: check-gmp
11405 check-gmp:
11406 @: $(MAKE); $(unstage)
11407 @r=`${PWD_COMMAND}`; export r; \
11408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11409 $(HOST_EXPORTS) \
11410 (cd $(HOST_SUBDIR)/gmp && \
11411 $(MAKE) $(FLAGS_TO_PASS) check)
11413 @endif gmp
11415 .PHONY: install-gmp maybe-install-gmp
11416 maybe-install-gmp:
11417 @if gmp
11418 maybe-install-gmp: install-gmp
11420 install-gmp:
11422 @endif gmp
11424 .PHONY: install-strip-gmp maybe-install-strip-gmp
11425 maybe-install-strip-gmp:
11426 @if gmp
11427 maybe-install-strip-gmp: install-strip-gmp
11429 install-strip-gmp:
11431 @endif gmp
11433 # Other targets (info, dvi, pdf, etc.)
11435 .PHONY: maybe-info-gmp info-gmp
11436 maybe-info-gmp:
11437 @if gmp
11438 maybe-info-gmp: info-gmp
11440 info-gmp: \
11441 configure-gmp
11442 @[ -f ./gmp/Makefile ] || exit 0; \
11443 r=`${PWD_COMMAND}`; export r; \
11444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11445 $(HOST_EXPORTS) \
11446 for flag in $(EXTRA_HOST_FLAGS) ; do \
11447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11448 done; \
11449 echo "Doing info in gmp" ; \
11450 (cd $(HOST_SUBDIR)/gmp && \
11451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11453 "RANLIB=$${RANLIB}" \
11454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11455 info) \
11456 || exit 1
11458 @endif gmp
11460 .PHONY: maybe-dvi-gmp dvi-gmp
11461 maybe-dvi-gmp:
11462 @if gmp
11463 maybe-dvi-gmp: dvi-gmp
11465 dvi-gmp: \
11466 configure-gmp
11467 @[ -f ./gmp/Makefile ] || exit 0; \
11468 r=`${PWD_COMMAND}`; export r; \
11469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11470 $(HOST_EXPORTS) \
11471 for flag in $(EXTRA_HOST_FLAGS) ; do \
11472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11473 done; \
11474 echo "Doing dvi in gmp" ; \
11475 (cd $(HOST_SUBDIR)/gmp && \
11476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11478 "RANLIB=$${RANLIB}" \
11479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11480 dvi) \
11481 || exit 1
11483 @endif gmp
11485 .PHONY: maybe-pdf-gmp pdf-gmp
11486 maybe-pdf-gmp:
11487 @if gmp
11488 maybe-pdf-gmp: pdf-gmp
11490 pdf-gmp: \
11491 configure-gmp
11492 @[ -f ./gmp/Makefile ] || exit 0; \
11493 r=`${PWD_COMMAND}`; export r; \
11494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11495 $(HOST_EXPORTS) \
11496 for flag in $(EXTRA_HOST_FLAGS) ; do \
11497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11498 done; \
11499 echo "Doing pdf in gmp" ; \
11500 (cd $(HOST_SUBDIR)/gmp && \
11501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11503 "RANLIB=$${RANLIB}" \
11504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11505 pdf) \
11506 || exit 1
11508 @endif gmp
11510 .PHONY: maybe-html-gmp html-gmp
11511 maybe-html-gmp:
11512 @if gmp
11513 maybe-html-gmp: html-gmp
11515 html-gmp: \
11516 configure-gmp
11517 @[ -f ./gmp/Makefile ] || exit 0; \
11518 r=`${PWD_COMMAND}`; export r; \
11519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11520 $(HOST_EXPORTS) \
11521 for flag in $(EXTRA_HOST_FLAGS) ; do \
11522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11523 done; \
11524 echo "Doing html in gmp" ; \
11525 (cd $(HOST_SUBDIR)/gmp && \
11526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11528 "RANLIB=$${RANLIB}" \
11529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11530 html) \
11531 || exit 1
11533 @endif gmp
11535 .PHONY: maybe-TAGS-gmp TAGS-gmp
11536 maybe-TAGS-gmp:
11537 @if gmp
11538 maybe-TAGS-gmp: TAGS-gmp
11540 TAGS-gmp: \
11541 configure-gmp
11542 @[ -f ./gmp/Makefile ] || exit 0; \
11543 r=`${PWD_COMMAND}`; export r; \
11544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11545 $(HOST_EXPORTS) \
11546 for flag in $(EXTRA_HOST_FLAGS) ; do \
11547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11548 done; \
11549 echo "Doing TAGS in gmp" ; \
11550 (cd $(HOST_SUBDIR)/gmp && \
11551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11553 "RANLIB=$${RANLIB}" \
11554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11555 TAGS) \
11556 || exit 1
11558 @endif gmp
11560 .PHONY: maybe-install-info-gmp install-info-gmp
11561 maybe-install-info-gmp:
11562 @if gmp
11563 maybe-install-info-gmp: install-info-gmp
11565 install-info-gmp: \
11566 configure-gmp \
11567 info-gmp
11568 @[ -f ./gmp/Makefile ] || exit 0; \
11569 r=`${PWD_COMMAND}`; export r; \
11570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11571 $(HOST_EXPORTS) \
11572 for flag in $(EXTRA_HOST_FLAGS) ; do \
11573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11574 done; \
11575 echo "Doing install-info in gmp" ; \
11576 (cd $(HOST_SUBDIR)/gmp && \
11577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11579 "RANLIB=$${RANLIB}" \
11580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11581 install-info) \
11582 || exit 1
11584 @endif gmp
11586 .PHONY: maybe-install-pdf-gmp install-pdf-gmp
11587 maybe-install-pdf-gmp:
11588 @if gmp
11589 maybe-install-pdf-gmp: install-pdf-gmp
11591 install-pdf-gmp: \
11592 configure-gmp \
11593 pdf-gmp
11594 @[ -f ./gmp/Makefile ] || exit 0; \
11595 r=`${PWD_COMMAND}`; export r; \
11596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11597 $(HOST_EXPORTS) \
11598 for flag in $(EXTRA_HOST_FLAGS) ; do \
11599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11600 done; \
11601 echo "Doing install-pdf in gmp" ; \
11602 (cd $(HOST_SUBDIR)/gmp && \
11603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11605 "RANLIB=$${RANLIB}" \
11606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11607 install-pdf) \
11608 || exit 1
11610 @endif gmp
11612 .PHONY: maybe-install-html-gmp install-html-gmp
11613 maybe-install-html-gmp:
11614 @if gmp
11615 maybe-install-html-gmp: install-html-gmp
11617 install-html-gmp: \
11618 configure-gmp \
11619 html-gmp
11620 @[ -f ./gmp/Makefile ] || exit 0; \
11621 r=`${PWD_COMMAND}`; export r; \
11622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11623 $(HOST_EXPORTS) \
11624 for flag in $(EXTRA_HOST_FLAGS) ; do \
11625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11626 done; \
11627 echo "Doing install-html in gmp" ; \
11628 (cd $(HOST_SUBDIR)/gmp && \
11629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11631 "RANLIB=$${RANLIB}" \
11632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11633 install-html) \
11634 || exit 1
11636 @endif gmp
11638 .PHONY: maybe-installcheck-gmp installcheck-gmp
11639 maybe-installcheck-gmp:
11640 @if gmp
11641 maybe-installcheck-gmp: installcheck-gmp
11643 installcheck-gmp: \
11644 configure-gmp
11645 @[ -f ./gmp/Makefile ] || exit 0; \
11646 r=`${PWD_COMMAND}`; export r; \
11647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11648 $(HOST_EXPORTS) \
11649 for flag in $(EXTRA_HOST_FLAGS) ; do \
11650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11651 done; \
11652 echo "Doing installcheck in gmp" ; \
11653 (cd $(HOST_SUBDIR)/gmp && \
11654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11656 "RANLIB=$${RANLIB}" \
11657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11658 installcheck) \
11659 || exit 1
11661 @endif gmp
11663 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
11664 maybe-mostlyclean-gmp:
11665 @if gmp
11666 maybe-mostlyclean-gmp: mostlyclean-gmp
11668 mostlyclean-gmp:
11669 @[ -f ./gmp/Makefile ] || exit 0; \
11670 r=`${PWD_COMMAND}`; export r; \
11671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11672 $(HOST_EXPORTS) \
11673 for flag in $(EXTRA_HOST_FLAGS) ; do \
11674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11675 done; \
11676 echo "Doing mostlyclean in gmp" ; \
11677 (cd $(HOST_SUBDIR)/gmp && \
11678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11680 "RANLIB=$${RANLIB}" \
11681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11682 mostlyclean) \
11683 || exit 1
11685 @endif gmp
11687 .PHONY: maybe-clean-gmp clean-gmp
11688 maybe-clean-gmp:
11689 @if gmp
11690 maybe-clean-gmp: clean-gmp
11692 clean-gmp:
11693 @[ -f ./gmp/Makefile ] || exit 0; \
11694 r=`${PWD_COMMAND}`; export r; \
11695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11696 $(HOST_EXPORTS) \
11697 for flag in $(EXTRA_HOST_FLAGS) ; do \
11698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11699 done; \
11700 echo "Doing clean in gmp" ; \
11701 (cd $(HOST_SUBDIR)/gmp && \
11702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11704 "RANLIB=$${RANLIB}" \
11705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11706 clean) \
11707 || exit 1
11709 @endif gmp
11711 .PHONY: maybe-distclean-gmp distclean-gmp
11712 maybe-distclean-gmp:
11713 @if gmp
11714 maybe-distclean-gmp: distclean-gmp
11716 distclean-gmp:
11717 @[ -f ./gmp/Makefile ] || exit 0; \
11718 r=`${PWD_COMMAND}`; export r; \
11719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11720 $(HOST_EXPORTS) \
11721 for flag in $(EXTRA_HOST_FLAGS) ; do \
11722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11723 done; \
11724 echo "Doing distclean in gmp" ; \
11725 (cd $(HOST_SUBDIR)/gmp && \
11726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11728 "RANLIB=$${RANLIB}" \
11729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11730 distclean) \
11731 || exit 1
11733 @endif gmp
11735 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
11736 maybe-maintainer-clean-gmp:
11737 @if gmp
11738 maybe-maintainer-clean-gmp: maintainer-clean-gmp
11740 maintainer-clean-gmp:
11741 @[ -f ./gmp/Makefile ] || exit 0; \
11742 r=`${PWD_COMMAND}`; export r; \
11743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11744 $(HOST_EXPORTS) \
11745 for flag in $(EXTRA_HOST_FLAGS) ; do \
11746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11747 done; \
11748 echo "Doing maintainer-clean in gmp" ; \
11749 (cd $(HOST_SUBDIR)/gmp && \
11750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11752 "RANLIB=$${RANLIB}" \
11753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11754 maintainer-clean) \
11755 || exit 1
11757 @endif gmp
11761 .PHONY: configure-mpfr maybe-configure-mpfr
11762 maybe-configure-mpfr:
11763 @if gcc-bootstrap
11764 configure-mpfr: stage_current
11765 @endif gcc-bootstrap
11766 @if mpfr
11767 maybe-configure-mpfr: configure-mpfr
11768 configure-mpfr:
11769 @r=`${PWD_COMMAND}`; export r; \
11770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11771 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11772 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11773 $(HOST_EXPORTS) \
11774 echo Configuring in $(HOST_SUBDIR)/mpfr; \
11775 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
11776 case $(srcdir) in \
11777 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11778 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11779 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11780 esac; \
11781 module_srcdir=mpfr; \
11782 $(SHELL) \
11783 $$s/$$module_srcdir/configure \
11784 --srcdir=$${topdir}/$$module_srcdir \
11785 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11786 --target=${target_alias} --disable-shared @extra_mpfr_configure_flags@ \
11787 || exit 1
11788 @endif mpfr
11792 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
11793 maybe-configure-stage1-mpfr:
11794 @if mpfr-bootstrap
11795 maybe-configure-stage1-mpfr: configure-stage1-mpfr
11796 configure-stage1-mpfr:
11797 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11798 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11799 @r=`${PWD_COMMAND}`; export r; \
11800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11801 TFLAGS="$(STAGE1_TFLAGS)"; \
11802 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11803 $(HOST_EXPORTS) \
11804 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
11805 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
11806 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
11807 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr ; \
11808 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11809 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11810 case $(srcdir) in \
11811 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11812 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11813 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11814 esac; \
11815 module_srcdir=mpfr; \
11816 $(SHELL) $$s/$$module_srcdir/configure \
11817 --srcdir=$${topdir}/$$module_srcdir \
11818 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11819 --target=${target_alias} \
11821 $(STAGE1_CONFIGURE_FLAGS) \
11822 --disable-shared @extra_mpfr_configure_flags@
11823 @endif mpfr-bootstrap
11825 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
11826 maybe-configure-stage2-mpfr:
11827 @if mpfr-bootstrap
11828 maybe-configure-stage2-mpfr: configure-stage2-mpfr
11829 configure-stage2-mpfr:
11830 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11831 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11832 @r=`${PWD_COMMAND}`; export r; \
11833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11834 TFLAGS="$(STAGE2_TFLAGS)"; \
11835 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11836 $(HOST_EXPORTS) \
11837 $(POSTSTAGE1_HOST_EXPORTS) \
11838 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
11839 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
11840 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
11841 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr ; \
11842 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11843 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11844 case $(srcdir) in \
11845 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11846 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11847 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11848 esac; \
11849 module_srcdir=mpfr; \
11850 $(SHELL) $$s/$$module_srcdir/configure \
11851 --srcdir=$${topdir}/$$module_srcdir \
11852 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11853 --target=${target_alias} \
11854 --with-build-libsubdir=$(HOST_SUBDIR) \
11855 $(STAGE2_CONFIGURE_FLAGS) \
11856 --disable-shared @extra_mpfr_configure_flags@
11857 @endif mpfr-bootstrap
11859 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
11860 maybe-configure-stage3-mpfr:
11861 @if mpfr-bootstrap
11862 maybe-configure-stage3-mpfr: configure-stage3-mpfr
11863 configure-stage3-mpfr:
11864 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11865 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11866 @r=`${PWD_COMMAND}`; export r; \
11867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11868 TFLAGS="$(STAGE3_TFLAGS)"; \
11869 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11870 $(HOST_EXPORTS) \
11871 $(POSTSTAGE1_HOST_EXPORTS) \
11872 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
11873 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
11874 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
11875 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr ; \
11876 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11877 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11878 case $(srcdir) in \
11879 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11880 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11881 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11882 esac; \
11883 module_srcdir=mpfr; \
11884 $(SHELL) $$s/$$module_srcdir/configure \
11885 --srcdir=$${topdir}/$$module_srcdir \
11886 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11887 --target=${target_alias} \
11888 --with-build-libsubdir=$(HOST_SUBDIR) \
11889 $(STAGE3_CONFIGURE_FLAGS) \
11890 --disable-shared @extra_mpfr_configure_flags@
11891 @endif mpfr-bootstrap
11893 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
11894 maybe-configure-stage4-mpfr:
11895 @if mpfr-bootstrap
11896 maybe-configure-stage4-mpfr: configure-stage4-mpfr
11897 configure-stage4-mpfr:
11898 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11899 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11900 @r=`${PWD_COMMAND}`; export r; \
11901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11902 TFLAGS="$(STAGE4_TFLAGS)"; \
11903 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11904 $(HOST_EXPORTS) \
11905 $(POSTSTAGE1_HOST_EXPORTS) \
11906 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
11907 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
11908 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
11909 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr ; \
11910 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11911 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11912 case $(srcdir) in \
11913 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11914 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11915 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11916 esac; \
11917 module_srcdir=mpfr; \
11918 $(SHELL) $$s/$$module_srcdir/configure \
11919 --srcdir=$${topdir}/$$module_srcdir \
11920 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11921 --target=${target_alias} \
11922 --with-build-libsubdir=$(HOST_SUBDIR) \
11923 $(STAGE4_CONFIGURE_FLAGS) \
11924 --disable-shared @extra_mpfr_configure_flags@
11925 @endif mpfr-bootstrap
11927 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
11928 maybe-configure-stageprofile-mpfr:
11929 @if mpfr-bootstrap
11930 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
11931 configure-stageprofile-mpfr:
11932 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11933 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11934 @r=`${PWD_COMMAND}`; export r; \
11935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11936 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11937 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11938 $(HOST_EXPORTS) \
11939 $(POSTSTAGE1_HOST_EXPORTS) \
11940 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
11941 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
11942 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
11943 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr ; \
11944 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11945 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11946 case $(srcdir) in \
11947 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11948 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11949 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11950 esac; \
11951 module_srcdir=mpfr; \
11952 $(SHELL) $$s/$$module_srcdir/configure \
11953 --srcdir=$${topdir}/$$module_srcdir \
11954 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11955 --target=${target_alias} \
11956 --with-build-libsubdir=$(HOST_SUBDIR) \
11957 $(STAGEprofile_CONFIGURE_FLAGS) \
11958 --disable-shared @extra_mpfr_configure_flags@
11959 @endif mpfr-bootstrap
11961 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
11962 maybe-configure-stagefeedback-mpfr:
11963 @if mpfr-bootstrap
11964 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
11965 configure-stagefeedback-mpfr:
11966 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11967 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11968 @r=`${PWD_COMMAND}`; export r; \
11969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11970 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11971 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11972 $(HOST_EXPORTS) \
11973 $(POSTSTAGE1_HOST_EXPORTS) \
11974 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
11975 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
11976 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
11977 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr ; \
11978 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11979 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11980 case $(srcdir) in \
11981 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11982 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11983 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11984 esac; \
11985 module_srcdir=mpfr; \
11986 $(SHELL) $$s/$$module_srcdir/configure \
11987 --srcdir=$${topdir}/$$module_srcdir \
11988 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11989 --target=${target_alias} \
11990 --with-build-libsubdir=$(HOST_SUBDIR) \
11991 $(STAGEfeedback_CONFIGURE_FLAGS) \
11992 --disable-shared @extra_mpfr_configure_flags@
11993 @endif mpfr-bootstrap
11999 .PHONY: all-mpfr maybe-all-mpfr
12000 maybe-all-mpfr:
12001 @if gcc-bootstrap
12002 all-mpfr: stage_current
12003 @endif gcc-bootstrap
12004 @if mpfr
12005 TARGET-mpfr=all
12006 maybe-all-mpfr: all-mpfr
12007 all-mpfr: configure-mpfr
12008 @r=`${PWD_COMMAND}`; export r; \
12009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12010 $(HOST_EXPORTS) \
12011 (cd $(HOST_SUBDIR)/mpfr && \
12012 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
12013 $(TARGET-mpfr))
12014 @endif mpfr
12018 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
12019 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
12020 maybe-all-stage1-mpfr:
12021 maybe-clean-stage1-mpfr:
12022 @if mpfr-bootstrap
12023 maybe-all-stage1-mpfr: all-stage1-mpfr
12024 all-stage1: all-stage1-mpfr
12025 TARGET-stage1-mpfr = $(TARGET-mpfr)
12026 all-stage1-mpfr: configure-stage1-mpfr
12027 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12028 @r=`${PWD_COMMAND}`; export r; \
12029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12030 TFLAGS="$(STAGE1_TFLAGS)"; \
12031 $(HOST_EXPORTS) \
12032 cd $(HOST_SUBDIR)/mpfr && \
12033 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12034 CFLAGS="$(STAGE1_CFLAGS)" \
12035 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
12036 LIBCFLAGS="$(LIBCFLAGS)" \
12037 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12038 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12039 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12040 $(EXTRA_HOST_FLAGS) \
12041 $(STAGE1_FLAGS_TO_PASS) \
12042 TFLAGS="$(STAGE1_TFLAGS)" \
12043 $(TARGET-stage1-mpfr)
12045 maybe-clean-stage1-mpfr: clean-stage1-mpfr
12046 clean-stage1: clean-stage1-mpfr
12047 clean-stage1-mpfr:
12048 @if [ $(current_stage) = stage1 ]; then \
12049 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12050 else \
12051 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
12052 $(MAKE) stage1-start; \
12053 fi; \
12054 cd $(HOST_SUBDIR)/mpfr && \
12055 $(MAKE) $(EXTRA_HOST_FLAGS) \
12056 $(STAGE1_FLAGS_TO_PASS) clean
12057 @endif mpfr-bootstrap
12060 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
12061 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
12062 maybe-all-stage2-mpfr:
12063 maybe-clean-stage2-mpfr:
12064 @if mpfr-bootstrap
12065 maybe-all-stage2-mpfr: all-stage2-mpfr
12066 all-stage2: all-stage2-mpfr
12067 TARGET-stage2-mpfr = $(TARGET-mpfr)
12068 all-stage2-mpfr: configure-stage2-mpfr
12069 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12070 @r=`${PWD_COMMAND}`; export r; \
12071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12072 TFLAGS="$(STAGE2_TFLAGS)"; \
12073 $(HOST_EXPORTS) \
12074 $(POSTSTAGE1_HOST_EXPORTS) \
12075 cd $(HOST_SUBDIR)/mpfr && \
12076 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12077 CFLAGS="$(STAGE2_CFLAGS)" \
12078 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
12079 LIBCFLAGS="$(STAGE2_CFLAGS)" \
12080 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12081 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12082 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12083 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12084 TFLAGS="$(STAGE2_TFLAGS)" \
12085 $(TARGET-stage2-mpfr)
12087 maybe-clean-stage2-mpfr: clean-stage2-mpfr
12088 clean-stage2: clean-stage2-mpfr
12089 clean-stage2-mpfr:
12090 @if [ $(current_stage) = stage2 ]; then \
12091 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12092 else \
12093 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
12094 $(MAKE) stage2-start; \
12095 fi; \
12096 cd $(HOST_SUBDIR)/mpfr && \
12097 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12098 @endif mpfr-bootstrap
12101 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
12102 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
12103 maybe-all-stage3-mpfr:
12104 maybe-clean-stage3-mpfr:
12105 @if mpfr-bootstrap
12106 maybe-all-stage3-mpfr: all-stage3-mpfr
12107 all-stage3: all-stage3-mpfr
12108 TARGET-stage3-mpfr = $(TARGET-mpfr)
12109 all-stage3-mpfr: configure-stage3-mpfr
12110 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12111 @r=`${PWD_COMMAND}`; export r; \
12112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12113 TFLAGS="$(STAGE3_TFLAGS)"; \
12114 $(HOST_EXPORTS) \
12115 $(POSTSTAGE1_HOST_EXPORTS) \
12116 cd $(HOST_SUBDIR)/mpfr && \
12117 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12118 CFLAGS="$(STAGE3_CFLAGS)" \
12119 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
12120 LIBCFLAGS="$(STAGE3_CFLAGS)" \
12121 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12122 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12123 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12124 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12125 TFLAGS="$(STAGE3_TFLAGS)" \
12126 $(TARGET-stage3-mpfr)
12128 maybe-clean-stage3-mpfr: clean-stage3-mpfr
12129 clean-stage3: clean-stage3-mpfr
12130 clean-stage3-mpfr:
12131 @if [ $(current_stage) = stage3 ]; then \
12132 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12133 else \
12134 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
12135 $(MAKE) stage3-start; \
12136 fi; \
12137 cd $(HOST_SUBDIR)/mpfr && \
12138 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12139 @endif mpfr-bootstrap
12142 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
12143 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
12144 maybe-all-stage4-mpfr:
12145 maybe-clean-stage4-mpfr:
12146 @if mpfr-bootstrap
12147 maybe-all-stage4-mpfr: all-stage4-mpfr
12148 all-stage4: all-stage4-mpfr
12149 TARGET-stage4-mpfr = $(TARGET-mpfr)
12150 all-stage4-mpfr: configure-stage4-mpfr
12151 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12152 @r=`${PWD_COMMAND}`; export r; \
12153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12154 TFLAGS="$(STAGE4_TFLAGS)"; \
12155 $(HOST_EXPORTS) \
12156 $(POSTSTAGE1_HOST_EXPORTS) \
12157 cd $(HOST_SUBDIR)/mpfr && \
12158 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12159 CFLAGS="$(STAGE4_CFLAGS)" \
12160 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
12161 LIBCFLAGS="$(STAGE4_CFLAGS)" \
12162 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12163 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12164 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12165 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12166 TFLAGS="$(STAGE4_TFLAGS)" \
12167 $(TARGET-stage4-mpfr)
12169 maybe-clean-stage4-mpfr: clean-stage4-mpfr
12170 clean-stage4: clean-stage4-mpfr
12171 clean-stage4-mpfr:
12172 @if [ $(current_stage) = stage4 ]; then \
12173 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12174 else \
12175 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
12176 $(MAKE) stage4-start; \
12177 fi; \
12178 cd $(HOST_SUBDIR)/mpfr && \
12179 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12180 @endif mpfr-bootstrap
12183 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
12184 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
12185 maybe-all-stageprofile-mpfr:
12186 maybe-clean-stageprofile-mpfr:
12187 @if mpfr-bootstrap
12188 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
12189 all-stageprofile: all-stageprofile-mpfr
12190 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
12191 all-stageprofile-mpfr: configure-stageprofile-mpfr
12192 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12193 @r=`${PWD_COMMAND}`; export r; \
12194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12195 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12196 $(HOST_EXPORTS) \
12197 $(POSTSTAGE1_HOST_EXPORTS) \
12198 cd $(HOST_SUBDIR)/mpfr && \
12199 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12200 CFLAGS="$(STAGEprofile_CFLAGS)" \
12201 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
12202 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
12203 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12204 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12205 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12206 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12207 TFLAGS="$(STAGEprofile_TFLAGS)" \
12208 $(TARGET-stageprofile-mpfr)
12210 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
12211 clean-stageprofile: clean-stageprofile-mpfr
12212 clean-stageprofile-mpfr:
12213 @if [ $(current_stage) = stageprofile ]; then \
12214 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12215 else \
12216 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
12217 $(MAKE) stageprofile-start; \
12218 fi; \
12219 cd $(HOST_SUBDIR)/mpfr && \
12220 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12221 @endif mpfr-bootstrap
12224 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
12225 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
12226 maybe-all-stagefeedback-mpfr:
12227 maybe-clean-stagefeedback-mpfr:
12228 @if mpfr-bootstrap
12229 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
12230 all-stagefeedback: all-stagefeedback-mpfr
12231 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
12232 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
12233 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12234 @r=`${PWD_COMMAND}`; export r; \
12235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12236 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12237 $(HOST_EXPORTS) \
12238 $(POSTSTAGE1_HOST_EXPORTS) \
12239 cd $(HOST_SUBDIR)/mpfr && \
12240 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12241 CFLAGS="$(STAGEfeedback_CFLAGS)" \
12242 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
12243 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
12244 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12245 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12246 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12247 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12248 TFLAGS="$(STAGEfeedback_TFLAGS)" \
12249 $(TARGET-stagefeedback-mpfr)
12251 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
12252 clean-stagefeedback: clean-stagefeedback-mpfr
12253 clean-stagefeedback-mpfr:
12254 @if [ $(current_stage) = stagefeedback ]; then \
12255 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12256 else \
12257 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
12258 $(MAKE) stagefeedback-start; \
12259 fi; \
12260 cd $(HOST_SUBDIR)/mpfr && \
12261 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12262 @endif mpfr-bootstrap
12268 .PHONY: check-mpfr maybe-check-mpfr
12269 maybe-check-mpfr:
12270 @if mpfr
12271 maybe-check-mpfr: check-mpfr
12273 check-mpfr:
12274 @: $(MAKE); $(unstage)
12275 @r=`${PWD_COMMAND}`; export r; \
12276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12277 $(HOST_EXPORTS) \
12278 (cd $(HOST_SUBDIR)/mpfr && \
12279 $(MAKE) $(FLAGS_TO_PASS) check)
12281 @endif mpfr
12283 .PHONY: install-mpfr maybe-install-mpfr
12284 maybe-install-mpfr:
12285 @if mpfr
12286 maybe-install-mpfr: install-mpfr
12288 install-mpfr:
12290 @endif mpfr
12292 .PHONY: install-strip-mpfr maybe-install-strip-mpfr
12293 maybe-install-strip-mpfr:
12294 @if mpfr
12295 maybe-install-strip-mpfr: install-strip-mpfr
12297 install-strip-mpfr:
12299 @endif mpfr
12301 # Other targets (info, dvi, pdf, etc.)
12303 .PHONY: maybe-info-mpfr info-mpfr
12304 maybe-info-mpfr:
12305 @if mpfr
12306 maybe-info-mpfr: info-mpfr
12308 info-mpfr: \
12309 configure-mpfr
12310 @[ -f ./mpfr/Makefile ] || exit 0; \
12311 r=`${PWD_COMMAND}`; export r; \
12312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12313 $(HOST_EXPORTS) \
12314 for flag in $(EXTRA_HOST_FLAGS) ; do \
12315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12316 done; \
12317 echo "Doing info in mpfr" ; \
12318 (cd $(HOST_SUBDIR)/mpfr && \
12319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12321 "RANLIB=$${RANLIB}" \
12322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12323 info) \
12324 || exit 1
12326 @endif mpfr
12328 .PHONY: maybe-dvi-mpfr dvi-mpfr
12329 maybe-dvi-mpfr:
12330 @if mpfr
12331 maybe-dvi-mpfr: dvi-mpfr
12333 dvi-mpfr: \
12334 configure-mpfr
12335 @[ -f ./mpfr/Makefile ] || exit 0; \
12336 r=`${PWD_COMMAND}`; export r; \
12337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12338 $(HOST_EXPORTS) \
12339 for flag in $(EXTRA_HOST_FLAGS) ; do \
12340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12341 done; \
12342 echo "Doing dvi in mpfr" ; \
12343 (cd $(HOST_SUBDIR)/mpfr && \
12344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12346 "RANLIB=$${RANLIB}" \
12347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12348 dvi) \
12349 || exit 1
12351 @endif mpfr
12353 .PHONY: maybe-pdf-mpfr pdf-mpfr
12354 maybe-pdf-mpfr:
12355 @if mpfr
12356 maybe-pdf-mpfr: pdf-mpfr
12358 pdf-mpfr: \
12359 configure-mpfr
12360 @[ -f ./mpfr/Makefile ] || exit 0; \
12361 r=`${PWD_COMMAND}`; export r; \
12362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12363 $(HOST_EXPORTS) \
12364 for flag in $(EXTRA_HOST_FLAGS) ; do \
12365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12366 done; \
12367 echo "Doing pdf in mpfr" ; \
12368 (cd $(HOST_SUBDIR)/mpfr && \
12369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12371 "RANLIB=$${RANLIB}" \
12372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12373 pdf) \
12374 || exit 1
12376 @endif mpfr
12378 .PHONY: maybe-html-mpfr html-mpfr
12379 maybe-html-mpfr:
12380 @if mpfr
12381 maybe-html-mpfr: html-mpfr
12383 html-mpfr: \
12384 configure-mpfr
12385 @[ -f ./mpfr/Makefile ] || exit 0; \
12386 r=`${PWD_COMMAND}`; export r; \
12387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12388 $(HOST_EXPORTS) \
12389 for flag in $(EXTRA_HOST_FLAGS) ; do \
12390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12391 done; \
12392 echo "Doing html in mpfr" ; \
12393 (cd $(HOST_SUBDIR)/mpfr && \
12394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12396 "RANLIB=$${RANLIB}" \
12397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12398 html) \
12399 || exit 1
12401 @endif mpfr
12403 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
12404 maybe-TAGS-mpfr:
12405 @if mpfr
12406 maybe-TAGS-mpfr: TAGS-mpfr
12408 TAGS-mpfr: \
12409 configure-mpfr
12410 @[ -f ./mpfr/Makefile ] || exit 0; \
12411 r=`${PWD_COMMAND}`; export r; \
12412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12413 $(HOST_EXPORTS) \
12414 for flag in $(EXTRA_HOST_FLAGS) ; do \
12415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12416 done; \
12417 echo "Doing TAGS in mpfr" ; \
12418 (cd $(HOST_SUBDIR)/mpfr && \
12419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12421 "RANLIB=$${RANLIB}" \
12422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12423 TAGS) \
12424 || exit 1
12426 @endif mpfr
12428 .PHONY: maybe-install-info-mpfr install-info-mpfr
12429 maybe-install-info-mpfr:
12430 @if mpfr
12431 maybe-install-info-mpfr: install-info-mpfr
12433 install-info-mpfr: \
12434 configure-mpfr \
12435 info-mpfr
12436 @[ -f ./mpfr/Makefile ] || exit 0; \
12437 r=`${PWD_COMMAND}`; export r; \
12438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12439 $(HOST_EXPORTS) \
12440 for flag in $(EXTRA_HOST_FLAGS) ; do \
12441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12442 done; \
12443 echo "Doing install-info in mpfr" ; \
12444 (cd $(HOST_SUBDIR)/mpfr && \
12445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12447 "RANLIB=$${RANLIB}" \
12448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12449 install-info) \
12450 || exit 1
12452 @endif mpfr
12454 .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr
12455 maybe-install-pdf-mpfr:
12456 @if mpfr
12457 maybe-install-pdf-mpfr: install-pdf-mpfr
12459 install-pdf-mpfr: \
12460 configure-mpfr \
12461 pdf-mpfr
12462 @[ -f ./mpfr/Makefile ] || exit 0; \
12463 r=`${PWD_COMMAND}`; export r; \
12464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12465 $(HOST_EXPORTS) \
12466 for flag in $(EXTRA_HOST_FLAGS) ; do \
12467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12468 done; \
12469 echo "Doing install-pdf in mpfr" ; \
12470 (cd $(HOST_SUBDIR)/mpfr && \
12471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12473 "RANLIB=$${RANLIB}" \
12474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12475 install-pdf) \
12476 || exit 1
12478 @endif mpfr
12480 .PHONY: maybe-install-html-mpfr install-html-mpfr
12481 maybe-install-html-mpfr:
12482 @if mpfr
12483 maybe-install-html-mpfr: install-html-mpfr
12485 install-html-mpfr: \
12486 configure-mpfr \
12487 html-mpfr
12488 @[ -f ./mpfr/Makefile ] || exit 0; \
12489 r=`${PWD_COMMAND}`; export r; \
12490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12491 $(HOST_EXPORTS) \
12492 for flag in $(EXTRA_HOST_FLAGS) ; do \
12493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12494 done; \
12495 echo "Doing install-html in mpfr" ; \
12496 (cd $(HOST_SUBDIR)/mpfr && \
12497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12499 "RANLIB=$${RANLIB}" \
12500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12501 install-html) \
12502 || exit 1
12504 @endif mpfr
12506 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
12507 maybe-installcheck-mpfr:
12508 @if mpfr
12509 maybe-installcheck-mpfr: installcheck-mpfr
12511 installcheck-mpfr: \
12512 configure-mpfr
12513 @[ -f ./mpfr/Makefile ] || exit 0; \
12514 r=`${PWD_COMMAND}`; export r; \
12515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12516 $(HOST_EXPORTS) \
12517 for flag in $(EXTRA_HOST_FLAGS) ; do \
12518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12519 done; \
12520 echo "Doing installcheck in mpfr" ; \
12521 (cd $(HOST_SUBDIR)/mpfr && \
12522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12524 "RANLIB=$${RANLIB}" \
12525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12526 installcheck) \
12527 || exit 1
12529 @endif mpfr
12531 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
12532 maybe-mostlyclean-mpfr:
12533 @if mpfr
12534 maybe-mostlyclean-mpfr: mostlyclean-mpfr
12536 mostlyclean-mpfr:
12537 @[ -f ./mpfr/Makefile ] || exit 0; \
12538 r=`${PWD_COMMAND}`; export r; \
12539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12540 $(HOST_EXPORTS) \
12541 for flag in $(EXTRA_HOST_FLAGS) ; do \
12542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12543 done; \
12544 echo "Doing mostlyclean in mpfr" ; \
12545 (cd $(HOST_SUBDIR)/mpfr && \
12546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12548 "RANLIB=$${RANLIB}" \
12549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12550 mostlyclean) \
12551 || exit 1
12553 @endif mpfr
12555 .PHONY: maybe-clean-mpfr clean-mpfr
12556 maybe-clean-mpfr:
12557 @if mpfr
12558 maybe-clean-mpfr: clean-mpfr
12560 clean-mpfr:
12561 @[ -f ./mpfr/Makefile ] || exit 0; \
12562 r=`${PWD_COMMAND}`; export r; \
12563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12564 $(HOST_EXPORTS) \
12565 for flag in $(EXTRA_HOST_FLAGS) ; do \
12566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12567 done; \
12568 echo "Doing clean in mpfr" ; \
12569 (cd $(HOST_SUBDIR)/mpfr && \
12570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12572 "RANLIB=$${RANLIB}" \
12573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12574 clean) \
12575 || exit 1
12577 @endif mpfr
12579 .PHONY: maybe-distclean-mpfr distclean-mpfr
12580 maybe-distclean-mpfr:
12581 @if mpfr
12582 maybe-distclean-mpfr: distclean-mpfr
12584 distclean-mpfr:
12585 @[ -f ./mpfr/Makefile ] || exit 0; \
12586 r=`${PWD_COMMAND}`; export r; \
12587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12588 $(HOST_EXPORTS) \
12589 for flag in $(EXTRA_HOST_FLAGS) ; do \
12590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12591 done; \
12592 echo "Doing distclean in mpfr" ; \
12593 (cd $(HOST_SUBDIR)/mpfr && \
12594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12596 "RANLIB=$${RANLIB}" \
12597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12598 distclean) \
12599 || exit 1
12601 @endif mpfr
12603 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
12604 maybe-maintainer-clean-mpfr:
12605 @if mpfr
12606 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
12608 maintainer-clean-mpfr:
12609 @[ -f ./mpfr/Makefile ] || exit 0; \
12610 r=`${PWD_COMMAND}`; export r; \
12611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12612 $(HOST_EXPORTS) \
12613 for flag in $(EXTRA_HOST_FLAGS) ; do \
12614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12615 done; \
12616 echo "Doing maintainer-clean in mpfr" ; \
12617 (cd $(HOST_SUBDIR)/mpfr && \
12618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12620 "RANLIB=$${RANLIB}" \
12621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12622 maintainer-clean) \
12623 || exit 1
12625 @endif mpfr
12629 .PHONY: configure-mpc maybe-configure-mpc
12630 maybe-configure-mpc:
12631 @if gcc-bootstrap
12632 configure-mpc: stage_current
12633 @endif gcc-bootstrap
12634 @if mpc
12635 maybe-configure-mpc: configure-mpc
12636 configure-mpc:
12637 @r=`${PWD_COMMAND}`; export r; \
12638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12639 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12640 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12641 $(HOST_EXPORTS) \
12642 echo Configuring in $(HOST_SUBDIR)/mpc; \
12643 cd "$(HOST_SUBDIR)/mpc" || exit 1; \
12644 case $(srcdir) in \
12645 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12646 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12647 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12648 esac; \
12649 module_srcdir=mpc; \
12650 $(SHELL) \
12651 $$s/$$module_srcdir/configure \
12652 --srcdir=$${topdir}/$$module_srcdir \
12653 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12654 --target=${target_alias} --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ \
12655 || exit 1
12656 @endif mpc
12660 .PHONY: configure-stage1-mpc maybe-configure-stage1-mpc
12661 maybe-configure-stage1-mpc:
12662 @if mpc-bootstrap
12663 maybe-configure-stage1-mpc: configure-stage1-mpc
12664 configure-stage1-mpc:
12665 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12666 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12667 @r=`${PWD_COMMAND}`; export r; \
12668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12669 TFLAGS="$(STAGE1_TFLAGS)"; \
12670 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12671 $(HOST_EXPORTS) \
12672 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
12673 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
12674 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
12675 echo Configuring stage 1 in $(HOST_SUBDIR)/mpc ; \
12676 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12677 cd $(HOST_SUBDIR)/mpc || exit 1; \
12678 case $(srcdir) in \
12679 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12680 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12681 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12682 esac; \
12683 module_srcdir=mpc; \
12684 $(SHELL) $$s/$$module_srcdir/configure \
12685 --srcdir=$${topdir}/$$module_srcdir \
12686 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12687 --target=${target_alias} \
12689 $(STAGE1_CONFIGURE_FLAGS) \
12690 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12691 @endif mpc-bootstrap
12693 .PHONY: configure-stage2-mpc maybe-configure-stage2-mpc
12694 maybe-configure-stage2-mpc:
12695 @if mpc-bootstrap
12696 maybe-configure-stage2-mpc: configure-stage2-mpc
12697 configure-stage2-mpc:
12698 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12699 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12700 @r=`${PWD_COMMAND}`; export r; \
12701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12702 TFLAGS="$(STAGE2_TFLAGS)"; \
12703 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12704 $(HOST_EXPORTS) \
12705 $(POSTSTAGE1_HOST_EXPORTS) \
12706 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
12707 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
12708 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
12709 echo Configuring stage 2 in $(HOST_SUBDIR)/mpc ; \
12710 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12711 cd $(HOST_SUBDIR)/mpc || exit 1; \
12712 case $(srcdir) in \
12713 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12714 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12715 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12716 esac; \
12717 module_srcdir=mpc; \
12718 $(SHELL) $$s/$$module_srcdir/configure \
12719 --srcdir=$${topdir}/$$module_srcdir \
12720 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12721 --target=${target_alias} \
12722 --with-build-libsubdir=$(HOST_SUBDIR) \
12723 $(STAGE2_CONFIGURE_FLAGS) \
12724 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12725 @endif mpc-bootstrap
12727 .PHONY: configure-stage3-mpc maybe-configure-stage3-mpc
12728 maybe-configure-stage3-mpc:
12729 @if mpc-bootstrap
12730 maybe-configure-stage3-mpc: configure-stage3-mpc
12731 configure-stage3-mpc:
12732 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12733 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12734 @r=`${PWD_COMMAND}`; export r; \
12735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12736 TFLAGS="$(STAGE3_TFLAGS)"; \
12737 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12738 $(HOST_EXPORTS) \
12739 $(POSTSTAGE1_HOST_EXPORTS) \
12740 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
12741 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
12742 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
12743 echo Configuring stage 3 in $(HOST_SUBDIR)/mpc ; \
12744 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12745 cd $(HOST_SUBDIR)/mpc || exit 1; \
12746 case $(srcdir) in \
12747 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12748 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12749 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12750 esac; \
12751 module_srcdir=mpc; \
12752 $(SHELL) $$s/$$module_srcdir/configure \
12753 --srcdir=$${topdir}/$$module_srcdir \
12754 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12755 --target=${target_alias} \
12756 --with-build-libsubdir=$(HOST_SUBDIR) \
12757 $(STAGE3_CONFIGURE_FLAGS) \
12758 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12759 @endif mpc-bootstrap
12761 .PHONY: configure-stage4-mpc maybe-configure-stage4-mpc
12762 maybe-configure-stage4-mpc:
12763 @if mpc-bootstrap
12764 maybe-configure-stage4-mpc: configure-stage4-mpc
12765 configure-stage4-mpc:
12766 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12767 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12768 @r=`${PWD_COMMAND}`; export r; \
12769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12770 TFLAGS="$(STAGE4_TFLAGS)"; \
12771 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12772 $(HOST_EXPORTS) \
12773 $(POSTSTAGE1_HOST_EXPORTS) \
12774 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
12775 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
12776 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
12777 echo Configuring stage 4 in $(HOST_SUBDIR)/mpc ; \
12778 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12779 cd $(HOST_SUBDIR)/mpc || exit 1; \
12780 case $(srcdir) in \
12781 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12782 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12783 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12784 esac; \
12785 module_srcdir=mpc; \
12786 $(SHELL) $$s/$$module_srcdir/configure \
12787 --srcdir=$${topdir}/$$module_srcdir \
12788 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12789 --target=${target_alias} \
12790 --with-build-libsubdir=$(HOST_SUBDIR) \
12791 $(STAGE4_CONFIGURE_FLAGS) \
12792 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12793 @endif mpc-bootstrap
12795 .PHONY: configure-stageprofile-mpc maybe-configure-stageprofile-mpc
12796 maybe-configure-stageprofile-mpc:
12797 @if mpc-bootstrap
12798 maybe-configure-stageprofile-mpc: configure-stageprofile-mpc
12799 configure-stageprofile-mpc:
12800 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12801 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12802 @r=`${PWD_COMMAND}`; export r; \
12803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12804 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12805 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12806 $(HOST_EXPORTS) \
12807 $(POSTSTAGE1_HOST_EXPORTS) \
12808 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
12809 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
12810 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
12811 echo Configuring stage profile in $(HOST_SUBDIR)/mpc ; \
12812 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12813 cd $(HOST_SUBDIR)/mpc || exit 1; \
12814 case $(srcdir) in \
12815 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12816 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12817 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12818 esac; \
12819 module_srcdir=mpc; \
12820 $(SHELL) $$s/$$module_srcdir/configure \
12821 --srcdir=$${topdir}/$$module_srcdir \
12822 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12823 --target=${target_alias} \
12824 --with-build-libsubdir=$(HOST_SUBDIR) \
12825 $(STAGEprofile_CONFIGURE_FLAGS) \
12826 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12827 @endif mpc-bootstrap
12829 .PHONY: configure-stagefeedback-mpc maybe-configure-stagefeedback-mpc
12830 maybe-configure-stagefeedback-mpc:
12831 @if mpc-bootstrap
12832 maybe-configure-stagefeedback-mpc: configure-stagefeedback-mpc
12833 configure-stagefeedback-mpc:
12834 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12835 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12836 @r=`${PWD_COMMAND}`; export r; \
12837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12838 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12839 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12840 $(HOST_EXPORTS) \
12841 $(POSTSTAGE1_HOST_EXPORTS) \
12842 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
12843 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
12844 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
12845 echo Configuring stage feedback in $(HOST_SUBDIR)/mpc ; \
12846 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12847 cd $(HOST_SUBDIR)/mpc || exit 1; \
12848 case $(srcdir) in \
12849 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12850 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12851 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12852 esac; \
12853 module_srcdir=mpc; \
12854 $(SHELL) $$s/$$module_srcdir/configure \
12855 --srcdir=$${topdir}/$$module_srcdir \
12856 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12857 --target=${target_alias} \
12858 --with-build-libsubdir=$(HOST_SUBDIR) \
12859 $(STAGEfeedback_CONFIGURE_FLAGS) \
12860 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12861 @endif mpc-bootstrap
12867 .PHONY: all-mpc maybe-all-mpc
12868 maybe-all-mpc:
12869 @if gcc-bootstrap
12870 all-mpc: stage_current
12871 @endif gcc-bootstrap
12872 @if mpc
12873 TARGET-mpc=all
12874 maybe-all-mpc: all-mpc
12875 all-mpc: configure-mpc
12876 @r=`${PWD_COMMAND}`; export r; \
12877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12878 $(HOST_EXPORTS) \
12879 (cd $(HOST_SUBDIR)/mpc && \
12880 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
12881 $(TARGET-mpc))
12882 @endif mpc
12886 .PHONY: all-stage1-mpc maybe-all-stage1-mpc
12887 .PHONY: clean-stage1-mpc maybe-clean-stage1-mpc
12888 maybe-all-stage1-mpc:
12889 maybe-clean-stage1-mpc:
12890 @if mpc-bootstrap
12891 maybe-all-stage1-mpc: all-stage1-mpc
12892 all-stage1: all-stage1-mpc
12893 TARGET-stage1-mpc = $(TARGET-mpc)
12894 all-stage1-mpc: configure-stage1-mpc
12895 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12896 @r=`${PWD_COMMAND}`; export r; \
12897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12898 TFLAGS="$(STAGE1_TFLAGS)"; \
12899 $(HOST_EXPORTS) \
12900 cd $(HOST_SUBDIR)/mpc && \
12901 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12902 CFLAGS="$(STAGE1_CFLAGS)" \
12903 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
12904 LIBCFLAGS="$(LIBCFLAGS)" \
12905 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12906 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12907 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12908 $(EXTRA_HOST_FLAGS) \
12909 $(STAGE1_FLAGS_TO_PASS) \
12910 TFLAGS="$(STAGE1_TFLAGS)" \
12911 $(TARGET-stage1-mpc)
12913 maybe-clean-stage1-mpc: clean-stage1-mpc
12914 clean-stage1: clean-stage1-mpc
12915 clean-stage1-mpc:
12916 @if [ $(current_stage) = stage1 ]; then \
12917 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12918 else \
12919 [ -f $(HOST_SUBDIR)/stage1-mpc/Makefile ] || exit 0; \
12920 $(MAKE) stage1-start; \
12921 fi; \
12922 cd $(HOST_SUBDIR)/mpc && \
12923 $(MAKE) $(EXTRA_HOST_FLAGS) \
12924 $(STAGE1_FLAGS_TO_PASS) clean
12925 @endif mpc-bootstrap
12928 .PHONY: all-stage2-mpc maybe-all-stage2-mpc
12929 .PHONY: clean-stage2-mpc maybe-clean-stage2-mpc
12930 maybe-all-stage2-mpc:
12931 maybe-clean-stage2-mpc:
12932 @if mpc-bootstrap
12933 maybe-all-stage2-mpc: all-stage2-mpc
12934 all-stage2: all-stage2-mpc
12935 TARGET-stage2-mpc = $(TARGET-mpc)
12936 all-stage2-mpc: configure-stage2-mpc
12937 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12938 @r=`${PWD_COMMAND}`; export r; \
12939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12940 TFLAGS="$(STAGE2_TFLAGS)"; \
12941 $(HOST_EXPORTS) \
12942 $(POSTSTAGE1_HOST_EXPORTS) \
12943 cd $(HOST_SUBDIR)/mpc && \
12944 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12945 CFLAGS="$(STAGE2_CFLAGS)" \
12946 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
12947 LIBCFLAGS="$(STAGE2_CFLAGS)" \
12948 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12949 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12950 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12951 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12952 TFLAGS="$(STAGE2_TFLAGS)" \
12953 $(TARGET-stage2-mpc)
12955 maybe-clean-stage2-mpc: clean-stage2-mpc
12956 clean-stage2: clean-stage2-mpc
12957 clean-stage2-mpc:
12958 @if [ $(current_stage) = stage2 ]; then \
12959 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12960 else \
12961 [ -f $(HOST_SUBDIR)/stage2-mpc/Makefile ] || exit 0; \
12962 $(MAKE) stage2-start; \
12963 fi; \
12964 cd $(HOST_SUBDIR)/mpc && \
12965 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12966 @endif mpc-bootstrap
12969 .PHONY: all-stage3-mpc maybe-all-stage3-mpc
12970 .PHONY: clean-stage3-mpc maybe-clean-stage3-mpc
12971 maybe-all-stage3-mpc:
12972 maybe-clean-stage3-mpc:
12973 @if mpc-bootstrap
12974 maybe-all-stage3-mpc: all-stage3-mpc
12975 all-stage3: all-stage3-mpc
12976 TARGET-stage3-mpc = $(TARGET-mpc)
12977 all-stage3-mpc: configure-stage3-mpc
12978 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12979 @r=`${PWD_COMMAND}`; export r; \
12980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12981 TFLAGS="$(STAGE3_TFLAGS)"; \
12982 $(HOST_EXPORTS) \
12983 $(POSTSTAGE1_HOST_EXPORTS) \
12984 cd $(HOST_SUBDIR)/mpc && \
12985 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12986 CFLAGS="$(STAGE3_CFLAGS)" \
12987 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
12988 LIBCFLAGS="$(STAGE3_CFLAGS)" \
12989 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12990 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12991 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12992 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12993 TFLAGS="$(STAGE3_TFLAGS)" \
12994 $(TARGET-stage3-mpc)
12996 maybe-clean-stage3-mpc: clean-stage3-mpc
12997 clean-stage3: clean-stage3-mpc
12998 clean-stage3-mpc:
12999 @if [ $(current_stage) = stage3 ]; then \
13000 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
13001 else \
13002 [ -f $(HOST_SUBDIR)/stage3-mpc/Makefile ] || exit 0; \
13003 $(MAKE) stage3-start; \
13004 fi; \
13005 cd $(HOST_SUBDIR)/mpc && \
13006 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
13007 @endif mpc-bootstrap
13010 .PHONY: all-stage4-mpc maybe-all-stage4-mpc
13011 .PHONY: clean-stage4-mpc maybe-clean-stage4-mpc
13012 maybe-all-stage4-mpc:
13013 maybe-clean-stage4-mpc:
13014 @if mpc-bootstrap
13015 maybe-all-stage4-mpc: all-stage4-mpc
13016 all-stage4: all-stage4-mpc
13017 TARGET-stage4-mpc = $(TARGET-mpc)
13018 all-stage4-mpc: configure-stage4-mpc
13019 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13020 @r=`${PWD_COMMAND}`; export r; \
13021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13022 TFLAGS="$(STAGE4_TFLAGS)"; \
13023 $(HOST_EXPORTS) \
13024 $(POSTSTAGE1_HOST_EXPORTS) \
13025 cd $(HOST_SUBDIR)/mpc && \
13026 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13027 CFLAGS="$(STAGE4_CFLAGS)" \
13028 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
13029 LIBCFLAGS="$(STAGE4_CFLAGS)" \
13030 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13031 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13032 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13033 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13034 TFLAGS="$(STAGE4_TFLAGS)" \
13035 $(TARGET-stage4-mpc)
13037 maybe-clean-stage4-mpc: clean-stage4-mpc
13038 clean-stage4: clean-stage4-mpc
13039 clean-stage4-mpc:
13040 @if [ $(current_stage) = stage4 ]; then \
13041 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
13042 else \
13043 [ -f $(HOST_SUBDIR)/stage4-mpc/Makefile ] || exit 0; \
13044 $(MAKE) stage4-start; \
13045 fi; \
13046 cd $(HOST_SUBDIR)/mpc && \
13047 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
13048 @endif mpc-bootstrap
13051 .PHONY: all-stageprofile-mpc maybe-all-stageprofile-mpc
13052 .PHONY: clean-stageprofile-mpc maybe-clean-stageprofile-mpc
13053 maybe-all-stageprofile-mpc:
13054 maybe-clean-stageprofile-mpc:
13055 @if mpc-bootstrap
13056 maybe-all-stageprofile-mpc: all-stageprofile-mpc
13057 all-stageprofile: all-stageprofile-mpc
13058 TARGET-stageprofile-mpc = $(TARGET-mpc)
13059 all-stageprofile-mpc: configure-stageprofile-mpc
13060 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13061 @r=`${PWD_COMMAND}`; export r; \
13062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13063 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13064 $(HOST_EXPORTS) \
13065 $(POSTSTAGE1_HOST_EXPORTS) \
13066 cd $(HOST_SUBDIR)/mpc && \
13067 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13068 CFLAGS="$(STAGEprofile_CFLAGS)" \
13069 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
13070 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
13071 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13072 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13073 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13074 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13075 TFLAGS="$(STAGEprofile_TFLAGS)" \
13076 $(TARGET-stageprofile-mpc)
13078 maybe-clean-stageprofile-mpc: clean-stageprofile-mpc
13079 clean-stageprofile: clean-stageprofile-mpc
13080 clean-stageprofile-mpc:
13081 @if [ $(current_stage) = stageprofile ]; then \
13082 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
13083 else \
13084 [ -f $(HOST_SUBDIR)/stageprofile-mpc/Makefile ] || exit 0; \
13085 $(MAKE) stageprofile-start; \
13086 fi; \
13087 cd $(HOST_SUBDIR)/mpc && \
13088 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
13089 @endif mpc-bootstrap
13092 .PHONY: all-stagefeedback-mpc maybe-all-stagefeedback-mpc
13093 .PHONY: clean-stagefeedback-mpc maybe-clean-stagefeedback-mpc
13094 maybe-all-stagefeedback-mpc:
13095 maybe-clean-stagefeedback-mpc:
13096 @if mpc-bootstrap
13097 maybe-all-stagefeedback-mpc: all-stagefeedback-mpc
13098 all-stagefeedback: all-stagefeedback-mpc
13099 TARGET-stagefeedback-mpc = $(TARGET-mpc)
13100 all-stagefeedback-mpc: configure-stagefeedback-mpc
13101 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13102 @r=`${PWD_COMMAND}`; export r; \
13103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13104 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13105 $(HOST_EXPORTS) \
13106 $(POSTSTAGE1_HOST_EXPORTS) \
13107 cd $(HOST_SUBDIR)/mpc && \
13108 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13109 CFLAGS="$(STAGEfeedback_CFLAGS)" \
13110 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
13111 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
13112 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13113 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13114 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13115 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13116 TFLAGS="$(STAGEfeedback_TFLAGS)" \
13117 $(TARGET-stagefeedback-mpc)
13119 maybe-clean-stagefeedback-mpc: clean-stagefeedback-mpc
13120 clean-stagefeedback: clean-stagefeedback-mpc
13121 clean-stagefeedback-mpc:
13122 @if [ $(current_stage) = stagefeedback ]; then \
13123 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
13124 else \
13125 [ -f $(HOST_SUBDIR)/stagefeedback-mpc/Makefile ] || exit 0; \
13126 $(MAKE) stagefeedback-start; \
13127 fi; \
13128 cd $(HOST_SUBDIR)/mpc && \
13129 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
13130 @endif mpc-bootstrap
13136 .PHONY: check-mpc maybe-check-mpc
13137 maybe-check-mpc:
13138 @if mpc
13139 maybe-check-mpc: check-mpc
13141 check-mpc:
13142 @: $(MAKE); $(unstage)
13143 @r=`${PWD_COMMAND}`; export r; \
13144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13145 $(HOST_EXPORTS) \
13146 (cd $(HOST_SUBDIR)/mpc && \
13147 $(MAKE) $(FLAGS_TO_PASS) check)
13149 @endif mpc
13151 .PHONY: install-mpc maybe-install-mpc
13152 maybe-install-mpc:
13153 @if mpc
13154 maybe-install-mpc: install-mpc
13156 install-mpc:
13158 @endif mpc
13160 .PHONY: install-strip-mpc maybe-install-strip-mpc
13161 maybe-install-strip-mpc:
13162 @if mpc
13163 maybe-install-strip-mpc: install-strip-mpc
13165 install-strip-mpc:
13167 @endif mpc
13169 # Other targets (info, dvi, pdf, etc.)
13171 .PHONY: maybe-info-mpc info-mpc
13172 maybe-info-mpc:
13173 @if mpc
13174 maybe-info-mpc: info-mpc
13176 info-mpc: \
13177 configure-mpc
13178 @[ -f ./mpc/Makefile ] || exit 0; \
13179 r=`${PWD_COMMAND}`; export r; \
13180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13181 $(HOST_EXPORTS) \
13182 for flag in $(EXTRA_HOST_FLAGS) ; do \
13183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13184 done; \
13185 echo "Doing info in mpc" ; \
13186 (cd $(HOST_SUBDIR)/mpc && \
13187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13189 "RANLIB=$${RANLIB}" \
13190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13191 info) \
13192 || exit 1
13194 @endif mpc
13196 .PHONY: maybe-dvi-mpc dvi-mpc
13197 maybe-dvi-mpc:
13198 @if mpc
13199 maybe-dvi-mpc: dvi-mpc
13201 dvi-mpc: \
13202 configure-mpc
13203 @[ -f ./mpc/Makefile ] || exit 0; \
13204 r=`${PWD_COMMAND}`; export r; \
13205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13206 $(HOST_EXPORTS) \
13207 for flag in $(EXTRA_HOST_FLAGS) ; do \
13208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13209 done; \
13210 echo "Doing dvi in mpc" ; \
13211 (cd $(HOST_SUBDIR)/mpc && \
13212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13214 "RANLIB=$${RANLIB}" \
13215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13216 dvi) \
13217 || exit 1
13219 @endif mpc
13221 .PHONY: maybe-pdf-mpc pdf-mpc
13222 maybe-pdf-mpc:
13223 @if mpc
13224 maybe-pdf-mpc: pdf-mpc
13226 pdf-mpc: \
13227 configure-mpc
13228 @[ -f ./mpc/Makefile ] || exit 0; \
13229 r=`${PWD_COMMAND}`; export r; \
13230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13231 $(HOST_EXPORTS) \
13232 for flag in $(EXTRA_HOST_FLAGS) ; do \
13233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13234 done; \
13235 echo "Doing pdf in mpc" ; \
13236 (cd $(HOST_SUBDIR)/mpc && \
13237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13239 "RANLIB=$${RANLIB}" \
13240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13241 pdf) \
13242 || exit 1
13244 @endif mpc
13246 .PHONY: maybe-html-mpc html-mpc
13247 maybe-html-mpc:
13248 @if mpc
13249 maybe-html-mpc: html-mpc
13251 html-mpc: \
13252 configure-mpc
13253 @[ -f ./mpc/Makefile ] || exit 0; \
13254 r=`${PWD_COMMAND}`; export r; \
13255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13256 $(HOST_EXPORTS) \
13257 for flag in $(EXTRA_HOST_FLAGS) ; do \
13258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13259 done; \
13260 echo "Doing html in mpc" ; \
13261 (cd $(HOST_SUBDIR)/mpc && \
13262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13264 "RANLIB=$${RANLIB}" \
13265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13266 html) \
13267 || exit 1
13269 @endif mpc
13271 .PHONY: maybe-TAGS-mpc TAGS-mpc
13272 maybe-TAGS-mpc:
13273 @if mpc
13274 maybe-TAGS-mpc: TAGS-mpc
13276 TAGS-mpc: \
13277 configure-mpc
13278 @[ -f ./mpc/Makefile ] || exit 0; \
13279 r=`${PWD_COMMAND}`; export r; \
13280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13281 $(HOST_EXPORTS) \
13282 for flag in $(EXTRA_HOST_FLAGS) ; do \
13283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13284 done; \
13285 echo "Doing TAGS in mpc" ; \
13286 (cd $(HOST_SUBDIR)/mpc && \
13287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13289 "RANLIB=$${RANLIB}" \
13290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13291 TAGS) \
13292 || exit 1
13294 @endif mpc
13296 .PHONY: maybe-install-info-mpc install-info-mpc
13297 maybe-install-info-mpc:
13298 @if mpc
13299 maybe-install-info-mpc: install-info-mpc
13301 install-info-mpc: \
13302 configure-mpc \
13303 info-mpc
13304 @[ -f ./mpc/Makefile ] || exit 0; \
13305 r=`${PWD_COMMAND}`; export r; \
13306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13307 $(HOST_EXPORTS) \
13308 for flag in $(EXTRA_HOST_FLAGS) ; do \
13309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13310 done; \
13311 echo "Doing install-info in mpc" ; \
13312 (cd $(HOST_SUBDIR)/mpc && \
13313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13315 "RANLIB=$${RANLIB}" \
13316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13317 install-info) \
13318 || exit 1
13320 @endif mpc
13322 .PHONY: maybe-install-pdf-mpc install-pdf-mpc
13323 maybe-install-pdf-mpc:
13324 @if mpc
13325 maybe-install-pdf-mpc: install-pdf-mpc
13327 install-pdf-mpc: \
13328 configure-mpc \
13329 pdf-mpc
13330 @[ -f ./mpc/Makefile ] || exit 0; \
13331 r=`${PWD_COMMAND}`; export r; \
13332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13333 $(HOST_EXPORTS) \
13334 for flag in $(EXTRA_HOST_FLAGS) ; do \
13335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13336 done; \
13337 echo "Doing install-pdf in mpc" ; \
13338 (cd $(HOST_SUBDIR)/mpc && \
13339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13341 "RANLIB=$${RANLIB}" \
13342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13343 install-pdf) \
13344 || exit 1
13346 @endif mpc
13348 .PHONY: maybe-install-html-mpc install-html-mpc
13349 maybe-install-html-mpc:
13350 @if mpc
13351 maybe-install-html-mpc: install-html-mpc
13353 install-html-mpc: \
13354 configure-mpc \
13355 html-mpc
13356 @[ -f ./mpc/Makefile ] || exit 0; \
13357 r=`${PWD_COMMAND}`; export r; \
13358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13359 $(HOST_EXPORTS) \
13360 for flag in $(EXTRA_HOST_FLAGS) ; do \
13361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13362 done; \
13363 echo "Doing install-html in mpc" ; \
13364 (cd $(HOST_SUBDIR)/mpc && \
13365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13367 "RANLIB=$${RANLIB}" \
13368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13369 install-html) \
13370 || exit 1
13372 @endif mpc
13374 .PHONY: maybe-installcheck-mpc installcheck-mpc
13375 maybe-installcheck-mpc:
13376 @if mpc
13377 maybe-installcheck-mpc: installcheck-mpc
13379 installcheck-mpc: \
13380 configure-mpc
13381 @[ -f ./mpc/Makefile ] || exit 0; \
13382 r=`${PWD_COMMAND}`; export r; \
13383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13384 $(HOST_EXPORTS) \
13385 for flag in $(EXTRA_HOST_FLAGS) ; do \
13386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13387 done; \
13388 echo "Doing installcheck in mpc" ; \
13389 (cd $(HOST_SUBDIR)/mpc && \
13390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13392 "RANLIB=$${RANLIB}" \
13393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13394 installcheck) \
13395 || exit 1
13397 @endif mpc
13399 .PHONY: maybe-mostlyclean-mpc mostlyclean-mpc
13400 maybe-mostlyclean-mpc:
13401 @if mpc
13402 maybe-mostlyclean-mpc: mostlyclean-mpc
13404 mostlyclean-mpc:
13405 @[ -f ./mpc/Makefile ] || exit 0; \
13406 r=`${PWD_COMMAND}`; export r; \
13407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13408 $(HOST_EXPORTS) \
13409 for flag in $(EXTRA_HOST_FLAGS) ; do \
13410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13411 done; \
13412 echo "Doing mostlyclean in mpc" ; \
13413 (cd $(HOST_SUBDIR)/mpc && \
13414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13416 "RANLIB=$${RANLIB}" \
13417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13418 mostlyclean) \
13419 || exit 1
13421 @endif mpc
13423 .PHONY: maybe-clean-mpc clean-mpc
13424 maybe-clean-mpc:
13425 @if mpc
13426 maybe-clean-mpc: clean-mpc
13428 clean-mpc:
13429 @[ -f ./mpc/Makefile ] || exit 0; \
13430 r=`${PWD_COMMAND}`; export r; \
13431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13432 $(HOST_EXPORTS) \
13433 for flag in $(EXTRA_HOST_FLAGS) ; do \
13434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13435 done; \
13436 echo "Doing clean in mpc" ; \
13437 (cd $(HOST_SUBDIR)/mpc && \
13438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13440 "RANLIB=$${RANLIB}" \
13441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13442 clean) \
13443 || exit 1
13445 @endif mpc
13447 .PHONY: maybe-distclean-mpc distclean-mpc
13448 maybe-distclean-mpc:
13449 @if mpc
13450 maybe-distclean-mpc: distclean-mpc
13452 distclean-mpc:
13453 @[ -f ./mpc/Makefile ] || exit 0; \
13454 r=`${PWD_COMMAND}`; export r; \
13455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13456 $(HOST_EXPORTS) \
13457 for flag in $(EXTRA_HOST_FLAGS) ; do \
13458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13459 done; \
13460 echo "Doing distclean in mpc" ; \
13461 (cd $(HOST_SUBDIR)/mpc && \
13462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13464 "RANLIB=$${RANLIB}" \
13465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13466 distclean) \
13467 || exit 1
13469 @endif mpc
13471 .PHONY: maybe-maintainer-clean-mpc maintainer-clean-mpc
13472 maybe-maintainer-clean-mpc:
13473 @if mpc
13474 maybe-maintainer-clean-mpc: maintainer-clean-mpc
13476 maintainer-clean-mpc:
13477 @[ -f ./mpc/Makefile ] || exit 0; \
13478 r=`${PWD_COMMAND}`; export r; \
13479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13480 $(HOST_EXPORTS) \
13481 for flag in $(EXTRA_HOST_FLAGS) ; do \
13482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13483 done; \
13484 echo "Doing maintainer-clean in mpc" ; \
13485 (cd $(HOST_SUBDIR)/mpc && \
13486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13488 "RANLIB=$${RANLIB}" \
13489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13490 maintainer-clean) \
13491 || exit 1
13493 @endif mpc
13497 .PHONY: configure-isl maybe-configure-isl
13498 maybe-configure-isl:
13499 @if gcc-bootstrap
13500 configure-isl: stage_current
13501 @endif gcc-bootstrap
13502 @if isl
13503 maybe-configure-isl: configure-isl
13504 configure-isl:
13505 @r=`${PWD_COMMAND}`; export r; \
13506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13507 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13508 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13509 $(HOST_EXPORTS) \
13510 echo Configuring in $(HOST_SUBDIR)/isl; \
13511 cd "$(HOST_SUBDIR)/isl" || exit 1; \
13512 case $(srcdir) in \
13513 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13514 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13515 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13516 esac; \
13517 module_srcdir=isl; \
13518 $(SHELL) \
13519 $$s/$$module_srcdir/configure \
13520 --srcdir=$${topdir}/$$module_srcdir \
13521 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13522 --target=${target_alias} --disable-shared @extra_isl_gmp_configure_flags@ \
13523 || exit 1
13524 @endif isl
13528 .PHONY: configure-stage1-isl maybe-configure-stage1-isl
13529 maybe-configure-stage1-isl:
13530 @if isl-bootstrap
13531 maybe-configure-stage1-isl: configure-stage1-isl
13532 configure-stage1-isl:
13533 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13534 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13535 @r=`${PWD_COMMAND}`; export r; \
13536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13537 TFLAGS="$(STAGE1_TFLAGS)"; \
13538 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13539 $(HOST_EXPORTS) \
13540 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13541 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13542 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
13543 echo Configuring stage 1 in $(HOST_SUBDIR)/isl ; \
13544 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13545 cd $(HOST_SUBDIR)/isl || exit 1; \
13546 case $(srcdir) in \
13547 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13548 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13549 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13550 esac; \
13551 module_srcdir=isl; \
13552 $(SHELL) $$s/$$module_srcdir/configure \
13553 --srcdir=$${topdir}/$$module_srcdir \
13554 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13555 --target=${target_alias} \
13557 $(STAGE1_CONFIGURE_FLAGS) \
13558 --disable-shared @extra_isl_gmp_configure_flags@
13559 @endif isl-bootstrap
13561 .PHONY: configure-stage2-isl maybe-configure-stage2-isl
13562 maybe-configure-stage2-isl:
13563 @if isl-bootstrap
13564 maybe-configure-stage2-isl: configure-stage2-isl
13565 configure-stage2-isl:
13566 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13567 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13568 @r=`${PWD_COMMAND}`; export r; \
13569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13570 TFLAGS="$(STAGE2_TFLAGS)"; \
13571 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13572 $(HOST_EXPORTS) \
13573 $(POSTSTAGE1_HOST_EXPORTS) \
13574 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13575 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13576 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
13577 echo Configuring stage 2 in $(HOST_SUBDIR)/isl ; \
13578 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13579 cd $(HOST_SUBDIR)/isl || exit 1; \
13580 case $(srcdir) in \
13581 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13582 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13583 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13584 esac; \
13585 module_srcdir=isl; \
13586 $(SHELL) $$s/$$module_srcdir/configure \
13587 --srcdir=$${topdir}/$$module_srcdir \
13588 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13589 --target=${target_alias} \
13590 --with-build-libsubdir=$(HOST_SUBDIR) \
13591 $(STAGE2_CONFIGURE_FLAGS) \
13592 --disable-shared @extra_isl_gmp_configure_flags@
13593 @endif isl-bootstrap
13595 .PHONY: configure-stage3-isl maybe-configure-stage3-isl
13596 maybe-configure-stage3-isl:
13597 @if isl-bootstrap
13598 maybe-configure-stage3-isl: configure-stage3-isl
13599 configure-stage3-isl:
13600 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13601 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13602 @r=`${PWD_COMMAND}`; export r; \
13603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13604 TFLAGS="$(STAGE3_TFLAGS)"; \
13605 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13606 $(HOST_EXPORTS) \
13607 $(POSTSTAGE1_HOST_EXPORTS) \
13608 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13609 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13610 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
13611 echo Configuring stage 3 in $(HOST_SUBDIR)/isl ; \
13612 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13613 cd $(HOST_SUBDIR)/isl || exit 1; \
13614 case $(srcdir) in \
13615 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13616 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13617 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13618 esac; \
13619 module_srcdir=isl; \
13620 $(SHELL) $$s/$$module_srcdir/configure \
13621 --srcdir=$${topdir}/$$module_srcdir \
13622 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13623 --target=${target_alias} \
13624 --with-build-libsubdir=$(HOST_SUBDIR) \
13625 $(STAGE3_CONFIGURE_FLAGS) \
13626 --disable-shared @extra_isl_gmp_configure_flags@
13627 @endif isl-bootstrap
13629 .PHONY: configure-stage4-isl maybe-configure-stage4-isl
13630 maybe-configure-stage4-isl:
13631 @if isl-bootstrap
13632 maybe-configure-stage4-isl: configure-stage4-isl
13633 configure-stage4-isl:
13634 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13635 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13636 @r=`${PWD_COMMAND}`; export r; \
13637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13638 TFLAGS="$(STAGE4_TFLAGS)"; \
13639 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13640 $(HOST_EXPORTS) \
13641 $(POSTSTAGE1_HOST_EXPORTS) \
13642 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13643 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13644 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
13645 echo Configuring stage 4 in $(HOST_SUBDIR)/isl ; \
13646 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13647 cd $(HOST_SUBDIR)/isl || exit 1; \
13648 case $(srcdir) in \
13649 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13650 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13651 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13652 esac; \
13653 module_srcdir=isl; \
13654 $(SHELL) $$s/$$module_srcdir/configure \
13655 --srcdir=$${topdir}/$$module_srcdir \
13656 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13657 --target=${target_alias} \
13658 --with-build-libsubdir=$(HOST_SUBDIR) \
13659 $(STAGE4_CONFIGURE_FLAGS) \
13660 --disable-shared @extra_isl_gmp_configure_flags@
13661 @endif isl-bootstrap
13663 .PHONY: configure-stageprofile-isl maybe-configure-stageprofile-isl
13664 maybe-configure-stageprofile-isl:
13665 @if isl-bootstrap
13666 maybe-configure-stageprofile-isl: configure-stageprofile-isl
13667 configure-stageprofile-isl:
13668 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13669 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13670 @r=`${PWD_COMMAND}`; export r; \
13671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13672 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13673 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13674 $(HOST_EXPORTS) \
13675 $(POSTSTAGE1_HOST_EXPORTS) \
13676 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
13677 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
13678 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
13679 echo Configuring stage profile in $(HOST_SUBDIR)/isl ; \
13680 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13681 cd $(HOST_SUBDIR)/isl || exit 1; \
13682 case $(srcdir) in \
13683 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13684 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13685 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13686 esac; \
13687 module_srcdir=isl; \
13688 $(SHELL) $$s/$$module_srcdir/configure \
13689 --srcdir=$${topdir}/$$module_srcdir \
13690 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13691 --target=${target_alias} \
13692 --with-build-libsubdir=$(HOST_SUBDIR) \
13693 $(STAGEprofile_CONFIGURE_FLAGS) \
13694 --disable-shared @extra_isl_gmp_configure_flags@
13695 @endif isl-bootstrap
13697 .PHONY: configure-stagefeedback-isl maybe-configure-stagefeedback-isl
13698 maybe-configure-stagefeedback-isl:
13699 @if isl-bootstrap
13700 maybe-configure-stagefeedback-isl: configure-stagefeedback-isl
13701 configure-stagefeedback-isl:
13702 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13703 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13704 @r=`${PWD_COMMAND}`; export r; \
13705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13706 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13707 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13708 $(HOST_EXPORTS) \
13709 $(POSTSTAGE1_HOST_EXPORTS) \
13710 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
13711 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
13712 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
13713 echo Configuring stage feedback in $(HOST_SUBDIR)/isl ; \
13714 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13715 cd $(HOST_SUBDIR)/isl || exit 1; \
13716 case $(srcdir) in \
13717 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13718 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13719 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13720 esac; \
13721 module_srcdir=isl; \
13722 $(SHELL) $$s/$$module_srcdir/configure \
13723 --srcdir=$${topdir}/$$module_srcdir \
13724 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13725 --target=${target_alias} \
13726 --with-build-libsubdir=$(HOST_SUBDIR) \
13727 $(STAGEfeedback_CONFIGURE_FLAGS) \
13728 --disable-shared @extra_isl_gmp_configure_flags@
13729 @endif isl-bootstrap
13735 .PHONY: all-isl maybe-all-isl
13736 maybe-all-isl:
13737 @if gcc-bootstrap
13738 all-isl: stage_current
13739 @endif gcc-bootstrap
13740 @if isl
13741 TARGET-isl=all
13742 maybe-all-isl: all-isl
13743 all-isl: configure-isl
13744 @r=`${PWD_COMMAND}`; export r; \
13745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13746 $(HOST_EXPORTS) \
13747 (cd $(HOST_SUBDIR)/isl && \
13748 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) V=1 \
13749 $(TARGET-isl))
13750 @endif isl
13754 .PHONY: all-stage1-isl maybe-all-stage1-isl
13755 .PHONY: clean-stage1-isl maybe-clean-stage1-isl
13756 maybe-all-stage1-isl:
13757 maybe-clean-stage1-isl:
13758 @if isl-bootstrap
13759 maybe-all-stage1-isl: all-stage1-isl
13760 all-stage1: all-stage1-isl
13761 TARGET-stage1-isl = $(TARGET-isl)
13762 all-stage1-isl: configure-stage1-isl
13763 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13764 @r=`${PWD_COMMAND}`; export r; \
13765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13766 TFLAGS="$(STAGE1_TFLAGS)"; \
13767 $(HOST_EXPORTS) \
13768 cd $(HOST_SUBDIR)/isl && \
13769 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13770 CFLAGS="$(STAGE1_CFLAGS)" \
13771 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
13772 LIBCFLAGS="$(LIBCFLAGS)" \
13773 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13774 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13775 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13776 $(EXTRA_HOST_FLAGS) \
13777 $(STAGE1_FLAGS_TO_PASS) V=1 \
13778 TFLAGS="$(STAGE1_TFLAGS)" \
13779 $(TARGET-stage1-isl)
13781 maybe-clean-stage1-isl: clean-stage1-isl
13782 clean-stage1: clean-stage1-isl
13783 clean-stage1-isl:
13784 @if [ $(current_stage) = stage1 ]; then \
13785 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13786 else \
13787 [ -f $(HOST_SUBDIR)/stage1-isl/Makefile ] || exit 0; \
13788 $(MAKE) stage1-start; \
13789 fi; \
13790 cd $(HOST_SUBDIR)/isl && \
13791 $(MAKE) $(EXTRA_HOST_FLAGS) \
13792 $(STAGE1_FLAGS_TO_PASS) V=1 clean
13793 @endif isl-bootstrap
13796 .PHONY: all-stage2-isl maybe-all-stage2-isl
13797 .PHONY: clean-stage2-isl maybe-clean-stage2-isl
13798 maybe-all-stage2-isl:
13799 maybe-clean-stage2-isl:
13800 @if isl-bootstrap
13801 maybe-all-stage2-isl: all-stage2-isl
13802 all-stage2: all-stage2-isl
13803 TARGET-stage2-isl = $(TARGET-isl)
13804 all-stage2-isl: configure-stage2-isl
13805 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13806 @r=`${PWD_COMMAND}`; export r; \
13807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13808 TFLAGS="$(STAGE2_TFLAGS)"; \
13809 $(HOST_EXPORTS) \
13810 $(POSTSTAGE1_HOST_EXPORTS) \
13811 cd $(HOST_SUBDIR)/isl && \
13812 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13813 CFLAGS="$(STAGE2_CFLAGS)" \
13814 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
13815 LIBCFLAGS="$(STAGE2_CFLAGS)" \
13816 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13817 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13818 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13819 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13820 TFLAGS="$(STAGE2_TFLAGS)" \
13821 $(TARGET-stage2-isl)
13823 maybe-clean-stage2-isl: clean-stage2-isl
13824 clean-stage2: clean-stage2-isl
13825 clean-stage2-isl:
13826 @if [ $(current_stage) = stage2 ]; then \
13827 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13828 else \
13829 [ -f $(HOST_SUBDIR)/stage2-isl/Makefile ] || exit 0; \
13830 $(MAKE) stage2-start; \
13831 fi; \
13832 cd $(HOST_SUBDIR)/isl && \
13833 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13834 @endif isl-bootstrap
13837 .PHONY: all-stage3-isl maybe-all-stage3-isl
13838 .PHONY: clean-stage3-isl maybe-clean-stage3-isl
13839 maybe-all-stage3-isl:
13840 maybe-clean-stage3-isl:
13841 @if isl-bootstrap
13842 maybe-all-stage3-isl: all-stage3-isl
13843 all-stage3: all-stage3-isl
13844 TARGET-stage3-isl = $(TARGET-isl)
13845 all-stage3-isl: configure-stage3-isl
13846 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13847 @r=`${PWD_COMMAND}`; export r; \
13848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13849 TFLAGS="$(STAGE3_TFLAGS)"; \
13850 $(HOST_EXPORTS) \
13851 $(POSTSTAGE1_HOST_EXPORTS) \
13852 cd $(HOST_SUBDIR)/isl && \
13853 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13854 CFLAGS="$(STAGE3_CFLAGS)" \
13855 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
13856 LIBCFLAGS="$(STAGE3_CFLAGS)" \
13857 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13858 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13859 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13860 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13861 TFLAGS="$(STAGE3_TFLAGS)" \
13862 $(TARGET-stage3-isl)
13864 maybe-clean-stage3-isl: clean-stage3-isl
13865 clean-stage3: clean-stage3-isl
13866 clean-stage3-isl:
13867 @if [ $(current_stage) = stage3 ]; then \
13868 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13869 else \
13870 [ -f $(HOST_SUBDIR)/stage3-isl/Makefile ] || exit 0; \
13871 $(MAKE) stage3-start; \
13872 fi; \
13873 cd $(HOST_SUBDIR)/isl && \
13874 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13875 @endif isl-bootstrap
13878 .PHONY: all-stage4-isl maybe-all-stage4-isl
13879 .PHONY: clean-stage4-isl maybe-clean-stage4-isl
13880 maybe-all-stage4-isl:
13881 maybe-clean-stage4-isl:
13882 @if isl-bootstrap
13883 maybe-all-stage4-isl: all-stage4-isl
13884 all-stage4: all-stage4-isl
13885 TARGET-stage4-isl = $(TARGET-isl)
13886 all-stage4-isl: configure-stage4-isl
13887 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13888 @r=`${PWD_COMMAND}`; export r; \
13889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13890 TFLAGS="$(STAGE4_TFLAGS)"; \
13891 $(HOST_EXPORTS) \
13892 $(POSTSTAGE1_HOST_EXPORTS) \
13893 cd $(HOST_SUBDIR)/isl && \
13894 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13895 CFLAGS="$(STAGE4_CFLAGS)" \
13896 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
13897 LIBCFLAGS="$(STAGE4_CFLAGS)" \
13898 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13899 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13900 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13901 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13902 TFLAGS="$(STAGE4_TFLAGS)" \
13903 $(TARGET-stage4-isl)
13905 maybe-clean-stage4-isl: clean-stage4-isl
13906 clean-stage4: clean-stage4-isl
13907 clean-stage4-isl:
13908 @if [ $(current_stage) = stage4 ]; then \
13909 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13910 else \
13911 [ -f $(HOST_SUBDIR)/stage4-isl/Makefile ] || exit 0; \
13912 $(MAKE) stage4-start; \
13913 fi; \
13914 cd $(HOST_SUBDIR)/isl && \
13915 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13916 @endif isl-bootstrap
13919 .PHONY: all-stageprofile-isl maybe-all-stageprofile-isl
13920 .PHONY: clean-stageprofile-isl maybe-clean-stageprofile-isl
13921 maybe-all-stageprofile-isl:
13922 maybe-clean-stageprofile-isl:
13923 @if isl-bootstrap
13924 maybe-all-stageprofile-isl: all-stageprofile-isl
13925 all-stageprofile: all-stageprofile-isl
13926 TARGET-stageprofile-isl = $(TARGET-isl)
13927 all-stageprofile-isl: configure-stageprofile-isl
13928 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13929 @r=`${PWD_COMMAND}`; export r; \
13930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13931 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13932 $(HOST_EXPORTS) \
13933 $(POSTSTAGE1_HOST_EXPORTS) \
13934 cd $(HOST_SUBDIR)/isl && \
13935 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13936 CFLAGS="$(STAGEprofile_CFLAGS)" \
13937 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
13938 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
13939 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13940 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13941 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13942 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13943 TFLAGS="$(STAGEprofile_TFLAGS)" \
13944 $(TARGET-stageprofile-isl)
13946 maybe-clean-stageprofile-isl: clean-stageprofile-isl
13947 clean-stageprofile: clean-stageprofile-isl
13948 clean-stageprofile-isl:
13949 @if [ $(current_stage) = stageprofile ]; then \
13950 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13951 else \
13952 [ -f $(HOST_SUBDIR)/stageprofile-isl/Makefile ] || exit 0; \
13953 $(MAKE) stageprofile-start; \
13954 fi; \
13955 cd $(HOST_SUBDIR)/isl && \
13956 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13957 @endif isl-bootstrap
13960 .PHONY: all-stagefeedback-isl maybe-all-stagefeedback-isl
13961 .PHONY: clean-stagefeedback-isl maybe-clean-stagefeedback-isl
13962 maybe-all-stagefeedback-isl:
13963 maybe-clean-stagefeedback-isl:
13964 @if isl-bootstrap
13965 maybe-all-stagefeedback-isl: all-stagefeedback-isl
13966 all-stagefeedback: all-stagefeedback-isl
13967 TARGET-stagefeedback-isl = $(TARGET-isl)
13968 all-stagefeedback-isl: configure-stagefeedback-isl
13969 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13970 @r=`${PWD_COMMAND}`; export r; \
13971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13972 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13973 $(HOST_EXPORTS) \
13974 $(POSTSTAGE1_HOST_EXPORTS) \
13975 cd $(HOST_SUBDIR)/isl && \
13976 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13977 CFLAGS="$(STAGEfeedback_CFLAGS)" \
13978 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
13979 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
13980 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13981 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13982 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13983 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13984 TFLAGS="$(STAGEfeedback_TFLAGS)" \
13985 $(TARGET-stagefeedback-isl)
13987 maybe-clean-stagefeedback-isl: clean-stagefeedback-isl
13988 clean-stagefeedback: clean-stagefeedback-isl
13989 clean-stagefeedback-isl:
13990 @if [ $(current_stage) = stagefeedback ]; then \
13991 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13992 else \
13993 [ -f $(HOST_SUBDIR)/stagefeedback-isl/Makefile ] || exit 0; \
13994 $(MAKE) stagefeedback-start; \
13995 fi; \
13996 cd $(HOST_SUBDIR)/isl && \
13997 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13998 @endif isl-bootstrap
14004 .PHONY: check-isl maybe-check-isl
14005 maybe-check-isl:
14006 @if isl
14007 maybe-check-isl: check-isl
14009 check-isl:
14010 @: $(MAKE); $(unstage)
14011 @r=`${PWD_COMMAND}`; export r; \
14012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14013 $(HOST_EXPORTS) \
14014 (cd $(HOST_SUBDIR)/isl && \
14015 $(MAKE) $(FLAGS_TO_PASS) V=1 check)
14017 @endif isl
14019 .PHONY: install-isl maybe-install-isl
14020 maybe-install-isl:
14021 @if isl
14022 maybe-install-isl: install-isl
14024 install-isl:
14026 @endif isl
14028 .PHONY: install-strip-isl maybe-install-strip-isl
14029 maybe-install-strip-isl:
14030 @if isl
14031 maybe-install-strip-isl: install-strip-isl
14033 install-strip-isl:
14035 @endif isl
14037 # Other targets (info, dvi, pdf, etc.)
14039 .PHONY: maybe-info-isl info-isl
14040 maybe-info-isl:
14041 @if isl
14042 maybe-info-isl: info-isl
14044 info-isl: \
14045 configure-isl
14046 @[ -f ./isl/Makefile ] || exit 0; \
14047 r=`${PWD_COMMAND}`; export r; \
14048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14049 $(HOST_EXPORTS) \
14050 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14052 done; \
14053 echo "Doing info in isl" ; \
14054 (cd $(HOST_SUBDIR)/isl && \
14055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14057 "RANLIB=$${RANLIB}" \
14058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14059 info) \
14060 || exit 1
14062 @endif isl
14064 .PHONY: maybe-dvi-isl dvi-isl
14065 maybe-dvi-isl:
14066 @if isl
14067 maybe-dvi-isl: dvi-isl
14069 dvi-isl: \
14070 configure-isl
14071 @[ -f ./isl/Makefile ] || exit 0; \
14072 r=`${PWD_COMMAND}`; export r; \
14073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14074 $(HOST_EXPORTS) \
14075 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14077 done; \
14078 echo "Doing dvi in isl" ; \
14079 (cd $(HOST_SUBDIR)/isl && \
14080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14082 "RANLIB=$${RANLIB}" \
14083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14084 dvi) \
14085 || exit 1
14087 @endif isl
14089 .PHONY: maybe-pdf-isl pdf-isl
14090 maybe-pdf-isl:
14091 @if isl
14092 maybe-pdf-isl: pdf-isl
14094 pdf-isl: \
14095 configure-isl
14096 @[ -f ./isl/Makefile ] || exit 0; \
14097 r=`${PWD_COMMAND}`; export r; \
14098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14099 $(HOST_EXPORTS) \
14100 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14102 done; \
14103 echo "Doing pdf in isl" ; \
14104 (cd $(HOST_SUBDIR)/isl && \
14105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14107 "RANLIB=$${RANLIB}" \
14108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14109 pdf) \
14110 || exit 1
14112 @endif isl
14114 .PHONY: maybe-html-isl html-isl
14115 maybe-html-isl:
14116 @if isl
14117 maybe-html-isl: html-isl
14119 html-isl: \
14120 configure-isl
14121 @[ -f ./isl/Makefile ] || exit 0; \
14122 r=`${PWD_COMMAND}`; export r; \
14123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14124 $(HOST_EXPORTS) \
14125 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14127 done; \
14128 echo "Doing html in isl" ; \
14129 (cd $(HOST_SUBDIR)/isl && \
14130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14132 "RANLIB=$${RANLIB}" \
14133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14134 html) \
14135 || exit 1
14137 @endif isl
14139 .PHONY: maybe-TAGS-isl TAGS-isl
14140 maybe-TAGS-isl:
14141 @if isl
14142 maybe-TAGS-isl: TAGS-isl
14144 TAGS-isl: \
14145 configure-isl
14146 @[ -f ./isl/Makefile ] || exit 0; \
14147 r=`${PWD_COMMAND}`; export r; \
14148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14149 $(HOST_EXPORTS) \
14150 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14152 done; \
14153 echo "Doing TAGS in isl" ; \
14154 (cd $(HOST_SUBDIR)/isl && \
14155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14157 "RANLIB=$${RANLIB}" \
14158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14159 TAGS) \
14160 || exit 1
14162 @endif isl
14164 .PHONY: maybe-install-info-isl install-info-isl
14165 maybe-install-info-isl:
14166 @if isl
14167 maybe-install-info-isl: install-info-isl
14169 install-info-isl: \
14170 configure-isl \
14171 info-isl
14172 @[ -f ./isl/Makefile ] || exit 0; \
14173 r=`${PWD_COMMAND}`; export r; \
14174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14175 $(HOST_EXPORTS) \
14176 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14178 done; \
14179 echo "Doing install-info in isl" ; \
14180 (cd $(HOST_SUBDIR)/isl && \
14181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14183 "RANLIB=$${RANLIB}" \
14184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14185 install-info) \
14186 || exit 1
14188 @endif isl
14190 .PHONY: maybe-install-pdf-isl install-pdf-isl
14191 maybe-install-pdf-isl:
14192 @if isl
14193 maybe-install-pdf-isl: install-pdf-isl
14195 install-pdf-isl: \
14196 configure-isl \
14197 pdf-isl
14198 @[ -f ./isl/Makefile ] || exit 0; \
14199 r=`${PWD_COMMAND}`; export r; \
14200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14201 $(HOST_EXPORTS) \
14202 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14204 done; \
14205 echo "Doing install-pdf in isl" ; \
14206 (cd $(HOST_SUBDIR)/isl && \
14207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14209 "RANLIB=$${RANLIB}" \
14210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14211 install-pdf) \
14212 || exit 1
14214 @endif isl
14216 .PHONY: maybe-install-html-isl install-html-isl
14217 maybe-install-html-isl:
14218 @if isl
14219 maybe-install-html-isl: install-html-isl
14221 install-html-isl: \
14222 configure-isl \
14223 html-isl
14224 @[ -f ./isl/Makefile ] || exit 0; \
14225 r=`${PWD_COMMAND}`; export r; \
14226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14227 $(HOST_EXPORTS) \
14228 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14230 done; \
14231 echo "Doing install-html in isl" ; \
14232 (cd $(HOST_SUBDIR)/isl && \
14233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14235 "RANLIB=$${RANLIB}" \
14236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14237 install-html) \
14238 || exit 1
14240 @endif isl
14242 .PHONY: maybe-installcheck-isl installcheck-isl
14243 maybe-installcheck-isl:
14244 @if isl
14245 maybe-installcheck-isl: installcheck-isl
14247 installcheck-isl: \
14248 configure-isl
14249 @[ -f ./isl/Makefile ] || exit 0; \
14250 r=`${PWD_COMMAND}`; export r; \
14251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14252 $(HOST_EXPORTS) \
14253 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14255 done; \
14256 echo "Doing installcheck in isl" ; \
14257 (cd $(HOST_SUBDIR)/isl && \
14258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14260 "RANLIB=$${RANLIB}" \
14261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14262 installcheck) \
14263 || exit 1
14265 @endif isl
14267 .PHONY: maybe-mostlyclean-isl mostlyclean-isl
14268 maybe-mostlyclean-isl:
14269 @if isl
14270 maybe-mostlyclean-isl: mostlyclean-isl
14272 mostlyclean-isl:
14273 @[ -f ./isl/Makefile ] || exit 0; \
14274 r=`${PWD_COMMAND}`; export r; \
14275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14276 $(HOST_EXPORTS) \
14277 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14279 done; \
14280 echo "Doing mostlyclean in isl" ; \
14281 (cd $(HOST_SUBDIR)/isl && \
14282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14284 "RANLIB=$${RANLIB}" \
14285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14286 mostlyclean) \
14287 || exit 1
14289 @endif isl
14291 .PHONY: maybe-clean-isl clean-isl
14292 maybe-clean-isl:
14293 @if isl
14294 maybe-clean-isl: clean-isl
14296 clean-isl:
14297 @[ -f ./isl/Makefile ] || exit 0; \
14298 r=`${PWD_COMMAND}`; export r; \
14299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14300 $(HOST_EXPORTS) \
14301 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14303 done; \
14304 echo "Doing clean in isl" ; \
14305 (cd $(HOST_SUBDIR)/isl && \
14306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14308 "RANLIB=$${RANLIB}" \
14309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14310 clean) \
14311 || exit 1
14313 @endif isl
14315 .PHONY: maybe-distclean-isl distclean-isl
14316 maybe-distclean-isl:
14317 @if isl
14318 maybe-distclean-isl: distclean-isl
14320 distclean-isl:
14321 @[ -f ./isl/Makefile ] || exit 0; \
14322 r=`${PWD_COMMAND}`; export r; \
14323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14324 $(HOST_EXPORTS) \
14325 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14327 done; \
14328 echo "Doing distclean in isl" ; \
14329 (cd $(HOST_SUBDIR)/isl && \
14330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14332 "RANLIB=$${RANLIB}" \
14333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14334 distclean) \
14335 || exit 1
14337 @endif isl
14339 .PHONY: maybe-maintainer-clean-isl maintainer-clean-isl
14340 maybe-maintainer-clean-isl:
14341 @if isl
14342 maybe-maintainer-clean-isl: maintainer-clean-isl
14344 maintainer-clean-isl:
14345 @[ -f ./isl/Makefile ] || exit 0; \
14346 r=`${PWD_COMMAND}`; export r; \
14347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14348 $(HOST_EXPORTS) \
14349 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14351 done; \
14352 echo "Doing maintainer-clean in isl" ; \
14353 (cd $(HOST_SUBDIR)/isl && \
14354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14356 "RANLIB=$${RANLIB}" \
14357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14358 maintainer-clean) \
14359 || exit 1
14361 @endif isl
14365 .PHONY: configure-cloog maybe-configure-cloog
14366 maybe-configure-cloog:
14367 @if gcc-bootstrap
14368 configure-cloog: stage_current
14369 @endif gcc-bootstrap
14370 @if cloog
14371 maybe-configure-cloog: configure-cloog
14372 configure-cloog:
14373 @r=`${PWD_COMMAND}`; export r; \
14374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14375 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14376 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14377 $(HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14378 echo Configuring in $(HOST_SUBDIR)/cloog; \
14379 cd "$(HOST_SUBDIR)/cloog" || exit 1; \
14380 case $(srcdir) in \
14381 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14382 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14383 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14384 esac; \
14385 module_srcdir=cloog; \
14386 $(SHELL) \
14387 $$s/$$module_srcdir/configure \
14388 --srcdir=$${topdir}/$$module_srcdir \
14389 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14390 --target=${target_alias} --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system \
14391 || exit 1
14392 @endif cloog
14396 .PHONY: configure-stage1-cloog maybe-configure-stage1-cloog
14397 maybe-configure-stage1-cloog:
14398 @if cloog-bootstrap
14399 maybe-configure-stage1-cloog: configure-stage1-cloog
14400 configure-stage1-cloog:
14401 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14402 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14403 @r=`${PWD_COMMAND}`; export r; \
14404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14405 TFLAGS="$(STAGE1_TFLAGS)"; \
14406 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14407 $(HOST_EXPORTS) \
14408 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
14409 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
14410 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14411 echo Configuring stage 1 in $(HOST_SUBDIR)/cloog ; \
14412 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14413 cd $(HOST_SUBDIR)/cloog || exit 1; \
14414 case $(srcdir) in \
14415 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14416 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14417 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14418 esac; \
14419 module_srcdir=cloog; \
14420 $(SHELL) $$s/$$module_srcdir/configure \
14421 --srcdir=$${topdir}/$$module_srcdir \
14422 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14423 --target=${target_alias} \
14425 $(STAGE1_CONFIGURE_FLAGS) \
14426 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14427 @endif cloog-bootstrap
14429 .PHONY: configure-stage2-cloog maybe-configure-stage2-cloog
14430 maybe-configure-stage2-cloog:
14431 @if cloog-bootstrap
14432 maybe-configure-stage2-cloog: configure-stage2-cloog
14433 configure-stage2-cloog:
14434 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14435 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14436 @r=`${PWD_COMMAND}`; export r; \
14437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14438 TFLAGS="$(STAGE2_TFLAGS)"; \
14439 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14440 $(HOST_EXPORTS) \
14441 $(POSTSTAGE1_HOST_EXPORTS) \
14442 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
14443 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
14444 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14445 echo Configuring stage 2 in $(HOST_SUBDIR)/cloog ; \
14446 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14447 cd $(HOST_SUBDIR)/cloog || exit 1; \
14448 case $(srcdir) in \
14449 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14450 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14451 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14452 esac; \
14453 module_srcdir=cloog; \
14454 $(SHELL) $$s/$$module_srcdir/configure \
14455 --srcdir=$${topdir}/$$module_srcdir \
14456 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14457 --target=${target_alias} \
14458 --with-build-libsubdir=$(HOST_SUBDIR) \
14459 $(STAGE2_CONFIGURE_FLAGS) \
14460 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14461 @endif cloog-bootstrap
14463 .PHONY: configure-stage3-cloog maybe-configure-stage3-cloog
14464 maybe-configure-stage3-cloog:
14465 @if cloog-bootstrap
14466 maybe-configure-stage3-cloog: configure-stage3-cloog
14467 configure-stage3-cloog:
14468 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14469 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14470 @r=`${PWD_COMMAND}`; export r; \
14471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14472 TFLAGS="$(STAGE3_TFLAGS)"; \
14473 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14474 $(HOST_EXPORTS) \
14475 $(POSTSTAGE1_HOST_EXPORTS) \
14476 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14477 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
14478 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14479 echo Configuring stage 3 in $(HOST_SUBDIR)/cloog ; \
14480 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14481 cd $(HOST_SUBDIR)/cloog || exit 1; \
14482 case $(srcdir) in \
14483 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14484 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14485 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14486 esac; \
14487 module_srcdir=cloog; \
14488 $(SHELL) $$s/$$module_srcdir/configure \
14489 --srcdir=$${topdir}/$$module_srcdir \
14490 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14491 --target=${target_alias} \
14492 --with-build-libsubdir=$(HOST_SUBDIR) \
14493 $(STAGE3_CONFIGURE_FLAGS) \
14494 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14495 @endif cloog-bootstrap
14497 .PHONY: configure-stage4-cloog maybe-configure-stage4-cloog
14498 maybe-configure-stage4-cloog:
14499 @if cloog-bootstrap
14500 maybe-configure-stage4-cloog: configure-stage4-cloog
14501 configure-stage4-cloog:
14502 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14503 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14504 @r=`${PWD_COMMAND}`; export r; \
14505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14506 TFLAGS="$(STAGE4_TFLAGS)"; \
14507 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14508 $(HOST_EXPORTS) \
14509 $(POSTSTAGE1_HOST_EXPORTS) \
14510 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14511 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14512 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14513 echo Configuring stage 4 in $(HOST_SUBDIR)/cloog ; \
14514 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14515 cd $(HOST_SUBDIR)/cloog || exit 1; \
14516 case $(srcdir) in \
14517 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14518 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14519 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14520 esac; \
14521 module_srcdir=cloog; \
14522 $(SHELL) $$s/$$module_srcdir/configure \
14523 --srcdir=$${topdir}/$$module_srcdir \
14524 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14525 --target=${target_alias} \
14526 --with-build-libsubdir=$(HOST_SUBDIR) \
14527 $(STAGE4_CONFIGURE_FLAGS) \
14528 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14529 @endif cloog-bootstrap
14531 .PHONY: configure-stageprofile-cloog maybe-configure-stageprofile-cloog
14532 maybe-configure-stageprofile-cloog:
14533 @if cloog-bootstrap
14534 maybe-configure-stageprofile-cloog: configure-stageprofile-cloog
14535 configure-stageprofile-cloog:
14536 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14537 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14538 @r=`${PWD_COMMAND}`; export r; \
14539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14540 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14541 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14542 $(HOST_EXPORTS) \
14543 $(POSTSTAGE1_HOST_EXPORTS) \
14544 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14545 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14546 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14547 echo Configuring stage profile in $(HOST_SUBDIR)/cloog ; \
14548 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14549 cd $(HOST_SUBDIR)/cloog || exit 1; \
14550 case $(srcdir) in \
14551 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14552 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14553 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14554 esac; \
14555 module_srcdir=cloog; \
14556 $(SHELL) $$s/$$module_srcdir/configure \
14557 --srcdir=$${topdir}/$$module_srcdir \
14558 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14559 --target=${target_alias} \
14560 --with-build-libsubdir=$(HOST_SUBDIR) \
14561 $(STAGEprofile_CONFIGURE_FLAGS) \
14562 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14563 @endif cloog-bootstrap
14565 .PHONY: configure-stagefeedback-cloog maybe-configure-stagefeedback-cloog
14566 maybe-configure-stagefeedback-cloog:
14567 @if cloog-bootstrap
14568 maybe-configure-stagefeedback-cloog: configure-stagefeedback-cloog
14569 configure-stagefeedback-cloog:
14570 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14571 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14572 @r=`${PWD_COMMAND}`; export r; \
14573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14574 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14575 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14576 $(HOST_EXPORTS) \
14577 $(POSTSTAGE1_HOST_EXPORTS) \
14578 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14579 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14580 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14581 echo Configuring stage feedback in $(HOST_SUBDIR)/cloog ; \
14582 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14583 cd $(HOST_SUBDIR)/cloog || exit 1; \
14584 case $(srcdir) in \
14585 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14586 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14587 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14588 esac; \
14589 module_srcdir=cloog; \
14590 $(SHELL) $$s/$$module_srcdir/configure \
14591 --srcdir=$${topdir}/$$module_srcdir \
14592 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14593 --target=${target_alias} \
14594 --with-build-libsubdir=$(HOST_SUBDIR) \
14595 $(STAGEfeedback_CONFIGURE_FLAGS) \
14596 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14597 @endif cloog-bootstrap
14603 .PHONY: all-cloog maybe-all-cloog
14604 maybe-all-cloog:
14605 @if gcc-bootstrap
14606 all-cloog: stage_current
14607 @endif gcc-bootstrap
14608 @if cloog
14609 TARGET-cloog=all
14610 maybe-all-cloog: all-cloog
14611 all-cloog: configure-cloog
14612 @r=`${PWD_COMMAND}`; export r; \
14613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14614 $(HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14615 (cd $(HOST_SUBDIR)/cloog && \
14616 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14617 $(TARGET-cloog))
14618 @endif cloog
14622 .PHONY: all-stage1-cloog maybe-all-stage1-cloog
14623 .PHONY: clean-stage1-cloog maybe-clean-stage1-cloog
14624 maybe-all-stage1-cloog:
14625 maybe-clean-stage1-cloog:
14626 @if cloog-bootstrap
14627 maybe-all-stage1-cloog: all-stage1-cloog
14628 all-stage1: all-stage1-cloog
14629 TARGET-stage1-cloog = $(TARGET-cloog)
14630 all-stage1-cloog: configure-stage1-cloog
14631 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14632 @r=`${PWD_COMMAND}`; export r; \
14633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14634 TFLAGS="$(STAGE1_TFLAGS)"; \
14635 $(HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14636 cd $(HOST_SUBDIR)/cloog && \
14637 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14638 CFLAGS="$(STAGE1_CFLAGS)" \
14639 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
14640 LIBCFLAGS="$(LIBCFLAGS)" \
14641 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14642 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14643 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14644 $(EXTRA_HOST_FLAGS) \
14645 $(STAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14646 TFLAGS="$(STAGE1_TFLAGS)" \
14647 $(TARGET-stage1-cloog)
14649 maybe-clean-stage1-cloog: clean-stage1-cloog
14650 clean-stage1: clean-stage1-cloog
14651 clean-stage1-cloog:
14652 @if [ $(current_stage) = stage1 ]; then \
14653 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14654 else \
14655 [ -f $(HOST_SUBDIR)/stage1-cloog/Makefile ] || exit 0; \
14656 $(MAKE) stage1-start; \
14657 fi; \
14658 cd $(HOST_SUBDIR)/cloog && \
14659 $(MAKE) $(EXTRA_HOST_FLAGS) \
14660 $(STAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14661 @endif cloog-bootstrap
14664 .PHONY: all-stage2-cloog maybe-all-stage2-cloog
14665 .PHONY: clean-stage2-cloog maybe-clean-stage2-cloog
14666 maybe-all-stage2-cloog:
14667 maybe-clean-stage2-cloog:
14668 @if cloog-bootstrap
14669 maybe-all-stage2-cloog: all-stage2-cloog
14670 all-stage2: all-stage2-cloog
14671 TARGET-stage2-cloog = $(TARGET-cloog)
14672 all-stage2-cloog: configure-stage2-cloog
14673 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14674 @r=`${PWD_COMMAND}`; export r; \
14675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14676 TFLAGS="$(STAGE2_TFLAGS)"; \
14677 $(HOST_EXPORTS) \
14678 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14679 cd $(HOST_SUBDIR)/cloog && \
14680 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14681 CFLAGS="$(STAGE2_CFLAGS)" \
14682 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
14683 LIBCFLAGS="$(STAGE2_CFLAGS)" \
14684 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14685 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14686 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14687 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14688 TFLAGS="$(STAGE2_TFLAGS)" \
14689 $(TARGET-stage2-cloog)
14691 maybe-clean-stage2-cloog: clean-stage2-cloog
14692 clean-stage2: clean-stage2-cloog
14693 clean-stage2-cloog:
14694 @if [ $(current_stage) = stage2 ]; then \
14695 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14696 else \
14697 [ -f $(HOST_SUBDIR)/stage2-cloog/Makefile ] || exit 0; \
14698 $(MAKE) stage2-start; \
14699 fi; \
14700 cd $(HOST_SUBDIR)/cloog && \
14701 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14702 @endif cloog-bootstrap
14705 .PHONY: all-stage3-cloog maybe-all-stage3-cloog
14706 .PHONY: clean-stage3-cloog maybe-clean-stage3-cloog
14707 maybe-all-stage3-cloog:
14708 maybe-clean-stage3-cloog:
14709 @if cloog-bootstrap
14710 maybe-all-stage3-cloog: all-stage3-cloog
14711 all-stage3: all-stage3-cloog
14712 TARGET-stage3-cloog = $(TARGET-cloog)
14713 all-stage3-cloog: configure-stage3-cloog
14714 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14715 @r=`${PWD_COMMAND}`; export r; \
14716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14717 TFLAGS="$(STAGE3_TFLAGS)"; \
14718 $(HOST_EXPORTS) \
14719 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14720 cd $(HOST_SUBDIR)/cloog && \
14721 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14722 CFLAGS="$(STAGE3_CFLAGS)" \
14723 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
14724 LIBCFLAGS="$(STAGE3_CFLAGS)" \
14725 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14726 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14727 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14728 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14729 TFLAGS="$(STAGE3_TFLAGS)" \
14730 $(TARGET-stage3-cloog)
14732 maybe-clean-stage3-cloog: clean-stage3-cloog
14733 clean-stage3: clean-stage3-cloog
14734 clean-stage3-cloog:
14735 @if [ $(current_stage) = stage3 ]; then \
14736 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14737 else \
14738 [ -f $(HOST_SUBDIR)/stage3-cloog/Makefile ] || exit 0; \
14739 $(MAKE) stage3-start; \
14740 fi; \
14741 cd $(HOST_SUBDIR)/cloog && \
14742 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14743 @endif cloog-bootstrap
14746 .PHONY: all-stage4-cloog maybe-all-stage4-cloog
14747 .PHONY: clean-stage4-cloog maybe-clean-stage4-cloog
14748 maybe-all-stage4-cloog:
14749 maybe-clean-stage4-cloog:
14750 @if cloog-bootstrap
14751 maybe-all-stage4-cloog: all-stage4-cloog
14752 all-stage4: all-stage4-cloog
14753 TARGET-stage4-cloog = $(TARGET-cloog)
14754 all-stage4-cloog: configure-stage4-cloog
14755 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14756 @r=`${PWD_COMMAND}`; export r; \
14757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14758 TFLAGS="$(STAGE4_TFLAGS)"; \
14759 $(HOST_EXPORTS) \
14760 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14761 cd $(HOST_SUBDIR)/cloog && \
14762 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14763 CFLAGS="$(STAGE4_CFLAGS)" \
14764 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
14765 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14766 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14767 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14768 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14769 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14770 TFLAGS="$(STAGE4_TFLAGS)" \
14771 $(TARGET-stage4-cloog)
14773 maybe-clean-stage4-cloog: clean-stage4-cloog
14774 clean-stage4: clean-stage4-cloog
14775 clean-stage4-cloog:
14776 @if [ $(current_stage) = stage4 ]; then \
14777 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14778 else \
14779 [ -f $(HOST_SUBDIR)/stage4-cloog/Makefile ] || exit 0; \
14780 $(MAKE) stage4-start; \
14781 fi; \
14782 cd $(HOST_SUBDIR)/cloog && \
14783 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14784 @endif cloog-bootstrap
14787 .PHONY: all-stageprofile-cloog maybe-all-stageprofile-cloog
14788 .PHONY: clean-stageprofile-cloog maybe-clean-stageprofile-cloog
14789 maybe-all-stageprofile-cloog:
14790 maybe-clean-stageprofile-cloog:
14791 @if cloog-bootstrap
14792 maybe-all-stageprofile-cloog: all-stageprofile-cloog
14793 all-stageprofile: all-stageprofile-cloog
14794 TARGET-stageprofile-cloog = $(TARGET-cloog)
14795 all-stageprofile-cloog: configure-stageprofile-cloog
14796 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14797 @r=`${PWD_COMMAND}`; export r; \
14798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14799 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14800 $(HOST_EXPORTS) \
14801 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14802 cd $(HOST_SUBDIR)/cloog && \
14803 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14804 CFLAGS="$(STAGEprofile_CFLAGS)" \
14805 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
14806 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14807 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14808 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14809 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14810 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14811 TFLAGS="$(STAGEprofile_TFLAGS)" \
14812 $(TARGET-stageprofile-cloog)
14814 maybe-clean-stageprofile-cloog: clean-stageprofile-cloog
14815 clean-stageprofile: clean-stageprofile-cloog
14816 clean-stageprofile-cloog:
14817 @if [ $(current_stage) = stageprofile ]; then \
14818 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14819 else \
14820 [ -f $(HOST_SUBDIR)/stageprofile-cloog/Makefile ] || exit 0; \
14821 $(MAKE) stageprofile-start; \
14822 fi; \
14823 cd $(HOST_SUBDIR)/cloog && \
14824 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14825 @endif cloog-bootstrap
14828 .PHONY: all-stagefeedback-cloog maybe-all-stagefeedback-cloog
14829 .PHONY: clean-stagefeedback-cloog maybe-clean-stagefeedback-cloog
14830 maybe-all-stagefeedback-cloog:
14831 maybe-clean-stagefeedback-cloog:
14832 @if cloog-bootstrap
14833 maybe-all-stagefeedback-cloog: all-stagefeedback-cloog
14834 all-stagefeedback: all-stagefeedback-cloog
14835 TARGET-stagefeedback-cloog = $(TARGET-cloog)
14836 all-stagefeedback-cloog: configure-stagefeedback-cloog
14837 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14838 @r=`${PWD_COMMAND}`; export r; \
14839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14840 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14841 $(HOST_EXPORTS) \
14842 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14843 cd $(HOST_SUBDIR)/cloog && \
14844 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14845 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14846 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
14847 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14848 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14849 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14850 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14851 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14852 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14853 $(TARGET-stagefeedback-cloog)
14855 maybe-clean-stagefeedback-cloog: clean-stagefeedback-cloog
14856 clean-stagefeedback: clean-stagefeedback-cloog
14857 clean-stagefeedback-cloog:
14858 @if [ $(current_stage) = stagefeedback ]; then \
14859 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14860 else \
14861 [ -f $(HOST_SUBDIR)/stagefeedback-cloog/Makefile ] || exit 0; \
14862 $(MAKE) stagefeedback-start; \
14863 fi; \
14864 cd $(HOST_SUBDIR)/cloog && \
14865 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14866 @endif cloog-bootstrap
14872 .PHONY: check-cloog maybe-check-cloog
14873 maybe-check-cloog:
14874 @if cloog
14875 maybe-check-cloog: check-cloog
14877 check-cloog:
14878 @: $(MAKE); $(unstage)
14879 @r=`${PWD_COMMAND}`; export r; \
14880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14881 $(HOST_EXPORTS) \
14882 (cd $(HOST_SUBDIR)/cloog && \
14883 $(MAKE) $(FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 check)
14885 @endif cloog
14887 .PHONY: install-cloog maybe-install-cloog
14888 maybe-install-cloog:
14889 @if cloog
14890 maybe-install-cloog: install-cloog
14892 install-cloog:
14894 @endif cloog
14896 .PHONY: install-strip-cloog maybe-install-strip-cloog
14897 maybe-install-strip-cloog:
14898 @if cloog
14899 maybe-install-strip-cloog: install-strip-cloog
14901 install-strip-cloog:
14903 @endif cloog
14905 # Other targets (info, dvi, pdf, etc.)
14907 .PHONY: maybe-info-cloog info-cloog
14908 maybe-info-cloog:
14909 @if cloog
14910 maybe-info-cloog: info-cloog
14912 info-cloog: \
14913 configure-cloog
14914 @[ -f ./cloog/Makefile ] || exit 0; \
14915 r=`${PWD_COMMAND}`; export r; \
14916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14917 $(HOST_EXPORTS) \
14918 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14920 done; \
14921 echo "Doing info in cloog" ; \
14922 (cd $(HOST_SUBDIR)/cloog && \
14923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14925 "RANLIB=$${RANLIB}" \
14926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14927 info) \
14928 || exit 1
14930 @endif cloog
14932 .PHONY: maybe-dvi-cloog dvi-cloog
14933 maybe-dvi-cloog:
14934 @if cloog
14935 maybe-dvi-cloog: dvi-cloog
14937 dvi-cloog: \
14938 configure-cloog
14939 @[ -f ./cloog/Makefile ] || exit 0; \
14940 r=`${PWD_COMMAND}`; export r; \
14941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14942 $(HOST_EXPORTS) \
14943 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14945 done; \
14946 echo "Doing dvi in cloog" ; \
14947 (cd $(HOST_SUBDIR)/cloog && \
14948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14950 "RANLIB=$${RANLIB}" \
14951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14952 dvi) \
14953 || exit 1
14955 @endif cloog
14957 .PHONY: maybe-pdf-cloog pdf-cloog
14958 maybe-pdf-cloog:
14959 @if cloog
14960 maybe-pdf-cloog: pdf-cloog
14962 pdf-cloog: \
14963 configure-cloog
14964 @[ -f ./cloog/Makefile ] || exit 0; \
14965 r=`${PWD_COMMAND}`; export r; \
14966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14967 $(HOST_EXPORTS) \
14968 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14970 done; \
14971 echo "Doing pdf in cloog" ; \
14972 (cd $(HOST_SUBDIR)/cloog && \
14973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14975 "RANLIB=$${RANLIB}" \
14976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14977 pdf) \
14978 || exit 1
14980 @endif cloog
14982 .PHONY: maybe-html-cloog html-cloog
14983 maybe-html-cloog:
14984 @if cloog
14985 maybe-html-cloog: html-cloog
14987 html-cloog: \
14988 configure-cloog
14989 @[ -f ./cloog/Makefile ] || exit 0; \
14990 r=`${PWD_COMMAND}`; export r; \
14991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14992 $(HOST_EXPORTS) \
14993 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14995 done; \
14996 echo "Doing html in cloog" ; \
14997 (cd $(HOST_SUBDIR)/cloog && \
14998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15000 "RANLIB=$${RANLIB}" \
15001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15002 html) \
15003 || exit 1
15005 @endif cloog
15007 .PHONY: maybe-TAGS-cloog TAGS-cloog
15008 maybe-TAGS-cloog:
15009 @if cloog
15010 maybe-TAGS-cloog: TAGS-cloog
15012 TAGS-cloog: \
15013 configure-cloog
15014 @[ -f ./cloog/Makefile ] || exit 0; \
15015 r=`${PWD_COMMAND}`; export r; \
15016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15017 $(HOST_EXPORTS) \
15018 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
15019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15020 done; \
15021 echo "Doing TAGS in cloog" ; \
15022 (cd $(HOST_SUBDIR)/cloog && \
15023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15025 "RANLIB=$${RANLIB}" \
15026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15027 TAGS) \
15028 || exit 1
15030 @endif cloog
15032 .PHONY: maybe-install-info-cloog install-info-cloog
15033 maybe-install-info-cloog:
15034 @if cloog
15035 maybe-install-info-cloog: install-info-cloog
15037 install-info-cloog: \
15038 configure-cloog \
15039 info-cloog
15040 @[ -f ./cloog/Makefile ] || exit 0; \
15041 r=`${PWD_COMMAND}`; export r; \
15042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15043 $(HOST_EXPORTS) \
15044 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
15045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15046 done; \
15047 echo "Doing install-info in cloog" ; \
15048 (cd $(HOST_SUBDIR)/cloog && \
15049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15051 "RANLIB=$${RANLIB}" \
15052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15053 install-info) \
15054 || exit 1
15056 @endif cloog
15058 .PHONY: maybe-install-pdf-cloog install-pdf-cloog
15059 maybe-install-pdf-cloog:
15060 @if cloog
15061 maybe-install-pdf-cloog: install-pdf-cloog
15063 install-pdf-cloog: \
15064 configure-cloog \
15065 pdf-cloog
15066 @[ -f ./cloog/Makefile ] || exit 0; \
15067 r=`${PWD_COMMAND}`; export r; \
15068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15069 $(HOST_EXPORTS) \
15070 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
15071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15072 done; \
15073 echo "Doing install-pdf in cloog" ; \
15074 (cd $(HOST_SUBDIR)/cloog && \
15075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15077 "RANLIB=$${RANLIB}" \
15078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15079 install-pdf) \
15080 || exit 1
15082 @endif cloog
15084 .PHONY: maybe-install-html-cloog install-html-cloog
15085 maybe-install-html-cloog:
15086 @if cloog
15087 maybe-install-html-cloog: install-html-cloog
15089 install-html-cloog: \
15090 configure-cloog \
15091 html-cloog
15092 @[ -f ./cloog/Makefile ] || exit 0; \
15093 r=`${PWD_COMMAND}`; export r; \
15094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15095 $(HOST_EXPORTS) \
15096 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
15097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15098 done; \
15099 echo "Doing install-html in cloog" ; \
15100 (cd $(HOST_SUBDIR)/cloog && \
15101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15103 "RANLIB=$${RANLIB}" \
15104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15105 install-html) \
15106 || exit 1
15108 @endif cloog
15110 .PHONY: maybe-installcheck-cloog installcheck-cloog
15111 maybe-installcheck-cloog:
15112 @if cloog
15113 maybe-installcheck-cloog: installcheck-cloog
15115 installcheck-cloog: \
15116 configure-cloog
15117 @[ -f ./cloog/Makefile ] || exit 0; \
15118 r=`${PWD_COMMAND}`; export r; \
15119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15120 $(HOST_EXPORTS) \
15121 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
15122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15123 done; \
15124 echo "Doing installcheck in cloog" ; \
15125 (cd $(HOST_SUBDIR)/cloog && \
15126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15128 "RANLIB=$${RANLIB}" \
15129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15130 installcheck) \
15131 || exit 1
15133 @endif cloog
15135 .PHONY: maybe-mostlyclean-cloog mostlyclean-cloog
15136 maybe-mostlyclean-cloog:
15137 @if cloog
15138 maybe-mostlyclean-cloog: mostlyclean-cloog
15140 mostlyclean-cloog:
15141 @[ -f ./cloog/Makefile ] || exit 0; \
15142 r=`${PWD_COMMAND}`; export r; \
15143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15144 $(HOST_EXPORTS) \
15145 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
15146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15147 done; \
15148 echo "Doing mostlyclean in cloog" ; \
15149 (cd $(HOST_SUBDIR)/cloog && \
15150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15152 "RANLIB=$${RANLIB}" \
15153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15154 mostlyclean) \
15155 || exit 1
15157 @endif cloog
15159 .PHONY: maybe-clean-cloog clean-cloog
15160 maybe-clean-cloog:
15161 @if cloog
15162 maybe-clean-cloog: clean-cloog
15164 clean-cloog:
15165 @[ -f ./cloog/Makefile ] || exit 0; \
15166 r=`${PWD_COMMAND}`; export r; \
15167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15168 $(HOST_EXPORTS) \
15169 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
15170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15171 done; \
15172 echo "Doing clean in cloog" ; \
15173 (cd $(HOST_SUBDIR)/cloog && \
15174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15176 "RANLIB=$${RANLIB}" \
15177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15178 clean) \
15179 || exit 1
15181 @endif cloog
15183 .PHONY: maybe-distclean-cloog distclean-cloog
15184 maybe-distclean-cloog:
15185 @if cloog
15186 maybe-distclean-cloog: distclean-cloog
15188 distclean-cloog:
15189 @[ -f ./cloog/Makefile ] || exit 0; \
15190 r=`${PWD_COMMAND}`; export r; \
15191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15192 $(HOST_EXPORTS) \
15193 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
15194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15195 done; \
15196 echo "Doing distclean in cloog" ; \
15197 (cd $(HOST_SUBDIR)/cloog && \
15198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15200 "RANLIB=$${RANLIB}" \
15201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15202 distclean) \
15203 || exit 1
15205 @endif cloog
15207 .PHONY: maybe-maintainer-clean-cloog maintainer-clean-cloog
15208 maybe-maintainer-clean-cloog:
15209 @if cloog
15210 maybe-maintainer-clean-cloog: maintainer-clean-cloog
15212 maintainer-clean-cloog:
15213 @[ -f ./cloog/Makefile ] || exit 0; \
15214 r=`${PWD_COMMAND}`; export r; \
15215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15216 $(HOST_EXPORTS) \
15217 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
15218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15219 done; \
15220 echo "Doing maintainer-clean in cloog" ; \
15221 (cd $(HOST_SUBDIR)/cloog && \
15222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15224 "RANLIB=$${RANLIB}" \
15225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15226 maintainer-clean) \
15227 || exit 1
15229 @endif cloog
15233 .PHONY: configure-libelf maybe-configure-libelf
15234 maybe-configure-libelf:
15235 @if gcc-bootstrap
15236 configure-libelf: stage_current
15237 @endif gcc-bootstrap
15238 @if libelf
15239 maybe-configure-libelf: configure-libelf
15240 configure-libelf:
15241 @r=`${PWD_COMMAND}`; export r; \
15242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15243 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
15244 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
15245 $(HOST_EXPORTS) \
15246 echo Configuring in $(HOST_SUBDIR)/libelf; \
15247 cd "$(HOST_SUBDIR)/libelf" || exit 1; \
15248 case $(srcdir) in \
15249 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15250 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
15251 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15252 esac; \
15253 module_srcdir=libelf; \
15254 $(SHELL) \
15255 $$s/$$module_srcdir/configure \
15256 --srcdir=$${topdir}/$$module_srcdir \
15257 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15258 --target=${target_alias} --disable-shared \
15259 || exit 1
15260 @endif libelf
15264 .PHONY: configure-stage1-libelf maybe-configure-stage1-libelf
15265 maybe-configure-stage1-libelf:
15266 @if libelf-bootstrap
15267 maybe-configure-stage1-libelf: configure-stage1-libelf
15268 configure-stage1-libelf:
15269 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15270 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
15271 @r=`${PWD_COMMAND}`; export r; \
15272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15273 TFLAGS="$(STAGE1_TFLAGS)"; \
15274 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
15275 $(HOST_EXPORTS) \
15276 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
15277 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
15278 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
15279 echo Configuring stage 1 in $(HOST_SUBDIR)/libelf ; \
15280 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
15281 cd $(HOST_SUBDIR)/libelf || exit 1; \
15282 case $(srcdir) in \
15283 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15284 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
15285 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15286 esac; \
15287 module_srcdir=libelf; \
15288 $(SHELL) $$s/$$module_srcdir/configure \
15289 --srcdir=$${topdir}/$$module_srcdir \
15290 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15291 --target=${target_alias} \
15293 $(STAGE1_CONFIGURE_FLAGS) \
15294 --disable-shared
15295 @endif libelf-bootstrap
15297 .PHONY: configure-stage2-libelf maybe-configure-stage2-libelf
15298 maybe-configure-stage2-libelf:
15299 @if libelf-bootstrap
15300 maybe-configure-stage2-libelf: configure-stage2-libelf
15301 configure-stage2-libelf:
15302 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15303 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
15304 @r=`${PWD_COMMAND}`; export r; \
15305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15306 TFLAGS="$(STAGE2_TFLAGS)"; \
15307 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
15308 $(HOST_EXPORTS) \
15309 $(POSTSTAGE1_HOST_EXPORTS) \
15310 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
15311 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
15312 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
15313 echo Configuring stage 2 in $(HOST_SUBDIR)/libelf ; \
15314 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
15315 cd $(HOST_SUBDIR)/libelf || exit 1; \
15316 case $(srcdir) in \
15317 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15318 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
15319 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15320 esac; \
15321 module_srcdir=libelf; \
15322 $(SHELL) $$s/$$module_srcdir/configure \
15323 --srcdir=$${topdir}/$$module_srcdir \
15324 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15325 --target=${target_alias} \
15326 --with-build-libsubdir=$(HOST_SUBDIR) \
15327 $(STAGE2_CONFIGURE_FLAGS) \
15328 --disable-shared
15329 @endif libelf-bootstrap
15331 .PHONY: configure-stage3-libelf maybe-configure-stage3-libelf
15332 maybe-configure-stage3-libelf:
15333 @if libelf-bootstrap
15334 maybe-configure-stage3-libelf: configure-stage3-libelf
15335 configure-stage3-libelf:
15336 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15337 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
15338 @r=`${PWD_COMMAND}`; export r; \
15339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15340 TFLAGS="$(STAGE3_TFLAGS)"; \
15341 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
15342 $(HOST_EXPORTS) \
15343 $(POSTSTAGE1_HOST_EXPORTS) \
15344 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
15345 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
15346 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
15347 echo Configuring stage 3 in $(HOST_SUBDIR)/libelf ; \
15348 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
15349 cd $(HOST_SUBDIR)/libelf || exit 1; \
15350 case $(srcdir) in \
15351 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15352 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
15353 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15354 esac; \
15355 module_srcdir=libelf; \
15356 $(SHELL) $$s/$$module_srcdir/configure \
15357 --srcdir=$${topdir}/$$module_srcdir \
15358 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15359 --target=${target_alias} \
15360 --with-build-libsubdir=$(HOST_SUBDIR) \
15361 $(STAGE3_CONFIGURE_FLAGS) \
15362 --disable-shared
15363 @endif libelf-bootstrap
15365 .PHONY: configure-stage4-libelf maybe-configure-stage4-libelf
15366 maybe-configure-stage4-libelf:
15367 @if libelf-bootstrap
15368 maybe-configure-stage4-libelf: configure-stage4-libelf
15369 configure-stage4-libelf:
15370 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15371 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
15372 @r=`${PWD_COMMAND}`; export r; \
15373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15374 TFLAGS="$(STAGE4_TFLAGS)"; \
15375 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
15376 $(HOST_EXPORTS) \
15377 $(POSTSTAGE1_HOST_EXPORTS) \
15378 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
15379 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
15380 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
15381 echo Configuring stage 4 in $(HOST_SUBDIR)/libelf ; \
15382 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
15383 cd $(HOST_SUBDIR)/libelf || exit 1; \
15384 case $(srcdir) in \
15385 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15386 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
15387 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15388 esac; \
15389 module_srcdir=libelf; \
15390 $(SHELL) $$s/$$module_srcdir/configure \
15391 --srcdir=$${topdir}/$$module_srcdir \
15392 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15393 --target=${target_alias} \
15394 --with-build-libsubdir=$(HOST_SUBDIR) \
15395 $(STAGE4_CONFIGURE_FLAGS) \
15396 --disable-shared
15397 @endif libelf-bootstrap
15399 .PHONY: configure-stageprofile-libelf maybe-configure-stageprofile-libelf
15400 maybe-configure-stageprofile-libelf:
15401 @if libelf-bootstrap
15402 maybe-configure-stageprofile-libelf: configure-stageprofile-libelf
15403 configure-stageprofile-libelf:
15404 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15405 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
15406 @r=`${PWD_COMMAND}`; export r; \
15407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15408 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15409 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
15410 $(HOST_EXPORTS) \
15411 $(POSTSTAGE1_HOST_EXPORTS) \
15412 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
15413 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
15414 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
15415 echo Configuring stage profile in $(HOST_SUBDIR)/libelf ; \
15416 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
15417 cd $(HOST_SUBDIR)/libelf || exit 1; \
15418 case $(srcdir) in \
15419 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15420 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
15421 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15422 esac; \
15423 module_srcdir=libelf; \
15424 $(SHELL) $$s/$$module_srcdir/configure \
15425 --srcdir=$${topdir}/$$module_srcdir \
15426 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15427 --target=${target_alias} \
15428 --with-build-libsubdir=$(HOST_SUBDIR) \
15429 $(STAGEprofile_CONFIGURE_FLAGS) \
15430 --disable-shared
15431 @endif libelf-bootstrap
15433 .PHONY: configure-stagefeedback-libelf maybe-configure-stagefeedback-libelf
15434 maybe-configure-stagefeedback-libelf:
15435 @if libelf-bootstrap
15436 maybe-configure-stagefeedback-libelf: configure-stagefeedback-libelf
15437 configure-stagefeedback-libelf:
15438 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15439 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
15440 @r=`${PWD_COMMAND}`; export r; \
15441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15442 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15443 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
15444 $(HOST_EXPORTS) \
15445 $(POSTSTAGE1_HOST_EXPORTS) \
15446 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
15447 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
15448 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
15449 echo Configuring stage feedback in $(HOST_SUBDIR)/libelf ; \
15450 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
15451 cd $(HOST_SUBDIR)/libelf || exit 1; \
15452 case $(srcdir) in \
15453 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15454 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
15455 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15456 esac; \
15457 module_srcdir=libelf; \
15458 $(SHELL) $$s/$$module_srcdir/configure \
15459 --srcdir=$${topdir}/$$module_srcdir \
15460 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15461 --target=${target_alias} \
15462 --with-build-libsubdir=$(HOST_SUBDIR) \
15463 $(STAGEfeedback_CONFIGURE_FLAGS) \
15464 --disable-shared
15465 @endif libelf-bootstrap
15471 .PHONY: all-libelf maybe-all-libelf
15472 maybe-all-libelf:
15473 @if gcc-bootstrap
15474 all-libelf: stage_current
15475 @endif gcc-bootstrap
15476 @if libelf
15477 TARGET-libelf=all
15478 maybe-all-libelf: all-libelf
15479 all-libelf: configure-libelf
15480 @r=`${PWD_COMMAND}`; export r; \
15481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15482 $(HOST_EXPORTS) \
15483 (cd $(HOST_SUBDIR)/libelf && \
15484 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
15485 $(TARGET-libelf))
15486 @endif libelf
15490 .PHONY: all-stage1-libelf maybe-all-stage1-libelf
15491 .PHONY: clean-stage1-libelf maybe-clean-stage1-libelf
15492 maybe-all-stage1-libelf:
15493 maybe-clean-stage1-libelf:
15494 @if libelf-bootstrap
15495 maybe-all-stage1-libelf: all-stage1-libelf
15496 all-stage1: all-stage1-libelf
15497 TARGET-stage1-libelf = $(TARGET-libelf)
15498 all-stage1-libelf: configure-stage1-libelf
15499 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15500 @r=`${PWD_COMMAND}`; export r; \
15501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15502 TFLAGS="$(STAGE1_TFLAGS)"; \
15503 $(HOST_EXPORTS) \
15504 cd $(HOST_SUBDIR)/libelf && \
15505 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15506 CFLAGS="$(STAGE1_CFLAGS)" \
15507 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15508 LIBCFLAGS="$(LIBCFLAGS)" \
15509 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15510 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15511 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15512 $(EXTRA_HOST_FLAGS) \
15513 $(STAGE1_FLAGS_TO_PASS) \
15514 TFLAGS="$(STAGE1_TFLAGS)" \
15515 $(TARGET-stage1-libelf)
15517 maybe-clean-stage1-libelf: clean-stage1-libelf
15518 clean-stage1: clean-stage1-libelf
15519 clean-stage1-libelf:
15520 @if [ $(current_stage) = stage1 ]; then \
15521 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15522 else \
15523 [ -f $(HOST_SUBDIR)/stage1-libelf/Makefile ] || exit 0; \
15524 $(MAKE) stage1-start; \
15525 fi; \
15526 cd $(HOST_SUBDIR)/libelf && \
15527 $(MAKE) $(EXTRA_HOST_FLAGS) \
15528 $(STAGE1_FLAGS_TO_PASS) clean
15529 @endif libelf-bootstrap
15532 .PHONY: all-stage2-libelf maybe-all-stage2-libelf
15533 .PHONY: clean-stage2-libelf maybe-clean-stage2-libelf
15534 maybe-all-stage2-libelf:
15535 maybe-clean-stage2-libelf:
15536 @if libelf-bootstrap
15537 maybe-all-stage2-libelf: all-stage2-libelf
15538 all-stage2: all-stage2-libelf
15539 TARGET-stage2-libelf = $(TARGET-libelf)
15540 all-stage2-libelf: configure-stage2-libelf
15541 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15542 @r=`${PWD_COMMAND}`; export r; \
15543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15544 TFLAGS="$(STAGE2_TFLAGS)"; \
15545 $(HOST_EXPORTS) \
15546 $(POSTSTAGE1_HOST_EXPORTS) \
15547 cd $(HOST_SUBDIR)/libelf && \
15548 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15549 CFLAGS="$(STAGE2_CFLAGS)" \
15550 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15551 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15552 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15553 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15554 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15555 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15556 TFLAGS="$(STAGE2_TFLAGS)" \
15557 $(TARGET-stage2-libelf)
15559 maybe-clean-stage2-libelf: clean-stage2-libelf
15560 clean-stage2: clean-stage2-libelf
15561 clean-stage2-libelf:
15562 @if [ $(current_stage) = stage2 ]; then \
15563 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15564 else \
15565 [ -f $(HOST_SUBDIR)/stage2-libelf/Makefile ] || exit 0; \
15566 $(MAKE) stage2-start; \
15567 fi; \
15568 cd $(HOST_SUBDIR)/libelf && \
15569 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15570 @endif libelf-bootstrap
15573 .PHONY: all-stage3-libelf maybe-all-stage3-libelf
15574 .PHONY: clean-stage3-libelf maybe-clean-stage3-libelf
15575 maybe-all-stage3-libelf:
15576 maybe-clean-stage3-libelf:
15577 @if libelf-bootstrap
15578 maybe-all-stage3-libelf: all-stage3-libelf
15579 all-stage3: all-stage3-libelf
15580 TARGET-stage3-libelf = $(TARGET-libelf)
15581 all-stage3-libelf: configure-stage3-libelf
15582 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15583 @r=`${PWD_COMMAND}`; export r; \
15584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15585 TFLAGS="$(STAGE3_TFLAGS)"; \
15586 $(HOST_EXPORTS) \
15587 $(POSTSTAGE1_HOST_EXPORTS) \
15588 cd $(HOST_SUBDIR)/libelf && \
15589 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15590 CFLAGS="$(STAGE3_CFLAGS)" \
15591 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15592 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15593 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15594 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15595 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15596 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15597 TFLAGS="$(STAGE3_TFLAGS)" \
15598 $(TARGET-stage3-libelf)
15600 maybe-clean-stage3-libelf: clean-stage3-libelf
15601 clean-stage3: clean-stage3-libelf
15602 clean-stage3-libelf:
15603 @if [ $(current_stage) = stage3 ]; then \
15604 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15605 else \
15606 [ -f $(HOST_SUBDIR)/stage3-libelf/Makefile ] || exit 0; \
15607 $(MAKE) stage3-start; \
15608 fi; \
15609 cd $(HOST_SUBDIR)/libelf && \
15610 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15611 @endif libelf-bootstrap
15614 .PHONY: all-stage4-libelf maybe-all-stage4-libelf
15615 .PHONY: clean-stage4-libelf maybe-clean-stage4-libelf
15616 maybe-all-stage4-libelf:
15617 maybe-clean-stage4-libelf:
15618 @if libelf-bootstrap
15619 maybe-all-stage4-libelf: all-stage4-libelf
15620 all-stage4: all-stage4-libelf
15621 TARGET-stage4-libelf = $(TARGET-libelf)
15622 all-stage4-libelf: configure-stage4-libelf
15623 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15624 @r=`${PWD_COMMAND}`; export r; \
15625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15626 TFLAGS="$(STAGE4_TFLAGS)"; \
15627 $(HOST_EXPORTS) \
15628 $(POSTSTAGE1_HOST_EXPORTS) \
15629 cd $(HOST_SUBDIR)/libelf && \
15630 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15631 CFLAGS="$(STAGE4_CFLAGS)" \
15632 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15633 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15634 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15635 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15636 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15637 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15638 TFLAGS="$(STAGE4_TFLAGS)" \
15639 $(TARGET-stage4-libelf)
15641 maybe-clean-stage4-libelf: clean-stage4-libelf
15642 clean-stage4: clean-stage4-libelf
15643 clean-stage4-libelf:
15644 @if [ $(current_stage) = stage4 ]; then \
15645 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15646 else \
15647 [ -f $(HOST_SUBDIR)/stage4-libelf/Makefile ] || exit 0; \
15648 $(MAKE) stage4-start; \
15649 fi; \
15650 cd $(HOST_SUBDIR)/libelf && \
15651 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15652 @endif libelf-bootstrap
15655 .PHONY: all-stageprofile-libelf maybe-all-stageprofile-libelf
15656 .PHONY: clean-stageprofile-libelf maybe-clean-stageprofile-libelf
15657 maybe-all-stageprofile-libelf:
15658 maybe-clean-stageprofile-libelf:
15659 @if libelf-bootstrap
15660 maybe-all-stageprofile-libelf: all-stageprofile-libelf
15661 all-stageprofile: all-stageprofile-libelf
15662 TARGET-stageprofile-libelf = $(TARGET-libelf)
15663 all-stageprofile-libelf: configure-stageprofile-libelf
15664 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15665 @r=`${PWD_COMMAND}`; export r; \
15666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15667 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15668 $(HOST_EXPORTS) \
15669 $(POSTSTAGE1_HOST_EXPORTS) \
15670 cd $(HOST_SUBDIR)/libelf && \
15671 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15672 CFLAGS="$(STAGEprofile_CFLAGS)" \
15673 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
15674 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
15675 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15676 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15677 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15678 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15679 TFLAGS="$(STAGEprofile_TFLAGS)" \
15680 $(TARGET-stageprofile-libelf)
15682 maybe-clean-stageprofile-libelf: clean-stageprofile-libelf
15683 clean-stageprofile: clean-stageprofile-libelf
15684 clean-stageprofile-libelf:
15685 @if [ $(current_stage) = stageprofile ]; then \
15686 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15687 else \
15688 [ -f $(HOST_SUBDIR)/stageprofile-libelf/Makefile ] || exit 0; \
15689 $(MAKE) stageprofile-start; \
15690 fi; \
15691 cd $(HOST_SUBDIR)/libelf && \
15692 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15693 @endif libelf-bootstrap
15696 .PHONY: all-stagefeedback-libelf maybe-all-stagefeedback-libelf
15697 .PHONY: clean-stagefeedback-libelf maybe-clean-stagefeedback-libelf
15698 maybe-all-stagefeedback-libelf:
15699 maybe-clean-stagefeedback-libelf:
15700 @if libelf-bootstrap
15701 maybe-all-stagefeedback-libelf: all-stagefeedback-libelf
15702 all-stagefeedback: all-stagefeedback-libelf
15703 TARGET-stagefeedback-libelf = $(TARGET-libelf)
15704 all-stagefeedback-libelf: configure-stagefeedback-libelf
15705 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15706 @r=`${PWD_COMMAND}`; export r; \
15707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15708 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15709 $(HOST_EXPORTS) \
15710 $(POSTSTAGE1_HOST_EXPORTS) \
15711 cd $(HOST_SUBDIR)/libelf && \
15712 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15713 CFLAGS="$(STAGEfeedback_CFLAGS)" \
15714 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
15715 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
15716 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15717 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15718 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15719 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15720 TFLAGS="$(STAGEfeedback_TFLAGS)" \
15721 $(TARGET-stagefeedback-libelf)
15723 maybe-clean-stagefeedback-libelf: clean-stagefeedback-libelf
15724 clean-stagefeedback: clean-stagefeedback-libelf
15725 clean-stagefeedback-libelf:
15726 @if [ $(current_stage) = stagefeedback ]; then \
15727 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15728 else \
15729 [ -f $(HOST_SUBDIR)/stagefeedback-libelf/Makefile ] || exit 0; \
15730 $(MAKE) stagefeedback-start; \
15731 fi; \
15732 cd $(HOST_SUBDIR)/libelf && \
15733 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15734 @endif libelf-bootstrap
15740 .PHONY: check-libelf maybe-check-libelf
15741 maybe-check-libelf:
15742 @if libelf
15743 maybe-check-libelf: check-libelf
15745 check-libelf:
15746 @: $(MAKE); $(unstage)
15747 @r=`${PWD_COMMAND}`; export r; \
15748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15749 $(HOST_EXPORTS) \
15750 (cd $(HOST_SUBDIR)/libelf && \
15751 $(MAKE) $(FLAGS_TO_PASS) check)
15753 @endif libelf
15755 .PHONY: install-libelf maybe-install-libelf
15756 maybe-install-libelf:
15757 @if libelf
15758 maybe-install-libelf: install-libelf
15760 install-libelf:
15762 @endif libelf
15764 .PHONY: install-strip-libelf maybe-install-strip-libelf
15765 maybe-install-strip-libelf:
15766 @if libelf
15767 maybe-install-strip-libelf: install-strip-libelf
15769 install-strip-libelf:
15771 @endif libelf
15773 # Other targets (info, dvi, pdf, etc.)
15775 .PHONY: maybe-info-libelf info-libelf
15776 maybe-info-libelf:
15777 @if libelf
15778 maybe-info-libelf: info-libelf
15780 info-libelf: \
15781 configure-libelf
15782 @[ -f ./libelf/Makefile ] || exit 0; \
15783 r=`${PWD_COMMAND}`; export r; \
15784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15785 $(HOST_EXPORTS) \
15786 for flag in $(EXTRA_HOST_FLAGS) ; do \
15787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15788 done; \
15789 echo "Doing info in libelf" ; \
15790 (cd $(HOST_SUBDIR)/libelf && \
15791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15793 "RANLIB=$${RANLIB}" \
15794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15795 info) \
15796 || exit 1
15798 @endif libelf
15800 .PHONY: maybe-dvi-libelf dvi-libelf
15801 maybe-dvi-libelf:
15802 @if libelf
15803 maybe-dvi-libelf: dvi-libelf
15805 dvi-libelf: \
15806 configure-libelf
15807 @[ -f ./libelf/Makefile ] || exit 0; \
15808 r=`${PWD_COMMAND}`; export r; \
15809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15810 $(HOST_EXPORTS) \
15811 for flag in $(EXTRA_HOST_FLAGS) ; do \
15812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15813 done; \
15814 echo "Doing dvi in libelf" ; \
15815 (cd $(HOST_SUBDIR)/libelf && \
15816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15818 "RANLIB=$${RANLIB}" \
15819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15820 dvi) \
15821 || exit 1
15823 @endif libelf
15825 .PHONY: maybe-pdf-libelf pdf-libelf
15826 maybe-pdf-libelf:
15827 @if libelf
15828 maybe-pdf-libelf: pdf-libelf
15830 pdf-libelf: \
15831 configure-libelf
15832 @[ -f ./libelf/Makefile ] || exit 0; \
15833 r=`${PWD_COMMAND}`; export r; \
15834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15835 $(HOST_EXPORTS) \
15836 for flag in $(EXTRA_HOST_FLAGS) ; do \
15837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15838 done; \
15839 echo "Doing pdf in libelf" ; \
15840 (cd $(HOST_SUBDIR)/libelf && \
15841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15843 "RANLIB=$${RANLIB}" \
15844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15845 pdf) \
15846 || exit 1
15848 @endif libelf
15850 .PHONY: maybe-html-libelf html-libelf
15851 maybe-html-libelf:
15852 @if libelf
15853 maybe-html-libelf: html-libelf
15855 html-libelf: \
15856 configure-libelf
15857 @[ -f ./libelf/Makefile ] || exit 0; \
15858 r=`${PWD_COMMAND}`; export r; \
15859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15860 $(HOST_EXPORTS) \
15861 for flag in $(EXTRA_HOST_FLAGS) ; do \
15862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15863 done; \
15864 echo "Doing html in libelf" ; \
15865 (cd $(HOST_SUBDIR)/libelf && \
15866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15868 "RANLIB=$${RANLIB}" \
15869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15870 html) \
15871 || exit 1
15873 @endif libelf
15875 .PHONY: maybe-TAGS-libelf TAGS-libelf
15876 maybe-TAGS-libelf:
15877 @if libelf
15878 maybe-TAGS-libelf: TAGS-libelf
15880 TAGS-libelf: \
15881 configure-libelf
15882 @[ -f ./libelf/Makefile ] || exit 0; \
15883 r=`${PWD_COMMAND}`; export r; \
15884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15885 $(HOST_EXPORTS) \
15886 for flag in $(EXTRA_HOST_FLAGS) ; do \
15887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15888 done; \
15889 echo "Doing TAGS in libelf" ; \
15890 (cd $(HOST_SUBDIR)/libelf && \
15891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15893 "RANLIB=$${RANLIB}" \
15894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15895 TAGS) \
15896 || exit 1
15898 @endif libelf
15900 .PHONY: maybe-install-info-libelf install-info-libelf
15901 maybe-install-info-libelf:
15902 @if libelf
15903 maybe-install-info-libelf: install-info-libelf
15905 install-info-libelf: \
15906 configure-libelf \
15907 info-libelf
15908 @[ -f ./libelf/Makefile ] || exit 0; \
15909 r=`${PWD_COMMAND}`; export r; \
15910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15911 $(HOST_EXPORTS) \
15912 for flag in $(EXTRA_HOST_FLAGS) ; do \
15913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15914 done; \
15915 echo "Doing install-info in libelf" ; \
15916 (cd $(HOST_SUBDIR)/libelf && \
15917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15919 "RANLIB=$${RANLIB}" \
15920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15921 install-info) \
15922 || exit 1
15924 @endif libelf
15926 .PHONY: maybe-install-pdf-libelf install-pdf-libelf
15927 maybe-install-pdf-libelf:
15928 @if libelf
15929 maybe-install-pdf-libelf: install-pdf-libelf
15931 install-pdf-libelf: \
15932 configure-libelf \
15933 pdf-libelf
15934 @[ -f ./libelf/Makefile ] || exit 0; \
15935 r=`${PWD_COMMAND}`; export r; \
15936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15937 $(HOST_EXPORTS) \
15938 for flag in $(EXTRA_HOST_FLAGS) ; do \
15939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15940 done; \
15941 echo "Doing install-pdf in libelf" ; \
15942 (cd $(HOST_SUBDIR)/libelf && \
15943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15945 "RANLIB=$${RANLIB}" \
15946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15947 install-pdf) \
15948 || exit 1
15950 @endif libelf
15952 .PHONY: maybe-install-html-libelf install-html-libelf
15953 maybe-install-html-libelf:
15954 @if libelf
15955 maybe-install-html-libelf: install-html-libelf
15957 install-html-libelf: \
15958 configure-libelf \
15959 html-libelf
15960 @[ -f ./libelf/Makefile ] || exit 0; \
15961 r=`${PWD_COMMAND}`; export r; \
15962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15963 $(HOST_EXPORTS) \
15964 for flag in $(EXTRA_HOST_FLAGS) ; do \
15965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15966 done; \
15967 echo "Doing install-html in libelf" ; \
15968 (cd $(HOST_SUBDIR)/libelf && \
15969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15971 "RANLIB=$${RANLIB}" \
15972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15973 install-html) \
15974 || exit 1
15976 @endif libelf
15978 .PHONY: maybe-installcheck-libelf installcheck-libelf
15979 maybe-installcheck-libelf:
15980 @if libelf
15981 maybe-installcheck-libelf: installcheck-libelf
15983 installcheck-libelf: \
15984 configure-libelf
15985 @[ -f ./libelf/Makefile ] || exit 0; \
15986 r=`${PWD_COMMAND}`; export r; \
15987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15988 $(HOST_EXPORTS) \
15989 for flag in $(EXTRA_HOST_FLAGS) ; do \
15990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15991 done; \
15992 echo "Doing installcheck in libelf" ; \
15993 (cd $(HOST_SUBDIR)/libelf && \
15994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15996 "RANLIB=$${RANLIB}" \
15997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15998 installcheck) \
15999 || exit 1
16001 @endif libelf
16003 .PHONY: maybe-mostlyclean-libelf mostlyclean-libelf
16004 maybe-mostlyclean-libelf:
16005 @if libelf
16006 maybe-mostlyclean-libelf: mostlyclean-libelf
16008 mostlyclean-libelf:
16009 @[ -f ./libelf/Makefile ] || exit 0; \
16010 r=`${PWD_COMMAND}`; export r; \
16011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16012 $(HOST_EXPORTS) \
16013 for flag in $(EXTRA_HOST_FLAGS) ; do \
16014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16015 done; \
16016 echo "Doing mostlyclean in libelf" ; \
16017 (cd $(HOST_SUBDIR)/libelf && \
16018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16020 "RANLIB=$${RANLIB}" \
16021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16022 mostlyclean) \
16023 || exit 1
16025 @endif libelf
16027 .PHONY: maybe-clean-libelf clean-libelf
16028 maybe-clean-libelf:
16029 @if libelf
16030 maybe-clean-libelf: clean-libelf
16032 clean-libelf:
16033 @[ -f ./libelf/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 clean in libelf" ; \
16041 (cd $(HOST_SUBDIR)/libelf && \
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 clean) \
16047 || exit 1
16049 @endif libelf
16051 .PHONY: maybe-distclean-libelf distclean-libelf
16052 maybe-distclean-libelf:
16053 @if libelf
16054 maybe-distclean-libelf: distclean-libelf
16056 distclean-libelf:
16057 @[ -f ./libelf/Makefile ] || exit 0; \
16058 r=`${PWD_COMMAND}`; export r; \
16059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16060 $(HOST_EXPORTS) \
16061 for flag in $(EXTRA_HOST_FLAGS) ; do \
16062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16063 done; \
16064 echo "Doing distclean in libelf" ; \
16065 (cd $(HOST_SUBDIR)/libelf && \
16066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16068 "RANLIB=$${RANLIB}" \
16069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16070 distclean) \
16071 || exit 1
16073 @endif libelf
16075 .PHONY: maybe-maintainer-clean-libelf maintainer-clean-libelf
16076 maybe-maintainer-clean-libelf:
16077 @if libelf
16078 maybe-maintainer-clean-libelf: maintainer-clean-libelf
16080 maintainer-clean-libelf:
16081 @[ -f ./libelf/Makefile ] || exit 0; \
16082 r=`${PWD_COMMAND}`; export r; \
16083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16084 $(HOST_EXPORTS) \
16085 for flag in $(EXTRA_HOST_FLAGS) ; do \
16086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16087 done; \
16088 echo "Doing maintainer-clean in libelf" ; \
16089 (cd $(HOST_SUBDIR)/libelf && \
16090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16092 "RANLIB=$${RANLIB}" \
16093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16094 maintainer-clean) \
16095 || exit 1
16097 @endif libelf
16101 .PHONY: configure-gold maybe-configure-gold
16102 maybe-configure-gold:
16103 @if gcc-bootstrap
16104 configure-gold: stage_current
16105 @endif gcc-bootstrap
16106 @if gold
16107 maybe-configure-gold: configure-gold
16108 configure-gold:
16109 @r=`${PWD_COMMAND}`; export r; \
16110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16111 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
16112 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
16113 $(HOST_EXPORTS) \
16114 echo Configuring in $(HOST_SUBDIR)/gold; \
16115 cd "$(HOST_SUBDIR)/gold" || exit 1; \
16116 case $(srcdir) in \
16117 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16118 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
16119 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16120 esac; \
16121 module_srcdir=gold; \
16122 $(SHELL) \
16123 $$s/$$module_srcdir/configure \
16124 --srcdir=$${topdir}/$$module_srcdir \
16125 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16126 --target=${target_alias} \
16127 || exit 1
16128 @endif gold
16132 .PHONY: configure-stage1-gold maybe-configure-stage1-gold
16133 maybe-configure-stage1-gold:
16134 @if gold-bootstrap
16135 maybe-configure-stage1-gold: configure-stage1-gold
16136 configure-stage1-gold:
16137 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16138 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
16139 @r=`${PWD_COMMAND}`; export r; \
16140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16141 TFLAGS="$(STAGE1_TFLAGS)"; \
16142 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
16143 $(HOST_EXPORTS) \
16144 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
16145 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
16146 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
16147 echo Configuring stage 1 in $(HOST_SUBDIR)/gold ; \
16148 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
16149 cd $(HOST_SUBDIR)/gold || exit 1; \
16150 case $(srcdir) in \
16151 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16152 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
16153 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16154 esac; \
16155 module_srcdir=gold; \
16156 $(SHELL) $$s/$$module_srcdir/configure \
16157 --srcdir=$${topdir}/$$module_srcdir \
16158 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16159 --target=${target_alias} \
16161 $(STAGE1_CONFIGURE_FLAGS)
16162 @endif gold-bootstrap
16164 .PHONY: configure-stage2-gold maybe-configure-stage2-gold
16165 maybe-configure-stage2-gold:
16166 @if gold-bootstrap
16167 maybe-configure-stage2-gold: configure-stage2-gold
16168 configure-stage2-gold:
16169 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16170 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
16171 @r=`${PWD_COMMAND}`; export r; \
16172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16173 TFLAGS="$(STAGE2_TFLAGS)"; \
16174 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
16175 $(HOST_EXPORTS) \
16176 $(POSTSTAGE1_HOST_EXPORTS) \
16177 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
16178 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
16179 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
16180 echo Configuring stage 2 in $(HOST_SUBDIR)/gold ; \
16181 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
16182 cd $(HOST_SUBDIR)/gold || exit 1; \
16183 case $(srcdir) in \
16184 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16185 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
16186 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16187 esac; \
16188 module_srcdir=gold; \
16189 $(SHELL) $$s/$$module_srcdir/configure \
16190 --srcdir=$${topdir}/$$module_srcdir \
16191 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16192 --target=${target_alias} \
16193 --with-build-libsubdir=$(HOST_SUBDIR) \
16194 $(STAGE2_CONFIGURE_FLAGS)
16195 @endif gold-bootstrap
16197 .PHONY: configure-stage3-gold maybe-configure-stage3-gold
16198 maybe-configure-stage3-gold:
16199 @if gold-bootstrap
16200 maybe-configure-stage3-gold: configure-stage3-gold
16201 configure-stage3-gold:
16202 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16203 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
16204 @r=`${PWD_COMMAND}`; export r; \
16205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16206 TFLAGS="$(STAGE3_TFLAGS)"; \
16207 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
16208 $(HOST_EXPORTS) \
16209 $(POSTSTAGE1_HOST_EXPORTS) \
16210 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
16211 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
16212 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
16213 echo Configuring stage 3 in $(HOST_SUBDIR)/gold ; \
16214 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
16215 cd $(HOST_SUBDIR)/gold || exit 1; \
16216 case $(srcdir) in \
16217 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16218 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
16219 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16220 esac; \
16221 module_srcdir=gold; \
16222 $(SHELL) $$s/$$module_srcdir/configure \
16223 --srcdir=$${topdir}/$$module_srcdir \
16224 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16225 --target=${target_alias} \
16226 --with-build-libsubdir=$(HOST_SUBDIR) \
16227 $(STAGE3_CONFIGURE_FLAGS)
16228 @endif gold-bootstrap
16230 .PHONY: configure-stage4-gold maybe-configure-stage4-gold
16231 maybe-configure-stage4-gold:
16232 @if gold-bootstrap
16233 maybe-configure-stage4-gold: configure-stage4-gold
16234 configure-stage4-gold:
16235 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16236 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
16237 @r=`${PWD_COMMAND}`; export r; \
16238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16239 TFLAGS="$(STAGE4_TFLAGS)"; \
16240 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
16241 $(HOST_EXPORTS) \
16242 $(POSTSTAGE1_HOST_EXPORTS) \
16243 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
16244 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
16245 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
16246 echo Configuring stage 4 in $(HOST_SUBDIR)/gold ; \
16247 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
16248 cd $(HOST_SUBDIR)/gold || exit 1; \
16249 case $(srcdir) in \
16250 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16251 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
16252 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16253 esac; \
16254 module_srcdir=gold; \
16255 $(SHELL) $$s/$$module_srcdir/configure \
16256 --srcdir=$${topdir}/$$module_srcdir \
16257 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16258 --target=${target_alias} \
16259 --with-build-libsubdir=$(HOST_SUBDIR) \
16260 $(STAGE4_CONFIGURE_FLAGS)
16261 @endif gold-bootstrap
16263 .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold
16264 maybe-configure-stageprofile-gold:
16265 @if gold-bootstrap
16266 maybe-configure-stageprofile-gold: configure-stageprofile-gold
16267 configure-stageprofile-gold:
16268 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16269 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
16270 @r=`${PWD_COMMAND}`; export r; \
16271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16272 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16273 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
16274 $(HOST_EXPORTS) \
16275 $(POSTSTAGE1_HOST_EXPORTS) \
16276 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
16277 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
16278 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
16279 echo Configuring stage profile in $(HOST_SUBDIR)/gold ; \
16280 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
16281 cd $(HOST_SUBDIR)/gold || exit 1; \
16282 case $(srcdir) in \
16283 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16284 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
16285 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16286 esac; \
16287 module_srcdir=gold; \
16288 $(SHELL) $$s/$$module_srcdir/configure \
16289 --srcdir=$${topdir}/$$module_srcdir \
16290 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16291 --target=${target_alias} \
16292 --with-build-libsubdir=$(HOST_SUBDIR) \
16293 $(STAGEprofile_CONFIGURE_FLAGS)
16294 @endif gold-bootstrap
16296 .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold
16297 maybe-configure-stagefeedback-gold:
16298 @if gold-bootstrap
16299 maybe-configure-stagefeedback-gold: configure-stagefeedback-gold
16300 configure-stagefeedback-gold:
16301 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16302 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
16303 @r=`${PWD_COMMAND}`; export r; \
16304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16305 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16306 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
16307 $(HOST_EXPORTS) \
16308 $(POSTSTAGE1_HOST_EXPORTS) \
16309 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
16310 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
16311 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
16312 echo Configuring stage feedback in $(HOST_SUBDIR)/gold ; \
16313 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
16314 cd $(HOST_SUBDIR)/gold || exit 1; \
16315 case $(srcdir) in \
16316 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16317 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
16318 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16319 esac; \
16320 module_srcdir=gold; \
16321 $(SHELL) $$s/$$module_srcdir/configure \
16322 --srcdir=$${topdir}/$$module_srcdir \
16323 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16324 --target=${target_alias} \
16325 --with-build-libsubdir=$(HOST_SUBDIR) \
16326 $(STAGEfeedback_CONFIGURE_FLAGS)
16327 @endif gold-bootstrap
16333 .PHONY: all-gold maybe-all-gold
16334 maybe-all-gold:
16335 @if gcc-bootstrap
16336 all-gold: stage_current
16337 @endif gcc-bootstrap
16338 @if gold
16339 TARGET-gold=all
16340 maybe-all-gold: all-gold
16341 all-gold: configure-gold
16342 @r=`${PWD_COMMAND}`; export r; \
16343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16344 $(HOST_EXPORTS) \
16345 (cd $(HOST_SUBDIR)/gold && \
16346 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
16347 $(TARGET-gold))
16348 @endif gold
16352 .PHONY: all-stage1-gold maybe-all-stage1-gold
16353 .PHONY: clean-stage1-gold maybe-clean-stage1-gold
16354 maybe-all-stage1-gold:
16355 maybe-clean-stage1-gold:
16356 @if gold-bootstrap
16357 maybe-all-stage1-gold: all-stage1-gold
16358 all-stage1: all-stage1-gold
16359 TARGET-stage1-gold = $(TARGET-gold)
16360 all-stage1-gold: configure-stage1-gold
16361 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16362 @r=`${PWD_COMMAND}`; export r; \
16363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16364 TFLAGS="$(STAGE1_TFLAGS)"; \
16365 $(HOST_EXPORTS) \
16366 cd $(HOST_SUBDIR)/gold && \
16367 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16368 CFLAGS="$(STAGE1_CFLAGS)" \
16369 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
16370 LIBCFLAGS="$(LIBCFLAGS)" \
16371 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16372 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16373 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16374 $(EXTRA_HOST_FLAGS) \
16375 $(STAGE1_FLAGS_TO_PASS) \
16376 TFLAGS="$(STAGE1_TFLAGS)" \
16377 $(TARGET-stage1-gold)
16379 maybe-clean-stage1-gold: clean-stage1-gold
16380 clean-stage1: clean-stage1-gold
16381 clean-stage1-gold:
16382 @if [ $(current_stage) = stage1 ]; then \
16383 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16384 else \
16385 [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \
16386 $(MAKE) stage1-start; \
16387 fi; \
16388 cd $(HOST_SUBDIR)/gold && \
16389 $(MAKE) $(EXTRA_HOST_FLAGS) \
16390 $(STAGE1_FLAGS_TO_PASS) clean
16391 @endif gold-bootstrap
16394 .PHONY: all-stage2-gold maybe-all-stage2-gold
16395 .PHONY: clean-stage2-gold maybe-clean-stage2-gold
16396 maybe-all-stage2-gold:
16397 maybe-clean-stage2-gold:
16398 @if gold-bootstrap
16399 maybe-all-stage2-gold: all-stage2-gold
16400 all-stage2: all-stage2-gold
16401 TARGET-stage2-gold = $(TARGET-gold)
16402 all-stage2-gold: configure-stage2-gold
16403 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16404 @r=`${PWD_COMMAND}`; export r; \
16405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16406 TFLAGS="$(STAGE2_TFLAGS)"; \
16407 $(HOST_EXPORTS) \
16408 $(POSTSTAGE1_HOST_EXPORTS) \
16409 cd $(HOST_SUBDIR)/gold && \
16410 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16411 CFLAGS="$(STAGE2_CFLAGS)" \
16412 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
16413 LIBCFLAGS="$(STAGE2_CFLAGS)" \
16414 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16415 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16416 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16417 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16418 TFLAGS="$(STAGE2_TFLAGS)" \
16419 $(TARGET-stage2-gold)
16421 maybe-clean-stage2-gold: clean-stage2-gold
16422 clean-stage2: clean-stage2-gold
16423 clean-stage2-gold:
16424 @if [ $(current_stage) = stage2 ]; then \
16425 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16426 else \
16427 [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \
16428 $(MAKE) stage2-start; \
16429 fi; \
16430 cd $(HOST_SUBDIR)/gold && \
16431 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16432 @endif gold-bootstrap
16435 .PHONY: all-stage3-gold maybe-all-stage3-gold
16436 .PHONY: clean-stage3-gold maybe-clean-stage3-gold
16437 maybe-all-stage3-gold:
16438 maybe-clean-stage3-gold:
16439 @if gold-bootstrap
16440 maybe-all-stage3-gold: all-stage3-gold
16441 all-stage3: all-stage3-gold
16442 TARGET-stage3-gold = $(TARGET-gold)
16443 all-stage3-gold: configure-stage3-gold
16444 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16445 @r=`${PWD_COMMAND}`; export r; \
16446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16447 TFLAGS="$(STAGE3_TFLAGS)"; \
16448 $(HOST_EXPORTS) \
16449 $(POSTSTAGE1_HOST_EXPORTS) \
16450 cd $(HOST_SUBDIR)/gold && \
16451 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16452 CFLAGS="$(STAGE3_CFLAGS)" \
16453 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
16454 LIBCFLAGS="$(STAGE3_CFLAGS)" \
16455 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16456 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16457 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16458 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16459 TFLAGS="$(STAGE3_TFLAGS)" \
16460 $(TARGET-stage3-gold)
16462 maybe-clean-stage3-gold: clean-stage3-gold
16463 clean-stage3: clean-stage3-gold
16464 clean-stage3-gold:
16465 @if [ $(current_stage) = stage3 ]; then \
16466 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16467 else \
16468 [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \
16469 $(MAKE) stage3-start; \
16470 fi; \
16471 cd $(HOST_SUBDIR)/gold && \
16472 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16473 @endif gold-bootstrap
16476 .PHONY: all-stage4-gold maybe-all-stage4-gold
16477 .PHONY: clean-stage4-gold maybe-clean-stage4-gold
16478 maybe-all-stage4-gold:
16479 maybe-clean-stage4-gold:
16480 @if gold-bootstrap
16481 maybe-all-stage4-gold: all-stage4-gold
16482 all-stage4: all-stage4-gold
16483 TARGET-stage4-gold = $(TARGET-gold)
16484 all-stage4-gold: configure-stage4-gold
16485 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16486 @r=`${PWD_COMMAND}`; export r; \
16487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16488 TFLAGS="$(STAGE4_TFLAGS)"; \
16489 $(HOST_EXPORTS) \
16490 $(POSTSTAGE1_HOST_EXPORTS) \
16491 cd $(HOST_SUBDIR)/gold && \
16492 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16493 CFLAGS="$(STAGE4_CFLAGS)" \
16494 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
16495 LIBCFLAGS="$(STAGE4_CFLAGS)" \
16496 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16497 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16498 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16499 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16500 TFLAGS="$(STAGE4_TFLAGS)" \
16501 $(TARGET-stage4-gold)
16503 maybe-clean-stage4-gold: clean-stage4-gold
16504 clean-stage4: clean-stage4-gold
16505 clean-stage4-gold:
16506 @if [ $(current_stage) = stage4 ]; then \
16507 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16508 else \
16509 [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \
16510 $(MAKE) stage4-start; \
16511 fi; \
16512 cd $(HOST_SUBDIR)/gold && \
16513 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16514 @endif gold-bootstrap
16517 .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold
16518 .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold
16519 maybe-all-stageprofile-gold:
16520 maybe-clean-stageprofile-gold:
16521 @if gold-bootstrap
16522 maybe-all-stageprofile-gold: all-stageprofile-gold
16523 all-stageprofile: all-stageprofile-gold
16524 TARGET-stageprofile-gold = $(TARGET-gold)
16525 all-stageprofile-gold: configure-stageprofile-gold
16526 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16527 @r=`${PWD_COMMAND}`; export r; \
16528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16529 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16530 $(HOST_EXPORTS) \
16531 $(POSTSTAGE1_HOST_EXPORTS) \
16532 cd $(HOST_SUBDIR)/gold && \
16533 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16534 CFLAGS="$(STAGEprofile_CFLAGS)" \
16535 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
16536 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
16537 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16538 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16539 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16540 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16541 TFLAGS="$(STAGEprofile_TFLAGS)" \
16542 $(TARGET-stageprofile-gold)
16544 maybe-clean-stageprofile-gold: clean-stageprofile-gold
16545 clean-stageprofile: clean-stageprofile-gold
16546 clean-stageprofile-gold:
16547 @if [ $(current_stage) = stageprofile ]; then \
16548 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16549 else \
16550 [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \
16551 $(MAKE) stageprofile-start; \
16552 fi; \
16553 cd $(HOST_SUBDIR)/gold && \
16554 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16555 @endif gold-bootstrap
16558 .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold
16559 .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold
16560 maybe-all-stagefeedback-gold:
16561 maybe-clean-stagefeedback-gold:
16562 @if gold-bootstrap
16563 maybe-all-stagefeedback-gold: all-stagefeedback-gold
16564 all-stagefeedback: all-stagefeedback-gold
16565 TARGET-stagefeedback-gold = $(TARGET-gold)
16566 all-stagefeedback-gold: configure-stagefeedback-gold
16567 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16568 @r=`${PWD_COMMAND}`; export r; \
16569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16570 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16571 $(HOST_EXPORTS) \
16572 $(POSTSTAGE1_HOST_EXPORTS) \
16573 cd $(HOST_SUBDIR)/gold && \
16574 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16575 CFLAGS="$(STAGEfeedback_CFLAGS)" \
16576 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
16577 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
16578 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16579 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16580 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16581 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16582 TFLAGS="$(STAGEfeedback_TFLAGS)" \
16583 $(TARGET-stagefeedback-gold)
16585 maybe-clean-stagefeedback-gold: clean-stagefeedback-gold
16586 clean-stagefeedback: clean-stagefeedback-gold
16587 clean-stagefeedback-gold:
16588 @if [ $(current_stage) = stagefeedback ]; then \
16589 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16590 else \
16591 [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \
16592 $(MAKE) stagefeedback-start; \
16593 fi; \
16594 cd $(HOST_SUBDIR)/gold && \
16595 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16596 @endif gold-bootstrap
16602 .PHONY: check-gold maybe-check-gold
16603 maybe-check-gold:
16604 @if gold
16605 maybe-check-gold: check-gold
16607 check-gold:
16608 @: $(MAKE); $(unstage)
16609 @r=`${PWD_COMMAND}`; export r; \
16610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16611 $(HOST_EXPORTS) \
16612 (cd $(HOST_SUBDIR)/gold && \
16613 $(MAKE) $(FLAGS_TO_PASS) check)
16615 @endif gold
16617 .PHONY: install-gold maybe-install-gold
16618 maybe-install-gold:
16619 @if gold
16620 maybe-install-gold: install-gold
16622 install-gold: installdirs
16623 @: $(MAKE); $(unstage)
16624 @r=`${PWD_COMMAND}`; export r; \
16625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16626 $(HOST_EXPORTS) \
16627 (cd $(HOST_SUBDIR)/gold && \
16628 $(MAKE) $(FLAGS_TO_PASS) install)
16630 @endif gold
16632 .PHONY: install-strip-gold maybe-install-strip-gold
16633 maybe-install-strip-gold:
16634 @if gold
16635 maybe-install-strip-gold: install-strip-gold
16637 install-strip-gold: installdirs
16638 @: $(MAKE); $(unstage)
16639 @r=`${PWD_COMMAND}`; export r; \
16640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16641 $(HOST_EXPORTS) \
16642 (cd $(HOST_SUBDIR)/gold && \
16643 $(MAKE) $(FLAGS_TO_PASS) install-strip)
16645 @endif gold
16647 # Other targets (info, dvi, pdf, etc.)
16649 .PHONY: maybe-info-gold info-gold
16650 maybe-info-gold:
16651 @if gold
16652 maybe-info-gold: info-gold
16654 info-gold: \
16655 configure-gold
16656 @[ -f ./gold/Makefile ] || exit 0; \
16657 r=`${PWD_COMMAND}`; export r; \
16658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16659 $(HOST_EXPORTS) \
16660 for flag in $(EXTRA_HOST_FLAGS) ; do \
16661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16662 done; \
16663 echo "Doing info in gold" ; \
16664 (cd $(HOST_SUBDIR)/gold && \
16665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16667 "RANLIB=$${RANLIB}" \
16668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16669 info) \
16670 || exit 1
16672 @endif gold
16674 .PHONY: maybe-dvi-gold dvi-gold
16675 maybe-dvi-gold:
16676 @if gold
16677 maybe-dvi-gold: dvi-gold
16679 dvi-gold: \
16680 configure-gold
16681 @[ -f ./gold/Makefile ] || exit 0; \
16682 r=`${PWD_COMMAND}`; export r; \
16683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16684 $(HOST_EXPORTS) \
16685 for flag in $(EXTRA_HOST_FLAGS) ; do \
16686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16687 done; \
16688 echo "Doing dvi in gold" ; \
16689 (cd $(HOST_SUBDIR)/gold && \
16690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16692 "RANLIB=$${RANLIB}" \
16693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16694 dvi) \
16695 || exit 1
16697 @endif gold
16699 .PHONY: maybe-pdf-gold pdf-gold
16700 maybe-pdf-gold:
16701 @if gold
16702 maybe-pdf-gold: pdf-gold
16704 pdf-gold: \
16705 configure-gold
16706 @[ -f ./gold/Makefile ] || exit 0; \
16707 r=`${PWD_COMMAND}`; export r; \
16708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16709 $(HOST_EXPORTS) \
16710 for flag in $(EXTRA_HOST_FLAGS) ; do \
16711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16712 done; \
16713 echo "Doing pdf in gold" ; \
16714 (cd $(HOST_SUBDIR)/gold && \
16715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16717 "RANLIB=$${RANLIB}" \
16718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16719 pdf) \
16720 || exit 1
16722 @endif gold
16724 .PHONY: maybe-html-gold html-gold
16725 maybe-html-gold:
16726 @if gold
16727 maybe-html-gold: html-gold
16729 html-gold: \
16730 configure-gold
16731 @[ -f ./gold/Makefile ] || exit 0; \
16732 r=`${PWD_COMMAND}`; export r; \
16733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16734 $(HOST_EXPORTS) \
16735 for flag in $(EXTRA_HOST_FLAGS) ; do \
16736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16737 done; \
16738 echo "Doing html in gold" ; \
16739 (cd $(HOST_SUBDIR)/gold && \
16740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16742 "RANLIB=$${RANLIB}" \
16743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16744 html) \
16745 || exit 1
16747 @endif gold
16749 .PHONY: maybe-TAGS-gold TAGS-gold
16750 maybe-TAGS-gold:
16751 @if gold
16752 maybe-TAGS-gold: TAGS-gold
16754 TAGS-gold: \
16755 configure-gold
16756 @[ -f ./gold/Makefile ] || exit 0; \
16757 r=`${PWD_COMMAND}`; export r; \
16758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16759 $(HOST_EXPORTS) \
16760 for flag in $(EXTRA_HOST_FLAGS) ; do \
16761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16762 done; \
16763 echo "Doing TAGS in gold" ; \
16764 (cd $(HOST_SUBDIR)/gold && \
16765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16767 "RANLIB=$${RANLIB}" \
16768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16769 TAGS) \
16770 || exit 1
16772 @endif gold
16774 .PHONY: maybe-install-info-gold install-info-gold
16775 maybe-install-info-gold:
16776 @if gold
16777 maybe-install-info-gold: install-info-gold
16779 install-info-gold: \
16780 configure-gold \
16781 info-gold
16782 @[ -f ./gold/Makefile ] || exit 0; \
16783 r=`${PWD_COMMAND}`; export r; \
16784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16785 $(HOST_EXPORTS) \
16786 for flag in $(EXTRA_HOST_FLAGS) ; do \
16787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16788 done; \
16789 echo "Doing install-info in gold" ; \
16790 (cd $(HOST_SUBDIR)/gold && \
16791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16793 "RANLIB=$${RANLIB}" \
16794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16795 install-info) \
16796 || exit 1
16798 @endif gold
16800 .PHONY: maybe-install-pdf-gold install-pdf-gold
16801 maybe-install-pdf-gold:
16802 @if gold
16803 maybe-install-pdf-gold: install-pdf-gold
16805 install-pdf-gold: \
16806 configure-gold \
16807 pdf-gold
16808 @[ -f ./gold/Makefile ] || exit 0; \
16809 r=`${PWD_COMMAND}`; export r; \
16810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16811 $(HOST_EXPORTS) \
16812 for flag in $(EXTRA_HOST_FLAGS) ; do \
16813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16814 done; \
16815 echo "Doing install-pdf in gold" ; \
16816 (cd $(HOST_SUBDIR)/gold && \
16817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16819 "RANLIB=$${RANLIB}" \
16820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16821 install-pdf) \
16822 || exit 1
16824 @endif gold
16826 .PHONY: maybe-install-html-gold install-html-gold
16827 maybe-install-html-gold:
16828 @if gold
16829 maybe-install-html-gold: install-html-gold
16831 install-html-gold: \
16832 configure-gold \
16833 html-gold
16834 @[ -f ./gold/Makefile ] || exit 0; \
16835 r=`${PWD_COMMAND}`; export r; \
16836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16837 $(HOST_EXPORTS) \
16838 for flag in $(EXTRA_HOST_FLAGS) ; do \
16839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16840 done; \
16841 echo "Doing install-html in gold" ; \
16842 (cd $(HOST_SUBDIR)/gold && \
16843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16845 "RANLIB=$${RANLIB}" \
16846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16847 install-html) \
16848 || exit 1
16850 @endif gold
16852 .PHONY: maybe-installcheck-gold installcheck-gold
16853 maybe-installcheck-gold:
16854 @if gold
16855 maybe-installcheck-gold: installcheck-gold
16857 installcheck-gold: \
16858 configure-gold
16859 @[ -f ./gold/Makefile ] || exit 0; \
16860 r=`${PWD_COMMAND}`; export r; \
16861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16862 $(HOST_EXPORTS) \
16863 for flag in $(EXTRA_HOST_FLAGS) ; do \
16864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16865 done; \
16866 echo "Doing installcheck in gold" ; \
16867 (cd $(HOST_SUBDIR)/gold && \
16868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16870 "RANLIB=$${RANLIB}" \
16871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16872 installcheck) \
16873 || exit 1
16875 @endif gold
16877 .PHONY: maybe-mostlyclean-gold mostlyclean-gold
16878 maybe-mostlyclean-gold:
16879 @if gold
16880 maybe-mostlyclean-gold: mostlyclean-gold
16882 mostlyclean-gold:
16883 @[ -f ./gold/Makefile ] || exit 0; \
16884 r=`${PWD_COMMAND}`; export r; \
16885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16886 $(HOST_EXPORTS) \
16887 for flag in $(EXTRA_HOST_FLAGS) ; do \
16888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16889 done; \
16890 echo "Doing mostlyclean in gold" ; \
16891 (cd $(HOST_SUBDIR)/gold && \
16892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16894 "RANLIB=$${RANLIB}" \
16895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16896 mostlyclean) \
16897 || exit 1
16899 @endif gold
16901 .PHONY: maybe-clean-gold clean-gold
16902 maybe-clean-gold:
16903 @if gold
16904 maybe-clean-gold: clean-gold
16906 clean-gold:
16907 @[ -f ./gold/Makefile ] || exit 0; \
16908 r=`${PWD_COMMAND}`; export r; \
16909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16910 $(HOST_EXPORTS) \
16911 for flag in $(EXTRA_HOST_FLAGS) ; do \
16912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16913 done; \
16914 echo "Doing clean in gold" ; \
16915 (cd $(HOST_SUBDIR)/gold && \
16916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16918 "RANLIB=$${RANLIB}" \
16919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16920 clean) \
16921 || exit 1
16923 @endif gold
16925 .PHONY: maybe-distclean-gold distclean-gold
16926 maybe-distclean-gold:
16927 @if gold
16928 maybe-distclean-gold: distclean-gold
16930 distclean-gold:
16931 @[ -f ./gold/Makefile ] || exit 0; \
16932 r=`${PWD_COMMAND}`; export r; \
16933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16934 $(HOST_EXPORTS) \
16935 for flag in $(EXTRA_HOST_FLAGS) ; do \
16936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16937 done; \
16938 echo "Doing distclean in gold" ; \
16939 (cd $(HOST_SUBDIR)/gold && \
16940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16942 "RANLIB=$${RANLIB}" \
16943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16944 distclean) \
16945 || exit 1
16947 @endif gold
16949 .PHONY: maybe-maintainer-clean-gold maintainer-clean-gold
16950 maybe-maintainer-clean-gold:
16951 @if gold
16952 maybe-maintainer-clean-gold: maintainer-clean-gold
16954 maintainer-clean-gold:
16955 @[ -f ./gold/Makefile ] || exit 0; \
16956 r=`${PWD_COMMAND}`; export r; \
16957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16958 $(HOST_EXPORTS) \
16959 for flag in $(EXTRA_HOST_FLAGS) ; do \
16960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16961 done; \
16962 echo "Doing maintainer-clean in gold" ; \
16963 (cd $(HOST_SUBDIR)/gold && \
16964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16966 "RANLIB=$${RANLIB}" \
16967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16968 maintainer-clean) \
16969 || exit 1
16971 @endif gold
16975 .PHONY: configure-gprof maybe-configure-gprof
16976 maybe-configure-gprof:
16977 @if gcc-bootstrap
16978 configure-gprof: stage_current
16979 @endif gcc-bootstrap
16980 @if gprof
16981 maybe-configure-gprof: configure-gprof
16982 configure-gprof:
16983 @: $(MAKE); $(unstage)
16984 @r=`${PWD_COMMAND}`; export r; \
16985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16986 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
16987 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
16988 $(HOST_EXPORTS) \
16989 echo Configuring in $(HOST_SUBDIR)/gprof; \
16990 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
16991 case $(srcdir) in \
16992 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16993 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
16994 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16995 esac; \
16996 module_srcdir=gprof; \
16997 $(SHELL) \
16998 $$s/$$module_srcdir/configure \
16999 --srcdir=$${topdir}/$$module_srcdir \
17000 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17001 --target=${target_alias} \
17002 || exit 1
17003 @endif gprof
17009 .PHONY: all-gprof maybe-all-gprof
17010 maybe-all-gprof:
17011 @if gcc-bootstrap
17012 all-gprof: stage_current
17013 @endif gcc-bootstrap
17014 @if gprof
17015 TARGET-gprof=all
17016 maybe-all-gprof: all-gprof
17017 all-gprof: configure-gprof
17018 @: $(MAKE); $(unstage)
17019 @r=`${PWD_COMMAND}`; export r; \
17020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17021 $(HOST_EXPORTS) \
17022 (cd $(HOST_SUBDIR)/gprof && \
17023 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
17024 $(TARGET-gprof))
17025 @endif gprof
17030 .PHONY: check-gprof maybe-check-gprof
17031 maybe-check-gprof:
17032 @if gprof
17033 maybe-check-gprof: check-gprof
17035 check-gprof:
17036 @: $(MAKE); $(unstage)
17037 @r=`${PWD_COMMAND}`; export r; \
17038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17039 $(HOST_EXPORTS) \
17040 (cd $(HOST_SUBDIR)/gprof && \
17041 $(MAKE) $(FLAGS_TO_PASS) check)
17043 @endif gprof
17045 .PHONY: install-gprof maybe-install-gprof
17046 maybe-install-gprof:
17047 @if gprof
17048 maybe-install-gprof: install-gprof
17050 install-gprof: installdirs
17051 @: $(MAKE); $(unstage)
17052 @r=`${PWD_COMMAND}`; export r; \
17053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17054 $(HOST_EXPORTS) \
17055 (cd $(HOST_SUBDIR)/gprof && \
17056 $(MAKE) $(FLAGS_TO_PASS) install)
17058 @endif gprof
17060 .PHONY: install-strip-gprof maybe-install-strip-gprof
17061 maybe-install-strip-gprof:
17062 @if gprof
17063 maybe-install-strip-gprof: install-strip-gprof
17065 install-strip-gprof: installdirs
17066 @: $(MAKE); $(unstage)
17067 @r=`${PWD_COMMAND}`; export r; \
17068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17069 $(HOST_EXPORTS) \
17070 (cd $(HOST_SUBDIR)/gprof && \
17071 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17073 @endif gprof
17075 # Other targets (info, dvi, pdf, etc.)
17077 .PHONY: maybe-info-gprof info-gprof
17078 maybe-info-gprof:
17079 @if gprof
17080 maybe-info-gprof: info-gprof
17082 info-gprof: \
17083 configure-gprof
17084 @: $(MAKE); $(unstage)
17085 @[ -f ./gprof/Makefile ] || exit 0; \
17086 r=`${PWD_COMMAND}`; export r; \
17087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17088 $(HOST_EXPORTS) \
17089 for flag in $(EXTRA_HOST_FLAGS) ; do \
17090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17091 done; \
17092 echo "Doing info in gprof" ; \
17093 (cd $(HOST_SUBDIR)/gprof && \
17094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17096 "RANLIB=$${RANLIB}" \
17097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17098 info) \
17099 || exit 1
17101 @endif gprof
17103 .PHONY: maybe-dvi-gprof dvi-gprof
17104 maybe-dvi-gprof:
17105 @if gprof
17106 maybe-dvi-gprof: dvi-gprof
17108 dvi-gprof: \
17109 configure-gprof
17110 @: $(MAKE); $(unstage)
17111 @[ -f ./gprof/Makefile ] || exit 0; \
17112 r=`${PWD_COMMAND}`; export r; \
17113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17114 $(HOST_EXPORTS) \
17115 for flag in $(EXTRA_HOST_FLAGS) ; do \
17116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17117 done; \
17118 echo "Doing dvi in gprof" ; \
17119 (cd $(HOST_SUBDIR)/gprof && \
17120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17122 "RANLIB=$${RANLIB}" \
17123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17124 dvi) \
17125 || exit 1
17127 @endif gprof
17129 .PHONY: maybe-pdf-gprof pdf-gprof
17130 maybe-pdf-gprof:
17131 @if gprof
17132 maybe-pdf-gprof: pdf-gprof
17134 pdf-gprof: \
17135 configure-gprof
17136 @: $(MAKE); $(unstage)
17137 @[ -f ./gprof/Makefile ] || exit 0; \
17138 r=`${PWD_COMMAND}`; export r; \
17139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17140 $(HOST_EXPORTS) \
17141 for flag in $(EXTRA_HOST_FLAGS) ; do \
17142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17143 done; \
17144 echo "Doing pdf in gprof" ; \
17145 (cd $(HOST_SUBDIR)/gprof && \
17146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17148 "RANLIB=$${RANLIB}" \
17149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17150 pdf) \
17151 || exit 1
17153 @endif gprof
17155 .PHONY: maybe-html-gprof html-gprof
17156 maybe-html-gprof:
17157 @if gprof
17158 maybe-html-gprof: html-gprof
17160 html-gprof: \
17161 configure-gprof
17162 @: $(MAKE); $(unstage)
17163 @[ -f ./gprof/Makefile ] || exit 0; \
17164 r=`${PWD_COMMAND}`; export r; \
17165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17166 $(HOST_EXPORTS) \
17167 for flag in $(EXTRA_HOST_FLAGS) ; do \
17168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17169 done; \
17170 echo "Doing html in gprof" ; \
17171 (cd $(HOST_SUBDIR)/gprof && \
17172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17174 "RANLIB=$${RANLIB}" \
17175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17176 html) \
17177 || exit 1
17179 @endif gprof
17181 .PHONY: maybe-TAGS-gprof TAGS-gprof
17182 maybe-TAGS-gprof:
17183 @if gprof
17184 maybe-TAGS-gprof: TAGS-gprof
17186 TAGS-gprof: \
17187 configure-gprof
17188 @: $(MAKE); $(unstage)
17189 @[ -f ./gprof/Makefile ] || exit 0; \
17190 r=`${PWD_COMMAND}`; export r; \
17191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17192 $(HOST_EXPORTS) \
17193 for flag in $(EXTRA_HOST_FLAGS) ; do \
17194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17195 done; \
17196 echo "Doing TAGS in gprof" ; \
17197 (cd $(HOST_SUBDIR)/gprof && \
17198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17200 "RANLIB=$${RANLIB}" \
17201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17202 TAGS) \
17203 || exit 1
17205 @endif gprof
17207 .PHONY: maybe-install-info-gprof install-info-gprof
17208 maybe-install-info-gprof:
17209 @if gprof
17210 maybe-install-info-gprof: install-info-gprof
17212 install-info-gprof: \
17213 configure-gprof \
17214 info-gprof
17215 @: $(MAKE); $(unstage)
17216 @[ -f ./gprof/Makefile ] || exit 0; \
17217 r=`${PWD_COMMAND}`; export r; \
17218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17219 $(HOST_EXPORTS) \
17220 for flag in $(EXTRA_HOST_FLAGS) ; do \
17221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17222 done; \
17223 echo "Doing install-info in gprof" ; \
17224 (cd $(HOST_SUBDIR)/gprof && \
17225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17227 "RANLIB=$${RANLIB}" \
17228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17229 install-info) \
17230 || exit 1
17232 @endif gprof
17234 .PHONY: maybe-install-pdf-gprof install-pdf-gprof
17235 maybe-install-pdf-gprof:
17236 @if gprof
17237 maybe-install-pdf-gprof: install-pdf-gprof
17239 install-pdf-gprof: \
17240 configure-gprof \
17241 pdf-gprof
17242 @: $(MAKE); $(unstage)
17243 @[ -f ./gprof/Makefile ] || exit 0; \
17244 r=`${PWD_COMMAND}`; export r; \
17245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17246 $(HOST_EXPORTS) \
17247 for flag in $(EXTRA_HOST_FLAGS) ; do \
17248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17249 done; \
17250 echo "Doing install-pdf in gprof" ; \
17251 (cd $(HOST_SUBDIR)/gprof && \
17252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17254 "RANLIB=$${RANLIB}" \
17255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17256 install-pdf) \
17257 || exit 1
17259 @endif gprof
17261 .PHONY: maybe-install-html-gprof install-html-gprof
17262 maybe-install-html-gprof:
17263 @if gprof
17264 maybe-install-html-gprof: install-html-gprof
17266 install-html-gprof: \
17267 configure-gprof \
17268 html-gprof
17269 @: $(MAKE); $(unstage)
17270 @[ -f ./gprof/Makefile ] || exit 0; \
17271 r=`${PWD_COMMAND}`; export r; \
17272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17273 $(HOST_EXPORTS) \
17274 for flag in $(EXTRA_HOST_FLAGS) ; do \
17275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17276 done; \
17277 echo "Doing install-html in gprof" ; \
17278 (cd $(HOST_SUBDIR)/gprof && \
17279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17281 "RANLIB=$${RANLIB}" \
17282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17283 install-html) \
17284 || exit 1
17286 @endif gprof
17288 .PHONY: maybe-installcheck-gprof installcheck-gprof
17289 maybe-installcheck-gprof:
17290 @if gprof
17291 maybe-installcheck-gprof: installcheck-gprof
17293 installcheck-gprof: \
17294 configure-gprof
17295 @: $(MAKE); $(unstage)
17296 @[ -f ./gprof/Makefile ] || exit 0; \
17297 r=`${PWD_COMMAND}`; export r; \
17298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17299 $(HOST_EXPORTS) \
17300 for flag in $(EXTRA_HOST_FLAGS) ; do \
17301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17302 done; \
17303 echo "Doing installcheck in gprof" ; \
17304 (cd $(HOST_SUBDIR)/gprof && \
17305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17307 "RANLIB=$${RANLIB}" \
17308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17309 installcheck) \
17310 || exit 1
17312 @endif gprof
17314 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
17315 maybe-mostlyclean-gprof:
17316 @if gprof
17317 maybe-mostlyclean-gprof: mostlyclean-gprof
17319 mostlyclean-gprof:
17320 @: $(MAKE); $(unstage)
17321 @[ -f ./gprof/Makefile ] || exit 0; \
17322 r=`${PWD_COMMAND}`; export r; \
17323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17324 $(HOST_EXPORTS) \
17325 for flag in $(EXTRA_HOST_FLAGS) ; do \
17326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17327 done; \
17328 echo "Doing mostlyclean in gprof" ; \
17329 (cd $(HOST_SUBDIR)/gprof && \
17330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17332 "RANLIB=$${RANLIB}" \
17333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17334 mostlyclean) \
17335 || exit 1
17337 @endif gprof
17339 .PHONY: maybe-clean-gprof clean-gprof
17340 maybe-clean-gprof:
17341 @if gprof
17342 maybe-clean-gprof: clean-gprof
17344 clean-gprof:
17345 @: $(MAKE); $(unstage)
17346 @[ -f ./gprof/Makefile ] || exit 0; \
17347 r=`${PWD_COMMAND}`; export r; \
17348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17349 $(HOST_EXPORTS) \
17350 for flag in $(EXTRA_HOST_FLAGS) ; do \
17351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17352 done; \
17353 echo "Doing clean in gprof" ; \
17354 (cd $(HOST_SUBDIR)/gprof && \
17355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17357 "RANLIB=$${RANLIB}" \
17358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17359 clean) \
17360 || exit 1
17362 @endif gprof
17364 .PHONY: maybe-distclean-gprof distclean-gprof
17365 maybe-distclean-gprof:
17366 @if gprof
17367 maybe-distclean-gprof: distclean-gprof
17369 distclean-gprof:
17370 @: $(MAKE); $(unstage)
17371 @[ -f ./gprof/Makefile ] || exit 0; \
17372 r=`${PWD_COMMAND}`; export r; \
17373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17374 $(HOST_EXPORTS) \
17375 for flag in $(EXTRA_HOST_FLAGS) ; do \
17376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17377 done; \
17378 echo "Doing distclean in gprof" ; \
17379 (cd $(HOST_SUBDIR)/gprof && \
17380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17382 "RANLIB=$${RANLIB}" \
17383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17384 distclean) \
17385 || exit 1
17387 @endif gprof
17389 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
17390 maybe-maintainer-clean-gprof:
17391 @if gprof
17392 maybe-maintainer-clean-gprof: maintainer-clean-gprof
17394 maintainer-clean-gprof:
17395 @: $(MAKE); $(unstage)
17396 @[ -f ./gprof/Makefile ] || exit 0; \
17397 r=`${PWD_COMMAND}`; export r; \
17398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17399 $(HOST_EXPORTS) \
17400 for flag in $(EXTRA_HOST_FLAGS) ; do \
17401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17402 done; \
17403 echo "Doing maintainer-clean in gprof" ; \
17404 (cd $(HOST_SUBDIR)/gprof && \
17405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17407 "RANLIB=$${RANLIB}" \
17408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17409 maintainer-clean) \
17410 || exit 1
17412 @endif gprof
17416 .PHONY: configure-intl maybe-configure-intl
17417 maybe-configure-intl:
17418 @if gcc-bootstrap
17419 configure-intl: stage_current
17420 @endif gcc-bootstrap
17421 @if intl
17422 maybe-configure-intl: configure-intl
17423 configure-intl:
17424 @r=`${PWD_COMMAND}`; export r; \
17425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17426 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17427 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17428 $(HOST_EXPORTS) \
17429 echo Configuring in $(HOST_SUBDIR)/intl; \
17430 cd "$(HOST_SUBDIR)/intl" || exit 1; \
17431 case $(srcdir) in \
17432 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17433 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17434 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17435 esac; \
17436 module_srcdir=intl; \
17437 $(SHELL) \
17438 $$s/$$module_srcdir/configure \
17439 --srcdir=$${topdir}/$$module_srcdir \
17440 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17441 --target=${target_alias} \
17442 || exit 1
17443 @endif intl
17447 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
17448 maybe-configure-stage1-intl:
17449 @if intl-bootstrap
17450 maybe-configure-stage1-intl: configure-stage1-intl
17451 configure-stage1-intl:
17452 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17453 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17454 @r=`${PWD_COMMAND}`; export r; \
17455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17456 TFLAGS="$(STAGE1_TFLAGS)"; \
17457 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17458 $(HOST_EXPORTS) \
17459 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
17460 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
17461 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
17462 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
17463 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17464 cd $(HOST_SUBDIR)/intl || exit 1; \
17465 case $(srcdir) in \
17466 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17467 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17468 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17469 esac; \
17470 module_srcdir=intl; \
17471 $(SHELL) $$s/$$module_srcdir/configure \
17472 --srcdir=$${topdir}/$$module_srcdir \
17473 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17474 --target=${target_alias} \
17476 $(STAGE1_CONFIGURE_FLAGS)
17477 @endif intl-bootstrap
17479 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
17480 maybe-configure-stage2-intl:
17481 @if intl-bootstrap
17482 maybe-configure-stage2-intl: configure-stage2-intl
17483 configure-stage2-intl:
17484 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17485 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17486 @r=`${PWD_COMMAND}`; export r; \
17487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17488 TFLAGS="$(STAGE2_TFLAGS)"; \
17489 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17490 $(HOST_EXPORTS) \
17491 $(POSTSTAGE1_HOST_EXPORTS) \
17492 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
17493 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
17494 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
17495 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
17496 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17497 cd $(HOST_SUBDIR)/intl || exit 1; \
17498 case $(srcdir) in \
17499 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17500 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17501 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17502 esac; \
17503 module_srcdir=intl; \
17504 $(SHELL) $$s/$$module_srcdir/configure \
17505 --srcdir=$${topdir}/$$module_srcdir \
17506 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17507 --target=${target_alias} \
17508 --with-build-libsubdir=$(HOST_SUBDIR) \
17509 $(STAGE2_CONFIGURE_FLAGS)
17510 @endif intl-bootstrap
17512 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
17513 maybe-configure-stage3-intl:
17514 @if intl-bootstrap
17515 maybe-configure-stage3-intl: configure-stage3-intl
17516 configure-stage3-intl:
17517 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17518 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17519 @r=`${PWD_COMMAND}`; export r; \
17520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17521 TFLAGS="$(STAGE3_TFLAGS)"; \
17522 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17523 $(HOST_EXPORTS) \
17524 $(POSTSTAGE1_HOST_EXPORTS) \
17525 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
17526 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
17527 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
17528 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
17529 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17530 cd $(HOST_SUBDIR)/intl || exit 1; \
17531 case $(srcdir) in \
17532 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17533 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17534 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17535 esac; \
17536 module_srcdir=intl; \
17537 $(SHELL) $$s/$$module_srcdir/configure \
17538 --srcdir=$${topdir}/$$module_srcdir \
17539 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17540 --target=${target_alias} \
17541 --with-build-libsubdir=$(HOST_SUBDIR) \
17542 $(STAGE3_CONFIGURE_FLAGS)
17543 @endif intl-bootstrap
17545 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
17546 maybe-configure-stage4-intl:
17547 @if intl-bootstrap
17548 maybe-configure-stage4-intl: configure-stage4-intl
17549 configure-stage4-intl:
17550 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17551 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17552 @r=`${PWD_COMMAND}`; export r; \
17553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17554 TFLAGS="$(STAGE4_TFLAGS)"; \
17555 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17556 $(HOST_EXPORTS) \
17557 $(POSTSTAGE1_HOST_EXPORTS) \
17558 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
17559 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
17560 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
17561 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
17562 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17563 cd $(HOST_SUBDIR)/intl || exit 1; \
17564 case $(srcdir) in \
17565 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17566 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17567 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17568 esac; \
17569 module_srcdir=intl; \
17570 $(SHELL) $$s/$$module_srcdir/configure \
17571 --srcdir=$${topdir}/$$module_srcdir \
17572 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17573 --target=${target_alias} \
17574 --with-build-libsubdir=$(HOST_SUBDIR) \
17575 $(STAGE4_CONFIGURE_FLAGS)
17576 @endif intl-bootstrap
17578 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
17579 maybe-configure-stageprofile-intl:
17580 @if intl-bootstrap
17581 maybe-configure-stageprofile-intl: configure-stageprofile-intl
17582 configure-stageprofile-intl:
17583 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17584 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17585 @r=`${PWD_COMMAND}`; export r; \
17586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17587 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17588 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17589 $(HOST_EXPORTS) \
17590 $(POSTSTAGE1_HOST_EXPORTS) \
17591 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
17592 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
17593 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
17594 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
17595 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17596 cd $(HOST_SUBDIR)/intl || exit 1; \
17597 case $(srcdir) in \
17598 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17599 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17600 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17601 esac; \
17602 module_srcdir=intl; \
17603 $(SHELL) $$s/$$module_srcdir/configure \
17604 --srcdir=$${topdir}/$$module_srcdir \
17605 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17606 --target=${target_alias} \
17607 --with-build-libsubdir=$(HOST_SUBDIR) \
17608 $(STAGEprofile_CONFIGURE_FLAGS)
17609 @endif intl-bootstrap
17611 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
17612 maybe-configure-stagefeedback-intl:
17613 @if intl-bootstrap
17614 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
17615 configure-stagefeedback-intl:
17616 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17617 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17618 @r=`${PWD_COMMAND}`; export r; \
17619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17620 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17621 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17622 $(HOST_EXPORTS) \
17623 $(POSTSTAGE1_HOST_EXPORTS) \
17624 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
17625 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
17626 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
17627 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
17628 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17629 cd $(HOST_SUBDIR)/intl || exit 1; \
17630 case $(srcdir) in \
17631 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17632 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17633 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17634 esac; \
17635 module_srcdir=intl; \
17636 $(SHELL) $$s/$$module_srcdir/configure \
17637 --srcdir=$${topdir}/$$module_srcdir \
17638 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17639 --target=${target_alias} \
17640 --with-build-libsubdir=$(HOST_SUBDIR) \
17641 $(STAGEfeedback_CONFIGURE_FLAGS)
17642 @endif intl-bootstrap
17648 .PHONY: all-intl maybe-all-intl
17649 maybe-all-intl:
17650 @if gcc-bootstrap
17651 all-intl: stage_current
17652 @endif gcc-bootstrap
17653 @if intl
17654 TARGET-intl=all
17655 maybe-all-intl: all-intl
17656 all-intl: configure-intl
17657 @r=`${PWD_COMMAND}`; export r; \
17658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17659 $(HOST_EXPORTS) \
17660 (cd $(HOST_SUBDIR)/intl && \
17661 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
17662 $(TARGET-intl))
17663 @endif intl
17667 .PHONY: all-stage1-intl maybe-all-stage1-intl
17668 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
17669 maybe-all-stage1-intl:
17670 maybe-clean-stage1-intl:
17671 @if intl-bootstrap
17672 maybe-all-stage1-intl: all-stage1-intl
17673 all-stage1: all-stage1-intl
17674 TARGET-stage1-intl = $(TARGET-intl)
17675 all-stage1-intl: configure-stage1-intl
17676 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17677 @r=`${PWD_COMMAND}`; export r; \
17678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17679 TFLAGS="$(STAGE1_TFLAGS)"; \
17680 $(HOST_EXPORTS) \
17681 cd $(HOST_SUBDIR)/intl && \
17682 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17683 CFLAGS="$(STAGE1_CFLAGS)" \
17684 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
17685 LIBCFLAGS="$(LIBCFLAGS)" \
17686 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17687 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17688 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17689 $(EXTRA_HOST_FLAGS) \
17690 $(STAGE1_FLAGS_TO_PASS) \
17691 TFLAGS="$(STAGE1_TFLAGS)" \
17692 $(TARGET-stage1-intl)
17694 maybe-clean-stage1-intl: clean-stage1-intl
17695 clean-stage1: clean-stage1-intl
17696 clean-stage1-intl:
17697 @if [ $(current_stage) = stage1 ]; then \
17698 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17699 else \
17700 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
17701 $(MAKE) stage1-start; \
17702 fi; \
17703 cd $(HOST_SUBDIR)/intl && \
17704 $(MAKE) $(EXTRA_HOST_FLAGS) \
17705 $(STAGE1_FLAGS_TO_PASS) clean
17706 @endif intl-bootstrap
17709 .PHONY: all-stage2-intl maybe-all-stage2-intl
17710 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
17711 maybe-all-stage2-intl:
17712 maybe-clean-stage2-intl:
17713 @if intl-bootstrap
17714 maybe-all-stage2-intl: all-stage2-intl
17715 all-stage2: all-stage2-intl
17716 TARGET-stage2-intl = $(TARGET-intl)
17717 all-stage2-intl: configure-stage2-intl
17718 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17719 @r=`${PWD_COMMAND}`; export r; \
17720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17721 TFLAGS="$(STAGE2_TFLAGS)"; \
17722 $(HOST_EXPORTS) \
17723 $(POSTSTAGE1_HOST_EXPORTS) \
17724 cd $(HOST_SUBDIR)/intl && \
17725 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17726 CFLAGS="$(STAGE2_CFLAGS)" \
17727 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
17728 LIBCFLAGS="$(STAGE2_CFLAGS)" \
17729 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17730 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17731 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17732 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17733 TFLAGS="$(STAGE2_TFLAGS)" \
17734 $(TARGET-stage2-intl)
17736 maybe-clean-stage2-intl: clean-stage2-intl
17737 clean-stage2: clean-stage2-intl
17738 clean-stage2-intl:
17739 @if [ $(current_stage) = stage2 ]; then \
17740 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17741 else \
17742 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
17743 $(MAKE) stage2-start; \
17744 fi; \
17745 cd $(HOST_SUBDIR)/intl && \
17746 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17747 @endif intl-bootstrap
17750 .PHONY: all-stage3-intl maybe-all-stage3-intl
17751 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
17752 maybe-all-stage3-intl:
17753 maybe-clean-stage3-intl:
17754 @if intl-bootstrap
17755 maybe-all-stage3-intl: all-stage3-intl
17756 all-stage3: all-stage3-intl
17757 TARGET-stage3-intl = $(TARGET-intl)
17758 all-stage3-intl: configure-stage3-intl
17759 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17760 @r=`${PWD_COMMAND}`; export r; \
17761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17762 TFLAGS="$(STAGE3_TFLAGS)"; \
17763 $(HOST_EXPORTS) \
17764 $(POSTSTAGE1_HOST_EXPORTS) \
17765 cd $(HOST_SUBDIR)/intl && \
17766 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17767 CFLAGS="$(STAGE3_CFLAGS)" \
17768 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
17769 LIBCFLAGS="$(STAGE3_CFLAGS)" \
17770 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17771 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17772 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17773 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17774 TFLAGS="$(STAGE3_TFLAGS)" \
17775 $(TARGET-stage3-intl)
17777 maybe-clean-stage3-intl: clean-stage3-intl
17778 clean-stage3: clean-stage3-intl
17779 clean-stage3-intl:
17780 @if [ $(current_stage) = stage3 ]; then \
17781 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17782 else \
17783 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
17784 $(MAKE) stage3-start; \
17785 fi; \
17786 cd $(HOST_SUBDIR)/intl && \
17787 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17788 @endif intl-bootstrap
17791 .PHONY: all-stage4-intl maybe-all-stage4-intl
17792 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
17793 maybe-all-stage4-intl:
17794 maybe-clean-stage4-intl:
17795 @if intl-bootstrap
17796 maybe-all-stage4-intl: all-stage4-intl
17797 all-stage4: all-stage4-intl
17798 TARGET-stage4-intl = $(TARGET-intl)
17799 all-stage4-intl: configure-stage4-intl
17800 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17801 @r=`${PWD_COMMAND}`; export r; \
17802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17803 TFLAGS="$(STAGE4_TFLAGS)"; \
17804 $(HOST_EXPORTS) \
17805 $(POSTSTAGE1_HOST_EXPORTS) \
17806 cd $(HOST_SUBDIR)/intl && \
17807 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17808 CFLAGS="$(STAGE4_CFLAGS)" \
17809 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
17810 LIBCFLAGS="$(STAGE4_CFLAGS)" \
17811 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17812 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17813 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17814 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17815 TFLAGS="$(STAGE4_TFLAGS)" \
17816 $(TARGET-stage4-intl)
17818 maybe-clean-stage4-intl: clean-stage4-intl
17819 clean-stage4: clean-stage4-intl
17820 clean-stage4-intl:
17821 @if [ $(current_stage) = stage4 ]; then \
17822 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17823 else \
17824 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
17825 $(MAKE) stage4-start; \
17826 fi; \
17827 cd $(HOST_SUBDIR)/intl && \
17828 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17829 @endif intl-bootstrap
17832 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
17833 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
17834 maybe-all-stageprofile-intl:
17835 maybe-clean-stageprofile-intl:
17836 @if intl-bootstrap
17837 maybe-all-stageprofile-intl: all-stageprofile-intl
17838 all-stageprofile: all-stageprofile-intl
17839 TARGET-stageprofile-intl = $(TARGET-intl)
17840 all-stageprofile-intl: configure-stageprofile-intl
17841 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17842 @r=`${PWD_COMMAND}`; export r; \
17843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17844 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17845 $(HOST_EXPORTS) \
17846 $(POSTSTAGE1_HOST_EXPORTS) \
17847 cd $(HOST_SUBDIR)/intl && \
17848 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17849 CFLAGS="$(STAGEprofile_CFLAGS)" \
17850 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
17851 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
17852 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17853 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17854 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17855 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17856 TFLAGS="$(STAGEprofile_TFLAGS)" \
17857 $(TARGET-stageprofile-intl)
17859 maybe-clean-stageprofile-intl: clean-stageprofile-intl
17860 clean-stageprofile: clean-stageprofile-intl
17861 clean-stageprofile-intl:
17862 @if [ $(current_stage) = stageprofile ]; then \
17863 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17864 else \
17865 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
17866 $(MAKE) stageprofile-start; \
17867 fi; \
17868 cd $(HOST_SUBDIR)/intl && \
17869 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17870 @endif intl-bootstrap
17873 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
17874 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
17875 maybe-all-stagefeedback-intl:
17876 maybe-clean-stagefeedback-intl:
17877 @if intl-bootstrap
17878 maybe-all-stagefeedback-intl: all-stagefeedback-intl
17879 all-stagefeedback: all-stagefeedback-intl
17880 TARGET-stagefeedback-intl = $(TARGET-intl)
17881 all-stagefeedback-intl: configure-stagefeedback-intl
17882 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17883 @r=`${PWD_COMMAND}`; export r; \
17884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17885 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17886 $(HOST_EXPORTS) \
17887 $(POSTSTAGE1_HOST_EXPORTS) \
17888 cd $(HOST_SUBDIR)/intl && \
17889 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17890 CFLAGS="$(STAGEfeedback_CFLAGS)" \
17891 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
17892 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
17893 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17894 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17895 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17896 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17897 TFLAGS="$(STAGEfeedback_TFLAGS)" \
17898 $(TARGET-stagefeedback-intl)
17900 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
17901 clean-stagefeedback: clean-stagefeedback-intl
17902 clean-stagefeedback-intl:
17903 @if [ $(current_stage) = stagefeedback ]; then \
17904 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17905 else \
17906 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
17907 $(MAKE) stagefeedback-start; \
17908 fi; \
17909 cd $(HOST_SUBDIR)/intl && \
17910 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17911 @endif intl-bootstrap
17917 .PHONY: check-intl maybe-check-intl
17918 maybe-check-intl:
17919 @if intl
17920 maybe-check-intl: check-intl
17922 check-intl:
17923 @: $(MAKE); $(unstage)
17924 @r=`${PWD_COMMAND}`; export r; \
17925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17926 $(HOST_EXPORTS) \
17927 (cd $(HOST_SUBDIR)/intl && \
17928 $(MAKE) $(FLAGS_TO_PASS) check)
17930 @endif intl
17932 .PHONY: install-intl maybe-install-intl
17933 maybe-install-intl:
17934 @if intl
17935 maybe-install-intl: install-intl
17937 install-intl: installdirs
17938 @: $(MAKE); $(unstage)
17939 @r=`${PWD_COMMAND}`; export r; \
17940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17941 $(HOST_EXPORTS) \
17942 (cd $(HOST_SUBDIR)/intl && \
17943 $(MAKE) $(FLAGS_TO_PASS) install)
17945 @endif intl
17947 .PHONY: install-strip-intl maybe-install-strip-intl
17948 maybe-install-strip-intl:
17949 @if intl
17950 maybe-install-strip-intl: install-strip-intl
17952 install-strip-intl: installdirs
17953 @: $(MAKE); $(unstage)
17954 @r=`${PWD_COMMAND}`; export r; \
17955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17956 $(HOST_EXPORTS) \
17957 (cd $(HOST_SUBDIR)/intl && \
17958 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17960 @endif intl
17962 # Other targets (info, dvi, pdf, etc.)
17964 .PHONY: maybe-info-intl info-intl
17965 maybe-info-intl:
17966 @if intl
17967 maybe-info-intl: info-intl
17969 info-intl: \
17970 configure-intl
17971 @[ -f ./intl/Makefile ] || exit 0; \
17972 r=`${PWD_COMMAND}`; export r; \
17973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17974 $(HOST_EXPORTS) \
17975 for flag in $(EXTRA_HOST_FLAGS) ; do \
17976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17977 done; \
17978 echo "Doing info in intl" ; \
17979 (cd $(HOST_SUBDIR)/intl && \
17980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17982 "RANLIB=$${RANLIB}" \
17983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17984 info) \
17985 || exit 1
17987 @endif intl
17989 .PHONY: maybe-dvi-intl dvi-intl
17990 maybe-dvi-intl:
17991 @if intl
17992 maybe-dvi-intl: dvi-intl
17994 dvi-intl: \
17995 configure-intl
17996 @[ -f ./intl/Makefile ] || exit 0; \
17997 r=`${PWD_COMMAND}`; export r; \
17998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17999 $(HOST_EXPORTS) \
18000 for flag in $(EXTRA_HOST_FLAGS) ; do \
18001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18002 done; \
18003 echo "Doing dvi in intl" ; \
18004 (cd $(HOST_SUBDIR)/intl && \
18005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18007 "RANLIB=$${RANLIB}" \
18008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18009 dvi) \
18010 || exit 1
18012 @endif intl
18014 .PHONY: maybe-pdf-intl pdf-intl
18015 maybe-pdf-intl:
18016 @if intl
18017 maybe-pdf-intl: pdf-intl
18019 pdf-intl: \
18020 configure-intl
18021 @[ -f ./intl/Makefile ] || exit 0; \
18022 r=`${PWD_COMMAND}`; export r; \
18023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18024 $(HOST_EXPORTS) \
18025 for flag in $(EXTRA_HOST_FLAGS) ; do \
18026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18027 done; \
18028 echo "Doing pdf in intl" ; \
18029 (cd $(HOST_SUBDIR)/intl && \
18030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18032 "RANLIB=$${RANLIB}" \
18033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18034 pdf) \
18035 || exit 1
18037 @endif intl
18039 .PHONY: maybe-html-intl html-intl
18040 maybe-html-intl:
18041 @if intl
18042 maybe-html-intl: html-intl
18044 html-intl: \
18045 configure-intl
18046 @[ -f ./intl/Makefile ] || exit 0; \
18047 r=`${PWD_COMMAND}`; export r; \
18048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18049 $(HOST_EXPORTS) \
18050 for flag in $(EXTRA_HOST_FLAGS) ; do \
18051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18052 done; \
18053 echo "Doing html in intl" ; \
18054 (cd $(HOST_SUBDIR)/intl && \
18055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18057 "RANLIB=$${RANLIB}" \
18058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18059 html) \
18060 || exit 1
18062 @endif intl
18064 .PHONY: maybe-TAGS-intl TAGS-intl
18065 maybe-TAGS-intl:
18066 @if intl
18067 maybe-TAGS-intl: TAGS-intl
18069 TAGS-intl: \
18070 configure-intl
18071 @[ -f ./intl/Makefile ] || exit 0; \
18072 r=`${PWD_COMMAND}`; export r; \
18073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18074 $(HOST_EXPORTS) \
18075 for flag in $(EXTRA_HOST_FLAGS) ; do \
18076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18077 done; \
18078 echo "Doing TAGS in intl" ; \
18079 (cd $(HOST_SUBDIR)/intl && \
18080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18082 "RANLIB=$${RANLIB}" \
18083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18084 TAGS) \
18085 || exit 1
18087 @endif intl
18089 .PHONY: maybe-install-info-intl install-info-intl
18090 maybe-install-info-intl:
18091 @if intl
18092 maybe-install-info-intl: install-info-intl
18094 install-info-intl: \
18095 configure-intl \
18096 info-intl
18097 @[ -f ./intl/Makefile ] || exit 0; \
18098 r=`${PWD_COMMAND}`; export r; \
18099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18100 $(HOST_EXPORTS) \
18101 for flag in $(EXTRA_HOST_FLAGS) ; do \
18102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18103 done; \
18104 echo "Doing install-info in intl" ; \
18105 (cd $(HOST_SUBDIR)/intl && \
18106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18108 "RANLIB=$${RANLIB}" \
18109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18110 install-info) \
18111 || exit 1
18113 @endif intl
18115 .PHONY: maybe-install-pdf-intl install-pdf-intl
18116 maybe-install-pdf-intl:
18117 @if intl
18118 maybe-install-pdf-intl: install-pdf-intl
18120 install-pdf-intl: \
18121 configure-intl \
18122 pdf-intl
18123 @[ -f ./intl/Makefile ] || exit 0; \
18124 r=`${PWD_COMMAND}`; export r; \
18125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18126 $(HOST_EXPORTS) \
18127 for flag in $(EXTRA_HOST_FLAGS) ; do \
18128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18129 done; \
18130 echo "Doing install-pdf in intl" ; \
18131 (cd $(HOST_SUBDIR)/intl && \
18132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18134 "RANLIB=$${RANLIB}" \
18135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18136 install-pdf) \
18137 || exit 1
18139 @endif intl
18141 .PHONY: maybe-install-html-intl install-html-intl
18142 maybe-install-html-intl:
18143 @if intl
18144 maybe-install-html-intl: install-html-intl
18146 install-html-intl: \
18147 configure-intl \
18148 html-intl
18149 @[ -f ./intl/Makefile ] || exit 0; \
18150 r=`${PWD_COMMAND}`; export r; \
18151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18152 $(HOST_EXPORTS) \
18153 for flag in $(EXTRA_HOST_FLAGS) ; do \
18154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18155 done; \
18156 echo "Doing install-html in intl" ; \
18157 (cd $(HOST_SUBDIR)/intl && \
18158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18160 "RANLIB=$${RANLIB}" \
18161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18162 install-html) \
18163 || exit 1
18165 @endif intl
18167 .PHONY: maybe-installcheck-intl installcheck-intl
18168 maybe-installcheck-intl:
18169 @if intl
18170 maybe-installcheck-intl: installcheck-intl
18172 installcheck-intl: \
18173 configure-intl
18174 @[ -f ./intl/Makefile ] || exit 0; \
18175 r=`${PWD_COMMAND}`; export r; \
18176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18177 $(HOST_EXPORTS) \
18178 for flag in $(EXTRA_HOST_FLAGS) ; do \
18179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18180 done; \
18181 echo "Doing installcheck in intl" ; \
18182 (cd $(HOST_SUBDIR)/intl && \
18183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18185 "RANLIB=$${RANLIB}" \
18186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18187 installcheck) \
18188 || exit 1
18190 @endif intl
18192 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
18193 maybe-mostlyclean-intl:
18194 @if intl
18195 maybe-mostlyclean-intl: mostlyclean-intl
18197 mostlyclean-intl:
18198 @[ -f ./intl/Makefile ] || exit 0; \
18199 r=`${PWD_COMMAND}`; export r; \
18200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18201 $(HOST_EXPORTS) \
18202 for flag in $(EXTRA_HOST_FLAGS) ; do \
18203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18204 done; \
18205 echo "Doing mostlyclean in intl" ; \
18206 (cd $(HOST_SUBDIR)/intl && \
18207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18209 "RANLIB=$${RANLIB}" \
18210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18211 mostlyclean) \
18212 || exit 1
18214 @endif intl
18216 .PHONY: maybe-clean-intl clean-intl
18217 maybe-clean-intl:
18218 @if intl
18219 maybe-clean-intl: clean-intl
18221 clean-intl:
18222 @[ -f ./intl/Makefile ] || exit 0; \
18223 r=`${PWD_COMMAND}`; export r; \
18224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18225 $(HOST_EXPORTS) \
18226 for flag in $(EXTRA_HOST_FLAGS) ; do \
18227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18228 done; \
18229 echo "Doing clean in intl" ; \
18230 (cd $(HOST_SUBDIR)/intl && \
18231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18233 "RANLIB=$${RANLIB}" \
18234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18235 clean) \
18236 || exit 1
18238 @endif intl
18240 .PHONY: maybe-distclean-intl distclean-intl
18241 maybe-distclean-intl:
18242 @if intl
18243 maybe-distclean-intl: distclean-intl
18245 distclean-intl:
18246 @[ -f ./intl/Makefile ] || exit 0; \
18247 r=`${PWD_COMMAND}`; export r; \
18248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18249 $(HOST_EXPORTS) \
18250 for flag in $(EXTRA_HOST_FLAGS) ; do \
18251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18252 done; \
18253 echo "Doing distclean in intl" ; \
18254 (cd $(HOST_SUBDIR)/intl && \
18255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18257 "RANLIB=$${RANLIB}" \
18258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18259 distclean) \
18260 || exit 1
18262 @endif intl
18264 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
18265 maybe-maintainer-clean-intl:
18266 @if intl
18267 maybe-maintainer-clean-intl: maintainer-clean-intl
18269 maintainer-clean-intl:
18270 @[ -f ./intl/Makefile ] || exit 0; \
18271 r=`${PWD_COMMAND}`; export r; \
18272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18273 $(HOST_EXPORTS) \
18274 for flag in $(EXTRA_HOST_FLAGS) ; do \
18275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18276 done; \
18277 echo "Doing maintainer-clean in intl" ; \
18278 (cd $(HOST_SUBDIR)/intl && \
18279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18281 "RANLIB=$${RANLIB}" \
18282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18283 maintainer-clean) \
18284 || exit 1
18286 @endif intl
18290 .PHONY: configure-tcl maybe-configure-tcl
18291 maybe-configure-tcl:
18292 @if gcc-bootstrap
18293 configure-tcl: stage_current
18294 @endif gcc-bootstrap
18295 @if tcl
18296 maybe-configure-tcl: configure-tcl
18297 configure-tcl:
18298 @: $(MAKE); $(unstage)
18299 @r=`${PWD_COMMAND}`; export r; \
18300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18301 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
18302 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
18303 $(HOST_EXPORTS) \
18304 echo Configuring in $(HOST_SUBDIR)/tcl; \
18305 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
18306 case $(srcdir) in \
18307 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18308 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
18309 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18310 esac; \
18311 module_srcdir=tcl; \
18312 $(SHELL) \
18313 $$s/$$module_srcdir/configure \
18314 --srcdir=$${topdir}/$$module_srcdir \
18315 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18316 --target=${target_alias} \
18317 || exit 1
18318 @endif tcl
18324 .PHONY: all-tcl maybe-all-tcl
18325 maybe-all-tcl:
18326 @if gcc-bootstrap
18327 all-tcl: stage_current
18328 @endif gcc-bootstrap
18329 @if tcl
18330 TARGET-tcl=all
18331 maybe-all-tcl: all-tcl
18332 all-tcl: configure-tcl
18333 @: $(MAKE); $(unstage)
18334 @r=`${PWD_COMMAND}`; export r; \
18335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18336 $(HOST_EXPORTS) \
18337 (cd $(HOST_SUBDIR)/tcl && \
18338 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18339 $(TARGET-tcl))
18340 @endif tcl
18345 .PHONY: check-tcl maybe-check-tcl
18346 maybe-check-tcl:
18347 @if tcl
18348 maybe-check-tcl: check-tcl
18350 check-tcl:
18351 @: $(MAKE); $(unstage)
18352 @r=`${PWD_COMMAND}`; export r; \
18353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18354 $(HOST_EXPORTS) \
18355 (cd $(HOST_SUBDIR)/tcl && \
18356 $(MAKE) $(FLAGS_TO_PASS) check)
18358 @endif tcl
18360 .PHONY: install-tcl maybe-install-tcl
18361 maybe-install-tcl:
18362 @if tcl
18363 maybe-install-tcl: install-tcl
18365 install-tcl: installdirs
18366 @: $(MAKE); $(unstage)
18367 @r=`${PWD_COMMAND}`; export r; \
18368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18369 $(HOST_EXPORTS) \
18370 (cd $(HOST_SUBDIR)/tcl && \
18371 $(MAKE) $(FLAGS_TO_PASS) install)
18373 @endif tcl
18375 .PHONY: install-strip-tcl maybe-install-strip-tcl
18376 maybe-install-strip-tcl:
18377 @if tcl
18378 maybe-install-strip-tcl: install-strip-tcl
18380 install-strip-tcl: installdirs
18381 @: $(MAKE); $(unstage)
18382 @r=`${PWD_COMMAND}`; export r; \
18383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18384 $(HOST_EXPORTS) \
18385 (cd $(HOST_SUBDIR)/tcl && \
18386 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18388 @endif tcl
18390 # Other targets (info, dvi, pdf, etc.)
18392 .PHONY: maybe-info-tcl info-tcl
18393 maybe-info-tcl:
18394 @if tcl
18395 maybe-info-tcl: info-tcl
18397 info-tcl: \
18398 configure-tcl
18399 @: $(MAKE); $(unstage)
18400 @[ -f ./tcl/Makefile ] || exit 0; \
18401 r=`${PWD_COMMAND}`; export r; \
18402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18403 $(HOST_EXPORTS) \
18404 for flag in $(EXTRA_HOST_FLAGS) ; do \
18405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18406 done; \
18407 echo "Doing info in tcl" ; \
18408 (cd $(HOST_SUBDIR)/tcl && \
18409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18411 "RANLIB=$${RANLIB}" \
18412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18413 info) \
18414 || exit 1
18416 @endif tcl
18418 .PHONY: maybe-dvi-tcl dvi-tcl
18419 maybe-dvi-tcl:
18420 @if tcl
18421 maybe-dvi-tcl: dvi-tcl
18423 dvi-tcl: \
18424 configure-tcl
18425 @: $(MAKE); $(unstage)
18426 @[ -f ./tcl/Makefile ] || exit 0; \
18427 r=`${PWD_COMMAND}`; export r; \
18428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18429 $(HOST_EXPORTS) \
18430 for flag in $(EXTRA_HOST_FLAGS) ; do \
18431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18432 done; \
18433 echo "Doing dvi in tcl" ; \
18434 (cd $(HOST_SUBDIR)/tcl && \
18435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18437 "RANLIB=$${RANLIB}" \
18438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18439 dvi) \
18440 || exit 1
18442 @endif tcl
18444 .PHONY: maybe-pdf-tcl pdf-tcl
18445 maybe-pdf-tcl:
18446 @if tcl
18447 maybe-pdf-tcl: pdf-tcl
18449 pdf-tcl: \
18450 configure-tcl
18451 @: $(MAKE); $(unstage)
18452 @[ -f ./tcl/Makefile ] || exit 0; \
18453 r=`${PWD_COMMAND}`; export r; \
18454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18455 $(HOST_EXPORTS) \
18456 for flag in $(EXTRA_HOST_FLAGS) ; do \
18457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18458 done; \
18459 echo "Doing pdf in tcl" ; \
18460 (cd $(HOST_SUBDIR)/tcl && \
18461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18463 "RANLIB=$${RANLIB}" \
18464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18465 pdf) \
18466 || exit 1
18468 @endif tcl
18470 .PHONY: maybe-html-tcl html-tcl
18471 maybe-html-tcl:
18472 @if tcl
18473 maybe-html-tcl: html-tcl
18475 html-tcl: \
18476 configure-tcl
18477 @: $(MAKE); $(unstage)
18478 @[ -f ./tcl/Makefile ] || exit 0; \
18479 r=`${PWD_COMMAND}`; export r; \
18480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18481 $(HOST_EXPORTS) \
18482 for flag in $(EXTRA_HOST_FLAGS) ; do \
18483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18484 done; \
18485 echo "Doing html in tcl" ; \
18486 (cd $(HOST_SUBDIR)/tcl && \
18487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18489 "RANLIB=$${RANLIB}" \
18490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18491 html) \
18492 || exit 1
18494 @endif tcl
18496 .PHONY: maybe-TAGS-tcl TAGS-tcl
18497 maybe-TAGS-tcl:
18498 @if tcl
18499 maybe-TAGS-tcl: TAGS-tcl
18501 TAGS-tcl: \
18502 configure-tcl
18503 @: $(MAKE); $(unstage)
18504 @[ -f ./tcl/Makefile ] || exit 0; \
18505 r=`${PWD_COMMAND}`; export r; \
18506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18507 $(HOST_EXPORTS) \
18508 for flag in $(EXTRA_HOST_FLAGS) ; do \
18509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18510 done; \
18511 echo "Doing TAGS in tcl" ; \
18512 (cd $(HOST_SUBDIR)/tcl && \
18513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18515 "RANLIB=$${RANLIB}" \
18516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18517 TAGS) \
18518 || exit 1
18520 @endif tcl
18522 .PHONY: maybe-install-info-tcl install-info-tcl
18523 maybe-install-info-tcl:
18524 @if tcl
18525 maybe-install-info-tcl: install-info-tcl
18527 install-info-tcl: \
18528 configure-tcl \
18529 info-tcl
18530 @: $(MAKE); $(unstage)
18531 @[ -f ./tcl/Makefile ] || exit 0; \
18532 r=`${PWD_COMMAND}`; export r; \
18533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18534 $(HOST_EXPORTS) \
18535 for flag in $(EXTRA_HOST_FLAGS) ; do \
18536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18537 done; \
18538 echo "Doing install-info in tcl" ; \
18539 (cd $(HOST_SUBDIR)/tcl && \
18540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18542 "RANLIB=$${RANLIB}" \
18543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18544 install-info) \
18545 || exit 1
18547 @endif tcl
18549 .PHONY: maybe-install-pdf-tcl install-pdf-tcl
18550 maybe-install-pdf-tcl:
18551 @if tcl
18552 maybe-install-pdf-tcl: install-pdf-tcl
18554 install-pdf-tcl: \
18555 configure-tcl \
18556 pdf-tcl
18557 @: $(MAKE); $(unstage)
18558 @[ -f ./tcl/Makefile ] || exit 0; \
18559 r=`${PWD_COMMAND}`; export r; \
18560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18561 $(HOST_EXPORTS) \
18562 for flag in $(EXTRA_HOST_FLAGS) ; do \
18563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18564 done; \
18565 echo "Doing install-pdf in tcl" ; \
18566 (cd $(HOST_SUBDIR)/tcl && \
18567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18569 "RANLIB=$${RANLIB}" \
18570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18571 install-pdf) \
18572 || exit 1
18574 @endif tcl
18576 .PHONY: maybe-install-html-tcl install-html-tcl
18577 maybe-install-html-tcl:
18578 @if tcl
18579 maybe-install-html-tcl: install-html-tcl
18581 install-html-tcl: \
18582 configure-tcl \
18583 html-tcl
18584 @: $(MAKE); $(unstage)
18585 @[ -f ./tcl/Makefile ] || exit 0; \
18586 r=`${PWD_COMMAND}`; export r; \
18587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18588 $(HOST_EXPORTS) \
18589 for flag in $(EXTRA_HOST_FLAGS) ; do \
18590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18591 done; \
18592 echo "Doing install-html in tcl" ; \
18593 (cd $(HOST_SUBDIR)/tcl && \
18594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18596 "RANLIB=$${RANLIB}" \
18597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18598 install-html) \
18599 || exit 1
18601 @endif tcl
18603 .PHONY: maybe-installcheck-tcl installcheck-tcl
18604 maybe-installcheck-tcl:
18605 @if tcl
18606 maybe-installcheck-tcl: installcheck-tcl
18608 installcheck-tcl: \
18609 configure-tcl
18610 @: $(MAKE); $(unstage)
18611 @[ -f ./tcl/Makefile ] || exit 0; \
18612 r=`${PWD_COMMAND}`; export r; \
18613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18614 $(HOST_EXPORTS) \
18615 for flag in $(EXTRA_HOST_FLAGS) ; do \
18616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18617 done; \
18618 echo "Doing installcheck in tcl" ; \
18619 (cd $(HOST_SUBDIR)/tcl && \
18620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18622 "RANLIB=$${RANLIB}" \
18623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18624 installcheck) \
18625 || exit 1
18627 @endif tcl
18629 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
18630 maybe-mostlyclean-tcl:
18631 @if tcl
18632 maybe-mostlyclean-tcl: mostlyclean-tcl
18634 # tcl doesn't support mostlyclean.
18635 mostlyclean-tcl:
18637 @endif tcl
18639 .PHONY: maybe-clean-tcl clean-tcl
18640 maybe-clean-tcl:
18641 @if tcl
18642 maybe-clean-tcl: clean-tcl
18644 clean-tcl:
18645 @: $(MAKE); $(unstage)
18646 @[ -f ./tcl/Makefile ] || exit 0; \
18647 r=`${PWD_COMMAND}`; export r; \
18648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18649 $(HOST_EXPORTS) \
18650 for flag in $(EXTRA_HOST_FLAGS) ; do \
18651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18652 done; \
18653 echo "Doing clean in tcl" ; \
18654 (cd $(HOST_SUBDIR)/tcl && \
18655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18657 "RANLIB=$${RANLIB}" \
18658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18659 clean) \
18660 || exit 1
18662 @endif tcl
18664 .PHONY: maybe-distclean-tcl distclean-tcl
18665 maybe-distclean-tcl:
18666 @if tcl
18667 maybe-distclean-tcl: distclean-tcl
18669 distclean-tcl:
18670 @: $(MAKE); $(unstage)
18671 @[ -f ./tcl/Makefile ] || exit 0; \
18672 r=`${PWD_COMMAND}`; export r; \
18673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18674 $(HOST_EXPORTS) \
18675 for flag in $(EXTRA_HOST_FLAGS) ; do \
18676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18677 done; \
18678 echo "Doing distclean in tcl" ; \
18679 (cd $(HOST_SUBDIR)/tcl && \
18680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18682 "RANLIB=$${RANLIB}" \
18683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18684 distclean) \
18685 || exit 1
18687 @endif tcl
18689 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
18690 maybe-maintainer-clean-tcl:
18691 @if tcl
18692 maybe-maintainer-clean-tcl: maintainer-clean-tcl
18694 maintainer-clean-tcl:
18695 @: $(MAKE); $(unstage)
18696 @[ -f ./tcl/Makefile ] || exit 0; \
18697 r=`${PWD_COMMAND}`; export r; \
18698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18699 $(HOST_EXPORTS) \
18700 for flag in $(EXTRA_HOST_FLAGS) ; do \
18701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18702 done; \
18703 echo "Doing maintainer-clean in tcl" ; \
18704 (cd $(HOST_SUBDIR)/tcl && \
18705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18707 "RANLIB=$${RANLIB}" \
18708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18709 maintainer-clean) \
18710 || exit 1
18712 @endif tcl
18716 .PHONY: configure-itcl maybe-configure-itcl
18717 maybe-configure-itcl:
18718 @if gcc-bootstrap
18719 configure-itcl: stage_current
18720 @endif gcc-bootstrap
18721 @if itcl
18722 maybe-configure-itcl: configure-itcl
18723 configure-itcl:
18724 @: $(MAKE); $(unstage)
18725 @r=`${PWD_COMMAND}`; export r; \
18726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18727 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
18728 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
18729 $(HOST_EXPORTS) \
18730 echo Configuring in $(HOST_SUBDIR)/itcl; \
18731 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
18732 case $(srcdir) in \
18733 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18734 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
18735 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18736 esac; \
18737 module_srcdir=itcl; \
18738 $(SHELL) \
18739 $$s/$$module_srcdir/configure \
18740 --srcdir=$${topdir}/$$module_srcdir \
18741 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18742 --target=${target_alias} \
18743 || exit 1
18744 @endif itcl
18750 .PHONY: all-itcl maybe-all-itcl
18751 maybe-all-itcl:
18752 @if gcc-bootstrap
18753 all-itcl: stage_current
18754 @endif gcc-bootstrap
18755 @if itcl
18756 TARGET-itcl=all
18757 maybe-all-itcl: all-itcl
18758 all-itcl: configure-itcl
18759 @: $(MAKE); $(unstage)
18760 @r=`${PWD_COMMAND}`; export r; \
18761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18762 $(HOST_EXPORTS) \
18763 (cd $(HOST_SUBDIR)/itcl && \
18764 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18765 $(TARGET-itcl))
18766 @endif itcl
18771 .PHONY: check-itcl maybe-check-itcl
18772 maybe-check-itcl:
18773 @if itcl
18774 maybe-check-itcl: check-itcl
18776 check-itcl:
18777 @: $(MAKE); $(unstage)
18778 @r=`${PWD_COMMAND}`; export r; \
18779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18780 $(HOST_EXPORTS) \
18781 (cd $(HOST_SUBDIR)/itcl && \
18782 $(MAKE) $(FLAGS_TO_PASS) check)
18784 @endif itcl
18786 .PHONY: install-itcl maybe-install-itcl
18787 maybe-install-itcl:
18788 @if itcl
18789 maybe-install-itcl: install-itcl
18791 install-itcl: installdirs
18792 @: $(MAKE); $(unstage)
18793 @r=`${PWD_COMMAND}`; export r; \
18794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18795 $(HOST_EXPORTS) \
18796 (cd $(HOST_SUBDIR)/itcl && \
18797 $(MAKE) $(FLAGS_TO_PASS) install)
18799 @endif itcl
18801 .PHONY: install-strip-itcl maybe-install-strip-itcl
18802 maybe-install-strip-itcl:
18803 @if itcl
18804 maybe-install-strip-itcl: install-strip-itcl
18806 install-strip-itcl: installdirs
18807 @: $(MAKE); $(unstage)
18808 @r=`${PWD_COMMAND}`; export r; \
18809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18810 $(HOST_EXPORTS) \
18811 (cd $(HOST_SUBDIR)/itcl && \
18812 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18814 @endif itcl
18816 # Other targets (info, dvi, pdf, etc.)
18818 .PHONY: maybe-info-itcl info-itcl
18819 maybe-info-itcl:
18820 @if itcl
18821 maybe-info-itcl: info-itcl
18823 info-itcl: \
18824 configure-itcl
18825 @: $(MAKE); $(unstage)
18826 @[ -f ./itcl/Makefile ] || exit 0; \
18827 r=`${PWD_COMMAND}`; export r; \
18828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18829 $(HOST_EXPORTS) \
18830 for flag in $(EXTRA_HOST_FLAGS) ; do \
18831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18832 done; \
18833 echo "Doing info in itcl" ; \
18834 (cd $(HOST_SUBDIR)/itcl && \
18835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18837 "RANLIB=$${RANLIB}" \
18838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18839 info) \
18840 || exit 1
18842 @endif itcl
18844 .PHONY: maybe-dvi-itcl dvi-itcl
18845 maybe-dvi-itcl:
18846 @if itcl
18847 maybe-dvi-itcl: dvi-itcl
18849 dvi-itcl: \
18850 configure-itcl
18851 @: $(MAKE); $(unstage)
18852 @[ -f ./itcl/Makefile ] || exit 0; \
18853 r=`${PWD_COMMAND}`; export r; \
18854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18855 $(HOST_EXPORTS) \
18856 for flag in $(EXTRA_HOST_FLAGS) ; do \
18857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18858 done; \
18859 echo "Doing dvi in itcl" ; \
18860 (cd $(HOST_SUBDIR)/itcl && \
18861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18863 "RANLIB=$${RANLIB}" \
18864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18865 dvi) \
18866 || exit 1
18868 @endif itcl
18870 .PHONY: maybe-pdf-itcl pdf-itcl
18871 maybe-pdf-itcl:
18872 @if itcl
18873 maybe-pdf-itcl: pdf-itcl
18875 pdf-itcl: \
18876 configure-itcl
18877 @: $(MAKE); $(unstage)
18878 @[ -f ./itcl/Makefile ] || exit 0; \
18879 r=`${PWD_COMMAND}`; export r; \
18880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18881 $(HOST_EXPORTS) \
18882 for flag in $(EXTRA_HOST_FLAGS) ; do \
18883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18884 done; \
18885 echo "Doing pdf in itcl" ; \
18886 (cd $(HOST_SUBDIR)/itcl && \
18887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18889 "RANLIB=$${RANLIB}" \
18890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18891 pdf) \
18892 || exit 1
18894 @endif itcl
18896 .PHONY: maybe-html-itcl html-itcl
18897 maybe-html-itcl:
18898 @if itcl
18899 maybe-html-itcl: html-itcl
18901 html-itcl: \
18902 configure-itcl
18903 @: $(MAKE); $(unstage)
18904 @[ -f ./itcl/Makefile ] || exit 0; \
18905 r=`${PWD_COMMAND}`; export r; \
18906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18907 $(HOST_EXPORTS) \
18908 for flag in $(EXTRA_HOST_FLAGS) ; do \
18909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18910 done; \
18911 echo "Doing html in itcl" ; \
18912 (cd $(HOST_SUBDIR)/itcl && \
18913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18915 "RANLIB=$${RANLIB}" \
18916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18917 html) \
18918 || exit 1
18920 @endif itcl
18922 .PHONY: maybe-TAGS-itcl TAGS-itcl
18923 maybe-TAGS-itcl:
18924 @if itcl
18925 maybe-TAGS-itcl: TAGS-itcl
18927 TAGS-itcl: \
18928 configure-itcl
18929 @: $(MAKE); $(unstage)
18930 @[ -f ./itcl/Makefile ] || exit 0; \
18931 r=`${PWD_COMMAND}`; export r; \
18932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18933 $(HOST_EXPORTS) \
18934 for flag in $(EXTRA_HOST_FLAGS) ; do \
18935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18936 done; \
18937 echo "Doing TAGS in itcl" ; \
18938 (cd $(HOST_SUBDIR)/itcl && \
18939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18941 "RANLIB=$${RANLIB}" \
18942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18943 TAGS) \
18944 || exit 1
18946 @endif itcl
18948 .PHONY: maybe-install-info-itcl install-info-itcl
18949 maybe-install-info-itcl:
18950 @if itcl
18951 maybe-install-info-itcl: install-info-itcl
18953 install-info-itcl: \
18954 configure-itcl \
18955 info-itcl
18956 @: $(MAKE); $(unstage)
18957 @[ -f ./itcl/Makefile ] || exit 0; \
18958 r=`${PWD_COMMAND}`; export r; \
18959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18960 $(HOST_EXPORTS) \
18961 for flag in $(EXTRA_HOST_FLAGS) ; do \
18962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18963 done; \
18964 echo "Doing install-info in itcl" ; \
18965 (cd $(HOST_SUBDIR)/itcl && \
18966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18968 "RANLIB=$${RANLIB}" \
18969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18970 install-info) \
18971 || exit 1
18973 @endif itcl
18975 .PHONY: maybe-install-pdf-itcl install-pdf-itcl
18976 maybe-install-pdf-itcl:
18977 @if itcl
18978 maybe-install-pdf-itcl: install-pdf-itcl
18980 install-pdf-itcl: \
18981 configure-itcl \
18982 pdf-itcl
18983 @: $(MAKE); $(unstage)
18984 @[ -f ./itcl/Makefile ] || exit 0; \
18985 r=`${PWD_COMMAND}`; export r; \
18986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18987 $(HOST_EXPORTS) \
18988 for flag in $(EXTRA_HOST_FLAGS) ; do \
18989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18990 done; \
18991 echo "Doing install-pdf in itcl" ; \
18992 (cd $(HOST_SUBDIR)/itcl && \
18993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18995 "RANLIB=$${RANLIB}" \
18996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18997 install-pdf) \
18998 || exit 1
19000 @endif itcl
19002 .PHONY: maybe-install-html-itcl install-html-itcl
19003 maybe-install-html-itcl:
19004 @if itcl
19005 maybe-install-html-itcl: install-html-itcl
19007 install-html-itcl: \
19008 configure-itcl \
19009 html-itcl
19010 @: $(MAKE); $(unstage)
19011 @[ -f ./itcl/Makefile ] || exit 0; \
19012 r=`${PWD_COMMAND}`; export r; \
19013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19014 $(HOST_EXPORTS) \
19015 for flag in $(EXTRA_HOST_FLAGS) ; do \
19016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19017 done; \
19018 echo "Doing install-html in itcl" ; \
19019 (cd $(HOST_SUBDIR)/itcl && \
19020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19022 "RANLIB=$${RANLIB}" \
19023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19024 install-html) \
19025 || exit 1
19027 @endif itcl
19029 .PHONY: maybe-installcheck-itcl installcheck-itcl
19030 maybe-installcheck-itcl:
19031 @if itcl
19032 maybe-installcheck-itcl: installcheck-itcl
19034 installcheck-itcl: \
19035 configure-itcl
19036 @: $(MAKE); $(unstage)
19037 @[ -f ./itcl/Makefile ] || exit 0; \
19038 r=`${PWD_COMMAND}`; export r; \
19039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19040 $(HOST_EXPORTS) \
19041 for flag in $(EXTRA_HOST_FLAGS) ; do \
19042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19043 done; \
19044 echo "Doing installcheck in itcl" ; \
19045 (cd $(HOST_SUBDIR)/itcl && \
19046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19048 "RANLIB=$${RANLIB}" \
19049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19050 installcheck) \
19051 || exit 1
19053 @endif itcl
19055 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
19056 maybe-mostlyclean-itcl:
19057 @if itcl
19058 maybe-mostlyclean-itcl: mostlyclean-itcl
19060 mostlyclean-itcl:
19061 @: $(MAKE); $(unstage)
19062 @[ -f ./itcl/Makefile ] || exit 0; \
19063 r=`${PWD_COMMAND}`; export r; \
19064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19065 $(HOST_EXPORTS) \
19066 for flag in $(EXTRA_HOST_FLAGS) ; do \
19067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19068 done; \
19069 echo "Doing mostlyclean in itcl" ; \
19070 (cd $(HOST_SUBDIR)/itcl && \
19071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19073 "RANLIB=$${RANLIB}" \
19074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19075 mostlyclean) \
19076 || exit 1
19078 @endif itcl
19080 .PHONY: maybe-clean-itcl clean-itcl
19081 maybe-clean-itcl:
19082 @if itcl
19083 maybe-clean-itcl: clean-itcl
19085 clean-itcl:
19086 @: $(MAKE); $(unstage)
19087 @[ -f ./itcl/Makefile ] || exit 0; \
19088 r=`${PWD_COMMAND}`; export r; \
19089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19090 $(HOST_EXPORTS) \
19091 for flag in $(EXTRA_HOST_FLAGS) ; do \
19092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19093 done; \
19094 echo "Doing clean in itcl" ; \
19095 (cd $(HOST_SUBDIR)/itcl && \
19096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19098 "RANLIB=$${RANLIB}" \
19099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19100 clean) \
19101 || exit 1
19103 @endif itcl
19105 .PHONY: maybe-distclean-itcl distclean-itcl
19106 maybe-distclean-itcl:
19107 @if itcl
19108 maybe-distclean-itcl: distclean-itcl
19110 distclean-itcl:
19111 @: $(MAKE); $(unstage)
19112 @[ -f ./itcl/Makefile ] || exit 0; \
19113 r=`${PWD_COMMAND}`; export r; \
19114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19115 $(HOST_EXPORTS) \
19116 for flag in $(EXTRA_HOST_FLAGS) ; do \
19117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19118 done; \
19119 echo "Doing distclean in itcl" ; \
19120 (cd $(HOST_SUBDIR)/itcl && \
19121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19123 "RANLIB=$${RANLIB}" \
19124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19125 distclean) \
19126 || exit 1
19128 @endif itcl
19130 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
19131 maybe-maintainer-clean-itcl:
19132 @if itcl
19133 maybe-maintainer-clean-itcl: maintainer-clean-itcl
19135 maintainer-clean-itcl:
19136 @: $(MAKE); $(unstage)
19137 @[ -f ./itcl/Makefile ] || exit 0; \
19138 r=`${PWD_COMMAND}`; export r; \
19139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19140 $(HOST_EXPORTS) \
19141 for flag in $(EXTRA_HOST_FLAGS) ; do \
19142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19143 done; \
19144 echo "Doing maintainer-clean in itcl" ; \
19145 (cd $(HOST_SUBDIR)/itcl && \
19146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19148 "RANLIB=$${RANLIB}" \
19149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19150 maintainer-clean) \
19151 || exit 1
19153 @endif itcl
19157 .PHONY: configure-ld maybe-configure-ld
19158 maybe-configure-ld:
19159 @if gcc-bootstrap
19160 configure-ld: stage_current
19161 @endif gcc-bootstrap
19162 @if ld
19163 maybe-configure-ld: configure-ld
19164 configure-ld:
19165 @r=`${PWD_COMMAND}`; export r; \
19166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19167 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
19168 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
19169 $(HOST_EXPORTS) \
19170 echo Configuring in $(HOST_SUBDIR)/ld; \
19171 cd "$(HOST_SUBDIR)/ld" || exit 1; \
19172 case $(srcdir) in \
19173 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19174 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
19175 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19176 esac; \
19177 module_srcdir=ld; \
19178 $(SHELL) \
19179 $$s/$$module_srcdir/configure \
19180 --srcdir=$${topdir}/$$module_srcdir \
19181 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19182 --target=${target_alias} \
19183 || exit 1
19184 @endif ld
19188 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
19189 maybe-configure-stage1-ld:
19190 @if ld-bootstrap
19191 maybe-configure-stage1-ld: configure-stage1-ld
19192 configure-stage1-ld:
19193 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19194 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
19195 @r=`${PWD_COMMAND}`; export r; \
19196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19197 TFLAGS="$(STAGE1_TFLAGS)"; \
19198 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
19199 $(HOST_EXPORTS) \
19200 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
19201 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
19202 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
19203 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
19204 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
19205 cd $(HOST_SUBDIR)/ld || exit 1; \
19206 case $(srcdir) in \
19207 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19208 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
19209 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19210 esac; \
19211 module_srcdir=ld; \
19212 $(SHELL) $$s/$$module_srcdir/configure \
19213 --srcdir=$${topdir}/$$module_srcdir \
19214 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19215 --target=${target_alias} \
19217 $(STAGE1_CONFIGURE_FLAGS)
19218 @endif ld-bootstrap
19220 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
19221 maybe-configure-stage2-ld:
19222 @if ld-bootstrap
19223 maybe-configure-stage2-ld: configure-stage2-ld
19224 configure-stage2-ld:
19225 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19226 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
19227 @r=`${PWD_COMMAND}`; export r; \
19228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19229 TFLAGS="$(STAGE2_TFLAGS)"; \
19230 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
19231 $(HOST_EXPORTS) \
19232 $(POSTSTAGE1_HOST_EXPORTS) \
19233 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
19234 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
19235 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
19236 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
19237 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
19238 cd $(HOST_SUBDIR)/ld || exit 1; \
19239 case $(srcdir) in \
19240 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19241 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
19242 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19243 esac; \
19244 module_srcdir=ld; \
19245 $(SHELL) $$s/$$module_srcdir/configure \
19246 --srcdir=$${topdir}/$$module_srcdir \
19247 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19248 --target=${target_alias} \
19249 --with-build-libsubdir=$(HOST_SUBDIR) \
19250 $(STAGE2_CONFIGURE_FLAGS)
19251 @endif ld-bootstrap
19253 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
19254 maybe-configure-stage3-ld:
19255 @if ld-bootstrap
19256 maybe-configure-stage3-ld: configure-stage3-ld
19257 configure-stage3-ld:
19258 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19259 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
19260 @r=`${PWD_COMMAND}`; export r; \
19261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19262 TFLAGS="$(STAGE3_TFLAGS)"; \
19263 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
19264 $(HOST_EXPORTS) \
19265 $(POSTSTAGE1_HOST_EXPORTS) \
19266 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
19267 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
19268 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
19269 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
19270 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
19271 cd $(HOST_SUBDIR)/ld || exit 1; \
19272 case $(srcdir) in \
19273 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19274 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
19275 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19276 esac; \
19277 module_srcdir=ld; \
19278 $(SHELL) $$s/$$module_srcdir/configure \
19279 --srcdir=$${topdir}/$$module_srcdir \
19280 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19281 --target=${target_alias} \
19282 --with-build-libsubdir=$(HOST_SUBDIR) \
19283 $(STAGE3_CONFIGURE_FLAGS)
19284 @endif ld-bootstrap
19286 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
19287 maybe-configure-stage4-ld:
19288 @if ld-bootstrap
19289 maybe-configure-stage4-ld: configure-stage4-ld
19290 configure-stage4-ld:
19291 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19292 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
19293 @r=`${PWD_COMMAND}`; export r; \
19294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19295 TFLAGS="$(STAGE4_TFLAGS)"; \
19296 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
19297 $(HOST_EXPORTS) \
19298 $(POSTSTAGE1_HOST_EXPORTS) \
19299 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
19300 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
19301 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
19302 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
19303 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
19304 cd $(HOST_SUBDIR)/ld || exit 1; \
19305 case $(srcdir) in \
19306 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19307 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
19308 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19309 esac; \
19310 module_srcdir=ld; \
19311 $(SHELL) $$s/$$module_srcdir/configure \
19312 --srcdir=$${topdir}/$$module_srcdir \
19313 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19314 --target=${target_alias} \
19315 --with-build-libsubdir=$(HOST_SUBDIR) \
19316 $(STAGE4_CONFIGURE_FLAGS)
19317 @endif ld-bootstrap
19319 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
19320 maybe-configure-stageprofile-ld:
19321 @if ld-bootstrap
19322 maybe-configure-stageprofile-ld: configure-stageprofile-ld
19323 configure-stageprofile-ld:
19324 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19325 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
19326 @r=`${PWD_COMMAND}`; export r; \
19327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19328 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19329 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
19330 $(HOST_EXPORTS) \
19331 $(POSTSTAGE1_HOST_EXPORTS) \
19332 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
19333 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
19334 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
19335 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
19336 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
19337 cd $(HOST_SUBDIR)/ld || exit 1; \
19338 case $(srcdir) in \
19339 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19340 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
19341 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19342 esac; \
19343 module_srcdir=ld; \
19344 $(SHELL) $$s/$$module_srcdir/configure \
19345 --srcdir=$${topdir}/$$module_srcdir \
19346 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19347 --target=${target_alias} \
19348 --with-build-libsubdir=$(HOST_SUBDIR) \
19349 $(STAGEprofile_CONFIGURE_FLAGS)
19350 @endif ld-bootstrap
19352 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
19353 maybe-configure-stagefeedback-ld:
19354 @if ld-bootstrap
19355 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
19356 configure-stagefeedback-ld:
19357 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19358 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
19359 @r=`${PWD_COMMAND}`; export r; \
19360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19361 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19362 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
19363 $(HOST_EXPORTS) \
19364 $(POSTSTAGE1_HOST_EXPORTS) \
19365 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
19366 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
19367 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
19368 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
19369 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
19370 cd $(HOST_SUBDIR)/ld || exit 1; \
19371 case $(srcdir) in \
19372 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19373 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
19374 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19375 esac; \
19376 module_srcdir=ld; \
19377 $(SHELL) $$s/$$module_srcdir/configure \
19378 --srcdir=$${topdir}/$$module_srcdir \
19379 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19380 --target=${target_alias} \
19381 --with-build-libsubdir=$(HOST_SUBDIR) \
19382 $(STAGEfeedback_CONFIGURE_FLAGS)
19383 @endif ld-bootstrap
19389 .PHONY: all-ld maybe-all-ld
19390 maybe-all-ld:
19391 @if gcc-bootstrap
19392 all-ld: stage_current
19393 @endif gcc-bootstrap
19394 @if ld
19395 TARGET-ld=all
19396 maybe-all-ld: all-ld
19397 all-ld: configure-ld
19398 @r=`${PWD_COMMAND}`; export r; \
19399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19400 $(HOST_EXPORTS) \
19401 (cd $(HOST_SUBDIR)/ld && \
19402 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
19403 $(TARGET-ld))
19404 @endif ld
19408 .PHONY: all-stage1-ld maybe-all-stage1-ld
19409 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
19410 maybe-all-stage1-ld:
19411 maybe-clean-stage1-ld:
19412 @if ld-bootstrap
19413 maybe-all-stage1-ld: all-stage1-ld
19414 all-stage1: all-stage1-ld
19415 TARGET-stage1-ld = $(TARGET-ld)
19416 all-stage1-ld: configure-stage1-ld
19417 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19418 @r=`${PWD_COMMAND}`; export r; \
19419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19420 TFLAGS="$(STAGE1_TFLAGS)"; \
19421 $(HOST_EXPORTS) \
19422 cd $(HOST_SUBDIR)/ld && \
19423 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19424 CFLAGS="$(STAGE1_CFLAGS)" \
19425 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
19426 LIBCFLAGS="$(LIBCFLAGS)" \
19427 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19428 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19429 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19430 $(EXTRA_HOST_FLAGS) \
19431 $(STAGE1_FLAGS_TO_PASS) \
19432 TFLAGS="$(STAGE1_TFLAGS)" \
19433 $(TARGET-stage1-ld)
19435 maybe-clean-stage1-ld: clean-stage1-ld
19436 clean-stage1: clean-stage1-ld
19437 clean-stage1-ld:
19438 @if [ $(current_stage) = stage1 ]; then \
19439 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19440 else \
19441 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
19442 $(MAKE) stage1-start; \
19443 fi; \
19444 cd $(HOST_SUBDIR)/ld && \
19445 $(MAKE) $(EXTRA_HOST_FLAGS) \
19446 $(STAGE1_FLAGS_TO_PASS) clean
19447 @endif ld-bootstrap
19450 .PHONY: all-stage2-ld maybe-all-stage2-ld
19451 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
19452 maybe-all-stage2-ld:
19453 maybe-clean-stage2-ld:
19454 @if ld-bootstrap
19455 maybe-all-stage2-ld: all-stage2-ld
19456 all-stage2: all-stage2-ld
19457 TARGET-stage2-ld = $(TARGET-ld)
19458 all-stage2-ld: configure-stage2-ld
19459 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19460 @r=`${PWD_COMMAND}`; export r; \
19461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19462 TFLAGS="$(STAGE2_TFLAGS)"; \
19463 $(HOST_EXPORTS) \
19464 $(POSTSTAGE1_HOST_EXPORTS) \
19465 cd $(HOST_SUBDIR)/ld && \
19466 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19467 CFLAGS="$(STAGE2_CFLAGS)" \
19468 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
19469 LIBCFLAGS="$(STAGE2_CFLAGS)" \
19470 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19471 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19472 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19473 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19474 TFLAGS="$(STAGE2_TFLAGS)" \
19475 $(TARGET-stage2-ld)
19477 maybe-clean-stage2-ld: clean-stage2-ld
19478 clean-stage2: clean-stage2-ld
19479 clean-stage2-ld:
19480 @if [ $(current_stage) = stage2 ]; then \
19481 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19482 else \
19483 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
19484 $(MAKE) stage2-start; \
19485 fi; \
19486 cd $(HOST_SUBDIR)/ld && \
19487 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19488 @endif ld-bootstrap
19491 .PHONY: all-stage3-ld maybe-all-stage3-ld
19492 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
19493 maybe-all-stage3-ld:
19494 maybe-clean-stage3-ld:
19495 @if ld-bootstrap
19496 maybe-all-stage3-ld: all-stage3-ld
19497 all-stage3: all-stage3-ld
19498 TARGET-stage3-ld = $(TARGET-ld)
19499 all-stage3-ld: configure-stage3-ld
19500 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19501 @r=`${PWD_COMMAND}`; export r; \
19502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19503 TFLAGS="$(STAGE3_TFLAGS)"; \
19504 $(HOST_EXPORTS) \
19505 $(POSTSTAGE1_HOST_EXPORTS) \
19506 cd $(HOST_SUBDIR)/ld && \
19507 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19508 CFLAGS="$(STAGE3_CFLAGS)" \
19509 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
19510 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19511 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19512 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19513 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19514 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19515 TFLAGS="$(STAGE3_TFLAGS)" \
19516 $(TARGET-stage3-ld)
19518 maybe-clean-stage3-ld: clean-stage3-ld
19519 clean-stage3: clean-stage3-ld
19520 clean-stage3-ld:
19521 @if [ $(current_stage) = stage3 ]; then \
19522 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19523 else \
19524 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
19525 $(MAKE) stage3-start; \
19526 fi; \
19527 cd $(HOST_SUBDIR)/ld && \
19528 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19529 @endif ld-bootstrap
19532 .PHONY: all-stage4-ld maybe-all-stage4-ld
19533 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
19534 maybe-all-stage4-ld:
19535 maybe-clean-stage4-ld:
19536 @if ld-bootstrap
19537 maybe-all-stage4-ld: all-stage4-ld
19538 all-stage4: all-stage4-ld
19539 TARGET-stage4-ld = $(TARGET-ld)
19540 all-stage4-ld: configure-stage4-ld
19541 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19542 @r=`${PWD_COMMAND}`; export r; \
19543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19544 TFLAGS="$(STAGE4_TFLAGS)"; \
19545 $(HOST_EXPORTS) \
19546 $(POSTSTAGE1_HOST_EXPORTS) \
19547 cd $(HOST_SUBDIR)/ld && \
19548 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19549 CFLAGS="$(STAGE4_CFLAGS)" \
19550 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19551 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19552 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19553 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19554 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19555 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19556 TFLAGS="$(STAGE4_TFLAGS)" \
19557 $(TARGET-stage4-ld)
19559 maybe-clean-stage4-ld: clean-stage4-ld
19560 clean-stage4: clean-stage4-ld
19561 clean-stage4-ld:
19562 @if [ $(current_stage) = stage4 ]; then \
19563 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19564 else \
19565 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
19566 $(MAKE) stage4-start; \
19567 fi; \
19568 cd $(HOST_SUBDIR)/ld && \
19569 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19570 @endif ld-bootstrap
19573 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
19574 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
19575 maybe-all-stageprofile-ld:
19576 maybe-clean-stageprofile-ld:
19577 @if ld-bootstrap
19578 maybe-all-stageprofile-ld: all-stageprofile-ld
19579 all-stageprofile: all-stageprofile-ld
19580 TARGET-stageprofile-ld = $(TARGET-ld)
19581 all-stageprofile-ld: configure-stageprofile-ld
19582 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19583 @r=`${PWD_COMMAND}`; export r; \
19584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19585 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19586 $(HOST_EXPORTS) \
19587 $(POSTSTAGE1_HOST_EXPORTS) \
19588 cd $(HOST_SUBDIR)/ld && \
19589 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19590 CFLAGS="$(STAGEprofile_CFLAGS)" \
19591 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
19592 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
19593 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19594 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19595 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19596 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19597 TFLAGS="$(STAGEprofile_TFLAGS)" \
19598 $(TARGET-stageprofile-ld)
19600 maybe-clean-stageprofile-ld: clean-stageprofile-ld
19601 clean-stageprofile: clean-stageprofile-ld
19602 clean-stageprofile-ld:
19603 @if [ $(current_stage) = stageprofile ]; then \
19604 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19605 else \
19606 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
19607 $(MAKE) stageprofile-start; \
19608 fi; \
19609 cd $(HOST_SUBDIR)/ld && \
19610 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19611 @endif ld-bootstrap
19614 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
19615 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
19616 maybe-all-stagefeedback-ld:
19617 maybe-clean-stagefeedback-ld:
19618 @if ld-bootstrap
19619 maybe-all-stagefeedback-ld: all-stagefeedback-ld
19620 all-stagefeedback: all-stagefeedback-ld
19621 TARGET-stagefeedback-ld = $(TARGET-ld)
19622 all-stagefeedback-ld: configure-stagefeedback-ld
19623 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19624 @r=`${PWD_COMMAND}`; export r; \
19625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19626 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19627 $(HOST_EXPORTS) \
19628 $(POSTSTAGE1_HOST_EXPORTS) \
19629 cd $(HOST_SUBDIR)/ld && \
19630 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19631 CFLAGS="$(STAGEfeedback_CFLAGS)" \
19632 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
19633 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
19634 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19635 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19636 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19637 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19638 TFLAGS="$(STAGEfeedback_TFLAGS)" \
19639 $(TARGET-stagefeedback-ld)
19641 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
19642 clean-stagefeedback: clean-stagefeedback-ld
19643 clean-stagefeedback-ld:
19644 @if [ $(current_stage) = stagefeedback ]; then \
19645 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19646 else \
19647 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
19648 $(MAKE) stagefeedback-start; \
19649 fi; \
19650 cd $(HOST_SUBDIR)/ld && \
19651 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19652 @endif ld-bootstrap
19658 .PHONY: check-ld maybe-check-ld
19659 maybe-check-ld:
19660 @if ld
19661 maybe-check-ld: check-ld
19663 check-ld:
19664 @: $(MAKE); $(unstage)
19665 @r=`${PWD_COMMAND}`; export r; \
19666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19667 $(HOST_EXPORTS) \
19668 (cd $(HOST_SUBDIR)/ld && \
19669 $(MAKE) $(FLAGS_TO_PASS) check)
19671 @endif ld
19673 .PHONY: install-ld maybe-install-ld
19674 maybe-install-ld:
19675 @if ld
19676 maybe-install-ld: install-ld
19678 install-ld: installdirs
19679 @: $(MAKE); $(unstage)
19680 @r=`${PWD_COMMAND}`; export r; \
19681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19682 $(HOST_EXPORTS) \
19683 (cd $(HOST_SUBDIR)/ld && \
19684 $(MAKE) $(FLAGS_TO_PASS) install)
19686 @endif ld
19688 .PHONY: install-strip-ld maybe-install-strip-ld
19689 maybe-install-strip-ld:
19690 @if ld
19691 maybe-install-strip-ld: install-strip-ld
19693 install-strip-ld: installdirs
19694 @: $(MAKE); $(unstage)
19695 @r=`${PWD_COMMAND}`; export r; \
19696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19697 $(HOST_EXPORTS) \
19698 (cd $(HOST_SUBDIR)/ld && \
19699 $(MAKE) $(FLAGS_TO_PASS) install-strip)
19701 @endif ld
19703 # Other targets (info, dvi, pdf, etc.)
19705 .PHONY: maybe-info-ld info-ld
19706 maybe-info-ld:
19707 @if ld
19708 maybe-info-ld: info-ld
19710 info-ld: \
19711 configure-ld
19712 @[ -f ./ld/Makefile ] || exit 0; \
19713 r=`${PWD_COMMAND}`; export r; \
19714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19715 $(HOST_EXPORTS) \
19716 for flag in $(EXTRA_HOST_FLAGS) ; do \
19717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19718 done; \
19719 echo "Doing info in ld" ; \
19720 (cd $(HOST_SUBDIR)/ld && \
19721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19723 "RANLIB=$${RANLIB}" \
19724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19725 info) \
19726 || exit 1
19728 @endif ld
19730 .PHONY: maybe-dvi-ld dvi-ld
19731 maybe-dvi-ld:
19732 @if ld
19733 maybe-dvi-ld: dvi-ld
19735 dvi-ld: \
19736 configure-ld
19737 @[ -f ./ld/Makefile ] || exit 0; \
19738 r=`${PWD_COMMAND}`; export r; \
19739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19740 $(HOST_EXPORTS) \
19741 for flag in $(EXTRA_HOST_FLAGS) ; do \
19742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19743 done; \
19744 echo "Doing dvi in ld" ; \
19745 (cd $(HOST_SUBDIR)/ld && \
19746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19748 "RANLIB=$${RANLIB}" \
19749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19750 dvi) \
19751 || exit 1
19753 @endif ld
19755 .PHONY: maybe-pdf-ld pdf-ld
19756 maybe-pdf-ld:
19757 @if ld
19758 maybe-pdf-ld: pdf-ld
19760 pdf-ld: \
19761 configure-ld
19762 @[ -f ./ld/Makefile ] || exit 0; \
19763 r=`${PWD_COMMAND}`; export r; \
19764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19765 $(HOST_EXPORTS) \
19766 for flag in $(EXTRA_HOST_FLAGS) ; do \
19767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19768 done; \
19769 echo "Doing pdf in ld" ; \
19770 (cd $(HOST_SUBDIR)/ld && \
19771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19773 "RANLIB=$${RANLIB}" \
19774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19775 pdf) \
19776 || exit 1
19778 @endif ld
19780 .PHONY: maybe-html-ld html-ld
19781 maybe-html-ld:
19782 @if ld
19783 maybe-html-ld: html-ld
19785 html-ld: \
19786 configure-ld
19787 @[ -f ./ld/Makefile ] || exit 0; \
19788 r=`${PWD_COMMAND}`; export r; \
19789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19790 $(HOST_EXPORTS) \
19791 for flag in $(EXTRA_HOST_FLAGS) ; do \
19792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19793 done; \
19794 echo "Doing html in ld" ; \
19795 (cd $(HOST_SUBDIR)/ld && \
19796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19798 "RANLIB=$${RANLIB}" \
19799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19800 html) \
19801 || exit 1
19803 @endif ld
19805 .PHONY: maybe-TAGS-ld TAGS-ld
19806 maybe-TAGS-ld:
19807 @if ld
19808 maybe-TAGS-ld: TAGS-ld
19810 TAGS-ld: \
19811 configure-ld
19812 @[ -f ./ld/Makefile ] || exit 0; \
19813 r=`${PWD_COMMAND}`; export r; \
19814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19815 $(HOST_EXPORTS) \
19816 for flag in $(EXTRA_HOST_FLAGS) ; do \
19817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19818 done; \
19819 echo "Doing TAGS in ld" ; \
19820 (cd $(HOST_SUBDIR)/ld && \
19821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19823 "RANLIB=$${RANLIB}" \
19824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19825 TAGS) \
19826 || exit 1
19828 @endif ld
19830 .PHONY: maybe-install-info-ld install-info-ld
19831 maybe-install-info-ld:
19832 @if ld
19833 maybe-install-info-ld: install-info-ld
19835 install-info-ld: \
19836 configure-ld \
19837 info-ld
19838 @[ -f ./ld/Makefile ] || exit 0; \
19839 r=`${PWD_COMMAND}`; export r; \
19840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19841 $(HOST_EXPORTS) \
19842 for flag in $(EXTRA_HOST_FLAGS) ; do \
19843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19844 done; \
19845 echo "Doing install-info in ld" ; \
19846 (cd $(HOST_SUBDIR)/ld && \
19847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19849 "RANLIB=$${RANLIB}" \
19850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19851 install-info) \
19852 || exit 1
19854 @endif ld
19856 .PHONY: maybe-install-pdf-ld install-pdf-ld
19857 maybe-install-pdf-ld:
19858 @if ld
19859 maybe-install-pdf-ld: install-pdf-ld
19861 install-pdf-ld: \
19862 configure-ld \
19863 pdf-ld
19864 @[ -f ./ld/Makefile ] || exit 0; \
19865 r=`${PWD_COMMAND}`; export r; \
19866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19867 $(HOST_EXPORTS) \
19868 for flag in $(EXTRA_HOST_FLAGS) ; do \
19869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19870 done; \
19871 echo "Doing install-pdf in ld" ; \
19872 (cd $(HOST_SUBDIR)/ld && \
19873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19875 "RANLIB=$${RANLIB}" \
19876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19877 install-pdf) \
19878 || exit 1
19880 @endif ld
19882 .PHONY: maybe-install-html-ld install-html-ld
19883 maybe-install-html-ld:
19884 @if ld
19885 maybe-install-html-ld: install-html-ld
19887 install-html-ld: \
19888 configure-ld \
19889 html-ld
19890 @[ -f ./ld/Makefile ] || exit 0; \
19891 r=`${PWD_COMMAND}`; export r; \
19892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19893 $(HOST_EXPORTS) \
19894 for flag in $(EXTRA_HOST_FLAGS) ; do \
19895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19896 done; \
19897 echo "Doing install-html in ld" ; \
19898 (cd $(HOST_SUBDIR)/ld && \
19899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19901 "RANLIB=$${RANLIB}" \
19902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19903 install-html) \
19904 || exit 1
19906 @endif ld
19908 .PHONY: maybe-installcheck-ld installcheck-ld
19909 maybe-installcheck-ld:
19910 @if ld
19911 maybe-installcheck-ld: installcheck-ld
19913 installcheck-ld: \
19914 configure-ld
19915 @[ -f ./ld/Makefile ] || exit 0; \
19916 r=`${PWD_COMMAND}`; export r; \
19917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19918 $(HOST_EXPORTS) \
19919 for flag in $(EXTRA_HOST_FLAGS) ; do \
19920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19921 done; \
19922 echo "Doing installcheck in ld" ; \
19923 (cd $(HOST_SUBDIR)/ld && \
19924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19926 "RANLIB=$${RANLIB}" \
19927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19928 installcheck) \
19929 || exit 1
19931 @endif ld
19933 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
19934 maybe-mostlyclean-ld:
19935 @if ld
19936 maybe-mostlyclean-ld: mostlyclean-ld
19938 mostlyclean-ld:
19939 @[ -f ./ld/Makefile ] || exit 0; \
19940 r=`${PWD_COMMAND}`; export r; \
19941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19942 $(HOST_EXPORTS) \
19943 for flag in $(EXTRA_HOST_FLAGS) ; do \
19944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19945 done; \
19946 echo "Doing mostlyclean in ld" ; \
19947 (cd $(HOST_SUBDIR)/ld && \
19948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19950 "RANLIB=$${RANLIB}" \
19951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19952 mostlyclean) \
19953 || exit 1
19955 @endif ld
19957 .PHONY: maybe-clean-ld clean-ld
19958 maybe-clean-ld:
19959 @if ld
19960 maybe-clean-ld: clean-ld
19962 clean-ld:
19963 @[ -f ./ld/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 clean in ld" ; \
19971 (cd $(HOST_SUBDIR)/ld && \
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 clean) \
19977 || exit 1
19979 @endif ld
19981 .PHONY: maybe-distclean-ld distclean-ld
19982 maybe-distclean-ld:
19983 @if ld
19984 maybe-distclean-ld: distclean-ld
19986 distclean-ld:
19987 @[ -f ./ld/Makefile ] || exit 0; \
19988 r=`${PWD_COMMAND}`; export r; \
19989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19990 $(HOST_EXPORTS) \
19991 for flag in $(EXTRA_HOST_FLAGS) ; do \
19992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19993 done; \
19994 echo "Doing distclean in ld" ; \
19995 (cd $(HOST_SUBDIR)/ld && \
19996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19998 "RANLIB=$${RANLIB}" \
19999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20000 distclean) \
20001 || exit 1
20003 @endif ld
20005 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
20006 maybe-maintainer-clean-ld:
20007 @if ld
20008 maybe-maintainer-clean-ld: maintainer-clean-ld
20010 maintainer-clean-ld:
20011 @[ -f ./ld/Makefile ] || exit 0; \
20012 r=`${PWD_COMMAND}`; export r; \
20013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20014 $(HOST_EXPORTS) \
20015 for flag in $(EXTRA_HOST_FLAGS) ; do \
20016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20017 done; \
20018 echo "Doing maintainer-clean in ld" ; \
20019 (cd $(HOST_SUBDIR)/ld && \
20020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20022 "RANLIB=$${RANLIB}" \
20023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20024 maintainer-clean) \
20025 || exit 1
20027 @endif ld
20031 .PHONY: configure-libbacktrace maybe-configure-libbacktrace
20032 maybe-configure-libbacktrace:
20033 @if gcc-bootstrap
20034 configure-libbacktrace: stage_current
20035 @endif gcc-bootstrap
20036 @if libbacktrace
20037 maybe-configure-libbacktrace: configure-libbacktrace
20038 configure-libbacktrace:
20039 @r=`${PWD_COMMAND}`; export r; \
20040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20041 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
20042 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
20043 $(HOST_EXPORTS) \
20044 echo Configuring in $(HOST_SUBDIR)/libbacktrace; \
20045 cd "$(HOST_SUBDIR)/libbacktrace" || exit 1; \
20046 case $(srcdir) in \
20047 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20048 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
20049 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20050 esac; \
20051 module_srcdir=libbacktrace; \
20052 $(SHELL) \
20053 $$s/$$module_srcdir/configure \
20054 --srcdir=$${topdir}/$$module_srcdir \
20055 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20056 --target=${target_alias} \
20057 || exit 1
20058 @endif libbacktrace
20062 .PHONY: configure-stage1-libbacktrace maybe-configure-stage1-libbacktrace
20063 maybe-configure-stage1-libbacktrace:
20064 @if libbacktrace-bootstrap
20065 maybe-configure-stage1-libbacktrace: configure-stage1-libbacktrace
20066 configure-stage1-libbacktrace:
20067 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20068 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
20069 @r=`${PWD_COMMAND}`; export r; \
20070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20071 TFLAGS="$(STAGE1_TFLAGS)"; \
20072 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
20073 $(HOST_EXPORTS) \
20074 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
20075 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
20076 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
20077 echo Configuring stage 1 in $(HOST_SUBDIR)/libbacktrace ; \
20078 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
20079 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
20080 case $(srcdir) in \
20081 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20082 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
20083 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20084 esac; \
20085 module_srcdir=libbacktrace; \
20086 $(SHELL) $$s/$$module_srcdir/configure \
20087 --srcdir=$${topdir}/$$module_srcdir \
20088 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20089 --target=${target_alias} \
20091 $(STAGE1_CONFIGURE_FLAGS)
20092 @endif libbacktrace-bootstrap
20094 .PHONY: configure-stage2-libbacktrace maybe-configure-stage2-libbacktrace
20095 maybe-configure-stage2-libbacktrace:
20096 @if libbacktrace-bootstrap
20097 maybe-configure-stage2-libbacktrace: configure-stage2-libbacktrace
20098 configure-stage2-libbacktrace:
20099 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20100 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
20101 @r=`${PWD_COMMAND}`; export r; \
20102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20103 TFLAGS="$(STAGE2_TFLAGS)"; \
20104 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
20105 $(HOST_EXPORTS) \
20106 $(POSTSTAGE1_HOST_EXPORTS) \
20107 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
20108 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
20109 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
20110 echo Configuring stage 2 in $(HOST_SUBDIR)/libbacktrace ; \
20111 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
20112 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
20113 case $(srcdir) in \
20114 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20115 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
20116 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20117 esac; \
20118 module_srcdir=libbacktrace; \
20119 $(SHELL) $$s/$$module_srcdir/configure \
20120 --srcdir=$${topdir}/$$module_srcdir \
20121 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20122 --target=${target_alias} \
20123 --with-build-libsubdir=$(HOST_SUBDIR) \
20124 $(STAGE2_CONFIGURE_FLAGS)
20125 @endif libbacktrace-bootstrap
20127 .PHONY: configure-stage3-libbacktrace maybe-configure-stage3-libbacktrace
20128 maybe-configure-stage3-libbacktrace:
20129 @if libbacktrace-bootstrap
20130 maybe-configure-stage3-libbacktrace: configure-stage3-libbacktrace
20131 configure-stage3-libbacktrace:
20132 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20133 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
20134 @r=`${PWD_COMMAND}`; export r; \
20135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20136 TFLAGS="$(STAGE3_TFLAGS)"; \
20137 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
20138 $(HOST_EXPORTS) \
20139 $(POSTSTAGE1_HOST_EXPORTS) \
20140 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
20141 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
20142 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
20143 echo Configuring stage 3 in $(HOST_SUBDIR)/libbacktrace ; \
20144 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
20145 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
20146 case $(srcdir) in \
20147 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20148 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
20149 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20150 esac; \
20151 module_srcdir=libbacktrace; \
20152 $(SHELL) $$s/$$module_srcdir/configure \
20153 --srcdir=$${topdir}/$$module_srcdir \
20154 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20155 --target=${target_alias} \
20156 --with-build-libsubdir=$(HOST_SUBDIR) \
20157 $(STAGE3_CONFIGURE_FLAGS)
20158 @endif libbacktrace-bootstrap
20160 .PHONY: configure-stage4-libbacktrace maybe-configure-stage4-libbacktrace
20161 maybe-configure-stage4-libbacktrace:
20162 @if libbacktrace-bootstrap
20163 maybe-configure-stage4-libbacktrace: configure-stage4-libbacktrace
20164 configure-stage4-libbacktrace:
20165 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20166 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
20167 @r=`${PWD_COMMAND}`; export r; \
20168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20169 TFLAGS="$(STAGE4_TFLAGS)"; \
20170 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
20171 $(HOST_EXPORTS) \
20172 $(POSTSTAGE1_HOST_EXPORTS) \
20173 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
20174 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
20175 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
20176 echo Configuring stage 4 in $(HOST_SUBDIR)/libbacktrace ; \
20177 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
20178 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
20179 case $(srcdir) in \
20180 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20181 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
20182 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20183 esac; \
20184 module_srcdir=libbacktrace; \
20185 $(SHELL) $$s/$$module_srcdir/configure \
20186 --srcdir=$${topdir}/$$module_srcdir \
20187 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20188 --target=${target_alias} \
20189 --with-build-libsubdir=$(HOST_SUBDIR) \
20190 $(STAGE4_CONFIGURE_FLAGS)
20191 @endif libbacktrace-bootstrap
20193 .PHONY: configure-stageprofile-libbacktrace maybe-configure-stageprofile-libbacktrace
20194 maybe-configure-stageprofile-libbacktrace:
20195 @if libbacktrace-bootstrap
20196 maybe-configure-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
20197 configure-stageprofile-libbacktrace:
20198 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20199 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
20200 @r=`${PWD_COMMAND}`; export r; \
20201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20202 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20203 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
20204 $(HOST_EXPORTS) \
20205 $(POSTSTAGE1_HOST_EXPORTS) \
20206 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
20207 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
20208 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
20209 echo Configuring stage profile in $(HOST_SUBDIR)/libbacktrace ; \
20210 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
20211 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
20212 case $(srcdir) in \
20213 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20214 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
20215 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20216 esac; \
20217 module_srcdir=libbacktrace; \
20218 $(SHELL) $$s/$$module_srcdir/configure \
20219 --srcdir=$${topdir}/$$module_srcdir \
20220 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20221 --target=${target_alias} \
20222 --with-build-libsubdir=$(HOST_SUBDIR) \
20223 $(STAGEprofile_CONFIGURE_FLAGS)
20224 @endif libbacktrace-bootstrap
20226 .PHONY: configure-stagefeedback-libbacktrace maybe-configure-stagefeedback-libbacktrace
20227 maybe-configure-stagefeedback-libbacktrace:
20228 @if libbacktrace-bootstrap
20229 maybe-configure-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
20230 configure-stagefeedback-libbacktrace:
20231 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20232 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
20233 @r=`${PWD_COMMAND}`; export r; \
20234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20235 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20236 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
20237 $(HOST_EXPORTS) \
20238 $(POSTSTAGE1_HOST_EXPORTS) \
20239 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
20240 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
20241 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
20242 echo Configuring stage feedback in $(HOST_SUBDIR)/libbacktrace ; \
20243 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
20244 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
20245 case $(srcdir) in \
20246 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20247 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
20248 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20249 esac; \
20250 module_srcdir=libbacktrace; \
20251 $(SHELL) $$s/$$module_srcdir/configure \
20252 --srcdir=$${topdir}/$$module_srcdir \
20253 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20254 --target=${target_alias} \
20255 --with-build-libsubdir=$(HOST_SUBDIR) \
20256 $(STAGEfeedback_CONFIGURE_FLAGS)
20257 @endif libbacktrace-bootstrap
20263 .PHONY: all-libbacktrace maybe-all-libbacktrace
20264 maybe-all-libbacktrace:
20265 @if gcc-bootstrap
20266 all-libbacktrace: stage_current
20267 @endif gcc-bootstrap
20268 @if libbacktrace
20269 TARGET-libbacktrace=all
20270 maybe-all-libbacktrace: all-libbacktrace
20271 all-libbacktrace: configure-libbacktrace
20272 @r=`${PWD_COMMAND}`; export r; \
20273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20274 $(HOST_EXPORTS) \
20275 (cd $(HOST_SUBDIR)/libbacktrace && \
20276 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
20277 $(TARGET-libbacktrace))
20278 @endif libbacktrace
20282 .PHONY: all-stage1-libbacktrace maybe-all-stage1-libbacktrace
20283 .PHONY: clean-stage1-libbacktrace maybe-clean-stage1-libbacktrace
20284 maybe-all-stage1-libbacktrace:
20285 maybe-clean-stage1-libbacktrace:
20286 @if libbacktrace-bootstrap
20287 maybe-all-stage1-libbacktrace: all-stage1-libbacktrace
20288 all-stage1: all-stage1-libbacktrace
20289 TARGET-stage1-libbacktrace = $(TARGET-libbacktrace)
20290 all-stage1-libbacktrace: configure-stage1-libbacktrace
20291 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20292 @r=`${PWD_COMMAND}`; export r; \
20293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20294 TFLAGS="$(STAGE1_TFLAGS)"; \
20295 $(HOST_EXPORTS) \
20296 cd $(HOST_SUBDIR)/libbacktrace && \
20297 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20298 CFLAGS="$(STAGE1_CFLAGS)" \
20299 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
20300 LIBCFLAGS="$(LIBCFLAGS)" \
20301 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20302 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20303 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20304 $(EXTRA_HOST_FLAGS) \
20305 $(STAGE1_FLAGS_TO_PASS) \
20306 TFLAGS="$(STAGE1_TFLAGS)" \
20307 $(TARGET-stage1-libbacktrace)
20309 maybe-clean-stage1-libbacktrace: clean-stage1-libbacktrace
20310 clean-stage1: clean-stage1-libbacktrace
20311 clean-stage1-libbacktrace:
20312 @if [ $(current_stage) = stage1 ]; then \
20313 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
20314 else \
20315 [ -f $(HOST_SUBDIR)/stage1-libbacktrace/Makefile ] || exit 0; \
20316 $(MAKE) stage1-start; \
20317 fi; \
20318 cd $(HOST_SUBDIR)/libbacktrace && \
20319 $(MAKE) $(EXTRA_HOST_FLAGS) \
20320 $(STAGE1_FLAGS_TO_PASS) clean
20321 @endif libbacktrace-bootstrap
20324 .PHONY: all-stage2-libbacktrace maybe-all-stage2-libbacktrace
20325 .PHONY: clean-stage2-libbacktrace maybe-clean-stage2-libbacktrace
20326 maybe-all-stage2-libbacktrace:
20327 maybe-clean-stage2-libbacktrace:
20328 @if libbacktrace-bootstrap
20329 maybe-all-stage2-libbacktrace: all-stage2-libbacktrace
20330 all-stage2: all-stage2-libbacktrace
20331 TARGET-stage2-libbacktrace = $(TARGET-libbacktrace)
20332 all-stage2-libbacktrace: configure-stage2-libbacktrace
20333 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20334 @r=`${PWD_COMMAND}`; export r; \
20335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20336 TFLAGS="$(STAGE2_TFLAGS)"; \
20337 $(HOST_EXPORTS) \
20338 $(POSTSTAGE1_HOST_EXPORTS) \
20339 cd $(HOST_SUBDIR)/libbacktrace && \
20340 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20341 CFLAGS="$(STAGE2_CFLAGS)" \
20342 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
20343 LIBCFLAGS="$(STAGE2_CFLAGS)" \
20344 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20345 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20346 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20347 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20348 TFLAGS="$(STAGE2_TFLAGS)" \
20349 $(TARGET-stage2-libbacktrace)
20351 maybe-clean-stage2-libbacktrace: clean-stage2-libbacktrace
20352 clean-stage2: clean-stage2-libbacktrace
20353 clean-stage2-libbacktrace:
20354 @if [ $(current_stage) = stage2 ]; then \
20355 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
20356 else \
20357 [ -f $(HOST_SUBDIR)/stage2-libbacktrace/Makefile ] || exit 0; \
20358 $(MAKE) stage2-start; \
20359 fi; \
20360 cd $(HOST_SUBDIR)/libbacktrace && \
20361 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20362 @endif libbacktrace-bootstrap
20365 .PHONY: all-stage3-libbacktrace maybe-all-stage3-libbacktrace
20366 .PHONY: clean-stage3-libbacktrace maybe-clean-stage3-libbacktrace
20367 maybe-all-stage3-libbacktrace:
20368 maybe-clean-stage3-libbacktrace:
20369 @if libbacktrace-bootstrap
20370 maybe-all-stage3-libbacktrace: all-stage3-libbacktrace
20371 all-stage3: all-stage3-libbacktrace
20372 TARGET-stage3-libbacktrace = $(TARGET-libbacktrace)
20373 all-stage3-libbacktrace: configure-stage3-libbacktrace
20374 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20375 @r=`${PWD_COMMAND}`; export r; \
20376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20377 TFLAGS="$(STAGE3_TFLAGS)"; \
20378 $(HOST_EXPORTS) \
20379 $(POSTSTAGE1_HOST_EXPORTS) \
20380 cd $(HOST_SUBDIR)/libbacktrace && \
20381 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20382 CFLAGS="$(STAGE3_CFLAGS)" \
20383 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
20384 LIBCFLAGS="$(STAGE3_CFLAGS)" \
20385 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20386 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20387 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20388 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20389 TFLAGS="$(STAGE3_TFLAGS)" \
20390 $(TARGET-stage3-libbacktrace)
20392 maybe-clean-stage3-libbacktrace: clean-stage3-libbacktrace
20393 clean-stage3: clean-stage3-libbacktrace
20394 clean-stage3-libbacktrace:
20395 @if [ $(current_stage) = stage3 ]; then \
20396 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
20397 else \
20398 [ -f $(HOST_SUBDIR)/stage3-libbacktrace/Makefile ] || exit 0; \
20399 $(MAKE) stage3-start; \
20400 fi; \
20401 cd $(HOST_SUBDIR)/libbacktrace && \
20402 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20403 @endif libbacktrace-bootstrap
20406 .PHONY: all-stage4-libbacktrace maybe-all-stage4-libbacktrace
20407 .PHONY: clean-stage4-libbacktrace maybe-clean-stage4-libbacktrace
20408 maybe-all-stage4-libbacktrace:
20409 maybe-clean-stage4-libbacktrace:
20410 @if libbacktrace-bootstrap
20411 maybe-all-stage4-libbacktrace: all-stage4-libbacktrace
20412 all-stage4: all-stage4-libbacktrace
20413 TARGET-stage4-libbacktrace = $(TARGET-libbacktrace)
20414 all-stage4-libbacktrace: configure-stage4-libbacktrace
20415 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20416 @r=`${PWD_COMMAND}`; export r; \
20417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20418 TFLAGS="$(STAGE4_TFLAGS)"; \
20419 $(HOST_EXPORTS) \
20420 $(POSTSTAGE1_HOST_EXPORTS) \
20421 cd $(HOST_SUBDIR)/libbacktrace && \
20422 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20423 CFLAGS="$(STAGE4_CFLAGS)" \
20424 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
20425 LIBCFLAGS="$(STAGE4_CFLAGS)" \
20426 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20427 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20428 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20429 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20430 TFLAGS="$(STAGE4_TFLAGS)" \
20431 $(TARGET-stage4-libbacktrace)
20433 maybe-clean-stage4-libbacktrace: clean-stage4-libbacktrace
20434 clean-stage4: clean-stage4-libbacktrace
20435 clean-stage4-libbacktrace:
20436 @if [ $(current_stage) = stage4 ]; then \
20437 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
20438 else \
20439 [ -f $(HOST_SUBDIR)/stage4-libbacktrace/Makefile ] || exit 0; \
20440 $(MAKE) stage4-start; \
20441 fi; \
20442 cd $(HOST_SUBDIR)/libbacktrace && \
20443 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20444 @endif libbacktrace-bootstrap
20447 .PHONY: all-stageprofile-libbacktrace maybe-all-stageprofile-libbacktrace
20448 .PHONY: clean-stageprofile-libbacktrace maybe-clean-stageprofile-libbacktrace
20449 maybe-all-stageprofile-libbacktrace:
20450 maybe-clean-stageprofile-libbacktrace:
20451 @if libbacktrace-bootstrap
20452 maybe-all-stageprofile-libbacktrace: all-stageprofile-libbacktrace
20453 all-stageprofile: all-stageprofile-libbacktrace
20454 TARGET-stageprofile-libbacktrace = $(TARGET-libbacktrace)
20455 all-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
20456 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20457 @r=`${PWD_COMMAND}`; export r; \
20458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20459 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20460 $(HOST_EXPORTS) \
20461 $(POSTSTAGE1_HOST_EXPORTS) \
20462 cd $(HOST_SUBDIR)/libbacktrace && \
20463 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20464 CFLAGS="$(STAGEprofile_CFLAGS)" \
20465 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
20466 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
20467 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20468 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20469 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20470 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20471 TFLAGS="$(STAGEprofile_TFLAGS)" \
20472 $(TARGET-stageprofile-libbacktrace)
20474 maybe-clean-stageprofile-libbacktrace: clean-stageprofile-libbacktrace
20475 clean-stageprofile: clean-stageprofile-libbacktrace
20476 clean-stageprofile-libbacktrace:
20477 @if [ $(current_stage) = stageprofile ]; then \
20478 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
20479 else \
20480 [ -f $(HOST_SUBDIR)/stageprofile-libbacktrace/Makefile ] || exit 0; \
20481 $(MAKE) stageprofile-start; \
20482 fi; \
20483 cd $(HOST_SUBDIR)/libbacktrace && \
20484 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20485 @endif libbacktrace-bootstrap
20488 .PHONY: all-stagefeedback-libbacktrace maybe-all-stagefeedback-libbacktrace
20489 .PHONY: clean-stagefeedback-libbacktrace maybe-clean-stagefeedback-libbacktrace
20490 maybe-all-stagefeedback-libbacktrace:
20491 maybe-clean-stagefeedback-libbacktrace:
20492 @if libbacktrace-bootstrap
20493 maybe-all-stagefeedback-libbacktrace: all-stagefeedback-libbacktrace
20494 all-stagefeedback: all-stagefeedback-libbacktrace
20495 TARGET-stagefeedback-libbacktrace = $(TARGET-libbacktrace)
20496 all-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
20497 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20498 @r=`${PWD_COMMAND}`; export r; \
20499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20500 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20501 $(HOST_EXPORTS) \
20502 $(POSTSTAGE1_HOST_EXPORTS) \
20503 cd $(HOST_SUBDIR)/libbacktrace && \
20504 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20505 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20506 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
20507 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20508 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20509 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20510 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20511 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20512 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20513 $(TARGET-stagefeedback-libbacktrace)
20515 maybe-clean-stagefeedback-libbacktrace: clean-stagefeedback-libbacktrace
20516 clean-stagefeedback: clean-stagefeedback-libbacktrace
20517 clean-stagefeedback-libbacktrace:
20518 @if [ $(current_stage) = stagefeedback ]; then \
20519 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
20520 else \
20521 [ -f $(HOST_SUBDIR)/stagefeedback-libbacktrace/Makefile ] || exit 0; \
20522 $(MAKE) stagefeedback-start; \
20523 fi; \
20524 cd $(HOST_SUBDIR)/libbacktrace && \
20525 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20526 @endif libbacktrace-bootstrap
20532 .PHONY: check-libbacktrace maybe-check-libbacktrace
20533 maybe-check-libbacktrace:
20534 @if libbacktrace
20535 maybe-check-libbacktrace: check-libbacktrace
20537 check-libbacktrace:
20538 @: $(MAKE); $(unstage)
20539 @r=`${PWD_COMMAND}`; export r; \
20540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20541 $(HOST_EXPORTS) \
20542 (cd $(HOST_SUBDIR)/libbacktrace && \
20543 $(MAKE) $(FLAGS_TO_PASS) check)
20545 @endif libbacktrace
20547 .PHONY: install-libbacktrace maybe-install-libbacktrace
20548 maybe-install-libbacktrace:
20549 @if libbacktrace
20550 maybe-install-libbacktrace: install-libbacktrace
20552 install-libbacktrace: installdirs
20553 @: $(MAKE); $(unstage)
20554 @r=`${PWD_COMMAND}`; export r; \
20555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20556 $(HOST_EXPORTS) \
20557 (cd $(HOST_SUBDIR)/libbacktrace && \
20558 $(MAKE) $(FLAGS_TO_PASS) install)
20560 @endif libbacktrace
20562 .PHONY: install-strip-libbacktrace maybe-install-strip-libbacktrace
20563 maybe-install-strip-libbacktrace:
20564 @if libbacktrace
20565 maybe-install-strip-libbacktrace: install-strip-libbacktrace
20567 install-strip-libbacktrace: installdirs
20568 @: $(MAKE); $(unstage)
20569 @r=`${PWD_COMMAND}`; export r; \
20570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20571 $(HOST_EXPORTS) \
20572 (cd $(HOST_SUBDIR)/libbacktrace && \
20573 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20575 @endif libbacktrace
20577 # Other targets (info, dvi, pdf, etc.)
20579 .PHONY: maybe-info-libbacktrace info-libbacktrace
20580 maybe-info-libbacktrace:
20581 @if libbacktrace
20582 maybe-info-libbacktrace: info-libbacktrace
20584 info-libbacktrace: \
20585 configure-libbacktrace
20586 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20587 r=`${PWD_COMMAND}`; export r; \
20588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20589 $(HOST_EXPORTS) \
20590 for flag in $(EXTRA_HOST_FLAGS) ; do \
20591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20592 done; \
20593 echo "Doing info in libbacktrace" ; \
20594 (cd $(HOST_SUBDIR)/libbacktrace && \
20595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20597 "RANLIB=$${RANLIB}" \
20598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20599 info) \
20600 || exit 1
20602 @endif libbacktrace
20604 .PHONY: maybe-dvi-libbacktrace dvi-libbacktrace
20605 maybe-dvi-libbacktrace:
20606 @if libbacktrace
20607 maybe-dvi-libbacktrace: dvi-libbacktrace
20609 dvi-libbacktrace: \
20610 configure-libbacktrace
20611 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20612 r=`${PWD_COMMAND}`; export r; \
20613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20614 $(HOST_EXPORTS) \
20615 for flag in $(EXTRA_HOST_FLAGS) ; do \
20616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20617 done; \
20618 echo "Doing dvi in libbacktrace" ; \
20619 (cd $(HOST_SUBDIR)/libbacktrace && \
20620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20622 "RANLIB=$${RANLIB}" \
20623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20624 dvi) \
20625 || exit 1
20627 @endif libbacktrace
20629 .PHONY: maybe-pdf-libbacktrace pdf-libbacktrace
20630 maybe-pdf-libbacktrace:
20631 @if libbacktrace
20632 maybe-pdf-libbacktrace: pdf-libbacktrace
20634 pdf-libbacktrace: \
20635 configure-libbacktrace
20636 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20637 r=`${PWD_COMMAND}`; export r; \
20638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20639 $(HOST_EXPORTS) \
20640 for flag in $(EXTRA_HOST_FLAGS) ; do \
20641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20642 done; \
20643 echo "Doing pdf in libbacktrace" ; \
20644 (cd $(HOST_SUBDIR)/libbacktrace && \
20645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20647 "RANLIB=$${RANLIB}" \
20648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20649 pdf) \
20650 || exit 1
20652 @endif libbacktrace
20654 .PHONY: maybe-html-libbacktrace html-libbacktrace
20655 maybe-html-libbacktrace:
20656 @if libbacktrace
20657 maybe-html-libbacktrace: html-libbacktrace
20659 html-libbacktrace: \
20660 configure-libbacktrace
20661 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20662 r=`${PWD_COMMAND}`; export r; \
20663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20664 $(HOST_EXPORTS) \
20665 for flag in $(EXTRA_HOST_FLAGS) ; do \
20666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20667 done; \
20668 echo "Doing html in libbacktrace" ; \
20669 (cd $(HOST_SUBDIR)/libbacktrace && \
20670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20672 "RANLIB=$${RANLIB}" \
20673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20674 html) \
20675 || exit 1
20677 @endif libbacktrace
20679 .PHONY: maybe-TAGS-libbacktrace TAGS-libbacktrace
20680 maybe-TAGS-libbacktrace:
20681 @if libbacktrace
20682 maybe-TAGS-libbacktrace: TAGS-libbacktrace
20684 TAGS-libbacktrace: \
20685 configure-libbacktrace
20686 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20687 r=`${PWD_COMMAND}`; export r; \
20688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20689 $(HOST_EXPORTS) \
20690 for flag in $(EXTRA_HOST_FLAGS) ; do \
20691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20692 done; \
20693 echo "Doing TAGS in libbacktrace" ; \
20694 (cd $(HOST_SUBDIR)/libbacktrace && \
20695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20697 "RANLIB=$${RANLIB}" \
20698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20699 TAGS) \
20700 || exit 1
20702 @endif libbacktrace
20704 .PHONY: maybe-install-info-libbacktrace install-info-libbacktrace
20705 maybe-install-info-libbacktrace:
20706 @if libbacktrace
20707 maybe-install-info-libbacktrace: install-info-libbacktrace
20709 install-info-libbacktrace: \
20710 configure-libbacktrace \
20711 info-libbacktrace
20712 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20713 r=`${PWD_COMMAND}`; export r; \
20714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20715 $(HOST_EXPORTS) \
20716 for flag in $(EXTRA_HOST_FLAGS) ; do \
20717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20718 done; \
20719 echo "Doing install-info in libbacktrace" ; \
20720 (cd $(HOST_SUBDIR)/libbacktrace && \
20721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20723 "RANLIB=$${RANLIB}" \
20724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20725 install-info) \
20726 || exit 1
20728 @endif libbacktrace
20730 .PHONY: maybe-install-pdf-libbacktrace install-pdf-libbacktrace
20731 maybe-install-pdf-libbacktrace:
20732 @if libbacktrace
20733 maybe-install-pdf-libbacktrace: install-pdf-libbacktrace
20735 install-pdf-libbacktrace: \
20736 configure-libbacktrace \
20737 pdf-libbacktrace
20738 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20739 r=`${PWD_COMMAND}`; export r; \
20740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20741 $(HOST_EXPORTS) \
20742 for flag in $(EXTRA_HOST_FLAGS) ; do \
20743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20744 done; \
20745 echo "Doing install-pdf in libbacktrace" ; \
20746 (cd $(HOST_SUBDIR)/libbacktrace && \
20747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20749 "RANLIB=$${RANLIB}" \
20750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20751 install-pdf) \
20752 || exit 1
20754 @endif libbacktrace
20756 .PHONY: maybe-install-html-libbacktrace install-html-libbacktrace
20757 maybe-install-html-libbacktrace:
20758 @if libbacktrace
20759 maybe-install-html-libbacktrace: install-html-libbacktrace
20761 install-html-libbacktrace: \
20762 configure-libbacktrace \
20763 html-libbacktrace
20764 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20765 r=`${PWD_COMMAND}`; export r; \
20766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20767 $(HOST_EXPORTS) \
20768 for flag in $(EXTRA_HOST_FLAGS) ; do \
20769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20770 done; \
20771 echo "Doing install-html in libbacktrace" ; \
20772 (cd $(HOST_SUBDIR)/libbacktrace && \
20773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20775 "RANLIB=$${RANLIB}" \
20776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20777 install-html) \
20778 || exit 1
20780 @endif libbacktrace
20782 .PHONY: maybe-installcheck-libbacktrace installcheck-libbacktrace
20783 maybe-installcheck-libbacktrace:
20784 @if libbacktrace
20785 maybe-installcheck-libbacktrace: installcheck-libbacktrace
20787 installcheck-libbacktrace: \
20788 configure-libbacktrace
20789 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20790 r=`${PWD_COMMAND}`; export r; \
20791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20792 $(HOST_EXPORTS) \
20793 for flag in $(EXTRA_HOST_FLAGS) ; do \
20794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20795 done; \
20796 echo "Doing installcheck in libbacktrace" ; \
20797 (cd $(HOST_SUBDIR)/libbacktrace && \
20798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20800 "RANLIB=$${RANLIB}" \
20801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20802 installcheck) \
20803 || exit 1
20805 @endif libbacktrace
20807 .PHONY: maybe-mostlyclean-libbacktrace mostlyclean-libbacktrace
20808 maybe-mostlyclean-libbacktrace:
20809 @if libbacktrace
20810 maybe-mostlyclean-libbacktrace: mostlyclean-libbacktrace
20812 mostlyclean-libbacktrace:
20813 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20814 r=`${PWD_COMMAND}`; export r; \
20815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20816 $(HOST_EXPORTS) \
20817 for flag in $(EXTRA_HOST_FLAGS) ; do \
20818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20819 done; \
20820 echo "Doing mostlyclean in libbacktrace" ; \
20821 (cd $(HOST_SUBDIR)/libbacktrace && \
20822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20824 "RANLIB=$${RANLIB}" \
20825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20826 mostlyclean) \
20827 || exit 1
20829 @endif libbacktrace
20831 .PHONY: maybe-clean-libbacktrace clean-libbacktrace
20832 maybe-clean-libbacktrace:
20833 @if libbacktrace
20834 maybe-clean-libbacktrace: clean-libbacktrace
20836 clean-libbacktrace:
20837 @[ -f ./libbacktrace/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 clean in libbacktrace" ; \
20845 (cd $(HOST_SUBDIR)/libbacktrace && \
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 clean) \
20851 || exit 1
20853 @endif libbacktrace
20855 .PHONY: maybe-distclean-libbacktrace distclean-libbacktrace
20856 maybe-distclean-libbacktrace:
20857 @if libbacktrace
20858 maybe-distclean-libbacktrace: distclean-libbacktrace
20860 distclean-libbacktrace:
20861 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20862 r=`${PWD_COMMAND}`; export r; \
20863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20864 $(HOST_EXPORTS) \
20865 for flag in $(EXTRA_HOST_FLAGS) ; do \
20866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20867 done; \
20868 echo "Doing distclean in libbacktrace" ; \
20869 (cd $(HOST_SUBDIR)/libbacktrace && \
20870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20872 "RANLIB=$${RANLIB}" \
20873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20874 distclean) \
20875 || exit 1
20877 @endif libbacktrace
20879 .PHONY: maybe-maintainer-clean-libbacktrace maintainer-clean-libbacktrace
20880 maybe-maintainer-clean-libbacktrace:
20881 @if libbacktrace
20882 maybe-maintainer-clean-libbacktrace: maintainer-clean-libbacktrace
20884 maintainer-clean-libbacktrace:
20885 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20886 r=`${PWD_COMMAND}`; export r; \
20887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20888 $(HOST_EXPORTS) \
20889 for flag in $(EXTRA_HOST_FLAGS) ; do \
20890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20891 done; \
20892 echo "Doing maintainer-clean in libbacktrace" ; \
20893 (cd $(HOST_SUBDIR)/libbacktrace && \
20894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20896 "RANLIB=$${RANLIB}" \
20897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20898 maintainer-clean) \
20899 || exit 1
20901 @endif libbacktrace
20905 .PHONY: configure-libcpp maybe-configure-libcpp
20906 maybe-configure-libcpp:
20907 @if gcc-bootstrap
20908 configure-libcpp: stage_current
20909 @endif gcc-bootstrap
20910 @if libcpp
20911 maybe-configure-libcpp: configure-libcpp
20912 configure-libcpp:
20913 @r=`${PWD_COMMAND}`; export r; \
20914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20915 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20916 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20917 $(HOST_EXPORTS) \
20918 echo Configuring in $(HOST_SUBDIR)/libcpp; \
20919 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
20920 case $(srcdir) in \
20921 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20922 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20923 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20924 esac; \
20925 module_srcdir=libcpp; \
20926 $(SHELL) \
20927 $$s/$$module_srcdir/configure \
20928 --srcdir=$${topdir}/$$module_srcdir \
20929 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20930 --target=${target_alias} \
20931 || exit 1
20932 @endif libcpp
20936 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
20937 maybe-configure-stage1-libcpp:
20938 @if libcpp-bootstrap
20939 maybe-configure-stage1-libcpp: configure-stage1-libcpp
20940 configure-stage1-libcpp:
20941 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20942 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20943 @r=`${PWD_COMMAND}`; export r; \
20944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20945 TFLAGS="$(STAGE1_TFLAGS)"; \
20946 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20947 $(HOST_EXPORTS) \
20948 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
20949 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
20950 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
20951 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
20952 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20953 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20954 case $(srcdir) in \
20955 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20956 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20957 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20958 esac; \
20959 module_srcdir=libcpp; \
20960 $(SHELL) $$s/$$module_srcdir/configure \
20961 --srcdir=$${topdir}/$$module_srcdir \
20962 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20963 --target=${target_alias} \
20965 $(STAGE1_CONFIGURE_FLAGS)
20966 @endif libcpp-bootstrap
20968 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
20969 maybe-configure-stage2-libcpp:
20970 @if libcpp-bootstrap
20971 maybe-configure-stage2-libcpp: configure-stage2-libcpp
20972 configure-stage2-libcpp:
20973 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20974 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20975 @r=`${PWD_COMMAND}`; export r; \
20976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20977 TFLAGS="$(STAGE2_TFLAGS)"; \
20978 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20979 $(HOST_EXPORTS) \
20980 $(POSTSTAGE1_HOST_EXPORTS) \
20981 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
20982 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
20983 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
20984 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
20985 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20986 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20987 case $(srcdir) in \
20988 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20989 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20990 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20991 esac; \
20992 module_srcdir=libcpp; \
20993 $(SHELL) $$s/$$module_srcdir/configure \
20994 --srcdir=$${topdir}/$$module_srcdir \
20995 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20996 --target=${target_alias} \
20997 --with-build-libsubdir=$(HOST_SUBDIR) \
20998 $(STAGE2_CONFIGURE_FLAGS)
20999 @endif libcpp-bootstrap
21001 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
21002 maybe-configure-stage3-libcpp:
21003 @if libcpp-bootstrap
21004 maybe-configure-stage3-libcpp: configure-stage3-libcpp
21005 configure-stage3-libcpp:
21006 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21007 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
21008 @r=`${PWD_COMMAND}`; export r; \
21009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21010 TFLAGS="$(STAGE3_TFLAGS)"; \
21011 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
21012 $(HOST_EXPORTS) \
21013 $(POSTSTAGE1_HOST_EXPORTS) \
21014 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
21015 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
21016 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
21017 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
21018 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
21019 cd $(HOST_SUBDIR)/libcpp || exit 1; \
21020 case $(srcdir) in \
21021 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21022 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
21023 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21024 esac; \
21025 module_srcdir=libcpp; \
21026 $(SHELL) $$s/$$module_srcdir/configure \
21027 --srcdir=$${topdir}/$$module_srcdir \
21028 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21029 --target=${target_alias} \
21030 --with-build-libsubdir=$(HOST_SUBDIR) \
21031 $(STAGE3_CONFIGURE_FLAGS)
21032 @endif libcpp-bootstrap
21034 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
21035 maybe-configure-stage4-libcpp:
21036 @if libcpp-bootstrap
21037 maybe-configure-stage4-libcpp: configure-stage4-libcpp
21038 configure-stage4-libcpp:
21039 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21040 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
21041 @r=`${PWD_COMMAND}`; export r; \
21042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21043 TFLAGS="$(STAGE4_TFLAGS)"; \
21044 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
21045 $(HOST_EXPORTS) \
21046 $(POSTSTAGE1_HOST_EXPORTS) \
21047 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
21048 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
21049 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
21050 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
21051 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
21052 cd $(HOST_SUBDIR)/libcpp || exit 1; \
21053 case $(srcdir) in \
21054 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21055 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
21056 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21057 esac; \
21058 module_srcdir=libcpp; \
21059 $(SHELL) $$s/$$module_srcdir/configure \
21060 --srcdir=$${topdir}/$$module_srcdir \
21061 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21062 --target=${target_alias} \
21063 --with-build-libsubdir=$(HOST_SUBDIR) \
21064 $(STAGE4_CONFIGURE_FLAGS)
21065 @endif libcpp-bootstrap
21067 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
21068 maybe-configure-stageprofile-libcpp:
21069 @if libcpp-bootstrap
21070 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
21071 configure-stageprofile-libcpp:
21072 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21073 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
21074 @r=`${PWD_COMMAND}`; export r; \
21075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21076 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21077 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
21078 $(HOST_EXPORTS) \
21079 $(POSTSTAGE1_HOST_EXPORTS) \
21080 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
21081 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
21082 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
21083 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
21084 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
21085 cd $(HOST_SUBDIR)/libcpp || exit 1; \
21086 case $(srcdir) in \
21087 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21088 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
21089 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21090 esac; \
21091 module_srcdir=libcpp; \
21092 $(SHELL) $$s/$$module_srcdir/configure \
21093 --srcdir=$${topdir}/$$module_srcdir \
21094 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21095 --target=${target_alias} \
21096 --with-build-libsubdir=$(HOST_SUBDIR) \
21097 $(STAGEprofile_CONFIGURE_FLAGS)
21098 @endif libcpp-bootstrap
21100 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
21101 maybe-configure-stagefeedback-libcpp:
21102 @if libcpp-bootstrap
21103 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
21104 configure-stagefeedback-libcpp:
21105 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21106 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
21107 @r=`${PWD_COMMAND}`; export r; \
21108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21109 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21110 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
21111 $(HOST_EXPORTS) \
21112 $(POSTSTAGE1_HOST_EXPORTS) \
21113 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
21114 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
21115 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
21116 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
21117 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
21118 cd $(HOST_SUBDIR)/libcpp || exit 1; \
21119 case $(srcdir) in \
21120 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21121 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
21122 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21123 esac; \
21124 module_srcdir=libcpp; \
21125 $(SHELL) $$s/$$module_srcdir/configure \
21126 --srcdir=$${topdir}/$$module_srcdir \
21127 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21128 --target=${target_alias} \
21129 --with-build-libsubdir=$(HOST_SUBDIR) \
21130 $(STAGEfeedback_CONFIGURE_FLAGS)
21131 @endif libcpp-bootstrap
21137 .PHONY: all-libcpp maybe-all-libcpp
21138 maybe-all-libcpp:
21139 @if gcc-bootstrap
21140 all-libcpp: stage_current
21141 @endif gcc-bootstrap
21142 @if libcpp
21143 TARGET-libcpp=all
21144 maybe-all-libcpp: all-libcpp
21145 all-libcpp: configure-libcpp
21146 @r=`${PWD_COMMAND}`; export r; \
21147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21148 $(HOST_EXPORTS) \
21149 (cd $(HOST_SUBDIR)/libcpp && \
21150 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
21151 $(TARGET-libcpp))
21152 @endif libcpp
21156 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
21157 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
21158 maybe-all-stage1-libcpp:
21159 maybe-clean-stage1-libcpp:
21160 @if libcpp-bootstrap
21161 maybe-all-stage1-libcpp: all-stage1-libcpp
21162 all-stage1: all-stage1-libcpp
21163 TARGET-stage1-libcpp = $(TARGET-libcpp)
21164 all-stage1-libcpp: configure-stage1-libcpp
21165 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21166 @r=`${PWD_COMMAND}`; export r; \
21167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21168 TFLAGS="$(STAGE1_TFLAGS)"; \
21169 $(HOST_EXPORTS) \
21170 cd $(HOST_SUBDIR)/libcpp && \
21171 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21172 CFLAGS="$(STAGE1_CFLAGS)" \
21173 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
21174 LIBCFLAGS="$(LIBCFLAGS)" \
21175 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21176 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21177 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21178 $(EXTRA_HOST_FLAGS) \
21179 $(STAGE1_FLAGS_TO_PASS) \
21180 TFLAGS="$(STAGE1_TFLAGS)" \
21181 $(TARGET-stage1-libcpp)
21183 maybe-clean-stage1-libcpp: clean-stage1-libcpp
21184 clean-stage1: clean-stage1-libcpp
21185 clean-stage1-libcpp:
21186 @if [ $(current_stage) = stage1 ]; then \
21187 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
21188 else \
21189 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
21190 $(MAKE) stage1-start; \
21191 fi; \
21192 cd $(HOST_SUBDIR)/libcpp && \
21193 $(MAKE) $(EXTRA_HOST_FLAGS) \
21194 $(STAGE1_FLAGS_TO_PASS) clean
21195 @endif libcpp-bootstrap
21198 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
21199 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
21200 maybe-all-stage2-libcpp:
21201 maybe-clean-stage2-libcpp:
21202 @if libcpp-bootstrap
21203 maybe-all-stage2-libcpp: all-stage2-libcpp
21204 all-stage2: all-stage2-libcpp
21205 TARGET-stage2-libcpp = $(TARGET-libcpp)
21206 all-stage2-libcpp: configure-stage2-libcpp
21207 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21208 @r=`${PWD_COMMAND}`; export r; \
21209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21210 TFLAGS="$(STAGE2_TFLAGS)"; \
21211 $(HOST_EXPORTS) \
21212 $(POSTSTAGE1_HOST_EXPORTS) \
21213 cd $(HOST_SUBDIR)/libcpp && \
21214 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21215 CFLAGS="$(STAGE2_CFLAGS)" \
21216 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
21217 LIBCFLAGS="$(STAGE2_CFLAGS)" \
21218 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21219 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21220 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21221 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21222 TFLAGS="$(STAGE2_TFLAGS)" \
21223 $(TARGET-stage2-libcpp)
21225 maybe-clean-stage2-libcpp: clean-stage2-libcpp
21226 clean-stage2: clean-stage2-libcpp
21227 clean-stage2-libcpp:
21228 @if [ $(current_stage) = stage2 ]; then \
21229 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
21230 else \
21231 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
21232 $(MAKE) stage2-start; \
21233 fi; \
21234 cd $(HOST_SUBDIR)/libcpp && \
21235 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21236 @endif libcpp-bootstrap
21239 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
21240 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
21241 maybe-all-stage3-libcpp:
21242 maybe-clean-stage3-libcpp:
21243 @if libcpp-bootstrap
21244 maybe-all-stage3-libcpp: all-stage3-libcpp
21245 all-stage3: all-stage3-libcpp
21246 TARGET-stage3-libcpp = $(TARGET-libcpp)
21247 all-stage3-libcpp: configure-stage3-libcpp
21248 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21249 @r=`${PWD_COMMAND}`; export r; \
21250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21251 TFLAGS="$(STAGE3_TFLAGS)"; \
21252 $(HOST_EXPORTS) \
21253 $(POSTSTAGE1_HOST_EXPORTS) \
21254 cd $(HOST_SUBDIR)/libcpp && \
21255 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21256 CFLAGS="$(STAGE3_CFLAGS)" \
21257 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
21258 LIBCFLAGS="$(STAGE3_CFLAGS)" \
21259 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21260 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21261 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21262 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21263 TFLAGS="$(STAGE3_TFLAGS)" \
21264 $(TARGET-stage3-libcpp)
21266 maybe-clean-stage3-libcpp: clean-stage3-libcpp
21267 clean-stage3: clean-stage3-libcpp
21268 clean-stage3-libcpp:
21269 @if [ $(current_stage) = stage3 ]; then \
21270 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
21271 else \
21272 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
21273 $(MAKE) stage3-start; \
21274 fi; \
21275 cd $(HOST_SUBDIR)/libcpp && \
21276 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21277 @endif libcpp-bootstrap
21280 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
21281 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
21282 maybe-all-stage4-libcpp:
21283 maybe-clean-stage4-libcpp:
21284 @if libcpp-bootstrap
21285 maybe-all-stage4-libcpp: all-stage4-libcpp
21286 all-stage4: all-stage4-libcpp
21287 TARGET-stage4-libcpp = $(TARGET-libcpp)
21288 all-stage4-libcpp: configure-stage4-libcpp
21289 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21290 @r=`${PWD_COMMAND}`; export r; \
21291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21292 TFLAGS="$(STAGE4_TFLAGS)"; \
21293 $(HOST_EXPORTS) \
21294 $(POSTSTAGE1_HOST_EXPORTS) \
21295 cd $(HOST_SUBDIR)/libcpp && \
21296 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21297 CFLAGS="$(STAGE4_CFLAGS)" \
21298 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
21299 LIBCFLAGS="$(STAGE4_CFLAGS)" \
21300 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21301 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21302 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21303 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21304 TFLAGS="$(STAGE4_TFLAGS)" \
21305 $(TARGET-stage4-libcpp)
21307 maybe-clean-stage4-libcpp: clean-stage4-libcpp
21308 clean-stage4: clean-stage4-libcpp
21309 clean-stage4-libcpp:
21310 @if [ $(current_stage) = stage4 ]; then \
21311 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
21312 else \
21313 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
21314 $(MAKE) stage4-start; \
21315 fi; \
21316 cd $(HOST_SUBDIR)/libcpp && \
21317 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21318 @endif libcpp-bootstrap
21321 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
21322 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
21323 maybe-all-stageprofile-libcpp:
21324 maybe-clean-stageprofile-libcpp:
21325 @if libcpp-bootstrap
21326 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
21327 all-stageprofile: all-stageprofile-libcpp
21328 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
21329 all-stageprofile-libcpp: configure-stageprofile-libcpp
21330 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21331 @r=`${PWD_COMMAND}`; export r; \
21332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21333 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21334 $(HOST_EXPORTS) \
21335 $(POSTSTAGE1_HOST_EXPORTS) \
21336 cd $(HOST_SUBDIR)/libcpp && \
21337 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21338 CFLAGS="$(STAGEprofile_CFLAGS)" \
21339 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
21340 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
21341 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21342 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21343 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21344 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21345 TFLAGS="$(STAGEprofile_TFLAGS)" \
21346 $(TARGET-stageprofile-libcpp)
21348 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
21349 clean-stageprofile: clean-stageprofile-libcpp
21350 clean-stageprofile-libcpp:
21351 @if [ $(current_stage) = stageprofile ]; then \
21352 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
21353 else \
21354 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
21355 $(MAKE) stageprofile-start; \
21356 fi; \
21357 cd $(HOST_SUBDIR)/libcpp && \
21358 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21359 @endif libcpp-bootstrap
21362 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
21363 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
21364 maybe-all-stagefeedback-libcpp:
21365 maybe-clean-stagefeedback-libcpp:
21366 @if libcpp-bootstrap
21367 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
21368 all-stagefeedback: all-stagefeedback-libcpp
21369 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
21370 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
21371 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21372 @r=`${PWD_COMMAND}`; export r; \
21373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21374 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21375 $(HOST_EXPORTS) \
21376 $(POSTSTAGE1_HOST_EXPORTS) \
21377 cd $(HOST_SUBDIR)/libcpp && \
21378 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21379 CFLAGS="$(STAGEfeedback_CFLAGS)" \
21380 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
21381 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
21382 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21383 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21384 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21385 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21386 TFLAGS="$(STAGEfeedback_TFLAGS)" \
21387 $(TARGET-stagefeedback-libcpp)
21389 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
21390 clean-stagefeedback: clean-stagefeedback-libcpp
21391 clean-stagefeedback-libcpp:
21392 @if [ $(current_stage) = stagefeedback ]; then \
21393 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
21394 else \
21395 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
21396 $(MAKE) stagefeedback-start; \
21397 fi; \
21398 cd $(HOST_SUBDIR)/libcpp && \
21399 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21400 @endif libcpp-bootstrap
21406 .PHONY: check-libcpp maybe-check-libcpp
21407 maybe-check-libcpp:
21408 @if libcpp
21409 maybe-check-libcpp: check-libcpp
21411 check-libcpp:
21412 @: $(MAKE); $(unstage)
21413 @r=`${PWD_COMMAND}`; export r; \
21414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21415 $(HOST_EXPORTS) \
21416 (cd $(HOST_SUBDIR)/libcpp && \
21417 $(MAKE) $(FLAGS_TO_PASS) check)
21419 @endif libcpp
21421 .PHONY: install-libcpp maybe-install-libcpp
21422 maybe-install-libcpp:
21423 @if libcpp
21424 maybe-install-libcpp: install-libcpp
21426 install-libcpp: installdirs
21427 @: $(MAKE); $(unstage)
21428 @r=`${PWD_COMMAND}`; export r; \
21429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21430 $(HOST_EXPORTS) \
21431 (cd $(HOST_SUBDIR)/libcpp && \
21432 $(MAKE) $(FLAGS_TO_PASS) install)
21434 @endif libcpp
21436 .PHONY: install-strip-libcpp maybe-install-strip-libcpp
21437 maybe-install-strip-libcpp:
21438 @if libcpp
21439 maybe-install-strip-libcpp: install-strip-libcpp
21441 install-strip-libcpp: installdirs
21442 @: $(MAKE); $(unstage)
21443 @r=`${PWD_COMMAND}`; export r; \
21444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21445 $(HOST_EXPORTS) \
21446 (cd $(HOST_SUBDIR)/libcpp && \
21447 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21449 @endif libcpp
21451 # Other targets (info, dvi, pdf, etc.)
21453 .PHONY: maybe-info-libcpp info-libcpp
21454 maybe-info-libcpp:
21455 @if libcpp
21456 maybe-info-libcpp: info-libcpp
21458 info-libcpp: \
21459 configure-libcpp
21460 @[ -f ./libcpp/Makefile ] || exit 0; \
21461 r=`${PWD_COMMAND}`; export r; \
21462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21463 $(HOST_EXPORTS) \
21464 for flag in $(EXTRA_HOST_FLAGS) ; do \
21465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21466 done; \
21467 echo "Doing info in libcpp" ; \
21468 (cd $(HOST_SUBDIR)/libcpp && \
21469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21471 "RANLIB=$${RANLIB}" \
21472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21473 info) \
21474 || exit 1
21476 @endif libcpp
21478 .PHONY: maybe-dvi-libcpp dvi-libcpp
21479 maybe-dvi-libcpp:
21480 @if libcpp
21481 maybe-dvi-libcpp: dvi-libcpp
21483 dvi-libcpp: \
21484 configure-libcpp
21485 @[ -f ./libcpp/Makefile ] || exit 0; \
21486 r=`${PWD_COMMAND}`; export r; \
21487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21488 $(HOST_EXPORTS) \
21489 for flag in $(EXTRA_HOST_FLAGS) ; do \
21490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21491 done; \
21492 echo "Doing dvi in libcpp" ; \
21493 (cd $(HOST_SUBDIR)/libcpp && \
21494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21496 "RANLIB=$${RANLIB}" \
21497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21498 dvi) \
21499 || exit 1
21501 @endif libcpp
21503 .PHONY: maybe-pdf-libcpp pdf-libcpp
21504 maybe-pdf-libcpp:
21505 @if libcpp
21506 maybe-pdf-libcpp: pdf-libcpp
21508 pdf-libcpp: \
21509 configure-libcpp
21510 @[ -f ./libcpp/Makefile ] || exit 0; \
21511 r=`${PWD_COMMAND}`; export r; \
21512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21513 $(HOST_EXPORTS) \
21514 for flag in $(EXTRA_HOST_FLAGS) ; do \
21515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21516 done; \
21517 echo "Doing pdf in libcpp" ; \
21518 (cd $(HOST_SUBDIR)/libcpp && \
21519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21521 "RANLIB=$${RANLIB}" \
21522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21523 pdf) \
21524 || exit 1
21526 @endif libcpp
21528 .PHONY: maybe-html-libcpp html-libcpp
21529 maybe-html-libcpp:
21530 @if libcpp
21531 maybe-html-libcpp: html-libcpp
21533 html-libcpp: \
21534 configure-libcpp
21535 @[ -f ./libcpp/Makefile ] || exit 0; \
21536 r=`${PWD_COMMAND}`; export r; \
21537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21538 $(HOST_EXPORTS) \
21539 for flag in $(EXTRA_HOST_FLAGS) ; do \
21540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21541 done; \
21542 echo "Doing html in libcpp" ; \
21543 (cd $(HOST_SUBDIR)/libcpp && \
21544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21546 "RANLIB=$${RANLIB}" \
21547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21548 html) \
21549 || exit 1
21551 @endif libcpp
21553 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
21554 maybe-TAGS-libcpp:
21555 @if libcpp
21556 maybe-TAGS-libcpp: TAGS-libcpp
21558 TAGS-libcpp: \
21559 configure-libcpp
21560 @[ -f ./libcpp/Makefile ] || exit 0; \
21561 r=`${PWD_COMMAND}`; export r; \
21562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21563 $(HOST_EXPORTS) \
21564 for flag in $(EXTRA_HOST_FLAGS) ; do \
21565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21566 done; \
21567 echo "Doing TAGS in libcpp" ; \
21568 (cd $(HOST_SUBDIR)/libcpp && \
21569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21571 "RANLIB=$${RANLIB}" \
21572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21573 TAGS) \
21574 || exit 1
21576 @endif libcpp
21578 .PHONY: maybe-install-info-libcpp install-info-libcpp
21579 maybe-install-info-libcpp:
21580 @if libcpp
21581 maybe-install-info-libcpp: install-info-libcpp
21583 install-info-libcpp: \
21584 configure-libcpp \
21585 info-libcpp
21586 @[ -f ./libcpp/Makefile ] || exit 0; \
21587 r=`${PWD_COMMAND}`; export r; \
21588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21589 $(HOST_EXPORTS) \
21590 for flag in $(EXTRA_HOST_FLAGS) ; do \
21591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21592 done; \
21593 echo "Doing install-info in libcpp" ; \
21594 (cd $(HOST_SUBDIR)/libcpp && \
21595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21597 "RANLIB=$${RANLIB}" \
21598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21599 install-info) \
21600 || exit 1
21602 @endif libcpp
21604 .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
21605 maybe-install-pdf-libcpp:
21606 @if libcpp
21607 maybe-install-pdf-libcpp: install-pdf-libcpp
21609 install-pdf-libcpp: \
21610 configure-libcpp \
21611 pdf-libcpp
21612 @[ -f ./libcpp/Makefile ] || exit 0; \
21613 r=`${PWD_COMMAND}`; export r; \
21614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21615 $(HOST_EXPORTS) \
21616 for flag in $(EXTRA_HOST_FLAGS) ; do \
21617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21618 done; \
21619 echo "Doing install-pdf in libcpp" ; \
21620 (cd $(HOST_SUBDIR)/libcpp && \
21621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21623 "RANLIB=$${RANLIB}" \
21624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21625 install-pdf) \
21626 || exit 1
21628 @endif libcpp
21630 .PHONY: maybe-install-html-libcpp install-html-libcpp
21631 maybe-install-html-libcpp:
21632 @if libcpp
21633 maybe-install-html-libcpp: install-html-libcpp
21635 install-html-libcpp: \
21636 configure-libcpp \
21637 html-libcpp
21638 @[ -f ./libcpp/Makefile ] || exit 0; \
21639 r=`${PWD_COMMAND}`; export r; \
21640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21641 $(HOST_EXPORTS) \
21642 for flag in $(EXTRA_HOST_FLAGS) ; do \
21643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21644 done; \
21645 echo "Doing install-html in libcpp" ; \
21646 (cd $(HOST_SUBDIR)/libcpp && \
21647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21649 "RANLIB=$${RANLIB}" \
21650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21651 install-html) \
21652 || exit 1
21654 @endif libcpp
21656 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
21657 maybe-installcheck-libcpp:
21658 @if libcpp
21659 maybe-installcheck-libcpp: installcheck-libcpp
21661 installcheck-libcpp: \
21662 configure-libcpp
21663 @[ -f ./libcpp/Makefile ] || exit 0; \
21664 r=`${PWD_COMMAND}`; export r; \
21665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21666 $(HOST_EXPORTS) \
21667 for flag in $(EXTRA_HOST_FLAGS) ; do \
21668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21669 done; \
21670 echo "Doing installcheck in libcpp" ; \
21671 (cd $(HOST_SUBDIR)/libcpp && \
21672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21674 "RANLIB=$${RANLIB}" \
21675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21676 installcheck) \
21677 || exit 1
21679 @endif libcpp
21681 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
21682 maybe-mostlyclean-libcpp:
21683 @if libcpp
21684 maybe-mostlyclean-libcpp: mostlyclean-libcpp
21686 mostlyclean-libcpp:
21687 @[ -f ./libcpp/Makefile ] || exit 0; \
21688 r=`${PWD_COMMAND}`; export r; \
21689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21690 $(HOST_EXPORTS) \
21691 for flag in $(EXTRA_HOST_FLAGS) ; do \
21692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21693 done; \
21694 echo "Doing mostlyclean in libcpp" ; \
21695 (cd $(HOST_SUBDIR)/libcpp && \
21696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21698 "RANLIB=$${RANLIB}" \
21699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21700 mostlyclean) \
21701 || exit 1
21703 @endif libcpp
21705 .PHONY: maybe-clean-libcpp clean-libcpp
21706 maybe-clean-libcpp:
21707 @if libcpp
21708 maybe-clean-libcpp: clean-libcpp
21710 clean-libcpp:
21711 @[ -f ./libcpp/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 clean in libcpp" ; \
21719 (cd $(HOST_SUBDIR)/libcpp && \
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 clean) \
21725 || exit 1
21727 @endif libcpp
21729 .PHONY: maybe-distclean-libcpp distclean-libcpp
21730 maybe-distclean-libcpp:
21731 @if libcpp
21732 maybe-distclean-libcpp: distclean-libcpp
21734 distclean-libcpp:
21735 @[ -f ./libcpp/Makefile ] || exit 0; \
21736 r=`${PWD_COMMAND}`; export r; \
21737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21738 $(HOST_EXPORTS) \
21739 for flag in $(EXTRA_HOST_FLAGS) ; do \
21740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21741 done; \
21742 echo "Doing distclean in libcpp" ; \
21743 (cd $(HOST_SUBDIR)/libcpp && \
21744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21746 "RANLIB=$${RANLIB}" \
21747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21748 distclean) \
21749 || exit 1
21751 @endif libcpp
21753 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
21754 maybe-maintainer-clean-libcpp:
21755 @if libcpp
21756 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
21758 maintainer-clean-libcpp:
21759 @[ -f ./libcpp/Makefile ] || exit 0; \
21760 r=`${PWD_COMMAND}`; export r; \
21761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21762 $(HOST_EXPORTS) \
21763 for flag in $(EXTRA_HOST_FLAGS) ; do \
21764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21765 done; \
21766 echo "Doing maintainer-clean in libcpp" ; \
21767 (cd $(HOST_SUBDIR)/libcpp && \
21768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21770 "RANLIB=$${RANLIB}" \
21771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21772 maintainer-clean) \
21773 || exit 1
21775 @endif libcpp
21779 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
21780 maybe-configure-libdecnumber:
21781 @if gcc-bootstrap
21782 configure-libdecnumber: stage_current
21783 @endif gcc-bootstrap
21784 @if libdecnumber
21785 maybe-configure-libdecnumber: configure-libdecnumber
21786 configure-libdecnumber:
21787 @r=`${PWD_COMMAND}`; export r; \
21788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21789 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21790 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21791 $(HOST_EXPORTS) \
21792 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
21793 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
21794 case $(srcdir) in \
21795 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21796 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21797 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21798 esac; \
21799 module_srcdir=libdecnumber; \
21800 $(SHELL) \
21801 $$s/$$module_srcdir/configure \
21802 --srcdir=$${topdir}/$$module_srcdir \
21803 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21804 --target=${target_alias} \
21805 || exit 1
21806 @endif libdecnumber
21810 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
21811 maybe-configure-stage1-libdecnumber:
21812 @if libdecnumber-bootstrap
21813 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
21814 configure-stage1-libdecnumber:
21815 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21816 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21817 @r=`${PWD_COMMAND}`; export r; \
21818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21819 TFLAGS="$(STAGE1_TFLAGS)"; \
21820 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21821 $(HOST_EXPORTS) \
21822 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
21823 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
21824 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
21825 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
21826 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21827 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21828 case $(srcdir) in \
21829 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21830 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21831 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21832 esac; \
21833 module_srcdir=libdecnumber; \
21834 $(SHELL) $$s/$$module_srcdir/configure \
21835 --srcdir=$${topdir}/$$module_srcdir \
21836 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21837 --target=${target_alias} \
21839 $(STAGE1_CONFIGURE_FLAGS)
21840 @endif libdecnumber-bootstrap
21842 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
21843 maybe-configure-stage2-libdecnumber:
21844 @if libdecnumber-bootstrap
21845 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
21846 configure-stage2-libdecnumber:
21847 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21848 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21849 @r=`${PWD_COMMAND}`; export r; \
21850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21851 TFLAGS="$(STAGE2_TFLAGS)"; \
21852 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21853 $(HOST_EXPORTS) \
21854 $(POSTSTAGE1_HOST_EXPORTS) \
21855 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
21856 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
21857 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
21858 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
21859 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21860 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21861 case $(srcdir) in \
21862 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21863 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21864 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21865 esac; \
21866 module_srcdir=libdecnumber; \
21867 $(SHELL) $$s/$$module_srcdir/configure \
21868 --srcdir=$${topdir}/$$module_srcdir \
21869 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21870 --target=${target_alias} \
21871 --with-build-libsubdir=$(HOST_SUBDIR) \
21872 $(STAGE2_CONFIGURE_FLAGS)
21873 @endif libdecnumber-bootstrap
21875 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
21876 maybe-configure-stage3-libdecnumber:
21877 @if libdecnumber-bootstrap
21878 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
21879 configure-stage3-libdecnumber:
21880 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21881 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21882 @r=`${PWD_COMMAND}`; export r; \
21883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21884 TFLAGS="$(STAGE3_TFLAGS)"; \
21885 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21886 $(HOST_EXPORTS) \
21887 $(POSTSTAGE1_HOST_EXPORTS) \
21888 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
21889 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
21890 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
21891 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
21892 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21893 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21894 case $(srcdir) in \
21895 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21896 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21897 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21898 esac; \
21899 module_srcdir=libdecnumber; \
21900 $(SHELL) $$s/$$module_srcdir/configure \
21901 --srcdir=$${topdir}/$$module_srcdir \
21902 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21903 --target=${target_alias} \
21904 --with-build-libsubdir=$(HOST_SUBDIR) \
21905 $(STAGE3_CONFIGURE_FLAGS)
21906 @endif libdecnumber-bootstrap
21908 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
21909 maybe-configure-stage4-libdecnumber:
21910 @if libdecnumber-bootstrap
21911 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
21912 configure-stage4-libdecnumber:
21913 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21914 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21915 @r=`${PWD_COMMAND}`; export r; \
21916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21917 TFLAGS="$(STAGE4_TFLAGS)"; \
21918 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21919 $(HOST_EXPORTS) \
21920 $(POSTSTAGE1_HOST_EXPORTS) \
21921 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
21922 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
21923 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
21924 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
21925 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21926 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21927 case $(srcdir) in \
21928 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21929 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21930 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21931 esac; \
21932 module_srcdir=libdecnumber; \
21933 $(SHELL) $$s/$$module_srcdir/configure \
21934 --srcdir=$${topdir}/$$module_srcdir \
21935 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21936 --target=${target_alias} \
21937 --with-build-libsubdir=$(HOST_SUBDIR) \
21938 $(STAGE4_CONFIGURE_FLAGS)
21939 @endif libdecnumber-bootstrap
21941 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
21942 maybe-configure-stageprofile-libdecnumber:
21943 @if libdecnumber-bootstrap
21944 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
21945 configure-stageprofile-libdecnumber:
21946 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21947 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21948 @r=`${PWD_COMMAND}`; export r; \
21949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21950 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21951 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21952 $(HOST_EXPORTS) \
21953 $(POSTSTAGE1_HOST_EXPORTS) \
21954 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
21955 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
21956 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
21957 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
21958 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21959 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21960 case $(srcdir) in \
21961 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21962 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21963 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21964 esac; \
21965 module_srcdir=libdecnumber; \
21966 $(SHELL) $$s/$$module_srcdir/configure \
21967 --srcdir=$${topdir}/$$module_srcdir \
21968 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21969 --target=${target_alias} \
21970 --with-build-libsubdir=$(HOST_SUBDIR) \
21971 $(STAGEprofile_CONFIGURE_FLAGS)
21972 @endif libdecnumber-bootstrap
21974 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
21975 maybe-configure-stagefeedback-libdecnumber:
21976 @if libdecnumber-bootstrap
21977 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
21978 configure-stagefeedback-libdecnumber:
21979 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21980 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21981 @r=`${PWD_COMMAND}`; export r; \
21982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21983 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21984 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21985 $(HOST_EXPORTS) \
21986 $(POSTSTAGE1_HOST_EXPORTS) \
21987 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
21988 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
21989 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
21990 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
21991 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21992 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21993 case $(srcdir) in \
21994 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21995 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21996 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21997 esac; \
21998 module_srcdir=libdecnumber; \
21999 $(SHELL) $$s/$$module_srcdir/configure \
22000 --srcdir=$${topdir}/$$module_srcdir \
22001 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22002 --target=${target_alias} \
22003 --with-build-libsubdir=$(HOST_SUBDIR) \
22004 $(STAGEfeedback_CONFIGURE_FLAGS)
22005 @endif libdecnumber-bootstrap
22011 .PHONY: all-libdecnumber maybe-all-libdecnumber
22012 maybe-all-libdecnumber:
22013 @if gcc-bootstrap
22014 all-libdecnumber: stage_current
22015 @endif gcc-bootstrap
22016 @if libdecnumber
22017 TARGET-libdecnumber=all
22018 maybe-all-libdecnumber: all-libdecnumber
22019 all-libdecnumber: configure-libdecnumber
22020 @r=`${PWD_COMMAND}`; export r; \
22021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22022 $(HOST_EXPORTS) \
22023 (cd $(HOST_SUBDIR)/libdecnumber && \
22024 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
22025 $(TARGET-libdecnumber))
22026 @endif libdecnumber
22030 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
22031 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
22032 maybe-all-stage1-libdecnumber:
22033 maybe-clean-stage1-libdecnumber:
22034 @if libdecnumber-bootstrap
22035 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
22036 all-stage1: all-stage1-libdecnumber
22037 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
22038 all-stage1-libdecnumber: configure-stage1-libdecnumber
22039 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22040 @r=`${PWD_COMMAND}`; export r; \
22041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22042 TFLAGS="$(STAGE1_TFLAGS)"; \
22043 $(HOST_EXPORTS) \
22044 cd $(HOST_SUBDIR)/libdecnumber && \
22045 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22046 CFLAGS="$(STAGE1_CFLAGS)" \
22047 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
22048 LIBCFLAGS="$(LIBCFLAGS)" \
22049 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22050 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22051 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22052 $(EXTRA_HOST_FLAGS) \
22053 $(STAGE1_FLAGS_TO_PASS) \
22054 TFLAGS="$(STAGE1_TFLAGS)" \
22055 $(TARGET-stage1-libdecnumber)
22057 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
22058 clean-stage1: clean-stage1-libdecnumber
22059 clean-stage1-libdecnumber:
22060 @if [ $(current_stage) = stage1 ]; then \
22061 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
22062 else \
22063 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
22064 $(MAKE) stage1-start; \
22065 fi; \
22066 cd $(HOST_SUBDIR)/libdecnumber && \
22067 $(MAKE) $(EXTRA_HOST_FLAGS) \
22068 $(STAGE1_FLAGS_TO_PASS) clean
22069 @endif libdecnumber-bootstrap
22072 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
22073 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
22074 maybe-all-stage2-libdecnumber:
22075 maybe-clean-stage2-libdecnumber:
22076 @if libdecnumber-bootstrap
22077 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
22078 all-stage2: all-stage2-libdecnumber
22079 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
22080 all-stage2-libdecnumber: configure-stage2-libdecnumber
22081 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22082 @r=`${PWD_COMMAND}`; export r; \
22083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22084 TFLAGS="$(STAGE2_TFLAGS)"; \
22085 $(HOST_EXPORTS) \
22086 $(POSTSTAGE1_HOST_EXPORTS) \
22087 cd $(HOST_SUBDIR)/libdecnumber && \
22088 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22089 CFLAGS="$(STAGE2_CFLAGS)" \
22090 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
22091 LIBCFLAGS="$(STAGE2_CFLAGS)" \
22092 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22093 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22094 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22095 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22096 TFLAGS="$(STAGE2_TFLAGS)" \
22097 $(TARGET-stage2-libdecnumber)
22099 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
22100 clean-stage2: clean-stage2-libdecnumber
22101 clean-stage2-libdecnumber:
22102 @if [ $(current_stage) = stage2 ]; then \
22103 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
22104 else \
22105 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
22106 $(MAKE) stage2-start; \
22107 fi; \
22108 cd $(HOST_SUBDIR)/libdecnumber && \
22109 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22110 @endif libdecnumber-bootstrap
22113 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
22114 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
22115 maybe-all-stage3-libdecnumber:
22116 maybe-clean-stage3-libdecnumber:
22117 @if libdecnumber-bootstrap
22118 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
22119 all-stage3: all-stage3-libdecnumber
22120 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
22121 all-stage3-libdecnumber: configure-stage3-libdecnumber
22122 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22123 @r=`${PWD_COMMAND}`; export r; \
22124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22125 TFLAGS="$(STAGE3_TFLAGS)"; \
22126 $(HOST_EXPORTS) \
22127 $(POSTSTAGE1_HOST_EXPORTS) \
22128 cd $(HOST_SUBDIR)/libdecnumber && \
22129 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22130 CFLAGS="$(STAGE3_CFLAGS)" \
22131 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
22132 LIBCFLAGS="$(STAGE3_CFLAGS)" \
22133 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22134 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22135 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22136 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22137 TFLAGS="$(STAGE3_TFLAGS)" \
22138 $(TARGET-stage3-libdecnumber)
22140 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
22141 clean-stage3: clean-stage3-libdecnumber
22142 clean-stage3-libdecnumber:
22143 @if [ $(current_stage) = stage3 ]; then \
22144 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
22145 else \
22146 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
22147 $(MAKE) stage3-start; \
22148 fi; \
22149 cd $(HOST_SUBDIR)/libdecnumber && \
22150 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22151 @endif libdecnumber-bootstrap
22154 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
22155 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
22156 maybe-all-stage4-libdecnumber:
22157 maybe-clean-stage4-libdecnumber:
22158 @if libdecnumber-bootstrap
22159 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
22160 all-stage4: all-stage4-libdecnumber
22161 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
22162 all-stage4-libdecnumber: configure-stage4-libdecnumber
22163 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22164 @r=`${PWD_COMMAND}`; export r; \
22165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22166 TFLAGS="$(STAGE4_TFLAGS)"; \
22167 $(HOST_EXPORTS) \
22168 $(POSTSTAGE1_HOST_EXPORTS) \
22169 cd $(HOST_SUBDIR)/libdecnumber && \
22170 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22171 CFLAGS="$(STAGE4_CFLAGS)" \
22172 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
22173 LIBCFLAGS="$(STAGE4_CFLAGS)" \
22174 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22175 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22176 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22177 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22178 TFLAGS="$(STAGE4_TFLAGS)" \
22179 $(TARGET-stage4-libdecnumber)
22181 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
22182 clean-stage4: clean-stage4-libdecnumber
22183 clean-stage4-libdecnumber:
22184 @if [ $(current_stage) = stage4 ]; then \
22185 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
22186 else \
22187 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
22188 $(MAKE) stage4-start; \
22189 fi; \
22190 cd $(HOST_SUBDIR)/libdecnumber && \
22191 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22192 @endif libdecnumber-bootstrap
22195 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
22196 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
22197 maybe-all-stageprofile-libdecnumber:
22198 maybe-clean-stageprofile-libdecnumber:
22199 @if libdecnumber-bootstrap
22200 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
22201 all-stageprofile: all-stageprofile-libdecnumber
22202 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
22203 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
22204 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22205 @r=`${PWD_COMMAND}`; export r; \
22206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22207 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22208 $(HOST_EXPORTS) \
22209 $(POSTSTAGE1_HOST_EXPORTS) \
22210 cd $(HOST_SUBDIR)/libdecnumber && \
22211 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22212 CFLAGS="$(STAGEprofile_CFLAGS)" \
22213 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
22214 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
22215 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22216 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22217 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22218 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22219 TFLAGS="$(STAGEprofile_TFLAGS)" \
22220 $(TARGET-stageprofile-libdecnumber)
22222 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
22223 clean-stageprofile: clean-stageprofile-libdecnumber
22224 clean-stageprofile-libdecnumber:
22225 @if [ $(current_stage) = stageprofile ]; then \
22226 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
22227 else \
22228 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
22229 $(MAKE) stageprofile-start; \
22230 fi; \
22231 cd $(HOST_SUBDIR)/libdecnumber && \
22232 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22233 @endif libdecnumber-bootstrap
22236 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
22237 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
22238 maybe-all-stagefeedback-libdecnumber:
22239 maybe-clean-stagefeedback-libdecnumber:
22240 @if libdecnumber-bootstrap
22241 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
22242 all-stagefeedback: all-stagefeedback-libdecnumber
22243 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
22244 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
22245 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22246 @r=`${PWD_COMMAND}`; export r; \
22247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22248 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22249 $(HOST_EXPORTS) \
22250 $(POSTSTAGE1_HOST_EXPORTS) \
22251 cd $(HOST_SUBDIR)/libdecnumber && \
22252 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22253 CFLAGS="$(STAGEfeedback_CFLAGS)" \
22254 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
22255 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
22256 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22257 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22258 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22259 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22260 TFLAGS="$(STAGEfeedback_TFLAGS)" \
22261 $(TARGET-stagefeedback-libdecnumber)
22263 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
22264 clean-stagefeedback: clean-stagefeedback-libdecnumber
22265 clean-stagefeedback-libdecnumber:
22266 @if [ $(current_stage) = stagefeedback ]; then \
22267 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
22268 else \
22269 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
22270 $(MAKE) stagefeedback-start; \
22271 fi; \
22272 cd $(HOST_SUBDIR)/libdecnumber && \
22273 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22274 @endif libdecnumber-bootstrap
22280 .PHONY: check-libdecnumber maybe-check-libdecnumber
22281 maybe-check-libdecnumber:
22282 @if libdecnumber
22283 maybe-check-libdecnumber: check-libdecnumber
22285 check-libdecnumber:
22286 @: $(MAKE); $(unstage)
22287 @r=`${PWD_COMMAND}`; export r; \
22288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22289 $(HOST_EXPORTS) \
22290 (cd $(HOST_SUBDIR)/libdecnumber && \
22291 $(MAKE) $(FLAGS_TO_PASS) check)
22293 @endif libdecnumber
22295 .PHONY: install-libdecnumber maybe-install-libdecnumber
22296 maybe-install-libdecnumber:
22297 @if libdecnumber
22298 maybe-install-libdecnumber: install-libdecnumber
22300 install-libdecnumber: installdirs
22301 @: $(MAKE); $(unstage)
22302 @r=`${PWD_COMMAND}`; export r; \
22303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22304 $(HOST_EXPORTS) \
22305 (cd $(HOST_SUBDIR)/libdecnumber && \
22306 $(MAKE) $(FLAGS_TO_PASS) install)
22308 @endif libdecnumber
22310 .PHONY: install-strip-libdecnumber maybe-install-strip-libdecnumber
22311 maybe-install-strip-libdecnumber:
22312 @if libdecnumber
22313 maybe-install-strip-libdecnumber: install-strip-libdecnumber
22315 install-strip-libdecnumber: installdirs
22316 @: $(MAKE); $(unstage)
22317 @r=`${PWD_COMMAND}`; export r; \
22318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22319 $(HOST_EXPORTS) \
22320 (cd $(HOST_SUBDIR)/libdecnumber && \
22321 $(MAKE) $(FLAGS_TO_PASS) install-strip)
22323 @endif libdecnumber
22325 # Other targets (info, dvi, pdf, etc.)
22327 .PHONY: maybe-info-libdecnumber info-libdecnumber
22328 maybe-info-libdecnumber:
22329 @if libdecnumber
22330 maybe-info-libdecnumber: info-libdecnumber
22332 info-libdecnumber: \
22333 configure-libdecnumber
22334 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22335 r=`${PWD_COMMAND}`; export r; \
22336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22337 $(HOST_EXPORTS) \
22338 for flag in $(EXTRA_HOST_FLAGS) ; do \
22339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22340 done; \
22341 echo "Doing info in libdecnumber" ; \
22342 (cd $(HOST_SUBDIR)/libdecnumber && \
22343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22345 "RANLIB=$${RANLIB}" \
22346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22347 info) \
22348 || exit 1
22350 @endif libdecnumber
22352 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
22353 maybe-dvi-libdecnumber:
22354 @if libdecnumber
22355 maybe-dvi-libdecnumber: dvi-libdecnumber
22357 dvi-libdecnumber: \
22358 configure-libdecnumber
22359 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22360 r=`${PWD_COMMAND}`; export r; \
22361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22362 $(HOST_EXPORTS) \
22363 for flag in $(EXTRA_HOST_FLAGS) ; do \
22364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22365 done; \
22366 echo "Doing dvi in libdecnumber" ; \
22367 (cd $(HOST_SUBDIR)/libdecnumber && \
22368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22370 "RANLIB=$${RANLIB}" \
22371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22372 dvi) \
22373 || exit 1
22375 @endif libdecnumber
22377 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
22378 maybe-pdf-libdecnumber:
22379 @if libdecnumber
22380 maybe-pdf-libdecnumber: pdf-libdecnumber
22382 pdf-libdecnumber: \
22383 configure-libdecnumber
22384 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22385 r=`${PWD_COMMAND}`; export r; \
22386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22387 $(HOST_EXPORTS) \
22388 for flag in $(EXTRA_HOST_FLAGS) ; do \
22389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22390 done; \
22391 echo "Doing pdf in libdecnumber" ; \
22392 (cd $(HOST_SUBDIR)/libdecnumber && \
22393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22395 "RANLIB=$${RANLIB}" \
22396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22397 pdf) \
22398 || exit 1
22400 @endif libdecnumber
22402 .PHONY: maybe-html-libdecnumber html-libdecnumber
22403 maybe-html-libdecnumber:
22404 @if libdecnumber
22405 maybe-html-libdecnumber: html-libdecnumber
22407 html-libdecnumber: \
22408 configure-libdecnumber
22409 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22410 r=`${PWD_COMMAND}`; export r; \
22411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22412 $(HOST_EXPORTS) \
22413 for flag in $(EXTRA_HOST_FLAGS) ; do \
22414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22415 done; \
22416 echo "Doing html in libdecnumber" ; \
22417 (cd $(HOST_SUBDIR)/libdecnumber && \
22418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22420 "RANLIB=$${RANLIB}" \
22421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22422 html) \
22423 || exit 1
22425 @endif libdecnumber
22427 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
22428 maybe-TAGS-libdecnumber:
22429 @if libdecnumber
22430 maybe-TAGS-libdecnumber: TAGS-libdecnumber
22432 TAGS-libdecnumber: \
22433 configure-libdecnumber
22434 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22435 r=`${PWD_COMMAND}`; export r; \
22436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22437 $(HOST_EXPORTS) \
22438 for flag in $(EXTRA_HOST_FLAGS) ; do \
22439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22440 done; \
22441 echo "Doing TAGS in libdecnumber" ; \
22442 (cd $(HOST_SUBDIR)/libdecnumber && \
22443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22445 "RANLIB=$${RANLIB}" \
22446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22447 TAGS) \
22448 || exit 1
22450 @endif libdecnumber
22452 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
22453 maybe-install-info-libdecnumber:
22454 @if libdecnumber
22455 maybe-install-info-libdecnumber: install-info-libdecnumber
22457 install-info-libdecnumber: \
22458 configure-libdecnumber \
22459 info-libdecnumber
22460 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22461 r=`${PWD_COMMAND}`; export r; \
22462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22463 $(HOST_EXPORTS) \
22464 for flag in $(EXTRA_HOST_FLAGS) ; do \
22465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22466 done; \
22467 echo "Doing install-info in libdecnumber" ; \
22468 (cd $(HOST_SUBDIR)/libdecnumber && \
22469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22471 "RANLIB=$${RANLIB}" \
22472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22473 install-info) \
22474 || exit 1
22476 @endif libdecnumber
22478 .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
22479 maybe-install-pdf-libdecnumber:
22480 @if libdecnumber
22481 maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
22483 install-pdf-libdecnumber: \
22484 configure-libdecnumber \
22485 pdf-libdecnumber
22486 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22487 r=`${PWD_COMMAND}`; export r; \
22488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22489 $(HOST_EXPORTS) \
22490 for flag in $(EXTRA_HOST_FLAGS) ; do \
22491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22492 done; \
22493 echo "Doing install-pdf in libdecnumber" ; \
22494 (cd $(HOST_SUBDIR)/libdecnumber && \
22495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22497 "RANLIB=$${RANLIB}" \
22498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22499 install-pdf) \
22500 || exit 1
22502 @endif libdecnumber
22504 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
22505 maybe-install-html-libdecnumber:
22506 @if libdecnumber
22507 maybe-install-html-libdecnumber: install-html-libdecnumber
22509 install-html-libdecnumber: \
22510 configure-libdecnumber \
22511 html-libdecnumber
22512 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22513 r=`${PWD_COMMAND}`; export r; \
22514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22515 $(HOST_EXPORTS) \
22516 for flag in $(EXTRA_HOST_FLAGS) ; do \
22517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22518 done; \
22519 echo "Doing install-html in libdecnumber" ; \
22520 (cd $(HOST_SUBDIR)/libdecnumber && \
22521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22523 "RANLIB=$${RANLIB}" \
22524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22525 install-html) \
22526 || exit 1
22528 @endif libdecnumber
22530 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
22531 maybe-installcheck-libdecnumber:
22532 @if libdecnumber
22533 maybe-installcheck-libdecnumber: installcheck-libdecnumber
22535 installcheck-libdecnumber: \
22536 configure-libdecnumber
22537 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22538 r=`${PWD_COMMAND}`; export r; \
22539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22540 $(HOST_EXPORTS) \
22541 for flag in $(EXTRA_HOST_FLAGS) ; do \
22542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22543 done; \
22544 echo "Doing installcheck in libdecnumber" ; \
22545 (cd $(HOST_SUBDIR)/libdecnumber && \
22546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22548 "RANLIB=$${RANLIB}" \
22549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22550 installcheck) \
22551 || exit 1
22553 @endif libdecnumber
22555 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
22556 maybe-mostlyclean-libdecnumber:
22557 @if libdecnumber
22558 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
22560 mostlyclean-libdecnumber:
22561 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22562 r=`${PWD_COMMAND}`; export r; \
22563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22564 $(HOST_EXPORTS) \
22565 for flag in $(EXTRA_HOST_FLAGS) ; do \
22566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22567 done; \
22568 echo "Doing mostlyclean in libdecnumber" ; \
22569 (cd $(HOST_SUBDIR)/libdecnumber && \
22570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22572 "RANLIB=$${RANLIB}" \
22573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22574 mostlyclean) \
22575 || exit 1
22577 @endif libdecnumber
22579 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
22580 maybe-clean-libdecnumber:
22581 @if libdecnumber
22582 maybe-clean-libdecnumber: clean-libdecnumber
22584 clean-libdecnumber:
22585 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22586 r=`${PWD_COMMAND}`; export r; \
22587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22588 $(HOST_EXPORTS) \
22589 for flag in $(EXTRA_HOST_FLAGS) ; do \
22590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22591 done; \
22592 echo "Doing clean in libdecnumber" ; \
22593 (cd $(HOST_SUBDIR)/libdecnumber && \
22594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22596 "RANLIB=$${RANLIB}" \
22597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22598 clean) \
22599 || exit 1
22601 @endif libdecnumber
22603 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
22604 maybe-distclean-libdecnumber:
22605 @if libdecnumber
22606 maybe-distclean-libdecnumber: distclean-libdecnumber
22608 distclean-libdecnumber:
22609 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22610 r=`${PWD_COMMAND}`; export r; \
22611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22612 $(HOST_EXPORTS) \
22613 for flag in $(EXTRA_HOST_FLAGS) ; do \
22614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22615 done; \
22616 echo "Doing distclean in libdecnumber" ; \
22617 (cd $(HOST_SUBDIR)/libdecnumber && \
22618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22620 "RANLIB=$${RANLIB}" \
22621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22622 distclean) \
22623 || exit 1
22625 @endif libdecnumber
22627 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
22628 maybe-maintainer-clean-libdecnumber:
22629 @if libdecnumber
22630 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
22632 maintainer-clean-libdecnumber:
22633 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22634 r=`${PWD_COMMAND}`; export r; \
22635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22636 $(HOST_EXPORTS) \
22637 for flag in $(EXTRA_HOST_FLAGS) ; do \
22638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22639 done; \
22640 echo "Doing maintainer-clean in libdecnumber" ; \
22641 (cd $(HOST_SUBDIR)/libdecnumber && \
22642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22644 "RANLIB=$${RANLIB}" \
22645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22646 maintainer-clean) \
22647 || exit 1
22649 @endif libdecnumber
22653 .PHONY: configure-libgui maybe-configure-libgui
22654 maybe-configure-libgui:
22655 @if gcc-bootstrap
22656 configure-libgui: stage_current
22657 @endif gcc-bootstrap
22658 @if libgui
22659 maybe-configure-libgui: configure-libgui
22660 configure-libgui:
22661 @: $(MAKE); $(unstage)
22662 @r=`${PWD_COMMAND}`; export r; \
22663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22664 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
22665 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
22666 $(HOST_EXPORTS) \
22667 echo Configuring in $(HOST_SUBDIR)/libgui; \
22668 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
22669 case $(srcdir) in \
22670 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22671 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
22672 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22673 esac; \
22674 module_srcdir=libgui; \
22675 $(SHELL) \
22676 $$s/$$module_srcdir/configure \
22677 --srcdir=$${topdir}/$$module_srcdir \
22678 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22679 --target=${target_alias} \
22680 || exit 1
22681 @endif libgui
22687 .PHONY: all-libgui maybe-all-libgui
22688 maybe-all-libgui:
22689 @if gcc-bootstrap
22690 all-libgui: stage_current
22691 @endif gcc-bootstrap
22692 @if libgui
22693 TARGET-libgui=all
22694 maybe-all-libgui: all-libgui
22695 all-libgui: configure-libgui
22696 @: $(MAKE); $(unstage)
22697 @r=`${PWD_COMMAND}`; export r; \
22698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22699 $(HOST_EXPORTS) \
22700 (cd $(HOST_SUBDIR)/libgui && \
22701 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
22702 $(TARGET-libgui))
22703 @endif libgui
22708 .PHONY: check-libgui maybe-check-libgui
22709 maybe-check-libgui:
22710 @if libgui
22711 maybe-check-libgui: check-libgui
22713 check-libgui:
22714 @: $(MAKE); $(unstage)
22715 @r=`${PWD_COMMAND}`; export r; \
22716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22717 $(HOST_EXPORTS) \
22718 (cd $(HOST_SUBDIR)/libgui && \
22719 $(MAKE) $(FLAGS_TO_PASS) check)
22721 @endif libgui
22723 .PHONY: install-libgui maybe-install-libgui
22724 maybe-install-libgui:
22725 @if libgui
22726 maybe-install-libgui: install-libgui
22728 install-libgui: installdirs
22729 @: $(MAKE); $(unstage)
22730 @r=`${PWD_COMMAND}`; export r; \
22731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22732 $(HOST_EXPORTS) \
22733 (cd $(HOST_SUBDIR)/libgui && \
22734 $(MAKE) $(FLAGS_TO_PASS) install)
22736 @endif libgui
22738 .PHONY: install-strip-libgui maybe-install-strip-libgui
22739 maybe-install-strip-libgui:
22740 @if libgui
22741 maybe-install-strip-libgui: install-strip-libgui
22743 install-strip-libgui: installdirs
22744 @: $(MAKE); $(unstage)
22745 @r=`${PWD_COMMAND}`; export r; \
22746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22747 $(HOST_EXPORTS) \
22748 (cd $(HOST_SUBDIR)/libgui && \
22749 $(MAKE) $(FLAGS_TO_PASS) install-strip)
22751 @endif libgui
22753 # Other targets (info, dvi, pdf, etc.)
22755 .PHONY: maybe-info-libgui info-libgui
22756 maybe-info-libgui:
22757 @if libgui
22758 maybe-info-libgui: info-libgui
22760 info-libgui: \
22761 configure-libgui
22762 @: $(MAKE); $(unstage)
22763 @[ -f ./libgui/Makefile ] || exit 0; \
22764 r=`${PWD_COMMAND}`; export r; \
22765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22766 $(HOST_EXPORTS) \
22767 for flag in $(EXTRA_HOST_FLAGS) ; do \
22768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22769 done; \
22770 echo "Doing info in libgui" ; \
22771 (cd $(HOST_SUBDIR)/libgui && \
22772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22774 "RANLIB=$${RANLIB}" \
22775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22776 info) \
22777 || exit 1
22779 @endif libgui
22781 .PHONY: maybe-dvi-libgui dvi-libgui
22782 maybe-dvi-libgui:
22783 @if libgui
22784 maybe-dvi-libgui: dvi-libgui
22786 dvi-libgui: \
22787 configure-libgui
22788 @: $(MAKE); $(unstage)
22789 @[ -f ./libgui/Makefile ] || exit 0; \
22790 r=`${PWD_COMMAND}`; export r; \
22791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22792 $(HOST_EXPORTS) \
22793 for flag in $(EXTRA_HOST_FLAGS) ; do \
22794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22795 done; \
22796 echo "Doing dvi in libgui" ; \
22797 (cd $(HOST_SUBDIR)/libgui && \
22798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22800 "RANLIB=$${RANLIB}" \
22801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22802 dvi) \
22803 || exit 1
22805 @endif libgui
22807 .PHONY: maybe-pdf-libgui pdf-libgui
22808 maybe-pdf-libgui:
22809 @if libgui
22810 maybe-pdf-libgui: pdf-libgui
22812 pdf-libgui: \
22813 configure-libgui
22814 @: $(MAKE); $(unstage)
22815 @[ -f ./libgui/Makefile ] || exit 0; \
22816 r=`${PWD_COMMAND}`; export r; \
22817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22818 $(HOST_EXPORTS) \
22819 for flag in $(EXTRA_HOST_FLAGS) ; do \
22820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22821 done; \
22822 echo "Doing pdf in libgui" ; \
22823 (cd $(HOST_SUBDIR)/libgui && \
22824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22826 "RANLIB=$${RANLIB}" \
22827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22828 pdf) \
22829 || exit 1
22831 @endif libgui
22833 .PHONY: maybe-html-libgui html-libgui
22834 maybe-html-libgui:
22835 @if libgui
22836 maybe-html-libgui: html-libgui
22838 html-libgui: \
22839 configure-libgui
22840 @: $(MAKE); $(unstage)
22841 @[ -f ./libgui/Makefile ] || exit 0; \
22842 r=`${PWD_COMMAND}`; export r; \
22843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22844 $(HOST_EXPORTS) \
22845 for flag in $(EXTRA_HOST_FLAGS) ; do \
22846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22847 done; \
22848 echo "Doing html in libgui" ; \
22849 (cd $(HOST_SUBDIR)/libgui && \
22850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22852 "RANLIB=$${RANLIB}" \
22853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22854 html) \
22855 || exit 1
22857 @endif libgui
22859 .PHONY: maybe-TAGS-libgui TAGS-libgui
22860 maybe-TAGS-libgui:
22861 @if libgui
22862 maybe-TAGS-libgui: TAGS-libgui
22864 TAGS-libgui: \
22865 configure-libgui
22866 @: $(MAKE); $(unstage)
22867 @[ -f ./libgui/Makefile ] || exit 0; \
22868 r=`${PWD_COMMAND}`; export r; \
22869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22870 $(HOST_EXPORTS) \
22871 for flag in $(EXTRA_HOST_FLAGS) ; do \
22872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22873 done; \
22874 echo "Doing TAGS in libgui" ; \
22875 (cd $(HOST_SUBDIR)/libgui && \
22876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22878 "RANLIB=$${RANLIB}" \
22879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22880 TAGS) \
22881 || exit 1
22883 @endif libgui
22885 .PHONY: maybe-install-info-libgui install-info-libgui
22886 maybe-install-info-libgui:
22887 @if libgui
22888 maybe-install-info-libgui: install-info-libgui
22890 install-info-libgui: \
22891 configure-libgui \
22892 info-libgui
22893 @: $(MAKE); $(unstage)
22894 @[ -f ./libgui/Makefile ] || exit 0; \
22895 r=`${PWD_COMMAND}`; export r; \
22896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22897 $(HOST_EXPORTS) \
22898 for flag in $(EXTRA_HOST_FLAGS) ; do \
22899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22900 done; \
22901 echo "Doing install-info in libgui" ; \
22902 (cd $(HOST_SUBDIR)/libgui && \
22903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22905 "RANLIB=$${RANLIB}" \
22906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22907 install-info) \
22908 || exit 1
22910 @endif libgui
22912 .PHONY: maybe-install-pdf-libgui install-pdf-libgui
22913 maybe-install-pdf-libgui:
22914 @if libgui
22915 maybe-install-pdf-libgui: install-pdf-libgui
22917 install-pdf-libgui: \
22918 configure-libgui \
22919 pdf-libgui
22920 @: $(MAKE); $(unstage)
22921 @[ -f ./libgui/Makefile ] || exit 0; \
22922 r=`${PWD_COMMAND}`; export r; \
22923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22924 $(HOST_EXPORTS) \
22925 for flag in $(EXTRA_HOST_FLAGS) ; do \
22926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22927 done; \
22928 echo "Doing install-pdf in libgui" ; \
22929 (cd $(HOST_SUBDIR)/libgui && \
22930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22932 "RANLIB=$${RANLIB}" \
22933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22934 install-pdf) \
22935 || exit 1
22937 @endif libgui
22939 .PHONY: maybe-install-html-libgui install-html-libgui
22940 maybe-install-html-libgui:
22941 @if libgui
22942 maybe-install-html-libgui: install-html-libgui
22944 install-html-libgui: \
22945 configure-libgui \
22946 html-libgui
22947 @: $(MAKE); $(unstage)
22948 @[ -f ./libgui/Makefile ] || exit 0; \
22949 r=`${PWD_COMMAND}`; export r; \
22950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22951 $(HOST_EXPORTS) \
22952 for flag in $(EXTRA_HOST_FLAGS) ; do \
22953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22954 done; \
22955 echo "Doing install-html in libgui" ; \
22956 (cd $(HOST_SUBDIR)/libgui && \
22957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22959 "RANLIB=$${RANLIB}" \
22960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22961 install-html) \
22962 || exit 1
22964 @endif libgui
22966 .PHONY: maybe-installcheck-libgui installcheck-libgui
22967 maybe-installcheck-libgui:
22968 @if libgui
22969 maybe-installcheck-libgui: installcheck-libgui
22971 installcheck-libgui: \
22972 configure-libgui
22973 @: $(MAKE); $(unstage)
22974 @[ -f ./libgui/Makefile ] || exit 0; \
22975 r=`${PWD_COMMAND}`; export r; \
22976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22977 $(HOST_EXPORTS) \
22978 for flag in $(EXTRA_HOST_FLAGS) ; do \
22979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22980 done; \
22981 echo "Doing installcheck in libgui" ; \
22982 (cd $(HOST_SUBDIR)/libgui && \
22983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22985 "RANLIB=$${RANLIB}" \
22986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22987 installcheck) \
22988 || exit 1
22990 @endif libgui
22992 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
22993 maybe-mostlyclean-libgui:
22994 @if libgui
22995 maybe-mostlyclean-libgui: mostlyclean-libgui
22997 mostlyclean-libgui:
22998 @: $(MAKE); $(unstage)
22999 @[ -f ./libgui/Makefile ] || exit 0; \
23000 r=`${PWD_COMMAND}`; export r; \
23001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23002 $(HOST_EXPORTS) \
23003 for flag in $(EXTRA_HOST_FLAGS) ; do \
23004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23005 done; \
23006 echo "Doing mostlyclean in libgui" ; \
23007 (cd $(HOST_SUBDIR)/libgui && \
23008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23010 "RANLIB=$${RANLIB}" \
23011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23012 mostlyclean) \
23013 || exit 1
23015 @endif libgui
23017 .PHONY: maybe-clean-libgui clean-libgui
23018 maybe-clean-libgui:
23019 @if libgui
23020 maybe-clean-libgui: clean-libgui
23022 clean-libgui:
23023 @: $(MAKE); $(unstage)
23024 @[ -f ./libgui/Makefile ] || exit 0; \
23025 r=`${PWD_COMMAND}`; export r; \
23026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23027 $(HOST_EXPORTS) \
23028 for flag in $(EXTRA_HOST_FLAGS) ; do \
23029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23030 done; \
23031 echo "Doing clean in libgui" ; \
23032 (cd $(HOST_SUBDIR)/libgui && \
23033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23035 "RANLIB=$${RANLIB}" \
23036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23037 clean) \
23038 || exit 1
23040 @endif libgui
23042 .PHONY: maybe-distclean-libgui distclean-libgui
23043 maybe-distclean-libgui:
23044 @if libgui
23045 maybe-distclean-libgui: distclean-libgui
23047 distclean-libgui:
23048 @: $(MAKE); $(unstage)
23049 @[ -f ./libgui/Makefile ] || exit 0; \
23050 r=`${PWD_COMMAND}`; export r; \
23051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23052 $(HOST_EXPORTS) \
23053 for flag in $(EXTRA_HOST_FLAGS) ; do \
23054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23055 done; \
23056 echo "Doing distclean in libgui" ; \
23057 (cd $(HOST_SUBDIR)/libgui && \
23058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23060 "RANLIB=$${RANLIB}" \
23061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23062 distclean) \
23063 || exit 1
23065 @endif libgui
23067 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
23068 maybe-maintainer-clean-libgui:
23069 @if libgui
23070 maybe-maintainer-clean-libgui: maintainer-clean-libgui
23072 maintainer-clean-libgui:
23073 @: $(MAKE); $(unstage)
23074 @[ -f ./libgui/Makefile ] || exit 0; \
23075 r=`${PWD_COMMAND}`; export r; \
23076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23077 $(HOST_EXPORTS) \
23078 for flag in $(EXTRA_HOST_FLAGS) ; do \
23079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23080 done; \
23081 echo "Doing maintainer-clean in libgui" ; \
23082 (cd $(HOST_SUBDIR)/libgui && \
23083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23085 "RANLIB=$${RANLIB}" \
23086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23087 maintainer-clean) \
23088 || exit 1
23090 @endif libgui
23094 .PHONY: configure-libiberty maybe-configure-libiberty
23095 maybe-configure-libiberty:
23096 @if gcc-bootstrap
23097 configure-libiberty: stage_current
23098 @endif gcc-bootstrap
23099 @if libiberty
23100 maybe-configure-libiberty: configure-libiberty
23101 configure-libiberty:
23102 @r=`${PWD_COMMAND}`; export r; \
23103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23104 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
23105 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
23106 $(HOST_EXPORTS) \
23107 echo Configuring in $(HOST_SUBDIR)/libiberty; \
23108 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
23109 case $(srcdir) in \
23110 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23111 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
23112 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23113 esac; \
23114 module_srcdir=libiberty; \
23115 $(SHELL) \
23116 $$s/$$module_srcdir/configure \
23117 --srcdir=$${topdir}/$$module_srcdir \
23118 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23119 --target=${target_alias} @extra_host_libiberty_configure_flags@ \
23120 || exit 1
23121 @endif libiberty
23125 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
23126 maybe-configure-stage1-libiberty:
23127 @if libiberty-bootstrap
23128 maybe-configure-stage1-libiberty: configure-stage1-libiberty
23129 configure-stage1-libiberty:
23130 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
23131 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
23132 @r=`${PWD_COMMAND}`; export r; \
23133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23134 TFLAGS="$(STAGE1_TFLAGS)"; \
23135 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
23136 $(HOST_EXPORTS) \
23137 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
23138 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
23139 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
23140 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
23141 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
23142 cd $(HOST_SUBDIR)/libiberty || exit 1; \
23143 case $(srcdir) in \
23144 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23145 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
23146 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23147 esac; \
23148 module_srcdir=libiberty; \
23149 $(SHELL) $$s/$$module_srcdir/configure \
23150 --srcdir=$${topdir}/$$module_srcdir \
23151 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23152 --target=${target_alias} \
23154 $(STAGE1_CONFIGURE_FLAGS) \
23155 @extra_host_libiberty_configure_flags@
23156 @endif libiberty-bootstrap
23158 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
23159 maybe-configure-stage2-libiberty:
23160 @if libiberty-bootstrap
23161 maybe-configure-stage2-libiberty: configure-stage2-libiberty
23162 configure-stage2-libiberty:
23163 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23164 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
23165 @r=`${PWD_COMMAND}`; export r; \
23166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23167 TFLAGS="$(STAGE2_TFLAGS)"; \
23168 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
23169 $(HOST_EXPORTS) \
23170 $(POSTSTAGE1_HOST_EXPORTS) \
23171 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
23172 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
23173 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
23174 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
23175 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
23176 cd $(HOST_SUBDIR)/libiberty || exit 1; \
23177 case $(srcdir) in \
23178 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23179 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
23180 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23181 esac; \
23182 module_srcdir=libiberty; \
23183 $(SHELL) $$s/$$module_srcdir/configure \
23184 --srcdir=$${topdir}/$$module_srcdir \
23185 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23186 --target=${target_alias} \
23187 --with-build-libsubdir=$(HOST_SUBDIR) \
23188 $(STAGE2_CONFIGURE_FLAGS) \
23189 @extra_host_libiberty_configure_flags@
23190 @endif libiberty-bootstrap
23192 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
23193 maybe-configure-stage3-libiberty:
23194 @if libiberty-bootstrap
23195 maybe-configure-stage3-libiberty: configure-stage3-libiberty
23196 configure-stage3-libiberty:
23197 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
23198 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
23199 @r=`${PWD_COMMAND}`; export r; \
23200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23201 TFLAGS="$(STAGE3_TFLAGS)"; \
23202 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
23203 $(HOST_EXPORTS) \
23204 $(POSTSTAGE1_HOST_EXPORTS) \
23205 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
23206 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
23207 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
23208 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
23209 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
23210 cd $(HOST_SUBDIR)/libiberty || exit 1; \
23211 case $(srcdir) in \
23212 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23213 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
23214 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23215 esac; \
23216 module_srcdir=libiberty; \
23217 $(SHELL) $$s/$$module_srcdir/configure \
23218 --srcdir=$${topdir}/$$module_srcdir \
23219 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23220 --target=${target_alias} \
23221 --with-build-libsubdir=$(HOST_SUBDIR) \
23222 $(STAGE3_CONFIGURE_FLAGS) \
23223 @extra_host_libiberty_configure_flags@
23224 @endif libiberty-bootstrap
23226 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
23227 maybe-configure-stage4-libiberty:
23228 @if libiberty-bootstrap
23229 maybe-configure-stage4-libiberty: configure-stage4-libiberty
23230 configure-stage4-libiberty:
23231 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23232 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
23233 @r=`${PWD_COMMAND}`; export r; \
23234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23235 TFLAGS="$(STAGE4_TFLAGS)"; \
23236 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
23237 $(HOST_EXPORTS) \
23238 $(POSTSTAGE1_HOST_EXPORTS) \
23239 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
23240 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
23241 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
23242 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
23243 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
23244 cd $(HOST_SUBDIR)/libiberty || exit 1; \
23245 case $(srcdir) in \
23246 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23247 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
23248 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23249 esac; \
23250 module_srcdir=libiberty; \
23251 $(SHELL) $$s/$$module_srcdir/configure \
23252 --srcdir=$${topdir}/$$module_srcdir \
23253 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23254 --target=${target_alias} \
23255 --with-build-libsubdir=$(HOST_SUBDIR) \
23256 $(STAGE4_CONFIGURE_FLAGS) \
23257 @extra_host_libiberty_configure_flags@
23258 @endif libiberty-bootstrap
23260 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
23261 maybe-configure-stageprofile-libiberty:
23262 @if libiberty-bootstrap
23263 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
23264 configure-stageprofile-libiberty:
23265 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23266 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
23267 @r=`${PWD_COMMAND}`; export r; \
23268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23269 TFLAGS="$(STAGEprofile_TFLAGS)"; \
23270 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
23271 $(HOST_EXPORTS) \
23272 $(POSTSTAGE1_HOST_EXPORTS) \
23273 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
23274 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
23275 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
23276 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
23277 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
23278 cd $(HOST_SUBDIR)/libiberty || exit 1; \
23279 case $(srcdir) in \
23280 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23281 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
23282 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23283 esac; \
23284 module_srcdir=libiberty; \
23285 $(SHELL) $$s/$$module_srcdir/configure \
23286 --srcdir=$${topdir}/$$module_srcdir \
23287 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23288 --target=${target_alias} \
23289 --with-build-libsubdir=$(HOST_SUBDIR) \
23290 $(STAGEprofile_CONFIGURE_FLAGS) \
23291 @extra_host_libiberty_configure_flags@
23292 @endif libiberty-bootstrap
23294 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
23295 maybe-configure-stagefeedback-libiberty:
23296 @if libiberty-bootstrap
23297 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
23298 configure-stagefeedback-libiberty:
23299 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23300 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
23301 @r=`${PWD_COMMAND}`; export r; \
23302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23303 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23304 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
23305 $(HOST_EXPORTS) \
23306 $(POSTSTAGE1_HOST_EXPORTS) \
23307 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
23308 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
23309 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
23310 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
23311 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
23312 cd $(HOST_SUBDIR)/libiberty || exit 1; \
23313 case $(srcdir) in \
23314 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23315 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
23316 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23317 esac; \
23318 module_srcdir=libiberty; \
23319 $(SHELL) $$s/$$module_srcdir/configure \
23320 --srcdir=$${topdir}/$$module_srcdir \
23321 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23322 --target=${target_alias} \
23323 --with-build-libsubdir=$(HOST_SUBDIR) \
23324 $(STAGEfeedback_CONFIGURE_FLAGS) \
23325 @extra_host_libiberty_configure_flags@
23326 @endif libiberty-bootstrap
23332 .PHONY: all-libiberty maybe-all-libiberty
23333 maybe-all-libiberty:
23334 @if gcc-bootstrap
23335 all-libiberty: stage_current
23336 @endif gcc-bootstrap
23337 @if libiberty
23338 TARGET-libiberty=all
23339 maybe-all-libiberty: all-libiberty
23340 all-libiberty: configure-libiberty
23341 @r=`${PWD_COMMAND}`; export r; \
23342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23343 $(HOST_EXPORTS) \
23344 (cd $(HOST_SUBDIR)/libiberty && \
23345 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
23346 $(TARGET-libiberty))
23347 @endif libiberty
23351 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
23352 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
23353 maybe-all-stage1-libiberty:
23354 maybe-clean-stage1-libiberty:
23355 @if libiberty-bootstrap
23356 maybe-all-stage1-libiberty: all-stage1-libiberty
23357 all-stage1: all-stage1-libiberty
23358 TARGET-stage1-libiberty = $(TARGET-libiberty)
23359 all-stage1-libiberty: configure-stage1-libiberty
23360 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
23361 @r=`${PWD_COMMAND}`; export r; \
23362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23363 TFLAGS="$(STAGE1_TFLAGS)"; \
23364 $(HOST_EXPORTS) \
23365 cd $(HOST_SUBDIR)/libiberty && \
23366 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23367 CFLAGS="$(STAGE1_CFLAGS)" \
23368 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
23369 LIBCFLAGS="$(LIBCFLAGS)" \
23370 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23371 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23372 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23373 $(EXTRA_HOST_FLAGS) \
23374 $(STAGE1_FLAGS_TO_PASS) \
23375 TFLAGS="$(STAGE1_TFLAGS)" \
23376 $(TARGET-stage1-libiberty)
23378 maybe-clean-stage1-libiberty: clean-stage1-libiberty
23379 clean-stage1: clean-stage1-libiberty
23380 clean-stage1-libiberty:
23381 @if [ $(current_stage) = stage1 ]; then \
23382 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
23383 else \
23384 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
23385 $(MAKE) stage1-start; \
23386 fi; \
23387 cd $(HOST_SUBDIR)/libiberty && \
23388 $(MAKE) $(EXTRA_HOST_FLAGS) \
23389 $(STAGE1_FLAGS_TO_PASS) clean
23390 @endif libiberty-bootstrap
23393 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
23394 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
23395 maybe-all-stage2-libiberty:
23396 maybe-clean-stage2-libiberty:
23397 @if libiberty-bootstrap
23398 maybe-all-stage2-libiberty: all-stage2-libiberty
23399 all-stage2: all-stage2-libiberty
23400 TARGET-stage2-libiberty = $(TARGET-libiberty)
23401 all-stage2-libiberty: configure-stage2-libiberty
23402 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23403 @r=`${PWD_COMMAND}`; export r; \
23404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23405 TFLAGS="$(STAGE2_TFLAGS)"; \
23406 $(HOST_EXPORTS) \
23407 $(POSTSTAGE1_HOST_EXPORTS) \
23408 cd $(HOST_SUBDIR)/libiberty && \
23409 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23410 CFLAGS="$(STAGE2_CFLAGS)" \
23411 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
23412 LIBCFLAGS="$(STAGE2_CFLAGS)" \
23413 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23414 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23415 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23416 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23417 TFLAGS="$(STAGE2_TFLAGS)" \
23418 $(TARGET-stage2-libiberty)
23420 maybe-clean-stage2-libiberty: clean-stage2-libiberty
23421 clean-stage2: clean-stage2-libiberty
23422 clean-stage2-libiberty:
23423 @if [ $(current_stage) = stage2 ]; then \
23424 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
23425 else \
23426 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
23427 $(MAKE) stage2-start; \
23428 fi; \
23429 cd $(HOST_SUBDIR)/libiberty && \
23430 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23431 @endif libiberty-bootstrap
23434 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
23435 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
23436 maybe-all-stage3-libiberty:
23437 maybe-clean-stage3-libiberty:
23438 @if libiberty-bootstrap
23439 maybe-all-stage3-libiberty: all-stage3-libiberty
23440 all-stage3: all-stage3-libiberty
23441 TARGET-stage3-libiberty = $(TARGET-libiberty)
23442 all-stage3-libiberty: configure-stage3-libiberty
23443 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
23444 @r=`${PWD_COMMAND}`; export r; \
23445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23446 TFLAGS="$(STAGE3_TFLAGS)"; \
23447 $(HOST_EXPORTS) \
23448 $(POSTSTAGE1_HOST_EXPORTS) \
23449 cd $(HOST_SUBDIR)/libiberty && \
23450 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23451 CFLAGS="$(STAGE3_CFLAGS)" \
23452 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
23453 LIBCFLAGS="$(STAGE3_CFLAGS)" \
23454 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23455 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23456 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23457 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23458 TFLAGS="$(STAGE3_TFLAGS)" \
23459 $(TARGET-stage3-libiberty)
23461 maybe-clean-stage3-libiberty: clean-stage3-libiberty
23462 clean-stage3: clean-stage3-libiberty
23463 clean-stage3-libiberty:
23464 @if [ $(current_stage) = stage3 ]; then \
23465 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
23466 else \
23467 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
23468 $(MAKE) stage3-start; \
23469 fi; \
23470 cd $(HOST_SUBDIR)/libiberty && \
23471 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23472 @endif libiberty-bootstrap
23475 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
23476 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
23477 maybe-all-stage4-libiberty:
23478 maybe-clean-stage4-libiberty:
23479 @if libiberty-bootstrap
23480 maybe-all-stage4-libiberty: all-stage4-libiberty
23481 all-stage4: all-stage4-libiberty
23482 TARGET-stage4-libiberty = $(TARGET-libiberty)
23483 all-stage4-libiberty: configure-stage4-libiberty
23484 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23485 @r=`${PWD_COMMAND}`; export r; \
23486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23487 TFLAGS="$(STAGE4_TFLAGS)"; \
23488 $(HOST_EXPORTS) \
23489 $(POSTSTAGE1_HOST_EXPORTS) \
23490 cd $(HOST_SUBDIR)/libiberty && \
23491 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23492 CFLAGS="$(STAGE4_CFLAGS)" \
23493 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
23494 LIBCFLAGS="$(STAGE4_CFLAGS)" \
23495 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23496 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23497 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23498 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23499 TFLAGS="$(STAGE4_TFLAGS)" \
23500 $(TARGET-stage4-libiberty)
23502 maybe-clean-stage4-libiberty: clean-stage4-libiberty
23503 clean-stage4: clean-stage4-libiberty
23504 clean-stage4-libiberty:
23505 @if [ $(current_stage) = stage4 ]; then \
23506 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
23507 else \
23508 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
23509 $(MAKE) stage4-start; \
23510 fi; \
23511 cd $(HOST_SUBDIR)/libiberty && \
23512 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23513 @endif libiberty-bootstrap
23516 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
23517 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
23518 maybe-all-stageprofile-libiberty:
23519 maybe-clean-stageprofile-libiberty:
23520 @if libiberty-bootstrap
23521 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
23522 all-stageprofile: all-stageprofile-libiberty
23523 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
23524 all-stageprofile-libiberty: configure-stageprofile-libiberty
23525 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23526 @r=`${PWD_COMMAND}`; export r; \
23527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23528 TFLAGS="$(STAGEprofile_TFLAGS)"; \
23529 $(HOST_EXPORTS) \
23530 $(POSTSTAGE1_HOST_EXPORTS) \
23531 cd $(HOST_SUBDIR)/libiberty && \
23532 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23533 CFLAGS="$(STAGEprofile_CFLAGS)" \
23534 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
23535 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
23536 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23537 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23538 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23539 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23540 TFLAGS="$(STAGEprofile_TFLAGS)" \
23541 $(TARGET-stageprofile-libiberty)
23543 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
23544 clean-stageprofile: clean-stageprofile-libiberty
23545 clean-stageprofile-libiberty:
23546 @if [ $(current_stage) = stageprofile ]; then \
23547 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
23548 else \
23549 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
23550 $(MAKE) stageprofile-start; \
23551 fi; \
23552 cd $(HOST_SUBDIR)/libiberty && \
23553 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23554 @endif libiberty-bootstrap
23557 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
23558 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
23559 maybe-all-stagefeedback-libiberty:
23560 maybe-clean-stagefeedback-libiberty:
23561 @if libiberty-bootstrap
23562 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
23563 all-stagefeedback: all-stagefeedback-libiberty
23564 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
23565 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
23566 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23567 @r=`${PWD_COMMAND}`; export r; \
23568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23569 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23570 $(HOST_EXPORTS) \
23571 $(POSTSTAGE1_HOST_EXPORTS) \
23572 cd $(HOST_SUBDIR)/libiberty && \
23573 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23574 CFLAGS="$(STAGEfeedback_CFLAGS)" \
23575 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
23576 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
23577 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23578 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23579 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23580 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23581 TFLAGS="$(STAGEfeedback_TFLAGS)" \
23582 $(TARGET-stagefeedback-libiberty)
23584 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
23585 clean-stagefeedback: clean-stagefeedback-libiberty
23586 clean-stagefeedback-libiberty:
23587 @if [ $(current_stage) = stagefeedback ]; then \
23588 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
23589 else \
23590 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
23591 $(MAKE) stagefeedback-start; \
23592 fi; \
23593 cd $(HOST_SUBDIR)/libiberty && \
23594 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23595 @endif libiberty-bootstrap
23601 .PHONY: check-libiberty maybe-check-libiberty
23602 maybe-check-libiberty:
23603 @if libiberty
23604 maybe-check-libiberty: check-libiberty
23606 check-libiberty:
23607 @: $(MAKE); $(unstage)
23608 @r=`${PWD_COMMAND}`; export r; \
23609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23610 $(HOST_EXPORTS) \
23611 (cd $(HOST_SUBDIR)/libiberty && \
23612 $(MAKE) $(FLAGS_TO_PASS) check)
23614 @endif libiberty
23616 .PHONY: install-libiberty maybe-install-libiberty
23617 maybe-install-libiberty:
23618 @if libiberty
23619 maybe-install-libiberty: install-libiberty
23621 install-libiberty: installdirs
23622 @: $(MAKE); $(unstage)
23623 @r=`${PWD_COMMAND}`; export r; \
23624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23625 $(HOST_EXPORTS) \
23626 (cd $(HOST_SUBDIR)/libiberty && \
23627 $(MAKE) $(FLAGS_TO_PASS) install)
23629 @endif libiberty
23631 .PHONY: install-strip-libiberty maybe-install-strip-libiberty
23632 maybe-install-strip-libiberty:
23633 @if libiberty
23634 maybe-install-strip-libiberty: install-strip-libiberty
23636 install-strip-libiberty: installdirs
23637 @: $(MAKE); $(unstage)
23638 @r=`${PWD_COMMAND}`; export r; \
23639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23640 $(HOST_EXPORTS) \
23641 (cd $(HOST_SUBDIR)/libiberty && \
23642 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23644 @endif libiberty
23646 # Other targets (info, dvi, pdf, etc.)
23648 .PHONY: maybe-info-libiberty info-libiberty
23649 maybe-info-libiberty:
23650 @if libiberty
23651 maybe-info-libiberty: info-libiberty
23653 info-libiberty: \
23654 configure-libiberty
23655 @[ -f ./libiberty/Makefile ] || exit 0; \
23656 r=`${PWD_COMMAND}`; export r; \
23657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23658 $(HOST_EXPORTS) \
23659 for flag in $(EXTRA_HOST_FLAGS) ; do \
23660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23661 done; \
23662 echo "Doing info in libiberty" ; \
23663 (cd $(HOST_SUBDIR)/libiberty && \
23664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23666 "RANLIB=$${RANLIB}" \
23667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23668 info) \
23669 || exit 1
23671 @endif libiberty
23673 .PHONY: maybe-dvi-libiberty dvi-libiberty
23674 maybe-dvi-libiberty:
23675 @if libiberty
23676 maybe-dvi-libiberty: dvi-libiberty
23678 dvi-libiberty: \
23679 configure-libiberty
23680 @[ -f ./libiberty/Makefile ] || exit 0; \
23681 r=`${PWD_COMMAND}`; export r; \
23682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23683 $(HOST_EXPORTS) \
23684 for flag in $(EXTRA_HOST_FLAGS) ; do \
23685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23686 done; \
23687 echo "Doing dvi in libiberty" ; \
23688 (cd $(HOST_SUBDIR)/libiberty && \
23689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23691 "RANLIB=$${RANLIB}" \
23692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23693 dvi) \
23694 || exit 1
23696 @endif libiberty
23698 .PHONY: maybe-pdf-libiberty pdf-libiberty
23699 maybe-pdf-libiberty:
23700 @if libiberty
23701 maybe-pdf-libiberty: pdf-libiberty
23703 pdf-libiberty: \
23704 configure-libiberty
23705 @[ -f ./libiberty/Makefile ] || exit 0; \
23706 r=`${PWD_COMMAND}`; export r; \
23707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23708 $(HOST_EXPORTS) \
23709 for flag in $(EXTRA_HOST_FLAGS) ; do \
23710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23711 done; \
23712 echo "Doing pdf in libiberty" ; \
23713 (cd $(HOST_SUBDIR)/libiberty && \
23714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23716 "RANLIB=$${RANLIB}" \
23717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23718 pdf) \
23719 || exit 1
23721 @endif libiberty
23723 .PHONY: maybe-html-libiberty html-libiberty
23724 maybe-html-libiberty:
23725 @if libiberty
23726 maybe-html-libiberty: html-libiberty
23728 html-libiberty: \
23729 configure-libiberty
23730 @[ -f ./libiberty/Makefile ] || exit 0; \
23731 r=`${PWD_COMMAND}`; export r; \
23732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23733 $(HOST_EXPORTS) \
23734 for flag in $(EXTRA_HOST_FLAGS) ; do \
23735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23736 done; \
23737 echo "Doing html in libiberty" ; \
23738 (cd $(HOST_SUBDIR)/libiberty && \
23739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23741 "RANLIB=$${RANLIB}" \
23742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23743 html) \
23744 || exit 1
23746 @endif libiberty
23748 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
23749 maybe-TAGS-libiberty:
23750 @if libiberty
23751 maybe-TAGS-libiberty: TAGS-libiberty
23753 TAGS-libiberty: \
23754 configure-libiberty
23755 @[ -f ./libiberty/Makefile ] || exit 0; \
23756 r=`${PWD_COMMAND}`; export r; \
23757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23758 $(HOST_EXPORTS) \
23759 for flag in $(EXTRA_HOST_FLAGS) ; do \
23760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23761 done; \
23762 echo "Doing TAGS in libiberty" ; \
23763 (cd $(HOST_SUBDIR)/libiberty && \
23764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23766 "RANLIB=$${RANLIB}" \
23767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23768 TAGS) \
23769 || exit 1
23771 @endif libiberty
23773 .PHONY: maybe-install-info-libiberty install-info-libiberty
23774 maybe-install-info-libiberty:
23775 @if libiberty
23776 maybe-install-info-libiberty: install-info-libiberty
23778 install-info-libiberty: \
23779 configure-libiberty \
23780 info-libiberty
23781 @[ -f ./libiberty/Makefile ] || exit 0; \
23782 r=`${PWD_COMMAND}`; export r; \
23783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23784 $(HOST_EXPORTS) \
23785 for flag in $(EXTRA_HOST_FLAGS) ; do \
23786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23787 done; \
23788 echo "Doing install-info in libiberty" ; \
23789 (cd $(HOST_SUBDIR)/libiberty && \
23790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23792 "RANLIB=$${RANLIB}" \
23793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23794 install-info) \
23795 || exit 1
23797 @endif libiberty
23799 .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty
23800 maybe-install-pdf-libiberty:
23801 @if libiberty
23802 maybe-install-pdf-libiberty: install-pdf-libiberty
23804 install-pdf-libiberty: \
23805 configure-libiberty \
23806 pdf-libiberty
23807 @[ -f ./libiberty/Makefile ] || exit 0; \
23808 r=`${PWD_COMMAND}`; export r; \
23809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23810 $(HOST_EXPORTS) \
23811 for flag in $(EXTRA_HOST_FLAGS) ; do \
23812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23813 done; \
23814 echo "Doing install-pdf in libiberty" ; \
23815 (cd $(HOST_SUBDIR)/libiberty && \
23816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23818 "RANLIB=$${RANLIB}" \
23819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23820 install-pdf) \
23821 || exit 1
23823 @endif libiberty
23825 .PHONY: maybe-install-html-libiberty install-html-libiberty
23826 maybe-install-html-libiberty:
23827 @if libiberty
23828 maybe-install-html-libiberty: install-html-libiberty
23830 install-html-libiberty: \
23831 configure-libiberty \
23832 html-libiberty
23833 @[ -f ./libiberty/Makefile ] || exit 0; \
23834 r=`${PWD_COMMAND}`; export r; \
23835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23836 $(HOST_EXPORTS) \
23837 for flag in $(EXTRA_HOST_FLAGS) ; do \
23838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23839 done; \
23840 echo "Doing install-html in libiberty" ; \
23841 (cd $(HOST_SUBDIR)/libiberty && \
23842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23844 "RANLIB=$${RANLIB}" \
23845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23846 install-html) \
23847 || exit 1
23849 @endif libiberty
23851 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
23852 maybe-installcheck-libiberty:
23853 @if libiberty
23854 maybe-installcheck-libiberty: installcheck-libiberty
23856 installcheck-libiberty: \
23857 configure-libiberty
23858 @[ -f ./libiberty/Makefile ] || exit 0; \
23859 r=`${PWD_COMMAND}`; export r; \
23860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23861 $(HOST_EXPORTS) \
23862 for flag in $(EXTRA_HOST_FLAGS) ; do \
23863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23864 done; \
23865 echo "Doing installcheck in libiberty" ; \
23866 (cd $(HOST_SUBDIR)/libiberty && \
23867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23869 "RANLIB=$${RANLIB}" \
23870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23871 installcheck) \
23872 || exit 1
23874 @endif libiberty
23876 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
23877 maybe-mostlyclean-libiberty:
23878 @if libiberty
23879 maybe-mostlyclean-libiberty: mostlyclean-libiberty
23881 mostlyclean-libiberty:
23882 @[ -f ./libiberty/Makefile ] || exit 0; \
23883 r=`${PWD_COMMAND}`; export r; \
23884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23885 $(HOST_EXPORTS) \
23886 for flag in $(EXTRA_HOST_FLAGS) ; do \
23887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23888 done; \
23889 echo "Doing mostlyclean in libiberty" ; \
23890 (cd $(HOST_SUBDIR)/libiberty && \
23891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23893 "RANLIB=$${RANLIB}" \
23894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23895 mostlyclean) \
23896 || exit 1
23898 @endif libiberty
23900 .PHONY: maybe-clean-libiberty clean-libiberty
23901 maybe-clean-libiberty:
23902 @if libiberty
23903 maybe-clean-libiberty: clean-libiberty
23905 clean-libiberty:
23906 @[ -f ./libiberty/Makefile ] || exit 0; \
23907 r=`${PWD_COMMAND}`; export r; \
23908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23909 $(HOST_EXPORTS) \
23910 for flag in $(EXTRA_HOST_FLAGS) ; do \
23911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23912 done; \
23913 echo "Doing clean in libiberty" ; \
23914 (cd $(HOST_SUBDIR)/libiberty && \
23915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23917 "RANLIB=$${RANLIB}" \
23918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23919 clean) \
23920 || exit 1
23922 @endif libiberty
23924 .PHONY: maybe-distclean-libiberty distclean-libiberty
23925 maybe-distclean-libiberty:
23926 @if libiberty
23927 maybe-distclean-libiberty: distclean-libiberty
23929 distclean-libiberty:
23930 @[ -f ./libiberty/Makefile ] || exit 0; \
23931 r=`${PWD_COMMAND}`; export r; \
23932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23933 $(HOST_EXPORTS) \
23934 for flag in $(EXTRA_HOST_FLAGS) ; do \
23935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23936 done; \
23937 echo "Doing distclean in libiberty" ; \
23938 (cd $(HOST_SUBDIR)/libiberty && \
23939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23941 "RANLIB=$${RANLIB}" \
23942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23943 distclean) \
23944 || exit 1
23946 @endif libiberty
23948 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
23949 maybe-maintainer-clean-libiberty:
23950 @if libiberty
23951 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
23953 maintainer-clean-libiberty:
23954 @[ -f ./libiberty/Makefile ] || exit 0; \
23955 r=`${PWD_COMMAND}`; export r; \
23956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23957 $(HOST_EXPORTS) \
23958 for flag in $(EXTRA_HOST_FLAGS) ; do \
23959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23960 done; \
23961 echo "Doing maintainer-clean in libiberty" ; \
23962 (cd $(HOST_SUBDIR)/libiberty && \
23963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23965 "RANLIB=$${RANLIB}" \
23966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23967 maintainer-clean) \
23968 || exit 1
23970 @endif libiberty
23974 .PHONY: configure-libiberty-linker-plugin maybe-configure-libiberty-linker-plugin
23975 maybe-configure-libiberty-linker-plugin:
23976 @if gcc-bootstrap
23977 configure-libiberty-linker-plugin: stage_current
23978 @endif gcc-bootstrap
23979 @if libiberty-linker-plugin
23980 maybe-configure-libiberty-linker-plugin: configure-libiberty-linker-plugin
23981 configure-libiberty-linker-plugin:
23982 @r=`${PWD_COMMAND}`; export r; \
23983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23984 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
23985 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23986 $(HOST_EXPORTS) \
23987 echo Configuring in $(HOST_SUBDIR)/libiberty-linker-plugin; \
23988 cd "$(HOST_SUBDIR)/libiberty-linker-plugin" || exit 1; \
23989 case $(srcdir) in \
23990 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23991 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
23992 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23993 esac; \
23994 module_srcdir=libiberty; \
23995 $(SHELL) \
23996 $$s/$$module_srcdir/configure \
23997 --srcdir=$${topdir}/$$module_srcdir \
23998 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23999 --target=${target_alias} @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ \
24000 || exit 1
24001 @endif libiberty-linker-plugin
24005 .PHONY: configure-stage1-libiberty-linker-plugin maybe-configure-stage1-libiberty-linker-plugin
24006 maybe-configure-stage1-libiberty-linker-plugin:
24007 @if libiberty-linker-plugin-bootstrap
24008 maybe-configure-stage1-libiberty-linker-plugin: configure-stage1-libiberty-linker-plugin
24009 configure-stage1-libiberty-linker-plugin:
24010 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
24011 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
24012 @r=`${PWD_COMMAND}`; export r; \
24013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24014 TFLAGS="$(STAGE1_TFLAGS)"; \
24015 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
24016 $(HOST_EXPORTS) \
24017 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
24018 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
24019 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
24020 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty-linker-plugin ; \
24021 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
24022 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
24023 case $(srcdir) in \
24024 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24025 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
24026 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24027 esac; \
24028 module_srcdir=libiberty; \
24029 $(SHELL) $$s/$$module_srcdir/configure \
24030 --srcdir=$${topdir}/$$module_srcdir \
24031 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24032 --target=${target_alias} \
24034 $(STAGE1_CONFIGURE_FLAGS) \
24035 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
24036 @endif libiberty-linker-plugin-bootstrap
24038 .PHONY: configure-stage2-libiberty-linker-plugin maybe-configure-stage2-libiberty-linker-plugin
24039 maybe-configure-stage2-libiberty-linker-plugin:
24040 @if libiberty-linker-plugin-bootstrap
24041 maybe-configure-stage2-libiberty-linker-plugin: configure-stage2-libiberty-linker-plugin
24042 configure-stage2-libiberty-linker-plugin:
24043 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
24044 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
24045 @r=`${PWD_COMMAND}`; export r; \
24046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24047 TFLAGS="$(STAGE2_TFLAGS)"; \
24048 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
24049 $(HOST_EXPORTS) \
24050 $(POSTSTAGE1_HOST_EXPORTS) \
24051 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
24052 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
24053 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
24054 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty-linker-plugin ; \
24055 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
24056 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
24057 case $(srcdir) in \
24058 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24059 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
24060 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24061 esac; \
24062 module_srcdir=libiberty; \
24063 $(SHELL) $$s/$$module_srcdir/configure \
24064 --srcdir=$${topdir}/$$module_srcdir \
24065 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24066 --target=${target_alias} \
24067 --with-build-libsubdir=$(HOST_SUBDIR) \
24068 $(STAGE2_CONFIGURE_FLAGS) \
24069 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
24070 @endif libiberty-linker-plugin-bootstrap
24072 .PHONY: configure-stage3-libiberty-linker-plugin maybe-configure-stage3-libiberty-linker-plugin
24073 maybe-configure-stage3-libiberty-linker-plugin:
24074 @if libiberty-linker-plugin-bootstrap
24075 maybe-configure-stage3-libiberty-linker-plugin: configure-stage3-libiberty-linker-plugin
24076 configure-stage3-libiberty-linker-plugin:
24077 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
24078 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
24079 @r=`${PWD_COMMAND}`; export r; \
24080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24081 TFLAGS="$(STAGE3_TFLAGS)"; \
24082 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
24083 $(HOST_EXPORTS) \
24084 $(POSTSTAGE1_HOST_EXPORTS) \
24085 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
24086 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
24087 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
24088 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty-linker-plugin ; \
24089 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
24090 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
24091 case $(srcdir) in \
24092 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24093 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
24094 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24095 esac; \
24096 module_srcdir=libiberty; \
24097 $(SHELL) $$s/$$module_srcdir/configure \
24098 --srcdir=$${topdir}/$$module_srcdir \
24099 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24100 --target=${target_alias} \
24101 --with-build-libsubdir=$(HOST_SUBDIR) \
24102 $(STAGE3_CONFIGURE_FLAGS) \
24103 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
24104 @endif libiberty-linker-plugin-bootstrap
24106 .PHONY: configure-stage4-libiberty-linker-plugin maybe-configure-stage4-libiberty-linker-plugin
24107 maybe-configure-stage4-libiberty-linker-plugin:
24108 @if libiberty-linker-plugin-bootstrap
24109 maybe-configure-stage4-libiberty-linker-plugin: configure-stage4-libiberty-linker-plugin
24110 configure-stage4-libiberty-linker-plugin:
24111 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
24112 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
24113 @r=`${PWD_COMMAND}`; export r; \
24114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24115 TFLAGS="$(STAGE4_TFLAGS)"; \
24116 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
24117 $(HOST_EXPORTS) \
24118 $(POSTSTAGE1_HOST_EXPORTS) \
24119 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
24120 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
24121 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
24122 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty-linker-plugin ; \
24123 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
24124 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
24125 case $(srcdir) in \
24126 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24127 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
24128 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24129 esac; \
24130 module_srcdir=libiberty; \
24131 $(SHELL) $$s/$$module_srcdir/configure \
24132 --srcdir=$${topdir}/$$module_srcdir \
24133 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24134 --target=${target_alias} \
24135 --with-build-libsubdir=$(HOST_SUBDIR) \
24136 $(STAGE4_CONFIGURE_FLAGS) \
24137 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
24138 @endif libiberty-linker-plugin-bootstrap
24140 .PHONY: configure-stageprofile-libiberty-linker-plugin maybe-configure-stageprofile-libiberty-linker-plugin
24141 maybe-configure-stageprofile-libiberty-linker-plugin:
24142 @if libiberty-linker-plugin-bootstrap
24143 maybe-configure-stageprofile-libiberty-linker-plugin: configure-stageprofile-libiberty-linker-plugin
24144 configure-stageprofile-libiberty-linker-plugin:
24145 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
24146 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
24147 @r=`${PWD_COMMAND}`; export r; \
24148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24149 TFLAGS="$(STAGEprofile_TFLAGS)"; \
24150 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
24151 $(HOST_EXPORTS) \
24152 $(POSTSTAGE1_HOST_EXPORTS) \
24153 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
24154 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
24155 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
24156 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty-linker-plugin ; \
24157 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
24158 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
24159 case $(srcdir) in \
24160 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24161 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
24162 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24163 esac; \
24164 module_srcdir=libiberty; \
24165 $(SHELL) $$s/$$module_srcdir/configure \
24166 --srcdir=$${topdir}/$$module_srcdir \
24167 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24168 --target=${target_alias} \
24169 --with-build-libsubdir=$(HOST_SUBDIR) \
24170 $(STAGEprofile_CONFIGURE_FLAGS) \
24171 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
24172 @endif libiberty-linker-plugin-bootstrap
24174 .PHONY: configure-stagefeedback-libiberty-linker-plugin maybe-configure-stagefeedback-libiberty-linker-plugin
24175 maybe-configure-stagefeedback-libiberty-linker-plugin:
24176 @if libiberty-linker-plugin-bootstrap
24177 maybe-configure-stagefeedback-libiberty-linker-plugin: configure-stagefeedback-libiberty-linker-plugin
24178 configure-stagefeedback-libiberty-linker-plugin:
24179 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
24180 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
24181 @r=`${PWD_COMMAND}`; export r; \
24182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24183 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
24184 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
24185 $(HOST_EXPORTS) \
24186 $(POSTSTAGE1_HOST_EXPORTS) \
24187 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
24188 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
24189 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
24190 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty-linker-plugin ; \
24191 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
24192 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
24193 case $(srcdir) in \
24194 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24195 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
24196 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24197 esac; \
24198 module_srcdir=libiberty; \
24199 $(SHELL) $$s/$$module_srcdir/configure \
24200 --srcdir=$${topdir}/$$module_srcdir \
24201 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24202 --target=${target_alias} \
24203 --with-build-libsubdir=$(HOST_SUBDIR) \
24204 $(STAGEfeedback_CONFIGURE_FLAGS) \
24205 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
24206 @endif libiberty-linker-plugin-bootstrap
24212 .PHONY: all-libiberty-linker-plugin maybe-all-libiberty-linker-plugin
24213 maybe-all-libiberty-linker-plugin:
24214 @if gcc-bootstrap
24215 all-libiberty-linker-plugin: stage_current
24216 @endif gcc-bootstrap
24217 @if libiberty-linker-plugin
24218 TARGET-libiberty-linker-plugin=all
24219 maybe-all-libiberty-linker-plugin: all-libiberty-linker-plugin
24220 all-libiberty-linker-plugin: configure-libiberty-linker-plugin
24221 @r=`${PWD_COMMAND}`; export r; \
24222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24223 $(HOST_EXPORTS) \
24224 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24225 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
24226 $(TARGET-libiberty-linker-plugin))
24227 @endif libiberty-linker-plugin
24231 .PHONY: all-stage1-libiberty-linker-plugin maybe-all-stage1-libiberty-linker-plugin
24232 .PHONY: clean-stage1-libiberty-linker-plugin maybe-clean-stage1-libiberty-linker-plugin
24233 maybe-all-stage1-libiberty-linker-plugin:
24234 maybe-clean-stage1-libiberty-linker-plugin:
24235 @if libiberty-linker-plugin-bootstrap
24236 maybe-all-stage1-libiberty-linker-plugin: all-stage1-libiberty-linker-plugin
24237 all-stage1: all-stage1-libiberty-linker-plugin
24238 TARGET-stage1-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
24239 all-stage1-libiberty-linker-plugin: configure-stage1-libiberty-linker-plugin
24240 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
24241 @r=`${PWD_COMMAND}`; export r; \
24242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24243 TFLAGS="$(STAGE1_TFLAGS)"; \
24244 $(HOST_EXPORTS) \
24245 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24246 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24247 CFLAGS="$(STAGE1_CFLAGS)" \
24248 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
24249 LIBCFLAGS="$(LIBCFLAGS)" \
24250 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24251 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24252 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24253 $(EXTRA_HOST_FLAGS) \
24254 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
24255 TFLAGS="$(STAGE1_TFLAGS)" \
24256 $(TARGET-stage1-libiberty-linker-plugin)
24258 maybe-clean-stage1-libiberty-linker-plugin: clean-stage1-libiberty-linker-plugin
24259 clean-stage1: clean-stage1-libiberty-linker-plugin
24260 clean-stage1-libiberty-linker-plugin:
24261 @if [ $(current_stage) = stage1 ]; then \
24262 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
24263 else \
24264 [ -f $(HOST_SUBDIR)/stage1-libiberty-linker-plugin/Makefile ] || exit 0; \
24265 $(MAKE) stage1-start; \
24266 fi; \
24267 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24268 $(MAKE) $(EXTRA_HOST_FLAGS) \
24269 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
24270 @endif libiberty-linker-plugin-bootstrap
24273 .PHONY: all-stage2-libiberty-linker-plugin maybe-all-stage2-libiberty-linker-plugin
24274 .PHONY: clean-stage2-libiberty-linker-plugin maybe-clean-stage2-libiberty-linker-plugin
24275 maybe-all-stage2-libiberty-linker-plugin:
24276 maybe-clean-stage2-libiberty-linker-plugin:
24277 @if libiberty-linker-plugin-bootstrap
24278 maybe-all-stage2-libiberty-linker-plugin: all-stage2-libiberty-linker-plugin
24279 all-stage2: all-stage2-libiberty-linker-plugin
24280 TARGET-stage2-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
24281 all-stage2-libiberty-linker-plugin: configure-stage2-libiberty-linker-plugin
24282 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
24283 @r=`${PWD_COMMAND}`; export r; \
24284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24285 TFLAGS="$(STAGE2_TFLAGS)"; \
24286 $(HOST_EXPORTS) \
24287 $(POSTSTAGE1_HOST_EXPORTS) \
24288 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24289 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24290 CFLAGS="$(STAGE2_CFLAGS)" \
24291 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
24292 LIBCFLAGS="$(STAGE2_CFLAGS)" \
24293 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24294 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24295 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24296 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
24297 TFLAGS="$(STAGE2_TFLAGS)" \
24298 $(TARGET-stage2-libiberty-linker-plugin)
24300 maybe-clean-stage2-libiberty-linker-plugin: clean-stage2-libiberty-linker-plugin
24301 clean-stage2: clean-stage2-libiberty-linker-plugin
24302 clean-stage2-libiberty-linker-plugin:
24303 @if [ $(current_stage) = stage2 ]; then \
24304 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
24305 else \
24306 [ -f $(HOST_SUBDIR)/stage2-libiberty-linker-plugin/Makefile ] || exit 0; \
24307 $(MAKE) stage2-start; \
24308 fi; \
24309 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24310 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
24311 @endif libiberty-linker-plugin-bootstrap
24314 .PHONY: all-stage3-libiberty-linker-plugin maybe-all-stage3-libiberty-linker-plugin
24315 .PHONY: clean-stage3-libiberty-linker-plugin maybe-clean-stage3-libiberty-linker-plugin
24316 maybe-all-stage3-libiberty-linker-plugin:
24317 maybe-clean-stage3-libiberty-linker-plugin:
24318 @if libiberty-linker-plugin-bootstrap
24319 maybe-all-stage3-libiberty-linker-plugin: all-stage3-libiberty-linker-plugin
24320 all-stage3: all-stage3-libiberty-linker-plugin
24321 TARGET-stage3-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
24322 all-stage3-libiberty-linker-plugin: configure-stage3-libiberty-linker-plugin
24323 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
24324 @r=`${PWD_COMMAND}`; export r; \
24325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24326 TFLAGS="$(STAGE3_TFLAGS)"; \
24327 $(HOST_EXPORTS) \
24328 $(POSTSTAGE1_HOST_EXPORTS) \
24329 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24330 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24331 CFLAGS="$(STAGE3_CFLAGS)" \
24332 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
24333 LIBCFLAGS="$(STAGE3_CFLAGS)" \
24334 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24335 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24336 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24337 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
24338 TFLAGS="$(STAGE3_TFLAGS)" \
24339 $(TARGET-stage3-libiberty-linker-plugin)
24341 maybe-clean-stage3-libiberty-linker-plugin: clean-stage3-libiberty-linker-plugin
24342 clean-stage3: clean-stage3-libiberty-linker-plugin
24343 clean-stage3-libiberty-linker-plugin:
24344 @if [ $(current_stage) = stage3 ]; then \
24345 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
24346 else \
24347 [ -f $(HOST_SUBDIR)/stage3-libiberty-linker-plugin/Makefile ] || exit 0; \
24348 $(MAKE) stage3-start; \
24349 fi; \
24350 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24351 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
24352 @endif libiberty-linker-plugin-bootstrap
24355 .PHONY: all-stage4-libiberty-linker-plugin maybe-all-stage4-libiberty-linker-plugin
24356 .PHONY: clean-stage4-libiberty-linker-plugin maybe-clean-stage4-libiberty-linker-plugin
24357 maybe-all-stage4-libiberty-linker-plugin:
24358 maybe-clean-stage4-libiberty-linker-plugin:
24359 @if libiberty-linker-plugin-bootstrap
24360 maybe-all-stage4-libiberty-linker-plugin: all-stage4-libiberty-linker-plugin
24361 all-stage4: all-stage4-libiberty-linker-plugin
24362 TARGET-stage4-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
24363 all-stage4-libiberty-linker-plugin: configure-stage4-libiberty-linker-plugin
24364 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
24365 @r=`${PWD_COMMAND}`; export r; \
24366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24367 TFLAGS="$(STAGE4_TFLAGS)"; \
24368 $(HOST_EXPORTS) \
24369 $(POSTSTAGE1_HOST_EXPORTS) \
24370 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24371 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24372 CFLAGS="$(STAGE4_CFLAGS)" \
24373 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
24374 LIBCFLAGS="$(STAGE4_CFLAGS)" \
24375 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24376 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24377 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24378 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
24379 TFLAGS="$(STAGE4_TFLAGS)" \
24380 $(TARGET-stage4-libiberty-linker-plugin)
24382 maybe-clean-stage4-libiberty-linker-plugin: clean-stage4-libiberty-linker-plugin
24383 clean-stage4: clean-stage4-libiberty-linker-plugin
24384 clean-stage4-libiberty-linker-plugin:
24385 @if [ $(current_stage) = stage4 ]; then \
24386 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
24387 else \
24388 [ -f $(HOST_SUBDIR)/stage4-libiberty-linker-plugin/Makefile ] || exit 0; \
24389 $(MAKE) stage4-start; \
24390 fi; \
24391 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24392 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
24393 @endif libiberty-linker-plugin-bootstrap
24396 .PHONY: all-stageprofile-libiberty-linker-plugin maybe-all-stageprofile-libiberty-linker-plugin
24397 .PHONY: clean-stageprofile-libiberty-linker-plugin maybe-clean-stageprofile-libiberty-linker-plugin
24398 maybe-all-stageprofile-libiberty-linker-plugin:
24399 maybe-clean-stageprofile-libiberty-linker-plugin:
24400 @if libiberty-linker-plugin-bootstrap
24401 maybe-all-stageprofile-libiberty-linker-plugin: all-stageprofile-libiberty-linker-plugin
24402 all-stageprofile: all-stageprofile-libiberty-linker-plugin
24403 TARGET-stageprofile-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
24404 all-stageprofile-libiberty-linker-plugin: configure-stageprofile-libiberty-linker-plugin
24405 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
24406 @r=`${PWD_COMMAND}`; export r; \
24407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24408 TFLAGS="$(STAGEprofile_TFLAGS)"; \
24409 $(HOST_EXPORTS) \
24410 $(POSTSTAGE1_HOST_EXPORTS) \
24411 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24412 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24413 CFLAGS="$(STAGEprofile_CFLAGS)" \
24414 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
24415 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
24416 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24417 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24418 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24419 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
24420 TFLAGS="$(STAGEprofile_TFLAGS)" \
24421 $(TARGET-stageprofile-libiberty-linker-plugin)
24423 maybe-clean-stageprofile-libiberty-linker-plugin: clean-stageprofile-libiberty-linker-plugin
24424 clean-stageprofile: clean-stageprofile-libiberty-linker-plugin
24425 clean-stageprofile-libiberty-linker-plugin:
24426 @if [ $(current_stage) = stageprofile ]; then \
24427 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
24428 else \
24429 [ -f $(HOST_SUBDIR)/stageprofile-libiberty-linker-plugin/Makefile ] || exit 0; \
24430 $(MAKE) stageprofile-start; \
24431 fi; \
24432 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24433 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
24434 @endif libiberty-linker-plugin-bootstrap
24437 .PHONY: all-stagefeedback-libiberty-linker-plugin maybe-all-stagefeedback-libiberty-linker-plugin
24438 .PHONY: clean-stagefeedback-libiberty-linker-plugin maybe-clean-stagefeedback-libiberty-linker-plugin
24439 maybe-all-stagefeedback-libiberty-linker-plugin:
24440 maybe-clean-stagefeedback-libiberty-linker-plugin:
24441 @if libiberty-linker-plugin-bootstrap
24442 maybe-all-stagefeedback-libiberty-linker-plugin: all-stagefeedback-libiberty-linker-plugin
24443 all-stagefeedback: all-stagefeedback-libiberty-linker-plugin
24444 TARGET-stagefeedback-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
24445 all-stagefeedback-libiberty-linker-plugin: configure-stagefeedback-libiberty-linker-plugin
24446 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
24447 @r=`${PWD_COMMAND}`; export r; \
24448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24449 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
24450 $(HOST_EXPORTS) \
24451 $(POSTSTAGE1_HOST_EXPORTS) \
24452 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24453 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24454 CFLAGS="$(STAGEfeedback_CFLAGS)" \
24455 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
24456 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
24457 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24458 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24459 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24460 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
24461 TFLAGS="$(STAGEfeedback_TFLAGS)" \
24462 $(TARGET-stagefeedback-libiberty-linker-plugin)
24464 maybe-clean-stagefeedback-libiberty-linker-plugin: clean-stagefeedback-libiberty-linker-plugin
24465 clean-stagefeedback: clean-stagefeedback-libiberty-linker-plugin
24466 clean-stagefeedback-libiberty-linker-plugin:
24467 @if [ $(current_stage) = stagefeedback ]; then \
24468 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
24469 else \
24470 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty-linker-plugin/Makefile ] || exit 0; \
24471 $(MAKE) stagefeedback-start; \
24472 fi; \
24473 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24474 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
24475 @endif libiberty-linker-plugin-bootstrap
24481 .PHONY: check-libiberty-linker-plugin maybe-check-libiberty-linker-plugin
24482 maybe-check-libiberty-linker-plugin:
24483 @if libiberty-linker-plugin
24484 maybe-check-libiberty-linker-plugin: check-libiberty-linker-plugin
24486 check-libiberty-linker-plugin:
24487 @: $(MAKE); $(unstage)
24488 @r=`${PWD_COMMAND}`; export r; \
24489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24490 $(HOST_EXPORTS) \
24491 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24492 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ check)
24494 @endif libiberty-linker-plugin
24496 .PHONY: install-libiberty-linker-plugin maybe-install-libiberty-linker-plugin
24497 maybe-install-libiberty-linker-plugin:
24498 @if libiberty-linker-plugin
24499 maybe-install-libiberty-linker-plugin: install-libiberty-linker-plugin
24501 install-libiberty-linker-plugin: installdirs
24502 @: $(MAKE); $(unstage)
24503 @r=`${PWD_COMMAND}`; export r; \
24504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24505 $(HOST_EXPORTS) \
24506 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24507 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install)
24509 @endif libiberty-linker-plugin
24511 .PHONY: install-strip-libiberty-linker-plugin maybe-install-strip-libiberty-linker-plugin
24512 maybe-install-strip-libiberty-linker-plugin:
24513 @if libiberty-linker-plugin
24514 maybe-install-strip-libiberty-linker-plugin: install-strip-libiberty-linker-plugin
24516 install-strip-libiberty-linker-plugin: installdirs
24517 @: $(MAKE); $(unstage)
24518 @r=`${PWD_COMMAND}`; export r; \
24519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24520 $(HOST_EXPORTS) \
24521 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24522 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install-strip)
24524 @endif libiberty-linker-plugin
24526 # Other targets (info, dvi, pdf, etc.)
24528 .PHONY: maybe-info-libiberty-linker-plugin info-libiberty-linker-plugin
24529 maybe-info-libiberty-linker-plugin:
24530 @if libiberty-linker-plugin
24531 maybe-info-libiberty-linker-plugin: info-libiberty-linker-plugin
24533 info-libiberty-linker-plugin: \
24534 configure-libiberty-linker-plugin
24535 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24536 r=`${PWD_COMMAND}`; export r; \
24537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24538 $(HOST_EXPORTS) \
24539 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24541 done; \
24542 echo "Doing info in libiberty-linker-plugin" ; \
24543 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24546 "RANLIB=$${RANLIB}" \
24547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24548 info) \
24549 || exit 1
24551 @endif libiberty-linker-plugin
24553 .PHONY: maybe-dvi-libiberty-linker-plugin dvi-libiberty-linker-plugin
24554 maybe-dvi-libiberty-linker-plugin:
24555 @if libiberty-linker-plugin
24556 maybe-dvi-libiberty-linker-plugin: dvi-libiberty-linker-plugin
24558 dvi-libiberty-linker-plugin: \
24559 configure-libiberty-linker-plugin
24560 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24561 r=`${PWD_COMMAND}`; export r; \
24562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24563 $(HOST_EXPORTS) \
24564 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24566 done; \
24567 echo "Doing dvi in libiberty-linker-plugin" ; \
24568 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24571 "RANLIB=$${RANLIB}" \
24572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24573 dvi) \
24574 || exit 1
24576 @endif libiberty-linker-plugin
24578 .PHONY: maybe-pdf-libiberty-linker-plugin pdf-libiberty-linker-plugin
24579 maybe-pdf-libiberty-linker-plugin:
24580 @if libiberty-linker-plugin
24581 maybe-pdf-libiberty-linker-plugin: pdf-libiberty-linker-plugin
24583 pdf-libiberty-linker-plugin: \
24584 configure-libiberty-linker-plugin
24585 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24586 r=`${PWD_COMMAND}`; export r; \
24587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24588 $(HOST_EXPORTS) \
24589 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24591 done; \
24592 echo "Doing pdf in libiberty-linker-plugin" ; \
24593 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24596 "RANLIB=$${RANLIB}" \
24597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24598 pdf) \
24599 || exit 1
24601 @endif libiberty-linker-plugin
24603 .PHONY: maybe-html-libiberty-linker-plugin html-libiberty-linker-plugin
24604 maybe-html-libiberty-linker-plugin:
24605 @if libiberty-linker-plugin
24606 maybe-html-libiberty-linker-plugin: html-libiberty-linker-plugin
24608 html-libiberty-linker-plugin: \
24609 configure-libiberty-linker-plugin
24610 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24611 r=`${PWD_COMMAND}`; export r; \
24612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24613 $(HOST_EXPORTS) \
24614 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24616 done; \
24617 echo "Doing html in libiberty-linker-plugin" ; \
24618 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24621 "RANLIB=$${RANLIB}" \
24622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24623 html) \
24624 || exit 1
24626 @endif libiberty-linker-plugin
24628 .PHONY: maybe-TAGS-libiberty-linker-plugin TAGS-libiberty-linker-plugin
24629 maybe-TAGS-libiberty-linker-plugin:
24630 @if libiberty-linker-plugin
24631 maybe-TAGS-libiberty-linker-plugin: TAGS-libiberty-linker-plugin
24633 TAGS-libiberty-linker-plugin: \
24634 configure-libiberty-linker-plugin
24635 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24636 r=`${PWD_COMMAND}`; export r; \
24637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24638 $(HOST_EXPORTS) \
24639 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24641 done; \
24642 echo "Doing TAGS in libiberty-linker-plugin" ; \
24643 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24646 "RANLIB=$${RANLIB}" \
24647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24648 TAGS) \
24649 || exit 1
24651 @endif libiberty-linker-plugin
24653 .PHONY: maybe-install-info-libiberty-linker-plugin install-info-libiberty-linker-plugin
24654 maybe-install-info-libiberty-linker-plugin:
24655 @if libiberty-linker-plugin
24656 maybe-install-info-libiberty-linker-plugin: install-info-libiberty-linker-plugin
24658 install-info-libiberty-linker-plugin: \
24659 configure-libiberty-linker-plugin \
24660 info-libiberty-linker-plugin
24661 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24662 r=`${PWD_COMMAND}`; export r; \
24663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24664 $(HOST_EXPORTS) \
24665 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24667 done; \
24668 echo "Doing install-info in libiberty-linker-plugin" ; \
24669 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24672 "RANLIB=$${RANLIB}" \
24673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24674 install-info) \
24675 || exit 1
24677 @endif libiberty-linker-plugin
24679 .PHONY: maybe-install-pdf-libiberty-linker-plugin install-pdf-libiberty-linker-plugin
24680 maybe-install-pdf-libiberty-linker-plugin:
24681 @if libiberty-linker-plugin
24682 maybe-install-pdf-libiberty-linker-plugin: install-pdf-libiberty-linker-plugin
24684 install-pdf-libiberty-linker-plugin: \
24685 configure-libiberty-linker-plugin \
24686 pdf-libiberty-linker-plugin
24687 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24688 r=`${PWD_COMMAND}`; export r; \
24689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24690 $(HOST_EXPORTS) \
24691 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24693 done; \
24694 echo "Doing install-pdf in libiberty-linker-plugin" ; \
24695 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24698 "RANLIB=$${RANLIB}" \
24699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24700 install-pdf) \
24701 || exit 1
24703 @endif libiberty-linker-plugin
24705 .PHONY: maybe-install-html-libiberty-linker-plugin install-html-libiberty-linker-plugin
24706 maybe-install-html-libiberty-linker-plugin:
24707 @if libiberty-linker-plugin
24708 maybe-install-html-libiberty-linker-plugin: install-html-libiberty-linker-plugin
24710 install-html-libiberty-linker-plugin: \
24711 configure-libiberty-linker-plugin \
24712 html-libiberty-linker-plugin
24713 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24714 r=`${PWD_COMMAND}`; export r; \
24715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24716 $(HOST_EXPORTS) \
24717 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24719 done; \
24720 echo "Doing install-html in libiberty-linker-plugin" ; \
24721 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24724 "RANLIB=$${RANLIB}" \
24725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24726 install-html) \
24727 || exit 1
24729 @endif libiberty-linker-plugin
24731 .PHONY: maybe-installcheck-libiberty-linker-plugin installcheck-libiberty-linker-plugin
24732 maybe-installcheck-libiberty-linker-plugin:
24733 @if libiberty-linker-plugin
24734 maybe-installcheck-libiberty-linker-plugin: installcheck-libiberty-linker-plugin
24736 installcheck-libiberty-linker-plugin: \
24737 configure-libiberty-linker-plugin
24738 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24739 r=`${PWD_COMMAND}`; export r; \
24740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24741 $(HOST_EXPORTS) \
24742 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24744 done; \
24745 echo "Doing installcheck in libiberty-linker-plugin" ; \
24746 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24749 "RANLIB=$${RANLIB}" \
24750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24751 installcheck) \
24752 || exit 1
24754 @endif libiberty-linker-plugin
24756 .PHONY: maybe-mostlyclean-libiberty-linker-plugin mostlyclean-libiberty-linker-plugin
24757 maybe-mostlyclean-libiberty-linker-plugin:
24758 @if libiberty-linker-plugin
24759 maybe-mostlyclean-libiberty-linker-plugin: mostlyclean-libiberty-linker-plugin
24761 mostlyclean-libiberty-linker-plugin:
24762 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24763 r=`${PWD_COMMAND}`; export r; \
24764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24765 $(HOST_EXPORTS) \
24766 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24768 done; \
24769 echo "Doing mostlyclean in libiberty-linker-plugin" ; \
24770 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24773 "RANLIB=$${RANLIB}" \
24774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24775 mostlyclean) \
24776 || exit 1
24778 @endif libiberty-linker-plugin
24780 .PHONY: maybe-clean-libiberty-linker-plugin clean-libiberty-linker-plugin
24781 maybe-clean-libiberty-linker-plugin:
24782 @if libiberty-linker-plugin
24783 maybe-clean-libiberty-linker-plugin: clean-libiberty-linker-plugin
24785 clean-libiberty-linker-plugin:
24786 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24787 r=`${PWD_COMMAND}`; export r; \
24788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24789 $(HOST_EXPORTS) \
24790 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24792 done; \
24793 echo "Doing clean in libiberty-linker-plugin" ; \
24794 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24797 "RANLIB=$${RANLIB}" \
24798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24799 clean) \
24800 || exit 1
24802 @endif libiberty-linker-plugin
24804 .PHONY: maybe-distclean-libiberty-linker-plugin distclean-libiberty-linker-plugin
24805 maybe-distclean-libiberty-linker-plugin:
24806 @if libiberty-linker-plugin
24807 maybe-distclean-libiberty-linker-plugin: distclean-libiberty-linker-plugin
24809 distclean-libiberty-linker-plugin:
24810 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24811 r=`${PWD_COMMAND}`; export r; \
24812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24813 $(HOST_EXPORTS) \
24814 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24816 done; \
24817 echo "Doing distclean in libiberty-linker-plugin" ; \
24818 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24821 "RANLIB=$${RANLIB}" \
24822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24823 distclean) \
24824 || exit 1
24826 @endif libiberty-linker-plugin
24828 .PHONY: maybe-maintainer-clean-libiberty-linker-plugin maintainer-clean-libiberty-linker-plugin
24829 maybe-maintainer-clean-libiberty-linker-plugin:
24830 @if libiberty-linker-plugin
24831 maybe-maintainer-clean-libiberty-linker-plugin: maintainer-clean-libiberty-linker-plugin
24833 maintainer-clean-libiberty-linker-plugin:
24834 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24835 r=`${PWD_COMMAND}`; export r; \
24836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24837 $(HOST_EXPORTS) \
24838 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24840 done; \
24841 echo "Doing maintainer-clean in libiberty-linker-plugin" ; \
24842 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24845 "RANLIB=$${RANLIB}" \
24846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24847 maintainer-clean) \
24848 || exit 1
24850 @endif libiberty-linker-plugin
24854 .PHONY: configure-libiconv maybe-configure-libiconv
24855 maybe-configure-libiconv:
24856 @if gcc-bootstrap
24857 configure-libiconv: stage_current
24858 @endif gcc-bootstrap
24859 @if libiconv
24860 maybe-configure-libiconv: configure-libiconv
24861 configure-libiconv:
24862 @: $(MAKE); $(unstage)
24863 @r=`${PWD_COMMAND}`; export r; \
24864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24865 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
24866 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv ; \
24867 $(HOST_EXPORTS) \
24868 echo Configuring in $(HOST_SUBDIR)/libiconv; \
24869 cd "$(HOST_SUBDIR)/libiconv" || exit 1; \
24870 case $(srcdir) in \
24871 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24872 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
24873 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24874 esac; \
24875 module_srcdir=libiconv; \
24876 $(SHELL) \
24877 $$s/$$module_srcdir/configure \
24878 --srcdir=$${topdir}/$$module_srcdir \
24879 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24880 --target=${target_alias} --disable-shared \
24881 || exit 1
24882 @endif libiconv
24888 .PHONY: all-libiconv maybe-all-libiconv
24889 maybe-all-libiconv:
24890 @if gcc-bootstrap
24891 all-libiconv: stage_current
24892 @endif gcc-bootstrap
24893 @if libiconv
24894 TARGET-libiconv=all
24895 maybe-all-libiconv: all-libiconv
24896 all-libiconv: configure-libiconv
24897 @: $(MAKE); $(unstage)
24898 @r=`${PWD_COMMAND}`; export r; \
24899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24900 $(HOST_EXPORTS) \
24901 (cd $(HOST_SUBDIR)/libiconv && \
24902 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
24903 $(TARGET-libiconv))
24904 @endif libiconv
24909 .PHONY: check-libiconv maybe-check-libiconv
24910 maybe-check-libiconv:
24911 @if libiconv
24912 maybe-check-libiconv: check-libiconv
24914 check-libiconv:
24915 @: $(MAKE); $(unstage)
24916 @r=`${PWD_COMMAND}`; export r; \
24917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24918 $(HOST_EXPORTS) \
24919 (cd $(HOST_SUBDIR)/libiconv && \
24920 $(MAKE) $(FLAGS_TO_PASS) check)
24922 @endif libiconv
24924 .PHONY: install-libiconv maybe-install-libiconv
24925 maybe-install-libiconv:
24926 @if libiconv
24927 maybe-install-libiconv: install-libiconv
24929 install-libiconv:
24931 @endif libiconv
24933 .PHONY: install-strip-libiconv maybe-install-strip-libiconv
24934 maybe-install-strip-libiconv:
24935 @if libiconv
24936 maybe-install-strip-libiconv: install-strip-libiconv
24938 install-strip-libiconv:
24940 @endif libiconv
24942 # Other targets (info, dvi, pdf, etc.)
24944 .PHONY: maybe-info-libiconv info-libiconv
24945 maybe-info-libiconv:
24946 @if libiconv
24947 maybe-info-libiconv: info-libiconv
24949 info-libiconv: \
24950 configure-libiconv
24951 @: $(MAKE); $(unstage)
24952 @[ -f ./libiconv/Makefile ] || exit 0; \
24953 r=`${PWD_COMMAND}`; export r; \
24954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24955 $(HOST_EXPORTS) \
24956 for flag in $(EXTRA_HOST_FLAGS) ; do \
24957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24958 done; \
24959 echo "Doing info in libiconv" ; \
24960 (cd $(HOST_SUBDIR)/libiconv && \
24961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24963 "RANLIB=$${RANLIB}" \
24964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24965 info) \
24966 || exit 1
24968 @endif libiconv
24970 .PHONY: maybe-dvi-libiconv dvi-libiconv
24971 maybe-dvi-libiconv:
24972 @if libiconv
24973 maybe-dvi-libiconv: dvi-libiconv
24975 dvi-libiconv: \
24976 configure-libiconv
24977 @: $(MAKE); $(unstage)
24978 @[ -f ./libiconv/Makefile ] || exit 0; \
24979 r=`${PWD_COMMAND}`; export r; \
24980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24981 $(HOST_EXPORTS) \
24982 for flag in $(EXTRA_HOST_FLAGS) ; do \
24983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24984 done; \
24985 echo "Doing dvi in libiconv" ; \
24986 (cd $(HOST_SUBDIR)/libiconv && \
24987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24989 "RANLIB=$${RANLIB}" \
24990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24991 dvi) \
24992 || exit 1
24994 @endif libiconv
24996 .PHONY: maybe-pdf-libiconv pdf-libiconv
24997 maybe-pdf-libiconv:
24998 @if libiconv
24999 maybe-pdf-libiconv: pdf-libiconv
25001 pdf-libiconv: \
25002 configure-libiconv
25003 @: $(MAKE); $(unstage)
25004 @[ -f ./libiconv/Makefile ] || exit 0; \
25005 r=`${PWD_COMMAND}`; export r; \
25006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25007 $(HOST_EXPORTS) \
25008 for flag in $(EXTRA_HOST_FLAGS) ; do \
25009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25010 done; \
25011 echo "Doing pdf in libiconv" ; \
25012 (cd $(HOST_SUBDIR)/libiconv && \
25013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25015 "RANLIB=$${RANLIB}" \
25016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25017 pdf) \
25018 || exit 1
25020 @endif libiconv
25022 .PHONY: maybe-html-libiconv html-libiconv
25023 maybe-html-libiconv:
25024 @if libiconv
25025 maybe-html-libiconv: html-libiconv
25027 html-libiconv: \
25028 configure-libiconv
25029 @: $(MAKE); $(unstage)
25030 @[ -f ./libiconv/Makefile ] || exit 0; \
25031 r=`${PWD_COMMAND}`; export r; \
25032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25033 $(HOST_EXPORTS) \
25034 for flag in $(EXTRA_HOST_FLAGS) ; do \
25035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25036 done; \
25037 echo "Doing html in libiconv" ; \
25038 (cd $(HOST_SUBDIR)/libiconv && \
25039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25041 "RANLIB=$${RANLIB}" \
25042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25043 html) \
25044 || exit 1
25046 @endif libiconv
25048 .PHONY: maybe-TAGS-libiconv TAGS-libiconv
25049 maybe-TAGS-libiconv:
25050 @if libiconv
25051 maybe-TAGS-libiconv: TAGS-libiconv
25053 TAGS-libiconv: \
25054 configure-libiconv
25055 @: $(MAKE); $(unstage)
25056 @[ -f ./libiconv/Makefile ] || exit 0; \
25057 r=`${PWD_COMMAND}`; export r; \
25058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25059 $(HOST_EXPORTS) \
25060 for flag in $(EXTRA_HOST_FLAGS) ; do \
25061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25062 done; \
25063 echo "Doing TAGS in libiconv" ; \
25064 (cd $(HOST_SUBDIR)/libiconv && \
25065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25067 "RANLIB=$${RANLIB}" \
25068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25069 TAGS) \
25070 || exit 1
25072 @endif libiconv
25074 .PHONY: maybe-install-info-libiconv install-info-libiconv
25075 maybe-install-info-libiconv:
25076 @if libiconv
25077 maybe-install-info-libiconv: install-info-libiconv
25079 # libiconv doesn't support install-info.
25080 install-info-libiconv:
25082 @endif libiconv
25084 .PHONY: maybe-install-pdf-libiconv install-pdf-libiconv
25085 maybe-install-pdf-libiconv:
25086 @if libiconv
25087 maybe-install-pdf-libiconv: install-pdf-libiconv
25089 # libiconv doesn't support install-pdf.
25090 install-pdf-libiconv:
25092 @endif libiconv
25094 .PHONY: maybe-install-html-libiconv install-html-libiconv
25095 maybe-install-html-libiconv:
25096 @if libiconv
25097 maybe-install-html-libiconv: install-html-libiconv
25099 # libiconv doesn't support install-html.
25100 install-html-libiconv:
25102 @endif libiconv
25104 .PHONY: maybe-installcheck-libiconv installcheck-libiconv
25105 maybe-installcheck-libiconv:
25106 @if libiconv
25107 maybe-installcheck-libiconv: installcheck-libiconv
25109 installcheck-libiconv: \
25110 configure-libiconv
25111 @: $(MAKE); $(unstage)
25112 @[ -f ./libiconv/Makefile ] || exit 0; \
25113 r=`${PWD_COMMAND}`; export r; \
25114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25115 $(HOST_EXPORTS) \
25116 for flag in $(EXTRA_HOST_FLAGS) ; do \
25117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25118 done; \
25119 echo "Doing installcheck in libiconv" ; \
25120 (cd $(HOST_SUBDIR)/libiconv && \
25121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25123 "RANLIB=$${RANLIB}" \
25124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25125 installcheck) \
25126 || exit 1
25128 @endif libiconv
25130 .PHONY: maybe-mostlyclean-libiconv mostlyclean-libiconv
25131 maybe-mostlyclean-libiconv:
25132 @if libiconv
25133 maybe-mostlyclean-libiconv: mostlyclean-libiconv
25135 mostlyclean-libiconv:
25136 @: $(MAKE); $(unstage)
25137 @[ -f ./libiconv/Makefile ] || exit 0; \
25138 r=`${PWD_COMMAND}`; export r; \
25139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25140 $(HOST_EXPORTS) \
25141 for flag in $(EXTRA_HOST_FLAGS) ; do \
25142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25143 done; \
25144 echo "Doing mostlyclean in libiconv" ; \
25145 (cd $(HOST_SUBDIR)/libiconv && \
25146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25148 "RANLIB=$${RANLIB}" \
25149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25150 mostlyclean) \
25151 || exit 1
25153 @endif libiconv
25155 .PHONY: maybe-clean-libiconv clean-libiconv
25156 maybe-clean-libiconv:
25157 @if libiconv
25158 maybe-clean-libiconv: clean-libiconv
25160 clean-libiconv:
25161 @: $(MAKE); $(unstage)
25162 @[ -f ./libiconv/Makefile ] || exit 0; \
25163 r=`${PWD_COMMAND}`; export r; \
25164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25165 $(HOST_EXPORTS) \
25166 for flag in $(EXTRA_HOST_FLAGS) ; do \
25167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25168 done; \
25169 echo "Doing clean in libiconv" ; \
25170 (cd $(HOST_SUBDIR)/libiconv && \
25171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25173 "RANLIB=$${RANLIB}" \
25174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25175 clean) \
25176 || exit 1
25178 @endif libiconv
25180 .PHONY: maybe-distclean-libiconv distclean-libiconv
25181 maybe-distclean-libiconv:
25182 @if libiconv
25183 maybe-distclean-libiconv: distclean-libiconv
25185 distclean-libiconv:
25186 @: $(MAKE); $(unstage)
25187 @[ -f ./libiconv/Makefile ] || exit 0; \
25188 r=`${PWD_COMMAND}`; export r; \
25189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25190 $(HOST_EXPORTS) \
25191 for flag in $(EXTRA_HOST_FLAGS) ; do \
25192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25193 done; \
25194 echo "Doing distclean in libiconv" ; \
25195 (cd $(HOST_SUBDIR)/libiconv && \
25196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25198 "RANLIB=$${RANLIB}" \
25199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25200 distclean) \
25201 || exit 1
25203 @endif libiconv
25205 .PHONY: maybe-maintainer-clean-libiconv maintainer-clean-libiconv
25206 maybe-maintainer-clean-libiconv:
25207 @if libiconv
25208 maybe-maintainer-clean-libiconv: maintainer-clean-libiconv
25210 maintainer-clean-libiconv:
25211 @: $(MAKE); $(unstage)
25212 @[ -f ./libiconv/Makefile ] || exit 0; \
25213 r=`${PWD_COMMAND}`; export r; \
25214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25215 $(HOST_EXPORTS) \
25216 for flag in $(EXTRA_HOST_FLAGS) ; do \
25217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25218 done; \
25219 echo "Doing maintainer-clean in libiconv" ; \
25220 (cd $(HOST_SUBDIR)/libiconv && \
25221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25223 "RANLIB=$${RANLIB}" \
25224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25225 maintainer-clean) \
25226 || exit 1
25228 @endif libiconv
25232 .PHONY: configure-m4 maybe-configure-m4
25233 maybe-configure-m4:
25234 @if gcc-bootstrap
25235 configure-m4: stage_current
25236 @endif gcc-bootstrap
25237 @if m4
25238 maybe-configure-m4: configure-m4
25239 configure-m4:
25240 @: $(MAKE); $(unstage)
25241 @r=`${PWD_COMMAND}`; export r; \
25242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25243 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
25244 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
25245 $(HOST_EXPORTS) \
25246 echo Configuring in $(HOST_SUBDIR)/m4; \
25247 cd "$(HOST_SUBDIR)/m4" || exit 1; \
25248 case $(srcdir) in \
25249 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25250 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
25251 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25252 esac; \
25253 module_srcdir=m4; \
25254 $(SHELL) \
25255 $$s/$$module_srcdir/configure \
25256 --srcdir=$${topdir}/$$module_srcdir \
25257 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25258 --target=${target_alias} \
25259 || exit 1
25260 @endif m4
25266 .PHONY: all-m4 maybe-all-m4
25267 maybe-all-m4:
25268 @if gcc-bootstrap
25269 all-m4: stage_current
25270 @endif gcc-bootstrap
25271 @if m4
25272 TARGET-m4=all
25273 maybe-all-m4: all-m4
25274 all-m4: configure-m4
25275 @: $(MAKE); $(unstage)
25276 @r=`${PWD_COMMAND}`; export r; \
25277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25278 $(HOST_EXPORTS) \
25279 (cd $(HOST_SUBDIR)/m4 && \
25280 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25281 $(TARGET-m4))
25282 @endif m4
25287 .PHONY: check-m4 maybe-check-m4
25288 maybe-check-m4:
25289 @if m4
25290 maybe-check-m4: check-m4
25292 check-m4:
25293 @: $(MAKE); $(unstage)
25294 @r=`${PWD_COMMAND}`; export r; \
25295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25296 $(HOST_EXPORTS) \
25297 (cd $(HOST_SUBDIR)/m4 && \
25298 $(MAKE) $(FLAGS_TO_PASS) check)
25300 @endif m4
25302 .PHONY: install-m4 maybe-install-m4
25303 maybe-install-m4:
25304 @if m4
25305 maybe-install-m4: install-m4
25307 install-m4: installdirs
25308 @: $(MAKE); $(unstage)
25309 @r=`${PWD_COMMAND}`; export r; \
25310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25311 $(HOST_EXPORTS) \
25312 (cd $(HOST_SUBDIR)/m4 && \
25313 $(MAKE) $(FLAGS_TO_PASS) install)
25315 @endif m4
25317 .PHONY: install-strip-m4 maybe-install-strip-m4
25318 maybe-install-strip-m4:
25319 @if m4
25320 maybe-install-strip-m4: install-strip-m4
25322 install-strip-m4: installdirs
25323 @: $(MAKE); $(unstage)
25324 @r=`${PWD_COMMAND}`; export r; \
25325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25326 $(HOST_EXPORTS) \
25327 (cd $(HOST_SUBDIR)/m4 && \
25328 $(MAKE) $(FLAGS_TO_PASS) install-strip)
25330 @endif m4
25332 # Other targets (info, dvi, pdf, etc.)
25334 .PHONY: maybe-info-m4 info-m4
25335 maybe-info-m4:
25336 @if m4
25337 maybe-info-m4: info-m4
25339 info-m4: \
25340 configure-m4
25341 @: $(MAKE); $(unstage)
25342 @[ -f ./m4/Makefile ] || exit 0; \
25343 r=`${PWD_COMMAND}`; export r; \
25344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25345 $(HOST_EXPORTS) \
25346 for flag in $(EXTRA_HOST_FLAGS) ; do \
25347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25348 done; \
25349 echo "Doing info in m4" ; \
25350 (cd $(HOST_SUBDIR)/m4 && \
25351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25353 "RANLIB=$${RANLIB}" \
25354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25355 info) \
25356 || exit 1
25358 @endif m4
25360 .PHONY: maybe-dvi-m4 dvi-m4
25361 maybe-dvi-m4:
25362 @if m4
25363 maybe-dvi-m4: dvi-m4
25365 dvi-m4: \
25366 configure-m4
25367 @: $(MAKE); $(unstage)
25368 @[ -f ./m4/Makefile ] || exit 0; \
25369 r=`${PWD_COMMAND}`; export r; \
25370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25371 $(HOST_EXPORTS) \
25372 for flag in $(EXTRA_HOST_FLAGS) ; do \
25373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25374 done; \
25375 echo "Doing dvi in m4" ; \
25376 (cd $(HOST_SUBDIR)/m4 && \
25377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25379 "RANLIB=$${RANLIB}" \
25380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25381 dvi) \
25382 || exit 1
25384 @endif m4
25386 .PHONY: maybe-pdf-m4 pdf-m4
25387 maybe-pdf-m4:
25388 @if m4
25389 maybe-pdf-m4: pdf-m4
25391 pdf-m4: \
25392 configure-m4
25393 @: $(MAKE); $(unstage)
25394 @[ -f ./m4/Makefile ] || exit 0; \
25395 r=`${PWD_COMMAND}`; export r; \
25396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25397 $(HOST_EXPORTS) \
25398 for flag in $(EXTRA_HOST_FLAGS) ; do \
25399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25400 done; \
25401 echo "Doing pdf in m4" ; \
25402 (cd $(HOST_SUBDIR)/m4 && \
25403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25405 "RANLIB=$${RANLIB}" \
25406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25407 pdf) \
25408 || exit 1
25410 @endif m4
25412 .PHONY: maybe-html-m4 html-m4
25413 maybe-html-m4:
25414 @if m4
25415 maybe-html-m4: html-m4
25417 html-m4: \
25418 configure-m4
25419 @: $(MAKE); $(unstage)
25420 @[ -f ./m4/Makefile ] || exit 0; \
25421 r=`${PWD_COMMAND}`; export r; \
25422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25423 $(HOST_EXPORTS) \
25424 for flag in $(EXTRA_HOST_FLAGS) ; do \
25425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25426 done; \
25427 echo "Doing html in m4" ; \
25428 (cd $(HOST_SUBDIR)/m4 && \
25429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25431 "RANLIB=$${RANLIB}" \
25432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25433 html) \
25434 || exit 1
25436 @endif m4
25438 .PHONY: maybe-TAGS-m4 TAGS-m4
25439 maybe-TAGS-m4:
25440 @if m4
25441 maybe-TAGS-m4: TAGS-m4
25443 TAGS-m4: \
25444 configure-m4
25445 @: $(MAKE); $(unstage)
25446 @[ -f ./m4/Makefile ] || exit 0; \
25447 r=`${PWD_COMMAND}`; export r; \
25448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25449 $(HOST_EXPORTS) \
25450 for flag in $(EXTRA_HOST_FLAGS) ; do \
25451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25452 done; \
25453 echo "Doing TAGS in m4" ; \
25454 (cd $(HOST_SUBDIR)/m4 && \
25455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25457 "RANLIB=$${RANLIB}" \
25458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25459 TAGS) \
25460 || exit 1
25462 @endif m4
25464 .PHONY: maybe-install-info-m4 install-info-m4
25465 maybe-install-info-m4:
25466 @if m4
25467 maybe-install-info-m4: install-info-m4
25469 install-info-m4: \
25470 configure-m4 \
25471 info-m4
25472 @: $(MAKE); $(unstage)
25473 @[ -f ./m4/Makefile ] || exit 0; \
25474 r=`${PWD_COMMAND}`; export r; \
25475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25476 $(HOST_EXPORTS) \
25477 for flag in $(EXTRA_HOST_FLAGS) ; do \
25478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25479 done; \
25480 echo "Doing install-info in m4" ; \
25481 (cd $(HOST_SUBDIR)/m4 && \
25482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25484 "RANLIB=$${RANLIB}" \
25485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25486 install-info) \
25487 || exit 1
25489 @endif m4
25491 .PHONY: maybe-install-pdf-m4 install-pdf-m4
25492 maybe-install-pdf-m4:
25493 @if m4
25494 maybe-install-pdf-m4: install-pdf-m4
25496 install-pdf-m4: \
25497 configure-m4 \
25498 pdf-m4
25499 @: $(MAKE); $(unstage)
25500 @[ -f ./m4/Makefile ] || exit 0; \
25501 r=`${PWD_COMMAND}`; export r; \
25502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25503 $(HOST_EXPORTS) \
25504 for flag in $(EXTRA_HOST_FLAGS) ; do \
25505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25506 done; \
25507 echo "Doing install-pdf in m4" ; \
25508 (cd $(HOST_SUBDIR)/m4 && \
25509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25511 "RANLIB=$${RANLIB}" \
25512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25513 install-pdf) \
25514 || exit 1
25516 @endif m4
25518 .PHONY: maybe-install-html-m4 install-html-m4
25519 maybe-install-html-m4:
25520 @if m4
25521 maybe-install-html-m4: install-html-m4
25523 install-html-m4: \
25524 configure-m4 \
25525 html-m4
25526 @: $(MAKE); $(unstage)
25527 @[ -f ./m4/Makefile ] || exit 0; \
25528 r=`${PWD_COMMAND}`; export r; \
25529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25530 $(HOST_EXPORTS) \
25531 for flag in $(EXTRA_HOST_FLAGS) ; do \
25532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25533 done; \
25534 echo "Doing install-html in m4" ; \
25535 (cd $(HOST_SUBDIR)/m4 && \
25536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25538 "RANLIB=$${RANLIB}" \
25539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25540 install-html) \
25541 || exit 1
25543 @endif m4
25545 .PHONY: maybe-installcheck-m4 installcheck-m4
25546 maybe-installcheck-m4:
25547 @if m4
25548 maybe-installcheck-m4: installcheck-m4
25550 installcheck-m4: \
25551 configure-m4
25552 @: $(MAKE); $(unstage)
25553 @[ -f ./m4/Makefile ] || exit 0; \
25554 r=`${PWD_COMMAND}`; export r; \
25555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25556 $(HOST_EXPORTS) \
25557 for flag in $(EXTRA_HOST_FLAGS) ; do \
25558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25559 done; \
25560 echo "Doing installcheck in m4" ; \
25561 (cd $(HOST_SUBDIR)/m4 && \
25562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25564 "RANLIB=$${RANLIB}" \
25565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25566 installcheck) \
25567 || exit 1
25569 @endif m4
25571 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
25572 maybe-mostlyclean-m4:
25573 @if m4
25574 maybe-mostlyclean-m4: mostlyclean-m4
25576 mostlyclean-m4:
25577 @: $(MAKE); $(unstage)
25578 @[ -f ./m4/Makefile ] || exit 0; \
25579 r=`${PWD_COMMAND}`; export r; \
25580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25581 $(HOST_EXPORTS) \
25582 for flag in $(EXTRA_HOST_FLAGS) ; do \
25583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25584 done; \
25585 echo "Doing mostlyclean in m4" ; \
25586 (cd $(HOST_SUBDIR)/m4 && \
25587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25589 "RANLIB=$${RANLIB}" \
25590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25591 mostlyclean) \
25592 || exit 1
25594 @endif m4
25596 .PHONY: maybe-clean-m4 clean-m4
25597 maybe-clean-m4:
25598 @if m4
25599 maybe-clean-m4: clean-m4
25601 clean-m4:
25602 @: $(MAKE); $(unstage)
25603 @[ -f ./m4/Makefile ] || exit 0; \
25604 r=`${PWD_COMMAND}`; export r; \
25605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25606 $(HOST_EXPORTS) \
25607 for flag in $(EXTRA_HOST_FLAGS) ; do \
25608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25609 done; \
25610 echo "Doing clean in m4" ; \
25611 (cd $(HOST_SUBDIR)/m4 && \
25612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25614 "RANLIB=$${RANLIB}" \
25615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25616 clean) \
25617 || exit 1
25619 @endif m4
25621 .PHONY: maybe-distclean-m4 distclean-m4
25622 maybe-distclean-m4:
25623 @if m4
25624 maybe-distclean-m4: distclean-m4
25626 distclean-m4:
25627 @: $(MAKE); $(unstage)
25628 @[ -f ./m4/Makefile ] || exit 0; \
25629 r=`${PWD_COMMAND}`; export r; \
25630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25631 $(HOST_EXPORTS) \
25632 for flag in $(EXTRA_HOST_FLAGS) ; do \
25633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25634 done; \
25635 echo "Doing distclean in m4" ; \
25636 (cd $(HOST_SUBDIR)/m4 && \
25637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25639 "RANLIB=$${RANLIB}" \
25640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25641 distclean) \
25642 || exit 1
25644 @endif m4
25646 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
25647 maybe-maintainer-clean-m4:
25648 @if m4
25649 maybe-maintainer-clean-m4: maintainer-clean-m4
25651 maintainer-clean-m4:
25652 @: $(MAKE); $(unstage)
25653 @[ -f ./m4/Makefile ] || exit 0; \
25654 r=`${PWD_COMMAND}`; export r; \
25655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25656 $(HOST_EXPORTS) \
25657 for flag in $(EXTRA_HOST_FLAGS) ; do \
25658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25659 done; \
25660 echo "Doing maintainer-clean in m4" ; \
25661 (cd $(HOST_SUBDIR)/m4 && \
25662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25664 "RANLIB=$${RANLIB}" \
25665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25666 maintainer-clean) \
25667 || exit 1
25669 @endif m4
25673 .PHONY: configure-readline maybe-configure-readline
25674 maybe-configure-readline:
25675 @if gcc-bootstrap
25676 configure-readline: stage_current
25677 @endif gcc-bootstrap
25678 @if readline
25679 maybe-configure-readline: configure-readline
25680 configure-readline:
25681 @: $(MAKE); $(unstage)
25682 @r=`${PWD_COMMAND}`; export r; \
25683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25684 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
25685 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
25686 $(HOST_EXPORTS) \
25687 echo Configuring in $(HOST_SUBDIR)/readline; \
25688 cd "$(HOST_SUBDIR)/readline" || exit 1; \
25689 case $(srcdir) in \
25690 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25691 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
25692 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25693 esac; \
25694 module_srcdir=readline; \
25695 $(SHELL) \
25696 $$s/$$module_srcdir/configure \
25697 --srcdir=$${topdir}/$$module_srcdir \
25698 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25699 --target=${target_alias} \
25700 || exit 1
25701 @endif readline
25707 .PHONY: all-readline maybe-all-readline
25708 maybe-all-readline:
25709 @if gcc-bootstrap
25710 all-readline: stage_current
25711 @endif gcc-bootstrap
25712 @if readline
25713 TARGET-readline=all
25714 maybe-all-readline: all-readline
25715 all-readline: configure-readline
25716 @: $(MAKE); $(unstage)
25717 @r=`${PWD_COMMAND}`; export r; \
25718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25719 $(HOST_EXPORTS) \
25720 (cd $(HOST_SUBDIR)/readline && \
25721 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25722 $(TARGET-readline))
25723 @endif readline
25728 .PHONY: check-readline maybe-check-readline
25729 maybe-check-readline:
25730 @if readline
25731 maybe-check-readline: check-readline
25733 check-readline:
25734 @: $(MAKE); $(unstage)
25735 @r=`${PWD_COMMAND}`; export r; \
25736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25737 $(HOST_EXPORTS) \
25738 (cd $(HOST_SUBDIR)/readline && \
25739 $(MAKE) $(FLAGS_TO_PASS) check)
25741 @endif readline
25743 .PHONY: install-readline maybe-install-readline
25744 maybe-install-readline:
25745 @if readline
25746 maybe-install-readline: install-readline
25748 install-readline: installdirs
25749 @: $(MAKE); $(unstage)
25750 @r=`${PWD_COMMAND}`; export r; \
25751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25752 $(HOST_EXPORTS) \
25753 (cd $(HOST_SUBDIR)/readline && \
25754 $(MAKE) $(FLAGS_TO_PASS) install)
25756 @endif readline
25758 .PHONY: install-strip-readline maybe-install-strip-readline
25759 maybe-install-strip-readline:
25760 @if readline
25761 maybe-install-strip-readline: install-strip-readline
25763 install-strip-readline: installdirs
25764 @: $(MAKE); $(unstage)
25765 @r=`${PWD_COMMAND}`; export r; \
25766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25767 $(HOST_EXPORTS) \
25768 (cd $(HOST_SUBDIR)/readline && \
25769 $(MAKE) $(FLAGS_TO_PASS) install-strip)
25771 @endif readline
25773 # Other targets (info, dvi, pdf, etc.)
25775 .PHONY: maybe-info-readline info-readline
25776 maybe-info-readline:
25777 @if readline
25778 maybe-info-readline: info-readline
25780 info-readline: \
25781 configure-readline
25782 @: $(MAKE); $(unstage)
25783 @[ -f ./readline/Makefile ] || exit 0; \
25784 r=`${PWD_COMMAND}`; export r; \
25785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25786 $(HOST_EXPORTS) \
25787 for flag in $(EXTRA_HOST_FLAGS) ; do \
25788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25789 done; \
25790 echo "Doing info in readline" ; \
25791 (cd $(HOST_SUBDIR)/readline && \
25792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25794 "RANLIB=$${RANLIB}" \
25795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25796 info) \
25797 || exit 1
25799 @endif readline
25801 .PHONY: maybe-dvi-readline dvi-readline
25802 maybe-dvi-readline:
25803 @if readline
25804 maybe-dvi-readline: dvi-readline
25806 dvi-readline: \
25807 configure-readline
25808 @: $(MAKE); $(unstage)
25809 @[ -f ./readline/Makefile ] || exit 0; \
25810 r=`${PWD_COMMAND}`; export r; \
25811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25812 $(HOST_EXPORTS) \
25813 for flag in $(EXTRA_HOST_FLAGS) ; do \
25814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25815 done; \
25816 echo "Doing dvi in readline" ; \
25817 (cd $(HOST_SUBDIR)/readline && \
25818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25820 "RANLIB=$${RANLIB}" \
25821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25822 dvi) \
25823 || exit 1
25825 @endif readline
25827 .PHONY: maybe-pdf-readline pdf-readline
25828 maybe-pdf-readline:
25829 @if readline
25830 maybe-pdf-readline: pdf-readline
25832 pdf-readline: \
25833 configure-readline
25834 @: $(MAKE); $(unstage)
25835 @[ -f ./readline/Makefile ] || exit 0; \
25836 r=`${PWD_COMMAND}`; export r; \
25837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25838 $(HOST_EXPORTS) \
25839 for flag in $(EXTRA_HOST_FLAGS) ; do \
25840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25841 done; \
25842 echo "Doing pdf in readline" ; \
25843 (cd $(HOST_SUBDIR)/readline && \
25844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25846 "RANLIB=$${RANLIB}" \
25847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25848 pdf) \
25849 || exit 1
25851 @endif readline
25853 .PHONY: maybe-html-readline html-readline
25854 maybe-html-readline:
25855 @if readline
25856 maybe-html-readline: html-readline
25858 html-readline: \
25859 configure-readline
25860 @: $(MAKE); $(unstage)
25861 @[ -f ./readline/Makefile ] || exit 0; \
25862 r=`${PWD_COMMAND}`; export r; \
25863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25864 $(HOST_EXPORTS) \
25865 for flag in $(EXTRA_HOST_FLAGS) ; do \
25866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25867 done; \
25868 echo "Doing html in readline" ; \
25869 (cd $(HOST_SUBDIR)/readline && \
25870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25872 "RANLIB=$${RANLIB}" \
25873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25874 html) \
25875 || exit 1
25877 @endif readline
25879 .PHONY: maybe-TAGS-readline TAGS-readline
25880 maybe-TAGS-readline:
25881 @if readline
25882 maybe-TAGS-readline: TAGS-readline
25884 TAGS-readline: \
25885 configure-readline
25886 @: $(MAKE); $(unstage)
25887 @[ -f ./readline/Makefile ] || exit 0; \
25888 r=`${PWD_COMMAND}`; export r; \
25889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25890 $(HOST_EXPORTS) \
25891 for flag in $(EXTRA_HOST_FLAGS) ; do \
25892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25893 done; \
25894 echo "Doing TAGS in readline" ; \
25895 (cd $(HOST_SUBDIR)/readline && \
25896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25898 "RANLIB=$${RANLIB}" \
25899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25900 TAGS) \
25901 || exit 1
25903 @endif readline
25905 .PHONY: maybe-install-info-readline install-info-readline
25906 maybe-install-info-readline:
25907 @if readline
25908 maybe-install-info-readline: install-info-readline
25910 install-info-readline: \
25911 configure-readline \
25912 info-readline
25913 @: $(MAKE); $(unstage)
25914 @[ -f ./readline/Makefile ] || exit 0; \
25915 r=`${PWD_COMMAND}`; export r; \
25916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25917 $(HOST_EXPORTS) \
25918 for flag in $(EXTRA_HOST_FLAGS) ; do \
25919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25920 done; \
25921 echo "Doing install-info in readline" ; \
25922 (cd $(HOST_SUBDIR)/readline && \
25923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25925 "RANLIB=$${RANLIB}" \
25926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25927 install-info) \
25928 || exit 1
25930 @endif readline
25932 .PHONY: maybe-install-pdf-readline install-pdf-readline
25933 maybe-install-pdf-readline:
25934 @if readline
25935 maybe-install-pdf-readline: install-pdf-readline
25937 install-pdf-readline: \
25938 configure-readline \
25939 pdf-readline
25940 @: $(MAKE); $(unstage)
25941 @[ -f ./readline/Makefile ] || exit 0; \
25942 r=`${PWD_COMMAND}`; export r; \
25943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25944 $(HOST_EXPORTS) \
25945 for flag in $(EXTRA_HOST_FLAGS) ; do \
25946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25947 done; \
25948 echo "Doing install-pdf in readline" ; \
25949 (cd $(HOST_SUBDIR)/readline && \
25950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25952 "RANLIB=$${RANLIB}" \
25953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25954 install-pdf) \
25955 || exit 1
25957 @endif readline
25959 .PHONY: maybe-install-html-readline install-html-readline
25960 maybe-install-html-readline:
25961 @if readline
25962 maybe-install-html-readline: install-html-readline
25964 install-html-readline: \
25965 configure-readline \
25966 html-readline
25967 @: $(MAKE); $(unstage)
25968 @[ -f ./readline/Makefile ] || exit 0; \
25969 r=`${PWD_COMMAND}`; export r; \
25970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25971 $(HOST_EXPORTS) \
25972 for flag in $(EXTRA_HOST_FLAGS) ; do \
25973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25974 done; \
25975 echo "Doing install-html in readline" ; \
25976 (cd $(HOST_SUBDIR)/readline && \
25977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25979 "RANLIB=$${RANLIB}" \
25980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25981 install-html) \
25982 || exit 1
25984 @endif readline
25986 .PHONY: maybe-installcheck-readline installcheck-readline
25987 maybe-installcheck-readline:
25988 @if readline
25989 maybe-installcheck-readline: installcheck-readline
25991 installcheck-readline: \
25992 configure-readline
25993 @: $(MAKE); $(unstage)
25994 @[ -f ./readline/Makefile ] || exit 0; \
25995 r=`${PWD_COMMAND}`; export r; \
25996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25997 $(HOST_EXPORTS) \
25998 for flag in $(EXTRA_HOST_FLAGS) ; do \
25999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26000 done; \
26001 echo "Doing installcheck in readline" ; \
26002 (cd $(HOST_SUBDIR)/readline && \
26003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26005 "RANLIB=$${RANLIB}" \
26006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26007 installcheck) \
26008 || exit 1
26010 @endif readline
26012 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
26013 maybe-mostlyclean-readline:
26014 @if readline
26015 maybe-mostlyclean-readline: mostlyclean-readline
26017 mostlyclean-readline:
26018 @: $(MAKE); $(unstage)
26019 @[ -f ./readline/Makefile ] || exit 0; \
26020 r=`${PWD_COMMAND}`; export r; \
26021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26022 $(HOST_EXPORTS) \
26023 for flag in $(EXTRA_HOST_FLAGS) ; do \
26024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26025 done; \
26026 echo "Doing mostlyclean in readline" ; \
26027 (cd $(HOST_SUBDIR)/readline && \
26028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26030 "RANLIB=$${RANLIB}" \
26031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26032 mostlyclean) \
26033 || exit 1
26035 @endif readline
26037 .PHONY: maybe-clean-readline clean-readline
26038 maybe-clean-readline:
26039 @if readline
26040 maybe-clean-readline: clean-readline
26042 clean-readline:
26043 @: $(MAKE); $(unstage)
26044 @[ -f ./readline/Makefile ] || exit 0; \
26045 r=`${PWD_COMMAND}`; export r; \
26046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26047 $(HOST_EXPORTS) \
26048 for flag in $(EXTRA_HOST_FLAGS) ; do \
26049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26050 done; \
26051 echo "Doing clean in readline" ; \
26052 (cd $(HOST_SUBDIR)/readline && \
26053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26055 "RANLIB=$${RANLIB}" \
26056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26057 clean) \
26058 || exit 1
26060 @endif readline
26062 .PHONY: maybe-distclean-readline distclean-readline
26063 maybe-distclean-readline:
26064 @if readline
26065 maybe-distclean-readline: distclean-readline
26067 distclean-readline:
26068 @: $(MAKE); $(unstage)
26069 @[ -f ./readline/Makefile ] || exit 0; \
26070 r=`${PWD_COMMAND}`; export r; \
26071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26072 $(HOST_EXPORTS) \
26073 for flag in $(EXTRA_HOST_FLAGS) ; do \
26074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26075 done; \
26076 echo "Doing distclean in readline" ; \
26077 (cd $(HOST_SUBDIR)/readline && \
26078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26080 "RANLIB=$${RANLIB}" \
26081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26082 distclean) \
26083 || exit 1
26085 @endif readline
26087 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
26088 maybe-maintainer-clean-readline:
26089 @if readline
26090 maybe-maintainer-clean-readline: maintainer-clean-readline
26092 maintainer-clean-readline:
26093 @: $(MAKE); $(unstage)
26094 @[ -f ./readline/Makefile ] || exit 0; \
26095 r=`${PWD_COMMAND}`; export r; \
26096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26097 $(HOST_EXPORTS) \
26098 for flag in $(EXTRA_HOST_FLAGS) ; do \
26099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26100 done; \
26101 echo "Doing maintainer-clean in readline" ; \
26102 (cd $(HOST_SUBDIR)/readline && \
26103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26105 "RANLIB=$${RANLIB}" \
26106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26107 maintainer-clean) \
26108 || exit 1
26110 @endif readline
26114 .PHONY: configure-sid maybe-configure-sid
26115 maybe-configure-sid:
26116 @if gcc-bootstrap
26117 configure-sid: stage_current
26118 @endif gcc-bootstrap
26119 @if sid
26120 maybe-configure-sid: configure-sid
26121 configure-sid:
26122 @: $(MAKE); $(unstage)
26123 @r=`${PWD_COMMAND}`; export r; \
26124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26125 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
26126 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
26127 $(HOST_EXPORTS) \
26128 echo Configuring in $(HOST_SUBDIR)/sid; \
26129 cd "$(HOST_SUBDIR)/sid" || exit 1; \
26130 case $(srcdir) in \
26131 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26132 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
26133 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26134 esac; \
26135 module_srcdir=sid; \
26136 $(SHELL) \
26137 $$s/$$module_srcdir/configure \
26138 --srcdir=$${topdir}/$$module_srcdir \
26139 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26140 --target=${target_alias} \
26141 || exit 1
26142 @endif sid
26148 .PHONY: all-sid maybe-all-sid
26149 maybe-all-sid:
26150 @if gcc-bootstrap
26151 all-sid: stage_current
26152 @endif gcc-bootstrap
26153 @if sid
26154 TARGET-sid=all
26155 maybe-all-sid: all-sid
26156 all-sid: configure-sid
26157 @: $(MAKE); $(unstage)
26158 @r=`${PWD_COMMAND}`; export r; \
26159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26160 $(HOST_EXPORTS) \
26161 (cd $(HOST_SUBDIR)/sid && \
26162 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26163 $(TARGET-sid))
26164 @endif sid
26169 .PHONY: check-sid maybe-check-sid
26170 maybe-check-sid:
26171 @if sid
26172 maybe-check-sid: check-sid
26174 check-sid:
26175 @: $(MAKE); $(unstage)
26176 @r=`${PWD_COMMAND}`; export r; \
26177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26178 $(HOST_EXPORTS) \
26179 (cd $(HOST_SUBDIR)/sid && \
26180 $(MAKE) $(FLAGS_TO_PASS) check)
26182 @endif sid
26184 .PHONY: install-sid maybe-install-sid
26185 maybe-install-sid:
26186 @if sid
26187 maybe-install-sid: install-sid
26189 install-sid: installdirs
26190 @: $(MAKE); $(unstage)
26191 @r=`${PWD_COMMAND}`; export r; \
26192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26193 $(HOST_EXPORTS) \
26194 (cd $(HOST_SUBDIR)/sid && \
26195 $(MAKE) $(FLAGS_TO_PASS) install)
26197 @endif sid
26199 .PHONY: install-strip-sid maybe-install-strip-sid
26200 maybe-install-strip-sid:
26201 @if sid
26202 maybe-install-strip-sid: install-strip-sid
26204 install-strip-sid: installdirs
26205 @: $(MAKE); $(unstage)
26206 @r=`${PWD_COMMAND}`; export r; \
26207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26208 $(HOST_EXPORTS) \
26209 (cd $(HOST_SUBDIR)/sid && \
26210 $(MAKE) $(FLAGS_TO_PASS) install-strip)
26212 @endif sid
26214 # Other targets (info, dvi, pdf, etc.)
26216 .PHONY: maybe-info-sid info-sid
26217 maybe-info-sid:
26218 @if sid
26219 maybe-info-sid: info-sid
26221 info-sid: \
26222 configure-sid
26223 @: $(MAKE); $(unstage)
26224 @[ -f ./sid/Makefile ] || exit 0; \
26225 r=`${PWD_COMMAND}`; export r; \
26226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26227 $(HOST_EXPORTS) \
26228 for flag in $(EXTRA_HOST_FLAGS) ; do \
26229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26230 done; \
26231 echo "Doing info in sid" ; \
26232 (cd $(HOST_SUBDIR)/sid && \
26233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26235 "RANLIB=$${RANLIB}" \
26236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26237 info) \
26238 || exit 1
26240 @endif sid
26242 .PHONY: maybe-dvi-sid dvi-sid
26243 maybe-dvi-sid:
26244 @if sid
26245 maybe-dvi-sid: dvi-sid
26247 dvi-sid: \
26248 configure-sid
26249 @: $(MAKE); $(unstage)
26250 @[ -f ./sid/Makefile ] || exit 0; \
26251 r=`${PWD_COMMAND}`; export r; \
26252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26253 $(HOST_EXPORTS) \
26254 for flag in $(EXTRA_HOST_FLAGS) ; do \
26255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26256 done; \
26257 echo "Doing dvi in sid" ; \
26258 (cd $(HOST_SUBDIR)/sid && \
26259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26261 "RANLIB=$${RANLIB}" \
26262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26263 dvi) \
26264 || exit 1
26266 @endif sid
26268 .PHONY: maybe-pdf-sid pdf-sid
26269 maybe-pdf-sid:
26270 @if sid
26271 maybe-pdf-sid: pdf-sid
26273 pdf-sid: \
26274 configure-sid
26275 @: $(MAKE); $(unstage)
26276 @[ -f ./sid/Makefile ] || exit 0; \
26277 r=`${PWD_COMMAND}`; export r; \
26278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26279 $(HOST_EXPORTS) \
26280 for flag in $(EXTRA_HOST_FLAGS) ; do \
26281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26282 done; \
26283 echo "Doing pdf in sid" ; \
26284 (cd $(HOST_SUBDIR)/sid && \
26285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26287 "RANLIB=$${RANLIB}" \
26288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26289 pdf) \
26290 || exit 1
26292 @endif sid
26294 .PHONY: maybe-html-sid html-sid
26295 maybe-html-sid:
26296 @if sid
26297 maybe-html-sid: html-sid
26299 html-sid: \
26300 configure-sid
26301 @: $(MAKE); $(unstage)
26302 @[ -f ./sid/Makefile ] || exit 0; \
26303 r=`${PWD_COMMAND}`; export r; \
26304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26305 $(HOST_EXPORTS) \
26306 for flag in $(EXTRA_HOST_FLAGS) ; do \
26307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26308 done; \
26309 echo "Doing html in sid" ; \
26310 (cd $(HOST_SUBDIR)/sid && \
26311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26313 "RANLIB=$${RANLIB}" \
26314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26315 html) \
26316 || exit 1
26318 @endif sid
26320 .PHONY: maybe-TAGS-sid TAGS-sid
26321 maybe-TAGS-sid:
26322 @if sid
26323 maybe-TAGS-sid: TAGS-sid
26325 TAGS-sid: \
26326 configure-sid
26327 @: $(MAKE); $(unstage)
26328 @[ -f ./sid/Makefile ] || exit 0; \
26329 r=`${PWD_COMMAND}`; export r; \
26330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26331 $(HOST_EXPORTS) \
26332 for flag in $(EXTRA_HOST_FLAGS) ; do \
26333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26334 done; \
26335 echo "Doing TAGS in sid" ; \
26336 (cd $(HOST_SUBDIR)/sid && \
26337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26339 "RANLIB=$${RANLIB}" \
26340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26341 TAGS) \
26342 || exit 1
26344 @endif sid
26346 .PHONY: maybe-install-info-sid install-info-sid
26347 maybe-install-info-sid:
26348 @if sid
26349 maybe-install-info-sid: install-info-sid
26351 install-info-sid: \
26352 configure-sid \
26353 info-sid
26354 @: $(MAKE); $(unstage)
26355 @[ -f ./sid/Makefile ] || exit 0; \
26356 r=`${PWD_COMMAND}`; export r; \
26357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26358 $(HOST_EXPORTS) \
26359 for flag in $(EXTRA_HOST_FLAGS) ; do \
26360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26361 done; \
26362 echo "Doing install-info in sid" ; \
26363 (cd $(HOST_SUBDIR)/sid && \
26364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26366 "RANLIB=$${RANLIB}" \
26367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26368 install-info) \
26369 || exit 1
26371 @endif sid
26373 .PHONY: maybe-install-pdf-sid install-pdf-sid
26374 maybe-install-pdf-sid:
26375 @if sid
26376 maybe-install-pdf-sid: install-pdf-sid
26378 install-pdf-sid: \
26379 configure-sid \
26380 pdf-sid
26381 @: $(MAKE); $(unstage)
26382 @[ -f ./sid/Makefile ] || exit 0; \
26383 r=`${PWD_COMMAND}`; export r; \
26384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26385 $(HOST_EXPORTS) \
26386 for flag in $(EXTRA_HOST_FLAGS) ; do \
26387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26388 done; \
26389 echo "Doing install-pdf in sid" ; \
26390 (cd $(HOST_SUBDIR)/sid && \
26391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26393 "RANLIB=$${RANLIB}" \
26394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26395 install-pdf) \
26396 || exit 1
26398 @endif sid
26400 .PHONY: maybe-install-html-sid install-html-sid
26401 maybe-install-html-sid:
26402 @if sid
26403 maybe-install-html-sid: install-html-sid
26405 install-html-sid: \
26406 configure-sid \
26407 html-sid
26408 @: $(MAKE); $(unstage)
26409 @[ -f ./sid/Makefile ] || exit 0; \
26410 r=`${PWD_COMMAND}`; export r; \
26411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26412 $(HOST_EXPORTS) \
26413 for flag in $(EXTRA_HOST_FLAGS) ; do \
26414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26415 done; \
26416 echo "Doing install-html in sid" ; \
26417 (cd $(HOST_SUBDIR)/sid && \
26418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26420 "RANLIB=$${RANLIB}" \
26421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26422 install-html) \
26423 || exit 1
26425 @endif sid
26427 .PHONY: maybe-installcheck-sid installcheck-sid
26428 maybe-installcheck-sid:
26429 @if sid
26430 maybe-installcheck-sid: installcheck-sid
26432 installcheck-sid: \
26433 configure-sid
26434 @: $(MAKE); $(unstage)
26435 @[ -f ./sid/Makefile ] || exit 0; \
26436 r=`${PWD_COMMAND}`; export r; \
26437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26438 $(HOST_EXPORTS) \
26439 for flag in $(EXTRA_HOST_FLAGS) ; do \
26440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26441 done; \
26442 echo "Doing installcheck in sid" ; \
26443 (cd $(HOST_SUBDIR)/sid && \
26444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26446 "RANLIB=$${RANLIB}" \
26447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26448 installcheck) \
26449 || exit 1
26451 @endif sid
26453 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
26454 maybe-mostlyclean-sid:
26455 @if sid
26456 maybe-mostlyclean-sid: mostlyclean-sid
26458 mostlyclean-sid:
26459 @: $(MAKE); $(unstage)
26460 @[ -f ./sid/Makefile ] || exit 0; \
26461 r=`${PWD_COMMAND}`; export r; \
26462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26463 $(HOST_EXPORTS) \
26464 for flag in $(EXTRA_HOST_FLAGS) ; do \
26465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26466 done; \
26467 echo "Doing mostlyclean in sid" ; \
26468 (cd $(HOST_SUBDIR)/sid && \
26469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26471 "RANLIB=$${RANLIB}" \
26472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26473 mostlyclean) \
26474 || exit 1
26476 @endif sid
26478 .PHONY: maybe-clean-sid clean-sid
26479 maybe-clean-sid:
26480 @if sid
26481 maybe-clean-sid: clean-sid
26483 clean-sid:
26484 @: $(MAKE); $(unstage)
26485 @[ -f ./sid/Makefile ] || exit 0; \
26486 r=`${PWD_COMMAND}`; export r; \
26487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26488 $(HOST_EXPORTS) \
26489 for flag in $(EXTRA_HOST_FLAGS) ; do \
26490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26491 done; \
26492 echo "Doing clean in sid" ; \
26493 (cd $(HOST_SUBDIR)/sid && \
26494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26496 "RANLIB=$${RANLIB}" \
26497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26498 clean) \
26499 || exit 1
26501 @endif sid
26503 .PHONY: maybe-distclean-sid distclean-sid
26504 maybe-distclean-sid:
26505 @if sid
26506 maybe-distclean-sid: distclean-sid
26508 distclean-sid:
26509 @: $(MAKE); $(unstage)
26510 @[ -f ./sid/Makefile ] || exit 0; \
26511 r=`${PWD_COMMAND}`; export r; \
26512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26513 $(HOST_EXPORTS) \
26514 for flag in $(EXTRA_HOST_FLAGS) ; do \
26515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26516 done; \
26517 echo "Doing distclean in sid" ; \
26518 (cd $(HOST_SUBDIR)/sid && \
26519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26521 "RANLIB=$${RANLIB}" \
26522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26523 distclean) \
26524 || exit 1
26526 @endif sid
26528 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
26529 maybe-maintainer-clean-sid:
26530 @if sid
26531 maybe-maintainer-clean-sid: maintainer-clean-sid
26533 maintainer-clean-sid:
26534 @: $(MAKE); $(unstage)
26535 @[ -f ./sid/Makefile ] || exit 0; \
26536 r=`${PWD_COMMAND}`; export r; \
26537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26538 $(HOST_EXPORTS) \
26539 for flag in $(EXTRA_HOST_FLAGS) ; do \
26540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26541 done; \
26542 echo "Doing maintainer-clean in sid" ; \
26543 (cd $(HOST_SUBDIR)/sid && \
26544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26546 "RANLIB=$${RANLIB}" \
26547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26548 maintainer-clean) \
26549 || exit 1
26551 @endif sid
26555 .PHONY: configure-sim maybe-configure-sim
26556 maybe-configure-sim:
26557 @if gcc-bootstrap
26558 configure-sim: stage_current
26559 @endif gcc-bootstrap
26560 @if sim
26561 maybe-configure-sim: configure-sim
26562 configure-sim:
26563 @: $(MAKE); $(unstage)
26564 @r=`${PWD_COMMAND}`; export r; \
26565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26566 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
26567 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
26568 $(HOST_EXPORTS) \
26569 echo Configuring in $(HOST_SUBDIR)/sim; \
26570 cd "$(HOST_SUBDIR)/sim" || exit 1; \
26571 case $(srcdir) in \
26572 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26573 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
26574 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26575 esac; \
26576 module_srcdir=sim; \
26577 $(SHELL) \
26578 $$s/$$module_srcdir/configure \
26579 --srcdir=$${topdir}/$$module_srcdir \
26580 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26581 --target=${target_alias} \
26582 || exit 1
26583 @endif sim
26589 .PHONY: all-sim maybe-all-sim
26590 maybe-all-sim:
26591 @if gcc-bootstrap
26592 all-sim: stage_current
26593 @endif gcc-bootstrap
26594 @if sim
26595 TARGET-sim=all
26596 maybe-all-sim: all-sim
26597 all-sim: configure-sim
26598 @: $(MAKE); $(unstage)
26599 @r=`${PWD_COMMAND}`; export r; \
26600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26601 $(HOST_EXPORTS) \
26602 (cd $(HOST_SUBDIR)/sim && \
26603 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26604 $(TARGET-sim))
26605 @endif sim
26610 .PHONY: check-sim maybe-check-sim
26611 maybe-check-sim:
26612 @if sim
26613 maybe-check-sim: check-sim
26615 check-sim:
26616 @: $(MAKE); $(unstage)
26617 @r=`${PWD_COMMAND}`; export r; \
26618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26619 $(HOST_EXPORTS) \
26620 (cd $(HOST_SUBDIR)/sim && \
26621 $(MAKE) $(FLAGS_TO_PASS) check)
26623 @endif sim
26625 .PHONY: install-sim maybe-install-sim
26626 maybe-install-sim:
26627 @if sim
26628 maybe-install-sim: install-sim
26630 install-sim: installdirs
26631 @: $(MAKE); $(unstage)
26632 @r=`${PWD_COMMAND}`; export r; \
26633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26634 $(HOST_EXPORTS) \
26635 (cd $(HOST_SUBDIR)/sim && \
26636 $(MAKE) $(FLAGS_TO_PASS) install)
26638 @endif sim
26640 .PHONY: install-strip-sim maybe-install-strip-sim
26641 maybe-install-strip-sim:
26642 @if sim
26643 maybe-install-strip-sim: install-strip-sim
26645 install-strip-sim: installdirs
26646 @: $(MAKE); $(unstage)
26647 @r=`${PWD_COMMAND}`; export r; \
26648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26649 $(HOST_EXPORTS) \
26650 (cd $(HOST_SUBDIR)/sim && \
26651 $(MAKE) $(FLAGS_TO_PASS) install-strip)
26653 @endif sim
26655 # Other targets (info, dvi, pdf, etc.)
26657 .PHONY: maybe-info-sim info-sim
26658 maybe-info-sim:
26659 @if sim
26660 maybe-info-sim: info-sim
26662 info-sim: \
26663 configure-sim
26664 @: $(MAKE); $(unstage)
26665 @[ -f ./sim/Makefile ] || exit 0; \
26666 r=`${PWD_COMMAND}`; export r; \
26667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26668 $(HOST_EXPORTS) \
26669 for flag in $(EXTRA_HOST_FLAGS) ; do \
26670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26671 done; \
26672 echo "Doing info in sim" ; \
26673 (cd $(HOST_SUBDIR)/sim && \
26674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26676 "RANLIB=$${RANLIB}" \
26677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26678 info) \
26679 || exit 1
26681 @endif sim
26683 .PHONY: maybe-dvi-sim dvi-sim
26684 maybe-dvi-sim:
26685 @if sim
26686 maybe-dvi-sim: dvi-sim
26688 dvi-sim: \
26689 configure-sim
26690 @: $(MAKE); $(unstage)
26691 @[ -f ./sim/Makefile ] || exit 0; \
26692 r=`${PWD_COMMAND}`; export r; \
26693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26694 $(HOST_EXPORTS) \
26695 for flag in $(EXTRA_HOST_FLAGS) ; do \
26696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26697 done; \
26698 echo "Doing dvi in sim" ; \
26699 (cd $(HOST_SUBDIR)/sim && \
26700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26702 "RANLIB=$${RANLIB}" \
26703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26704 dvi) \
26705 || exit 1
26707 @endif sim
26709 .PHONY: maybe-pdf-sim pdf-sim
26710 maybe-pdf-sim:
26711 @if sim
26712 maybe-pdf-sim: pdf-sim
26714 pdf-sim: \
26715 configure-sim
26716 @: $(MAKE); $(unstage)
26717 @[ -f ./sim/Makefile ] || exit 0; \
26718 r=`${PWD_COMMAND}`; export r; \
26719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26720 $(HOST_EXPORTS) \
26721 for flag in $(EXTRA_HOST_FLAGS) ; do \
26722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26723 done; \
26724 echo "Doing pdf in sim" ; \
26725 (cd $(HOST_SUBDIR)/sim && \
26726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26728 "RANLIB=$${RANLIB}" \
26729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26730 pdf) \
26731 || exit 1
26733 @endif sim
26735 .PHONY: maybe-html-sim html-sim
26736 maybe-html-sim:
26737 @if sim
26738 maybe-html-sim: html-sim
26740 html-sim: \
26741 configure-sim
26742 @: $(MAKE); $(unstage)
26743 @[ -f ./sim/Makefile ] || exit 0; \
26744 r=`${PWD_COMMAND}`; export r; \
26745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26746 $(HOST_EXPORTS) \
26747 for flag in $(EXTRA_HOST_FLAGS) ; do \
26748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26749 done; \
26750 echo "Doing html in sim" ; \
26751 (cd $(HOST_SUBDIR)/sim && \
26752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26754 "RANLIB=$${RANLIB}" \
26755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26756 html) \
26757 || exit 1
26759 @endif sim
26761 .PHONY: maybe-TAGS-sim TAGS-sim
26762 maybe-TAGS-sim:
26763 @if sim
26764 maybe-TAGS-sim: TAGS-sim
26766 TAGS-sim: \
26767 configure-sim
26768 @: $(MAKE); $(unstage)
26769 @[ -f ./sim/Makefile ] || exit 0; \
26770 r=`${PWD_COMMAND}`; export r; \
26771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26772 $(HOST_EXPORTS) \
26773 for flag in $(EXTRA_HOST_FLAGS) ; do \
26774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26775 done; \
26776 echo "Doing TAGS in sim" ; \
26777 (cd $(HOST_SUBDIR)/sim && \
26778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26780 "RANLIB=$${RANLIB}" \
26781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26782 TAGS) \
26783 || exit 1
26785 @endif sim
26787 .PHONY: maybe-install-info-sim install-info-sim
26788 maybe-install-info-sim:
26789 @if sim
26790 maybe-install-info-sim: install-info-sim
26792 install-info-sim: \
26793 configure-sim \
26794 info-sim
26795 @: $(MAKE); $(unstage)
26796 @[ -f ./sim/Makefile ] || exit 0; \
26797 r=`${PWD_COMMAND}`; export r; \
26798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26799 $(HOST_EXPORTS) \
26800 for flag in $(EXTRA_HOST_FLAGS) ; do \
26801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26802 done; \
26803 echo "Doing install-info in sim" ; \
26804 (cd $(HOST_SUBDIR)/sim && \
26805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26807 "RANLIB=$${RANLIB}" \
26808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26809 install-info) \
26810 || exit 1
26812 @endif sim
26814 .PHONY: maybe-install-pdf-sim install-pdf-sim
26815 maybe-install-pdf-sim:
26816 @if sim
26817 maybe-install-pdf-sim: install-pdf-sim
26819 install-pdf-sim: \
26820 configure-sim \
26821 pdf-sim
26822 @: $(MAKE); $(unstage)
26823 @[ -f ./sim/Makefile ] || exit 0; \
26824 r=`${PWD_COMMAND}`; export r; \
26825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26826 $(HOST_EXPORTS) \
26827 for flag in $(EXTRA_HOST_FLAGS) ; do \
26828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26829 done; \
26830 echo "Doing install-pdf in sim" ; \
26831 (cd $(HOST_SUBDIR)/sim && \
26832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26834 "RANLIB=$${RANLIB}" \
26835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26836 install-pdf) \
26837 || exit 1
26839 @endif sim
26841 .PHONY: maybe-install-html-sim install-html-sim
26842 maybe-install-html-sim:
26843 @if sim
26844 maybe-install-html-sim: install-html-sim
26846 install-html-sim: \
26847 configure-sim \
26848 html-sim
26849 @: $(MAKE); $(unstage)
26850 @[ -f ./sim/Makefile ] || exit 0; \
26851 r=`${PWD_COMMAND}`; export r; \
26852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26853 $(HOST_EXPORTS) \
26854 for flag in $(EXTRA_HOST_FLAGS) ; do \
26855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26856 done; \
26857 echo "Doing install-html in sim" ; \
26858 (cd $(HOST_SUBDIR)/sim && \
26859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26861 "RANLIB=$${RANLIB}" \
26862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26863 install-html) \
26864 || exit 1
26866 @endif sim
26868 .PHONY: maybe-installcheck-sim installcheck-sim
26869 maybe-installcheck-sim:
26870 @if sim
26871 maybe-installcheck-sim: installcheck-sim
26873 installcheck-sim: \
26874 configure-sim
26875 @: $(MAKE); $(unstage)
26876 @[ -f ./sim/Makefile ] || exit 0; \
26877 r=`${PWD_COMMAND}`; export r; \
26878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26879 $(HOST_EXPORTS) \
26880 for flag in $(EXTRA_HOST_FLAGS) ; do \
26881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26882 done; \
26883 echo "Doing installcheck in sim" ; \
26884 (cd $(HOST_SUBDIR)/sim && \
26885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26887 "RANLIB=$${RANLIB}" \
26888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26889 installcheck) \
26890 || exit 1
26892 @endif sim
26894 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
26895 maybe-mostlyclean-sim:
26896 @if sim
26897 maybe-mostlyclean-sim: mostlyclean-sim
26899 mostlyclean-sim:
26900 @: $(MAKE); $(unstage)
26901 @[ -f ./sim/Makefile ] || exit 0; \
26902 r=`${PWD_COMMAND}`; export r; \
26903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26904 $(HOST_EXPORTS) \
26905 for flag in $(EXTRA_HOST_FLAGS) ; do \
26906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26907 done; \
26908 echo "Doing mostlyclean in sim" ; \
26909 (cd $(HOST_SUBDIR)/sim && \
26910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26912 "RANLIB=$${RANLIB}" \
26913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26914 mostlyclean) \
26915 || exit 1
26917 @endif sim
26919 .PHONY: maybe-clean-sim clean-sim
26920 maybe-clean-sim:
26921 @if sim
26922 maybe-clean-sim: clean-sim
26924 clean-sim:
26925 @: $(MAKE); $(unstage)
26926 @[ -f ./sim/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 clean in sim" ; \
26934 (cd $(HOST_SUBDIR)/sim && \
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 clean) \
26940 || exit 1
26942 @endif sim
26944 .PHONY: maybe-distclean-sim distclean-sim
26945 maybe-distclean-sim:
26946 @if sim
26947 maybe-distclean-sim: distclean-sim
26949 distclean-sim:
26950 @: $(MAKE); $(unstage)
26951 @[ -f ./sim/Makefile ] || exit 0; \
26952 r=`${PWD_COMMAND}`; export r; \
26953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26954 $(HOST_EXPORTS) \
26955 for flag in $(EXTRA_HOST_FLAGS) ; do \
26956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26957 done; \
26958 echo "Doing distclean in sim" ; \
26959 (cd $(HOST_SUBDIR)/sim && \
26960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26962 "RANLIB=$${RANLIB}" \
26963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26964 distclean) \
26965 || exit 1
26967 @endif sim
26969 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
26970 maybe-maintainer-clean-sim:
26971 @if sim
26972 maybe-maintainer-clean-sim: maintainer-clean-sim
26974 maintainer-clean-sim:
26975 @: $(MAKE); $(unstage)
26976 @[ -f ./sim/Makefile ] || exit 0; \
26977 r=`${PWD_COMMAND}`; export r; \
26978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26979 $(HOST_EXPORTS) \
26980 for flag in $(EXTRA_HOST_FLAGS) ; do \
26981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26982 done; \
26983 echo "Doing maintainer-clean in sim" ; \
26984 (cd $(HOST_SUBDIR)/sim && \
26985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26987 "RANLIB=$${RANLIB}" \
26988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26989 maintainer-clean) \
26990 || exit 1
26992 @endif sim
26996 .PHONY: configure-texinfo maybe-configure-texinfo
26997 maybe-configure-texinfo:
26998 @if gcc-bootstrap
26999 configure-texinfo: stage_current
27000 @endif gcc-bootstrap
27001 @if texinfo
27002 maybe-configure-texinfo: configure-texinfo
27003 configure-texinfo:
27004 @: $(MAKE); $(unstage)
27005 @r=`${PWD_COMMAND}`; export r; \
27006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27007 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
27008 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
27009 $(HOST_EXPORTS) \
27010 echo Configuring in $(HOST_SUBDIR)/texinfo; \
27011 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
27012 case $(srcdir) in \
27013 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27014 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
27015 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27016 esac; \
27017 module_srcdir=texinfo; \
27018 $(SHELL) \
27019 $$s/$$module_srcdir/configure \
27020 --srcdir=$${topdir}/$$module_srcdir \
27021 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27022 --target=${target_alias} \
27023 || exit 1
27024 @endif texinfo
27030 .PHONY: all-texinfo maybe-all-texinfo
27031 maybe-all-texinfo:
27032 @if gcc-bootstrap
27033 all-texinfo: stage_current
27034 @endif gcc-bootstrap
27035 @if texinfo
27036 TARGET-texinfo=all
27037 maybe-all-texinfo: all-texinfo
27038 all-texinfo: configure-texinfo
27039 @: $(MAKE); $(unstage)
27040 @r=`${PWD_COMMAND}`; export r; \
27041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27042 $(HOST_EXPORTS) \
27043 (cd $(HOST_SUBDIR)/texinfo && \
27044 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
27045 $(TARGET-texinfo))
27046 @endif texinfo
27051 .PHONY: check-texinfo maybe-check-texinfo
27052 maybe-check-texinfo:
27053 @if texinfo
27054 maybe-check-texinfo: check-texinfo
27056 check-texinfo:
27057 @: $(MAKE); $(unstage)
27058 @r=`${PWD_COMMAND}`; export r; \
27059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27060 $(HOST_EXPORTS) \
27061 (cd $(HOST_SUBDIR)/texinfo && \
27062 $(MAKE) $(FLAGS_TO_PASS) check)
27064 @endif texinfo
27066 .PHONY: install-texinfo maybe-install-texinfo
27067 maybe-install-texinfo:
27068 @if texinfo
27069 maybe-install-texinfo: install-texinfo
27071 install-texinfo:
27073 @endif texinfo
27075 .PHONY: install-strip-texinfo maybe-install-strip-texinfo
27076 maybe-install-strip-texinfo:
27077 @if texinfo
27078 maybe-install-strip-texinfo: install-strip-texinfo
27080 install-strip-texinfo:
27082 @endif texinfo
27084 # Other targets (info, dvi, pdf, etc.)
27086 .PHONY: maybe-info-texinfo info-texinfo
27087 maybe-info-texinfo:
27088 @if texinfo
27089 maybe-info-texinfo: info-texinfo
27091 info-texinfo: \
27092 configure-texinfo
27093 @: $(MAKE); $(unstage)
27094 @[ -f ./texinfo/Makefile ] || exit 0; \
27095 r=`${PWD_COMMAND}`; export r; \
27096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27097 $(HOST_EXPORTS) \
27098 for flag in $(EXTRA_HOST_FLAGS) ; do \
27099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27100 done; \
27101 echo "Doing info in texinfo" ; \
27102 (cd $(HOST_SUBDIR)/texinfo && \
27103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27105 "RANLIB=$${RANLIB}" \
27106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27107 info) \
27108 || exit 1
27110 @endif texinfo
27112 .PHONY: maybe-dvi-texinfo dvi-texinfo
27113 maybe-dvi-texinfo:
27114 @if texinfo
27115 maybe-dvi-texinfo: dvi-texinfo
27117 dvi-texinfo: \
27118 configure-texinfo
27119 @: $(MAKE); $(unstage)
27120 @[ -f ./texinfo/Makefile ] || exit 0; \
27121 r=`${PWD_COMMAND}`; export r; \
27122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27123 $(HOST_EXPORTS) \
27124 for flag in $(EXTRA_HOST_FLAGS) ; do \
27125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27126 done; \
27127 echo "Doing dvi in texinfo" ; \
27128 (cd $(HOST_SUBDIR)/texinfo && \
27129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27131 "RANLIB=$${RANLIB}" \
27132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27133 dvi) \
27134 || exit 1
27136 @endif texinfo
27138 .PHONY: maybe-pdf-texinfo pdf-texinfo
27139 maybe-pdf-texinfo:
27140 @if texinfo
27141 maybe-pdf-texinfo: pdf-texinfo
27143 pdf-texinfo: \
27144 configure-texinfo
27145 @: $(MAKE); $(unstage)
27146 @[ -f ./texinfo/Makefile ] || exit 0; \
27147 r=`${PWD_COMMAND}`; export r; \
27148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27149 $(HOST_EXPORTS) \
27150 for flag in $(EXTRA_HOST_FLAGS) ; do \
27151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27152 done; \
27153 echo "Doing pdf in texinfo" ; \
27154 (cd $(HOST_SUBDIR)/texinfo && \
27155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27157 "RANLIB=$${RANLIB}" \
27158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27159 pdf) \
27160 || exit 1
27162 @endif texinfo
27164 .PHONY: maybe-html-texinfo html-texinfo
27165 maybe-html-texinfo:
27166 @if texinfo
27167 maybe-html-texinfo: html-texinfo
27169 html-texinfo: \
27170 configure-texinfo
27171 @: $(MAKE); $(unstage)
27172 @[ -f ./texinfo/Makefile ] || exit 0; \
27173 r=`${PWD_COMMAND}`; export r; \
27174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27175 $(HOST_EXPORTS) \
27176 for flag in $(EXTRA_HOST_FLAGS) ; do \
27177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27178 done; \
27179 echo "Doing html in texinfo" ; \
27180 (cd $(HOST_SUBDIR)/texinfo && \
27181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27183 "RANLIB=$${RANLIB}" \
27184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27185 html) \
27186 || exit 1
27188 @endif texinfo
27190 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
27191 maybe-TAGS-texinfo:
27192 @if texinfo
27193 maybe-TAGS-texinfo: TAGS-texinfo
27195 TAGS-texinfo: \
27196 configure-texinfo
27197 @: $(MAKE); $(unstage)
27198 @[ -f ./texinfo/Makefile ] || exit 0; \
27199 r=`${PWD_COMMAND}`; export r; \
27200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27201 $(HOST_EXPORTS) \
27202 for flag in $(EXTRA_HOST_FLAGS) ; do \
27203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27204 done; \
27205 echo "Doing TAGS in texinfo" ; \
27206 (cd $(HOST_SUBDIR)/texinfo && \
27207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27209 "RANLIB=$${RANLIB}" \
27210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27211 TAGS) \
27212 || exit 1
27214 @endif texinfo
27216 .PHONY: maybe-install-info-texinfo install-info-texinfo
27217 maybe-install-info-texinfo:
27218 @if texinfo
27219 maybe-install-info-texinfo: install-info-texinfo
27221 install-info-texinfo: \
27222 configure-texinfo \
27223 info-texinfo
27224 @: $(MAKE); $(unstage)
27225 @[ -f ./texinfo/Makefile ] || exit 0; \
27226 r=`${PWD_COMMAND}`; export r; \
27227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27228 $(HOST_EXPORTS) \
27229 for flag in $(EXTRA_HOST_FLAGS) ; do \
27230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27231 done; \
27232 echo "Doing install-info in texinfo" ; \
27233 (cd $(HOST_SUBDIR)/texinfo && \
27234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27236 "RANLIB=$${RANLIB}" \
27237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27238 install-info) \
27239 || exit 1
27241 @endif texinfo
27243 .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo
27244 maybe-install-pdf-texinfo:
27245 @if texinfo
27246 maybe-install-pdf-texinfo: install-pdf-texinfo
27248 install-pdf-texinfo: \
27249 configure-texinfo \
27250 pdf-texinfo
27251 @: $(MAKE); $(unstage)
27252 @[ -f ./texinfo/Makefile ] || exit 0; \
27253 r=`${PWD_COMMAND}`; export r; \
27254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27255 $(HOST_EXPORTS) \
27256 for flag in $(EXTRA_HOST_FLAGS) ; do \
27257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27258 done; \
27259 echo "Doing install-pdf in texinfo" ; \
27260 (cd $(HOST_SUBDIR)/texinfo && \
27261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27263 "RANLIB=$${RANLIB}" \
27264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27265 install-pdf) \
27266 || exit 1
27268 @endif texinfo
27270 .PHONY: maybe-install-html-texinfo install-html-texinfo
27271 maybe-install-html-texinfo:
27272 @if texinfo
27273 maybe-install-html-texinfo: install-html-texinfo
27275 install-html-texinfo: \
27276 configure-texinfo \
27277 html-texinfo
27278 @: $(MAKE); $(unstage)
27279 @[ -f ./texinfo/Makefile ] || exit 0; \
27280 r=`${PWD_COMMAND}`; export r; \
27281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27282 $(HOST_EXPORTS) \
27283 for flag in $(EXTRA_HOST_FLAGS) ; do \
27284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27285 done; \
27286 echo "Doing install-html in texinfo" ; \
27287 (cd $(HOST_SUBDIR)/texinfo && \
27288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27290 "RANLIB=$${RANLIB}" \
27291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27292 install-html) \
27293 || exit 1
27295 @endif texinfo
27297 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
27298 maybe-installcheck-texinfo:
27299 @if texinfo
27300 maybe-installcheck-texinfo: installcheck-texinfo
27302 installcheck-texinfo: \
27303 configure-texinfo
27304 @: $(MAKE); $(unstage)
27305 @[ -f ./texinfo/Makefile ] || exit 0; \
27306 r=`${PWD_COMMAND}`; export r; \
27307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27308 $(HOST_EXPORTS) \
27309 for flag in $(EXTRA_HOST_FLAGS) ; do \
27310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27311 done; \
27312 echo "Doing installcheck in texinfo" ; \
27313 (cd $(HOST_SUBDIR)/texinfo && \
27314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27316 "RANLIB=$${RANLIB}" \
27317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27318 installcheck) \
27319 || exit 1
27321 @endif texinfo
27323 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
27324 maybe-mostlyclean-texinfo:
27325 @if texinfo
27326 maybe-mostlyclean-texinfo: mostlyclean-texinfo
27328 mostlyclean-texinfo:
27329 @: $(MAKE); $(unstage)
27330 @[ -f ./texinfo/Makefile ] || exit 0; \
27331 r=`${PWD_COMMAND}`; export r; \
27332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27333 $(HOST_EXPORTS) \
27334 for flag in $(EXTRA_HOST_FLAGS) ; do \
27335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27336 done; \
27337 echo "Doing mostlyclean in texinfo" ; \
27338 (cd $(HOST_SUBDIR)/texinfo && \
27339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27341 "RANLIB=$${RANLIB}" \
27342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27343 mostlyclean) \
27344 || exit 1
27346 @endif texinfo
27348 .PHONY: maybe-clean-texinfo clean-texinfo
27349 maybe-clean-texinfo:
27350 @if texinfo
27351 maybe-clean-texinfo: clean-texinfo
27353 clean-texinfo:
27354 @: $(MAKE); $(unstage)
27355 @[ -f ./texinfo/Makefile ] || exit 0; \
27356 r=`${PWD_COMMAND}`; export r; \
27357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27358 $(HOST_EXPORTS) \
27359 for flag in $(EXTRA_HOST_FLAGS) ; do \
27360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27361 done; \
27362 echo "Doing clean in texinfo" ; \
27363 (cd $(HOST_SUBDIR)/texinfo && \
27364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27366 "RANLIB=$${RANLIB}" \
27367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27368 clean) \
27369 || exit 1
27371 @endif texinfo
27373 .PHONY: maybe-distclean-texinfo distclean-texinfo
27374 maybe-distclean-texinfo:
27375 @if texinfo
27376 maybe-distclean-texinfo: distclean-texinfo
27378 distclean-texinfo:
27379 @: $(MAKE); $(unstage)
27380 @[ -f ./texinfo/Makefile ] || exit 0; \
27381 r=`${PWD_COMMAND}`; export r; \
27382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27383 $(HOST_EXPORTS) \
27384 for flag in $(EXTRA_HOST_FLAGS) ; do \
27385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27386 done; \
27387 echo "Doing distclean in texinfo" ; \
27388 (cd $(HOST_SUBDIR)/texinfo && \
27389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27391 "RANLIB=$${RANLIB}" \
27392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27393 distclean) \
27394 || exit 1
27396 @endif texinfo
27398 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
27399 maybe-maintainer-clean-texinfo:
27400 @if texinfo
27401 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
27403 maintainer-clean-texinfo:
27404 @: $(MAKE); $(unstage)
27405 @[ -f ./texinfo/Makefile ] || exit 0; \
27406 r=`${PWD_COMMAND}`; export r; \
27407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27408 $(HOST_EXPORTS) \
27409 for flag in $(EXTRA_HOST_FLAGS) ; do \
27410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27411 done; \
27412 echo "Doing maintainer-clean in texinfo" ; \
27413 (cd $(HOST_SUBDIR)/texinfo && \
27414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27416 "RANLIB=$${RANLIB}" \
27417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27418 maintainer-clean) \
27419 || exit 1
27421 @endif texinfo
27425 .PHONY: configure-zlib maybe-configure-zlib
27426 maybe-configure-zlib:
27427 @if gcc-bootstrap
27428 configure-zlib: stage_current
27429 @endif gcc-bootstrap
27430 @if zlib
27431 maybe-configure-zlib: configure-zlib
27432 configure-zlib:
27433 @r=`${PWD_COMMAND}`; export r; \
27434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27435 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
27436 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
27437 $(HOST_EXPORTS) \
27438 echo Configuring in $(HOST_SUBDIR)/zlib; \
27439 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
27440 case $(srcdir) in \
27441 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27442 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
27443 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27444 esac; \
27445 module_srcdir=zlib; \
27446 $(SHELL) \
27447 $$s/$$module_srcdir/configure \
27448 --srcdir=$${topdir}/$$module_srcdir \
27449 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27450 --target=${target_alias} \
27451 || exit 1
27452 @endif zlib
27456 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
27457 maybe-configure-stage1-zlib:
27458 @if zlib-bootstrap
27459 maybe-configure-stage1-zlib: configure-stage1-zlib
27460 configure-stage1-zlib:
27461 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
27462 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
27463 @r=`${PWD_COMMAND}`; export r; \
27464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27465 TFLAGS="$(STAGE1_TFLAGS)"; \
27466 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
27467 $(HOST_EXPORTS) \
27468 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
27469 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
27470 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
27471 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
27472 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
27473 cd $(HOST_SUBDIR)/zlib || exit 1; \
27474 case $(srcdir) in \
27475 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27476 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
27477 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27478 esac; \
27479 module_srcdir=zlib; \
27480 $(SHELL) $$s/$$module_srcdir/configure \
27481 --srcdir=$${topdir}/$$module_srcdir \
27482 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27483 --target=${target_alias} \
27485 $(STAGE1_CONFIGURE_FLAGS)
27486 @endif zlib-bootstrap
27488 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
27489 maybe-configure-stage2-zlib:
27490 @if zlib-bootstrap
27491 maybe-configure-stage2-zlib: configure-stage2-zlib
27492 configure-stage2-zlib:
27493 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
27494 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
27495 @r=`${PWD_COMMAND}`; export r; \
27496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27497 TFLAGS="$(STAGE2_TFLAGS)"; \
27498 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
27499 $(HOST_EXPORTS) \
27500 $(POSTSTAGE1_HOST_EXPORTS) \
27501 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
27502 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
27503 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
27504 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
27505 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
27506 cd $(HOST_SUBDIR)/zlib || exit 1; \
27507 case $(srcdir) in \
27508 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27509 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
27510 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27511 esac; \
27512 module_srcdir=zlib; \
27513 $(SHELL) $$s/$$module_srcdir/configure \
27514 --srcdir=$${topdir}/$$module_srcdir \
27515 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27516 --target=${target_alias} \
27517 --with-build-libsubdir=$(HOST_SUBDIR) \
27518 $(STAGE2_CONFIGURE_FLAGS)
27519 @endif zlib-bootstrap
27521 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
27522 maybe-configure-stage3-zlib:
27523 @if zlib-bootstrap
27524 maybe-configure-stage3-zlib: configure-stage3-zlib
27525 configure-stage3-zlib:
27526 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
27527 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
27528 @r=`${PWD_COMMAND}`; export r; \
27529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27530 TFLAGS="$(STAGE3_TFLAGS)"; \
27531 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
27532 $(HOST_EXPORTS) \
27533 $(POSTSTAGE1_HOST_EXPORTS) \
27534 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
27535 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
27536 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
27537 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
27538 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
27539 cd $(HOST_SUBDIR)/zlib || exit 1; \
27540 case $(srcdir) in \
27541 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27542 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
27543 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27544 esac; \
27545 module_srcdir=zlib; \
27546 $(SHELL) $$s/$$module_srcdir/configure \
27547 --srcdir=$${topdir}/$$module_srcdir \
27548 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27549 --target=${target_alias} \
27550 --with-build-libsubdir=$(HOST_SUBDIR) \
27551 $(STAGE3_CONFIGURE_FLAGS)
27552 @endif zlib-bootstrap
27554 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
27555 maybe-configure-stage4-zlib:
27556 @if zlib-bootstrap
27557 maybe-configure-stage4-zlib: configure-stage4-zlib
27558 configure-stage4-zlib:
27559 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27560 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
27561 @r=`${PWD_COMMAND}`; export r; \
27562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27563 TFLAGS="$(STAGE4_TFLAGS)"; \
27564 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
27565 $(HOST_EXPORTS) \
27566 $(POSTSTAGE1_HOST_EXPORTS) \
27567 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
27568 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
27569 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
27570 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
27571 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
27572 cd $(HOST_SUBDIR)/zlib || exit 1; \
27573 case $(srcdir) in \
27574 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27575 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
27576 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27577 esac; \
27578 module_srcdir=zlib; \
27579 $(SHELL) $$s/$$module_srcdir/configure \
27580 --srcdir=$${topdir}/$$module_srcdir \
27581 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27582 --target=${target_alias} \
27583 --with-build-libsubdir=$(HOST_SUBDIR) \
27584 $(STAGE4_CONFIGURE_FLAGS)
27585 @endif zlib-bootstrap
27587 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
27588 maybe-configure-stageprofile-zlib:
27589 @if zlib-bootstrap
27590 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
27591 configure-stageprofile-zlib:
27592 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
27593 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
27594 @r=`${PWD_COMMAND}`; export r; \
27595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27596 TFLAGS="$(STAGEprofile_TFLAGS)"; \
27597 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
27598 $(HOST_EXPORTS) \
27599 $(POSTSTAGE1_HOST_EXPORTS) \
27600 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
27601 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
27602 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
27603 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
27604 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
27605 cd $(HOST_SUBDIR)/zlib || exit 1; \
27606 case $(srcdir) in \
27607 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27608 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
27609 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27610 esac; \
27611 module_srcdir=zlib; \
27612 $(SHELL) $$s/$$module_srcdir/configure \
27613 --srcdir=$${topdir}/$$module_srcdir \
27614 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27615 --target=${target_alias} \
27616 --with-build-libsubdir=$(HOST_SUBDIR) \
27617 $(STAGEprofile_CONFIGURE_FLAGS)
27618 @endif zlib-bootstrap
27620 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
27621 maybe-configure-stagefeedback-zlib:
27622 @if zlib-bootstrap
27623 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
27624 configure-stagefeedback-zlib:
27625 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
27626 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
27627 @r=`${PWD_COMMAND}`; export r; \
27628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27629 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
27630 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
27631 $(HOST_EXPORTS) \
27632 $(POSTSTAGE1_HOST_EXPORTS) \
27633 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
27634 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
27635 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
27636 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
27637 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
27638 cd $(HOST_SUBDIR)/zlib || exit 1; \
27639 case $(srcdir) in \
27640 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27641 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
27642 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27643 esac; \
27644 module_srcdir=zlib; \
27645 $(SHELL) $$s/$$module_srcdir/configure \
27646 --srcdir=$${topdir}/$$module_srcdir \
27647 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27648 --target=${target_alias} \
27649 --with-build-libsubdir=$(HOST_SUBDIR) \
27650 $(STAGEfeedback_CONFIGURE_FLAGS)
27651 @endif zlib-bootstrap
27657 .PHONY: all-zlib maybe-all-zlib
27658 maybe-all-zlib:
27659 @if gcc-bootstrap
27660 all-zlib: stage_current
27661 @endif gcc-bootstrap
27662 @if zlib
27663 TARGET-zlib=all
27664 maybe-all-zlib: all-zlib
27665 all-zlib: configure-zlib
27666 @r=`${PWD_COMMAND}`; export r; \
27667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27668 $(HOST_EXPORTS) \
27669 (cd $(HOST_SUBDIR)/zlib && \
27670 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
27671 $(TARGET-zlib))
27672 @endif zlib
27676 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
27677 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
27678 maybe-all-stage1-zlib:
27679 maybe-clean-stage1-zlib:
27680 @if zlib-bootstrap
27681 maybe-all-stage1-zlib: all-stage1-zlib
27682 all-stage1: all-stage1-zlib
27683 TARGET-stage1-zlib = $(TARGET-zlib)
27684 all-stage1-zlib: configure-stage1-zlib
27685 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
27686 @r=`${PWD_COMMAND}`; export r; \
27687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27688 TFLAGS="$(STAGE1_TFLAGS)"; \
27689 $(HOST_EXPORTS) \
27690 cd $(HOST_SUBDIR)/zlib && \
27691 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27692 CFLAGS="$(STAGE1_CFLAGS)" \
27693 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
27694 LIBCFLAGS="$(LIBCFLAGS)" \
27695 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27696 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27697 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27698 $(EXTRA_HOST_FLAGS) \
27699 $(STAGE1_FLAGS_TO_PASS) \
27700 TFLAGS="$(STAGE1_TFLAGS)" \
27701 $(TARGET-stage1-zlib)
27703 maybe-clean-stage1-zlib: clean-stage1-zlib
27704 clean-stage1: clean-stage1-zlib
27705 clean-stage1-zlib:
27706 @if [ $(current_stage) = stage1 ]; then \
27707 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
27708 else \
27709 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
27710 $(MAKE) stage1-start; \
27711 fi; \
27712 cd $(HOST_SUBDIR)/zlib && \
27713 $(MAKE) $(EXTRA_HOST_FLAGS) \
27714 $(STAGE1_FLAGS_TO_PASS) clean
27715 @endif zlib-bootstrap
27718 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
27719 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
27720 maybe-all-stage2-zlib:
27721 maybe-clean-stage2-zlib:
27722 @if zlib-bootstrap
27723 maybe-all-stage2-zlib: all-stage2-zlib
27724 all-stage2: all-stage2-zlib
27725 TARGET-stage2-zlib = $(TARGET-zlib)
27726 all-stage2-zlib: configure-stage2-zlib
27727 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
27728 @r=`${PWD_COMMAND}`; export r; \
27729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27730 TFLAGS="$(STAGE2_TFLAGS)"; \
27731 $(HOST_EXPORTS) \
27732 $(POSTSTAGE1_HOST_EXPORTS) \
27733 cd $(HOST_SUBDIR)/zlib && \
27734 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27735 CFLAGS="$(STAGE2_CFLAGS)" \
27736 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
27737 LIBCFLAGS="$(STAGE2_CFLAGS)" \
27738 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27739 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27740 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27741 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27742 TFLAGS="$(STAGE2_TFLAGS)" \
27743 $(TARGET-stage2-zlib)
27745 maybe-clean-stage2-zlib: clean-stage2-zlib
27746 clean-stage2: clean-stage2-zlib
27747 clean-stage2-zlib:
27748 @if [ $(current_stage) = stage2 ]; then \
27749 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
27750 else \
27751 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
27752 $(MAKE) stage2-start; \
27753 fi; \
27754 cd $(HOST_SUBDIR)/zlib && \
27755 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27756 @endif zlib-bootstrap
27759 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
27760 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
27761 maybe-all-stage3-zlib:
27762 maybe-clean-stage3-zlib:
27763 @if zlib-bootstrap
27764 maybe-all-stage3-zlib: all-stage3-zlib
27765 all-stage3: all-stage3-zlib
27766 TARGET-stage3-zlib = $(TARGET-zlib)
27767 all-stage3-zlib: configure-stage3-zlib
27768 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
27769 @r=`${PWD_COMMAND}`; export r; \
27770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27771 TFLAGS="$(STAGE3_TFLAGS)"; \
27772 $(HOST_EXPORTS) \
27773 $(POSTSTAGE1_HOST_EXPORTS) \
27774 cd $(HOST_SUBDIR)/zlib && \
27775 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27776 CFLAGS="$(STAGE3_CFLAGS)" \
27777 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
27778 LIBCFLAGS="$(STAGE3_CFLAGS)" \
27779 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27780 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27781 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27782 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27783 TFLAGS="$(STAGE3_TFLAGS)" \
27784 $(TARGET-stage3-zlib)
27786 maybe-clean-stage3-zlib: clean-stage3-zlib
27787 clean-stage3: clean-stage3-zlib
27788 clean-stage3-zlib:
27789 @if [ $(current_stage) = stage3 ]; then \
27790 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
27791 else \
27792 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
27793 $(MAKE) stage3-start; \
27794 fi; \
27795 cd $(HOST_SUBDIR)/zlib && \
27796 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27797 @endif zlib-bootstrap
27800 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
27801 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
27802 maybe-all-stage4-zlib:
27803 maybe-clean-stage4-zlib:
27804 @if zlib-bootstrap
27805 maybe-all-stage4-zlib: all-stage4-zlib
27806 all-stage4: all-stage4-zlib
27807 TARGET-stage4-zlib = $(TARGET-zlib)
27808 all-stage4-zlib: configure-stage4-zlib
27809 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27810 @r=`${PWD_COMMAND}`; export r; \
27811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27812 TFLAGS="$(STAGE4_TFLAGS)"; \
27813 $(HOST_EXPORTS) \
27814 $(POSTSTAGE1_HOST_EXPORTS) \
27815 cd $(HOST_SUBDIR)/zlib && \
27816 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27817 CFLAGS="$(STAGE4_CFLAGS)" \
27818 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
27819 LIBCFLAGS="$(STAGE4_CFLAGS)" \
27820 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27821 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27822 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27823 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27824 TFLAGS="$(STAGE4_TFLAGS)" \
27825 $(TARGET-stage4-zlib)
27827 maybe-clean-stage4-zlib: clean-stage4-zlib
27828 clean-stage4: clean-stage4-zlib
27829 clean-stage4-zlib:
27830 @if [ $(current_stage) = stage4 ]; then \
27831 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
27832 else \
27833 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
27834 $(MAKE) stage4-start; \
27835 fi; \
27836 cd $(HOST_SUBDIR)/zlib && \
27837 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27838 @endif zlib-bootstrap
27841 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
27842 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
27843 maybe-all-stageprofile-zlib:
27844 maybe-clean-stageprofile-zlib:
27845 @if zlib-bootstrap
27846 maybe-all-stageprofile-zlib: all-stageprofile-zlib
27847 all-stageprofile: all-stageprofile-zlib
27848 TARGET-stageprofile-zlib = $(TARGET-zlib)
27849 all-stageprofile-zlib: configure-stageprofile-zlib
27850 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
27851 @r=`${PWD_COMMAND}`; export r; \
27852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27853 TFLAGS="$(STAGEprofile_TFLAGS)"; \
27854 $(HOST_EXPORTS) \
27855 $(POSTSTAGE1_HOST_EXPORTS) \
27856 cd $(HOST_SUBDIR)/zlib && \
27857 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27858 CFLAGS="$(STAGEprofile_CFLAGS)" \
27859 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
27860 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
27861 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27862 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27863 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27864 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27865 TFLAGS="$(STAGEprofile_TFLAGS)" \
27866 $(TARGET-stageprofile-zlib)
27868 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
27869 clean-stageprofile: clean-stageprofile-zlib
27870 clean-stageprofile-zlib:
27871 @if [ $(current_stage) = stageprofile ]; then \
27872 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
27873 else \
27874 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
27875 $(MAKE) stageprofile-start; \
27876 fi; \
27877 cd $(HOST_SUBDIR)/zlib && \
27878 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27879 @endif zlib-bootstrap
27882 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
27883 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
27884 maybe-all-stagefeedback-zlib:
27885 maybe-clean-stagefeedback-zlib:
27886 @if zlib-bootstrap
27887 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
27888 all-stagefeedback: all-stagefeedback-zlib
27889 TARGET-stagefeedback-zlib = $(TARGET-zlib)
27890 all-stagefeedback-zlib: configure-stagefeedback-zlib
27891 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
27892 @r=`${PWD_COMMAND}`; export r; \
27893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27894 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
27895 $(HOST_EXPORTS) \
27896 $(POSTSTAGE1_HOST_EXPORTS) \
27897 cd $(HOST_SUBDIR)/zlib && \
27898 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27899 CFLAGS="$(STAGEfeedback_CFLAGS)" \
27900 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
27901 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
27902 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27903 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27904 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27905 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27906 TFLAGS="$(STAGEfeedback_TFLAGS)" \
27907 $(TARGET-stagefeedback-zlib)
27909 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
27910 clean-stagefeedback: clean-stagefeedback-zlib
27911 clean-stagefeedback-zlib:
27912 @if [ $(current_stage) = stagefeedback ]; then \
27913 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
27914 else \
27915 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
27916 $(MAKE) stagefeedback-start; \
27917 fi; \
27918 cd $(HOST_SUBDIR)/zlib && \
27919 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27920 @endif zlib-bootstrap
27926 .PHONY: check-zlib maybe-check-zlib
27927 maybe-check-zlib:
27928 @if zlib
27929 maybe-check-zlib: check-zlib
27931 check-zlib:
27933 @endif zlib
27935 .PHONY: install-zlib maybe-install-zlib
27936 maybe-install-zlib:
27937 @if zlib
27938 maybe-install-zlib: install-zlib
27940 install-zlib:
27942 @endif zlib
27944 .PHONY: install-strip-zlib maybe-install-strip-zlib
27945 maybe-install-strip-zlib:
27946 @if zlib
27947 maybe-install-strip-zlib: install-strip-zlib
27949 install-strip-zlib:
27951 @endif zlib
27953 # Other targets (info, dvi, pdf, etc.)
27955 .PHONY: maybe-info-zlib info-zlib
27956 maybe-info-zlib:
27957 @if zlib
27958 maybe-info-zlib: info-zlib
27960 info-zlib: \
27961 configure-zlib
27962 @[ -f ./zlib/Makefile ] || exit 0; \
27963 r=`${PWD_COMMAND}`; export r; \
27964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27965 $(HOST_EXPORTS) \
27966 for flag in $(EXTRA_HOST_FLAGS) ; do \
27967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27968 done; \
27969 echo "Doing info in zlib" ; \
27970 (cd $(HOST_SUBDIR)/zlib && \
27971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27973 "RANLIB=$${RANLIB}" \
27974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27975 info) \
27976 || exit 1
27978 @endif zlib
27980 .PHONY: maybe-dvi-zlib dvi-zlib
27981 maybe-dvi-zlib:
27982 @if zlib
27983 maybe-dvi-zlib: dvi-zlib
27985 dvi-zlib: \
27986 configure-zlib
27987 @[ -f ./zlib/Makefile ] || exit 0; \
27988 r=`${PWD_COMMAND}`; export r; \
27989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27990 $(HOST_EXPORTS) \
27991 for flag in $(EXTRA_HOST_FLAGS) ; do \
27992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27993 done; \
27994 echo "Doing dvi in zlib" ; \
27995 (cd $(HOST_SUBDIR)/zlib && \
27996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27998 "RANLIB=$${RANLIB}" \
27999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28000 dvi) \
28001 || exit 1
28003 @endif zlib
28005 .PHONY: maybe-pdf-zlib pdf-zlib
28006 maybe-pdf-zlib:
28007 @if zlib
28008 maybe-pdf-zlib: pdf-zlib
28010 pdf-zlib: \
28011 configure-zlib
28012 @[ -f ./zlib/Makefile ] || exit 0; \
28013 r=`${PWD_COMMAND}`; export r; \
28014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28015 $(HOST_EXPORTS) \
28016 for flag in $(EXTRA_HOST_FLAGS) ; do \
28017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28018 done; \
28019 echo "Doing pdf in zlib" ; \
28020 (cd $(HOST_SUBDIR)/zlib && \
28021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28023 "RANLIB=$${RANLIB}" \
28024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28025 pdf) \
28026 || exit 1
28028 @endif zlib
28030 .PHONY: maybe-html-zlib html-zlib
28031 maybe-html-zlib:
28032 @if zlib
28033 maybe-html-zlib: html-zlib
28035 html-zlib: \
28036 configure-zlib
28037 @[ -f ./zlib/Makefile ] || exit 0; \
28038 r=`${PWD_COMMAND}`; export r; \
28039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28040 $(HOST_EXPORTS) \
28041 for flag in $(EXTRA_HOST_FLAGS) ; do \
28042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28043 done; \
28044 echo "Doing html in zlib" ; \
28045 (cd $(HOST_SUBDIR)/zlib && \
28046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28048 "RANLIB=$${RANLIB}" \
28049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28050 html) \
28051 || exit 1
28053 @endif zlib
28055 .PHONY: maybe-TAGS-zlib TAGS-zlib
28056 maybe-TAGS-zlib:
28057 @if zlib
28058 maybe-TAGS-zlib: TAGS-zlib
28060 TAGS-zlib: \
28061 configure-zlib
28062 @[ -f ./zlib/Makefile ] || exit 0; \
28063 r=`${PWD_COMMAND}`; export r; \
28064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28065 $(HOST_EXPORTS) \
28066 for flag in $(EXTRA_HOST_FLAGS) ; do \
28067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28068 done; \
28069 echo "Doing TAGS in zlib" ; \
28070 (cd $(HOST_SUBDIR)/zlib && \
28071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28073 "RANLIB=$${RANLIB}" \
28074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28075 TAGS) \
28076 || exit 1
28078 @endif zlib
28080 .PHONY: maybe-install-info-zlib install-info-zlib
28081 maybe-install-info-zlib:
28082 @if zlib
28083 maybe-install-info-zlib: install-info-zlib
28085 install-info-zlib: \
28086 configure-zlib \
28087 info-zlib
28088 @[ -f ./zlib/Makefile ] || exit 0; \
28089 r=`${PWD_COMMAND}`; export r; \
28090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28091 $(HOST_EXPORTS) \
28092 for flag in $(EXTRA_HOST_FLAGS) ; do \
28093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28094 done; \
28095 echo "Doing install-info in zlib" ; \
28096 (cd $(HOST_SUBDIR)/zlib && \
28097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28099 "RANLIB=$${RANLIB}" \
28100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28101 install-info) \
28102 || exit 1
28104 @endif zlib
28106 .PHONY: maybe-install-pdf-zlib install-pdf-zlib
28107 maybe-install-pdf-zlib:
28108 @if zlib
28109 maybe-install-pdf-zlib: install-pdf-zlib
28111 install-pdf-zlib: \
28112 configure-zlib \
28113 pdf-zlib
28114 @[ -f ./zlib/Makefile ] || exit 0; \
28115 r=`${PWD_COMMAND}`; export r; \
28116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28117 $(HOST_EXPORTS) \
28118 for flag in $(EXTRA_HOST_FLAGS) ; do \
28119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28120 done; \
28121 echo "Doing install-pdf in zlib" ; \
28122 (cd $(HOST_SUBDIR)/zlib && \
28123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28125 "RANLIB=$${RANLIB}" \
28126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28127 install-pdf) \
28128 || exit 1
28130 @endif zlib
28132 .PHONY: maybe-install-html-zlib install-html-zlib
28133 maybe-install-html-zlib:
28134 @if zlib
28135 maybe-install-html-zlib: install-html-zlib
28137 install-html-zlib: \
28138 configure-zlib \
28139 html-zlib
28140 @[ -f ./zlib/Makefile ] || exit 0; \
28141 r=`${PWD_COMMAND}`; export r; \
28142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28143 $(HOST_EXPORTS) \
28144 for flag in $(EXTRA_HOST_FLAGS) ; do \
28145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28146 done; \
28147 echo "Doing install-html in zlib" ; \
28148 (cd $(HOST_SUBDIR)/zlib && \
28149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28151 "RANLIB=$${RANLIB}" \
28152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28153 install-html) \
28154 || exit 1
28156 @endif zlib
28158 .PHONY: maybe-installcheck-zlib installcheck-zlib
28159 maybe-installcheck-zlib:
28160 @if zlib
28161 maybe-installcheck-zlib: installcheck-zlib
28163 installcheck-zlib: \
28164 configure-zlib
28165 @[ -f ./zlib/Makefile ] || exit 0; \
28166 r=`${PWD_COMMAND}`; export r; \
28167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28168 $(HOST_EXPORTS) \
28169 for flag in $(EXTRA_HOST_FLAGS) ; do \
28170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28171 done; \
28172 echo "Doing installcheck in zlib" ; \
28173 (cd $(HOST_SUBDIR)/zlib && \
28174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28176 "RANLIB=$${RANLIB}" \
28177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28178 installcheck) \
28179 || exit 1
28181 @endif zlib
28183 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
28184 maybe-mostlyclean-zlib:
28185 @if zlib
28186 maybe-mostlyclean-zlib: mostlyclean-zlib
28188 mostlyclean-zlib:
28189 @[ -f ./zlib/Makefile ] || exit 0; \
28190 r=`${PWD_COMMAND}`; export r; \
28191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28192 $(HOST_EXPORTS) \
28193 for flag in $(EXTRA_HOST_FLAGS) ; do \
28194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28195 done; \
28196 echo "Doing mostlyclean in zlib" ; \
28197 (cd $(HOST_SUBDIR)/zlib && \
28198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28200 "RANLIB=$${RANLIB}" \
28201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28202 mostlyclean) \
28203 || exit 1
28205 @endif zlib
28207 .PHONY: maybe-clean-zlib clean-zlib
28208 maybe-clean-zlib:
28209 @if zlib
28210 maybe-clean-zlib: clean-zlib
28212 clean-zlib:
28213 @[ -f ./zlib/Makefile ] || exit 0; \
28214 r=`${PWD_COMMAND}`; export r; \
28215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28216 $(HOST_EXPORTS) \
28217 for flag in $(EXTRA_HOST_FLAGS) ; do \
28218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28219 done; \
28220 echo "Doing clean in zlib" ; \
28221 (cd $(HOST_SUBDIR)/zlib && \
28222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28224 "RANLIB=$${RANLIB}" \
28225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28226 clean) \
28227 || exit 1
28229 @endif zlib
28231 .PHONY: maybe-distclean-zlib distclean-zlib
28232 maybe-distclean-zlib:
28233 @if zlib
28234 maybe-distclean-zlib: distclean-zlib
28236 distclean-zlib:
28237 @[ -f ./zlib/Makefile ] || exit 0; \
28238 r=`${PWD_COMMAND}`; export r; \
28239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28240 $(HOST_EXPORTS) \
28241 for flag in $(EXTRA_HOST_FLAGS) ; do \
28242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28243 done; \
28244 echo "Doing distclean in zlib" ; \
28245 (cd $(HOST_SUBDIR)/zlib && \
28246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28248 "RANLIB=$${RANLIB}" \
28249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28250 distclean) \
28251 || exit 1
28253 @endif zlib
28255 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
28256 maybe-maintainer-clean-zlib:
28257 @if zlib
28258 maybe-maintainer-clean-zlib: maintainer-clean-zlib
28260 maintainer-clean-zlib:
28261 @[ -f ./zlib/Makefile ] || exit 0; \
28262 r=`${PWD_COMMAND}`; export r; \
28263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28264 $(HOST_EXPORTS) \
28265 for flag in $(EXTRA_HOST_FLAGS) ; do \
28266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28267 done; \
28268 echo "Doing maintainer-clean in zlib" ; \
28269 (cd $(HOST_SUBDIR)/zlib && \
28270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28272 "RANLIB=$${RANLIB}" \
28273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28274 maintainer-clean) \
28275 || exit 1
28277 @endif zlib
28281 .PHONY: configure-gdb maybe-configure-gdb
28282 maybe-configure-gdb:
28283 @if gcc-bootstrap
28284 configure-gdb: stage_current
28285 @endif gcc-bootstrap
28286 @if gdb
28287 maybe-configure-gdb: configure-gdb
28288 configure-gdb:
28289 @: $(MAKE); $(unstage)
28290 @r=`${PWD_COMMAND}`; export r; \
28291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28292 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
28293 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
28294 $(HOST_EXPORTS) \
28295 echo Configuring in $(HOST_SUBDIR)/gdb; \
28296 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
28297 case $(srcdir) in \
28298 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28299 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
28300 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28301 esac; \
28302 module_srcdir=gdb; \
28303 $(SHELL) \
28304 $$s/$$module_srcdir/configure \
28305 --srcdir=$${topdir}/$$module_srcdir \
28306 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28307 --target=${target_alias} \
28308 || exit 1
28309 @endif gdb
28315 .PHONY: all-gdb maybe-all-gdb
28316 maybe-all-gdb:
28317 @if gcc-bootstrap
28318 all-gdb: stage_current
28319 @endif gcc-bootstrap
28320 @if gdb
28321 TARGET-gdb=all
28322 maybe-all-gdb: all-gdb
28323 all-gdb: configure-gdb
28324 @: $(MAKE); $(unstage)
28325 @r=`${PWD_COMMAND}`; export r; \
28326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28327 $(HOST_EXPORTS) \
28328 (cd $(HOST_SUBDIR)/gdb && \
28329 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28330 $(TARGET-gdb))
28331 @endif gdb
28336 .PHONY: check-gdb maybe-check-gdb
28337 maybe-check-gdb:
28338 @if gdb
28339 maybe-check-gdb: check-gdb
28341 check-gdb:
28342 @: $(MAKE); $(unstage)
28343 @r=`${PWD_COMMAND}`; export r; \
28344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28345 $(HOST_EXPORTS) \
28346 (cd $(HOST_SUBDIR)/gdb && \
28347 $(MAKE) $(FLAGS_TO_PASS) check)
28349 @endif gdb
28351 .PHONY: install-gdb maybe-install-gdb
28352 maybe-install-gdb:
28353 @if gdb
28354 maybe-install-gdb: install-gdb
28356 install-gdb: installdirs
28357 @: $(MAKE); $(unstage)
28358 @r=`${PWD_COMMAND}`; export r; \
28359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28360 $(HOST_EXPORTS) \
28361 (cd $(HOST_SUBDIR)/gdb && \
28362 $(MAKE) $(FLAGS_TO_PASS) install)
28364 @endif gdb
28366 .PHONY: install-strip-gdb maybe-install-strip-gdb
28367 maybe-install-strip-gdb:
28368 @if gdb
28369 maybe-install-strip-gdb: install-strip-gdb
28371 install-strip-gdb: installdirs
28372 @: $(MAKE); $(unstage)
28373 @r=`${PWD_COMMAND}`; export r; \
28374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28375 $(HOST_EXPORTS) \
28376 (cd $(HOST_SUBDIR)/gdb && \
28377 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28379 @endif gdb
28381 # Other targets (info, dvi, pdf, etc.)
28383 .PHONY: maybe-info-gdb info-gdb
28384 maybe-info-gdb:
28385 @if gdb
28386 maybe-info-gdb: info-gdb
28388 info-gdb: \
28389 configure-gdb
28390 @: $(MAKE); $(unstage)
28391 @[ -f ./gdb/Makefile ] || exit 0; \
28392 r=`${PWD_COMMAND}`; export r; \
28393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28394 $(HOST_EXPORTS) \
28395 for flag in $(EXTRA_HOST_FLAGS) ; do \
28396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28397 done; \
28398 echo "Doing info in gdb" ; \
28399 (cd $(HOST_SUBDIR)/gdb && \
28400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28402 "RANLIB=$${RANLIB}" \
28403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28404 info) \
28405 || exit 1
28407 @endif gdb
28409 .PHONY: maybe-dvi-gdb dvi-gdb
28410 maybe-dvi-gdb:
28411 @if gdb
28412 maybe-dvi-gdb: dvi-gdb
28414 dvi-gdb: \
28415 configure-gdb
28416 @: $(MAKE); $(unstage)
28417 @[ -f ./gdb/Makefile ] || exit 0; \
28418 r=`${PWD_COMMAND}`; export r; \
28419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28420 $(HOST_EXPORTS) \
28421 for flag in $(EXTRA_HOST_FLAGS) ; do \
28422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28423 done; \
28424 echo "Doing dvi in gdb" ; \
28425 (cd $(HOST_SUBDIR)/gdb && \
28426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28428 "RANLIB=$${RANLIB}" \
28429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28430 dvi) \
28431 || exit 1
28433 @endif gdb
28435 .PHONY: maybe-pdf-gdb pdf-gdb
28436 maybe-pdf-gdb:
28437 @if gdb
28438 maybe-pdf-gdb: pdf-gdb
28440 pdf-gdb: \
28441 configure-gdb
28442 @: $(MAKE); $(unstage)
28443 @[ -f ./gdb/Makefile ] || exit 0; \
28444 r=`${PWD_COMMAND}`; export r; \
28445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28446 $(HOST_EXPORTS) \
28447 for flag in $(EXTRA_HOST_FLAGS) ; do \
28448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28449 done; \
28450 echo "Doing pdf in gdb" ; \
28451 (cd $(HOST_SUBDIR)/gdb && \
28452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28454 "RANLIB=$${RANLIB}" \
28455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28456 pdf) \
28457 || exit 1
28459 @endif gdb
28461 .PHONY: maybe-html-gdb html-gdb
28462 maybe-html-gdb:
28463 @if gdb
28464 maybe-html-gdb: html-gdb
28466 html-gdb: \
28467 configure-gdb
28468 @: $(MAKE); $(unstage)
28469 @[ -f ./gdb/Makefile ] || exit 0; \
28470 r=`${PWD_COMMAND}`; export r; \
28471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28472 $(HOST_EXPORTS) \
28473 for flag in $(EXTRA_HOST_FLAGS) ; do \
28474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28475 done; \
28476 echo "Doing html in gdb" ; \
28477 (cd $(HOST_SUBDIR)/gdb && \
28478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28480 "RANLIB=$${RANLIB}" \
28481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28482 html) \
28483 || exit 1
28485 @endif gdb
28487 .PHONY: maybe-TAGS-gdb TAGS-gdb
28488 maybe-TAGS-gdb:
28489 @if gdb
28490 maybe-TAGS-gdb: TAGS-gdb
28492 TAGS-gdb: \
28493 configure-gdb
28494 @: $(MAKE); $(unstage)
28495 @[ -f ./gdb/Makefile ] || exit 0; \
28496 r=`${PWD_COMMAND}`; export r; \
28497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28498 $(HOST_EXPORTS) \
28499 for flag in $(EXTRA_HOST_FLAGS) ; do \
28500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28501 done; \
28502 echo "Doing TAGS in gdb" ; \
28503 (cd $(HOST_SUBDIR)/gdb && \
28504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28506 "RANLIB=$${RANLIB}" \
28507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28508 TAGS) \
28509 || exit 1
28511 @endif gdb
28513 .PHONY: maybe-install-info-gdb install-info-gdb
28514 maybe-install-info-gdb:
28515 @if gdb
28516 maybe-install-info-gdb: install-info-gdb
28518 install-info-gdb: \
28519 configure-gdb \
28520 info-gdb
28521 @: $(MAKE); $(unstage)
28522 @[ -f ./gdb/Makefile ] || exit 0; \
28523 r=`${PWD_COMMAND}`; export r; \
28524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28525 $(HOST_EXPORTS) \
28526 for flag in $(EXTRA_HOST_FLAGS) ; do \
28527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28528 done; \
28529 echo "Doing install-info in gdb" ; \
28530 (cd $(HOST_SUBDIR)/gdb && \
28531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28533 "RANLIB=$${RANLIB}" \
28534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28535 install-info) \
28536 || exit 1
28538 @endif gdb
28540 .PHONY: maybe-install-pdf-gdb install-pdf-gdb
28541 maybe-install-pdf-gdb:
28542 @if gdb
28543 maybe-install-pdf-gdb: install-pdf-gdb
28545 install-pdf-gdb: \
28546 configure-gdb \
28547 pdf-gdb
28548 @: $(MAKE); $(unstage)
28549 @[ -f ./gdb/Makefile ] || exit 0; \
28550 r=`${PWD_COMMAND}`; export r; \
28551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28552 $(HOST_EXPORTS) \
28553 for flag in $(EXTRA_HOST_FLAGS) ; do \
28554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28555 done; \
28556 echo "Doing install-pdf in gdb" ; \
28557 (cd $(HOST_SUBDIR)/gdb && \
28558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28560 "RANLIB=$${RANLIB}" \
28561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28562 install-pdf) \
28563 || exit 1
28565 @endif gdb
28567 .PHONY: maybe-install-html-gdb install-html-gdb
28568 maybe-install-html-gdb:
28569 @if gdb
28570 maybe-install-html-gdb: install-html-gdb
28572 install-html-gdb: \
28573 configure-gdb \
28574 html-gdb
28575 @: $(MAKE); $(unstage)
28576 @[ -f ./gdb/Makefile ] || exit 0; \
28577 r=`${PWD_COMMAND}`; export r; \
28578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28579 $(HOST_EXPORTS) \
28580 for flag in $(EXTRA_HOST_FLAGS) ; do \
28581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28582 done; \
28583 echo "Doing install-html in gdb" ; \
28584 (cd $(HOST_SUBDIR)/gdb && \
28585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28587 "RANLIB=$${RANLIB}" \
28588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28589 install-html) \
28590 || exit 1
28592 @endif gdb
28594 .PHONY: maybe-installcheck-gdb installcheck-gdb
28595 maybe-installcheck-gdb:
28596 @if gdb
28597 maybe-installcheck-gdb: installcheck-gdb
28599 installcheck-gdb: \
28600 configure-gdb
28601 @: $(MAKE); $(unstage)
28602 @[ -f ./gdb/Makefile ] || exit 0; \
28603 r=`${PWD_COMMAND}`; export r; \
28604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28605 $(HOST_EXPORTS) \
28606 for flag in $(EXTRA_HOST_FLAGS) ; do \
28607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28608 done; \
28609 echo "Doing installcheck in gdb" ; \
28610 (cd $(HOST_SUBDIR)/gdb && \
28611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28613 "RANLIB=$${RANLIB}" \
28614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28615 installcheck) \
28616 || exit 1
28618 @endif gdb
28620 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
28621 maybe-mostlyclean-gdb:
28622 @if gdb
28623 maybe-mostlyclean-gdb: mostlyclean-gdb
28625 mostlyclean-gdb:
28626 @: $(MAKE); $(unstage)
28627 @[ -f ./gdb/Makefile ] || exit 0; \
28628 r=`${PWD_COMMAND}`; export r; \
28629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28630 $(HOST_EXPORTS) \
28631 for flag in $(EXTRA_HOST_FLAGS) ; do \
28632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28633 done; \
28634 echo "Doing mostlyclean in gdb" ; \
28635 (cd $(HOST_SUBDIR)/gdb && \
28636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28638 "RANLIB=$${RANLIB}" \
28639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28640 mostlyclean) \
28641 || exit 1
28643 @endif gdb
28645 .PHONY: maybe-clean-gdb clean-gdb
28646 maybe-clean-gdb:
28647 @if gdb
28648 maybe-clean-gdb: clean-gdb
28650 clean-gdb:
28651 @: $(MAKE); $(unstage)
28652 @[ -f ./gdb/Makefile ] || exit 0; \
28653 r=`${PWD_COMMAND}`; export r; \
28654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28655 $(HOST_EXPORTS) \
28656 for flag in $(EXTRA_HOST_FLAGS) ; do \
28657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28658 done; \
28659 echo "Doing clean in gdb" ; \
28660 (cd $(HOST_SUBDIR)/gdb && \
28661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28663 "RANLIB=$${RANLIB}" \
28664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28665 clean) \
28666 || exit 1
28668 @endif gdb
28670 .PHONY: maybe-distclean-gdb distclean-gdb
28671 maybe-distclean-gdb:
28672 @if gdb
28673 maybe-distclean-gdb: distclean-gdb
28675 distclean-gdb:
28676 @: $(MAKE); $(unstage)
28677 @[ -f ./gdb/Makefile ] || exit 0; \
28678 r=`${PWD_COMMAND}`; export r; \
28679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28680 $(HOST_EXPORTS) \
28681 for flag in $(EXTRA_HOST_FLAGS) ; do \
28682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28683 done; \
28684 echo "Doing distclean in gdb" ; \
28685 (cd $(HOST_SUBDIR)/gdb && \
28686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28688 "RANLIB=$${RANLIB}" \
28689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28690 distclean) \
28691 || exit 1
28693 @endif gdb
28695 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
28696 maybe-maintainer-clean-gdb:
28697 @if gdb
28698 maybe-maintainer-clean-gdb: maintainer-clean-gdb
28700 maintainer-clean-gdb:
28701 @: $(MAKE); $(unstage)
28702 @[ -f ./gdb/Makefile ] || exit 0; \
28703 r=`${PWD_COMMAND}`; export r; \
28704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28705 $(HOST_EXPORTS) \
28706 for flag in $(EXTRA_HOST_FLAGS) ; do \
28707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28708 done; \
28709 echo "Doing maintainer-clean in gdb" ; \
28710 (cd $(HOST_SUBDIR)/gdb && \
28711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28713 "RANLIB=$${RANLIB}" \
28714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28715 maintainer-clean) \
28716 || exit 1
28718 @endif gdb
28722 .PHONY: configure-expect maybe-configure-expect
28723 maybe-configure-expect:
28724 @if gcc-bootstrap
28725 configure-expect: stage_current
28726 @endif gcc-bootstrap
28727 @if expect
28728 maybe-configure-expect: configure-expect
28729 configure-expect:
28730 @: $(MAKE); $(unstage)
28731 @r=`${PWD_COMMAND}`; export r; \
28732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28733 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
28734 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
28735 $(HOST_EXPORTS) \
28736 echo Configuring in $(HOST_SUBDIR)/expect; \
28737 cd "$(HOST_SUBDIR)/expect" || exit 1; \
28738 case $(srcdir) in \
28739 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28740 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
28741 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28742 esac; \
28743 module_srcdir=expect; \
28744 $(SHELL) \
28745 $$s/$$module_srcdir/configure \
28746 --srcdir=$${topdir}/$$module_srcdir \
28747 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28748 --target=${target_alias} \
28749 || exit 1
28750 @endif expect
28756 .PHONY: all-expect maybe-all-expect
28757 maybe-all-expect:
28758 @if gcc-bootstrap
28759 all-expect: stage_current
28760 @endif gcc-bootstrap
28761 @if expect
28762 TARGET-expect=all
28763 maybe-all-expect: all-expect
28764 all-expect: configure-expect
28765 @: $(MAKE); $(unstage)
28766 @r=`${PWD_COMMAND}`; export r; \
28767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28768 $(HOST_EXPORTS) \
28769 (cd $(HOST_SUBDIR)/expect && \
28770 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28771 $(TARGET-expect))
28772 @endif expect
28777 .PHONY: check-expect maybe-check-expect
28778 maybe-check-expect:
28779 @if expect
28780 maybe-check-expect: check-expect
28782 check-expect:
28783 @: $(MAKE); $(unstage)
28784 @r=`${PWD_COMMAND}`; export r; \
28785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28786 $(HOST_EXPORTS) \
28787 (cd $(HOST_SUBDIR)/expect && \
28788 $(MAKE) $(FLAGS_TO_PASS) check)
28790 @endif expect
28792 .PHONY: install-expect maybe-install-expect
28793 maybe-install-expect:
28794 @if expect
28795 maybe-install-expect: install-expect
28797 install-expect: installdirs
28798 @: $(MAKE); $(unstage)
28799 @r=`${PWD_COMMAND}`; export r; \
28800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28801 $(HOST_EXPORTS) \
28802 (cd $(HOST_SUBDIR)/expect && \
28803 $(MAKE) $(FLAGS_TO_PASS) install)
28805 @endif expect
28807 .PHONY: install-strip-expect maybe-install-strip-expect
28808 maybe-install-strip-expect:
28809 @if expect
28810 maybe-install-strip-expect: install-strip-expect
28812 install-strip-expect: installdirs
28813 @: $(MAKE); $(unstage)
28814 @r=`${PWD_COMMAND}`; export r; \
28815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28816 $(HOST_EXPORTS) \
28817 (cd $(HOST_SUBDIR)/expect && \
28818 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28820 @endif expect
28822 # Other targets (info, dvi, pdf, etc.)
28824 .PHONY: maybe-info-expect info-expect
28825 maybe-info-expect:
28826 @if expect
28827 maybe-info-expect: info-expect
28829 info-expect: \
28830 configure-expect
28831 @: $(MAKE); $(unstage)
28832 @[ -f ./expect/Makefile ] || exit 0; \
28833 r=`${PWD_COMMAND}`; export r; \
28834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28835 $(HOST_EXPORTS) \
28836 for flag in $(EXTRA_HOST_FLAGS) ; do \
28837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28838 done; \
28839 echo "Doing info in expect" ; \
28840 (cd $(HOST_SUBDIR)/expect && \
28841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28843 "RANLIB=$${RANLIB}" \
28844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28845 info) \
28846 || exit 1
28848 @endif expect
28850 .PHONY: maybe-dvi-expect dvi-expect
28851 maybe-dvi-expect:
28852 @if expect
28853 maybe-dvi-expect: dvi-expect
28855 dvi-expect: \
28856 configure-expect
28857 @: $(MAKE); $(unstage)
28858 @[ -f ./expect/Makefile ] || exit 0; \
28859 r=`${PWD_COMMAND}`; export r; \
28860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28861 $(HOST_EXPORTS) \
28862 for flag in $(EXTRA_HOST_FLAGS) ; do \
28863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28864 done; \
28865 echo "Doing dvi in expect" ; \
28866 (cd $(HOST_SUBDIR)/expect && \
28867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28869 "RANLIB=$${RANLIB}" \
28870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28871 dvi) \
28872 || exit 1
28874 @endif expect
28876 .PHONY: maybe-pdf-expect pdf-expect
28877 maybe-pdf-expect:
28878 @if expect
28879 maybe-pdf-expect: pdf-expect
28881 pdf-expect: \
28882 configure-expect
28883 @: $(MAKE); $(unstage)
28884 @[ -f ./expect/Makefile ] || exit 0; \
28885 r=`${PWD_COMMAND}`; export r; \
28886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28887 $(HOST_EXPORTS) \
28888 for flag in $(EXTRA_HOST_FLAGS) ; do \
28889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28890 done; \
28891 echo "Doing pdf in expect" ; \
28892 (cd $(HOST_SUBDIR)/expect && \
28893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28895 "RANLIB=$${RANLIB}" \
28896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28897 pdf) \
28898 || exit 1
28900 @endif expect
28902 .PHONY: maybe-html-expect html-expect
28903 maybe-html-expect:
28904 @if expect
28905 maybe-html-expect: html-expect
28907 html-expect: \
28908 configure-expect
28909 @: $(MAKE); $(unstage)
28910 @[ -f ./expect/Makefile ] || exit 0; \
28911 r=`${PWD_COMMAND}`; export r; \
28912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28913 $(HOST_EXPORTS) \
28914 for flag in $(EXTRA_HOST_FLAGS) ; do \
28915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28916 done; \
28917 echo "Doing html in expect" ; \
28918 (cd $(HOST_SUBDIR)/expect && \
28919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28921 "RANLIB=$${RANLIB}" \
28922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28923 html) \
28924 || exit 1
28926 @endif expect
28928 .PHONY: maybe-TAGS-expect TAGS-expect
28929 maybe-TAGS-expect:
28930 @if expect
28931 maybe-TAGS-expect: TAGS-expect
28933 TAGS-expect: \
28934 configure-expect
28935 @: $(MAKE); $(unstage)
28936 @[ -f ./expect/Makefile ] || exit 0; \
28937 r=`${PWD_COMMAND}`; export r; \
28938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28939 $(HOST_EXPORTS) \
28940 for flag in $(EXTRA_HOST_FLAGS) ; do \
28941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28942 done; \
28943 echo "Doing TAGS in expect" ; \
28944 (cd $(HOST_SUBDIR)/expect && \
28945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28947 "RANLIB=$${RANLIB}" \
28948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28949 TAGS) \
28950 || exit 1
28952 @endif expect
28954 .PHONY: maybe-install-info-expect install-info-expect
28955 maybe-install-info-expect:
28956 @if expect
28957 maybe-install-info-expect: install-info-expect
28959 install-info-expect: \
28960 configure-expect \
28961 info-expect
28962 @: $(MAKE); $(unstage)
28963 @[ -f ./expect/Makefile ] || exit 0; \
28964 r=`${PWD_COMMAND}`; export r; \
28965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28966 $(HOST_EXPORTS) \
28967 for flag in $(EXTRA_HOST_FLAGS) ; do \
28968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28969 done; \
28970 echo "Doing install-info in expect" ; \
28971 (cd $(HOST_SUBDIR)/expect && \
28972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28974 "RANLIB=$${RANLIB}" \
28975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28976 install-info) \
28977 || exit 1
28979 @endif expect
28981 .PHONY: maybe-install-pdf-expect install-pdf-expect
28982 maybe-install-pdf-expect:
28983 @if expect
28984 maybe-install-pdf-expect: install-pdf-expect
28986 install-pdf-expect: \
28987 configure-expect \
28988 pdf-expect
28989 @: $(MAKE); $(unstage)
28990 @[ -f ./expect/Makefile ] || exit 0; \
28991 r=`${PWD_COMMAND}`; export r; \
28992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28993 $(HOST_EXPORTS) \
28994 for flag in $(EXTRA_HOST_FLAGS) ; do \
28995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28996 done; \
28997 echo "Doing install-pdf in expect" ; \
28998 (cd $(HOST_SUBDIR)/expect && \
28999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29001 "RANLIB=$${RANLIB}" \
29002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29003 install-pdf) \
29004 || exit 1
29006 @endif expect
29008 .PHONY: maybe-install-html-expect install-html-expect
29009 maybe-install-html-expect:
29010 @if expect
29011 maybe-install-html-expect: install-html-expect
29013 install-html-expect: \
29014 configure-expect \
29015 html-expect
29016 @: $(MAKE); $(unstage)
29017 @[ -f ./expect/Makefile ] || exit 0; \
29018 r=`${PWD_COMMAND}`; export r; \
29019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29020 $(HOST_EXPORTS) \
29021 for flag in $(EXTRA_HOST_FLAGS) ; do \
29022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29023 done; \
29024 echo "Doing install-html in expect" ; \
29025 (cd $(HOST_SUBDIR)/expect && \
29026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29028 "RANLIB=$${RANLIB}" \
29029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29030 install-html) \
29031 || exit 1
29033 @endif expect
29035 .PHONY: maybe-installcheck-expect installcheck-expect
29036 maybe-installcheck-expect:
29037 @if expect
29038 maybe-installcheck-expect: installcheck-expect
29040 installcheck-expect: \
29041 configure-expect
29042 @: $(MAKE); $(unstage)
29043 @[ -f ./expect/Makefile ] || exit 0; \
29044 r=`${PWD_COMMAND}`; export r; \
29045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29046 $(HOST_EXPORTS) \
29047 for flag in $(EXTRA_HOST_FLAGS) ; do \
29048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29049 done; \
29050 echo "Doing installcheck in expect" ; \
29051 (cd $(HOST_SUBDIR)/expect && \
29052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29054 "RANLIB=$${RANLIB}" \
29055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29056 installcheck) \
29057 || exit 1
29059 @endif expect
29061 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
29062 maybe-mostlyclean-expect:
29063 @if expect
29064 maybe-mostlyclean-expect: mostlyclean-expect
29066 mostlyclean-expect:
29067 @: $(MAKE); $(unstage)
29068 @[ -f ./expect/Makefile ] || exit 0; \
29069 r=`${PWD_COMMAND}`; export r; \
29070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29071 $(HOST_EXPORTS) \
29072 for flag in $(EXTRA_HOST_FLAGS) ; do \
29073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29074 done; \
29075 echo "Doing mostlyclean in expect" ; \
29076 (cd $(HOST_SUBDIR)/expect && \
29077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29079 "RANLIB=$${RANLIB}" \
29080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29081 mostlyclean) \
29082 || exit 1
29084 @endif expect
29086 .PHONY: maybe-clean-expect clean-expect
29087 maybe-clean-expect:
29088 @if expect
29089 maybe-clean-expect: clean-expect
29091 clean-expect:
29092 @: $(MAKE); $(unstage)
29093 @[ -f ./expect/Makefile ] || exit 0; \
29094 r=`${PWD_COMMAND}`; export r; \
29095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29096 $(HOST_EXPORTS) \
29097 for flag in $(EXTRA_HOST_FLAGS) ; do \
29098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29099 done; \
29100 echo "Doing clean in expect" ; \
29101 (cd $(HOST_SUBDIR)/expect && \
29102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29104 "RANLIB=$${RANLIB}" \
29105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29106 clean) \
29107 || exit 1
29109 @endif expect
29111 .PHONY: maybe-distclean-expect distclean-expect
29112 maybe-distclean-expect:
29113 @if expect
29114 maybe-distclean-expect: distclean-expect
29116 distclean-expect:
29117 @: $(MAKE); $(unstage)
29118 @[ -f ./expect/Makefile ] || exit 0; \
29119 r=`${PWD_COMMAND}`; export r; \
29120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29121 $(HOST_EXPORTS) \
29122 for flag in $(EXTRA_HOST_FLAGS) ; do \
29123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29124 done; \
29125 echo "Doing distclean in expect" ; \
29126 (cd $(HOST_SUBDIR)/expect && \
29127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29129 "RANLIB=$${RANLIB}" \
29130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29131 distclean) \
29132 || exit 1
29134 @endif expect
29136 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
29137 maybe-maintainer-clean-expect:
29138 @if expect
29139 maybe-maintainer-clean-expect: maintainer-clean-expect
29141 maintainer-clean-expect:
29142 @: $(MAKE); $(unstage)
29143 @[ -f ./expect/Makefile ] || exit 0; \
29144 r=`${PWD_COMMAND}`; export r; \
29145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29146 $(HOST_EXPORTS) \
29147 for flag in $(EXTRA_HOST_FLAGS) ; do \
29148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29149 done; \
29150 echo "Doing maintainer-clean in expect" ; \
29151 (cd $(HOST_SUBDIR)/expect && \
29152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29154 "RANLIB=$${RANLIB}" \
29155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29156 maintainer-clean) \
29157 || exit 1
29159 @endif expect
29163 .PHONY: configure-guile maybe-configure-guile
29164 maybe-configure-guile:
29165 @if gcc-bootstrap
29166 configure-guile: stage_current
29167 @endif gcc-bootstrap
29168 @if guile
29169 maybe-configure-guile: configure-guile
29170 configure-guile:
29171 @: $(MAKE); $(unstage)
29172 @r=`${PWD_COMMAND}`; export r; \
29173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29174 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
29175 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
29176 $(HOST_EXPORTS) \
29177 echo Configuring in $(HOST_SUBDIR)/guile; \
29178 cd "$(HOST_SUBDIR)/guile" || exit 1; \
29179 case $(srcdir) in \
29180 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29181 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
29182 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29183 esac; \
29184 module_srcdir=guile; \
29185 $(SHELL) \
29186 $$s/$$module_srcdir/configure \
29187 --srcdir=$${topdir}/$$module_srcdir \
29188 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29189 --target=${target_alias} \
29190 || exit 1
29191 @endif guile
29197 .PHONY: all-guile maybe-all-guile
29198 maybe-all-guile:
29199 @if gcc-bootstrap
29200 all-guile: stage_current
29201 @endif gcc-bootstrap
29202 @if guile
29203 TARGET-guile=all
29204 maybe-all-guile: all-guile
29205 all-guile: configure-guile
29206 @: $(MAKE); $(unstage)
29207 @r=`${PWD_COMMAND}`; export r; \
29208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29209 $(HOST_EXPORTS) \
29210 (cd $(HOST_SUBDIR)/guile && \
29211 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29212 $(TARGET-guile))
29213 @endif guile
29218 .PHONY: check-guile maybe-check-guile
29219 maybe-check-guile:
29220 @if guile
29221 maybe-check-guile: check-guile
29223 check-guile:
29224 @: $(MAKE); $(unstage)
29225 @r=`${PWD_COMMAND}`; export r; \
29226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29227 $(HOST_EXPORTS) \
29228 (cd $(HOST_SUBDIR)/guile && \
29229 $(MAKE) $(FLAGS_TO_PASS) check)
29231 @endif guile
29233 .PHONY: install-guile maybe-install-guile
29234 maybe-install-guile:
29235 @if guile
29236 maybe-install-guile: install-guile
29238 install-guile: installdirs
29239 @: $(MAKE); $(unstage)
29240 @r=`${PWD_COMMAND}`; export r; \
29241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29242 $(HOST_EXPORTS) \
29243 (cd $(HOST_SUBDIR)/guile && \
29244 $(MAKE) $(FLAGS_TO_PASS) install)
29246 @endif guile
29248 .PHONY: install-strip-guile maybe-install-strip-guile
29249 maybe-install-strip-guile:
29250 @if guile
29251 maybe-install-strip-guile: install-strip-guile
29253 install-strip-guile: installdirs
29254 @: $(MAKE); $(unstage)
29255 @r=`${PWD_COMMAND}`; export r; \
29256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29257 $(HOST_EXPORTS) \
29258 (cd $(HOST_SUBDIR)/guile && \
29259 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29261 @endif guile
29263 # Other targets (info, dvi, pdf, etc.)
29265 .PHONY: maybe-info-guile info-guile
29266 maybe-info-guile:
29267 @if guile
29268 maybe-info-guile: info-guile
29270 info-guile: \
29271 configure-guile
29272 @: $(MAKE); $(unstage)
29273 @[ -f ./guile/Makefile ] || exit 0; \
29274 r=`${PWD_COMMAND}`; export r; \
29275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29276 $(HOST_EXPORTS) \
29277 for flag in $(EXTRA_HOST_FLAGS) ; do \
29278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29279 done; \
29280 echo "Doing info in guile" ; \
29281 (cd $(HOST_SUBDIR)/guile && \
29282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29284 "RANLIB=$${RANLIB}" \
29285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29286 info) \
29287 || exit 1
29289 @endif guile
29291 .PHONY: maybe-dvi-guile dvi-guile
29292 maybe-dvi-guile:
29293 @if guile
29294 maybe-dvi-guile: dvi-guile
29296 dvi-guile: \
29297 configure-guile
29298 @: $(MAKE); $(unstage)
29299 @[ -f ./guile/Makefile ] || exit 0; \
29300 r=`${PWD_COMMAND}`; export r; \
29301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29302 $(HOST_EXPORTS) \
29303 for flag in $(EXTRA_HOST_FLAGS) ; do \
29304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29305 done; \
29306 echo "Doing dvi in guile" ; \
29307 (cd $(HOST_SUBDIR)/guile && \
29308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29310 "RANLIB=$${RANLIB}" \
29311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29312 dvi) \
29313 || exit 1
29315 @endif guile
29317 .PHONY: maybe-pdf-guile pdf-guile
29318 maybe-pdf-guile:
29319 @if guile
29320 maybe-pdf-guile: pdf-guile
29322 pdf-guile: \
29323 configure-guile
29324 @: $(MAKE); $(unstage)
29325 @[ -f ./guile/Makefile ] || exit 0; \
29326 r=`${PWD_COMMAND}`; export r; \
29327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29328 $(HOST_EXPORTS) \
29329 for flag in $(EXTRA_HOST_FLAGS) ; do \
29330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29331 done; \
29332 echo "Doing pdf in guile" ; \
29333 (cd $(HOST_SUBDIR)/guile && \
29334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29336 "RANLIB=$${RANLIB}" \
29337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29338 pdf) \
29339 || exit 1
29341 @endif guile
29343 .PHONY: maybe-html-guile html-guile
29344 maybe-html-guile:
29345 @if guile
29346 maybe-html-guile: html-guile
29348 html-guile: \
29349 configure-guile
29350 @: $(MAKE); $(unstage)
29351 @[ -f ./guile/Makefile ] || exit 0; \
29352 r=`${PWD_COMMAND}`; export r; \
29353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29354 $(HOST_EXPORTS) \
29355 for flag in $(EXTRA_HOST_FLAGS) ; do \
29356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29357 done; \
29358 echo "Doing html in guile" ; \
29359 (cd $(HOST_SUBDIR)/guile && \
29360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29362 "RANLIB=$${RANLIB}" \
29363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29364 html) \
29365 || exit 1
29367 @endif guile
29369 .PHONY: maybe-TAGS-guile TAGS-guile
29370 maybe-TAGS-guile:
29371 @if guile
29372 maybe-TAGS-guile: TAGS-guile
29374 TAGS-guile: \
29375 configure-guile
29376 @: $(MAKE); $(unstage)
29377 @[ -f ./guile/Makefile ] || exit 0; \
29378 r=`${PWD_COMMAND}`; export r; \
29379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29380 $(HOST_EXPORTS) \
29381 for flag in $(EXTRA_HOST_FLAGS) ; do \
29382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29383 done; \
29384 echo "Doing TAGS in guile" ; \
29385 (cd $(HOST_SUBDIR)/guile && \
29386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29388 "RANLIB=$${RANLIB}" \
29389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29390 TAGS) \
29391 || exit 1
29393 @endif guile
29395 .PHONY: maybe-install-info-guile install-info-guile
29396 maybe-install-info-guile:
29397 @if guile
29398 maybe-install-info-guile: install-info-guile
29400 install-info-guile: \
29401 configure-guile \
29402 info-guile
29403 @: $(MAKE); $(unstage)
29404 @[ -f ./guile/Makefile ] || exit 0; \
29405 r=`${PWD_COMMAND}`; export r; \
29406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29407 $(HOST_EXPORTS) \
29408 for flag in $(EXTRA_HOST_FLAGS) ; do \
29409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29410 done; \
29411 echo "Doing install-info in guile" ; \
29412 (cd $(HOST_SUBDIR)/guile && \
29413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29415 "RANLIB=$${RANLIB}" \
29416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29417 install-info) \
29418 || exit 1
29420 @endif guile
29422 .PHONY: maybe-install-pdf-guile install-pdf-guile
29423 maybe-install-pdf-guile:
29424 @if guile
29425 maybe-install-pdf-guile: install-pdf-guile
29427 install-pdf-guile: \
29428 configure-guile \
29429 pdf-guile
29430 @: $(MAKE); $(unstage)
29431 @[ -f ./guile/Makefile ] || exit 0; \
29432 r=`${PWD_COMMAND}`; export r; \
29433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29434 $(HOST_EXPORTS) \
29435 for flag in $(EXTRA_HOST_FLAGS) ; do \
29436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29437 done; \
29438 echo "Doing install-pdf in guile" ; \
29439 (cd $(HOST_SUBDIR)/guile && \
29440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29442 "RANLIB=$${RANLIB}" \
29443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29444 install-pdf) \
29445 || exit 1
29447 @endif guile
29449 .PHONY: maybe-install-html-guile install-html-guile
29450 maybe-install-html-guile:
29451 @if guile
29452 maybe-install-html-guile: install-html-guile
29454 install-html-guile: \
29455 configure-guile \
29456 html-guile
29457 @: $(MAKE); $(unstage)
29458 @[ -f ./guile/Makefile ] || exit 0; \
29459 r=`${PWD_COMMAND}`; export r; \
29460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29461 $(HOST_EXPORTS) \
29462 for flag in $(EXTRA_HOST_FLAGS) ; do \
29463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29464 done; \
29465 echo "Doing install-html in guile" ; \
29466 (cd $(HOST_SUBDIR)/guile && \
29467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29469 "RANLIB=$${RANLIB}" \
29470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29471 install-html) \
29472 || exit 1
29474 @endif guile
29476 .PHONY: maybe-installcheck-guile installcheck-guile
29477 maybe-installcheck-guile:
29478 @if guile
29479 maybe-installcheck-guile: installcheck-guile
29481 installcheck-guile: \
29482 configure-guile
29483 @: $(MAKE); $(unstage)
29484 @[ -f ./guile/Makefile ] || exit 0; \
29485 r=`${PWD_COMMAND}`; export r; \
29486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29487 $(HOST_EXPORTS) \
29488 for flag in $(EXTRA_HOST_FLAGS) ; do \
29489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29490 done; \
29491 echo "Doing installcheck in guile" ; \
29492 (cd $(HOST_SUBDIR)/guile && \
29493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29495 "RANLIB=$${RANLIB}" \
29496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29497 installcheck) \
29498 || exit 1
29500 @endif guile
29502 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
29503 maybe-mostlyclean-guile:
29504 @if guile
29505 maybe-mostlyclean-guile: mostlyclean-guile
29507 mostlyclean-guile:
29508 @: $(MAKE); $(unstage)
29509 @[ -f ./guile/Makefile ] || exit 0; \
29510 r=`${PWD_COMMAND}`; export r; \
29511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29512 $(HOST_EXPORTS) \
29513 for flag in $(EXTRA_HOST_FLAGS) ; do \
29514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29515 done; \
29516 echo "Doing mostlyclean in guile" ; \
29517 (cd $(HOST_SUBDIR)/guile && \
29518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29520 "RANLIB=$${RANLIB}" \
29521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29522 mostlyclean) \
29523 || exit 1
29525 @endif guile
29527 .PHONY: maybe-clean-guile clean-guile
29528 maybe-clean-guile:
29529 @if guile
29530 maybe-clean-guile: clean-guile
29532 clean-guile:
29533 @: $(MAKE); $(unstage)
29534 @[ -f ./guile/Makefile ] || exit 0; \
29535 r=`${PWD_COMMAND}`; export r; \
29536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29537 $(HOST_EXPORTS) \
29538 for flag in $(EXTRA_HOST_FLAGS) ; do \
29539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29540 done; \
29541 echo "Doing clean in guile" ; \
29542 (cd $(HOST_SUBDIR)/guile && \
29543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29545 "RANLIB=$${RANLIB}" \
29546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29547 clean) \
29548 || exit 1
29550 @endif guile
29552 .PHONY: maybe-distclean-guile distclean-guile
29553 maybe-distclean-guile:
29554 @if guile
29555 maybe-distclean-guile: distclean-guile
29557 distclean-guile:
29558 @: $(MAKE); $(unstage)
29559 @[ -f ./guile/Makefile ] || exit 0; \
29560 r=`${PWD_COMMAND}`; export r; \
29561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29562 $(HOST_EXPORTS) \
29563 for flag in $(EXTRA_HOST_FLAGS) ; do \
29564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29565 done; \
29566 echo "Doing distclean in guile" ; \
29567 (cd $(HOST_SUBDIR)/guile && \
29568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29570 "RANLIB=$${RANLIB}" \
29571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29572 distclean) \
29573 || exit 1
29575 @endif guile
29577 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
29578 maybe-maintainer-clean-guile:
29579 @if guile
29580 maybe-maintainer-clean-guile: maintainer-clean-guile
29582 maintainer-clean-guile:
29583 @: $(MAKE); $(unstage)
29584 @[ -f ./guile/Makefile ] || exit 0; \
29585 r=`${PWD_COMMAND}`; export r; \
29586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29587 $(HOST_EXPORTS) \
29588 for flag in $(EXTRA_HOST_FLAGS) ; do \
29589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29590 done; \
29591 echo "Doing maintainer-clean in guile" ; \
29592 (cd $(HOST_SUBDIR)/guile && \
29593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29595 "RANLIB=$${RANLIB}" \
29596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29597 maintainer-clean) \
29598 || exit 1
29600 @endif guile
29604 .PHONY: configure-tk maybe-configure-tk
29605 maybe-configure-tk:
29606 @if gcc-bootstrap
29607 configure-tk: stage_current
29608 @endif gcc-bootstrap
29609 @if tk
29610 maybe-configure-tk: configure-tk
29611 configure-tk:
29612 @: $(MAKE); $(unstage)
29613 @r=`${PWD_COMMAND}`; export r; \
29614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29615 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
29616 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
29617 $(HOST_EXPORTS) \
29618 echo Configuring in $(HOST_SUBDIR)/tk; \
29619 cd "$(HOST_SUBDIR)/tk" || exit 1; \
29620 case $(srcdir) in \
29621 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29622 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
29623 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29624 esac; \
29625 module_srcdir=tk; \
29626 $(SHELL) \
29627 $$s/$$module_srcdir/configure \
29628 --srcdir=$${topdir}/$$module_srcdir \
29629 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29630 --target=${target_alias} \
29631 || exit 1
29632 @endif tk
29638 .PHONY: all-tk maybe-all-tk
29639 maybe-all-tk:
29640 @if gcc-bootstrap
29641 all-tk: stage_current
29642 @endif gcc-bootstrap
29643 @if tk
29644 TARGET-tk=all
29645 maybe-all-tk: all-tk
29646 all-tk: configure-tk
29647 @: $(MAKE); $(unstage)
29648 @r=`${PWD_COMMAND}`; export r; \
29649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29650 $(HOST_EXPORTS) \
29651 (cd $(HOST_SUBDIR)/tk && \
29652 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29653 $(TARGET-tk))
29654 @endif tk
29659 .PHONY: check-tk maybe-check-tk
29660 maybe-check-tk:
29661 @if tk
29662 maybe-check-tk: check-tk
29664 check-tk:
29665 @: $(MAKE); $(unstage)
29666 @r=`${PWD_COMMAND}`; export r; \
29667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29668 $(HOST_EXPORTS) \
29669 (cd $(HOST_SUBDIR)/tk && \
29670 $(MAKE) $(FLAGS_TO_PASS) check)
29672 @endif tk
29674 .PHONY: install-tk maybe-install-tk
29675 maybe-install-tk:
29676 @if tk
29677 maybe-install-tk: install-tk
29679 install-tk: installdirs
29680 @: $(MAKE); $(unstage)
29681 @r=`${PWD_COMMAND}`; export r; \
29682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29683 $(HOST_EXPORTS) \
29684 (cd $(HOST_SUBDIR)/tk && \
29685 $(MAKE) $(FLAGS_TO_PASS) install)
29687 @endif tk
29689 .PHONY: install-strip-tk maybe-install-strip-tk
29690 maybe-install-strip-tk:
29691 @if tk
29692 maybe-install-strip-tk: install-strip-tk
29694 install-strip-tk: installdirs
29695 @: $(MAKE); $(unstage)
29696 @r=`${PWD_COMMAND}`; export r; \
29697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29698 $(HOST_EXPORTS) \
29699 (cd $(HOST_SUBDIR)/tk && \
29700 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29702 @endif tk
29704 # Other targets (info, dvi, pdf, etc.)
29706 .PHONY: maybe-info-tk info-tk
29707 maybe-info-tk:
29708 @if tk
29709 maybe-info-tk: info-tk
29711 info-tk: \
29712 configure-tk
29713 @: $(MAKE); $(unstage)
29714 @[ -f ./tk/Makefile ] || exit 0; \
29715 r=`${PWD_COMMAND}`; export r; \
29716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29717 $(HOST_EXPORTS) \
29718 for flag in $(EXTRA_HOST_FLAGS) ; do \
29719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29720 done; \
29721 echo "Doing info in tk" ; \
29722 (cd $(HOST_SUBDIR)/tk && \
29723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29725 "RANLIB=$${RANLIB}" \
29726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29727 info) \
29728 || exit 1
29730 @endif tk
29732 .PHONY: maybe-dvi-tk dvi-tk
29733 maybe-dvi-tk:
29734 @if tk
29735 maybe-dvi-tk: dvi-tk
29737 dvi-tk: \
29738 configure-tk
29739 @: $(MAKE); $(unstage)
29740 @[ -f ./tk/Makefile ] || exit 0; \
29741 r=`${PWD_COMMAND}`; export r; \
29742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29743 $(HOST_EXPORTS) \
29744 for flag in $(EXTRA_HOST_FLAGS) ; do \
29745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29746 done; \
29747 echo "Doing dvi in tk" ; \
29748 (cd $(HOST_SUBDIR)/tk && \
29749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29751 "RANLIB=$${RANLIB}" \
29752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29753 dvi) \
29754 || exit 1
29756 @endif tk
29758 .PHONY: maybe-pdf-tk pdf-tk
29759 maybe-pdf-tk:
29760 @if tk
29761 maybe-pdf-tk: pdf-tk
29763 pdf-tk: \
29764 configure-tk
29765 @: $(MAKE); $(unstage)
29766 @[ -f ./tk/Makefile ] || exit 0; \
29767 r=`${PWD_COMMAND}`; export r; \
29768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29769 $(HOST_EXPORTS) \
29770 for flag in $(EXTRA_HOST_FLAGS) ; do \
29771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29772 done; \
29773 echo "Doing pdf in tk" ; \
29774 (cd $(HOST_SUBDIR)/tk && \
29775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29777 "RANLIB=$${RANLIB}" \
29778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29779 pdf) \
29780 || exit 1
29782 @endif tk
29784 .PHONY: maybe-html-tk html-tk
29785 maybe-html-tk:
29786 @if tk
29787 maybe-html-tk: html-tk
29789 html-tk: \
29790 configure-tk
29791 @: $(MAKE); $(unstage)
29792 @[ -f ./tk/Makefile ] || exit 0; \
29793 r=`${PWD_COMMAND}`; export r; \
29794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29795 $(HOST_EXPORTS) \
29796 for flag in $(EXTRA_HOST_FLAGS) ; do \
29797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29798 done; \
29799 echo "Doing html in tk" ; \
29800 (cd $(HOST_SUBDIR)/tk && \
29801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29803 "RANLIB=$${RANLIB}" \
29804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29805 html) \
29806 || exit 1
29808 @endif tk
29810 .PHONY: maybe-TAGS-tk TAGS-tk
29811 maybe-TAGS-tk:
29812 @if tk
29813 maybe-TAGS-tk: TAGS-tk
29815 TAGS-tk: \
29816 configure-tk
29817 @: $(MAKE); $(unstage)
29818 @[ -f ./tk/Makefile ] || exit 0; \
29819 r=`${PWD_COMMAND}`; export r; \
29820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29821 $(HOST_EXPORTS) \
29822 for flag in $(EXTRA_HOST_FLAGS) ; do \
29823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29824 done; \
29825 echo "Doing TAGS in tk" ; \
29826 (cd $(HOST_SUBDIR)/tk && \
29827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29829 "RANLIB=$${RANLIB}" \
29830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29831 TAGS) \
29832 || exit 1
29834 @endif tk
29836 .PHONY: maybe-install-info-tk install-info-tk
29837 maybe-install-info-tk:
29838 @if tk
29839 maybe-install-info-tk: install-info-tk
29841 install-info-tk: \
29842 configure-tk \
29843 info-tk
29844 @: $(MAKE); $(unstage)
29845 @[ -f ./tk/Makefile ] || exit 0; \
29846 r=`${PWD_COMMAND}`; export r; \
29847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29848 $(HOST_EXPORTS) \
29849 for flag in $(EXTRA_HOST_FLAGS) ; do \
29850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29851 done; \
29852 echo "Doing install-info in tk" ; \
29853 (cd $(HOST_SUBDIR)/tk && \
29854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29856 "RANLIB=$${RANLIB}" \
29857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29858 install-info) \
29859 || exit 1
29861 @endif tk
29863 .PHONY: maybe-install-pdf-tk install-pdf-tk
29864 maybe-install-pdf-tk:
29865 @if tk
29866 maybe-install-pdf-tk: install-pdf-tk
29868 install-pdf-tk: \
29869 configure-tk \
29870 pdf-tk
29871 @: $(MAKE); $(unstage)
29872 @[ -f ./tk/Makefile ] || exit 0; \
29873 r=`${PWD_COMMAND}`; export r; \
29874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29875 $(HOST_EXPORTS) \
29876 for flag in $(EXTRA_HOST_FLAGS) ; do \
29877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29878 done; \
29879 echo "Doing install-pdf in tk" ; \
29880 (cd $(HOST_SUBDIR)/tk && \
29881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29883 "RANLIB=$${RANLIB}" \
29884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29885 install-pdf) \
29886 || exit 1
29888 @endif tk
29890 .PHONY: maybe-install-html-tk install-html-tk
29891 maybe-install-html-tk:
29892 @if tk
29893 maybe-install-html-tk: install-html-tk
29895 install-html-tk: \
29896 configure-tk \
29897 html-tk
29898 @: $(MAKE); $(unstage)
29899 @[ -f ./tk/Makefile ] || exit 0; \
29900 r=`${PWD_COMMAND}`; export r; \
29901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29902 $(HOST_EXPORTS) \
29903 for flag in $(EXTRA_HOST_FLAGS) ; do \
29904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29905 done; \
29906 echo "Doing install-html in tk" ; \
29907 (cd $(HOST_SUBDIR)/tk && \
29908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29910 "RANLIB=$${RANLIB}" \
29911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29912 install-html) \
29913 || exit 1
29915 @endif tk
29917 .PHONY: maybe-installcheck-tk installcheck-tk
29918 maybe-installcheck-tk:
29919 @if tk
29920 maybe-installcheck-tk: installcheck-tk
29922 installcheck-tk: \
29923 configure-tk
29924 @: $(MAKE); $(unstage)
29925 @[ -f ./tk/Makefile ] || exit 0; \
29926 r=`${PWD_COMMAND}`; export r; \
29927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29928 $(HOST_EXPORTS) \
29929 for flag in $(EXTRA_HOST_FLAGS) ; do \
29930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29931 done; \
29932 echo "Doing installcheck in tk" ; \
29933 (cd $(HOST_SUBDIR)/tk && \
29934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29936 "RANLIB=$${RANLIB}" \
29937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29938 installcheck) \
29939 || exit 1
29941 @endif tk
29943 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
29944 maybe-mostlyclean-tk:
29945 @if tk
29946 maybe-mostlyclean-tk: mostlyclean-tk
29948 mostlyclean-tk:
29949 @: $(MAKE); $(unstage)
29950 @[ -f ./tk/Makefile ] || exit 0; \
29951 r=`${PWD_COMMAND}`; export r; \
29952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29953 $(HOST_EXPORTS) \
29954 for flag in $(EXTRA_HOST_FLAGS) ; do \
29955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29956 done; \
29957 echo "Doing mostlyclean in tk" ; \
29958 (cd $(HOST_SUBDIR)/tk && \
29959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29961 "RANLIB=$${RANLIB}" \
29962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29963 mostlyclean) \
29964 || exit 1
29966 @endif tk
29968 .PHONY: maybe-clean-tk clean-tk
29969 maybe-clean-tk:
29970 @if tk
29971 maybe-clean-tk: clean-tk
29973 clean-tk:
29974 @: $(MAKE); $(unstage)
29975 @[ -f ./tk/Makefile ] || exit 0; \
29976 r=`${PWD_COMMAND}`; export r; \
29977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29978 $(HOST_EXPORTS) \
29979 for flag in $(EXTRA_HOST_FLAGS) ; do \
29980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29981 done; \
29982 echo "Doing clean in tk" ; \
29983 (cd $(HOST_SUBDIR)/tk && \
29984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29986 "RANLIB=$${RANLIB}" \
29987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29988 clean) \
29989 || exit 1
29991 @endif tk
29993 .PHONY: maybe-distclean-tk distclean-tk
29994 maybe-distclean-tk:
29995 @if tk
29996 maybe-distclean-tk: distclean-tk
29998 distclean-tk:
29999 @: $(MAKE); $(unstage)
30000 @[ -f ./tk/Makefile ] || exit 0; \
30001 r=`${PWD_COMMAND}`; export r; \
30002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30003 $(HOST_EXPORTS) \
30004 for flag in $(EXTRA_HOST_FLAGS) ; do \
30005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30006 done; \
30007 echo "Doing distclean in tk" ; \
30008 (cd $(HOST_SUBDIR)/tk && \
30009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30011 "RANLIB=$${RANLIB}" \
30012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30013 distclean) \
30014 || exit 1
30016 @endif tk
30018 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
30019 maybe-maintainer-clean-tk:
30020 @if tk
30021 maybe-maintainer-clean-tk: maintainer-clean-tk
30023 maintainer-clean-tk:
30024 @: $(MAKE); $(unstage)
30025 @[ -f ./tk/Makefile ] || exit 0; \
30026 r=`${PWD_COMMAND}`; export r; \
30027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30028 $(HOST_EXPORTS) \
30029 for flag in $(EXTRA_HOST_FLAGS) ; do \
30030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30031 done; \
30032 echo "Doing maintainer-clean in tk" ; \
30033 (cd $(HOST_SUBDIR)/tk && \
30034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30036 "RANLIB=$${RANLIB}" \
30037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30038 maintainer-clean) \
30039 || exit 1
30041 @endif tk
30045 .PHONY: configure-libtermcap maybe-configure-libtermcap
30046 maybe-configure-libtermcap:
30047 @if gcc-bootstrap
30048 configure-libtermcap: stage_current
30049 @endif gcc-bootstrap
30050 @if libtermcap
30051 maybe-configure-libtermcap: configure-libtermcap
30052 configure-libtermcap:
30053 @: $(MAKE); $(unstage)
30054 @r=`${PWD_COMMAND}`; export r; \
30055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30056 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
30057 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
30058 $(HOST_EXPORTS) \
30059 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
30060 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
30061 case $(srcdir) in \
30062 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30063 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
30064 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30065 esac; \
30066 module_srcdir=libtermcap; \
30067 $(SHELL) \
30068 $$s/$$module_srcdir/configure \
30069 --srcdir=$${topdir}/$$module_srcdir \
30070 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30071 --target=${target_alias} \
30072 || exit 1
30073 @endif libtermcap
30079 .PHONY: all-libtermcap maybe-all-libtermcap
30080 maybe-all-libtermcap:
30081 @if gcc-bootstrap
30082 all-libtermcap: stage_current
30083 @endif gcc-bootstrap
30084 @if libtermcap
30085 TARGET-libtermcap=all
30086 maybe-all-libtermcap: all-libtermcap
30087 all-libtermcap: configure-libtermcap
30088 @: $(MAKE); $(unstage)
30089 @r=`${PWD_COMMAND}`; export r; \
30090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30091 $(HOST_EXPORTS) \
30092 (cd $(HOST_SUBDIR)/libtermcap && \
30093 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30094 $(TARGET-libtermcap))
30095 @endif libtermcap
30100 .PHONY: check-libtermcap maybe-check-libtermcap
30101 maybe-check-libtermcap:
30102 @if libtermcap
30103 maybe-check-libtermcap: check-libtermcap
30105 check-libtermcap:
30107 @endif libtermcap
30109 .PHONY: install-libtermcap maybe-install-libtermcap
30110 maybe-install-libtermcap:
30111 @if libtermcap
30112 maybe-install-libtermcap: install-libtermcap
30114 install-libtermcap: installdirs
30115 @: $(MAKE); $(unstage)
30116 @r=`${PWD_COMMAND}`; export r; \
30117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30118 $(HOST_EXPORTS) \
30119 (cd $(HOST_SUBDIR)/libtermcap && \
30120 $(MAKE) $(FLAGS_TO_PASS) install)
30122 @endif libtermcap
30124 .PHONY: install-strip-libtermcap maybe-install-strip-libtermcap
30125 maybe-install-strip-libtermcap:
30126 @if libtermcap
30127 maybe-install-strip-libtermcap: install-strip-libtermcap
30129 install-strip-libtermcap: installdirs
30130 @: $(MAKE); $(unstage)
30131 @r=`${PWD_COMMAND}`; export r; \
30132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30133 $(HOST_EXPORTS) \
30134 (cd $(HOST_SUBDIR)/libtermcap && \
30135 $(MAKE) $(FLAGS_TO_PASS) install-strip)
30137 @endif libtermcap
30139 # Other targets (info, dvi, pdf, etc.)
30141 .PHONY: maybe-info-libtermcap info-libtermcap
30142 maybe-info-libtermcap:
30143 @if libtermcap
30144 maybe-info-libtermcap: info-libtermcap
30146 info-libtermcap: \
30147 configure-libtermcap
30148 @: $(MAKE); $(unstage)
30149 @[ -f ./libtermcap/Makefile ] || exit 0; \
30150 r=`${PWD_COMMAND}`; export r; \
30151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30152 $(HOST_EXPORTS) \
30153 for flag in $(EXTRA_HOST_FLAGS) ; do \
30154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30155 done; \
30156 echo "Doing info in libtermcap" ; \
30157 (cd $(HOST_SUBDIR)/libtermcap && \
30158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30160 "RANLIB=$${RANLIB}" \
30161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30162 info) \
30163 || exit 1
30165 @endif libtermcap
30167 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
30168 maybe-dvi-libtermcap:
30169 @if libtermcap
30170 maybe-dvi-libtermcap: dvi-libtermcap
30172 dvi-libtermcap: \
30173 configure-libtermcap
30174 @: $(MAKE); $(unstage)
30175 @[ -f ./libtermcap/Makefile ] || exit 0; \
30176 r=`${PWD_COMMAND}`; export r; \
30177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30178 $(HOST_EXPORTS) \
30179 for flag in $(EXTRA_HOST_FLAGS) ; do \
30180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30181 done; \
30182 echo "Doing dvi in libtermcap" ; \
30183 (cd $(HOST_SUBDIR)/libtermcap && \
30184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30186 "RANLIB=$${RANLIB}" \
30187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30188 dvi) \
30189 || exit 1
30191 @endif libtermcap
30193 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
30194 maybe-pdf-libtermcap:
30195 @if libtermcap
30196 maybe-pdf-libtermcap: pdf-libtermcap
30198 pdf-libtermcap: \
30199 configure-libtermcap
30200 @: $(MAKE); $(unstage)
30201 @[ -f ./libtermcap/Makefile ] || exit 0; \
30202 r=`${PWD_COMMAND}`; export r; \
30203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30204 $(HOST_EXPORTS) \
30205 for flag in $(EXTRA_HOST_FLAGS) ; do \
30206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30207 done; \
30208 echo "Doing pdf in libtermcap" ; \
30209 (cd $(HOST_SUBDIR)/libtermcap && \
30210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30212 "RANLIB=$${RANLIB}" \
30213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30214 pdf) \
30215 || exit 1
30217 @endif libtermcap
30219 .PHONY: maybe-html-libtermcap html-libtermcap
30220 maybe-html-libtermcap:
30221 @if libtermcap
30222 maybe-html-libtermcap: html-libtermcap
30224 html-libtermcap: \
30225 configure-libtermcap
30226 @: $(MAKE); $(unstage)
30227 @[ -f ./libtermcap/Makefile ] || exit 0; \
30228 r=`${PWD_COMMAND}`; export r; \
30229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30230 $(HOST_EXPORTS) \
30231 for flag in $(EXTRA_HOST_FLAGS) ; do \
30232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30233 done; \
30234 echo "Doing html in libtermcap" ; \
30235 (cd $(HOST_SUBDIR)/libtermcap && \
30236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30238 "RANLIB=$${RANLIB}" \
30239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30240 html) \
30241 || exit 1
30243 @endif libtermcap
30245 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
30246 maybe-TAGS-libtermcap:
30247 @if libtermcap
30248 maybe-TAGS-libtermcap: TAGS-libtermcap
30250 TAGS-libtermcap: \
30251 configure-libtermcap
30252 @: $(MAKE); $(unstage)
30253 @[ -f ./libtermcap/Makefile ] || exit 0; \
30254 r=`${PWD_COMMAND}`; export r; \
30255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30256 $(HOST_EXPORTS) \
30257 for flag in $(EXTRA_HOST_FLAGS) ; do \
30258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30259 done; \
30260 echo "Doing TAGS in libtermcap" ; \
30261 (cd $(HOST_SUBDIR)/libtermcap && \
30262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30264 "RANLIB=$${RANLIB}" \
30265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30266 TAGS) \
30267 || exit 1
30269 @endif libtermcap
30271 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
30272 maybe-install-info-libtermcap:
30273 @if libtermcap
30274 maybe-install-info-libtermcap: install-info-libtermcap
30276 install-info-libtermcap: \
30277 configure-libtermcap \
30278 info-libtermcap
30279 @: $(MAKE); $(unstage)
30280 @[ -f ./libtermcap/Makefile ] || exit 0; \
30281 r=`${PWD_COMMAND}`; export r; \
30282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30283 $(HOST_EXPORTS) \
30284 for flag in $(EXTRA_HOST_FLAGS) ; do \
30285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30286 done; \
30287 echo "Doing install-info in libtermcap" ; \
30288 (cd $(HOST_SUBDIR)/libtermcap && \
30289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30291 "RANLIB=$${RANLIB}" \
30292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30293 install-info) \
30294 || exit 1
30296 @endif libtermcap
30298 .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap
30299 maybe-install-pdf-libtermcap:
30300 @if libtermcap
30301 maybe-install-pdf-libtermcap: install-pdf-libtermcap
30303 install-pdf-libtermcap: \
30304 configure-libtermcap \
30305 pdf-libtermcap
30306 @: $(MAKE); $(unstage)
30307 @[ -f ./libtermcap/Makefile ] || exit 0; \
30308 r=`${PWD_COMMAND}`; export r; \
30309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30310 $(HOST_EXPORTS) \
30311 for flag in $(EXTRA_HOST_FLAGS) ; do \
30312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30313 done; \
30314 echo "Doing install-pdf in libtermcap" ; \
30315 (cd $(HOST_SUBDIR)/libtermcap && \
30316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30318 "RANLIB=$${RANLIB}" \
30319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30320 install-pdf) \
30321 || exit 1
30323 @endif libtermcap
30325 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
30326 maybe-install-html-libtermcap:
30327 @if libtermcap
30328 maybe-install-html-libtermcap: install-html-libtermcap
30330 install-html-libtermcap: \
30331 configure-libtermcap \
30332 html-libtermcap
30333 @: $(MAKE); $(unstage)
30334 @[ -f ./libtermcap/Makefile ] || exit 0; \
30335 r=`${PWD_COMMAND}`; export r; \
30336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30337 $(HOST_EXPORTS) \
30338 for flag in $(EXTRA_HOST_FLAGS) ; do \
30339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30340 done; \
30341 echo "Doing install-html in libtermcap" ; \
30342 (cd $(HOST_SUBDIR)/libtermcap && \
30343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30345 "RANLIB=$${RANLIB}" \
30346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30347 install-html) \
30348 || exit 1
30350 @endif libtermcap
30352 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
30353 maybe-installcheck-libtermcap:
30354 @if libtermcap
30355 maybe-installcheck-libtermcap: installcheck-libtermcap
30357 installcheck-libtermcap: \
30358 configure-libtermcap
30359 @: $(MAKE); $(unstage)
30360 @[ -f ./libtermcap/Makefile ] || exit 0; \
30361 r=`${PWD_COMMAND}`; export r; \
30362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30363 $(HOST_EXPORTS) \
30364 for flag in $(EXTRA_HOST_FLAGS) ; do \
30365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30366 done; \
30367 echo "Doing installcheck in libtermcap" ; \
30368 (cd $(HOST_SUBDIR)/libtermcap && \
30369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30371 "RANLIB=$${RANLIB}" \
30372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30373 installcheck) \
30374 || exit 1
30376 @endif libtermcap
30378 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
30379 maybe-mostlyclean-libtermcap:
30380 @if libtermcap
30381 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
30383 # libtermcap doesn't support mostlyclean.
30384 mostlyclean-libtermcap:
30386 @endif libtermcap
30388 .PHONY: maybe-clean-libtermcap clean-libtermcap
30389 maybe-clean-libtermcap:
30390 @if libtermcap
30391 maybe-clean-libtermcap: clean-libtermcap
30393 # libtermcap doesn't support clean.
30394 clean-libtermcap:
30396 @endif libtermcap
30398 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
30399 maybe-distclean-libtermcap:
30400 @if libtermcap
30401 maybe-distclean-libtermcap: distclean-libtermcap
30403 # libtermcap doesn't support distclean.
30404 distclean-libtermcap:
30406 @endif libtermcap
30408 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
30409 maybe-maintainer-clean-libtermcap:
30410 @if libtermcap
30411 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
30413 # libtermcap doesn't support maintainer-clean.
30414 maintainer-clean-libtermcap:
30416 @endif libtermcap
30420 .PHONY: configure-utils maybe-configure-utils
30421 maybe-configure-utils:
30422 @if gcc-bootstrap
30423 configure-utils: stage_current
30424 @endif gcc-bootstrap
30425 @if utils
30426 maybe-configure-utils: configure-utils
30427 configure-utils:
30428 @: $(MAKE); $(unstage)
30429 @r=`${PWD_COMMAND}`; export r; \
30430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30431 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
30432 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
30433 $(HOST_EXPORTS) \
30434 echo Configuring in $(HOST_SUBDIR)/utils; \
30435 cd "$(HOST_SUBDIR)/utils" || exit 1; \
30436 case $(srcdir) in \
30437 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30438 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
30439 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30440 esac; \
30441 module_srcdir=utils; \
30442 $(SHELL) \
30443 $$s/$$module_srcdir/configure \
30444 --srcdir=$${topdir}/$$module_srcdir \
30445 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30446 --target=${target_alias} \
30447 || exit 1
30448 @endif utils
30454 .PHONY: all-utils maybe-all-utils
30455 maybe-all-utils:
30456 @if gcc-bootstrap
30457 all-utils: stage_current
30458 @endif gcc-bootstrap
30459 @if utils
30460 TARGET-utils=all
30461 maybe-all-utils: all-utils
30462 all-utils: configure-utils
30463 @: $(MAKE); $(unstage)
30464 @r=`${PWD_COMMAND}`; export r; \
30465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30466 $(HOST_EXPORTS) \
30467 (cd $(HOST_SUBDIR)/utils && \
30468 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30469 $(TARGET-utils))
30470 @endif utils
30475 .PHONY: check-utils maybe-check-utils
30476 maybe-check-utils:
30477 @if utils
30478 maybe-check-utils: check-utils
30480 check-utils:
30482 @endif utils
30484 .PHONY: install-utils maybe-install-utils
30485 maybe-install-utils:
30486 @if utils
30487 maybe-install-utils: install-utils
30489 install-utils: installdirs
30490 @: $(MAKE); $(unstage)
30491 @r=`${PWD_COMMAND}`; export r; \
30492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30493 $(HOST_EXPORTS) \
30494 (cd $(HOST_SUBDIR)/utils && \
30495 $(MAKE) $(FLAGS_TO_PASS) install)
30497 @endif utils
30499 .PHONY: install-strip-utils maybe-install-strip-utils
30500 maybe-install-strip-utils:
30501 @if utils
30502 maybe-install-strip-utils: install-strip-utils
30504 install-strip-utils: installdirs
30505 @: $(MAKE); $(unstage)
30506 @r=`${PWD_COMMAND}`; export r; \
30507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30508 $(HOST_EXPORTS) \
30509 (cd $(HOST_SUBDIR)/utils && \
30510 $(MAKE) $(FLAGS_TO_PASS) install-strip)
30512 @endif utils
30514 # Other targets (info, dvi, pdf, etc.)
30516 .PHONY: maybe-info-utils info-utils
30517 maybe-info-utils:
30518 @if utils
30519 maybe-info-utils: info-utils
30521 info-utils: \
30522 configure-utils
30523 @: $(MAKE); $(unstage)
30524 @[ -f ./utils/Makefile ] || exit 0; \
30525 r=`${PWD_COMMAND}`; export r; \
30526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30527 $(HOST_EXPORTS) \
30528 for flag in $(EXTRA_HOST_FLAGS) ; do \
30529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30530 done; \
30531 echo "Doing info in utils" ; \
30532 (cd $(HOST_SUBDIR)/utils && \
30533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30535 "RANLIB=$${RANLIB}" \
30536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30537 info) \
30538 || exit 1
30540 @endif utils
30542 .PHONY: maybe-dvi-utils dvi-utils
30543 maybe-dvi-utils:
30544 @if utils
30545 maybe-dvi-utils: dvi-utils
30547 dvi-utils: \
30548 configure-utils
30549 @: $(MAKE); $(unstage)
30550 @[ -f ./utils/Makefile ] || exit 0; \
30551 r=`${PWD_COMMAND}`; export r; \
30552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30553 $(HOST_EXPORTS) \
30554 for flag in $(EXTRA_HOST_FLAGS) ; do \
30555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30556 done; \
30557 echo "Doing dvi in utils" ; \
30558 (cd $(HOST_SUBDIR)/utils && \
30559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30561 "RANLIB=$${RANLIB}" \
30562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30563 dvi) \
30564 || exit 1
30566 @endif utils
30568 .PHONY: maybe-pdf-utils pdf-utils
30569 maybe-pdf-utils:
30570 @if utils
30571 maybe-pdf-utils: pdf-utils
30573 pdf-utils: \
30574 configure-utils
30575 @: $(MAKE); $(unstage)
30576 @[ -f ./utils/Makefile ] || exit 0; \
30577 r=`${PWD_COMMAND}`; export r; \
30578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30579 $(HOST_EXPORTS) \
30580 for flag in $(EXTRA_HOST_FLAGS) ; do \
30581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30582 done; \
30583 echo "Doing pdf in utils" ; \
30584 (cd $(HOST_SUBDIR)/utils && \
30585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30587 "RANLIB=$${RANLIB}" \
30588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30589 pdf) \
30590 || exit 1
30592 @endif utils
30594 .PHONY: maybe-html-utils html-utils
30595 maybe-html-utils:
30596 @if utils
30597 maybe-html-utils: html-utils
30599 html-utils: \
30600 configure-utils
30601 @: $(MAKE); $(unstage)
30602 @[ -f ./utils/Makefile ] || exit 0; \
30603 r=`${PWD_COMMAND}`; export r; \
30604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30605 $(HOST_EXPORTS) \
30606 for flag in $(EXTRA_HOST_FLAGS) ; do \
30607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30608 done; \
30609 echo "Doing html in utils" ; \
30610 (cd $(HOST_SUBDIR)/utils && \
30611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30613 "RANLIB=$${RANLIB}" \
30614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30615 html) \
30616 || exit 1
30618 @endif utils
30620 .PHONY: maybe-TAGS-utils TAGS-utils
30621 maybe-TAGS-utils:
30622 @if utils
30623 maybe-TAGS-utils: TAGS-utils
30625 TAGS-utils: \
30626 configure-utils
30627 @: $(MAKE); $(unstage)
30628 @[ -f ./utils/Makefile ] || exit 0; \
30629 r=`${PWD_COMMAND}`; export r; \
30630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30631 $(HOST_EXPORTS) \
30632 for flag in $(EXTRA_HOST_FLAGS) ; do \
30633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30634 done; \
30635 echo "Doing TAGS in utils" ; \
30636 (cd $(HOST_SUBDIR)/utils && \
30637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30639 "RANLIB=$${RANLIB}" \
30640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30641 TAGS) \
30642 || exit 1
30644 @endif utils
30646 .PHONY: maybe-install-info-utils install-info-utils
30647 maybe-install-info-utils:
30648 @if utils
30649 maybe-install-info-utils: install-info-utils
30651 install-info-utils: \
30652 configure-utils \
30653 info-utils
30654 @: $(MAKE); $(unstage)
30655 @[ -f ./utils/Makefile ] || exit 0; \
30656 r=`${PWD_COMMAND}`; export r; \
30657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30658 $(HOST_EXPORTS) \
30659 for flag in $(EXTRA_HOST_FLAGS) ; do \
30660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30661 done; \
30662 echo "Doing install-info in utils" ; \
30663 (cd $(HOST_SUBDIR)/utils && \
30664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30666 "RANLIB=$${RANLIB}" \
30667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30668 install-info) \
30669 || exit 1
30671 @endif utils
30673 .PHONY: maybe-install-pdf-utils install-pdf-utils
30674 maybe-install-pdf-utils:
30675 @if utils
30676 maybe-install-pdf-utils: install-pdf-utils
30678 install-pdf-utils: \
30679 configure-utils \
30680 pdf-utils
30681 @: $(MAKE); $(unstage)
30682 @[ -f ./utils/Makefile ] || exit 0; \
30683 r=`${PWD_COMMAND}`; export r; \
30684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30685 $(HOST_EXPORTS) \
30686 for flag in $(EXTRA_HOST_FLAGS) ; do \
30687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30688 done; \
30689 echo "Doing install-pdf in utils" ; \
30690 (cd $(HOST_SUBDIR)/utils && \
30691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30693 "RANLIB=$${RANLIB}" \
30694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30695 install-pdf) \
30696 || exit 1
30698 @endif utils
30700 .PHONY: maybe-install-html-utils install-html-utils
30701 maybe-install-html-utils:
30702 @if utils
30703 maybe-install-html-utils: install-html-utils
30705 install-html-utils: \
30706 configure-utils \
30707 html-utils
30708 @: $(MAKE); $(unstage)
30709 @[ -f ./utils/Makefile ] || exit 0; \
30710 r=`${PWD_COMMAND}`; export r; \
30711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30712 $(HOST_EXPORTS) \
30713 for flag in $(EXTRA_HOST_FLAGS) ; do \
30714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30715 done; \
30716 echo "Doing install-html in utils" ; \
30717 (cd $(HOST_SUBDIR)/utils && \
30718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30720 "RANLIB=$${RANLIB}" \
30721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30722 install-html) \
30723 || exit 1
30725 @endif utils
30727 .PHONY: maybe-installcheck-utils installcheck-utils
30728 maybe-installcheck-utils:
30729 @if utils
30730 maybe-installcheck-utils: installcheck-utils
30732 installcheck-utils: \
30733 configure-utils
30734 @: $(MAKE); $(unstage)
30735 @[ -f ./utils/Makefile ] || exit 0; \
30736 r=`${PWD_COMMAND}`; export r; \
30737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30738 $(HOST_EXPORTS) \
30739 for flag in $(EXTRA_HOST_FLAGS) ; do \
30740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30741 done; \
30742 echo "Doing installcheck in utils" ; \
30743 (cd $(HOST_SUBDIR)/utils && \
30744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30746 "RANLIB=$${RANLIB}" \
30747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30748 installcheck) \
30749 || exit 1
30751 @endif utils
30753 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
30754 maybe-mostlyclean-utils:
30755 @if utils
30756 maybe-mostlyclean-utils: mostlyclean-utils
30758 mostlyclean-utils:
30759 @: $(MAKE); $(unstage)
30760 @[ -f ./utils/Makefile ] || exit 0; \
30761 r=`${PWD_COMMAND}`; export r; \
30762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30763 $(HOST_EXPORTS) \
30764 for flag in $(EXTRA_HOST_FLAGS) ; do \
30765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30766 done; \
30767 echo "Doing mostlyclean in utils" ; \
30768 (cd $(HOST_SUBDIR)/utils && \
30769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30771 "RANLIB=$${RANLIB}" \
30772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30773 mostlyclean) \
30774 || exit 1
30776 @endif utils
30778 .PHONY: maybe-clean-utils clean-utils
30779 maybe-clean-utils:
30780 @if utils
30781 maybe-clean-utils: clean-utils
30783 clean-utils:
30784 @: $(MAKE); $(unstage)
30785 @[ -f ./utils/Makefile ] || exit 0; \
30786 r=`${PWD_COMMAND}`; export r; \
30787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30788 $(HOST_EXPORTS) \
30789 for flag in $(EXTRA_HOST_FLAGS) ; do \
30790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30791 done; \
30792 echo "Doing clean in utils" ; \
30793 (cd $(HOST_SUBDIR)/utils && \
30794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30796 "RANLIB=$${RANLIB}" \
30797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30798 clean) \
30799 || exit 1
30801 @endif utils
30803 .PHONY: maybe-distclean-utils distclean-utils
30804 maybe-distclean-utils:
30805 @if utils
30806 maybe-distclean-utils: distclean-utils
30808 distclean-utils:
30809 @: $(MAKE); $(unstage)
30810 @[ -f ./utils/Makefile ] || exit 0; \
30811 r=`${PWD_COMMAND}`; export r; \
30812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30813 $(HOST_EXPORTS) \
30814 for flag in $(EXTRA_HOST_FLAGS) ; do \
30815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30816 done; \
30817 echo "Doing distclean in utils" ; \
30818 (cd $(HOST_SUBDIR)/utils && \
30819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30821 "RANLIB=$${RANLIB}" \
30822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30823 distclean) \
30824 || exit 1
30826 @endif utils
30828 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
30829 maybe-maintainer-clean-utils:
30830 @if utils
30831 maybe-maintainer-clean-utils: maintainer-clean-utils
30833 maintainer-clean-utils:
30834 @: $(MAKE); $(unstage)
30835 @[ -f ./utils/Makefile ] || exit 0; \
30836 r=`${PWD_COMMAND}`; export r; \
30837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30838 $(HOST_EXPORTS) \
30839 for flag in $(EXTRA_HOST_FLAGS) ; do \
30840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30841 done; \
30842 echo "Doing maintainer-clean in utils" ; \
30843 (cd $(HOST_SUBDIR)/utils && \
30844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30846 "RANLIB=$${RANLIB}" \
30847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30848 maintainer-clean) \
30849 || exit 1
30851 @endif utils
30855 .PHONY: configure-gnattools maybe-configure-gnattools
30856 maybe-configure-gnattools:
30857 @if gcc-bootstrap
30858 configure-gnattools: stage_current
30859 @endif gcc-bootstrap
30860 @if gnattools
30861 maybe-configure-gnattools: configure-gnattools
30862 configure-gnattools:
30863 @: $(MAKE); $(unstage)
30864 @r=`${PWD_COMMAND}`; export r; \
30865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30866 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
30867 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
30868 $(HOST_EXPORTS) \
30869 echo Configuring in $(HOST_SUBDIR)/gnattools; \
30870 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
30871 case $(srcdir) in \
30872 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30873 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
30874 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30875 esac; \
30876 module_srcdir=gnattools; \
30877 $(SHELL) \
30878 $$s/$$module_srcdir/configure \
30879 --srcdir=$${topdir}/$$module_srcdir \
30880 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30881 --target=${target_alias} \
30882 || exit 1
30883 @endif gnattools
30889 .PHONY: all-gnattools maybe-all-gnattools
30890 maybe-all-gnattools:
30891 @if gcc-bootstrap
30892 all-gnattools: stage_current
30893 @endif gcc-bootstrap
30894 @if gnattools
30895 TARGET-gnattools=all
30896 maybe-all-gnattools: all-gnattools
30897 all-gnattools: configure-gnattools
30898 @: $(MAKE); $(unstage)
30899 @r=`${PWD_COMMAND}`; export r; \
30900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30901 $(HOST_EXPORTS) \
30902 (cd $(HOST_SUBDIR)/gnattools && \
30903 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30904 $(TARGET-gnattools))
30905 @endif gnattools
30910 .PHONY: check-gnattools maybe-check-gnattools
30911 maybe-check-gnattools:
30912 @if gnattools
30913 maybe-check-gnattools: check-gnattools
30915 check-gnattools:
30916 @: $(MAKE); $(unstage)
30917 @r=`${PWD_COMMAND}`; export r; \
30918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30919 $(HOST_EXPORTS) \
30920 (cd $(HOST_SUBDIR)/gnattools && \
30921 $(MAKE) $(FLAGS_TO_PASS) check)
30923 @endif gnattools
30925 .PHONY: install-gnattools maybe-install-gnattools
30926 maybe-install-gnattools:
30927 @if gnattools
30928 maybe-install-gnattools: install-gnattools
30930 install-gnattools: installdirs
30931 @: $(MAKE); $(unstage)
30932 @r=`${PWD_COMMAND}`; export r; \
30933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30934 $(HOST_EXPORTS) \
30935 (cd $(HOST_SUBDIR)/gnattools && \
30936 $(MAKE) $(FLAGS_TO_PASS) install)
30938 @endif gnattools
30940 .PHONY: install-strip-gnattools maybe-install-strip-gnattools
30941 maybe-install-strip-gnattools:
30942 @if gnattools
30943 maybe-install-strip-gnattools: install-strip-gnattools
30945 install-strip-gnattools: installdirs
30946 @: $(MAKE); $(unstage)
30947 @r=`${PWD_COMMAND}`; export r; \
30948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30949 $(HOST_EXPORTS) \
30950 (cd $(HOST_SUBDIR)/gnattools && \
30951 $(MAKE) $(FLAGS_TO_PASS) install-strip)
30953 @endif gnattools
30955 # Other targets (info, dvi, pdf, etc.)
30957 .PHONY: maybe-info-gnattools info-gnattools
30958 maybe-info-gnattools:
30959 @if gnattools
30960 maybe-info-gnattools: info-gnattools
30962 info-gnattools: \
30963 configure-gnattools
30964 @: $(MAKE); $(unstage)
30965 @[ -f ./gnattools/Makefile ] || exit 0; \
30966 r=`${PWD_COMMAND}`; export r; \
30967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30968 $(HOST_EXPORTS) \
30969 for flag in $(EXTRA_HOST_FLAGS) ; do \
30970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30971 done; \
30972 echo "Doing info in gnattools" ; \
30973 (cd $(HOST_SUBDIR)/gnattools && \
30974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30976 "RANLIB=$${RANLIB}" \
30977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30978 info) \
30979 || exit 1
30981 @endif gnattools
30983 .PHONY: maybe-dvi-gnattools dvi-gnattools
30984 maybe-dvi-gnattools:
30985 @if gnattools
30986 maybe-dvi-gnattools: dvi-gnattools
30988 dvi-gnattools: \
30989 configure-gnattools
30990 @: $(MAKE); $(unstage)
30991 @[ -f ./gnattools/Makefile ] || exit 0; \
30992 r=`${PWD_COMMAND}`; export r; \
30993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30994 $(HOST_EXPORTS) \
30995 for flag in $(EXTRA_HOST_FLAGS) ; do \
30996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30997 done; \
30998 echo "Doing dvi in gnattools" ; \
30999 (cd $(HOST_SUBDIR)/gnattools && \
31000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31002 "RANLIB=$${RANLIB}" \
31003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31004 dvi) \
31005 || exit 1
31007 @endif gnattools
31009 .PHONY: maybe-pdf-gnattools pdf-gnattools
31010 maybe-pdf-gnattools:
31011 @if gnattools
31012 maybe-pdf-gnattools: pdf-gnattools
31014 pdf-gnattools: \
31015 configure-gnattools
31016 @: $(MAKE); $(unstage)
31017 @[ -f ./gnattools/Makefile ] || exit 0; \
31018 r=`${PWD_COMMAND}`; export r; \
31019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31020 $(HOST_EXPORTS) \
31021 for flag in $(EXTRA_HOST_FLAGS) ; do \
31022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31023 done; \
31024 echo "Doing pdf in gnattools" ; \
31025 (cd $(HOST_SUBDIR)/gnattools && \
31026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31028 "RANLIB=$${RANLIB}" \
31029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31030 pdf) \
31031 || exit 1
31033 @endif gnattools
31035 .PHONY: maybe-html-gnattools html-gnattools
31036 maybe-html-gnattools:
31037 @if gnattools
31038 maybe-html-gnattools: html-gnattools
31040 html-gnattools: \
31041 configure-gnattools
31042 @: $(MAKE); $(unstage)
31043 @[ -f ./gnattools/Makefile ] || exit 0; \
31044 r=`${PWD_COMMAND}`; export r; \
31045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31046 $(HOST_EXPORTS) \
31047 for flag in $(EXTRA_HOST_FLAGS) ; do \
31048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31049 done; \
31050 echo "Doing html in gnattools" ; \
31051 (cd $(HOST_SUBDIR)/gnattools && \
31052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31054 "RANLIB=$${RANLIB}" \
31055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31056 html) \
31057 || exit 1
31059 @endif gnattools
31061 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
31062 maybe-TAGS-gnattools:
31063 @if gnattools
31064 maybe-TAGS-gnattools: TAGS-gnattools
31066 TAGS-gnattools: \
31067 configure-gnattools
31068 @: $(MAKE); $(unstage)
31069 @[ -f ./gnattools/Makefile ] || exit 0; \
31070 r=`${PWD_COMMAND}`; export r; \
31071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31072 $(HOST_EXPORTS) \
31073 for flag in $(EXTRA_HOST_FLAGS) ; do \
31074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31075 done; \
31076 echo "Doing TAGS in gnattools" ; \
31077 (cd $(HOST_SUBDIR)/gnattools && \
31078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31080 "RANLIB=$${RANLIB}" \
31081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31082 TAGS) \
31083 || exit 1
31085 @endif gnattools
31087 .PHONY: maybe-install-info-gnattools install-info-gnattools
31088 maybe-install-info-gnattools:
31089 @if gnattools
31090 maybe-install-info-gnattools: install-info-gnattools
31092 install-info-gnattools: \
31093 configure-gnattools \
31094 info-gnattools
31095 @: $(MAKE); $(unstage)
31096 @[ -f ./gnattools/Makefile ] || exit 0; \
31097 r=`${PWD_COMMAND}`; export r; \
31098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31099 $(HOST_EXPORTS) \
31100 for flag in $(EXTRA_HOST_FLAGS) ; do \
31101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31102 done; \
31103 echo "Doing install-info in gnattools" ; \
31104 (cd $(HOST_SUBDIR)/gnattools && \
31105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31107 "RANLIB=$${RANLIB}" \
31108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31109 install-info) \
31110 || exit 1
31112 @endif gnattools
31114 .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools
31115 maybe-install-pdf-gnattools:
31116 @if gnattools
31117 maybe-install-pdf-gnattools: install-pdf-gnattools
31119 install-pdf-gnattools: \
31120 configure-gnattools \
31121 pdf-gnattools
31122 @: $(MAKE); $(unstage)
31123 @[ -f ./gnattools/Makefile ] || exit 0; \
31124 r=`${PWD_COMMAND}`; export r; \
31125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31126 $(HOST_EXPORTS) \
31127 for flag in $(EXTRA_HOST_FLAGS) ; do \
31128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31129 done; \
31130 echo "Doing install-pdf in gnattools" ; \
31131 (cd $(HOST_SUBDIR)/gnattools && \
31132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31134 "RANLIB=$${RANLIB}" \
31135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31136 install-pdf) \
31137 || exit 1
31139 @endif gnattools
31141 .PHONY: maybe-install-html-gnattools install-html-gnattools
31142 maybe-install-html-gnattools:
31143 @if gnattools
31144 maybe-install-html-gnattools: install-html-gnattools
31146 install-html-gnattools: \
31147 configure-gnattools \
31148 html-gnattools
31149 @: $(MAKE); $(unstage)
31150 @[ -f ./gnattools/Makefile ] || exit 0; \
31151 r=`${PWD_COMMAND}`; export r; \
31152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31153 $(HOST_EXPORTS) \
31154 for flag in $(EXTRA_HOST_FLAGS) ; do \
31155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31156 done; \
31157 echo "Doing install-html in gnattools" ; \
31158 (cd $(HOST_SUBDIR)/gnattools && \
31159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31161 "RANLIB=$${RANLIB}" \
31162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31163 install-html) \
31164 || exit 1
31166 @endif gnattools
31168 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
31169 maybe-installcheck-gnattools:
31170 @if gnattools
31171 maybe-installcheck-gnattools: installcheck-gnattools
31173 installcheck-gnattools: \
31174 configure-gnattools
31175 @: $(MAKE); $(unstage)
31176 @[ -f ./gnattools/Makefile ] || exit 0; \
31177 r=`${PWD_COMMAND}`; export r; \
31178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31179 $(HOST_EXPORTS) \
31180 for flag in $(EXTRA_HOST_FLAGS) ; do \
31181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31182 done; \
31183 echo "Doing installcheck in gnattools" ; \
31184 (cd $(HOST_SUBDIR)/gnattools && \
31185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31187 "RANLIB=$${RANLIB}" \
31188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31189 installcheck) \
31190 || exit 1
31192 @endif gnattools
31194 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
31195 maybe-mostlyclean-gnattools:
31196 @if gnattools
31197 maybe-mostlyclean-gnattools: mostlyclean-gnattools
31199 mostlyclean-gnattools:
31200 @: $(MAKE); $(unstage)
31201 @[ -f ./gnattools/Makefile ] || exit 0; \
31202 r=`${PWD_COMMAND}`; export r; \
31203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31204 $(HOST_EXPORTS) \
31205 for flag in $(EXTRA_HOST_FLAGS) ; do \
31206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31207 done; \
31208 echo "Doing mostlyclean in gnattools" ; \
31209 (cd $(HOST_SUBDIR)/gnattools && \
31210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31212 "RANLIB=$${RANLIB}" \
31213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31214 mostlyclean) \
31215 || exit 1
31217 @endif gnattools
31219 .PHONY: maybe-clean-gnattools clean-gnattools
31220 maybe-clean-gnattools:
31221 @if gnattools
31222 maybe-clean-gnattools: clean-gnattools
31224 clean-gnattools:
31225 @: $(MAKE); $(unstage)
31226 @[ -f ./gnattools/Makefile ] || exit 0; \
31227 r=`${PWD_COMMAND}`; export r; \
31228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31229 $(HOST_EXPORTS) \
31230 for flag in $(EXTRA_HOST_FLAGS) ; do \
31231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31232 done; \
31233 echo "Doing clean in gnattools" ; \
31234 (cd $(HOST_SUBDIR)/gnattools && \
31235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31237 "RANLIB=$${RANLIB}" \
31238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31239 clean) \
31240 || exit 1
31242 @endif gnattools
31244 .PHONY: maybe-distclean-gnattools distclean-gnattools
31245 maybe-distclean-gnattools:
31246 @if gnattools
31247 maybe-distclean-gnattools: distclean-gnattools
31249 distclean-gnattools:
31250 @: $(MAKE); $(unstage)
31251 @[ -f ./gnattools/Makefile ] || exit 0; \
31252 r=`${PWD_COMMAND}`; export r; \
31253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31254 $(HOST_EXPORTS) \
31255 for flag in $(EXTRA_HOST_FLAGS) ; do \
31256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31257 done; \
31258 echo "Doing distclean in gnattools" ; \
31259 (cd $(HOST_SUBDIR)/gnattools && \
31260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31262 "RANLIB=$${RANLIB}" \
31263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31264 distclean) \
31265 || exit 1
31267 @endif gnattools
31269 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
31270 maybe-maintainer-clean-gnattools:
31271 @if gnattools
31272 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
31274 maintainer-clean-gnattools:
31275 @: $(MAKE); $(unstage)
31276 @[ -f ./gnattools/Makefile ] || exit 0; \
31277 r=`${PWD_COMMAND}`; export r; \
31278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31279 $(HOST_EXPORTS) \
31280 for flag in $(EXTRA_HOST_FLAGS) ; do \
31281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31282 done; \
31283 echo "Doing maintainer-clean in gnattools" ; \
31284 (cd $(HOST_SUBDIR)/gnattools && \
31285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31287 "RANLIB=$${RANLIB}" \
31288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31289 maintainer-clean) \
31290 || exit 1
31292 @endif gnattools
31296 .PHONY: configure-lto-plugin maybe-configure-lto-plugin
31297 maybe-configure-lto-plugin:
31298 @if gcc-bootstrap
31299 configure-lto-plugin: stage_current
31300 @endif gcc-bootstrap
31301 @if lto-plugin
31302 maybe-configure-lto-plugin: configure-lto-plugin
31303 configure-lto-plugin:
31304 @r=`${PWD_COMMAND}`; export r; \
31305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31306 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
31307 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
31308 $(HOST_EXPORTS) \
31309 echo Configuring in $(HOST_SUBDIR)/lto-plugin; \
31310 cd "$(HOST_SUBDIR)/lto-plugin" || exit 1; \
31311 case $(srcdir) in \
31312 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31313 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
31314 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31315 esac; \
31316 module_srcdir=lto-plugin; \
31317 $(SHELL) \
31318 $$s/$$module_srcdir/configure \
31319 --srcdir=$${topdir}/$$module_srcdir \
31320 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31321 --target=${target_alias} --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ \
31322 || exit 1
31323 @endif lto-plugin
31327 .PHONY: configure-stage1-lto-plugin maybe-configure-stage1-lto-plugin
31328 maybe-configure-stage1-lto-plugin:
31329 @if lto-plugin-bootstrap
31330 maybe-configure-stage1-lto-plugin: configure-stage1-lto-plugin
31331 configure-stage1-lto-plugin:
31332 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
31333 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
31334 @r=`${PWD_COMMAND}`; export r; \
31335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31336 TFLAGS="$(STAGE1_TFLAGS)"; \
31337 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
31338 $(HOST_EXPORTS) \
31339 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
31340 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
31341 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
31342 echo Configuring stage 1 in $(HOST_SUBDIR)/lto-plugin ; \
31343 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
31344 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
31345 case $(srcdir) in \
31346 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31347 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
31348 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31349 esac; \
31350 module_srcdir=lto-plugin; \
31351 $(SHELL) $$s/$$module_srcdir/configure \
31352 --srcdir=$${topdir}/$$module_srcdir \
31353 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31354 --target=${target_alias} \
31356 $(STAGE1_CONFIGURE_FLAGS) \
31357 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
31358 @endif lto-plugin-bootstrap
31360 .PHONY: configure-stage2-lto-plugin maybe-configure-stage2-lto-plugin
31361 maybe-configure-stage2-lto-plugin:
31362 @if lto-plugin-bootstrap
31363 maybe-configure-stage2-lto-plugin: configure-stage2-lto-plugin
31364 configure-stage2-lto-plugin:
31365 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
31366 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
31367 @r=`${PWD_COMMAND}`; export r; \
31368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31369 TFLAGS="$(STAGE2_TFLAGS)"; \
31370 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
31371 $(HOST_EXPORTS) \
31372 $(POSTSTAGE1_HOST_EXPORTS) \
31373 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
31374 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
31375 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
31376 echo Configuring stage 2 in $(HOST_SUBDIR)/lto-plugin ; \
31377 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
31378 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
31379 case $(srcdir) in \
31380 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31381 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
31382 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31383 esac; \
31384 module_srcdir=lto-plugin; \
31385 $(SHELL) $$s/$$module_srcdir/configure \
31386 --srcdir=$${topdir}/$$module_srcdir \
31387 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31388 --target=${target_alias} \
31389 --with-build-libsubdir=$(HOST_SUBDIR) \
31390 $(STAGE2_CONFIGURE_FLAGS) \
31391 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
31392 @endif lto-plugin-bootstrap
31394 .PHONY: configure-stage3-lto-plugin maybe-configure-stage3-lto-plugin
31395 maybe-configure-stage3-lto-plugin:
31396 @if lto-plugin-bootstrap
31397 maybe-configure-stage3-lto-plugin: configure-stage3-lto-plugin
31398 configure-stage3-lto-plugin:
31399 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
31400 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
31401 @r=`${PWD_COMMAND}`; export r; \
31402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31403 TFLAGS="$(STAGE3_TFLAGS)"; \
31404 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
31405 $(HOST_EXPORTS) \
31406 $(POSTSTAGE1_HOST_EXPORTS) \
31407 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
31408 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
31409 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
31410 echo Configuring stage 3 in $(HOST_SUBDIR)/lto-plugin ; \
31411 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
31412 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
31413 case $(srcdir) in \
31414 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31415 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
31416 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31417 esac; \
31418 module_srcdir=lto-plugin; \
31419 $(SHELL) $$s/$$module_srcdir/configure \
31420 --srcdir=$${topdir}/$$module_srcdir \
31421 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31422 --target=${target_alias} \
31423 --with-build-libsubdir=$(HOST_SUBDIR) \
31424 $(STAGE3_CONFIGURE_FLAGS) \
31425 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
31426 @endif lto-plugin-bootstrap
31428 .PHONY: configure-stage4-lto-plugin maybe-configure-stage4-lto-plugin
31429 maybe-configure-stage4-lto-plugin:
31430 @if lto-plugin-bootstrap
31431 maybe-configure-stage4-lto-plugin: configure-stage4-lto-plugin
31432 configure-stage4-lto-plugin:
31433 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
31434 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
31435 @r=`${PWD_COMMAND}`; export r; \
31436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31437 TFLAGS="$(STAGE4_TFLAGS)"; \
31438 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
31439 $(HOST_EXPORTS) \
31440 $(POSTSTAGE1_HOST_EXPORTS) \
31441 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
31442 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
31443 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
31444 echo Configuring stage 4 in $(HOST_SUBDIR)/lto-plugin ; \
31445 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
31446 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
31447 case $(srcdir) in \
31448 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31449 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
31450 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31451 esac; \
31452 module_srcdir=lto-plugin; \
31453 $(SHELL) $$s/$$module_srcdir/configure \
31454 --srcdir=$${topdir}/$$module_srcdir \
31455 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31456 --target=${target_alias} \
31457 --with-build-libsubdir=$(HOST_SUBDIR) \
31458 $(STAGE4_CONFIGURE_FLAGS) \
31459 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
31460 @endif lto-plugin-bootstrap
31462 .PHONY: configure-stageprofile-lto-plugin maybe-configure-stageprofile-lto-plugin
31463 maybe-configure-stageprofile-lto-plugin:
31464 @if lto-plugin-bootstrap
31465 maybe-configure-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
31466 configure-stageprofile-lto-plugin:
31467 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
31468 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
31469 @r=`${PWD_COMMAND}`; export r; \
31470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31471 TFLAGS="$(STAGEprofile_TFLAGS)"; \
31472 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
31473 $(HOST_EXPORTS) \
31474 $(POSTSTAGE1_HOST_EXPORTS) \
31475 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
31476 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
31477 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
31478 echo Configuring stage profile in $(HOST_SUBDIR)/lto-plugin ; \
31479 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
31480 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
31481 case $(srcdir) in \
31482 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31483 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
31484 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31485 esac; \
31486 module_srcdir=lto-plugin; \
31487 $(SHELL) $$s/$$module_srcdir/configure \
31488 --srcdir=$${topdir}/$$module_srcdir \
31489 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31490 --target=${target_alias} \
31491 --with-build-libsubdir=$(HOST_SUBDIR) \
31492 $(STAGEprofile_CONFIGURE_FLAGS) \
31493 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
31494 @endif lto-plugin-bootstrap
31496 .PHONY: configure-stagefeedback-lto-plugin maybe-configure-stagefeedback-lto-plugin
31497 maybe-configure-stagefeedback-lto-plugin:
31498 @if lto-plugin-bootstrap
31499 maybe-configure-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
31500 configure-stagefeedback-lto-plugin:
31501 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
31502 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
31503 @r=`${PWD_COMMAND}`; export r; \
31504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31505 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
31506 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
31507 $(HOST_EXPORTS) \
31508 $(POSTSTAGE1_HOST_EXPORTS) \
31509 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
31510 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
31511 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
31512 echo Configuring stage feedback in $(HOST_SUBDIR)/lto-plugin ; \
31513 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
31514 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
31515 case $(srcdir) in \
31516 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31517 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
31518 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31519 esac; \
31520 module_srcdir=lto-plugin; \
31521 $(SHELL) $$s/$$module_srcdir/configure \
31522 --srcdir=$${topdir}/$$module_srcdir \
31523 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31524 --target=${target_alias} \
31525 --with-build-libsubdir=$(HOST_SUBDIR) \
31526 $(STAGEfeedback_CONFIGURE_FLAGS) \
31527 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
31528 @endif lto-plugin-bootstrap
31534 .PHONY: all-lto-plugin maybe-all-lto-plugin
31535 maybe-all-lto-plugin:
31536 @if gcc-bootstrap
31537 all-lto-plugin: stage_current
31538 @endif gcc-bootstrap
31539 @if lto-plugin
31540 TARGET-lto-plugin=all
31541 maybe-all-lto-plugin: all-lto-plugin
31542 all-lto-plugin: configure-lto-plugin
31543 @r=`${PWD_COMMAND}`; export r; \
31544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31545 $(HOST_EXPORTS) \
31546 (cd $(HOST_SUBDIR)/lto-plugin && \
31547 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
31548 $(TARGET-lto-plugin))
31549 @endif lto-plugin
31553 .PHONY: all-stage1-lto-plugin maybe-all-stage1-lto-plugin
31554 .PHONY: clean-stage1-lto-plugin maybe-clean-stage1-lto-plugin
31555 maybe-all-stage1-lto-plugin:
31556 maybe-clean-stage1-lto-plugin:
31557 @if lto-plugin-bootstrap
31558 maybe-all-stage1-lto-plugin: all-stage1-lto-plugin
31559 all-stage1: all-stage1-lto-plugin
31560 TARGET-stage1-lto-plugin = $(TARGET-lto-plugin)
31561 all-stage1-lto-plugin: configure-stage1-lto-plugin
31562 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
31563 @r=`${PWD_COMMAND}`; export r; \
31564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31565 TFLAGS="$(STAGE1_TFLAGS)"; \
31566 $(HOST_EXPORTS) \
31567 cd $(HOST_SUBDIR)/lto-plugin && \
31568 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31569 CFLAGS="$(STAGE1_CFLAGS)" \
31570 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
31571 LIBCFLAGS="$(LIBCFLAGS)" \
31572 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31573 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31574 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31575 $(EXTRA_HOST_FLAGS) \
31576 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
31577 TFLAGS="$(STAGE1_TFLAGS)" \
31578 $(TARGET-stage1-lto-plugin)
31580 maybe-clean-stage1-lto-plugin: clean-stage1-lto-plugin
31581 clean-stage1: clean-stage1-lto-plugin
31582 clean-stage1-lto-plugin:
31583 @if [ $(current_stage) = stage1 ]; then \
31584 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
31585 else \
31586 [ -f $(HOST_SUBDIR)/stage1-lto-plugin/Makefile ] || exit 0; \
31587 $(MAKE) stage1-start; \
31588 fi; \
31589 cd $(HOST_SUBDIR)/lto-plugin && \
31590 $(MAKE) $(EXTRA_HOST_FLAGS) \
31591 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
31592 @endif lto-plugin-bootstrap
31595 .PHONY: all-stage2-lto-plugin maybe-all-stage2-lto-plugin
31596 .PHONY: clean-stage2-lto-plugin maybe-clean-stage2-lto-plugin
31597 maybe-all-stage2-lto-plugin:
31598 maybe-clean-stage2-lto-plugin:
31599 @if lto-plugin-bootstrap
31600 maybe-all-stage2-lto-plugin: all-stage2-lto-plugin
31601 all-stage2: all-stage2-lto-plugin
31602 TARGET-stage2-lto-plugin = $(TARGET-lto-plugin)
31603 all-stage2-lto-plugin: configure-stage2-lto-plugin
31604 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
31605 @r=`${PWD_COMMAND}`; export r; \
31606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31607 TFLAGS="$(STAGE2_TFLAGS)"; \
31608 $(HOST_EXPORTS) \
31609 $(POSTSTAGE1_HOST_EXPORTS) \
31610 cd $(HOST_SUBDIR)/lto-plugin && \
31611 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31612 CFLAGS="$(STAGE2_CFLAGS)" \
31613 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
31614 LIBCFLAGS="$(STAGE2_CFLAGS)" \
31615 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31616 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31617 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31618 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
31619 TFLAGS="$(STAGE2_TFLAGS)" \
31620 $(TARGET-stage2-lto-plugin)
31622 maybe-clean-stage2-lto-plugin: clean-stage2-lto-plugin
31623 clean-stage2: clean-stage2-lto-plugin
31624 clean-stage2-lto-plugin:
31625 @if [ $(current_stage) = stage2 ]; then \
31626 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
31627 else \
31628 [ -f $(HOST_SUBDIR)/stage2-lto-plugin/Makefile ] || exit 0; \
31629 $(MAKE) stage2-start; \
31630 fi; \
31631 cd $(HOST_SUBDIR)/lto-plugin && \
31632 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
31633 @endif lto-plugin-bootstrap
31636 .PHONY: all-stage3-lto-plugin maybe-all-stage3-lto-plugin
31637 .PHONY: clean-stage3-lto-plugin maybe-clean-stage3-lto-plugin
31638 maybe-all-stage3-lto-plugin:
31639 maybe-clean-stage3-lto-plugin:
31640 @if lto-plugin-bootstrap
31641 maybe-all-stage3-lto-plugin: all-stage3-lto-plugin
31642 all-stage3: all-stage3-lto-plugin
31643 TARGET-stage3-lto-plugin = $(TARGET-lto-plugin)
31644 all-stage3-lto-plugin: configure-stage3-lto-plugin
31645 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
31646 @r=`${PWD_COMMAND}`; export r; \
31647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31648 TFLAGS="$(STAGE3_TFLAGS)"; \
31649 $(HOST_EXPORTS) \
31650 $(POSTSTAGE1_HOST_EXPORTS) \
31651 cd $(HOST_SUBDIR)/lto-plugin && \
31652 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31653 CFLAGS="$(STAGE3_CFLAGS)" \
31654 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
31655 LIBCFLAGS="$(STAGE3_CFLAGS)" \
31656 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31657 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31658 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31659 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
31660 TFLAGS="$(STAGE3_TFLAGS)" \
31661 $(TARGET-stage3-lto-plugin)
31663 maybe-clean-stage3-lto-plugin: clean-stage3-lto-plugin
31664 clean-stage3: clean-stage3-lto-plugin
31665 clean-stage3-lto-plugin:
31666 @if [ $(current_stage) = stage3 ]; then \
31667 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
31668 else \
31669 [ -f $(HOST_SUBDIR)/stage3-lto-plugin/Makefile ] || exit 0; \
31670 $(MAKE) stage3-start; \
31671 fi; \
31672 cd $(HOST_SUBDIR)/lto-plugin && \
31673 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
31674 @endif lto-plugin-bootstrap
31677 .PHONY: all-stage4-lto-plugin maybe-all-stage4-lto-plugin
31678 .PHONY: clean-stage4-lto-plugin maybe-clean-stage4-lto-plugin
31679 maybe-all-stage4-lto-plugin:
31680 maybe-clean-stage4-lto-plugin:
31681 @if lto-plugin-bootstrap
31682 maybe-all-stage4-lto-plugin: all-stage4-lto-plugin
31683 all-stage4: all-stage4-lto-plugin
31684 TARGET-stage4-lto-plugin = $(TARGET-lto-plugin)
31685 all-stage4-lto-plugin: configure-stage4-lto-plugin
31686 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
31687 @r=`${PWD_COMMAND}`; export r; \
31688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31689 TFLAGS="$(STAGE4_TFLAGS)"; \
31690 $(HOST_EXPORTS) \
31691 $(POSTSTAGE1_HOST_EXPORTS) \
31692 cd $(HOST_SUBDIR)/lto-plugin && \
31693 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31694 CFLAGS="$(STAGE4_CFLAGS)" \
31695 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
31696 LIBCFLAGS="$(STAGE4_CFLAGS)" \
31697 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31698 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31699 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31700 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
31701 TFLAGS="$(STAGE4_TFLAGS)" \
31702 $(TARGET-stage4-lto-plugin)
31704 maybe-clean-stage4-lto-plugin: clean-stage4-lto-plugin
31705 clean-stage4: clean-stage4-lto-plugin
31706 clean-stage4-lto-plugin:
31707 @if [ $(current_stage) = stage4 ]; then \
31708 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
31709 else \
31710 [ -f $(HOST_SUBDIR)/stage4-lto-plugin/Makefile ] || exit 0; \
31711 $(MAKE) stage4-start; \
31712 fi; \
31713 cd $(HOST_SUBDIR)/lto-plugin && \
31714 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
31715 @endif lto-plugin-bootstrap
31718 .PHONY: all-stageprofile-lto-plugin maybe-all-stageprofile-lto-plugin
31719 .PHONY: clean-stageprofile-lto-plugin maybe-clean-stageprofile-lto-plugin
31720 maybe-all-stageprofile-lto-plugin:
31721 maybe-clean-stageprofile-lto-plugin:
31722 @if lto-plugin-bootstrap
31723 maybe-all-stageprofile-lto-plugin: all-stageprofile-lto-plugin
31724 all-stageprofile: all-stageprofile-lto-plugin
31725 TARGET-stageprofile-lto-plugin = $(TARGET-lto-plugin)
31726 all-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
31727 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
31728 @r=`${PWD_COMMAND}`; export r; \
31729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31730 TFLAGS="$(STAGEprofile_TFLAGS)"; \
31731 $(HOST_EXPORTS) \
31732 $(POSTSTAGE1_HOST_EXPORTS) \
31733 cd $(HOST_SUBDIR)/lto-plugin && \
31734 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31735 CFLAGS="$(STAGEprofile_CFLAGS)" \
31736 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
31737 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
31738 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31739 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31740 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31741 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
31742 TFLAGS="$(STAGEprofile_TFLAGS)" \
31743 $(TARGET-stageprofile-lto-plugin)
31745 maybe-clean-stageprofile-lto-plugin: clean-stageprofile-lto-plugin
31746 clean-stageprofile: clean-stageprofile-lto-plugin
31747 clean-stageprofile-lto-plugin:
31748 @if [ $(current_stage) = stageprofile ]; then \
31749 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
31750 else \
31751 [ -f $(HOST_SUBDIR)/stageprofile-lto-plugin/Makefile ] || exit 0; \
31752 $(MAKE) stageprofile-start; \
31753 fi; \
31754 cd $(HOST_SUBDIR)/lto-plugin && \
31755 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
31756 @endif lto-plugin-bootstrap
31759 .PHONY: all-stagefeedback-lto-plugin maybe-all-stagefeedback-lto-plugin
31760 .PHONY: clean-stagefeedback-lto-plugin maybe-clean-stagefeedback-lto-plugin
31761 maybe-all-stagefeedback-lto-plugin:
31762 maybe-clean-stagefeedback-lto-plugin:
31763 @if lto-plugin-bootstrap
31764 maybe-all-stagefeedback-lto-plugin: all-stagefeedback-lto-plugin
31765 all-stagefeedback: all-stagefeedback-lto-plugin
31766 TARGET-stagefeedback-lto-plugin = $(TARGET-lto-plugin)
31767 all-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
31768 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
31769 @r=`${PWD_COMMAND}`; export r; \
31770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31771 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
31772 $(HOST_EXPORTS) \
31773 $(POSTSTAGE1_HOST_EXPORTS) \
31774 cd $(HOST_SUBDIR)/lto-plugin && \
31775 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31776 CFLAGS="$(STAGEfeedback_CFLAGS)" \
31777 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
31778 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
31779 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31780 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31781 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31782 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
31783 TFLAGS="$(STAGEfeedback_TFLAGS)" \
31784 $(TARGET-stagefeedback-lto-plugin)
31786 maybe-clean-stagefeedback-lto-plugin: clean-stagefeedback-lto-plugin
31787 clean-stagefeedback: clean-stagefeedback-lto-plugin
31788 clean-stagefeedback-lto-plugin:
31789 @if [ $(current_stage) = stagefeedback ]; then \
31790 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
31791 else \
31792 [ -f $(HOST_SUBDIR)/stagefeedback-lto-plugin/Makefile ] || exit 0; \
31793 $(MAKE) stagefeedback-start; \
31794 fi; \
31795 cd $(HOST_SUBDIR)/lto-plugin && \
31796 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
31797 @endif lto-plugin-bootstrap
31803 .PHONY: check-lto-plugin maybe-check-lto-plugin
31804 maybe-check-lto-plugin:
31805 @if lto-plugin
31806 maybe-check-lto-plugin: check-lto-plugin
31808 check-lto-plugin:
31809 @: $(MAKE); $(unstage)
31810 @r=`${PWD_COMMAND}`; export r; \
31811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31812 $(HOST_EXPORTS) \
31813 (cd $(HOST_SUBDIR)/lto-plugin && \
31814 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ check)
31816 @endif lto-plugin
31818 .PHONY: install-lto-plugin maybe-install-lto-plugin
31819 maybe-install-lto-plugin:
31820 @if lto-plugin
31821 maybe-install-lto-plugin: install-lto-plugin
31823 install-lto-plugin: installdirs
31824 @: $(MAKE); $(unstage)
31825 @r=`${PWD_COMMAND}`; export r; \
31826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31827 $(HOST_EXPORTS) \
31828 (cd $(HOST_SUBDIR)/lto-plugin && \
31829 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install)
31831 @endif lto-plugin
31833 .PHONY: install-strip-lto-plugin maybe-install-strip-lto-plugin
31834 maybe-install-strip-lto-plugin:
31835 @if lto-plugin
31836 maybe-install-strip-lto-plugin: install-strip-lto-plugin
31838 install-strip-lto-plugin: installdirs
31839 @: $(MAKE); $(unstage)
31840 @r=`${PWD_COMMAND}`; export r; \
31841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31842 $(HOST_EXPORTS) \
31843 (cd $(HOST_SUBDIR)/lto-plugin && \
31844 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install-strip)
31846 @endif lto-plugin
31848 # Other targets (info, dvi, pdf, etc.)
31850 .PHONY: maybe-info-lto-plugin info-lto-plugin
31851 maybe-info-lto-plugin:
31852 @if lto-plugin
31853 maybe-info-lto-plugin: info-lto-plugin
31855 info-lto-plugin: \
31856 configure-lto-plugin
31857 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31858 r=`${PWD_COMMAND}`; export r; \
31859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31860 $(HOST_EXPORTS) \
31861 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31863 done; \
31864 echo "Doing info in lto-plugin" ; \
31865 (cd $(HOST_SUBDIR)/lto-plugin && \
31866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31868 "RANLIB=$${RANLIB}" \
31869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31870 info) \
31871 || exit 1
31873 @endif lto-plugin
31875 .PHONY: maybe-dvi-lto-plugin dvi-lto-plugin
31876 maybe-dvi-lto-plugin:
31877 @if lto-plugin
31878 maybe-dvi-lto-plugin: dvi-lto-plugin
31880 dvi-lto-plugin: \
31881 configure-lto-plugin
31882 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31883 r=`${PWD_COMMAND}`; export r; \
31884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31885 $(HOST_EXPORTS) \
31886 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31888 done; \
31889 echo "Doing dvi in lto-plugin" ; \
31890 (cd $(HOST_SUBDIR)/lto-plugin && \
31891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31893 "RANLIB=$${RANLIB}" \
31894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31895 dvi) \
31896 || exit 1
31898 @endif lto-plugin
31900 .PHONY: maybe-pdf-lto-plugin pdf-lto-plugin
31901 maybe-pdf-lto-plugin:
31902 @if lto-plugin
31903 maybe-pdf-lto-plugin: pdf-lto-plugin
31905 pdf-lto-plugin: \
31906 configure-lto-plugin
31907 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31908 r=`${PWD_COMMAND}`; export r; \
31909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31910 $(HOST_EXPORTS) \
31911 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31913 done; \
31914 echo "Doing pdf in lto-plugin" ; \
31915 (cd $(HOST_SUBDIR)/lto-plugin && \
31916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31918 "RANLIB=$${RANLIB}" \
31919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31920 pdf) \
31921 || exit 1
31923 @endif lto-plugin
31925 .PHONY: maybe-html-lto-plugin html-lto-plugin
31926 maybe-html-lto-plugin:
31927 @if lto-plugin
31928 maybe-html-lto-plugin: html-lto-plugin
31930 html-lto-plugin: \
31931 configure-lto-plugin
31932 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31933 r=`${PWD_COMMAND}`; export r; \
31934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31935 $(HOST_EXPORTS) \
31936 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31938 done; \
31939 echo "Doing html in lto-plugin" ; \
31940 (cd $(HOST_SUBDIR)/lto-plugin && \
31941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31943 "RANLIB=$${RANLIB}" \
31944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31945 html) \
31946 || exit 1
31948 @endif lto-plugin
31950 .PHONY: maybe-TAGS-lto-plugin TAGS-lto-plugin
31951 maybe-TAGS-lto-plugin:
31952 @if lto-plugin
31953 maybe-TAGS-lto-plugin: TAGS-lto-plugin
31955 TAGS-lto-plugin: \
31956 configure-lto-plugin
31957 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31958 r=`${PWD_COMMAND}`; export r; \
31959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31960 $(HOST_EXPORTS) \
31961 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31963 done; \
31964 echo "Doing TAGS in lto-plugin" ; \
31965 (cd $(HOST_SUBDIR)/lto-plugin && \
31966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31968 "RANLIB=$${RANLIB}" \
31969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31970 TAGS) \
31971 || exit 1
31973 @endif lto-plugin
31975 .PHONY: maybe-install-info-lto-plugin install-info-lto-plugin
31976 maybe-install-info-lto-plugin:
31977 @if lto-plugin
31978 maybe-install-info-lto-plugin: install-info-lto-plugin
31980 install-info-lto-plugin: \
31981 configure-lto-plugin \
31982 info-lto-plugin
31983 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31984 r=`${PWD_COMMAND}`; export r; \
31985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31986 $(HOST_EXPORTS) \
31987 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31989 done; \
31990 echo "Doing install-info in lto-plugin" ; \
31991 (cd $(HOST_SUBDIR)/lto-plugin && \
31992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31994 "RANLIB=$${RANLIB}" \
31995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31996 install-info) \
31997 || exit 1
31999 @endif lto-plugin
32001 .PHONY: maybe-install-pdf-lto-plugin install-pdf-lto-plugin
32002 maybe-install-pdf-lto-plugin:
32003 @if lto-plugin
32004 maybe-install-pdf-lto-plugin: install-pdf-lto-plugin
32006 install-pdf-lto-plugin: \
32007 configure-lto-plugin \
32008 pdf-lto-plugin
32009 @[ -f ./lto-plugin/Makefile ] || exit 0; \
32010 r=`${PWD_COMMAND}`; export r; \
32011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32012 $(HOST_EXPORTS) \
32013 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
32014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32015 done; \
32016 echo "Doing install-pdf in lto-plugin" ; \
32017 (cd $(HOST_SUBDIR)/lto-plugin && \
32018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32020 "RANLIB=$${RANLIB}" \
32021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32022 install-pdf) \
32023 || exit 1
32025 @endif lto-plugin
32027 .PHONY: maybe-install-html-lto-plugin install-html-lto-plugin
32028 maybe-install-html-lto-plugin:
32029 @if lto-plugin
32030 maybe-install-html-lto-plugin: install-html-lto-plugin
32032 install-html-lto-plugin: \
32033 configure-lto-plugin \
32034 html-lto-plugin
32035 @[ -f ./lto-plugin/Makefile ] || exit 0; \
32036 r=`${PWD_COMMAND}`; export r; \
32037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32038 $(HOST_EXPORTS) \
32039 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
32040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32041 done; \
32042 echo "Doing install-html in lto-plugin" ; \
32043 (cd $(HOST_SUBDIR)/lto-plugin && \
32044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32046 "RANLIB=$${RANLIB}" \
32047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32048 install-html) \
32049 || exit 1
32051 @endif lto-plugin
32053 .PHONY: maybe-installcheck-lto-plugin installcheck-lto-plugin
32054 maybe-installcheck-lto-plugin:
32055 @if lto-plugin
32056 maybe-installcheck-lto-plugin: installcheck-lto-plugin
32058 installcheck-lto-plugin: \
32059 configure-lto-plugin
32060 @[ -f ./lto-plugin/Makefile ] || exit 0; \
32061 r=`${PWD_COMMAND}`; export r; \
32062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32063 $(HOST_EXPORTS) \
32064 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
32065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32066 done; \
32067 echo "Doing installcheck in lto-plugin" ; \
32068 (cd $(HOST_SUBDIR)/lto-plugin && \
32069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32071 "RANLIB=$${RANLIB}" \
32072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32073 installcheck) \
32074 || exit 1
32076 @endif lto-plugin
32078 .PHONY: maybe-mostlyclean-lto-plugin mostlyclean-lto-plugin
32079 maybe-mostlyclean-lto-plugin:
32080 @if lto-plugin
32081 maybe-mostlyclean-lto-plugin: mostlyclean-lto-plugin
32083 mostlyclean-lto-plugin:
32084 @[ -f ./lto-plugin/Makefile ] || exit 0; \
32085 r=`${PWD_COMMAND}`; export r; \
32086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32087 $(HOST_EXPORTS) \
32088 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
32089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32090 done; \
32091 echo "Doing mostlyclean in lto-plugin" ; \
32092 (cd $(HOST_SUBDIR)/lto-plugin && \
32093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32095 "RANLIB=$${RANLIB}" \
32096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32097 mostlyclean) \
32098 || exit 1
32100 @endif lto-plugin
32102 .PHONY: maybe-clean-lto-plugin clean-lto-plugin
32103 maybe-clean-lto-plugin:
32104 @if lto-plugin
32105 maybe-clean-lto-plugin: clean-lto-plugin
32107 clean-lto-plugin:
32108 @[ -f ./lto-plugin/Makefile ] || exit 0; \
32109 r=`${PWD_COMMAND}`; export r; \
32110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32111 $(HOST_EXPORTS) \
32112 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
32113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32114 done; \
32115 echo "Doing clean in lto-plugin" ; \
32116 (cd $(HOST_SUBDIR)/lto-plugin && \
32117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32119 "RANLIB=$${RANLIB}" \
32120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32121 clean) \
32122 || exit 1
32124 @endif lto-plugin
32126 .PHONY: maybe-distclean-lto-plugin distclean-lto-plugin
32127 maybe-distclean-lto-plugin:
32128 @if lto-plugin
32129 maybe-distclean-lto-plugin: distclean-lto-plugin
32131 distclean-lto-plugin:
32132 @[ -f ./lto-plugin/Makefile ] || exit 0; \
32133 r=`${PWD_COMMAND}`; export r; \
32134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32135 $(HOST_EXPORTS) \
32136 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
32137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32138 done; \
32139 echo "Doing distclean in lto-plugin" ; \
32140 (cd $(HOST_SUBDIR)/lto-plugin && \
32141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32143 "RANLIB=$${RANLIB}" \
32144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32145 distclean) \
32146 || exit 1
32148 @endif lto-plugin
32150 .PHONY: maybe-maintainer-clean-lto-plugin maintainer-clean-lto-plugin
32151 maybe-maintainer-clean-lto-plugin:
32152 @if lto-plugin
32153 maybe-maintainer-clean-lto-plugin: maintainer-clean-lto-plugin
32155 maintainer-clean-lto-plugin:
32156 @[ -f ./lto-plugin/Makefile ] || exit 0; \
32157 r=`${PWD_COMMAND}`; export r; \
32158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32159 $(HOST_EXPORTS) \
32160 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
32161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32162 done; \
32163 echo "Doing maintainer-clean in lto-plugin" ; \
32164 (cd $(HOST_SUBDIR)/lto-plugin && \
32165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32167 "RANLIB=$${RANLIB}" \
32168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32169 maintainer-clean) \
32170 || exit 1
32172 @endif lto-plugin
32176 # ---------------------------------------
32177 # Modules which run on the target machine
32178 # ---------------------------------------
32183 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
32184 maybe-configure-target-libstdc++-v3:
32185 @if gcc-bootstrap
32186 configure-target-libstdc++-v3: stage_current
32187 @endif gcc-bootstrap
32188 @if target-libstdc++-v3
32189 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
32190 configure-target-libstdc++-v3:
32191 @r=`${PWD_COMMAND}`; export r; \
32192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32193 echo "Checking multilib configuration for libstdc++-v3..."; \
32194 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
32195 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
32196 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32197 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32198 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32199 else \
32200 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32201 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32202 fi; \
32203 else \
32204 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32205 fi; \
32206 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32207 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
32208 $(RAW_CXX_TARGET_EXPORTS) \
32209 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
32210 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
32211 case $(srcdir) in \
32212 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32213 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32214 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32215 esac; \
32216 module_srcdir=libstdc++-v3; \
32217 rm -f no-such-file || : ; \
32218 CONFIG_SITE=no-such-file $(SHELL) \
32219 $$s/$$module_srcdir/configure \
32220 --srcdir=$${topdir}/$$module_srcdir \
32221 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32222 --target=${target_alias} \
32223 || exit 1
32224 @endif target-libstdc++-v3
32228 .PHONY: configure-stage1-target-libstdc++-v3 maybe-configure-stage1-target-libstdc++-v3
32229 maybe-configure-stage1-target-libstdc++-v3:
32230 @if target-libstdc++-v3-bootstrap
32231 maybe-configure-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
32232 configure-stage1-target-libstdc++-v3:
32233 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32234 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
32235 @r=`${PWD_COMMAND}`; export r; \
32236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32237 TFLAGS="$(STAGE1_TFLAGS)"; \
32238 echo "Checking multilib configuration for libstdc++-v3..."; \
32239 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
32240 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32241 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32242 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32243 else \
32244 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32245 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32246 fi; \
32247 else \
32248 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32249 fi; \
32250 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32251 $(RAW_CXX_TARGET_EXPORTS) \
32252 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32253 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32254 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32255 echo Configuring stage 1 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
32256 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
32257 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
32258 case $(srcdir) in \
32259 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32260 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32261 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32262 esac; \
32263 module_srcdir=libstdc++-v3; \
32264 $(SHELL) $$s/$$module_srcdir/configure \
32265 --srcdir=$${topdir}/$$module_srcdir \
32266 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32267 --target=${target_alias} \
32269 $(STAGE1_CONFIGURE_FLAGS)
32270 @endif target-libstdc++-v3-bootstrap
32272 .PHONY: configure-stage2-target-libstdc++-v3 maybe-configure-stage2-target-libstdc++-v3
32273 maybe-configure-stage2-target-libstdc++-v3:
32274 @if target-libstdc++-v3-bootstrap
32275 maybe-configure-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
32276 configure-stage2-target-libstdc++-v3:
32277 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32278 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
32279 @r=`${PWD_COMMAND}`; export r; \
32280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32281 TFLAGS="$(STAGE2_TFLAGS)"; \
32282 echo "Checking multilib configuration for libstdc++-v3..."; \
32283 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
32284 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32285 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32286 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32287 else \
32288 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32289 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32290 fi; \
32291 else \
32292 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32293 fi; \
32294 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32295 $(RAW_CXX_TARGET_EXPORTS) \
32297 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32298 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32299 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32300 echo Configuring stage 2 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
32301 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
32302 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
32303 case $(srcdir) in \
32304 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32305 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32306 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32307 esac; \
32308 module_srcdir=libstdc++-v3; \
32309 $(SHELL) $$s/$$module_srcdir/configure \
32310 --srcdir=$${topdir}/$$module_srcdir \
32311 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32312 --target=${target_alias} \
32313 --with-build-libsubdir=$(HOST_SUBDIR) \
32314 $(STAGE2_CONFIGURE_FLAGS)
32315 @endif target-libstdc++-v3-bootstrap
32317 .PHONY: configure-stage3-target-libstdc++-v3 maybe-configure-stage3-target-libstdc++-v3
32318 maybe-configure-stage3-target-libstdc++-v3:
32319 @if target-libstdc++-v3-bootstrap
32320 maybe-configure-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
32321 configure-stage3-target-libstdc++-v3:
32322 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32323 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
32324 @r=`${PWD_COMMAND}`; export r; \
32325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32326 TFLAGS="$(STAGE3_TFLAGS)"; \
32327 echo "Checking multilib configuration for libstdc++-v3..."; \
32328 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
32329 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32330 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32331 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32332 else \
32333 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32334 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32335 fi; \
32336 else \
32337 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32338 fi; \
32339 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32340 $(RAW_CXX_TARGET_EXPORTS) \
32342 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32343 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32344 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32345 echo Configuring stage 3 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
32346 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
32347 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
32348 case $(srcdir) in \
32349 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32350 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32351 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32352 esac; \
32353 module_srcdir=libstdc++-v3; \
32354 $(SHELL) $$s/$$module_srcdir/configure \
32355 --srcdir=$${topdir}/$$module_srcdir \
32356 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32357 --target=${target_alias} \
32358 --with-build-libsubdir=$(HOST_SUBDIR) \
32359 $(STAGE3_CONFIGURE_FLAGS)
32360 @endif target-libstdc++-v3-bootstrap
32362 .PHONY: configure-stage4-target-libstdc++-v3 maybe-configure-stage4-target-libstdc++-v3
32363 maybe-configure-stage4-target-libstdc++-v3:
32364 @if target-libstdc++-v3-bootstrap
32365 maybe-configure-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
32366 configure-stage4-target-libstdc++-v3:
32367 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32368 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
32369 @r=`${PWD_COMMAND}`; export r; \
32370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32371 TFLAGS="$(STAGE4_TFLAGS)"; \
32372 echo "Checking multilib configuration for libstdc++-v3..."; \
32373 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
32374 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32375 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32376 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32377 else \
32378 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32379 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32380 fi; \
32381 else \
32382 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32383 fi; \
32384 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32385 $(RAW_CXX_TARGET_EXPORTS) \
32387 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32388 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32389 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32390 echo Configuring stage 4 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
32391 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
32392 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
32393 case $(srcdir) in \
32394 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32395 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32396 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32397 esac; \
32398 module_srcdir=libstdc++-v3; \
32399 $(SHELL) $$s/$$module_srcdir/configure \
32400 --srcdir=$${topdir}/$$module_srcdir \
32401 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32402 --target=${target_alias} \
32403 --with-build-libsubdir=$(HOST_SUBDIR) \
32404 $(STAGE4_CONFIGURE_FLAGS)
32405 @endif target-libstdc++-v3-bootstrap
32407 .PHONY: configure-stageprofile-target-libstdc++-v3 maybe-configure-stageprofile-target-libstdc++-v3
32408 maybe-configure-stageprofile-target-libstdc++-v3:
32409 @if target-libstdc++-v3-bootstrap
32410 maybe-configure-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
32411 configure-stageprofile-target-libstdc++-v3:
32412 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32413 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
32414 @r=`${PWD_COMMAND}`; export r; \
32415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32416 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32417 echo "Checking multilib configuration for libstdc++-v3..."; \
32418 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
32419 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32420 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32421 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32422 else \
32423 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32424 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32425 fi; \
32426 else \
32427 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32428 fi; \
32429 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32430 $(RAW_CXX_TARGET_EXPORTS) \
32432 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32433 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32434 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32435 echo Configuring stage profile in $(TARGET_SUBDIR)/libstdc++-v3 ; \
32436 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
32437 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
32438 case $(srcdir) in \
32439 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32440 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32441 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32442 esac; \
32443 module_srcdir=libstdc++-v3; \
32444 $(SHELL) $$s/$$module_srcdir/configure \
32445 --srcdir=$${topdir}/$$module_srcdir \
32446 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32447 --target=${target_alias} \
32448 --with-build-libsubdir=$(HOST_SUBDIR) \
32449 $(STAGEprofile_CONFIGURE_FLAGS)
32450 @endif target-libstdc++-v3-bootstrap
32452 .PHONY: configure-stagefeedback-target-libstdc++-v3 maybe-configure-stagefeedback-target-libstdc++-v3
32453 maybe-configure-stagefeedback-target-libstdc++-v3:
32454 @if target-libstdc++-v3-bootstrap
32455 maybe-configure-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
32456 configure-stagefeedback-target-libstdc++-v3:
32457 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32458 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
32459 @r=`${PWD_COMMAND}`; export r; \
32460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32461 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32462 echo "Checking multilib configuration for libstdc++-v3..."; \
32463 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
32464 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32465 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32466 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32467 else \
32468 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32469 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32470 fi; \
32471 else \
32472 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32473 fi; \
32474 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32475 $(RAW_CXX_TARGET_EXPORTS) \
32477 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32478 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32479 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32480 echo Configuring stage feedback in $(TARGET_SUBDIR)/libstdc++-v3 ; \
32481 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
32482 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
32483 case $(srcdir) in \
32484 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32485 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32486 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32487 esac; \
32488 module_srcdir=libstdc++-v3; \
32489 $(SHELL) $$s/$$module_srcdir/configure \
32490 --srcdir=$${topdir}/$$module_srcdir \
32491 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32492 --target=${target_alias} \
32493 --with-build-libsubdir=$(HOST_SUBDIR) \
32494 $(STAGEfeedback_CONFIGURE_FLAGS)
32495 @endif target-libstdc++-v3-bootstrap
32501 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
32502 maybe-all-target-libstdc++-v3:
32503 @if gcc-bootstrap
32504 all-target-libstdc++-v3: stage_current
32505 @endif gcc-bootstrap
32506 @if target-libstdc++-v3
32507 TARGET-target-libstdc++-v3=all
32508 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
32509 all-target-libstdc++-v3: configure-target-libstdc++-v3
32510 @r=`${PWD_COMMAND}`; export r; \
32511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32512 $(RAW_CXX_TARGET_EXPORTS) \
32513 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32514 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32515 $(TARGET-target-libstdc++-v3))
32516 @endif target-libstdc++-v3
32520 .PHONY: all-stage1-target-libstdc++-v3 maybe-all-stage1-target-libstdc++-v3
32521 .PHONY: clean-stage1-target-libstdc++-v3 maybe-clean-stage1-target-libstdc++-v3
32522 maybe-all-stage1-target-libstdc++-v3:
32523 maybe-clean-stage1-target-libstdc++-v3:
32524 @if target-libstdc++-v3-bootstrap
32525 maybe-all-stage1-target-libstdc++-v3: all-stage1-target-libstdc++-v3
32526 all-stage1: all-stage1-target-libstdc++-v3
32527 TARGET-stage1-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32528 all-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
32529 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32530 @r=`${PWD_COMMAND}`; export r; \
32531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32532 TFLAGS="$(STAGE1_TFLAGS)"; \
32533 $(RAW_CXX_TARGET_EXPORTS) \
32534 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32535 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32536 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32537 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32538 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32539 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32540 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32541 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32542 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32544 TFLAGS="$(STAGE1_TFLAGS)" \
32545 $(TARGET-stage1-target-libstdc++-v3)
32547 maybe-clean-stage1-target-libstdc++-v3: clean-stage1-target-libstdc++-v3
32548 clean-stage1: clean-stage1-target-libstdc++-v3
32549 clean-stage1-target-libstdc++-v3:
32550 @if [ $(current_stage) = stage1 ]; then \
32551 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32552 else \
32553 [ -f $(TARGET_SUBDIR)/stage1-libstdc++-v3/Makefile ] || exit 0; \
32554 $(MAKE) stage1-start; \
32555 fi; \
32556 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32557 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32558 clean
32559 @endif target-libstdc++-v3-bootstrap
32562 .PHONY: all-stage2-target-libstdc++-v3 maybe-all-stage2-target-libstdc++-v3
32563 .PHONY: clean-stage2-target-libstdc++-v3 maybe-clean-stage2-target-libstdc++-v3
32564 maybe-all-stage2-target-libstdc++-v3:
32565 maybe-clean-stage2-target-libstdc++-v3:
32566 @if target-libstdc++-v3-bootstrap
32567 maybe-all-stage2-target-libstdc++-v3: all-stage2-target-libstdc++-v3
32568 all-stage2: all-stage2-target-libstdc++-v3
32569 TARGET-stage2-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32570 all-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
32571 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32572 @r=`${PWD_COMMAND}`; export r; \
32573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32574 TFLAGS="$(STAGE2_TFLAGS)"; \
32575 $(RAW_CXX_TARGET_EXPORTS) \
32577 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32578 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32579 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32580 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32581 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32582 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32583 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32584 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32585 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32586 TFLAGS="$(STAGE2_TFLAGS)" \
32587 $(TARGET-stage2-target-libstdc++-v3)
32589 maybe-clean-stage2-target-libstdc++-v3: clean-stage2-target-libstdc++-v3
32590 clean-stage2: clean-stage2-target-libstdc++-v3
32591 clean-stage2-target-libstdc++-v3:
32592 @if [ $(current_stage) = stage2 ]; then \
32593 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32594 else \
32595 [ -f $(TARGET_SUBDIR)/stage2-libstdc++-v3/Makefile ] || exit 0; \
32596 $(MAKE) stage2-start; \
32597 fi; \
32598 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32599 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32600 @endif target-libstdc++-v3-bootstrap
32603 .PHONY: all-stage3-target-libstdc++-v3 maybe-all-stage3-target-libstdc++-v3
32604 .PHONY: clean-stage3-target-libstdc++-v3 maybe-clean-stage3-target-libstdc++-v3
32605 maybe-all-stage3-target-libstdc++-v3:
32606 maybe-clean-stage3-target-libstdc++-v3:
32607 @if target-libstdc++-v3-bootstrap
32608 maybe-all-stage3-target-libstdc++-v3: all-stage3-target-libstdc++-v3
32609 all-stage3: all-stage3-target-libstdc++-v3
32610 TARGET-stage3-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32611 all-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
32612 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32613 @r=`${PWD_COMMAND}`; export r; \
32614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32615 TFLAGS="$(STAGE3_TFLAGS)"; \
32616 $(RAW_CXX_TARGET_EXPORTS) \
32618 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32619 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32620 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32621 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32622 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32623 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32624 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32625 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32626 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32627 TFLAGS="$(STAGE3_TFLAGS)" \
32628 $(TARGET-stage3-target-libstdc++-v3)
32630 maybe-clean-stage3-target-libstdc++-v3: clean-stage3-target-libstdc++-v3
32631 clean-stage3: clean-stage3-target-libstdc++-v3
32632 clean-stage3-target-libstdc++-v3:
32633 @if [ $(current_stage) = stage3 ]; then \
32634 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32635 else \
32636 [ -f $(TARGET_SUBDIR)/stage3-libstdc++-v3/Makefile ] || exit 0; \
32637 $(MAKE) stage3-start; \
32638 fi; \
32639 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32640 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32641 @endif target-libstdc++-v3-bootstrap
32644 .PHONY: all-stage4-target-libstdc++-v3 maybe-all-stage4-target-libstdc++-v3
32645 .PHONY: clean-stage4-target-libstdc++-v3 maybe-clean-stage4-target-libstdc++-v3
32646 maybe-all-stage4-target-libstdc++-v3:
32647 maybe-clean-stage4-target-libstdc++-v3:
32648 @if target-libstdc++-v3-bootstrap
32649 maybe-all-stage4-target-libstdc++-v3: all-stage4-target-libstdc++-v3
32650 all-stage4: all-stage4-target-libstdc++-v3
32651 TARGET-stage4-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32652 all-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
32653 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32654 @r=`${PWD_COMMAND}`; export r; \
32655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32656 TFLAGS="$(STAGE4_TFLAGS)"; \
32657 $(RAW_CXX_TARGET_EXPORTS) \
32659 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32660 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32661 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32662 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32663 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32664 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32665 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32666 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32667 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32668 TFLAGS="$(STAGE4_TFLAGS)" \
32669 $(TARGET-stage4-target-libstdc++-v3)
32671 maybe-clean-stage4-target-libstdc++-v3: clean-stage4-target-libstdc++-v3
32672 clean-stage4: clean-stage4-target-libstdc++-v3
32673 clean-stage4-target-libstdc++-v3:
32674 @if [ $(current_stage) = stage4 ]; then \
32675 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32676 else \
32677 [ -f $(TARGET_SUBDIR)/stage4-libstdc++-v3/Makefile ] || exit 0; \
32678 $(MAKE) stage4-start; \
32679 fi; \
32680 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32681 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32682 @endif target-libstdc++-v3-bootstrap
32685 .PHONY: all-stageprofile-target-libstdc++-v3 maybe-all-stageprofile-target-libstdc++-v3
32686 .PHONY: clean-stageprofile-target-libstdc++-v3 maybe-clean-stageprofile-target-libstdc++-v3
32687 maybe-all-stageprofile-target-libstdc++-v3:
32688 maybe-clean-stageprofile-target-libstdc++-v3:
32689 @if target-libstdc++-v3-bootstrap
32690 maybe-all-stageprofile-target-libstdc++-v3: all-stageprofile-target-libstdc++-v3
32691 all-stageprofile: all-stageprofile-target-libstdc++-v3
32692 TARGET-stageprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32693 all-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
32694 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32695 @r=`${PWD_COMMAND}`; export r; \
32696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32697 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32698 $(RAW_CXX_TARGET_EXPORTS) \
32700 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32701 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32702 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32703 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32704 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32705 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32706 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32707 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32708 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32709 TFLAGS="$(STAGEprofile_TFLAGS)" \
32710 $(TARGET-stageprofile-target-libstdc++-v3)
32712 maybe-clean-stageprofile-target-libstdc++-v3: clean-stageprofile-target-libstdc++-v3
32713 clean-stageprofile: clean-stageprofile-target-libstdc++-v3
32714 clean-stageprofile-target-libstdc++-v3:
32715 @if [ $(current_stage) = stageprofile ]; then \
32716 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32717 else \
32718 [ -f $(TARGET_SUBDIR)/stageprofile-libstdc++-v3/Makefile ] || exit 0; \
32719 $(MAKE) stageprofile-start; \
32720 fi; \
32721 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32722 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32723 @endif target-libstdc++-v3-bootstrap
32726 .PHONY: all-stagefeedback-target-libstdc++-v3 maybe-all-stagefeedback-target-libstdc++-v3
32727 .PHONY: clean-stagefeedback-target-libstdc++-v3 maybe-clean-stagefeedback-target-libstdc++-v3
32728 maybe-all-stagefeedback-target-libstdc++-v3:
32729 maybe-clean-stagefeedback-target-libstdc++-v3:
32730 @if target-libstdc++-v3-bootstrap
32731 maybe-all-stagefeedback-target-libstdc++-v3: all-stagefeedback-target-libstdc++-v3
32732 all-stagefeedback: all-stagefeedback-target-libstdc++-v3
32733 TARGET-stagefeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32734 all-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
32735 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32736 @r=`${PWD_COMMAND}`; export r; \
32737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32738 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32739 $(RAW_CXX_TARGET_EXPORTS) \
32741 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32742 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32743 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32744 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32745 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32746 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32747 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32748 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32749 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32750 TFLAGS="$(STAGEfeedback_TFLAGS)" \
32751 $(TARGET-stagefeedback-target-libstdc++-v3)
32753 maybe-clean-stagefeedback-target-libstdc++-v3: clean-stagefeedback-target-libstdc++-v3
32754 clean-stagefeedback: clean-stagefeedback-target-libstdc++-v3
32755 clean-stagefeedback-target-libstdc++-v3:
32756 @if [ $(current_stage) = stagefeedback ]; then \
32757 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32758 else \
32759 [ -f $(TARGET_SUBDIR)/stagefeedback-libstdc++-v3/Makefile ] || exit 0; \
32760 $(MAKE) stagefeedback-start; \
32761 fi; \
32762 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32763 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32764 @endif target-libstdc++-v3-bootstrap
32771 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
32772 maybe-check-target-libstdc++-v3:
32773 @if target-libstdc++-v3
32774 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
32776 check-target-libstdc++-v3:
32777 @: $(MAKE); $(unstage)
32778 @r=`${PWD_COMMAND}`; export r; \
32779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32780 $(RAW_CXX_TARGET_EXPORTS) \
32781 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32782 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
32784 @endif target-libstdc++-v3
32786 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
32787 maybe-install-target-libstdc++-v3:
32788 @if target-libstdc++-v3
32789 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
32791 install-target-libstdc++-v3: installdirs
32792 @: $(MAKE); $(unstage)
32793 @r=`${PWD_COMMAND}`; export r; \
32794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32795 $(RAW_CXX_TARGET_EXPORTS) \
32796 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32797 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32799 @endif target-libstdc++-v3
32801 .PHONY: install-strip-target-libstdc++-v3 maybe-install-strip-target-libstdc++-v3
32802 maybe-install-strip-target-libstdc++-v3:
32803 @if target-libstdc++-v3
32804 maybe-install-strip-target-libstdc++-v3: install-strip-target-libstdc++-v3
32806 install-strip-target-libstdc++-v3: installdirs
32807 @: $(MAKE); $(unstage)
32808 @r=`${PWD_COMMAND}`; export r; \
32809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32810 $(RAW_CXX_TARGET_EXPORTS) \
32811 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32812 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
32814 @endif target-libstdc++-v3
32816 # Other targets (info, dvi, pdf, etc.)
32818 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
32819 maybe-info-target-libstdc++-v3:
32820 @if target-libstdc++-v3
32821 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
32823 info-target-libstdc++-v3: \
32824 configure-target-libstdc++-v3
32825 @: $(MAKE); $(unstage)
32826 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32827 r=`${PWD_COMMAND}`; export r; \
32828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32829 $(RAW_CXX_TARGET_EXPORTS) \
32830 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32831 for flag in $(EXTRA_TARGET_FLAGS); do \
32832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32833 done; \
32834 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32837 "RANLIB=$${RANLIB}" \
32838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32839 info) \
32840 || exit 1
32842 @endif target-libstdc++-v3
32844 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
32845 maybe-dvi-target-libstdc++-v3:
32846 @if target-libstdc++-v3
32847 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
32849 dvi-target-libstdc++-v3: \
32850 configure-target-libstdc++-v3
32851 @: $(MAKE); $(unstage)
32852 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32853 r=`${PWD_COMMAND}`; export r; \
32854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32855 $(RAW_CXX_TARGET_EXPORTS) \
32856 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32857 for flag in $(EXTRA_TARGET_FLAGS); do \
32858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32859 done; \
32860 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32863 "RANLIB=$${RANLIB}" \
32864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32865 dvi) \
32866 || exit 1
32868 @endif target-libstdc++-v3
32870 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
32871 maybe-pdf-target-libstdc++-v3:
32872 @if target-libstdc++-v3
32873 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
32875 pdf-target-libstdc++-v3: \
32876 configure-target-libstdc++-v3
32877 @: $(MAKE); $(unstage)
32878 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32879 r=`${PWD_COMMAND}`; export r; \
32880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32881 $(RAW_CXX_TARGET_EXPORTS) \
32882 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32883 for flag in $(EXTRA_TARGET_FLAGS); do \
32884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32885 done; \
32886 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32889 "RANLIB=$${RANLIB}" \
32890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32891 pdf) \
32892 || exit 1
32894 @endif target-libstdc++-v3
32896 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
32897 maybe-html-target-libstdc++-v3:
32898 @if target-libstdc++-v3
32899 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
32901 html-target-libstdc++-v3: \
32902 configure-target-libstdc++-v3
32903 @: $(MAKE); $(unstage)
32904 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32905 r=`${PWD_COMMAND}`; export r; \
32906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32907 $(RAW_CXX_TARGET_EXPORTS) \
32908 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32909 for flag in $(EXTRA_TARGET_FLAGS); do \
32910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32911 done; \
32912 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32915 "RANLIB=$${RANLIB}" \
32916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32917 html) \
32918 || exit 1
32920 @endif target-libstdc++-v3
32922 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
32923 maybe-TAGS-target-libstdc++-v3:
32924 @if target-libstdc++-v3
32925 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
32927 TAGS-target-libstdc++-v3: \
32928 configure-target-libstdc++-v3
32929 @: $(MAKE); $(unstage)
32930 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32931 r=`${PWD_COMMAND}`; export r; \
32932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32933 $(RAW_CXX_TARGET_EXPORTS) \
32934 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32935 for flag in $(EXTRA_TARGET_FLAGS); do \
32936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32937 done; \
32938 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32941 "RANLIB=$${RANLIB}" \
32942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32943 TAGS) \
32944 || exit 1
32946 @endif target-libstdc++-v3
32948 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
32949 maybe-install-info-target-libstdc++-v3:
32950 @if target-libstdc++-v3
32951 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
32953 install-info-target-libstdc++-v3: \
32954 configure-target-libstdc++-v3 \
32955 info-target-libstdc++-v3
32956 @: $(MAKE); $(unstage)
32957 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32958 r=`${PWD_COMMAND}`; export r; \
32959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32960 $(RAW_CXX_TARGET_EXPORTS) \
32961 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32962 for flag in $(EXTRA_TARGET_FLAGS); do \
32963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32964 done; \
32965 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32968 "RANLIB=$${RANLIB}" \
32969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32970 install-info) \
32971 || exit 1
32973 @endif target-libstdc++-v3
32975 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
32976 maybe-install-pdf-target-libstdc++-v3:
32977 @if target-libstdc++-v3
32978 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
32980 install-pdf-target-libstdc++-v3: \
32981 configure-target-libstdc++-v3 \
32982 pdf-target-libstdc++-v3
32983 @: $(MAKE); $(unstage)
32984 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32985 r=`${PWD_COMMAND}`; export r; \
32986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32987 $(RAW_CXX_TARGET_EXPORTS) \
32988 echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32989 for flag in $(EXTRA_TARGET_FLAGS); do \
32990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32991 done; \
32992 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32995 "RANLIB=$${RANLIB}" \
32996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32997 install-pdf) \
32998 || exit 1
33000 @endif target-libstdc++-v3
33002 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
33003 maybe-install-html-target-libstdc++-v3:
33004 @if target-libstdc++-v3
33005 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
33007 install-html-target-libstdc++-v3: \
33008 configure-target-libstdc++-v3 \
33009 html-target-libstdc++-v3
33010 @: $(MAKE); $(unstage)
33011 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33012 r=`${PWD_COMMAND}`; export r; \
33013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33014 $(RAW_CXX_TARGET_EXPORTS) \
33015 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33016 for flag in $(EXTRA_TARGET_FLAGS); do \
33017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33018 done; \
33019 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33022 "RANLIB=$${RANLIB}" \
33023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33024 install-html) \
33025 || exit 1
33027 @endif target-libstdc++-v3
33029 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
33030 maybe-installcheck-target-libstdc++-v3:
33031 @if target-libstdc++-v3
33032 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
33034 installcheck-target-libstdc++-v3: \
33035 configure-target-libstdc++-v3
33036 @: $(MAKE); $(unstage)
33037 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33038 r=`${PWD_COMMAND}`; export r; \
33039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33040 $(RAW_CXX_TARGET_EXPORTS) \
33041 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33042 for flag in $(EXTRA_TARGET_FLAGS); do \
33043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33044 done; \
33045 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33048 "RANLIB=$${RANLIB}" \
33049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33050 installcheck) \
33051 || exit 1
33053 @endif target-libstdc++-v3
33055 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
33056 maybe-mostlyclean-target-libstdc++-v3:
33057 @if target-libstdc++-v3
33058 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
33060 mostlyclean-target-libstdc++-v3:
33061 @: $(MAKE); $(unstage)
33062 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33063 r=`${PWD_COMMAND}`; export r; \
33064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33065 $(RAW_CXX_TARGET_EXPORTS) \
33066 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33067 for flag in $(EXTRA_TARGET_FLAGS); do \
33068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33069 done; \
33070 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33073 "RANLIB=$${RANLIB}" \
33074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33075 mostlyclean) \
33076 || exit 1
33078 @endif target-libstdc++-v3
33080 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
33081 maybe-clean-target-libstdc++-v3:
33082 @if target-libstdc++-v3
33083 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
33085 clean-target-libstdc++-v3:
33086 @: $(MAKE); $(unstage)
33087 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33088 r=`${PWD_COMMAND}`; export r; \
33089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33090 $(RAW_CXX_TARGET_EXPORTS) \
33091 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33092 for flag in $(EXTRA_TARGET_FLAGS); do \
33093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33094 done; \
33095 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33098 "RANLIB=$${RANLIB}" \
33099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33100 clean) \
33101 || exit 1
33103 @endif target-libstdc++-v3
33105 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
33106 maybe-distclean-target-libstdc++-v3:
33107 @if target-libstdc++-v3
33108 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
33110 distclean-target-libstdc++-v3:
33111 @: $(MAKE); $(unstage)
33112 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33113 r=`${PWD_COMMAND}`; export r; \
33114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33115 $(RAW_CXX_TARGET_EXPORTS) \
33116 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33117 for flag in $(EXTRA_TARGET_FLAGS); do \
33118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33119 done; \
33120 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33123 "RANLIB=$${RANLIB}" \
33124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33125 distclean) \
33126 || exit 1
33128 @endif target-libstdc++-v3
33130 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
33131 maybe-maintainer-clean-target-libstdc++-v3:
33132 @if target-libstdc++-v3
33133 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
33135 maintainer-clean-target-libstdc++-v3:
33136 @: $(MAKE); $(unstage)
33137 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33138 r=`${PWD_COMMAND}`; export r; \
33139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33140 $(RAW_CXX_TARGET_EXPORTS) \
33141 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33142 for flag in $(EXTRA_TARGET_FLAGS); do \
33143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33144 done; \
33145 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33148 "RANLIB=$${RANLIB}" \
33149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33150 maintainer-clean) \
33151 || exit 1
33153 @endif target-libstdc++-v3
33159 .PHONY: configure-target-libsanitizer maybe-configure-target-libsanitizer
33160 maybe-configure-target-libsanitizer:
33161 @if gcc-bootstrap
33162 configure-target-libsanitizer: stage_current
33163 @endif gcc-bootstrap
33164 @if target-libsanitizer
33165 maybe-configure-target-libsanitizer: configure-target-libsanitizer
33166 configure-target-libsanitizer:
33167 @r=`${PWD_COMMAND}`; export r; \
33168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33169 echo "Checking multilib configuration for libsanitizer..."; \
33170 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33171 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
33172 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33173 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33174 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33175 else \
33176 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33177 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33178 fi; \
33179 else \
33180 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33181 fi; \
33182 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33183 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33184 $(RAW_CXX_TARGET_EXPORTS) \
33185 echo Configuring in $(TARGET_SUBDIR)/libsanitizer; \
33186 cd "$(TARGET_SUBDIR)/libsanitizer" || exit 1; \
33187 case $(srcdir) in \
33188 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33189 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33190 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33191 esac; \
33192 module_srcdir=libsanitizer; \
33193 rm -f no-such-file || : ; \
33194 CONFIG_SITE=no-such-file $(SHELL) \
33195 $$s/$$module_srcdir/configure \
33196 --srcdir=$${topdir}/$$module_srcdir \
33197 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33198 --target=${target_alias} \
33199 || exit 1
33200 @endif target-libsanitizer
33204 .PHONY: configure-stage1-target-libsanitizer maybe-configure-stage1-target-libsanitizer
33205 maybe-configure-stage1-target-libsanitizer:
33206 @if target-libsanitizer-bootstrap
33207 maybe-configure-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
33208 configure-stage1-target-libsanitizer:
33209 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
33210 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33211 @r=`${PWD_COMMAND}`; export r; \
33212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33213 TFLAGS="$(STAGE1_TFLAGS)"; \
33214 echo "Checking multilib configuration for libsanitizer..."; \
33215 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
33216 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33217 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33218 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33219 else \
33220 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33221 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33222 fi; \
33223 else \
33224 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33225 fi; \
33226 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33227 $(RAW_CXX_TARGET_EXPORTS) \
33228 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33229 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33230 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33231 echo Configuring stage 1 in $(TARGET_SUBDIR)/libsanitizer ; \
33232 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33233 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33234 case $(srcdir) in \
33235 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33236 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33237 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33238 esac; \
33239 module_srcdir=libsanitizer; \
33240 $(SHELL) $$s/$$module_srcdir/configure \
33241 --srcdir=$${topdir}/$$module_srcdir \
33242 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33243 --target=${target_alias} \
33245 $(STAGE1_CONFIGURE_FLAGS)
33246 @endif target-libsanitizer-bootstrap
33248 .PHONY: configure-stage2-target-libsanitizer maybe-configure-stage2-target-libsanitizer
33249 maybe-configure-stage2-target-libsanitizer:
33250 @if target-libsanitizer-bootstrap
33251 maybe-configure-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
33252 configure-stage2-target-libsanitizer:
33253 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
33254 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33255 @r=`${PWD_COMMAND}`; export r; \
33256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33257 TFLAGS="$(STAGE2_TFLAGS)"; \
33258 echo "Checking multilib configuration for libsanitizer..."; \
33259 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
33260 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33261 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33262 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33263 else \
33264 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33265 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33266 fi; \
33267 else \
33268 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33269 fi; \
33270 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33271 $(RAW_CXX_TARGET_EXPORTS) \
33273 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33274 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33275 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33276 echo Configuring stage 2 in $(TARGET_SUBDIR)/libsanitizer ; \
33277 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33278 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33279 case $(srcdir) in \
33280 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33281 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33282 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33283 esac; \
33284 module_srcdir=libsanitizer; \
33285 $(SHELL) $$s/$$module_srcdir/configure \
33286 --srcdir=$${topdir}/$$module_srcdir \
33287 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33288 --target=${target_alias} \
33289 --with-build-libsubdir=$(HOST_SUBDIR) \
33290 $(STAGE2_CONFIGURE_FLAGS)
33291 @endif target-libsanitizer-bootstrap
33293 .PHONY: configure-stage3-target-libsanitizer maybe-configure-stage3-target-libsanitizer
33294 maybe-configure-stage3-target-libsanitizer:
33295 @if target-libsanitizer-bootstrap
33296 maybe-configure-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
33297 configure-stage3-target-libsanitizer:
33298 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
33299 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33300 @r=`${PWD_COMMAND}`; export r; \
33301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33302 TFLAGS="$(STAGE3_TFLAGS)"; \
33303 echo "Checking multilib configuration for libsanitizer..."; \
33304 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
33305 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33306 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33307 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33308 else \
33309 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33310 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33311 fi; \
33312 else \
33313 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33314 fi; \
33315 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33316 $(RAW_CXX_TARGET_EXPORTS) \
33318 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33319 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33320 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33321 echo Configuring stage 3 in $(TARGET_SUBDIR)/libsanitizer ; \
33322 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33323 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33324 case $(srcdir) in \
33325 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33326 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33327 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33328 esac; \
33329 module_srcdir=libsanitizer; \
33330 $(SHELL) $$s/$$module_srcdir/configure \
33331 --srcdir=$${topdir}/$$module_srcdir \
33332 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33333 --target=${target_alias} \
33334 --with-build-libsubdir=$(HOST_SUBDIR) \
33335 $(STAGE3_CONFIGURE_FLAGS)
33336 @endif target-libsanitizer-bootstrap
33338 .PHONY: configure-stage4-target-libsanitizer maybe-configure-stage4-target-libsanitizer
33339 maybe-configure-stage4-target-libsanitizer:
33340 @if target-libsanitizer-bootstrap
33341 maybe-configure-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
33342 configure-stage4-target-libsanitizer:
33343 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
33344 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33345 @r=`${PWD_COMMAND}`; export r; \
33346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33347 TFLAGS="$(STAGE4_TFLAGS)"; \
33348 echo "Checking multilib configuration for libsanitizer..."; \
33349 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
33350 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33351 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33352 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33353 else \
33354 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33355 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33356 fi; \
33357 else \
33358 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33359 fi; \
33360 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33361 $(RAW_CXX_TARGET_EXPORTS) \
33363 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33364 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33365 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33366 echo Configuring stage 4 in $(TARGET_SUBDIR)/libsanitizer ; \
33367 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33368 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33369 case $(srcdir) in \
33370 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33371 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33372 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33373 esac; \
33374 module_srcdir=libsanitizer; \
33375 $(SHELL) $$s/$$module_srcdir/configure \
33376 --srcdir=$${topdir}/$$module_srcdir \
33377 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33378 --target=${target_alias} \
33379 --with-build-libsubdir=$(HOST_SUBDIR) \
33380 $(STAGE4_CONFIGURE_FLAGS)
33381 @endif target-libsanitizer-bootstrap
33383 .PHONY: configure-stageprofile-target-libsanitizer maybe-configure-stageprofile-target-libsanitizer
33384 maybe-configure-stageprofile-target-libsanitizer:
33385 @if target-libsanitizer-bootstrap
33386 maybe-configure-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
33387 configure-stageprofile-target-libsanitizer:
33388 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
33389 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33390 @r=`${PWD_COMMAND}`; export r; \
33391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33392 TFLAGS="$(STAGEprofile_TFLAGS)"; \
33393 echo "Checking multilib configuration for libsanitizer..."; \
33394 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
33395 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33396 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33397 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33398 else \
33399 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33400 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33401 fi; \
33402 else \
33403 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33404 fi; \
33405 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33406 $(RAW_CXX_TARGET_EXPORTS) \
33408 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33409 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33410 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33411 echo Configuring stage profile in $(TARGET_SUBDIR)/libsanitizer ; \
33412 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33413 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33414 case $(srcdir) in \
33415 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33416 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33417 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33418 esac; \
33419 module_srcdir=libsanitizer; \
33420 $(SHELL) $$s/$$module_srcdir/configure \
33421 --srcdir=$${topdir}/$$module_srcdir \
33422 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33423 --target=${target_alias} \
33424 --with-build-libsubdir=$(HOST_SUBDIR) \
33425 $(STAGEprofile_CONFIGURE_FLAGS)
33426 @endif target-libsanitizer-bootstrap
33428 .PHONY: configure-stagefeedback-target-libsanitizer maybe-configure-stagefeedback-target-libsanitizer
33429 maybe-configure-stagefeedback-target-libsanitizer:
33430 @if target-libsanitizer-bootstrap
33431 maybe-configure-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
33432 configure-stagefeedback-target-libsanitizer:
33433 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
33434 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33435 @r=`${PWD_COMMAND}`; export r; \
33436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33437 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
33438 echo "Checking multilib configuration for libsanitizer..."; \
33439 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
33440 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33441 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33442 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33443 else \
33444 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33445 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33446 fi; \
33447 else \
33448 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33449 fi; \
33450 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33451 $(RAW_CXX_TARGET_EXPORTS) \
33453 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33454 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33455 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33456 echo Configuring stage feedback in $(TARGET_SUBDIR)/libsanitizer ; \
33457 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33458 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33459 case $(srcdir) in \
33460 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33461 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33462 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33463 esac; \
33464 module_srcdir=libsanitizer; \
33465 $(SHELL) $$s/$$module_srcdir/configure \
33466 --srcdir=$${topdir}/$$module_srcdir \
33467 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33468 --target=${target_alias} \
33469 --with-build-libsubdir=$(HOST_SUBDIR) \
33470 $(STAGEfeedback_CONFIGURE_FLAGS)
33471 @endif target-libsanitizer-bootstrap
33477 .PHONY: all-target-libsanitizer maybe-all-target-libsanitizer
33478 maybe-all-target-libsanitizer:
33479 @if gcc-bootstrap
33480 all-target-libsanitizer: stage_current
33481 @endif gcc-bootstrap
33482 @if target-libsanitizer
33483 TARGET-target-libsanitizer=all
33484 maybe-all-target-libsanitizer: all-target-libsanitizer
33485 all-target-libsanitizer: configure-target-libsanitizer
33486 @r=`${PWD_COMMAND}`; export r; \
33487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33488 $(RAW_CXX_TARGET_EXPORTS) \
33489 (cd $(TARGET_SUBDIR)/libsanitizer && \
33490 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33491 $(TARGET-target-libsanitizer))
33492 @endif target-libsanitizer
33496 .PHONY: all-stage1-target-libsanitizer maybe-all-stage1-target-libsanitizer
33497 .PHONY: clean-stage1-target-libsanitizer maybe-clean-stage1-target-libsanitizer
33498 maybe-all-stage1-target-libsanitizer:
33499 maybe-clean-stage1-target-libsanitizer:
33500 @if target-libsanitizer-bootstrap
33501 maybe-all-stage1-target-libsanitizer: all-stage1-target-libsanitizer
33502 all-stage1: all-stage1-target-libsanitizer
33503 TARGET-stage1-target-libsanitizer = $(TARGET-target-libsanitizer)
33504 all-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
33505 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
33506 @r=`${PWD_COMMAND}`; export r; \
33507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33508 TFLAGS="$(STAGE1_TFLAGS)"; \
33509 $(RAW_CXX_TARGET_EXPORTS) \
33510 cd $(TARGET_SUBDIR)/libsanitizer && \
33511 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33512 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33513 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33514 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33515 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33516 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33517 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33518 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33520 TFLAGS="$(STAGE1_TFLAGS)" \
33521 $(TARGET-stage1-target-libsanitizer)
33523 maybe-clean-stage1-target-libsanitizer: clean-stage1-target-libsanitizer
33524 clean-stage1: clean-stage1-target-libsanitizer
33525 clean-stage1-target-libsanitizer:
33526 @if [ $(current_stage) = stage1 ]; then \
33527 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33528 else \
33529 [ -f $(TARGET_SUBDIR)/stage1-libsanitizer/Makefile ] || exit 0; \
33530 $(MAKE) stage1-start; \
33531 fi; \
33532 cd $(TARGET_SUBDIR)/libsanitizer && \
33533 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33534 clean
33535 @endif target-libsanitizer-bootstrap
33538 .PHONY: all-stage2-target-libsanitizer maybe-all-stage2-target-libsanitizer
33539 .PHONY: clean-stage2-target-libsanitizer maybe-clean-stage2-target-libsanitizer
33540 maybe-all-stage2-target-libsanitizer:
33541 maybe-clean-stage2-target-libsanitizer:
33542 @if target-libsanitizer-bootstrap
33543 maybe-all-stage2-target-libsanitizer: all-stage2-target-libsanitizer
33544 all-stage2: all-stage2-target-libsanitizer
33545 TARGET-stage2-target-libsanitizer = $(TARGET-target-libsanitizer)
33546 all-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
33547 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
33548 @r=`${PWD_COMMAND}`; export r; \
33549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33550 TFLAGS="$(STAGE2_TFLAGS)"; \
33551 $(RAW_CXX_TARGET_EXPORTS) \
33553 cd $(TARGET_SUBDIR)/libsanitizer && \
33554 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33555 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33556 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33557 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33558 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33559 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33560 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33561 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33562 TFLAGS="$(STAGE2_TFLAGS)" \
33563 $(TARGET-stage2-target-libsanitizer)
33565 maybe-clean-stage2-target-libsanitizer: clean-stage2-target-libsanitizer
33566 clean-stage2: clean-stage2-target-libsanitizer
33567 clean-stage2-target-libsanitizer:
33568 @if [ $(current_stage) = stage2 ]; then \
33569 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33570 else \
33571 [ -f $(TARGET_SUBDIR)/stage2-libsanitizer/Makefile ] || exit 0; \
33572 $(MAKE) stage2-start; \
33573 fi; \
33574 cd $(TARGET_SUBDIR)/libsanitizer && \
33575 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33576 @endif target-libsanitizer-bootstrap
33579 .PHONY: all-stage3-target-libsanitizer maybe-all-stage3-target-libsanitizer
33580 .PHONY: clean-stage3-target-libsanitizer maybe-clean-stage3-target-libsanitizer
33581 maybe-all-stage3-target-libsanitizer:
33582 maybe-clean-stage3-target-libsanitizer:
33583 @if target-libsanitizer-bootstrap
33584 maybe-all-stage3-target-libsanitizer: all-stage3-target-libsanitizer
33585 all-stage3: all-stage3-target-libsanitizer
33586 TARGET-stage3-target-libsanitizer = $(TARGET-target-libsanitizer)
33587 all-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
33588 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
33589 @r=`${PWD_COMMAND}`; export r; \
33590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33591 TFLAGS="$(STAGE3_TFLAGS)"; \
33592 $(RAW_CXX_TARGET_EXPORTS) \
33594 cd $(TARGET_SUBDIR)/libsanitizer && \
33595 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33596 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33597 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33598 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33599 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33600 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33601 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33602 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33603 TFLAGS="$(STAGE3_TFLAGS)" \
33604 $(TARGET-stage3-target-libsanitizer)
33606 maybe-clean-stage3-target-libsanitizer: clean-stage3-target-libsanitizer
33607 clean-stage3: clean-stage3-target-libsanitizer
33608 clean-stage3-target-libsanitizer:
33609 @if [ $(current_stage) = stage3 ]; then \
33610 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33611 else \
33612 [ -f $(TARGET_SUBDIR)/stage3-libsanitizer/Makefile ] || exit 0; \
33613 $(MAKE) stage3-start; \
33614 fi; \
33615 cd $(TARGET_SUBDIR)/libsanitizer && \
33616 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33617 @endif target-libsanitizer-bootstrap
33620 .PHONY: all-stage4-target-libsanitizer maybe-all-stage4-target-libsanitizer
33621 .PHONY: clean-stage4-target-libsanitizer maybe-clean-stage4-target-libsanitizer
33622 maybe-all-stage4-target-libsanitizer:
33623 maybe-clean-stage4-target-libsanitizer:
33624 @if target-libsanitizer-bootstrap
33625 maybe-all-stage4-target-libsanitizer: all-stage4-target-libsanitizer
33626 all-stage4: all-stage4-target-libsanitizer
33627 TARGET-stage4-target-libsanitizer = $(TARGET-target-libsanitizer)
33628 all-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
33629 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
33630 @r=`${PWD_COMMAND}`; export r; \
33631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33632 TFLAGS="$(STAGE4_TFLAGS)"; \
33633 $(RAW_CXX_TARGET_EXPORTS) \
33635 cd $(TARGET_SUBDIR)/libsanitizer && \
33636 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33637 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33638 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33639 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33640 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33641 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33642 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33643 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33644 TFLAGS="$(STAGE4_TFLAGS)" \
33645 $(TARGET-stage4-target-libsanitizer)
33647 maybe-clean-stage4-target-libsanitizer: clean-stage4-target-libsanitizer
33648 clean-stage4: clean-stage4-target-libsanitizer
33649 clean-stage4-target-libsanitizer:
33650 @if [ $(current_stage) = stage4 ]; then \
33651 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33652 else \
33653 [ -f $(TARGET_SUBDIR)/stage4-libsanitizer/Makefile ] || exit 0; \
33654 $(MAKE) stage4-start; \
33655 fi; \
33656 cd $(TARGET_SUBDIR)/libsanitizer && \
33657 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33658 @endif target-libsanitizer-bootstrap
33661 .PHONY: all-stageprofile-target-libsanitizer maybe-all-stageprofile-target-libsanitizer
33662 .PHONY: clean-stageprofile-target-libsanitizer maybe-clean-stageprofile-target-libsanitizer
33663 maybe-all-stageprofile-target-libsanitizer:
33664 maybe-clean-stageprofile-target-libsanitizer:
33665 @if target-libsanitizer-bootstrap
33666 maybe-all-stageprofile-target-libsanitizer: all-stageprofile-target-libsanitizer
33667 all-stageprofile: all-stageprofile-target-libsanitizer
33668 TARGET-stageprofile-target-libsanitizer = $(TARGET-target-libsanitizer)
33669 all-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
33670 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
33671 @r=`${PWD_COMMAND}`; export r; \
33672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33673 TFLAGS="$(STAGEprofile_TFLAGS)"; \
33674 $(RAW_CXX_TARGET_EXPORTS) \
33676 cd $(TARGET_SUBDIR)/libsanitizer && \
33677 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33678 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33679 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33680 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33681 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33682 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33683 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33684 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33685 TFLAGS="$(STAGEprofile_TFLAGS)" \
33686 $(TARGET-stageprofile-target-libsanitizer)
33688 maybe-clean-stageprofile-target-libsanitizer: clean-stageprofile-target-libsanitizer
33689 clean-stageprofile: clean-stageprofile-target-libsanitizer
33690 clean-stageprofile-target-libsanitizer:
33691 @if [ $(current_stage) = stageprofile ]; then \
33692 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33693 else \
33694 [ -f $(TARGET_SUBDIR)/stageprofile-libsanitizer/Makefile ] || exit 0; \
33695 $(MAKE) stageprofile-start; \
33696 fi; \
33697 cd $(TARGET_SUBDIR)/libsanitizer && \
33698 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33699 @endif target-libsanitizer-bootstrap
33702 .PHONY: all-stagefeedback-target-libsanitizer maybe-all-stagefeedback-target-libsanitizer
33703 .PHONY: clean-stagefeedback-target-libsanitizer maybe-clean-stagefeedback-target-libsanitizer
33704 maybe-all-stagefeedback-target-libsanitizer:
33705 maybe-clean-stagefeedback-target-libsanitizer:
33706 @if target-libsanitizer-bootstrap
33707 maybe-all-stagefeedback-target-libsanitizer: all-stagefeedback-target-libsanitizer
33708 all-stagefeedback: all-stagefeedback-target-libsanitizer
33709 TARGET-stagefeedback-target-libsanitizer = $(TARGET-target-libsanitizer)
33710 all-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
33711 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
33712 @r=`${PWD_COMMAND}`; export r; \
33713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33714 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
33715 $(RAW_CXX_TARGET_EXPORTS) \
33717 cd $(TARGET_SUBDIR)/libsanitizer && \
33718 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33719 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33720 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33721 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33722 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33723 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33724 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33725 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33726 TFLAGS="$(STAGEfeedback_TFLAGS)" \
33727 $(TARGET-stagefeedback-target-libsanitizer)
33729 maybe-clean-stagefeedback-target-libsanitizer: clean-stagefeedback-target-libsanitizer
33730 clean-stagefeedback: clean-stagefeedback-target-libsanitizer
33731 clean-stagefeedback-target-libsanitizer:
33732 @if [ $(current_stage) = stagefeedback ]; then \
33733 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33734 else \
33735 [ -f $(TARGET_SUBDIR)/stagefeedback-libsanitizer/Makefile ] || exit 0; \
33736 $(MAKE) stagefeedback-start; \
33737 fi; \
33738 cd $(TARGET_SUBDIR)/libsanitizer && \
33739 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33740 @endif target-libsanitizer-bootstrap
33747 .PHONY: check-target-libsanitizer maybe-check-target-libsanitizer
33748 maybe-check-target-libsanitizer:
33749 @if target-libsanitizer
33750 maybe-check-target-libsanitizer: check-target-libsanitizer
33752 check-target-libsanitizer:
33753 @: $(MAKE); $(unstage)
33754 @r=`${PWD_COMMAND}`; export r; \
33755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33756 $(RAW_CXX_TARGET_EXPORTS) \
33757 (cd $(TARGET_SUBDIR)/libsanitizer && \
33758 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
33760 @endif target-libsanitizer
33762 .PHONY: install-target-libsanitizer maybe-install-target-libsanitizer
33763 maybe-install-target-libsanitizer:
33764 @if target-libsanitizer
33765 maybe-install-target-libsanitizer: install-target-libsanitizer
33767 install-target-libsanitizer: installdirs
33768 @: $(MAKE); $(unstage)
33769 @r=`${PWD_COMMAND}`; export r; \
33770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33771 $(RAW_CXX_TARGET_EXPORTS) \
33772 (cd $(TARGET_SUBDIR)/libsanitizer && \
33773 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33775 @endif target-libsanitizer
33777 .PHONY: install-strip-target-libsanitizer maybe-install-strip-target-libsanitizer
33778 maybe-install-strip-target-libsanitizer:
33779 @if target-libsanitizer
33780 maybe-install-strip-target-libsanitizer: install-strip-target-libsanitizer
33782 install-strip-target-libsanitizer: installdirs
33783 @: $(MAKE); $(unstage)
33784 @r=`${PWD_COMMAND}`; export r; \
33785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33786 $(RAW_CXX_TARGET_EXPORTS) \
33787 (cd $(TARGET_SUBDIR)/libsanitizer && \
33788 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
33790 @endif target-libsanitizer
33792 # Other targets (info, dvi, pdf, etc.)
33794 .PHONY: maybe-info-target-libsanitizer info-target-libsanitizer
33795 maybe-info-target-libsanitizer:
33796 @if target-libsanitizer
33797 maybe-info-target-libsanitizer: info-target-libsanitizer
33799 info-target-libsanitizer: \
33800 configure-target-libsanitizer
33801 @: $(MAKE); $(unstage)
33802 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33803 r=`${PWD_COMMAND}`; export r; \
33804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33805 $(RAW_CXX_TARGET_EXPORTS) \
33806 echo "Doing info in $(TARGET_SUBDIR)/libsanitizer" ; \
33807 for flag in $(EXTRA_TARGET_FLAGS); do \
33808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33809 done; \
33810 (cd $(TARGET_SUBDIR)/libsanitizer && \
33811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33813 "RANLIB=$${RANLIB}" \
33814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33815 info) \
33816 || exit 1
33818 @endif target-libsanitizer
33820 .PHONY: maybe-dvi-target-libsanitizer dvi-target-libsanitizer
33821 maybe-dvi-target-libsanitizer:
33822 @if target-libsanitizer
33823 maybe-dvi-target-libsanitizer: dvi-target-libsanitizer
33825 dvi-target-libsanitizer: \
33826 configure-target-libsanitizer
33827 @: $(MAKE); $(unstage)
33828 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33829 r=`${PWD_COMMAND}`; export r; \
33830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33831 $(RAW_CXX_TARGET_EXPORTS) \
33832 echo "Doing dvi in $(TARGET_SUBDIR)/libsanitizer" ; \
33833 for flag in $(EXTRA_TARGET_FLAGS); do \
33834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33835 done; \
33836 (cd $(TARGET_SUBDIR)/libsanitizer && \
33837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33839 "RANLIB=$${RANLIB}" \
33840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33841 dvi) \
33842 || exit 1
33844 @endif target-libsanitizer
33846 .PHONY: maybe-pdf-target-libsanitizer pdf-target-libsanitizer
33847 maybe-pdf-target-libsanitizer:
33848 @if target-libsanitizer
33849 maybe-pdf-target-libsanitizer: pdf-target-libsanitizer
33851 pdf-target-libsanitizer: \
33852 configure-target-libsanitizer
33853 @: $(MAKE); $(unstage)
33854 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33855 r=`${PWD_COMMAND}`; export r; \
33856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33857 $(RAW_CXX_TARGET_EXPORTS) \
33858 echo "Doing pdf in $(TARGET_SUBDIR)/libsanitizer" ; \
33859 for flag in $(EXTRA_TARGET_FLAGS); do \
33860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33861 done; \
33862 (cd $(TARGET_SUBDIR)/libsanitizer && \
33863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33865 "RANLIB=$${RANLIB}" \
33866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33867 pdf) \
33868 || exit 1
33870 @endif target-libsanitizer
33872 .PHONY: maybe-html-target-libsanitizer html-target-libsanitizer
33873 maybe-html-target-libsanitizer:
33874 @if target-libsanitizer
33875 maybe-html-target-libsanitizer: html-target-libsanitizer
33877 html-target-libsanitizer: \
33878 configure-target-libsanitizer
33879 @: $(MAKE); $(unstage)
33880 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33881 r=`${PWD_COMMAND}`; export r; \
33882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33883 $(RAW_CXX_TARGET_EXPORTS) \
33884 echo "Doing html in $(TARGET_SUBDIR)/libsanitizer" ; \
33885 for flag in $(EXTRA_TARGET_FLAGS); do \
33886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33887 done; \
33888 (cd $(TARGET_SUBDIR)/libsanitizer && \
33889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33891 "RANLIB=$${RANLIB}" \
33892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33893 html) \
33894 || exit 1
33896 @endif target-libsanitizer
33898 .PHONY: maybe-TAGS-target-libsanitizer TAGS-target-libsanitizer
33899 maybe-TAGS-target-libsanitizer:
33900 @if target-libsanitizer
33901 maybe-TAGS-target-libsanitizer: TAGS-target-libsanitizer
33903 TAGS-target-libsanitizer: \
33904 configure-target-libsanitizer
33905 @: $(MAKE); $(unstage)
33906 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33907 r=`${PWD_COMMAND}`; export r; \
33908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33909 $(RAW_CXX_TARGET_EXPORTS) \
33910 echo "Doing TAGS in $(TARGET_SUBDIR)/libsanitizer" ; \
33911 for flag in $(EXTRA_TARGET_FLAGS); do \
33912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33913 done; \
33914 (cd $(TARGET_SUBDIR)/libsanitizer && \
33915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33917 "RANLIB=$${RANLIB}" \
33918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33919 TAGS) \
33920 || exit 1
33922 @endif target-libsanitizer
33924 .PHONY: maybe-install-info-target-libsanitizer install-info-target-libsanitizer
33925 maybe-install-info-target-libsanitizer:
33926 @if target-libsanitizer
33927 maybe-install-info-target-libsanitizer: install-info-target-libsanitizer
33929 install-info-target-libsanitizer: \
33930 configure-target-libsanitizer \
33931 info-target-libsanitizer
33932 @: $(MAKE); $(unstage)
33933 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33934 r=`${PWD_COMMAND}`; export r; \
33935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33936 $(RAW_CXX_TARGET_EXPORTS) \
33937 echo "Doing install-info in $(TARGET_SUBDIR)/libsanitizer" ; \
33938 for flag in $(EXTRA_TARGET_FLAGS); do \
33939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33940 done; \
33941 (cd $(TARGET_SUBDIR)/libsanitizer && \
33942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33944 "RANLIB=$${RANLIB}" \
33945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33946 install-info) \
33947 || exit 1
33949 @endif target-libsanitizer
33951 .PHONY: maybe-install-pdf-target-libsanitizer install-pdf-target-libsanitizer
33952 maybe-install-pdf-target-libsanitizer:
33953 @if target-libsanitizer
33954 maybe-install-pdf-target-libsanitizer: install-pdf-target-libsanitizer
33956 install-pdf-target-libsanitizer: \
33957 configure-target-libsanitizer \
33958 pdf-target-libsanitizer
33959 @: $(MAKE); $(unstage)
33960 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33961 r=`${PWD_COMMAND}`; export r; \
33962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33963 $(RAW_CXX_TARGET_EXPORTS) \
33964 echo "Doing install-pdf in $(TARGET_SUBDIR)/libsanitizer" ; \
33965 for flag in $(EXTRA_TARGET_FLAGS); do \
33966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33967 done; \
33968 (cd $(TARGET_SUBDIR)/libsanitizer && \
33969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33971 "RANLIB=$${RANLIB}" \
33972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33973 install-pdf) \
33974 || exit 1
33976 @endif target-libsanitizer
33978 .PHONY: maybe-install-html-target-libsanitizer install-html-target-libsanitizer
33979 maybe-install-html-target-libsanitizer:
33980 @if target-libsanitizer
33981 maybe-install-html-target-libsanitizer: install-html-target-libsanitizer
33983 install-html-target-libsanitizer: \
33984 configure-target-libsanitizer \
33985 html-target-libsanitizer
33986 @: $(MAKE); $(unstage)
33987 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33988 r=`${PWD_COMMAND}`; export r; \
33989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33990 $(RAW_CXX_TARGET_EXPORTS) \
33991 echo "Doing install-html in $(TARGET_SUBDIR)/libsanitizer" ; \
33992 for flag in $(EXTRA_TARGET_FLAGS); do \
33993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33994 done; \
33995 (cd $(TARGET_SUBDIR)/libsanitizer && \
33996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33998 "RANLIB=$${RANLIB}" \
33999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34000 install-html) \
34001 || exit 1
34003 @endif target-libsanitizer
34005 .PHONY: maybe-installcheck-target-libsanitizer installcheck-target-libsanitizer
34006 maybe-installcheck-target-libsanitizer:
34007 @if target-libsanitizer
34008 maybe-installcheck-target-libsanitizer: installcheck-target-libsanitizer
34010 installcheck-target-libsanitizer: \
34011 configure-target-libsanitizer
34012 @: $(MAKE); $(unstage)
34013 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
34014 r=`${PWD_COMMAND}`; export r; \
34015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34016 $(RAW_CXX_TARGET_EXPORTS) \
34017 echo "Doing installcheck in $(TARGET_SUBDIR)/libsanitizer" ; \
34018 for flag in $(EXTRA_TARGET_FLAGS); do \
34019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34020 done; \
34021 (cd $(TARGET_SUBDIR)/libsanitizer && \
34022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34024 "RANLIB=$${RANLIB}" \
34025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34026 installcheck) \
34027 || exit 1
34029 @endif target-libsanitizer
34031 .PHONY: maybe-mostlyclean-target-libsanitizer mostlyclean-target-libsanitizer
34032 maybe-mostlyclean-target-libsanitizer:
34033 @if target-libsanitizer
34034 maybe-mostlyclean-target-libsanitizer: mostlyclean-target-libsanitizer
34036 mostlyclean-target-libsanitizer:
34037 @: $(MAKE); $(unstage)
34038 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
34039 r=`${PWD_COMMAND}`; export r; \
34040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34041 $(RAW_CXX_TARGET_EXPORTS) \
34042 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libsanitizer" ; \
34043 for flag in $(EXTRA_TARGET_FLAGS); do \
34044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34045 done; \
34046 (cd $(TARGET_SUBDIR)/libsanitizer && \
34047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34049 "RANLIB=$${RANLIB}" \
34050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34051 mostlyclean) \
34052 || exit 1
34054 @endif target-libsanitizer
34056 .PHONY: maybe-clean-target-libsanitizer clean-target-libsanitizer
34057 maybe-clean-target-libsanitizer:
34058 @if target-libsanitizer
34059 maybe-clean-target-libsanitizer: clean-target-libsanitizer
34061 clean-target-libsanitizer:
34062 @: $(MAKE); $(unstage)
34063 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
34064 r=`${PWD_COMMAND}`; export r; \
34065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34066 $(RAW_CXX_TARGET_EXPORTS) \
34067 echo "Doing clean in $(TARGET_SUBDIR)/libsanitizer" ; \
34068 for flag in $(EXTRA_TARGET_FLAGS); do \
34069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34070 done; \
34071 (cd $(TARGET_SUBDIR)/libsanitizer && \
34072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34074 "RANLIB=$${RANLIB}" \
34075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34076 clean) \
34077 || exit 1
34079 @endif target-libsanitizer
34081 .PHONY: maybe-distclean-target-libsanitizer distclean-target-libsanitizer
34082 maybe-distclean-target-libsanitizer:
34083 @if target-libsanitizer
34084 maybe-distclean-target-libsanitizer: distclean-target-libsanitizer
34086 distclean-target-libsanitizer:
34087 @: $(MAKE); $(unstage)
34088 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
34089 r=`${PWD_COMMAND}`; export r; \
34090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34091 $(RAW_CXX_TARGET_EXPORTS) \
34092 echo "Doing distclean in $(TARGET_SUBDIR)/libsanitizer" ; \
34093 for flag in $(EXTRA_TARGET_FLAGS); do \
34094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34095 done; \
34096 (cd $(TARGET_SUBDIR)/libsanitizer && \
34097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34099 "RANLIB=$${RANLIB}" \
34100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34101 distclean) \
34102 || exit 1
34104 @endif target-libsanitizer
34106 .PHONY: maybe-maintainer-clean-target-libsanitizer maintainer-clean-target-libsanitizer
34107 maybe-maintainer-clean-target-libsanitizer:
34108 @if target-libsanitizer
34109 maybe-maintainer-clean-target-libsanitizer: maintainer-clean-target-libsanitizer
34111 maintainer-clean-target-libsanitizer:
34112 @: $(MAKE); $(unstage)
34113 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
34114 r=`${PWD_COMMAND}`; export r; \
34115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34116 $(RAW_CXX_TARGET_EXPORTS) \
34117 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libsanitizer" ; \
34118 for flag in $(EXTRA_TARGET_FLAGS); do \
34119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34120 done; \
34121 (cd $(TARGET_SUBDIR)/libsanitizer && \
34122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34124 "RANLIB=$${RANLIB}" \
34125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34126 maintainer-clean) \
34127 || exit 1
34129 @endif target-libsanitizer
34135 .PHONY: configure-target-libvtv maybe-configure-target-libvtv
34136 maybe-configure-target-libvtv:
34137 @if gcc-bootstrap
34138 configure-target-libvtv: stage_current
34139 @endif gcc-bootstrap
34140 @if target-libvtv
34141 maybe-configure-target-libvtv: configure-target-libvtv
34142 configure-target-libvtv:
34143 @r=`${PWD_COMMAND}`; export r; \
34144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34145 echo "Checking multilib configuration for libvtv..."; \
34146 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
34147 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
34148 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34149 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34150 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
34151 else \
34152 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
34153 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34154 fi; \
34155 else \
34156 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34157 fi; \
34158 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
34159 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
34160 $(RAW_CXX_TARGET_EXPORTS) \
34161 echo Configuring in $(TARGET_SUBDIR)/libvtv; \
34162 cd "$(TARGET_SUBDIR)/libvtv" || exit 1; \
34163 case $(srcdir) in \
34164 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34165 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
34166 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34167 esac; \
34168 module_srcdir=libvtv; \
34169 rm -f no-such-file || : ; \
34170 CONFIG_SITE=no-such-file $(SHELL) \
34171 $$s/$$module_srcdir/configure \
34172 --srcdir=$${topdir}/$$module_srcdir \
34173 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34174 --target=${target_alias} \
34175 || exit 1
34176 @endif target-libvtv
34180 .PHONY: configure-stage1-target-libvtv maybe-configure-stage1-target-libvtv
34181 maybe-configure-stage1-target-libvtv:
34182 @if target-libvtv-bootstrap
34183 maybe-configure-stage1-target-libvtv: configure-stage1-target-libvtv
34184 configure-stage1-target-libvtv:
34185 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
34186 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
34187 @r=`${PWD_COMMAND}`; export r; \
34188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34189 TFLAGS="$(STAGE1_TFLAGS)"; \
34190 echo "Checking multilib configuration for libvtv..."; \
34191 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
34192 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34193 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34194 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
34195 else \
34196 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
34197 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34198 fi; \
34199 else \
34200 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34201 fi; \
34202 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
34203 $(RAW_CXX_TARGET_EXPORTS) \
34204 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34205 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34206 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34207 echo Configuring stage 1 in $(TARGET_SUBDIR)/libvtv ; \
34208 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
34209 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
34210 case $(srcdir) in \
34211 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34212 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
34213 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34214 esac; \
34215 module_srcdir=libvtv; \
34216 $(SHELL) $$s/$$module_srcdir/configure \
34217 --srcdir=$${topdir}/$$module_srcdir \
34218 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34219 --target=${target_alias} \
34221 $(STAGE1_CONFIGURE_FLAGS)
34222 @endif target-libvtv-bootstrap
34224 .PHONY: configure-stage2-target-libvtv maybe-configure-stage2-target-libvtv
34225 maybe-configure-stage2-target-libvtv:
34226 @if target-libvtv-bootstrap
34227 maybe-configure-stage2-target-libvtv: configure-stage2-target-libvtv
34228 configure-stage2-target-libvtv:
34229 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
34230 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
34231 @r=`${PWD_COMMAND}`; export r; \
34232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34233 TFLAGS="$(STAGE2_TFLAGS)"; \
34234 echo "Checking multilib configuration for libvtv..."; \
34235 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
34236 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34237 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34238 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
34239 else \
34240 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
34241 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34242 fi; \
34243 else \
34244 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34245 fi; \
34246 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
34247 $(RAW_CXX_TARGET_EXPORTS) \
34249 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34250 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34251 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34252 echo Configuring stage 2 in $(TARGET_SUBDIR)/libvtv ; \
34253 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
34254 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
34255 case $(srcdir) in \
34256 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34257 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
34258 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34259 esac; \
34260 module_srcdir=libvtv; \
34261 $(SHELL) $$s/$$module_srcdir/configure \
34262 --srcdir=$${topdir}/$$module_srcdir \
34263 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34264 --target=${target_alias} \
34265 --with-build-libsubdir=$(HOST_SUBDIR) \
34266 $(STAGE2_CONFIGURE_FLAGS)
34267 @endif target-libvtv-bootstrap
34269 .PHONY: configure-stage3-target-libvtv maybe-configure-stage3-target-libvtv
34270 maybe-configure-stage3-target-libvtv:
34271 @if target-libvtv-bootstrap
34272 maybe-configure-stage3-target-libvtv: configure-stage3-target-libvtv
34273 configure-stage3-target-libvtv:
34274 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
34275 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
34276 @r=`${PWD_COMMAND}`; export r; \
34277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34278 TFLAGS="$(STAGE3_TFLAGS)"; \
34279 echo "Checking multilib configuration for libvtv..."; \
34280 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
34281 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34282 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34283 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
34284 else \
34285 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
34286 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34287 fi; \
34288 else \
34289 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34290 fi; \
34291 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
34292 $(RAW_CXX_TARGET_EXPORTS) \
34294 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34295 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34296 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34297 echo Configuring stage 3 in $(TARGET_SUBDIR)/libvtv ; \
34298 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
34299 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
34300 case $(srcdir) in \
34301 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34302 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
34303 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34304 esac; \
34305 module_srcdir=libvtv; \
34306 $(SHELL) $$s/$$module_srcdir/configure \
34307 --srcdir=$${topdir}/$$module_srcdir \
34308 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34309 --target=${target_alias} \
34310 --with-build-libsubdir=$(HOST_SUBDIR) \
34311 $(STAGE3_CONFIGURE_FLAGS)
34312 @endif target-libvtv-bootstrap
34314 .PHONY: configure-stage4-target-libvtv maybe-configure-stage4-target-libvtv
34315 maybe-configure-stage4-target-libvtv:
34316 @if target-libvtv-bootstrap
34317 maybe-configure-stage4-target-libvtv: configure-stage4-target-libvtv
34318 configure-stage4-target-libvtv:
34319 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
34320 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
34321 @r=`${PWD_COMMAND}`; export r; \
34322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34323 TFLAGS="$(STAGE4_TFLAGS)"; \
34324 echo "Checking multilib configuration for libvtv..."; \
34325 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
34326 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34327 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34328 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
34329 else \
34330 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
34331 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34332 fi; \
34333 else \
34334 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34335 fi; \
34336 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
34337 $(RAW_CXX_TARGET_EXPORTS) \
34339 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34340 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34341 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34342 echo Configuring stage 4 in $(TARGET_SUBDIR)/libvtv ; \
34343 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
34344 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
34345 case $(srcdir) in \
34346 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34347 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
34348 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34349 esac; \
34350 module_srcdir=libvtv; \
34351 $(SHELL) $$s/$$module_srcdir/configure \
34352 --srcdir=$${topdir}/$$module_srcdir \
34353 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34354 --target=${target_alias} \
34355 --with-build-libsubdir=$(HOST_SUBDIR) \
34356 $(STAGE4_CONFIGURE_FLAGS)
34357 @endif target-libvtv-bootstrap
34359 .PHONY: configure-stageprofile-target-libvtv maybe-configure-stageprofile-target-libvtv
34360 maybe-configure-stageprofile-target-libvtv:
34361 @if target-libvtv-bootstrap
34362 maybe-configure-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
34363 configure-stageprofile-target-libvtv:
34364 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
34365 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
34366 @r=`${PWD_COMMAND}`; export r; \
34367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34368 TFLAGS="$(STAGEprofile_TFLAGS)"; \
34369 echo "Checking multilib configuration for libvtv..."; \
34370 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
34371 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34372 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34373 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
34374 else \
34375 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
34376 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34377 fi; \
34378 else \
34379 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34380 fi; \
34381 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
34382 $(RAW_CXX_TARGET_EXPORTS) \
34384 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34385 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34386 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34387 echo Configuring stage profile in $(TARGET_SUBDIR)/libvtv ; \
34388 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
34389 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
34390 case $(srcdir) in \
34391 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34392 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
34393 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34394 esac; \
34395 module_srcdir=libvtv; \
34396 $(SHELL) $$s/$$module_srcdir/configure \
34397 --srcdir=$${topdir}/$$module_srcdir \
34398 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34399 --target=${target_alias} \
34400 --with-build-libsubdir=$(HOST_SUBDIR) \
34401 $(STAGEprofile_CONFIGURE_FLAGS)
34402 @endif target-libvtv-bootstrap
34404 .PHONY: configure-stagefeedback-target-libvtv maybe-configure-stagefeedback-target-libvtv
34405 maybe-configure-stagefeedback-target-libvtv:
34406 @if target-libvtv-bootstrap
34407 maybe-configure-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
34408 configure-stagefeedback-target-libvtv:
34409 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
34410 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
34411 @r=`${PWD_COMMAND}`; export r; \
34412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34413 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
34414 echo "Checking multilib configuration for libvtv..."; \
34415 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
34416 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34417 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34418 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
34419 else \
34420 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
34421 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34422 fi; \
34423 else \
34424 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34425 fi; \
34426 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
34427 $(RAW_CXX_TARGET_EXPORTS) \
34429 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34430 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34431 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34432 echo Configuring stage feedback in $(TARGET_SUBDIR)/libvtv ; \
34433 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
34434 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
34435 case $(srcdir) in \
34436 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34437 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
34438 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34439 esac; \
34440 module_srcdir=libvtv; \
34441 $(SHELL) $$s/$$module_srcdir/configure \
34442 --srcdir=$${topdir}/$$module_srcdir \
34443 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34444 --target=${target_alias} \
34445 --with-build-libsubdir=$(HOST_SUBDIR) \
34446 $(STAGEfeedback_CONFIGURE_FLAGS)
34447 @endif target-libvtv-bootstrap
34453 .PHONY: all-target-libvtv maybe-all-target-libvtv
34454 maybe-all-target-libvtv:
34455 @if gcc-bootstrap
34456 all-target-libvtv: stage_current
34457 @endif gcc-bootstrap
34458 @if target-libvtv
34459 TARGET-target-libvtv=all
34460 maybe-all-target-libvtv: all-target-libvtv
34461 all-target-libvtv: configure-target-libvtv
34462 @r=`${PWD_COMMAND}`; export r; \
34463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34464 $(RAW_CXX_TARGET_EXPORTS) \
34465 (cd $(TARGET_SUBDIR)/libvtv && \
34466 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34467 $(TARGET-target-libvtv))
34468 @endif target-libvtv
34472 .PHONY: all-stage1-target-libvtv maybe-all-stage1-target-libvtv
34473 .PHONY: clean-stage1-target-libvtv maybe-clean-stage1-target-libvtv
34474 maybe-all-stage1-target-libvtv:
34475 maybe-clean-stage1-target-libvtv:
34476 @if target-libvtv-bootstrap
34477 maybe-all-stage1-target-libvtv: all-stage1-target-libvtv
34478 all-stage1: all-stage1-target-libvtv
34479 TARGET-stage1-target-libvtv = $(TARGET-target-libvtv)
34480 all-stage1-target-libvtv: configure-stage1-target-libvtv
34481 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
34482 @r=`${PWD_COMMAND}`; export r; \
34483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34484 TFLAGS="$(STAGE1_TFLAGS)"; \
34485 $(RAW_CXX_TARGET_EXPORTS) \
34486 cd $(TARGET_SUBDIR)/libvtv && \
34487 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34488 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34489 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34490 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34491 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34492 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34493 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34494 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34496 TFLAGS="$(STAGE1_TFLAGS)" \
34497 $(TARGET-stage1-target-libvtv)
34499 maybe-clean-stage1-target-libvtv: clean-stage1-target-libvtv
34500 clean-stage1: clean-stage1-target-libvtv
34501 clean-stage1-target-libvtv:
34502 @if [ $(current_stage) = stage1 ]; then \
34503 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
34504 else \
34505 [ -f $(TARGET_SUBDIR)/stage1-libvtv/Makefile ] || exit 0; \
34506 $(MAKE) stage1-start; \
34507 fi; \
34508 cd $(TARGET_SUBDIR)/libvtv && \
34509 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34510 clean
34511 @endif target-libvtv-bootstrap
34514 .PHONY: all-stage2-target-libvtv maybe-all-stage2-target-libvtv
34515 .PHONY: clean-stage2-target-libvtv maybe-clean-stage2-target-libvtv
34516 maybe-all-stage2-target-libvtv:
34517 maybe-clean-stage2-target-libvtv:
34518 @if target-libvtv-bootstrap
34519 maybe-all-stage2-target-libvtv: all-stage2-target-libvtv
34520 all-stage2: all-stage2-target-libvtv
34521 TARGET-stage2-target-libvtv = $(TARGET-target-libvtv)
34522 all-stage2-target-libvtv: configure-stage2-target-libvtv
34523 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
34524 @r=`${PWD_COMMAND}`; export r; \
34525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34526 TFLAGS="$(STAGE2_TFLAGS)"; \
34527 $(RAW_CXX_TARGET_EXPORTS) \
34529 cd $(TARGET_SUBDIR)/libvtv && \
34530 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34531 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34532 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34533 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34534 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34535 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34536 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34537 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34538 TFLAGS="$(STAGE2_TFLAGS)" \
34539 $(TARGET-stage2-target-libvtv)
34541 maybe-clean-stage2-target-libvtv: clean-stage2-target-libvtv
34542 clean-stage2: clean-stage2-target-libvtv
34543 clean-stage2-target-libvtv:
34544 @if [ $(current_stage) = stage2 ]; then \
34545 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
34546 else \
34547 [ -f $(TARGET_SUBDIR)/stage2-libvtv/Makefile ] || exit 0; \
34548 $(MAKE) stage2-start; \
34549 fi; \
34550 cd $(TARGET_SUBDIR)/libvtv && \
34551 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
34552 @endif target-libvtv-bootstrap
34555 .PHONY: all-stage3-target-libvtv maybe-all-stage3-target-libvtv
34556 .PHONY: clean-stage3-target-libvtv maybe-clean-stage3-target-libvtv
34557 maybe-all-stage3-target-libvtv:
34558 maybe-clean-stage3-target-libvtv:
34559 @if target-libvtv-bootstrap
34560 maybe-all-stage3-target-libvtv: all-stage3-target-libvtv
34561 all-stage3: all-stage3-target-libvtv
34562 TARGET-stage3-target-libvtv = $(TARGET-target-libvtv)
34563 all-stage3-target-libvtv: configure-stage3-target-libvtv
34564 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
34565 @r=`${PWD_COMMAND}`; export r; \
34566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34567 TFLAGS="$(STAGE3_TFLAGS)"; \
34568 $(RAW_CXX_TARGET_EXPORTS) \
34570 cd $(TARGET_SUBDIR)/libvtv && \
34571 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34572 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34573 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34574 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34575 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34576 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34577 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34578 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34579 TFLAGS="$(STAGE3_TFLAGS)" \
34580 $(TARGET-stage3-target-libvtv)
34582 maybe-clean-stage3-target-libvtv: clean-stage3-target-libvtv
34583 clean-stage3: clean-stage3-target-libvtv
34584 clean-stage3-target-libvtv:
34585 @if [ $(current_stage) = stage3 ]; then \
34586 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
34587 else \
34588 [ -f $(TARGET_SUBDIR)/stage3-libvtv/Makefile ] || exit 0; \
34589 $(MAKE) stage3-start; \
34590 fi; \
34591 cd $(TARGET_SUBDIR)/libvtv && \
34592 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
34593 @endif target-libvtv-bootstrap
34596 .PHONY: all-stage4-target-libvtv maybe-all-stage4-target-libvtv
34597 .PHONY: clean-stage4-target-libvtv maybe-clean-stage4-target-libvtv
34598 maybe-all-stage4-target-libvtv:
34599 maybe-clean-stage4-target-libvtv:
34600 @if target-libvtv-bootstrap
34601 maybe-all-stage4-target-libvtv: all-stage4-target-libvtv
34602 all-stage4: all-stage4-target-libvtv
34603 TARGET-stage4-target-libvtv = $(TARGET-target-libvtv)
34604 all-stage4-target-libvtv: configure-stage4-target-libvtv
34605 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
34606 @r=`${PWD_COMMAND}`; export r; \
34607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34608 TFLAGS="$(STAGE4_TFLAGS)"; \
34609 $(RAW_CXX_TARGET_EXPORTS) \
34611 cd $(TARGET_SUBDIR)/libvtv && \
34612 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34613 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34614 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34615 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34616 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34617 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34618 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34619 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34620 TFLAGS="$(STAGE4_TFLAGS)" \
34621 $(TARGET-stage4-target-libvtv)
34623 maybe-clean-stage4-target-libvtv: clean-stage4-target-libvtv
34624 clean-stage4: clean-stage4-target-libvtv
34625 clean-stage4-target-libvtv:
34626 @if [ $(current_stage) = stage4 ]; then \
34627 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
34628 else \
34629 [ -f $(TARGET_SUBDIR)/stage4-libvtv/Makefile ] || exit 0; \
34630 $(MAKE) stage4-start; \
34631 fi; \
34632 cd $(TARGET_SUBDIR)/libvtv && \
34633 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
34634 @endif target-libvtv-bootstrap
34637 .PHONY: all-stageprofile-target-libvtv maybe-all-stageprofile-target-libvtv
34638 .PHONY: clean-stageprofile-target-libvtv maybe-clean-stageprofile-target-libvtv
34639 maybe-all-stageprofile-target-libvtv:
34640 maybe-clean-stageprofile-target-libvtv:
34641 @if target-libvtv-bootstrap
34642 maybe-all-stageprofile-target-libvtv: all-stageprofile-target-libvtv
34643 all-stageprofile: all-stageprofile-target-libvtv
34644 TARGET-stageprofile-target-libvtv = $(TARGET-target-libvtv)
34645 all-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
34646 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
34647 @r=`${PWD_COMMAND}`; export r; \
34648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34649 TFLAGS="$(STAGEprofile_TFLAGS)"; \
34650 $(RAW_CXX_TARGET_EXPORTS) \
34652 cd $(TARGET_SUBDIR)/libvtv && \
34653 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34654 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34655 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34656 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34657 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34658 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34659 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34660 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34661 TFLAGS="$(STAGEprofile_TFLAGS)" \
34662 $(TARGET-stageprofile-target-libvtv)
34664 maybe-clean-stageprofile-target-libvtv: clean-stageprofile-target-libvtv
34665 clean-stageprofile: clean-stageprofile-target-libvtv
34666 clean-stageprofile-target-libvtv:
34667 @if [ $(current_stage) = stageprofile ]; then \
34668 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
34669 else \
34670 [ -f $(TARGET_SUBDIR)/stageprofile-libvtv/Makefile ] || exit 0; \
34671 $(MAKE) stageprofile-start; \
34672 fi; \
34673 cd $(TARGET_SUBDIR)/libvtv && \
34674 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
34675 @endif target-libvtv-bootstrap
34678 .PHONY: all-stagefeedback-target-libvtv maybe-all-stagefeedback-target-libvtv
34679 .PHONY: clean-stagefeedback-target-libvtv maybe-clean-stagefeedback-target-libvtv
34680 maybe-all-stagefeedback-target-libvtv:
34681 maybe-clean-stagefeedback-target-libvtv:
34682 @if target-libvtv-bootstrap
34683 maybe-all-stagefeedback-target-libvtv: all-stagefeedback-target-libvtv
34684 all-stagefeedback: all-stagefeedback-target-libvtv
34685 TARGET-stagefeedback-target-libvtv = $(TARGET-target-libvtv)
34686 all-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
34687 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
34688 @r=`${PWD_COMMAND}`; export r; \
34689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34690 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
34691 $(RAW_CXX_TARGET_EXPORTS) \
34693 cd $(TARGET_SUBDIR)/libvtv && \
34694 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34695 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34696 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34697 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34698 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34699 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34700 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34701 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34702 TFLAGS="$(STAGEfeedback_TFLAGS)" \
34703 $(TARGET-stagefeedback-target-libvtv)
34705 maybe-clean-stagefeedback-target-libvtv: clean-stagefeedback-target-libvtv
34706 clean-stagefeedback: clean-stagefeedback-target-libvtv
34707 clean-stagefeedback-target-libvtv:
34708 @if [ $(current_stage) = stagefeedback ]; then \
34709 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
34710 else \
34711 [ -f $(TARGET_SUBDIR)/stagefeedback-libvtv/Makefile ] || exit 0; \
34712 $(MAKE) stagefeedback-start; \
34713 fi; \
34714 cd $(TARGET_SUBDIR)/libvtv && \
34715 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
34716 @endif target-libvtv-bootstrap
34723 .PHONY: check-target-libvtv maybe-check-target-libvtv
34724 maybe-check-target-libvtv:
34725 @if target-libvtv
34726 maybe-check-target-libvtv: check-target-libvtv
34728 check-target-libvtv:
34729 @: $(MAKE); $(unstage)
34730 @r=`${PWD_COMMAND}`; export r; \
34731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34732 $(RAW_CXX_TARGET_EXPORTS) \
34733 (cd $(TARGET_SUBDIR)/libvtv && \
34734 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
34736 @endif target-libvtv
34738 .PHONY: install-target-libvtv maybe-install-target-libvtv
34739 maybe-install-target-libvtv:
34740 @if target-libvtv
34741 maybe-install-target-libvtv: install-target-libvtv
34743 install-target-libvtv: installdirs
34744 @: $(MAKE); $(unstage)
34745 @r=`${PWD_COMMAND}`; export r; \
34746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34747 $(RAW_CXX_TARGET_EXPORTS) \
34748 (cd $(TARGET_SUBDIR)/libvtv && \
34749 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34751 @endif target-libvtv
34753 .PHONY: install-strip-target-libvtv maybe-install-strip-target-libvtv
34754 maybe-install-strip-target-libvtv:
34755 @if target-libvtv
34756 maybe-install-strip-target-libvtv: install-strip-target-libvtv
34758 install-strip-target-libvtv: installdirs
34759 @: $(MAKE); $(unstage)
34760 @r=`${PWD_COMMAND}`; export r; \
34761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34762 $(RAW_CXX_TARGET_EXPORTS) \
34763 (cd $(TARGET_SUBDIR)/libvtv && \
34764 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
34766 @endif target-libvtv
34768 # Other targets (info, dvi, pdf, etc.)
34770 .PHONY: maybe-info-target-libvtv info-target-libvtv
34771 maybe-info-target-libvtv:
34772 @if target-libvtv
34773 maybe-info-target-libvtv: info-target-libvtv
34775 info-target-libvtv: \
34776 configure-target-libvtv
34777 @: $(MAKE); $(unstage)
34778 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34779 r=`${PWD_COMMAND}`; export r; \
34780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34781 $(RAW_CXX_TARGET_EXPORTS) \
34782 echo "Doing info in $(TARGET_SUBDIR)/libvtv" ; \
34783 for flag in $(EXTRA_TARGET_FLAGS); do \
34784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34785 done; \
34786 (cd $(TARGET_SUBDIR)/libvtv && \
34787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34789 "RANLIB=$${RANLIB}" \
34790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34791 info) \
34792 || exit 1
34794 @endif target-libvtv
34796 .PHONY: maybe-dvi-target-libvtv dvi-target-libvtv
34797 maybe-dvi-target-libvtv:
34798 @if target-libvtv
34799 maybe-dvi-target-libvtv: dvi-target-libvtv
34801 dvi-target-libvtv: \
34802 configure-target-libvtv
34803 @: $(MAKE); $(unstage)
34804 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34805 r=`${PWD_COMMAND}`; export r; \
34806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34807 $(RAW_CXX_TARGET_EXPORTS) \
34808 echo "Doing dvi in $(TARGET_SUBDIR)/libvtv" ; \
34809 for flag in $(EXTRA_TARGET_FLAGS); do \
34810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34811 done; \
34812 (cd $(TARGET_SUBDIR)/libvtv && \
34813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34815 "RANLIB=$${RANLIB}" \
34816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34817 dvi) \
34818 || exit 1
34820 @endif target-libvtv
34822 .PHONY: maybe-pdf-target-libvtv pdf-target-libvtv
34823 maybe-pdf-target-libvtv:
34824 @if target-libvtv
34825 maybe-pdf-target-libvtv: pdf-target-libvtv
34827 pdf-target-libvtv: \
34828 configure-target-libvtv
34829 @: $(MAKE); $(unstage)
34830 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34831 r=`${PWD_COMMAND}`; export r; \
34832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34833 $(RAW_CXX_TARGET_EXPORTS) \
34834 echo "Doing pdf in $(TARGET_SUBDIR)/libvtv" ; \
34835 for flag in $(EXTRA_TARGET_FLAGS); do \
34836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34837 done; \
34838 (cd $(TARGET_SUBDIR)/libvtv && \
34839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34841 "RANLIB=$${RANLIB}" \
34842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34843 pdf) \
34844 || exit 1
34846 @endif target-libvtv
34848 .PHONY: maybe-html-target-libvtv html-target-libvtv
34849 maybe-html-target-libvtv:
34850 @if target-libvtv
34851 maybe-html-target-libvtv: html-target-libvtv
34853 html-target-libvtv: \
34854 configure-target-libvtv
34855 @: $(MAKE); $(unstage)
34856 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34857 r=`${PWD_COMMAND}`; export r; \
34858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34859 $(RAW_CXX_TARGET_EXPORTS) \
34860 echo "Doing html in $(TARGET_SUBDIR)/libvtv" ; \
34861 for flag in $(EXTRA_TARGET_FLAGS); do \
34862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34863 done; \
34864 (cd $(TARGET_SUBDIR)/libvtv && \
34865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34867 "RANLIB=$${RANLIB}" \
34868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34869 html) \
34870 || exit 1
34872 @endif target-libvtv
34874 .PHONY: maybe-TAGS-target-libvtv TAGS-target-libvtv
34875 maybe-TAGS-target-libvtv:
34876 @if target-libvtv
34877 maybe-TAGS-target-libvtv: TAGS-target-libvtv
34879 TAGS-target-libvtv: \
34880 configure-target-libvtv
34881 @: $(MAKE); $(unstage)
34882 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34883 r=`${PWD_COMMAND}`; export r; \
34884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34885 $(RAW_CXX_TARGET_EXPORTS) \
34886 echo "Doing TAGS in $(TARGET_SUBDIR)/libvtv" ; \
34887 for flag in $(EXTRA_TARGET_FLAGS); do \
34888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34889 done; \
34890 (cd $(TARGET_SUBDIR)/libvtv && \
34891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34893 "RANLIB=$${RANLIB}" \
34894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34895 TAGS) \
34896 || exit 1
34898 @endif target-libvtv
34900 .PHONY: maybe-install-info-target-libvtv install-info-target-libvtv
34901 maybe-install-info-target-libvtv:
34902 @if target-libvtv
34903 maybe-install-info-target-libvtv: install-info-target-libvtv
34905 install-info-target-libvtv: \
34906 configure-target-libvtv \
34907 info-target-libvtv
34908 @: $(MAKE); $(unstage)
34909 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34910 r=`${PWD_COMMAND}`; export r; \
34911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34912 $(RAW_CXX_TARGET_EXPORTS) \
34913 echo "Doing install-info in $(TARGET_SUBDIR)/libvtv" ; \
34914 for flag in $(EXTRA_TARGET_FLAGS); do \
34915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34916 done; \
34917 (cd $(TARGET_SUBDIR)/libvtv && \
34918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34920 "RANLIB=$${RANLIB}" \
34921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34922 install-info) \
34923 || exit 1
34925 @endif target-libvtv
34927 .PHONY: maybe-install-pdf-target-libvtv install-pdf-target-libvtv
34928 maybe-install-pdf-target-libvtv:
34929 @if target-libvtv
34930 maybe-install-pdf-target-libvtv: install-pdf-target-libvtv
34932 install-pdf-target-libvtv: \
34933 configure-target-libvtv \
34934 pdf-target-libvtv
34935 @: $(MAKE); $(unstage)
34936 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34937 r=`${PWD_COMMAND}`; export r; \
34938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34939 $(RAW_CXX_TARGET_EXPORTS) \
34940 echo "Doing install-pdf in $(TARGET_SUBDIR)/libvtv" ; \
34941 for flag in $(EXTRA_TARGET_FLAGS); do \
34942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34943 done; \
34944 (cd $(TARGET_SUBDIR)/libvtv && \
34945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34947 "RANLIB=$${RANLIB}" \
34948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34949 install-pdf) \
34950 || exit 1
34952 @endif target-libvtv
34954 .PHONY: maybe-install-html-target-libvtv install-html-target-libvtv
34955 maybe-install-html-target-libvtv:
34956 @if target-libvtv
34957 maybe-install-html-target-libvtv: install-html-target-libvtv
34959 install-html-target-libvtv: \
34960 configure-target-libvtv \
34961 html-target-libvtv
34962 @: $(MAKE); $(unstage)
34963 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34964 r=`${PWD_COMMAND}`; export r; \
34965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34966 $(RAW_CXX_TARGET_EXPORTS) \
34967 echo "Doing install-html in $(TARGET_SUBDIR)/libvtv" ; \
34968 for flag in $(EXTRA_TARGET_FLAGS); do \
34969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34970 done; \
34971 (cd $(TARGET_SUBDIR)/libvtv && \
34972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34974 "RANLIB=$${RANLIB}" \
34975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34976 install-html) \
34977 || exit 1
34979 @endif target-libvtv
34981 .PHONY: maybe-installcheck-target-libvtv installcheck-target-libvtv
34982 maybe-installcheck-target-libvtv:
34983 @if target-libvtv
34984 maybe-installcheck-target-libvtv: installcheck-target-libvtv
34986 installcheck-target-libvtv: \
34987 configure-target-libvtv
34988 @: $(MAKE); $(unstage)
34989 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34990 r=`${PWD_COMMAND}`; export r; \
34991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34992 $(RAW_CXX_TARGET_EXPORTS) \
34993 echo "Doing installcheck in $(TARGET_SUBDIR)/libvtv" ; \
34994 for flag in $(EXTRA_TARGET_FLAGS); do \
34995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34996 done; \
34997 (cd $(TARGET_SUBDIR)/libvtv && \
34998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35000 "RANLIB=$${RANLIB}" \
35001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35002 installcheck) \
35003 || exit 1
35005 @endif target-libvtv
35007 .PHONY: maybe-mostlyclean-target-libvtv mostlyclean-target-libvtv
35008 maybe-mostlyclean-target-libvtv:
35009 @if target-libvtv
35010 maybe-mostlyclean-target-libvtv: mostlyclean-target-libvtv
35012 mostlyclean-target-libvtv:
35013 @: $(MAKE); $(unstage)
35014 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
35015 r=`${PWD_COMMAND}`; export r; \
35016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35017 $(RAW_CXX_TARGET_EXPORTS) \
35018 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libvtv" ; \
35019 for flag in $(EXTRA_TARGET_FLAGS); do \
35020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35021 done; \
35022 (cd $(TARGET_SUBDIR)/libvtv && \
35023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35025 "RANLIB=$${RANLIB}" \
35026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35027 mostlyclean) \
35028 || exit 1
35030 @endif target-libvtv
35032 .PHONY: maybe-clean-target-libvtv clean-target-libvtv
35033 maybe-clean-target-libvtv:
35034 @if target-libvtv
35035 maybe-clean-target-libvtv: clean-target-libvtv
35037 clean-target-libvtv:
35038 @: $(MAKE); $(unstage)
35039 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
35040 r=`${PWD_COMMAND}`; export r; \
35041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35042 $(RAW_CXX_TARGET_EXPORTS) \
35043 echo "Doing clean in $(TARGET_SUBDIR)/libvtv" ; \
35044 for flag in $(EXTRA_TARGET_FLAGS); do \
35045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35046 done; \
35047 (cd $(TARGET_SUBDIR)/libvtv && \
35048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35050 "RANLIB=$${RANLIB}" \
35051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35052 clean) \
35053 || exit 1
35055 @endif target-libvtv
35057 .PHONY: maybe-distclean-target-libvtv distclean-target-libvtv
35058 maybe-distclean-target-libvtv:
35059 @if target-libvtv
35060 maybe-distclean-target-libvtv: distclean-target-libvtv
35062 distclean-target-libvtv:
35063 @: $(MAKE); $(unstage)
35064 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
35065 r=`${PWD_COMMAND}`; export r; \
35066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35067 $(RAW_CXX_TARGET_EXPORTS) \
35068 echo "Doing distclean in $(TARGET_SUBDIR)/libvtv" ; \
35069 for flag in $(EXTRA_TARGET_FLAGS); do \
35070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35071 done; \
35072 (cd $(TARGET_SUBDIR)/libvtv && \
35073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35075 "RANLIB=$${RANLIB}" \
35076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35077 distclean) \
35078 || exit 1
35080 @endif target-libvtv
35082 .PHONY: maybe-maintainer-clean-target-libvtv maintainer-clean-target-libvtv
35083 maybe-maintainer-clean-target-libvtv:
35084 @if target-libvtv
35085 maybe-maintainer-clean-target-libvtv: maintainer-clean-target-libvtv
35087 maintainer-clean-target-libvtv:
35088 @: $(MAKE); $(unstage)
35089 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
35090 r=`${PWD_COMMAND}`; export r; \
35091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35092 $(RAW_CXX_TARGET_EXPORTS) \
35093 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libvtv" ; \
35094 for flag in $(EXTRA_TARGET_FLAGS); do \
35095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35096 done; \
35097 (cd $(TARGET_SUBDIR)/libvtv && \
35098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35100 "RANLIB=$${RANLIB}" \
35101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35102 maintainer-clean) \
35103 || exit 1
35105 @endif target-libvtv
35111 .PHONY: configure-target-libcilkrts maybe-configure-target-libcilkrts
35112 maybe-configure-target-libcilkrts:
35113 @if gcc-bootstrap
35114 configure-target-libcilkrts: stage_current
35115 @endif gcc-bootstrap
35116 @if target-libcilkrts
35117 maybe-configure-target-libcilkrts: configure-target-libcilkrts
35118 configure-target-libcilkrts:
35119 @: $(MAKE); $(unstage)
35120 @r=`${PWD_COMMAND}`; export r; \
35121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35122 echo "Checking multilib configuration for libcilkrts..."; \
35123 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts ; \
35124 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libcilkrts/multilib.tmp 2> /dev/null ; \
35125 if test -r $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
35126 if cmp -s $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
35127 rm -f $(TARGET_SUBDIR)/libcilkrts/multilib.tmp; \
35128 else \
35129 rm -f $(TARGET_SUBDIR)/libcilkrts/Makefile; \
35130 mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
35131 fi; \
35132 else \
35133 mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
35134 fi; \
35135 test ! -f $(TARGET_SUBDIR)/libcilkrts/Makefile || exit 0; \
35136 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts ; \
35137 $(NORMAL_TARGET_EXPORTS) \
35138 echo Configuring in $(TARGET_SUBDIR)/libcilkrts; \
35139 cd "$(TARGET_SUBDIR)/libcilkrts" || exit 1; \
35140 case $(srcdir) in \
35141 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35142 *) topdir=`echo $(TARGET_SUBDIR)/libcilkrts/ | \
35143 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35144 esac; \
35145 module_srcdir=libcilkrts; \
35146 rm -f no-such-file || : ; \
35147 CONFIG_SITE=no-such-file $(SHELL) \
35148 $$s/$$module_srcdir/configure \
35149 --srcdir=$${topdir}/$$module_srcdir \
35150 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35151 --target=${target_alias} \
35152 || exit 1
35153 @endif target-libcilkrts
35159 .PHONY: all-target-libcilkrts maybe-all-target-libcilkrts
35160 maybe-all-target-libcilkrts:
35161 @if gcc-bootstrap
35162 all-target-libcilkrts: stage_current
35163 @endif gcc-bootstrap
35164 @if target-libcilkrts
35165 TARGET-target-libcilkrts=all
35166 maybe-all-target-libcilkrts: all-target-libcilkrts
35167 all-target-libcilkrts: configure-target-libcilkrts
35168 @: $(MAKE); $(unstage)
35169 @r=`${PWD_COMMAND}`; export r; \
35170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35171 $(NORMAL_TARGET_EXPORTS) \
35172 (cd $(TARGET_SUBDIR)/libcilkrts && \
35173 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35174 $(TARGET-target-libcilkrts))
35175 @endif target-libcilkrts
35181 .PHONY: check-target-libcilkrts maybe-check-target-libcilkrts
35182 maybe-check-target-libcilkrts:
35183 @if target-libcilkrts
35184 maybe-check-target-libcilkrts: check-target-libcilkrts
35186 check-target-libcilkrts:
35187 @: $(MAKE); $(unstage)
35188 @r=`${PWD_COMMAND}`; export r; \
35189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35190 $(NORMAL_TARGET_EXPORTS) \
35191 (cd $(TARGET_SUBDIR)/libcilkrts && \
35192 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35194 @endif target-libcilkrts
35196 .PHONY: install-target-libcilkrts maybe-install-target-libcilkrts
35197 maybe-install-target-libcilkrts:
35198 @if target-libcilkrts
35199 maybe-install-target-libcilkrts: install-target-libcilkrts
35201 install-target-libcilkrts: installdirs
35202 @: $(MAKE); $(unstage)
35203 @r=`${PWD_COMMAND}`; export r; \
35204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35205 $(NORMAL_TARGET_EXPORTS) \
35206 (cd $(TARGET_SUBDIR)/libcilkrts && \
35207 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35209 @endif target-libcilkrts
35211 .PHONY: install-strip-target-libcilkrts maybe-install-strip-target-libcilkrts
35212 maybe-install-strip-target-libcilkrts:
35213 @if target-libcilkrts
35214 maybe-install-strip-target-libcilkrts: install-strip-target-libcilkrts
35216 install-strip-target-libcilkrts: installdirs
35217 @: $(MAKE); $(unstage)
35218 @r=`${PWD_COMMAND}`; export r; \
35219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35220 $(NORMAL_TARGET_EXPORTS) \
35221 (cd $(TARGET_SUBDIR)/libcilkrts && \
35222 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35224 @endif target-libcilkrts
35226 # Other targets (info, dvi, pdf, etc.)
35228 .PHONY: maybe-info-target-libcilkrts info-target-libcilkrts
35229 maybe-info-target-libcilkrts:
35230 @if target-libcilkrts
35231 maybe-info-target-libcilkrts: info-target-libcilkrts
35233 info-target-libcilkrts: \
35234 configure-target-libcilkrts
35235 @: $(MAKE); $(unstage)
35236 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35237 r=`${PWD_COMMAND}`; export r; \
35238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35239 $(NORMAL_TARGET_EXPORTS) \
35240 echo "Doing info in $(TARGET_SUBDIR)/libcilkrts" ; \
35241 for flag in $(EXTRA_TARGET_FLAGS); do \
35242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35243 done; \
35244 (cd $(TARGET_SUBDIR)/libcilkrts && \
35245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35247 "RANLIB=$${RANLIB}" \
35248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35249 info) \
35250 || exit 1
35252 @endif target-libcilkrts
35254 .PHONY: maybe-dvi-target-libcilkrts dvi-target-libcilkrts
35255 maybe-dvi-target-libcilkrts:
35256 @if target-libcilkrts
35257 maybe-dvi-target-libcilkrts: dvi-target-libcilkrts
35259 dvi-target-libcilkrts: \
35260 configure-target-libcilkrts
35261 @: $(MAKE); $(unstage)
35262 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35263 r=`${PWD_COMMAND}`; export r; \
35264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35265 $(NORMAL_TARGET_EXPORTS) \
35266 echo "Doing dvi in $(TARGET_SUBDIR)/libcilkrts" ; \
35267 for flag in $(EXTRA_TARGET_FLAGS); do \
35268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35269 done; \
35270 (cd $(TARGET_SUBDIR)/libcilkrts && \
35271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35273 "RANLIB=$${RANLIB}" \
35274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35275 dvi) \
35276 || exit 1
35278 @endif target-libcilkrts
35280 .PHONY: maybe-pdf-target-libcilkrts pdf-target-libcilkrts
35281 maybe-pdf-target-libcilkrts:
35282 @if target-libcilkrts
35283 maybe-pdf-target-libcilkrts: pdf-target-libcilkrts
35285 pdf-target-libcilkrts: \
35286 configure-target-libcilkrts
35287 @: $(MAKE); $(unstage)
35288 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35289 r=`${PWD_COMMAND}`; export r; \
35290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35291 $(NORMAL_TARGET_EXPORTS) \
35292 echo "Doing pdf in $(TARGET_SUBDIR)/libcilkrts" ; \
35293 for flag in $(EXTRA_TARGET_FLAGS); do \
35294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35295 done; \
35296 (cd $(TARGET_SUBDIR)/libcilkrts && \
35297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35299 "RANLIB=$${RANLIB}" \
35300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35301 pdf) \
35302 || exit 1
35304 @endif target-libcilkrts
35306 .PHONY: maybe-html-target-libcilkrts html-target-libcilkrts
35307 maybe-html-target-libcilkrts:
35308 @if target-libcilkrts
35309 maybe-html-target-libcilkrts: html-target-libcilkrts
35311 html-target-libcilkrts: \
35312 configure-target-libcilkrts
35313 @: $(MAKE); $(unstage)
35314 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35315 r=`${PWD_COMMAND}`; export r; \
35316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35317 $(NORMAL_TARGET_EXPORTS) \
35318 echo "Doing html in $(TARGET_SUBDIR)/libcilkrts" ; \
35319 for flag in $(EXTRA_TARGET_FLAGS); do \
35320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35321 done; \
35322 (cd $(TARGET_SUBDIR)/libcilkrts && \
35323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35325 "RANLIB=$${RANLIB}" \
35326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35327 html) \
35328 || exit 1
35330 @endif target-libcilkrts
35332 .PHONY: maybe-TAGS-target-libcilkrts TAGS-target-libcilkrts
35333 maybe-TAGS-target-libcilkrts:
35334 @if target-libcilkrts
35335 maybe-TAGS-target-libcilkrts: TAGS-target-libcilkrts
35337 TAGS-target-libcilkrts: \
35338 configure-target-libcilkrts
35339 @: $(MAKE); $(unstage)
35340 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35341 r=`${PWD_COMMAND}`; export r; \
35342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35343 $(NORMAL_TARGET_EXPORTS) \
35344 echo "Doing TAGS in $(TARGET_SUBDIR)/libcilkrts" ; \
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)/libcilkrts && \
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 TAGS) \
35354 || exit 1
35356 @endif target-libcilkrts
35358 .PHONY: maybe-install-info-target-libcilkrts install-info-target-libcilkrts
35359 maybe-install-info-target-libcilkrts:
35360 @if target-libcilkrts
35361 maybe-install-info-target-libcilkrts: install-info-target-libcilkrts
35363 install-info-target-libcilkrts: \
35364 configure-target-libcilkrts \
35365 info-target-libcilkrts
35366 @: $(MAKE); $(unstage)
35367 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35368 r=`${PWD_COMMAND}`; export r; \
35369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35370 $(NORMAL_TARGET_EXPORTS) \
35371 echo "Doing install-info in $(TARGET_SUBDIR)/libcilkrts" ; \
35372 for flag in $(EXTRA_TARGET_FLAGS); do \
35373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35374 done; \
35375 (cd $(TARGET_SUBDIR)/libcilkrts && \
35376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35378 "RANLIB=$${RANLIB}" \
35379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35380 install-info) \
35381 || exit 1
35383 @endif target-libcilkrts
35385 .PHONY: maybe-install-pdf-target-libcilkrts install-pdf-target-libcilkrts
35386 maybe-install-pdf-target-libcilkrts:
35387 @if target-libcilkrts
35388 maybe-install-pdf-target-libcilkrts: install-pdf-target-libcilkrts
35390 install-pdf-target-libcilkrts: \
35391 configure-target-libcilkrts \
35392 pdf-target-libcilkrts
35393 @: $(MAKE); $(unstage)
35394 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35395 r=`${PWD_COMMAND}`; export r; \
35396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35397 $(NORMAL_TARGET_EXPORTS) \
35398 echo "Doing install-pdf in $(TARGET_SUBDIR)/libcilkrts" ; \
35399 for flag in $(EXTRA_TARGET_FLAGS); do \
35400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35401 done; \
35402 (cd $(TARGET_SUBDIR)/libcilkrts && \
35403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35405 "RANLIB=$${RANLIB}" \
35406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35407 install-pdf) \
35408 || exit 1
35410 @endif target-libcilkrts
35412 .PHONY: maybe-install-html-target-libcilkrts install-html-target-libcilkrts
35413 maybe-install-html-target-libcilkrts:
35414 @if target-libcilkrts
35415 maybe-install-html-target-libcilkrts: install-html-target-libcilkrts
35417 install-html-target-libcilkrts: \
35418 configure-target-libcilkrts \
35419 html-target-libcilkrts
35420 @: $(MAKE); $(unstage)
35421 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35422 r=`${PWD_COMMAND}`; export r; \
35423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35424 $(NORMAL_TARGET_EXPORTS) \
35425 echo "Doing install-html in $(TARGET_SUBDIR)/libcilkrts" ; \
35426 for flag in $(EXTRA_TARGET_FLAGS); do \
35427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35428 done; \
35429 (cd $(TARGET_SUBDIR)/libcilkrts && \
35430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35432 "RANLIB=$${RANLIB}" \
35433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35434 install-html) \
35435 || exit 1
35437 @endif target-libcilkrts
35439 .PHONY: maybe-installcheck-target-libcilkrts installcheck-target-libcilkrts
35440 maybe-installcheck-target-libcilkrts:
35441 @if target-libcilkrts
35442 maybe-installcheck-target-libcilkrts: installcheck-target-libcilkrts
35444 installcheck-target-libcilkrts: \
35445 configure-target-libcilkrts
35446 @: $(MAKE); $(unstage)
35447 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35448 r=`${PWD_COMMAND}`; export r; \
35449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35450 $(NORMAL_TARGET_EXPORTS) \
35451 echo "Doing installcheck in $(TARGET_SUBDIR)/libcilkrts" ; \
35452 for flag in $(EXTRA_TARGET_FLAGS); do \
35453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35454 done; \
35455 (cd $(TARGET_SUBDIR)/libcilkrts && \
35456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35458 "RANLIB=$${RANLIB}" \
35459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35460 installcheck) \
35461 || exit 1
35463 @endif target-libcilkrts
35465 .PHONY: maybe-mostlyclean-target-libcilkrts mostlyclean-target-libcilkrts
35466 maybe-mostlyclean-target-libcilkrts:
35467 @if target-libcilkrts
35468 maybe-mostlyclean-target-libcilkrts: mostlyclean-target-libcilkrts
35470 mostlyclean-target-libcilkrts:
35471 @: $(MAKE); $(unstage)
35472 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35473 r=`${PWD_COMMAND}`; export r; \
35474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35475 $(NORMAL_TARGET_EXPORTS) \
35476 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libcilkrts" ; \
35477 for flag in $(EXTRA_TARGET_FLAGS); do \
35478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35479 done; \
35480 (cd $(TARGET_SUBDIR)/libcilkrts && \
35481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35483 "RANLIB=$${RANLIB}" \
35484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35485 mostlyclean) \
35486 || exit 1
35488 @endif target-libcilkrts
35490 .PHONY: maybe-clean-target-libcilkrts clean-target-libcilkrts
35491 maybe-clean-target-libcilkrts:
35492 @if target-libcilkrts
35493 maybe-clean-target-libcilkrts: clean-target-libcilkrts
35495 clean-target-libcilkrts:
35496 @: $(MAKE); $(unstage)
35497 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35498 r=`${PWD_COMMAND}`; export r; \
35499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35500 $(NORMAL_TARGET_EXPORTS) \
35501 echo "Doing clean in $(TARGET_SUBDIR)/libcilkrts" ; \
35502 for flag in $(EXTRA_TARGET_FLAGS); do \
35503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35504 done; \
35505 (cd $(TARGET_SUBDIR)/libcilkrts && \
35506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35508 "RANLIB=$${RANLIB}" \
35509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35510 clean) \
35511 || exit 1
35513 @endif target-libcilkrts
35515 .PHONY: maybe-distclean-target-libcilkrts distclean-target-libcilkrts
35516 maybe-distclean-target-libcilkrts:
35517 @if target-libcilkrts
35518 maybe-distclean-target-libcilkrts: distclean-target-libcilkrts
35520 distclean-target-libcilkrts:
35521 @: $(MAKE); $(unstage)
35522 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35523 r=`${PWD_COMMAND}`; export r; \
35524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35525 $(NORMAL_TARGET_EXPORTS) \
35526 echo "Doing distclean in $(TARGET_SUBDIR)/libcilkrts" ; \
35527 for flag in $(EXTRA_TARGET_FLAGS); do \
35528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35529 done; \
35530 (cd $(TARGET_SUBDIR)/libcilkrts && \
35531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35533 "RANLIB=$${RANLIB}" \
35534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35535 distclean) \
35536 || exit 1
35538 @endif target-libcilkrts
35540 .PHONY: maybe-maintainer-clean-target-libcilkrts maintainer-clean-target-libcilkrts
35541 maybe-maintainer-clean-target-libcilkrts:
35542 @if target-libcilkrts
35543 maybe-maintainer-clean-target-libcilkrts: maintainer-clean-target-libcilkrts
35545 maintainer-clean-target-libcilkrts:
35546 @: $(MAKE); $(unstage)
35547 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35548 r=`${PWD_COMMAND}`; export r; \
35549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35550 $(NORMAL_TARGET_EXPORTS) \
35551 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libcilkrts" ; \
35552 for flag in $(EXTRA_TARGET_FLAGS); do \
35553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35554 done; \
35555 (cd $(TARGET_SUBDIR)/libcilkrts && \
35556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35558 "RANLIB=$${RANLIB}" \
35559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35560 maintainer-clean) \
35561 || exit 1
35563 @endif target-libcilkrts
35569 .PHONY: configure-target-libssp maybe-configure-target-libssp
35570 maybe-configure-target-libssp:
35571 @if gcc-bootstrap
35572 configure-target-libssp: stage_current
35573 @endif gcc-bootstrap
35574 @if target-libssp
35575 maybe-configure-target-libssp: configure-target-libssp
35576 configure-target-libssp:
35577 @: $(MAKE); $(unstage)
35578 @r=`${PWD_COMMAND}`; export r; \
35579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35580 echo "Checking multilib configuration for libssp..."; \
35581 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
35582 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
35583 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
35584 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
35585 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
35586 else \
35587 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
35588 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
35589 fi; \
35590 else \
35591 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
35592 fi; \
35593 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
35594 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
35595 $(NORMAL_TARGET_EXPORTS) \
35596 echo Configuring in $(TARGET_SUBDIR)/libssp; \
35597 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
35598 case $(srcdir) in \
35599 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35600 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
35601 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35602 esac; \
35603 module_srcdir=libssp; \
35604 rm -f no-such-file || : ; \
35605 CONFIG_SITE=no-such-file $(SHELL) \
35606 $$s/$$module_srcdir/configure \
35607 --srcdir=$${topdir}/$$module_srcdir \
35608 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35609 --target=${target_alias} \
35610 || exit 1
35611 @endif target-libssp
35617 .PHONY: all-target-libssp maybe-all-target-libssp
35618 maybe-all-target-libssp:
35619 @if gcc-bootstrap
35620 all-target-libssp: stage_current
35621 @endif gcc-bootstrap
35622 @if target-libssp
35623 TARGET-target-libssp=all
35624 maybe-all-target-libssp: all-target-libssp
35625 all-target-libssp: configure-target-libssp
35626 @: $(MAKE); $(unstage)
35627 @r=`${PWD_COMMAND}`; export r; \
35628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35629 $(NORMAL_TARGET_EXPORTS) \
35630 (cd $(TARGET_SUBDIR)/libssp && \
35631 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35632 $(TARGET-target-libssp))
35633 @endif target-libssp
35639 .PHONY: check-target-libssp maybe-check-target-libssp
35640 maybe-check-target-libssp:
35641 @if target-libssp
35642 maybe-check-target-libssp: check-target-libssp
35644 check-target-libssp:
35645 @: $(MAKE); $(unstage)
35646 @r=`${PWD_COMMAND}`; export r; \
35647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35648 $(NORMAL_TARGET_EXPORTS) \
35649 (cd $(TARGET_SUBDIR)/libssp && \
35650 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35652 @endif target-libssp
35654 .PHONY: install-target-libssp maybe-install-target-libssp
35655 maybe-install-target-libssp:
35656 @if target-libssp
35657 maybe-install-target-libssp: install-target-libssp
35659 install-target-libssp: installdirs
35660 @: $(MAKE); $(unstage)
35661 @r=`${PWD_COMMAND}`; export r; \
35662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35663 $(NORMAL_TARGET_EXPORTS) \
35664 (cd $(TARGET_SUBDIR)/libssp && \
35665 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35667 @endif target-libssp
35669 .PHONY: install-strip-target-libssp maybe-install-strip-target-libssp
35670 maybe-install-strip-target-libssp:
35671 @if target-libssp
35672 maybe-install-strip-target-libssp: install-strip-target-libssp
35674 install-strip-target-libssp: installdirs
35675 @: $(MAKE); $(unstage)
35676 @r=`${PWD_COMMAND}`; export r; \
35677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35678 $(NORMAL_TARGET_EXPORTS) \
35679 (cd $(TARGET_SUBDIR)/libssp && \
35680 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35682 @endif target-libssp
35684 # Other targets (info, dvi, pdf, etc.)
35686 .PHONY: maybe-info-target-libssp info-target-libssp
35687 maybe-info-target-libssp:
35688 @if target-libssp
35689 maybe-info-target-libssp: info-target-libssp
35691 info-target-libssp: \
35692 configure-target-libssp
35693 @: $(MAKE); $(unstage)
35694 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35695 r=`${PWD_COMMAND}`; export r; \
35696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35697 $(NORMAL_TARGET_EXPORTS) \
35698 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
35699 for flag in $(EXTRA_TARGET_FLAGS); do \
35700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35701 done; \
35702 (cd $(TARGET_SUBDIR)/libssp && \
35703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35705 "RANLIB=$${RANLIB}" \
35706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35707 info) \
35708 || exit 1
35710 @endif target-libssp
35712 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
35713 maybe-dvi-target-libssp:
35714 @if target-libssp
35715 maybe-dvi-target-libssp: dvi-target-libssp
35717 dvi-target-libssp: \
35718 configure-target-libssp
35719 @: $(MAKE); $(unstage)
35720 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35721 r=`${PWD_COMMAND}`; export r; \
35722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35723 $(NORMAL_TARGET_EXPORTS) \
35724 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
35725 for flag in $(EXTRA_TARGET_FLAGS); do \
35726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35727 done; \
35728 (cd $(TARGET_SUBDIR)/libssp && \
35729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35731 "RANLIB=$${RANLIB}" \
35732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35733 dvi) \
35734 || exit 1
35736 @endif target-libssp
35738 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
35739 maybe-pdf-target-libssp:
35740 @if target-libssp
35741 maybe-pdf-target-libssp: pdf-target-libssp
35743 pdf-target-libssp: \
35744 configure-target-libssp
35745 @: $(MAKE); $(unstage)
35746 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35747 r=`${PWD_COMMAND}`; export r; \
35748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35749 $(NORMAL_TARGET_EXPORTS) \
35750 echo "Doing pdf in $(TARGET_SUBDIR)/libssp" ; \
35751 for flag in $(EXTRA_TARGET_FLAGS); do \
35752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35753 done; \
35754 (cd $(TARGET_SUBDIR)/libssp && \
35755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35757 "RANLIB=$${RANLIB}" \
35758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35759 pdf) \
35760 || exit 1
35762 @endif target-libssp
35764 .PHONY: maybe-html-target-libssp html-target-libssp
35765 maybe-html-target-libssp:
35766 @if target-libssp
35767 maybe-html-target-libssp: html-target-libssp
35769 html-target-libssp: \
35770 configure-target-libssp
35771 @: $(MAKE); $(unstage)
35772 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35773 r=`${PWD_COMMAND}`; export r; \
35774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35775 $(NORMAL_TARGET_EXPORTS) \
35776 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
35777 for flag in $(EXTRA_TARGET_FLAGS); do \
35778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35779 done; \
35780 (cd $(TARGET_SUBDIR)/libssp && \
35781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35783 "RANLIB=$${RANLIB}" \
35784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35785 html) \
35786 || exit 1
35788 @endif target-libssp
35790 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
35791 maybe-TAGS-target-libssp:
35792 @if target-libssp
35793 maybe-TAGS-target-libssp: TAGS-target-libssp
35795 TAGS-target-libssp: \
35796 configure-target-libssp
35797 @: $(MAKE); $(unstage)
35798 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35799 r=`${PWD_COMMAND}`; export r; \
35800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35801 $(NORMAL_TARGET_EXPORTS) \
35802 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
35803 for flag in $(EXTRA_TARGET_FLAGS); do \
35804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35805 done; \
35806 (cd $(TARGET_SUBDIR)/libssp && \
35807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35809 "RANLIB=$${RANLIB}" \
35810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35811 TAGS) \
35812 || exit 1
35814 @endif target-libssp
35816 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
35817 maybe-install-info-target-libssp:
35818 @if target-libssp
35819 maybe-install-info-target-libssp: install-info-target-libssp
35821 install-info-target-libssp: \
35822 configure-target-libssp \
35823 info-target-libssp
35824 @: $(MAKE); $(unstage)
35825 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35826 r=`${PWD_COMMAND}`; export r; \
35827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35828 $(NORMAL_TARGET_EXPORTS) \
35829 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
35830 for flag in $(EXTRA_TARGET_FLAGS); do \
35831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35832 done; \
35833 (cd $(TARGET_SUBDIR)/libssp && \
35834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35836 "RANLIB=$${RANLIB}" \
35837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35838 install-info) \
35839 || exit 1
35841 @endif target-libssp
35843 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
35844 maybe-install-pdf-target-libssp:
35845 @if target-libssp
35846 maybe-install-pdf-target-libssp: install-pdf-target-libssp
35848 install-pdf-target-libssp: \
35849 configure-target-libssp \
35850 pdf-target-libssp
35851 @: $(MAKE); $(unstage)
35852 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35853 r=`${PWD_COMMAND}`; export r; \
35854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35855 $(NORMAL_TARGET_EXPORTS) \
35856 echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp" ; \
35857 for flag in $(EXTRA_TARGET_FLAGS); do \
35858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35859 done; \
35860 (cd $(TARGET_SUBDIR)/libssp && \
35861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35863 "RANLIB=$${RANLIB}" \
35864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35865 install-pdf) \
35866 || exit 1
35868 @endif target-libssp
35870 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
35871 maybe-install-html-target-libssp:
35872 @if target-libssp
35873 maybe-install-html-target-libssp: install-html-target-libssp
35875 install-html-target-libssp: \
35876 configure-target-libssp \
35877 html-target-libssp
35878 @: $(MAKE); $(unstage)
35879 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35880 r=`${PWD_COMMAND}`; export r; \
35881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35882 $(NORMAL_TARGET_EXPORTS) \
35883 echo "Doing install-html in $(TARGET_SUBDIR)/libssp" ; \
35884 for flag in $(EXTRA_TARGET_FLAGS); do \
35885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35886 done; \
35887 (cd $(TARGET_SUBDIR)/libssp && \
35888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35890 "RANLIB=$${RANLIB}" \
35891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35892 install-html) \
35893 || exit 1
35895 @endif target-libssp
35897 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
35898 maybe-installcheck-target-libssp:
35899 @if target-libssp
35900 maybe-installcheck-target-libssp: installcheck-target-libssp
35902 installcheck-target-libssp: \
35903 configure-target-libssp
35904 @: $(MAKE); $(unstage)
35905 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35906 r=`${PWD_COMMAND}`; export r; \
35907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35908 $(NORMAL_TARGET_EXPORTS) \
35909 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
35910 for flag in $(EXTRA_TARGET_FLAGS); do \
35911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35912 done; \
35913 (cd $(TARGET_SUBDIR)/libssp && \
35914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35916 "RANLIB=$${RANLIB}" \
35917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35918 installcheck) \
35919 || exit 1
35921 @endif target-libssp
35923 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
35924 maybe-mostlyclean-target-libssp:
35925 @if target-libssp
35926 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
35928 mostlyclean-target-libssp:
35929 @: $(MAKE); $(unstage)
35930 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35931 r=`${PWD_COMMAND}`; export r; \
35932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35933 $(NORMAL_TARGET_EXPORTS) \
35934 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
35935 for flag in $(EXTRA_TARGET_FLAGS); do \
35936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35937 done; \
35938 (cd $(TARGET_SUBDIR)/libssp && \
35939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35941 "RANLIB=$${RANLIB}" \
35942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35943 mostlyclean) \
35944 || exit 1
35946 @endif target-libssp
35948 .PHONY: maybe-clean-target-libssp clean-target-libssp
35949 maybe-clean-target-libssp:
35950 @if target-libssp
35951 maybe-clean-target-libssp: clean-target-libssp
35953 clean-target-libssp:
35954 @: $(MAKE); $(unstage)
35955 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35956 r=`${PWD_COMMAND}`; export r; \
35957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35958 $(NORMAL_TARGET_EXPORTS) \
35959 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
35960 for flag in $(EXTRA_TARGET_FLAGS); do \
35961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35962 done; \
35963 (cd $(TARGET_SUBDIR)/libssp && \
35964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35966 "RANLIB=$${RANLIB}" \
35967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35968 clean) \
35969 || exit 1
35971 @endif target-libssp
35973 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
35974 maybe-distclean-target-libssp:
35975 @if target-libssp
35976 maybe-distclean-target-libssp: distclean-target-libssp
35978 distclean-target-libssp:
35979 @: $(MAKE); $(unstage)
35980 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35981 r=`${PWD_COMMAND}`; export r; \
35982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35983 $(NORMAL_TARGET_EXPORTS) \
35984 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
35985 for flag in $(EXTRA_TARGET_FLAGS); do \
35986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35987 done; \
35988 (cd $(TARGET_SUBDIR)/libssp && \
35989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35991 "RANLIB=$${RANLIB}" \
35992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35993 distclean) \
35994 || exit 1
35996 @endif target-libssp
35998 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
35999 maybe-maintainer-clean-target-libssp:
36000 @if target-libssp
36001 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
36003 maintainer-clean-target-libssp:
36004 @: $(MAKE); $(unstage)
36005 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36006 r=`${PWD_COMMAND}`; export r; \
36007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36008 $(NORMAL_TARGET_EXPORTS) \
36009 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
36010 for flag in $(EXTRA_TARGET_FLAGS); do \
36011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36012 done; \
36013 (cd $(TARGET_SUBDIR)/libssp && \
36014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36016 "RANLIB=$${RANLIB}" \
36017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36018 maintainer-clean) \
36019 || exit 1
36021 @endif target-libssp
36027 .PHONY: configure-target-newlib maybe-configure-target-newlib
36028 maybe-configure-target-newlib:
36029 @if gcc-bootstrap
36030 configure-target-newlib: stage_current
36031 @endif gcc-bootstrap
36032 @if target-newlib
36033 maybe-configure-target-newlib: configure-target-newlib
36034 configure-target-newlib:
36035 @: $(MAKE); $(unstage)
36036 @r=`${PWD_COMMAND}`; export r; \
36037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36038 echo "Checking multilib configuration for newlib..."; \
36039 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
36040 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
36041 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
36042 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
36043 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
36044 else \
36045 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
36046 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
36047 fi; \
36048 else \
36049 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
36050 fi; \
36051 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
36052 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
36053 $(NORMAL_TARGET_EXPORTS) \
36054 echo Configuring in $(TARGET_SUBDIR)/newlib; \
36055 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
36056 case $(srcdir) in \
36057 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36058 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
36059 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36060 esac; \
36061 module_srcdir=newlib; \
36062 rm -f no-such-file || : ; \
36063 CONFIG_SITE=no-such-file $(SHELL) \
36064 $$s/$$module_srcdir/configure \
36065 --srcdir=$${topdir}/$$module_srcdir \
36066 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36067 --target=${target_alias} \
36068 || exit 1
36069 @endif target-newlib
36075 .PHONY: all-target-newlib maybe-all-target-newlib
36076 maybe-all-target-newlib:
36077 @if gcc-bootstrap
36078 all-target-newlib: stage_current
36079 @endif gcc-bootstrap
36080 @if target-newlib
36081 TARGET-target-newlib=all
36082 maybe-all-target-newlib: all-target-newlib
36083 all-target-newlib: configure-target-newlib
36084 @: $(MAKE); $(unstage)
36085 @r=`${PWD_COMMAND}`; export r; \
36086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36087 $(NORMAL_TARGET_EXPORTS) \
36088 (cd $(TARGET_SUBDIR)/newlib && \
36089 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36090 $(TARGET-target-newlib))
36091 @endif target-newlib
36097 .PHONY: check-target-newlib maybe-check-target-newlib
36098 maybe-check-target-newlib:
36099 @if target-newlib
36100 maybe-check-target-newlib: check-target-newlib
36102 check-target-newlib:
36103 @: $(MAKE); $(unstage)
36104 @r=`${PWD_COMMAND}`; export r; \
36105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36106 $(NORMAL_TARGET_EXPORTS) \
36107 (cd $(TARGET_SUBDIR)/newlib && \
36108 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36110 @endif target-newlib
36112 .PHONY: install-target-newlib maybe-install-target-newlib
36113 maybe-install-target-newlib:
36114 @if target-newlib
36115 maybe-install-target-newlib: install-target-newlib
36117 install-target-newlib: installdirs
36118 @: $(MAKE); $(unstage)
36119 @r=`${PWD_COMMAND}`; export r; \
36120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36121 $(NORMAL_TARGET_EXPORTS) \
36122 (cd $(TARGET_SUBDIR)/newlib && \
36123 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36125 @endif target-newlib
36127 .PHONY: install-strip-target-newlib maybe-install-strip-target-newlib
36128 maybe-install-strip-target-newlib:
36129 @if target-newlib
36130 maybe-install-strip-target-newlib: install-strip-target-newlib
36132 install-strip-target-newlib: installdirs
36133 @: $(MAKE); $(unstage)
36134 @r=`${PWD_COMMAND}`; export r; \
36135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36136 $(NORMAL_TARGET_EXPORTS) \
36137 (cd $(TARGET_SUBDIR)/newlib && \
36138 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36140 @endif target-newlib
36142 # Other targets (info, dvi, pdf, etc.)
36144 .PHONY: maybe-info-target-newlib info-target-newlib
36145 maybe-info-target-newlib:
36146 @if target-newlib
36147 maybe-info-target-newlib: info-target-newlib
36149 info-target-newlib: \
36150 configure-target-newlib
36151 @: $(MAKE); $(unstage)
36152 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36153 r=`${PWD_COMMAND}`; export r; \
36154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36155 $(NORMAL_TARGET_EXPORTS) \
36156 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
36157 for flag in $(EXTRA_TARGET_FLAGS); do \
36158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36159 done; \
36160 (cd $(TARGET_SUBDIR)/newlib && \
36161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36163 "RANLIB=$${RANLIB}" \
36164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36165 info) \
36166 || exit 1
36168 @endif target-newlib
36170 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
36171 maybe-dvi-target-newlib:
36172 @if target-newlib
36173 maybe-dvi-target-newlib: dvi-target-newlib
36175 dvi-target-newlib: \
36176 configure-target-newlib
36177 @: $(MAKE); $(unstage)
36178 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36179 r=`${PWD_COMMAND}`; export r; \
36180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36181 $(NORMAL_TARGET_EXPORTS) \
36182 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
36183 for flag in $(EXTRA_TARGET_FLAGS); do \
36184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36185 done; \
36186 (cd $(TARGET_SUBDIR)/newlib && \
36187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36189 "RANLIB=$${RANLIB}" \
36190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36191 dvi) \
36192 || exit 1
36194 @endif target-newlib
36196 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
36197 maybe-pdf-target-newlib:
36198 @if target-newlib
36199 maybe-pdf-target-newlib: pdf-target-newlib
36201 pdf-target-newlib: \
36202 configure-target-newlib
36203 @: $(MAKE); $(unstage)
36204 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36205 r=`${PWD_COMMAND}`; export r; \
36206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36207 $(NORMAL_TARGET_EXPORTS) \
36208 echo "Doing pdf in $(TARGET_SUBDIR)/newlib" ; \
36209 for flag in $(EXTRA_TARGET_FLAGS); do \
36210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36211 done; \
36212 (cd $(TARGET_SUBDIR)/newlib && \
36213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36215 "RANLIB=$${RANLIB}" \
36216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36217 pdf) \
36218 || exit 1
36220 @endif target-newlib
36222 .PHONY: maybe-html-target-newlib html-target-newlib
36223 maybe-html-target-newlib:
36224 @if target-newlib
36225 maybe-html-target-newlib: html-target-newlib
36227 html-target-newlib: \
36228 configure-target-newlib
36229 @: $(MAKE); $(unstage)
36230 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36231 r=`${PWD_COMMAND}`; export r; \
36232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36233 $(NORMAL_TARGET_EXPORTS) \
36234 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
36235 for flag in $(EXTRA_TARGET_FLAGS); do \
36236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36237 done; \
36238 (cd $(TARGET_SUBDIR)/newlib && \
36239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36241 "RANLIB=$${RANLIB}" \
36242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36243 html) \
36244 || exit 1
36246 @endif target-newlib
36248 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
36249 maybe-TAGS-target-newlib:
36250 @if target-newlib
36251 maybe-TAGS-target-newlib: TAGS-target-newlib
36253 TAGS-target-newlib: \
36254 configure-target-newlib
36255 @: $(MAKE); $(unstage)
36256 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36257 r=`${PWD_COMMAND}`; export r; \
36258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36259 $(NORMAL_TARGET_EXPORTS) \
36260 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
36261 for flag in $(EXTRA_TARGET_FLAGS); do \
36262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36263 done; \
36264 (cd $(TARGET_SUBDIR)/newlib && \
36265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36267 "RANLIB=$${RANLIB}" \
36268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36269 TAGS) \
36270 || exit 1
36272 @endif target-newlib
36274 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
36275 maybe-install-info-target-newlib:
36276 @if target-newlib
36277 maybe-install-info-target-newlib: install-info-target-newlib
36279 install-info-target-newlib: \
36280 configure-target-newlib \
36281 info-target-newlib
36282 @: $(MAKE); $(unstage)
36283 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36284 r=`${PWD_COMMAND}`; export r; \
36285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36286 $(NORMAL_TARGET_EXPORTS) \
36287 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
36288 for flag in $(EXTRA_TARGET_FLAGS); do \
36289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36290 done; \
36291 (cd $(TARGET_SUBDIR)/newlib && \
36292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36294 "RANLIB=$${RANLIB}" \
36295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36296 install-info) \
36297 || exit 1
36299 @endif target-newlib
36301 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
36302 maybe-install-pdf-target-newlib:
36303 @if target-newlib
36304 maybe-install-pdf-target-newlib: install-pdf-target-newlib
36306 install-pdf-target-newlib: \
36307 configure-target-newlib \
36308 pdf-target-newlib
36309 @: $(MAKE); $(unstage)
36310 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36311 r=`${PWD_COMMAND}`; export r; \
36312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36313 $(NORMAL_TARGET_EXPORTS) \
36314 echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib" ; \
36315 for flag in $(EXTRA_TARGET_FLAGS); do \
36316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36317 done; \
36318 (cd $(TARGET_SUBDIR)/newlib && \
36319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36321 "RANLIB=$${RANLIB}" \
36322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36323 install-pdf) \
36324 || exit 1
36326 @endif target-newlib
36328 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
36329 maybe-install-html-target-newlib:
36330 @if target-newlib
36331 maybe-install-html-target-newlib: install-html-target-newlib
36333 install-html-target-newlib: \
36334 configure-target-newlib \
36335 html-target-newlib
36336 @: $(MAKE); $(unstage)
36337 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36338 r=`${PWD_COMMAND}`; export r; \
36339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36340 $(NORMAL_TARGET_EXPORTS) \
36341 echo "Doing install-html in $(TARGET_SUBDIR)/newlib" ; \
36342 for flag in $(EXTRA_TARGET_FLAGS); do \
36343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36344 done; \
36345 (cd $(TARGET_SUBDIR)/newlib && \
36346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36348 "RANLIB=$${RANLIB}" \
36349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36350 install-html) \
36351 || exit 1
36353 @endif target-newlib
36355 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
36356 maybe-installcheck-target-newlib:
36357 @if target-newlib
36358 maybe-installcheck-target-newlib: installcheck-target-newlib
36360 installcheck-target-newlib: \
36361 configure-target-newlib
36362 @: $(MAKE); $(unstage)
36363 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36364 r=`${PWD_COMMAND}`; export r; \
36365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36366 $(NORMAL_TARGET_EXPORTS) \
36367 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
36368 for flag in $(EXTRA_TARGET_FLAGS); do \
36369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36370 done; \
36371 (cd $(TARGET_SUBDIR)/newlib && \
36372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36374 "RANLIB=$${RANLIB}" \
36375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36376 installcheck) \
36377 || exit 1
36379 @endif target-newlib
36381 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
36382 maybe-mostlyclean-target-newlib:
36383 @if target-newlib
36384 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
36386 mostlyclean-target-newlib:
36387 @: $(MAKE); $(unstage)
36388 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36389 r=`${PWD_COMMAND}`; export r; \
36390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36391 $(NORMAL_TARGET_EXPORTS) \
36392 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
36393 for flag in $(EXTRA_TARGET_FLAGS); do \
36394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36395 done; \
36396 (cd $(TARGET_SUBDIR)/newlib && \
36397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36399 "RANLIB=$${RANLIB}" \
36400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36401 mostlyclean) \
36402 || exit 1
36404 @endif target-newlib
36406 .PHONY: maybe-clean-target-newlib clean-target-newlib
36407 maybe-clean-target-newlib:
36408 @if target-newlib
36409 maybe-clean-target-newlib: clean-target-newlib
36411 clean-target-newlib:
36412 @: $(MAKE); $(unstage)
36413 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36414 r=`${PWD_COMMAND}`; export r; \
36415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36416 $(NORMAL_TARGET_EXPORTS) \
36417 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
36418 for flag in $(EXTRA_TARGET_FLAGS); do \
36419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36420 done; \
36421 (cd $(TARGET_SUBDIR)/newlib && \
36422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36424 "RANLIB=$${RANLIB}" \
36425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36426 clean) \
36427 || exit 1
36429 @endif target-newlib
36431 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
36432 maybe-distclean-target-newlib:
36433 @if target-newlib
36434 maybe-distclean-target-newlib: distclean-target-newlib
36436 distclean-target-newlib:
36437 @: $(MAKE); $(unstage)
36438 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36439 r=`${PWD_COMMAND}`; export r; \
36440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36441 $(NORMAL_TARGET_EXPORTS) \
36442 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
36443 for flag in $(EXTRA_TARGET_FLAGS); do \
36444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36445 done; \
36446 (cd $(TARGET_SUBDIR)/newlib && \
36447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36449 "RANLIB=$${RANLIB}" \
36450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36451 distclean) \
36452 || exit 1
36454 @endif target-newlib
36456 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
36457 maybe-maintainer-clean-target-newlib:
36458 @if target-newlib
36459 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
36461 maintainer-clean-target-newlib:
36462 @: $(MAKE); $(unstage)
36463 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36464 r=`${PWD_COMMAND}`; export r; \
36465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36466 $(NORMAL_TARGET_EXPORTS) \
36467 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
36468 for flag in $(EXTRA_TARGET_FLAGS); do \
36469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36470 done; \
36471 (cd $(TARGET_SUBDIR)/newlib && \
36472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36474 "RANLIB=$${RANLIB}" \
36475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36476 maintainer-clean) \
36477 || exit 1
36479 @endif target-newlib
36485 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
36486 maybe-configure-target-libgcc:
36487 @if gcc-bootstrap
36488 configure-target-libgcc: stage_current
36489 @endif gcc-bootstrap
36490 @if target-libgcc
36491 maybe-configure-target-libgcc: configure-target-libgcc
36492 configure-target-libgcc:
36493 @r=`${PWD_COMMAND}`; export r; \
36494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36495 echo "Checking multilib configuration for libgcc..."; \
36496 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36497 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36498 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36499 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36500 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36501 else \
36502 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36503 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36504 fi; \
36505 else \
36506 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36507 fi; \
36508 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36509 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36510 $(NORMAL_TARGET_EXPORTS) \
36511 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
36512 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
36513 case $(srcdir) in \
36514 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36515 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36516 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36517 esac; \
36518 module_srcdir=libgcc; \
36519 rm -f no-such-file || : ; \
36520 CONFIG_SITE=no-such-file $(SHELL) \
36521 $$s/$$module_srcdir/configure \
36522 --srcdir=$${topdir}/$$module_srcdir \
36523 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36524 --target=${target_alias} \
36525 || exit 1
36526 @endif target-libgcc
36530 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
36531 maybe-configure-stage1-target-libgcc:
36532 @if target-libgcc-bootstrap
36533 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
36534 configure-stage1-target-libgcc:
36535 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
36536 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
36537 @r=`${PWD_COMMAND}`; export r; \
36538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36539 TFLAGS="$(STAGE1_TFLAGS)"; \
36540 echo "Checking multilib configuration for libgcc..."; \
36541 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36542 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36543 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36544 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36545 else \
36546 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36547 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36548 fi; \
36549 else \
36550 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36551 fi; \
36552 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36553 $(NORMAL_TARGET_EXPORTS) \
36554 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36555 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36556 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36557 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc ; \
36558 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36559 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
36560 case $(srcdir) in \
36561 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36562 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36563 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36564 esac; \
36565 module_srcdir=libgcc; \
36566 $(SHELL) $$s/$$module_srcdir/configure \
36567 --srcdir=$${topdir}/$$module_srcdir \
36568 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36569 --target=${target_alias} \
36571 $(STAGE1_CONFIGURE_FLAGS)
36572 @endif target-libgcc-bootstrap
36574 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
36575 maybe-configure-stage2-target-libgcc:
36576 @if target-libgcc-bootstrap
36577 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
36578 configure-stage2-target-libgcc:
36579 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
36580 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
36581 @r=`${PWD_COMMAND}`; export r; \
36582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36583 TFLAGS="$(STAGE2_TFLAGS)"; \
36584 echo "Checking multilib configuration for libgcc..."; \
36585 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36586 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36587 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36588 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36589 else \
36590 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36591 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36592 fi; \
36593 else \
36594 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36595 fi; \
36596 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36597 $(NORMAL_TARGET_EXPORTS) \
36599 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36600 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36601 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36602 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc ; \
36603 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36604 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
36605 case $(srcdir) in \
36606 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36607 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36608 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36609 esac; \
36610 module_srcdir=libgcc; \
36611 $(SHELL) $$s/$$module_srcdir/configure \
36612 --srcdir=$${topdir}/$$module_srcdir \
36613 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36614 --target=${target_alias} \
36615 --with-build-libsubdir=$(HOST_SUBDIR) \
36616 $(STAGE2_CONFIGURE_FLAGS)
36617 @endif target-libgcc-bootstrap
36619 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
36620 maybe-configure-stage3-target-libgcc:
36621 @if target-libgcc-bootstrap
36622 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
36623 configure-stage3-target-libgcc:
36624 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
36625 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
36626 @r=`${PWD_COMMAND}`; export r; \
36627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36628 TFLAGS="$(STAGE3_TFLAGS)"; \
36629 echo "Checking multilib configuration for libgcc..."; \
36630 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36631 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36632 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36633 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36634 else \
36635 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36636 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36637 fi; \
36638 else \
36639 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36640 fi; \
36641 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36642 $(NORMAL_TARGET_EXPORTS) \
36644 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36645 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36646 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36647 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc ; \
36648 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36649 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
36650 case $(srcdir) in \
36651 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36652 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36653 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36654 esac; \
36655 module_srcdir=libgcc; \
36656 $(SHELL) $$s/$$module_srcdir/configure \
36657 --srcdir=$${topdir}/$$module_srcdir \
36658 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36659 --target=${target_alias} \
36660 --with-build-libsubdir=$(HOST_SUBDIR) \
36661 $(STAGE3_CONFIGURE_FLAGS)
36662 @endif target-libgcc-bootstrap
36664 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
36665 maybe-configure-stage4-target-libgcc:
36666 @if target-libgcc-bootstrap
36667 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
36668 configure-stage4-target-libgcc:
36669 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
36670 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
36671 @r=`${PWD_COMMAND}`; export r; \
36672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36673 TFLAGS="$(STAGE4_TFLAGS)"; \
36674 echo "Checking multilib configuration for libgcc..."; \
36675 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36676 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36677 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36678 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36679 else \
36680 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36681 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36682 fi; \
36683 else \
36684 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36685 fi; \
36686 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36687 $(NORMAL_TARGET_EXPORTS) \
36689 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36690 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36691 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36692 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc ; \
36693 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36694 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
36695 case $(srcdir) in \
36696 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36697 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36698 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36699 esac; \
36700 module_srcdir=libgcc; \
36701 $(SHELL) $$s/$$module_srcdir/configure \
36702 --srcdir=$${topdir}/$$module_srcdir \
36703 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36704 --target=${target_alias} \
36705 --with-build-libsubdir=$(HOST_SUBDIR) \
36706 $(STAGE4_CONFIGURE_FLAGS)
36707 @endif target-libgcc-bootstrap
36709 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
36710 maybe-configure-stageprofile-target-libgcc:
36711 @if target-libgcc-bootstrap
36712 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
36713 configure-stageprofile-target-libgcc:
36714 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
36715 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
36716 @r=`${PWD_COMMAND}`; export r; \
36717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36718 TFLAGS="$(STAGEprofile_TFLAGS)"; \
36719 echo "Checking multilib configuration for libgcc..."; \
36720 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36721 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36722 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36723 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36724 else \
36725 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36726 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36727 fi; \
36728 else \
36729 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36730 fi; \
36731 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36732 $(NORMAL_TARGET_EXPORTS) \
36734 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36735 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36736 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36737 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc ; \
36738 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36739 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
36740 case $(srcdir) in \
36741 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36742 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36743 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36744 esac; \
36745 module_srcdir=libgcc; \
36746 $(SHELL) $$s/$$module_srcdir/configure \
36747 --srcdir=$${topdir}/$$module_srcdir \
36748 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36749 --target=${target_alias} \
36750 --with-build-libsubdir=$(HOST_SUBDIR) \
36751 $(STAGEprofile_CONFIGURE_FLAGS)
36752 @endif target-libgcc-bootstrap
36754 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
36755 maybe-configure-stagefeedback-target-libgcc:
36756 @if target-libgcc-bootstrap
36757 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
36758 configure-stagefeedback-target-libgcc:
36759 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
36760 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
36761 @r=`${PWD_COMMAND}`; export r; \
36762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36763 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
36764 echo "Checking multilib configuration for libgcc..."; \
36765 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36766 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36767 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36768 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36769 else \
36770 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36771 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36772 fi; \
36773 else \
36774 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36775 fi; \
36776 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36777 $(NORMAL_TARGET_EXPORTS) \
36779 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36780 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36781 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36782 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc ; \
36783 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36784 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
36785 case $(srcdir) in \
36786 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36787 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36788 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36789 esac; \
36790 module_srcdir=libgcc; \
36791 $(SHELL) $$s/$$module_srcdir/configure \
36792 --srcdir=$${topdir}/$$module_srcdir \
36793 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36794 --target=${target_alias} \
36795 --with-build-libsubdir=$(HOST_SUBDIR) \
36796 $(STAGEfeedback_CONFIGURE_FLAGS)
36797 @endif target-libgcc-bootstrap
36803 .PHONY: all-target-libgcc maybe-all-target-libgcc
36804 maybe-all-target-libgcc:
36805 @if gcc-bootstrap
36806 all-target-libgcc: stage_current
36807 @endif gcc-bootstrap
36808 @if target-libgcc
36809 TARGET-target-libgcc=all
36810 maybe-all-target-libgcc: all-target-libgcc
36811 all-target-libgcc: configure-target-libgcc
36812 @r=`${PWD_COMMAND}`; export r; \
36813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36814 $(NORMAL_TARGET_EXPORTS) \
36815 (cd $(TARGET_SUBDIR)/libgcc && \
36816 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36817 $(TARGET-target-libgcc))
36818 @endif target-libgcc
36822 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
36823 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
36824 maybe-all-stage1-target-libgcc:
36825 maybe-clean-stage1-target-libgcc:
36826 @if target-libgcc-bootstrap
36827 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
36828 all-stage1: all-stage1-target-libgcc
36829 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
36830 all-stage1-target-libgcc: configure-stage1-target-libgcc
36831 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
36832 @r=`${PWD_COMMAND}`; export r; \
36833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36834 TFLAGS="$(STAGE1_TFLAGS)"; \
36835 $(NORMAL_TARGET_EXPORTS) \
36836 cd $(TARGET_SUBDIR)/libgcc && \
36837 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36838 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36839 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36840 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36841 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36842 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36843 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36844 $(EXTRA_TARGET_FLAGS) \
36846 TFLAGS="$(STAGE1_TFLAGS)" \
36847 $(TARGET-stage1-target-libgcc)
36849 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
36850 clean-stage1: clean-stage1-target-libgcc
36851 clean-stage1-target-libgcc:
36852 @if [ $(current_stage) = stage1 ]; then \
36853 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
36854 else \
36855 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
36856 $(MAKE) stage1-start; \
36857 fi; \
36858 cd $(TARGET_SUBDIR)/libgcc && \
36859 $(MAKE) $(EXTRA_TARGET_FLAGS) \
36860 clean
36861 @endif target-libgcc-bootstrap
36864 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
36865 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
36866 maybe-all-stage2-target-libgcc:
36867 maybe-clean-stage2-target-libgcc:
36868 @if target-libgcc-bootstrap
36869 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
36870 all-stage2: all-stage2-target-libgcc
36871 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
36872 all-stage2-target-libgcc: configure-stage2-target-libgcc
36873 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
36874 @r=`${PWD_COMMAND}`; export r; \
36875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36876 TFLAGS="$(STAGE2_TFLAGS)"; \
36877 $(NORMAL_TARGET_EXPORTS) \
36879 cd $(TARGET_SUBDIR)/libgcc && \
36880 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36881 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36882 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36883 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36884 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36885 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36886 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36887 $(EXTRA_TARGET_FLAGS) \
36888 TFLAGS="$(STAGE2_TFLAGS)" \
36889 $(TARGET-stage2-target-libgcc)
36891 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
36892 clean-stage2: clean-stage2-target-libgcc
36893 clean-stage2-target-libgcc:
36894 @if [ $(current_stage) = stage2 ]; then \
36895 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
36896 else \
36897 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
36898 $(MAKE) stage2-start; \
36899 fi; \
36900 cd $(TARGET_SUBDIR)/libgcc && \
36901 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
36902 @endif target-libgcc-bootstrap
36905 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
36906 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
36907 maybe-all-stage3-target-libgcc:
36908 maybe-clean-stage3-target-libgcc:
36909 @if target-libgcc-bootstrap
36910 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
36911 all-stage3: all-stage3-target-libgcc
36912 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
36913 all-stage3-target-libgcc: configure-stage3-target-libgcc
36914 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
36915 @r=`${PWD_COMMAND}`; export r; \
36916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36917 TFLAGS="$(STAGE3_TFLAGS)"; \
36918 $(NORMAL_TARGET_EXPORTS) \
36920 cd $(TARGET_SUBDIR)/libgcc && \
36921 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36922 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36923 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36924 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36925 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36926 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36927 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36928 $(EXTRA_TARGET_FLAGS) \
36929 TFLAGS="$(STAGE3_TFLAGS)" \
36930 $(TARGET-stage3-target-libgcc)
36932 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
36933 clean-stage3: clean-stage3-target-libgcc
36934 clean-stage3-target-libgcc:
36935 @if [ $(current_stage) = stage3 ]; then \
36936 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
36937 else \
36938 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
36939 $(MAKE) stage3-start; \
36940 fi; \
36941 cd $(TARGET_SUBDIR)/libgcc && \
36942 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
36943 @endif target-libgcc-bootstrap
36946 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
36947 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
36948 maybe-all-stage4-target-libgcc:
36949 maybe-clean-stage4-target-libgcc:
36950 @if target-libgcc-bootstrap
36951 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
36952 all-stage4: all-stage4-target-libgcc
36953 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
36954 all-stage4-target-libgcc: configure-stage4-target-libgcc
36955 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
36956 @r=`${PWD_COMMAND}`; export r; \
36957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36958 TFLAGS="$(STAGE4_TFLAGS)"; \
36959 $(NORMAL_TARGET_EXPORTS) \
36961 cd $(TARGET_SUBDIR)/libgcc && \
36962 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36963 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36964 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36965 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36966 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36967 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36968 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36969 $(EXTRA_TARGET_FLAGS) \
36970 TFLAGS="$(STAGE4_TFLAGS)" \
36971 $(TARGET-stage4-target-libgcc)
36973 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
36974 clean-stage4: clean-stage4-target-libgcc
36975 clean-stage4-target-libgcc:
36976 @if [ $(current_stage) = stage4 ]; then \
36977 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
36978 else \
36979 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
36980 $(MAKE) stage4-start; \
36981 fi; \
36982 cd $(TARGET_SUBDIR)/libgcc && \
36983 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
36984 @endif target-libgcc-bootstrap
36987 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
36988 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
36989 maybe-all-stageprofile-target-libgcc:
36990 maybe-clean-stageprofile-target-libgcc:
36991 @if target-libgcc-bootstrap
36992 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
36993 all-stageprofile: all-stageprofile-target-libgcc
36994 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
36995 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
36996 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
36997 @r=`${PWD_COMMAND}`; export r; \
36998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36999 TFLAGS="$(STAGEprofile_TFLAGS)"; \
37000 $(NORMAL_TARGET_EXPORTS) \
37002 cd $(TARGET_SUBDIR)/libgcc && \
37003 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37004 CFLAGS="$(CFLAGS_FOR_TARGET)" \
37005 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
37006 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
37007 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37008 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37009 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37010 $(EXTRA_TARGET_FLAGS) \
37011 TFLAGS="$(STAGEprofile_TFLAGS)" \
37012 $(TARGET-stageprofile-target-libgcc)
37014 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
37015 clean-stageprofile: clean-stageprofile-target-libgcc
37016 clean-stageprofile-target-libgcc:
37017 @if [ $(current_stage) = stageprofile ]; then \
37018 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
37019 else \
37020 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
37021 $(MAKE) stageprofile-start; \
37022 fi; \
37023 cd $(TARGET_SUBDIR)/libgcc && \
37024 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
37025 @endif target-libgcc-bootstrap
37028 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
37029 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
37030 maybe-all-stagefeedback-target-libgcc:
37031 maybe-clean-stagefeedback-target-libgcc:
37032 @if target-libgcc-bootstrap
37033 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
37034 all-stagefeedback: all-stagefeedback-target-libgcc
37035 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
37036 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
37037 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
37038 @r=`${PWD_COMMAND}`; export r; \
37039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37040 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
37041 $(NORMAL_TARGET_EXPORTS) \
37043 cd $(TARGET_SUBDIR)/libgcc && \
37044 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37045 CFLAGS="$(CFLAGS_FOR_TARGET)" \
37046 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
37047 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
37048 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37049 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37050 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37051 $(EXTRA_TARGET_FLAGS) \
37052 TFLAGS="$(STAGEfeedback_TFLAGS)" \
37053 $(TARGET-stagefeedback-target-libgcc)
37055 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
37056 clean-stagefeedback: clean-stagefeedback-target-libgcc
37057 clean-stagefeedback-target-libgcc:
37058 @if [ $(current_stage) = stagefeedback ]; then \
37059 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
37060 else \
37061 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
37062 $(MAKE) stagefeedback-start; \
37063 fi; \
37064 cd $(TARGET_SUBDIR)/libgcc && \
37065 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
37066 @endif target-libgcc-bootstrap
37073 .PHONY: check-target-libgcc maybe-check-target-libgcc
37074 maybe-check-target-libgcc:
37075 @if target-libgcc
37076 maybe-check-target-libgcc: check-target-libgcc
37078 # Dummy target for uncheckable module.
37079 check-target-libgcc:
37081 @endif target-libgcc
37083 .PHONY: install-target-libgcc maybe-install-target-libgcc
37084 maybe-install-target-libgcc:
37085 @if target-libgcc
37086 maybe-install-target-libgcc: install-target-libgcc
37088 install-target-libgcc: installdirs
37089 @: $(MAKE); $(unstage)
37090 @r=`${PWD_COMMAND}`; export r; \
37091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37092 $(NORMAL_TARGET_EXPORTS) \
37093 (cd $(TARGET_SUBDIR)/libgcc && \
37094 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37096 @endif target-libgcc
37098 .PHONY: install-strip-target-libgcc maybe-install-strip-target-libgcc
37099 maybe-install-strip-target-libgcc:
37100 @if target-libgcc
37101 maybe-install-strip-target-libgcc: install-strip-target-libgcc
37103 install-strip-target-libgcc: installdirs
37104 @: $(MAKE); $(unstage)
37105 @r=`${PWD_COMMAND}`; export r; \
37106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37107 $(NORMAL_TARGET_EXPORTS) \
37108 (cd $(TARGET_SUBDIR)/libgcc && \
37109 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37111 @endif target-libgcc
37113 # Other targets (info, dvi, pdf, etc.)
37115 .PHONY: maybe-info-target-libgcc info-target-libgcc
37116 maybe-info-target-libgcc:
37117 @if target-libgcc
37118 maybe-info-target-libgcc: info-target-libgcc
37120 info-target-libgcc: \
37121 configure-target-libgcc
37122 @: $(MAKE); $(unstage)
37123 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37124 r=`${PWD_COMMAND}`; export r; \
37125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37126 $(NORMAL_TARGET_EXPORTS) \
37127 echo "Doing info in $(TARGET_SUBDIR)/libgcc" ; \
37128 for flag in $(EXTRA_TARGET_FLAGS); do \
37129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37130 done; \
37131 (cd $(TARGET_SUBDIR)/libgcc && \
37132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37134 "RANLIB=$${RANLIB}" \
37135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37136 info) \
37137 || exit 1
37139 @endif target-libgcc
37141 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
37142 maybe-dvi-target-libgcc:
37143 @if target-libgcc
37144 maybe-dvi-target-libgcc: dvi-target-libgcc
37146 dvi-target-libgcc: \
37147 configure-target-libgcc
37148 @: $(MAKE); $(unstage)
37149 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37150 r=`${PWD_COMMAND}`; export r; \
37151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37152 $(NORMAL_TARGET_EXPORTS) \
37153 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc" ; \
37154 for flag in $(EXTRA_TARGET_FLAGS); do \
37155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37156 done; \
37157 (cd $(TARGET_SUBDIR)/libgcc && \
37158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37160 "RANLIB=$${RANLIB}" \
37161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37162 dvi) \
37163 || exit 1
37165 @endif target-libgcc
37167 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
37168 maybe-pdf-target-libgcc:
37169 @if target-libgcc
37170 maybe-pdf-target-libgcc: pdf-target-libgcc
37172 pdf-target-libgcc: \
37173 configure-target-libgcc
37174 @: $(MAKE); $(unstage)
37175 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37176 r=`${PWD_COMMAND}`; export r; \
37177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37178 $(NORMAL_TARGET_EXPORTS) \
37179 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc" ; \
37180 for flag in $(EXTRA_TARGET_FLAGS); do \
37181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37182 done; \
37183 (cd $(TARGET_SUBDIR)/libgcc && \
37184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37186 "RANLIB=$${RANLIB}" \
37187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37188 pdf) \
37189 || exit 1
37191 @endif target-libgcc
37193 .PHONY: maybe-html-target-libgcc html-target-libgcc
37194 maybe-html-target-libgcc:
37195 @if target-libgcc
37196 maybe-html-target-libgcc: html-target-libgcc
37198 html-target-libgcc: \
37199 configure-target-libgcc
37200 @: $(MAKE); $(unstage)
37201 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37202 r=`${PWD_COMMAND}`; export r; \
37203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37204 $(NORMAL_TARGET_EXPORTS) \
37205 echo "Doing html in $(TARGET_SUBDIR)/libgcc" ; \
37206 for flag in $(EXTRA_TARGET_FLAGS); do \
37207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37208 done; \
37209 (cd $(TARGET_SUBDIR)/libgcc && \
37210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37212 "RANLIB=$${RANLIB}" \
37213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37214 html) \
37215 || exit 1
37217 @endif target-libgcc
37219 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
37220 maybe-TAGS-target-libgcc:
37221 @if target-libgcc
37222 maybe-TAGS-target-libgcc: TAGS-target-libgcc
37224 TAGS-target-libgcc: \
37225 configure-target-libgcc
37226 @: $(MAKE); $(unstage)
37227 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37228 r=`${PWD_COMMAND}`; export r; \
37229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37230 $(NORMAL_TARGET_EXPORTS) \
37231 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc" ; \
37232 for flag in $(EXTRA_TARGET_FLAGS); do \
37233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37234 done; \
37235 (cd $(TARGET_SUBDIR)/libgcc && \
37236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37238 "RANLIB=$${RANLIB}" \
37239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37240 TAGS) \
37241 || exit 1
37243 @endif target-libgcc
37245 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
37246 maybe-install-info-target-libgcc:
37247 @if target-libgcc
37248 maybe-install-info-target-libgcc: install-info-target-libgcc
37250 install-info-target-libgcc: \
37251 configure-target-libgcc \
37252 info-target-libgcc
37253 @: $(MAKE); $(unstage)
37254 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37255 r=`${PWD_COMMAND}`; export r; \
37256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37257 $(NORMAL_TARGET_EXPORTS) \
37258 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc" ; \
37259 for flag in $(EXTRA_TARGET_FLAGS); do \
37260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37261 done; \
37262 (cd $(TARGET_SUBDIR)/libgcc && \
37263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37265 "RANLIB=$${RANLIB}" \
37266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37267 install-info) \
37268 || exit 1
37270 @endif target-libgcc
37272 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
37273 maybe-install-pdf-target-libgcc:
37274 @if target-libgcc
37275 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
37277 install-pdf-target-libgcc: \
37278 configure-target-libgcc \
37279 pdf-target-libgcc
37280 @: $(MAKE); $(unstage)
37281 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37282 r=`${PWD_COMMAND}`; export r; \
37283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37284 $(NORMAL_TARGET_EXPORTS) \
37285 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc" ; \
37286 for flag in $(EXTRA_TARGET_FLAGS); do \
37287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37288 done; \
37289 (cd $(TARGET_SUBDIR)/libgcc && \
37290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37292 "RANLIB=$${RANLIB}" \
37293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37294 install-pdf) \
37295 || exit 1
37297 @endif target-libgcc
37299 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
37300 maybe-install-html-target-libgcc:
37301 @if target-libgcc
37302 maybe-install-html-target-libgcc: install-html-target-libgcc
37304 install-html-target-libgcc: \
37305 configure-target-libgcc \
37306 html-target-libgcc
37307 @: $(MAKE); $(unstage)
37308 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37309 r=`${PWD_COMMAND}`; export r; \
37310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37311 $(NORMAL_TARGET_EXPORTS) \
37312 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc" ; \
37313 for flag in $(EXTRA_TARGET_FLAGS); do \
37314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37315 done; \
37316 (cd $(TARGET_SUBDIR)/libgcc && \
37317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37319 "RANLIB=$${RANLIB}" \
37320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37321 install-html) \
37322 || exit 1
37324 @endif target-libgcc
37326 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
37327 maybe-installcheck-target-libgcc:
37328 @if target-libgcc
37329 maybe-installcheck-target-libgcc: installcheck-target-libgcc
37331 installcheck-target-libgcc: \
37332 configure-target-libgcc
37333 @: $(MAKE); $(unstage)
37334 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37335 r=`${PWD_COMMAND}`; export r; \
37336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37337 $(NORMAL_TARGET_EXPORTS) \
37338 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc" ; \
37339 for flag in $(EXTRA_TARGET_FLAGS); do \
37340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37341 done; \
37342 (cd $(TARGET_SUBDIR)/libgcc && \
37343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37345 "RANLIB=$${RANLIB}" \
37346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37347 installcheck) \
37348 || exit 1
37350 @endif target-libgcc
37352 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
37353 maybe-mostlyclean-target-libgcc:
37354 @if target-libgcc
37355 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
37357 mostlyclean-target-libgcc:
37358 @: $(MAKE); $(unstage)
37359 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37360 r=`${PWD_COMMAND}`; export r; \
37361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37362 $(NORMAL_TARGET_EXPORTS) \
37363 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc" ; \
37364 for flag in $(EXTRA_TARGET_FLAGS); do \
37365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37366 done; \
37367 (cd $(TARGET_SUBDIR)/libgcc && \
37368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37370 "RANLIB=$${RANLIB}" \
37371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37372 mostlyclean) \
37373 || exit 1
37375 @endif target-libgcc
37377 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
37378 maybe-clean-target-libgcc:
37379 @if target-libgcc
37380 maybe-clean-target-libgcc: clean-target-libgcc
37382 clean-target-libgcc:
37383 @: $(MAKE); $(unstage)
37384 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37385 r=`${PWD_COMMAND}`; export r; \
37386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37387 $(NORMAL_TARGET_EXPORTS) \
37388 echo "Doing clean in $(TARGET_SUBDIR)/libgcc" ; \
37389 for flag in $(EXTRA_TARGET_FLAGS); do \
37390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37391 done; \
37392 (cd $(TARGET_SUBDIR)/libgcc && \
37393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37395 "RANLIB=$${RANLIB}" \
37396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37397 clean) \
37398 || exit 1
37400 @endif target-libgcc
37402 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
37403 maybe-distclean-target-libgcc:
37404 @if target-libgcc
37405 maybe-distclean-target-libgcc: distclean-target-libgcc
37407 distclean-target-libgcc:
37408 @: $(MAKE); $(unstage)
37409 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37410 r=`${PWD_COMMAND}`; export r; \
37411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37412 $(NORMAL_TARGET_EXPORTS) \
37413 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc" ; \
37414 for flag in $(EXTRA_TARGET_FLAGS); do \
37415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37416 done; \
37417 (cd $(TARGET_SUBDIR)/libgcc && \
37418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37420 "RANLIB=$${RANLIB}" \
37421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37422 distclean) \
37423 || exit 1
37425 @endif target-libgcc
37427 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
37428 maybe-maintainer-clean-target-libgcc:
37429 @if target-libgcc
37430 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
37432 maintainer-clean-target-libgcc:
37433 @: $(MAKE); $(unstage)
37434 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37435 r=`${PWD_COMMAND}`; export r; \
37436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37437 $(NORMAL_TARGET_EXPORTS) \
37438 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc" ; \
37439 for flag in $(EXTRA_TARGET_FLAGS); do \
37440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37441 done; \
37442 (cd $(TARGET_SUBDIR)/libgcc && \
37443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37445 "RANLIB=$${RANLIB}" \
37446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37447 maintainer-clean) \
37448 || exit 1
37450 @endif target-libgcc
37456 .PHONY: configure-target-libbacktrace maybe-configure-target-libbacktrace
37457 maybe-configure-target-libbacktrace:
37458 @if gcc-bootstrap
37459 configure-target-libbacktrace: stage_current
37460 @endif gcc-bootstrap
37461 @if target-libbacktrace
37462 maybe-configure-target-libbacktrace: configure-target-libbacktrace
37463 configure-target-libbacktrace:
37464 @: $(MAKE); $(unstage)
37465 @r=`${PWD_COMMAND}`; export r; \
37466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37467 echo "Checking multilib configuration for libbacktrace..."; \
37468 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace ; \
37469 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null ; \
37470 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
37471 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
37472 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
37473 else \
37474 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
37475 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
37476 fi; \
37477 else \
37478 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
37479 fi; \
37480 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
37481 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace ; \
37482 $(NORMAL_TARGET_EXPORTS) \
37483 echo Configuring in $(TARGET_SUBDIR)/libbacktrace; \
37484 cd "$(TARGET_SUBDIR)/libbacktrace" || exit 1; \
37485 case $(srcdir) in \
37486 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37487 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
37488 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37489 esac; \
37490 module_srcdir=libbacktrace; \
37491 rm -f no-such-file || : ; \
37492 CONFIG_SITE=no-such-file $(SHELL) \
37493 $$s/$$module_srcdir/configure \
37494 --srcdir=$${topdir}/$$module_srcdir \
37495 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37496 --target=${target_alias} \
37497 || exit 1
37498 @endif target-libbacktrace
37504 .PHONY: all-target-libbacktrace maybe-all-target-libbacktrace
37505 maybe-all-target-libbacktrace:
37506 @if gcc-bootstrap
37507 all-target-libbacktrace: stage_current
37508 @endif gcc-bootstrap
37509 @if target-libbacktrace
37510 TARGET-target-libbacktrace=all
37511 maybe-all-target-libbacktrace: all-target-libbacktrace
37512 all-target-libbacktrace: configure-target-libbacktrace
37513 @: $(MAKE); $(unstage)
37514 @r=`${PWD_COMMAND}`; export r; \
37515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37516 $(NORMAL_TARGET_EXPORTS) \
37517 (cd $(TARGET_SUBDIR)/libbacktrace && \
37518 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37519 $(TARGET-target-libbacktrace))
37520 @endif target-libbacktrace
37526 .PHONY: check-target-libbacktrace maybe-check-target-libbacktrace
37527 maybe-check-target-libbacktrace:
37528 @if target-libbacktrace
37529 maybe-check-target-libbacktrace: check-target-libbacktrace
37531 check-target-libbacktrace:
37532 @: $(MAKE); $(unstage)
37533 @r=`${PWD_COMMAND}`; export r; \
37534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37535 $(NORMAL_TARGET_EXPORTS) \
37536 (cd $(TARGET_SUBDIR)/libbacktrace && \
37537 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37539 @endif target-libbacktrace
37541 .PHONY: install-target-libbacktrace maybe-install-target-libbacktrace
37542 maybe-install-target-libbacktrace:
37543 @if target-libbacktrace
37544 maybe-install-target-libbacktrace: install-target-libbacktrace
37546 install-target-libbacktrace: installdirs
37547 @: $(MAKE); $(unstage)
37548 @r=`${PWD_COMMAND}`; export r; \
37549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37550 $(NORMAL_TARGET_EXPORTS) \
37551 (cd $(TARGET_SUBDIR)/libbacktrace && \
37552 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37554 @endif target-libbacktrace
37556 .PHONY: install-strip-target-libbacktrace maybe-install-strip-target-libbacktrace
37557 maybe-install-strip-target-libbacktrace:
37558 @if target-libbacktrace
37559 maybe-install-strip-target-libbacktrace: install-strip-target-libbacktrace
37561 install-strip-target-libbacktrace: installdirs
37562 @: $(MAKE); $(unstage)
37563 @r=`${PWD_COMMAND}`; export r; \
37564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37565 $(NORMAL_TARGET_EXPORTS) \
37566 (cd $(TARGET_SUBDIR)/libbacktrace && \
37567 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37569 @endif target-libbacktrace
37571 # Other targets (info, dvi, pdf, etc.)
37573 .PHONY: maybe-info-target-libbacktrace info-target-libbacktrace
37574 maybe-info-target-libbacktrace:
37575 @if target-libbacktrace
37576 maybe-info-target-libbacktrace: info-target-libbacktrace
37578 info-target-libbacktrace: \
37579 configure-target-libbacktrace
37580 @: $(MAKE); $(unstage)
37581 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37582 r=`${PWD_COMMAND}`; export r; \
37583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37584 $(NORMAL_TARGET_EXPORTS) \
37585 echo "Doing info in $(TARGET_SUBDIR)/libbacktrace" ; \
37586 for flag in $(EXTRA_TARGET_FLAGS); do \
37587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37588 done; \
37589 (cd $(TARGET_SUBDIR)/libbacktrace && \
37590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37592 "RANLIB=$${RANLIB}" \
37593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37594 info) \
37595 || exit 1
37597 @endif target-libbacktrace
37599 .PHONY: maybe-dvi-target-libbacktrace dvi-target-libbacktrace
37600 maybe-dvi-target-libbacktrace:
37601 @if target-libbacktrace
37602 maybe-dvi-target-libbacktrace: dvi-target-libbacktrace
37604 dvi-target-libbacktrace: \
37605 configure-target-libbacktrace
37606 @: $(MAKE); $(unstage)
37607 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37608 r=`${PWD_COMMAND}`; export r; \
37609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37610 $(NORMAL_TARGET_EXPORTS) \
37611 echo "Doing dvi in $(TARGET_SUBDIR)/libbacktrace" ; \
37612 for flag in $(EXTRA_TARGET_FLAGS); do \
37613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37614 done; \
37615 (cd $(TARGET_SUBDIR)/libbacktrace && \
37616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37618 "RANLIB=$${RANLIB}" \
37619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37620 dvi) \
37621 || exit 1
37623 @endif target-libbacktrace
37625 .PHONY: maybe-pdf-target-libbacktrace pdf-target-libbacktrace
37626 maybe-pdf-target-libbacktrace:
37627 @if target-libbacktrace
37628 maybe-pdf-target-libbacktrace: pdf-target-libbacktrace
37630 pdf-target-libbacktrace: \
37631 configure-target-libbacktrace
37632 @: $(MAKE); $(unstage)
37633 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37634 r=`${PWD_COMMAND}`; export r; \
37635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37636 $(NORMAL_TARGET_EXPORTS) \
37637 echo "Doing pdf in $(TARGET_SUBDIR)/libbacktrace" ; \
37638 for flag in $(EXTRA_TARGET_FLAGS); do \
37639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37640 done; \
37641 (cd $(TARGET_SUBDIR)/libbacktrace && \
37642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37644 "RANLIB=$${RANLIB}" \
37645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37646 pdf) \
37647 || exit 1
37649 @endif target-libbacktrace
37651 .PHONY: maybe-html-target-libbacktrace html-target-libbacktrace
37652 maybe-html-target-libbacktrace:
37653 @if target-libbacktrace
37654 maybe-html-target-libbacktrace: html-target-libbacktrace
37656 html-target-libbacktrace: \
37657 configure-target-libbacktrace
37658 @: $(MAKE); $(unstage)
37659 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37660 r=`${PWD_COMMAND}`; export r; \
37661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37662 $(NORMAL_TARGET_EXPORTS) \
37663 echo "Doing html in $(TARGET_SUBDIR)/libbacktrace" ; \
37664 for flag in $(EXTRA_TARGET_FLAGS); do \
37665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37666 done; \
37667 (cd $(TARGET_SUBDIR)/libbacktrace && \
37668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37670 "RANLIB=$${RANLIB}" \
37671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37672 html) \
37673 || exit 1
37675 @endif target-libbacktrace
37677 .PHONY: maybe-TAGS-target-libbacktrace TAGS-target-libbacktrace
37678 maybe-TAGS-target-libbacktrace:
37679 @if target-libbacktrace
37680 maybe-TAGS-target-libbacktrace: TAGS-target-libbacktrace
37682 TAGS-target-libbacktrace: \
37683 configure-target-libbacktrace
37684 @: $(MAKE); $(unstage)
37685 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37686 r=`${PWD_COMMAND}`; export r; \
37687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37688 $(NORMAL_TARGET_EXPORTS) \
37689 echo "Doing TAGS in $(TARGET_SUBDIR)/libbacktrace" ; \
37690 for flag in $(EXTRA_TARGET_FLAGS); do \
37691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37692 done; \
37693 (cd $(TARGET_SUBDIR)/libbacktrace && \
37694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37696 "RANLIB=$${RANLIB}" \
37697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37698 TAGS) \
37699 || exit 1
37701 @endif target-libbacktrace
37703 .PHONY: maybe-install-info-target-libbacktrace install-info-target-libbacktrace
37704 maybe-install-info-target-libbacktrace:
37705 @if target-libbacktrace
37706 maybe-install-info-target-libbacktrace: install-info-target-libbacktrace
37708 install-info-target-libbacktrace: \
37709 configure-target-libbacktrace \
37710 info-target-libbacktrace
37711 @: $(MAKE); $(unstage)
37712 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37713 r=`${PWD_COMMAND}`; export r; \
37714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37715 $(NORMAL_TARGET_EXPORTS) \
37716 echo "Doing install-info in $(TARGET_SUBDIR)/libbacktrace" ; \
37717 for flag in $(EXTRA_TARGET_FLAGS); do \
37718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37719 done; \
37720 (cd $(TARGET_SUBDIR)/libbacktrace && \
37721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37723 "RANLIB=$${RANLIB}" \
37724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37725 install-info) \
37726 || exit 1
37728 @endif target-libbacktrace
37730 .PHONY: maybe-install-pdf-target-libbacktrace install-pdf-target-libbacktrace
37731 maybe-install-pdf-target-libbacktrace:
37732 @if target-libbacktrace
37733 maybe-install-pdf-target-libbacktrace: install-pdf-target-libbacktrace
37735 install-pdf-target-libbacktrace: \
37736 configure-target-libbacktrace \
37737 pdf-target-libbacktrace
37738 @: $(MAKE); $(unstage)
37739 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37740 r=`${PWD_COMMAND}`; export r; \
37741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37742 $(NORMAL_TARGET_EXPORTS) \
37743 echo "Doing install-pdf in $(TARGET_SUBDIR)/libbacktrace" ; \
37744 for flag in $(EXTRA_TARGET_FLAGS); do \
37745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37746 done; \
37747 (cd $(TARGET_SUBDIR)/libbacktrace && \
37748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37750 "RANLIB=$${RANLIB}" \
37751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37752 install-pdf) \
37753 || exit 1
37755 @endif target-libbacktrace
37757 .PHONY: maybe-install-html-target-libbacktrace install-html-target-libbacktrace
37758 maybe-install-html-target-libbacktrace:
37759 @if target-libbacktrace
37760 maybe-install-html-target-libbacktrace: install-html-target-libbacktrace
37762 install-html-target-libbacktrace: \
37763 configure-target-libbacktrace \
37764 html-target-libbacktrace
37765 @: $(MAKE); $(unstage)
37766 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37767 r=`${PWD_COMMAND}`; export r; \
37768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37769 $(NORMAL_TARGET_EXPORTS) \
37770 echo "Doing install-html in $(TARGET_SUBDIR)/libbacktrace" ; \
37771 for flag in $(EXTRA_TARGET_FLAGS); do \
37772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37773 done; \
37774 (cd $(TARGET_SUBDIR)/libbacktrace && \
37775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37777 "RANLIB=$${RANLIB}" \
37778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37779 install-html) \
37780 || exit 1
37782 @endif target-libbacktrace
37784 .PHONY: maybe-installcheck-target-libbacktrace installcheck-target-libbacktrace
37785 maybe-installcheck-target-libbacktrace:
37786 @if target-libbacktrace
37787 maybe-installcheck-target-libbacktrace: installcheck-target-libbacktrace
37789 installcheck-target-libbacktrace: \
37790 configure-target-libbacktrace
37791 @: $(MAKE); $(unstage)
37792 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37793 r=`${PWD_COMMAND}`; export r; \
37794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37795 $(NORMAL_TARGET_EXPORTS) \
37796 echo "Doing installcheck in $(TARGET_SUBDIR)/libbacktrace" ; \
37797 for flag in $(EXTRA_TARGET_FLAGS); do \
37798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37799 done; \
37800 (cd $(TARGET_SUBDIR)/libbacktrace && \
37801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37803 "RANLIB=$${RANLIB}" \
37804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37805 installcheck) \
37806 || exit 1
37808 @endif target-libbacktrace
37810 .PHONY: maybe-mostlyclean-target-libbacktrace mostlyclean-target-libbacktrace
37811 maybe-mostlyclean-target-libbacktrace:
37812 @if target-libbacktrace
37813 maybe-mostlyclean-target-libbacktrace: mostlyclean-target-libbacktrace
37815 mostlyclean-target-libbacktrace:
37816 @: $(MAKE); $(unstage)
37817 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37818 r=`${PWD_COMMAND}`; export r; \
37819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37820 $(NORMAL_TARGET_EXPORTS) \
37821 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libbacktrace" ; \
37822 for flag in $(EXTRA_TARGET_FLAGS); do \
37823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37824 done; \
37825 (cd $(TARGET_SUBDIR)/libbacktrace && \
37826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37828 "RANLIB=$${RANLIB}" \
37829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37830 mostlyclean) \
37831 || exit 1
37833 @endif target-libbacktrace
37835 .PHONY: maybe-clean-target-libbacktrace clean-target-libbacktrace
37836 maybe-clean-target-libbacktrace:
37837 @if target-libbacktrace
37838 maybe-clean-target-libbacktrace: clean-target-libbacktrace
37840 clean-target-libbacktrace:
37841 @: $(MAKE); $(unstage)
37842 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37843 r=`${PWD_COMMAND}`; export r; \
37844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37845 $(NORMAL_TARGET_EXPORTS) \
37846 echo "Doing clean in $(TARGET_SUBDIR)/libbacktrace" ; \
37847 for flag in $(EXTRA_TARGET_FLAGS); do \
37848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37849 done; \
37850 (cd $(TARGET_SUBDIR)/libbacktrace && \
37851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37853 "RANLIB=$${RANLIB}" \
37854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37855 clean) \
37856 || exit 1
37858 @endif target-libbacktrace
37860 .PHONY: maybe-distclean-target-libbacktrace distclean-target-libbacktrace
37861 maybe-distclean-target-libbacktrace:
37862 @if target-libbacktrace
37863 maybe-distclean-target-libbacktrace: distclean-target-libbacktrace
37865 distclean-target-libbacktrace:
37866 @: $(MAKE); $(unstage)
37867 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37868 r=`${PWD_COMMAND}`; export r; \
37869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37870 $(NORMAL_TARGET_EXPORTS) \
37871 echo "Doing distclean in $(TARGET_SUBDIR)/libbacktrace" ; \
37872 for flag in $(EXTRA_TARGET_FLAGS); do \
37873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37874 done; \
37875 (cd $(TARGET_SUBDIR)/libbacktrace && \
37876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37878 "RANLIB=$${RANLIB}" \
37879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37880 distclean) \
37881 || exit 1
37883 @endif target-libbacktrace
37885 .PHONY: maybe-maintainer-clean-target-libbacktrace maintainer-clean-target-libbacktrace
37886 maybe-maintainer-clean-target-libbacktrace:
37887 @if target-libbacktrace
37888 maybe-maintainer-clean-target-libbacktrace: maintainer-clean-target-libbacktrace
37890 maintainer-clean-target-libbacktrace:
37891 @: $(MAKE); $(unstage)
37892 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37893 r=`${PWD_COMMAND}`; export r; \
37894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37895 $(NORMAL_TARGET_EXPORTS) \
37896 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libbacktrace" ; \
37897 for flag in $(EXTRA_TARGET_FLAGS); do \
37898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37899 done; \
37900 (cd $(TARGET_SUBDIR)/libbacktrace && \
37901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37903 "RANLIB=$${RANLIB}" \
37904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37905 maintainer-clean) \
37906 || exit 1
37908 @endif target-libbacktrace
37914 .PHONY: configure-target-libquadmath maybe-configure-target-libquadmath
37915 maybe-configure-target-libquadmath:
37916 @if gcc-bootstrap
37917 configure-target-libquadmath: stage_current
37918 @endif gcc-bootstrap
37919 @if target-libquadmath
37920 maybe-configure-target-libquadmath: configure-target-libquadmath
37921 configure-target-libquadmath:
37922 @: $(MAKE); $(unstage)
37923 @r=`${PWD_COMMAND}`; export r; \
37924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37925 echo "Checking multilib configuration for libquadmath..."; \
37926 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
37927 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libquadmath/multilib.tmp 2> /dev/null ; \
37928 if test -r $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
37929 if cmp -s $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
37930 rm -f $(TARGET_SUBDIR)/libquadmath/multilib.tmp; \
37931 else \
37932 rm -f $(TARGET_SUBDIR)/libquadmath/Makefile; \
37933 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
37934 fi; \
37935 else \
37936 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
37937 fi; \
37938 test ! -f $(TARGET_SUBDIR)/libquadmath/Makefile || exit 0; \
37939 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
37940 $(NORMAL_TARGET_EXPORTS) \
37941 echo Configuring in $(TARGET_SUBDIR)/libquadmath; \
37942 cd "$(TARGET_SUBDIR)/libquadmath" || exit 1; \
37943 case $(srcdir) in \
37944 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37945 *) topdir=`echo $(TARGET_SUBDIR)/libquadmath/ | \
37946 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37947 esac; \
37948 module_srcdir=libquadmath; \
37949 rm -f no-such-file || : ; \
37950 CONFIG_SITE=no-such-file $(SHELL) \
37951 $$s/$$module_srcdir/configure \
37952 --srcdir=$${topdir}/$$module_srcdir \
37953 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37954 --target=${target_alias} \
37955 || exit 1
37956 @endif target-libquadmath
37962 .PHONY: all-target-libquadmath maybe-all-target-libquadmath
37963 maybe-all-target-libquadmath:
37964 @if gcc-bootstrap
37965 all-target-libquadmath: stage_current
37966 @endif gcc-bootstrap
37967 @if target-libquadmath
37968 TARGET-target-libquadmath=all
37969 maybe-all-target-libquadmath: all-target-libquadmath
37970 all-target-libquadmath: configure-target-libquadmath
37971 @: $(MAKE); $(unstage)
37972 @r=`${PWD_COMMAND}`; export r; \
37973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37974 $(NORMAL_TARGET_EXPORTS) \
37975 (cd $(TARGET_SUBDIR)/libquadmath && \
37976 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37977 $(TARGET-target-libquadmath))
37978 @endif target-libquadmath
37984 .PHONY: check-target-libquadmath maybe-check-target-libquadmath
37985 maybe-check-target-libquadmath:
37986 @if target-libquadmath
37987 maybe-check-target-libquadmath: check-target-libquadmath
37989 check-target-libquadmath:
37990 @: $(MAKE); $(unstage)
37991 @r=`${PWD_COMMAND}`; export r; \
37992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37993 $(NORMAL_TARGET_EXPORTS) \
37994 (cd $(TARGET_SUBDIR)/libquadmath && \
37995 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37997 @endif target-libquadmath
37999 .PHONY: install-target-libquadmath maybe-install-target-libquadmath
38000 maybe-install-target-libquadmath:
38001 @if target-libquadmath
38002 maybe-install-target-libquadmath: install-target-libquadmath
38004 install-target-libquadmath: installdirs
38005 @: $(MAKE); $(unstage)
38006 @r=`${PWD_COMMAND}`; export r; \
38007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38008 $(NORMAL_TARGET_EXPORTS) \
38009 (cd $(TARGET_SUBDIR)/libquadmath && \
38010 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38012 @endif target-libquadmath
38014 .PHONY: install-strip-target-libquadmath maybe-install-strip-target-libquadmath
38015 maybe-install-strip-target-libquadmath:
38016 @if target-libquadmath
38017 maybe-install-strip-target-libquadmath: install-strip-target-libquadmath
38019 install-strip-target-libquadmath: installdirs
38020 @: $(MAKE); $(unstage)
38021 @r=`${PWD_COMMAND}`; export r; \
38022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38023 $(NORMAL_TARGET_EXPORTS) \
38024 (cd $(TARGET_SUBDIR)/libquadmath && \
38025 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38027 @endif target-libquadmath
38029 # Other targets (info, dvi, pdf, etc.)
38031 .PHONY: maybe-info-target-libquadmath info-target-libquadmath
38032 maybe-info-target-libquadmath:
38033 @if target-libquadmath
38034 maybe-info-target-libquadmath: info-target-libquadmath
38036 info-target-libquadmath: \
38037 configure-target-libquadmath
38038 @: $(MAKE); $(unstage)
38039 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38040 r=`${PWD_COMMAND}`; export r; \
38041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38042 $(NORMAL_TARGET_EXPORTS) \
38043 echo "Doing info in $(TARGET_SUBDIR)/libquadmath" ; \
38044 for flag in $(EXTRA_TARGET_FLAGS); do \
38045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38046 done; \
38047 (cd $(TARGET_SUBDIR)/libquadmath && \
38048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38050 "RANLIB=$${RANLIB}" \
38051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38052 info) \
38053 || exit 1
38055 @endif target-libquadmath
38057 .PHONY: maybe-dvi-target-libquadmath dvi-target-libquadmath
38058 maybe-dvi-target-libquadmath:
38059 @if target-libquadmath
38060 maybe-dvi-target-libquadmath: dvi-target-libquadmath
38062 dvi-target-libquadmath: \
38063 configure-target-libquadmath
38064 @: $(MAKE); $(unstage)
38065 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38066 r=`${PWD_COMMAND}`; export r; \
38067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38068 $(NORMAL_TARGET_EXPORTS) \
38069 echo "Doing dvi in $(TARGET_SUBDIR)/libquadmath" ; \
38070 for flag in $(EXTRA_TARGET_FLAGS); do \
38071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38072 done; \
38073 (cd $(TARGET_SUBDIR)/libquadmath && \
38074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38076 "RANLIB=$${RANLIB}" \
38077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38078 dvi) \
38079 || exit 1
38081 @endif target-libquadmath
38083 .PHONY: maybe-pdf-target-libquadmath pdf-target-libquadmath
38084 maybe-pdf-target-libquadmath:
38085 @if target-libquadmath
38086 maybe-pdf-target-libquadmath: pdf-target-libquadmath
38088 pdf-target-libquadmath: \
38089 configure-target-libquadmath
38090 @: $(MAKE); $(unstage)
38091 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38092 r=`${PWD_COMMAND}`; export r; \
38093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38094 $(NORMAL_TARGET_EXPORTS) \
38095 echo "Doing pdf in $(TARGET_SUBDIR)/libquadmath" ; \
38096 for flag in $(EXTRA_TARGET_FLAGS); do \
38097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38098 done; \
38099 (cd $(TARGET_SUBDIR)/libquadmath && \
38100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38102 "RANLIB=$${RANLIB}" \
38103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38104 pdf) \
38105 || exit 1
38107 @endif target-libquadmath
38109 .PHONY: maybe-html-target-libquadmath html-target-libquadmath
38110 maybe-html-target-libquadmath:
38111 @if target-libquadmath
38112 maybe-html-target-libquadmath: html-target-libquadmath
38114 html-target-libquadmath: \
38115 configure-target-libquadmath
38116 @: $(MAKE); $(unstage)
38117 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38118 r=`${PWD_COMMAND}`; export r; \
38119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38120 $(NORMAL_TARGET_EXPORTS) \
38121 echo "Doing html in $(TARGET_SUBDIR)/libquadmath" ; \
38122 for flag in $(EXTRA_TARGET_FLAGS); do \
38123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38124 done; \
38125 (cd $(TARGET_SUBDIR)/libquadmath && \
38126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38128 "RANLIB=$${RANLIB}" \
38129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38130 html) \
38131 || exit 1
38133 @endif target-libquadmath
38135 .PHONY: maybe-TAGS-target-libquadmath TAGS-target-libquadmath
38136 maybe-TAGS-target-libquadmath:
38137 @if target-libquadmath
38138 maybe-TAGS-target-libquadmath: TAGS-target-libquadmath
38140 TAGS-target-libquadmath: \
38141 configure-target-libquadmath
38142 @: $(MAKE); $(unstage)
38143 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38144 r=`${PWD_COMMAND}`; export r; \
38145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38146 $(NORMAL_TARGET_EXPORTS) \
38147 echo "Doing TAGS in $(TARGET_SUBDIR)/libquadmath" ; \
38148 for flag in $(EXTRA_TARGET_FLAGS); do \
38149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38150 done; \
38151 (cd $(TARGET_SUBDIR)/libquadmath && \
38152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38154 "RANLIB=$${RANLIB}" \
38155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38156 TAGS) \
38157 || exit 1
38159 @endif target-libquadmath
38161 .PHONY: maybe-install-info-target-libquadmath install-info-target-libquadmath
38162 maybe-install-info-target-libquadmath:
38163 @if target-libquadmath
38164 maybe-install-info-target-libquadmath: install-info-target-libquadmath
38166 install-info-target-libquadmath: \
38167 configure-target-libquadmath \
38168 info-target-libquadmath
38169 @: $(MAKE); $(unstage)
38170 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38171 r=`${PWD_COMMAND}`; export r; \
38172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38173 $(NORMAL_TARGET_EXPORTS) \
38174 echo "Doing install-info in $(TARGET_SUBDIR)/libquadmath" ; \
38175 for flag in $(EXTRA_TARGET_FLAGS); do \
38176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38177 done; \
38178 (cd $(TARGET_SUBDIR)/libquadmath && \
38179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38181 "RANLIB=$${RANLIB}" \
38182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38183 install-info) \
38184 || exit 1
38186 @endif target-libquadmath
38188 .PHONY: maybe-install-pdf-target-libquadmath install-pdf-target-libquadmath
38189 maybe-install-pdf-target-libquadmath:
38190 @if target-libquadmath
38191 maybe-install-pdf-target-libquadmath: install-pdf-target-libquadmath
38193 install-pdf-target-libquadmath: \
38194 configure-target-libquadmath \
38195 pdf-target-libquadmath
38196 @: $(MAKE); $(unstage)
38197 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38198 r=`${PWD_COMMAND}`; export r; \
38199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38200 $(NORMAL_TARGET_EXPORTS) \
38201 echo "Doing install-pdf in $(TARGET_SUBDIR)/libquadmath" ; \
38202 for flag in $(EXTRA_TARGET_FLAGS); do \
38203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38204 done; \
38205 (cd $(TARGET_SUBDIR)/libquadmath && \
38206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38208 "RANLIB=$${RANLIB}" \
38209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38210 install-pdf) \
38211 || exit 1
38213 @endif target-libquadmath
38215 .PHONY: maybe-install-html-target-libquadmath install-html-target-libquadmath
38216 maybe-install-html-target-libquadmath:
38217 @if target-libquadmath
38218 maybe-install-html-target-libquadmath: install-html-target-libquadmath
38220 install-html-target-libquadmath: \
38221 configure-target-libquadmath \
38222 html-target-libquadmath
38223 @: $(MAKE); $(unstage)
38224 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38225 r=`${PWD_COMMAND}`; export r; \
38226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38227 $(NORMAL_TARGET_EXPORTS) \
38228 echo "Doing install-html in $(TARGET_SUBDIR)/libquadmath" ; \
38229 for flag in $(EXTRA_TARGET_FLAGS); do \
38230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38231 done; \
38232 (cd $(TARGET_SUBDIR)/libquadmath && \
38233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38235 "RANLIB=$${RANLIB}" \
38236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38237 install-html) \
38238 || exit 1
38240 @endif target-libquadmath
38242 .PHONY: maybe-installcheck-target-libquadmath installcheck-target-libquadmath
38243 maybe-installcheck-target-libquadmath:
38244 @if target-libquadmath
38245 maybe-installcheck-target-libquadmath: installcheck-target-libquadmath
38247 installcheck-target-libquadmath: \
38248 configure-target-libquadmath
38249 @: $(MAKE); $(unstage)
38250 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38251 r=`${PWD_COMMAND}`; export r; \
38252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38253 $(NORMAL_TARGET_EXPORTS) \
38254 echo "Doing installcheck in $(TARGET_SUBDIR)/libquadmath" ; \
38255 for flag in $(EXTRA_TARGET_FLAGS); do \
38256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38257 done; \
38258 (cd $(TARGET_SUBDIR)/libquadmath && \
38259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38261 "RANLIB=$${RANLIB}" \
38262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38263 installcheck) \
38264 || exit 1
38266 @endif target-libquadmath
38268 .PHONY: maybe-mostlyclean-target-libquadmath mostlyclean-target-libquadmath
38269 maybe-mostlyclean-target-libquadmath:
38270 @if target-libquadmath
38271 maybe-mostlyclean-target-libquadmath: mostlyclean-target-libquadmath
38273 mostlyclean-target-libquadmath:
38274 @: $(MAKE); $(unstage)
38275 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38276 r=`${PWD_COMMAND}`; export r; \
38277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38278 $(NORMAL_TARGET_EXPORTS) \
38279 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libquadmath" ; \
38280 for flag in $(EXTRA_TARGET_FLAGS); do \
38281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38282 done; \
38283 (cd $(TARGET_SUBDIR)/libquadmath && \
38284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38286 "RANLIB=$${RANLIB}" \
38287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38288 mostlyclean) \
38289 || exit 1
38291 @endif target-libquadmath
38293 .PHONY: maybe-clean-target-libquadmath clean-target-libquadmath
38294 maybe-clean-target-libquadmath:
38295 @if target-libquadmath
38296 maybe-clean-target-libquadmath: clean-target-libquadmath
38298 clean-target-libquadmath:
38299 @: $(MAKE); $(unstage)
38300 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38301 r=`${PWD_COMMAND}`; export r; \
38302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38303 $(NORMAL_TARGET_EXPORTS) \
38304 echo "Doing clean in $(TARGET_SUBDIR)/libquadmath" ; \
38305 for flag in $(EXTRA_TARGET_FLAGS); do \
38306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38307 done; \
38308 (cd $(TARGET_SUBDIR)/libquadmath && \
38309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38311 "RANLIB=$${RANLIB}" \
38312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38313 clean) \
38314 || exit 1
38316 @endif target-libquadmath
38318 .PHONY: maybe-distclean-target-libquadmath distclean-target-libquadmath
38319 maybe-distclean-target-libquadmath:
38320 @if target-libquadmath
38321 maybe-distclean-target-libquadmath: distclean-target-libquadmath
38323 distclean-target-libquadmath:
38324 @: $(MAKE); $(unstage)
38325 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38326 r=`${PWD_COMMAND}`; export r; \
38327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38328 $(NORMAL_TARGET_EXPORTS) \
38329 echo "Doing distclean in $(TARGET_SUBDIR)/libquadmath" ; \
38330 for flag in $(EXTRA_TARGET_FLAGS); do \
38331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38332 done; \
38333 (cd $(TARGET_SUBDIR)/libquadmath && \
38334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38336 "RANLIB=$${RANLIB}" \
38337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38338 distclean) \
38339 || exit 1
38341 @endif target-libquadmath
38343 .PHONY: maybe-maintainer-clean-target-libquadmath maintainer-clean-target-libquadmath
38344 maybe-maintainer-clean-target-libquadmath:
38345 @if target-libquadmath
38346 maybe-maintainer-clean-target-libquadmath: maintainer-clean-target-libquadmath
38348 maintainer-clean-target-libquadmath:
38349 @: $(MAKE); $(unstage)
38350 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38351 r=`${PWD_COMMAND}`; export r; \
38352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38353 $(NORMAL_TARGET_EXPORTS) \
38354 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libquadmath" ; \
38355 for flag in $(EXTRA_TARGET_FLAGS); do \
38356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38357 done; \
38358 (cd $(TARGET_SUBDIR)/libquadmath && \
38359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38361 "RANLIB=$${RANLIB}" \
38362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38363 maintainer-clean) \
38364 || exit 1
38366 @endif target-libquadmath
38372 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
38373 maybe-configure-target-libgfortran:
38374 @if gcc-bootstrap
38375 configure-target-libgfortran: stage_current
38376 @endif gcc-bootstrap
38377 @if target-libgfortran
38378 maybe-configure-target-libgfortran: configure-target-libgfortran
38379 configure-target-libgfortran:
38380 @: $(MAKE); $(unstage)
38381 @r=`${PWD_COMMAND}`; export r; \
38382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38383 echo "Checking multilib configuration for libgfortran..."; \
38384 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
38385 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
38386 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
38387 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
38388 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
38389 else \
38390 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
38391 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
38392 fi; \
38393 else \
38394 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
38395 fi; \
38396 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
38397 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
38398 $(NORMAL_TARGET_EXPORTS) \
38399 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
38400 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
38401 case $(srcdir) in \
38402 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38403 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
38404 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38405 esac; \
38406 module_srcdir=libgfortran; \
38407 rm -f no-such-file || : ; \
38408 CONFIG_SITE=no-such-file $(SHELL) \
38409 $$s/$$module_srcdir/configure \
38410 --srcdir=$${topdir}/$$module_srcdir \
38411 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38412 --target=${target_alias} \
38413 || exit 1
38414 @endif target-libgfortran
38420 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
38421 maybe-all-target-libgfortran:
38422 @if gcc-bootstrap
38423 all-target-libgfortran: stage_current
38424 @endif gcc-bootstrap
38425 @if target-libgfortran
38426 TARGET-target-libgfortran=all
38427 maybe-all-target-libgfortran: all-target-libgfortran
38428 all-target-libgfortran: configure-target-libgfortran
38429 @: $(MAKE); $(unstage)
38430 @r=`${PWD_COMMAND}`; export r; \
38431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38432 $(NORMAL_TARGET_EXPORTS) \
38433 (cd $(TARGET_SUBDIR)/libgfortran && \
38434 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38435 $(TARGET-target-libgfortran))
38436 @endif target-libgfortran
38442 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
38443 maybe-check-target-libgfortran:
38444 @if target-libgfortran
38445 maybe-check-target-libgfortran: check-target-libgfortran
38447 check-target-libgfortran:
38448 @: $(MAKE); $(unstage)
38449 @r=`${PWD_COMMAND}`; export r; \
38450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38451 $(NORMAL_TARGET_EXPORTS) \
38452 (cd $(TARGET_SUBDIR)/libgfortran && \
38453 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38455 @endif target-libgfortran
38457 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
38458 maybe-install-target-libgfortran:
38459 @if target-libgfortran
38460 maybe-install-target-libgfortran: install-target-libgfortran
38462 install-target-libgfortran: installdirs
38463 @: $(MAKE); $(unstage)
38464 @r=`${PWD_COMMAND}`; export r; \
38465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38466 $(NORMAL_TARGET_EXPORTS) \
38467 (cd $(TARGET_SUBDIR)/libgfortran && \
38468 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38470 @endif target-libgfortran
38472 .PHONY: install-strip-target-libgfortran maybe-install-strip-target-libgfortran
38473 maybe-install-strip-target-libgfortran:
38474 @if target-libgfortran
38475 maybe-install-strip-target-libgfortran: install-strip-target-libgfortran
38477 install-strip-target-libgfortran: installdirs
38478 @: $(MAKE); $(unstage)
38479 @r=`${PWD_COMMAND}`; export r; \
38480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38481 $(NORMAL_TARGET_EXPORTS) \
38482 (cd $(TARGET_SUBDIR)/libgfortran && \
38483 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38485 @endif target-libgfortran
38487 # Other targets (info, dvi, pdf, etc.)
38489 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
38490 maybe-info-target-libgfortran:
38491 @if target-libgfortran
38492 maybe-info-target-libgfortran: info-target-libgfortran
38494 info-target-libgfortran: \
38495 configure-target-libgfortran
38496 @: $(MAKE); $(unstage)
38497 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38498 r=`${PWD_COMMAND}`; export r; \
38499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38500 $(NORMAL_TARGET_EXPORTS) \
38501 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
38502 for flag in $(EXTRA_TARGET_FLAGS); do \
38503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38504 done; \
38505 (cd $(TARGET_SUBDIR)/libgfortran && \
38506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38508 "RANLIB=$${RANLIB}" \
38509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38510 info) \
38511 || exit 1
38513 @endif target-libgfortran
38515 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
38516 maybe-dvi-target-libgfortran:
38517 @if target-libgfortran
38518 maybe-dvi-target-libgfortran: dvi-target-libgfortran
38520 dvi-target-libgfortran: \
38521 configure-target-libgfortran
38522 @: $(MAKE); $(unstage)
38523 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38524 r=`${PWD_COMMAND}`; export r; \
38525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38526 $(NORMAL_TARGET_EXPORTS) \
38527 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
38528 for flag in $(EXTRA_TARGET_FLAGS); do \
38529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38530 done; \
38531 (cd $(TARGET_SUBDIR)/libgfortran && \
38532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38534 "RANLIB=$${RANLIB}" \
38535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38536 dvi) \
38537 || exit 1
38539 @endif target-libgfortran
38541 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
38542 maybe-pdf-target-libgfortran:
38543 @if target-libgfortran
38544 maybe-pdf-target-libgfortran: pdf-target-libgfortran
38546 pdf-target-libgfortran: \
38547 configure-target-libgfortran
38548 @: $(MAKE); $(unstage)
38549 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38550 r=`${PWD_COMMAND}`; export r; \
38551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38552 $(NORMAL_TARGET_EXPORTS) \
38553 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran" ; \
38554 for flag in $(EXTRA_TARGET_FLAGS); do \
38555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38556 done; \
38557 (cd $(TARGET_SUBDIR)/libgfortran && \
38558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38560 "RANLIB=$${RANLIB}" \
38561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38562 pdf) \
38563 || exit 1
38565 @endif target-libgfortran
38567 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
38568 maybe-html-target-libgfortran:
38569 @if target-libgfortran
38570 maybe-html-target-libgfortran: html-target-libgfortran
38572 html-target-libgfortran: \
38573 configure-target-libgfortran
38574 @: $(MAKE); $(unstage)
38575 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38576 r=`${PWD_COMMAND}`; export r; \
38577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38578 $(NORMAL_TARGET_EXPORTS) \
38579 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
38580 for flag in $(EXTRA_TARGET_FLAGS); do \
38581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38582 done; \
38583 (cd $(TARGET_SUBDIR)/libgfortran && \
38584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38586 "RANLIB=$${RANLIB}" \
38587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38588 html) \
38589 || exit 1
38591 @endif target-libgfortran
38593 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
38594 maybe-TAGS-target-libgfortran:
38595 @if target-libgfortran
38596 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
38598 TAGS-target-libgfortran: \
38599 configure-target-libgfortran
38600 @: $(MAKE); $(unstage)
38601 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38602 r=`${PWD_COMMAND}`; export r; \
38603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38604 $(NORMAL_TARGET_EXPORTS) \
38605 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
38606 for flag in $(EXTRA_TARGET_FLAGS); do \
38607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38608 done; \
38609 (cd $(TARGET_SUBDIR)/libgfortran && \
38610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38612 "RANLIB=$${RANLIB}" \
38613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38614 TAGS) \
38615 || exit 1
38617 @endif target-libgfortran
38619 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
38620 maybe-install-info-target-libgfortran:
38621 @if target-libgfortran
38622 maybe-install-info-target-libgfortran: install-info-target-libgfortran
38624 install-info-target-libgfortran: \
38625 configure-target-libgfortran \
38626 info-target-libgfortran
38627 @: $(MAKE); $(unstage)
38628 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38629 r=`${PWD_COMMAND}`; export r; \
38630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38631 $(NORMAL_TARGET_EXPORTS) \
38632 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
38633 for flag in $(EXTRA_TARGET_FLAGS); do \
38634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38635 done; \
38636 (cd $(TARGET_SUBDIR)/libgfortran && \
38637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38639 "RANLIB=$${RANLIB}" \
38640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38641 install-info) \
38642 || exit 1
38644 @endif target-libgfortran
38646 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
38647 maybe-install-pdf-target-libgfortran:
38648 @if target-libgfortran
38649 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
38651 install-pdf-target-libgfortran: \
38652 configure-target-libgfortran \
38653 pdf-target-libgfortran
38654 @: $(MAKE); $(unstage)
38655 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38656 r=`${PWD_COMMAND}`; export r; \
38657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38658 $(NORMAL_TARGET_EXPORTS) \
38659 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran" ; \
38660 for flag in $(EXTRA_TARGET_FLAGS); do \
38661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38662 done; \
38663 (cd $(TARGET_SUBDIR)/libgfortran && \
38664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38666 "RANLIB=$${RANLIB}" \
38667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38668 install-pdf) \
38669 || exit 1
38671 @endif target-libgfortran
38673 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
38674 maybe-install-html-target-libgfortran:
38675 @if target-libgfortran
38676 maybe-install-html-target-libgfortran: install-html-target-libgfortran
38678 install-html-target-libgfortran: \
38679 configure-target-libgfortran \
38680 html-target-libgfortran
38681 @: $(MAKE); $(unstage)
38682 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38683 r=`${PWD_COMMAND}`; export r; \
38684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38685 $(NORMAL_TARGET_EXPORTS) \
38686 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran" ; \
38687 for flag in $(EXTRA_TARGET_FLAGS); do \
38688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38689 done; \
38690 (cd $(TARGET_SUBDIR)/libgfortran && \
38691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38693 "RANLIB=$${RANLIB}" \
38694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38695 install-html) \
38696 || exit 1
38698 @endif target-libgfortran
38700 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
38701 maybe-installcheck-target-libgfortran:
38702 @if target-libgfortran
38703 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
38705 installcheck-target-libgfortran: \
38706 configure-target-libgfortran
38707 @: $(MAKE); $(unstage)
38708 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38709 r=`${PWD_COMMAND}`; export r; \
38710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38711 $(NORMAL_TARGET_EXPORTS) \
38712 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
38713 for flag in $(EXTRA_TARGET_FLAGS); do \
38714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38715 done; \
38716 (cd $(TARGET_SUBDIR)/libgfortran && \
38717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38719 "RANLIB=$${RANLIB}" \
38720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38721 installcheck) \
38722 || exit 1
38724 @endif target-libgfortran
38726 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
38727 maybe-mostlyclean-target-libgfortran:
38728 @if target-libgfortran
38729 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
38731 mostlyclean-target-libgfortran:
38732 @: $(MAKE); $(unstage)
38733 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38734 r=`${PWD_COMMAND}`; export r; \
38735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38736 $(NORMAL_TARGET_EXPORTS) \
38737 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
38738 for flag in $(EXTRA_TARGET_FLAGS); do \
38739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38740 done; \
38741 (cd $(TARGET_SUBDIR)/libgfortran && \
38742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38744 "RANLIB=$${RANLIB}" \
38745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38746 mostlyclean) \
38747 || exit 1
38749 @endif target-libgfortran
38751 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
38752 maybe-clean-target-libgfortran:
38753 @if target-libgfortran
38754 maybe-clean-target-libgfortran: clean-target-libgfortran
38756 clean-target-libgfortran:
38757 @: $(MAKE); $(unstage)
38758 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38759 r=`${PWD_COMMAND}`; export r; \
38760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38761 $(NORMAL_TARGET_EXPORTS) \
38762 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
38763 for flag in $(EXTRA_TARGET_FLAGS); do \
38764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38765 done; \
38766 (cd $(TARGET_SUBDIR)/libgfortran && \
38767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38769 "RANLIB=$${RANLIB}" \
38770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38771 clean) \
38772 || exit 1
38774 @endif target-libgfortran
38776 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
38777 maybe-distclean-target-libgfortran:
38778 @if target-libgfortran
38779 maybe-distclean-target-libgfortran: distclean-target-libgfortran
38781 distclean-target-libgfortran:
38782 @: $(MAKE); $(unstage)
38783 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38784 r=`${PWD_COMMAND}`; export r; \
38785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38786 $(NORMAL_TARGET_EXPORTS) \
38787 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
38788 for flag in $(EXTRA_TARGET_FLAGS); do \
38789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38790 done; \
38791 (cd $(TARGET_SUBDIR)/libgfortran && \
38792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38794 "RANLIB=$${RANLIB}" \
38795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38796 distclean) \
38797 || exit 1
38799 @endif target-libgfortran
38801 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
38802 maybe-maintainer-clean-target-libgfortran:
38803 @if target-libgfortran
38804 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
38806 maintainer-clean-target-libgfortran:
38807 @: $(MAKE); $(unstage)
38808 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38809 r=`${PWD_COMMAND}`; export r; \
38810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38811 $(NORMAL_TARGET_EXPORTS) \
38812 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
38813 for flag in $(EXTRA_TARGET_FLAGS); do \
38814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38815 done; \
38816 (cd $(TARGET_SUBDIR)/libgfortran && \
38817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38819 "RANLIB=$${RANLIB}" \
38820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38821 maintainer-clean) \
38822 || exit 1
38824 @endif target-libgfortran
38830 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
38831 maybe-configure-target-libobjc:
38832 @if gcc-bootstrap
38833 configure-target-libobjc: stage_current
38834 @endif gcc-bootstrap
38835 @if target-libobjc
38836 maybe-configure-target-libobjc: configure-target-libobjc
38837 configure-target-libobjc:
38838 @: $(MAKE); $(unstage)
38839 @r=`${PWD_COMMAND}`; export r; \
38840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38841 echo "Checking multilib configuration for libobjc..."; \
38842 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
38843 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
38844 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
38845 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
38846 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
38847 else \
38848 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
38849 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
38850 fi; \
38851 else \
38852 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
38853 fi; \
38854 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
38855 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
38856 $(NORMAL_TARGET_EXPORTS) \
38857 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
38858 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
38859 case $(srcdir) in \
38860 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38861 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
38862 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38863 esac; \
38864 module_srcdir=libobjc; \
38865 rm -f no-such-file || : ; \
38866 CONFIG_SITE=no-such-file $(SHELL) \
38867 $$s/$$module_srcdir/configure \
38868 --srcdir=$${topdir}/$$module_srcdir \
38869 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38870 --target=${target_alias} \
38871 || exit 1
38872 @endif target-libobjc
38878 .PHONY: all-target-libobjc maybe-all-target-libobjc
38879 maybe-all-target-libobjc:
38880 @if gcc-bootstrap
38881 all-target-libobjc: stage_current
38882 @endif gcc-bootstrap
38883 @if target-libobjc
38884 TARGET-target-libobjc=all
38885 maybe-all-target-libobjc: all-target-libobjc
38886 all-target-libobjc: configure-target-libobjc
38887 @: $(MAKE); $(unstage)
38888 @r=`${PWD_COMMAND}`; export r; \
38889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38890 $(NORMAL_TARGET_EXPORTS) \
38891 (cd $(TARGET_SUBDIR)/libobjc && \
38892 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38893 $(TARGET-target-libobjc))
38894 @endif target-libobjc
38900 .PHONY: check-target-libobjc maybe-check-target-libobjc
38901 maybe-check-target-libobjc:
38902 @if target-libobjc
38903 maybe-check-target-libobjc: check-target-libobjc
38905 check-target-libobjc:
38906 @: $(MAKE); $(unstage)
38907 @r=`${PWD_COMMAND}`; export r; \
38908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38909 $(NORMAL_TARGET_EXPORTS) \
38910 (cd $(TARGET_SUBDIR)/libobjc && \
38911 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38913 @endif target-libobjc
38915 .PHONY: install-target-libobjc maybe-install-target-libobjc
38916 maybe-install-target-libobjc:
38917 @if target-libobjc
38918 maybe-install-target-libobjc: install-target-libobjc
38920 install-target-libobjc: installdirs
38921 @: $(MAKE); $(unstage)
38922 @r=`${PWD_COMMAND}`; export r; \
38923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38924 $(NORMAL_TARGET_EXPORTS) \
38925 (cd $(TARGET_SUBDIR)/libobjc && \
38926 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38928 @endif target-libobjc
38930 .PHONY: install-strip-target-libobjc maybe-install-strip-target-libobjc
38931 maybe-install-strip-target-libobjc:
38932 @if target-libobjc
38933 maybe-install-strip-target-libobjc: install-strip-target-libobjc
38935 install-strip-target-libobjc: installdirs
38936 @: $(MAKE); $(unstage)
38937 @r=`${PWD_COMMAND}`; export r; \
38938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38939 $(NORMAL_TARGET_EXPORTS) \
38940 (cd $(TARGET_SUBDIR)/libobjc && \
38941 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38943 @endif target-libobjc
38945 # Other targets (info, dvi, pdf, etc.)
38947 .PHONY: maybe-info-target-libobjc info-target-libobjc
38948 maybe-info-target-libobjc:
38949 @if target-libobjc
38950 maybe-info-target-libobjc: info-target-libobjc
38952 info-target-libobjc: \
38953 configure-target-libobjc
38954 @: $(MAKE); $(unstage)
38955 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
38956 r=`${PWD_COMMAND}`; export r; \
38957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38958 $(NORMAL_TARGET_EXPORTS) \
38959 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
38960 for flag in $(EXTRA_TARGET_FLAGS); do \
38961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38962 done; \
38963 (cd $(TARGET_SUBDIR)/libobjc && \
38964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38966 "RANLIB=$${RANLIB}" \
38967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38968 info) \
38969 || exit 1
38971 @endif target-libobjc
38973 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
38974 maybe-dvi-target-libobjc:
38975 @if target-libobjc
38976 maybe-dvi-target-libobjc: dvi-target-libobjc
38978 dvi-target-libobjc: \
38979 configure-target-libobjc
38980 @: $(MAKE); $(unstage)
38981 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
38982 r=`${PWD_COMMAND}`; export r; \
38983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38984 $(NORMAL_TARGET_EXPORTS) \
38985 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
38986 for flag in $(EXTRA_TARGET_FLAGS); do \
38987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38988 done; \
38989 (cd $(TARGET_SUBDIR)/libobjc && \
38990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38992 "RANLIB=$${RANLIB}" \
38993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38994 dvi) \
38995 || exit 1
38997 @endif target-libobjc
38999 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
39000 maybe-pdf-target-libobjc:
39001 @if target-libobjc
39002 maybe-pdf-target-libobjc: pdf-target-libobjc
39004 pdf-target-libobjc: \
39005 configure-target-libobjc
39006 @: $(MAKE); $(unstage)
39007 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39008 r=`${PWD_COMMAND}`; export r; \
39009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39010 $(NORMAL_TARGET_EXPORTS) \
39011 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc" ; \
39012 for flag in $(EXTRA_TARGET_FLAGS); do \
39013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39014 done; \
39015 (cd $(TARGET_SUBDIR)/libobjc && \
39016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39018 "RANLIB=$${RANLIB}" \
39019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39020 pdf) \
39021 || exit 1
39023 @endif target-libobjc
39025 .PHONY: maybe-html-target-libobjc html-target-libobjc
39026 maybe-html-target-libobjc:
39027 @if target-libobjc
39028 maybe-html-target-libobjc: html-target-libobjc
39030 html-target-libobjc: \
39031 configure-target-libobjc
39032 @: $(MAKE); $(unstage)
39033 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39034 r=`${PWD_COMMAND}`; export r; \
39035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39036 $(NORMAL_TARGET_EXPORTS) \
39037 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
39038 for flag in $(EXTRA_TARGET_FLAGS); do \
39039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39040 done; \
39041 (cd $(TARGET_SUBDIR)/libobjc && \
39042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39044 "RANLIB=$${RANLIB}" \
39045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39046 html) \
39047 || exit 1
39049 @endif target-libobjc
39051 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
39052 maybe-TAGS-target-libobjc:
39053 @if target-libobjc
39054 maybe-TAGS-target-libobjc: TAGS-target-libobjc
39056 TAGS-target-libobjc: \
39057 configure-target-libobjc
39058 @: $(MAKE); $(unstage)
39059 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39060 r=`${PWD_COMMAND}`; export r; \
39061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39062 $(NORMAL_TARGET_EXPORTS) \
39063 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
39064 for flag in $(EXTRA_TARGET_FLAGS); do \
39065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39066 done; \
39067 (cd $(TARGET_SUBDIR)/libobjc && \
39068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39070 "RANLIB=$${RANLIB}" \
39071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39072 TAGS) \
39073 || exit 1
39075 @endif target-libobjc
39077 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
39078 maybe-install-info-target-libobjc:
39079 @if target-libobjc
39080 maybe-install-info-target-libobjc: install-info-target-libobjc
39082 install-info-target-libobjc: \
39083 configure-target-libobjc \
39084 info-target-libobjc
39085 @: $(MAKE); $(unstage)
39086 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39087 r=`${PWD_COMMAND}`; export r; \
39088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39089 $(NORMAL_TARGET_EXPORTS) \
39090 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
39091 for flag in $(EXTRA_TARGET_FLAGS); do \
39092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39093 done; \
39094 (cd $(TARGET_SUBDIR)/libobjc && \
39095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39097 "RANLIB=$${RANLIB}" \
39098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39099 install-info) \
39100 || exit 1
39102 @endif target-libobjc
39104 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
39105 maybe-install-pdf-target-libobjc:
39106 @if target-libobjc
39107 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
39109 install-pdf-target-libobjc: \
39110 configure-target-libobjc \
39111 pdf-target-libobjc
39112 @: $(MAKE); $(unstage)
39113 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39114 r=`${PWD_COMMAND}`; export r; \
39115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39116 $(NORMAL_TARGET_EXPORTS) \
39117 echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc" ; \
39118 for flag in $(EXTRA_TARGET_FLAGS); do \
39119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39120 done; \
39121 (cd $(TARGET_SUBDIR)/libobjc && \
39122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39124 "RANLIB=$${RANLIB}" \
39125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39126 install-pdf) \
39127 || exit 1
39129 @endif target-libobjc
39131 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
39132 maybe-install-html-target-libobjc:
39133 @if target-libobjc
39134 maybe-install-html-target-libobjc: install-html-target-libobjc
39136 install-html-target-libobjc: \
39137 configure-target-libobjc \
39138 html-target-libobjc
39139 @: $(MAKE); $(unstage)
39140 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39141 r=`${PWD_COMMAND}`; export r; \
39142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39143 $(NORMAL_TARGET_EXPORTS) \
39144 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc" ; \
39145 for flag in $(EXTRA_TARGET_FLAGS); do \
39146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39147 done; \
39148 (cd $(TARGET_SUBDIR)/libobjc && \
39149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39151 "RANLIB=$${RANLIB}" \
39152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39153 install-html) \
39154 || exit 1
39156 @endif target-libobjc
39158 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
39159 maybe-installcheck-target-libobjc:
39160 @if target-libobjc
39161 maybe-installcheck-target-libobjc: installcheck-target-libobjc
39163 installcheck-target-libobjc: \
39164 configure-target-libobjc
39165 @: $(MAKE); $(unstage)
39166 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39167 r=`${PWD_COMMAND}`; export r; \
39168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39169 $(NORMAL_TARGET_EXPORTS) \
39170 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
39171 for flag in $(EXTRA_TARGET_FLAGS); do \
39172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39173 done; \
39174 (cd $(TARGET_SUBDIR)/libobjc && \
39175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39177 "RANLIB=$${RANLIB}" \
39178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39179 installcheck) \
39180 || exit 1
39182 @endif target-libobjc
39184 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
39185 maybe-mostlyclean-target-libobjc:
39186 @if target-libobjc
39187 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
39189 mostlyclean-target-libobjc:
39190 @: $(MAKE); $(unstage)
39191 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39192 r=`${PWD_COMMAND}`; export r; \
39193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39194 $(NORMAL_TARGET_EXPORTS) \
39195 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
39196 for flag in $(EXTRA_TARGET_FLAGS); do \
39197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39198 done; \
39199 (cd $(TARGET_SUBDIR)/libobjc && \
39200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39202 "RANLIB=$${RANLIB}" \
39203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39204 mostlyclean) \
39205 || exit 1
39207 @endif target-libobjc
39209 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
39210 maybe-clean-target-libobjc:
39211 @if target-libobjc
39212 maybe-clean-target-libobjc: clean-target-libobjc
39214 clean-target-libobjc:
39215 @: $(MAKE); $(unstage)
39216 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39217 r=`${PWD_COMMAND}`; export r; \
39218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39219 $(NORMAL_TARGET_EXPORTS) \
39220 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
39221 for flag in $(EXTRA_TARGET_FLAGS); do \
39222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39223 done; \
39224 (cd $(TARGET_SUBDIR)/libobjc && \
39225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39227 "RANLIB=$${RANLIB}" \
39228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39229 clean) \
39230 || exit 1
39232 @endif target-libobjc
39234 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
39235 maybe-distclean-target-libobjc:
39236 @if target-libobjc
39237 maybe-distclean-target-libobjc: distclean-target-libobjc
39239 distclean-target-libobjc:
39240 @: $(MAKE); $(unstage)
39241 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39242 r=`${PWD_COMMAND}`; export r; \
39243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39244 $(NORMAL_TARGET_EXPORTS) \
39245 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
39246 for flag in $(EXTRA_TARGET_FLAGS); do \
39247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39248 done; \
39249 (cd $(TARGET_SUBDIR)/libobjc && \
39250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39252 "RANLIB=$${RANLIB}" \
39253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39254 distclean) \
39255 || exit 1
39257 @endif target-libobjc
39259 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
39260 maybe-maintainer-clean-target-libobjc:
39261 @if target-libobjc
39262 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
39264 maintainer-clean-target-libobjc:
39265 @: $(MAKE); $(unstage)
39266 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39267 r=`${PWD_COMMAND}`; export r; \
39268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39269 $(NORMAL_TARGET_EXPORTS) \
39270 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
39271 for flag in $(EXTRA_TARGET_FLAGS); do \
39272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39273 done; \
39274 (cd $(TARGET_SUBDIR)/libobjc && \
39275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39277 "RANLIB=$${RANLIB}" \
39278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39279 maintainer-clean) \
39280 || exit 1
39282 @endif target-libobjc
39288 .PHONY: configure-target-libgo maybe-configure-target-libgo
39289 maybe-configure-target-libgo:
39290 @if gcc-bootstrap
39291 configure-target-libgo: stage_current
39292 @endif gcc-bootstrap
39293 @if target-libgo
39294 maybe-configure-target-libgo: configure-target-libgo
39295 configure-target-libgo:
39296 @: $(MAKE); $(unstage)
39297 @r=`${PWD_COMMAND}`; export r; \
39298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39299 echo "Checking multilib configuration for libgo..."; \
39300 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
39301 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgo/multilib.tmp 2> /dev/null ; \
39302 if test -r $(TARGET_SUBDIR)/libgo/multilib.out; then \
39303 if cmp -s $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; then \
39304 rm -f $(TARGET_SUBDIR)/libgo/multilib.tmp; \
39305 else \
39306 rm -f $(TARGET_SUBDIR)/libgo/Makefile; \
39307 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
39308 fi; \
39309 else \
39310 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
39311 fi; \
39312 test ! -f $(TARGET_SUBDIR)/libgo/Makefile || exit 0; \
39313 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
39314 $(NORMAL_TARGET_EXPORTS) \
39315 echo Configuring in $(TARGET_SUBDIR)/libgo; \
39316 cd "$(TARGET_SUBDIR)/libgo" || exit 1; \
39317 case $(srcdir) in \
39318 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39319 *) topdir=`echo $(TARGET_SUBDIR)/libgo/ | \
39320 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39321 esac; \
39322 module_srcdir=libgo; \
39323 rm -f no-such-file || : ; \
39324 CONFIG_SITE=no-such-file $(SHELL) \
39325 $$s/$$module_srcdir/configure \
39326 --srcdir=$${topdir}/$$module_srcdir \
39327 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39328 --target=${target_alias} \
39329 || exit 1
39330 @endif target-libgo
39336 .PHONY: all-target-libgo maybe-all-target-libgo
39337 maybe-all-target-libgo:
39338 @if gcc-bootstrap
39339 all-target-libgo: stage_current
39340 @endif gcc-bootstrap
39341 @if target-libgo
39342 TARGET-target-libgo=all
39343 maybe-all-target-libgo: all-target-libgo
39344 all-target-libgo: configure-target-libgo
39345 @: $(MAKE); $(unstage)
39346 @r=`${PWD_COMMAND}`; export r; \
39347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39348 $(NORMAL_TARGET_EXPORTS) \
39349 (cd $(TARGET_SUBDIR)/libgo && \
39350 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
39351 $(TARGET-target-libgo))
39352 @endif target-libgo
39358 .PHONY: check-target-libgo maybe-check-target-libgo
39359 maybe-check-target-libgo:
39360 @if target-libgo
39361 maybe-check-target-libgo: check-target-libgo
39363 check-target-libgo:
39364 @: $(MAKE); $(unstage)
39365 @r=`${PWD_COMMAND}`; export r; \
39366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39367 $(NORMAL_TARGET_EXPORTS) \
39368 (cd $(TARGET_SUBDIR)/libgo && \
39369 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39371 @endif target-libgo
39373 .PHONY: install-target-libgo maybe-install-target-libgo
39374 maybe-install-target-libgo:
39375 @if target-libgo
39376 maybe-install-target-libgo: install-target-libgo
39378 install-target-libgo: installdirs
39379 @: $(MAKE); $(unstage)
39380 @r=`${PWD_COMMAND}`; export r; \
39381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39382 $(NORMAL_TARGET_EXPORTS) \
39383 (cd $(TARGET_SUBDIR)/libgo && \
39384 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39386 @endif target-libgo
39388 .PHONY: install-strip-target-libgo maybe-install-strip-target-libgo
39389 maybe-install-strip-target-libgo:
39390 @if target-libgo
39391 maybe-install-strip-target-libgo: install-strip-target-libgo
39393 install-strip-target-libgo: installdirs
39394 @: $(MAKE); $(unstage)
39395 @r=`${PWD_COMMAND}`; export r; \
39396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39397 $(NORMAL_TARGET_EXPORTS) \
39398 (cd $(TARGET_SUBDIR)/libgo && \
39399 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39401 @endif target-libgo
39403 # Other targets (info, dvi, pdf, etc.)
39405 .PHONY: maybe-info-target-libgo info-target-libgo
39406 maybe-info-target-libgo:
39407 @if target-libgo
39408 maybe-info-target-libgo: info-target-libgo
39410 info-target-libgo: \
39411 configure-target-libgo
39412 @: $(MAKE); $(unstage)
39413 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39414 r=`${PWD_COMMAND}`; export r; \
39415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39416 $(NORMAL_TARGET_EXPORTS) \
39417 echo "Doing info in $(TARGET_SUBDIR)/libgo" ; \
39418 for flag in $(EXTRA_TARGET_FLAGS); do \
39419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39420 done; \
39421 (cd $(TARGET_SUBDIR)/libgo && \
39422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39424 "RANLIB=$${RANLIB}" \
39425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39426 info) \
39427 || exit 1
39429 @endif target-libgo
39431 .PHONY: maybe-dvi-target-libgo dvi-target-libgo
39432 maybe-dvi-target-libgo:
39433 @if target-libgo
39434 maybe-dvi-target-libgo: dvi-target-libgo
39436 dvi-target-libgo: \
39437 configure-target-libgo
39438 @: $(MAKE); $(unstage)
39439 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39440 r=`${PWD_COMMAND}`; export r; \
39441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39442 $(NORMAL_TARGET_EXPORTS) \
39443 echo "Doing dvi in $(TARGET_SUBDIR)/libgo" ; \
39444 for flag in $(EXTRA_TARGET_FLAGS); do \
39445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39446 done; \
39447 (cd $(TARGET_SUBDIR)/libgo && \
39448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39450 "RANLIB=$${RANLIB}" \
39451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39452 dvi) \
39453 || exit 1
39455 @endif target-libgo
39457 .PHONY: maybe-pdf-target-libgo pdf-target-libgo
39458 maybe-pdf-target-libgo:
39459 @if target-libgo
39460 maybe-pdf-target-libgo: pdf-target-libgo
39462 pdf-target-libgo: \
39463 configure-target-libgo
39464 @: $(MAKE); $(unstage)
39465 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39466 r=`${PWD_COMMAND}`; export r; \
39467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39468 $(NORMAL_TARGET_EXPORTS) \
39469 echo "Doing pdf in $(TARGET_SUBDIR)/libgo" ; \
39470 for flag in $(EXTRA_TARGET_FLAGS); do \
39471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39472 done; \
39473 (cd $(TARGET_SUBDIR)/libgo && \
39474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39476 "RANLIB=$${RANLIB}" \
39477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39478 pdf) \
39479 || exit 1
39481 @endif target-libgo
39483 .PHONY: maybe-html-target-libgo html-target-libgo
39484 maybe-html-target-libgo:
39485 @if target-libgo
39486 maybe-html-target-libgo: html-target-libgo
39488 html-target-libgo: \
39489 configure-target-libgo
39490 @: $(MAKE); $(unstage)
39491 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39492 r=`${PWD_COMMAND}`; export r; \
39493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39494 $(NORMAL_TARGET_EXPORTS) \
39495 echo "Doing html in $(TARGET_SUBDIR)/libgo" ; \
39496 for flag in $(EXTRA_TARGET_FLAGS); do \
39497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39498 done; \
39499 (cd $(TARGET_SUBDIR)/libgo && \
39500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39502 "RANLIB=$${RANLIB}" \
39503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39504 html) \
39505 || exit 1
39507 @endif target-libgo
39509 .PHONY: maybe-TAGS-target-libgo TAGS-target-libgo
39510 maybe-TAGS-target-libgo:
39511 @if target-libgo
39512 maybe-TAGS-target-libgo: TAGS-target-libgo
39514 TAGS-target-libgo: \
39515 configure-target-libgo
39516 @: $(MAKE); $(unstage)
39517 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39518 r=`${PWD_COMMAND}`; export r; \
39519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39520 $(NORMAL_TARGET_EXPORTS) \
39521 echo "Doing TAGS in $(TARGET_SUBDIR)/libgo" ; \
39522 for flag in $(EXTRA_TARGET_FLAGS); do \
39523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39524 done; \
39525 (cd $(TARGET_SUBDIR)/libgo && \
39526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39528 "RANLIB=$${RANLIB}" \
39529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39530 TAGS) \
39531 || exit 1
39533 @endif target-libgo
39535 .PHONY: maybe-install-info-target-libgo install-info-target-libgo
39536 maybe-install-info-target-libgo:
39537 @if target-libgo
39538 maybe-install-info-target-libgo: install-info-target-libgo
39540 install-info-target-libgo: \
39541 configure-target-libgo \
39542 info-target-libgo
39543 @: $(MAKE); $(unstage)
39544 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39545 r=`${PWD_COMMAND}`; export r; \
39546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39547 $(NORMAL_TARGET_EXPORTS) \
39548 echo "Doing install-info in $(TARGET_SUBDIR)/libgo" ; \
39549 for flag in $(EXTRA_TARGET_FLAGS); do \
39550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39551 done; \
39552 (cd $(TARGET_SUBDIR)/libgo && \
39553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39555 "RANLIB=$${RANLIB}" \
39556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39557 install-info) \
39558 || exit 1
39560 @endif target-libgo
39562 .PHONY: maybe-install-pdf-target-libgo install-pdf-target-libgo
39563 maybe-install-pdf-target-libgo:
39564 @if target-libgo
39565 maybe-install-pdf-target-libgo: install-pdf-target-libgo
39567 install-pdf-target-libgo: \
39568 configure-target-libgo \
39569 pdf-target-libgo
39570 @: $(MAKE); $(unstage)
39571 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39572 r=`${PWD_COMMAND}`; export r; \
39573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39574 $(NORMAL_TARGET_EXPORTS) \
39575 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgo" ; \
39576 for flag in $(EXTRA_TARGET_FLAGS); do \
39577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39578 done; \
39579 (cd $(TARGET_SUBDIR)/libgo && \
39580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39582 "RANLIB=$${RANLIB}" \
39583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39584 install-pdf) \
39585 || exit 1
39587 @endif target-libgo
39589 .PHONY: maybe-install-html-target-libgo install-html-target-libgo
39590 maybe-install-html-target-libgo:
39591 @if target-libgo
39592 maybe-install-html-target-libgo: install-html-target-libgo
39594 install-html-target-libgo: \
39595 configure-target-libgo \
39596 html-target-libgo
39597 @: $(MAKE); $(unstage)
39598 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39599 r=`${PWD_COMMAND}`; export r; \
39600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39601 $(NORMAL_TARGET_EXPORTS) \
39602 echo "Doing install-html in $(TARGET_SUBDIR)/libgo" ; \
39603 for flag in $(EXTRA_TARGET_FLAGS); do \
39604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39605 done; \
39606 (cd $(TARGET_SUBDIR)/libgo && \
39607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39609 "RANLIB=$${RANLIB}" \
39610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39611 install-html) \
39612 || exit 1
39614 @endif target-libgo
39616 .PHONY: maybe-installcheck-target-libgo installcheck-target-libgo
39617 maybe-installcheck-target-libgo:
39618 @if target-libgo
39619 maybe-installcheck-target-libgo: installcheck-target-libgo
39621 installcheck-target-libgo: \
39622 configure-target-libgo
39623 @: $(MAKE); $(unstage)
39624 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39625 r=`${PWD_COMMAND}`; export r; \
39626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39627 $(NORMAL_TARGET_EXPORTS) \
39628 echo "Doing installcheck in $(TARGET_SUBDIR)/libgo" ; \
39629 for flag in $(EXTRA_TARGET_FLAGS); do \
39630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39631 done; \
39632 (cd $(TARGET_SUBDIR)/libgo && \
39633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39635 "RANLIB=$${RANLIB}" \
39636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39637 installcheck) \
39638 || exit 1
39640 @endif target-libgo
39642 .PHONY: maybe-mostlyclean-target-libgo mostlyclean-target-libgo
39643 maybe-mostlyclean-target-libgo:
39644 @if target-libgo
39645 maybe-mostlyclean-target-libgo: mostlyclean-target-libgo
39647 mostlyclean-target-libgo:
39648 @: $(MAKE); $(unstage)
39649 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39650 r=`${PWD_COMMAND}`; export r; \
39651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39652 $(NORMAL_TARGET_EXPORTS) \
39653 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgo" ; \
39654 for flag in $(EXTRA_TARGET_FLAGS); do \
39655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39656 done; \
39657 (cd $(TARGET_SUBDIR)/libgo && \
39658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39660 "RANLIB=$${RANLIB}" \
39661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39662 mostlyclean) \
39663 || exit 1
39665 @endif target-libgo
39667 .PHONY: maybe-clean-target-libgo clean-target-libgo
39668 maybe-clean-target-libgo:
39669 @if target-libgo
39670 maybe-clean-target-libgo: clean-target-libgo
39672 clean-target-libgo:
39673 @: $(MAKE); $(unstage)
39674 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39675 r=`${PWD_COMMAND}`; export r; \
39676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39677 $(NORMAL_TARGET_EXPORTS) \
39678 echo "Doing clean in $(TARGET_SUBDIR)/libgo" ; \
39679 for flag in $(EXTRA_TARGET_FLAGS); do \
39680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39681 done; \
39682 (cd $(TARGET_SUBDIR)/libgo && \
39683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39685 "RANLIB=$${RANLIB}" \
39686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39687 clean) \
39688 || exit 1
39690 @endif target-libgo
39692 .PHONY: maybe-distclean-target-libgo distclean-target-libgo
39693 maybe-distclean-target-libgo:
39694 @if target-libgo
39695 maybe-distclean-target-libgo: distclean-target-libgo
39697 distclean-target-libgo:
39698 @: $(MAKE); $(unstage)
39699 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39700 r=`${PWD_COMMAND}`; export r; \
39701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39702 $(NORMAL_TARGET_EXPORTS) \
39703 echo "Doing distclean in $(TARGET_SUBDIR)/libgo" ; \
39704 for flag in $(EXTRA_TARGET_FLAGS); do \
39705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39706 done; \
39707 (cd $(TARGET_SUBDIR)/libgo && \
39708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39710 "RANLIB=$${RANLIB}" \
39711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39712 distclean) \
39713 || exit 1
39715 @endif target-libgo
39717 .PHONY: maybe-maintainer-clean-target-libgo maintainer-clean-target-libgo
39718 maybe-maintainer-clean-target-libgo:
39719 @if target-libgo
39720 maybe-maintainer-clean-target-libgo: maintainer-clean-target-libgo
39722 maintainer-clean-target-libgo:
39723 @: $(MAKE); $(unstage)
39724 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39725 r=`${PWD_COMMAND}`; export r; \
39726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39727 $(NORMAL_TARGET_EXPORTS) \
39728 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgo" ; \
39729 for flag in $(EXTRA_TARGET_FLAGS); do \
39730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39731 done; \
39732 (cd $(TARGET_SUBDIR)/libgo && \
39733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39735 "RANLIB=$${RANLIB}" \
39736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39737 maintainer-clean) \
39738 || exit 1
39740 @endif target-libgo
39746 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
39747 maybe-configure-target-libtermcap:
39748 @if gcc-bootstrap
39749 configure-target-libtermcap: stage_current
39750 @endif gcc-bootstrap
39751 @if target-libtermcap
39752 maybe-configure-target-libtermcap: configure-target-libtermcap
39753 configure-target-libtermcap:
39754 @: $(MAKE); $(unstage)
39755 @r=`${PWD_COMMAND}`; export r; \
39756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39757 echo "Checking multilib configuration for libtermcap..."; \
39758 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
39759 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
39760 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
39761 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
39762 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
39763 else \
39764 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
39765 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
39766 fi; \
39767 else \
39768 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
39769 fi; \
39770 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
39771 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
39772 $(NORMAL_TARGET_EXPORTS) \
39773 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
39774 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
39775 case $(srcdir) in \
39776 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39777 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
39778 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39779 esac; \
39780 module_srcdir=libtermcap; \
39781 rm -f no-such-file || : ; \
39782 CONFIG_SITE=no-such-file $(SHELL) \
39783 $$s/$$module_srcdir/configure \
39784 --srcdir=$${topdir}/$$module_srcdir \
39785 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39786 --target=${target_alias} \
39787 || exit 1
39788 @endif target-libtermcap
39794 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
39795 maybe-all-target-libtermcap:
39796 @if gcc-bootstrap
39797 all-target-libtermcap: stage_current
39798 @endif gcc-bootstrap
39799 @if target-libtermcap
39800 TARGET-target-libtermcap=all
39801 maybe-all-target-libtermcap: all-target-libtermcap
39802 all-target-libtermcap: configure-target-libtermcap
39803 @: $(MAKE); $(unstage)
39804 @r=`${PWD_COMMAND}`; export r; \
39805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39806 $(NORMAL_TARGET_EXPORTS) \
39807 (cd $(TARGET_SUBDIR)/libtermcap && \
39808 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
39809 $(TARGET-target-libtermcap))
39810 @endif target-libtermcap
39816 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
39817 maybe-check-target-libtermcap:
39818 @if target-libtermcap
39819 maybe-check-target-libtermcap: check-target-libtermcap
39821 # Dummy target for uncheckable module.
39822 check-target-libtermcap:
39824 @endif target-libtermcap
39826 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
39827 maybe-install-target-libtermcap:
39828 @if target-libtermcap
39829 maybe-install-target-libtermcap: install-target-libtermcap
39831 install-target-libtermcap: installdirs
39832 @: $(MAKE); $(unstage)
39833 @r=`${PWD_COMMAND}`; export r; \
39834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39835 $(NORMAL_TARGET_EXPORTS) \
39836 (cd $(TARGET_SUBDIR)/libtermcap && \
39837 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39839 @endif target-libtermcap
39841 .PHONY: install-strip-target-libtermcap maybe-install-strip-target-libtermcap
39842 maybe-install-strip-target-libtermcap:
39843 @if target-libtermcap
39844 maybe-install-strip-target-libtermcap: install-strip-target-libtermcap
39846 install-strip-target-libtermcap: installdirs
39847 @: $(MAKE); $(unstage)
39848 @r=`${PWD_COMMAND}`; export r; \
39849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39850 $(NORMAL_TARGET_EXPORTS) \
39851 (cd $(TARGET_SUBDIR)/libtermcap && \
39852 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39854 @endif target-libtermcap
39856 # Other targets (info, dvi, pdf, etc.)
39858 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
39859 maybe-info-target-libtermcap:
39860 @if target-libtermcap
39861 maybe-info-target-libtermcap: info-target-libtermcap
39863 info-target-libtermcap: \
39864 configure-target-libtermcap
39865 @: $(MAKE); $(unstage)
39866 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
39867 r=`${PWD_COMMAND}`; export r; \
39868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39869 $(NORMAL_TARGET_EXPORTS) \
39870 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
39871 for flag in $(EXTRA_TARGET_FLAGS); do \
39872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39873 done; \
39874 (cd $(TARGET_SUBDIR)/libtermcap && \
39875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39877 "RANLIB=$${RANLIB}" \
39878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39879 info) \
39880 || exit 1
39882 @endif target-libtermcap
39884 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
39885 maybe-dvi-target-libtermcap:
39886 @if target-libtermcap
39887 maybe-dvi-target-libtermcap: dvi-target-libtermcap
39889 dvi-target-libtermcap: \
39890 configure-target-libtermcap
39891 @: $(MAKE); $(unstage)
39892 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
39893 r=`${PWD_COMMAND}`; export r; \
39894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39895 $(NORMAL_TARGET_EXPORTS) \
39896 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
39897 for flag in $(EXTRA_TARGET_FLAGS); do \
39898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39899 done; \
39900 (cd $(TARGET_SUBDIR)/libtermcap && \
39901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39903 "RANLIB=$${RANLIB}" \
39904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39905 dvi) \
39906 || exit 1
39908 @endif target-libtermcap
39910 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
39911 maybe-pdf-target-libtermcap:
39912 @if target-libtermcap
39913 maybe-pdf-target-libtermcap: pdf-target-libtermcap
39915 pdf-target-libtermcap: \
39916 configure-target-libtermcap
39917 @: $(MAKE); $(unstage)
39918 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
39919 r=`${PWD_COMMAND}`; export r; \
39920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39921 $(NORMAL_TARGET_EXPORTS) \
39922 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap" ; \
39923 for flag in $(EXTRA_TARGET_FLAGS); do \
39924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39925 done; \
39926 (cd $(TARGET_SUBDIR)/libtermcap && \
39927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39929 "RANLIB=$${RANLIB}" \
39930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39931 pdf) \
39932 || exit 1
39934 @endif target-libtermcap
39936 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
39937 maybe-html-target-libtermcap:
39938 @if target-libtermcap
39939 maybe-html-target-libtermcap: html-target-libtermcap
39941 html-target-libtermcap: \
39942 configure-target-libtermcap
39943 @: $(MAKE); $(unstage)
39944 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
39945 r=`${PWD_COMMAND}`; export r; \
39946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39947 $(NORMAL_TARGET_EXPORTS) \
39948 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
39949 for flag in $(EXTRA_TARGET_FLAGS); do \
39950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39951 done; \
39952 (cd $(TARGET_SUBDIR)/libtermcap && \
39953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39955 "RANLIB=$${RANLIB}" \
39956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39957 html) \
39958 || exit 1
39960 @endif target-libtermcap
39962 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
39963 maybe-TAGS-target-libtermcap:
39964 @if target-libtermcap
39965 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
39967 TAGS-target-libtermcap: \
39968 configure-target-libtermcap
39969 @: $(MAKE); $(unstage)
39970 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
39971 r=`${PWD_COMMAND}`; export r; \
39972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39973 $(NORMAL_TARGET_EXPORTS) \
39974 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
39975 for flag in $(EXTRA_TARGET_FLAGS); do \
39976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39977 done; \
39978 (cd $(TARGET_SUBDIR)/libtermcap && \
39979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39981 "RANLIB=$${RANLIB}" \
39982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39983 TAGS) \
39984 || exit 1
39986 @endif target-libtermcap
39988 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
39989 maybe-install-info-target-libtermcap:
39990 @if target-libtermcap
39991 maybe-install-info-target-libtermcap: install-info-target-libtermcap
39993 install-info-target-libtermcap: \
39994 configure-target-libtermcap \
39995 info-target-libtermcap
39996 @: $(MAKE); $(unstage)
39997 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
39998 r=`${PWD_COMMAND}`; export r; \
39999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40000 $(NORMAL_TARGET_EXPORTS) \
40001 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
40002 for flag in $(EXTRA_TARGET_FLAGS); do \
40003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40004 done; \
40005 (cd $(TARGET_SUBDIR)/libtermcap && \
40006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40008 "RANLIB=$${RANLIB}" \
40009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40010 install-info) \
40011 || exit 1
40013 @endif target-libtermcap
40015 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
40016 maybe-install-pdf-target-libtermcap:
40017 @if target-libtermcap
40018 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
40020 install-pdf-target-libtermcap: \
40021 configure-target-libtermcap \
40022 pdf-target-libtermcap
40023 @: $(MAKE); $(unstage)
40024 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
40025 r=`${PWD_COMMAND}`; export r; \
40026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40027 $(NORMAL_TARGET_EXPORTS) \
40028 echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap" ; \
40029 for flag in $(EXTRA_TARGET_FLAGS); do \
40030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40031 done; \
40032 (cd $(TARGET_SUBDIR)/libtermcap && \
40033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40035 "RANLIB=$${RANLIB}" \
40036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40037 install-pdf) \
40038 || exit 1
40040 @endif target-libtermcap
40042 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
40043 maybe-install-html-target-libtermcap:
40044 @if target-libtermcap
40045 maybe-install-html-target-libtermcap: install-html-target-libtermcap
40047 install-html-target-libtermcap: \
40048 configure-target-libtermcap \
40049 html-target-libtermcap
40050 @: $(MAKE); $(unstage)
40051 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
40052 r=`${PWD_COMMAND}`; export r; \
40053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40054 $(NORMAL_TARGET_EXPORTS) \
40055 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap" ; \
40056 for flag in $(EXTRA_TARGET_FLAGS); do \
40057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40058 done; \
40059 (cd $(TARGET_SUBDIR)/libtermcap && \
40060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40062 "RANLIB=$${RANLIB}" \
40063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40064 install-html) \
40065 || exit 1
40067 @endif target-libtermcap
40069 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
40070 maybe-installcheck-target-libtermcap:
40071 @if target-libtermcap
40072 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
40074 installcheck-target-libtermcap: \
40075 configure-target-libtermcap
40076 @: $(MAKE); $(unstage)
40077 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
40078 r=`${PWD_COMMAND}`; export r; \
40079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40080 $(NORMAL_TARGET_EXPORTS) \
40081 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
40082 for flag in $(EXTRA_TARGET_FLAGS); do \
40083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40084 done; \
40085 (cd $(TARGET_SUBDIR)/libtermcap && \
40086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40088 "RANLIB=$${RANLIB}" \
40089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40090 installcheck) \
40091 || exit 1
40093 @endif target-libtermcap
40095 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
40096 maybe-mostlyclean-target-libtermcap:
40097 @if target-libtermcap
40098 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
40100 # libtermcap doesn't support mostlyclean.
40101 mostlyclean-target-libtermcap:
40103 @endif target-libtermcap
40105 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
40106 maybe-clean-target-libtermcap:
40107 @if target-libtermcap
40108 maybe-clean-target-libtermcap: clean-target-libtermcap
40110 # libtermcap doesn't support clean.
40111 clean-target-libtermcap:
40113 @endif target-libtermcap
40115 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
40116 maybe-distclean-target-libtermcap:
40117 @if target-libtermcap
40118 maybe-distclean-target-libtermcap: distclean-target-libtermcap
40120 # libtermcap doesn't support distclean.
40121 distclean-target-libtermcap:
40123 @endif target-libtermcap
40125 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
40126 maybe-maintainer-clean-target-libtermcap:
40127 @if target-libtermcap
40128 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
40130 # libtermcap doesn't support maintainer-clean.
40131 maintainer-clean-target-libtermcap:
40133 @endif target-libtermcap
40139 .PHONY: configure-target-winsup maybe-configure-target-winsup
40140 maybe-configure-target-winsup:
40141 @if gcc-bootstrap
40142 configure-target-winsup: stage_current
40143 @endif gcc-bootstrap
40144 @if target-winsup
40145 maybe-configure-target-winsup: configure-target-winsup
40146 configure-target-winsup:
40147 @: $(MAKE); $(unstage)
40148 @r=`${PWD_COMMAND}`; export r; \
40149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40150 echo "Checking multilib configuration for winsup..."; \
40151 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
40152 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
40153 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
40154 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
40155 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
40156 else \
40157 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
40158 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
40159 fi; \
40160 else \
40161 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
40162 fi; \
40163 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
40164 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
40165 $(NORMAL_TARGET_EXPORTS) \
40166 echo Configuring in $(TARGET_SUBDIR)/winsup; \
40167 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
40168 case $(srcdir) in \
40169 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40170 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
40171 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40172 esac; \
40173 module_srcdir=winsup; \
40174 rm -f no-such-file || : ; \
40175 CONFIG_SITE=no-such-file $(SHELL) \
40176 $$s/$$module_srcdir/configure \
40177 --srcdir=$${topdir}/$$module_srcdir \
40178 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40179 --target=${target_alias} \
40180 || exit 1
40181 @endif target-winsup
40187 .PHONY: all-target-winsup maybe-all-target-winsup
40188 maybe-all-target-winsup:
40189 @if gcc-bootstrap
40190 all-target-winsup: stage_current
40191 @endif gcc-bootstrap
40192 @if target-winsup
40193 TARGET-target-winsup=all
40194 maybe-all-target-winsup: all-target-winsup
40195 all-target-winsup: configure-target-winsup
40196 @: $(MAKE); $(unstage)
40197 @r=`${PWD_COMMAND}`; export r; \
40198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40199 $(NORMAL_TARGET_EXPORTS) \
40200 (cd $(TARGET_SUBDIR)/winsup && \
40201 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
40202 $(TARGET-target-winsup))
40203 @endif target-winsup
40209 .PHONY: check-target-winsup maybe-check-target-winsup
40210 maybe-check-target-winsup:
40211 @if target-winsup
40212 maybe-check-target-winsup: check-target-winsup
40214 check-target-winsup:
40215 @: $(MAKE); $(unstage)
40216 @r=`${PWD_COMMAND}`; export r; \
40217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40218 $(NORMAL_TARGET_EXPORTS) \
40219 (cd $(TARGET_SUBDIR)/winsup && \
40220 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40222 @endif target-winsup
40224 .PHONY: install-target-winsup maybe-install-target-winsup
40225 maybe-install-target-winsup:
40226 @if target-winsup
40227 maybe-install-target-winsup: install-target-winsup
40229 install-target-winsup: installdirs
40230 @: $(MAKE); $(unstage)
40231 @r=`${PWD_COMMAND}`; export r; \
40232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40233 $(NORMAL_TARGET_EXPORTS) \
40234 (cd $(TARGET_SUBDIR)/winsup && \
40235 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40237 @endif target-winsup
40239 .PHONY: install-strip-target-winsup maybe-install-strip-target-winsup
40240 maybe-install-strip-target-winsup:
40241 @if target-winsup
40242 maybe-install-strip-target-winsup: install-strip-target-winsup
40244 install-strip-target-winsup: installdirs
40245 @: $(MAKE); $(unstage)
40246 @r=`${PWD_COMMAND}`; export r; \
40247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40248 $(NORMAL_TARGET_EXPORTS) \
40249 (cd $(TARGET_SUBDIR)/winsup && \
40250 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40252 @endif target-winsup
40254 # Other targets (info, dvi, pdf, etc.)
40256 .PHONY: maybe-info-target-winsup info-target-winsup
40257 maybe-info-target-winsup:
40258 @if target-winsup
40259 maybe-info-target-winsup: info-target-winsup
40261 info-target-winsup: \
40262 configure-target-winsup
40263 @: $(MAKE); $(unstage)
40264 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40265 r=`${PWD_COMMAND}`; export r; \
40266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40267 $(NORMAL_TARGET_EXPORTS) \
40268 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
40269 for flag in $(EXTRA_TARGET_FLAGS); do \
40270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40271 done; \
40272 (cd $(TARGET_SUBDIR)/winsup && \
40273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40275 "RANLIB=$${RANLIB}" \
40276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40277 info) \
40278 || exit 1
40280 @endif target-winsup
40282 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
40283 maybe-dvi-target-winsup:
40284 @if target-winsup
40285 maybe-dvi-target-winsup: dvi-target-winsup
40287 dvi-target-winsup: \
40288 configure-target-winsup
40289 @: $(MAKE); $(unstage)
40290 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40291 r=`${PWD_COMMAND}`; export r; \
40292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40293 $(NORMAL_TARGET_EXPORTS) \
40294 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
40295 for flag in $(EXTRA_TARGET_FLAGS); do \
40296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40297 done; \
40298 (cd $(TARGET_SUBDIR)/winsup && \
40299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40301 "RANLIB=$${RANLIB}" \
40302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40303 dvi) \
40304 || exit 1
40306 @endif target-winsup
40308 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
40309 maybe-pdf-target-winsup:
40310 @if target-winsup
40311 maybe-pdf-target-winsup: pdf-target-winsup
40313 pdf-target-winsup: \
40314 configure-target-winsup
40315 @: $(MAKE); $(unstage)
40316 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40317 r=`${PWD_COMMAND}`; export r; \
40318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40319 $(NORMAL_TARGET_EXPORTS) \
40320 echo "Doing pdf in $(TARGET_SUBDIR)/winsup" ; \
40321 for flag in $(EXTRA_TARGET_FLAGS); do \
40322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40323 done; \
40324 (cd $(TARGET_SUBDIR)/winsup && \
40325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40327 "RANLIB=$${RANLIB}" \
40328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40329 pdf) \
40330 || exit 1
40332 @endif target-winsup
40334 .PHONY: maybe-html-target-winsup html-target-winsup
40335 maybe-html-target-winsup:
40336 @if target-winsup
40337 maybe-html-target-winsup: html-target-winsup
40339 html-target-winsup: \
40340 configure-target-winsup
40341 @: $(MAKE); $(unstage)
40342 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40343 r=`${PWD_COMMAND}`; export r; \
40344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40345 $(NORMAL_TARGET_EXPORTS) \
40346 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
40347 for flag in $(EXTRA_TARGET_FLAGS); do \
40348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40349 done; \
40350 (cd $(TARGET_SUBDIR)/winsup && \
40351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40353 "RANLIB=$${RANLIB}" \
40354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40355 html) \
40356 || exit 1
40358 @endif target-winsup
40360 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
40361 maybe-TAGS-target-winsup:
40362 @if target-winsup
40363 maybe-TAGS-target-winsup: TAGS-target-winsup
40365 TAGS-target-winsup: \
40366 configure-target-winsup
40367 @: $(MAKE); $(unstage)
40368 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40369 r=`${PWD_COMMAND}`; export r; \
40370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40371 $(NORMAL_TARGET_EXPORTS) \
40372 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
40373 for flag in $(EXTRA_TARGET_FLAGS); do \
40374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40375 done; \
40376 (cd $(TARGET_SUBDIR)/winsup && \
40377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40379 "RANLIB=$${RANLIB}" \
40380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40381 TAGS) \
40382 || exit 1
40384 @endif target-winsup
40386 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
40387 maybe-install-info-target-winsup:
40388 @if target-winsup
40389 maybe-install-info-target-winsup: install-info-target-winsup
40391 install-info-target-winsup: \
40392 configure-target-winsup \
40393 info-target-winsup
40394 @: $(MAKE); $(unstage)
40395 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40396 r=`${PWD_COMMAND}`; export r; \
40397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40398 $(NORMAL_TARGET_EXPORTS) \
40399 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
40400 for flag in $(EXTRA_TARGET_FLAGS); do \
40401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40402 done; \
40403 (cd $(TARGET_SUBDIR)/winsup && \
40404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40406 "RANLIB=$${RANLIB}" \
40407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40408 install-info) \
40409 || exit 1
40411 @endif target-winsup
40413 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
40414 maybe-install-pdf-target-winsup:
40415 @if target-winsup
40416 maybe-install-pdf-target-winsup: install-pdf-target-winsup
40418 install-pdf-target-winsup: \
40419 configure-target-winsup \
40420 pdf-target-winsup
40421 @: $(MAKE); $(unstage)
40422 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40423 r=`${PWD_COMMAND}`; export r; \
40424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40425 $(NORMAL_TARGET_EXPORTS) \
40426 echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup" ; \
40427 for flag in $(EXTRA_TARGET_FLAGS); do \
40428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40429 done; \
40430 (cd $(TARGET_SUBDIR)/winsup && \
40431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40433 "RANLIB=$${RANLIB}" \
40434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40435 install-pdf) \
40436 || exit 1
40438 @endif target-winsup
40440 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
40441 maybe-install-html-target-winsup:
40442 @if target-winsup
40443 maybe-install-html-target-winsup: install-html-target-winsup
40445 install-html-target-winsup: \
40446 configure-target-winsup \
40447 html-target-winsup
40448 @: $(MAKE); $(unstage)
40449 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40450 r=`${PWD_COMMAND}`; export r; \
40451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40452 $(NORMAL_TARGET_EXPORTS) \
40453 echo "Doing install-html in $(TARGET_SUBDIR)/winsup" ; \
40454 for flag in $(EXTRA_TARGET_FLAGS); do \
40455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40456 done; \
40457 (cd $(TARGET_SUBDIR)/winsup && \
40458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40460 "RANLIB=$${RANLIB}" \
40461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40462 install-html) \
40463 || exit 1
40465 @endif target-winsup
40467 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
40468 maybe-installcheck-target-winsup:
40469 @if target-winsup
40470 maybe-installcheck-target-winsup: installcheck-target-winsup
40472 installcheck-target-winsup: \
40473 configure-target-winsup
40474 @: $(MAKE); $(unstage)
40475 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40476 r=`${PWD_COMMAND}`; export r; \
40477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40478 $(NORMAL_TARGET_EXPORTS) \
40479 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
40480 for flag in $(EXTRA_TARGET_FLAGS); do \
40481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40482 done; \
40483 (cd $(TARGET_SUBDIR)/winsup && \
40484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40486 "RANLIB=$${RANLIB}" \
40487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40488 installcheck) \
40489 || exit 1
40491 @endif target-winsup
40493 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
40494 maybe-mostlyclean-target-winsup:
40495 @if target-winsup
40496 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
40498 mostlyclean-target-winsup:
40499 @: $(MAKE); $(unstage)
40500 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40501 r=`${PWD_COMMAND}`; export r; \
40502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40503 $(NORMAL_TARGET_EXPORTS) \
40504 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
40505 for flag in $(EXTRA_TARGET_FLAGS); do \
40506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40507 done; \
40508 (cd $(TARGET_SUBDIR)/winsup && \
40509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40511 "RANLIB=$${RANLIB}" \
40512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40513 mostlyclean) \
40514 || exit 1
40516 @endif target-winsup
40518 .PHONY: maybe-clean-target-winsup clean-target-winsup
40519 maybe-clean-target-winsup:
40520 @if target-winsup
40521 maybe-clean-target-winsup: clean-target-winsup
40523 clean-target-winsup:
40524 @: $(MAKE); $(unstage)
40525 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40526 r=`${PWD_COMMAND}`; export r; \
40527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40528 $(NORMAL_TARGET_EXPORTS) \
40529 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
40530 for flag in $(EXTRA_TARGET_FLAGS); do \
40531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40532 done; \
40533 (cd $(TARGET_SUBDIR)/winsup && \
40534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40536 "RANLIB=$${RANLIB}" \
40537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40538 clean) \
40539 || exit 1
40541 @endif target-winsup
40543 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
40544 maybe-distclean-target-winsup:
40545 @if target-winsup
40546 maybe-distclean-target-winsup: distclean-target-winsup
40548 distclean-target-winsup:
40549 @: $(MAKE); $(unstage)
40550 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40551 r=`${PWD_COMMAND}`; export r; \
40552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40553 $(NORMAL_TARGET_EXPORTS) \
40554 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
40555 for flag in $(EXTRA_TARGET_FLAGS); do \
40556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40557 done; \
40558 (cd $(TARGET_SUBDIR)/winsup && \
40559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40561 "RANLIB=$${RANLIB}" \
40562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40563 distclean) \
40564 || exit 1
40566 @endif target-winsup
40568 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
40569 maybe-maintainer-clean-target-winsup:
40570 @if target-winsup
40571 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
40573 maintainer-clean-target-winsup:
40574 @: $(MAKE); $(unstage)
40575 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40576 r=`${PWD_COMMAND}`; export r; \
40577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40578 $(NORMAL_TARGET_EXPORTS) \
40579 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
40580 for flag in $(EXTRA_TARGET_FLAGS); do \
40581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40582 done; \
40583 (cd $(TARGET_SUBDIR)/winsup && \
40584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40586 "RANLIB=$${RANLIB}" \
40587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40588 maintainer-clean) \
40589 || exit 1
40591 @endif target-winsup
40597 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
40598 maybe-configure-target-libgloss:
40599 @if gcc-bootstrap
40600 configure-target-libgloss: stage_current
40601 @endif gcc-bootstrap
40602 @if target-libgloss
40603 maybe-configure-target-libgloss: configure-target-libgloss
40604 configure-target-libgloss:
40605 @: $(MAKE); $(unstage)
40606 @r=`${PWD_COMMAND}`; export r; \
40607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40608 echo "Checking multilib configuration for libgloss..."; \
40609 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
40610 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
40611 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
40612 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
40613 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
40614 else \
40615 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
40616 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
40617 fi; \
40618 else \
40619 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
40620 fi; \
40621 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
40622 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
40623 $(NORMAL_TARGET_EXPORTS) \
40624 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
40625 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
40626 case $(srcdir) in \
40627 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40628 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
40629 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40630 esac; \
40631 module_srcdir=libgloss; \
40632 rm -f no-such-file || : ; \
40633 CONFIG_SITE=no-such-file $(SHELL) \
40634 $$s/$$module_srcdir/configure \
40635 --srcdir=$${topdir}/$$module_srcdir \
40636 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40637 --target=${target_alias} \
40638 || exit 1
40639 @endif target-libgloss
40645 .PHONY: all-target-libgloss maybe-all-target-libgloss
40646 maybe-all-target-libgloss:
40647 @if gcc-bootstrap
40648 all-target-libgloss: stage_current
40649 @endif gcc-bootstrap
40650 @if target-libgloss
40651 TARGET-target-libgloss=all
40652 maybe-all-target-libgloss: all-target-libgloss
40653 all-target-libgloss: configure-target-libgloss
40654 @: $(MAKE); $(unstage)
40655 @r=`${PWD_COMMAND}`; export r; \
40656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40657 $(NORMAL_TARGET_EXPORTS) \
40658 (cd $(TARGET_SUBDIR)/libgloss && \
40659 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
40660 $(TARGET-target-libgloss))
40661 @endif target-libgloss
40667 .PHONY: check-target-libgloss maybe-check-target-libgloss
40668 maybe-check-target-libgloss:
40669 @if target-libgloss
40670 maybe-check-target-libgloss: check-target-libgloss
40672 # Dummy target for uncheckable module.
40673 check-target-libgloss:
40675 @endif target-libgloss
40677 .PHONY: install-target-libgloss maybe-install-target-libgloss
40678 maybe-install-target-libgloss:
40679 @if target-libgloss
40680 maybe-install-target-libgloss: install-target-libgloss
40682 install-target-libgloss: installdirs
40683 @: $(MAKE); $(unstage)
40684 @r=`${PWD_COMMAND}`; export r; \
40685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40686 $(NORMAL_TARGET_EXPORTS) \
40687 (cd $(TARGET_SUBDIR)/libgloss && \
40688 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40690 @endif target-libgloss
40692 .PHONY: install-strip-target-libgloss maybe-install-strip-target-libgloss
40693 maybe-install-strip-target-libgloss:
40694 @if target-libgloss
40695 maybe-install-strip-target-libgloss: install-strip-target-libgloss
40697 install-strip-target-libgloss: installdirs
40698 @: $(MAKE); $(unstage)
40699 @r=`${PWD_COMMAND}`; export r; \
40700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40701 $(NORMAL_TARGET_EXPORTS) \
40702 (cd $(TARGET_SUBDIR)/libgloss && \
40703 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40705 @endif target-libgloss
40707 # Other targets (info, dvi, pdf, etc.)
40709 .PHONY: maybe-info-target-libgloss info-target-libgloss
40710 maybe-info-target-libgloss:
40711 @if target-libgloss
40712 maybe-info-target-libgloss: info-target-libgloss
40714 info-target-libgloss: \
40715 configure-target-libgloss
40716 @: $(MAKE); $(unstage)
40717 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40718 r=`${PWD_COMMAND}`; export r; \
40719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40720 $(NORMAL_TARGET_EXPORTS) \
40721 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
40722 for flag in $(EXTRA_TARGET_FLAGS); do \
40723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40724 done; \
40725 (cd $(TARGET_SUBDIR)/libgloss && \
40726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40728 "RANLIB=$${RANLIB}" \
40729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40730 info) \
40731 || exit 1
40733 @endif target-libgloss
40735 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
40736 maybe-dvi-target-libgloss:
40737 @if target-libgloss
40738 maybe-dvi-target-libgloss: dvi-target-libgloss
40740 dvi-target-libgloss: \
40741 configure-target-libgloss
40742 @: $(MAKE); $(unstage)
40743 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40744 r=`${PWD_COMMAND}`; export r; \
40745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40746 $(NORMAL_TARGET_EXPORTS) \
40747 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
40748 for flag in $(EXTRA_TARGET_FLAGS); do \
40749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40750 done; \
40751 (cd $(TARGET_SUBDIR)/libgloss && \
40752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40754 "RANLIB=$${RANLIB}" \
40755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40756 dvi) \
40757 || exit 1
40759 @endif target-libgloss
40761 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
40762 maybe-pdf-target-libgloss:
40763 @if target-libgloss
40764 maybe-pdf-target-libgloss: pdf-target-libgloss
40766 pdf-target-libgloss: \
40767 configure-target-libgloss
40768 @: $(MAKE); $(unstage)
40769 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40770 r=`${PWD_COMMAND}`; export r; \
40771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40772 $(NORMAL_TARGET_EXPORTS) \
40773 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss" ; \
40774 for flag in $(EXTRA_TARGET_FLAGS); do \
40775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40776 done; \
40777 (cd $(TARGET_SUBDIR)/libgloss && \
40778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40780 "RANLIB=$${RANLIB}" \
40781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40782 pdf) \
40783 || exit 1
40785 @endif target-libgloss
40787 .PHONY: maybe-html-target-libgloss html-target-libgloss
40788 maybe-html-target-libgloss:
40789 @if target-libgloss
40790 maybe-html-target-libgloss: html-target-libgloss
40792 html-target-libgloss: \
40793 configure-target-libgloss
40794 @: $(MAKE); $(unstage)
40795 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40796 r=`${PWD_COMMAND}`; export r; \
40797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40798 $(NORMAL_TARGET_EXPORTS) \
40799 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
40800 for flag in $(EXTRA_TARGET_FLAGS); do \
40801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40802 done; \
40803 (cd $(TARGET_SUBDIR)/libgloss && \
40804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40806 "RANLIB=$${RANLIB}" \
40807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40808 html) \
40809 || exit 1
40811 @endif target-libgloss
40813 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
40814 maybe-TAGS-target-libgloss:
40815 @if target-libgloss
40816 maybe-TAGS-target-libgloss: TAGS-target-libgloss
40818 TAGS-target-libgloss: \
40819 configure-target-libgloss
40820 @: $(MAKE); $(unstage)
40821 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40822 r=`${PWD_COMMAND}`; export r; \
40823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40824 $(NORMAL_TARGET_EXPORTS) \
40825 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
40826 for flag in $(EXTRA_TARGET_FLAGS); do \
40827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40828 done; \
40829 (cd $(TARGET_SUBDIR)/libgloss && \
40830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40832 "RANLIB=$${RANLIB}" \
40833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40834 TAGS) \
40835 || exit 1
40837 @endif target-libgloss
40839 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
40840 maybe-install-info-target-libgloss:
40841 @if target-libgloss
40842 maybe-install-info-target-libgloss: install-info-target-libgloss
40844 install-info-target-libgloss: \
40845 configure-target-libgloss \
40846 info-target-libgloss
40847 @: $(MAKE); $(unstage)
40848 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40849 r=`${PWD_COMMAND}`; export r; \
40850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40851 $(NORMAL_TARGET_EXPORTS) \
40852 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
40853 for flag in $(EXTRA_TARGET_FLAGS); do \
40854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40855 done; \
40856 (cd $(TARGET_SUBDIR)/libgloss && \
40857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40859 "RANLIB=$${RANLIB}" \
40860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40861 install-info) \
40862 || exit 1
40864 @endif target-libgloss
40866 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
40867 maybe-install-pdf-target-libgloss:
40868 @if target-libgloss
40869 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
40871 install-pdf-target-libgloss: \
40872 configure-target-libgloss \
40873 pdf-target-libgloss
40874 @: $(MAKE); $(unstage)
40875 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40876 r=`${PWD_COMMAND}`; export r; \
40877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40878 $(NORMAL_TARGET_EXPORTS) \
40879 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss" ; \
40880 for flag in $(EXTRA_TARGET_FLAGS); do \
40881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40882 done; \
40883 (cd $(TARGET_SUBDIR)/libgloss && \
40884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40886 "RANLIB=$${RANLIB}" \
40887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40888 install-pdf) \
40889 || exit 1
40891 @endif target-libgloss
40893 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
40894 maybe-install-html-target-libgloss:
40895 @if target-libgloss
40896 maybe-install-html-target-libgloss: install-html-target-libgloss
40898 install-html-target-libgloss: \
40899 configure-target-libgloss \
40900 html-target-libgloss
40901 @: $(MAKE); $(unstage)
40902 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40903 r=`${PWD_COMMAND}`; export r; \
40904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40905 $(NORMAL_TARGET_EXPORTS) \
40906 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss" ; \
40907 for flag in $(EXTRA_TARGET_FLAGS); do \
40908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40909 done; \
40910 (cd $(TARGET_SUBDIR)/libgloss && \
40911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40913 "RANLIB=$${RANLIB}" \
40914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40915 install-html) \
40916 || exit 1
40918 @endif target-libgloss
40920 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
40921 maybe-installcheck-target-libgloss:
40922 @if target-libgloss
40923 maybe-installcheck-target-libgloss: installcheck-target-libgloss
40925 installcheck-target-libgloss: \
40926 configure-target-libgloss
40927 @: $(MAKE); $(unstage)
40928 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40929 r=`${PWD_COMMAND}`; export r; \
40930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40931 $(NORMAL_TARGET_EXPORTS) \
40932 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
40933 for flag in $(EXTRA_TARGET_FLAGS); do \
40934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40935 done; \
40936 (cd $(TARGET_SUBDIR)/libgloss && \
40937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40939 "RANLIB=$${RANLIB}" \
40940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40941 installcheck) \
40942 || exit 1
40944 @endif target-libgloss
40946 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
40947 maybe-mostlyclean-target-libgloss:
40948 @if target-libgloss
40949 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
40951 mostlyclean-target-libgloss:
40952 @: $(MAKE); $(unstage)
40953 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40954 r=`${PWD_COMMAND}`; export r; \
40955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40956 $(NORMAL_TARGET_EXPORTS) \
40957 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
40958 for flag in $(EXTRA_TARGET_FLAGS); do \
40959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40960 done; \
40961 (cd $(TARGET_SUBDIR)/libgloss && \
40962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40964 "RANLIB=$${RANLIB}" \
40965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40966 mostlyclean) \
40967 || exit 1
40969 @endif target-libgloss
40971 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
40972 maybe-clean-target-libgloss:
40973 @if target-libgloss
40974 maybe-clean-target-libgloss: clean-target-libgloss
40976 clean-target-libgloss:
40977 @: $(MAKE); $(unstage)
40978 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40979 r=`${PWD_COMMAND}`; export r; \
40980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40981 $(NORMAL_TARGET_EXPORTS) \
40982 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
40983 for flag in $(EXTRA_TARGET_FLAGS); do \
40984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40985 done; \
40986 (cd $(TARGET_SUBDIR)/libgloss && \
40987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40989 "RANLIB=$${RANLIB}" \
40990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40991 clean) \
40992 || exit 1
40994 @endif target-libgloss
40996 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
40997 maybe-distclean-target-libgloss:
40998 @if target-libgloss
40999 maybe-distclean-target-libgloss: distclean-target-libgloss
41001 distclean-target-libgloss:
41002 @: $(MAKE); $(unstage)
41003 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
41004 r=`${PWD_COMMAND}`; export r; \
41005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41006 $(NORMAL_TARGET_EXPORTS) \
41007 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
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)/libgloss && \
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 distclean) \
41017 || exit 1
41019 @endif target-libgloss
41021 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
41022 maybe-maintainer-clean-target-libgloss:
41023 @if target-libgloss
41024 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
41026 maintainer-clean-target-libgloss:
41027 @: $(MAKE); $(unstage)
41028 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
41029 r=`${PWD_COMMAND}`; export r; \
41030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41031 $(NORMAL_TARGET_EXPORTS) \
41032 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
41033 for flag in $(EXTRA_TARGET_FLAGS); do \
41034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41035 done; \
41036 (cd $(TARGET_SUBDIR)/libgloss && \
41037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41039 "RANLIB=$${RANLIB}" \
41040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41041 maintainer-clean) \
41042 || exit 1
41044 @endif target-libgloss
41050 .PHONY: configure-target-libffi maybe-configure-target-libffi
41051 maybe-configure-target-libffi:
41052 @if gcc-bootstrap
41053 configure-target-libffi: stage_current
41054 @endif gcc-bootstrap
41055 @if target-libffi
41056 maybe-configure-target-libffi: configure-target-libffi
41057 configure-target-libffi:
41058 @: $(MAKE); $(unstage)
41059 @r=`${PWD_COMMAND}`; export r; \
41060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41061 echo "Checking multilib configuration for libffi..."; \
41062 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
41063 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
41064 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
41065 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
41066 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
41067 else \
41068 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
41069 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
41070 fi; \
41071 else \
41072 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
41073 fi; \
41074 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
41075 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
41076 $(NORMAL_TARGET_EXPORTS) \
41077 echo Configuring in $(TARGET_SUBDIR)/libffi; \
41078 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
41079 case $(srcdir) in \
41080 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41081 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
41082 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41083 esac; \
41084 module_srcdir=libffi; \
41085 rm -f no-such-file || : ; \
41086 CONFIG_SITE=no-such-file $(SHELL) \
41087 $$s/$$module_srcdir/configure \
41088 --srcdir=$${topdir}/$$module_srcdir \
41089 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41090 --target=${target_alias} \
41091 || exit 1
41092 @endif target-libffi
41098 .PHONY: all-target-libffi maybe-all-target-libffi
41099 maybe-all-target-libffi:
41100 @if gcc-bootstrap
41101 all-target-libffi: stage_current
41102 @endif gcc-bootstrap
41103 @if target-libffi
41104 TARGET-target-libffi=all
41105 maybe-all-target-libffi: all-target-libffi
41106 all-target-libffi: configure-target-libffi
41107 @: $(MAKE); $(unstage)
41108 @r=`${PWD_COMMAND}`; export r; \
41109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41110 $(NORMAL_TARGET_EXPORTS) \
41111 (cd $(TARGET_SUBDIR)/libffi && \
41112 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
41113 $(TARGET-target-libffi))
41114 @endif target-libffi
41120 .PHONY: check-target-libffi maybe-check-target-libffi
41121 maybe-check-target-libffi:
41122 @if target-libffi
41123 maybe-check-target-libffi: check-target-libffi
41125 check-target-libffi:
41126 @: $(MAKE); $(unstage)
41127 @r=`${PWD_COMMAND}`; export r; \
41128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41129 $(NORMAL_TARGET_EXPORTS) \
41130 (cd $(TARGET_SUBDIR)/libffi && \
41131 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41133 @endif target-libffi
41135 .PHONY: install-target-libffi maybe-install-target-libffi
41136 maybe-install-target-libffi:
41137 @if target-libffi
41138 maybe-install-target-libffi: install-target-libffi
41140 # Dummy target for uninstallable.
41141 install-target-libffi:
41143 @endif target-libffi
41145 .PHONY: install-strip-target-libffi maybe-install-strip-target-libffi
41146 maybe-install-strip-target-libffi:
41147 @if target-libffi
41148 maybe-install-strip-target-libffi: install-strip-target-libffi
41150 # Dummy target for uninstallable.
41151 install-strip-target-libffi:
41153 @endif target-libffi
41155 # Other targets (info, dvi, pdf, etc.)
41157 .PHONY: maybe-info-target-libffi info-target-libffi
41158 maybe-info-target-libffi:
41159 @if target-libffi
41160 maybe-info-target-libffi: info-target-libffi
41162 info-target-libffi: \
41163 configure-target-libffi
41164 @: $(MAKE); $(unstage)
41165 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41166 r=`${PWD_COMMAND}`; export r; \
41167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41168 $(NORMAL_TARGET_EXPORTS) \
41169 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
41170 for flag in $(EXTRA_TARGET_FLAGS); do \
41171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41172 done; \
41173 (cd $(TARGET_SUBDIR)/libffi && \
41174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41176 "RANLIB=$${RANLIB}" \
41177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41178 info) \
41179 || exit 1
41181 @endif target-libffi
41183 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
41184 maybe-dvi-target-libffi:
41185 @if target-libffi
41186 maybe-dvi-target-libffi: dvi-target-libffi
41188 dvi-target-libffi: \
41189 configure-target-libffi
41190 @: $(MAKE); $(unstage)
41191 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41192 r=`${PWD_COMMAND}`; export r; \
41193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41194 $(NORMAL_TARGET_EXPORTS) \
41195 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
41196 for flag in $(EXTRA_TARGET_FLAGS); do \
41197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41198 done; \
41199 (cd $(TARGET_SUBDIR)/libffi && \
41200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41202 "RANLIB=$${RANLIB}" \
41203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41204 dvi) \
41205 || exit 1
41207 @endif target-libffi
41209 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
41210 maybe-pdf-target-libffi:
41211 @if target-libffi
41212 maybe-pdf-target-libffi: pdf-target-libffi
41214 pdf-target-libffi: \
41215 configure-target-libffi
41216 @: $(MAKE); $(unstage)
41217 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41218 r=`${PWD_COMMAND}`; export r; \
41219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41220 $(NORMAL_TARGET_EXPORTS) \
41221 echo "Doing pdf in $(TARGET_SUBDIR)/libffi" ; \
41222 for flag in $(EXTRA_TARGET_FLAGS); do \
41223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41224 done; \
41225 (cd $(TARGET_SUBDIR)/libffi && \
41226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41228 "RANLIB=$${RANLIB}" \
41229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41230 pdf) \
41231 || exit 1
41233 @endif target-libffi
41235 .PHONY: maybe-html-target-libffi html-target-libffi
41236 maybe-html-target-libffi:
41237 @if target-libffi
41238 maybe-html-target-libffi: html-target-libffi
41240 html-target-libffi: \
41241 configure-target-libffi
41242 @: $(MAKE); $(unstage)
41243 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41244 r=`${PWD_COMMAND}`; export r; \
41245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41246 $(NORMAL_TARGET_EXPORTS) \
41247 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
41248 for flag in $(EXTRA_TARGET_FLAGS); do \
41249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41250 done; \
41251 (cd $(TARGET_SUBDIR)/libffi && \
41252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41254 "RANLIB=$${RANLIB}" \
41255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41256 html) \
41257 || exit 1
41259 @endif target-libffi
41261 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
41262 maybe-TAGS-target-libffi:
41263 @if target-libffi
41264 maybe-TAGS-target-libffi: TAGS-target-libffi
41266 TAGS-target-libffi: \
41267 configure-target-libffi
41268 @: $(MAKE); $(unstage)
41269 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41270 r=`${PWD_COMMAND}`; export r; \
41271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41272 $(NORMAL_TARGET_EXPORTS) \
41273 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
41274 for flag in $(EXTRA_TARGET_FLAGS); do \
41275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41276 done; \
41277 (cd $(TARGET_SUBDIR)/libffi && \
41278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41280 "RANLIB=$${RANLIB}" \
41281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41282 TAGS) \
41283 || exit 1
41285 @endif target-libffi
41287 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
41288 maybe-install-info-target-libffi:
41289 @if target-libffi
41290 maybe-install-info-target-libffi: install-info-target-libffi
41292 install-info-target-libffi: \
41293 configure-target-libffi \
41294 info-target-libffi
41295 @: $(MAKE); $(unstage)
41296 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41297 r=`${PWD_COMMAND}`; export r; \
41298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41299 $(NORMAL_TARGET_EXPORTS) \
41300 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
41301 for flag in $(EXTRA_TARGET_FLAGS); do \
41302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41303 done; \
41304 (cd $(TARGET_SUBDIR)/libffi && \
41305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41307 "RANLIB=$${RANLIB}" \
41308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41309 install-info) \
41310 || exit 1
41312 @endif target-libffi
41314 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
41315 maybe-install-pdf-target-libffi:
41316 @if target-libffi
41317 maybe-install-pdf-target-libffi: install-pdf-target-libffi
41319 install-pdf-target-libffi: \
41320 configure-target-libffi \
41321 pdf-target-libffi
41322 @: $(MAKE); $(unstage)
41323 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41324 r=`${PWD_COMMAND}`; export r; \
41325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41326 $(NORMAL_TARGET_EXPORTS) \
41327 echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi" ; \
41328 for flag in $(EXTRA_TARGET_FLAGS); do \
41329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41330 done; \
41331 (cd $(TARGET_SUBDIR)/libffi && \
41332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41334 "RANLIB=$${RANLIB}" \
41335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41336 install-pdf) \
41337 || exit 1
41339 @endif target-libffi
41341 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
41342 maybe-install-html-target-libffi:
41343 @if target-libffi
41344 maybe-install-html-target-libffi: install-html-target-libffi
41346 install-html-target-libffi: \
41347 configure-target-libffi \
41348 html-target-libffi
41349 @: $(MAKE); $(unstage)
41350 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41351 r=`${PWD_COMMAND}`; export r; \
41352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41353 $(NORMAL_TARGET_EXPORTS) \
41354 echo "Doing install-html in $(TARGET_SUBDIR)/libffi" ; \
41355 for flag in $(EXTRA_TARGET_FLAGS); do \
41356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41357 done; \
41358 (cd $(TARGET_SUBDIR)/libffi && \
41359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41361 "RANLIB=$${RANLIB}" \
41362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41363 install-html) \
41364 || exit 1
41366 @endif target-libffi
41368 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
41369 maybe-installcheck-target-libffi:
41370 @if target-libffi
41371 maybe-installcheck-target-libffi: installcheck-target-libffi
41373 installcheck-target-libffi: \
41374 configure-target-libffi
41375 @: $(MAKE); $(unstage)
41376 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41377 r=`${PWD_COMMAND}`; export r; \
41378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41379 $(NORMAL_TARGET_EXPORTS) \
41380 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
41381 for flag in $(EXTRA_TARGET_FLAGS); do \
41382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41383 done; \
41384 (cd $(TARGET_SUBDIR)/libffi && \
41385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41387 "RANLIB=$${RANLIB}" \
41388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41389 installcheck) \
41390 || exit 1
41392 @endif target-libffi
41394 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
41395 maybe-mostlyclean-target-libffi:
41396 @if target-libffi
41397 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
41399 mostlyclean-target-libffi:
41400 @: $(MAKE); $(unstage)
41401 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41402 r=`${PWD_COMMAND}`; export r; \
41403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41404 $(NORMAL_TARGET_EXPORTS) \
41405 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
41406 for flag in $(EXTRA_TARGET_FLAGS); do \
41407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41408 done; \
41409 (cd $(TARGET_SUBDIR)/libffi && \
41410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41412 "RANLIB=$${RANLIB}" \
41413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41414 mostlyclean) \
41415 || exit 1
41417 @endif target-libffi
41419 .PHONY: maybe-clean-target-libffi clean-target-libffi
41420 maybe-clean-target-libffi:
41421 @if target-libffi
41422 maybe-clean-target-libffi: clean-target-libffi
41424 clean-target-libffi:
41425 @: $(MAKE); $(unstage)
41426 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41427 r=`${PWD_COMMAND}`; export r; \
41428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41429 $(NORMAL_TARGET_EXPORTS) \
41430 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
41431 for flag in $(EXTRA_TARGET_FLAGS); do \
41432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41433 done; \
41434 (cd $(TARGET_SUBDIR)/libffi && \
41435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41437 "RANLIB=$${RANLIB}" \
41438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41439 clean) \
41440 || exit 1
41442 @endif target-libffi
41444 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
41445 maybe-distclean-target-libffi:
41446 @if target-libffi
41447 maybe-distclean-target-libffi: distclean-target-libffi
41449 distclean-target-libffi:
41450 @: $(MAKE); $(unstage)
41451 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41452 r=`${PWD_COMMAND}`; export r; \
41453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41454 $(NORMAL_TARGET_EXPORTS) \
41455 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
41456 for flag in $(EXTRA_TARGET_FLAGS); do \
41457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41458 done; \
41459 (cd $(TARGET_SUBDIR)/libffi && \
41460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41462 "RANLIB=$${RANLIB}" \
41463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41464 distclean) \
41465 || exit 1
41467 @endif target-libffi
41469 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
41470 maybe-maintainer-clean-target-libffi:
41471 @if target-libffi
41472 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
41474 maintainer-clean-target-libffi:
41475 @: $(MAKE); $(unstage)
41476 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41477 r=`${PWD_COMMAND}`; export r; \
41478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41479 $(NORMAL_TARGET_EXPORTS) \
41480 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
41481 for flag in $(EXTRA_TARGET_FLAGS); do \
41482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41483 done; \
41484 (cd $(TARGET_SUBDIR)/libffi && \
41485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41487 "RANLIB=$${RANLIB}" \
41488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41489 maintainer-clean) \
41490 || exit 1
41492 @endif target-libffi
41498 .PHONY: configure-target-libjava maybe-configure-target-libjava
41499 maybe-configure-target-libjava:
41500 @if gcc-bootstrap
41501 configure-target-libjava: stage_current
41502 @endif gcc-bootstrap
41503 @if target-libjava
41504 maybe-configure-target-libjava: configure-target-libjava
41505 configure-target-libjava:
41506 @: $(MAKE); $(unstage)
41507 @r=`${PWD_COMMAND}`; export r; \
41508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41509 echo "Checking multilib configuration for libjava..."; \
41510 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
41511 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
41512 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
41513 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
41514 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
41515 else \
41516 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
41517 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
41518 fi; \
41519 else \
41520 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
41521 fi; \
41522 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
41523 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
41524 $(RAW_CXX_TARGET_EXPORTS) \
41525 echo Configuring in $(TARGET_SUBDIR)/libjava; \
41526 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
41527 case $(srcdir) in \
41528 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41529 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
41530 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41531 esac; \
41532 module_srcdir=libjava; \
41533 rm -f no-such-file || : ; \
41534 CONFIG_SITE=no-such-file $(SHELL) \
41535 $$s/$$module_srcdir/configure \
41536 --srcdir=$${topdir}/$$module_srcdir \
41537 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41538 --target=${target_alias} $(EXTRA_CONFIGARGS_LIBJAVA) \
41539 || exit 1
41540 @endif target-libjava
41546 .PHONY: all-target-libjava maybe-all-target-libjava
41547 maybe-all-target-libjava:
41548 @if gcc-bootstrap
41549 all-target-libjava: stage_current
41550 @endif gcc-bootstrap
41551 @if target-libjava
41552 TARGET-target-libjava=all
41553 maybe-all-target-libjava: all-target-libjava
41554 all-target-libjava: configure-target-libjava
41555 @: $(MAKE); $(unstage)
41556 @r=`${PWD_COMMAND}`; export r; \
41557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41558 $(RAW_CXX_TARGET_EXPORTS) \
41559 (cd $(TARGET_SUBDIR)/libjava && \
41560 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41561 $(TARGET-target-libjava))
41562 @endif target-libjava
41568 .PHONY: check-target-libjava maybe-check-target-libjava
41569 maybe-check-target-libjava:
41570 @if target-libjava
41571 maybe-check-target-libjava: check-target-libjava
41573 check-target-libjava:
41574 @: $(MAKE); $(unstage)
41575 @r=`${PWD_COMMAND}`; export r; \
41576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41577 $(RAW_CXX_TARGET_EXPORTS) \
41578 (cd $(TARGET_SUBDIR)/libjava && \
41579 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
41581 @endif target-libjava
41583 .PHONY: install-target-libjava maybe-install-target-libjava
41584 maybe-install-target-libjava:
41585 @if target-libjava
41586 maybe-install-target-libjava: install-target-libjava
41588 install-target-libjava: installdirs
41589 @: $(MAKE); $(unstage)
41590 @r=`${PWD_COMMAND}`; export r; \
41591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41592 $(RAW_CXX_TARGET_EXPORTS) \
41593 (cd $(TARGET_SUBDIR)/libjava && \
41594 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41596 @endif target-libjava
41598 .PHONY: install-strip-target-libjava maybe-install-strip-target-libjava
41599 maybe-install-strip-target-libjava:
41600 @if target-libjava
41601 maybe-install-strip-target-libjava: install-strip-target-libjava
41603 install-strip-target-libjava: installdirs
41604 @: $(MAKE); $(unstage)
41605 @r=`${PWD_COMMAND}`; export r; \
41606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41607 $(RAW_CXX_TARGET_EXPORTS) \
41608 (cd $(TARGET_SUBDIR)/libjava && \
41609 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
41611 @endif target-libjava
41613 # Other targets (info, dvi, pdf, etc.)
41615 .PHONY: maybe-info-target-libjava info-target-libjava
41616 maybe-info-target-libjava:
41617 @if target-libjava
41618 maybe-info-target-libjava: info-target-libjava
41620 info-target-libjava: \
41621 configure-target-libjava
41622 @: $(MAKE); $(unstage)
41623 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41624 r=`${PWD_COMMAND}`; export r; \
41625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41626 $(RAW_CXX_TARGET_EXPORTS) \
41627 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
41628 for flag in $(EXTRA_TARGET_FLAGS); do \
41629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41630 done; \
41631 (cd $(TARGET_SUBDIR)/libjava && \
41632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41634 "RANLIB=$${RANLIB}" \
41635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41636 info) \
41637 || exit 1
41639 @endif target-libjava
41641 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
41642 maybe-dvi-target-libjava:
41643 @if target-libjava
41644 maybe-dvi-target-libjava: dvi-target-libjava
41646 dvi-target-libjava: \
41647 configure-target-libjava
41648 @: $(MAKE); $(unstage)
41649 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41650 r=`${PWD_COMMAND}`; export r; \
41651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41652 $(RAW_CXX_TARGET_EXPORTS) \
41653 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
41654 for flag in $(EXTRA_TARGET_FLAGS); do \
41655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41656 done; \
41657 (cd $(TARGET_SUBDIR)/libjava && \
41658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41660 "RANLIB=$${RANLIB}" \
41661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41662 dvi) \
41663 || exit 1
41665 @endif target-libjava
41667 .PHONY: maybe-pdf-target-libjava pdf-target-libjava
41668 maybe-pdf-target-libjava:
41669 @if target-libjava
41670 maybe-pdf-target-libjava: pdf-target-libjava
41672 pdf-target-libjava: \
41673 configure-target-libjava
41674 @: $(MAKE); $(unstage)
41675 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41676 r=`${PWD_COMMAND}`; export r; \
41677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41678 $(RAW_CXX_TARGET_EXPORTS) \
41679 echo "Doing pdf in $(TARGET_SUBDIR)/libjava" ; \
41680 for flag in $(EXTRA_TARGET_FLAGS); do \
41681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41682 done; \
41683 (cd $(TARGET_SUBDIR)/libjava && \
41684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41686 "RANLIB=$${RANLIB}" \
41687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41688 pdf) \
41689 || exit 1
41691 @endif target-libjava
41693 .PHONY: maybe-html-target-libjava html-target-libjava
41694 maybe-html-target-libjava:
41695 @if target-libjava
41696 maybe-html-target-libjava: html-target-libjava
41698 html-target-libjava: \
41699 configure-target-libjava
41700 @: $(MAKE); $(unstage)
41701 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41702 r=`${PWD_COMMAND}`; export r; \
41703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41704 $(RAW_CXX_TARGET_EXPORTS) \
41705 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
41706 for flag in $(EXTRA_TARGET_FLAGS); do \
41707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41708 done; \
41709 (cd $(TARGET_SUBDIR)/libjava && \
41710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41712 "RANLIB=$${RANLIB}" \
41713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41714 html) \
41715 || exit 1
41717 @endif target-libjava
41719 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
41720 maybe-TAGS-target-libjava:
41721 @if target-libjava
41722 maybe-TAGS-target-libjava: TAGS-target-libjava
41724 TAGS-target-libjava: \
41725 configure-target-libjava
41726 @: $(MAKE); $(unstage)
41727 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41728 r=`${PWD_COMMAND}`; export r; \
41729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41730 $(RAW_CXX_TARGET_EXPORTS) \
41731 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
41732 for flag in $(EXTRA_TARGET_FLAGS); do \
41733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41734 done; \
41735 (cd $(TARGET_SUBDIR)/libjava && \
41736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41738 "RANLIB=$${RANLIB}" \
41739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41740 TAGS) \
41741 || exit 1
41743 @endif target-libjava
41745 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
41746 maybe-install-info-target-libjava:
41747 @if target-libjava
41748 maybe-install-info-target-libjava: install-info-target-libjava
41750 install-info-target-libjava: \
41751 configure-target-libjava \
41752 info-target-libjava
41753 @: $(MAKE); $(unstage)
41754 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41755 r=`${PWD_COMMAND}`; export r; \
41756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41757 $(RAW_CXX_TARGET_EXPORTS) \
41758 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
41759 for flag in $(EXTRA_TARGET_FLAGS); do \
41760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41761 done; \
41762 (cd $(TARGET_SUBDIR)/libjava && \
41763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41765 "RANLIB=$${RANLIB}" \
41766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41767 install-info) \
41768 || exit 1
41770 @endif target-libjava
41772 .PHONY: maybe-install-pdf-target-libjava install-pdf-target-libjava
41773 maybe-install-pdf-target-libjava:
41774 @if target-libjava
41775 maybe-install-pdf-target-libjava: install-pdf-target-libjava
41777 install-pdf-target-libjava: \
41778 configure-target-libjava \
41779 pdf-target-libjava
41780 @: $(MAKE); $(unstage)
41781 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41782 r=`${PWD_COMMAND}`; export r; \
41783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41784 $(RAW_CXX_TARGET_EXPORTS) \
41785 echo "Doing install-pdf in $(TARGET_SUBDIR)/libjava" ; \
41786 for flag in $(EXTRA_TARGET_FLAGS); do \
41787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41788 done; \
41789 (cd $(TARGET_SUBDIR)/libjava && \
41790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41792 "RANLIB=$${RANLIB}" \
41793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41794 install-pdf) \
41795 || exit 1
41797 @endif target-libjava
41799 .PHONY: maybe-install-html-target-libjava install-html-target-libjava
41800 maybe-install-html-target-libjava:
41801 @if target-libjava
41802 maybe-install-html-target-libjava: install-html-target-libjava
41804 install-html-target-libjava: \
41805 configure-target-libjava \
41806 html-target-libjava
41807 @: $(MAKE); $(unstage)
41808 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41809 r=`${PWD_COMMAND}`; export r; \
41810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41811 $(RAW_CXX_TARGET_EXPORTS) \
41812 echo "Doing install-html in $(TARGET_SUBDIR)/libjava" ; \
41813 for flag in $(EXTRA_TARGET_FLAGS); do \
41814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41815 done; \
41816 (cd $(TARGET_SUBDIR)/libjava && \
41817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41819 "RANLIB=$${RANLIB}" \
41820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41821 install-html) \
41822 || exit 1
41824 @endif target-libjava
41826 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
41827 maybe-installcheck-target-libjava:
41828 @if target-libjava
41829 maybe-installcheck-target-libjava: installcheck-target-libjava
41831 installcheck-target-libjava: \
41832 configure-target-libjava
41833 @: $(MAKE); $(unstage)
41834 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41835 r=`${PWD_COMMAND}`; export r; \
41836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41837 $(RAW_CXX_TARGET_EXPORTS) \
41838 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
41839 for flag in $(EXTRA_TARGET_FLAGS); do \
41840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41841 done; \
41842 (cd $(TARGET_SUBDIR)/libjava && \
41843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41845 "RANLIB=$${RANLIB}" \
41846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41847 installcheck) \
41848 || exit 1
41850 @endif target-libjava
41852 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
41853 maybe-mostlyclean-target-libjava:
41854 @if target-libjava
41855 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
41857 mostlyclean-target-libjava:
41858 @: $(MAKE); $(unstage)
41859 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41860 r=`${PWD_COMMAND}`; export r; \
41861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41862 $(RAW_CXX_TARGET_EXPORTS) \
41863 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
41864 for flag in $(EXTRA_TARGET_FLAGS); do \
41865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41866 done; \
41867 (cd $(TARGET_SUBDIR)/libjava && \
41868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41870 "RANLIB=$${RANLIB}" \
41871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41872 mostlyclean) \
41873 || exit 1
41875 @endif target-libjava
41877 .PHONY: maybe-clean-target-libjava clean-target-libjava
41878 maybe-clean-target-libjava:
41879 @if target-libjava
41880 maybe-clean-target-libjava: clean-target-libjava
41882 clean-target-libjava:
41883 @: $(MAKE); $(unstage)
41884 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41885 r=`${PWD_COMMAND}`; export r; \
41886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41887 $(RAW_CXX_TARGET_EXPORTS) \
41888 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
41889 for flag in $(EXTRA_TARGET_FLAGS); do \
41890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41891 done; \
41892 (cd $(TARGET_SUBDIR)/libjava && \
41893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41895 "RANLIB=$${RANLIB}" \
41896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41897 clean) \
41898 || exit 1
41900 @endif target-libjava
41902 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
41903 maybe-distclean-target-libjava:
41904 @if target-libjava
41905 maybe-distclean-target-libjava: distclean-target-libjava
41907 distclean-target-libjava:
41908 @: $(MAKE); $(unstage)
41909 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41910 r=`${PWD_COMMAND}`; export r; \
41911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41912 $(RAW_CXX_TARGET_EXPORTS) \
41913 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
41914 for flag in $(EXTRA_TARGET_FLAGS); do \
41915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41916 done; \
41917 (cd $(TARGET_SUBDIR)/libjava && \
41918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41920 "RANLIB=$${RANLIB}" \
41921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41922 distclean) \
41923 || exit 1
41925 @endif target-libjava
41927 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
41928 maybe-maintainer-clean-target-libjava:
41929 @if target-libjava
41930 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
41932 maintainer-clean-target-libjava:
41933 @: $(MAKE); $(unstage)
41934 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41935 r=`${PWD_COMMAND}`; export r; \
41936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41937 $(RAW_CXX_TARGET_EXPORTS) \
41938 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
41939 for flag in $(EXTRA_TARGET_FLAGS); do \
41940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41941 done; \
41942 (cd $(TARGET_SUBDIR)/libjava && \
41943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41945 "RANLIB=$${RANLIB}" \
41946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41947 maintainer-clean) \
41948 || exit 1
41950 @endif target-libjava
41956 .PHONY: configure-target-zlib maybe-configure-target-zlib
41957 maybe-configure-target-zlib:
41958 @if gcc-bootstrap
41959 configure-target-zlib: stage_current
41960 @endif gcc-bootstrap
41961 @if target-zlib
41962 maybe-configure-target-zlib: configure-target-zlib
41963 configure-target-zlib:
41964 @: $(MAKE); $(unstage)
41965 @r=`${PWD_COMMAND}`; export r; \
41966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41967 echo "Checking multilib configuration for zlib..."; \
41968 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
41969 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
41970 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
41971 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
41972 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
41973 else \
41974 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
41975 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
41976 fi; \
41977 else \
41978 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
41979 fi; \
41980 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
41981 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
41982 $(NORMAL_TARGET_EXPORTS) \
41983 echo Configuring in $(TARGET_SUBDIR)/zlib; \
41984 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
41985 case $(srcdir) in \
41986 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41987 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
41988 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41989 esac; \
41990 module_srcdir=zlib; \
41991 rm -f no-such-file || : ; \
41992 CONFIG_SITE=no-such-file $(SHELL) \
41993 $$s/$$module_srcdir/configure \
41994 --srcdir=$${topdir}/$$module_srcdir \
41995 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41996 --target=${target_alias} \
41997 || exit 1
41998 @endif target-zlib
42004 .PHONY: all-target-zlib maybe-all-target-zlib
42005 maybe-all-target-zlib:
42006 @if gcc-bootstrap
42007 all-target-zlib: stage_current
42008 @endif gcc-bootstrap
42009 @if target-zlib
42010 TARGET-target-zlib=all
42011 maybe-all-target-zlib: all-target-zlib
42012 all-target-zlib: configure-target-zlib
42013 @: $(MAKE); $(unstage)
42014 @r=`${PWD_COMMAND}`; export r; \
42015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42016 $(NORMAL_TARGET_EXPORTS) \
42017 (cd $(TARGET_SUBDIR)/zlib && \
42018 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
42019 $(TARGET-target-zlib))
42020 @endif target-zlib
42026 .PHONY: check-target-zlib maybe-check-target-zlib
42027 maybe-check-target-zlib:
42028 @if target-zlib
42029 maybe-check-target-zlib: check-target-zlib
42031 check-target-zlib:
42032 @: $(MAKE); $(unstage)
42033 @r=`${PWD_COMMAND}`; export r; \
42034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42035 $(NORMAL_TARGET_EXPORTS) \
42036 (cd $(TARGET_SUBDIR)/zlib && \
42037 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
42039 @endif target-zlib
42041 .PHONY: install-target-zlib maybe-install-target-zlib
42042 maybe-install-target-zlib:
42043 @if target-zlib
42044 maybe-install-target-zlib: install-target-zlib
42046 install-target-zlib: installdirs
42047 @: $(MAKE); $(unstage)
42048 @r=`${PWD_COMMAND}`; export r; \
42049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42050 $(NORMAL_TARGET_EXPORTS) \
42051 (cd $(TARGET_SUBDIR)/zlib && \
42052 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42054 @endif target-zlib
42056 .PHONY: install-strip-target-zlib maybe-install-strip-target-zlib
42057 maybe-install-strip-target-zlib:
42058 @if target-zlib
42059 maybe-install-strip-target-zlib: install-strip-target-zlib
42061 install-strip-target-zlib: installdirs
42062 @: $(MAKE); $(unstage)
42063 @r=`${PWD_COMMAND}`; export r; \
42064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42065 $(NORMAL_TARGET_EXPORTS) \
42066 (cd $(TARGET_SUBDIR)/zlib && \
42067 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
42069 @endif target-zlib
42071 # Other targets (info, dvi, pdf, etc.)
42073 .PHONY: maybe-info-target-zlib info-target-zlib
42074 maybe-info-target-zlib:
42075 @if target-zlib
42076 maybe-info-target-zlib: info-target-zlib
42078 info-target-zlib: \
42079 configure-target-zlib
42080 @: $(MAKE); $(unstage)
42081 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42082 r=`${PWD_COMMAND}`; export r; \
42083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42084 $(NORMAL_TARGET_EXPORTS) \
42085 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
42086 for flag in $(EXTRA_TARGET_FLAGS); do \
42087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42088 done; \
42089 (cd $(TARGET_SUBDIR)/zlib && \
42090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42092 "RANLIB=$${RANLIB}" \
42093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42094 info) \
42095 || exit 1
42097 @endif target-zlib
42099 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
42100 maybe-dvi-target-zlib:
42101 @if target-zlib
42102 maybe-dvi-target-zlib: dvi-target-zlib
42104 dvi-target-zlib: \
42105 configure-target-zlib
42106 @: $(MAKE); $(unstage)
42107 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42108 r=`${PWD_COMMAND}`; export r; \
42109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42110 $(NORMAL_TARGET_EXPORTS) \
42111 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
42112 for flag in $(EXTRA_TARGET_FLAGS); do \
42113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42114 done; \
42115 (cd $(TARGET_SUBDIR)/zlib && \
42116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42118 "RANLIB=$${RANLIB}" \
42119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42120 dvi) \
42121 || exit 1
42123 @endif target-zlib
42125 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
42126 maybe-pdf-target-zlib:
42127 @if target-zlib
42128 maybe-pdf-target-zlib: pdf-target-zlib
42130 pdf-target-zlib: \
42131 configure-target-zlib
42132 @: $(MAKE); $(unstage)
42133 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42134 r=`${PWD_COMMAND}`; export r; \
42135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42136 $(NORMAL_TARGET_EXPORTS) \
42137 echo "Doing pdf in $(TARGET_SUBDIR)/zlib" ; \
42138 for flag in $(EXTRA_TARGET_FLAGS); do \
42139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42140 done; \
42141 (cd $(TARGET_SUBDIR)/zlib && \
42142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42144 "RANLIB=$${RANLIB}" \
42145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42146 pdf) \
42147 || exit 1
42149 @endif target-zlib
42151 .PHONY: maybe-html-target-zlib html-target-zlib
42152 maybe-html-target-zlib:
42153 @if target-zlib
42154 maybe-html-target-zlib: html-target-zlib
42156 html-target-zlib: \
42157 configure-target-zlib
42158 @: $(MAKE); $(unstage)
42159 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42160 r=`${PWD_COMMAND}`; export r; \
42161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42162 $(NORMAL_TARGET_EXPORTS) \
42163 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
42164 for flag in $(EXTRA_TARGET_FLAGS); do \
42165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42166 done; \
42167 (cd $(TARGET_SUBDIR)/zlib && \
42168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42170 "RANLIB=$${RANLIB}" \
42171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42172 html) \
42173 || exit 1
42175 @endif target-zlib
42177 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
42178 maybe-TAGS-target-zlib:
42179 @if target-zlib
42180 maybe-TAGS-target-zlib: TAGS-target-zlib
42182 TAGS-target-zlib: \
42183 configure-target-zlib
42184 @: $(MAKE); $(unstage)
42185 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42186 r=`${PWD_COMMAND}`; export r; \
42187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42188 $(NORMAL_TARGET_EXPORTS) \
42189 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
42190 for flag in $(EXTRA_TARGET_FLAGS); do \
42191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42192 done; \
42193 (cd $(TARGET_SUBDIR)/zlib && \
42194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42196 "RANLIB=$${RANLIB}" \
42197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42198 TAGS) \
42199 || exit 1
42201 @endif target-zlib
42203 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
42204 maybe-install-info-target-zlib:
42205 @if target-zlib
42206 maybe-install-info-target-zlib: install-info-target-zlib
42208 install-info-target-zlib: \
42209 configure-target-zlib \
42210 info-target-zlib
42211 @: $(MAKE); $(unstage)
42212 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42213 r=`${PWD_COMMAND}`; export r; \
42214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42215 $(NORMAL_TARGET_EXPORTS) \
42216 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
42217 for flag in $(EXTRA_TARGET_FLAGS); do \
42218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42219 done; \
42220 (cd $(TARGET_SUBDIR)/zlib && \
42221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42223 "RANLIB=$${RANLIB}" \
42224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42225 install-info) \
42226 || exit 1
42228 @endif target-zlib
42230 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
42231 maybe-install-pdf-target-zlib:
42232 @if target-zlib
42233 maybe-install-pdf-target-zlib: install-pdf-target-zlib
42235 install-pdf-target-zlib: \
42236 configure-target-zlib \
42237 pdf-target-zlib
42238 @: $(MAKE); $(unstage)
42239 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42240 r=`${PWD_COMMAND}`; export r; \
42241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42242 $(NORMAL_TARGET_EXPORTS) \
42243 echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib" ; \
42244 for flag in $(EXTRA_TARGET_FLAGS); do \
42245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42246 done; \
42247 (cd $(TARGET_SUBDIR)/zlib && \
42248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42250 "RANLIB=$${RANLIB}" \
42251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42252 install-pdf) \
42253 || exit 1
42255 @endif target-zlib
42257 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
42258 maybe-install-html-target-zlib:
42259 @if target-zlib
42260 maybe-install-html-target-zlib: install-html-target-zlib
42262 install-html-target-zlib: \
42263 configure-target-zlib \
42264 html-target-zlib
42265 @: $(MAKE); $(unstage)
42266 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42267 r=`${PWD_COMMAND}`; export r; \
42268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42269 $(NORMAL_TARGET_EXPORTS) \
42270 echo "Doing install-html in $(TARGET_SUBDIR)/zlib" ; \
42271 for flag in $(EXTRA_TARGET_FLAGS); do \
42272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42273 done; \
42274 (cd $(TARGET_SUBDIR)/zlib && \
42275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42277 "RANLIB=$${RANLIB}" \
42278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42279 install-html) \
42280 || exit 1
42282 @endif target-zlib
42284 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
42285 maybe-installcheck-target-zlib:
42286 @if target-zlib
42287 maybe-installcheck-target-zlib: installcheck-target-zlib
42289 installcheck-target-zlib: \
42290 configure-target-zlib
42291 @: $(MAKE); $(unstage)
42292 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42293 r=`${PWD_COMMAND}`; export r; \
42294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42295 $(NORMAL_TARGET_EXPORTS) \
42296 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
42297 for flag in $(EXTRA_TARGET_FLAGS); do \
42298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42299 done; \
42300 (cd $(TARGET_SUBDIR)/zlib && \
42301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42303 "RANLIB=$${RANLIB}" \
42304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42305 installcheck) \
42306 || exit 1
42308 @endif target-zlib
42310 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
42311 maybe-mostlyclean-target-zlib:
42312 @if target-zlib
42313 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
42315 mostlyclean-target-zlib:
42316 @: $(MAKE); $(unstage)
42317 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42318 r=`${PWD_COMMAND}`; export r; \
42319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42320 $(NORMAL_TARGET_EXPORTS) \
42321 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
42322 for flag in $(EXTRA_TARGET_FLAGS); do \
42323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42324 done; \
42325 (cd $(TARGET_SUBDIR)/zlib && \
42326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42328 "RANLIB=$${RANLIB}" \
42329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42330 mostlyclean) \
42331 || exit 1
42333 @endif target-zlib
42335 .PHONY: maybe-clean-target-zlib clean-target-zlib
42336 maybe-clean-target-zlib:
42337 @if target-zlib
42338 maybe-clean-target-zlib: clean-target-zlib
42340 clean-target-zlib:
42341 @: $(MAKE); $(unstage)
42342 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42343 r=`${PWD_COMMAND}`; export r; \
42344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42345 $(NORMAL_TARGET_EXPORTS) \
42346 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
42347 for flag in $(EXTRA_TARGET_FLAGS); do \
42348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42349 done; \
42350 (cd $(TARGET_SUBDIR)/zlib && \
42351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42353 "RANLIB=$${RANLIB}" \
42354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42355 clean) \
42356 || exit 1
42358 @endif target-zlib
42360 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
42361 maybe-distclean-target-zlib:
42362 @if target-zlib
42363 maybe-distclean-target-zlib: distclean-target-zlib
42365 distclean-target-zlib:
42366 @: $(MAKE); $(unstage)
42367 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42368 r=`${PWD_COMMAND}`; export r; \
42369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42370 $(NORMAL_TARGET_EXPORTS) \
42371 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
42372 for flag in $(EXTRA_TARGET_FLAGS); do \
42373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42374 done; \
42375 (cd $(TARGET_SUBDIR)/zlib && \
42376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42378 "RANLIB=$${RANLIB}" \
42379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42380 distclean) \
42381 || exit 1
42383 @endif target-zlib
42385 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
42386 maybe-maintainer-clean-target-zlib:
42387 @if target-zlib
42388 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
42390 maintainer-clean-target-zlib:
42391 @: $(MAKE); $(unstage)
42392 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42393 r=`${PWD_COMMAND}`; export r; \
42394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42395 $(NORMAL_TARGET_EXPORTS) \
42396 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
42397 for flag in $(EXTRA_TARGET_FLAGS); do \
42398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42399 done; \
42400 (cd $(TARGET_SUBDIR)/zlib && \
42401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42403 "RANLIB=$${RANLIB}" \
42404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42405 maintainer-clean) \
42406 || exit 1
42408 @endif target-zlib
42414 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
42415 maybe-configure-target-boehm-gc:
42416 @if gcc-bootstrap
42417 configure-target-boehm-gc: stage_current
42418 @endif gcc-bootstrap
42419 @if target-boehm-gc
42420 maybe-configure-target-boehm-gc: configure-target-boehm-gc
42421 configure-target-boehm-gc:
42422 @: $(MAKE); $(unstage)
42423 @r=`${PWD_COMMAND}`; export r; \
42424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42425 echo "Checking multilib configuration for boehm-gc..."; \
42426 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
42427 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
42428 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
42429 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
42430 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
42431 else \
42432 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
42433 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
42434 fi; \
42435 else \
42436 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
42437 fi; \
42438 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
42439 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
42440 $(NORMAL_TARGET_EXPORTS) \
42441 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
42442 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
42443 case $(srcdir) in \
42444 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42445 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
42446 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42447 esac; \
42448 module_srcdir=boehm-gc; \
42449 rm -f no-such-file || : ; \
42450 CONFIG_SITE=no-such-file $(SHELL) \
42451 $$s/$$module_srcdir/configure \
42452 --srcdir=$${topdir}/$$module_srcdir \
42453 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42454 --target=${target_alias} \
42455 || exit 1
42456 @endif target-boehm-gc
42462 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
42463 maybe-all-target-boehm-gc:
42464 @if gcc-bootstrap
42465 all-target-boehm-gc: stage_current
42466 @endif gcc-bootstrap
42467 @if target-boehm-gc
42468 TARGET-target-boehm-gc=all
42469 maybe-all-target-boehm-gc: all-target-boehm-gc
42470 all-target-boehm-gc: configure-target-boehm-gc
42471 @: $(MAKE); $(unstage)
42472 @r=`${PWD_COMMAND}`; export r; \
42473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42474 $(NORMAL_TARGET_EXPORTS) \
42475 (cd $(TARGET_SUBDIR)/boehm-gc && \
42476 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
42477 $(TARGET-target-boehm-gc))
42478 @endif target-boehm-gc
42484 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
42485 maybe-check-target-boehm-gc:
42486 @if target-boehm-gc
42487 maybe-check-target-boehm-gc: check-target-boehm-gc
42489 check-target-boehm-gc:
42490 @: $(MAKE); $(unstage)
42491 @r=`${PWD_COMMAND}`; export r; \
42492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42493 $(NORMAL_TARGET_EXPORTS) \
42494 (cd $(TARGET_SUBDIR)/boehm-gc && \
42495 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
42497 @endif target-boehm-gc
42499 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
42500 maybe-install-target-boehm-gc:
42501 @if target-boehm-gc
42502 maybe-install-target-boehm-gc: install-target-boehm-gc
42504 install-target-boehm-gc: installdirs
42505 @: $(MAKE); $(unstage)
42506 @r=`${PWD_COMMAND}`; export r; \
42507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42508 $(NORMAL_TARGET_EXPORTS) \
42509 (cd $(TARGET_SUBDIR)/boehm-gc && \
42510 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42512 @endif target-boehm-gc
42514 .PHONY: install-strip-target-boehm-gc maybe-install-strip-target-boehm-gc
42515 maybe-install-strip-target-boehm-gc:
42516 @if target-boehm-gc
42517 maybe-install-strip-target-boehm-gc: install-strip-target-boehm-gc
42519 install-strip-target-boehm-gc: installdirs
42520 @: $(MAKE); $(unstage)
42521 @r=`${PWD_COMMAND}`; export r; \
42522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42523 $(NORMAL_TARGET_EXPORTS) \
42524 (cd $(TARGET_SUBDIR)/boehm-gc && \
42525 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
42527 @endif target-boehm-gc
42529 # Other targets (info, dvi, pdf, etc.)
42531 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
42532 maybe-info-target-boehm-gc:
42533 @if target-boehm-gc
42534 maybe-info-target-boehm-gc: info-target-boehm-gc
42536 info-target-boehm-gc: \
42537 configure-target-boehm-gc
42538 @: $(MAKE); $(unstage)
42539 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42540 r=`${PWD_COMMAND}`; export r; \
42541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42542 $(NORMAL_TARGET_EXPORTS) \
42543 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
42544 for flag in $(EXTRA_TARGET_FLAGS); do \
42545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42546 done; \
42547 (cd $(TARGET_SUBDIR)/boehm-gc && \
42548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42550 "RANLIB=$${RANLIB}" \
42551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42552 info) \
42553 || exit 1
42555 @endif target-boehm-gc
42557 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
42558 maybe-dvi-target-boehm-gc:
42559 @if target-boehm-gc
42560 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
42562 dvi-target-boehm-gc: \
42563 configure-target-boehm-gc
42564 @: $(MAKE); $(unstage)
42565 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42566 r=`${PWD_COMMAND}`; export r; \
42567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42568 $(NORMAL_TARGET_EXPORTS) \
42569 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
42570 for flag in $(EXTRA_TARGET_FLAGS); do \
42571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42572 done; \
42573 (cd $(TARGET_SUBDIR)/boehm-gc && \
42574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42576 "RANLIB=$${RANLIB}" \
42577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42578 dvi) \
42579 || exit 1
42581 @endif target-boehm-gc
42583 .PHONY: maybe-pdf-target-boehm-gc pdf-target-boehm-gc
42584 maybe-pdf-target-boehm-gc:
42585 @if target-boehm-gc
42586 maybe-pdf-target-boehm-gc: pdf-target-boehm-gc
42588 pdf-target-boehm-gc: \
42589 configure-target-boehm-gc
42590 @: $(MAKE); $(unstage)
42591 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42592 r=`${PWD_COMMAND}`; export r; \
42593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42594 $(NORMAL_TARGET_EXPORTS) \
42595 echo "Doing pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
42596 for flag in $(EXTRA_TARGET_FLAGS); do \
42597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42598 done; \
42599 (cd $(TARGET_SUBDIR)/boehm-gc && \
42600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42602 "RANLIB=$${RANLIB}" \
42603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42604 pdf) \
42605 || exit 1
42607 @endif target-boehm-gc
42609 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
42610 maybe-html-target-boehm-gc:
42611 @if target-boehm-gc
42612 maybe-html-target-boehm-gc: html-target-boehm-gc
42614 html-target-boehm-gc: \
42615 configure-target-boehm-gc
42616 @: $(MAKE); $(unstage)
42617 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42618 r=`${PWD_COMMAND}`; export r; \
42619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42620 $(NORMAL_TARGET_EXPORTS) \
42621 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
42622 for flag in $(EXTRA_TARGET_FLAGS); do \
42623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42624 done; \
42625 (cd $(TARGET_SUBDIR)/boehm-gc && \
42626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42628 "RANLIB=$${RANLIB}" \
42629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42630 html) \
42631 || exit 1
42633 @endif target-boehm-gc
42635 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
42636 maybe-TAGS-target-boehm-gc:
42637 @if target-boehm-gc
42638 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
42640 TAGS-target-boehm-gc: \
42641 configure-target-boehm-gc
42642 @: $(MAKE); $(unstage)
42643 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42644 r=`${PWD_COMMAND}`; export r; \
42645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42646 $(NORMAL_TARGET_EXPORTS) \
42647 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
42648 for flag in $(EXTRA_TARGET_FLAGS); do \
42649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42650 done; \
42651 (cd $(TARGET_SUBDIR)/boehm-gc && \
42652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42654 "RANLIB=$${RANLIB}" \
42655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42656 TAGS) \
42657 || exit 1
42659 @endif target-boehm-gc
42661 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
42662 maybe-install-info-target-boehm-gc:
42663 @if target-boehm-gc
42664 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
42666 install-info-target-boehm-gc: \
42667 configure-target-boehm-gc \
42668 info-target-boehm-gc
42669 @: $(MAKE); $(unstage)
42670 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42671 r=`${PWD_COMMAND}`; export r; \
42672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42673 $(NORMAL_TARGET_EXPORTS) \
42674 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
42675 for flag in $(EXTRA_TARGET_FLAGS); do \
42676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42677 done; \
42678 (cd $(TARGET_SUBDIR)/boehm-gc && \
42679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42681 "RANLIB=$${RANLIB}" \
42682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42683 install-info) \
42684 || exit 1
42686 @endif target-boehm-gc
42688 .PHONY: maybe-install-pdf-target-boehm-gc install-pdf-target-boehm-gc
42689 maybe-install-pdf-target-boehm-gc:
42690 @if target-boehm-gc
42691 maybe-install-pdf-target-boehm-gc: install-pdf-target-boehm-gc
42693 install-pdf-target-boehm-gc: \
42694 configure-target-boehm-gc \
42695 pdf-target-boehm-gc
42696 @: $(MAKE); $(unstage)
42697 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42698 r=`${PWD_COMMAND}`; export r; \
42699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42700 $(NORMAL_TARGET_EXPORTS) \
42701 echo "Doing install-pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
42702 for flag in $(EXTRA_TARGET_FLAGS); do \
42703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42704 done; \
42705 (cd $(TARGET_SUBDIR)/boehm-gc && \
42706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42708 "RANLIB=$${RANLIB}" \
42709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42710 install-pdf) \
42711 || exit 1
42713 @endif target-boehm-gc
42715 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
42716 maybe-install-html-target-boehm-gc:
42717 @if target-boehm-gc
42718 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
42720 install-html-target-boehm-gc: \
42721 configure-target-boehm-gc \
42722 html-target-boehm-gc
42723 @: $(MAKE); $(unstage)
42724 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42725 r=`${PWD_COMMAND}`; export r; \
42726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42727 $(NORMAL_TARGET_EXPORTS) \
42728 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \
42729 for flag in $(EXTRA_TARGET_FLAGS); do \
42730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42731 done; \
42732 (cd $(TARGET_SUBDIR)/boehm-gc && \
42733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42735 "RANLIB=$${RANLIB}" \
42736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42737 install-html) \
42738 || exit 1
42740 @endif target-boehm-gc
42742 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
42743 maybe-installcheck-target-boehm-gc:
42744 @if target-boehm-gc
42745 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
42747 installcheck-target-boehm-gc: \
42748 configure-target-boehm-gc
42749 @: $(MAKE); $(unstage)
42750 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42751 r=`${PWD_COMMAND}`; export r; \
42752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42753 $(NORMAL_TARGET_EXPORTS) \
42754 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
42755 for flag in $(EXTRA_TARGET_FLAGS); do \
42756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42757 done; \
42758 (cd $(TARGET_SUBDIR)/boehm-gc && \
42759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42761 "RANLIB=$${RANLIB}" \
42762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42763 installcheck) \
42764 || exit 1
42766 @endif target-boehm-gc
42768 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
42769 maybe-mostlyclean-target-boehm-gc:
42770 @if target-boehm-gc
42771 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
42773 mostlyclean-target-boehm-gc:
42774 @: $(MAKE); $(unstage)
42775 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42776 r=`${PWD_COMMAND}`; export r; \
42777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42778 $(NORMAL_TARGET_EXPORTS) \
42779 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
42780 for flag in $(EXTRA_TARGET_FLAGS); do \
42781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42782 done; \
42783 (cd $(TARGET_SUBDIR)/boehm-gc && \
42784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42786 "RANLIB=$${RANLIB}" \
42787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42788 mostlyclean) \
42789 || exit 1
42791 @endif target-boehm-gc
42793 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
42794 maybe-clean-target-boehm-gc:
42795 @if target-boehm-gc
42796 maybe-clean-target-boehm-gc: clean-target-boehm-gc
42798 clean-target-boehm-gc:
42799 @: $(MAKE); $(unstage)
42800 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42801 r=`${PWD_COMMAND}`; export r; \
42802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42803 $(NORMAL_TARGET_EXPORTS) \
42804 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
42805 for flag in $(EXTRA_TARGET_FLAGS); do \
42806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42807 done; \
42808 (cd $(TARGET_SUBDIR)/boehm-gc && \
42809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42811 "RANLIB=$${RANLIB}" \
42812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42813 clean) \
42814 || exit 1
42816 @endif target-boehm-gc
42818 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
42819 maybe-distclean-target-boehm-gc:
42820 @if target-boehm-gc
42821 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
42823 distclean-target-boehm-gc:
42824 @: $(MAKE); $(unstage)
42825 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42826 r=`${PWD_COMMAND}`; export r; \
42827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42828 $(NORMAL_TARGET_EXPORTS) \
42829 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
42830 for flag in $(EXTRA_TARGET_FLAGS); do \
42831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42832 done; \
42833 (cd $(TARGET_SUBDIR)/boehm-gc && \
42834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42836 "RANLIB=$${RANLIB}" \
42837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42838 distclean) \
42839 || exit 1
42841 @endif target-boehm-gc
42843 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
42844 maybe-maintainer-clean-target-boehm-gc:
42845 @if target-boehm-gc
42846 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
42848 maintainer-clean-target-boehm-gc:
42849 @: $(MAKE); $(unstage)
42850 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42851 r=`${PWD_COMMAND}`; export r; \
42852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42853 $(NORMAL_TARGET_EXPORTS) \
42854 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
42855 for flag in $(EXTRA_TARGET_FLAGS); do \
42856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42857 done; \
42858 (cd $(TARGET_SUBDIR)/boehm-gc && \
42859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42861 "RANLIB=$${RANLIB}" \
42862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42863 maintainer-clean) \
42864 || exit 1
42866 @endif target-boehm-gc
42872 .PHONY: configure-target-rda maybe-configure-target-rda
42873 maybe-configure-target-rda:
42874 @if gcc-bootstrap
42875 configure-target-rda: stage_current
42876 @endif gcc-bootstrap
42877 @if target-rda
42878 maybe-configure-target-rda: configure-target-rda
42879 configure-target-rda:
42880 @: $(MAKE); $(unstage)
42881 @r=`${PWD_COMMAND}`; export r; \
42882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42883 echo "Checking multilib configuration for rda..."; \
42884 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
42885 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
42886 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
42887 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
42888 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
42889 else \
42890 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
42891 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
42892 fi; \
42893 else \
42894 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
42895 fi; \
42896 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
42897 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
42898 $(NORMAL_TARGET_EXPORTS) \
42899 echo Configuring in $(TARGET_SUBDIR)/rda; \
42900 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
42901 case $(srcdir) in \
42902 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42903 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
42904 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42905 esac; \
42906 module_srcdir=rda; \
42907 rm -f no-such-file || : ; \
42908 CONFIG_SITE=no-such-file $(SHELL) \
42909 $$s/$$module_srcdir/configure \
42910 --srcdir=$${topdir}/$$module_srcdir \
42911 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42912 --target=${target_alias} \
42913 || exit 1
42914 @endif target-rda
42920 .PHONY: all-target-rda maybe-all-target-rda
42921 maybe-all-target-rda:
42922 @if gcc-bootstrap
42923 all-target-rda: stage_current
42924 @endif gcc-bootstrap
42925 @if target-rda
42926 TARGET-target-rda=all
42927 maybe-all-target-rda: all-target-rda
42928 all-target-rda: configure-target-rda
42929 @: $(MAKE); $(unstage)
42930 @r=`${PWD_COMMAND}`; export r; \
42931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42932 $(NORMAL_TARGET_EXPORTS) \
42933 (cd $(TARGET_SUBDIR)/rda && \
42934 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
42935 $(TARGET-target-rda))
42936 @endif target-rda
42942 .PHONY: check-target-rda maybe-check-target-rda
42943 maybe-check-target-rda:
42944 @if target-rda
42945 maybe-check-target-rda: check-target-rda
42947 check-target-rda:
42948 @: $(MAKE); $(unstage)
42949 @r=`${PWD_COMMAND}`; export r; \
42950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42951 $(NORMAL_TARGET_EXPORTS) \
42952 (cd $(TARGET_SUBDIR)/rda && \
42953 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
42955 @endif target-rda
42957 .PHONY: install-target-rda maybe-install-target-rda
42958 maybe-install-target-rda:
42959 @if target-rda
42960 maybe-install-target-rda: install-target-rda
42962 install-target-rda: installdirs
42963 @: $(MAKE); $(unstage)
42964 @r=`${PWD_COMMAND}`; export r; \
42965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42966 $(NORMAL_TARGET_EXPORTS) \
42967 (cd $(TARGET_SUBDIR)/rda && \
42968 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42970 @endif target-rda
42972 .PHONY: install-strip-target-rda maybe-install-strip-target-rda
42973 maybe-install-strip-target-rda:
42974 @if target-rda
42975 maybe-install-strip-target-rda: install-strip-target-rda
42977 install-strip-target-rda: installdirs
42978 @: $(MAKE); $(unstage)
42979 @r=`${PWD_COMMAND}`; export r; \
42980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42981 $(NORMAL_TARGET_EXPORTS) \
42982 (cd $(TARGET_SUBDIR)/rda && \
42983 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
42985 @endif target-rda
42987 # Other targets (info, dvi, pdf, etc.)
42989 .PHONY: maybe-info-target-rda info-target-rda
42990 maybe-info-target-rda:
42991 @if target-rda
42992 maybe-info-target-rda: info-target-rda
42994 info-target-rda: \
42995 configure-target-rda
42996 @: $(MAKE); $(unstage)
42997 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
42998 r=`${PWD_COMMAND}`; export r; \
42999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43000 $(NORMAL_TARGET_EXPORTS) \
43001 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
43002 for flag in $(EXTRA_TARGET_FLAGS); do \
43003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43004 done; \
43005 (cd $(TARGET_SUBDIR)/rda && \
43006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43008 "RANLIB=$${RANLIB}" \
43009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43010 info) \
43011 || exit 1
43013 @endif target-rda
43015 .PHONY: maybe-dvi-target-rda dvi-target-rda
43016 maybe-dvi-target-rda:
43017 @if target-rda
43018 maybe-dvi-target-rda: dvi-target-rda
43020 dvi-target-rda: \
43021 configure-target-rda
43022 @: $(MAKE); $(unstage)
43023 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43024 r=`${PWD_COMMAND}`; export r; \
43025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43026 $(NORMAL_TARGET_EXPORTS) \
43027 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
43028 for flag in $(EXTRA_TARGET_FLAGS); do \
43029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43030 done; \
43031 (cd $(TARGET_SUBDIR)/rda && \
43032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43034 "RANLIB=$${RANLIB}" \
43035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43036 dvi) \
43037 || exit 1
43039 @endif target-rda
43041 .PHONY: maybe-pdf-target-rda pdf-target-rda
43042 maybe-pdf-target-rda:
43043 @if target-rda
43044 maybe-pdf-target-rda: pdf-target-rda
43046 pdf-target-rda: \
43047 configure-target-rda
43048 @: $(MAKE); $(unstage)
43049 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43050 r=`${PWD_COMMAND}`; export r; \
43051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43052 $(NORMAL_TARGET_EXPORTS) \
43053 echo "Doing pdf in $(TARGET_SUBDIR)/rda" ; \
43054 for flag in $(EXTRA_TARGET_FLAGS); do \
43055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43056 done; \
43057 (cd $(TARGET_SUBDIR)/rda && \
43058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43060 "RANLIB=$${RANLIB}" \
43061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43062 pdf) \
43063 || exit 1
43065 @endif target-rda
43067 .PHONY: maybe-html-target-rda html-target-rda
43068 maybe-html-target-rda:
43069 @if target-rda
43070 maybe-html-target-rda: html-target-rda
43072 html-target-rda: \
43073 configure-target-rda
43074 @: $(MAKE); $(unstage)
43075 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43076 r=`${PWD_COMMAND}`; export r; \
43077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43078 $(NORMAL_TARGET_EXPORTS) \
43079 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
43080 for flag in $(EXTRA_TARGET_FLAGS); do \
43081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43082 done; \
43083 (cd $(TARGET_SUBDIR)/rda && \
43084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43086 "RANLIB=$${RANLIB}" \
43087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43088 html) \
43089 || exit 1
43091 @endif target-rda
43093 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
43094 maybe-TAGS-target-rda:
43095 @if target-rda
43096 maybe-TAGS-target-rda: TAGS-target-rda
43098 TAGS-target-rda: \
43099 configure-target-rda
43100 @: $(MAKE); $(unstage)
43101 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43102 r=`${PWD_COMMAND}`; export r; \
43103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43104 $(NORMAL_TARGET_EXPORTS) \
43105 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
43106 for flag in $(EXTRA_TARGET_FLAGS); do \
43107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43108 done; \
43109 (cd $(TARGET_SUBDIR)/rda && \
43110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43112 "RANLIB=$${RANLIB}" \
43113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43114 TAGS) \
43115 || exit 1
43117 @endif target-rda
43119 .PHONY: maybe-install-info-target-rda install-info-target-rda
43120 maybe-install-info-target-rda:
43121 @if target-rda
43122 maybe-install-info-target-rda: install-info-target-rda
43124 install-info-target-rda: \
43125 configure-target-rda \
43126 info-target-rda
43127 @: $(MAKE); $(unstage)
43128 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43129 r=`${PWD_COMMAND}`; export r; \
43130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43131 $(NORMAL_TARGET_EXPORTS) \
43132 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
43133 for flag in $(EXTRA_TARGET_FLAGS); do \
43134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43135 done; \
43136 (cd $(TARGET_SUBDIR)/rda && \
43137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43139 "RANLIB=$${RANLIB}" \
43140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43141 install-info) \
43142 || exit 1
43144 @endif target-rda
43146 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
43147 maybe-install-pdf-target-rda:
43148 @if target-rda
43149 maybe-install-pdf-target-rda: install-pdf-target-rda
43151 install-pdf-target-rda: \
43152 configure-target-rda \
43153 pdf-target-rda
43154 @: $(MAKE); $(unstage)
43155 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43156 r=`${PWD_COMMAND}`; export r; \
43157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43158 $(NORMAL_TARGET_EXPORTS) \
43159 echo "Doing install-pdf in $(TARGET_SUBDIR)/rda" ; \
43160 for flag in $(EXTRA_TARGET_FLAGS); do \
43161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43162 done; \
43163 (cd $(TARGET_SUBDIR)/rda && \
43164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43166 "RANLIB=$${RANLIB}" \
43167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43168 install-pdf) \
43169 || exit 1
43171 @endif target-rda
43173 .PHONY: maybe-install-html-target-rda install-html-target-rda
43174 maybe-install-html-target-rda:
43175 @if target-rda
43176 maybe-install-html-target-rda: install-html-target-rda
43178 install-html-target-rda: \
43179 configure-target-rda \
43180 html-target-rda
43181 @: $(MAKE); $(unstage)
43182 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43183 r=`${PWD_COMMAND}`; export r; \
43184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43185 $(NORMAL_TARGET_EXPORTS) \
43186 echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \
43187 for flag in $(EXTRA_TARGET_FLAGS); do \
43188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43189 done; \
43190 (cd $(TARGET_SUBDIR)/rda && \
43191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43193 "RANLIB=$${RANLIB}" \
43194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43195 install-html) \
43196 || exit 1
43198 @endif target-rda
43200 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
43201 maybe-installcheck-target-rda:
43202 @if target-rda
43203 maybe-installcheck-target-rda: installcheck-target-rda
43205 installcheck-target-rda: \
43206 configure-target-rda
43207 @: $(MAKE); $(unstage)
43208 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43209 r=`${PWD_COMMAND}`; export r; \
43210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43211 $(NORMAL_TARGET_EXPORTS) \
43212 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
43213 for flag in $(EXTRA_TARGET_FLAGS); do \
43214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43215 done; \
43216 (cd $(TARGET_SUBDIR)/rda && \
43217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43219 "RANLIB=$${RANLIB}" \
43220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43221 installcheck) \
43222 || exit 1
43224 @endif target-rda
43226 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
43227 maybe-mostlyclean-target-rda:
43228 @if target-rda
43229 maybe-mostlyclean-target-rda: mostlyclean-target-rda
43231 mostlyclean-target-rda:
43232 @: $(MAKE); $(unstage)
43233 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43234 r=`${PWD_COMMAND}`; export r; \
43235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43236 $(NORMAL_TARGET_EXPORTS) \
43237 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
43238 for flag in $(EXTRA_TARGET_FLAGS); do \
43239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43240 done; \
43241 (cd $(TARGET_SUBDIR)/rda && \
43242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43244 "RANLIB=$${RANLIB}" \
43245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43246 mostlyclean) \
43247 || exit 1
43249 @endif target-rda
43251 .PHONY: maybe-clean-target-rda clean-target-rda
43252 maybe-clean-target-rda:
43253 @if target-rda
43254 maybe-clean-target-rda: clean-target-rda
43256 clean-target-rda:
43257 @: $(MAKE); $(unstage)
43258 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43259 r=`${PWD_COMMAND}`; export r; \
43260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43261 $(NORMAL_TARGET_EXPORTS) \
43262 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
43263 for flag in $(EXTRA_TARGET_FLAGS); do \
43264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43265 done; \
43266 (cd $(TARGET_SUBDIR)/rda && \
43267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43269 "RANLIB=$${RANLIB}" \
43270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43271 clean) \
43272 || exit 1
43274 @endif target-rda
43276 .PHONY: maybe-distclean-target-rda distclean-target-rda
43277 maybe-distclean-target-rda:
43278 @if target-rda
43279 maybe-distclean-target-rda: distclean-target-rda
43281 distclean-target-rda:
43282 @: $(MAKE); $(unstage)
43283 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43284 r=`${PWD_COMMAND}`; export r; \
43285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43286 $(NORMAL_TARGET_EXPORTS) \
43287 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
43288 for flag in $(EXTRA_TARGET_FLAGS); do \
43289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43290 done; \
43291 (cd $(TARGET_SUBDIR)/rda && \
43292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43294 "RANLIB=$${RANLIB}" \
43295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43296 distclean) \
43297 || exit 1
43299 @endif target-rda
43301 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
43302 maybe-maintainer-clean-target-rda:
43303 @if target-rda
43304 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
43306 maintainer-clean-target-rda:
43307 @: $(MAKE); $(unstage)
43308 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43309 r=`${PWD_COMMAND}`; export r; \
43310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43311 $(NORMAL_TARGET_EXPORTS) \
43312 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
43313 for flag in $(EXTRA_TARGET_FLAGS); do \
43314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43315 done; \
43316 (cd $(TARGET_SUBDIR)/rda && \
43317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43319 "RANLIB=$${RANLIB}" \
43320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43321 maintainer-clean) \
43322 || exit 1
43324 @endif target-rda
43330 .PHONY: configure-target-libada maybe-configure-target-libada
43331 maybe-configure-target-libada:
43332 @if gcc-bootstrap
43333 configure-target-libada: stage_current
43334 @endif gcc-bootstrap
43335 @if target-libada
43336 maybe-configure-target-libada: configure-target-libada
43337 configure-target-libada:
43338 @: $(MAKE); $(unstage)
43339 @r=`${PWD_COMMAND}`; export r; \
43340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43341 echo "Checking multilib configuration for libada..."; \
43342 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
43343 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
43344 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
43345 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
43346 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
43347 else \
43348 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
43349 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
43350 fi; \
43351 else \
43352 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
43353 fi; \
43354 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
43355 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
43356 $(NORMAL_TARGET_EXPORTS) \
43357 echo Configuring in $(TARGET_SUBDIR)/libada; \
43358 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
43359 case $(srcdir) in \
43360 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43361 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
43362 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43363 esac; \
43364 module_srcdir=libada; \
43365 rm -f no-such-file || : ; \
43366 CONFIG_SITE=no-such-file $(SHELL) \
43367 $$s/$$module_srcdir/configure \
43368 --srcdir=$${topdir}/$$module_srcdir \
43369 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43370 --target=${target_alias} \
43371 || exit 1
43372 @endif target-libada
43378 .PHONY: all-target-libada maybe-all-target-libada
43379 maybe-all-target-libada:
43380 @if gcc-bootstrap
43381 all-target-libada: stage_current
43382 @endif gcc-bootstrap
43383 @if target-libada
43384 TARGET-target-libada=all
43385 maybe-all-target-libada: all-target-libada
43386 all-target-libada: configure-target-libada
43387 @: $(MAKE); $(unstage)
43388 @r=`${PWD_COMMAND}`; export r; \
43389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43390 $(NORMAL_TARGET_EXPORTS) \
43391 (cd $(TARGET_SUBDIR)/libada && \
43392 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
43393 $(TARGET-target-libada))
43394 @endif target-libada
43400 .PHONY: check-target-libada maybe-check-target-libada
43401 maybe-check-target-libada:
43402 @if target-libada
43403 maybe-check-target-libada: check-target-libada
43405 check-target-libada:
43406 @: $(MAKE); $(unstage)
43407 @r=`${PWD_COMMAND}`; export r; \
43408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43409 $(NORMAL_TARGET_EXPORTS) \
43410 (cd $(TARGET_SUBDIR)/libada && \
43411 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
43413 @endif target-libada
43415 .PHONY: install-target-libada maybe-install-target-libada
43416 maybe-install-target-libada:
43417 @if target-libada
43418 maybe-install-target-libada: install-target-libada
43420 install-target-libada: installdirs
43421 @: $(MAKE); $(unstage)
43422 @r=`${PWD_COMMAND}`; export r; \
43423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43424 $(NORMAL_TARGET_EXPORTS) \
43425 (cd $(TARGET_SUBDIR)/libada && \
43426 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43428 @endif target-libada
43430 .PHONY: install-strip-target-libada maybe-install-strip-target-libada
43431 maybe-install-strip-target-libada:
43432 @if target-libada
43433 maybe-install-strip-target-libada: install-strip-target-libada
43435 install-strip-target-libada: installdirs
43436 @: $(MAKE); $(unstage)
43437 @r=`${PWD_COMMAND}`; export r; \
43438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43439 $(NORMAL_TARGET_EXPORTS) \
43440 (cd $(TARGET_SUBDIR)/libada && \
43441 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
43443 @endif target-libada
43445 # Other targets (info, dvi, pdf, etc.)
43447 .PHONY: maybe-info-target-libada info-target-libada
43448 maybe-info-target-libada:
43449 @if target-libada
43450 maybe-info-target-libada: info-target-libada
43452 info-target-libada: \
43453 configure-target-libada
43454 @: $(MAKE); $(unstage)
43455 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43456 r=`${PWD_COMMAND}`; export r; \
43457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43458 $(NORMAL_TARGET_EXPORTS) \
43459 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
43460 for flag in $(EXTRA_TARGET_FLAGS); do \
43461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43462 done; \
43463 (cd $(TARGET_SUBDIR)/libada && \
43464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43466 "RANLIB=$${RANLIB}" \
43467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43468 info) \
43469 || exit 1
43471 @endif target-libada
43473 .PHONY: maybe-dvi-target-libada dvi-target-libada
43474 maybe-dvi-target-libada:
43475 @if target-libada
43476 maybe-dvi-target-libada: dvi-target-libada
43478 dvi-target-libada: \
43479 configure-target-libada
43480 @: $(MAKE); $(unstage)
43481 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43482 r=`${PWD_COMMAND}`; export r; \
43483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43484 $(NORMAL_TARGET_EXPORTS) \
43485 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
43486 for flag in $(EXTRA_TARGET_FLAGS); do \
43487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43488 done; \
43489 (cd $(TARGET_SUBDIR)/libada && \
43490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43492 "RANLIB=$${RANLIB}" \
43493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43494 dvi) \
43495 || exit 1
43497 @endif target-libada
43499 .PHONY: maybe-pdf-target-libada pdf-target-libada
43500 maybe-pdf-target-libada:
43501 @if target-libada
43502 maybe-pdf-target-libada: pdf-target-libada
43504 pdf-target-libada: \
43505 configure-target-libada
43506 @: $(MAKE); $(unstage)
43507 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43508 r=`${PWD_COMMAND}`; export r; \
43509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43510 $(NORMAL_TARGET_EXPORTS) \
43511 echo "Doing pdf in $(TARGET_SUBDIR)/libada" ; \
43512 for flag in $(EXTRA_TARGET_FLAGS); do \
43513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43514 done; \
43515 (cd $(TARGET_SUBDIR)/libada && \
43516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43518 "RANLIB=$${RANLIB}" \
43519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43520 pdf) \
43521 || exit 1
43523 @endif target-libada
43525 .PHONY: maybe-html-target-libada html-target-libada
43526 maybe-html-target-libada:
43527 @if target-libada
43528 maybe-html-target-libada: html-target-libada
43530 html-target-libada: \
43531 configure-target-libada
43532 @: $(MAKE); $(unstage)
43533 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43534 r=`${PWD_COMMAND}`; export r; \
43535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43536 $(NORMAL_TARGET_EXPORTS) \
43537 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
43538 for flag in $(EXTRA_TARGET_FLAGS); do \
43539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43540 done; \
43541 (cd $(TARGET_SUBDIR)/libada && \
43542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43544 "RANLIB=$${RANLIB}" \
43545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43546 html) \
43547 || exit 1
43549 @endif target-libada
43551 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
43552 maybe-TAGS-target-libada:
43553 @if target-libada
43554 maybe-TAGS-target-libada: TAGS-target-libada
43556 TAGS-target-libada: \
43557 configure-target-libada
43558 @: $(MAKE); $(unstage)
43559 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43560 r=`${PWD_COMMAND}`; export r; \
43561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43562 $(NORMAL_TARGET_EXPORTS) \
43563 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
43564 for flag in $(EXTRA_TARGET_FLAGS); do \
43565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43566 done; \
43567 (cd $(TARGET_SUBDIR)/libada && \
43568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43570 "RANLIB=$${RANLIB}" \
43571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43572 TAGS) \
43573 || exit 1
43575 @endif target-libada
43577 .PHONY: maybe-install-info-target-libada install-info-target-libada
43578 maybe-install-info-target-libada:
43579 @if target-libada
43580 maybe-install-info-target-libada: install-info-target-libada
43582 install-info-target-libada: \
43583 configure-target-libada \
43584 info-target-libada
43585 @: $(MAKE); $(unstage)
43586 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43587 r=`${PWD_COMMAND}`; export r; \
43588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43589 $(NORMAL_TARGET_EXPORTS) \
43590 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
43591 for flag in $(EXTRA_TARGET_FLAGS); do \
43592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43593 done; \
43594 (cd $(TARGET_SUBDIR)/libada && \
43595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43597 "RANLIB=$${RANLIB}" \
43598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43599 install-info) \
43600 || exit 1
43602 @endif target-libada
43604 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
43605 maybe-install-pdf-target-libada:
43606 @if target-libada
43607 maybe-install-pdf-target-libada: install-pdf-target-libada
43609 install-pdf-target-libada: \
43610 configure-target-libada \
43611 pdf-target-libada
43612 @: $(MAKE); $(unstage)
43613 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43614 r=`${PWD_COMMAND}`; export r; \
43615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43616 $(NORMAL_TARGET_EXPORTS) \
43617 echo "Doing install-pdf in $(TARGET_SUBDIR)/libada" ; \
43618 for flag in $(EXTRA_TARGET_FLAGS); do \
43619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43620 done; \
43621 (cd $(TARGET_SUBDIR)/libada && \
43622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43624 "RANLIB=$${RANLIB}" \
43625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43626 install-pdf) \
43627 || exit 1
43629 @endif target-libada
43631 .PHONY: maybe-install-html-target-libada install-html-target-libada
43632 maybe-install-html-target-libada:
43633 @if target-libada
43634 maybe-install-html-target-libada: install-html-target-libada
43636 install-html-target-libada: \
43637 configure-target-libada \
43638 html-target-libada
43639 @: $(MAKE); $(unstage)
43640 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43641 r=`${PWD_COMMAND}`; export r; \
43642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43643 $(NORMAL_TARGET_EXPORTS) \
43644 echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \
43645 for flag in $(EXTRA_TARGET_FLAGS); do \
43646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43647 done; \
43648 (cd $(TARGET_SUBDIR)/libada && \
43649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43651 "RANLIB=$${RANLIB}" \
43652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43653 install-html) \
43654 || exit 1
43656 @endif target-libada
43658 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
43659 maybe-installcheck-target-libada:
43660 @if target-libada
43661 maybe-installcheck-target-libada: installcheck-target-libada
43663 installcheck-target-libada: \
43664 configure-target-libada
43665 @: $(MAKE); $(unstage)
43666 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43667 r=`${PWD_COMMAND}`; export r; \
43668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43669 $(NORMAL_TARGET_EXPORTS) \
43670 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
43671 for flag in $(EXTRA_TARGET_FLAGS); do \
43672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43673 done; \
43674 (cd $(TARGET_SUBDIR)/libada && \
43675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43677 "RANLIB=$${RANLIB}" \
43678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43679 installcheck) \
43680 || exit 1
43682 @endif target-libada
43684 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
43685 maybe-mostlyclean-target-libada:
43686 @if target-libada
43687 maybe-mostlyclean-target-libada: mostlyclean-target-libada
43689 mostlyclean-target-libada:
43690 @: $(MAKE); $(unstage)
43691 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43692 r=`${PWD_COMMAND}`; export r; \
43693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43694 $(NORMAL_TARGET_EXPORTS) \
43695 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
43696 for flag in $(EXTRA_TARGET_FLAGS); do \
43697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43698 done; \
43699 (cd $(TARGET_SUBDIR)/libada && \
43700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43702 "RANLIB=$${RANLIB}" \
43703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43704 mostlyclean) \
43705 || exit 1
43707 @endif target-libada
43709 .PHONY: maybe-clean-target-libada clean-target-libada
43710 maybe-clean-target-libada:
43711 @if target-libada
43712 maybe-clean-target-libada: clean-target-libada
43714 clean-target-libada:
43715 @: $(MAKE); $(unstage)
43716 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43717 r=`${PWD_COMMAND}`; export r; \
43718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43719 $(NORMAL_TARGET_EXPORTS) \
43720 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
43721 for flag in $(EXTRA_TARGET_FLAGS); do \
43722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43723 done; \
43724 (cd $(TARGET_SUBDIR)/libada && \
43725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43727 "RANLIB=$${RANLIB}" \
43728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43729 clean) \
43730 || exit 1
43732 @endif target-libada
43734 .PHONY: maybe-distclean-target-libada distclean-target-libada
43735 maybe-distclean-target-libada:
43736 @if target-libada
43737 maybe-distclean-target-libada: distclean-target-libada
43739 distclean-target-libada:
43740 @: $(MAKE); $(unstage)
43741 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43742 r=`${PWD_COMMAND}`; export r; \
43743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43744 $(NORMAL_TARGET_EXPORTS) \
43745 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
43746 for flag in $(EXTRA_TARGET_FLAGS); do \
43747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43748 done; \
43749 (cd $(TARGET_SUBDIR)/libada && \
43750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43752 "RANLIB=$${RANLIB}" \
43753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43754 distclean) \
43755 || exit 1
43757 @endif target-libada
43759 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
43760 maybe-maintainer-clean-target-libada:
43761 @if target-libada
43762 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
43764 maintainer-clean-target-libada:
43765 @: $(MAKE); $(unstage)
43766 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43767 r=`${PWD_COMMAND}`; export r; \
43768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43769 $(NORMAL_TARGET_EXPORTS) \
43770 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
43771 for flag in $(EXTRA_TARGET_FLAGS); do \
43772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43773 done; \
43774 (cd $(TARGET_SUBDIR)/libada && \
43775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43777 "RANLIB=$${RANLIB}" \
43778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43779 maintainer-clean) \
43780 || exit 1
43782 @endif target-libada
43788 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
43789 maybe-configure-target-libgomp:
43790 @if gcc-bootstrap
43791 configure-target-libgomp: stage_current
43792 @endif gcc-bootstrap
43793 @if target-libgomp
43794 maybe-configure-target-libgomp: configure-target-libgomp
43795 configure-target-libgomp:
43796 @r=`${PWD_COMMAND}`; export r; \
43797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43798 echo "Checking multilib configuration for libgomp..."; \
43799 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
43800 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
43801 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43802 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43803 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
43804 else \
43805 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
43806 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43807 fi; \
43808 else \
43809 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43810 fi; \
43811 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
43812 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
43813 $(NORMAL_TARGET_EXPORTS) \
43814 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
43815 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
43816 case $(srcdir) in \
43817 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43818 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
43819 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43820 esac; \
43821 module_srcdir=libgomp; \
43822 rm -f no-such-file || : ; \
43823 CONFIG_SITE=no-such-file $(SHELL) \
43824 $$s/$$module_srcdir/configure \
43825 --srcdir=$${topdir}/$$module_srcdir \
43826 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43827 --target=${target_alias} \
43828 || exit 1
43829 @endif target-libgomp
43833 .PHONY: configure-stage1-target-libgomp maybe-configure-stage1-target-libgomp
43834 maybe-configure-stage1-target-libgomp:
43835 @if target-libgomp-bootstrap
43836 maybe-configure-stage1-target-libgomp: configure-stage1-target-libgomp
43837 configure-stage1-target-libgomp:
43838 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
43839 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
43840 @r=`${PWD_COMMAND}`; export r; \
43841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43842 TFLAGS="$(STAGE1_TFLAGS)"; \
43843 echo "Checking multilib configuration for libgomp..."; \
43844 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
43845 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43846 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43847 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
43848 else \
43849 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
43850 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43851 fi; \
43852 else \
43853 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43854 fi; \
43855 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
43856 $(NORMAL_TARGET_EXPORTS) \
43857 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43858 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43859 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43860 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgomp ; \
43861 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
43862 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
43863 case $(srcdir) in \
43864 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43865 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
43866 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43867 esac; \
43868 module_srcdir=libgomp; \
43869 $(SHELL) $$s/$$module_srcdir/configure \
43870 --srcdir=$${topdir}/$$module_srcdir \
43871 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43872 --target=${target_alias} \
43874 $(STAGE1_CONFIGURE_FLAGS)
43875 @endif target-libgomp-bootstrap
43877 .PHONY: configure-stage2-target-libgomp maybe-configure-stage2-target-libgomp
43878 maybe-configure-stage2-target-libgomp:
43879 @if target-libgomp-bootstrap
43880 maybe-configure-stage2-target-libgomp: configure-stage2-target-libgomp
43881 configure-stage2-target-libgomp:
43882 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
43883 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
43884 @r=`${PWD_COMMAND}`; export r; \
43885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43886 TFLAGS="$(STAGE2_TFLAGS)"; \
43887 echo "Checking multilib configuration for libgomp..."; \
43888 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
43889 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43890 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43891 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
43892 else \
43893 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
43894 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43895 fi; \
43896 else \
43897 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43898 fi; \
43899 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
43900 $(NORMAL_TARGET_EXPORTS) \
43902 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43903 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43904 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43905 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgomp ; \
43906 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
43907 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
43908 case $(srcdir) in \
43909 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43910 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
43911 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43912 esac; \
43913 module_srcdir=libgomp; \
43914 $(SHELL) $$s/$$module_srcdir/configure \
43915 --srcdir=$${topdir}/$$module_srcdir \
43916 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43917 --target=${target_alias} \
43918 --with-build-libsubdir=$(HOST_SUBDIR) \
43919 $(STAGE2_CONFIGURE_FLAGS)
43920 @endif target-libgomp-bootstrap
43922 .PHONY: configure-stage3-target-libgomp maybe-configure-stage3-target-libgomp
43923 maybe-configure-stage3-target-libgomp:
43924 @if target-libgomp-bootstrap
43925 maybe-configure-stage3-target-libgomp: configure-stage3-target-libgomp
43926 configure-stage3-target-libgomp:
43927 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
43928 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
43929 @r=`${PWD_COMMAND}`; export r; \
43930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43931 TFLAGS="$(STAGE3_TFLAGS)"; \
43932 echo "Checking multilib configuration for libgomp..."; \
43933 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
43934 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43935 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43936 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
43937 else \
43938 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
43939 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43940 fi; \
43941 else \
43942 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43943 fi; \
43944 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
43945 $(NORMAL_TARGET_EXPORTS) \
43947 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43948 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43949 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43950 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgomp ; \
43951 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
43952 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
43953 case $(srcdir) in \
43954 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43955 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
43956 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43957 esac; \
43958 module_srcdir=libgomp; \
43959 $(SHELL) $$s/$$module_srcdir/configure \
43960 --srcdir=$${topdir}/$$module_srcdir \
43961 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43962 --target=${target_alias} \
43963 --with-build-libsubdir=$(HOST_SUBDIR) \
43964 $(STAGE3_CONFIGURE_FLAGS)
43965 @endif target-libgomp-bootstrap
43967 .PHONY: configure-stage4-target-libgomp maybe-configure-stage4-target-libgomp
43968 maybe-configure-stage4-target-libgomp:
43969 @if target-libgomp-bootstrap
43970 maybe-configure-stage4-target-libgomp: configure-stage4-target-libgomp
43971 configure-stage4-target-libgomp:
43972 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
43973 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
43974 @r=`${PWD_COMMAND}`; export r; \
43975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43976 TFLAGS="$(STAGE4_TFLAGS)"; \
43977 echo "Checking multilib configuration for libgomp..."; \
43978 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
43979 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43980 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43981 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
43982 else \
43983 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
43984 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43985 fi; \
43986 else \
43987 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43988 fi; \
43989 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
43990 $(NORMAL_TARGET_EXPORTS) \
43992 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43993 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43994 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43995 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgomp ; \
43996 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
43997 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
43998 case $(srcdir) in \
43999 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44000 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
44001 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44002 esac; \
44003 module_srcdir=libgomp; \
44004 $(SHELL) $$s/$$module_srcdir/configure \
44005 --srcdir=$${topdir}/$$module_srcdir \
44006 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44007 --target=${target_alias} \
44008 --with-build-libsubdir=$(HOST_SUBDIR) \
44009 $(STAGE4_CONFIGURE_FLAGS)
44010 @endif target-libgomp-bootstrap
44012 .PHONY: configure-stageprofile-target-libgomp maybe-configure-stageprofile-target-libgomp
44013 maybe-configure-stageprofile-target-libgomp:
44014 @if target-libgomp-bootstrap
44015 maybe-configure-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
44016 configure-stageprofile-target-libgomp:
44017 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
44018 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
44019 @r=`${PWD_COMMAND}`; export r; \
44020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44021 TFLAGS="$(STAGEprofile_TFLAGS)"; \
44022 echo "Checking multilib configuration for libgomp..."; \
44023 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
44024 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44025 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44026 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
44027 else \
44028 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
44029 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44030 fi; \
44031 else \
44032 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44033 fi; \
44034 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
44035 $(NORMAL_TARGET_EXPORTS) \
44037 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44038 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44039 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44040 echo Configuring stage profile in $(TARGET_SUBDIR)/libgomp ; \
44041 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
44042 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
44043 case $(srcdir) in \
44044 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44045 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
44046 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44047 esac; \
44048 module_srcdir=libgomp; \
44049 $(SHELL) $$s/$$module_srcdir/configure \
44050 --srcdir=$${topdir}/$$module_srcdir \
44051 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44052 --target=${target_alias} \
44053 --with-build-libsubdir=$(HOST_SUBDIR) \
44054 $(STAGEprofile_CONFIGURE_FLAGS)
44055 @endif target-libgomp-bootstrap
44057 .PHONY: configure-stagefeedback-target-libgomp maybe-configure-stagefeedback-target-libgomp
44058 maybe-configure-stagefeedback-target-libgomp:
44059 @if target-libgomp-bootstrap
44060 maybe-configure-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
44061 configure-stagefeedback-target-libgomp:
44062 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
44063 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
44064 @r=`${PWD_COMMAND}`; export r; \
44065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44066 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
44067 echo "Checking multilib configuration for libgomp..."; \
44068 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
44069 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44070 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44071 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
44072 else \
44073 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
44074 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44075 fi; \
44076 else \
44077 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44078 fi; \
44079 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
44080 $(NORMAL_TARGET_EXPORTS) \
44082 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44083 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44084 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44085 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgomp ; \
44086 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
44087 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
44088 case $(srcdir) in \
44089 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44090 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
44091 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44092 esac; \
44093 module_srcdir=libgomp; \
44094 $(SHELL) $$s/$$module_srcdir/configure \
44095 --srcdir=$${topdir}/$$module_srcdir \
44096 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44097 --target=${target_alias} \
44098 --with-build-libsubdir=$(HOST_SUBDIR) \
44099 $(STAGEfeedback_CONFIGURE_FLAGS)
44100 @endif target-libgomp-bootstrap
44106 .PHONY: all-target-libgomp maybe-all-target-libgomp
44107 maybe-all-target-libgomp:
44108 @if gcc-bootstrap
44109 all-target-libgomp: stage_current
44110 @endif gcc-bootstrap
44111 @if target-libgomp
44112 TARGET-target-libgomp=all
44113 maybe-all-target-libgomp: all-target-libgomp
44114 all-target-libgomp: configure-target-libgomp
44115 @r=`${PWD_COMMAND}`; export r; \
44116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44117 $(NORMAL_TARGET_EXPORTS) \
44118 (cd $(TARGET_SUBDIR)/libgomp && \
44119 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
44120 $(TARGET-target-libgomp))
44121 @endif target-libgomp
44125 .PHONY: all-stage1-target-libgomp maybe-all-stage1-target-libgomp
44126 .PHONY: clean-stage1-target-libgomp maybe-clean-stage1-target-libgomp
44127 maybe-all-stage1-target-libgomp:
44128 maybe-clean-stage1-target-libgomp:
44129 @if target-libgomp-bootstrap
44130 maybe-all-stage1-target-libgomp: all-stage1-target-libgomp
44131 all-stage1: all-stage1-target-libgomp
44132 TARGET-stage1-target-libgomp = $(TARGET-target-libgomp)
44133 all-stage1-target-libgomp: configure-stage1-target-libgomp
44134 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
44135 @r=`${PWD_COMMAND}`; export r; \
44136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44137 TFLAGS="$(STAGE1_TFLAGS)"; \
44138 $(NORMAL_TARGET_EXPORTS) \
44139 cd $(TARGET_SUBDIR)/libgomp && \
44140 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44141 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44142 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44143 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44144 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44145 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44146 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44147 $(EXTRA_TARGET_FLAGS) \
44149 TFLAGS="$(STAGE1_TFLAGS)" \
44150 $(TARGET-stage1-target-libgomp)
44152 maybe-clean-stage1-target-libgomp: clean-stage1-target-libgomp
44153 clean-stage1: clean-stage1-target-libgomp
44154 clean-stage1-target-libgomp:
44155 @if [ $(current_stage) = stage1 ]; then \
44156 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
44157 else \
44158 [ -f $(TARGET_SUBDIR)/stage1-libgomp/Makefile ] || exit 0; \
44159 $(MAKE) stage1-start; \
44160 fi; \
44161 cd $(TARGET_SUBDIR)/libgomp && \
44162 $(MAKE) $(EXTRA_TARGET_FLAGS) \
44163 clean
44164 @endif target-libgomp-bootstrap
44167 .PHONY: all-stage2-target-libgomp maybe-all-stage2-target-libgomp
44168 .PHONY: clean-stage2-target-libgomp maybe-clean-stage2-target-libgomp
44169 maybe-all-stage2-target-libgomp:
44170 maybe-clean-stage2-target-libgomp:
44171 @if target-libgomp-bootstrap
44172 maybe-all-stage2-target-libgomp: all-stage2-target-libgomp
44173 all-stage2: all-stage2-target-libgomp
44174 TARGET-stage2-target-libgomp = $(TARGET-target-libgomp)
44175 all-stage2-target-libgomp: configure-stage2-target-libgomp
44176 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
44177 @r=`${PWD_COMMAND}`; export r; \
44178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44179 TFLAGS="$(STAGE2_TFLAGS)"; \
44180 $(NORMAL_TARGET_EXPORTS) \
44182 cd $(TARGET_SUBDIR)/libgomp && \
44183 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44184 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44185 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44186 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44187 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44188 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44189 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44190 $(EXTRA_TARGET_FLAGS) \
44191 TFLAGS="$(STAGE2_TFLAGS)" \
44192 $(TARGET-stage2-target-libgomp)
44194 maybe-clean-stage2-target-libgomp: clean-stage2-target-libgomp
44195 clean-stage2: clean-stage2-target-libgomp
44196 clean-stage2-target-libgomp:
44197 @if [ $(current_stage) = stage2 ]; then \
44198 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
44199 else \
44200 [ -f $(TARGET_SUBDIR)/stage2-libgomp/Makefile ] || exit 0; \
44201 $(MAKE) stage2-start; \
44202 fi; \
44203 cd $(TARGET_SUBDIR)/libgomp && \
44204 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
44205 @endif target-libgomp-bootstrap
44208 .PHONY: all-stage3-target-libgomp maybe-all-stage3-target-libgomp
44209 .PHONY: clean-stage3-target-libgomp maybe-clean-stage3-target-libgomp
44210 maybe-all-stage3-target-libgomp:
44211 maybe-clean-stage3-target-libgomp:
44212 @if target-libgomp-bootstrap
44213 maybe-all-stage3-target-libgomp: all-stage3-target-libgomp
44214 all-stage3: all-stage3-target-libgomp
44215 TARGET-stage3-target-libgomp = $(TARGET-target-libgomp)
44216 all-stage3-target-libgomp: configure-stage3-target-libgomp
44217 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
44218 @r=`${PWD_COMMAND}`; export r; \
44219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44220 TFLAGS="$(STAGE3_TFLAGS)"; \
44221 $(NORMAL_TARGET_EXPORTS) \
44223 cd $(TARGET_SUBDIR)/libgomp && \
44224 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44225 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44226 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44227 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44228 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44229 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44230 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44231 $(EXTRA_TARGET_FLAGS) \
44232 TFLAGS="$(STAGE3_TFLAGS)" \
44233 $(TARGET-stage3-target-libgomp)
44235 maybe-clean-stage3-target-libgomp: clean-stage3-target-libgomp
44236 clean-stage3: clean-stage3-target-libgomp
44237 clean-stage3-target-libgomp:
44238 @if [ $(current_stage) = stage3 ]; then \
44239 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
44240 else \
44241 [ -f $(TARGET_SUBDIR)/stage3-libgomp/Makefile ] || exit 0; \
44242 $(MAKE) stage3-start; \
44243 fi; \
44244 cd $(TARGET_SUBDIR)/libgomp && \
44245 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
44246 @endif target-libgomp-bootstrap
44249 .PHONY: all-stage4-target-libgomp maybe-all-stage4-target-libgomp
44250 .PHONY: clean-stage4-target-libgomp maybe-clean-stage4-target-libgomp
44251 maybe-all-stage4-target-libgomp:
44252 maybe-clean-stage4-target-libgomp:
44253 @if target-libgomp-bootstrap
44254 maybe-all-stage4-target-libgomp: all-stage4-target-libgomp
44255 all-stage4: all-stage4-target-libgomp
44256 TARGET-stage4-target-libgomp = $(TARGET-target-libgomp)
44257 all-stage4-target-libgomp: configure-stage4-target-libgomp
44258 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
44259 @r=`${PWD_COMMAND}`; export r; \
44260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44261 TFLAGS="$(STAGE4_TFLAGS)"; \
44262 $(NORMAL_TARGET_EXPORTS) \
44264 cd $(TARGET_SUBDIR)/libgomp && \
44265 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44266 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44267 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44268 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44269 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44270 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44271 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44272 $(EXTRA_TARGET_FLAGS) \
44273 TFLAGS="$(STAGE4_TFLAGS)" \
44274 $(TARGET-stage4-target-libgomp)
44276 maybe-clean-stage4-target-libgomp: clean-stage4-target-libgomp
44277 clean-stage4: clean-stage4-target-libgomp
44278 clean-stage4-target-libgomp:
44279 @if [ $(current_stage) = stage4 ]; then \
44280 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
44281 else \
44282 [ -f $(TARGET_SUBDIR)/stage4-libgomp/Makefile ] || exit 0; \
44283 $(MAKE) stage4-start; \
44284 fi; \
44285 cd $(TARGET_SUBDIR)/libgomp && \
44286 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
44287 @endif target-libgomp-bootstrap
44290 .PHONY: all-stageprofile-target-libgomp maybe-all-stageprofile-target-libgomp
44291 .PHONY: clean-stageprofile-target-libgomp maybe-clean-stageprofile-target-libgomp
44292 maybe-all-stageprofile-target-libgomp:
44293 maybe-clean-stageprofile-target-libgomp:
44294 @if target-libgomp-bootstrap
44295 maybe-all-stageprofile-target-libgomp: all-stageprofile-target-libgomp
44296 all-stageprofile: all-stageprofile-target-libgomp
44297 TARGET-stageprofile-target-libgomp = $(TARGET-target-libgomp)
44298 all-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
44299 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
44300 @r=`${PWD_COMMAND}`; export r; \
44301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44302 TFLAGS="$(STAGEprofile_TFLAGS)"; \
44303 $(NORMAL_TARGET_EXPORTS) \
44305 cd $(TARGET_SUBDIR)/libgomp && \
44306 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44307 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44308 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44309 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44310 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44311 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44312 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44313 $(EXTRA_TARGET_FLAGS) \
44314 TFLAGS="$(STAGEprofile_TFLAGS)" \
44315 $(TARGET-stageprofile-target-libgomp)
44317 maybe-clean-stageprofile-target-libgomp: clean-stageprofile-target-libgomp
44318 clean-stageprofile: clean-stageprofile-target-libgomp
44319 clean-stageprofile-target-libgomp:
44320 @if [ $(current_stage) = stageprofile ]; then \
44321 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
44322 else \
44323 [ -f $(TARGET_SUBDIR)/stageprofile-libgomp/Makefile ] || exit 0; \
44324 $(MAKE) stageprofile-start; \
44325 fi; \
44326 cd $(TARGET_SUBDIR)/libgomp && \
44327 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
44328 @endif target-libgomp-bootstrap
44331 .PHONY: all-stagefeedback-target-libgomp maybe-all-stagefeedback-target-libgomp
44332 .PHONY: clean-stagefeedback-target-libgomp maybe-clean-stagefeedback-target-libgomp
44333 maybe-all-stagefeedback-target-libgomp:
44334 maybe-clean-stagefeedback-target-libgomp:
44335 @if target-libgomp-bootstrap
44336 maybe-all-stagefeedback-target-libgomp: all-stagefeedback-target-libgomp
44337 all-stagefeedback: all-stagefeedback-target-libgomp
44338 TARGET-stagefeedback-target-libgomp = $(TARGET-target-libgomp)
44339 all-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
44340 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
44341 @r=`${PWD_COMMAND}`; export r; \
44342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44343 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
44344 $(NORMAL_TARGET_EXPORTS) \
44346 cd $(TARGET_SUBDIR)/libgomp && \
44347 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44348 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44349 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44350 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44351 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44352 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44353 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44354 $(EXTRA_TARGET_FLAGS) \
44355 TFLAGS="$(STAGEfeedback_TFLAGS)" \
44356 $(TARGET-stagefeedback-target-libgomp)
44358 maybe-clean-stagefeedback-target-libgomp: clean-stagefeedback-target-libgomp
44359 clean-stagefeedback: clean-stagefeedback-target-libgomp
44360 clean-stagefeedback-target-libgomp:
44361 @if [ $(current_stage) = stagefeedback ]; then \
44362 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
44363 else \
44364 [ -f $(TARGET_SUBDIR)/stagefeedback-libgomp/Makefile ] || exit 0; \
44365 $(MAKE) stagefeedback-start; \
44366 fi; \
44367 cd $(TARGET_SUBDIR)/libgomp && \
44368 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
44369 @endif target-libgomp-bootstrap
44376 .PHONY: check-target-libgomp maybe-check-target-libgomp
44377 maybe-check-target-libgomp:
44378 @if target-libgomp
44379 maybe-check-target-libgomp: check-target-libgomp
44381 check-target-libgomp:
44382 @: $(MAKE); $(unstage)
44383 @r=`${PWD_COMMAND}`; export r; \
44384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44385 $(NORMAL_TARGET_EXPORTS) \
44386 (cd $(TARGET_SUBDIR)/libgomp && \
44387 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
44389 @endif target-libgomp
44391 .PHONY: install-target-libgomp maybe-install-target-libgomp
44392 maybe-install-target-libgomp:
44393 @if target-libgomp
44394 maybe-install-target-libgomp: install-target-libgomp
44396 install-target-libgomp: installdirs
44397 @: $(MAKE); $(unstage)
44398 @r=`${PWD_COMMAND}`; export r; \
44399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44400 $(NORMAL_TARGET_EXPORTS) \
44401 (cd $(TARGET_SUBDIR)/libgomp && \
44402 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44404 @endif target-libgomp
44406 .PHONY: install-strip-target-libgomp maybe-install-strip-target-libgomp
44407 maybe-install-strip-target-libgomp:
44408 @if target-libgomp
44409 maybe-install-strip-target-libgomp: install-strip-target-libgomp
44411 install-strip-target-libgomp: installdirs
44412 @: $(MAKE); $(unstage)
44413 @r=`${PWD_COMMAND}`; export r; \
44414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44415 $(NORMAL_TARGET_EXPORTS) \
44416 (cd $(TARGET_SUBDIR)/libgomp && \
44417 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
44419 @endif target-libgomp
44421 # Other targets (info, dvi, pdf, etc.)
44423 .PHONY: maybe-info-target-libgomp info-target-libgomp
44424 maybe-info-target-libgomp:
44425 @if target-libgomp
44426 maybe-info-target-libgomp: info-target-libgomp
44428 info-target-libgomp: \
44429 configure-target-libgomp
44430 @: $(MAKE); $(unstage)
44431 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44432 r=`${PWD_COMMAND}`; export r; \
44433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44434 $(NORMAL_TARGET_EXPORTS) \
44435 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
44436 for flag in $(EXTRA_TARGET_FLAGS); do \
44437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44438 done; \
44439 (cd $(TARGET_SUBDIR)/libgomp && \
44440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44442 "RANLIB=$${RANLIB}" \
44443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44444 info) \
44445 || exit 1
44447 @endif target-libgomp
44449 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
44450 maybe-dvi-target-libgomp:
44451 @if target-libgomp
44452 maybe-dvi-target-libgomp: dvi-target-libgomp
44454 dvi-target-libgomp: \
44455 configure-target-libgomp
44456 @: $(MAKE); $(unstage)
44457 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44458 r=`${PWD_COMMAND}`; export r; \
44459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44460 $(NORMAL_TARGET_EXPORTS) \
44461 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
44462 for flag in $(EXTRA_TARGET_FLAGS); do \
44463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44464 done; \
44465 (cd $(TARGET_SUBDIR)/libgomp && \
44466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44468 "RANLIB=$${RANLIB}" \
44469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44470 dvi) \
44471 || exit 1
44473 @endif target-libgomp
44475 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
44476 maybe-pdf-target-libgomp:
44477 @if target-libgomp
44478 maybe-pdf-target-libgomp: pdf-target-libgomp
44480 pdf-target-libgomp: \
44481 configure-target-libgomp
44482 @: $(MAKE); $(unstage)
44483 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44484 r=`${PWD_COMMAND}`; export r; \
44485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44486 $(NORMAL_TARGET_EXPORTS) \
44487 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp" ; \
44488 for flag in $(EXTRA_TARGET_FLAGS); do \
44489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44490 done; \
44491 (cd $(TARGET_SUBDIR)/libgomp && \
44492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44494 "RANLIB=$${RANLIB}" \
44495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44496 pdf) \
44497 || exit 1
44499 @endif target-libgomp
44501 .PHONY: maybe-html-target-libgomp html-target-libgomp
44502 maybe-html-target-libgomp:
44503 @if target-libgomp
44504 maybe-html-target-libgomp: html-target-libgomp
44506 html-target-libgomp: \
44507 configure-target-libgomp
44508 @: $(MAKE); $(unstage)
44509 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44510 r=`${PWD_COMMAND}`; export r; \
44511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44512 $(NORMAL_TARGET_EXPORTS) \
44513 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
44514 for flag in $(EXTRA_TARGET_FLAGS); do \
44515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44516 done; \
44517 (cd $(TARGET_SUBDIR)/libgomp && \
44518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44520 "RANLIB=$${RANLIB}" \
44521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44522 html) \
44523 || exit 1
44525 @endif target-libgomp
44527 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
44528 maybe-TAGS-target-libgomp:
44529 @if target-libgomp
44530 maybe-TAGS-target-libgomp: TAGS-target-libgomp
44532 TAGS-target-libgomp: \
44533 configure-target-libgomp
44534 @: $(MAKE); $(unstage)
44535 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44536 r=`${PWD_COMMAND}`; export r; \
44537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44538 $(NORMAL_TARGET_EXPORTS) \
44539 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
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)/libgomp && \
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 TAGS) \
44549 || exit 1
44551 @endif target-libgomp
44553 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
44554 maybe-install-info-target-libgomp:
44555 @if target-libgomp
44556 maybe-install-info-target-libgomp: install-info-target-libgomp
44558 install-info-target-libgomp: \
44559 configure-target-libgomp \
44560 info-target-libgomp
44561 @: $(MAKE); $(unstage)
44562 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44563 r=`${PWD_COMMAND}`; export r; \
44564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44565 $(NORMAL_TARGET_EXPORTS) \
44566 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
44567 for flag in $(EXTRA_TARGET_FLAGS); do \
44568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44569 done; \
44570 (cd $(TARGET_SUBDIR)/libgomp && \
44571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44573 "RANLIB=$${RANLIB}" \
44574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44575 install-info) \
44576 || exit 1
44578 @endif target-libgomp
44580 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
44581 maybe-install-pdf-target-libgomp:
44582 @if target-libgomp
44583 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
44585 install-pdf-target-libgomp: \
44586 configure-target-libgomp \
44587 pdf-target-libgomp
44588 @: $(MAKE); $(unstage)
44589 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44590 r=`${PWD_COMMAND}`; export r; \
44591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44592 $(NORMAL_TARGET_EXPORTS) \
44593 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp" ; \
44594 for flag in $(EXTRA_TARGET_FLAGS); do \
44595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44596 done; \
44597 (cd $(TARGET_SUBDIR)/libgomp && \
44598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44600 "RANLIB=$${RANLIB}" \
44601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44602 install-pdf) \
44603 || exit 1
44605 @endif target-libgomp
44607 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
44608 maybe-install-html-target-libgomp:
44609 @if target-libgomp
44610 maybe-install-html-target-libgomp: install-html-target-libgomp
44612 install-html-target-libgomp: \
44613 configure-target-libgomp \
44614 html-target-libgomp
44615 @: $(MAKE); $(unstage)
44616 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44617 r=`${PWD_COMMAND}`; export r; \
44618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44619 $(NORMAL_TARGET_EXPORTS) \
44620 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \
44621 for flag in $(EXTRA_TARGET_FLAGS); do \
44622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44623 done; \
44624 (cd $(TARGET_SUBDIR)/libgomp && \
44625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44627 "RANLIB=$${RANLIB}" \
44628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44629 install-html) \
44630 || exit 1
44632 @endif target-libgomp
44634 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
44635 maybe-installcheck-target-libgomp:
44636 @if target-libgomp
44637 maybe-installcheck-target-libgomp: installcheck-target-libgomp
44639 installcheck-target-libgomp: \
44640 configure-target-libgomp
44641 @: $(MAKE); $(unstage)
44642 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44643 r=`${PWD_COMMAND}`; export r; \
44644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44645 $(NORMAL_TARGET_EXPORTS) \
44646 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
44647 for flag in $(EXTRA_TARGET_FLAGS); do \
44648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44649 done; \
44650 (cd $(TARGET_SUBDIR)/libgomp && \
44651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44653 "RANLIB=$${RANLIB}" \
44654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44655 installcheck) \
44656 || exit 1
44658 @endif target-libgomp
44660 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
44661 maybe-mostlyclean-target-libgomp:
44662 @if target-libgomp
44663 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
44665 mostlyclean-target-libgomp:
44666 @: $(MAKE); $(unstage)
44667 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44668 r=`${PWD_COMMAND}`; export r; \
44669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44670 $(NORMAL_TARGET_EXPORTS) \
44671 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
44672 for flag in $(EXTRA_TARGET_FLAGS); do \
44673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44674 done; \
44675 (cd $(TARGET_SUBDIR)/libgomp && \
44676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44678 "RANLIB=$${RANLIB}" \
44679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44680 mostlyclean) \
44681 || exit 1
44683 @endif target-libgomp
44685 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
44686 maybe-clean-target-libgomp:
44687 @if target-libgomp
44688 maybe-clean-target-libgomp: clean-target-libgomp
44690 clean-target-libgomp:
44691 @: $(MAKE); $(unstage)
44692 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44693 r=`${PWD_COMMAND}`; export r; \
44694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44695 $(NORMAL_TARGET_EXPORTS) \
44696 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
44697 for flag in $(EXTRA_TARGET_FLAGS); do \
44698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44699 done; \
44700 (cd $(TARGET_SUBDIR)/libgomp && \
44701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44703 "RANLIB=$${RANLIB}" \
44704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44705 clean) \
44706 || exit 1
44708 @endif target-libgomp
44710 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
44711 maybe-distclean-target-libgomp:
44712 @if target-libgomp
44713 maybe-distclean-target-libgomp: distclean-target-libgomp
44715 distclean-target-libgomp:
44716 @: $(MAKE); $(unstage)
44717 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44718 r=`${PWD_COMMAND}`; export r; \
44719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44720 $(NORMAL_TARGET_EXPORTS) \
44721 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
44722 for flag in $(EXTRA_TARGET_FLAGS); do \
44723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44724 done; \
44725 (cd $(TARGET_SUBDIR)/libgomp && \
44726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44728 "RANLIB=$${RANLIB}" \
44729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44730 distclean) \
44731 || exit 1
44733 @endif target-libgomp
44735 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
44736 maybe-maintainer-clean-target-libgomp:
44737 @if target-libgomp
44738 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
44740 maintainer-clean-target-libgomp:
44741 @: $(MAKE); $(unstage)
44742 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44743 r=`${PWD_COMMAND}`; export r; \
44744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44745 $(NORMAL_TARGET_EXPORTS) \
44746 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
44747 for flag in $(EXTRA_TARGET_FLAGS); do \
44748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44749 done; \
44750 (cd $(TARGET_SUBDIR)/libgomp && \
44751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44753 "RANLIB=$${RANLIB}" \
44754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44755 maintainer-clean) \
44756 || exit 1
44758 @endif target-libgomp
44764 .PHONY: configure-target-libitm maybe-configure-target-libitm
44765 maybe-configure-target-libitm:
44766 @if gcc-bootstrap
44767 configure-target-libitm: stage_current
44768 @endif gcc-bootstrap
44769 @if target-libitm
44770 maybe-configure-target-libitm: configure-target-libitm
44771 configure-target-libitm:
44772 @: $(MAKE); $(unstage)
44773 @r=`${PWD_COMMAND}`; export r; \
44774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44775 echo "Checking multilib configuration for libitm..."; \
44776 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm ; \
44777 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libitm/multilib.tmp 2> /dev/null ; \
44778 if test -r $(TARGET_SUBDIR)/libitm/multilib.out; then \
44779 if cmp -s $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; then \
44780 rm -f $(TARGET_SUBDIR)/libitm/multilib.tmp; \
44781 else \
44782 rm -f $(TARGET_SUBDIR)/libitm/Makefile; \
44783 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
44784 fi; \
44785 else \
44786 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
44787 fi; \
44788 test ! -f $(TARGET_SUBDIR)/libitm/Makefile || exit 0; \
44789 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm ; \
44790 $(NORMAL_TARGET_EXPORTS) \
44791 echo Configuring in $(TARGET_SUBDIR)/libitm; \
44792 cd "$(TARGET_SUBDIR)/libitm" || exit 1; \
44793 case $(srcdir) in \
44794 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44795 *) topdir=`echo $(TARGET_SUBDIR)/libitm/ | \
44796 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44797 esac; \
44798 module_srcdir=libitm; \
44799 rm -f no-such-file || : ; \
44800 CONFIG_SITE=no-such-file $(SHELL) \
44801 $$s/$$module_srcdir/configure \
44802 --srcdir=$${topdir}/$$module_srcdir \
44803 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44804 --target=${target_alias} \
44805 || exit 1
44806 @endif target-libitm
44812 .PHONY: all-target-libitm maybe-all-target-libitm
44813 maybe-all-target-libitm:
44814 @if gcc-bootstrap
44815 all-target-libitm: stage_current
44816 @endif gcc-bootstrap
44817 @if target-libitm
44818 TARGET-target-libitm=all
44819 maybe-all-target-libitm: all-target-libitm
44820 all-target-libitm: configure-target-libitm
44821 @: $(MAKE); $(unstage)
44822 @r=`${PWD_COMMAND}`; export r; \
44823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44824 $(NORMAL_TARGET_EXPORTS) \
44825 (cd $(TARGET_SUBDIR)/libitm && \
44826 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
44827 $(TARGET-target-libitm))
44828 @endif target-libitm
44834 .PHONY: check-target-libitm maybe-check-target-libitm
44835 maybe-check-target-libitm:
44836 @if target-libitm
44837 maybe-check-target-libitm: check-target-libitm
44839 check-target-libitm:
44840 @: $(MAKE); $(unstage)
44841 @r=`${PWD_COMMAND}`; export r; \
44842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44843 $(NORMAL_TARGET_EXPORTS) \
44844 (cd $(TARGET_SUBDIR)/libitm && \
44845 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
44847 @endif target-libitm
44849 .PHONY: install-target-libitm maybe-install-target-libitm
44850 maybe-install-target-libitm:
44851 @if target-libitm
44852 maybe-install-target-libitm: install-target-libitm
44854 install-target-libitm: installdirs
44855 @: $(MAKE); $(unstage)
44856 @r=`${PWD_COMMAND}`; export r; \
44857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44858 $(NORMAL_TARGET_EXPORTS) \
44859 (cd $(TARGET_SUBDIR)/libitm && \
44860 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44862 @endif target-libitm
44864 .PHONY: install-strip-target-libitm maybe-install-strip-target-libitm
44865 maybe-install-strip-target-libitm:
44866 @if target-libitm
44867 maybe-install-strip-target-libitm: install-strip-target-libitm
44869 install-strip-target-libitm: installdirs
44870 @: $(MAKE); $(unstage)
44871 @r=`${PWD_COMMAND}`; export r; \
44872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44873 $(NORMAL_TARGET_EXPORTS) \
44874 (cd $(TARGET_SUBDIR)/libitm && \
44875 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
44877 @endif target-libitm
44879 # Other targets (info, dvi, pdf, etc.)
44881 .PHONY: maybe-info-target-libitm info-target-libitm
44882 maybe-info-target-libitm:
44883 @if target-libitm
44884 maybe-info-target-libitm: info-target-libitm
44886 info-target-libitm: \
44887 configure-target-libitm
44888 @: $(MAKE); $(unstage)
44889 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
44890 r=`${PWD_COMMAND}`; export r; \
44891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44892 $(NORMAL_TARGET_EXPORTS) \
44893 echo "Doing info in $(TARGET_SUBDIR)/libitm" ; \
44894 for flag in $(EXTRA_TARGET_FLAGS); do \
44895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44896 done; \
44897 (cd $(TARGET_SUBDIR)/libitm && \
44898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44900 "RANLIB=$${RANLIB}" \
44901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44902 info) \
44903 || exit 1
44905 @endif target-libitm
44907 .PHONY: maybe-dvi-target-libitm dvi-target-libitm
44908 maybe-dvi-target-libitm:
44909 @if target-libitm
44910 maybe-dvi-target-libitm: dvi-target-libitm
44912 dvi-target-libitm: \
44913 configure-target-libitm
44914 @: $(MAKE); $(unstage)
44915 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
44916 r=`${PWD_COMMAND}`; export r; \
44917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44918 $(NORMAL_TARGET_EXPORTS) \
44919 echo "Doing dvi in $(TARGET_SUBDIR)/libitm" ; \
44920 for flag in $(EXTRA_TARGET_FLAGS); do \
44921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44922 done; \
44923 (cd $(TARGET_SUBDIR)/libitm && \
44924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44926 "RANLIB=$${RANLIB}" \
44927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44928 dvi) \
44929 || exit 1
44931 @endif target-libitm
44933 .PHONY: maybe-pdf-target-libitm pdf-target-libitm
44934 maybe-pdf-target-libitm:
44935 @if target-libitm
44936 maybe-pdf-target-libitm: pdf-target-libitm
44938 pdf-target-libitm: \
44939 configure-target-libitm
44940 @: $(MAKE); $(unstage)
44941 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
44942 r=`${PWD_COMMAND}`; export r; \
44943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44944 $(NORMAL_TARGET_EXPORTS) \
44945 echo "Doing pdf in $(TARGET_SUBDIR)/libitm" ; \
44946 for flag in $(EXTRA_TARGET_FLAGS); do \
44947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44948 done; \
44949 (cd $(TARGET_SUBDIR)/libitm && \
44950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44952 "RANLIB=$${RANLIB}" \
44953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44954 pdf) \
44955 || exit 1
44957 @endif target-libitm
44959 .PHONY: maybe-html-target-libitm html-target-libitm
44960 maybe-html-target-libitm:
44961 @if target-libitm
44962 maybe-html-target-libitm: html-target-libitm
44964 html-target-libitm: \
44965 configure-target-libitm
44966 @: $(MAKE); $(unstage)
44967 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
44968 r=`${PWD_COMMAND}`; export r; \
44969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44970 $(NORMAL_TARGET_EXPORTS) \
44971 echo "Doing html in $(TARGET_SUBDIR)/libitm" ; \
44972 for flag in $(EXTRA_TARGET_FLAGS); do \
44973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44974 done; \
44975 (cd $(TARGET_SUBDIR)/libitm && \
44976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44978 "RANLIB=$${RANLIB}" \
44979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44980 html) \
44981 || exit 1
44983 @endif target-libitm
44985 .PHONY: maybe-TAGS-target-libitm TAGS-target-libitm
44986 maybe-TAGS-target-libitm:
44987 @if target-libitm
44988 maybe-TAGS-target-libitm: TAGS-target-libitm
44990 TAGS-target-libitm: \
44991 configure-target-libitm
44992 @: $(MAKE); $(unstage)
44993 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
44994 r=`${PWD_COMMAND}`; export r; \
44995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44996 $(NORMAL_TARGET_EXPORTS) \
44997 echo "Doing TAGS in $(TARGET_SUBDIR)/libitm" ; \
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)/libitm && \
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 TAGS) \
45007 || exit 1
45009 @endif target-libitm
45011 .PHONY: maybe-install-info-target-libitm install-info-target-libitm
45012 maybe-install-info-target-libitm:
45013 @if target-libitm
45014 maybe-install-info-target-libitm: install-info-target-libitm
45016 install-info-target-libitm: \
45017 configure-target-libitm \
45018 info-target-libitm
45019 @: $(MAKE); $(unstage)
45020 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45021 r=`${PWD_COMMAND}`; export r; \
45022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45023 $(NORMAL_TARGET_EXPORTS) \
45024 echo "Doing install-info in $(TARGET_SUBDIR)/libitm" ; \
45025 for flag in $(EXTRA_TARGET_FLAGS); do \
45026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45027 done; \
45028 (cd $(TARGET_SUBDIR)/libitm && \
45029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45031 "RANLIB=$${RANLIB}" \
45032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45033 install-info) \
45034 || exit 1
45036 @endif target-libitm
45038 .PHONY: maybe-install-pdf-target-libitm install-pdf-target-libitm
45039 maybe-install-pdf-target-libitm:
45040 @if target-libitm
45041 maybe-install-pdf-target-libitm: install-pdf-target-libitm
45043 install-pdf-target-libitm: \
45044 configure-target-libitm \
45045 pdf-target-libitm
45046 @: $(MAKE); $(unstage)
45047 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45048 r=`${PWD_COMMAND}`; export r; \
45049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45050 $(NORMAL_TARGET_EXPORTS) \
45051 echo "Doing install-pdf in $(TARGET_SUBDIR)/libitm" ; \
45052 for flag in $(EXTRA_TARGET_FLAGS); do \
45053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45054 done; \
45055 (cd $(TARGET_SUBDIR)/libitm && \
45056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45058 "RANLIB=$${RANLIB}" \
45059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45060 install-pdf) \
45061 || exit 1
45063 @endif target-libitm
45065 .PHONY: maybe-install-html-target-libitm install-html-target-libitm
45066 maybe-install-html-target-libitm:
45067 @if target-libitm
45068 maybe-install-html-target-libitm: install-html-target-libitm
45070 install-html-target-libitm: \
45071 configure-target-libitm \
45072 html-target-libitm
45073 @: $(MAKE); $(unstage)
45074 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45075 r=`${PWD_COMMAND}`; export r; \
45076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45077 $(NORMAL_TARGET_EXPORTS) \
45078 echo "Doing install-html in $(TARGET_SUBDIR)/libitm" ; \
45079 for flag in $(EXTRA_TARGET_FLAGS); do \
45080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45081 done; \
45082 (cd $(TARGET_SUBDIR)/libitm && \
45083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45085 "RANLIB=$${RANLIB}" \
45086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45087 install-html) \
45088 || exit 1
45090 @endif target-libitm
45092 .PHONY: maybe-installcheck-target-libitm installcheck-target-libitm
45093 maybe-installcheck-target-libitm:
45094 @if target-libitm
45095 maybe-installcheck-target-libitm: installcheck-target-libitm
45097 installcheck-target-libitm: \
45098 configure-target-libitm
45099 @: $(MAKE); $(unstage)
45100 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45101 r=`${PWD_COMMAND}`; export r; \
45102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45103 $(NORMAL_TARGET_EXPORTS) \
45104 echo "Doing installcheck in $(TARGET_SUBDIR)/libitm" ; \
45105 for flag in $(EXTRA_TARGET_FLAGS); do \
45106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45107 done; \
45108 (cd $(TARGET_SUBDIR)/libitm && \
45109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45111 "RANLIB=$${RANLIB}" \
45112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45113 installcheck) \
45114 || exit 1
45116 @endif target-libitm
45118 .PHONY: maybe-mostlyclean-target-libitm mostlyclean-target-libitm
45119 maybe-mostlyclean-target-libitm:
45120 @if target-libitm
45121 maybe-mostlyclean-target-libitm: mostlyclean-target-libitm
45123 mostlyclean-target-libitm:
45124 @: $(MAKE); $(unstage)
45125 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45126 r=`${PWD_COMMAND}`; export r; \
45127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45128 $(NORMAL_TARGET_EXPORTS) \
45129 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libitm" ; \
45130 for flag in $(EXTRA_TARGET_FLAGS); do \
45131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45132 done; \
45133 (cd $(TARGET_SUBDIR)/libitm && \
45134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45136 "RANLIB=$${RANLIB}" \
45137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45138 mostlyclean) \
45139 || exit 1
45141 @endif target-libitm
45143 .PHONY: maybe-clean-target-libitm clean-target-libitm
45144 maybe-clean-target-libitm:
45145 @if target-libitm
45146 maybe-clean-target-libitm: clean-target-libitm
45148 clean-target-libitm:
45149 @: $(MAKE); $(unstage)
45150 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45151 r=`${PWD_COMMAND}`; export r; \
45152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45153 $(NORMAL_TARGET_EXPORTS) \
45154 echo "Doing clean in $(TARGET_SUBDIR)/libitm" ; \
45155 for flag in $(EXTRA_TARGET_FLAGS); do \
45156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45157 done; \
45158 (cd $(TARGET_SUBDIR)/libitm && \
45159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45161 "RANLIB=$${RANLIB}" \
45162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45163 clean) \
45164 || exit 1
45166 @endif target-libitm
45168 .PHONY: maybe-distclean-target-libitm distclean-target-libitm
45169 maybe-distclean-target-libitm:
45170 @if target-libitm
45171 maybe-distclean-target-libitm: distclean-target-libitm
45173 distclean-target-libitm:
45174 @: $(MAKE); $(unstage)
45175 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45176 r=`${PWD_COMMAND}`; export r; \
45177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45178 $(NORMAL_TARGET_EXPORTS) \
45179 echo "Doing distclean in $(TARGET_SUBDIR)/libitm" ; \
45180 for flag in $(EXTRA_TARGET_FLAGS); do \
45181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45182 done; \
45183 (cd $(TARGET_SUBDIR)/libitm && \
45184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45186 "RANLIB=$${RANLIB}" \
45187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45188 distclean) \
45189 || exit 1
45191 @endif target-libitm
45193 .PHONY: maybe-maintainer-clean-target-libitm maintainer-clean-target-libitm
45194 maybe-maintainer-clean-target-libitm:
45195 @if target-libitm
45196 maybe-maintainer-clean-target-libitm: maintainer-clean-target-libitm
45198 maintainer-clean-target-libitm:
45199 @: $(MAKE); $(unstage)
45200 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45201 r=`${PWD_COMMAND}`; export r; \
45202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45203 $(NORMAL_TARGET_EXPORTS) \
45204 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libitm" ; \
45205 for flag in $(EXTRA_TARGET_FLAGS); do \
45206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45207 done; \
45208 (cd $(TARGET_SUBDIR)/libitm && \
45209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45211 "RANLIB=$${RANLIB}" \
45212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45213 maintainer-clean) \
45214 || exit 1
45216 @endif target-libitm
45222 .PHONY: configure-target-libatomic maybe-configure-target-libatomic
45223 maybe-configure-target-libatomic:
45224 @if gcc-bootstrap
45225 configure-target-libatomic: stage_current
45226 @endif gcc-bootstrap
45227 @if target-libatomic
45228 maybe-configure-target-libatomic: configure-target-libatomic
45229 configure-target-libatomic:
45230 @: $(MAKE); $(unstage)
45231 @r=`${PWD_COMMAND}`; export r; \
45232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45233 echo "Checking multilib configuration for libatomic..."; \
45234 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic ; \
45235 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null ; \
45236 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
45237 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
45238 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
45239 else \
45240 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
45241 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
45242 fi; \
45243 else \
45244 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
45245 fi; \
45246 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
45247 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic ; \
45248 $(NORMAL_TARGET_EXPORTS) \
45249 echo Configuring in $(TARGET_SUBDIR)/libatomic; \
45250 cd "$(TARGET_SUBDIR)/libatomic" || exit 1; \
45251 case $(srcdir) in \
45252 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45253 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
45254 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45255 esac; \
45256 module_srcdir=libatomic; \
45257 rm -f no-such-file || : ; \
45258 CONFIG_SITE=no-such-file $(SHELL) \
45259 $$s/$$module_srcdir/configure \
45260 --srcdir=$${topdir}/$$module_srcdir \
45261 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45262 --target=${target_alias} \
45263 || exit 1
45264 @endif target-libatomic
45270 .PHONY: all-target-libatomic maybe-all-target-libatomic
45271 maybe-all-target-libatomic:
45272 @if gcc-bootstrap
45273 all-target-libatomic: stage_current
45274 @endif gcc-bootstrap
45275 @if target-libatomic
45276 TARGET-target-libatomic=all
45277 maybe-all-target-libatomic: all-target-libatomic
45278 all-target-libatomic: configure-target-libatomic
45279 @: $(MAKE); $(unstage)
45280 @r=`${PWD_COMMAND}`; export r; \
45281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45282 $(NORMAL_TARGET_EXPORTS) \
45283 (cd $(TARGET_SUBDIR)/libatomic && \
45284 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
45285 $(TARGET-target-libatomic))
45286 @endif target-libatomic
45292 .PHONY: check-target-libatomic maybe-check-target-libatomic
45293 maybe-check-target-libatomic:
45294 @if target-libatomic
45295 maybe-check-target-libatomic: check-target-libatomic
45297 check-target-libatomic:
45298 @: $(MAKE); $(unstage)
45299 @r=`${PWD_COMMAND}`; export r; \
45300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45301 $(NORMAL_TARGET_EXPORTS) \
45302 (cd $(TARGET_SUBDIR)/libatomic && \
45303 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
45305 @endif target-libatomic
45307 .PHONY: install-target-libatomic maybe-install-target-libatomic
45308 maybe-install-target-libatomic:
45309 @if target-libatomic
45310 maybe-install-target-libatomic: install-target-libatomic
45312 install-target-libatomic: installdirs
45313 @: $(MAKE); $(unstage)
45314 @r=`${PWD_COMMAND}`; export r; \
45315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45316 $(NORMAL_TARGET_EXPORTS) \
45317 (cd $(TARGET_SUBDIR)/libatomic && \
45318 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
45320 @endif target-libatomic
45322 .PHONY: install-strip-target-libatomic maybe-install-strip-target-libatomic
45323 maybe-install-strip-target-libatomic:
45324 @if target-libatomic
45325 maybe-install-strip-target-libatomic: install-strip-target-libatomic
45327 install-strip-target-libatomic: installdirs
45328 @: $(MAKE); $(unstage)
45329 @r=`${PWD_COMMAND}`; export r; \
45330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45331 $(NORMAL_TARGET_EXPORTS) \
45332 (cd $(TARGET_SUBDIR)/libatomic && \
45333 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
45335 @endif target-libatomic
45337 # Other targets (info, dvi, pdf, etc.)
45339 .PHONY: maybe-info-target-libatomic info-target-libatomic
45340 maybe-info-target-libatomic:
45341 @if target-libatomic
45342 maybe-info-target-libatomic: info-target-libatomic
45344 info-target-libatomic: \
45345 configure-target-libatomic
45346 @: $(MAKE); $(unstage)
45347 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45348 r=`${PWD_COMMAND}`; export r; \
45349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45350 $(NORMAL_TARGET_EXPORTS) \
45351 echo "Doing info in $(TARGET_SUBDIR)/libatomic" ; \
45352 for flag in $(EXTRA_TARGET_FLAGS); do \
45353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45354 done; \
45355 (cd $(TARGET_SUBDIR)/libatomic && \
45356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45358 "RANLIB=$${RANLIB}" \
45359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45360 info) \
45361 || exit 1
45363 @endif target-libatomic
45365 .PHONY: maybe-dvi-target-libatomic dvi-target-libatomic
45366 maybe-dvi-target-libatomic:
45367 @if target-libatomic
45368 maybe-dvi-target-libatomic: dvi-target-libatomic
45370 dvi-target-libatomic: \
45371 configure-target-libatomic
45372 @: $(MAKE); $(unstage)
45373 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45374 r=`${PWD_COMMAND}`; export r; \
45375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45376 $(NORMAL_TARGET_EXPORTS) \
45377 echo "Doing dvi in $(TARGET_SUBDIR)/libatomic" ; \
45378 for flag in $(EXTRA_TARGET_FLAGS); do \
45379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45380 done; \
45381 (cd $(TARGET_SUBDIR)/libatomic && \
45382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45384 "RANLIB=$${RANLIB}" \
45385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45386 dvi) \
45387 || exit 1
45389 @endif target-libatomic
45391 .PHONY: maybe-pdf-target-libatomic pdf-target-libatomic
45392 maybe-pdf-target-libatomic:
45393 @if target-libatomic
45394 maybe-pdf-target-libatomic: pdf-target-libatomic
45396 pdf-target-libatomic: \
45397 configure-target-libatomic
45398 @: $(MAKE); $(unstage)
45399 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45400 r=`${PWD_COMMAND}`; export r; \
45401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45402 $(NORMAL_TARGET_EXPORTS) \
45403 echo "Doing pdf in $(TARGET_SUBDIR)/libatomic" ; \
45404 for flag in $(EXTRA_TARGET_FLAGS); do \
45405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45406 done; \
45407 (cd $(TARGET_SUBDIR)/libatomic && \
45408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45410 "RANLIB=$${RANLIB}" \
45411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45412 pdf) \
45413 || exit 1
45415 @endif target-libatomic
45417 .PHONY: maybe-html-target-libatomic html-target-libatomic
45418 maybe-html-target-libatomic:
45419 @if target-libatomic
45420 maybe-html-target-libatomic: html-target-libatomic
45422 html-target-libatomic: \
45423 configure-target-libatomic
45424 @: $(MAKE); $(unstage)
45425 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45426 r=`${PWD_COMMAND}`; export r; \
45427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45428 $(NORMAL_TARGET_EXPORTS) \
45429 echo "Doing html in $(TARGET_SUBDIR)/libatomic" ; \
45430 for flag in $(EXTRA_TARGET_FLAGS); do \
45431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45432 done; \
45433 (cd $(TARGET_SUBDIR)/libatomic && \
45434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45436 "RANLIB=$${RANLIB}" \
45437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45438 html) \
45439 || exit 1
45441 @endif target-libatomic
45443 .PHONY: maybe-TAGS-target-libatomic TAGS-target-libatomic
45444 maybe-TAGS-target-libatomic:
45445 @if target-libatomic
45446 maybe-TAGS-target-libatomic: TAGS-target-libatomic
45448 TAGS-target-libatomic: \
45449 configure-target-libatomic
45450 @: $(MAKE); $(unstage)
45451 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45452 r=`${PWD_COMMAND}`; export r; \
45453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45454 $(NORMAL_TARGET_EXPORTS) \
45455 echo "Doing TAGS in $(TARGET_SUBDIR)/libatomic" ; \
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)/libatomic && \
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 TAGS) \
45465 || exit 1
45467 @endif target-libatomic
45469 .PHONY: maybe-install-info-target-libatomic install-info-target-libatomic
45470 maybe-install-info-target-libatomic:
45471 @if target-libatomic
45472 maybe-install-info-target-libatomic: install-info-target-libatomic
45474 install-info-target-libatomic: \
45475 configure-target-libatomic \
45476 info-target-libatomic
45477 @: $(MAKE); $(unstage)
45478 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45479 r=`${PWD_COMMAND}`; export r; \
45480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45481 $(NORMAL_TARGET_EXPORTS) \
45482 echo "Doing install-info in $(TARGET_SUBDIR)/libatomic" ; \
45483 for flag in $(EXTRA_TARGET_FLAGS); do \
45484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45485 done; \
45486 (cd $(TARGET_SUBDIR)/libatomic && \
45487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45489 "RANLIB=$${RANLIB}" \
45490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45491 install-info) \
45492 || exit 1
45494 @endif target-libatomic
45496 .PHONY: maybe-install-pdf-target-libatomic install-pdf-target-libatomic
45497 maybe-install-pdf-target-libatomic:
45498 @if target-libatomic
45499 maybe-install-pdf-target-libatomic: install-pdf-target-libatomic
45501 install-pdf-target-libatomic: \
45502 configure-target-libatomic \
45503 pdf-target-libatomic
45504 @: $(MAKE); $(unstage)
45505 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45506 r=`${PWD_COMMAND}`; export r; \
45507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45508 $(NORMAL_TARGET_EXPORTS) \
45509 echo "Doing install-pdf in $(TARGET_SUBDIR)/libatomic" ; \
45510 for flag in $(EXTRA_TARGET_FLAGS); do \
45511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45512 done; \
45513 (cd $(TARGET_SUBDIR)/libatomic && \
45514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45516 "RANLIB=$${RANLIB}" \
45517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45518 install-pdf) \
45519 || exit 1
45521 @endif target-libatomic
45523 .PHONY: maybe-install-html-target-libatomic install-html-target-libatomic
45524 maybe-install-html-target-libatomic:
45525 @if target-libatomic
45526 maybe-install-html-target-libatomic: install-html-target-libatomic
45528 install-html-target-libatomic: \
45529 configure-target-libatomic \
45530 html-target-libatomic
45531 @: $(MAKE); $(unstage)
45532 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45533 r=`${PWD_COMMAND}`; export r; \
45534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45535 $(NORMAL_TARGET_EXPORTS) \
45536 echo "Doing install-html in $(TARGET_SUBDIR)/libatomic" ; \
45537 for flag in $(EXTRA_TARGET_FLAGS); do \
45538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45539 done; \
45540 (cd $(TARGET_SUBDIR)/libatomic && \
45541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45543 "RANLIB=$${RANLIB}" \
45544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45545 install-html) \
45546 || exit 1
45548 @endif target-libatomic
45550 .PHONY: maybe-installcheck-target-libatomic installcheck-target-libatomic
45551 maybe-installcheck-target-libatomic:
45552 @if target-libatomic
45553 maybe-installcheck-target-libatomic: installcheck-target-libatomic
45555 installcheck-target-libatomic: \
45556 configure-target-libatomic
45557 @: $(MAKE); $(unstage)
45558 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45559 r=`${PWD_COMMAND}`; export r; \
45560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45561 $(NORMAL_TARGET_EXPORTS) \
45562 echo "Doing installcheck in $(TARGET_SUBDIR)/libatomic" ; \
45563 for flag in $(EXTRA_TARGET_FLAGS); do \
45564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45565 done; \
45566 (cd $(TARGET_SUBDIR)/libatomic && \
45567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45569 "RANLIB=$${RANLIB}" \
45570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45571 installcheck) \
45572 || exit 1
45574 @endif target-libatomic
45576 .PHONY: maybe-mostlyclean-target-libatomic mostlyclean-target-libatomic
45577 maybe-mostlyclean-target-libatomic:
45578 @if target-libatomic
45579 maybe-mostlyclean-target-libatomic: mostlyclean-target-libatomic
45581 mostlyclean-target-libatomic:
45582 @: $(MAKE); $(unstage)
45583 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45584 r=`${PWD_COMMAND}`; export r; \
45585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45586 $(NORMAL_TARGET_EXPORTS) \
45587 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libatomic" ; \
45588 for flag in $(EXTRA_TARGET_FLAGS); do \
45589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45590 done; \
45591 (cd $(TARGET_SUBDIR)/libatomic && \
45592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45594 "RANLIB=$${RANLIB}" \
45595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45596 mostlyclean) \
45597 || exit 1
45599 @endif target-libatomic
45601 .PHONY: maybe-clean-target-libatomic clean-target-libatomic
45602 maybe-clean-target-libatomic:
45603 @if target-libatomic
45604 maybe-clean-target-libatomic: clean-target-libatomic
45606 clean-target-libatomic:
45607 @: $(MAKE); $(unstage)
45608 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45609 r=`${PWD_COMMAND}`; export r; \
45610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45611 $(NORMAL_TARGET_EXPORTS) \
45612 echo "Doing clean in $(TARGET_SUBDIR)/libatomic" ; \
45613 for flag in $(EXTRA_TARGET_FLAGS); do \
45614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45615 done; \
45616 (cd $(TARGET_SUBDIR)/libatomic && \
45617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45619 "RANLIB=$${RANLIB}" \
45620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45621 clean) \
45622 || exit 1
45624 @endif target-libatomic
45626 .PHONY: maybe-distclean-target-libatomic distclean-target-libatomic
45627 maybe-distclean-target-libatomic:
45628 @if target-libatomic
45629 maybe-distclean-target-libatomic: distclean-target-libatomic
45631 distclean-target-libatomic:
45632 @: $(MAKE); $(unstage)
45633 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45634 r=`${PWD_COMMAND}`; export r; \
45635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45636 $(NORMAL_TARGET_EXPORTS) \
45637 echo "Doing distclean in $(TARGET_SUBDIR)/libatomic" ; \
45638 for flag in $(EXTRA_TARGET_FLAGS); do \
45639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45640 done; \
45641 (cd $(TARGET_SUBDIR)/libatomic && \
45642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45644 "RANLIB=$${RANLIB}" \
45645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45646 distclean) \
45647 || exit 1
45649 @endif target-libatomic
45651 .PHONY: maybe-maintainer-clean-target-libatomic maintainer-clean-target-libatomic
45652 maybe-maintainer-clean-target-libatomic:
45653 @if target-libatomic
45654 maybe-maintainer-clean-target-libatomic: maintainer-clean-target-libatomic
45656 maintainer-clean-target-libatomic:
45657 @: $(MAKE); $(unstage)
45658 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45659 r=`${PWD_COMMAND}`; export r; \
45660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45661 $(NORMAL_TARGET_EXPORTS) \
45662 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libatomic" ; \
45663 for flag in $(EXTRA_TARGET_FLAGS); do \
45664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45665 done; \
45666 (cd $(TARGET_SUBDIR)/libatomic && \
45667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45669 "RANLIB=$${RANLIB}" \
45670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45671 maintainer-clean) \
45672 || exit 1
45674 @endif target-libatomic
45678 @if target-libgomp
45679 .PHONY: check-target-libgomp-c++
45680 check-target-libgomp-c++:
45681 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libgomp
45683 @endif target-libgomp
45685 @if target-libitm
45686 .PHONY: check-target-libitm-c++
45687 check-target-libitm-c++:
45688 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libitm
45690 @endif target-libitm
45692 # ----------
45693 # GCC module
45694 # ----------
45696 @if gcc-no-bootstrap
45697 .PHONY: cross
45698 cross: all-build all-gas all-ld
45699 @r=`${PWD_COMMAND}`; export r; \
45700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45701 $(HOST_EXPORTS) \
45702 echo "Building the C and C++ compiler"; \
45703 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
45704 @r=`${PWD_COMMAND}`; export r; \
45705 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
45706 echo "Building runtime libraries"; \
45707 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
45708 @endif gcc-no-bootstrap
45710 @if gcc
45712 .PHONY: check-gcc-c check-c
45713 check-gcc-c:
45714 r=`${PWD_COMMAND}`; export r; \
45715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45716 $(HOST_EXPORTS) \
45717 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-gcc);
45718 check-c: check-gcc-c
45720 .PHONY: check-gcc-c++ check-c++
45721 check-gcc-c++:
45722 r=`${PWD_COMMAND}`; export r; \
45723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45724 $(HOST_EXPORTS) \
45725 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++);
45726 check-c++: check-gcc-c++ check-target-libstdc++-v3 check-target-libitm-c++ check-target-libgomp-c++
45728 .PHONY: check-gcc-fortran check-fortran
45729 check-gcc-fortran:
45730 r=`${PWD_COMMAND}`; export r; \
45731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45732 $(HOST_EXPORTS) \
45733 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran);
45734 check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran
45736 .PHONY: check-gcc-java check-java
45737 check-gcc-java:
45738 r=`${PWD_COMMAND}`; export r; \
45739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45740 $(HOST_EXPORTS) \
45741 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-java);
45742 check-java: check-gcc-java check-target-libjava
45744 .PHONY: check-gcc-ada check-ada
45745 check-gcc-ada:
45746 r=`${PWD_COMMAND}`; export r; \
45747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45748 $(HOST_EXPORTS) \
45749 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-ada);
45750 check-ada: check-gcc-ada check-target-libada
45752 .PHONY: check-gcc-objc check-objc
45753 check-gcc-objc:
45754 r=`${PWD_COMMAND}`; export r; \
45755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45756 $(HOST_EXPORTS) \
45757 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-objc);
45758 check-objc: check-gcc-objc check-target-libobjc
45760 .PHONY: check-gcc-obj-c++ check-obj-c++
45761 check-gcc-obj-c++:
45762 r=`${PWD_COMMAND}`; export r; \
45763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45764 $(HOST_EXPORTS) \
45765 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-obj-c++);
45766 check-obj-c++: check-gcc-obj-c++
45768 .PHONY: check-gcc-go check-go
45769 check-gcc-go:
45770 r=`${PWD_COMMAND}`; export r; \
45771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45772 $(HOST_EXPORTS) \
45773 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-go);
45774 check-go: check-gcc-go check-target-libgo
45777 # The gcc part of install-no-fixedincludes, which relies on an intimate
45778 # knowledge of how a number of gcc internal targets (inter)operate. Delegate.
45779 .PHONY: gcc-install-no-fixedincludes
45780 gcc-install-no-fixedincludes:
45781 @if [ -f ./gcc/Makefile ]; then \
45782 r=`${PWD_COMMAND}`; export r; \
45783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45784 $(HOST_EXPORTS) \
45785 (cd ./gcc \
45786 && $(MAKE) $(GCC_FLAGS_TO_PASS) install-no-fixedincludes); \
45787 else true; fi
45788 @endif gcc
45790 # ---------------------
45791 # GCC bootstrap support
45792 # ---------------------
45794 # We track the current stage (the one in 'gcc') in the stage_current file.
45795 # stage_last instead tracks the stage that was built last. These targets
45796 # are dummy when toplevel bootstrap is not active.
45798 # While making host and target tools, symlinks to the final stage must be
45799 # there, so $(unstage) should be run at various points. To avoid excessive
45800 # recursive invocations of make, we "inline" them using a variable. These
45801 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
45802 # to avoid warnings from the GNU Make job server.
45804 unstage = :
45805 stage = :
45806 current_stage = ""
45808 @if gcc-bootstrap
45809 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
45810 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
45811 current_stage = "`cat stage_current 2> /dev/null`"
45812 @endif gcc-bootstrap
45814 .PHONY: unstage stage
45815 unstage:
45816 @: $(MAKE); $(unstage)
45817 stage:
45818 @: $(MAKE); $(stage)
45820 # Disable commands for lean bootstrap.
45821 LEAN = false
45823 # We name the build directories for the various stages "stage1-gcc",
45824 # "stage2-gcc","stage3-gcc", etc.
45826 # Since the 'compare' process will fail (on debugging information) if any
45827 # directory names are different, we need to link the gcc directory for
45828 # the previous stage to a constant name ('prev-gcc'), and to make the name of
45829 # the build directories constant as well. For the latter, we use naked names
45830 # like 'gcc', because the scripts in that directory assume it. We use
45831 # mv on platforms where symlinks to directories do not work or are not
45832 # reliable.
45834 # 'touch' doesn't work right on some platforms.
45835 STAMP = echo timestamp >
45837 # We only want to compare .o files, so set this!
45838 objext = .o
45841 .PHONY: stage1-start stage1-end
45843 stage1-start::
45844 @: $(MAKE); $(stage); \
45845 echo stage1 > stage_current ; \
45846 echo stage1 > stage_last; \
45847 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
45848 @if bfd
45849 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
45850 mkdir stage1-bfd; \
45851 mv stage1-bfd bfd
45852 @endif bfd
45853 @if opcodes
45854 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
45855 mkdir stage1-opcodes; \
45856 mv stage1-opcodes opcodes
45857 @endif opcodes
45858 @if binutils
45859 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
45860 mkdir stage1-binutils; \
45861 mv stage1-binutils binutils
45862 @endif binutils
45863 @if fixincludes
45864 @cd $(HOST_SUBDIR); [ -d stage1-fixincludes ] || \
45865 mkdir stage1-fixincludes; \
45866 mv stage1-fixincludes fixincludes
45867 @endif fixincludes
45868 @if gas
45869 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
45870 mkdir stage1-gas; \
45871 mv stage1-gas gas
45872 @endif gas
45873 @if gcc
45874 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
45875 mkdir stage1-gcc; \
45876 mv stage1-gcc gcc
45877 @endif gcc
45878 @if gmp
45879 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
45880 mkdir stage1-gmp; \
45881 mv stage1-gmp gmp
45882 @endif gmp
45883 @if mpfr
45884 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
45885 mkdir stage1-mpfr; \
45886 mv stage1-mpfr mpfr
45887 @endif mpfr
45888 @if mpc
45889 @cd $(HOST_SUBDIR); [ -d stage1-mpc ] || \
45890 mkdir stage1-mpc; \
45891 mv stage1-mpc mpc
45892 @endif mpc
45893 @if isl
45894 @cd $(HOST_SUBDIR); [ -d stage1-isl ] || \
45895 mkdir stage1-isl; \
45896 mv stage1-isl isl
45897 @endif isl
45898 @if cloog
45899 @cd $(HOST_SUBDIR); [ -d stage1-cloog ] || \
45900 mkdir stage1-cloog; \
45901 mv stage1-cloog cloog
45902 @endif cloog
45903 @if libelf
45904 @cd $(HOST_SUBDIR); [ -d stage1-libelf ] || \
45905 mkdir stage1-libelf; \
45906 mv stage1-libelf libelf
45907 @endif libelf
45908 @if gold
45909 @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \
45910 mkdir stage1-gold; \
45911 mv stage1-gold gold
45912 @endif gold
45913 @if intl
45914 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
45915 mkdir stage1-intl; \
45916 mv stage1-intl intl
45917 @endif intl
45918 @if ld
45919 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
45920 mkdir stage1-ld; \
45921 mv stage1-ld ld
45922 @endif ld
45923 @if libbacktrace
45924 @cd $(HOST_SUBDIR); [ -d stage1-libbacktrace ] || \
45925 mkdir stage1-libbacktrace; \
45926 mv stage1-libbacktrace libbacktrace
45927 @endif libbacktrace
45928 @if libcpp
45929 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
45930 mkdir stage1-libcpp; \
45931 mv stage1-libcpp libcpp
45932 @endif libcpp
45933 @if libdecnumber
45934 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
45935 mkdir stage1-libdecnumber; \
45936 mv stage1-libdecnumber libdecnumber
45937 @endif libdecnumber
45938 @if libiberty
45939 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
45940 mkdir stage1-libiberty; \
45941 mv stage1-libiberty libiberty
45942 @endif libiberty
45943 @if libiberty-linker-plugin
45944 @cd $(HOST_SUBDIR); [ -d stage1-libiberty-linker-plugin ] || \
45945 mkdir stage1-libiberty-linker-plugin; \
45946 mv stage1-libiberty-linker-plugin libiberty-linker-plugin
45947 @endif libiberty-linker-plugin
45948 @if zlib
45949 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
45950 mkdir stage1-zlib; \
45951 mv stage1-zlib zlib
45952 @endif zlib
45953 @if lto-plugin
45954 @cd $(HOST_SUBDIR); [ -d stage1-lto-plugin ] || \
45955 mkdir stage1-lto-plugin; \
45956 mv stage1-lto-plugin lto-plugin
45957 @endif lto-plugin
45958 @[ -d stage1-$(TARGET_SUBDIR) ] || \
45959 mkdir stage1-$(TARGET_SUBDIR); \
45960 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
45962 stage1-end::
45963 @if bfd
45964 @if test -d $(HOST_SUBDIR)/bfd ; then \
45965 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
45967 @endif bfd
45968 @if opcodes
45969 @if test -d $(HOST_SUBDIR)/opcodes ; then \
45970 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
45972 @endif opcodes
45973 @if binutils
45974 @if test -d $(HOST_SUBDIR)/binutils ; then \
45975 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
45977 @endif binutils
45978 @if fixincludes
45979 @if test -d $(HOST_SUBDIR)/fixincludes ; then \
45980 cd $(HOST_SUBDIR); mv fixincludes stage1-fixincludes ; \
45982 @endif fixincludes
45983 @if gas
45984 @if test -d $(HOST_SUBDIR)/gas ; then \
45985 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
45987 @endif gas
45988 @if gcc
45989 @if test -d $(HOST_SUBDIR)/gcc ; then \
45990 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
45992 @endif gcc
45993 @if gmp
45994 @if test -d $(HOST_SUBDIR)/gmp ; then \
45995 cd $(HOST_SUBDIR); mv gmp stage1-gmp ; \
45997 @endif gmp
45998 @if mpfr
45999 @if test -d $(HOST_SUBDIR)/mpfr ; then \
46000 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr ; \
46002 @endif mpfr
46003 @if mpc
46004 @if test -d $(HOST_SUBDIR)/mpc ; then \
46005 cd $(HOST_SUBDIR); mv mpc stage1-mpc ; \
46007 @endif mpc
46008 @if isl
46009 @if test -d $(HOST_SUBDIR)/isl ; then \
46010 cd $(HOST_SUBDIR); mv isl stage1-isl ; \
46012 @endif isl
46013 @if cloog
46014 @if test -d $(HOST_SUBDIR)/cloog ; then \
46015 cd $(HOST_SUBDIR); mv cloog stage1-cloog ; \
46017 @endif cloog
46018 @if libelf
46019 @if test -d $(HOST_SUBDIR)/libelf ; then \
46020 cd $(HOST_SUBDIR); mv libelf stage1-libelf ; \
46022 @endif libelf
46023 @if gold
46024 @if test -d $(HOST_SUBDIR)/gold ; then \
46025 cd $(HOST_SUBDIR); mv gold stage1-gold ; \
46027 @endif gold
46028 @if intl
46029 @if test -d $(HOST_SUBDIR)/intl ; then \
46030 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
46032 @endif intl
46033 @if ld
46034 @if test -d $(HOST_SUBDIR)/ld ; then \
46035 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
46037 @endif ld
46038 @if libbacktrace
46039 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
46040 cd $(HOST_SUBDIR); mv libbacktrace stage1-libbacktrace ; \
46042 @endif libbacktrace
46043 @if libcpp
46044 @if test -d $(HOST_SUBDIR)/libcpp ; then \
46045 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
46047 @endif libcpp
46048 @if libdecnumber
46049 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
46050 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
46052 @endif libdecnumber
46053 @if libiberty
46054 @if test -d $(HOST_SUBDIR)/libiberty ; then \
46055 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
46057 @endif libiberty
46058 @if libiberty-linker-plugin
46059 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin ; then \
46060 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage1-libiberty-linker-plugin ; \
46062 @endif libiberty-linker-plugin
46063 @if zlib
46064 @if test -d $(HOST_SUBDIR)/zlib ; then \
46065 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
46067 @endif zlib
46068 @if lto-plugin
46069 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
46070 cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin ; \
46072 @endif lto-plugin
46073 @if test -d $(TARGET_SUBDIR) ; then \
46074 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
46076 rm -f stage_current
46078 # Bubble a bug fix through all the stages up to stage 1. They are
46079 # remade, but not reconfigured. The next stage (if any) will not be
46080 # reconfigured either.
46081 .PHONY: stage1-bubble
46082 stage1-bubble::
46083 @r=`${PWD_COMMAND}`; export r; \
46084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46085 if test -f stage1-lean ; then \
46086 echo Skipping rebuild of stage1 ; \
46087 else \
46088 $(MAKE) stage1-start; \
46089 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
46092 .PHONY: all-stage1 clean-stage1
46093 do-clean: clean-stage1
46095 # FIXME: Will not need to be conditional when toplevel bootstrap is the
46096 # only possibility, but now it conflicts with no-bootstrap rules
46097 @if gcc-bootstrap
46102 # Rules to wipe a stage and all the following ones, also used for cleanstrap
46104 .PHONY: distclean-stage1
46105 distclean-stage1::
46106 @: $(MAKE); $(stage)
46107 @test "`cat stage_last`" != stage1 || rm -f stage_last
46108 rm -rf stage1-*
46111 @endif gcc-bootstrap
46114 .PHONY: stage2-start stage2-end
46116 stage2-start::
46117 @: $(MAKE); $(stage); \
46118 echo stage2 > stage_current ; \
46119 echo stage2 > stage_last; \
46120 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
46121 @if bfd
46122 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
46123 mkdir stage2-bfd; \
46124 mv stage2-bfd bfd ; \
46125 mv stage1-bfd prev-bfd || test -f stage1-lean
46126 @endif bfd
46127 @if opcodes
46128 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
46129 mkdir stage2-opcodes; \
46130 mv stage2-opcodes opcodes ; \
46131 mv stage1-opcodes prev-opcodes || test -f stage1-lean
46132 @endif opcodes
46133 @if binutils
46134 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
46135 mkdir stage2-binutils; \
46136 mv stage2-binutils binutils ; \
46137 mv stage1-binutils prev-binutils || test -f stage1-lean
46138 @endif binutils
46139 @if fixincludes
46140 @cd $(HOST_SUBDIR); [ -d stage2-fixincludes ] || \
46141 mkdir stage2-fixincludes; \
46142 mv stage2-fixincludes fixincludes ; \
46143 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
46144 @endif fixincludes
46145 @if gas
46146 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
46147 mkdir stage2-gas; \
46148 mv stage2-gas gas ; \
46149 mv stage1-gas prev-gas || test -f stage1-lean
46150 @endif gas
46151 @if gcc
46152 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
46153 mkdir stage2-gcc; \
46154 mv stage2-gcc gcc ; \
46155 mv stage1-gcc prev-gcc || test -f stage1-lean
46156 @endif gcc
46157 @if gmp
46158 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
46159 mkdir stage2-gmp; \
46160 mv stage2-gmp gmp ; \
46161 mv stage1-gmp prev-gmp || test -f stage1-lean
46162 @endif gmp
46163 @if mpfr
46164 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
46165 mkdir stage2-mpfr; \
46166 mv stage2-mpfr mpfr ; \
46167 mv stage1-mpfr prev-mpfr || test -f stage1-lean
46168 @endif mpfr
46169 @if mpc
46170 @cd $(HOST_SUBDIR); [ -d stage2-mpc ] || \
46171 mkdir stage2-mpc; \
46172 mv stage2-mpc mpc ; \
46173 mv stage1-mpc prev-mpc || test -f stage1-lean
46174 @endif mpc
46175 @if isl
46176 @cd $(HOST_SUBDIR); [ -d stage2-isl ] || \
46177 mkdir stage2-isl; \
46178 mv stage2-isl isl ; \
46179 mv stage1-isl prev-isl || test -f stage1-lean
46180 @endif isl
46181 @if cloog
46182 @cd $(HOST_SUBDIR); [ -d stage2-cloog ] || \
46183 mkdir stage2-cloog; \
46184 mv stage2-cloog cloog ; \
46185 mv stage1-cloog prev-cloog || test -f stage1-lean
46186 @endif cloog
46187 @if libelf
46188 @cd $(HOST_SUBDIR); [ -d stage2-libelf ] || \
46189 mkdir stage2-libelf; \
46190 mv stage2-libelf libelf ; \
46191 mv stage1-libelf prev-libelf || test -f stage1-lean
46192 @endif libelf
46193 @if gold
46194 @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \
46195 mkdir stage2-gold; \
46196 mv stage2-gold gold ; \
46197 mv stage1-gold prev-gold || test -f stage1-lean
46198 @endif gold
46199 @if intl
46200 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
46201 mkdir stage2-intl; \
46202 mv stage2-intl intl ; \
46203 mv stage1-intl prev-intl || test -f stage1-lean
46204 @endif intl
46205 @if ld
46206 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
46207 mkdir stage2-ld; \
46208 mv stage2-ld ld ; \
46209 mv stage1-ld prev-ld || test -f stage1-lean
46210 @endif ld
46211 @if libbacktrace
46212 @cd $(HOST_SUBDIR); [ -d stage2-libbacktrace ] || \
46213 mkdir stage2-libbacktrace; \
46214 mv stage2-libbacktrace libbacktrace ; \
46215 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
46216 @endif libbacktrace
46217 @if libcpp
46218 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
46219 mkdir stage2-libcpp; \
46220 mv stage2-libcpp libcpp ; \
46221 mv stage1-libcpp prev-libcpp || test -f stage1-lean
46222 @endif libcpp
46223 @if libdecnumber
46224 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
46225 mkdir stage2-libdecnumber; \
46226 mv stage2-libdecnumber libdecnumber ; \
46227 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
46228 @endif libdecnumber
46229 @if libiberty
46230 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
46231 mkdir stage2-libiberty; \
46232 mv stage2-libiberty libiberty ; \
46233 mv stage1-libiberty prev-libiberty || test -f stage1-lean
46234 @endif libiberty
46235 @if libiberty-linker-plugin
46236 @cd $(HOST_SUBDIR); [ -d stage2-libiberty-linker-plugin ] || \
46237 mkdir stage2-libiberty-linker-plugin; \
46238 mv stage2-libiberty-linker-plugin libiberty-linker-plugin ; \
46239 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
46240 @endif libiberty-linker-plugin
46241 @if zlib
46242 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
46243 mkdir stage2-zlib; \
46244 mv stage2-zlib zlib ; \
46245 mv stage1-zlib prev-zlib || test -f stage1-lean
46246 @endif zlib
46247 @if lto-plugin
46248 @cd $(HOST_SUBDIR); [ -d stage2-lto-plugin ] || \
46249 mkdir stage2-lto-plugin; \
46250 mv stage2-lto-plugin lto-plugin ; \
46251 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
46252 @endif lto-plugin
46253 @[ -d stage2-$(TARGET_SUBDIR) ] || \
46254 mkdir stage2-$(TARGET_SUBDIR); \
46255 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
46256 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
46258 stage2-end::
46259 @if bfd
46260 @if test -d $(HOST_SUBDIR)/bfd ; then \
46261 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
46262 mv prev-bfd stage1-bfd ; : ; \
46264 @endif bfd
46265 @if opcodes
46266 @if test -d $(HOST_SUBDIR)/opcodes ; then \
46267 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
46268 mv prev-opcodes stage1-opcodes ; : ; \
46270 @endif opcodes
46271 @if binutils
46272 @if test -d $(HOST_SUBDIR)/binutils ; then \
46273 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
46274 mv prev-binutils stage1-binutils ; : ; \
46276 @endif binutils
46277 @if fixincludes
46278 @if test -d $(HOST_SUBDIR)/fixincludes ; then \
46279 cd $(HOST_SUBDIR); mv fixincludes stage2-fixincludes ; \
46280 mv prev-fixincludes stage1-fixincludes ; : ; \
46282 @endif fixincludes
46283 @if gas
46284 @if test -d $(HOST_SUBDIR)/gas ; then \
46285 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
46286 mv prev-gas stage1-gas ; : ; \
46288 @endif gas
46289 @if gcc
46290 @if test -d $(HOST_SUBDIR)/gcc ; then \
46291 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
46292 mv prev-gcc stage1-gcc ; : ; \
46294 @endif gcc
46295 @if gmp
46296 @if test -d $(HOST_SUBDIR)/gmp ; then \
46297 cd $(HOST_SUBDIR); mv gmp stage2-gmp ; \
46298 mv prev-gmp stage1-gmp ; : ; \
46300 @endif gmp
46301 @if mpfr
46302 @if test -d $(HOST_SUBDIR)/mpfr ; then \
46303 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr ; \
46304 mv prev-mpfr stage1-mpfr ; : ; \
46306 @endif mpfr
46307 @if mpc
46308 @if test -d $(HOST_SUBDIR)/mpc ; then \
46309 cd $(HOST_SUBDIR); mv mpc stage2-mpc ; \
46310 mv prev-mpc stage1-mpc ; : ; \
46312 @endif mpc
46313 @if isl
46314 @if test -d $(HOST_SUBDIR)/isl ; then \
46315 cd $(HOST_SUBDIR); mv isl stage2-isl ; \
46316 mv prev-isl stage1-isl ; : ; \
46318 @endif isl
46319 @if cloog
46320 @if test -d $(HOST_SUBDIR)/cloog ; then \
46321 cd $(HOST_SUBDIR); mv cloog stage2-cloog ; \
46322 mv prev-cloog stage1-cloog ; : ; \
46324 @endif cloog
46325 @if libelf
46326 @if test -d $(HOST_SUBDIR)/libelf ; then \
46327 cd $(HOST_SUBDIR); mv libelf stage2-libelf ; \
46328 mv prev-libelf stage1-libelf ; : ; \
46330 @endif libelf
46331 @if gold
46332 @if test -d $(HOST_SUBDIR)/gold ; then \
46333 cd $(HOST_SUBDIR); mv gold stage2-gold ; \
46334 mv prev-gold stage1-gold ; : ; \
46336 @endif gold
46337 @if intl
46338 @if test -d $(HOST_SUBDIR)/intl ; then \
46339 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
46340 mv prev-intl stage1-intl ; : ; \
46342 @endif intl
46343 @if ld
46344 @if test -d $(HOST_SUBDIR)/ld ; then \
46345 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
46346 mv prev-ld stage1-ld ; : ; \
46348 @endif ld
46349 @if libbacktrace
46350 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
46351 cd $(HOST_SUBDIR); mv libbacktrace stage2-libbacktrace ; \
46352 mv prev-libbacktrace stage1-libbacktrace ; : ; \
46354 @endif libbacktrace
46355 @if libcpp
46356 @if test -d $(HOST_SUBDIR)/libcpp ; then \
46357 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
46358 mv prev-libcpp stage1-libcpp ; : ; \
46360 @endif libcpp
46361 @if libdecnumber
46362 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
46363 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
46364 mv prev-libdecnumber stage1-libdecnumber ; : ; \
46366 @endif libdecnumber
46367 @if libiberty
46368 @if test -d $(HOST_SUBDIR)/libiberty ; then \
46369 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
46370 mv prev-libiberty stage1-libiberty ; : ; \
46372 @endif libiberty
46373 @if libiberty-linker-plugin
46374 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin ; then \
46375 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage2-libiberty-linker-plugin ; \
46376 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin ; : ; \
46378 @endif libiberty-linker-plugin
46379 @if zlib
46380 @if test -d $(HOST_SUBDIR)/zlib ; then \
46381 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
46382 mv prev-zlib stage1-zlib ; : ; \
46384 @endif zlib
46385 @if lto-plugin
46386 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
46387 cd $(HOST_SUBDIR); mv lto-plugin stage2-lto-plugin ; \
46388 mv prev-lto-plugin stage1-lto-plugin ; : ; \
46390 @endif lto-plugin
46391 @if test -d $(TARGET_SUBDIR) ; then \
46392 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
46393 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
46395 rm -f stage_current
46397 # Bubble a bug fix through all the stages up to stage 2. They are
46398 # remade, but not reconfigured. The next stage (if any) will not be
46399 # reconfigured either.
46400 .PHONY: stage2-bubble
46401 stage2-bubble:: stage1-bubble
46402 @r=`${PWD_COMMAND}`; export r; \
46403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46404 if test -f stage2-lean || test -f stage1-lean ; then \
46405 echo Skipping rebuild of stage2 ; \
46406 else \
46407 $(MAKE) stage2-start; \
46408 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
46411 .PHONY: all-stage2 clean-stage2
46412 do-clean: clean-stage2
46414 # FIXME: Will not need to be conditional when toplevel bootstrap is the
46415 # only possibility, but now it conflicts with no-bootstrap rules
46416 @if gcc-bootstrap
46420 .PHONY: bootstrap2 bootstrap2-lean
46421 bootstrap2:
46422 echo stage2 > stage_final
46423 @r=`${PWD_COMMAND}`; export r; \
46424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46425 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
46426 @: $(MAKE); $(unstage)
46427 @r=`${PWD_COMMAND}`; export r; \
46428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46429 TFLAGS="$(STAGE2_TFLAGS)"; \
46430 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
46432 bootstrap2-lean:
46433 echo stage2 > stage_final
46434 @r=`${PWD_COMMAND}`; export r; \
46435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46436 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
46437 @: $(MAKE); $(unstage)
46438 @r=`${PWD_COMMAND}`; export r; \
46439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46440 TFLAGS="$(STAGE2_TFLAGS)"; \
46441 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
46444 # Rules to wipe a stage and all the following ones, also used for cleanstrap
46445 distclean-stage1:: distclean-stage2
46446 .PHONY: distclean-stage2
46447 distclean-stage2::
46448 @: $(MAKE); $(stage)
46449 @test "`cat stage_last`" != stage2 || rm -f stage_last
46450 rm -rf stage2-*
46453 @endif gcc-bootstrap
46456 .PHONY: stage3-start stage3-end
46458 stage3-start::
46459 @: $(MAKE); $(stage); \
46460 echo stage3 > stage_current ; \
46461 echo stage3 > stage_last; \
46462 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
46463 @if bfd
46464 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
46465 mkdir stage3-bfd; \
46466 mv stage3-bfd bfd ; \
46467 mv stage2-bfd prev-bfd || test -f stage2-lean
46468 @endif bfd
46469 @if opcodes
46470 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
46471 mkdir stage3-opcodes; \
46472 mv stage3-opcodes opcodes ; \
46473 mv stage2-opcodes prev-opcodes || test -f stage2-lean
46474 @endif opcodes
46475 @if binutils
46476 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
46477 mkdir stage3-binutils; \
46478 mv stage3-binutils binutils ; \
46479 mv stage2-binutils prev-binutils || test -f stage2-lean
46480 @endif binutils
46481 @if fixincludes
46482 @cd $(HOST_SUBDIR); [ -d stage3-fixincludes ] || \
46483 mkdir stage3-fixincludes; \
46484 mv stage3-fixincludes fixincludes ; \
46485 mv stage2-fixincludes prev-fixincludes || test -f stage2-lean
46486 @endif fixincludes
46487 @if gas
46488 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
46489 mkdir stage3-gas; \
46490 mv stage3-gas gas ; \
46491 mv stage2-gas prev-gas || test -f stage2-lean
46492 @endif gas
46493 @if gcc
46494 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
46495 mkdir stage3-gcc; \
46496 mv stage3-gcc gcc ; \
46497 mv stage2-gcc prev-gcc || test -f stage2-lean
46498 @endif gcc
46499 @if gmp
46500 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
46501 mkdir stage3-gmp; \
46502 mv stage3-gmp gmp ; \
46503 mv stage2-gmp prev-gmp || test -f stage2-lean
46504 @endif gmp
46505 @if mpfr
46506 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
46507 mkdir stage3-mpfr; \
46508 mv stage3-mpfr mpfr ; \
46509 mv stage2-mpfr prev-mpfr || test -f stage2-lean
46510 @endif mpfr
46511 @if mpc
46512 @cd $(HOST_SUBDIR); [ -d stage3-mpc ] || \
46513 mkdir stage3-mpc; \
46514 mv stage3-mpc mpc ; \
46515 mv stage2-mpc prev-mpc || test -f stage2-lean
46516 @endif mpc
46517 @if isl
46518 @cd $(HOST_SUBDIR); [ -d stage3-isl ] || \
46519 mkdir stage3-isl; \
46520 mv stage3-isl isl ; \
46521 mv stage2-isl prev-isl || test -f stage2-lean
46522 @endif isl
46523 @if cloog
46524 @cd $(HOST_SUBDIR); [ -d stage3-cloog ] || \
46525 mkdir stage3-cloog; \
46526 mv stage3-cloog cloog ; \
46527 mv stage2-cloog prev-cloog || test -f stage2-lean
46528 @endif cloog
46529 @if libelf
46530 @cd $(HOST_SUBDIR); [ -d stage3-libelf ] || \
46531 mkdir stage3-libelf; \
46532 mv stage3-libelf libelf ; \
46533 mv stage2-libelf prev-libelf || test -f stage2-lean
46534 @endif libelf
46535 @if gold
46536 @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \
46537 mkdir stage3-gold; \
46538 mv stage3-gold gold ; \
46539 mv stage2-gold prev-gold || test -f stage2-lean
46540 @endif gold
46541 @if intl
46542 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
46543 mkdir stage3-intl; \
46544 mv stage3-intl intl ; \
46545 mv stage2-intl prev-intl || test -f stage2-lean
46546 @endif intl
46547 @if ld
46548 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
46549 mkdir stage3-ld; \
46550 mv stage3-ld ld ; \
46551 mv stage2-ld prev-ld || test -f stage2-lean
46552 @endif ld
46553 @if libbacktrace
46554 @cd $(HOST_SUBDIR); [ -d stage3-libbacktrace ] || \
46555 mkdir stage3-libbacktrace; \
46556 mv stage3-libbacktrace libbacktrace ; \
46557 mv stage2-libbacktrace prev-libbacktrace || test -f stage2-lean
46558 @endif libbacktrace
46559 @if libcpp
46560 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
46561 mkdir stage3-libcpp; \
46562 mv stage3-libcpp libcpp ; \
46563 mv stage2-libcpp prev-libcpp || test -f stage2-lean
46564 @endif libcpp
46565 @if libdecnumber
46566 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
46567 mkdir stage3-libdecnumber; \
46568 mv stage3-libdecnumber libdecnumber ; \
46569 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
46570 @endif libdecnumber
46571 @if libiberty
46572 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
46573 mkdir stage3-libiberty; \
46574 mv stage3-libiberty libiberty ; \
46575 mv stage2-libiberty prev-libiberty || test -f stage2-lean
46576 @endif libiberty
46577 @if libiberty-linker-plugin
46578 @cd $(HOST_SUBDIR); [ -d stage3-libiberty-linker-plugin ] || \
46579 mkdir stage3-libiberty-linker-plugin; \
46580 mv stage3-libiberty-linker-plugin libiberty-linker-plugin ; \
46581 mv stage2-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage2-lean
46582 @endif libiberty-linker-plugin
46583 @if zlib
46584 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
46585 mkdir stage3-zlib; \
46586 mv stage3-zlib zlib ; \
46587 mv stage2-zlib prev-zlib || test -f stage2-lean
46588 @endif zlib
46589 @if lto-plugin
46590 @cd $(HOST_SUBDIR); [ -d stage3-lto-plugin ] || \
46591 mkdir stage3-lto-plugin; \
46592 mv stage3-lto-plugin lto-plugin ; \
46593 mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean
46594 @endif lto-plugin
46595 @[ -d stage3-$(TARGET_SUBDIR) ] || \
46596 mkdir stage3-$(TARGET_SUBDIR); \
46597 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
46598 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
46600 stage3-end::
46601 @if bfd
46602 @if test -d $(HOST_SUBDIR)/bfd ; then \
46603 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
46604 mv prev-bfd stage2-bfd ; : ; \
46606 @endif bfd
46607 @if opcodes
46608 @if test -d $(HOST_SUBDIR)/opcodes ; then \
46609 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
46610 mv prev-opcodes stage2-opcodes ; : ; \
46612 @endif opcodes
46613 @if binutils
46614 @if test -d $(HOST_SUBDIR)/binutils ; then \
46615 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
46616 mv prev-binutils stage2-binutils ; : ; \
46618 @endif binutils
46619 @if fixincludes
46620 @if test -d $(HOST_SUBDIR)/fixincludes ; then \
46621 cd $(HOST_SUBDIR); mv fixincludes stage3-fixincludes ; \
46622 mv prev-fixincludes stage2-fixincludes ; : ; \
46624 @endif fixincludes
46625 @if gas
46626 @if test -d $(HOST_SUBDIR)/gas ; then \
46627 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
46628 mv prev-gas stage2-gas ; : ; \
46630 @endif gas
46631 @if gcc
46632 @if test -d $(HOST_SUBDIR)/gcc ; then \
46633 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
46634 mv prev-gcc stage2-gcc ; : ; \
46636 @endif gcc
46637 @if gmp
46638 @if test -d $(HOST_SUBDIR)/gmp ; then \
46639 cd $(HOST_SUBDIR); mv gmp stage3-gmp ; \
46640 mv prev-gmp stage2-gmp ; : ; \
46642 @endif gmp
46643 @if mpfr
46644 @if test -d $(HOST_SUBDIR)/mpfr ; then \
46645 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr ; \
46646 mv prev-mpfr stage2-mpfr ; : ; \
46648 @endif mpfr
46649 @if mpc
46650 @if test -d $(HOST_SUBDIR)/mpc ; then \
46651 cd $(HOST_SUBDIR); mv mpc stage3-mpc ; \
46652 mv prev-mpc stage2-mpc ; : ; \
46654 @endif mpc
46655 @if isl
46656 @if test -d $(HOST_SUBDIR)/isl ; then \
46657 cd $(HOST_SUBDIR); mv isl stage3-isl ; \
46658 mv prev-isl stage2-isl ; : ; \
46660 @endif isl
46661 @if cloog
46662 @if test -d $(HOST_SUBDIR)/cloog ; then \
46663 cd $(HOST_SUBDIR); mv cloog stage3-cloog ; \
46664 mv prev-cloog stage2-cloog ; : ; \
46666 @endif cloog
46667 @if libelf
46668 @if test -d $(HOST_SUBDIR)/libelf ; then \
46669 cd $(HOST_SUBDIR); mv libelf stage3-libelf ; \
46670 mv prev-libelf stage2-libelf ; : ; \
46672 @endif libelf
46673 @if gold
46674 @if test -d $(HOST_SUBDIR)/gold ; then \
46675 cd $(HOST_SUBDIR); mv gold stage3-gold ; \
46676 mv prev-gold stage2-gold ; : ; \
46678 @endif gold
46679 @if intl
46680 @if test -d $(HOST_SUBDIR)/intl ; then \
46681 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
46682 mv prev-intl stage2-intl ; : ; \
46684 @endif intl
46685 @if ld
46686 @if test -d $(HOST_SUBDIR)/ld ; then \
46687 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
46688 mv prev-ld stage2-ld ; : ; \
46690 @endif ld
46691 @if libbacktrace
46692 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
46693 cd $(HOST_SUBDIR); mv libbacktrace stage3-libbacktrace ; \
46694 mv prev-libbacktrace stage2-libbacktrace ; : ; \
46696 @endif libbacktrace
46697 @if libcpp
46698 @if test -d $(HOST_SUBDIR)/libcpp ; then \
46699 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
46700 mv prev-libcpp stage2-libcpp ; : ; \
46702 @endif libcpp
46703 @if libdecnumber
46704 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
46705 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
46706 mv prev-libdecnumber stage2-libdecnumber ; : ; \
46708 @endif libdecnumber
46709 @if libiberty
46710 @if test -d $(HOST_SUBDIR)/libiberty ; then \
46711 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
46712 mv prev-libiberty stage2-libiberty ; : ; \
46714 @endif libiberty
46715 @if libiberty-linker-plugin
46716 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin ; then \
46717 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage3-libiberty-linker-plugin ; \
46718 mv prev-libiberty-linker-plugin stage2-libiberty-linker-plugin ; : ; \
46720 @endif libiberty-linker-plugin
46721 @if zlib
46722 @if test -d $(HOST_SUBDIR)/zlib ; then \
46723 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
46724 mv prev-zlib stage2-zlib ; : ; \
46726 @endif zlib
46727 @if lto-plugin
46728 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
46729 cd $(HOST_SUBDIR); mv lto-plugin stage3-lto-plugin ; \
46730 mv prev-lto-plugin stage2-lto-plugin ; : ; \
46732 @endif lto-plugin
46733 @if test -d $(TARGET_SUBDIR) ; then \
46734 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
46735 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
46737 rm -f stage_current
46739 # Bubble a bug fix through all the stages up to stage 3. They are
46740 # remade, but not reconfigured. The next stage (if any) will not be
46741 # reconfigured either.
46742 .PHONY: stage3-bubble
46743 stage3-bubble:: stage2-bubble
46744 @r=`${PWD_COMMAND}`; export r; \
46745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46746 if test -f stage3-lean || test -f stage2-lean ; then \
46747 echo Skipping rebuild of stage3 ; \
46748 else \
46749 $(MAKE) stage3-start; \
46750 if $(LEAN); then \
46751 rm -rf stage1-* ; \
46752 $(STAMP) stage1-lean ; \
46753 fi; \
46754 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
46756 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
46758 .PHONY: all-stage3 clean-stage3
46759 do-clean: clean-stage3
46761 # FIXME: Will not need to be conditional when toplevel bootstrap is the
46762 # only possibility, but now it conflicts with no-bootstrap rules
46763 @if gcc-bootstrap
46765 compare:
46766 @r=`${PWD_COMMAND}`; export r; \
46767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46768 if test -f stage2-lean; then \
46769 echo Cannot compare object files as stage 2 was deleted. ; \
46770 exit 0 ; \
46771 fi; \
46772 : $(MAKE); $(stage); \
46773 rm -f .bad_compare ; \
46774 echo Comparing stages 2 and 3 ; \
46775 sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \
46776 files=`find stage3-* -name "*$(objext)" -print | \
46777 sed -n s,^stage$$sed-,,p` ; \
46778 for file in $${files} ; do \
46779 f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \
46780 if test ! -f $$f1; then continue; fi; \
46781 $(do-compare) > /dev/null 2>&1; \
46782 if test $$? -eq 1; then \
46783 case $$file in \
46784 @compare_exclusions@) \
46785 echo warning: $$file differs ;; \
46786 *) \
46787 echo $$file differs >> .bad_compare ;; \
46788 esac ; \
46789 fi ; \
46790 done ; \
46791 if [ -f .bad_compare ]; then \
46792 echo "Bootstrap comparison failure!"; \
46793 cat .bad_compare; \
46794 exit 1; \
46795 else \
46796 echo Comparison successful.; \
46797 fi ; \
46798 $(STAMP) compare
46799 if $(LEAN); then \
46800 rm -rf stage2-*; \
46801 $(STAMP) stage2-lean; \
46806 .PHONY: bootstrap bootstrap-lean
46807 bootstrap:
46808 echo stage3 > stage_final
46809 @r=`${PWD_COMMAND}`; export r; \
46810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46811 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
46812 @: $(MAKE); $(unstage)
46813 @r=`${PWD_COMMAND}`; export r; \
46814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46815 TFLAGS="$(STAGE3_TFLAGS)"; \
46816 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
46818 bootstrap-lean:
46819 echo stage3 > stage_final
46820 @r=`${PWD_COMMAND}`; export r; \
46821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46822 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
46823 @: $(MAKE); $(unstage)
46824 @r=`${PWD_COMMAND}`; export r; \
46825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46826 TFLAGS="$(STAGE3_TFLAGS)"; \
46827 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
46830 # Rules to wipe a stage and all the following ones, also used for cleanstrap
46831 distclean-stage2:: distclean-stage3
46832 .PHONY: distclean-stage3
46833 distclean-stage3::
46834 @: $(MAKE); $(stage)
46835 @test "`cat stage_last`" != stage3 || rm -f stage_last
46836 rm -rf stage3-* compare
46839 .PHONY: cleanstrap
46840 cleanstrap: do-distclean local-clean
46841 echo stage3 > stage_final
46842 @r=`${PWD_COMMAND}`; export r; \
46843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46844 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
46845 @: $(MAKE); $(unstage)
46846 @r=`${PWD_COMMAND}`; export r; \
46847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46848 TFLAGS="$(STAGE3_TFLAGS)"; \
46849 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
46851 @endif gcc-bootstrap
46854 .PHONY: stage4-start stage4-end
46856 stage4-start::
46857 @: $(MAKE); $(stage); \
46858 echo stage4 > stage_current ; \
46859 echo stage4 > stage_last; \
46860 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
46861 @if bfd
46862 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
46863 mkdir stage4-bfd; \
46864 mv stage4-bfd bfd ; \
46865 mv stage3-bfd prev-bfd || test -f stage3-lean
46866 @endif bfd
46867 @if opcodes
46868 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
46869 mkdir stage4-opcodes; \
46870 mv stage4-opcodes opcodes ; \
46871 mv stage3-opcodes prev-opcodes || test -f stage3-lean
46872 @endif opcodes
46873 @if binutils
46874 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
46875 mkdir stage4-binutils; \
46876 mv stage4-binutils binutils ; \
46877 mv stage3-binutils prev-binutils || test -f stage3-lean
46878 @endif binutils
46879 @if fixincludes
46880 @cd $(HOST_SUBDIR); [ -d stage4-fixincludes ] || \
46881 mkdir stage4-fixincludes; \
46882 mv stage4-fixincludes fixincludes ; \
46883 mv stage3-fixincludes prev-fixincludes || test -f stage3-lean
46884 @endif fixincludes
46885 @if gas
46886 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
46887 mkdir stage4-gas; \
46888 mv stage4-gas gas ; \
46889 mv stage3-gas prev-gas || test -f stage3-lean
46890 @endif gas
46891 @if gcc
46892 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
46893 mkdir stage4-gcc; \
46894 mv stage4-gcc gcc ; \
46895 mv stage3-gcc prev-gcc || test -f stage3-lean
46896 @endif gcc
46897 @if gmp
46898 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
46899 mkdir stage4-gmp; \
46900 mv stage4-gmp gmp ; \
46901 mv stage3-gmp prev-gmp || test -f stage3-lean
46902 @endif gmp
46903 @if mpfr
46904 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
46905 mkdir stage4-mpfr; \
46906 mv stage4-mpfr mpfr ; \
46907 mv stage3-mpfr prev-mpfr || test -f stage3-lean
46908 @endif mpfr
46909 @if mpc
46910 @cd $(HOST_SUBDIR); [ -d stage4-mpc ] || \
46911 mkdir stage4-mpc; \
46912 mv stage4-mpc mpc ; \
46913 mv stage3-mpc prev-mpc || test -f stage3-lean
46914 @endif mpc
46915 @if isl
46916 @cd $(HOST_SUBDIR); [ -d stage4-isl ] || \
46917 mkdir stage4-isl; \
46918 mv stage4-isl isl ; \
46919 mv stage3-isl prev-isl || test -f stage3-lean
46920 @endif isl
46921 @if cloog
46922 @cd $(HOST_SUBDIR); [ -d stage4-cloog ] || \
46923 mkdir stage4-cloog; \
46924 mv stage4-cloog cloog ; \
46925 mv stage3-cloog prev-cloog || test -f stage3-lean
46926 @endif cloog
46927 @if libelf
46928 @cd $(HOST_SUBDIR); [ -d stage4-libelf ] || \
46929 mkdir stage4-libelf; \
46930 mv stage4-libelf libelf ; \
46931 mv stage3-libelf prev-libelf || test -f stage3-lean
46932 @endif libelf
46933 @if gold
46934 @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \
46935 mkdir stage4-gold; \
46936 mv stage4-gold gold ; \
46937 mv stage3-gold prev-gold || test -f stage3-lean
46938 @endif gold
46939 @if intl
46940 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
46941 mkdir stage4-intl; \
46942 mv stage4-intl intl ; \
46943 mv stage3-intl prev-intl || test -f stage3-lean
46944 @endif intl
46945 @if ld
46946 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
46947 mkdir stage4-ld; \
46948 mv stage4-ld ld ; \
46949 mv stage3-ld prev-ld || test -f stage3-lean
46950 @endif ld
46951 @if libbacktrace
46952 @cd $(HOST_SUBDIR); [ -d stage4-libbacktrace ] || \
46953 mkdir stage4-libbacktrace; \
46954 mv stage4-libbacktrace libbacktrace ; \
46955 mv stage3-libbacktrace prev-libbacktrace || test -f stage3-lean
46956 @endif libbacktrace
46957 @if libcpp
46958 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
46959 mkdir stage4-libcpp; \
46960 mv stage4-libcpp libcpp ; \
46961 mv stage3-libcpp prev-libcpp || test -f stage3-lean
46962 @endif libcpp
46963 @if libdecnumber
46964 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
46965 mkdir stage4-libdecnumber; \
46966 mv stage4-libdecnumber libdecnumber ; \
46967 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
46968 @endif libdecnumber
46969 @if libiberty
46970 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
46971 mkdir stage4-libiberty; \
46972 mv stage4-libiberty libiberty ; \
46973 mv stage3-libiberty prev-libiberty || test -f stage3-lean
46974 @endif libiberty
46975 @if libiberty-linker-plugin
46976 @cd $(HOST_SUBDIR); [ -d stage4-libiberty-linker-plugin ] || \
46977 mkdir stage4-libiberty-linker-plugin; \
46978 mv stage4-libiberty-linker-plugin libiberty-linker-plugin ; \
46979 mv stage3-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage3-lean
46980 @endif libiberty-linker-plugin
46981 @if zlib
46982 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
46983 mkdir stage4-zlib; \
46984 mv stage4-zlib zlib ; \
46985 mv stage3-zlib prev-zlib || test -f stage3-lean
46986 @endif zlib
46987 @if lto-plugin
46988 @cd $(HOST_SUBDIR); [ -d stage4-lto-plugin ] || \
46989 mkdir stage4-lto-plugin; \
46990 mv stage4-lto-plugin lto-plugin ; \
46991 mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean
46992 @endif lto-plugin
46993 @[ -d stage4-$(TARGET_SUBDIR) ] || \
46994 mkdir stage4-$(TARGET_SUBDIR); \
46995 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
46996 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
46998 stage4-end::
46999 @if bfd
47000 @if test -d $(HOST_SUBDIR)/bfd ; then \
47001 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
47002 mv prev-bfd stage3-bfd ; : ; \
47004 @endif bfd
47005 @if opcodes
47006 @if test -d $(HOST_SUBDIR)/opcodes ; then \
47007 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
47008 mv prev-opcodes stage3-opcodes ; : ; \
47010 @endif opcodes
47011 @if binutils
47012 @if test -d $(HOST_SUBDIR)/binutils ; then \
47013 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
47014 mv prev-binutils stage3-binutils ; : ; \
47016 @endif binutils
47017 @if fixincludes
47018 @if test -d $(HOST_SUBDIR)/fixincludes ; then \
47019 cd $(HOST_SUBDIR); mv fixincludes stage4-fixincludes ; \
47020 mv prev-fixincludes stage3-fixincludes ; : ; \
47022 @endif fixincludes
47023 @if gas
47024 @if test -d $(HOST_SUBDIR)/gas ; then \
47025 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
47026 mv prev-gas stage3-gas ; : ; \
47028 @endif gas
47029 @if gcc
47030 @if test -d $(HOST_SUBDIR)/gcc ; then \
47031 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
47032 mv prev-gcc stage3-gcc ; : ; \
47034 @endif gcc
47035 @if gmp
47036 @if test -d $(HOST_SUBDIR)/gmp ; then \
47037 cd $(HOST_SUBDIR); mv gmp stage4-gmp ; \
47038 mv prev-gmp stage3-gmp ; : ; \
47040 @endif gmp
47041 @if mpfr
47042 @if test -d $(HOST_SUBDIR)/mpfr ; then \
47043 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr ; \
47044 mv prev-mpfr stage3-mpfr ; : ; \
47046 @endif mpfr
47047 @if mpc
47048 @if test -d $(HOST_SUBDIR)/mpc ; then \
47049 cd $(HOST_SUBDIR); mv mpc stage4-mpc ; \
47050 mv prev-mpc stage3-mpc ; : ; \
47052 @endif mpc
47053 @if isl
47054 @if test -d $(HOST_SUBDIR)/isl ; then \
47055 cd $(HOST_SUBDIR); mv isl stage4-isl ; \
47056 mv prev-isl stage3-isl ; : ; \
47058 @endif isl
47059 @if cloog
47060 @if test -d $(HOST_SUBDIR)/cloog ; then \
47061 cd $(HOST_SUBDIR); mv cloog stage4-cloog ; \
47062 mv prev-cloog stage3-cloog ; : ; \
47064 @endif cloog
47065 @if libelf
47066 @if test -d $(HOST_SUBDIR)/libelf ; then \
47067 cd $(HOST_SUBDIR); mv libelf stage4-libelf ; \
47068 mv prev-libelf stage3-libelf ; : ; \
47070 @endif libelf
47071 @if gold
47072 @if test -d $(HOST_SUBDIR)/gold ; then \
47073 cd $(HOST_SUBDIR); mv gold stage4-gold ; \
47074 mv prev-gold stage3-gold ; : ; \
47076 @endif gold
47077 @if intl
47078 @if test -d $(HOST_SUBDIR)/intl ; then \
47079 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
47080 mv prev-intl stage3-intl ; : ; \
47082 @endif intl
47083 @if ld
47084 @if test -d $(HOST_SUBDIR)/ld ; then \
47085 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
47086 mv prev-ld stage3-ld ; : ; \
47088 @endif ld
47089 @if libbacktrace
47090 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
47091 cd $(HOST_SUBDIR); mv libbacktrace stage4-libbacktrace ; \
47092 mv prev-libbacktrace stage3-libbacktrace ; : ; \
47094 @endif libbacktrace
47095 @if libcpp
47096 @if test -d $(HOST_SUBDIR)/libcpp ; then \
47097 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
47098 mv prev-libcpp stage3-libcpp ; : ; \
47100 @endif libcpp
47101 @if libdecnumber
47102 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
47103 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
47104 mv prev-libdecnumber stage3-libdecnumber ; : ; \
47106 @endif libdecnumber
47107 @if libiberty
47108 @if test -d $(HOST_SUBDIR)/libiberty ; then \
47109 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
47110 mv prev-libiberty stage3-libiberty ; : ; \
47112 @endif libiberty
47113 @if libiberty-linker-plugin
47114 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin ; then \
47115 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage4-libiberty-linker-plugin ; \
47116 mv prev-libiberty-linker-plugin stage3-libiberty-linker-plugin ; : ; \
47118 @endif libiberty-linker-plugin
47119 @if zlib
47120 @if test -d $(HOST_SUBDIR)/zlib ; then \
47121 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
47122 mv prev-zlib stage3-zlib ; : ; \
47124 @endif zlib
47125 @if lto-plugin
47126 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
47127 cd $(HOST_SUBDIR); mv lto-plugin stage4-lto-plugin ; \
47128 mv prev-lto-plugin stage3-lto-plugin ; : ; \
47130 @endif lto-plugin
47131 @if test -d $(TARGET_SUBDIR) ; then \
47132 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
47133 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
47135 rm -f stage_current
47137 # Bubble a bug fix through all the stages up to stage 4. They are
47138 # remade, but not reconfigured. The next stage (if any) will not be
47139 # reconfigured either.
47140 .PHONY: stage4-bubble
47141 stage4-bubble:: stage3-bubble
47142 @r=`${PWD_COMMAND}`; export r; \
47143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47144 if test -f stage4-lean || test -f stage3-lean ; then \
47145 echo Skipping rebuild of stage4 ; \
47146 else \
47147 $(MAKE) stage4-start; \
47148 if $(LEAN); then \
47149 rm -rf stage2-* ; \
47150 $(STAMP) stage2-lean ; \
47151 fi; \
47152 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
47154 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
47156 .PHONY: all-stage4 clean-stage4
47157 do-clean: clean-stage4
47159 # FIXME: Will not need to be conditional when toplevel bootstrap is the
47160 # only possibility, but now it conflicts with no-bootstrap rules
47161 @if gcc-bootstrap
47163 compare3:
47164 @r=`${PWD_COMMAND}`; export r; \
47165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47166 if test -f stage3-lean; then \
47167 echo Cannot compare object files as stage 3 was deleted. ; \
47168 exit 0 ; \
47169 fi; \
47170 : $(MAKE); $(stage); \
47171 rm -f .bad_compare ; \
47172 echo Comparing stages 3 and 4 ; \
47173 sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \
47174 files=`find stage4-* -name "*$(objext)" -print | \
47175 sed -n s,^stage$$sed-,,p` ; \
47176 for file in $${files} ; do \
47177 f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \
47178 if test ! -f $$f1; then continue; fi; \
47179 $(do-compare3) > /dev/null 2>&1; \
47180 if test $$? -eq 1; then \
47181 case $$file in \
47182 @compare_exclusions@) \
47183 echo warning: $$file differs ;; \
47184 *) \
47185 echo $$file differs >> .bad_compare ;; \
47186 esac ; \
47187 fi ; \
47188 done ; \
47189 if [ -f .bad_compare ]; then \
47190 echo "Bootstrap comparison failure!"; \
47191 cat .bad_compare; \
47192 exit 1; \
47193 else \
47194 echo Comparison successful.; \
47195 fi ; \
47196 $(STAMP) compare3
47197 if $(LEAN); then \
47198 rm -rf stage3-*; \
47199 $(STAMP) stage3-lean; \
47204 .PHONY: bootstrap4 bootstrap4-lean
47205 bootstrap4:
47206 echo stage4 > stage_final
47207 @r=`${PWD_COMMAND}`; export r; \
47208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47209 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
47210 @: $(MAKE); $(unstage)
47211 @r=`${PWD_COMMAND}`; export r; \
47212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47213 TFLAGS="$(STAGE4_TFLAGS)"; \
47214 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
47216 bootstrap4-lean:
47217 echo stage4 > stage_final
47218 @r=`${PWD_COMMAND}`; export r; \
47219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47220 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
47221 @: $(MAKE); $(unstage)
47222 @r=`${PWD_COMMAND}`; export r; \
47223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47224 TFLAGS="$(STAGE4_TFLAGS)"; \
47225 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
47228 # Rules to wipe a stage and all the following ones, also used for cleanstrap
47229 distclean-stage3:: distclean-stage4
47230 .PHONY: distclean-stage4
47231 distclean-stage4::
47232 @: $(MAKE); $(stage)
47233 @test "`cat stage_last`" != stage4 || rm -f stage_last
47234 rm -rf stage4-* compare3
47237 @endif gcc-bootstrap
47240 .PHONY: stageprofile-start stageprofile-end
47242 stageprofile-start::
47243 @: $(MAKE); $(stage); \
47244 echo stageprofile > stage_current ; \
47245 echo stageprofile > stage_last; \
47246 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
47247 @if bfd
47248 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
47249 mkdir stageprofile-bfd; \
47250 mv stageprofile-bfd bfd ; \
47251 mv stage1-bfd prev-bfd || test -f stage1-lean
47252 @endif bfd
47253 @if opcodes
47254 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
47255 mkdir stageprofile-opcodes; \
47256 mv stageprofile-opcodes opcodes ; \
47257 mv stage1-opcodes prev-opcodes || test -f stage1-lean
47258 @endif opcodes
47259 @if binutils
47260 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
47261 mkdir stageprofile-binutils; \
47262 mv stageprofile-binutils binutils ; \
47263 mv stage1-binutils prev-binutils || test -f stage1-lean
47264 @endif binutils
47265 @if fixincludes
47266 @cd $(HOST_SUBDIR); [ -d stageprofile-fixincludes ] || \
47267 mkdir stageprofile-fixincludes; \
47268 mv stageprofile-fixincludes fixincludes ; \
47269 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
47270 @endif fixincludes
47271 @if gas
47272 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
47273 mkdir stageprofile-gas; \
47274 mv stageprofile-gas gas ; \
47275 mv stage1-gas prev-gas || test -f stage1-lean
47276 @endif gas
47277 @if gcc
47278 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
47279 mkdir stageprofile-gcc; \
47280 mv stageprofile-gcc gcc ; \
47281 mv stage1-gcc prev-gcc || test -f stage1-lean
47282 @endif gcc
47283 @if gmp
47284 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
47285 mkdir stageprofile-gmp; \
47286 mv stageprofile-gmp gmp ; \
47287 mv stage1-gmp prev-gmp || test -f stage1-lean
47288 @endif gmp
47289 @if mpfr
47290 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
47291 mkdir stageprofile-mpfr; \
47292 mv stageprofile-mpfr mpfr ; \
47293 mv stage1-mpfr prev-mpfr || test -f stage1-lean
47294 @endif mpfr
47295 @if mpc
47296 @cd $(HOST_SUBDIR); [ -d stageprofile-mpc ] || \
47297 mkdir stageprofile-mpc; \
47298 mv stageprofile-mpc mpc ; \
47299 mv stage1-mpc prev-mpc || test -f stage1-lean
47300 @endif mpc
47301 @if isl
47302 @cd $(HOST_SUBDIR); [ -d stageprofile-isl ] || \
47303 mkdir stageprofile-isl; \
47304 mv stageprofile-isl isl ; \
47305 mv stage1-isl prev-isl || test -f stage1-lean
47306 @endif isl
47307 @if cloog
47308 @cd $(HOST_SUBDIR); [ -d stageprofile-cloog ] || \
47309 mkdir stageprofile-cloog; \
47310 mv stageprofile-cloog cloog ; \
47311 mv stage1-cloog prev-cloog || test -f stage1-lean
47312 @endif cloog
47313 @if libelf
47314 @cd $(HOST_SUBDIR); [ -d stageprofile-libelf ] || \
47315 mkdir stageprofile-libelf; \
47316 mv stageprofile-libelf libelf ; \
47317 mv stage1-libelf prev-libelf || test -f stage1-lean
47318 @endif libelf
47319 @if gold
47320 @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \
47321 mkdir stageprofile-gold; \
47322 mv stageprofile-gold gold ; \
47323 mv stage1-gold prev-gold || test -f stage1-lean
47324 @endif gold
47325 @if intl
47326 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
47327 mkdir stageprofile-intl; \
47328 mv stageprofile-intl intl ; \
47329 mv stage1-intl prev-intl || test -f stage1-lean
47330 @endif intl
47331 @if ld
47332 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
47333 mkdir stageprofile-ld; \
47334 mv stageprofile-ld ld ; \
47335 mv stage1-ld prev-ld || test -f stage1-lean
47336 @endif ld
47337 @if libbacktrace
47338 @cd $(HOST_SUBDIR); [ -d stageprofile-libbacktrace ] || \
47339 mkdir stageprofile-libbacktrace; \
47340 mv stageprofile-libbacktrace libbacktrace ; \
47341 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
47342 @endif libbacktrace
47343 @if libcpp
47344 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
47345 mkdir stageprofile-libcpp; \
47346 mv stageprofile-libcpp libcpp ; \
47347 mv stage1-libcpp prev-libcpp || test -f stage1-lean
47348 @endif libcpp
47349 @if libdecnumber
47350 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
47351 mkdir stageprofile-libdecnumber; \
47352 mv stageprofile-libdecnumber libdecnumber ; \
47353 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
47354 @endif libdecnumber
47355 @if libiberty
47356 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
47357 mkdir stageprofile-libiberty; \
47358 mv stageprofile-libiberty libiberty ; \
47359 mv stage1-libiberty prev-libiberty || test -f stage1-lean
47360 @endif libiberty
47361 @if libiberty-linker-plugin
47362 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty-linker-plugin ] || \
47363 mkdir stageprofile-libiberty-linker-plugin; \
47364 mv stageprofile-libiberty-linker-plugin libiberty-linker-plugin ; \
47365 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
47366 @endif libiberty-linker-plugin
47367 @if zlib
47368 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
47369 mkdir stageprofile-zlib; \
47370 mv stageprofile-zlib zlib ; \
47371 mv stage1-zlib prev-zlib || test -f stage1-lean
47372 @endif zlib
47373 @if lto-plugin
47374 @cd $(HOST_SUBDIR); [ -d stageprofile-lto-plugin ] || \
47375 mkdir stageprofile-lto-plugin; \
47376 mv stageprofile-lto-plugin lto-plugin ; \
47377 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
47378 @endif lto-plugin
47379 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
47380 mkdir stageprofile-$(TARGET_SUBDIR); \
47381 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
47382 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
47384 stageprofile-end::
47385 @if bfd
47386 @if test -d $(HOST_SUBDIR)/bfd ; then \
47387 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
47388 mv prev-bfd stage1-bfd ; : ; \
47390 @endif bfd
47391 @if opcodes
47392 @if test -d $(HOST_SUBDIR)/opcodes ; then \
47393 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
47394 mv prev-opcodes stage1-opcodes ; : ; \
47396 @endif opcodes
47397 @if binutils
47398 @if test -d $(HOST_SUBDIR)/binutils ; then \
47399 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
47400 mv prev-binutils stage1-binutils ; : ; \
47402 @endif binutils
47403 @if fixincludes
47404 @if test -d $(HOST_SUBDIR)/fixincludes ; then \
47405 cd $(HOST_SUBDIR); mv fixincludes stageprofile-fixincludes ; \
47406 mv prev-fixincludes stage1-fixincludes ; : ; \
47408 @endif fixincludes
47409 @if gas
47410 @if test -d $(HOST_SUBDIR)/gas ; then \
47411 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
47412 mv prev-gas stage1-gas ; : ; \
47414 @endif gas
47415 @if gcc
47416 @if test -d $(HOST_SUBDIR)/gcc ; then \
47417 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
47418 mv prev-gcc stage1-gcc ; : ; \
47420 @endif gcc
47421 @if gmp
47422 @if test -d $(HOST_SUBDIR)/gmp ; then \
47423 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp ; \
47424 mv prev-gmp stage1-gmp ; : ; \
47426 @endif gmp
47427 @if mpfr
47428 @if test -d $(HOST_SUBDIR)/mpfr ; then \
47429 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr ; \
47430 mv prev-mpfr stage1-mpfr ; : ; \
47432 @endif mpfr
47433 @if mpc
47434 @if test -d $(HOST_SUBDIR)/mpc ; then \
47435 cd $(HOST_SUBDIR); mv mpc stageprofile-mpc ; \
47436 mv prev-mpc stage1-mpc ; : ; \
47438 @endif mpc
47439 @if isl
47440 @if test -d $(HOST_SUBDIR)/isl ; then \
47441 cd $(HOST_SUBDIR); mv isl stageprofile-isl ; \
47442 mv prev-isl stage1-isl ; : ; \
47444 @endif isl
47445 @if cloog
47446 @if test -d $(HOST_SUBDIR)/cloog ; then \
47447 cd $(HOST_SUBDIR); mv cloog stageprofile-cloog ; \
47448 mv prev-cloog stage1-cloog ; : ; \
47450 @endif cloog
47451 @if libelf
47452 @if test -d $(HOST_SUBDIR)/libelf ; then \
47453 cd $(HOST_SUBDIR); mv libelf stageprofile-libelf ; \
47454 mv prev-libelf stage1-libelf ; : ; \
47456 @endif libelf
47457 @if gold
47458 @if test -d $(HOST_SUBDIR)/gold ; then \
47459 cd $(HOST_SUBDIR); mv gold stageprofile-gold ; \
47460 mv prev-gold stage1-gold ; : ; \
47462 @endif gold
47463 @if intl
47464 @if test -d $(HOST_SUBDIR)/intl ; then \
47465 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
47466 mv prev-intl stage1-intl ; : ; \
47468 @endif intl
47469 @if ld
47470 @if test -d $(HOST_SUBDIR)/ld ; then \
47471 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
47472 mv prev-ld stage1-ld ; : ; \
47474 @endif ld
47475 @if libbacktrace
47476 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
47477 cd $(HOST_SUBDIR); mv libbacktrace stageprofile-libbacktrace ; \
47478 mv prev-libbacktrace stage1-libbacktrace ; : ; \
47480 @endif libbacktrace
47481 @if libcpp
47482 @if test -d $(HOST_SUBDIR)/libcpp ; then \
47483 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
47484 mv prev-libcpp stage1-libcpp ; : ; \
47486 @endif libcpp
47487 @if libdecnumber
47488 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
47489 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
47490 mv prev-libdecnumber stage1-libdecnumber ; : ; \
47492 @endif libdecnumber
47493 @if libiberty
47494 @if test -d $(HOST_SUBDIR)/libiberty ; then \
47495 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
47496 mv prev-libiberty stage1-libiberty ; : ; \
47498 @endif libiberty
47499 @if libiberty-linker-plugin
47500 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin ; then \
47501 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageprofile-libiberty-linker-plugin ; \
47502 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin ; : ; \
47504 @endif libiberty-linker-plugin
47505 @if zlib
47506 @if test -d $(HOST_SUBDIR)/zlib ; then \
47507 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
47508 mv prev-zlib stage1-zlib ; : ; \
47510 @endif zlib
47511 @if lto-plugin
47512 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
47513 cd $(HOST_SUBDIR); mv lto-plugin stageprofile-lto-plugin ; \
47514 mv prev-lto-plugin stage1-lto-plugin ; : ; \
47516 @endif lto-plugin
47517 @if test -d $(TARGET_SUBDIR) ; then \
47518 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
47519 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
47521 rm -f stage_current
47523 # Bubble a bug fix through all the stages up to stage profile. They are
47524 # remade, but not reconfigured. The next stage (if any) will not be
47525 # reconfigured either.
47526 .PHONY: stageprofile-bubble
47527 stageprofile-bubble:: stage1-bubble
47528 @r=`${PWD_COMMAND}`; export r; \
47529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47530 if test -f stageprofile-lean || test -f stage1-lean ; then \
47531 echo Skipping rebuild of stageprofile ; \
47532 else \
47533 $(MAKE) stageprofile-start; \
47534 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
47537 .PHONY: all-stageprofile clean-stageprofile
47538 do-clean: clean-stageprofile
47540 # FIXME: Will not need to be conditional when toplevel bootstrap is the
47541 # only possibility, but now it conflicts with no-bootstrap rules
47542 @if gcc-bootstrap
47547 # Rules to wipe a stage and all the following ones, also used for cleanstrap
47548 distclean-stage1:: distclean-stageprofile
47549 .PHONY: distclean-stageprofile
47550 distclean-stageprofile::
47551 @: $(MAKE); $(stage)
47552 @test "`cat stage_last`" != stageprofile || rm -f stage_last
47553 rm -rf stageprofile-*
47556 @endif gcc-bootstrap
47559 .PHONY: stagefeedback-start stagefeedback-end
47561 stagefeedback-start::
47562 @: $(MAKE); $(stage); \
47563 echo stagefeedback > stage_current ; \
47564 echo stagefeedback > stage_last; \
47565 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
47566 @if bfd
47567 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
47568 mkdir stagefeedback-bfd; \
47569 mv stagefeedback-bfd bfd ; \
47570 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
47571 @endif bfd
47572 @if opcodes
47573 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
47574 mkdir stagefeedback-opcodes; \
47575 mv stagefeedback-opcodes opcodes ; \
47576 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
47577 @endif opcodes
47578 @if binutils
47579 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
47580 mkdir stagefeedback-binutils; \
47581 mv stagefeedback-binutils binutils ; \
47582 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
47583 @endif binutils
47584 @if fixincludes
47585 @cd $(HOST_SUBDIR); [ -d stagefeedback-fixincludes ] || \
47586 mkdir stagefeedback-fixincludes; \
47587 mv stagefeedback-fixincludes fixincludes ; \
47588 mv stageprofile-fixincludes prev-fixincludes || test -f stageprofile-lean
47589 @endif fixincludes
47590 @if gas
47591 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
47592 mkdir stagefeedback-gas; \
47593 mv stagefeedback-gas gas ; \
47594 mv stageprofile-gas prev-gas || test -f stageprofile-lean
47595 @endif gas
47596 @if gcc
47597 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
47598 mkdir stagefeedback-gcc; \
47599 mv stagefeedback-gcc gcc ; \
47600 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
47601 @endif gcc
47602 @if gmp
47603 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
47604 mkdir stagefeedback-gmp; \
47605 mv stagefeedback-gmp gmp ; \
47606 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
47607 @endif gmp
47608 @if mpfr
47609 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
47610 mkdir stagefeedback-mpfr; \
47611 mv stagefeedback-mpfr mpfr ; \
47612 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
47613 @endif mpfr
47614 @if mpc
47615 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpc ] || \
47616 mkdir stagefeedback-mpc; \
47617 mv stagefeedback-mpc mpc ; \
47618 mv stageprofile-mpc prev-mpc || test -f stageprofile-lean
47619 @endif mpc
47620 @if isl
47621 @cd $(HOST_SUBDIR); [ -d stagefeedback-isl ] || \
47622 mkdir stagefeedback-isl; \
47623 mv stagefeedback-isl isl ; \
47624 mv stageprofile-isl prev-isl || test -f stageprofile-lean
47625 @endif isl
47626 @if cloog
47627 @cd $(HOST_SUBDIR); [ -d stagefeedback-cloog ] || \
47628 mkdir stagefeedback-cloog; \
47629 mv stagefeedback-cloog cloog ; \
47630 mv stageprofile-cloog prev-cloog || test -f stageprofile-lean
47631 @endif cloog
47632 @if libelf
47633 @cd $(HOST_SUBDIR); [ -d stagefeedback-libelf ] || \
47634 mkdir stagefeedback-libelf; \
47635 mv stagefeedback-libelf libelf ; \
47636 mv stageprofile-libelf prev-libelf || test -f stageprofile-lean
47637 @endif libelf
47638 @if gold
47639 @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \
47640 mkdir stagefeedback-gold; \
47641 mv stagefeedback-gold gold ; \
47642 mv stageprofile-gold prev-gold || test -f stageprofile-lean
47643 @endif gold
47644 @if intl
47645 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
47646 mkdir stagefeedback-intl; \
47647 mv stagefeedback-intl intl ; \
47648 mv stageprofile-intl prev-intl || test -f stageprofile-lean
47649 @endif intl
47650 @if ld
47651 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
47652 mkdir stagefeedback-ld; \
47653 mv stagefeedback-ld ld ; \
47654 mv stageprofile-ld prev-ld || test -f stageprofile-lean
47655 @endif ld
47656 @if libbacktrace
47657 @cd $(HOST_SUBDIR); [ -d stagefeedback-libbacktrace ] || \
47658 mkdir stagefeedback-libbacktrace; \
47659 mv stagefeedback-libbacktrace libbacktrace ; \
47660 mv stageprofile-libbacktrace prev-libbacktrace || test -f stageprofile-lean
47661 @endif libbacktrace
47662 @if libcpp
47663 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
47664 mkdir stagefeedback-libcpp; \
47665 mv stagefeedback-libcpp libcpp ; \
47666 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
47667 @endif libcpp
47668 @if libdecnumber
47669 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
47670 mkdir stagefeedback-libdecnumber; \
47671 mv stagefeedback-libdecnumber libdecnumber ; \
47672 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
47673 @endif libdecnumber
47674 @if libiberty
47675 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
47676 mkdir stagefeedback-libiberty; \
47677 mv stagefeedback-libiberty libiberty ; \
47678 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
47679 @endif libiberty
47680 @if libiberty-linker-plugin
47681 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty-linker-plugin ] || \
47682 mkdir stagefeedback-libiberty-linker-plugin; \
47683 mv stagefeedback-libiberty-linker-plugin libiberty-linker-plugin ; \
47684 mv stageprofile-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stageprofile-lean
47685 @endif libiberty-linker-plugin
47686 @if zlib
47687 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
47688 mkdir stagefeedback-zlib; \
47689 mv stagefeedback-zlib zlib ; \
47690 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
47691 @endif zlib
47692 @if lto-plugin
47693 @cd $(HOST_SUBDIR); [ -d stagefeedback-lto-plugin ] || \
47694 mkdir stagefeedback-lto-plugin; \
47695 mv stagefeedback-lto-plugin lto-plugin ; \
47696 mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean
47697 @endif lto-plugin
47698 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
47699 mkdir stagefeedback-$(TARGET_SUBDIR); \
47700 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
47701 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
47703 stagefeedback-end::
47704 @if bfd
47705 @if test -d $(HOST_SUBDIR)/bfd ; then \
47706 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
47707 mv prev-bfd stageprofile-bfd ; : ; \
47709 @endif bfd
47710 @if opcodes
47711 @if test -d $(HOST_SUBDIR)/opcodes ; then \
47712 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
47713 mv prev-opcodes stageprofile-opcodes ; : ; \
47715 @endif opcodes
47716 @if binutils
47717 @if test -d $(HOST_SUBDIR)/binutils ; then \
47718 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
47719 mv prev-binutils stageprofile-binutils ; : ; \
47721 @endif binutils
47722 @if fixincludes
47723 @if test -d $(HOST_SUBDIR)/fixincludes ; then \
47724 cd $(HOST_SUBDIR); mv fixincludes stagefeedback-fixincludes ; \
47725 mv prev-fixincludes stageprofile-fixincludes ; : ; \
47727 @endif fixincludes
47728 @if gas
47729 @if test -d $(HOST_SUBDIR)/gas ; then \
47730 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
47731 mv prev-gas stageprofile-gas ; : ; \
47733 @endif gas
47734 @if gcc
47735 @if test -d $(HOST_SUBDIR)/gcc ; then \
47736 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
47737 mv prev-gcc stageprofile-gcc ; : ; \
47739 @endif gcc
47740 @if gmp
47741 @if test -d $(HOST_SUBDIR)/gmp ; then \
47742 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp ; \
47743 mv prev-gmp stageprofile-gmp ; : ; \
47745 @endif gmp
47746 @if mpfr
47747 @if test -d $(HOST_SUBDIR)/mpfr ; then \
47748 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr ; \
47749 mv prev-mpfr stageprofile-mpfr ; : ; \
47751 @endif mpfr
47752 @if mpc
47753 @if test -d $(HOST_SUBDIR)/mpc ; then \
47754 cd $(HOST_SUBDIR); mv mpc stagefeedback-mpc ; \
47755 mv prev-mpc stageprofile-mpc ; : ; \
47757 @endif mpc
47758 @if isl
47759 @if test -d $(HOST_SUBDIR)/isl ; then \
47760 cd $(HOST_SUBDIR); mv isl stagefeedback-isl ; \
47761 mv prev-isl stageprofile-isl ; : ; \
47763 @endif isl
47764 @if cloog
47765 @if test -d $(HOST_SUBDIR)/cloog ; then \
47766 cd $(HOST_SUBDIR); mv cloog stagefeedback-cloog ; \
47767 mv prev-cloog stageprofile-cloog ; : ; \
47769 @endif cloog
47770 @if libelf
47771 @if test -d $(HOST_SUBDIR)/libelf ; then \
47772 cd $(HOST_SUBDIR); mv libelf stagefeedback-libelf ; \
47773 mv prev-libelf stageprofile-libelf ; : ; \
47775 @endif libelf
47776 @if gold
47777 @if test -d $(HOST_SUBDIR)/gold ; then \
47778 cd $(HOST_SUBDIR); mv gold stagefeedback-gold ; \
47779 mv prev-gold stageprofile-gold ; : ; \
47781 @endif gold
47782 @if intl
47783 @if test -d $(HOST_SUBDIR)/intl ; then \
47784 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
47785 mv prev-intl stageprofile-intl ; : ; \
47787 @endif intl
47788 @if ld
47789 @if test -d $(HOST_SUBDIR)/ld ; then \
47790 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
47791 mv prev-ld stageprofile-ld ; : ; \
47793 @endif ld
47794 @if libbacktrace
47795 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
47796 cd $(HOST_SUBDIR); mv libbacktrace stagefeedback-libbacktrace ; \
47797 mv prev-libbacktrace stageprofile-libbacktrace ; : ; \
47799 @endif libbacktrace
47800 @if libcpp
47801 @if test -d $(HOST_SUBDIR)/libcpp ; then \
47802 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
47803 mv prev-libcpp stageprofile-libcpp ; : ; \
47805 @endif libcpp
47806 @if libdecnumber
47807 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
47808 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
47809 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
47811 @endif libdecnumber
47812 @if libiberty
47813 @if test -d $(HOST_SUBDIR)/libiberty ; then \
47814 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
47815 mv prev-libiberty stageprofile-libiberty ; : ; \
47817 @endif libiberty
47818 @if libiberty-linker-plugin
47819 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin ; then \
47820 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stagefeedback-libiberty-linker-plugin ; \
47821 mv prev-libiberty-linker-plugin stageprofile-libiberty-linker-plugin ; : ; \
47823 @endif libiberty-linker-plugin
47824 @if zlib
47825 @if test -d $(HOST_SUBDIR)/zlib ; then \
47826 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
47827 mv prev-zlib stageprofile-zlib ; : ; \
47829 @endif zlib
47830 @if lto-plugin
47831 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
47832 cd $(HOST_SUBDIR); mv lto-plugin stagefeedback-lto-plugin ; \
47833 mv prev-lto-plugin stageprofile-lto-plugin ; : ; \
47835 @endif lto-plugin
47836 @if test -d $(TARGET_SUBDIR) ; then \
47837 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
47838 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
47840 rm -f stage_current
47842 # Bubble a bug fix through all the stages up to stage feedback. They are
47843 # remade, but not reconfigured. The next stage (if any) will not be
47844 # reconfigured either.
47845 .PHONY: stagefeedback-bubble
47846 stagefeedback-bubble:: stageprofile-bubble
47847 @r=`${PWD_COMMAND}`; export r; \
47848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47849 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
47850 echo Skipping rebuild of stagefeedback ; \
47851 else \
47852 $(MAKE) stagefeedback-start; \
47853 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
47856 .PHONY: all-stagefeedback clean-stagefeedback
47857 do-clean: clean-stagefeedback
47859 # FIXME: Will not need to be conditional when toplevel bootstrap is the
47860 # only possibility, but now it conflicts with no-bootstrap rules
47861 @if gcc-bootstrap
47865 .PHONY: profiledbootstrap profiledbootstrap-lean
47866 profiledbootstrap:
47867 echo stagefeedback > stage_final
47868 @r=`${PWD_COMMAND}`; export r; \
47869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47870 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
47871 @: $(MAKE); $(unstage)
47872 @r=`${PWD_COMMAND}`; export r; \
47873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47874 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
47875 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
47877 profiledbootstrap-lean:
47878 echo stagefeedback > stage_final
47879 @r=`${PWD_COMMAND}`; export r; \
47880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47881 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
47882 @: $(MAKE); $(unstage)
47883 @r=`${PWD_COMMAND}`; export r; \
47884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47885 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
47886 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
47889 # Rules to wipe a stage and all the following ones, also used for cleanstrap
47890 distclean-stageprofile:: distclean-stagefeedback
47891 .PHONY: distclean-stagefeedback
47892 distclean-stagefeedback::
47893 @: $(MAKE); $(stage)
47894 @test "`cat stage_last`" != stagefeedback || rm -f stage_last
47895 rm -rf stagefeedback-*
47898 @endif gcc-bootstrap
47902 stageprofile-end::
47903 $(MAKE) distclean-stagefeedback
47905 stagefeedback-start::
47906 @r=`${PWD_COMMAND}`; export r; \
47907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47908 for i in prev-*; do \
47909 j=`echo $$i | sed s/^prev-//` ; \
47910 cd $$r/$$i && \
47911 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
47912 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
47913 done
47915 @if gcc-bootstrap
47916 do-distclean: distclean-stage1
47918 # Provide a GCC build when we're building target libraries. This does
47919 # not work as a dependency, just as the minimum necessary to avoid errors.
47920 stage_last:
47921 @r=`${PWD_COMMAND}`; export r; \
47922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47923 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
47925 # Same as unstage, but not phony and defaulting to stage1-start. We place
47926 # it in the dependency so that for example `make -j3 all-gcc' works.
47927 stage_current:
47928 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
47930 .PHONY: restrap
47931 restrap::
47932 @: $(MAKE); $(stage)
47933 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagefeedback-*
47934 restrap:: all
47935 @endif gcc-bootstrap
47937 # --------------------------------------
47938 # Dependencies between different modules
47939 # --------------------------------------
47941 # Generic dependencies for target modules on host stuff, especially gcc
47942 @if gcc-bootstrap
47943 configure-stage1-target-libstdc++-v3: maybe-all-stage1-gcc
47944 configure-stage2-target-libstdc++-v3: maybe-all-stage2-gcc
47945 configure-stage3-target-libstdc++-v3: maybe-all-stage3-gcc
47946 configure-stage4-target-libstdc++-v3: maybe-all-stage4-gcc
47947 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-gcc
47948 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-gcc
47949 configure-stage1-target-libsanitizer: maybe-all-stage1-gcc
47950 configure-stage2-target-libsanitizer: maybe-all-stage2-gcc
47951 configure-stage3-target-libsanitizer: maybe-all-stage3-gcc
47952 configure-stage4-target-libsanitizer: maybe-all-stage4-gcc
47953 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-gcc
47954 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-gcc
47955 configure-stage1-target-libvtv: maybe-all-stage1-gcc
47956 configure-stage2-target-libvtv: maybe-all-stage2-gcc
47957 configure-stage3-target-libvtv: maybe-all-stage3-gcc
47958 configure-stage4-target-libvtv: maybe-all-stage4-gcc
47959 configure-stageprofile-target-libvtv: maybe-all-stageprofile-gcc
47960 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-gcc
47961 configure-target-libcilkrts: stage_last
47962 configure-target-libssp: stage_last
47963 configure-target-newlib: stage_last
47964 configure-stage1-target-libgcc: maybe-all-stage1-gcc
47965 configure-stage2-target-libgcc: maybe-all-stage2-gcc
47966 configure-stage3-target-libgcc: maybe-all-stage3-gcc
47967 configure-stage4-target-libgcc: maybe-all-stage4-gcc
47968 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
47969 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
47970 configure-target-libbacktrace: stage_last
47971 configure-target-libquadmath: stage_last
47972 configure-target-libgfortran: stage_last
47973 configure-target-libobjc: stage_last
47974 configure-target-libgo: stage_last
47975 configure-target-libtermcap: stage_last
47976 configure-target-winsup: stage_last
47977 configure-target-libgloss: stage_last
47978 configure-target-libffi: stage_last
47979 configure-target-libjava: stage_last
47980 configure-target-zlib: stage_last
47981 configure-target-boehm-gc: stage_last
47982 configure-target-rda: stage_last
47983 configure-target-libada: stage_last
47984 configure-stage1-target-libgomp: maybe-all-stage1-gcc
47985 configure-stage2-target-libgomp: maybe-all-stage2-gcc
47986 configure-stage3-target-libgomp: maybe-all-stage3-gcc
47987 configure-stage4-target-libgomp: maybe-all-stage4-gcc
47988 configure-stageprofile-target-libgomp: maybe-all-stageprofile-gcc
47989 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-gcc
47990 configure-target-libitm: stage_last
47991 configure-target-libatomic: stage_last
47992 @endif gcc-bootstrap
47994 @if gcc-no-bootstrap
47995 configure-target-libstdc++-v3: maybe-all-gcc
47996 configure-target-libsanitizer: maybe-all-gcc
47997 configure-target-libvtv: maybe-all-gcc
47998 configure-target-libcilkrts: maybe-all-gcc
47999 configure-target-libssp: maybe-all-gcc
48000 configure-target-newlib: maybe-all-gcc
48001 configure-target-libgcc: maybe-all-gcc
48002 configure-target-libbacktrace: maybe-all-gcc
48003 configure-target-libquadmath: maybe-all-gcc
48004 configure-target-libgfortran: maybe-all-gcc
48005 configure-target-libobjc: maybe-all-gcc
48006 configure-target-libgo: maybe-all-gcc
48007 configure-target-libtermcap: maybe-all-gcc
48008 configure-target-winsup: maybe-all-gcc
48009 configure-target-libgloss: maybe-all-gcc
48010 configure-target-libffi: maybe-all-gcc
48011 configure-target-libjava: maybe-all-gcc
48012 configure-target-zlib: maybe-all-gcc
48013 configure-target-boehm-gc: maybe-all-gcc
48014 configure-target-rda: maybe-all-gcc
48015 configure-target-libada: maybe-all-gcc
48016 configure-target-libgomp: maybe-all-gcc
48017 configure-target-libitm: maybe-all-gcc
48018 configure-target-libatomic: maybe-all-gcc
48019 @endif gcc-no-bootstrap
48022 # There are two types of dependencies here: 'hard' dependencies, where one
48023 # module simply won't build without the other; and 'soft' dependencies, where
48024 # if the depended-on module is missing, the depending module will do without
48025 # or find a substitute somewhere (perhaps installed). Soft dependencies
48026 # are made here to depend on a 'maybe-' target. If you're not sure,
48027 # it's safer to use a soft dependency.
48034 # With all the machinery above in place, it is pretty easy to generate
48035 # dependencies. Host dependencies are a bit more complex because we have
48036 # to check for bootstrap/prebootstrap dependencies. To resolve
48037 # prebootstrap dependencies, prebootstrap modules are gathered in
48038 # a hash table.
48039 all-build-bison: maybe-all-build-texinfo
48040 all-build-flex: maybe-all-build-texinfo
48041 all-build-flex: maybe-all-build-bison
48042 all-build-flex: maybe-all-build-m4
48043 all-build-libiberty: maybe-all-build-texinfo
48044 all-build-m4: maybe-all-build-texinfo
48045 all-build-fixincludes: maybe-all-build-libiberty
48046 configure-gcc: maybe-configure-intl
48048 configure-stage1-gcc: maybe-configure-stage1-intl
48049 configure-stage2-gcc: maybe-configure-stage2-intl
48050 configure-stage3-gcc: maybe-configure-stage3-intl
48051 configure-stage4-gcc: maybe-configure-stage4-intl
48052 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
48053 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
48054 configure-gcc: maybe-all-gmp
48056 configure-stage1-gcc: maybe-all-stage1-gmp
48057 configure-stage2-gcc: maybe-all-stage2-gmp
48058 configure-stage3-gcc: maybe-all-stage3-gmp
48059 configure-stage4-gcc: maybe-all-stage4-gmp
48060 configure-stageprofile-gcc: maybe-all-stageprofile-gmp
48061 configure-stagefeedback-gcc: maybe-all-stagefeedback-gmp
48062 configure-gcc: maybe-all-lto-plugin
48064 configure-stage1-gcc: maybe-all-stage1-lto-plugin
48065 configure-stage2-gcc: maybe-all-stage2-lto-plugin
48066 configure-stage3-gcc: maybe-all-stage3-lto-plugin
48067 configure-stage4-gcc: maybe-all-stage4-lto-plugin
48068 configure-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
48069 configure-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
48070 configure-gcc: maybe-all-binutils
48072 configure-stage1-gcc: maybe-all-stage1-binutils
48073 configure-stage2-gcc: maybe-all-stage2-binutils
48074 configure-stage3-gcc: maybe-all-stage3-binutils
48075 configure-stage4-gcc: maybe-all-stage4-binutils
48076 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
48077 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
48078 configure-gcc: maybe-all-gas
48080 configure-stage1-gcc: maybe-all-stage1-gas
48081 configure-stage2-gcc: maybe-all-stage2-gas
48082 configure-stage3-gcc: maybe-all-stage3-gas
48083 configure-stage4-gcc: maybe-all-stage4-gas
48084 configure-stageprofile-gcc: maybe-all-stageprofile-gas
48085 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
48086 configure-gcc: maybe-all-ld
48088 configure-stage1-gcc: maybe-all-stage1-ld
48089 configure-stage2-gcc: maybe-all-stage2-ld
48090 configure-stage3-gcc: maybe-all-stage3-ld
48091 configure-stage4-gcc: maybe-all-stage4-ld
48092 configure-stageprofile-gcc: maybe-all-stageprofile-ld
48093 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
48094 configure-gcc: maybe-all-gold
48096 configure-stage1-gcc: maybe-all-stage1-gold
48097 configure-stage2-gcc: maybe-all-stage2-gold
48098 configure-stage3-gcc: maybe-all-stage3-gold
48099 configure-stage4-gcc: maybe-all-stage4-gold
48100 configure-stageprofile-gcc: maybe-all-stageprofile-gold
48101 configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
48102 configure-gcc: maybe-all-libelf
48104 configure-stage1-gcc: maybe-all-stage1-libelf
48105 configure-stage2-gcc: maybe-all-stage2-libelf
48106 configure-stage3-gcc: maybe-all-stage3-libelf
48107 configure-stage4-gcc: maybe-all-stage4-libelf
48108 configure-stageprofile-gcc: maybe-all-stageprofile-libelf
48109 configure-stagefeedback-gcc: maybe-all-stagefeedback-libelf
48110 all-gcc: all-libiberty
48112 all-stage1-gcc: all-stage1-libiberty
48113 all-stage2-gcc: all-stage2-libiberty
48114 all-stage3-gcc: all-stage3-libiberty
48115 all-stage4-gcc: all-stage4-libiberty
48116 all-stageprofile-gcc: all-stageprofile-libiberty
48117 all-stagefeedback-gcc: all-stagefeedback-libiberty
48118 all-gcc: maybe-all-intl
48120 all-stage1-gcc: maybe-all-stage1-intl
48121 all-stage2-gcc: maybe-all-stage2-intl
48122 all-stage3-gcc: maybe-all-stage3-intl
48123 all-stage4-gcc: maybe-all-stage4-intl
48124 all-stageprofile-gcc: maybe-all-stageprofile-intl
48125 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
48126 all-gcc: maybe-all-mpfr
48128 all-stage1-gcc: maybe-all-stage1-mpfr
48129 all-stage2-gcc: maybe-all-stage2-mpfr
48130 all-stage3-gcc: maybe-all-stage3-mpfr
48131 all-stage4-gcc: maybe-all-stage4-mpfr
48132 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
48133 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
48134 all-gcc: maybe-all-mpc
48136 all-stage1-gcc: maybe-all-stage1-mpc
48137 all-stage2-gcc: maybe-all-stage2-mpc
48138 all-stage3-gcc: maybe-all-stage3-mpc
48139 all-stage4-gcc: maybe-all-stage4-mpc
48140 all-stageprofile-gcc: maybe-all-stageprofile-mpc
48141 all-stagefeedback-gcc: maybe-all-stagefeedback-mpc
48142 all-gcc: maybe-all-cloog
48144 all-stage1-gcc: maybe-all-stage1-cloog
48145 all-stage2-gcc: maybe-all-stage2-cloog
48146 all-stage3-gcc: maybe-all-stage3-cloog
48147 all-stage4-gcc: maybe-all-stage4-cloog
48148 all-stageprofile-gcc: maybe-all-stageprofile-cloog
48149 all-stagefeedback-gcc: maybe-all-stagefeedback-cloog
48150 all-gcc: maybe-all-build-texinfo
48152 all-stage1-gcc: maybe-all-build-texinfo
48153 all-stage2-gcc: maybe-all-build-texinfo
48154 all-stage3-gcc: maybe-all-build-texinfo
48155 all-stage4-gcc: maybe-all-build-texinfo
48156 all-stageprofile-gcc: maybe-all-build-texinfo
48157 all-stagefeedback-gcc: maybe-all-build-texinfo
48158 all-gcc: maybe-all-build-bison
48160 all-stage1-gcc: maybe-all-build-bison
48161 all-stage2-gcc: maybe-all-build-bison
48162 all-stage3-gcc: maybe-all-build-bison
48163 all-stage4-gcc: maybe-all-build-bison
48164 all-stageprofile-gcc: maybe-all-build-bison
48165 all-stagefeedback-gcc: maybe-all-build-bison
48166 all-gcc: maybe-all-build-flex
48168 all-stage1-gcc: maybe-all-build-flex
48169 all-stage2-gcc: maybe-all-build-flex
48170 all-stage3-gcc: maybe-all-build-flex
48171 all-stage4-gcc: maybe-all-build-flex
48172 all-stageprofile-gcc: maybe-all-build-flex
48173 all-stagefeedback-gcc: maybe-all-build-flex
48174 all-gcc: maybe-all-build-libiberty
48176 all-stage1-gcc: maybe-all-build-libiberty
48177 all-stage2-gcc: maybe-all-build-libiberty
48178 all-stage3-gcc: maybe-all-build-libiberty
48179 all-stage4-gcc: maybe-all-build-libiberty
48180 all-stageprofile-gcc: maybe-all-build-libiberty
48181 all-stagefeedback-gcc: maybe-all-build-libiberty
48182 all-gcc: maybe-all-build-fixincludes
48184 all-stage1-gcc: maybe-all-build-fixincludes
48185 all-stage2-gcc: maybe-all-build-fixincludes
48186 all-stage3-gcc: maybe-all-build-fixincludes
48187 all-stage4-gcc: maybe-all-build-fixincludes
48188 all-stageprofile-gcc: maybe-all-build-fixincludes
48189 all-stagefeedback-gcc: maybe-all-build-fixincludes
48190 all-gcc: maybe-all-zlib
48192 all-stage1-gcc: maybe-all-stage1-zlib
48193 all-stage2-gcc: maybe-all-stage2-zlib
48194 all-stage3-gcc: maybe-all-stage3-zlib
48195 all-stage4-gcc: maybe-all-stage4-zlib
48196 all-stageprofile-gcc: maybe-all-stageprofile-zlib
48197 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
48198 all-gcc: all-libbacktrace
48200 all-stage1-gcc: all-stage1-libbacktrace
48201 all-stage2-gcc: all-stage2-libbacktrace
48202 all-stage3-gcc: all-stage3-libbacktrace
48203 all-stage4-gcc: all-stage4-libbacktrace
48204 all-stageprofile-gcc: all-stageprofile-libbacktrace
48205 all-stagefeedback-gcc: all-stagefeedback-libbacktrace
48206 all-gcc: all-libcpp
48208 all-stage1-gcc: all-stage1-libcpp
48209 all-stage2-gcc: all-stage2-libcpp
48210 all-stage3-gcc: all-stage3-libcpp
48211 all-stage4-gcc: all-stage4-libcpp
48212 all-stageprofile-gcc: all-stageprofile-libcpp
48213 all-stagefeedback-gcc: all-stagefeedback-libcpp
48214 all-gcc: all-libdecnumber
48216 all-stage1-gcc: all-stage1-libdecnumber
48217 all-stage2-gcc: all-stage2-libdecnumber
48218 all-stage3-gcc: all-stage3-libdecnumber
48219 all-stage4-gcc: all-stage4-libdecnumber
48220 all-stageprofile-gcc: all-stageprofile-libdecnumber
48221 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
48222 all-gcc: maybe-all-libiberty
48224 all-stage1-gcc: maybe-all-stage1-libiberty
48225 all-stage2-gcc: maybe-all-stage2-libiberty
48226 all-stage3-gcc: maybe-all-stage3-libiberty
48227 all-stage4-gcc: maybe-all-stage4-libiberty
48228 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
48229 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
48230 all-gcc: maybe-all-fixincludes
48232 all-stage1-gcc: maybe-all-stage1-fixincludes
48233 all-stage2-gcc: maybe-all-stage2-fixincludes
48234 all-stage3-gcc: maybe-all-stage3-fixincludes
48235 all-stage4-gcc: maybe-all-stage4-fixincludes
48236 all-stageprofile-gcc: maybe-all-stageprofile-fixincludes
48237 all-stagefeedback-gcc: maybe-all-stagefeedback-fixincludes
48238 all-gcc: maybe-all-lto-plugin
48240 all-stage1-gcc: maybe-all-stage1-lto-plugin
48241 all-stage2-gcc: maybe-all-stage2-lto-plugin
48242 all-stage3-gcc: maybe-all-stage3-lto-plugin
48243 all-stage4-gcc: maybe-all-stage4-lto-plugin
48244 all-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
48245 all-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
48246 info-gcc: maybe-all-build-libiberty
48248 info-stage1-gcc: maybe-all-build-libiberty
48249 info-stage2-gcc: maybe-all-build-libiberty
48250 info-stage3-gcc: maybe-all-build-libiberty
48251 info-stage4-gcc: maybe-all-build-libiberty
48252 info-stageprofile-gcc: maybe-all-build-libiberty
48253 info-stagefeedback-gcc: maybe-all-build-libiberty
48254 dvi-gcc: maybe-all-build-libiberty
48256 dvi-stage1-gcc: maybe-all-build-libiberty
48257 dvi-stage2-gcc: maybe-all-build-libiberty
48258 dvi-stage3-gcc: maybe-all-build-libiberty
48259 dvi-stage4-gcc: maybe-all-build-libiberty
48260 dvi-stageprofile-gcc: maybe-all-build-libiberty
48261 dvi-stagefeedback-gcc: maybe-all-build-libiberty
48262 pdf-gcc: maybe-all-build-libiberty
48264 pdf-stage1-gcc: maybe-all-build-libiberty
48265 pdf-stage2-gcc: maybe-all-build-libiberty
48266 pdf-stage3-gcc: maybe-all-build-libiberty
48267 pdf-stage4-gcc: maybe-all-build-libiberty
48268 pdf-stageprofile-gcc: maybe-all-build-libiberty
48269 pdf-stagefeedback-gcc: maybe-all-build-libiberty
48270 html-gcc: maybe-all-build-libiberty
48272 html-stage1-gcc: maybe-all-build-libiberty
48273 html-stage2-gcc: maybe-all-build-libiberty
48274 html-stage3-gcc: maybe-all-build-libiberty
48275 html-stage4-gcc: maybe-all-build-libiberty
48276 html-stageprofile-gcc: maybe-all-build-libiberty
48277 html-stagefeedback-gcc: maybe-all-build-libiberty
48278 install-gcc: maybe-install-fixincludes
48279 install-gcc: maybe-install-lto-plugin
48280 install-strip-gcc: maybe-install-strip-fixincludes
48281 install-strip-gcc: maybe-install-strip-lto-plugin
48282 configure-libcpp: configure-libiberty
48284 configure-stage1-libcpp: configure-stage1-libiberty
48285 configure-stage2-libcpp: configure-stage2-libiberty
48286 configure-stage3-libcpp: configure-stage3-libiberty
48287 configure-stage4-libcpp: configure-stage4-libiberty
48288 configure-stageprofile-libcpp: configure-stageprofile-libiberty
48289 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
48290 configure-libcpp: maybe-configure-intl
48292 configure-stage1-libcpp: maybe-configure-stage1-intl
48293 configure-stage2-libcpp: maybe-configure-stage2-intl
48294 configure-stage3-libcpp: maybe-configure-stage3-intl
48295 configure-stage4-libcpp: maybe-configure-stage4-intl
48296 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
48297 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
48298 all-libcpp: all-libiberty
48300 all-stage1-libcpp: all-stage1-libiberty
48301 all-stage2-libcpp: all-stage2-libiberty
48302 all-stage3-libcpp: all-stage3-libiberty
48303 all-stage4-libcpp: all-stage4-libiberty
48304 all-stageprofile-libcpp: all-stageprofile-libiberty
48305 all-stagefeedback-libcpp: all-stagefeedback-libiberty
48306 all-libcpp: maybe-all-intl
48308 all-stage1-libcpp: maybe-all-stage1-intl
48309 all-stage2-libcpp: maybe-all-stage2-intl
48310 all-stage3-libcpp: maybe-all-stage3-intl
48311 all-stage4-libcpp: maybe-all-stage4-intl
48312 all-stageprofile-libcpp: maybe-all-stageprofile-intl
48313 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
48314 all-fixincludes: maybe-all-libiberty
48316 all-stage1-fixincludes: maybe-all-stage1-libiberty
48317 all-stage2-fixincludes: maybe-all-stage2-libiberty
48318 all-stage3-fixincludes: maybe-all-stage3-libiberty
48319 all-stage4-fixincludes: maybe-all-stage4-libiberty
48320 all-stageprofile-fixincludes: maybe-all-stageprofile-libiberty
48321 all-stagefeedback-fixincludes: maybe-all-stagefeedback-libiberty
48322 all-gnattools: maybe-all-target-libada
48323 all-gnattools: maybe-all-target-libstdc++-v3
48324 all-lto-plugin: maybe-all-libiberty
48326 all-stage1-lto-plugin: maybe-all-stage1-libiberty
48327 all-stage2-lto-plugin: maybe-all-stage2-libiberty
48328 all-stage3-lto-plugin: maybe-all-stage3-libiberty
48329 all-stage4-lto-plugin: maybe-all-stage4-libiberty
48330 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty
48331 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty
48332 all-lto-plugin: maybe-all-libiberty-linker-plugin
48334 all-stage1-lto-plugin: maybe-all-stage1-libiberty-linker-plugin
48335 all-stage2-lto-plugin: maybe-all-stage2-libiberty-linker-plugin
48336 all-stage3-lto-plugin: maybe-all-stage3-libiberty-linker-plugin
48337 all-stage4-lto-plugin: maybe-all-stage4-libiberty-linker-plugin
48338 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty-linker-plugin
48339 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty-linker-plugin
48340 all-utils: maybe-all-libiberty
48341 configure-mpfr: maybe-all-gmp
48343 configure-stage1-mpfr: maybe-all-stage1-gmp
48344 configure-stage2-mpfr: maybe-all-stage2-gmp
48345 configure-stage3-mpfr: maybe-all-stage3-gmp
48346 configure-stage4-mpfr: maybe-all-stage4-gmp
48347 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
48348 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
48349 configure-mpc: maybe-all-mpfr
48351 configure-stage1-mpc: maybe-all-stage1-mpfr
48352 configure-stage2-mpc: maybe-all-stage2-mpfr
48353 configure-stage3-mpc: maybe-all-stage3-mpfr
48354 configure-stage4-mpc: maybe-all-stage4-mpfr
48355 configure-stageprofile-mpc: maybe-all-stageprofile-mpfr
48356 configure-stagefeedback-mpc: maybe-all-stagefeedback-mpfr
48357 configure-isl: maybe-all-gmp
48359 configure-stage1-isl: maybe-all-stage1-gmp
48360 configure-stage2-isl: maybe-all-stage2-gmp
48361 configure-stage3-isl: maybe-all-stage3-gmp
48362 configure-stage4-isl: maybe-all-stage4-gmp
48363 configure-stageprofile-isl: maybe-all-stageprofile-gmp
48364 configure-stagefeedback-isl: maybe-all-stagefeedback-gmp
48365 configure-cloog: maybe-all-isl
48367 configure-stage1-cloog: maybe-all-stage1-isl
48368 configure-stage2-cloog: maybe-all-stage2-isl
48369 configure-stage3-cloog: maybe-all-stage3-isl
48370 configure-stage4-cloog: maybe-all-stage4-isl
48371 configure-stageprofile-cloog: maybe-all-stageprofile-isl
48372 configure-stagefeedback-cloog: maybe-all-stagefeedback-isl
48373 configure-cloog: maybe-all-gmp
48375 configure-stage1-cloog: maybe-all-stage1-gmp
48376 configure-stage2-cloog: maybe-all-stage2-gmp
48377 configure-stage3-cloog: maybe-all-stage3-gmp
48378 configure-stage4-cloog: maybe-all-stage4-gmp
48379 configure-stageprofile-cloog: maybe-all-stageprofile-gmp
48380 configure-stagefeedback-cloog: maybe-all-stagefeedback-gmp
48381 configure-gdb: maybe-all-intl
48382 configure-gdb: maybe-configure-sim
48383 configure-gdb: maybe-all-bfd
48384 configure-gdb: maybe-all-libiconv
48385 all-gdb: maybe-all-libiberty
48386 all-gdb: maybe-all-libiconv
48387 all-gdb: maybe-all-opcodes
48388 all-gdb: maybe-all-readline
48389 all-gdb: maybe-all-build-bison
48390 all-gdb: maybe-all-sim
48391 all-gdb: maybe-all-libdecnumber
48392 all-gdb: maybe-all-libtermcap
48393 configure-libgui: maybe-configure-tcl
48394 configure-libgui: maybe-configure-tk
48395 all-libgui: maybe-all-tcl
48396 all-libgui: maybe-all-tk
48397 all-libgui: maybe-all-itcl
48398 configure-bfd: configure-libiberty
48400 configure-stage1-bfd: configure-stage1-libiberty
48401 configure-stage2-bfd: configure-stage2-libiberty
48402 configure-stage3-bfd: configure-stage3-libiberty
48403 configure-stage4-bfd: configure-stage4-libiberty
48404 configure-stageprofile-bfd: configure-stageprofile-libiberty
48405 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
48406 configure-bfd: maybe-configure-intl
48408 configure-stage1-bfd: maybe-configure-stage1-intl
48409 configure-stage2-bfd: maybe-configure-stage2-intl
48410 configure-stage3-bfd: maybe-configure-stage3-intl
48411 configure-stage4-bfd: maybe-configure-stage4-intl
48412 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
48413 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
48414 all-bfd: maybe-all-libiberty
48416 all-stage1-bfd: maybe-all-stage1-libiberty
48417 all-stage2-bfd: maybe-all-stage2-libiberty
48418 all-stage3-bfd: maybe-all-stage3-libiberty
48419 all-stage4-bfd: maybe-all-stage4-libiberty
48420 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
48421 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
48422 all-bfd: maybe-all-intl
48424 all-stage1-bfd: maybe-all-stage1-intl
48425 all-stage2-bfd: maybe-all-stage2-intl
48426 all-stage3-bfd: maybe-all-stage3-intl
48427 all-stage4-bfd: maybe-all-stage4-intl
48428 all-stageprofile-bfd: maybe-all-stageprofile-intl
48429 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
48430 configure-opcodes: configure-libiberty
48432 configure-stage1-opcodes: configure-stage1-libiberty
48433 configure-stage2-opcodes: configure-stage2-libiberty
48434 configure-stage3-opcodes: configure-stage3-libiberty
48435 configure-stage4-opcodes: configure-stage4-libiberty
48436 configure-stageprofile-opcodes: configure-stageprofile-libiberty
48437 configure-stagefeedback-opcodes: configure-stagefeedback-libiberty
48438 all-opcodes: maybe-all-libiberty
48440 all-stage1-opcodes: maybe-all-stage1-libiberty
48441 all-stage2-opcodes: maybe-all-stage2-libiberty
48442 all-stage3-opcodes: maybe-all-stage3-libiberty
48443 all-stage4-opcodes: maybe-all-stage4-libiberty
48444 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
48445 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
48446 configure-binutils: maybe-configure-intl
48448 configure-stage1-binutils: maybe-configure-stage1-intl
48449 configure-stage2-binutils: maybe-configure-stage2-intl
48450 configure-stage3-binutils: maybe-configure-stage3-intl
48451 configure-stage4-binutils: maybe-configure-stage4-intl
48452 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
48453 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
48454 all-binutils: maybe-all-libiberty
48456 all-stage1-binutils: maybe-all-stage1-libiberty
48457 all-stage2-binutils: maybe-all-stage2-libiberty
48458 all-stage3-binutils: maybe-all-stage3-libiberty
48459 all-stage4-binutils: maybe-all-stage4-libiberty
48460 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
48461 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
48462 all-binutils: maybe-all-opcodes
48464 all-stage1-binutils: maybe-all-stage1-opcodes
48465 all-stage2-binutils: maybe-all-stage2-opcodes
48466 all-stage3-binutils: maybe-all-stage3-opcodes
48467 all-stage4-binutils: maybe-all-stage4-opcodes
48468 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
48469 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
48470 all-binutils: maybe-all-bfd
48472 all-stage1-binutils: maybe-all-stage1-bfd
48473 all-stage2-binutils: maybe-all-stage2-bfd
48474 all-stage3-binutils: maybe-all-stage3-bfd
48475 all-stage4-binutils: maybe-all-stage4-bfd
48476 all-stageprofile-binutils: maybe-all-stageprofile-bfd
48477 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
48478 all-binutils: maybe-all-build-flex
48480 all-stage1-binutils: maybe-all-build-flex
48481 all-stage2-binutils: maybe-all-build-flex
48482 all-stage3-binutils: maybe-all-build-flex
48483 all-stage4-binutils: maybe-all-build-flex
48484 all-stageprofile-binutils: maybe-all-build-flex
48485 all-stagefeedback-binutils: maybe-all-build-flex
48486 all-binutils: maybe-all-build-bison
48488 all-stage1-binutils: maybe-all-build-bison
48489 all-stage2-binutils: maybe-all-build-bison
48490 all-stage3-binutils: maybe-all-build-bison
48491 all-stage4-binutils: maybe-all-build-bison
48492 all-stageprofile-binutils: maybe-all-build-bison
48493 all-stagefeedback-binutils: maybe-all-build-bison
48494 all-binutils: maybe-all-intl
48496 all-stage1-binutils: maybe-all-stage1-intl
48497 all-stage2-binutils: maybe-all-stage2-intl
48498 all-stage3-binutils: maybe-all-stage3-intl
48499 all-stage4-binutils: maybe-all-stage4-intl
48500 all-stageprofile-binutils: maybe-all-stageprofile-intl
48501 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
48502 all-binutils: maybe-all-gas
48504 all-stage1-binutils: maybe-all-stage1-gas
48505 all-stage2-binutils: maybe-all-stage2-gas
48506 all-stage3-binutils: maybe-all-stage3-gas
48507 all-stage4-binutils: maybe-all-stage4-gas
48508 all-stageprofile-binutils: maybe-all-stageprofile-gas
48509 all-stagefeedback-binutils: maybe-all-stagefeedback-gas
48510 install-binutils: maybe-install-opcodes
48511 install-strip-binutils: maybe-install-strip-opcodes
48512 install-opcodes: maybe-install-bfd
48513 install-strip-opcodes: maybe-install-strip-bfd
48514 configure-gas: maybe-configure-intl
48516 configure-stage1-gas: maybe-configure-stage1-intl
48517 configure-stage2-gas: maybe-configure-stage2-intl
48518 configure-stage3-gas: maybe-configure-stage3-intl
48519 configure-stage4-gas: maybe-configure-stage4-intl
48520 configure-stageprofile-gas: maybe-configure-stageprofile-intl
48521 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
48522 all-gas: maybe-all-libiberty
48524 all-stage1-gas: maybe-all-stage1-libiberty
48525 all-stage2-gas: maybe-all-stage2-libiberty
48526 all-stage3-gas: maybe-all-stage3-libiberty
48527 all-stage4-gas: maybe-all-stage4-libiberty
48528 all-stageprofile-gas: maybe-all-stageprofile-libiberty
48529 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
48530 all-gas: maybe-all-opcodes
48532 all-stage1-gas: maybe-all-stage1-opcodes
48533 all-stage2-gas: maybe-all-stage2-opcodes
48534 all-stage3-gas: maybe-all-stage3-opcodes
48535 all-stage4-gas: maybe-all-stage4-opcodes
48536 all-stageprofile-gas: maybe-all-stageprofile-opcodes
48537 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
48538 all-gas: maybe-all-bfd
48540 all-stage1-gas: maybe-all-stage1-bfd
48541 all-stage2-gas: maybe-all-stage2-bfd
48542 all-stage3-gas: maybe-all-stage3-bfd
48543 all-stage4-gas: maybe-all-stage4-bfd
48544 all-stageprofile-gas: maybe-all-stageprofile-bfd
48545 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
48546 all-gas: maybe-all-intl
48548 all-stage1-gas: maybe-all-stage1-intl
48549 all-stage2-gas: maybe-all-stage2-intl
48550 all-stage3-gas: maybe-all-stage3-intl
48551 all-stage4-gas: maybe-all-stage4-intl
48552 all-stageprofile-gas: maybe-all-stageprofile-intl
48553 all-stagefeedback-gas: maybe-all-stagefeedback-intl
48554 configure-gprof: maybe-configure-intl
48555 all-gprof: maybe-all-libiberty
48556 all-gprof: maybe-all-bfd
48557 all-gprof: maybe-all-opcodes
48558 all-gprof: maybe-all-intl
48559 all-gprof: maybe-all-gas
48560 configure-ld: maybe-configure-intl
48562 configure-stage1-ld: maybe-configure-stage1-intl
48563 configure-stage2-ld: maybe-configure-stage2-intl
48564 configure-stage3-ld: maybe-configure-stage3-intl
48565 configure-stage4-ld: maybe-configure-stage4-intl
48566 configure-stageprofile-ld: maybe-configure-stageprofile-intl
48567 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
48568 all-ld: maybe-all-libiberty
48570 all-stage1-ld: maybe-all-stage1-libiberty
48571 all-stage2-ld: maybe-all-stage2-libiberty
48572 all-stage3-ld: maybe-all-stage3-libiberty
48573 all-stage4-ld: maybe-all-stage4-libiberty
48574 all-stageprofile-ld: maybe-all-stageprofile-libiberty
48575 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
48576 all-ld: maybe-all-bfd
48578 all-stage1-ld: maybe-all-stage1-bfd
48579 all-stage2-ld: maybe-all-stage2-bfd
48580 all-stage3-ld: maybe-all-stage3-bfd
48581 all-stage4-ld: maybe-all-stage4-bfd
48582 all-stageprofile-ld: maybe-all-stageprofile-bfd
48583 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
48584 all-ld: maybe-all-opcodes
48586 all-stage1-ld: maybe-all-stage1-opcodes
48587 all-stage2-ld: maybe-all-stage2-opcodes
48588 all-stage3-ld: maybe-all-stage3-opcodes
48589 all-stage4-ld: maybe-all-stage4-opcodes
48590 all-stageprofile-ld: maybe-all-stageprofile-opcodes
48591 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
48592 all-ld: maybe-all-build-bison
48594 all-stage1-ld: maybe-all-build-bison
48595 all-stage2-ld: maybe-all-build-bison
48596 all-stage3-ld: maybe-all-build-bison
48597 all-stage4-ld: maybe-all-build-bison
48598 all-stageprofile-ld: maybe-all-build-bison
48599 all-stagefeedback-ld: maybe-all-build-bison
48600 all-ld: maybe-all-build-flex
48602 all-stage1-ld: maybe-all-build-flex
48603 all-stage2-ld: maybe-all-build-flex
48604 all-stage3-ld: maybe-all-build-flex
48605 all-stage4-ld: maybe-all-build-flex
48606 all-stageprofile-ld: maybe-all-build-flex
48607 all-stagefeedback-ld: maybe-all-build-flex
48608 all-ld: maybe-all-intl
48610 all-stage1-ld: maybe-all-stage1-intl
48611 all-stage2-ld: maybe-all-stage2-intl
48612 all-stage3-ld: maybe-all-stage3-intl
48613 all-stage4-ld: maybe-all-stage4-intl
48614 all-stageprofile-ld: maybe-all-stageprofile-intl
48615 all-stagefeedback-ld: maybe-all-stagefeedback-intl
48616 all-ld: maybe-all-gas
48618 all-stage1-ld: maybe-all-stage1-gas
48619 all-stage2-ld: maybe-all-stage2-gas
48620 all-stage3-ld: maybe-all-stage3-gas
48621 all-stage4-ld: maybe-all-stage4-gas
48622 all-stageprofile-ld: maybe-all-stageprofile-gas
48623 all-stagefeedback-ld: maybe-all-stagefeedback-gas
48624 all-ld: maybe-all-binutils
48626 all-stage1-ld: maybe-all-stage1-binutils
48627 all-stage2-ld: maybe-all-stage2-binutils
48628 all-stage3-ld: maybe-all-stage3-binutils
48629 all-stage4-ld: maybe-all-stage4-binutils
48630 all-stageprofile-ld: maybe-all-stageprofile-binutils
48631 all-stagefeedback-ld: maybe-all-stagefeedback-binutils
48632 install-ld: maybe-install-gold
48633 install-strip-ld: maybe-install-strip-gold
48634 configure-gold: maybe-configure-intl
48636 configure-stage1-gold: maybe-configure-stage1-intl
48637 configure-stage2-gold: maybe-configure-stage2-intl
48638 configure-stage3-gold: maybe-configure-stage3-intl
48639 configure-stage4-gold: maybe-configure-stage4-intl
48640 configure-stageprofile-gold: maybe-configure-stageprofile-intl
48641 configure-stagefeedback-gold: maybe-configure-stagefeedback-intl
48642 all-gold: maybe-all-libiberty
48644 all-stage1-gold: maybe-all-stage1-libiberty
48645 all-stage2-gold: maybe-all-stage2-libiberty
48646 all-stage3-gold: maybe-all-stage3-libiberty
48647 all-stage4-gold: maybe-all-stage4-libiberty
48648 all-stageprofile-gold: maybe-all-stageprofile-libiberty
48649 all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
48650 all-gold: maybe-all-intl
48652 all-stage1-gold: maybe-all-stage1-intl
48653 all-stage2-gold: maybe-all-stage2-intl
48654 all-stage3-gold: maybe-all-stage3-intl
48655 all-stage4-gold: maybe-all-stage4-intl
48656 all-stageprofile-gold: maybe-all-stageprofile-intl
48657 all-stagefeedback-gold: maybe-all-stagefeedback-intl
48658 all-gold: maybe-all-bfd
48660 all-stage1-gold: maybe-all-stage1-bfd
48661 all-stage2-gold: maybe-all-stage2-bfd
48662 all-stage3-gold: maybe-all-stage3-bfd
48663 all-stage4-gold: maybe-all-stage4-bfd
48664 all-stageprofile-gold: maybe-all-stageprofile-bfd
48665 all-stagefeedback-gold: maybe-all-stagefeedback-bfd
48666 all-gold: maybe-all-build-bison
48668 all-stage1-gold: maybe-all-build-bison
48669 all-stage2-gold: maybe-all-build-bison
48670 all-stage3-gold: maybe-all-build-bison
48671 all-stage4-gold: maybe-all-build-bison
48672 all-stageprofile-gold: maybe-all-build-bison
48673 all-stagefeedback-gold: maybe-all-build-bison
48674 all-gold: maybe-all-gas
48676 all-stage1-gold: maybe-all-stage1-gas
48677 all-stage2-gold: maybe-all-stage2-gas
48678 all-stage3-gold: maybe-all-stage3-gas
48679 all-stage4-gold: maybe-all-stage4-gas
48680 all-stageprofile-gold: maybe-all-stageprofile-gas
48681 all-stagefeedback-gold: maybe-all-stagefeedback-gas
48682 check-gold: maybe-all-binutils
48684 check-stage1-gold: maybe-all-stage1-binutils
48685 check-stage2-gold: maybe-all-stage2-binutils
48686 check-stage3-gold: maybe-all-stage3-binutils
48687 check-stage4-gold: maybe-all-stage4-binutils
48688 check-stageprofile-gold: maybe-all-stageprofile-binutils
48689 check-stagefeedback-gold: maybe-all-stagefeedback-binutils
48690 check-gold: maybe-all-gas
48692 check-stage1-gold: maybe-all-stage1-gas
48693 check-stage2-gold: maybe-all-stage2-gas
48694 check-stage3-gold: maybe-all-stage3-gas
48695 check-stage4-gold: maybe-all-stage4-gas
48696 check-stageprofile-gold: maybe-all-stageprofile-gas
48697 check-stagefeedback-gold: maybe-all-stagefeedback-gas
48698 configure-opcodes: maybe-configure-intl
48700 configure-stage1-opcodes: maybe-configure-stage1-intl
48701 configure-stage2-opcodes: maybe-configure-stage2-intl
48702 configure-stage3-opcodes: maybe-configure-stage3-intl
48703 configure-stage4-opcodes: maybe-configure-stage4-intl
48704 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
48705 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
48706 all-opcodes: maybe-all-bfd
48708 all-stage1-opcodes: maybe-all-stage1-bfd
48709 all-stage2-opcodes: maybe-all-stage2-bfd
48710 all-stage3-opcodes: maybe-all-stage3-bfd
48711 all-stage4-opcodes: maybe-all-stage4-bfd
48712 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
48713 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
48714 all-opcodes: maybe-all-libiberty
48716 all-stage1-opcodes: maybe-all-stage1-libiberty
48717 all-stage2-opcodes: maybe-all-stage2-libiberty
48718 all-stage3-opcodes: maybe-all-stage3-libiberty
48719 all-stage4-opcodes: maybe-all-stage4-libiberty
48720 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
48721 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
48722 all-opcodes: maybe-all-intl
48724 all-stage1-opcodes: maybe-all-stage1-intl
48725 all-stage2-opcodes: maybe-all-stage2-intl
48726 all-stage3-opcodes: maybe-all-stage3-intl
48727 all-stage4-opcodes: maybe-all-stage4-intl
48728 all-stageprofile-opcodes: maybe-all-stageprofile-intl
48729 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
48730 all-dejagnu: maybe-all-tcl
48731 all-dejagnu: maybe-all-expect
48732 all-dejagnu: maybe-all-tk
48733 configure-expect: maybe-configure-tcl
48734 configure-expect: maybe-configure-tk
48735 all-expect: maybe-all-tcl
48736 all-expect: maybe-all-tk
48737 configure-itcl: maybe-configure-tcl
48738 configure-itcl: maybe-configure-tk
48739 all-itcl: maybe-all-tcl
48740 all-itcl: maybe-all-tk
48741 install-itcl: maybe-install-tcl
48742 install-strip-itcl: maybe-install-strip-tcl
48743 configure-tk: maybe-configure-tcl
48744 all-tk: maybe-all-tcl
48745 all-sid: maybe-all-libiberty
48746 all-sid: maybe-all-bfd
48747 all-sid: maybe-all-opcodes
48748 all-sid: maybe-all-tcl
48749 all-sid: maybe-all-tk
48750 install-sid: maybe-install-tcl
48751 install-strip-sid: maybe-install-strip-tcl
48752 install-sid: maybe-install-tk
48753 install-strip-sid: maybe-install-strip-tk
48754 configure-sim: maybe-configure-intl
48755 all-sim: maybe-all-intl
48756 all-sim: maybe-all-libiberty
48757 all-sim: maybe-all-bfd
48758 all-sim: maybe-all-opcodes
48759 all-sim: maybe-all-readline
48760 all-sim: maybe-configure-gdb
48761 all-fastjar: maybe-all-zlib
48762 all-fastjar: maybe-all-build-texinfo
48763 all-fastjar: maybe-all-libiberty
48764 all-bison: maybe-all-intl
48765 all-bison: maybe-all-build-texinfo
48766 all-flex: maybe-all-build-bison
48767 all-flex: maybe-all-intl
48768 all-flex: maybe-all-m4
48769 all-flex: maybe-all-build-texinfo
48770 all-m4: maybe-all-intl
48771 all-m4: maybe-all-build-texinfo
48772 configure-target-boehm-gc: maybe-all-target-libstdc++-v3
48773 configure-target-fastjar: maybe-configure-target-zlib
48774 all-target-fastjar: maybe-all-target-zlib
48775 configure-target-libgo: maybe-configure-target-libffi
48776 configure-target-libgo: maybe-all-target-libstdc++-v3
48777 all-target-libgo: maybe-all-target-libbacktrace
48778 all-target-libgo: maybe-all-target-libffi
48779 all-target-libgo: maybe-all-target-libatomic
48780 configure-target-libjava: maybe-configure-target-zlib
48781 configure-target-libjava: maybe-configure-target-boehm-gc
48782 configure-target-libjava: maybe-configure-target-libffi
48783 all-target-libjava: maybe-all-fastjar
48784 all-target-libjava: maybe-all-target-zlib
48785 all-target-libjava: maybe-all-target-boehm-gc
48786 all-target-libjava: maybe-all-target-libffi
48787 configure-target-libobjc: maybe-configure-target-boehm-gc
48788 all-target-libobjc: maybe-all-target-boehm-gc
48789 configure-target-libstdc++-v3: maybe-configure-target-libgomp
48791 configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
48792 configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
48793 configure-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
48794 configure-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
48795 configure-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
48796 configure-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
48797 configure-target-libsanitizer: maybe-all-target-libstdc++-v3
48799 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libstdc++-v3
48800 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libstdc++-v3
48801 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libstdc++-v3
48802 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libstdc++-v3
48803 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libstdc++-v3
48804 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libstdc++-v3
48805 configure-target-libvtv: maybe-all-target-libstdc++-v3
48807 configure-stage1-target-libvtv: maybe-all-stage1-target-libstdc++-v3
48808 configure-stage2-target-libvtv: maybe-all-stage2-target-libstdc++-v3
48809 configure-stage3-target-libvtv: maybe-all-stage3-target-libstdc++-v3
48810 configure-stage4-target-libvtv: maybe-all-stage4-target-libstdc++-v3
48811 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libstdc++-v3
48812 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libstdc++-v3
48813 all-target-libstdc++-v3: maybe-configure-target-libgomp
48815 all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
48816 all-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
48817 all-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
48818 all-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
48819 all-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
48820 all-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
48821 install-target-libgo: maybe-install-target-libatomic
48822 install-target-libgfortran: maybe-install-target-libquadmath
48823 install-target-libgfortran: maybe-install-target-libgcc
48824 install-target-libsanitizer: maybe-install-target-libstdc++-v3
48825 install-target-libsanitizer: maybe-install-target-libgcc
48826 install-target-libvtv: maybe-install-target-libstdc++-v3
48827 install-target-libvtv: maybe-install-target-libgcc
48828 install-target-libcilkrts: maybe-install-target-libstdc++-v3
48829 install-target-libcilkrts: maybe-install-target-libgcc
48830 install-target-libjava: maybe-install-target-libgcc
48831 install-target-libitm: maybe-install-target-libgcc
48832 install-target-libobjc: maybe-install-target-libgcc
48833 install-target-libstdc++-v3: maybe-install-target-libgcc
48834 all-target-libgloss: maybe-all-target-newlib
48835 all-target-winsup: maybe-all-target-libtermcap
48836 configure-target-newlib: maybe-all-binutils
48837 configure-target-newlib: maybe-all-ld
48838 configure-target-libgfortran: maybe-all-target-libquadmath
48841 # Dependencies for target modules on other target modules are
48842 # described by lang_env_dependencies; the defaults apply to anything
48843 # not mentioned there.
48846 @if gcc-bootstrap
48847 configure-stage1-target-libstdc++-v3: maybe-all-stage1-target-libgcc
48848 configure-stage2-target-libstdc++-v3: maybe-all-stage2-target-libgcc
48849 configure-stage3-target-libstdc++-v3: maybe-all-stage3-target-libgcc
48850 configure-stage4-target-libstdc++-v3: maybe-all-stage4-target-libgcc
48851 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-target-libgcc
48852 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-target-libgcc
48853 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libgcc
48854 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libgcc
48855 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libgcc
48856 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libgcc
48857 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libgcc
48858 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libgcc
48859 configure-stage1-target-libvtv: maybe-all-stage1-target-libgcc
48860 configure-stage2-target-libvtv: maybe-all-stage2-target-libgcc
48861 configure-stage3-target-libvtv: maybe-all-stage3-target-libgcc
48862 configure-stage4-target-libvtv: maybe-all-stage4-target-libgcc
48863 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libgcc
48864 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libgcc
48865 configure-stage1-target-libgomp: maybe-all-stage1-target-libgcc
48866 configure-stage2-target-libgomp: maybe-all-stage2-target-libgcc
48867 configure-stage3-target-libgomp: maybe-all-stage3-target-libgcc
48868 configure-stage4-target-libgomp: maybe-all-stage4-target-libgcc
48869 configure-stageprofile-target-libgomp: maybe-all-stageprofile-target-libgcc
48870 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc
48871 @endif gcc-bootstrap
48873 @if gcc-no-bootstrap
48874 configure-target-libstdc++-v3: maybe-all-target-libgcc
48875 configure-target-libsanitizer: maybe-all-target-libgcc
48876 configure-target-libvtv: maybe-all-target-libgcc
48877 configure-target-libcilkrts: maybe-all-target-libgcc
48878 configure-target-libssp: maybe-all-target-libgcc
48879 configure-target-newlib: maybe-all-target-libgcc
48880 configure-target-libbacktrace: maybe-all-target-libgcc
48881 configure-target-libquadmath: maybe-all-target-libgcc
48882 configure-target-libgfortran: maybe-all-target-libgcc
48883 configure-target-libobjc: maybe-all-target-libgcc
48884 configure-target-libgo: maybe-all-target-libgcc
48885 configure-target-libtermcap: maybe-all-target-libgcc
48886 configure-target-winsup: maybe-all-target-libgcc
48887 configure-target-libgloss: maybe-all-target-libgcc
48888 configure-target-libffi: maybe-all-target-libgcc
48889 configure-target-libjava: maybe-all-target-libgcc
48890 configure-target-zlib: maybe-all-target-libgcc
48891 configure-target-boehm-gc: maybe-all-target-libgcc
48892 configure-target-rda: maybe-all-target-libgcc
48893 configure-target-libada: maybe-all-target-libgcc
48894 configure-target-libgomp: maybe-all-target-libgcc
48895 configure-target-libitm: maybe-all-target-libgcc
48896 configure-target-libatomic: maybe-all-target-libgcc
48897 @endif gcc-no-bootstrap
48900 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
48902 configure-target-libsanitizer: maybe-all-target-newlib maybe-all-target-libgloss
48904 configure-target-libvtv: maybe-all-target-newlib maybe-all-target-libgloss
48906 configure-target-libcilkrts: maybe-all-target-newlib maybe-all-target-libgloss
48907 configure-target-libcilkrts: maybe-all-target-libstdc++-v3
48909 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
48913 configure-target-libbacktrace: maybe-all-target-newlib maybe-all-target-libgloss
48915 configure-target-libquadmath: maybe-all-target-newlib maybe-all-target-libgloss
48917 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
48919 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
48921 configure-target-libgo: maybe-all-target-newlib maybe-all-target-libgloss
48923 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
48925 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
48928 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
48930 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
48931 configure-target-libjava: maybe-all-target-libstdc++-v3
48933 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
48935 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
48937 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
48939 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
48941 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
48943 configure-target-libitm: maybe-all-target-newlib maybe-all-target-libgloss
48944 configure-target-libitm: maybe-all-target-libstdc++-v3
48946 configure-target-libatomic: maybe-all-target-newlib maybe-all-target-libgloss
48949 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
48950 GDB_TK = @GDB_TK@
48951 INSTALL_GDB_TK = @INSTALL_GDB_TK@
48952 configure-gdb: $(CONFIGURE_GDB_TK)
48953 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
48954 install-gdb: $(INSTALL_GDB_TK)
48956 # Serialization dependencies. Host configures don't work well in parallel to
48957 # each other, due to contention over config.cache. Target configures and
48958 # build configures are similar.
48959 @serialization_dependencies@
48961 # --------------------------------
48962 # Regenerating top level configury
48963 # --------------------------------
48965 # Rebuilding Makefile.in, using autogen.
48966 AUTOGEN = autogen
48967 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
48968 cd $(srcdir) && $(AUTOGEN) Makefile.def
48970 # Rebuilding Makefile.
48971 Makefile: $(srcdir)/Makefile.in config.status
48972 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
48974 config.status: configure
48975 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
48977 # Rebuilding configure.
48978 AUTOCONF = autoconf
48979 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
48980 $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4
48981 cd $(srcdir) && $(AUTOCONF)
48983 # ------------------------------
48984 # Special directives to GNU Make
48985 # ------------------------------
48987 # Don't pass command-line variables to submakes.
48988 .NOEXPORT:
48989 MAKEOVERRIDES=
48991 # end of Makefile.in