Backport upstream patches to fix ICEs when using -fdebug-types-section.
[official-gcc.git] / main / Makefile.in
blobfbc65f4fb63cc39c4cd7c321636bcae02ebae906
2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
4 # Makefile for directory with subdirs to build.
5 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
6 # 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
7 # Free Software Foundation
9 # This file is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; either version 3 of the License, or
12 # (at your option) any later version.
14 # This program is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 # GNU General Public License for more details.
19 # You should have received a copy of the GNU General Public License
20 # along with this program; see the file COPYING3. If not see
21 # <http://www.gnu.org/licenses/>.
24 # First, test for a proper version of make, but only where one is required.
26 @if gcc
27 ifeq (,$(.VARIABLES)) # The variable .VARIABLES, new with 3.80, is never empty.
28 $(error GNU make version 3.80 or newer is required.)
29 endif
30 @endif gcc
32 # -------------------------------
33 # Standard Autoconf-set variables
34 # -------------------------------
35 VPATH=@srcdir@
37 build_alias=@build_noncanonical@
38 build_vendor=@build_vendor@
39 build_os=@build_os@
40 build=@build@
41 host_alias=@host_noncanonical@
42 host_vendor=@host_vendor@
43 host_os=@host_os@
44 host=@host@
45 target_alias=@target_noncanonical@
46 target_vendor=@target_vendor@
47 target_os=@target_os@
48 target=@target@
50 program_transform_name = @program_transform_name@
52 prefix = @prefix@
53 exec_prefix = @exec_prefix@
55 srcdir = @srcdir@
57 bindir = @bindir@
58 sbindir = @sbindir@
59 libexecdir = @libexecdir@
60 datadir = @datadir@
61 sysconfdir = @sysconfdir@
62 sharedstatedir = @sharedstatedir@
63 localstatedir = @localstatedir@
64 libdir = @libdir@
65 includedir = @includedir@
66 oldincludedir = @oldincludedir@
67 infodir = @infodir@
68 datarootdir = @datarootdir@
69 docdir = @docdir@
70 pdfdir = @pdfdir@
71 htmldir = @htmldir@
72 mandir = @mandir@
73 man1dir = $(mandir)/man1
74 man2dir = $(mandir)/man2
75 man3dir = $(mandir)/man3
76 man4dir = $(mandir)/man4
77 man5dir = $(mandir)/man5
78 man6dir = $(mandir)/man6
79 man7dir = $(mandir)/man7
80 man8dir = $(mandir)/man8
81 man9dir = $(mandir)/man9
83 INSTALL = @INSTALL@
84 INSTALL_PROGRAM = @INSTALL_PROGRAM@
85 INSTALL_SCRIPT = @INSTALL_SCRIPT@
86 INSTALL_DATA = @INSTALL_DATA@
87 LN = @LN@
88 LN_S = @LN_S@
89 MAINT = @MAINT@
90 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
91 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
93 # -------------------------------------------------
94 # Miscellaneous non-standard autoconf-set variables
95 # -------------------------------------------------
97 # The gcc driver likes to know the arguments it was configured with.
98 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
100 tooldir = @tooldir@
101 build_tooldir = @build_tooldir@
103 # This is the name of the environment variable used for the path to
104 # the libraries.
105 RPATH_ENVVAR = @RPATH_ENVVAR@
107 # On targets where RPATH_ENVVAR is PATH, a subdirectory of the GCC build path
108 # is used instead of the directory itself to avoid including built
109 # executables in PATH.
110 GCC_SHLIB_SUBDIR = @GCC_SHLIB_SUBDIR@
112 # Build programs are put under this directory.
113 BUILD_SUBDIR = @build_subdir@
114 # This is set by the configure script to the arguments to use when configuring
115 # directories built for the build system.
116 BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)"
118 # Linker flags to use on the host, for stage1 or when not
119 # bootstrapping.
120 STAGE1_LDFLAGS = @stage1_ldflags@
122 # Libraries to use on the host, for stage1 or when not bootstrapping.
123 STAGE1_LIBS = @stage1_libs@
125 # Linker flags to use for stage2 and later.
126 POSTSTAGE1_LDFLAGS = @poststage1_ldflags@
128 # Libraries to use for stage2 and later.
129 POSTSTAGE1_LIBS = @poststage1_libs@
131 # This is the list of variables to export in the environment when
132 # configuring any subdirectory. It must also be exported whenever
133 # recursing into a build directory in case that directory's Makefile
134 # re-runs configure.
135 BASE_EXPORTS = \
136 FLEX="$(FLEX)"; export FLEX; \
137 LEX="$(LEX)"; export LEX; \
138 BISON="$(BISON)"; export BISON; \
139 YACC="$(YACC)"; export YACC; \
140 M4="$(M4)"; export M4; \
141 SED="$(SED)"; export SED; \
142 AWK="$(AWK)"; export AWK; \
143 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
145 # This is the list of variables to export in the environment when
146 # configuring subdirectories for the build system.
147 BUILD_EXPORTS = \
148 $(BASE_EXPORTS) \
149 AR="$(AR_FOR_BUILD)"; export AR; \
150 AS="$(AS_FOR_BUILD)"; export AS; \
151 CC="$(CC_FOR_BUILD)"; export CC; \
152 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
153 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
154 CXX="$(CXX_FOR_BUILD)"; export CXX; \
155 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
156 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
157 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
158 GOC="$(GOC_FOR_BUILD)"; export GOC; \
159 GOCFLAGS="$(GOCFLAGS_FOR_BUILD)"; export GOCFLAGS; \
160 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
161 LD="$(LD_FOR_BUILD)"; export LD; \
162 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
163 NM="$(NM_FOR_BUILD)"; export NM; \
164 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
165 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
166 WINDMC="$(WINDMC_FOR_BUILD)"; export WINDMC;
168 # These variables must be set on the make command line for directories
169 # built for the build system to override those in BASE_FLAGS_TO_PASSS.
170 EXTRA_BUILD_FLAGS = \
171 CFLAGS="$(CFLAGS_FOR_BUILD)" \
172 LDFLAGS="$(LDFLAGS_FOR_BUILD)"
174 # This is the list of directories to built for the host system.
175 SUBDIRS = @configdirs@
176 TARGET_CONFIGDIRS = @target_configdirs@
177 # This is set by the configure script to the arguments to use when configuring
178 # directories built for the host system.
179 HOST_CONFIGARGS = @host_configargs@
180 # Host programs are put under this directory, which is . except if building
181 # with srcdir=..
182 HOST_SUBDIR = @host_subdir@
183 # This is the list of variables to export in the environment when
184 # configuring subdirectories for the host system. We need to pass
185 # some to the GCC configure because of its hybrid host/target nature.
186 HOST_EXPORTS = \
187 $(BASE_EXPORTS) \
188 CC="$(CC)"; export CC; \
189 ADA_CFLAGS="$(ADA_CFLAGS)"; export ADA_CFLAGS; \
190 CFLAGS="$(CFLAGS)"; export CFLAGS; \
191 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
192 CXX="$(CXX)"; export CXX; \
193 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
194 GCJ="$(GCJ)"; export GCJ; \
195 GFORTRAN="$(GFORTRAN)"; export GFORTRAN; \
196 GOC="$(GOC)"; export GOC; \
197 AR="$(AR)"; export AR; \
198 AS="$(AS)"; export AS; \
199 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
200 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
201 LD="$(LD)"; export LD; \
202 LDFLAGS="$(STAGE1_LDFLAGS) $(LDFLAGS)"; export LDFLAGS; \
203 NM="$(NM)"; export NM; \
204 RANLIB="$(RANLIB)"; export RANLIB; \
205 WINDRES="$(WINDRES)"; export WINDRES; \
206 WINDMC="$(WINDMC)"; export WINDMC; \
207 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
208 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
209 READELF="$(READELF)"; export READELF; \
210 AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
211 AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
212 GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \
213 LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
214 NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
215 OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
216 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
217 READELF_FOR_TARGET="$(READELF_FOR_TARGET)"; export READELF_FOR_TARGET; \
218 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
219 HOST_LIBS="$(STAGE1_LIBS)"; export HOST_LIBS; \
220 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
221 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
222 ISLINC="$(HOST_ISLINC)"; export ISLINC; \
223 CLOOGLIBS="$(HOST_CLOOGLIBS)"; export CLOOGLIBS; \
224 CLOOGINC="$(HOST_CLOOGINC)"; export CLOOGINC; \
225 LIBELFLIBS="$(HOST_LIBELFLIBS)" ; export LIBELFLIBS; \
226 LIBELFINC="$(HOST_LIBELFINC)" ; export LIBELFINC; \
227 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
229 POSTSTAGE1_CXX_EXPORT = \
230 CXX='$(CXX)'; export CXX; \
231 CXX_FOR_BUILD='$(CXX_FOR_BUILD)'; export CXX_FOR_BUILD;
232 @if target-libstdc++-v3-bootstrap
233 # Override the above if we're bootstrapping C++.
234 POSTSTAGE1_CXX_EXPORT = \
235 CXX="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xg++$(exeext) \
236 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \
237 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
238 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
239 -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \
240 -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \
241 -I$$s/libstdc++-v3/libsupc++ \
242 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
243 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs"; \
244 export CXX; \
245 CXX_FOR_BUILD="$$CXX"; export CXX_FOR_BUILD;
246 @endif target-libstdc++-v3-bootstrap
248 # Similar, for later GCC stages.
249 POSTSTAGE1_HOST_EXPORTS = \
250 $(HOST_EXPORTS) \
251 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
252 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ \
253 $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
254 CC_FOR_BUILD="$$CC"; export CC_FOR_BUILD; \
255 $(POSTSTAGE1_CXX_EXPORT) \
256 GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind"; export GNATBIND; \
257 LDFLAGS="$(POSTSTAGE1_LDFLAGS) $(BOOT_LDFLAGS)"; export LDFLAGS; \
258 HOST_LIBS="$(POSTSTAGE1_LIBS)"; export HOST_LIBS;
260 # Target libraries are put under this directory:
261 TARGET_SUBDIR = @target_subdir@
262 # This is set by the configure script to the arguments to use when configuring
263 # directories built for the target.
264 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
265 # This is the list of variables to export in the environment when
266 # configuring subdirectories for the target system.
267 BASE_TARGET_EXPORTS = \
268 $(BASE_EXPORTS) \
269 AR="$(AR_FOR_TARGET)"; export AR; \
270 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
271 CC="$(CC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
272 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
273 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
274 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
275 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
276 GCJ="$(GCJ_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GCJ; \
277 GFORTRAN="$(GFORTRAN_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GFORTRAN; \
278 GOC="$(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GOC; \
279 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
280 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
281 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
282 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
283 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
284 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
285 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
286 READELF="$(READELF_FOR_TARGET)"; export READELF; \
287 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
288 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
289 WINDMC="$(WINDMC_FOR_TARGET)"; export WINDMC; \
290 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
291 TARGET_CONFIGDIRS="$(TARGET_CONFIGDIRS)"; export TARGET_CONFIGDIRS;
293 RAW_CXX_TARGET_EXPORTS = \
294 $(BASE_TARGET_EXPORTS) \
295 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
296 CXX="$(RAW_CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
298 NORMAL_TARGET_EXPORTS = \
299 $(BASE_TARGET_EXPORTS) \
300 CXX="$(CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
302 # Where to find GMP
303 HOST_GMPLIBS = @gmplibs@
304 HOST_GMPINC = @gmpinc@
306 # Where to find ISL
307 HOST_ISLINC = @islinc@
309 # Where to find CLOOG
310 HOST_CLOOGLIBS = @clooglibs@
311 HOST_CLOOGINC = @clooginc@
313 # Where to find libelf
314 HOST_LIBELFLIBS = @libelflibs@
315 HOST_LIBELFINC = @libelfinc@
317 EXTRA_CONFIGARGS_LIBJAVA = @EXTRA_CONFIGARGS_LIBJAVA@
319 # ----------------------------------------------
320 # Programs producing files for the BUILD machine
321 # ----------------------------------------------
323 SHELL = @SHELL@
325 # pwd command to use. Allow user to override default by setting PWDCMD in
326 # the environment to account for automounters. The make variable must not
327 # be called PWDCMD, otherwise the value set here is passed to make
328 # subprocesses and overrides the setting from the user's environment.
329 # Don't use PWD since it is a common shell environment variable and we
330 # don't want to corrupt it.
331 PWD_COMMAND = $${PWDCMD-pwd}
333 # compilers to use to create programs which must be run in the build
334 # environment.
335 AR_FOR_BUILD = @AR_FOR_BUILD@
336 AS_FOR_BUILD = @AS_FOR_BUILD@
337 CC_FOR_BUILD = @CC_FOR_BUILD@
338 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
339 CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
340 CXX_FOR_BUILD = @CXX_FOR_BUILD@
341 DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@
342 GCJ_FOR_BUILD = @GCJ_FOR_BUILD@
343 GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@
344 GOC_FOR_BUILD = @GOC_FOR_BUILD@
345 LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
346 LD_FOR_BUILD = @LD_FOR_BUILD@
347 NM_FOR_BUILD = @NM_FOR_BUILD@
348 RANLIB_FOR_BUILD = @RANLIB_FOR_BUILD@
349 WINDMC_FOR_BUILD = @WINDMC_FOR_BUILD@
350 WINDRES_FOR_BUILD = @WINDRES_FOR_BUILD@
352 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
353 # here so that they can be overridden by Makefile fragments.
354 BUILD_PREFIX = @BUILD_PREFIX@
355 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
357 # Flags to pass to stage2 and later makes. They are defined
358 # here so that they can be overridden by Makefile fragments.
359 BOOT_CFLAGS= -g -O2
360 BOOT_LDFLAGS=
361 BOOT_ADAFLAGS= -gnatpg
363 AWK = @AWK@
364 SED = @SED@
365 BISON = @BISON@
366 YACC = @YACC@
367 FLEX = @FLEX@
368 LEX = @LEX@
369 M4 = @M4@
370 MAKEINFO = @MAKEINFO@
371 EXPECT = @EXPECT@
372 RUNTEST = @RUNTEST@
374 # This just becomes part of the MAKEINFO definition passed down to
375 # sub-makes. It lets flags be given on the command line while still
376 # using the makeinfo from the object tree.
377 # (Default to avoid splitting info files by setting the threshold high.)
378 MAKEINFOFLAGS = --split-size=5000000
380 # ---------------------------------------------
381 # Programs producing files for the HOST machine
382 # ---------------------------------------------
384 AS = @AS@
385 AR = @AR@
386 AR_FLAGS = rc
387 CC = @CC@
388 CXX = @CXX@
389 DLLTOOL = @DLLTOOL@
390 LD = @LD@
391 LIPO = @LIPO@
392 NM = @NM@
393 OBJDUMP = @OBJDUMP@
394 RANLIB = @RANLIB@
395 READELF = @READELF@
396 STRIP = @STRIP@
397 WINDRES = @WINDRES@
398 WINDMC = @WINDMC@
400 GNATBIND = @GNATBIND@
401 GNATMAKE = @GNATMAKE@
403 CFLAGS = @CFLAGS@
404 LDFLAGS = @LDFLAGS@
405 LIBCFLAGS = $(CFLAGS)
406 CXXFLAGS = @CXXFLAGS@
407 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
408 GOCFLAGS = $(CFLAGS)
410 TFLAGS =
412 # Defaults for all stages; some are overridden below.
414 STAGE_CFLAGS = $(BOOT_CFLAGS)
415 STAGE_TFLAGS = $(TFLAGS)
416 STAGE_CONFIGURE_FLAGS=@stage2_werror_flag@
419 # Defaults for stage 1; some are overridden below.
420 STAGE1_CFLAGS = $(STAGE_CFLAGS)
421 STAGE1_CXXFLAGS = $(CXXFLAGS)
422 @if target-libstdc++-v3-bootstrap
423 # Override the above if we're bootstrapping C++.
424 STAGE1_CXXFLAGS = $(STAGE1_CFLAGS)
425 @endif target-libstdc++-v3-bootstrap
426 STAGE1_TFLAGS = $(STAGE_TFLAGS)
427 STAGE1_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
429 # Defaults for stage 2; some are overridden below.
430 STAGE2_CFLAGS = $(STAGE_CFLAGS)
431 STAGE2_CXXFLAGS = $(CXXFLAGS)
432 @if target-libstdc++-v3-bootstrap
433 # Override the above if we're bootstrapping C++.
434 STAGE2_CXXFLAGS = $(STAGE2_CFLAGS)
435 @endif target-libstdc++-v3-bootstrap
436 STAGE2_TFLAGS = $(STAGE_TFLAGS)
437 STAGE2_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
439 # Defaults for stage 3; some are overridden below.
440 STAGE3_CFLAGS = $(STAGE_CFLAGS)
441 STAGE3_CXXFLAGS = $(CXXFLAGS)
442 @if target-libstdc++-v3-bootstrap
443 # Override the above if we're bootstrapping C++.
444 STAGE3_CXXFLAGS = $(STAGE3_CFLAGS)
445 @endif target-libstdc++-v3-bootstrap
446 STAGE3_TFLAGS = $(STAGE_TFLAGS)
447 STAGE3_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
449 # Defaults for stage 4; some are overridden below.
450 STAGE4_CFLAGS = $(STAGE_CFLAGS)
451 STAGE4_CXXFLAGS = $(CXXFLAGS)
452 @if target-libstdc++-v3-bootstrap
453 # Override the above if we're bootstrapping C++.
454 STAGE4_CXXFLAGS = $(STAGE4_CFLAGS)
455 @endif target-libstdc++-v3-bootstrap
456 STAGE4_TFLAGS = $(STAGE_TFLAGS)
457 STAGE4_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
459 # Defaults for stage profile; some are overridden below.
460 STAGEprofile_CFLAGS = $(STAGE_CFLAGS)
461 STAGEprofile_CXXFLAGS = $(CXXFLAGS)
462 @if target-libstdc++-v3-bootstrap
463 # Override the above if we're bootstrapping C++.
464 STAGEprofile_CXXFLAGS = $(STAGEprofile_CFLAGS)
465 @endif target-libstdc++-v3-bootstrap
466 STAGEprofile_TFLAGS = $(STAGE_TFLAGS)
467 STAGEprofile_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
469 # Defaults for stage feedback; some are overridden below.
470 STAGEfeedback_CFLAGS = $(STAGE_CFLAGS)
471 STAGEfeedback_CXXFLAGS = $(CXXFLAGS)
472 @if target-libstdc++-v3-bootstrap
473 # Override the above if we're bootstrapping C++.
474 STAGEfeedback_CXXFLAGS = $(STAGEfeedback_CFLAGS)
475 @endif target-libstdc++-v3-bootstrap
476 STAGEfeedback_TFLAGS = $(STAGE_TFLAGS)
477 STAGEfeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
480 # Only build the C compiler for stage1, because that is the only one that
481 # we can guarantee will build with the native compiler, and also it is the
482 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
483 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
484 # overrideable (for a bootstrap build stage1 also builds gcc.info).
486 STAGE1_CFLAGS = @stage1_cflags@
487 STAGE1_CHECKING = @stage1_checking@
488 STAGE1_LANGUAGES = @stage1_languages@
489 # * We force-disable intermodule optimizations, even if
490 # --enable-intermodule was passed, since the installed compiler
491 # probably can't handle them. Luckily, autoconf always respects
492 # the last argument when conflicting --enable arguments are passed.
493 # * Likewise, we force-disable coverage flags, since the installed
494 # compiler probably has never heard of them.
495 STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \
496 --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
498 STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate
499 STAGEprofile_TFLAGS = $(STAGE2_TFLAGS)
501 STAGEfeedback_CFLAGS = $(STAGE3_CFLAGS) -fprofile-use
502 STAGEfeedback_TFLAGS = $(STAGE3_TFLAGS)
504 do-compare = @do_compare@
505 do-compare3 = $(do-compare)
507 # -----------------------------------------------
508 # Programs producing files for the TARGET machine
509 # -----------------------------------------------
511 AR_FOR_TARGET=@AR_FOR_TARGET@
512 AS_FOR_TARGET=@AS_FOR_TARGET@
513 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@
515 # If GCC_FOR_TARGET is not overriden on the command line, then this
516 # variable is passed down to the gcc Makefile, where it is used to
517 # build libgcc2.a. We define it here so that it can itself be
518 # overridden on the command line.
519 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@
520 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@
521 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@
522 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@
523 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@
524 GOC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GOC_FOR_TARGET@
525 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
526 LD_FOR_TARGET=@LD_FOR_TARGET@
528 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
529 NM_FOR_TARGET=@NM_FOR_TARGET@
530 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
531 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
532 READELF_FOR_TARGET=@READELF_FOR_TARGET@
533 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
534 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
535 WINDMC_FOR_TARGET=@WINDMC_FOR_TARGET@
537 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
538 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
539 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
541 CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@
542 CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
544 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
545 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
546 LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@
547 GOCFLAGS_FOR_TARGET = -O2 -g
549 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
550 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
551 DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@
553 XGCC_FLAGS_FOR_TARGET = $(FLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)
555 # ------------------------------------
556 # Miscellaneous targets and flag lists
557 # ------------------------------------
559 # The first rule in the file had better be this one. Don't put any above it.
560 # This lives here to allow makefile fragments to contain dependencies.
561 all:
563 #### host and target specific makefile fragments come in here.
564 @target_makefile_frag@
565 @alphaieee_frag@
566 @ospace_frag@
567 @host_makefile_frag@
570 # This is the list of directories that may be needed in RPATH_ENVVAR
571 # so that programs built for the target machine work.
572 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libsanitizer)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(TARGET_LIB_PATH_libitm)$(TARGET_LIB_PATH_libatomic)$(HOST_LIB_PATH_gcc)
574 @if target-libstdc++-v3
575 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
576 @endif target-libstdc++-v3
578 @if target-libmudflap
579 TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs:
580 @endif target-libmudflap
582 @if target-libsanitizer
583 TARGET_LIB_PATH_libsanitizer = $$r/$(TARGET_SUBDIR)/libsanitizer/.libs:
584 @endif target-libsanitizer
586 @if target-libssp
587 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
588 @endif target-libssp
590 @if target-libgomp
591 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
592 @endif target-libgomp
594 @if target-libitm
595 TARGET_LIB_PATH_libitm = $$r/$(TARGET_SUBDIR)/libitm/.libs:
596 @endif target-libitm
598 @if target-libatomic
599 TARGET_LIB_PATH_libatomic = $$r/$(TARGET_SUBDIR)/libatomic/.libs:
600 @endif target-libatomic
604 # This is the list of directories that may be needed in RPATH_ENVVAR
605 # so that programs built for the host machine work.
606 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)
608 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
609 @if gcc
610 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc$(GCC_SHLIB_SUBDIR):$$r/$(HOST_SUBDIR)/prev-gcc$(GCC_SHLIB_SUBDIR):
611 @endif gcc
614 @if gmp
615 HOST_LIB_PATH_gmp = \
616 $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
617 @endif gmp
619 @if mpfr
620 HOST_LIB_PATH_mpfr = \
621 $$r/$(HOST_SUBDIR)/mpfr/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/.libs:
622 @endif mpfr
624 @if mpc
625 HOST_LIB_PATH_mpc = \
626 $$r/$(HOST_SUBDIR)/mpc/.libs:$$r/$(HOST_SUBDIR)/prev-mpc/.libs:
627 @endif mpc
629 @if isl
630 HOST_LIB_PATH_isl = \
631 $$r/$(HOST_SUBDIR)/isl/.libs:$$r/$(HOST_SUBDIR)/prev-isl/.libs:
632 @endif isl
634 @if cloog
635 HOST_LIB_PATH_cloog = \
636 $$r/$(HOST_SUBDIR)/cloog/.libs:$$r/$(HOST_SUBDIR)/prev-cloog/.libs:
637 @endif cloog
639 @if libelf
640 HOST_LIB_PATH_libelf = \
641 $$r/$(HOST_SUBDIR)/libelf/.libs:$$r/$(HOST_SUBDIR)/prev-libelf/.libs:
642 @endif libelf
645 CXX_FOR_TARGET_FLAG_TO_PASS = \
646 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)"
647 @if target-libstdc++-v3
648 # CXX_FOR_TARGET is tricky to get right for target libs that require a
649 # functional C++ compiler. When we recurse, if we expand
650 # CXX_FOR_TARGET before configuring libstdc++-v3, we won't get
651 # libstdc++ include flags from the script. Instead, we get an
652 # -funconfigured-* word, so that we'll get errors if this invalid C++
653 # command line is used for anything, but also so that we can use the
654 # word to decide whether or not to pass on this CXX_FOR_TARGET. If we
655 # don't pass it on, sub-make will use the default definition, that
656 # re-expands it at the time of use, so we'll get it right when we need
657 # it. One potential exception is the expansion of CXX_FOR_TARGET
658 # passed down as part of CXX within TARGET_FLAGS, but this wouldn't
659 # really work, for C++ host programs can't depend on the current-stage
660 # C++ target library.
661 CXX_FOR_TARGET_FLAG_TO_PASS = \
662 $(shell if echo "$(CXX_FOR_TARGET)" | grep " -funconfigured-" > /dev/null; then :; else echo '"CXX_FOR_TARGET=$(CXX_FOR_TARGET)"'; fi)
663 @endif target-libstdc++-v3
665 # Flags to pass down to all sub-makes.
666 BASE_FLAGS_TO_PASS = \
667 "DESTDIR=$(DESTDIR)" \
668 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
669 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
670 "bindir=$(bindir)" \
671 "datadir=$(datadir)" \
672 "exec_prefix=$(exec_prefix)" \
673 "includedir=$(includedir)" \
674 "datarootdir=$(datarootdir)" \
675 "docdir=$(docdir)" \
676 "infodir=$(infodir)" \
677 "pdfdir=$(pdfdir)" \
678 "htmldir=$(htmldir)" \
679 "libdir=$(libdir)" \
680 "libexecdir=$(libexecdir)" \
681 "lispdir=$(lispdir)" \
682 "localstatedir=$(localstatedir)" \
683 "mandir=$(mandir)" \
684 "oldincludedir=$(oldincludedir)" \
685 "prefix=$(prefix)" \
686 "sbindir=$(sbindir)" \
687 "sharedstatedir=$(sharedstatedir)" \
688 "sysconfdir=$(sysconfdir)" \
689 "tooldir=$(tooldir)" \
690 "build_tooldir=$(build_tooldir)" \
691 "target_alias=$(target_alias)" \
692 "AWK=$(AWK)" \
693 "BISON=$(BISON)" \
694 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
695 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
696 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
697 "EXPECT=$(EXPECT)" \
698 "FLEX=$(FLEX)" \
699 "INSTALL=$(INSTALL)" \
700 "INSTALL_DATA=$(INSTALL_DATA)" \
701 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
702 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
703 "LDFLAGS_FOR_BUILD=$(LDFLAGS_FOR_BUILD)" \
704 "LEX=$(LEX)" \
705 "M4=$(M4)" \
706 "MAKE=$(MAKE)" \
707 "RUNTEST=$(RUNTEST)" \
708 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
709 "SED=$(SED)" \
710 "SHELL=$(SHELL)" \
711 "YACC=$(YACC)" \
712 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
713 "ADA_CFLAGS=$(ADA_CFLAGS)" \
714 "AR_FLAGS=$(AR_FLAGS)" \
715 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
716 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
717 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
718 "CFLAGS=$(CFLAGS)" \
719 "CXXFLAGS=$(CXXFLAGS)" \
720 "LDFLAGS=$(LDFLAGS)" \
721 "LIBCFLAGS=$(LIBCFLAGS)" \
722 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
723 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
724 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
725 "GNATBIND=$(GNATBIND)" \
726 "GNATMAKE=$(GNATMAKE)" \
727 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
728 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
729 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
730 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
731 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
732 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
733 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
734 "FLAGS_FOR_TARGET=$(FLAGS_FOR_TARGET)" \
735 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
736 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
737 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
738 "GOCFLAGS_FOR_TARGET=$(GOCFLAGS_FOR_TARGET)" \
739 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
740 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
741 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
742 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
743 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
744 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
745 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
746 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
747 "READELF_FOR_TARGET=$(READELF_FOR_TARGET)" \
748 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
749 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
750 "WINDMC_FOR_TARGET=$(WINDMC_FOR_TARGET)" \
751 "BUILD_CONFIG=$(BUILD_CONFIG)" \
752 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
753 "LEAN=$(LEAN)" \
754 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
755 "STAGE1_CXXFLAGS=$(STAGE1_CXXFLAGS)" \
756 "STAGE1_TFLAGS=$(STAGE1_TFLAGS)" \
757 "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \
758 "STAGE2_CXXFLAGS=$(STAGE2_CXXFLAGS)" \
759 "STAGE2_TFLAGS=$(STAGE2_TFLAGS)" \
760 "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \
761 "STAGE3_CXXFLAGS=$(STAGE3_CXXFLAGS)" \
762 "STAGE3_TFLAGS=$(STAGE3_TFLAGS)" \
763 "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \
764 "STAGE4_CXXFLAGS=$(STAGE4_CXXFLAGS)" \
765 "STAGE4_TFLAGS=$(STAGE4_TFLAGS)" \
766 "STAGEprofile_CFLAGS=$(STAGEprofile_CFLAGS)" \
767 "STAGEprofile_CXXFLAGS=$(STAGEprofile_CXXFLAGS)" \
768 "STAGEprofile_TFLAGS=$(STAGEprofile_TFLAGS)" \
769 "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \
770 "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \
771 "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \
772 $(CXX_FOR_TARGET_FLAG_TO_PASS) \
773 "TFLAGS=$(TFLAGS)" \
774 "CONFIG_SHELL=$(SHELL)" \
775 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
777 # We leave this in just in case, but it is not needed anymore.
778 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
780 # Flags to pass down to most sub-makes, in which we're building with
781 # the host environment.
782 EXTRA_HOST_FLAGS = \
783 'AR=$(AR)' \
784 'AS=$(AS)' \
785 'CC=$(CC)' \
786 'CXX=$(CXX)' \
787 'DLLTOOL=$(DLLTOOL)' \
788 'GCJ=$(GCJ)' \
789 'GFORTRAN=$(GFORTRAN)' \
790 'GOC=$(GOC)' \
791 'LD=$(LD)' \
792 'LIPO=$(LIPO)' \
793 'NM=$(NM)' \
794 'OBJDUMP=$(OBJDUMP)' \
795 'RANLIB=$(RANLIB)' \
796 'READELF=$(READELF)' \
797 'STRIP=$(STRIP)' \
798 'WINDRES=$(WINDRES)' \
799 'WINDMC=$(WINDMC)'
801 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
803 # Flags to pass to stage1 or when not bootstrapping.
805 STAGE1_FLAGS_TO_PASS = \
806 LDFLAGS="$${LDFLAGS}" \
807 HOST_LIBS="$${HOST_LIBS}"
809 # Flags to pass to stage2 and later makes.
811 POSTSTAGE1_FLAGS_TO_PASS = \
812 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
813 CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \
814 GNATBIND="$${GNATBIND}" \
815 LDFLAGS="$${LDFLAGS}" \
816 HOST_LIBS="$${HOST_LIBS}" \
817 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
819 # Flags to pass down to makes which are built with the target environment.
820 # The double $ decreases the length of the command line; those variables
821 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
822 # *_CFLAGS_FOR_TARGET variables are not passed down and most often empty,
823 # so we expand them here.
824 EXTRA_TARGET_FLAGS = \
825 'AR=$$(AR_FOR_TARGET)' \
826 'AS=$(COMPILER_AS_FOR_TARGET)' \
827 'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
828 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
829 'CXX=$$(CXX_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
830 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
831 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
832 'GCJ=$$(GCJ_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
833 'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
834 'GOC=$$(GOC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
835 'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \
836 'LD=$(COMPILER_LD_FOR_TARGET)' \
837 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
838 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
839 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
840 'NM=$(COMPILER_NM_FOR_TARGET)' \
841 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
842 'RANLIB=$$(RANLIB_FOR_TARGET)' \
843 'READELF=$$(READELF_FOR_TARGET)' \
844 'WINDRES=$$(WINDRES_FOR_TARGET)' \
845 'WINDMC=$$(WINDMC_FOR_TARGET)' \
846 'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \
847 "TFLAGS=$$TFLAGS"
849 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
851 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
852 # unfortunately needs the native compiler and the target ar and
853 # ranlib.
854 # If any variables are added here, they must be added to do-*, below.
855 # The BUILD_* variables are a special case, which are used for the gcc
856 # cross-building scheme.
857 EXTRA_GCC_FLAGS = \
858 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
859 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
860 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
862 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
864 @if gcc
865 BUILD_CONFIG = @BUILD_CONFIG@
866 ifneq ($(BUILD_CONFIG),)
867 include $(foreach CONFIG, $(BUILD_CONFIG), $(srcdir)/config/$(CONFIG).mk)
868 endif
869 @endif gcc
871 .PHONY: configure-host
872 configure-host: \
873 maybe-configure-bfd \
874 maybe-configure-opcodes \
875 maybe-configure-binutils \
876 maybe-configure-bison \
877 maybe-configure-cgen \
878 maybe-configure-dejagnu \
879 maybe-configure-etc \
880 maybe-configure-fastjar \
881 maybe-configure-fixincludes \
882 maybe-configure-flex \
883 maybe-configure-gas \
884 maybe-configure-gcc \
885 maybe-configure-gmp \
886 maybe-configure-mpfr \
887 maybe-configure-mpc \
888 maybe-configure-isl \
889 maybe-configure-cloog \
890 maybe-configure-libelf \
891 maybe-configure-gold \
892 maybe-configure-gprof \
893 maybe-configure-intl \
894 maybe-configure-tcl \
895 maybe-configure-itcl \
896 maybe-configure-ld \
897 maybe-configure-libbacktrace \
898 maybe-configure-libcpp \
899 maybe-configure-libdecnumber \
900 maybe-configure-libgui \
901 maybe-configure-libiberty \
902 maybe-configure-libiconv \
903 maybe-configure-m4 \
904 maybe-configure-readline \
905 maybe-configure-sid \
906 maybe-configure-sim \
907 maybe-configure-texinfo \
908 maybe-configure-zlib \
909 maybe-configure-gdb \
910 maybe-configure-expect \
911 maybe-configure-guile \
912 maybe-configure-tk \
913 maybe-configure-libtermcap \
914 maybe-configure-utils \
915 maybe-configure-gnattools \
916 maybe-configure-lto-plugin \
917 maybe-configure-function_reordering_plugin
918 .PHONY: configure-target
919 configure-target: \
920 maybe-configure-target-libstdc++-v3 \
921 maybe-configure-target-libmudflap \
922 maybe-configure-target-libsanitizer \
923 maybe-configure-target-libssp \
924 maybe-configure-target-newlib \
925 maybe-configure-target-libgcc \
926 maybe-configure-target-libbacktrace \
927 maybe-configure-target-libquadmath \
928 maybe-configure-target-libgfortran \
929 maybe-configure-target-libobjc \
930 maybe-configure-target-libgo \
931 maybe-configure-target-libtermcap \
932 maybe-configure-target-winsup \
933 maybe-configure-target-libgloss \
934 maybe-configure-target-libffi \
935 maybe-configure-target-libjava \
936 maybe-configure-target-zlib \
937 maybe-configure-target-boehm-gc \
938 maybe-configure-target-rda \
939 maybe-configure-target-libada \
940 maybe-configure-target-libgomp \
941 maybe-configure-target-libitm \
942 maybe-configure-target-libatomic
944 # The target built for a native non-bootstrap build.
945 .PHONY: all
946 all:
947 @if gcc-bootstrap
948 [ -f stage_final ] || echo stage3 > stage_final
949 @r=`${PWD_COMMAND}`; export r; \
950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
951 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
952 @endif gcc-bootstrap
953 @: $(MAKE); $(unstage)
954 @r=`${PWD_COMMAND}`; export r; \
955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
956 @if gcc-bootstrap
957 if [ -f stage_last ]; then \
958 TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \
959 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
960 else \
961 @endif gcc-bootstrap
962 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
963 @if gcc-bootstrap
965 fi \
966 @endif gcc-bootstrap
967 && :
969 .PHONY: all-build
971 all-build: maybe-all-build-libiberty
972 all-build: maybe-all-build-bison
973 all-build: maybe-all-build-flex
974 all-build: maybe-all-build-m4
975 all-build: maybe-all-build-texinfo
976 all-build: maybe-all-build-fixincludes
978 .PHONY: all-host
980 @if bfd-no-bootstrap
981 all-host: maybe-all-bfd
982 @endif bfd-no-bootstrap
983 @if opcodes-no-bootstrap
984 all-host: maybe-all-opcodes
985 @endif opcodes-no-bootstrap
986 @if binutils-no-bootstrap
987 all-host: maybe-all-binutils
988 @endif binutils-no-bootstrap
989 all-host: maybe-all-bison
990 all-host: maybe-all-cgen
991 all-host: maybe-all-dejagnu
992 all-host: maybe-all-etc
993 all-host: maybe-all-fastjar
994 all-host: maybe-all-fixincludes
995 all-host: maybe-all-flex
996 @if gas-no-bootstrap
997 all-host: maybe-all-gas
998 @endif gas-no-bootstrap
999 @if gcc-no-bootstrap
1000 all-host: maybe-all-gcc
1001 @endif gcc-no-bootstrap
1002 @if gmp-no-bootstrap
1003 all-host: maybe-all-gmp
1004 @endif gmp-no-bootstrap
1005 @if mpfr-no-bootstrap
1006 all-host: maybe-all-mpfr
1007 @endif mpfr-no-bootstrap
1008 @if mpc-no-bootstrap
1009 all-host: maybe-all-mpc
1010 @endif mpc-no-bootstrap
1011 @if isl-no-bootstrap
1012 all-host: maybe-all-isl
1013 @endif isl-no-bootstrap
1014 @if cloog-no-bootstrap
1015 all-host: maybe-all-cloog
1016 @endif cloog-no-bootstrap
1017 @if libelf-no-bootstrap
1018 all-host: maybe-all-libelf
1019 @endif libelf-no-bootstrap
1020 @if gold-no-bootstrap
1021 all-host: maybe-all-gold
1022 @endif gold-no-bootstrap
1023 all-host: maybe-all-gprof
1024 @if intl-no-bootstrap
1025 all-host: maybe-all-intl
1026 @endif intl-no-bootstrap
1027 all-host: maybe-all-tcl
1028 all-host: maybe-all-itcl
1029 @if ld-no-bootstrap
1030 all-host: maybe-all-ld
1031 @endif ld-no-bootstrap
1032 @if libbacktrace-no-bootstrap
1033 all-host: maybe-all-libbacktrace
1034 @endif libbacktrace-no-bootstrap
1035 @if libcpp-no-bootstrap
1036 all-host: maybe-all-libcpp
1037 @endif libcpp-no-bootstrap
1038 @if libdecnumber-no-bootstrap
1039 all-host: maybe-all-libdecnumber
1040 @endif libdecnumber-no-bootstrap
1041 all-host: maybe-all-libgui
1042 @if libiberty-no-bootstrap
1043 all-host: maybe-all-libiberty
1044 @endif libiberty-no-bootstrap
1045 all-host: maybe-all-libiconv
1046 all-host: maybe-all-m4
1047 all-host: maybe-all-readline
1048 all-host: maybe-all-sid
1049 all-host: maybe-all-sim
1050 all-host: maybe-all-texinfo
1051 @if zlib-no-bootstrap
1052 all-host: maybe-all-zlib
1053 @endif zlib-no-bootstrap
1054 all-host: maybe-all-gdb
1055 all-host: maybe-all-expect
1056 all-host: maybe-all-guile
1057 all-host: maybe-all-tk
1058 all-host: maybe-all-libtermcap
1059 all-host: maybe-all-utils
1060 all-host: maybe-all-gnattools
1061 @if lto-plugin-no-bootstrap
1062 all-host: maybe-all-lto-plugin
1063 @endif lto-plugin-no-bootstrap
1064 @if function_reordering_plugin-no-bootstrap
1065 all-host: maybe-all-function_reordering_plugin
1066 @endif function_reordering_plugin-no-bootstrap
1068 .PHONY: all-target
1070 @if target-libstdc++-v3-no-bootstrap
1071 all-target: maybe-all-target-libstdc++-v3
1072 @endif target-libstdc++-v3-no-bootstrap
1073 all-target: maybe-all-target-libmudflap
1074 @if target-libsanitizer-no-bootstrap
1075 all-target: maybe-all-target-libsanitizer
1076 @endif target-libsanitizer-no-bootstrap
1077 all-target: maybe-all-target-libssp
1078 all-target: maybe-all-target-newlib
1079 @if target-libgcc-no-bootstrap
1080 all-target: maybe-all-target-libgcc
1081 @endif target-libgcc-no-bootstrap
1082 all-target: maybe-all-target-libbacktrace
1083 all-target: maybe-all-target-libquadmath
1084 all-target: maybe-all-target-libgfortran
1085 all-target: maybe-all-target-libobjc
1086 all-target: maybe-all-target-libgo
1087 all-target: maybe-all-target-libtermcap
1088 all-target: maybe-all-target-winsup
1089 all-target: maybe-all-target-libgloss
1090 all-target: maybe-all-target-libffi
1091 all-target: maybe-all-target-libjava
1092 all-target: maybe-all-target-zlib
1093 all-target: maybe-all-target-boehm-gc
1094 all-target: maybe-all-target-rda
1095 all-target: maybe-all-target-libada
1096 @if target-libgomp-no-bootstrap
1097 all-target: maybe-all-target-libgomp
1098 @endif target-libgomp-no-bootstrap
1099 all-target: maybe-all-target-libitm
1100 all-target: maybe-all-target-libatomic
1102 # Do a target for all the subdirectories. A ``make do-X'' will do a
1103 # ``make X'' in all subdirectories (because, in general, there is a
1104 # dependency (below) of X upon do-X, a ``make X'' will also do this,
1105 # but it may do additional work as well).
1107 .PHONY: do-info
1108 do-info:
1109 @: $(MAKE); $(unstage)
1110 @r=`${PWD_COMMAND}`; export r; \
1111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1112 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
1113 info-target
1116 .PHONY: info-host
1118 info-host: maybe-info-bfd
1119 info-host: maybe-info-opcodes
1120 info-host: maybe-info-binutils
1121 info-host: maybe-info-bison
1122 info-host: maybe-info-cgen
1123 info-host: maybe-info-dejagnu
1124 info-host: maybe-info-etc
1125 info-host: maybe-info-fastjar
1126 info-host: maybe-info-fixincludes
1127 info-host: maybe-info-flex
1128 info-host: maybe-info-gas
1129 info-host: maybe-info-gcc
1130 info-host: maybe-info-gmp
1131 info-host: maybe-info-mpfr
1132 info-host: maybe-info-mpc
1133 info-host: maybe-info-isl
1134 info-host: maybe-info-cloog
1135 info-host: maybe-info-libelf
1136 info-host: maybe-info-gold
1137 info-host: maybe-info-gprof
1138 info-host: maybe-info-intl
1139 info-host: maybe-info-tcl
1140 info-host: maybe-info-itcl
1141 info-host: maybe-info-ld
1142 info-host: maybe-info-libbacktrace
1143 info-host: maybe-info-libcpp
1144 info-host: maybe-info-libdecnumber
1145 info-host: maybe-info-libgui
1146 info-host: maybe-info-libiberty
1147 info-host: maybe-info-libiconv
1148 info-host: maybe-info-m4
1149 info-host: maybe-info-readline
1150 info-host: maybe-info-sid
1151 info-host: maybe-info-sim
1152 info-host: maybe-info-texinfo
1153 info-host: maybe-info-zlib
1154 info-host: maybe-info-gdb
1155 info-host: maybe-info-expect
1156 info-host: maybe-info-guile
1157 info-host: maybe-info-tk
1158 info-host: maybe-info-libtermcap
1159 info-host: maybe-info-utils
1160 info-host: maybe-info-gnattools
1161 info-host: maybe-info-lto-plugin
1162 info-host: maybe-info-function_reordering_plugin
1164 .PHONY: info-target
1166 info-target: maybe-info-target-libstdc++-v3
1167 info-target: maybe-info-target-libmudflap
1168 info-target: maybe-info-target-libsanitizer
1169 info-target: maybe-info-target-libssp
1170 info-target: maybe-info-target-newlib
1171 info-target: maybe-info-target-libgcc
1172 info-target: maybe-info-target-libbacktrace
1173 info-target: maybe-info-target-libquadmath
1174 info-target: maybe-info-target-libgfortran
1175 info-target: maybe-info-target-libobjc
1176 info-target: maybe-info-target-libgo
1177 info-target: maybe-info-target-libtermcap
1178 info-target: maybe-info-target-winsup
1179 info-target: maybe-info-target-libgloss
1180 info-target: maybe-info-target-libffi
1181 info-target: maybe-info-target-libjava
1182 info-target: maybe-info-target-zlib
1183 info-target: maybe-info-target-boehm-gc
1184 info-target: maybe-info-target-rda
1185 info-target: maybe-info-target-libada
1186 info-target: maybe-info-target-libgomp
1187 info-target: maybe-info-target-libitm
1188 info-target: maybe-info-target-libatomic
1190 .PHONY: do-dvi
1191 do-dvi:
1192 @: $(MAKE); $(unstage)
1193 @r=`${PWD_COMMAND}`; export r; \
1194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1195 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1196 dvi-target
1199 .PHONY: dvi-host
1201 dvi-host: maybe-dvi-bfd
1202 dvi-host: maybe-dvi-opcodes
1203 dvi-host: maybe-dvi-binutils
1204 dvi-host: maybe-dvi-bison
1205 dvi-host: maybe-dvi-cgen
1206 dvi-host: maybe-dvi-dejagnu
1207 dvi-host: maybe-dvi-etc
1208 dvi-host: maybe-dvi-fastjar
1209 dvi-host: maybe-dvi-fixincludes
1210 dvi-host: maybe-dvi-flex
1211 dvi-host: maybe-dvi-gas
1212 dvi-host: maybe-dvi-gcc
1213 dvi-host: maybe-dvi-gmp
1214 dvi-host: maybe-dvi-mpfr
1215 dvi-host: maybe-dvi-mpc
1216 dvi-host: maybe-dvi-isl
1217 dvi-host: maybe-dvi-cloog
1218 dvi-host: maybe-dvi-libelf
1219 dvi-host: maybe-dvi-gold
1220 dvi-host: maybe-dvi-gprof
1221 dvi-host: maybe-dvi-intl
1222 dvi-host: maybe-dvi-tcl
1223 dvi-host: maybe-dvi-itcl
1224 dvi-host: maybe-dvi-ld
1225 dvi-host: maybe-dvi-libbacktrace
1226 dvi-host: maybe-dvi-libcpp
1227 dvi-host: maybe-dvi-libdecnumber
1228 dvi-host: maybe-dvi-libgui
1229 dvi-host: maybe-dvi-libiberty
1230 dvi-host: maybe-dvi-libiconv
1231 dvi-host: maybe-dvi-m4
1232 dvi-host: maybe-dvi-readline
1233 dvi-host: maybe-dvi-sid
1234 dvi-host: maybe-dvi-sim
1235 dvi-host: maybe-dvi-texinfo
1236 dvi-host: maybe-dvi-zlib
1237 dvi-host: maybe-dvi-gdb
1238 dvi-host: maybe-dvi-expect
1239 dvi-host: maybe-dvi-guile
1240 dvi-host: maybe-dvi-tk
1241 dvi-host: maybe-dvi-libtermcap
1242 dvi-host: maybe-dvi-utils
1243 dvi-host: maybe-dvi-gnattools
1244 dvi-host: maybe-dvi-lto-plugin
1245 dvi-host: maybe-dvi-function_reordering_plugin
1247 .PHONY: dvi-target
1249 dvi-target: maybe-dvi-target-libstdc++-v3
1250 dvi-target: maybe-dvi-target-libmudflap
1251 dvi-target: maybe-dvi-target-libsanitizer
1252 dvi-target: maybe-dvi-target-libssp
1253 dvi-target: maybe-dvi-target-newlib
1254 dvi-target: maybe-dvi-target-libgcc
1255 dvi-target: maybe-dvi-target-libbacktrace
1256 dvi-target: maybe-dvi-target-libquadmath
1257 dvi-target: maybe-dvi-target-libgfortran
1258 dvi-target: maybe-dvi-target-libobjc
1259 dvi-target: maybe-dvi-target-libgo
1260 dvi-target: maybe-dvi-target-libtermcap
1261 dvi-target: maybe-dvi-target-winsup
1262 dvi-target: maybe-dvi-target-libgloss
1263 dvi-target: maybe-dvi-target-libffi
1264 dvi-target: maybe-dvi-target-libjava
1265 dvi-target: maybe-dvi-target-zlib
1266 dvi-target: maybe-dvi-target-boehm-gc
1267 dvi-target: maybe-dvi-target-rda
1268 dvi-target: maybe-dvi-target-libada
1269 dvi-target: maybe-dvi-target-libgomp
1270 dvi-target: maybe-dvi-target-libitm
1271 dvi-target: maybe-dvi-target-libatomic
1273 .PHONY: do-pdf
1274 do-pdf:
1275 @: $(MAKE); $(unstage)
1276 @r=`${PWD_COMMAND}`; export r; \
1277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1278 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1279 pdf-target
1282 .PHONY: pdf-host
1284 pdf-host: maybe-pdf-bfd
1285 pdf-host: maybe-pdf-opcodes
1286 pdf-host: maybe-pdf-binutils
1287 pdf-host: maybe-pdf-bison
1288 pdf-host: maybe-pdf-cgen
1289 pdf-host: maybe-pdf-dejagnu
1290 pdf-host: maybe-pdf-etc
1291 pdf-host: maybe-pdf-fastjar
1292 pdf-host: maybe-pdf-fixincludes
1293 pdf-host: maybe-pdf-flex
1294 pdf-host: maybe-pdf-gas
1295 pdf-host: maybe-pdf-gcc
1296 pdf-host: maybe-pdf-gmp
1297 pdf-host: maybe-pdf-mpfr
1298 pdf-host: maybe-pdf-mpc
1299 pdf-host: maybe-pdf-isl
1300 pdf-host: maybe-pdf-cloog
1301 pdf-host: maybe-pdf-libelf
1302 pdf-host: maybe-pdf-gold
1303 pdf-host: maybe-pdf-gprof
1304 pdf-host: maybe-pdf-intl
1305 pdf-host: maybe-pdf-tcl
1306 pdf-host: maybe-pdf-itcl
1307 pdf-host: maybe-pdf-ld
1308 pdf-host: maybe-pdf-libbacktrace
1309 pdf-host: maybe-pdf-libcpp
1310 pdf-host: maybe-pdf-libdecnumber
1311 pdf-host: maybe-pdf-libgui
1312 pdf-host: maybe-pdf-libiberty
1313 pdf-host: maybe-pdf-libiconv
1314 pdf-host: maybe-pdf-m4
1315 pdf-host: maybe-pdf-readline
1316 pdf-host: maybe-pdf-sid
1317 pdf-host: maybe-pdf-sim
1318 pdf-host: maybe-pdf-texinfo
1319 pdf-host: maybe-pdf-zlib
1320 pdf-host: maybe-pdf-gdb
1321 pdf-host: maybe-pdf-expect
1322 pdf-host: maybe-pdf-guile
1323 pdf-host: maybe-pdf-tk
1324 pdf-host: maybe-pdf-libtermcap
1325 pdf-host: maybe-pdf-utils
1326 pdf-host: maybe-pdf-gnattools
1327 pdf-host: maybe-pdf-lto-plugin
1328 pdf-host: maybe-pdf-function_reordering_plugin
1330 .PHONY: pdf-target
1332 pdf-target: maybe-pdf-target-libstdc++-v3
1333 pdf-target: maybe-pdf-target-libmudflap
1334 pdf-target: maybe-pdf-target-libsanitizer
1335 pdf-target: maybe-pdf-target-libssp
1336 pdf-target: maybe-pdf-target-newlib
1337 pdf-target: maybe-pdf-target-libgcc
1338 pdf-target: maybe-pdf-target-libbacktrace
1339 pdf-target: maybe-pdf-target-libquadmath
1340 pdf-target: maybe-pdf-target-libgfortran
1341 pdf-target: maybe-pdf-target-libobjc
1342 pdf-target: maybe-pdf-target-libgo
1343 pdf-target: maybe-pdf-target-libtermcap
1344 pdf-target: maybe-pdf-target-winsup
1345 pdf-target: maybe-pdf-target-libgloss
1346 pdf-target: maybe-pdf-target-libffi
1347 pdf-target: maybe-pdf-target-libjava
1348 pdf-target: maybe-pdf-target-zlib
1349 pdf-target: maybe-pdf-target-boehm-gc
1350 pdf-target: maybe-pdf-target-rda
1351 pdf-target: maybe-pdf-target-libada
1352 pdf-target: maybe-pdf-target-libgomp
1353 pdf-target: maybe-pdf-target-libitm
1354 pdf-target: maybe-pdf-target-libatomic
1356 .PHONY: do-html
1357 do-html:
1358 @: $(MAKE); $(unstage)
1359 @r=`${PWD_COMMAND}`; export r; \
1360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1361 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1362 html-target
1365 .PHONY: html-host
1367 html-host: maybe-html-bfd
1368 html-host: maybe-html-opcodes
1369 html-host: maybe-html-binutils
1370 html-host: maybe-html-bison
1371 html-host: maybe-html-cgen
1372 html-host: maybe-html-dejagnu
1373 html-host: maybe-html-etc
1374 html-host: maybe-html-fastjar
1375 html-host: maybe-html-fixincludes
1376 html-host: maybe-html-flex
1377 html-host: maybe-html-gas
1378 html-host: maybe-html-gcc
1379 html-host: maybe-html-gmp
1380 html-host: maybe-html-mpfr
1381 html-host: maybe-html-mpc
1382 html-host: maybe-html-isl
1383 html-host: maybe-html-cloog
1384 html-host: maybe-html-libelf
1385 html-host: maybe-html-gold
1386 html-host: maybe-html-gprof
1387 html-host: maybe-html-intl
1388 html-host: maybe-html-tcl
1389 html-host: maybe-html-itcl
1390 html-host: maybe-html-ld
1391 html-host: maybe-html-libbacktrace
1392 html-host: maybe-html-libcpp
1393 html-host: maybe-html-libdecnumber
1394 html-host: maybe-html-libgui
1395 html-host: maybe-html-libiberty
1396 html-host: maybe-html-libiconv
1397 html-host: maybe-html-m4
1398 html-host: maybe-html-readline
1399 html-host: maybe-html-sid
1400 html-host: maybe-html-sim
1401 html-host: maybe-html-texinfo
1402 html-host: maybe-html-zlib
1403 html-host: maybe-html-gdb
1404 html-host: maybe-html-expect
1405 html-host: maybe-html-guile
1406 html-host: maybe-html-tk
1407 html-host: maybe-html-libtermcap
1408 html-host: maybe-html-utils
1409 html-host: maybe-html-gnattools
1410 html-host: maybe-html-lto-plugin
1411 html-host: maybe-html-function_reordering_plugin
1413 .PHONY: html-target
1415 html-target: maybe-html-target-libstdc++-v3
1416 html-target: maybe-html-target-libmudflap
1417 html-target: maybe-html-target-libsanitizer
1418 html-target: maybe-html-target-libssp
1419 html-target: maybe-html-target-newlib
1420 html-target: maybe-html-target-libgcc
1421 html-target: maybe-html-target-libbacktrace
1422 html-target: maybe-html-target-libquadmath
1423 html-target: maybe-html-target-libgfortran
1424 html-target: maybe-html-target-libobjc
1425 html-target: maybe-html-target-libgo
1426 html-target: maybe-html-target-libtermcap
1427 html-target: maybe-html-target-winsup
1428 html-target: maybe-html-target-libgloss
1429 html-target: maybe-html-target-libffi
1430 html-target: maybe-html-target-libjava
1431 html-target: maybe-html-target-zlib
1432 html-target: maybe-html-target-boehm-gc
1433 html-target: maybe-html-target-rda
1434 html-target: maybe-html-target-libada
1435 html-target: maybe-html-target-libgomp
1436 html-target: maybe-html-target-libitm
1437 html-target: maybe-html-target-libatomic
1439 .PHONY: do-TAGS
1440 do-TAGS:
1441 @: $(MAKE); $(unstage)
1442 @r=`${PWD_COMMAND}`; export r; \
1443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1444 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1445 TAGS-target
1448 .PHONY: TAGS-host
1450 TAGS-host: maybe-TAGS-bfd
1451 TAGS-host: maybe-TAGS-opcodes
1452 TAGS-host: maybe-TAGS-binutils
1453 TAGS-host: maybe-TAGS-bison
1454 TAGS-host: maybe-TAGS-cgen
1455 TAGS-host: maybe-TAGS-dejagnu
1456 TAGS-host: maybe-TAGS-etc
1457 TAGS-host: maybe-TAGS-fastjar
1458 TAGS-host: maybe-TAGS-fixincludes
1459 TAGS-host: maybe-TAGS-flex
1460 TAGS-host: maybe-TAGS-gas
1461 TAGS-host: maybe-TAGS-gcc
1462 TAGS-host: maybe-TAGS-gmp
1463 TAGS-host: maybe-TAGS-mpfr
1464 TAGS-host: maybe-TAGS-mpc
1465 TAGS-host: maybe-TAGS-isl
1466 TAGS-host: maybe-TAGS-cloog
1467 TAGS-host: maybe-TAGS-libelf
1468 TAGS-host: maybe-TAGS-gold
1469 TAGS-host: maybe-TAGS-gprof
1470 TAGS-host: maybe-TAGS-intl
1471 TAGS-host: maybe-TAGS-tcl
1472 TAGS-host: maybe-TAGS-itcl
1473 TAGS-host: maybe-TAGS-ld
1474 TAGS-host: maybe-TAGS-libbacktrace
1475 TAGS-host: maybe-TAGS-libcpp
1476 TAGS-host: maybe-TAGS-libdecnumber
1477 TAGS-host: maybe-TAGS-libgui
1478 TAGS-host: maybe-TAGS-libiberty
1479 TAGS-host: maybe-TAGS-libiconv
1480 TAGS-host: maybe-TAGS-m4
1481 TAGS-host: maybe-TAGS-readline
1482 TAGS-host: maybe-TAGS-sid
1483 TAGS-host: maybe-TAGS-sim
1484 TAGS-host: maybe-TAGS-texinfo
1485 TAGS-host: maybe-TAGS-zlib
1486 TAGS-host: maybe-TAGS-gdb
1487 TAGS-host: maybe-TAGS-expect
1488 TAGS-host: maybe-TAGS-guile
1489 TAGS-host: maybe-TAGS-tk
1490 TAGS-host: maybe-TAGS-libtermcap
1491 TAGS-host: maybe-TAGS-utils
1492 TAGS-host: maybe-TAGS-gnattools
1493 TAGS-host: maybe-TAGS-lto-plugin
1494 TAGS-host: maybe-TAGS-function_reordering_plugin
1496 .PHONY: TAGS-target
1498 TAGS-target: maybe-TAGS-target-libstdc++-v3
1499 TAGS-target: maybe-TAGS-target-libmudflap
1500 TAGS-target: maybe-TAGS-target-libsanitizer
1501 TAGS-target: maybe-TAGS-target-libssp
1502 TAGS-target: maybe-TAGS-target-newlib
1503 TAGS-target: maybe-TAGS-target-libgcc
1504 TAGS-target: maybe-TAGS-target-libbacktrace
1505 TAGS-target: maybe-TAGS-target-libquadmath
1506 TAGS-target: maybe-TAGS-target-libgfortran
1507 TAGS-target: maybe-TAGS-target-libobjc
1508 TAGS-target: maybe-TAGS-target-libgo
1509 TAGS-target: maybe-TAGS-target-libtermcap
1510 TAGS-target: maybe-TAGS-target-winsup
1511 TAGS-target: maybe-TAGS-target-libgloss
1512 TAGS-target: maybe-TAGS-target-libffi
1513 TAGS-target: maybe-TAGS-target-libjava
1514 TAGS-target: maybe-TAGS-target-zlib
1515 TAGS-target: maybe-TAGS-target-boehm-gc
1516 TAGS-target: maybe-TAGS-target-rda
1517 TAGS-target: maybe-TAGS-target-libada
1518 TAGS-target: maybe-TAGS-target-libgomp
1519 TAGS-target: maybe-TAGS-target-libitm
1520 TAGS-target: maybe-TAGS-target-libatomic
1522 .PHONY: do-install-info
1523 do-install-info:
1524 @: $(MAKE); $(unstage)
1525 @r=`${PWD_COMMAND}`; export r; \
1526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1527 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1528 install-info-target
1531 .PHONY: install-info-host
1533 install-info-host: maybe-install-info-bfd
1534 install-info-host: maybe-install-info-opcodes
1535 install-info-host: maybe-install-info-binutils
1536 install-info-host: maybe-install-info-bison
1537 install-info-host: maybe-install-info-cgen
1538 install-info-host: maybe-install-info-dejagnu
1539 install-info-host: maybe-install-info-etc
1540 install-info-host: maybe-install-info-fastjar
1541 install-info-host: maybe-install-info-fixincludes
1542 install-info-host: maybe-install-info-flex
1543 install-info-host: maybe-install-info-gas
1544 install-info-host: maybe-install-info-gcc
1545 install-info-host: maybe-install-info-gmp
1546 install-info-host: maybe-install-info-mpfr
1547 install-info-host: maybe-install-info-mpc
1548 install-info-host: maybe-install-info-isl
1549 install-info-host: maybe-install-info-cloog
1550 install-info-host: maybe-install-info-libelf
1551 install-info-host: maybe-install-info-gold
1552 install-info-host: maybe-install-info-gprof
1553 install-info-host: maybe-install-info-intl
1554 install-info-host: maybe-install-info-tcl
1555 install-info-host: maybe-install-info-itcl
1556 install-info-host: maybe-install-info-ld
1557 install-info-host: maybe-install-info-libbacktrace
1558 install-info-host: maybe-install-info-libcpp
1559 install-info-host: maybe-install-info-libdecnumber
1560 install-info-host: maybe-install-info-libgui
1561 install-info-host: maybe-install-info-libiberty
1562 install-info-host: maybe-install-info-libiconv
1563 install-info-host: maybe-install-info-m4
1564 install-info-host: maybe-install-info-readline
1565 install-info-host: maybe-install-info-sid
1566 install-info-host: maybe-install-info-sim
1567 install-info-host: maybe-install-info-texinfo
1568 install-info-host: maybe-install-info-zlib
1569 install-info-host: maybe-install-info-gdb
1570 install-info-host: maybe-install-info-expect
1571 install-info-host: maybe-install-info-guile
1572 install-info-host: maybe-install-info-tk
1573 install-info-host: maybe-install-info-libtermcap
1574 install-info-host: maybe-install-info-utils
1575 install-info-host: maybe-install-info-gnattools
1576 install-info-host: maybe-install-info-lto-plugin
1577 install-info-host: maybe-install-info-function_reordering_plugin
1579 .PHONY: install-info-target
1581 install-info-target: maybe-install-info-target-libstdc++-v3
1582 install-info-target: maybe-install-info-target-libmudflap
1583 install-info-target: maybe-install-info-target-libsanitizer
1584 install-info-target: maybe-install-info-target-libssp
1585 install-info-target: maybe-install-info-target-newlib
1586 install-info-target: maybe-install-info-target-libgcc
1587 install-info-target: maybe-install-info-target-libbacktrace
1588 install-info-target: maybe-install-info-target-libquadmath
1589 install-info-target: maybe-install-info-target-libgfortran
1590 install-info-target: maybe-install-info-target-libobjc
1591 install-info-target: maybe-install-info-target-libgo
1592 install-info-target: maybe-install-info-target-libtermcap
1593 install-info-target: maybe-install-info-target-winsup
1594 install-info-target: maybe-install-info-target-libgloss
1595 install-info-target: maybe-install-info-target-libffi
1596 install-info-target: maybe-install-info-target-libjava
1597 install-info-target: maybe-install-info-target-zlib
1598 install-info-target: maybe-install-info-target-boehm-gc
1599 install-info-target: maybe-install-info-target-rda
1600 install-info-target: maybe-install-info-target-libada
1601 install-info-target: maybe-install-info-target-libgomp
1602 install-info-target: maybe-install-info-target-libitm
1603 install-info-target: maybe-install-info-target-libatomic
1605 .PHONY: do-install-pdf
1606 do-install-pdf:
1607 @: $(MAKE); $(unstage)
1608 @r=`${PWD_COMMAND}`; export r; \
1609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1610 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
1611 install-pdf-target
1614 .PHONY: install-pdf-host
1616 install-pdf-host: maybe-install-pdf-bfd
1617 install-pdf-host: maybe-install-pdf-opcodes
1618 install-pdf-host: maybe-install-pdf-binutils
1619 install-pdf-host: maybe-install-pdf-bison
1620 install-pdf-host: maybe-install-pdf-cgen
1621 install-pdf-host: maybe-install-pdf-dejagnu
1622 install-pdf-host: maybe-install-pdf-etc
1623 install-pdf-host: maybe-install-pdf-fastjar
1624 install-pdf-host: maybe-install-pdf-fixincludes
1625 install-pdf-host: maybe-install-pdf-flex
1626 install-pdf-host: maybe-install-pdf-gas
1627 install-pdf-host: maybe-install-pdf-gcc
1628 install-pdf-host: maybe-install-pdf-gmp
1629 install-pdf-host: maybe-install-pdf-mpfr
1630 install-pdf-host: maybe-install-pdf-mpc
1631 install-pdf-host: maybe-install-pdf-isl
1632 install-pdf-host: maybe-install-pdf-cloog
1633 install-pdf-host: maybe-install-pdf-libelf
1634 install-pdf-host: maybe-install-pdf-gold
1635 install-pdf-host: maybe-install-pdf-gprof
1636 install-pdf-host: maybe-install-pdf-intl
1637 install-pdf-host: maybe-install-pdf-tcl
1638 install-pdf-host: maybe-install-pdf-itcl
1639 install-pdf-host: maybe-install-pdf-ld
1640 install-pdf-host: maybe-install-pdf-libbacktrace
1641 install-pdf-host: maybe-install-pdf-libcpp
1642 install-pdf-host: maybe-install-pdf-libdecnumber
1643 install-pdf-host: maybe-install-pdf-libgui
1644 install-pdf-host: maybe-install-pdf-libiberty
1645 install-pdf-host: maybe-install-pdf-libiconv
1646 install-pdf-host: maybe-install-pdf-m4
1647 install-pdf-host: maybe-install-pdf-readline
1648 install-pdf-host: maybe-install-pdf-sid
1649 install-pdf-host: maybe-install-pdf-sim
1650 install-pdf-host: maybe-install-pdf-texinfo
1651 install-pdf-host: maybe-install-pdf-zlib
1652 install-pdf-host: maybe-install-pdf-gdb
1653 install-pdf-host: maybe-install-pdf-expect
1654 install-pdf-host: maybe-install-pdf-guile
1655 install-pdf-host: maybe-install-pdf-tk
1656 install-pdf-host: maybe-install-pdf-libtermcap
1657 install-pdf-host: maybe-install-pdf-utils
1658 install-pdf-host: maybe-install-pdf-gnattools
1659 install-pdf-host: maybe-install-pdf-lto-plugin
1660 install-pdf-host: maybe-install-pdf-function_reordering_plugin
1662 .PHONY: install-pdf-target
1664 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
1665 install-pdf-target: maybe-install-pdf-target-libmudflap
1666 install-pdf-target: maybe-install-pdf-target-libsanitizer
1667 install-pdf-target: maybe-install-pdf-target-libssp
1668 install-pdf-target: maybe-install-pdf-target-newlib
1669 install-pdf-target: maybe-install-pdf-target-libgcc
1670 install-pdf-target: maybe-install-pdf-target-libbacktrace
1671 install-pdf-target: maybe-install-pdf-target-libquadmath
1672 install-pdf-target: maybe-install-pdf-target-libgfortran
1673 install-pdf-target: maybe-install-pdf-target-libobjc
1674 install-pdf-target: maybe-install-pdf-target-libgo
1675 install-pdf-target: maybe-install-pdf-target-libtermcap
1676 install-pdf-target: maybe-install-pdf-target-winsup
1677 install-pdf-target: maybe-install-pdf-target-libgloss
1678 install-pdf-target: maybe-install-pdf-target-libffi
1679 install-pdf-target: maybe-install-pdf-target-libjava
1680 install-pdf-target: maybe-install-pdf-target-zlib
1681 install-pdf-target: maybe-install-pdf-target-boehm-gc
1682 install-pdf-target: maybe-install-pdf-target-rda
1683 install-pdf-target: maybe-install-pdf-target-libada
1684 install-pdf-target: maybe-install-pdf-target-libgomp
1685 install-pdf-target: maybe-install-pdf-target-libitm
1686 install-pdf-target: maybe-install-pdf-target-libatomic
1688 .PHONY: do-install-html
1689 do-install-html:
1690 @: $(MAKE); $(unstage)
1691 @r=`${PWD_COMMAND}`; export r; \
1692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1693 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1694 install-html-target
1697 .PHONY: install-html-host
1699 install-html-host: maybe-install-html-bfd
1700 install-html-host: maybe-install-html-opcodes
1701 install-html-host: maybe-install-html-binutils
1702 install-html-host: maybe-install-html-bison
1703 install-html-host: maybe-install-html-cgen
1704 install-html-host: maybe-install-html-dejagnu
1705 install-html-host: maybe-install-html-etc
1706 install-html-host: maybe-install-html-fastjar
1707 install-html-host: maybe-install-html-fixincludes
1708 install-html-host: maybe-install-html-flex
1709 install-html-host: maybe-install-html-gas
1710 install-html-host: maybe-install-html-gcc
1711 install-html-host: maybe-install-html-gmp
1712 install-html-host: maybe-install-html-mpfr
1713 install-html-host: maybe-install-html-mpc
1714 install-html-host: maybe-install-html-isl
1715 install-html-host: maybe-install-html-cloog
1716 install-html-host: maybe-install-html-libelf
1717 install-html-host: maybe-install-html-gold
1718 install-html-host: maybe-install-html-gprof
1719 install-html-host: maybe-install-html-intl
1720 install-html-host: maybe-install-html-tcl
1721 install-html-host: maybe-install-html-itcl
1722 install-html-host: maybe-install-html-ld
1723 install-html-host: maybe-install-html-libbacktrace
1724 install-html-host: maybe-install-html-libcpp
1725 install-html-host: maybe-install-html-libdecnumber
1726 install-html-host: maybe-install-html-libgui
1727 install-html-host: maybe-install-html-libiberty
1728 install-html-host: maybe-install-html-libiconv
1729 install-html-host: maybe-install-html-m4
1730 install-html-host: maybe-install-html-readline
1731 install-html-host: maybe-install-html-sid
1732 install-html-host: maybe-install-html-sim
1733 install-html-host: maybe-install-html-texinfo
1734 install-html-host: maybe-install-html-zlib
1735 install-html-host: maybe-install-html-gdb
1736 install-html-host: maybe-install-html-expect
1737 install-html-host: maybe-install-html-guile
1738 install-html-host: maybe-install-html-tk
1739 install-html-host: maybe-install-html-libtermcap
1740 install-html-host: maybe-install-html-utils
1741 install-html-host: maybe-install-html-gnattools
1742 install-html-host: maybe-install-html-lto-plugin
1743 install-html-host: maybe-install-html-function_reordering_plugin
1745 .PHONY: install-html-target
1747 install-html-target: maybe-install-html-target-libstdc++-v3
1748 install-html-target: maybe-install-html-target-libmudflap
1749 install-html-target: maybe-install-html-target-libsanitizer
1750 install-html-target: maybe-install-html-target-libssp
1751 install-html-target: maybe-install-html-target-newlib
1752 install-html-target: maybe-install-html-target-libgcc
1753 install-html-target: maybe-install-html-target-libbacktrace
1754 install-html-target: maybe-install-html-target-libquadmath
1755 install-html-target: maybe-install-html-target-libgfortran
1756 install-html-target: maybe-install-html-target-libobjc
1757 install-html-target: maybe-install-html-target-libgo
1758 install-html-target: maybe-install-html-target-libtermcap
1759 install-html-target: maybe-install-html-target-winsup
1760 install-html-target: maybe-install-html-target-libgloss
1761 install-html-target: maybe-install-html-target-libffi
1762 install-html-target: maybe-install-html-target-libjava
1763 install-html-target: maybe-install-html-target-zlib
1764 install-html-target: maybe-install-html-target-boehm-gc
1765 install-html-target: maybe-install-html-target-rda
1766 install-html-target: maybe-install-html-target-libada
1767 install-html-target: maybe-install-html-target-libgomp
1768 install-html-target: maybe-install-html-target-libitm
1769 install-html-target: maybe-install-html-target-libatomic
1771 .PHONY: do-installcheck
1772 do-installcheck:
1773 @: $(MAKE); $(unstage)
1774 @r=`${PWD_COMMAND}`; export r; \
1775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1776 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1777 installcheck-target
1780 .PHONY: installcheck-host
1782 installcheck-host: maybe-installcheck-bfd
1783 installcheck-host: maybe-installcheck-opcodes
1784 installcheck-host: maybe-installcheck-binutils
1785 installcheck-host: maybe-installcheck-bison
1786 installcheck-host: maybe-installcheck-cgen
1787 installcheck-host: maybe-installcheck-dejagnu
1788 installcheck-host: maybe-installcheck-etc
1789 installcheck-host: maybe-installcheck-fastjar
1790 installcheck-host: maybe-installcheck-fixincludes
1791 installcheck-host: maybe-installcheck-flex
1792 installcheck-host: maybe-installcheck-gas
1793 installcheck-host: maybe-installcheck-gcc
1794 installcheck-host: maybe-installcheck-gmp
1795 installcheck-host: maybe-installcheck-mpfr
1796 installcheck-host: maybe-installcheck-mpc
1797 installcheck-host: maybe-installcheck-isl
1798 installcheck-host: maybe-installcheck-cloog
1799 installcheck-host: maybe-installcheck-libelf
1800 installcheck-host: maybe-installcheck-gold
1801 installcheck-host: maybe-installcheck-gprof
1802 installcheck-host: maybe-installcheck-intl
1803 installcheck-host: maybe-installcheck-tcl
1804 installcheck-host: maybe-installcheck-itcl
1805 installcheck-host: maybe-installcheck-ld
1806 installcheck-host: maybe-installcheck-libbacktrace
1807 installcheck-host: maybe-installcheck-libcpp
1808 installcheck-host: maybe-installcheck-libdecnumber
1809 installcheck-host: maybe-installcheck-libgui
1810 installcheck-host: maybe-installcheck-libiberty
1811 installcheck-host: maybe-installcheck-libiconv
1812 installcheck-host: maybe-installcheck-m4
1813 installcheck-host: maybe-installcheck-readline
1814 installcheck-host: maybe-installcheck-sid
1815 installcheck-host: maybe-installcheck-sim
1816 installcheck-host: maybe-installcheck-texinfo
1817 installcheck-host: maybe-installcheck-zlib
1818 installcheck-host: maybe-installcheck-gdb
1819 installcheck-host: maybe-installcheck-expect
1820 installcheck-host: maybe-installcheck-guile
1821 installcheck-host: maybe-installcheck-tk
1822 installcheck-host: maybe-installcheck-libtermcap
1823 installcheck-host: maybe-installcheck-utils
1824 installcheck-host: maybe-installcheck-gnattools
1825 installcheck-host: maybe-installcheck-lto-plugin
1826 installcheck-host: maybe-installcheck-function_reordering_plugin
1828 .PHONY: installcheck-target
1830 installcheck-target: maybe-installcheck-target-libstdc++-v3
1831 installcheck-target: maybe-installcheck-target-libmudflap
1832 installcheck-target: maybe-installcheck-target-libsanitizer
1833 installcheck-target: maybe-installcheck-target-libssp
1834 installcheck-target: maybe-installcheck-target-newlib
1835 installcheck-target: maybe-installcheck-target-libgcc
1836 installcheck-target: maybe-installcheck-target-libbacktrace
1837 installcheck-target: maybe-installcheck-target-libquadmath
1838 installcheck-target: maybe-installcheck-target-libgfortran
1839 installcheck-target: maybe-installcheck-target-libobjc
1840 installcheck-target: maybe-installcheck-target-libgo
1841 installcheck-target: maybe-installcheck-target-libtermcap
1842 installcheck-target: maybe-installcheck-target-winsup
1843 installcheck-target: maybe-installcheck-target-libgloss
1844 installcheck-target: maybe-installcheck-target-libffi
1845 installcheck-target: maybe-installcheck-target-libjava
1846 installcheck-target: maybe-installcheck-target-zlib
1847 installcheck-target: maybe-installcheck-target-boehm-gc
1848 installcheck-target: maybe-installcheck-target-rda
1849 installcheck-target: maybe-installcheck-target-libada
1850 installcheck-target: maybe-installcheck-target-libgomp
1851 installcheck-target: maybe-installcheck-target-libitm
1852 installcheck-target: maybe-installcheck-target-libatomic
1854 .PHONY: do-mostlyclean
1855 do-mostlyclean:
1856 @: $(MAKE); $(unstage)
1857 @r=`${PWD_COMMAND}`; export r; \
1858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1859 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1860 mostlyclean-target
1863 .PHONY: mostlyclean-host
1865 mostlyclean-host: maybe-mostlyclean-bfd
1866 mostlyclean-host: maybe-mostlyclean-opcodes
1867 mostlyclean-host: maybe-mostlyclean-binutils
1868 mostlyclean-host: maybe-mostlyclean-bison
1869 mostlyclean-host: maybe-mostlyclean-cgen
1870 mostlyclean-host: maybe-mostlyclean-dejagnu
1871 mostlyclean-host: maybe-mostlyclean-etc
1872 mostlyclean-host: maybe-mostlyclean-fastjar
1873 mostlyclean-host: maybe-mostlyclean-fixincludes
1874 mostlyclean-host: maybe-mostlyclean-flex
1875 mostlyclean-host: maybe-mostlyclean-gas
1876 mostlyclean-host: maybe-mostlyclean-gcc
1877 mostlyclean-host: maybe-mostlyclean-gmp
1878 mostlyclean-host: maybe-mostlyclean-mpfr
1879 mostlyclean-host: maybe-mostlyclean-mpc
1880 mostlyclean-host: maybe-mostlyclean-isl
1881 mostlyclean-host: maybe-mostlyclean-cloog
1882 mostlyclean-host: maybe-mostlyclean-libelf
1883 mostlyclean-host: maybe-mostlyclean-gold
1884 mostlyclean-host: maybe-mostlyclean-gprof
1885 mostlyclean-host: maybe-mostlyclean-intl
1886 mostlyclean-host: maybe-mostlyclean-tcl
1887 mostlyclean-host: maybe-mostlyclean-itcl
1888 mostlyclean-host: maybe-mostlyclean-ld
1889 mostlyclean-host: maybe-mostlyclean-libbacktrace
1890 mostlyclean-host: maybe-mostlyclean-libcpp
1891 mostlyclean-host: maybe-mostlyclean-libdecnumber
1892 mostlyclean-host: maybe-mostlyclean-libgui
1893 mostlyclean-host: maybe-mostlyclean-libiberty
1894 mostlyclean-host: maybe-mostlyclean-libiconv
1895 mostlyclean-host: maybe-mostlyclean-m4
1896 mostlyclean-host: maybe-mostlyclean-readline
1897 mostlyclean-host: maybe-mostlyclean-sid
1898 mostlyclean-host: maybe-mostlyclean-sim
1899 mostlyclean-host: maybe-mostlyclean-texinfo
1900 mostlyclean-host: maybe-mostlyclean-zlib
1901 mostlyclean-host: maybe-mostlyclean-gdb
1902 mostlyclean-host: maybe-mostlyclean-expect
1903 mostlyclean-host: maybe-mostlyclean-guile
1904 mostlyclean-host: maybe-mostlyclean-tk
1905 mostlyclean-host: maybe-mostlyclean-libtermcap
1906 mostlyclean-host: maybe-mostlyclean-utils
1907 mostlyclean-host: maybe-mostlyclean-gnattools
1908 mostlyclean-host: maybe-mostlyclean-lto-plugin
1909 mostlyclean-host: maybe-mostlyclean-function_reordering_plugin
1911 .PHONY: mostlyclean-target
1913 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
1914 mostlyclean-target: maybe-mostlyclean-target-libmudflap
1915 mostlyclean-target: maybe-mostlyclean-target-libsanitizer
1916 mostlyclean-target: maybe-mostlyclean-target-libssp
1917 mostlyclean-target: maybe-mostlyclean-target-newlib
1918 mostlyclean-target: maybe-mostlyclean-target-libgcc
1919 mostlyclean-target: maybe-mostlyclean-target-libbacktrace
1920 mostlyclean-target: maybe-mostlyclean-target-libquadmath
1921 mostlyclean-target: maybe-mostlyclean-target-libgfortran
1922 mostlyclean-target: maybe-mostlyclean-target-libobjc
1923 mostlyclean-target: maybe-mostlyclean-target-libgo
1924 mostlyclean-target: maybe-mostlyclean-target-libtermcap
1925 mostlyclean-target: maybe-mostlyclean-target-winsup
1926 mostlyclean-target: maybe-mostlyclean-target-libgloss
1927 mostlyclean-target: maybe-mostlyclean-target-libffi
1928 mostlyclean-target: maybe-mostlyclean-target-libjava
1929 mostlyclean-target: maybe-mostlyclean-target-zlib
1930 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
1931 mostlyclean-target: maybe-mostlyclean-target-rda
1932 mostlyclean-target: maybe-mostlyclean-target-libada
1933 mostlyclean-target: maybe-mostlyclean-target-libgomp
1934 mostlyclean-target: maybe-mostlyclean-target-libitm
1935 mostlyclean-target: maybe-mostlyclean-target-libatomic
1937 .PHONY: do-clean
1938 do-clean:
1939 @: $(MAKE); $(unstage)
1940 @r=`${PWD_COMMAND}`; export r; \
1941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1942 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1943 clean-target
1946 .PHONY: clean-host
1948 clean-host: maybe-clean-bfd
1949 clean-host: maybe-clean-opcodes
1950 clean-host: maybe-clean-binutils
1951 clean-host: maybe-clean-bison
1952 clean-host: maybe-clean-cgen
1953 clean-host: maybe-clean-dejagnu
1954 clean-host: maybe-clean-etc
1955 clean-host: maybe-clean-fastjar
1956 clean-host: maybe-clean-fixincludes
1957 clean-host: maybe-clean-flex
1958 clean-host: maybe-clean-gas
1959 clean-host: maybe-clean-gcc
1960 clean-host: maybe-clean-gmp
1961 clean-host: maybe-clean-mpfr
1962 clean-host: maybe-clean-mpc
1963 clean-host: maybe-clean-isl
1964 clean-host: maybe-clean-cloog
1965 clean-host: maybe-clean-libelf
1966 clean-host: maybe-clean-gold
1967 clean-host: maybe-clean-gprof
1968 clean-host: maybe-clean-intl
1969 clean-host: maybe-clean-tcl
1970 clean-host: maybe-clean-itcl
1971 clean-host: maybe-clean-ld
1972 clean-host: maybe-clean-libbacktrace
1973 clean-host: maybe-clean-libcpp
1974 clean-host: maybe-clean-libdecnumber
1975 clean-host: maybe-clean-libgui
1976 clean-host: maybe-clean-libiberty
1977 clean-host: maybe-clean-libiconv
1978 clean-host: maybe-clean-m4
1979 clean-host: maybe-clean-readline
1980 clean-host: maybe-clean-sid
1981 clean-host: maybe-clean-sim
1982 clean-host: maybe-clean-texinfo
1983 clean-host: maybe-clean-zlib
1984 clean-host: maybe-clean-gdb
1985 clean-host: maybe-clean-expect
1986 clean-host: maybe-clean-guile
1987 clean-host: maybe-clean-tk
1988 clean-host: maybe-clean-libtermcap
1989 clean-host: maybe-clean-utils
1990 clean-host: maybe-clean-gnattools
1991 clean-host: maybe-clean-lto-plugin
1992 clean-host: maybe-clean-function_reordering_plugin
1994 .PHONY: clean-target
1996 clean-target: maybe-clean-target-libstdc++-v3
1997 clean-target: maybe-clean-target-libmudflap
1998 clean-target: maybe-clean-target-libsanitizer
1999 clean-target: maybe-clean-target-libssp
2000 clean-target: maybe-clean-target-newlib
2001 clean-target: maybe-clean-target-libgcc
2002 clean-target: maybe-clean-target-libbacktrace
2003 clean-target: maybe-clean-target-libquadmath
2004 clean-target: maybe-clean-target-libgfortran
2005 clean-target: maybe-clean-target-libobjc
2006 clean-target: maybe-clean-target-libgo
2007 clean-target: maybe-clean-target-libtermcap
2008 clean-target: maybe-clean-target-winsup
2009 clean-target: maybe-clean-target-libgloss
2010 clean-target: maybe-clean-target-libffi
2011 clean-target: maybe-clean-target-libjava
2012 clean-target: maybe-clean-target-zlib
2013 clean-target: maybe-clean-target-boehm-gc
2014 clean-target: maybe-clean-target-rda
2015 clean-target: maybe-clean-target-libada
2016 clean-target: maybe-clean-target-libgomp
2017 clean-target: maybe-clean-target-libitm
2018 clean-target: maybe-clean-target-libatomic
2020 .PHONY: do-distclean
2021 do-distclean:
2022 @: $(MAKE); $(unstage)
2023 @r=`${PWD_COMMAND}`; export r; \
2024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2025 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
2026 distclean-target
2029 .PHONY: distclean-host
2031 distclean-host: maybe-distclean-bfd
2032 distclean-host: maybe-distclean-opcodes
2033 distclean-host: maybe-distclean-binutils
2034 distclean-host: maybe-distclean-bison
2035 distclean-host: maybe-distclean-cgen
2036 distclean-host: maybe-distclean-dejagnu
2037 distclean-host: maybe-distclean-etc
2038 distclean-host: maybe-distclean-fastjar
2039 distclean-host: maybe-distclean-fixincludes
2040 distclean-host: maybe-distclean-flex
2041 distclean-host: maybe-distclean-gas
2042 distclean-host: maybe-distclean-gcc
2043 distclean-host: maybe-distclean-gmp
2044 distclean-host: maybe-distclean-mpfr
2045 distclean-host: maybe-distclean-mpc
2046 distclean-host: maybe-distclean-isl
2047 distclean-host: maybe-distclean-cloog
2048 distclean-host: maybe-distclean-libelf
2049 distclean-host: maybe-distclean-gold
2050 distclean-host: maybe-distclean-gprof
2051 distclean-host: maybe-distclean-intl
2052 distclean-host: maybe-distclean-tcl
2053 distclean-host: maybe-distclean-itcl
2054 distclean-host: maybe-distclean-ld
2055 distclean-host: maybe-distclean-libbacktrace
2056 distclean-host: maybe-distclean-libcpp
2057 distclean-host: maybe-distclean-libdecnumber
2058 distclean-host: maybe-distclean-libgui
2059 distclean-host: maybe-distclean-libiberty
2060 distclean-host: maybe-distclean-libiconv
2061 distclean-host: maybe-distclean-m4
2062 distclean-host: maybe-distclean-readline
2063 distclean-host: maybe-distclean-sid
2064 distclean-host: maybe-distclean-sim
2065 distclean-host: maybe-distclean-texinfo
2066 distclean-host: maybe-distclean-zlib
2067 distclean-host: maybe-distclean-gdb
2068 distclean-host: maybe-distclean-expect
2069 distclean-host: maybe-distclean-guile
2070 distclean-host: maybe-distclean-tk
2071 distclean-host: maybe-distclean-libtermcap
2072 distclean-host: maybe-distclean-utils
2073 distclean-host: maybe-distclean-gnattools
2074 distclean-host: maybe-distclean-lto-plugin
2075 distclean-host: maybe-distclean-function_reordering_plugin
2077 .PHONY: distclean-target
2079 distclean-target: maybe-distclean-target-libstdc++-v3
2080 distclean-target: maybe-distclean-target-libmudflap
2081 distclean-target: maybe-distclean-target-libsanitizer
2082 distclean-target: maybe-distclean-target-libssp
2083 distclean-target: maybe-distclean-target-newlib
2084 distclean-target: maybe-distclean-target-libgcc
2085 distclean-target: maybe-distclean-target-libbacktrace
2086 distclean-target: maybe-distclean-target-libquadmath
2087 distclean-target: maybe-distclean-target-libgfortran
2088 distclean-target: maybe-distclean-target-libobjc
2089 distclean-target: maybe-distclean-target-libgo
2090 distclean-target: maybe-distclean-target-libtermcap
2091 distclean-target: maybe-distclean-target-winsup
2092 distclean-target: maybe-distclean-target-libgloss
2093 distclean-target: maybe-distclean-target-libffi
2094 distclean-target: maybe-distclean-target-libjava
2095 distclean-target: maybe-distclean-target-zlib
2096 distclean-target: maybe-distclean-target-boehm-gc
2097 distclean-target: maybe-distclean-target-rda
2098 distclean-target: maybe-distclean-target-libada
2099 distclean-target: maybe-distclean-target-libgomp
2100 distclean-target: maybe-distclean-target-libitm
2101 distclean-target: maybe-distclean-target-libatomic
2103 .PHONY: do-maintainer-clean
2104 do-maintainer-clean:
2105 @: $(MAKE); $(unstage)
2106 @r=`${PWD_COMMAND}`; export r; \
2107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2108 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2109 maintainer-clean-target
2112 .PHONY: maintainer-clean-host
2114 maintainer-clean-host: maybe-maintainer-clean-bfd
2115 maintainer-clean-host: maybe-maintainer-clean-opcodes
2116 maintainer-clean-host: maybe-maintainer-clean-binutils
2117 maintainer-clean-host: maybe-maintainer-clean-bison
2118 maintainer-clean-host: maybe-maintainer-clean-cgen
2119 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2120 maintainer-clean-host: maybe-maintainer-clean-etc
2121 maintainer-clean-host: maybe-maintainer-clean-fastjar
2122 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2123 maintainer-clean-host: maybe-maintainer-clean-flex
2124 maintainer-clean-host: maybe-maintainer-clean-gas
2125 maintainer-clean-host: maybe-maintainer-clean-gcc
2126 maintainer-clean-host: maybe-maintainer-clean-gmp
2127 maintainer-clean-host: maybe-maintainer-clean-mpfr
2128 maintainer-clean-host: maybe-maintainer-clean-mpc
2129 maintainer-clean-host: maybe-maintainer-clean-isl
2130 maintainer-clean-host: maybe-maintainer-clean-cloog
2131 maintainer-clean-host: maybe-maintainer-clean-libelf
2132 maintainer-clean-host: maybe-maintainer-clean-gold
2133 maintainer-clean-host: maybe-maintainer-clean-gprof
2134 maintainer-clean-host: maybe-maintainer-clean-intl
2135 maintainer-clean-host: maybe-maintainer-clean-tcl
2136 maintainer-clean-host: maybe-maintainer-clean-itcl
2137 maintainer-clean-host: maybe-maintainer-clean-ld
2138 maintainer-clean-host: maybe-maintainer-clean-libbacktrace
2139 maintainer-clean-host: maybe-maintainer-clean-libcpp
2140 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2141 maintainer-clean-host: maybe-maintainer-clean-libgui
2142 maintainer-clean-host: maybe-maintainer-clean-libiberty
2143 maintainer-clean-host: maybe-maintainer-clean-libiconv
2144 maintainer-clean-host: maybe-maintainer-clean-m4
2145 maintainer-clean-host: maybe-maintainer-clean-readline
2146 maintainer-clean-host: maybe-maintainer-clean-sid
2147 maintainer-clean-host: maybe-maintainer-clean-sim
2148 maintainer-clean-host: maybe-maintainer-clean-texinfo
2149 maintainer-clean-host: maybe-maintainer-clean-zlib
2150 maintainer-clean-host: maybe-maintainer-clean-gdb
2151 maintainer-clean-host: maybe-maintainer-clean-expect
2152 maintainer-clean-host: maybe-maintainer-clean-guile
2153 maintainer-clean-host: maybe-maintainer-clean-tk
2154 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2155 maintainer-clean-host: maybe-maintainer-clean-utils
2156 maintainer-clean-host: maybe-maintainer-clean-gnattools
2157 maintainer-clean-host: maybe-maintainer-clean-lto-plugin
2158 maintainer-clean-host: maybe-maintainer-clean-function_reordering_plugin
2160 .PHONY: maintainer-clean-target
2162 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2163 maintainer-clean-target: maybe-maintainer-clean-target-libmudflap
2164 maintainer-clean-target: maybe-maintainer-clean-target-libsanitizer
2165 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2166 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2167 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2168 maintainer-clean-target: maybe-maintainer-clean-target-libbacktrace
2169 maintainer-clean-target: maybe-maintainer-clean-target-libquadmath
2170 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2171 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2172 maintainer-clean-target: maybe-maintainer-clean-target-libgo
2173 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2174 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2175 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2176 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2177 maintainer-clean-target: maybe-maintainer-clean-target-libjava
2178 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2179 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
2180 maintainer-clean-target: maybe-maintainer-clean-target-rda
2181 maintainer-clean-target: maybe-maintainer-clean-target-libada
2182 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2183 maintainer-clean-target: maybe-maintainer-clean-target-libitm
2184 maintainer-clean-target: maybe-maintainer-clean-target-libatomic
2187 # Here are the targets which correspond to the do-X targets.
2189 .PHONY: info installcheck dvi pdf html
2190 .PHONY: install-info install-pdf install-html
2191 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2192 .PHONY: local-clean local-distclean local-maintainer-clean
2193 info: do-info
2194 installcheck: do-installcheck
2195 dvi: do-dvi
2196 pdf: do-pdf
2197 html: do-html
2199 # Make sure makeinfo is built before we do a `make info', if we're
2200 # in fact building texinfo.
2201 do-info: maybe-all-texinfo
2203 install-info: do-install-info dir.info
2204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2205 if [ -f dir.info ] ; then \
2206 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
2207 else true ; fi
2209 install-pdf: do-install-pdf
2211 install-html: do-install-html
2213 local-clean:
2214 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2216 local-distclean:
2217 -rm -f Makefile config.status config.cache mh-frag mt-frag
2218 -rm -f maybedep.tmp serdep.tmp
2219 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2220 rm -rf $(TARGET_SUBDIR); \
2221 else true; fi
2222 -rm -rf $(BUILD_SUBDIR)
2223 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2224 rm -rf $(HOST_SUBDIR); \
2225 else true; fi
2226 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2227 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2228 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2229 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2230 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
2231 -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
2233 local-maintainer-clean:
2234 @echo "This command is intended for maintainers to use;"
2235 @echo "it deletes files that may require special tools to rebuild."
2237 clean: do-clean local-clean
2238 mostlyclean: do-mostlyclean local-clean
2239 distclean: do-distclean local-clean local-distclean
2240 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2241 maintainer-clean: local-distclean
2242 realclean: maintainer-clean
2244 # Check target.
2246 .PHONY: check do-check
2247 check: do-check
2249 # Only include modules actually being configured and built.
2250 .PHONY: check-host
2251 check-host: \
2252 maybe-check-bfd \
2253 maybe-check-opcodes \
2254 maybe-check-binutils \
2255 maybe-check-bison \
2256 maybe-check-cgen \
2257 maybe-check-dejagnu \
2258 maybe-check-etc \
2259 maybe-check-fastjar \
2260 maybe-check-fixincludes \
2261 maybe-check-flex \
2262 maybe-check-gas \
2263 maybe-check-gcc \
2264 maybe-check-gmp \
2265 maybe-check-mpfr \
2266 maybe-check-mpc \
2267 maybe-check-isl \
2268 maybe-check-cloog \
2269 maybe-check-libelf \
2270 maybe-check-gold \
2271 maybe-check-gprof \
2272 maybe-check-intl \
2273 maybe-check-tcl \
2274 maybe-check-itcl \
2275 maybe-check-ld \
2276 maybe-check-libbacktrace \
2277 maybe-check-libcpp \
2278 maybe-check-libdecnumber \
2279 maybe-check-libgui \
2280 maybe-check-libiberty \
2281 maybe-check-libiconv \
2282 maybe-check-m4 \
2283 maybe-check-readline \
2284 maybe-check-sid \
2285 maybe-check-sim \
2286 maybe-check-texinfo \
2287 maybe-check-zlib \
2288 maybe-check-gdb \
2289 maybe-check-expect \
2290 maybe-check-guile \
2291 maybe-check-tk \
2292 maybe-check-libtermcap \
2293 maybe-check-utils \
2294 maybe-check-gnattools \
2295 maybe-check-lto-plugin \
2296 maybe-check-function_reordering_plugin
2298 .PHONY: check-target
2299 check-target: \
2300 maybe-check-target-libstdc++-v3 \
2301 maybe-check-target-libmudflap \
2302 maybe-check-target-libsanitizer \
2303 maybe-check-target-libssp \
2304 maybe-check-target-newlib \
2305 maybe-check-target-libgcc \
2306 maybe-check-target-libbacktrace \
2307 maybe-check-target-libquadmath \
2308 maybe-check-target-libgfortran \
2309 maybe-check-target-libobjc \
2310 maybe-check-target-libgo \
2311 maybe-check-target-libtermcap \
2312 maybe-check-target-winsup \
2313 maybe-check-target-libgloss \
2314 maybe-check-target-libffi \
2315 maybe-check-target-libjava \
2316 maybe-check-target-zlib \
2317 maybe-check-target-boehm-gc \
2318 maybe-check-target-rda \
2319 maybe-check-target-libada \
2320 maybe-check-target-libgomp \
2321 maybe-check-target-libitm \
2322 maybe-check-target-libatomic
2324 do-check:
2325 @: $(MAKE); $(unstage)
2326 @r=`${PWD_COMMAND}`; export r; \
2327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2328 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2330 # Automated reporting of test results.
2332 warning.log: build.log
2333 $(srcdir)/contrib/warn_summary build.log > $@
2335 mail-report.log:
2336 if test x'$(BOOT_CFLAGS)' != x''; then \
2337 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2338 fi; \
2339 $(srcdir)/contrib/test_summary -t >$@
2340 chmod +x $@
2341 echo If you really want to send e-mail, run ./$@ now
2343 mail-report-with-warnings.log: warning.log
2344 if test x'$(BOOT_CFLAGS)' != x''; then \
2345 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2346 fi; \
2347 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2348 chmod +x $@
2349 echo If you really want to send e-mail, run ./$@ now
2351 # Installation targets.
2353 .PHONY: install uninstall
2354 install:
2355 @: $(MAKE); $(unstage)
2356 @r=`${PWD_COMMAND}`; export r; \
2357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2358 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2360 .PHONY: install-host-nogcc
2361 install-host-nogcc: \
2362 maybe-install-bfd \
2363 maybe-install-opcodes \
2364 maybe-install-binutils \
2365 maybe-install-bison \
2366 maybe-install-cgen \
2367 maybe-install-dejagnu \
2368 maybe-install-etc \
2369 maybe-install-fastjar \
2370 maybe-install-fixincludes \
2371 maybe-install-flex \
2372 maybe-install-gas \
2373 maybe-install-gmp \
2374 maybe-install-mpfr \
2375 maybe-install-mpc \
2376 maybe-install-isl \
2377 maybe-install-cloog \
2378 maybe-install-libelf \
2379 maybe-install-gold \
2380 maybe-install-gprof \
2381 maybe-install-intl \
2382 maybe-install-tcl \
2383 maybe-install-itcl \
2384 maybe-install-ld \
2385 maybe-install-libbacktrace \
2386 maybe-install-libcpp \
2387 maybe-install-libdecnumber \
2388 maybe-install-libgui \
2389 maybe-install-libiberty \
2390 maybe-install-libiconv \
2391 maybe-install-m4 \
2392 maybe-install-readline \
2393 maybe-install-sid \
2394 maybe-install-sim \
2395 maybe-install-texinfo \
2396 maybe-install-zlib \
2397 maybe-install-gdb \
2398 maybe-install-expect \
2399 maybe-install-guile \
2400 maybe-install-tk \
2401 maybe-install-libtermcap \
2402 maybe-install-utils \
2403 maybe-install-gnattools \
2404 maybe-install-lto-plugin \
2405 maybe-install-function_reordering_plugin
2407 .PHONY: install-host
2408 install-host: \
2409 maybe-install-bfd \
2410 maybe-install-opcodes \
2411 maybe-install-binutils \
2412 maybe-install-bison \
2413 maybe-install-cgen \
2414 maybe-install-dejagnu \
2415 maybe-install-etc \
2416 maybe-install-fastjar \
2417 maybe-install-fixincludes \
2418 maybe-install-flex \
2419 maybe-install-gas \
2420 maybe-install-gcc \
2421 maybe-install-gmp \
2422 maybe-install-mpfr \
2423 maybe-install-mpc \
2424 maybe-install-isl \
2425 maybe-install-cloog \
2426 maybe-install-libelf \
2427 maybe-install-gold \
2428 maybe-install-gprof \
2429 maybe-install-intl \
2430 maybe-install-tcl \
2431 maybe-install-itcl \
2432 maybe-install-ld \
2433 maybe-install-libbacktrace \
2434 maybe-install-libcpp \
2435 maybe-install-libdecnumber \
2436 maybe-install-libgui \
2437 maybe-install-libiberty \
2438 maybe-install-libiconv \
2439 maybe-install-m4 \
2440 maybe-install-readline \
2441 maybe-install-sid \
2442 maybe-install-sim \
2443 maybe-install-texinfo \
2444 maybe-install-zlib \
2445 maybe-install-gdb \
2446 maybe-install-expect \
2447 maybe-install-guile \
2448 maybe-install-tk \
2449 maybe-install-libtermcap \
2450 maybe-install-utils \
2451 maybe-install-gnattools \
2452 maybe-install-lto-plugin \
2453 maybe-install-function_reordering_plugin
2455 .PHONY: install-target
2456 install-target: \
2457 maybe-install-target-libstdc++-v3 \
2458 maybe-install-target-libmudflap \
2459 maybe-install-target-libsanitizer \
2460 maybe-install-target-libssp \
2461 maybe-install-target-newlib \
2462 maybe-install-target-libgcc \
2463 maybe-install-target-libbacktrace \
2464 maybe-install-target-libquadmath \
2465 maybe-install-target-libgfortran \
2466 maybe-install-target-libobjc \
2467 maybe-install-target-libgo \
2468 maybe-install-target-libtermcap \
2469 maybe-install-target-winsup \
2470 maybe-install-target-libgloss \
2471 maybe-install-target-libffi \
2472 maybe-install-target-libjava \
2473 maybe-install-target-zlib \
2474 maybe-install-target-boehm-gc \
2475 maybe-install-target-rda \
2476 maybe-install-target-libada \
2477 maybe-install-target-libgomp \
2478 maybe-install-target-libitm \
2479 maybe-install-target-libatomic
2481 uninstall:
2482 @echo "the uninstall target is not supported in this tree"
2484 .PHONY: install.all
2485 install.all: install-no-fixedincludes
2486 @if [ -f ./gcc/Makefile ] ; then \
2487 r=`${PWD_COMMAND}` ; export r ; \
2488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2489 $(HOST_EXPORTS) \
2490 (cd ./gcc && \
2491 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2492 else \
2493 true ; \
2496 # install-no-fixedincludes is used to allow the elaboration of binary packages
2497 # suitable for distribution, where we cannot include the fixed system header
2498 # files.
2499 .PHONY: install-no-fixedincludes
2500 install-no-fixedincludes: installdirs install-host-nogcc \
2501 install-target gcc-install-no-fixedincludes
2503 .PHONY: install-strip
2504 install-strip:
2505 @: $(MAKE); $(unstage)
2506 @r=`${PWD_COMMAND}`; export r; \
2507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2508 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target
2510 .PHONY: install-strip-host
2511 install-strip-host: \
2512 maybe-install-strip-bfd \
2513 maybe-install-strip-opcodes \
2514 maybe-install-strip-binutils \
2515 maybe-install-strip-bison \
2516 maybe-install-strip-cgen \
2517 maybe-install-strip-dejagnu \
2518 maybe-install-strip-etc \
2519 maybe-install-strip-fastjar \
2520 maybe-install-strip-fixincludes \
2521 maybe-install-strip-flex \
2522 maybe-install-strip-gas \
2523 maybe-install-strip-gcc \
2524 maybe-install-strip-gmp \
2525 maybe-install-strip-mpfr \
2526 maybe-install-strip-mpc \
2527 maybe-install-strip-isl \
2528 maybe-install-strip-cloog \
2529 maybe-install-strip-libelf \
2530 maybe-install-strip-gold \
2531 maybe-install-strip-gprof \
2532 maybe-install-strip-intl \
2533 maybe-install-strip-tcl \
2534 maybe-install-strip-itcl \
2535 maybe-install-strip-ld \
2536 maybe-install-strip-libbacktrace \
2537 maybe-install-strip-libcpp \
2538 maybe-install-strip-libdecnumber \
2539 maybe-install-strip-libgui \
2540 maybe-install-strip-libiberty \
2541 maybe-install-strip-libiconv \
2542 maybe-install-strip-m4 \
2543 maybe-install-strip-readline \
2544 maybe-install-strip-sid \
2545 maybe-install-strip-sim \
2546 maybe-install-strip-texinfo \
2547 maybe-install-strip-zlib \
2548 maybe-install-strip-gdb \
2549 maybe-install-strip-expect \
2550 maybe-install-strip-guile \
2551 maybe-install-strip-tk \
2552 maybe-install-strip-libtermcap \
2553 maybe-install-strip-utils \
2554 maybe-install-strip-gnattools \
2555 maybe-install-strip-lto-plugin \
2556 maybe-install-strip-function_reordering_plugin
2558 .PHONY: install-strip-target
2559 install-strip-target: \
2560 maybe-install-strip-target-libstdc++-v3 \
2561 maybe-install-strip-target-libmudflap \
2562 maybe-install-strip-target-libsanitizer \
2563 maybe-install-strip-target-libssp \
2564 maybe-install-strip-target-newlib \
2565 maybe-install-strip-target-libgcc \
2566 maybe-install-strip-target-libbacktrace \
2567 maybe-install-strip-target-libquadmath \
2568 maybe-install-strip-target-libgfortran \
2569 maybe-install-strip-target-libobjc \
2570 maybe-install-strip-target-libgo \
2571 maybe-install-strip-target-libtermcap \
2572 maybe-install-strip-target-winsup \
2573 maybe-install-strip-target-libgloss \
2574 maybe-install-strip-target-libffi \
2575 maybe-install-strip-target-libjava \
2576 maybe-install-strip-target-zlib \
2577 maybe-install-strip-target-boehm-gc \
2578 maybe-install-strip-target-rda \
2579 maybe-install-strip-target-libada \
2580 maybe-install-strip-target-libgomp \
2581 maybe-install-strip-target-libitm \
2582 maybe-install-strip-target-libatomic
2585 ### other supporting targets
2587 MAKEDIRS= \
2588 $(DESTDIR)$(prefix) \
2589 $(DESTDIR)$(exec_prefix)
2590 .PHONY: installdirs
2591 installdirs: mkinstalldirs
2592 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2594 dir.info: do-install-info
2595 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2596 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2597 mv -f dir.info.new dir.info ; \
2598 else true ; \
2601 dist:
2602 @echo "Building a full distribution of this tree isn't done"
2603 @echo "via 'make dist'. Check out the etc/ subdirectory"
2605 etags tags: TAGS
2607 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2608 # ability to use several tags files at once, so there is probably no need
2609 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2610 # (if we felt like it) have this Makefile write a piece of elisp which
2611 # the user could load to tell emacs19 where all the TAGS files we just
2612 # built are.
2613 TAGS: do-TAGS
2615 # ------------------------------------
2616 # Macros for configure and all targets
2617 # ------------------------------------
2623 # --------------------------------------
2624 # Modules which run on the build machine
2625 # --------------------------------------
2628 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2629 maybe-configure-build-libiberty:
2630 @if gcc-bootstrap
2631 configure-build-libiberty: stage_current
2632 @endif gcc-bootstrap
2633 @if build-libiberty
2634 maybe-configure-build-libiberty: configure-build-libiberty
2635 configure-build-libiberty:
2636 @: $(MAKE); $(unstage)
2637 @r=`${PWD_COMMAND}`; export r; \
2638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2639 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2640 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2641 $(BUILD_EXPORTS) \
2642 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2643 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2644 case $(srcdir) in \
2645 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2646 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2647 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2648 esac; \
2649 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2650 libsrcdir="$$s/libiberty"; \
2651 rm -f no-such-file || : ; \
2652 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2653 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2654 --target=${target_alias} $${srcdiroption} \
2655 || exit 1
2656 @endif build-libiberty
2662 .PHONY: all-build-libiberty maybe-all-build-libiberty
2663 maybe-all-build-libiberty:
2664 @if gcc-bootstrap
2665 all-build-libiberty: stage_current
2666 @endif gcc-bootstrap
2667 @if build-libiberty
2668 TARGET-build-libiberty=all
2669 maybe-all-build-libiberty: all-build-libiberty
2670 all-build-libiberty: configure-build-libiberty
2671 @: $(MAKE); $(unstage)
2672 @r=`${PWD_COMMAND}`; export r; \
2673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2674 $(BUILD_EXPORTS) \
2675 (cd $(BUILD_SUBDIR)/libiberty && \
2676 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2677 $(TARGET-build-libiberty))
2678 @endif build-libiberty
2684 .PHONY: configure-build-bison maybe-configure-build-bison
2685 maybe-configure-build-bison:
2686 @if gcc-bootstrap
2687 configure-build-bison: stage_current
2688 @endif gcc-bootstrap
2689 @if build-bison
2690 maybe-configure-build-bison: configure-build-bison
2691 configure-build-bison:
2692 @: $(MAKE); $(unstage)
2693 @r=`${PWD_COMMAND}`; export r; \
2694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2695 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2696 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2697 $(BUILD_EXPORTS) \
2698 echo Configuring in $(BUILD_SUBDIR)/bison; \
2699 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2700 case $(srcdir) in \
2701 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2702 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2703 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2704 esac; \
2705 srcdiroption="--srcdir=$${topdir}/bison"; \
2706 libsrcdir="$$s/bison"; \
2707 rm -f no-such-file || : ; \
2708 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2709 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2710 --target=${target_alias} $${srcdiroption} \
2711 || exit 1
2712 @endif build-bison
2718 .PHONY: all-build-bison maybe-all-build-bison
2719 maybe-all-build-bison:
2720 @if gcc-bootstrap
2721 all-build-bison: stage_current
2722 @endif gcc-bootstrap
2723 @if build-bison
2724 TARGET-build-bison=all
2725 maybe-all-build-bison: all-build-bison
2726 all-build-bison: configure-build-bison
2727 @: $(MAKE); $(unstage)
2728 @r=`${PWD_COMMAND}`; export r; \
2729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2730 $(BUILD_EXPORTS) \
2731 (cd $(BUILD_SUBDIR)/bison && \
2732 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2733 $(TARGET-build-bison))
2734 @endif build-bison
2740 .PHONY: configure-build-flex maybe-configure-build-flex
2741 maybe-configure-build-flex:
2742 @if gcc-bootstrap
2743 configure-build-flex: stage_current
2744 @endif gcc-bootstrap
2745 @if build-flex
2746 maybe-configure-build-flex: configure-build-flex
2747 configure-build-flex:
2748 @: $(MAKE); $(unstage)
2749 @r=`${PWD_COMMAND}`; export r; \
2750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2751 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2752 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2753 $(BUILD_EXPORTS) \
2754 echo Configuring in $(BUILD_SUBDIR)/flex; \
2755 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2756 case $(srcdir) in \
2757 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2758 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2759 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2760 esac; \
2761 srcdiroption="--srcdir=$${topdir}/flex"; \
2762 libsrcdir="$$s/flex"; \
2763 rm -f no-such-file || : ; \
2764 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2765 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2766 --target=${target_alias} $${srcdiroption} \
2767 || exit 1
2768 @endif build-flex
2774 .PHONY: all-build-flex maybe-all-build-flex
2775 maybe-all-build-flex:
2776 @if gcc-bootstrap
2777 all-build-flex: stage_current
2778 @endif gcc-bootstrap
2779 @if build-flex
2780 TARGET-build-flex=all
2781 maybe-all-build-flex: all-build-flex
2782 all-build-flex: configure-build-flex
2783 @: $(MAKE); $(unstage)
2784 @r=`${PWD_COMMAND}`; export r; \
2785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2786 $(BUILD_EXPORTS) \
2787 (cd $(BUILD_SUBDIR)/flex && \
2788 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2789 $(TARGET-build-flex))
2790 @endif build-flex
2796 .PHONY: configure-build-m4 maybe-configure-build-m4
2797 maybe-configure-build-m4:
2798 @if gcc-bootstrap
2799 configure-build-m4: stage_current
2800 @endif gcc-bootstrap
2801 @if build-m4
2802 maybe-configure-build-m4: configure-build-m4
2803 configure-build-m4:
2804 @: $(MAKE); $(unstage)
2805 @r=`${PWD_COMMAND}`; export r; \
2806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2807 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2808 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2809 $(BUILD_EXPORTS) \
2810 echo Configuring in $(BUILD_SUBDIR)/m4; \
2811 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2812 case $(srcdir) in \
2813 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2814 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2815 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2816 esac; \
2817 srcdiroption="--srcdir=$${topdir}/m4"; \
2818 libsrcdir="$$s/m4"; \
2819 rm -f no-such-file || : ; \
2820 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2821 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2822 --target=${target_alias} $${srcdiroption} \
2823 || exit 1
2824 @endif build-m4
2830 .PHONY: all-build-m4 maybe-all-build-m4
2831 maybe-all-build-m4:
2832 @if gcc-bootstrap
2833 all-build-m4: stage_current
2834 @endif gcc-bootstrap
2835 @if build-m4
2836 TARGET-build-m4=all
2837 maybe-all-build-m4: all-build-m4
2838 all-build-m4: configure-build-m4
2839 @: $(MAKE); $(unstage)
2840 @r=`${PWD_COMMAND}`; export r; \
2841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2842 $(BUILD_EXPORTS) \
2843 (cd $(BUILD_SUBDIR)/m4 && \
2844 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2845 $(TARGET-build-m4))
2846 @endif build-m4
2852 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2853 maybe-configure-build-texinfo:
2854 @if gcc-bootstrap
2855 configure-build-texinfo: stage_current
2856 @endif gcc-bootstrap
2857 @if build-texinfo
2858 maybe-configure-build-texinfo: configure-build-texinfo
2859 configure-build-texinfo:
2860 @: $(MAKE); $(unstage)
2861 @r=`${PWD_COMMAND}`; export r; \
2862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2863 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2864 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2865 $(BUILD_EXPORTS) \
2866 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2867 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2868 case $(srcdir) in \
2869 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2870 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2871 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2872 esac; \
2873 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2874 libsrcdir="$$s/texinfo"; \
2875 rm -f no-such-file || : ; \
2876 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2877 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2878 --target=${target_alias} $${srcdiroption} \
2879 || exit 1
2880 @endif build-texinfo
2886 .PHONY: all-build-texinfo maybe-all-build-texinfo
2887 maybe-all-build-texinfo:
2888 @if gcc-bootstrap
2889 all-build-texinfo: stage_current
2890 @endif gcc-bootstrap
2891 @if build-texinfo
2892 TARGET-build-texinfo=all
2893 maybe-all-build-texinfo: all-build-texinfo
2894 all-build-texinfo: configure-build-texinfo
2895 @: $(MAKE); $(unstage)
2896 @r=`${PWD_COMMAND}`; export r; \
2897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2898 $(BUILD_EXPORTS) \
2899 (cd $(BUILD_SUBDIR)/texinfo && \
2900 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2901 $(TARGET-build-texinfo))
2902 @endif build-texinfo
2908 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2909 maybe-configure-build-fixincludes:
2910 @if gcc-bootstrap
2911 configure-build-fixincludes: stage_current
2912 @endif gcc-bootstrap
2913 @if build-fixincludes
2914 maybe-configure-build-fixincludes: configure-build-fixincludes
2915 configure-build-fixincludes:
2916 @: $(MAKE); $(unstage)
2917 @r=`${PWD_COMMAND}`; export r; \
2918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2919 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2920 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2921 $(BUILD_EXPORTS) \
2922 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2923 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2924 case $(srcdir) in \
2925 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2926 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2927 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2928 esac; \
2929 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2930 libsrcdir="$$s/fixincludes"; \
2931 rm -f no-such-file || : ; \
2932 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2933 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2934 --target=${target_alias} $${srcdiroption} \
2935 || exit 1
2936 @endif build-fixincludes
2942 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2943 maybe-all-build-fixincludes:
2944 @if gcc-bootstrap
2945 all-build-fixincludes: stage_current
2946 @endif gcc-bootstrap
2947 @if build-fixincludes
2948 TARGET-build-fixincludes=all
2949 maybe-all-build-fixincludes: all-build-fixincludes
2950 all-build-fixincludes: configure-build-fixincludes
2951 @: $(MAKE); $(unstage)
2952 @r=`${PWD_COMMAND}`; export r; \
2953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2954 $(BUILD_EXPORTS) \
2955 (cd $(BUILD_SUBDIR)/fixincludes && \
2956 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2957 $(TARGET-build-fixincludes))
2958 @endif build-fixincludes
2964 # --------------------------------------
2965 # Modules which run on the host machine
2966 # --------------------------------------
2969 .PHONY: configure-bfd maybe-configure-bfd
2970 maybe-configure-bfd:
2971 @if gcc-bootstrap
2972 configure-bfd: stage_current
2973 @endif gcc-bootstrap
2974 @if bfd
2975 maybe-configure-bfd: configure-bfd
2976 configure-bfd:
2977 @r=`${PWD_COMMAND}`; export r; \
2978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2979 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
2980 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
2981 $(HOST_EXPORTS) \
2982 echo Configuring in $(HOST_SUBDIR)/bfd; \
2983 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
2984 case $(srcdir) in \
2985 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2986 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
2987 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2988 esac; \
2989 srcdiroption="--srcdir=$${topdir}/bfd"; \
2990 libsrcdir="$$s/bfd"; \
2991 $(SHELL) $${libsrcdir}/configure \
2992 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
2993 --target=${target_alias} $${srcdiroption} \
2994 || exit 1
2995 @endif bfd
2999 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
3000 maybe-configure-stage1-bfd:
3001 @if bfd-bootstrap
3002 maybe-configure-stage1-bfd: configure-stage1-bfd
3003 configure-stage1-bfd:
3004 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3005 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3006 @r=`${PWD_COMMAND}`; export r; \
3007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3008 TFLAGS="$(STAGE1_TFLAGS)"; \
3009 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3010 $(HOST_EXPORTS) \
3011 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3012 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3013 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
3014 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
3015 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3016 cd $(HOST_SUBDIR)/bfd || exit 1; \
3017 case $(srcdir) in \
3018 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3019 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3020 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3021 esac; \
3022 srcdiroption="--srcdir=$${topdir}/bfd"; \
3023 libsrcdir="$$s/bfd"; \
3024 $(SHELL) $${libsrcdir}/configure \
3025 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3026 --target=${target_alias} $${srcdiroption} \
3027 $(STAGE1_CONFIGURE_FLAGS)
3028 @endif bfd-bootstrap
3030 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
3031 maybe-configure-stage2-bfd:
3032 @if bfd-bootstrap
3033 maybe-configure-stage2-bfd: configure-stage2-bfd
3034 configure-stage2-bfd:
3035 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3036 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3037 @r=`${PWD_COMMAND}`; export r; \
3038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3039 TFLAGS="$(STAGE2_TFLAGS)"; \
3040 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3041 $(HOST_EXPORTS) \
3042 $(POSTSTAGE1_HOST_EXPORTS) \
3043 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3044 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3045 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3046 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
3047 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3048 cd $(HOST_SUBDIR)/bfd || exit 1; \
3049 case $(srcdir) in \
3050 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3051 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3052 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3053 esac; \
3054 srcdiroption="--srcdir=$${topdir}/bfd"; \
3055 libsrcdir="$$s/bfd"; \
3056 $(SHELL) $${libsrcdir}/configure \
3057 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3058 --target=${target_alias} $${srcdiroption} \
3059 --with-build-libsubdir=$(HOST_SUBDIR) \
3060 $(STAGE2_CONFIGURE_FLAGS)
3061 @endif bfd-bootstrap
3063 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
3064 maybe-configure-stage3-bfd:
3065 @if bfd-bootstrap
3066 maybe-configure-stage3-bfd: configure-stage3-bfd
3067 configure-stage3-bfd:
3068 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3069 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3070 @r=`${PWD_COMMAND}`; export r; \
3071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3072 TFLAGS="$(STAGE3_TFLAGS)"; \
3073 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3074 $(HOST_EXPORTS) \
3075 $(POSTSTAGE1_HOST_EXPORTS) \
3076 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3077 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3078 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3079 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
3080 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3081 cd $(HOST_SUBDIR)/bfd || exit 1; \
3082 case $(srcdir) in \
3083 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3084 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3085 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3086 esac; \
3087 srcdiroption="--srcdir=$${topdir}/bfd"; \
3088 libsrcdir="$$s/bfd"; \
3089 $(SHELL) $${libsrcdir}/configure \
3090 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3091 --target=${target_alias} $${srcdiroption} \
3092 --with-build-libsubdir=$(HOST_SUBDIR) \
3093 $(STAGE3_CONFIGURE_FLAGS)
3094 @endif bfd-bootstrap
3096 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
3097 maybe-configure-stage4-bfd:
3098 @if bfd-bootstrap
3099 maybe-configure-stage4-bfd: configure-stage4-bfd
3100 configure-stage4-bfd:
3101 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3102 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3103 @r=`${PWD_COMMAND}`; export r; \
3104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3105 TFLAGS="$(STAGE4_TFLAGS)"; \
3106 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3107 $(HOST_EXPORTS) \
3108 $(POSTSTAGE1_HOST_EXPORTS) \
3109 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3110 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3111 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3112 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
3113 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3114 cd $(HOST_SUBDIR)/bfd || exit 1; \
3115 case $(srcdir) in \
3116 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3117 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3118 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3119 esac; \
3120 srcdiroption="--srcdir=$${topdir}/bfd"; \
3121 libsrcdir="$$s/bfd"; \
3122 $(SHELL) $${libsrcdir}/configure \
3123 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3124 --target=${target_alias} $${srcdiroption} \
3125 --with-build-libsubdir=$(HOST_SUBDIR) \
3126 $(STAGE4_CONFIGURE_FLAGS)
3127 @endif bfd-bootstrap
3129 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
3130 maybe-configure-stageprofile-bfd:
3131 @if bfd-bootstrap
3132 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
3133 configure-stageprofile-bfd:
3134 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3135 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3136 @r=`${PWD_COMMAND}`; export r; \
3137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3138 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3139 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3140 $(HOST_EXPORTS) \
3141 $(POSTSTAGE1_HOST_EXPORTS) \
3142 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3143 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3144 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3145 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
3146 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3147 cd $(HOST_SUBDIR)/bfd || exit 1; \
3148 case $(srcdir) in \
3149 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3150 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3151 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3152 esac; \
3153 srcdiroption="--srcdir=$${topdir}/bfd"; \
3154 libsrcdir="$$s/bfd"; \
3155 $(SHELL) $${libsrcdir}/configure \
3156 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3157 --target=${target_alias} $${srcdiroption} \
3158 --with-build-libsubdir=$(HOST_SUBDIR) \
3159 $(STAGEprofile_CONFIGURE_FLAGS)
3160 @endif bfd-bootstrap
3162 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
3163 maybe-configure-stagefeedback-bfd:
3164 @if bfd-bootstrap
3165 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
3166 configure-stagefeedback-bfd:
3167 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3168 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3169 @r=`${PWD_COMMAND}`; export r; \
3170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3171 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3172 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3173 $(HOST_EXPORTS) \
3174 $(POSTSTAGE1_HOST_EXPORTS) \
3175 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
3176 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
3177 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
3178 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
3179 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3180 cd $(HOST_SUBDIR)/bfd || exit 1; \
3181 case $(srcdir) in \
3182 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3183 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3184 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3185 esac; \
3186 srcdiroption="--srcdir=$${topdir}/bfd"; \
3187 libsrcdir="$$s/bfd"; \
3188 $(SHELL) $${libsrcdir}/configure \
3189 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3190 --target=${target_alias} $${srcdiroption} \
3191 --with-build-libsubdir=$(HOST_SUBDIR) \
3192 $(STAGEfeedback_CONFIGURE_FLAGS)
3193 @endif bfd-bootstrap
3199 .PHONY: all-bfd maybe-all-bfd
3200 maybe-all-bfd:
3201 @if gcc-bootstrap
3202 all-bfd: stage_current
3203 @endif gcc-bootstrap
3204 @if bfd
3205 TARGET-bfd=all
3206 maybe-all-bfd: all-bfd
3207 all-bfd: configure-bfd
3208 @r=`${PWD_COMMAND}`; export r; \
3209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3210 $(HOST_EXPORTS) \
3211 (cd $(HOST_SUBDIR)/bfd && \
3212 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
3213 $(TARGET-bfd))
3214 @endif bfd
3218 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
3219 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
3220 maybe-all-stage1-bfd:
3221 maybe-clean-stage1-bfd:
3222 @if bfd-bootstrap
3223 maybe-all-stage1-bfd: all-stage1-bfd
3224 all-stage1: all-stage1-bfd
3225 TARGET-stage1-bfd = $(TARGET-bfd)
3226 all-stage1-bfd: configure-stage1-bfd
3227 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3228 @r=`${PWD_COMMAND}`; export r; \
3229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3230 TFLAGS="$(STAGE1_TFLAGS)"; \
3231 $(HOST_EXPORTS) \
3232 cd $(HOST_SUBDIR)/bfd && \
3233 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3234 CFLAGS="$(STAGE1_CFLAGS)" \
3235 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
3236 LIBCFLAGS="$(LIBCFLAGS)" \
3237 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3238 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3239 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3240 $(EXTRA_HOST_FLAGS) \
3241 $(STAGE1_FLAGS_TO_PASS) \
3242 TFLAGS="$(STAGE1_TFLAGS)" \
3243 $(TARGET-stage1-bfd)
3245 maybe-clean-stage1-bfd: clean-stage1-bfd
3246 clean-stage1: clean-stage1-bfd
3247 clean-stage1-bfd:
3248 @if [ $(current_stage) = stage1 ]; then \
3249 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3250 else \
3251 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
3252 $(MAKE) stage1-start; \
3253 fi; \
3254 cd $(HOST_SUBDIR)/bfd && \
3255 $(MAKE) $(EXTRA_HOST_FLAGS) \
3256 $(STAGE1_FLAGS_TO_PASS) clean
3257 @endif bfd-bootstrap
3260 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
3261 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
3262 maybe-all-stage2-bfd:
3263 maybe-clean-stage2-bfd:
3264 @if bfd-bootstrap
3265 maybe-all-stage2-bfd: all-stage2-bfd
3266 all-stage2: all-stage2-bfd
3267 TARGET-stage2-bfd = $(TARGET-bfd)
3268 all-stage2-bfd: configure-stage2-bfd
3269 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3270 @r=`${PWD_COMMAND}`; export r; \
3271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3272 TFLAGS="$(STAGE2_TFLAGS)"; \
3273 $(HOST_EXPORTS) \
3274 $(POSTSTAGE1_HOST_EXPORTS) \
3275 cd $(HOST_SUBDIR)/bfd && \
3276 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3277 CFLAGS="$(STAGE2_CFLAGS)" \
3278 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
3279 LIBCFLAGS="$(STAGE2_CFLAGS)" \
3280 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3281 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3282 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3283 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3284 TFLAGS="$(STAGE2_TFLAGS)" \
3285 $(TARGET-stage2-bfd)
3287 maybe-clean-stage2-bfd: clean-stage2-bfd
3288 clean-stage2: clean-stage2-bfd
3289 clean-stage2-bfd:
3290 @if [ $(current_stage) = stage2 ]; then \
3291 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3292 else \
3293 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
3294 $(MAKE) stage2-start; \
3295 fi; \
3296 cd $(HOST_SUBDIR)/bfd && \
3297 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3298 @endif bfd-bootstrap
3301 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
3302 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
3303 maybe-all-stage3-bfd:
3304 maybe-clean-stage3-bfd:
3305 @if bfd-bootstrap
3306 maybe-all-stage3-bfd: all-stage3-bfd
3307 all-stage3: all-stage3-bfd
3308 TARGET-stage3-bfd = $(TARGET-bfd)
3309 all-stage3-bfd: configure-stage3-bfd
3310 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3311 @r=`${PWD_COMMAND}`; export r; \
3312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3313 TFLAGS="$(STAGE3_TFLAGS)"; \
3314 $(HOST_EXPORTS) \
3315 $(POSTSTAGE1_HOST_EXPORTS) \
3316 cd $(HOST_SUBDIR)/bfd && \
3317 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3318 CFLAGS="$(STAGE3_CFLAGS)" \
3319 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
3320 LIBCFLAGS="$(STAGE3_CFLAGS)" \
3321 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3322 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3323 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3324 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3325 TFLAGS="$(STAGE3_TFLAGS)" \
3326 $(TARGET-stage3-bfd)
3328 maybe-clean-stage3-bfd: clean-stage3-bfd
3329 clean-stage3: clean-stage3-bfd
3330 clean-stage3-bfd:
3331 @if [ $(current_stage) = stage3 ]; then \
3332 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3333 else \
3334 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
3335 $(MAKE) stage3-start; \
3336 fi; \
3337 cd $(HOST_SUBDIR)/bfd && \
3338 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3339 @endif bfd-bootstrap
3342 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
3343 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
3344 maybe-all-stage4-bfd:
3345 maybe-clean-stage4-bfd:
3346 @if bfd-bootstrap
3347 maybe-all-stage4-bfd: all-stage4-bfd
3348 all-stage4: all-stage4-bfd
3349 TARGET-stage4-bfd = $(TARGET-bfd)
3350 all-stage4-bfd: configure-stage4-bfd
3351 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3352 @r=`${PWD_COMMAND}`; export r; \
3353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3354 TFLAGS="$(STAGE4_TFLAGS)"; \
3355 $(HOST_EXPORTS) \
3356 $(POSTSTAGE1_HOST_EXPORTS) \
3357 cd $(HOST_SUBDIR)/bfd && \
3358 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3359 CFLAGS="$(STAGE4_CFLAGS)" \
3360 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
3361 LIBCFLAGS="$(STAGE4_CFLAGS)" \
3362 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3363 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3364 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3365 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3366 TFLAGS="$(STAGE4_TFLAGS)" \
3367 $(TARGET-stage4-bfd)
3369 maybe-clean-stage4-bfd: clean-stage4-bfd
3370 clean-stage4: clean-stage4-bfd
3371 clean-stage4-bfd:
3372 @if [ $(current_stage) = stage4 ]; then \
3373 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3374 else \
3375 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
3376 $(MAKE) stage4-start; \
3377 fi; \
3378 cd $(HOST_SUBDIR)/bfd && \
3379 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3380 @endif bfd-bootstrap
3383 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
3384 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
3385 maybe-all-stageprofile-bfd:
3386 maybe-clean-stageprofile-bfd:
3387 @if bfd-bootstrap
3388 maybe-all-stageprofile-bfd: all-stageprofile-bfd
3389 all-stageprofile: all-stageprofile-bfd
3390 TARGET-stageprofile-bfd = $(TARGET-bfd)
3391 all-stageprofile-bfd: configure-stageprofile-bfd
3392 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3393 @r=`${PWD_COMMAND}`; export r; \
3394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3395 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3396 $(HOST_EXPORTS) \
3397 $(POSTSTAGE1_HOST_EXPORTS) \
3398 cd $(HOST_SUBDIR)/bfd && \
3399 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3400 CFLAGS="$(STAGEprofile_CFLAGS)" \
3401 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
3402 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
3403 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3404 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3405 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3406 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3407 TFLAGS="$(STAGEprofile_TFLAGS)" \
3408 $(TARGET-stageprofile-bfd)
3410 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
3411 clean-stageprofile: clean-stageprofile-bfd
3412 clean-stageprofile-bfd:
3413 @if [ $(current_stage) = stageprofile ]; then \
3414 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3415 else \
3416 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
3417 $(MAKE) stageprofile-start; \
3418 fi; \
3419 cd $(HOST_SUBDIR)/bfd && \
3420 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3421 @endif bfd-bootstrap
3424 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
3425 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
3426 maybe-all-stagefeedback-bfd:
3427 maybe-clean-stagefeedback-bfd:
3428 @if bfd-bootstrap
3429 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
3430 all-stagefeedback: all-stagefeedback-bfd
3431 TARGET-stagefeedback-bfd = $(TARGET-bfd)
3432 all-stagefeedback-bfd: configure-stagefeedback-bfd
3433 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3434 @r=`${PWD_COMMAND}`; export r; \
3435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3436 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3437 $(HOST_EXPORTS) \
3438 $(POSTSTAGE1_HOST_EXPORTS) \
3439 cd $(HOST_SUBDIR)/bfd && \
3440 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3441 CFLAGS="$(STAGEfeedback_CFLAGS)" \
3442 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
3443 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
3444 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3445 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3446 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3447 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3448 TFLAGS="$(STAGEfeedback_TFLAGS)" \
3449 $(TARGET-stagefeedback-bfd)
3451 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
3452 clean-stagefeedback: clean-stagefeedback-bfd
3453 clean-stagefeedback-bfd:
3454 @if [ $(current_stage) = stagefeedback ]; then \
3455 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3456 else \
3457 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
3458 $(MAKE) stagefeedback-start; \
3459 fi; \
3460 cd $(HOST_SUBDIR)/bfd && \
3461 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3462 @endif bfd-bootstrap
3468 .PHONY: check-bfd maybe-check-bfd
3469 maybe-check-bfd:
3470 @if bfd
3471 maybe-check-bfd: check-bfd
3473 check-bfd:
3474 @: $(MAKE); $(unstage)
3475 @r=`${PWD_COMMAND}`; export r; \
3476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3477 $(HOST_EXPORTS) \
3478 (cd $(HOST_SUBDIR)/bfd && \
3479 $(MAKE) $(FLAGS_TO_PASS) check)
3481 @endif bfd
3483 .PHONY: install-bfd maybe-install-bfd
3484 maybe-install-bfd:
3485 @if bfd
3486 maybe-install-bfd: install-bfd
3488 install-bfd: installdirs
3489 @: $(MAKE); $(unstage)
3490 @r=`${PWD_COMMAND}`; export r; \
3491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3492 $(HOST_EXPORTS) \
3493 (cd $(HOST_SUBDIR)/bfd && \
3494 $(MAKE) $(FLAGS_TO_PASS) install)
3496 @endif bfd
3498 .PHONY: install-strip-bfd maybe-install-strip-bfd
3499 maybe-install-strip-bfd:
3500 @if bfd
3501 maybe-install-strip-bfd: install-strip-bfd
3503 install-strip-bfd: installdirs
3504 @: $(MAKE); $(unstage)
3505 @r=`${PWD_COMMAND}`; export r; \
3506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3507 $(HOST_EXPORTS) \
3508 (cd $(HOST_SUBDIR)/bfd && \
3509 $(MAKE) $(FLAGS_TO_PASS) install-strip)
3511 @endif bfd
3513 # Other targets (info, dvi, pdf, etc.)
3515 .PHONY: maybe-info-bfd info-bfd
3516 maybe-info-bfd:
3517 @if bfd
3518 maybe-info-bfd: info-bfd
3520 info-bfd: \
3521 configure-bfd
3522 @[ -f ./bfd/Makefile ] || exit 0; \
3523 r=`${PWD_COMMAND}`; export r; \
3524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3525 $(HOST_EXPORTS) \
3526 for flag in $(EXTRA_HOST_FLAGS) ; do \
3527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3528 done; \
3529 echo "Doing info in bfd" ; \
3530 (cd $(HOST_SUBDIR)/bfd && \
3531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3533 "RANLIB=$${RANLIB}" \
3534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3535 info) \
3536 || exit 1
3538 @endif bfd
3540 .PHONY: maybe-dvi-bfd dvi-bfd
3541 maybe-dvi-bfd:
3542 @if bfd
3543 maybe-dvi-bfd: dvi-bfd
3545 dvi-bfd: \
3546 configure-bfd
3547 @[ -f ./bfd/Makefile ] || exit 0; \
3548 r=`${PWD_COMMAND}`; export r; \
3549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3550 $(HOST_EXPORTS) \
3551 for flag in $(EXTRA_HOST_FLAGS) ; do \
3552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3553 done; \
3554 echo "Doing dvi in bfd" ; \
3555 (cd $(HOST_SUBDIR)/bfd && \
3556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3558 "RANLIB=$${RANLIB}" \
3559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3560 dvi) \
3561 || exit 1
3563 @endif bfd
3565 .PHONY: maybe-pdf-bfd pdf-bfd
3566 maybe-pdf-bfd:
3567 @if bfd
3568 maybe-pdf-bfd: pdf-bfd
3570 pdf-bfd: \
3571 configure-bfd
3572 @[ -f ./bfd/Makefile ] || exit 0; \
3573 r=`${PWD_COMMAND}`; export r; \
3574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3575 $(HOST_EXPORTS) \
3576 for flag in $(EXTRA_HOST_FLAGS) ; do \
3577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3578 done; \
3579 echo "Doing pdf in bfd" ; \
3580 (cd $(HOST_SUBDIR)/bfd && \
3581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3583 "RANLIB=$${RANLIB}" \
3584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3585 pdf) \
3586 || exit 1
3588 @endif bfd
3590 .PHONY: maybe-html-bfd html-bfd
3591 maybe-html-bfd:
3592 @if bfd
3593 maybe-html-bfd: html-bfd
3595 html-bfd: \
3596 configure-bfd
3597 @[ -f ./bfd/Makefile ] || exit 0; \
3598 r=`${PWD_COMMAND}`; export r; \
3599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3600 $(HOST_EXPORTS) \
3601 for flag in $(EXTRA_HOST_FLAGS) ; do \
3602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3603 done; \
3604 echo "Doing html in bfd" ; \
3605 (cd $(HOST_SUBDIR)/bfd && \
3606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3608 "RANLIB=$${RANLIB}" \
3609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3610 html) \
3611 || exit 1
3613 @endif bfd
3615 .PHONY: maybe-TAGS-bfd TAGS-bfd
3616 maybe-TAGS-bfd:
3617 @if bfd
3618 maybe-TAGS-bfd: TAGS-bfd
3620 TAGS-bfd: \
3621 configure-bfd
3622 @[ -f ./bfd/Makefile ] || exit 0; \
3623 r=`${PWD_COMMAND}`; export r; \
3624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3625 $(HOST_EXPORTS) \
3626 for flag in $(EXTRA_HOST_FLAGS) ; do \
3627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3628 done; \
3629 echo "Doing TAGS in bfd" ; \
3630 (cd $(HOST_SUBDIR)/bfd && \
3631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3633 "RANLIB=$${RANLIB}" \
3634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3635 TAGS) \
3636 || exit 1
3638 @endif bfd
3640 .PHONY: maybe-install-info-bfd install-info-bfd
3641 maybe-install-info-bfd:
3642 @if bfd
3643 maybe-install-info-bfd: install-info-bfd
3645 install-info-bfd: \
3646 configure-bfd \
3647 info-bfd
3648 @[ -f ./bfd/Makefile ] || exit 0; \
3649 r=`${PWD_COMMAND}`; export r; \
3650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3651 $(HOST_EXPORTS) \
3652 for flag in $(EXTRA_HOST_FLAGS) ; do \
3653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3654 done; \
3655 echo "Doing install-info in bfd" ; \
3656 (cd $(HOST_SUBDIR)/bfd && \
3657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3659 "RANLIB=$${RANLIB}" \
3660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3661 install-info) \
3662 || exit 1
3664 @endif bfd
3666 .PHONY: maybe-install-pdf-bfd install-pdf-bfd
3667 maybe-install-pdf-bfd:
3668 @if bfd
3669 maybe-install-pdf-bfd: install-pdf-bfd
3671 install-pdf-bfd: \
3672 configure-bfd \
3673 pdf-bfd
3674 @[ -f ./bfd/Makefile ] || exit 0; \
3675 r=`${PWD_COMMAND}`; export r; \
3676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3677 $(HOST_EXPORTS) \
3678 for flag in $(EXTRA_HOST_FLAGS) ; do \
3679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3680 done; \
3681 echo "Doing install-pdf in bfd" ; \
3682 (cd $(HOST_SUBDIR)/bfd && \
3683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3685 "RANLIB=$${RANLIB}" \
3686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3687 install-pdf) \
3688 || exit 1
3690 @endif bfd
3692 .PHONY: maybe-install-html-bfd install-html-bfd
3693 maybe-install-html-bfd:
3694 @if bfd
3695 maybe-install-html-bfd: install-html-bfd
3697 install-html-bfd: \
3698 configure-bfd \
3699 html-bfd
3700 @[ -f ./bfd/Makefile ] || exit 0; \
3701 r=`${PWD_COMMAND}`; export r; \
3702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3703 $(HOST_EXPORTS) \
3704 for flag in $(EXTRA_HOST_FLAGS) ; do \
3705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3706 done; \
3707 echo "Doing install-html in bfd" ; \
3708 (cd $(HOST_SUBDIR)/bfd && \
3709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3711 "RANLIB=$${RANLIB}" \
3712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3713 install-html) \
3714 || exit 1
3716 @endif bfd
3718 .PHONY: maybe-installcheck-bfd installcheck-bfd
3719 maybe-installcheck-bfd:
3720 @if bfd
3721 maybe-installcheck-bfd: installcheck-bfd
3723 installcheck-bfd: \
3724 configure-bfd
3725 @[ -f ./bfd/Makefile ] || exit 0; \
3726 r=`${PWD_COMMAND}`; export r; \
3727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3728 $(HOST_EXPORTS) \
3729 for flag in $(EXTRA_HOST_FLAGS) ; do \
3730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3731 done; \
3732 echo "Doing installcheck in bfd" ; \
3733 (cd $(HOST_SUBDIR)/bfd && \
3734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3736 "RANLIB=$${RANLIB}" \
3737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3738 installcheck) \
3739 || exit 1
3741 @endif bfd
3743 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3744 maybe-mostlyclean-bfd:
3745 @if bfd
3746 maybe-mostlyclean-bfd: mostlyclean-bfd
3748 mostlyclean-bfd:
3749 @[ -f ./bfd/Makefile ] || exit 0; \
3750 r=`${PWD_COMMAND}`; export r; \
3751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3752 $(HOST_EXPORTS) \
3753 for flag in $(EXTRA_HOST_FLAGS) ; do \
3754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3755 done; \
3756 echo "Doing mostlyclean in bfd" ; \
3757 (cd $(HOST_SUBDIR)/bfd && \
3758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3760 "RANLIB=$${RANLIB}" \
3761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3762 mostlyclean) \
3763 || exit 1
3765 @endif bfd
3767 .PHONY: maybe-clean-bfd clean-bfd
3768 maybe-clean-bfd:
3769 @if bfd
3770 maybe-clean-bfd: clean-bfd
3772 clean-bfd:
3773 @[ -f ./bfd/Makefile ] || exit 0; \
3774 r=`${PWD_COMMAND}`; export r; \
3775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3776 $(HOST_EXPORTS) \
3777 for flag in $(EXTRA_HOST_FLAGS) ; do \
3778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3779 done; \
3780 echo "Doing clean in bfd" ; \
3781 (cd $(HOST_SUBDIR)/bfd && \
3782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3784 "RANLIB=$${RANLIB}" \
3785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3786 clean) \
3787 || exit 1
3789 @endif bfd
3791 .PHONY: maybe-distclean-bfd distclean-bfd
3792 maybe-distclean-bfd:
3793 @if bfd
3794 maybe-distclean-bfd: distclean-bfd
3796 distclean-bfd:
3797 @[ -f ./bfd/Makefile ] || exit 0; \
3798 r=`${PWD_COMMAND}`; export r; \
3799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3800 $(HOST_EXPORTS) \
3801 for flag in $(EXTRA_HOST_FLAGS) ; do \
3802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3803 done; \
3804 echo "Doing distclean in bfd" ; \
3805 (cd $(HOST_SUBDIR)/bfd && \
3806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3808 "RANLIB=$${RANLIB}" \
3809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3810 distclean) \
3811 || exit 1
3813 @endif bfd
3815 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
3816 maybe-maintainer-clean-bfd:
3817 @if bfd
3818 maybe-maintainer-clean-bfd: maintainer-clean-bfd
3820 maintainer-clean-bfd:
3821 @[ -f ./bfd/Makefile ] || exit 0; \
3822 r=`${PWD_COMMAND}`; export r; \
3823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3824 $(HOST_EXPORTS) \
3825 for flag in $(EXTRA_HOST_FLAGS) ; do \
3826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3827 done; \
3828 echo "Doing maintainer-clean in bfd" ; \
3829 (cd $(HOST_SUBDIR)/bfd && \
3830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3832 "RANLIB=$${RANLIB}" \
3833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3834 maintainer-clean) \
3835 || exit 1
3837 @endif bfd
3841 .PHONY: configure-opcodes maybe-configure-opcodes
3842 maybe-configure-opcodes:
3843 @if gcc-bootstrap
3844 configure-opcodes: stage_current
3845 @endif gcc-bootstrap
3846 @if opcodes
3847 maybe-configure-opcodes: configure-opcodes
3848 configure-opcodes:
3849 @r=`${PWD_COMMAND}`; export r; \
3850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3851 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3852 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3853 $(HOST_EXPORTS) \
3854 echo Configuring in $(HOST_SUBDIR)/opcodes; \
3855 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
3856 case $(srcdir) in \
3857 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3858 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3859 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3860 esac; \
3861 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3862 libsrcdir="$$s/opcodes"; \
3863 $(SHELL) $${libsrcdir}/configure \
3864 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3865 --target=${target_alias} $${srcdiroption} \
3866 || exit 1
3867 @endif opcodes
3871 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
3872 maybe-configure-stage1-opcodes:
3873 @if opcodes-bootstrap
3874 maybe-configure-stage1-opcodes: configure-stage1-opcodes
3875 configure-stage1-opcodes:
3876 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3877 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3878 @r=`${PWD_COMMAND}`; export r; \
3879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3880 TFLAGS="$(STAGE1_TFLAGS)"; \
3881 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3882 $(HOST_EXPORTS) \
3883 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3884 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3885 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
3886 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
3887 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3888 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3889 case $(srcdir) in \
3890 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3891 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3892 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3893 esac; \
3894 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3895 libsrcdir="$$s/opcodes"; \
3896 $(SHELL) $${libsrcdir}/configure \
3897 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3898 --target=${target_alias} $${srcdiroption} \
3899 $(STAGE1_CONFIGURE_FLAGS)
3900 @endif opcodes-bootstrap
3902 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
3903 maybe-configure-stage2-opcodes:
3904 @if opcodes-bootstrap
3905 maybe-configure-stage2-opcodes: configure-stage2-opcodes
3906 configure-stage2-opcodes:
3907 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3908 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3909 @r=`${PWD_COMMAND}`; export r; \
3910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3911 TFLAGS="$(STAGE2_TFLAGS)"; \
3912 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3913 $(HOST_EXPORTS) \
3914 $(POSTSTAGE1_HOST_EXPORTS) \
3915 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3916 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3917 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3918 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
3919 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3920 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3921 case $(srcdir) in \
3922 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3923 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3924 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3925 esac; \
3926 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3927 libsrcdir="$$s/opcodes"; \
3928 $(SHELL) $${libsrcdir}/configure \
3929 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3930 --target=${target_alias} $${srcdiroption} \
3931 --with-build-libsubdir=$(HOST_SUBDIR) \
3932 $(STAGE2_CONFIGURE_FLAGS)
3933 @endif opcodes-bootstrap
3935 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
3936 maybe-configure-stage3-opcodes:
3937 @if opcodes-bootstrap
3938 maybe-configure-stage3-opcodes: configure-stage3-opcodes
3939 configure-stage3-opcodes:
3940 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3941 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3942 @r=`${PWD_COMMAND}`; export r; \
3943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3944 TFLAGS="$(STAGE3_TFLAGS)"; \
3945 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3946 $(HOST_EXPORTS) \
3947 $(POSTSTAGE1_HOST_EXPORTS) \
3948 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3949 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3950 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3951 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
3952 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3953 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3954 case $(srcdir) in \
3955 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3956 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3957 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3958 esac; \
3959 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3960 libsrcdir="$$s/opcodes"; \
3961 $(SHELL) $${libsrcdir}/configure \
3962 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3963 --target=${target_alias} $${srcdiroption} \
3964 --with-build-libsubdir=$(HOST_SUBDIR) \
3965 $(STAGE3_CONFIGURE_FLAGS)
3966 @endif opcodes-bootstrap
3968 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
3969 maybe-configure-stage4-opcodes:
3970 @if opcodes-bootstrap
3971 maybe-configure-stage4-opcodes: configure-stage4-opcodes
3972 configure-stage4-opcodes:
3973 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3974 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3975 @r=`${PWD_COMMAND}`; export r; \
3976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3977 TFLAGS="$(STAGE4_TFLAGS)"; \
3978 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3979 $(HOST_EXPORTS) \
3980 $(POSTSTAGE1_HOST_EXPORTS) \
3981 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3982 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3983 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3984 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
3985 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3986 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3987 case $(srcdir) in \
3988 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3989 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3990 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3991 esac; \
3992 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3993 libsrcdir="$$s/opcodes"; \
3994 $(SHELL) $${libsrcdir}/configure \
3995 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3996 --target=${target_alias} $${srcdiroption} \
3997 --with-build-libsubdir=$(HOST_SUBDIR) \
3998 $(STAGE4_CONFIGURE_FLAGS)
3999 @endif opcodes-bootstrap
4001 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
4002 maybe-configure-stageprofile-opcodes:
4003 @if opcodes-bootstrap
4004 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
4005 configure-stageprofile-opcodes:
4006 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4007 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4008 @r=`${PWD_COMMAND}`; export r; \
4009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4010 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4011 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4012 $(HOST_EXPORTS) \
4013 $(POSTSTAGE1_HOST_EXPORTS) \
4014 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4015 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4016 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4017 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
4018 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4019 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4020 case $(srcdir) in \
4021 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4022 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4023 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4024 esac; \
4025 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4026 libsrcdir="$$s/opcodes"; \
4027 $(SHELL) $${libsrcdir}/configure \
4028 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4029 --target=${target_alias} $${srcdiroption} \
4030 --with-build-libsubdir=$(HOST_SUBDIR) \
4031 $(STAGEprofile_CONFIGURE_FLAGS)
4032 @endif opcodes-bootstrap
4034 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
4035 maybe-configure-stagefeedback-opcodes:
4036 @if opcodes-bootstrap
4037 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
4038 configure-stagefeedback-opcodes:
4039 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4040 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4041 @r=`${PWD_COMMAND}`; export r; \
4042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4043 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4044 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4045 $(HOST_EXPORTS) \
4046 $(POSTSTAGE1_HOST_EXPORTS) \
4047 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4048 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4049 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4050 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
4051 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4052 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4053 case $(srcdir) in \
4054 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4055 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4056 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4057 esac; \
4058 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4059 libsrcdir="$$s/opcodes"; \
4060 $(SHELL) $${libsrcdir}/configure \
4061 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4062 --target=${target_alias} $${srcdiroption} \
4063 --with-build-libsubdir=$(HOST_SUBDIR) \
4064 $(STAGEfeedback_CONFIGURE_FLAGS)
4065 @endif opcodes-bootstrap
4071 .PHONY: all-opcodes maybe-all-opcodes
4072 maybe-all-opcodes:
4073 @if gcc-bootstrap
4074 all-opcodes: stage_current
4075 @endif gcc-bootstrap
4076 @if opcodes
4077 TARGET-opcodes=all
4078 maybe-all-opcodes: all-opcodes
4079 all-opcodes: configure-opcodes
4080 @r=`${PWD_COMMAND}`; export r; \
4081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4082 $(HOST_EXPORTS) \
4083 (cd $(HOST_SUBDIR)/opcodes && \
4084 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
4085 $(TARGET-opcodes))
4086 @endif opcodes
4090 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4091 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4092 maybe-all-stage1-opcodes:
4093 maybe-clean-stage1-opcodes:
4094 @if opcodes-bootstrap
4095 maybe-all-stage1-opcodes: all-stage1-opcodes
4096 all-stage1: all-stage1-opcodes
4097 TARGET-stage1-opcodes = $(TARGET-opcodes)
4098 all-stage1-opcodes: configure-stage1-opcodes
4099 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4100 @r=`${PWD_COMMAND}`; export r; \
4101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4102 TFLAGS="$(STAGE1_TFLAGS)"; \
4103 $(HOST_EXPORTS) \
4104 cd $(HOST_SUBDIR)/opcodes && \
4105 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4106 CFLAGS="$(STAGE1_CFLAGS)" \
4107 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4108 LIBCFLAGS="$(LIBCFLAGS)" \
4109 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4110 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4111 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4112 $(EXTRA_HOST_FLAGS) \
4113 $(STAGE1_FLAGS_TO_PASS) \
4114 TFLAGS="$(STAGE1_TFLAGS)" \
4115 $(TARGET-stage1-opcodes)
4117 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4118 clean-stage1: clean-stage1-opcodes
4119 clean-stage1-opcodes:
4120 @if [ $(current_stage) = stage1 ]; then \
4121 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4122 else \
4123 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
4124 $(MAKE) stage1-start; \
4125 fi; \
4126 cd $(HOST_SUBDIR)/opcodes && \
4127 $(MAKE) $(EXTRA_HOST_FLAGS) \
4128 $(STAGE1_FLAGS_TO_PASS) clean
4129 @endif opcodes-bootstrap
4132 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4133 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4134 maybe-all-stage2-opcodes:
4135 maybe-clean-stage2-opcodes:
4136 @if opcodes-bootstrap
4137 maybe-all-stage2-opcodes: all-stage2-opcodes
4138 all-stage2: all-stage2-opcodes
4139 TARGET-stage2-opcodes = $(TARGET-opcodes)
4140 all-stage2-opcodes: configure-stage2-opcodes
4141 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4142 @r=`${PWD_COMMAND}`; export r; \
4143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4144 TFLAGS="$(STAGE2_TFLAGS)"; \
4145 $(HOST_EXPORTS) \
4146 $(POSTSTAGE1_HOST_EXPORTS) \
4147 cd $(HOST_SUBDIR)/opcodes && \
4148 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4149 CFLAGS="$(STAGE2_CFLAGS)" \
4150 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
4151 LIBCFLAGS="$(STAGE2_CFLAGS)" \
4152 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4153 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4154 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4155 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4156 TFLAGS="$(STAGE2_TFLAGS)" \
4157 $(TARGET-stage2-opcodes)
4159 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4160 clean-stage2: clean-stage2-opcodes
4161 clean-stage2-opcodes:
4162 @if [ $(current_stage) = stage2 ]; then \
4163 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4164 else \
4165 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
4166 $(MAKE) stage2-start; \
4167 fi; \
4168 cd $(HOST_SUBDIR)/opcodes && \
4169 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4170 @endif opcodes-bootstrap
4173 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4174 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4175 maybe-all-stage3-opcodes:
4176 maybe-clean-stage3-opcodes:
4177 @if opcodes-bootstrap
4178 maybe-all-stage3-opcodes: all-stage3-opcodes
4179 all-stage3: all-stage3-opcodes
4180 TARGET-stage3-opcodes = $(TARGET-opcodes)
4181 all-stage3-opcodes: configure-stage3-opcodes
4182 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4183 @r=`${PWD_COMMAND}`; export r; \
4184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4185 TFLAGS="$(STAGE3_TFLAGS)"; \
4186 $(HOST_EXPORTS) \
4187 $(POSTSTAGE1_HOST_EXPORTS) \
4188 cd $(HOST_SUBDIR)/opcodes && \
4189 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4190 CFLAGS="$(STAGE3_CFLAGS)" \
4191 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
4192 LIBCFLAGS="$(STAGE3_CFLAGS)" \
4193 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4194 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4195 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4196 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4197 TFLAGS="$(STAGE3_TFLAGS)" \
4198 $(TARGET-stage3-opcodes)
4200 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4201 clean-stage3: clean-stage3-opcodes
4202 clean-stage3-opcodes:
4203 @if [ $(current_stage) = stage3 ]; then \
4204 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4205 else \
4206 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
4207 $(MAKE) stage3-start; \
4208 fi; \
4209 cd $(HOST_SUBDIR)/opcodes && \
4210 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4211 @endif opcodes-bootstrap
4214 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4215 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4216 maybe-all-stage4-opcodes:
4217 maybe-clean-stage4-opcodes:
4218 @if opcodes-bootstrap
4219 maybe-all-stage4-opcodes: all-stage4-opcodes
4220 all-stage4: all-stage4-opcodes
4221 TARGET-stage4-opcodes = $(TARGET-opcodes)
4222 all-stage4-opcodes: configure-stage4-opcodes
4223 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4224 @r=`${PWD_COMMAND}`; export r; \
4225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4226 TFLAGS="$(STAGE4_TFLAGS)"; \
4227 $(HOST_EXPORTS) \
4228 $(POSTSTAGE1_HOST_EXPORTS) \
4229 cd $(HOST_SUBDIR)/opcodes && \
4230 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4231 CFLAGS="$(STAGE4_CFLAGS)" \
4232 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
4233 LIBCFLAGS="$(STAGE4_CFLAGS)" \
4234 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4235 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4236 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4237 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4238 TFLAGS="$(STAGE4_TFLAGS)" \
4239 $(TARGET-stage4-opcodes)
4241 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4242 clean-stage4: clean-stage4-opcodes
4243 clean-stage4-opcodes:
4244 @if [ $(current_stage) = stage4 ]; then \
4245 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4246 else \
4247 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
4248 $(MAKE) stage4-start; \
4249 fi; \
4250 cd $(HOST_SUBDIR)/opcodes && \
4251 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4252 @endif opcodes-bootstrap
4255 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4256 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4257 maybe-all-stageprofile-opcodes:
4258 maybe-clean-stageprofile-opcodes:
4259 @if opcodes-bootstrap
4260 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4261 all-stageprofile: all-stageprofile-opcodes
4262 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
4263 all-stageprofile-opcodes: configure-stageprofile-opcodes
4264 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4265 @r=`${PWD_COMMAND}`; export r; \
4266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4267 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4268 $(HOST_EXPORTS) \
4269 $(POSTSTAGE1_HOST_EXPORTS) \
4270 cd $(HOST_SUBDIR)/opcodes && \
4271 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4272 CFLAGS="$(STAGEprofile_CFLAGS)" \
4273 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
4274 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
4275 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4276 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4277 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4278 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4279 TFLAGS="$(STAGEprofile_TFLAGS)" \
4280 $(TARGET-stageprofile-opcodes)
4282 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4283 clean-stageprofile: clean-stageprofile-opcodes
4284 clean-stageprofile-opcodes:
4285 @if [ $(current_stage) = stageprofile ]; then \
4286 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4287 else \
4288 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
4289 $(MAKE) stageprofile-start; \
4290 fi; \
4291 cd $(HOST_SUBDIR)/opcodes && \
4292 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4293 @endif opcodes-bootstrap
4296 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
4297 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
4298 maybe-all-stagefeedback-opcodes:
4299 maybe-clean-stagefeedback-opcodes:
4300 @if opcodes-bootstrap
4301 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
4302 all-stagefeedback: all-stagefeedback-opcodes
4303 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
4304 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4305 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4306 @r=`${PWD_COMMAND}`; export r; \
4307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4308 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4309 $(HOST_EXPORTS) \
4310 $(POSTSTAGE1_HOST_EXPORTS) \
4311 cd $(HOST_SUBDIR)/opcodes && \
4312 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4313 CFLAGS="$(STAGEfeedback_CFLAGS)" \
4314 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
4315 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
4316 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4317 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4318 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4319 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4320 TFLAGS="$(STAGEfeedback_TFLAGS)" \
4321 $(TARGET-stagefeedback-opcodes)
4323 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
4324 clean-stagefeedback: clean-stagefeedback-opcodes
4325 clean-stagefeedback-opcodes:
4326 @if [ $(current_stage) = stagefeedback ]; then \
4327 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4328 else \
4329 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
4330 $(MAKE) stagefeedback-start; \
4331 fi; \
4332 cd $(HOST_SUBDIR)/opcodes && \
4333 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4334 @endif opcodes-bootstrap
4340 .PHONY: check-opcodes maybe-check-opcodes
4341 maybe-check-opcodes:
4342 @if opcodes
4343 maybe-check-opcodes: check-opcodes
4345 check-opcodes:
4346 @: $(MAKE); $(unstage)
4347 @r=`${PWD_COMMAND}`; export r; \
4348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4349 $(HOST_EXPORTS) \
4350 (cd $(HOST_SUBDIR)/opcodes && \
4351 $(MAKE) $(FLAGS_TO_PASS) check)
4353 @endif opcodes
4355 .PHONY: install-opcodes maybe-install-opcodes
4356 maybe-install-opcodes:
4357 @if opcodes
4358 maybe-install-opcodes: install-opcodes
4360 install-opcodes: installdirs
4361 @: $(MAKE); $(unstage)
4362 @r=`${PWD_COMMAND}`; export r; \
4363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4364 $(HOST_EXPORTS) \
4365 (cd $(HOST_SUBDIR)/opcodes && \
4366 $(MAKE) $(FLAGS_TO_PASS) install)
4368 @endif opcodes
4370 .PHONY: install-strip-opcodes maybe-install-strip-opcodes
4371 maybe-install-strip-opcodes:
4372 @if opcodes
4373 maybe-install-strip-opcodes: install-strip-opcodes
4375 install-strip-opcodes: installdirs
4376 @: $(MAKE); $(unstage)
4377 @r=`${PWD_COMMAND}`; export r; \
4378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4379 $(HOST_EXPORTS) \
4380 (cd $(HOST_SUBDIR)/opcodes && \
4381 $(MAKE) $(FLAGS_TO_PASS) install-strip)
4383 @endif opcodes
4385 # Other targets (info, dvi, pdf, etc.)
4387 .PHONY: maybe-info-opcodes info-opcodes
4388 maybe-info-opcodes:
4389 @if opcodes
4390 maybe-info-opcodes: info-opcodes
4392 info-opcodes: \
4393 configure-opcodes
4394 @[ -f ./opcodes/Makefile ] || exit 0; \
4395 r=`${PWD_COMMAND}`; export r; \
4396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4397 $(HOST_EXPORTS) \
4398 for flag in $(EXTRA_HOST_FLAGS) ; do \
4399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4400 done; \
4401 echo "Doing info in opcodes" ; \
4402 (cd $(HOST_SUBDIR)/opcodes && \
4403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4405 "RANLIB=$${RANLIB}" \
4406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4407 info) \
4408 || exit 1
4410 @endif opcodes
4412 .PHONY: maybe-dvi-opcodes dvi-opcodes
4413 maybe-dvi-opcodes:
4414 @if opcodes
4415 maybe-dvi-opcodes: dvi-opcodes
4417 dvi-opcodes: \
4418 configure-opcodes
4419 @[ -f ./opcodes/Makefile ] || exit 0; \
4420 r=`${PWD_COMMAND}`; export r; \
4421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4422 $(HOST_EXPORTS) \
4423 for flag in $(EXTRA_HOST_FLAGS) ; do \
4424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4425 done; \
4426 echo "Doing dvi in opcodes" ; \
4427 (cd $(HOST_SUBDIR)/opcodes && \
4428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4430 "RANLIB=$${RANLIB}" \
4431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4432 dvi) \
4433 || exit 1
4435 @endif opcodes
4437 .PHONY: maybe-pdf-opcodes pdf-opcodes
4438 maybe-pdf-opcodes:
4439 @if opcodes
4440 maybe-pdf-opcodes: pdf-opcodes
4442 pdf-opcodes: \
4443 configure-opcodes
4444 @[ -f ./opcodes/Makefile ] || exit 0; \
4445 r=`${PWD_COMMAND}`; export r; \
4446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4447 $(HOST_EXPORTS) \
4448 for flag in $(EXTRA_HOST_FLAGS) ; do \
4449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4450 done; \
4451 echo "Doing pdf in opcodes" ; \
4452 (cd $(HOST_SUBDIR)/opcodes && \
4453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4455 "RANLIB=$${RANLIB}" \
4456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4457 pdf) \
4458 || exit 1
4460 @endif opcodes
4462 .PHONY: maybe-html-opcodes html-opcodes
4463 maybe-html-opcodes:
4464 @if opcodes
4465 maybe-html-opcodes: html-opcodes
4467 html-opcodes: \
4468 configure-opcodes
4469 @[ -f ./opcodes/Makefile ] || exit 0; \
4470 r=`${PWD_COMMAND}`; export r; \
4471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4472 $(HOST_EXPORTS) \
4473 for flag in $(EXTRA_HOST_FLAGS) ; do \
4474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4475 done; \
4476 echo "Doing html in opcodes" ; \
4477 (cd $(HOST_SUBDIR)/opcodes && \
4478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4480 "RANLIB=$${RANLIB}" \
4481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4482 html) \
4483 || exit 1
4485 @endif opcodes
4487 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4488 maybe-TAGS-opcodes:
4489 @if opcodes
4490 maybe-TAGS-opcodes: TAGS-opcodes
4492 TAGS-opcodes: \
4493 configure-opcodes
4494 @[ -f ./opcodes/Makefile ] || exit 0; \
4495 r=`${PWD_COMMAND}`; export r; \
4496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4497 $(HOST_EXPORTS) \
4498 for flag in $(EXTRA_HOST_FLAGS) ; do \
4499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4500 done; \
4501 echo "Doing TAGS in opcodes" ; \
4502 (cd $(HOST_SUBDIR)/opcodes && \
4503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4505 "RANLIB=$${RANLIB}" \
4506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4507 TAGS) \
4508 || exit 1
4510 @endif opcodes
4512 .PHONY: maybe-install-info-opcodes install-info-opcodes
4513 maybe-install-info-opcodes:
4514 @if opcodes
4515 maybe-install-info-opcodes: install-info-opcodes
4517 install-info-opcodes: \
4518 configure-opcodes \
4519 info-opcodes
4520 @[ -f ./opcodes/Makefile ] || exit 0; \
4521 r=`${PWD_COMMAND}`; export r; \
4522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4523 $(HOST_EXPORTS) \
4524 for flag in $(EXTRA_HOST_FLAGS) ; do \
4525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4526 done; \
4527 echo "Doing install-info in opcodes" ; \
4528 (cd $(HOST_SUBDIR)/opcodes && \
4529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4531 "RANLIB=$${RANLIB}" \
4532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4533 install-info) \
4534 || exit 1
4536 @endif opcodes
4538 .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes
4539 maybe-install-pdf-opcodes:
4540 @if opcodes
4541 maybe-install-pdf-opcodes: install-pdf-opcodes
4543 install-pdf-opcodes: \
4544 configure-opcodes \
4545 pdf-opcodes
4546 @[ -f ./opcodes/Makefile ] || exit 0; \
4547 r=`${PWD_COMMAND}`; export r; \
4548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4549 $(HOST_EXPORTS) \
4550 for flag in $(EXTRA_HOST_FLAGS) ; do \
4551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4552 done; \
4553 echo "Doing install-pdf in opcodes" ; \
4554 (cd $(HOST_SUBDIR)/opcodes && \
4555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4557 "RANLIB=$${RANLIB}" \
4558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4559 install-pdf) \
4560 || exit 1
4562 @endif opcodes
4564 .PHONY: maybe-install-html-opcodes install-html-opcodes
4565 maybe-install-html-opcodes:
4566 @if opcodes
4567 maybe-install-html-opcodes: install-html-opcodes
4569 install-html-opcodes: \
4570 configure-opcodes \
4571 html-opcodes
4572 @[ -f ./opcodes/Makefile ] || exit 0; \
4573 r=`${PWD_COMMAND}`; export r; \
4574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4575 $(HOST_EXPORTS) \
4576 for flag in $(EXTRA_HOST_FLAGS) ; do \
4577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4578 done; \
4579 echo "Doing install-html in opcodes" ; \
4580 (cd $(HOST_SUBDIR)/opcodes && \
4581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4583 "RANLIB=$${RANLIB}" \
4584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4585 install-html) \
4586 || exit 1
4588 @endif opcodes
4590 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4591 maybe-installcheck-opcodes:
4592 @if opcodes
4593 maybe-installcheck-opcodes: installcheck-opcodes
4595 installcheck-opcodes: \
4596 configure-opcodes
4597 @[ -f ./opcodes/Makefile ] || exit 0; \
4598 r=`${PWD_COMMAND}`; export r; \
4599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4600 $(HOST_EXPORTS) \
4601 for flag in $(EXTRA_HOST_FLAGS) ; do \
4602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4603 done; \
4604 echo "Doing installcheck in opcodes" ; \
4605 (cd $(HOST_SUBDIR)/opcodes && \
4606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4608 "RANLIB=$${RANLIB}" \
4609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4610 installcheck) \
4611 || exit 1
4613 @endif opcodes
4615 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4616 maybe-mostlyclean-opcodes:
4617 @if opcodes
4618 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4620 mostlyclean-opcodes:
4621 @[ -f ./opcodes/Makefile ] || exit 0; \
4622 r=`${PWD_COMMAND}`; export r; \
4623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4624 $(HOST_EXPORTS) \
4625 for flag in $(EXTRA_HOST_FLAGS) ; do \
4626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4627 done; \
4628 echo "Doing mostlyclean in opcodes" ; \
4629 (cd $(HOST_SUBDIR)/opcodes && \
4630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4632 "RANLIB=$${RANLIB}" \
4633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4634 mostlyclean) \
4635 || exit 1
4637 @endif opcodes
4639 .PHONY: maybe-clean-opcodes clean-opcodes
4640 maybe-clean-opcodes:
4641 @if opcodes
4642 maybe-clean-opcodes: clean-opcodes
4644 clean-opcodes:
4645 @[ -f ./opcodes/Makefile ] || exit 0; \
4646 r=`${PWD_COMMAND}`; export r; \
4647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4648 $(HOST_EXPORTS) \
4649 for flag in $(EXTRA_HOST_FLAGS) ; do \
4650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4651 done; \
4652 echo "Doing clean in opcodes" ; \
4653 (cd $(HOST_SUBDIR)/opcodes && \
4654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4656 "RANLIB=$${RANLIB}" \
4657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4658 clean) \
4659 || exit 1
4661 @endif opcodes
4663 .PHONY: maybe-distclean-opcodes distclean-opcodes
4664 maybe-distclean-opcodes:
4665 @if opcodes
4666 maybe-distclean-opcodes: distclean-opcodes
4668 distclean-opcodes:
4669 @[ -f ./opcodes/Makefile ] || exit 0; \
4670 r=`${PWD_COMMAND}`; export r; \
4671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4672 $(HOST_EXPORTS) \
4673 for flag in $(EXTRA_HOST_FLAGS) ; do \
4674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4675 done; \
4676 echo "Doing distclean in opcodes" ; \
4677 (cd $(HOST_SUBDIR)/opcodes && \
4678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4680 "RANLIB=$${RANLIB}" \
4681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4682 distclean) \
4683 || exit 1
4685 @endif opcodes
4687 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4688 maybe-maintainer-clean-opcodes:
4689 @if opcodes
4690 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4692 maintainer-clean-opcodes:
4693 @[ -f ./opcodes/Makefile ] || exit 0; \
4694 r=`${PWD_COMMAND}`; export r; \
4695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4696 $(HOST_EXPORTS) \
4697 for flag in $(EXTRA_HOST_FLAGS) ; do \
4698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4699 done; \
4700 echo "Doing maintainer-clean in opcodes" ; \
4701 (cd $(HOST_SUBDIR)/opcodes && \
4702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4704 "RANLIB=$${RANLIB}" \
4705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4706 maintainer-clean) \
4707 || exit 1
4709 @endif opcodes
4713 .PHONY: configure-binutils maybe-configure-binutils
4714 maybe-configure-binutils:
4715 @if gcc-bootstrap
4716 configure-binutils: stage_current
4717 @endif gcc-bootstrap
4718 @if binutils
4719 maybe-configure-binutils: configure-binutils
4720 configure-binutils:
4721 @r=`${PWD_COMMAND}`; export r; \
4722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4723 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4724 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4725 $(HOST_EXPORTS) \
4726 echo Configuring in $(HOST_SUBDIR)/binutils; \
4727 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
4728 case $(srcdir) in \
4729 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4730 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4731 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4732 esac; \
4733 srcdiroption="--srcdir=$${topdir}/binutils"; \
4734 libsrcdir="$$s/binutils"; \
4735 $(SHELL) $${libsrcdir}/configure \
4736 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4737 --target=${target_alias} $${srcdiroption} \
4738 || exit 1
4739 @endif binutils
4743 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
4744 maybe-configure-stage1-binutils:
4745 @if binutils-bootstrap
4746 maybe-configure-stage1-binutils: configure-stage1-binutils
4747 configure-stage1-binutils:
4748 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4749 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4750 @r=`${PWD_COMMAND}`; export r; \
4751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4752 TFLAGS="$(STAGE1_TFLAGS)"; \
4753 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4754 $(HOST_EXPORTS) \
4755 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
4756 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
4757 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
4758 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
4759 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4760 cd $(HOST_SUBDIR)/binutils || exit 1; \
4761 case $(srcdir) in \
4762 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4763 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4764 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4765 esac; \
4766 srcdiroption="--srcdir=$${topdir}/binutils"; \
4767 libsrcdir="$$s/binutils"; \
4768 $(SHELL) $${libsrcdir}/configure \
4769 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4770 --target=${target_alias} $${srcdiroption} \
4771 $(STAGE1_CONFIGURE_FLAGS)
4772 @endif binutils-bootstrap
4774 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
4775 maybe-configure-stage2-binutils:
4776 @if binutils-bootstrap
4777 maybe-configure-stage2-binutils: configure-stage2-binutils
4778 configure-stage2-binutils:
4779 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4780 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4781 @r=`${PWD_COMMAND}`; export r; \
4782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4783 TFLAGS="$(STAGE2_TFLAGS)"; \
4784 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4785 $(HOST_EXPORTS) \
4786 $(POSTSTAGE1_HOST_EXPORTS) \
4787 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4788 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
4789 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
4790 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
4791 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4792 cd $(HOST_SUBDIR)/binutils || exit 1; \
4793 case $(srcdir) in \
4794 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4795 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4796 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4797 esac; \
4798 srcdiroption="--srcdir=$${topdir}/binutils"; \
4799 libsrcdir="$$s/binutils"; \
4800 $(SHELL) $${libsrcdir}/configure \
4801 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4802 --target=${target_alias} $${srcdiroption} \
4803 --with-build-libsubdir=$(HOST_SUBDIR) \
4804 $(STAGE2_CONFIGURE_FLAGS)
4805 @endif binutils-bootstrap
4807 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
4808 maybe-configure-stage3-binutils:
4809 @if binutils-bootstrap
4810 maybe-configure-stage3-binutils: configure-stage3-binutils
4811 configure-stage3-binutils:
4812 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4813 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4814 @r=`${PWD_COMMAND}`; export r; \
4815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4816 TFLAGS="$(STAGE3_TFLAGS)"; \
4817 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4818 $(HOST_EXPORTS) \
4819 $(POSTSTAGE1_HOST_EXPORTS) \
4820 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
4821 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
4822 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
4823 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
4824 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4825 cd $(HOST_SUBDIR)/binutils || exit 1; \
4826 case $(srcdir) in \
4827 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4828 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4829 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4830 esac; \
4831 srcdiroption="--srcdir=$${topdir}/binutils"; \
4832 libsrcdir="$$s/binutils"; \
4833 $(SHELL) $${libsrcdir}/configure \
4834 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4835 --target=${target_alias} $${srcdiroption} \
4836 --with-build-libsubdir=$(HOST_SUBDIR) \
4837 $(STAGE3_CONFIGURE_FLAGS)
4838 @endif binutils-bootstrap
4840 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
4841 maybe-configure-stage4-binutils:
4842 @if binutils-bootstrap
4843 maybe-configure-stage4-binutils: configure-stage4-binutils
4844 configure-stage4-binutils:
4845 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4846 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4847 @r=`${PWD_COMMAND}`; export r; \
4848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4849 TFLAGS="$(STAGE4_TFLAGS)"; \
4850 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4851 $(HOST_EXPORTS) \
4852 $(POSTSTAGE1_HOST_EXPORTS) \
4853 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
4854 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
4855 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
4856 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
4857 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4858 cd $(HOST_SUBDIR)/binutils || exit 1; \
4859 case $(srcdir) in \
4860 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4861 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4862 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4863 esac; \
4864 srcdiroption="--srcdir=$${topdir}/binutils"; \
4865 libsrcdir="$$s/binutils"; \
4866 $(SHELL) $${libsrcdir}/configure \
4867 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4868 --target=${target_alias} $${srcdiroption} \
4869 --with-build-libsubdir=$(HOST_SUBDIR) \
4870 $(STAGE4_CONFIGURE_FLAGS)
4871 @endif binutils-bootstrap
4873 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
4874 maybe-configure-stageprofile-binutils:
4875 @if binutils-bootstrap
4876 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
4877 configure-stageprofile-binutils:
4878 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4879 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4880 @r=`${PWD_COMMAND}`; export r; \
4881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4882 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4883 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4884 $(HOST_EXPORTS) \
4885 $(POSTSTAGE1_HOST_EXPORTS) \
4886 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4887 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4888 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4889 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
4890 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4891 cd $(HOST_SUBDIR)/binutils || exit 1; \
4892 case $(srcdir) in \
4893 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4894 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4895 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4896 esac; \
4897 srcdiroption="--srcdir=$${topdir}/binutils"; \
4898 libsrcdir="$$s/binutils"; \
4899 $(SHELL) $${libsrcdir}/configure \
4900 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4901 --target=${target_alias} $${srcdiroption} \
4902 --with-build-libsubdir=$(HOST_SUBDIR) \
4903 $(STAGEprofile_CONFIGURE_FLAGS)
4904 @endif binutils-bootstrap
4906 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
4907 maybe-configure-stagefeedback-binutils:
4908 @if binutils-bootstrap
4909 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
4910 configure-stagefeedback-binutils:
4911 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4912 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4913 @r=`${PWD_COMMAND}`; export r; \
4914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4915 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4916 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4917 $(HOST_EXPORTS) \
4918 $(POSTSTAGE1_HOST_EXPORTS) \
4919 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4920 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4921 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4922 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
4923 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4924 cd $(HOST_SUBDIR)/binutils || exit 1; \
4925 case $(srcdir) in \
4926 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4927 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4928 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4929 esac; \
4930 srcdiroption="--srcdir=$${topdir}/binutils"; \
4931 libsrcdir="$$s/binutils"; \
4932 $(SHELL) $${libsrcdir}/configure \
4933 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4934 --target=${target_alias} $${srcdiroption} \
4935 --with-build-libsubdir=$(HOST_SUBDIR) \
4936 $(STAGEfeedback_CONFIGURE_FLAGS)
4937 @endif binutils-bootstrap
4943 .PHONY: all-binutils maybe-all-binutils
4944 maybe-all-binutils:
4945 @if gcc-bootstrap
4946 all-binutils: stage_current
4947 @endif gcc-bootstrap
4948 @if binutils
4949 TARGET-binutils=all
4950 maybe-all-binutils: all-binutils
4951 all-binutils: configure-binutils
4952 @r=`${PWD_COMMAND}`; export r; \
4953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4954 $(HOST_EXPORTS) \
4955 (cd $(HOST_SUBDIR)/binutils && \
4956 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
4957 $(TARGET-binutils))
4958 @endif binutils
4962 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
4963 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
4964 maybe-all-stage1-binutils:
4965 maybe-clean-stage1-binutils:
4966 @if binutils-bootstrap
4967 maybe-all-stage1-binutils: all-stage1-binutils
4968 all-stage1: all-stage1-binutils
4969 TARGET-stage1-binutils = $(TARGET-binutils)
4970 all-stage1-binutils: configure-stage1-binutils
4971 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4972 @r=`${PWD_COMMAND}`; export r; \
4973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4974 TFLAGS="$(STAGE1_TFLAGS)"; \
4975 $(HOST_EXPORTS) \
4976 cd $(HOST_SUBDIR)/binutils && \
4977 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4978 CFLAGS="$(STAGE1_CFLAGS)" \
4979 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4980 LIBCFLAGS="$(LIBCFLAGS)" \
4981 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4982 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4983 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4984 $(EXTRA_HOST_FLAGS) \
4985 $(STAGE1_FLAGS_TO_PASS) \
4986 TFLAGS="$(STAGE1_TFLAGS)" \
4987 $(TARGET-stage1-binutils)
4989 maybe-clean-stage1-binutils: clean-stage1-binutils
4990 clean-stage1: clean-stage1-binutils
4991 clean-stage1-binutils:
4992 @if [ $(current_stage) = stage1 ]; then \
4993 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
4994 else \
4995 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
4996 $(MAKE) stage1-start; \
4997 fi; \
4998 cd $(HOST_SUBDIR)/binutils && \
4999 $(MAKE) $(EXTRA_HOST_FLAGS) \
5000 $(STAGE1_FLAGS_TO_PASS) clean
5001 @endif binutils-bootstrap
5004 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
5005 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
5006 maybe-all-stage2-binutils:
5007 maybe-clean-stage2-binutils:
5008 @if binutils-bootstrap
5009 maybe-all-stage2-binutils: all-stage2-binutils
5010 all-stage2: all-stage2-binutils
5011 TARGET-stage2-binutils = $(TARGET-binutils)
5012 all-stage2-binutils: configure-stage2-binutils
5013 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5014 @r=`${PWD_COMMAND}`; export r; \
5015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5016 TFLAGS="$(STAGE2_TFLAGS)"; \
5017 $(HOST_EXPORTS) \
5018 $(POSTSTAGE1_HOST_EXPORTS) \
5019 cd $(HOST_SUBDIR)/binutils && \
5020 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5021 CFLAGS="$(STAGE2_CFLAGS)" \
5022 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
5023 LIBCFLAGS="$(STAGE2_CFLAGS)" \
5024 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5025 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5026 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5027 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5028 TFLAGS="$(STAGE2_TFLAGS)" \
5029 $(TARGET-stage2-binutils)
5031 maybe-clean-stage2-binutils: clean-stage2-binutils
5032 clean-stage2: clean-stage2-binutils
5033 clean-stage2-binutils:
5034 @if [ $(current_stage) = stage2 ]; then \
5035 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5036 else \
5037 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
5038 $(MAKE) stage2-start; \
5039 fi; \
5040 cd $(HOST_SUBDIR)/binutils && \
5041 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5042 @endif binutils-bootstrap
5045 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5046 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5047 maybe-all-stage3-binutils:
5048 maybe-clean-stage3-binutils:
5049 @if binutils-bootstrap
5050 maybe-all-stage3-binutils: all-stage3-binutils
5051 all-stage3: all-stage3-binutils
5052 TARGET-stage3-binutils = $(TARGET-binutils)
5053 all-stage3-binutils: configure-stage3-binutils
5054 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5055 @r=`${PWD_COMMAND}`; export r; \
5056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5057 TFLAGS="$(STAGE3_TFLAGS)"; \
5058 $(HOST_EXPORTS) \
5059 $(POSTSTAGE1_HOST_EXPORTS) \
5060 cd $(HOST_SUBDIR)/binutils && \
5061 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5062 CFLAGS="$(STAGE3_CFLAGS)" \
5063 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
5064 LIBCFLAGS="$(STAGE3_CFLAGS)" \
5065 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5066 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5067 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5068 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5069 TFLAGS="$(STAGE3_TFLAGS)" \
5070 $(TARGET-stage3-binutils)
5072 maybe-clean-stage3-binutils: clean-stage3-binutils
5073 clean-stage3: clean-stage3-binutils
5074 clean-stage3-binutils:
5075 @if [ $(current_stage) = stage3 ]; then \
5076 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5077 else \
5078 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
5079 $(MAKE) stage3-start; \
5080 fi; \
5081 cd $(HOST_SUBDIR)/binutils && \
5082 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5083 @endif binutils-bootstrap
5086 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5087 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5088 maybe-all-stage4-binutils:
5089 maybe-clean-stage4-binutils:
5090 @if binutils-bootstrap
5091 maybe-all-stage4-binutils: all-stage4-binutils
5092 all-stage4: all-stage4-binutils
5093 TARGET-stage4-binutils = $(TARGET-binutils)
5094 all-stage4-binutils: configure-stage4-binutils
5095 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5096 @r=`${PWD_COMMAND}`; export r; \
5097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5098 TFLAGS="$(STAGE4_TFLAGS)"; \
5099 $(HOST_EXPORTS) \
5100 $(POSTSTAGE1_HOST_EXPORTS) \
5101 cd $(HOST_SUBDIR)/binutils && \
5102 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5103 CFLAGS="$(STAGE4_CFLAGS)" \
5104 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
5105 LIBCFLAGS="$(STAGE4_CFLAGS)" \
5106 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5107 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5108 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5109 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5110 TFLAGS="$(STAGE4_TFLAGS)" \
5111 $(TARGET-stage4-binutils)
5113 maybe-clean-stage4-binutils: clean-stage4-binutils
5114 clean-stage4: clean-stage4-binutils
5115 clean-stage4-binutils:
5116 @if [ $(current_stage) = stage4 ]; then \
5117 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5118 else \
5119 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
5120 $(MAKE) stage4-start; \
5121 fi; \
5122 cd $(HOST_SUBDIR)/binutils && \
5123 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5124 @endif binutils-bootstrap
5127 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5128 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5129 maybe-all-stageprofile-binutils:
5130 maybe-clean-stageprofile-binutils:
5131 @if binutils-bootstrap
5132 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5133 all-stageprofile: all-stageprofile-binutils
5134 TARGET-stageprofile-binutils = $(TARGET-binutils)
5135 all-stageprofile-binutils: configure-stageprofile-binutils
5136 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5137 @r=`${PWD_COMMAND}`; export r; \
5138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5139 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5140 $(HOST_EXPORTS) \
5141 $(POSTSTAGE1_HOST_EXPORTS) \
5142 cd $(HOST_SUBDIR)/binutils && \
5143 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5144 CFLAGS="$(STAGEprofile_CFLAGS)" \
5145 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
5146 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
5147 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5148 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5149 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5150 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5151 TFLAGS="$(STAGEprofile_TFLAGS)" \
5152 $(TARGET-stageprofile-binutils)
5154 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5155 clean-stageprofile: clean-stageprofile-binutils
5156 clean-stageprofile-binutils:
5157 @if [ $(current_stage) = stageprofile ]; then \
5158 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5159 else \
5160 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
5161 $(MAKE) stageprofile-start; \
5162 fi; \
5163 cd $(HOST_SUBDIR)/binutils && \
5164 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5165 @endif binutils-bootstrap
5168 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5169 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5170 maybe-all-stagefeedback-binutils:
5171 maybe-clean-stagefeedback-binutils:
5172 @if binutils-bootstrap
5173 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5174 all-stagefeedback: all-stagefeedback-binutils
5175 TARGET-stagefeedback-binutils = $(TARGET-binutils)
5176 all-stagefeedback-binutils: configure-stagefeedback-binutils
5177 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5178 @r=`${PWD_COMMAND}`; export r; \
5179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5180 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5181 $(HOST_EXPORTS) \
5182 $(POSTSTAGE1_HOST_EXPORTS) \
5183 cd $(HOST_SUBDIR)/binutils && \
5184 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5185 CFLAGS="$(STAGEfeedback_CFLAGS)" \
5186 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
5187 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
5188 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5189 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5190 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5191 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5192 TFLAGS="$(STAGEfeedback_TFLAGS)" \
5193 $(TARGET-stagefeedback-binutils)
5195 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5196 clean-stagefeedback: clean-stagefeedback-binutils
5197 clean-stagefeedback-binutils:
5198 @if [ $(current_stage) = stagefeedback ]; then \
5199 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5200 else \
5201 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
5202 $(MAKE) stagefeedback-start; \
5203 fi; \
5204 cd $(HOST_SUBDIR)/binutils && \
5205 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5206 @endif binutils-bootstrap
5212 .PHONY: check-binutils maybe-check-binutils
5213 maybe-check-binutils:
5214 @if binutils
5215 maybe-check-binutils: check-binutils
5217 check-binutils:
5218 @: $(MAKE); $(unstage)
5219 @r=`${PWD_COMMAND}`; export r; \
5220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5221 $(HOST_EXPORTS) \
5222 (cd $(HOST_SUBDIR)/binutils && \
5223 $(MAKE) $(FLAGS_TO_PASS) check)
5225 @endif binutils
5227 .PHONY: install-binutils maybe-install-binutils
5228 maybe-install-binutils:
5229 @if binutils
5230 maybe-install-binutils: install-binutils
5232 install-binutils: installdirs
5233 @: $(MAKE); $(unstage)
5234 @r=`${PWD_COMMAND}`; export r; \
5235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5236 $(HOST_EXPORTS) \
5237 (cd $(HOST_SUBDIR)/binutils && \
5238 $(MAKE) $(FLAGS_TO_PASS) install)
5240 @endif binutils
5242 .PHONY: install-strip-binutils maybe-install-strip-binutils
5243 maybe-install-strip-binutils:
5244 @if binutils
5245 maybe-install-strip-binutils: install-strip-binutils
5247 install-strip-binutils: installdirs
5248 @: $(MAKE); $(unstage)
5249 @r=`${PWD_COMMAND}`; export r; \
5250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5251 $(HOST_EXPORTS) \
5252 (cd $(HOST_SUBDIR)/binutils && \
5253 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5255 @endif binutils
5257 # Other targets (info, dvi, pdf, etc.)
5259 .PHONY: maybe-info-binutils info-binutils
5260 maybe-info-binutils:
5261 @if binutils
5262 maybe-info-binutils: info-binutils
5264 info-binutils: \
5265 configure-binutils
5266 @[ -f ./binutils/Makefile ] || exit 0; \
5267 r=`${PWD_COMMAND}`; export r; \
5268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5269 $(HOST_EXPORTS) \
5270 for flag in $(EXTRA_HOST_FLAGS) ; do \
5271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5272 done; \
5273 echo "Doing info in binutils" ; \
5274 (cd $(HOST_SUBDIR)/binutils && \
5275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5277 "RANLIB=$${RANLIB}" \
5278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5279 info) \
5280 || exit 1
5282 @endif binutils
5284 .PHONY: maybe-dvi-binutils dvi-binutils
5285 maybe-dvi-binutils:
5286 @if binutils
5287 maybe-dvi-binutils: dvi-binutils
5289 dvi-binutils: \
5290 configure-binutils
5291 @[ -f ./binutils/Makefile ] || exit 0; \
5292 r=`${PWD_COMMAND}`; export r; \
5293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5294 $(HOST_EXPORTS) \
5295 for flag in $(EXTRA_HOST_FLAGS) ; do \
5296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5297 done; \
5298 echo "Doing dvi in binutils" ; \
5299 (cd $(HOST_SUBDIR)/binutils && \
5300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5302 "RANLIB=$${RANLIB}" \
5303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5304 dvi) \
5305 || exit 1
5307 @endif binutils
5309 .PHONY: maybe-pdf-binutils pdf-binutils
5310 maybe-pdf-binutils:
5311 @if binutils
5312 maybe-pdf-binutils: pdf-binutils
5314 pdf-binutils: \
5315 configure-binutils
5316 @[ -f ./binutils/Makefile ] || exit 0; \
5317 r=`${PWD_COMMAND}`; export r; \
5318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5319 $(HOST_EXPORTS) \
5320 for flag in $(EXTRA_HOST_FLAGS) ; do \
5321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5322 done; \
5323 echo "Doing pdf in binutils" ; \
5324 (cd $(HOST_SUBDIR)/binutils && \
5325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5327 "RANLIB=$${RANLIB}" \
5328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5329 pdf) \
5330 || exit 1
5332 @endif binutils
5334 .PHONY: maybe-html-binutils html-binutils
5335 maybe-html-binutils:
5336 @if binutils
5337 maybe-html-binutils: html-binutils
5339 html-binutils: \
5340 configure-binutils
5341 @[ -f ./binutils/Makefile ] || exit 0; \
5342 r=`${PWD_COMMAND}`; export r; \
5343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5344 $(HOST_EXPORTS) \
5345 for flag in $(EXTRA_HOST_FLAGS) ; do \
5346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5347 done; \
5348 echo "Doing html in binutils" ; \
5349 (cd $(HOST_SUBDIR)/binutils && \
5350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5352 "RANLIB=$${RANLIB}" \
5353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5354 html) \
5355 || exit 1
5357 @endif binutils
5359 .PHONY: maybe-TAGS-binutils TAGS-binutils
5360 maybe-TAGS-binutils:
5361 @if binutils
5362 maybe-TAGS-binutils: TAGS-binutils
5364 TAGS-binutils: \
5365 configure-binutils
5366 @[ -f ./binutils/Makefile ] || exit 0; \
5367 r=`${PWD_COMMAND}`; export r; \
5368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5369 $(HOST_EXPORTS) \
5370 for flag in $(EXTRA_HOST_FLAGS) ; do \
5371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5372 done; \
5373 echo "Doing TAGS in binutils" ; \
5374 (cd $(HOST_SUBDIR)/binutils && \
5375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5377 "RANLIB=$${RANLIB}" \
5378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5379 TAGS) \
5380 || exit 1
5382 @endif binutils
5384 .PHONY: maybe-install-info-binutils install-info-binutils
5385 maybe-install-info-binutils:
5386 @if binutils
5387 maybe-install-info-binutils: install-info-binutils
5389 install-info-binutils: \
5390 configure-binutils \
5391 info-binutils
5392 @[ -f ./binutils/Makefile ] || exit 0; \
5393 r=`${PWD_COMMAND}`; export r; \
5394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5395 $(HOST_EXPORTS) \
5396 for flag in $(EXTRA_HOST_FLAGS) ; do \
5397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5398 done; \
5399 echo "Doing install-info in binutils" ; \
5400 (cd $(HOST_SUBDIR)/binutils && \
5401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5403 "RANLIB=$${RANLIB}" \
5404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5405 install-info) \
5406 || exit 1
5408 @endif binutils
5410 .PHONY: maybe-install-pdf-binutils install-pdf-binutils
5411 maybe-install-pdf-binutils:
5412 @if binutils
5413 maybe-install-pdf-binutils: install-pdf-binutils
5415 install-pdf-binutils: \
5416 configure-binutils \
5417 pdf-binutils
5418 @[ -f ./binutils/Makefile ] || exit 0; \
5419 r=`${PWD_COMMAND}`; export r; \
5420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5421 $(HOST_EXPORTS) \
5422 for flag in $(EXTRA_HOST_FLAGS) ; do \
5423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5424 done; \
5425 echo "Doing install-pdf in binutils" ; \
5426 (cd $(HOST_SUBDIR)/binutils && \
5427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5429 "RANLIB=$${RANLIB}" \
5430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5431 install-pdf) \
5432 || exit 1
5434 @endif binutils
5436 .PHONY: maybe-install-html-binutils install-html-binutils
5437 maybe-install-html-binutils:
5438 @if binutils
5439 maybe-install-html-binutils: install-html-binutils
5441 install-html-binutils: \
5442 configure-binutils \
5443 html-binutils
5444 @[ -f ./binutils/Makefile ] || exit 0; \
5445 r=`${PWD_COMMAND}`; export r; \
5446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5447 $(HOST_EXPORTS) \
5448 for flag in $(EXTRA_HOST_FLAGS) ; do \
5449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5450 done; \
5451 echo "Doing install-html in binutils" ; \
5452 (cd $(HOST_SUBDIR)/binutils && \
5453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5455 "RANLIB=$${RANLIB}" \
5456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5457 install-html) \
5458 || exit 1
5460 @endif binutils
5462 .PHONY: maybe-installcheck-binutils installcheck-binutils
5463 maybe-installcheck-binutils:
5464 @if binutils
5465 maybe-installcheck-binutils: installcheck-binutils
5467 installcheck-binutils: \
5468 configure-binutils
5469 @[ -f ./binutils/Makefile ] || exit 0; \
5470 r=`${PWD_COMMAND}`; export r; \
5471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5472 $(HOST_EXPORTS) \
5473 for flag in $(EXTRA_HOST_FLAGS) ; do \
5474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5475 done; \
5476 echo "Doing installcheck in binutils" ; \
5477 (cd $(HOST_SUBDIR)/binutils && \
5478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5480 "RANLIB=$${RANLIB}" \
5481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5482 installcheck) \
5483 || exit 1
5485 @endif binutils
5487 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
5488 maybe-mostlyclean-binutils:
5489 @if binutils
5490 maybe-mostlyclean-binutils: mostlyclean-binutils
5492 mostlyclean-binutils:
5493 @[ -f ./binutils/Makefile ] || exit 0; \
5494 r=`${PWD_COMMAND}`; export r; \
5495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5496 $(HOST_EXPORTS) \
5497 for flag in $(EXTRA_HOST_FLAGS) ; do \
5498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5499 done; \
5500 echo "Doing mostlyclean in binutils" ; \
5501 (cd $(HOST_SUBDIR)/binutils && \
5502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5504 "RANLIB=$${RANLIB}" \
5505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5506 mostlyclean) \
5507 || exit 1
5509 @endif binutils
5511 .PHONY: maybe-clean-binutils clean-binutils
5512 maybe-clean-binutils:
5513 @if binutils
5514 maybe-clean-binutils: clean-binutils
5516 clean-binutils:
5517 @[ -f ./binutils/Makefile ] || exit 0; \
5518 r=`${PWD_COMMAND}`; export r; \
5519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5520 $(HOST_EXPORTS) \
5521 for flag in $(EXTRA_HOST_FLAGS) ; do \
5522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5523 done; \
5524 echo "Doing clean in binutils" ; \
5525 (cd $(HOST_SUBDIR)/binutils && \
5526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5528 "RANLIB=$${RANLIB}" \
5529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5530 clean) \
5531 || exit 1
5533 @endif binutils
5535 .PHONY: maybe-distclean-binutils distclean-binutils
5536 maybe-distclean-binutils:
5537 @if binutils
5538 maybe-distclean-binutils: distclean-binutils
5540 distclean-binutils:
5541 @[ -f ./binutils/Makefile ] || exit 0; \
5542 r=`${PWD_COMMAND}`; export r; \
5543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5544 $(HOST_EXPORTS) \
5545 for flag in $(EXTRA_HOST_FLAGS) ; do \
5546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5547 done; \
5548 echo "Doing distclean in binutils" ; \
5549 (cd $(HOST_SUBDIR)/binutils && \
5550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5552 "RANLIB=$${RANLIB}" \
5553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5554 distclean) \
5555 || exit 1
5557 @endif binutils
5559 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
5560 maybe-maintainer-clean-binutils:
5561 @if binutils
5562 maybe-maintainer-clean-binutils: maintainer-clean-binutils
5564 maintainer-clean-binutils:
5565 @[ -f ./binutils/Makefile ] || exit 0; \
5566 r=`${PWD_COMMAND}`; export r; \
5567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5568 $(HOST_EXPORTS) \
5569 for flag in $(EXTRA_HOST_FLAGS) ; do \
5570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5571 done; \
5572 echo "Doing maintainer-clean in binutils" ; \
5573 (cd $(HOST_SUBDIR)/binutils && \
5574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5576 "RANLIB=$${RANLIB}" \
5577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5578 maintainer-clean) \
5579 || exit 1
5581 @endif binutils
5585 .PHONY: configure-bison maybe-configure-bison
5586 maybe-configure-bison:
5587 @if gcc-bootstrap
5588 configure-bison: stage_current
5589 @endif gcc-bootstrap
5590 @if bison
5591 maybe-configure-bison: configure-bison
5592 configure-bison:
5593 @: $(MAKE); $(unstage)
5594 @r=`${PWD_COMMAND}`; export r; \
5595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5596 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
5597 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
5598 $(HOST_EXPORTS) \
5599 echo Configuring in $(HOST_SUBDIR)/bison; \
5600 cd "$(HOST_SUBDIR)/bison" || exit 1; \
5601 case $(srcdir) in \
5602 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5603 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
5604 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5605 esac; \
5606 srcdiroption="--srcdir=$${topdir}/bison"; \
5607 libsrcdir="$$s/bison"; \
5608 $(SHELL) $${libsrcdir}/configure \
5609 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5610 --target=${target_alias} $${srcdiroption} \
5611 || exit 1
5612 @endif bison
5618 .PHONY: all-bison maybe-all-bison
5619 maybe-all-bison:
5620 @if gcc-bootstrap
5621 all-bison: stage_current
5622 @endif gcc-bootstrap
5623 @if bison
5624 TARGET-bison=all
5625 maybe-all-bison: all-bison
5626 all-bison: configure-bison
5627 @: $(MAKE); $(unstage)
5628 @r=`${PWD_COMMAND}`; export r; \
5629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5630 $(HOST_EXPORTS) \
5631 (cd $(HOST_SUBDIR)/bison && \
5632 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
5633 $(TARGET-bison))
5634 @endif bison
5639 .PHONY: check-bison maybe-check-bison
5640 maybe-check-bison:
5641 @if bison
5642 maybe-check-bison: check-bison
5644 # This module is only tested in a native toolchain.
5645 check-bison:
5646 @: $(MAKE); $(unstage)
5647 @if [ '$(host)' = '$(target)' ] ; then \
5648 r=`${PWD_COMMAND}`; export r; \
5649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5650 $(HOST_EXPORTS) \
5651 (cd $(HOST_SUBDIR)/bison && \
5652 $(MAKE) $(FLAGS_TO_PASS) check); \
5655 @endif bison
5657 .PHONY: install-bison maybe-install-bison
5658 maybe-install-bison:
5659 @if bison
5660 maybe-install-bison: install-bison
5662 install-bison: installdirs
5663 @: $(MAKE); $(unstage)
5664 @r=`${PWD_COMMAND}`; export r; \
5665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5666 $(HOST_EXPORTS) \
5667 (cd $(HOST_SUBDIR)/bison && \
5668 $(MAKE) $(FLAGS_TO_PASS) install)
5670 @endif bison
5672 .PHONY: install-strip-bison maybe-install-strip-bison
5673 maybe-install-strip-bison:
5674 @if bison
5675 maybe-install-strip-bison: install-strip-bison
5677 install-strip-bison: installdirs
5678 @: $(MAKE); $(unstage)
5679 @r=`${PWD_COMMAND}`; export r; \
5680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5681 $(HOST_EXPORTS) \
5682 (cd $(HOST_SUBDIR)/bison && \
5683 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5685 @endif bison
5687 # Other targets (info, dvi, pdf, etc.)
5689 .PHONY: maybe-info-bison info-bison
5690 maybe-info-bison:
5691 @if bison
5692 maybe-info-bison: info-bison
5694 info-bison: \
5695 configure-bison
5696 @: $(MAKE); $(unstage)
5697 @[ -f ./bison/Makefile ] || exit 0; \
5698 r=`${PWD_COMMAND}`; export r; \
5699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5700 $(HOST_EXPORTS) \
5701 for flag in $(EXTRA_HOST_FLAGS) ; do \
5702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5703 done; \
5704 echo "Doing info in bison" ; \
5705 (cd $(HOST_SUBDIR)/bison && \
5706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5708 "RANLIB=$${RANLIB}" \
5709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5710 info) \
5711 || exit 1
5713 @endif bison
5715 .PHONY: maybe-dvi-bison dvi-bison
5716 maybe-dvi-bison:
5717 @if bison
5718 maybe-dvi-bison: dvi-bison
5720 dvi-bison: \
5721 configure-bison
5722 @: $(MAKE); $(unstage)
5723 @[ -f ./bison/Makefile ] || exit 0; \
5724 r=`${PWD_COMMAND}`; export r; \
5725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5726 $(HOST_EXPORTS) \
5727 for flag in $(EXTRA_HOST_FLAGS) ; do \
5728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5729 done; \
5730 echo "Doing dvi in bison" ; \
5731 (cd $(HOST_SUBDIR)/bison && \
5732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5734 "RANLIB=$${RANLIB}" \
5735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5736 dvi) \
5737 || exit 1
5739 @endif bison
5741 .PHONY: maybe-pdf-bison pdf-bison
5742 maybe-pdf-bison:
5743 @if bison
5744 maybe-pdf-bison: pdf-bison
5746 pdf-bison: \
5747 configure-bison
5748 @: $(MAKE); $(unstage)
5749 @[ -f ./bison/Makefile ] || exit 0; \
5750 r=`${PWD_COMMAND}`; export r; \
5751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5752 $(HOST_EXPORTS) \
5753 for flag in $(EXTRA_HOST_FLAGS) ; do \
5754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5755 done; \
5756 echo "Doing pdf in bison" ; \
5757 (cd $(HOST_SUBDIR)/bison && \
5758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5760 "RANLIB=$${RANLIB}" \
5761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5762 pdf) \
5763 || exit 1
5765 @endif bison
5767 .PHONY: maybe-html-bison html-bison
5768 maybe-html-bison:
5769 @if bison
5770 maybe-html-bison: html-bison
5772 html-bison: \
5773 configure-bison
5774 @: $(MAKE); $(unstage)
5775 @[ -f ./bison/Makefile ] || exit 0; \
5776 r=`${PWD_COMMAND}`; export r; \
5777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5778 $(HOST_EXPORTS) \
5779 for flag in $(EXTRA_HOST_FLAGS) ; do \
5780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5781 done; \
5782 echo "Doing html in bison" ; \
5783 (cd $(HOST_SUBDIR)/bison && \
5784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5786 "RANLIB=$${RANLIB}" \
5787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5788 html) \
5789 || exit 1
5791 @endif bison
5793 .PHONY: maybe-TAGS-bison TAGS-bison
5794 maybe-TAGS-bison:
5795 @if bison
5796 maybe-TAGS-bison: TAGS-bison
5798 TAGS-bison: \
5799 configure-bison
5800 @: $(MAKE); $(unstage)
5801 @[ -f ./bison/Makefile ] || exit 0; \
5802 r=`${PWD_COMMAND}`; export r; \
5803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5804 $(HOST_EXPORTS) \
5805 for flag in $(EXTRA_HOST_FLAGS) ; do \
5806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5807 done; \
5808 echo "Doing TAGS in bison" ; \
5809 (cd $(HOST_SUBDIR)/bison && \
5810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5812 "RANLIB=$${RANLIB}" \
5813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5814 TAGS) \
5815 || exit 1
5817 @endif bison
5819 .PHONY: maybe-install-info-bison install-info-bison
5820 maybe-install-info-bison:
5821 @if bison
5822 maybe-install-info-bison: install-info-bison
5824 install-info-bison: \
5825 configure-bison \
5826 info-bison
5827 @: $(MAKE); $(unstage)
5828 @[ -f ./bison/Makefile ] || exit 0; \
5829 r=`${PWD_COMMAND}`; export r; \
5830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5831 $(HOST_EXPORTS) \
5832 for flag in $(EXTRA_HOST_FLAGS) ; do \
5833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5834 done; \
5835 echo "Doing install-info in bison" ; \
5836 (cd $(HOST_SUBDIR)/bison && \
5837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5839 "RANLIB=$${RANLIB}" \
5840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5841 install-info) \
5842 || exit 1
5844 @endif bison
5846 .PHONY: maybe-install-pdf-bison install-pdf-bison
5847 maybe-install-pdf-bison:
5848 @if bison
5849 maybe-install-pdf-bison: install-pdf-bison
5851 install-pdf-bison: \
5852 configure-bison \
5853 pdf-bison
5854 @: $(MAKE); $(unstage)
5855 @[ -f ./bison/Makefile ] || exit 0; \
5856 r=`${PWD_COMMAND}`; export r; \
5857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5858 $(HOST_EXPORTS) \
5859 for flag in $(EXTRA_HOST_FLAGS) ; do \
5860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5861 done; \
5862 echo "Doing install-pdf in bison" ; \
5863 (cd $(HOST_SUBDIR)/bison && \
5864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5866 "RANLIB=$${RANLIB}" \
5867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5868 install-pdf) \
5869 || exit 1
5871 @endif bison
5873 .PHONY: maybe-install-html-bison install-html-bison
5874 maybe-install-html-bison:
5875 @if bison
5876 maybe-install-html-bison: install-html-bison
5878 install-html-bison: \
5879 configure-bison \
5880 html-bison
5881 @: $(MAKE); $(unstage)
5882 @[ -f ./bison/Makefile ] || exit 0; \
5883 r=`${PWD_COMMAND}`; export r; \
5884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5885 $(HOST_EXPORTS) \
5886 for flag in $(EXTRA_HOST_FLAGS) ; do \
5887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5888 done; \
5889 echo "Doing install-html in bison" ; \
5890 (cd $(HOST_SUBDIR)/bison && \
5891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5893 "RANLIB=$${RANLIB}" \
5894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5895 install-html) \
5896 || exit 1
5898 @endif bison
5900 .PHONY: maybe-installcheck-bison installcheck-bison
5901 maybe-installcheck-bison:
5902 @if bison
5903 maybe-installcheck-bison: installcheck-bison
5905 installcheck-bison: \
5906 configure-bison
5907 @: $(MAKE); $(unstage)
5908 @[ -f ./bison/Makefile ] || exit 0; \
5909 r=`${PWD_COMMAND}`; export r; \
5910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5911 $(HOST_EXPORTS) \
5912 for flag in $(EXTRA_HOST_FLAGS) ; do \
5913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5914 done; \
5915 echo "Doing installcheck in bison" ; \
5916 (cd $(HOST_SUBDIR)/bison && \
5917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5919 "RANLIB=$${RANLIB}" \
5920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5921 installcheck) \
5922 || exit 1
5924 @endif bison
5926 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
5927 maybe-mostlyclean-bison:
5928 @if bison
5929 maybe-mostlyclean-bison: mostlyclean-bison
5931 mostlyclean-bison:
5932 @: $(MAKE); $(unstage)
5933 @[ -f ./bison/Makefile ] || exit 0; \
5934 r=`${PWD_COMMAND}`; export r; \
5935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5936 $(HOST_EXPORTS) \
5937 for flag in $(EXTRA_HOST_FLAGS) ; do \
5938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5939 done; \
5940 echo "Doing mostlyclean in bison" ; \
5941 (cd $(HOST_SUBDIR)/bison && \
5942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5944 "RANLIB=$${RANLIB}" \
5945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5946 mostlyclean) \
5947 || exit 1
5949 @endif bison
5951 .PHONY: maybe-clean-bison clean-bison
5952 maybe-clean-bison:
5953 @if bison
5954 maybe-clean-bison: clean-bison
5956 clean-bison:
5957 @: $(MAKE); $(unstage)
5958 @[ -f ./bison/Makefile ] || exit 0; \
5959 r=`${PWD_COMMAND}`; export r; \
5960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5961 $(HOST_EXPORTS) \
5962 for flag in $(EXTRA_HOST_FLAGS) ; do \
5963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5964 done; \
5965 echo "Doing clean in bison" ; \
5966 (cd $(HOST_SUBDIR)/bison && \
5967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5969 "RANLIB=$${RANLIB}" \
5970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5971 clean) \
5972 || exit 1
5974 @endif bison
5976 .PHONY: maybe-distclean-bison distclean-bison
5977 maybe-distclean-bison:
5978 @if bison
5979 maybe-distclean-bison: distclean-bison
5981 distclean-bison:
5982 @: $(MAKE); $(unstage)
5983 @[ -f ./bison/Makefile ] || exit 0; \
5984 r=`${PWD_COMMAND}`; export r; \
5985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5986 $(HOST_EXPORTS) \
5987 for flag in $(EXTRA_HOST_FLAGS) ; do \
5988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5989 done; \
5990 echo "Doing distclean in bison" ; \
5991 (cd $(HOST_SUBDIR)/bison && \
5992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5994 "RANLIB=$${RANLIB}" \
5995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5996 distclean) \
5997 || exit 1
5999 @endif bison
6001 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
6002 maybe-maintainer-clean-bison:
6003 @if bison
6004 maybe-maintainer-clean-bison: maintainer-clean-bison
6006 maintainer-clean-bison:
6007 @: $(MAKE); $(unstage)
6008 @[ -f ./bison/Makefile ] || exit 0; \
6009 r=`${PWD_COMMAND}`; export r; \
6010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6011 $(HOST_EXPORTS) \
6012 for flag in $(EXTRA_HOST_FLAGS) ; do \
6013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6014 done; \
6015 echo "Doing maintainer-clean in bison" ; \
6016 (cd $(HOST_SUBDIR)/bison && \
6017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6019 "RANLIB=$${RANLIB}" \
6020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6021 maintainer-clean) \
6022 || exit 1
6024 @endif bison
6028 .PHONY: configure-cgen maybe-configure-cgen
6029 maybe-configure-cgen:
6030 @if gcc-bootstrap
6031 configure-cgen: stage_current
6032 @endif gcc-bootstrap
6033 @if cgen
6034 maybe-configure-cgen: configure-cgen
6035 configure-cgen:
6036 @: $(MAKE); $(unstage)
6037 @r=`${PWD_COMMAND}`; export r; \
6038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6039 test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \
6040 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen ; \
6041 $(HOST_EXPORTS) \
6042 echo Configuring in $(HOST_SUBDIR)/cgen; \
6043 cd "$(HOST_SUBDIR)/cgen" || exit 1; \
6044 case $(srcdir) in \
6045 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6046 *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \
6047 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6048 esac; \
6049 srcdiroption="--srcdir=$${topdir}/cgen"; \
6050 libsrcdir="$$s/cgen"; \
6051 $(SHELL) $${libsrcdir}/configure \
6052 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6053 --target=${target_alias} $${srcdiroption} \
6054 || exit 1
6055 @endif cgen
6061 .PHONY: all-cgen maybe-all-cgen
6062 maybe-all-cgen:
6063 @if gcc-bootstrap
6064 all-cgen: stage_current
6065 @endif gcc-bootstrap
6066 @if cgen
6067 TARGET-cgen=all
6068 maybe-all-cgen: all-cgen
6069 all-cgen: configure-cgen
6070 @: $(MAKE); $(unstage)
6071 @r=`${PWD_COMMAND}`; export r; \
6072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6073 $(HOST_EXPORTS) \
6074 (cd $(HOST_SUBDIR)/cgen && \
6075 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6076 $(TARGET-cgen))
6077 @endif cgen
6082 .PHONY: check-cgen maybe-check-cgen
6083 maybe-check-cgen:
6084 @if cgen
6085 maybe-check-cgen: check-cgen
6087 check-cgen:
6088 @: $(MAKE); $(unstage)
6089 @r=`${PWD_COMMAND}`; export r; \
6090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6091 $(HOST_EXPORTS) \
6092 (cd $(HOST_SUBDIR)/cgen && \
6093 $(MAKE) $(FLAGS_TO_PASS) check)
6095 @endif cgen
6097 .PHONY: install-cgen maybe-install-cgen
6098 maybe-install-cgen:
6099 @if cgen
6100 maybe-install-cgen: install-cgen
6102 install-cgen: installdirs
6103 @: $(MAKE); $(unstage)
6104 @r=`${PWD_COMMAND}`; export r; \
6105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6106 $(HOST_EXPORTS) \
6107 (cd $(HOST_SUBDIR)/cgen && \
6108 $(MAKE) $(FLAGS_TO_PASS) install)
6110 @endif cgen
6112 .PHONY: install-strip-cgen maybe-install-strip-cgen
6113 maybe-install-strip-cgen:
6114 @if cgen
6115 maybe-install-strip-cgen: install-strip-cgen
6117 install-strip-cgen: installdirs
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) $(FLAGS_TO_PASS) install-strip)
6125 @endif cgen
6127 # Other targets (info, dvi, pdf, etc.)
6129 .PHONY: maybe-info-cgen info-cgen
6130 maybe-info-cgen:
6131 @if cgen
6132 maybe-info-cgen: info-cgen
6134 info-cgen: \
6135 configure-cgen
6136 @: $(MAKE); $(unstage)
6137 @[ -f ./cgen/Makefile ] || exit 0; \
6138 r=`${PWD_COMMAND}`; export r; \
6139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6140 $(HOST_EXPORTS) \
6141 for flag in $(EXTRA_HOST_FLAGS) ; do \
6142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6143 done; \
6144 echo "Doing info in cgen" ; \
6145 (cd $(HOST_SUBDIR)/cgen && \
6146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6148 "RANLIB=$${RANLIB}" \
6149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6150 info) \
6151 || exit 1
6153 @endif cgen
6155 .PHONY: maybe-dvi-cgen dvi-cgen
6156 maybe-dvi-cgen:
6157 @if cgen
6158 maybe-dvi-cgen: dvi-cgen
6160 dvi-cgen: \
6161 configure-cgen
6162 @: $(MAKE); $(unstage)
6163 @[ -f ./cgen/Makefile ] || exit 0; \
6164 r=`${PWD_COMMAND}`; export r; \
6165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6166 $(HOST_EXPORTS) \
6167 for flag in $(EXTRA_HOST_FLAGS) ; do \
6168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6169 done; \
6170 echo "Doing dvi in cgen" ; \
6171 (cd $(HOST_SUBDIR)/cgen && \
6172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6174 "RANLIB=$${RANLIB}" \
6175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6176 dvi) \
6177 || exit 1
6179 @endif cgen
6181 .PHONY: maybe-pdf-cgen pdf-cgen
6182 maybe-pdf-cgen:
6183 @if cgen
6184 maybe-pdf-cgen: pdf-cgen
6186 pdf-cgen: \
6187 configure-cgen
6188 @: $(MAKE); $(unstage)
6189 @[ -f ./cgen/Makefile ] || exit 0; \
6190 r=`${PWD_COMMAND}`; export r; \
6191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6192 $(HOST_EXPORTS) \
6193 for flag in $(EXTRA_HOST_FLAGS) ; do \
6194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6195 done; \
6196 echo "Doing pdf in cgen" ; \
6197 (cd $(HOST_SUBDIR)/cgen && \
6198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6200 "RANLIB=$${RANLIB}" \
6201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6202 pdf) \
6203 || exit 1
6205 @endif cgen
6207 .PHONY: maybe-html-cgen html-cgen
6208 maybe-html-cgen:
6209 @if cgen
6210 maybe-html-cgen: html-cgen
6212 html-cgen: \
6213 configure-cgen
6214 @: $(MAKE); $(unstage)
6215 @[ -f ./cgen/Makefile ] || exit 0; \
6216 r=`${PWD_COMMAND}`; export r; \
6217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6218 $(HOST_EXPORTS) \
6219 for flag in $(EXTRA_HOST_FLAGS) ; do \
6220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6221 done; \
6222 echo "Doing html in cgen" ; \
6223 (cd $(HOST_SUBDIR)/cgen && \
6224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6226 "RANLIB=$${RANLIB}" \
6227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6228 html) \
6229 || exit 1
6231 @endif cgen
6233 .PHONY: maybe-TAGS-cgen TAGS-cgen
6234 maybe-TAGS-cgen:
6235 @if cgen
6236 maybe-TAGS-cgen: TAGS-cgen
6238 TAGS-cgen: \
6239 configure-cgen
6240 @: $(MAKE); $(unstage)
6241 @[ -f ./cgen/Makefile ] || exit 0; \
6242 r=`${PWD_COMMAND}`; export r; \
6243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6244 $(HOST_EXPORTS) \
6245 for flag in $(EXTRA_HOST_FLAGS) ; do \
6246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6247 done; \
6248 echo "Doing TAGS in cgen" ; \
6249 (cd $(HOST_SUBDIR)/cgen && \
6250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6252 "RANLIB=$${RANLIB}" \
6253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6254 TAGS) \
6255 || exit 1
6257 @endif cgen
6259 .PHONY: maybe-install-info-cgen install-info-cgen
6260 maybe-install-info-cgen:
6261 @if cgen
6262 maybe-install-info-cgen: install-info-cgen
6264 install-info-cgen: \
6265 configure-cgen \
6266 info-cgen
6267 @: $(MAKE); $(unstage)
6268 @[ -f ./cgen/Makefile ] || exit 0; \
6269 r=`${PWD_COMMAND}`; export r; \
6270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6271 $(HOST_EXPORTS) \
6272 for flag in $(EXTRA_HOST_FLAGS) ; do \
6273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6274 done; \
6275 echo "Doing install-info in cgen" ; \
6276 (cd $(HOST_SUBDIR)/cgen && \
6277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6279 "RANLIB=$${RANLIB}" \
6280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6281 install-info) \
6282 || exit 1
6284 @endif cgen
6286 .PHONY: maybe-install-pdf-cgen install-pdf-cgen
6287 maybe-install-pdf-cgen:
6288 @if cgen
6289 maybe-install-pdf-cgen: install-pdf-cgen
6291 install-pdf-cgen: \
6292 configure-cgen \
6293 pdf-cgen
6294 @: $(MAKE); $(unstage)
6295 @[ -f ./cgen/Makefile ] || exit 0; \
6296 r=`${PWD_COMMAND}`; export r; \
6297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6298 $(HOST_EXPORTS) \
6299 for flag in $(EXTRA_HOST_FLAGS) ; do \
6300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6301 done; \
6302 echo "Doing install-pdf in cgen" ; \
6303 (cd $(HOST_SUBDIR)/cgen && \
6304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6306 "RANLIB=$${RANLIB}" \
6307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6308 install-pdf) \
6309 || exit 1
6311 @endif cgen
6313 .PHONY: maybe-install-html-cgen install-html-cgen
6314 maybe-install-html-cgen:
6315 @if cgen
6316 maybe-install-html-cgen: install-html-cgen
6318 install-html-cgen: \
6319 configure-cgen \
6320 html-cgen
6321 @: $(MAKE); $(unstage)
6322 @[ -f ./cgen/Makefile ] || exit 0; \
6323 r=`${PWD_COMMAND}`; export r; \
6324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6325 $(HOST_EXPORTS) \
6326 for flag in $(EXTRA_HOST_FLAGS) ; do \
6327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6328 done; \
6329 echo "Doing install-html in cgen" ; \
6330 (cd $(HOST_SUBDIR)/cgen && \
6331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6333 "RANLIB=$${RANLIB}" \
6334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6335 install-html) \
6336 || exit 1
6338 @endif cgen
6340 .PHONY: maybe-installcheck-cgen installcheck-cgen
6341 maybe-installcheck-cgen:
6342 @if cgen
6343 maybe-installcheck-cgen: installcheck-cgen
6345 installcheck-cgen: \
6346 configure-cgen
6347 @: $(MAKE); $(unstage)
6348 @[ -f ./cgen/Makefile ] || exit 0; \
6349 r=`${PWD_COMMAND}`; export r; \
6350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6351 $(HOST_EXPORTS) \
6352 for flag in $(EXTRA_HOST_FLAGS) ; do \
6353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6354 done; \
6355 echo "Doing installcheck in cgen" ; \
6356 (cd $(HOST_SUBDIR)/cgen && \
6357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6359 "RANLIB=$${RANLIB}" \
6360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6361 installcheck) \
6362 || exit 1
6364 @endif cgen
6366 .PHONY: maybe-mostlyclean-cgen mostlyclean-cgen
6367 maybe-mostlyclean-cgen:
6368 @if cgen
6369 maybe-mostlyclean-cgen: mostlyclean-cgen
6371 mostlyclean-cgen:
6372 @: $(MAKE); $(unstage)
6373 @[ -f ./cgen/Makefile ] || exit 0; \
6374 r=`${PWD_COMMAND}`; export r; \
6375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6376 $(HOST_EXPORTS) \
6377 for flag in $(EXTRA_HOST_FLAGS) ; do \
6378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6379 done; \
6380 echo "Doing mostlyclean in cgen" ; \
6381 (cd $(HOST_SUBDIR)/cgen && \
6382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6384 "RANLIB=$${RANLIB}" \
6385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6386 mostlyclean) \
6387 || exit 1
6389 @endif cgen
6391 .PHONY: maybe-clean-cgen clean-cgen
6392 maybe-clean-cgen:
6393 @if cgen
6394 maybe-clean-cgen: clean-cgen
6396 clean-cgen:
6397 @: $(MAKE); $(unstage)
6398 @[ -f ./cgen/Makefile ] || exit 0; \
6399 r=`${PWD_COMMAND}`; export r; \
6400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6401 $(HOST_EXPORTS) \
6402 for flag in $(EXTRA_HOST_FLAGS) ; do \
6403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6404 done; \
6405 echo "Doing clean in cgen" ; \
6406 (cd $(HOST_SUBDIR)/cgen && \
6407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6409 "RANLIB=$${RANLIB}" \
6410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6411 clean) \
6412 || exit 1
6414 @endif cgen
6416 .PHONY: maybe-distclean-cgen distclean-cgen
6417 maybe-distclean-cgen:
6418 @if cgen
6419 maybe-distclean-cgen: distclean-cgen
6421 distclean-cgen:
6422 @: $(MAKE); $(unstage)
6423 @[ -f ./cgen/Makefile ] || exit 0; \
6424 r=`${PWD_COMMAND}`; export r; \
6425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6426 $(HOST_EXPORTS) \
6427 for flag in $(EXTRA_HOST_FLAGS) ; do \
6428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6429 done; \
6430 echo "Doing distclean in cgen" ; \
6431 (cd $(HOST_SUBDIR)/cgen && \
6432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6434 "RANLIB=$${RANLIB}" \
6435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6436 distclean) \
6437 || exit 1
6439 @endif cgen
6441 .PHONY: maybe-maintainer-clean-cgen maintainer-clean-cgen
6442 maybe-maintainer-clean-cgen:
6443 @if cgen
6444 maybe-maintainer-clean-cgen: maintainer-clean-cgen
6446 maintainer-clean-cgen:
6447 @: $(MAKE); $(unstage)
6448 @[ -f ./cgen/Makefile ] || exit 0; \
6449 r=`${PWD_COMMAND}`; export r; \
6450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6451 $(HOST_EXPORTS) \
6452 for flag in $(EXTRA_HOST_FLAGS) ; do \
6453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6454 done; \
6455 echo "Doing maintainer-clean in cgen" ; \
6456 (cd $(HOST_SUBDIR)/cgen && \
6457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6459 "RANLIB=$${RANLIB}" \
6460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6461 maintainer-clean) \
6462 || exit 1
6464 @endif cgen
6468 .PHONY: configure-dejagnu maybe-configure-dejagnu
6469 maybe-configure-dejagnu:
6470 @if gcc-bootstrap
6471 configure-dejagnu: stage_current
6472 @endif gcc-bootstrap
6473 @if dejagnu
6474 maybe-configure-dejagnu: configure-dejagnu
6475 configure-dejagnu:
6476 @: $(MAKE); $(unstage)
6477 @r=`${PWD_COMMAND}`; export r; \
6478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6479 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
6480 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
6481 $(HOST_EXPORTS) \
6482 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
6483 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
6484 case $(srcdir) in \
6485 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6486 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
6487 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6488 esac; \
6489 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
6490 libsrcdir="$$s/dejagnu"; \
6491 $(SHELL) $${libsrcdir}/configure \
6492 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6493 --target=${target_alias} $${srcdiroption} \
6494 || exit 1
6495 @endif dejagnu
6501 .PHONY: all-dejagnu maybe-all-dejagnu
6502 maybe-all-dejagnu:
6503 @if gcc-bootstrap
6504 all-dejagnu: stage_current
6505 @endif gcc-bootstrap
6506 @if dejagnu
6507 TARGET-dejagnu=all
6508 maybe-all-dejagnu: all-dejagnu
6509 all-dejagnu: configure-dejagnu
6510 @: $(MAKE); $(unstage)
6511 @r=`${PWD_COMMAND}`; export r; \
6512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6513 $(HOST_EXPORTS) \
6514 (cd $(HOST_SUBDIR)/dejagnu && \
6515 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6516 $(TARGET-dejagnu))
6517 @endif dejagnu
6522 .PHONY: check-dejagnu maybe-check-dejagnu
6523 maybe-check-dejagnu:
6524 @if dejagnu
6525 maybe-check-dejagnu: check-dejagnu
6527 check-dejagnu:
6528 @: $(MAKE); $(unstage)
6529 @r=`${PWD_COMMAND}`; export r; \
6530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6531 $(HOST_EXPORTS) \
6532 (cd $(HOST_SUBDIR)/dejagnu && \
6533 $(MAKE) $(FLAGS_TO_PASS) check)
6535 @endif dejagnu
6537 .PHONY: install-dejagnu maybe-install-dejagnu
6538 maybe-install-dejagnu:
6539 @if dejagnu
6540 maybe-install-dejagnu: install-dejagnu
6542 install-dejagnu: installdirs
6543 @: $(MAKE); $(unstage)
6544 @r=`${PWD_COMMAND}`; export r; \
6545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6546 $(HOST_EXPORTS) \
6547 (cd $(HOST_SUBDIR)/dejagnu && \
6548 $(MAKE) $(FLAGS_TO_PASS) install)
6550 @endif dejagnu
6552 .PHONY: install-strip-dejagnu maybe-install-strip-dejagnu
6553 maybe-install-strip-dejagnu:
6554 @if dejagnu
6555 maybe-install-strip-dejagnu: install-strip-dejagnu
6557 install-strip-dejagnu: installdirs
6558 @: $(MAKE); $(unstage)
6559 @r=`${PWD_COMMAND}`; export r; \
6560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6561 $(HOST_EXPORTS) \
6562 (cd $(HOST_SUBDIR)/dejagnu && \
6563 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6565 @endif dejagnu
6567 # Other targets (info, dvi, pdf, etc.)
6569 .PHONY: maybe-info-dejagnu info-dejagnu
6570 maybe-info-dejagnu:
6571 @if dejagnu
6572 maybe-info-dejagnu: info-dejagnu
6574 info-dejagnu: \
6575 configure-dejagnu
6576 @: $(MAKE); $(unstage)
6577 @[ -f ./dejagnu/Makefile ] || exit 0; \
6578 r=`${PWD_COMMAND}`; export r; \
6579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6580 $(HOST_EXPORTS) \
6581 for flag in $(EXTRA_HOST_FLAGS) ; do \
6582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6583 done; \
6584 echo "Doing info in dejagnu" ; \
6585 (cd $(HOST_SUBDIR)/dejagnu && \
6586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6588 "RANLIB=$${RANLIB}" \
6589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6590 info) \
6591 || exit 1
6593 @endif dejagnu
6595 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
6596 maybe-dvi-dejagnu:
6597 @if dejagnu
6598 maybe-dvi-dejagnu: dvi-dejagnu
6600 dvi-dejagnu: \
6601 configure-dejagnu
6602 @: $(MAKE); $(unstage)
6603 @[ -f ./dejagnu/Makefile ] || exit 0; \
6604 r=`${PWD_COMMAND}`; export r; \
6605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6606 $(HOST_EXPORTS) \
6607 for flag in $(EXTRA_HOST_FLAGS) ; do \
6608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6609 done; \
6610 echo "Doing dvi in dejagnu" ; \
6611 (cd $(HOST_SUBDIR)/dejagnu && \
6612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6614 "RANLIB=$${RANLIB}" \
6615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6616 dvi) \
6617 || exit 1
6619 @endif dejagnu
6621 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
6622 maybe-pdf-dejagnu:
6623 @if dejagnu
6624 maybe-pdf-dejagnu: pdf-dejagnu
6626 pdf-dejagnu: \
6627 configure-dejagnu
6628 @: $(MAKE); $(unstage)
6629 @[ -f ./dejagnu/Makefile ] || exit 0; \
6630 r=`${PWD_COMMAND}`; export r; \
6631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6632 $(HOST_EXPORTS) \
6633 for flag in $(EXTRA_HOST_FLAGS) ; do \
6634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6635 done; \
6636 echo "Doing pdf in dejagnu" ; \
6637 (cd $(HOST_SUBDIR)/dejagnu && \
6638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6640 "RANLIB=$${RANLIB}" \
6641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6642 pdf) \
6643 || exit 1
6645 @endif dejagnu
6647 .PHONY: maybe-html-dejagnu html-dejagnu
6648 maybe-html-dejagnu:
6649 @if dejagnu
6650 maybe-html-dejagnu: html-dejagnu
6652 html-dejagnu: \
6653 configure-dejagnu
6654 @: $(MAKE); $(unstage)
6655 @[ -f ./dejagnu/Makefile ] || exit 0; \
6656 r=`${PWD_COMMAND}`; export r; \
6657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6658 $(HOST_EXPORTS) \
6659 for flag in $(EXTRA_HOST_FLAGS) ; do \
6660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6661 done; \
6662 echo "Doing html in dejagnu" ; \
6663 (cd $(HOST_SUBDIR)/dejagnu && \
6664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6666 "RANLIB=$${RANLIB}" \
6667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6668 html) \
6669 || exit 1
6671 @endif dejagnu
6673 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
6674 maybe-TAGS-dejagnu:
6675 @if dejagnu
6676 maybe-TAGS-dejagnu: TAGS-dejagnu
6678 TAGS-dejagnu: \
6679 configure-dejagnu
6680 @: $(MAKE); $(unstage)
6681 @[ -f ./dejagnu/Makefile ] || exit 0; \
6682 r=`${PWD_COMMAND}`; export r; \
6683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6684 $(HOST_EXPORTS) \
6685 for flag in $(EXTRA_HOST_FLAGS) ; do \
6686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6687 done; \
6688 echo "Doing TAGS in dejagnu" ; \
6689 (cd $(HOST_SUBDIR)/dejagnu && \
6690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6692 "RANLIB=$${RANLIB}" \
6693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6694 TAGS) \
6695 || exit 1
6697 @endif dejagnu
6699 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
6700 maybe-install-info-dejagnu:
6701 @if dejagnu
6702 maybe-install-info-dejagnu: install-info-dejagnu
6704 install-info-dejagnu: \
6705 configure-dejagnu \
6706 info-dejagnu
6707 @: $(MAKE); $(unstage)
6708 @[ -f ./dejagnu/Makefile ] || exit 0; \
6709 r=`${PWD_COMMAND}`; export r; \
6710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6711 $(HOST_EXPORTS) \
6712 for flag in $(EXTRA_HOST_FLAGS) ; do \
6713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6714 done; \
6715 echo "Doing install-info in dejagnu" ; \
6716 (cd $(HOST_SUBDIR)/dejagnu && \
6717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6719 "RANLIB=$${RANLIB}" \
6720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6721 install-info) \
6722 || exit 1
6724 @endif dejagnu
6726 .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu
6727 maybe-install-pdf-dejagnu:
6728 @if dejagnu
6729 maybe-install-pdf-dejagnu: install-pdf-dejagnu
6731 install-pdf-dejagnu: \
6732 configure-dejagnu \
6733 pdf-dejagnu
6734 @: $(MAKE); $(unstage)
6735 @[ -f ./dejagnu/Makefile ] || exit 0; \
6736 r=`${PWD_COMMAND}`; export r; \
6737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6738 $(HOST_EXPORTS) \
6739 for flag in $(EXTRA_HOST_FLAGS) ; do \
6740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6741 done; \
6742 echo "Doing install-pdf in dejagnu" ; \
6743 (cd $(HOST_SUBDIR)/dejagnu && \
6744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6746 "RANLIB=$${RANLIB}" \
6747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6748 install-pdf) \
6749 || exit 1
6751 @endif dejagnu
6753 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
6754 maybe-install-html-dejagnu:
6755 @if dejagnu
6756 maybe-install-html-dejagnu: install-html-dejagnu
6758 install-html-dejagnu: \
6759 configure-dejagnu \
6760 html-dejagnu
6761 @: $(MAKE); $(unstage)
6762 @[ -f ./dejagnu/Makefile ] || exit 0; \
6763 r=`${PWD_COMMAND}`; export r; \
6764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6765 $(HOST_EXPORTS) \
6766 for flag in $(EXTRA_HOST_FLAGS) ; do \
6767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6768 done; \
6769 echo "Doing install-html in dejagnu" ; \
6770 (cd $(HOST_SUBDIR)/dejagnu && \
6771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6773 "RANLIB=$${RANLIB}" \
6774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6775 install-html) \
6776 || exit 1
6778 @endif dejagnu
6780 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
6781 maybe-installcheck-dejagnu:
6782 @if dejagnu
6783 maybe-installcheck-dejagnu: installcheck-dejagnu
6785 installcheck-dejagnu: \
6786 configure-dejagnu
6787 @: $(MAKE); $(unstage)
6788 @[ -f ./dejagnu/Makefile ] || exit 0; \
6789 r=`${PWD_COMMAND}`; export r; \
6790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6791 $(HOST_EXPORTS) \
6792 for flag in $(EXTRA_HOST_FLAGS) ; do \
6793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6794 done; \
6795 echo "Doing installcheck in dejagnu" ; \
6796 (cd $(HOST_SUBDIR)/dejagnu && \
6797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6799 "RANLIB=$${RANLIB}" \
6800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6801 installcheck) \
6802 || exit 1
6804 @endif dejagnu
6806 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
6807 maybe-mostlyclean-dejagnu:
6808 @if dejagnu
6809 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
6811 mostlyclean-dejagnu:
6812 @: $(MAKE); $(unstage)
6813 @[ -f ./dejagnu/Makefile ] || exit 0; \
6814 r=`${PWD_COMMAND}`; export r; \
6815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6816 $(HOST_EXPORTS) \
6817 for flag in $(EXTRA_HOST_FLAGS) ; do \
6818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6819 done; \
6820 echo "Doing mostlyclean in dejagnu" ; \
6821 (cd $(HOST_SUBDIR)/dejagnu && \
6822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6824 "RANLIB=$${RANLIB}" \
6825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6826 mostlyclean) \
6827 || exit 1
6829 @endif dejagnu
6831 .PHONY: maybe-clean-dejagnu clean-dejagnu
6832 maybe-clean-dejagnu:
6833 @if dejagnu
6834 maybe-clean-dejagnu: clean-dejagnu
6836 clean-dejagnu:
6837 @: $(MAKE); $(unstage)
6838 @[ -f ./dejagnu/Makefile ] || exit 0; \
6839 r=`${PWD_COMMAND}`; export r; \
6840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6841 $(HOST_EXPORTS) \
6842 for flag in $(EXTRA_HOST_FLAGS) ; do \
6843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6844 done; \
6845 echo "Doing clean in dejagnu" ; \
6846 (cd $(HOST_SUBDIR)/dejagnu && \
6847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6849 "RANLIB=$${RANLIB}" \
6850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6851 clean) \
6852 || exit 1
6854 @endif dejagnu
6856 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
6857 maybe-distclean-dejagnu:
6858 @if dejagnu
6859 maybe-distclean-dejagnu: distclean-dejagnu
6861 distclean-dejagnu:
6862 @: $(MAKE); $(unstage)
6863 @[ -f ./dejagnu/Makefile ] || exit 0; \
6864 r=`${PWD_COMMAND}`; export r; \
6865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6866 $(HOST_EXPORTS) \
6867 for flag in $(EXTRA_HOST_FLAGS) ; do \
6868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6869 done; \
6870 echo "Doing distclean in dejagnu" ; \
6871 (cd $(HOST_SUBDIR)/dejagnu && \
6872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6874 "RANLIB=$${RANLIB}" \
6875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6876 distclean) \
6877 || exit 1
6879 @endif dejagnu
6881 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
6882 maybe-maintainer-clean-dejagnu:
6883 @if dejagnu
6884 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
6886 maintainer-clean-dejagnu:
6887 @: $(MAKE); $(unstage)
6888 @[ -f ./dejagnu/Makefile ] || exit 0; \
6889 r=`${PWD_COMMAND}`; export r; \
6890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6891 $(HOST_EXPORTS) \
6892 for flag in $(EXTRA_HOST_FLAGS) ; do \
6893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6894 done; \
6895 echo "Doing maintainer-clean in dejagnu" ; \
6896 (cd $(HOST_SUBDIR)/dejagnu && \
6897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6899 "RANLIB=$${RANLIB}" \
6900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6901 maintainer-clean) \
6902 || exit 1
6904 @endif dejagnu
6908 .PHONY: configure-etc maybe-configure-etc
6909 maybe-configure-etc:
6910 @if gcc-bootstrap
6911 configure-etc: stage_current
6912 @endif gcc-bootstrap
6913 @if etc
6914 maybe-configure-etc: configure-etc
6915 configure-etc:
6916 @: $(MAKE); $(unstage)
6917 @r=`${PWD_COMMAND}`; export r; \
6918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6919 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
6920 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
6921 $(HOST_EXPORTS) \
6922 echo Configuring in $(HOST_SUBDIR)/etc; \
6923 cd "$(HOST_SUBDIR)/etc" || exit 1; \
6924 case $(srcdir) in \
6925 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6926 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
6927 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6928 esac; \
6929 srcdiroption="--srcdir=$${topdir}/etc"; \
6930 libsrcdir="$$s/etc"; \
6931 $(SHELL) $${libsrcdir}/configure \
6932 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6933 --target=${target_alias} $${srcdiroption} \
6934 || exit 1
6935 @endif etc
6941 .PHONY: all-etc maybe-all-etc
6942 maybe-all-etc:
6943 @if gcc-bootstrap
6944 all-etc: stage_current
6945 @endif gcc-bootstrap
6946 @if etc
6947 TARGET-etc=all
6948 maybe-all-etc: all-etc
6949 all-etc: configure-etc
6950 @: $(MAKE); $(unstage)
6951 @r=`${PWD_COMMAND}`; export r; \
6952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6953 $(HOST_EXPORTS) \
6954 (cd $(HOST_SUBDIR)/etc && \
6955 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6956 $(TARGET-etc))
6957 @endif etc
6962 .PHONY: check-etc maybe-check-etc
6963 maybe-check-etc:
6964 @if etc
6965 maybe-check-etc: check-etc
6967 check-etc:
6968 @: $(MAKE); $(unstage)
6969 @r=`${PWD_COMMAND}`; export r; \
6970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6971 $(HOST_EXPORTS) \
6972 (cd $(HOST_SUBDIR)/etc && \
6973 $(MAKE) $(FLAGS_TO_PASS) check)
6975 @endif etc
6977 .PHONY: install-etc maybe-install-etc
6978 maybe-install-etc:
6979 @if etc
6980 maybe-install-etc: install-etc
6982 install-etc: installdirs
6983 @: $(MAKE); $(unstage)
6984 @r=`${PWD_COMMAND}`; export r; \
6985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6986 $(HOST_EXPORTS) \
6987 (cd $(HOST_SUBDIR)/etc && \
6988 $(MAKE) $(FLAGS_TO_PASS) install)
6990 @endif etc
6992 .PHONY: install-strip-etc maybe-install-strip-etc
6993 maybe-install-strip-etc:
6994 @if etc
6995 maybe-install-strip-etc: install-strip-etc
6997 install-strip-etc: installdirs
6998 @: $(MAKE); $(unstage)
6999 @r=`${PWD_COMMAND}`; export r; \
7000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7001 $(HOST_EXPORTS) \
7002 (cd $(HOST_SUBDIR)/etc && \
7003 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7005 @endif etc
7007 # Other targets (info, dvi, pdf, etc.)
7009 .PHONY: maybe-info-etc info-etc
7010 maybe-info-etc:
7011 @if etc
7012 maybe-info-etc: info-etc
7014 info-etc: \
7015 configure-etc
7016 @: $(MAKE); $(unstage)
7017 @[ -f ./etc/Makefile ] || exit 0; \
7018 r=`${PWD_COMMAND}`; export r; \
7019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7020 $(HOST_EXPORTS) \
7021 for flag in $(EXTRA_HOST_FLAGS) ; do \
7022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7023 done; \
7024 echo "Doing info in etc" ; \
7025 (cd $(HOST_SUBDIR)/etc && \
7026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7028 "RANLIB=$${RANLIB}" \
7029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7030 info) \
7031 || exit 1
7033 @endif etc
7035 .PHONY: maybe-dvi-etc dvi-etc
7036 maybe-dvi-etc:
7037 @if etc
7038 maybe-dvi-etc: dvi-etc
7040 dvi-etc: \
7041 configure-etc
7042 @: $(MAKE); $(unstage)
7043 @[ -f ./etc/Makefile ] || exit 0; \
7044 r=`${PWD_COMMAND}`; export r; \
7045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7046 $(HOST_EXPORTS) \
7047 for flag in $(EXTRA_HOST_FLAGS) ; do \
7048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7049 done; \
7050 echo "Doing dvi in etc" ; \
7051 (cd $(HOST_SUBDIR)/etc && \
7052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7054 "RANLIB=$${RANLIB}" \
7055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7056 dvi) \
7057 || exit 1
7059 @endif etc
7061 .PHONY: maybe-pdf-etc pdf-etc
7062 maybe-pdf-etc:
7063 @if etc
7064 maybe-pdf-etc: pdf-etc
7066 pdf-etc: \
7067 configure-etc
7068 @: $(MAKE); $(unstage)
7069 @[ -f ./etc/Makefile ] || exit 0; \
7070 r=`${PWD_COMMAND}`; export r; \
7071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7072 $(HOST_EXPORTS) \
7073 for flag in $(EXTRA_HOST_FLAGS) ; do \
7074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7075 done; \
7076 echo "Doing pdf in etc" ; \
7077 (cd $(HOST_SUBDIR)/etc && \
7078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7080 "RANLIB=$${RANLIB}" \
7081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7082 pdf) \
7083 || exit 1
7085 @endif etc
7087 .PHONY: maybe-html-etc html-etc
7088 maybe-html-etc:
7089 @if etc
7090 maybe-html-etc: html-etc
7092 html-etc: \
7093 configure-etc
7094 @: $(MAKE); $(unstage)
7095 @[ -f ./etc/Makefile ] || exit 0; \
7096 r=`${PWD_COMMAND}`; export r; \
7097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7098 $(HOST_EXPORTS) \
7099 for flag in $(EXTRA_HOST_FLAGS) ; do \
7100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7101 done; \
7102 echo "Doing html in etc" ; \
7103 (cd $(HOST_SUBDIR)/etc && \
7104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7106 "RANLIB=$${RANLIB}" \
7107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7108 html) \
7109 || exit 1
7111 @endif etc
7113 .PHONY: maybe-TAGS-etc TAGS-etc
7114 maybe-TAGS-etc:
7115 @if etc
7116 maybe-TAGS-etc: TAGS-etc
7118 TAGS-etc: \
7119 configure-etc
7120 @: $(MAKE); $(unstage)
7121 @[ -f ./etc/Makefile ] || exit 0; \
7122 r=`${PWD_COMMAND}`; export r; \
7123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7124 $(HOST_EXPORTS) \
7125 for flag in $(EXTRA_HOST_FLAGS) ; do \
7126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7127 done; \
7128 echo "Doing TAGS in etc" ; \
7129 (cd $(HOST_SUBDIR)/etc && \
7130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7132 "RANLIB=$${RANLIB}" \
7133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7134 TAGS) \
7135 || exit 1
7137 @endif etc
7139 .PHONY: maybe-install-info-etc install-info-etc
7140 maybe-install-info-etc:
7141 @if etc
7142 maybe-install-info-etc: install-info-etc
7144 install-info-etc: \
7145 configure-etc \
7146 info-etc
7147 @: $(MAKE); $(unstage)
7148 @[ -f ./etc/Makefile ] || exit 0; \
7149 r=`${PWD_COMMAND}`; export r; \
7150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7151 $(HOST_EXPORTS) \
7152 for flag in $(EXTRA_HOST_FLAGS) ; do \
7153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7154 done; \
7155 echo "Doing install-info in etc" ; \
7156 (cd $(HOST_SUBDIR)/etc && \
7157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7159 "RANLIB=$${RANLIB}" \
7160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7161 install-info) \
7162 || exit 1
7164 @endif etc
7166 .PHONY: maybe-install-pdf-etc install-pdf-etc
7167 maybe-install-pdf-etc:
7168 @if etc
7169 maybe-install-pdf-etc: install-pdf-etc
7171 install-pdf-etc: \
7172 configure-etc \
7173 pdf-etc
7174 @: $(MAKE); $(unstage)
7175 @[ -f ./etc/Makefile ] || exit 0; \
7176 r=`${PWD_COMMAND}`; export r; \
7177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7178 $(HOST_EXPORTS) \
7179 for flag in $(EXTRA_HOST_FLAGS) ; do \
7180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7181 done; \
7182 echo "Doing install-pdf in etc" ; \
7183 (cd $(HOST_SUBDIR)/etc && \
7184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7186 "RANLIB=$${RANLIB}" \
7187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7188 install-pdf) \
7189 || exit 1
7191 @endif etc
7193 .PHONY: maybe-install-html-etc install-html-etc
7194 maybe-install-html-etc:
7195 @if etc
7196 maybe-install-html-etc: install-html-etc
7198 install-html-etc: \
7199 configure-etc \
7200 html-etc
7201 @: $(MAKE); $(unstage)
7202 @[ -f ./etc/Makefile ] || exit 0; \
7203 r=`${PWD_COMMAND}`; export r; \
7204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7205 $(HOST_EXPORTS) \
7206 for flag in $(EXTRA_HOST_FLAGS) ; do \
7207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7208 done; \
7209 echo "Doing install-html in etc" ; \
7210 (cd $(HOST_SUBDIR)/etc && \
7211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7213 "RANLIB=$${RANLIB}" \
7214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7215 install-html) \
7216 || exit 1
7218 @endif etc
7220 .PHONY: maybe-installcheck-etc installcheck-etc
7221 maybe-installcheck-etc:
7222 @if etc
7223 maybe-installcheck-etc: installcheck-etc
7225 installcheck-etc: \
7226 configure-etc
7227 @: $(MAKE); $(unstage)
7228 @[ -f ./etc/Makefile ] || exit 0; \
7229 r=`${PWD_COMMAND}`; export r; \
7230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7231 $(HOST_EXPORTS) \
7232 for flag in $(EXTRA_HOST_FLAGS) ; do \
7233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7234 done; \
7235 echo "Doing installcheck in etc" ; \
7236 (cd $(HOST_SUBDIR)/etc && \
7237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7239 "RANLIB=$${RANLIB}" \
7240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7241 installcheck) \
7242 || exit 1
7244 @endif etc
7246 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
7247 maybe-mostlyclean-etc:
7248 @if etc
7249 maybe-mostlyclean-etc: mostlyclean-etc
7251 mostlyclean-etc:
7252 @: $(MAKE); $(unstage)
7253 @[ -f ./etc/Makefile ] || exit 0; \
7254 r=`${PWD_COMMAND}`; export r; \
7255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7256 $(HOST_EXPORTS) \
7257 for flag in $(EXTRA_HOST_FLAGS) ; do \
7258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7259 done; \
7260 echo "Doing mostlyclean in etc" ; \
7261 (cd $(HOST_SUBDIR)/etc && \
7262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7264 "RANLIB=$${RANLIB}" \
7265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7266 mostlyclean) \
7267 || exit 1
7269 @endif etc
7271 .PHONY: maybe-clean-etc clean-etc
7272 maybe-clean-etc:
7273 @if etc
7274 maybe-clean-etc: clean-etc
7276 clean-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 clean 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 clean) \
7292 || exit 1
7294 @endif etc
7296 .PHONY: maybe-distclean-etc distclean-etc
7297 maybe-distclean-etc:
7298 @if etc
7299 maybe-distclean-etc: distclean-etc
7301 distclean-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 distclean 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 distclean) \
7317 || exit 1
7319 @endif etc
7321 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
7322 maybe-maintainer-clean-etc:
7323 @if etc
7324 maybe-maintainer-clean-etc: maintainer-clean-etc
7326 maintainer-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 maintainer-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 maintainer-clean) \
7342 || exit 1
7344 @endif etc
7348 .PHONY: configure-fastjar maybe-configure-fastjar
7349 maybe-configure-fastjar:
7350 @if gcc-bootstrap
7351 configure-fastjar: stage_current
7352 @endif gcc-bootstrap
7353 @if fastjar
7354 maybe-configure-fastjar: configure-fastjar
7355 configure-fastjar:
7356 @: $(MAKE); $(unstage)
7357 @r=`${PWD_COMMAND}`; export r; \
7358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7359 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
7360 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
7361 $(HOST_EXPORTS) \
7362 echo Configuring in $(HOST_SUBDIR)/fastjar; \
7363 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
7364 case $(srcdir) in \
7365 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7366 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
7367 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7368 esac; \
7369 srcdiroption="--srcdir=$${topdir}/fastjar"; \
7370 libsrcdir="$$s/fastjar"; \
7371 $(SHELL) $${libsrcdir}/configure \
7372 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7373 --target=${target_alias} $${srcdiroption} \
7374 || exit 1
7375 @endif fastjar
7381 .PHONY: all-fastjar maybe-all-fastjar
7382 maybe-all-fastjar:
7383 @if gcc-bootstrap
7384 all-fastjar: stage_current
7385 @endif gcc-bootstrap
7386 @if fastjar
7387 TARGET-fastjar=all
7388 maybe-all-fastjar: all-fastjar
7389 all-fastjar: configure-fastjar
7390 @: $(MAKE); $(unstage)
7391 @r=`${PWD_COMMAND}`; export r; \
7392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7393 $(HOST_EXPORTS) \
7394 (cd $(HOST_SUBDIR)/fastjar && \
7395 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7396 $(TARGET-fastjar))
7397 @endif fastjar
7402 .PHONY: check-fastjar maybe-check-fastjar
7403 maybe-check-fastjar:
7404 @if fastjar
7405 maybe-check-fastjar: check-fastjar
7407 # This module is only tested in a native toolchain.
7408 check-fastjar:
7409 @: $(MAKE); $(unstage)
7410 @if [ '$(host)' = '$(target)' ] ; then \
7411 r=`${PWD_COMMAND}`; export r; \
7412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7413 $(HOST_EXPORTS) \
7414 (cd $(HOST_SUBDIR)/fastjar && \
7415 $(MAKE) $(FLAGS_TO_PASS) check); \
7418 @endif fastjar
7420 .PHONY: install-fastjar maybe-install-fastjar
7421 maybe-install-fastjar:
7422 @if fastjar
7423 maybe-install-fastjar: install-fastjar
7425 install-fastjar: installdirs
7426 @: $(MAKE); $(unstage)
7427 @r=`${PWD_COMMAND}`; export r; \
7428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7429 $(HOST_EXPORTS) \
7430 (cd $(HOST_SUBDIR)/fastjar && \
7431 $(MAKE) $(FLAGS_TO_PASS) install)
7433 @endif fastjar
7435 .PHONY: install-strip-fastjar maybe-install-strip-fastjar
7436 maybe-install-strip-fastjar:
7437 @if fastjar
7438 maybe-install-strip-fastjar: install-strip-fastjar
7440 install-strip-fastjar: installdirs
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) $(FLAGS_TO_PASS) install-strip)
7448 @endif fastjar
7450 # Other targets (info, dvi, pdf, etc.)
7452 .PHONY: maybe-info-fastjar info-fastjar
7453 maybe-info-fastjar:
7454 @if fastjar
7455 maybe-info-fastjar: info-fastjar
7457 info-fastjar: \
7458 configure-fastjar
7459 @: $(MAKE); $(unstage)
7460 @[ -f ./fastjar/Makefile ] || exit 0; \
7461 r=`${PWD_COMMAND}`; export r; \
7462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7463 $(HOST_EXPORTS) \
7464 for flag in $(EXTRA_HOST_FLAGS) ; do \
7465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7466 done; \
7467 echo "Doing info in fastjar" ; \
7468 (cd $(HOST_SUBDIR)/fastjar && \
7469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7471 "RANLIB=$${RANLIB}" \
7472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7473 info) \
7474 || exit 1
7476 @endif fastjar
7478 .PHONY: maybe-dvi-fastjar dvi-fastjar
7479 maybe-dvi-fastjar:
7480 @if fastjar
7481 maybe-dvi-fastjar: dvi-fastjar
7483 dvi-fastjar: \
7484 configure-fastjar
7485 @: $(MAKE); $(unstage)
7486 @[ -f ./fastjar/Makefile ] || exit 0; \
7487 r=`${PWD_COMMAND}`; export r; \
7488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7489 $(HOST_EXPORTS) \
7490 for flag in $(EXTRA_HOST_FLAGS) ; do \
7491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7492 done; \
7493 echo "Doing dvi in fastjar" ; \
7494 (cd $(HOST_SUBDIR)/fastjar && \
7495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7497 "RANLIB=$${RANLIB}" \
7498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7499 dvi) \
7500 || exit 1
7502 @endif fastjar
7504 .PHONY: maybe-pdf-fastjar pdf-fastjar
7505 maybe-pdf-fastjar:
7506 @if fastjar
7507 maybe-pdf-fastjar: pdf-fastjar
7509 pdf-fastjar: \
7510 configure-fastjar
7511 @: $(MAKE); $(unstage)
7512 @[ -f ./fastjar/Makefile ] || exit 0; \
7513 r=`${PWD_COMMAND}`; export r; \
7514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7515 $(HOST_EXPORTS) \
7516 for flag in $(EXTRA_HOST_FLAGS) ; do \
7517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7518 done; \
7519 echo "Doing pdf in fastjar" ; \
7520 (cd $(HOST_SUBDIR)/fastjar && \
7521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7523 "RANLIB=$${RANLIB}" \
7524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7525 pdf) \
7526 || exit 1
7528 @endif fastjar
7530 .PHONY: maybe-html-fastjar html-fastjar
7531 maybe-html-fastjar:
7532 @if fastjar
7533 maybe-html-fastjar: html-fastjar
7535 html-fastjar: \
7536 configure-fastjar
7537 @: $(MAKE); $(unstage)
7538 @[ -f ./fastjar/Makefile ] || exit 0; \
7539 r=`${PWD_COMMAND}`; export r; \
7540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7541 $(HOST_EXPORTS) \
7542 for flag in $(EXTRA_HOST_FLAGS) ; do \
7543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7544 done; \
7545 echo "Doing html in fastjar" ; \
7546 (cd $(HOST_SUBDIR)/fastjar && \
7547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7549 "RANLIB=$${RANLIB}" \
7550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7551 html) \
7552 || exit 1
7554 @endif fastjar
7556 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
7557 maybe-TAGS-fastjar:
7558 @if fastjar
7559 maybe-TAGS-fastjar: TAGS-fastjar
7561 TAGS-fastjar: \
7562 configure-fastjar
7563 @: $(MAKE); $(unstage)
7564 @[ -f ./fastjar/Makefile ] || exit 0; \
7565 r=`${PWD_COMMAND}`; export r; \
7566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7567 $(HOST_EXPORTS) \
7568 for flag in $(EXTRA_HOST_FLAGS) ; do \
7569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7570 done; \
7571 echo "Doing TAGS in fastjar" ; \
7572 (cd $(HOST_SUBDIR)/fastjar && \
7573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7575 "RANLIB=$${RANLIB}" \
7576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7577 TAGS) \
7578 || exit 1
7580 @endif fastjar
7582 .PHONY: maybe-install-info-fastjar install-info-fastjar
7583 maybe-install-info-fastjar:
7584 @if fastjar
7585 maybe-install-info-fastjar: install-info-fastjar
7587 install-info-fastjar: \
7588 configure-fastjar \
7589 info-fastjar
7590 @: $(MAKE); $(unstage)
7591 @[ -f ./fastjar/Makefile ] || exit 0; \
7592 r=`${PWD_COMMAND}`; export r; \
7593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7594 $(HOST_EXPORTS) \
7595 for flag in $(EXTRA_HOST_FLAGS) ; do \
7596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7597 done; \
7598 echo "Doing install-info in fastjar" ; \
7599 (cd $(HOST_SUBDIR)/fastjar && \
7600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7602 "RANLIB=$${RANLIB}" \
7603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7604 install-info) \
7605 || exit 1
7607 @endif fastjar
7609 .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar
7610 maybe-install-pdf-fastjar:
7611 @if fastjar
7612 maybe-install-pdf-fastjar: install-pdf-fastjar
7614 install-pdf-fastjar: \
7615 configure-fastjar \
7616 pdf-fastjar
7617 @: $(MAKE); $(unstage)
7618 @[ -f ./fastjar/Makefile ] || exit 0; \
7619 r=`${PWD_COMMAND}`; export r; \
7620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7621 $(HOST_EXPORTS) \
7622 for flag in $(EXTRA_HOST_FLAGS) ; do \
7623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7624 done; \
7625 echo "Doing install-pdf in fastjar" ; \
7626 (cd $(HOST_SUBDIR)/fastjar && \
7627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7629 "RANLIB=$${RANLIB}" \
7630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7631 install-pdf) \
7632 || exit 1
7634 @endif fastjar
7636 .PHONY: maybe-install-html-fastjar install-html-fastjar
7637 maybe-install-html-fastjar:
7638 @if fastjar
7639 maybe-install-html-fastjar: install-html-fastjar
7641 install-html-fastjar: \
7642 configure-fastjar \
7643 html-fastjar
7644 @: $(MAKE); $(unstage)
7645 @[ -f ./fastjar/Makefile ] || exit 0; \
7646 r=`${PWD_COMMAND}`; export r; \
7647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7648 $(HOST_EXPORTS) \
7649 for flag in $(EXTRA_HOST_FLAGS) ; do \
7650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7651 done; \
7652 echo "Doing install-html in fastjar" ; \
7653 (cd $(HOST_SUBDIR)/fastjar && \
7654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7656 "RANLIB=$${RANLIB}" \
7657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7658 install-html) \
7659 || exit 1
7661 @endif fastjar
7663 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
7664 maybe-installcheck-fastjar:
7665 @if fastjar
7666 maybe-installcheck-fastjar: installcheck-fastjar
7668 installcheck-fastjar: \
7669 configure-fastjar
7670 @: $(MAKE); $(unstage)
7671 @[ -f ./fastjar/Makefile ] || exit 0; \
7672 r=`${PWD_COMMAND}`; export r; \
7673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7674 $(HOST_EXPORTS) \
7675 for flag in $(EXTRA_HOST_FLAGS) ; do \
7676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7677 done; \
7678 echo "Doing installcheck in fastjar" ; \
7679 (cd $(HOST_SUBDIR)/fastjar && \
7680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7682 "RANLIB=$${RANLIB}" \
7683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7684 installcheck) \
7685 || exit 1
7687 @endif fastjar
7689 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
7690 maybe-mostlyclean-fastjar:
7691 @if fastjar
7692 maybe-mostlyclean-fastjar: mostlyclean-fastjar
7694 mostlyclean-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 mostlyclean 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 mostlyclean) \
7710 || exit 1
7712 @endif fastjar
7714 .PHONY: maybe-clean-fastjar clean-fastjar
7715 maybe-clean-fastjar:
7716 @if fastjar
7717 maybe-clean-fastjar: clean-fastjar
7719 clean-fastjar:
7720 @: $(MAKE); $(unstage)
7721 @[ -f ./fastjar/Makefile ] || exit 0; \
7722 r=`${PWD_COMMAND}`; export r; \
7723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7724 $(HOST_EXPORTS) \
7725 for flag in $(EXTRA_HOST_FLAGS) ; do \
7726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7727 done; \
7728 echo "Doing clean in fastjar" ; \
7729 (cd $(HOST_SUBDIR)/fastjar && \
7730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7732 "RANLIB=$${RANLIB}" \
7733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7734 clean) \
7735 || exit 1
7737 @endif fastjar
7739 .PHONY: maybe-distclean-fastjar distclean-fastjar
7740 maybe-distclean-fastjar:
7741 @if fastjar
7742 maybe-distclean-fastjar: distclean-fastjar
7744 distclean-fastjar:
7745 @: $(MAKE); $(unstage)
7746 @[ -f ./fastjar/Makefile ] || exit 0; \
7747 r=`${PWD_COMMAND}`; export r; \
7748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7749 $(HOST_EXPORTS) \
7750 for flag in $(EXTRA_HOST_FLAGS) ; do \
7751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7752 done; \
7753 echo "Doing distclean in fastjar" ; \
7754 (cd $(HOST_SUBDIR)/fastjar && \
7755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7757 "RANLIB=$${RANLIB}" \
7758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7759 distclean) \
7760 || exit 1
7762 @endif fastjar
7764 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7765 maybe-maintainer-clean-fastjar:
7766 @if fastjar
7767 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7769 maintainer-clean-fastjar:
7770 @: $(MAKE); $(unstage)
7771 @[ -f ./fastjar/Makefile ] || exit 0; \
7772 r=`${PWD_COMMAND}`; export r; \
7773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7774 $(HOST_EXPORTS) \
7775 for flag in $(EXTRA_HOST_FLAGS) ; do \
7776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7777 done; \
7778 echo "Doing maintainer-clean in fastjar" ; \
7779 (cd $(HOST_SUBDIR)/fastjar && \
7780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7782 "RANLIB=$${RANLIB}" \
7783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7784 maintainer-clean) \
7785 || exit 1
7787 @endif fastjar
7791 .PHONY: configure-fixincludes maybe-configure-fixincludes
7792 maybe-configure-fixincludes:
7793 @if gcc-bootstrap
7794 configure-fixincludes: stage_current
7795 @endif gcc-bootstrap
7796 @if fixincludes
7797 maybe-configure-fixincludes: configure-fixincludes
7798 configure-fixincludes:
7799 @: $(MAKE); $(unstage)
7800 @r=`${PWD_COMMAND}`; export r; \
7801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7802 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
7803 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
7804 $(HOST_EXPORTS) \
7805 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
7806 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
7807 case $(srcdir) in \
7808 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7809 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
7810 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7811 esac; \
7812 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
7813 libsrcdir="$$s/fixincludes"; \
7814 $(SHELL) $${libsrcdir}/configure \
7815 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7816 --target=${target_alias} $${srcdiroption} \
7817 || exit 1
7818 @endif fixincludes
7824 .PHONY: all-fixincludes maybe-all-fixincludes
7825 maybe-all-fixincludes:
7826 @if gcc-bootstrap
7827 all-fixincludes: stage_current
7828 @endif gcc-bootstrap
7829 @if fixincludes
7830 TARGET-fixincludes=all
7831 maybe-all-fixincludes: all-fixincludes
7832 all-fixincludes: configure-fixincludes
7833 @: $(MAKE); $(unstage)
7834 @r=`${PWD_COMMAND}`; export r; \
7835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7836 $(HOST_EXPORTS) \
7837 (cd $(HOST_SUBDIR)/fixincludes && \
7838 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7839 $(TARGET-fixincludes))
7840 @endif fixincludes
7845 .PHONY: check-fixincludes maybe-check-fixincludes
7846 maybe-check-fixincludes:
7847 @if fixincludes
7848 maybe-check-fixincludes: check-fixincludes
7850 check-fixincludes:
7851 @: $(MAKE); $(unstage)
7852 @r=`${PWD_COMMAND}`; export r; \
7853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7854 $(HOST_EXPORTS) \
7855 (cd $(HOST_SUBDIR)/fixincludes && \
7856 $(MAKE) $(FLAGS_TO_PASS) check)
7858 @endif fixincludes
7860 .PHONY: install-fixincludes maybe-install-fixincludes
7861 maybe-install-fixincludes:
7862 @if fixincludes
7863 maybe-install-fixincludes: install-fixincludes
7865 install-fixincludes: installdirs
7866 @: $(MAKE); $(unstage)
7867 @r=`${PWD_COMMAND}`; export r; \
7868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7869 $(HOST_EXPORTS) \
7870 (cd $(HOST_SUBDIR)/fixincludes && \
7871 $(MAKE) $(FLAGS_TO_PASS) install)
7873 @endif fixincludes
7875 .PHONY: install-strip-fixincludes maybe-install-strip-fixincludes
7876 maybe-install-strip-fixincludes:
7877 @if fixincludes
7878 maybe-install-strip-fixincludes: install-strip-fixincludes
7880 install-strip-fixincludes: installdirs
7881 @: $(MAKE); $(unstage)
7882 @r=`${PWD_COMMAND}`; export r; \
7883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7884 $(HOST_EXPORTS) \
7885 (cd $(HOST_SUBDIR)/fixincludes && \
7886 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7888 @endif fixincludes
7890 # Other targets (info, dvi, pdf, etc.)
7892 .PHONY: maybe-info-fixincludes info-fixincludes
7893 maybe-info-fixincludes:
7894 @if fixincludes
7895 maybe-info-fixincludes: info-fixincludes
7897 info-fixincludes: \
7898 configure-fixincludes
7899 @: $(MAKE); $(unstage)
7900 @[ -f ./fixincludes/Makefile ] || exit 0; \
7901 r=`${PWD_COMMAND}`; export r; \
7902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7903 $(HOST_EXPORTS) \
7904 for flag in $(EXTRA_HOST_FLAGS) ; do \
7905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7906 done; \
7907 echo "Doing info in fixincludes" ; \
7908 (cd $(HOST_SUBDIR)/fixincludes && \
7909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7911 "RANLIB=$${RANLIB}" \
7912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7913 info) \
7914 || exit 1
7916 @endif fixincludes
7918 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
7919 maybe-dvi-fixincludes:
7920 @if fixincludes
7921 maybe-dvi-fixincludes: dvi-fixincludes
7923 dvi-fixincludes: \
7924 configure-fixincludes
7925 @: $(MAKE); $(unstage)
7926 @[ -f ./fixincludes/Makefile ] || exit 0; \
7927 r=`${PWD_COMMAND}`; export r; \
7928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7929 $(HOST_EXPORTS) \
7930 for flag in $(EXTRA_HOST_FLAGS) ; do \
7931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7932 done; \
7933 echo "Doing dvi in fixincludes" ; \
7934 (cd $(HOST_SUBDIR)/fixincludes && \
7935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7937 "RANLIB=$${RANLIB}" \
7938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7939 dvi) \
7940 || exit 1
7942 @endif fixincludes
7944 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
7945 maybe-pdf-fixincludes:
7946 @if fixincludes
7947 maybe-pdf-fixincludes: pdf-fixincludes
7949 pdf-fixincludes: \
7950 configure-fixincludes
7951 @: $(MAKE); $(unstage)
7952 @[ -f ./fixincludes/Makefile ] || exit 0; \
7953 r=`${PWD_COMMAND}`; export r; \
7954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7955 $(HOST_EXPORTS) \
7956 for flag in $(EXTRA_HOST_FLAGS) ; do \
7957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7958 done; \
7959 echo "Doing pdf in fixincludes" ; \
7960 (cd $(HOST_SUBDIR)/fixincludes && \
7961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7963 "RANLIB=$${RANLIB}" \
7964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7965 pdf) \
7966 || exit 1
7968 @endif fixincludes
7970 .PHONY: maybe-html-fixincludes html-fixincludes
7971 maybe-html-fixincludes:
7972 @if fixincludes
7973 maybe-html-fixincludes: html-fixincludes
7975 html-fixincludes: \
7976 configure-fixincludes
7977 @: $(MAKE); $(unstage)
7978 @[ -f ./fixincludes/Makefile ] || exit 0; \
7979 r=`${PWD_COMMAND}`; export r; \
7980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7981 $(HOST_EXPORTS) \
7982 for flag in $(EXTRA_HOST_FLAGS) ; do \
7983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7984 done; \
7985 echo "Doing html in fixincludes" ; \
7986 (cd $(HOST_SUBDIR)/fixincludes && \
7987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7989 "RANLIB=$${RANLIB}" \
7990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7991 html) \
7992 || exit 1
7994 @endif fixincludes
7996 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
7997 maybe-TAGS-fixincludes:
7998 @if fixincludes
7999 maybe-TAGS-fixincludes: TAGS-fixincludes
8001 # fixincludes doesn't support TAGS.
8002 TAGS-fixincludes:
8004 @endif fixincludes
8006 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
8007 maybe-install-info-fixincludes:
8008 @if fixincludes
8009 maybe-install-info-fixincludes: install-info-fixincludes
8011 install-info-fixincludes: \
8012 configure-fixincludes \
8013 info-fixincludes
8014 @: $(MAKE); $(unstage)
8015 @[ -f ./fixincludes/Makefile ] || exit 0; \
8016 r=`${PWD_COMMAND}`; export r; \
8017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8018 $(HOST_EXPORTS) \
8019 for flag in $(EXTRA_HOST_FLAGS) ; do \
8020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8021 done; \
8022 echo "Doing install-info in fixincludes" ; \
8023 (cd $(HOST_SUBDIR)/fixincludes && \
8024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8026 "RANLIB=$${RANLIB}" \
8027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8028 install-info) \
8029 || exit 1
8031 @endif fixincludes
8033 .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes
8034 maybe-install-pdf-fixincludes:
8035 @if fixincludes
8036 maybe-install-pdf-fixincludes: install-pdf-fixincludes
8038 install-pdf-fixincludes: \
8039 configure-fixincludes \
8040 pdf-fixincludes
8041 @: $(MAKE); $(unstage)
8042 @[ -f ./fixincludes/Makefile ] || exit 0; \
8043 r=`${PWD_COMMAND}`; export r; \
8044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8045 $(HOST_EXPORTS) \
8046 for flag in $(EXTRA_HOST_FLAGS) ; do \
8047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8048 done; \
8049 echo "Doing install-pdf in fixincludes" ; \
8050 (cd $(HOST_SUBDIR)/fixincludes && \
8051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8053 "RANLIB=$${RANLIB}" \
8054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8055 install-pdf) \
8056 || exit 1
8058 @endif fixincludes
8060 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
8061 maybe-install-html-fixincludes:
8062 @if fixincludes
8063 maybe-install-html-fixincludes: install-html-fixincludes
8065 install-html-fixincludes: \
8066 configure-fixincludes \
8067 html-fixincludes
8068 @: $(MAKE); $(unstage)
8069 @[ -f ./fixincludes/Makefile ] || exit 0; \
8070 r=`${PWD_COMMAND}`; export r; \
8071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8072 $(HOST_EXPORTS) \
8073 for flag in $(EXTRA_HOST_FLAGS) ; do \
8074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8075 done; \
8076 echo "Doing install-html in fixincludes" ; \
8077 (cd $(HOST_SUBDIR)/fixincludes && \
8078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8080 "RANLIB=$${RANLIB}" \
8081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8082 install-html) \
8083 || exit 1
8085 @endif fixincludes
8087 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
8088 maybe-installcheck-fixincludes:
8089 @if fixincludes
8090 maybe-installcheck-fixincludes: installcheck-fixincludes
8092 installcheck-fixincludes: \
8093 configure-fixincludes
8094 @: $(MAKE); $(unstage)
8095 @[ -f ./fixincludes/Makefile ] || exit 0; \
8096 r=`${PWD_COMMAND}`; export r; \
8097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8098 $(HOST_EXPORTS) \
8099 for flag in $(EXTRA_HOST_FLAGS) ; do \
8100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8101 done; \
8102 echo "Doing installcheck in fixincludes" ; \
8103 (cd $(HOST_SUBDIR)/fixincludes && \
8104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8106 "RANLIB=$${RANLIB}" \
8107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8108 installcheck) \
8109 || exit 1
8111 @endif fixincludes
8113 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
8114 maybe-mostlyclean-fixincludes:
8115 @if fixincludes
8116 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
8118 mostlyclean-fixincludes:
8119 @: $(MAKE); $(unstage)
8120 @[ -f ./fixincludes/Makefile ] || exit 0; \
8121 r=`${PWD_COMMAND}`; export r; \
8122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8123 $(HOST_EXPORTS) \
8124 for flag in $(EXTRA_HOST_FLAGS) ; do \
8125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8126 done; \
8127 echo "Doing mostlyclean in fixincludes" ; \
8128 (cd $(HOST_SUBDIR)/fixincludes && \
8129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8131 "RANLIB=$${RANLIB}" \
8132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8133 mostlyclean) \
8134 || exit 1
8136 @endif fixincludes
8138 .PHONY: maybe-clean-fixincludes clean-fixincludes
8139 maybe-clean-fixincludes:
8140 @if fixincludes
8141 maybe-clean-fixincludes: clean-fixincludes
8143 clean-fixincludes:
8144 @: $(MAKE); $(unstage)
8145 @[ -f ./fixincludes/Makefile ] || exit 0; \
8146 r=`${PWD_COMMAND}`; export r; \
8147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8148 $(HOST_EXPORTS) \
8149 for flag in $(EXTRA_HOST_FLAGS) ; do \
8150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8151 done; \
8152 echo "Doing clean in fixincludes" ; \
8153 (cd $(HOST_SUBDIR)/fixincludes && \
8154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8156 "RANLIB=$${RANLIB}" \
8157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8158 clean) \
8159 || exit 1
8161 @endif fixincludes
8163 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
8164 maybe-distclean-fixincludes:
8165 @if fixincludes
8166 maybe-distclean-fixincludes: distclean-fixincludes
8168 distclean-fixincludes:
8169 @: $(MAKE); $(unstage)
8170 @[ -f ./fixincludes/Makefile ] || exit 0; \
8171 r=`${PWD_COMMAND}`; export r; \
8172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8173 $(HOST_EXPORTS) \
8174 for flag in $(EXTRA_HOST_FLAGS) ; do \
8175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8176 done; \
8177 echo "Doing distclean in fixincludes" ; \
8178 (cd $(HOST_SUBDIR)/fixincludes && \
8179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8181 "RANLIB=$${RANLIB}" \
8182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8183 distclean) \
8184 || exit 1
8186 @endif fixincludes
8188 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
8189 maybe-maintainer-clean-fixincludes:
8190 @if fixincludes
8191 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
8193 maintainer-clean-fixincludes:
8194 @: $(MAKE); $(unstage)
8195 @[ -f ./fixincludes/Makefile ] || exit 0; \
8196 r=`${PWD_COMMAND}`; export r; \
8197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8198 $(HOST_EXPORTS) \
8199 for flag in $(EXTRA_HOST_FLAGS) ; do \
8200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8201 done; \
8202 echo "Doing maintainer-clean in fixincludes" ; \
8203 (cd $(HOST_SUBDIR)/fixincludes && \
8204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8206 "RANLIB=$${RANLIB}" \
8207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8208 maintainer-clean) \
8209 || exit 1
8211 @endif fixincludes
8215 .PHONY: configure-flex maybe-configure-flex
8216 maybe-configure-flex:
8217 @if gcc-bootstrap
8218 configure-flex: stage_current
8219 @endif gcc-bootstrap
8220 @if flex
8221 maybe-configure-flex: configure-flex
8222 configure-flex:
8223 @: $(MAKE); $(unstage)
8224 @r=`${PWD_COMMAND}`; export r; \
8225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8226 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
8227 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
8228 $(HOST_EXPORTS) \
8229 echo Configuring in $(HOST_SUBDIR)/flex; \
8230 cd "$(HOST_SUBDIR)/flex" || exit 1; \
8231 case $(srcdir) in \
8232 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8233 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
8234 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8235 esac; \
8236 srcdiroption="--srcdir=$${topdir}/flex"; \
8237 libsrcdir="$$s/flex"; \
8238 $(SHELL) $${libsrcdir}/configure \
8239 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8240 --target=${target_alias} $${srcdiroption} \
8241 || exit 1
8242 @endif flex
8248 .PHONY: all-flex maybe-all-flex
8249 maybe-all-flex:
8250 @if gcc-bootstrap
8251 all-flex: stage_current
8252 @endif gcc-bootstrap
8253 @if flex
8254 TARGET-flex=all
8255 maybe-all-flex: all-flex
8256 all-flex: configure-flex
8257 @: $(MAKE); $(unstage)
8258 @r=`${PWD_COMMAND}`; export r; \
8259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8260 $(HOST_EXPORTS) \
8261 (cd $(HOST_SUBDIR)/flex && \
8262 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8263 $(TARGET-flex))
8264 @endif flex
8269 .PHONY: check-flex maybe-check-flex
8270 maybe-check-flex:
8271 @if flex
8272 maybe-check-flex: check-flex
8274 # This module is only tested in a native toolchain.
8275 check-flex:
8276 @: $(MAKE); $(unstage)
8277 @if [ '$(host)' = '$(target)' ] ; then \
8278 r=`${PWD_COMMAND}`; export r; \
8279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8280 $(HOST_EXPORTS) \
8281 (cd $(HOST_SUBDIR)/flex && \
8282 $(MAKE) $(FLAGS_TO_PASS) check); \
8285 @endif flex
8287 .PHONY: install-flex maybe-install-flex
8288 maybe-install-flex:
8289 @if flex
8290 maybe-install-flex: install-flex
8292 install-flex: installdirs
8293 @: $(MAKE); $(unstage)
8294 @r=`${PWD_COMMAND}`; export r; \
8295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8296 $(HOST_EXPORTS) \
8297 (cd $(HOST_SUBDIR)/flex && \
8298 $(MAKE) $(FLAGS_TO_PASS) install)
8300 @endif flex
8302 .PHONY: install-strip-flex maybe-install-strip-flex
8303 maybe-install-strip-flex:
8304 @if flex
8305 maybe-install-strip-flex: install-strip-flex
8307 install-strip-flex: installdirs
8308 @: $(MAKE); $(unstage)
8309 @r=`${PWD_COMMAND}`; export r; \
8310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8311 $(HOST_EXPORTS) \
8312 (cd $(HOST_SUBDIR)/flex && \
8313 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8315 @endif flex
8317 # Other targets (info, dvi, pdf, etc.)
8319 .PHONY: maybe-info-flex info-flex
8320 maybe-info-flex:
8321 @if flex
8322 maybe-info-flex: info-flex
8324 info-flex: \
8325 configure-flex
8326 @: $(MAKE); $(unstage)
8327 @[ -f ./flex/Makefile ] || exit 0; \
8328 r=`${PWD_COMMAND}`; export r; \
8329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8330 $(HOST_EXPORTS) \
8331 for flag in $(EXTRA_HOST_FLAGS) ; do \
8332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8333 done; \
8334 echo "Doing info in flex" ; \
8335 (cd $(HOST_SUBDIR)/flex && \
8336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8338 "RANLIB=$${RANLIB}" \
8339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8340 info) \
8341 || exit 1
8343 @endif flex
8345 .PHONY: maybe-dvi-flex dvi-flex
8346 maybe-dvi-flex:
8347 @if flex
8348 maybe-dvi-flex: dvi-flex
8350 dvi-flex: \
8351 configure-flex
8352 @: $(MAKE); $(unstage)
8353 @[ -f ./flex/Makefile ] || exit 0; \
8354 r=`${PWD_COMMAND}`; export r; \
8355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8356 $(HOST_EXPORTS) \
8357 for flag in $(EXTRA_HOST_FLAGS) ; do \
8358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8359 done; \
8360 echo "Doing dvi in flex" ; \
8361 (cd $(HOST_SUBDIR)/flex && \
8362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8364 "RANLIB=$${RANLIB}" \
8365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8366 dvi) \
8367 || exit 1
8369 @endif flex
8371 .PHONY: maybe-pdf-flex pdf-flex
8372 maybe-pdf-flex:
8373 @if flex
8374 maybe-pdf-flex: pdf-flex
8376 pdf-flex: \
8377 configure-flex
8378 @: $(MAKE); $(unstage)
8379 @[ -f ./flex/Makefile ] || exit 0; \
8380 r=`${PWD_COMMAND}`; export r; \
8381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8382 $(HOST_EXPORTS) \
8383 for flag in $(EXTRA_HOST_FLAGS) ; do \
8384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8385 done; \
8386 echo "Doing pdf in flex" ; \
8387 (cd $(HOST_SUBDIR)/flex && \
8388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8390 "RANLIB=$${RANLIB}" \
8391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8392 pdf) \
8393 || exit 1
8395 @endif flex
8397 .PHONY: maybe-html-flex html-flex
8398 maybe-html-flex:
8399 @if flex
8400 maybe-html-flex: html-flex
8402 html-flex: \
8403 configure-flex
8404 @: $(MAKE); $(unstage)
8405 @[ -f ./flex/Makefile ] || exit 0; \
8406 r=`${PWD_COMMAND}`; export r; \
8407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8408 $(HOST_EXPORTS) \
8409 for flag in $(EXTRA_HOST_FLAGS) ; do \
8410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8411 done; \
8412 echo "Doing html in flex" ; \
8413 (cd $(HOST_SUBDIR)/flex && \
8414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8416 "RANLIB=$${RANLIB}" \
8417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8418 html) \
8419 || exit 1
8421 @endif flex
8423 .PHONY: maybe-TAGS-flex TAGS-flex
8424 maybe-TAGS-flex:
8425 @if flex
8426 maybe-TAGS-flex: TAGS-flex
8428 TAGS-flex: \
8429 configure-flex
8430 @: $(MAKE); $(unstage)
8431 @[ -f ./flex/Makefile ] || exit 0; \
8432 r=`${PWD_COMMAND}`; export r; \
8433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8434 $(HOST_EXPORTS) \
8435 for flag in $(EXTRA_HOST_FLAGS) ; do \
8436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8437 done; \
8438 echo "Doing TAGS in flex" ; \
8439 (cd $(HOST_SUBDIR)/flex && \
8440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8442 "RANLIB=$${RANLIB}" \
8443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8444 TAGS) \
8445 || exit 1
8447 @endif flex
8449 .PHONY: maybe-install-info-flex install-info-flex
8450 maybe-install-info-flex:
8451 @if flex
8452 maybe-install-info-flex: install-info-flex
8454 install-info-flex: \
8455 configure-flex \
8456 info-flex
8457 @: $(MAKE); $(unstage)
8458 @[ -f ./flex/Makefile ] || exit 0; \
8459 r=`${PWD_COMMAND}`; export r; \
8460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8461 $(HOST_EXPORTS) \
8462 for flag in $(EXTRA_HOST_FLAGS) ; do \
8463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8464 done; \
8465 echo "Doing install-info in flex" ; \
8466 (cd $(HOST_SUBDIR)/flex && \
8467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8469 "RANLIB=$${RANLIB}" \
8470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8471 install-info) \
8472 || exit 1
8474 @endif flex
8476 .PHONY: maybe-install-pdf-flex install-pdf-flex
8477 maybe-install-pdf-flex:
8478 @if flex
8479 maybe-install-pdf-flex: install-pdf-flex
8481 install-pdf-flex: \
8482 configure-flex \
8483 pdf-flex
8484 @: $(MAKE); $(unstage)
8485 @[ -f ./flex/Makefile ] || exit 0; \
8486 r=`${PWD_COMMAND}`; export r; \
8487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8488 $(HOST_EXPORTS) \
8489 for flag in $(EXTRA_HOST_FLAGS) ; do \
8490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8491 done; \
8492 echo "Doing install-pdf in flex" ; \
8493 (cd $(HOST_SUBDIR)/flex && \
8494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8496 "RANLIB=$${RANLIB}" \
8497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8498 install-pdf) \
8499 || exit 1
8501 @endif flex
8503 .PHONY: maybe-install-html-flex install-html-flex
8504 maybe-install-html-flex:
8505 @if flex
8506 maybe-install-html-flex: install-html-flex
8508 install-html-flex: \
8509 configure-flex \
8510 html-flex
8511 @: $(MAKE); $(unstage)
8512 @[ -f ./flex/Makefile ] || exit 0; \
8513 r=`${PWD_COMMAND}`; export r; \
8514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8515 $(HOST_EXPORTS) \
8516 for flag in $(EXTRA_HOST_FLAGS) ; do \
8517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8518 done; \
8519 echo "Doing install-html in flex" ; \
8520 (cd $(HOST_SUBDIR)/flex && \
8521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8523 "RANLIB=$${RANLIB}" \
8524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8525 install-html) \
8526 || exit 1
8528 @endif flex
8530 .PHONY: maybe-installcheck-flex installcheck-flex
8531 maybe-installcheck-flex:
8532 @if flex
8533 maybe-installcheck-flex: installcheck-flex
8535 installcheck-flex: \
8536 configure-flex
8537 @: $(MAKE); $(unstage)
8538 @[ -f ./flex/Makefile ] || exit 0; \
8539 r=`${PWD_COMMAND}`; export r; \
8540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8541 $(HOST_EXPORTS) \
8542 for flag in $(EXTRA_HOST_FLAGS) ; do \
8543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8544 done; \
8545 echo "Doing installcheck in flex" ; \
8546 (cd $(HOST_SUBDIR)/flex && \
8547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8549 "RANLIB=$${RANLIB}" \
8550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8551 installcheck) \
8552 || exit 1
8554 @endif flex
8556 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
8557 maybe-mostlyclean-flex:
8558 @if flex
8559 maybe-mostlyclean-flex: mostlyclean-flex
8561 mostlyclean-flex:
8562 @: $(MAKE); $(unstage)
8563 @[ -f ./flex/Makefile ] || exit 0; \
8564 r=`${PWD_COMMAND}`; export r; \
8565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8566 $(HOST_EXPORTS) \
8567 for flag in $(EXTRA_HOST_FLAGS) ; do \
8568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8569 done; \
8570 echo "Doing mostlyclean in flex" ; \
8571 (cd $(HOST_SUBDIR)/flex && \
8572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8574 "RANLIB=$${RANLIB}" \
8575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8576 mostlyclean) \
8577 || exit 1
8579 @endif flex
8581 .PHONY: maybe-clean-flex clean-flex
8582 maybe-clean-flex:
8583 @if flex
8584 maybe-clean-flex: clean-flex
8586 clean-flex:
8587 @: $(MAKE); $(unstage)
8588 @[ -f ./flex/Makefile ] || exit 0; \
8589 r=`${PWD_COMMAND}`; export r; \
8590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8591 $(HOST_EXPORTS) \
8592 for flag in $(EXTRA_HOST_FLAGS) ; do \
8593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8594 done; \
8595 echo "Doing clean in flex" ; \
8596 (cd $(HOST_SUBDIR)/flex && \
8597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8599 "RANLIB=$${RANLIB}" \
8600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8601 clean) \
8602 || exit 1
8604 @endif flex
8606 .PHONY: maybe-distclean-flex distclean-flex
8607 maybe-distclean-flex:
8608 @if flex
8609 maybe-distclean-flex: distclean-flex
8611 distclean-flex:
8612 @: $(MAKE); $(unstage)
8613 @[ -f ./flex/Makefile ] || exit 0; \
8614 r=`${PWD_COMMAND}`; export r; \
8615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8616 $(HOST_EXPORTS) \
8617 for flag in $(EXTRA_HOST_FLAGS) ; do \
8618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8619 done; \
8620 echo "Doing distclean in flex" ; \
8621 (cd $(HOST_SUBDIR)/flex && \
8622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8624 "RANLIB=$${RANLIB}" \
8625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8626 distclean) \
8627 || exit 1
8629 @endif flex
8631 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
8632 maybe-maintainer-clean-flex:
8633 @if flex
8634 maybe-maintainer-clean-flex: maintainer-clean-flex
8636 maintainer-clean-flex:
8637 @: $(MAKE); $(unstage)
8638 @[ -f ./flex/Makefile ] || exit 0; \
8639 r=`${PWD_COMMAND}`; export r; \
8640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8641 $(HOST_EXPORTS) \
8642 for flag in $(EXTRA_HOST_FLAGS) ; do \
8643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8644 done; \
8645 echo "Doing maintainer-clean in flex" ; \
8646 (cd $(HOST_SUBDIR)/flex && \
8647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8649 "RANLIB=$${RANLIB}" \
8650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8651 maintainer-clean) \
8652 || exit 1
8654 @endif flex
8658 .PHONY: configure-gas maybe-configure-gas
8659 maybe-configure-gas:
8660 @if gcc-bootstrap
8661 configure-gas: stage_current
8662 @endif gcc-bootstrap
8663 @if gas
8664 maybe-configure-gas: configure-gas
8665 configure-gas:
8666 @r=`${PWD_COMMAND}`; export r; \
8667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8668 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8669 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8670 $(HOST_EXPORTS) \
8671 echo Configuring in $(HOST_SUBDIR)/gas; \
8672 cd "$(HOST_SUBDIR)/gas" || exit 1; \
8673 case $(srcdir) in \
8674 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8675 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8676 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8677 esac; \
8678 srcdiroption="--srcdir=$${topdir}/gas"; \
8679 libsrcdir="$$s/gas"; \
8680 $(SHELL) $${libsrcdir}/configure \
8681 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8682 --target=${target_alias} $${srcdiroption} \
8683 || exit 1
8684 @endif gas
8688 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
8689 maybe-configure-stage1-gas:
8690 @if gas-bootstrap
8691 maybe-configure-stage1-gas: configure-stage1-gas
8692 configure-stage1-gas:
8693 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8694 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8695 @r=`${PWD_COMMAND}`; export r; \
8696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8697 TFLAGS="$(STAGE1_TFLAGS)"; \
8698 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8699 $(HOST_EXPORTS) \
8700 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
8701 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
8702 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
8703 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
8704 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8705 cd $(HOST_SUBDIR)/gas || exit 1; \
8706 case $(srcdir) in \
8707 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8708 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8709 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8710 esac; \
8711 srcdiroption="--srcdir=$${topdir}/gas"; \
8712 libsrcdir="$$s/gas"; \
8713 $(SHELL) $${libsrcdir}/configure \
8714 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8715 --target=${target_alias} $${srcdiroption} \
8716 $(STAGE1_CONFIGURE_FLAGS)
8717 @endif gas-bootstrap
8719 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
8720 maybe-configure-stage2-gas:
8721 @if gas-bootstrap
8722 maybe-configure-stage2-gas: configure-stage2-gas
8723 configure-stage2-gas:
8724 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8725 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8726 @r=`${PWD_COMMAND}`; export r; \
8727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8728 TFLAGS="$(STAGE2_TFLAGS)"; \
8729 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8730 $(HOST_EXPORTS) \
8731 $(POSTSTAGE1_HOST_EXPORTS) \
8732 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
8733 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
8734 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
8735 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
8736 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8737 cd $(HOST_SUBDIR)/gas || exit 1; \
8738 case $(srcdir) in \
8739 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8740 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8741 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8742 esac; \
8743 srcdiroption="--srcdir=$${topdir}/gas"; \
8744 libsrcdir="$$s/gas"; \
8745 $(SHELL) $${libsrcdir}/configure \
8746 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8747 --target=${target_alias} $${srcdiroption} \
8748 --with-build-libsubdir=$(HOST_SUBDIR) \
8749 $(STAGE2_CONFIGURE_FLAGS)
8750 @endif gas-bootstrap
8752 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
8753 maybe-configure-stage3-gas:
8754 @if gas-bootstrap
8755 maybe-configure-stage3-gas: configure-stage3-gas
8756 configure-stage3-gas:
8757 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8758 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8759 @r=`${PWD_COMMAND}`; export r; \
8760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8761 TFLAGS="$(STAGE3_TFLAGS)"; \
8762 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8763 $(HOST_EXPORTS) \
8764 $(POSTSTAGE1_HOST_EXPORTS) \
8765 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
8766 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
8767 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
8768 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
8769 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8770 cd $(HOST_SUBDIR)/gas || exit 1; \
8771 case $(srcdir) in \
8772 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8773 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8774 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8775 esac; \
8776 srcdiroption="--srcdir=$${topdir}/gas"; \
8777 libsrcdir="$$s/gas"; \
8778 $(SHELL) $${libsrcdir}/configure \
8779 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8780 --target=${target_alias} $${srcdiroption} \
8781 --with-build-libsubdir=$(HOST_SUBDIR) \
8782 $(STAGE3_CONFIGURE_FLAGS)
8783 @endif gas-bootstrap
8785 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
8786 maybe-configure-stage4-gas:
8787 @if gas-bootstrap
8788 maybe-configure-stage4-gas: configure-stage4-gas
8789 configure-stage4-gas:
8790 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8791 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8792 @r=`${PWD_COMMAND}`; export r; \
8793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8794 TFLAGS="$(STAGE4_TFLAGS)"; \
8795 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8796 $(HOST_EXPORTS) \
8797 $(POSTSTAGE1_HOST_EXPORTS) \
8798 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
8799 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
8800 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
8801 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
8802 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8803 cd $(HOST_SUBDIR)/gas || exit 1; \
8804 case $(srcdir) in \
8805 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8806 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8807 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8808 esac; \
8809 srcdiroption="--srcdir=$${topdir}/gas"; \
8810 libsrcdir="$$s/gas"; \
8811 $(SHELL) $${libsrcdir}/configure \
8812 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8813 --target=${target_alias} $${srcdiroption} \
8814 --with-build-libsubdir=$(HOST_SUBDIR) \
8815 $(STAGE4_CONFIGURE_FLAGS)
8816 @endif gas-bootstrap
8818 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
8819 maybe-configure-stageprofile-gas:
8820 @if gas-bootstrap
8821 maybe-configure-stageprofile-gas: configure-stageprofile-gas
8822 configure-stageprofile-gas:
8823 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
8824 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8825 @r=`${PWD_COMMAND}`; export r; \
8826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8827 TFLAGS="$(STAGEprofile_TFLAGS)"; \
8828 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8829 $(HOST_EXPORTS) \
8830 $(POSTSTAGE1_HOST_EXPORTS) \
8831 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
8832 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
8833 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
8834 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
8835 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8836 cd $(HOST_SUBDIR)/gas || exit 1; \
8837 case $(srcdir) in \
8838 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8839 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8840 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8841 esac; \
8842 srcdiroption="--srcdir=$${topdir}/gas"; \
8843 libsrcdir="$$s/gas"; \
8844 $(SHELL) $${libsrcdir}/configure \
8845 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8846 --target=${target_alias} $${srcdiroption} \
8847 --with-build-libsubdir=$(HOST_SUBDIR) \
8848 $(STAGEprofile_CONFIGURE_FLAGS)
8849 @endif gas-bootstrap
8851 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
8852 maybe-configure-stagefeedback-gas:
8853 @if gas-bootstrap
8854 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
8855 configure-stagefeedback-gas:
8856 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
8857 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8858 @r=`${PWD_COMMAND}`; export r; \
8859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8860 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
8861 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8862 $(HOST_EXPORTS) \
8863 $(POSTSTAGE1_HOST_EXPORTS) \
8864 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
8865 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
8866 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
8867 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
8868 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8869 cd $(HOST_SUBDIR)/gas || exit 1; \
8870 case $(srcdir) in \
8871 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8872 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8873 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8874 esac; \
8875 srcdiroption="--srcdir=$${topdir}/gas"; \
8876 libsrcdir="$$s/gas"; \
8877 $(SHELL) $${libsrcdir}/configure \
8878 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8879 --target=${target_alias} $${srcdiroption} \
8880 --with-build-libsubdir=$(HOST_SUBDIR) \
8881 $(STAGEfeedback_CONFIGURE_FLAGS)
8882 @endif gas-bootstrap
8888 .PHONY: all-gas maybe-all-gas
8889 maybe-all-gas:
8890 @if gcc-bootstrap
8891 all-gas: stage_current
8892 @endif gcc-bootstrap
8893 @if gas
8894 TARGET-gas=all
8895 maybe-all-gas: all-gas
8896 all-gas: configure-gas
8897 @r=`${PWD_COMMAND}`; export r; \
8898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8899 $(HOST_EXPORTS) \
8900 (cd $(HOST_SUBDIR)/gas && \
8901 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8902 $(TARGET-gas))
8903 @endif gas
8907 .PHONY: all-stage1-gas maybe-all-stage1-gas
8908 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
8909 maybe-all-stage1-gas:
8910 maybe-clean-stage1-gas:
8911 @if gas-bootstrap
8912 maybe-all-stage1-gas: all-stage1-gas
8913 all-stage1: all-stage1-gas
8914 TARGET-stage1-gas = $(TARGET-gas)
8915 all-stage1-gas: configure-stage1-gas
8916 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8917 @r=`${PWD_COMMAND}`; export r; \
8918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8919 TFLAGS="$(STAGE1_TFLAGS)"; \
8920 $(HOST_EXPORTS) \
8921 cd $(HOST_SUBDIR)/gas && \
8922 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8923 CFLAGS="$(STAGE1_CFLAGS)" \
8924 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
8925 LIBCFLAGS="$(LIBCFLAGS)" \
8926 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8927 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8928 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8929 $(EXTRA_HOST_FLAGS) \
8930 $(STAGE1_FLAGS_TO_PASS) \
8931 TFLAGS="$(STAGE1_TFLAGS)" \
8932 $(TARGET-stage1-gas)
8934 maybe-clean-stage1-gas: clean-stage1-gas
8935 clean-stage1: clean-stage1-gas
8936 clean-stage1-gas:
8937 @if [ $(current_stage) = stage1 ]; then \
8938 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
8939 else \
8940 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
8941 $(MAKE) stage1-start; \
8942 fi; \
8943 cd $(HOST_SUBDIR)/gas && \
8944 $(MAKE) $(EXTRA_HOST_FLAGS) \
8945 $(STAGE1_FLAGS_TO_PASS) clean
8946 @endif gas-bootstrap
8949 .PHONY: all-stage2-gas maybe-all-stage2-gas
8950 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
8951 maybe-all-stage2-gas:
8952 maybe-clean-stage2-gas:
8953 @if gas-bootstrap
8954 maybe-all-stage2-gas: all-stage2-gas
8955 all-stage2: all-stage2-gas
8956 TARGET-stage2-gas = $(TARGET-gas)
8957 all-stage2-gas: configure-stage2-gas
8958 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8959 @r=`${PWD_COMMAND}`; export r; \
8960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8961 TFLAGS="$(STAGE2_TFLAGS)"; \
8962 $(HOST_EXPORTS) \
8963 $(POSTSTAGE1_HOST_EXPORTS) \
8964 cd $(HOST_SUBDIR)/gas && \
8965 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8966 CFLAGS="$(STAGE2_CFLAGS)" \
8967 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
8968 LIBCFLAGS="$(STAGE2_CFLAGS)" \
8969 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8970 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8971 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8972 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8973 TFLAGS="$(STAGE2_TFLAGS)" \
8974 $(TARGET-stage2-gas)
8976 maybe-clean-stage2-gas: clean-stage2-gas
8977 clean-stage2: clean-stage2-gas
8978 clean-stage2-gas:
8979 @if [ $(current_stage) = stage2 ]; then \
8980 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
8981 else \
8982 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
8983 $(MAKE) stage2-start; \
8984 fi; \
8985 cd $(HOST_SUBDIR)/gas && \
8986 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8987 @endif gas-bootstrap
8990 .PHONY: all-stage3-gas maybe-all-stage3-gas
8991 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
8992 maybe-all-stage3-gas:
8993 maybe-clean-stage3-gas:
8994 @if gas-bootstrap
8995 maybe-all-stage3-gas: all-stage3-gas
8996 all-stage3: all-stage3-gas
8997 TARGET-stage3-gas = $(TARGET-gas)
8998 all-stage3-gas: configure-stage3-gas
8999 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9000 @r=`${PWD_COMMAND}`; export r; \
9001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9002 TFLAGS="$(STAGE3_TFLAGS)"; \
9003 $(HOST_EXPORTS) \
9004 $(POSTSTAGE1_HOST_EXPORTS) \
9005 cd $(HOST_SUBDIR)/gas && \
9006 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9007 CFLAGS="$(STAGE3_CFLAGS)" \
9008 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
9009 LIBCFLAGS="$(STAGE3_CFLAGS)" \
9010 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9011 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9012 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9013 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9014 TFLAGS="$(STAGE3_TFLAGS)" \
9015 $(TARGET-stage3-gas)
9017 maybe-clean-stage3-gas: clean-stage3-gas
9018 clean-stage3: clean-stage3-gas
9019 clean-stage3-gas:
9020 @if [ $(current_stage) = stage3 ]; then \
9021 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9022 else \
9023 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
9024 $(MAKE) stage3-start; \
9025 fi; \
9026 cd $(HOST_SUBDIR)/gas && \
9027 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9028 @endif gas-bootstrap
9031 .PHONY: all-stage4-gas maybe-all-stage4-gas
9032 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
9033 maybe-all-stage4-gas:
9034 maybe-clean-stage4-gas:
9035 @if gas-bootstrap
9036 maybe-all-stage4-gas: all-stage4-gas
9037 all-stage4: all-stage4-gas
9038 TARGET-stage4-gas = $(TARGET-gas)
9039 all-stage4-gas: configure-stage4-gas
9040 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9041 @r=`${PWD_COMMAND}`; export r; \
9042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9043 TFLAGS="$(STAGE4_TFLAGS)"; \
9044 $(HOST_EXPORTS) \
9045 $(POSTSTAGE1_HOST_EXPORTS) \
9046 cd $(HOST_SUBDIR)/gas && \
9047 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9048 CFLAGS="$(STAGE4_CFLAGS)" \
9049 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9050 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9051 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9052 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9053 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9054 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9055 TFLAGS="$(STAGE4_TFLAGS)" \
9056 $(TARGET-stage4-gas)
9058 maybe-clean-stage4-gas: clean-stage4-gas
9059 clean-stage4: clean-stage4-gas
9060 clean-stage4-gas:
9061 @if [ $(current_stage) = stage4 ]; then \
9062 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9063 else \
9064 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
9065 $(MAKE) stage4-start; \
9066 fi; \
9067 cd $(HOST_SUBDIR)/gas && \
9068 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9069 @endif gas-bootstrap
9072 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
9073 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
9074 maybe-all-stageprofile-gas:
9075 maybe-clean-stageprofile-gas:
9076 @if gas-bootstrap
9077 maybe-all-stageprofile-gas: all-stageprofile-gas
9078 all-stageprofile: all-stageprofile-gas
9079 TARGET-stageprofile-gas = $(TARGET-gas)
9080 all-stageprofile-gas: configure-stageprofile-gas
9081 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9082 @r=`${PWD_COMMAND}`; export r; \
9083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9084 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9085 $(HOST_EXPORTS) \
9086 $(POSTSTAGE1_HOST_EXPORTS) \
9087 cd $(HOST_SUBDIR)/gas && \
9088 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9089 CFLAGS="$(STAGEprofile_CFLAGS)" \
9090 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9091 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9092 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9093 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9094 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9095 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9096 TFLAGS="$(STAGEprofile_TFLAGS)" \
9097 $(TARGET-stageprofile-gas)
9099 maybe-clean-stageprofile-gas: clean-stageprofile-gas
9100 clean-stageprofile: clean-stageprofile-gas
9101 clean-stageprofile-gas:
9102 @if [ $(current_stage) = stageprofile ]; then \
9103 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9104 else \
9105 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
9106 $(MAKE) stageprofile-start; \
9107 fi; \
9108 cd $(HOST_SUBDIR)/gas && \
9109 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9110 @endif gas-bootstrap
9113 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
9114 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
9115 maybe-all-stagefeedback-gas:
9116 maybe-clean-stagefeedback-gas:
9117 @if gas-bootstrap
9118 maybe-all-stagefeedback-gas: all-stagefeedback-gas
9119 all-stagefeedback: all-stagefeedback-gas
9120 TARGET-stagefeedback-gas = $(TARGET-gas)
9121 all-stagefeedback-gas: configure-stagefeedback-gas
9122 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9123 @r=`${PWD_COMMAND}`; export r; \
9124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9125 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9126 $(HOST_EXPORTS) \
9127 $(POSTSTAGE1_HOST_EXPORTS) \
9128 cd $(HOST_SUBDIR)/gas && \
9129 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9130 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9131 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9132 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9133 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9134 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9135 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9136 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9137 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9138 $(TARGET-stagefeedback-gas)
9140 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
9141 clean-stagefeedback: clean-stagefeedback-gas
9142 clean-stagefeedback-gas:
9143 @if [ $(current_stage) = stagefeedback ]; then \
9144 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9145 else \
9146 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
9147 $(MAKE) stagefeedback-start; \
9148 fi; \
9149 cd $(HOST_SUBDIR)/gas && \
9150 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9151 @endif gas-bootstrap
9157 .PHONY: check-gas maybe-check-gas
9158 maybe-check-gas:
9159 @if gas
9160 maybe-check-gas: check-gas
9162 check-gas:
9163 @: $(MAKE); $(unstage)
9164 @r=`${PWD_COMMAND}`; export r; \
9165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9166 $(HOST_EXPORTS) \
9167 (cd $(HOST_SUBDIR)/gas && \
9168 $(MAKE) $(FLAGS_TO_PASS) check)
9170 @endif gas
9172 .PHONY: install-gas maybe-install-gas
9173 maybe-install-gas:
9174 @if gas
9175 maybe-install-gas: install-gas
9177 install-gas: installdirs
9178 @: $(MAKE); $(unstage)
9179 @r=`${PWD_COMMAND}`; export r; \
9180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9181 $(HOST_EXPORTS) \
9182 (cd $(HOST_SUBDIR)/gas && \
9183 $(MAKE) $(FLAGS_TO_PASS) install)
9185 @endif gas
9187 .PHONY: install-strip-gas maybe-install-strip-gas
9188 maybe-install-strip-gas:
9189 @if gas
9190 maybe-install-strip-gas: install-strip-gas
9192 install-strip-gas: installdirs
9193 @: $(MAKE); $(unstage)
9194 @r=`${PWD_COMMAND}`; export r; \
9195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9196 $(HOST_EXPORTS) \
9197 (cd $(HOST_SUBDIR)/gas && \
9198 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9200 @endif gas
9202 # Other targets (info, dvi, pdf, etc.)
9204 .PHONY: maybe-info-gas info-gas
9205 maybe-info-gas:
9206 @if gas
9207 maybe-info-gas: info-gas
9209 info-gas: \
9210 configure-gas
9211 @[ -f ./gas/Makefile ] || exit 0; \
9212 r=`${PWD_COMMAND}`; export r; \
9213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9214 $(HOST_EXPORTS) \
9215 for flag in $(EXTRA_HOST_FLAGS) ; do \
9216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9217 done; \
9218 echo "Doing info in gas" ; \
9219 (cd $(HOST_SUBDIR)/gas && \
9220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9222 "RANLIB=$${RANLIB}" \
9223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9224 info) \
9225 || exit 1
9227 @endif gas
9229 .PHONY: maybe-dvi-gas dvi-gas
9230 maybe-dvi-gas:
9231 @if gas
9232 maybe-dvi-gas: dvi-gas
9234 dvi-gas: \
9235 configure-gas
9236 @[ -f ./gas/Makefile ] || exit 0; \
9237 r=`${PWD_COMMAND}`; export r; \
9238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9239 $(HOST_EXPORTS) \
9240 for flag in $(EXTRA_HOST_FLAGS) ; do \
9241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9242 done; \
9243 echo "Doing dvi in gas" ; \
9244 (cd $(HOST_SUBDIR)/gas && \
9245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9247 "RANLIB=$${RANLIB}" \
9248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9249 dvi) \
9250 || exit 1
9252 @endif gas
9254 .PHONY: maybe-pdf-gas pdf-gas
9255 maybe-pdf-gas:
9256 @if gas
9257 maybe-pdf-gas: pdf-gas
9259 pdf-gas: \
9260 configure-gas
9261 @[ -f ./gas/Makefile ] || exit 0; \
9262 r=`${PWD_COMMAND}`; export r; \
9263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9264 $(HOST_EXPORTS) \
9265 for flag in $(EXTRA_HOST_FLAGS) ; do \
9266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9267 done; \
9268 echo "Doing pdf in gas" ; \
9269 (cd $(HOST_SUBDIR)/gas && \
9270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9272 "RANLIB=$${RANLIB}" \
9273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9274 pdf) \
9275 || exit 1
9277 @endif gas
9279 .PHONY: maybe-html-gas html-gas
9280 maybe-html-gas:
9281 @if gas
9282 maybe-html-gas: html-gas
9284 html-gas: \
9285 configure-gas
9286 @[ -f ./gas/Makefile ] || exit 0; \
9287 r=`${PWD_COMMAND}`; export r; \
9288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9289 $(HOST_EXPORTS) \
9290 for flag in $(EXTRA_HOST_FLAGS) ; do \
9291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9292 done; \
9293 echo "Doing html in gas" ; \
9294 (cd $(HOST_SUBDIR)/gas && \
9295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9297 "RANLIB=$${RANLIB}" \
9298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9299 html) \
9300 || exit 1
9302 @endif gas
9304 .PHONY: maybe-TAGS-gas TAGS-gas
9305 maybe-TAGS-gas:
9306 @if gas
9307 maybe-TAGS-gas: TAGS-gas
9309 TAGS-gas: \
9310 configure-gas
9311 @[ -f ./gas/Makefile ] || exit 0; \
9312 r=`${PWD_COMMAND}`; export r; \
9313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9314 $(HOST_EXPORTS) \
9315 for flag in $(EXTRA_HOST_FLAGS) ; do \
9316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9317 done; \
9318 echo "Doing TAGS in gas" ; \
9319 (cd $(HOST_SUBDIR)/gas && \
9320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9322 "RANLIB=$${RANLIB}" \
9323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9324 TAGS) \
9325 || exit 1
9327 @endif gas
9329 .PHONY: maybe-install-info-gas install-info-gas
9330 maybe-install-info-gas:
9331 @if gas
9332 maybe-install-info-gas: install-info-gas
9334 install-info-gas: \
9335 configure-gas \
9336 info-gas
9337 @[ -f ./gas/Makefile ] || exit 0; \
9338 r=`${PWD_COMMAND}`; export r; \
9339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9340 $(HOST_EXPORTS) \
9341 for flag in $(EXTRA_HOST_FLAGS) ; do \
9342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9343 done; \
9344 echo "Doing install-info in gas" ; \
9345 (cd $(HOST_SUBDIR)/gas && \
9346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9348 "RANLIB=$${RANLIB}" \
9349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9350 install-info) \
9351 || exit 1
9353 @endif gas
9355 .PHONY: maybe-install-pdf-gas install-pdf-gas
9356 maybe-install-pdf-gas:
9357 @if gas
9358 maybe-install-pdf-gas: install-pdf-gas
9360 install-pdf-gas: \
9361 configure-gas \
9362 pdf-gas
9363 @[ -f ./gas/Makefile ] || exit 0; \
9364 r=`${PWD_COMMAND}`; export r; \
9365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9366 $(HOST_EXPORTS) \
9367 for flag in $(EXTRA_HOST_FLAGS) ; do \
9368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9369 done; \
9370 echo "Doing install-pdf in gas" ; \
9371 (cd $(HOST_SUBDIR)/gas && \
9372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9374 "RANLIB=$${RANLIB}" \
9375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9376 install-pdf) \
9377 || exit 1
9379 @endif gas
9381 .PHONY: maybe-install-html-gas install-html-gas
9382 maybe-install-html-gas:
9383 @if gas
9384 maybe-install-html-gas: install-html-gas
9386 install-html-gas: \
9387 configure-gas \
9388 html-gas
9389 @[ -f ./gas/Makefile ] || exit 0; \
9390 r=`${PWD_COMMAND}`; export r; \
9391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9392 $(HOST_EXPORTS) \
9393 for flag in $(EXTRA_HOST_FLAGS) ; do \
9394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9395 done; \
9396 echo "Doing install-html in gas" ; \
9397 (cd $(HOST_SUBDIR)/gas && \
9398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9400 "RANLIB=$${RANLIB}" \
9401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9402 install-html) \
9403 || exit 1
9405 @endif gas
9407 .PHONY: maybe-installcheck-gas installcheck-gas
9408 maybe-installcheck-gas:
9409 @if gas
9410 maybe-installcheck-gas: installcheck-gas
9412 installcheck-gas: \
9413 configure-gas
9414 @[ -f ./gas/Makefile ] || exit 0; \
9415 r=`${PWD_COMMAND}`; export r; \
9416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9417 $(HOST_EXPORTS) \
9418 for flag in $(EXTRA_HOST_FLAGS) ; do \
9419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9420 done; \
9421 echo "Doing installcheck in gas" ; \
9422 (cd $(HOST_SUBDIR)/gas && \
9423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9425 "RANLIB=$${RANLIB}" \
9426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9427 installcheck) \
9428 || exit 1
9430 @endif gas
9432 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
9433 maybe-mostlyclean-gas:
9434 @if gas
9435 maybe-mostlyclean-gas: mostlyclean-gas
9437 mostlyclean-gas:
9438 @[ -f ./gas/Makefile ] || exit 0; \
9439 r=`${PWD_COMMAND}`; export r; \
9440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9441 $(HOST_EXPORTS) \
9442 for flag in $(EXTRA_HOST_FLAGS) ; do \
9443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9444 done; \
9445 echo "Doing mostlyclean in gas" ; \
9446 (cd $(HOST_SUBDIR)/gas && \
9447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9449 "RANLIB=$${RANLIB}" \
9450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9451 mostlyclean) \
9452 || exit 1
9454 @endif gas
9456 .PHONY: maybe-clean-gas clean-gas
9457 maybe-clean-gas:
9458 @if gas
9459 maybe-clean-gas: clean-gas
9461 clean-gas:
9462 @[ -f ./gas/Makefile ] || exit 0; \
9463 r=`${PWD_COMMAND}`; export r; \
9464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9465 $(HOST_EXPORTS) \
9466 for flag in $(EXTRA_HOST_FLAGS) ; do \
9467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9468 done; \
9469 echo "Doing clean in gas" ; \
9470 (cd $(HOST_SUBDIR)/gas && \
9471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9473 "RANLIB=$${RANLIB}" \
9474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9475 clean) \
9476 || exit 1
9478 @endif gas
9480 .PHONY: maybe-distclean-gas distclean-gas
9481 maybe-distclean-gas:
9482 @if gas
9483 maybe-distclean-gas: distclean-gas
9485 distclean-gas:
9486 @[ -f ./gas/Makefile ] || exit 0; \
9487 r=`${PWD_COMMAND}`; export r; \
9488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9489 $(HOST_EXPORTS) \
9490 for flag in $(EXTRA_HOST_FLAGS) ; do \
9491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9492 done; \
9493 echo "Doing distclean in gas" ; \
9494 (cd $(HOST_SUBDIR)/gas && \
9495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9497 "RANLIB=$${RANLIB}" \
9498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9499 distclean) \
9500 || exit 1
9502 @endif gas
9504 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
9505 maybe-maintainer-clean-gas:
9506 @if gas
9507 maybe-maintainer-clean-gas: maintainer-clean-gas
9509 maintainer-clean-gas:
9510 @[ -f ./gas/Makefile ] || exit 0; \
9511 r=`${PWD_COMMAND}`; export r; \
9512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9513 $(HOST_EXPORTS) \
9514 for flag in $(EXTRA_HOST_FLAGS) ; do \
9515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9516 done; \
9517 echo "Doing maintainer-clean in gas" ; \
9518 (cd $(HOST_SUBDIR)/gas && \
9519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9521 "RANLIB=$${RANLIB}" \
9522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9523 maintainer-clean) \
9524 || exit 1
9526 @endif gas
9530 .PHONY: configure-gcc maybe-configure-gcc
9531 maybe-configure-gcc:
9532 @if gcc-bootstrap
9533 configure-gcc: stage_current
9534 @endif gcc-bootstrap
9535 @if gcc
9536 maybe-configure-gcc: configure-gcc
9537 configure-gcc:
9538 @r=`${PWD_COMMAND}`; export r; \
9539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9540 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9541 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9542 $(HOST_EXPORTS) \
9543 echo Configuring in $(HOST_SUBDIR)/gcc; \
9544 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
9545 case $(srcdir) in \
9546 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9547 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9548 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9549 esac; \
9550 srcdiroption="--srcdir=$${topdir}/gcc"; \
9551 libsrcdir="$$s/gcc"; \
9552 $(SHELL) $${libsrcdir}/configure \
9553 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9554 --target=${target_alias} $${srcdiroption} \
9555 || exit 1
9556 @endif gcc
9560 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
9561 maybe-configure-stage1-gcc:
9562 @if gcc-bootstrap
9563 maybe-configure-stage1-gcc: configure-stage1-gcc
9564 configure-stage1-gcc:
9565 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9566 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9567 @r=`${PWD_COMMAND}`; export r; \
9568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9569 TFLAGS="$(STAGE1_TFLAGS)"; \
9570 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9571 $(HOST_EXPORTS) \
9572 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
9573 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
9574 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
9575 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
9576 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9577 cd $(HOST_SUBDIR)/gcc || exit 1; \
9578 case $(srcdir) in \
9579 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9580 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9581 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9582 esac; \
9583 srcdiroption="--srcdir=$${topdir}/gcc"; \
9584 libsrcdir="$$s/gcc"; \
9585 $(SHELL) $${libsrcdir}/configure \
9586 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9587 --target=${target_alias} $${srcdiroption} \
9588 $(STAGE1_CONFIGURE_FLAGS)
9589 @endif gcc-bootstrap
9591 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
9592 maybe-configure-stage2-gcc:
9593 @if gcc-bootstrap
9594 maybe-configure-stage2-gcc: configure-stage2-gcc
9595 configure-stage2-gcc:
9596 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9597 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9598 @r=`${PWD_COMMAND}`; export r; \
9599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9600 TFLAGS="$(STAGE2_TFLAGS)"; \
9601 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9602 $(HOST_EXPORTS) \
9603 $(POSTSTAGE1_HOST_EXPORTS) \
9604 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
9605 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
9606 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
9607 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
9608 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9609 cd $(HOST_SUBDIR)/gcc || exit 1; \
9610 case $(srcdir) in \
9611 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9612 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9613 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9614 esac; \
9615 srcdiroption="--srcdir=$${topdir}/gcc"; \
9616 libsrcdir="$$s/gcc"; \
9617 $(SHELL) $${libsrcdir}/configure \
9618 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9619 --target=${target_alias} $${srcdiroption} \
9620 --with-build-libsubdir=$(HOST_SUBDIR) \
9621 $(STAGE2_CONFIGURE_FLAGS)
9622 @endif gcc-bootstrap
9624 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
9625 maybe-configure-stage3-gcc:
9626 @if gcc-bootstrap
9627 maybe-configure-stage3-gcc: configure-stage3-gcc
9628 configure-stage3-gcc:
9629 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9630 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9631 @r=`${PWD_COMMAND}`; export r; \
9632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9633 TFLAGS="$(STAGE3_TFLAGS)"; \
9634 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9635 $(HOST_EXPORTS) \
9636 $(POSTSTAGE1_HOST_EXPORTS) \
9637 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
9638 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
9639 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
9640 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
9641 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9642 cd $(HOST_SUBDIR)/gcc || exit 1; \
9643 case $(srcdir) in \
9644 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9645 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9646 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9647 esac; \
9648 srcdiroption="--srcdir=$${topdir}/gcc"; \
9649 libsrcdir="$$s/gcc"; \
9650 $(SHELL) $${libsrcdir}/configure \
9651 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9652 --target=${target_alias} $${srcdiroption} \
9653 --with-build-libsubdir=$(HOST_SUBDIR) \
9654 $(STAGE3_CONFIGURE_FLAGS)
9655 @endif gcc-bootstrap
9657 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
9658 maybe-configure-stage4-gcc:
9659 @if gcc-bootstrap
9660 maybe-configure-stage4-gcc: configure-stage4-gcc
9661 configure-stage4-gcc:
9662 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9663 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9664 @r=`${PWD_COMMAND}`; export r; \
9665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9666 TFLAGS="$(STAGE4_TFLAGS)"; \
9667 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9668 $(HOST_EXPORTS) \
9669 $(POSTSTAGE1_HOST_EXPORTS) \
9670 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
9671 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
9672 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
9673 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
9674 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9675 cd $(HOST_SUBDIR)/gcc || exit 1; \
9676 case $(srcdir) in \
9677 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9678 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9679 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9680 esac; \
9681 srcdiroption="--srcdir=$${topdir}/gcc"; \
9682 libsrcdir="$$s/gcc"; \
9683 $(SHELL) $${libsrcdir}/configure \
9684 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9685 --target=${target_alias} $${srcdiroption} \
9686 --with-build-libsubdir=$(HOST_SUBDIR) \
9687 $(STAGE4_CONFIGURE_FLAGS)
9688 @endif gcc-bootstrap
9690 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
9691 maybe-configure-stageprofile-gcc:
9692 @if gcc-bootstrap
9693 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
9694 configure-stageprofile-gcc:
9695 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9696 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9697 @r=`${PWD_COMMAND}`; export r; \
9698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9699 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9700 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9701 $(HOST_EXPORTS) \
9702 $(POSTSTAGE1_HOST_EXPORTS) \
9703 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
9704 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
9705 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
9706 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
9707 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9708 cd $(HOST_SUBDIR)/gcc || exit 1; \
9709 case $(srcdir) in \
9710 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9711 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9712 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9713 esac; \
9714 srcdiroption="--srcdir=$${topdir}/gcc"; \
9715 libsrcdir="$$s/gcc"; \
9716 $(SHELL) $${libsrcdir}/configure \
9717 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9718 --target=${target_alias} $${srcdiroption} \
9719 --with-build-libsubdir=$(HOST_SUBDIR) \
9720 $(STAGEprofile_CONFIGURE_FLAGS)
9721 @endif gcc-bootstrap
9723 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
9724 maybe-configure-stagefeedback-gcc:
9725 @if gcc-bootstrap
9726 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
9727 configure-stagefeedback-gcc:
9728 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9729 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9730 @r=`${PWD_COMMAND}`; export r; \
9731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9732 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9733 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9734 $(HOST_EXPORTS) \
9735 $(POSTSTAGE1_HOST_EXPORTS) \
9736 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
9737 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
9738 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
9739 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
9740 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9741 cd $(HOST_SUBDIR)/gcc || exit 1; \
9742 case $(srcdir) in \
9743 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9744 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9745 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9746 esac; \
9747 srcdiroption="--srcdir=$${topdir}/gcc"; \
9748 libsrcdir="$$s/gcc"; \
9749 $(SHELL) $${libsrcdir}/configure \
9750 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9751 --target=${target_alias} $${srcdiroption} \
9752 --with-build-libsubdir=$(HOST_SUBDIR) \
9753 $(STAGEfeedback_CONFIGURE_FLAGS)
9754 @endif gcc-bootstrap
9760 .PHONY: all-gcc maybe-all-gcc
9761 maybe-all-gcc:
9762 @if gcc-bootstrap
9763 all-gcc: stage_current
9764 @endif gcc-bootstrap
9765 @if gcc
9766 TARGET-gcc=all
9767 maybe-all-gcc: all-gcc
9768 all-gcc: configure-gcc
9769 @r=`${PWD_COMMAND}`; export r; \
9770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9771 $(HOST_EXPORTS) \
9772 (cd $(HOST_SUBDIR)/gcc && \
9773 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9774 $(TARGET-gcc))
9775 @endif gcc
9779 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
9780 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
9781 maybe-all-stage1-gcc:
9782 maybe-clean-stage1-gcc:
9783 @if gcc-bootstrap
9784 maybe-all-stage1-gcc: all-stage1-gcc
9785 all-stage1: all-stage1-gcc
9786 TARGET-stage1-gcc = $(TARGET-gcc)
9787 all-stage1-gcc: configure-stage1-gcc
9788 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9789 @r=`${PWD_COMMAND}`; export r; \
9790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9791 TFLAGS="$(STAGE1_TFLAGS)"; \
9792 $(HOST_EXPORTS) \
9793 cd $(HOST_SUBDIR)/gcc && \
9794 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9795 CFLAGS="$(STAGE1_CFLAGS)" \
9796 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
9797 LIBCFLAGS="$(LIBCFLAGS)" \
9798 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9799 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9800 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9801 $(EXTRA_HOST_FLAGS) \
9802 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9803 TFLAGS="$(STAGE1_TFLAGS)" \
9804 $(TARGET-stage1-gcc)
9806 maybe-clean-stage1-gcc: clean-stage1-gcc
9807 clean-stage1: clean-stage1-gcc
9808 clean-stage1-gcc:
9809 @if [ $(current_stage) = stage1 ]; then \
9810 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9811 else \
9812 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
9813 $(MAKE) stage1-start; \
9814 fi; \
9815 cd $(HOST_SUBDIR)/gcc && \
9816 $(MAKE) $(EXTRA_HOST_FLAGS) \
9817 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
9818 @endif gcc-bootstrap
9821 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
9822 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
9823 maybe-all-stage2-gcc:
9824 maybe-clean-stage2-gcc:
9825 @if gcc-bootstrap
9826 maybe-all-stage2-gcc: all-stage2-gcc
9827 all-stage2: all-stage2-gcc
9828 TARGET-stage2-gcc = $(TARGET-gcc)
9829 all-stage2-gcc: configure-stage2-gcc
9830 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9831 @r=`${PWD_COMMAND}`; export r; \
9832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9833 TFLAGS="$(STAGE2_TFLAGS)"; \
9834 $(HOST_EXPORTS) \
9835 $(POSTSTAGE1_HOST_EXPORTS) \
9836 cd $(HOST_SUBDIR)/gcc && \
9837 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9838 CFLAGS="$(STAGE2_CFLAGS)" \
9839 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
9840 LIBCFLAGS="$(STAGE2_CFLAGS)" \
9841 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9842 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9843 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9844 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9845 TFLAGS="$(STAGE2_TFLAGS)" \
9846 $(TARGET-stage2-gcc)
9848 maybe-clean-stage2-gcc: clean-stage2-gcc
9849 clean-stage2: clean-stage2-gcc
9850 clean-stage2-gcc:
9851 @if [ $(current_stage) = stage2 ]; then \
9852 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9853 else \
9854 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
9855 $(MAKE) stage2-start; \
9856 fi; \
9857 cd $(HOST_SUBDIR)/gcc && \
9858 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
9859 @endif gcc-bootstrap
9862 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
9863 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
9864 maybe-all-stage3-gcc:
9865 maybe-clean-stage3-gcc:
9866 @if gcc-bootstrap
9867 maybe-all-stage3-gcc: all-stage3-gcc
9868 all-stage3: all-stage3-gcc
9869 TARGET-stage3-gcc = $(TARGET-gcc)
9870 all-stage3-gcc: configure-stage3-gcc
9871 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9872 @r=`${PWD_COMMAND}`; export r; \
9873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9874 TFLAGS="$(STAGE3_TFLAGS)"; \
9875 $(HOST_EXPORTS) \
9876 $(POSTSTAGE1_HOST_EXPORTS) \
9877 cd $(HOST_SUBDIR)/gcc && \
9878 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9879 CFLAGS="$(STAGE3_CFLAGS)" \
9880 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
9881 LIBCFLAGS="$(STAGE3_CFLAGS)" \
9882 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9883 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9884 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9885 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9886 TFLAGS="$(STAGE3_TFLAGS)" \
9887 $(TARGET-stage3-gcc)
9889 maybe-clean-stage3-gcc: clean-stage3-gcc
9890 clean-stage3: clean-stage3-gcc
9891 clean-stage3-gcc:
9892 @if [ $(current_stage) = stage3 ]; then \
9893 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9894 else \
9895 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
9896 $(MAKE) stage3-start; \
9897 fi; \
9898 cd $(HOST_SUBDIR)/gcc && \
9899 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
9900 @endif gcc-bootstrap
9903 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
9904 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
9905 maybe-all-stage4-gcc:
9906 maybe-clean-stage4-gcc:
9907 @if gcc-bootstrap
9908 maybe-all-stage4-gcc: all-stage4-gcc
9909 all-stage4: all-stage4-gcc
9910 TARGET-stage4-gcc = $(TARGET-gcc)
9911 all-stage4-gcc: configure-stage4-gcc
9912 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9913 @r=`${PWD_COMMAND}`; export r; \
9914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9915 TFLAGS="$(STAGE4_TFLAGS)"; \
9916 $(HOST_EXPORTS) \
9917 $(POSTSTAGE1_HOST_EXPORTS) \
9918 cd $(HOST_SUBDIR)/gcc && \
9919 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9920 CFLAGS="$(STAGE4_CFLAGS)" \
9921 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9922 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9923 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9924 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9925 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9926 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9927 TFLAGS="$(STAGE4_TFLAGS)" \
9928 $(TARGET-stage4-gcc)
9930 maybe-clean-stage4-gcc: clean-stage4-gcc
9931 clean-stage4: clean-stage4-gcc
9932 clean-stage4-gcc:
9933 @if [ $(current_stage) = stage4 ]; then \
9934 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9935 else \
9936 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
9937 $(MAKE) stage4-start; \
9938 fi; \
9939 cd $(HOST_SUBDIR)/gcc && \
9940 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
9941 @endif gcc-bootstrap
9944 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
9945 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
9946 maybe-all-stageprofile-gcc:
9947 maybe-clean-stageprofile-gcc:
9948 @if gcc-bootstrap
9949 maybe-all-stageprofile-gcc: all-stageprofile-gcc
9950 all-stageprofile: all-stageprofile-gcc
9951 TARGET-stageprofile-gcc = $(TARGET-gcc)
9952 all-stageprofile-gcc: configure-stageprofile-gcc
9953 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9954 @r=`${PWD_COMMAND}`; export r; \
9955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9956 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9957 $(HOST_EXPORTS) \
9958 $(POSTSTAGE1_HOST_EXPORTS) \
9959 cd $(HOST_SUBDIR)/gcc && \
9960 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9961 CFLAGS="$(STAGEprofile_CFLAGS)" \
9962 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9963 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9964 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9965 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9966 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9967 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9968 TFLAGS="$(STAGEprofile_TFLAGS)" \
9969 $(TARGET-stageprofile-gcc)
9971 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
9972 clean-stageprofile: clean-stageprofile-gcc
9973 clean-stageprofile-gcc:
9974 @if [ $(current_stage) = stageprofile ]; then \
9975 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9976 else \
9977 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
9978 $(MAKE) stageprofile-start; \
9979 fi; \
9980 cd $(HOST_SUBDIR)/gcc && \
9981 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
9982 @endif gcc-bootstrap
9985 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
9986 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
9987 maybe-all-stagefeedback-gcc:
9988 maybe-clean-stagefeedback-gcc:
9989 @if gcc-bootstrap
9990 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
9991 all-stagefeedback: all-stagefeedback-gcc
9992 TARGET-stagefeedback-gcc = $(TARGET-gcc)
9993 all-stagefeedback-gcc: configure-stagefeedback-gcc
9994 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9995 @r=`${PWD_COMMAND}`; export r; \
9996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9997 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9998 $(HOST_EXPORTS) \
9999 $(POSTSTAGE1_HOST_EXPORTS) \
10000 cd $(HOST_SUBDIR)/gcc && \
10001 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10002 CFLAGS="$(STAGEfeedback_CFLAGS)" \
10003 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
10004 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
10005 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10006 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10007 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10008 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10009 TFLAGS="$(STAGEfeedback_TFLAGS)" \
10010 $(TARGET-stagefeedback-gcc)
10012 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
10013 clean-stagefeedback: clean-stagefeedback-gcc
10014 clean-stagefeedback-gcc:
10015 @if [ $(current_stage) = stagefeedback ]; then \
10016 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10017 else \
10018 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
10019 $(MAKE) stagefeedback-start; \
10020 fi; \
10021 cd $(HOST_SUBDIR)/gcc && \
10022 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10023 @endif gcc-bootstrap
10029 .PHONY: check-gcc maybe-check-gcc
10030 maybe-check-gcc:
10031 @if gcc
10032 maybe-check-gcc: check-gcc
10034 check-gcc:
10035 @: $(MAKE); $(unstage)
10036 @r=`${PWD_COMMAND}`; export r; \
10037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10038 $(HOST_EXPORTS) \
10039 (cd $(HOST_SUBDIR)/gcc && \
10040 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
10042 @endif gcc
10044 .PHONY: install-gcc maybe-install-gcc
10045 maybe-install-gcc:
10046 @if gcc
10047 maybe-install-gcc: install-gcc
10049 install-gcc: installdirs
10050 @: $(MAKE); $(unstage)
10051 @r=`${PWD_COMMAND}`; export r; \
10052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10053 $(HOST_EXPORTS) \
10054 (cd $(HOST_SUBDIR)/gcc && \
10055 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
10057 @endif gcc
10059 .PHONY: install-strip-gcc maybe-install-strip-gcc
10060 maybe-install-strip-gcc:
10061 @if gcc
10062 maybe-install-strip-gcc: install-strip-gcc
10064 install-strip-gcc: installdirs
10065 @: $(MAKE); $(unstage)
10066 @r=`${PWD_COMMAND}`; export r; \
10067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10068 $(HOST_EXPORTS) \
10069 (cd $(HOST_SUBDIR)/gcc && \
10070 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install-strip)
10072 @endif gcc
10074 # Other targets (info, dvi, pdf, etc.)
10076 .PHONY: maybe-info-gcc info-gcc
10077 maybe-info-gcc:
10078 @if gcc
10079 maybe-info-gcc: info-gcc
10081 info-gcc: \
10082 configure-gcc
10083 @[ -f ./gcc/Makefile ] || exit 0; \
10084 r=`${PWD_COMMAND}`; export r; \
10085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10086 $(HOST_EXPORTS) \
10087 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10089 done; \
10090 echo "Doing info in gcc" ; \
10091 (cd $(HOST_SUBDIR)/gcc && \
10092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10094 "RANLIB=$${RANLIB}" \
10095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10096 info) \
10097 || exit 1
10099 @endif gcc
10101 .PHONY: maybe-dvi-gcc dvi-gcc
10102 maybe-dvi-gcc:
10103 @if gcc
10104 maybe-dvi-gcc: dvi-gcc
10106 dvi-gcc: \
10107 configure-gcc
10108 @[ -f ./gcc/Makefile ] || exit 0; \
10109 r=`${PWD_COMMAND}`; export r; \
10110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10111 $(HOST_EXPORTS) \
10112 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10114 done; \
10115 echo "Doing dvi in gcc" ; \
10116 (cd $(HOST_SUBDIR)/gcc && \
10117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10119 "RANLIB=$${RANLIB}" \
10120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10121 dvi) \
10122 || exit 1
10124 @endif gcc
10126 .PHONY: maybe-pdf-gcc pdf-gcc
10127 maybe-pdf-gcc:
10128 @if gcc
10129 maybe-pdf-gcc: pdf-gcc
10131 pdf-gcc: \
10132 configure-gcc
10133 @[ -f ./gcc/Makefile ] || exit 0; \
10134 r=`${PWD_COMMAND}`; export r; \
10135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10136 $(HOST_EXPORTS) \
10137 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10139 done; \
10140 echo "Doing pdf in gcc" ; \
10141 (cd $(HOST_SUBDIR)/gcc && \
10142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10144 "RANLIB=$${RANLIB}" \
10145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10146 pdf) \
10147 || exit 1
10149 @endif gcc
10151 .PHONY: maybe-html-gcc html-gcc
10152 maybe-html-gcc:
10153 @if gcc
10154 maybe-html-gcc: html-gcc
10156 html-gcc: \
10157 configure-gcc
10158 @[ -f ./gcc/Makefile ] || exit 0; \
10159 r=`${PWD_COMMAND}`; export r; \
10160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10161 $(HOST_EXPORTS) \
10162 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10164 done; \
10165 echo "Doing html in gcc" ; \
10166 (cd $(HOST_SUBDIR)/gcc && \
10167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10169 "RANLIB=$${RANLIB}" \
10170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10171 html) \
10172 || exit 1
10174 @endif gcc
10176 .PHONY: maybe-TAGS-gcc TAGS-gcc
10177 maybe-TAGS-gcc:
10178 @if gcc
10179 maybe-TAGS-gcc: TAGS-gcc
10181 TAGS-gcc: \
10182 configure-gcc
10183 @[ -f ./gcc/Makefile ] || exit 0; \
10184 r=`${PWD_COMMAND}`; export r; \
10185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10186 $(HOST_EXPORTS) \
10187 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10189 done; \
10190 echo "Doing TAGS in gcc" ; \
10191 (cd $(HOST_SUBDIR)/gcc && \
10192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10194 "RANLIB=$${RANLIB}" \
10195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10196 TAGS) \
10197 || exit 1
10199 @endif gcc
10201 .PHONY: maybe-install-info-gcc install-info-gcc
10202 maybe-install-info-gcc:
10203 @if gcc
10204 maybe-install-info-gcc: install-info-gcc
10206 install-info-gcc: \
10207 configure-gcc \
10208 info-gcc
10209 @[ -f ./gcc/Makefile ] || exit 0; \
10210 r=`${PWD_COMMAND}`; export r; \
10211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10212 $(HOST_EXPORTS) \
10213 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10215 done; \
10216 echo "Doing install-info in gcc" ; \
10217 (cd $(HOST_SUBDIR)/gcc && \
10218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10220 "RANLIB=$${RANLIB}" \
10221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10222 install-info) \
10223 || exit 1
10225 @endif gcc
10227 .PHONY: maybe-install-pdf-gcc install-pdf-gcc
10228 maybe-install-pdf-gcc:
10229 @if gcc
10230 maybe-install-pdf-gcc: install-pdf-gcc
10232 install-pdf-gcc: \
10233 configure-gcc \
10234 pdf-gcc
10235 @[ -f ./gcc/Makefile ] || exit 0; \
10236 r=`${PWD_COMMAND}`; export r; \
10237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10238 $(HOST_EXPORTS) \
10239 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10241 done; \
10242 echo "Doing install-pdf in gcc" ; \
10243 (cd $(HOST_SUBDIR)/gcc && \
10244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10246 "RANLIB=$${RANLIB}" \
10247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10248 install-pdf) \
10249 || exit 1
10251 @endif gcc
10253 .PHONY: maybe-install-html-gcc install-html-gcc
10254 maybe-install-html-gcc:
10255 @if gcc
10256 maybe-install-html-gcc: install-html-gcc
10258 install-html-gcc: \
10259 configure-gcc \
10260 html-gcc
10261 @[ -f ./gcc/Makefile ] || exit 0; \
10262 r=`${PWD_COMMAND}`; export r; \
10263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10264 $(HOST_EXPORTS) \
10265 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10267 done; \
10268 echo "Doing install-html in gcc" ; \
10269 (cd $(HOST_SUBDIR)/gcc && \
10270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10272 "RANLIB=$${RANLIB}" \
10273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10274 install-html) \
10275 || exit 1
10277 @endif gcc
10279 .PHONY: maybe-installcheck-gcc installcheck-gcc
10280 maybe-installcheck-gcc:
10281 @if gcc
10282 maybe-installcheck-gcc: installcheck-gcc
10284 installcheck-gcc: \
10285 configure-gcc
10286 @[ -f ./gcc/Makefile ] || exit 0; \
10287 r=`${PWD_COMMAND}`; export r; \
10288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10289 $(HOST_EXPORTS) \
10290 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10292 done; \
10293 echo "Doing installcheck in gcc" ; \
10294 (cd $(HOST_SUBDIR)/gcc && \
10295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10297 "RANLIB=$${RANLIB}" \
10298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10299 installcheck) \
10300 || exit 1
10302 @endif gcc
10304 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
10305 maybe-mostlyclean-gcc:
10306 @if gcc
10307 maybe-mostlyclean-gcc: mostlyclean-gcc
10309 mostlyclean-gcc:
10310 @[ -f ./gcc/Makefile ] || exit 0; \
10311 r=`${PWD_COMMAND}`; export r; \
10312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10313 $(HOST_EXPORTS) \
10314 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10316 done; \
10317 echo "Doing mostlyclean in gcc" ; \
10318 (cd $(HOST_SUBDIR)/gcc && \
10319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10321 "RANLIB=$${RANLIB}" \
10322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10323 mostlyclean) \
10324 || exit 1
10326 @endif gcc
10328 .PHONY: maybe-clean-gcc clean-gcc
10329 maybe-clean-gcc:
10330 @if gcc
10331 maybe-clean-gcc: clean-gcc
10333 clean-gcc:
10334 @[ -f ./gcc/Makefile ] || exit 0; \
10335 r=`${PWD_COMMAND}`; export r; \
10336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10337 $(HOST_EXPORTS) \
10338 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10340 done; \
10341 echo "Doing clean in gcc" ; \
10342 (cd $(HOST_SUBDIR)/gcc && \
10343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10345 "RANLIB=$${RANLIB}" \
10346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10347 clean) \
10348 || exit 1
10350 @endif gcc
10352 .PHONY: maybe-distclean-gcc distclean-gcc
10353 maybe-distclean-gcc:
10354 @if gcc
10355 maybe-distclean-gcc: distclean-gcc
10357 distclean-gcc:
10358 @[ -f ./gcc/Makefile ] || exit 0; \
10359 r=`${PWD_COMMAND}`; export r; \
10360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10361 $(HOST_EXPORTS) \
10362 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10364 done; \
10365 echo "Doing distclean in gcc" ; \
10366 (cd $(HOST_SUBDIR)/gcc && \
10367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10369 "RANLIB=$${RANLIB}" \
10370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10371 distclean) \
10372 || exit 1
10374 @endif gcc
10376 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
10377 maybe-maintainer-clean-gcc:
10378 @if gcc
10379 maybe-maintainer-clean-gcc: maintainer-clean-gcc
10381 maintainer-clean-gcc:
10382 @[ -f ./gcc/Makefile ] || exit 0; \
10383 r=`${PWD_COMMAND}`; export r; \
10384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10385 $(HOST_EXPORTS) \
10386 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10388 done; \
10389 echo "Doing maintainer-clean in gcc" ; \
10390 (cd $(HOST_SUBDIR)/gcc && \
10391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10393 "RANLIB=$${RANLIB}" \
10394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10395 maintainer-clean) \
10396 || exit 1
10398 @endif gcc
10402 .PHONY: configure-gmp maybe-configure-gmp
10403 maybe-configure-gmp:
10404 @if gcc-bootstrap
10405 configure-gmp: stage_current
10406 @endif gcc-bootstrap
10407 @if gmp
10408 maybe-configure-gmp: configure-gmp
10409 configure-gmp:
10410 @r=`${PWD_COMMAND}`; export r; \
10411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10412 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10413 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10414 $(HOST_EXPORTS) \
10415 echo Configuring in $(HOST_SUBDIR)/gmp; \
10416 cd "$(HOST_SUBDIR)/gmp" || exit 1; \
10417 case $(srcdir) in \
10418 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10419 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10420 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10421 esac; \
10422 srcdiroption="--srcdir=$${topdir}/gmp"; \
10423 libsrcdir="$$s/gmp"; \
10424 $(SHELL) $${libsrcdir}/configure \
10425 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10426 --target=none-${host_vendor}-${host_os} $${srcdiroption} --disable-shared \
10427 || exit 1
10428 @endif gmp
10432 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
10433 maybe-configure-stage1-gmp:
10434 @if gmp-bootstrap
10435 maybe-configure-stage1-gmp: configure-stage1-gmp
10436 configure-stage1-gmp:
10437 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10438 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10439 @r=`${PWD_COMMAND}`; export r; \
10440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10441 TFLAGS="$(STAGE1_TFLAGS)"; \
10442 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10443 $(HOST_EXPORTS) \
10444 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
10445 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
10446 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
10447 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp ; \
10448 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10449 cd $(HOST_SUBDIR)/gmp || exit 1; \
10450 case $(srcdir) in \
10451 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10452 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10453 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10454 esac; \
10455 srcdiroption="--srcdir=$${topdir}/gmp"; \
10456 libsrcdir="$$s/gmp"; \
10457 $(SHELL) $${libsrcdir}/configure \
10458 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10459 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10460 $(STAGE1_CONFIGURE_FLAGS) \
10461 --disable-shared
10462 @endif gmp-bootstrap
10464 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
10465 maybe-configure-stage2-gmp:
10466 @if gmp-bootstrap
10467 maybe-configure-stage2-gmp: configure-stage2-gmp
10468 configure-stage2-gmp:
10469 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10470 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10471 @r=`${PWD_COMMAND}`; export r; \
10472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10473 TFLAGS="$(STAGE2_TFLAGS)"; \
10474 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10475 $(HOST_EXPORTS) \
10476 $(POSTSTAGE1_HOST_EXPORTS) \
10477 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
10478 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
10479 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
10480 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp ; \
10481 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10482 cd $(HOST_SUBDIR)/gmp || exit 1; \
10483 case $(srcdir) in \
10484 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10485 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10486 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10487 esac; \
10488 srcdiroption="--srcdir=$${topdir}/gmp"; \
10489 libsrcdir="$$s/gmp"; \
10490 $(SHELL) $${libsrcdir}/configure \
10491 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10492 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10493 --with-build-libsubdir=$(HOST_SUBDIR) \
10494 $(STAGE2_CONFIGURE_FLAGS) \
10495 --disable-shared
10496 @endif gmp-bootstrap
10498 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
10499 maybe-configure-stage3-gmp:
10500 @if gmp-bootstrap
10501 maybe-configure-stage3-gmp: configure-stage3-gmp
10502 configure-stage3-gmp:
10503 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10504 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10505 @r=`${PWD_COMMAND}`; export r; \
10506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10507 TFLAGS="$(STAGE3_TFLAGS)"; \
10508 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10509 $(HOST_EXPORTS) \
10510 $(POSTSTAGE1_HOST_EXPORTS) \
10511 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
10512 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
10513 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
10514 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp ; \
10515 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10516 cd $(HOST_SUBDIR)/gmp || exit 1; \
10517 case $(srcdir) in \
10518 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10519 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10520 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10521 esac; \
10522 srcdiroption="--srcdir=$${topdir}/gmp"; \
10523 libsrcdir="$$s/gmp"; \
10524 $(SHELL) $${libsrcdir}/configure \
10525 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10526 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10527 --with-build-libsubdir=$(HOST_SUBDIR) \
10528 $(STAGE3_CONFIGURE_FLAGS) \
10529 --disable-shared
10530 @endif gmp-bootstrap
10532 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
10533 maybe-configure-stage4-gmp:
10534 @if gmp-bootstrap
10535 maybe-configure-stage4-gmp: configure-stage4-gmp
10536 configure-stage4-gmp:
10537 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10538 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10539 @r=`${PWD_COMMAND}`; export r; \
10540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10541 TFLAGS="$(STAGE4_TFLAGS)"; \
10542 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10543 $(HOST_EXPORTS) \
10544 $(POSTSTAGE1_HOST_EXPORTS) \
10545 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
10546 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
10547 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
10548 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp ; \
10549 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10550 cd $(HOST_SUBDIR)/gmp || exit 1; \
10551 case $(srcdir) in \
10552 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10553 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10554 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10555 esac; \
10556 srcdiroption="--srcdir=$${topdir}/gmp"; \
10557 libsrcdir="$$s/gmp"; \
10558 $(SHELL) $${libsrcdir}/configure \
10559 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10560 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10561 --with-build-libsubdir=$(HOST_SUBDIR) \
10562 $(STAGE4_CONFIGURE_FLAGS) \
10563 --disable-shared
10564 @endif gmp-bootstrap
10566 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
10567 maybe-configure-stageprofile-gmp:
10568 @if gmp-bootstrap
10569 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
10570 configure-stageprofile-gmp:
10571 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10572 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10573 @r=`${PWD_COMMAND}`; export r; \
10574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10575 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10576 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10577 $(HOST_EXPORTS) \
10578 $(POSTSTAGE1_HOST_EXPORTS) \
10579 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
10580 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
10581 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
10582 echo Configuring stage profile in $(HOST_SUBDIR)/gmp ; \
10583 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10584 cd $(HOST_SUBDIR)/gmp || exit 1; \
10585 case $(srcdir) in \
10586 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10587 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10588 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10589 esac; \
10590 srcdiroption="--srcdir=$${topdir}/gmp"; \
10591 libsrcdir="$$s/gmp"; \
10592 $(SHELL) $${libsrcdir}/configure \
10593 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10594 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10595 --with-build-libsubdir=$(HOST_SUBDIR) \
10596 $(STAGEprofile_CONFIGURE_FLAGS) \
10597 --disable-shared
10598 @endif gmp-bootstrap
10600 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
10601 maybe-configure-stagefeedback-gmp:
10602 @if gmp-bootstrap
10603 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
10604 configure-stagefeedback-gmp:
10605 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10606 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10607 @r=`${PWD_COMMAND}`; export r; \
10608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10609 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10610 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10611 $(HOST_EXPORTS) \
10612 $(POSTSTAGE1_HOST_EXPORTS) \
10613 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
10614 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
10615 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
10616 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp ; \
10617 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10618 cd $(HOST_SUBDIR)/gmp || exit 1; \
10619 case $(srcdir) in \
10620 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10621 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10622 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10623 esac; \
10624 srcdiroption="--srcdir=$${topdir}/gmp"; \
10625 libsrcdir="$$s/gmp"; \
10626 $(SHELL) $${libsrcdir}/configure \
10627 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10628 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10629 --with-build-libsubdir=$(HOST_SUBDIR) \
10630 $(STAGEfeedback_CONFIGURE_FLAGS) \
10631 --disable-shared
10632 @endif gmp-bootstrap
10638 .PHONY: all-gmp maybe-all-gmp
10639 maybe-all-gmp:
10640 @if gcc-bootstrap
10641 all-gmp: stage_current
10642 @endif gcc-bootstrap
10643 @if gmp
10644 TARGET-gmp=all
10645 maybe-all-gmp: all-gmp
10646 all-gmp: configure-gmp
10647 @r=`${PWD_COMMAND}`; export r; \
10648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10649 $(HOST_EXPORTS) \
10650 (cd $(HOST_SUBDIR)/gmp && \
10651 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
10652 $(TARGET-gmp))
10653 @endif gmp
10657 .PHONY: all-stage1-gmp maybe-all-stage1-gmp
10658 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
10659 maybe-all-stage1-gmp:
10660 maybe-clean-stage1-gmp:
10661 @if gmp-bootstrap
10662 maybe-all-stage1-gmp: all-stage1-gmp
10663 all-stage1: all-stage1-gmp
10664 TARGET-stage1-gmp = $(TARGET-gmp)
10665 all-stage1-gmp: configure-stage1-gmp
10666 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10667 @r=`${PWD_COMMAND}`; export r; \
10668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10669 TFLAGS="$(STAGE1_TFLAGS)"; \
10670 $(HOST_EXPORTS) \
10671 cd $(HOST_SUBDIR)/gmp && \
10672 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10673 CFLAGS="$(STAGE1_CFLAGS)" \
10674 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
10675 LIBCFLAGS="$(LIBCFLAGS)" \
10676 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10677 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10678 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10679 $(EXTRA_HOST_FLAGS) \
10680 $(STAGE1_FLAGS_TO_PASS) \
10681 TFLAGS="$(STAGE1_TFLAGS)" \
10682 $(TARGET-stage1-gmp)
10684 maybe-clean-stage1-gmp: clean-stage1-gmp
10685 clean-stage1: clean-stage1-gmp
10686 clean-stage1-gmp:
10687 @if [ $(current_stage) = stage1 ]; then \
10688 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10689 else \
10690 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
10691 $(MAKE) stage1-start; \
10692 fi; \
10693 cd $(HOST_SUBDIR)/gmp && \
10694 $(MAKE) $(EXTRA_HOST_FLAGS) \
10695 $(STAGE1_FLAGS_TO_PASS) clean
10696 @endif gmp-bootstrap
10699 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
10700 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
10701 maybe-all-stage2-gmp:
10702 maybe-clean-stage2-gmp:
10703 @if gmp-bootstrap
10704 maybe-all-stage2-gmp: all-stage2-gmp
10705 all-stage2: all-stage2-gmp
10706 TARGET-stage2-gmp = $(TARGET-gmp)
10707 all-stage2-gmp: configure-stage2-gmp
10708 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10709 @r=`${PWD_COMMAND}`; export r; \
10710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10711 TFLAGS="$(STAGE2_TFLAGS)"; \
10712 $(HOST_EXPORTS) \
10713 $(POSTSTAGE1_HOST_EXPORTS) \
10714 cd $(HOST_SUBDIR)/gmp && \
10715 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10716 CFLAGS="$(STAGE2_CFLAGS)" \
10717 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
10718 LIBCFLAGS="$(STAGE2_CFLAGS)" \
10719 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10720 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10721 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10722 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10723 TFLAGS="$(STAGE2_TFLAGS)" \
10724 $(TARGET-stage2-gmp)
10726 maybe-clean-stage2-gmp: clean-stage2-gmp
10727 clean-stage2: clean-stage2-gmp
10728 clean-stage2-gmp:
10729 @if [ $(current_stage) = stage2 ]; then \
10730 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10731 else \
10732 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
10733 $(MAKE) stage2-start; \
10734 fi; \
10735 cd $(HOST_SUBDIR)/gmp && \
10736 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10737 @endif gmp-bootstrap
10740 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
10741 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
10742 maybe-all-stage3-gmp:
10743 maybe-clean-stage3-gmp:
10744 @if gmp-bootstrap
10745 maybe-all-stage3-gmp: all-stage3-gmp
10746 all-stage3: all-stage3-gmp
10747 TARGET-stage3-gmp = $(TARGET-gmp)
10748 all-stage3-gmp: configure-stage3-gmp
10749 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10750 @r=`${PWD_COMMAND}`; export r; \
10751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10752 TFLAGS="$(STAGE3_TFLAGS)"; \
10753 $(HOST_EXPORTS) \
10754 $(POSTSTAGE1_HOST_EXPORTS) \
10755 cd $(HOST_SUBDIR)/gmp && \
10756 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10757 CFLAGS="$(STAGE3_CFLAGS)" \
10758 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
10759 LIBCFLAGS="$(STAGE3_CFLAGS)" \
10760 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10761 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10762 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10763 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10764 TFLAGS="$(STAGE3_TFLAGS)" \
10765 $(TARGET-stage3-gmp)
10767 maybe-clean-stage3-gmp: clean-stage3-gmp
10768 clean-stage3: clean-stage3-gmp
10769 clean-stage3-gmp:
10770 @if [ $(current_stage) = stage3 ]; then \
10771 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10772 else \
10773 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
10774 $(MAKE) stage3-start; \
10775 fi; \
10776 cd $(HOST_SUBDIR)/gmp && \
10777 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10778 @endif gmp-bootstrap
10781 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
10782 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
10783 maybe-all-stage4-gmp:
10784 maybe-clean-stage4-gmp:
10785 @if gmp-bootstrap
10786 maybe-all-stage4-gmp: all-stage4-gmp
10787 all-stage4: all-stage4-gmp
10788 TARGET-stage4-gmp = $(TARGET-gmp)
10789 all-stage4-gmp: configure-stage4-gmp
10790 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10791 @r=`${PWD_COMMAND}`; export r; \
10792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10793 TFLAGS="$(STAGE4_TFLAGS)"; \
10794 $(HOST_EXPORTS) \
10795 $(POSTSTAGE1_HOST_EXPORTS) \
10796 cd $(HOST_SUBDIR)/gmp && \
10797 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10798 CFLAGS="$(STAGE4_CFLAGS)" \
10799 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
10800 LIBCFLAGS="$(STAGE4_CFLAGS)" \
10801 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10802 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10803 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10804 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10805 TFLAGS="$(STAGE4_TFLAGS)" \
10806 $(TARGET-stage4-gmp)
10808 maybe-clean-stage4-gmp: clean-stage4-gmp
10809 clean-stage4: clean-stage4-gmp
10810 clean-stage4-gmp:
10811 @if [ $(current_stage) = stage4 ]; then \
10812 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10813 else \
10814 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
10815 $(MAKE) stage4-start; \
10816 fi; \
10817 cd $(HOST_SUBDIR)/gmp && \
10818 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10819 @endif gmp-bootstrap
10822 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
10823 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
10824 maybe-all-stageprofile-gmp:
10825 maybe-clean-stageprofile-gmp:
10826 @if gmp-bootstrap
10827 maybe-all-stageprofile-gmp: all-stageprofile-gmp
10828 all-stageprofile: all-stageprofile-gmp
10829 TARGET-stageprofile-gmp = $(TARGET-gmp)
10830 all-stageprofile-gmp: configure-stageprofile-gmp
10831 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10832 @r=`${PWD_COMMAND}`; export r; \
10833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10834 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10835 $(HOST_EXPORTS) \
10836 $(POSTSTAGE1_HOST_EXPORTS) \
10837 cd $(HOST_SUBDIR)/gmp && \
10838 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10839 CFLAGS="$(STAGEprofile_CFLAGS)" \
10840 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
10841 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
10842 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10843 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10844 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10845 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10846 TFLAGS="$(STAGEprofile_TFLAGS)" \
10847 $(TARGET-stageprofile-gmp)
10849 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
10850 clean-stageprofile: clean-stageprofile-gmp
10851 clean-stageprofile-gmp:
10852 @if [ $(current_stage) = stageprofile ]; then \
10853 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10854 else \
10855 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
10856 $(MAKE) stageprofile-start; \
10857 fi; \
10858 cd $(HOST_SUBDIR)/gmp && \
10859 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10860 @endif gmp-bootstrap
10863 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
10864 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
10865 maybe-all-stagefeedback-gmp:
10866 maybe-clean-stagefeedback-gmp:
10867 @if gmp-bootstrap
10868 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
10869 all-stagefeedback: all-stagefeedback-gmp
10870 TARGET-stagefeedback-gmp = $(TARGET-gmp)
10871 all-stagefeedback-gmp: configure-stagefeedback-gmp
10872 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10873 @r=`${PWD_COMMAND}`; export r; \
10874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10875 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10876 $(HOST_EXPORTS) \
10877 $(POSTSTAGE1_HOST_EXPORTS) \
10878 cd $(HOST_SUBDIR)/gmp && \
10879 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10880 CFLAGS="$(STAGEfeedback_CFLAGS)" \
10881 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
10882 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
10883 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10884 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10885 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10886 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10887 TFLAGS="$(STAGEfeedback_TFLAGS)" \
10888 $(TARGET-stagefeedback-gmp)
10890 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
10891 clean-stagefeedback: clean-stagefeedback-gmp
10892 clean-stagefeedback-gmp:
10893 @if [ $(current_stage) = stagefeedback ]; then \
10894 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10895 else \
10896 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
10897 $(MAKE) stagefeedback-start; \
10898 fi; \
10899 cd $(HOST_SUBDIR)/gmp && \
10900 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10901 @endif gmp-bootstrap
10907 .PHONY: check-gmp maybe-check-gmp
10908 maybe-check-gmp:
10909 @if gmp
10910 maybe-check-gmp: check-gmp
10912 check-gmp:
10913 @: $(MAKE); $(unstage)
10914 @r=`${PWD_COMMAND}`; export r; \
10915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10916 $(HOST_EXPORTS) \
10917 (cd $(HOST_SUBDIR)/gmp && \
10918 $(MAKE) $(FLAGS_TO_PASS) check)
10920 @endif gmp
10922 .PHONY: install-gmp maybe-install-gmp
10923 maybe-install-gmp:
10924 @if gmp
10925 maybe-install-gmp: install-gmp
10927 install-gmp:
10929 @endif gmp
10931 .PHONY: install-strip-gmp maybe-install-strip-gmp
10932 maybe-install-strip-gmp:
10933 @if gmp
10934 maybe-install-strip-gmp: install-strip-gmp
10936 install-strip-gmp:
10938 @endif gmp
10940 # Other targets (info, dvi, pdf, etc.)
10942 .PHONY: maybe-info-gmp info-gmp
10943 maybe-info-gmp:
10944 @if gmp
10945 maybe-info-gmp: info-gmp
10947 info-gmp: \
10948 configure-gmp
10949 @[ -f ./gmp/Makefile ] || exit 0; \
10950 r=`${PWD_COMMAND}`; export r; \
10951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10952 $(HOST_EXPORTS) \
10953 for flag in $(EXTRA_HOST_FLAGS) ; do \
10954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10955 done; \
10956 echo "Doing info in gmp" ; \
10957 (cd $(HOST_SUBDIR)/gmp && \
10958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10960 "RANLIB=$${RANLIB}" \
10961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10962 info) \
10963 || exit 1
10965 @endif gmp
10967 .PHONY: maybe-dvi-gmp dvi-gmp
10968 maybe-dvi-gmp:
10969 @if gmp
10970 maybe-dvi-gmp: dvi-gmp
10972 dvi-gmp: \
10973 configure-gmp
10974 @[ -f ./gmp/Makefile ] || exit 0; \
10975 r=`${PWD_COMMAND}`; export r; \
10976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10977 $(HOST_EXPORTS) \
10978 for flag in $(EXTRA_HOST_FLAGS) ; do \
10979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10980 done; \
10981 echo "Doing dvi in gmp" ; \
10982 (cd $(HOST_SUBDIR)/gmp && \
10983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10985 "RANLIB=$${RANLIB}" \
10986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10987 dvi) \
10988 || exit 1
10990 @endif gmp
10992 .PHONY: maybe-pdf-gmp pdf-gmp
10993 maybe-pdf-gmp:
10994 @if gmp
10995 maybe-pdf-gmp: pdf-gmp
10997 pdf-gmp: \
10998 configure-gmp
10999 @[ -f ./gmp/Makefile ] || exit 0; \
11000 r=`${PWD_COMMAND}`; export r; \
11001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11002 $(HOST_EXPORTS) \
11003 for flag in $(EXTRA_HOST_FLAGS) ; do \
11004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11005 done; \
11006 echo "Doing pdf in gmp" ; \
11007 (cd $(HOST_SUBDIR)/gmp && \
11008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11010 "RANLIB=$${RANLIB}" \
11011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11012 pdf) \
11013 || exit 1
11015 @endif gmp
11017 .PHONY: maybe-html-gmp html-gmp
11018 maybe-html-gmp:
11019 @if gmp
11020 maybe-html-gmp: html-gmp
11022 html-gmp: \
11023 configure-gmp
11024 @[ -f ./gmp/Makefile ] || exit 0; \
11025 r=`${PWD_COMMAND}`; export r; \
11026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11027 $(HOST_EXPORTS) \
11028 for flag in $(EXTRA_HOST_FLAGS) ; do \
11029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11030 done; \
11031 echo "Doing html in gmp" ; \
11032 (cd $(HOST_SUBDIR)/gmp && \
11033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11035 "RANLIB=$${RANLIB}" \
11036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11037 html) \
11038 || exit 1
11040 @endif gmp
11042 .PHONY: maybe-TAGS-gmp TAGS-gmp
11043 maybe-TAGS-gmp:
11044 @if gmp
11045 maybe-TAGS-gmp: TAGS-gmp
11047 TAGS-gmp: \
11048 configure-gmp
11049 @[ -f ./gmp/Makefile ] || exit 0; \
11050 r=`${PWD_COMMAND}`; export r; \
11051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11052 $(HOST_EXPORTS) \
11053 for flag in $(EXTRA_HOST_FLAGS) ; do \
11054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11055 done; \
11056 echo "Doing TAGS in gmp" ; \
11057 (cd $(HOST_SUBDIR)/gmp && \
11058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11060 "RANLIB=$${RANLIB}" \
11061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11062 TAGS) \
11063 || exit 1
11065 @endif gmp
11067 .PHONY: maybe-install-info-gmp install-info-gmp
11068 maybe-install-info-gmp:
11069 @if gmp
11070 maybe-install-info-gmp: install-info-gmp
11072 install-info-gmp: \
11073 configure-gmp \
11074 info-gmp
11075 @[ -f ./gmp/Makefile ] || exit 0; \
11076 r=`${PWD_COMMAND}`; export r; \
11077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11078 $(HOST_EXPORTS) \
11079 for flag in $(EXTRA_HOST_FLAGS) ; do \
11080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11081 done; \
11082 echo "Doing install-info in gmp" ; \
11083 (cd $(HOST_SUBDIR)/gmp && \
11084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11086 "RANLIB=$${RANLIB}" \
11087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11088 install-info) \
11089 || exit 1
11091 @endif gmp
11093 .PHONY: maybe-install-pdf-gmp install-pdf-gmp
11094 maybe-install-pdf-gmp:
11095 @if gmp
11096 maybe-install-pdf-gmp: install-pdf-gmp
11098 install-pdf-gmp: \
11099 configure-gmp \
11100 pdf-gmp
11101 @[ -f ./gmp/Makefile ] || exit 0; \
11102 r=`${PWD_COMMAND}`; export r; \
11103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11104 $(HOST_EXPORTS) \
11105 for flag in $(EXTRA_HOST_FLAGS) ; do \
11106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11107 done; \
11108 echo "Doing install-pdf in gmp" ; \
11109 (cd $(HOST_SUBDIR)/gmp && \
11110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11112 "RANLIB=$${RANLIB}" \
11113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11114 install-pdf) \
11115 || exit 1
11117 @endif gmp
11119 .PHONY: maybe-install-html-gmp install-html-gmp
11120 maybe-install-html-gmp:
11121 @if gmp
11122 maybe-install-html-gmp: install-html-gmp
11124 install-html-gmp: \
11125 configure-gmp \
11126 html-gmp
11127 @[ -f ./gmp/Makefile ] || exit 0; \
11128 r=`${PWD_COMMAND}`; export r; \
11129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11130 $(HOST_EXPORTS) \
11131 for flag in $(EXTRA_HOST_FLAGS) ; do \
11132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11133 done; \
11134 echo "Doing install-html in gmp" ; \
11135 (cd $(HOST_SUBDIR)/gmp && \
11136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11138 "RANLIB=$${RANLIB}" \
11139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11140 install-html) \
11141 || exit 1
11143 @endif gmp
11145 .PHONY: maybe-installcheck-gmp installcheck-gmp
11146 maybe-installcheck-gmp:
11147 @if gmp
11148 maybe-installcheck-gmp: installcheck-gmp
11150 installcheck-gmp: \
11151 configure-gmp
11152 @[ -f ./gmp/Makefile ] || exit 0; \
11153 r=`${PWD_COMMAND}`; export r; \
11154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11155 $(HOST_EXPORTS) \
11156 for flag in $(EXTRA_HOST_FLAGS) ; do \
11157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11158 done; \
11159 echo "Doing installcheck in gmp" ; \
11160 (cd $(HOST_SUBDIR)/gmp && \
11161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11163 "RANLIB=$${RANLIB}" \
11164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11165 installcheck) \
11166 || exit 1
11168 @endif gmp
11170 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
11171 maybe-mostlyclean-gmp:
11172 @if gmp
11173 maybe-mostlyclean-gmp: mostlyclean-gmp
11175 mostlyclean-gmp:
11176 @[ -f ./gmp/Makefile ] || exit 0; \
11177 r=`${PWD_COMMAND}`; export r; \
11178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11179 $(HOST_EXPORTS) \
11180 for flag in $(EXTRA_HOST_FLAGS) ; do \
11181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11182 done; \
11183 echo "Doing mostlyclean in gmp" ; \
11184 (cd $(HOST_SUBDIR)/gmp && \
11185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11187 "RANLIB=$${RANLIB}" \
11188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11189 mostlyclean) \
11190 || exit 1
11192 @endif gmp
11194 .PHONY: maybe-clean-gmp clean-gmp
11195 maybe-clean-gmp:
11196 @if gmp
11197 maybe-clean-gmp: clean-gmp
11199 clean-gmp:
11200 @[ -f ./gmp/Makefile ] || exit 0; \
11201 r=`${PWD_COMMAND}`; export r; \
11202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11203 $(HOST_EXPORTS) \
11204 for flag in $(EXTRA_HOST_FLAGS) ; do \
11205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11206 done; \
11207 echo "Doing clean in gmp" ; \
11208 (cd $(HOST_SUBDIR)/gmp && \
11209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11211 "RANLIB=$${RANLIB}" \
11212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11213 clean) \
11214 || exit 1
11216 @endif gmp
11218 .PHONY: maybe-distclean-gmp distclean-gmp
11219 maybe-distclean-gmp:
11220 @if gmp
11221 maybe-distclean-gmp: distclean-gmp
11223 distclean-gmp:
11224 @[ -f ./gmp/Makefile ] || exit 0; \
11225 r=`${PWD_COMMAND}`; export r; \
11226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11227 $(HOST_EXPORTS) \
11228 for flag in $(EXTRA_HOST_FLAGS) ; do \
11229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11230 done; \
11231 echo "Doing distclean in gmp" ; \
11232 (cd $(HOST_SUBDIR)/gmp && \
11233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11235 "RANLIB=$${RANLIB}" \
11236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11237 distclean) \
11238 || exit 1
11240 @endif gmp
11242 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
11243 maybe-maintainer-clean-gmp:
11244 @if gmp
11245 maybe-maintainer-clean-gmp: maintainer-clean-gmp
11247 maintainer-clean-gmp:
11248 @[ -f ./gmp/Makefile ] || exit 0; \
11249 r=`${PWD_COMMAND}`; export r; \
11250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11251 $(HOST_EXPORTS) \
11252 for flag in $(EXTRA_HOST_FLAGS) ; do \
11253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11254 done; \
11255 echo "Doing maintainer-clean in gmp" ; \
11256 (cd $(HOST_SUBDIR)/gmp && \
11257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11259 "RANLIB=$${RANLIB}" \
11260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11261 maintainer-clean) \
11262 || exit 1
11264 @endif gmp
11268 .PHONY: configure-mpfr maybe-configure-mpfr
11269 maybe-configure-mpfr:
11270 @if gcc-bootstrap
11271 configure-mpfr: stage_current
11272 @endif gcc-bootstrap
11273 @if mpfr
11274 maybe-configure-mpfr: configure-mpfr
11275 configure-mpfr:
11276 @r=`${PWD_COMMAND}`; export r; \
11277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11278 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11279 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11280 $(HOST_EXPORTS) \
11281 echo Configuring in $(HOST_SUBDIR)/mpfr; \
11282 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
11283 case $(srcdir) in \
11284 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11285 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11286 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11287 esac; \
11288 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11289 libsrcdir="$$s/mpfr"; \
11290 $(SHELL) $${libsrcdir}/configure \
11291 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11292 --target=${target_alias} $${srcdiroption} --disable-shared @extra_mpfr_configure_flags@ \
11293 || exit 1
11294 @endif mpfr
11298 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
11299 maybe-configure-stage1-mpfr:
11300 @if mpfr-bootstrap
11301 maybe-configure-stage1-mpfr: configure-stage1-mpfr
11302 configure-stage1-mpfr:
11303 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11304 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11305 @r=`${PWD_COMMAND}`; export r; \
11306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11307 TFLAGS="$(STAGE1_TFLAGS)"; \
11308 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11309 $(HOST_EXPORTS) \
11310 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
11311 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
11312 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
11313 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr ; \
11314 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11315 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11316 case $(srcdir) in \
11317 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11318 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11319 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11320 esac; \
11321 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11322 libsrcdir="$$s/mpfr"; \
11323 $(SHELL) $${libsrcdir}/configure \
11324 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11325 --target=${target_alias} $${srcdiroption} \
11326 $(STAGE1_CONFIGURE_FLAGS) \
11327 --disable-shared @extra_mpfr_configure_flags@
11328 @endif mpfr-bootstrap
11330 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
11331 maybe-configure-stage2-mpfr:
11332 @if mpfr-bootstrap
11333 maybe-configure-stage2-mpfr: configure-stage2-mpfr
11334 configure-stage2-mpfr:
11335 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11336 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11337 @r=`${PWD_COMMAND}`; export r; \
11338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11339 TFLAGS="$(STAGE2_TFLAGS)"; \
11340 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11341 $(HOST_EXPORTS) \
11342 $(POSTSTAGE1_HOST_EXPORTS) \
11343 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
11344 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
11345 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
11346 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr ; \
11347 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11348 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11349 case $(srcdir) in \
11350 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11351 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11352 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11353 esac; \
11354 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11355 libsrcdir="$$s/mpfr"; \
11356 $(SHELL) $${libsrcdir}/configure \
11357 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11358 --target=${target_alias} $${srcdiroption} \
11359 --with-build-libsubdir=$(HOST_SUBDIR) \
11360 $(STAGE2_CONFIGURE_FLAGS) \
11361 --disable-shared @extra_mpfr_configure_flags@
11362 @endif mpfr-bootstrap
11364 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
11365 maybe-configure-stage3-mpfr:
11366 @if mpfr-bootstrap
11367 maybe-configure-stage3-mpfr: configure-stage3-mpfr
11368 configure-stage3-mpfr:
11369 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11370 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11371 @r=`${PWD_COMMAND}`; export r; \
11372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11373 TFLAGS="$(STAGE3_TFLAGS)"; \
11374 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11375 $(HOST_EXPORTS) \
11376 $(POSTSTAGE1_HOST_EXPORTS) \
11377 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
11378 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
11379 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
11380 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr ; \
11381 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11382 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11383 case $(srcdir) in \
11384 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11385 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11386 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11387 esac; \
11388 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11389 libsrcdir="$$s/mpfr"; \
11390 $(SHELL) $${libsrcdir}/configure \
11391 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11392 --target=${target_alias} $${srcdiroption} \
11393 --with-build-libsubdir=$(HOST_SUBDIR) \
11394 $(STAGE3_CONFIGURE_FLAGS) \
11395 --disable-shared @extra_mpfr_configure_flags@
11396 @endif mpfr-bootstrap
11398 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
11399 maybe-configure-stage4-mpfr:
11400 @if mpfr-bootstrap
11401 maybe-configure-stage4-mpfr: configure-stage4-mpfr
11402 configure-stage4-mpfr:
11403 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11404 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11405 @r=`${PWD_COMMAND}`; export r; \
11406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11407 TFLAGS="$(STAGE4_TFLAGS)"; \
11408 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11409 $(HOST_EXPORTS) \
11410 $(POSTSTAGE1_HOST_EXPORTS) \
11411 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
11412 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
11413 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
11414 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr ; \
11415 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11416 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11417 case $(srcdir) in \
11418 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11419 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11420 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11421 esac; \
11422 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11423 libsrcdir="$$s/mpfr"; \
11424 $(SHELL) $${libsrcdir}/configure \
11425 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11426 --target=${target_alias} $${srcdiroption} \
11427 --with-build-libsubdir=$(HOST_SUBDIR) \
11428 $(STAGE4_CONFIGURE_FLAGS) \
11429 --disable-shared @extra_mpfr_configure_flags@
11430 @endif mpfr-bootstrap
11432 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
11433 maybe-configure-stageprofile-mpfr:
11434 @if mpfr-bootstrap
11435 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
11436 configure-stageprofile-mpfr:
11437 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11438 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11439 @r=`${PWD_COMMAND}`; export r; \
11440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11441 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11442 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11443 $(HOST_EXPORTS) \
11444 $(POSTSTAGE1_HOST_EXPORTS) \
11445 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
11446 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
11447 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
11448 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr ; \
11449 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11450 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11451 case $(srcdir) in \
11452 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11453 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11454 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11455 esac; \
11456 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11457 libsrcdir="$$s/mpfr"; \
11458 $(SHELL) $${libsrcdir}/configure \
11459 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11460 --target=${target_alias} $${srcdiroption} \
11461 --with-build-libsubdir=$(HOST_SUBDIR) \
11462 $(STAGEprofile_CONFIGURE_FLAGS) \
11463 --disable-shared @extra_mpfr_configure_flags@
11464 @endif mpfr-bootstrap
11466 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
11467 maybe-configure-stagefeedback-mpfr:
11468 @if mpfr-bootstrap
11469 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
11470 configure-stagefeedback-mpfr:
11471 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11472 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11473 @r=`${PWD_COMMAND}`; export r; \
11474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11475 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11476 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11477 $(HOST_EXPORTS) \
11478 $(POSTSTAGE1_HOST_EXPORTS) \
11479 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
11480 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
11481 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
11482 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr ; \
11483 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11484 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11485 case $(srcdir) in \
11486 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11487 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11488 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11489 esac; \
11490 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11491 libsrcdir="$$s/mpfr"; \
11492 $(SHELL) $${libsrcdir}/configure \
11493 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11494 --target=${target_alias} $${srcdiroption} \
11495 --with-build-libsubdir=$(HOST_SUBDIR) \
11496 $(STAGEfeedback_CONFIGURE_FLAGS) \
11497 --disable-shared @extra_mpfr_configure_flags@
11498 @endif mpfr-bootstrap
11504 .PHONY: all-mpfr maybe-all-mpfr
11505 maybe-all-mpfr:
11506 @if gcc-bootstrap
11507 all-mpfr: stage_current
11508 @endif gcc-bootstrap
11509 @if mpfr
11510 TARGET-mpfr=all
11511 maybe-all-mpfr: all-mpfr
11512 all-mpfr: configure-mpfr
11513 @r=`${PWD_COMMAND}`; export r; \
11514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11515 $(HOST_EXPORTS) \
11516 (cd $(HOST_SUBDIR)/mpfr && \
11517 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
11518 $(TARGET-mpfr))
11519 @endif mpfr
11523 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
11524 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
11525 maybe-all-stage1-mpfr:
11526 maybe-clean-stage1-mpfr:
11527 @if mpfr-bootstrap
11528 maybe-all-stage1-mpfr: all-stage1-mpfr
11529 all-stage1: all-stage1-mpfr
11530 TARGET-stage1-mpfr = $(TARGET-mpfr)
11531 all-stage1-mpfr: configure-stage1-mpfr
11532 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11533 @r=`${PWD_COMMAND}`; export r; \
11534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11535 TFLAGS="$(STAGE1_TFLAGS)"; \
11536 $(HOST_EXPORTS) \
11537 cd $(HOST_SUBDIR)/mpfr && \
11538 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11539 CFLAGS="$(STAGE1_CFLAGS)" \
11540 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
11541 LIBCFLAGS="$(LIBCFLAGS)" \
11542 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11543 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11544 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11545 $(EXTRA_HOST_FLAGS) \
11546 $(STAGE1_FLAGS_TO_PASS) \
11547 TFLAGS="$(STAGE1_TFLAGS)" \
11548 $(TARGET-stage1-mpfr)
11550 maybe-clean-stage1-mpfr: clean-stage1-mpfr
11551 clean-stage1: clean-stage1-mpfr
11552 clean-stage1-mpfr:
11553 @if [ $(current_stage) = stage1 ]; then \
11554 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11555 else \
11556 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
11557 $(MAKE) stage1-start; \
11558 fi; \
11559 cd $(HOST_SUBDIR)/mpfr && \
11560 $(MAKE) $(EXTRA_HOST_FLAGS) \
11561 $(STAGE1_FLAGS_TO_PASS) clean
11562 @endif mpfr-bootstrap
11565 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
11566 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
11567 maybe-all-stage2-mpfr:
11568 maybe-clean-stage2-mpfr:
11569 @if mpfr-bootstrap
11570 maybe-all-stage2-mpfr: all-stage2-mpfr
11571 all-stage2: all-stage2-mpfr
11572 TARGET-stage2-mpfr = $(TARGET-mpfr)
11573 all-stage2-mpfr: configure-stage2-mpfr
11574 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11575 @r=`${PWD_COMMAND}`; export r; \
11576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11577 TFLAGS="$(STAGE2_TFLAGS)"; \
11578 $(HOST_EXPORTS) \
11579 $(POSTSTAGE1_HOST_EXPORTS) \
11580 cd $(HOST_SUBDIR)/mpfr && \
11581 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11582 CFLAGS="$(STAGE2_CFLAGS)" \
11583 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
11584 LIBCFLAGS="$(STAGE2_CFLAGS)" \
11585 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11586 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11587 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11588 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11589 TFLAGS="$(STAGE2_TFLAGS)" \
11590 $(TARGET-stage2-mpfr)
11592 maybe-clean-stage2-mpfr: clean-stage2-mpfr
11593 clean-stage2: clean-stage2-mpfr
11594 clean-stage2-mpfr:
11595 @if [ $(current_stage) = stage2 ]; then \
11596 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11597 else \
11598 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
11599 $(MAKE) stage2-start; \
11600 fi; \
11601 cd $(HOST_SUBDIR)/mpfr && \
11602 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11603 @endif mpfr-bootstrap
11606 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
11607 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
11608 maybe-all-stage3-mpfr:
11609 maybe-clean-stage3-mpfr:
11610 @if mpfr-bootstrap
11611 maybe-all-stage3-mpfr: all-stage3-mpfr
11612 all-stage3: all-stage3-mpfr
11613 TARGET-stage3-mpfr = $(TARGET-mpfr)
11614 all-stage3-mpfr: configure-stage3-mpfr
11615 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11616 @r=`${PWD_COMMAND}`; export r; \
11617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11618 TFLAGS="$(STAGE3_TFLAGS)"; \
11619 $(HOST_EXPORTS) \
11620 $(POSTSTAGE1_HOST_EXPORTS) \
11621 cd $(HOST_SUBDIR)/mpfr && \
11622 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11623 CFLAGS="$(STAGE3_CFLAGS)" \
11624 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
11625 LIBCFLAGS="$(STAGE3_CFLAGS)" \
11626 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11627 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11628 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11629 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11630 TFLAGS="$(STAGE3_TFLAGS)" \
11631 $(TARGET-stage3-mpfr)
11633 maybe-clean-stage3-mpfr: clean-stage3-mpfr
11634 clean-stage3: clean-stage3-mpfr
11635 clean-stage3-mpfr:
11636 @if [ $(current_stage) = stage3 ]; then \
11637 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11638 else \
11639 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
11640 $(MAKE) stage3-start; \
11641 fi; \
11642 cd $(HOST_SUBDIR)/mpfr && \
11643 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11644 @endif mpfr-bootstrap
11647 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
11648 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
11649 maybe-all-stage4-mpfr:
11650 maybe-clean-stage4-mpfr:
11651 @if mpfr-bootstrap
11652 maybe-all-stage4-mpfr: all-stage4-mpfr
11653 all-stage4: all-stage4-mpfr
11654 TARGET-stage4-mpfr = $(TARGET-mpfr)
11655 all-stage4-mpfr: configure-stage4-mpfr
11656 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11657 @r=`${PWD_COMMAND}`; export r; \
11658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11659 TFLAGS="$(STAGE4_TFLAGS)"; \
11660 $(HOST_EXPORTS) \
11661 $(POSTSTAGE1_HOST_EXPORTS) \
11662 cd $(HOST_SUBDIR)/mpfr && \
11663 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11664 CFLAGS="$(STAGE4_CFLAGS)" \
11665 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
11666 LIBCFLAGS="$(STAGE4_CFLAGS)" \
11667 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11668 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11669 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11670 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11671 TFLAGS="$(STAGE4_TFLAGS)" \
11672 $(TARGET-stage4-mpfr)
11674 maybe-clean-stage4-mpfr: clean-stage4-mpfr
11675 clean-stage4: clean-stage4-mpfr
11676 clean-stage4-mpfr:
11677 @if [ $(current_stage) = stage4 ]; then \
11678 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11679 else \
11680 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
11681 $(MAKE) stage4-start; \
11682 fi; \
11683 cd $(HOST_SUBDIR)/mpfr && \
11684 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11685 @endif mpfr-bootstrap
11688 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
11689 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
11690 maybe-all-stageprofile-mpfr:
11691 maybe-clean-stageprofile-mpfr:
11692 @if mpfr-bootstrap
11693 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
11694 all-stageprofile: all-stageprofile-mpfr
11695 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
11696 all-stageprofile-mpfr: configure-stageprofile-mpfr
11697 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11698 @r=`${PWD_COMMAND}`; export r; \
11699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11700 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11701 $(HOST_EXPORTS) \
11702 $(POSTSTAGE1_HOST_EXPORTS) \
11703 cd $(HOST_SUBDIR)/mpfr && \
11704 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11705 CFLAGS="$(STAGEprofile_CFLAGS)" \
11706 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
11707 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
11708 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11709 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11710 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11711 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11712 TFLAGS="$(STAGEprofile_TFLAGS)" \
11713 $(TARGET-stageprofile-mpfr)
11715 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
11716 clean-stageprofile: clean-stageprofile-mpfr
11717 clean-stageprofile-mpfr:
11718 @if [ $(current_stage) = stageprofile ]; then \
11719 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11720 else \
11721 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
11722 $(MAKE) stageprofile-start; \
11723 fi; \
11724 cd $(HOST_SUBDIR)/mpfr && \
11725 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11726 @endif mpfr-bootstrap
11729 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
11730 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
11731 maybe-all-stagefeedback-mpfr:
11732 maybe-clean-stagefeedback-mpfr:
11733 @if mpfr-bootstrap
11734 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
11735 all-stagefeedback: all-stagefeedback-mpfr
11736 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
11737 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
11738 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11739 @r=`${PWD_COMMAND}`; export r; \
11740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11741 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11742 $(HOST_EXPORTS) \
11743 $(POSTSTAGE1_HOST_EXPORTS) \
11744 cd $(HOST_SUBDIR)/mpfr && \
11745 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11746 CFLAGS="$(STAGEfeedback_CFLAGS)" \
11747 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
11748 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
11749 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11750 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11751 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11752 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11753 TFLAGS="$(STAGEfeedback_TFLAGS)" \
11754 $(TARGET-stagefeedback-mpfr)
11756 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
11757 clean-stagefeedback: clean-stagefeedback-mpfr
11758 clean-stagefeedback-mpfr:
11759 @if [ $(current_stage) = stagefeedback ]; then \
11760 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11761 else \
11762 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
11763 $(MAKE) stagefeedback-start; \
11764 fi; \
11765 cd $(HOST_SUBDIR)/mpfr && \
11766 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11767 @endif mpfr-bootstrap
11773 .PHONY: check-mpfr maybe-check-mpfr
11774 maybe-check-mpfr:
11775 @if mpfr
11776 maybe-check-mpfr: check-mpfr
11778 check-mpfr:
11779 @: $(MAKE); $(unstage)
11780 @r=`${PWD_COMMAND}`; export r; \
11781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11782 $(HOST_EXPORTS) \
11783 (cd $(HOST_SUBDIR)/mpfr && \
11784 $(MAKE) $(FLAGS_TO_PASS) check)
11786 @endif mpfr
11788 .PHONY: install-mpfr maybe-install-mpfr
11789 maybe-install-mpfr:
11790 @if mpfr
11791 maybe-install-mpfr: install-mpfr
11793 install-mpfr:
11795 @endif mpfr
11797 .PHONY: install-strip-mpfr maybe-install-strip-mpfr
11798 maybe-install-strip-mpfr:
11799 @if mpfr
11800 maybe-install-strip-mpfr: install-strip-mpfr
11802 install-strip-mpfr:
11804 @endif mpfr
11806 # Other targets (info, dvi, pdf, etc.)
11808 .PHONY: maybe-info-mpfr info-mpfr
11809 maybe-info-mpfr:
11810 @if mpfr
11811 maybe-info-mpfr: info-mpfr
11813 info-mpfr: \
11814 configure-mpfr
11815 @[ -f ./mpfr/Makefile ] || exit 0; \
11816 r=`${PWD_COMMAND}`; export r; \
11817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11818 $(HOST_EXPORTS) \
11819 for flag in $(EXTRA_HOST_FLAGS) ; do \
11820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11821 done; \
11822 echo "Doing info in mpfr" ; \
11823 (cd $(HOST_SUBDIR)/mpfr && \
11824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11826 "RANLIB=$${RANLIB}" \
11827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11828 info) \
11829 || exit 1
11831 @endif mpfr
11833 .PHONY: maybe-dvi-mpfr dvi-mpfr
11834 maybe-dvi-mpfr:
11835 @if mpfr
11836 maybe-dvi-mpfr: dvi-mpfr
11838 dvi-mpfr: \
11839 configure-mpfr
11840 @[ -f ./mpfr/Makefile ] || exit 0; \
11841 r=`${PWD_COMMAND}`; export r; \
11842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11843 $(HOST_EXPORTS) \
11844 for flag in $(EXTRA_HOST_FLAGS) ; do \
11845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11846 done; \
11847 echo "Doing dvi in mpfr" ; \
11848 (cd $(HOST_SUBDIR)/mpfr && \
11849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11851 "RANLIB=$${RANLIB}" \
11852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11853 dvi) \
11854 || exit 1
11856 @endif mpfr
11858 .PHONY: maybe-pdf-mpfr pdf-mpfr
11859 maybe-pdf-mpfr:
11860 @if mpfr
11861 maybe-pdf-mpfr: pdf-mpfr
11863 pdf-mpfr: \
11864 configure-mpfr
11865 @[ -f ./mpfr/Makefile ] || exit 0; \
11866 r=`${PWD_COMMAND}`; export r; \
11867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11868 $(HOST_EXPORTS) \
11869 for flag in $(EXTRA_HOST_FLAGS) ; do \
11870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11871 done; \
11872 echo "Doing pdf in mpfr" ; \
11873 (cd $(HOST_SUBDIR)/mpfr && \
11874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11876 "RANLIB=$${RANLIB}" \
11877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11878 pdf) \
11879 || exit 1
11881 @endif mpfr
11883 .PHONY: maybe-html-mpfr html-mpfr
11884 maybe-html-mpfr:
11885 @if mpfr
11886 maybe-html-mpfr: html-mpfr
11888 html-mpfr: \
11889 configure-mpfr
11890 @[ -f ./mpfr/Makefile ] || exit 0; \
11891 r=`${PWD_COMMAND}`; export r; \
11892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11893 $(HOST_EXPORTS) \
11894 for flag in $(EXTRA_HOST_FLAGS) ; do \
11895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11896 done; \
11897 echo "Doing html in mpfr" ; \
11898 (cd $(HOST_SUBDIR)/mpfr && \
11899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11901 "RANLIB=$${RANLIB}" \
11902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11903 html) \
11904 || exit 1
11906 @endif mpfr
11908 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
11909 maybe-TAGS-mpfr:
11910 @if mpfr
11911 maybe-TAGS-mpfr: TAGS-mpfr
11913 TAGS-mpfr: \
11914 configure-mpfr
11915 @[ -f ./mpfr/Makefile ] || exit 0; \
11916 r=`${PWD_COMMAND}`; export r; \
11917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11918 $(HOST_EXPORTS) \
11919 for flag in $(EXTRA_HOST_FLAGS) ; do \
11920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11921 done; \
11922 echo "Doing TAGS in mpfr" ; \
11923 (cd $(HOST_SUBDIR)/mpfr && \
11924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11926 "RANLIB=$${RANLIB}" \
11927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11928 TAGS) \
11929 || exit 1
11931 @endif mpfr
11933 .PHONY: maybe-install-info-mpfr install-info-mpfr
11934 maybe-install-info-mpfr:
11935 @if mpfr
11936 maybe-install-info-mpfr: install-info-mpfr
11938 install-info-mpfr: \
11939 configure-mpfr \
11940 info-mpfr
11941 @[ -f ./mpfr/Makefile ] || exit 0; \
11942 r=`${PWD_COMMAND}`; export r; \
11943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11944 $(HOST_EXPORTS) \
11945 for flag in $(EXTRA_HOST_FLAGS) ; do \
11946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11947 done; \
11948 echo "Doing install-info in mpfr" ; \
11949 (cd $(HOST_SUBDIR)/mpfr && \
11950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11952 "RANLIB=$${RANLIB}" \
11953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11954 install-info) \
11955 || exit 1
11957 @endif mpfr
11959 .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr
11960 maybe-install-pdf-mpfr:
11961 @if mpfr
11962 maybe-install-pdf-mpfr: install-pdf-mpfr
11964 install-pdf-mpfr: \
11965 configure-mpfr \
11966 pdf-mpfr
11967 @[ -f ./mpfr/Makefile ] || exit 0; \
11968 r=`${PWD_COMMAND}`; export r; \
11969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11970 $(HOST_EXPORTS) \
11971 for flag in $(EXTRA_HOST_FLAGS) ; do \
11972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11973 done; \
11974 echo "Doing install-pdf in mpfr" ; \
11975 (cd $(HOST_SUBDIR)/mpfr && \
11976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11978 "RANLIB=$${RANLIB}" \
11979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11980 install-pdf) \
11981 || exit 1
11983 @endif mpfr
11985 .PHONY: maybe-install-html-mpfr install-html-mpfr
11986 maybe-install-html-mpfr:
11987 @if mpfr
11988 maybe-install-html-mpfr: install-html-mpfr
11990 install-html-mpfr: \
11991 configure-mpfr \
11992 html-mpfr
11993 @[ -f ./mpfr/Makefile ] || exit 0; \
11994 r=`${PWD_COMMAND}`; export r; \
11995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11996 $(HOST_EXPORTS) \
11997 for flag in $(EXTRA_HOST_FLAGS) ; do \
11998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11999 done; \
12000 echo "Doing install-html in mpfr" ; \
12001 (cd $(HOST_SUBDIR)/mpfr && \
12002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12004 "RANLIB=$${RANLIB}" \
12005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12006 install-html) \
12007 || exit 1
12009 @endif mpfr
12011 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
12012 maybe-installcheck-mpfr:
12013 @if mpfr
12014 maybe-installcheck-mpfr: installcheck-mpfr
12016 installcheck-mpfr: \
12017 configure-mpfr
12018 @[ -f ./mpfr/Makefile ] || exit 0; \
12019 r=`${PWD_COMMAND}`; export r; \
12020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12021 $(HOST_EXPORTS) \
12022 for flag in $(EXTRA_HOST_FLAGS) ; do \
12023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12024 done; \
12025 echo "Doing installcheck in mpfr" ; \
12026 (cd $(HOST_SUBDIR)/mpfr && \
12027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12029 "RANLIB=$${RANLIB}" \
12030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12031 installcheck) \
12032 || exit 1
12034 @endif mpfr
12036 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
12037 maybe-mostlyclean-mpfr:
12038 @if mpfr
12039 maybe-mostlyclean-mpfr: mostlyclean-mpfr
12041 mostlyclean-mpfr:
12042 @[ -f ./mpfr/Makefile ] || exit 0; \
12043 r=`${PWD_COMMAND}`; export r; \
12044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12045 $(HOST_EXPORTS) \
12046 for flag in $(EXTRA_HOST_FLAGS) ; do \
12047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12048 done; \
12049 echo "Doing mostlyclean in mpfr" ; \
12050 (cd $(HOST_SUBDIR)/mpfr && \
12051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12053 "RANLIB=$${RANLIB}" \
12054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12055 mostlyclean) \
12056 || exit 1
12058 @endif mpfr
12060 .PHONY: maybe-clean-mpfr clean-mpfr
12061 maybe-clean-mpfr:
12062 @if mpfr
12063 maybe-clean-mpfr: clean-mpfr
12065 clean-mpfr:
12066 @[ -f ./mpfr/Makefile ] || exit 0; \
12067 r=`${PWD_COMMAND}`; export r; \
12068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12069 $(HOST_EXPORTS) \
12070 for flag in $(EXTRA_HOST_FLAGS) ; do \
12071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12072 done; \
12073 echo "Doing clean in mpfr" ; \
12074 (cd $(HOST_SUBDIR)/mpfr && \
12075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12077 "RANLIB=$${RANLIB}" \
12078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12079 clean) \
12080 || exit 1
12082 @endif mpfr
12084 .PHONY: maybe-distclean-mpfr distclean-mpfr
12085 maybe-distclean-mpfr:
12086 @if mpfr
12087 maybe-distclean-mpfr: distclean-mpfr
12089 distclean-mpfr:
12090 @[ -f ./mpfr/Makefile ] || exit 0; \
12091 r=`${PWD_COMMAND}`; export r; \
12092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12093 $(HOST_EXPORTS) \
12094 for flag in $(EXTRA_HOST_FLAGS) ; do \
12095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12096 done; \
12097 echo "Doing distclean in mpfr" ; \
12098 (cd $(HOST_SUBDIR)/mpfr && \
12099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12101 "RANLIB=$${RANLIB}" \
12102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12103 distclean) \
12104 || exit 1
12106 @endif mpfr
12108 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
12109 maybe-maintainer-clean-mpfr:
12110 @if mpfr
12111 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
12113 maintainer-clean-mpfr:
12114 @[ -f ./mpfr/Makefile ] || exit 0; \
12115 r=`${PWD_COMMAND}`; export r; \
12116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12117 $(HOST_EXPORTS) \
12118 for flag in $(EXTRA_HOST_FLAGS) ; do \
12119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12120 done; \
12121 echo "Doing maintainer-clean in mpfr" ; \
12122 (cd $(HOST_SUBDIR)/mpfr && \
12123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12125 "RANLIB=$${RANLIB}" \
12126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12127 maintainer-clean) \
12128 || exit 1
12130 @endif mpfr
12134 .PHONY: configure-mpc maybe-configure-mpc
12135 maybe-configure-mpc:
12136 @if gcc-bootstrap
12137 configure-mpc: stage_current
12138 @endif gcc-bootstrap
12139 @if mpc
12140 maybe-configure-mpc: configure-mpc
12141 configure-mpc:
12142 @r=`${PWD_COMMAND}`; export r; \
12143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12144 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12145 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12146 $(HOST_EXPORTS) \
12147 echo Configuring in $(HOST_SUBDIR)/mpc; \
12148 cd "$(HOST_SUBDIR)/mpc" || exit 1; \
12149 case $(srcdir) in \
12150 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12151 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12152 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12153 esac; \
12154 srcdiroption="--srcdir=$${topdir}/mpc"; \
12155 libsrcdir="$$s/mpc"; \
12156 $(SHELL) $${libsrcdir}/configure \
12157 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12158 --target=${target_alias} $${srcdiroption} --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ \
12159 || exit 1
12160 @endif mpc
12164 .PHONY: configure-stage1-mpc maybe-configure-stage1-mpc
12165 maybe-configure-stage1-mpc:
12166 @if mpc-bootstrap
12167 maybe-configure-stage1-mpc: configure-stage1-mpc
12168 configure-stage1-mpc:
12169 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12170 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12171 @r=`${PWD_COMMAND}`; export r; \
12172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12173 TFLAGS="$(STAGE1_TFLAGS)"; \
12174 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12175 $(HOST_EXPORTS) \
12176 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
12177 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
12178 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
12179 echo Configuring stage 1 in $(HOST_SUBDIR)/mpc ; \
12180 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12181 cd $(HOST_SUBDIR)/mpc || exit 1; \
12182 case $(srcdir) in \
12183 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12184 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12185 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12186 esac; \
12187 srcdiroption="--srcdir=$${topdir}/mpc"; \
12188 libsrcdir="$$s/mpc"; \
12189 $(SHELL) $${libsrcdir}/configure \
12190 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12191 --target=${target_alias} $${srcdiroption} \
12192 $(STAGE1_CONFIGURE_FLAGS) \
12193 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12194 @endif mpc-bootstrap
12196 .PHONY: configure-stage2-mpc maybe-configure-stage2-mpc
12197 maybe-configure-stage2-mpc:
12198 @if mpc-bootstrap
12199 maybe-configure-stage2-mpc: configure-stage2-mpc
12200 configure-stage2-mpc:
12201 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12202 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12203 @r=`${PWD_COMMAND}`; export r; \
12204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12205 TFLAGS="$(STAGE2_TFLAGS)"; \
12206 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12207 $(HOST_EXPORTS) \
12208 $(POSTSTAGE1_HOST_EXPORTS) \
12209 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
12210 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
12211 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
12212 echo Configuring stage 2 in $(HOST_SUBDIR)/mpc ; \
12213 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12214 cd $(HOST_SUBDIR)/mpc || exit 1; \
12215 case $(srcdir) in \
12216 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12217 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12218 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12219 esac; \
12220 srcdiroption="--srcdir=$${topdir}/mpc"; \
12221 libsrcdir="$$s/mpc"; \
12222 $(SHELL) $${libsrcdir}/configure \
12223 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12224 --target=${target_alias} $${srcdiroption} \
12225 --with-build-libsubdir=$(HOST_SUBDIR) \
12226 $(STAGE2_CONFIGURE_FLAGS) \
12227 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12228 @endif mpc-bootstrap
12230 .PHONY: configure-stage3-mpc maybe-configure-stage3-mpc
12231 maybe-configure-stage3-mpc:
12232 @if mpc-bootstrap
12233 maybe-configure-stage3-mpc: configure-stage3-mpc
12234 configure-stage3-mpc:
12235 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12236 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12237 @r=`${PWD_COMMAND}`; export r; \
12238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12239 TFLAGS="$(STAGE3_TFLAGS)"; \
12240 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12241 $(HOST_EXPORTS) \
12242 $(POSTSTAGE1_HOST_EXPORTS) \
12243 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
12244 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
12245 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
12246 echo Configuring stage 3 in $(HOST_SUBDIR)/mpc ; \
12247 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12248 cd $(HOST_SUBDIR)/mpc || exit 1; \
12249 case $(srcdir) in \
12250 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12251 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12252 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12253 esac; \
12254 srcdiroption="--srcdir=$${topdir}/mpc"; \
12255 libsrcdir="$$s/mpc"; \
12256 $(SHELL) $${libsrcdir}/configure \
12257 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12258 --target=${target_alias} $${srcdiroption} \
12259 --with-build-libsubdir=$(HOST_SUBDIR) \
12260 $(STAGE3_CONFIGURE_FLAGS) \
12261 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12262 @endif mpc-bootstrap
12264 .PHONY: configure-stage4-mpc maybe-configure-stage4-mpc
12265 maybe-configure-stage4-mpc:
12266 @if mpc-bootstrap
12267 maybe-configure-stage4-mpc: configure-stage4-mpc
12268 configure-stage4-mpc:
12269 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12270 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12271 @r=`${PWD_COMMAND}`; export r; \
12272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12273 TFLAGS="$(STAGE4_TFLAGS)"; \
12274 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12275 $(HOST_EXPORTS) \
12276 $(POSTSTAGE1_HOST_EXPORTS) \
12277 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
12278 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
12279 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
12280 echo Configuring stage 4 in $(HOST_SUBDIR)/mpc ; \
12281 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12282 cd $(HOST_SUBDIR)/mpc || exit 1; \
12283 case $(srcdir) in \
12284 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12285 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12286 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12287 esac; \
12288 srcdiroption="--srcdir=$${topdir}/mpc"; \
12289 libsrcdir="$$s/mpc"; \
12290 $(SHELL) $${libsrcdir}/configure \
12291 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12292 --target=${target_alias} $${srcdiroption} \
12293 --with-build-libsubdir=$(HOST_SUBDIR) \
12294 $(STAGE4_CONFIGURE_FLAGS) \
12295 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12296 @endif mpc-bootstrap
12298 .PHONY: configure-stageprofile-mpc maybe-configure-stageprofile-mpc
12299 maybe-configure-stageprofile-mpc:
12300 @if mpc-bootstrap
12301 maybe-configure-stageprofile-mpc: configure-stageprofile-mpc
12302 configure-stageprofile-mpc:
12303 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12304 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12305 @r=`${PWD_COMMAND}`; export r; \
12306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12307 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12308 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12309 $(HOST_EXPORTS) \
12310 $(POSTSTAGE1_HOST_EXPORTS) \
12311 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
12312 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
12313 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
12314 echo Configuring stage profile in $(HOST_SUBDIR)/mpc ; \
12315 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12316 cd $(HOST_SUBDIR)/mpc || exit 1; \
12317 case $(srcdir) in \
12318 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12319 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12320 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12321 esac; \
12322 srcdiroption="--srcdir=$${topdir}/mpc"; \
12323 libsrcdir="$$s/mpc"; \
12324 $(SHELL) $${libsrcdir}/configure \
12325 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12326 --target=${target_alias} $${srcdiroption} \
12327 --with-build-libsubdir=$(HOST_SUBDIR) \
12328 $(STAGEprofile_CONFIGURE_FLAGS) \
12329 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12330 @endif mpc-bootstrap
12332 .PHONY: configure-stagefeedback-mpc maybe-configure-stagefeedback-mpc
12333 maybe-configure-stagefeedback-mpc:
12334 @if mpc-bootstrap
12335 maybe-configure-stagefeedback-mpc: configure-stagefeedback-mpc
12336 configure-stagefeedback-mpc:
12337 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12338 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12339 @r=`${PWD_COMMAND}`; export r; \
12340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12341 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12342 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12343 $(HOST_EXPORTS) \
12344 $(POSTSTAGE1_HOST_EXPORTS) \
12345 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
12346 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
12347 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
12348 echo Configuring stage feedback in $(HOST_SUBDIR)/mpc ; \
12349 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12350 cd $(HOST_SUBDIR)/mpc || exit 1; \
12351 case $(srcdir) in \
12352 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12353 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12354 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12355 esac; \
12356 srcdiroption="--srcdir=$${topdir}/mpc"; \
12357 libsrcdir="$$s/mpc"; \
12358 $(SHELL) $${libsrcdir}/configure \
12359 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12360 --target=${target_alias} $${srcdiroption} \
12361 --with-build-libsubdir=$(HOST_SUBDIR) \
12362 $(STAGEfeedback_CONFIGURE_FLAGS) \
12363 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12364 @endif mpc-bootstrap
12370 .PHONY: all-mpc maybe-all-mpc
12371 maybe-all-mpc:
12372 @if gcc-bootstrap
12373 all-mpc: stage_current
12374 @endif gcc-bootstrap
12375 @if mpc
12376 TARGET-mpc=all
12377 maybe-all-mpc: all-mpc
12378 all-mpc: configure-mpc
12379 @r=`${PWD_COMMAND}`; export r; \
12380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12381 $(HOST_EXPORTS) \
12382 (cd $(HOST_SUBDIR)/mpc && \
12383 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
12384 $(TARGET-mpc))
12385 @endif mpc
12389 .PHONY: all-stage1-mpc maybe-all-stage1-mpc
12390 .PHONY: clean-stage1-mpc maybe-clean-stage1-mpc
12391 maybe-all-stage1-mpc:
12392 maybe-clean-stage1-mpc:
12393 @if mpc-bootstrap
12394 maybe-all-stage1-mpc: all-stage1-mpc
12395 all-stage1: all-stage1-mpc
12396 TARGET-stage1-mpc = $(TARGET-mpc)
12397 all-stage1-mpc: configure-stage1-mpc
12398 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12399 @r=`${PWD_COMMAND}`; export r; \
12400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12401 TFLAGS="$(STAGE1_TFLAGS)"; \
12402 $(HOST_EXPORTS) \
12403 cd $(HOST_SUBDIR)/mpc && \
12404 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12405 CFLAGS="$(STAGE1_CFLAGS)" \
12406 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
12407 LIBCFLAGS="$(LIBCFLAGS)" \
12408 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12409 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12410 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12411 $(EXTRA_HOST_FLAGS) \
12412 $(STAGE1_FLAGS_TO_PASS) \
12413 TFLAGS="$(STAGE1_TFLAGS)" \
12414 $(TARGET-stage1-mpc)
12416 maybe-clean-stage1-mpc: clean-stage1-mpc
12417 clean-stage1: clean-stage1-mpc
12418 clean-stage1-mpc:
12419 @if [ $(current_stage) = stage1 ]; then \
12420 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12421 else \
12422 [ -f $(HOST_SUBDIR)/stage1-mpc/Makefile ] || exit 0; \
12423 $(MAKE) stage1-start; \
12424 fi; \
12425 cd $(HOST_SUBDIR)/mpc && \
12426 $(MAKE) $(EXTRA_HOST_FLAGS) \
12427 $(STAGE1_FLAGS_TO_PASS) clean
12428 @endif mpc-bootstrap
12431 .PHONY: all-stage2-mpc maybe-all-stage2-mpc
12432 .PHONY: clean-stage2-mpc maybe-clean-stage2-mpc
12433 maybe-all-stage2-mpc:
12434 maybe-clean-stage2-mpc:
12435 @if mpc-bootstrap
12436 maybe-all-stage2-mpc: all-stage2-mpc
12437 all-stage2: all-stage2-mpc
12438 TARGET-stage2-mpc = $(TARGET-mpc)
12439 all-stage2-mpc: configure-stage2-mpc
12440 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12441 @r=`${PWD_COMMAND}`; export r; \
12442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12443 TFLAGS="$(STAGE2_TFLAGS)"; \
12444 $(HOST_EXPORTS) \
12445 $(POSTSTAGE1_HOST_EXPORTS) \
12446 cd $(HOST_SUBDIR)/mpc && \
12447 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12448 CFLAGS="$(STAGE2_CFLAGS)" \
12449 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
12450 LIBCFLAGS="$(STAGE2_CFLAGS)" \
12451 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12452 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12453 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12454 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12455 TFLAGS="$(STAGE2_TFLAGS)" \
12456 $(TARGET-stage2-mpc)
12458 maybe-clean-stage2-mpc: clean-stage2-mpc
12459 clean-stage2: clean-stage2-mpc
12460 clean-stage2-mpc:
12461 @if [ $(current_stage) = stage2 ]; then \
12462 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12463 else \
12464 [ -f $(HOST_SUBDIR)/stage2-mpc/Makefile ] || exit 0; \
12465 $(MAKE) stage2-start; \
12466 fi; \
12467 cd $(HOST_SUBDIR)/mpc && \
12468 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12469 @endif mpc-bootstrap
12472 .PHONY: all-stage3-mpc maybe-all-stage3-mpc
12473 .PHONY: clean-stage3-mpc maybe-clean-stage3-mpc
12474 maybe-all-stage3-mpc:
12475 maybe-clean-stage3-mpc:
12476 @if mpc-bootstrap
12477 maybe-all-stage3-mpc: all-stage3-mpc
12478 all-stage3: all-stage3-mpc
12479 TARGET-stage3-mpc = $(TARGET-mpc)
12480 all-stage3-mpc: configure-stage3-mpc
12481 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12482 @r=`${PWD_COMMAND}`; export r; \
12483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12484 TFLAGS="$(STAGE3_TFLAGS)"; \
12485 $(HOST_EXPORTS) \
12486 $(POSTSTAGE1_HOST_EXPORTS) \
12487 cd $(HOST_SUBDIR)/mpc && \
12488 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12489 CFLAGS="$(STAGE3_CFLAGS)" \
12490 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
12491 LIBCFLAGS="$(STAGE3_CFLAGS)" \
12492 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12493 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12494 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12495 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12496 TFLAGS="$(STAGE3_TFLAGS)" \
12497 $(TARGET-stage3-mpc)
12499 maybe-clean-stage3-mpc: clean-stage3-mpc
12500 clean-stage3: clean-stage3-mpc
12501 clean-stage3-mpc:
12502 @if [ $(current_stage) = stage3 ]; then \
12503 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12504 else \
12505 [ -f $(HOST_SUBDIR)/stage3-mpc/Makefile ] || exit 0; \
12506 $(MAKE) stage3-start; \
12507 fi; \
12508 cd $(HOST_SUBDIR)/mpc && \
12509 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12510 @endif mpc-bootstrap
12513 .PHONY: all-stage4-mpc maybe-all-stage4-mpc
12514 .PHONY: clean-stage4-mpc maybe-clean-stage4-mpc
12515 maybe-all-stage4-mpc:
12516 maybe-clean-stage4-mpc:
12517 @if mpc-bootstrap
12518 maybe-all-stage4-mpc: all-stage4-mpc
12519 all-stage4: all-stage4-mpc
12520 TARGET-stage4-mpc = $(TARGET-mpc)
12521 all-stage4-mpc: configure-stage4-mpc
12522 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12523 @r=`${PWD_COMMAND}`; export r; \
12524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12525 TFLAGS="$(STAGE4_TFLAGS)"; \
12526 $(HOST_EXPORTS) \
12527 $(POSTSTAGE1_HOST_EXPORTS) \
12528 cd $(HOST_SUBDIR)/mpc && \
12529 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12530 CFLAGS="$(STAGE4_CFLAGS)" \
12531 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
12532 LIBCFLAGS="$(STAGE4_CFLAGS)" \
12533 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12534 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12535 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12536 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12537 TFLAGS="$(STAGE4_TFLAGS)" \
12538 $(TARGET-stage4-mpc)
12540 maybe-clean-stage4-mpc: clean-stage4-mpc
12541 clean-stage4: clean-stage4-mpc
12542 clean-stage4-mpc:
12543 @if [ $(current_stage) = stage4 ]; then \
12544 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12545 else \
12546 [ -f $(HOST_SUBDIR)/stage4-mpc/Makefile ] || exit 0; \
12547 $(MAKE) stage4-start; \
12548 fi; \
12549 cd $(HOST_SUBDIR)/mpc && \
12550 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12551 @endif mpc-bootstrap
12554 .PHONY: all-stageprofile-mpc maybe-all-stageprofile-mpc
12555 .PHONY: clean-stageprofile-mpc maybe-clean-stageprofile-mpc
12556 maybe-all-stageprofile-mpc:
12557 maybe-clean-stageprofile-mpc:
12558 @if mpc-bootstrap
12559 maybe-all-stageprofile-mpc: all-stageprofile-mpc
12560 all-stageprofile: all-stageprofile-mpc
12561 TARGET-stageprofile-mpc = $(TARGET-mpc)
12562 all-stageprofile-mpc: configure-stageprofile-mpc
12563 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12564 @r=`${PWD_COMMAND}`; export r; \
12565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12566 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12567 $(HOST_EXPORTS) \
12568 $(POSTSTAGE1_HOST_EXPORTS) \
12569 cd $(HOST_SUBDIR)/mpc && \
12570 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12571 CFLAGS="$(STAGEprofile_CFLAGS)" \
12572 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
12573 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
12574 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12575 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12576 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12577 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12578 TFLAGS="$(STAGEprofile_TFLAGS)" \
12579 $(TARGET-stageprofile-mpc)
12581 maybe-clean-stageprofile-mpc: clean-stageprofile-mpc
12582 clean-stageprofile: clean-stageprofile-mpc
12583 clean-stageprofile-mpc:
12584 @if [ $(current_stage) = stageprofile ]; then \
12585 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12586 else \
12587 [ -f $(HOST_SUBDIR)/stageprofile-mpc/Makefile ] || exit 0; \
12588 $(MAKE) stageprofile-start; \
12589 fi; \
12590 cd $(HOST_SUBDIR)/mpc && \
12591 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12592 @endif mpc-bootstrap
12595 .PHONY: all-stagefeedback-mpc maybe-all-stagefeedback-mpc
12596 .PHONY: clean-stagefeedback-mpc maybe-clean-stagefeedback-mpc
12597 maybe-all-stagefeedback-mpc:
12598 maybe-clean-stagefeedback-mpc:
12599 @if mpc-bootstrap
12600 maybe-all-stagefeedback-mpc: all-stagefeedback-mpc
12601 all-stagefeedback: all-stagefeedback-mpc
12602 TARGET-stagefeedback-mpc = $(TARGET-mpc)
12603 all-stagefeedback-mpc: configure-stagefeedback-mpc
12604 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12605 @r=`${PWD_COMMAND}`; export r; \
12606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12607 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12608 $(HOST_EXPORTS) \
12609 $(POSTSTAGE1_HOST_EXPORTS) \
12610 cd $(HOST_SUBDIR)/mpc && \
12611 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12612 CFLAGS="$(STAGEfeedback_CFLAGS)" \
12613 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
12614 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
12615 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12616 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12617 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12618 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12619 TFLAGS="$(STAGEfeedback_TFLAGS)" \
12620 $(TARGET-stagefeedback-mpc)
12622 maybe-clean-stagefeedback-mpc: clean-stagefeedback-mpc
12623 clean-stagefeedback: clean-stagefeedback-mpc
12624 clean-stagefeedback-mpc:
12625 @if [ $(current_stage) = stagefeedback ]; then \
12626 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12627 else \
12628 [ -f $(HOST_SUBDIR)/stagefeedback-mpc/Makefile ] || exit 0; \
12629 $(MAKE) stagefeedback-start; \
12630 fi; \
12631 cd $(HOST_SUBDIR)/mpc && \
12632 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12633 @endif mpc-bootstrap
12639 .PHONY: check-mpc maybe-check-mpc
12640 maybe-check-mpc:
12641 @if mpc
12642 maybe-check-mpc: check-mpc
12644 check-mpc:
12645 @: $(MAKE); $(unstage)
12646 @r=`${PWD_COMMAND}`; export r; \
12647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12648 $(HOST_EXPORTS) \
12649 (cd $(HOST_SUBDIR)/mpc && \
12650 $(MAKE) $(FLAGS_TO_PASS) check)
12652 @endif mpc
12654 .PHONY: install-mpc maybe-install-mpc
12655 maybe-install-mpc:
12656 @if mpc
12657 maybe-install-mpc: install-mpc
12659 install-mpc:
12661 @endif mpc
12663 .PHONY: install-strip-mpc maybe-install-strip-mpc
12664 maybe-install-strip-mpc:
12665 @if mpc
12666 maybe-install-strip-mpc: install-strip-mpc
12668 install-strip-mpc:
12670 @endif mpc
12672 # Other targets (info, dvi, pdf, etc.)
12674 .PHONY: maybe-info-mpc info-mpc
12675 maybe-info-mpc:
12676 @if mpc
12677 maybe-info-mpc: info-mpc
12679 info-mpc: \
12680 configure-mpc
12681 @[ -f ./mpc/Makefile ] || exit 0; \
12682 r=`${PWD_COMMAND}`; export r; \
12683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12684 $(HOST_EXPORTS) \
12685 for flag in $(EXTRA_HOST_FLAGS) ; do \
12686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12687 done; \
12688 echo "Doing info in mpc" ; \
12689 (cd $(HOST_SUBDIR)/mpc && \
12690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12692 "RANLIB=$${RANLIB}" \
12693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12694 info) \
12695 || exit 1
12697 @endif mpc
12699 .PHONY: maybe-dvi-mpc dvi-mpc
12700 maybe-dvi-mpc:
12701 @if mpc
12702 maybe-dvi-mpc: dvi-mpc
12704 dvi-mpc: \
12705 configure-mpc
12706 @[ -f ./mpc/Makefile ] || exit 0; \
12707 r=`${PWD_COMMAND}`; export r; \
12708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12709 $(HOST_EXPORTS) \
12710 for flag in $(EXTRA_HOST_FLAGS) ; do \
12711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12712 done; \
12713 echo "Doing dvi in mpc" ; \
12714 (cd $(HOST_SUBDIR)/mpc && \
12715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12717 "RANLIB=$${RANLIB}" \
12718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12719 dvi) \
12720 || exit 1
12722 @endif mpc
12724 .PHONY: maybe-pdf-mpc pdf-mpc
12725 maybe-pdf-mpc:
12726 @if mpc
12727 maybe-pdf-mpc: pdf-mpc
12729 pdf-mpc: \
12730 configure-mpc
12731 @[ -f ./mpc/Makefile ] || exit 0; \
12732 r=`${PWD_COMMAND}`; export r; \
12733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12734 $(HOST_EXPORTS) \
12735 for flag in $(EXTRA_HOST_FLAGS) ; do \
12736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12737 done; \
12738 echo "Doing pdf in mpc" ; \
12739 (cd $(HOST_SUBDIR)/mpc && \
12740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12742 "RANLIB=$${RANLIB}" \
12743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12744 pdf) \
12745 || exit 1
12747 @endif mpc
12749 .PHONY: maybe-html-mpc html-mpc
12750 maybe-html-mpc:
12751 @if mpc
12752 maybe-html-mpc: html-mpc
12754 html-mpc: \
12755 configure-mpc
12756 @[ -f ./mpc/Makefile ] || exit 0; \
12757 r=`${PWD_COMMAND}`; export r; \
12758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12759 $(HOST_EXPORTS) \
12760 for flag in $(EXTRA_HOST_FLAGS) ; do \
12761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12762 done; \
12763 echo "Doing html in mpc" ; \
12764 (cd $(HOST_SUBDIR)/mpc && \
12765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12767 "RANLIB=$${RANLIB}" \
12768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12769 html) \
12770 || exit 1
12772 @endif mpc
12774 .PHONY: maybe-TAGS-mpc TAGS-mpc
12775 maybe-TAGS-mpc:
12776 @if mpc
12777 maybe-TAGS-mpc: TAGS-mpc
12779 TAGS-mpc: \
12780 configure-mpc
12781 @[ -f ./mpc/Makefile ] || exit 0; \
12782 r=`${PWD_COMMAND}`; export r; \
12783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12784 $(HOST_EXPORTS) \
12785 for flag in $(EXTRA_HOST_FLAGS) ; do \
12786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12787 done; \
12788 echo "Doing TAGS in mpc" ; \
12789 (cd $(HOST_SUBDIR)/mpc && \
12790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12792 "RANLIB=$${RANLIB}" \
12793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12794 TAGS) \
12795 || exit 1
12797 @endif mpc
12799 .PHONY: maybe-install-info-mpc install-info-mpc
12800 maybe-install-info-mpc:
12801 @if mpc
12802 maybe-install-info-mpc: install-info-mpc
12804 install-info-mpc: \
12805 configure-mpc \
12806 info-mpc
12807 @[ -f ./mpc/Makefile ] || exit 0; \
12808 r=`${PWD_COMMAND}`; export r; \
12809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12810 $(HOST_EXPORTS) \
12811 for flag in $(EXTRA_HOST_FLAGS) ; do \
12812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12813 done; \
12814 echo "Doing install-info in mpc" ; \
12815 (cd $(HOST_SUBDIR)/mpc && \
12816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12818 "RANLIB=$${RANLIB}" \
12819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12820 install-info) \
12821 || exit 1
12823 @endif mpc
12825 .PHONY: maybe-install-pdf-mpc install-pdf-mpc
12826 maybe-install-pdf-mpc:
12827 @if mpc
12828 maybe-install-pdf-mpc: install-pdf-mpc
12830 install-pdf-mpc: \
12831 configure-mpc \
12832 pdf-mpc
12833 @[ -f ./mpc/Makefile ] || exit 0; \
12834 r=`${PWD_COMMAND}`; export r; \
12835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12836 $(HOST_EXPORTS) \
12837 for flag in $(EXTRA_HOST_FLAGS) ; do \
12838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12839 done; \
12840 echo "Doing install-pdf in mpc" ; \
12841 (cd $(HOST_SUBDIR)/mpc && \
12842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12844 "RANLIB=$${RANLIB}" \
12845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12846 install-pdf) \
12847 || exit 1
12849 @endif mpc
12851 .PHONY: maybe-install-html-mpc install-html-mpc
12852 maybe-install-html-mpc:
12853 @if mpc
12854 maybe-install-html-mpc: install-html-mpc
12856 install-html-mpc: \
12857 configure-mpc \
12858 html-mpc
12859 @[ -f ./mpc/Makefile ] || exit 0; \
12860 r=`${PWD_COMMAND}`; export r; \
12861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12862 $(HOST_EXPORTS) \
12863 for flag in $(EXTRA_HOST_FLAGS) ; do \
12864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12865 done; \
12866 echo "Doing install-html in mpc" ; \
12867 (cd $(HOST_SUBDIR)/mpc && \
12868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12870 "RANLIB=$${RANLIB}" \
12871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12872 install-html) \
12873 || exit 1
12875 @endif mpc
12877 .PHONY: maybe-installcheck-mpc installcheck-mpc
12878 maybe-installcheck-mpc:
12879 @if mpc
12880 maybe-installcheck-mpc: installcheck-mpc
12882 installcheck-mpc: \
12883 configure-mpc
12884 @[ -f ./mpc/Makefile ] || exit 0; \
12885 r=`${PWD_COMMAND}`; export r; \
12886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12887 $(HOST_EXPORTS) \
12888 for flag in $(EXTRA_HOST_FLAGS) ; do \
12889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12890 done; \
12891 echo "Doing installcheck in mpc" ; \
12892 (cd $(HOST_SUBDIR)/mpc && \
12893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12895 "RANLIB=$${RANLIB}" \
12896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12897 installcheck) \
12898 || exit 1
12900 @endif mpc
12902 .PHONY: maybe-mostlyclean-mpc mostlyclean-mpc
12903 maybe-mostlyclean-mpc:
12904 @if mpc
12905 maybe-mostlyclean-mpc: mostlyclean-mpc
12907 mostlyclean-mpc:
12908 @[ -f ./mpc/Makefile ] || exit 0; \
12909 r=`${PWD_COMMAND}`; export r; \
12910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12911 $(HOST_EXPORTS) \
12912 for flag in $(EXTRA_HOST_FLAGS) ; do \
12913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12914 done; \
12915 echo "Doing mostlyclean in mpc" ; \
12916 (cd $(HOST_SUBDIR)/mpc && \
12917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12919 "RANLIB=$${RANLIB}" \
12920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12921 mostlyclean) \
12922 || exit 1
12924 @endif mpc
12926 .PHONY: maybe-clean-mpc clean-mpc
12927 maybe-clean-mpc:
12928 @if mpc
12929 maybe-clean-mpc: clean-mpc
12931 clean-mpc:
12932 @[ -f ./mpc/Makefile ] || exit 0; \
12933 r=`${PWD_COMMAND}`; export r; \
12934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12935 $(HOST_EXPORTS) \
12936 for flag in $(EXTRA_HOST_FLAGS) ; do \
12937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12938 done; \
12939 echo "Doing clean in mpc" ; \
12940 (cd $(HOST_SUBDIR)/mpc && \
12941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12943 "RANLIB=$${RANLIB}" \
12944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12945 clean) \
12946 || exit 1
12948 @endif mpc
12950 .PHONY: maybe-distclean-mpc distclean-mpc
12951 maybe-distclean-mpc:
12952 @if mpc
12953 maybe-distclean-mpc: distclean-mpc
12955 distclean-mpc:
12956 @[ -f ./mpc/Makefile ] || exit 0; \
12957 r=`${PWD_COMMAND}`; export r; \
12958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12959 $(HOST_EXPORTS) \
12960 for flag in $(EXTRA_HOST_FLAGS) ; do \
12961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12962 done; \
12963 echo "Doing distclean in mpc" ; \
12964 (cd $(HOST_SUBDIR)/mpc && \
12965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12967 "RANLIB=$${RANLIB}" \
12968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12969 distclean) \
12970 || exit 1
12972 @endif mpc
12974 .PHONY: maybe-maintainer-clean-mpc maintainer-clean-mpc
12975 maybe-maintainer-clean-mpc:
12976 @if mpc
12977 maybe-maintainer-clean-mpc: maintainer-clean-mpc
12979 maintainer-clean-mpc:
12980 @[ -f ./mpc/Makefile ] || exit 0; \
12981 r=`${PWD_COMMAND}`; export r; \
12982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12983 $(HOST_EXPORTS) \
12984 for flag in $(EXTRA_HOST_FLAGS) ; do \
12985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12986 done; \
12987 echo "Doing maintainer-clean in mpc" ; \
12988 (cd $(HOST_SUBDIR)/mpc && \
12989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12991 "RANLIB=$${RANLIB}" \
12992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12993 maintainer-clean) \
12994 || exit 1
12996 @endif mpc
13000 .PHONY: configure-isl maybe-configure-isl
13001 maybe-configure-isl:
13002 @if gcc-bootstrap
13003 configure-isl: stage_current
13004 @endif gcc-bootstrap
13005 @if isl
13006 maybe-configure-isl: configure-isl
13007 configure-isl:
13008 @r=`${PWD_COMMAND}`; export r; \
13009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13010 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13011 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13012 $(HOST_EXPORTS) \
13013 echo Configuring in $(HOST_SUBDIR)/isl; \
13014 cd "$(HOST_SUBDIR)/isl" || exit 1; \
13015 case $(srcdir) in \
13016 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13017 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13018 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13019 esac; \
13020 srcdiroption="--srcdir=$${topdir}/isl"; \
13021 libsrcdir="$$s/isl"; \
13022 $(SHELL) $${libsrcdir}/configure \
13023 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13024 --target=${target_alias} $${srcdiroption} --disable-shared @extra_isl_gmp_configure_flags@ \
13025 || exit 1
13026 @endif isl
13030 .PHONY: configure-stage1-isl maybe-configure-stage1-isl
13031 maybe-configure-stage1-isl:
13032 @if isl-bootstrap
13033 maybe-configure-stage1-isl: configure-stage1-isl
13034 configure-stage1-isl:
13035 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13036 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13037 @r=`${PWD_COMMAND}`; export r; \
13038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13039 TFLAGS="$(STAGE1_TFLAGS)"; \
13040 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13041 $(HOST_EXPORTS) \
13042 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13043 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13044 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
13045 echo Configuring stage 1 in $(HOST_SUBDIR)/isl ; \
13046 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13047 cd $(HOST_SUBDIR)/isl || exit 1; \
13048 case $(srcdir) in \
13049 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13050 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13051 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13052 esac; \
13053 srcdiroption="--srcdir=$${topdir}/isl"; \
13054 libsrcdir="$$s/isl"; \
13055 $(SHELL) $${libsrcdir}/configure \
13056 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13057 --target=${target_alias} $${srcdiroption} \
13058 $(STAGE1_CONFIGURE_FLAGS) \
13059 --disable-shared @extra_isl_gmp_configure_flags@
13060 @endif isl-bootstrap
13062 .PHONY: configure-stage2-isl maybe-configure-stage2-isl
13063 maybe-configure-stage2-isl:
13064 @if isl-bootstrap
13065 maybe-configure-stage2-isl: configure-stage2-isl
13066 configure-stage2-isl:
13067 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13068 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13069 @r=`${PWD_COMMAND}`; export r; \
13070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13071 TFLAGS="$(STAGE2_TFLAGS)"; \
13072 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13073 $(HOST_EXPORTS) \
13074 $(POSTSTAGE1_HOST_EXPORTS) \
13075 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13076 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13077 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
13078 echo Configuring stage 2 in $(HOST_SUBDIR)/isl ; \
13079 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13080 cd $(HOST_SUBDIR)/isl || exit 1; \
13081 case $(srcdir) in \
13082 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13083 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13084 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13085 esac; \
13086 srcdiroption="--srcdir=$${topdir}/isl"; \
13087 libsrcdir="$$s/isl"; \
13088 $(SHELL) $${libsrcdir}/configure \
13089 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13090 --target=${target_alias} $${srcdiroption} \
13091 --with-build-libsubdir=$(HOST_SUBDIR) \
13092 $(STAGE2_CONFIGURE_FLAGS) \
13093 --disable-shared @extra_isl_gmp_configure_flags@
13094 @endif isl-bootstrap
13096 .PHONY: configure-stage3-isl maybe-configure-stage3-isl
13097 maybe-configure-stage3-isl:
13098 @if isl-bootstrap
13099 maybe-configure-stage3-isl: configure-stage3-isl
13100 configure-stage3-isl:
13101 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13102 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13103 @r=`${PWD_COMMAND}`; export r; \
13104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13105 TFLAGS="$(STAGE3_TFLAGS)"; \
13106 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13107 $(HOST_EXPORTS) \
13108 $(POSTSTAGE1_HOST_EXPORTS) \
13109 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13110 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13111 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
13112 echo Configuring stage 3 in $(HOST_SUBDIR)/isl ; \
13113 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13114 cd $(HOST_SUBDIR)/isl || exit 1; \
13115 case $(srcdir) in \
13116 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13117 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13118 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13119 esac; \
13120 srcdiroption="--srcdir=$${topdir}/isl"; \
13121 libsrcdir="$$s/isl"; \
13122 $(SHELL) $${libsrcdir}/configure \
13123 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13124 --target=${target_alias} $${srcdiroption} \
13125 --with-build-libsubdir=$(HOST_SUBDIR) \
13126 $(STAGE3_CONFIGURE_FLAGS) \
13127 --disable-shared @extra_isl_gmp_configure_flags@
13128 @endif isl-bootstrap
13130 .PHONY: configure-stage4-isl maybe-configure-stage4-isl
13131 maybe-configure-stage4-isl:
13132 @if isl-bootstrap
13133 maybe-configure-stage4-isl: configure-stage4-isl
13134 configure-stage4-isl:
13135 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13136 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13137 @r=`${PWD_COMMAND}`; export r; \
13138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13139 TFLAGS="$(STAGE4_TFLAGS)"; \
13140 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13141 $(HOST_EXPORTS) \
13142 $(POSTSTAGE1_HOST_EXPORTS) \
13143 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13144 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13145 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
13146 echo Configuring stage 4 in $(HOST_SUBDIR)/isl ; \
13147 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13148 cd $(HOST_SUBDIR)/isl || exit 1; \
13149 case $(srcdir) in \
13150 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13151 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13152 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13153 esac; \
13154 srcdiroption="--srcdir=$${topdir}/isl"; \
13155 libsrcdir="$$s/isl"; \
13156 $(SHELL) $${libsrcdir}/configure \
13157 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13158 --target=${target_alias} $${srcdiroption} \
13159 --with-build-libsubdir=$(HOST_SUBDIR) \
13160 $(STAGE4_CONFIGURE_FLAGS) \
13161 --disable-shared @extra_isl_gmp_configure_flags@
13162 @endif isl-bootstrap
13164 .PHONY: configure-stageprofile-isl maybe-configure-stageprofile-isl
13165 maybe-configure-stageprofile-isl:
13166 @if isl-bootstrap
13167 maybe-configure-stageprofile-isl: configure-stageprofile-isl
13168 configure-stageprofile-isl:
13169 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13170 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13171 @r=`${PWD_COMMAND}`; export r; \
13172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13173 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13174 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13175 $(HOST_EXPORTS) \
13176 $(POSTSTAGE1_HOST_EXPORTS) \
13177 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
13178 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
13179 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
13180 echo Configuring stage profile in $(HOST_SUBDIR)/isl ; \
13181 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13182 cd $(HOST_SUBDIR)/isl || exit 1; \
13183 case $(srcdir) in \
13184 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13185 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13186 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13187 esac; \
13188 srcdiroption="--srcdir=$${topdir}/isl"; \
13189 libsrcdir="$$s/isl"; \
13190 $(SHELL) $${libsrcdir}/configure \
13191 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13192 --target=${target_alias} $${srcdiroption} \
13193 --with-build-libsubdir=$(HOST_SUBDIR) \
13194 $(STAGEprofile_CONFIGURE_FLAGS) \
13195 --disable-shared @extra_isl_gmp_configure_flags@
13196 @endif isl-bootstrap
13198 .PHONY: configure-stagefeedback-isl maybe-configure-stagefeedback-isl
13199 maybe-configure-stagefeedback-isl:
13200 @if isl-bootstrap
13201 maybe-configure-stagefeedback-isl: configure-stagefeedback-isl
13202 configure-stagefeedback-isl:
13203 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13204 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13205 @r=`${PWD_COMMAND}`; export r; \
13206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13207 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13208 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13209 $(HOST_EXPORTS) \
13210 $(POSTSTAGE1_HOST_EXPORTS) \
13211 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
13212 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
13213 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
13214 echo Configuring stage feedback in $(HOST_SUBDIR)/isl ; \
13215 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13216 cd $(HOST_SUBDIR)/isl || exit 1; \
13217 case $(srcdir) in \
13218 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13219 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13220 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13221 esac; \
13222 srcdiroption="--srcdir=$${topdir}/isl"; \
13223 libsrcdir="$$s/isl"; \
13224 $(SHELL) $${libsrcdir}/configure \
13225 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13226 --target=${target_alias} $${srcdiroption} \
13227 --with-build-libsubdir=$(HOST_SUBDIR) \
13228 $(STAGEfeedback_CONFIGURE_FLAGS) \
13229 --disable-shared @extra_isl_gmp_configure_flags@
13230 @endif isl-bootstrap
13236 .PHONY: all-isl maybe-all-isl
13237 maybe-all-isl:
13238 @if gcc-bootstrap
13239 all-isl: stage_current
13240 @endif gcc-bootstrap
13241 @if isl
13242 TARGET-isl=all
13243 maybe-all-isl: all-isl
13244 all-isl: configure-isl
13245 @r=`${PWD_COMMAND}`; export r; \
13246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13247 $(HOST_EXPORTS) \
13248 (cd $(HOST_SUBDIR)/isl && \
13249 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) V=1 \
13250 $(TARGET-isl))
13251 @endif isl
13255 .PHONY: all-stage1-isl maybe-all-stage1-isl
13256 .PHONY: clean-stage1-isl maybe-clean-stage1-isl
13257 maybe-all-stage1-isl:
13258 maybe-clean-stage1-isl:
13259 @if isl-bootstrap
13260 maybe-all-stage1-isl: all-stage1-isl
13261 all-stage1: all-stage1-isl
13262 TARGET-stage1-isl = $(TARGET-isl)
13263 all-stage1-isl: configure-stage1-isl
13264 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13265 @r=`${PWD_COMMAND}`; export r; \
13266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13267 TFLAGS="$(STAGE1_TFLAGS)"; \
13268 $(HOST_EXPORTS) \
13269 cd $(HOST_SUBDIR)/isl && \
13270 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13271 CFLAGS="$(STAGE1_CFLAGS)" \
13272 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
13273 LIBCFLAGS="$(LIBCFLAGS)" \
13274 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13275 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13276 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13277 $(EXTRA_HOST_FLAGS) \
13278 $(STAGE1_FLAGS_TO_PASS) V=1 \
13279 TFLAGS="$(STAGE1_TFLAGS)" \
13280 $(TARGET-stage1-isl)
13282 maybe-clean-stage1-isl: clean-stage1-isl
13283 clean-stage1: clean-stage1-isl
13284 clean-stage1-isl:
13285 @if [ $(current_stage) = stage1 ]; then \
13286 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13287 else \
13288 [ -f $(HOST_SUBDIR)/stage1-isl/Makefile ] || exit 0; \
13289 $(MAKE) stage1-start; \
13290 fi; \
13291 cd $(HOST_SUBDIR)/isl && \
13292 $(MAKE) $(EXTRA_HOST_FLAGS) \
13293 $(STAGE1_FLAGS_TO_PASS) V=1 clean
13294 @endif isl-bootstrap
13297 .PHONY: all-stage2-isl maybe-all-stage2-isl
13298 .PHONY: clean-stage2-isl maybe-clean-stage2-isl
13299 maybe-all-stage2-isl:
13300 maybe-clean-stage2-isl:
13301 @if isl-bootstrap
13302 maybe-all-stage2-isl: all-stage2-isl
13303 all-stage2: all-stage2-isl
13304 TARGET-stage2-isl = $(TARGET-isl)
13305 all-stage2-isl: configure-stage2-isl
13306 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13307 @r=`${PWD_COMMAND}`; export r; \
13308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13309 TFLAGS="$(STAGE2_TFLAGS)"; \
13310 $(HOST_EXPORTS) \
13311 $(POSTSTAGE1_HOST_EXPORTS) \
13312 cd $(HOST_SUBDIR)/isl && \
13313 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13314 CFLAGS="$(STAGE2_CFLAGS)" \
13315 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
13316 LIBCFLAGS="$(STAGE2_CFLAGS)" \
13317 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13318 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13319 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13320 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13321 TFLAGS="$(STAGE2_TFLAGS)" \
13322 $(TARGET-stage2-isl)
13324 maybe-clean-stage2-isl: clean-stage2-isl
13325 clean-stage2: clean-stage2-isl
13326 clean-stage2-isl:
13327 @if [ $(current_stage) = stage2 ]; then \
13328 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13329 else \
13330 [ -f $(HOST_SUBDIR)/stage2-isl/Makefile ] || exit 0; \
13331 $(MAKE) stage2-start; \
13332 fi; \
13333 cd $(HOST_SUBDIR)/isl && \
13334 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13335 @endif isl-bootstrap
13338 .PHONY: all-stage3-isl maybe-all-stage3-isl
13339 .PHONY: clean-stage3-isl maybe-clean-stage3-isl
13340 maybe-all-stage3-isl:
13341 maybe-clean-stage3-isl:
13342 @if isl-bootstrap
13343 maybe-all-stage3-isl: all-stage3-isl
13344 all-stage3: all-stage3-isl
13345 TARGET-stage3-isl = $(TARGET-isl)
13346 all-stage3-isl: configure-stage3-isl
13347 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13348 @r=`${PWD_COMMAND}`; export r; \
13349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13350 TFLAGS="$(STAGE3_TFLAGS)"; \
13351 $(HOST_EXPORTS) \
13352 $(POSTSTAGE1_HOST_EXPORTS) \
13353 cd $(HOST_SUBDIR)/isl && \
13354 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13355 CFLAGS="$(STAGE3_CFLAGS)" \
13356 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
13357 LIBCFLAGS="$(STAGE3_CFLAGS)" \
13358 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13359 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13360 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13361 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13362 TFLAGS="$(STAGE3_TFLAGS)" \
13363 $(TARGET-stage3-isl)
13365 maybe-clean-stage3-isl: clean-stage3-isl
13366 clean-stage3: clean-stage3-isl
13367 clean-stage3-isl:
13368 @if [ $(current_stage) = stage3 ]; then \
13369 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13370 else \
13371 [ -f $(HOST_SUBDIR)/stage3-isl/Makefile ] || exit 0; \
13372 $(MAKE) stage3-start; \
13373 fi; \
13374 cd $(HOST_SUBDIR)/isl && \
13375 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13376 @endif isl-bootstrap
13379 .PHONY: all-stage4-isl maybe-all-stage4-isl
13380 .PHONY: clean-stage4-isl maybe-clean-stage4-isl
13381 maybe-all-stage4-isl:
13382 maybe-clean-stage4-isl:
13383 @if isl-bootstrap
13384 maybe-all-stage4-isl: all-stage4-isl
13385 all-stage4: all-stage4-isl
13386 TARGET-stage4-isl = $(TARGET-isl)
13387 all-stage4-isl: configure-stage4-isl
13388 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13389 @r=`${PWD_COMMAND}`; export r; \
13390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13391 TFLAGS="$(STAGE4_TFLAGS)"; \
13392 $(HOST_EXPORTS) \
13393 $(POSTSTAGE1_HOST_EXPORTS) \
13394 cd $(HOST_SUBDIR)/isl && \
13395 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13396 CFLAGS="$(STAGE4_CFLAGS)" \
13397 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
13398 LIBCFLAGS="$(STAGE4_CFLAGS)" \
13399 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13400 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13401 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13402 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13403 TFLAGS="$(STAGE4_TFLAGS)" \
13404 $(TARGET-stage4-isl)
13406 maybe-clean-stage4-isl: clean-stage4-isl
13407 clean-stage4: clean-stage4-isl
13408 clean-stage4-isl:
13409 @if [ $(current_stage) = stage4 ]; then \
13410 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13411 else \
13412 [ -f $(HOST_SUBDIR)/stage4-isl/Makefile ] || exit 0; \
13413 $(MAKE) stage4-start; \
13414 fi; \
13415 cd $(HOST_SUBDIR)/isl && \
13416 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13417 @endif isl-bootstrap
13420 .PHONY: all-stageprofile-isl maybe-all-stageprofile-isl
13421 .PHONY: clean-stageprofile-isl maybe-clean-stageprofile-isl
13422 maybe-all-stageprofile-isl:
13423 maybe-clean-stageprofile-isl:
13424 @if isl-bootstrap
13425 maybe-all-stageprofile-isl: all-stageprofile-isl
13426 all-stageprofile: all-stageprofile-isl
13427 TARGET-stageprofile-isl = $(TARGET-isl)
13428 all-stageprofile-isl: configure-stageprofile-isl
13429 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13430 @r=`${PWD_COMMAND}`; export r; \
13431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13432 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13433 $(HOST_EXPORTS) \
13434 $(POSTSTAGE1_HOST_EXPORTS) \
13435 cd $(HOST_SUBDIR)/isl && \
13436 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13437 CFLAGS="$(STAGEprofile_CFLAGS)" \
13438 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
13439 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
13440 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13441 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13442 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13443 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13444 TFLAGS="$(STAGEprofile_TFLAGS)" \
13445 $(TARGET-stageprofile-isl)
13447 maybe-clean-stageprofile-isl: clean-stageprofile-isl
13448 clean-stageprofile: clean-stageprofile-isl
13449 clean-stageprofile-isl:
13450 @if [ $(current_stage) = stageprofile ]; then \
13451 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13452 else \
13453 [ -f $(HOST_SUBDIR)/stageprofile-isl/Makefile ] || exit 0; \
13454 $(MAKE) stageprofile-start; \
13455 fi; \
13456 cd $(HOST_SUBDIR)/isl && \
13457 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13458 @endif isl-bootstrap
13461 .PHONY: all-stagefeedback-isl maybe-all-stagefeedback-isl
13462 .PHONY: clean-stagefeedback-isl maybe-clean-stagefeedback-isl
13463 maybe-all-stagefeedback-isl:
13464 maybe-clean-stagefeedback-isl:
13465 @if isl-bootstrap
13466 maybe-all-stagefeedback-isl: all-stagefeedback-isl
13467 all-stagefeedback: all-stagefeedback-isl
13468 TARGET-stagefeedback-isl = $(TARGET-isl)
13469 all-stagefeedback-isl: configure-stagefeedback-isl
13470 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13471 @r=`${PWD_COMMAND}`; export r; \
13472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13473 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13474 $(HOST_EXPORTS) \
13475 $(POSTSTAGE1_HOST_EXPORTS) \
13476 cd $(HOST_SUBDIR)/isl && \
13477 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13478 CFLAGS="$(STAGEfeedback_CFLAGS)" \
13479 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
13480 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
13481 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13482 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13483 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13484 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13485 TFLAGS="$(STAGEfeedback_TFLAGS)" \
13486 $(TARGET-stagefeedback-isl)
13488 maybe-clean-stagefeedback-isl: clean-stagefeedback-isl
13489 clean-stagefeedback: clean-stagefeedback-isl
13490 clean-stagefeedback-isl:
13491 @if [ $(current_stage) = stagefeedback ]; then \
13492 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13493 else \
13494 [ -f $(HOST_SUBDIR)/stagefeedback-isl/Makefile ] || exit 0; \
13495 $(MAKE) stagefeedback-start; \
13496 fi; \
13497 cd $(HOST_SUBDIR)/isl && \
13498 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13499 @endif isl-bootstrap
13505 .PHONY: check-isl maybe-check-isl
13506 maybe-check-isl:
13507 @if isl
13508 maybe-check-isl: check-isl
13510 check-isl:
13511 @: $(MAKE); $(unstage)
13512 @r=`${PWD_COMMAND}`; export r; \
13513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13514 $(HOST_EXPORTS) \
13515 (cd $(HOST_SUBDIR)/isl && \
13516 $(MAKE) $(FLAGS_TO_PASS) V=1 check)
13518 @endif isl
13520 .PHONY: install-isl maybe-install-isl
13521 maybe-install-isl:
13522 @if isl
13523 maybe-install-isl: install-isl
13525 install-isl:
13527 @endif isl
13529 .PHONY: install-strip-isl maybe-install-strip-isl
13530 maybe-install-strip-isl:
13531 @if isl
13532 maybe-install-strip-isl: install-strip-isl
13534 install-strip-isl:
13536 @endif isl
13538 # Other targets (info, dvi, pdf, etc.)
13540 .PHONY: maybe-info-isl info-isl
13541 maybe-info-isl:
13542 @if isl
13543 maybe-info-isl: info-isl
13545 info-isl: \
13546 configure-isl
13547 @[ -f ./isl/Makefile ] || exit 0; \
13548 r=`${PWD_COMMAND}`; export r; \
13549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13550 $(HOST_EXPORTS) \
13551 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13553 done; \
13554 echo "Doing info in isl" ; \
13555 (cd $(HOST_SUBDIR)/isl && \
13556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13558 "RANLIB=$${RANLIB}" \
13559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13560 info) \
13561 || exit 1
13563 @endif isl
13565 .PHONY: maybe-dvi-isl dvi-isl
13566 maybe-dvi-isl:
13567 @if isl
13568 maybe-dvi-isl: dvi-isl
13570 dvi-isl: \
13571 configure-isl
13572 @[ -f ./isl/Makefile ] || exit 0; \
13573 r=`${PWD_COMMAND}`; export r; \
13574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13575 $(HOST_EXPORTS) \
13576 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13578 done; \
13579 echo "Doing dvi in isl" ; \
13580 (cd $(HOST_SUBDIR)/isl && \
13581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13583 "RANLIB=$${RANLIB}" \
13584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13585 dvi) \
13586 || exit 1
13588 @endif isl
13590 .PHONY: maybe-pdf-isl pdf-isl
13591 maybe-pdf-isl:
13592 @if isl
13593 maybe-pdf-isl: pdf-isl
13595 pdf-isl: \
13596 configure-isl
13597 @[ -f ./isl/Makefile ] || exit 0; \
13598 r=`${PWD_COMMAND}`; export r; \
13599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13600 $(HOST_EXPORTS) \
13601 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13603 done; \
13604 echo "Doing pdf in isl" ; \
13605 (cd $(HOST_SUBDIR)/isl && \
13606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13608 "RANLIB=$${RANLIB}" \
13609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13610 pdf) \
13611 || exit 1
13613 @endif isl
13615 .PHONY: maybe-html-isl html-isl
13616 maybe-html-isl:
13617 @if isl
13618 maybe-html-isl: html-isl
13620 html-isl: \
13621 configure-isl
13622 @[ -f ./isl/Makefile ] || exit 0; \
13623 r=`${PWD_COMMAND}`; export r; \
13624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13625 $(HOST_EXPORTS) \
13626 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13628 done; \
13629 echo "Doing html in isl" ; \
13630 (cd $(HOST_SUBDIR)/isl && \
13631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13633 "RANLIB=$${RANLIB}" \
13634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13635 html) \
13636 || exit 1
13638 @endif isl
13640 .PHONY: maybe-TAGS-isl TAGS-isl
13641 maybe-TAGS-isl:
13642 @if isl
13643 maybe-TAGS-isl: TAGS-isl
13645 TAGS-isl: \
13646 configure-isl
13647 @[ -f ./isl/Makefile ] || exit 0; \
13648 r=`${PWD_COMMAND}`; export r; \
13649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13650 $(HOST_EXPORTS) \
13651 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13653 done; \
13654 echo "Doing TAGS in isl" ; \
13655 (cd $(HOST_SUBDIR)/isl && \
13656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13658 "RANLIB=$${RANLIB}" \
13659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13660 TAGS) \
13661 || exit 1
13663 @endif isl
13665 .PHONY: maybe-install-info-isl install-info-isl
13666 maybe-install-info-isl:
13667 @if isl
13668 maybe-install-info-isl: install-info-isl
13670 install-info-isl: \
13671 configure-isl \
13672 info-isl
13673 @[ -f ./isl/Makefile ] || exit 0; \
13674 r=`${PWD_COMMAND}`; export r; \
13675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13676 $(HOST_EXPORTS) \
13677 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13679 done; \
13680 echo "Doing install-info in isl" ; \
13681 (cd $(HOST_SUBDIR)/isl && \
13682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13684 "RANLIB=$${RANLIB}" \
13685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13686 install-info) \
13687 || exit 1
13689 @endif isl
13691 .PHONY: maybe-install-pdf-isl install-pdf-isl
13692 maybe-install-pdf-isl:
13693 @if isl
13694 maybe-install-pdf-isl: install-pdf-isl
13696 install-pdf-isl: \
13697 configure-isl \
13698 pdf-isl
13699 @[ -f ./isl/Makefile ] || exit 0; \
13700 r=`${PWD_COMMAND}`; export r; \
13701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13702 $(HOST_EXPORTS) \
13703 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13705 done; \
13706 echo "Doing install-pdf in isl" ; \
13707 (cd $(HOST_SUBDIR)/isl && \
13708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13710 "RANLIB=$${RANLIB}" \
13711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13712 install-pdf) \
13713 || exit 1
13715 @endif isl
13717 .PHONY: maybe-install-html-isl install-html-isl
13718 maybe-install-html-isl:
13719 @if isl
13720 maybe-install-html-isl: install-html-isl
13722 install-html-isl: \
13723 configure-isl \
13724 html-isl
13725 @[ -f ./isl/Makefile ] || exit 0; \
13726 r=`${PWD_COMMAND}`; export r; \
13727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13728 $(HOST_EXPORTS) \
13729 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13731 done; \
13732 echo "Doing install-html in isl" ; \
13733 (cd $(HOST_SUBDIR)/isl && \
13734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13736 "RANLIB=$${RANLIB}" \
13737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13738 install-html) \
13739 || exit 1
13741 @endif isl
13743 .PHONY: maybe-installcheck-isl installcheck-isl
13744 maybe-installcheck-isl:
13745 @if isl
13746 maybe-installcheck-isl: installcheck-isl
13748 installcheck-isl: \
13749 configure-isl
13750 @[ -f ./isl/Makefile ] || exit 0; \
13751 r=`${PWD_COMMAND}`; export r; \
13752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13753 $(HOST_EXPORTS) \
13754 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13756 done; \
13757 echo "Doing installcheck in isl" ; \
13758 (cd $(HOST_SUBDIR)/isl && \
13759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13761 "RANLIB=$${RANLIB}" \
13762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13763 installcheck) \
13764 || exit 1
13766 @endif isl
13768 .PHONY: maybe-mostlyclean-isl mostlyclean-isl
13769 maybe-mostlyclean-isl:
13770 @if isl
13771 maybe-mostlyclean-isl: mostlyclean-isl
13773 mostlyclean-isl:
13774 @[ -f ./isl/Makefile ] || exit 0; \
13775 r=`${PWD_COMMAND}`; export r; \
13776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13777 $(HOST_EXPORTS) \
13778 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13780 done; \
13781 echo "Doing mostlyclean in isl" ; \
13782 (cd $(HOST_SUBDIR)/isl && \
13783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13785 "RANLIB=$${RANLIB}" \
13786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13787 mostlyclean) \
13788 || exit 1
13790 @endif isl
13792 .PHONY: maybe-clean-isl clean-isl
13793 maybe-clean-isl:
13794 @if isl
13795 maybe-clean-isl: clean-isl
13797 clean-isl:
13798 @[ -f ./isl/Makefile ] || exit 0; \
13799 r=`${PWD_COMMAND}`; export r; \
13800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13801 $(HOST_EXPORTS) \
13802 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13804 done; \
13805 echo "Doing clean in isl" ; \
13806 (cd $(HOST_SUBDIR)/isl && \
13807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13809 "RANLIB=$${RANLIB}" \
13810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13811 clean) \
13812 || exit 1
13814 @endif isl
13816 .PHONY: maybe-distclean-isl distclean-isl
13817 maybe-distclean-isl:
13818 @if isl
13819 maybe-distclean-isl: distclean-isl
13821 distclean-isl:
13822 @[ -f ./isl/Makefile ] || exit 0; \
13823 r=`${PWD_COMMAND}`; export r; \
13824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13825 $(HOST_EXPORTS) \
13826 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13828 done; \
13829 echo "Doing distclean in isl" ; \
13830 (cd $(HOST_SUBDIR)/isl && \
13831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13833 "RANLIB=$${RANLIB}" \
13834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13835 distclean) \
13836 || exit 1
13838 @endif isl
13840 .PHONY: maybe-maintainer-clean-isl maintainer-clean-isl
13841 maybe-maintainer-clean-isl:
13842 @if isl
13843 maybe-maintainer-clean-isl: maintainer-clean-isl
13845 maintainer-clean-isl:
13846 @[ -f ./isl/Makefile ] || exit 0; \
13847 r=`${PWD_COMMAND}`; export r; \
13848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13849 $(HOST_EXPORTS) \
13850 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13852 done; \
13853 echo "Doing maintainer-clean in isl" ; \
13854 (cd $(HOST_SUBDIR)/isl && \
13855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13857 "RANLIB=$${RANLIB}" \
13858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13859 maintainer-clean) \
13860 || exit 1
13862 @endif isl
13866 .PHONY: configure-cloog maybe-configure-cloog
13867 maybe-configure-cloog:
13868 @if gcc-bootstrap
13869 configure-cloog: stage_current
13870 @endif gcc-bootstrap
13871 @if cloog
13872 maybe-configure-cloog: configure-cloog
13873 configure-cloog:
13874 @r=`${PWD_COMMAND}`; export r; \
13875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13876 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13877 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13878 $(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; \
13879 echo Configuring in $(HOST_SUBDIR)/cloog; \
13880 cd "$(HOST_SUBDIR)/cloog" || exit 1; \
13881 case $(srcdir) in \
13882 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13883 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13884 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13885 esac; \
13886 srcdiroption="--srcdir=$${topdir}/cloog"; \
13887 libsrcdir="$$s/cloog"; \
13888 $(SHELL) $${libsrcdir}/configure \
13889 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13890 --target=${target_alias} $${srcdiroption} --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system \
13891 || exit 1
13892 @endif cloog
13896 .PHONY: configure-stage1-cloog maybe-configure-stage1-cloog
13897 maybe-configure-stage1-cloog:
13898 @if cloog-bootstrap
13899 maybe-configure-stage1-cloog: configure-stage1-cloog
13900 configure-stage1-cloog:
13901 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13902 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13903 @r=`${PWD_COMMAND}`; export r; \
13904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13905 TFLAGS="$(STAGE1_TFLAGS)"; \
13906 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13907 $(HOST_EXPORTS) \
13908 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13909 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13910 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; \
13911 echo Configuring stage 1 in $(HOST_SUBDIR)/cloog ; \
13912 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13913 cd $(HOST_SUBDIR)/cloog || exit 1; \
13914 case $(srcdir) in \
13915 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13916 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13917 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13918 esac; \
13919 srcdiroption="--srcdir=$${topdir}/cloog"; \
13920 libsrcdir="$$s/cloog"; \
13921 $(SHELL) $${libsrcdir}/configure \
13922 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13923 --target=${target_alias} $${srcdiroption} \
13924 $(STAGE1_CONFIGURE_FLAGS) \
13925 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
13926 @endif cloog-bootstrap
13928 .PHONY: configure-stage2-cloog maybe-configure-stage2-cloog
13929 maybe-configure-stage2-cloog:
13930 @if cloog-bootstrap
13931 maybe-configure-stage2-cloog: configure-stage2-cloog
13932 configure-stage2-cloog:
13933 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13934 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13935 @r=`${PWD_COMMAND}`; export r; \
13936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13937 TFLAGS="$(STAGE2_TFLAGS)"; \
13938 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13939 $(HOST_EXPORTS) \
13940 $(POSTSTAGE1_HOST_EXPORTS) \
13941 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13942 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13943 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; \
13944 echo Configuring stage 2 in $(HOST_SUBDIR)/cloog ; \
13945 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13946 cd $(HOST_SUBDIR)/cloog || exit 1; \
13947 case $(srcdir) in \
13948 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13949 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13950 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13951 esac; \
13952 srcdiroption="--srcdir=$${topdir}/cloog"; \
13953 libsrcdir="$$s/cloog"; \
13954 $(SHELL) $${libsrcdir}/configure \
13955 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13956 --target=${target_alias} $${srcdiroption} \
13957 --with-build-libsubdir=$(HOST_SUBDIR) \
13958 $(STAGE2_CONFIGURE_FLAGS) \
13959 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
13960 @endif cloog-bootstrap
13962 .PHONY: configure-stage3-cloog maybe-configure-stage3-cloog
13963 maybe-configure-stage3-cloog:
13964 @if cloog-bootstrap
13965 maybe-configure-stage3-cloog: configure-stage3-cloog
13966 configure-stage3-cloog:
13967 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13968 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13969 @r=`${PWD_COMMAND}`; export r; \
13970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13971 TFLAGS="$(STAGE3_TFLAGS)"; \
13972 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13973 $(HOST_EXPORTS) \
13974 $(POSTSTAGE1_HOST_EXPORTS) \
13975 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13976 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13977 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; \
13978 echo Configuring stage 3 in $(HOST_SUBDIR)/cloog ; \
13979 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13980 cd $(HOST_SUBDIR)/cloog || exit 1; \
13981 case $(srcdir) in \
13982 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13983 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13984 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13985 esac; \
13986 srcdiroption="--srcdir=$${topdir}/cloog"; \
13987 libsrcdir="$$s/cloog"; \
13988 $(SHELL) $${libsrcdir}/configure \
13989 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13990 --target=${target_alias} $${srcdiroption} \
13991 --with-build-libsubdir=$(HOST_SUBDIR) \
13992 $(STAGE3_CONFIGURE_FLAGS) \
13993 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
13994 @endif cloog-bootstrap
13996 .PHONY: configure-stage4-cloog maybe-configure-stage4-cloog
13997 maybe-configure-stage4-cloog:
13998 @if cloog-bootstrap
13999 maybe-configure-stage4-cloog: configure-stage4-cloog
14000 configure-stage4-cloog:
14001 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14002 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14003 @r=`${PWD_COMMAND}`; export r; \
14004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14005 TFLAGS="$(STAGE4_TFLAGS)"; \
14006 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14007 $(HOST_EXPORTS) \
14008 $(POSTSTAGE1_HOST_EXPORTS) \
14009 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14010 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14011 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; \
14012 echo Configuring stage 4 in $(HOST_SUBDIR)/cloog ; \
14013 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14014 cd $(HOST_SUBDIR)/cloog || exit 1; \
14015 case $(srcdir) in \
14016 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14017 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14018 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14019 esac; \
14020 srcdiroption="--srcdir=$${topdir}/cloog"; \
14021 libsrcdir="$$s/cloog"; \
14022 $(SHELL) $${libsrcdir}/configure \
14023 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14024 --target=${target_alias} $${srcdiroption} \
14025 --with-build-libsubdir=$(HOST_SUBDIR) \
14026 $(STAGE4_CONFIGURE_FLAGS) \
14027 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14028 @endif cloog-bootstrap
14030 .PHONY: configure-stageprofile-cloog maybe-configure-stageprofile-cloog
14031 maybe-configure-stageprofile-cloog:
14032 @if cloog-bootstrap
14033 maybe-configure-stageprofile-cloog: configure-stageprofile-cloog
14034 configure-stageprofile-cloog:
14035 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14036 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14037 @r=`${PWD_COMMAND}`; export r; \
14038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14039 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14040 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14041 $(HOST_EXPORTS) \
14042 $(POSTSTAGE1_HOST_EXPORTS) \
14043 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14044 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14045 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; \
14046 echo Configuring stage profile in $(HOST_SUBDIR)/cloog ; \
14047 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14048 cd $(HOST_SUBDIR)/cloog || exit 1; \
14049 case $(srcdir) in \
14050 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14051 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14052 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14053 esac; \
14054 srcdiroption="--srcdir=$${topdir}/cloog"; \
14055 libsrcdir="$$s/cloog"; \
14056 $(SHELL) $${libsrcdir}/configure \
14057 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14058 --target=${target_alias} $${srcdiroption} \
14059 --with-build-libsubdir=$(HOST_SUBDIR) \
14060 $(STAGEprofile_CONFIGURE_FLAGS) \
14061 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14062 @endif cloog-bootstrap
14064 .PHONY: configure-stagefeedback-cloog maybe-configure-stagefeedback-cloog
14065 maybe-configure-stagefeedback-cloog:
14066 @if cloog-bootstrap
14067 maybe-configure-stagefeedback-cloog: configure-stagefeedback-cloog
14068 configure-stagefeedback-cloog:
14069 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14070 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14071 @r=`${PWD_COMMAND}`; export r; \
14072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14073 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14074 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14075 $(HOST_EXPORTS) \
14076 $(POSTSTAGE1_HOST_EXPORTS) \
14077 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14078 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14079 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; \
14080 echo Configuring stage feedback in $(HOST_SUBDIR)/cloog ; \
14081 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14082 cd $(HOST_SUBDIR)/cloog || exit 1; \
14083 case $(srcdir) in \
14084 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14085 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14086 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14087 esac; \
14088 srcdiroption="--srcdir=$${topdir}/cloog"; \
14089 libsrcdir="$$s/cloog"; \
14090 $(SHELL) $${libsrcdir}/configure \
14091 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14092 --target=${target_alias} $${srcdiroption} \
14093 --with-build-libsubdir=$(HOST_SUBDIR) \
14094 $(STAGEfeedback_CONFIGURE_FLAGS) \
14095 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14096 @endif cloog-bootstrap
14102 .PHONY: all-cloog maybe-all-cloog
14103 maybe-all-cloog:
14104 @if gcc-bootstrap
14105 all-cloog: stage_current
14106 @endif gcc-bootstrap
14107 @if cloog
14108 TARGET-cloog=all
14109 maybe-all-cloog: all-cloog
14110 all-cloog: configure-cloog
14111 @r=`${PWD_COMMAND}`; export r; \
14112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14113 $(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; \
14114 (cd $(HOST_SUBDIR)/cloog && \
14115 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14116 $(TARGET-cloog))
14117 @endif cloog
14121 .PHONY: all-stage1-cloog maybe-all-stage1-cloog
14122 .PHONY: clean-stage1-cloog maybe-clean-stage1-cloog
14123 maybe-all-stage1-cloog:
14124 maybe-clean-stage1-cloog:
14125 @if cloog-bootstrap
14126 maybe-all-stage1-cloog: all-stage1-cloog
14127 all-stage1: all-stage1-cloog
14128 TARGET-stage1-cloog = $(TARGET-cloog)
14129 all-stage1-cloog: configure-stage1-cloog
14130 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14131 @r=`${PWD_COMMAND}`; export r; \
14132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14133 TFLAGS="$(STAGE1_TFLAGS)"; \
14134 $(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; \
14135 cd $(HOST_SUBDIR)/cloog && \
14136 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14137 CFLAGS="$(STAGE1_CFLAGS)" \
14138 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
14139 LIBCFLAGS="$(LIBCFLAGS)" \
14140 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14141 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14142 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14143 $(EXTRA_HOST_FLAGS) \
14144 $(STAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14145 TFLAGS="$(STAGE1_TFLAGS)" \
14146 $(TARGET-stage1-cloog)
14148 maybe-clean-stage1-cloog: clean-stage1-cloog
14149 clean-stage1: clean-stage1-cloog
14150 clean-stage1-cloog:
14151 @if [ $(current_stage) = stage1 ]; then \
14152 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14153 else \
14154 [ -f $(HOST_SUBDIR)/stage1-cloog/Makefile ] || exit 0; \
14155 $(MAKE) stage1-start; \
14156 fi; \
14157 cd $(HOST_SUBDIR)/cloog && \
14158 $(MAKE) $(EXTRA_HOST_FLAGS) \
14159 $(STAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14160 @endif cloog-bootstrap
14163 .PHONY: all-stage2-cloog maybe-all-stage2-cloog
14164 .PHONY: clean-stage2-cloog maybe-clean-stage2-cloog
14165 maybe-all-stage2-cloog:
14166 maybe-clean-stage2-cloog:
14167 @if cloog-bootstrap
14168 maybe-all-stage2-cloog: all-stage2-cloog
14169 all-stage2: all-stage2-cloog
14170 TARGET-stage2-cloog = $(TARGET-cloog)
14171 all-stage2-cloog: configure-stage2-cloog
14172 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14173 @r=`${PWD_COMMAND}`; export r; \
14174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14175 TFLAGS="$(STAGE2_TFLAGS)"; \
14176 $(HOST_EXPORTS) \
14177 $(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; \
14178 cd $(HOST_SUBDIR)/cloog && \
14179 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14180 CFLAGS="$(STAGE2_CFLAGS)" \
14181 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
14182 LIBCFLAGS="$(STAGE2_CFLAGS)" \
14183 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14184 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14185 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14186 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14187 TFLAGS="$(STAGE2_TFLAGS)" \
14188 $(TARGET-stage2-cloog)
14190 maybe-clean-stage2-cloog: clean-stage2-cloog
14191 clean-stage2: clean-stage2-cloog
14192 clean-stage2-cloog:
14193 @if [ $(current_stage) = stage2 ]; then \
14194 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14195 else \
14196 [ -f $(HOST_SUBDIR)/stage2-cloog/Makefile ] || exit 0; \
14197 $(MAKE) stage2-start; \
14198 fi; \
14199 cd $(HOST_SUBDIR)/cloog && \
14200 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14201 @endif cloog-bootstrap
14204 .PHONY: all-stage3-cloog maybe-all-stage3-cloog
14205 .PHONY: clean-stage3-cloog maybe-clean-stage3-cloog
14206 maybe-all-stage3-cloog:
14207 maybe-clean-stage3-cloog:
14208 @if cloog-bootstrap
14209 maybe-all-stage3-cloog: all-stage3-cloog
14210 all-stage3: all-stage3-cloog
14211 TARGET-stage3-cloog = $(TARGET-cloog)
14212 all-stage3-cloog: configure-stage3-cloog
14213 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14214 @r=`${PWD_COMMAND}`; export r; \
14215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14216 TFLAGS="$(STAGE3_TFLAGS)"; \
14217 $(HOST_EXPORTS) \
14218 $(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; \
14219 cd $(HOST_SUBDIR)/cloog && \
14220 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14221 CFLAGS="$(STAGE3_CFLAGS)" \
14222 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
14223 LIBCFLAGS="$(STAGE3_CFLAGS)" \
14224 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14225 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14226 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14227 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14228 TFLAGS="$(STAGE3_TFLAGS)" \
14229 $(TARGET-stage3-cloog)
14231 maybe-clean-stage3-cloog: clean-stage3-cloog
14232 clean-stage3: clean-stage3-cloog
14233 clean-stage3-cloog:
14234 @if [ $(current_stage) = stage3 ]; then \
14235 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14236 else \
14237 [ -f $(HOST_SUBDIR)/stage3-cloog/Makefile ] || exit 0; \
14238 $(MAKE) stage3-start; \
14239 fi; \
14240 cd $(HOST_SUBDIR)/cloog && \
14241 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14242 @endif cloog-bootstrap
14245 .PHONY: all-stage4-cloog maybe-all-stage4-cloog
14246 .PHONY: clean-stage4-cloog maybe-clean-stage4-cloog
14247 maybe-all-stage4-cloog:
14248 maybe-clean-stage4-cloog:
14249 @if cloog-bootstrap
14250 maybe-all-stage4-cloog: all-stage4-cloog
14251 all-stage4: all-stage4-cloog
14252 TARGET-stage4-cloog = $(TARGET-cloog)
14253 all-stage4-cloog: configure-stage4-cloog
14254 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14255 @r=`${PWD_COMMAND}`; export r; \
14256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14257 TFLAGS="$(STAGE4_TFLAGS)"; \
14258 $(HOST_EXPORTS) \
14259 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14260 cd $(HOST_SUBDIR)/cloog && \
14261 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14262 CFLAGS="$(STAGE4_CFLAGS)" \
14263 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
14264 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14265 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14266 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14267 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14268 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14269 TFLAGS="$(STAGE4_TFLAGS)" \
14270 $(TARGET-stage4-cloog)
14272 maybe-clean-stage4-cloog: clean-stage4-cloog
14273 clean-stage4: clean-stage4-cloog
14274 clean-stage4-cloog:
14275 @if [ $(current_stage) = stage4 ]; then \
14276 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14277 else \
14278 [ -f $(HOST_SUBDIR)/stage4-cloog/Makefile ] || exit 0; \
14279 $(MAKE) stage4-start; \
14280 fi; \
14281 cd $(HOST_SUBDIR)/cloog && \
14282 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14283 @endif cloog-bootstrap
14286 .PHONY: all-stageprofile-cloog maybe-all-stageprofile-cloog
14287 .PHONY: clean-stageprofile-cloog maybe-clean-stageprofile-cloog
14288 maybe-all-stageprofile-cloog:
14289 maybe-clean-stageprofile-cloog:
14290 @if cloog-bootstrap
14291 maybe-all-stageprofile-cloog: all-stageprofile-cloog
14292 all-stageprofile: all-stageprofile-cloog
14293 TARGET-stageprofile-cloog = $(TARGET-cloog)
14294 all-stageprofile-cloog: configure-stageprofile-cloog
14295 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14296 @r=`${PWD_COMMAND}`; export r; \
14297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14298 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14299 $(HOST_EXPORTS) \
14300 $(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; \
14301 cd $(HOST_SUBDIR)/cloog && \
14302 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14303 CFLAGS="$(STAGEprofile_CFLAGS)" \
14304 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
14305 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14306 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14307 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14308 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14309 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14310 TFLAGS="$(STAGEprofile_TFLAGS)" \
14311 $(TARGET-stageprofile-cloog)
14313 maybe-clean-stageprofile-cloog: clean-stageprofile-cloog
14314 clean-stageprofile: clean-stageprofile-cloog
14315 clean-stageprofile-cloog:
14316 @if [ $(current_stage) = stageprofile ]; then \
14317 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14318 else \
14319 [ -f $(HOST_SUBDIR)/stageprofile-cloog/Makefile ] || exit 0; \
14320 $(MAKE) stageprofile-start; \
14321 fi; \
14322 cd $(HOST_SUBDIR)/cloog && \
14323 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14324 @endif cloog-bootstrap
14327 .PHONY: all-stagefeedback-cloog maybe-all-stagefeedback-cloog
14328 .PHONY: clean-stagefeedback-cloog maybe-clean-stagefeedback-cloog
14329 maybe-all-stagefeedback-cloog:
14330 maybe-clean-stagefeedback-cloog:
14331 @if cloog-bootstrap
14332 maybe-all-stagefeedback-cloog: all-stagefeedback-cloog
14333 all-stagefeedback: all-stagefeedback-cloog
14334 TARGET-stagefeedback-cloog = $(TARGET-cloog)
14335 all-stagefeedback-cloog: configure-stagefeedback-cloog
14336 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14337 @r=`${PWD_COMMAND}`; export r; \
14338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14339 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14340 $(HOST_EXPORTS) \
14341 $(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; \
14342 cd $(HOST_SUBDIR)/cloog && \
14343 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14344 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14345 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
14346 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14347 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14348 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14349 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14350 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14351 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14352 $(TARGET-stagefeedback-cloog)
14354 maybe-clean-stagefeedback-cloog: clean-stagefeedback-cloog
14355 clean-stagefeedback: clean-stagefeedback-cloog
14356 clean-stagefeedback-cloog:
14357 @if [ $(current_stage) = stagefeedback ]; then \
14358 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14359 else \
14360 [ -f $(HOST_SUBDIR)/stagefeedback-cloog/Makefile ] || exit 0; \
14361 $(MAKE) stagefeedback-start; \
14362 fi; \
14363 cd $(HOST_SUBDIR)/cloog && \
14364 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14365 @endif cloog-bootstrap
14371 .PHONY: check-cloog maybe-check-cloog
14372 maybe-check-cloog:
14373 @if cloog
14374 maybe-check-cloog: check-cloog
14376 check-cloog:
14377 @: $(MAKE); $(unstage)
14378 @r=`${PWD_COMMAND}`; export r; \
14379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14380 $(HOST_EXPORTS) \
14381 (cd $(HOST_SUBDIR)/cloog && \
14382 $(MAKE) $(FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 check)
14384 @endif cloog
14386 .PHONY: install-cloog maybe-install-cloog
14387 maybe-install-cloog:
14388 @if cloog
14389 maybe-install-cloog: install-cloog
14391 install-cloog:
14393 @endif cloog
14395 .PHONY: install-strip-cloog maybe-install-strip-cloog
14396 maybe-install-strip-cloog:
14397 @if cloog
14398 maybe-install-strip-cloog: install-strip-cloog
14400 install-strip-cloog:
14402 @endif cloog
14404 # Other targets (info, dvi, pdf, etc.)
14406 .PHONY: maybe-info-cloog info-cloog
14407 maybe-info-cloog:
14408 @if cloog
14409 maybe-info-cloog: info-cloog
14411 info-cloog: \
14412 configure-cloog
14413 @[ -f ./cloog/Makefile ] || exit 0; \
14414 r=`${PWD_COMMAND}`; export r; \
14415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14416 $(HOST_EXPORTS) \
14417 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14419 done; \
14420 echo "Doing info in cloog" ; \
14421 (cd $(HOST_SUBDIR)/cloog && \
14422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14424 "RANLIB=$${RANLIB}" \
14425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14426 info) \
14427 || exit 1
14429 @endif cloog
14431 .PHONY: maybe-dvi-cloog dvi-cloog
14432 maybe-dvi-cloog:
14433 @if cloog
14434 maybe-dvi-cloog: dvi-cloog
14436 dvi-cloog: \
14437 configure-cloog
14438 @[ -f ./cloog/Makefile ] || exit 0; \
14439 r=`${PWD_COMMAND}`; export r; \
14440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14441 $(HOST_EXPORTS) \
14442 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14444 done; \
14445 echo "Doing dvi in cloog" ; \
14446 (cd $(HOST_SUBDIR)/cloog && \
14447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14449 "RANLIB=$${RANLIB}" \
14450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14451 dvi) \
14452 || exit 1
14454 @endif cloog
14456 .PHONY: maybe-pdf-cloog pdf-cloog
14457 maybe-pdf-cloog:
14458 @if cloog
14459 maybe-pdf-cloog: pdf-cloog
14461 pdf-cloog: \
14462 configure-cloog
14463 @[ -f ./cloog/Makefile ] || exit 0; \
14464 r=`${PWD_COMMAND}`; export r; \
14465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14466 $(HOST_EXPORTS) \
14467 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14469 done; \
14470 echo "Doing pdf in cloog" ; \
14471 (cd $(HOST_SUBDIR)/cloog && \
14472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14474 "RANLIB=$${RANLIB}" \
14475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14476 pdf) \
14477 || exit 1
14479 @endif cloog
14481 .PHONY: maybe-html-cloog html-cloog
14482 maybe-html-cloog:
14483 @if cloog
14484 maybe-html-cloog: html-cloog
14486 html-cloog: \
14487 configure-cloog
14488 @[ -f ./cloog/Makefile ] || exit 0; \
14489 r=`${PWD_COMMAND}`; export r; \
14490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14491 $(HOST_EXPORTS) \
14492 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14494 done; \
14495 echo "Doing html in cloog" ; \
14496 (cd $(HOST_SUBDIR)/cloog && \
14497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14499 "RANLIB=$${RANLIB}" \
14500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14501 html) \
14502 || exit 1
14504 @endif cloog
14506 .PHONY: maybe-TAGS-cloog TAGS-cloog
14507 maybe-TAGS-cloog:
14508 @if cloog
14509 maybe-TAGS-cloog: TAGS-cloog
14511 TAGS-cloog: \
14512 configure-cloog
14513 @[ -f ./cloog/Makefile ] || exit 0; \
14514 r=`${PWD_COMMAND}`; export r; \
14515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14516 $(HOST_EXPORTS) \
14517 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14519 done; \
14520 echo "Doing TAGS in cloog" ; \
14521 (cd $(HOST_SUBDIR)/cloog && \
14522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14524 "RANLIB=$${RANLIB}" \
14525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14526 TAGS) \
14527 || exit 1
14529 @endif cloog
14531 .PHONY: maybe-install-info-cloog install-info-cloog
14532 maybe-install-info-cloog:
14533 @if cloog
14534 maybe-install-info-cloog: install-info-cloog
14536 install-info-cloog: \
14537 configure-cloog \
14538 info-cloog
14539 @[ -f ./cloog/Makefile ] || exit 0; \
14540 r=`${PWD_COMMAND}`; export r; \
14541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14542 $(HOST_EXPORTS) \
14543 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14545 done; \
14546 echo "Doing install-info in cloog" ; \
14547 (cd $(HOST_SUBDIR)/cloog && \
14548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14550 "RANLIB=$${RANLIB}" \
14551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14552 install-info) \
14553 || exit 1
14555 @endif cloog
14557 .PHONY: maybe-install-pdf-cloog install-pdf-cloog
14558 maybe-install-pdf-cloog:
14559 @if cloog
14560 maybe-install-pdf-cloog: install-pdf-cloog
14562 install-pdf-cloog: \
14563 configure-cloog \
14564 pdf-cloog
14565 @[ -f ./cloog/Makefile ] || exit 0; \
14566 r=`${PWD_COMMAND}`; export r; \
14567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14568 $(HOST_EXPORTS) \
14569 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14571 done; \
14572 echo "Doing install-pdf in cloog" ; \
14573 (cd $(HOST_SUBDIR)/cloog && \
14574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14576 "RANLIB=$${RANLIB}" \
14577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14578 install-pdf) \
14579 || exit 1
14581 @endif cloog
14583 .PHONY: maybe-install-html-cloog install-html-cloog
14584 maybe-install-html-cloog:
14585 @if cloog
14586 maybe-install-html-cloog: install-html-cloog
14588 install-html-cloog: \
14589 configure-cloog \
14590 html-cloog
14591 @[ -f ./cloog/Makefile ] || exit 0; \
14592 r=`${PWD_COMMAND}`; export r; \
14593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14594 $(HOST_EXPORTS) \
14595 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14597 done; \
14598 echo "Doing install-html in cloog" ; \
14599 (cd $(HOST_SUBDIR)/cloog && \
14600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14602 "RANLIB=$${RANLIB}" \
14603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14604 install-html) \
14605 || exit 1
14607 @endif cloog
14609 .PHONY: maybe-installcheck-cloog installcheck-cloog
14610 maybe-installcheck-cloog:
14611 @if cloog
14612 maybe-installcheck-cloog: installcheck-cloog
14614 installcheck-cloog: \
14615 configure-cloog
14616 @[ -f ./cloog/Makefile ] || exit 0; \
14617 r=`${PWD_COMMAND}`; export r; \
14618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14619 $(HOST_EXPORTS) \
14620 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14622 done; \
14623 echo "Doing installcheck in cloog" ; \
14624 (cd $(HOST_SUBDIR)/cloog && \
14625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14627 "RANLIB=$${RANLIB}" \
14628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14629 installcheck) \
14630 || exit 1
14632 @endif cloog
14634 .PHONY: maybe-mostlyclean-cloog mostlyclean-cloog
14635 maybe-mostlyclean-cloog:
14636 @if cloog
14637 maybe-mostlyclean-cloog: mostlyclean-cloog
14639 mostlyclean-cloog:
14640 @[ -f ./cloog/Makefile ] || exit 0; \
14641 r=`${PWD_COMMAND}`; export r; \
14642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14643 $(HOST_EXPORTS) \
14644 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14646 done; \
14647 echo "Doing mostlyclean in cloog" ; \
14648 (cd $(HOST_SUBDIR)/cloog && \
14649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14651 "RANLIB=$${RANLIB}" \
14652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14653 mostlyclean) \
14654 || exit 1
14656 @endif cloog
14658 .PHONY: maybe-clean-cloog clean-cloog
14659 maybe-clean-cloog:
14660 @if cloog
14661 maybe-clean-cloog: clean-cloog
14663 clean-cloog:
14664 @[ -f ./cloog/Makefile ] || exit 0; \
14665 r=`${PWD_COMMAND}`; export r; \
14666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14667 $(HOST_EXPORTS) \
14668 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14670 done; \
14671 echo "Doing clean in cloog" ; \
14672 (cd $(HOST_SUBDIR)/cloog && \
14673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14675 "RANLIB=$${RANLIB}" \
14676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14677 clean) \
14678 || exit 1
14680 @endif cloog
14682 .PHONY: maybe-distclean-cloog distclean-cloog
14683 maybe-distclean-cloog:
14684 @if cloog
14685 maybe-distclean-cloog: distclean-cloog
14687 distclean-cloog:
14688 @[ -f ./cloog/Makefile ] || exit 0; \
14689 r=`${PWD_COMMAND}`; export r; \
14690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14691 $(HOST_EXPORTS) \
14692 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14694 done; \
14695 echo "Doing distclean in cloog" ; \
14696 (cd $(HOST_SUBDIR)/cloog && \
14697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14699 "RANLIB=$${RANLIB}" \
14700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14701 distclean) \
14702 || exit 1
14704 @endif cloog
14706 .PHONY: maybe-maintainer-clean-cloog maintainer-clean-cloog
14707 maybe-maintainer-clean-cloog:
14708 @if cloog
14709 maybe-maintainer-clean-cloog: maintainer-clean-cloog
14711 maintainer-clean-cloog:
14712 @[ -f ./cloog/Makefile ] || exit 0; \
14713 r=`${PWD_COMMAND}`; export r; \
14714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14715 $(HOST_EXPORTS) \
14716 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14718 done; \
14719 echo "Doing maintainer-clean in cloog" ; \
14720 (cd $(HOST_SUBDIR)/cloog && \
14721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14723 "RANLIB=$${RANLIB}" \
14724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14725 maintainer-clean) \
14726 || exit 1
14728 @endif cloog
14732 .PHONY: configure-libelf maybe-configure-libelf
14733 maybe-configure-libelf:
14734 @if gcc-bootstrap
14735 configure-libelf: stage_current
14736 @endif gcc-bootstrap
14737 @if libelf
14738 maybe-configure-libelf: configure-libelf
14739 configure-libelf:
14740 @r=`${PWD_COMMAND}`; export r; \
14741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14742 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14743 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14744 $(HOST_EXPORTS) \
14745 echo Configuring in $(HOST_SUBDIR)/libelf; \
14746 cd "$(HOST_SUBDIR)/libelf" || exit 1; \
14747 case $(srcdir) in \
14748 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14749 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14750 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14751 esac; \
14752 srcdiroption="--srcdir=$${topdir}/libelf"; \
14753 libsrcdir="$$s/libelf"; \
14754 $(SHELL) $${libsrcdir}/configure \
14755 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14756 --target=${target_alias} $${srcdiroption} --disable-shared \
14757 || exit 1
14758 @endif libelf
14762 .PHONY: configure-stage1-libelf maybe-configure-stage1-libelf
14763 maybe-configure-stage1-libelf:
14764 @if libelf-bootstrap
14765 maybe-configure-stage1-libelf: configure-stage1-libelf
14766 configure-stage1-libelf:
14767 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14768 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14769 @r=`${PWD_COMMAND}`; export r; \
14770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14771 TFLAGS="$(STAGE1_TFLAGS)"; \
14772 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14773 $(HOST_EXPORTS) \
14774 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
14775 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
14776 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
14777 echo Configuring stage 1 in $(HOST_SUBDIR)/libelf ; \
14778 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14779 cd $(HOST_SUBDIR)/libelf || exit 1; \
14780 case $(srcdir) in \
14781 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14782 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14783 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14784 esac; \
14785 srcdiroption="--srcdir=$${topdir}/libelf"; \
14786 libsrcdir="$$s/libelf"; \
14787 $(SHELL) $${libsrcdir}/configure \
14788 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14789 --target=${target_alias} $${srcdiroption} \
14790 $(STAGE1_CONFIGURE_FLAGS) \
14791 --disable-shared
14792 @endif libelf-bootstrap
14794 .PHONY: configure-stage2-libelf maybe-configure-stage2-libelf
14795 maybe-configure-stage2-libelf:
14796 @if libelf-bootstrap
14797 maybe-configure-stage2-libelf: configure-stage2-libelf
14798 configure-stage2-libelf:
14799 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14800 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14801 @r=`${PWD_COMMAND}`; export r; \
14802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14803 TFLAGS="$(STAGE2_TFLAGS)"; \
14804 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14805 $(HOST_EXPORTS) \
14806 $(POSTSTAGE1_HOST_EXPORTS) \
14807 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
14808 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
14809 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
14810 echo Configuring stage 2 in $(HOST_SUBDIR)/libelf ; \
14811 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14812 cd $(HOST_SUBDIR)/libelf || exit 1; \
14813 case $(srcdir) in \
14814 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14815 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14816 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14817 esac; \
14818 srcdiroption="--srcdir=$${topdir}/libelf"; \
14819 libsrcdir="$$s/libelf"; \
14820 $(SHELL) $${libsrcdir}/configure \
14821 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14822 --target=${target_alias} $${srcdiroption} \
14823 --with-build-libsubdir=$(HOST_SUBDIR) \
14824 $(STAGE2_CONFIGURE_FLAGS) \
14825 --disable-shared
14826 @endif libelf-bootstrap
14828 .PHONY: configure-stage3-libelf maybe-configure-stage3-libelf
14829 maybe-configure-stage3-libelf:
14830 @if libelf-bootstrap
14831 maybe-configure-stage3-libelf: configure-stage3-libelf
14832 configure-stage3-libelf:
14833 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14834 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14835 @r=`${PWD_COMMAND}`; export r; \
14836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14837 TFLAGS="$(STAGE3_TFLAGS)"; \
14838 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14839 $(HOST_EXPORTS) \
14840 $(POSTSTAGE1_HOST_EXPORTS) \
14841 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14842 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
14843 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
14844 echo Configuring stage 3 in $(HOST_SUBDIR)/libelf ; \
14845 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14846 cd $(HOST_SUBDIR)/libelf || exit 1; \
14847 case $(srcdir) in \
14848 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14849 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14850 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14851 esac; \
14852 srcdiroption="--srcdir=$${topdir}/libelf"; \
14853 libsrcdir="$$s/libelf"; \
14854 $(SHELL) $${libsrcdir}/configure \
14855 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14856 --target=${target_alias} $${srcdiroption} \
14857 --with-build-libsubdir=$(HOST_SUBDIR) \
14858 $(STAGE3_CONFIGURE_FLAGS) \
14859 --disable-shared
14860 @endif libelf-bootstrap
14862 .PHONY: configure-stage4-libelf maybe-configure-stage4-libelf
14863 maybe-configure-stage4-libelf:
14864 @if libelf-bootstrap
14865 maybe-configure-stage4-libelf: configure-stage4-libelf
14866 configure-stage4-libelf:
14867 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14868 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14869 @r=`${PWD_COMMAND}`; export r; \
14870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14871 TFLAGS="$(STAGE4_TFLAGS)"; \
14872 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14873 $(HOST_EXPORTS) \
14874 $(POSTSTAGE1_HOST_EXPORTS) \
14875 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14876 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14877 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
14878 echo Configuring stage 4 in $(HOST_SUBDIR)/libelf ; \
14879 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14880 cd $(HOST_SUBDIR)/libelf || exit 1; \
14881 case $(srcdir) in \
14882 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14883 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14884 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14885 esac; \
14886 srcdiroption="--srcdir=$${topdir}/libelf"; \
14887 libsrcdir="$$s/libelf"; \
14888 $(SHELL) $${libsrcdir}/configure \
14889 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14890 --target=${target_alias} $${srcdiroption} \
14891 --with-build-libsubdir=$(HOST_SUBDIR) \
14892 $(STAGE4_CONFIGURE_FLAGS) \
14893 --disable-shared
14894 @endif libelf-bootstrap
14896 .PHONY: configure-stageprofile-libelf maybe-configure-stageprofile-libelf
14897 maybe-configure-stageprofile-libelf:
14898 @if libelf-bootstrap
14899 maybe-configure-stageprofile-libelf: configure-stageprofile-libelf
14900 configure-stageprofile-libelf:
14901 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14902 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14903 @r=`${PWD_COMMAND}`; export r; \
14904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14905 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14906 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14907 $(HOST_EXPORTS) \
14908 $(POSTSTAGE1_HOST_EXPORTS) \
14909 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14910 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14911 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
14912 echo Configuring stage profile in $(HOST_SUBDIR)/libelf ; \
14913 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14914 cd $(HOST_SUBDIR)/libelf || exit 1; \
14915 case $(srcdir) in \
14916 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14917 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14918 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14919 esac; \
14920 srcdiroption="--srcdir=$${topdir}/libelf"; \
14921 libsrcdir="$$s/libelf"; \
14922 $(SHELL) $${libsrcdir}/configure \
14923 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14924 --target=${target_alias} $${srcdiroption} \
14925 --with-build-libsubdir=$(HOST_SUBDIR) \
14926 $(STAGEprofile_CONFIGURE_FLAGS) \
14927 --disable-shared
14928 @endif libelf-bootstrap
14930 .PHONY: configure-stagefeedback-libelf maybe-configure-stagefeedback-libelf
14931 maybe-configure-stagefeedback-libelf:
14932 @if libelf-bootstrap
14933 maybe-configure-stagefeedback-libelf: configure-stagefeedback-libelf
14934 configure-stagefeedback-libelf:
14935 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14936 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14937 @r=`${PWD_COMMAND}`; export r; \
14938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14939 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14940 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14941 $(HOST_EXPORTS) \
14942 $(POSTSTAGE1_HOST_EXPORTS) \
14943 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14944 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14945 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
14946 echo Configuring stage feedback in $(HOST_SUBDIR)/libelf ; \
14947 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14948 cd $(HOST_SUBDIR)/libelf || exit 1; \
14949 case $(srcdir) in \
14950 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14951 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14952 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14953 esac; \
14954 srcdiroption="--srcdir=$${topdir}/libelf"; \
14955 libsrcdir="$$s/libelf"; \
14956 $(SHELL) $${libsrcdir}/configure \
14957 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14958 --target=${target_alias} $${srcdiroption} \
14959 --with-build-libsubdir=$(HOST_SUBDIR) \
14960 $(STAGEfeedback_CONFIGURE_FLAGS) \
14961 --disable-shared
14962 @endif libelf-bootstrap
14968 .PHONY: all-libelf maybe-all-libelf
14969 maybe-all-libelf:
14970 @if gcc-bootstrap
14971 all-libelf: stage_current
14972 @endif gcc-bootstrap
14973 @if libelf
14974 TARGET-libelf=all
14975 maybe-all-libelf: all-libelf
14976 all-libelf: configure-libelf
14977 @r=`${PWD_COMMAND}`; export r; \
14978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14979 $(HOST_EXPORTS) \
14980 (cd $(HOST_SUBDIR)/libelf && \
14981 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
14982 $(TARGET-libelf))
14983 @endif libelf
14987 .PHONY: all-stage1-libelf maybe-all-stage1-libelf
14988 .PHONY: clean-stage1-libelf maybe-clean-stage1-libelf
14989 maybe-all-stage1-libelf:
14990 maybe-clean-stage1-libelf:
14991 @if libelf-bootstrap
14992 maybe-all-stage1-libelf: all-stage1-libelf
14993 all-stage1: all-stage1-libelf
14994 TARGET-stage1-libelf = $(TARGET-libelf)
14995 all-stage1-libelf: configure-stage1-libelf
14996 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14997 @r=`${PWD_COMMAND}`; export r; \
14998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14999 TFLAGS="$(STAGE1_TFLAGS)"; \
15000 $(HOST_EXPORTS) \
15001 cd $(HOST_SUBDIR)/libelf && \
15002 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15003 CFLAGS="$(STAGE1_CFLAGS)" \
15004 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15005 LIBCFLAGS="$(LIBCFLAGS)" \
15006 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15007 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15008 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15009 $(EXTRA_HOST_FLAGS) \
15010 $(STAGE1_FLAGS_TO_PASS) \
15011 TFLAGS="$(STAGE1_TFLAGS)" \
15012 $(TARGET-stage1-libelf)
15014 maybe-clean-stage1-libelf: clean-stage1-libelf
15015 clean-stage1: clean-stage1-libelf
15016 clean-stage1-libelf:
15017 @if [ $(current_stage) = stage1 ]; then \
15018 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15019 else \
15020 [ -f $(HOST_SUBDIR)/stage1-libelf/Makefile ] || exit 0; \
15021 $(MAKE) stage1-start; \
15022 fi; \
15023 cd $(HOST_SUBDIR)/libelf && \
15024 $(MAKE) $(EXTRA_HOST_FLAGS) \
15025 $(STAGE1_FLAGS_TO_PASS) clean
15026 @endif libelf-bootstrap
15029 .PHONY: all-stage2-libelf maybe-all-stage2-libelf
15030 .PHONY: clean-stage2-libelf maybe-clean-stage2-libelf
15031 maybe-all-stage2-libelf:
15032 maybe-clean-stage2-libelf:
15033 @if libelf-bootstrap
15034 maybe-all-stage2-libelf: all-stage2-libelf
15035 all-stage2: all-stage2-libelf
15036 TARGET-stage2-libelf = $(TARGET-libelf)
15037 all-stage2-libelf: configure-stage2-libelf
15038 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15039 @r=`${PWD_COMMAND}`; export r; \
15040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15041 TFLAGS="$(STAGE2_TFLAGS)"; \
15042 $(HOST_EXPORTS) \
15043 $(POSTSTAGE1_HOST_EXPORTS) \
15044 cd $(HOST_SUBDIR)/libelf && \
15045 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15046 CFLAGS="$(STAGE2_CFLAGS)" \
15047 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15048 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15049 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15050 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15051 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15052 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15053 TFLAGS="$(STAGE2_TFLAGS)" \
15054 $(TARGET-stage2-libelf)
15056 maybe-clean-stage2-libelf: clean-stage2-libelf
15057 clean-stage2: clean-stage2-libelf
15058 clean-stage2-libelf:
15059 @if [ $(current_stage) = stage2 ]; then \
15060 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15061 else \
15062 [ -f $(HOST_SUBDIR)/stage2-libelf/Makefile ] || exit 0; \
15063 $(MAKE) stage2-start; \
15064 fi; \
15065 cd $(HOST_SUBDIR)/libelf && \
15066 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15067 @endif libelf-bootstrap
15070 .PHONY: all-stage3-libelf maybe-all-stage3-libelf
15071 .PHONY: clean-stage3-libelf maybe-clean-stage3-libelf
15072 maybe-all-stage3-libelf:
15073 maybe-clean-stage3-libelf:
15074 @if libelf-bootstrap
15075 maybe-all-stage3-libelf: all-stage3-libelf
15076 all-stage3: all-stage3-libelf
15077 TARGET-stage3-libelf = $(TARGET-libelf)
15078 all-stage3-libelf: configure-stage3-libelf
15079 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15080 @r=`${PWD_COMMAND}`; export r; \
15081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15082 TFLAGS="$(STAGE3_TFLAGS)"; \
15083 $(HOST_EXPORTS) \
15084 $(POSTSTAGE1_HOST_EXPORTS) \
15085 cd $(HOST_SUBDIR)/libelf && \
15086 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15087 CFLAGS="$(STAGE3_CFLAGS)" \
15088 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15089 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15090 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15091 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15092 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15093 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15094 TFLAGS="$(STAGE3_TFLAGS)" \
15095 $(TARGET-stage3-libelf)
15097 maybe-clean-stage3-libelf: clean-stage3-libelf
15098 clean-stage3: clean-stage3-libelf
15099 clean-stage3-libelf:
15100 @if [ $(current_stage) = stage3 ]; then \
15101 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15102 else \
15103 [ -f $(HOST_SUBDIR)/stage3-libelf/Makefile ] || exit 0; \
15104 $(MAKE) stage3-start; \
15105 fi; \
15106 cd $(HOST_SUBDIR)/libelf && \
15107 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15108 @endif libelf-bootstrap
15111 .PHONY: all-stage4-libelf maybe-all-stage4-libelf
15112 .PHONY: clean-stage4-libelf maybe-clean-stage4-libelf
15113 maybe-all-stage4-libelf:
15114 maybe-clean-stage4-libelf:
15115 @if libelf-bootstrap
15116 maybe-all-stage4-libelf: all-stage4-libelf
15117 all-stage4: all-stage4-libelf
15118 TARGET-stage4-libelf = $(TARGET-libelf)
15119 all-stage4-libelf: configure-stage4-libelf
15120 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15121 @r=`${PWD_COMMAND}`; export r; \
15122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15123 TFLAGS="$(STAGE4_TFLAGS)"; \
15124 $(HOST_EXPORTS) \
15125 $(POSTSTAGE1_HOST_EXPORTS) \
15126 cd $(HOST_SUBDIR)/libelf && \
15127 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15128 CFLAGS="$(STAGE4_CFLAGS)" \
15129 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15130 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15131 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15132 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15133 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15134 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15135 TFLAGS="$(STAGE4_TFLAGS)" \
15136 $(TARGET-stage4-libelf)
15138 maybe-clean-stage4-libelf: clean-stage4-libelf
15139 clean-stage4: clean-stage4-libelf
15140 clean-stage4-libelf:
15141 @if [ $(current_stage) = stage4 ]; then \
15142 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15143 else \
15144 [ -f $(HOST_SUBDIR)/stage4-libelf/Makefile ] || exit 0; \
15145 $(MAKE) stage4-start; \
15146 fi; \
15147 cd $(HOST_SUBDIR)/libelf && \
15148 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15149 @endif libelf-bootstrap
15152 .PHONY: all-stageprofile-libelf maybe-all-stageprofile-libelf
15153 .PHONY: clean-stageprofile-libelf maybe-clean-stageprofile-libelf
15154 maybe-all-stageprofile-libelf:
15155 maybe-clean-stageprofile-libelf:
15156 @if libelf-bootstrap
15157 maybe-all-stageprofile-libelf: all-stageprofile-libelf
15158 all-stageprofile: all-stageprofile-libelf
15159 TARGET-stageprofile-libelf = $(TARGET-libelf)
15160 all-stageprofile-libelf: configure-stageprofile-libelf
15161 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15162 @r=`${PWD_COMMAND}`; export r; \
15163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15164 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15165 $(HOST_EXPORTS) \
15166 $(POSTSTAGE1_HOST_EXPORTS) \
15167 cd $(HOST_SUBDIR)/libelf && \
15168 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15169 CFLAGS="$(STAGEprofile_CFLAGS)" \
15170 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
15171 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
15172 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15173 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15174 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15175 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15176 TFLAGS="$(STAGEprofile_TFLAGS)" \
15177 $(TARGET-stageprofile-libelf)
15179 maybe-clean-stageprofile-libelf: clean-stageprofile-libelf
15180 clean-stageprofile: clean-stageprofile-libelf
15181 clean-stageprofile-libelf:
15182 @if [ $(current_stage) = stageprofile ]; then \
15183 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15184 else \
15185 [ -f $(HOST_SUBDIR)/stageprofile-libelf/Makefile ] || exit 0; \
15186 $(MAKE) stageprofile-start; \
15187 fi; \
15188 cd $(HOST_SUBDIR)/libelf && \
15189 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15190 @endif libelf-bootstrap
15193 .PHONY: all-stagefeedback-libelf maybe-all-stagefeedback-libelf
15194 .PHONY: clean-stagefeedback-libelf maybe-clean-stagefeedback-libelf
15195 maybe-all-stagefeedback-libelf:
15196 maybe-clean-stagefeedback-libelf:
15197 @if libelf-bootstrap
15198 maybe-all-stagefeedback-libelf: all-stagefeedback-libelf
15199 all-stagefeedback: all-stagefeedback-libelf
15200 TARGET-stagefeedback-libelf = $(TARGET-libelf)
15201 all-stagefeedback-libelf: configure-stagefeedback-libelf
15202 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15203 @r=`${PWD_COMMAND}`; export r; \
15204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15205 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15206 $(HOST_EXPORTS) \
15207 $(POSTSTAGE1_HOST_EXPORTS) \
15208 cd $(HOST_SUBDIR)/libelf && \
15209 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15210 CFLAGS="$(STAGEfeedback_CFLAGS)" \
15211 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
15212 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
15213 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15214 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15215 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15216 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15217 TFLAGS="$(STAGEfeedback_TFLAGS)" \
15218 $(TARGET-stagefeedback-libelf)
15220 maybe-clean-stagefeedback-libelf: clean-stagefeedback-libelf
15221 clean-stagefeedback: clean-stagefeedback-libelf
15222 clean-stagefeedback-libelf:
15223 @if [ $(current_stage) = stagefeedback ]; then \
15224 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15225 else \
15226 [ -f $(HOST_SUBDIR)/stagefeedback-libelf/Makefile ] || exit 0; \
15227 $(MAKE) stagefeedback-start; \
15228 fi; \
15229 cd $(HOST_SUBDIR)/libelf && \
15230 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15231 @endif libelf-bootstrap
15237 .PHONY: check-libelf maybe-check-libelf
15238 maybe-check-libelf:
15239 @if libelf
15240 maybe-check-libelf: check-libelf
15242 check-libelf:
15243 @: $(MAKE); $(unstage)
15244 @r=`${PWD_COMMAND}`; export r; \
15245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15246 $(HOST_EXPORTS) \
15247 (cd $(HOST_SUBDIR)/libelf && \
15248 $(MAKE) $(FLAGS_TO_PASS) check)
15250 @endif libelf
15252 .PHONY: install-libelf maybe-install-libelf
15253 maybe-install-libelf:
15254 @if libelf
15255 maybe-install-libelf: install-libelf
15257 install-libelf:
15259 @endif libelf
15261 .PHONY: install-strip-libelf maybe-install-strip-libelf
15262 maybe-install-strip-libelf:
15263 @if libelf
15264 maybe-install-strip-libelf: install-strip-libelf
15266 install-strip-libelf:
15268 @endif libelf
15270 # Other targets (info, dvi, pdf, etc.)
15272 .PHONY: maybe-info-libelf info-libelf
15273 maybe-info-libelf:
15274 @if libelf
15275 maybe-info-libelf: info-libelf
15277 info-libelf: \
15278 configure-libelf
15279 @[ -f ./libelf/Makefile ] || exit 0; \
15280 r=`${PWD_COMMAND}`; export r; \
15281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15282 $(HOST_EXPORTS) \
15283 for flag in $(EXTRA_HOST_FLAGS) ; do \
15284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15285 done; \
15286 echo "Doing info in libelf" ; \
15287 (cd $(HOST_SUBDIR)/libelf && \
15288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15290 "RANLIB=$${RANLIB}" \
15291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15292 info) \
15293 || exit 1
15295 @endif libelf
15297 .PHONY: maybe-dvi-libelf dvi-libelf
15298 maybe-dvi-libelf:
15299 @if libelf
15300 maybe-dvi-libelf: dvi-libelf
15302 dvi-libelf: \
15303 configure-libelf
15304 @[ -f ./libelf/Makefile ] || exit 0; \
15305 r=`${PWD_COMMAND}`; export r; \
15306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15307 $(HOST_EXPORTS) \
15308 for flag in $(EXTRA_HOST_FLAGS) ; do \
15309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15310 done; \
15311 echo "Doing dvi in libelf" ; \
15312 (cd $(HOST_SUBDIR)/libelf && \
15313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15315 "RANLIB=$${RANLIB}" \
15316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15317 dvi) \
15318 || exit 1
15320 @endif libelf
15322 .PHONY: maybe-pdf-libelf pdf-libelf
15323 maybe-pdf-libelf:
15324 @if libelf
15325 maybe-pdf-libelf: pdf-libelf
15327 pdf-libelf: \
15328 configure-libelf
15329 @[ -f ./libelf/Makefile ] || exit 0; \
15330 r=`${PWD_COMMAND}`; export r; \
15331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15332 $(HOST_EXPORTS) \
15333 for flag in $(EXTRA_HOST_FLAGS) ; do \
15334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15335 done; \
15336 echo "Doing pdf in libelf" ; \
15337 (cd $(HOST_SUBDIR)/libelf && \
15338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15340 "RANLIB=$${RANLIB}" \
15341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15342 pdf) \
15343 || exit 1
15345 @endif libelf
15347 .PHONY: maybe-html-libelf html-libelf
15348 maybe-html-libelf:
15349 @if libelf
15350 maybe-html-libelf: html-libelf
15352 html-libelf: \
15353 configure-libelf
15354 @[ -f ./libelf/Makefile ] || exit 0; \
15355 r=`${PWD_COMMAND}`; export r; \
15356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15357 $(HOST_EXPORTS) \
15358 for flag in $(EXTRA_HOST_FLAGS) ; do \
15359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15360 done; \
15361 echo "Doing html in libelf" ; \
15362 (cd $(HOST_SUBDIR)/libelf && \
15363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15365 "RANLIB=$${RANLIB}" \
15366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15367 html) \
15368 || exit 1
15370 @endif libelf
15372 .PHONY: maybe-TAGS-libelf TAGS-libelf
15373 maybe-TAGS-libelf:
15374 @if libelf
15375 maybe-TAGS-libelf: TAGS-libelf
15377 TAGS-libelf: \
15378 configure-libelf
15379 @[ -f ./libelf/Makefile ] || exit 0; \
15380 r=`${PWD_COMMAND}`; export r; \
15381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15382 $(HOST_EXPORTS) \
15383 for flag in $(EXTRA_HOST_FLAGS) ; do \
15384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15385 done; \
15386 echo "Doing TAGS in libelf" ; \
15387 (cd $(HOST_SUBDIR)/libelf && \
15388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15390 "RANLIB=$${RANLIB}" \
15391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15392 TAGS) \
15393 || exit 1
15395 @endif libelf
15397 .PHONY: maybe-install-info-libelf install-info-libelf
15398 maybe-install-info-libelf:
15399 @if libelf
15400 maybe-install-info-libelf: install-info-libelf
15402 install-info-libelf: \
15403 configure-libelf \
15404 info-libelf
15405 @[ -f ./libelf/Makefile ] || exit 0; \
15406 r=`${PWD_COMMAND}`; export r; \
15407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15408 $(HOST_EXPORTS) \
15409 for flag in $(EXTRA_HOST_FLAGS) ; do \
15410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15411 done; \
15412 echo "Doing install-info in libelf" ; \
15413 (cd $(HOST_SUBDIR)/libelf && \
15414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15416 "RANLIB=$${RANLIB}" \
15417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15418 install-info) \
15419 || exit 1
15421 @endif libelf
15423 .PHONY: maybe-install-pdf-libelf install-pdf-libelf
15424 maybe-install-pdf-libelf:
15425 @if libelf
15426 maybe-install-pdf-libelf: install-pdf-libelf
15428 install-pdf-libelf: \
15429 configure-libelf \
15430 pdf-libelf
15431 @[ -f ./libelf/Makefile ] || exit 0; \
15432 r=`${PWD_COMMAND}`; export r; \
15433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15434 $(HOST_EXPORTS) \
15435 for flag in $(EXTRA_HOST_FLAGS) ; do \
15436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15437 done; \
15438 echo "Doing install-pdf in libelf" ; \
15439 (cd $(HOST_SUBDIR)/libelf && \
15440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15442 "RANLIB=$${RANLIB}" \
15443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15444 install-pdf) \
15445 || exit 1
15447 @endif libelf
15449 .PHONY: maybe-install-html-libelf install-html-libelf
15450 maybe-install-html-libelf:
15451 @if libelf
15452 maybe-install-html-libelf: install-html-libelf
15454 install-html-libelf: \
15455 configure-libelf \
15456 html-libelf
15457 @[ -f ./libelf/Makefile ] || exit 0; \
15458 r=`${PWD_COMMAND}`; export r; \
15459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15460 $(HOST_EXPORTS) \
15461 for flag in $(EXTRA_HOST_FLAGS) ; do \
15462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15463 done; \
15464 echo "Doing install-html in libelf" ; \
15465 (cd $(HOST_SUBDIR)/libelf && \
15466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15468 "RANLIB=$${RANLIB}" \
15469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15470 install-html) \
15471 || exit 1
15473 @endif libelf
15475 .PHONY: maybe-installcheck-libelf installcheck-libelf
15476 maybe-installcheck-libelf:
15477 @if libelf
15478 maybe-installcheck-libelf: installcheck-libelf
15480 installcheck-libelf: \
15481 configure-libelf
15482 @[ -f ./libelf/Makefile ] || exit 0; \
15483 r=`${PWD_COMMAND}`; export r; \
15484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15485 $(HOST_EXPORTS) \
15486 for flag in $(EXTRA_HOST_FLAGS) ; do \
15487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15488 done; \
15489 echo "Doing installcheck in libelf" ; \
15490 (cd $(HOST_SUBDIR)/libelf && \
15491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15493 "RANLIB=$${RANLIB}" \
15494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15495 installcheck) \
15496 || exit 1
15498 @endif libelf
15500 .PHONY: maybe-mostlyclean-libelf mostlyclean-libelf
15501 maybe-mostlyclean-libelf:
15502 @if libelf
15503 maybe-mostlyclean-libelf: mostlyclean-libelf
15505 mostlyclean-libelf:
15506 @[ -f ./libelf/Makefile ] || exit 0; \
15507 r=`${PWD_COMMAND}`; export r; \
15508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15509 $(HOST_EXPORTS) \
15510 for flag in $(EXTRA_HOST_FLAGS) ; do \
15511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15512 done; \
15513 echo "Doing mostlyclean in libelf" ; \
15514 (cd $(HOST_SUBDIR)/libelf && \
15515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15517 "RANLIB=$${RANLIB}" \
15518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15519 mostlyclean) \
15520 || exit 1
15522 @endif libelf
15524 .PHONY: maybe-clean-libelf clean-libelf
15525 maybe-clean-libelf:
15526 @if libelf
15527 maybe-clean-libelf: clean-libelf
15529 clean-libelf:
15530 @[ -f ./libelf/Makefile ] || exit 0; \
15531 r=`${PWD_COMMAND}`; export r; \
15532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15533 $(HOST_EXPORTS) \
15534 for flag in $(EXTRA_HOST_FLAGS) ; do \
15535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15536 done; \
15537 echo "Doing clean in libelf" ; \
15538 (cd $(HOST_SUBDIR)/libelf && \
15539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15541 "RANLIB=$${RANLIB}" \
15542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15543 clean) \
15544 || exit 1
15546 @endif libelf
15548 .PHONY: maybe-distclean-libelf distclean-libelf
15549 maybe-distclean-libelf:
15550 @if libelf
15551 maybe-distclean-libelf: distclean-libelf
15553 distclean-libelf:
15554 @[ -f ./libelf/Makefile ] || exit 0; \
15555 r=`${PWD_COMMAND}`; export r; \
15556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15557 $(HOST_EXPORTS) \
15558 for flag in $(EXTRA_HOST_FLAGS) ; do \
15559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15560 done; \
15561 echo "Doing distclean in libelf" ; \
15562 (cd $(HOST_SUBDIR)/libelf && \
15563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15565 "RANLIB=$${RANLIB}" \
15566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15567 distclean) \
15568 || exit 1
15570 @endif libelf
15572 .PHONY: maybe-maintainer-clean-libelf maintainer-clean-libelf
15573 maybe-maintainer-clean-libelf:
15574 @if libelf
15575 maybe-maintainer-clean-libelf: maintainer-clean-libelf
15577 maintainer-clean-libelf:
15578 @[ -f ./libelf/Makefile ] || exit 0; \
15579 r=`${PWD_COMMAND}`; export r; \
15580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15581 $(HOST_EXPORTS) \
15582 for flag in $(EXTRA_HOST_FLAGS) ; do \
15583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15584 done; \
15585 echo "Doing maintainer-clean in libelf" ; \
15586 (cd $(HOST_SUBDIR)/libelf && \
15587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15589 "RANLIB=$${RANLIB}" \
15590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15591 maintainer-clean) \
15592 || exit 1
15594 @endif libelf
15598 .PHONY: configure-gold maybe-configure-gold
15599 maybe-configure-gold:
15600 @if gcc-bootstrap
15601 configure-gold: stage_current
15602 @endif gcc-bootstrap
15603 @if gold
15604 maybe-configure-gold: configure-gold
15605 configure-gold:
15606 @r=`${PWD_COMMAND}`; export r; \
15607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15608 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15609 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15610 $(HOST_EXPORTS) \
15611 echo Configuring in $(HOST_SUBDIR)/gold; \
15612 cd "$(HOST_SUBDIR)/gold" || exit 1; \
15613 case $(srcdir) in \
15614 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15615 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15616 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15617 esac; \
15618 srcdiroption="--srcdir=$${topdir}/gold"; \
15619 libsrcdir="$$s/gold"; \
15620 $(SHELL) $${libsrcdir}/configure \
15621 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15622 --target=${target_alias} $${srcdiroption} \
15623 || exit 1
15624 @endif gold
15628 .PHONY: configure-stage1-gold maybe-configure-stage1-gold
15629 maybe-configure-stage1-gold:
15630 @if gold-bootstrap
15631 maybe-configure-stage1-gold: configure-stage1-gold
15632 configure-stage1-gold:
15633 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15634 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15635 @r=`${PWD_COMMAND}`; export r; \
15636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15637 TFLAGS="$(STAGE1_TFLAGS)"; \
15638 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15639 $(HOST_EXPORTS) \
15640 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
15641 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
15642 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
15643 echo Configuring stage 1 in $(HOST_SUBDIR)/gold ; \
15644 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15645 cd $(HOST_SUBDIR)/gold || exit 1; \
15646 case $(srcdir) in \
15647 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15648 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15649 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15650 esac; \
15651 srcdiroption="--srcdir=$${topdir}/gold"; \
15652 libsrcdir="$$s/gold"; \
15653 $(SHELL) $${libsrcdir}/configure \
15654 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15655 --target=${target_alias} $${srcdiroption} \
15656 $(STAGE1_CONFIGURE_FLAGS)
15657 @endif gold-bootstrap
15659 .PHONY: configure-stage2-gold maybe-configure-stage2-gold
15660 maybe-configure-stage2-gold:
15661 @if gold-bootstrap
15662 maybe-configure-stage2-gold: configure-stage2-gold
15663 configure-stage2-gold:
15664 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15665 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15666 @r=`${PWD_COMMAND}`; export r; \
15667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15668 TFLAGS="$(STAGE2_TFLAGS)"; \
15669 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15670 $(HOST_EXPORTS) \
15671 $(POSTSTAGE1_HOST_EXPORTS) \
15672 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
15673 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
15674 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
15675 echo Configuring stage 2 in $(HOST_SUBDIR)/gold ; \
15676 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15677 cd $(HOST_SUBDIR)/gold || exit 1; \
15678 case $(srcdir) in \
15679 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15680 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15681 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15682 esac; \
15683 srcdiroption="--srcdir=$${topdir}/gold"; \
15684 libsrcdir="$$s/gold"; \
15685 $(SHELL) $${libsrcdir}/configure \
15686 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15687 --target=${target_alias} $${srcdiroption} \
15688 --with-build-libsubdir=$(HOST_SUBDIR) \
15689 $(STAGE2_CONFIGURE_FLAGS)
15690 @endif gold-bootstrap
15692 .PHONY: configure-stage3-gold maybe-configure-stage3-gold
15693 maybe-configure-stage3-gold:
15694 @if gold-bootstrap
15695 maybe-configure-stage3-gold: configure-stage3-gold
15696 configure-stage3-gold:
15697 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15698 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15699 @r=`${PWD_COMMAND}`; export r; \
15700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15701 TFLAGS="$(STAGE3_TFLAGS)"; \
15702 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15703 $(HOST_EXPORTS) \
15704 $(POSTSTAGE1_HOST_EXPORTS) \
15705 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
15706 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
15707 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
15708 echo Configuring stage 3 in $(HOST_SUBDIR)/gold ; \
15709 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15710 cd $(HOST_SUBDIR)/gold || exit 1; \
15711 case $(srcdir) in \
15712 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15713 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15714 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15715 esac; \
15716 srcdiroption="--srcdir=$${topdir}/gold"; \
15717 libsrcdir="$$s/gold"; \
15718 $(SHELL) $${libsrcdir}/configure \
15719 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15720 --target=${target_alias} $${srcdiroption} \
15721 --with-build-libsubdir=$(HOST_SUBDIR) \
15722 $(STAGE3_CONFIGURE_FLAGS)
15723 @endif gold-bootstrap
15725 .PHONY: configure-stage4-gold maybe-configure-stage4-gold
15726 maybe-configure-stage4-gold:
15727 @if gold-bootstrap
15728 maybe-configure-stage4-gold: configure-stage4-gold
15729 configure-stage4-gold:
15730 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15731 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15732 @r=`${PWD_COMMAND}`; export r; \
15733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15734 TFLAGS="$(STAGE4_TFLAGS)"; \
15735 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15736 $(HOST_EXPORTS) \
15737 $(POSTSTAGE1_HOST_EXPORTS) \
15738 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
15739 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
15740 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
15741 echo Configuring stage 4 in $(HOST_SUBDIR)/gold ; \
15742 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15743 cd $(HOST_SUBDIR)/gold || exit 1; \
15744 case $(srcdir) in \
15745 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15746 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15747 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15748 esac; \
15749 srcdiroption="--srcdir=$${topdir}/gold"; \
15750 libsrcdir="$$s/gold"; \
15751 $(SHELL) $${libsrcdir}/configure \
15752 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15753 --target=${target_alias} $${srcdiroption} \
15754 --with-build-libsubdir=$(HOST_SUBDIR) \
15755 $(STAGE4_CONFIGURE_FLAGS)
15756 @endif gold-bootstrap
15758 .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold
15759 maybe-configure-stageprofile-gold:
15760 @if gold-bootstrap
15761 maybe-configure-stageprofile-gold: configure-stageprofile-gold
15762 configure-stageprofile-gold:
15763 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15764 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15765 @r=`${PWD_COMMAND}`; export r; \
15766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15767 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15768 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15769 $(HOST_EXPORTS) \
15770 $(POSTSTAGE1_HOST_EXPORTS) \
15771 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
15772 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
15773 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
15774 echo Configuring stage profile in $(HOST_SUBDIR)/gold ; \
15775 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15776 cd $(HOST_SUBDIR)/gold || exit 1; \
15777 case $(srcdir) in \
15778 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15779 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15780 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15781 esac; \
15782 srcdiroption="--srcdir=$${topdir}/gold"; \
15783 libsrcdir="$$s/gold"; \
15784 $(SHELL) $${libsrcdir}/configure \
15785 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15786 --target=${target_alias} $${srcdiroption} \
15787 --with-build-libsubdir=$(HOST_SUBDIR) \
15788 $(STAGEprofile_CONFIGURE_FLAGS)
15789 @endif gold-bootstrap
15791 .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold
15792 maybe-configure-stagefeedback-gold:
15793 @if gold-bootstrap
15794 maybe-configure-stagefeedback-gold: configure-stagefeedback-gold
15795 configure-stagefeedback-gold:
15796 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15797 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15798 @r=`${PWD_COMMAND}`; export r; \
15799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15800 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15801 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15802 $(HOST_EXPORTS) \
15803 $(POSTSTAGE1_HOST_EXPORTS) \
15804 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
15805 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
15806 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
15807 echo Configuring stage feedback in $(HOST_SUBDIR)/gold ; \
15808 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15809 cd $(HOST_SUBDIR)/gold || exit 1; \
15810 case $(srcdir) in \
15811 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15812 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15813 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15814 esac; \
15815 srcdiroption="--srcdir=$${topdir}/gold"; \
15816 libsrcdir="$$s/gold"; \
15817 $(SHELL) $${libsrcdir}/configure \
15818 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15819 --target=${target_alias} $${srcdiroption} \
15820 --with-build-libsubdir=$(HOST_SUBDIR) \
15821 $(STAGEfeedback_CONFIGURE_FLAGS)
15822 @endif gold-bootstrap
15828 .PHONY: all-gold maybe-all-gold
15829 maybe-all-gold:
15830 @if gcc-bootstrap
15831 all-gold: stage_current
15832 @endif gcc-bootstrap
15833 @if gold
15834 TARGET-gold=all
15835 maybe-all-gold: all-gold
15836 all-gold: configure-gold
15837 @r=`${PWD_COMMAND}`; export r; \
15838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15839 $(HOST_EXPORTS) \
15840 (cd $(HOST_SUBDIR)/gold && \
15841 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
15842 $(TARGET-gold))
15843 @endif gold
15847 .PHONY: all-stage1-gold maybe-all-stage1-gold
15848 .PHONY: clean-stage1-gold maybe-clean-stage1-gold
15849 maybe-all-stage1-gold:
15850 maybe-clean-stage1-gold:
15851 @if gold-bootstrap
15852 maybe-all-stage1-gold: all-stage1-gold
15853 all-stage1: all-stage1-gold
15854 TARGET-stage1-gold = $(TARGET-gold)
15855 all-stage1-gold: configure-stage1-gold
15856 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15857 @r=`${PWD_COMMAND}`; export r; \
15858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15859 TFLAGS="$(STAGE1_TFLAGS)"; \
15860 $(HOST_EXPORTS) \
15861 cd $(HOST_SUBDIR)/gold && \
15862 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15863 CFLAGS="$(STAGE1_CFLAGS)" \
15864 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15865 LIBCFLAGS="$(LIBCFLAGS)" \
15866 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15867 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15868 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15869 $(EXTRA_HOST_FLAGS) \
15870 $(STAGE1_FLAGS_TO_PASS) \
15871 TFLAGS="$(STAGE1_TFLAGS)" \
15872 $(TARGET-stage1-gold)
15874 maybe-clean-stage1-gold: clean-stage1-gold
15875 clean-stage1: clean-stage1-gold
15876 clean-stage1-gold:
15877 @if [ $(current_stage) = stage1 ]; then \
15878 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15879 else \
15880 [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \
15881 $(MAKE) stage1-start; \
15882 fi; \
15883 cd $(HOST_SUBDIR)/gold && \
15884 $(MAKE) $(EXTRA_HOST_FLAGS) \
15885 $(STAGE1_FLAGS_TO_PASS) clean
15886 @endif gold-bootstrap
15889 .PHONY: all-stage2-gold maybe-all-stage2-gold
15890 .PHONY: clean-stage2-gold maybe-clean-stage2-gold
15891 maybe-all-stage2-gold:
15892 maybe-clean-stage2-gold:
15893 @if gold-bootstrap
15894 maybe-all-stage2-gold: all-stage2-gold
15895 all-stage2: all-stage2-gold
15896 TARGET-stage2-gold = $(TARGET-gold)
15897 all-stage2-gold: configure-stage2-gold
15898 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15899 @r=`${PWD_COMMAND}`; export r; \
15900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15901 TFLAGS="$(STAGE2_TFLAGS)"; \
15902 $(HOST_EXPORTS) \
15903 $(POSTSTAGE1_HOST_EXPORTS) \
15904 cd $(HOST_SUBDIR)/gold && \
15905 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15906 CFLAGS="$(STAGE2_CFLAGS)" \
15907 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15908 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15909 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15910 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15911 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15912 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15913 TFLAGS="$(STAGE2_TFLAGS)" \
15914 $(TARGET-stage2-gold)
15916 maybe-clean-stage2-gold: clean-stage2-gold
15917 clean-stage2: clean-stage2-gold
15918 clean-stage2-gold:
15919 @if [ $(current_stage) = stage2 ]; then \
15920 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15921 else \
15922 [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \
15923 $(MAKE) stage2-start; \
15924 fi; \
15925 cd $(HOST_SUBDIR)/gold && \
15926 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15927 @endif gold-bootstrap
15930 .PHONY: all-stage3-gold maybe-all-stage3-gold
15931 .PHONY: clean-stage3-gold maybe-clean-stage3-gold
15932 maybe-all-stage3-gold:
15933 maybe-clean-stage3-gold:
15934 @if gold-bootstrap
15935 maybe-all-stage3-gold: all-stage3-gold
15936 all-stage3: all-stage3-gold
15937 TARGET-stage3-gold = $(TARGET-gold)
15938 all-stage3-gold: configure-stage3-gold
15939 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15940 @r=`${PWD_COMMAND}`; export r; \
15941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15942 TFLAGS="$(STAGE3_TFLAGS)"; \
15943 $(HOST_EXPORTS) \
15944 $(POSTSTAGE1_HOST_EXPORTS) \
15945 cd $(HOST_SUBDIR)/gold && \
15946 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15947 CFLAGS="$(STAGE3_CFLAGS)" \
15948 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15949 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15950 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15951 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15952 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15953 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15954 TFLAGS="$(STAGE3_TFLAGS)" \
15955 $(TARGET-stage3-gold)
15957 maybe-clean-stage3-gold: clean-stage3-gold
15958 clean-stage3: clean-stage3-gold
15959 clean-stage3-gold:
15960 @if [ $(current_stage) = stage3 ]; then \
15961 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15962 else \
15963 [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \
15964 $(MAKE) stage3-start; \
15965 fi; \
15966 cd $(HOST_SUBDIR)/gold && \
15967 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15968 @endif gold-bootstrap
15971 .PHONY: all-stage4-gold maybe-all-stage4-gold
15972 .PHONY: clean-stage4-gold maybe-clean-stage4-gold
15973 maybe-all-stage4-gold:
15974 maybe-clean-stage4-gold:
15975 @if gold-bootstrap
15976 maybe-all-stage4-gold: all-stage4-gold
15977 all-stage4: all-stage4-gold
15978 TARGET-stage4-gold = $(TARGET-gold)
15979 all-stage4-gold: configure-stage4-gold
15980 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15981 @r=`${PWD_COMMAND}`; export r; \
15982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15983 TFLAGS="$(STAGE4_TFLAGS)"; \
15984 $(HOST_EXPORTS) \
15985 $(POSTSTAGE1_HOST_EXPORTS) \
15986 cd $(HOST_SUBDIR)/gold && \
15987 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15988 CFLAGS="$(STAGE4_CFLAGS)" \
15989 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15990 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15991 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15992 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15993 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15994 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15995 TFLAGS="$(STAGE4_TFLAGS)" \
15996 $(TARGET-stage4-gold)
15998 maybe-clean-stage4-gold: clean-stage4-gold
15999 clean-stage4: clean-stage4-gold
16000 clean-stage4-gold:
16001 @if [ $(current_stage) = stage4 ]; then \
16002 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16003 else \
16004 [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \
16005 $(MAKE) stage4-start; \
16006 fi; \
16007 cd $(HOST_SUBDIR)/gold && \
16008 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16009 @endif gold-bootstrap
16012 .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold
16013 .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold
16014 maybe-all-stageprofile-gold:
16015 maybe-clean-stageprofile-gold:
16016 @if gold-bootstrap
16017 maybe-all-stageprofile-gold: all-stageprofile-gold
16018 all-stageprofile: all-stageprofile-gold
16019 TARGET-stageprofile-gold = $(TARGET-gold)
16020 all-stageprofile-gold: configure-stageprofile-gold
16021 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16022 @r=`${PWD_COMMAND}`; export r; \
16023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16024 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16025 $(HOST_EXPORTS) \
16026 $(POSTSTAGE1_HOST_EXPORTS) \
16027 cd $(HOST_SUBDIR)/gold && \
16028 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16029 CFLAGS="$(STAGEprofile_CFLAGS)" \
16030 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
16031 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
16032 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16033 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16034 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16035 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16036 TFLAGS="$(STAGEprofile_TFLAGS)" \
16037 $(TARGET-stageprofile-gold)
16039 maybe-clean-stageprofile-gold: clean-stageprofile-gold
16040 clean-stageprofile: clean-stageprofile-gold
16041 clean-stageprofile-gold:
16042 @if [ $(current_stage) = stageprofile ]; then \
16043 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16044 else \
16045 [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \
16046 $(MAKE) stageprofile-start; \
16047 fi; \
16048 cd $(HOST_SUBDIR)/gold && \
16049 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16050 @endif gold-bootstrap
16053 .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold
16054 .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold
16055 maybe-all-stagefeedback-gold:
16056 maybe-clean-stagefeedback-gold:
16057 @if gold-bootstrap
16058 maybe-all-stagefeedback-gold: all-stagefeedback-gold
16059 all-stagefeedback: all-stagefeedback-gold
16060 TARGET-stagefeedback-gold = $(TARGET-gold)
16061 all-stagefeedback-gold: configure-stagefeedback-gold
16062 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16063 @r=`${PWD_COMMAND}`; export r; \
16064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16065 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16066 $(HOST_EXPORTS) \
16067 $(POSTSTAGE1_HOST_EXPORTS) \
16068 cd $(HOST_SUBDIR)/gold && \
16069 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16070 CFLAGS="$(STAGEfeedback_CFLAGS)" \
16071 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
16072 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
16073 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16074 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16075 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16076 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16077 TFLAGS="$(STAGEfeedback_TFLAGS)" \
16078 $(TARGET-stagefeedback-gold)
16080 maybe-clean-stagefeedback-gold: clean-stagefeedback-gold
16081 clean-stagefeedback: clean-stagefeedback-gold
16082 clean-stagefeedback-gold:
16083 @if [ $(current_stage) = stagefeedback ]; then \
16084 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16085 else \
16086 [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \
16087 $(MAKE) stagefeedback-start; \
16088 fi; \
16089 cd $(HOST_SUBDIR)/gold && \
16090 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16091 @endif gold-bootstrap
16097 .PHONY: check-gold maybe-check-gold
16098 maybe-check-gold:
16099 @if gold
16100 maybe-check-gold: check-gold
16102 check-gold:
16103 @: $(MAKE); $(unstage)
16104 @r=`${PWD_COMMAND}`; export r; \
16105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16106 $(HOST_EXPORTS) \
16107 (cd $(HOST_SUBDIR)/gold && \
16108 $(MAKE) $(FLAGS_TO_PASS) check)
16110 @endif gold
16112 .PHONY: install-gold maybe-install-gold
16113 maybe-install-gold:
16114 @if gold
16115 maybe-install-gold: install-gold
16117 install-gold: installdirs
16118 @: $(MAKE); $(unstage)
16119 @r=`${PWD_COMMAND}`; export r; \
16120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16121 $(HOST_EXPORTS) \
16122 (cd $(HOST_SUBDIR)/gold && \
16123 $(MAKE) $(FLAGS_TO_PASS) install)
16125 @endif gold
16127 .PHONY: install-strip-gold maybe-install-strip-gold
16128 maybe-install-strip-gold:
16129 @if gold
16130 maybe-install-strip-gold: install-strip-gold
16132 install-strip-gold: installdirs
16133 @: $(MAKE); $(unstage)
16134 @r=`${PWD_COMMAND}`; export r; \
16135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16136 $(HOST_EXPORTS) \
16137 (cd $(HOST_SUBDIR)/gold && \
16138 $(MAKE) $(FLAGS_TO_PASS) install-strip)
16140 @endif gold
16142 # Other targets (info, dvi, pdf, etc.)
16144 .PHONY: maybe-info-gold info-gold
16145 maybe-info-gold:
16146 @if gold
16147 maybe-info-gold: info-gold
16149 info-gold: \
16150 configure-gold
16151 @[ -f ./gold/Makefile ] || exit 0; \
16152 r=`${PWD_COMMAND}`; export r; \
16153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16154 $(HOST_EXPORTS) \
16155 for flag in $(EXTRA_HOST_FLAGS) ; do \
16156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16157 done; \
16158 echo "Doing info in gold" ; \
16159 (cd $(HOST_SUBDIR)/gold && \
16160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16162 "RANLIB=$${RANLIB}" \
16163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16164 info) \
16165 || exit 1
16167 @endif gold
16169 .PHONY: maybe-dvi-gold dvi-gold
16170 maybe-dvi-gold:
16171 @if gold
16172 maybe-dvi-gold: dvi-gold
16174 dvi-gold: \
16175 configure-gold
16176 @[ -f ./gold/Makefile ] || exit 0; \
16177 r=`${PWD_COMMAND}`; export r; \
16178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16179 $(HOST_EXPORTS) \
16180 for flag in $(EXTRA_HOST_FLAGS) ; do \
16181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16182 done; \
16183 echo "Doing dvi in gold" ; \
16184 (cd $(HOST_SUBDIR)/gold && \
16185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16187 "RANLIB=$${RANLIB}" \
16188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16189 dvi) \
16190 || exit 1
16192 @endif gold
16194 .PHONY: maybe-pdf-gold pdf-gold
16195 maybe-pdf-gold:
16196 @if gold
16197 maybe-pdf-gold: pdf-gold
16199 pdf-gold: \
16200 configure-gold
16201 @[ -f ./gold/Makefile ] || exit 0; \
16202 r=`${PWD_COMMAND}`; export r; \
16203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16204 $(HOST_EXPORTS) \
16205 for flag in $(EXTRA_HOST_FLAGS) ; do \
16206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16207 done; \
16208 echo "Doing pdf in gold" ; \
16209 (cd $(HOST_SUBDIR)/gold && \
16210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16212 "RANLIB=$${RANLIB}" \
16213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16214 pdf) \
16215 || exit 1
16217 @endif gold
16219 .PHONY: maybe-html-gold html-gold
16220 maybe-html-gold:
16221 @if gold
16222 maybe-html-gold: html-gold
16224 html-gold: \
16225 configure-gold
16226 @[ -f ./gold/Makefile ] || exit 0; \
16227 r=`${PWD_COMMAND}`; export r; \
16228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16229 $(HOST_EXPORTS) \
16230 for flag in $(EXTRA_HOST_FLAGS) ; do \
16231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16232 done; \
16233 echo "Doing html in gold" ; \
16234 (cd $(HOST_SUBDIR)/gold && \
16235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16237 "RANLIB=$${RANLIB}" \
16238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16239 html) \
16240 || exit 1
16242 @endif gold
16244 .PHONY: maybe-TAGS-gold TAGS-gold
16245 maybe-TAGS-gold:
16246 @if gold
16247 maybe-TAGS-gold: TAGS-gold
16249 TAGS-gold: \
16250 configure-gold
16251 @[ -f ./gold/Makefile ] || exit 0; \
16252 r=`${PWD_COMMAND}`; export r; \
16253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16254 $(HOST_EXPORTS) \
16255 for flag in $(EXTRA_HOST_FLAGS) ; do \
16256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16257 done; \
16258 echo "Doing TAGS in gold" ; \
16259 (cd $(HOST_SUBDIR)/gold && \
16260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16262 "RANLIB=$${RANLIB}" \
16263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16264 TAGS) \
16265 || exit 1
16267 @endif gold
16269 .PHONY: maybe-install-info-gold install-info-gold
16270 maybe-install-info-gold:
16271 @if gold
16272 maybe-install-info-gold: install-info-gold
16274 install-info-gold: \
16275 configure-gold \
16276 info-gold
16277 @[ -f ./gold/Makefile ] || exit 0; \
16278 r=`${PWD_COMMAND}`; export r; \
16279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16280 $(HOST_EXPORTS) \
16281 for flag in $(EXTRA_HOST_FLAGS) ; do \
16282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16283 done; \
16284 echo "Doing install-info in gold" ; \
16285 (cd $(HOST_SUBDIR)/gold && \
16286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16288 "RANLIB=$${RANLIB}" \
16289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16290 install-info) \
16291 || exit 1
16293 @endif gold
16295 .PHONY: maybe-install-pdf-gold install-pdf-gold
16296 maybe-install-pdf-gold:
16297 @if gold
16298 maybe-install-pdf-gold: install-pdf-gold
16300 install-pdf-gold: \
16301 configure-gold \
16302 pdf-gold
16303 @[ -f ./gold/Makefile ] || exit 0; \
16304 r=`${PWD_COMMAND}`; export r; \
16305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16306 $(HOST_EXPORTS) \
16307 for flag in $(EXTRA_HOST_FLAGS) ; do \
16308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16309 done; \
16310 echo "Doing install-pdf in gold" ; \
16311 (cd $(HOST_SUBDIR)/gold && \
16312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16314 "RANLIB=$${RANLIB}" \
16315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16316 install-pdf) \
16317 || exit 1
16319 @endif gold
16321 .PHONY: maybe-install-html-gold install-html-gold
16322 maybe-install-html-gold:
16323 @if gold
16324 maybe-install-html-gold: install-html-gold
16326 install-html-gold: \
16327 configure-gold \
16328 html-gold
16329 @[ -f ./gold/Makefile ] || exit 0; \
16330 r=`${PWD_COMMAND}`; export r; \
16331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16332 $(HOST_EXPORTS) \
16333 for flag in $(EXTRA_HOST_FLAGS) ; do \
16334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16335 done; \
16336 echo "Doing install-html in gold" ; \
16337 (cd $(HOST_SUBDIR)/gold && \
16338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16340 "RANLIB=$${RANLIB}" \
16341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16342 install-html) \
16343 || exit 1
16345 @endif gold
16347 .PHONY: maybe-installcheck-gold installcheck-gold
16348 maybe-installcheck-gold:
16349 @if gold
16350 maybe-installcheck-gold: installcheck-gold
16352 installcheck-gold: \
16353 configure-gold
16354 @[ -f ./gold/Makefile ] || exit 0; \
16355 r=`${PWD_COMMAND}`; export r; \
16356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16357 $(HOST_EXPORTS) \
16358 for flag in $(EXTRA_HOST_FLAGS) ; do \
16359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16360 done; \
16361 echo "Doing installcheck in gold" ; \
16362 (cd $(HOST_SUBDIR)/gold && \
16363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16365 "RANLIB=$${RANLIB}" \
16366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16367 installcheck) \
16368 || exit 1
16370 @endif gold
16372 .PHONY: maybe-mostlyclean-gold mostlyclean-gold
16373 maybe-mostlyclean-gold:
16374 @if gold
16375 maybe-mostlyclean-gold: mostlyclean-gold
16377 mostlyclean-gold:
16378 @[ -f ./gold/Makefile ] || exit 0; \
16379 r=`${PWD_COMMAND}`; export r; \
16380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16381 $(HOST_EXPORTS) \
16382 for flag in $(EXTRA_HOST_FLAGS) ; do \
16383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16384 done; \
16385 echo "Doing mostlyclean in gold" ; \
16386 (cd $(HOST_SUBDIR)/gold && \
16387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16389 "RANLIB=$${RANLIB}" \
16390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16391 mostlyclean) \
16392 || exit 1
16394 @endif gold
16396 .PHONY: maybe-clean-gold clean-gold
16397 maybe-clean-gold:
16398 @if gold
16399 maybe-clean-gold: clean-gold
16401 clean-gold:
16402 @[ -f ./gold/Makefile ] || exit 0; \
16403 r=`${PWD_COMMAND}`; export r; \
16404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16405 $(HOST_EXPORTS) \
16406 for flag in $(EXTRA_HOST_FLAGS) ; do \
16407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16408 done; \
16409 echo "Doing clean in gold" ; \
16410 (cd $(HOST_SUBDIR)/gold && \
16411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16413 "RANLIB=$${RANLIB}" \
16414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16415 clean) \
16416 || exit 1
16418 @endif gold
16420 .PHONY: maybe-distclean-gold distclean-gold
16421 maybe-distclean-gold:
16422 @if gold
16423 maybe-distclean-gold: distclean-gold
16425 distclean-gold:
16426 @[ -f ./gold/Makefile ] || exit 0; \
16427 r=`${PWD_COMMAND}`; export r; \
16428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16429 $(HOST_EXPORTS) \
16430 for flag in $(EXTRA_HOST_FLAGS) ; do \
16431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16432 done; \
16433 echo "Doing distclean in gold" ; \
16434 (cd $(HOST_SUBDIR)/gold && \
16435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16437 "RANLIB=$${RANLIB}" \
16438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16439 distclean) \
16440 || exit 1
16442 @endif gold
16444 .PHONY: maybe-maintainer-clean-gold maintainer-clean-gold
16445 maybe-maintainer-clean-gold:
16446 @if gold
16447 maybe-maintainer-clean-gold: maintainer-clean-gold
16449 maintainer-clean-gold:
16450 @[ -f ./gold/Makefile ] || exit 0; \
16451 r=`${PWD_COMMAND}`; export r; \
16452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16453 $(HOST_EXPORTS) \
16454 for flag in $(EXTRA_HOST_FLAGS) ; do \
16455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16456 done; \
16457 echo "Doing maintainer-clean in gold" ; \
16458 (cd $(HOST_SUBDIR)/gold && \
16459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16461 "RANLIB=$${RANLIB}" \
16462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16463 maintainer-clean) \
16464 || exit 1
16466 @endif gold
16470 .PHONY: configure-gprof maybe-configure-gprof
16471 maybe-configure-gprof:
16472 @if gcc-bootstrap
16473 configure-gprof: stage_current
16474 @endif gcc-bootstrap
16475 @if gprof
16476 maybe-configure-gprof: configure-gprof
16477 configure-gprof:
16478 @: $(MAKE); $(unstage)
16479 @r=`${PWD_COMMAND}`; export r; \
16480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16481 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
16482 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
16483 $(HOST_EXPORTS) \
16484 echo Configuring in $(HOST_SUBDIR)/gprof; \
16485 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
16486 case $(srcdir) in \
16487 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16488 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
16489 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16490 esac; \
16491 srcdiroption="--srcdir=$${topdir}/gprof"; \
16492 libsrcdir="$$s/gprof"; \
16493 $(SHELL) $${libsrcdir}/configure \
16494 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16495 --target=${target_alias} $${srcdiroption} \
16496 || exit 1
16497 @endif gprof
16503 .PHONY: all-gprof maybe-all-gprof
16504 maybe-all-gprof:
16505 @if gcc-bootstrap
16506 all-gprof: stage_current
16507 @endif gcc-bootstrap
16508 @if gprof
16509 TARGET-gprof=all
16510 maybe-all-gprof: all-gprof
16511 all-gprof: configure-gprof
16512 @: $(MAKE); $(unstage)
16513 @r=`${PWD_COMMAND}`; export r; \
16514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16515 $(HOST_EXPORTS) \
16516 (cd $(HOST_SUBDIR)/gprof && \
16517 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
16518 $(TARGET-gprof))
16519 @endif gprof
16524 .PHONY: check-gprof maybe-check-gprof
16525 maybe-check-gprof:
16526 @if gprof
16527 maybe-check-gprof: check-gprof
16529 check-gprof:
16530 @: $(MAKE); $(unstage)
16531 @r=`${PWD_COMMAND}`; export r; \
16532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16533 $(HOST_EXPORTS) \
16534 (cd $(HOST_SUBDIR)/gprof && \
16535 $(MAKE) $(FLAGS_TO_PASS) check)
16537 @endif gprof
16539 .PHONY: install-gprof maybe-install-gprof
16540 maybe-install-gprof:
16541 @if gprof
16542 maybe-install-gprof: install-gprof
16544 install-gprof: installdirs
16545 @: $(MAKE); $(unstage)
16546 @r=`${PWD_COMMAND}`; export r; \
16547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16548 $(HOST_EXPORTS) \
16549 (cd $(HOST_SUBDIR)/gprof && \
16550 $(MAKE) $(FLAGS_TO_PASS) install)
16552 @endif gprof
16554 .PHONY: install-strip-gprof maybe-install-strip-gprof
16555 maybe-install-strip-gprof:
16556 @if gprof
16557 maybe-install-strip-gprof: install-strip-gprof
16559 install-strip-gprof: installdirs
16560 @: $(MAKE); $(unstage)
16561 @r=`${PWD_COMMAND}`; export r; \
16562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16563 $(HOST_EXPORTS) \
16564 (cd $(HOST_SUBDIR)/gprof && \
16565 $(MAKE) $(FLAGS_TO_PASS) install-strip)
16567 @endif gprof
16569 # Other targets (info, dvi, pdf, etc.)
16571 .PHONY: maybe-info-gprof info-gprof
16572 maybe-info-gprof:
16573 @if gprof
16574 maybe-info-gprof: info-gprof
16576 info-gprof: \
16577 configure-gprof
16578 @: $(MAKE); $(unstage)
16579 @[ -f ./gprof/Makefile ] || exit 0; \
16580 r=`${PWD_COMMAND}`; export r; \
16581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16582 $(HOST_EXPORTS) \
16583 for flag in $(EXTRA_HOST_FLAGS) ; do \
16584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16585 done; \
16586 echo "Doing info in gprof" ; \
16587 (cd $(HOST_SUBDIR)/gprof && \
16588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16590 "RANLIB=$${RANLIB}" \
16591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16592 info) \
16593 || exit 1
16595 @endif gprof
16597 .PHONY: maybe-dvi-gprof dvi-gprof
16598 maybe-dvi-gprof:
16599 @if gprof
16600 maybe-dvi-gprof: dvi-gprof
16602 dvi-gprof: \
16603 configure-gprof
16604 @: $(MAKE); $(unstage)
16605 @[ -f ./gprof/Makefile ] || exit 0; \
16606 r=`${PWD_COMMAND}`; export r; \
16607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16608 $(HOST_EXPORTS) \
16609 for flag in $(EXTRA_HOST_FLAGS) ; do \
16610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16611 done; \
16612 echo "Doing dvi in gprof" ; \
16613 (cd $(HOST_SUBDIR)/gprof && \
16614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16616 "RANLIB=$${RANLIB}" \
16617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16618 dvi) \
16619 || exit 1
16621 @endif gprof
16623 .PHONY: maybe-pdf-gprof pdf-gprof
16624 maybe-pdf-gprof:
16625 @if gprof
16626 maybe-pdf-gprof: pdf-gprof
16628 pdf-gprof: \
16629 configure-gprof
16630 @: $(MAKE); $(unstage)
16631 @[ -f ./gprof/Makefile ] || exit 0; \
16632 r=`${PWD_COMMAND}`; export r; \
16633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16634 $(HOST_EXPORTS) \
16635 for flag in $(EXTRA_HOST_FLAGS) ; do \
16636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16637 done; \
16638 echo "Doing pdf in gprof" ; \
16639 (cd $(HOST_SUBDIR)/gprof && \
16640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16642 "RANLIB=$${RANLIB}" \
16643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16644 pdf) \
16645 || exit 1
16647 @endif gprof
16649 .PHONY: maybe-html-gprof html-gprof
16650 maybe-html-gprof:
16651 @if gprof
16652 maybe-html-gprof: html-gprof
16654 html-gprof: \
16655 configure-gprof
16656 @: $(MAKE); $(unstage)
16657 @[ -f ./gprof/Makefile ] || exit 0; \
16658 r=`${PWD_COMMAND}`; export r; \
16659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16660 $(HOST_EXPORTS) \
16661 for flag in $(EXTRA_HOST_FLAGS) ; do \
16662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16663 done; \
16664 echo "Doing html in gprof" ; \
16665 (cd $(HOST_SUBDIR)/gprof && \
16666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16668 "RANLIB=$${RANLIB}" \
16669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16670 html) \
16671 || exit 1
16673 @endif gprof
16675 .PHONY: maybe-TAGS-gprof TAGS-gprof
16676 maybe-TAGS-gprof:
16677 @if gprof
16678 maybe-TAGS-gprof: TAGS-gprof
16680 TAGS-gprof: \
16681 configure-gprof
16682 @: $(MAKE); $(unstage)
16683 @[ -f ./gprof/Makefile ] || exit 0; \
16684 r=`${PWD_COMMAND}`; export r; \
16685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16686 $(HOST_EXPORTS) \
16687 for flag in $(EXTRA_HOST_FLAGS) ; do \
16688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16689 done; \
16690 echo "Doing TAGS in gprof" ; \
16691 (cd $(HOST_SUBDIR)/gprof && \
16692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16694 "RANLIB=$${RANLIB}" \
16695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16696 TAGS) \
16697 || exit 1
16699 @endif gprof
16701 .PHONY: maybe-install-info-gprof install-info-gprof
16702 maybe-install-info-gprof:
16703 @if gprof
16704 maybe-install-info-gprof: install-info-gprof
16706 install-info-gprof: \
16707 configure-gprof \
16708 info-gprof
16709 @: $(MAKE); $(unstage)
16710 @[ -f ./gprof/Makefile ] || exit 0; \
16711 r=`${PWD_COMMAND}`; export r; \
16712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16713 $(HOST_EXPORTS) \
16714 for flag in $(EXTRA_HOST_FLAGS) ; do \
16715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16716 done; \
16717 echo "Doing install-info in gprof" ; \
16718 (cd $(HOST_SUBDIR)/gprof && \
16719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16721 "RANLIB=$${RANLIB}" \
16722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16723 install-info) \
16724 || exit 1
16726 @endif gprof
16728 .PHONY: maybe-install-pdf-gprof install-pdf-gprof
16729 maybe-install-pdf-gprof:
16730 @if gprof
16731 maybe-install-pdf-gprof: install-pdf-gprof
16733 install-pdf-gprof: \
16734 configure-gprof \
16735 pdf-gprof
16736 @: $(MAKE); $(unstage)
16737 @[ -f ./gprof/Makefile ] || exit 0; \
16738 r=`${PWD_COMMAND}`; export r; \
16739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16740 $(HOST_EXPORTS) \
16741 for flag in $(EXTRA_HOST_FLAGS) ; do \
16742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16743 done; \
16744 echo "Doing install-pdf in gprof" ; \
16745 (cd $(HOST_SUBDIR)/gprof && \
16746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16748 "RANLIB=$${RANLIB}" \
16749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16750 install-pdf) \
16751 || exit 1
16753 @endif gprof
16755 .PHONY: maybe-install-html-gprof install-html-gprof
16756 maybe-install-html-gprof:
16757 @if gprof
16758 maybe-install-html-gprof: install-html-gprof
16760 install-html-gprof: \
16761 configure-gprof \
16762 html-gprof
16763 @: $(MAKE); $(unstage)
16764 @[ -f ./gprof/Makefile ] || exit 0; \
16765 r=`${PWD_COMMAND}`; export r; \
16766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16767 $(HOST_EXPORTS) \
16768 for flag in $(EXTRA_HOST_FLAGS) ; do \
16769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16770 done; \
16771 echo "Doing install-html in gprof" ; \
16772 (cd $(HOST_SUBDIR)/gprof && \
16773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16775 "RANLIB=$${RANLIB}" \
16776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16777 install-html) \
16778 || exit 1
16780 @endif gprof
16782 .PHONY: maybe-installcheck-gprof installcheck-gprof
16783 maybe-installcheck-gprof:
16784 @if gprof
16785 maybe-installcheck-gprof: installcheck-gprof
16787 installcheck-gprof: \
16788 configure-gprof
16789 @: $(MAKE); $(unstage)
16790 @[ -f ./gprof/Makefile ] || exit 0; \
16791 r=`${PWD_COMMAND}`; export r; \
16792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16793 $(HOST_EXPORTS) \
16794 for flag in $(EXTRA_HOST_FLAGS) ; do \
16795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16796 done; \
16797 echo "Doing installcheck in gprof" ; \
16798 (cd $(HOST_SUBDIR)/gprof && \
16799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16801 "RANLIB=$${RANLIB}" \
16802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16803 installcheck) \
16804 || exit 1
16806 @endif gprof
16808 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
16809 maybe-mostlyclean-gprof:
16810 @if gprof
16811 maybe-mostlyclean-gprof: mostlyclean-gprof
16813 mostlyclean-gprof:
16814 @: $(MAKE); $(unstage)
16815 @[ -f ./gprof/Makefile ] || exit 0; \
16816 r=`${PWD_COMMAND}`; export r; \
16817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16818 $(HOST_EXPORTS) \
16819 for flag in $(EXTRA_HOST_FLAGS) ; do \
16820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16821 done; \
16822 echo "Doing mostlyclean in gprof" ; \
16823 (cd $(HOST_SUBDIR)/gprof && \
16824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16826 "RANLIB=$${RANLIB}" \
16827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16828 mostlyclean) \
16829 || exit 1
16831 @endif gprof
16833 .PHONY: maybe-clean-gprof clean-gprof
16834 maybe-clean-gprof:
16835 @if gprof
16836 maybe-clean-gprof: clean-gprof
16838 clean-gprof:
16839 @: $(MAKE); $(unstage)
16840 @[ -f ./gprof/Makefile ] || exit 0; \
16841 r=`${PWD_COMMAND}`; export r; \
16842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16843 $(HOST_EXPORTS) \
16844 for flag in $(EXTRA_HOST_FLAGS) ; do \
16845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16846 done; \
16847 echo "Doing clean in gprof" ; \
16848 (cd $(HOST_SUBDIR)/gprof && \
16849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16851 "RANLIB=$${RANLIB}" \
16852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16853 clean) \
16854 || exit 1
16856 @endif gprof
16858 .PHONY: maybe-distclean-gprof distclean-gprof
16859 maybe-distclean-gprof:
16860 @if gprof
16861 maybe-distclean-gprof: distclean-gprof
16863 distclean-gprof:
16864 @: $(MAKE); $(unstage)
16865 @[ -f ./gprof/Makefile ] || exit 0; \
16866 r=`${PWD_COMMAND}`; export r; \
16867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16868 $(HOST_EXPORTS) \
16869 for flag in $(EXTRA_HOST_FLAGS) ; do \
16870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16871 done; \
16872 echo "Doing distclean in gprof" ; \
16873 (cd $(HOST_SUBDIR)/gprof && \
16874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16876 "RANLIB=$${RANLIB}" \
16877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16878 distclean) \
16879 || exit 1
16881 @endif gprof
16883 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
16884 maybe-maintainer-clean-gprof:
16885 @if gprof
16886 maybe-maintainer-clean-gprof: maintainer-clean-gprof
16888 maintainer-clean-gprof:
16889 @: $(MAKE); $(unstage)
16890 @[ -f ./gprof/Makefile ] || exit 0; \
16891 r=`${PWD_COMMAND}`; export r; \
16892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16893 $(HOST_EXPORTS) \
16894 for flag in $(EXTRA_HOST_FLAGS) ; do \
16895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16896 done; \
16897 echo "Doing maintainer-clean in gprof" ; \
16898 (cd $(HOST_SUBDIR)/gprof && \
16899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16901 "RANLIB=$${RANLIB}" \
16902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16903 maintainer-clean) \
16904 || exit 1
16906 @endif gprof
16910 .PHONY: configure-intl maybe-configure-intl
16911 maybe-configure-intl:
16912 @if gcc-bootstrap
16913 configure-intl: stage_current
16914 @endif gcc-bootstrap
16915 @if intl
16916 maybe-configure-intl: configure-intl
16917 configure-intl:
16918 @r=`${PWD_COMMAND}`; export r; \
16919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16920 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16921 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16922 $(HOST_EXPORTS) \
16923 echo Configuring in $(HOST_SUBDIR)/intl; \
16924 cd "$(HOST_SUBDIR)/intl" || exit 1; \
16925 case $(srcdir) in \
16926 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16927 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16928 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16929 esac; \
16930 srcdiroption="--srcdir=$${topdir}/intl"; \
16931 libsrcdir="$$s/intl"; \
16932 $(SHELL) $${libsrcdir}/configure \
16933 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16934 --target=${target_alias} $${srcdiroption} \
16935 || exit 1
16936 @endif intl
16940 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
16941 maybe-configure-stage1-intl:
16942 @if intl-bootstrap
16943 maybe-configure-stage1-intl: configure-stage1-intl
16944 configure-stage1-intl:
16945 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16946 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16947 @r=`${PWD_COMMAND}`; export r; \
16948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16949 TFLAGS="$(STAGE1_TFLAGS)"; \
16950 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16951 $(HOST_EXPORTS) \
16952 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
16953 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
16954 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
16955 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
16956 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16957 cd $(HOST_SUBDIR)/intl || exit 1; \
16958 case $(srcdir) in \
16959 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16960 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16961 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16962 esac; \
16963 srcdiroption="--srcdir=$${topdir}/intl"; \
16964 libsrcdir="$$s/intl"; \
16965 $(SHELL) $${libsrcdir}/configure \
16966 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16967 --target=${target_alias} $${srcdiroption} \
16968 $(STAGE1_CONFIGURE_FLAGS)
16969 @endif intl-bootstrap
16971 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
16972 maybe-configure-stage2-intl:
16973 @if intl-bootstrap
16974 maybe-configure-stage2-intl: configure-stage2-intl
16975 configure-stage2-intl:
16976 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16977 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16978 @r=`${PWD_COMMAND}`; export r; \
16979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16980 TFLAGS="$(STAGE2_TFLAGS)"; \
16981 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16982 $(HOST_EXPORTS) \
16983 $(POSTSTAGE1_HOST_EXPORTS) \
16984 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
16985 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
16986 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
16987 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
16988 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16989 cd $(HOST_SUBDIR)/intl || exit 1; \
16990 case $(srcdir) in \
16991 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16992 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16993 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16994 esac; \
16995 srcdiroption="--srcdir=$${topdir}/intl"; \
16996 libsrcdir="$$s/intl"; \
16997 $(SHELL) $${libsrcdir}/configure \
16998 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16999 --target=${target_alias} $${srcdiroption} \
17000 --with-build-libsubdir=$(HOST_SUBDIR) \
17001 $(STAGE2_CONFIGURE_FLAGS)
17002 @endif intl-bootstrap
17004 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
17005 maybe-configure-stage3-intl:
17006 @if intl-bootstrap
17007 maybe-configure-stage3-intl: configure-stage3-intl
17008 configure-stage3-intl:
17009 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17010 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17011 @r=`${PWD_COMMAND}`; export r; \
17012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17013 TFLAGS="$(STAGE3_TFLAGS)"; \
17014 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17015 $(HOST_EXPORTS) \
17016 $(POSTSTAGE1_HOST_EXPORTS) \
17017 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
17018 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
17019 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
17020 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
17021 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17022 cd $(HOST_SUBDIR)/intl || exit 1; \
17023 case $(srcdir) in \
17024 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17025 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17026 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17027 esac; \
17028 srcdiroption="--srcdir=$${topdir}/intl"; \
17029 libsrcdir="$$s/intl"; \
17030 $(SHELL) $${libsrcdir}/configure \
17031 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17032 --target=${target_alias} $${srcdiroption} \
17033 --with-build-libsubdir=$(HOST_SUBDIR) \
17034 $(STAGE3_CONFIGURE_FLAGS)
17035 @endif intl-bootstrap
17037 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
17038 maybe-configure-stage4-intl:
17039 @if intl-bootstrap
17040 maybe-configure-stage4-intl: configure-stage4-intl
17041 configure-stage4-intl:
17042 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17043 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17044 @r=`${PWD_COMMAND}`; export r; \
17045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17046 TFLAGS="$(STAGE4_TFLAGS)"; \
17047 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17048 $(HOST_EXPORTS) \
17049 $(POSTSTAGE1_HOST_EXPORTS) \
17050 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
17051 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
17052 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
17053 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
17054 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17055 cd $(HOST_SUBDIR)/intl || exit 1; \
17056 case $(srcdir) in \
17057 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17058 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17059 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17060 esac; \
17061 srcdiroption="--srcdir=$${topdir}/intl"; \
17062 libsrcdir="$$s/intl"; \
17063 $(SHELL) $${libsrcdir}/configure \
17064 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17065 --target=${target_alias} $${srcdiroption} \
17066 --with-build-libsubdir=$(HOST_SUBDIR) \
17067 $(STAGE4_CONFIGURE_FLAGS)
17068 @endif intl-bootstrap
17070 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
17071 maybe-configure-stageprofile-intl:
17072 @if intl-bootstrap
17073 maybe-configure-stageprofile-intl: configure-stageprofile-intl
17074 configure-stageprofile-intl:
17075 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17076 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17077 @r=`${PWD_COMMAND}`; export r; \
17078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17079 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17080 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17081 $(HOST_EXPORTS) \
17082 $(POSTSTAGE1_HOST_EXPORTS) \
17083 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
17084 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
17085 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
17086 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
17087 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17088 cd $(HOST_SUBDIR)/intl || exit 1; \
17089 case $(srcdir) in \
17090 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17091 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17092 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17093 esac; \
17094 srcdiroption="--srcdir=$${topdir}/intl"; \
17095 libsrcdir="$$s/intl"; \
17096 $(SHELL) $${libsrcdir}/configure \
17097 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17098 --target=${target_alias} $${srcdiroption} \
17099 --with-build-libsubdir=$(HOST_SUBDIR) \
17100 $(STAGEprofile_CONFIGURE_FLAGS)
17101 @endif intl-bootstrap
17103 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
17104 maybe-configure-stagefeedback-intl:
17105 @if intl-bootstrap
17106 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
17107 configure-stagefeedback-intl:
17108 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17109 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17110 @r=`${PWD_COMMAND}`; export r; \
17111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17112 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17113 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17114 $(HOST_EXPORTS) \
17115 $(POSTSTAGE1_HOST_EXPORTS) \
17116 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
17117 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
17118 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
17119 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
17120 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17121 cd $(HOST_SUBDIR)/intl || exit 1; \
17122 case $(srcdir) in \
17123 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17124 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17125 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17126 esac; \
17127 srcdiroption="--srcdir=$${topdir}/intl"; \
17128 libsrcdir="$$s/intl"; \
17129 $(SHELL) $${libsrcdir}/configure \
17130 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17131 --target=${target_alias} $${srcdiroption} \
17132 --with-build-libsubdir=$(HOST_SUBDIR) \
17133 $(STAGEfeedback_CONFIGURE_FLAGS)
17134 @endif intl-bootstrap
17140 .PHONY: all-intl maybe-all-intl
17141 maybe-all-intl:
17142 @if gcc-bootstrap
17143 all-intl: stage_current
17144 @endif gcc-bootstrap
17145 @if intl
17146 TARGET-intl=all
17147 maybe-all-intl: all-intl
17148 all-intl: configure-intl
17149 @r=`${PWD_COMMAND}`; export r; \
17150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17151 $(HOST_EXPORTS) \
17152 (cd $(HOST_SUBDIR)/intl && \
17153 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
17154 $(TARGET-intl))
17155 @endif intl
17159 .PHONY: all-stage1-intl maybe-all-stage1-intl
17160 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
17161 maybe-all-stage1-intl:
17162 maybe-clean-stage1-intl:
17163 @if intl-bootstrap
17164 maybe-all-stage1-intl: all-stage1-intl
17165 all-stage1: all-stage1-intl
17166 TARGET-stage1-intl = $(TARGET-intl)
17167 all-stage1-intl: configure-stage1-intl
17168 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17169 @r=`${PWD_COMMAND}`; export r; \
17170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17171 TFLAGS="$(STAGE1_TFLAGS)"; \
17172 $(HOST_EXPORTS) \
17173 cd $(HOST_SUBDIR)/intl && \
17174 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17175 CFLAGS="$(STAGE1_CFLAGS)" \
17176 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
17177 LIBCFLAGS="$(LIBCFLAGS)" \
17178 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17179 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17180 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17181 $(EXTRA_HOST_FLAGS) \
17182 $(STAGE1_FLAGS_TO_PASS) \
17183 TFLAGS="$(STAGE1_TFLAGS)" \
17184 $(TARGET-stage1-intl)
17186 maybe-clean-stage1-intl: clean-stage1-intl
17187 clean-stage1: clean-stage1-intl
17188 clean-stage1-intl:
17189 @if [ $(current_stage) = stage1 ]; then \
17190 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17191 else \
17192 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
17193 $(MAKE) stage1-start; \
17194 fi; \
17195 cd $(HOST_SUBDIR)/intl && \
17196 $(MAKE) $(EXTRA_HOST_FLAGS) \
17197 $(STAGE1_FLAGS_TO_PASS) clean
17198 @endif intl-bootstrap
17201 .PHONY: all-stage2-intl maybe-all-stage2-intl
17202 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
17203 maybe-all-stage2-intl:
17204 maybe-clean-stage2-intl:
17205 @if intl-bootstrap
17206 maybe-all-stage2-intl: all-stage2-intl
17207 all-stage2: all-stage2-intl
17208 TARGET-stage2-intl = $(TARGET-intl)
17209 all-stage2-intl: configure-stage2-intl
17210 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17211 @r=`${PWD_COMMAND}`; export r; \
17212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17213 TFLAGS="$(STAGE2_TFLAGS)"; \
17214 $(HOST_EXPORTS) \
17215 $(POSTSTAGE1_HOST_EXPORTS) \
17216 cd $(HOST_SUBDIR)/intl && \
17217 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17218 CFLAGS="$(STAGE2_CFLAGS)" \
17219 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
17220 LIBCFLAGS="$(STAGE2_CFLAGS)" \
17221 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17222 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17223 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17224 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17225 TFLAGS="$(STAGE2_TFLAGS)" \
17226 $(TARGET-stage2-intl)
17228 maybe-clean-stage2-intl: clean-stage2-intl
17229 clean-stage2: clean-stage2-intl
17230 clean-stage2-intl:
17231 @if [ $(current_stage) = stage2 ]; then \
17232 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17233 else \
17234 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
17235 $(MAKE) stage2-start; \
17236 fi; \
17237 cd $(HOST_SUBDIR)/intl && \
17238 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17239 @endif intl-bootstrap
17242 .PHONY: all-stage3-intl maybe-all-stage3-intl
17243 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
17244 maybe-all-stage3-intl:
17245 maybe-clean-stage3-intl:
17246 @if intl-bootstrap
17247 maybe-all-stage3-intl: all-stage3-intl
17248 all-stage3: all-stage3-intl
17249 TARGET-stage3-intl = $(TARGET-intl)
17250 all-stage3-intl: configure-stage3-intl
17251 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17252 @r=`${PWD_COMMAND}`; export r; \
17253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17254 TFLAGS="$(STAGE3_TFLAGS)"; \
17255 $(HOST_EXPORTS) \
17256 $(POSTSTAGE1_HOST_EXPORTS) \
17257 cd $(HOST_SUBDIR)/intl && \
17258 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17259 CFLAGS="$(STAGE3_CFLAGS)" \
17260 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
17261 LIBCFLAGS="$(STAGE3_CFLAGS)" \
17262 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17263 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17264 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17265 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17266 TFLAGS="$(STAGE3_TFLAGS)" \
17267 $(TARGET-stage3-intl)
17269 maybe-clean-stage3-intl: clean-stage3-intl
17270 clean-stage3: clean-stage3-intl
17271 clean-stage3-intl:
17272 @if [ $(current_stage) = stage3 ]; then \
17273 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17274 else \
17275 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
17276 $(MAKE) stage3-start; \
17277 fi; \
17278 cd $(HOST_SUBDIR)/intl && \
17279 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17280 @endif intl-bootstrap
17283 .PHONY: all-stage4-intl maybe-all-stage4-intl
17284 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
17285 maybe-all-stage4-intl:
17286 maybe-clean-stage4-intl:
17287 @if intl-bootstrap
17288 maybe-all-stage4-intl: all-stage4-intl
17289 all-stage4: all-stage4-intl
17290 TARGET-stage4-intl = $(TARGET-intl)
17291 all-stage4-intl: configure-stage4-intl
17292 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17293 @r=`${PWD_COMMAND}`; export r; \
17294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17295 TFLAGS="$(STAGE4_TFLAGS)"; \
17296 $(HOST_EXPORTS) \
17297 $(POSTSTAGE1_HOST_EXPORTS) \
17298 cd $(HOST_SUBDIR)/intl && \
17299 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17300 CFLAGS="$(STAGE4_CFLAGS)" \
17301 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
17302 LIBCFLAGS="$(STAGE4_CFLAGS)" \
17303 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17304 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17305 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17306 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17307 TFLAGS="$(STAGE4_TFLAGS)" \
17308 $(TARGET-stage4-intl)
17310 maybe-clean-stage4-intl: clean-stage4-intl
17311 clean-stage4: clean-stage4-intl
17312 clean-stage4-intl:
17313 @if [ $(current_stage) = stage4 ]; then \
17314 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17315 else \
17316 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
17317 $(MAKE) stage4-start; \
17318 fi; \
17319 cd $(HOST_SUBDIR)/intl && \
17320 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17321 @endif intl-bootstrap
17324 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
17325 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
17326 maybe-all-stageprofile-intl:
17327 maybe-clean-stageprofile-intl:
17328 @if intl-bootstrap
17329 maybe-all-stageprofile-intl: all-stageprofile-intl
17330 all-stageprofile: all-stageprofile-intl
17331 TARGET-stageprofile-intl = $(TARGET-intl)
17332 all-stageprofile-intl: configure-stageprofile-intl
17333 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17334 @r=`${PWD_COMMAND}`; export r; \
17335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17336 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17337 $(HOST_EXPORTS) \
17338 $(POSTSTAGE1_HOST_EXPORTS) \
17339 cd $(HOST_SUBDIR)/intl && \
17340 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17341 CFLAGS="$(STAGEprofile_CFLAGS)" \
17342 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
17343 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
17344 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17345 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17346 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17347 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17348 TFLAGS="$(STAGEprofile_TFLAGS)" \
17349 $(TARGET-stageprofile-intl)
17351 maybe-clean-stageprofile-intl: clean-stageprofile-intl
17352 clean-stageprofile: clean-stageprofile-intl
17353 clean-stageprofile-intl:
17354 @if [ $(current_stage) = stageprofile ]; then \
17355 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17356 else \
17357 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
17358 $(MAKE) stageprofile-start; \
17359 fi; \
17360 cd $(HOST_SUBDIR)/intl && \
17361 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17362 @endif intl-bootstrap
17365 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
17366 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
17367 maybe-all-stagefeedback-intl:
17368 maybe-clean-stagefeedback-intl:
17369 @if intl-bootstrap
17370 maybe-all-stagefeedback-intl: all-stagefeedback-intl
17371 all-stagefeedback: all-stagefeedback-intl
17372 TARGET-stagefeedback-intl = $(TARGET-intl)
17373 all-stagefeedback-intl: configure-stagefeedback-intl
17374 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17375 @r=`${PWD_COMMAND}`; export r; \
17376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17377 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17378 $(HOST_EXPORTS) \
17379 $(POSTSTAGE1_HOST_EXPORTS) \
17380 cd $(HOST_SUBDIR)/intl && \
17381 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17382 CFLAGS="$(STAGEfeedback_CFLAGS)" \
17383 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
17384 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
17385 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17386 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17387 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17388 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17389 TFLAGS="$(STAGEfeedback_TFLAGS)" \
17390 $(TARGET-stagefeedback-intl)
17392 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
17393 clean-stagefeedback: clean-stagefeedback-intl
17394 clean-stagefeedback-intl:
17395 @if [ $(current_stage) = stagefeedback ]; then \
17396 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17397 else \
17398 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
17399 $(MAKE) stagefeedback-start; \
17400 fi; \
17401 cd $(HOST_SUBDIR)/intl && \
17402 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17403 @endif intl-bootstrap
17409 .PHONY: check-intl maybe-check-intl
17410 maybe-check-intl:
17411 @if intl
17412 maybe-check-intl: check-intl
17414 check-intl:
17415 @: $(MAKE); $(unstage)
17416 @r=`${PWD_COMMAND}`; export r; \
17417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17418 $(HOST_EXPORTS) \
17419 (cd $(HOST_SUBDIR)/intl && \
17420 $(MAKE) $(FLAGS_TO_PASS) check)
17422 @endif intl
17424 .PHONY: install-intl maybe-install-intl
17425 maybe-install-intl:
17426 @if intl
17427 maybe-install-intl: install-intl
17429 install-intl: installdirs
17430 @: $(MAKE); $(unstage)
17431 @r=`${PWD_COMMAND}`; export r; \
17432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17433 $(HOST_EXPORTS) \
17434 (cd $(HOST_SUBDIR)/intl && \
17435 $(MAKE) $(FLAGS_TO_PASS) install)
17437 @endif intl
17439 .PHONY: install-strip-intl maybe-install-strip-intl
17440 maybe-install-strip-intl:
17441 @if intl
17442 maybe-install-strip-intl: install-strip-intl
17444 install-strip-intl: installdirs
17445 @: $(MAKE); $(unstage)
17446 @r=`${PWD_COMMAND}`; export r; \
17447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17448 $(HOST_EXPORTS) \
17449 (cd $(HOST_SUBDIR)/intl && \
17450 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17452 @endif intl
17454 # Other targets (info, dvi, pdf, etc.)
17456 .PHONY: maybe-info-intl info-intl
17457 maybe-info-intl:
17458 @if intl
17459 maybe-info-intl: info-intl
17461 info-intl: \
17462 configure-intl
17463 @[ -f ./intl/Makefile ] || exit 0; \
17464 r=`${PWD_COMMAND}`; export r; \
17465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17466 $(HOST_EXPORTS) \
17467 for flag in $(EXTRA_HOST_FLAGS) ; do \
17468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17469 done; \
17470 echo "Doing info in intl" ; \
17471 (cd $(HOST_SUBDIR)/intl && \
17472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17474 "RANLIB=$${RANLIB}" \
17475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17476 info) \
17477 || exit 1
17479 @endif intl
17481 .PHONY: maybe-dvi-intl dvi-intl
17482 maybe-dvi-intl:
17483 @if intl
17484 maybe-dvi-intl: dvi-intl
17486 dvi-intl: \
17487 configure-intl
17488 @[ -f ./intl/Makefile ] || exit 0; \
17489 r=`${PWD_COMMAND}`; export r; \
17490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17491 $(HOST_EXPORTS) \
17492 for flag in $(EXTRA_HOST_FLAGS) ; do \
17493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17494 done; \
17495 echo "Doing dvi in intl" ; \
17496 (cd $(HOST_SUBDIR)/intl && \
17497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17499 "RANLIB=$${RANLIB}" \
17500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17501 dvi) \
17502 || exit 1
17504 @endif intl
17506 .PHONY: maybe-pdf-intl pdf-intl
17507 maybe-pdf-intl:
17508 @if intl
17509 maybe-pdf-intl: pdf-intl
17511 pdf-intl: \
17512 configure-intl
17513 @[ -f ./intl/Makefile ] || exit 0; \
17514 r=`${PWD_COMMAND}`; export r; \
17515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17516 $(HOST_EXPORTS) \
17517 for flag in $(EXTRA_HOST_FLAGS) ; do \
17518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17519 done; \
17520 echo "Doing pdf in intl" ; \
17521 (cd $(HOST_SUBDIR)/intl && \
17522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17524 "RANLIB=$${RANLIB}" \
17525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17526 pdf) \
17527 || exit 1
17529 @endif intl
17531 .PHONY: maybe-html-intl html-intl
17532 maybe-html-intl:
17533 @if intl
17534 maybe-html-intl: html-intl
17536 html-intl: \
17537 configure-intl
17538 @[ -f ./intl/Makefile ] || exit 0; \
17539 r=`${PWD_COMMAND}`; export r; \
17540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17541 $(HOST_EXPORTS) \
17542 for flag in $(EXTRA_HOST_FLAGS) ; do \
17543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17544 done; \
17545 echo "Doing html in intl" ; \
17546 (cd $(HOST_SUBDIR)/intl && \
17547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17549 "RANLIB=$${RANLIB}" \
17550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17551 html) \
17552 || exit 1
17554 @endif intl
17556 .PHONY: maybe-TAGS-intl TAGS-intl
17557 maybe-TAGS-intl:
17558 @if intl
17559 maybe-TAGS-intl: TAGS-intl
17561 TAGS-intl: \
17562 configure-intl
17563 @[ -f ./intl/Makefile ] || exit 0; \
17564 r=`${PWD_COMMAND}`; export r; \
17565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17566 $(HOST_EXPORTS) \
17567 for flag in $(EXTRA_HOST_FLAGS) ; do \
17568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17569 done; \
17570 echo "Doing TAGS in intl" ; \
17571 (cd $(HOST_SUBDIR)/intl && \
17572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17574 "RANLIB=$${RANLIB}" \
17575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17576 TAGS) \
17577 || exit 1
17579 @endif intl
17581 .PHONY: maybe-install-info-intl install-info-intl
17582 maybe-install-info-intl:
17583 @if intl
17584 maybe-install-info-intl: install-info-intl
17586 install-info-intl: \
17587 configure-intl \
17588 info-intl
17589 @[ -f ./intl/Makefile ] || exit 0; \
17590 r=`${PWD_COMMAND}`; export r; \
17591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17592 $(HOST_EXPORTS) \
17593 for flag in $(EXTRA_HOST_FLAGS) ; do \
17594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17595 done; \
17596 echo "Doing install-info in intl" ; \
17597 (cd $(HOST_SUBDIR)/intl && \
17598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17600 "RANLIB=$${RANLIB}" \
17601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17602 install-info) \
17603 || exit 1
17605 @endif intl
17607 .PHONY: maybe-install-pdf-intl install-pdf-intl
17608 maybe-install-pdf-intl:
17609 @if intl
17610 maybe-install-pdf-intl: install-pdf-intl
17612 install-pdf-intl: \
17613 configure-intl \
17614 pdf-intl
17615 @[ -f ./intl/Makefile ] || exit 0; \
17616 r=`${PWD_COMMAND}`; export r; \
17617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17618 $(HOST_EXPORTS) \
17619 for flag in $(EXTRA_HOST_FLAGS) ; do \
17620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17621 done; \
17622 echo "Doing install-pdf in intl" ; \
17623 (cd $(HOST_SUBDIR)/intl && \
17624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17626 "RANLIB=$${RANLIB}" \
17627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17628 install-pdf) \
17629 || exit 1
17631 @endif intl
17633 .PHONY: maybe-install-html-intl install-html-intl
17634 maybe-install-html-intl:
17635 @if intl
17636 maybe-install-html-intl: install-html-intl
17638 install-html-intl: \
17639 configure-intl \
17640 html-intl
17641 @[ -f ./intl/Makefile ] || exit 0; \
17642 r=`${PWD_COMMAND}`; export r; \
17643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17644 $(HOST_EXPORTS) \
17645 for flag in $(EXTRA_HOST_FLAGS) ; do \
17646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17647 done; \
17648 echo "Doing install-html in intl" ; \
17649 (cd $(HOST_SUBDIR)/intl && \
17650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17652 "RANLIB=$${RANLIB}" \
17653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17654 install-html) \
17655 || exit 1
17657 @endif intl
17659 .PHONY: maybe-installcheck-intl installcheck-intl
17660 maybe-installcheck-intl:
17661 @if intl
17662 maybe-installcheck-intl: installcheck-intl
17664 installcheck-intl: \
17665 configure-intl
17666 @[ -f ./intl/Makefile ] || exit 0; \
17667 r=`${PWD_COMMAND}`; export r; \
17668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17669 $(HOST_EXPORTS) \
17670 for flag in $(EXTRA_HOST_FLAGS) ; do \
17671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17672 done; \
17673 echo "Doing installcheck in intl" ; \
17674 (cd $(HOST_SUBDIR)/intl && \
17675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17677 "RANLIB=$${RANLIB}" \
17678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17679 installcheck) \
17680 || exit 1
17682 @endif intl
17684 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
17685 maybe-mostlyclean-intl:
17686 @if intl
17687 maybe-mostlyclean-intl: mostlyclean-intl
17689 mostlyclean-intl:
17690 @[ -f ./intl/Makefile ] || exit 0; \
17691 r=`${PWD_COMMAND}`; export r; \
17692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17693 $(HOST_EXPORTS) \
17694 for flag in $(EXTRA_HOST_FLAGS) ; do \
17695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17696 done; \
17697 echo "Doing mostlyclean in intl" ; \
17698 (cd $(HOST_SUBDIR)/intl && \
17699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17701 "RANLIB=$${RANLIB}" \
17702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17703 mostlyclean) \
17704 || exit 1
17706 @endif intl
17708 .PHONY: maybe-clean-intl clean-intl
17709 maybe-clean-intl:
17710 @if intl
17711 maybe-clean-intl: clean-intl
17713 clean-intl:
17714 @[ -f ./intl/Makefile ] || exit 0; \
17715 r=`${PWD_COMMAND}`; export r; \
17716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17717 $(HOST_EXPORTS) \
17718 for flag in $(EXTRA_HOST_FLAGS) ; do \
17719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17720 done; \
17721 echo "Doing clean in intl" ; \
17722 (cd $(HOST_SUBDIR)/intl && \
17723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17725 "RANLIB=$${RANLIB}" \
17726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17727 clean) \
17728 || exit 1
17730 @endif intl
17732 .PHONY: maybe-distclean-intl distclean-intl
17733 maybe-distclean-intl:
17734 @if intl
17735 maybe-distclean-intl: distclean-intl
17737 distclean-intl:
17738 @[ -f ./intl/Makefile ] || exit 0; \
17739 r=`${PWD_COMMAND}`; export r; \
17740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17741 $(HOST_EXPORTS) \
17742 for flag in $(EXTRA_HOST_FLAGS) ; do \
17743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17744 done; \
17745 echo "Doing distclean in intl" ; \
17746 (cd $(HOST_SUBDIR)/intl && \
17747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17749 "RANLIB=$${RANLIB}" \
17750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17751 distclean) \
17752 || exit 1
17754 @endif intl
17756 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
17757 maybe-maintainer-clean-intl:
17758 @if intl
17759 maybe-maintainer-clean-intl: maintainer-clean-intl
17761 maintainer-clean-intl:
17762 @[ -f ./intl/Makefile ] || exit 0; \
17763 r=`${PWD_COMMAND}`; export r; \
17764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17765 $(HOST_EXPORTS) \
17766 for flag in $(EXTRA_HOST_FLAGS) ; do \
17767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17768 done; \
17769 echo "Doing maintainer-clean in intl" ; \
17770 (cd $(HOST_SUBDIR)/intl && \
17771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17773 "RANLIB=$${RANLIB}" \
17774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17775 maintainer-clean) \
17776 || exit 1
17778 @endif intl
17782 .PHONY: configure-tcl maybe-configure-tcl
17783 maybe-configure-tcl:
17784 @if gcc-bootstrap
17785 configure-tcl: stage_current
17786 @endif gcc-bootstrap
17787 @if tcl
17788 maybe-configure-tcl: configure-tcl
17789 configure-tcl:
17790 @: $(MAKE); $(unstage)
17791 @r=`${PWD_COMMAND}`; export r; \
17792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17793 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
17794 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
17795 $(HOST_EXPORTS) \
17796 echo Configuring in $(HOST_SUBDIR)/tcl; \
17797 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
17798 case $(srcdir) in \
17799 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17800 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
17801 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17802 esac; \
17803 srcdiroption="--srcdir=$${topdir}/tcl"; \
17804 libsrcdir="$$s/tcl"; \
17805 $(SHELL) $${libsrcdir}/configure \
17806 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17807 --target=${target_alias} $${srcdiroption} \
17808 || exit 1
17809 @endif tcl
17815 .PHONY: all-tcl maybe-all-tcl
17816 maybe-all-tcl:
17817 @if gcc-bootstrap
17818 all-tcl: stage_current
17819 @endif gcc-bootstrap
17820 @if tcl
17821 TARGET-tcl=all
17822 maybe-all-tcl: all-tcl
17823 all-tcl: configure-tcl
17824 @: $(MAKE); $(unstage)
17825 @r=`${PWD_COMMAND}`; export r; \
17826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17827 $(HOST_EXPORTS) \
17828 (cd $(HOST_SUBDIR)/tcl && \
17829 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
17830 $(TARGET-tcl))
17831 @endif tcl
17836 .PHONY: check-tcl maybe-check-tcl
17837 maybe-check-tcl:
17838 @if tcl
17839 maybe-check-tcl: check-tcl
17841 check-tcl:
17842 @: $(MAKE); $(unstage)
17843 @r=`${PWD_COMMAND}`; export r; \
17844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17845 $(HOST_EXPORTS) \
17846 (cd $(HOST_SUBDIR)/tcl && \
17847 $(MAKE) $(FLAGS_TO_PASS) check)
17849 @endif tcl
17851 .PHONY: install-tcl maybe-install-tcl
17852 maybe-install-tcl:
17853 @if tcl
17854 maybe-install-tcl: install-tcl
17856 install-tcl: installdirs
17857 @: $(MAKE); $(unstage)
17858 @r=`${PWD_COMMAND}`; export r; \
17859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17860 $(HOST_EXPORTS) \
17861 (cd $(HOST_SUBDIR)/tcl && \
17862 $(MAKE) $(FLAGS_TO_PASS) install)
17864 @endif tcl
17866 .PHONY: install-strip-tcl maybe-install-strip-tcl
17867 maybe-install-strip-tcl:
17868 @if tcl
17869 maybe-install-strip-tcl: install-strip-tcl
17871 install-strip-tcl: installdirs
17872 @: $(MAKE); $(unstage)
17873 @r=`${PWD_COMMAND}`; export r; \
17874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17875 $(HOST_EXPORTS) \
17876 (cd $(HOST_SUBDIR)/tcl && \
17877 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17879 @endif tcl
17881 # Other targets (info, dvi, pdf, etc.)
17883 .PHONY: maybe-info-tcl info-tcl
17884 maybe-info-tcl:
17885 @if tcl
17886 maybe-info-tcl: info-tcl
17888 info-tcl: \
17889 configure-tcl
17890 @: $(MAKE); $(unstage)
17891 @[ -f ./tcl/Makefile ] || exit 0; \
17892 r=`${PWD_COMMAND}`; export r; \
17893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17894 $(HOST_EXPORTS) \
17895 for flag in $(EXTRA_HOST_FLAGS) ; do \
17896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17897 done; \
17898 echo "Doing info in tcl" ; \
17899 (cd $(HOST_SUBDIR)/tcl && \
17900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17902 "RANLIB=$${RANLIB}" \
17903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17904 info) \
17905 || exit 1
17907 @endif tcl
17909 .PHONY: maybe-dvi-tcl dvi-tcl
17910 maybe-dvi-tcl:
17911 @if tcl
17912 maybe-dvi-tcl: dvi-tcl
17914 dvi-tcl: \
17915 configure-tcl
17916 @: $(MAKE); $(unstage)
17917 @[ -f ./tcl/Makefile ] || exit 0; \
17918 r=`${PWD_COMMAND}`; export r; \
17919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17920 $(HOST_EXPORTS) \
17921 for flag in $(EXTRA_HOST_FLAGS) ; do \
17922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17923 done; \
17924 echo "Doing dvi in tcl" ; \
17925 (cd $(HOST_SUBDIR)/tcl && \
17926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17928 "RANLIB=$${RANLIB}" \
17929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17930 dvi) \
17931 || exit 1
17933 @endif tcl
17935 .PHONY: maybe-pdf-tcl pdf-tcl
17936 maybe-pdf-tcl:
17937 @if tcl
17938 maybe-pdf-tcl: pdf-tcl
17940 pdf-tcl: \
17941 configure-tcl
17942 @: $(MAKE); $(unstage)
17943 @[ -f ./tcl/Makefile ] || exit 0; \
17944 r=`${PWD_COMMAND}`; export r; \
17945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17946 $(HOST_EXPORTS) \
17947 for flag in $(EXTRA_HOST_FLAGS) ; do \
17948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17949 done; \
17950 echo "Doing pdf in tcl" ; \
17951 (cd $(HOST_SUBDIR)/tcl && \
17952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17954 "RANLIB=$${RANLIB}" \
17955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17956 pdf) \
17957 || exit 1
17959 @endif tcl
17961 .PHONY: maybe-html-tcl html-tcl
17962 maybe-html-tcl:
17963 @if tcl
17964 maybe-html-tcl: html-tcl
17966 html-tcl: \
17967 configure-tcl
17968 @: $(MAKE); $(unstage)
17969 @[ -f ./tcl/Makefile ] || exit 0; \
17970 r=`${PWD_COMMAND}`; export r; \
17971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17972 $(HOST_EXPORTS) \
17973 for flag in $(EXTRA_HOST_FLAGS) ; do \
17974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17975 done; \
17976 echo "Doing html in tcl" ; \
17977 (cd $(HOST_SUBDIR)/tcl && \
17978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17980 "RANLIB=$${RANLIB}" \
17981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17982 html) \
17983 || exit 1
17985 @endif tcl
17987 .PHONY: maybe-TAGS-tcl TAGS-tcl
17988 maybe-TAGS-tcl:
17989 @if tcl
17990 maybe-TAGS-tcl: TAGS-tcl
17992 TAGS-tcl: \
17993 configure-tcl
17994 @: $(MAKE); $(unstage)
17995 @[ -f ./tcl/Makefile ] || exit 0; \
17996 r=`${PWD_COMMAND}`; export r; \
17997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17998 $(HOST_EXPORTS) \
17999 for flag in $(EXTRA_HOST_FLAGS) ; do \
18000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18001 done; \
18002 echo "Doing TAGS in tcl" ; \
18003 (cd $(HOST_SUBDIR)/tcl && \
18004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18006 "RANLIB=$${RANLIB}" \
18007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18008 TAGS) \
18009 || exit 1
18011 @endif tcl
18013 .PHONY: maybe-install-info-tcl install-info-tcl
18014 maybe-install-info-tcl:
18015 @if tcl
18016 maybe-install-info-tcl: install-info-tcl
18018 install-info-tcl: \
18019 configure-tcl \
18020 info-tcl
18021 @: $(MAKE); $(unstage)
18022 @[ -f ./tcl/Makefile ] || exit 0; \
18023 r=`${PWD_COMMAND}`; export r; \
18024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18025 $(HOST_EXPORTS) \
18026 for flag in $(EXTRA_HOST_FLAGS) ; do \
18027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18028 done; \
18029 echo "Doing install-info in tcl" ; \
18030 (cd $(HOST_SUBDIR)/tcl && \
18031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18033 "RANLIB=$${RANLIB}" \
18034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18035 install-info) \
18036 || exit 1
18038 @endif tcl
18040 .PHONY: maybe-install-pdf-tcl install-pdf-tcl
18041 maybe-install-pdf-tcl:
18042 @if tcl
18043 maybe-install-pdf-tcl: install-pdf-tcl
18045 install-pdf-tcl: \
18046 configure-tcl \
18047 pdf-tcl
18048 @: $(MAKE); $(unstage)
18049 @[ -f ./tcl/Makefile ] || exit 0; \
18050 r=`${PWD_COMMAND}`; export r; \
18051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18052 $(HOST_EXPORTS) \
18053 for flag in $(EXTRA_HOST_FLAGS) ; do \
18054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18055 done; \
18056 echo "Doing install-pdf in tcl" ; \
18057 (cd $(HOST_SUBDIR)/tcl && \
18058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18060 "RANLIB=$${RANLIB}" \
18061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18062 install-pdf) \
18063 || exit 1
18065 @endif tcl
18067 .PHONY: maybe-install-html-tcl install-html-tcl
18068 maybe-install-html-tcl:
18069 @if tcl
18070 maybe-install-html-tcl: install-html-tcl
18072 install-html-tcl: \
18073 configure-tcl \
18074 html-tcl
18075 @: $(MAKE); $(unstage)
18076 @[ -f ./tcl/Makefile ] || exit 0; \
18077 r=`${PWD_COMMAND}`; export r; \
18078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18079 $(HOST_EXPORTS) \
18080 for flag in $(EXTRA_HOST_FLAGS) ; do \
18081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18082 done; \
18083 echo "Doing install-html in tcl" ; \
18084 (cd $(HOST_SUBDIR)/tcl && \
18085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18087 "RANLIB=$${RANLIB}" \
18088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18089 install-html) \
18090 || exit 1
18092 @endif tcl
18094 .PHONY: maybe-installcheck-tcl installcheck-tcl
18095 maybe-installcheck-tcl:
18096 @if tcl
18097 maybe-installcheck-tcl: installcheck-tcl
18099 installcheck-tcl: \
18100 configure-tcl
18101 @: $(MAKE); $(unstage)
18102 @[ -f ./tcl/Makefile ] || exit 0; \
18103 r=`${PWD_COMMAND}`; export r; \
18104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18105 $(HOST_EXPORTS) \
18106 for flag in $(EXTRA_HOST_FLAGS) ; do \
18107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18108 done; \
18109 echo "Doing installcheck in tcl" ; \
18110 (cd $(HOST_SUBDIR)/tcl && \
18111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18113 "RANLIB=$${RANLIB}" \
18114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18115 installcheck) \
18116 || exit 1
18118 @endif tcl
18120 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
18121 maybe-mostlyclean-tcl:
18122 @if tcl
18123 maybe-mostlyclean-tcl: mostlyclean-tcl
18125 # tcl doesn't support mostlyclean.
18126 mostlyclean-tcl:
18128 @endif tcl
18130 .PHONY: maybe-clean-tcl clean-tcl
18131 maybe-clean-tcl:
18132 @if tcl
18133 maybe-clean-tcl: clean-tcl
18135 clean-tcl:
18136 @: $(MAKE); $(unstage)
18137 @[ -f ./tcl/Makefile ] || exit 0; \
18138 r=`${PWD_COMMAND}`; export r; \
18139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18140 $(HOST_EXPORTS) \
18141 for flag in $(EXTRA_HOST_FLAGS) ; do \
18142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18143 done; \
18144 echo "Doing clean in tcl" ; \
18145 (cd $(HOST_SUBDIR)/tcl && \
18146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18148 "RANLIB=$${RANLIB}" \
18149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18150 clean) \
18151 || exit 1
18153 @endif tcl
18155 .PHONY: maybe-distclean-tcl distclean-tcl
18156 maybe-distclean-tcl:
18157 @if tcl
18158 maybe-distclean-tcl: distclean-tcl
18160 distclean-tcl:
18161 @: $(MAKE); $(unstage)
18162 @[ -f ./tcl/Makefile ] || exit 0; \
18163 r=`${PWD_COMMAND}`; export r; \
18164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18165 $(HOST_EXPORTS) \
18166 for flag in $(EXTRA_HOST_FLAGS) ; do \
18167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18168 done; \
18169 echo "Doing distclean in tcl" ; \
18170 (cd $(HOST_SUBDIR)/tcl && \
18171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18173 "RANLIB=$${RANLIB}" \
18174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18175 distclean) \
18176 || exit 1
18178 @endif tcl
18180 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
18181 maybe-maintainer-clean-tcl:
18182 @if tcl
18183 maybe-maintainer-clean-tcl: maintainer-clean-tcl
18185 maintainer-clean-tcl:
18186 @: $(MAKE); $(unstage)
18187 @[ -f ./tcl/Makefile ] || exit 0; \
18188 r=`${PWD_COMMAND}`; export r; \
18189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18190 $(HOST_EXPORTS) \
18191 for flag in $(EXTRA_HOST_FLAGS) ; do \
18192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18193 done; \
18194 echo "Doing maintainer-clean in tcl" ; \
18195 (cd $(HOST_SUBDIR)/tcl && \
18196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18198 "RANLIB=$${RANLIB}" \
18199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18200 maintainer-clean) \
18201 || exit 1
18203 @endif tcl
18207 .PHONY: configure-itcl maybe-configure-itcl
18208 maybe-configure-itcl:
18209 @if gcc-bootstrap
18210 configure-itcl: stage_current
18211 @endif gcc-bootstrap
18212 @if itcl
18213 maybe-configure-itcl: configure-itcl
18214 configure-itcl:
18215 @: $(MAKE); $(unstage)
18216 @r=`${PWD_COMMAND}`; export r; \
18217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18218 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
18219 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
18220 $(HOST_EXPORTS) \
18221 echo Configuring in $(HOST_SUBDIR)/itcl; \
18222 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
18223 case $(srcdir) in \
18224 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18225 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
18226 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18227 esac; \
18228 srcdiroption="--srcdir=$${topdir}/itcl"; \
18229 libsrcdir="$$s/itcl"; \
18230 $(SHELL) $${libsrcdir}/configure \
18231 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18232 --target=${target_alias} $${srcdiroption} \
18233 || exit 1
18234 @endif itcl
18240 .PHONY: all-itcl maybe-all-itcl
18241 maybe-all-itcl:
18242 @if gcc-bootstrap
18243 all-itcl: stage_current
18244 @endif gcc-bootstrap
18245 @if itcl
18246 TARGET-itcl=all
18247 maybe-all-itcl: all-itcl
18248 all-itcl: configure-itcl
18249 @: $(MAKE); $(unstage)
18250 @r=`${PWD_COMMAND}`; export r; \
18251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18252 $(HOST_EXPORTS) \
18253 (cd $(HOST_SUBDIR)/itcl && \
18254 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18255 $(TARGET-itcl))
18256 @endif itcl
18261 .PHONY: check-itcl maybe-check-itcl
18262 maybe-check-itcl:
18263 @if itcl
18264 maybe-check-itcl: check-itcl
18266 check-itcl:
18267 @: $(MAKE); $(unstage)
18268 @r=`${PWD_COMMAND}`; export r; \
18269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18270 $(HOST_EXPORTS) \
18271 (cd $(HOST_SUBDIR)/itcl && \
18272 $(MAKE) $(FLAGS_TO_PASS) check)
18274 @endif itcl
18276 .PHONY: install-itcl maybe-install-itcl
18277 maybe-install-itcl:
18278 @if itcl
18279 maybe-install-itcl: install-itcl
18281 install-itcl: installdirs
18282 @: $(MAKE); $(unstage)
18283 @r=`${PWD_COMMAND}`; export r; \
18284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18285 $(HOST_EXPORTS) \
18286 (cd $(HOST_SUBDIR)/itcl && \
18287 $(MAKE) $(FLAGS_TO_PASS) install)
18289 @endif itcl
18291 .PHONY: install-strip-itcl maybe-install-strip-itcl
18292 maybe-install-strip-itcl:
18293 @if itcl
18294 maybe-install-strip-itcl: install-strip-itcl
18296 install-strip-itcl: installdirs
18297 @: $(MAKE); $(unstage)
18298 @r=`${PWD_COMMAND}`; export r; \
18299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18300 $(HOST_EXPORTS) \
18301 (cd $(HOST_SUBDIR)/itcl && \
18302 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18304 @endif itcl
18306 # Other targets (info, dvi, pdf, etc.)
18308 .PHONY: maybe-info-itcl info-itcl
18309 maybe-info-itcl:
18310 @if itcl
18311 maybe-info-itcl: info-itcl
18313 info-itcl: \
18314 configure-itcl
18315 @: $(MAKE); $(unstage)
18316 @[ -f ./itcl/Makefile ] || exit 0; \
18317 r=`${PWD_COMMAND}`; export r; \
18318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18319 $(HOST_EXPORTS) \
18320 for flag in $(EXTRA_HOST_FLAGS) ; do \
18321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18322 done; \
18323 echo "Doing info in itcl" ; \
18324 (cd $(HOST_SUBDIR)/itcl && \
18325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18327 "RANLIB=$${RANLIB}" \
18328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18329 info) \
18330 || exit 1
18332 @endif itcl
18334 .PHONY: maybe-dvi-itcl dvi-itcl
18335 maybe-dvi-itcl:
18336 @if itcl
18337 maybe-dvi-itcl: dvi-itcl
18339 dvi-itcl: \
18340 configure-itcl
18341 @: $(MAKE); $(unstage)
18342 @[ -f ./itcl/Makefile ] || exit 0; \
18343 r=`${PWD_COMMAND}`; export r; \
18344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18345 $(HOST_EXPORTS) \
18346 for flag in $(EXTRA_HOST_FLAGS) ; do \
18347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18348 done; \
18349 echo "Doing dvi in itcl" ; \
18350 (cd $(HOST_SUBDIR)/itcl && \
18351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18353 "RANLIB=$${RANLIB}" \
18354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18355 dvi) \
18356 || exit 1
18358 @endif itcl
18360 .PHONY: maybe-pdf-itcl pdf-itcl
18361 maybe-pdf-itcl:
18362 @if itcl
18363 maybe-pdf-itcl: pdf-itcl
18365 pdf-itcl: \
18366 configure-itcl
18367 @: $(MAKE); $(unstage)
18368 @[ -f ./itcl/Makefile ] || exit 0; \
18369 r=`${PWD_COMMAND}`; export r; \
18370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18371 $(HOST_EXPORTS) \
18372 for flag in $(EXTRA_HOST_FLAGS) ; do \
18373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18374 done; \
18375 echo "Doing pdf in itcl" ; \
18376 (cd $(HOST_SUBDIR)/itcl && \
18377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18379 "RANLIB=$${RANLIB}" \
18380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18381 pdf) \
18382 || exit 1
18384 @endif itcl
18386 .PHONY: maybe-html-itcl html-itcl
18387 maybe-html-itcl:
18388 @if itcl
18389 maybe-html-itcl: html-itcl
18391 html-itcl: \
18392 configure-itcl
18393 @: $(MAKE); $(unstage)
18394 @[ -f ./itcl/Makefile ] || exit 0; \
18395 r=`${PWD_COMMAND}`; export r; \
18396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18397 $(HOST_EXPORTS) \
18398 for flag in $(EXTRA_HOST_FLAGS) ; do \
18399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18400 done; \
18401 echo "Doing html in itcl" ; \
18402 (cd $(HOST_SUBDIR)/itcl && \
18403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18405 "RANLIB=$${RANLIB}" \
18406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18407 html) \
18408 || exit 1
18410 @endif itcl
18412 .PHONY: maybe-TAGS-itcl TAGS-itcl
18413 maybe-TAGS-itcl:
18414 @if itcl
18415 maybe-TAGS-itcl: TAGS-itcl
18417 TAGS-itcl: \
18418 configure-itcl
18419 @: $(MAKE); $(unstage)
18420 @[ -f ./itcl/Makefile ] || exit 0; \
18421 r=`${PWD_COMMAND}`; export r; \
18422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18423 $(HOST_EXPORTS) \
18424 for flag in $(EXTRA_HOST_FLAGS) ; do \
18425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18426 done; \
18427 echo "Doing TAGS in itcl" ; \
18428 (cd $(HOST_SUBDIR)/itcl && \
18429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18431 "RANLIB=$${RANLIB}" \
18432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18433 TAGS) \
18434 || exit 1
18436 @endif itcl
18438 .PHONY: maybe-install-info-itcl install-info-itcl
18439 maybe-install-info-itcl:
18440 @if itcl
18441 maybe-install-info-itcl: install-info-itcl
18443 install-info-itcl: \
18444 configure-itcl \
18445 info-itcl
18446 @: $(MAKE); $(unstage)
18447 @[ -f ./itcl/Makefile ] || exit 0; \
18448 r=`${PWD_COMMAND}`; export r; \
18449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18450 $(HOST_EXPORTS) \
18451 for flag in $(EXTRA_HOST_FLAGS) ; do \
18452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18453 done; \
18454 echo "Doing install-info in itcl" ; \
18455 (cd $(HOST_SUBDIR)/itcl && \
18456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18458 "RANLIB=$${RANLIB}" \
18459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18460 install-info) \
18461 || exit 1
18463 @endif itcl
18465 .PHONY: maybe-install-pdf-itcl install-pdf-itcl
18466 maybe-install-pdf-itcl:
18467 @if itcl
18468 maybe-install-pdf-itcl: install-pdf-itcl
18470 install-pdf-itcl: \
18471 configure-itcl \
18472 pdf-itcl
18473 @: $(MAKE); $(unstage)
18474 @[ -f ./itcl/Makefile ] || exit 0; \
18475 r=`${PWD_COMMAND}`; export r; \
18476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18477 $(HOST_EXPORTS) \
18478 for flag in $(EXTRA_HOST_FLAGS) ; do \
18479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18480 done; \
18481 echo "Doing install-pdf in itcl" ; \
18482 (cd $(HOST_SUBDIR)/itcl && \
18483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18485 "RANLIB=$${RANLIB}" \
18486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18487 install-pdf) \
18488 || exit 1
18490 @endif itcl
18492 .PHONY: maybe-install-html-itcl install-html-itcl
18493 maybe-install-html-itcl:
18494 @if itcl
18495 maybe-install-html-itcl: install-html-itcl
18497 install-html-itcl: \
18498 configure-itcl \
18499 html-itcl
18500 @: $(MAKE); $(unstage)
18501 @[ -f ./itcl/Makefile ] || exit 0; \
18502 r=`${PWD_COMMAND}`; export r; \
18503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18504 $(HOST_EXPORTS) \
18505 for flag in $(EXTRA_HOST_FLAGS) ; do \
18506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18507 done; \
18508 echo "Doing install-html in itcl" ; \
18509 (cd $(HOST_SUBDIR)/itcl && \
18510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18512 "RANLIB=$${RANLIB}" \
18513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18514 install-html) \
18515 || exit 1
18517 @endif itcl
18519 .PHONY: maybe-installcheck-itcl installcheck-itcl
18520 maybe-installcheck-itcl:
18521 @if itcl
18522 maybe-installcheck-itcl: installcheck-itcl
18524 installcheck-itcl: \
18525 configure-itcl
18526 @: $(MAKE); $(unstage)
18527 @[ -f ./itcl/Makefile ] || exit 0; \
18528 r=`${PWD_COMMAND}`; export r; \
18529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18530 $(HOST_EXPORTS) \
18531 for flag in $(EXTRA_HOST_FLAGS) ; do \
18532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18533 done; \
18534 echo "Doing installcheck in itcl" ; \
18535 (cd $(HOST_SUBDIR)/itcl && \
18536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18538 "RANLIB=$${RANLIB}" \
18539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18540 installcheck) \
18541 || exit 1
18543 @endif itcl
18545 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
18546 maybe-mostlyclean-itcl:
18547 @if itcl
18548 maybe-mostlyclean-itcl: mostlyclean-itcl
18550 mostlyclean-itcl:
18551 @: $(MAKE); $(unstage)
18552 @[ -f ./itcl/Makefile ] || exit 0; \
18553 r=`${PWD_COMMAND}`; export r; \
18554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18555 $(HOST_EXPORTS) \
18556 for flag in $(EXTRA_HOST_FLAGS) ; do \
18557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18558 done; \
18559 echo "Doing mostlyclean in itcl" ; \
18560 (cd $(HOST_SUBDIR)/itcl && \
18561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18563 "RANLIB=$${RANLIB}" \
18564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18565 mostlyclean) \
18566 || exit 1
18568 @endif itcl
18570 .PHONY: maybe-clean-itcl clean-itcl
18571 maybe-clean-itcl:
18572 @if itcl
18573 maybe-clean-itcl: clean-itcl
18575 clean-itcl:
18576 @: $(MAKE); $(unstage)
18577 @[ -f ./itcl/Makefile ] || exit 0; \
18578 r=`${PWD_COMMAND}`; export r; \
18579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18580 $(HOST_EXPORTS) \
18581 for flag in $(EXTRA_HOST_FLAGS) ; do \
18582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18583 done; \
18584 echo "Doing clean in itcl" ; \
18585 (cd $(HOST_SUBDIR)/itcl && \
18586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18588 "RANLIB=$${RANLIB}" \
18589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18590 clean) \
18591 || exit 1
18593 @endif itcl
18595 .PHONY: maybe-distclean-itcl distclean-itcl
18596 maybe-distclean-itcl:
18597 @if itcl
18598 maybe-distclean-itcl: distclean-itcl
18600 distclean-itcl:
18601 @: $(MAKE); $(unstage)
18602 @[ -f ./itcl/Makefile ] || exit 0; \
18603 r=`${PWD_COMMAND}`; export r; \
18604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18605 $(HOST_EXPORTS) \
18606 for flag in $(EXTRA_HOST_FLAGS) ; do \
18607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18608 done; \
18609 echo "Doing distclean in itcl" ; \
18610 (cd $(HOST_SUBDIR)/itcl && \
18611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18613 "RANLIB=$${RANLIB}" \
18614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18615 distclean) \
18616 || exit 1
18618 @endif itcl
18620 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
18621 maybe-maintainer-clean-itcl:
18622 @if itcl
18623 maybe-maintainer-clean-itcl: maintainer-clean-itcl
18625 maintainer-clean-itcl:
18626 @: $(MAKE); $(unstage)
18627 @[ -f ./itcl/Makefile ] || exit 0; \
18628 r=`${PWD_COMMAND}`; export r; \
18629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18630 $(HOST_EXPORTS) \
18631 for flag in $(EXTRA_HOST_FLAGS) ; do \
18632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18633 done; \
18634 echo "Doing maintainer-clean in itcl" ; \
18635 (cd $(HOST_SUBDIR)/itcl && \
18636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18638 "RANLIB=$${RANLIB}" \
18639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18640 maintainer-clean) \
18641 || exit 1
18643 @endif itcl
18647 .PHONY: configure-ld maybe-configure-ld
18648 maybe-configure-ld:
18649 @if gcc-bootstrap
18650 configure-ld: stage_current
18651 @endif gcc-bootstrap
18652 @if ld
18653 maybe-configure-ld: configure-ld
18654 configure-ld:
18655 @r=`${PWD_COMMAND}`; export r; \
18656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18657 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18658 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18659 $(HOST_EXPORTS) \
18660 echo Configuring in $(HOST_SUBDIR)/ld; \
18661 cd "$(HOST_SUBDIR)/ld" || exit 1; \
18662 case $(srcdir) in \
18663 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18664 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18665 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18666 esac; \
18667 srcdiroption="--srcdir=$${topdir}/ld"; \
18668 libsrcdir="$$s/ld"; \
18669 $(SHELL) $${libsrcdir}/configure \
18670 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18671 --target=${target_alias} $${srcdiroption} \
18672 || exit 1
18673 @endif ld
18677 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
18678 maybe-configure-stage1-ld:
18679 @if ld-bootstrap
18680 maybe-configure-stage1-ld: configure-stage1-ld
18681 configure-stage1-ld:
18682 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18683 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18684 @r=`${PWD_COMMAND}`; export r; \
18685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18686 TFLAGS="$(STAGE1_TFLAGS)"; \
18687 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18688 $(HOST_EXPORTS) \
18689 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
18690 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
18691 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
18692 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
18693 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18694 cd $(HOST_SUBDIR)/ld || exit 1; \
18695 case $(srcdir) in \
18696 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18697 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18698 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18699 esac; \
18700 srcdiroption="--srcdir=$${topdir}/ld"; \
18701 libsrcdir="$$s/ld"; \
18702 $(SHELL) $${libsrcdir}/configure \
18703 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18704 --target=${target_alias} $${srcdiroption} \
18705 $(STAGE1_CONFIGURE_FLAGS)
18706 @endif ld-bootstrap
18708 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
18709 maybe-configure-stage2-ld:
18710 @if ld-bootstrap
18711 maybe-configure-stage2-ld: configure-stage2-ld
18712 configure-stage2-ld:
18713 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18714 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18715 @r=`${PWD_COMMAND}`; export r; \
18716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18717 TFLAGS="$(STAGE2_TFLAGS)"; \
18718 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18719 $(HOST_EXPORTS) \
18720 $(POSTSTAGE1_HOST_EXPORTS) \
18721 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
18722 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
18723 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
18724 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
18725 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18726 cd $(HOST_SUBDIR)/ld || exit 1; \
18727 case $(srcdir) in \
18728 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18729 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18730 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18731 esac; \
18732 srcdiroption="--srcdir=$${topdir}/ld"; \
18733 libsrcdir="$$s/ld"; \
18734 $(SHELL) $${libsrcdir}/configure \
18735 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18736 --target=${target_alias} $${srcdiroption} \
18737 --with-build-libsubdir=$(HOST_SUBDIR) \
18738 $(STAGE2_CONFIGURE_FLAGS)
18739 @endif ld-bootstrap
18741 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
18742 maybe-configure-stage3-ld:
18743 @if ld-bootstrap
18744 maybe-configure-stage3-ld: configure-stage3-ld
18745 configure-stage3-ld:
18746 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18747 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18748 @r=`${PWD_COMMAND}`; export r; \
18749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18750 TFLAGS="$(STAGE3_TFLAGS)"; \
18751 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18752 $(HOST_EXPORTS) \
18753 $(POSTSTAGE1_HOST_EXPORTS) \
18754 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
18755 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
18756 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
18757 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
18758 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18759 cd $(HOST_SUBDIR)/ld || exit 1; \
18760 case $(srcdir) in \
18761 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18762 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18763 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18764 esac; \
18765 srcdiroption="--srcdir=$${topdir}/ld"; \
18766 libsrcdir="$$s/ld"; \
18767 $(SHELL) $${libsrcdir}/configure \
18768 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18769 --target=${target_alias} $${srcdiroption} \
18770 --with-build-libsubdir=$(HOST_SUBDIR) \
18771 $(STAGE3_CONFIGURE_FLAGS)
18772 @endif ld-bootstrap
18774 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
18775 maybe-configure-stage4-ld:
18776 @if ld-bootstrap
18777 maybe-configure-stage4-ld: configure-stage4-ld
18778 configure-stage4-ld:
18779 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18780 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18781 @r=`${PWD_COMMAND}`; export r; \
18782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18783 TFLAGS="$(STAGE4_TFLAGS)"; \
18784 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18785 $(HOST_EXPORTS) \
18786 $(POSTSTAGE1_HOST_EXPORTS) \
18787 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
18788 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
18789 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
18790 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
18791 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18792 cd $(HOST_SUBDIR)/ld || exit 1; \
18793 case $(srcdir) in \
18794 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18795 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18796 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18797 esac; \
18798 srcdiroption="--srcdir=$${topdir}/ld"; \
18799 libsrcdir="$$s/ld"; \
18800 $(SHELL) $${libsrcdir}/configure \
18801 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18802 --target=${target_alias} $${srcdiroption} \
18803 --with-build-libsubdir=$(HOST_SUBDIR) \
18804 $(STAGE4_CONFIGURE_FLAGS)
18805 @endif ld-bootstrap
18807 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
18808 maybe-configure-stageprofile-ld:
18809 @if ld-bootstrap
18810 maybe-configure-stageprofile-ld: configure-stageprofile-ld
18811 configure-stageprofile-ld:
18812 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18813 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18814 @r=`${PWD_COMMAND}`; export r; \
18815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18816 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18817 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18818 $(HOST_EXPORTS) \
18819 $(POSTSTAGE1_HOST_EXPORTS) \
18820 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
18821 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
18822 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
18823 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
18824 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18825 cd $(HOST_SUBDIR)/ld || exit 1; \
18826 case $(srcdir) in \
18827 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18828 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18829 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18830 esac; \
18831 srcdiroption="--srcdir=$${topdir}/ld"; \
18832 libsrcdir="$$s/ld"; \
18833 $(SHELL) $${libsrcdir}/configure \
18834 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18835 --target=${target_alias} $${srcdiroption} \
18836 --with-build-libsubdir=$(HOST_SUBDIR) \
18837 $(STAGEprofile_CONFIGURE_FLAGS)
18838 @endif ld-bootstrap
18840 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
18841 maybe-configure-stagefeedback-ld:
18842 @if ld-bootstrap
18843 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
18844 configure-stagefeedback-ld:
18845 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18846 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18847 @r=`${PWD_COMMAND}`; export r; \
18848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18849 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18850 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18851 $(HOST_EXPORTS) \
18852 $(POSTSTAGE1_HOST_EXPORTS) \
18853 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
18854 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
18855 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
18856 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
18857 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18858 cd $(HOST_SUBDIR)/ld || exit 1; \
18859 case $(srcdir) in \
18860 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18861 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18862 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18863 esac; \
18864 srcdiroption="--srcdir=$${topdir}/ld"; \
18865 libsrcdir="$$s/ld"; \
18866 $(SHELL) $${libsrcdir}/configure \
18867 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18868 --target=${target_alias} $${srcdiroption} \
18869 --with-build-libsubdir=$(HOST_SUBDIR) \
18870 $(STAGEfeedback_CONFIGURE_FLAGS)
18871 @endif ld-bootstrap
18877 .PHONY: all-ld maybe-all-ld
18878 maybe-all-ld:
18879 @if gcc-bootstrap
18880 all-ld: stage_current
18881 @endif gcc-bootstrap
18882 @if ld
18883 TARGET-ld=all
18884 maybe-all-ld: all-ld
18885 all-ld: configure-ld
18886 @r=`${PWD_COMMAND}`; export r; \
18887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18888 $(HOST_EXPORTS) \
18889 (cd $(HOST_SUBDIR)/ld && \
18890 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18891 $(TARGET-ld))
18892 @endif ld
18896 .PHONY: all-stage1-ld maybe-all-stage1-ld
18897 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
18898 maybe-all-stage1-ld:
18899 maybe-clean-stage1-ld:
18900 @if ld-bootstrap
18901 maybe-all-stage1-ld: all-stage1-ld
18902 all-stage1: all-stage1-ld
18903 TARGET-stage1-ld = $(TARGET-ld)
18904 all-stage1-ld: configure-stage1-ld
18905 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18906 @r=`${PWD_COMMAND}`; export r; \
18907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18908 TFLAGS="$(STAGE1_TFLAGS)"; \
18909 $(HOST_EXPORTS) \
18910 cd $(HOST_SUBDIR)/ld && \
18911 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18912 CFLAGS="$(STAGE1_CFLAGS)" \
18913 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
18914 LIBCFLAGS="$(LIBCFLAGS)" \
18915 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18916 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18917 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18918 $(EXTRA_HOST_FLAGS) \
18919 $(STAGE1_FLAGS_TO_PASS) \
18920 TFLAGS="$(STAGE1_TFLAGS)" \
18921 $(TARGET-stage1-ld)
18923 maybe-clean-stage1-ld: clean-stage1-ld
18924 clean-stage1: clean-stage1-ld
18925 clean-stage1-ld:
18926 @if [ $(current_stage) = stage1 ]; then \
18927 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18928 else \
18929 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
18930 $(MAKE) stage1-start; \
18931 fi; \
18932 cd $(HOST_SUBDIR)/ld && \
18933 $(MAKE) $(EXTRA_HOST_FLAGS) \
18934 $(STAGE1_FLAGS_TO_PASS) clean
18935 @endif ld-bootstrap
18938 .PHONY: all-stage2-ld maybe-all-stage2-ld
18939 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
18940 maybe-all-stage2-ld:
18941 maybe-clean-stage2-ld:
18942 @if ld-bootstrap
18943 maybe-all-stage2-ld: all-stage2-ld
18944 all-stage2: all-stage2-ld
18945 TARGET-stage2-ld = $(TARGET-ld)
18946 all-stage2-ld: configure-stage2-ld
18947 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18948 @r=`${PWD_COMMAND}`; export r; \
18949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18950 TFLAGS="$(STAGE2_TFLAGS)"; \
18951 $(HOST_EXPORTS) \
18952 $(POSTSTAGE1_HOST_EXPORTS) \
18953 cd $(HOST_SUBDIR)/ld && \
18954 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18955 CFLAGS="$(STAGE2_CFLAGS)" \
18956 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
18957 LIBCFLAGS="$(STAGE2_CFLAGS)" \
18958 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18959 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18960 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18961 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18962 TFLAGS="$(STAGE2_TFLAGS)" \
18963 $(TARGET-stage2-ld)
18965 maybe-clean-stage2-ld: clean-stage2-ld
18966 clean-stage2: clean-stage2-ld
18967 clean-stage2-ld:
18968 @if [ $(current_stage) = stage2 ]; then \
18969 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18970 else \
18971 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
18972 $(MAKE) stage2-start; \
18973 fi; \
18974 cd $(HOST_SUBDIR)/ld && \
18975 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18976 @endif ld-bootstrap
18979 .PHONY: all-stage3-ld maybe-all-stage3-ld
18980 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
18981 maybe-all-stage3-ld:
18982 maybe-clean-stage3-ld:
18983 @if ld-bootstrap
18984 maybe-all-stage3-ld: all-stage3-ld
18985 all-stage3: all-stage3-ld
18986 TARGET-stage3-ld = $(TARGET-ld)
18987 all-stage3-ld: configure-stage3-ld
18988 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18989 @r=`${PWD_COMMAND}`; export r; \
18990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18991 TFLAGS="$(STAGE3_TFLAGS)"; \
18992 $(HOST_EXPORTS) \
18993 $(POSTSTAGE1_HOST_EXPORTS) \
18994 cd $(HOST_SUBDIR)/ld && \
18995 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18996 CFLAGS="$(STAGE3_CFLAGS)" \
18997 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
18998 LIBCFLAGS="$(STAGE3_CFLAGS)" \
18999 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19000 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19001 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19002 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19003 TFLAGS="$(STAGE3_TFLAGS)" \
19004 $(TARGET-stage3-ld)
19006 maybe-clean-stage3-ld: clean-stage3-ld
19007 clean-stage3: clean-stage3-ld
19008 clean-stage3-ld:
19009 @if [ $(current_stage) = stage3 ]; then \
19010 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19011 else \
19012 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
19013 $(MAKE) stage3-start; \
19014 fi; \
19015 cd $(HOST_SUBDIR)/ld && \
19016 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19017 @endif ld-bootstrap
19020 .PHONY: all-stage4-ld maybe-all-stage4-ld
19021 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
19022 maybe-all-stage4-ld:
19023 maybe-clean-stage4-ld:
19024 @if ld-bootstrap
19025 maybe-all-stage4-ld: all-stage4-ld
19026 all-stage4: all-stage4-ld
19027 TARGET-stage4-ld = $(TARGET-ld)
19028 all-stage4-ld: configure-stage4-ld
19029 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19030 @r=`${PWD_COMMAND}`; export r; \
19031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19032 TFLAGS="$(STAGE4_TFLAGS)"; \
19033 $(HOST_EXPORTS) \
19034 $(POSTSTAGE1_HOST_EXPORTS) \
19035 cd $(HOST_SUBDIR)/ld && \
19036 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19037 CFLAGS="$(STAGE4_CFLAGS)" \
19038 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19039 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19040 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19041 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19042 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19043 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19044 TFLAGS="$(STAGE4_TFLAGS)" \
19045 $(TARGET-stage4-ld)
19047 maybe-clean-stage4-ld: clean-stage4-ld
19048 clean-stage4: clean-stage4-ld
19049 clean-stage4-ld:
19050 @if [ $(current_stage) = stage4 ]; then \
19051 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19052 else \
19053 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
19054 $(MAKE) stage4-start; \
19055 fi; \
19056 cd $(HOST_SUBDIR)/ld && \
19057 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19058 @endif ld-bootstrap
19061 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
19062 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
19063 maybe-all-stageprofile-ld:
19064 maybe-clean-stageprofile-ld:
19065 @if ld-bootstrap
19066 maybe-all-stageprofile-ld: all-stageprofile-ld
19067 all-stageprofile: all-stageprofile-ld
19068 TARGET-stageprofile-ld = $(TARGET-ld)
19069 all-stageprofile-ld: configure-stageprofile-ld
19070 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19071 @r=`${PWD_COMMAND}`; export r; \
19072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19073 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19074 $(HOST_EXPORTS) \
19075 $(POSTSTAGE1_HOST_EXPORTS) \
19076 cd $(HOST_SUBDIR)/ld && \
19077 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19078 CFLAGS="$(STAGEprofile_CFLAGS)" \
19079 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
19080 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
19081 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19082 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19083 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19084 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19085 TFLAGS="$(STAGEprofile_TFLAGS)" \
19086 $(TARGET-stageprofile-ld)
19088 maybe-clean-stageprofile-ld: clean-stageprofile-ld
19089 clean-stageprofile: clean-stageprofile-ld
19090 clean-stageprofile-ld:
19091 @if [ $(current_stage) = stageprofile ]; then \
19092 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19093 else \
19094 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
19095 $(MAKE) stageprofile-start; \
19096 fi; \
19097 cd $(HOST_SUBDIR)/ld && \
19098 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19099 @endif ld-bootstrap
19102 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
19103 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
19104 maybe-all-stagefeedback-ld:
19105 maybe-clean-stagefeedback-ld:
19106 @if ld-bootstrap
19107 maybe-all-stagefeedback-ld: all-stagefeedback-ld
19108 all-stagefeedback: all-stagefeedback-ld
19109 TARGET-stagefeedback-ld = $(TARGET-ld)
19110 all-stagefeedback-ld: configure-stagefeedback-ld
19111 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19112 @r=`${PWD_COMMAND}`; export r; \
19113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19114 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19115 $(HOST_EXPORTS) \
19116 $(POSTSTAGE1_HOST_EXPORTS) \
19117 cd $(HOST_SUBDIR)/ld && \
19118 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19119 CFLAGS="$(STAGEfeedback_CFLAGS)" \
19120 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
19121 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
19122 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19123 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19124 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19125 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19126 TFLAGS="$(STAGEfeedback_TFLAGS)" \
19127 $(TARGET-stagefeedback-ld)
19129 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
19130 clean-stagefeedback: clean-stagefeedback-ld
19131 clean-stagefeedback-ld:
19132 @if [ $(current_stage) = stagefeedback ]; then \
19133 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19134 else \
19135 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
19136 $(MAKE) stagefeedback-start; \
19137 fi; \
19138 cd $(HOST_SUBDIR)/ld && \
19139 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19140 @endif ld-bootstrap
19146 .PHONY: check-ld maybe-check-ld
19147 maybe-check-ld:
19148 @if ld
19149 maybe-check-ld: check-ld
19151 check-ld:
19152 @: $(MAKE); $(unstage)
19153 @r=`${PWD_COMMAND}`; export r; \
19154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19155 $(HOST_EXPORTS) \
19156 (cd $(HOST_SUBDIR)/ld && \
19157 $(MAKE) $(FLAGS_TO_PASS) check)
19159 @endif ld
19161 .PHONY: install-ld maybe-install-ld
19162 maybe-install-ld:
19163 @if ld
19164 maybe-install-ld: install-ld
19166 install-ld: installdirs
19167 @: $(MAKE); $(unstage)
19168 @r=`${PWD_COMMAND}`; export r; \
19169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19170 $(HOST_EXPORTS) \
19171 (cd $(HOST_SUBDIR)/ld && \
19172 $(MAKE) $(FLAGS_TO_PASS) install)
19174 @endif ld
19176 .PHONY: install-strip-ld maybe-install-strip-ld
19177 maybe-install-strip-ld:
19178 @if ld
19179 maybe-install-strip-ld: install-strip-ld
19181 install-strip-ld: installdirs
19182 @: $(MAKE); $(unstage)
19183 @r=`${PWD_COMMAND}`; export r; \
19184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19185 $(HOST_EXPORTS) \
19186 (cd $(HOST_SUBDIR)/ld && \
19187 $(MAKE) $(FLAGS_TO_PASS) install-strip)
19189 @endif ld
19191 # Other targets (info, dvi, pdf, etc.)
19193 .PHONY: maybe-info-ld info-ld
19194 maybe-info-ld:
19195 @if ld
19196 maybe-info-ld: info-ld
19198 info-ld: \
19199 configure-ld
19200 @[ -f ./ld/Makefile ] || exit 0; \
19201 r=`${PWD_COMMAND}`; export r; \
19202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19203 $(HOST_EXPORTS) \
19204 for flag in $(EXTRA_HOST_FLAGS) ; do \
19205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19206 done; \
19207 echo "Doing info in ld" ; \
19208 (cd $(HOST_SUBDIR)/ld && \
19209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19211 "RANLIB=$${RANLIB}" \
19212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19213 info) \
19214 || exit 1
19216 @endif ld
19218 .PHONY: maybe-dvi-ld dvi-ld
19219 maybe-dvi-ld:
19220 @if ld
19221 maybe-dvi-ld: dvi-ld
19223 dvi-ld: \
19224 configure-ld
19225 @[ -f ./ld/Makefile ] || exit 0; \
19226 r=`${PWD_COMMAND}`; export r; \
19227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19228 $(HOST_EXPORTS) \
19229 for flag in $(EXTRA_HOST_FLAGS) ; do \
19230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19231 done; \
19232 echo "Doing dvi in ld" ; \
19233 (cd $(HOST_SUBDIR)/ld && \
19234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19236 "RANLIB=$${RANLIB}" \
19237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19238 dvi) \
19239 || exit 1
19241 @endif ld
19243 .PHONY: maybe-pdf-ld pdf-ld
19244 maybe-pdf-ld:
19245 @if ld
19246 maybe-pdf-ld: pdf-ld
19248 pdf-ld: \
19249 configure-ld
19250 @[ -f ./ld/Makefile ] || exit 0; \
19251 r=`${PWD_COMMAND}`; export r; \
19252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19253 $(HOST_EXPORTS) \
19254 for flag in $(EXTRA_HOST_FLAGS) ; do \
19255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19256 done; \
19257 echo "Doing pdf in ld" ; \
19258 (cd $(HOST_SUBDIR)/ld && \
19259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19261 "RANLIB=$${RANLIB}" \
19262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19263 pdf) \
19264 || exit 1
19266 @endif ld
19268 .PHONY: maybe-html-ld html-ld
19269 maybe-html-ld:
19270 @if ld
19271 maybe-html-ld: html-ld
19273 html-ld: \
19274 configure-ld
19275 @[ -f ./ld/Makefile ] || exit 0; \
19276 r=`${PWD_COMMAND}`; export r; \
19277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19278 $(HOST_EXPORTS) \
19279 for flag in $(EXTRA_HOST_FLAGS) ; do \
19280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19281 done; \
19282 echo "Doing html in ld" ; \
19283 (cd $(HOST_SUBDIR)/ld && \
19284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19286 "RANLIB=$${RANLIB}" \
19287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19288 html) \
19289 || exit 1
19291 @endif ld
19293 .PHONY: maybe-TAGS-ld TAGS-ld
19294 maybe-TAGS-ld:
19295 @if ld
19296 maybe-TAGS-ld: TAGS-ld
19298 TAGS-ld: \
19299 configure-ld
19300 @[ -f ./ld/Makefile ] || exit 0; \
19301 r=`${PWD_COMMAND}`; export r; \
19302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19303 $(HOST_EXPORTS) \
19304 for flag in $(EXTRA_HOST_FLAGS) ; do \
19305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19306 done; \
19307 echo "Doing TAGS in ld" ; \
19308 (cd $(HOST_SUBDIR)/ld && \
19309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19311 "RANLIB=$${RANLIB}" \
19312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19313 TAGS) \
19314 || exit 1
19316 @endif ld
19318 .PHONY: maybe-install-info-ld install-info-ld
19319 maybe-install-info-ld:
19320 @if ld
19321 maybe-install-info-ld: install-info-ld
19323 install-info-ld: \
19324 configure-ld \
19325 info-ld
19326 @[ -f ./ld/Makefile ] || exit 0; \
19327 r=`${PWD_COMMAND}`; export r; \
19328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19329 $(HOST_EXPORTS) \
19330 for flag in $(EXTRA_HOST_FLAGS) ; do \
19331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19332 done; \
19333 echo "Doing install-info in ld" ; \
19334 (cd $(HOST_SUBDIR)/ld && \
19335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19337 "RANLIB=$${RANLIB}" \
19338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19339 install-info) \
19340 || exit 1
19342 @endif ld
19344 .PHONY: maybe-install-pdf-ld install-pdf-ld
19345 maybe-install-pdf-ld:
19346 @if ld
19347 maybe-install-pdf-ld: install-pdf-ld
19349 install-pdf-ld: \
19350 configure-ld \
19351 pdf-ld
19352 @[ -f ./ld/Makefile ] || exit 0; \
19353 r=`${PWD_COMMAND}`; export r; \
19354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19355 $(HOST_EXPORTS) \
19356 for flag in $(EXTRA_HOST_FLAGS) ; do \
19357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19358 done; \
19359 echo "Doing install-pdf in ld" ; \
19360 (cd $(HOST_SUBDIR)/ld && \
19361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19363 "RANLIB=$${RANLIB}" \
19364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19365 install-pdf) \
19366 || exit 1
19368 @endif ld
19370 .PHONY: maybe-install-html-ld install-html-ld
19371 maybe-install-html-ld:
19372 @if ld
19373 maybe-install-html-ld: install-html-ld
19375 install-html-ld: \
19376 configure-ld \
19377 html-ld
19378 @[ -f ./ld/Makefile ] || exit 0; \
19379 r=`${PWD_COMMAND}`; export r; \
19380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19381 $(HOST_EXPORTS) \
19382 for flag in $(EXTRA_HOST_FLAGS) ; do \
19383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19384 done; \
19385 echo "Doing install-html in ld" ; \
19386 (cd $(HOST_SUBDIR)/ld && \
19387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19389 "RANLIB=$${RANLIB}" \
19390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19391 install-html) \
19392 || exit 1
19394 @endif ld
19396 .PHONY: maybe-installcheck-ld installcheck-ld
19397 maybe-installcheck-ld:
19398 @if ld
19399 maybe-installcheck-ld: installcheck-ld
19401 installcheck-ld: \
19402 configure-ld
19403 @[ -f ./ld/Makefile ] || exit 0; \
19404 r=`${PWD_COMMAND}`; export r; \
19405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19406 $(HOST_EXPORTS) \
19407 for flag in $(EXTRA_HOST_FLAGS) ; do \
19408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19409 done; \
19410 echo "Doing installcheck in ld" ; \
19411 (cd $(HOST_SUBDIR)/ld && \
19412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19414 "RANLIB=$${RANLIB}" \
19415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19416 installcheck) \
19417 || exit 1
19419 @endif ld
19421 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
19422 maybe-mostlyclean-ld:
19423 @if ld
19424 maybe-mostlyclean-ld: mostlyclean-ld
19426 mostlyclean-ld:
19427 @[ -f ./ld/Makefile ] || exit 0; \
19428 r=`${PWD_COMMAND}`; export r; \
19429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19430 $(HOST_EXPORTS) \
19431 for flag in $(EXTRA_HOST_FLAGS) ; do \
19432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19433 done; \
19434 echo "Doing mostlyclean in ld" ; \
19435 (cd $(HOST_SUBDIR)/ld && \
19436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19438 "RANLIB=$${RANLIB}" \
19439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19440 mostlyclean) \
19441 || exit 1
19443 @endif ld
19445 .PHONY: maybe-clean-ld clean-ld
19446 maybe-clean-ld:
19447 @if ld
19448 maybe-clean-ld: clean-ld
19450 clean-ld:
19451 @[ -f ./ld/Makefile ] || exit 0; \
19452 r=`${PWD_COMMAND}`; export r; \
19453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19454 $(HOST_EXPORTS) \
19455 for flag in $(EXTRA_HOST_FLAGS) ; do \
19456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19457 done; \
19458 echo "Doing clean in ld" ; \
19459 (cd $(HOST_SUBDIR)/ld && \
19460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19462 "RANLIB=$${RANLIB}" \
19463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19464 clean) \
19465 || exit 1
19467 @endif ld
19469 .PHONY: maybe-distclean-ld distclean-ld
19470 maybe-distclean-ld:
19471 @if ld
19472 maybe-distclean-ld: distclean-ld
19474 distclean-ld:
19475 @[ -f ./ld/Makefile ] || exit 0; \
19476 r=`${PWD_COMMAND}`; export r; \
19477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19478 $(HOST_EXPORTS) \
19479 for flag in $(EXTRA_HOST_FLAGS) ; do \
19480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19481 done; \
19482 echo "Doing distclean in ld" ; \
19483 (cd $(HOST_SUBDIR)/ld && \
19484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19486 "RANLIB=$${RANLIB}" \
19487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19488 distclean) \
19489 || exit 1
19491 @endif ld
19493 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
19494 maybe-maintainer-clean-ld:
19495 @if ld
19496 maybe-maintainer-clean-ld: maintainer-clean-ld
19498 maintainer-clean-ld:
19499 @[ -f ./ld/Makefile ] || exit 0; \
19500 r=`${PWD_COMMAND}`; export r; \
19501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19502 $(HOST_EXPORTS) \
19503 for flag in $(EXTRA_HOST_FLAGS) ; do \
19504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19505 done; \
19506 echo "Doing maintainer-clean in ld" ; \
19507 (cd $(HOST_SUBDIR)/ld && \
19508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19510 "RANLIB=$${RANLIB}" \
19511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19512 maintainer-clean) \
19513 || exit 1
19515 @endif ld
19519 .PHONY: configure-libbacktrace maybe-configure-libbacktrace
19520 maybe-configure-libbacktrace:
19521 @if gcc-bootstrap
19522 configure-libbacktrace: stage_current
19523 @endif gcc-bootstrap
19524 @if libbacktrace
19525 maybe-configure-libbacktrace: configure-libbacktrace
19526 configure-libbacktrace:
19527 @r=`${PWD_COMMAND}`; export r; \
19528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19529 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19530 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19531 $(HOST_EXPORTS) \
19532 echo Configuring in $(HOST_SUBDIR)/libbacktrace; \
19533 cd "$(HOST_SUBDIR)/libbacktrace" || exit 1; \
19534 case $(srcdir) in \
19535 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19536 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19537 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19538 esac; \
19539 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19540 libsrcdir="$$s/libbacktrace"; \
19541 $(SHELL) $${libsrcdir}/configure \
19542 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19543 --target=${target_alias} $${srcdiroption} \
19544 || exit 1
19545 @endif libbacktrace
19549 .PHONY: configure-stage1-libbacktrace maybe-configure-stage1-libbacktrace
19550 maybe-configure-stage1-libbacktrace:
19551 @if libbacktrace-bootstrap
19552 maybe-configure-stage1-libbacktrace: configure-stage1-libbacktrace
19553 configure-stage1-libbacktrace:
19554 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19555 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19556 @r=`${PWD_COMMAND}`; export r; \
19557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19558 TFLAGS="$(STAGE1_TFLAGS)"; \
19559 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19560 $(HOST_EXPORTS) \
19561 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
19562 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
19563 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
19564 echo Configuring stage 1 in $(HOST_SUBDIR)/libbacktrace ; \
19565 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19566 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19567 case $(srcdir) in \
19568 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19569 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19570 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19571 esac; \
19572 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19573 libsrcdir="$$s/libbacktrace"; \
19574 $(SHELL) $${libsrcdir}/configure \
19575 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19576 --target=${target_alias} $${srcdiroption} \
19577 $(STAGE1_CONFIGURE_FLAGS)
19578 @endif libbacktrace-bootstrap
19580 .PHONY: configure-stage2-libbacktrace maybe-configure-stage2-libbacktrace
19581 maybe-configure-stage2-libbacktrace:
19582 @if libbacktrace-bootstrap
19583 maybe-configure-stage2-libbacktrace: configure-stage2-libbacktrace
19584 configure-stage2-libbacktrace:
19585 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19586 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19587 @r=`${PWD_COMMAND}`; export r; \
19588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19589 TFLAGS="$(STAGE2_TFLAGS)"; \
19590 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19591 $(HOST_EXPORTS) \
19592 $(POSTSTAGE1_HOST_EXPORTS) \
19593 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
19594 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
19595 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
19596 echo Configuring stage 2 in $(HOST_SUBDIR)/libbacktrace ; \
19597 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19598 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19599 case $(srcdir) in \
19600 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19601 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19602 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19603 esac; \
19604 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19605 libsrcdir="$$s/libbacktrace"; \
19606 $(SHELL) $${libsrcdir}/configure \
19607 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19608 --target=${target_alias} $${srcdiroption} \
19609 --with-build-libsubdir=$(HOST_SUBDIR) \
19610 $(STAGE2_CONFIGURE_FLAGS)
19611 @endif libbacktrace-bootstrap
19613 .PHONY: configure-stage3-libbacktrace maybe-configure-stage3-libbacktrace
19614 maybe-configure-stage3-libbacktrace:
19615 @if libbacktrace-bootstrap
19616 maybe-configure-stage3-libbacktrace: configure-stage3-libbacktrace
19617 configure-stage3-libbacktrace:
19618 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19619 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19620 @r=`${PWD_COMMAND}`; export r; \
19621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19622 TFLAGS="$(STAGE3_TFLAGS)"; \
19623 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19624 $(HOST_EXPORTS) \
19625 $(POSTSTAGE1_HOST_EXPORTS) \
19626 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
19627 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
19628 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
19629 echo Configuring stage 3 in $(HOST_SUBDIR)/libbacktrace ; \
19630 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19631 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19632 case $(srcdir) in \
19633 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19634 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19635 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19636 esac; \
19637 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19638 libsrcdir="$$s/libbacktrace"; \
19639 $(SHELL) $${libsrcdir}/configure \
19640 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19641 --target=${target_alias} $${srcdiroption} \
19642 --with-build-libsubdir=$(HOST_SUBDIR) \
19643 $(STAGE3_CONFIGURE_FLAGS)
19644 @endif libbacktrace-bootstrap
19646 .PHONY: configure-stage4-libbacktrace maybe-configure-stage4-libbacktrace
19647 maybe-configure-stage4-libbacktrace:
19648 @if libbacktrace-bootstrap
19649 maybe-configure-stage4-libbacktrace: configure-stage4-libbacktrace
19650 configure-stage4-libbacktrace:
19651 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19652 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19653 @r=`${PWD_COMMAND}`; export r; \
19654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19655 TFLAGS="$(STAGE4_TFLAGS)"; \
19656 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19657 $(HOST_EXPORTS) \
19658 $(POSTSTAGE1_HOST_EXPORTS) \
19659 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
19660 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
19661 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
19662 echo Configuring stage 4 in $(HOST_SUBDIR)/libbacktrace ; \
19663 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19664 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19665 case $(srcdir) in \
19666 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19667 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19668 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19669 esac; \
19670 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19671 libsrcdir="$$s/libbacktrace"; \
19672 $(SHELL) $${libsrcdir}/configure \
19673 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19674 --target=${target_alias} $${srcdiroption} \
19675 --with-build-libsubdir=$(HOST_SUBDIR) \
19676 $(STAGE4_CONFIGURE_FLAGS)
19677 @endif libbacktrace-bootstrap
19679 .PHONY: configure-stageprofile-libbacktrace maybe-configure-stageprofile-libbacktrace
19680 maybe-configure-stageprofile-libbacktrace:
19681 @if libbacktrace-bootstrap
19682 maybe-configure-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
19683 configure-stageprofile-libbacktrace:
19684 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19685 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19686 @r=`${PWD_COMMAND}`; export r; \
19687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19688 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19689 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19690 $(HOST_EXPORTS) \
19691 $(POSTSTAGE1_HOST_EXPORTS) \
19692 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
19693 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
19694 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
19695 echo Configuring stage profile in $(HOST_SUBDIR)/libbacktrace ; \
19696 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19697 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19698 case $(srcdir) in \
19699 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19700 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19701 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19702 esac; \
19703 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19704 libsrcdir="$$s/libbacktrace"; \
19705 $(SHELL) $${libsrcdir}/configure \
19706 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19707 --target=${target_alias} $${srcdiroption} \
19708 --with-build-libsubdir=$(HOST_SUBDIR) \
19709 $(STAGEprofile_CONFIGURE_FLAGS)
19710 @endif libbacktrace-bootstrap
19712 .PHONY: configure-stagefeedback-libbacktrace maybe-configure-stagefeedback-libbacktrace
19713 maybe-configure-stagefeedback-libbacktrace:
19714 @if libbacktrace-bootstrap
19715 maybe-configure-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
19716 configure-stagefeedback-libbacktrace:
19717 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19718 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19719 @r=`${PWD_COMMAND}`; export r; \
19720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19721 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19722 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19723 $(HOST_EXPORTS) \
19724 $(POSTSTAGE1_HOST_EXPORTS) \
19725 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
19726 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
19727 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
19728 echo Configuring stage feedback in $(HOST_SUBDIR)/libbacktrace ; \
19729 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19730 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19731 case $(srcdir) in \
19732 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19733 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19734 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19735 esac; \
19736 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19737 libsrcdir="$$s/libbacktrace"; \
19738 $(SHELL) $${libsrcdir}/configure \
19739 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19740 --target=${target_alias} $${srcdiroption} \
19741 --with-build-libsubdir=$(HOST_SUBDIR) \
19742 $(STAGEfeedback_CONFIGURE_FLAGS)
19743 @endif libbacktrace-bootstrap
19749 .PHONY: all-libbacktrace maybe-all-libbacktrace
19750 maybe-all-libbacktrace:
19751 @if gcc-bootstrap
19752 all-libbacktrace: stage_current
19753 @endif gcc-bootstrap
19754 @if libbacktrace
19755 TARGET-libbacktrace=all
19756 maybe-all-libbacktrace: all-libbacktrace
19757 all-libbacktrace: configure-libbacktrace
19758 @r=`${PWD_COMMAND}`; export r; \
19759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19760 $(HOST_EXPORTS) \
19761 (cd $(HOST_SUBDIR)/libbacktrace && \
19762 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
19763 $(TARGET-libbacktrace))
19764 @endif libbacktrace
19768 .PHONY: all-stage1-libbacktrace maybe-all-stage1-libbacktrace
19769 .PHONY: clean-stage1-libbacktrace maybe-clean-stage1-libbacktrace
19770 maybe-all-stage1-libbacktrace:
19771 maybe-clean-stage1-libbacktrace:
19772 @if libbacktrace-bootstrap
19773 maybe-all-stage1-libbacktrace: all-stage1-libbacktrace
19774 all-stage1: all-stage1-libbacktrace
19775 TARGET-stage1-libbacktrace = $(TARGET-libbacktrace)
19776 all-stage1-libbacktrace: configure-stage1-libbacktrace
19777 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19778 @r=`${PWD_COMMAND}`; export r; \
19779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19780 TFLAGS="$(STAGE1_TFLAGS)"; \
19781 $(HOST_EXPORTS) \
19782 cd $(HOST_SUBDIR)/libbacktrace && \
19783 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19784 CFLAGS="$(STAGE1_CFLAGS)" \
19785 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
19786 LIBCFLAGS="$(LIBCFLAGS)" \
19787 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19788 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19789 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19790 $(EXTRA_HOST_FLAGS) \
19791 $(STAGE1_FLAGS_TO_PASS) \
19792 TFLAGS="$(STAGE1_TFLAGS)" \
19793 $(TARGET-stage1-libbacktrace)
19795 maybe-clean-stage1-libbacktrace: clean-stage1-libbacktrace
19796 clean-stage1: clean-stage1-libbacktrace
19797 clean-stage1-libbacktrace:
19798 @if [ $(current_stage) = stage1 ]; then \
19799 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19800 else \
19801 [ -f $(HOST_SUBDIR)/stage1-libbacktrace/Makefile ] || exit 0; \
19802 $(MAKE) stage1-start; \
19803 fi; \
19804 cd $(HOST_SUBDIR)/libbacktrace && \
19805 $(MAKE) $(EXTRA_HOST_FLAGS) \
19806 $(STAGE1_FLAGS_TO_PASS) clean
19807 @endif libbacktrace-bootstrap
19810 .PHONY: all-stage2-libbacktrace maybe-all-stage2-libbacktrace
19811 .PHONY: clean-stage2-libbacktrace maybe-clean-stage2-libbacktrace
19812 maybe-all-stage2-libbacktrace:
19813 maybe-clean-stage2-libbacktrace:
19814 @if libbacktrace-bootstrap
19815 maybe-all-stage2-libbacktrace: all-stage2-libbacktrace
19816 all-stage2: all-stage2-libbacktrace
19817 TARGET-stage2-libbacktrace = $(TARGET-libbacktrace)
19818 all-stage2-libbacktrace: configure-stage2-libbacktrace
19819 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19820 @r=`${PWD_COMMAND}`; export r; \
19821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19822 TFLAGS="$(STAGE2_TFLAGS)"; \
19823 $(HOST_EXPORTS) \
19824 $(POSTSTAGE1_HOST_EXPORTS) \
19825 cd $(HOST_SUBDIR)/libbacktrace && \
19826 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19827 CFLAGS="$(STAGE2_CFLAGS)" \
19828 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
19829 LIBCFLAGS="$(STAGE2_CFLAGS)" \
19830 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19831 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19832 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19833 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19834 TFLAGS="$(STAGE2_TFLAGS)" \
19835 $(TARGET-stage2-libbacktrace)
19837 maybe-clean-stage2-libbacktrace: clean-stage2-libbacktrace
19838 clean-stage2: clean-stage2-libbacktrace
19839 clean-stage2-libbacktrace:
19840 @if [ $(current_stage) = stage2 ]; then \
19841 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19842 else \
19843 [ -f $(HOST_SUBDIR)/stage2-libbacktrace/Makefile ] || exit 0; \
19844 $(MAKE) stage2-start; \
19845 fi; \
19846 cd $(HOST_SUBDIR)/libbacktrace && \
19847 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19848 @endif libbacktrace-bootstrap
19851 .PHONY: all-stage3-libbacktrace maybe-all-stage3-libbacktrace
19852 .PHONY: clean-stage3-libbacktrace maybe-clean-stage3-libbacktrace
19853 maybe-all-stage3-libbacktrace:
19854 maybe-clean-stage3-libbacktrace:
19855 @if libbacktrace-bootstrap
19856 maybe-all-stage3-libbacktrace: all-stage3-libbacktrace
19857 all-stage3: all-stage3-libbacktrace
19858 TARGET-stage3-libbacktrace = $(TARGET-libbacktrace)
19859 all-stage3-libbacktrace: configure-stage3-libbacktrace
19860 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19861 @r=`${PWD_COMMAND}`; export r; \
19862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19863 TFLAGS="$(STAGE3_TFLAGS)"; \
19864 $(HOST_EXPORTS) \
19865 $(POSTSTAGE1_HOST_EXPORTS) \
19866 cd $(HOST_SUBDIR)/libbacktrace && \
19867 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19868 CFLAGS="$(STAGE3_CFLAGS)" \
19869 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
19870 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19871 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19872 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19873 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19874 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19875 TFLAGS="$(STAGE3_TFLAGS)" \
19876 $(TARGET-stage3-libbacktrace)
19878 maybe-clean-stage3-libbacktrace: clean-stage3-libbacktrace
19879 clean-stage3: clean-stage3-libbacktrace
19880 clean-stage3-libbacktrace:
19881 @if [ $(current_stage) = stage3 ]; then \
19882 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19883 else \
19884 [ -f $(HOST_SUBDIR)/stage3-libbacktrace/Makefile ] || exit 0; \
19885 $(MAKE) stage3-start; \
19886 fi; \
19887 cd $(HOST_SUBDIR)/libbacktrace && \
19888 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19889 @endif libbacktrace-bootstrap
19892 .PHONY: all-stage4-libbacktrace maybe-all-stage4-libbacktrace
19893 .PHONY: clean-stage4-libbacktrace maybe-clean-stage4-libbacktrace
19894 maybe-all-stage4-libbacktrace:
19895 maybe-clean-stage4-libbacktrace:
19896 @if libbacktrace-bootstrap
19897 maybe-all-stage4-libbacktrace: all-stage4-libbacktrace
19898 all-stage4: all-stage4-libbacktrace
19899 TARGET-stage4-libbacktrace = $(TARGET-libbacktrace)
19900 all-stage4-libbacktrace: configure-stage4-libbacktrace
19901 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19902 @r=`${PWD_COMMAND}`; export r; \
19903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19904 TFLAGS="$(STAGE4_TFLAGS)"; \
19905 $(HOST_EXPORTS) \
19906 $(POSTSTAGE1_HOST_EXPORTS) \
19907 cd $(HOST_SUBDIR)/libbacktrace && \
19908 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19909 CFLAGS="$(STAGE4_CFLAGS)" \
19910 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19911 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19912 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19913 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19914 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19915 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19916 TFLAGS="$(STAGE4_TFLAGS)" \
19917 $(TARGET-stage4-libbacktrace)
19919 maybe-clean-stage4-libbacktrace: clean-stage4-libbacktrace
19920 clean-stage4: clean-stage4-libbacktrace
19921 clean-stage4-libbacktrace:
19922 @if [ $(current_stage) = stage4 ]; then \
19923 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19924 else \
19925 [ -f $(HOST_SUBDIR)/stage4-libbacktrace/Makefile ] || exit 0; \
19926 $(MAKE) stage4-start; \
19927 fi; \
19928 cd $(HOST_SUBDIR)/libbacktrace && \
19929 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19930 @endif libbacktrace-bootstrap
19933 .PHONY: all-stageprofile-libbacktrace maybe-all-stageprofile-libbacktrace
19934 .PHONY: clean-stageprofile-libbacktrace maybe-clean-stageprofile-libbacktrace
19935 maybe-all-stageprofile-libbacktrace:
19936 maybe-clean-stageprofile-libbacktrace:
19937 @if libbacktrace-bootstrap
19938 maybe-all-stageprofile-libbacktrace: all-stageprofile-libbacktrace
19939 all-stageprofile: all-stageprofile-libbacktrace
19940 TARGET-stageprofile-libbacktrace = $(TARGET-libbacktrace)
19941 all-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
19942 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19943 @r=`${PWD_COMMAND}`; export r; \
19944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19945 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19946 $(HOST_EXPORTS) \
19947 $(POSTSTAGE1_HOST_EXPORTS) \
19948 cd $(HOST_SUBDIR)/libbacktrace && \
19949 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19950 CFLAGS="$(STAGEprofile_CFLAGS)" \
19951 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
19952 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
19953 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19954 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19955 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19956 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19957 TFLAGS="$(STAGEprofile_TFLAGS)" \
19958 $(TARGET-stageprofile-libbacktrace)
19960 maybe-clean-stageprofile-libbacktrace: clean-stageprofile-libbacktrace
19961 clean-stageprofile: clean-stageprofile-libbacktrace
19962 clean-stageprofile-libbacktrace:
19963 @if [ $(current_stage) = stageprofile ]; then \
19964 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19965 else \
19966 [ -f $(HOST_SUBDIR)/stageprofile-libbacktrace/Makefile ] || exit 0; \
19967 $(MAKE) stageprofile-start; \
19968 fi; \
19969 cd $(HOST_SUBDIR)/libbacktrace && \
19970 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19971 @endif libbacktrace-bootstrap
19974 .PHONY: all-stagefeedback-libbacktrace maybe-all-stagefeedback-libbacktrace
19975 .PHONY: clean-stagefeedback-libbacktrace maybe-clean-stagefeedback-libbacktrace
19976 maybe-all-stagefeedback-libbacktrace:
19977 maybe-clean-stagefeedback-libbacktrace:
19978 @if libbacktrace-bootstrap
19979 maybe-all-stagefeedback-libbacktrace: all-stagefeedback-libbacktrace
19980 all-stagefeedback: all-stagefeedback-libbacktrace
19981 TARGET-stagefeedback-libbacktrace = $(TARGET-libbacktrace)
19982 all-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
19983 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19984 @r=`${PWD_COMMAND}`; export r; \
19985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19986 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19987 $(HOST_EXPORTS) \
19988 $(POSTSTAGE1_HOST_EXPORTS) \
19989 cd $(HOST_SUBDIR)/libbacktrace && \
19990 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19991 CFLAGS="$(STAGEfeedback_CFLAGS)" \
19992 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
19993 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
19994 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19995 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19996 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19997 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19998 TFLAGS="$(STAGEfeedback_TFLAGS)" \
19999 $(TARGET-stagefeedback-libbacktrace)
20001 maybe-clean-stagefeedback-libbacktrace: clean-stagefeedback-libbacktrace
20002 clean-stagefeedback: clean-stagefeedback-libbacktrace
20003 clean-stagefeedback-libbacktrace:
20004 @if [ $(current_stage) = stagefeedback ]; then \
20005 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
20006 else \
20007 [ -f $(HOST_SUBDIR)/stagefeedback-libbacktrace/Makefile ] || exit 0; \
20008 $(MAKE) stagefeedback-start; \
20009 fi; \
20010 cd $(HOST_SUBDIR)/libbacktrace && \
20011 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20012 @endif libbacktrace-bootstrap
20018 .PHONY: check-libbacktrace maybe-check-libbacktrace
20019 maybe-check-libbacktrace:
20020 @if libbacktrace
20021 maybe-check-libbacktrace: check-libbacktrace
20023 check-libbacktrace:
20024 @: $(MAKE); $(unstage)
20025 @r=`${PWD_COMMAND}`; export r; \
20026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20027 $(HOST_EXPORTS) \
20028 (cd $(HOST_SUBDIR)/libbacktrace && \
20029 $(MAKE) $(FLAGS_TO_PASS) check)
20031 @endif libbacktrace
20033 .PHONY: install-libbacktrace maybe-install-libbacktrace
20034 maybe-install-libbacktrace:
20035 @if libbacktrace
20036 maybe-install-libbacktrace: install-libbacktrace
20038 install-libbacktrace: installdirs
20039 @: $(MAKE); $(unstage)
20040 @r=`${PWD_COMMAND}`; export r; \
20041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20042 $(HOST_EXPORTS) \
20043 (cd $(HOST_SUBDIR)/libbacktrace && \
20044 $(MAKE) $(FLAGS_TO_PASS) install)
20046 @endif libbacktrace
20048 .PHONY: install-strip-libbacktrace maybe-install-strip-libbacktrace
20049 maybe-install-strip-libbacktrace:
20050 @if libbacktrace
20051 maybe-install-strip-libbacktrace: install-strip-libbacktrace
20053 install-strip-libbacktrace: installdirs
20054 @: $(MAKE); $(unstage)
20055 @r=`${PWD_COMMAND}`; export r; \
20056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20057 $(HOST_EXPORTS) \
20058 (cd $(HOST_SUBDIR)/libbacktrace && \
20059 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20061 @endif libbacktrace
20063 # Other targets (info, dvi, pdf, etc.)
20065 .PHONY: maybe-info-libbacktrace info-libbacktrace
20066 maybe-info-libbacktrace:
20067 @if libbacktrace
20068 maybe-info-libbacktrace: info-libbacktrace
20070 info-libbacktrace: \
20071 configure-libbacktrace
20072 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20073 r=`${PWD_COMMAND}`; export r; \
20074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20075 $(HOST_EXPORTS) \
20076 for flag in $(EXTRA_HOST_FLAGS) ; do \
20077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20078 done; \
20079 echo "Doing info in libbacktrace" ; \
20080 (cd $(HOST_SUBDIR)/libbacktrace && \
20081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20083 "RANLIB=$${RANLIB}" \
20084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20085 info) \
20086 || exit 1
20088 @endif libbacktrace
20090 .PHONY: maybe-dvi-libbacktrace dvi-libbacktrace
20091 maybe-dvi-libbacktrace:
20092 @if libbacktrace
20093 maybe-dvi-libbacktrace: dvi-libbacktrace
20095 dvi-libbacktrace: \
20096 configure-libbacktrace
20097 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20098 r=`${PWD_COMMAND}`; export r; \
20099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20100 $(HOST_EXPORTS) \
20101 for flag in $(EXTRA_HOST_FLAGS) ; do \
20102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20103 done; \
20104 echo "Doing dvi in libbacktrace" ; \
20105 (cd $(HOST_SUBDIR)/libbacktrace && \
20106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20108 "RANLIB=$${RANLIB}" \
20109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20110 dvi) \
20111 || exit 1
20113 @endif libbacktrace
20115 .PHONY: maybe-pdf-libbacktrace pdf-libbacktrace
20116 maybe-pdf-libbacktrace:
20117 @if libbacktrace
20118 maybe-pdf-libbacktrace: pdf-libbacktrace
20120 pdf-libbacktrace: \
20121 configure-libbacktrace
20122 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20123 r=`${PWD_COMMAND}`; export r; \
20124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20125 $(HOST_EXPORTS) \
20126 for flag in $(EXTRA_HOST_FLAGS) ; do \
20127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20128 done; \
20129 echo "Doing pdf in libbacktrace" ; \
20130 (cd $(HOST_SUBDIR)/libbacktrace && \
20131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20133 "RANLIB=$${RANLIB}" \
20134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20135 pdf) \
20136 || exit 1
20138 @endif libbacktrace
20140 .PHONY: maybe-html-libbacktrace html-libbacktrace
20141 maybe-html-libbacktrace:
20142 @if libbacktrace
20143 maybe-html-libbacktrace: html-libbacktrace
20145 html-libbacktrace: \
20146 configure-libbacktrace
20147 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20148 r=`${PWD_COMMAND}`; export r; \
20149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20150 $(HOST_EXPORTS) \
20151 for flag in $(EXTRA_HOST_FLAGS) ; do \
20152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20153 done; \
20154 echo "Doing html in libbacktrace" ; \
20155 (cd $(HOST_SUBDIR)/libbacktrace && \
20156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20158 "RANLIB=$${RANLIB}" \
20159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20160 html) \
20161 || exit 1
20163 @endif libbacktrace
20165 .PHONY: maybe-TAGS-libbacktrace TAGS-libbacktrace
20166 maybe-TAGS-libbacktrace:
20167 @if libbacktrace
20168 maybe-TAGS-libbacktrace: TAGS-libbacktrace
20170 TAGS-libbacktrace: \
20171 configure-libbacktrace
20172 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20173 r=`${PWD_COMMAND}`; export r; \
20174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20175 $(HOST_EXPORTS) \
20176 for flag in $(EXTRA_HOST_FLAGS) ; do \
20177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20178 done; \
20179 echo "Doing TAGS in libbacktrace" ; \
20180 (cd $(HOST_SUBDIR)/libbacktrace && \
20181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20183 "RANLIB=$${RANLIB}" \
20184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20185 TAGS) \
20186 || exit 1
20188 @endif libbacktrace
20190 .PHONY: maybe-install-info-libbacktrace install-info-libbacktrace
20191 maybe-install-info-libbacktrace:
20192 @if libbacktrace
20193 maybe-install-info-libbacktrace: install-info-libbacktrace
20195 install-info-libbacktrace: \
20196 configure-libbacktrace \
20197 info-libbacktrace
20198 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20199 r=`${PWD_COMMAND}`; export r; \
20200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20201 $(HOST_EXPORTS) \
20202 for flag in $(EXTRA_HOST_FLAGS) ; do \
20203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20204 done; \
20205 echo "Doing install-info in libbacktrace" ; \
20206 (cd $(HOST_SUBDIR)/libbacktrace && \
20207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20209 "RANLIB=$${RANLIB}" \
20210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20211 install-info) \
20212 || exit 1
20214 @endif libbacktrace
20216 .PHONY: maybe-install-pdf-libbacktrace install-pdf-libbacktrace
20217 maybe-install-pdf-libbacktrace:
20218 @if libbacktrace
20219 maybe-install-pdf-libbacktrace: install-pdf-libbacktrace
20221 install-pdf-libbacktrace: \
20222 configure-libbacktrace \
20223 pdf-libbacktrace
20224 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20225 r=`${PWD_COMMAND}`; export r; \
20226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20227 $(HOST_EXPORTS) \
20228 for flag in $(EXTRA_HOST_FLAGS) ; do \
20229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20230 done; \
20231 echo "Doing install-pdf in libbacktrace" ; \
20232 (cd $(HOST_SUBDIR)/libbacktrace && \
20233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20235 "RANLIB=$${RANLIB}" \
20236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20237 install-pdf) \
20238 || exit 1
20240 @endif libbacktrace
20242 .PHONY: maybe-install-html-libbacktrace install-html-libbacktrace
20243 maybe-install-html-libbacktrace:
20244 @if libbacktrace
20245 maybe-install-html-libbacktrace: install-html-libbacktrace
20247 install-html-libbacktrace: \
20248 configure-libbacktrace \
20249 html-libbacktrace
20250 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20251 r=`${PWD_COMMAND}`; export r; \
20252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20253 $(HOST_EXPORTS) \
20254 for flag in $(EXTRA_HOST_FLAGS) ; do \
20255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20256 done; \
20257 echo "Doing install-html in libbacktrace" ; \
20258 (cd $(HOST_SUBDIR)/libbacktrace && \
20259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20261 "RANLIB=$${RANLIB}" \
20262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20263 install-html) \
20264 || exit 1
20266 @endif libbacktrace
20268 .PHONY: maybe-installcheck-libbacktrace installcheck-libbacktrace
20269 maybe-installcheck-libbacktrace:
20270 @if libbacktrace
20271 maybe-installcheck-libbacktrace: installcheck-libbacktrace
20273 installcheck-libbacktrace: \
20274 configure-libbacktrace
20275 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20276 r=`${PWD_COMMAND}`; export r; \
20277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20278 $(HOST_EXPORTS) \
20279 for flag in $(EXTRA_HOST_FLAGS) ; do \
20280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20281 done; \
20282 echo "Doing installcheck in libbacktrace" ; \
20283 (cd $(HOST_SUBDIR)/libbacktrace && \
20284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20286 "RANLIB=$${RANLIB}" \
20287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20288 installcheck) \
20289 || exit 1
20291 @endif libbacktrace
20293 .PHONY: maybe-mostlyclean-libbacktrace mostlyclean-libbacktrace
20294 maybe-mostlyclean-libbacktrace:
20295 @if libbacktrace
20296 maybe-mostlyclean-libbacktrace: mostlyclean-libbacktrace
20298 mostlyclean-libbacktrace:
20299 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20300 r=`${PWD_COMMAND}`; export r; \
20301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20302 $(HOST_EXPORTS) \
20303 for flag in $(EXTRA_HOST_FLAGS) ; do \
20304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20305 done; \
20306 echo "Doing mostlyclean in libbacktrace" ; \
20307 (cd $(HOST_SUBDIR)/libbacktrace && \
20308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20310 "RANLIB=$${RANLIB}" \
20311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20312 mostlyclean) \
20313 || exit 1
20315 @endif libbacktrace
20317 .PHONY: maybe-clean-libbacktrace clean-libbacktrace
20318 maybe-clean-libbacktrace:
20319 @if libbacktrace
20320 maybe-clean-libbacktrace: clean-libbacktrace
20322 clean-libbacktrace:
20323 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20324 r=`${PWD_COMMAND}`; export r; \
20325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20326 $(HOST_EXPORTS) \
20327 for flag in $(EXTRA_HOST_FLAGS) ; do \
20328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20329 done; \
20330 echo "Doing clean in libbacktrace" ; \
20331 (cd $(HOST_SUBDIR)/libbacktrace && \
20332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20334 "RANLIB=$${RANLIB}" \
20335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20336 clean) \
20337 || exit 1
20339 @endif libbacktrace
20341 .PHONY: maybe-distclean-libbacktrace distclean-libbacktrace
20342 maybe-distclean-libbacktrace:
20343 @if libbacktrace
20344 maybe-distclean-libbacktrace: distclean-libbacktrace
20346 distclean-libbacktrace:
20347 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20348 r=`${PWD_COMMAND}`; export r; \
20349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20350 $(HOST_EXPORTS) \
20351 for flag in $(EXTRA_HOST_FLAGS) ; do \
20352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20353 done; \
20354 echo "Doing distclean in libbacktrace" ; \
20355 (cd $(HOST_SUBDIR)/libbacktrace && \
20356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20358 "RANLIB=$${RANLIB}" \
20359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20360 distclean) \
20361 || exit 1
20363 @endif libbacktrace
20365 .PHONY: maybe-maintainer-clean-libbacktrace maintainer-clean-libbacktrace
20366 maybe-maintainer-clean-libbacktrace:
20367 @if libbacktrace
20368 maybe-maintainer-clean-libbacktrace: maintainer-clean-libbacktrace
20370 maintainer-clean-libbacktrace:
20371 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20372 r=`${PWD_COMMAND}`; export r; \
20373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20374 $(HOST_EXPORTS) \
20375 for flag in $(EXTRA_HOST_FLAGS) ; do \
20376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20377 done; \
20378 echo "Doing maintainer-clean in libbacktrace" ; \
20379 (cd $(HOST_SUBDIR)/libbacktrace && \
20380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20382 "RANLIB=$${RANLIB}" \
20383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20384 maintainer-clean) \
20385 || exit 1
20387 @endif libbacktrace
20391 .PHONY: configure-libcpp maybe-configure-libcpp
20392 maybe-configure-libcpp:
20393 @if gcc-bootstrap
20394 configure-libcpp: stage_current
20395 @endif gcc-bootstrap
20396 @if libcpp
20397 maybe-configure-libcpp: configure-libcpp
20398 configure-libcpp:
20399 @r=`${PWD_COMMAND}`; export r; \
20400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20401 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20402 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20403 $(HOST_EXPORTS) \
20404 echo Configuring in $(HOST_SUBDIR)/libcpp; \
20405 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
20406 case $(srcdir) in \
20407 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20408 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20409 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20410 esac; \
20411 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20412 libsrcdir="$$s/libcpp"; \
20413 $(SHELL) $${libsrcdir}/configure \
20414 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20415 --target=${target_alias} $${srcdiroption} \
20416 || exit 1
20417 @endif libcpp
20421 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
20422 maybe-configure-stage1-libcpp:
20423 @if libcpp-bootstrap
20424 maybe-configure-stage1-libcpp: configure-stage1-libcpp
20425 configure-stage1-libcpp:
20426 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20427 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20428 @r=`${PWD_COMMAND}`; export r; \
20429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20430 TFLAGS="$(STAGE1_TFLAGS)"; \
20431 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20432 $(HOST_EXPORTS) \
20433 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
20434 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
20435 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
20436 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
20437 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20438 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20439 case $(srcdir) in \
20440 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20441 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20442 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20443 esac; \
20444 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20445 libsrcdir="$$s/libcpp"; \
20446 $(SHELL) $${libsrcdir}/configure \
20447 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20448 --target=${target_alias} $${srcdiroption} \
20449 $(STAGE1_CONFIGURE_FLAGS)
20450 @endif libcpp-bootstrap
20452 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
20453 maybe-configure-stage2-libcpp:
20454 @if libcpp-bootstrap
20455 maybe-configure-stage2-libcpp: configure-stage2-libcpp
20456 configure-stage2-libcpp:
20457 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20458 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20459 @r=`${PWD_COMMAND}`; export r; \
20460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20461 TFLAGS="$(STAGE2_TFLAGS)"; \
20462 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20463 $(HOST_EXPORTS) \
20464 $(POSTSTAGE1_HOST_EXPORTS) \
20465 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
20466 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
20467 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
20468 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
20469 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20470 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20471 case $(srcdir) in \
20472 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20473 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20474 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20475 esac; \
20476 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20477 libsrcdir="$$s/libcpp"; \
20478 $(SHELL) $${libsrcdir}/configure \
20479 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20480 --target=${target_alias} $${srcdiroption} \
20481 --with-build-libsubdir=$(HOST_SUBDIR) \
20482 $(STAGE2_CONFIGURE_FLAGS)
20483 @endif libcpp-bootstrap
20485 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
20486 maybe-configure-stage3-libcpp:
20487 @if libcpp-bootstrap
20488 maybe-configure-stage3-libcpp: configure-stage3-libcpp
20489 configure-stage3-libcpp:
20490 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20491 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20492 @r=`${PWD_COMMAND}`; export r; \
20493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20494 TFLAGS="$(STAGE3_TFLAGS)"; \
20495 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20496 $(HOST_EXPORTS) \
20497 $(POSTSTAGE1_HOST_EXPORTS) \
20498 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
20499 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
20500 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
20501 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
20502 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20503 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20504 case $(srcdir) in \
20505 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20506 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20507 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20508 esac; \
20509 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20510 libsrcdir="$$s/libcpp"; \
20511 $(SHELL) $${libsrcdir}/configure \
20512 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20513 --target=${target_alias} $${srcdiroption} \
20514 --with-build-libsubdir=$(HOST_SUBDIR) \
20515 $(STAGE3_CONFIGURE_FLAGS)
20516 @endif libcpp-bootstrap
20518 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
20519 maybe-configure-stage4-libcpp:
20520 @if libcpp-bootstrap
20521 maybe-configure-stage4-libcpp: configure-stage4-libcpp
20522 configure-stage4-libcpp:
20523 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20524 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20525 @r=`${PWD_COMMAND}`; export r; \
20526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20527 TFLAGS="$(STAGE4_TFLAGS)"; \
20528 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20529 $(HOST_EXPORTS) \
20530 $(POSTSTAGE1_HOST_EXPORTS) \
20531 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
20532 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
20533 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
20534 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
20535 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20536 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20537 case $(srcdir) in \
20538 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20539 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20540 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20541 esac; \
20542 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20543 libsrcdir="$$s/libcpp"; \
20544 $(SHELL) $${libsrcdir}/configure \
20545 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20546 --target=${target_alias} $${srcdiroption} \
20547 --with-build-libsubdir=$(HOST_SUBDIR) \
20548 $(STAGE4_CONFIGURE_FLAGS)
20549 @endif libcpp-bootstrap
20551 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
20552 maybe-configure-stageprofile-libcpp:
20553 @if libcpp-bootstrap
20554 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
20555 configure-stageprofile-libcpp:
20556 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20557 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20558 @r=`${PWD_COMMAND}`; export r; \
20559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20560 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20561 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20562 $(HOST_EXPORTS) \
20563 $(POSTSTAGE1_HOST_EXPORTS) \
20564 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
20565 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
20566 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
20567 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
20568 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20569 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20570 case $(srcdir) in \
20571 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20572 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20573 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20574 esac; \
20575 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20576 libsrcdir="$$s/libcpp"; \
20577 $(SHELL) $${libsrcdir}/configure \
20578 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20579 --target=${target_alias} $${srcdiroption} \
20580 --with-build-libsubdir=$(HOST_SUBDIR) \
20581 $(STAGEprofile_CONFIGURE_FLAGS)
20582 @endif libcpp-bootstrap
20584 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
20585 maybe-configure-stagefeedback-libcpp:
20586 @if libcpp-bootstrap
20587 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
20588 configure-stagefeedback-libcpp:
20589 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20590 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20591 @r=`${PWD_COMMAND}`; export r; \
20592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20593 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20594 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20595 $(HOST_EXPORTS) \
20596 $(POSTSTAGE1_HOST_EXPORTS) \
20597 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
20598 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
20599 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
20600 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
20601 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20602 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20603 case $(srcdir) in \
20604 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20605 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20606 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20607 esac; \
20608 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20609 libsrcdir="$$s/libcpp"; \
20610 $(SHELL) $${libsrcdir}/configure \
20611 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20612 --target=${target_alias} $${srcdiroption} \
20613 --with-build-libsubdir=$(HOST_SUBDIR) \
20614 $(STAGEfeedback_CONFIGURE_FLAGS)
20615 @endif libcpp-bootstrap
20621 .PHONY: all-libcpp maybe-all-libcpp
20622 maybe-all-libcpp:
20623 @if gcc-bootstrap
20624 all-libcpp: stage_current
20625 @endif gcc-bootstrap
20626 @if libcpp
20627 TARGET-libcpp=all
20628 maybe-all-libcpp: all-libcpp
20629 all-libcpp: configure-libcpp
20630 @r=`${PWD_COMMAND}`; export r; \
20631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20632 $(HOST_EXPORTS) \
20633 (cd $(HOST_SUBDIR)/libcpp && \
20634 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
20635 $(TARGET-libcpp))
20636 @endif libcpp
20640 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
20641 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
20642 maybe-all-stage1-libcpp:
20643 maybe-clean-stage1-libcpp:
20644 @if libcpp-bootstrap
20645 maybe-all-stage1-libcpp: all-stage1-libcpp
20646 all-stage1: all-stage1-libcpp
20647 TARGET-stage1-libcpp = $(TARGET-libcpp)
20648 all-stage1-libcpp: configure-stage1-libcpp
20649 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20650 @r=`${PWD_COMMAND}`; export r; \
20651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20652 TFLAGS="$(STAGE1_TFLAGS)"; \
20653 $(HOST_EXPORTS) \
20654 cd $(HOST_SUBDIR)/libcpp && \
20655 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20656 CFLAGS="$(STAGE1_CFLAGS)" \
20657 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
20658 LIBCFLAGS="$(LIBCFLAGS)" \
20659 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20660 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20661 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20662 $(EXTRA_HOST_FLAGS) \
20663 $(STAGE1_FLAGS_TO_PASS) \
20664 TFLAGS="$(STAGE1_TFLAGS)" \
20665 $(TARGET-stage1-libcpp)
20667 maybe-clean-stage1-libcpp: clean-stage1-libcpp
20668 clean-stage1: clean-stage1-libcpp
20669 clean-stage1-libcpp:
20670 @if [ $(current_stage) = stage1 ]; then \
20671 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20672 else \
20673 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
20674 $(MAKE) stage1-start; \
20675 fi; \
20676 cd $(HOST_SUBDIR)/libcpp && \
20677 $(MAKE) $(EXTRA_HOST_FLAGS) \
20678 $(STAGE1_FLAGS_TO_PASS) clean
20679 @endif libcpp-bootstrap
20682 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
20683 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
20684 maybe-all-stage2-libcpp:
20685 maybe-clean-stage2-libcpp:
20686 @if libcpp-bootstrap
20687 maybe-all-stage2-libcpp: all-stage2-libcpp
20688 all-stage2: all-stage2-libcpp
20689 TARGET-stage2-libcpp = $(TARGET-libcpp)
20690 all-stage2-libcpp: configure-stage2-libcpp
20691 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20692 @r=`${PWD_COMMAND}`; export r; \
20693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20694 TFLAGS="$(STAGE2_TFLAGS)"; \
20695 $(HOST_EXPORTS) \
20696 $(POSTSTAGE1_HOST_EXPORTS) \
20697 cd $(HOST_SUBDIR)/libcpp && \
20698 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20699 CFLAGS="$(STAGE2_CFLAGS)" \
20700 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
20701 LIBCFLAGS="$(STAGE2_CFLAGS)" \
20702 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20703 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20704 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20705 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20706 TFLAGS="$(STAGE2_TFLAGS)" \
20707 $(TARGET-stage2-libcpp)
20709 maybe-clean-stage2-libcpp: clean-stage2-libcpp
20710 clean-stage2: clean-stage2-libcpp
20711 clean-stage2-libcpp:
20712 @if [ $(current_stage) = stage2 ]; then \
20713 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20714 else \
20715 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
20716 $(MAKE) stage2-start; \
20717 fi; \
20718 cd $(HOST_SUBDIR)/libcpp && \
20719 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20720 @endif libcpp-bootstrap
20723 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
20724 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
20725 maybe-all-stage3-libcpp:
20726 maybe-clean-stage3-libcpp:
20727 @if libcpp-bootstrap
20728 maybe-all-stage3-libcpp: all-stage3-libcpp
20729 all-stage3: all-stage3-libcpp
20730 TARGET-stage3-libcpp = $(TARGET-libcpp)
20731 all-stage3-libcpp: configure-stage3-libcpp
20732 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20733 @r=`${PWD_COMMAND}`; export r; \
20734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20735 TFLAGS="$(STAGE3_TFLAGS)"; \
20736 $(HOST_EXPORTS) \
20737 $(POSTSTAGE1_HOST_EXPORTS) \
20738 cd $(HOST_SUBDIR)/libcpp && \
20739 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20740 CFLAGS="$(STAGE3_CFLAGS)" \
20741 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
20742 LIBCFLAGS="$(STAGE3_CFLAGS)" \
20743 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20744 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20745 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20746 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20747 TFLAGS="$(STAGE3_TFLAGS)" \
20748 $(TARGET-stage3-libcpp)
20750 maybe-clean-stage3-libcpp: clean-stage3-libcpp
20751 clean-stage3: clean-stage3-libcpp
20752 clean-stage3-libcpp:
20753 @if [ $(current_stage) = stage3 ]; then \
20754 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20755 else \
20756 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
20757 $(MAKE) stage3-start; \
20758 fi; \
20759 cd $(HOST_SUBDIR)/libcpp && \
20760 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20761 @endif libcpp-bootstrap
20764 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
20765 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
20766 maybe-all-stage4-libcpp:
20767 maybe-clean-stage4-libcpp:
20768 @if libcpp-bootstrap
20769 maybe-all-stage4-libcpp: all-stage4-libcpp
20770 all-stage4: all-stage4-libcpp
20771 TARGET-stage4-libcpp = $(TARGET-libcpp)
20772 all-stage4-libcpp: configure-stage4-libcpp
20773 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20774 @r=`${PWD_COMMAND}`; export r; \
20775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20776 TFLAGS="$(STAGE4_TFLAGS)"; \
20777 $(HOST_EXPORTS) \
20778 $(POSTSTAGE1_HOST_EXPORTS) \
20779 cd $(HOST_SUBDIR)/libcpp && \
20780 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20781 CFLAGS="$(STAGE4_CFLAGS)" \
20782 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
20783 LIBCFLAGS="$(STAGE4_CFLAGS)" \
20784 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20785 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20786 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20787 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20788 TFLAGS="$(STAGE4_TFLAGS)" \
20789 $(TARGET-stage4-libcpp)
20791 maybe-clean-stage4-libcpp: clean-stage4-libcpp
20792 clean-stage4: clean-stage4-libcpp
20793 clean-stage4-libcpp:
20794 @if [ $(current_stage) = stage4 ]; then \
20795 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20796 else \
20797 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
20798 $(MAKE) stage4-start; \
20799 fi; \
20800 cd $(HOST_SUBDIR)/libcpp && \
20801 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20802 @endif libcpp-bootstrap
20805 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
20806 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
20807 maybe-all-stageprofile-libcpp:
20808 maybe-clean-stageprofile-libcpp:
20809 @if libcpp-bootstrap
20810 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
20811 all-stageprofile: all-stageprofile-libcpp
20812 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
20813 all-stageprofile-libcpp: configure-stageprofile-libcpp
20814 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20815 @r=`${PWD_COMMAND}`; export r; \
20816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20817 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20818 $(HOST_EXPORTS) \
20819 $(POSTSTAGE1_HOST_EXPORTS) \
20820 cd $(HOST_SUBDIR)/libcpp && \
20821 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20822 CFLAGS="$(STAGEprofile_CFLAGS)" \
20823 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
20824 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
20825 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20826 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20827 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20828 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20829 TFLAGS="$(STAGEprofile_TFLAGS)" \
20830 $(TARGET-stageprofile-libcpp)
20832 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
20833 clean-stageprofile: clean-stageprofile-libcpp
20834 clean-stageprofile-libcpp:
20835 @if [ $(current_stage) = stageprofile ]; then \
20836 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20837 else \
20838 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
20839 $(MAKE) stageprofile-start; \
20840 fi; \
20841 cd $(HOST_SUBDIR)/libcpp && \
20842 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20843 @endif libcpp-bootstrap
20846 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
20847 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
20848 maybe-all-stagefeedback-libcpp:
20849 maybe-clean-stagefeedback-libcpp:
20850 @if libcpp-bootstrap
20851 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
20852 all-stagefeedback: all-stagefeedback-libcpp
20853 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
20854 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
20855 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20856 @r=`${PWD_COMMAND}`; export r; \
20857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20858 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20859 $(HOST_EXPORTS) \
20860 $(POSTSTAGE1_HOST_EXPORTS) \
20861 cd $(HOST_SUBDIR)/libcpp && \
20862 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20863 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20864 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
20865 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20866 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20867 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20868 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20869 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20870 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20871 $(TARGET-stagefeedback-libcpp)
20873 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
20874 clean-stagefeedback: clean-stagefeedback-libcpp
20875 clean-stagefeedback-libcpp:
20876 @if [ $(current_stage) = stagefeedback ]; then \
20877 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20878 else \
20879 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
20880 $(MAKE) stagefeedback-start; \
20881 fi; \
20882 cd $(HOST_SUBDIR)/libcpp && \
20883 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20884 @endif libcpp-bootstrap
20890 .PHONY: check-libcpp maybe-check-libcpp
20891 maybe-check-libcpp:
20892 @if libcpp
20893 maybe-check-libcpp: check-libcpp
20895 check-libcpp:
20896 @: $(MAKE); $(unstage)
20897 @r=`${PWD_COMMAND}`; export r; \
20898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20899 $(HOST_EXPORTS) \
20900 (cd $(HOST_SUBDIR)/libcpp && \
20901 $(MAKE) $(FLAGS_TO_PASS) check)
20903 @endif libcpp
20905 .PHONY: install-libcpp maybe-install-libcpp
20906 maybe-install-libcpp:
20907 @if libcpp
20908 maybe-install-libcpp: install-libcpp
20910 install-libcpp: installdirs
20911 @: $(MAKE); $(unstage)
20912 @r=`${PWD_COMMAND}`; export r; \
20913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20914 $(HOST_EXPORTS) \
20915 (cd $(HOST_SUBDIR)/libcpp && \
20916 $(MAKE) $(FLAGS_TO_PASS) install)
20918 @endif libcpp
20920 .PHONY: install-strip-libcpp maybe-install-strip-libcpp
20921 maybe-install-strip-libcpp:
20922 @if libcpp
20923 maybe-install-strip-libcpp: install-strip-libcpp
20925 install-strip-libcpp: installdirs
20926 @: $(MAKE); $(unstage)
20927 @r=`${PWD_COMMAND}`; export r; \
20928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20929 $(HOST_EXPORTS) \
20930 (cd $(HOST_SUBDIR)/libcpp && \
20931 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20933 @endif libcpp
20935 # Other targets (info, dvi, pdf, etc.)
20937 .PHONY: maybe-info-libcpp info-libcpp
20938 maybe-info-libcpp:
20939 @if libcpp
20940 maybe-info-libcpp: info-libcpp
20942 info-libcpp: \
20943 configure-libcpp
20944 @[ -f ./libcpp/Makefile ] || exit 0; \
20945 r=`${PWD_COMMAND}`; export r; \
20946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20947 $(HOST_EXPORTS) \
20948 for flag in $(EXTRA_HOST_FLAGS) ; do \
20949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20950 done; \
20951 echo "Doing info in libcpp" ; \
20952 (cd $(HOST_SUBDIR)/libcpp && \
20953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20955 "RANLIB=$${RANLIB}" \
20956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20957 info) \
20958 || exit 1
20960 @endif libcpp
20962 .PHONY: maybe-dvi-libcpp dvi-libcpp
20963 maybe-dvi-libcpp:
20964 @if libcpp
20965 maybe-dvi-libcpp: dvi-libcpp
20967 dvi-libcpp: \
20968 configure-libcpp
20969 @[ -f ./libcpp/Makefile ] || exit 0; \
20970 r=`${PWD_COMMAND}`; export r; \
20971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20972 $(HOST_EXPORTS) \
20973 for flag in $(EXTRA_HOST_FLAGS) ; do \
20974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20975 done; \
20976 echo "Doing dvi in libcpp" ; \
20977 (cd $(HOST_SUBDIR)/libcpp && \
20978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20980 "RANLIB=$${RANLIB}" \
20981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20982 dvi) \
20983 || exit 1
20985 @endif libcpp
20987 .PHONY: maybe-pdf-libcpp pdf-libcpp
20988 maybe-pdf-libcpp:
20989 @if libcpp
20990 maybe-pdf-libcpp: pdf-libcpp
20992 pdf-libcpp: \
20993 configure-libcpp
20994 @[ -f ./libcpp/Makefile ] || exit 0; \
20995 r=`${PWD_COMMAND}`; export r; \
20996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20997 $(HOST_EXPORTS) \
20998 for flag in $(EXTRA_HOST_FLAGS) ; do \
20999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21000 done; \
21001 echo "Doing pdf in libcpp" ; \
21002 (cd $(HOST_SUBDIR)/libcpp && \
21003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21005 "RANLIB=$${RANLIB}" \
21006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21007 pdf) \
21008 || exit 1
21010 @endif libcpp
21012 .PHONY: maybe-html-libcpp html-libcpp
21013 maybe-html-libcpp:
21014 @if libcpp
21015 maybe-html-libcpp: html-libcpp
21017 html-libcpp: \
21018 configure-libcpp
21019 @[ -f ./libcpp/Makefile ] || exit 0; \
21020 r=`${PWD_COMMAND}`; export r; \
21021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21022 $(HOST_EXPORTS) \
21023 for flag in $(EXTRA_HOST_FLAGS) ; do \
21024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21025 done; \
21026 echo "Doing html in libcpp" ; \
21027 (cd $(HOST_SUBDIR)/libcpp && \
21028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21030 "RANLIB=$${RANLIB}" \
21031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21032 html) \
21033 || exit 1
21035 @endif libcpp
21037 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
21038 maybe-TAGS-libcpp:
21039 @if libcpp
21040 maybe-TAGS-libcpp: TAGS-libcpp
21042 TAGS-libcpp: \
21043 configure-libcpp
21044 @[ -f ./libcpp/Makefile ] || exit 0; \
21045 r=`${PWD_COMMAND}`; export r; \
21046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21047 $(HOST_EXPORTS) \
21048 for flag in $(EXTRA_HOST_FLAGS) ; do \
21049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21050 done; \
21051 echo "Doing TAGS in libcpp" ; \
21052 (cd $(HOST_SUBDIR)/libcpp && \
21053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21055 "RANLIB=$${RANLIB}" \
21056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21057 TAGS) \
21058 || exit 1
21060 @endif libcpp
21062 .PHONY: maybe-install-info-libcpp install-info-libcpp
21063 maybe-install-info-libcpp:
21064 @if libcpp
21065 maybe-install-info-libcpp: install-info-libcpp
21067 install-info-libcpp: \
21068 configure-libcpp \
21069 info-libcpp
21070 @[ -f ./libcpp/Makefile ] || exit 0; \
21071 r=`${PWD_COMMAND}`; export r; \
21072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21073 $(HOST_EXPORTS) \
21074 for flag in $(EXTRA_HOST_FLAGS) ; do \
21075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21076 done; \
21077 echo "Doing install-info in libcpp" ; \
21078 (cd $(HOST_SUBDIR)/libcpp && \
21079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21081 "RANLIB=$${RANLIB}" \
21082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21083 install-info) \
21084 || exit 1
21086 @endif libcpp
21088 .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
21089 maybe-install-pdf-libcpp:
21090 @if libcpp
21091 maybe-install-pdf-libcpp: install-pdf-libcpp
21093 install-pdf-libcpp: \
21094 configure-libcpp \
21095 pdf-libcpp
21096 @[ -f ./libcpp/Makefile ] || exit 0; \
21097 r=`${PWD_COMMAND}`; export r; \
21098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21099 $(HOST_EXPORTS) \
21100 for flag in $(EXTRA_HOST_FLAGS) ; do \
21101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21102 done; \
21103 echo "Doing install-pdf in libcpp" ; \
21104 (cd $(HOST_SUBDIR)/libcpp && \
21105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21107 "RANLIB=$${RANLIB}" \
21108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21109 install-pdf) \
21110 || exit 1
21112 @endif libcpp
21114 .PHONY: maybe-install-html-libcpp install-html-libcpp
21115 maybe-install-html-libcpp:
21116 @if libcpp
21117 maybe-install-html-libcpp: install-html-libcpp
21119 install-html-libcpp: \
21120 configure-libcpp \
21121 html-libcpp
21122 @[ -f ./libcpp/Makefile ] || exit 0; \
21123 r=`${PWD_COMMAND}`; export r; \
21124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21125 $(HOST_EXPORTS) \
21126 for flag in $(EXTRA_HOST_FLAGS) ; do \
21127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21128 done; \
21129 echo "Doing install-html in libcpp" ; \
21130 (cd $(HOST_SUBDIR)/libcpp && \
21131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21133 "RANLIB=$${RANLIB}" \
21134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21135 install-html) \
21136 || exit 1
21138 @endif libcpp
21140 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
21141 maybe-installcheck-libcpp:
21142 @if libcpp
21143 maybe-installcheck-libcpp: installcheck-libcpp
21145 installcheck-libcpp: \
21146 configure-libcpp
21147 @[ -f ./libcpp/Makefile ] || exit 0; \
21148 r=`${PWD_COMMAND}`; export r; \
21149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21150 $(HOST_EXPORTS) \
21151 for flag in $(EXTRA_HOST_FLAGS) ; do \
21152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21153 done; \
21154 echo "Doing installcheck in libcpp" ; \
21155 (cd $(HOST_SUBDIR)/libcpp && \
21156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21158 "RANLIB=$${RANLIB}" \
21159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21160 installcheck) \
21161 || exit 1
21163 @endif libcpp
21165 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
21166 maybe-mostlyclean-libcpp:
21167 @if libcpp
21168 maybe-mostlyclean-libcpp: mostlyclean-libcpp
21170 mostlyclean-libcpp:
21171 @[ -f ./libcpp/Makefile ] || exit 0; \
21172 r=`${PWD_COMMAND}`; export r; \
21173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21174 $(HOST_EXPORTS) \
21175 for flag in $(EXTRA_HOST_FLAGS) ; do \
21176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21177 done; \
21178 echo "Doing mostlyclean in libcpp" ; \
21179 (cd $(HOST_SUBDIR)/libcpp && \
21180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21182 "RANLIB=$${RANLIB}" \
21183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21184 mostlyclean) \
21185 || exit 1
21187 @endif libcpp
21189 .PHONY: maybe-clean-libcpp clean-libcpp
21190 maybe-clean-libcpp:
21191 @if libcpp
21192 maybe-clean-libcpp: clean-libcpp
21194 clean-libcpp:
21195 @[ -f ./libcpp/Makefile ] || exit 0; \
21196 r=`${PWD_COMMAND}`; export r; \
21197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21198 $(HOST_EXPORTS) \
21199 for flag in $(EXTRA_HOST_FLAGS) ; do \
21200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21201 done; \
21202 echo "Doing clean in libcpp" ; \
21203 (cd $(HOST_SUBDIR)/libcpp && \
21204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21206 "RANLIB=$${RANLIB}" \
21207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21208 clean) \
21209 || exit 1
21211 @endif libcpp
21213 .PHONY: maybe-distclean-libcpp distclean-libcpp
21214 maybe-distclean-libcpp:
21215 @if libcpp
21216 maybe-distclean-libcpp: distclean-libcpp
21218 distclean-libcpp:
21219 @[ -f ./libcpp/Makefile ] || exit 0; \
21220 r=`${PWD_COMMAND}`; export r; \
21221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21222 $(HOST_EXPORTS) \
21223 for flag in $(EXTRA_HOST_FLAGS) ; do \
21224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21225 done; \
21226 echo "Doing distclean in libcpp" ; \
21227 (cd $(HOST_SUBDIR)/libcpp && \
21228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21230 "RANLIB=$${RANLIB}" \
21231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21232 distclean) \
21233 || exit 1
21235 @endif libcpp
21237 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
21238 maybe-maintainer-clean-libcpp:
21239 @if libcpp
21240 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
21242 maintainer-clean-libcpp:
21243 @[ -f ./libcpp/Makefile ] || exit 0; \
21244 r=`${PWD_COMMAND}`; export r; \
21245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21246 $(HOST_EXPORTS) \
21247 for flag in $(EXTRA_HOST_FLAGS) ; do \
21248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21249 done; \
21250 echo "Doing maintainer-clean in libcpp" ; \
21251 (cd $(HOST_SUBDIR)/libcpp && \
21252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21254 "RANLIB=$${RANLIB}" \
21255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21256 maintainer-clean) \
21257 || exit 1
21259 @endif libcpp
21263 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
21264 maybe-configure-libdecnumber:
21265 @if gcc-bootstrap
21266 configure-libdecnumber: stage_current
21267 @endif gcc-bootstrap
21268 @if libdecnumber
21269 maybe-configure-libdecnumber: configure-libdecnumber
21270 configure-libdecnumber:
21271 @r=`${PWD_COMMAND}`; export r; \
21272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21273 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21274 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21275 $(HOST_EXPORTS) \
21276 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
21277 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
21278 case $(srcdir) in \
21279 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21280 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21281 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21282 esac; \
21283 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21284 libsrcdir="$$s/libdecnumber"; \
21285 $(SHELL) $${libsrcdir}/configure \
21286 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21287 --target=${target_alias} $${srcdiroption} \
21288 || exit 1
21289 @endif libdecnumber
21293 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
21294 maybe-configure-stage1-libdecnumber:
21295 @if libdecnumber-bootstrap
21296 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
21297 configure-stage1-libdecnumber:
21298 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21299 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21300 @r=`${PWD_COMMAND}`; export r; \
21301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21302 TFLAGS="$(STAGE1_TFLAGS)"; \
21303 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21304 $(HOST_EXPORTS) \
21305 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
21306 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
21307 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
21308 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
21309 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21310 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21311 case $(srcdir) in \
21312 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21313 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21314 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21315 esac; \
21316 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21317 libsrcdir="$$s/libdecnumber"; \
21318 $(SHELL) $${libsrcdir}/configure \
21319 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21320 --target=${target_alias} $${srcdiroption} \
21321 $(STAGE1_CONFIGURE_FLAGS)
21322 @endif libdecnumber-bootstrap
21324 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
21325 maybe-configure-stage2-libdecnumber:
21326 @if libdecnumber-bootstrap
21327 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
21328 configure-stage2-libdecnumber:
21329 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21330 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21331 @r=`${PWD_COMMAND}`; export r; \
21332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21333 TFLAGS="$(STAGE2_TFLAGS)"; \
21334 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21335 $(HOST_EXPORTS) \
21336 $(POSTSTAGE1_HOST_EXPORTS) \
21337 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
21338 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
21339 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
21340 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
21341 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21342 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21343 case $(srcdir) in \
21344 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21345 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21346 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21347 esac; \
21348 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21349 libsrcdir="$$s/libdecnumber"; \
21350 $(SHELL) $${libsrcdir}/configure \
21351 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21352 --target=${target_alias} $${srcdiroption} \
21353 --with-build-libsubdir=$(HOST_SUBDIR) \
21354 $(STAGE2_CONFIGURE_FLAGS)
21355 @endif libdecnumber-bootstrap
21357 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
21358 maybe-configure-stage3-libdecnumber:
21359 @if libdecnumber-bootstrap
21360 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
21361 configure-stage3-libdecnumber:
21362 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21363 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21364 @r=`${PWD_COMMAND}`; export r; \
21365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21366 TFLAGS="$(STAGE3_TFLAGS)"; \
21367 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21368 $(HOST_EXPORTS) \
21369 $(POSTSTAGE1_HOST_EXPORTS) \
21370 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
21371 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
21372 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
21373 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
21374 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21375 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21376 case $(srcdir) in \
21377 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21378 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21379 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21380 esac; \
21381 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21382 libsrcdir="$$s/libdecnumber"; \
21383 $(SHELL) $${libsrcdir}/configure \
21384 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21385 --target=${target_alias} $${srcdiroption} \
21386 --with-build-libsubdir=$(HOST_SUBDIR) \
21387 $(STAGE3_CONFIGURE_FLAGS)
21388 @endif libdecnumber-bootstrap
21390 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
21391 maybe-configure-stage4-libdecnumber:
21392 @if libdecnumber-bootstrap
21393 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
21394 configure-stage4-libdecnumber:
21395 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21396 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21397 @r=`${PWD_COMMAND}`; export r; \
21398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21399 TFLAGS="$(STAGE4_TFLAGS)"; \
21400 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21401 $(HOST_EXPORTS) \
21402 $(POSTSTAGE1_HOST_EXPORTS) \
21403 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
21404 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
21405 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
21406 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
21407 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21408 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21409 case $(srcdir) in \
21410 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21411 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21412 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21413 esac; \
21414 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21415 libsrcdir="$$s/libdecnumber"; \
21416 $(SHELL) $${libsrcdir}/configure \
21417 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21418 --target=${target_alias} $${srcdiroption} \
21419 --with-build-libsubdir=$(HOST_SUBDIR) \
21420 $(STAGE4_CONFIGURE_FLAGS)
21421 @endif libdecnumber-bootstrap
21423 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
21424 maybe-configure-stageprofile-libdecnumber:
21425 @if libdecnumber-bootstrap
21426 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
21427 configure-stageprofile-libdecnumber:
21428 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21429 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21430 @r=`${PWD_COMMAND}`; export r; \
21431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21432 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21433 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21434 $(HOST_EXPORTS) \
21435 $(POSTSTAGE1_HOST_EXPORTS) \
21436 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
21437 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
21438 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
21439 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
21440 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21441 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21442 case $(srcdir) in \
21443 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21444 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21445 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21446 esac; \
21447 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21448 libsrcdir="$$s/libdecnumber"; \
21449 $(SHELL) $${libsrcdir}/configure \
21450 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21451 --target=${target_alias} $${srcdiroption} \
21452 --with-build-libsubdir=$(HOST_SUBDIR) \
21453 $(STAGEprofile_CONFIGURE_FLAGS)
21454 @endif libdecnumber-bootstrap
21456 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
21457 maybe-configure-stagefeedback-libdecnumber:
21458 @if libdecnumber-bootstrap
21459 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
21460 configure-stagefeedback-libdecnumber:
21461 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21462 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21463 @r=`${PWD_COMMAND}`; export r; \
21464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21465 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21466 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21467 $(HOST_EXPORTS) \
21468 $(POSTSTAGE1_HOST_EXPORTS) \
21469 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
21470 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
21471 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
21472 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
21473 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21474 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21475 case $(srcdir) in \
21476 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21477 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21478 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21479 esac; \
21480 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21481 libsrcdir="$$s/libdecnumber"; \
21482 $(SHELL) $${libsrcdir}/configure \
21483 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21484 --target=${target_alias} $${srcdiroption} \
21485 --with-build-libsubdir=$(HOST_SUBDIR) \
21486 $(STAGEfeedback_CONFIGURE_FLAGS)
21487 @endif libdecnumber-bootstrap
21493 .PHONY: all-libdecnumber maybe-all-libdecnumber
21494 maybe-all-libdecnumber:
21495 @if gcc-bootstrap
21496 all-libdecnumber: stage_current
21497 @endif gcc-bootstrap
21498 @if libdecnumber
21499 TARGET-libdecnumber=all
21500 maybe-all-libdecnumber: all-libdecnumber
21501 all-libdecnumber: configure-libdecnumber
21502 @r=`${PWD_COMMAND}`; export r; \
21503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21504 $(HOST_EXPORTS) \
21505 (cd $(HOST_SUBDIR)/libdecnumber && \
21506 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
21507 $(TARGET-libdecnumber))
21508 @endif libdecnumber
21512 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
21513 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
21514 maybe-all-stage1-libdecnumber:
21515 maybe-clean-stage1-libdecnumber:
21516 @if libdecnumber-bootstrap
21517 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
21518 all-stage1: all-stage1-libdecnumber
21519 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
21520 all-stage1-libdecnumber: configure-stage1-libdecnumber
21521 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21522 @r=`${PWD_COMMAND}`; export r; \
21523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21524 TFLAGS="$(STAGE1_TFLAGS)"; \
21525 $(HOST_EXPORTS) \
21526 cd $(HOST_SUBDIR)/libdecnumber && \
21527 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21528 CFLAGS="$(STAGE1_CFLAGS)" \
21529 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
21530 LIBCFLAGS="$(LIBCFLAGS)" \
21531 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21532 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21533 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21534 $(EXTRA_HOST_FLAGS) \
21535 $(STAGE1_FLAGS_TO_PASS) \
21536 TFLAGS="$(STAGE1_TFLAGS)" \
21537 $(TARGET-stage1-libdecnumber)
21539 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
21540 clean-stage1: clean-stage1-libdecnumber
21541 clean-stage1-libdecnumber:
21542 @if [ $(current_stage) = stage1 ]; then \
21543 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21544 else \
21545 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
21546 $(MAKE) stage1-start; \
21547 fi; \
21548 cd $(HOST_SUBDIR)/libdecnumber && \
21549 $(MAKE) $(EXTRA_HOST_FLAGS) \
21550 $(STAGE1_FLAGS_TO_PASS) clean
21551 @endif libdecnumber-bootstrap
21554 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
21555 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
21556 maybe-all-stage2-libdecnumber:
21557 maybe-clean-stage2-libdecnumber:
21558 @if libdecnumber-bootstrap
21559 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
21560 all-stage2: all-stage2-libdecnumber
21561 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
21562 all-stage2-libdecnumber: configure-stage2-libdecnumber
21563 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21564 @r=`${PWD_COMMAND}`; export r; \
21565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21566 TFLAGS="$(STAGE2_TFLAGS)"; \
21567 $(HOST_EXPORTS) \
21568 $(POSTSTAGE1_HOST_EXPORTS) \
21569 cd $(HOST_SUBDIR)/libdecnumber && \
21570 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21571 CFLAGS="$(STAGE2_CFLAGS)" \
21572 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
21573 LIBCFLAGS="$(STAGE2_CFLAGS)" \
21574 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21575 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21576 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21577 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21578 TFLAGS="$(STAGE2_TFLAGS)" \
21579 $(TARGET-stage2-libdecnumber)
21581 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
21582 clean-stage2: clean-stage2-libdecnumber
21583 clean-stage2-libdecnumber:
21584 @if [ $(current_stage) = stage2 ]; then \
21585 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21586 else \
21587 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
21588 $(MAKE) stage2-start; \
21589 fi; \
21590 cd $(HOST_SUBDIR)/libdecnumber && \
21591 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21592 @endif libdecnumber-bootstrap
21595 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
21596 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
21597 maybe-all-stage3-libdecnumber:
21598 maybe-clean-stage3-libdecnumber:
21599 @if libdecnumber-bootstrap
21600 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
21601 all-stage3: all-stage3-libdecnumber
21602 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
21603 all-stage3-libdecnumber: configure-stage3-libdecnumber
21604 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21605 @r=`${PWD_COMMAND}`; export r; \
21606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21607 TFLAGS="$(STAGE3_TFLAGS)"; \
21608 $(HOST_EXPORTS) \
21609 $(POSTSTAGE1_HOST_EXPORTS) \
21610 cd $(HOST_SUBDIR)/libdecnumber && \
21611 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21612 CFLAGS="$(STAGE3_CFLAGS)" \
21613 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
21614 LIBCFLAGS="$(STAGE3_CFLAGS)" \
21615 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21616 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21617 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21618 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21619 TFLAGS="$(STAGE3_TFLAGS)" \
21620 $(TARGET-stage3-libdecnumber)
21622 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
21623 clean-stage3: clean-stage3-libdecnumber
21624 clean-stage3-libdecnumber:
21625 @if [ $(current_stage) = stage3 ]; then \
21626 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21627 else \
21628 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
21629 $(MAKE) stage3-start; \
21630 fi; \
21631 cd $(HOST_SUBDIR)/libdecnumber && \
21632 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21633 @endif libdecnumber-bootstrap
21636 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
21637 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
21638 maybe-all-stage4-libdecnumber:
21639 maybe-clean-stage4-libdecnumber:
21640 @if libdecnumber-bootstrap
21641 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
21642 all-stage4: all-stage4-libdecnumber
21643 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
21644 all-stage4-libdecnumber: configure-stage4-libdecnumber
21645 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21646 @r=`${PWD_COMMAND}`; export r; \
21647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21648 TFLAGS="$(STAGE4_TFLAGS)"; \
21649 $(HOST_EXPORTS) \
21650 $(POSTSTAGE1_HOST_EXPORTS) \
21651 cd $(HOST_SUBDIR)/libdecnumber && \
21652 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21653 CFLAGS="$(STAGE4_CFLAGS)" \
21654 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
21655 LIBCFLAGS="$(STAGE4_CFLAGS)" \
21656 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21657 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21658 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21659 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21660 TFLAGS="$(STAGE4_TFLAGS)" \
21661 $(TARGET-stage4-libdecnumber)
21663 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
21664 clean-stage4: clean-stage4-libdecnumber
21665 clean-stage4-libdecnumber:
21666 @if [ $(current_stage) = stage4 ]; then \
21667 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21668 else \
21669 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
21670 $(MAKE) stage4-start; \
21671 fi; \
21672 cd $(HOST_SUBDIR)/libdecnumber && \
21673 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21674 @endif libdecnumber-bootstrap
21677 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
21678 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
21679 maybe-all-stageprofile-libdecnumber:
21680 maybe-clean-stageprofile-libdecnumber:
21681 @if libdecnumber-bootstrap
21682 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
21683 all-stageprofile: all-stageprofile-libdecnumber
21684 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
21685 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
21686 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21687 @r=`${PWD_COMMAND}`; export r; \
21688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21689 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21690 $(HOST_EXPORTS) \
21691 $(POSTSTAGE1_HOST_EXPORTS) \
21692 cd $(HOST_SUBDIR)/libdecnumber && \
21693 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21694 CFLAGS="$(STAGEprofile_CFLAGS)" \
21695 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
21696 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
21697 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21698 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21699 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21700 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21701 TFLAGS="$(STAGEprofile_TFLAGS)" \
21702 $(TARGET-stageprofile-libdecnumber)
21704 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
21705 clean-stageprofile: clean-stageprofile-libdecnumber
21706 clean-stageprofile-libdecnumber:
21707 @if [ $(current_stage) = stageprofile ]; then \
21708 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21709 else \
21710 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
21711 $(MAKE) stageprofile-start; \
21712 fi; \
21713 cd $(HOST_SUBDIR)/libdecnumber && \
21714 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21715 @endif libdecnumber-bootstrap
21718 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
21719 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
21720 maybe-all-stagefeedback-libdecnumber:
21721 maybe-clean-stagefeedback-libdecnumber:
21722 @if libdecnumber-bootstrap
21723 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
21724 all-stagefeedback: all-stagefeedback-libdecnumber
21725 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
21726 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
21727 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21728 @r=`${PWD_COMMAND}`; export r; \
21729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21730 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21731 $(HOST_EXPORTS) \
21732 $(POSTSTAGE1_HOST_EXPORTS) \
21733 cd $(HOST_SUBDIR)/libdecnumber && \
21734 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21735 CFLAGS="$(STAGEfeedback_CFLAGS)" \
21736 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
21737 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
21738 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21739 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21740 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21741 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21742 TFLAGS="$(STAGEfeedback_TFLAGS)" \
21743 $(TARGET-stagefeedback-libdecnumber)
21745 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
21746 clean-stagefeedback: clean-stagefeedback-libdecnumber
21747 clean-stagefeedback-libdecnumber:
21748 @if [ $(current_stage) = stagefeedback ]; then \
21749 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21750 else \
21751 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
21752 $(MAKE) stagefeedback-start; \
21753 fi; \
21754 cd $(HOST_SUBDIR)/libdecnumber && \
21755 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21756 @endif libdecnumber-bootstrap
21762 .PHONY: check-libdecnumber maybe-check-libdecnumber
21763 maybe-check-libdecnumber:
21764 @if libdecnumber
21765 maybe-check-libdecnumber: check-libdecnumber
21767 check-libdecnumber:
21768 @: $(MAKE); $(unstage)
21769 @r=`${PWD_COMMAND}`; export r; \
21770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21771 $(HOST_EXPORTS) \
21772 (cd $(HOST_SUBDIR)/libdecnumber && \
21773 $(MAKE) $(FLAGS_TO_PASS) check)
21775 @endif libdecnumber
21777 .PHONY: install-libdecnumber maybe-install-libdecnumber
21778 maybe-install-libdecnumber:
21779 @if libdecnumber
21780 maybe-install-libdecnumber: install-libdecnumber
21782 install-libdecnumber: installdirs
21783 @: $(MAKE); $(unstage)
21784 @r=`${PWD_COMMAND}`; export r; \
21785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21786 $(HOST_EXPORTS) \
21787 (cd $(HOST_SUBDIR)/libdecnumber && \
21788 $(MAKE) $(FLAGS_TO_PASS) install)
21790 @endif libdecnumber
21792 .PHONY: install-strip-libdecnumber maybe-install-strip-libdecnumber
21793 maybe-install-strip-libdecnumber:
21794 @if libdecnumber
21795 maybe-install-strip-libdecnumber: install-strip-libdecnumber
21797 install-strip-libdecnumber: installdirs
21798 @: $(MAKE); $(unstage)
21799 @r=`${PWD_COMMAND}`; export r; \
21800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21801 $(HOST_EXPORTS) \
21802 (cd $(HOST_SUBDIR)/libdecnumber && \
21803 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21805 @endif libdecnumber
21807 # Other targets (info, dvi, pdf, etc.)
21809 .PHONY: maybe-info-libdecnumber info-libdecnumber
21810 maybe-info-libdecnumber:
21811 @if libdecnumber
21812 maybe-info-libdecnumber: info-libdecnumber
21814 info-libdecnumber: \
21815 configure-libdecnumber
21816 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21817 r=`${PWD_COMMAND}`; export r; \
21818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21819 $(HOST_EXPORTS) \
21820 for flag in $(EXTRA_HOST_FLAGS) ; do \
21821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21822 done; \
21823 echo "Doing info in libdecnumber" ; \
21824 (cd $(HOST_SUBDIR)/libdecnumber && \
21825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21827 "RANLIB=$${RANLIB}" \
21828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21829 info) \
21830 || exit 1
21832 @endif libdecnumber
21834 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
21835 maybe-dvi-libdecnumber:
21836 @if libdecnumber
21837 maybe-dvi-libdecnumber: dvi-libdecnumber
21839 dvi-libdecnumber: \
21840 configure-libdecnumber
21841 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21842 r=`${PWD_COMMAND}`; export r; \
21843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21844 $(HOST_EXPORTS) \
21845 for flag in $(EXTRA_HOST_FLAGS) ; do \
21846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21847 done; \
21848 echo "Doing dvi in libdecnumber" ; \
21849 (cd $(HOST_SUBDIR)/libdecnumber && \
21850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21852 "RANLIB=$${RANLIB}" \
21853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21854 dvi) \
21855 || exit 1
21857 @endif libdecnumber
21859 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
21860 maybe-pdf-libdecnumber:
21861 @if libdecnumber
21862 maybe-pdf-libdecnumber: pdf-libdecnumber
21864 pdf-libdecnumber: \
21865 configure-libdecnumber
21866 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21867 r=`${PWD_COMMAND}`; export r; \
21868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21869 $(HOST_EXPORTS) \
21870 for flag in $(EXTRA_HOST_FLAGS) ; do \
21871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21872 done; \
21873 echo "Doing pdf in libdecnumber" ; \
21874 (cd $(HOST_SUBDIR)/libdecnumber && \
21875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21877 "RANLIB=$${RANLIB}" \
21878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21879 pdf) \
21880 || exit 1
21882 @endif libdecnumber
21884 .PHONY: maybe-html-libdecnumber html-libdecnumber
21885 maybe-html-libdecnumber:
21886 @if libdecnumber
21887 maybe-html-libdecnumber: html-libdecnumber
21889 html-libdecnumber: \
21890 configure-libdecnumber
21891 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21892 r=`${PWD_COMMAND}`; export r; \
21893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21894 $(HOST_EXPORTS) \
21895 for flag in $(EXTRA_HOST_FLAGS) ; do \
21896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21897 done; \
21898 echo "Doing html in libdecnumber" ; \
21899 (cd $(HOST_SUBDIR)/libdecnumber && \
21900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21902 "RANLIB=$${RANLIB}" \
21903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21904 html) \
21905 || exit 1
21907 @endif libdecnumber
21909 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
21910 maybe-TAGS-libdecnumber:
21911 @if libdecnumber
21912 maybe-TAGS-libdecnumber: TAGS-libdecnumber
21914 TAGS-libdecnumber: \
21915 configure-libdecnumber
21916 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21917 r=`${PWD_COMMAND}`; export r; \
21918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21919 $(HOST_EXPORTS) \
21920 for flag in $(EXTRA_HOST_FLAGS) ; do \
21921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21922 done; \
21923 echo "Doing TAGS in libdecnumber" ; \
21924 (cd $(HOST_SUBDIR)/libdecnumber && \
21925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21927 "RANLIB=$${RANLIB}" \
21928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21929 TAGS) \
21930 || exit 1
21932 @endif libdecnumber
21934 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
21935 maybe-install-info-libdecnumber:
21936 @if libdecnumber
21937 maybe-install-info-libdecnumber: install-info-libdecnumber
21939 install-info-libdecnumber: \
21940 configure-libdecnumber \
21941 info-libdecnumber
21942 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21943 r=`${PWD_COMMAND}`; export r; \
21944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21945 $(HOST_EXPORTS) \
21946 for flag in $(EXTRA_HOST_FLAGS) ; do \
21947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21948 done; \
21949 echo "Doing install-info in libdecnumber" ; \
21950 (cd $(HOST_SUBDIR)/libdecnumber && \
21951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21953 "RANLIB=$${RANLIB}" \
21954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21955 install-info) \
21956 || exit 1
21958 @endif libdecnumber
21960 .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
21961 maybe-install-pdf-libdecnumber:
21962 @if libdecnumber
21963 maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
21965 install-pdf-libdecnumber: \
21966 configure-libdecnumber \
21967 pdf-libdecnumber
21968 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21969 r=`${PWD_COMMAND}`; export r; \
21970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21971 $(HOST_EXPORTS) \
21972 for flag in $(EXTRA_HOST_FLAGS) ; do \
21973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21974 done; \
21975 echo "Doing install-pdf in libdecnumber" ; \
21976 (cd $(HOST_SUBDIR)/libdecnumber && \
21977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21979 "RANLIB=$${RANLIB}" \
21980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21981 install-pdf) \
21982 || exit 1
21984 @endif libdecnumber
21986 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
21987 maybe-install-html-libdecnumber:
21988 @if libdecnumber
21989 maybe-install-html-libdecnumber: install-html-libdecnumber
21991 install-html-libdecnumber: \
21992 configure-libdecnumber \
21993 html-libdecnumber
21994 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21995 r=`${PWD_COMMAND}`; export r; \
21996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21997 $(HOST_EXPORTS) \
21998 for flag in $(EXTRA_HOST_FLAGS) ; do \
21999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22000 done; \
22001 echo "Doing install-html in libdecnumber" ; \
22002 (cd $(HOST_SUBDIR)/libdecnumber && \
22003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22005 "RANLIB=$${RANLIB}" \
22006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22007 install-html) \
22008 || exit 1
22010 @endif libdecnumber
22012 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
22013 maybe-installcheck-libdecnumber:
22014 @if libdecnumber
22015 maybe-installcheck-libdecnumber: installcheck-libdecnumber
22017 installcheck-libdecnumber: \
22018 configure-libdecnumber
22019 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22020 r=`${PWD_COMMAND}`; export r; \
22021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22022 $(HOST_EXPORTS) \
22023 for flag in $(EXTRA_HOST_FLAGS) ; do \
22024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22025 done; \
22026 echo "Doing installcheck in libdecnumber" ; \
22027 (cd $(HOST_SUBDIR)/libdecnumber && \
22028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22030 "RANLIB=$${RANLIB}" \
22031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22032 installcheck) \
22033 || exit 1
22035 @endif libdecnumber
22037 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
22038 maybe-mostlyclean-libdecnumber:
22039 @if libdecnumber
22040 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
22042 mostlyclean-libdecnumber:
22043 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22044 r=`${PWD_COMMAND}`; export r; \
22045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22046 $(HOST_EXPORTS) \
22047 for flag in $(EXTRA_HOST_FLAGS) ; do \
22048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22049 done; \
22050 echo "Doing mostlyclean in libdecnumber" ; \
22051 (cd $(HOST_SUBDIR)/libdecnumber && \
22052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22054 "RANLIB=$${RANLIB}" \
22055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22056 mostlyclean) \
22057 || exit 1
22059 @endif libdecnumber
22061 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
22062 maybe-clean-libdecnumber:
22063 @if libdecnumber
22064 maybe-clean-libdecnumber: clean-libdecnumber
22066 clean-libdecnumber:
22067 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22068 r=`${PWD_COMMAND}`; export r; \
22069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22070 $(HOST_EXPORTS) \
22071 for flag in $(EXTRA_HOST_FLAGS) ; do \
22072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22073 done; \
22074 echo "Doing clean in libdecnumber" ; \
22075 (cd $(HOST_SUBDIR)/libdecnumber && \
22076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22078 "RANLIB=$${RANLIB}" \
22079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22080 clean) \
22081 || exit 1
22083 @endif libdecnumber
22085 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
22086 maybe-distclean-libdecnumber:
22087 @if libdecnumber
22088 maybe-distclean-libdecnumber: distclean-libdecnumber
22090 distclean-libdecnumber:
22091 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22092 r=`${PWD_COMMAND}`; export r; \
22093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22094 $(HOST_EXPORTS) \
22095 for flag in $(EXTRA_HOST_FLAGS) ; do \
22096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22097 done; \
22098 echo "Doing distclean in libdecnumber" ; \
22099 (cd $(HOST_SUBDIR)/libdecnumber && \
22100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22102 "RANLIB=$${RANLIB}" \
22103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22104 distclean) \
22105 || exit 1
22107 @endif libdecnumber
22109 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
22110 maybe-maintainer-clean-libdecnumber:
22111 @if libdecnumber
22112 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
22114 maintainer-clean-libdecnumber:
22115 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22116 r=`${PWD_COMMAND}`; export r; \
22117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22118 $(HOST_EXPORTS) \
22119 for flag in $(EXTRA_HOST_FLAGS) ; do \
22120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22121 done; \
22122 echo "Doing maintainer-clean in libdecnumber" ; \
22123 (cd $(HOST_SUBDIR)/libdecnumber && \
22124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22126 "RANLIB=$${RANLIB}" \
22127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22128 maintainer-clean) \
22129 || exit 1
22131 @endif libdecnumber
22135 .PHONY: configure-libgui maybe-configure-libgui
22136 maybe-configure-libgui:
22137 @if gcc-bootstrap
22138 configure-libgui: stage_current
22139 @endif gcc-bootstrap
22140 @if libgui
22141 maybe-configure-libgui: configure-libgui
22142 configure-libgui:
22143 @: $(MAKE); $(unstage)
22144 @r=`${PWD_COMMAND}`; export r; \
22145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22146 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
22147 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
22148 $(HOST_EXPORTS) \
22149 echo Configuring in $(HOST_SUBDIR)/libgui; \
22150 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
22151 case $(srcdir) in \
22152 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22153 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
22154 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22155 esac; \
22156 srcdiroption="--srcdir=$${topdir}/libgui"; \
22157 libsrcdir="$$s/libgui"; \
22158 $(SHELL) $${libsrcdir}/configure \
22159 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22160 --target=${target_alias} $${srcdiroption} \
22161 || exit 1
22162 @endif libgui
22168 .PHONY: all-libgui maybe-all-libgui
22169 maybe-all-libgui:
22170 @if gcc-bootstrap
22171 all-libgui: stage_current
22172 @endif gcc-bootstrap
22173 @if libgui
22174 TARGET-libgui=all
22175 maybe-all-libgui: all-libgui
22176 all-libgui: configure-libgui
22177 @: $(MAKE); $(unstage)
22178 @r=`${PWD_COMMAND}`; export r; \
22179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22180 $(HOST_EXPORTS) \
22181 (cd $(HOST_SUBDIR)/libgui && \
22182 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
22183 $(TARGET-libgui))
22184 @endif libgui
22189 .PHONY: check-libgui maybe-check-libgui
22190 maybe-check-libgui:
22191 @if libgui
22192 maybe-check-libgui: check-libgui
22194 check-libgui:
22195 @: $(MAKE); $(unstage)
22196 @r=`${PWD_COMMAND}`; export r; \
22197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22198 $(HOST_EXPORTS) \
22199 (cd $(HOST_SUBDIR)/libgui && \
22200 $(MAKE) $(FLAGS_TO_PASS) check)
22202 @endif libgui
22204 .PHONY: install-libgui maybe-install-libgui
22205 maybe-install-libgui:
22206 @if libgui
22207 maybe-install-libgui: install-libgui
22209 install-libgui: installdirs
22210 @: $(MAKE); $(unstage)
22211 @r=`${PWD_COMMAND}`; export r; \
22212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22213 $(HOST_EXPORTS) \
22214 (cd $(HOST_SUBDIR)/libgui && \
22215 $(MAKE) $(FLAGS_TO_PASS) install)
22217 @endif libgui
22219 .PHONY: install-strip-libgui maybe-install-strip-libgui
22220 maybe-install-strip-libgui:
22221 @if libgui
22222 maybe-install-strip-libgui: install-strip-libgui
22224 install-strip-libgui: installdirs
22225 @: $(MAKE); $(unstage)
22226 @r=`${PWD_COMMAND}`; export r; \
22227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22228 $(HOST_EXPORTS) \
22229 (cd $(HOST_SUBDIR)/libgui && \
22230 $(MAKE) $(FLAGS_TO_PASS) install-strip)
22232 @endif libgui
22234 # Other targets (info, dvi, pdf, etc.)
22236 .PHONY: maybe-info-libgui info-libgui
22237 maybe-info-libgui:
22238 @if libgui
22239 maybe-info-libgui: info-libgui
22241 info-libgui: \
22242 configure-libgui
22243 @: $(MAKE); $(unstage)
22244 @[ -f ./libgui/Makefile ] || exit 0; \
22245 r=`${PWD_COMMAND}`; export r; \
22246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22247 $(HOST_EXPORTS) \
22248 for flag in $(EXTRA_HOST_FLAGS) ; do \
22249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22250 done; \
22251 echo "Doing info in libgui" ; \
22252 (cd $(HOST_SUBDIR)/libgui && \
22253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22255 "RANLIB=$${RANLIB}" \
22256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22257 info) \
22258 || exit 1
22260 @endif libgui
22262 .PHONY: maybe-dvi-libgui dvi-libgui
22263 maybe-dvi-libgui:
22264 @if libgui
22265 maybe-dvi-libgui: dvi-libgui
22267 dvi-libgui: \
22268 configure-libgui
22269 @: $(MAKE); $(unstage)
22270 @[ -f ./libgui/Makefile ] || exit 0; \
22271 r=`${PWD_COMMAND}`; export r; \
22272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22273 $(HOST_EXPORTS) \
22274 for flag in $(EXTRA_HOST_FLAGS) ; do \
22275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22276 done; \
22277 echo "Doing dvi in libgui" ; \
22278 (cd $(HOST_SUBDIR)/libgui && \
22279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22281 "RANLIB=$${RANLIB}" \
22282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22283 dvi) \
22284 || exit 1
22286 @endif libgui
22288 .PHONY: maybe-pdf-libgui pdf-libgui
22289 maybe-pdf-libgui:
22290 @if libgui
22291 maybe-pdf-libgui: pdf-libgui
22293 pdf-libgui: \
22294 configure-libgui
22295 @: $(MAKE); $(unstage)
22296 @[ -f ./libgui/Makefile ] || exit 0; \
22297 r=`${PWD_COMMAND}`; export r; \
22298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22299 $(HOST_EXPORTS) \
22300 for flag in $(EXTRA_HOST_FLAGS) ; do \
22301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22302 done; \
22303 echo "Doing pdf in libgui" ; \
22304 (cd $(HOST_SUBDIR)/libgui && \
22305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22307 "RANLIB=$${RANLIB}" \
22308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22309 pdf) \
22310 || exit 1
22312 @endif libgui
22314 .PHONY: maybe-html-libgui html-libgui
22315 maybe-html-libgui:
22316 @if libgui
22317 maybe-html-libgui: html-libgui
22319 html-libgui: \
22320 configure-libgui
22321 @: $(MAKE); $(unstage)
22322 @[ -f ./libgui/Makefile ] || exit 0; \
22323 r=`${PWD_COMMAND}`; export r; \
22324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22325 $(HOST_EXPORTS) \
22326 for flag in $(EXTRA_HOST_FLAGS) ; do \
22327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22328 done; \
22329 echo "Doing html in libgui" ; \
22330 (cd $(HOST_SUBDIR)/libgui && \
22331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22333 "RANLIB=$${RANLIB}" \
22334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22335 html) \
22336 || exit 1
22338 @endif libgui
22340 .PHONY: maybe-TAGS-libgui TAGS-libgui
22341 maybe-TAGS-libgui:
22342 @if libgui
22343 maybe-TAGS-libgui: TAGS-libgui
22345 TAGS-libgui: \
22346 configure-libgui
22347 @: $(MAKE); $(unstage)
22348 @[ -f ./libgui/Makefile ] || exit 0; \
22349 r=`${PWD_COMMAND}`; export r; \
22350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22351 $(HOST_EXPORTS) \
22352 for flag in $(EXTRA_HOST_FLAGS) ; do \
22353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22354 done; \
22355 echo "Doing TAGS in libgui" ; \
22356 (cd $(HOST_SUBDIR)/libgui && \
22357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22359 "RANLIB=$${RANLIB}" \
22360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22361 TAGS) \
22362 || exit 1
22364 @endif libgui
22366 .PHONY: maybe-install-info-libgui install-info-libgui
22367 maybe-install-info-libgui:
22368 @if libgui
22369 maybe-install-info-libgui: install-info-libgui
22371 install-info-libgui: \
22372 configure-libgui \
22373 info-libgui
22374 @: $(MAKE); $(unstage)
22375 @[ -f ./libgui/Makefile ] || exit 0; \
22376 r=`${PWD_COMMAND}`; export r; \
22377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22378 $(HOST_EXPORTS) \
22379 for flag in $(EXTRA_HOST_FLAGS) ; do \
22380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22381 done; \
22382 echo "Doing install-info in libgui" ; \
22383 (cd $(HOST_SUBDIR)/libgui && \
22384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22386 "RANLIB=$${RANLIB}" \
22387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22388 install-info) \
22389 || exit 1
22391 @endif libgui
22393 .PHONY: maybe-install-pdf-libgui install-pdf-libgui
22394 maybe-install-pdf-libgui:
22395 @if libgui
22396 maybe-install-pdf-libgui: install-pdf-libgui
22398 install-pdf-libgui: \
22399 configure-libgui \
22400 pdf-libgui
22401 @: $(MAKE); $(unstage)
22402 @[ -f ./libgui/Makefile ] || exit 0; \
22403 r=`${PWD_COMMAND}`; export r; \
22404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22405 $(HOST_EXPORTS) \
22406 for flag in $(EXTRA_HOST_FLAGS) ; do \
22407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22408 done; \
22409 echo "Doing install-pdf in libgui" ; \
22410 (cd $(HOST_SUBDIR)/libgui && \
22411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22413 "RANLIB=$${RANLIB}" \
22414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22415 install-pdf) \
22416 || exit 1
22418 @endif libgui
22420 .PHONY: maybe-install-html-libgui install-html-libgui
22421 maybe-install-html-libgui:
22422 @if libgui
22423 maybe-install-html-libgui: install-html-libgui
22425 install-html-libgui: \
22426 configure-libgui \
22427 html-libgui
22428 @: $(MAKE); $(unstage)
22429 @[ -f ./libgui/Makefile ] || exit 0; \
22430 r=`${PWD_COMMAND}`; export r; \
22431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22432 $(HOST_EXPORTS) \
22433 for flag in $(EXTRA_HOST_FLAGS) ; do \
22434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22435 done; \
22436 echo "Doing install-html in libgui" ; \
22437 (cd $(HOST_SUBDIR)/libgui && \
22438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22440 "RANLIB=$${RANLIB}" \
22441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22442 install-html) \
22443 || exit 1
22445 @endif libgui
22447 .PHONY: maybe-installcheck-libgui installcheck-libgui
22448 maybe-installcheck-libgui:
22449 @if libgui
22450 maybe-installcheck-libgui: installcheck-libgui
22452 installcheck-libgui: \
22453 configure-libgui
22454 @: $(MAKE); $(unstage)
22455 @[ -f ./libgui/Makefile ] || exit 0; \
22456 r=`${PWD_COMMAND}`; export r; \
22457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22458 $(HOST_EXPORTS) \
22459 for flag in $(EXTRA_HOST_FLAGS) ; do \
22460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22461 done; \
22462 echo "Doing installcheck in libgui" ; \
22463 (cd $(HOST_SUBDIR)/libgui && \
22464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22466 "RANLIB=$${RANLIB}" \
22467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22468 installcheck) \
22469 || exit 1
22471 @endif libgui
22473 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
22474 maybe-mostlyclean-libgui:
22475 @if libgui
22476 maybe-mostlyclean-libgui: mostlyclean-libgui
22478 mostlyclean-libgui:
22479 @: $(MAKE); $(unstage)
22480 @[ -f ./libgui/Makefile ] || exit 0; \
22481 r=`${PWD_COMMAND}`; export r; \
22482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22483 $(HOST_EXPORTS) \
22484 for flag in $(EXTRA_HOST_FLAGS) ; do \
22485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22486 done; \
22487 echo "Doing mostlyclean in libgui" ; \
22488 (cd $(HOST_SUBDIR)/libgui && \
22489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22491 "RANLIB=$${RANLIB}" \
22492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22493 mostlyclean) \
22494 || exit 1
22496 @endif libgui
22498 .PHONY: maybe-clean-libgui clean-libgui
22499 maybe-clean-libgui:
22500 @if libgui
22501 maybe-clean-libgui: clean-libgui
22503 clean-libgui:
22504 @: $(MAKE); $(unstage)
22505 @[ -f ./libgui/Makefile ] || exit 0; \
22506 r=`${PWD_COMMAND}`; export r; \
22507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22508 $(HOST_EXPORTS) \
22509 for flag in $(EXTRA_HOST_FLAGS) ; do \
22510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22511 done; \
22512 echo "Doing clean in libgui" ; \
22513 (cd $(HOST_SUBDIR)/libgui && \
22514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22516 "RANLIB=$${RANLIB}" \
22517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22518 clean) \
22519 || exit 1
22521 @endif libgui
22523 .PHONY: maybe-distclean-libgui distclean-libgui
22524 maybe-distclean-libgui:
22525 @if libgui
22526 maybe-distclean-libgui: distclean-libgui
22528 distclean-libgui:
22529 @: $(MAKE); $(unstage)
22530 @[ -f ./libgui/Makefile ] || exit 0; \
22531 r=`${PWD_COMMAND}`; export r; \
22532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22533 $(HOST_EXPORTS) \
22534 for flag in $(EXTRA_HOST_FLAGS) ; do \
22535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22536 done; \
22537 echo "Doing distclean in libgui" ; \
22538 (cd $(HOST_SUBDIR)/libgui && \
22539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22541 "RANLIB=$${RANLIB}" \
22542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22543 distclean) \
22544 || exit 1
22546 @endif libgui
22548 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
22549 maybe-maintainer-clean-libgui:
22550 @if libgui
22551 maybe-maintainer-clean-libgui: maintainer-clean-libgui
22553 maintainer-clean-libgui:
22554 @: $(MAKE); $(unstage)
22555 @[ -f ./libgui/Makefile ] || exit 0; \
22556 r=`${PWD_COMMAND}`; export r; \
22557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22558 $(HOST_EXPORTS) \
22559 for flag in $(EXTRA_HOST_FLAGS) ; do \
22560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22561 done; \
22562 echo "Doing maintainer-clean in libgui" ; \
22563 (cd $(HOST_SUBDIR)/libgui && \
22564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22566 "RANLIB=$${RANLIB}" \
22567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22568 maintainer-clean) \
22569 || exit 1
22571 @endif libgui
22575 .PHONY: configure-libiberty maybe-configure-libiberty
22576 maybe-configure-libiberty:
22577 @if gcc-bootstrap
22578 configure-libiberty: stage_current
22579 @endif gcc-bootstrap
22580 @if libiberty
22581 maybe-configure-libiberty: configure-libiberty
22582 configure-libiberty:
22583 @r=`${PWD_COMMAND}`; export r; \
22584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22585 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22586 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22587 $(HOST_EXPORTS) \
22588 echo Configuring in $(HOST_SUBDIR)/libiberty; \
22589 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
22590 case $(srcdir) in \
22591 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22592 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22593 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22594 esac; \
22595 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22596 libsrcdir="$$s/libiberty"; \
22597 $(SHELL) $${libsrcdir}/configure \
22598 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22599 --target=${target_alias} $${srcdiroption} @extra_host_libiberty_configure_flags@ \
22600 || exit 1
22601 @endif libiberty
22605 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
22606 maybe-configure-stage1-libiberty:
22607 @if libiberty-bootstrap
22608 maybe-configure-stage1-libiberty: configure-stage1-libiberty
22609 configure-stage1-libiberty:
22610 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22611 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22612 @r=`${PWD_COMMAND}`; export r; \
22613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22614 TFLAGS="$(STAGE1_TFLAGS)"; \
22615 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22616 $(HOST_EXPORTS) \
22617 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
22618 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
22619 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
22620 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
22621 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22622 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22623 case $(srcdir) in \
22624 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22625 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22626 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22627 esac; \
22628 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22629 libsrcdir="$$s/libiberty"; \
22630 $(SHELL) $${libsrcdir}/configure \
22631 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22632 --target=${target_alias} $${srcdiroption} \
22633 $(STAGE1_CONFIGURE_FLAGS) \
22634 @extra_host_libiberty_configure_flags@
22635 @endif libiberty-bootstrap
22637 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
22638 maybe-configure-stage2-libiberty:
22639 @if libiberty-bootstrap
22640 maybe-configure-stage2-libiberty: configure-stage2-libiberty
22641 configure-stage2-libiberty:
22642 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22643 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22644 @r=`${PWD_COMMAND}`; export r; \
22645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22646 TFLAGS="$(STAGE2_TFLAGS)"; \
22647 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22648 $(HOST_EXPORTS) \
22649 $(POSTSTAGE1_HOST_EXPORTS) \
22650 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
22651 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
22652 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
22653 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
22654 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22655 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22656 case $(srcdir) in \
22657 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22658 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22659 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22660 esac; \
22661 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22662 libsrcdir="$$s/libiberty"; \
22663 $(SHELL) $${libsrcdir}/configure \
22664 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22665 --target=${target_alias} $${srcdiroption} \
22666 --with-build-libsubdir=$(HOST_SUBDIR) \
22667 $(STAGE2_CONFIGURE_FLAGS) \
22668 @extra_host_libiberty_configure_flags@
22669 @endif libiberty-bootstrap
22671 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
22672 maybe-configure-stage3-libiberty:
22673 @if libiberty-bootstrap
22674 maybe-configure-stage3-libiberty: configure-stage3-libiberty
22675 configure-stage3-libiberty:
22676 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22677 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22678 @r=`${PWD_COMMAND}`; export r; \
22679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22680 TFLAGS="$(STAGE3_TFLAGS)"; \
22681 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22682 $(HOST_EXPORTS) \
22683 $(POSTSTAGE1_HOST_EXPORTS) \
22684 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
22685 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
22686 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
22687 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
22688 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22689 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22690 case $(srcdir) in \
22691 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22692 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22693 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22694 esac; \
22695 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22696 libsrcdir="$$s/libiberty"; \
22697 $(SHELL) $${libsrcdir}/configure \
22698 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22699 --target=${target_alias} $${srcdiroption} \
22700 --with-build-libsubdir=$(HOST_SUBDIR) \
22701 $(STAGE3_CONFIGURE_FLAGS) \
22702 @extra_host_libiberty_configure_flags@
22703 @endif libiberty-bootstrap
22705 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
22706 maybe-configure-stage4-libiberty:
22707 @if libiberty-bootstrap
22708 maybe-configure-stage4-libiberty: configure-stage4-libiberty
22709 configure-stage4-libiberty:
22710 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22711 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22712 @r=`${PWD_COMMAND}`; export r; \
22713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22714 TFLAGS="$(STAGE4_TFLAGS)"; \
22715 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22716 $(HOST_EXPORTS) \
22717 $(POSTSTAGE1_HOST_EXPORTS) \
22718 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
22719 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
22720 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
22721 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
22722 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22723 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22724 case $(srcdir) in \
22725 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22726 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22727 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22728 esac; \
22729 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22730 libsrcdir="$$s/libiberty"; \
22731 $(SHELL) $${libsrcdir}/configure \
22732 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22733 --target=${target_alias} $${srcdiroption} \
22734 --with-build-libsubdir=$(HOST_SUBDIR) \
22735 $(STAGE4_CONFIGURE_FLAGS) \
22736 @extra_host_libiberty_configure_flags@
22737 @endif libiberty-bootstrap
22739 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
22740 maybe-configure-stageprofile-libiberty:
22741 @if libiberty-bootstrap
22742 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
22743 configure-stageprofile-libiberty:
22744 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22745 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22746 @r=`${PWD_COMMAND}`; export r; \
22747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22748 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22749 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22750 $(HOST_EXPORTS) \
22751 $(POSTSTAGE1_HOST_EXPORTS) \
22752 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
22753 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
22754 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
22755 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
22756 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22757 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22758 case $(srcdir) in \
22759 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22760 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22761 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22762 esac; \
22763 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22764 libsrcdir="$$s/libiberty"; \
22765 $(SHELL) $${libsrcdir}/configure \
22766 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22767 --target=${target_alias} $${srcdiroption} \
22768 --with-build-libsubdir=$(HOST_SUBDIR) \
22769 $(STAGEprofile_CONFIGURE_FLAGS) \
22770 @extra_host_libiberty_configure_flags@
22771 @endif libiberty-bootstrap
22773 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
22774 maybe-configure-stagefeedback-libiberty:
22775 @if libiberty-bootstrap
22776 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
22777 configure-stagefeedback-libiberty:
22778 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22779 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22780 @r=`${PWD_COMMAND}`; export r; \
22781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22782 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22783 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22784 $(HOST_EXPORTS) \
22785 $(POSTSTAGE1_HOST_EXPORTS) \
22786 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
22787 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
22788 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
22789 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
22790 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22791 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22792 case $(srcdir) in \
22793 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22794 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22795 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22796 esac; \
22797 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22798 libsrcdir="$$s/libiberty"; \
22799 $(SHELL) $${libsrcdir}/configure \
22800 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22801 --target=${target_alias} $${srcdiroption} \
22802 --with-build-libsubdir=$(HOST_SUBDIR) \
22803 $(STAGEfeedback_CONFIGURE_FLAGS) \
22804 @extra_host_libiberty_configure_flags@
22805 @endif libiberty-bootstrap
22811 .PHONY: all-libiberty maybe-all-libiberty
22812 maybe-all-libiberty:
22813 @if gcc-bootstrap
22814 all-libiberty: stage_current
22815 @endif gcc-bootstrap
22816 @if libiberty
22817 TARGET-libiberty=all
22818 maybe-all-libiberty: all-libiberty
22819 all-libiberty: configure-libiberty
22820 @r=`${PWD_COMMAND}`; export r; \
22821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22822 $(HOST_EXPORTS) \
22823 (cd $(HOST_SUBDIR)/libiberty && \
22824 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
22825 $(TARGET-libiberty))
22826 @endif libiberty
22830 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
22831 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
22832 maybe-all-stage1-libiberty:
22833 maybe-clean-stage1-libiberty:
22834 @if libiberty-bootstrap
22835 maybe-all-stage1-libiberty: all-stage1-libiberty
22836 all-stage1: all-stage1-libiberty
22837 TARGET-stage1-libiberty = $(TARGET-libiberty)
22838 all-stage1-libiberty: configure-stage1-libiberty
22839 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22840 @r=`${PWD_COMMAND}`; export r; \
22841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22842 TFLAGS="$(STAGE1_TFLAGS)"; \
22843 $(HOST_EXPORTS) \
22844 cd $(HOST_SUBDIR)/libiberty && \
22845 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22846 CFLAGS="$(STAGE1_CFLAGS)" \
22847 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
22848 LIBCFLAGS="$(LIBCFLAGS)" \
22849 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22850 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22851 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22852 $(EXTRA_HOST_FLAGS) \
22853 $(STAGE1_FLAGS_TO_PASS) \
22854 TFLAGS="$(STAGE1_TFLAGS)" \
22855 $(TARGET-stage1-libiberty)
22857 maybe-clean-stage1-libiberty: clean-stage1-libiberty
22858 clean-stage1: clean-stage1-libiberty
22859 clean-stage1-libiberty:
22860 @if [ $(current_stage) = stage1 ]; then \
22861 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22862 else \
22863 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
22864 $(MAKE) stage1-start; \
22865 fi; \
22866 cd $(HOST_SUBDIR)/libiberty && \
22867 $(MAKE) $(EXTRA_HOST_FLAGS) \
22868 $(STAGE1_FLAGS_TO_PASS) clean
22869 @endif libiberty-bootstrap
22872 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
22873 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
22874 maybe-all-stage2-libiberty:
22875 maybe-clean-stage2-libiberty:
22876 @if libiberty-bootstrap
22877 maybe-all-stage2-libiberty: all-stage2-libiberty
22878 all-stage2: all-stage2-libiberty
22879 TARGET-stage2-libiberty = $(TARGET-libiberty)
22880 all-stage2-libiberty: configure-stage2-libiberty
22881 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22882 @r=`${PWD_COMMAND}`; export r; \
22883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22884 TFLAGS="$(STAGE2_TFLAGS)"; \
22885 $(HOST_EXPORTS) \
22886 $(POSTSTAGE1_HOST_EXPORTS) \
22887 cd $(HOST_SUBDIR)/libiberty && \
22888 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22889 CFLAGS="$(STAGE2_CFLAGS)" \
22890 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
22891 LIBCFLAGS="$(STAGE2_CFLAGS)" \
22892 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22893 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22894 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22895 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22896 TFLAGS="$(STAGE2_TFLAGS)" \
22897 $(TARGET-stage2-libiberty)
22899 maybe-clean-stage2-libiberty: clean-stage2-libiberty
22900 clean-stage2: clean-stage2-libiberty
22901 clean-stage2-libiberty:
22902 @if [ $(current_stage) = stage2 ]; then \
22903 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22904 else \
22905 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
22906 $(MAKE) stage2-start; \
22907 fi; \
22908 cd $(HOST_SUBDIR)/libiberty && \
22909 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22910 @endif libiberty-bootstrap
22913 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
22914 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
22915 maybe-all-stage3-libiberty:
22916 maybe-clean-stage3-libiberty:
22917 @if libiberty-bootstrap
22918 maybe-all-stage3-libiberty: all-stage3-libiberty
22919 all-stage3: all-stage3-libiberty
22920 TARGET-stage3-libiberty = $(TARGET-libiberty)
22921 all-stage3-libiberty: configure-stage3-libiberty
22922 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22923 @r=`${PWD_COMMAND}`; export r; \
22924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22925 TFLAGS="$(STAGE3_TFLAGS)"; \
22926 $(HOST_EXPORTS) \
22927 $(POSTSTAGE1_HOST_EXPORTS) \
22928 cd $(HOST_SUBDIR)/libiberty && \
22929 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22930 CFLAGS="$(STAGE3_CFLAGS)" \
22931 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
22932 LIBCFLAGS="$(STAGE3_CFLAGS)" \
22933 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22934 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22935 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22936 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22937 TFLAGS="$(STAGE3_TFLAGS)" \
22938 $(TARGET-stage3-libiberty)
22940 maybe-clean-stage3-libiberty: clean-stage3-libiberty
22941 clean-stage3: clean-stage3-libiberty
22942 clean-stage3-libiberty:
22943 @if [ $(current_stage) = stage3 ]; then \
22944 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22945 else \
22946 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
22947 $(MAKE) stage3-start; \
22948 fi; \
22949 cd $(HOST_SUBDIR)/libiberty && \
22950 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22951 @endif libiberty-bootstrap
22954 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
22955 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
22956 maybe-all-stage4-libiberty:
22957 maybe-clean-stage4-libiberty:
22958 @if libiberty-bootstrap
22959 maybe-all-stage4-libiberty: all-stage4-libiberty
22960 all-stage4: all-stage4-libiberty
22961 TARGET-stage4-libiberty = $(TARGET-libiberty)
22962 all-stage4-libiberty: configure-stage4-libiberty
22963 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22964 @r=`${PWD_COMMAND}`; export r; \
22965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22966 TFLAGS="$(STAGE4_TFLAGS)"; \
22967 $(HOST_EXPORTS) \
22968 $(POSTSTAGE1_HOST_EXPORTS) \
22969 cd $(HOST_SUBDIR)/libiberty && \
22970 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22971 CFLAGS="$(STAGE4_CFLAGS)" \
22972 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
22973 LIBCFLAGS="$(STAGE4_CFLAGS)" \
22974 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22975 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22976 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22977 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22978 TFLAGS="$(STAGE4_TFLAGS)" \
22979 $(TARGET-stage4-libiberty)
22981 maybe-clean-stage4-libiberty: clean-stage4-libiberty
22982 clean-stage4: clean-stage4-libiberty
22983 clean-stage4-libiberty:
22984 @if [ $(current_stage) = stage4 ]; then \
22985 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22986 else \
22987 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
22988 $(MAKE) stage4-start; \
22989 fi; \
22990 cd $(HOST_SUBDIR)/libiberty && \
22991 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22992 @endif libiberty-bootstrap
22995 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
22996 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
22997 maybe-all-stageprofile-libiberty:
22998 maybe-clean-stageprofile-libiberty:
22999 @if libiberty-bootstrap
23000 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
23001 all-stageprofile: all-stageprofile-libiberty
23002 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
23003 all-stageprofile-libiberty: configure-stageprofile-libiberty
23004 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23005 @r=`${PWD_COMMAND}`; export r; \
23006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23007 TFLAGS="$(STAGEprofile_TFLAGS)"; \
23008 $(HOST_EXPORTS) \
23009 $(POSTSTAGE1_HOST_EXPORTS) \
23010 cd $(HOST_SUBDIR)/libiberty && \
23011 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23012 CFLAGS="$(STAGEprofile_CFLAGS)" \
23013 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
23014 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
23015 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23016 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23017 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23018 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23019 TFLAGS="$(STAGEprofile_TFLAGS)" \
23020 $(TARGET-stageprofile-libiberty)
23022 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
23023 clean-stageprofile: clean-stageprofile-libiberty
23024 clean-stageprofile-libiberty:
23025 @if [ $(current_stage) = stageprofile ]; then \
23026 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
23027 else \
23028 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
23029 $(MAKE) stageprofile-start; \
23030 fi; \
23031 cd $(HOST_SUBDIR)/libiberty && \
23032 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23033 @endif libiberty-bootstrap
23036 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
23037 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
23038 maybe-all-stagefeedback-libiberty:
23039 maybe-clean-stagefeedback-libiberty:
23040 @if libiberty-bootstrap
23041 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
23042 all-stagefeedback: all-stagefeedback-libiberty
23043 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
23044 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
23045 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23046 @r=`${PWD_COMMAND}`; export r; \
23047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23048 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23049 $(HOST_EXPORTS) \
23050 $(POSTSTAGE1_HOST_EXPORTS) \
23051 cd $(HOST_SUBDIR)/libiberty && \
23052 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23053 CFLAGS="$(STAGEfeedback_CFLAGS)" \
23054 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
23055 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
23056 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23057 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23058 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23059 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23060 TFLAGS="$(STAGEfeedback_TFLAGS)" \
23061 $(TARGET-stagefeedback-libiberty)
23063 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
23064 clean-stagefeedback: clean-stagefeedback-libiberty
23065 clean-stagefeedback-libiberty:
23066 @if [ $(current_stage) = stagefeedback ]; then \
23067 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
23068 else \
23069 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
23070 $(MAKE) stagefeedback-start; \
23071 fi; \
23072 cd $(HOST_SUBDIR)/libiberty && \
23073 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23074 @endif libiberty-bootstrap
23080 .PHONY: check-libiberty maybe-check-libiberty
23081 maybe-check-libiberty:
23082 @if libiberty
23083 maybe-check-libiberty: check-libiberty
23085 check-libiberty:
23086 @: $(MAKE); $(unstage)
23087 @r=`${PWD_COMMAND}`; export r; \
23088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23089 $(HOST_EXPORTS) \
23090 (cd $(HOST_SUBDIR)/libiberty && \
23091 $(MAKE) $(FLAGS_TO_PASS) check)
23093 @endif libiberty
23095 .PHONY: install-libiberty maybe-install-libiberty
23096 maybe-install-libiberty:
23097 @if libiberty
23098 maybe-install-libiberty: install-libiberty
23100 install-libiberty: installdirs
23101 @: $(MAKE); $(unstage)
23102 @r=`${PWD_COMMAND}`; export r; \
23103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23104 $(HOST_EXPORTS) \
23105 (cd $(HOST_SUBDIR)/libiberty && \
23106 $(MAKE) $(FLAGS_TO_PASS) install)
23108 @endif libiberty
23110 .PHONY: install-strip-libiberty maybe-install-strip-libiberty
23111 maybe-install-strip-libiberty:
23112 @if libiberty
23113 maybe-install-strip-libiberty: install-strip-libiberty
23115 install-strip-libiberty: installdirs
23116 @: $(MAKE); $(unstage)
23117 @r=`${PWD_COMMAND}`; export r; \
23118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23119 $(HOST_EXPORTS) \
23120 (cd $(HOST_SUBDIR)/libiberty && \
23121 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23123 @endif libiberty
23125 # Other targets (info, dvi, pdf, etc.)
23127 .PHONY: maybe-info-libiberty info-libiberty
23128 maybe-info-libiberty:
23129 @if libiberty
23130 maybe-info-libiberty: info-libiberty
23132 info-libiberty: \
23133 configure-libiberty
23134 @[ -f ./libiberty/Makefile ] || exit 0; \
23135 r=`${PWD_COMMAND}`; export r; \
23136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23137 $(HOST_EXPORTS) \
23138 for flag in $(EXTRA_HOST_FLAGS) ; do \
23139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23140 done; \
23141 echo "Doing info in libiberty" ; \
23142 (cd $(HOST_SUBDIR)/libiberty && \
23143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23145 "RANLIB=$${RANLIB}" \
23146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23147 info) \
23148 || exit 1
23150 @endif libiberty
23152 .PHONY: maybe-dvi-libiberty dvi-libiberty
23153 maybe-dvi-libiberty:
23154 @if libiberty
23155 maybe-dvi-libiberty: dvi-libiberty
23157 dvi-libiberty: \
23158 configure-libiberty
23159 @[ -f ./libiberty/Makefile ] || exit 0; \
23160 r=`${PWD_COMMAND}`; export r; \
23161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23162 $(HOST_EXPORTS) \
23163 for flag in $(EXTRA_HOST_FLAGS) ; do \
23164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23165 done; \
23166 echo "Doing dvi in libiberty" ; \
23167 (cd $(HOST_SUBDIR)/libiberty && \
23168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23170 "RANLIB=$${RANLIB}" \
23171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23172 dvi) \
23173 || exit 1
23175 @endif libiberty
23177 .PHONY: maybe-pdf-libiberty pdf-libiberty
23178 maybe-pdf-libiberty:
23179 @if libiberty
23180 maybe-pdf-libiberty: pdf-libiberty
23182 pdf-libiberty: \
23183 configure-libiberty
23184 @[ -f ./libiberty/Makefile ] || exit 0; \
23185 r=`${PWD_COMMAND}`; export r; \
23186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23187 $(HOST_EXPORTS) \
23188 for flag in $(EXTRA_HOST_FLAGS) ; do \
23189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23190 done; \
23191 echo "Doing pdf in libiberty" ; \
23192 (cd $(HOST_SUBDIR)/libiberty && \
23193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23195 "RANLIB=$${RANLIB}" \
23196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23197 pdf) \
23198 || exit 1
23200 @endif libiberty
23202 .PHONY: maybe-html-libiberty html-libiberty
23203 maybe-html-libiberty:
23204 @if libiberty
23205 maybe-html-libiberty: html-libiberty
23207 html-libiberty: \
23208 configure-libiberty
23209 @[ -f ./libiberty/Makefile ] || exit 0; \
23210 r=`${PWD_COMMAND}`; export r; \
23211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23212 $(HOST_EXPORTS) \
23213 for flag in $(EXTRA_HOST_FLAGS) ; do \
23214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23215 done; \
23216 echo "Doing html in libiberty" ; \
23217 (cd $(HOST_SUBDIR)/libiberty && \
23218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23220 "RANLIB=$${RANLIB}" \
23221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23222 html) \
23223 || exit 1
23225 @endif libiberty
23227 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
23228 maybe-TAGS-libiberty:
23229 @if libiberty
23230 maybe-TAGS-libiberty: TAGS-libiberty
23232 TAGS-libiberty: \
23233 configure-libiberty
23234 @[ -f ./libiberty/Makefile ] || exit 0; \
23235 r=`${PWD_COMMAND}`; export r; \
23236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23237 $(HOST_EXPORTS) \
23238 for flag in $(EXTRA_HOST_FLAGS) ; do \
23239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23240 done; \
23241 echo "Doing TAGS in libiberty" ; \
23242 (cd $(HOST_SUBDIR)/libiberty && \
23243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23245 "RANLIB=$${RANLIB}" \
23246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23247 TAGS) \
23248 || exit 1
23250 @endif libiberty
23252 .PHONY: maybe-install-info-libiberty install-info-libiberty
23253 maybe-install-info-libiberty:
23254 @if libiberty
23255 maybe-install-info-libiberty: install-info-libiberty
23257 install-info-libiberty: \
23258 configure-libiberty \
23259 info-libiberty
23260 @[ -f ./libiberty/Makefile ] || exit 0; \
23261 r=`${PWD_COMMAND}`; export r; \
23262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23263 $(HOST_EXPORTS) \
23264 for flag in $(EXTRA_HOST_FLAGS) ; do \
23265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23266 done; \
23267 echo "Doing install-info in libiberty" ; \
23268 (cd $(HOST_SUBDIR)/libiberty && \
23269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23271 "RANLIB=$${RANLIB}" \
23272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23273 install-info) \
23274 || exit 1
23276 @endif libiberty
23278 .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty
23279 maybe-install-pdf-libiberty:
23280 @if libiberty
23281 maybe-install-pdf-libiberty: install-pdf-libiberty
23283 install-pdf-libiberty: \
23284 configure-libiberty \
23285 pdf-libiberty
23286 @[ -f ./libiberty/Makefile ] || exit 0; \
23287 r=`${PWD_COMMAND}`; export r; \
23288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23289 $(HOST_EXPORTS) \
23290 for flag in $(EXTRA_HOST_FLAGS) ; do \
23291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23292 done; \
23293 echo "Doing install-pdf in libiberty" ; \
23294 (cd $(HOST_SUBDIR)/libiberty && \
23295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23297 "RANLIB=$${RANLIB}" \
23298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23299 install-pdf) \
23300 || exit 1
23302 @endif libiberty
23304 .PHONY: maybe-install-html-libiberty install-html-libiberty
23305 maybe-install-html-libiberty:
23306 @if libiberty
23307 maybe-install-html-libiberty: install-html-libiberty
23309 install-html-libiberty: \
23310 configure-libiberty \
23311 html-libiberty
23312 @[ -f ./libiberty/Makefile ] || exit 0; \
23313 r=`${PWD_COMMAND}`; export r; \
23314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23315 $(HOST_EXPORTS) \
23316 for flag in $(EXTRA_HOST_FLAGS) ; do \
23317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23318 done; \
23319 echo "Doing install-html in libiberty" ; \
23320 (cd $(HOST_SUBDIR)/libiberty && \
23321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23323 "RANLIB=$${RANLIB}" \
23324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23325 install-html) \
23326 || exit 1
23328 @endif libiberty
23330 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
23331 maybe-installcheck-libiberty:
23332 @if libiberty
23333 maybe-installcheck-libiberty: installcheck-libiberty
23335 installcheck-libiberty: \
23336 configure-libiberty
23337 @[ -f ./libiberty/Makefile ] || exit 0; \
23338 r=`${PWD_COMMAND}`; export r; \
23339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23340 $(HOST_EXPORTS) \
23341 for flag in $(EXTRA_HOST_FLAGS) ; do \
23342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23343 done; \
23344 echo "Doing installcheck in libiberty" ; \
23345 (cd $(HOST_SUBDIR)/libiberty && \
23346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23348 "RANLIB=$${RANLIB}" \
23349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23350 installcheck) \
23351 || exit 1
23353 @endif libiberty
23355 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
23356 maybe-mostlyclean-libiberty:
23357 @if libiberty
23358 maybe-mostlyclean-libiberty: mostlyclean-libiberty
23360 mostlyclean-libiberty:
23361 @[ -f ./libiberty/Makefile ] || exit 0; \
23362 r=`${PWD_COMMAND}`; export r; \
23363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23364 $(HOST_EXPORTS) \
23365 for flag in $(EXTRA_HOST_FLAGS) ; do \
23366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23367 done; \
23368 echo "Doing mostlyclean in libiberty" ; \
23369 (cd $(HOST_SUBDIR)/libiberty && \
23370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23372 "RANLIB=$${RANLIB}" \
23373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23374 mostlyclean) \
23375 || exit 1
23377 @endif libiberty
23379 .PHONY: maybe-clean-libiberty clean-libiberty
23380 maybe-clean-libiberty:
23381 @if libiberty
23382 maybe-clean-libiberty: clean-libiberty
23384 clean-libiberty:
23385 @[ -f ./libiberty/Makefile ] || exit 0; \
23386 r=`${PWD_COMMAND}`; export r; \
23387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23388 $(HOST_EXPORTS) \
23389 for flag in $(EXTRA_HOST_FLAGS) ; do \
23390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23391 done; \
23392 echo "Doing clean in libiberty" ; \
23393 (cd $(HOST_SUBDIR)/libiberty && \
23394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23396 "RANLIB=$${RANLIB}" \
23397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23398 clean) \
23399 || exit 1
23401 @endif libiberty
23403 .PHONY: maybe-distclean-libiberty distclean-libiberty
23404 maybe-distclean-libiberty:
23405 @if libiberty
23406 maybe-distclean-libiberty: distclean-libiberty
23408 distclean-libiberty:
23409 @[ -f ./libiberty/Makefile ] || exit 0; \
23410 r=`${PWD_COMMAND}`; export r; \
23411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23412 $(HOST_EXPORTS) \
23413 for flag in $(EXTRA_HOST_FLAGS) ; do \
23414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23415 done; \
23416 echo "Doing distclean in libiberty" ; \
23417 (cd $(HOST_SUBDIR)/libiberty && \
23418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23420 "RANLIB=$${RANLIB}" \
23421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23422 distclean) \
23423 || exit 1
23425 @endif libiberty
23427 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
23428 maybe-maintainer-clean-libiberty:
23429 @if libiberty
23430 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
23432 maintainer-clean-libiberty:
23433 @[ -f ./libiberty/Makefile ] || exit 0; \
23434 r=`${PWD_COMMAND}`; export r; \
23435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23436 $(HOST_EXPORTS) \
23437 for flag in $(EXTRA_HOST_FLAGS) ; do \
23438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23439 done; \
23440 echo "Doing maintainer-clean in libiberty" ; \
23441 (cd $(HOST_SUBDIR)/libiberty && \
23442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23444 "RANLIB=$${RANLIB}" \
23445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23446 maintainer-clean) \
23447 || exit 1
23449 @endif libiberty
23453 .PHONY: configure-libiconv maybe-configure-libiconv
23454 maybe-configure-libiconv:
23455 @if gcc-bootstrap
23456 configure-libiconv: stage_current
23457 @endif gcc-bootstrap
23458 @if libiconv
23459 maybe-configure-libiconv: configure-libiconv
23460 configure-libiconv:
23461 @: $(MAKE); $(unstage)
23462 @r=`${PWD_COMMAND}`; export r; \
23463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23464 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
23465 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv ; \
23466 $(HOST_EXPORTS) \
23467 echo Configuring in $(HOST_SUBDIR)/libiconv; \
23468 cd "$(HOST_SUBDIR)/libiconv" || exit 1; \
23469 case $(srcdir) in \
23470 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23471 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
23472 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23473 esac; \
23474 srcdiroption="--srcdir=$${topdir}/libiconv"; \
23475 libsrcdir="$$s/libiconv"; \
23476 $(SHELL) $${libsrcdir}/configure \
23477 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23478 --target=${target_alias} $${srcdiroption} --disable-shared \
23479 || exit 1
23480 @endif libiconv
23486 .PHONY: all-libiconv maybe-all-libiconv
23487 maybe-all-libiconv:
23488 @if gcc-bootstrap
23489 all-libiconv: stage_current
23490 @endif gcc-bootstrap
23491 @if libiconv
23492 TARGET-libiconv=all
23493 maybe-all-libiconv: all-libiconv
23494 all-libiconv: configure-libiconv
23495 @: $(MAKE); $(unstage)
23496 @r=`${PWD_COMMAND}`; export r; \
23497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23498 $(HOST_EXPORTS) \
23499 (cd $(HOST_SUBDIR)/libiconv && \
23500 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
23501 $(TARGET-libiconv))
23502 @endif libiconv
23507 .PHONY: check-libiconv maybe-check-libiconv
23508 maybe-check-libiconv:
23509 @if libiconv
23510 maybe-check-libiconv: check-libiconv
23512 check-libiconv:
23513 @: $(MAKE); $(unstage)
23514 @r=`${PWD_COMMAND}`; export r; \
23515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23516 $(HOST_EXPORTS) \
23517 (cd $(HOST_SUBDIR)/libiconv && \
23518 $(MAKE) $(FLAGS_TO_PASS) check)
23520 @endif libiconv
23522 .PHONY: install-libiconv maybe-install-libiconv
23523 maybe-install-libiconv:
23524 @if libiconv
23525 maybe-install-libiconv: install-libiconv
23527 install-libiconv:
23529 @endif libiconv
23531 .PHONY: install-strip-libiconv maybe-install-strip-libiconv
23532 maybe-install-strip-libiconv:
23533 @if libiconv
23534 maybe-install-strip-libiconv: install-strip-libiconv
23536 install-strip-libiconv:
23538 @endif libiconv
23540 # Other targets (info, dvi, pdf, etc.)
23542 .PHONY: maybe-info-libiconv info-libiconv
23543 maybe-info-libiconv:
23544 @if libiconv
23545 maybe-info-libiconv: info-libiconv
23547 info-libiconv: \
23548 configure-libiconv
23549 @: $(MAKE); $(unstage)
23550 @[ -f ./libiconv/Makefile ] || exit 0; \
23551 r=`${PWD_COMMAND}`; export r; \
23552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23553 $(HOST_EXPORTS) \
23554 for flag in $(EXTRA_HOST_FLAGS) ; do \
23555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23556 done; \
23557 echo "Doing info in libiconv" ; \
23558 (cd $(HOST_SUBDIR)/libiconv && \
23559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23561 "RANLIB=$${RANLIB}" \
23562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23563 info) \
23564 || exit 1
23566 @endif libiconv
23568 .PHONY: maybe-dvi-libiconv dvi-libiconv
23569 maybe-dvi-libiconv:
23570 @if libiconv
23571 maybe-dvi-libiconv: dvi-libiconv
23573 dvi-libiconv: \
23574 configure-libiconv
23575 @: $(MAKE); $(unstage)
23576 @[ -f ./libiconv/Makefile ] || exit 0; \
23577 r=`${PWD_COMMAND}`; export r; \
23578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23579 $(HOST_EXPORTS) \
23580 for flag in $(EXTRA_HOST_FLAGS) ; do \
23581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23582 done; \
23583 echo "Doing dvi in libiconv" ; \
23584 (cd $(HOST_SUBDIR)/libiconv && \
23585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23587 "RANLIB=$${RANLIB}" \
23588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23589 dvi) \
23590 || exit 1
23592 @endif libiconv
23594 .PHONY: maybe-pdf-libiconv pdf-libiconv
23595 maybe-pdf-libiconv:
23596 @if libiconv
23597 maybe-pdf-libiconv: pdf-libiconv
23599 pdf-libiconv: \
23600 configure-libiconv
23601 @: $(MAKE); $(unstage)
23602 @[ -f ./libiconv/Makefile ] || exit 0; \
23603 r=`${PWD_COMMAND}`; export r; \
23604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23605 $(HOST_EXPORTS) \
23606 for flag in $(EXTRA_HOST_FLAGS) ; do \
23607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23608 done; \
23609 echo "Doing pdf in libiconv" ; \
23610 (cd $(HOST_SUBDIR)/libiconv && \
23611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23613 "RANLIB=$${RANLIB}" \
23614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23615 pdf) \
23616 || exit 1
23618 @endif libiconv
23620 .PHONY: maybe-html-libiconv html-libiconv
23621 maybe-html-libiconv:
23622 @if libiconv
23623 maybe-html-libiconv: html-libiconv
23625 html-libiconv: \
23626 configure-libiconv
23627 @: $(MAKE); $(unstage)
23628 @[ -f ./libiconv/Makefile ] || exit 0; \
23629 r=`${PWD_COMMAND}`; export r; \
23630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23631 $(HOST_EXPORTS) \
23632 for flag in $(EXTRA_HOST_FLAGS) ; do \
23633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23634 done; \
23635 echo "Doing html in libiconv" ; \
23636 (cd $(HOST_SUBDIR)/libiconv && \
23637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23639 "RANLIB=$${RANLIB}" \
23640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23641 html) \
23642 || exit 1
23644 @endif libiconv
23646 .PHONY: maybe-TAGS-libiconv TAGS-libiconv
23647 maybe-TAGS-libiconv:
23648 @if libiconv
23649 maybe-TAGS-libiconv: TAGS-libiconv
23651 TAGS-libiconv: \
23652 configure-libiconv
23653 @: $(MAKE); $(unstage)
23654 @[ -f ./libiconv/Makefile ] || exit 0; \
23655 r=`${PWD_COMMAND}`; export r; \
23656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23657 $(HOST_EXPORTS) \
23658 for flag in $(EXTRA_HOST_FLAGS) ; do \
23659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23660 done; \
23661 echo "Doing TAGS in libiconv" ; \
23662 (cd $(HOST_SUBDIR)/libiconv && \
23663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23665 "RANLIB=$${RANLIB}" \
23666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23667 TAGS) \
23668 || exit 1
23670 @endif libiconv
23672 .PHONY: maybe-install-info-libiconv install-info-libiconv
23673 maybe-install-info-libiconv:
23674 @if libiconv
23675 maybe-install-info-libiconv: install-info-libiconv
23677 # libiconv doesn't support install-info.
23678 install-info-libiconv:
23680 @endif libiconv
23682 .PHONY: maybe-install-pdf-libiconv install-pdf-libiconv
23683 maybe-install-pdf-libiconv:
23684 @if libiconv
23685 maybe-install-pdf-libiconv: install-pdf-libiconv
23687 # libiconv doesn't support install-pdf.
23688 install-pdf-libiconv:
23690 @endif libiconv
23692 .PHONY: maybe-install-html-libiconv install-html-libiconv
23693 maybe-install-html-libiconv:
23694 @if libiconv
23695 maybe-install-html-libiconv: install-html-libiconv
23697 # libiconv doesn't support install-html.
23698 install-html-libiconv:
23700 @endif libiconv
23702 .PHONY: maybe-installcheck-libiconv installcheck-libiconv
23703 maybe-installcheck-libiconv:
23704 @if libiconv
23705 maybe-installcheck-libiconv: installcheck-libiconv
23707 installcheck-libiconv: \
23708 configure-libiconv
23709 @: $(MAKE); $(unstage)
23710 @[ -f ./libiconv/Makefile ] || exit 0; \
23711 r=`${PWD_COMMAND}`; export r; \
23712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23713 $(HOST_EXPORTS) \
23714 for flag in $(EXTRA_HOST_FLAGS) ; do \
23715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23716 done; \
23717 echo "Doing installcheck in libiconv" ; \
23718 (cd $(HOST_SUBDIR)/libiconv && \
23719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23721 "RANLIB=$${RANLIB}" \
23722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23723 installcheck) \
23724 || exit 1
23726 @endif libiconv
23728 .PHONY: maybe-mostlyclean-libiconv mostlyclean-libiconv
23729 maybe-mostlyclean-libiconv:
23730 @if libiconv
23731 maybe-mostlyclean-libiconv: mostlyclean-libiconv
23733 mostlyclean-libiconv:
23734 @: $(MAKE); $(unstage)
23735 @[ -f ./libiconv/Makefile ] || exit 0; \
23736 r=`${PWD_COMMAND}`; export r; \
23737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23738 $(HOST_EXPORTS) \
23739 for flag in $(EXTRA_HOST_FLAGS) ; do \
23740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23741 done; \
23742 echo "Doing mostlyclean in libiconv" ; \
23743 (cd $(HOST_SUBDIR)/libiconv && \
23744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23746 "RANLIB=$${RANLIB}" \
23747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23748 mostlyclean) \
23749 || exit 1
23751 @endif libiconv
23753 .PHONY: maybe-clean-libiconv clean-libiconv
23754 maybe-clean-libiconv:
23755 @if libiconv
23756 maybe-clean-libiconv: clean-libiconv
23758 clean-libiconv:
23759 @: $(MAKE); $(unstage)
23760 @[ -f ./libiconv/Makefile ] || exit 0; \
23761 r=`${PWD_COMMAND}`; export r; \
23762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23763 $(HOST_EXPORTS) \
23764 for flag in $(EXTRA_HOST_FLAGS) ; do \
23765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23766 done; \
23767 echo "Doing clean in libiconv" ; \
23768 (cd $(HOST_SUBDIR)/libiconv && \
23769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23771 "RANLIB=$${RANLIB}" \
23772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23773 clean) \
23774 || exit 1
23776 @endif libiconv
23778 .PHONY: maybe-distclean-libiconv distclean-libiconv
23779 maybe-distclean-libiconv:
23780 @if libiconv
23781 maybe-distclean-libiconv: distclean-libiconv
23783 distclean-libiconv:
23784 @: $(MAKE); $(unstage)
23785 @[ -f ./libiconv/Makefile ] || exit 0; \
23786 r=`${PWD_COMMAND}`; export r; \
23787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23788 $(HOST_EXPORTS) \
23789 for flag in $(EXTRA_HOST_FLAGS) ; do \
23790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23791 done; \
23792 echo "Doing distclean in libiconv" ; \
23793 (cd $(HOST_SUBDIR)/libiconv && \
23794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23796 "RANLIB=$${RANLIB}" \
23797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23798 distclean) \
23799 || exit 1
23801 @endif libiconv
23803 .PHONY: maybe-maintainer-clean-libiconv maintainer-clean-libiconv
23804 maybe-maintainer-clean-libiconv:
23805 @if libiconv
23806 maybe-maintainer-clean-libiconv: maintainer-clean-libiconv
23808 maintainer-clean-libiconv:
23809 @: $(MAKE); $(unstage)
23810 @[ -f ./libiconv/Makefile ] || exit 0; \
23811 r=`${PWD_COMMAND}`; export r; \
23812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23813 $(HOST_EXPORTS) \
23814 for flag in $(EXTRA_HOST_FLAGS) ; do \
23815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23816 done; \
23817 echo "Doing maintainer-clean in libiconv" ; \
23818 (cd $(HOST_SUBDIR)/libiconv && \
23819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23821 "RANLIB=$${RANLIB}" \
23822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23823 maintainer-clean) \
23824 || exit 1
23826 @endif libiconv
23830 .PHONY: configure-m4 maybe-configure-m4
23831 maybe-configure-m4:
23832 @if gcc-bootstrap
23833 configure-m4: stage_current
23834 @endif gcc-bootstrap
23835 @if m4
23836 maybe-configure-m4: configure-m4
23837 configure-m4:
23838 @: $(MAKE); $(unstage)
23839 @r=`${PWD_COMMAND}`; export r; \
23840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23841 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
23842 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
23843 $(HOST_EXPORTS) \
23844 echo Configuring in $(HOST_SUBDIR)/m4; \
23845 cd "$(HOST_SUBDIR)/m4" || exit 1; \
23846 case $(srcdir) in \
23847 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23848 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
23849 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23850 esac; \
23851 srcdiroption="--srcdir=$${topdir}/m4"; \
23852 libsrcdir="$$s/m4"; \
23853 $(SHELL) $${libsrcdir}/configure \
23854 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23855 --target=${target_alias} $${srcdiroption} \
23856 || exit 1
23857 @endif m4
23863 .PHONY: all-m4 maybe-all-m4
23864 maybe-all-m4:
23865 @if gcc-bootstrap
23866 all-m4: stage_current
23867 @endif gcc-bootstrap
23868 @if m4
23869 TARGET-m4=all
23870 maybe-all-m4: all-m4
23871 all-m4: configure-m4
23872 @: $(MAKE); $(unstage)
23873 @r=`${PWD_COMMAND}`; export r; \
23874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23875 $(HOST_EXPORTS) \
23876 (cd $(HOST_SUBDIR)/m4 && \
23877 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
23878 $(TARGET-m4))
23879 @endif m4
23884 .PHONY: check-m4 maybe-check-m4
23885 maybe-check-m4:
23886 @if m4
23887 maybe-check-m4: check-m4
23889 check-m4:
23890 @: $(MAKE); $(unstage)
23891 @r=`${PWD_COMMAND}`; export r; \
23892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23893 $(HOST_EXPORTS) \
23894 (cd $(HOST_SUBDIR)/m4 && \
23895 $(MAKE) $(FLAGS_TO_PASS) check)
23897 @endif m4
23899 .PHONY: install-m4 maybe-install-m4
23900 maybe-install-m4:
23901 @if m4
23902 maybe-install-m4: install-m4
23904 install-m4: installdirs
23905 @: $(MAKE); $(unstage)
23906 @r=`${PWD_COMMAND}`; export r; \
23907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23908 $(HOST_EXPORTS) \
23909 (cd $(HOST_SUBDIR)/m4 && \
23910 $(MAKE) $(FLAGS_TO_PASS) install)
23912 @endif m4
23914 .PHONY: install-strip-m4 maybe-install-strip-m4
23915 maybe-install-strip-m4:
23916 @if m4
23917 maybe-install-strip-m4: install-strip-m4
23919 install-strip-m4: installdirs
23920 @: $(MAKE); $(unstage)
23921 @r=`${PWD_COMMAND}`; export r; \
23922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23923 $(HOST_EXPORTS) \
23924 (cd $(HOST_SUBDIR)/m4 && \
23925 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23927 @endif m4
23929 # Other targets (info, dvi, pdf, etc.)
23931 .PHONY: maybe-info-m4 info-m4
23932 maybe-info-m4:
23933 @if m4
23934 maybe-info-m4: info-m4
23936 info-m4: \
23937 configure-m4
23938 @: $(MAKE); $(unstage)
23939 @[ -f ./m4/Makefile ] || exit 0; \
23940 r=`${PWD_COMMAND}`; export r; \
23941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23942 $(HOST_EXPORTS) \
23943 for flag in $(EXTRA_HOST_FLAGS) ; do \
23944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23945 done; \
23946 echo "Doing info in m4" ; \
23947 (cd $(HOST_SUBDIR)/m4 && \
23948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23950 "RANLIB=$${RANLIB}" \
23951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23952 info) \
23953 || exit 1
23955 @endif m4
23957 .PHONY: maybe-dvi-m4 dvi-m4
23958 maybe-dvi-m4:
23959 @if m4
23960 maybe-dvi-m4: dvi-m4
23962 dvi-m4: \
23963 configure-m4
23964 @: $(MAKE); $(unstage)
23965 @[ -f ./m4/Makefile ] || exit 0; \
23966 r=`${PWD_COMMAND}`; export r; \
23967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23968 $(HOST_EXPORTS) \
23969 for flag in $(EXTRA_HOST_FLAGS) ; do \
23970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23971 done; \
23972 echo "Doing dvi in m4" ; \
23973 (cd $(HOST_SUBDIR)/m4 && \
23974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23976 "RANLIB=$${RANLIB}" \
23977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23978 dvi) \
23979 || exit 1
23981 @endif m4
23983 .PHONY: maybe-pdf-m4 pdf-m4
23984 maybe-pdf-m4:
23985 @if m4
23986 maybe-pdf-m4: pdf-m4
23988 pdf-m4: \
23989 configure-m4
23990 @: $(MAKE); $(unstage)
23991 @[ -f ./m4/Makefile ] || exit 0; \
23992 r=`${PWD_COMMAND}`; export r; \
23993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23994 $(HOST_EXPORTS) \
23995 for flag in $(EXTRA_HOST_FLAGS) ; do \
23996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23997 done; \
23998 echo "Doing pdf in m4" ; \
23999 (cd $(HOST_SUBDIR)/m4 && \
24000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24002 "RANLIB=$${RANLIB}" \
24003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24004 pdf) \
24005 || exit 1
24007 @endif m4
24009 .PHONY: maybe-html-m4 html-m4
24010 maybe-html-m4:
24011 @if m4
24012 maybe-html-m4: html-m4
24014 html-m4: \
24015 configure-m4
24016 @: $(MAKE); $(unstage)
24017 @[ -f ./m4/Makefile ] || exit 0; \
24018 r=`${PWD_COMMAND}`; export r; \
24019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24020 $(HOST_EXPORTS) \
24021 for flag in $(EXTRA_HOST_FLAGS) ; do \
24022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24023 done; \
24024 echo "Doing html in m4" ; \
24025 (cd $(HOST_SUBDIR)/m4 && \
24026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24028 "RANLIB=$${RANLIB}" \
24029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24030 html) \
24031 || exit 1
24033 @endif m4
24035 .PHONY: maybe-TAGS-m4 TAGS-m4
24036 maybe-TAGS-m4:
24037 @if m4
24038 maybe-TAGS-m4: TAGS-m4
24040 TAGS-m4: \
24041 configure-m4
24042 @: $(MAKE); $(unstage)
24043 @[ -f ./m4/Makefile ] || exit 0; \
24044 r=`${PWD_COMMAND}`; export r; \
24045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24046 $(HOST_EXPORTS) \
24047 for flag in $(EXTRA_HOST_FLAGS) ; do \
24048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24049 done; \
24050 echo "Doing TAGS in m4" ; \
24051 (cd $(HOST_SUBDIR)/m4 && \
24052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24054 "RANLIB=$${RANLIB}" \
24055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24056 TAGS) \
24057 || exit 1
24059 @endif m4
24061 .PHONY: maybe-install-info-m4 install-info-m4
24062 maybe-install-info-m4:
24063 @if m4
24064 maybe-install-info-m4: install-info-m4
24066 install-info-m4: \
24067 configure-m4 \
24068 info-m4
24069 @: $(MAKE); $(unstage)
24070 @[ -f ./m4/Makefile ] || exit 0; \
24071 r=`${PWD_COMMAND}`; export r; \
24072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24073 $(HOST_EXPORTS) \
24074 for flag in $(EXTRA_HOST_FLAGS) ; do \
24075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24076 done; \
24077 echo "Doing install-info in m4" ; \
24078 (cd $(HOST_SUBDIR)/m4 && \
24079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24081 "RANLIB=$${RANLIB}" \
24082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24083 install-info) \
24084 || exit 1
24086 @endif m4
24088 .PHONY: maybe-install-pdf-m4 install-pdf-m4
24089 maybe-install-pdf-m4:
24090 @if m4
24091 maybe-install-pdf-m4: install-pdf-m4
24093 install-pdf-m4: \
24094 configure-m4 \
24095 pdf-m4
24096 @: $(MAKE); $(unstage)
24097 @[ -f ./m4/Makefile ] || exit 0; \
24098 r=`${PWD_COMMAND}`; export r; \
24099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24100 $(HOST_EXPORTS) \
24101 for flag in $(EXTRA_HOST_FLAGS) ; do \
24102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24103 done; \
24104 echo "Doing install-pdf in m4" ; \
24105 (cd $(HOST_SUBDIR)/m4 && \
24106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24108 "RANLIB=$${RANLIB}" \
24109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24110 install-pdf) \
24111 || exit 1
24113 @endif m4
24115 .PHONY: maybe-install-html-m4 install-html-m4
24116 maybe-install-html-m4:
24117 @if m4
24118 maybe-install-html-m4: install-html-m4
24120 install-html-m4: \
24121 configure-m4 \
24122 html-m4
24123 @: $(MAKE); $(unstage)
24124 @[ -f ./m4/Makefile ] || exit 0; \
24125 r=`${PWD_COMMAND}`; export r; \
24126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24127 $(HOST_EXPORTS) \
24128 for flag in $(EXTRA_HOST_FLAGS) ; do \
24129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24130 done; \
24131 echo "Doing install-html in m4" ; \
24132 (cd $(HOST_SUBDIR)/m4 && \
24133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24135 "RANLIB=$${RANLIB}" \
24136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24137 install-html) \
24138 || exit 1
24140 @endif m4
24142 .PHONY: maybe-installcheck-m4 installcheck-m4
24143 maybe-installcheck-m4:
24144 @if m4
24145 maybe-installcheck-m4: installcheck-m4
24147 installcheck-m4: \
24148 configure-m4
24149 @: $(MAKE); $(unstage)
24150 @[ -f ./m4/Makefile ] || exit 0; \
24151 r=`${PWD_COMMAND}`; export r; \
24152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24153 $(HOST_EXPORTS) \
24154 for flag in $(EXTRA_HOST_FLAGS) ; do \
24155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24156 done; \
24157 echo "Doing installcheck in m4" ; \
24158 (cd $(HOST_SUBDIR)/m4 && \
24159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24161 "RANLIB=$${RANLIB}" \
24162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24163 installcheck) \
24164 || exit 1
24166 @endif m4
24168 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
24169 maybe-mostlyclean-m4:
24170 @if m4
24171 maybe-mostlyclean-m4: mostlyclean-m4
24173 mostlyclean-m4:
24174 @: $(MAKE); $(unstage)
24175 @[ -f ./m4/Makefile ] || exit 0; \
24176 r=`${PWD_COMMAND}`; export r; \
24177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24178 $(HOST_EXPORTS) \
24179 for flag in $(EXTRA_HOST_FLAGS) ; do \
24180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24181 done; \
24182 echo "Doing mostlyclean in m4" ; \
24183 (cd $(HOST_SUBDIR)/m4 && \
24184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24186 "RANLIB=$${RANLIB}" \
24187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24188 mostlyclean) \
24189 || exit 1
24191 @endif m4
24193 .PHONY: maybe-clean-m4 clean-m4
24194 maybe-clean-m4:
24195 @if m4
24196 maybe-clean-m4: clean-m4
24198 clean-m4:
24199 @: $(MAKE); $(unstage)
24200 @[ -f ./m4/Makefile ] || exit 0; \
24201 r=`${PWD_COMMAND}`; export r; \
24202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24203 $(HOST_EXPORTS) \
24204 for flag in $(EXTRA_HOST_FLAGS) ; do \
24205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24206 done; \
24207 echo "Doing clean in m4" ; \
24208 (cd $(HOST_SUBDIR)/m4 && \
24209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24211 "RANLIB=$${RANLIB}" \
24212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24213 clean) \
24214 || exit 1
24216 @endif m4
24218 .PHONY: maybe-distclean-m4 distclean-m4
24219 maybe-distclean-m4:
24220 @if m4
24221 maybe-distclean-m4: distclean-m4
24223 distclean-m4:
24224 @: $(MAKE); $(unstage)
24225 @[ -f ./m4/Makefile ] || exit 0; \
24226 r=`${PWD_COMMAND}`; export r; \
24227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24228 $(HOST_EXPORTS) \
24229 for flag in $(EXTRA_HOST_FLAGS) ; do \
24230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24231 done; \
24232 echo "Doing distclean in m4" ; \
24233 (cd $(HOST_SUBDIR)/m4 && \
24234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24236 "RANLIB=$${RANLIB}" \
24237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24238 distclean) \
24239 || exit 1
24241 @endif m4
24243 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
24244 maybe-maintainer-clean-m4:
24245 @if m4
24246 maybe-maintainer-clean-m4: maintainer-clean-m4
24248 maintainer-clean-m4:
24249 @: $(MAKE); $(unstage)
24250 @[ -f ./m4/Makefile ] || exit 0; \
24251 r=`${PWD_COMMAND}`; export r; \
24252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24253 $(HOST_EXPORTS) \
24254 for flag in $(EXTRA_HOST_FLAGS) ; do \
24255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24256 done; \
24257 echo "Doing maintainer-clean in m4" ; \
24258 (cd $(HOST_SUBDIR)/m4 && \
24259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24261 "RANLIB=$${RANLIB}" \
24262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24263 maintainer-clean) \
24264 || exit 1
24266 @endif m4
24270 .PHONY: configure-readline maybe-configure-readline
24271 maybe-configure-readline:
24272 @if gcc-bootstrap
24273 configure-readline: stage_current
24274 @endif gcc-bootstrap
24275 @if readline
24276 maybe-configure-readline: configure-readline
24277 configure-readline:
24278 @: $(MAKE); $(unstage)
24279 @r=`${PWD_COMMAND}`; export r; \
24280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24281 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
24282 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
24283 $(HOST_EXPORTS) \
24284 echo Configuring in $(HOST_SUBDIR)/readline; \
24285 cd "$(HOST_SUBDIR)/readline" || exit 1; \
24286 case $(srcdir) in \
24287 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24288 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
24289 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24290 esac; \
24291 srcdiroption="--srcdir=$${topdir}/readline"; \
24292 libsrcdir="$$s/readline"; \
24293 $(SHELL) $${libsrcdir}/configure \
24294 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24295 --target=${target_alias} $${srcdiroption} \
24296 || exit 1
24297 @endif readline
24303 .PHONY: all-readline maybe-all-readline
24304 maybe-all-readline:
24305 @if gcc-bootstrap
24306 all-readline: stage_current
24307 @endif gcc-bootstrap
24308 @if readline
24309 TARGET-readline=all
24310 maybe-all-readline: all-readline
24311 all-readline: configure-readline
24312 @: $(MAKE); $(unstage)
24313 @r=`${PWD_COMMAND}`; export r; \
24314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24315 $(HOST_EXPORTS) \
24316 (cd $(HOST_SUBDIR)/readline && \
24317 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
24318 $(TARGET-readline))
24319 @endif readline
24324 .PHONY: check-readline maybe-check-readline
24325 maybe-check-readline:
24326 @if readline
24327 maybe-check-readline: check-readline
24329 check-readline:
24330 @: $(MAKE); $(unstage)
24331 @r=`${PWD_COMMAND}`; export r; \
24332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24333 $(HOST_EXPORTS) \
24334 (cd $(HOST_SUBDIR)/readline && \
24335 $(MAKE) $(FLAGS_TO_PASS) check)
24337 @endif readline
24339 .PHONY: install-readline maybe-install-readline
24340 maybe-install-readline:
24341 @if readline
24342 maybe-install-readline: install-readline
24344 install-readline: installdirs
24345 @: $(MAKE); $(unstage)
24346 @r=`${PWD_COMMAND}`; export r; \
24347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24348 $(HOST_EXPORTS) \
24349 (cd $(HOST_SUBDIR)/readline && \
24350 $(MAKE) $(FLAGS_TO_PASS) install)
24352 @endif readline
24354 .PHONY: install-strip-readline maybe-install-strip-readline
24355 maybe-install-strip-readline:
24356 @if readline
24357 maybe-install-strip-readline: install-strip-readline
24359 install-strip-readline: installdirs
24360 @: $(MAKE); $(unstage)
24361 @r=`${PWD_COMMAND}`; export r; \
24362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24363 $(HOST_EXPORTS) \
24364 (cd $(HOST_SUBDIR)/readline && \
24365 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24367 @endif readline
24369 # Other targets (info, dvi, pdf, etc.)
24371 .PHONY: maybe-info-readline info-readline
24372 maybe-info-readline:
24373 @if readline
24374 maybe-info-readline: info-readline
24376 info-readline: \
24377 configure-readline
24378 @: $(MAKE); $(unstage)
24379 @[ -f ./readline/Makefile ] || exit 0; \
24380 r=`${PWD_COMMAND}`; export r; \
24381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24382 $(HOST_EXPORTS) \
24383 for flag in $(EXTRA_HOST_FLAGS) ; do \
24384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24385 done; \
24386 echo "Doing info in readline" ; \
24387 (cd $(HOST_SUBDIR)/readline && \
24388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24390 "RANLIB=$${RANLIB}" \
24391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24392 info) \
24393 || exit 1
24395 @endif readline
24397 .PHONY: maybe-dvi-readline dvi-readline
24398 maybe-dvi-readline:
24399 @if readline
24400 maybe-dvi-readline: dvi-readline
24402 dvi-readline: \
24403 configure-readline
24404 @: $(MAKE); $(unstage)
24405 @[ -f ./readline/Makefile ] || exit 0; \
24406 r=`${PWD_COMMAND}`; export r; \
24407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24408 $(HOST_EXPORTS) \
24409 for flag in $(EXTRA_HOST_FLAGS) ; do \
24410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24411 done; \
24412 echo "Doing dvi in readline" ; \
24413 (cd $(HOST_SUBDIR)/readline && \
24414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24416 "RANLIB=$${RANLIB}" \
24417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24418 dvi) \
24419 || exit 1
24421 @endif readline
24423 .PHONY: maybe-pdf-readline pdf-readline
24424 maybe-pdf-readline:
24425 @if readline
24426 maybe-pdf-readline: pdf-readline
24428 pdf-readline: \
24429 configure-readline
24430 @: $(MAKE); $(unstage)
24431 @[ -f ./readline/Makefile ] || exit 0; \
24432 r=`${PWD_COMMAND}`; export r; \
24433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24434 $(HOST_EXPORTS) \
24435 for flag in $(EXTRA_HOST_FLAGS) ; do \
24436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24437 done; \
24438 echo "Doing pdf in readline" ; \
24439 (cd $(HOST_SUBDIR)/readline && \
24440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24442 "RANLIB=$${RANLIB}" \
24443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24444 pdf) \
24445 || exit 1
24447 @endif readline
24449 .PHONY: maybe-html-readline html-readline
24450 maybe-html-readline:
24451 @if readline
24452 maybe-html-readline: html-readline
24454 html-readline: \
24455 configure-readline
24456 @: $(MAKE); $(unstage)
24457 @[ -f ./readline/Makefile ] || exit 0; \
24458 r=`${PWD_COMMAND}`; export r; \
24459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24460 $(HOST_EXPORTS) \
24461 for flag in $(EXTRA_HOST_FLAGS) ; do \
24462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24463 done; \
24464 echo "Doing html in readline" ; \
24465 (cd $(HOST_SUBDIR)/readline && \
24466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24468 "RANLIB=$${RANLIB}" \
24469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24470 html) \
24471 || exit 1
24473 @endif readline
24475 .PHONY: maybe-TAGS-readline TAGS-readline
24476 maybe-TAGS-readline:
24477 @if readline
24478 maybe-TAGS-readline: TAGS-readline
24480 TAGS-readline: \
24481 configure-readline
24482 @: $(MAKE); $(unstage)
24483 @[ -f ./readline/Makefile ] || exit 0; \
24484 r=`${PWD_COMMAND}`; export r; \
24485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24486 $(HOST_EXPORTS) \
24487 for flag in $(EXTRA_HOST_FLAGS) ; do \
24488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24489 done; \
24490 echo "Doing TAGS in readline" ; \
24491 (cd $(HOST_SUBDIR)/readline && \
24492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24494 "RANLIB=$${RANLIB}" \
24495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24496 TAGS) \
24497 || exit 1
24499 @endif readline
24501 .PHONY: maybe-install-info-readline install-info-readline
24502 maybe-install-info-readline:
24503 @if readline
24504 maybe-install-info-readline: install-info-readline
24506 install-info-readline: \
24507 configure-readline \
24508 info-readline
24509 @: $(MAKE); $(unstage)
24510 @[ -f ./readline/Makefile ] || exit 0; \
24511 r=`${PWD_COMMAND}`; export r; \
24512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24513 $(HOST_EXPORTS) \
24514 for flag in $(EXTRA_HOST_FLAGS) ; do \
24515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24516 done; \
24517 echo "Doing install-info in readline" ; \
24518 (cd $(HOST_SUBDIR)/readline && \
24519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24521 "RANLIB=$${RANLIB}" \
24522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24523 install-info) \
24524 || exit 1
24526 @endif readline
24528 .PHONY: maybe-install-pdf-readline install-pdf-readline
24529 maybe-install-pdf-readline:
24530 @if readline
24531 maybe-install-pdf-readline: install-pdf-readline
24533 install-pdf-readline: \
24534 configure-readline \
24535 pdf-readline
24536 @: $(MAKE); $(unstage)
24537 @[ -f ./readline/Makefile ] || exit 0; \
24538 r=`${PWD_COMMAND}`; export r; \
24539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24540 $(HOST_EXPORTS) \
24541 for flag in $(EXTRA_HOST_FLAGS) ; do \
24542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24543 done; \
24544 echo "Doing install-pdf in readline" ; \
24545 (cd $(HOST_SUBDIR)/readline && \
24546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24548 "RANLIB=$${RANLIB}" \
24549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24550 install-pdf) \
24551 || exit 1
24553 @endif readline
24555 .PHONY: maybe-install-html-readline install-html-readline
24556 maybe-install-html-readline:
24557 @if readline
24558 maybe-install-html-readline: install-html-readline
24560 install-html-readline: \
24561 configure-readline \
24562 html-readline
24563 @: $(MAKE); $(unstage)
24564 @[ -f ./readline/Makefile ] || exit 0; \
24565 r=`${PWD_COMMAND}`; export r; \
24566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24567 $(HOST_EXPORTS) \
24568 for flag in $(EXTRA_HOST_FLAGS) ; do \
24569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24570 done; \
24571 echo "Doing install-html in readline" ; \
24572 (cd $(HOST_SUBDIR)/readline && \
24573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24575 "RANLIB=$${RANLIB}" \
24576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24577 install-html) \
24578 || exit 1
24580 @endif readline
24582 .PHONY: maybe-installcheck-readline installcheck-readline
24583 maybe-installcheck-readline:
24584 @if readline
24585 maybe-installcheck-readline: installcheck-readline
24587 installcheck-readline: \
24588 configure-readline
24589 @: $(MAKE); $(unstage)
24590 @[ -f ./readline/Makefile ] || exit 0; \
24591 r=`${PWD_COMMAND}`; export r; \
24592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24593 $(HOST_EXPORTS) \
24594 for flag in $(EXTRA_HOST_FLAGS) ; do \
24595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24596 done; \
24597 echo "Doing installcheck in readline" ; \
24598 (cd $(HOST_SUBDIR)/readline && \
24599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24601 "RANLIB=$${RANLIB}" \
24602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24603 installcheck) \
24604 || exit 1
24606 @endif readline
24608 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
24609 maybe-mostlyclean-readline:
24610 @if readline
24611 maybe-mostlyclean-readline: mostlyclean-readline
24613 mostlyclean-readline:
24614 @: $(MAKE); $(unstage)
24615 @[ -f ./readline/Makefile ] || exit 0; \
24616 r=`${PWD_COMMAND}`; export r; \
24617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24618 $(HOST_EXPORTS) \
24619 for flag in $(EXTRA_HOST_FLAGS) ; do \
24620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24621 done; \
24622 echo "Doing mostlyclean in readline" ; \
24623 (cd $(HOST_SUBDIR)/readline && \
24624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24626 "RANLIB=$${RANLIB}" \
24627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24628 mostlyclean) \
24629 || exit 1
24631 @endif readline
24633 .PHONY: maybe-clean-readline clean-readline
24634 maybe-clean-readline:
24635 @if readline
24636 maybe-clean-readline: clean-readline
24638 clean-readline:
24639 @: $(MAKE); $(unstage)
24640 @[ -f ./readline/Makefile ] || exit 0; \
24641 r=`${PWD_COMMAND}`; export r; \
24642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24643 $(HOST_EXPORTS) \
24644 for flag in $(EXTRA_HOST_FLAGS) ; do \
24645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24646 done; \
24647 echo "Doing clean in readline" ; \
24648 (cd $(HOST_SUBDIR)/readline && \
24649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24651 "RANLIB=$${RANLIB}" \
24652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24653 clean) \
24654 || exit 1
24656 @endif readline
24658 .PHONY: maybe-distclean-readline distclean-readline
24659 maybe-distclean-readline:
24660 @if readline
24661 maybe-distclean-readline: distclean-readline
24663 distclean-readline:
24664 @: $(MAKE); $(unstage)
24665 @[ -f ./readline/Makefile ] || exit 0; \
24666 r=`${PWD_COMMAND}`; export r; \
24667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24668 $(HOST_EXPORTS) \
24669 for flag in $(EXTRA_HOST_FLAGS) ; do \
24670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24671 done; \
24672 echo "Doing distclean in readline" ; \
24673 (cd $(HOST_SUBDIR)/readline && \
24674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24676 "RANLIB=$${RANLIB}" \
24677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24678 distclean) \
24679 || exit 1
24681 @endif readline
24683 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
24684 maybe-maintainer-clean-readline:
24685 @if readline
24686 maybe-maintainer-clean-readline: maintainer-clean-readline
24688 maintainer-clean-readline:
24689 @: $(MAKE); $(unstage)
24690 @[ -f ./readline/Makefile ] || exit 0; \
24691 r=`${PWD_COMMAND}`; export r; \
24692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24693 $(HOST_EXPORTS) \
24694 for flag in $(EXTRA_HOST_FLAGS) ; do \
24695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24696 done; \
24697 echo "Doing maintainer-clean in readline" ; \
24698 (cd $(HOST_SUBDIR)/readline && \
24699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24701 "RANLIB=$${RANLIB}" \
24702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24703 maintainer-clean) \
24704 || exit 1
24706 @endif readline
24710 .PHONY: configure-sid maybe-configure-sid
24711 maybe-configure-sid:
24712 @if gcc-bootstrap
24713 configure-sid: stage_current
24714 @endif gcc-bootstrap
24715 @if sid
24716 maybe-configure-sid: configure-sid
24717 configure-sid:
24718 @: $(MAKE); $(unstage)
24719 @r=`${PWD_COMMAND}`; export r; \
24720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24721 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
24722 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
24723 $(HOST_EXPORTS) \
24724 echo Configuring in $(HOST_SUBDIR)/sid; \
24725 cd "$(HOST_SUBDIR)/sid" || exit 1; \
24726 case $(srcdir) in \
24727 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24728 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
24729 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24730 esac; \
24731 srcdiroption="--srcdir=$${topdir}/sid"; \
24732 libsrcdir="$$s/sid"; \
24733 $(SHELL) $${libsrcdir}/configure \
24734 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24735 --target=${target_alias} $${srcdiroption} \
24736 || exit 1
24737 @endif sid
24743 .PHONY: all-sid maybe-all-sid
24744 maybe-all-sid:
24745 @if gcc-bootstrap
24746 all-sid: stage_current
24747 @endif gcc-bootstrap
24748 @if sid
24749 TARGET-sid=all
24750 maybe-all-sid: all-sid
24751 all-sid: configure-sid
24752 @: $(MAKE); $(unstage)
24753 @r=`${PWD_COMMAND}`; export r; \
24754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24755 $(HOST_EXPORTS) \
24756 (cd $(HOST_SUBDIR)/sid && \
24757 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
24758 $(TARGET-sid))
24759 @endif sid
24764 .PHONY: check-sid maybe-check-sid
24765 maybe-check-sid:
24766 @if sid
24767 maybe-check-sid: check-sid
24769 check-sid:
24770 @: $(MAKE); $(unstage)
24771 @r=`${PWD_COMMAND}`; export r; \
24772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24773 $(HOST_EXPORTS) \
24774 (cd $(HOST_SUBDIR)/sid && \
24775 $(MAKE) $(FLAGS_TO_PASS) check)
24777 @endif sid
24779 .PHONY: install-sid maybe-install-sid
24780 maybe-install-sid:
24781 @if sid
24782 maybe-install-sid: install-sid
24784 install-sid: installdirs
24785 @: $(MAKE); $(unstage)
24786 @r=`${PWD_COMMAND}`; export r; \
24787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24788 $(HOST_EXPORTS) \
24789 (cd $(HOST_SUBDIR)/sid && \
24790 $(MAKE) $(FLAGS_TO_PASS) install)
24792 @endif sid
24794 .PHONY: install-strip-sid maybe-install-strip-sid
24795 maybe-install-strip-sid:
24796 @if sid
24797 maybe-install-strip-sid: install-strip-sid
24799 install-strip-sid: installdirs
24800 @: $(MAKE); $(unstage)
24801 @r=`${PWD_COMMAND}`; export r; \
24802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24803 $(HOST_EXPORTS) \
24804 (cd $(HOST_SUBDIR)/sid && \
24805 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24807 @endif sid
24809 # Other targets (info, dvi, pdf, etc.)
24811 .PHONY: maybe-info-sid info-sid
24812 maybe-info-sid:
24813 @if sid
24814 maybe-info-sid: info-sid
24816 info-sid: \
24817 configure-sid
24818 @: $(MAKE); $(unstage)
24819 @[ -f ./sid/Makefile ] || exit 0; \
24820 r=`${PWD_COMMAND}`; export r; \
24821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24822 $(HOST_EXPORTS) \
24823 for flag in $(EXTRA_HOST_FLAGS) ; do \
24824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24825 done; \
24826 echo "Doing info in sid" ; \
24827 (cd $(HOST_SUBDIR)/sid && \
24828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24830 "RANLIB=$${RANLIB}" \
24831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24832 info) \
24833 || exit 1
24835 @endif sid
24837 .PHONY: maybe-dvi-sid dvi-sid
24838 maybe-dvi-sid:
24839 @if sid
24840 maybe-dvi-sid: dvi-sid
24842 dvi-sid: \
24843 configure-sid
24844 @: $(MAKE); $(unstage)
24845 @[ -f ./sid/Makefile ] || exit 0; \
24846 r=`${PWD_COMMAND}`; export r; \
24847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24848 $(HOST_EXPORTS) \
24849 for flag in $(EXTRA_HOST_FLAGS) ; do \
24850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24851 done; \
24852 echo "Doing dvi in sid" ; \
24853 (cd $(HOST_SUBDIR)/sid && \
24854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24856 "RANLIB=$${RANLIB}" \
24857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24858 dvi) \
24859 || exit 1
24861 @endif sid
24863 .PHONY: maybe-pdf-sid pdf-sid
24864 maybe-pdf-sid:
24865 @if sid
24866 maybe-pdf-sid: pdf-sid
24868 pdf-sid: \
24869 configure-sid
24870 @: $(MAKE); $(unstage)
24871 @[ -f ./sid/Makefile ] || exit 0; \
24872 r=`${PWD_COMMAND}`; export r; \
24873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24874 $(HOST_EXPORTS) \
24875 for flag in $(EXTRA_HOST_FLAGS) ; do \
24876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24877 done; \
24878 echo "Doing pdf in sid" ; \
24879 (cd $(HOST_SUBDIR)/sid && \
24880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24882 "RANLIB=$${RANLIB}" \
24883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24884 pdf) \
24885 || exit 1
24887 @endif sid
24889 .PHONY: maybe-html-sid html-sid
24890 maybe-html-sid:
24891 @if sid
24892 maybe-html-sid: html-sid
24894 html-sid: \
24895 configure-sid
24896 @: $(MAKE); $(unstage)
24897 @[ -f ./sid/Makefile ] || exit 0; \
24898 r=`${PWD_COMMAND}`; export r; \
24899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24900 $(HOST_EXPORTS) \
24901 for flag in $(EXTRA_HOST_FLAGS) ; do \
24902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24903 done; \
24904 echo "Doing html in sid" ; \
24905 (cd $(HOST_SUBDIR)/sid && \
24906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24908 "RANLIB=$${RANLIB}" \
24909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24910 html) \
24911 || exit 1
24913 @endif sid
24915 .PHONY: maybe-TAGS-sid TAGS-sid
24916 maybe-TAGS-sid:
24917 @if sid
24918 maybe-TAGS-sid: TAGS-sid
24920 TAGS-sid: \
24921 configure-sid
24922 @: $(MAKE); $(unstage)
24923 @[ -f ./sid/Makefile ] || exit 0; \
24924 r=`${PWD_COMMAND}`; export r; \
24925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24926 $(HOST_EXPORTS) \
24927 for flag in $(EXTRA_HOST_FLAGS) ; do \
24928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24929 done; \
24930 echo "Doing TAGS in sid" ; \
24931 (cd $(HOST_SUBDIR)/sid && \
24932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24934 "RANLIB=$${RANLIB}" \
24935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24936 TAGS) \
24937 || exit 1
24939 @endif sid
24941 .PHONY: maybe-install-info-sid install-info-sid
24942 maybe-install-info-sid:
24943 @if sid
24944 maybe-install-info-sid: install-info-sid
24946 install-info-sid: \
24947 configure-sid \
24948 info-sid
24949 @: $(MAKE); $(unstage)
24950 @[ -f ./sid/Makefile ] || exit 0; \
24951 r=`${PWD_COMMAND}`; export r; \
24952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24953 $(HOST_EXPORTS) \
24954 for flag in $(EXTRA_HOST_FLAGS) ; do \
24955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24956 done; \
24957 echo "Doing install-info in sid" ; \
24958 (cd $(HOST_SUBDIR)/sid && \
24959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24961 "RANLIB=$${RANLIB}" \
24962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24963 install-info) \
24964 || exit 1
24966 @endif sid
24968 .PHONY: maybe-install-pdf-sid install-pdf-sid
24969 maybe-install-pdf-sid:
24970 @if sid
24971 maybe-install-pdf-sid: install-pdf-sid
24973 install-pdf-sid: \
24974 configure-sid \
24975 pdf-sid
24976 @: $(MAKE); $(unstage)
24977 @[ -f ./sid/Makefile ] || exit 0; \
24978 r=`${PWD_COMMAND}`; export r; \
24979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24980 $(HOST_EXPORTS) \
24981 for flag in $(EXTRA_HOST_FLAGS) ; do \
24982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24983 done; \
24984 echo "Doing install-pdf in sid" ; \
24985 (cd $(HOST_SUBDIR)/sid && \
24986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24988 "RANLIB=$${RANLIB}" \
24989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24990 install-pdf) \
24991 || exit 1
24993 @endif sid
24995 .PHONY: maybe-install-html-sid install-html-sid
24996 maybe-install-html-sid:
24997 @if sid
24998 maybe-install-html-sid: install-html-sid
25000 install-html-sid: \
25001 configure-sid \
25002 html-sid
25003 @: $(MAKE); $(unstage)
25004 @[ -f ./sid/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 install-html in sid" ; \
25012 (cd $(HOST_SUBDIR)/sid && \
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 install-html) \
25018 || exit 1
25020 @endif sid
25022 .PHONY: maybe-installcheck-sid installcheck-sid
25023 maybe-installcheck-sid:
25024 @if sid
25025 maybe-installcheck-sid: installcheck-sid
25027 installcheck-sid: \
25028 configure-sid
25029 @: $(MAKE); $(unstage)
25030 @[ -f ./sid/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 installcheck in sid" ; \
25038 (cd $(HOST_SUBDIR)/sid && \
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 installcheck) \
25044 || exit 1
25046 @endif sid
25048 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
25049 maybe-mostlyclean-sid:
25050 @if sid
25051 maybe-mostlyclean-sid: mostlyclean-sid
25053 mostlyclean-sid:
25054 @: $(MAKE); $(unstage)
25055 @[ -f ./sid/Makefile ] || exit 0; \
25056 r=`${PWD_COMMAND}`; export r; \
25057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25058 $(HOST_EXPORTS) \
25059 for flag in $(EXTRA_HOST_FLAGS) ; do \
25060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25061 done; \
25062 echo "Doing mostlyclean in sid" ; \
25063 (cd $(HOST_SUBDIR)/sid && \
25064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25066 "RANLIB=$${RANLIB}" \
25067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25068 mostlyclean) \
25069 || exit 1
25071 @endif sid
25073 .PHONY: maybe-clean-sid clean-sid
25074 maybe-clean-sid:
25075 @if sid
25076 maybe-clean-sid: clean-sid
25078 clean-sid:
25079 @: $(MAKE); $(unstage)
25080 @[ -f ./sid/Makefile ] || exit 0; \
25081 r=`${PWD_COMMAND}`; export r; \
25082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25083 $(HOST_EXPORTS) \
25084 for flag in $(EXTRA_HOST_FLAGS) ; do \
25085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25086 done; \
25087 echo "Doing clean in sid" ; \
25088 (cd $(HOST_SUBDIR)/sid && \
25089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25091 "RANLIB=$${RANLIB}" \
25092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25093 clean) \
25094 || exit 1
25096 @endif sid
25098 .PHONY: maybe-distclean-sid distclean-sid
25099 maybe-distclean-sid:
25100 @if sid
25101 maybe-distclean-sid: distclean-sid
25103 distclean-sid:
25104 @: $(MAKE); $(unstage)
25105 @[ -f ./sid/Makefile ] || exit 0; \
25106 r=`${PWD_COMMAND}`; export r; \
25107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25108 $(HOST_EXPORTS) \
25109 for flag in $(EXTRA_HOST_FLAGS) ; do \
25110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25111 done; \
25112 echo "Doing distclean in sid" ; \
25113 (cd $(HOST_SUBDIR)/sid && \
25114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25116 "RANLIB=$${RANLIB}" \
25117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25118 distclean) \
25119 || exit 1
25121 @endif sid
25123 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
25124 maybe-maintainer-clean-sid:
25125 @if sid
25126 maybe-maintainer-clean-sid: maintainer-clean-sid
25128 maintainer-clean-sid:
25129 @: $(MAKE); $(unstage)
25130 @[ -f ./sid/Makefile ] || exit 0; \
25131 r=`${PWD_COMMAND}`; export r; \
25132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25133 $(HOST_EXPORTS) \
25134 for flag in $(EXTRA_HOST_FLAGS) ; do \
25135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25136 done; \
25137 echo "Doing maintainer-clean in sid" ; \
25138 (cd $(HOST_SUBDIR)/sid && \
25139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25141 "RANLIB=$${RANLIB}" \
25142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25143 maintainer-clean) \
25144 || exit 1
25146 @endif sid
25150 .PHONY: configure-sim maybe-configure-sim
25151 maybe-configure-sim:
25152 @if gcc-bootstrap
25153 configure-sim: stage_current
25154 @endif gcc-bootstrap
25155 @if sim
25156 maybe-configure-sim: configure-sim
25157 configure-sim:
25158 @: $(MAKE); $(unstage)
25159 @r=`${PWD_COMMAND}`; export r; \
25160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25161 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
25162 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
25163 $(HOST_EXPORTS) \
25164 echo Configuring in $(HOST_SUBDIR)/sim; \
25165 cd "$(HOST_SUBDIR)/sim" || exit 1; \
25166 case $(srcdir) in \
25167 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25168 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
25169 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25170 esac; \
25171 srcdiroption="--srcdir=$${topdir}/sim"; \
25172 libsrcdir="$$s/sim"; \
25173 $(SHELL) $${libsrcdir}/configure \
25174 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25175 --target=${target_alias} $${srcdiroption} \
25176 || exit 1
25177 @endif sim
25183 .PHONY: all-sim maybe-all-sim
25184 maybe-all-sim:
25185 @if gcc-bootstrap
25186 all-sim: stage_current
25187 @endif gcc-bootstrap
25188 @if sim
25189 TARGET-sim=all
25190 maybe-all-sim: all-sim
25191 all-sim: configure-sim
25192 @: $(MAKE); $(unstage)
25193 @r=`${PWD_COMMAND}`; export r; \
25194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25195 $(HOST_EXPORTS) \
25196 (cd $(HOST_SUBDIR)/sim && \
25197 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25198 $(TARGET-sim))
25199 @endif sim
25204 .PHONY: check-sim maybe-check-sim
25205 maybe-check-sim:
25206 @if sim
25207 maybe-check-sim: check-sim
25209 check-sim:
25210 @: $(MAKE); $(unstage)
25211 @r=`${PWD_COMMAND}`; export r; \
25212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25213 $(HOST_EXPORTS) \
25214 (cd $(HOST_SUBDIR)/sim && \
25215 $(MAKE) $(FLAGS_TO_PASS) check)
25217 @endif sim
25219 .PHONY: install-sim maybe-install-sim
25220 maybe-install-sim:
25221 @if sim
25222 maybe-install-sim: install-sim
25224 install-sim: installdirs
25225 @: $(MAKE); $(unstage)
25226 @r=`${PWD_COMMAND}`; export r; \
25227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25228 $(HOST_EXPORTS) \
25229 (cd $(HOST_SUBDIR)/sim && \
25230 $(MAKE) $(FLAGS_TO_PASS) install)
25232 @endif sim
25234 .PHONY: install-strip-sim maybe-install-strip-sim
25235 maybe-install-strip-sim:
25236 @if sim
25237 maybe-install-strip-sim: install-strip-sim
25239 install-strip-sim: installdirs
25240 @: $(MAKE); $(unstage)
25241 @r=`${PWD_COMMAND}`; export r; \
25242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25243 $(HOST_EXPORTS) \
25244 (cd $(HOST_SUBDIR)/sim && \
25245 $(MAKE) $(FLAGS_TO_PASS) install-strip)
25247 @endif sim
25249 # Other targets (info, dvi, pdf, etc.)
25251 .PHONY: maybe-info-sim info-sim
25252 maybe-info-sim:
25253 @if sim
25254 maybe-info-sim: info-sim
25256 info-sim: \
25257 configure-sim
25258 @: $(MAKE); $(unstage)
25259 @[ -f ./sim/Makefile ] || exit 0; \
25260 r=`${PWD_COMMAND}`; export r; \
25261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25262 $(HOST_EXPORTS) \
25263 for flag in $(EXTRA_HOST_FLAGS) ; do \
25264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25265 done; \
25266 echo "Doing info in sim" ; \
25267 (cd $(HOST_SUBDIR)/sim && \
25268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25270 "RANLIB=$${RANLIB}" \
25271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25272 info) \
25273 || exit 1
25275 @endif sim
25277 .PHONY: maybe-dvi-sim dvi-sim
25278 maybe-dvi-sim:
25279 @if sim
25280 maybe-dvi-sim: dvi-sim
25282 dvi-sim: \
25283 configure-sim
25284 @: $(MAKE); $(unstage)
25285 @[ -f ./sim/Makefile ] || exit 0; \
25286 r=`${PWD_COMMAND}`; export r; \
25287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25288 $(HOST_EXPORTS) \
25289 for flag in $(EXTRA_HOST_FLAGS) ; do \
25290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25291 done; \
25292 echo "Doing dvi in sim" ; \
25293 (cd $(HOST_SUBDIR)/sim && \
25294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25296 "RANLIB=$${RANLIB}" \
25297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25298 dvi) \
25299 || exit 1
25301 @endif sim
25303 .PHONY: maybe-pdf-sim pdf-sim
25304 maybe-pdf-sim:
25305 @if sim
25306 maybe-pdf-sim: pdf-sim
25308 pdf-sim: \
25309 configure-sim
25310 @: $(MAKE); $(unstage)
25311 @[ -f ./sim/Makefile ] || exit 0; \
25312 r=`${PWD_COMMAND}`; export r; \
25313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25314 $(HOST_EXPORTS) \
25315 for flag in $(EXTRA_HOST_FLAGS) ; do \
25316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25317 done; \
25318 echo "Doing pdf in sim" ; \
25319 (cd $(HOST_SUBDIR)/sim && \
25320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25322 "RANLIB=$${RANLIB}" \
25323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25324 pdf) \
25325 || exit 1
25327 @endif sim
25329 .PHONY: maybe-html-sim html-sim
25330 maybe-html-sim:
25331 @if sim
25332 maybe-html-sim: html-sim
25334 html-sim: \
25335 configure-sim
25336 @: $(MAKE); $(unstage)
25337 @[ -f ./sim/Makefile ] || exit 0; \
25338 r=`${PWD_COMMAND}`; export r; \
25339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25340 $(HOST_EXPORTS) \
25341 for flag in $(EXTRA_HOST_FLAGS) ; do \
25342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25343 done; \
25344 echo "Doing html in sim" ; \
25345 (cd $(HOST_SUBDIR)/sim && \
25346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25348 "RANLIB=$${RANLIB}" \
25349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25350 html) \
25351 || exit 1
25353 @endif sim
25355 .PHONY: maybe-TAGS-sim TAGS-sim
25356 maybe-TAGS-sim:
25357 @if sim
25358 maybe-TAGS-sim: TAGS-sim
25360 TAGS-sim: \
25361 configure-sim
25362 @: $(MAKE); $(unstage)
25363 @[ -f ./sim/Makefile ] || exit 0; \
25364 r=`${PWD_COMMAND}`; export r; \
25365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25366 $(HOST_EXPORTS) \
25367 for flag in $(EXTRA_HOST_FLAGS) ; do \
25368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25369 done; \
25370 echo "Doing TAGS in sim" ; \
25371 (cd $(HOST_SUBDIR)/sim && \
25372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25374 "RANLIB=$${RANLIB}" \
25375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25376 TAGS) \
25377 || exit 1
25379 @endif sim
25381 .PHONY: maybe-install-info-sim install-info-sim
25382 maybe-install-info-sim:
25383 @if sim
25384 maybe-install-info-sim: install-info-sim
25386 install-info-sim: \
25387 configure-sim \
25388 info-sim
25389 @: $(MAKE); $(unstage)
25390 @[ -f ./sim/Makefile ] || exit 0; \
25391 r=`${PWD_COMMAND}`; export r; \
25392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25393 $(HOST_EXPORTS) \
25394 for flag in $(EXTRA_HOST_FLAGS) ; do \
25395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25396 done; \
25397 echo "Doing install-info in sim" ; \
25398 (cd $(HOST_SUBDIR)/sim && \
25399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25401 "RANLIB=$${RANLIB}" \
25402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25403 install-info) \
25404 || exit 1
25406 @endif sim
25408 .PHONY: maybe-install-pdf-sim install-pdf-sim
25409 maybe-install-pdf-sim:
25410 @if sim
25411 maybe-install-pdf-sim: install-pdf-sim
25413 install-pdf-sim: \
25414 configure-sim \
25415 pdf-sim
25416 @: $(MAKE); $(unstage)
25417 @[ -f ./sim/Makefile ] || exit 0; \
25418 r=`${PWD_COMMAND}`; export r; \
25419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25420 $(HOST_EXPORTS) \
25421 for flag in $(EXTRA_HOST_FLAGS) ; do \
25422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25423 done; \
25424 echo "Doing install-pdf in sim" ; \
25425 (cd $(HOST_SUBDIR)/sim && \
25426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25428 "RANLIB=$${RANLIB}" \
25429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25430 install-pdf) \
25431 || exit 1
25433 @endif sim
25435 .PHONY: maybe-install-html-sim install-html-sim
25436 maybe-install-html-sim:
25437 @if sim
25438 maybe-install-html-sim: install-html-sim
25440 install-html-sim: \
25441 configure-sim \
25442 html-sim
25443 @: $(MAKE); $(unstage)
25444 @[ -f ./sim/Makefile ] || exit 0; \
25445 r=`${PWD_COMMAND}`; export r; \
25446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25447 $(HOST_EXPORTS) \
25448 for flag in $(EXTRA_HOST_FLAGS) ; do \
25449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25450 done; \
25451 echo "Doing install-html in sim" ; \
25452 (cd $(HOST_SUBDIR)/sim && \
25453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25455 "RANLIB=$${RANLIB}" \
25456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25457 install-html) \
25458 || exit 1
25460 @endif sim
25462 .PHONY: maybe-installcheck-sim installcheck-sim
25463 maybe-installcheck-sim:
25464 @if sim
25465 maybe-installcheck-sim: installcheck-sim
25467 installcheck-sim: \
25468 configure-sim
25469 @: $(MAKE); $(unstage)
25470 @[ -f ./sim/Makefile ] || exit 0; \
25471 r=`${PWD_COMMAND}`; export r; \
25472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25473 $(HOST_EXPORTS) \
25474 for flag in $(EXTRA_HOST_FLAGS) ; do \
25475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25476 done; \
25477 echo "Doing installcheck in sim" ; \
25478 (cd $(HOST_SUBDIR)/sim && \
25479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25481 "RANLIB=$${RANLIB}" \
25482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25483 installcheck) \
25484 || exit 1
25486 @endif sim
25488 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
25489 maybe-mostlyclean-sim:
25490 @if sim
25491 maybe-mostlyclean-sim: mostlyclean-sim
25493 mostlyclean-sim:
25494 @: $(MAKE); $(unstage)
25495 @[ -f ./sim/Makefile ] || exit 0; \
25496 r=`${PWD_COMMAND}`; export r; \
25497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25498 $(HOST_EXPORTS) \
25499 for flag in $(EXTRA_HOST_FLAGS) ; do \
25500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25501 done; \
25502 echo "Doing mostlyclean in sim" ; \
25503 (cd $(HOST_SUBDIR)/sim && \
25504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25506 "RANLIB=$${RANLIB}" \
25507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25508 mostlyclean) \
25509 || exit 1
25511 @endif sim
25513 .PHONY: maybe-clean-sim clean-sim
25514 maybe-clean-sim:
25515 @if sim
25516 maybe-clean-sim: clean-sim
25518 clean-sim:
25519 @: $(MAKE); $(unstage)
25520 @[ -f ./sim/Makefile ] || exit 0; \
25521 r=`${PWD_COMMAND}`; export r; \
25522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25523 $(HOST_EXPORTS) \
25524 for flag in $(EXTRA_HOST_FLAGS) ; do \
25525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25526 done; \
25527 echo "Doing clean in sim" ; \
25528 (cd $(HOST_SUBDIR)/sim && \
25529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25531 "RANLIB=$${RANLIB}" \
25532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25533 clean) \
25534 || exit 1
25536 @endif sim
25538 .PHONY: maybe-distclean-sim distclean-sim
25539 maybe-distclean-sim:
25540 @if sim
25541 maybe-distclean-sim: distclean-sim
25543 distclean-sim:
25544 @: $(MAKE); $(unstage)
25545 @[ -f ./sim/Makefile ] || exit 0; \
25546 r=`${PWD_COMMAND}`; export r; \
25547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25548 $(HOST_EXPORTS) \
25549 for flag in $(EXTRA_HOST_FLAGS) ; do \
25550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25551 done; \
25552 echo "Doing distclean in sim" ; \
25553 (cd $(HOST_SUBDIR)/sim && \
25554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25556 "RANLIB=$${RANLIB}" \
25557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25558 distclean) \
25559 || exit 1
25561 @endif sim
25563 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
25564 maybe-maintainer-clean-sim:
25565 @if sim
25566 maybe-maintainer-clean-sim: maintainer-clean-sim
25568 maintainer-clean-sim:
25569 @: $(MAKE); $(unstage)
25570 @[ -f ./sim/Makefile ] || exit 0; \
25571 r=`${PWD_COMMAND}`; export r; \
25572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25573 $(HOST_EXPORTS) \
25574 for flag in $(EXTRA_HOST_FLAGS) ; do \
25575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25576 done; \
25577 echo "Doing maintainer-clean in sim" ; \
25578 (cd $(HOST_SUBDIR)/sim && \
25579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25581 "RANLIB=$${RANLIB}" \
25582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25583 maintainer-clean) \
25584 || exit 1
25586 @endif sim
25590 .PHONY: configure-texinfo maybe-configure-texinfo
25591 maybe-configure-texinfo:
25592 @if gcc-bootstrap
25593 configure-texinfo: stage_current
25594 @endif gcc-bootstrap
25595 @if texinfo
25596 maybe-configure-texinfo: configure-texinfo
25597 configure-texinfo:
25598 @: $(MAKE); $(unstage)
25599 @r=`${PWD_COMMAND}`; export r; \
25600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25601 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
25602 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
25603 $(HOST_EXPORTS) \
25604 echo Configuring in $(HOST_SUBDIR)/texinfo; \
25605 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
25606 case $(srcdir) in \
25607 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25608 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
25609 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25610 esac; \
25611 srcdiroption="--srcdir=$${topdir}/texinfo"; \
25612 libsrcdir="$$s/texinfo"; \
25613 $(SHELL) $${libsrcdir}/configure \
25614 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25615 --target=${target_alias} $${srcdiroption} \
25616 || exit 1
25617 @endif texinfo
25623 .PHONY: all-texinfo maybe-all-texinfo
25624 maybe-all-texinfo:
25625 @if gcc-bootstrap
25626 all-texinfo: stage_current
25627 @endif gcc-bootstrap
25628 @if texinfo
25629 TARGET-texinfo=all
25630 maybe-all-texinfo: all-texinfo
25631 all-texinfo: configure-texinfo
25632 @: $(MAKE); $(unstage)
25633 @r=`${PWD_COMMAND}`; export r; \
25634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25635 $(HOST_EXPORTS) \
25636 (cd $(HOST_SUBDIR)/texinfo && \
25637 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25638 $(TARGET-texinfo))
25639 @endif texinfo
25644 .PHONY: check-texinfo maybe-check-texinfo
25645 maybe-check-texinfo:
25646 @if texinfo
25647 maybe-check-texinfo: check-texinfo
25649 check-texinfo:
25650 @: $(MAKE); $(unstage)
25651 @r=`${PWD_COMMAND}`; export r; \
25652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25653 $(HOST_EXPORTS) \
25654 (cd $(HOST_SUBDIR)/texinfo && \
25655 $(MAKE) $(FLAGS_TO_PASS) check)
25657 @endif texinfo
25659 .PHONY: install-texinfo maybe-install-texinfo
25660 maybe-install-texinfo:
25661 @if texinfo
25662 maybe-install-texinfo: install-texinfo
25664 install-texinfo:
25666 @endif texinfo
25668 .PHONY: install-strip-texinfo maybe-install-strip-texinfo
25669 maybe-install-strip-texinfo:
25670 @if texinfo
25671 maybe-install-strip-texinfo: install-strip-texinfo
25673 install-strip-texinfo:
25675 @endif texinfo
25677 # Other targets (info, dvi, pdf, etc.)
25679 .PHONY: maybe-info-texinfo info-texinfo
25680 maybe-info-texinfo:
25681 @if texinfo
25682 maybe-info-texinfo: info-texinfo
25684 info-texinfo: \
25685 configure-texinfo
25686 @: $(MAKE); $(unstage)
25687 @[ -f ./texinfo/Makefile ] || exit 0; \
25688 r=`${PWD_COMMAND}`; export r; \
25689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25690 $(HOST_EXPORTS) \
25691 for flag in $(EXTRA_HOST_FLAGS) ; do \
25692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25693 done; \
25694 echo "Doing info in texinfo" ; \
25695 (cd $(HOST_SUBDIR)/texinfo && \
25696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25698 "RANLIB=$${RANLIB}" \
25699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25700 info) \
25701 || exit 1
25703 @endif texinfo
25705 .PHONY: maybe-dvi-texinfo dvi-texinfo
25706 maybe-dvi-texinfo:
25707 @if texinfo
25708 maybe-dvi-texinfo: dvi-texinfo
25710 dvi-texinfo: \
25711 configure-texinfo
25712 @: $(MAKE); $(unstage)
25713 @[ -f ./texinfo/Makefile ] || exit 0; \
25714 r=`${PWD_COMMAND}`; export r; \
25715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25716 $(HOST_EXPORTS) \
25717 for flag in $(EXTRA_HOST_FLAGS) ; do \
25718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25719 done; \
25720 echo "Doing dvi in texinfo" ; \
25721 (cd $(HOST_SUBDIR)/texinfo && \
25722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25724 "RANLIB=$${RANLIB}" \
25725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25726 dvi) \
25727 || exit 1
25729 @endif texinfo
25731 .PHONY: maybe-pdf-texinfo pdf-texinfo
25732 maybe-pdf-texinfo:
25733 @if texinfo
25734 maybe-pdf-texinfo: pdf-texinfo
25736 pdf-texinfo: \
25737 configure-texinfo
25738 @: $(MAKE); $(unstage)
25739 @[ -f ./texinfo/Makefile ] || exit 0; \
25740 r=`${PWD_COMMAND}`; export r; \
25741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25742 $(HOST_EXPORTS) \
25743 for flag in $(EXTRA_HOST_FLAGS) ; do \
25744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25745 done; \
25746 echo "Doing pdf in texinfo" ; \
25747 (cd $(HOST_SUBDIR)/texinfo && \
25748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25750 "RANLIB=$${RANLIB}" \
25751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25752 pdf) \
25753 || exit 1
25755 @endif texinfo
25757 .PHONY: maybe-html-texinfo html-texinfo
25758 maybe-html-texinfo:
25759 @if texinfo
25760 maybe-html-texinfo: html-texinfo
25762 html-texinfo: \
25763 configure-texinfo
25764 @: $(MAKE); $(unstage)
25765 @[ -f ./texinfo/Makefile ] || exit 0; \
25766 r=`${PWD_COMMAND}`; export r; \
25767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25768 $(HOST_EXPORTS) \
25769 for flag in $(EXTRA_HOST_FLAGS) ; do \
25770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25771 done; \
25772 echo "Doing html in texinfo" ; \
25773 (cd $(HOST_SUBDIR)/texinfo && \
25774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25776 "RANLIB=$${RANLIB}" \
25777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25778 html) \
25779 || exit 1
25781 @endif texinfo
25783 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
25784 maybe-TAGS-texinfo:
25785 @if texinfo
25786 maybe-TAGS-texinfo: TAGS-texinfo
25788 TAGS-texinfo: \
25789 configure-texinfo
25790 @: $(MAKE); $(unstage)
25791 @[ -f ./texinfo/Makefile ] || exit 0; \
25792 r=`${PWD_COMMAND}`; export r; \
25793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25794 $(HOST_EXPORTS) \
25795 for flag in $(EXTRA_HOST_FLAGS) ; do \
25796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25797 done; \
25798 echo "Doing TAGS in texinfo" ; \
25799 (cd $(HOST_SUBDIR)/texinfo && \
25800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25802 "RANLIB=$${RANLIB}" \
25803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25804 TAGS) \
25805 || exit 1
25807 @endif texinfo
25809 .PHONY: maybe-install-info-texinfo install-info-texinfo
25810 maybe-install-info-texinfo:
25811 @if texinfo
25812 maybe-install-info-texinfo: install-info-texinfo
25814 install-info-texinfo: \
25815 configure-texinfo \
25816 info-texinfo
25817 @: $(MAKE); $(unstage)
25818 @[ -f ./texinfo/Makefile ] || exit 0; \
25819 r=`${PWD_COMMAND}`; export r; \
25820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25821 $(HOST_EXPORTS) \
25822 for flag in $(EXTRA_HOST_FLAGS) ; do \
25823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25824 done; \
25825 echo "Doing install-info in texinfo" ; \
25826 (cd $(HOST_SUBDIR)/texinfo && \
25827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25829 "RANLIB=$${RANLIB}" \
25830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25831 install-info) \
25832 || exit 1
25834 @endif texinfo
25836 .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo
25837 maybe-install-pdf-texinfo:
25838 @if texinfo
25839 maybe-install-pdf-texinfo: install-pdf-texinfo
25841 install-pdf-texinfo: \
25842 configure-texinfo \
25843 pdf-texinfo
25844 @: $(MAKE); $(unstage)
25845 @[ -f ./texinfo/Makefile ] || exit 0; \
25846 r=`${PWD_COMMAND}`; export r; \
25847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25848 $(HOST_EXPORTS) \
25849 for flag in $(EXTRA_HOST_FLAGS) ; do \
25850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25851 done; \
25852 echo "Doing install-pdf in texinfo" ; \
25853 (cd $(HOST_SUBDIR)/texinfo && \
25854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25856 "RANLIB=$${RANLIB}" \
25857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25858 install-pdf) \
25859 || exit 1
25861 @endif texinfo
25863 .PHONY: maybe-install-html-texinfo install-html-texinfo
25864 maybe-install-html-texinfo:
25865 @if texinfo
25866 maybe-install-html-texinfo: install-html-texinfo
25868 install-html-texinfo: \
25869 configure-texinfo \
25870 html-texinfo
25871 @: $(MAKE); $(unstage)
25872 @[ -f ./texinfo/Makefile ] || exit 0; \
25873 r=`${PWD_COMMAND}`; export r; \
25874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25875 $(HOST_EXPORTS) \
25876 for flag in $(EXTRA_HOST_FLAGS) ; do \
25877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25878 done; \
25879 echo "Doing install-html in texinfo" ; \
25880 (cd $(HOST_SUBDIR)/texinfo && \
25881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25883 "RANLIB=$${RANLIB}" \
25884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25885 install-html) \
25886 || exit 1
25888 @endif texinfo
25890 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
25891 maybe-installcheck-texinfo:
25892 @if texinfo
25893 maybe-installcheck-texinfo: installcheck-texinfo
25895 installcheck-texinfo: \
25896 configure-texinfo
25897 @: $(MAKE); $(unstage)
25898 @[ -f ./texinfo/Makefile ] || exit 0; \
25899 r=`${PWD_COMMAND}`; export r; \
25900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25901 $(HOST_EXPORTS) \
25902 for flag in $(EXTRA_HOST_FLAGS) ; do \
25903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25904 done; \
25905 echo "Doing installcheck in texinfo" ; \
25906 (cd $(HOST_SUBDIR)/texinfo && \
25907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25909 "RANLIB=$${RANLIB}" \
25910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25911 installcheck) \
25912 || exit 1
25914 @endif texinfo
25916 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
25917 maybe-mostlyclean-texinfo:
25918 @if texinfo
25919 maybe-mostlyclean-texinfo: mostlyclean-texinfo
25921 mostlyclean-texinfo:
25922 @: $(MAKE); $(unstage)
25923 @[ -f ./texinfo/Makefile ] || exit 0; \
25924 r=`${PWD_COMMAND}`; export r; \
25925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25926 $(HOST_EXPORTS) \
25927 for flag in $(EXTRA_HOST_FLAGS) ; do \
25928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25929 done; \
25930 echo "Doing mostlyclean in texinfo" ; \
25931 (cd $(HOST_SUBDIR)/texinfo && \
25932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25934 "RANLIB=$${RANLIB}" \
25935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25936 mostlyclean) \
25937 || exit 1
25939 @endif texinfo
25941 .PHONY: maybe-clean-texinfo clean-texinfo
25942 maybe-clean-texinfo:
25943 @if texinfo
25944 maybe-clean-texinfo: clean-texinfo
25946 clean-texinfo:
25947 @: $(MAKE); $(unstage)
25948 @[ -f ./texinfo/Makefile ] || exit 0; \
25949 r=`${PWD_COMMAND}`; export r; \
25950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25951 $(HOST_EXPORTS) \
25952 for flag in $(EXTRA_HOST_FLAGS) ; do \
25953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25954 done; \
25955 echo "Doing clean in texinfo" ; \
25956 (cd $(HOST_SUBDIR)/texinfo && \
25957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25959 "RANLIB=$${RANLIB}" \
25960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25961 clean) \
25962 || exit 1
25964 @endif texinfo
25966 .PHONY: maybe-distclean-texinfo distclean-texinfo
25967 maybe-distclean-texinfo:
25968 @if texinfo
25969 maybe-distclean-texinfo: distclean-texinfo
25971 distclean-texinfo:
25972 @: $(MAKE); $(unstage)
25973 @[ -f ./texinfo/Makefile ] || exit 0; \
25974 r=`${PWD_COMMAND}`; export r; \
25975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25976 $(HOST_EXPORTS) \
25977 for flag in $(EXTRA_HOST_FLAGS) ; do \
25978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25979 done; \
25980 echo "Doing distclean in texinfo" ; \
25981 (cd $(HOST_SUBDIR)/texinfo && \
25982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25984 "RANLIB=$${RANLIB}" \
25985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25986 distclean) \
25987 || exit 1
25989 @endif texinfo
25991 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
25992 maybe-maintainer-clean-texinfo:
25993 @if texinfo
25994 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
25996 maintainer-clean-texinfo:
25997 @: $(MAKE); $(unstage)
25998 @[ -f ./texinfo/Makefile ] || exit 0; \
25999 r=`${PWD_COMMAND}`; export r; \
26000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26001 $(HOST_EXPORTS) \
26002 for flag in $(EXTRA_HOST_FLAGS) ; do \
26003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26004 done; \
26005 echo "Doing maintainer-clean in texinfo" ; \
26006 (cd $(HOST_SUBDIR)/texinfo && \
26007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26009 "RANLIB=$${RANLIB}" \
26010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26011 maintainer-clean) \
26012 || exit 1
26014 @endif texinfo
26018 .PHONY: configure-zlib maybe-configure-zlib
26019 maybe-configure-zlib:
26020 @if gcc-bootstrap
26021 configure-zlib: stage_current
26022 @endif gcc-bootstrap
26023 @if zlib
26024 maybe-configure-zlib: configure-zlib
26025 configure-zlib:
26026 @r=`${PWD_COMMAND}`; export r; \
26027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26028 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26029 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26030 $(HOST_EXPORTS) \
26031 echo Configuring in $(HOST_SUBDIR)/zlib; \
26032 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
26033 case $(srcdir) in \
26034 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26035 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26036 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26037 esac; \
26038 srcdiroption="--srcdir=$${topdir}/zlib"; \
26039 libsrcdir="$$s/zlib"; \
26040 $(SHELL) $${libsrcdir}/configure \
26041 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26042 --target=${target_alias} $${srcdiroption} \
26043 || exit 1
26044 @endif zlib
26048 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
26049 maybe-configure-stage1-zlib:
26050 @if zlib-bootstrap
26051 maybe-configure-stage1-zlib: configure-stage1-zlib
26052 configure-stage1-zlib:
26053 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26054 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26055 @r=`${PWD_COMMAND}`; export r; \
26056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26057 TFLAGS="$(STAGE1_TFLAGS)"; \
26058 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26059 $(HOST_EXPORTS) \
26060 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
26061 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
26062 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
26063 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
26064 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26065 cd $(HOST_SUBDIR)/zlib || exit 1; \
26066 case $(srcdir) in \
26067 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26068 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26069 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26070 esac; \
26071 srcdiroption="--srcdir=$${topdir}/zlib"; \
26072 libsrcdir="$$s/zlib"; \
26073 $(SHELL) $${libsrcdir}/configure \
26074 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26075 --target=${target_alias} $${srcdiroption} \
26076 $(STAGE1_CONFIGURE_FLAGS)
26077 @endif zlib-bootstrap
26079 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
26080 maybe-configure-stage2-zlib:
26081 @if zlib-bootstrap
26082 maybe-configure-stage2-zlib: configure-stage2-zlib
26083 configure-stage2-zlib:
26084 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26085 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26086 @r=`${PWD_COMMAND}`; export r; \
26087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26088 TFLAGS="$(STAGE2_TFLAGS)"; \
26089 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26090 $(HOST_EXPORTS) \
26091 $(POSTSTAGE1_HOST_EXPORTS) \
26092 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
26093 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
26094 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
26095 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
26096 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26097 cd $(HOST_SUBDIR)/zlib || exit 1; \
26098 case $(srcdir) in \
26099 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26100 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26101 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26102 esac; \
26103 srcdiroption="--srcdir=$${topdir}/zlib"; \
26104 libsrcdir="$$s/zlib"; \
26105 $(SHELL) $${libsrcdir}/configure \
26106 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26107 --target=${target_alias} $${srcdiroption} \
26108 --with-build-libsubdir=$(HOST_SUBDIR) \
26109 $(STAGE2_CONFIGURE_FLAGS)
26110 @endif zlib-bootstrap
26112 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
26113 maybe-configure-stage3-zlib:
26114 @if zlib-bootstrap
26115 maybe-configure-stage3-zlib: configure-stage3-zlib
26116 configure-stage3-zlib:
26117 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26118 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26119 @r=`${PWD_COMMAND}`; export r; \
26120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26121 TFLAGS="$(STAGE3_TFLAGS)"; \
26122 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26123 $(HOST_EXPORTS) \
26124 $(POSTSTAGE1_HOST_EXPORTS) \
26125 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
26126 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
26127 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
26128 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
26129 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26130 cd $(HOST_SUBDIR)/zlib || exit 1; \
26131 case $(srcdir) in \
26132 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26133 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26134 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26135 esac; \
26136 srcdiroption="--srcdir=$${topdir}/zlib"; \
26137 libsrcdir="$$s/zlib"; \
26138 $(SHELL) $${libsrcdir}/configure \
26139 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26140 --target=${target_alias} $${srcdiroption} \
26141 --with-build-libsubdir=$(HOST_SUBDIR) \
26142 $(STAGE3_CONFIGURE_FLAGS)
26143 @endif zlib-bootstrap
26145 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
26146 maybe-configure-stage4-zlib:
26147 @if zlib-bootstrap
26148 maybe-configure-stage4-zlib: configure-stage4-zlib
26149 configure-stage4-zlib:
26150 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26151 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26152 @r=`${PWD_COMMAND}`; export r; \
26153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26154 TFLAGS="$(STAGE4_TFLAGS)"; \
26155 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26156 $(HOST_EXPORTS) \
26157 $(POSTSTAGE1_HOST_EXPORTS) \
26158 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
26159 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
26160 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
26161 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
26162 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26163 cd $(HOST_SUBDIR)/zlib || exit 1; \
26164 case $(srcdir) in \
26165 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26166 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26167 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26168 esac; \
26169 srcdiroption="--srcdir=$${topdir}/zlib"; \
26170 libsrcdir="$$s/zlib"; \
26171 $(SHELL) $${libsrcdir}/configure \
26172 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26173 --target=${target_alias} $${srcdiroption} \
26174 --with-build-libsubdir=$(HOST_SUBDIR) \
26175 $(STAGE4_CONFIGURE_FLAGS)
26176 @endif zlib-bootstrap
26178 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
26179 maybe-configure-stageprofile-zlib:
26180 @if zlib-bootstrap
26181 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
26182 configure-stageprofile-zlib:
26183 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26184 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26185 @r=`${PWD_COMMAND}`; export r; \
26186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26187 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26188 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26189 $(HOST_EXPORTS) \
26190 $(POSTSTAGE1_HOST_EXPORTS) \
26191 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
26192 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
26193 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
26194 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
26195 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26196 cd $(HOST_SUBDIR)/zlib || exit 1; \
26197 case $(srcdir) in \
26198 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26199 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26200 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26201 esac; \
26202 srcdiroption="--srcdir=$${topdir}/zlib"; \
26203 libsrcdir="$$s/zlib"; \
26204 $(SHELL) $${libsrcdir}/configure \
26205 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26206 --target=${target_alias} $${srcdiroption} \
26207 --with-build-libsubdir=$(HOST_SUBDIR) \
26208 $(STAGEprofile_CONFIGURE_FLAGS)
26209 @endif zlib-bootstrap
26211 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
26212 maybe-configure-stagefeedback-zlib:
26213 @if zlib-bootstrap
26214 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
26215 configure-stagefeedback-zlib:
26216 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26217 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26218 @r=`${PWD_COMMAND}`; export r; \
26219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26220 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
26221 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26222 $(HOST_EXPORTS) \
26223 $(POSTSTAGE1_HOST_EXPORTS) \
26224 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
26225 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
26226 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
26227 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
26228 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26229 cd $(HOST_SUBDIR)/zlib || exit 1; \
26230 case $(srcdir) in \
26231 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26232 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26233 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26234 esac; \
26235 srcdiroption="--srcdir=$${topdir}/zlib"; \
26236 libsrcdir="$$s/zlib"; \
26237 $(SHELL) $${libsrcdir}/configure \
26238 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26239 --target=${target_alias} $${srcdiroption} \
26240 --with-build-libsubdir=$(HOST_SUBDIR) \
26241 $(STAGEfeedback_CONFIGURE_FLAGS)
26242 @endif zlib-bootstrap
26248 .PHONY: all-zlib maybe-all-zlib
26249 maybe-all-zlib:
26250 @if gcc-bootstrap
26251 all-zlib: stage_current
26252 @endif gcc-bootstrap
26253 @if zlib
26254 TARGET-zlib=all
26255 maybe-all-zlib: all-zlib
26256 all-zlib: configure-zlib
26257 @r=`${PWD_COMMAND}`; export r; \
26258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26259 $(HOST_EXPORTS) \
26260 (cd $(HOST_SUBDIR)/zlib && \
26261 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26262 $(TARGET-zlib))
26263 @endif zlib
26267 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
26268 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
26269 maybe-all-stage1-zlib:
26270 maybe-clean-stage1-zlib:
26271 @if zlib-bootstrap
26272 maybe-all-stage1-zlib: all-stage1-zlib
26273 all-stage1: all-stage1-zlib
26274 TARGET-stage1-zlib = $(TARGET-zlib)
26275 all-stage1-zlib: configure-stage1-zlib
26276 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26277 @r=`${PWD_COMMAND}`; export r; \
26278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26279 TFLAGS="$(STAGE1_TFLAGS)"; \
26280 $(HOST_EXPORTS) \
26281 cd $(HOST_SUBDIR)/zlib && \
26282 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26283 CFLAGS="$(STAGE1_CFLAGS)" \
26284 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
26285 LIBCFLAGS="$(LIBCFLAGS)" \
26286 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26287 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26288 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26289 $(EXTRA_HOST_FLAGS) \
26290 $(STAGE1_FLAGS_TO_PASS) \
26291 TFLAGS="$(STAGE1_TFLAGS)" \
26292 $(TARGET-stage1-zlib)
26294 maybe-clean-stage1-zlib: clean-stage1-zlib
26295 clean-stage1: clean-stage1-zlib
26296 clean-stage1-zlib:
26297 @if [ $(current_stage) = stage1 ]; then \
26298 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26299 else \
26300 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
26301 $(MAKE) stage1-start; \
26302 fi; \
26303 cd $(HOST_SUBDIR)/zlib && \
26304 $(MAKE) $(EXTRA_HOST_FLAGS) \
26305 $(STAGE1_FLAGS_TO_PASS) clean
26306 @endif zlib-bootstrap
26309 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
26310 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
26311 maybe-all-stage2-zlib:
26312 maybe-clean-stage2-zlib:
26313 @if zlib-bootstrap
26314 maybe-all-stage2-zlib: all-stage2-zlib
26315 all-stage2: all-stage2-zlib
26316 TARGET-stage2-zlib = $(TARGET-zlib)
26317 all-stage2-zlib: configure-stage2-zlib
26318 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26319 @r=`${PWD_COMMAND}`; export r; \
26320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26321 TFLAGS="$(STAGE2_TFLAGS)"; \
26322 $(HOST_EXPORTS) \
26323 $(POSTSTAGE1_HOST_EXPORTS) \
26324 cd $(HOST_SUBDIR)/zlib && \
26325 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26326 CFLAGS="$(STAGE2_CFLAGS)" \
26327 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
26328 LIBCFLAGS="$(STAGE2_CFLAGS)" \
26329 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26330 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26331 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26332 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26333 TFLAGS="$(STAGE2_TFLAGS)" \
26334 $(TARGET-stage2-zlib)
26336 maybe-clean-stage2-zlib: clean-stage2-zlib
26337 clean-stage2: clean-stage2-zlib
26338 clean-stage2-zlib:
26339 @if [ $(current_stage) = stage2 ]; then \
26340 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26341 else \
26342 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
26343 $(MAKE) stage2-start; \
26344 fi; \
26345 cd $(HOST_SUBDIR)/zlib && \
26346 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26347 @endif zlib-bootstrap
26350 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
26351 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
26352 maybe-all-stage3-zlib:
26353 maybe-clean-stage3-zlib:
26354 @if zlib-bootstrap
26355 maybe-all-stage3-zlib: all-stage3-zlib
26356 all-stage3: all-stage3-zlib
26357 TARGET-stage3-zlib = $(TARGET-zlib)
26358 all-stage3-zlib: configure-stage3-zlib
26359 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26360 @r=`${PWD_COMMAND}`; export r; \
26361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26362 TFLAGS="$(STAGE3_TFLAGS)"; \
26363 $(HOST_EXPORTS) \
26364 $(POSTSTAGE1_HOST_EXPORTS) \
26365 cd $(HOST_SUBDIR)/zlib && \
26366 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26367 CFLAGS="$(STAGE3_CFLAGS)" \
26368 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
26369 LIBCFLAGS="$(STAGE3_CFLAGS)" \
26370 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26371 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26372 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26373 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26374 TFLAGS="$(STAGE3_TFLAGS)" \
26375 $(TARGET-stage3-zlib)
26377 maybe-clean-stage3-zlib: clean-stage3-zlib
26378 clean-stage3: clean-stage3-zlib
26379 clean-stage3-zlib:
26380 @if [ $(current_stage) = stage3 ]; then \
26381 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26382 else \
26383 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
26384 $(MAKE) stage3-start; \
26385 fi; \
26386 cd $(HOST_SUBDIR)/zlib && \
26387 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26388 @endif zlib-bootstrap
26391 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
26392 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
26393 maybe-all-stage4-zlib:
26394 maybe-clean-stage4-zlib:
26395 @if zlib-bootstrap
26396 maybe-all-stage4-zlib: all-stage4-zlib
26397 all-stage4: all-stage4-zlib
26398 TARGET-stage4-zlib = $(TARGET-zlib)
26399 all-stage4-zlib: configure-stage4-zlib
26400 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26401 @r=`${PWD_COMMAND}`; export r; \
26402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26403 TFLAGS="$(STAGE4_TFLAGS)"; \
26404 $(HOST_EXPORTS) \
26405 $(POSTSTAGE1_HOST_EXPORTS) \
26406 cd $(HOST_SUBDIR)/zlib && \
26407 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26408 CFLAGS="$(STAGE4_CFLAGS)" \
26409 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
26410 LIBCFLAGS="$(STAGE4_CFLAGS)" \
26411 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26412 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26413 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26414 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26415 TFLAGS="$(STAGE4_TFLAGS)" \
26416 $(TARGET-stage4-zlib)
26418 maybe-clean-stage4-zlib: clean-stage4-zlib
26419 clean-stage4: clean-stage4-zlib
26420 clean-stage4-zlib:
26421 @if [ $(current_stage) = stage4 ]; then \
26422 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26423 else \
26424 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
26425 $(MAKE) stage4-start; \
26426 fi; \
26427 cd $(HOST_SUBDIR)/zlib && \
26428 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26429 @endif zlib-bootstrap
26432 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
26433 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
26434 maybe-all-stageprofile-zlib:
26435 maybe-clean-stageprofile-zlib:
26436 @if zlib-bootstrap
26437 maybe-all-stageprofile-zlib: all-stageprofile-zlib
26438 all-stageprofile: all-stageprofile-zlib
26439 TARGET-stageprofile-zlib = $(TARGET-zlib)
26440 all-stageprofile-zlib: configure-stageprofile-zlib
26441 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26442 @r=`${PWD_COMMAND}`; export r; \
26443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26444 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26445 $(HOST_EXPORTS) \
26446 $(POSTSTAGE1_HOST_EXPORTS) \
26447 cd $(HOST_SUBDIR)/zlib && \
26448 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26449 CFLAGS="$(STAGEprofile_CFLAGS)" \
26450 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
26451 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
26452 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26453 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26454 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26455 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26456 TFLAGS="$(STAGEprofile_TFLAGS)" \
26457 $(TARGET-stageprofile-zlib)
26459 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
26460 clean-stageprofile: clean-stageprofile-zlib
26461 clean-stageprofile-zlib:
26462 @if [ $(current_stage) = stageprofile ]; then \
26463 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26464 else \
26465 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
26466 $(MAKE) stageprofile-start; \
26467 fi; \
26468 cd $(HOST_SUBDIR)/zlib && \
26469 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26470 @endif zlib-bootstrap
26473 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
26474 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
26475 maybe-all-stagefeedback-zlib:
26476 maybe-clean-stagefeedback-zlib:
26477 @if zlib-bootstrap
26478 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
26479 all-stagefeedback: all-stagefeedback-zlib
26480 TARGET-stagefeedback-zlib = $(TARGET-zlib)
26481 all-stagefeedback-zlib: configure-stagefeedback-zlib
26482 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26483 @r=`${PWD_COMMAND}`; export r; \
26484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26485 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
26486 $(HOST_EXPORTS) \
26487 $(POSTSTAGE1_HOST_EXPORTS) \
26488 cd $(HOST_SUBDIR)/zlib && \
26489 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26490 CFLAGS="$(STAGEfeedback_CFLAGS)" \
26491 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
26492 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
26493 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26494 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26495 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26496 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26497 TFLAGS="$(STAGEfeedback_TFLAGS)" \
26498 $(TARGET-stagefeedback-zlib)
26500 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
26501 clean-stagefeedback: clean-stagefeedback-zlib
26502 clean-stagefeedback-zlib:
26503 @if [ $(current_stage) = stagefeedback ]; then \
26504 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26505 else \
26506 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
26507 $(MAKE) stagefeedback-start; \
26508 fi; \
26509 cd $(HOST_SUBDIR)/zlib && \
26510 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26511 @endif zlib-bootstrap
26517 .PHONY: check-zlib maybe-check-zlib
26518 maybe-check-zlib:
26519 @if zlib
26520 maybe-check-zlib: check-zlib
26522 check-zlib:
26524 @endif zlib
26526 .PHONY: install-zlib maybe-install-zlib
26527 maybe-install-zlib:
26528 @if zlib
26529 maybe-install-zlib: install-zlib
26531 install-zlib:
26533 @endif zlib
26535 .PHONY: install-strip-zlib maybe-install-strip-zlib
26536 maybe-install-strip-zlib:
26537 @if zlib
26538 maybe-install-strip-zlib: install-strip-zlib
26540 install-strip-zlib:
26542 @endif zlib
26544 # Other targets (info, dvi, pdf, etc.)
26546 .PHONY: maybe-info-zlib info-zlib
26547 maybe-info-zlib:
26548 @if zlib
26549 maybe-info-zlib: info-zlib
26551 info-zlib: \
26552 configure-zlib
26553 @[ -f ./zlib/Makefile ] || exit 0; \
26554 r=`${PWD_COMMAND}`; export r; \
26555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26556 $(HOST_EXPORTS) \
26557 for flag in $(EXTRA_HOST_FLAGS) ; do \
26558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26559 done; \
26560 echo "Doing info in zlib" ; \
26561 (cd $(HOST_SUBDIR)/zlib && \
26562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26564 "RANLIB=$${RANLIB}" \
26565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26566 info) \
26567 || exit 1
26569 @endif zlib
26571 .PHONY: maybe-dvi-zlib dvi-zlib
26572 maybe-dvi-zlib:
26573 @if zlib
26574 maybe-dvi-zlib: dvi-zlib
26576 dvi-zlib: \
26577 configure-zlib
26578 @[ -f ./zlib/Makefile ] || exit 0; \
26579 r=`${PWD_COMMAND}`; export r; \
26580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26581 $(HOST_EXPORTS) \
26582 for flag in $(EXTRA_HOST_FLAGS) ; do \
26583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26584 done; \
26585 echo "Doing dvi in zlib" ; \
26586 (cd $(HOST_SUBDIR)/zlib && \
26587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26589 "RANLIB=$${RANLIB}" \
26590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26591 dvi) \
26592 || exit 1
26594 @endif zlib
26596 .PHONY: maybe-pdf-zlib pdf-zlib
26597 maybe-pdf-zlib:
26598 @if zlib
26599 maybe-pdf-zlib: pdf-zlib
26601 pdf-zlib: \
26602 configure-zlib
26603 @[ -f ./zlib/Makefile ] || exit 0; \
26604 r=`${PWD_COMMAND}`; export r; \
26605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26606 $(HOST_EXPORTS) \
26607 for flag in $(EXTRA_HOST_FLAGS) ; do \
26608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26609 done; \
26610 echo "Doing pdf in zlib" ; \
26611 (cd $(HOST_SUBDIR)/zlib && \
26612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26614 "RANLIB=$${RANLIB}" \
26615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26616 pdf) \
26617 || exit 1
26619 @endif zlib
26621 .PHONY: maybe-html-zlib html-zlib
26622 maybe-html-zlib:
26623 @if zlib
26624 maybe-html-zlib: html-zlib
26626 html-zlib: \
26627 configure-zlib
26628 @[ -f ./zlib/Makefile ] || exit 0; \
26629 r=`${PWD_COMMAND}`; export r; \
26630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26631 $(HOST_EXPORTS) \
26632 for flag in $(EXTRA_HOST_FLAGS) ; do \
26633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26634 done; \
26635 echo "Doing html in zlib" ; \
26636 (cd $(HOST_SUBDIR)/zlib && \
26637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26639 "RANLIB=$${RANLIB}" \
26640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26641 html) \
26642 || exit 1
26644 @endif zlib
26646 .PHONY: maybe-TAGS-zlib TAGS-zlib
26647 maybe-TAGS-zlib:
26648 @if zlib
26649 maybe-TAGS-zlib: TAGS-zlib
26651 TAGS-zlib: \
26652 configure-zlib
26653 @[ -f ./zlib/Makefile ] || exit 0; \
26654 r=`${PWD_COMMAND}`; export r; \
26655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26656 $(HOST_EXPORTS) \
26657 for flag in $(EXTRA_HOST_FLAGS) ; do \
26658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26659 done; \
26660 echo "Doing TAGS in zlib" ; \
26661 (cd $(HOST_SUBDIR)/zlib && \
26662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26664 "RANLIB=$${RANLIB}" \
26665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26666 TAGS) \
26667 || exit 1
26669 @endif zlib
26671 .PHONY: maybe-install-info-zlib install-info-zlib
26672 maybe-install-info-zlib:
26673 @if zlib
26674 maybe-install-info-zlib: install-info-zlib
26676 install-info-zlib: \
26677 configure-zlib \
26678 info-zlib
26679 @[ -f ./zlib/Makefile ] || exit 0; \
26680 r=`${PWD_COMMAND}`; export r; \
26681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26682 $(HOST_EXPORTS) \
26683 for flag in $(EXTRA_HOST_FLAGS) ; do \
26684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26685 done; \
26686 echo "Doing install-info in zlib" ; \
26687 (cd $(HOST_SUBDIR)/zlib && \
26688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26690 "RANLIB=$${RANLIB}" \
26691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26692 install-info) \
26693 || exit 1
26695 @endif zlib
26697 .PHONY: maybe-install-pdf-zlib install-pdf-zlib
26698 maybe-install-pdf-zlib:
26699 @if zlib
26700 maybe-install-pdf-zlib: install-pdf-zlib
26702 install-pdf-zlib: \
26703 configure-zlib \
26704 pdf-zlib
26705 @[ -f ./zlib/Makefile ] || exit 0; \
26706 r=`${PWD_COMMAND}`; export r; \
26707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26708 $(HOST_EXPORTS) \
26709 for flag in $(EXTRA_HOST_FLAGS) ; do \
26710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26711 done; \
26712 echo "Doing install-pdf in zlib" ; \
26713 (cd $(HOST_SUBDIR)/zlib && \
26714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26716 "RANLIB=$${RANLIB}" \
26717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26718 install-pdf) \
26719 || exit 1
26721 @endif zlib
26723 .PHONY: maybe-install-html-zlib install-html-zlib
26724 maybe-install-html-zlib:
26725 @if zlib
26726 maybe-install-html-zlib: install-html-zlib
26728 install-html-zlib: \
26729 configure-zlib \
26730 html-zlib
26731 @[ -f ./zlib/Makefile ] || exit 0; \
26732 r=`${PWD_COMMAND}`; export r; \
26733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26734 $(HOST_EXPORTS) \
26735 for flag in $(EXTRA_HOST_FLAGS) ; do \
26736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26737 done; \
26738 echo "Doing install-html in zlib" ; \
26739 (cd $(HOST_SUBDIR)/zlib && \
26740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26742 "RANLIB=$${RANLIB}" \
26743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26744 install-html) \
26745 || exit 1
26747 @endif zlib
26749 .PHONY: maybe-installcheck-zlib installcheck-zlib
26750 maybe-installcheck-zlib:
26751 @if zlib
26752 maybe-installcheck-zlib: installcheck-zlib
26754 installcheck-zlib: \
26755 configure-zlib
26756 @[ -f ./zlib/Makefile ] || exit 0; \
26757 r=`${PWD_COMMAND}`; export r; \
26758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26759 $(HOST_EXPORTS) \
26760 for flag in $(EXTRA_HOST_FLAGS) ; do \
26761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26762 done; \
26763 echo "Doing installcheck in zlib" ; \
26764 (cd $(HOST_SUBDIR)/zlib && \
26765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26767 "RANLIB=$${RANLIB}" \
26768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26769 installcheck) \
26770 || exit 1
26772 @endif zlib
26774 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
26775 maybe-mostlyclean-zlib:
26776 @if zlib
26777 maybe-mostlyclean-zlib: mostlyclean-zlib
26779 mostlyclean-zlib:
26780 @[ -f ./zlib/Makefile ] || exit 0; \
26781 r=`${PWD_COMMAND}`; export r; \
26782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26783 $(HOST_EXPORTS) \
26784 for flag in $(EXTRA_HOST_FLAGS) ; do \
26785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26786 done; \
26787 echo "Doing mostlyclean in zlib" ; \
26788 (cd $(HOST_SUBDIR)/zlib && \
26789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26791 "RANLIB=$${RANLIB}" \
26792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26793 mostlyclean) \
26794 || exit 1
26796 @endif zlib
26798 .PHONY: maybe-clean-zlib clean-zlib
26799 maybe-clean-zlib:
26800 @if zlib
26801 maybe-clean-zlib: clean-zlib
26803 clean-zlib:
26804 @[ -f ./zlib/Makefile ] || exit 0; \
26805 r=`${PWD_COMMAND}`; export r; \
26806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26807 $(HOST_EXPORTS) \
26808 for flag in $(EXTRA_HOST_FLAGS) ; do \
26809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26810 done; \
26811 echo "Doing clean in zlib" ; \
26812 (cd $(HOST_SUBDIR)/zlib && \
26813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26815 "RANLIB=$${RANLIB}" \
26816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26817 clean) \
26818 || exit 1
26820 @endif zlib
26822 .PHONY: maybe-distclean-zlib distclean-zlib
26823 maybe-distclean-zlib:
26824 @if zlib
26825 maybe-distclean-zlib: distclean-zlib
26827 distclean-zlib:
26828 @[ -f ./zlib/Makefile ] || exit 0; \
26829 r=`${PWD_COMMAND}`; export r; \
26830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26831 $(HOST_EXPORTS) \
26832 for flag in $(EXTRA_HOST_FLAGS) ; do \
26833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26834 done; \
26835 echo "Doing distclean in zlib" ; \
26836 (cd $(HOST_SUBDIR)/zlib && \
26837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26839 "RANLIB=$${RANLIB}" \
26840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26841 distclean) \
26842 || exit 1
26844 @endif zlib
26846 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
26847 maybe-maintainer-clean-zlib:
26848 @if zlib
26849 maybe-maintainer-clean-zlib: maintainer-clean-zlib
26851 maintainer-clean-zlib:
26852 @[ -f ./zlib/Makefile ] || exit 0; \
26853 r=`${PWD_COMMAND}`; export r; \
26854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26855 $(HOST_EXPORTS) \
26856 for flag in $(EXTRA_HOST_FLAGS) ; do \
26857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26858 done; \
26859 echo "Doing maintainer-clean in zlib" ; \
26860 (cd $(HOST_SUBDIR)/zlib && \
26861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26863 "RANLIB=$${RANLIB}" \
26864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26865 maintainer-clean) \
26866 || exit 1
26868 @endif zlib
26872 .PHONY: configure-gdb maybe-configure-gdb
26873 maybe-configure-gdb:
26874 @if gcc-bootstrap
26875 configure-gdb: stage_current
26876 @endif gcc-bootstrap
26877 @if gdb
26878 maybe-configure-gdb: configure-gdb
26879 configure-gdb:
26880 @: $(MAKE); $(unstage)
26881 @r=`${PWD_COMMAND}`; export r; \
26882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26883 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
26884 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
26885 $(HOST_EXPORTS) \
26886 echo Configuring in $(HOST_SUBDIR)/gdb; \
26887 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
26888 case $(srcdir) in \
26889 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26890 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
26891 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26892 esac; \
26893 srcdiroption="--srcdir=$${topdir}/gdb"; \
26894 libsrcdir="$$s/gdb"; \
26895 $(SHELL) $${libsrcdir}/configure \
26896 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26897 --target=${target_alias} $${srcdiroption} \
26898 || exit 1
26899 @endif gdb
26905 .PHONY: all-gdb maybe-all-gdb
26906 maybe-all-gdb:
26907 @if gcc-bootstrap
26908 all-gdb: stage_current
26909 @endif gcc-bootstrap
26910 @if gdb
26911 TARGET-gdb=all
26912 maybe-all-gdb: all-gdb
26913 all-gdb: configure-gdb
26914 @: $(MAKE); $(unstage)
26915 @r=`${PWD_COMMAND}`; export r; \
26916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26917 $(HOST_EXPORTS) \
26918 (cd $(HOST_SUBDIR)/gdb && \
26919 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26920 $(TARGET-gdb))
26921 @endif gdb
26926 .PHONY: check-gdb maybe-check-gdb
26927 maybe-check-gdb:
26928 @if gdb
26929 maybe-check-gdb: check-gdb
26931 check-gdb:
26932 @: $(MAKE); $(unstage)
26933 @r=`${PWD_COMMAND}`; export r; \
26934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26935 $(HOST_EXPORTS) \
26936 (cd $(HOST_SUBDIR)/gdb && \
26937 $(MAKE) $(FLAGS_TO_PASS) check)
26939 @endif gdb
26941 .PHONY: install-gdb maybe-install-gdb
26942 maybe-install-gdb:
26943 @if gdb
26944 maybe-install-gdb: install-gdb
26946 install-gdb: installdirs
26947 @: $(MAKE); $(unstage)
26948 @r=`${PWD_COMMAND}`; export r; \
26949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26950 $(HOST_EXPORTS) \
26951 (cd $(HOST_SUBDIR)/gdb && \
26952 $(MAKE) $(FLAGS_TO_PASS) install)
26954 @endif gdb
26956 .PHONY: install-strip-gdb maybe-install-strip-gdb
26957 maybe-install-strip-gdb:
26958 @if gdb
26959 maybe-install-strip-gdb: install-strip-gdb
26961 install-strip-gdb: installdirs
26962 @: $(MAKE); $(unstage)
26963 @r=`${PWD_COMMAND}`; export r; \
26964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26965 $(HOST_EXPORTS) \
26966 (cd $(HOST_SUBDIR)/gdb && \
26967 $(MAKE) $(FLAGS_TO_PASS) install-strip)
26969 @endif gdb
26971 # Other targets (info, dvi, pdf, etc.)
26973 .PHONY: maybe-info-gdb info-gdb
26974 maybe-info-gdb:
26975 @if gdb
26976 maybe-info-gdb: info-gdb
26978 info-gdb: \
26979 configure-gdb
26980 @: $(MAKE); $(unstage)
26981 @[ -f ./gdb/Makefile ] || exit 0; \
26982 r=`${PWD_COMMAND}`; export r; \
26983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26984 $(HOST_EXPORTS) \
26985 for flag in $(EXTRA_HOST_FLAGS) ; do \
26986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26987 done; \
26988 echo "Doing info in gdb" ; \
26989 (cd $(HOST_SUBDIR)/gdb && \
26990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26992 "RANLIB=$${RANLIB}" \
26993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26994 info) \
26995 || exit 1
26997 @endif gdb
26999 .PHONY: maybe-dvi-gdb dvi-gdb
27000 maybe-dvi-gdb:
27001 @if gdb
27002 maybe-dvi-gdb: dvi-gdb
27004 dvi-gdb: \
27005 configure-gdb
27006 @: $(MAKE); $(unstage)
27007 @[ -f ./gdb/Makefile ] || exit 0; \
27008 r=`${PWD_COMMAND}`; export r; \
27009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27010 $(HOST_EXPORTS) \
27011 for flag in $(EXTRA_HOST_FLAGS) ; do \
27012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27013 done; \
27014 echo "Doing dvi in gdb" ; \
27015 (cd $(HOST_SUBDIR)/gdb && \
27016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27018 "RANLIB=$${RANLIB}" \
27019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27020 dvi) \
27021 || exit 1
27023 @endif gdb
27025 .PHONY: maybe-pdf-gdb pdf-gdb
27026 maybe-pdf-gdb:
27027 @if gdb
27028 maybe-pdf-gdb: pdf-gdb
27030 pdf-gdb: \
27031 configure-gdb
27032 @: $(MAKE); $(unstage)
27033 @[ -f ./gdb/Makefile ] || exit 0; \
27034 r=`${PWD_COMMAND}`; export r; \
27035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27036 $(HOST_EXPORTS) \
27037 for flag in $(EXTRA_HOST_FLAGS) ; do \
27038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27039 done; \
27040 echo "Doing pdf in gdb" ; \
27041 (cd $(HOST_SUBDIR)/gdb && \
27042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27044 "RANLIB=$${RANLIB}" \
27045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27046 pdf) \
27047 || exit 1
27049 @endif gdb
27051 .PHONY: maybe-html-gdb html-gdb
27052 maybe-html-gdb:
27053 @if gdb
27054 maybe-html-gdb: html-gdb
27056 html-gdb: \
27057 configure-gdb
27058 @: $(MAKE); $(unstage)
27059 @[ -f ./gdb/Makefile ] || exit 0; \
27060 r=`${PWD_COMMAND}`; export r; \
27061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27062 $(HOST_EXPORTS) \
27063 for flag in $(EXTRA_HOST_FLAGS) ; do \
27064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27065 done; \
27066 echo "Doing html in gdb" ; \
27067 (cd $(HOST_SUBDIR)/gdb && \
27068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27070 "RANLIB=$${RANLIB}" \
27071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27072 html) \
27073 || exit 1
27075 @endif gdb
27077 .PHONY: maybe-TAGS-gdb TAGS-gdb
27078 maybe-TAGS-gdb:
27079 @if gdb
27080 maybe-TAGS-gdb: TAGS-gdb
27082 TAGS-gdb: \
27083 configure-gdb
27084 @: $(MAKE); $(unstage)
27085 @[ -f ./gdb/Makefile ] || exit 0; \
27086 r=`${PWD_COMMAND}`; export r; \
27087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27088 $(HOST_EXPORTS) \
27089 for flag in $(EXTRA_HOST_FLAGS) ; do \
27090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27091 done; \
27092 echo "Doing TAGS in gdb" ; \
27093 (cd $(HOST_SUBDIR)/gdb && \
27094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27096 "RANLIB=$${RANLIB}" \
27097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27098 TAGS) \
27099 || exit 1
27101 @endif gdb
27103 .PHONY: maybe-install-info-gdb install-info-gdb
27104 maybe-install-info-gdb:
27105 @if gdb
27106 maybe-install-info-gdb: install-info-gdb
27108 install-info-gdb: \
27109 configure-gdb \
27110 info-gdb
27111 @: $(MAKE); $(unstage)
27112 @[ -f ./gdb/Makefile ] || exit 0; \
27113 r=`${PWD_COMMAND}`; export r; \
27114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27115 $(HOST_EXPORTS) \
27116 for flag in $(EXTRA_HOST_FLAGS) ; do \
27117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27118 done; \
27119 echo "Doing install-info in gdb" ; \
27120 (cd $(HOST_SUBDIR)/gdb && \
27121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27123 "RANLIB=$${RANLIB}" \
27124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27125 install-info) \
27126 || exit 1
27128 @endif gdb
27130 .PHONY: maybe-install-pdf-gdb install-pdf-gdb
27131 maybe-install-pdf-gdb:
27132 @if gdb
27133 maybe-install-pdf-gdb: install-pdf-gdb
27135 install-pdf-gdb: \
27136 configure-gdb \
27137 pdf-gdb
27138 @: $(MAKE); $(unstage)
27139 @[ -f ./gdb/Makefile ] || exit 0; \
27140 r=`${PWD_COMMAND}`; export r; \
27141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27142 $(HOST_EXPORTS) \
27143 for flag in $(EXTRA_HOST_FLAGS) ; do \
27144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27145 done; \
27146 echo "Doing install-pdf in gdb" ; \
27147 (cd $(HOST_SUBDIR)/gdb && \
27148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27150 "RANLIB=$${RANLIB}" \
27151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27152 install-pdf) \
27153 || exit 1
27155 @endif gdb
27157 .PHONY: maybe-install-html-gdb install-html-gdb
27158 maybe-install-html-gdb:
27159 @if gdb
27160 maybe-install-html-gdb: install-html-gdb
27162 install-html-gdb: \
27163 configure-gdb \
27164 html-gdb
27165 @: $(MAKE); $(unstage)
27166 @[ -f ./gdb/Makefile ] || exit 0; \
27167 r=`${PWD_COMMAND}`; export r; \
27168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27169 $(HOST_EXPORTS) \
27170 for flag in $(EXTRA_HOST_FLAGS) ; do \
27171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27172 done; \
27173 echo "Doing install-html in gdb" ; \
27174 (cd $(HOST_SUBDIR)/gdb && \
27175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27177 "RANLIB=$${RANLIB}" \
27178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27179 install-html) \
27180 || exit 1
27182 @endif gdb
27184 .PHONY: maybe-installcheck-gdb installcheck-gdb
27185 maybe-installcheck-gdb:
27186 @if gdb
27187 maybe-installcheck-gdb: installcheck-gdb
27189 installcheck-gdb: \
27190 configure-gdb
27191 @: $(MAKE); $(unstage)
27192 @[ -f ./gdb/Makefile ] || exit 0; \
27193 r=`${PWD_COMMAND}`; export r; \
27194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27195 $(HOST_EXPORTS) \
27196 for flag in $(EXTRA_HOST_FLAGS) ; do \
27197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27198 done; \
27199 echo "Doing installcheck in gdb" ; \
27200 (cd $(HOST_SUBDIR)/gdb && \
27201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27203 "RANLIB=$${RANLIB}" \
27204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27205 installcheck) \
27206 || exit 1
27208 @endif gdb
27210 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
27211 maybe-mostlyclean-gdb:
27212 @if gdb
27213 maybe-mostlyclean-gdb: mostlyclean-gdb
27215 mostlyclean-gdb:
27216 @: $(MAKE); $(unstage)
27217 @[ -f ./gdb/Makefile ] || exit 0; \
27218 r=`${PWD_COMMAND}`; export r; \
27219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27220 $(HOST_EXPORTS) \
27221 for flag in $(EXTRA_HOST_FLAGS) ; do \
27222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27223 done; \
27224 echo "Doing mostlyclean in gdb" ; \
27225 (cd $(HOST_SUBDIR)/gdb && \
27226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27228 "RANLIB=$${RANLIB}" \
27229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27230 mostlyclean) \
27231 || exit 1
27233 @endif gdb
27235 .PHONY: maybe-clean-gdb clean-gdb
27236 maybe-clean-gdb:
27237 @if gdb
27238 maybe-clean-gdb: clean-gdb
27240 clean-gdb:
27241 @: $(MAKE); $(unstage)
27242 @[ -f ./gdb/Makefile ] || exit 0; \
27243 r=`${PWD_COMMAND}`; export r; \
27244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27245 $(HOST_EXPORTS) \
27246 for flag in $(EXTRA_HOST_FLAGS) ; do \
27247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27248 done; \
27249 echo "Doing clean in gdb" ; \
27250 (cd $(HOST_SUBDIR)/gdb && \
27251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27253 "RANLIB=$${RANLIB}" \
27254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27255 clean) \
27256 || exit 1
27258 @endif gdb
27260 .PHONY: maybe-distclean-gdb distclean-gdb
27261 maybe-distclean-gdb:
27262 @if gdb
27263 maybe-distclean-gdb: distclean-gdb
27265 distclean-gdb:
27266 @: $(MAKE); $(unstage)
27267 @[ -f ./gdb/Makefile ] || exit 0; \
27268 r=`${PWD_COMMAND}`; export r; \
27269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27270 $(HOST_EXPORTS) \
27271 for flag in $(EXTRA_HOST_FLAGS) ; do \
27272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27273 done; \
27274 echo "Doing distclean in gdb" ; \
27275 (cd $(HOST_SUBDIR)/gdb && \
27276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27278 "RANLIB=$${RANLIB}" \
27279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27280 distclean) \
27281 || exit 1
27283 @endif gdb
27285 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
27286 maybe-maintainer-clean-gdb:
27287 @if gdb
27288 maybe-maintainer-clean-gdb: maintainer-clean-gdb
27290 maintainer-clean-gdb:
27291 @: $(MAKE); $(unstage)
27292 @[ -f ./gdb/Makefile ] || exit 0; \
27293 r=`${PWD_COMMAND}`; export r; \
27294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27295 $(HOST_EXPORTS) \
27296 for flag in $(EXTRA_HOST_FLAGS) ; do \
27297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27298 done; \
27299 echo "Doing maintainer-clean in gdb" ; \
27300 (cd $(HOST_SUBDIR)/gdb && \
27301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27303 "RANLIB=$${RANLIB}" \
27304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27305 maintainer-clean) \
27306 || exit 1
27308 @endif gdb
27312 .PHONY: configure-expect maybe-configure-expect
27313 maybe-configure-expect:
27314 @if gcc-bootstrap
27315 configure-expect: stage_current
27316 @endif gcc-bootstrap
27317 @if expect
27318 maybe-configure-expect: configure-expect
27319 configure-expect:
27320 @: $(MAKE); $(unstage)
27321 @r=`${PWD_COMMAND}`; export r; \
27322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27323 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
27324 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
27325 $(HOST_EXPORTS) \
27326 echo Configuring in $(HOST_SUBDIR)/expect; \
27327 cd "$(HOST_SUBDIR)/expect" || exit 1; \
27328 case $(srcdir) in \
27329 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27330 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
27331 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27332 esac; \
27333 srcdiroption="--srcdir=$${topdir}/expect"; \
27334 libsrcdir="$$s/expect"; \
27335 $(SHELL) $${libsrcdir}/configure \
27336 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27337 --target=${target_alias} $${srcdiroption} \
27338 || exit 1
27339 @endif expect
27345 .PHONY: all-expect maybe-all-expect
27346 maybe-all-expect:
27347 @if gcc-bootstrap
27348 all-expect: stage_current
27349 @endif gcc-bootstrap
27350 @if expect
27351 TARGET-expect=all
27352 maybe-all-expect: all-expect
27353 all-expect: configure-expect
27354 @: $(MAKE); $(unstage)
27355 @r=`${PWD_COMMAND}`; export r; \
27356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27357 $(HOST_EXPORTS) \
27358 (cd $(HOST_SUBDIR)/expect && \
27359 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
27360 $(TARGET-expect))
27361 @endif expect
27366 .PHONY: check-expect maybe-check-expect
27367 maybe-check-expect:
27368 @if expect
27369 maybe-check-expect: check-expect
27371 check-expect:
27372 @: $(MAKE); $(unstage)
27373 @r=`${PWD_COMMAND}`; export r; \
27374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27375 $(HOST_EXPORTS) \
27376 (cd $(HOST_SUBDIR)/expect && \
27377 $(MAKE) $(FLAGS_TO_PASS) check)
27379 @endif expect
27381 .PHONY: install-expect maybe-install-expect
27382 maybe-install-expect:
27383 @if expect
27384 maybe-install-expect: install-expect
27386 install-expect: installdirs
27387 @: $(MAKE); $(unstage)
27388 @r=`${PWD_COMMAND}`; export r; \
27389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27390 $(HOST_EXPORTS) \
27391 (cd $(HOST_SUBDIR)/expect && \
27392 $(MAKE) $(FLAGS_TO_PASS) install)
27394 @endif expect
27396 .PHONY: install-strip-expect maybe-install-strip-expect
27397 maybe-install-strip-expect:
27398 @if expect
27399 maybe-install-strip-expect: install-strip-expect
27401 install-strip-expect: installdirs
27402 @: $(MAKE); $(unstage)
27403 @r=`${PWD_COMMAND}`; export r; \
27404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27405 $(HOST_EXPORTS) \
27406 (cd $(HOST_SUBDIR)/expect && \
27407 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27409 @endif expect
27411 # Other targets (info, dvi, pdf, etc.)
27413 .PHONY: maybe-info-expect info-expect
27414 maybe-info-expect:
27415 @if expect
27416 maybe-info-expect: info-expect
27418 info-expect: \
27419 configure-expect
27420 @: $(MAKE); $(unstage)
27421 @[ -f ./expect/Makefile ] || exit 0; \
27422 r=`${PWD_COMMAND}`; export r; \
27423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27424 $(HOST_EXPORTS) \
27425 for flag in $(EXTRA_HOST_FLAGS) ; do \
27426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27427 done; \
27428 echo "Doing info in expect" ; \
27429 (cd $(HOST_SUBDIR)/expect && \
27430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27432 "RANLIB=$${RANLIB}" \
27433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27434 info) \
27435 || exit 1
27437 @endif expect
27439 .PHONY: maybe-dvi-expect dvi-expect
27440 maybe-dvi-expect:
27441 @if expect
27442 maybe-dvi-expect: dvi-expect
27444 dvi-expect: \
27445 configure-expect
27446 @: $(MAKE); $(unstage)
27447 @[ -f ./expect/Makefile ] || exit 0; \
27448 r=`${PWD_COMMAND}`; export r; \
27449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27450 $(HOST_EXPORTS) \
27451 for flag in $(EXTRA_HOST_FLAGS) ; do \
27452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27453 done; \
27454 echo "Doing dvi in expect" ; \
27455 (cd $(HOST_SUBDIR)/expect && \
27456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27458 "RANLIB=$${RANLIB}" \
27459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27460 dvi) \
27461 || exit 1
27463 @endif expect
27465 .PHONY: maybe-pdf-expect pdf-expect
27466 maybe-pdf-expect:
27467 @if expect
27468 maybe-pdf-expect: pdf-expect
27470 pdf-expect: \
27471 configure-expect
27472 @: $(MAKE); $(unstage)
27473 @[ -f ./expect/Makefile ] || exit 0; \
27474 r=`${PWD_COMMAND}`; export r; \
27475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27476 $(HOST_EXPORTS) \
27477 for flag in $(EXTRA_HOST_FLAGS) ; do \
27478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27479 done; \
27480 echo "Doing pdf in expect" ; \
27481 (cd $(HOST_SUBDIR)/expect && \
27482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27484 "RANLIB=$${RANLIB}" \
27485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27486 pdf) \
27487 || exit 1
27489 @endif expect
27491 .PHONY: maybe-html-expect html-expect
27492 maybe-html-expect:
27493 @if expect
27494 maybe-html-expect: html-expect
27496 html-expect: \
27497 configure-expect
27498 @: $(MAKE); $(unstage)
27499 @[ -f ./expect/Makefile ] || exit 0; \
27500 r=`${PWD_COMMAND}`; export r; \
27501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27502 $(HOST_EXPORTS) \
27503 for flag in $(EXTRA_HOST_FLAGS) ; do \
27504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27505 done; \
27506 echo "Doing html in expect" ; \
27507 (cd $(HOST_SUBDIR)/expect && \
27508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27510 "RANLIB=$${RANLIB}" \
27511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27512 html) \
27513 || exit 1
27515 @endif expect
27517 .PHONY: maybe-TAGS-expect TAGS-expect
27518 maybe-TAGS-expect:
27519 @if expect
27520 maybe-TAGS-expect: TAGS-expect
27522 TAGS-expect: \
27523 configure-expect
27524 @: $(MAKE); $(unstage)
27525 @[ -f ./expect/Makefile ] || exit 0; \
27526 r=`${PWD_COMMAND}`; export r; \
27527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27528 $(HOST_EXPORTS) \
27529 for flag in $(EXTRA_HOST_FLAGS) ; do \
27530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27531 done; \
27532 echo "Doing TAGS in expect" ; \
27533 (cd $(HOST_SUBDIR)/expect && \
27534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27536 "RANLIB=$${RANLIB}" \
27537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27538 TAGS) \
27539 || exit 1
27541 @endif expect
27543 .PHONY: maybe-install-info-expect install-info-expect
27544 maybe-install-info-expect:
27545 @if expect
27546 maybe-install-info-expect: install-info-expect
27548 install-info-expect: \
27549 configure-expect \
27550 info-expect
27551 @: $(MAKE); $(unstage)
27552 @[ -f ./expect/Makefile ] || exit 0; \
27553 r=`${PWD_COMMAND}`; export r; \
27554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27555 $(HOST_EXPORTS) \
27556 for flag in $(EXTRA_HOST_FLAGS) ; do \
27557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27558 done; \
27559 echo "Doing install-info in expect" ; \
27560 (cd $(HOST_SUBDIR)/expect && \
27561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27563 "RANLIB=$${RANLIB}" \
27564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27565 install-info) \
27566 || exit 1
27568 @endif expect
27570 .PHONY: maybe-install-pdf-expect install-pdf-expect
27571 maybe-install-pdf-expect:
27572 @if expect
27573 maybe-install-pdf-expect: install-pdf-expect
27575 install-pdf-expect: \
27576 configure-expect \
27577 pdf-expect
27578 @: $(MAKE); $(unstage)
27579 @[ -f ./expect/Makefile ] || exit 0; \
27580 r=`${PWD_COMMAND}`; export r; \
27581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27582 $(HOST_EXPORTS) \
27583 for flag in $(EXTRA_HOST_FLAGS) ; do \
27584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27585 done; \
27586 echo "Doing install-pdf in expect" ; \
27587 (cd $(HOST_SUBDIR)/expect && \
27588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27590 "RANLIB=$${RANLIB}" \
27591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27592 install-pdf) \
27593 || exit 1
27595 @endif expect
27597 .PHONY: maybe-install-html-expect install-html-expect
27598 maybe-install-html-expect:
27599 @if expect
27600 maybe-install-html-expect: install-html-expect
27602 install-html-expect: \
27603 configure-expect \
27604 html-expect
27605 @: $(MAKE); $(unstage)
27606 @[ -f ./expect/Makefile ] || exit 0; \
27607 r=`${PWD_COMMAND}`; export r; \
27608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27609 $(HOST_EXPORTS) \
27610 for flag in $(EXTRA_HOST_FLAGS) ; do \
27611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27612 done; \
27613 echo "Doing install-html in expect" ; \
27614 (cd $(HOST_SUBDIR)/expect && \
27615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27617 "RANLIB=$${RANLIB}" \
27618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27619 install-html) \
27620 || exit 1
27622 @endif expect
27624 .PHONY: maybe-installcheck-expect installcheck-expect
27625 maybe-installcheck-expect:
27626 @if expect
27627 maybe-installcheck-expect: installcheck-expect
27629 installcheck-expect: \
27630 configure-expect
27631 @: $(MAKE); $(unstage)
27632 @[ -f ./expect/Makefile ] || exit 0; \
27633 r=`${PWD_COMMAND}`; export r; \
27634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27635 $(HOST_EXPORTS) \
27636 for flag in $(EXTRA_HOST_FLAGS) ; do \
27637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27638 done; \
27639 echo "Doing installcheck in expect" ; \
27640 (cd $(HOST_SUBDIR)/expect && \
27641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27643 "RANLIB=$${RANLIB}" \
27644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27645 installcheck) \
27646 || exit 1
27648 @endif expect
27650 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
27651 maybe-mostlyclean-expect:
27652 @if expect
27653 maybe-mostlyclean-expect: mostlyclean-expect
27655 mostlyclean-expect:
27656 @: $(MAKE); $(unstage)
27657 @[ -f ./expect/Makefile ] || exit 0; \
27658 r=`${PWD_COMMAND}`; export r; \
27659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27660 $(HOST_EXPORTS) \
27661 for flag in $(EXTRA_HOST_FLAGS) ; do \
27662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27663 done; \
27664 echo "Doing mostlyclean in expect" ; \
27665 (cd $(HOST_SUBDIR)/expect && \
27666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27668 "RANLIB=$${RANLIB}" \
27669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27670 mostlyclean) \
27671 || exit 1
27673 @endif expect
27675 .PHONY: maybe-clean-expect clean-expect
27676 maybe-clean-expect:
27677 @if expect
27678 maybe-clean-expect: clean-expect
27680 clean-expect:
27681 @: $(MAKE); $(unstage)
27682 @[ -f ./expect/Makefile ] || exit 0; \
27683 r=`${PWD_COMMAND}`; export r; \
27684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27685 $(HOST_EXPORTS) \
27686 for flag in $(EXTRA_HOST_FLAGS) ; do \
27687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27688 done; \
27689 echo "Doing clean in expect" ; \
27690 (cd $(HOST_SUBDIR)/expect && \
27691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27693 "RANLIB=$${RANLIB}" \
27694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27695 clean) \
27696 || exit 1
27698 @endif expect
27700 .PHONY: maybe-distclean-expect distclean-expect
27701 maybe-distclean-expect:
27702 @if expect
27703 maybe-distclean-expect: distclean-expect
27705 distclean-expect:
27706 @: $(MAKE); $(unstage)
27707 @[ -f ./expect/Makefile ] || exit 0; \
27708 r=`${PWD_COMMAND}`; export r; \
27709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27710 $(HOST_EXPORTS) \
27711 for flag in $(EXTRA_HOST_FLAGS) ; do \
27712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27713 done; \
27714 echo "Doing distclean in expect" ; \
27715 (cd $(HOST_SUBDIR)/expect && \
27716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27718 "RANLIB=$${RANLIB}" \
27719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27720 distclean) \
27721 || exit 1
27723 @endif expect
27725 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
27726 maybe-maintainer-clean-expect:
27727 @if expect
27728 maybe-maintainer-clean-expect: maintainer-clean-expect
27730 maintainer-clean-expect:
27731 @: $(MAKE); $(unstage)
27732 @[ -f ./expect/Makefile ] || exit 0; \
27733 r=`${PWD_COMMAND}`; export r; \
27734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27735 $(HOST_EXPORTS) \
27736 for flag in $(EXTRA_HOST_FLAGS) ; do \
27737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27738 done; \
27739 echo "Doing maintainer-clean in expect" ; \
27740 (cd $(HOST_SUBDIR)/expect && \
27741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27743 "RANLIB=$${RANLIB}" \
27744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27745 maintainer-clean) \
27746 || exit 1
27748 @endif expect
27752 .PHONY: configure-guile maybe-configure-guile
27753 maybe-configure-guile:
27754 @if gcc-bootstrap
27755 configure-guile: stage_current
27756 @endif gcc-bootstrap
27757 @if guile
27758 maybe-configure-guile: configure-guile
27759 configure-guile:
27760 @: $(MAKE); $(unstage)
27761 @r=`${PWD_COMMAND}`; export r; \
27762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27763 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
27764 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
27765 $(HOST_EXPORTS) \
27766 echo Configuring in $(HOST_SUBDIR)/guile; \
27767 cd "$(HOST_SUBDIR)/guile" || exit 1; \
27768 case $(srcdir) in \
27769 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27770 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
27771 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27772 esac; \
27773 srcdiroption="--srcdir=$${topdir}/guile"; \
27774 libsrcdir="$$s/guile"; \
27775 $(SHELL) $${libsrcdir}/configure \
27776 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27777 --target=${target_alias} $${srcdiroption} \
27778 || exit 1
27779 @endif guile
27785 .PHONY: all-guile maybe-all-guile
27786 maybe-all-guile:
27787 @if gcc-bootstrap
27788 all-guile: stage_current
27789 @endif gcc-bootstrap
27790 @if guile
27791 TARGET-guile=all
27792 maybe-all-guile: all-guile
27793 all-guile: configure-guile
27794 @: $(MAKE); $(unstage)
27795 @r=`${PWD_COMMAND}`; export r; \
27796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27797 $(HOST_EXPORTS) \
27798 (cd $(HOST_SUBDIR)/guile && \
27799 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
27800 $(TARGET-guile))
27801 @endif guile
27806 .PHONY: check-guile maybe-check-guile
27807 maybe-check-guile:
27808 @if guile
27809 maybe-check-guile: check-guile
27811 check-guile:
27812 @: $(MAKE); $(unstage)
27813 @r=`${PWD_COMMAND}`; export r; \
27814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27815 $(HOST_EXPORTS) \
27816 (cd $(HOST_SUBDIR)/guile && \
27817 $(MAKE) $(FLAGS_TO_PASS) check)
27819 @endif guile
27821 .PHONY: install-guile maybe-install-guile
27822 maybe-install-guile:
27823 @if guile
27824 maybe-install-guile: install-guile
27826 install-guile: installdirs
27827 @: $(MAKE); $(unstage)
27828 @r=`${PWD_COMMAND}`; export r; \
27829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27830 $(HOST_EXPORTS) \
27831 (cd $(HOST_SUBDIR)/guile && \
27832 $(MAKE) $(FLAGS_TO_PASS) install)
27834 @endif guile
27836 .PHONY: install-strip-guile maybe-install-strip-guile
27837 maybe-install-strip-guile:
27838 @if guile
27839 maybe-install-strip-guile: install-strip-guile
27841 install-strip-guile: installdirs
27842 @: $(MAKE); $(unstage)
27843 @r=`${PWD_COMMAND}`; export r; \
27844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27845 $(HOST_EXPORTS) \
27846 (cd $(HOST_SUBDIR)/guile && \
27847 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27849 @endif guile
27851 # Other targets (info, dvi, pdf, etc.)
27853 .PHONY: maybe-info-guile info-guile
27854 maybe-info-guile:
27855 @if guile
27856 maybe-info-guile: info-guile
27858 info-guile: \
27859 configure-guile
27860 @: $(MAKE); $(unstage)
27861 @[ -f ./guile/Makefile ] || exit 0; \
27862 r=`${PWD_COMMAND}`; export r; \
27863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27864 $(HOST_EXPORTS) \
27865 for flag in $(EXTRA_HOST_FLAGS) ; do \
27866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27867 done; \
27868 echo "Doing info in guile" ; \
27869 (cd $(HOST_SUBDIR)/guile && \
27870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27872 "RANLIB=$${RANLIB}" \
27873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27874 info) \
27875 || exit 1
27877 @endif guile
27879 .PHONY: maybe-dvi-guile dvi-guile
27880 maybe-dvi-guile:
27881 @if guile
27882 maybe-dvi-guile: dvi-guile
27884 dvi-guile: \
27885 configure-guile
27886 @: $(MAKE); $(unstage)
27887 @[ -f ./guile/Makefile ] || exit 0; \
27888 r=`${PWD_COMMAND}`; export r; \
27889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27890 $(HOST_EXPORTS) \
27891 for flag in $(EXTRA_HOST_FLAGS) ; do \
27892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27893 done; \
27894 echo "Doing dvi in guile" ; \
27895 (cd $(HOST_SUBDIR)/guile && \
27896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27898 "RANLIB=$${RANLIB}" \
27899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27900 dvi) \
27901 || exit 1
27903 @endif guile
27905 .PHONY: maybe-pdf-guile pdf-guile
27906 maybe-pdf-guile:
27907 @if guile
27908 maybe-pdf-guile: pdf-guile
27910 pdf-guile: \
27911 configure-guile
27912 @: $(MAKE); $(unstage)
27913 @[ -f ./guile/Makefile ] || exit 0; \
27914 r=`${PWD_COMMAND}`; export r; \
27915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27916 $(HOST_EXPORTS) \
27917 for flag in $(EXTRA_HOST_FLAGS) ; do \
27918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27919 done; \
27920 echo "Doing pdf in guile" ; \
27921 (cd $(HOST_SUBDIR)/guile && \
27922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27924 "RANLIB=$${RANLIB}" \
27925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27926 pdf) \
27927 || exit 1
27929 @endif guile
27931 .PHONY: maybe-html-guile html-guile
27932 maybe-html-guile:
27933 @if guile
27934 maybe-html-guile: html-guile
27936 html-guile: \
27937 configure-guile
27938 @: $(MAKE); $(unstage)
27939 @[ -f ./guile/Makefile ] || exit 0; \
27940 r=`${PWD_COMMAND}`; export r; \
27941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27942 $(HOST_EXPORTS) \
27943 for flag in $(EXTRA_HOST_FLAGS) ; do \
27944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27945 done; \
27946 echo "Doing html in guile" ; \
27947 (cd $(HOST_SUBDIR)/guile && \
27948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27950 "RANLIB=$${RANLIB}" \
27951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27952 html) \
27953 || exit 1
27955 @endif guile
27957 .PHONY: maybe-TAGS-guile TAGS-guile
27958 maybe-TAGS-guile:
27959 @if guile
27960 maybe-TAGS-guile: TAGS-guile
27962 TAGS-guile: \
27963 configure-guile
27964 @: $(MAKE); $(unstage)
27965 @[ -f ./guile/Makefile ] || exit 0; \
27966 r=`${PWD_COMMAND}`; export r; \
27967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27968 $(HOST_EXPORTS) \
27969 for flag in $(EXTRA_HOST_FLAGS) ; do \
27970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27971 done; \
27972 echo "Doing TAGS in guile" ; \
27973 (cd $(HOST_SUBDIR)/guile && \
27974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27976 "RANLIB=$${RANLIB}" \
27977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27978 TAGS) \
27979 || exit 1
27981 @endif guile
27983 .PHONY: maybe-install-info-guile install-info-guile
27984 maybe-install-info-guile:
27985 @if guile
27986 maybe-install-info-guile: install-info-guile
27988 install-info-guile: \
27989 configure-guile \
27990 info-guile
27991 @: $(MAKE); $(unstage)
27992 @[ -f ./guile/Makefile ] || exit 0; \
27993 r=`${PWD_COMMAND}`; export r; \
27994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27995 $(HOST_EXPORTS) \
27996 for flag in $(EXTRA_HOST_FLAGS) ; do \
27997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27998 done; \
27999 echo "Doing install-info in guile" ; \
28000 (cd $(HOST_SUBDIR)/guile && \
28001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28003 "RANLIB=$${RANLIB}" \
28004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28005 install-info) \
28006 || exit 1
28008 @endif guile
28010 .PHONY: maybe-install-pdf-guile install-pdf-guile
28011 maybe-install-pdf-guile:
28012 @if guile
28013 maybe-install-pdf-guile: install-pdf-guile
28015 install-pdf-guile: \
28016 configure-guile \
28017 pdf-guile
28018 @: $(MAKE); $(unstage)
28019 @[ -f ./guile/Makefile ] || exit 0; \
28020 r=`${PWD_COMMAND}`; export r; \
28021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28022 $(HOST_EXPORTS) \
28023 for flag in $(EXTRA_HOST_FLAGS) ; do \
28024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28025 done; \
28026 echo "Doing install-pdf in guile" ; \
28027 (cd $(HOST_SUBDIR)/guile && \
28028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28030 "RANLIB=$${RANLIB}" \
28031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28032 install-pdf) \
28033 || exit 1
28035 @endif guile
28037 .PHONY: maybe-install-html-guile install-html-guile
28038 maybe-install-html-guile:
28039 @if guile
28040 maybe-install-html-guile: install-html-guile
28042 install-html-guile: \
28043 configure-guile \
28044 html-guile
28045 @: $(MAKE); $(unstage)
28046 @[ -f ./guile/Makefile ] || exit 0; \
28047 r=`${PWD_COMMAND}`; export r; \
28048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28049 $(HOST_EXPORTS) \
28050 for flag in $(EXTRA_HOST_FLAGS) ; do \
28051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28052 done; \
28053 echo "Doing install-html in guile" ; \
28054 (cd $(HOST_SUBDIR)/guile && \
28055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28057 "RANLIB=$${RANLIB}" \
28058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28059 install-html) \
28060 || exit 1
28062 @endif guile
28064 .PHONY: maybe-installcheck-guile installcheck-guile
28065 maybe-installcheck-guile:
28066 @if guile
28067 maybe-installcheck-guile: installcheck-guile
28069 installcheck-guile: \
28070 configure-guile
28071 @: $(MAKE); $(unstage)
28072 @[ -f ./guile/Makefile ] || exit 0; \
28073 r=`${PWD_COMMAND}`; export r; \
28074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28075 $(HOST_EXPORTS) \
28076 for flag in $(EXTRA_HOST_FLAGS) ; do \
28077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28078 done; \
28079 echo "Doing installcheck in guile" ; \
28080 (cd $(HOST_SUBDIR)/guile && \
28081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28083 "RANLIB=$${RANLIB}" \
28084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28085 installcheck) \
28086 || exit 1
28088 @endif guile
28090 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
28091 maybe-mostlyclean-guile:
28092 @if guile
28093 maybe-mostlyclean-guile: mostlyclean-guile
28095 mostlyclean-guile:
28096 @: $(MAKE); $(unstage)
28097 @[ -f ./guile/Makefile ] || exit 0; \
28098 r=`${PWD_COMMAND}`; export r; \
28099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28100 $(HOST_EXPORTS) \
28101 for flag in $(EXTRA_HOST_FLAGS) ; do \
28102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28103 done; \
28104 echo "Doing mostlyclean in guile" ; \
28105 (cd $(HOST_SUBDIR)/guile && \
28106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28108 "RANLIB=$${RANLIB}" \
28109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28110 mostlyclean) \
28111 || exit 1
28113 @endif guile
28115 .PHONY: maybe-clean-guile clean-guile
28116 maybe-clean-guile:
28117 @if guile
28118 maybe-clean-guile: clean-guile
28120 clean-guile:
28121 @: $(MAKE); $(unstage)
28122 @[ -f ./guile/Makefile ] || exit 0; \
28123 r=`${PWD_COMMAND}`; export r; \
28124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28125 $(HOST_EXPORTS) \
28126 for flag in $(EXTRA_HOST_FLAGS) ; do \
28127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28128 done; \
28129 echo "Doing clean in guile" ; \
28130 (cd $(HOST_SUBDIR)/guile && \
28131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28133 "RANLIB=$${RANLIB}" \
28134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28135 clean) \
28136 || exit 1
28138 @endif guile
28140 .PHONY: maybe-distclean-guile distclean-guile
28141 maybe-distclean-guile:
28142 @if guile
28143 maybe-distclean-guile: distclean-guile
28145 distclean-guile:
28146 @: $(MAKE); $(unstage)
28147 @[ -f ./guile/Makefile ] || exit 0; \
28148 r=`${PWD_COMMAND}`; export r; \
28149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28150 $(HOST_EXPORTS) \
28151 for flag in $(EXTRA_HOST_FLAGS) ; do \
28152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28153 done; \
28154 echo "Doing distclean in guile" ; \
28155 (cd $(HOST_SUBDIR)/guile && \
28156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28158 "RANLIB=$${RANLIB}" \
28159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28160 distclean) \
28161 || exit 1
28163 @endif guile
28165 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
28166 maybe-maintainer-clean-guile:
28167 @if guile
28168 maybe-maintainer-clean-guile: maintainer-clean-guile
28170 maintainer-clean-guile:
28171 @: $(MAKE); $(unstage)
28172 @[ -f ./guile/Makefile ] || exit 0; \
28173 r=`${PWD_COMMAND}`; export r; \
28174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28175 $(HOST_EXPORTS) \
28176 for flag in $(EXTRA_HOST_FLAGS) ; do \
28177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28178 done; \
28179 echo "Doing maintainer-clean in guile" ; \
28180 (cd $(HOST_SUBDIR)/guile && \
28181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28183 "RANLIB=$${RANLIB}" \
28184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28185 maintainer-clean) \
28186 || exit 1
28188 @endif guile
28192 .PHONY: configure-tk maybe-configure-tk
28193 maybe-configure-tk:
28194 @if gcc-bootstrap
28195 configure-tk: stage_current
28196 @endif gcc-bootstrap
28197 @if tk
28198 maybe-configure-tk: configure-tk
28199 configure-tk:
28200 @: $(MAKE); $(unstage)
28201 @r=`${PWD_COMMAND}`; export r; \
28202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28203 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
28204 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
28205 $(HOST_EXPORTS) \
28206 echo Configuring in $(HOST_SUBDIR)/tk; \
28207 cd "$(HOST_SUBDIR)/tk" || exit 1; \
28208 case $(srcdir) in \
28209 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28210 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
28211 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28212 esac; \
28213 srcdiroption="--srcdir=$${topdir}/tk"; \
28214 libsrcdir="$$s/tk"; \
28215 $(SHELL) $${libsrcdir}/configure \
28216 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28217 --target=${target_alias} $${srcdiroption} \
28218 || exit 1
28219 @endif tk
28225 .PHONY: all-tk maybe-all-tk
28226 maybe-all-tk:
28227 @if gcc-bootstrap
28228 all-tk: stage_current
28229 @endif gcc-bootstrap
28230 @if tk
28231 TARGET-tk=all
28232 maybe-all-tk: all-tk
28233 all-tk: configure-tk
28234 @: $(MAKE); $(unstage)
28235 @r=`${PWD_COMMAND}`; export r; \
28236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28237 $(HOST_EXPORTS) \
28238 (cd $(HOST_SUBDIR)/tk && \
28239 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28240 $(TARGET-tk))
28241 @endif tk
28246 .PHONY: check-tk maybe-check-tk
28247 maybe-check-tk:
28248 @if tk
28249 maybe-check-tk: check-tk
28251 check-tk:
28252 @: $(MAKE); $(unstage)
28253 @r=`${PWD_COMMAND}`; export r; \
28254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28255 $(HOST_EXPORTS) \
28256 (cd $(HOST_SUBDIR)/tk && \
28257 $(MAKE) $(FLAGS_TO_PASS) check)
28259 @endif tk
28261 .PHONY: install-tk maybe-install-tk
28262 maybe-install-tk:
28263 @if tk
28264 maybe-install-tk: install-tk
28266 install-tk: installdirs
28267 @: $(MAKE); $(unstage)
28268 @r=`${PWD_COMMAND}`; export r; \
28269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28270 $(HOST_EXPORTS) \
28271 (cd $(HOST_SUBDIR)/tk && \
28272 $(MAKE) $(FLAGS_TO_PASS) install)
28274 @endif tk
28276 .PHONY: install-strip-tk maybe-install-strip-tk
28277 maybe-install-strip-tk:
28278 @if tk
28279 maybe-install-strip-tk: install-strip-tk
28281 install-strip-tk: installdirs
28282 @: $(MAKE); $(unstage)
28283 @r=`${PWD_COMMAND}`; export r; \
28284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28285 $(HOST_EXPORTS) \
28286 (cd $(HOST_SUBDIR)/tk && \
28287 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28289 @endif tk
28291 # Other targets (info, dvi, pdf, etc.)
28293 .PHONY: maybe-info-tk info-tk
28294 maybe-info-tk:
28295 @if tk
28296 maybe-info-tk: info-tk
28298 info-tk: \
28299 configure-tk
28300 @: $(MAKE); $(unstage)
28301 @[ -f ./tk/Makefile ] || exit 0; \
28302 r=`${PWD_COMMAND}`; export r; \
28303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28304 $(HOST_EXPORTS) \
28305 for flag in $(EXTRA_HOST_FLAGS) ; do \
28306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28307 done; \
28308 echo "Doing info in tk" ; \
28309 (cd $(HOST_SUBDIR)/tk && \
28310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28312 "RANLIB=$${RANLIB}" \
28313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28314 info) \
28315 || exit 1
28317 @endif tk
28319 .PHONY: maybe-dvi-tk dvi-tk
28320 maybe-dvi-tk:
28321 @if tk
28322 maybe-dvi-tk: dvi-tk
28324 dvi-tk: \
28325 configure-tk
28326 @: $(MAKE); $(unstage)
28327 @[ -f ./tk/Makefile ] || exit 0; \
28328 r=`${PWD_COMMAND}`; export r; \
28329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28330 $(HOST_EXPORTS) \
28331 for flag in $(EXTRA_HOST_FLAGS) ; do \
28332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28333 done; \
28334 echo "Doing dvi in tk" ; \
28335 (cd $(HOST_SUBDIR)/tk && \
28336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28338 "RANLIB=$${RANLIB}" \
28339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28340 dvi) \
28341 || exit 1
28343 @endif tk
28345 .PHONY: maybe-pdf-tk pdf-tk
28346 maybe-pdf-tk:
28347 @if tk
28348 maybe-pdf-tk: pdf-tk
28350 pdf-tk: \
28351 configure-tk
28352 @: $(MAKE); $(unstage)
28353 @[ -f ./tk/Makefile ] || exit 0; \
28354 r=`${PWD_COMMAND}`; export r; \
28355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28356 $(HOST_EXPORTS) \
28357 for flag in $(EXTRA_HOST_FLAGS) ; do \
28358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28359 done; \
28360 echo "Doing pdf in tk" ; \
28361 (cd $(HOST_SUBDIR)/tk && \
28362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28364 "RANLIB=$${RANLIB}" \
28365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28366 pdf) \
28367 || exit 1
28369 @endif tk
28371 .PHONY: maybe-html-tk html-tk
28372 maybe-html-tk:
28373 @if tk
28374 maybe-html-tk: html-tk
28376 html-tk: \
28377 configure-tk
28378 @: $(MAKE); $(unstage)
28379 @[ -f ./tk/Makefile ] || exit 0; \
28380 r=`${PWD_COMMAND}`; export r; \
28381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28382 $(HOST_EXPORTS) \
28383 for flag in $(EXTRA_HOST_FLAGS) ; do \
28384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28385 done; \
28386 echo "Doing html in tk" ; \
28387 (cd $(HOST_SUBDIR)/tk && \
28388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28390 "RANLIB=$${RANLIB}" \
28391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28392 html) \
28393 || exit 1
28395 @endif tk
28397 .PHONY: maybe-TAGS-tk TAGS-tk
28398 maybe-TAGS-tk:
28399 @if tk
28400 maybe-TAGS-tk: TAGS-tk
28402 TAGS-tk: \
28403 configure-tk
28404 @: $(MAKE); $(unstage)
28405 @[ -f ./tk/Makefile ] || exit 0; \
28406 r=`${PWD_COMMAND}`; export r; \
28407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28408 $(HOST_EXPORTS) \
28409 for flag in $(EXTRA_HOST_FLAGS) ; do \
28410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28411 done; \
28412 echo "Doing TAGS in tk" ; \
28413 (cd $(HOST_SUBDIR)/tk && \
28414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28416 "RANLIB=$${RANLIB}" \
28417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28418 TAGS) \
28419 || exit 1
28421 @endif tk
28423 .PHONY: maybe-install-info-tk install-info-tk
28424 maybe-install-info-tk:
28425 @if tk
28426 maybe-install-info-tk: install-info-tk
28428 install-info-tk: \
28429 configure-tk \
28430 info-tk
28431 @: $(MAKE); $(unstage)
28432 @[ -f ./tk/Makefile ] || exit 0; \
28433 r=`${PWD_COMMAND}`; export r; \
28434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28435 $(HOST_EXPORTS) \
28436 for flag in $(EXTRA_HOST_FLAGS) ; do \
28437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28438 done; \
28439 echo "Doing install-info in tk" ; \
28440 (cd $(HOST_SUBDIR)/tk && \
28441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28443 "RANLIB=$${RANLIB}" \
28444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28445 install-info) \
28446 || exit 1
28448 @endif tk
28450 .PHONY: maybe-install-pdf-tk install-pdf-tk
28451 maybe-install-pdf-tk:
28452 @if tk
28453 maybe-install-pdf-tk: install-pdf-tk
28455 install-pdf-tk: \
28456 configure-tk \
28457 pdf-tk
28458 @: $(MAKE); $(unstage)
28459 @[ -f ./tk/Makefile ] || exit 0; \
28460 r=`${PWD_COMMAND}`; export r; \
28461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28462 $(HOST_EXPORTS) \
28463 for flag in $(EXTRA_HOST_FLAGS) ; do \
28464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28465 done; \
28466 echo "Doing install-pdf in tk" ; \
28467 (cd $(HOST_SUBDIR)/tk && \
28468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28470 "RANLIB=$${RANLIB}" \
28471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28472 install-pdf) \
28473 || exit 1
28475 @endif tk
28477 .PHONY: maybe-install-html-tk install-html-tk
28478 maybe-install-html-tk:
28479 @if tk
28480 maybe-install-html-tk: install-html-tk
28482 install-html-tk: \
28483 configure-tk \
28484 html-tk
28485 @: $(MAKE); $(unstage)
28486 @[ -f ./tk/Makefile ] || exit 0; \
28487 r=`${PWD_COMMAND}`; export r; \
28488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28489 $(HOST_EXPORTS) \
28490 for flag in $(EXTRA_HOST_FLAGS) ; do \
28491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28492 done; \
28493 echo "Doing install-html in tk" ; \
28494 (cd $(HOST_SUBDIR)/tk && \
28495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28497 "RANLIB=$${RANLIB}" \
28498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28499 install-html) \
28500 || exit 1
28502 @endif tk
28504 .PHONY: maybe-installcheck-tk installcheck-tk
28505 maybe-installcheck-tk:
28506 @if tk
28507 maybe-installcheck-tk: installcheck-tk
28509 installcheck-tk: \
28510 configure-tk
28511 @: $(MAKE); $(unstage)
28512 @[ -f ./tk/Makefile ] || exit 0; \
28513 r=`${PWD_COMMAND}`; export r; \
28514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28515 $(HOST_EXPORTS) \
28516 for flag in $(EXTRA_HOST_FLAGS) ; do \
28517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28518 done; \
28519 echo "Doing installcheck in tk" ; \
28520 (cd $(HOST_SUBDIR)/tk && \
28521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28523 "RANLIB=$${RANLIB}" \
28524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28525 installcheck) \
28526 || exit 1
28528 @endif tk
28530 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
28531 maybe-mostlyclean-tk:
28532 @if tk
28533 maybe-mostlyclean-tk: mostlyclean-tk
28535 mostlyclean-tk:
28536 @: $(MAKE); $(unstage)
28537 @[ -f ./tk/Makefile ] || exit 0; \
28538 r=`${PWD_COMMAND}`; export r; \
28539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28540 $(HOST_EXPORTS) \
28541 for flag in $(EXTRA_HOST_FLAGS) ; do \
28542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28543 done; \
28544 echo "Doing mostlyclean in tk" ; \
28545 (cd $(HOST_SUBDIR)/tk && \
28546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28548 "RANLIB=$${RANLIB}" \
28549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28550 mostlyclean) \
28551 || exit 1
28553 @endif tk
28555 .PHONY: maybe-clean-tk clean-tk
28556 maybe-clean-tk:
28557 @if tk
28558 maybe-clean-tk: clean-tk
28560 clean-tk:
28561 @: $(MAKE); $(unstage)
28562 @[ -f ./tk/Makefile ] || exit 0; \
28563 r=`${PWD_COMMAND}`; export r; \
28564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28565 $(HOST_EXPORTS) \
28566 for flag in $(EXTRA_HOST_FLAGS) ; do \
28567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28568 done; \
28569 echo "Doing clean in tk" ; \
28570 (cd $(HOST_SUBDIR)/tk && \
28571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28573 "RANLIB=$${RANLIB}" \
28574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28575 clean) \
28576 || exit 1
28578 @endif tk
28580 .PHONY: maybe-distclean-tk distclean-tk
28581 maybe-distclean-tk:
28582 @if tk
28583 maybe-distclean-tk: distclean-tk
28585 distclean-tk:
28586 @: $(MAKE); $(unstage)
28587 @[ -f ./tk/Makefile ] || exit 0; \
28588 r=`${PWD_COMMAND}`; export r; \
28589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28590 $(HOST_EXPORTS) \
28591 for flag in $(EXTRA_HOST_FLAGS) ; do \
28592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28593 done; \
28594 echo "Doing distclean in tk" ; \
28595 (cd $(HOST_SUBDIR)/tk && \
28596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28598 "RANLIB=$${RANLIB}" \
28599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28600 distclean) \
28601 || exit 1
28603 @endif tk
28605 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
28606 maybe-maintainer-clean-tk:
28607 @if tk
28608 maybe-maintainer-clean-tk: maintainer-clean-tk
28610 maintainer-clean-tk:
28611 @: $(MAKE); $(unstage)
28612 @[ -f ./tk/Makefile ] || exit 0; \
28613 r=`${PWD_COMMAND}`; export r; \
28614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28615 $(HOST_EXPORTS) \
28616 for flag in $(EXTRA_HOST_FLAGS) ; do \
28617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28618 done; \
28619 echo "Doing maintainer-clean in tk" ; \
28620 (cd $(HOST_SUBDIR)/tk && \
28621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28623 "RANLIB=$${RANLIB}" \
28624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28625 maintainer-clean) \
28626 || exit 1
28628 @endif tk
28632 .PHONY: configure-libtermcap maybe-configure-libtermcap
28633 maybe-configure-libtermcap:
28634 @if gcc-bootstrap
28635 configure-libtermcap: stage_current
28636 @endif gcc-bootstrap
28637 @if libtermcap
28638 maybe-configure-libtermcap: configure-libtermcap
28639 configure-libtermcap:
28640 @: $(MAKE); $(unstage)
28641 @r=`${PWD_COMMAND}`; export r; \
28642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28643 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
28644 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
28645 $(HOST_EXPORTS) \
28646 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
28647 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
28648 case $(srcdir) in \
28649 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28650 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
28651 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28652 esac; \
28653 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
28654 libsrcdir="$$s/libtermcap"; \
28655 $(SHELL) $${libsrcdir}/configure \
28656 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28657 --target=${target_alias} $${srcdiroption} \
28658 || exit 1
28659 @endif libtermcap
28665 .PHONY: all-libtermcap maybe-all-libtermcap
28666 maybe-all-libtermcap:
28667 @if gcc-bootstrap
28668 all-libtermcap: stage_current
28669 @endif gcc-bootstrap
28670 @if libtermcap
28671 TARGET-libtermcap=all
28672 maybe-all-libtermcap: all-libtermcap
28673 all-libtermcap: configure-libtermcap
28674 @: $(MAKE); $(unstage)
28675 @r=`${PWD_COMMAND}`; export r; \
28676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28677 $(HOST_EXPORTS) \
28678 (cd $(HOST_SUBDIR)/libtermcap && \
28679 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28680 $(TARGET-libtermcap))
28681 @endif libtermcap
28686 .PHONY: check-libtermcap maybe-check-libtermcap
28687 maybe-check-libtermcap:
28688 @if libtermcap
28689 maybe-check-libtermcap: check-libtermcap
28691 check-libtermcap:
28693 @endif libtermcap
28695 .PHONY: install-libtermcap maybe-install-libtermcap
28696 maybe-install-libtermcap:
28697 @if libtermcap
28698 maybe-install-libtermcap: install-libtermcap
28700 install-libtermcap: installdirs
28701 @: $(MAKE); $(unstage)
28702 @r=`${PWD_COMMAND}`; export r; \
28703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28704 $(HOST_EXPORTS) \
28705 (cd $(HOST_SUBDIR)/libtermcap && \
28706 $(MAKE) $(FLAGS_TO_PASS) install)
28708 @endif libtermcap
28710 .PHONY: install-strip-libtermcap maybe-install-strip-libtermcap
28711 maybe-install-strip-libtermcap:
28712 @if libtermcap
28713 maybe-install-strip-libtermcap: install-strip-libtermcap
28715 install-strip-libtermcap: installdirs
28716 @: $(MAKE); $(unstage)
28717 @r=`${PWD_COMMAND}`; export r; \
28718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28719 $(HOST_EXPORTS) \
28720 (cd $(HOST_SUBDIR)/libtermcap && \
28721 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28723 @endif libtermcap
28725 # Other targets (info, dvi, pdf, etc.)
28727 .PHONY: maybe-info-libtermcap info-libtermcap
28728 maybe-info-libtermcap:
28729 @if libtermcap
28730 maybe-info-libtermcap: info-libtermcap
28732 info-libtermcap: \
28733 configure-libtermcap
28734 @: $(MAKE); $(unstage)
28735 @[ -f ./libtermcap/Makefile ] || exit 0; \
28736 r=`${PWD_COMMAND}`; export r; \
28737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28738 $(HOST_EXPORTS) \
28739 for flag in $(EXTRA_HOST_FLAGS) ; do \
28740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28741 done; \
28742 echo "Doing info in libtermcap" ; \
28743 (cd $(HOST_SUBDIR)/libtermcap && \
28744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28746 "RANLIB=$${RANLIB}" \
28747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28748 info) \
28749 || exit 1
28751 @endif libtermcap
28753 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
28754 maybe-dvi-libtermcap:
28755 @if libtermcap
28756 maybe-dvi-libtermcap: dvi-libtermcap
28758 dvi-libtermcap: \
28759 configure-libtermcap
28760 @: $(MAKE); $(unstage)
28761 @[ -f ./libtermcap/Makefile ] || exit 0; \
28762 r=`${PWD_COMMAND}`; export r; \
28763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28764 $(HOST_EXPORTS) \
28765 for flag in $(EXTRA_HOST_FLAGS) ; do \
28766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28767 done; \
28768 echo "Doing dvi in libtermcap" ; \
28769 (cd $(HOST_SUBDIR)/libtermcap && \
28770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28772 "RANLIB=$${RANLIB}" \
28773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28774 dvi) \
28775 || exit 1
28777 @endif libtermcap
28779 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
28780 maybe-pdf-libtermcap:
28781 @if libtermcap
28782 maybe-pdf-libtermcap: pdf-libtermcap
28784 pdf-libtermcap: \
28785 configure-libtermcap
28786 @: $(MAKE); $(unstage)
28787 @[ -f ./libtermcap/Makefile ] || exit 0; \
28788 r=`${PWD_COMMAND}`; export r; \
28789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28790 $(HOST_EXPORTS) \
28791 for flag in $(EXTRA_HOST_FLAGS) ; do \
28792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28793 done; \
28794 echo "Doing pdf in libtermcap" ; \
28795 (cd $(HOST_SUBDIR)/libtermcap && \
28796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28798 "RANLIB=$${RANLIB}" \
28799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28800 pdf) \
28801 || exit 1
28803 @endif libtermcap
28805 .PHONY: maybe-html-libtermcap html-libtermcap
28806 maybe-html-libtermcap:
28807 @if libtermcap
28808 maybe-html-libtermcap: html-libtermcap
28810 html-libtermcap: \
28811 configure-libtermcap
28812 @: $(MAKE); $(unstage)
28813 @[ -f ./libtermcap/Makefile ] || exit 0; \
28814 r=`${PWD_COMMAND}`; export r; \
28815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28816 $(HOST_EXPORTS) \
28817 for flag in $(EXTRA_HOST_FLAGS) ; do \
28818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28819 done; \
28820 echo "Doing html in libtermcap" ; \
28821 (cd $(HOST_SUBDIR)/libtermcap && \
28822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28824 "RANLIB=$${RANLIB}" \
28825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28826 html) \
28827 || exit 1
28829 @endif libtermcap
28831 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
28832 maybe-TAGS-libtermcap:
28833 @if libtermcap
28834 maybe-TAGS-libtermcap: TAGS-libtermcap
28836 TAGS-libtermcap: \
28837 configure-libtermcap
28838 @: $(MAKE); $(unstage)
28839 @[ -f ./libtermcap/Makefile ] || exit 0; \
28840 r=`${PWD_COMMAND}`; export r; \
28841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28842 $(HOST_EXPORTS) \
28843 for flag in $(EXTRA_HOST_FLAGS) ; do \
28844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28845 done; \
28846 echo "Doing TAGS in libtermcap" ; \
28847 (cd $(HOST_SUBDIR)/libtermcap && \
28848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28850 "RANLIB=$${RANLIB}" \
28851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28852 TAGS) \
28853 || exit 1
28855 @endif libtermcap
28857 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
28858 maybe-install-info-libtermcap:
28859 @if libtermcap
28860 maybe-install-info-libtermcap: install-info-libtermcap
28862 install-info-libtermcap: \
28863 configure-libtermcap \
28864 info-libtermcap
28865 @: $(MAKE); $(unstage)
28866 @[ -f ./libtermcap/Makefile ] || exit 0; \
28867 r=`${PWD_COMMAND}`; export r; \
28868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28869 $(HOST_EXPORTS) \
28870 for flag in $(EXTRA_HOST_FLAGS) ; do \
28871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28872 done; \
28873 echo "Doing install-info in libtermcap" ; \
28874 (cd $(HOST_SUBDIR)/libtermcap && \
28875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28877 "RANLIB=$${RANLIB}" \
28878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28879 install-info) \
28880 || exit 1
28882 @endif libtermcap
28884 .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap
28885 maybe-install-pdf-libtermcap:
28886 @if libtermcap
28887 maybe-install-pdf-libtermcap: install-pdf-libtermcap
28889 install-pdf-libtermcap: \
28890 configure-libtermcap \
28891 pdf-libtermcap
28892 @: $(MAKE); $(unstage)
28893 @[ -f ./libtermcap/Makefile ] || exit 0; \
28894 r=`${PWD_COMMAND}`; export r; \
28895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28896 $(HOST_EXPORTS) \
28897 for flag in $(EXTRA_HOST_FLAGS) ; do \
28898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28899 done; \
28900 echo "Doing install-pdf in libtermcap" ; \
28901 (cd $(HOST_SUBDIR)/libtermcap && \
28902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28904 "RANLIB=$${RANLIB}" \
28905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28906 install-pdf) \
28907 || exit 1
28909 @endif libtermcap
28911 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
28912 maybe-install-html-libtermcap:
28913 @if libtermcap
28914 maybe-install-html-libtermcap: install-html-libtermcap
28916 install-html-libtermcap: \
28917 configure-libtermcap \
28918 html-libtermcap
28919 @: $(MAKE); $(unstage)
28920 @[ -f ./libtermcap/Makefile ] || exit 0; \
28921 r=`${PWD_COMMAND}`; export r; \
28922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28923 $(HOST_EXPORTS) \
28924 for flag in $(EXTRA_HOST_FLAGS) ; do \
28925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28926 done; \
28927 echo "Doing install-html in libtermcap" ; \
28928 (cd $(HOST_SUBDIR)/libtermcap && \
28929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28931 "RANLIB=$${RANLIB}" \
28932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28933 install-html) \
28934 || exit 1
28936 @endif libtermcap
28938 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
28939 maybe-installcheck-libtermcap:
28940 @if libtermcap
28941 maybe-installcheck-libtermcap: installcheck-libtermcap
28943 installcheck-libtermcap: \
28944 configure-libtermcap
28945 @: $(MAKE); $(unstage)
28946 @[ -f ./libtermcap/Makefile ] || exit 0; \
28947 r=`${PWD_COMMAND}`; export r; \
28948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28949 $(HOST_EXPORTS) \
28950 for flag in $(EXTRA_HOST_FLAGS) ; do \
28951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28952 done; \
28953 echo "Doing installcheck in libtermcap" ; \
28954 (cd $(HOST_SUBDIR)/libtermcap && \
28955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28957 "RANLIB=$${RANLIB}" \
28958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28959 installcheck) \
28960 || exit 1
28962 @endif libtermcap
28964 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
28965 maybe-mostlyclean-libtermcap:
28966 @if libtermcap
28967 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
28969 # libtermcap doesn't support mostlyclean.
28970 mostlyclean-libtermcap:
28972 @endif libtermcap
28974 .PHONY: maybe-clean-libtermcap clean-libtermcap
28975 maybe-clean-libtermcap:
28976 @if libtermcap
28977 maybe-clean-libtermcap: clean-libtermcap
28979 # libtermcap doesn't support clean.
28980 clean-libtermcap:
28982 @endif libtermcap
28984 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
28985 maybe-distclean-libtermcap:
28986 @if libtermcap
28987 maybe-distclean-libtermcap: distclean-libtermcap
28989 # libtermcap doesn't support distclean.
28990 distclean-libtermcap:
28992 @endif libtermcap
28994 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
28995 maybe-maintainer-clean-libtermcap:
28996 @if libtermcap
28997 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
28999 # libtermcap doesn't support maintainer-clean.
29000 maintainer-clean-libtermcap:
29002 @endif libtermcap
29006 .PHONY: configure-utils maybe-configure-utils
29007 maybe-configure-utils:
29008 @if gcc-bootstrap
29009 configure-utils: stage_current
29010 @endif gcc-bootstrap
29011 @if utils
29012 maybe-configure-utils: configure-utils
29013 configure-utils:
29014 @: $(MAKE); $(unstage)
29015 @r=`${PWD_COMMAND}`; export r; \
29016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29017 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
29018 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
29019 $(HOST_EXPORTS) \
29020 echo Configuring in $(HOST_SUBDIR)/utils; \
29021 cd "$(HOST_SUBDIR)/utils" || exit 1; \
29022 case $(srcdir) in \
29023 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29024 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
29025 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29026 esac; \
29027 srcdiroption="--srcdir=$${topdir}/utils"; \
29028 libsrcdir="$$s/utils"; \
29029 $(SHELL) $${libsrcdir}/configure \
29030 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29031 --target=${target_alias} $${srcdiroption} \
29032 || exit 1
29033 @endif utils
29039 .PHONY: all-utils maybe-all-utils
29040 maybe-all-utils:
29041 @if gcc-bootstrap
29042 all-utils: stage_current
29043 @endif gcc-bootstrap
29044 @if utils
29045 TARGET-utils=all
29046 maybe-all-utils: all-utils
29047 all-utils: configure-utils
29048 @: $(MAKE); $(unstage)
29049 @r=`${PWD_COMMAND}`; export r; \
29050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29051 $(HOST_EXPORTS) \
29052 (cd $(HOST_SUBDIR)/utils && \
29053 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29054 $(TARGET-utils))
29055 @endif utils
29060 .PHONY: check-utils maybe-check-utils
29061 maybe-check-utils:
29062 @if utils
29063 maybe-check-utils: check-utils
29065 check-utils:
29067 @endif utils
29069 .PHONY: install-utils maybe-install-utils
29070 maybe-install-utils:
29071 @if utils
29072 maybe-install-utils: install-utils
29074 install-utils: installdirs
29075 @: $(MAKE); $(unstage)
29076 @r=`${PWD_COMMAND}`; export r; \
29077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29078 $(HOST_EXPORTS) \
29079 (cd $(HOST_SUBDIR)/utils && \
29080 $(MAKE) $(FLAGS_TO_PASS) install)
29082 @endif utils
29084 .PHONY: install-strip-utils maybe-install-strip-utils
29085 maybe-install-strip-utils:
29086 @if utils
29087 maybe-install-strip-utils: install-strip-utils
29089 install-strip-utils: installdirs
29090 @: $(MAKE); $(unstage)
29091 @r=`${PWD_COMMAND}`; export r; \
29092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29093 $(HOST_EXPORTS) \
29094 (cd $(HOST_SUBDIR)/utils && \
29095 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29097 @endif utils
29099 # Other targets (info, dvi, pdf, etc.)
29101 .PHONY: maybe-info-utils info-utils
29102 maybe-info-utils:
29103 @if utils
29104 maybe-info-utils: info-utils
29106 info-utils: \
29107 configure-utils
29108 @: $(MAKE); $(unstage)
29109 @[ -f ./utils/Makefile ] || exit 0; \
29110 r=`${PWD_COMMAND}`; export r; \
29111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29112 $(HOST_EXPORTS) \
29113 for flag in $(EXTRA_HOST_FLAGS) ; do \
29114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29115 done; \
29116 echo "Doing info in utils" ; \
29117 (cd $(HOST_SUBDIR)/utils && \
29118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29120 "RANLIB=$${RANLIB}" \
29121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29122 info) \
29123 || exit 1
29125 @endif utils
29127 .PHONY: maybe-dvi-utils dvi-utils
29128 maybe-dvi-utils:
29129 @if utils
29130 maybe-dvi-utils: dvi-utils
29132 dvi-utils: \
29133 configure-utils
29134 @: $(MAKE); $(unstage)
29135 @[ -f ./utils/Makefile ] || exit 0; \
29136 r=`${PWD_COMMAND}`; export r; \
29137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29138 $(HOST_EXPORTS) \
29139 for flag in $(EXTRA_HOST_FLAGS) ; do \
29140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29141 done; \
29142 echo "Doing dvi in utils" ; \
29143 (cd $(HOST_SUBDIR)/utils && \
29144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29146 "RANLIB=$${RANLIB}" \
29147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29148 dvi) \
29149 || exit 1
29151 @endif utils
29153 .PHONY: maybe-pdf-utils pdf-utils
29154 maybe-pdf-utils:
29155 @if utils
29156 maybe-pdf-utils: pdf-utils
29158 pdf-utils: \
29159 configure-utils
29160 @: $(MAKE); $(unstage)
29161 @[ -f ./utils/Makefile ] || exit 0; \
29162 r=`${PWD_COMMAND}`; export r; \
29163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29164 $(HOST_EXPORTS) \
29165 for flag in $(EXTRA_HOST_FLAGS) ; do \
29166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29167 done; \
29168 echo "Doing pdf in utils" ; \
29169 (cd $(HOST_SUBDIR)/utils && \
29170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29172 "RANLIB=$${RANLIB}" \
29173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29174 pdf) \
29175 || exit 1
29177 @endif utils
29179 .PHONY: maybe-html-utils html-utils
29180 maybe-html-utils:
29181 @if utils
29182 maybe-html-utils: html-utils
29184 html-utils: \
29185 configure-utils
29186 @: $(MAKE); $(unstage)
29187 @[ -f ./utils/Makefile ] || exit 0; \
29188 r=`${PWD_COMMAND}`; export r; \
29189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29190 $(HOST_EXPORTS) \
29191 for flag in $(EXTRA_HOST_FLAGS) ; do \
29192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29193 done; \
29194 echo "Doing html in utils" ; \
29195 (cd $(HOST_SUBDIR)/utils && \
29196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29198 "RANLIB=$${RANLIB}" \
29199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29200 html) \
29201 || exit 1
29203 @endif utils
29205 .PHONY: maybe-TAGS-utils TAGS-utils
29206 maybe-TAGS-utils:
29207 @if utils
29208 maybe-TAGS-utils: TAGS-utils
29210 TAGS-utils: \
29211 configure-utils
29212 @: $(MAKE); $(unstage)
29213 @[ -f ./utils/Makefile ] || exit 0; \
29214 r=`${PWD_COMMAND}`; export r; \
29215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29216 $(HOST_EXPORTS) \
29217 for flag in $(EXTRA_HOST_FLAGS) ; do \
29218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29219 done; \
29220 echo "Doing TAGS in utils" ; \
29221 (cd $(HOST_SUBDIR)/utils && \
29222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29224 "RANLIB=$${RANLIB}" \
29225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29226 TAGS) \
29227 || exit 1
29229 @endif utils
29231 .PHONY: maybe-install-info-utils install-info-utils
29232 maybe-install-info-utils:
29233 @if utils
29234 maybe-install-info-utils: install-info-utils
29236 install-info-utils: \
29237 configure-utils \
29238 info-utils
29239 @: $(MAKE); $(unstage)
29240 @[ -f ./utils/Makefile ] || exit 0; \
29241 r=`${PWD_COMMAND}`; export r; \
29242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29243 $(HOST_EXPORTS) \
29244 for flag in $(EXTRA_HOST_FLAGS) ; do \
29245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29246 done; \
29247 echo "Doing install-info in utils" ; \
29248 (cd $(HOST_SUBDIR)/utils && \
29249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29251 "RANLIB=$${RANLIB}" \
29252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29253 install-info) \
29254 || exit 1
29256 @endif utils
29258 .PHONY: maybe-install-pdf-utils install-pdf-utils
29259 maybe-install-pdf-utils:
29260 @if utils
29261 maybe-install-pdf-utils: install-pdf-utils
29263 install-pdf-utils: \
29264 configure-utils \
29265 pdf-utils
29266 @: $(MAKE); $(unstage)
29267 @[ -f ./utils/Makefile ] || exit 0; \
29268 r=`${PWD_COMMAND}`; export r; \
29269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29270 $(HOST_EXPORTS) \
29271 for flag in $(EXTRA_HOST_FLAGS) ; do \
29272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29273 done; \
29274 echo "Doing install-pdf in utils" ; \
29275 (cd $(HOST_SUBDIR)/utils && \
29276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29278 "RANLIB=$${RANLIB}" \
29279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29280 install-pdf) \
29281 || exit 1
29283 @endif utils
29285 .PHONY: maybe-install-html-utils install-html-utils
29286 maybe-install-html-utils:
29287 @if utils
29288 maybe-install-html-utils: install-html-utils
29290 install-html-utils: \
29291 configure-utils \
29292 html-utils
29293 @: $(MAKE); $(unstage)
29294 @[ -f ./utils/Makefile ] || exit 0; \
29295 r=`${PWD_COMMAND}`; export r; \
29296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29297 $(HOST_EXPORTS) \
29298 for flag in $(EXTRA_HOST_FLAGS) ; do \
29299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29300 done; \
29301 echo "Doing install-html in utils" ; \
29302 (cd $(HOST_SUBDIR)/utils && \
29303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29305 "RANLIB=$${RANLIB}" \
29306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29307 install-html) \
29308 || exit 1
29310 @endif utils
29312 .PHONY: maybe-installcheck-utils installcheck-utils
29313 maybe-installcheck-utils:
29314 @if utils
29315 maybe-installcheck-utils: installcheck-utils
29317 installcheck-utils: \
29318 configure-utils
29319 @: $(MAKE); $(unstage)
29320 @[ -f ./utils/Makefile ] || exit 0; \
29321 r=`${PWD_COMMAND}`; export r; \
29322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29323 $(HOST_EXPORTS) \
29324 for flag in $(EXTRA_HOST_FLAGS) ; do \
29325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29326 done; \
29327 echo "Doing installcheck in utils" ; \
29328 (cd $(HOST_SUBDIR)/utils && \
29329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29331 "RANLIB=$${RANLIB}" \
29332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29333 installcheck) \
29334 || exit 1
29336 @endif utils
29338 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
29339 maybe-mostlyclean-utils:
29340 @if utils
29341 maybe-mostlyclean-utils: mostlyclean-utils
29343 mostlyclean-utils:
29344 @: $(MAKE); $(unstage)
29345 @[ -f ./utils/Makefile ] || exit 0; \
29346 r=`${PWD_COMMAND}`; export r; \
29347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29348 $(HOST_EXPORTS) \
29349 for flag in $(EXTRA_HOST_FLAGS) ; do \
29350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29351 done; \
29352 echo "Doing mostlyclean in utils" ; \
29353 (cd $(HOST_SUBDIR)/utils && \
29354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29356 "RANLIB=$${RANLIB}" \
29357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29358 mostlyclean) \
29359 || exit 1
29361 @endif utils
29363 .PHONY: maybe-clean-utils clean-utils
29364 maybe-clean-utils:
29365 @if utils
29366 maybe-clean-utils: clean-utils
29368 clean-utils:
29369 @: $(MAKE); $(unstage)
29370 @[ -f ./utils/Makefile ] || exit 0; \
29371 r=`${PWD_COMMAND}`; export r; \
29372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29373 $(HOST_EXPORTS) \
29374 for flag in $(EXTRA_HOST_FLAGS) ; do \
29375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29376 done; \
29377 echo "Doing clean in utils" ; \
29378 (cd $(HOST_SUBDIR)/utils && \
29379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29381 "RANLIB=$${RANLIB}" \
29382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29383 clean) \
29384 || exit 1
29386 @endif utils
29388 .PHONY: maybe-distclean-utils distclean-utils
29389 maybe-distclean-utils:
29390 @if utils
29391 maybe-distclean-utils: distclean-utils
29393 distclean-utils:
29394 @: $(MAKE); $(unstage)
29395 @[ -f ./utils/Makefile ] || exit 0; \
29396 r=`${PWD_COMMAND}`; export r; \
29397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29398 $(HOST_EXPORTS) \
29399 for flag in $(EXTRA_HOST_FLAGS) ; do \
29400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29401 done; \
29402 echo "Doing distclean in utils" ; \
29403 (cd $(HOST_SUBDIR)/utils && \
29404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29406 "RANLIB=$${RANLIB}" \
29407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29408 distclean) \
29409 || exit 1
29411 @endif utils
29413 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
29414 maybe-maintainer-clean-utils:
29415 @if utils
29416 maybe-maintainer-clean-utils: maintainer-clean-utils
29418 maintainer-clean-utils:
29419 @: $(MAKE); $(unstage)
29420 @[ -f ./utils/Makefile ] || exit 0; \
29421 r=`${PWD_COMMAND}`; export r; \
29422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29423 $(HOST_EXPORTS) \
29424 for flag in $(EXTRA_HOST_FLAGS) ; do \
29425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29426 done; \
29427 echo "Doing maintainer-clean in utils" ; \
29428 (cd $(HOST_SUBDIR)/utils && \
29429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29431 "RANLIB=$${RANLIB}" \
29432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29433 maintainer-clean) \
29434 || exit 1
29436 @endif utils
29440 .PHONY: configure-gnattools maybe-configure-gnattools
29441 maybe-configure-gnattools:
29442 @if gcc-bootstrap
29443 configure-gnattools: stage_current
29444 @endif gcc-bootstrap
29445 @if gnattools
29446 maybe-configure-gnattools: configure-gnattools
29447 configure-gnattools:
29448 @: $(MAKE); $(unstage)
29449 @r=`${PWD_COMMAND}`; export r; \
29450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29451 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
29452 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
29453 $(HOST_EXPORTS) \
29454 echo Configuring in $(HOST_SUBDIR)/gnattools; \
29455 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
29456 case $(srcdir) in \
29457 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29458 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
29459 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29460 esac; \
29461 srcdiroption="--srcdir=$${topdir}/gnattools"; \
29462 libsrcdir="$$s/gnattools"; \
29463 $(SHELL) $${libsrcdir}/configure \
29464 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29465 --target=${target_alias} $${srcdiroption} \
29466 || exit 1
29467 @endif gnattools
29473 .PHONY: all-gnattools maybe-all-gnattools
29474 maybe-all-gnattools:
29475 @if gcc-bootstrap
29476 all-gnattools: stage_current
29477 @endif gcc-bootstrap
29478 @if gnattools
29479 TARGET-gnattools=all
29480 maybe-all-gnattools: all-gnattools
29481 all-gnattools: configure-gnattools
29482 @: $(MAKE); $(unstage)
29483 @r=`${PWD_COMMAND}`; export r; \
29484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29485 $(HOST_EXPORTS) \
29486 (cd $(HOST_SUBDIR)/gnattools && \
29487 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29488 $(TARGET-gnattools))
29489 @endif gnattools
29494 .PHONY: check-gnattools maybe-check-gnattools
29495 maybe-check-gnattools:
29496 @if gnattools
29497 maybe-check-gnattools: check-gnattools
29499 check-gnattools:
29500 @: $(MAKE); $(unstage)
29501 @r=`${PWD_COMMAND}`; export r; \
29502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29503 $(HOST_EXPORTS) \
29504 (cd $(HOST_SUBDIR)/gnattools && \
29505 $(MAKE) $(FLAGS_TO_PASS) check)
29507 @endif gnattools
29509 .PHONY: install-gnattools maybe-install-gnattools
29510 maybe-install-gnattools:
29511 @if gnattools
29512 maybe-install-gnattools: install-gnattools
29514 install-gnattools: installdirs
29515 @: $(MAKE); $(unstage)
29516 @r=`${PWD_COMMAND}`; export r; \
29517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29518 $(HOST_EXPORTS) \
29519 (cd $(HOST_SUBDIR)/gnattools && \
29520 $(MAKE) $(FLAGS_TO_PASS) install)
29522 @endif gnattools
29524 .PHONY: install-strip-gnattools maybe-install-strip-gnattools
29525 maybe-install-strip-gnattools:
29526 @if gnattools
29527 maybe-install-strip-gnattools: install-strip-gnattools
29529 install-strip-gnattools: installdirs
29530 @: $(MAKE); $(unstage)
29531 @r=`${PWD_COMMAND}`; export r; \
29532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29533 $(HOST_EXPORTS) \
29534 (cd $(HOST_SUBDIR)/gnattools && \
29535 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29537 @endif gnattools
29539 # Other targets (info, dvi, pdf, etc.)
29541 .PHONY: maybe-info-gnattools info-gnattools
29542 maybe-info-gnattools:
29543 @if gnattools
29544 maybe-info-gnattools: info-gnattools
29546 info-gnattools: \
29547 configure-gnattools
29548 @: $(MAKE); $(unstage)
29549 @[ -f ./gnattools/Makefile ] || exit 0; \
29550 r=`${PWD_COMMAND}`; export r; \
29551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29552 $(HOST_EXPORTS) \
29553 for flag in $(EXTRA_HOST_FLAGS) ; do \
29554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29555 done; \
29556 echo "Doing info in gnattools" ; \
29557 (cd $(HOST_SUBDIR)/gnattools && \
29558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29560 "RANLIB=$${RANLIB}" \
29561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29562 info) \
29563 || exit 1
29565 @endif gnattools
29567 .PHONY: maybe-dvi-gnattools dvi-gnattools
29568 maybe-dvi-gnattools:
29569 @if gnattools
29570 maybe-dvi-gnattools: dvi-gnattools
29572 dvi-gnattools: \
29573 configure-gnattools
29574 @: $(MAKE); $(unstage)
29575 @[ -f ./gnattools/Makefile ] || exit 0; \
29576 r=`${PWD_COMMAND}`; export r; \
29577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29578 $(HOST_EXPORTS) \
29579 for flag in $(EXTRA_HOST_FLAGS) ; do \
29580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29581 done; \
29582 echo "Doing dvi in gnattools" ; \
29583 (cd $(HOST_SUBDIR)/gnattools && \
29584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29586 "RANLIB=$${RANLIB}" \
29587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29588 dvi) \
29589 || exit 1
29591 @endif gnattools
29593 .PHONY: maybe-pdf-gnattools pdf-gnattools
29594 maybe-pdf-gnattools:
29595 @if gnattools
29596 maybe-pdf-gnattools: pdf-gnattools
29598 pdf-gnattools: \
29599 configure-gnattools
29600 @: $(MAKE); $(unstage)
29601 @[ -f ./gnattools/Makefile ] || exit 0; \
29602 r=`${PWD_COMMAND}`; export r; \
29603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29604 $(HOST_EXPORTS) \
29605 for flag in $(EXTRA_HOST_FLAGS) ; do \
29606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29607 done; \
29608 echo "Doing pdf in gnattools" ; \
29609 (cd $(HOST_SUBDIR)/gnattools && \
29610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29612 "RANLIB=$${RANLIB}" \
29613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29614 pdf) \
29615 || exit 1
29617 @endif gnattools
29619 .PHONY: maybe-html-gnattools html-gnattools
29620 maybe-html-gnattools:
29621 @if gnattools
29622 maybe-html-gnattools: html-gnattools
29624 html-gnattools: \
29625 configure-gnattools
29626 @: $(MAKE); $(unstage)
29627 @[ -f ./gnattools/Makefile ] || exit 0; \
29628 r=`${PWD_COMMAND}`; export r; \
29629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29630 $(HOST_EXPORTS) \
29631 for flag in $(EXTRA_HOST_FLAGS) ; do \
29632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29633 done; \
29634 echo "Doing html in gnattools" ; \
29635 (cd $(HOST_SUBDIR)/gnattools && \
29636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29638 "RANLIB=$${RANLIB}" \
29639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29640 html) \
29641 || exit 1
29643 @endif gnattools
29645 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
29646 maybe-TAGS-gnattools:
29647 @if gnattools
29648 maybe-TAGS-gnattools: TAGS-gnattools
29650 TAGS-gnattools: \
29651 configure-gnattools
29652 @: $(MAKE); $(unstage)
29653 @[ -f ./gnattools/Makefile ] || exit 0; \
29654 r=`${PWD_COMMAND}`; export r; \
29655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29656 $(HOST_EXPORTS) \
29657 for flag in $(EXTRA_HOST_FLAGS) ; do \
29658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29659 done; \
29660 echo "Doing TAGS in gnattools" ; \
29661 (cd $(HOST_SUBDIR)/gnattools && \
29662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29664 "RANLIB=$${RANLIB}" \
29665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29666 TAGS) \
29667 || exit 1
29669 @endif gnattools
29671 .PHONY: maybe-install-info-gnattools install-info-gnattools
29672 maybe-install-info-gnattools:
29673 @if gnattools
29674 maybe-install-info-gnattools: install-info-gnattools
29676 install-info-gnattools: \
29677 configure-gnattools \
29678 info-gnattools
29679 @: $(MAKE); $(unstage)
29680 @[ -f ./gnattools/Makefile ] || exit 0; \
29681 r=`${PWD_COMMAND}`; export r; \
29682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29683 $(HOST_EXPORTS) \
29684 for flag in $(EXTRA_HOST_FLAGS) ; do \
29685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29686 done; \
29687 echo "Doing install-info in gnattools" ; \
29688 (cd $(HOST_SUBDIR)/gnattools && \
29689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29691 "RANLIB=$${RANLIB}" \
29692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29693 install-info) \
29694 || exit 1
29696 @endif gnattools
29698 .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools
29699 maybe-install-pdf-gnattools:
29700 @if gnattools
29701 maybe-install-pdf-gnattools: install-pdf-gnattools
29703 install-pdf-gnattools: \
29704 configure-gnattools \
29705 pdf-gnattools
29706 @: $(MAKE); $(unstage)
29707 @[ -f ./gnattools/Makefile ] || exit 0; \
29708 r=`${PWD_COMMAND}`; export r; \
29709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29710 $(HOST_EXPORTS) \
29711 for flag in $(EXTRA_HOST_FLAGS) ; do \
29712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29713 done; \
29714 echo "Doing install-pdf in gnattools" ; \
29715 (cd $(HOST_SUBDIR)/gnattools && \
29716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29718 "RANLIB=$${RANLIB}" \
29719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29720 install-pdf) \
29721 || exit 1
29723 @endif gnattools
29725 .PHONY: maybe-install-html-gnattools install-html-gnattools
29726 maybe-install-html-gnattools:
29727 @if gnattools
29728 maybe-install-html-gnattools: install-html-gnattools
29730 install-html-gnattools: \
29731 configure-gnattools \
29732 html-gnattools
29733 @: $(MAKE); $(unstage)
29734 @[ -f ./gnattools/Makefile ] || exit 0; \
29735 r=`${PWD_COMMAND}`; export r; \
29736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29737 $(HOST_EXPORTS) \
29738 for flag in $(EXTRA_HOST_FLAGS) ; do \
29739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29740 done; \
29741 echo "Doing install-html in gnattools" ; \
29742 (cd $(HOST_SUBDIR)/gnattools && \
29743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29745 "RANLIB=$${RANLIB}" \
29746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29747 install-html) \
29748 || exit 1
29750 @endif gnattools
29752 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
29753 maybe-installcheck-gnattools:
29754 @if gnattools
29755 maybe-installcheck-gnattools: installcheck-gnattools
29757 installcheck-gnattools: \
29758 configure-gnattools
29759 @: $(MAKE); $(unstage)
29760 @[ -f ./gnattools/Makefile ] || exit 0; \
29761 r=`${PWD_COMMAND}`; export r; \
29762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29763 $(HOST_EXPORTS) \
29764 for flag in $(EXTRA_HOST_FLAGS) ; do \
29765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29766 done; \
29767 echo "Doing installcheck in gnattools" ; \
29768 (cd $(HOST_SUBDIR)/gnattools && \
29769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29771 "RANLIB=$${RANLIB}" \
29772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29773 installcheck) \
29774 || exit 1
29776 @endif gnattools
29778 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
29779 maybe-mostlyclean-gnattools:
29780 @if gnattools
29781 maybe-mostlyclean-gnattools: mostlyclean-gnattools
29783 mostlyclean-gnattools:
29784 @: $(MAKE); $(unstage)
29785 @[ -f ./gnattools/Makefile ] || exit 0; \
29786 r=`${PWD_COMMAND}`; export r; \
29787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29788 $(HOST_EXPORTS) \
29789 for flag in $(EXTRA_HOST_FLAGS) ; do \
29790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29791 done; \
29792 echo "Doing mostlyclean in gnattools" ; \
29793 (cd $(HOST_SUBDIR)/gnattools && \
29794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29796 "RANLIB=$${RANLIB}" \
29797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29798 mostlyclean) \
29799 || exit 1
29801 @endif gnattools
29803 .PHONY: maybe-clean-gnattools clean-gnattools
29804 maybe-clean-gnattools:
29805 @if gnattools
29806 maybe-clean-gnattools: clean-gnattools
29808 clean-gnattools:
29809 @: $(MAKE); $(unstage)
29810 @[ -f ./gnattools/Makefile ] || exit 0; \
29811 r=`${PWD_COMMAND}`; export r; \
29812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29813 $(HOST_EXPORTS) \
29814 for flag in $(EXTRA_HOST_FLAGS) ; do \
29815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29816 done; \
29817 echo "Doing clean in gnattools" ; \
29818 (cd $(HOST_SUBDIR)/gnattools && \
29819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29821 "RANLIB=$${RANLIB}" \
29822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29823 clean) \
29824 || exit 1
29826 @endif gnattools
29828 .PHONY: maybe-distclean-gnattools distclean-gnattools
29829 maybe-distclean-gnattools:
29830 @if gnattools
29831 maybe-distclean-gnattools: distclean-gnattools
29833 distclean-gnattools:
29834 @: $(MAKE); $(unstage)
29835 @[ -f ./gnattools/Makefile ] || exit 0; \
29836 r=`${PWD_COMMAND}`; export r; \
29837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29838 $(HOST_EXPORTS) \
29839 for flag in $(EXTRA_HOST_FLAGS) ; do \
29840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29841 done; \
29842 echo "Doing distclean in gnattools" ; \
29843 (cd $(HOST_SUBDIR)/gnattools && \
29844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29846 "RANLIB=$${RANLIB}" \
29847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29848 distclean) \
29849 || exit 1
29851 @endif gnattools
29853 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
29854 maybe-maintainer-clean-gnattools:
29855 @if gnattools
29856 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
29858 maintainer-clean-gnattools:
29859 @: $(MAKE); $(unstage)
29860 @[ -f ./gnattools/Makefile ] || exit 0; \
29861 r=`${PWD_COMMAND}`; export r; \
29862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29863 $(HOST_EXPORTS) \
29864 for flag in $(EXTRA_HOST_FLAGS) ; do \
29865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29866 done; \
29867 echo "Doing maintainer-clean in gnattools" ; \
29868 (cd $(HOST_SUBDIR)/gnattools && \
29869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29871 "RANLIB=$${RANLIB}" \
29872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29873 maintainer-clean) \
29874 || exit 1
29876 @endif gnattools
29880 .PHONY: configure-lto-plugin maybe-configure-lto-plugin
29881 maybe-configure-lto-plugin:
29882 @if gcc-bootstrap
29883 configure-lto-plugin: stage_current
29884 @endif gcc-bootstrap
29885 @if lto-plugin
29886 maybe-configure-lto-plugin: configure-lto-plugin
29887 configure-lto-plugin:
29888 @r=`${PWD_COMMAND}`; export r; \
29889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29890 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29891 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29892 $(HOST_EXPORTS) \
29893 echo Configuring in $(HOST_SUBDIR)/lto-plugin; \
29894 cd "$(HOST_SUBDIR)/lto-plugin" || exit 1; \
29895 case $(srcdir) in \
29896 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29897 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29898 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29899 esac; \
29900 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29901 libsrcdir="$$s/lto-plugin"; \
29902 $(SHELL) $${libsrcdir}/configure \
29903 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29904 --target=${target_alias} $${srcdiroption} --enable-shared \
29905 || exit 1
29906 @endif lto-plugin
29910 .PHONY: configure-stage1-lto-plugin maybe-configure-stage1-lto-plugin
29911 maybe-configure-stage1-lto-plugin:
29912 @if lto-plugin-bootstrap
29913 maybe-configure-stage1-lto-plugin: configure-stage1-lto-plugin
29914 configure-stage1-lto-plugin:
29915 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
29916 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29917 @r=`${PWD_COMMAND}`; export r; \
29918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29919 TFLAGS="$(STAGE1_TFLAGS)"; \
29920 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29921 $(HOST_EXPORTS) \
29922 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
29923 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
29924 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
29925 echo Configuring stage 1 in $(HOST_SUBDIR)/lto-plugin ; \
29926 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29927 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29928 case $(srcdir) in \
29929 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29930 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29931 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29932 esac; \
29933 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29934 libsrcdir="$$s/lto-plugin"; \
29935 $(SHELL) $${libsrcdir}/configure \
29936 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29937 --target=${target_alias} $${srcdiroption} \
29938 $(STAGE1_CONFIGURE_FLAGS) \
29939 --enable-shared
29940 @endif lto-plugin-bootstrap
29942 .PHONY: configure-stage2-lto-plugin maybe-configure-stage2-lto-plugin
29943 maybe-configure-stage2-lto-plugin:
29944 @if lto-plugin-bootstrap
29945 maybe-configure-stage2-lto-plugin: configure-stage2-lto-plugin
29946 configure-stage2-lto-plugin:
29947 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
29948 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29949 @r=`${PWD_COMMAND}`; export r; \
29950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29951 TFLAGS="$(STAGE2_TFLAGS)"; \
29952 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29953 $(HOST_EXPORTS) \
29954 $(POSTSTAGE1_HOST_EXPORTS) \
29955 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
29956 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
29957 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
29958 echo Configuring stage 2 in $(HOST_SUBDIR)/lto-plugin ; \
29959 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29960 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29961 case $(srcdir) in \
29962 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29963 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29964 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29965 esac; \
29966 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29967 libsrcdir="$$s/lto-plugin"; \
29968 $(SHELL) $${libsrcdir}/configure \
29969 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29970 --target=${target_alias} $${srcdiroption} \
29971 --with-build-libsubdir=$(HOST_SUBDIR) \
29972 $(STAGE2_CONFIGURE_FLAGS) \
29973 --enable-shared
29974 @endif lto-plugin-bootstrap
29976 .PHONY: configure-stage3-lto-plugin maybe-configure-stage3-lto-plugin
29977 maybe-configure-stage3-lto-plugin:
29978 @if lto-plugin-bootstrap
29979 maybe-configure-stage3-lto-plugin: configure-stage3-lto-plugin
29980 configure-stage3-lto-plugin:
29981 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
29982 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29983 @r=`${PWD_COMMAND}`; export r; \
29984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29985 TFLAGS="$(STAGE3_TFLAGS)"; \
29986 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29987 $(HOST_EXPORTS) \
29988 $(POSTSTAGE1_HOST_EXPORTS) \
29989 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
29990 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
29991 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
29992 echo Configuring stage 3 in $(HOST_SUBDIR)/lto-plugin ; \
29993 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29994 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29995 case $(srcdir) in \
29996 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29997 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29998 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29999 esac; \
30000 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
30001 libsrcdir="$$s/lto-plugin"; \
30002 $(SHELL) $${libsrcdir}/configure \
30003 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30004 --target=${target_alias} $${srcdiroption} \
30005 --with-build-libsubdir=$(HOST_SUBDIR) \
30006 $(STAGE3_CONFIGURE_FLAGS) \
30007 --enable-shared
30008 @endif lto-plugin-bootstrap
30010 .PHONY: configure-stage4-lto-plugin maybe-configure-stage4-lto-plugin
30011 maybe-configure-stage4-lto-plugin:
30012 @if lto-plugin-bootstrap
30013 maybe-configure-stage4-lto-plugin: configure-stage4-lto-plugin
30014 configure-stage4-lto-plugin:
30015 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30016 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30017 @r=`${PWD_COMMAND}`; export r; \
30018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30019 TFLAGS="$(STAGE4_TFLAGS)"; \
30020 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30021 $(HOST_EXPORTS) \
30022 $(POSTSTAGE1_HOST_EXPORTS) \
30023 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
30024 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
30025 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
30026 echo Configuring stage 4 in $(HOST_SUBDIR)/lto-plugin ; \
30027 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30028 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30029 case $(srcdir) in \
30030 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30031 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30032 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30033 esac; \
30034 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
30035 libsrcdir="$$s/lto-plugin"; \
30036 $(SHELL) $${libsrcdir}/configure \
30037 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30038 --target=${target_alias} $${srcdiroption} \
30039 --with-build-libsubdir=$(HOST_SUBDIR) \
30040 $(STAGE4_CONFIGURE_FLAGS) \
30041 --enable-shared
30042 @endif lto-plugin-bootstrap
30044 .PHONY: configure-stageprofile-lto-plugin maybe-configure-stageprofile-lto-plugin
30045 maybe-configure-stageprofile-lto-plugin:
30046 @if lto-plugin-bootstrap
30047 maybe-configure-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
30048 configure-stageprofile-lto-plugin:
30049 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30050 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30051 @r=`${PWD_COMMAND}`; export r; \
30052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30053 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30054 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30055 $(HOST_EXPORTS) \
30056 $(POSTSTAGE1_HOST_EXPORTS) \
30057 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
30058 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
30059 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
30060 echo Configuring stage profile in $(HOST_SUBDIR)/lto-plugin ; \
30061 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30062 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30063 case $(srcdir) in \
30064 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30065 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30066 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30067 esac; \
30068 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
30069 libsrcdir="$$s/lto-plugin"; \
30070 $(SHELL) $${libsrcdir}/configure \
30071 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30072 --target=${target_alias} $${srcdiroption} \
30073 --with-build-libsubdir=$(HOST_SUBDIR) \
30074 $(STAGEprofile_CONFIGURE_FLAGS) \
30075 --enable-shared
30076 @endif lto-plugin-bootstrap
30078 .PHONY: configure-stagefeedback-lto-plugin maybe-configure-stagefeedback-lto-plugin
30079 maybe-configure-stagefeedback-lto-plugin:
30080 @if lto-plugin-bootstrap
30081 maybe-configure-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
30082 configure-stagefeedback-lto-plugin:
30083 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30084 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30085 @r=`${PWD_COMMAND}`; export r; \
30086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30087 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30088 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30089 $(HOST_EXPORTS) \
30090 $(POSTSTAGE1_HOST_EXPORTS) \
30091 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
30092 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
30093 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
30094 echo Configuring stage feedback in $(HOST_SUBDIR)/lto-plugin ; \
30095 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30096 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30097 case $(srcdir) in \
30098 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30099 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30100 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30101 esac; \
30102 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
30103 libsrcdir="$$s/lto-plugin"; \
30104 $(SHELL) $${libsrcdir}/configure \
30105 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30106 --target=${target_alias} $${srcdiroption} \
30107 --with-build-libsubdir=$(HOST_SUBDIR) \
30108 $(STAGEfeedback_CONFIGURE_FLAGS) \
30109 --enable-shared
30110 @endif lto-plugin-bootstrap
30116 .PHONY: all-lto-plugin maybe-all-lto-plugin
30117 maybe-all-lto-plugin:
30118 @if gcc-bootstrap
30119 all-lto-plugin: stage_current
30120 @endif gcc-bootstrap
30121 @if lto-plugin
30122 TARGET-lto-plugin=all
30123 maybe-all-lto-plugin: all-lto-plugin
30124 all-lto-plugin: configure-lto-plugin
30125 @r=`${PWD_COMMAND}`; export r; \
30126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30127 $(HOST_EXPORTS) \
30128 (cd $(HOST_SUBDIR)/lto-plugin && \
30129 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30130 $(TARGET-lto-plugin))
30131 @endif lto-plugin
30135 .PHONY: all-stage1-lto-plugin maybe-all-stage1-lto-plugin
30136 .PHONY: clean-stage1-lto-plugin maybe-clean-stage1-lto-plugin
30137 maybe-all-stage1-lto-plugin:
30138 maybe-clean-stage1-lto-plugin:
30139 @if lto-plugin-bootstrap
30140 maybe-all-stage1-lto-plugin: all-stage1-lto-plugin
30141 all-stage1: all-stage1-lto-plugin
30142 TARGET-stage1-lto-plugin = $(TARGET-lto-plugin)
30143 all-stage1-lto-plugin: configure-stage1-lto-plugin
30144 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30145 @r=`${PWD_COMMAND}`; export r; \
30146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30147 TFLAGS="$(STAGE1_TFLAGS)"; \
30148 $(HOST_EXPORTS) \
30149 cd $(HOST_SUBDIR)/lto-plugin && \
30150 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30151 CFLAGS="$(STAGE1_CFLAGS)" \
30152 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
30153 LIBCFLAGS="$(LIBCFLAGS)" \
30154 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30155 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30156 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30157 $(EXTRA_HOST_FLAGS) \
30158 $(STAGE1_FLAGS_TO_PASS) \
30159 TFLAGS="$(STAGE1_TFLAGS)" \
30160 $(TARGET-stage1-lto-plugin)
30162 maybe-clean-stage1-lto-plugin: clean-stage1-lto-plugin
30163 clean-stage1: clean-stage1-lto-plugin
30164 clean-stage1-lto-plugin:
30165 @if [ $(current_stage) = stage1 ]; then \
30166 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30167 else \
30168 [ -f $(HOST_SUBDIR)/stage1-lto-plugin/Makefile ] || exit 0; \
30169 $(MAKE) stage1-start; \
30170 fi; \
30171 cd $(HOST_SUBDIR)/lto-plugin && \
30172 $(MAKE) $(EXTRA_HOST_FLAGS) \
30173 $(STAGE1_FLAGS_TO_PASS) clean
30174 @endif lto-plugin-bootstrap
30177 .PHONY: all-stage2-lto-plugin maybe-all-stage2-lto-plugin
30178 .PHONY: clean-stage2-lto-plugin maybe-clean-stage2-lto-plugin
30179 maybe-all-stage2-lto-plugin:
30180 maybe-clean-stage2-lto-plugin:
30181 @if lto-plugin-bootstrap
30182 maybe-all-stage2-lto-plugin: all-stage2-lto-plugin
30183 all-stage2: all-stage2-lto-plugin
30184 TARGET-stage2-lto-plugin = $(TARGET-lto-plugin)
30185 all-stage2-lto-plugin: configure-stage2-lto-plugin
30186 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30187 @r=`${PWD_COMMAND}`; export r; \
30188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30189 TFLAGS="$(STAGE2_TFLAGS)"; \
30190 $(HOST_EXPORTS) \
30191 $(POSTSTAGE1_HOST_EXPORTS) \
30192 cd $(HOST_SUBDIR)/lto-plugin && \
30193 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30194 CFLAGS="$(STAGE2_CFLAGS)" \
30195 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
30196 LIBCFLAGS="$(STAGE2_CFLAGS)" \
30197 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30198 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30199 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30200 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30201 TFLAGS="$(STAGE2_TFLAGS)" \
30202 $(TARGET-stage2-lto-plugin)
30204 maybe-clean-stage2-lto-plugin: clean-stage2-lto-plugin
30205 clean-stage2: clean-stage2-lto-plugin
30206 clean-stage2-lto-plugin:
30207 @if [ $(current_stage) = stage2 ]; then \
30208 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30209 else \
30210 [ -f $(HOST_SUBDIR)/stage2-lto-plugin/Makefile ] || exit 0; \
30211 $(MAKE) stage2-start; \
30212 fi; \
30213 cd $(HOST_SUBDIR)/lto-plugin && \
30214 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30215 @endif lto-plugin-bootstrap
30218 .PHONY: all-stage3-lto-plugin maybe-all-stage3-lto-plugin
30219 .PHONY: clean-stage3-lto-plugin maybe-clean-stage3-lto-plugin
30220 maybe-all-stage3-lto-plugin:
30221 maybe-clean-stage3-lto-plugin:
30222 @if lto-plugin-bootstrap
30223 maybe-all-stage3-lto-plugin: all-stage3-lto-plugin
30224 all-stage3: all-stage3-lto-plugin
30225 TARGET-stage3-lto-plugin = $(TARGET-lto-plugin)
30226 all-stage3-lto-plugin: configure-stage3-lto-plugin
30227 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30228 @r=`${PWD_COMMAND}`; export r; \
30229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30230 TFLAGS="$(STAGE3_TFLAGS)"; \
30231 $(HOST_EXPORTS) \
30232 $(POSTSTAGE1_HOST_EXPORTS) \
30233 cd $(HOST_SUBDIR)/lto-plugin && \
30234 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30235 CFLAGS="$(STAGE3_CFLAGS)" \
30236 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
30237 LIBCFLAGS="$(STAGE3_CFLAGS)" \
30238 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30239 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30240 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30241 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30242 TFLAGS="$(STAGE3_TFLAGS)" \
30243 $(TARGET-stage3-lto-plugin)
30245 maybe-clean-stage3-lto-plugin: clean-stage3-lto-plugin
30246 clean-stage3: clean-stage3-lto-plugin
30247 clean-stage3-lto-plugin:
30248 @if [ $(current_stage) = stage3 ]; then \
30249 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30250 else \
30251 [ -f $(HOST_SUBDIR)/stage3-lto-plugin/Makefile ] || exit 0; \
30252 $(MAKE) stage3-start; \
30253 fi; \
30254 cd $(HOST_SUBDIR)/lto-plugin && \
30255 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30256 @endif lto-plugin-bootstrap
30259 .PHONY: all-stage4-lto-plugin maybe-all-stage4-lto-plugin
30260 .PHONY: clean-stage4-lto-plugin maybe-clean-stage4-lto-plugin
30261 maybe-all-stage4-lto-plugin:
30262 maybe-clean-stage4-lto-plugin:
30263 @if lto-plugin-bootstrap
30264 maybe-all-stage4-lto-plugin: all-stage4-lto-plugin
30265 all-stage4: all-stage4-lto-plugin
30266 TARGET-stage4-lto-plugin = $(TARGET-lto-plugin)
30267 all-stage4-lto-plugin: configure-stage4-lto-plugin
30268 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30269 @r=`${PWD_COMMAND}`; export r; \
30270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30271 TFLAGS="$(STAGE4_TFLAGS)"; \
30272 $(HOST_EXPORTS) \
30273 $(POSTSTAGE1_HOST_EXPORTS) \
30274 cd $(HOST_SUBDIR)/lto-plugin && \
30275 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30276 CFLAGS="$(STAGE4_CFLAGS)" \
30277 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
30278 LIBCFLAGS="$(STAGE4_CFLAGS)" \
30279 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30280 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30281 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30282 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30283 TFLAGS="$(STAGE4_TFLAGS)" \
30284 $(TARGET-stage4-lto-plugin)
30286 maybe-clean-stage4-lto-plugin: clean-stage4-lto-plugin
30287 clean-stage4: clean-stage4-lto-plugin
30288 clean-stage4-lto-plugin:
30289 @if [ $(current_stage) = stage4 ]; then \
30290 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30291 else \
30292 [ -f $(HOST_SUBDIR)/stage4-lto-plugin/Makefile ] || exit 0; \
30293 $(MAKE) stage4-start; \
30294 fi; \
30295 cd $(HOST_SUBDIR)/lto-plugin && \
30296 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30297 @endif lto-plugin-bootstrap
30300 .PHONY: all-stageprofile-lto-plugin maybe-all-stageprofile-lto-plugin
30301 .PHONY: clean-stageprofile-lto-plugin maybe-clean-stageprofile-lto-plugin
30302 maybe-all-stageprofile-lto-plugin:
30303 maybe-clean-stageprofile-lto-plugin:
30304 @if lto-plugin-bootstrap
30305 maybe-all-stageprofile-lto-plugin: all-stageprofile-lto-plugin
30306 all-stageprofile: all-stageprofile-lto-plugin
30307 TARGET-stageprofile-lto-plugin = $(TARGET-lto-plugin)
30308 all-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
30309 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30310 @r=`${PWD_COMMAND}`; export r; \
30311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30312 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30313 $(HOST_EXPORTS) \
30314 $(POSTSTAGE1_HOST_EXPORTS) \
30315 cd $(HOST_SUBDIR)/lto-plugin && \
30316 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30317 CFLAGS="$(STAGEprofile_CFLAGS)" \
30318 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
30319 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
30320 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30321 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30322 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30323 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30324 TFLAGS="$(STAGEprofile_TFLAGS)" \
30325 $(TARGET-stageprofile-lto-plugin)
30327 maybe-clean-stageprofile-lto-plugin: clean-stageprofile-lto-plugin
30328 clean-stageprofile: clean-stageprofile-lto-plugin
30329 clean-stageprofile-lto-plugin:
30330 @if [ $(current_stage) = stageprofile ]; then \
30331 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30332 else \
30333 [ -f $(HOST_SUBDIR)/stageprofile-lto-plugin/Makefile ] || exit 0; \
30334 $(MAKE) stageprofile-start; \
30335 fi; \
30336 cd $(HOST_SUBDIR)/lto-plugin && \
30337 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30338 @endif lto-plugin-bootstrap
30341 .PHONY: all-stagefeedback-lto-plugin maybe-all-stagefeedback-lto-plugin
30342 .PHONY: clean-stagefeedback-lto-plugin maybe-clean-stagefeedback-lto-plugin
30343 maybe-all-stagefeedback-lto-plugin:
30344 maybe-clean-stagefeedback-lto-plugin:
30345 @if lto-plugin-bootstrap
30346 maybe-all-stagefeedback-lto-plugin: all-stagefeedback-lto-plugin
30347 all-stagefeedback: all-stagefeedback-lto-plugin
30348 TARGET-stagefeedback-lto-plugin = $(TARGET-lto-plugin)
30349 all-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
30350 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30351 @r=`${PWD_COMMAND}`; export r; \
30352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30353 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30354 $(HOST_EXPORTS) \
30355 $(POSTSTAGE1_HOST_EXPORTS) \
30356 cd $(HOST_SUBDIR)/lto-plugin && \
30357 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30358 CFLAGS="$(STAGEfeedback_CFLAGS)" \
30359 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
30360 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
30361 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30362 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30363 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30364 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30365 TFLAGS="$(STAGEfeedback_TFLAGS)" \
30366 $(TARGET-stagefeedback-lto-plugin)
30368 maybe-clean-stagefeedback-lto-plugin: clean-stagefeedback-lto-plugin
30369 clean-stagefeedback: clean-stagefeedback-lto-plugin
30370 clean-stagefeedback-lto-plugin:
30371 @if [ $(current_stage) = stagefeedback ]; then \
30372 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30373 else \
30374 [ -f $(HOST_SUBDIR)/stagefeedback-lto-plugin/Makefile ] || exit 0; \
30375 $(MAKE) stagefeedback-start; \
30376 fi; \
30377 cd $(HOST_SUBDIR)/lto-plugin && \
30378 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30379 @endif lto-plugin-bootstrap
30385 .PHONY: check-lto-plugin maybe-check-lto-plugin
30386 maybe-check-lto-plugin:
30387 @if lto-plugin
30388 maybe-check-lto-plugin: check-lto-plugin
30390 check-lto-plugin:
30391 @: $(MAKE); $(unstage)
30392 @r=`${PWD_COMMAND}`; export r; \
30393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30394 $(HOST_EXPORTS) \
30395 (cd $(HOST_SUBDIR)/lto-plugin && \
30396 $(MAKE) $(FLAGS_TO_PASS) check)
30398 @endif lto-plugin
30400 .PHONY: install-lto-plugin maybe-install-lto-plugin
30401 maybe-install-lto-plugin:
30402 @if lto-plugin
30403 maybe-install-lto-plugin: install-lto-plugin
30405 install-lto-plugin: installdirs
30406 @: $(MAKE); $(unstage)
30407 @r=`${PWD_COMMAND}`; export r; \
30408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30409 $(HOST_EXPORTS) \
30410 (cd $(HOST_SUBDIR)/lto-plugin && \
30411 $(MAKE) $(FLAGS_TO_PASS) install)
30413 @endif lto-plugin
30415 .PHONY: install-strip-lto-plugin maybe-install-strip-lto-plugin
30416 maybe-install-strip-lto-plugin:
30417 @if lto-plugin
30418 maybe-install-strip-lto-plugin: install-strip-lto-plugin
30420 install-strip-lto-plugin: installdirs
30421 @: $(MAKE); $(unstage)
30422 @r=`${PWD_COMMAND}`; export r; \
30423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30424 $(HOST_EXPORTS) \
30425 (cd $(HOST_SUBDIR)/lto-plugin && \
30426 $(MAKE) $(FLAGS_TO_PASS) install-strip)
30428 @endif lto-plugin
30430 # Other targets (info, dvi, pdf, etc.)
30432 .PHONY: maybe-info-lto-plugin info-lto-plugin
30433 maybe-info-lto-plugin:
30434 @if lto-plugin
30435 maybe-info-lto-plugin: info-lto-plugin
30437 info-lto-plugin: \
30438 configure-lto-plugin
30439 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30440 r=`${PWD_COMMAND}`; export r; \
30441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30442 $(HOST_EXPORTS) \
30443 for flag in $(EXTRA_HOST_FLAGS) ; do \
30444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30445 done; \
30446 echo "Doing info in lto-plugin" ; \
30447 (cd $(HOST_SUBDIR)/lto-plugin && \
30448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30450 "RANLIB=$${RANLIB}" \
30451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30452 info) \
30453 || exit 1
30455 @endif lto-plugin
30457 .PHONY: maybe-dvi-lto-plugin dvi-lto-plugin
30458 maybe-dvi-lto-plugin:
30459 @if lto-plugin
30460 maybe-dvi-lto-plugin: dvi-lto-plugin
30462 dvi-lto-plugin: \
30463 configure-lto-plugin
30464 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30465 r=`${PWD_COMMAND}`; export r; \
30466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30467 $(HOST_EXPORTS) \
30468 for flag in $(EXTRA_HOST_FLAGS) ; do \
30469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30470 done; \
30471 echo "Doing dvi in lto-plugin" ; \
30472 (cd $(HOST_SUBDIR)/lto-plugin && \
30473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30475 "RANLIB=$${RANLIB}" \
30476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30477 dvi) \
30478 || exit 1
30480 @endif lto-plugin
30482 .PHONY: maybe-pdf-lto-plugin pdf-lto-plugin
30483 maybe-pdf-lto-plugin:
30484 @if lto-plugin
30485 maybe-pdf-lto-plugin: pdf-lto-plugin
30487 pdf-lto-plugin: \
30488 configure-lto-plugin
30489 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30490 r=`${PWD_COMMAND}`; export r; \
30491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30492 $(HOST_EXPORTS) \
30493 for flag in $(EXTRA_HOST_FLAGS) ; do \
30494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30495 done; \
30496 echo "Doing pdf in lto-plugin" ; \
30497 (cd $(HOST_SUBDIR)/lto-plugin && \
30498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30500 "RANLIB=$${RANLIB}" \
30501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30502 pdf) \
30503 || exit 1
30505 @endif lto-plugin
30507 .PHONY: maybe-html-lto-plugin html-lto-plugin
30508 maybe-html-lto-plugin:
30509 @if lto-plugin
30510 maybe-html-lto-plugin: html-lto-plugin
30512 html-lto-plugin: \
30513 configure-lto-plugin
30514 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30515 r=`${PWD_COMMAND}`; export r; \
30516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30517 $(HOST_EXPORTS) \
30518 for flag in $(EXTRA_HOST_FLAGS) ; do \
30519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30520 done; \
30521 echo "Doing html in lto-plugin" ; \
30522 (cd $(HOST_SUBDIR)/lto-plugin && \
30523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30525 "RANLIB=$${RANLIB}" \
30526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30527 html) \
30528 || exit 1
30530 @endif lto-plugin
30532 .PHONY: maybe-TAGS-lto-plugin TAGS-lto-plugin
30533 maybe-TAGS-lto-plugin:
30534 @if lto-plugin
30535 maybe-TAGS-lto-plugin: TAGS-lto-plugin
30537 TAGS-lto-plugin: \
30538 configure-lto-plugin
30539 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30540 r=`${PWD_COMMAND}`; export r; \
30541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30542 $(HOST_EXPORTS) \
30543 for flag in $(EXTRA_HOST_FLAGS) ; do \
30544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30545 done; \
30546 echo "Doing TAGS in lto-plugin" ; \
30547 (cd $(HOST_SUBDIR)/lto-plugin && \
30548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30550 "RANLIB=$${RANLIB}" \
30551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30552 TAGS) \
30553 || exit 1
30555 @endif lto-plugin
30557 .PHONY: maybe-install-info-lto-plugin install-info-lto-plugin
30558 maybe-install-info-lto-plugin:
30559 @if lto-plugin
30560 maybe-install-info-lto-plugin: install-info-lto-plugin
30562 install-info-lto-plugin: \
30563 configure-lto-plugin \
30564 info-lto-plugin
30565 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30566 r=`${PWD_COMMAND}`; export r; \
30567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30568 $(HOST_EXPORTS) \
30569 for flag in $(EXTRA_HOST_FLAGS) ; do \
30570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30571 done; \
30572 echo "Doing install-info in lto-plugin" ; \
30573 (cd $(HOST_SUBDIR)/lto-plugin && \
30574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30576 "RANLIB=$${RANLIB}" \
30577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30578 install-info) \
30579 || exit 1
30581 @endif lto-plugin
30583 .PHONY: maybe-install-pdf-lto-plugin install-pdf-lto-plugin
30584 maybe-install-pdf-lto-plugin:
30585 @if lto-plugin
30586 maybe-install-pdf-lto-plugin: install-pdf-lto-plugin
30588 install-pdf-lto-plugin: \
30589 configure-lto-plugin \
30590 pdf-lto-plugin
30591 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30592 r=`${PWD_COMMAND}`; export r; \
30593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30594 $(HOST_EXPORTS) \
30595 for flag in $(EXTRA_HOST_FLAGS) ; do \
30596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30597 done; \
30598 echo "Doing install-pdf in lto-plugin" ; \
30599 (cd $(HOST_SUBDIR)/lto-plugin && \
30600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30602 "RANLIB=$${RANLIB}" \
30603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30604 install-pdf) \
30605 || exit 1
30607 @endif lto-plugin
30609 .PHONY: maybe-install-html-lto-plugin install-html-lto-plugin
30610 maybe-install-html-lto-plugin:
30611 @if lto-plugin
30612 maybe-install-html-lto-plugin: install-html-lto-plugin
30614 install-html-lto-plugin: \
30615 configure-lto-plugin \
30616 html-lto-plugin
30617 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30618 r=`${PWD_COMMAND}`; export r; \
30619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30620 $(HOST_EXPORTS) \
30621 for flag in $(EXTRA_HOST_FLAGS) ; do \
30622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30623 done; \
30624 echo "Doing install-html in lto-plugin" ; \
30625 (cd $(HOST_SUBDIR)/lto-plugin && \
30626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30628 "RANLIB=$${RANLIB}" \
30629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30630 install-html) \
30631 || exit 1
30633 @endif lto-plugin
30635 .PHONY: maybe-installcheck-lto-plugin installcheck-lto-plugin
30636 maybe-installcheck-lto-plugin:
30637 @if lto-plugin
30638 maybe-installcheck-lto-plugin: installcheck-lto-plugin
30640 installcheck-lto-plugin: \
30641 configure-lto-plugin
30642 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30643 r=`${PWD_COMMAND}`; export r; \
30644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30645 $(HOST_EXPORTS) \
30646 for flag in $(EXTRA_HOST_FLAGS) ; do \
30647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30648 done; \
30649 echo "Doing installcheck in lto-plugin" ; \
30650 (cd $(HOST_SUBDIR)/lto-plugin && \
30651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30653 "RANLIB=$${RANLIB}" \
30654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30655 installcheck) \
30656 || exit 1
30658 @endif lto-plugin
30660 .PHONY: maybe-mostlyclean-lto-plugin mostlyclean-lto-plugin
30661 maybe-mostlyclean-lto-plugin:
30662 @if lto-plugin
30663 maybe-mostlyclean-lto-plugin: mostlyclean-lto-plugin
30665 mostlyclean-lto-plugin:
30666 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30667 r=`${PWD_COMMAND}`; export r; \
30668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30669 $(HOST_EXPORTS) \
30670 for flag in $(EXTRA_HOST_FLAGS) ; do \
30671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30672 done; \
30673 echo "Doing mostlyclean in lto-plugin" ; \
30674 (cd $(HOST_SUBDIR)/lto-plugin && \
30675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30677 "RANLIB=$${RANLIB}" \
30678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30679 mostlyclean) \
30680 || exit 1
30682 @endif lto-plugin
30684 .PHONY: maybe-clean-lto-plugin clean-lto-plugin
30685 maybe-clean-lto-plugin:
30686 @if lto-plugin
30687 maybe-clean-lto-plugin: clean-lto-plugin
30689 clean-lto-plugin:
30690 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30691 r=`${PWD_COMMAND}`; export r; \
30692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30693 $(HOST_EXPORTS) \
30694 for flag in $(EXTRA_HOST_FLAGS) ; do \
30695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30696 done; \
30697 echo "Doing clean in lto-plugin" ; \
30698 (cd $(HOST_SUBDIR)/lto-plugin && \
30699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30701 "RANLIB=$${RANLIB}" \
30702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30703 clean) \
30704 || exit 1
30706 @endif lto-plugin
30708 .PHONY: maybe-distclean-lto-plugin distclean-lto-plugin
30709 maybe-distclean-lto-plugin:
30710 @if lto-plugin
30711 maybe-distclean-lto-plugin: distclean-lto-plugin
30713 distclean-lto-plugin:
30714 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30715 r=`${PWD_COMMAND}`; export r; \
30716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30717 $(HOST_EXPORTS) \
30718 for flag in $(EXTRA_HOST_FLAGS) ; do \
30719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30720 done; \
30721 echo "Doing distclean in lto-plugin" ; \
30722 (cd $(HOST_SUBDIR)/lto-plugin && \
30723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30725 "RANLIB=$${RANLIB}" \
30726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30727 distclean) \
30728 || exit 1
30730 @endif lto-plugin
30732 .PHONY: maybe-maintainer-clean-lto-plugin maintainer-clean-lto-plugin
30733 maybe-maintainer-clean-lto-plugin:
30734 @if lto-plugin
30735 maybe-maintainer-clean-lto-plugin: maintainer-clean-lto-plugin
30737 maintainer-clean-lto-plugin:
30738 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30739 r=`${PWD_COMMAND}`; export r; \
30740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30741 $(HOST_EXPORTS) \
30742 for flag in $(EXTRA_HOST_FLAGS) ; do \
30743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30744 done; \
30745 echo "Doing maintainer-clean in lto-plugin" ; \
30746 (cd $(HOST_SUBDIR)/lto-plugin && \
30747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30749 "RANLIB=$${RANLIB}" \
30750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30751 maintainer-clean) \
30752 || exit 1
30754 @endif lto-plugin
30758 .PHONY: configure-function_reordering_plugin maybe-configure-function_reordering_plugin
30759 maybe-configure-function_reordering_plugin:
30760 @if gcc-bootstrap
30761 configure-function_reordering_plugin: stage_current
30762 @endif gcc-bootstrap
30763 @if function_reordering_plugin
30764 maybe-configure-function_reordering_plugin: configure-function_reordering_plugin
30765 configure-function_reordering_plugin:
30766 @r=`${PWD_COMMAND}`; export r; \
30767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30768 test ! -f $(HOST_SUBDIR)/function_reordering_plugin/Makefile || exit 0; \
30769 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/function_reordering_plugin ; \
30770 $(HOST_EXPORTS) \
30771 echo Configuring in $(HOST_SUBDIR)/function_reordering_plugin; \
30772 cd "$(HOST_SUBDIR)/function_reordering_plugin" || exit 1; \
30773 case $(srcdir) in \
30774 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30775 *) topdir=`echo $(HOST_SUBDIR)/function_reordering_plugin/ | \
30776 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30777 esac; \
30778 srcdiroption="--srcdir=$${topdir}/function_reordering_plugin"; \
30779 libsrcdir="$$s/function_reordering_plugin"; \
30780 $(SHELL) $${libsrcdir}/configure \
30781 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30782 --target=${target_alias} $${srcdiroption} --enable-shared \
30783 || exit 1
30784 @endif function_reordering_plugin
30788 .PHONY: configure-stage1-function_reordering_plugin maybe-configure-stage1-function_reordering_plugin
30789 maybe-configure-stage1-function_reordering_plugin:
30790 @if function_reordering_plugin-bootstrap
30791 maybe-configure-stage1-function_reordering_plugin: configure-stage1-function_reordering_plugin
30792 configure-stage1-function_reordering_plugin:
30793 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30794 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/function_reordering_plugin
30795 @r=`${PWD_COMMAND}`; export r; \
30796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30797 TFLAGS="$(STAGE1_TFLAGS)"; \
30798 test ! -f $(HOST_SUBDIR)/function_reordering_plugin/Makefile || exit 0; \
30799 $(HOST_EXPORTS) \
30800 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
30801 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
30802 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
30803 echo Configuring stage 1 in $(HOST_SUBDIR)/function_reordering_plugin ; \
30804 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/function_reordering_plugin ; \
30805 cd $(HOST_SUBDIR)/function_reordering_plugin || exit 1; \
30806 case $(srcdir) in \
30807 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30808 *) topdir=`echo $(HOST_SUBDIR)/function_reordering_plugin/ | \
30809 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30810 esac; \
30811 srcdiroption="--srcdir=$${topdir}/function_reordering_plugin"; \
30812 libsrcdir="$$s/function_reordering_plugin"; \
30813 $(SHELL) $${libsrcdir}/configure \
30814 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30815 --target=${target_alias} $${srcdiroption} \
30816 $(STAGE1_CONFIGURE_FLAGS) \
30817 --enable-shared
30818 @endif function_reordering_plugin-bootstrap
30820 .PHONY: configure-stage2-function_reordering_plugin maybe-configure-stage2-function_reordering_plugin
30821 maybe-configure-stage2-function_reordering_plugin:
30822 @if function_reordering_plugin-bootstrap
30823 maybe-configure-stage2-function_reordering_plugin: configure-stage2-function_reordering_plugin
30824 configure-stage2-function_reordering_plugin:
30825 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30826 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/function_reordering_plugin
30827 @r=`${PWD_COMMAND}`; export r; \
30828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30829 TFLAGS="$(STAGE2_TFLAGS)"; \
30830 test ! -f $(HOST_SUBDIR)/function_reordering_plugin/Makefile || exit 0; \
30831 $(HOST_EXPORTS) \
30832 $(POSTSTAGE1_HOST_EXPORTS) \
30833 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
30834 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
30835 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
30836 echo Configuring stage 2 in $(HOST_SUBDIR)/function_reordering_plugin ; \
30837 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/function_reordering_plugin ; \
30838 cd $(HOST_SUBDIR)/function_reordering_plugin || exit 1; \
30839 case $(srcdir) in \
30840 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30841 *) topdir=`echo $(HOST_SUBDIR)/function_reordering_plugin/ | \
30842 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30843 esac; \
30844 srcdiroption="--srcdir=$${topdir}/function_reordering_plugin"; \
30845 libsrcdir="$$s/function_reordering_plugin"; \
30846 $(SHELL) $${libsrcdir}/configure \
30847 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30848 --target=${target_alias} $${srcdiroption} \
30849 --with-build-libsubdir=$(HOST_SUBDIR) \
30850 $(STAGE2_CONFIGURE_FLAGS) \
30851 --enable-shared
30852 @endif function_reordering_plugin-bootstrap
30854 .PHONY: configure-stage3-function_reordering_plugin maybe-configure-stage3-function_reordering_plugin
30855 maybe-configure-stage3-function_reordering_plugin:
30856 @if function_reordering_plugin-bootstrap
30857 maybe-configure-stage3-function_reordering_plugin: configure-stage3-function_reordering_plugin
30858 configure-stage3-function_reordering_plugin:
30859 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30860 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/function_reordering_plugin
30861 @r=`${PWD_COMMAND}`; export r; \
30862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30863 TFLAGS="$(STAGE3_TFLAGS)"; \
30864 test ! -f $(HOST_SUBDIR)/function_reordering_plugin/Makefile || exit 0; \
30865 $(HOST_EXPORTS) \
30866 $(POSTSTAGE1_HOST_EXPORTS) \
30867 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
30868 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
30869 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
30870 echo Configuring stage 3 in $(HOST_SUBDIR)/function_reordering_plugin ; \
30871 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/function_reordering_plugin ; \
30872 cd $(HOST_SUBDIR)/function_reordering_plugin || exit 1; \
30873 case $(srcdir) in \
30874 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30875 *) topdir=`echo $(HOST_SUBDIR)/function_reordering_plugin/ | \
30876 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30877 esac; \
30878 srcdiroption="--srcdir=$${topdir}/function_reordering_plugin"; \
30879 libsrcdir="$$s/function_reordering_plugin"; \
30880 $(SHELL) $${libsrcdir}/configure \
30881 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30882 --target=${target_alias} $${srcdiroption} \
30883 --with-build-libsubdir=$(HOST_SUBDIR) \
30884 $(STAGE3_CONFIGURE_FLAGS) \
30885 --enable-shared
30886 @endif function_reordering_plugin-bootstrap
30888 .PHONY: configure-stage4-function_reordering_plugin maybe-configure-stage4-function_reordering_plugin
30889 maybe-configure-stage4-function_reordering_plugin:
30890 @if function_reordering_plugin-bootstrap
30891 maybe-configure-stage4-function_reordering_plugin: configure-stage4-function_reordering_plugin
30892 configure-stage4-function_reordering_plugin:
30893 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30894 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/function_reordering_plugin
30895 @r=`${PWD_COMMAND}`; export r; \
30896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30897 TFLAGS="$(STAGE4_TFLAGS)"; \
30898 test ! -f $(HOST_SUBDIR)/function_reordering_plugin/Makefile || exit 0; \
30899 $(HOST_EXPORTS) \
30900 $(POSTSTAGE1_HOST_EXPORTS) \
30901 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
30902 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
30903 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
30904 echo Configuring stage 4 in $(HOST_SUBDIR)/function_reordering_plugin ; \
30905 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/function_reordering_plugin ; \
30906 cd $(HOST_SUBDIR)/function_reordering_plugin || exit 1; \
30907 case $(srcdir) in \
30908 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30909 *) topdir=`echo $(HOST_SUBDIR)/function_reordering_plugin/ | \
30910 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30911 esac; \
30912 srcdiroption="--srcdir=$${topdir}/function_reordering_plugin"; \
30913 libsrcdir="$$s/function_reordering_plugin"; \
30914 $(SHELL) $${libsrcdir}/configure \
30915 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30916 --target=${target_alias} $${srcdiroption} \
30917 --with-build-libsubdir=$(HOST_SUBDIR) \
30918 $(STAGE4_CONFIGURE_FLAGS) \
30919 --enable-shared
30920 @endif function_reordering_plugin-bootstrap
30922 .PHONY: configure-stageprofile-function_reordering_plugin maybe-configure-stageprofile-function_reordering_plugin
30923 maybe-configure-stageprofile-function_reordering_plugin:
30924 @if function_reordering_plugin-bootstrap
30925 maybe-configure-stageprofile-function_reordering_plugin: configure-stageprofile-function_reordering_plugin
30926 configure-stageprofile-function_reordering_plugin:
30927 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30928 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/function_reordering_plugin
30929 @r=`${PWD_COMMAND}`; export r; \
30930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30931 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30932 test ! -f $(HOST_SUBDIR)/function_reordering_plugin/Makefile || exit 0; \
30933 $(HOST_EXPORTS) \
30934 $(POSTSTAGE1_HOST_EXPORTS) \
30935 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
30936 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
30937 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
30938 echo Configuring stage profile in $(HOST_SUBDIR)/function_reordering_plugin ; \
30939 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/function_reordering_plugin ; \
30940 cd $(HOST_SUBDIR)/function_reordering_plugin || exit 1; \
30941 case $(srcdir) in \
30942 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30943 *) topdir=`echo $(HOST_SUBDIR)/function_reordering_plugin/ | \
30944 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30945 esac; \
30946 srcdiroption="--srcdir=$${topdir}/function_reordering_plugin"; \
30947 libsrcdir="$$s/function_reordering_plugin"; \
30948 $(SHELL) $${libsrcdir}/configure \
30949 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30950 --target=${target_alias} $${srcdiroption} \
30951 --with-build-libsubdir=$(HOST_SUBDIR) \
30952 $(STAGEprofile_CONFIGURE_FLAGS) \
30953 --enable-shared
30954 @endif function_reordering_plugin-bootstrap
30956 .PHONY: configure-stagefeedback-function_reordering_plugin maybe-configure-stagefeedback-function_reordering_plugin
30957 maybe-configure-stagefeedback-function_reordering_plugin:
30958 @if function_reordering_plugin-bootstrap
30959 maybe-configure-stagefeedback-function_reordering_plugin: configure-stagefeedback-function_reordering_plugin
30960 configure-stagefeedback-function_reordering_plugin:
30961 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30962 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/function_reordering_plugin
30963 @r=`${PWD_COMMAND}`; export r; \
30964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30965 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30966 test ! -f $(HOST_SUBDIR)/function_reordering_plugin/Makefile || exit 0; \
30967 $(HOST_EXPORTS) \
30968 $(POSTSTAGE1_HOST_EXPORTS) \
30969 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
30970 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
30971 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
30972 echo Configuring stage feedback in $(HOST_SUBDIR)/function_reordering_plugin ; \
30973 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/function_reordering_plugin ; \
30974 cd $(HOST_SUBDIR)/function_reordering_plugin || exit 1; \
30975 case $(srcdir) in \
30976 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30977 *) topdir=`echo $(HOST_SUBDIR)/function_reordering_plugin/ | \
30978 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30979 esac; \
30980 srcdiroption="--srcdir=$${topdir}/function_reordering_plugin"; \
30981 libsrcdir="$$s/function_reordering_plugin"; \
30982 $(SHELL) $${libsrcdir}/configure \
30983 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30984 --target=${target_alias} $${srcdiroption} \
30985 --with-build-libsubdir=$(HOST_SUBDIR) \
30986 $(STAGEfeedback_CONFIGURE_FLAGS) \
30987 --enable-shared
30988 @endif function_reordering_plugin-bootstrap
30994 .PHONY: all-function_reordering_plugin maybe-all-function_reordering_plugin
30995 maybe-all-function_reordering_plugin:
30996 @if gcc-bootstrap
30997 all-function_reordering_plugin: stage_current
30998 @endif gcc-bootstrap
30999 @if function_reordering_plugin
31000 TARGET-function_reordering_plugin=all
31001 maybe-all-function_reordering_plugin: all-function_reordering_plugin
31002 all-function_reordering_plugin: configure-function_reordering_plugin
31003 @r=`${PWD_COMMAND}`; export r; \
31004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31005 $(HOST_EXPORTS) \
31006 (cd $(HOST_SUBDIR)/function_reordering_plugin && \
31007 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
31008 $(TARGET-function_reordering_plugin))
31009 @endif function_reordering_plugin
31013 .PHONY: all-stage1-function_reordering_plugin maybe-all-stage1-function_reordering_plugin
31014 .PHONY: clean-stage1-function_reordering_plugin maybe-clean-stage1-function_reordering_plugin
31015 maybe-all-stage1-function_reordering_plugin:
31016 maybe-clean-stage1-function_reordering_plugin:
31017 @if function_reordering_plugin-bootstrap
31018 maybe-all-stage1-function_reordering_plugin: all-stage1-function_reordering_plugin
31019 all-stage1: all-stage1-function_reordering_plugin
31020 TARGET-stage1-function_reordering_plugin = $(TARGET-function_reordering_plugin)
31021 all-stage1-function_reordering_plugin: configure-stage1-function_reordering_plugin
31022 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
31023 @r=`${PWD_COMMAND}`; export r; \
31024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31025 TFLAGS="$(STAGE1_TFLAGS)"; \
31026 $(HOST_EXPORTS) \
31027 cd $(HOST_SUBDIR)/function_reordering_plugin && \
31028 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31029 CFLAGS="$(STAGE1_CFLAGS)" \
31030 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
31031 LIBCFLAGS="$(LIBCFLAGS)" \
31032 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31033 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31034 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31035 $(EXTRA_HOST_FLAGS) \
31036 TFLAGS="$(STAGE1_TFLAGS)" \
31037 $(TARGET-stage1-function_reordering_plugin)
31039 maybe-clean-stage1-function_reordering_plugin: clean-stage1-function_reordering_plugin
31040 clean-stage1: clean-stage1-function_reordering_plugin
31041 clean-stage1-function_reordering_plugin:
31042 @if [ $(current_stage) = stage1 ]; then \
31043 [ -f $(HOST_SUBDIR)/function_reordering_plugin/Makefile ] || exit 0; \
31044 else \
31045 [ -f $(HOST_SUBDIR)/stage1-function_reordering_plugin/Makefile ] || exit 0; \
31046 $(MAKE) stage1-start; \
31047 fi; \
31048 cd $(HOST_SUBDIR)/function_reordering_plugin && \
31049 $(MAKE) $(EXTRA_HOST_FLAGS) \
31050 clean
31051 @endif function_reordering_plugin-bootstrap
31054 .PHONY: all-stage2-function_reordering_plugin maybe-all-stage2-function_reordering_plugin
31055 .PHONY: clean-stage2-function_reordering_plugin maybe-clean-stage2-function_reordering_plugin
31056 maybe-all-stage2-function_reordering_plugin:
31057 maybe-clean-stage2-function_reordering_plugin:
31058 @if function_reordering_plugin-bootstrap
31059 maybe-all-stage2-function_reordering_plugin: all-stage2-function_reordering_plugin
31060 all-stage2: all-stage2-function_reordering_plugin
31061 TARGET-stage2-function_reordering_plugin = $(TARGET-function_reordering_plugin)
31062 all-stage2-function_reordering_plugin: configure-stage2-function_reordering_plugin
31063 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
31064 @r=`${PWD_COMMAND}`; export r; \
31065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31066 TFLAGS="$(STAGE2_TFLAGS)"; \
31067 $(HOST_EXPORTS) \
31068 $(POSTSTAGE1_HOST_EXPORTS) \
31069 cd $(HOST_SUBDIR)/function_reordering_plugin && \
31070 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31071 CFLAGS="$(STAGE2_CFLAGS)" \
31072 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
31073 LIBCFLAGS="$(STAGE2_CFLAGS)" \
31074 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31075 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31076 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31077 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
31078 TFLAGS="$(STAGE2_TFLAGS)" \
31079 $(TARGET-stage2-function_reordering_plugin)
31081 maybe-clean-stage2-function_reordering_plugin: clean-stage2-function_reordering_plugin
31082 clean-stage2: clean-stage2-function_reordering_plugin
31083 clean-stage2-function_reordering_plugin:
31084 @if [ $(current_stage) = stage2 ]; then \
31085 [ -f $(HOST_SUBDIR)/function_reordering_plugin/Makefile ] || exit 0; \
31086 else \
31087 [ -f $(HOST_SUBDIR)/stage2-function_reordering_plugin/Makefile ] || exit 0; \
31088 $(MAKE) stage2-start; \
31089 fi; \
31090 cd $(HOST_SUBDIR)/function_reordering_plugin && \
31091 $(MAKE) $(EXTRA_HOST_FLAGS) \
31092 $(POSTSTAGE1_FLAGS_TO_PASS) \
31093 clean
31094 @endif function_reordering_plugin-bootstrap
31097 .PHONY: all-stage3-function_reordering_plugin maybe-all-stage3-function_reordering_plugin
31098 .PHONY: clean-stage3-function_reordering_plugin maybe-clean-stage3-function_reordering_plugin
31099 maybe-all-stage3-function_reordering_plugin:
31100 maybe-clean-stage3-function_reordering_plugin:
31101 @if function_reordering_plugin-bootstrap
31102 maybe-all-stage3-function_reordering_plugin: all-stage3-function_reordering_plugin
31103 all-stage3: all-stage3-function_reordering_plugin
31104 TARGET-stage3-function_reordering_plugin = $(TARGET-function_reordering_plugin)
31105 all-stage3-function_reordering_plugin: configure-stage3-function_reordering_plugin
31106 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
31107 @r=`${PWD_COMMAND}`; export r; \
31108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31109 TFLAGS="$(STAGE3_TFLAGS)"; \
31110 $(HOST_EXPORTS) \
31111 $(POSTSTAGE1_HOST_EXPORTS) \
31112 cd $(HOST_SUBDIR)/function_reordering_plugin && \
31113 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31114 CFLAGS="$(STAGE3_CFLAGS)" \
31115 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
31116 LIBCFLAGS="$(STAGE3_CFLAGS)" \
31117 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31118 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31119 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31120 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
31121 TFLAGS="$(STAGE3_TFLAGS)" \
31122 $(TARGET-stage3-function_reordering_plugin)
31124 maybe-clean-stage3-function_reordering_plugin: clean-stage3-function_reordering_plugin
31125 clean-stage3: clean-stage3-function_reordering_plugin
31126 clean-stage3-function_reordering_plugin:
31127 @if [ $(current_stage) = stage3 ]; then \
31128 [ -f $(HOST_SUBDIR)/function_reordering_plugin/Makefile ] || exit 0; \
31129 else \
31130 [ -f $(HOST_SUBDIR)/stage3-function_reordering_plugin/Makefile ] || exit 0; \
31131 $(MAKE) stage3-start; \
31132 fi; \
31133 cd $(HOST_SUBDIR)/function_reordering_plugin && \
31134 $(MAKE) $(EXTRA_HOST_FLAGS) \
31135 $(POSTSTAGE1_FLAGS_TO_PASS) \
31136 clean
31137 @endif function_reordering_plugin-bootstrap
31140 .PHONY: all-stage4-function_reordering_plugin maybe-all-stage4-function_reordering_plugin
31141 .PHONY: clean-stage4-function_reordering_plugin maybe-clean-stage4-function_reordering_plugin
31142 maybe-all-stage4-function_reordering_plugin:
31143 maybe-clean-stage4-function_reordering_plugin:
31144 @if function_reordering_plugin-bootstrap
31145 maybe-all-stage4-function_reordering_plugin: all-stage4-function_reordering_plugin
31146 all-stage4: all-stage4-function_reordering_plugin
31147 TARGET-stage4-function_reordering_plugin = $(TARGET-function_reordering_plugin)
31148 all-stage4-function_reordering_plugin: configure-stage4-function_reordering_plugin
31149 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
31150 @r=`${PWD_COMMAND}`; export r; \
31151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31152 TFLAGS="$(STAGE4_TFLAGS)"; \
31153 $(HOST_EXPORTS) \
31154 $(POSTSTAGE1_HOST_EXPORTS) \
31155 cd $(HOST_SUBDIR)/function_reordering_plugin && \
31156 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31157 CFLAGS="$(STAGE4_CFLAGS)" \
31158 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
31159 LIBCFLAGS="$(STAGE4_CFLAGS)" \
31160 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31161 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31162 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31163 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
31164 TFLAGS="$(STAGE4_TFLAGS)" \
31165 $(TARGET-stage4-function_reordering_plugin)
31167 maybe-clean-stage4-function_reordering_plugin: clean-stage4-function_reordering_plugin
31168 clean-stage4: clean-stage4-function_reordering_plugin
31169 clean-stage4-function_reordering_plugin:
31170 @if [ $(current_stage) = stage4 ]; then \
31171 [ -f $(HOST_SUBDIR)/function_reordering_plugin/Makefile ] || exit 0; \
31172 else \
31173 [ -f $(HOST_SUBDIR)/stage4-function_reordering_plugin/Makefile ] || exit 0; \
31174 $(MAKE) stage4-start; \
31175 fi; \
31176 cd $(HOST_SUBDIR)/function_reordering_plugin && \
31177 $(MAKE) $(EXTRA_HOST_FLAGS) \
31178 $(POSTSTAGE1_FLAGS_TO_PASS) \
31179 clean
31180 @endif function_reordering_plugin-bootstrap
31183 .PHONY: all-stageprofile-function_reordering_plugin maybe-all-stageprofile-function_reordering_plugin
31184 .PHONY: clean-stageprofile-function_reordering_plugin maybe-clean-stageprofile-function_reordering_plugin
31185 maybe-all-stageprofile-function_reordering_plugin:
31186 maybe-clean-stageprofile-function_reordering_plugin:
31187 @if function_reordering_plugin-bootstrap
31188 maybe-all-stageprofile-function_reordering_plugin: all-stageprofile-function_reordering_plugin
31189 all-stageprofile: all-stageprofile-function_reordering_plugin
31190 TARGET-stageprofile-function_reordering_plugin = $(TARGET-function_reordering_plugin)
31191 all-stageprofile-function_reordering_plugin: configure-stageprofile-function_reordering_plugin
31192 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
31193 @r=`${PWD_COMMAND}`; export r; \
31194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31195 TFLAGS="$(STAGEprofile_TFLAGS)"; \
31196 $(HOST_EXPORTS) \
31197 $(POSTSTAGE1_HOST_EXPORTS) \
31198 cd $(HOST_SUBDIR)/function_reordering_plugin && \
31199 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31200 CFLAGS="$(STAGEprofile_CFLAGS)" \
31201 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
31202 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
31203 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31204 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31205 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31206 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
31207 TFLAGS="$(STAGEprofile_TFLAGS)" \
31208 $(TARGET-stageprofile-function_reordering_plugin)
31210 maybe-clean-stageprofile-function_reordering_plugin: clean-stageprofile-function_reordering_plugin
31211 clean-stageprofile: clean-stageprofile-function_reordering_plugin
31212 clean-stageprofile-function_reordering_plugin:
31213 @if [ $(current_stage) = stageprofile ]; then \
31214 [ -f $(HOST_SUBDIR)/function_reordering_plugin/Makefile ] || exit 0; \
31215 else \
31216 [ -f $(HOST_SUBDIR)/stageprofile-function_reordering_plugin/Makefile ] || exit 0; \
31217 $(MAKE) stageprofile-start; \
31218 fi; \
31219 cd $(HOST_SUBDIR)/function_reordering_plugin && \
31220 $(MAKE) $(EXTRA_HOST_FLAGS) \
31221 $(POSTSTAGE1_FLAGS_TO_PASS) \
31222 clean
31223 @endif function_reordering_plugin-bootstrap
31226 .PHONY: all-stagefeedback-function_reordering_plugin maybe-all-stagefeedback-function_reordering_plugin
31227 .PHONY: clean-stagefeedback-function_reordering_plugin maybe-clean-stagefeedback-function_reordering_plugin
31228 maybe-all-stagefeedback-function_reordering_plugin:
31229 maybe-clean-stagefeedback-function_reordering_plugin:
31230 @if function_reordering_plugin-bootstrap
31231 maybe-all-stagefeedback-function_reordering_plugin: all-stagefeedback-function_reordering_plugin
31232 all-stagefeedback: all-stagefeedback-function_reordering_plugin
31233 TARGET-stagefeedback-function_reordering_plugin = $(TARGET-function_reordering_plugin)
31234 all-stagefeedback-function_reordering_plugin: configure-stagefeedback-function_reordering_plugin
31235 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
31236 @r=`${PWD_COMMAND}`; export r; \
31237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31238 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
31239 $(HOST_EXPORTS) \
31240 $(POSTSTAGE1_HOST_EXPORTS) \
31241 cd $(HOST_SUBDIR)/function_reordering_plugin && \
31242 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31243 CFLAGS="$(STAGEfeedback_CFLAGS)" \
31244 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
31245 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
31246 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31247 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31248 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31249 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
31250 TFLAGS="$(STAGEfeedback_TFLAGS)" \
31251 $(TARGET-stagefeedback-function_reordering_plugin)
31253 maybe-clean-stagefeedback-function_reordering_plugin: clean-stagefeedback-function_reordering_plugin
31254 clean-stagefeedback: clean-stagefeedback-function_reordering_plugin
31255 clean-stagefeedback-function_reordering_plugin:
31256 @if [ $(current_stage) = stagefeedback ]; then \
31257 [ -f $(HOST_SUBDIR)/function_reordering_plugin/Makefile ] || exit 0; \
31258 else \
31259 [ -f $(HOST_SUBDIR)/stagefeedback-function_reordering_plugin/Makefile ] || exit 0; \
31260 $(MAKE) stagefeedback-start; \
31261 fi; \
31262 cd $(HOST_SUBDIR)/function_reordering_plugin && \
31263 $(MAKE) $(EXTRA_HOST_FLAGS) \
31264 $(POSTSTAGE1_FLAGS_TO_PASS) \
31265 clean
31266 @endif function_reordering_plugin-bootstrap
31272 .PHONY: check-function_reordering_plugin maybe-check-function_reordering_plugin
31273 maybe-check-function_reordering_plugin:
31274 @if function_reordering_plugin
31275 maybe-check-function_reordering_plugin: check-function_reordering_plugin
31277 check-function_reordering_plugin:
31278 @: $(MAKE); $(unstage)
31279 @r=`${PWD_COMMAND}`; export r; \
31280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31281 $(HOST_EXPORTS) \
31282 (cd $(HOST_SUBDIR)/function_reordering_plugin && \
31283 $(MAKE) $(FLAGS_TO_PASS) check)
31285 @endif function_reordering_plugin
31287 .PHONY: install-function_reordering_plugin maybe-install-function_reordering_plugin
31288 maybe-install-function_reordering_plugin:
31289 @if function_reordering_plugin
31290 maybe-install-function_reordering_plugin: install-function_reordering_plugin
31292 install-function_reordering_plugin: installdirs
31293 @: $(MAKE); $(unstage)
31294 @r=`${PWD_COMMAND}`; export r; \
31295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31296 $(HOST_EXPORTS) \
31297 (cd $(HOST_SUBDIR)/function_reordering_plugin && \
31298 $(MAKE) $(FLAGS_TO_PASS) install)
31300 @endif function_reordering_plugin
31302 .PHONY: install-strip-function_reordering_plugin maybe-install-strip-function_reordering_plugin
31303 maybe-install-strip-function_reordering_plugin:
31304 @if function_reordering_plugin
31305 maybe-install-strip-function_reordering_plugin: install-strip-function_reordering_plugin
31307 install-strip-function_reordering_plugin: installdirs
31308 @: $(MAKE); $(unstage)
31309 @r=`${PWD_COMMAND}`; export r; \
31310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31311 $(HOST_EXPORTS) \
31312 (cd $(HOST_SUBDIR)/function_reordering_plugin && \
31313 $(MAKE) $(FLAGS_TO_PASS) install-strip)
31315 @endif function_reordering_plugin
31317 # Other targets (info, dvi, pdf, etc.)
31319 .PHONY: maybe-info-function_reordering_plugin info-function_reordering_plugin
31320 maybe-info-function_reordering_plugin:
31321 @if function_reordering_plugin
31322 maybe-info-function_reordering_plugin: info-function_reordering_plugin
31324 info-function_reordering_plugin: \
31325 configure-function_reordering_plugin
31326 @[ -f ./function_reordering_plugin/Makefile ] || exit 0; \
31327 r=`${PWD_COMMAND}`; export r; \
31328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31329 $(HOST_EXPORTS) \
31330 for flag in $(EXTRA_HOST_FLAGS) ; do \
31331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31332 done; \
31333 echo "Doing info in function_reordering_plugin" ; \
31334 (cd $(HOST_SUBDIR)/function_reordering_plugin && \
31335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31337 "RANLIB=$${RANLIB}" \
31338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31339 info) \
31340 || exit 1
31342 @endif function_reordering_plugin
31344 .PHONY: maybe-dvi-function_reordering_plugin dvi-function_reordering_plugin
31345 maybe-dvi-function_reordering_plugin:
31346 @if function_reordering_plugin
31347 maybe-dvi-function_reordering_plugin: dvi-function_reordering_plugin
31349 dvi-function_reordering_plugin: \
31350 configure-function_reordering_plugin
31351 @[ -f ./function_reordering_plugin/Makefile ] || exit 0; \
31352 r=`${PWD_COMMAND}`; export r; \
31353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31354 $(HOST_EXPORTS) \
31355 for flag in $(EXTRA_HOST_FLAGS) ; do \
31356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31357 done; \
31358 echo "Doing dvi in function_reordering_plugin" ; \
31359 (cd $(HOST_SUBDIR)/function_reordering_plugin && \
31360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31362 "RANLIB=$${RANLIB}" \
31363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31364 dvi) \
31365 || exit 1
31367 @endif function_reordering_plugin
31369 .PHONY: maybe-pdf-function_reordering_plugin pdf-function_reordering_plugin
31370 maybe-pdf-function_reordering_plugin:
31371 @if function_reordering_plugin
31372 maybe-pdf-function_reordering_plugin: pdf-function_reordering_plugin
31374 pdf-function_reordering_plugin: \
31375 configure-function_reordering_plugin
31376 @[ -f ./function_reordering_plugin/Makefile ] || exit 0; \
31377 r=`${PWD_COMMAND}`; export r; \
31378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31379 $(HOST_EXPORTS) \
31380 for flag in $(EXTRA_HOST_FLAGS) ; do \
31381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31382 done; \
31383 echo "Doing pdf in function_reordering_plugin" ; \
31384 (cd $(HOST_SUBDIR)/function_reordering_plugin && \
31385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31387 "RANLIB=$${RANLIB}" \
31388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31389 pdf) \
31390 || exit 1
31392 @endif function_reordering_plugin
31394 .PHONY: maybe-html-function_reordering_plugin html-function_reordering_plugin
31395 maybe-html-function_reordering_plugin:
31396 @if function_reordering_plugin
31397 maybe-html-function_reordering_plugin: html-function_reordering_plugin
31399 html-function_reordering_plugin: \
31400 configure-function_reordering_plugin
31401 @[ -f ./function_reordering_plugin/Makefile ] || exit 0; \
31402 r=`${PWD_COMMAND}`; export r; \
31403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31404 $(HOST_EXPORTS) \
31405 for flag in $(EXTRA_HOST_FLAGS) ; do \
31406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31407 done; \
31408 echo "Doing html in function_reordering_plugin" ; \
31409 (cd $(HOST_SUBDIR)/function_reordering_plugin && \
31410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31412 "RANLIB=$${RANLIB}" \
31413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31414 html) \
31415 || exit 1
31417 @endif function_reordering_plugin
31419 .PHONY: maybe-TAGS-function_reordering_plugin TAGS-function_reordering_plugin
31420 maybe-TAGS-function_reordering_plugin:
31421 @if function_reordering_plugin
31422 maybe-TAGS-function_reordering_plugin: TAGS-function_reordering_plugin
31424 TAGS-function_reordering_plugin: \
31425 configure-function_reordering_plugin
31426 @[ -f ./function_reordering_plugin/Makefile ] || exit 0; \
31427 r=`${PWD_COMMAND}`; export r; \
31428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31429 $(HOST_EXPORTS) \
31430 for flag in $(EXTRA_HOST_FLAGS) ; do \
31431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31432 done; \
31433 echo "Doing TAGS in function_reordering_plugin" ; \
31434 (cd $(HOST_SUBDIR)/function_reordering_plugin && \
31435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31437 "RANLIB=$${RANLIB}" \
31438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31439 TAGS) \
31440 || exit 1
31442 @endif function_reordering_plugin
31444 .PHONY: maybe-install-info-function_reordering_plugin install-info-function_reordering_plugin
31445 maybe-install-info-function_reordering_plugin:
31446 @if function_reordering_plugin
31447 maybe-install-info-function_reordering_plugin: install-info-function_reordering_plugin
31449 install-info-function_reordering_plugin: \
31450 configure-function_reordering_plugin \
31451 info-function_reordering_plugin
31452 @[ -f ./function_reordering_plugin/Makefile ] || exit 0; \
31453 r=`${PWD_COMMAND}`; export r; \
31454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31455 $(HOST_EXPORTS) \
31456 for flag in $(EXTRA_HOST_FLAGS) ; do \
31457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31458 done; \
31459 echo "Doing install-info in function_reordering_plugin" ; \
31460 (cd $(HOST_SUBDIR)/function_reordering_plugin && \
31461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31463 "RANLIB=$${RANLIB}" \
31464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31465 install-info) \
31466 || exit 1
31468 @endif function_reordering_plugin
31470 .PHONY: maybe-install-pdf-function_reordering_plugin install-pdf-function_reordering_plugin
31471 maybe-install-pdf-function_reordering_plugin:
31472 @if function_reordering_plugin
31473 maybe-install-pdf-function_reordering_plugin: install-pdf-function_reordering_plugin
31475 install-pdf-function_reordering_plugin: \
31476 configure-function_reordering_plugin \
31477 pdf-function_reordering_plugin
31478 @[ -f ./function_reordering_plugin/Makefile ] || exit 0; \
31479 r=`${PWD_COMMAND}`; export r; \
31480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31481 $(HOST_EXPORTS) \
31482 for flag in $(EXTRA_HOST_FLAGS) ; do \
31483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31484 done; \
31485 echo "Doing install-pdf in function_reordering_plugin" ; \
31486 (cd $(HOST_SUBDIR)/function_reordering_plugin && \
31487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31489 "RANLIB=$${RANLIB}" \
31490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31491 install-pdf) \
31492 || exit 1
31494 @endif function_reordering_plugin
31496 .PHONY: maybe-install-html-function_reordering_plugin install-html-function_reordering_plugin
31497 maybe-install-html-function_reordering_plugin:
31498 @if function_reordering_plugin
31499 maybe-install-html-function_reordering_plugin: install-html-function_reordering_plugin
31501 install-html-function_reordering_plugin: \
31502 configure-function_reordering_plugin \
31503 html-function_reordering_plugin
31504 @[ -f ./function_reordering_plugin/Makefile ] || exit 0; \
31505 r=`${PWD_COMMAND}`; export r; \
31506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31507 $(HOST_EXPORTS) \
31508 for flag in $(EXTRA_HOST_FLAGS) ; do \
31509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31510 done; \
31511 echo "Doing install-html in function_reordering_plugin" ; \
31512 (cd $(HOST_SUBDIR)/function_reordering_plugin && \
31513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31515 "RANLIB=$${RANLIB}" \
31516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31517 install-html) \
31518 || exit 1
31520 @endif function_reordering_plugin
31522 .PHONY: maybe-installcheck-function_reordering_plugin installcheck-function_reordering_plugin
31523 maybe-installcheck-function_reordering_plugin:
31524 @if function_reordering_plugin
31525 maybe-installcheck-function_reordering_plugin: installcheck-function_reordering_plugin
31527 installcheck-function_reordering_plugin: \
31528 configure-function_reordering_plugin
31529 @[ -f ./function_reordering_plugin/Makefile ] || exit 0; \
31530 r=`${PWD_COMMAND}`; export r; \
31531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31532 $(HOST_EXPORTS) \
31533 for flag in $(EXTRA_HOST_FLAGS) ; do \
31534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31535 done; \
31536 echo "Doing installcheck in function_reordering_plugin" ; \
31537 (cd $(HOST_SUBDIR)/function_reordering_plugin && \
31538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31540 "RANLIB=$${RANLIB}" \
31541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31542 installcheck) \
31543 || exit 1
31545 @endif function_reordering_plugin
31547 .PHONY: maybe-mostlyclean-function_reordering_plugin mostlyclean-function_reordering_plugin
31548 maybe-mostlyclean-function_reordering_plugin:
31549 @if function_reordering_plugin
31550 maybe-mostlyclean-function_reordering_plugin: mostlyclean-function_reordering_plugin
31552 mostlyclean-function_reordering_plugin:
31553 @[ -f ./function_reordering_plugin/Makefile ] || exit 0; \
31554 r=`${PWD_COMMAND}`; export r; \
31555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31556 $(HOST_EXPORTS) \
31557 for flag in $(EXTRA_HOST_FLAGS) ; do \
31558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31559 done; \
31560 echo "Doing mostlyclean in function_reordering_plugin" ; \
31561 (cd $(HOST_SUBDIR)/function_reordering_plugin && \
31562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31564 "RANLIB=$${RANLIB}" \
31565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31566 mostlyclean) \
31567 || exit 1
31569 @endif function_reordering_plugin
31571 .PHONY: maybe-clean-function_reordering_plugin clean-function_reordering_plugin
31572 maybe-clean-function_reordering_plugin:
31573 @if function_reordering_plugin
31574 maybe-clean-function_reordering_plugin: clean-function_reordering_plugin
31576 clean-function_reordering_plugin:
31577 @[ -f ./function_reordering_plugin/Makefile ] || exit 0; \
31578 r=`${PWD_COMMAND}`; export r; \
31579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31580 $(HOST_EXPORTS) \
31581 for flag in $(EXTRA_HOST_FLAGS) ; do \
31582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31583 done; \
31584 echo "Doing clean in function_reordering_plugin" ; \
31585 (cd $(HOST_SUBDIR)/function_reordering_plugin && \
31586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31588 "RANLIB=$${RANLIB}" \
31589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31590 clean) \
31591 || exit 1
31593 @endif function_reordering_plugin
31595 .PHONY: maybe-distclean-function_reordering_plugin distclean-function_reordering_plugin
31596 maybe-distclean-function_reordering_plugin:
31597 @if function_reordering_plugin
31598 maybe-distclean-function_reordering_plugin: distclean-function_reordering_plugin
31600 distclean-function_reordering_plugin:
31601 @[ -f ./function_reordering_plugin/Makefile ] || exit 0; \
31602 r=`${PWD_COMMAND}`; export r; \
31603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31604 $(HOST_EXPORTS) \
31605 for flag in $(EXTRA_HOST_FLAGS) ; do \
31606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31607 done; \
31608 echo "Doing distclean in function_reordering_plugin" ; \
31609 (cd $(HOST_SUBDIR)/function_reordering_plugin && \
31610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31612 "RANLIB=$${RANLIB}" \
31613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31614 distclean) \
31615 || exit 1
31617 @endif function_reordering_plugin
31619 .PHONY: maybe-maintainer-clean-function_reordering_plugin maintainer-clean-function_reordering_plugin
31620 maybe-maintainer-clean-function_reordering_plugin:
31621 @if function_reordering_plugin
31622 maybe-maintainer-clean-function_reordering_plugin: maintainer-clean-function_reordering_plugin
31624 maintainer-clean-function_reordering_plugin:
31625 @[ -f ./function_reordering_plugin/Makefile ] || exit 0; \
31626 r=`${PWD_COMMAND}`; export r; \
31627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31628 $(HOST_EXPORTS) \
31629 for flag in $(EXTRA_HOST_FLAGS) ; do \
31630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31631 done; \
31632 echo "Doing maintainer-clean in function_reordering_plugin" ; \
31633 (cd $(HOST_SUBDIR)/function_reordering_plugin && \
31634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31636 "RANLIB=$${RANLIB}" \
31637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31638 maintainer-clean) \
31639 || exit 1
31641 @endif function_reordering_plugin
31645 # ---------------------------------------
31646 # Modules which run on the target machine
31647 # ---------------------------------------
31652 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
31653 maybe-configure-target-libstdc++-v3:
31654 @if gcc-bootstrap
31655 configure-target-libstdc++-v3: stage_current
31656 @endif gcc-bootstrap
31657 @if target-libstdc++-v3
31658 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
31659 configure-target-libstdc++-v3:
31660 @r=`${PWD_COMMAND}`; export r; \
31661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31662 echo "Checking multilib configuration for libstdc++-v3..."; \
31663 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
31664 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
31665 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31666 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31667 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
31668 else \
31669 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
31670 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31671 fi; \
31672 else \
31673 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31674 fi; \
31675 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
31676 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
31677 $(RAW_CXX_TARGET_EXPORTS) \
31678 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
31679 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
31680 case $(srcdir) in \
31681 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31682 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
31683 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31684 esac; \
31685 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
31686 libsrcdir="$$s/libstdc++-v3"; \
31687 rm -f no-such-file || : ; \
31688 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31689 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31690 --target=${target_alias} $${srcdiroption} \
31691 || exit 1
31692 @endif target-libstdc++-v3
31696 .PHONY: configure-stage1-target-libstdc++-v3 maybe-configure-stage1-target-libstdc++-v3
31697 maybe-configure-stage1-target-libstdc++-v3:
31698 @if target-libstdc++-v3-bootstrap
31699 maybe-configure-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
31700 configure-stage1-target-libstdc++-v3:
31701 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
31702 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
31703 @r=`${PWD_COMMAND}`; export r; \
31704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31705 TFLAGS="$(STAGE1_TFLAGS)"; \
31706 echo "Checking multilib configuration for libstdc++-v3..."; \
31707 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
31708 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31709 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31710 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
31711 else \
31712 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
31713 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31714 fi; \
31715 else \
31716 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31717 fi; \
31718 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
31719 $(RAW_CXX_TARGET_EXPORTS) \
31720 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
31721 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
31722 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
31723 echo Configuring stage 1 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
31724 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
31725 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
31726 case $(srcdir) in \
31727 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31728 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
31729 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31730 esac; \
31731 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
31732 libsrcdir="$$s/libstdc++-v3"; \
31733 $(SHELL) $${libsrcdir}/configure \
31734 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31735 --target=${target_alias} $${srcdiroption} \
31736 $(STAGE1_CONFIGURE_FLAGS)
31737 @endif target-libstdc++-v3-bootstrap
31739 .PHONY: configure-stage2-target-libstdc++-v3 maybe-configure-stage2-target-libstdc++-v3
31740 maybe-configure-stage2-target-libstdc++-v3:
31741 @if target-libstdc++-v3-bootstrap
31742 maybe-configure-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
31743 configure-stage2-target-libstdc++-v3:
31744 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
31745 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
31746 @r=`${PWD_COMMAND}`; export r; \
31747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31748 TFLAGS="$(STAGE2_TFLAGS)"; \
31749 echo "Checking multilib configuration for libstdc++-v3..."; \
31750 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
31751 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31752 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31753 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
31754 else \
31755 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
31756 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31757 fi; \
31758 else \
31759 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31760 fi; \
31761 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
31762 $(RAW_CXX_TARGET_EXPORTS) \
31764 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
31765 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
31766 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
31767 echo Configuring stage 2 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
31768 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
31769 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
31770 case $(srcdir) in \
31771 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31772 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
31773 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31774 esac; \
31775 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
31776 libsrcdir="$$s/libstdc++-v3"; \
31777 $(SHELL) $${libsrcdir}/configure \
31778 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31779 --target=${target_alias} $${srcdiroption} \
31780 --with-build-libsubdir=$(HOST_SUBDIR) \
31781 $(STAGE2_CONFIGURE_FLAGS)
31782 @endif target-libstdc++-v3-bootstrap
31784 .PHONY: configure-stage3-target-libstdc++-v3 maybe-configure-stage3-target-libstdc++-v3
31785 maybe-configure-stage3-target-libstdc++-v3:
31786 @if target-libstdc++-v3-bootstrap
31787 maybe-configure-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
31788 configure-stage3-target-libstdc++-v3:
31789 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
31790 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
31791 @r=`${PWD_COMMAND}`; export r; \
31792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31793 TFLAGS="$(STAGE3_TFLAGS)"; \
31794 echo "Checking multilib configuration for libstdc++-v3..."; \
31795 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
31796 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31797 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31798 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
31799 else \
31800 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
31801 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31802 fi; \
31803 else \
31804 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31805 fi; \
31806 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
31807 $(RAW_CXX_TARGET_EXPORTS) \
31809 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
31810 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
31811 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
31812 echo Configuring stage 3 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
31813 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
31814 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
31815 case $(srcdir) in \
31816 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31817 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
31818 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31819 esac; \
31820 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
31821 libsrcdir="$$s/libstdc++-v3"; \
31822 $(SHELL) $${libsrcdir}/configure \
31823 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31824 --target=${target_alias} $${srcdiroption} \
31825 --with-build-libsubdir=$(HOST_SUBDIR) \
31826 $(STAGE3_CONFIGURE_FLAGS)
31827 @endif target-libstdc++-v3-bootstrap
31829 .PHONY: configure-stage4-target-libstdc++-v3 maybe-configure-stage4-target-libstdc++-v3
31830 maybe-configure-stage4-target-libstdc++-v3:
31831 @if target-libstdc++-v3-bootstrap
31832 maybe-configure-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
31833 configure-stage4-target-libstdc++-v3:
31834 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
31835 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
31836 @r=`${PWD_COMMAND}`; export r; \
31837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31838 TFLAGS="$(STAGE4_TFLAGS)"; \
31839 echo "Checking multilib configuration for libstdc++-v3..."; \
31840 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
31841 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31842 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31843 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
31844 else \
31845 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
31846 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31847 fi; \
31848 else \
31849 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31850 fi; \
31851 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
31852 $(RAW_CXX_TARGET_EXPORTS) \
31854 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
31855 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
31856 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
31857 echo Configuring stage 4 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
31858 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
31859 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
31860 case $(srcdir) in \
31861 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31862 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
31863 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31864 esac; \
31865 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
31866 libsrcdir="$$s/libstdc++-v3"; \
31867 $(SHELL) $${libsrcdir}/configure \
31868 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31869 --target=${target_alias} $${srcdiroption} \
31870 --with-build-libsubdir=$(HOST_SUBDIR) \
31871 $(STAGE4_CONFIGURE_FLAGS)
31872 @endif target-libstdc++-v3-bootstrap
31874 .PHONY: configure-stageprofile-target-libstdc++-v3 maybe-configure-stageprofile-target-libstdc++-v3
31875 maybe-configure-stageprofile-target-libstdc++-v3:
31876 @if target-libstdc++-v3-bootstrap
31877 maybe-configure-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
31878 configure-stageprofile-target-libstdc++-v3:
31879 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
31880 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
31881 @r=`${PWD_COMMAND}`; export r; \
31882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31883 TFLAGS="$(STAGEprofile_TFLAGS)"; \
31884 echo "Checking multilib configuration for libstdc++-v3..."; \
31885 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
31886 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31887 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31888 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
31889 else \
31890 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
31891 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31892 fi; \
31893 else \
31894 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31895 fi; \
31896 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
31897 $(RAW_CXX_TARGET_EXPORTS) \
31899 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
31900 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
31901 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
31902 echo Configuring stage profile in $(TARGET_SUBDIR)/libstdc++-v3 ; \
31903 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
31904 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
31905 case $(srcdir) in \
31906 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31907 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
31908 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31909 esac; \
31910 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
31911 libsrcdir="$$s/libstdc++-v3"; \
31912 $(SHELL) $${libsrcdir}/configure \
31913 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31914 --target=${target_alias} $${srcdiroption} \
31915 --with-build-libsubdir=$(HOST_SUBDIR) \
31916 $(STAGEprofile_CONFIGURE_FLAGS)
31917 @endif target-libstdc++-v3-bootstrap
31919 .PHONY: configure-stagefeedback-target-libstdc++-v3 maybe-configure-stagefeedback-target-libstdc++-v3
31920 maybe-configure-stagefeedback-target-libstdc++-v3:
31921 @if target-libstdc++-v3-bootstrap
31922 maybe-configure-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
31923 configure-stagefeedback-target-libstdc++-v3:
31924 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
31925 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
31926 @r=`${PWD_COMMAND}`; export r; \
31927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31928 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
31929 echo "Checking multilib configuration for libstdc++-v3..."; \
31930 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
31931 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31932 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31933 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
31934 else \
31935 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
31936 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31937 fi; \
31938 else \
31939 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31940 fi; \
31941 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
31942 $(RAW_CXX_TARGET_EXPORTS) \
31944 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
31945 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
31946 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
31947 echo Configuring stage feedback in $(TARGET_SUBDIR)/libstdc++-v3 ; \
31948 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
31949 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
31950 case $(srcdir) in \
31951 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31952 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
31953 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31954 esac; \
31955 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
31956 libsrcdir="$$s/libstdc++-v3"; \
31957 $(SHELL) $${libsrcdir}/configure \
31958 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31959 --target=${target_alias} $${srcdiroption} \
31960 --with-build-libsubdir=$(HOST_SUBDIR) \
31961 $(STAGEfeedback_CONFIGURE_FLAGS)
31962 @endif target-libstdc++-v3-bootstrap
31968 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
31969 maybe-all-target-libstdc++-v3:
31970 @if gcc-bootstrap
31971 all-target-libstdc++-v3: stage_current
31972 @endif gcc-bootstrap
31973 @if target-libstdc++-v3
31974 TARGET-target-libstdc++-v3=all
31975 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
31976 all-target-libstdc++-v3: configure-target-libstdc++-v3
31977 @r=`${PWD_COMMAND}`; export r; \
31978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31979 $(RAW_CXX_TARGET_EXPORTS) \
31980 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31981 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31982 $(TARGET-target-libstdc++-v3))
31983 @endif target-libstdc++-v3
31987 .PHONY: all-stage1-target-libstdc++-v3 maybe-all-stage1-target-libstdc++-v3
31988 .PHONY: clean-stage1-target-libstdc++-v3 maybe-clean-stage1-target-libstdc++-v3
31989 maybe-all-stage1-target-libstdc++-v3:
31990 maybe-clean-stage1-target-libstdc++-v3:
31991 @if target-libstdc++-v3-bootstrap
31992 maybe-all-stage1-target-libstdc++-v3: all-stage1-target-libstdc++-v3
31993 all-stage1: all-stage1-target-libstdc++-v3
31994 TARGET-stage1-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
31995 all-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
31996 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
31997 @r=`${PWD_COMMAND}`; export r; \
31998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31999 TFLAGS="$(STAGE1_TFLAGS)"; \
32000 $(RAW_CXX_TARGET_EXPORTS) \
32001 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32002 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32003 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32004 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32005 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32006 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32007 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32008 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32009 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32011 TFLAGS="$(STAGE1_TFLAGS)" \
32012 $(TARGET-stage1-target-libstdc++-v3)
32014 maybe-clean-stage1-target-libstdc++-v3: clean-stage1-target-libstdc++-v3
32015 clean-stage1: clean-stage1-target-libstdc++-v3
32016 clean-stage1-target-libstdc++-v3:
32017 @if [ $(current_stage) = stage1 ]; then \
32018 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32019 else \
32020 [ -f $(TARGET_SUBDIR)/stage1-libstdc++-v3/Makefile ] || exit 0; \
32021 $(MAKE) stage1-start; \
32022 fi; \
32023 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32024 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32025 clean
32026 @endif target-libstdc++-v3-bootstrap
32029 .PHONY: all-stage2-target-libstdc++-v3 maybe-all-stage2-target-libstdc++-v3
32030 .PHONY: clean-stage2-target-libstdc++-v3 maybe-clean-stage2-target-libstdc++-v3
32031 maybe-all-stage2-target-libstdc++-v3:
32032 maybe-clean-stage2-target-libstdc++-v3:
32033 @if target-libstdc++-v3-bootstrap
32034 maybe-all-stage2-target-libstdc++-v3: all-stage2-target-libstdc++-v3
32035 all-stage2: all-stage2-target-libstdc++-v3
32036 TARGET-stage2-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32037 all-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
32038 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32039 @r=`${PWD_COMMAND}`; export r; \
32040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32041 TFLAGS="$(STAGE2_TFLAGS)"; \
32042 $(RAW_CXX_TARGET_EXPORTS) \
32044 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32045 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32046 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32047 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32048 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32049 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32050 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32051 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32052 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32053 TFLAGS="$(STAGE2_TFLAGS)" \
32054 $(TARGET-stage2-target-libstdc++-v3)
32056 maybe-clean-stage2-target-libstdc++-v3: clean-stage2-target-libstdc++-v3
32057 clean-stage2: clean-stage2-target-libstdc++-v3
32058 clean-stage2-target-libstdc++-v3:
32059 @if [ $(current_stage) = stage2 ]; then \
32060 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32061 else \
32062 [ -f $(TARGET_SUBDIR)/stage2-libstdc++-v3/Makefile ] || exit 0; \
32063 $(MAKE) stage2-start; \
32064 fi; \
32065 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32066 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32067 @endif target-libstdc++-v3-bootstrap
32070 .PHONY: all-stage3-target-libstdc++-v3 maybe-all-stage3-target-libstdc++-v3
32071 .PHONY: clean-stage3-target-libstdc++-v3 maybe-clean-stage3-target-libstdc++-v3
32072 maybe-all-stage3-target-libstdc++-v3:
32073 maybe-clean-stage3-target-libstdc++-v3:
32074 @if target-libstdc++-v3-bootstrap
32075 maybe-all-stage3-target-libstdc++-v3: all-stage3-target-libstdc++-v3
32076 all-stage3: all-stage3-target-libstdc++-v3
32077 TARGET-stage3-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32078 all-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
32079 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32080 @r=`${PWD_COMMAND}`; export r; \
32081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32082 TFLAGS="$(STAGE3_TFLAGS)"; \
32083 $(RAW_CXX_TARGET_EXPORTS) \
32085 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32086 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32087 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32088 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32089 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32090 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32091 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32092 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32093 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32094 TFLAGS="$(STAGE3_TFLAGS)" \
32095 $(TARGET-stage3-target-libstdc++-v3)
32097 maybe-clean-stage3-target-libstdc++-v3: clean-stage3-target-libstdc++-v3
32098 clean-stage3: clean-stage3-target-libstdc++-v3
32099 clean-stage3-target-libstdc++-v3:
32100 @if [ $(current_stage) = stage3 ]; then \
32101 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32102 else \
32103 [ -f $(TARGET_SUBDIR)/stage3-libstdc++-v3/Makefile ] || exit 0; \
32104 $(MAKE) stage3-start; \
32105 fi; \
32106 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32107 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32108 @endif target-libstdc++-v3-bootstrap
32111 .PHONY: all-stage4-target-libstdc++-v3 maybe-all-stage4-target-libstdc++-v3
32112 .PHONY: clean-stage4-target-libstdc++-v3 maybe-clean-stage4-target-libstdc++-v3
32113 maybe-all-stage4-target-libstdc++-v3:
32114 maybe-clean-stage4-target-libstdc++-v3:
32115 @if target-libstdc++-v3-bootstrap
32116 maybe-all-stage4-target-libstdc++-v3: all-stage4-target-libstdc++-v3
32117 all-stage4: all-stage4-target-libstdc++-v3
32118 TARGET-stage4-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32119 all-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
32120 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32121 @r=`${PWD_COMMAND}`; export r; \
32122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32123 TFLAGS="$(STAGE4_TFLAGS)"; \
32124 $(RAW_CXX_TARGET_EXPORTS) \
32126 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32127 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32128 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32129 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32130 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32131 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32132 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32133 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32134 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32135 TFLAGS="$(STAGE4_TFLAGS)" \
32136 $(TARGET-stage4-target-libstdc++-v3)
32138 maybe-clean-stage4-target-libstdc++-v3: clean-stage4-target-libstdc++-v3
32139 clean-stage4: clean-stage4-target-libstdc++-v3
32140 clean-stage4-target-libstdc++-v3:
32141 @if [ $(current_stage) = stage4 ]; then \
32142 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32143 else \
32144 [ -f $(TARGET_SUBDIR)/stage4-libstdc++-v3/Makefile ] || exit 0; \
32145 $(MAKE) stage4-start; \
32146 fi; \
32147 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32148 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32149 @endif target-libstdc++-v3-bootstrap
32152 .PHONY: all-stageprofile-target-libstdc++-v3 maybe-all-stageprofile-target-libstdc++-v3
32153 .PHONY: clean-stageprofile-target-libstdc++-v3 maybe-clean-stageprofile-target-libstdc++-v3
32154 maybe-all-stageprofile-target-libstdc++-v3:
32155 maybe-clean-stageprofile-target-libstdc++-v3:
32156 @if target-libstdc++-v3-bootstrap
32157 maybe-all-stageprofile-target-libstdc++-v3: all-stageprofile-target-libstdc++-v3
32158 all-stageprofile: all-stageprofile-target-libstdc++-v3
32159 TARGET-stageprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32160 all-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
32161 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32162 @r=`${PWD_COMMAND}`; export r; \
32163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32164 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32165 $(RAW_CXX_TARGET_EXPORTS) \
32167 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32168 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32169 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32170 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32171 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32172 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32173 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32174 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32175 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32176 TFLAGS="$(STAGEprofile_TFLAGS)" \
32177 $(TARGET-stageprofile-target-libstdc++-v3)
32179 maybe-clean-stageprofile-target-libstdc++-v3: clean-stageprofile-target-libstdc++-v3
32180 clean-stageprofile: clean-stageprofile-target-libstdc++-v3
32181 clean-stageprofile-target-libstdc++-v3:
32182 @if [ $(current_stage) = stageprofile ]; then \
32183 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32184 else \
32185 [ -f $(TARGET_SUBDIR)/stageprofile-libstdc++-v3/Makefile ] || exit 0; \
32186 $(MAKE) stageprofile-start; \
32187 fi; \
32188 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32189 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32190 @endif target-libstdc++-v3-bootstrap
32193 .PHONY: all-stagefeedback-target-libstdc++-v3 maybe-all-stagefeedback-target-libstdc++-v3
32194 .PHONY: clean-stagefeedback-target-libstdc++-v3 maybe-clean-stagefeedback-target-libstdc++-v3
32195 maybe-all-stagefeedback-target-libstdc++-v3:
32196 maybe-clean-stagefeedback-target-libstdc++-v3:
32197 @if target-libstdc++-v3-bootstrap
32198 maybe-all-stagefeedback-target-libstdc++-v3: all-stagefeedback-target-libstdc++-v3
32199 all-stagefeedback: all-stagefeedback-target-libstdc++-v3
32200 TARGET-stagefeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32201 all-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
32202 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32203 @r=`${PWD_COMMAND}`; export r; \
32204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32205 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32206 $(RAW_CXX_TARGET_EXPORTS) \
32208 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32209 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32210 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32211 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32212 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32213 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32214 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32215 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32216 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32217 TFLAGS="$(STAGEfeedback_TFLAGS)" \
32218 $(TARGET-stagefeedback-target-libstdc++-v3)
32220 maybe-clean-stagefeedback-target-libstdc++-v3: clean-stagefeedback-target-libstdc++-v3
32221 clean-stagefeedback: clean-stagefeedback-target-libstdc++-v3
32222 clean-stagefeedback-target-libstdc++-v3:
32223 @if [ $(current_stage) = stagefeedback ]; then \
32224 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32225 else \
32226 [ -f $(TARGET_SUBDIR)/stagefeedback-libstdc++-v3/Makefile ] || exit 0; \
32227 $(MAKE) stagefeedback-start; \
32228 fi; \
32229 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32230 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32231 @endif target-libstdc++-v3-bootstrap
32238 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
32239 maybe-check-target-libstdc++-v3:
32240 @if target-libstdc++-v3
32241 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
32243 check-target-libstdc++-v3:
32244 @: $(MAKE); $(unstage)
32245 @r=`${PWD_COMMAND}`; export r; \
32246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32247 $(RAW_CXX_TARGET_EXPORTS) \
32248 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32249 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
32251 @endif target-libstdc++-v3
32253 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
32254 maybe-install-target-libstdc++-v3:
32255 @if target-libstdc++-v3
32256 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
32258 install-target-libstdc++-v3: installdirs
32259 @: $(MAKE); $(unstage)
32260 @r=`${PWD_COMMAND}`; export r; \
32261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32262 $(RAW_CXX_TARGET_EXPORTS) \
32263 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32264 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32266 @endif target-libstdc++-v3
32268 .PHONY: install-strip-target-libstdc++-v3 maybe-install-strip-target-libstdc++-v3
32269 maybe-install-strip-target-libstdc++-v3:
32270 @if target-libstdc++-v3
32271 maybe-install-strip-target-libstdc++-v3: install-strip-target-libstdc++-v3
32273 install-strip-target-libstdc++-v3: installdirs
32274 @: $(MAKE); $(unstage)
32275 @r=`${PWD_COMMAND}`; export r; \
32276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32277 $(RAW_CXX_TARGET_EXPORTS) \
32278 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32279 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
32281 @endif target-libstdc++-v3
32283 # Other targets (info, dvi, pdf, etc.)
32285 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
32286 maybe-info-target-libstdc++-v3:
32287 @if target-libstdc++-v3
32288 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
32290 info-target-libstdc++-v3: \
32291 configure-target-libstdc++-v3
32292 @: $(MAKE); $(unstage)
32293 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32294 r=`${PWD_COMMAND}`; export r; \
32295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32296 $(RAW_CXX_TARGET_EXPORTS) \
32297 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32298 for flag in $(EXTRA_TARGET_FLAGS); do \
32299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32300 done; \
32301 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32304 "RANLIB=$${RANLIB}" \
32305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32306 info) \
32307 || exit 1
32309 @endif target-libstdc++-v3
32311 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
32312 maybe-dvi-target-libstdc++-v3:
32313 @if target-libstdc++-v3
32314 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
32316 dvi-target-libstdc++-v3: \
32317 configure-target-libstdc++-v3
32318 @: $(MAKE); $(unstage)
32319 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32320 r=`${PWD_COMMAND}`; export r; \
32321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32322 $(RAW_CXX_TARGET_EXPORTS) \
32323 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32324 for flag in $(EXTRA_TARGET_FLAGS); do \
32325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32326 done; \
32327 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32330 "RANLIB=$${RANLIB}" \
32331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32332 dvi) \
32333 || exit 1
32335 @endif target-libstdc++-v3
32337 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
32338 maybe-pdf-target-libstdc++-v3:
32339 @if target-libstdc++-v3
32340 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
32342 pdf-target-libstdc++-v3: \
32343 configure-target-libstdc++-v3
32344 @: $(MAKE); $(unstage)
32345 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32346 r=`${PWD_COMMAND}`; export r; \
32347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32348 $(RAW_CXX_TARGET_EXPORTS) \
32349 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32350 for flag in $(EXTRA_TARGET_FLAGS); do \
32351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32352 done; \
32353 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32356 "RANLIB=$${RANLIB}" \
32357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32358 pdf) \
32359 || exit 1
32361 @endif target-libstdc++-v3
32363 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
32364 maybe-html-target-libstdc++-v3:
32365 @if target-libstdc++-v3
32366 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
32368 html-target-libstdc++-v3: \
32369 configure-target-libstdc++-v3
32370 @: $(MAKE); $(unstage)
32371 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32372 r=`${PWD_COMMAND}`; export r; \
32373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32374 $(RAW_CXX_TARGET_EXPORTS) \
32375 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32376 for flag in $(EXTRA_TARGET_FLAGS); do \
32377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32378 done; \
32379 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32382 "RANLIB=$${RANLIB}" \
32383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32384 html) \
32385 || exit 1
32387 @endif target-libstdc++-v3
32389 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
32390 maybe-TAGS-target-libstdc++-v3:
32391 @if target-libstdc++-v3
32392 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
32394 TAGS-target-libstdc++-v3: \
32395 configure-target-libstdc++-v3
32396 @: $(MAKE); $(unstage)
32397 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32398 r=`${PWD_COMMAND}`; export r; \
32399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32400 $(RAW_CXX_TARGET_EXPORTS) \
32401 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32402 for flag in $(EXTRA_TARGET_FLAGS); do \
32403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32404 done; \
32405 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32408 "RANLIB=$${RANLIB}" \
32409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32410 TAGS) \
32411 || exit 1
32413 @endif target-libstdc++-v3
32415 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
32416 maybe-install-info-target-libstdc++-v3:
32417 @if target-libstdc++-v3
32418 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
32420 install-info-target-libstdc++-v3: \
32421 configure-target-libstdc++-v3 \
32422 info-target-libstdc++-v3
32423 @: $(MAKE); $(unstage)
32424 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32425 r=`${PWD_COMMAND}`; export r; \
32426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32427 $(RAW_CXX_TARGET_EXPORTS) \
32428 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32429 for flag in $(EXTRA_TARGET_FLAGS); do \
32430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32431 done; \
32432 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32435 "RANLIB=$${RANLIB}" \
32436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32437 install-info) \
32438 || exit 1
32440 @endif target-libstdc++-v3
32442 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
32443 maybe-install-pdf-target-libstdc++-v3:
32444 @if target-libstdc++-v3
32445 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
32447 install-pdf-target-libstdc++-v3: \
32448 configure-target-libstdc++-v3 \
32449 pdf-target-libstdc++-v3
32450 @: $(MAKE); $(unstage)
32451 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32452 r=`${PWD_COMMAND}`; export r; \
32453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32454 $(RAW_CXX_TARGET_EXPORTS) \
32455 echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32456 for flag in $(EXTRA_TARGET_FLAGS); do \
32457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32458 done; \
32459 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32462 "RANLIB=$${RANLIB}" \
32463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32464 install-pdf) \
32465 || exit 1
32467 @endif target-libstdc++-v3
32469 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
32470 maybe-install-html-target-libstdc++-v3:
32471 @if target-libstdc++-v3
32472 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
32474 install-html-target-libstdc++-v3: \
32475 configure-target-libstdc++-v3 \
32476 html-target-libstdc++-v3
32477 @: $(MAKE); $(unstage)
32478 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32479 r=`${PWD_COMMAND}`; export r; \
32480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32481 $(RAW_CXX_TARGET_EXPORTS) \
32482 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32483 for flag in $(EXTRA_TARGET_FLAGS); do \
32484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32485 done; \
32486 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32489 "RANLIB=$${RANLIB}" \
32490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32491 install-html) \
32492 || exit 1
32494 @endif target-libstdc++-v3
32496 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
32497 maybe-installcheck-target-libstdc++-v3:
32498 @if target-libstdc++-v3
32499 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
32501 installcheck-target-libstdc++-v3: \
32502 configure-target-libstdc++-v3
32503 @: $(MAKE); $(unstage)
32504 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32505 r=`${PWD_COMMAND}`; export r; \
32506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32507 $(RAW_CXX_TARGET_EXPORTS) \
32508 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32509 for flag in $(EXTRA_TARGET_FLAGS); do \
32510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32511 done; \
32512 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32515 "RANLIB=$${RANLIB}" \
32516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32517 installcheck) \
32518 || exit 1
32520 @endif target-libstdc++-v3
32522 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
32523 maybe-mostlyclean-target-libstdc++-v3:
32524 @if target-libstdc++-v3
32525 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
32527 mostlyclean-target-libstdc++-v3:
32528 @: $(MAKE); $(unstage)
32529 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32530 r=`${PWD_COMMAND}`; export r; \
32531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32532 $(RAW_CXX_TARGET_EXPORTS) \
32533 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32534 for flag in $(EXTRA_TARGET_FLAGS); do \
32535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32536 done; \
32537 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32540 "RANLIB=$${RANLIB}" \
32541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32542 mostlyclean) \
32543 || exit 1
32545 @endif target-libstdc++-v3
32547 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
32548 maybe-clean-target-libstdc++-v3:
32549 @if target-libstdc++-v3
32550 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
32552 clean-target-libstdc++-v3:
32553 @: $(MAKE); $(unstage)
32554 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32555 r=`${PWD_COMMAND}`; export r; \
32556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32557 $(RAW_CXX_TARGET_EXPORTS) \
32558 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32559 for flag in $(EXTRA_TARGET_FLAGS); do \
32560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32561 done; \
32562 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32565 "RANLIB=$${RANLIB}" \
32566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32567 clean) \
32568 || exit 1
32570 @endif target-libstdc++-v3
32572 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
32573 maybe-distclean-target-libstdc++-v3:
32574 @if target-libstdc++-v3
32575 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
32577 distclean-target-libstdc++-v3:
32578 @: $(MAKE); $(unstage)
32579 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32580 r=`${PWD_COMMAND}`; export r; \
32581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32582 $(RAW_CXX_TARGET_EXPORTS) \
32583 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32584 for flag in $(EXTRA_TARGET_FLAGS); do \
32585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32586 done; \
32587 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32590 "RANLIB=$${RANLIB}" \
32591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32592 distclean) \
32593 || exit 1
32595 @endif target-libstdc++-v3
32597 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
32598 maybe-maintainer-clean-target-libstdc++-v3:
32599 @if target-libstdc++-v3
32600 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
32602 maintainer-clean-target-libstdc++-v3:
32603 @: $(MAKE); $(unstage)
32604 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32605 r=`${PWD_COMMAND}`; export r; \
32606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32607 $(RAW_CXX_TARGET_EXPORTS) \
32608 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32609 for flag in $(EXTRA_TARGET_FLAGS); do \
32610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32611 done; \
32612 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32615 "RANLIB=$${RANLIB}" \
32616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32617 maintainer-clean) \
32618 || exit 1
32620 @endif target-libstdc++-v3
32626 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
32627 maybe-configure-target-libmudflap:
32628 @if gcc-bootstrap
32629 configure-target-libmudflap: stage_current
32630 @endif gcc-bootstrap
32631 @if target-libmudflap
32632 maybe-configure-target-libmudflap: configure-target-libmudflap
32633 configure-target-libmudflap:
32634 @: $(MAKE); $(unstage)
32635 @r=`${PWD_COMMAND}`; export r; \
32636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32637 echo "Checking multilib configuration for libmudflap..."; \
32638 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
32639 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmudflap/multilib.tmp 2> /dev/null ; \
32640 if test -r $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
32641 if cmp -s $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
32642 rm -f $(TARGET_SUBDIR)/libmudflap/multilib.tmp; \
32643 else \
32644 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile; \
32645 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
32646 fi; \
32647 else \
32648 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
32649 fi; \
32650 test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
32651 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
32652 $(NORMAL_TARGET_EXPORTS) \
32653 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
32654 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
32655 case $(srcdir) in \
32656 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32657 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
32658 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32659 esac; \
32660 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
32661 libsrcdir="$$s/libmudflap"; \
32662 rm -f no-such-file || : ; \
32663 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32664 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32665 --target=${target_alias} $${srcdiroption} \
32666 || exit 1
32667 @endif target-libmudflap
32673 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
32674 maybe-all-target-libmudflap:
32675 @if gcc-bootstrap
32676 all-target-libmudflap: stage_current
32677 @endif gcc-bootstrap
32678 @if target-libmudflap
32679 TARGET-target-libmudflap=all
32680 maybe-all-target-libmudflap: all-target-libmudflap
32681 all-target-libmudflap: configure-target-libmudflap
32682 @: $(MAKE); $(unstage)
32683 @r=`${PWD_COMMAND}`; export r; \
32684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32685 $(NORMAL_TARGET_EXPORTS) \
32686 (cd $(TARGET_SUBDIR)/libmudflap && \
32687 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
32688 $(TARGET-target-libmudflap))
32689 @endif target-libmudflap
32695 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
32696 maybe-check-target-libmudflap:
32697 @if target-libmudflap
32698 maybe-check-target-libmudflap: check-target-libmudflap
32700 check-target-libmudflap:
32701 @: $(MAKE); $(unstage)
32702 @r=`${PWD_COMMAND}`; export r; \
32703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32704 $(NORMAL_TARGET_EXPORTS) \
32705 (cd $(TARGET_SUBDIR)/libmudflap && \
32706 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32708 @endif target-libmudflap
32710 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
32711 maybe-install-target-libmudflap:
32712 @if target-libmudflap
32713 maybe-install-target-libmudflap: install-target-libmudflap
32715 install-target-libmudflap: installdirs
32716 @: $(MAKE); $(unstage)
32717 @r=`${PWD_COMMAND}`; export r; \
32718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32719 $(NORMAL_TARGET_EXPORTS) \
32720 (cd $(TARGET_SUBDIR)/libmudflap && \
32721 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32723 @endif target-libmudflap
32725 .PHONY: install-strip-target-libmudflap maybe-install-strip-target-libmudflap
32726 maybe-install-strip-target-libmudflap:
32727 @if target-libmudflap
32728 maybe-install-strip-target-libmudflap: install-strip-target-libmudflap
32730 install-strip-target-libmudflap: installdirs
32731 @: $(MAKE); $(unstage)
32732 @r=`${PWD_COMMAND}`; export r; \
32733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32734 $(NORMAL_TARGET_EXPORTS) \
32735 (cd $(TARGET_SUBDIR)/libmudflap && \
32736 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
32738 @endif target-libmudflap
32740 # Other targets (info, dvi, pdf, etc.)
32742 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
32743 maybe-info-target-libmudflap:
32744 @if target-libmudflap
32745 maybe-info-target-libmudflap: info-target-libmudflap
32747 info-target-libmudflap: \
32748 configure-target-libmudflap
32749 @: $(MAKE); $(unstage)
32750 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32751 r=`${PWD_COMMAND}`; export r; \
32752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32753 $(NORMAL_TARGET_EXPORTS) \
32754 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
32755 for flag in $(EXTRA_TARGET_FLAGS); do \
32756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32757 done; \
32758 (cd $(TARGET_SUBDIR)/libmudflap && \
32759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32761 "RANLIB=$${RANLIB}" \
32762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32763 info) \
32764 || exit 1
32766 @endif target-libmudflap
32768 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
32769 maybe-dvi-target-libmudflap:
32770 @if target-libmudflap
32771 maybe-dvi-target-libmudflap: dvi-target-libmudflap
32773 dvi-target-libmudflap: \
32774 configure-target-libmudflap
32775 @: $(MAKE); $(unstage)
32776 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32777 r=`${PWD_COMMAND}`; export r; \
32778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32779 $(NORMAL_TARGET_EXPORTS) \
32780 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
32781 for flag in $(EXTRA_TARGET_FLAGS); do \
32782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32783 done; \
32784 (cd $(TARGET_SUBDIR)/libmudflap && \
32785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32787 "RANLIB=$${RANLIB}" \
32788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32789 dvi) \
32790 || exit 1
32792 @endif target-libmudflap
32794 .PHONY: maybe-pdf-target-libmudflap pdf-target-libmudflap
32795 maybe-pdf-target-libmudflap:
32796 @if target-libmudflap
32797 maybe-pdf-target-libmudflap: pdf-target-libmudflap
32799 pdf-target-libmudflap: \
32800 configure-target-libmudflap
32801 @: $(MAKE); $(unstage)
32802 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32803 r=`${PWD_COMMAND}`; export r; \
32804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32805 $(NORMAL_TARGET_EXPORTS) \
32806 echo "Doing pdf in $(TARGET_SUBDIR)/libmudflap" ; \
32807 for flag in $(EXTRA_TARGET_FLAGS); do \
32808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32809 done; \
32810 (cd $(TARGET_SUBDIR)/libmudflap && \
32811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32813 "RANLIB=$${RANLIB}" \
32814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32815 pdf) \
32816 || exit 1
32818 @endif target-libmudflap
32820 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
32821 maybe-html-target-libmudflap:
32822 @if target-libmudflap
32823 maybe-html-target-libmudflap: html-target-libmudflap
32825 html-target-libmudflap: \
32826 configure-target-libmudflap
32827 @: $(MAKE); $(unstage)
32828 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32829 r=`${PWD_COMMAND}`; export r; \
32830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32831 $(NORMAL_TARGET_EXPORTS) \
32832 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
32833 for flag in $(EXTRA_TARGET_FLAGS); do \
32834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32835 done; \
32836 (cd $(TARGET_SUBDIR)/libmudflap && \
32837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32839 "RANLIB=$${RANLIB}" \
32840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32841 html) \
32842 || exit 1
32844 @endif target-libmudflap
32846 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
32847 maybe-TAGS-target-libmudflap:
32848 @if target-libmudflap
32849 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
32851 TAGS-target-libmudflap: \
32852 configure-target-libmudflap
32853 @: $(MAKE); $(unstage)
32854 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32855 r=`${PWD_COMMAND}`; export r; \
32856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32857 $(NORMAL_TARGET_EXPORTS) \
32858 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
32859 for flag in $(EXTRA_TARGET_FLAGS); do \
32860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32861 done; \
32862 (cd $(TARGET_SUBDIR)/libmudflap && \
32863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32865 "RANLIB=$${RANLIB}" \
32866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32867 TAGS) \
32868 || exit 1
32870 @endif target-libmudflap
32872 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
32873 maybe-install-info-target-libmudflap:
32874 @if target-libmudflap
32875 maybe-install-info-target-libmudflap: install-info-target-libmudflap
32877 install-info-target-libmudflap: \
32878 configure-target-libmudflap \
32879 info-target-libmudflap
32880 @: $(MAKE); $(unstage)
32881 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32882 r=`${PWD_COMMAND}`; export r; \
32883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32884 $(NORMAL_TARGET_EXPORTS) \
32885 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
32886 for flag in $(EXTRA_TARGET_FLAGS); do \
32887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32888 done; \
32889 (cd $(TARGET_SUBDIR)/libmudflap && \
32890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32892 "RANLIB=$${RANLIB}" \
32893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32894 install-info) \
32895 || exit 1
32897 @endif target-libmudflap
32899 .PHONY: maybe-install-pdf-target-libmudflap install-pdf-target-libmudflap
32900 maybe-install-pdf-target-libmudflap:
32901 @if target-libmudflap
32902 maybe-install-pdf-target-libmudflap: install-pdf-target-libmudflap
32904 install-pdf-target-libmudflap: \
32905 configure-target-libmudflap \
32906 pdf-target-libmudflap
32907 @: $(MAKE); $(unstage)
32908 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32909 r=`${PWD_COMMAND}`; export r; \
32910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32911 $(NORMAL_TARGET_EXPORTS) \
32912 echo "Doing install-pdf in $(TARGET_SUBDIR)/libmudflap" ; \
32913 for flag in $(EXTRA_TARGET_FLAGS); do \
32914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32915 done; \
32916 (cd $(TARGET_SUBDIR)/libmudflap && \
32917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32919 "RANLIB=$${RANLIB}" \
32920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32921 install-pdf) \
32922 || exit 1
32924 @endif target-libmudflap
32926 .PHONY: maybe-install-html-target-libmudflap install-html-target-libmudflap
32927 maybe-install-html-target-libmudflap:
32928 @if target-libmudflap
32929 maybe-install-html-target-libmudflap: install-html-target-libmudflap
32931 install-html-target-libmudflap: \
32932 configure-target-libmudflap \
32933 html-target-libmudflap
32934 @: $(MAKE); $(unstage)
32935 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32936 r=`${PWD_COMMAND}`; export r; \
32937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32938 $(NORMAL_TARGET_EXPORTS) \
32939 echo "Doing install-html in $(TARGET_SUBDIR)/libmudflap" ; \
32940 for flag in $(EXTRA_TARGET_FLAGS); do \
32941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32942 done; \
32943 (cd $(TARGET_SUBDIR)/libmudflap && \
32944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32946 "RANLIB=$${RANLIB}" \
32947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32948 install-html) \
32949 || exit 1
32951 @endif target-libmudflap
32953 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
32954 maybe-installcheck-target-libmudflap:
32955 @if target-libmudflap
32956 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
32958 installcheck-target-libmudflap: \
32959 configure-target-libmudflap
32960 @: $(MAKE); $(unstage)
32961 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32962 r=`${PWD_COMMAND}`; export r; \
32963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32964 $(NORMAL_TARGET_EXPORTS) \
32965 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
32966 for flag in $(EXTRA_TARGET_FLAGS); do \
32967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32968 done; \
32969 (cd $(TARGET_SUBDIR)/libmudflap && \
32970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32972 "RANLIB=$${RANLIB}" \
32973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32974 installcheck) \
32975 || exit 1
32977 @endif target-libmudflap
32979 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
32980 maybe-mostlyclean-target-libmudflap:
32981 @if target-libmudflap
32982 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
32984 mostlyclean-target-libmudflap:
32985 @: $(MAKE); $(unstage)
32986 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32987 r=`${PWD_COMMAND}`; export r; \
32988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32989 $(NORMAL_TARGET_EXPORTS) \
32990 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
32991 for flag in $(EXTRA_TARGET_FLAGS); do \
32992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32993 done; \
32994 (cd $(TARGET_SUBDIR)/libmudflap && \
32995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32997 "RANLIB=$${RANLIB}" \
32998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32999 mostlyclean) \
33000 || exit 1
33002 @endif target-libmudflap
33004 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
33005 maybe-clean-target-libmudflap:
33006 @if target-libmudflap
33007 maybe-clean-target-libmudflap: clean-target-libmudflap
33009 clean-target-libmudflap:
33010 @: $(MAKE); $(unstage)
33011 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
33012 r=`${PWD_COMMAND}`; export r; \
33013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33014 $(NORMAL_TARGET_EXPORTS) \
33015 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
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)/libmudflap && \
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 clean) \
33025 || exit 1
33027 @endif target-libmudflap
33029 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
33030 maybe-distclean-target-libmudflap:
33031 @if target-libmudflap
33032 maybe-distclean-target-libmudflap: distclean-target-libmudflap
33034 distclean-target-libmudflap:
33035 @: $(MAKE); $(unstage)
33036 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
33037 r=`${PWD_COMMAND}`; export r; \
33038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33039 $(NORMAL_TARGET_EXPORTS) \
33040 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
33041 for flag in $(EXTRA_TARGET_FLAGS); do \
33042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33043 done; \
33044 (cd $(TARGET_SUBDIR)/libmudflap && \
33045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33047 "RANLIB=$${RANLIB}" \
33048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33049 distclean) \
33050 || exit 1
33052 @endif target-libmudflap
33054 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
33055 maybe-maintainer-clean-target-libmudflap:
33056 @if target-libmudflap
33057 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
33059 maintainer-clean-target-libmudflap:
33060 @: $(MAKE); $(unstage)
33061 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
33062 r=`${PWD_COMMAND}`; export r; \
33063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33064 $(NORMAL_TARGET_EXPORTS) \
33065 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
33066 for flag in $(EXTRA_TARGET_FLAGS); do \
33067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33068 done; \
33069 (cd $(TARGET_SUBDIR)/libmudflap && \
33070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33072 "RANLIB=$${RANLIB}" \
33073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33074 maintainer-clean) \
33075 || exit 1
33077 @endif target-libmudflap
33083 .PHONY: configure-target-libsanitizer maybe-configure-target-libsanitizer
33084 maybe-configure-target-libsanitizer:
33085 @if gcc-bootstrap
33086 configure-target-libsanitizer: stage_current
33087 @endif gcc-bootstrap
33088 @if target-libsanitizer
33089 maybe-configure-target-libsanitizer: configure-target-libsanitizer
33090 configure-target-libsanitizer:
33091 @r=`${PWD_COMMAND}`; export r; \
33092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33093 echo "Checking multilib configuration for libsanitizer..."; \
33094 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33095 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
33096 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33097 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33098 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33099 else \
33100 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33101 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33102 fi; \
33103 else \
33104 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33105 fi; \
33106 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33107 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33108 $(RAW_CXX_TARGET_EXPORTS) \
33109 echo Configuring in $(TARGET_SUBDIR)/libsanitizer; \
33110 cd "$(TARGET_SUBDIR)/libsanitizer" || exit 1; \
33111 case $(srcdir) in \
33112 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33113 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33114 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33115 esac; \
33116 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \
33117 libsrcdir="$$s/libsanitizer"; \
33118 rm -f no-such-file || : ; \
33119 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33120 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33121 --target=${target_alias} $${srcdiroption} \
33122 || exit 1
33123 @endif target-libsanitizer
33127 .PHONY: configure-stage1-target-libsanitizer maybe-configure-stage1-target-libsanitizer
33128 maybe-configure-stage1-target-libsanitizer:
33129 @if target-libsanitizer-bootstrap
33130 maybe-configure-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
33131 configure-stage1-target-libsanitizer:
33132 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
33133 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33134 @r=`${PWD_COMMAND}`; export r; \
33135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33136 TFLAGS="$(STAGE1_TFLAGS)"; \
33137 echo "Checking multilib configuration for libsanitizer..."; \
33138 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
33139 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33140 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33141 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33142 else \
33143 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33144 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33145 fi; \
33146 else \
33147 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33148 fi; \
33149 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33150 $(RAW_CXX_TARGET_EXPORTS) \
33151 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33152 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33153 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33154 echo Configuring stage 1 in $(TARGET_SUBDIR)/libsanitizer ; \
33155 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33156 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33157 case $(srcdir) in \
33158 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33159 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33160 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33161 esac; \
33162 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \
33163 libsrcdir="$$s/libsanitizer"; \
33164 $(SHELL) $${libsrcdir}/configure \
33165 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33166 --target=${target_alias} $${srcdiroption} \
33167 $(STAGE1_CONFIGURE_FLAGS)
33168 @endif target-libsanitizer-bootstrap
33170 .PHONY: configure-stage2-target-libsanitizer maybe-configure-stage2-target-libsanitizer
33171 maybe-configure-stage2-target-libsanitizer:
33172 @if target-libsanitizer-bootstrap
33173 maybe-configure-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
33174 configure-stage2-target-libsanitizer:
33175 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
33176 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33177 @r=`${PWD_COMMAND}`; export r; \
33178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33179 TFLAGS="$(STAGE2_TFLAGS)"; \
33180 echo "Checking multilib configuration for libsanitizer..."; \
33181 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
33182 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33183 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33184 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33185 else \
33186 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33187 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33188 fi; \
33189 else \
33190 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33191 fi; \
33192 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33193 $(RAW_CXX_TARGET_EXPORTS) \
33195 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33196 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33197 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33198 echo Configuring stage 2 in $(TARGET_SUBDIR)/libsanitizer ; \
33199 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33200 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33201 case $(srcdir) in \
33202 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33203 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33204 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33205 esac; \
33206 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \
33207 libsrcdir="$$s/libsanitizer"; \
33208 $(SHELL) $${libsrcdir}/configure \
33209 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33210 --target=${target_alias} $${srcdiroption} \
33211 --with-build-libsubdir=$(HOST_SUBDIR) \
33212 $(STAGE2_CONFIGURE_FLAGS)
33213 @endif target-libsanitizer-bootstrap
33215 .PHONY: configure-stage3-target-libsanitizer maybe-configure-stage3-target-libsanitizer
33216 maybe-configure-stage3-target-libsanitizer:
33217 @if target-libsanitizer-bootstrap
33218 maybe-configure-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
33219 configure-stage3-target-libsanitizer:
33220 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
33221 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33222 @r=`${PWD_COMMAND}`; export r; \
33223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33224 TFLAGS="$(STAGE3_TFLAGS)"; \
33225 echo "Checking multilib configuration for libsanitizer..."; \
33226 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
33227 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33228 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33229 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33230 else \
33231 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33232 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33233 fi; \
33234 else \
33235 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33236 fi; \
33237 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33238 $(RAW_CXX_TARGET_EXPORTS) \
33240 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33241 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33242 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33243 echo Configuring stage 3 in $(TARGET_SUBDIR)/libsanitizer ; \
33244 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33245 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33246 case $(srcdir) in \
33247 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33248 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33249 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33250 esac; \
33251 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \
33252 libsrcdir="$$s/libsanitizer"; \
33253 $(SHELL) $${libsrcdir}/configure \
33254 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33255 --target=${target_alias} $${srcdiroption} \
33256 --with-build-libsubdir=$(HOST_SUBDIR) \
33257 $(STAGE3_CONFIGURE_FLAGS)
33258 @endif target-libsanitizer-bootstrap
33260 .PHONY: configure-stage4-target-libsanitizer maybe-configure-stage4-target-libsanitizer
33261 maybe-configure-stage4-target-libsanitizer:
33262 @if target-libsanitizer-bootstrap
33263 maybe-configure-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
33264 configure-stage4-target-libsanitizer:
33265 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
33266 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33267 @r=`${PWD_COMMAND}`; export r; \
33268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33269 TFLAGS="$(STAGE4_TFLAGS)"; \
33270 echo "Checking multilib configuration for libsanitizer..."; \
33271 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
33272 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33273 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33274 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33275 else \
33276 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33277 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33278 fi; \
33279 else \
33280 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33281 fi; \
33282 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33283 $(RAW_CXX_TARGET_EXPORTS) \
33285 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33286 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33287 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33288 echo Configuring stage 4 in $(TARGET_SUBDIR)/libsanitizer ; \
33289 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33290 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33291 case $(srcdir) in \
33292 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33293 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33294 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33295 esac; \
33296 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \
33297 libsrcdir="$$s/libsanitizer"; \
33298 $(SHELL) $${libsrcdir}/configure \
33299 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33300 --target=${target_alias} $${srcdiroption} \
33301 --with-build-libsubdir=$(HOST_SUBDIR) \
33302 $(STAGE4_CONFIGURE_FLAGS)
33303 @endif target-libsanitizer-bootstrap
33305 .PHONY: configure-stageprofile-target-libsanitizer maybe-configure-stageprofile-target-libsanitizer
33306 maybe-configure-stageprofile-target-libsanitizer:
33307 @if target-libsanitizer-bootstrap
33308 maybe-configure-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
33309 configure-stageprofile-target-libsanitizer:
33310 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
33311 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33312 @r=`${PWD_COMMAND}`; export r; \
33313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33314 TFLAGS="$(STAGEprofile_TFLAGS)"; \
33315 echo "Checking multilib configuration for libsanitizer..."; \
33316 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
33317 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33318 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33319 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33320 else \
33321 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33322 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33323 fi; \
33324 else \
33325 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33326 fi; \
33327 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33328 $(RAW_CXX_TARGET_EXPORTS) \
33330 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33331 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33332 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33333 echo Configuring stage profile in $(TARGET_SUBDIR)/libsanitizer ; \
33334 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33335 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33336 case $(srcdir) in \
33337 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33338 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33339 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33340 esac; \
33341 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \
33342 libsrcdir="$$s/libsanitizer"; \
33343 $(SHELL) $${libsrcdir}/configure \
33344 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33345 --target=${target_alias} $${srcdiroption} \
33346 --with-build-libsubdir=$(HOST_SUBDIR) \
33347 $(STAGEprofile_CONFIGURE_FLAGS)
33348 @endif target-libsanitizer-bootstrap
33350 .PHONY: configure-stagefeedback-target-libsanitizer maybe-configure-stagefeedback-target-libsanitizer
33351 maybe-configure-stagefeedback-target-libsanitizer:
33352 @if target-libsanitizer-bootstrap
33353 maybe-configure-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
33354 configure-stagefeedback-target-libsanitizer:
33355 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
33356 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33357 @r=`${PWD_COMMAND}`; export r; \
33358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33359 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
33360 echo "Checking multilib configuration for libsanitizer..."; \
33361 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
33362 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33363 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33364 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33365 else \
33366 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33367 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33368 fi; \
33369 else \
33370 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33371 fi; \
33372 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33373 $(RAW_CXX_TARGET_EXPORTS) \
33375 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33376 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33377 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33378 echo Configuring stage feedback in $(TARGET_SUBDIR)/libsanitizer ; \
33379 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33380 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33381 case $(srcdir) in \
33382 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33383 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33384 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33385 esac; \
33386 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \
33387 libsrcdir="$$s/libsanitizer"; \
33388 $(SHELL) $${libsrcdir}/configure \
33389 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33390 --target=${target_alias} $${srcdiroption} \
33391 --with-build-libsubdir=$(HOST_SUBDIR) \
33392 $(STAGEfeedback_CONFIGURE_FLAGS)
33393 @endif target-libsanitizer-bootstrap
33399 .PHONY: all-target-libsanitizer maybe-all-target-libsanitizer
33400 maybe-all-target-libsanitizer:
33401 @if gcc-bootstrap
33402 all-target-libsanitizer: stage_current
33403 @endif gcc-bootstrap
33404 @if target-libsanitizer
33405 TARGET-target-libsanitizer=all
33406 maybe-all-target-libsanitizer: all-target-libsanitizer
33407 all-target-libsanitizer: configure-target-libsanitizer
33408 @r=`${PWD_COMMAND}`; export r; \
33409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33410 $(RAW_CXX_TARGET_EXPORTS) \
33411 (cd $(TARGET_SUBDIR)/libsanitizer && \
33412 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33413 $(TARGET-target-libsanitizer))
33414 @endif target-libsanitizer
33418 .PHONY: all-stage1-target-libsanitizer maybe-all-stage1-target-libsanitizer
33419 .PHONY: clean-stage1-target-libsanitizer maybe-clean-stage1-target-libsanitizer
33420 maybe-all-stage1-target-libsanitizer:
33421 maybe-clean-stage1-target-libsanitizer:
33422 @if target-libsanitizer-bootstrap
33423 maybe-all-stage1-target-libsanitizer: all-stage1-target-libsanitizer
33424 all-stage1: all-stage1-target-libsanitizer
33425 TARGET-stage1-target-libsanitizer = $(TARGET-target-libsanitizer)
33426 all-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
33427 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
33428 @r=`${PWD_COMMAND}`; export r; \
33429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33430 TFLAGS="$(STAGE1_TFLAGS)"; \
33431 $(RAW_CXX_TARGET_EXPORTS) \
33432 cd $(TARGET_SUBDIR)/libsanitizer && \
33433 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33434 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33435 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33436 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33437 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33438 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33439 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33440 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33442 TFLAGS="$(STAGE1_TFLAGS)" \
33443 $(TARGET-stage1-target-libsanitizer)
33445 maybe-clean-stage1-target-libsanitizer: clean-stage1-target-libsanitizer
33446 clean-stage1: clean-stage1-target-libsanitizer
33447 clean-stage1-target-libsanitizer:
33448 @if [ $(current_stage) = stage1 ]; then \
33449 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33450 else \
33451 [ -f $(TARGET_SUBDIR)/stage1-libsanitizer/Makefile ] || exit 0; \
33452 $(MAKE) stage1-start; \
33453 fi; \
33454 cd $(TARGET_SUBDIR)/libsanitizer && \
33455 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33456 clean
33457 @endif target-libsanitizer-bootstrap
33460 .PHONY: all-stage2-target-libsanitizer maybe-all-stage2-target-libsanitizer
33461 .PHONY: clean-stage2-target-libsanitizer maybe-clean-stage2-target-libsanitizer
33462 maybe-all-stage2-target-libsanitizer:
33463 maybe-clean-stage2-target-libsanitizer:
33464 @if target-libsanitizer-bootstrap
33465 maybe-all-stage2-target-libsanitizer: all-stage2-target-libsanitizer
33466 all-stage2: all-stage2-target-libsanitizer
33467 TARGET-stage2-target-libsanitizer = $(TARGET-target-libsanitizer)
33468 all-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
33469 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
33470 @r=`${PWD_COMMAND}`; export r; \
33471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33472 TFLAGS="$(STAGE2_TFLAGS)"; \
33473 $(RAW_CXX_TARGET_EXPORTS) \
33475 cd $(TARGET_SUBDIR)/libsanitizer && \
33476 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33477 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33478 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33479 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33480 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33481 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33482 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33483 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33484 TFLAGS="$(STAGE2_TFLAGS)" \
33485 $(TARGET-stage2-target-libsanitizer)
33487 maybe-clean-stage2-target-libsanitizer: clean-stage2-target-libsanitizer
33488 clean-stage2: clean-stage2-target-libsanitizer
33489 clean-stage2-target-libsanitizer:
33490 @if [ $(current_stage) = stage2 ]; then \
33491 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33492 else \
33493 [ -f $(TARGET_SUBDIR)/stage2-libsanitizer/Makefile ] || exit 0; \
33494 $(MAKE) stage2-start; \
33495 fi; \
33496 cd $(TARGET_SUBDIR)/libsanitizer && \
33497 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33498 @endif target-libsanitizer-bootstrap
33501 .PHONY: all-stage3-target-libsanitizer maybe-all-stage3-target-libsanitizer
33502 .PHONY: clean-stage3-target-libsanitizer maybe-clean-stage3-target-libsanitizer
33503 maybe-all-stage3-target-libsanitizer:
33504 maybe-clean-stage3-target-libsanitizer:
33505 @if target-libsanitizer-bootstrap
33506 maybe-all-stage3-target-libsanitizer: all-stage3-target-libsanitizer
33507 all-stage3: all-stage3-target-libsanitizer
33508 TARGET-stage3-target-libsanitizer = $(TARGET-target-libsanitizer)
33509 all-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
33510 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
33511 @r=`${PWD_COMMAND}`; export r; \
33512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33513 TFLAGS="$(STAGE3_TFLAGS)"; \
33514 $(RAW_CXX_TARGET_EXPORTS) \
33516 cd $(TARGET_SUBDIR)/libsanitizer && \
33517 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33518 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33519 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33520 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33521 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33522 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33523 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33524 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33525 TFLAGS="$(STAGE3_TFLAGS)" \
33526 $(TARGET-stage3-target-libsanitizer)
33528 maybe-clean-stage3-target-libsanitizer: clean-stage3-target-libsanitizer
33529 clean-stage3: clean-stage3-target-libsanitizer
33530 clean-stage3-target-libsanitizer:
33531 @if [ $(current_stage) = stage3 ]; then \
33532 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33533 else \
33534 [ -f $(TARGET_SUBDIR)/stage3-libsanitizer/Makefile ] || exit 0; \
33535 $(MAKE) stage3-start; \
33536 fi; \
33537 cd $(TARGET_SUBDIR)/libsanitizer && \
33538 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33539 @endif target-libsanitizer-bootstrap
33542 .PHONY: all-stage4-target-libsanitizer maybe-all-stage4-target-libsanitizer
33543 .PHONY: clean-stage4-target-libsanitizer maybe-clean-stage4-target-libsanitizer
33544 maybe-all-stage4-target-libsanitizer:
33545 maybe-clean-stage4-target-libsanitizer:
33546 @if target-libsanitizer-bootstrap
33547 maybe-all-stage4-target-libsanitizer: all-stage4-target-libsanitizer
33548 all-stage4: all-stage4-target-libsanitizer
33549 TARGET-stage4-target-libsanitizer = $(TARGET-target-libsanitizer)
33550 all-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
33551 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
33552 @r=`${PWD_COMMAND}`; export r; \
33553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33554 TFLAGS="$(STAGE4_TFLAGS)"; \
33555 $(RAW_CXX_TARGET_EXPORTS) \
33557 cd $(TARGET_SUBDIR)/libsanitizer && \
33558 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33559 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33560 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33561 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33562 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33563 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33564 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33565 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33566 TFLAGS="$(STAGE4_TFLAGS)" \
33567 $(TARGET-stage4-target-libsanitizer)
33569 maybe-clean-stage4-target-libsanitizer: clean-stage4-target-libsanitizer
33570 clean-stage4: clean-stage4-target-libsanitizer
33571 clean-stage4-target-libsanitizer:
33572 @if [ $(current_stage) = stage4 ]; then \
33573 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33574 else \
33575 [ -f $(TARGET_SUBDIR)/stage4-libsanitizer/Makefile ] || exit 0; \
33576 $(MAKE) stage4-start; \
33577 fi; \
33578 cd $(TARGET_SUBDIR)/libsanitizer && \
33579 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33580 @endif target-libsanitizer-bootstrap
33583 .PHONY: all-stageprofile-target-libsanitizer maybe-all-stageprofile-target-libsanitizer
33584 .PHONY: clean-stageprofile-target-libsanitizer maybe-clean-stageprofile-target-libsanitizer
33585 maybe-all-stageprofile-target-libsanitizer:
33586 maybe-clean-stageprofile-target-libsanitizer:
33587 @if target-libsanitizer-bootstrap
33588 maybe-all-stageprofile-target-libsanitizer: all-stageprofile-target-libsanitizer
33589 all-stageprofile: all-stageprofile-target-libsanitizer
33590 TARGET-stageprofile-target-libsanitizer = $(TARGET-target-libsanitizer)
33591 all-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
33592 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
33593 @r=`${PWD_COMMAND}`; export r; \
33594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33595 TFLAGS="$(STAGEprofile_TFLAGS)"; \
33596 $(RAW_CXX_TARGET_EXPORTS) \
33598 cd $(TARGET_SUBDIR)/libsanitizer && \
33599 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33600 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33601 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33602 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33603 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33604 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33605 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33606 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33607 TFLAGS="$(STAGEprofile_TFLAGS)" \
33608 $(TARGET-stageprofile-target-libsanitizer)
33610 maybe-clean-stageprofile-target-libsanitizer: clean-stageprofile-target-libsanitizer
33611 clean-stageprofile: clean-stageprofile-target-libsanitizer
33612 clean-stageprofile-target-libsanitizer:
33613 @if [ $(current_stage) = stageprofile ]; then \
33614 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33615 else \
33616 [ -f $(TARGET_SUBDIR)/stageprofile-libsanitizer/Makefile ] || exit 0; \
33617 $(MAKE) stageprofile-start; \
33618 fi; \
33619 cd $(TARGET_SUBDIR)/libsanitizer && \
33620 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33621 @endif target-libsanitizer-bootstrap
33624 .PHONY: all-stagefeedback-target-libsanitizer maybe-all-stagefeedback-target-libsanitizer
33625 .PHONY: clean-stagefeedback-target-libsanitizer maybe-clean-stagefeedback-target-libsanitizer
33626 maybe-all-stagefeedback-target-libsanitizer:
33627 maybe-clean-stagefeedback-target-libsanitizer:
33628 @if target-libsanitizer-bootstrap
33629 maybe-all-stagefeedback-target-libsanitizer: all-stagefeedback-target-libsanitizer
33630 all-stagefeedback: all-stagefeedback-target-libsanitizer
33631 TARGET-stagefeedback-target-libsanitizer = $(TARGET-target-libsanitizer)
33632 all-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
33633 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
33634 @r=`${PWD_COMMAND}`; export r; \
33635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33636 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
33637 $(RAW_CXX_TARGET_EXPORTS) \
33639 cd $(TARGET_SUBDIR)/libsanitizer && \
33640 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33641 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33642 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33643 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33644 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33645 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33646 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33647 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33648 TFLAGS="$(STAGEfeedback_TFLAGS)" \
33649 $(TARGET-stagefeedback-target-libsanitizer)
33651 maybe-clean-stagefeedback-target-libsanitizer: clean-stagefeedback-target-libsanitizer
33652 clean-stagefeedback: clean-stagefeedback-target-libsanitizer
33653 clean-stagefeedback-target-libsanitizer:
33654 @if [ $(current_stage) = stagefeedback ]; then \
33655 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33656 else \
33657 [ -f $(TARGET_SUBDIR)/stagefeedback-libsanitizer/Makefile ] || exit 0; \
33658 $(MAKE) stagefeedback-start; \
33659 fi; \
33660 cd $(TARGET_SUBDIR)/libsanitizer && \
33661 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33662 @endif target-libsanitizer-bootstrap
33669 .PHONY: check-target-libsanitizer maybe-check-target-libsanitizer
33670 maybe-check-target-libsanitizer:
33671 @if target-libsanitizer
33672 maybe-check-target-libsanitizer: check-target-libsanitizer
33674 check-target-libsanitizer:
33675 @: $(MAKE); $(unstage)
33676 @r=`${PWD_COMMAND}`; export r; \
33677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33678 $(RAW_CXX_TARGET_EXPORTS) \
33679 (cd $(TARGET_SUBDIR)/libsanitizer && \
33680 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
33682 @endif target-libsanitizer
33684 .PHONY: install-target-libsanitizer maybe-install-target-libsanitizer
33685 maybe-install-target-libsanitizer:
33686 @if target-libsanitizer
33687 maybe-install-target-libsanitizer: install-target-libsanitizer
33689 install-target-libsanitizer: installdirs
33690 @: $(MAKE); $(unstage)
33691 @r=`${PWD_COMMAND}`; export r; \
33692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33693 $(RAW_CXX_TARGET_EXPORTS) \
33694 (cd $(TARGET_SUBDIR)/libsanitizer && \
33695 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33697 @endif target-libsanitizer
33699 .PHONY: install-strip-target-libsanitizer maybe-install-strip-target-libsanitizer
33700 maybe-install-strip-target-libsanitizer:
33701 @if target-libsanitizer
33702 maybe-install-strip-target-libsanitizer: install-strip-target-libsanitizer
33704 install-strip-target-libsanitizer: installdirs
33705 @: $(MAKE); $(unstage)
33706 @r=`${PWD_COMMAND}`; export r; \
33707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33708 $(RAW_CXX_TARGET_EXPORTS) \
33709 (cd $(TARGET_SUBDIR)/libsanitizer && \
33710 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
33712 @endif target-libsanitizer
33714 # Other targets (info, dvi, pdf, etc.)
33716 .PHONY: maybe-info-target-libsanitizer info-target-libsanitizer
33717 maybe-info-target-libsanitizer:
33718 @if target-libsanitizer
33719 maybe-info-target-libsanitizer: info-target-libsanitizer
33721 info-target-libsanitizer: \
33722 configure-target-libsanitizer
33723 @: $(MAKE); $(unstage)
33724 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33725 r=`${PWD_COMMAND}`; export r; \
33726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33727 $(RAW_CXX_TARGET_EXPORTS) \
33728 echo "Doing info in $(TARGET_SUBDIR)/libsanitizer" ; \
33729 for flag in $(EXTRA_TARGET_FLAGS); do \
33730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33731 done; \
33732 (cd $(TARGET_SUBDIR)/libsanitizer && \
33733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33735 "RANLIB=$${RANLIB}" \
33736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33737 info) \
33738 || exit 1
33740 @endif target-libsanitizer
33742 .PHONY: maybe-dvi-target-libsanitizer dvi-target-libsanitizer
33743 maybe-dvi-target-libsanitizer:
33744 @if target-libsanitizer
33745 maybe-dvi-target-libsanitizer: dvi-target-libsanitizer
33747 dvi-target-libsanitizer: \
33748 configure-target-libsanitizer
33749 @: $(MAKE); $(unstage)
33750 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33751 r=`${PWD_COMMAND}`; export r; \
33752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33753 $(RAW_CXX_TARGET_EXPORTS) \
33754 echo "Doing dvi in $(TARGET_SUBDIR)/libsanitizer" ; \
33755 for flag in $(EXTRA_TARGET_FLAGS); do \
33756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33757 done; \
33758 (cd $(TARGET_SUBDIR)/libsanitizer && \
33759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33761 "RANLIB=$${RANLIB}" \
33762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33763 dvi) \
33764 || exit 1
33766 @endif target-libsanitizer
33768 .PHONY: maybe-pdf-target-libsanitizer pdf-target-libsanitizer
33769 maybe-pdf-target-libsanitizer:
33770 @if target-libsanitizer
33771 maybe-pdf-target-libsanitizer: pdf-target-libsanitizer
33773 pdf-target-libsanitizer: \
33774 configure-target-libsanitizer
33775 @: $(MAKE); $(unstage)
33776 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33777 r=`${PWD_COMMAND}`; export r; \
33778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33779 $(RAW_CXX_TARGET_EXPORTS) \
33780 echo "Doing pdf in $(TARGET_SUBDIR)/libsanitizer" ; \
33781 for flag in $(EXTRA_TARGET_FLAGS); do \
33782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33783 done; \
33784 (cd $(TARGET_SUBDIR)/libsanitizer && \
33785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33787 "RANLIB=$${RANLIB}" \
33788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33789 pdf) \
33790 || exit 1
33792 @endif target-libsanitizer
33794 .PHONY: maybe-html-target-libsanitizer html-target-libsanitizer
33795 maybe-html-target-libsanitizer:
33796 @if target-libsanitizer
33797 maybe-html-target-libsanitizer: html-target-libsanitizer
33799 html-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 html 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 html) \
33816 || exit 1
33818 @endif target-libsanitizer
33820 .PHONY: maybe-TAGS-target-libsanitizer TAGS-target-libsanitizer
33821 maybe-TAGS-target-libsanitizer:
33822 @if target-libsanitizer
33823 maybe-TAGS-target-libsanitizer: TAGS-target-libsanitizer
33825 TAGS-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 TAGS 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 TAGS) \
33842 || exit 1
33844 @endif target-libsanitizer
33846 .PHONY: maybe-install-info-target-libsanitizer install-info-target-libsanitizer
33847 maybe-install-info-target-libsanitizer:
33848 @if target-libsanitizer
33849 maybe-install-info-target-libsanitizer: install-info-target-libsanitizer
33851 install-info-target-libsanitizer: \
33852 configure-target-libsanitizer \
33853 info-target-libsanitizer
33854 @: $(MAKE); $(unstage)
33855 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33856 r=`${PWD_COMMAND}`; export r; \
33857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33858 $(RAW_CXX_TARGET_EXPORTS) \
33859 echo "Doing install-info in $(TARGET_SUBDIR)/libsanitizer" ; \
33860 for flag in $(EXTRA_TARGET_FLAGS); do \
33861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33862 done; \
33863 (cd $(TARGET_SUBDIR)/libsanitizer && \
33864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33866 "RANLIB=$${RANLIB}" \
33867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33868 install-info) \
33869 || exit 1
33871 @endif target-libsanitizer
33873 .PHONY: maybe-install-pdf-target-libsanitizer install-pdf-target-libsanitizer
33874 maybe-install-pdf-target-libsanitizer:
33875 @if target-libsanitizer
33876 maybe-install-pdf-target-libsanitizer: install-pdf-target-libsanitizer
33878 install-pdf-target-libsanitizer: \
33879 configure-target-libsanitizer \
33880 pdf-target-libsanitizer
33881 @: $(MAKE); $(unstage)
33882 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33883 r=`${PWD_COMMAND}`; export r; \
33884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33885 $(RAW_CXX_TARGET_EXPORTS) \
33886 echo "Doing install-pdf in $(TARGET_SUBDIR)/libsanitizer" ; \
33887 for flag in $(EXTRA_TARGET_FLAGS); do \
33888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33889 done; \
33890 (cd $(TARGET_SUBDIR)/libsanitizer && \
33891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33893 "RANLIB=$${RANLIB}" \
33894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33895 install-pdf) \
33896 || exit 1
33898 @endif target-libsanitizer
33900 .PHONY: maybe-install-html-target-libsanitizer install-html-target-libsanitizer
33901 maybe-install-html-target-libsanitizer:
33902 @if target-libsanitizer
33903 maybe-install-html-target-libsanitizer: install-html-target-libsanitizer
33905 install-html-target-libsanitizer: \
33906 configure-target-libsanitizer \
33907 html-target-libsanitizer
33908 @: $(MAKE); $(unstage)
33909 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33910 r=`${PWD_COMMAND}`; export r; \
33911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33912 $(RAW_CXX_TARGET_EXPORTS) \
33913 echo "Doing install-html in $(TARGET_SUBDIR)/libsanitizer" ; \
33914 for flag in $(EXTRA_TARGET_FLAGS); do \
33915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33916 done; \
33917 (cd $(TARGET_SUBDIR)/libsanitizer && \
33918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33920 "RANLIB=$${RANLIB}" \
33921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33922 install-html) \
33923 || exit 1
33925 @endif target-libsanitizer
33927 .PHONY: maybe-installcheck-target-libsanitizer installcheck-target-libsanitizer
33928 maybe-installcheck-target-libsanitizer:
33929 @if target-libsanitizer
33930 maybe-installcheck-target-libsanitizer: installcheck-target-libsanitizer
33932 installcheck-target-libsanitizer: \
33933 configure-target-libsanitizer
33934 @: $(MAKE); $(unstage)
33935 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33936 r=`${PWD_COMMAND}`; export r; \
33937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33938 $(RAW_CXX_TARGET_EXPORTS) \
33939 echo "Doing installcheck in $(TARGET_SUBDIR)/libsanitizer" ; \
33940 for flag in $(EXTRA_TARGET_FLAGS); do \
33941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33942 done; \
33943 (cd $(TARGET_SUBDIR)/libsanitizer && \
33944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33946 "RANLIB=$${RANLIB}" \
33947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33948 installcheck) \
33949 || exit 1
33951 @endif target-libsanitizer
33953 .PHONY: maybe-mostlyclean-target-libsanitizer mostlyclean-target-libsanitizer
33954 maybe-mostlyclean-target-libsanitizer:
33955 @if target-libsanitizer
33956 maybe-mostlyclean-target-libsanitizer: mostlyclean-target-libsanitizer
33958 mostlyclean-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 mostlyclean 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 mostlyclean) \
33974 || exit 1
33976 @endif target-libsanitizer
33978 .PHONY: maybe-clean-target-libsanitizer clean-target-libsanitizer
33979 maybe-clean-target-libsanitizer:
33980 @if target-libsanitizer
33981 maybe-clean-target-libsanitizer: clean-target-libsanitizer
33983 clean-target-libsanitizer:
33984 @: $(MAKE); $(unstage)
33985 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33986 r=`${PWD_COMMAND}`; export r; \
33987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33988 $(RAW_CXX_TARGET_EXPORTS) \
33989 echo "Doing clean in $(TARGET_SUBDIR)/libsanitizer" ; \
33990 for flag in $(EXTRA_TARGET_FLAGS); do \
33991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33992 done; \
33993 (cd $(TARGET_SUBDIR)/libsanitizer && \
33994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33996 "RANLIB=$${RANLIB}" \
33997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33998 clean) \
33999 || exit 1
34001 @endif target-libsanitizer
34003 .PHONY: maybe-distclean-target-libsanitizer distclean-target-libsanitizer
34004 maybe-distclean-target-libsanitizer:
34005 @if target-libsanitizer
34006 maybe-distclean-target-libsanitizer: distclean-target-libsanitizer
34008 distclean-target-libsanitizer:
34009 @: $(MAKE); $(unstage)
34010 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
34011 r=`${PWD_COMMAND}`; export r; \
34012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34013 $(RAW_CXX_TARGET_EXPORTS) \
34014 echo "Doing distclean in $(TARGET_SUBDIR)/libsanitizer" ; \
34015 for flag in $(EXTRA_TARGET_FLAGS); do \
34016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34017 done; \
34018 (cd $(TARGET_SUBDIR)/libsanitizer && \
34019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34021 "RANLIB=$${RANLIB}" \
34022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34023 distclean) \
34024 || exit 1
34026 @endif target-libsanitizer
34028 .PHONY: maybe-maintainer-clean-target-libsanitizer maintainer-clean-target-libsanitizer
34029 maybe-maintainer-clean-target-libsanitizer:
34030 @if target-libsanitizer
34031 maybe-maintainer-clean-target-libsanitizer: maintainer-clean-target-libsanitizer
34033 maintainer-clean-target-libsanitizer:
34034 @: $(MAKE); $(unstage)
34035 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
34036 r=`${PWD_COMMAND}`; export r; \
34037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34038 $(RAW_CXX_TARGET_EXPORTS) \
34039 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libsanitizer" ; \
34040 for flag in $(EXTRA_TARGET_FLAGS); do \
34041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34042 done; \
34043 (cd $(TARGET_SUBDIR)/libsanitizer && \
34044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34046 "RANLIB=$${RANLIB}" \
34047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34048 maintainer-clean) \
34049 || exit 1
34051 @endif target-libsanitizer
34057 .PHONY: configure-target-libssp maybe-configure-target-libssp
34058 maybe-configure-target-libssp:
34059 @if gcc-bootstrap
34060 configure-target-libssp: stage_current
34061 @endif gcc-bootstrap
34062 @if target-libssp
34063 maybe-configure-target-libssp: configure-target-libssp
34064 configure-target-libssp:
34065 @: $(MAKE); $(unstage)
34066 @r=`${PWD_COMMAND}`; export r; \
34067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34068 echo "Checking multilib configuration for libssp..."; \
34069 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
34070 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
34071 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
34072 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
34073 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
34074 else \
34075 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
34076 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
34077 fi; \
34078 else \
34079 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
34080 fi; \
34081 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
34082 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
34083 $(NORMAL_TARGET_EXPORTS) \
34084 echo Configuring in $(TARGET_SUBDIR)/libssp; \
34085 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
34086 case $(srcdir) in \
34087 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34088 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
34089 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34090 esac; \
34091 srcdiroption="--srcdir=$${topdir}/libssp"; \
34092 libsrcdir="$$s/libssp"; \
34093 rm -f no-such-file || : ; \
34094 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34095 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34096 --target=${target_alias} $${srcdiroption} \
34097 || exit 1
34098 @endif target-libssp
34104 .PHONY: all-target-libssp maybe-all-target-libssp
34105 maybe-all-target-libssp:
34106 @if gcc-bootstrap
34107 all-target-libssp: stage_current
34108 @endif gcc-bootstrap
34109 @if target-libssp
34110 TARGET-target-libssp=all
34111 maybe-all-target-libssp: all-target-libssp
34112 all-target-libssp: configure-target-libssp
34113 @: $(MAKE); $(unstage)
34114 @r=`${PWD_COMMAND}`; export r; \
34115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34116 $(NORMAL_TARGET_EXPORTS) \
34117 (cd $(TARGET_SUBDIR)/libssp && \
34118 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
34119 $(TARGET-target-libssp))
34120 @endif target-libssp
34126 .PHONY: check-target-libssp maybe-check-target-libssp
34127 maybe-check-target-libssp:
34128 @if target-libssp
34129 maybe-check-target-libssp: check-target-libssp
34131 check-target-libssp:
34132 @: $(MAKE); $(unstage)
34133 @r=`${PWD_COMMAND}`; export r; \
34134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34135 $(NORMAL_TARGET_EXPORTS) \
34136 (cd $(TARGET_SUBDIR)/libssp && \
34137 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34139 @endif target-libssp
34141 .PHONY: install-target-libssp maybe-install-target-libssp
34142 maybe-install-target-libssp:
34143 @if target-libssp
34144 maybe-install-target-libssp: install-target-libssp
34146 install-target-libssp: installdirs
34147 @: $(MAKE); $(unstage)
34148 @r=`${PWD_COMMAND}`; export r; \
34149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34150 $(NORMAL_TARGET_EXPORTS) \
34151 (cd $(TARGET_SUBDIR)/libssp && \
34152 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34154 @endif target-libssp
34156 .PHONY: install-strip-target-libssp maybe-install-strip-target-libssp
34157 maybe-install-strip-target-libssp:
34158 @if target-libssp
34159 maybe-install-strip-target-libssp: install-strip-target-libssp
34161 install-strip-target-libssp: installdirs
34162 @: $(MAKE); $(unstage)
34163 @r=`${PWD_COMMAND}`; export r; \
34164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34165 $(NORMAL_TARGET_EXPORTS) \
34166 (cd $(TARGET_SUBDIR)/libssp && \
34167 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
34169 @endif target-libssp
34171 # Other targets (info, dvi, pdf, etc.)
34173 .PHONY: maybe-info-target-libssp info-target-libssp
34174 maybe-info-target-libssp:
34175 @if target-libssp
34176 maybe-info-target-libssp: info-target-libssp
34178 info-target-libssp: \
34179 configure-target-libssp
34180 @: $(MAKE); $(unstage)
34181 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34182 r=`${PWD_COMMAND}`; export r; \
34183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34184 $(NORMAL_TARGET_EXPORTS) \
34185 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
34186 for flag in $(EXTRA_TARGET_FLAGS); do \
34187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34188 done; \
34189 (cd $(TARGET_SUBDIR)/libssp && \
34190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34192 "RANLIB=$${RANLIB}" \
34193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34194 info) \
34195 || exit 1
34197 @endif target-libssp
34199 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
34200 maybe-dvi-target-libssp:
34201 @if target-libssp
34202 maybe-dvi-target-libssp: dvi-target-libssp
34204 dvi-target-libssp: \
34205 configure-target-libssp
34206 @: $(MAKE); $(unstage)
34207 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34208 r=`${PWD_COMMAND}`; export r; \
34209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34210 $(NORMAL_TARGET_EXPORTS) \
34211 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
34212 for flag in $(EXTRA_TARGET_FLAGS); do \
34213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34214 done; \
34215 (cd $(TARGET_SUBDIR)/libssp && \
34216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34218 "RANLIB=$${RANLIB}" \
34219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34220 dvi) \
34221 || exit 1
34223 @endif target-libssp
34225 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
34226 maybe-pdf-target-libssp:
34227 @if target-libssp
34228 maybe-pdf-target-libssp: pdf-target-libssp
34230 pdf-target-libssp: \
34231 configure-target-libssp
34232 @: $(MAKE); $(unstage)
34233 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34234 r=`${PWD_COMMAND}`; export r; \
34235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34236 $(NORMAL_TARGET_EXPORTS) \
34237 echo "Doing pdf in $(TARGET_SUBDIR)/libssp" ; \
34238 for flag in $(EXTRA_TARGET_FLAGS); do \
34239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34240 done; \
34241 (cd $(TARGET_SUBDIR)/libssp && \
34242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34244 "RANLIB=$${RANLIB}" \
34245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34246 pdf) \
34247 || exit 1
34249 @endif target-libssp
34251 .PHONY: maybe-html-target-libssp html-target-libssp
34252 maybe-html-target-libssp:
34253 @if target-libssp
34254 maybe-html-target-libssp: html-target-libssp
34256 html-target-libssp: \
34257 configure-target-libssp
34258 @: $(MAKE); $(unstage)
34259 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34260 r=`${PWD_COMMAND}`; export r; \
34261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34262 $(NORMAL_TARGET_EXPORTS) \
34263 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
34264 for flag in $(EXTRA_TARGET_FLAGS); do \
34265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34266 done; \
34267 (cd $(TARGET_SUBDIR)/libssp && \
34268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34270 "RANLIB=$${RANLIB}" \
34271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34272 html) \
34273 || exit 1
34275 @endif target-libssp
34277 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
34278 maybe-TAGS-target-libssp:
34279 @if target-libssp
34280 maybe-TAGS-target-libssp: TAGS-target-libssp
34282 TAGS-target-libssp: \
34283 configure-target-libssp
34284 @: $(MAKE); $(unstage)
34285 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34286 r=`${PWD_COMMAND}`; export r; \
34287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34288 $(NORMAL_TARGET_EXPORTS) \
34289 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
34290 for flag in $(EXTRA_TARGET_FLAGS); do \
34291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34292 done; \
34293 (cd $(TARGET_SUBDIR)/libssp && \
34294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34296 "RANLIB=$${RANLIB}" \
34297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34298 TAGS) \
34299 || exit 1
34301 @endif target-libssp
34303 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
34304 maybe-install-info-target-libssp:
34305 @if target-libssp
34306 maybe-install-info-target-libssp: install-info-target-libssp
34308 install-info-target-libssp: \
34309 configure-target-libssp \
34310 info-target-libssp
34311 @: $(MAKE); $(unstage)
34312 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34313 r=`${PWD_COMMAND}`; export r; \
34314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34315 $(NORMAL_TARGET_EXPORTS) \
34316 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
34317 for flag in $(EXTRA_TARGET_FLAGS); do \
34318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34319 done; \
34320 (cd $(TARGET_SUBDIR)/libssp && \
34321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34323 "RANLIB=$${RANLIB}" \
34324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34325 install-info) \
34326 || exit 1
34328 @endif target-libssp
34330 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
34331 maybe-install-pdf-target-libssp:
34332 @if target-libssp
34333 maybe-install-pdf-target-libssp: install-pdf-target-libssp
34335 install-pdf-target-libssp: \
34336 configure-target-libssp \
34337 pdf-target-libssp
34338 @: $(MAKE); $(unstage)
34339 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34340 r=`${PWD_COMMAND}`; export r; \
34341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34342 $(NORMAL_TARGET_EXPORTS) \
34343 echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp" ; \
34344 for flag in $(EXTRA_TARGET_FLAGS); do \
34345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34346 done; \
34347 (cd $(TARGET_SUBDIR)/libssp && \
34348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34350 "RANLIB=$${RANLIB}" \
34351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34352 install-pdf) \
34353 || exit 1
34355 @endif target-libssp
34357 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
34358 maybe-install-html-target-libssp:
34359 @if target-libssp
34360 maybe-install-html-target-libssp: install-html-target-libssp
34362 install-html-target-libssp: \
34363 configure-target-libssp \
34364 html-target-libssp
34365 @: $(MAKE); $(unstage)
34366 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34367 r=`${PWD_COMMAND}`; export r; \
34368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34369 $(NORMAL_TARGET_EXPORTS) \
34370 echo "Doing install-html in $(TARGET_SUBDIR)/libssp" ; \
34371 for flag in $(EXTRA_TARGET_FLAGS); do \
34372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34373 done; \
34374 (cd $(TARGET_SUBDIR)/libssp && \
34375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34377 "RANLIB=$${RANLIB}" \
34378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34379 install-html) \
34380 || exit 1
34382 @endif target-libssp
34384 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
34385 maybe-installcheck-target-libssp:
34386 @if target-libssp
34387 maybe-installcheck-target-libssp: installcheck-target-libssp
34389 installcheck-target-libssp: \
34390 configure-target-libssp
34391 @: $(MAKE); $(unstage)
34392 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34393 r=`${PWD_COMMAND}`; export r; \
34394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34395 $(NORMAL_TARGET_EXPORTS) \
34396 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
34397 for flag in $(EXTRA_TARGET_FLAGS); do \
34398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34399 done; \
34400 (cd $(TARGET_SUBDIR)/libssp && \
34401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34403 "RANLIB=$${RANLIB}" \
34404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34405 installcheck) \
34406 || exit 1
34408 @endif target-libssp
34410 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
34411 maybe-mostlyclean-target-libssp:
34412 @if target-libssp
34413 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
34415 mostlyclean-target-libssp:
34416 @: $(MAKE); $(unstage)
34417 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34418 r=`${PWD_COMMAND}`; export r; \
34419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34420 $(NORMAL_TARGET_EXPORTS) \
34421 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
34422 for flag in $(EXTRA_TARGET_FLAGS); do \
34423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34424 done; \
34425 (cd $(TARGET_SUBDIR)/libssp && \
34426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34428 "RANLIB=$${RANLIB}" \
34429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34430 mostlyclean) \
34431 || exit 1
34433 @endif target-libssp
34435 .PHONY: maybe-clean-target-libssp clean-target-libssp
34436 maybe-clean-target-libssp:
34437 @if target-libssp
34438 maybe-clean-target-libssp: clean-target-libssp
34440 clean-target-libssp:
34441 @: $(MAKE); $(unstage)
34442 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34443 r=`${PWD_COMMAND}`; export r; \
34444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34445 $(NORMAL_TARGET_EXPORTS) \
34446 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
34447 for flag in $(EXTRA_TARGET_FLAGS); do \
34448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34449 done; \
34450 (cd $(TARGET_SUBDIR)/libssp && \
34451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34453 "RANLIB=$${RANLIB}" \
34454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34455 clean) \
34456 || exit 1
34458 @endif target-libssp
34460 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
34461 maybe-distclean-target-libssp:
34462 @if target-libssp
34463 maybe-distclean-target-libssp: distclean-target-libssp
34465 distclean-target-libssp:
34466 @: $(MAKE); $(unstage)
34467 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34468 r=`${PWD_COMMAND}`; export r; \
34469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34470 $(NORMAL_TARGET_EXPORTS) \
34471 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
34472 for flag in $(EXTRA_TARGET_FLAGS); do \
34473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34474 done; \
34475 (cd $(TARGET_SUBDIR)/libssp && \
34476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34478 "RANLIB=$${RANLIB}" \
34479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34480 distclean) \
34481 || exit 1
34483 @endif target-libssp
34485 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
34486 maybe-maintainer-clean-target-libssp:
34487 @if target-libssp
34488 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
34490 maintainer-clean-target-libssp:
34491 @: $(MAKE); $(unstage)
34492 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34493 r=`${PWD_COMMAND}`; export r; \
34494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34495 $(NORMAL_TARGET_EXPORTS) \
34496 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
34497 for flag in $(EXTRA_TARGET_FLAGS); do \
34498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34499 done; \
34500 (cd $(TARGET_SUBDIR)/libssp && \
34501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34503 "RANLIB=$${RANLIB}" \
34504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34505 maintainer-clean) \
34506 || exit 1
34508 @endif target-libssp
34514 .PHONY: configure-target-newlib maybe-configure-target-newlib
34515 maybe-configure-target-newlib:
34516 @if gcc-bootstrap
34517 configure-target-newlib: stage_current
34518 @endif gcc-bootstrap
34519 @if target-newlib
34520 maybe-configure-target-newlib: configure-target-newlib
34521 configure-target-newlib:
34522 @: $(MAKE); $(unstage)
34523 @r=`${PWD_COMMAND}`; export r; \
34524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34525 echo "Checking multilib configuration for newlib..."; \
34526 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
34527 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
34528 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
34529 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
34530 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
34531 else \
34532 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
34533 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
34534 fi; \
34535 else \
34536 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
34537 fi; \
34538 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
34539 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
34540 $(NORMAL_TARGET_EXPORTS) \
34541 echo Configuring in $(TARGET_SUBDIR)/newlib; \
34542 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
34543 case $(srcdir) in \
34544 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34545 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
34546 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34547 esac; \
34548 srcdiroption="--srcdir=$${topdir}/newlib"; \
34549 libsrcdir="$$s/newlib"; \
34550 rm -f no-such-file || : ; \
34551 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34552 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34553 --target=${target_alias} $${srcdiroption} \
34554 || exit 1
34555 @endif target-newlib
34561 .PHONY: all-target-newlib maybe-all-target-newlib
34562 maybe-all-target-newlib:
34563 @if gcc-bootstrap
34564 all-target-newlib: stage_current
34565 @endif gcc-bootstrap
34566 @if target-newlib
34567 TARGET-target-newlib=all
34568 maybe-all-target-newlib: all-target-newlib
34569 all-target-newlib: configure-target-newlib
34570 @: $(MAKE); $(unstage)
34571 @r=`${PWD_COMMAND}`; export r; \
34572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34573 $(NORMAL_TARGET_EXPORTS) \
34574 (cd $(TARGET_SUBDIR)/newlib && \
34575 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
34576 $(TARGET-target-newlib))
34577 @endif target-newlib
34583 .PHONY: check-target-newlib maybe-check-target-newlib
34584 maybe-check-target-newlib:
34585 @if target-newlib
34586 maybe-check-target-newlib: check-target-newlib
34588 check-target-newlib:
34589 @: $(MAKE); $(unstage)
34590 @r=`${PWD_COMMAND}`; export r; \
34591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34592 $(NORMAL_TARGET_EXPORTS) \
34593 (cd $(TARGET_SUBDIR)/newlib && \
34594 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34596 @endif target-newlib
34598 .PHONY: install-target-newlib maybe-install-target-newlib
34599 maybe-install-target-newlib:
34600 @if target-newlib
34601 maybe-install-target-newlib: install-target-newlib
34603 install-target-newlib: installdirs
34604 @: $(MAKE); $(unstage)
34605 @r=`${PWD_COMMAND}`; export r; \
34606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34607 $(NORMAL_TARGET_EXPORTS) \
34608 (cd $(TARGET_SUBDIR)/newlib && \
34609 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34611 @endif target-newlib
34613 .PHONY: install-strip-target-newlib maybe-install-strip-target-newlib
34614 maybe-install-strip-target-newlib:
34615 @if target-newlib
34616 maybe-install-strip-target-newlib: install-strip-target-newlib
34618 install-strip-target-newlib: installdirs
34619 @: $(MAKE); $(unstage)
34620 @r=`${PWD_COMMAND}`; export r; \
34621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34622 $(NORMAL_TARGET_EXPORTS) \
34623 (cd $(TARGET_SUBDIR)/newlib && \
34624 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
34626 @endif target-newlib
34628 # Other targets (info, dvi, pdf, etc.)
34630 .PHONY: maybe-info-target-newlib info-target-newlib
34631 maybe-info-target-newlib:
34632 @if target-newlib
34633 maybe-info-target-newlib: info-target-newlib
34635 info-target-newlib: \
34636 configure-target-newlib
34637 @: $(MAKE); $(unstage)
34638 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34639 r=`${PWD_COMMAND}`; export r; \
34640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34641 $(NORMAL_TARGET_EXPORTS) \
34642 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
34643 for flag in $(EXTRA_TARGET_FLAGS); do \
34644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34645 done; \
34646 (cd $(TARGET_SUBDIR)/newlib && \
34647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34649 "RANLIB=$${RANLIB}" \
34650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34651 info) \
34652 || exit 1
34654 @endif target-newlib
34656 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
34657 maybe-dvi-target-newlib:
34658 @if target-newlib
34659 maybe-dvi-target-newlib: dvi-target-newlib
34661 dvi-target-newlib: \
34662 configure-target-newlib
34663 @: $(MAKE); $(unstage)
34664 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34665 r=`${PWD_COMMAND}`; export r; \
34666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34667 $(NORMAL_TARGET_EXPORTS) \
34668 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
34669 for flag in $(EXTRA_TARGET_FLAGS); do \
34670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34671 done; \
34672 (cd $(TARGET_SUBDIR)/newlib && \
34673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34675 "RANLIB=$${RANLIB}" \
34676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34677 dvi) \
34678 || exit 1
34680 @endif target-newlib
34682 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
34683 maybe-pdf-target-newlib:
34684 @if target-newlib
34685 maybe-pdf-target-newlib: pdf-target-newlib
34687 pdf-target-newlib: \
34688 configure-target-newlib
34689 @: $(MAKE); $(unstage)
34690 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34691 r=`${PWD_COMMAND}`; export r; \
34692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34693 $(NORMAL_TARGET_EXPORTS) \
34694 echo "Doing pdf in $(TARGET_SUBDIR)/newlib" ; \
34695 for flag in $(EXTRA_TARGET_FLAGS); do \
34696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34697 done; \
34698 (cd $(TARGET_SUBDIR)/newlib && \
34699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34701 "RANLIB=$${RANLIB}" \
34702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34703 pdf) \
34704 || exit 1
34706 @endif target-newlib
34708 .PHONY: maybe-html-target-newlib html-target-newlib
34709 maybe-html-target-newlib:
34710 @if target-newlib
34711 maybe-html-target-newlib: html-target-newlib
34713 html-target-newlib: \
34714 configure-target-newlib
34715 @: $(MAKE); $(unstage)
34716 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34717 r=`${PWD_COMMAND}`; export r; \
34718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34719 $(NORMAL_TARGET_EXPORTS) \
34720 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
34721 for flag in $(EXTRA_TARGET_FLAGS); do \
34722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34723 done; \
34724 (cd $(TARGET_SUBDIR)/newlib && \
34725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34727 "RANLIB=$${RANLIB}" \
34728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34729 html) \
34730 || exit 1
34732 @endif target-newlib
34734 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
34735 maybe-TAGS-target-newlib:
34736 @if target-newlib
34737 maybe-TAGS-target-newlib: TAGS-target-newlib
34739 TAGS-target-newlib: \
34740 configure-target-newlib
34741 @: $(MAKE); $(unstage)
34742 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34743 r=`${PWD_COMMAND}`; export r; \
34744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34745 $(NORMAL_TARGET_EXPORTS) \
34746 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
34747 for flag in $(EXTRA_TARGET_FLAGS); do \
34748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34749 done; \
34750 (cd $(TARGET_SUBDIR)/newlib && \
34751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34753 "RANLIB=$${RANLIB}" \
34754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34755 TAGS) \
34756 || exit 1
34758 @endif target-newlib
34760 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
34761 maybe-install-info-target-newlib:
34762 @if target-newlib
34763 maybe-install-info-target-newlib: install-info-target-newlib
34765 install-info-target-newlib: \
34766 configure-target-newlib \
34767 info-target-newlib
34768 @: $(MAKE); $(unstage)
34769 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34770 r=`${PWD_COMMAND}`; export r; \
34771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34772 $(NORMAL_TARGET_EXPORTS) \
34773 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
34774 for flag in $(EXTRA_TARGET_FLAGS); do \
34775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34776 done; \
34777 (cd $(TARGET_SUBDIR)/newlib && \
34778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34780 "RANLIB=$${RANLIB}" \
34781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34782 install-info) \
34783 || exit 1
34785 @endif target-newlib
34787 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
34788 maybe-install-pdf-target-newlib:
34789 @if target-newlib
34790 maybe-install-pdf-target-newlib: install-pdf-target-newlib
34792 install-pdf-target-newlib: \
34793 configure-target-newlib \
34794 pdf-target-newlib
34795 @: $(MAKE); $(unstage)
34796 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34797 r=`${PWD_COMMAND}`; export r; \
34798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34799 $(NORMAL_TARGET_EXPORTS) \
34800 echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib" ; \
34801 for flag in $(EXTRA_TARGET_FLAGS); do \
34802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34803 done; \
34804 (cd $(TARGET_SUBDIR)/newlib && \
34805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34807 "RANLIB=$${RANLIB}" \
34808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34809 install-pdf) \
34810 || exit 1
34812 @endif target-newlib
34814 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
34815 maybe-install-html-target-newlib:
34816 @if target-newlib
34817 maybe-install-html-target-newlib: install-html-target-newlib
34819 install-html-target-newlib: \
34820 configure-target-newlib \
34821 html-target-newlib
34822 @: $(MAKE); $(unstage)
34823 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34824 r=`${PWD_COMMAND}`; export r; \
34825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34826 $(NORMAL_TARGET_EXPORTS) \
34827 echo "Doing install-html in $(TARGET_SUBDIR)/newlib" ; \
34828 for flag in $(EXTRA_TARGET_FLAGS); do \
34829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34830 done; \
34831 (cd $(TARGET_SUBDIR)/newlib && \
34832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34834 "RANLIB=$${RANLIB}" \
34835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34836 install-html) \
34837 || exit 1
34839 @endif target-newlib
34841 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
34842 maybe-installcheck-target-newlib:
34843 @if target-newlib
34844 maybe-installcheck-target-newlib: installcheck-target-newlib
34846 installcheck-target-newlib: \
34847 configure-target-newlib
34848 @: $(MAKE); $(unstage)
34849 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34850 r=`${PWD_COMMAND}`; export r; \
34851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34852 $(NORMAL_TARGET_EXPORTS) \
34853 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
34854 for flag in $(EXTRA_TARGET_FLAGS); do \
34855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34856 done; \
34857 (cd $(TARGET_SUBDIR)/newlib && \
34858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34860 "RANLIB=$${RANLIB}" \
34861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34862 installcheck) \
34863 || exit 1
34865 @endif target-newlib
34867 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
34868 maybe-mostlyclean-target-newlib:
34869 @if target-newlib
34870 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
34872 mostlyclean-target-newlib:
34873 @: $(MAKE); $(unstage)
34874 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34875 r=`${PWD_COMMAND}`; export r; \
34876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34877 $(NORMAL_TARGET_EXPORTS) \
34878 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
34879 for flag in $(EXTRA_TARGET_FLAGS); do \
34880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34881 done; \
34882 (cd $(TARGET_SUBDIR)/newlib && \
34883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34885 "RANLIB=$${RANLIB}" \
34886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34887 mostlyclean) \
34888 || exit 1
34890 @endif target-newlib
34892 .PHONY: maybe-clean-target-newlib clean-target-newlib
34893 maybe-clean-target-newlib:
34894 @if target-newlib
34895 maybe-clean-target-newlib: clean-target-newlib
34897 clean-target-newlib:
34898 @: $(MAKE); $(unstage)
34899 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34900 r=`${PWD_COMMAND}`; export r; \
34901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34902 $(NORMAL_TARGET_EXPORTS) \
34903 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
34904 for flag in $(EXTRA_TARGET_FLAGS); do \
34905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34906 done; \
34907 (cd $(TARGET_SUBDIR)/newlib && \
34908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34910 "RANLIB=$${RANLIB}" \
34911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34912 clean) \
34913 || exit 1
34915 @endif target-newlib
34917 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
34918 maybe-distclean-target-newlib:
34919 @if target-newlib
34920 maybe-distclean-target-newlib: distclean-target-newlib
34922 distclean-target-newlib:
34923 @: $(MAKE); $(unstage)
34924 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34925 r=`${PWD_COMMAND}`; export r; \
34926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34927 $(NORMAL_TARGET_EXPORTS) \
34928 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
34929 for flag in $(EXTRA_TARGET_FLAGS); do \
34930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34931 done; \
34932 (cd $(TARGET_SUBDIR)/newlib && \
34933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34935 "RANLIB=$${RANLIB}" \
34936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34937 distclean) \
34938 || exit 1
34940 @endif target-newlib
34942 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
34943 maybe-maintainer-clean-target-newlib:
34944 @if target-newlib
34945 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
34947 maintainer-clean-target-newlib:
34948 @: $(MAKE); $(unstage)
34949 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34950 r=`${PWD_COMMAND}`; export r; \
34951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34952 $(NORMAL_TARGET_EXPORTS) \
34953 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
34954 for flag in $(EXTRA_TARGET_FLAGS); do \
34955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34956 done; \
34957 (cd $(TARGET_SUBDIR)/newlib && \
34958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34960 "RANLIB=$${RANLIB}" \
34961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34962 maintainer-clean) \
34963 || exit 1
34965 @endif target-newlib
34971 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
34972 maybe-configure-target-libgcc:
34973 @if gcc-bootstrap
34974 configure-target-libgcc: stage_current
34975 @endif gcc-bootstrap
34976 @if target-libgcc
34977 maybe-configure-target-libgcc: configure-target-libgcc
34978 configure-target-libgcc:
34979 @r=`${PWD_COMMAND}`; export r; \
34980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34981 echo "Checking multilib configuration for libgcc..."; \
34982 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
34983 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
34984 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
34985 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
34986 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
34987 else \
34988 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
34989 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
34990 fi; \
34991 else \
34992 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
34993 fi; \
34994 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
34995 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
34996 $(NORMAL_TARGET_EXPORTS) \
34997 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
34998 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
34999 case $(srcdir) in \
35000 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35001 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
35002 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35003 esac; \
35004 srcdiroption="--srcdir=$${topdir}/libgcc"; \
35005 libsrcdir="$$s/libgcc"; \
35006 rm -f no-such-file || : ; \
35007 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35008 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35009 --target=${target_alias} $${srcdiroption} \
35010 || exit 1
35011 @endif target-libgcc
35015 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
35016 maybe-configure-stage1-target-libgcc:
35017 @if target-libgcc-bootstrap
35018 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
35019 configure-stage1-target-libgcc:
35020 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
35021 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
35022 @r=`${PWD_COMMAND}`; export r; \
35023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35024 TFLAGS="$(STAGE1_TFLAGS)"; \
35025 echo "Checking multilib configuration for libgcc..."; \
35026 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
35027 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35028 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35029 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
35030 else \
35031 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
35032 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35033 fi; \
35034 else \
35035 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35036 fi; \
35037 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
35038 $(NORMAL_TARGET_EXPORTS) \
35039 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
35040 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
35041 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
35042 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc ; \
35043 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
35044 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
35045 case $(srcdir) in \
35046 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35047 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
35048 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35049 esac; \
35050 srcdiroption="--srcdir=$${topdir}/libgcc"; \
35051 libsrcdir="$$s/libgcc"; \
35052 $(SHELL) $${libsrcdir}/configure \
35053 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35054 --target=${target_alias} $${srcdiroption} \
35055 $(STAGE1_CONFIGURE_FLAGS)
35056 @endif target-libgcc-bootstrap
35058 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
35059 maybe-configure-stage2-target-libgcc:
35060 @if target-libgcc-bootstrap
35061 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
35062 configure-stage2-target-libgcc:
35063 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
35064 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
35065 @r=`${PWD_COMMAND}`; export r; \
35066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35067 TFLAGS="$(STAGE2_TFLAGS)"; \
35068 echo "Checking multilib configuration for libgcc..."; \
35069 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
35070 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35071 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35072 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
35073 else \
35074 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
35075 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35076 fi; \
35077 else \
35078 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35079 fi; \
35080 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
35081 $(NORMAL_TARGET_EXPORTS) \
35083 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
35084 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
35085 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
35086 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc ; \
35087 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
35088 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
35089 case $(srcdir) in \
35090 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35091 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
35092 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35093 esac; \
35094 srcdiroption="--srcdir=$${topdir}/libgcc"; \
35095 libsrcdir="$$s/libgcc"; \
35096 $(SHELL) $${libsrcdir}/configure \
35097 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35098 --target=${target_alias} $${srcdiroption} \
35099 --with-build-libsubdir=$(HOST_SUBDIR) \
35100 $(STAGE2_CONFIGURE_FLAGS)
35101 @endif target-libgcc-bootstrap
35103 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
35104 maybe-configure-stage3-target-libgcc:
35105 @if target-libgcc-bootstrap
35106 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
35107 configure-stage3-target-libgcc:
35108 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
35109 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
35110 @r=`${PWD_COMMAND}`; export r; \
35111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35112 TFLAGS="$(STAGE3_TFLAGS)"; \
35113 echo "Checking multilib configuration for libgcc..."; \
35114 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
35115 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35116 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35117 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
35118 else \
35119 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
35120 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35121 fi; \
35122 else \
35123 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35124 fi; \
35125 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
35126 $(NORMAL_TARGET_EXPORTS) \
35128 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
35129 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
35130 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
35131 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc ; \
35132 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
35133 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
35134 case $(srcdir) in \
35135 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35136 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
35137 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35138 esac; \
35139 srcdiroption="--srcdir=$${topdir}/libgcc"; \
35140 libsrcdir="$$s/libgcc"; \
35141 $(SHELL) $${libsrcdir}/configure \
35142 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35143 --target=${target_alias} $${srcdiroption} \
35144 --with-build-libsubdir=$(HOST_SUBDIR) \
35145 $(STAGE3_CONFIGURE_FLAGS)
35146 @endif target-libgcc-bootstrap
35148 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
35149 maybe-configure-stage4-target-libgcc:
35150 @if target-libgcc-bootstrap
35151 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
35152 configure-stage4-target-libgcc:
35153 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
35154 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
35155 @r=`${PWD_COMMAND}`; export r; \
35156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35157 TFLAGS="$(STAGE4_TFLAGS)"; \
35158 echo "Checking multilib configuration for libgcc..."; \
35159 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
35160 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35161 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35162 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
35163 else \
35164 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
35165 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35166 fi; \
35167 else \
35168 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35169 fi; \
35170 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
35171 $(NORMAL_TARGET_EXPORTS) \
35173 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
35174 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
35175 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
35176 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc ; \
35177 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
35178 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
35179 case $(srcdir) in \
35180 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35181 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
35182 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35183 esac; \
35184 srcdiroption="--srcdir=$${topdir}/libgcc"; \
35185 libsrcdir="$$s/libgcc"; \
35186 $(SHELL) $${libsrcdir}/configure \
35187 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35188 --target=${target_alias} $${srcdiroption} \
35189 --with-build-libsubdir=$(HOST_SUBDIR) \
35190 $(STAGE4_CONFIGURE_FLAGS)
35191 @endif target-libgcc-bootstrap
35193 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
35194 maybe-configure-stageprofile-target-libgcc:
35195 @if target-libgcc-bootstrap
35196 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
35197 configure-stageprofile-target-libgcc:
35198 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
35199 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
35200 @r=`${PWD_COMMAND}`; export r; \
35201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35202 TFLAGS="$(STAGEprofile_TFLAGS)"; \
35203 echo "Checking multilib configuration for libgcc..."; \
35204 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
35205 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35206 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35207 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
35208 else \
35209 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
35210 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35211 fi; \
35212 else \
35213 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35214 fi; \
35215 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
35216 $(NORMAL_TARGET_EXPORTS) \
35218 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
35219 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
35220 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
35221 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc ; \
35222 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
35223 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
35224 case $(srcdir) in \
35225 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35226 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
35227 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35228 esac; \
35229 srcdiroption="--srcdir=$${topdir}/libgcc"; \
35230 libsrcdir="$$s/libgcc"; \
35231 $(SHELL) $${libsrcdir}/configure \
35232 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35233 --target=${target_alias} $${srcdiroption} \
35234 --with-build-libsubdir=$(HOST_SUBDIR) \
35235 $(STAGEprofile_CONFIGURE_FLAGS)
35236 @endif target-libgcc-bootstrap
35238 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
35239 maybe-configure-stagefeedback-target-libgcc:
35240 @if target-libgcc-bootstrap
35241 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
35242 configure-stagefeedback-target-libgcc:
35243 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
35244 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
35245 @r=`${PWD_COMMAND}`; export r; \
35246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35247 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
35248 echo "Checking multilib configuration for libgcc..."; \
35249 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
35250 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35251 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35252 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
35253 else \
35254 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
35255 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35256 fi; \
35257 else \
35258 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35259 fi; \
35260 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
35261 $(NORMAL_TARGET_EXPORTS) \
35263 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
35264 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
35265 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
35266 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc ; \
35267 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
35268 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
35269 case $(srcdir) in \
35270 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35271 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
35272 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35273 esac; \
35274 srcdiroption="--srcdir=$${topdir}/libgcc"; \
35275 libsrcdir="$$s/libgcc"; \
35276 $(SHELL) $${libsrcdir}/configure \
35277 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35278 --target=${target_alias} $${srcdiroption} \
35279 --with-build-libsubdir=$(HOST_SUBDIR) \
35280 $(STAGEfeedback_CONFIGURE_FLAGS)
35281 @endif target-libgcc-bootstrap
35287 .PHONY: all-target-libgcc maybe-all-target-libgcc
35288 maybe-all-target-libgcc:
35289 @if gcc-bootstrap
35290 all-target-libgcc: stage_current
35291 @endif gcc-bootstrap
35292 @if target-libgcc
35293 TARGET-target-libgcc=all
35294 maybe-all-target-libgcc: all-target-libgcc
35295 all-target-libgcc: configure-target-libgcc
35296 @r=`${PWD_COMMAND}`; export r; \
35297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35298 $(NORMAL_TARGET_EXPORTS) \
35299 (cd $(TARGET_SUBDIR)/libgcc && \
35300 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35301 $(TARGET-target-libgcc))
35302 @endif target-libgcc
35306 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
35307 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
35308 maybe-all-stage1-target-libgcc:
35309 maybe-clean-stage1-target-libgcc:
35310 @if target-libgcc-bootstrap
35311 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
35312 all-stage1: all-stage1-target-libgcc
35313 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
35314 all-stage1-target-libgcc: configure-stage1-target-libgcc
35315 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
35316 @r=`${PWD_COMMAND}`; export r; \
35317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35318 TFLAGS="$(STAGE1_TFLAGS)"; \
35319 $(NORMAL_TARGET_EXPORTS) \
35320 cd $(TARGET_SUBDIR)/libgcc && \
35321 $(MAKE) $(BASE_FLAGS_TO_PASS) \
35322 CFLAGS="$(CFLAGS_FOR_TARGET)" \
35323 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
35324 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
35325 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
35326 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
35327 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
35328 $(EXTRA_TARGET_FLAGS) \
35330 TFLAGS="$(STAGE1_TFLAGS)" \
35331 $(TARGET-stage1-target-libgcc)
35333 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
35334 clean-stage1: clean-stage1-target-libgcc
35335 clean-stage1-target-libgcc:
35336 @if [ $(current_stage) = stage1 ]; then \
35337 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
35338 else \
35339 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
35340 $(MAKE) stage1-start; \
35341 fi; \
35342 cd $(TARGET_SUBDIR)/libgcc && \
35343 $(MAKE) $(EXTRA_TARGET_FLAGS) \
35344 clean
35345 @endif target-libgcc-bootstrap
35348 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
35349 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
35350 maybe-all-stage2-target-libgcc:
35351 maybe-clean-stage2-target-libgcc:
35352 @if target-libgcc-bootstrap
35353 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
35354 all-stage2: all-stage2-target-libgcc
35355 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
35356 all-stage2-target-libgcc: configure-stage2-target-libgcc
35357 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
35358 @r=`${PWD_COMMAND}`; export r; \
35359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35360 TFLAGS="$(STAGE2_TFLAGS)"; \
35361 $(NORMAL_TARGET_EXPORTS) \
35363 cd $(TARGET_SUBDIR)/libgcc && \
35364 $(MAKE) $(BASE_FLAGS_TO_PASS) \
35365 CFLAGS="$(CFLAGS_FOR_TARGET)" \
35366 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
35367 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
35368 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
35369 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
35370 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
35371 $(EXTRA_TARGET_FLAGS) \
35372 TFLAGS="$(STAGE2_TFLAGS)" \
35373 $(TARGET-stage2-target-libgcc)
35375 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
35376 clean-stage2: clean-stage2-target-libgcc
35377 clean-stage2-target-libgcc:
35378 @if [ $(current_stage) = stage2 ]; then \
35379 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
35380 else \
35381 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
35382 $(MAKE) stage2-start; \
35383 fi; \
35384 cd $(TARGET_SUBDIR)/libgcc && \
35385 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
35386 @endif target-libgcc-bootstrap
35389 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
35390 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
35391 maybe-all-stage3-target-libgcc:
35392 maybe-clean-stage3-target-libgcc:
35393 @if target-libgcc-bootstrap
35394 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
35395 all-stage3: all-stage3-target-libgcc
35396 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
35397 all-stage3-target-libgcc: configure-stage3-target-libgcc
35398 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
35399 @r=`${PWD_COMMAND}`; export r; \
35400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35401 TFLAGS="$(STAGE3_TFLAGS)"; \
35402 $(NORMAL_TARGET_EXPORTS) \
35404 cd $(TARGET_SUBDIR)/libgcc && \
35405 $(MAKE) $(BASE_FLAGS_TO_PASS) \
35406 CFLAGS="$(CFLAGS_FOR_TARGET)" \
35407 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
35408 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
35409 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
35410 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
35411 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
35412 $(EXTRA_TARGET_FLAGS) \
35413 TFLAGS="$(STAGE3_TFLAGS)" \
35414 $(TARGET-stage3-target-libgcc)
35416 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
35417 clean-stage3: clean-stage3-target-libgcc
35418 clean-stage3-target-libgcc:
35419 @if [ $(current_stage) = stage3 ]; then \
35420 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
35421 else \
35422 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
35423 $(MAKE) stage3-start; \
35424 fi; \
35425 cd $(TARGET_SUBDIR)/libgcc && \
35426 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
35427 @endif target-libgcc-bootstrap
35430 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
35431 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
35432 maybe-all-stage4-target-libgcc:
35433 maybe-clean-stage4-target-libgcc:
35434 @if target-libgcc-bootstrap
35435 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
35436 all-stage4: all-stage4-target-libgcc
35437 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
35438 all-stage4-target-libgcc: configure-stage4-target-libgcc
35439 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
35440 @r=`${PWD_COMMAND}`; export r; \
35441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35442 TFLAGS="$(STAGE4_TFLAGS)"; \
35443 $(NORMAL_TARGET_EXPORTS) \
35445 cd $(TARGET_SUBDIR)/libgcc && \
35446 $(MAKE) $(BASE_FLAGS_TO_PASS) \
35447 CFLAGS="$(CFLAGS_FOR_TARGET)" \
35448 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
35449 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
35450 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
35451 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
35452 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
35453 $(EXTRA_TARGET_FLAGS) \
35454 TFLAGS="$(STAGE4_TFLAGS)" \
35455 $(TARGET-stage4-target-libgcc)
35457 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
35458 clean-stage4: clean-stage4-target-libgcc
35459 clean-stage4-target-libgcc:
35460 @if [ $(current_stage) = stage4 ]; then \
35461 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
35462 else \
35463 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
35464 $(MAKE) stage4-start; \
35465 fi; \
35466 cd $(TARGET_SUBDIR)/libgcc && \
35467 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
35468 @endif target-libgcc-bootstrap
35471 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
35472 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
35473 maybe-all-stageprofile-target-libgcc:
35474 maybe-clean-stageprofile-target-libgcc:
35475 @if target-libgcc-bootstrap
35476 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
35477 all-stageprofile: all-stageprofile-target-libgcc
35478 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
35479 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
35480 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
35481 @r=`${PWD_COMMAND}`; export r; \
35482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35483 TFLAGS="$(STAGEprofile_TFLAGS)"; \
35484 $(NORMAL_TARGET_EXPORTS) \
35486 cd $(TARGET_SUBDIR)/libgcc && \
35487 $(MAKE) $(BASE_FLAGS_TO_PASS) \
35488 CFLAGS="$(CFLAGS_FOR_TARGET)" \
35489 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
35490 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
35491 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
35492 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
35493 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
35494 $(EXTRA_TARGET_FLAGS) \
35495 TFLAGS="$(STAGEprofile_TFLAGS)" \
35496 $(TARGET-stageprofile-target-libgcc)
35498 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
35499 clean-stageprofile: clean-stageprofile-target-libgcc
35500 clean-stageprofile-target-libgcc:
35501 @if [ $(current_stage) = stageprofile ]; then \
35502 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
35503 else \
35504 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
35505 $(MAKE) stageprofile-start; \
35506 fi; \
35507 cd $(TARGET_SUBDIR)/libgcc && \
35508 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
35509 @endif target-libgcc-bootstrap
35512 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
35513 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
35514 maybe-all-stagefeedback-target-libgcc:
35515 maybe-clean-stagefeedback-target-libgcc:
35516 @if target-libgcc-bootstrap
35517 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
35518 all-stagefeedback: all-stagefeedback-target-libgcc
35519 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
35520 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
35521 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
35522 @r=`${PWD_COMMAND}`; export r; \
35523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35524 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
35525 $(NORMAL_TARGET_EXPORTS) \
35527 cd $(TARGET_SUBDIR)/libgcc && \
35528 $(MAKE) $(BASE_FLAGS_TO_PASS) \
35529 CFLAGS="$(CFLAGS_FOR_TARGET)" \
35530 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
35531 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
35532 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
35533 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
35534 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
35535 $(EXTRA_TARGET_FLAGS) \
35536 TFLAGS="$(STAGEfeedback_TFLAGS)" \
35537 $(TARGET-stagefeedback-target-libgcc)
35539 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
35540 clean-stagefeedback: clean-stagefeedback-target-libgcc
35541 clean-stagefeedback-target-libgcc:
35542 @if [ $(current_stage) = stagefeedback ]; then \
35543 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
35544 else \
35545 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
35546 $(MAKE) stagefeedback-start; \
35547 fi; \
35548 cd $(TARGET_SUBDIR)/libgcc && \
35549 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
35550 @endif target-libgcc-bootstrap
35557 .PHONY: check-target-libgcc maybe-check-target-libgcc
35558 maybe-check-target-libgcc:
35559 @if target-libgcc
35560 maybe-check-target-libgcc: check-target-libgcc
35562 # Dummy target for uncheckable module.
35563 check-target-libgcc:
35565 @endif target-libgcc
35567 .PHONY: install-target-libgcc maybe-install-target-libgcc
35568 maybe-install-target-libgcc:
35569 @if target-libgcc
35570 maybe-install-target-libgcc: install-target-libgcc
35572 install-target-libgcc: installdirs
35573 @: $(MAKE); $(unstage)
35574 @r=`${PWD_COMMAND}`; export r; \
35575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35576 $(NORMAL_TARGET_EXPORTS) \
35577 (cd $(TARGET_SUBDIR)/libgcc && \
35578 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35580 @endif target-libgcc
35582 .PHONY: install-strip-target-libgcc maybe-install-strip-target-libgcc
35583 maybe-install-strip-target-libgcc:
35584 @if target-libgcc
35585 maybe-install-strip-target-libgcc: install-strip-target-libgcc
35587 install-strip-target-libgcc: installdirs
35588 @: $(MAKE); $(unstage)
35589 @r=`${PWD_COMMAND}`; export r; \
35590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35591 $(NORMAL_TARGET_EXPORTS) \
35592 (cd $(TARGET_SUBDIR)/libgcc && \
35593 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35595 @endif target-libgcc
35597 # Other targets (info, dvi, pdf, etc.)
35599 .PHONY: maybe-info-target-libgcc info-target-libgcc
35600 maybe-info-target-libgcc:
35601 @if target-libgcc
35602 maybe-info-target-libgcc: info-target-libgcc
35604 info-target-libgcc: \
35605 configure-target-libgcc
35606 @: $(MAKE); $(unstage)
35607 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35608 r=`${PWD_COMMAND}`; export r; \
35609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35610 $(NORMAL_TARGET_EXPORTS) \
35611 echo "Doing info in $(TARGET_SUBDIR)/libgcc" ; \
35612 for flag in $(EXTRA_TARGET_FLAGS); do \
35613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35614 done; \
35615 (cd $(TARGET_SUBDIR)/libgcc && \
35616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35618 "RANLIB=$${RANLIB}" \
35619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35620 info) \
35621 || exit 1
35623 @endif target-libgcc
35625 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
35626 maybe-dvi-target-libgcc:
35627 @if target-libgcc
35628 maybe-dvi-target-libgcc: dvi-target-libgcc
35630 dvi-target-libgcc: \
35631 configure-target-libgcc
35632 @: $(MAKE); $(unstage)
35633 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35634 r=`${PWD_COMMAND}`; export r; \
35635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35636 $(NORMAL_TARGET_EXPORTS) \
35637 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc" ; \
35638 for flag in $(EXTRA_TARGET_FLAGS); do \
35639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35640 done; \
35641 (cd $(TARGET_SUBDIR)/libgcc && \
35642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35644 "RANLIB=$${RANLIB}" \
35645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35646 dvi) \
35647 || exit 1
35649 @endif target-libgcc
35651 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
35652 maybe-pdf-target-libgcc:
35653 @if target-libgcc
35654 maybe-pdf-target-libgcc: pdf-target-libgcc
35656 pdf-target-libgcc: \
35657 configure-target-libgcc
35658 @: $(MAKE); $(unstage)
35659 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35660 r=`${PWD_COMMAND}`; export r; \
35661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35662 $(NORMAL_TARGET_EXPORTS) \
35663 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc" ; \
35664 for flag in $(EXTRA_TARGET_FLAGS); do \
35665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35666 done; \
35667 (cd $(TARGET_SUBDIR)/libgcc && \
35668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35670 "RANLIB=$${RANLIB}" \
35671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35672 pdf) \
35673 || exit 1
35675 @endif target-libgcc
35677 .PHONY: maybe-html-target-libgcc html-target-libgcc
35678 maybe-html-target-libgcc:
35679 @if target-libgcc
35680 maybe-html-target-libgcc: html-target-libgcc
35682 html-target-libgcc: \
35683 configure-target-libgcc
35684 @: $(MAKE); $(unstage)
35685 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35686 r=`${PWD_COMMAND}`; export r; \
35687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35688 $(NORMAL_TARGET_EXPORTS) \
35689 echo "Doing html in $(TARGET_SUBDIR)/libgcc" ; \
35690 for flag in $(EXTRA_TARGET_FLAGS); do \
35691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35692 done; \
35693 (cd $(TARGET_SUBDIR)/libgcc && \
35694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35696 "RANLIB=$${RANLIB}" \
35697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35698 html) \
35699 || exit 1
35701 @endif target-libgcc
35703 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
35704 maybe-TAGS-target-libgcc:
35705 @if target-libgcc
35706 maybe-TAGS-target-libgcc: TAGS-target-libgcc
35708 TAGS-target-libgcc: \
35709 configure-target-libgcc
35710 @: $(MAKE); $(unstage)
35711 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35712 r=`${PWD_COMMAND}`; export r; \
35713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35714 $(NORMAL_TARGET_EXPORTS) \
35715 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc" ; \
35716 for flag in $(EXTRA_TARGET_FLAGS); do \
35717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35718 done; \
35719 (cd $(TARGET_SUBDIR)/libgcc && \
35720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35722 "RANLIB=$${RANLIB}" \
35723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35724 TAGS) \
35725 || exit 1
35727 @endif target-libgcc
35729 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
35730 maybe-install-info-target-libgcc:
35731 @if target-libgcc
35732 maybe-install-info-target-libgcc: install-info-target-libgcc
35734 install-info-target-libgcc: \
35735 configure-target-libgcc \
35736 info-target-libgcc
35737 @: $(MAKE); $(unstage)
35738 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35739 r=`${PWD_COMMAND}`; export r; \
35740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35741 $(NORMAL_TARGET_EXPORTS) \
35742 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc" ; \
35743 for flag in $(EXTRA_TARGET_FLAGS); do \
35744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35745 done; \
35746 (cd $(TARGET_SUBDIR)/libgcc && \
35747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35749 "RANLIB=$${RANLIB}" \
35750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35751 install-info) \
35752 || exit 1
35754 @endif target-libgcc
35756 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
35757 maybe-install-pdf-target-libgcc:
35758 @if target-libgcc
35759 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
35761 install-pdf-target-libgcc: \
35762 configure-target-libgcc \
35763 pdf-target-libgcc
35764 @: $(MAKE); $(unstage)
35765 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35766 r=`${PWD_COMMAND}`; export r; \
35767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35768 $(NORMAL_TARGET_EXPORTS) \
35769 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc" ; \
35770 for flag in $(EXTRA_TARGET_FLAGS); do \
35771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35772 done; \
35773 (cd $(TARGET_SUBDIR)/libgcc && \
35774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35776 "RANLIB=$${RANLIB}" \
35777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35778 install-pdf) \
35779 || exit 1
35781 @endif target-libgcc
35783 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
35784 maybe-install-html-target-libgcc:
35785 @if target-libgcc
35786 maybe-install-html-target-libgcc: install-html-target-libgcc
35788 install-html-target-libgcc: \
35789 configure-target-libgcc \
35790 html-target-libgcc
35791 @: $(MAKE); $(unstage)
35792 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35793 r=`${PWD_COMMAND}`; export r; \
35794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35795 $(NORMAL_TARGET_EXPORTS) \
35796 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc" ; \
35797 for flag in $(EXTRA_TARGET_FLAGS); do \
35798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35799 done; \
35800 (cd $(TARGET_SUBDIR)/libgcc && \
35801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35803 "RANLIB=$${RANLIB}" \
35804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35805 install-html) \
35806 || exit 1
35808 @endif target-libgcc
35810 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
35811 maybe-installcheck-target-libgcc:
35812 @if target-libgcc
35813 maybe-installcheck-target-libgcc: installcheck-target-libgcc
35815 installcheck-target-libgcc: \
35816 configure-target-libgcc
35817 @: $(MAKE); $(unstage)
35818 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35819 r=`${PWD_COMMAND}`; export r; \
35820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35821 $(NORMAL_TARGET_EXPORTS) \
35822 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc" ; \
35823 for flag in $(EXTRA_TARGET_FLAGS); do \
35824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35825 done; \
35826 (cd $(TARGET_SUBDIR)/libgcc && \
35827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35829 "RANLIB=$${RANLIB}" \
35830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35831 installcheck) \
35832 || exit 1
35834 @endif target-libgcc
35836 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
35837 maybe-mostlyclean-target-libgcc:
35838 @if target-libgcc
35839 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
35841 mostlyclean-target-libgcc:
35842 @: $(MAKE); $(unstage)
35843 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35844 r=`${PWD_COMMAND}`; export r; \
35845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35846 $(NORMAL_TARGET_EXPORTS) \
35847 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc" ; \
35848 for flag in $(EXTRA_TARGET_FLAGS); do \
35849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35850 done; \
35851 (cd $(TARGET_SUBDIR)/libgcc && \
35852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35854 "RANLIB=$${RANLIB}" \
35855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35856 mostlyclean) \
35857 || exit 1
35859 @endif target-libgcc
35861 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
35862 maybe-clean-target-libgcc:
35863 @if target-libgcc
35864 maybe-clean-target-libgcc: clean-target-libgcc
35866 clean-target-libgcc:
35867 @: $(MAKE); $(unstage)
35868 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35869 r=`${PWD_COMMAND}`; export r; \
35870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35871 $(NORMAL_TARGET_EXPORTS) \
35872 echo "Doing clean in $(TARGET_SUBDIR)/libgcc" ; \
35873 for flag in $(EXTRA_TARGET_FLAGS); do \
35874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35875 done; \
35876 (cd $(TARGET_SUBDIR)/libgcc && \
35877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35879 "RANLIB=$${RANLIB}" \
35880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35881 clean) \
35882 || exit 1
35884 @endif target-libgcc
35886 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
35887 maybe-distclean-target-libgcc:
35888 @if target-libgcc
35889 maybe-distclean-target-libgcc: distclean-target-libgcc
35891 distclean-target-libgcc:
35892 @: $(MAKE); $(unstage)
35893 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35894 r=`${PWD_COMMAND}`; export r; \
35895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35896 $(NORMAL_TARGET_EXPORTS) \
35897 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc" ; \
35898 for flag in $(EXTRA_TARGET_FLAGS); do \
35899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35900 done; \
35901 (cd $(TARGET_SUBDIR)/libgcc && \
35902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35904 "RANLIB=$${RANLIB}" \
35905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35906 distclean) \
35907 || exit 1
35909 @endif target-libgcc
35911 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
35912 maybe-maintainer-clean-target-libgcc:
35913 @if target-libgcc
35914 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
35916 maintainer-clean-target-libgcc:
35917 @: $(MAKE); $(unstage)
35918 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35919 r=`${PWD_COMMAND}`; export r; \
35920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35921 $(NORMAL_TARGET_EXPORTS) \
35922 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc" ; \
35923 for flag in $(EXTRA_TARGET_FLAGS); do \
35924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35925 done; \
35926 (cd $(TARGET_SUBDIR)/libgcc && \
35927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35929 "RANLIB=$${RANLIB}" \
35930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35931 maintainer-clean) \
35932 || exit 1
35934 @endif target-libgcc
35940 .PHONY: configure-target-libbacktrace maybe-configure-target-libbacktrace
35941 maybe-configure-target-libbacktrace:
35942 @if gcc-bootstrap
35943 configure-target-libbacktrace: stage_current
35944 @endif gcc-bootstrap
35945 @if target-libbacktrace
35946 maybe-configure-target-libbacktrace: configure-target-libbacktrace
35947 configure-target-libbacktrace:
35948 @: $(MAKE); $(unstage)
35949 @r=`${PWD_COMMAND}`; export r; \
35950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35951 echo "Checking multilib configuration for libbacktrace..."; \
35952 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace ; \
35953 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null ; \
35954 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
35955 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
35956 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
35957 else \
35958 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
35959 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
35960 fi; \
35961 else \
35962 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
35963 fi; \
35964 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
35965 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace ; \
35966 $(NORMAL_TARGET_EXPORTS) \
35967 echo Configuring in $(TARGET_SUBDIR)/libbacktrace; \
35968 cd "$(TARGET_SUBDIR)/libbacktrace" || exit 1; \
35969 case $(srcdir) in \
35970 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35971 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
35972 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35973 esac; \
35974 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
35975 libsrcdir="$$s/libbacktrace"; \
35976 rm -f no-such-file || : ; \
35977 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35978 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35979 --target=${target_alias} $${srcdiroption} \
35980 || exit 1
35981 @endif target-libbacktrace
35987 .PHONY: all-target-libbacktrace maybe-all-target-libbacktrace
35988 maybe-all-target-libbacktrace:
35989 @if gcc-bootstrap
35990 all-target-libbacktrace: stage_current
35991 @endif gcc-bootstrap
35992 @if target-libbacktrace
35993 TARGET-target-libbacktrace=all
35994 maybe-all-target-libbacktrace: all-target-libbacktrace
35995 all-target-libbacktrace: configure-target-libbacktrace
35996 @: $(MAKE); $(unstage)
35997 @r=`${PWD_COMMAND}`; export r; \
35998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35999 $(NORMAL_TARGET_EXPORTS) \
36000 (cd $(TARGET_SUBDIR)/libbacktrace && \
36001 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36002 $(TARGET-target-libbacktrace))
36003 @endif target-libbacktrace
36009 .PHONY: check-target-libbacktrace maybe-check-target-libbacktrace
36010 maybe-check-target-libbacktrace:
36011 @if target-libbacktrace
36012 maybe-check-target-libbacktrace: check-target-libbacktrace
36014 check-target-libbacktrace:
36015 @: $(MAKE); $(unstage)
36016 @r=`${PWD_COMMAND}`; export r; \
36017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36018 $(NORMAL_TARGET_EXPORTS) \
36019 (cd $(TARGET_SUBDIR)/libbacktrace && \
36020 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36022 @endif target-libbacktrace
36024 .PHONY: install-target-libbacktrace maybe-install-target-libbacktrace
36025 maybe-install-target-libbacktrace:
36026 @if target-libbacktrace
36027 maybe-install-target-libbacktrace: install-target-libbacktrace
36029 install-target-libbacktrace: installdirs
36030 @: $(MAKE); $(unstage)
36031 @r=`${PWD_COMMAND}`; export r; \
36032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36033 $(NORMAL_TARGET_EXPORTS) \
36034 (cd $(TARGET_SUBDIR)/libbacktrace && \
36035 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36037 @endif target-libbacktrace
36039 .PHONY: install-strip-target-libbacktrace maybe-install-strip-target-libbacktrace
36040 maybe-install-strip-target-libbacktrace:
36041 @if target-libbacktrace
36042 maybe-install-strip-target-libbacktrace: install-strip-target-libbacktrace
36044 install-strip-target-libbacktrace: installdirs
36045 @: $(MAKE); $(unstage)
36046 @r=`${PWD_COMMAND}`; export r; \
36047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36048 $(NORMAL_TARGET_EXPORTS) \
36049 (cd $(TARGET_SUBDIR)/libbacktrace && \
36050 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36052 @endif target-libbacktrace
36054 # Other targets (info, dvi, pdf, etc.)
36056 .PHONY: maybe-info-target-libbacktrace info-target-libbacktrace
36057 maybe-info-target-libbacktrace:
36058 @if target-libbacktrace
36059 maybe-info-target-libbacktrace: info-target-libbacktrace
36061 info-target-libbacktrace: \
36062 configure-target-libbacktrace
36063 @: $(MAKE); $(unstage)
36064 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
36065 r=`${PWD_COMMAND}`; export r; \
36066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36067 $(NORMAL_TARGET_EXPORTS) \
36068 echo "Doing info in $(TARGET_SUBDIR)/libbacktrace" ; \
36069 for flag in $(EXTRA_TARGET_FLAGS); do \
36070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36071 done; \
36072 (cd $(TARGET_SUBDIR)/libbacktrace && \
36073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36075 "RANLIB=$${RANLIB}" \
36076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36077 info) \
36078 || exit 1
36080 @endif target-libbacktrace
36082 .PHONY: maybe-dvi-target-libbacktrace dvi-target-libbacktrace
36083 maybe-dvi-target-libbacktrace:
36084 @if target-libbacktrace
36085 maybe-dvi-target-libbacktrace: dvi-target-libbacktrace
36087 dvi-target-libbacktrace: \
36088 configure-target-libbacktrace
36089 @: $(MAKE); $(unstage)
36090 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
36091 r=`${PWD_COMMAND}`; export r; \
36092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36093 $(NORMAL_TARGET_EXPORTS) \
36094 echo "Doing dvi in $(TARGET_SUBDIR)/libbacktrace" ; \
36095 for flag in $(EXTRA_TARGET_FLAGS); do \
36096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36097 done; \
36098 (cd $(TARGET_SUBDIR)/libbacktrace && \
36099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36101 "RANLIB=$${RANLIB}" \
36102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36103 dvi) \
36104 || exit 1
36106 @endif target-libbacktrace
36108 .PHONY: maybe-pdf-target-libbacktrace pdf-target-libbacktrace
36109 maybe-pdf-target-libbacktrace:
36110 @if target-libbacktrace
36111 maybe-pdf-target-libbacktrace: pdf-target-libbacktrace
36113 pdf-target-libbacktrace: \
36114 configure-target-libbacktrace
36115 @: $(MAKE); $(unstage)
36116 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
36117 r=`${PWD_COMMAND}`; export r; \
36118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36119 $(NORMAL_TARGET_EXPORTS) \
36120 echo "Doing pdf in $(TARGET_SUBDIR)/libbacktrace" ; \
36121 for flag in $(EXTRA_TARGET_FLAGS); do \
36122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36123 done; \
36124 (cd $(TARGET_SUBDIR)/libbacktrace && \
36125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36127 "RANLIB=$${RANLIB}" \
36128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36129 pdf) \
36130 || exit 1
36132 @endif target-libbacktrace
36134 .PHONY: maybe-html-target-libbacktrace html-target-libbacktrace
36135 maybe-html-target-libbacktrace:
36136 @if target-libbacktrace
36137 maybe-html-target-libbacktrace: html-target-libbacktrace
36139 html-target-libbacktrace: \
36140 configure-target-libbacktrace
36141 @: $(MAKE); $(unstage)
36142 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
36143 r=`${PWD_COMMAND}`; export r; \
36144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36145 $(NORMAL_TARGET_EXPORTS) \
36146 echo "Doing html in $(TARGET_SUBDIR)/libbacktrace" ; \
36147 for flag in $(EXTRA_TARGET_FLAGS); do \
36148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36149 done; \
36150 (cd $(TARGET_SUBDIR)/libbacktrace && \
36151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36153 "RANLIB=$${RANLIB}" \
36154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36155 html) \
36156 || exit 1
36158 @endif target-libbacktrace
36160 .PHONY: maybe-TAGS-target-libbacktrace TAGS-target-libbacktrace
36161 maybe-TAGS-target-libbacktrace:
36162 @if target-libbacktrace
36163 maybe-TAGS-target-libbacktrace: TAGS-target-libbacktrace
36165 TAGS-target-libbacktrace: \
36166 configure-target-libbacktrace
36167 @: $(MAKE); $(unstage)
36168 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
36169 r=`${PWD_COMMAND}`; export r; \
36170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36171 $(NORMAL_TARGET_EXPORTS) \
36172 echo "Doing TAGS in $(TARGET_SUBDIR)/libbacktrace" ; \
36173 for flag in $(EXTRA_TARGET_FLAGS); do \
36174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36175 done; \
36176 (cd $(TARGET_SUBDIR)/libbacktrace && \
36177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36179 "RANLIB=$${RANLIB}" \
36180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36181 TAGS) \
36182 || exit 1
36184 @endif target-libbacktrace
36186 .PHONY: maybe-install-info-target-libbacktrace install-info-target-libbacktrace
36187 maybe-install-info-target-libbacktrace:
36188 @if target-libbacktrace
36189 maybe-install-info-target-libbacktrace: install-info-target-libbacktrace
36191 install-info-target-libbacktrace: \
36192 configure-target-libbacktrace \
36193 info-target-libbacktrace
36194 @: $(MAKE); $(unstage)
36195 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
36196 r=`${PWD_COMMAND}`; export r; \
36197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36198 $(NORMAL_TARGET_EXPORTS) \
36199 echo "Doing install-info in $(TARGET_SUBDIR)/libbacktrace" ; \
36200 for flag in $(EXTRA_TARGET_FLAGS); do \
36201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36202 done; \
36203 (cd $(TARGET_SUBDIR)/libbacktrace && \
36204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36206 "RANLIB=$${RANLIB}" \
36207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36208 install-info) \
36209 || exit 1
36211 @endif target-libbacktrace
36213 .PHONY: maybe-install-pdf-target-libbacktrace install-pdf-target-libbacktrace
36214 maybe-install-pdf-target-libbacktrace:
36215 @if target-libbacktrace
36216 maybe-install-pdf-target-libbacktrace: install-pdf-target-libbacktrace
36218 install-pdf-target-libbacktrace: \
36219 configure-target-libbacktrace \
36220 pdf-target-libbacktrace
36221 @: $(MAKE); $(unstage)
36222 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
36223 r=`${PWD_COMMAND}`; export r; \
36224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36225 $(NORMAL_TARGET_EXPORTS) \
36226 echo "Doing install-pdf in $(TARGET_SUBDIR)/libbacktrace" ; \
36227 for flag in $(EXTRA_TARGET_FLAGS); do \
36228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36229 done; \
36230 (cd $(TARGET_SUBDIR)/libbacktrace && \
36231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36233 "RANLIB=$${RANLIB}" \
36234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36235 install-pdf) \
36236 || exit 1
36238 @endif target-libbacktrace
36240 .PHONY: maybe-install-html-target-libbacktrace install-html-target-libbacktrace
36241 maybe-install-html-target-libbacktrace:
36242 @if target-libbacktrace
36243 maybe-install-html-target-libbacktrace: install-html-target-libbacktrace
36245 install-html-target-libbacktrace: \
36246 configure-target-libbacktrace \
36247 html-target-libbacktrace
36248 @: $(MAKE); $(unstage)
36249 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
36250 r=`${PWD_COMMAND}`; export r; \
36251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36252 $(NORMAL_TARGET_EXPORTS) \
36253 echo "Doing install-html in $(TARGET_SUBDIR)/libbacktrace" ; \
36254 for flag in $(EXTRA_TARGET_FLAGS); do \
36255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36256 done; \
36257 (cd $(TARGET_SUBDIR)/libbacktrace && \
36258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36260 "RANLIB=$${RANLIB}" \
36261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36262 install-html) \
36263 || exit 1
36265 @endif target-libbacktrace
36267 .PHONY: maybe-installcheck-target-libbacktrace installcheck-target-libbacktrace
36268 maybe-installcheck-target-libbacktrace:
36269 @if target-libbacktrace
36270 maybe-installcheck-target-libbacktrace: installcheck-target-libbacktrace
36272 installcheck-target-libbacktrace: \
36273 configure-target-libbacktrace
36274 @: $(MAKE); $(unstage)
36275 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
36276 r=`${PWD_COMMAND}`; export r; \
36277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36278 $(NORMAL_TARGET_EXPORTS) \
36279 echo "Doing installcheck in $(TARGET_SUBDIR)/libbacktrace" ; \
36280 for flag in $(EXTRA_TARGET_FLAGS); do \
36281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36282 done; \
36283 (cd $(TARGET_SUBDIR)/libbacktrace && \
36284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36286 "RANLIB=$${RANLIB}" \
36287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36288 installcheck) \
36289 || exit 1
36291 @endif target-libbacktrace
36293 .PHONY: maybe-mostlyclean-target-libbacktrace mostlyclean-target-libbacktrace
36294 maybe-mostlyclean-target-libbacktrace:
36295 @if target-libbacktrace
36296 maybe-mostlyclean-target-libbacktrace: mostlyclean-target-libbacktrace
36298 mostlyclean-target-libbacktrace:
36299 @: $(MAKE); $(unstage)
36300 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
36301 r=`${PWD_COMMAND}`; export r; \
36302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36303 $(NORMAL_TARGET_EXPORTS) \
36304 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libbacktrace" ; \
36305 for flag in $(EXTRA_TARGET_FLAGS); do \
36306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36307 done; \
36308 (cd $(TARGET_SUBDIR)/libbacktrace && \
36309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36311 "RANLIB=$${RANLIB}" \
36312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36313 mostlyclean) \
36314 || exit 1
36316 @endif target-libbacktrace
36318 .PHONY: maybe-clean-target-libbacktrace clean-target-libbacktrace
36319 maybe-clean-target-libbacktrace:
36320 @if target-libbacktrace
36321 maybe-clean-target-libbacktrace: clean-target-libbacktrace
36323 clean-target-libbacktrace:
36324 @: $(MAKE); $(unstage)
36325 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
36326 r=`${PWD_COMMAND}`; export r; \
36327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36328 $(NORMAL_TARGET_EXPORTS) \
36329 echo "Doing clean in $(TARGET_SUBDIR)/libbacktrace" ; \
36330 for flag in $(EXTRA_TARGET_FLAGS); do \
36331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36332 done; \
36333 (cd $(TARGET_SUBDIR)/libbacktrace && \
36334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36336 "RANLIB=$${RANLIB}" \
36337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36338 clean) \
36339 || exit 1
36341 @endif target-libbacktrace
36343 .PHONY: maybe-distclean-target-libbacktrace distclean-target-libbacktrace
36344 maybe-distclean-target-libbacktrace:
36345 @if target-libbacktrace
36346 maybe-distclean-target-libbacktrace: distclean-target-libbacktrace
36348 distclean-target-libbacktrace:
36349 @: $(MAKE); $(unstage)
36350 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
36351 r=`${PWD_COMMAND}`; export r; \
36352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36353 $(NORMAL_TARGET_EXPORTS) \
36354 echo "Doing distclean in $(TARGET_SUBDIR)/libbacktrace" ; \
36355 for flag in $(EXTRA_TARGET_FLAGS); do \
36356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36357 done; \
36358 (cd $(TARGET_SUBDIR)/libbacktrace && \
36359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36361 "RANLIB=$${RANLIB}" \
36362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36363 distclean) \
36364 || exit 1
36366 @endif target-libbacktrace
36368 .PHONY: maybe-maintainer-clean-target-libbacktrace maintainer-clean-target-libbacktrace
36369 maybe-maintainer-clean-target-libbacktrace:
36370 @if target-libbacktrace
36371 maybe-maintainer-clean-target-libbacktrace: maintainer-clean-target-libbacktrace
36373 maintainer-clean-target-libbacktrace:
36374 @: $(MAKE); $(unstage)
36375 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
36376 r=`${PWD_COMMAND}`; export r; \
36377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36378 $(NORMAL_TARGET_EXPORTS) \
36379 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libbacktrace" ; \
36380 for flag in $(EXTRA_TARGET_FLAGS); do \
36381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36382 done; \
36383 (cd $(TARGET_SUBDIR)/libbacktrace && \
36384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36386 "RANLIB=$${RANLIB}" \
36387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36388 maintainer-clean) \
36389 || exit 1
36391 @endif target-libbacktrace
36397 .PHONY: configure-target-libquadmath maybe-configure-target-libquadmath
36398 maybe-configure-target-libquadmath:
36399 @if gcc-bootstrap
36400 configure-target-libquadmath: stage_current
36401 @endif gcc-bootstrap
36402 @if target-libquadmath
36403 maybe-configure-target-libquadmath: configure-target-libquadmath
36404 configure-target-libquadmath:
36405 @: $(MAKE); $(unstage)
36406 @r=`${PWD_COMMAND}`; export r; \
36407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36408 echo "Checking multilib configuration for libquadmath..."; \
36409 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
36410 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libquadmath/multilib.tmp 2> /dev/null ; \
36411 if test -r $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
36412 if cmp -s $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
36413 rm -f $(TARGET_SUBDIR)/libquadmath/multilib.tmp; \
36414 else \
36415 rm -f $(TARGET_SUBDIR)/libquadmath/Makefile; \
36416 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
36417 fi; \
36418 else \
36419 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
36420 fi; \
36421 test ! -f $(TARGET_SUBDIR)/libquadmath/Makefile || exit 0; \
36422 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
36423 $(NORMAL_TARGET_EXPORTS) \
36424 echo Configuring in $(TARGET_SUBDIR)/libquadmath; \
36425 cd "$(TARGET_SUBDIR)/libquadmath" || exit 1; \
36426 case $(srcdir) in \
36427 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36428 *) topdir=`echo $(TARGET_SUBDIR)/libquadmath/ | \
36429 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36430 esac; \
36431 srcdiroption="--srcdir=$${topdir}/libquadmath"; \
36432 libsrcdir="$$s/libquadmath"; \
36433 rm -f no-such-file || : ; \
36434 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36435 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36436 --target=${target_alias} $${srcdiroption} \
36437 || exit 1
36438 @endif target-libquadmath
36444 .PHONY: all-target-libquadmath maybe-all-target-libquadmath
36445 maybe-all-target-libquadmath:
36446 @if gcc-bootstrap
36447 all-target-libquadmath: stage_current
36448 @endif gcc-bootstrap
36449 @if target-libquadmath
36450 TARGET-target-libquadmath=all
36451 maybe-all-target-libquadmath: all-target-libquadmath
36452 all-target-libquadmath: configure-target-libquadmath
36453 @: $(MAKE); $(unstage)
36454 @r=`${PWD_COMMAND}`; export r; \
36455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36456 $(NORMAL_TARGET_EXPORTS) \
36457 (cd $(TARGET_SUBDIR)/libquadmath && \
36458 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36459 $(TARGET-target-libquadmath))
36460 @endif target-libquadmath
36466 .PHONY: check-target-libquadmath maybe-check-target-libquadmath
36467 maybe-check-target-libquadmath:
36468 @if target-libquadmath
36469 maybe-check-target-libquadmath: check-target-libquadmath
36471 check-target-libquadmath:
36472 @: $(MAKE); $(unstage)
36473 @r=`${PWD_COMMAND}`; export r; \
36474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36475 $(NORMAL_TARGET_EXPORTS) \
36476 (cd $(TARGET_SUBDIR)/libquadmath && \
36477 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36479 @endif target-libquadmath
36481 .PHONY: install-target-libquadmath maybe-install-target-libquadmath
36482 maybe-install-target-libquadmath:
36483 @if target-libquadmath
36484 maybe-install-target-libquadmath: install-target-libquadmath
36486 install-target-libquadmath: installdirs
36487 @: $(MAKE); $(unstage)
36488 @r=`${PWD_COMMAND}`; export r; \
36489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36490 $(NORMAL_TARGET_EXPORTS) \
36491 (cd $(TARGET_SUBDIR)/libquadmath && \
36492 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36494 @endif target-libquadmath
36496 .PHONY: install-strip-target-libquadmath maybe-install-strip-target-libquadmath
36497 maybe-install-strip-target-libquadmath:
36498 @if target-libquadmath
36499 maybe-install-strip-target-libquadmath: install-strip-target-libquadmath
36501 install-strip-target-libquadmath: installdirs
36502 @: $(MAKE); $(unstage)
36503 @r=`${PWD_COMMAND}`; export r; \
36504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36505 $(NORMAL_TARGET_EXPORTS) \
36506 (cd $(TARGET_SUBDIR)/libquadmath && \
36507 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36509 @endif target-libquadmath
36511 # Other targets (info, dvi, pdf, etc.)
36513 .PHONY: maybe-info-target-libquadmath info-target-libquadmath
36514 maybe-info-target-libquadmath:
36515 @if target-libquadmath
36516 maybe-info-target-libquadmath: info-target-libquadmath
36518 info-target-libquadmath: \
36519 configure-target-libquadmath
36520 @: $(MAKE); $(unstage)
36521 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36522 r=`${PWD_COMMAND}`; export r; \
36523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36524 $(NORMAL_TARGET_EXPORTS) \
36525 echo "Doing info in $(TARGET_SUBDIR)/libquadmath" ; \
36526 for flag in $(EXTRA_TARGET_FLAGS); do \
36527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36528 done; \
36529 (cd $(TARGET_SUBDIR)/libquadmath && \
36530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36532 "RANLIB=$${RANLIB}" \
36533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36534 info) \
36535 || exit 1
36537 @endif target-libquadmath
36539 .PHONY: maybe-dvi-target-libquadmath dvi-target-libquadmath
36540 maybe-dvi-target-libquadmath:
36541 @if target-libquadmath
36542 maybe-dvi-target-libquadmath: dvi-target-libquadmath
36544 dvi-target-libquadmath: \
36545 configure-target-libquadmath
36546 @: $(MAKE); $(unstage)
36547 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36548 r=`${PWD_COMMAND}`; export r; \
36549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36550 $(NORMAL_TARGET_EXPORTS) \
36551 echo "Doing dvi in $(TARGET_SUBDIR)/libquadmath" ; \
36552 for flag in $(EXTRA_TARGET_FLAGS); do \
36553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36554 done; \
36555 (cd $(TARGET_SUBDIR)/libquadmath && \
36556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36558 "RANLIB=$${RANLIB}" \
36559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36560 dvi) \
36561 || exit 1
36563 @endif target-libquadmath
36565 .PHONY: maybe-pdf-target-libquadmath pdf-target-libquadmath
36566 maybe-pdf-target-libquadmath:
36567 @if target-libquadmath
36568 maybe-pdf-target-libquadmath: pdf-target-libquadmath
36570 pdf-target-libquadmath: \
36571 configure-target-libquadmath
36572 @: $(MAKE); $(unstage)
36573 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36574 r=`${PWD_COMMAND}`; export r; \
36575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36576 $(NORMAL_TARGET_EXPORTS) \
36577 echo "Doing pdf in $(TARGET_SUBDIR)/libquadmath" ; \
36578 for flag in $(EXTRA_TARGET_FLAGS); do \
36579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36580 done; \
36581 (cd $(TARGET_SUBDIR)/libquadmath && \
36582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36584 "RANLIB=$${RANLIB}" \
36585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36586 pdf) \
36587 || exit 1
36589 @endif target-libquadmath
36591 .PHONY: maybe-html-target-libquadmath html-target-libquadmath
36592 maybe-html-target-libquadmath:
36593 @if target-libquadmath
36594 maybe-html-target-libquadmath: html-target-libquadmath
36596 html-target-libquadmath: \
36597 configure-target-libquadmath
36598 @: $(MAKE); $(unstage)
36599 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36600 r=`${PWD_COMMAND}`; export r; \
36601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36602 $(NORMAL_TARGET_EXPORTS) \
36603 echo "Doing html in $(TARGET_SUBDIR)/libquadmath" ; \
36604 for flag in $(EXTRA_TARGET_FLAGS); do \
36605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36606 done; \
36607 (cd $(TARGET_SUBDIR)/libquadmath && \
36608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36610 "RANLIB=$${RANLIB}" \
36611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36612 html) \
36613 || exit 1
36615 @endif target-libquadmath
36617 .PHONY: maybe-TAGS-target-libquadmath TAGS-target-libquadmath
36618 maybe-TAGS-target-libquadmath:
36619 @if target-libquadmath
36620 maybe-TAGS-target-libquadmath: TAGS-target-libquadmath
36622 TAGS-target-libquadmath: \
36623 configure-target-libquadmath
36624 @: $(MAKE); $(unstage)
36625 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36626 r=`${PWD_COMMAND}`; export r; \
36627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36628 $(NORMAL_TARGET_EXPORTS) \
36629 echo "Doing TAGS in $(TARGET_SUBDIR)/libquadmath" ; \
36630 for flag in $(EXTRA_TARGET_FLAGS); do \
36631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36632 done; \
36633 (cd $(TARGET_SUBDIR)/libquadmath && \
36634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36636 "RANLIB=$${RANLIB}" \
36637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36638 TAGS) \
36639 || exit 1
36641 @endif target-libquadmath
36643 .PHONY: maybe-install-info-target-libquadmath install-info-target-libquadmath
36644 maybe-install-info-target-libquadmath:
36645 @if target-libquadmath
36646 maybe-install-info-target-libquadmath: install-info-target-libquadmath
36648 install-info-target-libquadmath: \
36649 configure-target-libquadmath \
36650 info-target-libquadmath
36651 @: $(MAKE); $(unstage)
36652 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36653 r=`${PWD_COMMAND}`; export r; \
36654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36655 $(NORMAL_TARGET_EXPORTS) \
36656 echo "Doing install-info in $(TARGET_SUBDIR)/libquadmath" ; \
36657 for flag in $(EXTRA_TARGET_FLAGS); do \
36658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36659 done; \
36660 (cd $(TARGET_SUBDIR)/libquadmath && \
36661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36663 "RANLIB=$${RANLIB}" \
36664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36665 install-info) \
36666 || exit 1
36668 @endif target-libquadmath
36670 .PHONY: maybe-install-pdf-target-libquadmath install-pdf-target-libquadmath
36671 maybe-install-pdf-target-libquadmath:
36672 @if target-libquadmath
36673 maybe-install-pdf-target-libquadmath: install-pdf-target-libquadmath
36675 install-pdf-target-libquadmath: \
36676 configure-target-libquadmath \
36677 pdf-target-libquadmath
36678 @: $(MAKE); $(unstage)
36679 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36680 r=`${PWD_COMMAND}`; export r; \
36681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36682 $(NORMAL_TARGET_EXPORTS) \
36683 echo "Doing install-pdf in $(TARGET_SUBDIR)/libquadmath" ; \
36684 for flag in $(EXTRA_TARGET_FLAGS); do \
36685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36686 done; \
36687 (cd $(TARGET_SUBDIR)/libquadmath && \
36688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36690 "RANLIB=$${RANLIB}" \
36691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36692 install-pdf) \
36693 || exit 1
36695 @endif target-libquadmath
36697 .PHONY: maybe-install-html-target-libquadmath install-html-target-libquadmath
36698 maybe-install-html-target-libquadmath:
36699 @if target-libquadmath
36700 maybe-install-html-target-libquadmath: install-html-target-libquadmath
36702 install-html-target-libquadmath: \
36703 configure-target-libquadmath \
36704 html-target-libquadmath
36705 @: $(MAKE); $(unstage)
36706 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36707 r=`${PWD_COMMAND}`; export r; \
36708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36709 $(NORMAL_TARGET_EXPORTS) \
36710 echo "Doing install-html in $(TARGET_SUBDIR)/libquadmath" ; \
36711 for flag in $(EXTRA_TARGET_FLAGS); do \
36712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36713 done; \
36714 (cd $(TARGET_SUBDIR)/libquadmath && \
36715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36717 "RANLIB=$${RANLIB}" \
36718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36719 install-html) \
36720 || exit 1
36722 @endif target-libquadmath
36724 .PHONY: maybe-installcheck-target-libquadmath installcheck-target-libquadmath
36725 maybe-installcheck-target-libquadmath:
36726 @if target-libquadmath
36727 maybe-installcheck-target-libquadmath: installcheck-target-libquadmath
36729 installcheck-target-libquadmath: \
36730 configure-target-libquadmath
36731 @: $(MAKE); $(unstage)
36732 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36733 r=`${PWD_COMMAND}`; export r; \
36734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36735 $(NORMAL_TARGET_EXPORTS) \
36736 echo "Doing installcheck in $(TARGET_SUBDIR)/libquadmath" ; \
36737 for flag in $(EXTRA_TARGET_FLAGS); do \
36738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36739 done; \
36740 (cd $(TARGET_SUBDIR)/libquadmath && \
36741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36743 "RANLIB=$${RANLIB}" \
36744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36745 installcheck) \
36746 || exit 1
36748 @endif target-libquadmath
36750 .PHONY: maybe-mostlyclean-target-libquadmath mostlyclean-target-libquadmath
36751 maybe-mostlyclean-target-libquadmath:
36752 @if target-libquadmath
36753 maybe-mostlyclean-target-libquadmath: mostlyclean-target-libquadmath
36755 mostlyclean-target-libquadmath:
36756 @: $(MAKE); $(unstage)
36757 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36758 r=`${PWD_COMMAND}`; export r; \
36759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36760 $(NORMAL_TARGET_EXPORTS) \
36761 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libquadmath" ; \
36762 for flag in $(EXTRA_TARGET_FLAGS); do \
36763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36764 done; \
36765 (cd $(TARGET_SUBDIR)/libquadmath && \
36766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36768 "RANLIB=$${RANLIB}" \
36769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36770 mostlyclean) \
36771 || exit 1
36773 @endif target-libquadmath
36775 .PHONY: maybe-clean-target-libquadmath clean-target-libquadmath
36776 maybe-clean-target-libquadmath:
36777 @if target-libquadmath
36778 maybe-clean-target-libquadmath: clean-target-libquadmath
36780 clean-target-libquadmath:
36781 @: $(MAKE); $(unstage)
36782 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36783 r=`${PWD_COMMAND}`; export r; \
36784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36785 $(NORMAL_TARGET_EXPORTS) \
36786 echo "Doing clean in $(TARGET_SUBDIR)/libquadmath" ; \
36787 for flag in $(EXTRA_TARGET_FLAGS); do \
36788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36789 done; \
36790 (cd $(TARGET_SUBDIR)/libquadmath && \
36791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36793 "RANLIB=$${RANLIB}" \
36794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36795 clean) \
36796 || exit 1
36798 @endif target-libquadmath
36800 .PHONY: maybe-distclean-target-libquadmath distclean-target-libquadmath
36801 maybe-distclean-target-libquadmath:
36802 @if target-libquadmath
36803 maybe-distclean-target-libquadmath: distclean-target-libquadmath
36805 distclean-target-libquadmath:
36806 @: $(MAKE); $(unstage)
36807 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36808 r=`${PWD_COMMAND}`; export r; \
36809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36810 $(NORMAL_TARGET_EXPORTS) \
36811 echo "Doing distclean in $(TARGET_SUBDIR)/libquadmath" ; \
36812 for flag in $(EXTRA_TARGET_FLAGS); do \
36813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36814 done; \
36815 (cd $(TARGET_SUBDIR)/libquadmath && \
36816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36818 "RANLIB=$${RANLIB}" \
36819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36820 distclean) \
36821 || exit 1
36823 @endif target-libquadmath
36825 .PHONY: maybe-maintainer-clean-target-libquadmath maintainer-clean-target-libquadmath
36826 maybe-maintainer-clean-target-libquadmath:
36827 @if target-libquadmath
36828 maybe-maintainer-clean-target-libquadmath: maintainer-clean-target-libquadmath
36830 maintainer-clean-target-libquadmath:
36831 @: $(MAKE); $(unstage)
36832 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36833 r=`${PWD_COMMAND}`; export r; \
36834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36835 $(NORMAL_TARGET_EXPORTS) \
36836 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libquadmath" ; \
36837 for flag in $(EXTRA_TARGET_FLAGS); do \
36838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36839 done; \
36840 (cd $(TARGET_SUBDIR)/libquadmath && \
36841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36843 "RANLIB=$${RANLIB}" \
36844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36845 maintainer-clean) \
36846 || exit 1
36848 @endif target-libquadmath
36854 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
36855 maybe-configure-target-libgfortran:
36856 @if gcc-bootstrap
36857 configure-target-libgfortran: stage_current
36858 @endif gcc-bootstrap
36859 @if target-libgfortran
36860 maybe-configure-target-libgfortran: configure-target-libgfortran
36861 configure-target-libgfortran:
36862 @: $(MAKE); $(unstage)
36863 @r=`${PWD_COMMAND}`; export r; \
36864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36865 echo "Checking multilib configuration for libgfortran..."; \
36866 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
36867 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
36868 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
36869 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
36870 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
36871 else \
36872 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
36873 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
36874 fi; \
36875 else \
36876 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
36877 fi; \
36878 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
36879 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
36880 $(NORMAL_TARGET_EXPORTS) \
36881 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
36882 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
36883 case $(srcdir) in \
36884 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36885 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
36886 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36887 esac; \
36888 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
36889 libsrcdir="$$s/libgfortran"; \
36890 rm -f no-such-file || : ; \
36891 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36892 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36893 --target=${target_alias} $${srcdiroption} \
36894 || exit 1
36895 @endif target-libgfortran
36901 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
36902 maybe-all-target-libgfortran:
36903 @if gcc-bootstrap
36904 all-target-libgfortran: stage_current
36905 @endif gcc-bootstrap
36906 @if target-libgfortran
36907 TARGET-target-libgfortran=all
36908 maybe-all-target-libgfortran: all-target-libgfortran
36909 all-target-libgfortran: configure-target-libgfortran
36910 @: $(MAKE); $(unstage)
36911 @r=`${PWD_COMMAND}`; export r; \
36912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36913 $(NORMAL_TARGET_EXPORTS) \
36914 (cd $(TARGET_SUBDIR)/libgfortran && \
36915 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36916 $(TARGET-target-libgfortran))
36917 @endif target-libgfortran
36923 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
36924 maybe-check-target-libgfortran:
36925 @if target-libgfortran
36926 maybe-check-target-libgfortran: check-target-libgfortran
36928 check-target-libgfortran:
36929 @: $(MAKE); $(unstage)
36930 @r=`${PWD_COMMAND}`; export r; \
36931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36932 $(NORMAL_TARGET_EXPORTS) \
36933 (cd $(TARGET_SUBDIR)/libgfortran && \
36934 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36936 @endif target-libgfortran
36938 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
36939 maybe-install-target-libgfortran:
36940 @if target-libgfortran
36941 maybe-install-target-libgfortran: install-target-libgfortran
36943 install-target-libgfortran: installdirs
36944 @: $(MAKE); $(unstage)
36945 @r=`${PWD_COMMAND}`; export r; \
36946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36947 $(NORMAL_TARGET_EXPORTS) \
36948 (cd $(TARGET_SUBDIR)/libgfortran && \
36949 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36951 @endif target-libgfortran
36953 .PHONY: install-strip-target-libgfortran maybe-install-strip-target-libgfortran
36954 maybe-install-strip-target-libgfortran:
36955 @if target-libgfortran
36956 maybe-install-strip-target-libgfortran: install-strip-target-libgfortran
36958 install-strip-target-libgfortran: installdirs
36959 @: $(MAKE); $(unstage)
36960 @r=`${PWD_COMMAND}`; export r; \
36961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36962 $(NORMAL_TARGET_EXPORTS) \
36963 (cd $(TARGET_SUBDIR)/libgfortran && \
36964 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36966 @endif target-libgfortran
36968 # Other targets (info, dvi, pdf, etc.)
36970 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
36971 maybe-info-target-libgfortran:
36972 @if target-libgfortran
36973 maybe-info-target-libgfortran: info-target-libgfortran
36975 info-target-libgfortran: \
36976 configure-target-libgfortran
36977 @: $(MAKE); $(unstage)
36978 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36979 r=`${PWD_COMMAND}`; export r; \
36980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36981 $(NORMAL_TARGET_EXPORTS) \
36982 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
36983 for flag in $(EXTRA_TARGET_FLAGS); do \
36984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36985 done; \
36986 (cd $(TARGET_SUBDIR)/libgfortran && \
36987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36989 "RANLIB=$${RANLIB}" \
36990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36991 info) \
36992 || exit 1
36994 @endif target-libgfortran
36996 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
36997 maybe-dvi-target-libgfortran:
36998 @if target-libgfortran
36999 maybe-dvi-target-libgfortran: dvi-target-libgfortran
37001 dvi-target-libgfortran: \
37002 configure-target-libgfortran
37003 @: $(MAKE); $(unstage)
37004 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
37005 r=`${PWD_COMMAND}`; export r; \
37006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37007 $(NORMAL_TARGET_EXPORTS) \
37008 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
37009 for flag in $(EXTRA_TARGET_FLAGS); do \
37010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37011 done; \
37012 (cd $(TARGET_SUBDIR)/libgfortran && \
37013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37015 "RANLIB=$${RANLIB}" \
37016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37017 dvi) \
37018 || exit 1
37020 @endif target-libgfortran
37022 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
37023 maybe-pdf-target-libgfortran:
37024 @if target-libgfortran
37025 maybe-pdf-target-libgfortran: pdf-target-libgfortran
37027 pdf-target-libgfortran: \
37028 configure-target-libgfortran
37029 @: $(MAKE); $(unstage)
37030 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
37031 r=`${PWD_COMMAND}`; export r; \
37032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37033 $(NORMAL_TARGET_EXPORTS) \
37034 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran" ; \
37035 for flag in $(EXTRA_TARGET_FLAGS); do \
37036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37037 done; \
37038 (cd $(TARGET_SUBDIR)/libgfortran && \
37039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37041 "RANLIB=$${RANLIB}" \
37042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37043 pdf) \
37044 || exit 1
37046 @endif target-libgfortran
37048 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
37049 maybe-html-target-libgfortran:
37050 @if target-libgfortran
37051 maybe-html-target-libgfortran: html-target-libgfortran
37053 html-target-libgfortran: \
37054 configure-target-libgfortran
37055 @: $(MAKE); $(unstage)
37056 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
37057 r=`${PWD_COMMAND}`; export r; \
37058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37059 $(NORMAL_TARGET_EXPORTS) \
37060 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
37061 for flag in $(EXTRA_TARGET_FLAGS); do \
37062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37063 done; \
37064 (cd $(TARGET_SUBDIR)/libgfortran && \
37065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37067 "RANLIB=$${RANLIB}" \
37068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37069 html) \
37070 || exit 1
37072 @endif target-libgfortran
37074 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
37075 maybe-TAGS-target-libgfortran:
37076 @if target-libgfortran
37077 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
37079 TAGS-target-libgfortran: \
37080 configure-target-libgfortran
37081 @: $(MAKE); $(unstage)
37082 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
37083 r=`${PWD_COMMAND}`; export r; \
37084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37085 $(NORMAL_TARGET_EXPORTS) \
37086 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
37087 for flag in $(EXTRA_TARGET_FLAGS); do \
37088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37089 done; \
37090 (cd $(TARGET_SUBDIR)/libgfortran && \
37091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37093 "RANLIB=$${RANLIB}" \
37094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37095 TAGS) \
37096 || exit 1
37098 @endif target-libgfortran
37100 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
37101 maybe-install-info-target-libgfortran:
37102 @if target-libgfortran
37103 maybe-install-info-target-libgfortran: install-info-target-libgfortran
37105 install-info-target-libgfortran: \
37106 configure-target-libgfortran \
37107 info-target-libgfortran
37108 @: $(MAKE); $(unstage)
37109 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
37110 r=`${PWD_COMMAND}`; export r; \
37111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37112 $(NORMAL_TARGET_EXPORTS) \
37113 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
37114 for flag in $(EXTRA_TARGET_FLAGS); do \
37115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37116 done; \
37117 (cd $(TARGET_SUBDIR)/libgfortran && \
37118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37120 "RANLIB=$${RANLIB}" \
37121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37122 install-info) \
37123 || exit 1
37125 @endif target-libgfortran
37127 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
37128 maybe-install-pdf-target-libgfortran:
37129 @if target-libgfortran
37130 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
37132 install-pdf-target-libgfortran: \
37133 configure-target-libgfortran \
37134 pdf-target-libgfortran
37135 @: $(MAKE); $(unstage)
37136 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
37137 r=`${PWD_COMMAND}`; export r; \
37138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37139 $(NORMAL_TARGET_EXPORTS) \
37140 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran" ; \
37141 for flag in $(EXTRA_TARGET_FLAGS); do \
37142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37143 done; \
37144 (cd $(TARGET_SUBDIR)/libgfortran && \
37145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37147 "RANLIB=$${RANLIB}" \
37148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37149 install-pdf) \
37150 || exit 1
37152 @endif target-libgfortran
37154 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
37155 maybe-install-html-target-libgfortran:
37156 @if target-libgfortran
37157 maybe-install-html-target-libgfortran: install-html-target-libgfortran
37159 install-html-target-libgfortran: \
37160 configure-target-libgfortran \
37161 html-target-libgfortran
37162 @: $(MAKE); $(unstage)
37163 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
37164 r=`${PWD_COMMAND}`; export r; \
37165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37166 $(NORMAL_TARGET_EXPORTS) \
37167 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran" ; \
37168 for flag in $(EXTRA_TARGET_FLAGS); do \
37169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37170 done; \
37171 (cd $(TARGET_SUBDIR)/libgfortran && \
37172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37174 "RANLIB=$${RANLIB}" \
37175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37176 install-html) \
37177 || exit 1
37179 @endif target-libgfortran
37181 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
37182 maybe-installcheck-target-libgfortran:
37183 @if target-libgfortran
37184 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
37186 installcheck-target-libgfortran: \
37187 configure-target-libgfortran
37188 @: $(MAKE); $(unstage)
37189 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
37190 r=`${PWD_COMMAND}`; export r; \
37191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37192 $(NORMAL_TARGET_EXPORTS) \
37193 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
37194 for flag in $(EXTRA_TARGET_FLAGS); do \
37195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37196 done; \
37197 (cd $(TARGET_SUBDIR)/libgfortran && \
37198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37200 "RANLIB=$${RANLIB}" \
37201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37202 installcheck) \
37203 || exit 1
37205 @endif target-libgfortran
37207 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
37208 maybe-mostlyclean-target-libgfortran:
37209 @if target-libgfortran
37210 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
37212 mostlyclean-target-libgfortran:
37213 @: $(MAKE); $(unstage)
37214 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
37215 r=`${PWD_COMMAND}`; export r; \
37216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37217 $(NORMAL_TARGET_EXPORTS) \
37218 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
37219 for flag in $(EXTRA_TARGET_FLAGS); do \
37220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37221 done; \
37222 (cd $(TARGET_SUBDIR)/libgfortran && \
37223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37225 "RANLIB=$${RANLIB}" \
37226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37227 mostlyclean) \
37228 || exit 1
37230 @endif target-libgfortran
37232 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
37233 maybe-clean-target-libgfortran:
37234 @if target-libgfortran
37235 maybe-clean-target-libgfortran: clean-target-libgfortran
37237 clean-target-libgfortran:
37238 @: $(MAKE); $(unstage)
37239 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
37240 r=`${PWD_COMMAND}`; export r; \
37241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37242 $(NORMAL_TARGET_EXPORTS) \
37243 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
37244 for flag in $(EXTRA_TARGET_FLAGS); do \
37245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37246 done; \
37247 (cd $(TARGET_SUBDIR)/libgfortran && \
37248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37250 "RANLIB=$${RANLIB}" \
37251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37252 clean) \
37253 || exit 1
37255 @endif target-libgfortran
37257 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
37258 maybe-distclean-target-libgfortran:
37259 @if target-libgfortran
37260 maybe-distclean-target-libgfortran: distclean-target-libgfortran
37262 distclean-target-libgfortran:
37263 @: $(MAKE); $(unstage)
37264 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
37265 r=`${PWD_COMMAND}`; export r; \
37266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37267 $(NORMAL_TARGET_EXPORTS) \
37268 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
37269 for flag in $(EXTRA_TARGET_FLAGS); do \
37270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37271 done; \
37272 (cd $(TARGET_SUBDIR)/libgfortran && \
37273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37275 "RANLIB=$${RANLIB}" \
37276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37277 distclean) \
37278 || exit 1
37280 @endif target-libgfortran
37282 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
37283 maybe-maintainer-clean-target-libgfortran:
37284 @if target-libgfortran
37285 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
37287 maintainer-clean-target-libgfortran:
37288 @: $(MAKE); $(unstage)
37289 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
37290 r=`${PWD_COMMAND}`; export r; \
37291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37292 $(NORMAL_TARGET_EXPORTS) \
37293 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
37294 for flag in $(EXTRA_TARGET_FLAGS); do \
37295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37296 done; \
37297 (cd $(TARGET_SUBDIR)/libgfortran && \
37298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37300 "RANLIB=$${RANLIB}" \
37301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37302 maintainer-clean) \
37303 || exit 1
37305 @endif target-libgfortran
37311 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
37312 maybe-configure-target-libobjc:
37313 @if gcc-bootstrap
37314 configure-target-libobjc: stage_current
37315 @endif gcc-bootstrap
37316 @if target-libobjc
37317 maybe-configure-target-libobjc: configure-target-libobjc
37318 configure-target-libobjc:
37319 @: $(MAKE); $(unstage)
37320 @r=`${PWD_COMMAND}`; export r; \
37321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37322 echo "Checking multilib configuration for libobjc..."; \
37323 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
37324 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
37325 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
37326 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
37327 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
37328 else \
37329 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
37330 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
37331 fi; \
37332 else \
37333 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
37334 fi; \
37335 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
37336 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
37337 $(NORMAL_TARGET_EXPORTS) \
37338 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
37339 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
37340 case $(srcdir) in \
37341 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37342 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
37343 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37344 esac; \
37345 srcdiroption="--srcdir=$${topdir}/libobjc"; \
37346 libsrcdir="$$s/libobjc"; \
37347 rm -f no-such-file || : ; \
37348 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37349 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37350 --target=${target_alias} $${srcdiroption} \
37351 || exit 1
37352 @endif target-libobjc
37358 .PHONY: all-target-libobjc maybe-all-target-libobjc
37359 maybe-all-target-libobjc:
37360 @if gcc-bootstrap
37361 all-target-libobjc: stage_current
37362 @endif gcc-bootstrap
37363 @if target-libobjc
37364 TARGET-target-libobjc=all
37365 maybe-all-target-libobjc: all-target-libobjc
37366 all-target-libobjc: configure-target-libobjc
37367 @: $(MAKE); $(unstage)
37368 @r=`${PWD_COMMAND}`; export r; \
37369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37370 $(NORMAL_TARGET_EXPORTS) \
37371 (cd $(TARGET_SUBDIR)/libobjc && \
37372 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37373 $(TARGET-target-libobjc))
37374 @endif target-libobjc
37380 .PHONY: check-target-libobjc maybe-check-target-libobjc
37381 maybe-check-target-libobjc:
37382 @if target-libobjc
37383 maybe-check-target-libobjc: check-target-libobjc
37385 check-target-libobjc:
37386 @: $(MAKE); $(unstage)
37387 @r=`${PWD_COMMAND}`; export r; \
37388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37389 $(NORMAL_TARGET_EXPORTS) \
37390 (cd $(TARGET_SUBDIR)/libobjc && \
37391 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37393 @endif target-libobjc
37395 .PHONY: install-target-libobjc maybe-install-target-libobjc
37396 maybe-install-target-libobjc:
37397 @if target-libobjc
37398 maybe-install-target-libobjc: install-target-libobjc
37400 install-target-libobjc: installdirs
37401 @: $(MAKE); $(unstage)
37402 @r=`${PWD_COMMAND}`; export r; \
37403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37404 $(NORMAL_TARGET_EXPORTS) \
37405 (cd $(TARGET_SUBDIR)/libobjc && \
37406 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37408 @endif target-libobjc
37410 .PHONY: install-strip-target-libobjc maybe-install-strip-target-libobjc
37411 maybe-install-strip-target-libobjc:
37412 @if target-libobjc
37413 maybe-install-strip-target-libobjc: install-strip-target-libobjc
37415 install-strip-target-libobjc: installdirs
37416 @: $(MAKE); $(unstage)
37417 @r=`${PWD_COMMAND}`; export r; \
37418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37419 $(NORMAL_TARGET_EXPORTS) \
37420 (cd $(TARGET_SUBDIR)/libobjc && \
37421 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37423 @endif target-libobjc
37425 # Other targets (info, dvi, pdf, etc.)
37427 .PHONY: maybe-info-target-libobjc info-target-libobjc
37428 maybe-info-target-libobjc:
37429 @if target-libobjc
37430 maybe-info-target-libobjc: info-target-libobjc
37432 info-target-libobjc: \
37433 configure-target-libobjc
37434 @: $(MAKE); $(unstage)
37435 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37436 r=`${PWD_COMMAND}`; export r; \
37437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37438 $(NORMAL_TARGET_EXPORTS) \
37439 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
37440 for flag in $(EXTRA_TARGET_FLAGS); do \
37441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37442 done; \
37443 (cd $(TARGET_SUBDIR)/libobjc && \
37444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37446 "RANLIB=$${RANLIB}" \
37447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37448 info) \
37449 || exit 1
37451 @endif target-libobjc
37453 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
37454 maybe-dvi-target-libobjc:
37455 @if target-libobjc
37456 maybe-dvi-target-libobjc: dvi-target-libobjc
37458 dvi-target-libobjc: \
37459 configure-target-libobjc
37460 @: $(MAKE); $(unstage)
37461 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37462 r=`${PWD_COMMAND}`; export r; \
37463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37464 $(NORMAL_TARGET_EXPORTS) \
37465 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
37466 for flag in $(EXTRA_TARGET_FLAGS); do \
37467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37468 done; \
37469 (cd $(TARGET_SUBDIR)/libobjc && \
37470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37472 "RANLIB=$${RANLIB}" \
37473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37474 dvi) \
37475 || exit 1
37477 @endif target-libobjc
37479 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
37480 maybe-pdf-target-libobjc:
37481 @if target-libobjc
37482 maybe-pdf-target-libobjc: pdf-target-libobjc
37484 pdf-target-libobjc: \
37485 configure-target-libobjc
37486 @: $(MAKE); $(unstage)
37487 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37488 r=`${PWD_COMMAND}`; export r; \
37489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37490 $(NORMAL_TARGET_EXPORTS) \
37491 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc" ; \
37492 for flag in $(EXTRA_TARGET_FLAGS); do \
37493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37494 done; \
37495 (cd $(TARGET_SUBDIR)/libobjc && \
37496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37498 "RANLIB=$${RANLIB}" \
37499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37500 pdf) \
37501 || exit 1
37503 @endif target-libobjc
37505 .PHONY: maybe-html-target-libobjc html-target-libobjc
37506 maybe-html-target-libobjc:
37507 @if target-libobjc
37508 maybe-html-target-libobjc: html-target-libobjc
37510 html-target-libobjc: \
37511 configure-target-libobjc
37512 @: $(MAKE); $(unstage)
37513 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37514 r=`${PWD_COMMAND}`; export r; \
37515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37516 $(NORMAL_TARGET_EXPORTS) \
37517 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
37518 for flag in $(EXTRA_TARGET_FLAGS); do \
37519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37520 done; \
37521 (cd $(TARGET_SUBDIR)/libobjc && \
37522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37524 "RANLIB=$${RANLIB}" \
37525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37526 html) \
37527 || exit 1
37529 @endif target-libobjc
37531 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
37532 maybe-TAGS-target-libobjc:
37533 @if target-libobjc
37534 maybe-TAGS-target-libobjc: TAGS-target-libobjc
37536 TAGS-target-libobjc: \
37537 configure-target-libobjc
37538 @: $(MAKE); $(unstage)
37539 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37540 r=`${PWD_COMMAND}`; export r; \
37541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37542 $(NORMAL_TARGET_EXPORTS) \
37543 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
37544 for flag in $(EXTRA_TARGET_FLAGS); do \
37545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37546 done; \
37547 (cd $(TARGET_SUBDIR)/libobjc && \
37548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37550 "RANLIB=$${RANLIB}" \
37551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37552 TAGS) \
37553 || exit 1
37555 @endif target-libobjc
37557 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
37558 maybe-install-info-target-libobjc:
37559 @if target-libobjc
37560 maybe-install-info-target-libobjc: install-info-target-libobjc
37562 install-info-target-libobjc: \
37563 configure-target-libobjc \
37564 info-target-libobjc
37565 @: $(MAKE); $(unstage)
37566 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37567 r=`${PWD_COMMAND}`; export r; \
37568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37569 $(NORMAL_TARGET_EXPORTS) \
37570 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
37571 for flag in $(EXTRA_TARGET_FLAGS); do \
37572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37573 done; \
37574 (cd $(TARGET_SUBDIR)/libobjc && \
37575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37577 "RANLIB=$${RANLIB}" \
37578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37579 install-info) \
37580 || exit 1
37582 @endif target-libobjc
37584 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
37585 maybe-install-pdf-target-libobjc:
37586 @if target-libobjc
37587 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
37589 install-pdf-target-libobjc: \
37590 configure-target-libobjc \
37591 pdf-target-libobjc
37592 @: $(MAKE); $(unstage)
37593 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37594 r=`${PWD_COMMAND}`; export r; \
37595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37596 $(NORMAL_TARGET_EXPORTS) \
37597 echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc" ; \
37598 for flag in $(EXTRA_TARGET_FLAGS); do \
37599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37600 done; \
37601 (cd $(TARGET_SUBDIR)/libobjc && \
37602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37604 "RANLIB=$${RANLIB}" \
37605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37606 install-pdf) \
37607 || exit 1
37609 @endif target-libobjc
37611 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
37612 maybe-install-html-target-libobjc:
37613 @if target-libobjc
37614 maybe-install-html-target-libobjc: install-html-target-libobjc
37616 install-html-target-libobjc: \
37617 configure-target-libobjc \
37618 html-target-libobjc
37619 @: $(MAKE); $(unstage)
37620 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37621 r=`${PWD_COMMAND}`; export r; \
37622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37623 $(NORMAL_TARGET_EXPORTS) \
37624 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc" ; \
37625 for flag in $(EXTRA_TARGET_FLAGS); do \
37626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37627 done; \
37628 (cd $(TARGET_SUBDIR)/libobjc && \
37629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37631 "RANLIB=$${RANLIB}" \
37632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37633 install-html) \
37634 || exit 1
37636 @endif target-libobjc
37638 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
37639 maybe-installcheck-target-libobjc:
37640 @if target-libobjc
37641 maybe-installcheck-target-libobjc: installcheck-target-libobjc
37643 installcheck-target-libobjc: \
37644 configure-target-libobjc
37645 @: $(MAKE); $(unstage)
37646 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37647 r=`${PWD_COMMAND}`; export r; \
37648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37649 $(NORMAL_TARGET_EXPORTS) \
37650 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
37651 for flag in $(EXTRA_TARGET_FLAGS); do \
37652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37653 done; \
37654 (cd $(TARGET_SUBDIR)/libobjc && \
37655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37657 "RANLIB=$${RANLIB}" \
37658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37659 installcheck) \
37660 || exit 1
37662 @endif target-libobjc
37664 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
37665 maybe-mostlyclean-target-libobjc:
37666 @if target-libobjc
37667 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
37669 mostlyclean-target-libobjc:
37670 @: $(MAKE); $(unstage)
37671 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37672 r=`${PWD_COMMAND}`; export r; \
37673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37674 $(NORMAL_TARGET_EXPORTS) \
37675 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
37676 for flag in $(EXTRA_TARGET_FLAGS); do \
37677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37678 done; \
37679 (cd $(TARGET_SUBDIR)/libobjc && \
37680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37682 "RANLIB=$${RANLIB}" \
37683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37684 mostlyclean) \
37685 || exit 1
37687 @endif target-libobjc
37689 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
37690 maybe-clean-target-libobjc:
37691 @if target-libobjc
37692 maybe-clean-target-libobjc: clean-target-libobjc
37694 clean-target-libobjc:
37695 @: $(MAKE); $(unstage)
37696 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37697 r=`${PWD_COMMAND}`; export r; \
37698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37699 $(NORMAL_TARGET_EXPORTS) \
37700 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
37701 for flag in $(EXTRA_TARGET_FLAGS); do \
37702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37703 done; \
37704 (cd $(TARGET_SUBDIR)/libobjc && \
37705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37707 "RANLIB=$${RANLIB}" \
37708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37709 clean) \
37710 || exit 1
37712 @endif target-libobjc
37714 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
37715 maybe-distclean-target-libobjc:
37716 @if target-libobjc
37717 maybe-distclean-target-libobjc: distclean-target-libobjc
37719 distclean-target-libobjc:
37720 @: $(MAKE); $(unstage)
37721 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37722 r=`${PWD_COMMAND}`; export r; \
37723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37724 $(NORMAL_TARGET_EXPORTS) \
37725 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
37726 for flag in $(EXTRA_TARGET_FLAGS); do \
37727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37728 done; \
37729 (cd $(TARGET_SUBDIR)/libobjc && \
37730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37732 "RANLIB=$${RANLIB}" \
37733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37734 distclean) \
37735 || exit 1
37737 @endif target-libobjc
37739 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
37740 maybe-maintainer-clean-target-libobjc:
37741 @if target-libobjc
37742 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
37744 maintainer-clean-target-libobjc:
37745 @: $(MAKE); $(unstage)
37746 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37747 r=`${PWD_COMMAND}`; export r; \
37748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37749 $(NORMAL_TARGET_EXPORTS) \
37750 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
37751 for flag in $(EXTRA_TARGET_FLAGS); do \
37752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37753 done; \
37754 (cd $(TARGET_SUBDIR)/libobjc && \
37755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37757 "RANLIB=$${RANLIB}" \
37758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37759 maintainer-clean) \
37760 || exit 1
37762 @endif target-libobjc
37768 .PHONY: configure-target-libgo maybe-configure-target-libgo
37769 maybe-configure-target-libgo:
37770 @if gcc-bootstrap
37771 configure-target-libgo: stage_current
37772 @endif gcc-bootstrap
37773 @if target-libgo
37774 maybe-configure-target-libgo: configure-target-libgo
37775 configure-target-libgo:
37776 @: $(MAKE); $(unstage)
37777 @r=`${PWD_COMMAND}`; export r; \
37778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37779 echo "Checking multilib configuration for libgo..."; \
37780 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
37781 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgo/multilib.tmp 2> /dev/null ; \
37782 if test -r $(TARGET_SUBDIR)/libgo/multilib.out; then \
37783 if cmp -s $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; then \
37784 rm -f $(TARGET_SUBDIR)/libgo/multilib.tmp; \
37785 else \
37786 rm -f $(TARGET_SUBDIR)/libgo/Makefile; \
37787 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
37788 fi; \
37789 else \
37790 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
37791 fi; \
37792 test ! -f $(TARGET_SUBDIR)/libgo/Makefile || exit 0; \
37793 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
37794 $(NORMAL_TARGET_EXPORTS) \
37795 echo Configuring in $(TARGET_SUBDIR)/libgo; \
37796 cd "$(TARGET_SUBDIR)/libgo" || exit 1; \
37797 case $(srcdir) in \
37798 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37799 *) topdir=`echo $(TARGET_SUBDIR)/libgo/ | \
37800 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37801 esac; \
37802 srcdiroption="--srcdir=$${topdir}/libgo"; \
37803 libsrcdir="$$s/libgo"; \
37804 rm -f no-such-file || : ; \
37805 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37806 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37807 --target=${target_alias} $${srcdiroption} \
37808 || exit 1
37809 @endif target-libgo
37815 .PHONY: all-target-libgo maybe-all-target-libgo
37816 maybe-all-target-libgo:
37817 @if gcc-bootstrap
37818 all-target-libgo: stage_current
37819 @endif gcc-bootstrap
37820 @if target-libgo
37821 TARGET-target-libgo=all
37822 maybe-all-target-libgo: all-target-libgo
37823 all-target-libgo: configure-target-libgo
37824 @: $(MAKE); $(unstage)
37825 @r=`${PWD_COMMAND}`; export r; \
37826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37827 $(NORMAL_TARGET_EXPORTS) \
37828 (cd $(TARGET_SUBDIR)/libgo && \
37829 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37830 $(TARGET-target-libgo))
37831 @endif target-libgo
37837 .PHONY: check-target-libgo maybe-check-target-libgo
37838 maybe-check-target-libgo:
37839 @if target-libgo
37840 maybe-check-target-libgo: check-target-libgo
37842 check-target-libgo:
37843 @: $(MAKE); $(unstage)
37844 @r=`${PWD_COMMAND}`; export r; \
37845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37846 $(NORMAL_TARGET_EXPORTS) \
37847 (cd $(TARGET_SUBDIR)/libgo && \
37848 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37850 @endif target-libgo
37852 .PHONY: install-target-libgo maybe-install-target-libgo
37853 maybe-install-target-libgo:
37854 @if target-libgo
37855 maybe-install-target-libgo: install-target-libgo
37857 install-target-libgo: installdirs
37858 @: $(MAKE); $(unstage)
37859 @r=`${PWD_COMMAND}`; export r; \
37860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37861 $(NORMAL_TARGET_EXPORTS) \
37862 (cd $(TARGET_SUBDIR)/libgo && \
37863 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37865 @endif target-libgo
37867 .PHONY: install-strip-target-libgo maybe-install-strip-target-libgo
37868 maybe-install-strip-target-libgo:
37869 @if target-libgo
37870 maybe-install-strip-target-libgo: install-strip-target-libgo
37872 install-strip-target-libgo: installdirs
37873 @: $(MAKE); $(unstage)
37874 @r=`${PWD_COMMAND}`; export r; \
37875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37876 $(NORMAL_TARGET_EXPORTS) \
37877 (cd $(TARGET_SUBDIR)/libgo && \
37878 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37880 @endif target-libgo
37882 # Other targets (info, dvi, pdf, etc.)
37884 .PHONY: maybe-info-target-libgo info-target-libgo
37885 maybe-info-target-libgo:
37886 @if target-libgo
37887 maybe-info-target-libgo: info-target-libgo
37889 info-target-libgo: \
37890 configure-target-libgo
37891 @: $(MAKE); $(unstage)
37892 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
37893 r=`${PWD_COMMAND}`; export r; \
37894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37895 $(NORMAL_TARGET_EXPORTS) \
37896 echo "Doing info in $(TARGET_SUBDIR)/libgo" ; \
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)/libgo && \
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 info) \
37906 || exit 1
37908 @endif target-libgo
37910 .PHONY: maybe-dvi-target-libgo dvi-target-libgo
37911 maybe-dvi-target-libgo:
37912 @if target-libgo
37913 maybe-dvi-target-libgo: dvi-target-libgo
37915 dvi-target-libgo: \
37916 configure-target-libgo
37917 @: $(MAKE); $(unstage)
37918 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
37919 r=`${PWD_COMMAND}`; export r; \
37920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37921 $(NORMAL_TARGET_EXPORTS) \
37922 echo "Doing dvi in $(TARGET_SUBDIR)/libgo" ; \
37923 for flag in $(EXTRA_TARGET_FLAGS); do \
37924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37925 done; \
37926 (cd $(TARGET_SUBDIR)/libgo && \
37927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37929 "RANLIB=$${RANLIB}" \
37930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37931 dvi) \
37932 || exit 1
37934 @endif target-libgo
37936 .PHONY: maybe-pdf-target-libgo pdf-target-libgo
37937 maybe-pdf-target-libgo:
37938 @if target-libgo
37939 maybe-pdf-target-libgo: pdf-target-libgo
37941 pdf-target-libgo: \
37942 configure-target-libgo
37943 @: $(MAKE); $(unstage)
37944 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
37945 r=`${PWD_COMMAND}`; export r; \
37946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37947 $(NORMAL_TARGET_EXPORTS) \
37948 echo "Doing pdf in $(TARGET_SUBDIR)/libgo" ; \
37949 for flag in $(EXTRA_TARGET_FLAGS); do \
37950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37951 done; \
37952 (cd $(TARGET_SUBDIR)/libgo && \
37953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37955 "RANLIB=$${RANLIB}" \
37956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37957 pdf) \
37958 || exit 1
37960 @endif target-libgo
37962 .PHONY: maybe-html-target-libgo html-target-libgo
37963 maybe-html-target-libgo:
37964 @if target-libgo
37965 maybe-html-target-libgo: html-target-libgo
37967 html-target-libgo: \
37968 configure-target-libgo
37969 @: $(MAKE); $(unstage)
37970 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
37971 r=`${PWD_COMMAND}`; export r; \
37972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37973 $(NORMAL_TARGET_EXPORTS) \
37974 echo "Doing html in $(TARGET_SUBDIR)/libgo" ; \
37975 for flag in $(EXTRA_TARGET_FLAGS); do \
37976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37977 done; \
37978 (cd $(TARGET_SUBDIR)/libgo && \
37979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37981 "RANLIB=$${RANLIB}" \
37982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37983 html) \
37984 || exit 1
37986 @endif target-libgo
37988 .PHONY: maybe-TAGS-target-libgo TAGS-target-libgo
37989 maybe-TAGS-target-libgo:
37990 @if target-libgo
37991 maybe-TAGS-target-libgo: TAGS-target-libgo
37993 TAGS-target-libgo: \
37994 configure-target-libgo
37995 @: $(MAKE); $(unstage)
37996 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
37997 r=`${PWD_COMMAND}`; export r; \
37998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37999 $(NORMAL_TARGET_EXPORTS) \
38000 echo "Doing TAGS in $(TARGET_SUBDIR)/libgo" ; \
38001 for flag in $(EXTRA_TARGET_FLAGS); do \
38002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38003 done; \
38004 (cd $(TARGET_SUBDIR)/libgo && \
38005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38007 "RANLIB=$${RANLIB}" \
38008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38009 TAGS) \
38010 || exit 1
38012 @endif target-libgo
38014 .PHONY: maybe-install-info-target-libgo install-info-target-libgo
38015 maybe-install-info-target-libgo:
38016 @if target-libgo
38017 maybe-install-info-target-libgo: install-info-target-libgo
38019 install-info-target-libgo: \
38020 configure-target-libgo \
38021 info-target-libgo
38022 @: $(MAKE); $(unstage)
38023 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
38024 r=`${PWD_COMMAND}`; export r; \
38025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38026 $(NORMAL_TARGET_EXPORTS) \
38027 echo "Doing install-info in $(TARGET_SUBDIR)/libgo" ; \
38028 for flag in $(EXTRA_TARGET_FLAGS); do \
38029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38030 done; \
38031 (cd $(TARGET_SUBDIR)/libgo && \
38032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38034 "RANLIB=$${RANLIB}" \
38035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38036 install-info) \
38037 || exit 1
38039 @endif target-libgo
38041 .PHONY: maybe-install-pdf-target-libgo install-pdf-target-libgo
38042 maybe-install-pdf-target-libgo:
38043 @if target-libgo
38044 maybe-install-pdf-target-libgo: install-pdf-target-libgo
38046 install-pdf-target-libgo: \
38047 configure-target-libgo \
38048 pdf-target-libgo
38049 @: $(MAKE); $(unstage)
38050 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
38051 r=`${PWD_COMMAND}`; export r; \
38052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38053 $(NORMAL_TARGET_EXPORTS) \
38054 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgo" ; \
38055 for flag in $(EXTRA_TARGET_FLAGS); do \
38056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38057 done; \
38058 (cd $(TARGET_SUBDIR)/libgo && \
38059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38061 "RANLIB=$${RANLIB}" \
38062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38063 install-pdf) \
38064 || exit 1
38066 @endif target-libgo
38068 .PHONY: maybe-install-html-target-libgo install-html-target-libgo
38069 maybe-install-html-target-libgo:
38070 @if target-libgo
38071 maybe-install-html-target-libgo: install-html-target-libgo
38073 install-html-target-libgo: \
38074 configure-target-libgo \
38075 html-target-libgo
38076 @: $(MAKE); $(unstage)
38077 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
38078 r=`${PWD_COMMAND}`; export r; \
38079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38080 $(NORMAL_TARGET_EXPORTS) \
38081 echo "Doing install-html in $(TARGET_SUBDIR)/libgo" ; \
38082 for flag in $(EXTRA_TARGET_FLAGS); do \
38083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38084 done; \
38085 (cd $(TARGET_SUBDIR)/libgo && \
38086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38088 "RANLIB=$${RANLIB}" \
38089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38090 install-html) \
38091 || exit 1
38093 @endif target-libgo
38095 .PHONY: maybe-installcheck-target-libgo installcheck-target-libgo
38096 maybe-installcheck-target-libgo:
38097 @if target-libgo
38098 maybe-installcheck-target-libgo: installcheck-target-libgo
38100 installcheck-target-libgo: \
38101 configure-target-libgo
38102 @: $(MAKE); $(unstage)
38103 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
38104 r=`${PWD_COMMAND}`; export r; \
38105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38106 $(NORMAL_TARGET_EXPORTS) \
38107 echo "Doing installcheck in $(TARGET_SUBDIR)/libgo" ; \
38108 for flag in $(EXTRA_TARGET_FLAGS); do \
38109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38110 done; \
38111 (cd $(TARGET_SUBDIR)/libgo && \
38112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38114 "RANLIB=$${RANLIB}" \
38115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38116 installcheck) \
38117 || exit 1
38119 @endif target-libgo
38121 .PHONY: maybe-mostlyclean-target-libgo mostlyclean-target-libgo
38122 maybe-mostlyclean-target-libgo:
38123 @if target-libgo
38124 maybe-mostlyclean-target-libgo: mostlyclean-target-libgo
38126 mostlyclean-target-libgo:
38127 @: $(MAKE); $(unstage)
38128 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
38129 r=`${PWD_COMMAND}`; export r; \
38130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38131 $(NORMAL_TARGET_EXPORTS) \
38132 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgo" ; \
38133 for flag in $(EXTRA_TARGET_FLAGS); do \
38134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38135 done; \
38136 (cd $(TARGET_SUBDIR)/libgo && \
38137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38139 "RANLIB=$${RANLIB}" \
38140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38141 mostlyclean) \
38142 || exit 1
38144 @endif target-libgo
38146 .PHONY: maybe-clean-target-libgo clean-target-libgo
38147 maybe-clean-target-libgo:
38148 @if target-libgo
38149 maybe-clean-target-libgo: clean-target-libgo
38151 clean-target-libgo:
38152 @: $(MAKE); $(unstage)
38153 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
38154 r=`${PWD_COMMAND}`; export r; \
38155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38156 $(NORMAL_TARGET_EXPORTS) \
38157 echo "Doing clean in $(TARGET_SUBDIR)/libgo" ; \
38158 for flag in $(EXTRA_TARGET_FLAGS); do \
38159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38160 done; \
38161 (cd $(TARGET_SUBDIR)/libgo && \
38162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38164 "RANLIB=$${RANLIB}" \
38165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38166 clean) \
38167 || exit 1
38169 @endif target-libgo
38171 .PHONY: maybe-distclean-target-libgo distclean-target-libgo
38172 maybe-distclean-target-libgo:
38173 @if target-libgo
38174 maybe-distclean-target-libgo: distclean-target-libgo
38176 distclean-target-libgo:
38177 @: $(MAKE); $(unstage)
38178 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
38179 r=`${PWD_COMMAND}`; export r; \
38180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38181 $(NORMAL_TARGET_EXPORTS) \
38182 echo "Doing distclean in $(TARGET_SUBDIR)/libgo" ; \
38183 for flag in $(EXTRA_TARGET_FLAGS); do \
38184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38185 done; \
38186 (cd $(TARGET_SUBDIR)/libgo && \
38187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38189 "RANLIB=$${RANLIB}" \
38190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38191 distclean) \
38192 || exit 1
38194 @endif target-libgo
38196 .PHONY: maybe-maintainer-clean-target-libgo maintainer-clean-target-libgo
38197 maybe-maintainer-clean-target-libgo:
38198 @if target-libgo
38199 maybe-maintainer-clean-target-libgo: maintainer-clean-target-libgo
38201 maintainer-clean-target-libgo:
38202 @: $(MAKE); $(unstage)
38203 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
38204 r=`${PWD_COMMAND}`; export r; \
38205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38206 $(NORMAL_TARGET_EXPORTS) \
38207 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgo" ; \
38208 for flag in $(EXTRA_TARGET_FLAGS); do \
38209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38210 done; \
38211 (cd $(TARGET_SUBDIR)/libgo && \
38212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38214 "RANLIB=$${RANLIB}" \
38215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38216 maintainer-clean) \
38217 || exit 1
38219 @endif target-libgo
38225 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
38226 maybe-configure-target-libtermcap:
38227 @if gcc-bootstrap
38228 configure-target-libtermcap: stage_current
38229 @endif gcc-bootstrap
38230 @if target-libtermcap
38231 maybe-configure-target-libtermcap: configure-target-libtermcap
38232 configure-target-libtermcap:
38233 @: $(MAKE); $(unstage)
38234 @r=`${PWD_COMMAND}`; export r; \
38235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38236 echo "Checking multilib configuration for libtermcap..."; \
38237 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
38238 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
38239 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
38240 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
38241 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
38242 else \
38243 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
38244 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
38245 fi; \
38246 else \
38247 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
38248 fi; \
38249 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
38250 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
38251 $(NORMAL_TARGET_EXPORTS) \
38252 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
38253 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
38254 case $(srcdir) in \
38255 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38256 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
38257 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38258 esac; \
38259 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
38260 libsrcdir="$$s/libtermcap"; \
38261 rm -f no-such-file || : ; \
38262 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38263 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38264 --target=${target_alias} $${srcdiroption} \
38265 || exit 1
38266 @endif target-libtermcap
38272 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
38273 maybe-all-target-libtermcap:
38274 @if gcc-bootstrap
38275 all-target-libtermcap: stage_current
38276 @endif gcc-bootstrap
38277 @if target-libtermcap
38278 TARGET-target-libtermcap=all
38279 maybe-all-target-libtermcap: all-target-libtermcap
38280 all-target-libtermcap: configure-target-libtermcap
38281 @: $(MAKE); $(unstage)
38282 @r=`${PWD_COMMAND}`; export r; \
38283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38284 $(NORMAL_TARGET_EXPORTS) \
38285 (cd $(TARGET_SUBDIR)/libtermcap && \
38286 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38287 $(TARGET-target-libtermcap))
38288 @endif target-libtermcap
38294 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
38295 maybe-check-target-libtermcap:
38296 @if target-libtermcap
38297 maybe-check-target-libtermcap: check-target-libtermcap
38299 # Dummy target for uncheckable module.
38300 check-target-libtermcap:
38302 @endif target-libtermcap
38304 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
38305 maybe-install-target-libtermcap:
38306 @if target-libtermcap
38307 maybe-install-target-libtermcap: install-target-libtermcap
38309 install-target-libtermcap: installdirs
38310 @: $(MAKE); $(unstage)
38311 @r=`${PWD_COMMAND}`; export r; \
38312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38313 $(NORMAL_TARGET_EXPORTS) \
38314 (cd $(TARGET_SUBDIR)/libtermcap && \
38315 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38317 @endif target-libtermcap
38319 .PHONY: install-strip-target-libtermcap maybe-install-strip-target-libtermcap
38320 maybe-install-strip-target-libtermcap:
38321 @if target-libtermcap
38322 maybe-install-strip-target-libtermcap: install-strip-target-libtermcap
38324 install-strip-target-libtermcap: installdirs
38325 @: $(MAKE); $(unstage)
38326 @r=`${PWD_COMMAND}`; export r; \
38327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38328 $(NORMAL_TARGET_EXPORTS) \
38329 (cd $(TARGET_SUBDIR)/libtermcap && \
38330 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38332 @endif target-libtermcap
38334 # Other targets (info, dvi, pdf, etc.)
38336 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
38337 maybe-info-target-libtermcap:
38338 @if target-libtermcap
38339 maybe-info-target-libtermcap: info-target-libtermcap
38341 info-target-libtermcap: \
38342 configure-target-libtermcap
38343 @: $(MAKE); $(unstage)
38344 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
38345 r=`${PWD_COMMAND}`; export r; \
38346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38347 $(NORMAL_TARGET_EXPORTS) \
38348 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
38349 for flag in $(EXTRA_TARGET_FLAGS); do \
38350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38351 done; \
38352 (cd $(TARGET_SUBDIR)/libtermcap && \
38353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38355 "RANLIB=$${RANLIB}" \
38356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38357 info) \
38358 || exit 1
38360 @endif target-libtermcap
38362 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
38363 maybe-dvi-target-libtermcap:
38364 @if target-libtermcap
38365 maybe-dvi-target-libtermcap: dvi-target-libtermcap
38367 dvi-target-libtermcap: \
38368 configure-target-libtermcap
38369 @: $(MAKE); $(unstage)
38370 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
38371 r=`${PWD_COMMAND}`; export r; \
38372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38373 $(NORMAL_TARGET_EXPORTS) \
38374 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
38375 for flag in $(EXTRA_TARGET_FLAGS); do \
38376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38377 done; \
38378 (cd $(TARGET_SUBDIR)/libtermcap && \
38379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38381 "RANLIB=$${RANLIB}" \
38382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38383 dvi) \
38384 || exit 1
38386 @endif target-libtermcap
38388 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
38389 maybe-pdf-target-libtermcap:
38390 @if target-libtermcap
38391 maybe-pdf-target-libtermcap: pdf-target-libtermcap
38393 pdf-target-libtermcap: \
38394 configure-target-libtermcap
38395 @: $(MAKE); $(unstage)
38396 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
38397 r=`${PWD_COMMAND}`; export r; \
38398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38399 $(NORMAL_TARGET_EXPORTS) \
38400 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap" ; \
38401 for flag in $(EXTRA_TARGET_FLAGS); do \
38402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38403 done; \
38404 (cd $(TARGET_SUBDIR)/libtermcap && \
38405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38407 "RANLIB=$${RANLIB}" \
38408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38409 pdf) \
38410 || exit 1
38412 @endif target-libtermcap
38414 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
38415 maybe-html-target-libtermcap:
38416 @if target-libtermcap
38417 maybe-html-target-libtermcap: html-target-libtermcap
38419 html-target-libtermcap: \
38420 configure-target-libtermcap
38421 @: $(MAKE); $(unstage)
38422 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
38423 r=`${PWD_COMMAND}`; export r; \
38424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38425 $(NORMAL_TARGET_EXPORTS) \
38426 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
38427 for flag in $(EXTRA_TARGET_FLAGS); do \
38428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38429 done; \
38430 (cd $(TARGET_SUBDIR)/libtermcap && \
38431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38433 "RANLIB=$${RANLIB}" \
38434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38435 html) \
38436 || exit 1
38438 @endif target-libtermcap
38440 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
38441 maybe-TAGS-target-libtermcap:
38442 @if target-libtermcap
38443 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
38445 TAGS-target-libtermcap: \
38446 configure-target-libtermcap
38447 @: $(MAKE); $(unstage)
38448 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
38449 r=`${PWD_COMMAND}`; export r; \
38450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38451 $(NORMAL_TARGET_EXPORTS) \
38452 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
38453 for flag in $(EXTRA_TARGET_FLAGS); do \
38454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38455 done; \
38456 (cd $(TARGET_SUBDIR)/libtermcap && \
38457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38459 "RANLIB=$${RANLIB}" \
38460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38461 TAGS) \
38462 || exit 1
38464 @endif target-libtermcap
38466 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
38467 maybe-install-info-target-libtermcap:
38468 @if target-libtermcap
38469 maybe-install-info-target-libtermcap: install-info-target-libtermcap
38471 install-info-target-libtermcap: \
38472 configure-target-libtermcap \
38473 info-target-libtermcap
38474 @: $(MAKE); $(unstage)
38475 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
38476 r=`${PWD_COMMAND}`; export r; \
38477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38478 $(NORMAL_TARGET_EXPORTS) \
38479 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
38480 for flag in $(EXTRA_TARGET_FLAGS); do \
38481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38482 done; \
38483 (cd $(TARGET_SUBDIR)/libtermcap && \
38484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38486 "RANLIB=$${RANLIB}" \
38487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38488 install-info) \
38489 || exit 1
38491 @endif target-libtermcap
38493 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
38494 maybe-install-pdf-target-libtermcap:
38495 @if target-libtermcap
38496 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
38498 install-pdf-target-libtermcap: \
38499 configure-target-libtermcap \
38500 pdf-target-libtermcap
38501 @: $(MAKE); $(unstage)
38502 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
38503 r=`${PWD_COMMAND}`; export r; \
38504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38505 $(NORMAL_TARGET_EXPORTS) \
38506 echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap" ; \
38507 for flag in $(EXTRA_TARGET_FLAGS); do \
38508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38509 done; \
38510 (cd $(TARGET_SUBDIR)/libtermcap && \
38511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38513 "RANLIB=$${RANLIB}" \
38514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38515 install-pdf) \
38516 || exit 1
38518 @endif target-libtermcap
38520 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
38521 maybe-install-html-target-libtermcap:
38522 @if target-libtermcap
38523 maybe-install-html-target-libtermcap: install-html-target-libtermcap
38525 install-html-target-libtermcap: \
38526 configure-target-libtermcap \
38527 html-target-libtermcap
38528 @: $(MAKE); $(unstage)
38529 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
38530 r=`${PWD_COMMAND}`; export r; \
38531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38532 $(NORMAL_TARGET_EXPORTS) \
38533 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap" ; \
38534 for flag in $(EXTRA_TARGET_FLAGS); do \
38535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38536 done; \
38537 (cd $(TARGET_SUBDIR)/libtermcap && \
38538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38540 "RANLIB=$${RANLIB}" \
38541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38542 install-html) \
38543 || exit 1
38545 @endif target-libtermcap
38547 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
38548 maybe-installcheck-target-libtermcap:
38549 @if target-libtermcap
38550 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
38552 installcheck-target-libtermcap: \
38553 configure-target-libtermcap
38554 @: $(MAKE); $(unstage)
38555 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
38556 r=`${PWD_COMMAND}`; export r; \
38557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38558 $(NORMAL_TARGET_EXPORTS) \
38559 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
38560 for flag in $(EXTRA_TARGET_FLAGS); do \
38561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38562 done; \
38563 (cd $(TARGET_SUBDIR)/libtermcap && \
38564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38566 "RANLIB=$${RANLIB}" \
38567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38568 installcheck) \
38569 || exit 1
38571 @endif target-libtermcap
38573 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
38574 maybe-mostlyclean-target-libtermcap:
38575 @if target-libtermcap
38576 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
38578 # libtermcap doesn't support mostlyclean.
38579 mostlyclean-target-libtermcap:
38581 @endif target-libtermcap
38583 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
38584 maybe-clean-target-libtermcap:
38585 @if target-libtermcap
38586 maybe-clean-target-libtermcap: clean-target-libtermcap
38588 # libtermcap doesn't support clean.
38589 clean-target-libtermcap:
38591 @endif target-libtermcap
38593 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
38594 maybe-distclean-target-libtermcap:
38595 @if target-libtermcap
38596 maybe-distclean-target-libtermcap: distclean-target-libtermcap
38598 # libtermcap doesn't support distclean.
38599 distclean-target-libtermcap:
38601 @endif target-libtermcap
38603 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
38604 maybe-maintainer-clean-target-libtermcap:
38605 @if target-libtermcap
38606 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
38608 # libtermcap doesn't support maintainer-clean.
38609 maintainer-clean-target-libtermcap:
38611 @endif target-libtermcap
38617 .PHONY: configure-target-winsup maybe-configure-target-winsup
38618 maybe-configure-target-winsup:
38619 @if gcc-bootstrap
38620 configure-target-winsup: stage_current
38621 @endif gcc-bootstrap
38622 @if target-winsup
38623 maybe-configure-target-winsup: configure-target-winsup
38624 configure-target-winsup:
38625 @: $(MAKE); $(unstage)
38626 @r=`${PWD_COMMAND}`; export r; \
38627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38628 echo "Checking multilib configuration for winsup..."; \
38629 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
38630 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
38631 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
38632 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
38633 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
38634 else \
38635 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
38636 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
38637 fi; \
38638 else \
38639 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
38640 fi; \
38641 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
38642 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
38643 $(NORMAL_TARGET_EXPORTS) \
38644 echo Configuring in $(TARGET_SUBDIR)/winsup; \
38645 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
38646 case $(srcdir) in \
38647 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38648 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
38649 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38650 esac; \
38651 srcdiroption="--srcdir=$${topdir}/winsup"; \
38652 libsrcdir="$$s/winsup"; \
38653 rm -f no-such-file || : ; \
38654 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38655 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38656 --target=${target_alias} $${srcdiroption} \
38657 || exit 1
38658 @endif target-winsup
38664 .PHONY: all-target-winsup maybe-all-target-winsup
38665 maybe-all-target-winsup:
38666 @if gcc-bootstrap
38667 all-target-winsup: stage_current
38668 @endif gcc-bootstrap
38669 @if target-winsup
38670 TARGET-target-winsup=all
38671 maybe-all-target-winsup: all-target-winsup
38672 all-target-winsup: configure-target-winsup
38673 @: $(MAKE); $(unstage)
38674 @r=`${PWD_COMMAND}`; export r; \
38675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38676 $(NORMAL_TARGET_EXPORTS) \
38677 (cd $(TARGET_SUBDIR)/winsup && \
38678 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38679 $(TARGET-target-winsup))
38680 @endif target-winsup
38686 .PHONY: check-target-winsup maybe-check-target-winsup
38687 maybe-check-target-winsup:
38688 @if target-winsup
38689 maybe-check-target-winsup: check-target-winsup
38691 check-target-winsup:
38692 @: $(MAKE); $(unstage)
38693 @r=`${PWD_COMMAND}`; export r; \
38694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38695 $(NORMAL_TARGET_EXPORTS) \
38696 (cd $(TARGET_SUBDIR)/winsup && \
38697 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38699 @endif target-winsup
38701 .PHONY: install-target-winsup maybe-install-target-winsup
38702 maybe-install-target-winsup:
38703 @if target-winsup
38704 maybe-install-target-winsup: install-target-winsup
38706 install-target-winsup: installdirs
38707 @: $(MAKE); $(unstage)
38708 @r=`${PWD_COMMAND}`; export r; \
38709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38710 $(NORMAL_TARGET_EXPORTS) \
38711 (cd $(TARGET_SUBDIR)/winsup && \
38712 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38714 @endif target-winsup
38716 .PHONY: install-strip-target-winsup maybe-install-strip-target-winsup
38717 maybe-install-strip-target-winsup:
38718 @if target-winsup
38719 maybe-install-strip-target-winsup: install-strip-target-winsup
38721 install-strip-target-winsup: installdirs
38722 @: $(MAKE); $(unstage)
38723 @r=`${PWD_COMMAND}`; export r; \
38724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38725 $(NORMAL_TARGET_EXPORTS) \
38726 (cd $(TARGET_SUBDIR)/winsup && \
38727 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38729 @endif target-winsup
38731 # Other targets (info, dvi, pdf, etc.)
38733 .PHONY: maybe-info-target-winsup info-target-winsup
38734 maybe-info-target-winsup:
38735 @if target-winsup
38736 maybe-info-target-winsup: info-target-winsup
38738 info-target-winsup: \
38739 configure-target-winsup
38740 @: $(MAKE); $(unstage)
38741 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
38742 r=`${PWD_COMMAND}`; export r; \
38743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38744 $(NORMAL_TARGET_EXPORTS) \
38745 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
38746 for flag in $(EXTRA_TARGET_FLAGS); do \
38747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38748 done; \
38749 (cd $(TARGET_SUBDIR)/winsup && \
38750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38752 "RANLIB=$${RANLIB}" \
38753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38754 info) \
38755 || exit 1
38757 @endif target-winsup
38759 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
38760 maybe-dvi-target-winsup:
38761 @if target-winsup
38762 maybe-dvi-target-winsup: dvi-target-winsup
38764 dvi-target-winsup: \
38765 configure-target-winsup
38766 @: $(MAKE); $(unstage)
38767 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
38768 r=`${PWD_COMMAND}`; export r; \
38769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38770 $(NORMAL_TARGET_EXPORTS) \
38771 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
38772 for flag in $(EXTRA_TARGET_FLAGS); do \
38773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38774 done; \
38775 (cd $(TARGET_SUBDIR)/winsup && \
38776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38778 "RANLIB=$${RANLIB}" \
38779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38780 dvi) \
38781 || exit 1
38783 @endif target-winsup
38785 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
38786 maybe-pdf-target-winsup:
38787 @if target-winsup
38788 maybe-pdf-target-winsup: pdf-target-winsup
38790 pdf-target-winsup: \
38791 configure-target-winsup
38792 @: $(MAKE); $(unstage)
38793 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
38794 r=`${PWD_COMMAND}`; export r; \
38795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38796 $(NORMAL_TARGET_EXPORTS) \
38797 echo "Doing pdf in $(TARGET_SUBDIR)/winsup" ; \
38798 for flag in $(EXTRA_TARGET_FLAGS); do \
38799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38800 done; \
38801 (cd $(TARGET_SUBDIR)/winsup && \
38802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38804 "RANLIB=$${RANLIB}" \
38805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38806 pdf) \
38807 || exit 1
38809 @endif target-winsup
38811 .PHONY: maybe-html-target-winsup html-target-winsup
38812 maybe-html-target-winsup:
38813 @if target-winsup
38814 maybe-html-target-winsup: html-target-winsup
38816 html-target-winsup: \
38817 configure-target-winsup
38818 @: $(MAKE); $(unstage)
38819 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
38820 r=`${PWD_COMMAND}`; export r; \
38821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38822 $(NORMAL_TARGET_EXPORTS) \
38823 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
38824 for flag in $(EXTRA_TARGET_FLAGS); do \
38825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38826 done; \
38827 (cd $(TARGET_SUBDIR)/winsup && \
38828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38830 "RANLIB=$${RANLIB}" \
38831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38832 html) \
38833 || exit 1
38835 @endif target-winsup
38837 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
38838 maybe-TAGS-target-winsup:
38839 @if target-winsup
38840 maybe-TAGS-target-winsup: TAGS-target-winsup
38842 TAGS-target-winsup: \
38843 configure-target-winsup
38844 @: $(MAKE); $(unstage)
38845 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
38846 r=`${PWD_COMMAND}`; export r; \
38847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38848 $(NORMAL_TARGET_EXPORTS) \
38849 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
38850 for flag in $(EXTRA_TARGET_FLAGS); do \
38851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38852 done; \
38853 (cd $(TARGET_SUBDIR)/winsup && \
38854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38856 "RANLIB=$${RANLIB}" \
38857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38858 TAGS) \
38859 || exit 1
38861 @endif target-winsup
38863 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
38864 maybe-install-info-target-winsup:
38865 @if target-winsup
38866 maybe-install-info-target-winsup: install-info-target-winsup
38868 install-info-target-winsup: \
38869 configure-target-winsup \
38870 info-target-winsup
38871 @: $(MAKE); $(unstage)
38872 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
38873 r=`${PWD_COMMAND}`; export r; \
38874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38875 $(NORMAL_TARGET_EXPORTS) \
38876 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
38877 for flag in $(EXTRA_TARGET_FLAGS); do \
38878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38879 done; \
38880 (cd $(TARGET_SUBDIR)/winsup && \
38881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38883 "RANLIB=$${RANLIB}" \
38884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38885 install-info) \
38886 || exit 1
38888 @endif target-winsup
38890 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
38891 maybe-install-pdf-target-winsup:
38892 @if target-winsup
38893 maybe-install-pdf-target-winsup: install-pdf-target-winsup
38895 install-pdf-target-winsup: \
38896 configure-target-winsup \
38897 pdf-target-winsup
38898 @: $(MAKE); $(unstage)
38899 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
38900 r=`${PWD_COMMAND}`; export r; \
38901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38902 $(NORMAL_TARGET_EXPORTS) \
38903 echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup" ; \
38904 for flag in $(EXTRA_TARGET_FLAGS); do \
38905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38906 done; \
38907 (cd $(TARGET_SUBDIR)/winsup && \
38908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38910 "RANLIB=$${RANLIB}" \
38911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38912 install-pdf) \
38913 || exit 1
38915 @endif target-winsup
38917 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
38918 maybe-install-html-target-winsup:
38919 @if target-winsup
38920 maybe-install-html-target-winsup: install-html-target-winsup
38922 install-html-target-winsup: \
38923 configure-target-winsup \
38924 html-target-winsup
38925 @: $(MAKE); $(unstage)
38926 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
38927 r=`${PWD_COMMAND}`; export r; \
38928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38929 $(NORMAL_TARGET_EXPORTS) \
38930 echo "Doing install-html in $(TARGET_SUBDIR)/winsup" ; \
38931 for flag in $(EXTRA_TARGET_FLAGS); do \
38932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38933 done; \
38934 (cd $(TARGET_SUBDIR)/winsup && \
38935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38937 "RANLIB=$${RANLIB}" \
38938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38939 install-html) \
38940 || exit 1
38942 @endif target-winsup
38944 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
38945 maybe-installcheck-target-winsup:
38946 @if target-winsup
38947 maybe-installcheck-target-winsup: installcheck-target-winsup
38949 installcheck-target-winsup: \
38950 configure-target-winsup
38951 @: $(MAKE); $(unstage)
38952 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
38953 r=`${PWD_COMMAND}`; export r; \
38954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38955 $(NORMAL_TARGET_EXPORTS) \
38956 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
38957 for flag in $(EXTRA_TARGET_FLAGS); do \
38958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38959 done; \
38960 (cd $(TARGET_SUBDIR)/winsup && \
38961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38963 "RANLIB=$${RANLIB}" \
38964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38965 installcheck) \
38966 || exit 1
38968 @endif target-winsup
38970 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
38971 maybe-mostlyclean-target-winsup:
38972 @if target-winsup
38973 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
38975 mostlyclean-target-winsup:
38976 @: $(MAKE); $(unstage)
38977 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
38978 r=`${PWD_COMMAND}`; export r; \
38979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38980 $(NORMAL_TARGET_EXPORTS) \
38981 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
38982 for flag in $(EXTRA_TARGET_FLAGS); do \
38983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38984 done; \
38985 (cd $(TARGET_SUBDIR)/winsup && \
38986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38988 "RANLIB=$${RANLIB}" \
38989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38990 mostlyclean) \
38991 || exit 1
38993 @endif target-winsup
38995 .PHONY: maybe-clean-target-winsup clean-target-winsup
38996 maybe-clean-target-winsup:
38997 @if target-winsup
38998 maybe-clean-target-winsup: clean-target-winsup
39000 clean-target-winsup:
39001 @: $(MAKE); $(unstage)
39002 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
39003 r=`${PWD_COMMAND}`; export r; \
39004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39005 $(NORMAL_TARGET_EXPORTS) \
39006 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
39007 for flag in $(EXTRA_TARGET_FLAGS); do \
39008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39009 done; \
39010 (cd $(TARGET_SUBDIR)/winsup && \
39011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39013 "RANLIB=$${RANLIB}" \
39014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39015 clean) \
39016 || exit 1
39018 @endif target-winsup
39020 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
39021 maybe-distclean-target-winsup:
39022 @if target-winsup
39023 maybe-distclean-target-winsup: distclean-target-winsup
39025 distclean-target-winsup:
39026 @: $(MAKE); $(unstage)
39027 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
39028 r=`${PWD_COMMAND}`; export r; \
39029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39030 $(NORMAL_TARGET_EXPORTS) \
39031 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
39032 for flag in $(EXTRA_TARGET_FLAGS); do \
39033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39034 done; \
39035 (cd $(TARGET_SUBDIR)/winsup && \
39036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39038 "RANLIB=$${RANLIB}" \
39039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39040 distclean) \
39041 || exit 1
39043 @endif target-winsup
39045 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
39046 maybe-maintainer-clean-target-winsup:
39047 @if target-winsup
39048 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
39050 maintainer-clean-target-winsup:
39051 @: $(MAKE); $(unstage)
39052 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
39053 r=`${PWD_COMMAND}`; export r; \
39054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39055 $(NORMAL_TARGET_EXPORTS) \
39056 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
39057 for flag in $(EXTRA_TARGET_FLAGS); do \
39058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39059 done; \
39060 (cd $(TARGET_SUBDIR)/winsup && \
39061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39063 "RANLIB=$${RANLIB}" \
39064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39065 maintainer-clean) \
39066 || exit 1
39068 @endif target-winsup
39074 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
39075 maybe-configure-target-libgloss:
39076 @if gcc-bootstrap
39077 configure-target-libgloss: stage_current
39078 @endif gcc-bootstrap
39079 @if target-libgloss
39080 maybe-configure-target-libgloss: configure-target-libgloss
39081 configure-target-libgloss:
39082 @: $(MAKE); $(unstage)
39083 @r=`${PWD_COMMAND}`; export r; \
39084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39085 echo "Checking multilib configuration for libgloss..."; \
39086 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
39087 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
39088 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
39089 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
39090 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
39091 else \
39092 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
39093 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
39094 fi; \
39095 else \
39096 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
39097 fi; \
39098 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
39099 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
39100 $(NORMAL_TARGET_EXPORTS) \
39101 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
39102 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
39103 case $(srcdir) in \
39104 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39105 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
39106 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39107 esac; \
39108 srcdiroption="--srcdir=$${topdir}/libgloss"; \
39109 libsrcdir="$$s/libgloss"; \
39110 rm -f no-such-file || : ; \
39111 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39112 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39113 --target=${target_alias} $${srcdiroption} \
39114 || exit 1
39115 @endif target-libgloss
39121 .PHONY: all-target-libgloss maybe-all-target-libgloss
39122 maybe-all-target-libgloss:
39123 @if gcc-bootstrap
39124 all-target-libgloss: stage_current
39125 @endif gcc-bootstrap
39126 @if target-libgloss
39127 TARGET-target-libgloss=all
39128 maybe-all-target-libgloss: all-target-libgloss
39129 all-target-libgloss: configure-target-libgloss
39130 @: $(MAKE); $(unstage)
39131 @r=`${PWD_COMMAND}`; export r; \
39132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39133 $(NORMAL_TARGET_EXPORTS) \
39134 (cd $(TARGET_SUBDIR)/libgloss && \
39135 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
39136 $(TARGET-target-libgloss))
39137 @endif target-libgloss
39143 .PHONY: check-target-libgloss maybe-check-target-libgloss
39144 maybe-check-target-libgloss:
39145 @if target-libgloss
39146 maybe-check-target-libgloss: check-target-libgloss
39148 # Dummy target for uncheckable module.
39149 check-target-libgloss:
39151 @endif target-libgloss
39153 .PHONY: install-target-libgloss maybe-install-target-libgloss
39154 maybe-install-target-libgloss:
39155 @if target-libgloss
39156 maybe-install-target-libgloss: install-target-libgloss
39158 install-target-libgloss: installdirs
39159 @: $(MAKE); $(unstage)
39160 @r=`${PWD_COMMAND}`; export r; \
39161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39162 $(NORMAL_TARGET_EXPORTS) \
39163 (cd $(TARGET_SUBDIR)/libgloss && \
39164 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39166 @endif target-libgloss
39168 .PHONY: install-strip-target-libgloss maybe-install-strip-target-libgloss
39169 maybe-install-strip-target-libgloss:
39170 @if target-libgloss
39171 maybe-install-strip-target-libgloss: install-strip-target-libgloss
39173 install-strip-target-libgloss: installdirs
39174 @: $(MAKE); $(unstage)
39175 @r=`${PWD_COMMAND}`; export r; \
39176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39177 $(NORMAL_TARGET_EXPORTS) \
39178 (cd $(TARGET_SUBDIR)/libgloss && \
39179 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39181 @endif target-libgloss
39183 # Other targets (info, dvi, pdf, etc.)
39185 .PHONY: maybe-info-target-libgloss info-target-libgloss
39186 maybe-info-target-libgloss:
39187 @if target-libgloss
39188 maybe-info-target-libgloss: info-target-libgloss
39190 info-target-libgloss: \
39191 configure-target-libgloss
39192 @: $(MAKE); $(unstage)
39193 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39194 r=`${PWD_COMMAND}`; export r; \
39195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39196 $(NORMAL_TARGET_EXPORTS) \
39197 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
39198 for flag in $(EXTRA_TARGET_FLAGS); do \
39199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39200 done; \
39201 (cd $(TARGET_SUBDIR)/libgloss && \
39202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39204 "RANLIB=$${RANLIB}" \
39205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39206 info) \
39207 || exit 1
39209 @endif target-libgloss
39211 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
39212 maybe-dvi-target-libgloss:
39213 @if target-libgloss
39214 maybe-dvi-target-libgloss: dvi-target-libgloss
39216 dvi-target-libgloss: \
39217 configure-target-libgloss
39218 @: $(MAKE); $(unstage)
39219 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39220 r=`${PWD_COMMAND}`; export r; \
39221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39222 $(NORMAL_TARGET_EXPORTS) \
39223 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
39224 for flag in $(EXTRA_TARGET_FLAGS); do \
39225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39226 done; \
39227 (cd $(TARGET_SUBDIR)/libgloss && \
39228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39230 "RANLIB=$${RANLIB}" \
39231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39232 dvi) \
39233 || exit 1
39235 @endif target-libgloss
39237 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
39238 maybe-pdf-target-libgloss:
39239 @if target-libgloss
39240 maybe-pdf-target-libgloss: pdf-target-libgloss
39242 pdf-target-libgloss: \
39243 configure-target-libgloss
39244 @: $(MAKE); $(unstage)
39245 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39246 r=`${PWD_COMMAND}`; export r; \
39247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39248 $(NORMAL_TARGET_EXPORTS) \
39249 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss" ; \
39250 for flag in $(EXTRA_TARGET_FLAGS); do \
39251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39252 done; \
39253 (cd $(TARGET_SUBDIR)/libgloss && \
39254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39256 "RANLIB=$${RANLIB}" \
39257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39258 pdf) \
39259 || exit 1
39261 @endif target-libgloss
39263 .PHONY: maybe-html-target-libgloss html-target-libgloss
39264 maybe-html-target-libgloss:
39265 @if target-libgloss
39266 maybe-html-target-libgloss: html-target-libgloss
39268 html-target-libgloss: \
39269 configure-target-libgloss
39270 @: $(MAKE); $(unstage)
39271 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39272 r=`${PWD_COMMAND}`; export r; \
39273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39274 $(NORMAL_TARGET_EXPORTS) \
39275 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
39276 for flag in $(EXTRA_TARGET_FLAGS); do \
39277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39278 done; \
39279 (cd $(TARGET_SUBDIR)/libgloss && \
39280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39282 "RANLIB=$${RANLIB}" \
39283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39284 html) \
39285 || exit 1
39287 @endif target-libgloss
39289 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
39290 maybe-TAGS-target-libgloss:
39291 @if target-libgloss
39292 maybe-TAGS-target-libgloss: TAGS-target-libgloss
39294 TAGS-target-libgloss: \
39295 configure-target-libgloss
39296 @: $(MAKE); $(unstage)
39297 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39298 r=`${PWD_COMMAND}`; export r; \
39299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39300 $(NORMAL_TARGET_EXPORTS) \
39301 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
39302 for flag in $(EXTRA_TARGET_FLAGS); do \
39303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39304 done; \
39305 (cd $(TARGET_SUBDIR)/libgloss && \
39306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39308 "RANLIB=$${RANLIB}" \
39309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39310 TAGS) \
39311 || exit 1
39313 @endif target-libgloss
39315 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
39316 maybe-install-info-target-libgloss:
39317 @if target-libgloss
39318 maybe-install-info-target-libgloss: install-info-target-libgloss
39320 install-info-target-libgloss: \
39321 configure-target-libgloss \
39322 info-target-libgloss
39323 @: $(MAKE); $(unstage)
39324 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39325 r=`${PWD_COMMAND}`; export r; \
39326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39327 $(NORMAL_TARGET_EXPORTS) \
39328 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
39329 for flag in $(EXTRA_TARGET_FLAGS); do \
39330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39331 done; \
39332 (cd $(TARGET_SUBDIR)/libgloss && \
39333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39335 "RANLIB=$${RANLIB}" \
39336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39337 install-info) \
39338 || exit 1
39340 @endif target-libgloss
39342 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
39343 maybe-install-pdf-target-libgloss:
39344 @if target-libgloss
39345 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
39347 install-pdf-target-libgloss: \
39348 configure-target-libgloss \
39349 pdf-target-libgloss
39350 @: $(MAKE); $(unstage)
39351 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39352 r=`${PWD_COMMAND}`; export r; \
39353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39354 $(NORMAL_TARGET_EXPORTS) \
39355 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss" ; \
39356 for flag in $(EXTRA_TARGET_FLAGS); do \
39357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39358 done; \
39359 (cd $(TARGET_SUBDIR)/libgloss && \
39360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39362 "RANLIB=$${RANLIB}" \
39363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39364 install-pdf) \
39365 || exit 1
39367 @endif target-libgloss
39369 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
39370 maybe-install-html-target-libgloss:
39371 @if target-libgloss
39372 maybe-install-html-target-libgloss: install-html-target-libgloss
39374 install-html-target-libgloss: \
39375 configure-target-libgloss \
39376 html-target-libgloss
39377 @: $(MAKE); $(unstage)
39378 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39379 r=`${PWD_COMMAND}`; export r; \
39380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39381 $(NORMAL_TARGET_EXPORTS) \
39382 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss" ; \
39383 for flag in $(EXTRA_TARGET_FLAGS); do \
39384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39385 done; \
39386 (cd $(TARGET_SUBDIR)/libgloss && \
39387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39389 "RANLIB=$${RANLIB}" \
39390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39391 install-html) \
39392 || exit 1
39394 @endif target-libgloss
39396 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
39397 maybe-installcheck-target-libgloss:
39398 @if target-libgloss
39399 maybe-installcheck-target-libgloss: installcheck-target-libgloss
39401 installcheck-target-libgloss: \
39402 configure-target-libgloss
39403 @: $(MAKE); $(unstage)
39404 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39405 r=`${PWD_COMMAND}`; export r; \
39406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39407 $(NORMAL_TARGET_EXPORTS) \
39408 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
39409 for flag in $(EXTRA_TARGET_FLAGS); do \
39410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39411 done; \
39412 (cd $(TARGET_SUBDIR)/libgloss && \
39413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39415 "RANLIB=$${RANLIB}" \
39416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39417 installcheck) \
39418 || exit 1
39420 @endif target-libgloss
39422 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
39423 maybe-mostlyclean-target-libgloss:
39424 @if target-libgloss
39425 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
39427 mostlyclean-target-libgloss:
39428 @: $(MAKE); $(unstage)
39429 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39430 r=`${PWD_COMMAND}`; export r; \
39431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39432 $(NORMAL_TARGET_EXPORTS) \
39433 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
39434 for flag in $(EXTRA_TARGET_FLAGS); do \
39435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39436 done; \
39437 (cd $(TARGET_SUBDIR)/libgloss && \
39438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39440 "RANLIB=$${RANLIB}" \
39441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39442 mostlyclean) \
39443 || exit 1
39445 @endif target-libgloss
39447 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
39448 maybe-clean-target-libgloss:
39449 @if target-libgloss
39450 maybe-clean-target-libgloss: clean-target-libgloss
39452 clean-target-libgloss:
39453 @: $(MAKE); $(unstage)
39454 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39455 r=`${PWD_COMMAND}`; export r; \
39456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39457 $(NORMAL_TARGET_EXPORTS) \
39458 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
39459 for flag in $(EXTRA_TARGET_FLAGS); do \
39460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39461 done; \
39462 (cd $(TARGET_SUBDIR)/libgloss && \
39463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39465 "RANLIB=$${RANLIB}" \
39466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39467 clean) \
39468 || exit 1
39470 @endif target-libgloss
39472 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
39473 maybe-distclean-target-libgloss:
39474 @if target-libgloss
39475 maybe-distclean-target-libgloss: distclean-target-libgloss
39477 distclean-target-libgloss:
39478 @: $(MAKE); $(unstage)
39479 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39480 r=`${PWD_COMMAND}`; export r; \
39481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39482 $(NORMAL_TARGET_EXPORTS) \
39483 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
39484 for flag in $(EXTRA_TARGET_FLAGS); do \
39485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39486 done; \
39487 (cd $(TARGET_SUBDIR)/libgloss && \
39488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39490 "RANLIB=$${RANLIB}" \
39491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39492 distclean) \
39493 || exit 1
39495 @endif target-libgloss
39497 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
39498 maybe-maintainer-clean-target-libgloss:
39499 @if target-libgloss
39500 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
39502 maintainer-clean-target-libgloss:
39503 @: $(MAKE); $(unstage)
39504 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39505 r=`${PWD_COMMAND}`; export r; \
39506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39507 $(NORMAL_TARGET_EXPORTS) \
39508 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
39509 for flag in $(EXTRA_TARGET_FLAGS); do \
39510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39511 done; \
39512 (cd $(TARGET_SUBDIR)/libgloss && \
39513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39515 "RANLIB=$${RANLIB}" \
39516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39517 maintainer-clean) \
39518 || exit 1
39520 @endif target-libgloss
39526 .PHONY: configure-target-libffi maybe-configure-target-libffi
39527 maybe-configure-target-libffi:
39528 @if gcc-bootstrap
39529 configure-target-libffi: stage_current
39530 @endif gcc-bootstrap
39531 @if target-libffi
39532 maybe-configure-target-libffi: configure-target-libffi
39533 configure-target-libffi:
39534 @: $(MAKE); $(unstage)
39535 @r=`${PWD_COMMAND}`; export r; \
39536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39537 echo "Checking multilib configuration for libffi..."; \
39538 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
39539 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
39540 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
39541 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
39542 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
39543 else \
39544 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
39545 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
39546 fi; \
39547 else \
39548 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
39549 fi; \
39550 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
39551 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
39552 $(NORMAL_TARGET_EXPORTS) \
39553 echo Configuring in $(TARGET_SUBDIR)/libffi; \
39554 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
39555 case $(srcdir) in \
39556 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39557 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
39558 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39559 esac; \
39560 srcdiroption="--srcdir=$${topdir}/libffi"; \
39561 libsrcdir="$$s/libffi"; \
39562 rm -f no-such-file || : ; \
39563 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39564 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39565 --target=${target_alias} $${srcdiroption} \
39566 || exit 1
39567 @endif target-libffi
39573 .PHONY: all-target-libffi maybe-all-target-libffi
39574 maybe-all-target-libffi:
39575 @if gcc-bootstrap
39576 all-target-libffi: stage_current
39577 @endif gcc-bootstrap
39578 @if target-libffi
39579 TARGET-target-libffi=all
39580 maybe-all-target-libffi: all-target-libffi
39581 all-target-libffi: configure-target-libffi
39582 @: $(MAKE); $(unstage)
39583 @r=`${PWD_COMMAND}`; export r; \
39584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39585 $(NORMAL_TARGET_EXPORTS) \
39586 (cd $(TARGET_SUBDIR)/libffi && \
39587 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
39588 $(TARGET-target-libffi))
39589 @endif target-libffi
39595 .PHONY: check-target-libffi maybe-check-target-libffi
39596 maybe-check-target-libffi:
39597 @if target-libffi
39598 maybe-check-target-libffi: check-target-libffi
39600 check-target-libffi:
39601 @: $(MAKE); $(unstage)
39602 @r=`${PWD_COMMAND}`; export r; \
39603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39604 $(NORMAL_TARGET_EXPORTS) \
39605 (cd $(TARGET_SUBDIR)/libffi && \
39606 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39608 @endif target-libffi
39610 .PHONY: install-target-libffi maybe-install-target-libffi
39611 maybe-install-target-libffi:
39612 @if target-libffi
39613 maybe-install-target-libffi: install-target-libffi
39615 install-target-libffi: installdirs
39616 @: $(MAKE); $(unstage)
39617 @r=`${PWD_COMMAND}`; export r; \
39618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39619 $(NORMAL_TARGET_EXPORTS) \
39620 (cd $(TARGET_SUBDIR)/libffi && \
39621 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39623 @endif target-libffi
39625 .PHONY: install-strip-target-libffi maybe-install-strip-target-libffi
39626 maybe-install-strip-target-libffi:
39627 @if target-libffi
39628 maybe-install-strip-target-libffi: install-strip-target-libffi
39630 install-strip-target-libffi: installdirs
39631 @: $(MAKE); $(unstage)
39632 @r=`${PWD_COMMAND}`; export r; \
39633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39634 $(NORMAL_TARGET_EXPORTS) \
39635 (cd $(TARGET_SUBDIR)/libffi && \
39636 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39638 @endif target-libffi
39640 # Other targets (info, dvi, pdf, etc.)
39642 .PHONY: maybe-info-target-libffi info-target-libffi
39643 maybe-info-target-libffi:
39644 @if target-libffi
39645 maybe-info-target-libffi: info-target-libffi
39647 info-target-libffi: \
39648 configure-target-libffi
39649 @: $(MAKE); $(unstage)
39650 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39651 r=`${PWD_COMMAND}`; export r; \
39652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39653 $(NORMAL_TARGET_EXPORTS) \
39654 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
39655 for flag in $(EXTRA_TARGET_FLAGS); do \
39656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39657 done; \
39658 (cd $(TARGET_SUBDIR)/libffi && \
39659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39661 "RANLIB=$${RANLIB}" \
39662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39663 info) \
39664 || exit 1
39666 @endif target-libffi
39668 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
39669 maybe-dvi-target-libffi:
39670 @if target-libffi
39671 maybe-dvi-target-libffi: dvi-target-libffi
39673 dvi-target-libffi: \
39674 configure-target-libffi
39675 @: $(MAKE); $(unstage)
39676 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39677 r=`${PWD_COMMAND}`; export r; \
39678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39679 $(NORMAL_TARGET_EXPORTS) \
39680 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
39681 for flag in $(EXTRA_TARGET_FLAGS); do \
39682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39683 done; \
39684 (cd $(TARGET_SUBDIR)/libffi && \
39685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39687 "RANLIB=$${RANLIB}" \
39688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39689 dvi) \
39690 || exit 1
39692 @endif target-libffi
39694 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
39695 maybe-pdf-target-libffi:
39696 @if target-libffi
39697 maybe-pdf-target-libffi: pdf-target-libffi
39699 pdf-target-libffi: \
39700 configure-target-libffi
39701 @: $(MAKE); $(unstage)
39702 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39703 r=`${PWD_COMMAND}`; export r; \
39704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39705 $(NORMAL_TARGET_EXPORTS) \
39706 echo "Doing pdf in $(TARGET_SUBDIR)/libffi" ; \
39707 for flag in $(EXTRA_TARGET_FLAGS); do \
39708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39709 done; \
39710 (cd $(TARGET_SUBDIR)/libffi && \
39711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39713 "RANLIB=$${RANLIB}" \
39714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39715 pdf) \
39716 || exit 1
39718 @endif target-libffi
39720 .PHONY: maybe-html-target-libffi html-target-libffi
39721 maybe-html-target-libffi:
39722 @if target-libffi
39723 maybe-html-target-libffi: html-target-libffi
39725 html-target-libffi: \
39726 configure-target-libffi
39727 @: $(MAKE); $(unstage)
39728 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39729 r=`${PWD_COMMAND}`; export r; \
39730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39731 $(NORMAL_TARGET_EXPORTS) \
39732 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
39733 for flag in $(EXTRA_TARGET_FLAGS); do \
39734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39735 done; \
39736 (cd $(TARGET_SUBDIR)/libffi && \
39737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39739 "RANLIB=$${RANLIB}" \
39740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39741 html) \
39742 || exit 1
39744 @endif target-libffi
39746 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
39747 maybe-TAGS-target-libffi:
39748 @if target-libffi
39749 maybe-TAGS-target-libffi: TAGS-target-libffi
39751 TAGS-target-libffi: \
39752 configure-target-libffi
39753 @: $(MAKE); $(unstage)
39754 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39755 r=`${PWD_COMMAND}`; export r; \
39756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39757 $(NORMAL_TARGET_EXPORTS) \
39758 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
39759 for flag in $(EXTRA_TARGET_FLAGS); do \
39760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39761 done; \
39762 (cd $(TARGET_SUBDIR)/libffi && \
39763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39765 "RANLIB=$${RANLIB}" \
39766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39767 TAGS) \
39768 || exit 1
39770 @endif target-libffi
39772 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
39773 maybe-install-info-target-libffi:
39774 @if target-libffi
39775 maybe-install-info-target-libffi: install-info-target-libffi
39777 install-info-target-libffi: \
39778 configure-target-libffi \
39779 info-target-libffi
39780 @: $(MAKE); $(unstage)
39781 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39782 r=`${PWD_COMMAND}`; export r; \
39783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39784 $(NORMAL_TARGET_EXPORTS) \
39785 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
39786 for flag in $(EXTRA_TARGET_FLAGS); do \
39787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39788 done; \
39789 (cd $(TARGET_SUBDIR)/libffi && \
39790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39792 "RANLIB=$${RANLIB}" \
39793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39794 install-info) \
39795 || exit 1
39797 @endif target-libffi
39799 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
39800 maybe-install-pdf-target-libffi:
39801 @if target-libffi
39802 maybe-install-pdf-target-libffi: install-pdf-target-libffi
39804 install-pdf-target-libffi: \
39805 configure-target-libffi \
39806 pdf-target-libffi
39807 @: $(MAKE); $(unstage)
39808 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39809 r=`${PWD_COMMAND}`; export r; \
39810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39811 $(NORMAL_TARGET_EXPORTS) \
39812 echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi" ; \
39813 for flag in $(EXTRA_TARGET_FLAGS); do \
39814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39815 done; \
39816 (cd $(TARGET_SUBDIR)/libffi && \
39817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39819 "RANLIB=$${RANLIB}" \
39820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39821 install-pdf) \
39822 || exit 1
39824 @endif target-libffi
39826 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
39827 maybe-install-html-target-libffi:
39828 @if target-libffi
39829 maybe-install-html-target-libffi: install-html-target-libffi
39831 install-html-target-libffi: \
39832 configure-target-libffi \
39833 html-target-libffi
39834 @: $(MAKE); $(unstage)
39835 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39836 r=`${PWD_COMMAND}`; export r; \
39837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39838 $(NORMAL_TARGET_EXPORTS) \
39839 echo "Doing install-html in $(TARGET_SUBDIR)/libffi" ; \
39840 for flag in $(EXTRA_TARGET_FLAGS); do \
39841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39842 done; \
39843 (cd $(TARGET_SUBDIR)/libffi && \
39844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39846 "RANLIB=$${RANLIB}" \
39847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39848 install-html) \
39849 || exit 1
39851 @endif target-libffi
39853 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
39854 maybe-installcheck-target-libffi:
39855 @if target-libffi
39856 maybe-installcheck-target-libffi: installcheck-target-libffi
39858 installcheck-target-libffi: \
39859 configure-target-libffi
39860 @: $(MAKE); $(unstage)
39861 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39862 r=`${PWD_COMMAND}`; export r; \
39863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39864 $(NORMAL_TARGET_EXPORTS) \
39865 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
39866 for flag in $(EXTRA_TARGET_FLAGS); do \
39867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39868 done; \
39869 (cd $(TARGET_SUBDIR)/libffi && \
39870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39872 "RANLIB=$${RANLIB}" \
39873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39874 installcheck) \
39875 || exit 1
39877 @endif target-libffi
39879 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
39880 maybe-mostlyclean-target-libffi:
39881 @if target-libffi
39882 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
39884 mostlyclean-target-libffi:
39885 @: $(MAKE); $(unstage)
39886 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39887 r=`${PWD_COMMAND}`; export r; \
39888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39889 $(NORMAL_TARGET_EXPORTS) \
39890 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
39891 for flag in $(EXTRA_TARGET_FLAGS); do \
39892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39893 done; \
39894 (cd $(TARGET_SUBDIR)/libffi && \
39895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39897 "RANLIB=$${RANLIB}" \
39898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39899 mostlyclean) \
39900 || exit 1
39902 @endif target-libffi
39904 .PHONY: maybe-clean-target-libffi clean-target-libffi
39905 maybe-clean-target-libffi:
39906 @if target-libffi
39907 maybe-clean-target-libffi: clean-target-libffi
39909 clean-target-libffi:
39910 @: $(MAKE); $(unstage)
39911 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39912 r=`${PWD_COMMAND}`; export r; \
39913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39914 $(NORMAL_TARGET_EXPORTS) \
39915 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
39916 for flag in $(EXTRA_TARGET_FLAGS); do \
39917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39918 done; \
39919 (cd $(TARGET_SUBDIR)/libffi && \
39920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39922 "RANLIB=$${RANLIB}" \
39923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39924 clean) \
39925 || exit 1
39927 @endif target-libffi
39929 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
39930 maybe-distclean-target-libffi:
39931 @if target-libffi
39932 maybe-distclean-target-libffi: distclean-target-libffi
39934 distclean-target-libffi:
39935 @: $(MAKE); $(unstage)
39936 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39937 r=`${PWD_COMMAND}`; export r; \
39938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39939 $(NORMAL_TARGET_EXPORTS) \
39940 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
39941 for flag in $(EXTRA_TARGET_FLAGS); do \
39942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39943 done; \
39944 (cd $(TARGET_SUBDIR)/libffi && \
39945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39947 "RANLIB=$${RANLIB}" \
39948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39949 distclean) \
39950 || exit 1
39952 @endif target-libffi
39954 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
39955 maybe-maintainer-clean-target-libffi:
39956 @if target-libffi
39957 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
39959 maintainer-clean-target-libffi:
39960 @: $(MAKE); $(unstage)
39961 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39962 r=`${PWD_COMMAND}`; export r; \
39963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39964 $(NORMAL_TARGET_EXPORTS) \
39965 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
39966 for flag in $(EXTRA_TARGET_FLAGS); do \
39967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39968 done; \
39969 (cd $(TARGET_SUBDIR)/libffi && \
39970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39972 "RANLIB=$${RANLIB}" \
39973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39974 maintainer-clean) \
39975 || exit 1
39977 @endif target-libffi
39983 .PHONY: configure-target-libjava maybe-configure-target-libjava
39984 maybe-configure-target-libjava:
39985 @if gcc-bootstrap
39986 configure-target-libjava: stage_current
39987 @endif gcc-bootstrap
39988 @if target-libjava
39989 maybe-configure-target-libjava: configure-target-libjava
39990 configure-target-libjava:
39991 @: $(MAKE); $(unstage)
39992 @r=`${PWD_COMMAND}`; export r; \
39993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39994 echo "Checking multilib configuration for libjava..."; \
39995 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
39996 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
39997 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
39998 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
39999 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
40000 else \
40001 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
40002 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
40003 fi; \
40004 else \
40005 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
40006 fi; \
40007 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
40008 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
40009 $(RAW_CXX_TARGET_EXPORTS) \
40010 echo Configuring in $(TARGET_SUBDIR)/libjava; \
40011 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
40012 case $(srcdir) in \
40013 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40014 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
40015 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40016 esac; \
40017 srcdiroption="--srcdir=$${topdir}/libjava"; \
40018 libsrcdir="$$s/libjava"; \
40019 rm -f no-such-file || : ; \
40020 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40021 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40022 --target=${target_alias} $${srcdiroption} $(EXTRA_CONFIGARGS_LIBJAVA) \
40023 || exit 1
40024 @endif target-libjava
40030 .PHONY: all-target-libjava maybe-all-target-libjava
40031 maybe-all-target-libjava:
40032 @if gcc-bootstrap
40033 all-target-libjava: stage_current
40034 @endif gcc-bootstrap
40035 @if target-libjava
40036 TARGET-target-libjava=all
40037 maybe-all-target-libjava: all-target-libjava
40038 all-target-libjava: configure-target-libjava
40039 @: $(MAKE); $(unstage)
40040 @r=`${PWD_COMMAND}`; export r; \
40041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40042 $(RAW_CXX_TARGET_EXPORTS) \
40043 (cd $(TARGET_SUBDIR)/libjava && \
40044 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40045 $(TARGET-target-libjava))
40046 @endif target-libjava
40052 .PHONY: check-target-libjava maybe-check-target-libjava
40053 maybe-check-target-libjava:
40054 @if target-libjava
40055 maybe-check-target-libjava: check-target-libjava
40057 check-target-libjava:
40058 @: $(MAKE); $(unstage)
40059 @r=`${PWD_COMMAND}`; export r; \
40060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40061 $(RAW_CXX_TARGET_EXPORTS) \
40062 (cd $(TARGET_SUBDIR)/libjava && \
40063 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
40065 @endif target-libjava
40067 .PHONY: install-target-libjava maybe-install-target-libjava
40068 maybe-install-target-libjava:
40069 @if target-libjava
40070 maybe-install-target-libjava: install-target-libjava
40072 install-target-libjava: installdirs
40073 @: $(MAKE); $(unstage)
40074 @r=`${PWD_COMMAND}`; export r; \
40075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40076 $(RAW_CXX_TARGET_EXPORTS) \
40077 (cd $(TARGET_SUBDIR)/libjava && \
40078 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40080 @endif target-libjava
40082 .PHONY: install-strip-target-libjava maybe-install-strip-target-libjava
40083 maybe-install-strip-target-libjava:
40084 @if target-libjava
40085 maybe-install-strip-target-libjava: install-strip-target-libjava
40087 install-strip-target-libjava: installdirs
40088 @: $(MAKE); $(unstage)
40089 @r=`${PWD_COMMAND}`; export r; \
40090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40091 $(RAW_CXX_TARGET_EXPORTS) \
40092 (cd $(TARGET_SUBDIR)/libjava && \
40093 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40095 @endif target-libjava
40097 # Other targets (info, dvi, pdf, etc.)
40099 .PHONY: maybe-info-target-libjava info-target-libjava
40100 maybe-info-target-libjava:
40101 @if target-libjava
40102 maybe-info-target-libjava: info-target-libjava
40104 info-target-libjava: \
40105 configure-target-libjava
40106 @: $(MAKE); $(unstage)
40107 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
40108 r=`${PWD_COMMAND}`; export r; \
40109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40110 $(RAW_CXX_TARGET_EXPORTS) \
40111 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
40112 for flag in $(EXTRA_TARGET_FLAGS); do \
40113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40114 done; \
40115 (cd $(TARGET_SUBDIR)/libjava && \
40116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40118 "RANLIB=$${RANLIB}" \
40119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40120 info) \
40121 || exit 1
40123 @endif target-libjava
40125 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
40126 maybe-dvi-target-libjava:
40127 @if target-libjava
40128 maybe-dvi-target-libjava: dvi-target-libjava
40130 dvi-target-libjava: \
40131 configure-target-libjava
40132 @: $(MAKE); $(unstage)
40133 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
40134 r=`${PWD_COMMAND}`; export r; \
40135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40136 $(RAW_CXX_TARGET_EXPORTS) \
40137 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
40138 for flag in $(EXTRA_TARGET_FLAGS); do \
40139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40140 done; \
40141 (cd $(TARGET_SUBDIR)/libjava && \
40142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40144 "RANLIB=$${RANLIB}" \
40145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40146 dvi) \
40147 || exit 1
40149 @endif target-libjava
40151 .PHONY: maybe-pdf-target-libjava pdf-target-libjava
40152 maybe-pdf-target-libjava:
40153 @if target-libjava
40154 maybe-pdf-target-libjava: pdf-target-libjava
40156 pdf-target-libjava: \
40157 configure-target-libjava
40158 @: $(MAKE); $(unstage)
40159 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
40160 r=`${PWD_COMMAND}`; export r; \
40161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40162 $(RAW_CXX_TARGET_EXPORTS) \
40163 echo "Doing pdf in $(TARGET_SUBDIR)/libjava" ; \
40164 for flag in $(EXTRA_TARGET_FLAGS); do \
40165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40166 done; \
40167 (cd $(TARGET_SUBDIR)/libjava && \
40168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40170 "RANLIB=$${RANLIB}" \
40171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40172 pdf) \
40173 || exit 1
40175 @endif target-libjava
40177 .PHONY: maybe-html-target-libjava html-target-libjava
40178 maybe-html-target-libjava:
40179 @if target-libjava
40180 maybe-html-target-libjava: html-target-libjava
40182 html-target-libjava: \
40183 configure-target-libjava
40184 @: $(MAKE); $(unstage)
40185 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
40186 r=`${PWD_COMMAND}`; export r; \
40187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40188 $(RAW_CXX_TARGET_EXPORTS) \
40189 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
40190 for flag in $(EXTRA_TARGET_FLAGS); do \
40191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40192 done; \
40193 (cd $(TARGET_SUBDIR)/libjava && \
40194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40196 "RANLIB=$${RANLIB}" \
40197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40198 html) \
40199 || exit 1
40201 @endif target-libjava
40203 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
40204 maybe-TAGS-target-libjava:
40205 @if target-libjava
40206 maybe-TAGS-target-libjava: TAGS-target-libjava
40208 TAGS-target-libjava: \
40209 configure-target-libjava
40210 @: $(MAKE); $(unstage)
40211 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
40212 r=`${PWD_COMMAND}`; export r; \
40213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40214 $(RAW_CXX_TARGET_EXPORTS) \
40215 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
40216 for flag in $(EXTRA_TARGET_FLAGS); do \
40217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40218 done; \
40219 (cd $(TARGET_SUBDIR)/libjava && \
40220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40222 "RANLIB=$${RANLIB}" \
40223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40224 TAGS) \
40225 || exit 1
40227 @endif target-libjava
40229 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
40230 maybe-install-info-target-libjava:
40231 @if target-libjava
40232 maybe-install-info-target-libjava: install-info-target-libjava
40234 install-info-target-libjava: \
40235 configure-target-libjava \
40236 info-target-libjava
40237 @: $(MAKE); $(unstage)
40238 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
40239 r=`${PWD_COMMAND}`; export r; \
40240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40241 $(RAW_CXX_TARGET_EXPORTS) \
40242 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
40243 for flag in $(EXTRA_TARGET_FLAGS); do \
40244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40245 done; \
40246 (cd $(TARGET_SUBDIR)/libjava && \
40247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40249 "RANLIB=$${RANLIB}" \
40250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40251 install-info) \
40252 || exit 1
40254 @endif target-libjava
40256 .PHONY: maybe-install-pdf-target-libjava install-pdf-target-libjava
40257 maybe-install-pdf-target-libjava:
40258 @if target-libjava
40259 maybe-install-pdf-target-libjava: install-pdf-target-libjava
40261 install-pdf-target-libjava: \
40262 configure-target-libjava \
40263 pdf-target-libjava
40264 @: $(MAKE); $(unstage)
40265 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
40266 r=`${PWD_COMMAND}`; export r; \
40267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40268 $(RAW_CXX_TARGET_EXPORTS) \
40269 echo "Doing install-pdf in $(TARGET_SUBDIR)/libjava" ; \
40270 for flag in $(EXTRA_TARGET_FLAGS); do \
40271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40272 done; \
40273 (cd $(TARGET_SUBDIR)/libjava && \
40274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40276 "RANLIB=$${RANLIB}" \
40277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40278 install-pdf) \
40279 || exit 1
40281 @endif target-libjava
40283 .PHONY: maybe-install-html-target-libjava install-html-target-libjava
40284 maybe-install-html-target-libjava:
40285 @if target-libjava
40286 maybe-install-html-target-libjava: install-html-target-libjava
40288 install-html-target-libjava: \
40289 configure-target-libjava \
40290 html-target-libjava
40291 @: $(MAKE); $(unstage)
40292 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
40293 r=`${PWD_COMMAND}`; export r; \
40294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40295 $(RAW_CXX_TARGET_EXPORTS) \
40296 echo "Doing install-html in $(TARGET_SUBDIR)/libjava" ; \
40297 for flag in $(EXTRA_TARGET_FLAGS); do \
40298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40299 done; \
40300 (cd $(TARGET_SUBDIR)/libjava && \
40301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40303 "RANLIB=$${RANLIB}" \
40304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40305 install-html) \
40306 || exit 1
40308 @endif target-libjava
40310 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
40311 maybe-installcheck-target-libjava:
40312 @if target-libjava
40313 maybe-installcheck-target-libjava: installcheck-target-libjava
40315 installcheck-target-libjava: \
40316 configure-target-libjava
40317 @: $(MAKE); $(unstage)
40318 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
40319 r=`${PWD_COMMAND}`; export r; \
40320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40321 $(RAW_CXX_TARGET_EXPORTS) \
40322 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
40323 for flag in $(EXTRA_TARGET_FLAGS); do \
40324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40325 done; \
40326 (cd $(TARGET_SUBDIR)/libjava && \
40327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40329 "RANLIB=$${RANLIB}" \
40330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40331 installcheck) \
40332 || exit 1
40334 @endif target-libjava
40336 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
40337 maybe-mostlyclean-target-libjava:
40338 @if target-libjava
40339 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
40341 mostlyclean-target-libjava:
40342 @: $(MAKE); $(unstage)
40343 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
40344 r=`${PWD_COMMAND}`; export r; \
40345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40346 $(RAW_CXX_TARGET_EXPORTS) \
40347 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
40348 for flag in $(EXTRA_TARGET_FLAGS); do \
40349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40350 done; \
40351 (cd $(TARGET_SUBDIR)/libjava && \
40352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40354 "RANLIB=$${RANLIB}" \
40355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40356 mostlyclean) \
40357 || exit 1
40359 @endif target-libjava
40361 .PHONY: maybe-clean-target-libjava clean-target-libjava
40362 maybe-clean-target-libjava:
40363 @if target-libjava
40364 maybe-clean-target-libjava: clean-target-libjava
40366 clean-target-libjava:
40367 @: $(MAKE); $(unstage)
40368 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
40369 r=`${PWD_COMMAND}`; export r; \
40370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40371 $(RAW_CXX_TARGET_EXPORTS) \
40372 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
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)/libjava && \
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 clean) \
40382 || exit 1
40384 @endif target-libjava
40386 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
40387 maybe-distclean-target-libjava:
40388 @if target-libjava
40389 maybe-distclean-target-libjava: distclean-target-libjava
40391 distclean-target-libjava:
40392 @: $(MAKE); $(unstage)
40393 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
40394 r=`${PWD_COMMAND}`; export r; \
40395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40396 $(RAW_CXX_TARGET_EXPORTS) \
40397 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
40398 for flag in $(EXTRA_TARGET_FLAGS); do \
40399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40400 done; \
40401 (cd $(TARGET_SUBDIR)/libjava && \
40402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40404 "RANLIB=$${RANLIB}" \
40405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40406 distclean) \
40407 || exit 1
40409 @endif target-libjava
40411 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
40412 maybe-maintainer-clean-target-libjava:
40413 @if target-libjava
40414 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
40416 maintainer-clean-target-libjava:
40417 @: $(MAKE); $(unstage)
40418 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
40419 r=`${PWD_COMMAND}`; export r; \
40420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40421 $(RAW_CXX_TARGET_EXPORTS) \
40422 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
40423 for flag in $(EXTRA_TARGET_FLAGS); do \
40424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40425 done; \
40426 (cd $(TARGET_SUBDIR)/libjava && \
40427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40429 "RANLIB=$${RANLIB}" \
40430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40431 maintainer-clean) \
40432 || exit 1
40434 @endif target-libjava
40440 .PHONY: configure-target-zlib maybe-configure-target-zlib
40441 maybe-configure-target-zlib:
40442 @if gcc-bootstrap
40443 configure-target-zlib: stage_current
40444 @endif gcc-bootstrap
40445 @if target-zlib
40446 maybe-configure-target-zlib: configure-target-zlib
40447 configure-target-zlib:
40448 @: $(MAKE); $(unstage)
40449 @r=`${PWD_COMMAND}`; export r; \
40450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40451 echo "Checking multilib configuration for zlib..."; \
40452 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
40453 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
40454 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
40455 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
40456 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
40457 else \
40458 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
40459 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
40460 fi; \
40461 else \
40462 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
40463 fi; \
40464 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
40465 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
40466 $(NORMAL_TARGET_EXPORTS) \
40467 echo Configuring in $(TARGET_SUBDIR)/zlib; \
40468 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
40469 case $(srcdir) in \
40470 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40471 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
40472 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40473 esac; \
40474 srcdiroption="--srcdir=$${topdir}/zlib"; \
40475 libsrcdir="$$s/zlib"; \
40476 rm -f no-such-file || : ; \
40477 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40478 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40479 --target=${target_alias} $${srcdiroption} \
40480 || exit 1
40481 @endif target-zlib
40487 .PHONY: all-target-zlib maybe-all-target-zlib
40488 maybe-all-target-zlib:
40489 @if gcc-bootstrap
40490 all-target-zlib: stage_current
40491 @endif gcc-bootstrap
40492 @if target-zlib
40493 TARGET-target-zlib=all
40494 maybe-all-target-zlib: all-target-zlib
40495 all-target-zlib: configure-target-zlib
40496 @: $(MAKE); $(unstage)
40497 @r=`${PWD_COMMAND}`; export r; \
40498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40499 $(NORMAL_TARGET_EXPORTS) \
40500 (cd $(TARGET_SUBDIR)/zlib && \
40501 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
40502 $(TARGET-target-zlib))
40503 @endif target-zlib
40509 .PHONY: check-target-zlib maybe-check-target-zlib
40510 maybe-check-target-zlib:
40511 @if target-zlib
40512 maybe-check-target-zlib: check-target-zlib
40514 check-target-zlib:
40515 @: $(MAKE); $(unstage)
40516 @r=`${PWD_COMMAND}`; export r; \
40517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40518 $(NORMAL_TARGET_EXPORTS) \
40519 (cd $(TARGET_SUBDIR)/zlib && \
40520 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40522 @endif target-zlib
40524 .PHONY: install-target-zlib maybe-install-target-zlib
40525 maybe-install-target-zlib:
40526 @if target-zlib
40527 maybe-install-target-zlib: install-target-zlib
40529 install-target-zlib: installdirs
40530 @: $(MAKE); $(unstage)
40531 @r=`${PWD_COMMAND}`; export r; \
40532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40533 $(NORMAL_TARGET_EXPORTS) \
40534 (cd $(TARGET_SUBDIR)/zlib && \
40535 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40537 @endif target-zlib
40539 .PHONY: install-strip-target-zlib maybe-install-strip-target-zlib
40540 maybe-install-strip-target-zlib:
40541 @if target-zlib
40542 maybe-install-strip-target-zlib: install-strip-target-zlib
40544 install-strip-target-zlib: installdirs
40545 @: $(MAKE); $(unstage)
40546 @r=`${PWD_COMMAND}`; export r; \
40547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40548 $(NORMAL_TARGET_EXPORTS) \
40549 (cd $(TARGET_SUBDIR)/zlib && \
40550 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40552 @endif target-zlib
40554 # Other targets (info, dvi, pdf, etc.)
40556 .PHONY: maybe-info-target-zlib info-target-zlib
40557 maybe-info-target-zlib:
40558 @if target-zlib
40559 maybe-info-target-zlib: info-target-zlib
40561 info-target-zlib: \
40562 configure-target-zlib
40563 @: $(MAKE); $(unstage)
40564 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40565 r=`${PWD_COMMAND}`; export r; \
40566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40567 $(NORMAL_TARGET_EXPORTS) \
40568 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
40569 for flag in $(EXTRA_TARGET_FLAGS); do \
40570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40571 done; \
40572 (cd $(TARGET_SUBDIR)/zlib && \
40573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40575 "RANLIB=$${RANLIB}" \
40576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40577 info) \
40578 || exit 1
40580 @endif target-zlib
40582 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
40583 maybe-dvi-target-zlib:
40584 @if target-zlib
40585 maybe-dvi-target-zlib: dvi-target-zlib
40587 dvi-target-zlib: \
40588 configure-target-zlib
40589 @: $(MAKE); $(unstage)
40590 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40591 r=`${PWD_COMMAND}`; export r; \
40592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40593 $(NORMAL_TARGET_EXPORTS) \
40594 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
40595 for flag in $(EXTRA_TARGET_FLAGS); do \
40596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40597 done; \
40598 (cd $(TARGET_SUBDIR)/zlib && \
40599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40601 "RANLIB=$${RANLIB}" \
40602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40603 dvi) \
40604 || exit 1
40606 @endif target-zlib
40608 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
40609 maybe-pdf-target-zlib:
40610 @if target-zlib
40611 maybe-pdf-target-zlib: pdf-target-zlib
40613 pdf-target-zlib: \
40614 configure-target-zlib
40615 @: $(MAKE); $(unstage)
40616 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40617 r=`${PWD_COMMAND}`; export r; \
40618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40619 $(NORMAL_TARGET_EXPORTS) \
40620 echo "Doing pdf in $(TARGET_SUBDIR)/zlib" ; \
40621 for flag in $(EXTRA_TARGET_FLAGS); do \
40622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40623 done; \
40624 (cd $(TARGET_SUBDIR)/zlib && \
40625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40627 "RANLIB=$${RANLIB}" \
40628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40629 pdf) \
40630 || exit 1
40632 @endif target-zlib
40634 .PHONY: maybe-html-target-zlib html-target-zlib
40635 maybe-html-target-zlib:
40636 @if target-zlib
40637 maybe-html-target-zlib: html-target-zlib
40639 html-target-zlib: \
40640 configure-target-zlib
40641 @: $(MAKE); $(unstage)
40642 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40643 r=`${PWD_COMMAND}`; export r; \
40644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40645 $(NORMAL_TARGET_EXPORTS) \
40646 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
40647 for flag in $(EXTRA_TARGET_FLAGS); do \
40648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40649 done; \
40650 (cd $(TARGET_SUBDIR)/zlib && \
40651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40653 "RANLIB=$${RANLIB}" \
40654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40655 html) \
40656 || exit 1
40658 @endif target-zlib
40660 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
40661 maybe-TAGS-target-zlib:
40662 @if target-zlib
40663 maybe-TAGS-target-zlib: TAGS-target-zlib
40665 TAGS-target-zlib: \
40666 configure-target-zlib
40667 @: $(MAKE); $(unstage)
40668 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40669 r=`${PWD_COMMAND}`; export r; \
40670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40671 $(NORMAL_TARGET_EXPORTS) \
40672 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
40673 for flag in $(EXTRA_TARGET_FLAGS); do \
40674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40675 done; \
40676 (cd $(TARGET_SUBDIR)/zlib && \
40677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40679 "RANLIB=$${RANLIB}" \
40680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40681 TAGS) \
40682 || exit 1
40684 @endif target-zlib
40686 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
40687 maybe-install-info-target-zlib:
40688 @if target-zlib
40689 maybe-install-info-target-zlib: install-info-target-zlib
40691 install-info-target-zlib: \
40692 configure-target-zlib \
40693 info-target-zlib
40694 @: $(MAKE); $(unstage)
40695 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40696 r=`${PWD_COMMAND}`; export r; \
40697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40698 $(NORMAL_TARGET_EXPORTS) \
40699 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
40700 for flag in $(EXTRA_TARGET_FLAGS); do \
40701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40702 done; \
40703 (cd $(TARGET_SUBDIR)/zlib && \
40704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40706 "RANLIB=$${RANLIB}" \
40707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40708 install-info) \
40709 || exit 1
40711 @endif target-zlib
40713 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
40714 maybe-install-pdf-target-zlib:
40715 @if target-zlib
40716 maybe-install-pdf-target-zlib: install-pdf-target-zlib
40718 install-pdf-target-zlib: \
40719 configure-target-zlib \
40720 pdf-target-zlib
40721 @: $(MAKE); $(unstage)
40722 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40723 r=`${PWD_COMMAND}`; export r; \
40724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40725 $(NORMAL_TARGET_EXPORTS) \
40726 echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib" ; \
40727 for flag in $(EXTRA_TARGET_FLAGS); do \
40728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40729 done; \
40730 (cd $(TARGET_SUBDIR)/zlib && \
40731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40733 "RANLIB=$${RANLIB}" \
40734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40735 install-pdf) \
40736 || exit 1
40738 @endif target-zlib
40740 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
40741 maybe-install-html-target-zlib:
40742 @if target-zlib
40743 maybe-install-html-target-zlib: install-html-target-zlib
40745 install-html-target-zlib: \
40746 configure-target-zlib \
40747 html-target-zlib
40748 @: $(MAKE); $(unstage)
40749 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40750 r=`${PWD_COMMAND}`; export r; \
40751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40752 $(NORMAL_TARGET_EXPORTS) \
40753 echo "Doing install-html in $(TARGET_SUBDIR)/zlib" ; \
40754 for flag in $(EXTRA_TARGET_FLAGS); do \
40755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40756 done; \
40757 (cd $(TARGET_SUBDIR)/zlib && \
40758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40760 "RANLIB=$${RANLIB}" \
40761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40762 install-html) \
40763 || exit 1
40765 @endif target-zlib
40767 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
40768 maybe-installcheck-target-zlib:
40769 @if target-zlib
40770 maybe-installcheck-target-zlib: installcheck-target-zlib
40772 installcheck-target-zlib: \
40773 configure-target-zlib
40774 @: $(MAKE); $(unstage)
40775 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40776 r=`${PWD_COMMAND}`; export r; \
40777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40778 $(NORMAL_TARGET_EXPORTS) \
40779 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
40780 for flag in $(EXTRA_TARGET_FLAGS); do \
40781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40782 done; \
40783 (cd $(TARGET_SUBDIR)/zlib && \
40784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40786 "RANLIB=$${RANLIB}" \
40787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40788 installcheck) \
40789 || exit 1
40791 @endif target-zlib
40793 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
40794 maybe-mostlyclean-target-zlib:
40795 @if target-zlib
40796 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
40798 mostlyclean-target-zlib:
40799 @: $(MAKE); $(unstage)
40800 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40801 r=`${PWD_COMMAND}`; export r; \
40802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40803 $(NORMAL_TARGET_EXPORTS) \
40804 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
40805 for flag in $(EXTRA_TARGET_FLAGS); do \
40806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40807 done; \
40808 (cd $(TARGET_SUBDIR)/zlib && \
40809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40811 "RANLIB=$${RANLIB}" \
40812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40813 mostlyclean) \
40814 || exit 1
40816 @endif target-zlib
40818 .PHONY: maybe-clean-target-zlib clean-target-zlib
40819 maybe-clean-target-zlib:
40820 @if target-zlib
40821 maybe-clean-target-zlib: clean-target-zlib
40823 clean-target-zlib:
40824 @: $(MAKE); $(unstage)
40825 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40826 r=`${PWD_COMMAND}`; export r; \
40827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40828 $(NORMAL_TARGET_EXPORTS) \
40829 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
40830 for flag in $(EXTRA_TARGET_FLAGS); do \
40831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40832 done; \
40833 (cd $(TARGET_SUBDIR)/zlib && \
40834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40836 "RANLIB=$${RANLIB}" \
40837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40838 clean) \
40839 || exit 1
40841 @endif target-zlib
40843 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
40844 maybe-distclean-target-zlib:
40845 @if target-zlib
40846 maybe-distclean-target-zlib: distclean-target-zlib
40848 distclean-target-zlib:
40849 @: $(MAKE); $(unstage)
40850 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40851 r=`${PWD_COMMAND}`; export r; \
40852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40853 $(NORMAL_TARGET_EXPORTS) \
40854 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
40855 for flag in $(EXTRA_TARGET_FLAGS); do \
40856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40857 done; \
40858 (cd $(TARGET_SUBDIR)/zlib && \
40859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40861 "RANLIB=$${RANLIB}" \
40862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40863 distclean) \
40864 || exit 1
40866 @endif target-zlib
40868 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
40869 maybe-maintainer-clean-target-zlib:
40870 @if target-zlib
40871 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
40873 maintainer-clean-target-zlib:
40874 @: $(MAKE); $(unstage)
40875 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40876 r=`${PWD_COMMAND}`; export r; \
40877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40878 $(NORMAL_TARGET_EXPORTS) \
40879 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
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)/zlib && \
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 maintainer-clean) \
40889 || exit 1
40891 @endif target-zlib
40897 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
40898 maybe-configure-target-boehm-gc:
40899 @if gcc-bootstrap
40900 configure-target-boehm-gc: stage_current
40901 @endif gcc-bootstrap
40902 @if target-boehm-gc
40903 maybe-configure-target-boehm-gc: configure-target-boehm-gc
40904 configure-target-boehm-gc:
40905 @: $(MAKE); $(unstage)
40906 @r=`${PWD_COMMAND}`; export r; \
40907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40908 echo "Checking multilib configuration for boehm-gc..."; \
40909 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
40910 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
40911 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
40912 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
40913 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
40914 else \
40915 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
40916 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
40917 fi; \
40918 else \
40919 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
40920 fi; \
40921 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
40922 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
40923 $(NORMAL_TARGET_EXPORTS) \
40924 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
40925 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
40926 case $(srcdir) in \
40927 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40928 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
40929 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40930 esac; \
40931 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
40932 libsrcdir="$$s/boehm-gc"; \
40933 rm -f no-such-file || : ; \
40934 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40935 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40936 --target=${target_alias} $${srcdiroption} \
40937 || exit 1
40938 @endif target-boehm-gc
40944 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
40945 maybe-all-target-boehm-gc:
40946 @if gcc-bootstrap
40947 all-target-boehm-gc: stage_current
40948 @endif gcc-bootstrap
40949 @if target-boehm-gc
40950 TARGET-target-boehm-gc=all
40951 maybe-all-target-boehm-gc: all-target-boehm-gc
40952 all-target-boehm-gc: configure-target-boehm-gc
40953 @: $(MAKE); $(unstage)
40954 @r=`${PWD_COMMAND}`; export r; \
40955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40956 $(NORMAL_TARGET_EXPORTS) \
40957 (cd $(TARGET_SUBDIR)/boehm-gc && \
40958 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
40959 $(TARGET-target-boehm-gc))
40960 @endif target-boehm-gc
40966 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
40967 maybe-check-target-boehm-gc:
40968 @if target-boehm-gc
40969 maybe-check-target-boehm-gc: check-target-boehm-gc
40971 check-target-boehm-gc:
40972 @: $(MAKE); $(unstage)
40973 @r=`${PWD_COMMAND}`; export r; \
40974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40975 $(NORMAL_TARGET_EXPORTS) \
40976 (cd $(TARGET_SUBDIR)/boehm-gc && \
40977 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40979 @endif target-boehm-gc
40981 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
40982 maybe-install-target-boehm-gc:
40983 @if target-boehm-gc
40984 maybe-install-target-boehm-gc: install-target-boehm-gc
40986 install-target-boehm-gc: installdirs
40987 @: $(MAKE); $(unstage)
40988 @r=`${PWD_COMMAND}`; export r; \
40989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40990 $(NORMAL_TARGET_EXPORTS) \
40991 (cd $(TARGET_SUBDIR)/boehm-gc && \
40992 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40994 @endif target-boehm-gc
40996 .PHONY: install-strip-target-boehm-gc maybe-install-strip-target-boehm-gc
40997 maybe-install-strip-target-boehm-gc:
40998 @if target-boehm-gc
40999 maybe-install-strip-target-boehm-gc: install-strip-target-boehm-gc
41001 install-strip-target-boehm-gc: installdirs
41002 @: $(MAKE); $(unstage)
41003 @r=`${PWD_COMMAND}`; export r; \
41004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41005 $(NORMAL_TARGET_EXPORTS) \
41006 (cd $(TARGET_SUBDIR)/boehm-gc && \
41007 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
41009 @endif target-boehm-gc
41011 # Other targets (info, dvi, pdf, etc.)
41013 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
41014 maybe-info-target-boehm-gc:
41015 @if target-boehm-gc
41016 maybe-info-target-boehm-gc: info-target-boehm-gc
41018 info-target-boehm-gc: \
41019 configure-target-boehm-gc
41020 @: $(MAKE); $(unstage)
41021 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
41022 r=`${PWD_COMMAND}`; export r; \
41023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41024 $(NORMAL_TARGET_EXPORTS) \
41025 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
41026 for flag in $(EXTRA_TARGET_FLAGS); do \
41027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41028 done; \
41029 (cd $(TARGET_SUBDIR)/boehm-gc && \
41030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41032 "RANLIB=$${RANLIB}" \
41033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41034 info) \
41035 || exit 1
41037 @endif target-boehm-gc
41039 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
41040 maybe-dvi-target-boehm-gc:
41041 @if target-boehm-gc
41042 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
41044 dvi-target-boehm-gc: \
41045 configure-target-boehm-gc
41046 @: $(MAKE); $(unstage)
41047 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
41048 r=`${PWD_COMMAND}`; export r; \
41049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41050 $(NORMAL_TARGET_EXPORTS) \
41051 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
41052 for flag in $(EXTRA_TARGET_FLAGS); do \
41053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41054 done; \
41055 (cd $(TARGET_SUBDIR)/boehm-gc && \
41056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41058 "RANLIB=$${RANLIB}" \
41059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41060 dvi) \
41061 || exit 1
41063 @endif target-boehm-gc
41065 .PHONY: maybe-pdf-target-boehm-gc pdf-target-boehm-gc
41066 maybe-pdf-target-boehm-gc:
41067 @if target-boehm-gc
41068 maybe-pdf-target-boehm-gc: pdf-target-boehm-gc
41070 pdf-target-boehm-gc: \
41071 configure-target-boehm-gc
41072 @: $(MAKE); $(unstage)
41073 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
41074 r=`${PWD_COMMAND}`; export r; \
41075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41076 $(NORMAL_TARGET_EXPORTS) \
41077 echo "Doing pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
41078 for flag in $(EXTRA_TARGET_FLAGS); do \
41079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41080 done; \
41081 (cd $(TARGET_SUBDIR)/boehm-gc && \
41082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41084 "RANLIB=$${RANLIB}" \
41085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41086 pdf) \
41087 || exit 1
41089 @endif target-boehm-gc
41091 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
41092 maybe-html-target-boehm-gc:
41093 @if target-boehm-gc
41094 maybe-html-target-boehm-gc: html-target-boehm-gc
41096 html-target-boehm-gc: \
41097 configure-target-boehm-gc
41098 @: $(MAKE); $(unstage)
41099 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
41100 r=`${PWD_COMMAND}`; export r; \
41101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41102 $(NORMAL_TARGET_EXPORTS) \
41103 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
41104 for flag in $(EXTRA_TARGET_FLAGS); do \
41105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41106 done; \
41107 (cd $(TARGET_SUBDIR)/boehm-gc && \
41108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41110 "RANLIB=$${RANLIB}" \
41111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41112 html) \
41113 || exit 1
41115 @endif target-boehm-gc
41117 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
41118 maybe-TAGS-target-boehm-gc:
41119 @if target-boehm-gc
41120 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
41122 TAGS-target-boehm-gc: \
41123 configure-target-boehm-gc
41124 @: $(MAKE); $(unstage)
41125 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
41126 r=`${PWD_COMMAND}`; export r; \
41127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41128 $(NORMAL_TARGET_EXPORTS) \
41129 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
41130 for flag in $(EXTRA_TARGET_FLAGS); do \
41131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41132 done; \
41133 (cd $(TARGET_SUBDIR)/boehm-gc && \
41134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41136 "RANLIB=$${RANLIB}" \
41137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41138 TAGS) \
41139 || exit 1
41141 @endif target-boehm-gc
41143 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
41144 maybe-install-info-target-boehm-gc:
41145 @if target-boehm-gc
41146 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
41148 install-info-target-boehm-gc: \
41149 configure-target-boehm-gc \
41150 info-target-boehm-gc
41151 @: $(MAKE); $(unstage)
41152 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
41153 r=`${PWD_COMMAND}`; export r; \
41154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41155 $(NORMAL_TARGET_EXPORTS) \
41156 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
41157 for flag in $(EXTRA_TARGET_FLAGS); do \
41158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41159 done; \
41160 (cd $(TARGET_SUBDIR)/boehm-gc && \
41161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41163 "RANLIB=$${RANLIB}" \
41164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41165 install-info) \
41166 || exit 1
41168 @endif target-boehm-gc
41170 .PHONY: maybe-install-pdf-target-boehm-gc install-pdf-target-boehm-gc
41171 maybe-install-pdf-target-boehm-gc:
41172 @if target-boehm-gc
41173 maybe-install-pdf-target-boehm-gc: install-pdf-target-boehm-gc
41175 install-pdf-target-boehm-gc: \
41176 configure-target-boehm-gc \
41177 pdf-target-boehm-gc
41178 @: $(MAKE); $(unstage)
41179 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
41180 r=`${PWD_COMMAND}`; export r; \
41181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41182 $(NORMAL_TARGET_EXPORTS) \
41183 echo "Doing install-pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
41184 for flag in $(EXTRA_TARGET_FLAGS); do \
41185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41186 done; \
41187 (cd $(TARGET_SUBDIR)/boehm-gc && \
41188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41190 "RANLIB=$${RANLIB}" \
41191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41192 install-pdf) \
41193 || exit 1
41195 @endif target-boehm-gc
41197 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
41198 maybe-install-html-target-boehm-gc:
41199 @if target-boehm-gc
41200 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
41202 install-html-target-boehm-gc: \
41203 configure-target-boehm-gc \
41204 html-target-boehm-gc
41205 @: $(MAKE); $(unstage)
41206 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
41207 r=`${PWD_COMMAND}`; export r; \
41208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41209 $(NORMAL_TARGET_EXPORTS) \
41210 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \
41211 for flag in $(EXTRA_TARGET_FLAGS); do \
41212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41213 done; \
41214 (cd $(TARGET_SUBDIR)/boehm-gc && \
41215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41217 "RANLIB=$${RANLIB}" \
41218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41219 install-html) \
41220 || exit 1
41222 @endif target-boehm-gc
41224 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
41225 maybe-installcheck-target-boehm-gc:
41226 @if target-boehm-gc
41227 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
41229 installcheck-target-boehm-gc: \
41230 configure-target-boehm-gc
41231 @: $(MAKE); $(unstage)
41232 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
41233 r=`${PWD_COMMAND}`; export r; \
41234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41235 $(NORMAL_TARGET_EXPORTS) \
41236 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
41237 for flag in $(EXTRA_TARGET_FLAGS); do \
41238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41239 done; \
41240 (cd $(TARGET_SUBDIR)/boehm-gc && \
41241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41243 "RANLIB=$${RANLIB}" \
41244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41245 installcheck) \
41246 || exit 1
41248 @endif target-boehm-gc
41250 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
41251 maybe-mostlyclean-target-boehm-gc:
41252 @if target-boehm-gc
41253 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
41255 mostlyclean-target-boehm-gc:
41256 @: $(MAKE); $(unstage)
41257 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
41258 r=`${PWD_COMMAND}`; export r; \
41259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41260 $(NORMAL_TARGET_EXPORTS) \
41261 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
41262 for flag in $(EXTRA_TARGET_FLAGS); do \
41263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41264 done; \
41265 (cd $(TARGET_SUBDIR)/boehm-gc && \
41266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41268 "RANLIB=$${RANLIB}" \
41269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41270 mostlyclean) \
41271 || exit 1
41273 @endif target-boehm-gc
41275 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
41276 maybe-clean-target-boehm-gc:
41277 @if target-boehm-gc
41278 maybe-clean-target-boehm-gc: clean-target-boehm-gc
41280 clean-target-boehm-gc:
41281 @: $(MAKE); $(unstage)
41282 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
41283 r=`${PWD_COMMAND}`; export r; \
41284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41285 $(NORMAL_TARGET_EXPORTS) \
41286 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
41287 for flag in $(EXTRA_TARGET_FLAGS); do \
41288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41289 done; \
41290 (cd $(TARGET_SUBDIR)/boehm-gc && \
41291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41293 "RANLIB=$${RANLIB}" \
41294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41295 clean) \
41296 || exit 1
41298 @endif target-boehm-gc
41300 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
41301 maybe-distclean-target-boehm-gc:
41302 @if target-boehm-gc
41303 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
41305 distclean-target-boehm-gc:
41306 @: $(MAKE); $(unstage)
41307 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
41308 r=`${PWD_COMMAND}`; export r; \
41309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41310 $(NORMAL_TARGET_EXPORTS) \
41311 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
41312 for flag in $(EXTRA_TARGET_FLAGS); do \
41313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41314 done; \
41315 (cd $(TARGET_SUBDIR)/boehm-gc && \
41316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41318 "RANLIB=$${RANLIB}" \
41319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41320 distclean) \
41321 || exit 1
41323 @endif target-boehm-gc
41325 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
41326 maybe-maintainer-clean-target-boehm-gc:
41327 @if target-boehm-gc
41328 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
41330 maintainer-clean-target-boehm-gc:
41331 @: $(MAKE); $(unstage)
41332 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
41333 r=`${PWD_COMMAND}`; export r; \
41334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41335 $(NORMAL_TARGET_EXPORTS) \
41336 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
41337 for flag in $(EXTRA_TARGET_FLAGS); do \
41338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41339 done; \
41340 (cd $(TARGET_SUBDIR)/boehm-gc && \
41341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41343 "RANLIB=$${RANLIB}" \
41344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41345 maintainer-clean) \
41346 || exit 1
41348 @endif target-boehm-gc
41354 .PHONY: configure-target-rda maybe-configure-target-rda
41355 maybe-configure-target-rda:
41356 @if gcc-bootstrap
41357 configure-target-rda: stage_current
41358 @endif gcc-bootstrap
41359 @if target-rda
41360 maybe-configure-target-rda: configure-target-rda
41361 configure-target-rda:
41362 @: $(MAKE); $(unstage)
41363 @r=`${PWD_COMMAND}`; export r; \
41364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41365 echo "Checking multilib configuration for rda..."; \
41366 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
41367 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
41368 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
41369 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
41370 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
41371 else \
41372 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
41373 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
41374 fi; \
41375 else \
41376 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
41377 fi; \
41378 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
41379 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
41380 $(NORMAL_TARGET_EXPORTS) \
41381 echo Configuring in $(TARGET_SUBDIR)/rda; \
41382 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
41383 case $(srcdir) in \
41384 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41385 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
41386 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41387 esac; \
41388 srcdiroption="--srcdir=$${topdir}/rda"; \
41389 libsrcdir="$$s/rda"; \
41390 rm -f no-such-file || : ; \
41391 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
41392 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41393 --target=${target_alias} $${srcdiroption} \
41394 || exit 1
41395 @endif target-rda
41401 .PHONY: all-target-rda maybe-all-target-rda
41402 maybe-all-target-rda:
41403 @if gcc-bootstrap
41404 all-target-rda: stage_current
41405 @endif gcc-bootstrap
41406 @if target-rda
41407 TARGET-target-rda=all
41408 maybe-all-target-rda: all-target-rda
41409 all-target-rda: configure-target-rda
41410 @: $(MAKE); $(unstage)
41411 @r=`${PWD_COMMAND}`; export r; \
41412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41413 $(NORMAL_TARGET_EXPORTS) \
41414 (cd $(TARGET_SUBDIR)/rda && \
41415 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
41416 $(TARGET-target-rda))
41417 @endif target-rda
41423 .PHONY: check-target-rda maybe-check-target-rda
41424 maybe-check-target-rda:
41425 @if target-rda
41426 maybe-check-target-rda: check-target-rda
41428 check-target-rda:
41429 @: $(MAKE); $(unstage)
41430 @r=`${PWD_COMMAND}`; export r; \
41431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41432 $(NORMAL_TARGET_EXPORTS) \
41433 (cd $(TARGET_SUBDIR)/rda && \
41434 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41436 @endif target-rda
41438 .PHONY: install-target-rda maybe-install-target-rda
41439 maybe-install-target-rda:
41440 @if target-rda
41441 maybe-install-target-rda: install-target-rda
41443 install-target-rda: installdirs
41444 @: $(MAKE); $(unstage)
41445 @r=`${PWD_COMMAND}`; export r; \
41446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41447 $(NORMAL_TARGET_EXPORTS) \
41448 (cd $(TARGET_SUBDIR)/rda && \
41449 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41451 @endif target-rda
41453 .PHONY: install-strip-target-rda maybe-install-strip-target-rda
41454 maybe-install-strip-target-rda:
41455 @if target-rda
41456 maybe-install-strip-target-rda: install-strip-target-rda
41458 install-strip-target-rda: installdirs
41459 @: $(MAKE); $(unstage)
41460 @r=`${PWD_COMMAND}`; export r; \
41461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41462 $(NORMAL_TARGET_EXPORTS) \
41463 (cd $(TARGET_SUBDIR)/rda && \
41464 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
41466 @endif target-rda
41468 # Other targets (info, dvi, pdf, etc.)
41470 .PHONY: maybe-info-target-rda info-target-rda
41471 maybe-info-target-rda:
41472 @if target-rda
41473 maybe-info-target-rda: info-target-rda
41475 info-target-rda: \
41476 configure-target-rda
41477 @: $(MAKE); $(unstage)
41478 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41479 r=`${PWD_COMMAND}`; export r; \
41480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41481 $(NORMAL_TARGET_EXPORTS) \
41482 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
41483 for flag in $(EXTRA_TARGET_FLAGS); do \
41484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41485 done; \
41486 (cd $(TARGET_SUBDIR)/rda && \
41487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41489 "RANLIB=$${RANLIB}" \
41490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41491 info) \
41492 || exit 1
41494 @endif target-rda
41496 .PHONY: maybe-dvi-target-rda dvi-target-rda
41497 maybe-dvi-target-rda:
41498 @if target-rda
41499 maybe-dvi-target-rda: dvi-target-rda
41501 dvi-target-rda: \
41502 configure-target-rda
41503 @: $(MAKE); $(unstage)
41504 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41505 r=`${PWD_COMMAND}`; export r; \
41506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41507 $(NORMAL_TARGET_EXPORTS) \
41508 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
41509 for flag in $(EXTRA_TARGET_FLAGS); do \
41510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41511 done; \
41512 (cd $(TARGET_SUBDIR)/rda && \
41513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41515 "RANLIB=$${RANLIB}" \
41516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41517 dvi) \
41518 || exit 1
41520 @endif target-rda
41522 .PHONY: maybe-pdf-target-rda pdf-target-rda
41523 maybe-pdf-target-rda:
41524 @if target-rda
41525 maybe-pdf-target-rda: pdf-target-rda
41527 pdf-target-rda: \
41528 configure-target-rda
41529 @: $(MAKE); $(unstage)
41530 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41531 r=`${PWD_COMMAND}`; export r; \
41532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41533 $(NORMAL_TARGET_EXPORTS) \
41534 echo "Doing pdf in $(TARGET_SUBDIR)/rda" ; \
41535 for flag in $(EXTRA_TARGET_FLAGS); do \
41536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41537 done; \
41538 (cd $(TARGET_SUBDIR)/rda && \
41539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41541 "RANLIB=$${RANLIB}" \
41542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41543 pdf) \
41544 || exit 1
41546 @endif target-rda
41548 .PHONY: maybe-html-target-rda html-target-rda
41549 maybe-html-target-rda:
41550 @if target-rda
41551 maybe-html-target-rda: html-target-rda
41553 html-target-rda: \
41554 configure-target-rda
41555 @: $(MAKE); $(unstage)
41556 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41557 r=`${PWD_COMMAND}`; export r; \
41558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41559 $(NORMAL_TARGET_EXPORTS) \
41560 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
41561 for flag in $(EXTRA_TARGET_FLAGS); do \
41562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41563 done; \
41564 (cd $(TARGET_SUBDIR)/rda && \
41565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41567 "RANLIB=$${RANLIB}" \
41568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41569 html) \
41570 || exit 1
41572 @endif target-rda
41574 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
41575 maybe-TAGS-target-rda:
41576 @if target-rda
41577 maybe-TAGS-target-rda: TAGS-target-rda
41579 TAGS-target-rda: \
41580 configure-target-rda
41581 @: $(MAKE); $(unstage)
41582 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41583 r=`${PWD_COMMAND}`; export r; \
41584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41585 $(NORMAL_TARGET_EXPORTS) \
41586 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
41587 for flag in $(EXTRA_TARGET_FLAGS); do \
41588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41589 done; \
41590 (cd $(TARGET_SUBDIR)/rda && \
41591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41593 "RANLIB=$${RANLIB}" \
41594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41595 TAGS) \
41596 || exit 1
41598 @endif target-rda
41600 .PHONY: maybe-install-info-target-rda install-info-target-rda
41601 maybe-install-info-target-rda:
41602 @if target-rda
41603 maybe-install-info-target-rda: install-info-target-rda
41605 install-info-target-rda: \
41606 configure-target-rda \
41607 info-target-rda
41608 @: $(MAKE); $(unstage)
41609 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41610 r=`${PWD_COMMAND}`; export r; \
41611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41612 $(NORMAL_TARGET_EXPORTS) \
41613 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
41614 for flag in $(EXTRA_TARGET_FLAGS); do \
41615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41616 done; \
41617 (cd $(TARGET_SUBDIR)/rda && \
41618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41620 "RANLIB=$${RANLIB}" \
41621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41622 install-info) \
41623 || exit 1
41625 @endif target-rda
41627 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
41628 maybe-install-pdf-target-rda:
41629 @if target-rda
41630 maybe-install-pdf-target-rda: install-pdf-target-rda
41632 install-pdf-target-rda: \
41633 configure-target-rda \
41634 pdf-target-rda
41635 @: $(MAKE); $(unstage)
41636 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41637 r=`${PWD_COMMAND}`; export r; \
41638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41639 $(NORMAL_TARGET_EXPORTS) \
41640 echo "Doing install-pdf in $(TARGET_SUBDIR)/rda" ; \
41641 for flag in $(EXTRA_TARGET_FLAGS); do \
41642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41643 done; \
41644 (cd $(TARGET_SUBDIR)/rda && \
41645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41647 "RANLIB=$${RANLIB}" \
41648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41649 install-pdf) \
41650 || exit 1
41652 @endif target-rda
41654 .PHONY: maybe-install-html-target-rda install-html-target-rda
41655 maybe-install-html-target-rda:
41656 @if target-rda
41657 maybe-install-html-target-rda: install-html-target-rda
41659 install-html-target-rda: \
41660 configure-target-rda \
41661 html-target-rda
41662 @: $(MAKE); $(unstage)
41663 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41664 r=`${PWD_COMMAND}`; export r; \
41665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41666 $(NORMAL_TARGET_EXPORTS) \
41667 echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \
41668 for flag in $(EXTRA_TARGET_FLAGS); do \
41669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41670 done; \
41671 (cd $(TARGET_SUBDIR)/rda && \
41672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41674 "RANLIB=$${RANLIB}" \
41675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41676 install-html) \
41677 || exit 1
41679 @endif target-rda
41681 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
41682 maybe-installcheck-target-rda:
41683 @if target-rda
41684 maybe-installcheck-target-rda: installcheck-target-rda
41686 installcheck-target-rda: \
41687 configure-target-rda
41688 @: $(MAKE); $(unstage)
41689 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41690 r=`${PWD_COMMAND}`; export r; \
41691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41692 $(NORMAL_TARGET_EXPORTS) \
41693 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
41694 for flag in $(EXTRA_TARGET_FLAGS); do \
41695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41696 done; \
41697 (cd $(TARGET_SUBDIR)/rda && \
41698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41700 "RANLIB=$${RANLIB}" \
41701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41702 installcheck) \
41703 || exit 1
41705 @endif target-rda
41707 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
41708 maybe-mostlyclean-target-rda:
41709 @if target-rda
41710 maybe-mostlyclean-target-rda: mostlyclean-target-rda
41712 mostlyclean-target-rda:
41713 @: $(MAKE); $(unstage)
41714 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41715 r=`${PWD_COMMAND}`; export r; \
41716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41717 $(NORMAL_TARGET_EXPORTS) \
41718 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
41719 for flag in $(EXTRA_TARGET_FLAGS); do \
41720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41721 done; \
41722 (cd $(TARGET_SUBDIR)/rda && \
41723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41725 "RANLIB=$${RANLIB}" \
41726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41727 mostlyclean) \
41728 || exit 1
41730 @endif target-rda
41732 .PHONY: maybe-clean-target-rda clean-target-rda
41733 maybe-clean-target-rda:
41734 @if target-rda
41735 maybe-clean-target-rda: clean-target-rda
41737 clean-target-rda:
41738 @: $(MAKE); $(unstage)
41739 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41740 r=`${PWD_COMMAND}`; export r; \
41741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41742 $(NORMAL_TARGET_EXPORTS) \
41743 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
41744 for flag in $(EXTRA_TARGET_FLAGS); do \
41745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41746 done; \
41747 (cd $(TARGET_SUBDIR)/rda && \
41748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41750 "RANLIB=$${RANLIB}" \
41751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41752 clean) \
41753 || exit 1
41755 @endif target-rda
41757 .PHONY: maybe-distclean-target-rda distclean-target-rda
41758 maybe-distclean-target-rda:
41759 @if target-rda
41760 maybe-distclean-target-rda: distclean-target-rda
41762 distclean-target-rda:
41763 @: $(MAKE); $(unstage)
41764 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41765 r=`${PWD_COMMAND}`; export r; \
41766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41767 $(NORMAL_TARGET_EXPORTS) \
41768 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
41769 for flag in $(EXTRA_TARGET_FLAGS); do \
41770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41771 done; \
41772 (cd $(TARGET_SUBDIR)/rda && \
41773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41775 "RANLIB=$${RANLIB}" \
41776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41777 distclean) \
41778 || exit 1
41780 @endif target-rda
41782 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
41783 maybe-maintainer-clean-target-rda:
41784 @if target-rda
41785 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
41787 maintainer-clean-target-rda:
41788 @: $(MAKE); $(unstage)
41789 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41790 r=`${PWD_COMMAND}`; export r; \
41791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41792 $(NORMAL_TARGET_EXPORTS) \
41793 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
41794 for flag in $(EXTRA_TARGET_FLAGS); do \
41795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41796 done; \
41797 (cd $(TARGET_SUBDIR)/rda && \
41798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41800 "RANLIB=$${RANLIB}" \
41801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41802 maintainer-clean) \
41803 || exit 1
41805 @endif target-rda
41811 .PHONY: configure-target-libada maybe-configure-target-libada
41812 maybe-configure-target-libada:
41813 @if gcc-bootstrap
41814 configure-target-libada: stage_current
41815 @endif gcc-bootstrap
41816 @if target-libada
41817 maybe-configure-target-libada: configure-target-libada
41818 configure-target-libada:
41819 @: $(MAKE); $(unstage)
41820 @r=`${PWD_COMMAND}`; export r; \
41821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41822 echo "Checking multilib configuration for libada..."; \
41823 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
41824 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
41825 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
41826 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
41827 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
41828 else \
41829 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
41830 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
41831 fi; \
41832 else \
41833 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
41834 fi; \
41835 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
41836 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
41837 $(NORMAL_TARGET_EXPORTS) \
41838 echo Configuring in $(TARGET_SUBDIR)/libada; \
41839 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
41840 case $(srcdir) in \
41841 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41842 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
41843 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41844 esac; \
41845 srcdiroption="--srcdir=$${topdir}/libada"; \
41846 libsrcdir="$$s/libada"; \
41847 rm -f no-such-file || : ; \
41848 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
41849 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41850 --target=${target_alias} $${srcdiroption} \
41851 || exit 1
41852 @endif target-libada
41858 .PHONY: all-target-libada maybe-all-target-libada
41859 maybe-all-target-libada:
41860 @if gcc-bootstrap
41861 all-target-libada: stage_current
41862 @endif gcc-bootstrap
41863 @if target-libada
41864 TARGET-target-libada=all
41865 maybe-all-target-libada: all-target-libada
41866 all-target-libada: configure-target-libada
41867 @: $(MAKE); $(unstage)
41868 @r=`${PWD_COMMAND}`; export r; \
41869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41870 $(NORMAL_TARGET_EXPORTS) \
41871 (cd $(TARGET_SUBDIR)/libada && \
41872 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
41873 $(TARGET-target-libada))
41874 @endif target-libada
41880 .PHONY: check-target-libada maybe-check-target-libada
41881 maybe-check-target-libada:
41882 @if target-libada
41883 maybe-check-target-libada: check-target-libada
41885 check-target-libada:
41886 @: $(MAKE); $(unstage)
41887 @r=`${PWD_COMMAND}`; export r; \
41888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41889 $(NORMAL_TARGET_EXPORTS) \
41890 (cd $(TARGET_SUBDIR)/libada && \
41891 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41893 @endif target-libada
41895 .PHONY: install-target-libada maybe-install-target-libada
41896 maybe-install-target-libada:
41897 @if target-libada
41898 maybe-install-target-libada: install-target-libada
41900 install-target-libada: installdirs
41901 @: $(MAKE); $(unstage)
41902 @r=`${PWD_COMMAND}`; export r; \
41903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41904 $(NORMAL_TARGET_EXPORTS) \
41905 (cd $(TARGET_SUBDIR)/libada && \
41906 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41908 @endif target-libada
41910 .PHONY: install-strip-target-libada maybe-install-strip-target-libada
41911 maybe-install-strip-target-libada:
41912 @if target-libada
41913 maybe-install-strip-target-libada: install-strip-target-libada
41915 install-strip-target-libada: installdirs
41916 @: $(MAKE); $(unstage)
41917 @r=`${PWD_COMMAND}`; export r; \
41918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41919 $(NORMAL_TARGET_EXPORTS) \
41920 (cd $(TARGET_SUBDIR)/libada && \
41921 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
41923 @endif target-libada
41925 # Other targets (info, dvi, pdf, etc.)
41927 .PHONY: maybe-info-target-libada info-target-libada
41928 maybe-info-target-libada:
41929 @if target-libada
41930 maybe-info-target-libada: info-target-libada
41932 info-target-libada: \
41933 configure-target-libada
41934 @: $(MAKE); $(unstage)
41935 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41936 r=`${PWD_COMMAND}`; export r; \
41937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41938 $(NORMAL_TARGET_EXPORTS) \
41939 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
41940 for flag in $(EXTRA_TARGET_FLAGS); do \
41941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41942 done; \
41943 (cd $(TARGET_SUBDIR)/libada && \
41944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41946 "RANLIB=$${RANLIB}" \
41947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41948 info) \
41949 || exit 1
41951 @endif target-libada
41953 .PHONY: maybe-dvi-target-libada dvi-target-libada
41954 maybe-dvi-target-libada:
41955 @if target-libada
41956 maybe-dvi-target-libada: dvi-target-libada
41958 dvi-target-libada: \
41959 configure-target-libada
41960 @: $(MAKE); $(unstage)
41961 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41962 r=`${PWD_COMMAND}`; export r; \
41963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41964 $(NORMAL_TARGET_EXPORTS) \
41965 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
41966 for flag in $(EXTRA_TARGET_FLAGS); do \
41967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41968 done; \
41969 (cd $(TARGET_SUBDIR)/libada && \
41970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41972 "RANLIB=$${RANLIB}" \
41973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41974 dvi) \
41975 || exit 1
41977 @endif target-libada
41979 .PHONY: maybe-pdf-target-libada pdf-target-libada
41980 maybe-pdf-target-libada:
41981 @if target-libada
41982 maybe-pdf-target-libada: pdf-target-libada
41984 pdf-target-libada: \
41985 configure-target-libada
41986 @: $(MAKE); $(unstage)
41987 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41988 r=`${PWD_COMMAND}`; export r; \
41989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41990 $(NORMAL_TARGET_EXPORTS) \
41991 echo "Doing pdf in $(TARGET_SUBDIR)/libada" ; \
41992 for flag in $(EXTRA_TARGET_FLAGS); do \
41993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41994 done; \
41995 (cd $(TARGET_SUBDIR)/libada && \
41996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41998 "RANLIB=$${RANLIB}" \
41999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42000 pdf) \
42001 || exit 1
42003 @endif target-libada
42005 .PHONY: maybe-html-target-libada html-target-libada
42006 maybe-html-target-libada:
42007 @if target-libada
42008 maybe-html-target-libada: html-target-libada
42010 html-target-libada: \
42011 configure-target-libada
42012 @: $(MAKE); $(unstage)
42013 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
42014 r=`${PWD_COMMAND}`; export r; \
42015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42016 $(NORMAL_TARGET_EXPORTS) \
42017 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
42018 for flag in $(EXTRA_TARGET_FLAGS); do \
42019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42020 done; \
42021 (cd $(TARGET_SUBDIR)/libada && \
42022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42024 "RANLIB=$${RANLIB}" \
42025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42026 html) \
42027 || exit 1
42029 @endif target-libada
42031 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
42032 maybe-TAGS-target-libada:
42033 @if target-libada
42034 maybe-TAGS-target-libada: TAGS-target-libada
42036 TAGS-target-libada: \
42037 configure-target-libada
42038 @: $(MAKE); $(unstage)
42039 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
42040 r=`${PWD_COMMAND}`; export r; \
42041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42042 $(NORMAL_TARGET_EXPORTS) \
42043 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
42044 for flag in $(EXTRA_TARGET_FLAGS); do \
42045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42046 done; \
42047 (cd $(TARGET_SUBDIR)/libada && \
42048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42050 "RANLIB=$${RANLIB}" \
42051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42052 TAGS) \
42053 || exit 1
42055 @endif target-libada
42057 .PHONY: maybe-install-info-target-libada install-info-target-libada
42058 maybe-install-info-target-libada:
42059 @if target-libada
42060 maybe-install-info-target-libada: install-info-target-libada
42062 install-info-target-libada: \
42063 configure-target-libada \
42064 info-target-libada
42065 @: $(MAKE); $(unstage)
42066 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
42067 r=`${PWD_COMMAND}`; export r; \
42068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42069 $(NORMAL_TARGET_EXPORTS) \
42070 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
42071 for flag in $(EXTRA_TARGET_FLAGS); do \
42072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42073 done; \
42074 (cd $(TARGET_SUBDIR)/libada && \
42075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42077 "RANLIB=$${RANLIB}" \
42078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42079 install-info) \
42080 || exit 1
42082 @endif target-libada
42084 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
42085 maybe-install-pdf-target-libada:
42086 @if target-libada
42087 maybe-install-pdf-target-libada: install-pdf-target-libada
42089 install-pdf-target-libada: \
42090 configure-target-libada \
42091 pdf-target-libada
42092 @: $(MAKE); $(unstage)
42093 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
42094 r=`${PWD_COMMAND}`; export r; \
42095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42096 $(NORMAL_TARGET_EXPORTS) \
42097 echo "Doing install-pdf in $(TARGET_SUBDIR)/libada" ; \
42098 for flag in $(EXTRA_TARGET_FLAGS); do \
42099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42100 done; \
42101 (cd $(TARGET_SUBDIR)/libada && \
42102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42104 "RANLIB=$${RANLIB}" \
42105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42106 install-pdf) \
42107 || exit 1
42109 @endif target-libada
42111 .PHONY: maybe-install-html-target-libada install-html-target-libada
42112 maybe-install-html-target-libada:
42113 @if target-libada
42114 maybe-install-html-target-libada: install-html-target-libada
42116 install-html-target-libada: \
42117 configure-target-libada \
42118 html-target-libada
42119 @: $(MAKE); $(unstage)
42120 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
42121 r=`${PWD_COMMAND}`; export r; \
42122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42123 $(NORMAL_TARGET_EXPORTS) \
42124 echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \
42125 for flag in $(EXTRA_TARGET_FLAGS); do \
42126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42127 done; \
42128 (cd $(TARGET_SUBDIR)/libada && \
42129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42131 "RANLIB=$${RANLIB}" \
42132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42133 install-html) \
42134 || exit 1
42136 @endif target-libada
42138 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
42139 maybe-installcheck-target-libada:
42140 @if target-libada
42141 maybe-installcheck-target-libada: installcheck-target-libada
42143 installcheck-target-libada: \
42144 configure-target-libada
42145 @: $(MAKE); $(unstage)
42146 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
42147 r=`${PWD_COMMAND}`; export r; \
42148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42149 $(NORMAL_TARGET_EXPORTS) \
42150 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
42151 for flag in $(EXTRA_TARGET_FLAGS); do \
42152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42153 done; \
42154 (cd $(TARGET_SUBDIR)/libada && \
42155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42157 "RANLIB=$${RANLIB}" \
42158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42159 installcheck) \
42160 || exit 1
42162 @endif target-libada
42164 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
42165 maybe-mostlyclean-target-libada:
42166 @if target-libada
42167 maybe-mostlyclean-target-libada: mostlyclean-target-libada
42169 mostlyclean-target-libada:
42170 @: $(MAKE); $(unstage)
42171 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
42172 r=`${PWD_COMMAND}`; export r; \
42173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42174 $(NORMAL_TARGET_EXPORTS) \
42175 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
42176 for flag in $(EXTRA_TARGET_FLAGS); do \
42177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42178 done; \
42179 (cd $(TARGET_SUBDIR)/libada && \
42180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42182 "RANLIB=$${RANLIB}" \
42183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42184 mostlyclean) \
42185 || exit 1
42187 @endif target-libada
42189 .PHONY: maybe-clean-target-libada clean-target-libada
42190 maybe-clean-target-libada:
42191 @if target-libada
42192 maybe-clean-target-libada: clean-target-libada
42194 clean-target-libada:
42195 @: $(MAKE); $(unstage)
42196 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
42197 r=`${PWD_COMMAND}`; export r; \
42198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42199 $(NORMAL_TARGET_EXPORTS) \
42200 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
42201 for flag in $(EXTRA_TARGET_FLAGS); do \
42202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42203 done; \
42204 (cd $(TARGET_SUBDIR)/libada && \
42205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42207 "RANLIB=$${RANLIB}" \
42208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42209 clean) \
42210 || exit 1
42212 @endif target-libada
42214 .PHONY: maybe-distclean-target-libada distclean-target-libada
42215 maybe-distclean-target-libada:
42216 @if target-libada
42217 maybe-distclean-target-libada: distclean-target-libada
42219 distclean-target-libada:
42220 @: $(MAKE); $(unstage)
42221 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
42222 r=`${PWD_COMMAND}`; export r; \
42223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42224 $(NORMAL_TARGET_EXPORTS) \
42225 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
42226 for flag in $(EXTRA_TARGET_FLAGS); do \
42227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42228 done; \
42229 (cd $(TARGET_SUBDIR)/libada && \
42230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42232 "RANLIB=$${RANLIB}" \
42233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42234 distclean) \
42235 || exit 1
42237 @endif target-libada
42239 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
42240 maybe-maintainer-clean-target-libada:
42241 @if target-libada
42242 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
42244 maintainer-clean-target-libada:
42245 @: $(MAKE); $(unstage)
42246 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
42247 r=`${PWD_COMMAND}`; export r; \
42248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42249 $(NORMAL_TARGET_EXPORTS) \
42250 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
42251 for flag in $(EXTRA_TARGET_FLAGS); do \
42252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42253 done; \
42254 (cd $(TARGET_SUBDIR)/libada && \
42255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42257 "RANLIB=$${RANLIB}" \
42258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42259 maintainer-clean) \
42260 || exit 1
42262 @endif target-libada
42268 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
42269 maybe-configure-target-libgomp:
42270 @if gcc-bootstrap
42271 configure-target-libgomp: stage_current
42272 @endif gcc-bootstrap
42273 @if target-libgomp
42274 maybe-configure-target-libgomp: configure-target-libgomp
42275 configure-target-libgomp:
42276 @r=`${PWD_COMMAND}`; export r; \
42277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42278 echo "Checking multilib configuration for libgomp..."; \
42279 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
42280 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
42281 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
42282 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
42283 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
42284 else \
42285 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
42286 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
42287 fi; \
42288 else \
42289 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
42290 fi; \
42291 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
42292 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
42293 $(NORMAL_TARGET_EXPORTS) \
42294 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
42295 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
42296 case $(srcdir) in \
42297 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42298 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
42299 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42300 esac; \
42301 srcdiroption="--srcdir=$${topdir}/libgomp"; \
42302 libsrcdir="$$s/libgomp"; \
42303 rm -f no-such-file || : ; \
42304 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
42305 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42306 --target=${target_alias} $${srcdiroption} \
42307 || exit 1
42308 @endif target-libgomp
42312 .PHONY: configure-stage1-target-libgomp maybe-configure-stage1-target-libgomp
42313 maybe-configure-stage1-target-libgomp:
42314 @if target-libgomp-bootstrap
42315 maybe-configure-stage1-target-libgomp: configure-stage1-target-libgomp
42316 configure-stage1-target-libgomp:
42317 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
42318 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
42319 @r=`${PWD_COMMAND}`; export r; \
42320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42321 TFLAGS="$(STAGE1_TFLAGS)"; \
42322 echo "Checking multilib configuration for libgomp..."; \
42323 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
42324 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
42325 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
42326 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
42327 else \
42328 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
42329 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
42330 fi; \
42331 else \
42332 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
42333 fi; \
42334 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
42335 $(NORMAL_TARGET_EXPORTS) \
42336 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42337 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42338 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42339 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgomp ; \
42340 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
42341 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
42342 case $(srcdir) in \
42343 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42344 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
42345 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42346 esac; \
42347 srcdiroption="--srcdir=$${topdir}/libgomp"; \
42348 libsrcdir="$$s/libgomp"; \
42349 $(SHELL) $${libsrcdir}/configure \
42350 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42351 --target=${target_alias} $${srcdiroption} \
42352 $(STAGE1_CONFIGURE_FLAGS)
42353 @endif target-libgomp-bootstrap
42355 .PHONY: configure-stage2-target-libgomp maybe-configure-stage2-target-libgomp
42356 maybe-configure-stage2-target-libgomp:
42357 @if target-libgomp-bootstrap
42358 maybe-configure-stage2-target-libgomp: configure-stage2-target-libgomp
42359 configure-stage2-target-libgomp:
42360 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
42361 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
42362 @r=`${PWD_COMMAND}`; export r; \
42363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42364 TFLAGS="$(STAGE2_TFLAGS)"; \
42365 echo "Checking multilib configuration for libgomp..."; \
42366 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
42367 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
42368 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
42369 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
42370 else \
42371 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
42372 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
42373 fi; \
42374 else \
42375 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
42376 fi; \
42377 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
42378 $(NORMAL_TARGET_EXPORTS) \
42380 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42381 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42382 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42383 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgomp ; \
42384 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
42385 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
42386 case $(srcdir) in \
42387 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42388 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
42389 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42390 esac; \
42391 srcdiroption="--srcdir=$${topdir}/libgomp"; \
42392 libsrcdir="$$s/libgomp"; \
42393 $(SHELL) $${libsrcdir}/configure \
42394 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42395 --target=${target_alias} $${srcdiroption} \
42396 --with-build-libsubdir=$(HOST_SUBDIR) \
42397 $(STAGE2_CONFIGURE_FLAGS)
42398 @endif target-libgomp-bootstrap
42400 .PHONY: configure-stage3-target-libgomp maybe-configure-stage3-target-libgomp
42401 maybe-configure-stage3-target-libgomp:
42402 @if target-libgomp-bootstrap
42403 maybe-configure-stage3-target-libgomp: configure-stage3-target-libgomp
42404 configure-stage3-target-libgomp:
42405 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
42406 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
42407 @r=`${PWD_COMMAND}`; export r; \
42408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42409 TFLAGS="$(STAGE3_TFLAGS)"; \
42410 echo "Checking multilib configuration for libgomp..."; \
42411 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
42412 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
42413 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
42414 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
42415 else \
42416 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
42417 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
42418 fi; \
42419 else \
42420 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
42421 fi; \
42422 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
42423 $(NORMAL_TARGET_EXPORTS) \
42425 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42426 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42427 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42428 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgomp ; \
42429 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
42430 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
42431 case $(srcdir) in \
42432 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42433 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
42434 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42435 esac; \
42436 srcdiroption="--srcdir=$${topdir}/libgomp"; \
42437 libsrcdir="$$s/libgomp"; \
42438 $(SHELL) $${libsrcdir}/configure \
42439 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42440 --target=${target_alias} $${srcdiroption} \
42441 --with-build-libsubdir=$(HOST_SUBDIR) \
42442 $(STAGE3_CONFIGURE_FLAGS)
42443 @endif target-libgomp-bootstrap
42445 .PHONY: configure-stage4-target-libgomp maybe-configure-stage4-target-libgomp
42446 maybe-configure-stage4-target-libgomp:
42447 @if target-libgomp-bootstrap
42448 maybe-configure-stage4-target-libgomp: configure-stage4-target-libgomp
42449 configure-stage4-target-libgomp:
42450 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
42451 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
42452 @r=`${PWD_COMMAND}`; export r; \
42453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42454 TFLAGS="$(STAGE4_TFLAGS)"; \
42455 echo "Checking multilib configuration for libgomp..."; \
42456 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
42457 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
42458 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
42459 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
42460 else \
42461 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
42462 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
42463 fi; \
42464 else \
42465 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
42466 fi; \
42467 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
42468 $(NORMAL_TARGET_EXPORTS) \
42470 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42471 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42472 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42473 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgomp ; \
42474 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
42475 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
42476 case $(srcdir) in \
42477 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42478 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
42479 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42480 esac; \
42481 srcdiroption="--srcdir=$${topdir}/libgomp"; \
42482 libsrcdir="$$s/libgomp"; \
42483 $(SHELL) $${libsrcdir}/configure \
42484 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42485 --target=${target_alias} $${srcdiroption} \
42486 --with-build-libsubdir=$(HOST_SUBDIR) \
42487 $(STAGE4_CONFIGURE_FLAGS)
42488 @endif target-libgomp-bootstrap
42490 .PHONY: configure-stageprofile-target-libgomp maybe-configure-stageprofile-target-libgomp
42491 maybe-configure-stageprofile-target-libgomp:
42492 @if target-libgomp-bootstrap
42493 maybe-configure-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
42494 configure-stageprofile-target-libgomp:
42495 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
42496 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
42497 @r=`${PWD_COMMAND}`; export r; \
42498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42499 TFLAGS="$(STAGEprofile_TFLAGS)"; \
42500 echo "Checking multilib configuration for libgomp..."; \
42501 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
42502 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
42503 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
42504 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
42505 else \
42506 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
42507 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
42508 fi; \
42509 else \
42510 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
42511 fi; \
42512 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
42513 $(NORMAL_TARGET_EXPORTS) \
42515 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42516 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42517 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42518 echo Configuring stage profile in $(TARGET_SUBDIR)/libgomp ; \
42519 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
42520 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
42521 case $(srcdir) in \
42522 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42523 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
42524 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42525 esac; \
42526 srcdiroption="--srcdir=$${topdir}/libgomp"; \
42527 libsrcdir="$$s/libgomp"; \
42528 $(SHELL) $${libsrcdir}/configure \
42529 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42530 --target=${target_alias} $${srcdiroption} \
42531 --with-build-libsubdir=$(HOST_SUBDIR) \
42532 $(STAGEprofile_CONFIGURE_FLAGS)
42533 @endif target-libgomp-bootstrap
42535 .PHONY: configure-stagefeedback-target-libgomp maybe-configure-stagefeedback-target-libgomp
42536 maybe-configure-stagefeedback-target-libgomp:
42537 @if target-libgomp-bootstrap
42538 maybe-configure-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
42539 configure-stagefeedback-target-libgomp:
42540 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
42541 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
42542 @r=`${PWD_COMMAND}`; export r; \
42543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42544 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
42545 echo "Checking multilib configuration for libgomp..."; \
42546 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
42547 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
42548 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
42549 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
42550 else \
42551 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
42552 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
42553 fi; \
42554 else \
42555 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
42556 fi; \
42557 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
42558 $(NORMAL_TARGET_EXPORTS) \
42560 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42561 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42562 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42563 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgomp ; \
42564 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
42565 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
42566 case $(srcdir) in \
42567 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42568 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
42569 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42570 esac; \
42571 srcdiroption="--srcdir=$${topdir}/libgomp"; \
42572 libsrcdir="$$s/libgomp"; \
42573 $(SHELL) $${libsrcdir}/configure \
42574 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42575 --target=${target_alias} $${srcdiroption} \
42576 --with-build-libsubdir=$(HOST_SUBDIR) \
42577 $(STAGEfeedback_CONFIGURE_FLAGS)
42578 @endif target-libgomp-bootstrap
42584 .PHONY: all-target-libgomp maybe-all-target-libgomp
42585 maybe-all-target-libgomp:
42586 @if gcc-bootstrap
42587 all-target-libgomp: stage_current
42588 @endif gcc-bootstrap
42589 @if target-libgomp
42590 TARGET-target-libgomp=all
42591 maybe-all-target-libgomp: all-target-libgomp
42592 all-target-libgomp: configure-target-libgomp
42593 @r=`${PWD_COMMAND}`; export r; \
42594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42595 $(NORMAL_TARGET_EXPORTS) \
42596 (cd $(TARGET_SUBDIR)/libgomp && \
42597 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
42598 $(TARGET-target-libgomp))
42599 @endif target-libgomp
42603 .PHONY: all-stage1-target-libgomp maybe-all-stage1-target-libgomp
42604 .PHONY: clean-stage1-target-libgomp maybe-clean-stage1-target-libgomp
42605 maybe-all-stage1-target-libgomp:
42606 maybe-clean-stage1-target-libgomp:
42607 @if target-libgomp-bootstrap
42608 maybe-all-stage1-target-libgomp: all-stage1-target-libgomp
42609 all-stage1: all-stage1-target-libgomp
42610 TARGET-stage1-target-libgomp = $(TARGET-target-libgomp)
42611 all-stage1-target-libgomp: configure-stage1-target-libgomp
42612 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
42613 @r=`${PWD_COMMAND}`; export r; \
42614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42615 TFLAGS="$(STAGE1_TFLAGS)"; \
42616 $(NORMAL_TARGET_EXPORTS) \
42617 cd $(TARGET_SUBDIR)/libgomp && \
42618 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42619 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42620 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42621 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42622 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42623 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42624 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42625 $(EXTRA_TARGET_FLAGS) \
42627 TFLAGS="$(STAGE1_TFLAGS)" \
42628 $(TARGET-stage1-target-libgomp)
42630 maybe-clean-stage1-target-libgomp: clean-stage1-target-libgomp
42631 clean-stage1: clean-stage1-target-libgomp
42632 clean-stage1-target-libgomp:
42633 @if [ $(current_stage) = stage1 ]; then \
42634 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
42635 else \
42636 [ -f $(TARGET_SUBDIR)/stage1-libgomp/Makefile ] || exit 0; \
42637 $(MAKE) stage1-start; \
42638 fi; \
42639 cd $(TARGET_SUBDIR)/libgomp && \
42640 $(MAKE) $(EXTRA_TARGET_FLAGS) \
42641 clean
42642 @endif target-libgomp-bootstrap
42645 .PHONY: all-stage2-target-libgomp maybe-all-stage2-target-libgomp
42646 .PHONY: clean-stage2-target-libgomp maybe-clean-stage2-target-libgomp
42647 maybe-all-stage2-target-libgomp:
42648 maybe-clean-stage2-target-libgomp:
42649 @if target-libgomp-bootstrap
42650 maybe-all-stage2-target-libgomp: all-stage2-target-libgomp
42651 all-stage2: all-stage2-target-libgomp
42652 TARGET-stage2-target-libgomp = $(TARGET-target-libgomp)
42653 all-stage2-target-libgomp: configure-stage2-target-libgomp
42654 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
42655 @r=`${PWD_COMMAND}`; export r; \
42656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42657 TFLAGS="$(STAGE2_TFLAGS)"; \
42658 $(NORMAL_TARGET_EXPORTS) \
42660 cd $(TARGET_SUBDIR)/libgomp && \
42661 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42662 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42663 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42664 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42665 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42666 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42667 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42668 $(EXTRA_TARGET_FLAGS) \
42669 TFLAGS="$(STAGE2_TFLAGS)" \
42670 $(TARGET-stage2-target-libgomp)
42672 maybe-clean-stage2-target-libgomp: clean-stage2-target-libgomp
42673 clean-stage2: clean-stage2-target-libgomp
42674 clean-stage2-target-libgomp:
42675 @if [ $(current_stage) = stage2 ]; then \
42676 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
42677 else \
42678 [ -f $(TARGET_SUBDIR)/stage2-libgomp/Makefile ] || exit 0; \
42679 $(MAKE) stage2-start; \
42680 fi; \
42681 cd $(TARGET_SUBDIR)/libgomp && \
42682 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
42683 @endif target-libgomp-bootstrap
42686 .PHONY: all-stage3-target-libgomp maybe-all-stage3-target-libgomp
42687 .PHONY: clean-stage3-target-libgomp maybe-clean-stage3-target-libgomp
42688 maybe-all-stage3-target-libgomp:
42689 maybe-clean-stage3-target-libgomp:
42690 @if target-libgomp-bootstrap
42691 maybe-all-stage3-target-libgomp: all-stage3-target-libgomp
42692 all-stage3: all-stage3-target-libgomp
42693 TARGET-stage3-target-libgomp = $(TARGET-target-libgomp)
42694 all-stage3-target-libgomp: configure-stage3-target-libgomp
42695 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
42696 @r=`${PWD_COMMAND}`; export r; \
42697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42698 TFLAGS="$(STAGE3_TFLAGS)"; \
42699 $(NORMAL_TARGET_EXPORTS) \
42701 cd $(TARGET_SUBDIR)/libgomp && \
42702 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42703 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42704 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42705 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42706 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42707 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42708 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42709 $(EXTRA_TARGET_FLAGS) \
42710 TFLAGS="$(STAGE3_TFLAGS)" \
42711 $(TARGET-stage3-target-libgomp)
42713 maybe-clean-stage3-target-libgomp: clean-stage3-target-libgomp
42714 clean-stage3: clean-stage3-target-libgomp
42715 clean-stage3-target-libgomp:
42716 @if [ $(current_stage) = stage3 ]; then \
42717 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
42718 else \
42719 [ -f $(TARGET_SUBDIR)/stage3-libgomp/Makefile ] || exit 0; \
42720 $(MAKE) stage3-start; \
42721 fi; \
42722 cd $(TARGET_SUBDIR)/libgomp && \
42723 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
42724 @endif target-libgomp-bootstrap
42727 .PHONY: all-stage4-target-libgomp maybe-all-stage4-target-libgomp
42728 .PHONY: clean-stage4-target-libgomp maybe-clean-stage4-target-libgomp
42729 maybe-all-stage4-target-libgomp:
42730 maybe-clean-stage4-target-libgomp:
42731 @if target-libgomp-bootstrap
42732 maybe-all-stage4-target-libgomp: all-stage4-target-libgomp
42733 all-stage4: all-stage4-target-libgomp
42734 TARGET-stage4-target-libgomp = $(TARGET-target-libgomp)
42735 all-stage4-target-libgomp: configure-stage4-target-libgomp
42736 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
42737 @r=`${PWD_COMMAND}`; export r; \
42738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42739 TFLAGS="$(STAGE4_TFLAGS)"; \
42740 $(NORMAL_TARGET_EXPORTS) \
42742 cd $(TARGET_SUBDIR)/libgomp && \
42743 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42744 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42745 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42746 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42747 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42748 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42749 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42750 $(EXTRA_TARGET_FLAGS) \
42751 TFLAGS="$(STAGE4_TFLAGS)" \
42752 $(TARGET-stage4-target-libgomp)
42754 maybe-clean-stage4-target-libgomp: clean-stage4-target-libgomp
42755 clean-stage4: clean-stage4-target-libgomp
42756 clean-stage4-target-libgomp:
42757 @if [ $(current_stage) = stage4 ]; then \
42758 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
42759 else \
42760 [ -f $(TARGET_SUBDIR)/stage4-libgomp/Makefile ] || exit 0; \
42761 $(MAKE) stage4-start; \
42762 fi; \
42763 cd $(TARGET_SUBDIR)/libgomp && \
42764 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
42765 @endif target-libgomp-bootstrap
42768 .PHONY: all-stageprofile-target-libgomp maybe-all-stageprofile-target-libgomp
42769 .PHONY: clean-stageprofile-target-libgomp maybe-clean-stageprofile-target-libgomp
42770 maybe-all-stageprofile-target-libgomp:
42771 maybe-clean-stageprofile-target-libgomp:
42772 @if target-libgomp-bootstrap
42773 maybe-all-stageprofile-target-libgomp: all-stageprofile-target-libgomp
42774 all-stageprofile: all-stageprofile-target-libgomp
42775 TARGET-stageprofile-target-libgomp = $(TARGET-target-libgomp)
42776 all-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
42777 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
42778 @r=`${PWD_COMMAND}`; export r; \
42779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42780 TFLAGS="$(STAGEprofile_TFLAGS)"; \
42781 $(NORMAL_TARGET_EXPORTS) \
42783 cd $(TARGET_SUBDIR)/libgomp && \
42784 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42785 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42786 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42787 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42788 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42789 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42790 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42791 $(EXTRA_TARGET_FLAGS) \
42792 TFLAGS="$(STAGEprofile_TFLAGS)" \
42793 $(TARGET-stageprofile-target-libgomp)
42795 maybe-clean-stageprofile-target-libgomp: clean-stageprofile-target-libgomp
42796 clean-stageprofile: clean-stageprofile-target-libgomp
42797 clean-stageprofile-target-libgomp:
42798 @if [ $(current_stage) = stageprofile ]; then \
42799 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
42800 else \
42801 [ -f $(TARGET_SUBDIR)/stageprofile-libgomp/Makefile ] || exit 0; \
42802 $(MAKE) stageprofile-start; \
42803 fi; \
42804 cd $(TARGET_SUBDIR)/libgomp && \
42805 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
42806 @endif target-libgomp-bootstrap
42809 .PHONY: all-stagefeedback-target-libgomp maybe-all-stagefeedback-target-libgomp
42810 .PHONY: clean-stagefeedback-target-libgomp maybe-clean-stagefeedback-target-libgomp
42811 maybe-all-stagefeedback-target-libgomp:
42812 maybe-clean-stagefeedback-target-libgomp:
42813 @if target-libgomp-bootstrap
42814 maybe-all-stagefeedback-target-libgomp: all-stagefeedback-target-libgomp
42815 all-stagefeedback: all-stagefeedback-target-libgomp
42816 TARGET-stagefeedback-target-libgomp = $(TARGET-target-libgomp)
42817 all-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
42818 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
42819 @r=`${PWD_COMMAND}`; export r; \
42820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42821 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
42822 $(NORMAL_TARGET_EXPORTS) \
42824 cd $(TARGET_SUBDIR)/libgomp && \
42825 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42826 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42827 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42828 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42829 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42830 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42831 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42832 $(EXTRA_TARGET_FLAGS) \
42833 TFLAGS="$(STAGEfeedback_TFLAGS)" \
42834 $(TARGET-stagefeedback-target-libgomp)
42836 maybe-clean-stagefeedback-target-libgomp: clean-stagefeedback-target-libgomp
42837 clean-stagefeedback: clean-stagefeedback-target-libgomp
42838 clean-stagefeedback-target-libgomp:
42839 @if [ $(current_stage) = stagefeedback ]; then \
42840 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
42841 else \
42842 [ -f $(TARGET_SUBDIR)/stagefeedback-libgomp/Makefile ] || exit 0; \
42843 $(MAKE) stagefeedback-start; \
42844 fi; \
42845 cd $(TARGET_SUBDIR)/libgomp && \
42846 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
42847 @endif target-libgomp-bootstrap
42854 .PHONY: check-target-libgomp maybe-check-target-libgomp
42855 maybe-check-target-libgomp:
42856 @if target-libgomp
42857 maybe-check-target-libgomp: check-target-libgomp
42859 check-target-libgomp:
42860 @: $(MAKE); $(unstage)
42861 @r=`${PWD_COMMAND}`; export r; \
42862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42863 $(NORMAL_TARGET_EXPORTS) \
42864 (cd $(TARGET_SUBDIR)/libgomp && \
42865 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
42867 @endif target-libgomp
42869 .PHONY: install-target-libgomp maybe-install-target-libgomp
42870 maybe-install-target-libgomp:
42871 @if target-libgomp
42872 maybe-install-target-libgomp: install-target-libgomp
42874 install-target-libgomp: installdirs
42875 @: $(MAKE); $(unstage)
42876 @r=`${PWD_COMMAND}`; export r; \
42877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42878 $(NORMAL_TARGET_EXPORTS) \
42879 (cd $(TARGET_SUBDIR)/libgomp && \
42880 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42882 @endif target-libgomp
42884 .PHONY: install-strip-target-libgomp maybe-install-strip-target-libgomp
42885 maybe-install-strip-target-libgomp:
42886 @if target-libgomp
42887 maybe-install-strip-target-libgomp: install-strip-target-libgomp
42889 install-strip-target-libgomp: installdirs
42890 @: $(MAKE); $(unstage)
42891 @r=`${PWD_COMMAND}`; export r; \
42892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42893 $(NORMAL_TARGET_EXPORTS) \
42894 (cd $(TARGET_SUBDIR)/libgomp && \
42895 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
42897 @endif target-libgomp
42899 # Other targets (info, dvi, pdf, etc.)
42901 .PHONY: maybe-info-target-libgomp info-target-libgomp
42902 maybe-info-target-libgomp:
42903 @if target-libgomp
42904 maybe-info-target-libgomp: info-target-libgomp
42906 info-target-libgomp: \
42907 configure-target-libgomp
42908 @: $(MAKE); $(unstage)
42909 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
42910 r=`${PWD_COMMAND}`; export r; \
42911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42912 $(NORMAL_TARGET_EXPORTS) \
42913 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
42914 for flag in $(EXTRA_TARGET_FLAGS); do \
42915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42916 done; \
42917 (cd $(TARGET_SUBDIR)/libgomp && \
42918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42920 "RANLIB=$${RANLIB}" \
42921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42922 info) \
42923 || exit 1
42925 @endif target-libgomp
42927 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
42928 maybe-dvi-target-libgomp:
42929 @if target-libgomp
42930 maybe-dvi-target-libgomp: dvi-target-libgomp
42932 dvi-target-libgomp: \
42933 configure-target-libgomp
42934 @: $(MAKE); $(unstage)
42935 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
42936 r=`${PWD_COMMAND}`; export r; \
42937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42938 $(NORMAL_TARGET_EXPORTS) \
42939 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
42940 for flag in $(EXTRA_TARGET_FLAGS); do \
42941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42942 done; \
42943 (cd $(TARGET_SUBDIR)/libgomp && \
42944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42946 "RANLIB=$${RANLIB}" \
42947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42948 dvi) \
42949 || exit 1
42951 @endif target-libgomp
42953 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
42954 maybe-pdf-target-libgomp:
42955 @if target-libgomp
42956 maybe-pdf-target-libgomp: pdf-target-libgomp
42958 pdf-target-libgomp: \
42959 configure-target-libgomp
42960 @: $(MAKE); $(unstage)
42961 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
42962 r=`${PWD_COMMAND}`; export r; \
42963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42964 $(NORMAL_TARGET_EXPORTS) \
42965 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp" ; \
42966 for flag in $(EXTRA_TARGET_FLAGS); do \
42967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42968 done; \
42969 (cd $(TARGET_SUBDIR)/libgomp && \
42970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42972 "RANLIB=$${RANLIB}" \
42973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42974 pdf) \
42975 || exit 1
42977 @endif target-libgomp
42979 .PHONY: maybe-html-target-libgomp html-target-libgomp
42980 maybe-html-target-libgomp:
42981 @if target-libgomp
42982 maybe-html-target-libgomp: html-target-libgomp
42984 html-target-libgomp: \
42985 configure-target-libgomp
42986 @: $(MAKE); $(unstage)
42987 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
42988 r=`${PWD_COMMAND}`; export r; \
42989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42990 $(NORMAL_TARGET_EXPORTS) \
42991 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
42992 for flag in $(EXTRA_TARGET_FLAGS); do \
42993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42994 done; \
42995 (cd $(TARGET_SUBDIR)/libgomp && \
42996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42998 "RANLIB=$${RANLIB}" \
42999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43000 html) \
43001 || exit 1
43003 @endif target-libgomp
43005 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
43006 maybe-TAGS-target-libgomp:
43007 @if target-libgomp
43008 maybe-TAGS-target-libgomp: TAGS-target-libgomp
43010 TAGS-target-libgomp: \
43011 configure-target-libgomp
43012 @: $(MAKE); $(unstage)
43013 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
43014 r=`${PWD_COMMAND}`; export r; \
43015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43016 $(NORMAL_TARGET_EXPORTS) \
43017 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
43018 for flag in $(EXTRA_TARGET_FLAGS); do \
43019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43020 done; \
43021 (cd $(TARGET_SUBDIR)/libgomp && \
43022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43024 "RANLIB=$${RANLIB}" \
43025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43026 TAGS) \
43027 || exit 1
43029 @endif target-libgomp
43031 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
43032 maybe-install-info-target-libgomp:
43033 @if target-libgomp
43034 maybe-install-info-target-libgomp: install-info-target-libgomp
43036 install-info-target-libgomp: \
43037 configure-target-libgomp \
43038 info-target-libgomp
43039 @: $(MAKE); $(unstage)
43040 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
43041 r=`${PWD_COMMAND}`; export r; \
43042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43043 $(NORMAL_TARGET_EXPORTS) \
43044 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
43045 for flag in $(EXTRA_TARGET_FLAGS); do \
43046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43047 done; \
43048 (cd $(TARGET_SUBDIR)/libgomp && \
43049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43051 "RANLIB=$${RANLIB}" \
43052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43053 install-info) \
43054 || exit 1
43056 @endif target-libgomp
43058 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
43059 maybe-install-pdf-target-libgomp:
43060 @if target-libgomp
43061 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
43063 install-pdf-target-libgomp: \
43064 configure-target-libgomp \
43065 pdf-target-libgomp
43066 @: $(MAKE); $(unstage)
43067 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
43068 r=`${PWD_COMMAND}`; export r; \
43069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43070 $(NORMAL_TARGET_EXPORTS) \
43071 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp" ; \
43072 for flag in $(EXTRA_TARGET_FLAGS); do \
43073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43074 done; \
43075 (cd $(TARGET_SUBDIR)/libgomp && \
43076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43078 "RANLIB=$${RANLIB}" \
43079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43080 install-pdf) \
43081 || exit 1
43083 @endif target-libgomp
43085 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
43086 maybe-install-html-target-libgomp:
43087 @if target-libgomp
43088 maybe-install-html-target-libgomp: install-html-target-libgomp
43090 install-html-target-libgomp: \
43091 configure-target-libgomp \
43092 html-target-libgomp
43093 @: $(MAKE); $(unstage)
43094 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
43095 r=`${PWD_COMMAND}`; export r; \
43096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43097 $(NORMAL_TARGET_EXPORTS) \
43098 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \
43099 for flag in $(EXTRA_TARGET_FLAGS); do \
43100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43101 done; \
43102 (cd $(TARGET_SUBDIR)/libgomp && \
43103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43105 "RANLIB=$${RANLIB}" \
43106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43107 install-html) \
43108 || exit 1
43110 @endif target-libgomp
43112 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
43113 maybe-installcheck-target-libgomp:
43114 @if target-libgomp
43115 maybe-installcheck-target-libgomp: installcheck-target-libgomp
43117 installcheck-target-libgomp: \
43118 configure-target-libgomp
43119 @: $(MAKE); $(unstage)
43120 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
43121 r=`${PWD_COMMAND}`; export r; \
43122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43123 $(NORMAL_TARGET_EXPORTS) \
43124 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
43125 for flag in $(EXTRA_TARGET_FLAGS); do \
43126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43127 done; \
43128 (cd $(TARGET_SUBDIR)/libgomp && \
43129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43131 "RANLIB=$${RANLIB}" \
43132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43133 installcheck) \
43134 || exit 1
43136 @endif target-libgomp
43138 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
43139 maybe-mostlyclean-target-libgomp:
43140 @if target-libgomp
43141 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
43143 mostlyclean-target-libgomp:
43144 @: $(MAKE); $(unstage)
43145 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
43146 r=`${PWD_COMMAND}`; export r; \
43147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43148 $(NORMAL_TARGET_EXPORTS) \
43149 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
43150 for flag in $(EXTRA_TARGET_FLAGS); do \
43151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43152 done; \
43153 (cd $(TARGET_SUBDIR)/libgomp && \
43154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43156 "RANLIB=$${RANLIB}" \
43157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43158 mostlyclean) \
43159 || exit 1
43161 @endif target-libgomp
43163 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
43164 maybe-clean-target-libgomp:
43165 @if target-libgomp
43166 maybe-clean-target-libgomp: clean-target-libgomp
43168 clean-target-libgomp:
43169 @: $(MAKE); $(unstage)
43170 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
43171 r=`${PWD_COMMAND}`; export r; \
43172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43173 $(NORMAL_TARGET_EXPORTS) \
43174 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
43175 for flag in $(EXTRA_TARGET_FLAGS); do \
43176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43177 done; \
43178 (cd $(TARGET_SUBDIR)/libgomp && \
43179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43181 "RANLIB=$${RANLIB}" \
43182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43183 clean) \
43184 || exit 1
43186 @endif target-libgomp
43188 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
43189 maybe-distclean-target-libgomp:
43190 @if target-libgomp
43191 maybe-distclean-target-libgomp: distclean-target-libgomp
43193 distclean-target-libgomp:
43194 @: $(MAKE); $(unstage)
43195 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
43196 r=`${PWD_COMMAND}`; export r; \
43197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43198 $(NORMAL_TARGET_EXPORTS) \
43199 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
43200 for flag in $(EXTRA_TARGET_FLAGS); do \
43201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43202 done; \
43203 (cd $(TARGET_SUBDIR)/libgomp && \
43204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43206 "RANLIB=$${RANLIB}" \
43207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43208 distclean) \
43209 || exit 1
43211 @endif target-libgomp
43213 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
43214 maybe-maintainer-clean-target-libgomp:
43215 @if target-libgomp
43216 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
43218 maintainer-clean-target-libgomp:
43219 @: $(MAKE); $(unstage)
43220 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
43221 r=`${PWD_COMMAND}`; export r; \
43222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43223 $(NORMAL_TARGET_EXPORTS) \
43224 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
43225 for flag in $(EXTRA_TARGET_FLAGS); do \
43226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43227 done; \
43228 (cd $(TARGET_SUBDIR)/libgomp && \
43229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43231 "RANLIB=$${RANLIB}" \
43232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43233 maintainer-clean) \
43234 || exit 1
43236 @endif target-libgomp
43242 .PHONY: configure-target-libitm maybe-configure-target-libitm
43243 maybe-configure-target-libitm:
43244 @if gcc-bootstrap
43245 configure-target-libitm: stage_current
43246 @endif gcc-bootstrap
43247 @if target-libitm
43248 maybe-configure-target-libitm: configure-target-libitm
43249 configure-target-libitm:
43250 @: $(MAKE); $(unstage)
43251 @r=`${PWD_COMMAND}`; export r; \
43252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43253 echo "Checking multilib configuration for libitm..."; \
43254 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm ; \
43255 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libitm/multilib.tmp 2> /dev/null ; \
43256 if test -r $(TARGET_SUBDIR)/libitm/multilib.out; then \
43257 if cmp -s $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; then \
43258 rm -f $(TARGET_SUBDIR)/libitm/multilib.tmp; \
43259 else \
43260 rm -f $(TARGET_SUBDIR)/libitm/Makefile; \
43261 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
43262 fi; \
43263 else \
43264 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
43265 fi; \
43266 test ! -f $(TARGET_SUBDIR)/libitm/Makefile || exit 0; \
43267 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm ; \
43268 $(NORMAL_TARGET_EXPORTS) \
43269 echo Configuring in $(TARGET_SUBDIR)/libitm; \
43270 cd "$(TARGET_SUBDIR)/libitm" || exit 1; \
43271 case $(srcdir) in \
43272 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43273 *) topdir=`echo $(TARGET_SUBDIR)/libitm/ | \
43274 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43275 esac; \
43276 srcdiroption="--srcdir=$${topdir}/libitm"; \
43277 libsrcdir="$$s/libitm"; \
43278 rm -f no-such-file || : ; \
43279 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
43280 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43281 --target=${target_alias} $${srcdiroption} \
43282 || exit 1
43283 @endif target-libitm
43289 .PHONY: all-target-libitm maybe-all-target-libitm
43290 maybe-all-target-libitm:
43291 @if gcc-bootstrap
43292 all-target-libitm: stage_current
43293 @endif gcc-bootstrap
43294 @if target-libitm
43295 TARGET-target-libitm=all
43296 maybe-all-target-libitm: all-target-libitm
43297 all-target-libitm: configure-target-libitm
43298 @: $(MAKE); $(unstage)
43299 @r=`${PWD_COMMAND}`; export r; \
43300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43301 $(NORMAL_TARGET_EXPORTS) \
43302 (cd $(TARGET_SUBDIR)/libitm && \
43303 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
43304 $(TARGET-target-libitm))
43305 @endif target-libitm
43311 .PHONY: check-target-libitm maybe-check-target-libitm
43312 maybe-check-target-libitm:
43313 @if target-libitm
43314 maybe-check-target-libitm: check-target-libitm
43316 check-target-libitm:
43317 @: $(MAKE); $(unstage)
43318 @r=`${PWD_COMMAND}`; export r; \
43319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43320 $(NORMAL_TARGET_EXPORTS) \
43321 (cd $(TARGET_SUBDIR)/libitm && \
43322 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
43324 @endif target-libitm
43326 .PHONY: install-target-libitm maybe-install-target-libitm
43327 maybe-install-target-libitm:
43328 @if target-libitm
43329 maybe-install-target-libitm: install-target-libitm
43331 install-target-libitm: installdirs
43332 @: $(MAKE); $(unstage)
43333 @r=`${PWD_COMMAND}`; export r; \
43334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43335 $(NORMAL_TARGET_EXPORTS) \
43336 (cd $(TARGET_SUBDIR)/libitm && \
43337 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43339 @endif target-libitm
43341 .PHONY: install-strip-target-libitm maybe-install-strip-target-libitm
43342 maybe-install-strip-target-libitm:
43343 @if target-libitm
43344 maybe-install-strip-target-libitm: install-strip-target-libitm
43346 install-strip-target-libitm: installdirs
43347 @: $(MAKE); $(unstage)
43348 @r=`${PWD_COMMAND}`; export r; \
43349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43350 $(NORMAL_TARGET_EXPORTS) \
43351 (cd $(TARGET_SUBDIR)/libitm && \
43352 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
43354 @endif target-libitm
43356 # Other targets (info, dvi, pdf, etc.)
43358 .PHONY: maybe-info-target-libitm info-target-libitm
43359 maybe-info-target-libitm:
43360 @if target-libitm
43361 maybe-info-target-libitm: info-target-libitm
43363 info-target-libitm: \
43364 configure-target-libitm
43365 @: $(MAKE); $(unstage)
43366 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
43367 r=`${PWD_COMMAND}`; export r; \
43368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43369 $(NORMAL_TARGET_EXPORTS) \
43370 echo "Doing info in $(TARGET_SUBDIR)/libitm" ; \
43371 for flag in $(EXTRA_TARGET_FLAGS); do \
43372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43373 done; \
43374 (cd $(TARGET_SUBDIR)/libitm && \
43375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43377 "RANLIB=$${RANLIB}" \
43378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43379 info) \
43380 || exit 1
43382 @endif target-libitm
43384 .PHONY: maybe-dvi-target-libitm dvi-target-libitm
43385 maybe-dvi-target-libitm:
43386 @if target-libitm
43387 maybe-dvi-target-libitm: dvi-target-libitm
43389 dvi-target-libitm: \
43390 configure-target-libitm
43391 @: $(MAKE); $(unstage)
43392 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
43393 r=`${PWD_COMMAND}`; export r; \
43394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43395 $(NORMAL_TARGET_EXPORTS) \
43396 echo "Doing dvi in $(TARGET_SUBDIR)/libitm" ; \
43397 for flag in $(EXTRA_TARGET_FLAGS); do \
43398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43399 done; \
43400 (cd $(TARGET_SUBDIR)/libitm && \
43401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43403 "RANLIB=$${RANLIB}" \
43404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43405 dvi) \
43406 || exit 1
43408 @endif target-libitm
43410 .PHONY: maybe-pdf-target-libitm pdf-target-libitm
43411 maybe-pdf-target-libitm:
43412 @if target-libitm
43413 maybe-pdf-target-libitm: pdf-target-libitm
43415 pdf-target-libitm: \
43416 configure-target-libitm
43417 @: $(MAKE); $(unstage)
43418 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
43419 r=`${PWD_COMMAND}`; export r; \
43420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43421 $(NORMAL_TARGET_EXPORTS) \
43422 echo "Doing pdf in $(TARGET_SUBDIR)/libitm" ; \
43423 for flag in $(EXTRA_TARGET_FLAGS); do \
43424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43425 done; \
43426 (cd $(TARGET_SUBDIR)/libitm && \
43427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43429 "RANLIB=$${RANLIB}" \
43430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43431 pdf) \
43432 || exit 1
43434 @endif target-libitm
43436 .PHONY: maybe-html-target-libitm html-target-libitm
43437 maybe-html-target-libitm:
43438 @if target-libitm
43439 maybe-html-target-libitm: html-target-libitm
43441 html-target-libitm: \
43442 configure-target-libitm
43443 @: $(MAKE); $(unstage)
43444 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
43445 r=`${PWD_COMMAND}`; export r; \
43446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43447 $(NORMAL_TARGET_EXPORTS) \
43448 echo "Doing html in $(TARGET_SUBDIR)/libitm" ; \
43449 for flag in $(EXTRA_TARGET_FLAGS); do \
43450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43451 done; \
43452 (cd $(TARGET_SUBDIR)/libitm && \
43453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43455 "RANLIB=$${RANLIB}" \
43456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43457 html) \
43458 || exit 1
43460 @endif target-libitm
43462 .PHONY: maybe-TAGS-target-libitm TAGS-target-libitm
43463 maybe-TAGS-target-libitm:
43464 @if target-libitm
43465 maybe-TAGS-target-libitm: TAGS-target-libitm
43467 TAGS-target-libitm: \
43468 configure-target-libitm
43469 @: $(MAKE); $(unstage)
43470 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
43471 r=`${PWD_COMMAND}`; export r; \
43472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43473 $(NORMAL_TARGET_EXPORTS) \
43474 echo "Doing TAGS in $(TARGET_SUBDIR)/libitm" ; \
43475 for flag in $(EXTRA_TARGET_FLAGS); do \
43476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43477 done; \
43478 (cd $(TARGET_SUBDIR)/libitm && \
43479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43481 "RANLIB=$${RANLIB}" \
43482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43483 TAGS) \
43484 || exit 1
43486 @endif target-libitm
43488 .PHONY: maybe-install-info-target-libitm install-info-target-libitm
43489 maybe-install-info-target-libitm:
43490 @if target-libitm
43491 maybe-install-info-target-libitm: install-info-target-libitm
43493 install-info-target-libitm: \
43494 configure-target-libitm \
43495 info-target-libitm
43496 @: $(MAKE); $(unstage)
43497 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
43498 r=`${PWD_COMMAND}`; export r; \
43499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43500 $(NORMAL_TARGET_EXPORTS) \
43501 echo "Doing install-info in $(TARGET_SUBDIR)/libitm" ; \
43502 for flag in $(EXTRA_TARGET_FLAGS); do \
43503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43504 done; \
43505 (cd $(TARGET_SUBDIR)/libitm && \
43506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43508 "RANLIB=$${RANLIB}" \
43509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43510 install-info) \
43511 || exit 1
43513 @endif target-libitm
43515 .PHONY: maybe-install-pdf-target-libitm install-pdf-target-libitm
43516 maybe-install-pdf-target-libitm:
43517 @if target-libitm
43518 maybe-install-pdf-target-libitm: install-pdf-target-libitm
43520 install-pdf-target-libitm: \
43521 configure-target-libitm \
43522 pdf-target-libitm
43523 @: $(MAKE); $(unstage)
43524 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
43525 r=`${PWD_COMMAND}`; export r; \
43526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43527 $(NORMAL_TARGET_EXPORTS) \
43528 echo "Doing install-pdf in $(TARGET_SUBDIR)/libitm" ; \
43529 for flag in $(EXTRA_TARGET_FLAGS); do \
43530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43531 done; \
43532 (cd $(TARGET_SUBDIR)/libitm && \
43533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43535 "RANLIB=$${RANLIB}" \
43536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43537 install-pdf) \
43538 || exit 1
43540 @endif target-libitm
43542 .PHONY: maybe-install-html-target-libitm install-html-target-libitm
43543 maybe-install-html-target-libitm:
43544 @if target-libitm
43545 maybe-install-html-target-libitm: install-html-target-libitm
43547 install-html-target-libitm: \
43548 configure-target-libitm \
43549 html-target-libitm
43550 @: $(MAKE); $(unstage)
43551 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
43552 r=`${PWD_COMMAND}`; export r; \
43553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43554 $(NORMAL_TARGET_EXPORTS) \
43555 echo "Doing install-html in $(TARGET_SUBDIR)/libitm" ; \
43556 for flag in $(EXTRA_TARGET_FLAGS); do \
43557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43558 done; \
43559 (cd $(TARGET_SUBDIR)/libitm && \
43560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43562 "RANLIB=$${RANLIB}" \
43563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43564 install-html) \
43565 || exit 1
43567 @endif target-libitm
43569 .PHONY: maybe-installcheck-target-libitm installcheck-target-libitm
43570 maybe-installcheck-target-libitm:
43571 @if target-libitm
43572 maybe-installcheck-target-libitm: installcheck-target-libitm
43574 installcheck-target-libitm: \
43575 configure-target-libitm
43576 @: $(MAKE); $(unstage)
43577 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
43578 r=`${PWD_COMMAND}`; export r; \
43579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43580 $(NORMAL_TARGET_EXPORTS) \
43581 echo "Doing installcheck in $(TARGET_SUBDIR)/libitm" ; \
43582 for flag in $(EXTRA_TARGET_FLAGS); do \
43583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43584 done; \
43585 (cd $(TARGET_SUBDIR)/libitm && \
43586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43588 "RANLIB=$${RANLIB}" \
43589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43590 installcheck) \
43591 || exit 1
43593 @endif target-libitm
43595 .PHONY: maybe-mostlyclean-target-libitm mostlyclean-target-libitm
43596 maybe-mostlyclean-target-libitm:
43597 @if target-libitm
43598 maybe-mostlyclean-target-libitm: mostlyclean-target-libitm
43600 mostlyclean-target-libitm:
43601 @: $(MAKE); $(unstage)
43602 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
43603 r=`${PWD_COMMAND}`; export r; \
43604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43605 $(NORMAL_TARGET_EXPORTS) \
43606 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libitm" ; \
43607 for flag in $(EXTRA_TARGET_FLAGS); do \
43608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43609 done; \
43610 (cd $(TARGET_SUBDIR)/libitm && \
43611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43613 "RANLIB=$${RANLIB}" \
43614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43615 mostlyclean) \
43616 || exit 1
43618 @endif target-libitm
43620 .PHONY: maybe-clean-target-libitm clean-target-libitm
43621 maybe-clean-target-libitm:
43622 @if target-libitm
43623 maybe-clean-target-libitm: clean-target-libitm
43625 clean-target-libitm:
43626 @: $(MAKE); $(unstage)
43627 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
43628 r=`${PWD_COMMAND}`; export r; \
43629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43630 $(NORMAL_TARGET_EXPORTS) \
43631 echo "Doing clean in $(TARGET_SUBDIR)/libitm" ; \
43632 for flag in $(EXTRA_TARGET_FLAGS); do \
43633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43634 done; \
43635 (cd $(TARGET_SUBDIR)/libitm && \
43636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43638 "RANLIB=$${RANLIB}" \
43639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43640 clean) \
43641 || exit 1
43643 @endif target-libitm
43645 .PHONY: maybe-distclean-target-libitm distclean-target-libitm
43646 maybe-distclean-target-libitm:
43647 @if target-libitm
43648 maybe-distclean-target-libitm: distclean-target-libitm
43650 distclean-target-libitm:
43651 @: $(MAKE); $(unstage)
43652 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
43653 r=`${PWD_COMMAND}`; export r; \
43654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43655 $(NORMAL_TARGET_EXPORTS) \
43656 echo "Doing distclean in $(TARGET_SUBDIR)/libitm" ; \
43657 for flag in $(EXTRA_TARGET_FLAGS); do \
43658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43659 done; \
43660 (cd $(TARGET_SUBDIR)/libitm && \
43661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43663 "RANLIB=$${RANLIB}" \
43664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43665 distclean) \
43666 || exit 1
43668 @endif target-libitm
43670 .PHONY: maybe-maintainer-clean-target-libitm maintainer-clean-target-libitm
43671 maybe-maintainer-clean-target-libitm:
43672 @if target-libitm
43673 maybe-maintainer-clean-target-libitm: maintainer-clean-target-libitm
43675 maintainer-clean-target-libitm:
43676 @: $(MAKE); $(unstage)
43677 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
43678 r=`${PWD_COMMAND}`; export r; \
43679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43680 $(NORMAL_TARGET_EXPORTS) \
43681 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libitm" ; \
43682 for flag in $(EXTRA_TARGET_FLAGS); do \
43683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43684 done; \
43685 (cd $(TARGET_SUBDIR)/libitm && \
43686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43688 "RANLIB=$${RANLIB}" \
43689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43690 maintainer-clean) \
43691 || exit 1
43693 @endif target-libitm
43699 .PHONY: configure-target-libatomic maybe-configure-target-libatomic
43700 maybe-configure-target-libatomic:
43701 @if gcc-bootstrap
43702 configure-target-libatomic: stage_current
43703 @endif gcc-bootstrap
43704 @if target-libatomic
43705 maybe-configure-target-libatomic: configure-target-libatomic
43706 configure-target-libatomic:
43707 @: $(MAKE); $(unstage)
43708 @r=`${PWD_COMMAND}`; export r; \
43709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43710 echo "Checking multilib configuration for libatomic..."; \
43711 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic ; \
43712 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null ; \
43713 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
43714 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
43715 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
43716 else \
43717 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
43718 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
43719 fi; \
43720 else \
43721 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
43722 fi; \
43723 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
43724 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic ; \
43725 $(NORMAL_TARGET_EXPORTS) \
43726 echo Configuring in $(TARGET_SUBDIR)/libatomic; \
43727 cd "$(TARGET_SUBDIR)/libatomic" || exit 1; \
43728 case $(srcdir) in \
43729 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43730 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
43731 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43732 esac; \
43733 srcdiroption="--srcdir=$${topdir}/libatomic"; \
43734 libsrcdir="$$s/libatomic"; \
43735 rm -f no-such-file || : ; \
43736 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
43737 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43738 --target=${target_alias} $${srcdiroption} \
43739 || exit 1
43740 @endif target-libatomic
43746 .PHONY: all-target-libatomic maybe-all-target-libatomic
43747 maybe-all-target-libatomic:
43748 @if gcc-bootstrap
43749 all-target-libatomic: stage_current
43750 @endif gcc-bootstrap
43751 @if target-libatomic
43752 TARGET-target-libatomic=all
43753 maybe-all-target-libatomic: all-target-libatomic
43754 all-target-libatomic: configure-target-libatomic
43755 @: $(MAKE); $(unstage)
43756 @r=`${PWD_COMMAND}`; export r; \
43757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43758 $(NORMAL_TARGET_EXPORTS) \
43759 (cd $(TARGET_SUBDIR)/libatomic && \
43760 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
43761 $(TARGET-target-libatomic))
43762 @endif target-libatomic
43768 .PHONY: check-target-libatomic maybe-check-target-libatomic
43769 maybe-check-target-libatomic:
43770 @if target-libatomic
43771 maybe-check-target-libatomic: check-target-libatomic
43773 check-target-libatomic:
43774 @: $(MAKE); $(unstage)
43775 @r=`${PWD_COMMAND}`; export r; \
43776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43777 $(NORMAL_TARGET_EXPORTS) \
43778 (cd $(TARGET_SUBDIR)/libatomic && \
43779 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
43781 @endif target-libatomic
43783 .PHONY: install-target-libatomic maybe-install-target-libatomic
43784 maybe-install-target-libatomic:
43785 @if target-libatomic
43786 maybe-install-target-libatomic: install-target-libatomic
43788 install-target-libatomic: installdirs
43789 @: $(MAKE); $(unstage)
43790 @r=`${PWD_COMMAND}`; export r; \
43791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43792 $(NORMAL_TARGET_EXPORTS) \
43793 (cd $(TARGET_SUBDIR)/libatomic && \
43794 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43796 @endif target-libatomic
43798 .PHONY: install-strip-target-libatomic maybe-install-strip-target-libatomic
43799 maybe-install-strip-target-libatomic:
43800 @if target-libatomic
43801 maybe-install-strip-target-libatomic: install-strip-target-libatomic
43803 install-strip-target-libatomic: installdirs
43804 @: $(MAKE); $(unstage)
43805 @r=`${PWD_COMMAND}`; export r; \
43806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43807 $(NORMAL_TARGET_EXPORTS) \
43808 (cd $(TARGET_SUBDIR)/libatomic && \
43809 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
43811 @endif target-libatomic
43813 # Other targets (info, dvi, pdf, etc.)
43815 .PHONY: maybe-info-target-libatomic info-target-libatomic
43816 maybe-info-target-libatomic:
43817 @if target-libatomic
43818 maybe-info-target-libatomic: info-target-libatomic
43820 info-target-libatomic: \
43821 configure-target-libatomic
43822 @: $(MAKE); $(unstage)
43823 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
43824 r=`${PWD_COMMAND}`; export r; \
43825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43826 $(NORMAL_TARGET_EXPORTS) \
43827 echo "Doing info in $(TARGET_SUBDIR)/libatomic" ; \
43828 for flag in $(EXTRA_TARGET_FLAGS); do \
43829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43830 done; \
43831 (cd $(TARGET_SUBDIR)/libatomic && \
43832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43834 "RANLIB=$${RANLIB}" \
43835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43836 info) \
43837 || exit 1
43839 @endif target-libatomic
43841 .PHONY: maybe-dvi-target-libatomic dvi-target-libatomic
43842 maybe-dvi-target-libatomic:
43843 @if target-libatomic
43844 maybe-dvi-target-libatomic: dvi-target-libatomic
43846 dvi-target-libatomic: \
43847 configure-target-libatomic
43848 @: $(MAKE); $(unstage)
43849 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
43850 r=`${PWD_COMMAND}`; export r; \
43851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43852 $(NORMAL_TARGET_EXPORTS) \
43853 echo "Doing dvi in $(TARGET_SUBDIR)/libatomic" ; \
43854 for flag in $(EXTRA_TARGET_FLAGS); do \
43855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43856 done; \
43857 (cd $(TARGET_SUBDIR)/libatomic && \
43858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43860 "RANLIB=$${RANLIB}" \
43861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43862 dvi) \
43863 || exit 1
43865 @endif target-libatomic
43867 .PHONY: maybe-pdf-target-libatomic pdf-target-libatomic
43868 maybe-pdf-target-libatomic:
43869 @if target-libatomic
43870 maybe-pdf-target-libatomic: pdf-target-libatomic
43872 pdf-target-libatomic: \
43873 configure-target-libatomic
43874 @: $(MAKE); $(unstage)
43875 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
43876 r=`${PWD_COMMAND}`; export r; \
43877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43878 $(NORMAL_TARGET_EXPORTS) \
43879 echo "Doing pdf in $(TARGET_SUBDIR)/libatomic" ; \
43880 for flag in $(EXTRA_TARGET_FLAGS); do \
43881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43882 done; \
43883 (cd $(TARGET_SUBDIR)/libatomic && \
43884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43886 "RANLIB=$${RANLIB}" \
43887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43888 pdf) \
43889 || exit 1
43891 @endif target-libatomic
43893 .PHONY: maybe-html-target-libatomic html-target-libatomic
43894 maybe-html-target-libatomic:
43895 @if target-libatomic
43896 maybe-html-target-libatomic: html-target-libatomic
43898 html-target-libatomic: \
43899 configure-target-libatomic
43900 @: $(MAKE); $(unstage)
43901 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
43902 r=`${PWD_COMMAND}`; export r; \
43903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43904 $(NORMAL_TARGET_EXPORTS) \
43905 echo "Doing html in $(TARGET_SUBDIR)/libatomic" ; \
43906 for flag in $(EXTRA_TARGET_FLAGS); do \
43907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43908 done; \
43909 (cd $(TARGET_SUBDIR)/libatomic && \
43910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43912 "RANLIB=$${RANLIB}" \
43913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43914 html) \
43915 || exit 1
43917 @endif target-libatomic
43919 .PHONY: maybe-TAGS-target-libatomic TAGS-target-libatomic
43920 maybe-TAGS-target-libatomic:
43921 @if target-libatomic
43922 maybe-TAGS-target-libatomic: TAGS-target-libatomic
43924 TAGS-target-libatomic: \
43925 configure-target-libatomic
43926 @: $(MAKE); $(unstage)
43927 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
43928 r=`${PWD_COMMAND}`; export r; \
43929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43930 $(NORMAL_TARGET_EXPORTS) \
43931 echo "Doing TAGS in $(TARGET_SUBDIR)/libatomic" ; \
43932 for flag in $(EXTRA_TARGET_FLAGS); do \
43933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43934 done; \
43935 (cd $(TARGET_SUBDIR)/libatomic && \
43936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43938 "RANLIB=$${RANLIB}" \
43939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43940 TAGS) \
43941 || exit 1
43943 @endif target-libatomic
43945 .PHONY: maybe-install-info-target-libatomic install-info-target-libatomic
43946 maybe-install-info-target-libatomic:
43947 @if target-libatomic
43948 maybe-install-info-target-libatomic: install-info-target-libatomic
43950 install-info-target-libatomic: \
43951 configure-target-libatomic \
43952 info-target-libatomic
43953 @: $(MAKE); $(unstage)
43954 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
43955 r=`${PWD_COMMAND}`; export r; \
43956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43957 $(NORMAL_TARGET_EXPORTS) \
43958 echo "Doing install-info in $(TARGET_SUBDIR)/libatomic" ; \
43959 for flag in $(EXTRA_TARGET_FLAGS); do \
43960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43961 done; \
43962 (cd $(TARGET_SUBDIR)/libatomic && \
43963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43965 "RANLIB=$${RANLIB}" \
43966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43967 install-info) \
43968 || exit 1
43970 @endif target-libatomic
43972 .PHONY: maybe-install-pdf-target-libatomic install-pdf-target-libatomic
43973 maybe-install-pdf-target-libatomic:
43974 @if target-libatomic
43975 maybe-install-pdf-target-libatomic: install-pdf-target-libatomic
43977 install-pdf-target-libatomic: \
43978 configure-target-libatomic \
43979 pdf-target-libatomic
43980 @: $(MAKE); $(unstage)
43981 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
43982 r=`${PWD_COMMAND}`; export r; \
43983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43984 $(NORMAL_TARGET_EXPORTS) \
43985 echo "Doing install-pdf in $(TARGET_SUBDIR)/libatomic" ; \
43986 for flag in $(EXTRA_TARGET_FLAGS); do \
43987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43988 done; \
43989 (cd $(TARGET_SUBDIR)/libatomic && \
43990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43992 "RANLIB=$${RANLIB}" \
43993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43994 install-pdf) \
43995 || exit 1
43997 @endif target-libatomic
43999 .PHONY: maybe-install-html-target-libatomic install-html-target-libatomic
44000 maybe-install-html-target-libatomic:
44001 @if target-libatomic
44002 maybe-install-html-target-libatomic: install-html-target-libatomic
44004 install-html-target-libatomic: \
44005 configure-target-libatomic \
44006 html-target-libatomic
44007 @: $(MAKE); $(unstage)
44008 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
44009 r=`${PWD_COMMAND}`; export r; \
44010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44011 $(NORMAL_TARGET_EXPORTS) \
44012 echo "Doing install-html in $(TARGET_SUBDIR)/libatomic" ; \
44013 for flag in $(EXTRA_TARGET_FLAGS); do \
44014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44015 done; \
44016 (cd $(TARGET_SUBDIR)/libatomic && \
44017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44019 "RANLIB=$${RANLIB}" \
44020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44021 install-html) \
44022 || exit 1
44024 @endif target-libatomic
44026 .PHONY: maybe-installcheck-target-libatomic installcheck-target-libatomic
44027 maybe-installcheck-target-libatomic:
44028 @if target-libatomic
44029 maybe-installcheck-target-libatomic: installcheck-target-libatomic
44031 installcheck-target-libatomic: \
44032 configure-target-libatomic
44033 @: $(MAKE); $(unstage)
44034 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
44035 r=`${PWD_COMMAND}`; export r; \
44036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44037 $(NORMAL_TARGET_EXPORTS) \
44038 echo "Doing installcheck in $(TARGET_SUBDIR)/libatomic" ; \
44039 for flag in $(EXTRA_TARGET_FLAGS); do \
44040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44041 done; \
44042 (cd $(TARGET_SUBDIR)/libatomic && \
44043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44045 "RANLIB=$${RANLIB}" \
44046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44047 installcheck) \
44048 || exit 1
44050 @endif target-libatomic
44052 .PHONY: maybe-mostlyclean-target-libatomic mostlyclean-target-libatomic
44053 maybe-mostlyclean-target-libatomic:
44054 @if target-libatomic
44055 maybe-mostlyclean-target-libatomic: mostlyclean-target-libatomic
44057 mostlyclean-target-libatomic:
44058 @: $(MAKE); $(unstage)
44059 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
44060 r=`${PWD_COMMAND}`; export r; \
44061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44062 $(NORMAL_TARGET_EXPORTS) \
44063 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libatomic" ; \
44064 for flag in $(EXTRA_TARGET_FLAGS); do \
44065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44066 done; \
44067 (cd $(TARGET_SUBDIR)/libatomic && \
44068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44070 "RANLIB=$${RANLIB}" \
44071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44072 mostlyclean) \
44073 || exit 1
44075 @endif target-libatomic
44077 .PHONY: maybe-clean-target-libatomic clean-target-libatomic
44078 maybe-clean-target-libatomic:
44079 @if target-libatomic
44080 maybe-clean-target-libatomic: clean-target-libatomic
44082 clean-target-libatomic:
44083 @: $(MAKE); $(unstage)
44084 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
44085 r=`${PWD_COMMAND}`; export r; \
44086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44087 $(NORMAL_TARGET_EXPORTS) \
44088 echo "Doing clean in $(TARGET_SUBDIR)/libatomic" ; \
44089 for flag in $(EXTRA_TARGET_FLAGS); do \
44090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44091 done; \
44092 (cd $(TARGET_SUBDIR)/libatomic && \
44093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44095 "RANLIB=$${RANLIB}" \
44096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44097 clean) \
44098 || exit 1
44100 @endif target-libatomic
44102 .PHONY: maybe-distclean-target-libatomic distclean-target-libatomic
44103 maybe-distclean-target-libatomic:
44104 @if target-libatomic
44105 maybe-distclean-target-libatomic: distclean-target-libatomic
44107 distclean-target-libatomic:
44108 @: $(MAKE); $(unstage)
44109 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
44110 r=`${PWD_COMMAND}`; export r; \
44111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44112 $(NORMAL_TARGET_EXPORTS) \
44113 echo "Doing distclean in $(TARGET_SUBDIR)/libatomic" ; \
44114 for flag in $(EXTRA_TARGET_FLAGS); do \
44115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44116 done; \
44117 (cd $(TARGET_SUBDIR)/libatomic && \
44118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44120 "RANLIB=$${RANLIB}" \
44121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44122 distclean) \
44123 || exit 1
44125 @endif target-libatomic
44127 .PHONY: maybe-maintainer-clean-target-libatomic maintainer-clean-target-libatomic
44128 maybe-maintainer-clean-target-libatomic:
44129 @if target-libatomic
44130 maybe-maintainer-clean-target-libatomic: maintainer-clean-target-libatomic
44132 maintainer-clean-target-libatomic:
44133 @: $(MAKE); $(unstage)
44134 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
44135 r=`${PWD_COMMAND}`; export r; \
44136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44137 $(NORMAL_TARGET_EXPORTS) \
44138 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libatomic" ; \
44139 for flag in $(EXTRA_TARGET_FLAGS); do \
44140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44141 done; \
44142 (cd $(TARGET_SUBDIR)/libatomic && \
44143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44145 "RANLIB=$${RANLIB}" \
44146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44147 maintainer-clean) \
44148 || exit 1
44150 @endif target-libatomic
44154 @if target-libmudflap
44155 .PHONY: check-target-libmudflap-c++
44156 check-target-libmudflap-c++:
44157 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++frags.exp" check-target-libmudflap
44159 @endif target-libmudflap
44161 @if target-libgomp
44162 .PHONY: check-target-libgomp-c++
44163 check-target-libgomp-c++:
44164 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libgomp
44166 @endif target-libgomp
44168 @if target-libitm
44169 .PHONY: check-target-libitm-c++
44170 check-target-libitm-c++:
44171 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libitm
44173 @endif target-libitm
44175 # ----------
44176 # GCC module
44177 # ----------
44179 @if gcc-no-bootstrap
44180 .PHONY: cross
44181 cross: all-build all-gas all-ld
44182 @r=`${PWD_COMMAND}`; export r; \
44183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44184 $(HOST_EXPORTS) \
44185 echo "Building the C and C++ compiler"; \
44186 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
44187 @r=`${PWD_COMMAND}`; export r; \
44188 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
44189 echo "Building runtime libraries"; \
44190 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
44191 @endif gcc-no-bootstrap
44193 @if gcc
44195 .PHONY: check-gcc-c check-c
44196 check-gcc-c:
44197 r=`${PWD_COMMAND}`; export r; \
44198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44199 $(HOST_EXPORTS) \
44200 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-gcc);
44201 check-c: check-gcc-c
44203 .PHONY: check-gcc-c++ check-c++
44204 check-gcc-c++:
44205 r=`${PWD_COMMAND}`; export r; \
44206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44207 $(HOST_EXPORTS) \
44208 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++);
44209 check-c++: check-gcc-c++ check-target-libstdc++-v3 check-target-libmudflap-c++ check-target-libitm-c++ check-target-libgomp-c++
44211 .PHONY: check-gcc-fortran check-fortran
44212 check-gcc-fortran:
44213 r=`${PWD_COMMAND}`; export r; \
44214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44215 $(HOST_EXPORTS) \
44216 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran);
44217 check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran
44219 .PHONY: check-gcc-java check-java
44220 check-gcc-java:
44221 r=`${PWD_COMMAND}`; export r; \
44222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44223 $(HOST_EXPORTS) \
44224 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-java);
44225 check-java: check-gcc-java check-target-libjava
44227 .PHONY: check-gcc-ada check-ada
44228 check-gcc-ada:
44229 r=`${PWD_COMMAND}`; export r; \
44230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44231 $(HOST_EXPORTS) \
44232 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-ada);
44233 check-ada: check-gcc-ada check-target-libada
44235 .PHONY: check-gcc-objc check-objc
44236 check-gcc-objc:
44237 r=`${PWD_COMMAND}`; export r; \
44238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44239 $(HOST_EXPORTS) \
44240 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-objc);
44241 check-objc: check-gcc-objc check-target-libobjc
44243 .PHONY: check-gcc-obj-c++ check-obj-c++
44244 check-gcc-obj-c++:
44245 r=`${PWD_COMMAND}`; export r; \
44246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44247 $(HOST_EXPORTS) \
44248 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-obj-c++);
44249 check-obj-c++: check-gcc-obj-c++
44251 .PHONY: check-gcc-go check-go
44252 check-gcc-go:
44253 r=`${PWD_COMMAND}`; export r; \
44254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44255 $(HOST_EXPORTS) \
44256 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-go);
44257 check-go: check-gcc-go check-target-libgo
44260 # The gcc part of install-no-fixedincludes, which relies on an intimate
44261 # knowledge of how a number of gcc internal targets (inter)operate. Delegate.
44262 .PHONY: gcc-install-no-fixedincludes
44263 gcc-install-no-fixedincludes:
44264 @if [ -f ./gcc/Makefile ]; then \
44265 r=`${PWD_COMMAND}`; export r; \
44266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44267 $(HOST_EXPORTS) \
44268 (cd ./gcc \
44269 && $(MAKE) $(GCC_FLAGS_TO_PASS) install-no-fixedincludes); \
44270 else true; fi
44271 @endif gcc
44273 # ---------------------
44274 # GCC bootstrap support
44275 # ---------------------
44277 # We track the current stage (the one in 'gcc') in the stage_current file.
44278 # stage_last instead tracks the stage that was built last. These targets
44279 # are dummy when toplevel bootstrap is not active.
44281 # While making host and target tools, symlinks to the final stage must be
44282 # there, so $(unstage) should be run at various points. To avoid excessive
44283 # recursive invocations of make, we "inline" them using a variable. These
44284 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
44285 # to avoid warnings from the GNU Make job server.
44287 unstage = :
44288 stage = :
44289 current_stage = ""
44291 @if gcc-bootstrap
44292 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
44293 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
44294 current_stage = "`cat stage_current 2> /dev/null`"
44295 @endif gcc-bootstrap
44297 .PHONY: unstage stage
44298 unstage:
44299 @: $(MAKE); $(unstage)
44300 stage:
44301 @: $(MAKE); $(stage)
44303 # Disable commands for lean bootstrap.
44304 LEAN = false
44306 # We name the build directories for the various stages "stage1-gcc",
44307 # "stage2-gcc","stage3-gcc", etc.
44309 # Since the 'compare' process will fail (on debugging information) if any
44310 # directory names are different, we need to link the gcc directory for
44311 # the previous stage to a constant name ('prev-gcc'), and to make the name of
44312 # the build directories constant as well. For the latter, we use naked names
44313 # like 'gcc', because the scripts in that directory assume it. We use
44314 # mv on platforms where symlinks to directories do not work or are not
44315 # reliable.
44317 # 'touch' doesn't work right on some platforms.
44318 STAMP = echo timestamp >
44320 # We only want to compare .o files, so set this!
44321 objext = .o
44324 .PHONY: stage1-start stage1-end
44326 stage1-start::
44327 @: $(MAKE); $(stage); \
44328 echo stage1 > stage_current ; \
44329 echo stage1 > stage_last; \
44330 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
44331 @if bfd
44332 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
44333 mkdir stage1-bfd; \
44334 mv stage1-bfd bfd
44335 @endif bfd
44336 @if opcodes
44337 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
44338 mkdir stage1-opcodes; \
44339 mv stage1-opcodes opcodes
44340 @endif opcodes
44341 @if binutils
44342 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
44343 mkdir stage1-binutils; \
44344 mv stage1-binutils binutils
44345 @endif binutils
44346 @if gas
44347 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
44348 mkdir stage1-gas; \
44349 mv stage1-gas gas
44350 @endif gas
44351 @if gcc
44352 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
44353 mkdir stage1-gcc; \
44354 mv stage1-gcc gcc
44355 @endif gcc
44356 @if gmp
44357 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
44358 mkdir stage1-gmp; \
44359 mv stage1-gmp gmp
44360 @endif gmp
44361 @if mpfr
44362 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
44363 mkdir stage1-mpfr; \
44364 mv stage1-mpfr mpfr
44365 @endif mpfr
44366 @if mpc
44367 @cd $(HOST_SUBDIR); [ -d stage1-mpc ] || \
44368 mkdir stage1-mpc; \
44369 mv stage1-mpc mpc
44370 @endif mpc
44371 @if isl
44372 @cd $(HOST_SUBDIR); [ -d stage1-isl ] || \
44373 mkdir stage1-isl; \
44374 mv stage1-isl isl
44375 @endif isl
44376 @if cloog
44377 @cd $(HOST_SUBDIR); [ -d stage1-cloog ] || \
44378 mkdir stage1-cloog; \
44379 mv stage1-cloog cloog
44380 @endif cloog
44381 @if libelf
44382 @cd $(HOST_SUBDIR); [ -d stage1-libelf ] || \
44383 mkdir stage1-libelf; \
44384 mv stage1-libelf libelf
44385 @endif libelf
44386 @if gold
44387 @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \
44388 mkdir stage1-gold; \
44389 mv stage1-gold gold
44390 @endif gold
44391 @if intl
44392 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
44393 mkdir stage1-intl; \
44394 mv stage1-intl intl
44395 @endif intl
44396 @if ld
44397 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
44398 mkdir stage1-ld; \
44399 mv stage1-ld ld
44400 @endif ld
44401 @if libbacktrace
44402 @cd $(HOST_SUBDIR); [ -d stage1-libbacktrace ] || \
44403 mkdir stage1-libbacktrace; \
44404 mv stage1-libbacktrace libbacktrace
44405 @endif libbacktrace
44406 @if libcpp
44407 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
44408 mkdir stage1-libcpp; \
44409 mv stage1-libcpp libcpp
44410 @endif libcpp
44411 @if libdecnumber
44412 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
44413 mkdir stage1-libdecnumber; \
44414 mv stage1-libdecnumber libdecnumber
44415 @endif libdecnumber
44416 @if libiberty
44417 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
44418 mkdir stage1-libiberty; \
44419 mv stage1-libiberty libiberty
44420 @endif libiberty
44421 @if zlib
44422 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
44423 mkdir stage1-zlib; \
44424 mv stage1-zlib zlib
44425 @endif zlib
44426 @if lto-plugin
44427 @cd $(HOST_SUBDIR); [ -d stage1-lto-plugin ] || \
44428 mkdir stage1-lto-plugin; \
44429 mv stage1-lto-plugin lto-plugin
44430 @endif lto-plugin
44431 @if function_reordering_plugin
44432 @cd $(HOST_SUBDIR); [ -d stage1-function_reordering_plugin ] || \
44433 mkdir stage1-function_reordering_plugin; \
44434 mv stage1-function_reordering_plugin function_reordering_plugin
44435 @endif function_reordering_plugin
44436 @[ -d stage1-$(TARGET_SUBDIR) ] || \
44437 mkdir stage1-$(TARGET_SUBDIR); \
44438 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
44440 stage1-end::
44441 @if bfd
44442 @if test -d $(HOST_SUBDIR)/bfd ; then \
44443 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
44445 @endif bfd
44446 @if opcodes
44447 @if test -d $(HOST_SUBDIR)/opcodes ; then \
44448 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
44450 @endif opcodes
44451 @if binutils
44452 @if test -d $(HOST_SUBDIR)/binutils ; then \
44453 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
44455 @endif binutils
44456 @if gas
44457 @if test -d $(HOST_SUBDIR)/gas ; then \
44458 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
44460 @endif gas
44461 @if gcc
44462 @if test -d $(HOST_SUBDIR)/gcc ; then \
44463 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
44465 @endif gcc
44466 @if gmp
44467 @if test -d $(HOST_SUBDIR)/gmp ; then \
44468 cd $(HOST_SUBDIR); mv gmp stage1-gmp ; \
44470 @endif gmp
44471 @if mpfr
44472 @if test -d $(HOST_SUBDIR)/mpfr ; then \
44473 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr ; \
44475 @endif mpfr
44476 @if mpc
44477 @if test -d $(HOST_SUBDIR)/mpc ; then \
44478 cd $(HOST_SUBDIR); mv mpc stage1-mpc ; \
44480 @endif mpc
44481 @if isl
44482 @if test -d $(HOST_SUBDIR)/isl ; then \
44483 cd $(HOST_SUBDIR); mv isl stage1-isl ; \
44485 @endif isl
44486 @if cloog
44487 @if test -d $(HOST_SUBDIR)/cloog ; then \
44488 cd $(HOST_SUBDIR); mv cloog stage1-cloog ; \
44490 @endif cloog
44491 @if libelf
44492 @if test -d $(HOST_SUBDIR)/libelf ; then \
44493 cd $(HOST_SUBDIR); mv libelf stage1-libelf ; \
44495 @endif libelf
44496 @if gold
44497 @if test -d $(HOST_SUBDIR)/gold ; then \
44498 cd $(HOST_SUBDIR); mv gold stage1-gold ; \
44500 @endif gold
44501 @if intl
44502 @if test -d $(HOST_SUBDIR)/intl ; then \
44503 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
44505 @endif intl
44506 @if ld
44507 @if test -d $(HOST_SUBDIR)/ld ; then \
44508 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
44510 @endif ld
44511 @if libbacktrace
44512 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
44513 cd $(HOST_SUBDIR); mv libbacktrace stage1-libbacktrace ; \
44515 @endif libbacktrace
44516 @if libcpp
44517 @if test -d $(HOST_SUBDIR)/libcpp ; then \
44518 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
44520 @endif libcpp
44521 @if libdecnumber
44522 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
44523 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
44525 @endif libdecnumber
44526 @if libiberty
44527 @if test -d $(HOST_SUBDIR)/libiberty ; then \
44528 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
44530 @endif libiberty
44531 @if zlib
44532 @if test -d $(HOST_SUBDIR)/zlib ; then \
44533 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
44535 @endif zlib
44536 @if lto-plugin
44537 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
44538 cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin ; \
44540 @endif lto-plugin
44541 @if function_reordering_plugin
44542 @if test -d $(HOST_SUBDIR)/function_reordering_plugin ; then \
44543 cd $(HOST_SUBDIR); mv function_reordering_plugin stage1-function_reordering_plugin ; \
44545 @endif function_reordering_plugin
44546 @if test -d $(TARGET_SUBDIR) ; then \
44547 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
44549 rm -f stage_current
44551 # Bubble a bug fix through all the stages up to stage 1. They are
44552 # remade, but not reconfigured. The next stage (if any) will not be
44553 # reconfigured either.
44554 .PHONY: stage1-bubble
44555 stage1-bubble::
44556 @r=`${PWD_COMMAND}`; export r; \
44557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44558 if test -f stage1-lean ; then \
44559 echo Skipping rebuild of stage1 ; \
44560 else \
44561 $(MAKE) stage1-start; \
44562 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
44565 .PHONY: all-stage1 clean-stage1
44566 do-clean: clean-stage1
44568 # FIXME: Will not need to be conditional when toplevel bootstrap is the
44569 # only possibility, but now it conflicts with no-bootstrap rules
44570 @if gcc-bootstrap
44575 # Rules to wipe a stage and all the following ones, also used for cleanstrap
44577 .PHONY: distclean-stage1
44578 distclean-stage1::
44579 @: $(MAKE); $(stage)
44580 @test "`cat stage_last`" != stage1 || rm -f stage_last
44581 rm -rf stage1-*
44584 @endif gcc-bootstrap
44587 .PHONY: stage2-start stage2-end
44589 stage2-start::
44590 @: $(MAKE); $(stage); \
44591 echo stage2 > stage_current ; \
44592 echo stage2 > stage_last; \
44593 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
44594 @if bfd
44595 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
44596 mkdir stage2-bfd; \
44597 mv stage2-bfd bfd ; \
44598 mv stage1-bfd prev-bfd || test -f stage1-lean
44599 @endif bfd
44600 @if opcodes
44601 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
44602 mkdir stage2-opcodes; \
44603 mv stage2-opcodes opcodes ; \
44604 mv stage1-opcodes prev-opcodes || test -f stage1-lean
44605 @endif opcodes
44606 @if binutils
44607 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
44608 mkdir stage2-binutils; \
44609 mv stage2-binutils binutils ; \
44610 mv stage1-binutils prev-binutils || test -f stage1-lean
44611 @endif binutils
44612 @if gas
44613 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
44614 mkdir stage2-gas; \
44615 mv stage2-gas gas ; \
44616 mv stage1-gas prev-gas || test -f stage1-lean
44617 @endif gas
44618 @if gcc
44619 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
44620 mkdir stage2-gcc; \
44621 mv stage2-gcc gcc ; \
44622 mv stage1-gcc prev-gcc || test -f stage1-lean
44623 @endif gcc
44624 @if gmp
44625 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
44626 mkdir stage2-gmp; \
44627 mv stage2-gmp gmp ; \
44628 mv stage1-gmp prev-gmp || test -f stage1-lean
44629 @endif gmp
44630 @if mpfr
44631 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
44632 mkdir stage2-mpfr; \
44633 mv stage2-mpfr mpfr ; \
44634 mv stage1-mpfr prev-mpfr || test -f stage1-lean
44635 @endif mpfr
44636 @if mpc
44637 @cd $(HOST_SUBDIR); [ -d stage2-mpc ] || \
44638 mkdir stage2-mpc; \
44639 mv stage2-mpc mpc ; \
44640 mv stage1-mpc prev-mpc || test -f stage1-lean
44641 @endif mpc
44642 @if isl
44643 @cd $(HOST_SUBDIR); [ -d stage2-isl ] || \
44644 mkdir stage2-isl; \
44645 mv stage2-isl isl ; \
44646 mv stage1-isl prev-isl || test -f stage1-lean
44647 @endif isl
44648 @if cloog
44649 @cd $(HOST_SUBDIR); [ -d stage2-cloog ] || \
44650 mkdir stage2-cloog; \
44651 mv stage2-cloog cloog ; \
44652 mv stage1-cloog prev-cloog || test -f stage1-lean
44653 @endif cloog
44654 @if libelf
44655 @cd $(HOST_SUBDIR); [ -d stage2-libelf ] || \
44656 mkdir stage2-libelf; \
44657 mv stage2-libelf libelf ; \
44658 mv stage1-libelf prev-libelf || test -f stage1-lean
44659 @endif libelf
44660 @if gold
44661 @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \
44662 mkdir stage2-gold; \
44663 mv stage2-gold gold ; \
44664 mv stage1-gold prev-gold || test -f stage1-lean
44665 @endif gold
44666 @if intl
44667 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
44668 mkdir stage2-intl; \
44669 mv stage2-intl intl ; \
44670 mv stage1-intl prev-intl || test -f stage1-lean
44671 @endif intl
44672 @if ld
44673 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
44674 mkdir stage2-ld; \
44675 mv stage2-ld ld ; \
44676 mv stage1-ld prev-ld || test -f stage1-lean
44677 @endif ld
44678 @if libbacktrace
44679 @cd $(HOST_SUBDIR); [ -d stage2-libbacktrace ] || \
44680 mkdir stage2-libbacktrace; \
44681 mv stage2-libbacktrace libbacktrace ; \
44682 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
44683 @endif libbacktrace
44684 @if libcpp
44685 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
44686 mkdir stage2-libcpp; \
44687 mv stage2-libcpp libcpp ; \
44688 mv stage1-libcpp prev-libcpp || test -f stage1-lean
44689 @endif libcpp
44690 @if libdecnumber
44691 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
44692 mkdir stage2-libdecnumber; \
44693 mv stage2-libdecnumber libdecnumber ; \
44694 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
44695 @endif libdecnumber
44696 @if libiberty
44697 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
44698 mkdir stage2-libiberty; \
44699 mv stage2-libiberty libiberty ; \
44700 mv stage1-libiberty prev-libiberty || test -f stage1-lean
44701 @endif libiberty
44702 @if zlib
44703 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
44704 mkdir stage2-zlib; \
44705 mv stage2-zlib zlib ; \
44706 mv stage1-zlib prev-zlib || test -f stage1-lean
44707 @endif zlib
44708 @if lto-plugin
44709 @cd $(HOST_SUBDIR); [ -d stage2-lto-plugin ] || \
44710 mkdir stage2-lto-plugin; \
44711 mv stage2-lto-plugin lto-plugin ; \
44712 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
44713 @endif lto-plugin
44714 @if function_reordering_plugin
44715 @cd $(HOST_SUBDIR); [ -d stage2-function_reordering_plugin ] || \
44716 mkdir stage2-function_reordering_plugin; \
44717 mv stage2-function_reordering_plugin function_reordering_plugin ; \
44718 mv stage1-function_reordering_plugin prev-function_reordering_plugin || test -f stage1-lean
44719 @endif function_reordering_plugin
44720 @[ -d stage2-$(TARGET_SUBDIR) ] || \
44721 mkdir stage2-$(TARGET_SUBDIR); \
44722 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
44723 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
44725 stage2-end::
44726 @if bfd
44727 @if test -d $(HOST_SUBDIR)/bfd ; then \
44728 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
44729 mv prev-bfd stage1-bfd ; : ; \
44731 @endif bfd
44732 @if opcodes
44733 @if test -d $(HOST_SUBDIR)/opcodes ; then \
44734 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
44735 mv prev-opcodes stage1-opcodes ; : ; \
44737 @endif opcodes
44738 @if binutils
44739 @if test -d $(HOST_SUBDIR)/binutils ; then \
44740 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
44741 mv prev-binutils stage1-binutils ; : ; \
44743 @endif binutils
44744 @if gas
44745 @if test -d $(HOST_SUBDIR)/gas ; then \
44746 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
44747 mv prev-gas stage1-gas ; : ; \
44749 @endif gas
44750 @if gcc
44751 @if test -d $(HOST_SUBDIR)/gcc ; then \
44752 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
44753 mv prev-gcc stage1-gcc ; : ; \
44755 @endif gcc
44756 @if gmp
44757 @if test -d $(HOST_SUBDIR)/gmp ; then \
44758 cd $(HOST_SUBDIR); mv gmp stage2-gmp ; \
44759 mv prev-gmp stage1-gmp ; : ; \
44761 @endif gmp
44762 @if mpfr
44763 @if test -d $(HOST_SUBDIR)/mpfr ; then \
44764 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr ; \
44765 mv prev-mpfr stage1-mpfr ; : ; \
44767 @endif mpfr
44768 @if mpc
44769 @if test -d $(HOST_SUBDIR)/mpc ; then \
44770 cd $(HOST_SUBDIR); mv mpc stage2-mpc ; \
44771 mv prev-mpc stage1-mpc ; : ; \
44773 @endif mpc
44774 @if isl
44775 @if test -d $(HOST_SUBDIR)/isl ; then \
44776 cd $(HOST_SUBDIR); mv isl stage2-isl ; \
44777 mv prev-isl stage1-isl ; : ; \
44779 @endif isl
44780 @if cloog
44781 @if test -d $(HOST_SUBDIR)/cloog ; then \
44782 cd $(HOST_SUBDIR); mv cloog stage2-cloog ; \
44783 mv prev-cloog stage1-cloog ; : ; \
44785 @endif cloog
44786 @if libelf
44787 @if test -d $(HOST_SUBDIR)/libelf ; then \
44788 cd $(HOST_SUBDIR); mv libelf stage2-libelf ; \
44789 mv prev-libelf stage1-libelf ; : ; \
44791 @endif libelf
44792 @if gold
44793 @if test -d $(HOST_SUBDIR)/gold ; then \
44794 cd $(HOST_SUBDIR); mv gold stage2-gold ; \
44795 mv prev-gold stage1-gold ; : ; \
44797 @endif gold
44798 @if intl
44799 @if test -d $(HOST_SUBDIR)/intl ; then \
44800 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
44801 mv prev-intl stage1-intl ; : ; \
44803 @endif intl
44804 @if ld
44805 @if test -d $(HOST_SUBDIR)/ld ; then \
44806 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
44807 mv prev-ld stage1-ld ; : ; \
44809 @endif ld
44810 @if libbacktrace
44811 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
44812 cd $(HOST_SUBDIR); mv libbacktrace stage2-libbacktrace ; \
44813 mv prev-libbacktrace stage1-libbacktrace ; : ; \
44815 @endif libbacktrace
44816 @if libcpp
44817 @if test -d $(HOST_SUBDIR)/libcpp ; then \
44818 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
44819 mv prev-libcpp stage1-libcpp ; : ; \
44821 @endif libcpp
44822 @if libdecnumber
44823 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
44824 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
44825 mv prev-libdecnumber stage1-libdecnumber ; : ; \
44827 @endif libdecnumber
44828 @if libiberty
44829 @if test -d $(HOST_SUBDIR)/libiberty ; then \
44830 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
44831 mv prev-libiberty stage1-libiberty ; : ; \
44833 @endif libiberty
44834 @if zlib
44835 @if test -d $(HOST_SUBDIR)/zlib ; then \
44836 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
44837 mv prev-zlib stage1-zlib ; : ; \
44839 @endif zlib
44840 @if lto-plugin
44841 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
44842 cd $(HOST_SUBDIR); mv lto-plugin stage2-lto-plugin ; \
44843 mv prev-lto-plugin stage1-lto-plugin ; : ; \
44845 @endif lto-plugin
44846 @if function_reordering_plugin
44847 @if test -d $(HOST_SUBDIR)/function_reordering_plugin ; then \
44848 cd $(HOST_SUBDIR); mv function_reordering_plugin stage2-function_reordering_plugin ; \
44849 mv prev-function_reordering_plugin stage1-function_reordering_plugin ; : ; \
44851 @endif function_reordering_plugin
44852 @if test -d $(TARGET_SUBDIR) ; then \
44853 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
44854 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
44856 rm -f stage_current
44858 # Bubble a bug fix through all the stages up to stage 2. They are
44859 # remade, but not reconfigured. The next stage (if any) will not be
44860 # reconfigured either.
44861 .PHONY: stage2-bubble
44862 stage2-bubble:: stage1-bubble
44863 @r=`${PWD_COMMAND}`; export r; \
44864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44865 if test -f stage2-lean || test -f stage1-lean ; then \
44866 echo Skipping rebuild of stage2 ; \
44867 else \
44868 $(MAKE) stage2-start; \
44869 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
44872 .PHONY: all-stage2 clean-stage2
44873 do-clean: clean-stage2
44875 # FIXME: Will not need to be conditional when toplevel bootstrap is the
44876 # only possibility, but now it conflicts with no-bootstrap rules
44877 @if gcc-bootstrap
44881 .PHONY: bootstrap2 bootstrap2-lean
44882 bootstrap2:
44883 echo stage2 > stage_final
44884 @r=`${PWD_COMMAND}`; export r; \
44885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44886 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
44887 @: $(MAKE); $(unstage)
44888 @r=`${PWD_COMMAND}`; export r; \
44889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44890 TFLAGS="$(STAGE2_TFLAGS)"; \
44891 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
44893 bootstrap2-lean:
44894 echo stage2 > stage_final
44895 @r=`${PWD_COMMAND}`; export r; \
44896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44897 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
44898 @: $(MAKE); $(unstage)
44899 @r=`${PWD_COMMAND}`; export r; \
44900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44901 TFLAGS="$(STAGE2_TFLAGS)"; \
44902 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
44905 # Rules to wipe a stage and all the following ones, also used for cleanstrap
44906 distclean-stage1:: distclean-stage2
44907 .PHONY: distclean-stage2
44908 distclean-stage2::
44909 @: $(MAKE); $(stage)
44910 @test "`cat stage_last`" != stage2 || rm -f stage_last
44911 rm -rf stage2-*
44914 @endif gcc-bootstrap
44917 .PHONY: stage3-start stage3-end
44919 stage3-start::
44920 @: $(MAKE); $(stage); \
44921 echo stage3 > stage_current ; \
44922 echo stage3 > stage_last; \
44923 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
44924 @if bfd
44925 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
44926 mkdir stage3-bfd; \
44927 mv stage3-bfd bfd ; \
44928 mv stage2-bfd prev-bfd || test -f stage2-lean
44929 @endif bfd
44930 @if opcodes
44931 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
44932 mkdir stage3-opcodes; \
44933 mv stage3-opcodes opcodes ; \
44934 mv stage2-opcodes prev-opcodes || test -f stage2-lean
44935 @endif opcodes
44936 @if binutils
44937 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
44938 mkdir stage3-binutils; \
44939 mv stage3-binutils binutils ; \
44940 mv stage2-binutils prev-binutils || test -f stage2-lean
44941 @endif binutils
44942 @if gas
44943 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
44944 mkdir stage3-gas; \
44945 mv stage3-gas gas ; \
44946 mv stage2-gas prev-gas || test -f stage2-lean
44947 @endif gas
44948 @if gcc
44949 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
44950 mkdir stage3-gcc; \
44951 mv stage3-gcc gcc ; \
44952 mv stage2-gcc prev-gcc || test -f stage2-lean
44953 @endif gcc
44954 @if gmp
44955 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
44956 mkdir stage3-gmp; \
44957 mv stage3-gmp gmp ; \
44958 mv stage2-gmp prev-gmp || test -f stage2-lean
44959 @endif gmp
44960 @if mpfr
44961 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
44962 mkdir stage3-mpfr; \
44963 mv stage3-mpfr mpfr ; \
44964 mv stage2-mpfr prev-mpfr || test -f stage2-lean
44965 @endif mpfr
44966 @if mpc
44967 @cd $(HOST_SUBDIR); [ -d stage3-mpc ] || \
44968 mkdir stage3-mpc; \
44969 mv stage3-mpc mpc ; \
44970 mv stage2-mpc prev-mpc || test -f stage2-lean
44971 @endif mpc
44972 @if isl
44973 @cd $(HOST_SUBDIR); [ -d stage3-isl ] || \
44974 mkdir stage3-isl; \
44975 mv stage3-isl isl ; \
44976 mv stage2-isl prev-isl || test -f stage2-lean
44977 @endif isl
44978 @if cloog
44979 @cd $(HOST_SUBDIR); [ -d stage3-cloog ] || \
44980 mkdir stage3-cloog; \
44981 mv stage3-cloog cloog ; \
44982 mv stage2-cloog prev-cloog || test -f stage2-lean
44983 @endif cloog
44984 @if libelf
44985 @cd $(HOST_SUBDIR); [ -d stage3-libelf ] || \
44986 mkdir stage3-libelf; \
44987 mv stage3-libelf libelf ; \
44988 mv stage2-libelf prev-libelf || test -f stage2-lean
44989 @endif libelf
44990 @if gold
44991 @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \
44992 mkdir stage3-gold; \
44993 mv stage3-gold gold ; \
44994 mv stage2-gold prev-gold || test -f stage2-lean
44995 @endif gold
44996 @if intl
44997 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
44998 mkdir stage3-intl; \
44999 mv stage3-intl intl ; \
45000 mv stage2-intl prev-intl || test -f stage2-lean
45001 @endif intl
45002 @if ld
45003 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
45004 mkdir stage3-ld; \
45005 mv stage3-ld ld ; \
45006 mv stage2-ld prev-ld || test -f stage2-lean
45007 @endif ld
45008 @if libbacktrace
45009 @cd $(HOST_SUBDIR); [ -d stage3-libbacktrace ] || \
45010 mkdir stage3-libbacktrace; \
45011 mv stage3-libbacktrace libbacktrace ; \
45012 mv stage2-libbacktrace prev-libbacktrace || test -f stage2-lean
45013 @endif libbacktrace
45014 @if libcpp
45015 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
45016 mkdir stage3-libcpp; \
45017 mv stage3-libcpp libcpp ; \
45018 mv stage2-libcpp prev-libcpp || test -f stage2-lean
45019 @endif libcpp
45020 @if libdecnumber
45021 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
45022 mkdir stage3-libdecnumber; \
45023 mv stage3-libdecnumber libdecnumber ; \
45024 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
45025 @endif libdecnumber
45026 @if libiberty
45027 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
45028 mkdir stage3-libiberty; \
45029 mv stage3-libiberty libiberty ; \
45030 mv stage2-libiberty prev-libiberty || test -f stage2-lean
45031 @endif libiberty
45032 @if zlib
45033 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
45034 mkdir stage3-zlib; \
45035 mv stage3-zlib zlib ; \
45036 mv stage2-zlib prev-zlib || test -f stage2-lean
45037 @endif zlib
45038 @if lto-plugin
45039 @cd $(HOST_SUBDIR); [ -d stage3-lto-plugin ] || \
45040 mkdir stage3-lto-plugin; \
45041 mv stage3-lto-plugin lto-plugin ; \
45042 mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean
45043 @endif lto-plugin
45044 @if function_reordering_plugin
45045 @cd $(HOST_SUBDIR); [ -d stage3-function_reordering_plugin ] || \
45046 mkdir stage3-function_reordering_plugin; \
45047 mv stage3-function_reordering_plugin function_reordering_plugin ; \
45048 mv stage2-function_reordering_plugin prev-function_reordering_plugin || test -f stage2-lean
45049 @endif function_reordering_plugin
45050 @[ -d stage3-$(TARGET_SUBDIR) ] || \
45051 mkdir stage3-$(TARGET_SUBDIR); \
45052 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
45053 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
45055 stage3-end::
45056 @if bfd
45057 @if test -d $(HOST_SUBDIR)/bfd ; then \
45058 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
45059 mv prev-bfd stage2-bfd ; : ; \
45061 @endif bfd
45062 @if opcodes
45063 @if test -d $(HOST_SUBDIR)/opcodes ; then \
45064 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
45065 mv prev-opcodes stage2-opcodes ; : ; \
45067 @endif opcodes
45068 @if binutils
45069 @if test -d $(HOST_SUBDIR)/binutils ; then \
45070 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
45071 mv prev-binutils stage2-binutils ; : ; \
45073 @endif binutils
45074 @if gas
45075 @if test -d $(HOST_SUBDIR)/gas ; then \
45076 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
45077 mv prev-gas stage2-gas ; : ; \
45079 @endif gas
45080 @if gcc
45081 @if test -d $(HOST_SUBDIR)/gcc ; then \
45082 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
45083 mv prev-gcc stage2-gcc ; : ; \
45085 @endif gcc
45086 @if gmp
45087 @if test -d $(HOST_SUBDIR)/gmp ; then \
45088 cd $(HOST_SUBDIR); mv gmp stage3-gmp ; \
45089 mv prev-gmp stage2-gmp ; : ; \
45091 @endif gmp
45092 @if mpfr
45093 @if test -d $(HOST_SUBDIR)/mpfr ; then \
45094 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr ; \
45095 mv prev-mpfr stage2-mpfr ; : ; \
45097 @endif mpfr
45098 @if mpc
45099 @if test -d $(HOST_SUBDIR)/mpc ; then \
45100 cd $(HOST_SUBDIR); mv mpc stage3-mpc ; \
45101 mv prev-mpc stage2-mpc ; : ; \
45103 @endif mpc
45104 @if isl
45105 @if test -d $(HOST_SUBDIR)/isl ; then \
45106 cd $(HOST_SUBDIR); mv isl stage3-isl ; \
45107 mv prev-isl stage2-isl ; : ; \
45109 @endif isl
45110 @if cloog
45111 @if test -d $(HOST_SUBDIR)/cloog ; then \
45112 cd $(HOST_SUBDIR); mv cloog stage3-cloog ; \
45113 mv prev-cloog stage2-cloog ; : ; \
45115 @endif cloog
45116 @if libelf
45117 @if test -d $(HOST_SUBDIR)/libelf ; then \
45118 cd $(HOST_SUBDIR); mv libelf stage3-libelf ; \
45119 mv prev-libelf stage2-libelf ; : ; \
45121 @endif libelf
45122 @if gold
45123 @if test -d $(HOST_SUBDIR)/gold ; then \
45124 cd $(HOST_SUBDIR); mv gold stage3-gold ; \
45125 mv prev-gold stage2-gold ; : ; \
45127 @endif gold
45128 @if intl
45129 @if test -d $(HOST_SUBDIR)/intl ; then \
45130 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
45131 mv prev-intl stage2-intl ; : ; \
45133 @endif intl
45134 @if ld
45135 @if test -d $(HOST_SUBDIR)/ld ; then \
45136 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
45137 mv prev-ld stage2-ld ; : ; \
45139 @endif ld
45140 @if libbacktrace
45141 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
45142 cd $(HOST_SUBDIR); mv libbacktrace stage3-libbacktrace ; \
45143 mv prev-libbacktrace stage2-libbacktrace ; : ; \
45145 @endif libbacktrace
45146 @if libcpp
45147 @if test -d $(HOST_SUBDIR)/libcpp ; then \
45148 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
45149 mv prev-libcpp stage2-libcpp ; : ; \
45151 @endif libcpp
45152 @if libdecnumber
45153 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
45154 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
45155 mv prev-libdecnumber stage2-libdecnumber ; : ; \
45157 @endif libdecnumber
45158 @if libiberty
45159 @if test -d $(HOST_SUBDIR)/libiberty ; then \
45160 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
45161 mv prev-libiberty stage2-libiberty ; : ; \
45163 @endif libiberty
45164 @if zlib
45165 @if test -d $(HOST_SUBDIR)/zlib ; then \
45166 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
45167 mv prev-zlib stage2-zlib ; : ; \
45169 @endif zlib
45170 @if lto-plugin
45171 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
45172 cd $(HOST_SUBDIR); mv lto-plugin stage3-lto-plugin ; \
45173 mv prev-lto-plugin stage2-lto-plugin ; : ; \
45175 @endif lto-plugin
45176 @if function_reordering_plugin
45177 @if test -d $(HOST_SUBDIR)/function_reordering_plugin ; then \
45178 cd $(HOST_SUBDIR); mv function_reordering_plugin stage3-function_reordering_plugin ; \
45179 mv prev-function_reordering_plugin stage2-function_reordering_plugin ; : ; \
45181 @endif function_reordering_plugin
45182 @if test -d $(TARGET_SUBDIR) ; then \
45183 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
45184 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
45186 rm -f stage_current
45188 # Bubble a bug fix through all the stages up to stage 3. They are
45189 # remade, but not reconfigured. The next stage (if any) will not be
45190 # reconfigured either.
45191 .PHONY: stage3-bubble
45192 stage3-bubble:: stage2-bubble
45193 @r=`${PWD_COMMAND}`; export r; \
45194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45195 if test -f stage3-lean || test -f stage2-lean ; then \
45196 echo Skipping rebuild of stage3 ; \
45197 else \
45198 $(MAKE) stage3-start; \
45199 if $(LEAN); then \
45200 rm -rf stage1-* ; \
45201 $(STAMP) stage1-lean ; \
45202 fi; \
45203 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
45205 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
45207 .PHONY: all-stage3 clean-stage3
45208 do-clean: clean-stage3
45210 # FIXME: Will not need to be conditional when toplevel bootstrap is the
45211 # only possibility, but now it conflicts with no-bootstrap rules
45212 @if gcc-bootstrap
45214 compare:
45215 @r=`${PWD_COMMAND}`; export r; \
45216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45217 if test -f stage2-lean; then \
45218 echo Cannot compare object files as stage 2 was deleted. ; \
45219 exit 0 ; \
45220 fi; \
45221 : $(MAKE); $(stage); \
45222 rm -f .bad_compare ; \
45223 echo Comparing stages 2 and 3 ; \
45224 sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \
45225 files=`find stage3-* -name "*$(objext)" -print | \
45226 sed -n s,^stage$$sed-,,p` ; \
45227 for file in $${files} ; do \
45228 f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \
45229 if test ! -f $$f1; then continue; fi; \
45230 $(do-compare) > /dev/null 2>&1; \
45231 if test $$? -eq 1; then \
45232 case $$file in \
45233 @compare_exclusions@) \
45234 echo warning: $$file differs ;; \
45235 *) \
45236 echo $$file differs >> .bad_compare ;; \
45237 esac ; \
45238 fi ; \
45239 done ; \
45240 if [ -f .bad_compare ]; then \
45241 echo "Bootstrap comparison failure!"; \
45242 cat .bad_compare; \
45243 exit 1; \
45244 else \
45245 echo Comparison successful.; \
45246 fi ; \
45247 $(STAMP) compare
45248 if $(LEAN); then \
45249 rm -rf stage2-*; \
45250 $(STAMP) stage2-lean; \
45255 .PHONY: bootstrap bootstrap-lean
45256 bootstrap:
45257 echo stage3 > stage_final
45258 @r=`${PWD_COMMAND}`; export r; \
45259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45260 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
45261 @: $(MAKE); $(unstage)
45262 @r=`${PWD_COMMAND}`; export r; \
45263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45264 TFLAGS="$(STAGE3_TFLAGS)"; \
45265 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
45267 bootstrap-lean:
45268 echo stage3 > stage_final
45269 @r=`${PWD_COMMAND}`; export r; \
45270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45271 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
45272 @: $(MAKE); $(unstage)
45273 @r=`${PWD_COMMAND}`; export r; \
45274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45275 TFLAGS="$(STAGE3_TFLAGS)"; \
45276 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
45279 # Rules to wipe a stage and all the following ones, also used for cleanstrap
45280 distclean-stage2:: distclean-stage3
45281 .PHONY: distclean-stage3
45282 distclean-stage3::
45283 @: $(MAKE); $(stage)
45284 @test "`cat stage_last`" != stage3 || rm -f stage_last
45285 rm -rf stage3-* compare
45288 .PHONY: cleanstrap
45289 cleanstrap: do-distclean local-clean
45290 echo stage3 > stage_final
45291 @r=`${PWD_COMMAND}`; export r; \
45292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45293 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
45294 @: $(MAKE); $(unstage)
45295 @r=`${PWD_COMMAND}`; export r; \
45296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45297 TFLAGS="$(STAGE3_TFLAGS)"; \
45298 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
45300 @endif gcc-bootstrap
45303 .PHONY: stage4-start stage4-end
45305 stage4-start::
45306 @: $(MAKE); $(stage); \
45307 echo stage4 > stage_current ; \
45308 echo stage4 > stage_last; \
45309 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
45310 @if bfd
45311 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
45312 mkdir stage4-bfd; \
45313 mv stage4-bfd bfd ; \
45314 mv stage3-bfd prev-bfd || test -f stage3-lean
45315 @endif bfd
45316 @if opcodes
45317 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
45318 mkdir stage4-opcodes; \
45319 mv stage4-opcodes opcodes ; \
45320 mv stage3-opcodes prev-opcodes || test -f stage3-lean
45321 @endif opcodes
45322 @if binutils
45323 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
45324 mkdir stage4-binutils; \
45325 mv stage4-binutils binutils ; \
45326 mv stage3-binutils prev-binutils || test -f stage3-lean
45327 @endif binutils
45328 @if gas
45329 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
45330 mkdir stage4-gas; \
45331 mv stage4-gas gas ; \
45332 mv stage3-gas prev-gas || test -f stage3-lean
45333 @endif gas
45334 @if gcc
45335 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
45336 mkdir stage4-gcc; \
45337 mv stage4-gcc gcc ; \
45338 mv stage3-gcc prev-gcc || test -f stage3-lean
45339 @endif gcc
45340 @if gmp
45341 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
45342 mkdir stage4-gmp; \
45343 mv stage4-gmp gmp ; \
45344 mv stage3-gmp prev-gmp || test -f stage3-lean
45345 @endif gmp
45346 @if mpfr
45347 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
45348 mkdir stage4-mpfr; \
45349 mv stage4-mpfr mpfr ; \
45350 mv stage3-mpfr prev-mpfr || test -f stage3-lean
45351 @endif mpfr
45352 @if mpc
45353 @cd $(HOST_SUBDIR); [ -d stage4-mpc ] || \
45354 mkdir stage4-mpc; \
45355 mv stage4-mpc mpc ; \
45356 mv stage3-mpc prev-mpc || test -f stage3-lean
45357 @endif mpc
45358 @if isl
45359 @cd $(HOST_SUBDIR); [ -d stage4-isl ] || \
45360 mkdir stage4-isl; \
45361 mv stage4-isl isl ; \
45362 mv stage3-isl prev-isl || test -f stage3-lean
45363 @endif isl
45364 @if cloog
45365 @cd $(HOST_SUBDIR); [ -d stage4-cloog ] || \
45366 mkdir stage4-cloog; \
45367 mv stage4-cloog cloog ; \
45368 mv stage3-cloog prev-cloog || test -f stage3-lean
45369 @endif cloog
45370 @if libelf
45371 @cd $(HOST_SUBDIR); [ -d stage4-libelf ] || \
45372 mkdir stage4-libelf; \
45373 mv stage4-libelf libelf ; \
45374 mv stage3-libelf prev-libelf || test -f stage3-lean
45375 @endif libelf
45376 @if gold
45377 @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \
45378 mkdir stage4-gold; \
45379 mv stage4-gold gold ; \
45380 mv stage3-gold prev-gold || test -f stage3-lean
45381 @endif gold
45382 @if intl
45383 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
45384 mkdir stage4-intl; \
45385 mv stage4-intl intl ; \
45386 mv stage3-intl prev-intl || test -f stage3-lean
45387 @endif intl
45388 @if ld
45389 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
45390 mkdir stage4-ld; \
45391 mv stage4-ld ld ; \
45392 mv stage3-ld prev-ld || test -f stage3-lean
45393 @endif ld
45394 @if libbacktrace
45395 @cd $(HOST_SUBDIR); [ -d stage4-libbacktrace ] || \
45396 mkdir stage4-libbacktrace; \
45397 mv stage4-libbacktrace libbacktrace ; \
45398 mv stage3-libbacktrace prev-libbacktrace || test -f stage3-lean
45399 @endif libbacktrace
45400 @if libcpp
45401 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
45402 mkdir stage4-libcpp; \
45403 mv stage4-libcpp libcpp ; \
45404 mv stage3-libcpp prev-libcpp || test -f stage3-lean
45405 @endif libcpp
45406 @if libdecnumber
45407 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
45408 mkdir stage4-libdecnumber; \
45409 mv stage4-libdecnumber libdecnumber ; \
45410 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
45411 @endif libdecnumber
45412 @if libiberty
45413 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
45414 mkdir stage4-libiberty; \
45415 mv stage4-libiberty libiberty ; \
45416 mv stage3-libiberty prev-libiberty || test -f stage3-lean
45417 @endif libiberty
45418 @if zlib
45419 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
45420 mkdir stage4-zlib; \
45421 mv stage4-zlib zlib ; \
45422 mv stage3-zlib prev-zlib || test -f stage3-lean
45423 @endif zlib
45424 @if lto-plugin
45425 @cd $(HOST_SUBDIR); [ -d stage4-lto-plugin ] || \
45426 mkdir stage4-lto-plugin; \
45427 mv stage4-lto-plugin lto-plugin ; \
45428 mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean
45429 @endif lto-plugin
45430 @if function_reordering_plugin
45431 @cd $(HOST_SUBDIR); [ -d stage4-function_reordering_plugin ] || \
45432 mkdir stage4-function_reordering_plugin; \
45433 mv stage4-function_reordering_plugin function_reordering_plugin ; \
45434 mv stage3-function_reordering_plugin prev-function_reordering_plugin || test -f stage3-lean
45435 @endif function_reordering_plugin
45436 @[ -d stage4-$(TARGET_SUBDIR) ] || \
45437 mkdir stage4-$(TARGET_SUBDIR); \
45438 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
45439 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
45441 stage4-end::
45442 @if bfd
45443 @if test -d $(HOST_SUBDIR)/bfd ; then \
45444 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
45445 mv prev-bfd stage3-bfd ; : ; \
45447 @endif bfd
45448 @if opcodes
45449 @if test -d $(HOST_SUBDIR)/opcodes ; then \
45450 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
45451 mv prev-opcodes stage3-opcodes ; : ; \
45453 @endif opcodes
45454 @if binutils
45455 @if test -d $(HOST_SUBDIR)/binutils ; then \
45456 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
45457 mv prev-binutils stage3-binutils ; : ; \
45459 @endif binutils
45460 @if gas
45461 @if test -d $(HOST_SUBDIR)/gas ; then \
45462 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
45463 mv prev-gas stage3-gas ; : ; \
45465 @endif gas
45466 @if gcc
45467 @if test -d $(HOST_SUBDIR)/gcc ; then \
45468 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
45469 mv prev-gcc stage3-gcc ; : ; \
45471 @endif gcc
45472 @if gmp
45473 @if test -d $(HOST_SUBDIR)/gmp ; then \
45474 cd $(HOST_SUBDIR); mv gmp stage4-gmp ; \
45475 mv prev-gmp stage3-gmp ; : ; \
45477 @endif gmp
45478 @if mpfr
45479 @if test -d $(HOST_SUBDIR)/mpfr ; then \
45480 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr ; \
45481 mv prev-mpfr stage3-mpfr ; : ; \
45483 @endif mpfr
45484 @if mpc
45485 @if test -d $(HOST_SUBDIR)/mpc ; then \
45486 cd $(HOST_SUBDIR); mv mpc stage4-mpc ; \
45487 mv prev-mpc stage3-mpc ; : ; \
45489 @endif mpc
45490 @if isl
45491 @if test -d $(HOST_SUBDIR)/isl ; then \
45492 cd $(HOST_SUBDIR); mv isl stage4-isl ; \
45493 mv prev-isl stage3-isl ; : ; \
45495 @endif isl
45496 @if cloog
45497 @if test -d $(HOST_SUBDIR)/cloog ; then \
45498 cd $(HOST_SUBDIR); mv cloog stage4-cloog ; \
45499 mv prev-cloog stage3-cloog ; : ; \
45501 @endif cloog
45502 @if libelf
45503 @if test -d $(HOST_SUBDIR)/libelf ; then \
45504 cd $(HOST_SUBDIR); mv libelf stage4-libelf ; \
45505 mv prev-libelf stage3-libelf ; : ; \
45507 @endif libelf
45508 @if gold
45509 @if test -d $(HOST_SUBDIR)/gold ; then \
45510 cd $(HOST_SUBDIR); mv gold stage4-gold ; \
45511 mv prev-gold stage3-gold ; : ; \
45513 @endif gold
45514 @if intl
45515 @if test -d $(HOST_SUBDIR)/intl ; then \
45516 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
45517 mv prev-intl stage3-intl ; : ; \
45519 @endif intl
45520 @if ld
45521 @if test -d $(HOST_SUBDIR)/ld ; then \
45522 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
45523 mv prev-ld stage3-ld ; : ; \
45525 @endif ld
45526 @if libbacktrace
45527 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
45528 cd $(HOST_SUBDIR); mv libbacktrace stage4-libbacktrace ; \
45529 mv prev-libbacktrace stage3-libbacktrace ; : ; \
45531 @endif libbacktrace
45532 @if libcpp
45533 @if test -d $(HOST_SUBDIR)/libcpp ; then \
45534 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
45535 mv prev-libcpp stage3-libcpp ; : ; \
45537 @endif libcpp
45538 @if libdecnumber
45539 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
45540 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
45541 mv prev-libdecnumber stage3-libdecnumber ; : ; \
45543 @endif libdecnumber
45544 @if libiberty
45545 @if test -d $(HOST_SUBDIR)/libiberty ; then \
45546 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
45547 mv prev-libiberty stage3-libiberty ; : ; \
45549 @endif libiberty
45550 @if zlib
45551 @if test -d $(HOST_SUBDIR)/zlib ; then \
45552 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
45553 mv prev-zlib stage3-zlib ; : ; \
45555 @endif zlib
45556 @if lto-plugin
45557 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
45558 cd $(HOST_SUBDIR); mv lto-plugin stage4-lto-plugin ; \
45559 mv prev-lto-plugin stage3-lto-plugin ; : ; \
45561 @endif lto-plugin
45562 @if function_reordering_plugin
45563 @if test -d $(HOST_SUBDIR)/function_reordering_plugin ; then \
45564 cd $(HOST_SUBDIR); mv function_reordering_plugin stage4-function_reordering_plugin ; \
45565 mv prev-function_reordering_plugin stage3-function_reordering_plugin ; : ; \
45567 @endif function_reordering_plugin
45568 @if test -d $(TARGET_SUBDIR) ; then \
45569 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
45570 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
45572 rm -f stage_current
45574 # Bubble a bug fix through all the stages up to stage 4. They are
45575 # remade, but not reconfigured. The next stage (if any) will not be
45576 # reconfigured either.
45577 .PHONY: stage4-bubble
45578 stage4-bubble:: stage3-bubble
45579 @r=`${PWD_COMMAND}`; export r; \
45580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45581 if test -f stage4-lean || test -f stage3-lean ; then \
45582 echo Skipping rebuild of stage4 ; \
45583 else \
45584 $(MAKE) stage4-start; \
45585 if $(LEAN); then \
45586 rm -rf stage2-* ; \
45587 $(STAMP) stage2-lean ; \
45588 fi; \
45589 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
45591 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
45593 .PHONY: all-stage4 clean-stage4
45594 do-clean: clean-stage4
45596 # FIXME: Will not need to be conditional when toplevel bootstrap is the
45597 # only possibility, but now it conflicts with no-bootstrap rules
45598 @if gcc-bootstrap
45600 compare3:
45601 @r=`${PWD_COMMAND}`; export r; \
45602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45603 if test -f stage3-lean; then \
45604 echo Cannot compare object files as stage 3 was deleted. ; \
45605 exit 0 ; \
45606 fi; \
45607 : $(MAKE); $(stage); \
45608 rm -f .bad_compare ; \
45609 echo Comparing stages 3 and 4 ; \
45610 sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \
45611 files=`find stage4-* -name "*$(objext)" -print | \
45612 sed -n s,^stage$$sed-,,p` ; \
45613 for file in $${files} ; do \
45614 f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \
45615 if test ! -f $$f1; then continue; fi; \
45616 $(do-compare3) > /dev/null 2>&1; \
45617 if test $$? -eq 1; then \
45618 case $$file in \
45619 @compare_exclusions@) \
45620 echo warning: $$file differs ;; \
45621 *) \
45622 echo $$file differs >> .bad_compare ;; \
45623 esac ; \
45624 fi ; \
45625 done ; \
45626 if [ -f .bad_compare ]; then \
45627 echo "Bootstrap comparison failure!"; \
45628 cat .bad_compare; \
45629 exit 1; \
45630 else \
45631 echo Comparison successful.; \
45632 fi ; \
45633 $(STAMP) compare3
45634 if $(LEAN); then \
45635 rm -rf stage3-*; \
45636 $(STAMP) stage3-lean; \
45641 .PHONY: bootstrap4 bootstrap4-lean
45642 bootstrap4:
45643 echo stage4 > stage_final
45644 @r=`${PWD_COMMAND}`; export r; \
45645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45646 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
45647 @: $(MAKE); $(unstage)
45648 @r=`${PWD_COMMAND}`; export r; \
45649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45650 TFLAGS="$(STAGE4_TFLAGS)"; \
45651 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
45653 bootstrap4-lean:
45654 echo stage4 > stage_final
45655 @r=`${PWD_COMMAND}`; export r; \
45656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45657 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
45658 @: $(MAKE); $(unstage)
45659 @r=`${PWD_COMMAND}`; export r; \
45660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45661 TFLAGS="$(STAGE4_TFLAGS)"; \
45662 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
45665 # Rules to wipe a stage and all the following ones, also used for cleanstrap
45666 distclean-stage3:: distclean-stage4
45667 .PHONY: distclean-stage4
45668 distclean-stage4::
45669 @: $(MAKE); $(stage)
45670 @test "`cat stage_last`" != stage4 || rm -f stage_last
45671 rm -rf stage4-* compare3
45674 @endif gcc-bootstrap
45677 .PHONY: stageprofile-start stageprofile-end
45679 stageprofile-start::
45680 @: $(MAKE); $(stage); \
45681 echo stageprofile > stage_current ; \
45682 echo stageprofile > stage_last; \
45683 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
45684 @if bfd
45685 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
45686 mkdir stageprofile-bfd; \
45687 mv stageprofile-bfd bfd ; \
45688 mv stage1-bfd prev-bfd || test -f stage1-lean
45689 @endif bfd
45690 @if opcodes
45691 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
45692 mkdir stageprofile-opcodes; \
45693 mv stageprofile-opcodes opcodes ; \
45694 mv stage1-opcodes prev-opcodes || test -f stage1-lean
45695 @endif opcodes
45696 @if binutils
45697 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
45698 mkdir stageprofile-binutils; \
45699 mv stageprofile-binutils binutils ; \
45700 mv stage1-binutils prev-binutils || test -f stage1-lean
45701 @endif binutils
45702 @if gas
45703 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
45704 mkdir stageprofile-gas; \
45705 mv stageprofile-gas gas ; \
45706 mv stage1-gas prev-gas || test -f stage1-lean
45707 @endif gas
45708 @if gcc
45709 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
45710 mkdir stageprofile-gcc; \
45711 mv stageprofile-gcc gcc ; \
45712 mv stage1-gcc prev-gcc || test -f stage1-lean
45713 @endif gcc
45714 @if gmp
45715 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
45716 mkdir stageprofile-gmp; \
45717 mv stageprofile-gmp gmp ; \
45718 mv stage1-gmp prev-gmp || test -f stage1-lean
45719 @endif gmp
45720 @if mpfr
45721 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
45722 mkdir stageprofile-mpfr; \
45723 mv stageprofile-mpfr mpfr ; \
45724 mv stage1-mpfr prev-mpfr || test -f stage1-lean
45725 @endif mpfr
45726 @if mpc
45727 @cd $(HOST_SUBDIR); [ -d stageprofile-mpc ] || \
45728 mkdir stageprofile-mpc; \
45729 mv stageprofile-mpc mpc ; \
45730 mv stage1-mpc prev-mpc || test -f stage1-lean
45731 @endif mpc
45732 @if isl
45733 @cd $(HOST_SUBDIR); [ -d stageprofile-isl ] || \
45734 mkdir stageprofile-isl; \
45735 mv stageprofile-isl isl ; \
45736 mv stage1-isl prev-isl || test -f stage1-lean
45737 @endif isl
45738 @if cloog
45739 @cd $(HOST_SUBDIR); [ -d stageprofile-cloog ] || \
45740 mkdir stageprofile-cloog; \
45741 mv stageprofile-cloog cloog ; \
45742 mv stage1-cloog prev-cloog || test -f stage1-lean
45743 @endif cloog
45744 @if libelf
45745 @cd $(HOST_SUBDIR); [ -d stageprofile-libelf ] || \
45746 mkdir stageprofile-libelf; \
45747 mv stageprofile-libelf libelf ; \
45748 mv stage1-libelf prev-libelf || test -f stage1-lean
45749 @endif libelf
45750 @if gold
45751 @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \
45752 mkdir stageprofile-gold; \
45753 mv stageprofile-gold gold ; \
45754 mv stage1-gold prev-gold || test -f stage1-lean
45755 @endif gold
45756 @if intl
45757 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
45758 mkdir stageprofile-intl; \
45759 mv stageprofile-intl intl ; \
45760 mv stage1-intl prev-intl || test -f stage1-lean
45761 @endif intl
45762 @if ld
45763 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
45764 mkdir stageprofile-ld; \
45765 mv stageprofile-ld ld ; \
45766 mv stage1-ld prev-ld || test -f stage1-lean
45767 @endif ld
45768 @if libbacktrace
45769 @cd $(HOST_SUBDIR); [ -d stageprofile-libbacktrace ] || \
45770 mkdir stageprofile-libbacktrace; \
45771 mv stageprofile-libbacktrace libbacktrace ; \
45772 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
45773 @endif libbacktrace
45774 @if libcpp
45775 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
45776 mkdir stageprofile-libcpp; \
45777 mv stageprofile-libcpp libcpp ; \
45778 mv stage1-libcpp prev-libcpp || test -f stage1-lean
45779 @endif libcpp
45780 @if libdecnumber
45781 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
45782 mkdir stageprofile-libdecnumber; \
45783 mv stageprofile-libdecnumber libdecnumber ; \
45784 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
45785 @endif libdecnumber
45786 @if libiberty
45787 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
45788 mkdir stageprofile-libiberty; \
45789 mv stageprofile-libiberty libiberty ; \
45790 mv stage1-libiberty prev-libiberty || test -f stage1-lean
45791 @endif libiberty
45792 @if zlib
45793 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
45794 mkdir stageprofile-zlib; \
45795 mv stageprofile-zlib zlib ; \
45796 mv stage1-zlib prev-zlib || test -f stage1-lean
45797 @endif zlib
45798 @if lto-plugin
45799 @cd $(HOST_SUBDIR); [ -d stageprofile-lto-plugin ] || \
45800 mkdir stageprofile-lto-plugin; \
45801 mv stageprofile-lto-plugin lto-plugin ; \
45802 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
45803 @endif lto-plugin
45804 @if function_reordering_plugin
45805 @cd $(HOST_SUBDIR); [ -d stageprofile-function_reordering_plugin ] || \
45806 mkdir stageprofile-function_reordering_plugin; \
45807 mv stageprofile-function_reordering_plugin function_reordering_plugin ; \
45808 mv stage1-function_reordering_plugin prev-function_reordering_plugin || test -f stage1-lean
45809 @endif function_reordering_plugin
45810 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
45811 mkdir stageprofile-$(TARGET_SUBDIR); \
45812 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
45813 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
45815 stageprofile-end::
45816 @if bfd
45817 @if test -d $(HOST_SUBDIR)/bfd ; then \
45818 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
45819 mv prev-bfd stage1-bfd ; : ; \
45821 @endif bfd
45822 @if opcodes
45823 @if test -d $(HOST_SUBDIR)/opcodes ; then \
45824 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
45825 mv prev-opcodes stage1-opcodes ; : ; \
45827 @endif opcodes
45828 @if binutils
45829 @if test -d $(HOST_SUBDIR)/binutils ; then \
45830 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
45831 mv prev-binutils stage1-binutils ; : ; \
45833 @endif binutils
45834 @if gas
45835 @if test -d $(HOST_SUBDIR)/gas ; then \
45836 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
45837 mv prev-gas stage1-gas ; : ; \
45839 @endif gas
45840 @if gcc
45841 @if test -d $(HOST_SUBDIR)/gcc ; then \
45842 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
45843 mv prev-gcc stage1-gcc ; : ; \
45845 @endif gcc
45846 @if gmp
45847 @if test -d $(HOST_SUBDIR)/gmp ; then \
45848 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp ; \
45849 mv prev-gmp stage1-gmp ; : ; \
45851 @endif gmp
45852 @if mpfr
45853 @if test -d $(HOST_SUBDIR)/mpfr ; then \
45854 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr ; \
45855 mv prev-mpfr stage1-mpfr ; : ; \
45857 @endif mpfr
45858 @if mpc
45859 @if test -d $(HOST_SUBDIR)/mpc ; then \
45860 cd $(HOST_SUBDIR); mv mpc stageprofile-mpc ; \
45861 mv prev-mpc stage1-mpc ; : ; \
45863 @endif mpc
45864 @if isl
45865 @if test -d $(HOST_SUBDIR)/isl ; then \
45866 cd $(HOST_SUBDIR); mv isl stageprofile-isl ; \
45867 mv prev-isl stage1-isl ; : ; \
45869 @endif isl
45870 @if cloog
45871 @if test -d $(HOST_SUBDIR)/cloog ; then \
45872 cd $(HOST_SUBDIR); mv cloog stageprofile-cloog ; \
45873 mv prev-cloog stage1-cloog ; : ; \
45875 @endif cloog
45876 @if libelf
45877 @if test -d $(HOST_SUBDIR)/libelf ; then \
45878 cd $(HOST_SUBDIR); mv libelf stageprofile-libelf ; \
45879 mv prev-libelf stage1-libelf ; : ; \
45881 @endif libelf
45882 @if gold
45883 @if test -d $(HOST_SUBDIR)/gold ; then \
45884 cd $(HOST_SUBDIR); mv gold stageprofile-gold ; \
45885 mv prev-gold stage1-gold ; : ; \
45887 @endif gold
45888 @if intl
45889 @if test -d $(HOST_SUBDIR)/intl ; then \
45890 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
45891 mv prev-intl stage1-intl ; : ; \
45893 @endif intl
45894 @if ld
45895 @if test -d $(HOST_SUBDIR)/ld ; then \
45896 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
45897 mv prev-ld stage1-ld ; : ; \
45899 @endif ld
45900 @if libbacktrace
45901 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
45902 cd $(HOST_SUBDIR); mv libbacktrace stageprofile-libbacktrace ; \
45903 mv prev-libbacktrace stage1-libbacktrace ; : ; \
45905 @endif libbacktrace
45906 @if libcpp
45907 @if test -d $(HOST_SUBDIR)/libcpp ; then \
45908 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
45909 mv prev-libcpp stage1-libcpp ; : ; \
45911 @endif libcpp
45912 @if libdecnumber
45913 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
45914 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
45915 mv prev-libdecnumber stage1-libdecnumber ; : ; \
45917 @endif libdecnumber
45918 @if libiberty
45919 @if test -d $(HOST_SUBDIR)/libiberty ; then \
45920 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
45921 mv prev-libiberty stage1-libiberty ; : ; \
45923 @endif libiberty
45924 @if zlib
45925 @if test -d $(HOST_SUBDIR)/zlib ; then \
45926 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
45927 mv prev-zlib stage1-zlib ; : ; \
45929 @endif zlib
45930 @if lto-plugin
45931 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
45932 cd $(HOST_SUBDIR); mv lto-plugin stageprofile-lto-plugin ; \
45933 mv prev-lto-plugin stage1-lto-plugin ; : ; \
45935 @endif lto-plugin
45936 @if function_reordering_plugin
45937 @if test -d $(HOST_SUBDIR)/function_reordering_plugin ; then \
45938 cd $(HOST_SUBDIR); mv function_reordering_plugin stageprofile-function_reordering_plugin ; \
45939 mv prev-function_reordering_plugin stage1-function_reordering_plugin ; : ; \
45941 @endif function_reordering_plugin
45942 @if test -d $(TARGET_SUBDIR) ; then \
45943 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
45944 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
45946 rm -f stage_current
45948 # Bubble a bug fix through all the stages up to stage profile. They are
45949 # remade, but not reconfigured. The next stage (if any) will not be
45950 # reconfigured either.
45951 .PHONY: stageprofile-bubble
45952 stageprofile-bubble:: stage1-bubble
45953 @r=`${PWD_COMMAND}`; export r; \
45954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45955 if test -f stageprofile-lean || test -f stage1-lean ; then \
45956 echo Skipping rebuild of stageprofile ; \
45957 else \
45958 $(MAKE) stageprofile-start; \
45959 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
45962 .PHONY: all-stageprofile clean-stageprofile
45963 do-clean: clean-stageprofile
45965 # FIXME: Will not need to be conditional when toplevel bootstrap is the
45966 # only possibility, but now it conflicts with no-bootstrap rules
45967 @if gcc-bootstrap
45972 # Rules to wipe a stage and all the following ones, also used for cleanstrap
45973 distclean-stage1:: distclean-stageprofile
45974 .PHONY: distclean-stageprofile
45975 distclean-stageprofile::
45976 @: $(MAKE); $(stage)
45977 @test "`cat stage_last`" != stageprofile || rm -f stage_last
45978 rm -rf stageprofile-*
45981 @endif gcc-bootstrap
45984 .PHONY: stagefeedback-start stagefeedback-end
45986 stagefeedback-start::
45987 @: $(MAKE); $(stage); \
45988 echo stagefeedback > stage_current ; \
45989 echo stagefeedback > stage_last; \
45990 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
45991 @if bfd
45992 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
45993 mkdir stagefeedback-bfd; \
45994 mv stagefeedback-bfd bfd ; \
45995 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
45996 @endif bfd
45997 @if opcodes
45998 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
45999 mkdir stagefeedback-opcodes; \
46000 mv stagefeedback-opcodes opcodes ; \
46001 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
46002 @endif opcodes
46003 @if binutils
46004 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
46005 mkdir stagefeedback-binutils; \
46006 mv stagefeedback-binutils binutils ; \
46007 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
46008 @endif binutils
46009 @if gas
46010 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
46011 mkdir stagefeedback-gas; \
46012 mv stagefeedback-gas gas ; \
46013 mv stageprofile-gas prev-gas || test -f stageprofile-lean
46014 @endif gas
46015 @if gcc
46016 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
46017 mkdir stagefeedback-gcc; \
46018 mv stagefeedback-gcc gcc ; \
46019 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
46020 @endif gcc
46021 @if gmp
46022 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
46023 mkdir stagefeedback-gmp; \
46024 mv stagefeedback-gmp gmp ; \
46025 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
46026 @endif gmp
46027 @if mpfr
46028 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
46029 mkdir stagefeedback-mpfr; \
46030 mv stagefeedback-mpfr mpfr ; \
46031 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
46032 @endif mpfr
46033 @if mpc
46034 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpc ] || \
46035 mkdir stagefeedback-mpc; \
46036 mv stagefeedback-mpc mpc ; \
46037 mv stageprofile-mpc prev-mpc || test -f stageprofile-lean
46038 @endif mpc
46039 @if isl
46040 @cd $(HOST_SUBDIR); [ -d stagefeedback-isl ] || \
46041 mkdir stagefeedback-isl; \
46042 mv stagefeedback-isl isl ; \
46043 mv stageprofile-isl prev-isl || test -f stageprofile-lean
46044 @endif isl
46045 @if cloog
46046 @cd $(HOST_SUBDIR); [ -d stagefeedback-cloog ] || \
46047 mkdir stagefeedback-cloog; \
46048 mv stagefeedback-cloog cloog ; \
46049 mv stageprofile-cloog prev-cloog || test -f stageprofile-lean
46050 @endif cloog
46051 @if libelf
46052 @cd $(HOST_SUBDIR); [ -d stagefeedback-libelf ] || \
46053 mkdir stagefeedback-libelf; \
46054 mv stagefeedback-libelf libelf ; \
46055 mv stageprofile-libelf prev-libelf || test -f stageprofile-lean
46056 @endif libelf
46057 @if gold
46058 @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \
46059 mkdir stagefeedback-gold; \
46060 mv stagefeedback-gold gold ; \
46061 mv stageprofile-gold prev-gold || test -f stageprofile-lean
46062 @endif gold
46063 @if intl
46064 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
46065 mkdir stagefeedback-intl; \
46066 mv stagefeedback-intl intl ; \
46067 mv stageprofile-intl prev-intl || test -f stageprofile-lean
46068 @endif intl
46069 @if ld
46070 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
46071 mkdir stagefeedback-ld; \
46072 mv stagefeedback-ld ld ; \
46073 mv stageprofile-ld prev-ld || test -f stageprofile-lean
46074 @endif ld
46075 @if libbacktrace
46076 @cd $(HOST_SUBDIR); [ -d stagefeedback-libbacktrace ] || \
46077 mkdir stagefeedback-libbacktrace; \
46078 mv stagefeedback-libbacktrace libbacktrace ; \
46079 mv stageprofile-libbacktrace prev-libbacktrace || test -f stageprofile-lean
46080 @endif libbacktrace
46081 @if libcpp
46082 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
46083 mkdir stagefeedback-libcpp; \
46084 mv stagefeedback-libcpp libcpp ; \
46085 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
46086 @endif libcpp
46087 @if libdecnumber
46088 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
46089 mkdir stagefeedback-libdecnumber; \
46090 mv stagefeedback-libdecnumber libdecnumber ; \
46091 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
46092 @endif libdecnumber
46093 @if libiberty
46094 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
46095 mkdir stagefeedback-libiberty; \
46096 mv stagefeedback-libiberty libiberty ; \
46097 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
46098 @endif libiberty
46099 @if zlib
46100 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
46101 mkdir stagefeedback-zlib; \
46102 mv stagefeedback-zlib zlib ; \
46103 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
46104 @endif zlib
46105 @if lto-plugin
46106 @cd $(HOST_SUBDIR); [ -d stagefeedback-lto-plugin ] || \
46107 mkdir stagefeedback-lto-plugin; \
46108 mv stagefeedback-lto-plugin lto-plugin ; \
46109 mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean
46110 @endif lto-plugin
46111 @if function_reordering_plugin
46112 @cd $(HOST_SUBDIR); [ -d stagefeedback-function_reordering_plugin ] || \
46113 mkdir stagefeedback-function_reordering_plugin; \
46114 mv stagefeedback-function_reordering_plugin function_reordering_plugin ; \
46115 mv stageprofile-function_reordering_plugin prev-function_reordering_plugin || test -f stageprofile-lean
46116 @endif function_reordering_plugin
46117 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
46118 mkdir stagefeedback-$(TARGET_SUBDIR); \
46119 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
46120 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
46122 stagefeedback-end::
46123 @if bfd
46124 @if test -d $(HOST_SUBDIR)/bfd ; then \
46125 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
46126 mv prev-bfd stageprofile-bfd ; : ; \
46128 @endif bfd
46129 @if opcodes
46130 @if test -d $(HOST_SUBDIR)/opcodes ; then \
46131 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
46132 mv prev-opcodes stageprofile-opcodes ; : ; \
46134 @endif opcodes
46135 @if binutils
46136 @if test -d $(HOST_SUBDIR)/binutils ; then \
46137 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
46138 mv prev-binutils stageprofile-binutils ; : ; \
46140 @endif binutils
46141 @if gas
46142 @if test -d $(HOST_SUBDIR)/gas ; then \
46143 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
46144 mv prev-gas stageprofile-gas ; : ; \
46146 @endif gas
46147 @if gcc
46148 @if test -d $(HOST_SUBDIR)/gcc ; then \
46149 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
46150 mv prev-gcc stageprofile-gcc ; : ; \
46152 @endif gcc
46153 @if gmp
46154 @if test -d $(HOST_SUBDIR)/gmp ; then \
46155 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp ; \
46156 mv prev-gmp stageprofile-gmp ; : ; \
46158 @endif gmp
46159 @if mpfr
46160 @if test -d $(HOST_SUBDIR)/mpfr ; then \
46161 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr ; \
46162 mv prev-mpfr stageprofile-mpfr ; : ; \
46164 @endif mpfr
46165 @if mpc
46166 @if test -d $(HOST_SUBDIR)/mpc ; then \
46167 cd $(HOST_SUBDIR); mv mpc stagefeedback-mpc ; \
46168 mv prev-mpc stageprofile-mpc ; : ; \
46170 @endif mpc
46171 @if isl
46172 @if test -d $(HOST_SUBDIR)/isl ; then \
46173 cd $(HOST_SUBDIR); mv isl stagefeedback-isl ; \
46174 mv prev-isl stageprofile-isl ; : ; \
46176 @endif isl
46177 @if cloog
46178 @if test -d $(HOST_SUBDIR)/cloog ; then \
46179 cd $(HOST_SUBDIR); mv cloog stagefeedback-cloog ; \
46180 mv prev-cloog stageprofile-cloog ; : ; \
46182 @endif cloog
46183 @if libelf
46184 @if test -d $(HOST_SUBDIR)/libelf ; then \
46185 cd $(HOST_SUBDIR); mv libelf stagefeedback-libelf ; \
46186 mv prev-libelf stageprofile-libelf ; : ; \
46188 @endif libelf
46189 @if gold
46190 @if test -d $(HOST_SUBDIR)/gold ; then \
46191 cd $(HOST_SUBDIR); mv gold stagefeedback-gold ; \
46192 mv prev-gold stageprofile-gold ; : ; \
46194 @endif gold
46195 @if intl
46196 @if test -d $(HOST_SUBDIR)/intl ; then \
46197 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
46198 mv prev-intl stageprofile-intl ; : ; \
46200 @endif intl
46201 @if ld
46202 @if test -d $(HOST_SUBDIR)/ld ; then \
46203 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
46204 mv prev-ld stageprofile-ld ; : ; \
46206 @endif ld
46207 @if libbacktrace
46208 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
46209 cd $(HOST_SUBDIR); mv libbacktrace stagefeedback-libbacktrace ; \
46210 mv prev-libbacktrace stageprofile-libbacktrace ; : ; \
46212 @endif libbacktrace
46213 @if libcpp
46214 @if test -d $(HOST_SUBDIR)/libcpp ; then \
46215 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
46216 mv prev-libcpp stageprofile-libcpp ; : ; \
46218 @endif libcpp
46219 @if libdecnumber
46220 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
46221 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
46222 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
46224 @endif libdecnumber
46225 @if libiberty
46226 @if test -d $(HOST_SUBDIR)/libiberty ; then \
46227 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
46228 mv prev-libiberty stageprofile-libiberty ; : ; \
46230 @endif libiberty
46231 @if zlib
46232 @if test -d $(HOST_SUBDIR)/zlib ; then \
46233 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
46234 mv prev-zlib stageprofile-zlib ; : ; \
46236 @endif zlib
46237 @if lto-plugin
46238 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
46239 cd $(HOST_SUBDIR); mv lto-plugin stagefeedback-lto-plugin ; \
46240 mv prev-lto-plugin stageprofile-lto-plugin ; : ; \
46242 @endif lto-plugin
46243 @if function_reordering_plugin
46244 @if test -d $(HOST_SUBDIR)/function_reordering_plugin ; then \
46245 cd $(HOST_SUBDIR); mv function_reordering_plugin stagefeedback-function_reordering_plugin ; \
46246 mv prev-function_reordering_plugin stageprofile-function_reordering_plugin ; : ; \
46248 @endif function_reordering_plugin
46249 @if test -d $(TARGET_SUBDIR) ; then \
46250 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
46251 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
46253 rm -f stage_current
46255 # Bubble a bug fix through all the stages up to stage feedback. They are
46256 # remade, but not reconfigured. The next stage (if any) will not be
46257 # reconfigured either.
46258 .PHONY: stagefeedback-bubble
46259 stagefeedback-bubble:: stageprofile-bubble
46260 @r=`${PWD_COMMAND}`; export r; \
46261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46262 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
46263 echo Skipping rebuild of stagefeedback ; \
46264 else \
46265 $(MAKE) stagefeedback-start; \
46266 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
46269 .PHONY: all-stagefeedback clean-stagefeedback
46270 do-clean: clean-stagefeedback
46272 # FIXME: Will not need to be conditional when toplevel bootstrap is the
46273 # only possibility, but now it conflicts with no-bootstrap rules
46274 @if gcc-bootstrap
46278 .PHONY: profiledbootstrap profiledbootstrap-lean
46279 profiledbootstrap:
46280 echo stagefeedback > stage_final
46281 @r=`${PWD_COMMAND}`; export r; \
46282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46283 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
46284 @: $(MAKE); $(unstage)
46285 @r=`${PWD_COMMAND}`; export r; \
46286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46287 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
46288 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
46290 profiledbootstrap-lean:
46291 echo stagefeedback > stage_final
46292 @r=`${PWD_COMMAND}`; export r; \
46293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46294 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
46295 @: $(MAKE); $(unstage)
46296 @r=`${PWD_COMMAND}`; export r; \
46297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46298 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
46299 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
46302 # Rules to wipe a stage and all the following ones, also used for cleanstrap
46303 distclean-stageprofile:: distclean-stagefeedback
46304 .PHONY: distclean-stagefeedback
46305 distclean-stagefeedback::
46306 @: $(MAKE); $(stage)
46307 @test "`cat stage_last`" != stagefeedback || rm -f stage_last
46308 rm -rf stagefeedback-*
46311 @endif gcc-bootstrap
46315 stageprofile-end::
46316 $(MAKE) distclean-stagefeedback
46318 stagefeedback-start::
46319 @r=`${PWD_COMMAND}`; export r; \
46320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46321 for i in prev-*; do \
46322 j=`echo $$i | sed s/^prev-//` ; \
46323 cd $$r/$$i && \
46324 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
46325 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
46326 done
46328 @if gcc-bootstrap
46329 do-distclean: distclean-stage1
46331 # Provide a GCC build when we're building target libraries. This does
46332 # not work as a dependency, just as the minimum necessary to avoid errors.
46333 stage_last:
46334 @r=`${PWD_COMMAND}`; export r; \
46335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46336 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
46338 # Same as unstage, but not phony and defaulting to stage1-start. We place
46339 # it in the dependency so that for example `make -j3 all-gcc' works.
46340 stage_current:
46341 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
46343 .PHONY: restrap
46344 restrap::
46345 @: $(MAKE); $(stage)
46346 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagefeedback-*
46347 restrap:: all
46348 @endif gcc-bootstrap
46350 # --------------------------------------
46351 # Dependencies between different modules
46352 # --------------------------------------
46354 # Generic dependencies for target modules on host stuff, especially gcc
46355 @if gcc-bootstrap
46356 configure-stage1-target-libstdc++-v3: maybe-all-stage1-gcc
46357 configure-stage2-target-libstdc++-v3: maybe-all-stage2-gcc
46358 configure-stage3-target-libstdc++-v3: maybe-all-stage3-gcc
46359 configure-stage4-target-libstdc++-v3: maybe-all-stage4-gcc
46360 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-gcc
46361 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-gcc
46362 configure-target-libmudflap: stage_last
46363 configure-stage1-target-libsanitizer: maybe-all-stage1-gcc
46364 configure-stage2-target-libsanitizer: maybe-all-stage2-gcc
46365 configure-stage3-target-libsanitizer: maybe-all-stage3-gcc
46366 configure-stage4-target-libsanitizer: maybe-all-stage4-gcc
46367 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-gcc
46368 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-gcc
46369 configure-target-libssp: stage_last
46370 configure-target-newlib: stage_last
46371 configure-stage1-target-libgcc: maybe-all-stage1-gcc
46372 configure-stage2-target-libgcc: maybe-all-stage2-gcc
46373 configure-stage3-target-libgcc: maybe-all-stage3-gcc
46374 configure-stage4-target-libgcc: maybe-all-stage4-gcc
46375 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
46376 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
46377 configure-target-libbacktrace: stage_last
46378 configure-target-libquadmath: stage_last
46379 configure-target-libgfortran: stage_last
46380 configure-target-libobjc: stage_last
46381 configure-target-libgo: stage_last
46382 configure-target-libtermcap: stage_last
46383 configure-target-winsup: stage_last
46384 configure-target-libgloss: stage_last
46385 configure-target-libffi: stage_last
46386 configure-target-libjava: stage_last
46387 configure-target-zlib: stage_last
46388 configure-target-boehm-gc: stage_last
46389 configure-target-rda: stage_last
46390 configure-target-libada: stage_last
46391 configure-stage1-target-libgomp: maybe-all-stage1-gcc
46392 configure-stage2-target-libgomp: maybe-all-stage2-gcc
46393 configure-stage3-target-libgomp: maybe-all-stage3-gcc
46394 configure-stage4-target-libgomp: maybe-all-stage4-gcc
46395 configure-stageprofile-target-libgomp: maybe-all-stageprofile-gcc
46396 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-gcc
46397 configure-target-libitm: stage_last
46398 configure-target-libatomic: stage_last
46399 @endif gcc-bootstrap
46401 @if gcc-no-bootstrap
46402 configure-target-libstdc++-v3: maybe-all-gcc
46403 configure-target-libmudflap: maybe-all-gcc
46404 configure-target-libsanitizer: maybe-all-gcc
46405 configure-target-libssp: maybe-all-gcc
46406 configure-target-newlib: maybe-all-gcc
46407 configure-target-libgcc: maybe-all-gcc
46408 configure-target-libbacktrace: maybe-all-gcc
46409 configure-target-libquadmath: maybe-all-gcc
46410 configure-target-libgfortran: maybe-all-gcc
46411 configure-target-libobjc: maybe-all-gcc
46412 configure-target-libgo: maybe-all-gcc
46413 configure-target-libtermcap: maybe-all-gcc
46414 configure-target-winsup: maybe-all-gcc
46415 configure-target-libgloss: maybe-all-gcc
46416 configure-target-libffi: maybe-all-gcc
46417 configure-target-libjava: maybe-all-gcc
46418 configure-target-zlib: maybe-all-gcc
46419 configure-target-boehm-gc: maybe-all-gcc
46420 configure-target-rda: maybe-all-gcc
46421 configure-target-libada: maybe-all-gcc
46422 configure-target-libgomp: maybe-all-gcc
46423 configure-target-libitm: maybe-all-gcc
46424 configure-target-libatomic: maybe-all-gcc
46425 @endif gcc-no-bootstrap
46428 # There are two types of dependencies here: 'hard' dependencies, where one
46429 # module simply won't build without the other; and 'soft' dependencies, where
46430 # if the depended-on module is missing, the depending module will do without
46431 # or find a substitute somewhere (perhaps installed). Soft dependencies
46432 # are made here to depend on a 'maybe-' target. If you're not sure,
46433 # it's safer to use a soft dependency.
46440 # With all the machinery above in place, it is pretty easy to generate
46441 # dependencies. Host dependencies are a bit more complex because we have
46442 # to check for bootstrap/prebootstrap dependencies. To resolve
46443 # prebootstrap dependencies, prebootstrap modules are gathered in
46444 # a hash table.
46445 all-build-bison: maybe-all-build-texinfo
46446 all-build-flex: maybe-all-build-texinfo
46447 all-build-flex: maybe-all-build-bison
46448 all-build-flex: maybe-all-build-m4
46449 all-build-libiberty: maybe-all-build-texinfo
46450 all-build-m4: maybe-all-build-texinfo
46451 all-build-fixincludes: maybe-all-build-libiberty
46452 configure-gcc: maybe-configure-intl
46454 configure-stage1-gcc: maybe-configure-stage1-intl
46455 configure-stage2-gcc: maybe-configure-stage2-intl
46456 configure-stage3-gcc: maybe-configure-stage3-intl
46457 configure-stage4-gcc: maybe-configure-stage4-intl
46458 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
46459 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
46460 configure-gcc: maybe-all-gmp
46462 configure-stage1-gcc: maybe-all-stage1-gmp
46463 configure-stage2-gcc: maybe-all-stage2-gmp
46464 configure-stage3-gcc: maybe-all-stage3-gmp
46465 configure-stage4-gcc: maybe-all-stage4-gmp
46466 configure-stageprofile-gcc: maybe-all-stageprofile-gmp
46467 configure-stagefeedback-gcc: maybe-all-stagefeedback-gmp
46468 configure-gcc: maybe-all-lto-plugin
46470 configure-stage1-gcc: maybe-all-stage1-lto-plugin
46471 configure-stage2-gcc: maybe-all-stage2-lto-plugin
46472 configure-stage3-gcc: maybe-all-stage3-lto-plugin
46473 configure-stage4-gcc: maybe-all-stage4-lto-plugin
46474 configure-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
46475 configure-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
46476 configure-gcc: maybe-all-function_reordering_plugin
46478 configure-stage1-gcc: maybe-all-stage1-function_reordering_plugin
46479 configure-stage2-gcc: maybe-all-stage2-function_reordering_plugin
46480 configure-stage3-gcc: maybe-all-stage3-function_reordering_plugin
46481 configure-stage4-gcc: maybe-all-stage4-function_reordering_plugin
46482 configure-stageprofile-gcc: maybe-all-stageprofile-function_reordering_plugin
46483 configure-stagefeedback-gcc: maybe-all-stagefeedback-function_reordering_plugin
46484 configure-gcc: maybe-all-binutils
46486 configure-stage1-gcc: maybe-all-stage1-binutils
46487 configure-stage2-gcc: maybe-all-stage2-binutils
46488 configure-stage3-gcc: maybe-all-stage3-binutils
46489 configure-stage4-gcc: maybe-all-stage4-binutils
46490 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
46491 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
46492 configure-gcc: maybe-all-gas
46494 configure-stage1-gcc: maybe-all-stage1-gas
46495 configure-stage2-gcc: maybe-all-stage2-gas
46496 configure-stage3-gcc: maybe-all-stage3-gas
46497 configure-stage4-gcc: maybe-all-stage4-gas
46498 configure-stageprofile-gcc: maybe-all-stageprofile-gas
46499 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
46500 configure-gcc: maybe-all-ld
46502 configure-stage1-gcc: maybe-all-stage1-ld
46503 configure-stage2-gcc: maybe-all-stage2-ld
46504 configure-stage3-gcc: maybe-all-stage3-ld
46505 configure-stage4-gcc: maybe-all-stage4-ld
46506 configure-stageprofile-gcc: maybe-all-stageprofile-ld
46507 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
46508 configure-gcc: maybe-all-gold
46510 configure-stage1-gcc: maybe-all-stage1-gold
46511 configure-stage2-gcc: maybe-all-stage2-gold
46512 configure-stage3-gcc: maybe-all-stage3-gold
46513 configure-stage4-gcc: maybe-all-stage4-gold
46514 configure-stageprofile-gcc: maybe-all-stageprofile-gold
46515 configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
46516 configure-gcc: maybe-all-libelf
46518 configure-stage1-gcc: maybe-all-stage1-libelf
46519 configure-stage2-gcc: maybe-all-stage2-libelf
46520 configure-stage3-gcc: maybe-all-stage3-libelf
46521 configure-stage4-gcc: maybe-all-stage4-libelf
46522 configure-stageprofile-gcc: maybe-all-stageprofile-libelf
46523 configure-stagefeedback-gcc: maybe-all-stagefeedback-libelf
46524 all-gcc: all-libiberty
46526 all-stage1-gcc: all-stage1-libiberty
46527 all-stage2-gcc: all-stage2-libiberty
46528 all-stage3-gcc: all-stage3-libiberty
46529 all-stage4-gcc: all-stage4-libiberty
46530 all-stageprofile-gcc: all-stageprofile-libiberty
46531 all-stagefeedback-gcc: all-stagefeedback-libiberty
46532 all-gcc: maybe-all-intl
46534 all-stage1-gcc: maybe-all-stage1-intl
46535 all-stage2-gcc: maybe-all-stage2-intl
46536 all-stage3-gcc: maybe-all-stage3-intl
46537 all-stage4-gcc: maybe-all-stage4-intl
46538 all-stageprofile-gcc: maybe-all-stageprofile-intl
46539 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
46540 all-gcc: maybe-all-mpfr
46542 all-stage1-gcc: maybe-all-stage1-mpfr
46543 all-stage2-gcc: maybe-all-stage2-mpfr
46544 all-stage3-gcc: maybe-all-stage3-mpfr
46545 all-stage4-gcc: maybe-all-stage4-mpfr
46546 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
46547 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
46548 all-gcc: maybe-all-mpc
46550 all-stage1-gcc: maybe-all-stage1-mpc
46551 all-stage2-gcc: maybe-all-stage2-mpc
46552 all-stage3-gcc: maybe-all-stage3-mpc
46553 all-stage4-gcc: maybe-all-stage4-mpc
46554 all-stageprofile-gcc: maybe-all-stageprofile-mpc
46555 all-stagefeedback-gcc: maybe-all-stagefeedback-mpc
46556 all-gcc: maybe-all-cloog
46558 all-stage1-gcc: maybe-all-stage1-cloog
46559 all-stage2-gcc: maybe-all-stage2-cloog
46560 all-stage3-gcc: maybe-all-stage3-cloog
46561 all-stage4-gcc: maybe-all-stage4-cloog
46562 all-stageprofile-gcc: maybe-all-stageprofile-cloog
46563 all-stagefeedback-gcc: maybe-all-stagefeedback-cloog
46564 all-gcc: maybe-all-build-texinfo
46566 all-stage1-gcc: maybe-all-build-texinfo
46567 all-stage2-gcc: maybe-all-build-texinfo
46568 all-stage3-gcc: maybe-all-build-texinfo
46569 all-stage4-gcc: maybe-all-build-texinfo
46570 all-stageprofile-gcc: maybe-all-build-texinfo
46571 all-stagefeedback-gcc: maybe-all-build-texinfo
46572 all-gcc: maybe-all-build-bison
46574 all-stage1-gcc: maybe-all-build-bison
46575 all-stage2-gcc: maybe-all-build-bison
46576 all-stage3-gcc: maybe-all-build-bison
46577 all-stage4-gcc: maybe-all-build-bison
46578 all-stageprofile-gcc: maybe-all-build-bison
46579 all-stagefeedback-gcc: maybe-all-build-bison
46580 all-gcc: maybe-all-build-flex
46582 all-stage1-gcc: maybe-all-build-flex
46583 all-stage2-gcc: maybe-all-build-flex
46584 all-stage3-gcc: maybe-all-build-flex
46585 all-stage4-gcc: maybe-all-build-flex
46586 all-stageprofile-gcc: maybe-all-build-flex
46587 all-stagefeedback-gcc: maybe-all-build-flex
46588 all-gcc: maybe-all-build-libiberty
46590 all-stage1-gcc: maybe-all-build-libiberty
46591 all-stage2-gcc: maybe-all-build-libiberty
46592 all-stage3-gcc: maybe-all-build-libiberty
46593 all-stage4-gcc: maybe-all-build-libiberty
46594 all-stageprofile-gcc: maybe-all-build-libiberty
46595 all-stagefeedback-gcc: maybe-all-build-libiberty
46596 all-gcc: maybe-all-build-fixincludes
46598 all-stage1-gcc: maybe-all-build-fixincludes
46599 all-stage2-gcc: maybe-all-build-fixincludes
46600 all-stage3-gcc: maybe-all-build-fixincludes
46601 all-stage4-gcc: maybe-all-build-fixincludes
46602 all-stageprofile-gcc: maybe-all-build-fixincludes
46603 all-stagefeedback-gcc: maybe-all-build-fixincludes
46604 all-gcc: maybe-all-zlib
46606 all-stage1-gcc: maybe-all-stage1-zlib
46607 all-stage2-gcc: maybe-all-stage2-zlib
46608 all-stage3-gcc: maybe-all-stage3-zlib
46609 all-stage4-gcc: maybe-all-stage4-zlib
46610 all-stageprofile-gcc: maybe-all-stageprofile-zlib
46611 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
46612 all-gcc: all-libbacktrace
46614 all-stage1-gcc: all-stage1-libbacktrace
46615 all-stage2-gcc: all-stage2-libbacktrace
46616 all-stage3-gcc: all-stage3-libbacktrace
46617 all-stage4-gcc: all-stage4-libbacktrace
46618 all-stageprofile-gcc: all-stageprofile-libbacktrace
46619 all-stagefeedback-gcc: all-stagefeedback-libbacktrace
46620 all-gcc: all-libcpp
46622 all-stage1-gcc: all-stage1-libcpp
46623 all-stage2-gcc: all-stage2-libcpp
46624 all-stage3-gcc: all-stage3-libcpp
46625 all-stage4-gcc: all-stage4-libcpp
46626 all-stageprofile-gcc: all-stageprofile-libcpp
46627 all-stagefeedback-gcc: all-stagefeedback-libcpp
46628 all-gcc: all-libdecnumber
46630 all-stage1-gcc: all-stage1-libdecnumber
46631 all-stage2-gcc: all-stage2-libdecnumber
46632 all-stage3-gcc: all-stage3-libdecnumber
46633 all-stage4-gcc: all-stage4-libdecnumber
46634 all-stageprofile-gcc: all-stageprofile-libdecnumber
46635 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
46636 all-gcc: maybe-all-libiberty
46638 all-stage1-gcc: maybe-all-stage1-libiberty
46639 all-stage2-gcc: maybe-all-stage2-libiberty
46640 all-stage3-gcc: maybe-all-stage3-libiberty
46641 all-stage4-gcc: maybe-all-stage4-libiberty
46642 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
46643 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
46644 all-gcc: maybe-all-fixincludes
46645 all-gcc: maybe-all-lto-plugin
46647 all-stage1-gcc: maybe-all-stage1-lto-plugin
46648 all-stage2-gcc: maybe-all-stage2-lto-plugin
46649 all-stage3-gcc: maybe-all-stage3-lto-plugin
46650 all-stage4-gcc: maybe-all-stage4-lto-plugin
46651 all-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
46652 all-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
46653 all-gcc: maybe-all-function_reordering_plugin
46655 all-stage1-gcc: maybe-all-stage1-function_reordering_plugin
46656 all-stage2-gcc: maybe-all-stage2-function_reordering_plugin
46657 all-stage3-gcc: maybe-all-stage3-function_reordering_plugin
46658 all-stage4-gcc: maybe-all-stage4-function_reordering_plugin
46659 all-stageprofile-gcc: maybe-all-stageprofile-function_reordering_plugin
46660 all-stagefeedback-gcc: maybe-all-stagefeedback-function_reordering_plugin
46661 info-gcc: maybe-all-build-libiberty
46663 info-stage1-gcc: maybe-all-build-libiberty
46664 info-stage2-gcc: maybe-all-build-libiberty
46665 info-stage3-gcc: maybe-all-build-libiberty
46666 info-stage4-gcc: maybe-all-build-libiberty
46667 info-stageprofile-gcc: maybe-all-build-libiberty
46668 info-stagefeedback-gcc: maybe-all-build-libiberty
46669 dvi-gcc: maybe-all-build-libiberty
46671 dvi-stage1-gcc: maybe-all-build-libiberty
46672 dvi-stage2-gcc: maybe-all-build-libiberty
46673 dvi-stage3-gcc: maybe-all-build-libiberty
46674 dvi-stage4-gcc: maybe-all-build-libiberty
46675 dvi-stageprofile-gcc: maybe-all-build-libiberty
46676 dvi-stagefeedback-gcc: maybe-all-build-libiberty
46677 pdf-gcc: maybe-all-build-libiberty
46679 pdf-stage1-gcc: maybe-all-build-libiberty
46680 pdf-stage2-gcc: maybe-all-build-libiberty
46681 pdf-stage3-gcc: maybe-all-build-libiberty
46682 pdf-stage4-gcc: maybe-all-build-libiberty
46683 pdf-stageprofile-gcc: maybe-all-build-libiberty
46684 pdf-stagefeedback-gcc: maybe-all-build-libiberty
46685 html-gcc: maybe-all-build-libiberty
46687 html-stage1-gcc: maybe-all-build-libiberty
46688 html-stage2-gcc: maybe-all-build-libiberty
46689 html-stage3-gcc: maybe-all-build-libiberty
46690 html-stage4-gcc: maybe-all-build-libiberty
46691 html-stageprofile-gcc: maybe-all-build-libiberty
46692 html-stagefeedback-gcc: maybe-all-build-libiberty
46693 install-gcc: maybe-install-fixincludes
46694 install-gcc: maybe-install-lto-plugin
46695 install-gcc: maybe-install-function_reordering_plugin
46696 install-strip-gcc: maybe-install-strip-fixincludes
46697 install-strip-gcc: maybe-install-strip-lto-plugin
46698 install-strip-gcc: maybe-install-strip-function_reordering_plugin
46699 configure-libcpp: configure-libiberty
46701 configure-stage1-libcpp: configure-stage1-libiberty
46702 configure-stage2-libcpp: configure-stage2-libiberty
46703 configure-stage3-libcpp: configure-stage3-libiberty
46704 configure-stage4-libcpp: configure-stage4-libiberty
46705 configure-stageprofile-libcpp: configure-stageprofile-libiberty
46706 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
46707 configure-libcpp: maybe-configure-intl
46709 configure-stage1-libcpp: maybe-configure-stage1-intl
46710 configure-stage2-libcpp: maybe-configure-stage2-intl
46711 configure-stage3-libcpp: maybe-configure-stage3-intl
46712 configure-stage4-libcpp: maybe-configure-stage4-intl
46713 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
46714 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
46715 all-libcpp: all-libiberty
46717 all-stage1-libcpp: all-stage1-libiberty
46718 all-stage2-libcpp: all-stage2-libiberty
46719 all-stage3-libcpp: all-stage3-libiberty
46720 all-stage4-libcpp: all-stage4-libiberty
46721 all-stageprofile-libcpp: all-stageprofile-libiberty
46722 all-stagefeedback-libcpp: all-stagefeedback-libiberty
46723 all-libcpp: maybe-all-intl
46725 all-stage1-libcpp: maybe-all-stage1-intl
46726 all-stage2-libcpp: maybe-all-stage2-intl
46727 all-stage3-libcpp: maybe-all-stage3-intl
46728 all-stage4-libcpp: maybe-all-stage4-intl
46729 all-stageprofile-libcpp: maybe-all-stageprofile-intl
46730 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
46731 all-fixincludes: maybe-all-libiberty
46732 all-gnattools: maybe-all-target-libada
46733 all-lto-plugin: maybe-all-libiberty
46735 all-stage1-lto-plugin: maybe-all-stage1-libiberty
46736 all-stage2-lto-plugin: maybe-all-stage2-libiberty
46737 all-stage3-lto-plugin: maybe-all-stage3-libiberty
46738 all-stage4-lto-plugin: maybe-all-stage4-libiberty
46739 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty
46740 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty
46741 all-function_reordering_plugin: maybe-all-libiberty
46743 all-stage1-function_reordering_plugin: maybe-all-stage1-libiberty
46744 all-stage2-function_reordering_plugin: maybe-all-stage2-libiberty
46745 all-stage3-function_reordering_plugin: maybe-all-stage3-libiberty
46746 all-stage4-function_reordering_plugin: maybe-all-stage4-libiberty
46747 all-stageprofile-function_reordering_plugin: maybe-all-stageprofile-libiberty
46748 all-stagefeedback-function_reordering_plugin: maybe-all-stagefeedback-libiberty
46749 all-utils: maybe-all-libiberty
46750 configure-mpfr: maybe-all-gmp
46752 configure-stage1-mpfr: maybe-all-stage1-gmp
46753 configure-stage2-mpfr: maybe-all-stage2-gmp
46754 configure-stage3-mpfr: maybe-all-stage3-gmp
46755 configure-stage4-mpfr: maybe-all-stage4-gmp
46756 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
46757 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
46758 configure-mpc: maybe-all-mpfr
46760 configure-stage1-mpc: maybe-all-stage1-mpfr
46761 configure-stage2-mpc: maybe-all-stage2-mpfr
46762 configure-stage3-mpc: maybe-all-stage3-mpfr
46763 configure-stage4-mpc: maybe-all-stage4-mpfr
46764 configure-stageprofile-mpc: maybe-all-stageprofile-mpfr
46765 configure-stagefeedback-mpc: maybe-all-stagefeedback-mpfr
46766 configure-isl: maybe-all-gmp
46768 configure-stage1-isl: maybe-all-stage1-gmp
46769 configure-stage2-isl: maybe-all-stage2-gmp
46770 configure-stage3-isl: maybe-all-stage3-gmp
46771 configure-stage4-isl: maybe-all-stage4-gmp
46772 configure-stageprofile-isl: maybe-all-stageprofile-gmp
46773 configure-stagefeedback-isl: maybe-all-stagefeedback-gmp
46774 configure-cloog: maybe-all-isl
46776 configure-stage1-cloog: maybe-all-stage1-isl
46777 configure-stage2-cloog: maybe-all-stage2-isl
46778 configure-stage3-cloog: maybe-all-stage3-isl
46779 configure-stage4-cloog: maybe-all-stage4-isl
46780 configure-stageprofile-cloog: maybe-all-stageprofile-isl
46781 configure-stagefeedback-cloog: maybe-all-stagefeedback-isl
46782 configure-cloog: maybe-all-gmp
46784 configure-stage1-cloog: maybe-all-stage1-gmp
46785 configure-stage2-cloog: maybe-all-stage2-gmp
46786 configure-stage3-cloog: maybe-all-stage3-gmp
46787 configure-stage4-cloog: maybe-all-stage4-gmp
46788 configure-stageprofile-cloog: maybe-all-stageprofile-gmp
46789 configure-stagefeedback-cloog: maybe-all-stagefeedback-gmp
46790 configure-gdb: maybe-all-intl
46791 configure-gdb: maybe-configure-sim
46792 configure-gdb: maybe-all-bfd
46793 configure-gdb: maybe-all-libiconv
46794 all-gdb: maybe-all-libiberty
46795 all-gdb: maybe-all-libiconv
46796 all-gdb: maybe-all-opcodes
46797 all-gdb: maybe-all-readline
46798 all-gdb: maybe-all-build-bison
46799 all-gdb: maybe-all-sim
46800 all-gdb: maybe-all-libdecnumber
46801 all-gdb: maybe-all-libtermcap
46802 configure-libgui: maybe-configure-tcl
46803 configure-libgui: maybe-configure-tk
46804 all-libgui: maybe-all-tcl
46805 all-libgui: maybe-all-tk
46806 all-libgui: maybe-all-itcl
46807 configure-bfd: configure-libiberty
46809 configure-stage1-bfd: configure-stage1-libiberty
46810 configure-stage2-bfd: configure-stage2-libiberty
46811 configure-stage3-bfd: configure-stage3-libiberty
46812 configure-stage4-bfd: configure-stage4-libiberty
46813 configure-stageprofile-bfd: configure-stageprofile-libiberty
46814 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
46815 configure-bfd: maybe-configure-intl
46817 configure-stage1-bfd: maybe-configure-stage1-intl
46818 configure-stage2-bfd: maybe-configure-stage2-intl
46819 configure-stage3-bfd: maybe-configure-stage3-intl
46820 configure-stage4-bfd: maybe-configure-stage4-intl
46821 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
46822 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
46823 all-bfd: maybe-all-libiberty
46825 all-stage1-bfd: maybe-all-stage1-libiberty
46826 all-stage2-bfd: maybe-all-stage2-libiberty
46827 all-stage3-bfd: maybe-all-stage3-libiberty
46828 all-stage4-bfd: maybe-all-stage4-libiberty
46829 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
46830 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
46831 all-bfd: maybe-all-intl
46833 all-stage1-bfd: maybe-all-stage1-intl
46834 all-stage2-bfd: maybe-all-stage2-intl
46835 all-stage3-bfd: maybe-all-stage3-intl
46836 all-stage4-bfd: maybe-all-stage4-intl
46837 all-stageprofile-bfd: maybe-all-stageprofile-intl
46838 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
46839 configure-opcodes: configure-libiberty
46841 configure-stage1-opcodes: configure-stage1-libiberty
46842 configure-stage2-opcodes: configure-stage2-libiberty
46843 configure-stage3-opcodes: configure-stage3-libiberty
46844 configure-stage4-opcodes: configure-stage4-libiberty
46845 configure-stageprofile-opcodes: configure-stageprofile-libiberty
46846 configure-stagefeedback-opcodes: configure-stagefeedback-libiberty
46847 all-opcodes: maybe-all-libiberty
46849 all-stage1-opcodes: maybe-all-stage1-libiberty
46850 all-stage2-opcodes: maybe-all-stage2-libiberty
46851 all-stage3-opcodes: maybe-all-stage3-libiberty
46852 all-stage4-opcodes: maybe-all-stage4-libiberty
46853 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
46854 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
46855 configure-binutils: maybe-configure-intl
46857 configure-stage1-binutils: maybe-configure-stage1-intl
46858 configure-stage2-binutils: maybe-configure-stage2-intl
46859 configure-stage3-binutils: maybe-configure-stage3-intl
46860 configure-stage4-binutils: maybe-configure-stage4-intl
46861 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
46862 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
46863 all-binutils: maybe-all-libiberty
46865 all-stage1-binutils: maybe-all-stage1-libiberty
46866 all-stage2-binutils: maybe-all-stage2-libiberty
46867 all-stage3-binutils: maybe-all-stage3-libiberty
46868 all-stage4-binutils: maybe-all-stage4-libiberty
46869 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
46870 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
46871 all-binutils: maybe-all-opcodes
46873 all-stage1-binutils: maybe-all-stage1-opcodes
46874 all-stage2-binutils: maybe-all-stage2-opcodes
46875 all-stage3-binutils: maybe-all-stage3-opcodes
46876 all-stage4-binutils: maybe-all-stage4-opcodes
46877 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
46878 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
46879 all-binutils: maybe-all-bfd
46881 all-stage1-binutils: maybe-all-stage1-bfd
46882 all-stage2-binutils: maybe-all-stage2-bfd
46883 all-stage3-binutils: maybe-all-stage3-bfd
46884 all-stage4-binutils: maybe-all-stage4-bfd
46885 all-stageprofile-binutils: maybe-all-stageprofile-bfd
46886 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
46887 all-binutils: maybe-all-build-flex
46889 all-stage1-binutils: maybe-all-build-flex
46890 all-stage2-binutils: maybe-all-build-flex
46891 all-stage3-binutils: maybe-all-build-flex
46892 all-stage4-binutils: maybe-all-build-flex
46893 all-stageprofile-binutils: maybe-all-build-flex
46894 all-stagefeedback-binutils: maybe-all-build-flex
46895 all-binutils: maybe-all-build-bison
46897 all-stage1-binutils: maybe-all-build-bison
46898 all-stage2-binutils: maybe-all-build-bison
46899 all-stage3-binutils: maybe-all-build-bison
46900 all-stage4-binutils: maybe-all-build-bison
46901 all-stageprofile-binutils: maybe-all-build-bison
46902 all-stagefeedback-binutils: maybe-all-build-bison
46903 all-binutils: maybe-all-intl
46905 all-stage1-binutils: maybe-all-stage1-intl
46906 all-stage2-binutils: maybe-all-stage2-intl
46907 all-stage3-binutils: maybe-all-stage3-intl
46908 all-stage4-binutils: maybe-all-stage4-intl
46909 all-stageprofile-binutils: maybe-all-stageprofile-intl
46910 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
46911 all-binutils: maybe-all-gas
46913 all-stage1-binutils: maybe-all-stage1-gas
46914 all-stage2-binutils: maybe-all-stage2-gas
46915 all-stage3-binutils: maybe-all-stage3-gas
46916 all-stage4-binutils: maybe-all-stage4-gas
46917 all-stageprofile-binutils: maybe-all-stageprofile-gas
46918 all-stagefeedback-binutils: maybe-all-stagefeedback-gas
46919 install-binutils: maybe-install-opcodes
46920 install-strip-binutils: maybe-install-strip-opcodes
46921 install-opcodes: maybe-install-bfd
46922 install-strip-opcodes: maybe-install-strip-bfd
46923 configure-gas: maybe-configure-intl
46925 configure-stage1-gas: maybe-configure-stage1-intl
46926 configure-stage2-gas: maybe-configure-stage2-intl
46927 configure-stage3-gas: maybe-configure-stage3-intl
46928 configure-stage4-gas: maybe-configure-stage4-intl
46929 configure-stageprofile-gas: maybe-configure-stageprofile-intl
46930 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
46931 all-gas: maybe-all-libiberty
46933 all-stage1-gas: maybe-all-stage1-libiberty
46934 all-stage2-gas: maybe-all-stage2-libiberty
46935 all-stage3-gas: maybe-all-stage3-libiberty
46936 all-stage4-gas: maybe-all-stage4-libiberty
46937 all-stageprofile-gas: maybe-all-stageprofile-libiberty
46938 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
46939 all-gas: maybe-all-opcodes
46941 all-stage1-gas: maybe-all-stage1-opcodes
46942 all-stage2-gas: maybe-all-stage2-opcodes
46943 all-stage3-gas: maybe-all-stage3-opcodes
46944 all-stage4-gas: maybe-all-stage4-opcodes
46945 all-stageprofile-gas: maybe-all-stageprofile-opcodes
46946 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
46947 all-gas: maybe-all-bfd
46949 all-stage1-gas: maybe-all-stage1-bfd
46950 all-stage2-gas: maybe-all-stage2-bfd
46951 all-stage3-gas: maybe-all-stage3-bfd
46952 all-stage4-gas: maybe-all-stage4-bfd
46953 all-stageprofile-gas: maybe-all-stageprofile-bfd
46954 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
46955 all-gas: maybe-all-intl
46957 all-stage1-gas: maybe-all-stage1-intl
46958 all-stage2-gas: maybe-all-stage2-intl
46959 all-stage3-gas: maybe-all-stage3-intl
46960 all-stage4-gas: maybe-all-stage4-intl
46961 all-stageprofile-gas: maybe-all-stageprofile-intl
46962 all-stagefeedback-gas: maybe-all-stagefeedback-intl
46963 configure-gprof: maybe-configure-intl
46964 all-gprof: maybe-all-libiberty
46965 all-gprof: maybe-all-bfd
46966 all-gprof: maybe-all-opcodes
46967 all-gprof: maybe-all-intl
46968 all-gprof: maybe-all-gas
46969 configure-ld: maybe-configure-intl
46971 configure-stage1-ld: maybe-configure-stage1-intl
46972 configure-stage2-ld: maybe-configure-stage2-intl
46973 configure-stage3-ld: maybe-configure-stage3-intl
46974 configure-stage4-ld: maybe-configure-stage4-intl
46975 configure-stageprofile-ld: maybe-configure-stageprofile-intl
46976 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
46977 all-ld: maybe-all-libiberty
46979 all-stage1-ld: maybe-all-stage1-libiberty
46980 all-stage2-ld: maybe-all-stage2-libiberty
46981 all-stage3-ld: maybe-all-stage3-libiberty
46982 all-stage4-ld: maybe-all-stage4-libiberty
46983 all-stageprofile-ld: maybe-all-stageprofile-libiberty
46984 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
46985 all-ld: maybe-all-bfd
46987 all-stage1-ld: maybe-all-stage1-bfd
46988 all-stage2-ld: maybe-all-stage2-bfd
46989 all-stage3-ld: maybe-all-stage3-bfd
46990 all-stage4-ld: maybe-all-stage4-bfd
46991 all-stageprofile-ld: maybe-all-stageprofile-bfd
46992 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
46993 all-ld: maybe-all-opcodes
46995 all-stage1-ld: maybe-all-stage1-opcodes
46996 all-stage2-ld: maybe-all-stage2-opcodes
46997 all-stage3-ld: maybe-all-stage3-opcodes
46998 all-stage4-ld: maybe-all-stage4-opcodes
46999 all-stageprofile-ld: maybe-all-stageprofile-opcodes
47000 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
47001 all-ld: maybe-all-build-bison
47003 all-stage1-ld: maybe-all-build-bison
47004 all-stage2-ld: maybe-all-build-bison
47005 all-stage3-ld: maybe-all-build-bison
47006 all-stage4-ld: maybe-all-build-bison
47007 all-stageprofile-ld: maybe-all-build-bison
47008 all-stagefeedback-ld: maybe-all-build-bison
47009 all-ld: maybe-all-build-flex
47011 all-stage1-ld: maybe-all-build-flex
47012 all-stage2-ld: maybe-all-build-flex
47013 all-stage3-ld: maybe-all-build-flex
47014 all-stage4-ld: maybe-all-build-flex
47015 all-stageprofile-ld: maybe-all-build-flex
47016 all-stagefeedback-ld: maybe-all-build-flex
47017 all-ld: maybe-all-intl
47019 all-stage1-ld: maybe-all-stage1-intl
47020 all-stage2-ld: maybe-all-stage2-intl
47021 all-stage3-ld: maybe-all-stage3-intl
47022 all-stage4-ld: maybe-all-stage4-intl
47023 all-stageprofile-ld: maybe-all-stageprofile-intl
47024 all-stagefeedback-ld: maybe-all-stagefeedback-intl
47025 all-ld: maybe-all-gas
47027 all-stage1-ld: maybe-all-stage1-gas
47028 all-stage2-ld: maybe-all-stage2-gas
47029 all-stage3-ld: maybe-all-stage3-gas
47030 all-stage4-ld: maybe-all-stage4-gas
47031 all-stageprofile-ld: maybe-all-stageprofile-gas
47032 all-stagefeedback-ld: maybe-all-stagefeedback-gas
47033 install-ld: maybe-install-gold
47034 install-strip-ld: maybe-install-strip-gold
47035 configure-gold: maybe-configure-intl
47037 configure-stage1-gold: maybe-configure-stage1-intl
47038 configure-stage2-gold: maybe-configure-stage2-intl
47039 configure-stage3-gold: maybe-configure-stage3-intl
47040 configure-stage4-gold: maybe-configure-stage4-intl
47041 configure-stageprofile-gold: maybe-configure-stageprofile-intl
47042 configure-stagefeedback-gold: maybe-configure-stagefeedback-intl
47043 all-gold: maybe-all-libiberty
47045 all-stage1-gold: maybe-all-stage1-libiberty
47046 all-stage2-gold: maybe-all-stage2-libiberty
47047 all-stage3-gold: maybe-all-stage3-libiberty
47048 all-stage4-gold: maybe-all-stage4-libiberty
47049 all-stageprofile-gold: maybe-all-stageprofile-libiberty
47050 all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
47051 all-gold: maybe-all-intl
47053 all-stage1-gold: maybe-all-stage1-intl
47054 all-stage2-gold: maybe-all-stage2-intl
47055 all-stage3-gold: maybe-all-stage3-intl
47056 all-stage4-gold: maybe-all-stage4-intl
47057 all-stageprofile-gold: maybe-all-stageprofile-intl
47058 all-stagefeedback-gold: maybe-all-stagefeedback-intl
47059 all-gold: maybe-all-bfd
47061 all-stage1-gold: maybe-all-stage1-bfd
47062 all-stage2-gold: maybe-all-stage2-bfd
47063 all-stage3-gold: maybe-all-stage3-bfd
47064 all-stage4-gold: maybe-all-stage4-bfd
47065 all-stageprofile-gold: maybe-all-stageprofile-bfd
47066 all-stagefeedback-gold: maybe-all-stagefeedback-bfd
47067 all-gold: maybe-all-build-bison
47069 all-stage1-gold: maybe-all-build-bison
47070 all-stage2-gold: maybe-all-build-bison
47071 all-stage3-gold: maybe-all-build-bison
47072 all-stage4-gold: maybe-all-build-bison
47073 all-stageprofile-gold: maybe-all-build-bison
47074 all-stagefeedback-gold: maybe-all-build-bison
47075 all-gold: maybe-all-gas
47077 all-stage1-gold: maybe-all-stage1-gas
47078 all-stage2-gold: maybe-all-stage2-gas
47079 all-stage3-gold: maybe-all-stage3-gas
47080 all-stage4-gold: maybe-all-stage4-gas
47081 all-stageprofile-gold: maybe-all-stageprofile-gas
47082 all-stagefeedback-gold: maybe-all-stagefeedback-gas
47083 check-gold: maybe-all-binutils
47085 check-stage1-gold: maybe-all-stage1-binutils
47086 check-stage2-gold: maybe-all-stage2-binutils
47087 check-stage3-gold: maybe-all-stage3-binutils
47088 check-stage4-gold: maybe-all-stage4-binutils
47089 check-stageprofile-gold: maybe-all-stageprofile-binutils
47090 check-stagefeedback-gold: maybe-all-stagefeedback-binutils
47091 check-gold: maybe-all-gas
47093 check-stage1-gold: maybe-all-stage1-gas
47094 check-stage2-gold: maybe-all-stage2-gas
47095 check-stage3-gold: maybe-all-stage3-gas
47096 check-stage4-gold: maybe-all-stage4-gas
47097 check-stageprofile-gold: maybe-all-stageprofile-gas
47098 check-stagefeedback-gold: maybe-all-stagefeedback-gas
47099 configure-opcodes: maybe-configure-intl
47101 configure-stage1-opcodes: maybe-configure-stage1-intl
47102 configure-stage2-opcodes: maybe-configure-stage2-intl
47103 configure-stage3-opcodes: maybe-configure-stage3-intl
47104 configure-stage4-opcodes: maybe-configure-stage4-intl
47105 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
47106 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
47107 all-opcodes: maybe-all-bfd
47109 all-stage1-opcodes: maybe-all-stage1-bfd
47110 all-stage2-opcodes: maybe-all-stage2-bfd
47111 all-stage3-opcodes: maybe-all-stage3-bfd
47112 all-stage4-opcodes: maybe-all-stage4-bfd
47113 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
47114 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
47115 all-opcodes: maybe-all-libiberty
47117 all-stage1-opcodes: maybe-all-stage1-libiberty
47118 all-stage2-opcodes: maybe-all-stage2-libiberty
47119 all-stage3-opcodes: maybe-all-stage3-libiberty
47120 all-stage4-opcodes: maybe-all-stage4-libiberty
47121 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
47122 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
47123 all-opcodes: maybe-all-intl
47125 all-stage1-opcodes: maybe-all-stage1-intl
47126 all-stage2-opcodes: maybe-all-stage2-intl
47127 all-stage3-opcodes: maybe-all-stage3-intl
47128 all-stage4-opcodes: maybe-all-stage4-intl
47129 all-stageprofile-opcodes: maybe-all-stageprofile-intl
47130 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
47131 all-dejagnu: maybe-all-tcl
47132 all-dejagnu: maybe-all-expect
47133 all-dejagnu: maybe-all-tk
47134 configure-expect: maybe-configure-tcl
47135 configure-expect: maybe-configure-tk
47136 all-expect: maybe-all-tcl
47137 all-expect: maybe-all-tk
47138 configure-itcl: maybe-configure-tcl
47139 configure-itcl: maybe-configure-tk
47140 all-itcl: maybe-all-tcl
47141 all-itcl: maybe-all-tk
47142 install-itcl: maybe-install-tcl
47143 install-strip-itcl: maybe-install-strip-tcl
47144 configure-tk: maybe-configure-tcl
47145 all-tk: maybe-all-tcl
47146 all-sid: maybe-all-libiberty
47147 all-sid: maybe-all-bfd
47148 all-sid: maybe-all-opcodes
47149 all-sid: maybe-all-tcl
47150 all-sid: maybe-all-tk
47151 install-sid: maybe-install-tcl
47152 install-strip-sid: maybe-install-strip-tcl
47153 install-sid: maybe-install-tk
47154 install-strip-sid: maybe-install-strip-tk
47155 configure-sim: maybe-configure-intl
47156 all-sim: maybe-all-intl
47157 all-sim: maybe-all-libiberty
47158 all-sim: maybe-all-bfd
47159 all-sim: maybe-all-opcodes
47160 all-sim: maybe-all-readline
47161 all-sim: maybe-configure-gdb
47162 all-fastjar: maybe-all-zlib
47163 all-fastjar: maybe-all-build-texinfo
47164 all-fastjar: maybe-all-libiberty
47165 all-bison: maybe-all-intl
47166 all-bison: maybe-all-build-texinfo
47167 all-flex: maybe-all-build-bison
47168 all-flex: maybe-all-intl
47169 all-flex: maybe-all-m4
47170 all-flex: maybe-all-build-texinfo
47171 all-m4: maybe-all-intl
47172 all-m4: maybe-all-build-texinfo
47173 configure-target-boehm-gc: maybe-all-target-libstdc++-v3
47174 configure-target-fastjar: maybe-configure-target-zlib
47175 all-target-fastjar: maybe-all-target-zlib
47176 configure-target-libgo: maybe-configure-target-libffi
47177 configure-target-libgo: maybe-all-target-libstdc++-v3
47178 all-target-libgo: maybe-all-target-libbacktrace
47179 all-target-libgo: maybe-all-target-libffi
47180 all-target-libgo: maybe-all-target-libatomic
47181 configure-target-libjava: maybe-configure-target-zlib
47182 configure-target-libjava: maybe-configure-target-boehm-gc
47183 configure-target-libjava: maybe-configure-target-libffi
47184 all-target-libjava: maybe-all-fastjar
47185 all-target-libjava: maybe-all-target-zlib
47186 all-target-libjava: maybe-all-target-boehm-gc
47187 all-target-libjava: maybe-all-target-libffi
47188 configure-target-libobjc: maybe-configure-target-boehm-gc
47189 all-target-libobjc: maybe-all-target-boehm-gc
47190 configure-target-libstdc++-v3: maybe-configure-target-libgomp
47192 configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
47193 configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
47194 configure-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
47195 configure-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
47196 configure-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
47197 configure-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
47198 configure-target-libsanitizer: maybe-all-target-libstdc++-v3
47200 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libstdc++-v3
47201 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libstdc++-v3
47202 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libstdc++-v3
47203 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libstdc++-v3
47204 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libstdc++-v3
47205 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libstdc++-v3
47206 all-target-libstdc++-v3: maybe-configure-target-libgomp
47208 all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
47209 all-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
47210 all-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
47211 all-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
47212 all-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
47213 all-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
47214 install-target-libgo: maybe-install-target-libatomic
47215 install-target-libgfortran: maybe-install-target-libquadmath
47216 install-target-libgfortran: maybe-install-target-libgcc
47217 install-target-libsanitizer: maybe-install-target-libstdc++-v3
47218 install-target-libsanitizer: maybe-install-target-libgcc
47219 install-target-libjava: maybe-install-target-libgcc
47220 install-target-libitm: maybe-install-target-libgcc
47221 install-target-libobjc: maybe-install-target-libgcc
47222 install-target-libstdc++-v3: maybe-install-target-libgcc
47223 all-target-libgloss: maybe-all-target-newlib
47224 all-target-winsup: maybe-all-target-libtermcap
47225 configure-target-newlib: maybe-all-binutils
47226 configure-target-newlib: maybe-all-ld
47227 configure-target-libgfortran: maybe-all-target-libquadmath
47230 # Dependencies for target modules on other target modules are
47231 # described by lang_env_dependencies; the defaults apply to anything
47232 # not mentioned there.
47235 @if gcc-bootstrap
47236 configure-stage1-target-libstdc++-v3: maybe-all-stage1-target-libgcc
47237 configure-stage2-target-libstdc++-v3: maybe-all-stage2-target-libgcc
47238 configure-stage3-target-libstdc++-v3: maybe-all-stage3-target-libgcc
47239 configure-stage4-target-libstdc++-v3: maybe-all-stage4-target-libgcc
47240 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-target-libgcc
47241 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-target-libgcc
47242 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libgcc
47243 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libgcc
47244 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libgcc
47245 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libgcc
47246 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libgcc
47247 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libgcc
47248 configure-stage1-target-libgomp: maybe-all-stage1-target-libgcc
47249 configure-stage2-target-libgomp: maybe-all-stage2-target-libgcc
47250 configure-stage3-target-libgomp: maybe-all-stage3-target-libgcc
47251 configure-stage4-target-libgomp: maybe-all-stage4-target-libgcc
47252 configure-stageprofile-target-libgomp: maybe-all-stageprofile-target-libgcc
47253 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc
47254 @endif gcc-bootstrap
47256 @if gcc-no-bootstrap
47257 configure-target-libstdc++-v3: maybe-all-target-libgcc
47258 configure-target-libmudflap: maybe-all-target-libgcc
47259 configure-target-libsanitizer: maybe-all-target-libgcc
47260 configure-target-libssp: maybe-all-target-libgcc
47261 configure-target-newlib: maybe-all-target-libgcc
47262 configure-target-libbacktrace: maybe-all-target-libgcc
47263 configure-target-libquadmath: maybe-all-target-libgcc
47264 configure-target-libgfortran: maybe-all-target-libgcc
47265 configure-target-libobjc: maybe-all-target-libgcc
47266 configure-target-libgo: maybe-all-target-libgcc
47267 configure-target-libtermcap: maybe-all-target-libgcc
47268 configure-target-winsup: maybe-all-target-libgcc
47269 configure-target-libgloss: maybe-all-target-libgcc
47270 configure-target-libffi: maybe-all-target-libgcc
47271 configure-target-libjava: maybe-all-target-libgcc
47272 configure-target-zlib: maybe-all-target-libgcc
47273 configure-target-boehm-gc: maybe-all-target-libgcc
47274 configure-target-rda: maybe-all-target-libgcc
47275 configure-target-libada: maybe-all-target-libgcc
47276 configure-target-libgomp: maybe-all-target-libgcc
47277 configure-target-libitm: maybe-all-target-libgcc
47278 configure-target-libatomic: maybe-all-target-libgcc
47279 @endif gcc-no-bootstrap
47282 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
47284 configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss
47286 configure-target-libsanitizer: maybe-all-target-newlib maybe-all-target-libgloss
47288 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
47292 configure-target-libbacktrace: maybe-all-target-newlib maybe-all-target-libgloss
47294 configure-target-libquadmath: maybe-all-target-newlib maybe-all-target-libgloss
47296 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
47298 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
47300 configure-target-libgo: maybe-all-target-newlib maybe-all-target-libgloss
47302 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
47304 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
47307 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
47309 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
47310 configure-target-libjava: maybe-all-target-libstdc++-v3
47312 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
47314 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
47316 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
47318 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
47320 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
47322 configure-target-libitm: maybe-all-target-newlib maybe-all-target-libgloss
47323 configure-target-libitm: maybe-all-target-libstdc++-v3
47325 configure-target-libatomic: maybe-all-target-newlib maybe-all-target-libgloss
47328 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
47329 GDB_TK = @GDB_TK@
47330 INSTALL_GDB_TK = @INSTALL_GDB_TK@
47331 configure-gdb: $(CONFIGURE_GDB_TK)
47332 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
47333 install-gdb: $(INSTALL_GDB_TK)
47335 # Serialization dependencies. Host configures don't work well in parallel to
47336 # each other, due to contention over config.cache. Target configures and
47337 # build configures are similar.
47338 @serialization_dependencies@
47340 # --------------------------------
47341 # Regenerating top level configury
47342 # --------------------------------
47344 # Rebuilding Makefile.in, using autogen.
47345 AUTOGEN = autogen
47346 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
47347 cd $(srcdir) && $(AUTOGEN) Makefile.def
47349 # Rebuilding Makefile.
47350 Makefile: $(srcdir)/Makefile.in config.status
47351 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
47353 config.status: configure
47354 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
47356 # Rebuilding configure.
47357 AUTOCONF = autoconf
47358 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
47359 $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4
47360 cd $(srcdir) && $(AUTOCONF)
47362 # ------------------------------
47363 # Special directives to GNU Make
47364 # ------------------------------
47366 # Don't pass command-line variables to submakes.
47367 .NOEXPORT:
47368 MAKEOVERRIDES=
47370 # end of Makefile.in